super-page-runtime 2.3.21 → 2.3.22-tmp2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/{anchor-util.js → anchor-util.mjs} +5 -5
- package/dist/es/components/runtime/utils/api/api-util.mjs +4 -0
- package/dist/es/components/runtime/utils/api/{page-expose-util.js → page-expose-util.mjs} +26 -27
- package/dist/es/components/runtime/utils/assemblys-config.mjs +20 -0
- package/dist/es/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.mjs} +4 -4
- package/dist/es/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.mjs} +9 -9
- package/dist/es/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.mjs} +11 -11
- package/dist/es/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.mjs} +4 -4
- package/dist/es/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.mjs} +12 -12
- package/dist/es/components/runtime/utils/charts/{chart-util.js → chart-util.mjs} +13 -13
- package/dist/es/components/runtime/utils/{common-util.js → common-util.mjs} +13 -14
- package/dist/es/components/runtime/utils/events/{event-util.js → event-util.mjs} +94 -95
- package/dist/es/components/runtime/utils/events/{print-label.js → print-label.mjs} +2 -2
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1166 -0
- package/dist/es/components/runtime/utils/events/{validator-util.js → validator-util.mjs} +35 -37
- package/dist/es/components/runtime/utils/form/scan-util.mjs +93 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +386 -0
- package/dist/es/components/runtime/utils/{page-init-util.js → page-init-util.mjs} +102 -104
- package/dist/es/components/runtime/utils/{page-store.js → page-store.mjs} +7 -7
- package/dist/es/components/runtime/utils/{store-util.js → store-util.mjs} +1 -1
- package/dist/es/components/runtime/utils/{table-utils.js → table-utils.mjs} +16 -16
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime.vue2.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue.js → buttongroup-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime.vue2.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue.js → common-chart-header.vue.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue.js → gauge-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue.js → pie-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue.js → radar-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue.js → scatter-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/{chart-table-util.js → chart-table-util.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue.js → group-column-item.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue.js → group-column.vue.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue.js → normal-column.vue.mjs} +13 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue.js → event-call-component.vue.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue.js → export-form-report-dialog.vue.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue.js → file-task-notice.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue.js → remove-signer-dialog.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue.js → remove-transactor-dialog.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue.js → save-chart-condition-dialog.vue.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue.js → card-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue.js → FixedBox.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue.js → YxAffix.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue.js → tabs-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime.vue2.js → tabs-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue.js → tools-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime.vue2.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime.vue2.mjs} +19 -19
- package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue.js → main-table-runtime.vue.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue.js → sub-table-runtime.vue.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime.vue2.mjs} +31 -31
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime.vue2.js → tree-runtime.vue2.mjs} +31 -31
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue.js → title-suffix-element.vue.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime.vue2.mjs} +14 -14
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/{datepicker-runtime.vue2.js → datepicker-runtime.vue2.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime.vue2.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime.vue2.mjs} +5 -5
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime.vue2.mjs} +20 -22
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/{inputtext-runtime.vue2.js → inputtext-runtime.vue2.mjs} +33 -34
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue.js → label-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue.js → placeholder-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime.vue2.mjs} +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime.vue2.mjs} +8 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/{richtext-runtime.vue2.js → richtext-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime.vue2.mjs} +10 -10
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime.vue2.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime.vue2.mjs} +15 -15
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue.js → home-chart-render.vue.mjs} +11 -11
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/{object-render.vue.js → object-render.vue.mjs} +15 -15
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue.js → workflow-opinion-box.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box.vue2.js → workflow-opinion-box.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue.js → extract-workflow-runtime-dialog.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog.vue2.js → extract-workflow-runtime-dialog.vue2.mjs} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue.js → extract-workflow-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime.vue2.js → extract-workflow-runtime.vue2.mjs} +6 -6
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime.vue2.mjs} +9 -9
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime.vue2.mjs} +7 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue.js → workflowbutton-runtime.vue.mjs} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime.vue2.mjs} +4 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +18 -0
- package/dist/es/components/runtime/views/{home-chart.vue.js → home-chart.vue.mjs} +8 -8
- package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/{super-page-dialog.vue.js → super-page-dialog.vue.mjs} +1 -1
- package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/{super-page.vue2.js → super-page.vue2.mjs} +90 -94
- package/dist/es/{index.js → index.mjs} +12 -12
- package/dist/es/style.css +136 -136
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +6 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +2 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +2 -0
- package/dist/lib/assets/folder.png.cjs +2 -0
- package/dist/lib/components/runtime/index.d.ts +5 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +13 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +62 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +3 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +169 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +16 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +10 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +137 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +34 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +78 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +52 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +43 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +244 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +91 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +3 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +345 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +92 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +97 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1101 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +99 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +296 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +25 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +34 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/{es/components/runtime/utils/form/scan-util.js → lib/components/runtime/utils/form/scan-util.cjs} +6 -9
- package/dist/lib/components/runtime/utils/global-refs.cjs +42 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +11 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +4 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +247 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +354 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +174 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +244 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +26 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +50 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +11 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +3 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +68 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +41 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +11 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +11 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +53 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +48 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +34 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +24 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +402 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +6 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +13 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +249 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +16 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +32 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +32 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +19 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +12 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +21 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +13 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +30 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +15 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +21 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +15 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +27 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +15 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +12 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +88 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +43 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +59 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +382 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +322 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +81 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +124 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +57 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +35 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +57 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +91 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +47 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +65 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +70 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +31 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +26 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +13 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +75 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +188 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +130 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +11 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +29 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +38 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +73 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +132 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +23 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +23 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +34 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +17 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +20 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +14 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +38 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart.vue2.cjs +3 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +23 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +3 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +5 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
- package/dist/lib/components/runtime/views/super-page.vue2.cjs +264 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +2 -0
- package/dist/lib/i18n/langs/en.cjs +2 -0
- package/dist/lib/index.cjs +6 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +996 -0
- package/dist/umd/favicon.ico +0 -0
- package/dist/umd/index.full.min.js +7429 -0
- package/dist/umd/style.css +996 -0
- package/package.json +5 -4
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/api/api-util.js +0 -4
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1169
- package/dist/es/components/runtime/utils/i18n-util.js +0 -14
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -387
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -14
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -18
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es.zip +0 -0
- /package/dist/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
- /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
- /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{barcode-util.js → barcode-util.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{eventBus.js → eventBus.mjs} +0 -0
- /package/dist/es/components/runtime/utils/form/{date-shortcuts.js → date-shortcuts.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{global-refs.js → global-refs.mjs} +0 -0
- /package/dist/es/components/runtime/utils/interfaces/{page-design-types.js → page-design-types.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue.js → common-chart-header-breadcrumb.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue.js → common-chart-header-group.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue.js → table-pageination.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue.js → remove-signer-table.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue.js → task-informition-dialog.vue.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox.vue2.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix.vue2.mjs} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render.vue.js → error-render.vue.mjs} +0 -0
- /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
- /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const e = require("agilebuilder-ui"), t = require("./standard-event.cjs"), n = require("./validator-util.cjs"), o = require("../global-refs.cjs"), i = require("element-plus"), r = require("../common-util.cjs"), u = require("../eventBus.cjs"), c = require("../page-helper-util.cjs"), l = require("../table-utils.cjs"), s = ["downloadTemplate", "back", "exportForm", "exportPDF", "lineEditCreate", "workflowSave"], a = ["downloadTemplate", "exportForm", "exportPDF", "export", "exportCharts"], f = ["import"];
|
|
4
|
+
function p(e2, t2) {
|
|
5
|
+
if (e2.customEvents) return e2.customEvents[t2];
|
|
6
|
+
}
|
|
7
|
+
function d(e2, t2) {
|
|
8
|
+
e2.get = function(e3) {
|
|
9
|
+
return e3 ? o.getComponentRefByCode(t2, e3) : void 0;
|
|
10
|
+
}, e2.getByUuid = function(e3) {
|
|
11
|
+
return e3 ? o.getComponentRef(t2, e3) : void 0;
|
|
12
|
+
}, e2.getPageContext = function() {
|
|
13
|
+
return t2;
|
|
14
|
+
}, e2.getContextValue = function(e3) {
|
|
15
|
+
let n2 = t2 && t2.entity ? t2.entity.context : null;
|
|
16
|
+
return n2 = n2 || {}, c.getValueFromSource(n2, e3, "context");
|
|
17
|
+
}, e2.getContext = function() {
|
|
18
|
+
return t2 && t2.entity ? t2.entity.context : {};
|
|
19
|
+
}, e2.getSystem = function() {
|
|
20
|
+
return t2 && t2.entity ? t2.entity.system : {};
|
|
21
|
+
}, e2.getTask = function() {
|
|
22
|
+
return t2 && t2.entity ? t2.entity.task : {};
|
|
23
|
+
}, e2.getRequest = function() {
|
|
24
|
+
return t2 && t2.entity ? t2.entity.request : {};
|
|
25
|
+
}, e2.getPage = function() {
|
|
26
|
+
return t2 && t2.entity ? t2.entity.page : {};
|
|
27
|
+
}, e2.getCustomFunc = function(e3) {
|
|
28
|
+
return p(t2, e3);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function g(e2, t2, n2, o2, i2) {
|
|
32
|
+
return C(e2, t2, n2, o2, true, i2, false);
|
|
33
|
+
}
|
|
34
|
+
function m(e2, t2, n2, o2, i2) {
|
|
35
|
+
var _a, _b;
|
|
36
|
+
if (o2 && "change" === o2) {
|
|
37
|
+
const e3 = t2.subTableWatchProps;
|
|
38
|
+
if (e3) for (const t3 in e3) {
|
|
39
|
+
const o3 = e3[t3], i3 = (_b = (_a = n2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop;
|
|
40
|
+
o3 && o3.indexOf(i3) >= 0 && u.$emit("_refreshSubTable_" + t3, { propName: i3 });
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return C(e2, t2, n2, o2, true, i2, true);
|
|
44
|
+
}
|
|
45
|
+
function v(e2, t2, n2, o2, i2) {
|
|
46
|
+
return C(e2, t2, n2, o2, false, i2, false);
|
|
47
|
+
}
|
|
48
|
+
function C(n2, o2, i2, r2, u2, c2, l2) {
|
|
49
|
+
const s2 = i2 && i2.runtime && i2.runtime.events ? i2.runtime.events : [];
|
|
50
|
+
let a2;
|
|
51
|
+
if (l2 || !function(e2) {
|
|
52
|
+
return e2 && x.indexOf(e2) >= 0;
|
|
53
|
+
}(r2)) {
|
|
54
|
+
if (a2 = P(o2, s2, r2), u2) {
|
|
55
|
+
return T(o2, i2, a2, k(o2, i2, n2, c2));
|
|
56
|
+
}
|
|
57
|
+
return a2;
|
|
58
|
+
}
|
|
59
|
+
!function(n3, o3, i3) {
|
|
60
|
+
const r3 = t.judgeDataNumber(o3, i3.ids);
|
|
61
|
+
if (!r3) return;
|
|
62
|
+
if (void 0 !== n3.canClick && false === n3.canClick) return;
|
|
63
|
+
R(i3).then((t2) => {
|
|
64
|
+
if (true === t2.canExecute) {
|
|
65
|
+
n3.clickUuid = o3.uuid, n3.canClick = false;
|
|
66
|
+
const t3 = o3.runtime && o3.runtime.events ? o3.runtime.events : [], r4 = P(n3, t3, "beforeValidateForm");
|
|
67
|
+
let u3;
|
|
68
|
+
if (r4 && (u3 = T(n3, o3, r4, i3)), void 0 === u3 && (u3 = true), !u3) return void (n3.canClick = true);
|
|
69
|
+
e.isPromise(u3) ? u3.then((e2) => {
|
|
70
|
+
e2 && true === e2 ? h(n3, o3, i3) : n3.canClick = true;
|
|
71
|
+
}).catch((e2) => {
|
|
72
|
+
n3.canClick = true;
|
|
73
|
+
}) : h(n3, o3, i3);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}(o2, i2, E(n2, o2, i2, c2));
|
|
77
|
+
}
|
|
78
|
+
const x = ["click", "suffixClick", "prefixClick", "menuClick"];
|
|
79
|
+
function b(e2, t2) {
|
|
80
|
+
return t2.props.base.tableUuid ? t2.props.base.tableUuid : e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null;
|
|
81
|
+
}
|
|
82
|
+
function k(e2, t2, n2, o2) {
|
|
83
|
+
const i2 = {};
|
|
84
|
+
if (o2) for (const e3 in o2) i2[e3] = o2[e3];
|
|
85
|
+
return null != n2 && (i2._value = n2), e2 && (i2.pageContext = e2), t2 && (i2.configureObj = t2), i2;
|
|
86
|
+
}
|
|
87
|
+
function h(t2, o2, i2) {
|
|
88
|
+
const r2 = o2.runtime && o2.runtime.events ? o2.runtime.events : [];
|
|
89
|
+
let u2 = true;
|
|
90
|
+
(i2 == null ? void 0 : i2.skipValidate) && (u2 = false);
|
|
91
|
+
const c2 = F(t2, r2, "click");
|
|
92
|
+
if (c2) {
|
|
93
|
+
const e2 = function(e3, t3) {
|
|
94
|
+
return e3 && s.includes(t3.eventName);
|
|
95
|
+
}(c2.isStandard, c2.event);
|
|
96
|
+
e2 && (u2 = false);
|
|
97
|
+
}
|
|
98
|
+
n.validateDataModelFunc(t2, o2, u2).then((n2) => {
|
|
99
|
+
if (!n2) return void (t2.canClick = true);
|
|
100
|
+
const r3 = j(t2, o2, i2);
|
|
101
|
+
r3 ? e.isPromise(r3) ? r3.then((e2) => {
|
|
102
|
+
e2 ? S(t2, o2, c2, i2) : t2.canClick = true;
|
|
103
|
+
}).catch((e2) => {
|
|
104
|
+
console.error(e2), t2.canClick = true;
|
|
105
|
+
}) : S(t2, o2, c2, i2) : t2.canClick = true;
|
|
106
|
+
}).catch((e2) => {
|
|
107
|
+
console.error(e2), t2.canClick = true;
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
function E(e2, t2, n2, i2) {
|
|
111
|
+
const u2 = t2.code, c2 = t2.version, l2 = b(t2, n2);
|
|
112
|
+
if (l2) {
|
|
113
|
+
const e3 = o.getComponentRef(t2, l2), n3 = e3 ? e3.getSelections() : null, s2 = e3 ? e3.getSelectionIds() : null;
|
|
114
|
+
i2 || (i2 = {}), i2.tableUuid = l2, i2.listCode = r.getListCode(u2, c2, l2);
|
|
115
|
+
y(t2) && (i2.selections = n3, i2.id = s2 && s2.length > 0 ? s2[0] : null, i2.ids = s2);
|
|
116
|
+
const a2 = e3 ? e3.getTableConfigure() : null;
|
|
117
|
+
i2.tableConfigure = a2;
|
|
118
|
+
}
|
|
119
|
+
return k(t2, n2, e2, i2);
|
|
120
|
+
}
|
|
121
|
+
function j(e2, t2, n2) {
|
|
122
|
+
const o2 = P(e2, t2.runtime && t2.runtime.events ? t2.runtime.events : [], "beforeClick");
|
|
123
|
+
let i2;
|
|
124
|
+
return o2 && (i2 = T(e2, t2, o2, null, n2)), void 0 === i2 || i2;
|
|
125
|
+
}
|
|
126
|
+
function O(e2, t2, n2) {
|
|
127
|
+
const o2 = e2.code + "_";
|
|
128
|
+
u.$emit(o2 + "open-dialog", { pageContext: e2, configureObj: t2, eventParams: n2 });
|
|
129
|
+
}
|
|
130
|
+
function y(e2, t2) {
|
|
131
|
+
return !(!e2.pageType || "list" !== e2.pageType);
|
|
132
|
+
}
|
|
133
|
+
function w(e2, n2, o2, i2, r2, u2) {
|
|
134
|
+
i2 ? (e2.result = r2, e2.canClick = true) : t.dealAfterOperate(e2, n2, r2, "", u2);
|
|
135
|
+
const c2 = P(e2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], "afterClick");
|
|
136
|
+
c2 && T(e2, n2, c2, o2);
|
|
137
|
+
}
|
|
138
|
+
function S(t2, n2, o2, i2) {
|
|
139
|
+
let u2 = n2, c2 = n2.props.linkPage;
|
|
140
|
+
if (c2 && c2 instanceof Array) {
|
|
141
|
+
const e2 = function(e3) {
|
|
142
|
+
let t3 = e3 ? e3.row : null;
|
|
143
|
+
t3 || (t3 = e3 && e3.selections && e3.selections.length > 0 ? e3.selections[0] : null);
|
|
144
|
+
return t3;
|
|
145
|
+
}(i2), o3 = l.expressJump(t2, n2, c2, e2);
|
|
146
|
+
let s2, a2 = false;
|
|
147
|
+
o3 && (a2 = o3.show, s2 = a2 ? o3.toPage : null), c2 = s2 ? s2.linkPage : null, c2 && (u2 = r.deepCopy(n2), u2.props.linkPage = c2);
|
|
148
|
+
}
|
|
149
|
+
c2 && c2.jumpPageUrl ? (t2.canClick = true, O(t2, u2, i2)) : function(t3, n3, o3, i3) {
|
|
150
|
+
const r2 = o3, u3 = y(t3);
|
|
151
|
+
if (r2) {
|
|
152
|
+
const o4 = r2.func, c3 = r2.isStandard, l2 = r2.event, s2 = T(t3, n3, o4, i3);
|
|
153
|
+
if (function(e2, t4) {
|
|
154
|
+
return e2 && ("exportForm" === t4.eventName || "exportPDF" === t4.eventName || "import" === t4.eventName || "assign" === t4.eventName || "copyTask" === t4.eventName || "addSigner" === t4.eventName || "returnTaskTo" === t4.eventName || "removeSigner" === t4.eventName || "saveQueryCharts" === t4.eventName || "addTransactor" === t4.eventName || "removeTransactor" === t4.eventName);
|
|
155
|
+
}(c3, l2)) return void (t3.canClick = true);
|
|
156
|
+
e.isPromise(s2) ? s2.then((e2) => {
|
|
157
|
+
e2 ? w(t3, n3, i3, c3, e2, u3) : t3.canClick = true;
|
|
158
|
+
}).catch((e2) => {
|
|
159
|
+
console.error(e2), t3.canClick = true;
|
|
160
|
+
}) : w(t3, n3, i3, c3, s2, u3);
|
|
161
|
+
} else w(t3, n3, i3, false, null, u3);
|
|
162
|
+
}(t2, n2, o2, i2);
|
|
163
|
+
}
|
|
164
|
+
function N(e2, t2) {
|
|
165
|
+
const n2 = e2.customEvents;
|
|
166
|
+
if (n2 && t2) {
|
|
167
|
+
let e3 = "";
|
|
168
|
+
return e3 = "object" == typeof t2 ? t2.componentUuid + "_" + t2.name : t2, n2[e3];
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function P(e2, n2, o2) {
|
|
172
|
+
if (n2 && o2) {
|
|
173
|
+
const i2 = n2.filter((e3) => e3.name === o2);
|
|
174
|
+
if (i2 && i2.length > 0) {
|
|
175
|
+
const n3 = i2[0];
|
|
176
|
+
return n3.isStandard ? t.standardEvents[n3.eventName] : N(e2, n3);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
function F(e2, n2, o2) {
|
|
181
|
+
if (n2 && o2) {
|
|
182
|
+
const i2 = n2.filter((e3) => e3.name === o2);
|
|
183
|
+
if (i2 && i2.length > 0) {
|
|
184
|
+
const n3 = i2[0];
|
|
185
|
+
return n3.isStandard ? { func: t.standardEvents[n3.eventName], isStandard: true, event: n3 } : { func: N(e2, n3), isStandard: false, event: n3 };
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
function T(e2, t2, n2, o2, i2) {
|
|
190
|
+
if (n2) {
|
|
191
|
+
if (o2 || (o2 = { pageContext: e2, configureObj: t2 }), i2 && o2) for (const e3 in i2) o2[e3] = i2[e3];
|
|
192
|
+
return n2.apply(n2, [o2]);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
function R(n2) {
|
|
196
|
+
const o2 = n2.pageContext, r2 = n2.configureObj, u2 = y(o2);
|
|
197
|
+
let c2 = [];
|
|
198
|
+
if (u2) o2.editData ? c2.push(o2.editData) : c2 = n2.selections;
|
|
199
|
+
else {
|
|
200
|
+
const e2 = o2.entity.data;
|
|
201
|
+
c2.push(e2);
|
|
202
|
+
}
|
|
203
|
+
const l2 = r2.props.base.condition;
|
|
204
|
+
return new Promise((n3, r3) => {
|
|
205
|
+
if (null == l2 || "" === l2 || null == c2 || 0 === c2.length) n3({ canExecute: true });
|
|
206
|
+
else {
|
|
207
|
+
const r4 = o2.entity.context, u3 = t.getAdditionalParamMap(o2), s2 = true, a2 = o2.tableName;
|
|
208
|
+
let f2, p2, d2 = true;
|
|
209
|
+
for (let t2 = 0; t2 < c2.length; t2++) {
|
|
210
|
+
const n4 = c2[t2];
|
|
211
|
+
for (let t3 = 0; t3 < l2.length; t3++) {
|
|
212
|
+
const i2 = l2[t3], c3 = i2.toolTips, g2 = i2.conditionList;
|
|
213
|
+
if (!e.analysisCondition(g2, n4, u3, r4, s2, a2, null, o2)) {
|
|
214
|
+
d2 = false, f2 = c3, p2 = n4;
|
|
215
|
+
break;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
d2 ? n3({ canExecute: true }) : (f2 && i.ElMessage({ showClose: true, type: "warning", message: f2 }), n3({ canExecute: false, message: f2, failEntity: p2 }));
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
function D(e2, t2, n2) {
|
|
224
|
+
t2 && (n2[e2] = t2);
|
|
225
|
+
}
|
|
226
|
+
exports.appendDefaultMethods = d, exports.canExecuteButton = R, exports.cellClick = function(e2, t2, n2) {
|
|
227
|
+
return g(null, e2, t2, "cell-click", n2);
|
|
228
|
+
}, exports.cellDblClick = function(e2, t2, n2) {
|
|
229
|
+
return g(null, e2, t2, "cell-dblclick", n2);
|
|
230
|
+
}, exports.doAfterClickEvent = function(t2, n2, o2) {
|
|
231
|
+
const i2 = n2.runtime && n2.runtime.events ? n2.runtime.events : [], r2 = P(t2, i2, "afterClick");
|
|
232
|
+
if (r2) {
|
|
233
|
+
const i3 = T(t2, n2, r2, null, o2);
|
|
234
|
+
e.isPromise(i3) ? i3.finally(() => {
|
|
235
|
+
t2.canClick = true;
|
|
236
|
+
}) : t2.canClick = true;
|
|
237
|
+
} else t2.canClick = true;
|
|
238
|
+
}, exports.doBeforeClickEvent = j, exports.doClickJumpPageEvent = O, exports.doSuffixOrPrefixClickEvent = function(e2, t2, n2, o2, i2) {
|
|
239
|
+
const r2 = E(e2, t2, n2, i2);
|
|
240
|
+
S(t2, n2, F(t2, n2.runtime && n2.runtime.events ? n2.runtime.events : [], o2), r2);
|
|
241
|
+
}, exports.fileUploadBeforeUpload = function(e2) {
|
|
242
|
+
return v(null, e2.pageContext, e2.configureObj, "before-upload", e2);
|
|
243
|
+
}, exports.getClickEventFuncByType = F, exports.getCustomFunc = p, exports.getEventFuncByType = P, exports.getEventNameByType = function(e2, t2) {
|
|
244
|
+
if (e2 && t2) {
|
|
245
|
+
const n2 = e2.filter((e3) => e3.name === t2);
|
|
246
|
+
if (n2 && n2.length > 0) {
|
|
247
|
+
return n2[0].eventName;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}, exports.getHandleEvent = v, exports.getTableUuid = b, exports.gridSelectAllRecords = function(e2, t2, n2) {
|
|
251
|
+
return g(null, e2, t2, "select-all", n2);
|
|
252
|
+
}, exports.gridSelectRecord = function(e2, t2, n2) {
|
|
253
|
+
return g(null, e2, t2, "select", n2);
|
|
254
|
+
}, exports.gridSelectionChange = function(e2, t2, n2) {
|
|
255
|
+
return g(null, e2, t2, "selection-change", n2);
|
|
256
|
+
}, exports.handleAfterInitEvent = function(e2, t2, n2, o2) {
|
|
257
|
+
return m(e2, t2, n2, "afterInit", o2);
|
|
258
|
+
}, exports.handleChartEvent = function(e2, t2, n2, o2, i2) {
|
|
259
|
+
return T(e2, t2, P(e2, t2 && t2.runtime && t2.runtime.events ? t2.runtime.events : [], n2), { configure: t2, pageContext: e2, chartOption: o2, ...i2 });
|
|
260
|
+
}, exports.handleEvent = g, exports.handleFormEvent = m, exports.headerClick = function(e2, t2, n2) {
|
|
261
|
+
return g(null, e2, t2, "header-click", n2);
|
|
262
|
+
}, exports.initPageEvents = function(e2, t2) {
|
|
263
|
+
if (e2 && e2.customEvents) {
|
|
264
|
+
const n2 = function(e3) {
|
|
265
|
+
const t3 = {};
|
|
266
|
+
return e3.forEach((e4) => {
|
|
267
|
+
if (!e4.isStandard && e4.jsContent) if ("customFunc" === e4.name) {
|
|
268
|
+
let n3 = null;
|
|
269
|
+
if (e4.funcParam) {
|
|
270
|
+
const t4 = e4.funcParam.split(",");
|
|
271
|
+
n3 = new Function(t4, e4.jsContent);
|
|
272
|
+
} else n3 = new Function(e4.jsContent);
|
|
273
|
+
t3[e4.eventName] = n3;
|
|
274
|
+
} else {
|
|
275
|
+
let n3 = e4.componentUuid + "_";
|
|
276
|
+
n3 += e4.name, t3[n3] = new Function("params", e4.jsContent);
|
|
277
|
+
}
|
|
278
|
+
}), t3;
|
|
279
|
+
}(e2.customEvents);
|
|
280
|
+
!function(e3, t3) {
|
|
281
|
+
if (!t3) return;
|
|
282
|
+
for (const n3 in t3) {
|
|
283
|
+
d(t3[n3], e3);
|
|
284
|
+
}
|
|
285
|
+
}(t2, n2), t2.customEvents = n2;
|
|
286
|
+
}
|
|
287
|
+
}, exports.isShowComponent = function(t2) {
|
|
288
|
+
let n2 = true;
|
|
289
|
+
if (!e.isMobileBrowser()) {
|
|
290
|
+
const e2 = t2 && t2.events ? t2.events : [];
|
|
291
|
+
if (e2) {
|
|
292
|
+
const t3 = e2.filter((e3) => "click" === e3.name && e3.isStandard && e3.eventName && "showSearch" === e3.eventName);
|
|
293
|
+
t3 && t3.length > 0 && (n2 = false);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
return n2;
|
|
297
|
+
}, exports.isShowMobileEvent = function(t2, n2) {
|
|
298
|
+
let o2 = true;
|
|
299
|
+
if (e.isMobileBrowser()) {
|
|
300
|
+
const e2 = F(t2, n2 && n2.runtime && n2.runtime.events ? n2.runtime.events : [], "click");
|
|
301
|
+
if (e2) {
|
|
302
|
+
const t3 = e2.isStandard, n3 = e2.event, i2 = navigator ? navigator.userAgent : null;
|
|
303
|
+
t3 && i2 && (i2.indexOf(" uni-app ") > 0 ? (a.includes(n3.eventName) || f.includes(n3.eventName)) && (o2 = false) : f.includes(n3.eventName) && (o2 = false));
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
return o2;
|
|
307
|
+
}, exports.removeCustomFuncFromWindow = function(e2) {
|
|
308
|
+
if (e2 && e2.customEvents) {
|
|
309
|
+
const t2 = e2.customEvents.filter((e3) => "customFunc" === e3.name && e3.jsContent);
|
|
310
|
+
t2 && t2.length > 0 && t2.forEach((e3) => {
|
|
311
|
+
delete window["$page_" + e3.eventName];
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
}, exports.rowClick = function(e2, t2, n2) {
|
|
315
|
+
return g(null, e2, t2, "row-click", n2);
|
|
316
|
+
}, exports.rowDblClick = function(e2, t2, n2) {
|
|
317
|
+
return g(null, e2, t2, "row-dblclick", n2);
|
|
318
|
+
}, exports.setTableEvents = function(e2, t2, n2, o2) {
|
|
319
|
+
var i2;
|
|
320
|
+
t2 && (D("loadBeforeSend", v(null, (i2 = { pageContext: n2, configureObj: o2 }).pageContext, i2.configureObj, "beforeListLoad", i2), e2), D("beforeRequest", function(e3) {
|
|
321
|
+
return v(null, e3.pageContext, e3.configureObj, "beforeRequest", e3);
|
|
322
|
+
}({ pageContext: n2, configureObj: o2 }), e2), D("gridDataLoaded", function(e3) {
|
|
323
|
+
return v(null, e3.pageContext, e3.configureObj, "onListLoad", e3);
|
|
324
|
+
}({ pageContext: n2, configureObj: o2 }), e2), D("gridComplete", function(e3) {
|
|
325
|
+
return v(null, e3.pageContext, e3.configureObj, "afterListLoad", e3);
|
|
326
|
+
}({ pageContext: n2, configureObj: o2 }), e2), D("resizeHeight", function(e3) {
|
|
327
|
+
return v(null, e3.pageContext, e3.configureObj, "resizeTableHeight", e3);
|
|
328
|
+
}({ pageContext: n2, configureObj: o2 }), e2), e2.lineEditOptions || (e2.lineEditOptions = {}), D("beforeInsertRow", function(e3) {
|
|
329
|
+
return v(null, e3.pageContext, e3.configureObj, "beforeAddRow", e3);
|
|
330
|
+
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("afterInsertRow", function(e3) {
|
|
331
|
+
return v(null, e3.pageContext, e3.configureObj, "afterAddRow", e3);
|
|
332
|
+
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeDelete", function(e3) {
|
|
333
|
+
return v(null, e3.pageContext, e3.configureObj, "beforeRemoveRow", e3);
|
|
334
|
+
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("afterDelete", function(e3) {
|
|
335
|
+
return v(null, e3.pageContext, e3.configureObj, "afterRemoveRow", e3);
|
|
336
|
+
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeEdit", function(e3) {
|
|
337
|
+
return v(null, e3.pageContext, e3.configureObj, "beforeEdit", e3);
|
|
338
|
+
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeRestore", function(e3) {
|
|
339
|
+
return v(null, e3.pageContext, e3.configureObj, "beforeRestore", e3);
|
|
340
|
+
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), D("beforeRestoreValidate", function(e3) {
|
|
341
|
+
return v(null, e3.pageContext, e3.configureObj, "beforeRestoreValidate", e3);
|
|
342
|
+
}({ pageContext: n2, configureObj: o2 }), e2.lineEditOptions), function(e3, t3, n3) {
|
|
343
|
+
t3 && (n3[e3] = t3);
|
|
344
|
+
}("filterDataEvent", v(null, n2, o2, "filter-data", { pageContext: n2, configureObj: o2 }), e2));
|
|
345
|
+
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { PageDesign, Component, PageContext } from '../interfaces/page-design-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 缓存页面事件,并转为Function对象,并绑定自定义方法到window对象上
|
|
5
|
+
* @param pageDesign
|
|
6
|
+
*/
|
|
7
|
+
export declare function initPageEvents(pageDesign: PageDesign, pageContext: PageContext): void;
|
|
8
|
+
/**
|
|
9
|
+
* 获取自定义方法
|
|
10
|
+
* @param pageContext
|
|
11
|
+
* @param funcName
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export declare function getCustomFunc(pageContext: PageContext, funcName: any): any;
|
|
15
|
+
/**
|
|
16
|
+
* 为功能添加默认的方法
|
|
17
|
+
* @param func 函数
|
|
18
|
+
* @param pageContext
|
|
19
|
+
*/
|
|
20
|
+
export declare function appendDefaultMethods(func: any, pageContext: PageContext): void;
|
|
21
|
+
/**
|
|
22
|
+
* 页面销毁时,将window上注册的函数移除掉
|
|
23
|
+
* @param pageDesign
|
|
24
|
+
*/
|
|
25
|
+
export declare function removeCustomFuncFromWindow(pageDesign: PageDesign): void;
|
|
26
|
+
export declare function handleEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
27
|
+
export declare function handleFormEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
28
|
+
export declare function handleAfterInitEvent($event: any, pageContext: PageContext, configure: Component, otherParams?: object): any;
|
|
29
|
+
export declare function getHandleEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
30
|
+
export declare function getTableUuid(pageContext: PageContext, configure: Component): any;
|
|
31
|
+
export declare function handleEventByEventName(pageContext: PageContext, configure: Component, eventName: string, otherParams?: object): any;
|
|
32
|
+
export declare function doSuffixOrPrefixClickEvent($event: any, pageContext: PageContext, configure: Component, eventType: any, otherParams?: object): void;
|
|
33
|
+
export declare function doBeforeClickEvent(pageContext: PageContext, configure: Component, otherParams?: object): any;
|
|
34
|
+
/**
|
|
35
|
+
* TODO: 跳转页面功能
|
|
36
|
+
* 跳转页面功能
|
|
37
|
+
* @param $event
|
|
38
|
+
* @param pageContext
|
|
39
|
+
* @param configure
|
|
40
|
+
*/
|
|
41
|
+
export declare function doClickJumpPageEvent(pageContext: PageContext, configure: Component, eventParams: object): void;
|
|
42
|
+
export declare function doAfterClickEvent(pageContext: PageContext, configure: Component, otherParams?: object): void;
|
|
43
|
+
/**
|
|
44
|
+
* 获得事件Function对象
|
|
45
|
+
* @param events 该组件所有事件集合
|
|
46
|
+
* @param eventType change、click等事件类型
|
|
47
|
+
*/
|
|
48
|
+
export declare function getEventFuncByType(pageContext: PageContext, events: Array<any>, eventType: string): any;
|
|
49
|
+
/**
|
|
50
|
+
* 根据事件类型,获得事件名称
|
|
51
|
+
* @param events
|
|
52
|
+
* @param eventType
|
|
53
|
+
* @returns
|
|
54
|
+
*/
|
|
55
|
+
export declare function getEventNameByType(events: Array<any>, eventType: string): any;
|
|
56
|
+
/**
|
|
57
|
+
* 获得事件Function对象
|
|
58
|
+
* @param events 该组件所有事件集合
|
|
59
|
+
* @param eventType change、click等事件类型
|
|
60
|
+
*/
|
|
61
|
+
export declare function getClickEventFuncByType(pageContext: PageContext, events: Array<any>, eventType: string): {
|
|
62
|
+
func: any;
|
|
63
|
+
isStandard: boolean;
|
|
64
|
+
event: any;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* 按钮是否可执行条件解析
|
|
68
|
+
* @param params
|
|
69
|
+
* @returns
|
|
70
|
+
*/
|
|
71
|
+
export declare function canExecuteButton(params: any): Promise<unknown>;
|
|
72
|
+
export declare function canVisibleComponent(params: any): Promise<unknown>;
|
|
73
|
+
export declare function setTableEvents(options: any, tableEvents: any, pageContext: any, configureObj: any): void;
|
|
74
|
+
export declare function gridSelectRecord(pageContext: any, configureObj: any, params: any): any;
|
|
75
|
+
export declare function gridSelectAllRecords(pageContext: any, configureObj: any, params: any): any;
|
|
76
|
+
export declare function gridSelectionChange(pageContext: any, configureObj: any, params: any): any;
|
|
77
|
+
export declare function cellClick(pageContext: any, configureObj: any, params: any): any;
|
|
78
|
+
export declare function cellDblClick(pageContext: any, configureObj: any, params: any): any;
|
|
79
|
+
export declare function rowClick(pageContext: any, configureObj: any, params: any): any;
|
|
80
|
+
export declare function rowDblClick(pageContext: any, configureObj: any, params: any): any;
|
|
81
|
+
export declare function headerClick(pageContext: any, configureObj: any, params: any): any;
|
|
82
|
+
export declare function fileUploadBeforeUpload(params: any): any;
|
|
83
|
+
export declare function fileUploadUploaded(pageContext: any, configureObj: any, params: any): any;
|
|
84
|
+
export declare function fileUploadBeforeDelete(pageContext: any, configureObj: any, params: any): any;
|
|
85
|
+
export declare function fileUploadDeleted(pageContext: any, configureObj: any, params: any): any;
|
|
86
|
+
/**
|
|
87
|
+
* 当前按钮的点击事件是否是列表的 显示查询 事件。移动端时才需要显示这个按钮。
|
|
88
|
+
* @param configure 组件配置
|
|
89
|
+
*/
|
|
90
|
+
export declare function isShowComponent(configure: Component): boolean;
|
|
91
|
+
export declare function handleChartEvent(pageContext: PageContext, configure: Component, eventType: string, chartOption: object, otherParams?: object): any;
|
|
92
|
+
export declare function isShowMobileEvent(pageContext: PageContext, configure: Component): any;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const e = require("agilebuilder-ui"), t = require("vue-plugin-hiprint"), n = require("../barcode-util.cjs");
|
|
4
|
+
function o(o2, r2) {
|
|
5
|
+
e.http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/print-models/by-codes", [r2]).then((e2) => {
|
|
6
|
+
const r3 = JSON.parse(e2[0].template), i = [];
|
|
7
|
+
r3.panels.forEach((e3) => {
|
|
8
|
+
e3.printElements.forEach((e4) => {
|
|
9
|
+
"barcode" !== e4.options.textType && "qrcode" !== e4.options.textType || i.push(e4.options);
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
const p = new t.hiprint.PrintTemplate({ template: r3 }), l = { callback: () => {
|
|
13
|
+
}, styleHandler: () => "" }, c = { leftOffset: -1, topOffset: -1 }, u = {};
|
|
14
|
+
r3.panels[0].printElements.forEach((e3) => {
|
|
15
|
+
if ("datetime" === e3.options.dataType && e3.options.field) {
|
|
16
|
+
const t2 = e3.options.field.substring(6);
|
|
17
|
+
u[t2] = e3.options.dateFormat;
|
|
18
|
+
}
|
|
19
|
+
}), o2.pageContext.pageType ? "list" === o2.pageContext.pageType ? function(e3, t2, o3, a2, r4, i2) {
|
|
20
|
+
const p2 = JSON.parse(JSON.stringify(e3.selections));
|
|
21
|
+
if (p2.forEach((e4) => {
|
|
22
|
+
Object.keys(t2).forEach((t3) => {
|
|
23
|
+
if (e4[t3] && "number" == typeof e4[t3] && !isNaN(e4[t3])) try {
|
|
24
|
+
e4[t3] = new Date(e4[t3]);
|
|
25
|
+
} catch (e5) {
|
|
26
|
+
console.error(`日期格式化失败: ${e5}`);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}), o3.length > 0) {
|
|
30
|
+
const e4 = [];
|
|
31
|
+
o3.forEach((t3) => {
|
|
32
|
+
e4.push(function(e5, t4) {
|
|
33
|
+
return new Promise((o4, a3) => {
|
|
34
|
+
const r5 = e5.field.split("."), i3 = [];
|
|
35
|
+
r5.length < 2 && o4([]);
|
|
36
|
+
try {
|
|
37
|
+
s(r5[1]).then((e6) => {
|
|
38
|
+
t4.forEach((t5, o5) => {
|
|
39
|
+
const a4 = { type: r5[0], name: r5[1], value: null, index: o5 };
|
|
40
|
+
a4.value = n.generateCodeByRule(JSON.parse(e6.barcodeModelItems), t5), i3.push(a4);
|
|
41
|
+
}), o4(i3);
|
|
42
|
+
});
|
|
43
|
+
} catch (e6) {
|
|
44
|
+
console.error("获取条码规则失败:", e6), o4([]);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}(t3, p2));
|
|
48
|
+
}), Promise.all(e4).then((e5) => {
|
|
49
|
+
e5.forEach((e6) => {
|
|
50
|
+
e6.forEach((e7) => {
|
|
51
|
+
const t3 = e7.index, n2 = p2[t3];
|
|
52
|
+
n2[e7.type] || (n2[e7.type] = {}), n2[e7.type][e7.name] = e7.value;
|
|
53
|
+
});
|
|
54
|
+
}), a2.print(p2, r4, i2);
|
|
55
|
+
});
|
|
56
|
+
} else a2.print(p2, r4, i2);
|
|
57
|
+
}(o2, u, i, p, c, l) : "form" === o2.pageContext.pageType && a(o2, i, p, c, l) : a(o2, i, p, c, l);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
function a(e2, t2, o2, a2, r2) {
|
|
61
|
+
if (t2.length > 0) {
|
|
62
|
+
const i = [];
|
|
63
|
+
t2.forEach((t3) => {
|
|
64
|
+
i.push(function(e3, t4) {
|
|
65
|
+
return new Promise((o3, a3) => {
|
|
66
|
+
const r3 = t4.field.split("."), i2 = { type: null, name: null, value: null };
|
|
67
|
+
r3.length < 2 && o3(i2), i2.type = r3[0], i2.name = r3[1];
|
|
68
|
+
try {
|
|
69
|
+
s(i2.name).then((t5) => {
|
|
70
|
+
const a4 = JSON.parse(t5.barcodeModelItems);
|
|
71
|
+
i2.value = n.generateCodeByRule(a4, e3.entity.data), o3(i2);
|
|
72
|
+
});
|
|
73
|
+
} catch (e4) {
|
|
74
|
+
console.error("获取条码规则失败:", e4), o3(i2);
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
}(e2.pageContext, t3));
|
|
78
|
+
}), Promise.all(i).then((t3) => {
|
|
79
|
+
const n2 = {};
|
|
80
|
+
t3.forEach((e3) => {
|
|
81
|
+
e3.type && e3.name && e3.value && (n2[e3.type] || (n2[e3.type] = {}), n2[e3.type][e3.name] = e3.value);
|
|
82
|
+
});
|
|
83
|
+
const s2 = { table: {} };
|
|
84
|
+
Object.assign(s2, e2.pageContext.entity, n2), s2.table = e2.pageContext.entity.data, o2.print(s2, a2, r2);
|
|
85
|
+
});
|
|
86
|
+
} else {
|
|
87
|
+
const t3 = { table: {} };
|
|
88
|
+
Object.assign(t3, e2.pageContext.entity), t3.table = e2.pageContext.entity.data, o2.print(t3, a2, r2);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function s(t2) {
|
|
92
|
+
const n2 = encodeURIComponent(t2);
|
|
93
|
+
return e.http.get(window.$vueApp.config.globalProperties.baseAPI + `/dc/setting-barcode-models/by-name?name=${n2}`);
|
|
94
|
+
}
|
|
95
|
+
t.disAutoConnect();
|
|
96
|
+
const r = { printLabel: o };
|
|
97
|
+
exports.default = r, exports.printLabel = o;
|