super-page-runtime 2.3.48-cdnTmp2 → 2.3.48-sit1
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.js +8 -0
- package/dist/es/components/runtime/utils/ai-chat-util.js +16 -0
- package/dist/es/components/runtime/utils/anchor-util.js +84 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.js +7 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
- package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
- package/dist/es/components/runtime/utils/barcode-util.js +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +168 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +82 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +288 -0
- package/dist/es/components/runtime/utils/common-util.js +120 -0
- package/dist/es/components/runtime/utils/eventBus.js +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
- package/dist/es/components/runtime/utils/events/event-util.js +447 -0
- package/dist/es/components/runtime/utils/events/print-label.js +99 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +1226 -0
- package/dist/es/components/runtime/utils/events/validator-util.js +482 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
- package/dist/es/components/runtime/utils/global-refs.js +57 -0
- package/dist/es/components/runtime/utils/i18n-util.js +18 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +391 -0
- package/dist/es/components/runtime/utils/page-init-util.js +295 -0
- package/dist/es/components/runtime/utils/{page-permission-util.mjs → page-permission-util.js} +21 -20
- package/dist/es/components/runtime/utils/page-store.js +53 -0
- package/dist/es/components/runtime/utils/store-util.js +13 -0
- package/dist/es/components/runtime/utils/table-utils.js +89 -0
- package/dist/es/components/runtime/utils/tree-utils.js +73 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +9 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +58 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +64 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +94 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +425 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +17 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +267 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +34 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +79 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +25 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +46 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +47 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +67 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +383 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +339 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +90 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +142 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +66 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +113 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +90 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +80 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +36 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +41 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +218 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +155 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +44 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +164 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +32 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
- package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +29 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +5 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +7 -0
- package/dist/es/components/runtime/views/super-page.vue2.js +310 -0
- package/dist/es/index.js +32 -0
- package/dist/es/style.css +1052 -1
- package/package.json +11 -13
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +0 -16
- package/dist/es/components/runtime/utils/anchor-util.mjs +0 -83
- package/dist/es/components/runtime/utils/api/api-util.mjs +0 -12
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +0 -196
- package/dist/es/components/runtime/utils/assemblys-config.mjs +0 -19
- package/dist/es/components/runtime/utils/barcode-util.mjs +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +0 -169
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +0 -83
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +0 -47
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +0 -285
- package/dist/es/components/runtime/utils/common-util.mjs +0 -116
- package/dist/es/components/runtime/utils/eventBus.mjs +0 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +0 -38
- package/dist/es/components/runtime/utils/events/event-util.mjs +0 -429
- package/dist/es/components/runtime/utils/events/print-label.mjs +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.mjs +0 -1170
- package/dist/es/components/runtime/utils/events/validator-util.mjs +0 -462
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.mjs +0 -88
- package/dist/es/components/runtime/utils/global-refs.mjs +0 -57
- package/dist/es/components/runtime/utils/i18n-util.mjs +0 -14
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.mjs +0 -381
- package/dist/es/components/runtime/utils/page-init-util.mjs +0 -281
- package/dist/es/components/runtime/utils/page-store.mjs +0 -53
- package/dist/es/components/runtime/utils/store-util.mjs +0 -13
- package/dist/es/components/runtime/utils/table-utils.mjs +0 -84
- package/dist/es/components/runtime/utils/tree-utils.mjs +0 -68
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +0 -53
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +0 -59
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +0 -59
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +0 -93
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +0 -425
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +0 -42
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +0 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +0 -261
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +0 -34
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +0 -27
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +0 -22
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +0 -27
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +0 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +0 -43
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +0 -362
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +0 -329
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +0 -90
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +0 -133
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +0 -65
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +0 -36
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +0 -111
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +0 -88
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +0 -79
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +0 -37
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +0 -42
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +0 -16
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +0 -84
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +0 -215
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +0 -150
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +0 -43
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +0 -163
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +0 -56
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +0 -29
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +0 -30
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.mjs +0 -46
- package/dist/es/components/runtime/views/home-chart2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +0 -30
- package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +0 -5
- package/dist/es/components/runtime/views/super-page.vue.mjs +0 -7
- package/dist/es/components/runtime/views/super-page2.vue.mjs +0 -307
- package/dist/es/index.mjs +0 -32
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +0 -1
- package/dist/lib/assets/chart-themes/bar-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/pie-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/radar-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +0 -6
- package/dist/lib/assets/file.png.cjs +0 -1
- package/dist/lib/assets/folder.png.cjs +0 -1
- package/dist/lib/components/runtime/index.d.ts +0 -6
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/anchor-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +0 -13
- package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +0 -1
- package/dist/lib/components/runtime/utils/barcode-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +0 -8
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +0 -2
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +0 -2
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -115
- package/dist/lib/components/runtime/utils/common-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -33
- package/dist/lib/components/runtime/utils/eventBus.cjs +0 -1
- package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -8
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +0 -27
- package/dist/lib/components/runtime/utils/events/event-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -93
- package/dist/lib/components/runtime/utils/events/print-label.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +0 -5
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -107
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -31
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +0 -1
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +0 -7
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/global-refs.cjs +0 -1
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -65
- package/dist/lib/components/runtime/utils/i18n-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +0 -1
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -259
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -181
- package/dist/lib/components/runtime/utils/page-init-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -55
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
- package/dist/lib/components/runtime/utils/page-store.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-store.d.ts +0 -58
- package/dist/lib/components/runtime/utils/store-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.cjs +0 -1
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/utils/table-utils.cjs +0 -1
- package/dist/lib/components/runtime/utils/table-utils.d.ts +0 -36
- package/dist/lib/components/runtime/utils/tree-utils.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +0 -36
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +0 -121
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +0 -5
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -28
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +0 -27
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +0 -59
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +0 -31
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +0 -94
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +0 -14
- package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +0 -19
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +0 -23
- package/dist/lib/components/runtime/views/home-chart2.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -40
- package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -137
- package/dist/lib/components/runtime/views/super-page2.vue.cjs +0 -1
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +0 -1
- package/dist/lib/i18n/langs/en.cjs +0 -1
- package/dist/lib/index.cjs +0 -1
- package/dist/lib/index.d.ts +0 -16
- package/dist/lib/style.css +0 -1
- /package/dist/es/assets/chart-themes/{bar-theme.mjs → bar-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.mjs → gauge-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.mjs → pie-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.mjs → radar-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.mjs → scatter-theme.js} +0 -0
- /package/dist/es/assets/{file.png.mjs → file.png.js} +0 -0
- /package/dist/es/assets/{folder.png.mjs → folder.png.js} +0 -0
- /package/dist/es/components/runtime/utils/{store.mjs → store.js} +0 -0
- /package/dist/es/i18n/langs/{cn.mjs → cn.js} +0 -0
- /package/dist/es/i18n/langs/{en.mjs → en.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const oe=require("async-validator"),I=require("element-plus"),R=require("../global-refs.cjs"),m=require("agilebuilder-ui"),H=require("./standard-event.cjs"),M=require("../common-util.cjs"),T=require("../anchor-util.cjs"),he=["downloadTemplate","back","exportForm","exportPDF","lineEditCreate","workflowSave"];function v(e,t=new WeakMap){if(typeof structuredClone=="function")try{return structuredClone(e)}catch{}if(e===null||typeof e!="object")return e;const n=e;if(t.has(n))return t.get(n);if(Array.isArray(e)){const o=[];return t.set(n,o),e.forEach((i,s)=>{o[s]=v(i,t)}),o}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e.source,e.flags);if(e instanceof Map){const o=new Map;return t.set(n,o),e.forEach((i,s)=>{o.set(v(s,t),v(i,t))}),o}if(e instanceof Set){const o=new Set;return t.set(n,o),e.forEach(i=>{o.add(v(i,t))}),o}const r={};return t.set(n,r),Object.keys(e).forEach(o=>{r[o]=v(e[o],t)}),r}function K(e,t,n){const r={};t||(t={});let o=0;const i=e.split(".");return i.forEach(s=>{let l;if(o===i.length-1)l=function(u,a,d){let g;for(let c=0;c<a.length&&(g=c===0?u[a[c]]:g.fields[a[c]],!(c!==a.length-1&&a[c+1]===d));c++);return g}(r,i,s),l.fields[s]=n;else{let u;o===0?l=t:(u=function(a,d,g){let c;for(let f=0;f<d.length;f++){const b=d[f];if(c=f===0?a[b]:c.fields[d[f]],b===g)break}return c}(r,i,i[o-1]),l=u.fields),l[s]||(l[s]={type:"object",required:!0,fields:{}}),o===0?r[s]=l[s]:u.fields[s]=l[s]}o++}),r}function se(e,t,n,r,o,i){return U(e,t,n,r,!0,o,i)}function re(e){if(e)return Object.keys(e).forEach(t=>{if(t.indexOf(".")>=0){let n=[];n=t.split("."),e[n[0]]?e[n[0]].fields[n[1]]=e[t][0]:(e[n[0]]=new Object,e[n[0]].fields=new Object,e[n[0]].fields[n[1]]=e[t][0],e[n[0]].type="object"),delete e[t]}}),e}function U(e,t,n,r,o,i,s){var d;let l=re(t);if(t&&t!==null||!n||(l={}),!l||Object.keys(l).length===0)return e.validateErrorField="",!0;const u=((d=s.props)==null?void 0:d.highlightAllRequiredField)||!1;let a;return new oe(l).validate(e,{first:!u},(g,c)=>{if(u){if(a=g||!0,a===!0&&o===!0&&l){const f=/[A-Z]+/,b=Object.keys(l);if(b.some(h=>f.test(h)&&e[h.toLowerCase()]!==void 0)){const h=JSON.parse(JSON.stringify(e));b.forEach(w=>{f.test(w)&&e[w.toLowerCase()]!==void 0&&(h[w.toUpperCase()]=e[w.toLowerCase()],delete h[w.toLowerCase()])}),a=U(h,t,n,r,!1,i,s)}}a!==!0&&I.ElMessage({showClose:!0,message:m.getI18n().t("superPageRuntimeMessage.pleaseInputRequiredInfo"),type:"warning"})}else{let f;if(g){a=g[0].message,f=g[0].field,I.ElMessage({message:a,showClose:!0,type:"warning",duration:3e3});const b=R.getComponentRefByCode(s,f);if(b&&b.addRequiredClass){b.addRequiredClass();try{T.scrollIntoComponentWithCode(s,f)}catch(h){console.error("滚动失败",h)}}}else a=!0;if(f&&o===!0&&/[A-Z]+/.test(f)&&e[f.toLowerCase()]!==void 0){const b=JSON.parse(JSON.stringify(e));b[f.toUpperCase()]=e[f.toLowerCase()],delete b[f.toLowerCase()],a=U(b,t,n,r,!1,i,s)}}}),a}function W(e,t){if(t.listCode){const n=R.getComponentRefByCode(e,t.listCode);n!=null&&n.addRequiredClass&&n.addRequiredClass(t.field,t.rowIndex,t.pageNum)}else if(t.field){const n=R.getComponentRefByCode(e,t.field);n!=null&&n.addRequiredClass&&n.addRequiredClass()}}function ie(e,t){t.forEach(n=>W(e,n))}function le(e,t){try{T.scrollIntoComponentWithCode(e,t.listCode);const n=R.getComponentRefByCode(e,t.listCode);n!=null&&n.scrollToCell&&n.scrollToCell({fieldName:t.field,rowIndex:t.rowIndex,pageNum:t.pageNum})}catch(n){console.error("滚动到验证失败的子表字段失败,可能是表格组件版本较低没有scrollToCell方法",n)}}function ae(e,t){try{T.scrollIntoComponentWithCode(e,t)}catch(n){console.error("滚动失败",n)}}function ue(e,t){let n=null,r=1/0;return t.forEach(o=>{const i=o.listCode||o.field;if(!i)return;const s=R.getComponentRefByCode(e,i),l=(s==null?void 0:s.$el)||s;if(l!=null&&l.getBoundingClientRect){const u=l.getBoundingClientRect();u.top<r&&(r=u.top,n=o)}}),n}function fe(e,t){t&&(t.listCode?le(e,t):t.field&&ae(e,t.field))}function S(e){return new Promise((t,n)=>{const r=[],o=e.customValidatorUuids;o&&o.forEach(i=>{const s=R.getComponentRef(e,i);s&&s.validator&&r.push(s.validator())}),r&&r.length>0?Promise.all(r).then(i=>{i.includes(!1)?t(!1):t(!0)}):t(!0)})}function Q(e,t,n){return new Promise((r,o)=>{var u;const i=JSON.parse(JSON.stringify(e)),s=v(n),l=t.hiddenNotValidatorCodes;if(s&&l&&l.size>0&&l.forEach(a=>{delete s[a]}),s&&Object.keys(s).length!==0){const a=se(i,s,null,null,!0,t);if((u=t.props)!=null&&u.highlightAllRequiredField&&a&&Array.isArray(a)&&a.length>0&&(ie(t,a),fe(t,ue(t,a)),r(!1)),a===!0)if(X(t)===!0){const d=ee(t);d&&m.isPromise(d)?d.then(g=>{g?S(t).then(c=>{r(c)}):r(!1)}):S(t).then(g=>{r(g)})}else o(new Error(m.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);else o(new Error(m.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message)}else if(X(t)===!0){const a=ee(t);a&&m.isPromise(a)?a.then(d=>{d?S(t).then(g=>{r(g)}):r(!1)}):S(t).then(d=>{r(d)})}else o(new Error(m.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message)})}function F(e,t,n){if(!t)return n;n||(n={});const r=M.isWorkflowPage(e),o=Object.keys(t),i=t;return o.forEach(s=>{if(s==="__subRules"){const l=i.__subRules;Object.keys(l).forEach(u=>{n.subRules||(n.subRules={}),n.subRules[u]?Object.assign(n.subRules[u],l[u]):n.subRules[u]=l[u]})}else de(i[s]),r?(n.rules[s]=i[s],n[s]&&(n[s]=i[s])):n[s]=i[s]}),re(n)}function X(e){var n;if(!e||M.isWorkflowPage(e))return!0;const t=e.tableUuids;if(!t)return!0;for(let r=0;r<t.length;r++){const o=t[r],i=e.hiddenNotValidatorCodes;if(i&&i.size>0&&i.has(o))continue;const s=R.getComponentRef(e,o);if(s){if(s.getConfigure()){const l=s.getConfigure();if((n=l==null?void 0:l.verification)!=null&&n.notEmpty){const u=s.getTableData();if(!u||!Array.isArray(u)||u.length===0){try{T.scrollIntoComponentWithUuid(e,o)}catch{}return I.ElMessage({showClose:!0,message:m.getI18n().t("superPageRuntimeMessage.xxxNotEmpty",{label:l.title?l.title:l.code}),type:"warning"}),!1}}}if(s.validatorSunTableListData()===!1){try{T.scrollIntoComponentWithUuid(e,o)}catch{}return!1}}}return!0}function Y(e,t){e.forEach(n=>{n.message;const r=n.label,o=m.getI18n().t(r);n.required&&(n.message=m.getI18n().t("superPageRuntimeMessage.required",{label:o})),n.myType&&(n.message=m.getI18n().t("superPageRuntimeMessage.formatMismatch",{label:o})),n.patternType&&(n.message=m.getI18n().t("superPageRuntimeMessage.formatMismatch",{label:o})),n.max!==void 0&&n.max!==null&&(n.message=m.getI18n().t("superPageRuntimeMessage.overMaxLength",{label:o,value:n.max})),n.min!==void 0&&n.min!==null&&(n.message=m.getI18n().t("superPageRuntimeMessage.limitMinLength",{label:o,value:n.min}))})}function ee(e){const t=[];return e.customRuleEvents&&e.customRuleEvents.length>0&&e.customRuleEvents.forEach(n=>{n.events.forEach(r=>{const o=e.customEvents[r];t.push(o.apply(o,[{prop:n.prop,pageContext:e}]))})}),t&&t.length>0?new Promise((n,r)=>{const o=[],i=[];t.forEach(s=>{m.isPromise(s)?o.push(s):i.push(s)}),i.includes(!1)&&n(!1),o.length>0?Promise.all(o).then(s=>{s.includes(!1)?n(!1):n(!0)}).catch(s=>{console.error(s),n(!1)}):n(!0)}):null}function te(e,t){const n=R.getAllComponentRefs(e);if(n)for(const r in n){const o=n[r];ce(e,o&&o.value,t)}}function ce(e,t,n){var r,o,i;if(t){const s=t.getConfigure();if(n.show!==void 0&&(n.show?t.show():t.hide()),n.required!==void 0&&((r=s==null?void 0:s.runtime)!=null&&r.props)&&(s.runtime.props.required=n.required),n.readonly!==void 0&&((o=s==null?void 0:s.runtime)!=null&&o.props)&&(n.readonly?s.runtime.props.state="readonly":s.runtime.props.state="enabled"),n.disabled!==void 0&&s&&((i=s==null?void 0:s.runtime)!=null&&i.props&&(n.disabled?s.runtime.props.state="disabled":s.runtime.props.state="enabled"),s.name==="table")){t.changeOperationAddState(!1);const l=t?t.getTableUuid():null,u=e.code,a=e.version,d=M.getListCode(u,a,l),g=[{name:"_all_fields",disabled:!0}];t.dynamicControlTableEdit(e,g,d)}}}function de(e){if(e!=null&&e.pattern&&typeof e.pattern=="object"&&Object.keys(e.pattern).length===0&&delete e.pattern,!e)return;if(!e.type)return void function(n){var o;const r=(o=oe.validators)==null?void 0:o.string;typeof r=="function"&&(n.validator=function(i,s,l,u,a){if(s==null||typeof s=="string")return r(i,s,l,u,a);if(Array.isArray(s)&&s.length===0)return!i.required;const d=i.type;i.type=void 0;const g=r(i,s,l,u,a);return i.type=d,g})}(e);const t=ye[e.type];t&&(e.validator=t.validator)}const ye={boolean:{validator:function(e,t,n){return q(e,t)===!0&&(typeof t=="number"&&(t===1||t===0)||typeof t=="boolean"&&(t===!0||t===!1))}},date:{validator:function(e,t,n){if(q(e,t)!==!0)return!1;const r=new Date(t);return!isNaN(r.getTime())}},number:{validator:function(e,t,n){return q(e,t)===!0&&(typeof t!="string"||t.trim()!=="")&&(typeof t=="number"||!isNaN(Number(t)))}},float:{validator:function(e,t,n){return q(e,t)===!0&&function(r){return typeof r=="number"?!isNaN(r):typeof r=="string"&&r.trim()!==""?!isNaN(Number(r)):!1}(t)}},integer:{validator:function(e,t,n){return q(e,t)===!0&&(typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""&&/^-?\d+$/.test(t.trim()))}}},q=(e,t)=>t!=null&&t!==""||!e.required;function ne(e,t){return e&&he.includes(t.eventName)}exports.disabledAllFields=function(e){te(e,{disabled:!0})},exports.dynamicControlTableEdit=function(e,t,n){var u;let r,o;if(n?(r=R.getComponentRefByCode(e,n),o=r?r.getTableUuid():null):(o=e.tableUuids&&e.tableUuids.length>0?e.tableUuids[0]:null,r=o?R.getComponentRef(e,o):null),!r)return;const i=e.code,s=e.version,l=M.getListCode(i,s,o);if(e.workflowRules||(e.workflowRules={rules:{},subRules:{}}),e.workflowRules.subRules||(e.workflowRules.subRules={}),e.workflowRules.subRules[n]||(e.workflowRules.subRules[n]={}),((u=e.workflowRules)==null?void 0:u.subRules)&&e.workflowRules.subRules[n]){const a=e.workflowRules.subRules[n];t.forEach(d=>{a[d.name]=d})}r.dynamicControlTableEdit(e,t,l)},exports.getWorkflowRules=function(e){const t=e.entity.data,n={...e.entity.page,...t},r=H.getAdditionalParamMap(e),o=e.entity.context,i=e.entity.task;e.formPropTiltleMap&&Object.keys(e.formPropTiltleMap).length>0&&e.completeTaskParam.fieldPermissions&&e.completeTaskParam.fieldPermissions.length>0&&e.completeTaskParam.fieldPermissions.forEach(u=>{u.name&&e.formPropTiltleMap[u.name]&&(u.label=e.formPropTiltleMap[u.name])});let s=window.$vueApp.config.globalProperties.$getValidator(e.completeTaskParam.fieldPermissions,n,!0,r,i,o);const l=e.customRules;return s=F(e,l,s),s&&(s.rules||(s.rules={}),s.subRules||(s.subRules={})),s},exports.i18nValidatePropRulesMessage=Y,exports.i18nValidateRulesMessage=function(e){if(!e||Object.keys(e).length===0)return;const t={},n=Object.keys(e);for(let r=0;r<n.length;r++){const o=n[r],i=e[o];Y(i),o.indexOf(".")>0?K(o,t,i):i&&i.length>0&&(t[o]=[...i])}return t},exports.isNotNeedValidateRequired=ne,exports.packageCustomRules=F,exports.packageCustomValidator=de,exports.setObjectPropRule=K,exports.updateFormItemEditState=function(e,t){if(!t)return;const n={};if(t.forEach(o=>{const{name:i,rules:s}=o;s?n[i]=s:o.required===!1&&(n[i]=[])}),M.isWorkflowPage(e)){let o=e.workflowRules?e.workflowRules:{rules:{},subRules:{}};o=F(e,n,o),e.workflowRules=o}else{let o=e.rules?e.rules:{};o=F(e,n,o),e.rules=o}const r=t.filter(o=>o.name==="_all_fields");r&&r.length>0&&te(e,r[0]),t.forEach(o=>{if(o.name!=="_all_fields"){const i=R.getComponentRefByCode(e,o.name);ce(e,i,o)}})},exports.validateDataModelFunc=function(e,t,n,r){if(n&&ne(n.isStandard,n.event))return new Promise((u,a)=>{u(!0)});const o=e.entity.data,i={...e.entity.page,...o},s=e.rules,l=t.props.base?t.props.base.isEnableRequired:null;return l!=null&&(r=l),r==null&&(r=!1),function(u,a,d,g){return u?M.isWorkflowPage(g)?function(c,f,b){return new Promise((h,w)=>{var B;const O=H.getAdditionalParamMap(f),N=f.entity.context,ge=f.entity.task,pe=!0,me=f.subTablePageInfo,be=((B=f.props)==null?void 0:B.highlightAllRequiredField)||!1;Q(c,f,b).then(A=>{if(A){let x=A;const _=f.workflowRules;let V=null,p=null;if(_){if(!function(C,E){var k,J,$,z;if(!C.actionPermissions)return!0;const y=Object.keys(C.actionPermissions);for(let L=0;L<y.length;L++){const P=y[L],j=C.actionPermissions[P];if(j&&j.notEmpty){if((k=C.hiddenNotValidatorCodes)!=null&&k.has(P))continue;let D=!1;if(E[P]?Array.isArray(E[P])&&E[P].length===0&&(D=!0):D=!0,D){const Z=R.getComponentRefByCode(C,P);if(!Z)return!0;const G=Z.getConfigure();return(J=j.notEmptyCondition)!=null&&J.parentCondition&&m.parseSubTablePermissionCondition(j.notEmptyCondition.parentCondition.replaceAll("${field[","${parent["),C.dataTypeMaps,E,{},($=C.entity)==null?void 0:$.request,(z=C.entity)==null?void 0:z.task,C.contextParam)===!1?!0:(I.ElMessage({showClose:!0,message:m.getI18n().t("superPageRuntimeMessage.xxxNotEmpty",{label:G.title?G.title:P}),type:"warning"}),!1)}}}return!0}(f,c))return void h(!1);V=function(C,E){const y=v(C);return E&&E.size>0&&E.forEach(k=>{delete y[k],y.subRules&&delete y.subRules[k],y.rules&&delete y.rules[k]}),y.subRules&&(Object.keys(y.subRules).length>0?y.totalSubRules||(y.totalSubRules={}):delete y.subRules),y}(_,f.hiddenNotValidatorCodes),p=window.$vueApp.config.globalProperties.$formValidator(c,V,pe,O,ge,N,me,!0,{returnAllErrors:be}),x=p&&Array.isArray(p)?p.length===1&&p[0].message?p[0].message:p.length===0||m.getI18n().t("superPageRuntimeMessage.pleaseInputRequiredInfo"):!p||p.msg}else x=!0;x!==!0?(console.error("流程表单验证失败",V,c),I.ElMessage({showClose:!0,message:x+"",type:"warning"}),p&&Array.isArray(p)&&p.length>0?(ie(f,p),fe(f,ue(f,p))):p.listCode?(W(f,p),le(f,p)):(W(f,p),ae(f,p.field)),h(!1)):(Object.keys(c).indexOf("validateErrorField")>=0&&delete c.validateErrorField,h(c))}else w(new Error(m.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message)}).catch(A=>{w(A)})})}(a,g,d):function(c,f,b){return new Promise((h,w)=>{Q(c,f,b).then(O=>{if(O){const N=JSON.parse(JSON.stringify(c));Object.keys(N).indexOf("validateErrorField")>=0&&delete N.validateErrorField,h(N)}else h(!1)}).catch(O=>{w(O)})})}(a,g,d):new Promise((c,f)=>{c(!0)})}(r,i,s,e)},exports.validator=se;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { PageContext } from '../interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
export declare function setObjectPropRule(prop: any, rules: any, leafRule: any): {};
|
|
4
|
-
export declare function validator(entity: any, rules: any, columns: any, rowIndex: any, isSql: any, pageContext: any): any;
|
|
5
|
-
export declare function validateDataModelFunc(pageContext: any, configureObj: any, clickEventFunObj: any, isEnableRequired: any): Promise<unknown>;
|
|
6
|
-
/**
|
|
7
|
-
* 封装自定义校验规则
|
|
8
|
-
* @param orgCustomRules 自定义规则
|
|
9
|
-
* @param orgRules 原来的表单规则
|
|
10
|
-
* @returns 添加了自定义规则后的规则
|
|
11
|
-
*/
|
|
12
|
-
export declare function packageCustomRules(pageContext: any, orgCustomRules: any, orgRules: any): any;
|
|
13
|
-
export declare function i18nValidateRulesMessage(rules: any): {};
|
|
14
|
-
export declare function i18nValidatePropRulesMessage(propRules: any, isResetMessage: boolean): void;
|
|
15
|
-
export declare function getWorkflowRules(pageContext: any): any;
|
|
16
|
-
export declare function updateFormItemEditState(pageContext: PageContext, customRules: any[]): void;
|
|
17
|
-
export declare function disabledAllFields(pageContext: PageContext): void;
|
|
18
|
-
export declare function dynamicControlTableEdit(pageContext: PageContext, customRules: any[], tableCode?: any): void;
|
|
19
|
-
/**
|
|
20
|
-
* 布尔型和日期校验需要自定义,为了兼容oracle和mysql数据库,
|
|
21
|
-
* 数字类型的校验,防止select、radio、checkbox传字符串类型的数字
|
|
22
|
-
* @param fieldRule
|
|
23
|
-
*/
|
|
24
|
-
export declare function packageCustomValidator(fieldRule: any): void;
|
|
25
|
-
/**
|
|
26
|
-
* 是否需要必填验证。特殊的标准事件不需要必填验证。
|
|
27
|
-
* @param isStandardEvent
|
|
28
|
-
* @param clickEvent
|
|
29
|
-
* @returns 返回true表示不需要执行必填验证
|
|
30
|
-
*/
|
|
31
|
-
export declare function isNotNeedValidateRequired(isStandardEvent: boolean, clickEvent: any): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.getDateShortCuts=function(n,u,s){if(!n)return;const a=[];if(n.includes("today")&&!["week","month","year"].includes(u)){const e={text:"今天",value:()=>new Date};s.endsWith("range")&&(e.value=()=>[new Date,new Date]),a.push(e)}if(n.includes("yesterday")&&!["week","month","year"].includes(u)){const e=new Date;e.setTime(e.getTime()-864e5);const t={text:"昨天",value:()=>e};s.endsWith("range")&&(t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneWeek")&&!["month","year"].includes(u)){const e=new Date;e.setTime(e.getTime()-6048e5);const t={text:"一周前",value:()=>e};s.endsWith("range")&&(t.text="一周",t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneMonth")&&!["year"].includes(u)){const e=new Date;e.getMonth()>0?e.setMonth(e.getMonth()-1):(e.setMonth(12),e.setFullYear(e.getFullYear()-1));const t={text:"一月前",value:()=>e};s.endsWith("range")&&(t.text="一月",t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneYear")){const e=new Date;e.setFullYear(e.getFullYear()-1);const t={text:"一年前",value:()=>e};s.endsWith("range")&&(t.text="一年",t.value=()=>[e,new Date]),a.push(t)}return a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const agilebuilderUi=require("agilebuilder-ui"),pageHelperUtil=require("../page-helper-util.cjs");function formatScanRuleSets(a){const e={};return a.forEach(s=>{s.type==="group"?s.outs.forEach(c=>{e[c.ruleCode]||(e[c.ruleCode]={outs:[],adaptations:[]}),e[c.ruleCode].outs.push(c)}):e[s.code]={outs:s.outs,adaptations:[]}}),packageScanRuleSets(e)}function packageScanRuleSets(a){return new Promise((e,s)=>{Object.keys(a).length>0?agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI+"/dc/setting-barcode-analysis/by-codes",Object.keys(a)).then(c=>{c.forEach(t=>{const u=JSON.parse(t.barcodeAnalysisOuts),n=new Set,l={};a[t.code].outs.forEach(r=>{n.add(r.returnedValue),l[r.returnedValue]=r.pageVariable});const o=[];u.forEach(r=>{n.has(r.code)&&(r.pageVariable=l[r.code],o.push(r))}),a[t.code].outs=o,a[t.code].adaptations=JSON.parse(t.barcodeAnalysisAdaptations),e(a)})}):e(null)})}function analysisScanValue(scanValue,scanRuleSets){if(!scanValue)return null;const scanSets=Object.values(scanRuleSets);for(let i=0;i<scanSets.length;i++){const scanSet=scanSets[i],adaptations=scanSet.adaptations;let validStr="";for(let a=0;a<adaptations.length;a++){const e=adaptations[a],s=_getScanIndexs(scanValue,e.startIndex,e.endIndex),c=s[0],t=s[1];let u=scanValue.substring(c,t),n=e.value,l=e.operate;if(l=="times"&&(n=u.split(n??"").length-1,u=e.times,l="="),(isNaN(u)||isNaN(n))&&(u="'"+u+"'",n="'"+n+"'"),e.leftBracket&&(validStr+=e.leftBracket),l=="<>"?l="!=":l=="="&&(l="=="),l=="include"||l=="notinclude"?(validStr+=u+".indexOf("+n+")",validStr+=l=="include"?">-1":"<0"):validStr+=u+l+n,e.rightBracket&&(validStr+=e.rightBracket),e.joinStr&&a+1<adaptations.length){const o=e.joinStr=="and"?"&&":"||";validStr+=o}}let res=!1;if(validStr)try{res=eval("("+validStr+")")}catch(a){}else res=!0;if(res)return executeAnalysisForScan(scanValue,scanSet)}return null}function executeAnalysisForScan(a,e){if(!e||!a)return;const s=e.outs,c={};return s.forEach(t=>{const u=t.fieldName;if(t.fixedValue!=null)c[u]=t.fixedValue;else{let n=a;if(t.splitChar&&t.splitNum){const l=(t.splitChar,t.splitChar),o=a.split(l),r=t.splitNum<1?1:t.splitNum;n=r<=o.length?o[r-1]:""}if(t.splitChar2&&t.splitNum2){const l=(t.splitChar2,t.splitChar2),o=n.split(l),r=t.splitNum2<1?1:t.splitNum2;n=r<=o.length?o[r-1]:""}if(n.length>0){const l=_getScanIndexs(n,t.startIndex,t.endIndex),o=l[0],r=l[1];n=n.substring(o,r)}c[u]=n}}),{value:a,params:c,scanSet:e}}function _getScanIndexs(a,e,s){return e=(e=(e=e==null?0:e-1)<0?0:e)>a.length-1?a.length-1:e,(s=(s=(s=s??a.length)>a.length?a.length:s)<1?1:s)<e&&(s=e),[e,s]}function setScanAnalysisValue(a,e,s){e&&e.outs.forEach(c=>{const t=c.fieldName,u=s[t];pageHelperUtil.setValueForVariableName(a.entity,c.pageVariable,u)})}exports.analysisScanValue=analysisScanValue,exports.formatScanRuleSets=formatScanRuleSets,exports.setScanAnalysisValue=setScanAnalysisValue;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("vue"),window.globalRefs||(window.globalRefs={});const t=window.globalRefs;function i(e,n){return"pageRuntimeRef-"+e+"-"+(n||1)}function u(e,n){return i(e,n)+"-code"}exports.addComponentRef=function(e,n,r){if(!e)return;const o=i(e.code,e.version);return t[o]||(t[o]={}),t[o][n]=r,t[o]},exports.addComponentRefByCode=function(e,n,r){if(!e)return;const o=u(e.code,e.version);return t[o]||(t[o]={}),t[o][n]=r,t[o]},exports.getAllComponentRefs=function(e){if(!e)return;const n=u(e.code,e.version);return t[n]||(t[n]={}),t[n]},exports.getComponentRef=function(e,n){if(!e||!n)return;const r=i(e.code,e.version);t[r]||(t[r]={});const o=t[r][n];return o&&o.value},exports.getComponentRefByCode=function(e,n){if(!e)return;const r=u(e.code,e.version);t[r]||(t[r]={});const o=t[r][n];return o&&o.value},exports.initComponentRefState=function(e){if(!e)return;const n=i(e.code,e.version);t[n]={}},exports.removePageAllRef=function(e){if(!e)return;const n=i(e.code,e.version);t[n]={}};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { PageContext } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
declare global {
|
|
4
|
-
interface Window {
|
|
5
|
-
globalRefs: any;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* 添加组件引用对象
|
|
10
|
-
* @param pageContext 页面运行时对象
|
|
11
|
-
* @param componentIndex 对象ID
|
|
12
|
-
* @param refObj 引用对象
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare function addComponentRef(pageContext: PageContext, componentUuid: string, refObj: any): any;
|
|
16
|
-
/**
|
|
17
|
-
* 添加组件引用对象
|
|
18
|
-
* @param pageContext 页面运行时对象
|
|
19
|
-
* @param componentIndex 对象ID
|
|
20
|
-
* @param refObj 引用对象
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare function addComponentRefByCode(pageContext: PageContext, componentCode: string, refObj: any): any;
|
|
24
|
-
/**
|
|
25
|
-
* 获取组件引用对象
|
|
26
|
-
* @param pageDesign 页面设计对象
|
|
27
|
-
* @param componentIndex 对象ID
|
|
28
|
-
* @returns
|
|
29
|
-
*/
|
|
30
|
-
export declare function getComponentRef(pageContext: PageContext, componentUuid: string): any;
|
|
31
|
-
/**
|
|
32
|
-
* 根据编码获取组件引用对象
|
|
33
|
-
* @param pageDesign 页面设计对象
|
|
34
|
-
* @param componentCode 对象code
|
|
35
|
-
* @returns
|
|
36
|
-
*/
|
|
37
|
-
export declare function getComponentRefByCode(pageContext: PageContext, componentCode: string): any;
|
|
38
|
-
/**
|
|
39
|
-
* 移除组件引用对象
|
|
40
|
-
* @param pageDesign 页面设计对象
|
|
41
|
-
* @param componentIndex 对象ID
|
|
42
|
-
* @param refObj 引用对象
|
|
43
|
-
* @returns
|
|
44
|
-
*/
|
|
45
|
-
export declare function removeComponentRef(pageContext: PageContext, componentUuid: string): any;
|
|
46
|
-
/**
|
|
47
|
-
* 移除页面所有引用
|
|
48
|
-
* @param pageDesign 页面设计对象
|
|
49
|
-
* @param componentIndex 对象ID
|
|
50
|
-
* @param refObj 引用对象
|
|
51
|
-
* @returns
|
|
52
|
-
*/
|
|
53
|
-
export declare function removePageAllRef(pageContext: PageContext): void;
|
|
54
|
-
/**
|
|
55
|
-
* 初始化页面引用对象
|
|
56
|
-
* @param pageCode
|
|
57
|
-
* @param pageVersion
|
|
58
|
-
*/
|
|
59
|
-
export declare function initComponentRefState(pageContext: PageContext): void;
|
|
60
|
-
/**
|
|
61
|
-
* 获取所有组件引用对象
|
|
62
|
-
* @param pageDesign 页面设计对象
|
|
63
|
-
* @returns
|
|
64
|
-
*/
|
|
65
|
-
export declare function getAllComponentRefs(pageContext: PageContext): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./page-store.cjs"),s=require("agilebuilder-ui"),o=require("vue-i18n");let l=null,e=null;exports.$t=(t,...n)=>{e||(e=o.useI18n());const r=i.usePageContextStore().pageContext;l===null&&(l=!!s.i18nUtil.getEnableI18nState(r.systemCode));const u=`${r.systemCode}.${t}`;return e.te(u)?e.t(u,n||[]):e.te(t)?e.t(t,n||[]):e.t(t,n||[])||t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const $t: (key: string, ...args: any[]) => any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=(e=>(e.PC="pc",e.IPAD="ipad",e.PHONE="phone",e))(i||{});exports.PageDimensions=i;
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 状态
|
|
3
|
-
*/
|
|
4
|
-
export declare enum EnableStates {
|
|
5
|
-
ENABLE = "ENABLE",
|
|
6
|
-
DISABLE = "DISABLE"
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* 屏幕尺寸
|
|
10
|
-
*/
|
|
11
|
-
export declare enum PageDimensions {
|
|
12
|
-
PC = "pc",
|
|
13
|
-
IPAD = "ipad",
|
|
14
|
-
PHONE = "phone"
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 组件配置的属性
|
|
18
|
-
*/
|
|
19
|
-
export interface ComponentProps {
|
|
20
|
-
align?: 'left' | 'center' | 'flex-end';
|
|
21
|
-
isAffix?: boolean;
|
|
22
|
-
isFixed?: boolean;
|
|
23
|
-
position?: 'default' | 'top' | 'bottom';
|
|
24
|
-
offset?: number;
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* 组件对象
|
|
29
|
-
*/
|
|
30
|
-
export interface Component extends Object {
|
|
31
|
-
uuid: string;
|
|
32
|
-
name: string;
|
|
33
|
-
label: string;
|
|
34
|
-
desc?: string;
|
|
35
|
-
icon?: string;
|
|
36
|
-
version?: number;
|
|
37
|
-
releaseDate?: string;
|
|
38
|
-
creator?: string;
|
|
39
|
-
auditor?: string;
|
|
40
|
-
snapshot?: string;
|
|
41
|
-
docHref?: string;
|
|
42
|
-
parent?: Component;
|
|
43
|
-
items?: Component[];
|
|
44
|
-
props?: ComponentProps;
|
|
45
|
-
style?: any;
|
|
46
|
-
events?: ComponentEvent[];
|
|
47
|
-
methods?: ComponentMethod[];
|
|
48
|
-
advance?: any;
|
|
49
|
-
[otherProp: string]: any;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* 页面对象
|
|
53
|
-
*/
|
|
54
|
-
export interface PageDesign extends Component {
|
|
55
|
-
systemCode: string;
|
|
56
|
-
systemVersion: number;
|
|
57
|
-
code: string;
|
|
58
|
-
version: number;
|
|
59
|
-
tableSysCode?: string;
|
|
60
|
-
tableSysVersion?: number;
|
|
61
|
-
tableName?: string;
|
|
62
|
-
tableAlias?: string;
|
|
63
|
-
workflowCode: string;
|
|
64
|
-
workflowVersion: number;
|
|
65
|
-
variables?: CustomVariable[];
|
|
66
|
-
logicDesigns?: object[];
|
|
67
|
-
modelFields?: ModelField[];
|
|
68
|
-
initChartServiceConfigs?: Array<any>;
|
|
69
|
-
rules?: object;
|
|
70
|
-
tableUuids?: Array<any>;
|
|
71
|
-
listCodesMap?: object;
|
|
72
|
-
formNoRuleCode?: string;
|
|
73
|
-
judgeHeavyList?: Array<any>;
|
|
74
|
-
conversionCodes?: Array<any>;
|
|
75
|
-
pageType?: string;
|
|
76
|
-
beanName?: string;
|
|
77
|
-
importBeanName?: string;
|
|
78
|
-
name: string;
|
|
79
|
-
notIdInitializationList?: Array<any>;
|
|
80
|
-
subTablePageInfo?: object;
|
|
81
|
-
customEvents?: Array<any>;
|
|
82
|
-
contextParam?: object;
|
|
83
|
-
systemtParam?: object;
|
|
84
|
-
subTableWatchProps?: object;
|
|
85
|
-
allChartUuids: Array<string>;
|
|
86
|
-
}
|
|
87
|
-
interface PageRuntimeStyle {
|
|
88
|
-
height?: number;
|
|
89
|
-
width?: number;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* SubTablePageInfoType : {
|
|
93
|
-
* subTableCode:{ pageSize:1,title:"xxxx",fields:["field1","field2",...] }
|
|
94
|
-
* }
|
|
95
|
-
*/
|
|
96
|
-
type SubTablePageInfoType = {
|
|
97
|
-
[subTableCode: string]: {
|
|
98
|
-
pageSize?: number;
|
|
99
|
-
title?: string;
|
|
100
|
-
fields?: string[];
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* 运行时页面对象
|
|
105
|
-
*/
|
|
106
|
-
export interface PageContext extends Component {
|
|
107
|
-
isTest?: boolean;
|
|
108
|
-
systemCode?: string;
|
|
109
|
-
systemVersion?: number;
|
|
110
|
-
backendUrl?: string;
|
|
111
|
-
code: string;
|
|
112
|
-
version: number;
|
|
113
|
-
dimensions: string;
|
|
114
|
-
tableSysCode?: string;
|
|
115
|
-
tableSysVersion?: number;
|
|
116
|
-
tableName?: string;
|
|
117
|
-
tableAlias?: string;
|
|
118
|
-
workflowCode?: string;
|
|
119
|
-
workflowVersion?: number;
|
|
120
|
-
rules?: any;
|
|
121
|
-
tableUuids?: Array<any>;
|
|
122
|
-
listCodesMap?: object;
|
|
123
|
-
formNoRuleCode?: string;
|
|
124
|
-
judgeHeavyList?: Array<any>;
|
|
125
|
-
conversionCodes?: Array<any>;
|
|
126
|
-
pageType?: string;
|
|
127
|
-
beanName?: string;
|
|
128
|
-
importBeanName?: string;
|
|
129
|
-
name: string;
|
|
130
|
-
notIdInitializationList?: Array<any>;
|
|
131
|
-
subTablePageInfo?: SubTablePageInfoType;
|
|
132
|
-
customValidatorUuids?: Array<string>;
|
|
133
|
-
entity: {
|
|
134
|
-
data: {
|
|
135
|
-
[otherProp: string]: any;
|
|
136
|
-
};
|
|
137
|
-
task: {
|
|
138
|
-
[otherProp: string]: any;
|
|
139
|
-
};
|
|
140
|
-
request: {
|
|
141
|
-
[otherProp: string]: any;
|
|
142
|
-
};
|
|
143
|
-
page: {
|
|
144
|
-
[otherProp: string]: any;
|
|
145
|
-
};
|
|
146
|
-
context: {
|
|
147
|
-
[otherProp: string]: any;
|
|
148
|
-
};
|
|
149
|
-
system: {
|
|
150
|
-
[otherProp: string]: any;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
superGridItems?: object;
|
|
154
|
-
emailTemplateCode?: string;
|
|
155
|
-
fieldPermissions?: Array<any>;
|
|
156
|
-
fieldPermissionMap?: Map<string, any>;
|
|
157
|
-
actionPermissions?: Array<any>;
|
|
158
|
-
actionPermissionMap?: Map<string, any>;
|
|
159
|
-
workflowButtonComponent?: object;
|
|
160
|
-
completeTaskParam?: object;
|
|
161
|
-
customRules?: Record<string, any>;
|
|
162
|
-
initFormNo?: string;
|
|
163
|
-
definitionId?: number;
|
|
164
|
-
dataTypeMaps?: Object;
|
|
165
|
-
editData?: object;
|
|
166
|
-
searchFormData?: Array<object>;
|
|
167
|
-
selectOptions?: object;
|
|
168
|
-
chartDataSourceMap?: any;
|
|
169
|
-
refercePropMap?: object;
|
|
170
|
-
subTableWatchProps?: object;
|
|
171
|
-
[otherProp: string]: any;
|
|
172
|
-
allChartUuids: Array<string>;
|
|
173
|
-
pageRuntimeStyle?: PageRuntimeStyle;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* 事件对象
|
|
177
|
-
*/
|
|
178
|
-
export interface ComponentEvent extends Object {
|
|
179
|
-
name: string;
|
|
180
|
-
label: string;
|
|
181
|
-
params?: ComponentEventParam[];
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* 事件对象
|
|
185
|
-
*/
|
|
186
|
-
export interface ComponentEventParam extends Object {
|
|
187
|
-
name: string;
|
|
188
|
-
label: string;
|
|
189
|
-
type: string;
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* 方法对象
|
|
193
|
-
*/
|
|
194
|
-
export interface ComponentMethod extends Object {
|
|
195
|
-
name: string;
|
|
196
|
-
label: string;
|
|
197
|
-
inParams: ComponentEventParam[];
|
|
198
|
-
outParams: ComponentEventParam[];
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* 方法参数描述
|
|
202
|
-
*/
|
|
203
|
-
export interface ComponentMethodParam extends Object {
|
|
204
|
-
name: string;
|
|
205
|
-
type: string;
|
|
206
|
-
}
|
|
207
|
-
/**
|
|
208
|
-
* 自定义变量对象
|
|
209
|
-
*/
|
|
210
|
-
export interface CustomVariable extends Object {
|
|
211
|
-
name: string;
|
|
212
|
-
alias: string;
|
|
213
|
-
defaultValue?: string;
|
|
214
|
-
isArrayElement?: boolean;
|
|
215
|
-
items?: CustomVariable[];
|
|
216
|
-
[otherProp: string]: any;
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* 自定义变量对象
|
|
220
|
-
*/
|
|
221
|
-
export interface ModelField extends Object {
|
|
222
|
-
name: string;
|
|
223
|
-
alias: string;
|
|
224
|
-
dataType: string;
|
|
225
|
-
displayOrder: number;
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* 前端逻辑对象
|
|
229
|
-
*/
|
|
230
|
-
export interface LogicDesign extends Object {
|
|
231
|
-
code: string;
|
|
232
|
-
name: string;
|
|
233
|
-
props?: any;
|
|
234
|
-
variables?: CustomVariable[];
|
|
235
|
-
flow: {
|
|
236
|
-
nodes?: LogicNode[];
|
|
237
|
-
};
|
|
238
|
-
triggerSource?: LogicTriggerSource[];
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* 前端逻辑节点对象
|
|
242
|
-
*/
|
|
243
|
-
export interface LogicNode extends Object {
|
|
244
|
-
id: string;
|
|
245
|
-
type: string;
|
|
246
|
-
x: number;
|
|
247
|
-
y: number;
|
|
248
|
-
properties?: any;
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* 前端逻辑节点触发来源
|
|
252
|
-
*/
|
|
253
|
-
export interface LogicTriggerSource extends Object {
|
|
254
|
-
assemblyIndex: number;
|
|
255
|
-
assemblyType: string;
|
|
256
|
-
triggerType: string;
|
|
257
|
-
triggerName: string;
|
|
258
|
-
}
|
|
259
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const agilebuilderUi=require("agilebuilder-ui"),dayjs=require("dayjs"),globalRefs=require("./global-refs.cjs"),vue=require("vue"),commonUtil=require("./common-util.cjs");function getComponentOptionConfigs(t,e,a,o){return getComponentOptionConfigsBase(t,e!=null&&e.systemCode?e.systemCode:a,e!=null&&e.systemVersion?e==null?void 0:e.systemVersion:o)}function getComponentOptionConfigsBase(t,e,a){if(!t.props||!t.props.dataOrigin||t.name&&t.name==="table")return;const o=t.props.dataOrigin,r={uuid:t.uuid};if(o.optionValueSetType=="optionGroup")r.type="optionGroup",r.props={code:o.optionGroup};else if(o.optionValueSetType=="dynamicData")r.type="dynamicData",r.filterType=o.filterType,r.props={code:o.dynamicDataSourceCode};else if(o.optionValueSetType=="dataTable"){r.filterType=o.filterType;const s=getTableQueryInfo(o,e,a);Object.assign(r,s)}else if(o.optionValueSetType=="service"){r.filterType=o.filterType;const s=getServiceQueryInfo(o,e,a);Object.assign(r,s)}return r.type?r:void 0}function getTableQueryInfo(t,e,a){const o={type:"dataTable"};if(o.valueLabelSwitch=!!t.valueLabelSwitch,o.importValidateSwitch=!!t.importValidateSwitch,o.props={tableName:t.tableName,systemCode:t.tableSysCode?t.tableSysCode:e,systemVersion:t.tableSysVersion?t.tableSysVersion:a},t.sortFields){const n=[];for(const i of t.sortFields)i.name&&n.push({prop:i.name,order:i.type?i.type:"asc"});o.props.sorts=n}const r=[];if(t.filterList){const n=[];for(const i of t.filterList){if(!i.propName)continue;i.propDbName||(i.propDbName=i.propName);const u={};Object.assign(u,i);const c=getParamNames(i.propValue);for(const l of c)l&&(l.startsWith("${data.")||l.startsWith("${task.")||l.startsWith("${page."))&&(r.includes(l)||r.push(l));i.propValue,n.push(u)}o.props.searchForm=n}o.props.monitorFields=r;const s=[];if(t.tableValueField&&(o.props.valueField=t.tableValueField),t.tableLableField&&s.indexOf(t.tableLableField)==-1&&(o.props.lableField=t.tableLableField),t.autoSets)for(const n of t.autoSets)n.source&&s.indexOf(n.source)==-1&&s.push(n.source);return o.props.queryFields=s,o.props.pageSize=t.displayQuantity,o}function getServiceQueryInfo(t,e,a){const o={type:"service"};if(o.valueLabelSwitch=!!t.valueLabelSwitch,o.importValidateSwitch=!!t.importValidateSwitch,o.props={serivceCode:t.serviceCode,systemCode:t.tableSysCode?t.tableSysCode:e,systemVersion:t.tableSysVersion?t.tableSysVersion:a},t.serviceInputs){const r=[];for(const s of t.serviceInputs){if(!s.name||s.value)continue;const n={};Object.assign(n,s),r.push(n)}o.props.inputs=r}return o.props.dataSetField=t.serviceDataSetField,o.props.valueField=t.serviceValueField,o.props.labelField=t.serviceLabelField,o}function updateChartDatasources(t,e,a,o){return new Promise((r,s)=>{if(!e||e.length==0)return void s(new Error("无需查询的统计图配置!"));const n=commonUtil.deepCopy(e);n.forEach(d=>{const m=d.services;if(m&&m.length>0){const h=m[0].serviceInputs;h&&(m[0].serviceInParams={},h.forEach(f=>{const b=f.name,y=f.value;m[0].serviceInParams[b]=getValueFromVariable(t.entity,y)}),delete m[0].serviceInputs)}});const i=t.entity?t.entity:{},u={};i.request&&Object.assign(u,i.request),i.page&&Object.assign(u,i.page),a&&Object.assign(u,a);const c={};i.task&&Object.assign(c,i.task);const l={entityMap:i.data,additionalParamMap:u,taskMap:c,dataSourceList:n,systemCode:t.systemCode,pageCode:t.code},p=t.backendUrl,g=commonUtil.getBaseUrl(p,t.isTest)+"/common/common-data/find-chart-datas";agilebuilderUi.http.post(g,l,{headers:{customSystem:t.systemCode}}).then(d=>{var m,h;t.chartDataSourceMap||(t.chartDataSourceMap={});for(const f in d){t.chartDataSourceMap[f]=d[f];const b=globalRefs.getComponentRef(t,f);if(b){const y=b.getConfigure();if((!o||y&&(y.initializationQuery===void 0||y.initializationQuery))&&b.updateChartDatas&&(b.updateChartDatas(d[f]),(h=(m=y.runtime)==null?void 0:m.dataConfig)==null?void 0:h.resultSet)){const S=d[f]&&d[f].length>0?d[f][0]:{},V=S&&S.result?S.result:{};let C=null;y.serviceDataField?C=V[y.serviceDataField]:V&&(C=Array.isArray(V)?V:[V]),C||(C=[]),setValueForVariableName(t.entity,y.runtime.dataConfig.resultSet,C)}}}r(d)}).catch(d=>{s(d)})})}function updateChartDatasourcesByComponent(t,e){const a=t.initChartServiceConfigs.find(o=>o.uuid===e);a&&updateChartDatasources(t,[a],null,!1)}function updateOptionDatasources(t,e,a){return new Promise((o,r)=>{if(!e||e.length==0)return void r(new Error("无需查询的配置!"));const s=t.entity?t.entity:{},n={};s.request&&Object.assign(n,s.request),s.page&&Object.assign(n,s.page),n.query=a;const i={entityMap:s.data,additionalParamMap:n,dataSourceList:e,systemCode:t.systemCode,query:a},u=t.backendUrl,c=commonUtil.getBaseUrl(u,t.isTest)+"/common/common-data/find-datas";agilebuilderUi.http.post(c,i).then(l=>{t.optionSourceMap||(t.optionSourceMap={});for(const p in l){t.optionSourceMap[p]=l[p];const g=globalRefs.getComponentRef(t,p);g&&g.updateOptions&&g.updateOptions(l[p])}o(l)}).catch(l=>{r(l)})})}function getOptionDatasFromPage(t,e){return getComponentOptionDatasFromPage(t,e.uuid)}function getComponentOptionDatasFromPage(t,e){return getOptionDatasSourceMap(t)[e]||[]}function getOptionDatasSourceMap(t){return!t||!t.optionSourceMap?{}:t.optionSourceMap||{}}function putToOptionSourceMap(t,e,a){t.optionSourceMap||(t.optionSourceMap={}),t.optionSourceMap[e]=a}function getChartDatasFromPage(t,e){return!t||!t.chartDataSourceMap||!e?null:t.chartDataSourceMap[e.uuid]}function queryOptionDatasources(t,e,a){return updateOptionDatasources(t,e?[e]:[],a)}function autoSetAfterSelect(t,e,a,o,r=[]){if(!a||a.length==0)return;const s=e.entity?e.entity:{};for(const n of a){if(!n.source||!n.target||r.includes(n.target))continue;const i=getValuesByField(o,n.source);let u=n.target;if(!u||!u.startsWith("${"))continue;u=u.substring(2,u.length-1);const c=u.split(".");setVariableValue(s,c,i==null?null:i.join(","))}}function getValuesByField(t,e){if(t){const a=[];for(const o of t){let r=o[e];r!=null&&r!=null||(r=""),a.push(r)}return a}return null}function getVariableValue(t,e){if(!t||!e||e.length==0)return;let a=t;for(let o=0;o<e.length;o++){if(a==null)return a;a=a[e[o]]}return a}function setValueForVariableName(t,e,a){!e||!e.startsWith("${")||setVariableValue(t,(e=e.substring(2,e.length-1)).split("."),a)}function setVariableValue(t,e,a){if(!t||!e||e.length==0)return;let o=t;for(let r=0;r<e.length;r++){const s=e[r];r+1===e.length?o[s]=a===void 0?null:a:(o[s]===void 0&&(o[s]={}),o=o[s])}}function setVariableValueWithProp(t,e,a){!t||!e||setVariableValue(t,e.split("."),a)}function formatVariableValue(t,e){if(!t||e==""||e==null||e==null)return e;const a=t.entity?t.entity:{},o=getParamNames(e);for(const r in o){const s=o[r],n=getValueFromVariable(a,s);if(n&&Object.prototype.toString.call(n)==="[object Date]")return dayjs(n).format("YYYY-MM-DD HH:mm:ss");if(n&&typeof n=="number")return n;e=e.replace(s,n??"")}return e}function getParamNames(t){return t?t.match(/\$\{[^\{|\}]+\}/g)||[]:[]}function formatValueByType(t,e,a){if(!e||t==""||t==null||t==null)return t;if(a=a||{},e=="number"||e=="percent"){if(isNaN(t))return t;let o=parseInt(a.decimalDigit);if((o==null||isNaN(o))&&(o=-1),t=parseFloat(t),e=="percent"&&(t*=100),o>-1&&(t=parseFloat(t.toFixed(o))),e=="percent")t+="%";else{if(a.thousandsSeparator){const r=t.toString().split(".");r[0]=r[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t=r.length>1?r.join("."):r[0]}a.symbol&&(t=a.symbol+""+t)}return t}if(e=="date"||e=="time"){let o="";return e=="date"?(o=a.dateFormat,o||(o="YYYY-MM-DD")):(o=a.timeFormat,o||(o="HH:mm:ss")),dayjs(t).format(o)}return e=="custom"&&a.formatEventUuid,t}function getValueFromVariable(t,e,a){if(e==null||e==null)return e;if(e.startsWith("${")&&e.endsWith("}")){let o=e.substring(2,e.length-1),r=null,s=null;if(o.startsWith("data."))o=o.substring(5),s=t.data,r="data";else if(o.startsWith("page."))o=o.substring(5),r="page",s=t.page;else if(o.startsWith("task."))o=o.substring(5),r="task",s=t.task;else if(o.startsWith("request."))o=o.substring(8),r="request",s=t.request;else if(o.startsWith("context."))o=o.substring(8),r="context",s=t.context;else if(o.startsWith("system."))o=o.substring(7),r="system",s=t.system;else{if(o.startsWith("fixed."))return o.substring(6);o.startsWith("row.")&&(o=o.substring(4),s=a,r="row")}return o?getValueFromSource(s,o,r):""}return e}function getValueFromSource(t,e,a){if(a!="context"&&!t||!e)return;const o=e.indexOf(".");if(o>-1){const r=e.substring(0,o),s=e.substring(o+1);let n=t[r];return n&&Array.isArray(n)&&n.length>0&&(n=n[0]),getValueFromSource(n,s,a)}if(a=="context"){if(e=="currentDate"||e=="currentTime")return new Date;if(e.startsWith("currentDate")&&e.length>11){const r=e.substring(11),s=r.substring(0,1);let n=parseInt(r.substring(1,r.length-1),10);const i=r.substring(r.length-1),u=new Date;return n=s==="+"?n:-n,i==="d"||i==="w"?(n=i==="w"?7*n:n,u.setDate(u.getDate()+n)):i==="m"?u.setMonth(u.getMonth()+n):i==="y"&&u.setFullYear(u.getFullYear()+n),u}if(!t)return}return t[e]}function caculateShowCondition(pageContext,showConditions,row){if(!showConditions||showConditions.length==0||!pageContext||!pageContext.entity)return!0;const entityData=pageContext.entity;let conditions="";const maxLen=showConditions.length;for(let t=0;t<maxLen;t++){const e=showConditions[t],a=e.propName;let o=e.operator;if(!a||a==="")continue;o||(o="EQ");const r=getValueFromVariable(entityData,a,row);let s=getValueFromVariable(entityData,e.propValue,row);const n=e.dataType;o!="CONTAIN"&&o!="NOT_CONTAIN"||r&&!r.includes&&(o=o=="CONTAIN"?"EQ":"NET");let i=e.variableIsNull,u;if(i||(i="null"),o!=="IS_NULL"&&o!=="IS_NOT_NULL"&&(s!==void 0&&s!==""||(s=null,i==="null"?o="IS_NULL":i==="notequal"?o="IS_NOT_NULL":u=!0)),u==null)try{u=agilebuilderUi.executeExpression(r,o,s,n)}catch{u=!1}const c=e.leftBracket,l=e.rightBracket;let p=e.joinSign;if(c&&c!==null&&c!==""&&(conditions+=c,conditions+=" "),conditions+=u+" ",l&&l!==null&&l!==""&&(conditions+=l,conditions+=" "),t<maxLen-1&&p&&p!==null&&p!==""){const g=p.toLowerCase();g==="and"?p=g.replace("and","&&"):g==="or"&&(p=g.replace("or","||")),conditions+=p+" "}}return!conditions||eval("("+conditions+")")}function monitorFieldChange(t,e,a){if(!a||!t||!e||e.length==0)return;const o=[],r=[];for(let i of e)if(i.startsWith("${")){i=i.substring(2,i.length-1);const u=i.split(".");u[0]!=="page"&&u[0]!=="task"&&u[0]!=="data"||(o.push(u),r.includes(u[0])||r.push(u[0]))}let s=getMonitorFieldValues(o,t.entity),n=!1;for(const i of r)vue.watch(t.entity[i],()=>{n&&clearTimeout(n),n=setTimeout(function(){const u=getMonitorFieldValues(o,t.entity);s!=u&&(s=u,a())},200)})}function getMonitorFieldValues(t,e){let a="";for(const o of t)a+="_"+getVariableValue(e,o);return a}function getFormPropName(t){return t&&t.indexOf("${")>=0?t.substring(t.indexOf(".")+1,t.lastIndexOf("}")):t}function getSizeConfig(t,e){const a=getPageModeType(t);let o;return e.props&&e.props.size&&e.props.size[a]&&(o=e.props.size[a]),!o&&e.props&&e.props.size&&(o=e.props.size.pc),o}function getPageModeType(t){let e=t.dimensions;return e||(e="pc"),e}function isPromise(t){return t&&Object.prototype.toString.call(t)==="[object Promise]"}function decomposeVariable(t){if(!t)return[];const e=t.match(/\${(.*?)}/);return e?e[1].split("."):[]}function getModelFieldFromPageContext(t,e){if(!e.modelFieldsMap)return;let a=null;for(let o=0;o<t.length;o++){const r=t[o];o+1===t.length&&(a=e.modelFieldsMap[r])}return a}function isNumberDataType(t){return t==="INTEGER"||t==="LONG"||t==="DOUBLE"||t==="FLOAT_COM"}function isDateDataType(t){return(t=t?t.toUpperCase():"")==="DATE"||t==="TIME"||t==="DATETIME"||t==="TIMESTAMP"}exports.autoSetAfterSelect=autoSetAfterSelect,exports.caculateShowCondition=caculateShowCondition,exports.decomposeVariable=decomposeVariable,exports.formatValueByType=formatValueByType,exports.formatVariableValue=formatVariableValue,exports.getChartDatasFromPage=getChartDatasFromPage,exports.getComponentOptionConfigs=getComponentOptionConfigs,exports.getComponentOptionConfigsBase=getComponentOptionConfigsBase,exports.getComponentOptionDatasFromPage=getComponentOptionDatasFromPage,exports.getFormPropName=getFormPropName,exports.getModelFieldFromPageContext=getModelFieldFromPageContext,exports.getOptionDatasFromPage=getOptionDatasFromPage,exports.getOptionDatasSourceMap=getOptionDatasSourceMap,exports.getParamNames=getParamNames,exports.getSizeConfig=getSizeConfig,exports.getValueFromSource=getValueFromSource,exports.getValueFromVariable=getValueFromVariable,exports.getVariableValue=getVariableValue,exports.isDateDataType=isDateDataType,exports.isNumberDataType=isNumberDataType,exports.isPromise=isPromise,exports.monitorFieldChange=monitorFieldChange,exports.putToOptionSourceMap=putToOptionSourceMap,exports.queryOptionDatasources=queryOptionDatasources,exports.setValueForVariableName=setValueForVariableName,exports.setVariableValue=setVariableValue,exports.setVariableValueWithProp=setVariableValueWithProp,exports.updateChartDatasources=updateChartDatasources,exports.updateChartDatasourcesByComponent=updateChartDatasourcesByComponent,exports.updateOptionDatasources=updateOptionDatasources;
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 获取选项组类需要查询的配置信息
|
|
5
|
-
* @param component
|
|
6
|
-
* @param pageContext
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare function getComponentOptionConfigs(component: Component, pageContext: PageContext, systemCode: any, systemVersion: any): any;
|
|
10
|
-
/**
|
|
11
|
-
* 获取选项组类需要查询的配置信息
|
|
12
|
-
* @param component
|
|
13
|
-
* @param pageContext
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function getComponentOptionConfigsBase(component: Component, systemCode: any, systemVersion: any): any;
|
|
17
|
-
/**
|
|
18
|
-
* 初始化需要查询数据的信息
|
|
19
|
-
* @param component
|
|
20
|
-
* @param pageDesign
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare function initComponentDataSources(component: Component, pageContext: PageContext): void;
|
|
24
|
-
/**
|
|
25
|
-
* 初始化统计图的数据源
|
|
26
|
-
* @param pageContext 页面上下文
|
|
27
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
28
|
-
*/
|
|
29
|
-
export declare function updateChartDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, appendParams: any, isInit?: boolean): Promise<any>;
|
|
30
|
-
/**
|
|
31
|
-
* 更新指定uuid图表的数据
|
|
32
|
-
* @param pageContext 页面上下文
|
|
33
|
-
* @param componentUuid 组件uuid
|
|
34
|
-
*/
|
|
35
|
-
export declare function updateChartDatasourcesByComponent(pageContext: PageContext, componentUuid: string): void;
|
|
36
|
-
/**
|
|
37
|
-
* 初始化数据源
|
|
38
|
-
* @param pageContext 页面上下文
|
|
39
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
40
|
-
*/
|
|
41
|
-
export declare function updateOptionDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, query: any): Promise<any>;
|
|
42
|
-
/**
|
|
43
|
-
* 从页面缓存中获取查询到的选项组数据
|
|
44
|
-
* @param pageContext
|
|
45
|
-
* @param configure
|
|
46
|
-
*/
|
|
47
|
-
export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
48
|
-
/**
|
|
49
|
-
* 从页面缓存中获取查询到的选项组数据
|
|
50
|
-
* @param pageContext
|
|
51
|
-
* @param configure
|
|
52
|
-
*/
|
|
53
|
-
export declare function getComponentOptionDatasFromPage(pageContext: PageContext, configureUuid: string): any;
|
|
54
|
-
/**
|
|
55
|
-
* 从页面缓存中获取查询到的选项组数据
|
|
56
|
-
* @param pageContext
|
|
57
|
-
* @param configure
|
|
58
|
-
*/
|
|
59
|
-
export declare function getOptionDatasSourceMap(pageContext: PageContext): any;
|
|
60
|
-
/**
|
|
61
|
-
* 将查询到的选项组数据缓存到页面上下文中
|
|
62
|
-
* @param pageContext
|
|
63
|
-
* @param configureUuid
|
|
64
|
-
* @param options
|
|
65
|
-
*/
|
|
66
|
-
export declare function putToOptionSourceMap(pageContext: PageContext, configureUuid: string, options: any): void;
|
|
67
|
-
/**
|
|
68
|
-
* 从页面缓存中获取查询到的统计图数据
|
|
69
|
-
* @param pageContext
|
|
70
|
-
* @param configure
|
|
71
|
-
*/
|
|
72
|
-
export declare function getChartDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
73
|
-
/**
|
|
74
|
-
* 初始化数据源
|
|
75
|
-
* @param pageContext 页面上下文
|
|
76
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
77
|
-
* @param query 查询条件
|
|
78
|
-
*/
|
|
79
|
-
export declare function queryOptionDatasources(pageContext: PageContext, dataSourceConf: any, query: any): Promise<any>;
|
|
80
|
-
/**
|
|
81
|
-
* 根据查询条件远程查询
|
|
82
|
-
* @param component
|
|
83
|
-
* @param query 模糊查询内容
|
|
84
|
-
*/
|
|
85
|
-
export declare function queryOptions(component: Component, pageContext: PageContext, query: string): Promise<any>;
|
|
86
|
-
/**
|
|
87
|
-
* 根据查询条件远程查询
|
|
88
|
-
* @param component
|
|
89
|
-
* @param query 模糊查询内容
|
|
90
|
-
* @param skipProps 自动赋值映射字段跳过字段,因为当前组件set方法内已经被赋值了,
|
|
91
|
-
* 如果是筛选,之前选择的值可能不在筛选后的结果内,这里再给当前组件变量赋值一遍就会导致之前选择的值被覆盖消失
|
|
92
|
-
*
|
|
93
|
-
*/
|
|
94
|
-
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[], skipProps?: string[]): void;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @param entity
|
|
98
|
-
* @param fields
|
|
99
|
-
* @returns
|
|
100
|
-
*/
|
|
101
|
-
export declare function getVariableValue(entity: any, fields: string[]): any;
|
|
102
|
-
/**
|
|
103
|
-
* 设置参数值
|
|
104
|
-
* @param entity
|
|
105
|
-
* @param fields
|
|
106
|
-
* @param newValue 新的值
|
|
107
|
-
*/
|
|
108
|
-
export declare function setValueForVariableName(entity: any, variableName: string, newValue: any): void;
|
|
109
|
-
/**
|
|
110
|
-
* 设置参数值
|
|
111
|
-
* @param entity
|
|
112
|
-
* @param fields
|
|
113
|
-
* @param newValue 新的值
|
|
114
|
-
*/
|
|
115
|
-
export declare function setVariableValue(entity: any, fields: string[], newValue: any): void;
|
|
116
|
-
/**
|
|
117
|
-
* 设置参数值
|
|
118
|
-
* @param entity
|
|
119
|
-
* @param fields
|
|
120
|
-
* @param newValue 新的值
|
|
121
|
-
*/
|
|
122
|
-
export declare function setVariableValueWithProp(entity: any, prop: string, newValue: any): void;
|
|
123
|
-
/**
|
|
124
|
-
* 格式化变量值
|
|
125
|
-
* @param pageContext
|
|
126
|
-
* @param variable
|
|
127
|
-
*/
|
|
128
|
-
export declare function formatVariableValue(pageContext: PageContext, variable: string): any;
|
|
129
|
-
/**
|
|
130
|
-
* 获取参数名
|
|
131
|
-
* @param variable
|
|
132
|
-
* @returns
|
|
133
|
-
*/
|
|
134
|
-
export declare function getParamNames(variable: string): any[] | RegExpMatchArray;
|
|
135
|
-
/**
|
|
136
|
-
* 根据类型格式化对象
|
|
137
|
-
* @param value
|
|
138
|
-
* @param formatInfo
|
|
139
|
-
* @returns
|
|
140
|
-
*/
|
|
141
|
-
export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
|
|
142
|
-
/**
|
|
143
|
-
* 根据变量获取值
|
|
144
|
-
* @param entity
|
|
145
|
-
* @param variable
|
|
146
|
-
*/
|
|
147
|
-
export declare function getValueFromVariable(entity: any, variable: string, row?: any): any;
|
|
148
|
-
/**
|
|
149
|
-
* 从对象中获取值
|
|
150
|
-
* @param valueSource 源对象
|
|
151
|
-
* @param paramName 变量值
|
|
152
|
-
* @param paramType 类型
|
|
153
|
-
*/
|
|
154
|
-
export declare function getValueFromSource(valueSource: any, paramName: string, paramType: any): any;
|
|
155
|
-
/**
|
|
156
|
-
* 打开链接
|
|
157
|
-
* @param component
|
|
158
|
-
* @param pageContext
|
|
159
|
-
*/
|
|
160
|
-
export declare function openLink(component: Component, pageContext: PageContext): void;
|
|
161
|
-
/**
|
|
162
|
-
* 计算组件是否显示
|
|
163
|
-
* @param pageContext 页面对象
|
|
164
|
-
* @param configure 组件配置参数
|
|
165
|
-
* @param showConditions 显示条件
|
|
166
|
-
*/
|
|
167
|
-
export declare function caculateShowCondition(pageContext: PageContext, showConditions: Array<any>, row?: any): any;
|
|
168
|
-
/**
|
|
169
|
-
* 监控变化的字段
|
|
170
|
-
* @param pageContext
|
|
171
|
-
* @param targetFields
|
|
172
|
-
* @param triggerFunc
|
|
173
|
-
*/
|
|
174
|
-
export declare function monitorFieldChange(pageContext: PageContext, monitorFields: Array<string>, triggerFunc: Function): void;
|
|
175
|
-
export declare function getFormPropName(prop: any): any;
|
|
176
|
-
export declare function getSizeConfig(pageContext: PageContext, configure: Component): any;
|
|
177
|
-
export declare function isPromise(p: any): boolean;
|
|
178
|
-
export declare function decomposeVariable(variable: string): string[];
|
|
179
|
-
export declare function getModelFieldFromPageContext(fields: string[], pageContext: PageContext): any;
|
|
180
|
-
export declare function isNumberDataType(dataType: string): boolean;
|
|
181
|
-
export declare function isDateDataType(dataType: string): boolean;
|