super-page-runtime 2.3.21-tmp1 → 2.3.22-tmp1
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.js → scan-util.mjs} +22 -22
- 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} +3 -3
- 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} +2 -2
- 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} +5 -5
- 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.js → exportpdf-runtime.vue2.mjs} +1 -1
- 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.js → printlabel-runtime.vue2.mjs} +5 -5
- 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} +5 -5
- 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} +7 -7
- 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} +1 -1
- 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} +1 -1
- 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} +3 -3
- 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} +6 -6
- 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} +3 -3
- 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} +5 -5
- 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} +5 -5
- 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} +4 -4
- 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} +7 -7
- 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} +7 -7
- package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.mjs} +1 -1
- 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} +12 -12
- 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} +7 -7
- 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} +8 -8
- 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} +2 -2
- 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} +18 -20
- 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} +6 -6
- 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} +32 -33
- 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} +6 -6
- 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} +6 -6
- 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} +5 -5
- 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} +6 -6
- 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} +6 -6
- 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} +2 -2
- 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} +7 -7
- 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} +4 -4
- 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} +6 -6
- package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.mjs} +8 -8
- 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.js → page-bottom.vue.mjs} +1 -1
- 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} +4 -4
- 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} +1 -1
- 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} +2 -2
- 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} +3 -3
- 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/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/components/runtime/index.d.ts +5 -0
- package/dist/lib/components/runtime/utils/{ai-chat-util.js → ai-chat-util.cjs} +1 -1
- package/dist/lib/components/runtime/utils/{anchor-util.js → anchor-util.cjs} +17 -17
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/{api-util.js → api-util.cjs} +1 -1
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/{page-expose-util.js → page-expose-util.cjs} +29 -29
- 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.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.cjs} +1 -1
- package/dist/lib/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.cjs} +3 -3
- package/dist/lib/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.cjs} +1 -1
- package/dist/lib/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.cjs} +7 -7
- package/dist/lib/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.cjs} +1 -1
- package/dist/lib/components/runtime/utils/charts/{chart-util.js → chart-util.cjs} +67 -67
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/{common-util.js → common-util.cjs} +28 -28
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/events/{event-util.js → event-util.cjs} +115 -115
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
- package/dist/lib/components/runtime/utils/events/{print-label.js → print-label.cjs} +11 -11
- 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.js → validator-util.cjs} +135 -135
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/{scan-util.js → scan-util.cjs} +2 -2
- 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.d.ts +247 -0
- package/dist/lib/components/runtime/utils/{page-helper-util.js → page-helper-util.cjs} +4 -4
- 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.d.ts +26 -0
- package/dist/lib/components/runtime/utils/{page-store.js → page-store.cjs} +1 -1
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/{store-util.js → store-util.cjs} +4 -4
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/{table-utils.js → table-utils.cjs} +3 -3
- 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.js → button-runtime.vue2.cjs} +1 -1
- 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.js → buttongroup-runtime.vue2.cjs} +1 -1
- 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.js → dropdown-runtime.vue2.cjs} +1 -1
- 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.js → printlabel-runtime.vue2.cjs} +6 -6
- 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.js → column-line-runtime.vue2.cjs} +1 -1
- 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.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.cjs} +2 -2
- 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.js → gauge-runtime.vue2.cjs} +1 -1
- package/dist/lib/components/runtime/views/assemblys/{container/tabs/tabs-runtime.vue.js → chart/pie/pie-runtime.vue.cjs} +2 -2
- package/dist/lib/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.cjs} +1 -1
- 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.js → radar-runtime.vue2.cjs} +1 -1
- 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.js → scatter-runtime.vue2.cjs} +1 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.cjs} +1 -1
- 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.js → group-column.vue.cjs} +1 -1
- 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.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.js → table-runtime.vue2.cjs} +57 -57
- package/dist/lib/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.cjs} +5 -5
- 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.js → export-form-report-dialog.vue.cjs} +1 -1
- 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.js → file-task-notice.vue.cjs} +1 -1
- 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.js → remove-signer-dialog.vue.cjs} +1 -1
- 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.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.js → remove-transactor-dialog.vue.cjs} +1 -1
- 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.js → save-chart-condition-dialog.vue.cjs} +1 -1
- 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.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/{tools/tools-runtime.vue.js → card/card-runtime.vue.cjs} +2 -2
- package/dist/lib/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.cjs} +1 -1
- 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.js → collapse-runtime.vue2.cjs} +5 -5
- 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.js → container-runtime.vue2.cjs} +3 -3
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → YxAffix.vue.cjs} +2 -2
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -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.js → flex-runtime.vue2.cjs} +1 -1
- 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.js → form-runtime.vue2.cjs} +1 -1
- 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.js → iframe-runtime.vue2.cjs} +2 -2
- package/dist/lib/components/runtime/views/assemblys/{chart/radar/radar-runtime.vue.js → container/tabs/tabs-runtime.vue.cjs} +2 -2
- package/dist/lib/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.cjs} +1 -1
- 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.js → tools-runtime.vue2.cjs} +3 -3
- 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.js → barcode-runtime.vue2.cjs} +2 -2
- package/dist/lib/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.cjs} +1 -1
- 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.js → sub-table-runtime.vue.cjs} +1 -1
- 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.js → table-runtime.vue2.cjs} +1 -1
- package/dist/lib/components/runtime/views/assemblys/{form/label/label-runtime.vue.js → data/tree/tree-runtime.vue.cjs} +2 -2
- package/dist/lib/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.cjs} +3 -3
- 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.js → checkbox-runtime.vue2.cjs} +1 -1
- package/dist/lib/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.cjs} +1 -1
- 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.js → custom-runtime.vue2.cjs} +1 -1
- 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.js → datepicker-runtime.vue2.cjs} +4 -4
- 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.js → depttree-runtime.vue2.cjs} +10 -10
- 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.js → divider-runtime.vue2.cjs} +1 -1
- 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.js → input-number-runtime.vue2.cjs} +6 -6
- 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.js → label-runtime.vue2.cjs} +6 -6
- 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.js → link-runtime.vue2.cjs} +3 -3
- 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.js → placeholder-runtime.vue2.cjs} +1 -1
- 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.js → radio-runtime.vue2.cjs} +1 -1
- 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.js → richtext-runtime.vue2.cjs} +2 -2
- 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.js → select-runtime.vue2.cjs} +1 -1
- 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.js → separatelabel-runtime.vue2.cjs} +3 -3
- 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.js → switch-runtime.vue2.cjs} +1 -1
- 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.js → tag-runtime.vue2.cjs} +1 -1
- 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.js → textarea-runtime.vue2.cjs} +1 -1
- package/dist/lib/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.cjs} +4 -4
- 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.js → object-render.vue.cjs} +1 -1
- 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.js → workflow-opinion-box.vue2.cjs} +6 -6
- 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.js → extract-workflow-runtime-dialog.vue2.cjs} +1 -1
- 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.js → extract-workflow-runtime.vue2.cjs} +1 -1
- 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.js → pictureflow-runtime.vue2.cjs} +1 -1
- 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.js → textflow-runtime.vue2.cjs} +1 -1
- 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.js → workflowbutton-runtime.vue2.cjs} +1 -1
- 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.js → workflownode-runtime.vue2.cjs} +3 -3
- package/dist/lib/components/runtime/views/{home-chart.vue.js → home-chart.vue.cjs} +5 -5
- 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.js → super-page-dialog.vue.cjs} +1 -1
- 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/index.cjs +6 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +136 -136
- package/dist/umd/index.full.min.js +741 -741
- package/dist/umd/style.css +136 -136
- 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/print-label/printlabel-runtime.vue.js +0 -4
- 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.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/lib/components/runtime/utils/assemblys-config.js +0 -16
- package/dist/lib/components/runtime/utils/events/standard-event.js +0 -1101
- package/dist/lib/components/runtime/utils/i18n-util.js +0 -11
- package/dist/lib/components/runtime/utils/page-init-util.js +0 -244
- package/dist/lib/components/runtime/utils/tree-utils.js +0 -54
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -48
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -36
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -19
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -65
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -70
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -3
- package/dist/lib/components/runtime/views/home-chart.vue2.js +0 -3
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.js +0 -3
- package/dist/lib/components/runtime/views/super-page.vue.js +0 -5
- package/dist/lib/components/runtime/views/super-page.vue2.js +0 -264
- package/dist/lib/index.js +0 -6
- /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
- /package/dist/lib/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.cjs} +0 -0
- /package/dist/lib/assets/chart-themes/{bar-theme.js → bar-theme.cjs} +0 -0
- /package/dist/lib/assets/chart-themes/{gauge-theme.js → gauge-theme.cjs} +0 -0
- /package/dist/lib/assets/chart-themes/{pie-theme.js → pie-theme.cjs} +0 -0
- /package/dist/lib/assets/chart-themes/{radar-theme.js → radar-theme.cjs} +0 -0
- /package/dist/lib/assets/chart-themes/{scatter-theme.js → scatter-theme.cjs} +0 -0
- /package/dist/lib/assets/{file.png.js → file.png.cjs} +0 -0
- /package/dist/lib/assets/{folder.png.js → folder.png.cjs} +0 -0
- /package/dist/lib/components/runtime/utils/{barcode-util.js → barcode-util.cjs} +0 -0
- /package/dist/lib/components/runtime/utils/{eventBus.js → eventBus.cjs} +0 -0
- /package/dist/lib/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.cjs} +0 -0
- /package/dist/lib/components/runtime/utils/{global-refs.js → global-refs.cjs} +0 -0
- /package/dist/lib/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.cjs} +0 -0
- /package/dist/lib/components/runtime/utils/{page-permission-util.js → page-permission-util.cjs} +0 -0
- /package/dist/lib/components/runtime/utils/{store.js → store.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.cjs} +0 -0
- /package/dist/lib/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.cjs} +0 -0
- /package/dist/lib/i18n/langs/{cn.js → cn.cjs} +0 -0
- /package/dist/lib/i18n/langs/{en.js → en.cjs} +0 -0
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
import e from "async-validator";
|
|
2
2
|
import { ElMessage as t } from "element-plus";
|
|
3
|
-
import { getComponentRefByCode as s, getComponentRef as n, getAllComponentRefs as r } from "../global-refs.
|
|
4
|
-
import { getI18n as i } from "agilebuilder-ui
|
|
5
|
-
import { getAdditionalParamMap as
|
|
6
|
-
import {
|
|
7
|
-
import { parseSubTablePermissionCondition as a } from "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
8
|
-
import { isWorkflowPage as u, getListCode as f } from "../common-util.js";
|
|
3
|
+
import { getComponentRefByCode as s, getComponentRef as n, getAllComponentRefs as r } from "../global-refs.mjs";
|
|
4
|
+
import { getI18n as i, isPromise as o, parseSubTablePermissionCondition as l } from "agilebuilder-ui";
|
|
5
|
+
import { getAdditionalParamMap as a } from "./standard-event.mjs";
|
|
6
|
+
import { isWorkflowPage as u, getListCode as f } from "../common-util.mjs";
|
|
9
7
|
function c(e2, t2, s2) {
|
|
10
8
|
const n2 = {};
|
|
11
9
|
t2 || (t2 = {});
|
|
12
10
|
let r2 = 0;
|
|
13
11
|
const i2 = e2.split(".");
|
|
14
12
|
return i2.forEach((e3) => {
|
|
15
|
-
let
|
|
16
|
-
if (r2 === i2.length - 1)
|
|
13
|
+
let o2;
|
|
14
|
+
if (r2 === i2.length - 1) o2 = function(e4, t3, s3) {
|
|
17
15
|
let n3;
|
|
18
16
|
for (let r3 = 0; r3 < t3.length; r3++) if (n3 = 0 === r3 ? e4[t3[r3]] : n3.fields[t3[r3]], r3 !== t3.length - 1) {
|
|
19
17
|
if (t3[r3 + 1] === s3) break;
|
|
20
18
|
}
|
|
21
19
|
return n3;
|
|
22
|
-
}(n2, i2, e3),
|
|
20
|
+
}(n2, i2, e3), o2.fields[e3] = s2;
|
|
23
21
|
else {
|
|
24
22
|
let s3;
|
|
25
|
-
0 === r2 ?
|
|
23
|
+
0 === r2 ? o2 = t2 : (s3 = function(e4, t3, s4) {
|
|
26
24
|
let n3;
|
|
27
25
|
for (let r3 = 0; r3 < t3.length; r3++) {
|
|
28
26
|
const i3 = t3[r3];
|
|
29
27
|
if (n3 = 0 === r3 ? e4[i3] : n3.fields[t3[r3]], i3 === s4) break;
|
|
30
28
|
}
|
|
31
29
|
return n3;
|
|
32
|
-
}(n2, i2, i2[r2 - 1]),
|
|
30
|
+
}(n2, i2, i2[r2 - 1]), o2 = s3.fields), o2[e3] || (o2[e3] = { type: "object", required: true, fields: {} }), 0 === r2 ? n2[e3] = o2[e3] : s3.fields[e3] = o2[e3];
|
|
33
31
|
}
|
|
34
32
|
r2++;
|
|
35
33
|
}), n2;
|
|
@@ -45,7 +43,7 @@ function m(e2) {
|
|
|
45
43
|
}
|
|
46
44
|
}), e2;
|
|
47
45
|
}
|
|
48
|
-
function p(n2, r2, i2,
|
|
46
|
+
function p(n2, r2, i2, o2, l2, a2, u2) {
|
|
49
47
|
let f2, c2 = m(r2);
|
|
50
48
|
if (r2 && null !== r2 || !i2 || (c2 = {}), !c2 || 0 === Object.keys(c2).length) return n2.validateErrorField = "", true;
|
|
51
49
|
return new e(c2).validate(n2, { first: true }, (e2, c3) => {
|
|
@@ -55,10 +53,10 @@ function p(n2, r2, i2, l2, o2, a2, u2) {
|
|
|
55
53
|
const n3 = s(u2, d2);
|
|
56
54
|
n3 && n3.addRequiredClass && n3.addRequiredClass();
|
|
57
55
|
} else f2 = true;
|
|
58
|
-
if (d2 && true ===
|
|
56
|
+
if (d2 && true === l2) {
|
|
59
57
|
if (/[A-Z]+/.test(d2) && void 0 !== n2[d2.toLowerCase()]) {
|
|
60
58
|
const e3 = JSON.parse(JSON.stringify(n2));
|
|
61
|
-
e3[d2.toUpperCase()] = n2[d2.toLowerCase()], delete e3[d2.toLowerCase()], f2 = p(e3, r2, i2,
|
|
59
|
+
e3[d2.toUpperCase()] = n2[d2.toLowerCase()], delete e3[d2.toLowerCase()], f2 = p(e3, r2, i2, o2, false, a2, u2);
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
}), f2;
|
|
@@ -69,26 +67,26 @@ function g(e2, n2, r2) {
|
|
|
69
67
|
if (e3) {
|
|
70
68
|
return u(o3) ? function(e4, n4, r4) {
|
|
71
69
|
return new Promise((o4, u2) => {
|
|
72
|
-
const f3 =
|
|
70
|
+
const f3 = a(n4), c3 = n4.entity.context, d3 = n4.entity.task, m2 = true, p2 = n4.subTablePageInfo;
|
|
73
71
|
h(e4, n4, r4).then((r5) => {
|
|
74
72
|
if (r5) {
|
|
75
|
-
let
|
|
73
|
+
let a2, u3, g2, b2, h2 = r5;
|
|
76
74
|
const w2 = n4.workflowRules;
|
|
77
75
|
if (w2) {
|
|
78
76
|
if (!function(e5, n5) {
|
|
79
77
|
var _a, _b, _c;
|
|
80
78
|
if (!e5.actionPermissions) return true;
|
|
81
79
|
const r7 = Object.keys(e5.actionPermissions);
|
|
82
|
-
for (let
|
|
83
|
-
const
|
|
80
|
+
for (let o5 = 0; o5 < r7.length; o5++) {
|
|
81
|
+
const a3 = r7[o5], u4 = e5.actionPermissions[a3];
|
|
84
82
|
if (u4 && u4.notEmpty) {
|
|
85
83
|
let r8 = false;
|
|
86
|
-
if (n5[
|
|
87
|
-
const r9 = s(e5,
|
|
84
|
+
if (n5[a3] ? Array.isArray(n5[a3]) && 0 === n5[a3].length && (r8 = true) : r8 = true, r8) {
|
|
85
|
+
const r9 = s(e5, a3).getConfigure();
|
|
88
86
|
if ((_a = u4.notEmptyCondition) == null ? void 0 : _a.parentCondition) {
|
|
89
|
-
if (false ===
|
|
87
|
+
if (false === l(u4.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e5.dataTypeMaps, n5, {}, (_b = e5.entity) == null ? void 0 : _b.request, (_c = e5.entity) == null ? void 0 : _c.task, e5.contextParam)) return true;
|
|
90
88
|
}
|
|
91
|
-
return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: r9.title ? r9.title :
|
|
89
|
+
return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: r9.title ? r9.title : a3 }), type: "warning" }), false;
|
|
92
90
|
}
|
|
93
91
|
}
|
|
94
92
|
}
|
|
@@ -97,14 +95,14 @@ function g(e2, n2, r2) {
|
|
|
97
95
|
const r6 = true, y2 = Object.assign({}, w2);
|
|
98
96
|
y2.subRules && (Object.keys(y2.subRules).length > 0 ? y2.totalSubRules || (y2.totalSubRules = {}) : delete y2.subRules);
|
|
99
97
|
const R2 = window.$vueApp.config.globalProperties.$formValidator(e4, y2, m2, f3, d3, c3, p2, r6);
|
|
100
|
-
h2 = R2.msg,
|
|
98
|
+
h2 = R2.msg, a2 = R2.field, u3 = R2.listCode, g2 = R2.rowIndex, b2 = R2.pageNum;
|
|
101
99
|
} else h2 = true;
|
|
102
100
|
if (true !== h2) {
|
|
103
101
|
if (t({ showClose: true, message: h2 + "", type: "warning" }), u3) {
|
|
104
102
|
const e5 = s(n4, u3);
|
|
105
|
-
e5 && e5.addRequiredClass && e5.addRequiredClass(
|
|
103
|
+
e5 && e5.addRequiredClass && e5.addRequiredClass(a2, g2, b2);
|
|
106
104
|
} else {
|
|
107
|
-
const e5 = s(n4,
|
|
105
|
+
const e5 = s(n4, a2);
|
|
108
106
|
e5 && e5.addRequiredClass && e5.addRequiredClass();
|
|
109
107
|
}
|
|
110
108
|
o4(false);
|
|
@@ -155,16 +153,16 @@ function h(e2, s2, r2) {
|
|
|
155
153
|
const s3 = e4.tableUuids;
|
|
156
154
|
if (!s3) return true;
|
|
157
155
|
for (let r3 = 0; r3 < s3.length; r3++) {
|
|
158
|
-
const
|
|
159
|
-
if (
|
|
160
|
-
if (
|
|
161
|
-
const e5 =
|
|
156
|
+
const o2 = s3[r3], l3 = n(e4, o2);
|
|
157
|
+
if (l3) {
|
|
158
|
+
if (l3.getConfigure()) {
|
|
159
|
+
const e5 = l3.getConfigure();
|
|
162
160
|
if ((_a = e5 == null ? void 0 : e5.verification) == null ? void 0 : _a.notEmpty) {
|
|
163
|
-
const s4 =
|
|
161
|
+
const s4 = l3.getTableData();
|
|
164
162
|
if (!s4 || !Array.isArray(s4) || 0 === s4.length) return t({ showClose: true, message: i().t("superPageRuntimeMessage.xxxNotEmpty", { label: e5.title ? e5.title : e5.code }), type: "warning" }), false;
|
|
165
163
|
}
|
|
166
164
|
}
|
|
167
|
-
if (!
|
|
165
|
+
if (!l3.validatorSunTableListData()) return false;
|
|
168
166
|
}
|
|
169
167
|
}
|
|
170
168
|
return true;
|
|
@@ -232,13 +230,13 @@ function R(e2, t2) {
|
|
|
232
230
|
});
|
|
233
231
|
}
|
|
234
232
|
function v(e2) {
|
|
235
|
-
const t2 = e2.entity.data, s2 = { ...e2.entity.page, ...t2 }, n2 =
|
|
233
|
+
const t2 = e2.entity.data, s2 = { ...e2.entity.page, ...t2 }, n2 = a(e2), r2 = e2.entity.context, i2 = e2.entity.task;
|
|
236
234
|
e2.formPropTiltleMap && Object.keys(e2.formPropTiltleMap).length > 0 && e2.completeTaskParam.fieldPermissions && e2.completeTaskParam.fieldPermissions.length > 0 && e2.completeTaskParam.fieldPermissions.forEach((t3) => {
|
|
237
235
|
t3.name && e2.formPropTiltleMap[t3.name] && (t3.label = e2.formPropTiltleMap[t3.name]);
|
|
238
236
|
});
|
|
239
237
|
let o2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, s2, true, n2, i2, r2);
|
|
240
|
-
const
|
|
241
|
-
return o2 = w(e2,
|
|
238
|
+
const l2 = e2.customRules;
|
|
239
|
+
return o2 = w(e2, l2, o2), o2 && (o2.rules || (o2.rules = {}), o2.subRules || (o2.subRules = {})), o2;
|
|
242
240
|
}
|
|
243
241
|
function P(e2, t2) {
|
|
244
242
|
if (!t2) return;
|
|
@@ -272,9 +270,9 @@ function E(e2, t2) {
|
|
|
272
270
|
}
|
|
273
271
|
function O(e2, t2, r2) {
|
|
274
272
|
var _a;
|
|
275
|
-
let i2,
|
|
276
|
-
if (r2 ? (i2 = s(e2, r2),
|
|
277
|
-
const
|
|
273
|
+
let i2, o2;
|
|
274
|
+
if (r2 ? (i2 = s(e2, r2), o2 = i2 ? i2.getTableUuid() : null) : (o2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, i2 = o2 ? n(e2, o2) : null), !i2) return;
|
|
275
|
+
const l2 = e2.code, a2 = e2.version, u2 = f(l2, a2, o2);
|
|
278
276
|
if (e2.workflowRules || (e2.workflowRules = { rules: {}, subRules: {} }), e2.workflowRules.subRules || (e2.workflowRules.subRules = {}), e2.workflowRules.subRules[r2] || (e2.workflowRules.subRules[r2] = {}), ((_a = e2.workflowRules) == null ? void 0 : _a.subRules) && e2.workflowRules.subRules[r2]) {
|
|
279
277
|
const s2 = e2.workflowRules.subRules[r2];
|
|
280
278
|
t2.forEach((e3) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import http from "agilebuilder-ui
|
|
2
|
-
import { setValueForVariableName } from "../page-helper-util.
|
|
1
|
+
import { http } from "agilebuilder-ui";
|
|
2
|
+
import { setValueForVariableName } from "../page-helper-util.mjs";
|
|
3
3
|
function formatScanRuleSets(e) {
|
|
4
4
|
const t = {};
|
|
5
5
|
return e.forEach((e2) => {
|
|
@@ -12,13 +12,13 @@ function packageScanRuleSets(e) {
|
|
|
12
12
|
return new Promise((t, a) => {
|
|
13
13
|
Object.keys(e).length > 0 ? http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(e)).then((a2) => {
|
|
14
14
|
a2.forEach((a3) => {
|
|
15
|
-
const
|
|
15
|
+
const n = JSON.parse(a3.barcodeAnalysisOuts), s = /* @__PURE__ */ new Set(), l = {};
|
|
16
16
|
e[a3.code].outs.forEach((e2) => {
|
|
17
|
-
|
|
17
|
+
s.add(e2.returnedValue), l[e2.returnedValue] = e2.pageVariable;
|
|
18
18
|
});
|
|
19
19
|
const i2 = [];
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
n.forEach((e2) => {
|
|
21
|
+
s.has(e2.code) && (e2.pageVariable = l[e2.code], i2.push(e2));
|
|
22
22
|
}), e[a3.code].outs = i2, e[a3.code].adaptations = JSON.parse(a3.barcodeAnalysisAdaptations), t(e);
|
|
23
23
|
});
|
|
24
24
|
}) : t(null);
|
|
@@ -31,8 +31,8 @@ function analysisScanValue(scanValue, scanRuleSets) {
|
|
|
31
31
|
const scanSet = scanSets[i], adaptations = scanSet.adaptations;
|
|
32
32
|
let validStr = "";
|
|
33
33
|
for (let e = 0; e < adaptations.length; e++) {
|
|
34
|
-
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex),
|
|
35
|
-
let l = scanValue.substring(
|
|
34
|
+
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex), n = a[0], s = a[1];
|
|
35
|
+
let l = scanValue.substring(n, s), i2 = t.value, r = t.operate;
|
|
36
36
|
if ("times" == r) {
|
|
37
37
|
const e2 = l.split(null == i2 ? "" : i2).length - 1;
|
|
38
38
|
i2 = e2, l = t.times, r = "=";
|
|
@@ -54,27 +54,27 @@ function analysisScanValue(scanValue, scanRuleSets) {
|
|
|
54
54
|
}
|
|
55
55
|
function executeAnalysisForScan(e, t) {
|
|
56
56
|
if (!t || !e) return;
|
|
57
|
-
const a = t.outs,
|
|
57
|
+
const a = t.outs, n = {};
|
|
58
58
|
return a.forEach((t2) => {
|
|
59
59
|
const a2 = t2.fieldName;
|
|
60
|
-
if (null != t2.fixedValue)
|
|
60
|
+
if (null != t2.fixedValue) n[a2] = t2.fixedValue;
|
|
61
61
|
else {
|
|
62
|
-
let
|
|
62
|
+
let s = e;
|
|
63
63
|
if (t2.splitChar && t2.splitNum) {
|
|
64
|
-
const a3 = (t2.splitChar, t2.splitChar),
|
|
65
|
-
|
|
64
|
+
const a3 = (t2.splitChar, t2.splitChar), n2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
|
|
65
|
+
s = l <= n2.length ? n2[l - 1] : "";
|
|
66
66
|
}
|
|
67
67
|
if (t2.splitChar2 && t2.splitNum2) {
|
|
68
|
-
const e2 = (t2.splitChar2, t2.splitChar2), a3 =
|
|
69
|
-
|
|
68
|
+
const e2 = (t2.splitChar2, t2.splitChar2), a3 = s.split(e2), n2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
|
|
69
|
+
s = n2 <= a3.length ? a3[n2 - 1] : "";
|
|
70
70
|
}
|
|
71
|
-
if (
|
|
72
|
-
const e2 = _getScanIndexs(
|
|
73
|
-
|
|
71
|
+
if (s.length > 0) {
|
|
72
|
+
const e2 = _getScanIndexs(s, t2.startIndex, t2.endIndex), a3 = e2[0], n2 = e2[1];
|
|
73
|
+
s = s.substring(a3, n2);
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
n[a2] = s;
|
|
76
76
|
}
|
|
77
|
-
}), { value: e, params:
|
|
77
|
+
}), { value: e, params: n, scanSet: t };
|
|
78
78
|
}
|
|
79
79
|
function _getScanIndexs(e, t, a) {
|
|
80
80
|
return t = (t = (t = null == t ? 0 : t - 1) < 0 ? 0 : t) > e.length - 1 ? e.length - 1 : t, (a = (a = (a = null == a ? e.length : a) > e.length ? e.length : a) < 1 ? 1 : a) < t && (a = t), [t, a];
|
|
@@ -82,8 +82,8 @@ function _getScanIndexs(e, t, a) {
|
|
|
82
82
|
function setScanAnalysisValue(e, t, a) {
|
|
83
83
|
if (!t) return;
|
|
84
84
|
t.outs.forEach((t2) => {
|
|
85
|
-
const
|
|
86
|
-
setValueForVariableName(e.entity, t2.pageVariable,
|
|
85
|
+
const n = t2.fieldName, s = a[n];
|
|
86
|
+
setValueForVariableName(e.entity, t2.pageVariable, s);
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
export {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { usePageContextStore as t } from "./page-store.mjs";
|
|
2
|
+
import { i18nUtil as e } from "agilebuilder-ui";
|
|
3
|
+
import { useI18n as o } from "vue-i18n";
|
|
4
|
+
let r = null, n = null;
|
|
5
|
+
const l = (l2, ...m) => {
|
|
6
|
+
n || (n = o());
|
|
7
|
+
const s = t().pageContext;
|
|
8
|
+
if (null === r && (r = !!e.getEnableI18nState(s.systemCode)), !r) return l2;
|
|
9
|
+
const i = `${s.systemCode}.${l2}`, u = n.t(i, m || []);
|
|
10
|
+
return u !== i ? u : l2;
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
l as $t
|
|
14
|
+
};
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { executeExpression, http } from "agilebuilder-ui";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import { getComponentRef } from "./global-refs.mjs";
|
|
4
|
+
import { watch } from "vue";
|
|
5
|
+
import { deepCopy, getBaseUrl } from "./common-util.mjs";
|
|
6
|
+
function getComponentOptionConfigs(e, t, n, o) {
|
|
7
|
+
return getComponentOptionConfigsBase(e, (t == null ? void 0 : t.systemCode) ? t.systemCode : n, (t == null ? void 0 : t.systemVersion) ? t == null ? void 0 : t.systemVersion : o);
|
|
8
|
+
}
|
|
9
|
+
function getComponentOptionConfigsBase(e, t, n) {
|
|
10
|
+
if (!e.props || !e.props.dataOrigin) return;
|
|
11
|
+
if (e.name && "table" === e.name) return;
|
|
12
|
+
const o = e.props.dataOrigin, a = { uuid: e.uuid };
|
|
13
|
+
if ("optionGroup" == o.optionValueSetType) a.type = "optionGroup", a.props = { code: o.optionGroup };
|
|
14
|
+
else if ("dynamicData" == o.optionValueSetType) a.type = "dynamicData", a.filterType = o.filterType, a.props = { code: o.dynamicDataSourceCode };
|
|
15
|
+
else if ("dataTable" == o.optionValueSetType) {
|
|
16
|
+
a.filterType = o.filterType;
|
|
17
|
+
const e2 = getTableQueryInfo(o, t, n);
|
|
18
|
+
Object.assign(a, e2);
|
|
19
|
+
} else if ("service" == o.optionValueSetType) {
|
|
20
|
+
a.filterType = o.filterType;
|
|
21
|
+
const e2 = getServiceQueryInfo(o, t, n);
|
|
22
|
+
Object.assign(a, e2);
|
|
23
|
+
}
|
|
24
|
+
return a.type ? a : void 0;
|
|
25
|
+
}
|
|
26
|
+
function getTableQueryInfo(e, t, n) {
|
|
27
|
+
const o = { type: "dataTable" };
|
|
28
|
+
if (o.valueLabelSwitch = !!e.valueLabelSwitch, o.props = { tableName: e.tableName, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : n }, e.sortFields) {
|
|
29
|
+
const t2 = [];
|
|
30
|
+
for (const n2 of e.sortFields) n2.name && t2.push({ prop: n2.name, order: n2.type ? n2.type : "asc" });
|
|
31
|
+
o.props.sorts = t2;
|
|
32
|
+
}
|
|
33
|
+
const a = [];
|
|
34
|
+
if (e.filterList) {
|
|
35
|
+
const t2 = [];
|
|
36
|
+
for (const n2 of e.filterList) {
|
|
37
|
+
if (!n2.propName) continue;
|
|
38
|
+
n2.propDbName || (n2.propDbName = n2.propName);
|
|
39
|
+
const e2 = {};
|
|
40
|
+
Object.assign(e2, n2);
|
|
41
|
+
const o2 = getParamNames(n2.propValue);
|
|
42
|
+
for (const e3 of o2) e3 && (e3.startsWith("${data.") || e3.startsWith("${task.") || e3.startsWith("${page.")) && (a.includes(e3) || a.push(e3));
|
|
43
|
+
n2.propValue, t2.push(e2);
|
|
44
|
+
}
|
|
45
|
+
o.props.searchForm = t2;
|
|
46
|
+
}
|
|
47
|
+
o.props.monitorFields = a;
|
|
48
|
+
const r = [];
|
|
49
|
+
if (e.tableValueField && (o.props.valueField = e.tableValueField), e.tableLableField && -1 == r.indexOf(e.tableLableField) && (o.props.lableField = e.tableLableField), e.autoSets) for (const t2 of e.autoSets) t2.source && -1 == r.indexOf(t2.source) && r.push(t2.source);
|
|
50
|
+
return o.props.queryFields = r, o.props.pageSize = e.displayQuantity, o;
|
|
51
|
+
}
|
|
52
|
+
function getServiceQueryInfo(e, t, n) {
|
|
53
|
+
const o = { type: "service" };
|
|
54
|
+
if (o.valueLabelSwitch = !!e.valueLabelSwitch, o.props = { serivceCode: e.serviceCode, systemCode: e.tableSysCode ? e.tableSysCode : t, systemVersion: e.tableSysVersion ? e.tableSysVersion : n }, e.serviceInputs) {
|
|
55
|
+
const t2 = [];
|
|
56
|
+
for (const n2 of e.serviceInputs) {
|
|
57
|
+
if (!n2.name || n2.value) continue;
|
|
58
|
+
const e2 = {};
|
|
59
|
+
Object.assign(e2, n2), t2.push(e2);
|
|
60
|
+
}
|
|
61
|
+
o.props.inputs = t2;
|
|
62
|
+
}
|
|
63
|
+
return o.props.dataSetField = e.serviceDataSetField, o.props.valueField = e.serviceValueField, o.props.labelField = e.serviceLabelField, o;
|
|
64
|
+
}
|
|
65
|
+
function updateChartDatasources(e, t, n, o) {
|
|
66
|
+
return new Promise((a, r) => {
|
|
67
|
+
if (!t || 0 == t.length) return void r(new Error("无需查询的统计图配置!"));
|
|
68
|
+
const s = deepCopy(t);
|
|
69
|
+
s.forEach((t2) => {
|
|
70
|
+
const n2 = t2.services;
|
|
71
|
+
if (n2 && n2.length > 0) {
|
|
72
|
+
const t3 = n2[0].serviceInputs;
|
|
73
|
+
t3 && (n2[0].serviceInParams = {}, t3.forEach((t4) => {
|
|
74
|
+
const o2 = t4.name, a2 = t4.value;
|
|
75
|
+
n2[0].serviceInParams[o2] = getValueFromVariable(e.entity, a2);
|
|
76
|
+
}), delete n2[0].serviceInputs);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
const i = e.entity ? e.entity : {}, u = {};
|
|
80
|
+
i.request && Object.assign(u, i.request), i.page && Object.assign(u, i.page), n && Object.assign(u, n);
|
|
81
|
+
const l = {};
|
|
82
|
+
i.task && Object.assign(l, i.task);
|
|
83
|
+
const c = { entityMap: i.data, additionalParamMap: u, taskMap: l, dataSourceList: s, systemCode: e.systemCode, pageCode: e.code }, p = e.backendUrl, f = getBaseUrl(p, e.isTest) + "/common/common-data/find-chart-datas";
|
|
84
|
+
http.post(f, c, { headers: { customSystem: e.systemCode } }).then((t2) => {
|
|
85
|
+
var _a, _b;
|
|
86
|
+
e.chartDataSourceMap || (e.chartDataSourceMap = {});
|
|
87
|
+
for (const n2 in t2) {
|
|
88
|
+
e.chartDataSourceMap[n2] = t2[n2];
|
|
89
|
+
const a2 = getComponentRef(e, n2);
|
|
90
|
+
if (a2) {
|
|
91
|
+
const r2 = a2.getConfigure();
|
|
92
|
+
if ((!o || r2 && (void 0 === r2.initializationQuery || r2.initializationQuery)) && a2.updateChartDatas && (a2.updateChartDatas(t2[n2]), (_b = (_a = r2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
|
|
93
|
+
const o2 = t2[n2] && t2[n2].length > 0 ? t2[n2][0] : {}, a3 = o2 && o2.result ? o2.result : {};
|
|
94
|
+
let s2 = null;
|
|
95
|
+
r2.serviceDataField ? s2 = a3[r2.serviceDataField] : a3 && (s2 = Array.isArray(a3) ? a3 : [a3]), s2 || (s2 = []), setValueForVariableName(e.entity, r2.runtime.dataConfig.resultSet, s2);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
a(t2);
|
|
100
|
+
}).catch((e2) => {
|
|
101
|
+
r(e2);
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
function updateChartDatasourcesByComponent(e, t) {
|
|
106
|
+
const n = e.initChartServiceConfigs.find((e2) => e2.uuid === t);
|
|
107
|
+
n && updateChartDatasources(e, [n], null, false);
|
|
108
|
+
}
|
|
109
|
+
function updateOptionDatasources(e, t, n) {
|
|
110
|
+
return new Promise((o, a) => {
|
|
111
|
+
if (!t || 0 == t.length) return void a(new Error("无需查询的配置!"));
|
|
112
|
+
const r = e.entity ? e.entity : {}, s = {};
|
|
113
|
+
r.request && Object.assign(s, r.request), r.page && Object.assign(s, r.page), s.query = n;
|
|
114
|
+
const i = { entityMap: r.data, additionalParamMap: s, dataSourceList: t, systemCode: e.systemCode, query: n }, u = e.backendUrl, l = getBaseUrl(u, e.isTest) + "/common/common-data/find-datas";
|
|
115
|
+
http.post(l, i).then((t2) => {
|
|
116
|
+
e.optionSourceMap || (e.optionSourceMap = {});
|
|
117
|
+
for (const n2 in t2) {
|
|
118
|
+
e.optionSourceMap[n2] = t2[n2];
|
|
119
|
+
const o2 = getComponentRef(e, n2);
|
|
120
|
+
o2 && o2.updateOptions && o2.updateOptions(t2[n2]);
|
|
121
|
+
}
|
|
122
|
+
o(t2);
|
|
123
|
+
}).catch((e2) => {
|
|
124
|
+
a(e2);
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
function getOptionDatasFromPage(e, t) {
|
|
129
|
+
return getComponentOptionDatasFromPage(e, t.uuid);
|
|
130
|
+
}
|
|
131
|
+
function getComponentOptionDatasFromPage(e, t) {
|
|
132
|
+
const n = getOptionDatasSourceMap(e)[t];
|
|
133
|
+
return n || [];
|
|
134
|
+
}
|
|
135
|
+
function getOptionDatasSourceMap(e) {
|
|
136
|
+
if (!e || !e.optionSourceMap) return {};
|
|
137
|
+
const t = e.optionSourceMap;
|
|
138
|
+
return t || {};
|
|
139
|
+
}
|
|
140
|
+
function getChartDatasFromPage(e, t) {
|
|
141
|
+
if (!e || !e.chartDataSourceMap || !t) return null;
|
|
142
|
+
return e.chartDataSourceMap[t.uuid];
|
|
143
|
+
}
|
|
144
|
+
function queryOptionDatasources(e, t, n) {
|
|
145
|
+
return updateOptionDatasources(e, t ? [t] : [], n);
|
|
146
|
+
}
|
|
147
|
+
function autoSetAfterSelect(e, t, n, o, a = []) {
|
|
148
|
+
if (!n || 0 == n.length) return;
|
|
149
|
+
const r = t.entity ? t.entity : {};
|
|
150
|
+
for (const e2 of n) {
|
|
151
|
+
if (!e2.source || !e2.target || a.includes(e2.target)) continue;
|
|
152
|
+
const t2 = getValuesByField(o, e2.source);
|
|
153
|
+
let n2 = e2.target;
|
|
154
|
+
if (!n2 || !n2.startsWith("${")) continue;
|
|
155
|
+
n2 = n2.substring(2, n2.length - 1);
|
|
156
|
+
const s = n2.split(".");
|
|
157
|
+
setVariableValue(r, s, null == t2 ? null : t2.join(","));
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function getValuesByField(e, t) {
|
|
161
|
+
if (e) {
|
|
162
|
+
const n = [];
|
|
163
|
+
for (const o of e) {
|
|
164
|
+
let e2 = o[t];
|
|
165
|
+
null != e2 && null != e2 || (e2 = ""), n.push(e2);
|
|
166
|
+
}
|
|
167
|
+
return n;
|
|
168
|
+
}
|
|
169
|
+
return null;
|
|
170
|
+
}
|
|
171
|
+
function getVariableValue(e, t) {
|
|
172
|
+
if (!e || !t || 0 == t.length) return;
|
|
173
|
+
let n = e;
|
|
174
|
+
for (let e2 = 0; e2 < t.length; e2++) {
|
|
175
|
+
if (null == n) return n;
|
|
176
|
+
n = n[t[e2]];
|
|
177
|
+
}
|
|
178
|
+
return n;
|
|
179
|
+
}
|
|
180
|
+
function setValueForVariableName(e, t, n) {
|
|
181
|
+
if (!t || !t.startsWith("${")) return;
|
|
182
|
+
setVariableValue(e, (t = t.substring(2, t.length - 1)).split("."), n);
|
|
183
|
+
}
|
|
184
|
+
function setVariableValue(e, t, n) {
|
|
185
|
+
if (!e || !t || 0 == t.length) return;
|
|
186
|
+
let o = e;
|
|
187
|
+
for (let e2 = 0; e2 < t.length; e2++) {
|
|
188
|
+
const a = t[e2];
|
|
189
|
+
e2 + 1 === t.length ? o[a] = void 0 === n ? null : n : (void 0 === o[a] && (o[a] = {}), o = o[a]);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
function setVariableValueWithProp(e, t, n) {
|
|
193
|
+
if (!e || !t) return;
|
|
194
|
+
setVariableValue(e, t.split("."), n);
|
|
195
|
+
}
|
|
196
|
+
function formatVariableValue(e, t) {
|
|
197
|
+
if (!e || "" == t || null == t || null == t) return t;
|
|
198
|
+
const n = e.entity ? e.entity : {}, o = getParamNames(t);
|
|
199
|
+
for (const e2 in o) {
|
|
200
|
+
const a = o[e2], r = getValueFromVariable(n, a);
|
|
201
|
+
if (r && "[object Date]" === Object.prototype.toString.call(r)) return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
|
|
202
|
+
if (r && "number" == typeof r) return r;
|
|
203
|
+
t = t.replace(a, null == r ? "" : r);
|
|
204
|
+
}
|
|
205
|
+
return t;
|
|
206
|
+
}
|
|
207
|
+
function getParamNames(e) {
|
|
208
|
+
if (!e) return [];
|
|
209
|
+
const t = e.match(/\$\{[^\{|\}]+\}/g);
|
|
210
|
+
return t || [];
|
|
211
|
+
}
|
|
212
|
+
function formatValueByType(e, t, n) {
|
|
213
|
+
if (!t || "" == e || null == e || null == e) return e;
|
|
214
|
+
if (n = n || {}, "number" == t || "percent" == t) {
|
|
215
|
+
if (isNaN(e)) return e;
|
|
216
|
+
let o = parseInt(n.decimalDigit);
|
|
217
|
+
if ((null == o || isNaN(o)) && (o = -1), e = parseFloat(e), "percent" == t && (e *= 100), o > -1 && (e = parseFloat(e.toFixed(o))), "percent" == t) e += "%";
|
|
218
|
+
else {
|
|
219
|
+
if (n.thousandsSeparator) {
|
|
220
|
+
const t2 = e.toString().split(".");
|
|
221
|
+
t2[0] = t2[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), e = t2.length > 1 ? t2.join(".") : t2[0];
|
|
222
|
+
}
|
|
223
|
+
n.symbol && (e = n.symbol + "" + e);
|
|
224
|
+
}
|
|
225
|
+
return e;
|
|
226
|
+
}
|
|
227
|
+
if ("date" == t || "time" == t) {
|
|
228
|
+
let o = "";
|
|
229
|
+
return "date" == t ? (o = n.dateFormat, o || (o = "YYYY-MM-DD")) : (o = n.timeFormat, o || (o = "HH:mm:ss")), dayjs(e).format(o);
|
|
230
|
+
}
|
|
231
|
+
return "custom" == t && n.formatEventUuid, e;
|
|
232
|
+
}
|
|
233
|
+
function getValueFromVariable(e, t, n) {
|
|
234
|
+
if (null == t || null == t) return t;
|
|
235
|
+
if (t.startsWith("${") && t.endsWith("}")) {
|
|
236
|
+
let o = t.substring(2, t.length - 1), a = null, r = null;
|
|
237
|
+
if (o.startsWith("data.")) o = o.substring(5), r = e.data, a = "data";
|
|
238
|
+
else if (o.startsWith("page.")) o = o.substring(5), a = "page", r = e.page;
|
|
239
|
+
else if (o.startsWith("task.")) o = o.substring(5), a = "task", r = e.task;
|
|
240
|
+
else if (o.startsWith("request.")) o = o.substring(8), a = "request", r = e.request;
|
|
241
|
+
else if (o.startsWith("context.")) o = o.substring(8), a = "context", r = e.context;
|
|
242
|
+
else if (o.startsWith("system.")) o = o.substring(7), a = "system", r = e.system;
|
|
243
|
+
else {
|
|
244
|
+
if (o.startsWith("fixed.")) return o.substring(6);
|
|
245
|
+
o.startsWith("row.") && (o = o.substring(4), r = n, a = "row");
|
|
246
|
+
}
|
|
247
|
+
return o ? getValueFromSource(r, o, a) : "";
|
|
248
|
+
}
|
|
249
|
+
return t;
|
|
250
|
+
}
|
|
251
|
+
function getValueFromSource(e, t, n) {
|
|
252
|
+
if ("context" != n && !e || !t) return;
|
|
253
|
+
const o = t.indexOf(".");
|
|
254
|
+
if (o > -1) {
|
|
255
|
+
const a = t.substring(0, o), r = t.substring(o + 1);
|
|
256
|
+
let s = e[a];
|
|
257
|
+
return s && Array.isArray(s) && s.length > 0 && (s = s[0]), getValueFromSource(s, r, n);
|
|
258
|
+
}
|
|
259
|
+
if ("context" == n) {
|
|
260
|
+
if ("currentDate" == t || "currentTime" == t) return /* @__PURE__ */ new Date();
|
|
261
|
+
if (t.startsWith("currentDate") && t.length > 11) {
|
|
262
|
+
const e2 = t.substring(11), n2 = e2.substring(0, 1);
|
|
263
|
+
let o2 = parseInt(e2.substring(1, e2.length - 1), 10);
|
|
264
|
+
const a = e2.substring(e2.length - 1), r = /* @__PURE__ */ new Date();
|
|
265
|
+
return o2 = "+" === n2 ? o2 : -o2, "d" === a || "w" === a ? (o2 = "w" === a ? 7 * o2 : o2, r.setDate(r.getDate() + o2)) : "m" === a ? r.setMonth(r.getMonth() + o2) : "y" === a && r.setFullYear(r.getFullYear() + o2), r;
|
|
266
|
+
}
|
|
267
|
+
if (!e) return;
|
|
268
|
+
}
|
|
269
|
+
return e[t];
|
|
270
|
+
}
|
|
271
|
+
function caculateShowCondition(pageContext, showConditions, row) {
|
|
272
|
+
if (!showConditions || 0 == showConditions.length || !pageContext || !pageContext.entity) return true;
|
|
273
|
+
const entityData = pageContext.entity;
|
|
274
|
+
let conditions = "";
|
|
275
|
+
const maxLen = showConditions.length;
|
|
276
|
+
for (let e = 0; e < maxLen; e++) {
|
|
277
|
+
const t = showConditions[e], n = t.propName;
|
|
278
|
+
let o = t.operator;
|
|
279
|
+
if (!n || "" === n) continue;
|
|
280
|
+
o || (o = "EQ");
|
|
281
|
+
const a = getValueFromVariable(entityData, n, row);
|
|
282
|
+
let r = getValueFromVariable(entityData, t.propValue, row);
|
|
283
|
+
const s = t.dataType;
|
|
284
|
+
"CONTAIN" != o && "NOT_CONTAIN" != o || a && !a.includes && (o = "CONTAIN" == o ? "EQ" : "NET");
|
|
285
|
+
let i = t.variableIsNull, u;
|
|
286
|
+
if (i || (i = "null"), "IS_NULL" !== o && "IS_NOT_NULL" !== o && (void 0 !== r && "" !== r || (r = null, "null" === i ? o = "IS_NULL" : "notequal" === i ? o = "IS_NOT_NULL" : u = true)), null == u) try {
|
|
287
|
+
u = executeExpression(a, o, r, s);
|
|
288
|
+
} catch (e2) {
|
|
289
|
+
u = false;
|
|
290
|
+
}
|
|
291
|
+
const l = t.leftBracket, c = t.rightBracket;
|
|
292
|
+
let p = t.joinSign;
|
|
293
|
+
if (l && null !== l && "" !== l && (conditions += l, conditions += " "), conditions += u + " ", c && null !== c && "" !== c && (conditions += c, conditions += " "), e < maxLen - 1 && p && null !== p && "" !== p) {
|
|
294
|
+
const e2 = p.toLowerCase();
|
|
295
|
+
"and" === e2 ? p = e2.replace("and", "&&") : "or" === e2 && (p = e2.replace("or", "||")), conditions += p + " ";
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
return !conditions || eval("(" + conditions + ")");
|
|
299
|
+
}
|
|
300
|
+
function monitorFieldChange(e, t, n) {
|
|
301
|
+
if (!n || !e || !t || 0 == t.length) return;
|
|
302
|
+
const o = [], a = [];
|
|
303
|
+
for (let e2 of t) if (e2.startsWith("${")) {
|
|
304
|
+
e2 = e2.substring(2, e2.length - 1);
|
|
305
|
+
const t2 = e2.split(".");
|
|
306
|
+
"page" !== t2[0] && "task" !== t2[0] && "data" !== t2[0] || (o.push(t2), a.includes(t2[0]) || a.push(t2[0]));
|
|
307
|
+
}
|
|
308
|
+
let r = getMonitorFieldValues(o, e.entity), s = false;
|
|
309
|
+
for (const t2 of a) watch(e.entity[t2], () => {
|
|
310
|
+
s && clearTimeout(s), s = setTimeout(function() {
|
|
311
|
+
const t3 = getMonitorFieldValues(o, e.entity);
|
|
312
|
+
r != t3 && (r = t3, n());
|
|
313
|
+
}, 200);
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
function getMonitorFieldValues(e, t) {
|
|
317
|
+
let n = "";
|
|
318
|
+
for (const o of e) n += "_" + getVariableValue(t, o);
|
|
319
|
+
return n;
|
|
320
|
+
}
|
|
321
|
+
function getFormPropName(e) {
|
|
322
|
+
return e && e.indexOf("${") >= 0 ? e.substring(e.indexOf(".") + 1, e.lastIndexOf("}")) : e;
|
|
323
|
+
}
|
|
324
|
+
function getSizeConfig(e, t) {
|
|
325
|
+
const n = getPageModeType(e);
|
|
326
|
+
let o;
|
|
327
|
+
return t.props && t.props.size && t.props.size[n] && (o = t.props.size[n]), !o && t.props && t.props.size && (o = t.props.size.pc), o;
|
|
328
|
+
}
|
|
329
|
+
function getPageModeType(e) {
|
|
330
|
+
let t = e.dimensions;
|
|
331
|
+
return t || (t = "pc"), t;
|
|
332
|
+
}
|
|
333
|
+
function isPromise(e) {
|
|
334
|
+
return e && "[object Promise]" === Object.prototype.toString.call(e);
|
|
335
|
+
}
|
|
336
|
+
function decomposeVariable(e) {
|
|
337
|
+
if (!e) return [];
|
|
338
|
+
const t = e.match(/\${(.*?)}/);
|
|
339
|
+
return t ? t[1].split(".") : [];
|
|
340
|
+
}
|
|
341
|
+
function getModelFieldFromPageContext(e, t) {
|
|
342
|
+
if (!t.modelFieldsMap) return;
|
|
343
|
+
let n = null;
|
|
344
|
+
for (let o = 0; o < e.length; o++) {
|
|
345
|
+
const a = e[o];
|
|
346
|
+
o + 1 === e.length && (n = t.modelFieldsMap[a]);
|
|
347
|
+
}
|
|
348
|
+
return n;
|
|
349
|
+
}
|
|
350
|
+
function isNumberDataType(e) {
|
|
351
|
+
return "INTEGER" === e || "LONG" === e || "DOUBLE" === e || "FLOAT_COM" === e;
|
|
352
|
+
}
|
|
353
|
+
function isDateDataType(e) {
|
|
354
|
+
return "DATE" === (e = e ? e.toUpperCase() : "") || "TIME" === e || "DATETIME" === e || "TIMESTAMP" === e;
|
|
355
|
+
}
|
|
356
|
+
export {
|
|
357
|
+
autoSetAfterSelect,
|
|
358
|
+
caculateShowCondition,
|
|
359
|
+
decomposeVariable,
|
|
360
|
+
formatValueByType,
|
|
361
|
+
formatVariableValue,
|
|
362
|
+
getChartDatasFromPage,
|
|
363
|
+
getComponentOptionConfigs,
|
|
364
|
+
getComponentOptionConfigsBase,
|
|
365
|
+
getComponentOptionDatasFromPage,
|
|
366
|
+
getFormPropName,
|
|
367
|
+
getModelFieldFromPageContext,
|
|
368
|
+
getOptionDatasFromPage,
|
|
369
|
+
getOptionDatasSourceMap,
|
|
370
|
+
getParamNames,
|
|
371
|
+
getSizeConfig,
|
|
372
|
+
getValueFromSource,
|
|
373
|
+
getValueFromVariable,
|
|
374
|
+
getVariableValue,
|
|
375
|
+
isDateDataType,
|
|
376
|
+
isNumberDataType,
|
|
377
|
+
isPromise,
|
|
378
|
+
monitorFieldChange,
|
|
379
|
+
queryOptionDatasources,
|
|
380
|
+
setValueForVariableName,
|
|
381
|
+
setVariableValue,
|
|
382
|
+
setVariableValueWithProp,
|
|
383
|
+
updateChartDatasources,
|
|
384
|
+
updateChartDatasourcesByComponent,
|
|
385
|
+
updateOptionDatasources
|
|
386
|
+
};
|