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,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), l = require("../../../../utils/page-helper-util.cjs"), r = e.defineComponent({ __name: "title-suffix-element", props: { pageContext: {}, property: {} }, setup(r2) {
|
|
3
|
+
const t = r2, o = t.pageContext.entity;
|
|
4
|
+
let p = [];
|
|
5
|
+
if (t.property.prefixPro && t.property.prefixPro.startsWith("${")) {
|
|
6
|
+
let e2 = t.property.prefixPro;
|
|
7
|
+
e2 = e2.substring(2, e2.length - 1), p = e2.split(".");
|
|
8
|
+
} else p = [];
|
|
9
|
+
if (p.length > 0 && t.property.prefixDefault) {
|
|
10
|
+
const e2 = t.property.prefixDefault;
|
|
11
|
+
let r3 = l.formatVariableValue(t.pageContext, e2);
|
|
12
|
+
if (null != r3 && null != r3) {
|
|
13
|
+
"checkbox" === t.property.prefixType && (r3 = (r3 + "").split(",")), l.setVariableValue(o, p, r3);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
const a = t.property.prefixType;
|
|
17
|
+
let u = t.property.prefixValue;
|
|
18
|
+
u = null == u || null == u ? "" : u;
|
|
19
|
+
let n = null;
|
|
20
|
+
return p.length > 0 && (n = e.computed({ get() {
|
|
21
|
+
const e2 = l.getVariableValue(o, p);
|
|
22
|
+
return "checkbox" === a ? null != e2 && (Array.isArray(e2) ? e2.includes(u) : e2 === u) : e2;
|
|
23
|
+
}, set(e2) {
|
|
24
|
+
if ("checkbox" === a) {
|
|
25
|
+
let r3 = l.getVariableValue(o, p);
|
|
26
|
+
r3 || (r3 = []), Array.isArray(r3) || (r3 = [r3]);
|
|
27
|
+
const t2 = r3.indexOf(u);
|
|
28
|
+
e2 ? -1 == t2 && r3.push(u) : t2 > -1 && r3.splice(t2, 1), l.setVariableValue(o, p, r3);
|
|
29
|
+
} else l.setVariableValue(o, p, e2);
|
|
30
|
+
} })), (l2, r3) => {
|
|
31
|
+
const t2 = e.resolveComponent("el-radio"), o2 = e.resolveComponent("el-checkbox");
|
|
32
|
+
return e.openBlock(), e.createElementBlock(e.Fragment, null, ["radio" === l2.property.prefixType ? (e.openBlock(), e.createBlock(t2, { key: 0, value: l2.property.prefixValue, label: l2.property.title, modelValue: e.unref(n), "onUpdate:modelValue": r3[0] || (r3[0] = (l3) => e.isRef(n) ? n.value = l3 : n = l3) }, null, 8, ["value", "label", "modelValue"])) : e.createCommentVNode("", true), "checkbox" === l2.property.prefixType ? (e.openBlock(), e.createBlock(o2, { key: 1, label: l2.property.title, value: l2.property.prefixValue, modelValue: e.unref(n), "onUpdate:modelValue": r3[1] || (r3[1] = (l3) => e.isRef(n) ? n.value = l3 : n = l3) }, null, 8, ["label", "value", "modelValue"])) : e.createCommentVNode("", true)], 64);
|
|
33
|
+
};
|
|
34
|
+
} });
|
|
35
|
+
module.exports = r;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../utils/page-init-util.cjs"), n = require("../../../../utils/page-helper-util.cjs"), o = require("../../../../utils/events/event-util.cjs"), a = require("../../../../utils/events/validator-util.cjs"), i = require("../../../../utils/common-util.cjs"), u = require("../../../../utils/global-refs.cjs"), r = require("../../../../utils/events/standard-event.cjs"), l = require("../../../../utils/i18n-util.cjs"), s = require("../../../../utils/eventBus.cjs"), p = require("../../../../utils/api/page-expose-util.cjs"), c = { key: 0, style: { width: "100%", height: "100%" } }, d = { key: 1, style: { width: "100%", height: "100%" }, class: "amb-widget-richtext-single" }, f = e.defineComponent({ __name: "custom-runtime", props: { pageContext: {}, configure: {} }, setup(f2, { expose: m }) {
|
|
3
|
+
const g = f2, v = g.pageContext.entity ? g.pageContext.entity : {}, C = t.getFormModelFields(g.pageContext, g.configure), x = e.computed({ get: () => n.getVariableValue(v, C), set(e2) {
|
|
4
|
+
n.setVariableValue(v, C, e2);
|
|
5
|
+
} }), y = g.configure.runtime ? g.configure.runtime : {}, h = y.style, b = y.class, k = y.headerStyle, V = e.ref(y.props ? y.props : {}), q = function(e2) {
|
|
6
|
+
let t2 = {};
|
|
7
|
+
if (e2) for (let o2 in e2) {
|
|
8
|
+
const a2 = e2[o2];
|
|
9
|
+
t2[o2] = n.formatVariableValue(g.pageContext, a2);
|
|
10
|
+
}
|
|
11
|
+
return t2;
|
|
12
|
+
}(y.customParams ? y.customParams : {}), E = r.getAdditionalParamMap(g.pageContext), j = e.ref(g.configure.props && g.configure.props.base ? g.configure.props.base.name : null);
|
|
13
|
+
function R(e2, t2) {
|
|
14
|
+
n.setVariableValueWithProp(v, e2, t2);
|
|
15
|
+
}
|
|
16
|
+
function B(e2) {
|
|
17
|
+
p.functions.isHasFieldAuthPermission(g.configure) ? a.updateFormItemEditState(g.pageContext, e2) : console.error("没有该字段的权限,dynamicFields=", C ? C.join(".") : "");
|
|
18
|
+
}
|
|
19
|
+
function D() {
|
|
20
|
+
const e2 = g.pageContext.tableUuids;
|
|
21
|
+
e2 && e2.forEach((e3) => {
|
|
22
|
+
const t2 = i.getListCode(g.pageContext.code, g.pageContext.version, g.configure.uuid), n2 = u.getComponentRef(g.pageContext, e3);
|
|
23
|
+
n2 && n2.restoreGridEdit(t2);
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
g.configure.props.verification.custom && g.configure.props.verification.custom.enabled && (g.pageContext.customValidatorUuids || (g.pageContext.customValidatorUuids = []), g.pageContext.customValidatorUuids.push(g.configure.uuid));
|
|
27
|
+
const F = g.pageContext.code, w = e.ref(C && C.length > 0 ? F + "__" + C.join("__") : null), S = e.ref(null), _ = e.ref(null), U = e.ref(null);
|
|
28
|
+
function P(e2) {
|
|
29
|
+
o.handleEvent(x.value, g.pageContext, g.configure, e2);
|
|
30
|
+
}
|
|
31
|
+
return e.onMounted(() => {
|
|
32
|
+
s.$on(w.value + "-scanDone", (e2) => {
|
|
33
|
+
const t2 = e2.result;
|
|
34
|
+
n.setVariableValue(v, C, t2);
|
|
35
|
+
}), s.$on(w.value + "-pickFileDone", (e2) => {
|
|
36
|
+
w.value, S.value.pickFileDone(e2);
|
|
37
|
+
}), e.nextTick(() => {
|
|
38
|
+
const e2 = x.value;
|
|
39
|
+
o.handleAfterInitEvent(e2, g.pageContext, g.configure, { formItemRef: _.value, componentRef: S.value, titleRef: U.value, value: e2, entity: g.pageContext.entity.data, pageData: g.pageContext.entity.page });
|
|
40
|
+
});
|
|
41
|
+
}), e.onUnmounted(() => {
|
|
42
|
+
s.$off(w.value + "-scanDone"), s.$off(w.value + "-pickFileDone");
|
|
43
|
+
}), m({ getCustomRef: function() {
|
|
44
|
+
return S.value;
|
|
45
|
+
}, invokeCustomFunction: function(e2, ...t2) {
|
|
46
|
+
if (S.value && "function" == typeof S.value[e2]) return S.value[e2](...t2);
|
|
47
|
+
throw new Error(`执行失败:Function '${e2}' not found in custom component`);
|
|
48
|
+
}, hasCustomFunction: function(e2) {
|
|
49
|
+
return S.value && "function" == typeof S.value[e2];
|
|
50
|
+
}, addRequiredClass: function() {
|
|
51
|
+
requiredClass.value = addRequiredClassUtil();
|
|
52
|
+
} }), (t2, a2) => {
|
|
53
|
+
const i2 = e.resolveComponent("el-form-item");
|
|
54
|
+
return V.value.tittleShow ? (e.openBlock(), e.createBlock(i2, { key: 0, ref_key: "formItemRef", ref: _, required: V.value.required, class: e.normalizeClass(e.unref(b)), "label-width": V.value.labelWidth, style: e.normalizeStyle(e.unref(h)) }, { label: e.withCtx(() => [V.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: U, style: e.normalizeStyle({ ...e.unref(k) }) }, e.toDisplayString(e.unref(l.$t)(V.value.title)), 5)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [j.value ? (e.openBlock(), e.createElementBlock("div", c, [(e.openBlock(), e.createBlock(e.resolveDynamicComponent(j.value), { ref_key: "customRef", ref: S, size: V.value.size, entity: t2.pageContext.entity.data, pageData: t2.pageContext.entity.page, pageContext: t2.pageContext, configureObj: t2.configure, prop: e.unref(n.getFormPropName)(t2.configure.props && t2.configure.props.base ? t2.configure.props.base.prop : null), "custom-params": e.unref(q), modelValue: x.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e2) => x.value = e2), disabled: "disabled" === V.value.state, "additional-param-map": e.unref(E), "component-id": w.value, onSetEntityValue: R, onSetCustomRules: B, onRestoreGridEdit: D, onHandleEvent: P, onChange: a2[1] || (a2[1] = (n2) => e.unref(o.handleEvent)(x.value, t2.pageContext, t2.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : j.value ? (e.openBlock(), e.createElementBlock("div", d, [(e.openBlock(), e.createBlock(e.resolveDynamicComponent(j.value), { ref_key: "customRef", ref: S, entity: t2.pageContext.entity.data, pageData: t2.pageContext.entity.page, pageContext: t2.pageContext, configureObj: t2.configure, prop: e.unref(n.getFormPropName)(t2.configure.props && t2.configure.props.base ? t2.configure.props.base.prop : null), "custom-params": e.unref(q), modelValue: x.value, "onUpdate:modelValue": a2[2] || (a2[2] = (e2) => x.value = e2), disabled: "disabled" === V.value.state, "additional-param-map": e.unref(E), "component-id": w.value, onSetEntityValue: R, onSetCustomRules: B, onRestoreGridEdit: D, onHandleEvent: P, onChange: a2[3] || (a2[3] = (n2) => e.unref(o.handleEvent)(x.value, t2.pageContext, t2.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : e.createCommentVNode("", true);
|
|
55
|
+
};
|
|
56
|
+
} });
|
|
57
|
+
module.exports = f;
|
package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), a = require("../../../../utils/page-init-util.cjs"), l = require("../../../../utils/form/date-shortcuts.cjs"), t = require("../../../../utils/page-helper-util.cjs"), r = require("../../../../utils/events/event-util.cjs"), n = require("../common/title-suffix-element.vue.cjs"), o = require("dayjs"), u = require("../../../../utils/i18n-util.cjs"), i = require("../../../../utils/common-util.cjs"), c = require("agilebuilder-ui"), d = e.defineComponent({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(d2, { expose: s }) {
|
|
3
|
+
var _a;
|
|
4
|
+
const v = d2, p = e.ref(null), f = v.pageContext.entity ? v.pageContext.entity : {}, g = v.configure.runtime ? v.configure.runtime : {}, m = g.style, h = g.class, y = g.headerStyle, C = g.titleExceedStyle, b = e.ref(g.props ? g.props : {});
|
|
5
|
+
let V = a.getFormModelFields(v.pageContext, v.configure, b.value.prop);
|
|
6
|
+
if (v.pageContext.modelFieldsMap && V && V.length > 0 && "data" === V[0]) {
|
|
7
|
+
const e2 = t.getModelFieldFromPageContext(V, v.pageContext);
|
|
8
|
+
e2 && function(e3) {
|
|
9
|
+
const a2 = e3.dataType;
|
|
10
|
+
t.isDateDataType(a2) && ("year" === b.value.dateType && "YYYY" === b.value.valueFormat || "month" === b.value.dateType && "YYYY-MM" === b.value.valueFormat) && (b.value.valueFormat = "x");
|
|
11
|
+
}(e2);
|
|
12
|
+
}
|
|
13
|
+
let x = null, F = false;
|
|
14
|
+
if (b.value.dateType && b.value.dateType.includes("range")) {
|
|
15
|
+
F = true;
|
|
16
|
+
let e2 = b.value.prop2;
|
|
17
|
+
e2 && e2.startsWith("${") || (e2 = "${page." + v.configure.uuid + "-2}");
|
|
18
|
+
const a2 = t.getValueFromVariable(f, e2, null);
|
|
19
|
+
if (e2 = e2.substring(2, e2.length - 1), x = e2.split("."), !(a2 || f.data && (f.data.id || f.data.ID)) && b.value.defaultValue2) {
|
|
20
|
+
const e3 = t.getValueFromVariable(f, b.value.defaultValue2);
|
|
21
|
+
if (null != e3 && "" !== e3) t.setVariableValue(f, x, e3);
|
|
22
|
+
else if (((_a = b.value.moreDefaultValue2) == null ? void 0 : _a.length) > 0) {
|
|
23
|
+
const e4 = b.value.moreDefaultValue2;
|
|
24
|
+
for (let a3 = 0; a3 < e4.length; a3++) {
|
|
25
|
+
const l2 = t.getValueFromVariable(f, e4[a3]);
|
|
26
|
+
if (null != l2 && "" !== l2) {
|
|
27
|
+
t.setVariableValue(f, x, l2);
|
|
28
|
+
break;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
const k = e.ref(null), E = e.ref(null), T = e.ref(null);
|
|
35
|
+
function B(e2, a2) {
|
|
36
|
+
if (!e2) return e2;
|
|
37
|
+
if (a2) {
|
|
38
|
+
"number" != typeof e2 || isNaN(e2) || 4 !== e2.toString().length || (e2 = e2.toString());
|
|
39
|
+
try {
|
|
40
|
+
const l2 = o(e2);
|
|
41
|
+
let t2 = null;
|
|
42
|
+
return t2 = "x" === a2 ? l2.toDate().getTime() : o(e2).format(a2), t2;
|
|
43
|
+
} catch (a3) {
|
|
44
|
+
return console.error("日期值格式化错误", a3), console.error(`value: ${e2} ,valueFormat: ${b.value.valueFormat}`), e2;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return e2;
|
|
48
|
+
}
|
|
49
|
+
if (e.onMounted(() => {
|
|
50
|
+
e.nextTick(() => {
|
|
51
|
+
const e2 = q.value;
|
|
52
|
+
r.handleAfterInitEvent(e2, v.pageContext, v.configure, { formItemRef: k.value, componentRef: E.value, titleRef: T.value, value: e2, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
|
|
53
|
+
});
|
|
54
|
+
}), V) {
|
|
55
|
+
const e2 = t.getVariableValue(f, V), a2 = B(e2, b.value.valueFormat);
|
|
56
|
+
e2 !== a2 && t.setVariableValue(f, V, a2);
|
|
57
|
+
}
|
|
58
|
+
if (x) {
|
|
59
|
+
const e2 = t.getVariableValue(f, x), a2 = B(e2, b.value.valueFormat);
|
|
60
|
+
e2 !== a2 && t.setVariableValue(f, x, a2);
|
|
61
|
+
}
|
|
62
|
+
const q = e.computed({ get() {
|
|
63
|
+
if (F) {
|
|
64
|
+
const e2 = [];
|
|
65
|
+
let a2 = t.getVariableValue(f, V);
|
|
66
|
+
e2.push(B(a2, b.value.valueFormat));
|
|
67
|
+
let l2 = t.getVariableValue(f, x);
|
|
68
|
+
return e2.push(B(l2, b.value.valueFormat)), e2;
|
|
69
|
+
}
|
|
70
|
+
return B(t.getVariableValue(f, V), b.value.valueFormat);
|
|
71
|
+
}, set(e2) {
|
|
72
|
+
F ? Array.isArray(e2) ? (t.setVariableValue(f, V, e2[0]), t.setVariableValue(f, x, e2[1]), p.value = "") : null === e2 && (t.setVariableValue(f, V, null), t.setVariableValue(f, x, null)) : (t.setVariableValue(f, V, e2), null != e2 && (p.value = ""));
|
|
73
|
+
} }), z = e.ref(l.getDateShortCuts(b.value.dateScopeDetails, b.value.sourceType, b.value.dateType));
|
|
74
|
+
if (b.value.shortcutsFunc) {
|
|
75
|
+
const e2 = r.getCustomFunc(v.pageContext, b.value.shortcutsFunc);
|
|
76
|
+
if (e2) {
|
|
77
|
+
let a2 = e2.apply(e2, [{ pageContext: v.pageContext, configureObj: v.configure }]);
|
|
78
|
+
if (a2) {
|
|
79
|
+
Array.isArray(a2) || (a2 = [a2]), z.value || (z.value = []);
|
|
80
|
+
for (let e3 of a2) e3.text && e3.value && z.value.push(e3);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return s({ addRequiredClass: function() {
|
|
85
|
+
p.value = i.addRequiredClassUtil();
|
|
86
|
+
} }), (a2, l2) => {
|
|
87
|
+
const t2 = e.resolveComponent("el-time-picker"), o2 = e.resolveComponent("el-date-picker"), i2 = e.resolveComponent("el-form-item");
|
|
88
|
+
return e.openBlock(), e.createBlock(i2, { ref_key: "formItemRef", ref: k, required: b.value.required, class: e.normalizeClass(e.unref(h) + (p.value ? " " + p.value : "")), "label-width": b.value.labelWidth, style: e.normalizeStyle(e.unref(m)) }, { label: e.withCtx(() => [b.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: T, style: e.normalizeStyle({ ...e.unref(y), ...e.unref(C) }) }, [b.value.prefixType ? (e.openBlock(), e.createBlock(n, { key: 0, pageContext: a2.pageContext, property: b.value }, null, 8, ["pageContext", "property"])) : (e.openBlock(), e.createElementBlock(e.Fragment, { key: 1 }, [e.createTextVNode(e.toDisplayString(e.unref(u.$t)(b.value.title)), 1)], 64))], 4)) : e.createCommentVNode("", true)]), default: e.withCtx(() => ["time" == b.value.dateType || "timerange" == b.value.dateType ? (e.openBlock(), e.createBlock(t2, { key: 0, ref_key: "componentRef", ref: E, "is-range": "timerange" == b.value.dateType, style: { width: "100%" }, "range-separator": "-", clearable: b.value.clearable, disabled: "disabled" === b.value.state, readonly: "readonly" === b.value.state, size: b.value.size, placeholder: b.value.placeholder, "start-placeholder": b.value.placeholder, "end-placeholder": b.value.endPlaceholder ? b.value.endPlaceholder : b.value.placeholder, "unlink-panels": true, format: b.value.format, "value-format": b.value.valueFormat, modelValue: q.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => q.value = e2), shortcuts: z.value, type: b.value.dateType, onChange: l2[1] || (l2[1] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "change")), onBlur: l2[2] || (l2[2] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "blur")), onFocus: l2[3] || (l2[3] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "focus")), onVisibleChange: l2[4] || (l2[4] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "visible-change")), onPanelChange: l2[5] || (l2[5] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "panel-change")), onClear: l2[6] || (l2[6] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : "combined" !== b.value.dateRangePickerMode && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(b.value.dateType) ? (e.openBlock(), e.createBlock(e.unref(c.DatePickerRange), { key: 1, modelValue: q.value, "onUpdate:modelValue": l2[7] || (l2[7] = (e2) => q.value = e2), type: b.value.dateType, disabled: "disabled" === b.value.state, readonly: "readonly" === b.value.state, clearable: b.value.clearable, format: b.value.format, "value-format": b.value.valueFormat, placeholder: b.value.placeholder, "start-placeholder": b.value.placeholder, "end-placeholder": b.value.endPlaceholder ? b.value.endPlaceholder : b.value.placeholder, size: b.value.size, shortcuts: z.value, onChange: l2[8] || (l2[8] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "change")), onBlur: l2[9] || (l2[9] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "blur")), onFocus: l2[10] || (l2[10] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "focus")), onVisibleChange: l2[11] || (l2[11] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "visible-change")), onPanelChange: l2[12] || (l2[12] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "panel-change")), onClear: l2[13] || (l2[13] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : (e.openBlock(), e.createBlock(o2, { key: 2, ref_key: "componentRef", ref: E, clearable: b.value.clearable, style: { width: "100%" }, "unlink-panels": true, disabled: "disabled" === b.value.state, readonly: "readonly" === b.value.state, size: b.value.size, placeholder: b.value.placeholder, "start-placeholder": b.value.placeholder, "end-placeholder": b.value.endPlaceholder ? b.value.endPlaceholder : b.value.placeholder, format: b.value.format, "value-format": b.value.valueFormat, modelValue: q.value, "onUpdate:modelValue": l2[14] || (l2[14] = (e2) => q.value = e2), shortcuts: z.value, type: b.value.dateType, onChange: l2[15] || (l2[15] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "change")), onBlur: l2[16] || (l2[16] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "blur")), onFocus: l2[17] || (l2[17] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "focus")), onVisibleChange: l2[18] || (l2[18] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "visible-change")), onPanelChange: l2[19] || (l2[19] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "panel-change")), onClear: l2[20] || (l2[20] = (l3) => e.unref(r.handleFormEvent)(l3, a2.pageContext, a2.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
89
|
+
};
|
|
90
|
+
} });
|
|
91
|
+
module.exports = d;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../utils/page-init-util.cjs"), l = require("../../../../utils/events/event-util.cjs"), n = require("../common/title-suffix-element.vue.cjs"), o = require("../../../../utils/i18n-util.cjs"), r = require("../../../../utils/page-helper-util.cjs"), a = require("../../../../utils/common-util.cjs"), i = e.defineComponent({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(i2, { expose: u }) {
|
|
3
|
+
const p = i2, s = e.ref(null), c = e.ref([]), d = p.pageContext.entity ? p.pageContext.entity : {};
|
|
4
|
+
d.data || (d.data = {});
|
|
5
|
+
const f = d.data, m = d.page;
|
|
6
|
+
let g = t.getFormModelFields(p.pageContext, p.configure);
|
|
7
|
+
const v = g.length > 0 ? g[g.length - 1] : p.configure.uuid, C = p.configure.runtime ? p.configure.runtime : {}, y = e.ref(C.props ? C.props : {}), h = C.style, x = C.class, S = C.headerStyle, F = C.titleExceedStyle;
|
|
8
|
+
C.props.deptScope && ("field" == C.props.deptScope && C.props.deptScopeField ? (z(), function(t2, l2) {
|
|
9
|
+
if (0 === t2.indexOf("${fixed.")) return;
|
|
10
|
+
const n2 = t2.match(/\${(.*?)}/);
|
|
11
|
+
if (!n2) return;
|
|
12
|
+
const o2 = n2 ? n2[1].split(".") : [];
|
|
13
|
+
o2 && o2.length > 0 && e.watch(() => o2.reduce((e2, t3) => e2[t3], p.pageContext.entity), (e2, t3) => {
|
|
14
|
+
l2(e2, t3);
|
|
15
|
+
});
|
|
16
|
+
}(C.props.deptScopeField, (e2, t2) => {
|
|
17
|
+
z();
|
|
18
|
+
})) : "depts" == C.props.deptScope && C.props.deptScopeCodes && (c.value = C.props.deptScopeCodes.split(",")));
|
|
19
|
+
const k = e.ref(null), q = e.ref(null), V = e.ref(null);
|
|
20
|
+
e.onMounted(() => {
|
|
21
|
+
e.nextTick(() => {
|
|
22
|
+
const e2 = f ? f[v] : null;
|
|
23
|
+
l.handleAfterInitEvent(e2, p.pageContext, p.configure, { formItemRef: k.value, componentRef: q.value, titleRef: V.value, value: e2, entity: p.pageContext.entity.data, pageData: p.pageContext.entity.page });
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
const b = e.computed({ get: () => r.getVariableValue(d, g), set(e2) {
|
|
27
|
+
r.setVariableValue(d, g, e2), null != e2 && (s.value = "");
|
|
28
|
+
} }), B = y.value.autoSetFields ? y.value.autoSetFields : [];
|
|
29
|
+
let E = null;
|
|
30
|
+
function R(e2, t2) {
|
|
31
|
+
E ? E === e2 && (g.length > 0 ? l.handleFormEvent(r.getVariableValue(d, g), p.pageContext, p.configure, "change") : l.handleFormEvent(t2, p.pageContext, p.configure, "change")) : e2 === v && l.handleFormEvent(t2, p.pageContext, p.configure, "change");
|
|
32
|
+
}
|
|
33
|
+
function w() {
|
|
34
|
+
l.handleFormEvent(null, p.pageContext, p.configure, "click");
|
|
35
|
+
}
|
|
36
|
+
function z() {
|
|
37
|
+
const e2 = r.getValueFromVariable(p.pageContext.entity, C.props.deptScopeField);
|
|
38
|
+
c.value = e2 ? e2.split(",") : [];
|
|
39
|
+
}
|
|
40
|
+
return B.length - 1 > 0 && B[B.length - 1] && B[B.length - 1].model && (E = r.getFormPropName(B[B.length - 1].model)), u({ addRequiredClass: function() {
|
|
41
|
+
s.value = a.addRequiredClassUtil();
|
|
42
|
+
} }), (t2, l2) => {
|
|
43
|
+
const r2 = e.resolveComponent("OrganizationInput"), a2 = e.resolveComponent("el-form-item");
|
|
44
|
+
return e.openBlock(), e.createBlock(a2, { ref_key: "formItemRef", ref: k, required: y.value.required, class: e.normalizeClass(e.unref(x) + (s.value ? " " + s.value : "")), "label-width": y.value.labelWidth, style: e.normalizeStyle(e.unref(h)) }, { label: e.withCtx(() => [y.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: V, style: e.normalizeStyle({ ...e.unref(S), ...e.unref(F) }) }, [y.value.prefixType ? (e.openBlock(), e.createBlock(n, { key: 0, pageContext: t2.pageContext, property: y.value }, null, 8, ["pageContext", "property"])) : (e.openBlock(), e.createElementBlock(e.Fragment, { key: 1 }, [e.createTextVNode(e.toDisplayString(e.unref(o.$t)(y.value.title)), 1)], 64))], 4)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [e.createVNode(r2, { ref_key: "componentRef", ref: q, disabled: "disabled" == y.value.state, multiple: y.value.multiple, treeType: y.value.treeType, value: b.value, models: e.unref(f), departmentInfo: c.value, limitFilterColumn: y.value.limitFilterColumn, pageModels: e.unref(m), fields: e.unref(B), size: y.value.size, separator: y.value.separator, onSetValue: R, onShowTree: w }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "size", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
45
|
+
};
|
|
46
|
+
} });
|
|
47
|
+
module.exports = i;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../utils/page-helper-util.cjs"), n = require("../../../../utils/events/event-util.cjs"), o = e.defineComponent({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(o2) {
|
|
3
|
+
const r = o2, i = r.configure.runtime ? r.configure.runtime : {}, l = i.headerStyle, u = e.ref(i.props ? i.props : {});
|
|
4
|
+
let a = u.value.value;
|
|
5
|
+
const c = e.computed(() => {
|
|
6
|
+
if (!a) return "";
|
|
7
|
+
const e2 = t.formatVariableValue(r.pageContext, a);
|
|
8
|
+
return null == e2 || null == e2 ? "" : e2;
|
|
9
|
+
}), p = e.ref(null);
|
|
10
|
+
return e.onMounted(() => {
|
|
11
|
+
e.nextTick(() => {
|
|
12
|
+
const e2 = c.value;
|
|
13
|
+
n.handleAfterInitEvent(e2, r.pageContext, r.configure, { componentRef: p.value, value: e2, entity: r.pageContext.entity.data, pageData: r.pageContext.entity.page });
|
|
14
|
+
});
|
|
15
|
+
}), (t2, o3) => {
|
|
16
|
+
const r2 = e.resolveComponent("el-divider");
|
|
17
|
+
return e.openBlock(), e.createBlock(r2, { ref_key: "componentRef", ref: p, direction: u.value.direction, "border-style": u.value.borderType, "content-position": u.value.titlePosition, onClick: o3[0] || (o3[0] = (o4) => e.unref(n.handleFormEvent)(o4, t2.pageContext, t2.configure, "click")) }, { default: e.withCtx(() => [e.createElementVNode("div", { style: e.normalizeStyle(e.unref(l)) }, e.toDisplayString(c.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
|
|
18
|
+
};
|
|
19
|
+
} });
|
|
20
|
+
module.exports = o;
|
package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), l = require("../../../../utils/page-helper-util.cjs"), t = require("../../../../utils/events/event-util.cjs"), a = require("agilebuilder-ui"), o = require("../../../../utils/eventBus.cjs"), i = require("../../../../utils/i18n-util.cjs"), n = require("../../../../utils/common-util.cjs"), r = e.defineComponent({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(r2, { expose: u }) {
|
|
3
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
4
|
+
const s = r2, p = e.ref(null), d = s.configure.runtime ? s.configure.runtime : {}, c = e.ref(d.props ? d.props : {}), f = d.style, v = d.class, m = d.headerStyle, h = d.titleExceedStyle, g = s.pageContext.entity ? s.pageContext.entity : {}, y = s.configure.props.base ? s.configure.props.base : {}, C = _(y.prop), w = _(y.propName);
|
|
5
|
+
let b = e.ref({});
|
|
6
|
+
b.value.isShowWatermark = void 0 === ((_b = (_a = s.configure.props) == null ? void 0 : _a.watermark) == null ? void 0 : _b.isShowWatermark) ? "true" : ((_c = s.configure.props) == null ? void 0 : _c.watermark.isShowWatermark) + "", b.value.content = ((_e = (_d = s.configure.props) == null ? void 0 : _d.watermark) == null ? void 0 : _e.content) ? (_g = (_f = s.configure.props) == null ? void 0 : _f.watermark) == null ? void 0 : _g.content : "", C && C.length > 1 && e.watch(() => s.pageContext.entity[C[0]][C[1]], (e2) => {
|
|
7
|
+
B(l.getVariableValue(g, C));
|
|
8
|
+
});
|
|
9
|
+
const k = s.pageContext.code, x = e.ref(C ? k + "__" + C.join("__") : null), V = l.getVariableValue(g, C), N = e.ref(null), q = e.ref(false), P = e.ref([]), S = e.ref({});
|
|
10
|
+
function B(e2) {
|
|
11
|
+
if (e2) {
|
|
12
|
+
const l2 = e2.split(",");
|
|
13
|
+
if (l2.length > 0) {
|
|
14
|
+
const e3 = s.pageContext.backendUrl, t2 = a.getRelativeBaseUrl(e3 + "/common/fs-upload/search-file-names");
|
|
15
|
+
a.http.post(t2, l2).then((e4) => {
|
|
16
|
+
P.value = [];
|
|
17
|
+
const t3 = [];
|
|
18
|
+
for (let a2 = 0; a2 < l2.length; a2++) {
|
|
19
|
+
const o2 = l2[a2];
|
|
20
|
+
t3.push(e4[o2]), P.value.push({ showName: e4[o2], serverPath: o2 });
|
|
21
|
+
}
|
|
22
|
+
"input" === c.value.displayType && (S.value.showName = t3.join(","), S.value.serverPath = l2.join(","));
|
|
23
|
+
}).finally(() => {
|
|
24
|
+
q.value = true;
|
|
25
|
+
});
|
|
26
|
+
} else q.value = true;
|
|
27
|
+
} else P.value = [], S.value = {}, q.value = true;
|
|
28
|
+
}
|
|
29
|
+
function _(e2) {
|
|
30
|
+
return e2 ? (e2.startsWith("${") && (e2 = e2.substring(2, e2.length - 1)), e2.split(".")) : [];
|
|
31
|
+
}
|
|
32
|
+
function j(e2) {
|
|
33
|
+
return t.fileUploadBeforeUpload(e2);
|
|
34
|
+
}
|
|
35
|
+
B(V);
|
|
36
|
+
const R = (e2, l2, t2) => {
|
|
37
|
+
z();
|
|
38
|
+
}, U = (e2) => {
|
|
39
|
+
z();
|
|
40
|
+
}, z = () => {
|
|
41
|
+
const e2 = [], t2 = [];
|
|
42
|
+
if (c.value.limit && P.value.length > c.value.limit) {
|
|
43
|
+
const e3 = P.value.length - c.value.limit;
|
|
44
|
+
for (let l2 = 0; l2 < e3; l2++) P.value.shift();
|
|
45
|
+
}
|
|
46
|
+
for (let l2 = 0; l2 < P.value.length; l2++) e2.push(P.value[l2].showName), t2.push(P.value[l2].serverPath);
|
|
47
|
+
l.setVariableValue(s.pageContext.entity, C, t2.join(",")), l.setVariableValue(s.pageContext.entity, w, e2.join(",")), t2.length > 0 && (p.value = "");
|
|
48
|
+
}, T = e.ref(null), D = e.ref(null);
|
|
49
|
+
return e.onMounted(() => {
|
|
50
|
+
o.$on(x.value + "-pickFileDone", (e2) => {
|
|
51
|
+
x.value, N.value.pickFileDone(e2);
|
|
52
|
+
}), e.nextTick(() => {
|
|
53
|
+
const e2 = l.getVariableValue(g, C), a2 = { showName: l.getVariableValue(g, w), serverPath: e2 };
|
|
54
|
+
t.handleAfterInitEvent(a2, s.pageContext, s.configure, { formItemRef: T.value, componentRef: N.value, titleRef: D.value, value: a2, entity: s.pageContext.entity.data, pageData: s.pageContext.entity.page });
|
|
55
|
+
});
|
|
56
|
+
}), e.onUnmounted(() => {
|
|
57
|
+
o.$off(x.value + "-pickFileDone");
|
|
58
|
+
}), u({ addRequiredClass: function() {
|
|
59
|
+
p.value = n.addRequiredClassUtil();
|
|
60
|
+
} }), (l2, t2) => {
|
|
61
|
+
const o2 = e.resolveComponent("el-form-item");
|
|
62
|
+
return c.value.tittleShow ? (e.openBlock(), e.createBlock(o2, { key: 0, ref_key: "formItemRef", ref: T, required: c.value.required, class: e.normalizeClass(e.unref(v) + (p.value ? " " + p.value : "")), "label-width": c.value.labelWidth, style: e.normalizeStyle(e.unref(f)) }, { label: e.withCtx(() => [c.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: D, style: e.normalizeStyle({ ...e.unref(m), ...e.unref(h) }) }, e.toDisplayString(e.unref(i.$t)(c.value.title)), 5)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [q.value ? (e.openBlock(), e.createBlock(e.unref(a.FsUploadNew), { key: 0, ref_key: "fileUploadRef", ref: N, style: { width: "100%" }, disabled: "disabled" === c.value.state, displayType: c.value.displayType, accept: c.value.accept, multiple: c.value.multiple, placeholder: c.value.placeholder, limit: c.value.limit, "limit-file-size": c.value.limitFileSize, "disabled-no-preview": c.value.disabledNoPreview, "disabled-no-download": c.value.disabledNoDownload, openCameraOrChoosePhoto: c.value.openCameraOrChoosePhoto, "file-info": S.value, "file-list": P.value, "system-code": l2.pageContext.systemCode, componentId: x.value, watermark: e.unref(b), "on-success": R, "on-remove": U, "before-upload": j, pageContext: l2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : e.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : q.value ? (e.openBlock(), e.createBlock(e.unref(a.FsUploadNew), { key: 1, ref_key: "fileUploadRef", ref: N, style: { width: "100%" }, disabled: "disabled" === c.value.state, displayType: c.value.displayType, accept: c.value.accept, multiple: c.value.multiple, placeholder: c.value.placeholder, limit: c.value.limit, "limit-file-size": c.value.limitFileSize, "disabled-no-preview": c.value.disabledNoPreview, "disabled-no-download": c.value.disabledNoDownload, openCameraOrChoosePhoto: c.value.openCameraOrChoosePhoto, "file-info": S.value, "file-list": P.value, "system-code": l2.pageContext.systemCode, componentId: x.value, watermark: e.unref(b), "on-success": R, "on-remove": U, "before-upload": j, pageContext: l2.pageContext }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext"])) : e.createCommentVNode("", true);
|
|
63
|
+
};
|
|
64
|
+
} });
|
|
65
|
+
module.exports = r;
|
package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../utils/page-init-util.cjs"), l = require("../../../../utils/page-helper-util.cjs"), n = require("../../../../utils/events/event-util.cjs"), o = require("../common/title-suffix-element.vue.cjs"), r = require("../../../../utils/i18n-util.cjs"), a = require("../../../../utils/common-util.cjs"), u = e.defineComponent({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(u2, { expose: i }) {
|
|
3
|
+
const s = u2, c = e.ref(null), p = s.pageContext.entity ? s.pageContext.entity : {};
|
|
4
|
+
let d = t.getFormModelFields(s.pageContext, s.configure);
|
|
5
|
+
const m = e.computed({ get: () => l.getVariableValue(p, d), set(e2) {
|
|
6
|
+
l.setVariableValue(p, d, e2), null != e2 && (c.value = "");
|
|
7
|
+
} }), f = s.configure.runtime ? s.configure.runtime : {}, v = f.style, g = f.class, y = f.headerStyle, x = f.titleExceedStyle, C = e.ref(f.props ? f.props : {}), h = e.ref(null), k = e.ref(null), b = e.ref(null);
|
|
8
|
+
return e.onMounted(() => {
|
|
9
|
+
e.nextTick(() => {
|
|
10
|
+
const e2 = m.value;
|
|
11
|
+
n.handleAfterInitEvent(e2, s.pageContext, s.configure, { formItemRef: h.value, componentRef: k.value, titleRef: b.value, value: e2, entity: s.pageContext.entity.data, pageData: s.pageContext.entity.page });
|
|
12
|
+
});
|
|
13
|
+
}), i({ addRequiredClass: function() {
|
|
14
|
+
c.value = a.addRequiredClassUtil();
|
|
15
|
+
} }), (t2, l2) => {
|
|
16
|
+
const a2 = e.resolveComponent("el-input-number"), u3 = e.resolveComponent("el-form-item");
|
|
17
|
+
return e.openBlock(), e.createBlock(u3, { ref_key: "formItemRef", ref: h, required: C.value.required, class: e.normalizeClass(e.unref(g) + (c.value ? " " + c.value : "")), "label-width": C.value.labelWidth, style: e.normalizeStyle(e.unref(v)) }, { label: e.withCtx(() => [C.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: b, style: e.normalizeStyle({ ...e.unref(y), ...e.unref(x) }) }, [C.value.prefixType ? (e.openBlock(), e.createBlock(o, { key: 0, pageContext: t2.pageContext, property: C.value }, null, 8, ["pageContext", "property"])) : (e.openBlock(), e.createElementBlock(e.Fragment, { key: 1 }, [e.createTextVNode(e.toDisplayString(e.unref(r.$t)(C.value.title)), 1)], 64))], 4)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [e.createVNode(a2, { ref_key: "componentRef", ref: k, disabled: "disabled" === C.value.state, readonly: "readonly" === C.value.state, controls: C.value.showButton, size: C.value.size, placeholder: C.value.placeholder, modelValue: m.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e2) => m.value = e2), precision: C.value.precision, step: C.value.step, min: C.value.min, max: C.value.max, onChange: l2[1] || (l2[1] = (l3) => e.unref(n.handleFormEvent)(l3, t2.pageContext, t2.configure, "change")), onBlur: l2[2] || (l2[2] = (l3) => e.unref(n.handleFormEvent)(l3, t2.pageContext, t2.configure, "blur")), onFocus: l2[3] || (l2[3] = (l3) => e.unref(n.handleFormEvent)(l3, t2.pageContext, t2.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
18
|
+
};
|
|
19
|
+
} });
|
|
20
|
+
module.exports = u;
|
package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("agilebuilder-ui"), n = require("../../../../utils/page-init-util.cjs"), o = require("../../../../utils/page-helper-util.cjs"), l = require("../../../../utils/events/event-util.cjs"), a = require("../../../../utils/form/scan-util.cjs"), u = require("../common/title-suffix-element.vue.cjs"), r = require("../../../../utils/eventBus.cjs"), i = require("../../../../utils/i18n-util.cjs"), c = require("../../../../utils/common-util.cjs"), s = e.defineComponent({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(s2, { expose: p }) {
|
|
3
|
+
var _a, _b, _c;
|
|
4
|
+
const f = s2, v = f.pageContext.entity ? f.pageContext.entity : {}, d = e.ref("text");
|
|
5
|
+
let g = n.getFormModelFields(f.pageContext, f.configure);
|
|
6
|
+
if (f.pageContext.modelFieldsMap) {
|
|
7
|
+
const e2 = o.getModelFieldFromPageContext(g, f.pageContext);
|
|
8
|
+
e2 && (d.value = o.isNumberDataType(e2.dataType) ? "number" : "text");
|
|
9
|
+
}
|
|
10
|
+
const y = e.ref(t.isMobileBrowser()), m = f.pageContext.code, x = e.ref(g && g.length > 0 ? m + "__" + g.join("__") : null), C = e.ref(null), k = e.computed({ get: () => o.getVariableValue(v, g), set(e2) {
|
|
11
|
+
o.setVariableValue(v, g, e2), null != e2 && "" !== e2 && (C.value = "");
|
|
12
|
+
} }), V = e.ref(null), h = e.ref(null), w = e.ref(null), T = f.configure.runtime ? f.configure.runtime : {}, I = e.ref(T.props ? T.props : {}), S = e.ref(!!((_a = I.value.scan) == null ? void 0 : _a.enable));
|
|
13
|
+
let b = false;
|
|
14
|
+
const B = window.localStorage.getItem("auth_source");
|
|
15
|
+
B && "dingtalk" === B && (b = true);
|
|
16
|
+
let N = "";
|
|
17
|
+
const q = navigator.userAgent;
|
|
18
|
+
N = q.indexOf(" uni-app ") > 0 ? "app" : "browser";
|
|
19
|
+
const E = !(!y.value || !N || "app" !== N), F = e.ref(!!((E || b) && S.value || y.value && S.value && "https:" === window.location.protocol));
|
|
20
|
+
let _ = {};
|
|
21
|
+
((_b = I.value.scan) == null ? void 0 : _b.enable) && ((_c = I.value.scan.ruleList) == null ? void 0 : _c.length) > 0 && (a.formatScanRuleSets(I.value.scan.ruleList).then((e2) => {
|
|
22
|
+
_ = e2;
|
|
23
|
+
}), e.watch(() => k.value, (e2) => {
|
|
24
|
+
e2 = e2.trim();
|
|
25
|
+
const t2 = a.analysisScanValue(e2, _);
|
|
26
|
+
t2 && a.setScanAnalysisValue(f.pageContext, t2.scanSet, t2.params);
|
|
27
|
+
}));
|
|
28
|
+
const D = T.style, O = T.class, j = T.headerStyle, P = T.titleExceedStyle;
|
|
29
|
+
function R(e2) {
|
|
30
|
+
return o.setVariableValue(v, g, e2);
|
|
31
|
+
}
|
|
32
|
+
e.onMounted(() => {
|
|
33
|
+
r.$on(x.value + "-scanDone", (e2) => {
|
|
34
|
+
x.value, JSON.stringify(e2), R(e2.result), l.handleFormEvent(e2.result, f.pageContext, f.configure, "afterScanDone");
|
|
35
|
+
}), e.nextTick(() => {
|
|
36
|
+
var _a2;
|
|
37
|
+
const e2 = k.value;
|
|
38
|
+
l.handleAfterInitEvent(e2, f.pageContext, f.configure, { formItemRef: V.value, componentRef: h.value, titleRef: w.value, value: e2, entity: f.pageContext.entity.data, pageData: f.pageContext.entity.page }), F.value && ((_a2 = I.value.scan) == null ? void 0 : _a2.autoOpen) && $();
|
|
39
|
+
});
|
|
40
|
+
}), e.onUnmounted(() => {
|
|
41
|
+
r.$off(x.value + "-scanDone");
|
|
42
|
+
});
|
|
43
|
+
const M = e.ref(false);
|
|
44
|
+
function $() {
|
|
45
|
+
if (E || b) {
|
|
46
|
+
const e2 = { type: "scan", componentId: x.value, systemCode: f.pageContext.systemCode };
|
|
47
|
+
b && (e2.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(e2), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(e2), "*"));
|
|
48
|
+
} else if (y.value) if ("https:" === window.location.protocol) M.value = true;
|
|
49
|
+
else {
|
|
50
|
+
const e2 = { type: "scan", componentId: x.value, systemCode: f.pageContext.systemCode };
|
|
51
|
+
window.parent.postMessage(JSON.stringify(e2), "*");
|
|
52
|
+
}
|
|
53
|
+
else M.value = true;
|
|
54
|
+
}
|
|
55
|
+
function z(e2) {
|
|
56
|
+
M.value = false, R(e2);
|
|
57
|
+
}
|
|
58
|
+
return p({ getValue: function() {
|
|
59
|
+
return o.getVariableValue(v, g);
|
|
60
|
+
}, setValue: R, scanClick: $, addRequiredClass: function() {
|
|
61
|
+
C.value = c.addRequiredClassUtil();
|
|
62
|
+
} }), (n2, a2) => {
|
|
63
|
+
const r2 = e.resolveComponent("el-input"), c2 = e.resolveComponent("scan-code-input-browser"), s3 = e.resolveComponent("el-form-item");
|
|
64
|
+
return e.openBlock(), e.createBlock(s3, { ref_key: "formItemRef", ref: V, required: !!I.value.required, class: e.normalizeClass(e.unref(O) + (C.value ? " " + C.value : "")), "label-width": I.value.labelWidth, style: e.normalizeStyle(e.unref(D)) }, { label: e.withCtx(() => [I.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: w, style: e.normalizeStyle({ ...e.unref(j), ...e.unref(P) }) }, [I.value.prefixType ? (e.openBlock(), e.createBlock(u, { key: 0, pageContext: n2.pageContext, property: I.value }, null, 8, ["pageContext", "property"])) : (e.openBlock(), e.createElementBlock(e.Fragment, { key: 1 }, [e.createTextVNode(e.toDisplayString(e.unref(i.$t)(I.value.title)), 1)], 64))], 4)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [e.createVNode(r2, { ref_key: "componentRef", ref: h, disabled: "disabled" === I.value.state, readonly: "readonly" === I.value.state, size: I.value.size, clearable: I.value.clearable, placeholder: I.value.placeholder, maxlength: I.value.maxLength, "show-word-limit": I.value.showInputNum, type: d.value, modelValue: k.value, "onUpdate:modelValue": a2[5] || (a2[5] = (e2) => k.value = e2), onInput: a2[6] || (a2[6] = (t2) => e.unref(l.handleFormEvent)(t2, n2.pageContext, n2.configure, "input")), onChange: a2[7] || (a2[7] = (t2) => e.unref(l.handleFormEvent)(t2, n2.pageContext, n2.configure, "change")), onBlur: a2[8] || (a2[8] = (e2) => function(e3) {
|
|
65
|
+
let t2 = o.getVariableValue(v, g);
|
|
66
|
+
null != t2 && (t2 = t2.trim()), o.setVariableValue(v, g, t2), l.handleFormEvent(e3, f.pageContext, f.configure, "blur");
|
|
67
|
+
}(e2)), onFocus: a2[9] || (a2[9] = (t2) => e.unref(l.handleFormEvent)(t2, n2.pageContext, n2.configure, "focus")), onClick: a2[10] || (a2[10] = (t2) => e.unref(l.handleFormEvent)(t2, n2.pageContext, n2.configure, "click")), onClear: a2[11] || (a2[11] = (t2) => e.unref(l.handleFormEvent)(t2, n2.pageContext, n2.configure, "clear")) }, e.createSlots({ _: 2 }, ["outer" != I.value.iconPosition && (I.value.preIconType && I.value.preIconValue || I.value.preText) ? { name: "prefix", fn: e.withCtx(() => [I.value.preIconType && I.value.preIconValue ? (e.openBlock(), e.createBlock(e.unref(t.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: I.value.preIconType, iconValue: I.value.preIconValue, onClick: a2[0] || (a2[0] = (t2) => e.unref(l.doSuffixOrPrefixClickEvent)(k.value, n2.pageContext, n2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : e.createCommentVNode("", true), e.createTextVNode(" " + e.toDisplayString(e.unref(i.$t)(I.value.preText)), 1)]), key: "0" } : void 0, "outer" == I.value.iconPosition && (I.value.preIconType && I.value.preIconValue || I.value.preText) ? { name: "prepend", fn: e.withCtx(() => [I.value.preIconType && I.value.preIconValue ? (e.openBlock(), e.createBlock(e.unref(t.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: I.value.preIconType, iconValue: I.value.preIconValue, onClick: a2[1] || (a2[1] = (t2) => e.unref(l.doSuffixOrPrefixClickEvent)(k.value, n2.pageContext, n2.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : e.createCommentVNode("", true), e.createTextVNode(" " + e.toDisplayString(e.unref(i.$t)(I.value.preText)), 1)]), key: "1" } : void 0, "outer" != I.value.iconPosition && (I.value.sufIconType && I.value.sufIconValue || I.value.sufText) ? { name: "suffix", fn: e.withCtx(() => [I.value.sufIconType && I.value.sufIconValue ? (e.openBlock(), e.createBlock(e.unref(t.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconType: I.value.sufIconType, iconValue: I.value.sufIconValue, onClick: a2[2] || (a2[2] = (t2) => e.unref(l.doSuffixOrPrefixClickEvent)(k.value, n2.pageContext, n2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : e.createCommentVNode("", true), e.createTextVNode(" " + e.toDisplayString(e.unref(i.$t)(I.value.sufText)), 1)]), key: "2" } : void 0, F.value || "outer" == I.value.iconPosition && (I.value.sufIconType && I.value.sufIconValue || I.value.sufText) ? { name: "append", fn: e.withCtx(() => [F.value ? (e.openBlock(), e.createBlock(e.unref(t.SuperIcon), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: a2[3] || (a2[3] = (e2) => $()) })) : e.createCommentVNode("", true), I.value.sufIconType && I.value.sufIconValue ? (e.openBlock(), e.createBlock(e.unref(t.SuperIcon), { key: 1, style: { cursor: "pointer" }, iconType: I.value.sufIconType, iconValue: I.value.sufIconValue, onClick: a2[4] || (a2[4] = (t2) => e.unref(l.doSuffixOrPrefixClickEvent)(k.value, n2.pageContext, n2.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : e.createCommentVNode("", true), e.createTextVNode(" " + e.toDisplayString(e.unref(i.$t)(I.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), M.value ? (e.openBlock(), e.createBlock(c2, { key: 0, onClose: z })) : e.createCommentVNode("", true)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
68
|
+
};
|
|
69
|
+
} });
|
|
70
|
+
module.exports = s;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../utils/page-init-util.cjs"), l = require("../../../../utils/page-helper-util.cjs"), n = require("agilebuilder-ui"), o = require("../../../../utils/events/event-util.cjs"), a = require("../../../../utils/i18n-util.cjs"), u = { style: { width: "100%", "text-align": "center", "font-weight": "700", "font-size": "24px" } }, i = { style: { overflow: "hidden", "white-space": "nowrap" } }, r = ["title"], c = e.defineComponent({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(c2, { expose: s }) {
|
|
3
|
+
const p = c2, f = p.pageContext.entity ? p.pageContext.entity : {};
|
|
4
|
+
let v = t.getFormModelFields(p.pageContext, p.configure);
|
|
5
|
+
const y = p.configure.runtime ? p.configure.runtime : {}, m = y.style, d = y.class, g = y.headerStyle, k = y.appendClass, x = y.appendStyle, C = y.titleExceedStyle, V = e.ref(y.props ? y.props : {});
|
|
6
|
+
const h = e.ref(V.value.options ? V.value.options : []), T = V.value.formatType;
|
|
7
|
+
V.value;
|
|
8
|
+
const S = e.computed(() => {
|
|
9
|
+
let e2 = l.getVariableValue(f, v);
|
|
10
|
+
if (T) if (V.value.hasOptions) {
|
|
11
|
+
let t2 = null;
|
|
12
|
+
h.value && (t2 = h.value.filter((t3) => t3.value == e2)), t2 && t2.length > 0 && (e2 = t2[0].label);
|
|
13
|
+
} else if ("custom" === T) {
|
|
14
|
+
const t2 = o.getCustomFunc(p.pageContext, V.value.formatFunc);
|
|
15
|
+
t2 && (e2 = t2.apply(t2, [{ pageContext: p.pageContext, configureObj: p.configure, value: e2 }]));
|
|
16
|
+
} else e2 = l.formatValueByType(e2, T, V.value);
|
|
17
|
+
return e2 = null == e2 ? "" : e2, e2;
|
|
18
|
+
}), w = e.ref(null), B = e.ref(null), I = e.ref(null);
|
|
19
|
+
return e.onMounted(() => {
|
|
20
|
+
e.nextTick(() => {
|
|
21
|
+
const e2 = S.value;
|
|
22
|
+
o.handleAfterInitEvent(e2, p.pageContext, p.configure, { formItemRef: w.value, componentRef: B.value, titleRef: I.value, value: e2, entity: p.pageContext.entity.data, pageData: p.pageContext.entity.page });
|
|
23
|
+
});
|
|
24
|
+
}), s({ updateOptions: function(e2) {
|
|
25
|
+
h.value = e2 || [];
|
|
26
|
+
} }), (t2, l2) => {
|
|
27
|
+
const c3 = e.resolveComponent("el-form-item");
|
|
28
|
+
return V.value.whetherTittle ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: I, class: e.normalizeClass(e.unref(d)), style: e.normalizeStyle(e.unref(m)) }, [e.createElementVNode("div", u, e.toDisplayString(V.value.title), 1)], 6)) : V.value.tittleShow ? (e.openBlock(), e.createBlock(c3, { key: 1, ref_key: "formItemRef", ref: w, required: !!V.value.required, class: e.normalizeClass([e.unref(d), V.value.contentAlign ? "form-item-align-" + V.value.contentAlign : "formNo" === V.value.showType ? "form-item-align-flex-end" : ""]), "label-width": V.value.labelWidth, style: e.normalizeStyle(e.unref(m)) }, { label: e.withCtx(() => [V.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: I, style: e.normalizeStyle({ ...e.unref(g), ...e.unref(C) }) }, e.toDisplayString(e.unref(a.$t)(V.value.title)), 5)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [e.createElementVNode("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: B, onClick: l2[0] || (l2[0] = (l3) => e.unref(o.handleFormEvent)(l3, t2.pageContext, t2.configure, "click")) }, [e.createElementVNode("span", i, [V.value.preIconValue || V.value.preText ? (e.openBlock(), e.createElementBlock("span", { key: 0, class: e.normalizeClass({ "el-input__suffix": "outer" != V.value.iconPosition, "el-input-group__append": "outer" == V.value.iconPosition }), style: e.normalizeStyle(e.unref(x)) }, [V.value.preIconType && V.value.preIconValue ? (e.openBlock(), e.createBlock(e.unref(n.SuperIcon), { key: 0, iconType: V.value.preIconType, iconValue: V.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : e.createCommentVNode("", true), e.createTextVNode(" " + e.toDisplayString(e.unref(a.$t)(V.value.preText)), 1)], 6)) : e.createCommentVNode("", true), e.createTextVNode(" " + e.toDisplayString(S.value), 1)]), V.value.sufIconValue || V.value.sufText ? (e.openBlock(), e.createElementBlock("span", { key: 0, class: e.normalizeClass({ "el-input__suffix": "outer" != V.value.iconPosition, "el-input-group__append": "outer" == V.value.iconPosition }) }, [V.value.sufIconType && V.value.sufIconValue ? (e.openBlock(), e.createBlock(e.unref(n.SuperIcon), { key: 0, style: {}, iconType: V.value.sufIconType, iconValue: V.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : e.createCommentVNode("", true), e.createElementVNode("span", null, " " + e.toDisplayString(e.unref(a.$t)(V.value.sufText)), 1)], 2)) : e.createCommentVNode("", true)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (e.openBlock(), e.createElementBlock("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: l2[1] || (l2[1] = (l3) => e.unref(o.handleFormEvent)(l3, t2.pageContext, t2.configure, "click")) }, [e.createElementVNode("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: S.value }, e.toDisplayString(V.value.prefixIcon) + " " + e.toDisplayString(S.value), 9, r), V.value.suffixTxt ? (e.openBlock(), e.createElementBlock("span", { key: 0, class: e.normalizeClass(e.unref(k)), style: e.normalizeStyle(e.unref(x)) }, e.toDisplayString(V.value.suffixTxt), 7)) : e.createCommentVNode("", true)]));
|
|
29
|
+
};
|
|
30
|
+
} });
|
|
31
|
+
module.exports = c;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../utils/page-init-util.cjs"), l = require("../../../../utils/page-helper-util.cjs"), n = require("../../../../utils/events/event-util.cjs"), r = require("../../../../utils/i18n-util.cjs"), a = e.defineComponent({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(a2) {
|
|
3
|
+
const i = a2, o = t.getFormModelFields(i.pageContext, i.configure), u = i.configure.runtime ? i.configure.runtime : {}, s = u.style, c = u.class, p = u.headerStyle, f = e.ref(u.props ? u.props : {});
|
|
4
|
+
f.value;
|
|
5
|
+
let d = f.value.formatting;
|
|
6
|
+
const m = i.pageContext.entity ? i.pageContext.entity : {}, g = e.computed(() => {
|
|
7
|
+
let e2 = l.getVariableValue(m, o);
|
|
8
|
+
return e2 = null == e2 || null == e2 ? "" : e2, d && (e2 = d.replace(/\${value}/g, e2)), e2;
|
|
9
|
+
});
|
|
10
|
+
let v = f.value.tooltip, y = null;
|
|
11
|
+
v && (y = e.computed(() => {
|
|
12
|
+
let e2 = l.getVariableValue(m, o);
|
|
13
|
+
return e2 = null == e2 || null == e2 ? "" : e2, v.replace(/\${value}/g, e2);
|
|
14
|
+
}));
|
|
15
|
+
const C = e.ref(null), x = e.ref(null), k = e.ref(null);
|
|
16
|
+
return e.onMounted(() => {
|
|
17
|
+
e.nextTick(() => {
|
|
18
|
+
const e2 = g.value;
|
|
19
|
+
n.handleAfterInitEvent(e2, i.pageContext, i.configure, { formItemRef: C.value, componentRef: x.value, titleRef: k.value, value: e2, entity: i.pageContext.entity.data, pageData: i.pageContext.entity.page });
|
|
20
|
+
});
|
|
21
|
+
}), (t2, l2) => {
|
|
22
|
+
const a3 = e.resolveComponent("el-link"), i2 = e.resolveComponent("el-tooltip"), o2 = e.resolveComponent("el-form-item");
|
|
23
|
+
return e.openBlock(), e.createBlock(o2, { ref_key: "formItemRef", ref: C, class: e.normalizeClass(e.unref(c)), "label-width": f.value.labelWidth, style: e.normalizeStyle(e.unref(s)) }, { label: e.withCtx(() => [f.value.tittleShow ? (e.openBlock(), e.createElementBlock("div", { key: 0, ref_key: "titleRef", ref: k, style: e.normalizeStyle({ ...e.unref(p) }) }, e.toDisplayString(e.unref(r.$t)(f.value.title)), 5)) : e.createCommentVNode("", true)]), default: e.withCtx(() => [e.createVNode(i2, { disabled: !e.unref(y), content: e.unref(y) }, { default: e.withCtx(() => [e.createVNode(a3, { ref_key: "componentRef", ref: x, disabled: "disabled" === f.value.state, type: f.value.type, underline: f.value.underline, onClick: l2[0] || (l2[0] = (l3) => e.unref(n.handleEvent)(l3, t2.pageContext, t2.configure, "click", { skipValidate: true })) }, { default: e.withCtx(() => [e.createTextVNode(e.toDisplayString(g.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 1 }, 8, ["class", "label-width", "style"]);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
26
|
+
module.exports = a;
|
package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const e = require("vue"), t = require("../../../../utils/events/event-util.cjs"), n = e.defineComponent({ __name: "placeholder-runtime", props: { pageContext: {}, configure: {} }, setup(n2) {
|
|
3
|
+
const r = n2, o = r.configure.runtime ? r.configure.runtime : {}, l = o.style, u = o.class, i = e.ref(null), a = e.ref(null);
|
|
4
|
+
return e.onMounted(() => {
|
|
5
|
+
e.nextTick(() => {
|
|
6
|
+
t.handleAfterInitEvent(null, r.pageContext, r.configure, { formItemRef: i.value, componentRef: a.value, entity: r.pageContext.entity.data, pageData: r.pageContext.entity.page });
|
|
7
|
+
});
|
|
8
|
+
}), (t2, n3) => {
|
|
9
|
+
const r2 = e.resolveComponent("el-form-item");
|
|
10
|
+
return e.openBlock(), e.createBlock(r2, { ref_key: "formItemRef", ref: i, class: e.normalizeClass(e.unref(u)), style: e.normalizeStyle(e.unref(l)) }, { default: e.withCtx(() => [e.createElementVNode("div", { ref_key: "componentRef", ref: a, style: { width: "100%", height: "100%" } }, " ", 512)]), _: 1 }, 8, ["class", "style"]);
|
|
11
|
+
};
|
|
12
|
+
} });
|
|
13
|
+
module.exports = n;
|