super-page-runtime 2.3.39 → 2.3.40-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 +9 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +184 -0
- package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
- package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +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 +413 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +8 -1
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1188 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +403 -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.d.ts +7 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +261 -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 +416 -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 +252 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-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 +36 -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 +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +18 -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 +361 -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 +323 -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 +91 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +79 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +196 -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 +162 -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 +26 -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 +309 -0
- package/dist/es/index.mjs +32 -0
- package/dist/es/style.css +1 -1033
- 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 +106 -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 +49 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +1 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-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 +135 -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 -4
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -190
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/barcode-util.js +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -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 -425
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1237
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -420
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
- package/dist/es/components/runtime/utils/global-refs.js +0 -57
- package/dist/es/components/runtime/utils/i18n-util.js +0 -14
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
- package/dist/es/components/runtime/utils/page-init-util.js +0 -280
- package/dist/es/components/runtime/utils/page-store.js +0 -53
- package/dist/es/components/runtime/utils/store-util.js +0 -13
- package/dist/es/components/runtime/utils/table-utils.js +0 -89
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/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 -421
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -15
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +0 -259
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -18
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -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 -382
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -330
- 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 -64
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -94
- 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 -82
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -199
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -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 -165
- 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,381 @@
|
|
|
1
|
+
import { executeExpression, http } from "agilebuilder-ui";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import { getComponentRef } from "./global-refs.mjs";
|
|
4
|
+
import { watch } from "vue";
|
|
5
|
+
import { deepCopy, getBaseUrl } from "./common-util.mjs";
|
|
6
|
+
function getComponentOptionConfigs(e, t, o, n) {
|
|
7
|
+
return getComponentOptionConfigsBase(e, t != null && t.systemCode ? t.systemCode : o, t != null && t.systemVersion ? t == null ? void 0 : t.systemVersion : n);
|
|
8
|
+
}
|
|
9
|
+
function getComponentOptionConfigsBase(e, t, o) {
|
|
10
|
+
if (!e.props || !e.props.dataOrigin || e.name && e.name === "table") return;
|
|
11
|
+
const n = e.props.dataOrigin, a = { uuid: e.uuid };
|
|
12
|
+
if (n.optionValueSetType == "optionGroup") a.type = "optionGroup", a.props = { code: n.optionGroup };
|
|
13
|
+
else if (n.optionValueSetType == "dynamicData") a.type = "dynamicData", a.filterType = n.filterType, a.props = { code: n.dynamicDataSourceCode };
|
|
14
|
+
else if (n.optionValueSetType == "dataTable") {
|
|
15
|
+
a.filterType = n.filterType;
|
|
16
|
+
const i = getTableQueryInfo(n, t, o);
|
|
17
|
+
Object.assign(a, i);
|
|
18
|
+
} else if (n.optionValueSetType == "service") {
|
|
19
|
+
a.filterType = n.filterType;
|
|
20
|
+
const i = getServiceQueryInfo(n, t, o);
|
|
21
|
+
Object.assign(a, i);
|
|
22
|
+
}
|
|
23
|
+
return a.type ? a : void 0;
|
|
24
|
+
}
|
|
25
|
+
function getTableQueryInfo(e, t, o) {
|
|
26
|
+
const n = { type: "dataTable" };
|
|
27
|
+
if (n.valueLabelSwitch = !!e.valueLabelSwitch, n.importValidateSwitch = !!e.importValidateSwitch, n.props = { tableName: e.tableName, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : o }, e.sortFields) {
|
|
28
|
+
const r = [];
|
|
29
|
+
for (const s of e.sortFields) s.name && r.push({ prop: s.name, order: s.type ? s.type : "asc" });
|
|
30
|
+
n.props.sorts = r;
|
|
31
|
+
}
|
|
32
|
+
const a = [];
|
|
33
|
+
if (e.filterList) {
|
|
34
|
+
const r = [];
|
|
35
|
+
for (const s of e.filterList) {
|
|
36
|
+
if (!s.propName) continue;
|
|
37
|
+
s.propDbName || (s.propDbName = s.propName);
|
|
38
|
+
const u = {};
|
|
39
|
+
Object.assign(u, s);
|
|
40
|
+
const c = getParamNames(s.propValue);
|
|
41
|
+
for (const l of c) l && (l.startsWith("${data.") || l.startsWith("${task.") || l.startsWith("${page.")) && (a.includes(l) || a.push(l));
|
|
42
|
+
s.propValue, r.push(u);
|
|
43
|
+
}
|
|
44
|
+
n.props.searchForm = r;
|
|
45
|
+
}
|
|
46
|
+
n.props.monitorFields = a;
|
|
47
|
+
const i = [];
|
|
48
|
+
if (e.tableValueField && (n.props.valueField = e.tableValueField), e.tableLableField && i.indexOf(e.tableLableField) == -1 && (n.props.lableField = e.tableLableField), e.autoSets) for (const r of e.autoSets) r.source && i.indexOf(r.source) == -1 && i.push(r.source);
|
|
49
|
+
return n.props.queryFields = i, n.props.pageSize = e.displayQuantity, n;
|
|
50
|
+
}
|
|
51
|
+
function getServiceQueryInfo(e, t, o) {
|
|
52
|
+
const n = { type: "service" };
|
|
53
|
+
if (n.valueLabelSwitch = !!e.valueLabelSwitch, n.importValidateSwitch = !!e.importValidateSwitch, n.props = { serivceCode: e.serviceCode, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : o }, e.serviceInputs) {
|
|
54
|
+
const a = [];
|
|
55
|
+
for (const i of e.serviceInputs) {
|
|
56
|
+
if (!i.name || i.value) continue;
|
|
57
|
+
const r = {};
|
|
58
|
+
Object.assign(r, i), a.push(r);
|
|
59
|
+
}
|
|
60
|
+
n.props.inputs = a;
|
|
61
|
+
}
|
|
62
|
+
return n.props.dataSetField = e.serviceDataSetField, n.props.valueField = e.serviceValueField, n.props.labelField = e.serviceLabelField, n;
|
|
63
|
+
}
|
|
64
|
+
function updateChartDatasources(e, t, o, n) {
|
|
65
|
+
return new Promise((a, i) => {
|
|
66
|
+
if (!t || t.length == 0) return void i(new Error("无需查询的统计图配置!"));
|
|
67
|
+
const r = deepCopy(t);
|
|
68
|
+
r.forEach((d) => {
|
|
69
|
+
const m = d.services;
|
|
70
|
+
if (m && m.length > 0) {
|
|
71
|
+
const b = m[0].serviceInputs;
|
|
72
|
+
b && (m[0].serviceInParams = {}, b.forEach((g) => {
|
|
73
|
+
const h = g.name, y = g.value;
|
|
74
|
+
m[0].serviceInParams[h] = getValueFromVariable(e.entity, y);
|
|
75
|
+
}), delete m[0].serviceInputs);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
const s = e.entity ? e.entity : {}, u = {};
|
|
79
|
+
s.request && Object.assign(u, s.request), s.page && Object.assign(u, s.page), o && Object.assign(u, o);
|
|
80
|
+
const c = {};
|
|
81
|
+
s.task && Object.assign(c, s.task);
|
|
82
|
+
const l = { entityMap: s.data, additionalParamMap: u, taskMap: c, dataSourceList: r, systemCode: e.systemCode, pageCode: e.code }, p = e.backendUrl, f = getBaseUrl(p, e.isTest) + "/common/common-data/find-chart-datas";
|
|
83
|
+
http.post(f, l, { headers: { customSystem: e.systemCode } }).then((d) => {
|
|
84
|
+
var m, b;
|
|
85
|
+
e.chartDataSourceMap || (e.chartDataSourceMap = {});
|
|
86
|
+
for (const g in d) {
|
|
87
|
+
e.chartDataSourceMap[g] = d[g];
|
|
88
|
+
const h = getComponentRef(e, g);
|
|
89
|
+
if (h) {
|
|
90
|
+
const y = h.getConfigure();
|
|
91
|
+
if ((!n || y && (y.initializationQuery === void 0 || y.initializationQuery)) && h.updateChartDatas && (h.updateChartDatas(d[g]), (b = (m = y.runtime) == null ? void 0 : m.dataConfig) == null ? void 0 : b.resultSet)) {
|
|
92
|
+
const S = d[g] && d[g].length > 0 ? d[g][0] : {}, V = S && S.result ? S.result : {};
|
|
93
|
+
let C = null;
|
|
94
|
+
y.serviceDataField ? C = V[y.serviceDataField] : V && (C = Array.isArray(V) ? V : [V]), C || (C = []), setValueForVariableName(e.entity, y.runtime.dataConfig.resultSet, C);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
a(d);
|
|
99
|
+
}).catch((d) => {
|
|
100
|
+
i(d);
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
function updateChartDatasourcesByComponent(e, t) {
|
|
105
|
+
const o = e.initChartServiceConfigs.find((n) => n.uuid === t);
|
|
106
|
+
o && updateChartDatasources(e, [o], null, !1);
|
|
107
|
+
}
|
|
108
|
+
function updateOptionDatasources(e, t, o) {
|
|
109
|
+
return new Promise((n, a) => {
|
|
110
|
+
if (!t || t.length == 0) return void a(new Error("无需查询的配置!"));
|
|
111
|
+
const i = e.entity ? e.entity : {}, r = {};
|
|
112
|
+
i.request && Object.assign(r, i.request), i.page && Object.assign(r, i.page), r.query = o;
|
|
113
|
+
const s = { entityMap: i.data, additionalParamMap: r, dataSourceList: t, systemCode: e.systemCode, query: o }, u = e.backendUrl, c = getBaseUrl(u, e.isTest) + "/common/common-data/find-datas";
|
|
114
|
+
http.post(c, s).then((l) => {
|
|
115
|
+
e.optionSourceMap || (e.optionSourceMap = {});
|
|
116
|
+
for (const p in l) {
|
|
117
|
+
e.optionSourceMap[p] = l[p];
|
|
118
|
+
const f = getComponentRef(e, p);
|
|
119
|
+
f && f.updateOptions && f.updateOptions(l[p]);
|
|
120
|
+
}
|
|
121
|
+
n(l);
|
|
122
|
+
}).catch((l) => {
|
|
123
|
+
a(l);
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
function getOptionDatasFromPage(e, t) {
|
|
128
|
+
return getComponentOptionDatasFromPage(e, t.uuid);
|
|
129
|
+
}
|
|
130
|
+
function getComponentOptionDatasFromPage(e, t) {
|
|
131
|
+
return getOptionDatasSourceMap(e)[t] || [];
|
|
132
|
+
}
|
|
133
|
+
function getOptionDatasSourceMap(e) {
|
|
134
|
+
return !e || !e.optionSourceMap ? {} : e.optionSourceMap || {};
|
|
135
|
+
}
|
|
136
|
+
function putToOptionSourceMap(e, t, o) {
|
|
137
|
+
e.optionSourceMap || (e.optionSourceMap = {}), e.optionSourceMap[t] = o;
|
|
138
|
+
}
|
|
139
|
+
function getChartDatasFromPage(e, t) {
|
|
140
|
+
return !e || !e.chartDataSourceMap || !t ? null : e.chartDataSourceMap[t.uuid];
|
|
141
|
+
}
|
|
142
|
+
function queryOptionDatasources(e, t, o) {
|
|
143
|
+
return updateOptionDatasources(e, t ? [t] : [], o);
|
|
144
|
+
}
|
|
145
|
+
function autoSetAfterSelect(e, t, o, n, a = []) {
|
|
146
|
+
if (!o || o.length == 0) return;
|
|
147
|
+
const i = t.entity ? t.entity : {};
|
|
148
|
+
for (const r of o) {
|
|
149
|
+
if (!r.source || !r.target || a.includes(r.target)) continue;
|
|
150
|
+
const s = getValuesByField(n, r.source);
|
|
151
|
+
let u = r.target;
|
|
152
|
+
if (!u || !u.startsWith("${")) continue;
|
|
153
|
+
u = u.substring(2, u.length - 1);
|
|
154
|
+
const c = u.split(".");
|
|
155
|
+
setVariableValue(i, c, s == null ? null : s.join(","));
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
function getValuesByField(e, t) {
|
|
159
|
+
if (e) {
|
|
160
|
+
const o = [];
|
|
161
|
+
for (const n of e) {
|
|
162
|
+
let a = n[t];
|
|
163
|
+
a != null && a != null || (a = ""), o.push(a);
|
|
164
|
+
}
|
|
165
|
+
return o;
|
|
166
|
+
}
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
function getVariableValue(e, t) {
|
|
170
|
+
if (!e || !t || t.length == 0) return;
|
|
171
|
+
let o = e;
|
|
172
|
+
for (let n = 0; n < t.length; n++) {
|
|
173
|
+
if (o == null) return o;
|
|
174
|
+
o = o[t[n]];
|
|
175
|
+
}
|
|
176
|
+
return o;
|
|
177
|
+
}
|
|
178
|
+
function setValueForVariableName(e, t, o) {
|
|
179
|
+
!t || !t.startsWith("${") || setVariableValue(e, (t = t.substring(2, t.length - 1)).split("."), o);
|
|
180
|
+
}
|
|
181
|
+
function setVariableValue(e, t, o) {
|
|
182
|
+
if (!e || !t || t.length == 0) return;
|
|
183
|
+
let n = e;
|
|
184
|
+
for (let a = 0; a < t.length; a++) {
|
|
185
|
+
const i = t[a];
|
|
186
|
+
a + 1 === t.length ? n[i] = o === void 0 ? null : o : (n[i] === void 0 && (n[i] = {}), n = n[i]);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
function setVariableValueWithProp(e, t, o) {
|
|
190
|
+
!e || !t || setVariableValue(e, t.split("."), o);
|
|
191
|
+
}
|
|
192
|
+
function formatVariableValue(e, t) {
|
|
193
|
+
if (!e || t == "" || t == null || t == null) return t;
|
|
194
|
+
const o = e.entity ? e.entity : {}, n = getParamNames(t);
|
|
195
|
+
for (const a in n) {
|
|
196
|
+
const i = n[a], r = getValueFromVariable(o, i);
|
|
197
|
+
if (r && Object.prototype.toString.call(r) === "[object Date]") return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
|
|
198
|
+
if (r && typeof r == "number") return r;
|
|
199
|
+
t = t.replace(i, r ?? "");
|
|
200
|
+
}
|
|
201
|
+
return t;
|
|
202
|
+
}
|
|
203
|
+
function getParamNames(e) {
|
|
204
|
+
return e ? e.match(/\$\{[^\{|\}]+\}/g) || [] : [];
|
|
205
|
+
}
|
|
206
|
+
function formatValueByType(e, t, o) {
|
|
207
|
+
if (!t || e == "" || e == null || e == null) return e;
|
|
208
|
+
if (o = o || {}, t == "number" || t == "percent") {
|
|
209
|
+
if (isNaN(e)) return e;
|
|
210
|
+
let n = parseInt(o.decimalDigit);
|
|
211
|
+
if ((n == null || isNaN(n)) && (n = -1), e = parseFloat(e), t == "percent" && (e *= 100), n > -1 && (e = parseFloat(e.toFixed(n))), t == "percent") e += "%";
|
|
212
|
+
else {
|
|
213
|
+
if (o.thousandsSeparator) {
|
|
214
|
+
const a = e.toString().split(".");
|
|
215
|
+
a[0] = a[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), e = a.length > 1 ? a.join(".") : a[0];
|
|
216
|
+
}
|
|
217
|
+
o.symbol && (e = o.symbol + "" + e);
|
|
218
|
+
}
|
|
219
|
+
return e;
|
|
220
|
+
}
|
|
221
|
+
if (t == "date" || t == "time") {
|
|
222
|
+
let n = "";
|
|
223
|
+
return t == "date" ? (n = o.dateFormat, n || (n = "YYYY-MM-DD")) : (n = o.timeFormat, n || (n = "HH:mm:ss")), dayjs(e).format(n);
|
|
224
|
+
}
|
|
225
|
+
return t == "custom" && o.formatEventUuid, e;
|
|
226
|
+
}
|
|
227
|
+
function getValueFromVariable(e, t, o) {
|
|
228
|
+
if (t == null || t == null) return t;
|
|
229
|
+
if (t.startsWith("${") && t.endsWith("}")) {
|
|
230
|
+
let n = t.substring(2, t.length - 1), a = null, i = null;
|
|
231
|
+
if (n.startsWith("data.")) n = n.substring(5), i = e.data, a = "data";
|
|
232
|
+
else if (n.startsWith("page.")) n = n.substring(5), a = "page", i = e.page;
|
|
233
|
+
else if (n.startsWith("task.")) n = n.substring(5), a = "task", i = e.task;
|
|
234
|
+
else if (n.startsWith("request.")) n = n.substring(8), a = "request", i = e.request;
|
|
235
|
+
else if (n.startsWith("context.")) n = n.substring(8), a = "context", i = e.context;
|
|
236
|
+
else if (n.startsWith("system.")) n = n.substring(7), a = "system", i = e.system;
|
|
237
|
+
else {
|
|
238
|
+
if (n.startsWith("fixed.")) return n.substring(6);
|
|
239
|
+
n.startsWith("row.") && (n = n.substring(4), i = o, a = "row");
|
|
240
|
+
}
|
|
241
|
+
return n ? getValueFromSource(i, n, a) : "";
|
|
242
|
+
}
|
|
243
|
+
return t;
|
|
244
|
+
}
|
|
245
|
+
function getValueFromSource(e, t, o) {
|
|
246
|
+
if (o != "context" && !e || !t) return;
|
|
247
|
+
const n = t.indexOf(".");
|
|
248
|
+
if (n > -1) {
|
|
249
|
+
const a = t.substring(0, n), i = t.substring(n + 1);
|
|
250
|
+
let r = e[a];
|
|
251
|
+
return r && Array.isArray(r) && r.length > 0 && (r = r[0]), getValueFromSource(r, i, o);
|
|
252
|
+
}
|
|
253
|
+
if (o == "context") {
|
|
254
|
+
if (t == "currentDate" || t == "currentTime") return /* @__PURE__ */ new Date();
|
|
255
|
+
if (t.startsWith("currentDate") && t.length > 11) {
|
|
256
|
+
const a = t.substring(11), i = a.substring(0, 1);
|
|
257
|
+
let r = parseInt(a.substring(1, a.length - 1), 10);
|
|
258
|
+
const s = a.substring(a.length - 1), u = /* @__PURE__ */ new Date();
|
|
259
|
+
return r = i === "+" ? r : -r, s === "d" || s === "w" ? (r = s === "w" ? 7 * r : r, u.setDate(u.getDate() + r)) : s === "m" ? u.setMonth(u.getMonth() + r) : s === "y" && u.setFullYear(u.getFullYear() + r), u;
|
|
260
|
+
}
|
|
261
|
+
if (!e) return;
|
|
262
|
+
}
|
|
263
|
+
return e[t];
|
|
264
|
+
}
|
|
265
|
+
function caculateShowCondition(pageContext, showConditions, row) {
|
|
266
|
+
if (!showConditions || showConditions.length == 0 || !pageContext || !pageContext.entity) return !0;
|
|
267
|
+
const entityData = pageContext.entity;
|
|
268
|
+
let conditions = "";
|
|
269
|
+
const maxLen = showConditions.length;
|
|
270
|
+
for (let e = 0; e < maxLen; e++) {
|
|
271
|
+
const t = showConditions[e], o = t.propName;
|
|
272
|
+
let n = t.operator;
|
|
273
|
+
if (!o || o === "") continue;
|
|
274
|
+
n || (n = "EQ");
|
|
275
|
+
const a = getValueFromVariable(entityData, o, row);
|
|
276
|
+
let i = getValueFromVariable(entityData, t.propValue, row);
|
|
277
|
+
const r = t.dataType;
|
|
278
|
+
n != "CONTAIN" && n != "NOT_CONTAIN" || a && !a.includes && (n = n == "CONTAIN" ? "EQ" : "NET");
|
|
279
|
+
let s = t.variableIsNull, u;
|
|
280
|
+
if (s || (s = "null"), n !== "IS_NULL" && n !== "IS_NOT_NULL" && (i !== void 0 && i !== "" || (i = null, s === "null" ? n = "IS_NULL" : s === "notequal" ? n = "IS_NOT_NULL" : u = !0)), u == null) try {
|
|
281
|
+
u = executeExpression(a, n, i, r);
|
|
282
|
+
} catch {
|
|
283
|
+
u = !1;
|
|
284
|
+
}
|
|
285
|
+
const c = t.leftBracket, l = t.rightBracket;
|
|
286
|
+
let p = t.joinSign;
|
|
287
|
+
if (c && c !== null && c !== "" && (conditions += c, conditions += " "), conditions += u + " ", l && l !== null && l !== "" && (conditions += l, conditions += " "), e < maxLen - 1 && p && p !== null && p !== "") {
|
|
288
|
+
const f = p.toLowerCase();
|
|
289
|
+
f === "and" ? p = f.replace("and", "&&") : f === "or" && (p = f.replace("or", "||")), conditions += p + " ";
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
return !conditions || eval("(" + conditions + ")");
|
|
293
|
+
}
|
|
294
|
+
function monitorFieldChange(e, t, o) {
|
|
295
|
+
if (!o || !e || !t || t.length == 0) return;
|
|
296
|
+
const n = [], a = [];
|
|
297
|
+
for (let s of t) if (s.startsWith("${")) {
|
|
298
|
+
s = s.substring(2, s.length - 1);
|
|
299
|
+
const u = s.split(".");
|
|
300
|
+
u[0] !== "page" && u[0] !== "task" && u[0] !== "data" || (n.push(u), a.includes(u[0]) || a.push(u[0]));
|
|
301
|
+
}
|
|
302
|
+
let i = getMonitorFieldValues(n, e.entity), r = !1;
|
|
303
|
+
for (const s of a) watch(e.entity[s], () => {
|
|
304
|
+
r && clearTimeout(r), r = setTimeout(function() {
|
|
305
|
+
const u = getMonitorFieldValues(n, e.entity);
|
|
306
|
+
i != u && (i = u, o());
|
|
307
|
+
}, 200);
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
function getMonitorFieldValues(e, t) {
|
|
311
|
+
let o = "";
|
|
312
|
+
for (const n of e) o += "_" + getVariableValue(t, n);
|
|
313
|
+
return o;
|
|
314
|
+
}
|
|
315
|
+
function getFormPropName(e) {
|
|
316
|
+
return e && e.indexOf("${") >= 0 ? e.substring(e.indexOf(".") + 1, e.lastIndexOf("}")) : e;
|
|
317
|
+
}
|
|
318
|
+
function getSizeConfig(e, t) {
|
|
319
|
+
const o = getPageModeType(e);
|
|
320
|
+
let n;
|
|
321
|
+
return t.props && t.props.size && t.props.size[o] && (n = t.props.size[o]), !n && t.props && t.props.size && (n = t.props.size.pc), n;
|
|
322
|
+
}
|
|
323
|
+
function getPageModeType(e) {
|
|
324
|
+
let t = e.dimensions;
|
|
325
|
+
return t || (t = "pc"), t;
|
|
326
|
+
}
|
|
327
|
+
function isPromise(e) {
|
|
328
|
+
return e && Object.prototype.toString.call(e) === "[object Promise]";
|
|
329
|
+
}
|
|
330
|
+
function decomposeVariable(e) {
|
|
331
|
+
if (!e) return [];
|
|
332
|
+
const t = e.match(/\${(.*?)}/);
|
|
333
|
+
return t ? t[1].split(".") : [];
|
|
334
|
+
}
|
|
335
|
+
function getModelFieldFromPageContext(e, t) {
|
|
336
|
+
if (!t.modelFieldsMap) return;
|
|
337
|
+
let o = null;
|
|
338
|
+
for (let n = 0; n < e.length; n++) {
|
|
339
|
+
const a = e[n];
|
|
340
|
+
n + 1 === e.length && (o = t.modelFieldsMap[a]);
|
|
341
|
+
}
|
|
342
|
+
return o;
|
|
343
|
+
}
|
|
344
|
+
function isNumberDataType(e) {
|
|
345
|
+
return e === "INTEGER" || e === "LONG" || e === "DOUBLE" || e === "FLOAT_COM";
|
|
346
|
+
}
|
|
347
|
+
function isDateDataType(e) {
|
|
348
|
+
return (e = e ? e.toUpperCase() : "") === "DATE" || e === "TIME" || e === "DATETIME" || e === "TIMESTAMP";
|
|
349
|
+
}
|
|
350
|
+
export {
|
|
351
|
+
autoSetAfterSelect,
|
|
352
|
+
caculateShowCondition,
|
|
353
|
+
decomposeVariable,
|
|
354
|
+
formatValueByType,
|
|
355
|
+
formatVariableValue,
|
|
356
|
+
getChartDatasFromPage,
|
|
357
|
+
getComponentOptionConfigs,
|
|
358
|
+
getComponentOptionConfigsBase,
|
|
359
|
+
getComponentOptionDatasFromPage,
|
|
360
|
+
getFormPropName,
|
|
361
|
+
getModelFieldFromPageContext,
|
|
362
|
+
getOptionDatasFromPage,
|
|
363
|
+
getOptionDatasSourceMap,
|
|
364
|
+
getParamNames,
|
|
365
|
+
getSizeConfig,
|
|
366
|
+
getValueFromSource,
|
|
367
|
+
getValueFromVariable,
|
|
368
|
+
getVariableValue,
|
|
369
|
+
isDateDataType,
|
|
370
|
+
isNumberDataType,
|
|
371
|
+
isPromise,
|
|
372
|
+
monitorFieldChange,
|
|
373
|
+
putToOptionSourceMap,
|
|
374
|
+
queryOptionDatasources,
|
|
375
|
+
setValueForVariableName,
|
|
376
|
+
setVariableValue,
|
|
377
|
+
setVariableValueWithProp,
|
|
378
|
+
updateChartDatasources,
|
|
379
|
+
updateChartDatasourcesByComponent,
|
|
380
|
+
updateOptionDatasources
|
|
381
|
+
};
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { http as y, isMobileBrowser as I, getSessionCache as R } from "agilebuilder-ui";
|
|
2
|
+
import { getAdditionalParamMap as T } from "./events/standard-event.mjs";
|
|
3
|
+
import { PageDimensions as b } from "./interfaces/page-design-types.mjs";
|
|
4
|
+
import { getFormPropName as O, getVariableValue as F, formatVariableValue as x, setVariableValue as E } from "./page-helper-util.mjs";
|
|
5
|
+
import { functions as f } from "./api/page-expose-util.mjs";
|
|
6
|
+
import { isWorkflowPage as S, deepCopy as W } from "./common-util.mjs";
|
|
7
|
+
import { packageCustomValidator as _ } from "./events/validator-util.mjs";
|
|
8
|
+
function Z(e) {
|
|
9
|
+
return new Promise((t, o) => {
|
|
10
|
+
(function(s) {
|
|
11
|
+
return y.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + s);
|
|
12
|
+
})(e).then((s) => {
|
|
13
|
+
s ? v().then((n) => {
|
|
14
|
+
n && (s.systemParam = m(n)), A(s.listViewTableName, s.listViewTablePublishVersion).then((i) => {
|
|
15
|
+
i ? (s.contextParam = m(i.contextParam), s.branchFieldAuth = i.branchFieldAuth, s.isWorkflowEntity = i.isWorkflowEntity, s.dataTypeMaps = i.dataTypeMaps, t(s)) : t(null);
|
|
16
|
+
});
|
|
17
|
+
}).catch(() => {
|
|
18
|
+
t(s);
|
|
19
|
+
}) : t(null);
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function K(e, t) {
|
|
24
|
+
return new Promise((o, s) => {
|
|
25
|
+
e ? v().then((n) => {
|
|
26
|
+
n && (e.systemParam = m(n)), e.tableRuntimes && Object.keys(e.tableRuntimes).length > 0 ? N(e, t, e.systemVersion).then((i) => {
|
|
27
|
+
e.contextParam = m(i.contextParam), e.branchFieldAuth = i.branchFieldAuth, e.isWorkflowEntity = i.isWorkflowEntity, e.dataTypeMaps = i.dataTypeMaps, e.superGridItems = i.superGrids, o(e);
|
|
28
|
+
}).catch((i) => {
|
|
29
|
+
s(i);
|
|
30
|
+
}) : A("", "").then((i) => {
|
|
31
|
+
i ? (e.contextParam = m(i.contextParam), e.branchFieldAuth = i.branchFieldAuth, e.isWorkflowEntity = i.isWorkflowEntity, e.dataTypeMaps = i.dataTypeMaps, o(e)) : o(null);
|
|
32
|
+
}).catch((i) => {
|
|
33
|
+
s(i);
|
|
34
|
+
});
|
|
35
|
+
}) : o(null);
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function A(e, t) {
|
|
39
|
+
let o = "";
|
|
40
|
+
return e && t && (o = "?listViewTableName=" + e + "&listViewTablePublishVersion=" + t), y.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + o);
|
|
41
|
+
}
|
|
42
|
+
function v() {
|
|
43
|
+
return y.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
|
|
44
|
+
}
|
|
45
|
+
function Q(e) {
|
|
46
|
+
var o, s, n;
|
|
47
|
+
if (e == null) return null;
|
|
48
|
+
const t = { uuid: e.uuid, name: e.name, label: e.label, code: e.code, version: e.version, dimensions: e.dimensions, systemCode: e.systemCode, systemVersion: e.systemVersion, backendUrl: e.backendUrl, rules: {}, tableUuids: e.tableUuids, listCodesMap: e.listCodesMap, listCodesInitSearchForm: e.listCodesInitSearchForm, formNoRuleCode: e.props ? e.props.formNoRuleCode : null, judgeHeavyList: j(e), pageType: e.pageType, beanName: e.props ? e.props.beanName : null, importBeanName: e.props ? e.props.importBeanName : null, subTablePageInfo: e.subTablePageInfo, workflowCode: e.workflowCode, workflowVersion: e.workflowVersion, refercePropMap: (o = e.runtime) == null ? void 0 : o.refercePropMap, subTableWatchProps: e.subTableWatchProps, dataTypeMaps: e.dataTypeMaps, allChartUuids: e.allChartUuids, branchFieldAuth: e.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e.contextParam, system: e.systemParam }, propTitleMap: {} };
|
|
49
|
+
if (e.props && e.props.notIdInitializationList) {
|
|
50
|
+
let i = e.props.notIdInitializationList;
|
|
51
|
+
typeof i == "string" && (i = JSON.parse(i)), i.length > 0 && (t.notIdInitializationList = i);
|
|
52
|
+
}
|
|
53
|
+
if (e.variables) {
|
|
54
|
+
const i = t.entity.page;
|
|
55
|
+
for (const r of e.variables) r.name && (r.isArrayElement ? i[r.name] = [] : r.defaultValue ? i[r.name] = r.defaultValue : i[r.name] = void 0);
|
|
56
|
+
}
|
|
57
|
+
return function(i) {
|
|
58
|
+
if (I()) {
|
|
59
|
+
i.entity.page._isMobile = "true";
|
|
60
|
+
const r = navigator ? navigator.userAgent : null;
|
|
61
|
+
r ? r.indexOf("Html5Plus") > 0 ? (i.entity.page._isMobileApp = "true", i.entity.page._isMobileBrowser = "false") : (i.entity.page._isMobileApp = "false", i.entity.page._isMobileBrowser = "true") : (i.entity.page._isMobileApp = "false", i.entity.page._isMobileBrowser = "false");
|
|
62
|
+
} else i.entity.page._isMobile = "false";
|
|
63
|
+
}(t), Object.assign(t, e), t.isWorkflowEntity = ((s = e.props) == null ? void 0 : s.activeWorkflow) !== void 0 ? (n = e.props) == null ? void 0 : n.activeWorkflow : e.isWorkflowEntity, t.dimensions = function() {
|
|
64
|
+
const i = window.outerWidth;
|
|
65
|
+
return i ? i > 768 ? b.PC : i > 414 ? b.IPAD : b.PHONE : b.PC;
|
|
66
|
+
}(), t.events = e.runtime && e.runtime.events ? e.runtime.events : [], t;
|
|
67
|
+
}
|
|
68
|
+
function m(e) {
|
|
69
|
+
try {
|
|
70
|
+
const t = function(o) {
|
|
71
|
+
if (!o) return o;
|
|
72
|
+
try {
|
|
73
|
+
const s = window.CryptoJS.enc.Latin1.parse("qwertyuasdfgh456"), n = window.CryptoJS.enc.Latin1.parse("1234567812345678");
|
|
74
|
+
return window.CryptoJS.AES.decrypt(o, s, { iv: n, mode: window.CryptoJS.mode.CBC, padding: window.CryptoJS.pad.ZeroPadding }).toString(CryptoJS.enc.Utf8);
|
|
75
|
+
} catch {
|
|
76
|
+
return o;
|
|
77
|
+
}
|
|
78
|
+
}(e);
|
|
79
|
+
return t ? JSON.parse(t) : {};
|
|
80
|
+
} catch {
|
|
81
|
+
return e;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function j(e) {
|
|
85
|
+
try {
|
|
86
|
+
return e.props && e.props.judgeHeavyList.length > 0 ? (e.props.judgeHeavyList.forEach((t) => {
|
|
87
|
+
t.duplicateFieldList && t.duplicateFieldList.length > 0 && (t.duplicateFieldList = t.duplicateFieldList.map((o) => typeof o == "string" ? { propDbName: o } : o));
|
|
88
|
+
}), e.props.judgeHeavyList) : null;
|
|
89
|
+
} catch (t) {
|
|
90
|
+
console.error("getJudgeHeavyList error:", t);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function X(e) {
|
|
94
|
+
let t = decodeURI(window.location.href);
|
|
95
|
+
try {
|
|
96
|
+
window.top && !Array.isArray(window.top) && (t = decodeURI(window.top.location.href));
|
|
97
|
+
} catch {
|
|
98
|
+
}
|
|
99
|
+
if (t && t.includes("?")) {
|
|
100
|
+
t = t.substring(t.lastIndexOf("?") + 1);
|
|
101
|
+
const o = t.split("&");
|
|
102
|
+
for (const s of o) {
|
|
103
|
+
const n = s.split("=");
|
|
104
|
+
let i = n[0];
|
|
105
|
+
if (i) {
|
|
106
|
+
const r = n.length > 1 ? n[1] : "";
|
|
107
|
+
i.indexOf("ai__") >= 0 && (i = i.substring(i.indexOf("ai__") + 4)), e[i] = r;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
e._t_;
|
|
112
|
+
}
|
|
113
|
+
function Y(e, t) {
|
|
114
|
+
e && (Object.assign(t, e), V(e.paramStoreId, t), delete e.paramStoreId, e.jumpMode && (t.jumpMode = e.jumpMode));
|
|
115
|
+
}
|
|
116
|
+
function ee(e, t) {
|
|
117
|
+
e && (e.params && Object.assign(t, e.params), e.query, e.query) && (Object.assign(t, e.query), V(e.query.paramStoreId, t));
|
|
118
|
+
}
|
|
119
|
+
function V(e, t) {
|
|
120
|
+
if (e) {
|
|
121
|
+
const o = R(e);
|
|
122
|
+
if (o) {
|
|
123
|
+
const s = JSON.parse(o);
|
|
124
|
+
Object.assign(t, s);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function q(e, t) {
|
|
129
|
+
let o, s = t;
|
|
130
|
+
t || (o = e.props.base ? e.props.base : {}, s = o.prop);
|
|
131
|
+
let n = null;
|
|
132
|
+
return t && !t.startsWith("${") ? n = ["data", t] : !e || s && s.startsWith("${") ? s.startsWith("${") ? (s = s.substring(2, s.length - 1), n = s.split("."), e && n.length < 2 && (n = [e.uuid])) : e && (n = ["page", e.uuid]) : n = ["page", e.uuid], n || e ? n : ["temp"];
|
|
133
|
+
}
|
|
134
|
+
function te(e, t, o) {
|
|
135
|
+
var i, r;
|
|
136
|
+
const s = q(t, o), n = e.entity;
|
|
137
|
+
if (n.data.ID == null && n.data.id == null) {
|
|
138
|
+
let u, a, l = !1;
|
|
139
|
+
if (t && (u = t.props.base ? t.props.base : {}, a = t.name, l = u.multiple), F(n, s) == null) {
|
|
140
|
+
const d = u ? u.defaultValue : null, c = !!((i = t == null ? void 0 : t.runtime) != null && i.arrayValue);
|
|
141
|
+
if (d) try {
|
|
142
|
+
const g = k(e, d, a, l);
|
|
143
|
+
if (C(g)) M(n, s, g, c);
|
|
144
|
+
else if (((r = u.moreDefaultValue) == null ? void 0 : r.length) > 0) {
|
|
145
|
+
const w = u.moreDefaultValue;
|
|
146
|
+
for (let h = 0; h < w.length; h++) {
|
|
147
|
+
const P = k(e, w[h], a, l);
|
|
148
|
+
if (C(P)) {
|
|
149
|
+
M(n, s, P, c);
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
} catch (g) {
|
|
155
|
+
console.error("设置默认值出错:", s, g);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
return s;
|
|
160
|
+
}
|
|
161
|
+
function C(e) {
|
|
162
|
+
return e != null && e !== "";
|
|
163
|
+
}
|
|
164
|
+
function M(e, t, o, s) {
|
|
165
|
+
!Array.isArray(o) || s ? E(e, t, o) : E(e, t, o.join(","));
|
|
166
|
+
}
|
|
167
|
+
function k(e, t, o, s) {
|
|
168
|
+
let n;
|
|
169
|
+
if (t && (n = x(e, t), n != null && n != null && o)) {
|
|
170
|
+
let i = !1;
|
|
171
|
+
o == "checkbox" ? i = !0 : o == "select" && (i = s), i && (n = (n + "").split(","));
|
|
172
|
+
}
|
|
173
|
+
return n;
|
|
174
|
+
}
|
|
175
|
+
function ie(e, t) {
|
|
176
|
+
var s, n;
|
|
177
|
+
if (((n = (s = e.props) == null ? void 0 : s.base) == null ? void 0 : n.isPermission) === !1) return "true";
|
|
178
|
+
const o = [];
|
|
179
|
+
if (e.autoPermissions) for (const i of e.autoPermissions) o.push(t.code + "." + i.simpleCode);
|
|
180
|
+
if (e.functionCodes) {
|
|
181
|
+
const i = e.sourceTypes ? e.sourceTypes : [], r = e.functionCodes;
|
|
182
|
+
for (let u = 0; u < r.length; u++) {
|
|
183
|
+
const a = r[u], l = u < i.length ? i[u] : "";
|
|
184
|
+
let p = "";
|
|
185
|
+
l == "service" ? p = a : l === "standard" ? p = t.code + "." + a : p = L(a, t).type === "custom" ? a : t.code + "." + a, o.includes(p) || o.push(p);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return o.join(",");
|
|
189
|
+
}
|
|
190
|
+
function L(e, t) {
|
|
191
|
+
const o = t.pagePermissions;
|
|
192
|
+
if (o && o.length > 0) {
|
|
193
|
+
for (let s = 0; s < o.length; s++) if (o[s].simpleCode === e) return o[s];
|
|
194
|
+
}
|
|
195
|
+
return null;
|
|
196
|
+
}
|
|
197
|
+
function N(e, t, o) {
|
|
198
|
+
const s = e.tableRuntimes, n = T(t);
|
|
199
|
+
let i;
|
|
200
|
+
const r = e.code;
|
|
201
|
+
return n && Object.keys(n) > 0 && (i = JSON.stringify(n)), y.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: s, additionalParamMapJson: i, pageCode: r, publishVersion: o, pageType: e.pageType });
|
|
202
|
+
}
|
|
203
|
+
const J = ["button-detail", "print-label"];
|
|
204
|
+
function se(e, t, o) {
|
|
205
|
+
var r, u;
|
|
206
|
+
const s = t.props && t.props.base ? t.props.base.prop : null, n = S(e);
|
|
207
|
+
let i = !1;
|
|
208
|
+
if (n && J.indexOf(t.name) < 0 && e.fieldPermissionMap) {
|
|
209
|
+
const a = e.fieldPermissionMap.get("all_fields");
|
|
210
|
+
(a == null ? void 0 : a.canEdit) === !1 && ((r = t.runtime) != null && r.props) && (t.runtime.props.state = "disabled", i = !0);
|
|
211
|
+
}
|
|
212
|
+
if (s) {
|
|
213
|
+
const a = O(s);
|
|
214
|
+
if (e.rules || (e.rules = {}), t.props.rules && t.props.rules.length > 0 && (e.rules[a] || (e.rules[a] = []), t.props.rules.forEach((l) => {
|
|
215
|
+
_(l), !o && l && l.required && (l.required = !1);
|
|
216
|
+
}), e.rules[a] = t.props.rules), n && !i && t.name !== "button-detail" && e.fieldPermissionMap) {
|
|
217
|
+
const l = e.fieldPermissionMap.get(a);
|
|
218
|
+
if (!o && e.workflowRules && (e.workflowRules[a] || e.workflowRules.rules && e.workflowRules.rules[a])) {
|
|
219
|
+
let p = e.workflowRules[a];
|
|
220
|
+
if (!p && e.workflowRules.rules && (p = e.workflowRules.rules[a]), p && Array.isArray(p) && p.length > 0) for (let d = 0; d < p.length; d++) {
|
|
221
|
+
const c = p[d];
|
|
222
|
+
if (c && c.required) {
|
|
223
|
+
c.required = !1;
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
else p && p.required && (p.required = !1);
|
|
228
|
+
}
|
|
229
|
+
t.runtime.props || (t.runtime.props = {}), l ? (!o && l.canEdit && (l.canEdit = !1), l.canEdit === !1 ? t.runtime.props.state = "disabled" : l.canEdit && (t.runtime.props.state = "", t.runtime.props.required = !0)) : t.runtime.props.state = "";
|
|
230
|
+
}
|
|
231
|
+
(u = t.props) != null && u.customRuleEvents && (e.customRuleEvents || (e.customRuleEvents = []), e.customRuleEvents.push({ prop: a, events: t.props.customRuleEvents }));
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
function oe(e, t) {
|
|
235
|
+
e.initInfo && ["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((o) => {
|
|
236
|
+
const s = e.initInfo[o];
|
|
237
|
+
if (s) if (o === "dynamicControlFormEdit") {
|
|
238
|
+
let n = s.filter((i) => i.name === "_all_fields" || i.name === t);
|
|
239
|
+
if (n && n.length > 0 && (n = n.filter((i) => i.name === "_all_fields"), n && n.length > 0)) {
|
|
240
|
+
const i = W(n[0]);
|
|
241
|
+
i.name = t, n = [i];
|
|
242
|
+
}
|
|
243
|
+
f.dynamicControlFormEdit(e, n, !1);
|
|
244
|
+
} else o === "disableElement" ? s.indexOf(t) >= 0 && f.disableElement(e, [t], !1) : o === "enableElement" ? s.indexOf(t) >= 0 && f.enableElement(e, [t], !1) : o === "hideElement" ? s.indexOf(t) >= 0 && f.hideElement(e, [t], !1) : o === "showElement" && s.indexOf(t) >= 0 && f.showElement(e, [t], !1);
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
export {
|
|
248
|
+
oe as controlObjectRenderState,
|
|
249
|
+
Q as convertToPageContext,
|
|
250
|
+
k as getDefaultValue,
|
|
251
|
+
te as getFormModelFields,
|
|
252
|
+
q as getModelFields,
|
|
253
|
+
ie as getPermissionCodes,
|
|
254
|
+
X as packageAdditionalMapWithLocationSearch,
|
|
255
|
+
Y as packageAdditionalMapWithPageRequest,
|
|
256
|
+
ee as packageAdditionalMapWithRoute,
|
|
257
|
+
se as packageFormRules,
|
|
258
|
+
Z as queryPageDesignByCode,
|
|
259
|
+
K as queryPageDesignWhenPreview,
|
|
260
|
+
N as queryPageSuperGrids
|
|
261
|
+
};
|