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