super-page-runtime 2.3.21 → 2.3.22-tmp2
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/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/{anchor-util.js → anchor-util.mjs} +5 -5
- package/dist/es/components/runtime/utils/api/api-util.mjs +4 -0
- package/dist/es/components/runtime/utils/api/{page-expose-util.js → page-expose-util.mjs} +26 -27
- package/dist/es/components/runtime/utils/assemblys-config.mjs +20 -0
- package/dist/es/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.mjs} +4 -4
- package/dist/es/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.mjs} +9 -9
- package/dist/es/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.mjs} +11 -11
- package/dist/es/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.mjs} +4 -4
- package/dist/es/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.mjs} +12 -12
- package/dist/es/components/runtime/utils/charts/{chart-util.js → chart-util.mjs} +13 -13
- package/dist/es/components/runtime/utils/{common-util.js → common-util.mjs} +13 -14
- package/dist/es/components/runtime/utils/events/{event-util.js → event-util.mjs} +94 -95
- package/dist/es/components/runtime/utils/events/{print-label.js → print-label.mjs} +2 -2
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1166 -0
- package/dist/es/components/runtime/utils/events/{validator-util.js → validator-util.mjs} +35 -37
- package/dist/es/components/runtime/utils/form/scan-util.mjs +93 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +386 -0
- package/dist/es/components/runtime/utils/{page-init-util.js → page-init-util.mjs} +102 -104
- package/dist/es/components/runtime/utils/{page-store.js → page-store.mjs} +7 -7
- package/dist/es/components/runtime/utils/{store-util.js → store-util.mjs} +1 -1
- package/dist/es/components/runtime/utils/{table-utils.js → table-utils.mjs} +16 -16
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime.vue2.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue.js → buttongroup-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime.vue2.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue.js → gauge-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue.js → pie-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue.js → radar-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue.js → scatter-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue.js → group-column-item.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue.js → group-column.vue.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue.js → normal-column.vue.mjs} +13 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue.js → export-form-report-dialog.vue.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue.js → file-task-notice.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue.js → remove-signer-dialog.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue.js → remove-transactor-dialog.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue.js → save-chart-condition-dialog.vue.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue.js → card-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → FixedBox.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue.js → YxAffix.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue.js → tabs-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue.js → tools-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime.vue2.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime.vue2.mjs} +19 -19
- package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue.js → sub-table-runtime.vue.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +31 -31
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.mjs} +31 -31
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime.vue2.mjs} +14 -14
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime.vue2.js → datepicker-runtime.vue2.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime.vue2.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime.vue2.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime.vue2.mjs} +20 -22
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime.vue2.js → inputtext-runtime.vue2.mjs} +33 -34
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue.js → label-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue.js → placeholder-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime.vue2.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/{richtext-runtime.vue2.js → richtext-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime.vue2.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime.vue2.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime.vue2.mjs} +15 -15
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.mjs} +11 -11
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/{object-render.vue.js → object-render.vue.mjs} +15 -15
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue.js → workflow-opinion-box.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue2.js → workflow-opinion-box.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue.js → extract-workflow-runtime-dialog.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue2.js → extract-workflow-runtime-dialog.vue2.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue.js → extract-workflow-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue2.js → extract-workflow-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue.js → workflowbutton-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime.vue2.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +18 -0
- package/dist/es/components/runtime/views/{home-chart.vue.js → home-chart.vue.mjs} +8 -8
- package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/{super-page-dialog.vue.js → super-page-dialog.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/{super-page.vue2.js → super-page.vue2.mjs} +90 -94
- package/dist/es/{index.js → index.mjs} +12 -12
- package/dist/es/style.css +136 -136
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +6 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +2 -0
- package/dist/lib/assets/folder.png.cjs +2 -0
- package/dist/lib/components/runtime/index.d.ts +5 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +13 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +62 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +3 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +169 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +16 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +10 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +137 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +34 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +78 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +52 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +43 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +244 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +91 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +3 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +345 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +97 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1101 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +296 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +34 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/{es/components/runtime/utils/form/scan-util.js → lib/components/runtime/utils/form/scan-util.cjs} +6 -9
- package/dist/lib/components/runtime/utils/global-refs.cjs +42 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +11 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +4 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +354 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +244 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +50 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +11 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +3 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +68 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +41 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +11 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +11 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +53 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +48 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +34 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +402 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +13 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +249 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +16 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +32 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +32 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +19 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +12 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +21 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +13 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +30 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +15 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +21 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +15 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +27 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +15 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +12 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +88 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +43 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +59 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +382 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +322 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +81 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +124 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +57 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +35 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +57 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +91 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +47 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +65 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +70 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +31 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +26 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +13 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +75 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +188 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +130 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +11 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +29 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +38 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +73 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +132 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +23 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +23 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +34 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +14 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +38 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +23 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +3 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
- package/dist/lib/components/runtime/views/super-page.vue2.cjs +264 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +2 -0
- package/dist/lib/i18n/langs/en.cjs +2 -0
- package/dist/lib/index.cjs +6 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +996 -0
- package/dist/umd/favicon.ico +0 -0
- package/dist/umd/index.full.min.js +7429 -0
- package/dist/umd/style.css +996 -0
- package/package.json +5 -4
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/api/api-util.js +0 -4
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1169
- package/dist/es/components/runtime/utils/i18n-util.js +0 -14
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -14
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -18
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es.zip +0 -0
- /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
- /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
- /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{barcode-util.js → barcode-util.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{eventBus.js → eventBus.mjs} +0 -0
- /package/dist/es/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{global-refs.js → global-refs.mjs} +0 -0
- /package/dist/es/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.mjs} +0 -0
- /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
- /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
|
@@ -0,0 +1,247 @@
|
|
|
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
|
+
* 运行时页面对象
|
|
93
|
+
*/
|
|
94
|
+
export interface PageContext extends Component {
|
|
95
|
+
isTest?: boolean;
|
|
96
|
+
systemCode?: string;
|
|
97
|
+
systemVersion?: number;
|
|
98
|
+
backendUrl?: string;
|
|
99
|
+
code: string;
|
|
100
|
+
version: number;
|
|
101
|
+
dimensions: string;
|
|
102
|
+
tableSysCode?: string;
|
|
103
|
+
tableSysVersion?: number;
|
|
104
|
+
tableName?: string;
|
|
105
|
+
tableAlias?: string;
|
|
106
|
+
workflowCode?: string;
|
|
107
|
+
workflowVersion?: number;
|
|
108
|
+
rules?: any;
|
|
109
|
+
tableUuids?: Array<any>;
|
|
110
|
+
listCodesMap?: object;
|
|
111
|
+
formNoRuleCode?: string;
|
|
112
|
+
judgeHeavyList?: Array<any>;
|
|
113
|
+
conversionCodes?: Array<any>;
|
|
114
|
+
pageType?: string;
|
|
115
|
+
beanName?: string;
|
|
116
|
+
importBeanName?: string;
|
|
117
|
+
name: string;
|
|
118
|
+
notIdInitializationList?: Array<any>;
|
|
119
|
+
subTablePageInfo?: object;
|
|
120
|
+
customValidatorUuids?: Array<string>;
|
|
121
|
+
entity: {
|
|
122
|
+
data: {
|
|
123
|
+
[otherProp: string]: any;
|
|
124
|
+
};
|
|
125
|
+
task: {
|
|
126
|
+
[otherProp: string]: any;
|
|
127
|
+
};
|
|
128
|
+
request: {
|
|
129
|
+
[otherProp: string]: any;
|
|
130
|
+
};
|
|
131
|
+
page: {
|
|
132
|
+
[otherProp: string]: any;
|
|
133
|
+
};
|
|
134
|
+
context: {
|
|
135
|
+
[otherProp: string]: any;
|
|
136
|
+
};
|
|
137
|
+
system: {
|
|
138
|
+
[otherProp: string]: any;
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
superGridItems?: object;
|
|
142
|
+
emailTemplateCode?: string;
|
|
143
|
+
fieldPermissions?: Array<any>;
|
|
144
|
+
fieldPermissionMap?: Map<string, any>;
|
|
145
|
+
actionPermissions?: Array<any>;
|
|
146
|
+
actionPermissionMap?: Map<string, any>;
|
|
147
|
+
workflowButtonComponent?: object;
|
|
148
|
+
completeTaskParam?: object;
|
|
149
|
+
customRules?: Record<string, any>;
|
|
150
|
+
initFormNo?: string;
|
|
151
|
+
definitionId?: number;
|
|
152
|
+
dataTypeMaps?: Object;
|
|
153
|
+
editData?: object;
|
|
154
|
+
searchFormData?: Array<object>;
|
|
155
|
+
selectOptions?: object;
|
|
156
|
+
chartDataSourceMap?: any;
|
|
157
|
+
refercePropMap?: object;
|
|
158
|
+
subTableWatchProps?: object;
|
|
159
|
+
[otherProp: string]: any;
|
|
160
|
+
allChartUuids: Array<string>;
|
|
161
|
+
pageRuntimeStyle?: PageRuntimeStyle;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* 事件对象
|
|
165
|
+
*/
|
|
166
|
+
export interface ComponentEvent extends Object {
|
|
167
|
+
name: string;
|
|
168
|
+
label: string;
|
|
169
|
+
params?: ComponentEventParam[];
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* 事件对象
|
|
173
|
+
*/
|
|
174
|
+
export interface ComponentEventParam extends Object {
|
|
175
|
+
name: string;
|
|
176
|
+
label: string;
|
|
177
|
+
type: string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* 方法对象
|
|
181
|
+
*/
|
|
182
|
+
export interface ComponentMethod extends Object {
|
|
183
|
+
name: string;
|
|
184
|
+
label: string;
|
|
185
|
+
inParams: ComponentEventParam[];
|
|
186
|
+
outParams: ComponentEventParam[];
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* 方法参数描述
|
|
190
|
+
*/
|
|
191
|
+
export interface ComponentMethodParam extends Object {
|
|
192
|
+
name: string;
|
|
193
|
+
type: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* 自定义变量对象
|
|
197
|
+
*/
|
|
198
|
+
export interface CustomVariable extends Object {
|
|
199
|
+
name: string;
|
|
200
|
+
alias: string;
|
|
201
|
+
defaultValue?: string;
|
|
202
|
+
isArrayElement?: boolean;
|
|
203
|
+
items?: CustomVariable[];
|
|
204
|
+
[otherProp: string]: any;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* 自定义变量对象
|
|
208
|
+
*/
|
|
209
|
+
export interface ModelField extends Object {
|
|
210
|
+
name: string;
|
|
211
|
+
alias: string;
|
|
212
|
+
dataType: string;
|
|
213
|
+
displayOrder: number;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* 前端逻辑对象
|
|
217
|
+
*/
|
|
218
|
+
export interface LogicDesign extends Object {
|
|
219
|
+
code: string;
|
|
220
|
+
name: string;
|
|
221
|
+
props?: any;
|
|
222
|
+
variables?: CustomVariable[];
|
|
223
|
+
flow: {
|
|
224
|
+
nodes?: LogicNode[];
|
|
225
|
+
};
|
|
226
|
+
triggerSource?: LogicTriggerSource[];
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* 前端逻辑节点对象
|
|
230
|
+
*/
|
|
231
|
+
export interface LogicNode extends Object {
|
|
232
|
+
id: string;
|
|
233
|
+
type: string;
|
|
234
|
+
x: number;
|
|
235
|
+
y: number;
|
|
236
|
+
properties?: any;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* 前端逻辑节点触发来源
|
|
240
|
+
*/
|
|
241
|
+
export interface LogicTriggerSource extends Object {
|
|
242
|
+
assemblyIndex: number;
|
|
243
|
+
assemblyType: string;
|
|
244
|
+
triggerType: string;
|
|
245
|
+
triggerName: string;
|
|
246
|
+
}
|
|
247
|
+
export {};
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const agilebuilderUi = require("agilebuilder-ui"), dayjs = require("dayjs"), globalRefs = require("./global-refs.cjs"), vue = require("vue"), commonUtil = require("./common-util.cjs");
|
|
4
|
+
function getComponentOptionConfigs(e, t, o, a) {
|
|
5
|
+
return getComponentOptionConfigsBase(e, (t == null ? void 0 : t.systemCode) ? t.systemCode : o, (t == null ? void 0 : t.systemVersion) ? t == null ? void 0 : t.systemVersion : a);
|
|
6
|
+
}
|
|
7
|
+
function getComponentOptionConfigsBase(e, t, o) {
|
|
8
|
+
if (!e.props || !e.props.dataOrigin) return;
|
|
9
|
+
if (e.name && "table" === e.name) return;
|
|
10
|
+
const a = e.props.dataOrigin, r = { uuid: e.uuid };
|
|
11
|
+
if ("optionGroup" == a.optionValueSetType) r.type = "optionGroup", r.props = { code: a.optionGroup };
|
|
12
|
+
else if ("dynamicData" == a.optionValueSetType) r.type = "dynamicData", r.filterType = a.filterType, r.props = { code: a.dynamicDataSourceCode };
|
|
13
|
+
else if ("dataTable" == a.optionValueSetType) {
|
|
14
|
+
r.filterType = a.filterType;
|
|
15
|
+
const e2 = getTableQueryInfo(a, t, o);
|
|
16
|
+
Object.assign(r, e2);
|
|
17
|
+
} else if ("service" == a.optionValueSetType) {
|
|
18
|
+
r.filterType = a.filterType;
|
|
19
|
+
const e2 = getServiceQueryInfo(a, t, o);
|
|
20
|
+
Object.assign(r, e2);
|
|
21
|
+
}
|
|
22
|
+
return r.type ? r : void 0;
|
|
23
|
+
}
|
|
24
|
+
function getTableQueryInfo(e, t, o) {
|
|
25
|
+
const a = { type: "dataTable" };
|
|
26
|
+
if (a.valueLabelSwitch = !!e.valueLabelSwitch, a.props = { tableName: e.tableName, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : o }, e.sortFields) {
|
|
27
|
+
const t2 = [];
|
|
28
|
+
for (const o2 of e.sortFields) o2.name && t2.push({ prop: o2.name, order: o2.type ? o2.type : "asc" });
|
|
29
|
+
a.props.sorts = t2;
|
|
30
|
+
}
|
|
31
|
+
const r = [];
|
|
32
|
+
if (e.filterList) {
|
|
33
|
+
const t2 = [];
|
|
34
|
+
for (const o2 of e.filterList) {
|
|
35
|
+
if (!o2.propName) continue;
|
|
36
|
+
o2.propDbName || (o2.propDbName = o2.propName);
|
|
37
|
+
const e2 = {};
|
|
38
|
+
Object.assign(e2, o2);
|
|
39
|
+
const a2 = getParamNames(o2.propValue);
|
|
40
|
+
for (const e3 of a2) e3 && (e3.startsWith("${data.") || e3.startsWith("${task.") || e3.startsWith("${page.")) && (r.includes(e3) || r.push(e3));
|
|
41
|
+
o2.propValue, t2.push(e2);
|
|
42
|
+
}
|
|
43
|
+
a.props.searchForm = t2;
|
|
44
|
+
}
|
|
45
|
+
a.props.monitorFields = r;
|
|
46
|
+
const n = [];
|
|
47
|
+
if (e.tableValueField && (a.props.valueField = e.tableValueField), e.tableLableField && -1 == n.indexOf(e.tableLableField) && (a.props.lableField = e.tableLableField), e.autoSets) for (const t2 of e.autoSets) t2.source && -1 == n.indexOf(t2.source) && n.push(t2.source);
|
|
48
|
+
return a.props.queryFields = n, a.props.pageSize = e.displayQuantity, a;
|
|
49
|
+
}
|
|
50
|
+
function getServiceQueryInfo(e, t, o) {
|
|
51
|
+
const a = { type: "service" };
|
|
52
|
+
if (a.valueLabelSwitch = !!e.valueLabelSwitch, a.props = { serivceCode: e.serviceCode, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : o }, e.serviceInputs) {
|
|
53
|
+
const t2 = [];
|
|
54
|
+
for (const o2 of e.serviceInputs) {
|
|
55
|
+
if (!o2.name || o2.value) continue;
|
|
56
|
+
const e2 = {};
|
|
57
|
+
Object.assign(e2, o2), t2.push(e2);
|
|
58
|
+
}
|
|
59
|
+
a.props.inputs = t2;
|
|
60
|
+
}
|
|
61
|
+
return a.props.dataSetField = e.serviceDataSetField, a.props.valueField = e.serviceValueField, a.props.labelField = e.serviceLabelField, a;
|
|
62
|
+
}
|
|
63
|
+
function updateChartDatasources(e, t, o, a) {
|
|
64
|
+
return new Promise((r, n) => {
|
|
65
|
+
if (!t || 0 == t.length) return void n(new Error("无需查询的统计图配置!"));
|
|
66
|
+
const s = commonUtil.deepCopy(t);
|
|
67
|
+
s.forEach((t2) => {
|
|
68
|
+
const o2 = t2.services;
|
|
69
|
+
if (o2 && o2.length > 0) {
|
|
70
|
+
const t3 = o2[0].serviceInputs;
|
|
71
|
+
t3 && (o2[0].serviceInParams = {}, t3.forEach((t4) => {
|
|
72
|
+
const a2 = t4.name, r2 = t4.value;
|
|
73
|
+
o2[0].serviceInParams[a2] = getValueFromVariable(e.entity, r2);
|
|
74
|
+
}), delete o2[0].serviceInputs);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
const i = e.entity ? e.entity : {}, u = {};
|
|
78
|
+
i.request && Object.assign(u, i.request), i.page && Object.assign(u, i.page), o && Object.assign(u, o);
|
|
79
|
+
const l = {};
|
|
80
|
+
i.task && Object.assign(l, i.task);
|
|
81
|
+
const p = { entityMap: i.data, additionalParamMap: u, taskMap: l, dataSourceList: s, systemCode: e.systemCode, pageCode: e.code }, c = e.backendUrl, g = commonUtil.getBaseUrl(c, e.isTest) + "/common/common-data/find-chart-datas";
|
|
82
|
+
agilebuilderUi.http.post(g, p, { headers: { customSystem: e.systemCode } }).then((t2) => {
|
|
83
|
+
var _a, _b;
|
|
84
|
+
e.chartDataSourceMap || (e.chartDataSourceMap = {});
|
|
85
|
+
for (const o2 in t2) {
|
|
86
|
+
e.chartDataSourceMap[o2] = t2[o2];
|
|
87
|
+
const r2 = globalRefs.getComponentRef(e, o2);
|
|
88
|
+
if (r2) {
|
|
89
|
+
const n2 = r2.getConfigure();
|
|
90
|
+
if ((!a || n2 && (void 0 === n2.initializationQuery || n2.initializationQuery)) && r2.updateChartDatas && (r2.updateChartDatas(t2[o2]), (_b = (_a = n2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
|
|
91
|
+
const a2 = t2[o2] && t2[o2].length > 0 ? t2[o2][0] : {}, r3 = a2 && a2.result ? a2.result : {};
|
|
92
|
+
let s2 = null;
|
|
93
|
+
n2.serviceDataField ? s2 = r3[n2.serviceDataField] : r3 && (s2 = Array.isArray(r3) ? r3 : [r3]), s2 || (s2 = []), setValueForVariableName(e.entity, n2.runtime.dataConfig.resultSet, s2);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
r(t2);
|
|
98
|
+
}).catch((e2) => {
|
|
99
|
+
n(e2);
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function updateChartDatasourcesByComponent(e, t) {
|
|
104
|
+
const o = e.initChartServiceConfigs.find((e2) => e2.uuid === t);
|
|
105
|
+
o && updateChartDatasources(e, [o], null, false);
|
|
106
|
+
}
|
|
107
|
+
function updateOptionDatasources(e, t, o) {
|
|
108
|
+
return new Promise((a, r) => {
|
|
109
|
+
if (!t || 0 == t.length) return void r(new Error("无需查询的配置!"));
|
|
110
|
+
const n = e.entity ? e.entity : {}, s = {};
|
|
111
|
+
n.request && Object.assign(s, n.request), n.page && Object.assign(s, n.page), s.query = o;
|
|
112
|
+
const i = { entityMap: n.data, additionalParamMap: s, dataSourceList: t, systemCode: e.systemCode, query: o }, u = e.backendUrl, l = commonUtil.getBaseUrl(u, e.isTest) + "/common/common-data/find-datas";
|
|
113
|
+
agilebuilderUi.http.post(l, i).then((t2) => {
|
|
114
|
+
e.optionSourceMap || (e.optionSourceMap = {});
|
|
115
|
+
for (const o2 in t2) {
|
|
116
|
+
e.optionSourceMap[o2] = t2[o2];
|
|
117
|
+
const a2 = globalRefs.getComponentRef(e, o2);
|
|
118
|
+
a2 && a2.updateOptions && a2.updateOptions(t2[o2]);
|
|
119
|
+
}
|
|
120
|
+
a(t2);
|
|
121
|
+
}).catch((e2) => {
|
|
122
|
+
r(e2);
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
function getOptionDatasFromPage(e, t) {
|
|
127
|
+
return getComponentOptionDatasFromPage(e, t.uuid);
|
|
128
|
+
}
|
|
129
|
+
function getComponentOptionDatasFromPage(e, t) {
|
|
130
|
+
const o = getOptionDatasSourceMap(e)[t];
|
|
131
|
+
return o || [];
|
|
132
|
+
}
|
|
133
|
+
function getOptionDatasSourceMap(e) {
|
|
134
|
+
if (!e || !e.optionSourceMap) return {};
|
|
135
|
+
const t = e.optionSourceMap;
|
|
136
|
+
return t || {};
|
|
137
|
+
}
|
|
138
|
+
function getChartDatasFromPage(e, t) {
|
|
139
|
+
if (!e || !e.chartDataSourceMap || !t) return null;
|
|
140
|
+
return e.chartDataSourceMap[t.uuid];
|
|
141
|
+
}
|
|
142
|
+
function queryOptionDatasources(e, t, o) {
|
|
143
|
+
return updateOptionDatasources(e, t ? [t] : [], o);
|
|
144
|
+
}
|
|
145
|
+
function autoSetAfterSelect(e, t, o, a, r = []) {
|
|
146
|
+
if (!o || 0 == o.length) return;
|
|
147
|
+
const n = t.entity ? t.entity : {};
|
|
148
|
+
for (const e2 of o) {
|
|
149
|
+
if (!e2.source || !e2.target || r.includes(e2.target)) continue;
|
|
150
|
+
const t2 = getValuesByField(a, e2.source);
|
|
151
|
+
let o2 = e2.target;
|
|
152
|
+
if (!o2 || !o2.startsWith("${")) continue;
|
|
153
|
+
o2 = o2.substring(2, o2.length - 1);
|
|
154
|
+
const s = o2.split(".");
|
|
155
|
+
setVariableValue(n, s, null == t2 ? null : t2.join(","));
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
function getValuesByField(e, t) {
|
|
159
|
+
if (e) {
|
|
160
|
+
const o = [];
|
|
161
|
+
for (const a of e) {
|
|
162
|
+
let e2 = a[t];
|
|
163
|
+
null != e2 && null != e2 || (e2 = ""), o.push(e2);
|
|
164
|
+
}
|
|
165
|
+
return o;
|
|
166
|
+
}
|
|
167
|
+
return null;
|
|
168
|
+
}
|
|
169
|
+
function getVariableValue(e, t) {
|
|
170
|
+
if (!e || !t || 0 == t.length) return;
|
|
171
|
+
let o = e;
|
|
172
|
+
for (let e2 = 0; e2 < t.length; e2++) {
|
|
173
|
+
if (null == o) return o;
|
|
174
|
+
o = o[t[e2]];
|
|
175
|
+
}
|
|
176
|
+
return o;
|
|
177
|
+
}
|
|
178
|
+
function setValueForVariableName(e, t, o) {
|
|
179
|
+
if (!t || !t.startsWith("${")) return;
|
|
180
|
+
setVariableValue(e, (t = t.substring(2, t.length - 1)).split("."), o);
|
|
181
|
+
}
|
|
182
|
+
function setVariableValue(e, t, o) {
|
|
183
|
+
if (!e || !t || 0 == t.length) return;
|
|
184
|
+
let a = e;
|
|
185
|
+
for (let e2 = 0; e2 < t.length; e2++) {
|
|
186
|
+
const r = t[e2];
|
|
187
|
+
e2 + 1 === t.length ? a[r] = void 0 === o ? null : o : (void 0 === a[r] && (a[r] = {}), a = a[r]);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function setVariableValueWithProp(e, t, o) {
|
|
191
|
+
if (!e || !t) return;
|
|
192
|
+
setVariableValue(e, t.split("."), o);
|
|
193
|
+
}
|
|
194
|
+
function formatVariableValue(e, t) {
|
|
195
|
+
if (!e || "" == t || null == t || null == t) return t;
|
|
196
|
+
const o = e.entity ? e.entity : {}, a = getParamNames(t);
|
|
197
|
+
for (const e2 in a) {
|
|
198
|
+
const r = a[e2], n = getValueFromVariable(o, r);
|
|
199
|
+
if (n && "[object Date]" === Object.prototype.toString.call(n)) return dayjs(n).format("YYYY-MM-DD HH:mm:ss");
|
|
200
|
+
if (n && "number" == typeof n) return n;
|
|
201
|
+
t = t.replace(r, null == n ? "" : n);
|
|
202
|
+
}
|
|
203
|
+
return t;
|
|
204
|
+
}
|
|
205
|
+
function getParamNames(e) {
|
|
206
|
+
if (!e) return [];
|
|
207
|
+
const t = e.match(/\$\{[^\{|\}]+\}/g);
|
|
208
|
+
return t || [];
|
|
209
|
+
}
|
|
210
|
+
function formatValueByType(e, t, o) {
|
|
211
|
+
if (!t || "" == e || null == e || null == e) return e;
|
|
212
|
+
if (o = o || {}, "number" == t || "percent" == t) {
|
|
213
|
+
if (isNaN(e)) return e;
|
|
214
|
+
let a = parseInt(o.decimalDigit);
|
|
215
|
+
if ((null == a || isNaN(a)) && (a = -1), e = parseFloat(e), "percent" == t && (e *= 100), a > -1 && (e = parseFloat(e.toFixed(a))), "percent" == t) e += "%";
|
|
216
|
+
else {
|
|
217
|
+
if (o.thousandsSeparator) {
|
|
218
|
+
const t2 = e.toString().split(".");
|
|
219
|
+
t2[0] = t2[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), e = t2.length > 1 ? t2.join(".") : t2[0];
|
|
220
|
+
}
|
|
221
|
+
o.symbol && (e = o.symbol + "" + e);
|
|
222
|
+
}
|
|
223
|
+
return e;
|
|
224
|
+
}
|
|
225
|
+
if ("date" == t || "time" == t) {
|
|
226
|
+
let a = "";
|
|
227
|
+
return "date" == t ? (a = o.dateFormat, a || (a = "YYYY-MM-DD")) : (a = o.timeFormat, a || (a = "HH:mm:ss")), dayjs(e).format(a);
|
|
228
|
+
}
|
|
229
|
+
return "custom" == t && o.formatEventUuid, e;
|
|
230
|
+
}
|
|
231
|
+
function getValueFromVariable(e, t, o) {
|
|
232
|
+
if (null == t || null == t) return t;
|
|
233
|
+
if (t.startsWith("${") && t.endsWith("}")) {
|
|
234
|
+
let a = t.substring(2, t.length - 1), r = null, n = null;
|
|
235
|
+
if (a.startsWith("data.")) a = a.substring(5), n = e.data, r = "data";
|
|
236
|
+
else if (a.startsWith("page.")) a = a.substring(5), r = "page", n = e.page;
|
|
237
|
+
else if (a.startsWith("task.")) a = a.substring(5), r = "task", n = e.task;
|
|
238
|
+
else if (a.startsWith("request.")) a = a.substring(8), r = "request", n = e.request;
|
|
239
|
+
else if (a.startsWith("context.")) a = a.substring(8), r = "context", n = e.context;
|
|
240
|
+
else if (a.startsWith("system.")) a = a.substring(7), r = "system", n = e.system;
|
|
241
|
+
else {
|
|
242
|
+
if (a.startsWith("fixed.")) return a.substring(6);
|
|
243
|
+
a.startsWith("row.") && (a = a.substring(4), n = o, r = "row");
|
|
244
|
+
}
|
|
245
|
+
return a ? getValueFromSource(n, a, r) : "";
|
|
246
|
+
}
|
|
247
|
+
return t;
|
|
248
|
+
}
|
|
249
|
+
function getValueFromSource(e, t, o) {
|
|
250
|
+
if ("context" != o && !e || !t) return;
|
|
251
|
+
const a = t.indexOf(".");
|
|
252
|
+
if (a > -1) {
|
|
253
|
+
const r = t.substring(0, a), n = t.substring(a + 1);
|
|
254
|
+
let s = e[r];
|
|
255
|
+
return s && Array.isArray(s) && s.length > 0 && (s = s[0]), getValueFromSource(s, n, o);
|
|
256
|
+
}
|
|
257
|
+
if ("context" == o) {
|
|
258
|
+
if ("currentDate" == t || "currentTime" == t) return /* @__PURE__ */ new Date();
|
|
259
|
+
if (t.startsWith("currentDate") && t.length > 11) {
|
|
260
|
+
const e2 = t.substring(11), o2 = e2.substring(0, 1);
|
|
261
|
+
let a2 = parseInt(e2.substring(1, e2.length - 1), 10);
|
|
262
|
+
const r = e2.substring(e2.length - 1), n = /* @__PURE__ */ new Date();
|
|
263
|
+
return a2 = "+" === o2 ? a2 : -a2, "d" === r || "w" === r ? (a2 = "w" === r ? 7 * a2 : a2, n.setDate(n.getDate() + a2)) : "m" === r ? n.setMonth(n.getMonth() + a2) : "y" === r && n.setFullYear(n.getFullYear() + a2), n;
|
|
264
|
+
}
|
|
265
|
+
if (!e) return;
|
|
266
|
+
}
|
|
267
|
+
return e[t];
|
|
268
|
+
}
|
|
269
|
+
function caculateShowCondition(pageContext, showConditions, row) {
|
|
270
|
+
if (!showConditions || 0 == showConditions.length || !pageContext || !pageContext.entity) return true;
|
|
271
|
+
const entityData = pageContext.entity;
|
|
272
|
+
let conditions = "";
|
|
273
|
+
const maxLen = showConditions.length;
|
|
274
|
+
for (let e = 0; e < maxLen; e++) {
|
|
275
|
+
const t = showConditions[e], o = t.propName;
|
|
276
|
+
let a = t.operator;
|
|
277
|
+
if (!o || "" === o) continue;
|
|
278
|
+
a || (a = "EQ");
|
|
279
|
+
const r = getValueFromVariable(entityData, o, row);
|
|
280
|
+
let n = getValueFromVariable(entityData, t.propValue, row);
|
|
281
|
+
const s = t.dataType;
|
|
282
|
+
"CONTAIN" != a && "NOT_CONTAIN" != a || r && !r.includes && (a = "CONTAIN" == a ? "EQ" : "NET");
|
|
283
|
+
let i = t.variableIsNull, u;
|
|
284
|
+
if (i || (i = "null"), "IS_NULL" !== a && "IS_NOT_NULL" !== a && (void 0 !== n && "" !== n || (n = null, "null" === i ? a = "IS_NULL" : "notequal" === i ? a = "IS_NOT_NULL" : u = true)), null == u) try {
|
|
285
|
+
u = agilebuilderUi.executeExpression(r, a, n, s);
|
|
286
|
+
} catch (e2) {
|
|
287
|
+
u = false;
|
|
288
|
+
}
|
|
289
|
+
const l = t.leftBracket, p = t.rightBracket;
|
|
290
|
+
let c = t.joinSign;
|
|
291
|
+
if (l && null !== l && "" !== l && (conditions += l, conditions += " "), conditions += u + " ", p && null !== p && "" !== p && (conditions += p, conditions += " "), e < maxLen - 1 && c && null !== c && "" !== c) {
|
|
292
|
+
const e2 = c.toLowerCase();
|
|
293
|
+
"and" === e2 ? c = e2.replace("and", "&&") : "or" === e2 && (c = e2.replace("or", "||")), conditions += c + " ";
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
return !conditions || eval("(" + conditions + ")");
|
|
297
|
+
}
|
|
298
|
+
function monitorFieldChange(e, t, o) {
|
|
299
|
+
if (!o || !e || !t || 0 == t.length) return;
|
|
300
|
+
const a = [], r = [];
|
|
301
|
+
for (let e2 of t) if (e2.startsWith("${")) {
|
|
302
|
+
e2 = e2.substring(2, e2.length - 1);
|
|
303
|
+
const t2 = e2.split(".");
|
|
304
|
+
"page" !== t2[0] && "task" !== t2[0] && "data" !== t2[0] || (a.push(t2), r.includes(t2[0]) || r.push(t2[0]));
|
|
305
|
+
}
|
|
306
|
+
let n = getMonitorFieldValues(a, e.entity), s = false;
|
|
307
|
+
for (const t2 of r) vue.watch(e.entity[t2], () => {
|
|
308
|
+
s && clearTimeout(s), s = setTimeout(function() {
|
|
309
|
+
const t3 = getMonitorFieldValues(a, e.entity);
|
|
310
|
+
n != t3 && (n = t3, o());
|
|
311
|
+
}, 200);
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
function getMonitorFieldValues(e, t) {
|
|
315
|
+
let o = "";
|
|
316
|
+
for (const a of e) o += "_" + getVariableValue(t, a);
|
|
317
|
+
return o;
|
|
318
|
+
}
|
|
319
|
+
function getFormPropName(e) {
|
|
320
|
+
return e && e.indexOf("${") >= 0 ? e.substring(e.indexOf(".") + 1, e.lastIndexOf("}")) : e;
|
|
321
|
+
}
|
|
322
|
+
function getSizeConfig(e, t) {
|
|
323
|
+
const o = getPageModeType(e);
|
|
324
|
+
let a;
|
|
325
|
+
return t.props && t.props.size && t.props.size[o] && (a = t.props.size[o]), !a && t.props && t.props.size && (a = t.props.size.pc), a;
|
|
326
|
+
}
|
|
327
|
+
function getPageModeType(e) {
|
|
328
|
+
let t = e.dimensions;
|
|
329
|
+
return t || (t = "pc"), t;
|
|
330
|
+
}
|
|
331
|
+
function isPromise(e) {
|
|
332
|
+
return e && "[object Promise]" === Object.prototype.toString.call(e);
|
|
333
|
+
}
|
|
334
|
+
function decomposeVariable(e) {
|
|
335
|
+
if (!e) return [];
|
|
336
|
+
const t = e.match(/\${(.*?)}/);
|
|
337
|
+
return t ? t[1].split(".") : [];
|
|
338
|
+
}
|
|
339
|
+
function getModelFieldFromPageContext(e, t) {
|
|
340
|
+
if (!t.modelFieldsMap) return;
|
|
341
|
+
let o = null;
|
|
342
|
+
for (let a = 0; a < e.length; a++) {
|
|
343
|
+
const r = e[a];
|
|
344
|
+
a + 1 === e.length && (o = t.modelFieldsMap[r]);
|
|
345
|
+
}
|
|
346
|
+
return o;
|
|
347
|
+
}
|
|
348
|
+
function isNumberDataType(e) {
|
|
349
|
+
return "INTEGER" === e || "LONG" === e || "DOUBLE" === e || "FLOAT_COM" === e;
|
|
350
|
+
}
|
|
351
|
+
function isDateDataType(e) {
|
|
352
|
+
return "DATE" === (e = e ? e.toUpperCase() : "") || "TIME" === e || "DATETIME" === e || "TIMESTAMP" === e;
|
|
353
|
+
}
|
|
354
|
+
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.queryOptionDatasources = queryOptionDatasources, exports.setValueForVariableName = setValueForVariableName, exports.setVariableValue = setVariableValue, exports.setVariableValueWithProp = setVariableValueWithProp, exports.updateChartDatasources = updateChartDatasources, exports.updateChartDatasourcesByComponent = updateChartDatasourcesByComponent, exports.updateOptionDatasources = updateOptionDatasources;
|