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,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const e = require("../page-helper-util.cjs"), o = require("../common-util.cjs"), t = require("./chart-util.cjs"), r = require("../events/event-util.cjs");
|
|
4
|
+
exports.updateChartOption = function(s, a, l, n) {
|
|
5
|
+
if (!n || !n.result) return;
|
|
6
|
+
r.handleChartEvent(s, a, "beforeUpdateChart", l, { resultData: n }), t.setDefaultGrid(l);
|
|
7
|
+
const u = n && n.result ? n.result : {};
|
|
8
|
+
let i = n && n.groupValue ? n.groupValue : void 0;
|
|
9
|
+
const p = a.serviceDataField;
|
|
10
|
+
let c = null;
|
|
11
|
+
p ? c = u[p] : u && (c = Array.isArray(u) ? u : [u]), c || (c = []);
|
|
12
|
+
let f = a.props ? a.props.groups : null;
|
|
13
|
+
if (f || (f = []), !i || 0 === i.length) {
|
|
14
|
+
i = [];
|
|
15
|
+
for (const e2 of f) i.push(e2.group);
|
|
16
|
+
}
|
|
17
|
+
const m = {}, g = [], h = [];
|
|
18
|
+
for (const e2 of f) m[e2.group] = e2.target, e2.target && !g.includes(e2.target) && (g.push(e2.target), i.includes(e2.group) && h.push(e2.target));
|
|
19
|
+
let d = a.props ? a.props.mulGroupShow : "";
|
|
20
|
+
d = "break" == d ? "\r\n" : " ";
|
|
21
|
+
for (const o2 of c) {
|
|
22
|
+
if (!o2) continue;
|
|
23
|
+
const r2 = [];
|
|
24
|
+
for (const t2 of i) {
|
|
25
|
+
const s3 = m[t2], a2 = e.getValueFromSource(o2, s3, void 0);
|
|
26
|
+
a2 && r2.push(a2);
|
|
27
|
+
}
|
|
28
|
+
const s2 = r2.join(d);
|
|
29
|
+
o2[t.CommonName.X_FIELD_NAME] = s2;
|
|
30
|
+
}
|
|
31
|
+
const y = a.items ? a.items : [];
|
|
32
|
+
if (0 == y.length) return;
|
|
33
|
+
const v = a.props ? a.props : {};
|
|
34
|
+
let F = v.yaxisField;
|
|
35
|
+
if (y[0].props.yaxisField = F, y[0].props.yaxisSource = v.yaxisSource, y[0].props.formula = v.formula, "formula" === v.yaxisSource) {
|
|
36
|
+
const o2 = [], r2 = t.caculateFormulaValue(y, c, o2);
|
|
37
|
+
let a2 = v.formula ? v.formula : "";
|
|
38
|
+
for (const e2 in r2) a2 = a2.replace(new RegExp(e2.replace("$", "\\$"), "g"), r2[e2]);
|
|
39
|
+
F = t.CommonName.Y_TEMP_NAME;
|
|
40
|
+
const l2 = {};
|
|
41
|
+
for (const r3 of c) {
|
|
42
|
+
if (!r3) continue;
|
|
43
|
+
for (const t2 of o2) {
|
|
44
|
+
const o3 = e.getValueFromSource(r3, t2, void 0);
|
|
45
|
+
let s2 = l2[t2];
|
|
46
|
+
void 0 === o3 || isNaN(o3) || (void 0 === s2 ? s2 = o3 : s2 += o3), l2[t2] = s2;
|
|
47
|
+
}
|
|
48
|
+
const n2 = t.executeChartFormula(a2, l2, r3, s);
|
|
49
|
+
r3[F] = n2;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
y[0].props.yaxisField = F, y[0].props.yaxisSource = "", t.sortDatas(s, a, c), c = t.limitDatas(s, a, c, g, [F]);
|
|
53
|
+
const x = [], C = [];
|
|
54
|
+
for (const o2 of c) {
|
|
55
|
+
if (!o2) continue;
|
|
56
|
+
x.push(o2[t.CommonName.X_FIELD_NAME]);
|
|
57
|
+
const r2 = e.getValueFromSource(o2, F, void 0);
|
|
58
|
+
C.push(r2);
|
|
59
|
+
}
|
|
60
|
+
const S = a.defaultSeries;
|
|
61
|
+
let D = S[0].pieColors;
|
|
62
|
+
D = D || [];
|
|
63
|
+
let E = S[0].pieColorMap;
|
|
64
|
+
E = E || {};
|
|
65
|
+
const N = [];
|
|
66
|
+
for (let e2 = 0; e2 < x.length && e2 < C.length; e2++) {
|
|
67
|
+
const o2 = { value: C[e2], name: x[e2] };
|
|
68
|
+
if (e2 < D.length || E[o2.name]) {
|
|
69
|
+
let t2 = E[o2.name];
|
|
70
|
+
t2 || (t2 = D[e2]), t2 && (o2.itemStyle = { color: t2 });
|
|
71
|
+
}
|
|
72
|
+
N.push(o2);
|
|
73
|
+
}
|
|
74
|
+
const V = o.deepCopy(S);
|
|
75
|
+
V[0].data = N, l.series = [V[0]], t.formatToolboxI18n(l);
|
|
76
|
+
const b = a.props ? a.props.selGroupVariable : null;
|
|
77
|
+
!(a.props ? a.props.enableDrill : null) && b && (a.highlightInfos = [], e.setValueForVariableName(s.entity, b, null)), r.handleChartEvent(s, a, "afterUpdateChart", l, { resultData: n }), a.groupFields = h, a.cacheDatas = c, a.rawResult = n;
|
|
78
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const e = require("../page-helper-util.cjs"), t = require("../common-util.cjs"), a = require("./chart-util.cjs"), r = require("../events/event-util.cjs");
|
|
4
|
+
exports.updateChartOption = function(o, u, i, l) {
|
|
5
|
+
if (!l || !l.result) return;
|
|
6
|
+
r.handleChartEvent(o, u, "beforeUpdateChart", i, { resultData: l }), a.setDefaultGrid(i);
|
|
7
|
+
const s = l && l.result ? l.result : {}, d = u.serviceDataField;
|
|
8
|
+
let c = null;
|
|
9
|
+
d ? c = s[d] : s && (c = Array.isArray(s) ? s : [s]), c || (c = []);
|
|
10
|
+
const n = u.items ? u.items : [], f = [], p = {}, m = [], v = a.caculateFormulaValue(n, c, m);
|
|
11
|
+
for (const e2 of n) {
|
|
12
|
+
const t2 = e2.props ? e2.props : {}, a2 = t2.yaxisSource, r2 = t2.yaxisField;
|
|
13
|
+
let o2 = null;
|
|
14
|
+
if (!r2 || a2 && "variable" != a2) if ("formula" == a2) {
|
|
15
|
+
let a3 = t2.formula ? t2.formula : "";
|
|
16
|
+
for (const e3 in v) a3 = a3.replace(new RegExp(e3.replace("$", "\\$"), "g"), v[e3]);
|
|
17
|
+
o2 = { uuid: e2.uuid, type: "formula", formula: a3, data: [] };
|
|
18
|
+
} else o2 = { uuid: e2.uuid, type: "fixed", field: t2.yaxisFix, data: [] };
|
|
19
|
+
else o2 = { uuid: e2.uuid, type: "variable", field: r2, data: [] };
|
|
20
|
+
o2 && (f.push(o2), p[o2.uuid] = o2);
|
|
21
|
+
}
|
|
22
|
+
const h = u.props ? u.props : {}, x = h.nameField, y = h.maxSource, F = h.maxField, g = h.maxFixed, S = [], b = {};
|
|
23
|
+
for (const t2 of c) {
|
|
24
|
+
if (!t2) continue;
|
|
25
|
+
const r2 = e.getValueFromSource(t2, x, void 0);
|
|
26
|
+
let u2 = null;
|
|
27
|
+
u2 = y && "variable" != y ? g : e.getValueFromSource(t2, F, void 0), S.push({ text: r2, max: u2 });
|
|
28
|
+
for (const a2 of m) {
|
|
29
|
+
const r3 = e.getValueFromSource(t2, a2, void 0);
|
|
30
|
+
let o2 = b[a2];
|
|
31
|
+
void 0 === r3 || isNaN(r3) || (void 0 === o2 ? o2 = r3 : o2 += r3), b[a2] = o2;
|
|
32
|
+
}
|
|
33
|
+
for (const r3 of f) {
|
|
34
|
+
const u3 = r3.data;
|
|
35
|
+
if ("fixed" == r3.type) u3.push(r3.field);
|
|
36
|
+
else if ("variable" == r3.type) {
|
|
37
|
+
const a2 = e.getValueFromSource(t2, r3.field, void 0);
|
|
38
|
+
u3.push(a2);
|
|
39
|
+
} else if ("formula" == r3.type) {
|
|
40
|
+
const e2 = a.executeChartFormula(r3.formula, b, t2, o);
|
|
41
|
+
u3.push(e2);
|
|
42
|
+
} else u3.push(void 0);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
i.radar[0].indicator = S, a.formatToolboxI18n(i);
|
|
46
|
+
const C = u.defaultSeries, j = t.deepCopy(C), D = j[0].data;
|
|
47
|
+
for (const e2 of D) {
|
|
48
|
+
const t2 = p[e2.uuid];
|
|
49
|
+
e2.value = t2.data;
|
|
50
|
+
}
|
|
51
|
+
i.series = j, r.handleChartEvent(o, u, "afterUpdateChart", i, { resultData: l }), u.cacheDatas = c, u.rawResult = l;
|
|
52
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const e = require("../page-helper-util.cjs"), o = require("../common-util.cjs"), t = require("./chart-util.cjs"), r = require("../events/event-util.cjs");
|
|
4
|
+
exports.updateChartOption = function(s, a, i, u) {
|
|
5
|
+
if (!u || !u.result) return;
|
|
6
|
+
r.handleChartEvent(s, a, "beforeUpdateChart", i, { resultData: u }), t.setDefaultGrid(i);
|
|
7
|
+
const l = u && u.result ? u.result : {}, c = a.serviceDataField;
|
|
8
|
+
let d = null;
|
|
9
|
+
c ? d = l[c] : l && (d = Array.isArray(l) ? l : [l]), d || (d = []);
|
|
10
|
+
const n = a.items ? a.items : [], f = [], p = {};
|
|
11
|
+
for (const e2 of n) {
|
|
12
|
+
const o2 = e2.props ? e2.props : {}, t2 = e2.props ? e2.style : {}, r2 = o2.xaxisField, s2 = o2.sizeField, a2 = { uuid: e2.uuid, xaxisField: r2, yaxisField: o2.yaxisField, yaxisSource: o2.yaxisSource, formula: o2.formula, sizeField: s2, symbolSize: t2.symbolSize, data: [] };
|
|
13
|
+
f.push(a2), p[a2.uuid] = a2;
|
|
14
|
+
}
|
|
15
|
+
const m = [], x = t.caculateFormulaValue(n, d, m);
|
|
16
|
+
for (const e2 of f) if ("formula" === e2.yaxisSource) {
|
|
17
|
+
let o2 = e2.formula ? e2.formula : "";
|
|
18
|
+
for (const e3 in x) o2 = o2.replace(new RegExp(e3.replace("$", "\\$"), "g"), x[e3]);
|
|
19
|
+
e2.formula = o2;
|
|
20
|
+
}
|
|
21
|
+
const h = {};
|
|
22
|
+
for (const o2 of d) if (o2) {
|
|
23
|
+
for (const t2 of m) {
|
|
24
|
+
const r2 = e.getValueFromSource(o2, t2, void 0);
|
|
25
|
+
let s2 = h[t2];
|
|
26
|
+
void 0 === r2 || isNaN(r2) || (void 0 === s2 ? s2 = r2 : s2 += r2), h[t2] = s2;
|
|
27
|
+
}
|
|
28
|
+
for (const r2 of f) {
|
|
29
|
+
const a2 = r2.data, i2 = [];
|
|
30
|
+
if (i2.push(e.getValueFromSource(o2, r2.xaxisField, void 0)), "formula" === r2.yaxisSource) {
|
|
31
|
+
const e2 = t.executeChartFormula(r2.formula, h, o2, s);
|
|
32
|
+
i2.push(e2);
|
|
33
|
+
} else i2.push(e.getValueFromSource(o2, r2.yaxisField, void 0));
|
|
34
|
+
r2.sizeField ? i2.push(e.getValueFromSource(o2, r2.xaxisField, void 0)) : i2.push(r2.symbolSize), a2.push(i2);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const F = a.defaultSeries, y = o.deepCopy(F);
|
|
38
|
+
for (const e2 of y) {
|
|
39
|
+
const o2 = p[e2.uuid];
|
|
40
|
+
e2.data = o2.data;
|
|
41
|
+
}
|
|
42
|
+
i.series = y, t.formatToolboxI18n(i), r.handleChartEvent(s, a, "afterUpdateChart", i, { resultData: u }), a.cacheDatas = d, a.rawResult = u;
|
|
43
|
+
};
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const e = require("../../../../assets/chart-themes/bar-theme.cjs"), t = require("../../../../assets/chart-themes/gauge-theme.cjs"), r = require("../../../../assets/chart-themes/pie-theme.cjs"), o = require("../../../../assets/chart-themes/radar-theme.cjs"), a = require("../../../../assets/chart-themes/scatter-theme.cjs"), s = require("../page-init-util.cjs"), i = require("../page-helper-util.cjs"), n = require("agilebuilder-ui"), l = require("../events/event-util.cjs");
|
|
4
|
+
var c = ((e2) => (e2.X_FIELD_NAME = "__x", e2.Y_TEMP_NAME = "__y", e2))(c || {});
|
|
5
|
+
function u(e2, t2, r2, o2, a2) {
|
|
6
|
+
return function(s2) {
|
|
7
|
+
let i2 = s2 == null ? void 0 : s2.value;
|
|
8
|
+
if (a2 && (i2 = s2), null == i2 || null == i2) return i2;
|
|
9
|
+
if (Array.isArray(i2)) return i2;
|
|
10
|
+
if (isNaN(i2) || !e2 || !e2.indexOf) return i2;
|
|
11
|
+
if (e2.indexOf("precision") > -1) {
|
|
12
|
+
let e3 = parseInt(t2);
|
|
13
|
+
(null == e3 || isNaN(e3)) && (e3 = 2), i2 = parseFloat(parseFloat(i2).toFixed(e3));
|
|
14
|
+
}
|
|
15
|
+
let n2 = "";
|
|
16
|
+
e2.indexOf("prefix") > -1 && r2 && (n2 = r2);
|
|
17
|
+
let l2 = "";
|
|
18
|
+
return e2.indexOf("append") > -1 && o2 && (l2 = o2), n2 + i2.toLocaleString() + l2;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function f(e2, t2) {
|
|
22
|
+
if (!t2.clickSet) return;
|
|
23
|
+
const r2 = t2.clickSet, o2 = r2.variables;
|
|
24
|
+
if (!o2 || 0 == o2.length) return;
|
|
25
|
+
const a2 = t2.highlightInfos ? t2.highlightInfos : [], s2 = t2.cacheDatas ? t2.cacheDatas : [], n2 = [], l2 = [];
|
|
26
|
+
for (const e3 of a2) l2.includes(e3.dataIndex) || (l2.push(e3.dataIndex), e3.dataIndex < s2.length && n2.push(s2[e3.dataIndex]));
|
|
27
|
+
for (const t3 of o2) {
|
|
28
|
+
if (!t3.fieldName || !t3.variable) continue;
|
|
29
|
+
const o3 = [];
|
|
30
|
+
for (const e3 of n2) {
|
|
31
|
+
const r3 = i.getValueFromSource(e3, t3.fieldName, void 0);
|
|
32
|
+
null != r3 && o3.push(r3);
|
|
33
|
+
}
|
|
34
|
+
r2.multiple ? i.setValueForVariableName(e2.entity, t3.variable, o3) : i.setValueForVariableName(e2.entity, t3.variable, o3.length > 0 ? o3[0] : void 0);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function p(e2, t2) {
|
|
38
|
+
let r2;
|
|
39
|
+
for (const o2 of e2) {
|
|
40
|
+
const e3 = parseFloat(i.getValueFromSource(o2, t2, null));
|
|
41
|
+
(void 0 === r2 || !isNaN(e3) && e3 < r2) && (r2 = e3);
|
|
42
|
+
}
|
|
43
|
+
return r2;
|
|
44
|
+
}
|
|
45
|
+
function d(e2, t2) {
|
|
46
|
+
let r2;
|
|
47
|
+
for (const o2 of e2) {
|
|
48
|
+
const e3 = parseFloat(i.getValueFromSource(o2, t2, null));
|
|
49
|
+
(void 0 === r2 || !isNaN(e3) && e3 > r2) && (r2 = e3);
|
|
50
|
+
}
|
|
51
|
+
return r2;
|
|
52
|
+
}
|
|
53
|
+
function h(e2, t2) {
|
|
54
|
+
let r2;
|
|
55
|
+
for (const o2 of e2) {
|
|
56
|
+
const e3 = parseFloat(i.getValueFromSource(o2, t2, null));
|
|
57
|
+
void 0 === r2 ? r2 = e3 : isNaN(e3) || (r2 += e3);
|
|
58
|
+
}
|
|
59
|
+
return r2;
|
|
60
|
+
}
|
|
61
|
+
function g(e2, t2) {
|
|
62
|
+
const r2 = h(e2, t2);
|
|
63
|
+
return void 0 === r2 || 0 === e2.length ? r2 : parseFloat((r2 / e2.length).toFixed(5));
|
|
64
|
+
}
|
|
65
|
+
exports.CommonName = c, exports.caculateFormulaValue = function(e2, t2, r2) {
|
|
66
|
+
const o2 = {};
|
|
67
|
+
for (const a2 of e2) {
|
|
68
|
+
const e3 = a2.props ? a2.props : {};
|
|
69
|
+
if ("formula" === e3.yaxisSource) {
|
|
70
|
+
const a3 = i.getParamNames(e3.formula);
|
|
71
|
+
for (const e4 of a3) if (!(e4 in o2)) {
|
|
72
|
+
if (e4.startsWith("${min.")) o2[e4] = p(t2, e4.substring(6, e4.length - 1));
|
|
73
|
+
else if (e4.startsWith("${max.")) o2[e4] = d(t2, e4.substring(6, e4.length - 1));
|
|
74
|
+
else if (e4.startsWith("${sum.")) o2[e4] = h(t2, e4.substring(6, e4.length - 1));
|
|
75
|
+
else if (e4.startsWith("${avg.")) o2[e4] = g(t2, e4.substring(6, e4.length - 1));
|
|
76
|
+
else if (e4.startsWith("${add.")) {
|
|
77
|
+
const t3 = e4.substring(6, e4.length - 1);
|
|
78
|
+
r2.add(t3);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return o2;
|
|
84
|
+
}, exports.clearChartSelected = function(e2, t2, r2) {
|
|
85
|
+
if (!r2 || !t2 || !e2) return;
|
|
86
|
+
const o2 = t2.highlightInfos ? t2.highlightInfos : [];
|
|
87
|
+
for (let e3 = 0; e3 < o2.length; e3++) {
|
|
88
|
+
const a2 = o2[e3], s2 = "chart-pie" === t2.name ? "unselect" : "downplay";
|
|
89
|
+
r2.dispatchAction({ type: s2, seriesIndex: a2.seriesIndex, dataIndex: a2.dataIndex });
|
|
90
|
+
}
|
|
91
|
+
t2.highlightInfos = [], f(e2, t2);
|
|
92
|
+
}, exports.executeChartFormula = function(e2, t2, r2, o2) {
|
|
93
|
+
if (!e2) return;
|
|
94
|
+
if (t2) for (const r3 in t2) e2 = e2.replace(new RegExp("\\${add." + r3 + "}", "g"), t2[r3]);
|
|
95
|
+
const a2 = i.getParamNames(e2);
|
|
96
|
+
for (const t3 of a2) {
|
|
97
|
+
let a3 = null;
|
|
98
|
+
a3 = t3.startsWith("${row.") ? i.getValueFromSource(r2, t3.substring(6, t3.length - 1), null) : i.getValueFromVariable(o2.entity, t3), e2 = e2.replace(new RegExp(t3.replace("$", "\\$"), "g"), a3);
|
|
99
|
+
}
|
|
100
|
+
e2.includes("return ") || (e2 = "return " + e2);
|
|
101
|
+
const s2 = new Function("params", e2);
|
|
102
|
+
return l.appendDefaultMethods(s2, o2), s2({ pageContext: o2, row: r2 });
|
|
103
|
+
}, exports.exportCommonChart = function(e2, t2) {
|
|
104
|
+
if (!e2 || !e2.$el) return;
|
|
105
|
+
const r2 = e2.$el.getElementsByTagName("canvas");
|
|
106
|
+
if (!r2 || 0 === r2.length) return;
|
|
107
|
+
const o2 = r2[0], a2 = o2.width + ":" + o2.height;
|
|
108
|
+
return { isTable: false, fileContent: o2.toDataURL(), fileSize: a2, title: t2 == null ? void 0 : t2.title };
|
|
109
|
+
}, exports.formatToolboxI18n = function(e2) {
|
|
110
|
+
var _a;
|
|
111
|
+
if ((_a = e2 == null ? void 0 : e2.toolbox) == null ? void 0 : _a.feature) {
|
|
112
|
+
const t2 = e2.toolbox.feature;
|
|
113
|
+
for (const e3 in t2) t2[e3].show && (t2[e3].title = n.getI18n().t("chartMessage." + e3), "dataView" === e3 && (t2[e3].lang = [n.getI18n().t("chartMessage.dataView"), n.getI18n().t("chartMessage.close"), n.getI18n().t("chartMessage.refresh")]));
|
|
114
|
+
}
|
|
115
|
+
}, exports.getAvgValue = g, exports.getCustomTheme = function(s2, i2 = "bar") {
|
|
116
|
+
return "bar" === i2 ? e[s2] : "gauge" === i2 ? t[s2] : "pie" === i2 ? r[s2] : "radar" === i2 ? o[s2] : "scatter" === i2 ? a[s2] : e[s2];
|
|
117
|
+
}, exports.getCustomThemeOptions = function() {
|
|
118
|
+
return [{ value: "theme1", label: "主题1" }, { value: "theme2", label: "主题2" }, { value: "theme3", label: "主题3" }];
|
|
119
|
+
}, exports.getMaxValue = d, exports.getMinValue = p, exports.getNumFormatter = u, exports.getSumValue = h, exports.initChartOption = function(e2, t2) {
|
|
120
|
+
if (!t2) return;
|
|
121
|
+
if (t2.tooltipFormatterArgs && (t2.tooltip || (t2.tooltip = {}), t2.tooltip.valueFormatter = u.apply(t2, t2.tooltipFormatterArgs)), t2.series) {
|
|
122
|
+
const r3 = e2.props ? e2.props.enableDrill : null;
|
|
123
|
+
for (const o3 of t2.series) t2.radar || (o3.data = []), o3.labelFormatterArgs && (o3.label || (o3.label = {}), o3.label.formatter = u.apply(o3, o3.labelFormatterArgs)), !r3 && e2.clickSet && e2.clickSet.selected && o3.emphasis && (o3.emphasis.disabled = false), "pie" === o3.type && e2.clickSet && e2.clickSet.selected && (e2.clickSet.multiple ? o3.selectedMode = "multiple" : o3.selectedMode = "single");
|
|
124
|
+
}
|
|
125
|
+
if (t2.radar) for (const e3 of t2.radar) e3.indicator = [];
|
|
126
|
+
const r2 = t2.series;
|
|
127
|
+
e2.defaultSeries = r2;
|
|
128
|
+
const o2 = t2.xAxis;
|
|
129
|
+
o2 && o2.length > 0 && o2[0].data && (o2[0].data = []), e2.defaultXaxis = o2;
|
|
130
|
+
const a2 = t2.yAxis;
|
|
131
|
+
if (a2) for (const e3 of a2) e3.data && (e3.data = []), "auto" === e3._dataMin && (e3.min = function(e4) {
|
|
132
|
+
if (e4.min) return 10 * Math.floor(e4.min / 10);
|
|
133
|
+
}), "auto" === e3._dataMax && (e3.max = function(e4) {
|
|
134
|
+
if (e4.max) return 10 * Math.ceil(e4.max / 10);
|
|
135
|
+
});
|
|
136
|
+
e2.defaultYaxis = a2;
|
|
137
|
+
}, exports.limitDatas = function(e2, t2, r2, o2, a2) {
|
|
138
|
+
if (!r2) return r2;
|
|
139
|
+
const s2 = t2.props ? t2.props : {};
|
|
140
|
+
if (!s2.limitQuantity) return r2;
|
|
141
|
+
let n2 = null;
|
|
142
|
+
if (s2.itemNumVariable ? (n2 = i.formatVariableValue(e2, s2.itemNumVariable), n2 = parseInt(n2)) : n2 = s2.itemNumFix ? s2.itemNumFix : 10, null == n2 || null == n2 || isNaN(n2)) return r2;
|
|
143
|
+
if (r2.length < n2) return r2;
|
|
144
|
+
const l2 = s2.overItemAlias, c2 = [], u2 = {};
|
|
145
|
+
o2 = o2 || [], a2 = a2 || [];
|
|
146
|
+
for (let e3 = 0; e3 < r2.length; e3++) {
|
|
147
|
+
const t3 = r2[e3];
|
|
148
|
+
if (e3 < n2) c2.push(t3);
|
|
149
|
+
else {
|
|
150
|
+
if (!l2) break;
|
|
151
|
+
for (const e4 of o2) {
|
|
152
|
+
if (!e4) continue;
|
|
153
|
+
let r3 = i.getValueFromSource(t3, e4, void 0);
|
|
154
|
+
r3 = null == r3 || null == r3 ? "" : r3, u2[e4] || (u2[e4] = []);
|
|
155
|
+
const o3 = u2[e4];
|
|
156
|
+
o3.includes(r3) || o3.push(r3);
|
|
157
|
+
}
|
|
158
|
+
for (const e4 of a2) {
|
|
159
|
+
if (!e4) continue;
|
|
160
|
+
const r3 = i.getValueFromSource(t3, e4, void 0);
|
|
161
|
+
if (isNaN(r3)) continue;
|
|
162
|
+
const o3 = u2[e4];
|
|
163
|
+
isNaN(o3) ? u2[e4] = r3 : u2[e4] = r3 + o3;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return l2 && (u2.__x = l2, c2.push(u2)), c2;
|
|
168
|
+
}, exports.monitorChartClickToVariable = function(e2, t2, r2) {
|
|
169
|
+
if (!(r2 && t2 && t2.clickSet && e2)) return;
|
|
170
|
+
const o2 = t2.clickSet;
|
|
171
|
+
r2.on("click", function(a2) {
|
|
172
|
+
let s2 = t2.highlightInfos ? t2.highlightInfos : [], i2 = -1;
|
|
173
|
+
if (s2) {
|
|
174
|
+
const e3 = [];
|
|
175
|
+
for (let n2 = 0; n2 < s2.length; n2++) {
|
|
176
|
+
const l2 = s2[n2], c2 = l2.seriesIndex === a2.seriesIndex && l2.dataIndex === a2.dataIndex;
|
|
177
|
+
if (c2 || !o2.multiple) {
|
|
178
|
+
if (o2.selected) {
|
|
179
|
+
const e4 = "chart-pie" === t2.name ? "unselect" : "downplay";
|
|
180
|
+
r2.dispatchAction({ type: e4, seriesIndex: l2.seriesIndex, dataIndex: l2.dataIndex });
|
|
181
|
+
}
|
|
182
|
+
} else e3.push(l2);
|
|
183
|
+
c2 && (i2 = n2);
|
|
184
|
+
}
|
|
185
|
+
s2 = e3;
|
|
186
|
+
}
|
|
187
|
+
if (-1 === i2) {
|
|
188
|
+
if (o2.selected) {
|
|
189
|
+
const e3 = "chart-pie" === t2.name ? "select" : "highlight";
|
|
190
|
+
r2.dispatchAction({ type: e3, seriesIndex: a2.seriesIndex, dataIndex: a2.dataIndex });
|
|
191
|
+
}
|
|
192
|
+
s2.push({ seriesIndex: a2.seriesIndex, dataIndex: a2.dataIndex });
|
|
193
|
+
}
|
|
194
|
+
t2.highlightInfos = s2, f(e2, t2);
|
|
195
|
+
});
|
|
196
|
+
}, exports.setDefaultGrid = function(e2) {
|
|
197
|
+
if (e2 == null ? void 0 : e2.grid) {
|
|
198
|
+
const t2 = e2.grid, r2 = (e3) => !e3 || "0" === e3;
|
|
199
|
+
r2(t2.top) && r2(t2.right) && r2(t2.bottom) && r2(t2.left) && Object.assign(t2, { right: "10%", bottom: "60", left: "10%" });
|
|
200
|
+
}
|
|
201
|
+
}, exports.setHomeChartInitConfigValue = function(e2, t2, r2) {
|
|
202
|
+
const o2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS");
|
|
203
|
+
let a2 = true;
|
|
204
|
+
if (o2) {
|
|
205
|
+
const e3 = JSON.parse(o2);
|
|
206
|
+
if (e3[r2]) {
|
|
207
|
+
const o3 = e3[r2];
|
|
208
|
+
if (Object.keys(o3).length > 0) {
|
|
209
|
+
a2 = false;
|
|
210
|
+
for (const e4 in o3) null !== o3[e4] && void 0 !== o3[e4] && i.setValueForVariableName(t2.entity, e4, o3[e4]);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
if (a2 && e2) {
|
|
215
|
+
for (const r3 of e2) if (r3.prop && r3.value) {
|
|
216
|
+
const e3 = s.getDefaultValue(t2, r3.value, "input-text", false), o3 = r3.prop.substring(2, r3.prop.length - 1).split(".");
|
|
217
|
+
null != e3 && i.setVariableValue(t2.entity, o3, e3);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}, exports.sortDatas = function(e2, t2, r2) {
|
|
221
|
+
const o2 = t2.items ? t2.items : [], a2 = t2.props ? t2.props.orderByTarget : "";
|
|
222
|
+
let s2 = null;
|
|
223
|
+
if ("x" == a2 || "X" == a2) s2 = "__x";
|
|
224
|
+
else if (a2) {
|
|
225
|
+
for (const e3 of o2) if (e3.uuid == a2) {
|
|
226
|
+
const t3 = e3.props ? e3.props : {}, r3 = t3.yaxisSource, o3 = t3.yaxisField;
|
|
227
|
+
if (o3 && (!r3 || "variable" == r3)) {
|
|
228
|
+
s2 = o3;
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
if (!s2) return;
|
|
234
|
+
const n2 = t2.props ? t2.props.orderSource : "";
|
|
235
|
+
let l2 = t2.props ? t2.props.orderFix : "";
|
|
236
|
+
if ("variable" == n2) {
|
|
237
|
+
const r3 = t2.props ? t2.props.orderVariable : "";
|
|
238
|
+
l2 = i.formatVariableValue(e2, r3);
|
|
239
|
+
}
|
|
240
|
+
l2 = "desc" == l2 || "DESC" == l2 ? "desc" : "asc", r2.sort((e3, t3) => {
|
|
241
|
+
const r3 = i.getValueFromSource(e3, s2, void 0), o3 = i.getValueFromSource(t3, s2, void 0);
|
|
242
|
+
return "desc" === l2 ? o3 - r3 : r3 - o3;
|
|
243
|
+
});
|
|
244
|
+
}, exports.updateClickVariablesForSelected = f;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { PageContext, Component } from '../interfaces/page-design-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 统计图通用字段名
|
|
5
|
+
*/
|
|
6
|
+
export declare enum CommonName {
|
|
7
|
+
X_FIELD_NAME = "__x",//横坐标字段名
|
|
8
|
+
Y_TEMP_NAME = "__y"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* 获取主题对象
|
|
12
|
+
* @param themeName 获取自定义的主题名称
|
|
13
|
+
* @returns
|
|
14
|
+
*/
|
|
15
|
+
export declare function getCustomTheme(themeName: string, chartType?: string): any;
|
|
16
|
+
/**
|
|
17
|
+
* 获取所有主题对象
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
export declare function getCustomThemeOptions(): Array<any>;
|
|
21
|
+
/**
|
|
22
|
+
* 获取数据的格式化方法
|
|
23
|
+
* @param labelNumFormat
|
|
24
|
+
* @param labelNumPrecision
|
|
25
|
+
* @param isValueFormatter 是否值格式化,value: number | string, dataIndex: number
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
export declare function getNumFormatter(labelNumFormat: any, numPrecision: any, numPrefix: any, numAppend: any, isValueFormatter: any): (params: any) => any;
|
|
29
|
+
/**
|
|
30
|
+
* 初始化格式化方法
|
|
31
|
+
* @param pageContext
|
|
32
|
+
* @param configure
|
|
33
|
+
* @param chartOption
|
|
34
|
+
* @returns
|
|
35
|
+
*/
|
|
36
|
+
export declare function initChartOption(configure: Component, chartOption: any): void;
|
|
37
|
+
/**
|
|
38
|
+
* 统计图选中时把维度值设置到变量中
|
|
39
|
+
* @param pageContext
|
|
40
|
+
* @param configure
|
|
41
|
+
* @param chart
|
|
42
|
+
* @param variable
|
|
43
|
+
*/
|
|
44
|
+
export declare function monitorChartClickToVariable(pageContext: PageContext, configure: Component, chart: any): void;
|
|
45
|
+
/**
|
|
46
|
+
* 清除统计图的选中
|
|
47
|
+
* @param pageContext
|
|
48
|
+
* @param configure
|
|
49
|
+
* @param chart
|
|
50
|
+
* @returns
|
|
51
|
+
*/
|
|
52
|
+
export declare function clearChartSelected(pageContext: PageContext, configure: Component, chart: any): void;
|
|
53
|
+
export declare function updateClickVariablesForSelected(pageContext: PageContext, configure: Component): void;
|
|
54
|
+
export declare function sortDatas(pageContext: PageContext, configure: Component, datas: Array<any>): void;
|
|
55
|
+
/**
|
|
56
|
+
* 限制显示数量
|
|
57
|
+
* @param datas
|
|
58
|
+
* @param groupFields
|
|
59
|
+
* @param limitNum
|
|
60
|
+
*/
|
|
61
|
+
export declare function limitDatas(pageContext: PageContext, configure: Component, datas: Array<any>, groupFields: Array<string>, numFields: Array<string>): Array<any>;
|
|
62
|
+
/**
|
|
63
|
+
* 提前计算公式中用到的汇总变量
|
|
64
|
+
* @param itemConfs
|
|
65
|
+
* @param datas
|
|
66
|
+
* @param accumulateFields 累计计算的字段
|
|
67
|
+
* @returns
|
|
68
|
+
*/
|
|
69
|
+
export declare function caculateFormulaValue(itemConfs: any, datas: any, accumulateFields: Set<string>): any;
|
|
70
|
+
/**
|
|
71
|
+
* 获取数据源中的最小值
|
|
72
|
+
* @param datas 数据源
|
|
73
|
+
* @param fieldName 字段名
|
|
74
|
+
*/
|
|
75
|
+
export declare function getMinValue(datas: any, fieldName: string): any;
|
|
76
|
+
/**
|
|
77
|
+
* 获取数据源中的最大值
|
|
78
|
+
* @param datas 数据源
|
|
79
|
+
* @param fieldName 字段名
|
|
80
|
+
*/
|
|
81
|
+
export declare function getMaxValue(datas: any, fieldName: string): any;
|
|
82
|
+
/**
|
|
83
|
+
* 获取数据源中的汇总值
|
|
84
|
+
* @param datas 数据源
|
|
85
|
+
* @param fieldName 字段名
|
|
86
|
+
*/
|
|
87
|
+
export declare function getSumValue(datas: any, fieldName: string): any;
|
|
88
|
+
/**
|
|
89
|
+
* 获取平均值
|
|
90
|
+
* @param datas 数据源
|
|
91
|
+
* @param fieldName 字段名
|
|
92
|
+
*/
|
|
93
|
+
export declare function getAvgValue(datas: any, fieldName: string): any;
|
|
94
|
+
/**
|
|
95
|
+
* 执行统计图的计算公式
|
|
96
|
+
* @param formulaStr 计算公式
|
|
97
|
+
* @param accumulateMap 累计存储
|
|
98
|
+
* @param rowData 行记录
|
|
99
|
+
* @param pageContext 页面对象
|
|
100
|
+
*/
|
|
101
|
+
export declare function executeChartFormula(formulaStr: string, accumulateMap: any, rowData: any, pageContext: PageContext): any;
|
|
102
|
+
/**
|
|
103
|
+
* 导出图表工具方法
|
|
104
|
+
* @param chartDom
|
|
105
|
+
* @returns
|
|
106
|
+
*/
|
|
107
|
+
export declare function exportCommonChart(chartRef: any, headerInfo: any): {
|
|
108
|
+
isTable: boolean;
|
|
109
|
+
fileContent: any;
|
|
110
|
+
fileSize: string;
|
|
111
|
+
title: any;
|
|
112
|
+
};
|
|
113
|
+
export declare function setHomeChartInitConfigValue(initConfig: any, tempContext: any, homeChartSettingUserId: any): void;
|
|
114
|
+
export declare function setDefaultGrid(chartOption: any): void;
|
|
115
|
+
export declare function formatToolboxI18n(chartOption: any): void;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const e = require("agilebuilder-ui"), t = require("../views/assemblys/chart/table/chart-table-util.cjs"), r = require("./events/event-util.cjs");
|
|
4
|
+
function n(t2, r2) {
|
|
5
|
+
if (r2) return t2;
|
|
6
|
+
{
|
|
7
|
+
const { baseURL: r3, projectModel: n2 } = window.$vueApp.config.globalProperties;
|
|
8
|
+
let o = r3;
|
|
9
|
+
return "developing.model" === n2 || t2 && (o = e.getSystemBackendUrl(t2)), o;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.addRequiredClassUtil = function() {
|
|
13
|
+
return "required_bg";
|
|
14
|
+
}, exports.deepCopy = function e2(t2) {
|
|
15
|
+
if ("object" != typeof t2 || null == t2) return t2;
|
|
16
|
+
const r2 = Array.isArray(t2) ? [] : {};
|
|
17
|
+
for (const n2 in t2) t2.hasOwnProperty(n2) && (r2[n2] = e2(t2[n2]));
|
|
18
|
+
return r2;
|
|
19
|
+
}, exports.getBaseUrl = n, exports.getListCode = function(e3, t2, r2) {
|
|
20
|
+
return "V" + t2 + "__" + e3 + "__" + r2;
|
|
21
|
+
}, exports.getPropClassName = function(e3) {
|
|
22
|
+
var _a, _b, _c, _d;
|
|
23
|
+
let t2;
|
|
24
|
+
if (e3 && ((_b = (_a = e3.props) == null ? void 0 : _a.base) == null ? void 0 : _b.prop)) {
|
|
25
|
+
let r2 = (_d = (_c = e3.props) == null ? void 0 : _c.base) == null ? void 0 : _d.prop;
|
|
26
|
+
r2.indexOf("${") >= 0 && (r2 = r2.substring(2, r2.lastIndexOf("}")));
|
|
27
|
+
const n2 = r2.split(".");
|
|
28
|
+
2 === n2.length ? t2 = n2[1] : 3 === n2.length && (t2 = n2[1] + "__" + n2[2]);
|
|
29
|
+
} else e3.code && (t2 = e3.code);
|
|
30
|
+
return t2;
|
|
31
|
+
}, exports.getRealRestApiPath = function(e3, t2, r2, o) {
|
|
32
|
+
let i = e3;
|
|
33
|
+
if (e3 && r2 && !function(e4) {
|
|
34
|
+
return 0 === e4.indexOf("http:") || 0 === e4.indexOf("https:");
|
|
35
|
+
}(e3)) {
|
|
36
|
+
i = n(r2, o) + "/" + t2 + e3;
|
|
37
|
+
}
|
|
38
|
+
return i;
|
|
39
|
+
}, exports.getWorkflowId = function(e3) {
|
|
40
|
+
let t2;
|
|
41
|
+
return e3.entity && e3.entity.data && (t2 = e3.entity.data.WORKFLOW_ID, t2 || (t2 = e3.entity.data.workflow_id), t2 || (t2 = e3.entity.data.workflowId)), t2;
|
|
42
|
+
}, exports.isArrayFn = function(e3) {
|
|
43
|
+
return "function" == typeof Array.isArray ? Array.isArray(e3) : "[object Array]" === Object.prototype.toString.call(e3);
|
|
44
|
+
}, exports.isNumber = function(e3) {
|
|
45
|
+
try {
|
|
46
|
+
if (null != e3) {
|
|
47
|
+
const t2 = parseInt(e3 + "");
|
|
48
|
+
if (Number.isInteger(t2)) return true;
|
|
49
|
+
}
|
|
50
|
+
return false;
|
|
51
|
+
} catch (e4) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
}, exports.isVariableInvalidValue = function(e3, t2) {
|
|
55
|
+
return null === e3[t2] || void 0 === e3[t2] || "" === e3[t2];
|
|
56
|
+
}, exports.isWorkflowPage = function(e3) {
|
|
57
|
+
return !!e3.isWorkflowEntity || !(void 0 !== e3.isWorkflowEntity || !e3.workflowCode);
|
|
58
|
+
}, exports.packageTemplateFiles = function(n2, o, i) {
|
|
59
|
+
if (!n2 || 0 === n2.length) return n2;
|
|
60
|
+
let s = n2;
|
|
61
|
+
if (Array.isArray(n2)) {
|
|
62
|
+
n2[0].templates && (s = function(e3, n3, o2) {
|
|
63
|
+
const i2 = [];
|
|
64
|
+
return e3.forEach((e4) => {
|
|
65
|
+
let s2 = true;
|
|
66
|
+
if (e4.scopeFunc) {
|
|
67
|
+
const t2 = r.getCustomFunc(n3, e4.scopeFunc);
|
|
68
|
+
t2 && (s2 = t2.apply(t2, [{ pageContext: n3, configureObj: o2, template: e4 }]));
|
|
69
|
+
} else e4.conditions && e4.conditions.length > 0 && (s2 = t.ExpressionEvaluator.evaluate(n3, e4.conditions));
|
|
70
|
+
false !== s2 && e4.templates.forEach((e5) => {
|
|
71
|
+
i2.push({ templateUuid: e5.templateUuid, templateName: e5.templateName });
|
|
72
|
+
});
|
|
73
|
+
}), i2;
|
|
74
|
+
}(n2, o, i));
|
|
75
|
+
const a = e.getLanguageWithLocale(), l = [], p = [], u = "~-~-";
|
|
76
|
+
return s.forEach((e3) => {
|
|
77
|
+
const t2 = e3.templateName;
|
|
78
|
+
if (t2.indexOf(u) > 0) {
|
|
79
|
+
const r2 = t2.substring(0, t2.indexOf(u)), n3 = t2.substring(t2.indexOf(u) + u.length, t2.lastIndexOf(u)), o2 = t2.substring(t2.lastIndexOf(u) + u.length);
|
|
80
|
+
a === n3 && p.indexOf(r2) < 0 && (l.push({ templateUuid: e3.templateUuid, templateName: o2 }), p.push(r2));
|
|
81
|
+
} else l.push(e3);
|
|
82
|
+
}), l;
|
|
83
|
+
}
|
|
84
|
+
}, exports.refreshMobileDialogType = function(e3, t2) {
|
|
85
|
+
if (e3 && t2) {
|
|
86
|
+
let t3 = e3.jumpPageMobileOpenMode;
|
|
87
|
+
t3 || (e3.jumpPageOpenMode ? (t3 = e3.jumpPageOpenMode, "newTab" === t3 && (t3 = "refresh")) : t3 = "refresh"), "refresh" === t3 && (e3.dialogType = "drawer", e3.jumpPageWidth = "100%", e3.isRefreshWhenClosePopup = true), e3.jumpMode = t3, e3.jumpPageMobileOpenMode = t3, e3.jumpPageTitle || (e3.jumpPageTitle = "QMS质量管理系统");
|
|
88
|
+
}
|
|
89
|
+
}, exports.upperFirstCase = function(e3) {
|
|
90
|
+
return e3.toLowerCase().replace(/( |^)[a-z]/g, (e4) => e4.toUpperCase());
|
|
91
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Component, PageContext } from './interfaces/page-design-types';
|
|
2
|
+
|
|
3
|
+
export declare function isArrayFn(value: any): boolean;
|
|
4
|
+
export declare function getBaseUrl(backendUrl: string | null | undefined, isTest?: boolean): any;
|
|
5
|
+
export declare function getRealRestApiPath(orgRestApiPath: any, systemCode: any, backendUrl: any, isTest?: boolean): any;
|
|
6
|
+
/**
|
|
7
|
+
* 封装模板文件列表
|
|
8
|
+
* @param templateFiles
|
|
9
|
+
* @returns
|
|
10
|
+
*/
|
|
11
|
+
export declare function packageTemplateFiles(templateFiles: any, pageContext: PageContext, configure: Component): any;
|
|
12
|
+
export declare function upperFirstCase(str: any): any;
|
|
13
|
+
export declare function getListCode(pageCode: any, pageVersion: any, tableUuid: any): string;
|
|
14
|
+
/**
|
|
15
|
+
* 深度复制
|
|
16
|
+
* @returns
|
|
17
|
+
*/
|
|
18
|
+
export declare function deepCopy(srcObj: any): any;
|
|
19
|
+
export declare function getWorkflowId(pageContext: any): any;
|
|
20
|
+
/**
|
|
21
|
+
* 获得当前属性名,封装到class中,操作dom时可能会使用
|
|
22
|
+
* @param configure
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
export declare function getPropClassName(configure: Component): any;
|
|
26
|
+
export declare function isNumber(numStr: any): boolean;
|
|
27
|
+
export declare function isWorkflowPage(pageContext: PageContext): boolean;
|
|
28
|
+
export declare function refreshMobileDialogType(jumpPageSetting: any, isMobile: boolean): void;
|
|
29
|
+
export declare function isVariableInvalidValue(values: any, variable: string): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 给主表字段添加必填高亮样式
|
|
32
|
+
*/
|
|
33
|
+
export declare function addRequiredClassUtil(): string;
|