super-page-runtime 2.3.21 → 2.3.22-tmp1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/{anchor-util.js → anchor-util.mjs} +5 -5
- package/dist/es/components/runtime/utils/api/api-util.mjs +4 -0
- package/dist/es/components/runtime/utils/api/{page-expose-util.js → page-expose-util.mjs} +26 -27
- package/dist/es/components/runtime/utils/assemblys-config.mjs +20 -0
- package/dist/es/components/runtime/utils/charts/{chart-columnline-util.js → chart-columnline-util.mjs} +4 -4
- package/dist/es/components/runtime/utils/charts/{chart-gauge-util.js → chart-gauge-util.mjs} +9 -9
- package/dist/es/components/runtime/utils/charts/{chart-pie-util.js → chart-pie-util.mjs} +11 -11
- package/dist/es/components/runtime/utils/charts/{chart-radar-util.js → chart-radar-util.mjs} +4 -4
- package/dist/es/components/runtime/utils/charts/{chart-scatter-util.js → chart-scatter-util.mjs} +12 -12
- package/dist/es/components/runtime/utils/charts/{chart-util.js → chart-util.mjs} +13 -13
- package/dist/es/components/runtime/utils/{common-util.js → common-util.mjs} +13 -14
- package/dist/es/components/runtime/utils/events/{event-util.js → event-util.mjs} +94 -95
- package/dist/es/components/runtime/utils/events/{print-label.js → print-label.mjs} +2 -2
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1166 -0
- package/dist/es/components/runtime/utils/events/{validator-util.js → validator-util.mjs} +35 -37
- package/dist/es/components/runtime/utils/form/scan-util.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
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { usePageContextStore as t } from "./page-store.js";
|
|
2
|
-
import { getEnableI18nState as e } from "agilebuilder-ui/src/utils/i18n-util";
|
|
3
|
-
import { useI18n as o } from "vue-i18n";
|
|
4
|
-
let r = null, i = null;
|
|
5
|
-
const l = (l2, ...n) => {
|
|
6
|
-
i || (i = o());
|
|
7
|
-
const s = t().pageContext;
|
|
8
|
-
if (null === r && (r = !!e(s.systemCode)), !r) return l2;
|
|
9
|
-
const u = `${s.systemCode}.${l2}`, m = i.t(u, n || []);
|
|
10
|
-
return m !== u ? m : l2;
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
l as $t
|
|
14
|
-
};
|
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
import http from "agilebuilder-ui/src/utils/request";
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
import { executeExpression } from "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
4
|
-
import { getComponentRef } from "./global-refs.js";
|
|
5
|
-
import { watch } from "vue";
|
|
6
|
-
import { deepCopy, getBaseUrl } from "./common-util.js";
|
|
7
|
-
function getComponentOptionConfigs(t, e, n, o) {
|
|
8
|
-
return getComponentOptionConfigsBase(t, (e == null ? void 0 : e.systemCode) ? e.systemCode : n, (e == null ? void 0 : e.systemVersion) ? e == null ? void 0 : e.systemVersion : o);
|
|
9
|
-
}
|
|
10
|
-
function getComponentOptionConfigsBase(t, e, n) {
|
|
11
|
-
if (!t.props || !t.props.dataOrigin) return;
|
|
12
|
-
if (t.name && "table" === t.name) return;
|
|
13
|
-
const o = t.props.dataOrigin, a = { uuid: t.uuid };
|
|
14
|
-
if ("optionGroup" == o.optionValueSetType) a.type = "optionGroup", a.props = { code: o.optionGroup };
|
|
15
|
-
else if ("dynamicData" == o.optionValueSetType) a.type = "dynamicData", a.filterType = o.filterType, a.props = { code: o.dynamicDataSourceCode };
|
|
16
|
-
else if ("dataTable" == o.optionValueSetType) {
|
|
17
|
-
a.filterType = o.filterType;
|
|
18
|
-
const t2 = getTableQueryInfo(o, e, n);
|
|
19
|
-
Object.assign(a, t2);
|
|
20
|
-
} else if ("service" == o.optionValueSetType) {
|
|
21
|
-
a.filterType = o.filterType;
|
|
22
|
-
const t2 = getServiceQueryInfo(o, e, n);
|
|
23
|
-
Object.assign(a, t2);
|
|
24
|
-
}
|
|
25
|
-
return a.type ? a : void 0;
|
|
26
|
-
}
|
|
27
|
-
function getTableQueryInfo(t, e, n) {
|
|
28
|
-
const o = { type: "dataTable" };
|
|
29
|
-
if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { tableName: t.tableName, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.sortFields) {
|
|
30
|
-
const e2 = [];
|
|
31
|
-
for (const n2 of t.sortFields) n2.name && e2.push({ prop: n2.name, order: n2.type ? n2.type : "asc" });
|
|
32
|
-
o.props.sorts = e2;
|
|
33
|
-
}
|
|
34
|
-
const a = [];
|
|
35
|
-
if (t.filterList) {
|
|
36
|
-
const e2 = [];
|
|
37
|
-
for (const n2 of t.filterList) {
|
|
38
|
-
if (!n2.propName) continue;
|
|
39
|
-
n2.propDbName || (n2.propDbName = n2.propName);
|
|
40
|
-
const t2 = {};
|
|
41
|
-
Object.assign(t2, n2);
|
|
42
|
-
const o2 = getParamNames(n2.propValue);
|
|
43
|
-
for (const t3 of o2) t3 && (t3.startsWith("${data.") || t3.startsWith("${task.") || t3.startsWith("${page.")) && (a.includes(t3) || a.push(t3));
|
|
44
|
-
n2.propValue, e2.push(t2);
|
|
45
|
-
}
|
|
46
|
-
o.props.searchForm = e2;
|
|
47
|
-
}
|
|
48
|
-
o.props.monitorFields = a;
|
|
49
|
-
const r = [];
|
|
50
|
-
if (t.tableValueField && (o.props.valueField = t.tableValueField), t.tableLableField && -1 == r.indexOf(t.tableLableField) && (o.props.lableField = t.tableLableField), t.autoSets) for (const e2 of t.autoSets) e2.source && -1 == r.indexOf(e2.source) && r.push(e2.source);
|
|
51
|
-
return o.props.queryFields = r, o.props.pageSize = t.displayQuantity, o;
|
|
52
|
-
}
|
|
53
|
-
function getServiceQueryInfo(t, e, n) {
|
|
54
|
-
const o = { type: "service" };
|
|
55
|
-
if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { serivceCode: t.serviceCode, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.serviceInputs) {
|
|
56
|
-
const e2 = [];
|
|
57
|
-
for (const n2 of t.serviceInputs) {
|
|
58
|
-
if (!n2.name || n2.value) continue;
|
|
59
|
-
const t2 = {};
|
|
60
|
-
Object.assign(t2, n2), e2.push(t2);
|
|
61
|
-
}
|
|
62
|
-
o.props.inputs = e2;
|
|
63
|
-
}
|
|
64
|
-
return o.props.dataSetField = t.serviceDataSetField, o.props.valueField = t.serviceValueField, o.props.labelField = t.serviceLabelField, o;
|
|
65
|
-
}
|
|
66
|
-
function updateChartDatasources(t, e, n, o) {
|
|
67
|
-
return new Promise((a, r) => {
|
|
68
|
-
if (!e || 0 == e.length) return void r(new Error("无需查询的统计图配置!"));
|
|
69
|
-
const s = deepCopy(e);
|
|
70
|
-
s.forEach((e2) => {
|
|
71
|
-
const n2 = e2.services;
|
|
72
|
-
if (n2 && n2.length > 0) {
|
|
73
|
-
const e3 = n2[0].serviceInputs;
|
|
74
|
-
e3 && (n2[0].serviceInParams = {}, e3.forEach((e4) => {
|
|
75
|
-
const o2 = e4.name, a2 = e4.value;
|
|
76
|
-
n2[0].serviceInParams[o2] = getValueFromVariable(t.entity, a2);
|
|
77
|
-
}), delete n2[0].serviceInputs);
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
const i = t.entity ? t.entity : {}, u = {};
|
|
81
|
-
i.request && Object.assign(u, i.request), i.page && Object.assign(u, i.page), n && Object.assign(u, n);
|
|
82
|
-
const l = {};
|
|
83
|
-
i.task && Object.assign(l, i.task);
|
|
84
|
-
const c = { entityMap: i.data, additionalParamMap: u, taskMap: l, dataSourceList: s, systemCode: t.systemCode, pageCode: t.code }, p = t.backendUrl, f = getBaseUrl(p, t.isTest) + "/common/common-data/find-chart-datas";
|
|
85
|
-
http.post(f, c, { headers: { customSystem: t.systemCode } }).then((e2) => {
|
|
86
|
-
var _a, _b;
|
|
87
|
-
t.chartDataSourceMap || (t.chartDataSourceMap = {});
|
|
88
|
-
for (const n2 in e2) {
|
|
89
|
-
t.chartDataSourceMap[n2] = e2[n2];
|
|
90
|
-
const a2 = getComponentRef(t, n2);
|
|
91
|
-
if (a2) {
|
|
92
|
-
const r2 = a2.getConfigure();
|
|
93
|
-
if ((!o || r2 && (void 0 === r2.initializationQuery || r2.initializationQuery)) && a2.updateChartDatas && (a2.updateChartDatas(e2[n2]), (_b = (_a = r2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
|
|
94
|
-
const o2 = e2[n2] && e2[n2].length > 0 ? e2[n2][0] : {}, a3 = o2 && o2.result ? o2.result : {};
|
|
95
|
-
let s2 = null;
|
|
96
|
-
r2.serviceDataField ? s2 = a3[r2.serviceDataField] : a3 && (s2 = Array.isArray(a3) ? a3 : [a3]), s2 || (s2 = []), setValueForVariableName(t.entity, r2.runtime.dataConfig.resultSet, s2);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
a(e2);
|
|
101
|
-
}).catch((t2) => {
|
|
102
|
-
r(t2);
|
|
103
|
-
});
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
function updateChartDatasourcesByComponent(t, e) {
|
|
107
|
-
const n = t.initChartServiceConfigs.find((t2) => t2.uuid === e);
|
|
108
|
-
n && updateChartDatasources(t, [n], null, false);
|
|
109
|
-
}
|
|
110
|
-
function updateOptionDatasources(t, e, n) {
|
|
111
|
-
return new Promise((o, a) => {
|
|
112
|
-
if (!e || 0 == e.length) return void a(new Error("无需查询的配置!"));
|
|
113
|
-
const r = t.entity ? t.entity : {}, s = {};
|
|
114
|
-
r.request && Object.assign(s, r.request), r.page && Object.assign(s, r.page), s.query = n;
|
|
115
|
-
const i = { entityMap: r.data, additionalParamMap: s, dataSourceList: e, systemCode: t.systemCode, query: n }, u = t.backendUrl, l = getBaseUrl(u, t.isTest) + "/common/common-data/find-datas";
|
|
116
|
-
http.post(l, i).then((e2) => {
|
|
117
|
-
t.optionSourceMap || (t.optionSourceMap = {});
|
|
118
|
-
for (const n2 in e2) {
|
|
119
|
-
t.optionSourceMap[n2] = e2[n2];
|
|
120
|
-
const o2 = getComponentRef(t, n2);
|
|
121
|
-
o2 && o2.updateOptions && o2.updateOptions(e2[n2]);
|
|
122
|
-
}
|
|
123
|
-
o(e2);
|
|
124
|
-
}).catch((t2) => {
|
|
125
|
-
a(t2);
|
|
126
|
-
});
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
function getOptionDatasFromPage(t, e) {
|
|
130
|
-
return getComponentOptionDatasFromPage(t, e.uuid);
|
|
131
|
-
}
|
|
132
|
-
function getComponentOptionDatasFromPage(t, e) {
|
|
133
|
-
const n = getOptionDatasSourceMap(t)[e];
|
|
134
|
-
return n || [];
|
|
135
|
-
}
|
|
136
|
-
function getOptionDatasSourceMap(t) {
|
|
137
|
-
if (!t || !t.optionSourceMap) return {};
|
|
138
|
-
const e = t.optionSourceMap;
|
|
139
|
-
return e || {};
|
|
140
|
-
}
|
|
141
|
-
function getChartDatasFromPage(t, e) {
|
|
142
|
-
if (!t || !t.chartDataSourceMap || !e) return null;
|
|
143
|
-
return t.chartDataSourceMap[e.uuid];
|
|
144
|
-
}
|
|
145
|
-
function queryOptionDatasources(t, e, n) {
|
|
146
|
-
return updateOptionDatasources(t, e ? [e] : [], n);
|
|
147
|
-
}
|
|
148
|
-
function autoSetAfterSelect(t, e, n, o, a = []) {
|
|
149
|
-
if (!n || 0 == n.length) return;
|
|
150
|
-
const r = e.entity ? e.entity : {};
|
|
151
|
-
for (const t2 of n) {
|
|
152
|
-
if (!t2.source || !t2.target || a.includes(t2.target)) continue;
|
|
153
|
-
const e2 = getValuesByField(o, t2.source);
|
|
154
|
-
let n2 = t2.target;
|
|
155
|
-
if (!n2 || !n2.startsWith("${")) continue;
|
|
156
|
-
n2 = n2.substring(2, n2.length - 1);
|
|
157
|
-
const s = n2.split(".");
|
|
158
|
-
setVariableValue(r, s, null == e2 ? null : e2.join(","));
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
function getValuesByField(t, e) {
|
|
162
|
-
if (t) {
|
|
163
|
-
const n = [];
|
|
164
|
-
for (const o of t) {
|
|
165
|
-
let t2 = o[e];
|
|
166
|
-
null != t2 && null != t2 || (t2 = ""), n.push(t2);
|
|
167
|
-
}
|
|
168
|
-
return n;
|
|
169
|
-
}
|
|
170
|
-
return null;
|
|
171
|
-
}
|
|
172
|
-
function getVariableValue(t, e) {
|
|
173
|
-
if (!t || !e || 0 == e.length) return;
|
|
174
|
-
let n = t;
|
|
175
|
-
for (let t2 = 0; t2 < e.length; t2++) {
|
|
176
|
-
if (null == n) return n;
|
|
177
|
-
n = n[e[t2]];
|
|
178
|
-
}
|
|
179
|
-
return n;
|
|
180
|
-
}
|
|
181
|
-
function setValueForVariableName(t, e, n) {
|
|
182
|
-
if (!e || !e.startsWith("${")) return;
|
|
183
|
-
setVariableValue(t, (e = e.substring(2, e.length - 1)).split("."), n);
|
|
184
|
-
}
|
|
185
|
-
function setVariableValue(t, e, n) {
|
|
186
|
-
if (!t || !e || 0 == e.length) return;
|
|
187
|
-
let o = t;
|
|
188
|
-
for (let t2 = 0; t2 < e.length; t2++) {
|
|
189
|
-
const a = e[t2];
|
|
190
|
-
t2 + 1 === e.length ? o[a] = void 0 === n ? null : n : (void 0 === o[a] && (o[a] = {}), o = o[a]);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
function setVariableValueWithProp(t, e, n) {
|
|
194
|
-
if (!t || !e) return;
|
|
195
|
-
setVariableValue(t, e.split("."), n);
|
|
196
|
-
}
|
|
197
|
-
function formatVariableValue(t, e) {
|
|
198
|
-
if (!t || "" == e || null == e || null == e) return e;
|
|
199
|
-
const n = t.entity ? t.entity : {}, o = getParamNames(e);
|
|
200
|
-
for (const t2 in o) {
|
|
201
|
-
const a = o[t2], r = getValueFromVariable(n, a);
|
|
202
|
-
if (r && "[object Date]" === Object.prototype.toString.call(r)) return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
|
|
203
|
-
if (r && "number" == typeof r) return r;
|
|
204
|
-
e = e.replace(a, null == r ? "" : r);
|
|
205
|
-
}
|
|
206
|
-
return e;
|
|
207
|
-
}
|
|
208
|
-
function getParamNames(t) {
|
|
209
|
-
if (!t) return [];
|
|
210
|
-
const e = t.match(/\$\{[^\{|\}]+\}/g);
|
|
211
|
-
return e || [];
|
|
212
|
-
}
|
|
213
|
-
function formatValueByType(t, e, n) {
|
|
214
|
-
if (!e || "" == t || null == t || null == t) return t;
|
|
215
|
-
if (n = n || {}, "number" == e || "percent" == e) {
|
|
216
|
-
if (isNaN(t)) return t;
|
|
217
|
-
let o = parseInt(n.decimalDigit);
|
|
218
|
-
if ((null == o || isNaN(o)) && (o = -1), t = parseFloat(t), "percent" == e && (t *= 100), o > -1 && (t = parseFloat(t.toFixed(o))), "percent" == e) t += "%";
|
|
219
|
-
else {
|
|
220
|
-
if (n.thousandsSeparator) {
|
|
221
|
-
const e2 = t.toString().split(".");
|
|
222
|
-
e2[0] = e2[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), t = e2.length > 1 ? e2.join(".") : e2[0];
|
|
223
|
-
}
|
|
224
|
-
n.symbol && (t = n.symbol + "" + t);
|
|
225
|
-
}
|
|
226
|
-
return t;
|
|
227
|
-
}
|
|
228
|
-
if ("date" == e || "time" == e) {
|
|
229
|
-
let o = "";
|
|
230
|
-
return "date" == e ? (o = n.dateFormat, o || (o = "YYYY-MM-DD")) : (o = n.timeFormat, o || (o = "HH:mm:ss")), dayjs(t).format(o);
|
|
231
|
-
}
|
|
232
|
-
return "custom" == e && n.formatEventUuid, t;
|
|
233
|
-
}
|
|
234
|
-
function getValueFromVariable(t, e, n) {
|
|
235
|
-
if (null == e || null == e) return e;
|
|
236
|
-
if (e.startsWith("${") && e.endsWith("}")) {
|
|
237
|
-
let o = e.substring(2, e.length - 1), a = null, r = null;
|
|
238
|
-
if (o.startsWith("data.")) o = o.substring(5), r = t.data, a = "data";
|
|
239
|
-
else if (o.startsWith("page.")) o = o.substring(5), a = "page", r = t.page;
|
|
240
|
-
else if (o.startsWith("task.")) o = o.substring(5), a = "task", r = t.task;
|
|
241
|
-
else if (o.startsWith("request.")) o = o.substring(8), a = "request", r = t.request;
|
|
242
|
-
else if (o.startsWith("context.")) o = o.substring(8), a = "context", r = t.context;
|
|
243
|
-
else if (o.startsWith("system.")) o = o.substring(7), a = "system", r = t.system;
|
|
244
|
-
else {
|
|
245
|
-
if (o.startsWith("fixed.")) return o.substring(6);
|
|
246
|
-
o.startsWith("row.") && (o = o.substring(4), r = n, a = "row");
|
|
247
|
-
}
|
|
248
|
-
return o ? getValueFromSource(r, o, a) : "";
|
|
249
|
-
}
|
|
250
|
-
return e;
|
|
251
|
-
}
|
|
252
|
-
function getValueFromSource(t, e, n) {
|
|
253
|
-
if ("context" != n && !t || !e) return;
|
|
254
|
-
const o = e.indexOf(".");
|
|
255
|
-
if (o > -1) {
|
|
256
|
-
const a = e.substring(0, o), r = e.substring(o + 1);
|
|
257
|
-
let s = t[a];
|
|
258
|
-
return s && Array.isArray(s) && s.length > 0 && (s = s[0]), getValueFromSource(s, r, n);
|
|
259
|
-
}
|
|
260
|
-
if ("context" == n) {
|
|
261
|
-
if ("currentDate" == e || "currentTime" == e) return /* @__PURE__ */ new Date();
|
|
262
|
-
if (e.startsWith("currentDate") && e.length > 11) {
|
|
263
|
-
const t2 = e.substring(11), n2 = t2.substring(0, 1);
|
|
264
|
-
let o2 = parseInt(t2.substring(1, t2.length - 1), 10);
|
|
265
|
-
const a = t2.substring(t2.length - 1), r = /* @__PURE__ */ new Date();
|
|
266
|
-
return o2 = "+" === n2 ? o2 : -o2, "d" === a || "w" === a ? (o2 = "w" === a ? 7 * o2 : o2, r.setDate(r.getDate() + o2)) : "m" === a ? r.setMonth(r.getMonth() + o2) : "y" === a && r.setFullYear(r.getFullYear() + o2), r;
|
|
267
|
-
}
|
|
268
|
-
if (!t) return;
|
|
269
|
-
}
|
|
270
|
-
return t[e];
|
|
271
|
-
}
|
|
272
|
-
function caculateShowCondition(pageContext, showConditions, row) {
|
|
273
|
-
if (!showConditions || 0 == showConditions.length || !pageContext || !pageContext.entity) return true;
|
|
274
|
-
const entityData = pageContext.entity;
|
|
275
|
-
let conditions = "";
|
|
276
|
-
const maxLen = showConditions.length;
|
|
277
|
-
for (let t = 0; t < maxLen; t++) {
|
|
278
|
-
const e = showConditions[t], n = e.propName;
|
|
279
|
-
let o = e.operator;
|
|
280
|
-
if (!n || "" === n) continue;
|
|
281
|
-
o || (o = "EQ");
|
|
282
|
-
const a = getValueFromVariable(entityData, n, row);
|
|
283
|
-
let r = getValueFromVariable(entityData, e.propValue, row);
|
|
284
|
-
const s = e.dataType;
|
|
285
|
-
"CONTAIN" != o && "NOT_CONTAIN" != o || a && !a.includes && (o = "CONTAIN" == o ? "EQ" : "NET");
|
|
286
|
-
let i = e.variableIsNull, u;
|
|
287
|
-
if (i || (i = "null"), "IS_NULL" !== o && "IS_NOT_NULL" !== o && (void 0 !== r && "" !== r || (r = null, "null" === i ? o = "IS_NULL" : "notequal" === i ? o = "IS_NOT_NULL" : u = true)), null == u) try {
|
|
288
|
-
u = executeExpression(a, o, r, s);
|
|
289
|
-
} catch (t2) {
|
|
290
|
-
u = false;
|
|
291
|
-
}
|
|
292
|
-
const l = e.leftBracket, c = e.rightBracket;
|
|
293
|
-
let p = e.joinSign;
|
|
294
|
-
if (l && null !== l && "" !== l && (conditions += l, conditions += " "), conditions += u + " ", c && null !== c && "" !== c && (conditions += c, conditions += " "), t < maxLen - 1 && p && null !== p && "" !== p) {
|
|
295
|
-
const t2 = p.toLowerCase();
|
|
296
|
-
"and" === t2 ? p = t2.replace("and", "&&") : "or" === t2 && (p = t2.replace("or", "||")), conditions += p + " ";
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
return !conditions || eval("(" + conditions + ")");
|
|
300
|
-
}
|
|
301
|
-
function monitorFieldChange(t, e, n) {
|
|
302
|
-
if (!n || !t || !e || 0 == e.length) return;
|
|
303
|
-
const o = [], a = [];
|
|
304
|
-
for (let t2 of e) if (t2.startsWith("${")) {
|
|
305
|
-
t2 = t2.substring(2, t2.length - 1);
|
|
306
|
-
const e2 = t2.split(".");
|
|
307
|
-
"page" !== e2[0] && "task" !== e2[0] && "data" !== e2[0] || (o.push(e2), a.includes(e2[0]) || a.push(e2[0]));
|
|
308
|
-
}
|
|
309
|
-
let r = getMonitorFieldValues(o, t.entity), s = false;
|
|
310
|
-
for (const e2 of a) watch(t.entity[e2], () => {
|
|
311
|
-
s && clearTimeout(s), s = setTimeout(function() {
|
|
312
|
-
const e3 = getMonitorFieldValues(o, t.entity);
|
|
313
|
-
r != e3 && (r = e3, n());
|
|
314
|
-
}, 200);
|
|
315
|
-
});
|
|
316
|
-
}
|
|
317
|
-
function getMonitorFieldValues(t, e) {
|
|
318
|
-
let n = "";
|
|
319
|
-
for (const o of t) n += "_" + getVariableValue(e, o);
|
|
320
|
-
return n;
|
|
321
|
-
}
|
|
322
|
-
function getFormPropName(t) {
|
|
323
|
-
return t && t.indexOf("${") >= 0 ? t.substring(t.indexOf(".") + 1, t.lastIndexOf("}")) : t;
|
|
324
|
-
}
|
|
325
|
-
function getSizeConfig(t, e) {
|
|
326
|
-
const n = getPageModeType(t);
|
|
327
|
-
let o;
|
|
328
|
-
return e.props && e.props.size && e.props.size[n] && (o = e.props.size[n]), !o && e.props && e.props.size && (o = e.props.size.pc), o;
|
|
329
|
-
}
|
|
330
|
-
function getPageModeType(t) {
|
|
331
|
-
let e = t.dimensions;
|
|
332
|
-
return e || (e = "pc"), e;
|
|
333
|
-
}
|
|
334
|
-
function isPromise(t) {
|
|
335
|
-
return t && "[object Promise]" === Object.prototype.toString.call(t);
|
|
336
|
-
}
|
|
337
|
-
function decomposeVariable(t) {
|
|
338
|
-
if (!t) return [];
|
|
339
|
-
const e = t.match(/\${(.*?)}/);
|
|
340
|
-
return e ? e[1].split(".") : [];
|
|
341
|
-
}
|
|
342
|
-
function getModelFieldFromPageContext(t, e) {
|
|
343
|
-
if (!e.modelFieldsMap) return;
|
|
344
|
-
let n = null;
|
|
345
|
-
for (let o = 0; o < t.length; o++) {
|
|
346
|
-
const a = t[o];
|
|
347
|
-
o + 1 === t.length && (n = e.modelFieldsMap[a]);
|
|
348
|
-
}
|
|
349
|
-
return n;
|
|
350
|
-
}
|
|
351
|
-
function isNumberDataType(t) {
|
|
352
|
-
return "INTEGER" === t || "LONG" === t || "DOUBLE" === t || "FLOAT_COM" === t;
|
|
353
|
-
}
|
|
354
|
-
function isDateDataType(t) {
|
|
355
|
-
return "DATE" === (t = t ? t.toUpperCase() : "") || "TIME" === t || "DATETIME" === t || "TIMESTAMP" === t;
|
|
356
|
-
}
|
|
357
|
-
export {
|
|
358
|
-
autoSetAfterSelect,
|
|
359
|
-
caculateShowCondition,
|
|
360
|
-
decomposeVariable,
|
|
361
|
-
formatValueByType,
|
|
362
|
-
formatVariableValue,
|
|
363
|
-
getChartDatasFromPage,
|
|
364
|
-
getComponentOptionConfigs,
|
|
365
|
-
getComponentOptionConfigsBase,
|
|
366
|
-
getComponentOptionDatasFromPage,
|
|
367
|
-
getFormPropName,
|
|
368
|
-
getModelFieldFromPageContext,
|
|
369
|
-
getOptionDatasFromPage,
|
|
370
|
-
getOptionDatasSourceMap,
|
|
371
|
-
getParamNames,
|
|
372
|
-
getSizeConfig,
|
|
373
|
-
getValueFromSource,
|
|
374
|
-
getValueFromVariable,
|
|
375
|
-
getVariableValue,
|
|
376
|
-
isDateDataType,
|
|
377
|
-
isNumberDataType,
|
|
378
|
-
isPromise,
|
|
379
|
-
monitorFieldChange,
|
|
380
|
-
queryOptionDatasources,
|
|
381
|
-
setValueForVariableName,
|
|
382
|
-
setVariableValue,
|
|
383
|
-
setVariableValueWithProp,
|
|
384
|
-
updateChartDatasources,
|
|
385
|
-
updateChartDatasourcesByComponent,
|
|
386
|
-
updateOptionDatasources
|
|
387
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { getBaseUrl as e, getRealRestApiPath as t } from "./common-util.js";
|
|
2
|
-
import a from "agilebuilder-ui/src/utils/request";
|
|
3
|
-
import "./eventBus.js";
|
|
4
|
-
import { getPermissionCodes as o } from "./page-init-util.js";
|
|
5
|
-
import "agilebuilder-ui/src/utils/common-util";
|
|
6
|
-
import "agilebuilder-ui/src/utils/util";
|
|
7
|
-
import "element-plus";
|
|
8
|
-
import "agilebuilder-ui/src/utils/auth";
|
|
9
|
-
import "./global-refs.js";
|
|
10
|
-
import "axios";
|
|
11
|
-
import "dayjs";
|
|
12
|
-
import "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
13
|
-
import "vue";
|
|
14
|
-
import "./events/print-label.js";
|
|
15
|
-
import "./page-store.js";
|
|
16
|
-
import "agilebuilder-ui/src/utils/i18n-util";
|
|
17
|
-
import "vue-i18n";
|
|
18
|
-
import "async-validator";
|
|
19
|
-
function i(i2, r2, s2, n2, p2) {
|
|
20
|
-
return new Promise((s3, n3) => {
|
|
21
|
-
var _a, _b;
|
|
22
|
-
if (r2 && ((_a = r2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) if ("beanName" === ((_b = r2.props.dataOrigin) == null ? void 0 : _b.optionValueSetType)) {
|
|
23
|
-
const n4 = i2.backendUrl, m = i2.systemCode, l = o(r2, i2);
|
|
24
|
-
let d = e(n4, i2.isTest) + "/dsc/commons/load-tree-node";
|
|
25
|
-
d = t(d, m, n4, i2.isTest);
|
|
26
|
-
const u = { pageCode: i2.code, pageVersion: i2.version, tableName: i2.tableName, systemCode: m, functionCode: l, beanName: i2.beanName };
|
|
27
|
-
r2.props.dataOrigin.beanName && (u.beanName = r2.props.dataOrigin.beanName), p2 && Object.assign(u, p2), a.post(d, u).then((e2) => {
|
|
28
|
-
s3(e2);
|
|
29
|
-
});
|
|
30
|
-
} else {
|
|
31
|
-
const e2 = (r2.runtime ? r2.runtime : {}).props;
|
|
32
|
-
e2 && e2.staticData ? s3(e2.staticData) : s3([]);
|
|
33
|
-
}
|
|
34
|
-
else s3([]);
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
const r = (t2, o2, i2) => new Promise((r2, s2) => {
|
|
38
|
-
var _a;
|
|
39
|
-
if ("beanName" === ((_a = o2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
|
|
40
|
-
const s3 = i2.backendUrl, n2 = e(s3, i2.isTest) + "/dsc/commons/tree-node", m = p(false, t2, o2, i2);
|
|
41
|
-
a.delete(n2, { data: m }).then((e2) => {
|
|
42
|
-
r2(e2);
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}), s = (t2, o2, i2) => new Promise((r2, s2) => {
|
|
46
|
-
var _a;
|
|
47
|
-
if ("beanName" === ((_a = o2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
|
|
48
|
-
const s3 = i2.backendUrl, n2 = e(s3, i2.isTest) + "/dsc/commons/tree-node", m = p(true, t2, o2, i2);
|
|
49
|
-
a.post(n2, m).then((e2) => {
|
|
50
|
-
r2(e2);
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
}), n = (t2, o2, i2) => new Promise((r2, s2) => {
|
|
54
|
-
var _a;
|
|
55
|
-
if ("beanName" === ((_a = o2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
|
|
56
|
-
const s3 = i2.backendUrl, n2 = e(s3, i2.isTest) + "/dsc/commons/tree-node";
|
|
57
|
-
a.put(n2, p(false, t2, o2, i2)).then((e2) => {
|
|
58
|
-
r2(e2);
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
function p(e2, t2, a2, o2) {
|
|
63
|
-
const i2 = JSON.parse(JSON.stringify(t2.data));
|
|
64
|
-
e2 && (i2.nodeId = null);
|
|
65
|
-
const r2 = { pageCode: o2.code, pageVersion: o2.version, systemCode: o2.systemCode, beanName: o2.beanName, tableName: a2.props.base.treeTableName, treeLabelProp: a2.props.base.treeLabelProp, treeParentIdProp: a2.props.base.treeParentIdProp, currentNode: i2, parentNode: null };
|
|
66
|
-
return a2.props.dataOrigin.beanName && (r2.beanName = a2.props.dataOrigin.beanName), t2.parent && t2.parent.level > 0 && (r2.parentNode = t2.parent.data), r2;
|
|
67
|
-
}
|
|
68
|
-
export {
|
|
69
|
-
s as createTreeNode,
|
|
70
|
-
r as deleteNode,
|
|
71
|
-
i as getMenuTreeData,
|
|
72
|
-
n as updateTreeNode
|
|
73
|
-
};
|
package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, createBlock as t, openBlock as o } from "vue";
|
|
2
|
-
import n from "../button/button-runtime.vue2.js";
|
|
3
|
-
const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (r2, u) => (o(), t(n, { configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])) });
|
|
4
|
-
export {
|
|
5
|
-
r as default
|
|
6
|
-
};
|
package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as n, resolveComponent as u, createBlock as o, openBlock as a, normalizeStyle as i, normalizeClass as p, unref as r, withCtx as s, createElementBlock as g, Fragment as c, createTextVNode as m, toDisplayString as f, createVNode as v, renderList as d } from "vue";
|
|
2
|
-
import "agilebuilder-ui";
|
|
3
|
-
import { handleAfterInitEvent as y, handleEvent as b } from "../../../../utils/events/event-util.js";
|
|
4
|
-
import k from "../button/button-runtime.vue2.js";
|
|
5
|
-
import { $t as C } from "../../../../utils/i18n-util.js";
|
|
6
|
-
const x = { key: 1 }, _ = e({ __name: "printlabel-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
7
|
-
const _2 = e2, w = _2.configure.runtime ? _2.configure.runtime : {}, z = t(w.props ? w.props : {}), j = t(false);
|
|
8
|
-
z.value.template && z.value.template.length > 1 && (j.value = true);
|
|
9
|
-
const B = w.style, D = w.class, R = t(null);
|
|
10
|
-
return l(() => {
|
|
11
|
-
n(() => {
|
|
12
|
-
j.value && y(null, _2.pageContext, _2.configure, { componentRef: R.value, entity: _2.pageContext.entity.data, pageData: _2.pageContext.entity.page });
|
|
13
|
-
});
|
|
14
|
-
}), (t2, l2) => {
|
|
15
|
-
const n2 = u("el-button"), y2 = u("ArrowDown"), _3 = u("el-icon"), w2 = u("el-text"), T = u("el-dropdown-item"), h = u("el-dropdown-menu"), A = u("el-dropdown");
|
|
16
|
-
return j.value ? (a(), o(A, { key: 1, ref_key: "componentRef", ref: R, class: p(r(D)), style: i(r(B)), placement: z.value.placement, "split-button": z.value.splitButton, disabled: "disabled" === z.value.state, type: z.value.buttonType, size: z.value.size, trigger: z.value.trigger }, { dropdown: s(() => [v(h, null, { default: s(() => [(a(true), g(c, null, d(z.value.template, (t3, l3) => (a(), o(T, { key: t3, onClick: (l4) => r(b)(l4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: s(() => [m(f(r(C)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: s(() => ["button" === z.value.triggerElement ? (a(), g(c, { key: 0 }, [z.value.splitButton ? (a(), g("span", x, f(r(C)(z.value.title)), 1)) : (a(), o(n2, { key: 0, size: z.value.size, type: z.value.buttonType, onClick: l2[0] || (l2[0] = (t3) => r(b)(t3, e2.pageContext, e2.configure, "menuClick")) }, { default: s(() => [m(f(r(C)(z.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), o(w2, { key: 1 }, { default: s(() => [m(f(r(C)(z.value.title)) + " ", 1), v(_3, null, { default: s(() => [v(y2)]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"])) : (a(), o(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]));
|
|
17
|
-
};
|
|
18
|
-
} });
|
|
19
|
-
export {
|
|
20
|
-
_ as default
|
|
21
|
-
};
|
package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as i, onUnmounted as o, resolveComponent as l, createBlock as a, openBlock as r, withCtx as n, createElementVNode as u, createVNode as s, createTextVNode as p, createCommentVNode as c, createElementBlock as g, Fragment as m, renderList as d } from "vue";
|
|
2
|
-
import f from "../../object-render.vue.js";
|
|
3
|
-
import { updateChartDatasources as v, getValueFromVariable as h } from "../../../../utils/page-helper-util.js";
|
|
4
|
-
import { ElLoading as y, ElMessage as C } from "element-plus";
|
|
5
|
-
import b from "agilebuilder-ui/src/utils/request";
|
|
6
|
-
import "agilebuilder-ui/src/utils/common-util";
|
|
7
|
-
import "agilebuilder-ui/src/utils/util";
|
|
8
|
-
import "async-validator";
|
|
9
|
-
import "../../../../utils/global-refs.js";
|
|
10
|
-
import "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
11
|
-
import "../../../../utils/eventBus.js";
|
|
12
|
-
import "../../../../utils/page-store.js";
|
|
13
|
-
import "agilebuilder-ui/src/utils/i18n-util";
|
|
14
|
-
import "vue-i18n";
|
|
15
|
-
import "agilebuilder-ui/src/utils/auth";
|
|
16
|
-
import "axios";
|
|
17
|
-
import "../../../../utils/events/print-label.js";
|
|
18
|
-
const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "dialogBody" }, O = { class: "dialog-footer" }, x = e({ __name: "common-homepage-search", props: { configure: { type: Object, required: true }, pageContext: { type: Object, default: () => {
|
|
19
|
-
} } }, setup(e2, { expose: x2 }) {
|
|
20
|
-
const N = e2, _ = t(false), J = t({}), j = t(0);
|
|
21
|
-
let I;
|
|
22
|
-
i(() => {
|
|
23
|
-
I = setTimeout(() => {
|
|
24
|
-
J.value = JSON.parse(JSON.stringify(N.pageContext.entity));
|
|
25
|
-
}, 200);
|
|
26
|
-
}), o(() => {
|
|
27
|
-
I && clearTimeout(I);
|
|
28
|
-
});
|
|
29
|
-
const k = t([]), w = () => {
|
|
30
|
-
_.value = false;
|
|
31
|
-
}, T = () => {
|
|
32
|
-
const e3 = y.service({ lock: true, text: "Loading", background: "rgba(0, 0, 0, 0.7)" });
|
|
33
|
-
v(N.pageContext, N.pageContext.initChartServiceConfigs, null, false).then(() => {
|
|
34
|
-
_.value = false;
|
|
35
|
-
}).finally(() => {
|
|
36
|
-
_.value = false, e3.close();
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
function H() {
|
|
40
|
-
N.pageContext.entity = JSON.parse(JSON.stringify(J.value)), j.value++;
|
|
41
|
-
}
|
|
42
|
-
function A() {
|
|
43
|
-
const e3 = {};
|
|
44
|
-
N.pageContext.variables.forEach((t3) => {
|
|
45
|
-
const i3 = "${page." + t3.name + "}";
|
|
46
|
-
e3[i3] = h(N.pageContext.entity, i3, null);
|
|
47
|
-
});
|
|
48
|
-
let t2 = window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS"), i2 = {};
|
|
49
|
-
t2 && (i2 = JSON.parse(t2)), i2[N.configure.homeChartSettingUserId] = e3;
|
|
50
|
-
const o2 = JSON.stringify(e3);
|
|
51
|
-
window.localStorage.setItem("HOME_MY_CHARTS_CONDITIONS", JSON.stringify(i2)), J.value = JSON.parse(JSON.stringify(N.pageContext.entity)), b.post(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-settings/search-conditions", { id: N.configure.homeChartSettingUserId, searchConditionsJson: o2 }).then((e4) => {
|
|
52
|
-
C.success("保存成功"), T();
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
return x2({ openSearch: () => {
|
|
56
|
-
_.value = true, k.value = N.configure.pushHomepage.searchConditions;
|
|
57
|
-
} }), (t2, i2) => {
|
|
58
|
-
const o2 = l("el-empty"), v2 = l("el-form"), h2 = l("el-button"), y2 = l("el-dialog");
|
|
59
|
-
return r(), a(y2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => [...i2[1] || (i2[1] = [p(" 确定 ", -1)])]), _: 1 }), s(h2, { type: "default", onClick: H }, { default: n(() => [...i2[2] || (i2[2] = [p("重置", -1)])]), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => [...i2[3] || (i2[3] = [p(" 保存为默认条件 ", -1)])]), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
|
|
60
|
-
};
|
|
61
|
-
} });
|
|
62
|
-
export {
|
|
63
|
-
x as default
|
|
64
|
-
};
|