super-page-runtime 2.3.22-tmp2 → 2.3.22-tmp3
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/_virtual/_plugin-vue_export-helper.mjs +4 -4
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +12 -12
- package/dist/es/components/runtime/utils/anchor-util.mjs +49 -49
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +142 -147
- package/dist/es/components/runtime/utils/assemblys-config.mjs +12 -13
- package/dist/es/components/runtime/utils/barcode-util.mjs +9 -9
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +122 -121
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +32 -32
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +71 -70
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +48 -48
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +38 -38
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +220 -223
- package/dist/es/components/runtime/utils/common-util.mjs +91 -94
- package/dist/es/components/runtime/utils/eventBus.mjs +3 -3
- package/dist/es/components/runtime/utils/events/event-util.mjs +341 -356
- package/dist/es/components/runtime/utils/events/print-label.mjs +75 -75
- package/dist/es/components/runtime/utils/events/standard-event.mjs +957 -1012
- package/dist/es/components/runtime/utils/events/validator-util.mjs +251 -269
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +26 -26
- package/dist/es/components/runtime/utils/form/scan-util.mjs +51 -56
- package/dist/es/components/runtime/utils/global-refs.mjs +52 -53
- package/dist/es/components/runtime/utils/i18n-util.mjs +11 -11
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +2 -2
- package/dist/es/components/runtime/utils/page-helper-util.mjs +246 -255
- package/dist/es/components/runtime/utils/page-init-util.mjs +204 -222
- package/dist/es/components/runtime/utils/page-permission-util.mjs +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +38 -38
- package/dist/es/components/runtime/utils/store-util.mjs +9 -9
- package/dist/es/components/runtime/utils/table-utils.mjs +69 -74
- package/dist/es/components/runtime/utils/tree-utils.mjs +43 -53
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.mjs +22 -22
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.mjs +16 -16
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.mjs +32 -32
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.mjs +15 -16
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.mjs +44 -44
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +10 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +9 -9
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +46 -47
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.mjs +39 -46
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.mjs +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.mjs +37 -37
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.mjs +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.mjs +28 -28
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +220 -231
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +7 -7
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +24 -33
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +10 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.mjs +208 -215
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +14 -14
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +28 -29
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +24 -26
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +13 -22
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +13 -12
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +16 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +14 -13
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +23 -23
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +13 -13
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.mjs +24 -24
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.mjs +15 -16
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +12 -13
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.mjs +21 -21
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.mjs +58 -58
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.mjs +18 -18
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.mjs +15 -15
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.mjs +9 -10
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.mjs +79 -79
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.mjs +39 -40
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.mjs +55 -55
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +289 -309
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +254 -261
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.mjs +64 -66
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.mjs +109 -111
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.mjs +49 -50
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +31 -33
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.mjs +56 -56
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs +80 -80
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.mjs +45 -45
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.mjs +19 -19
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.mjs +60 -60
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs +23 -23
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.mjs +67 -68
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.mjs +32 -33
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.mjs +25 -25
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.mjs +11 -11
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.mjs +64 -64
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.mjs +154 -158
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.mjs +105 -111
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.mjs +12 -12
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.mjs +30 -30
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.mjs +36 -37
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.mjs +23 -23
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +62 -73
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +113 -124
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +4 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.mjs +21 -21
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.mjs +19 -19
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.mjs +29 -29
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.mjs +16 -16
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.mjs +18 -18
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.mjs +20 -21
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.mjs +15 -15
- package/dist/es/components/runtime/views/home-chart.vue.mjs +38 -39
- package/dist/es/components/runtime/views/home-chart.vue2.mjs +2 -2
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +18 -18
- package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +2 -2
- package/dist/es/components/runtime/views/super-page.vue.mjs +4 -4
- package/dist/es/components/runtime/views/super-page.vue2.mjs +234 -237
- package/dist/es/index.mjs +27 -27
- package/dist/es/style.css +1 -996
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -6
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -2
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -2
- package/dist/lib/assets/file.png.cjs +1 -2
- package/dist/lib/assets/folder.png.cjs +1 -2
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -13
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -62
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -169
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -16
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -10
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -137
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -34
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -78
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -52
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -43
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -244
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -91
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -3
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -345
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -97
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -1101
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -296
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -34
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -90
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -42
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -11
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -4
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -354
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -244
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -26
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -50
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -11
- package/dist/lib/components/runtime/utils/store.cjs +1 -3
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -68
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -54
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +1 -35
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +1 -41
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -11
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -11
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -53
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +1 -48
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +1 -34
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +1 -24
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -402
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -6
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -36
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -13
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +1 -249
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -16
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -32
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -32
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -19
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -12
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -21
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -13
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -30
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -15
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +1 -21
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +1 -15
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +1 -27
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +1 -79
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +1 -15
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +1 -12
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +1 -88
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +1 -43
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +1 -59
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -382
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -322
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +1 -81
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +1 -124
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +1 -57
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -35
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +1 -57
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +1 -91
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +1 -47
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +1 -65
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +1 -70
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +1 -31
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +1 -26
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +1 -13
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +1 -75
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +1 -188
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +1 -130
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +1 -11
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +1 -29
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +1 -38
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -73
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -132
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +1 -23
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +1 -23
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +1 -34
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +1 -17
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +1 -20
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +1 -19
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -3
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +1 -14
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -38
- package/dist/lib/components/runtime/views/home-chart.vue2.cjs +1 -3
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -23
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +1 -3
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -5
- package/dist/lib/components/runtime/views/super-page.vue2.cjs +1 -264
- package/dist/lib/i18n/langs/cn.cjs +1 -2
- package/dist/lib/i18n/langs/en.cjs +1 -2
- package/dist/lib/index.cjs +1 -6
- package/dist/lib/style.css +1 -996
- package/dist/umd/index.full.min.js +3 -7429
- package/dist/umd/style.css +1 -996
- package/package.json +77 -76
- package/dist/es/components/runtime/utils/api/api-util.mjs +0 -4
- package/dist/lib/components/runtime/utils/api/api-util.cjs +0 -3
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { setVariableValue as
|
|
3
|
-
import { getFormModelFields as
|
|
4
|
-
import { handleFormEvent as
|
|
5
|
-
import { $t as
|
|
6
|
-
import { addRequiredClassUtil as
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
let
|
|
10
|
-
const
|
|
11
|
-
let
|
|
12
|
-
return
|
|
13
|
-
}, set(
|
|
14
|
-
|
|
15
|
-
} }),
|
|
16
|
-
|
|
17
|
-
const
|
|
18
|
-
let
|
|
19
|
-
if (("dynamicData"
|
|
20
|
-
|
|
21
|
-
if (
|
|
22
|
-
let
|
|
23
|
-
|
|
1
|
+
import { defineComponent as L, ref as i, computed as G, watch as H, onUnmounted as J, onMounted as K, nextTick as Q, resolveComponent as b, createBlock as I, openBlock as m, normalizeStyle as w, normalizeClass as X, unref as s, withCtx as v, createVNode as Y, createElementBlock as z, Fragment as Z, renderList as ee, createTextVNode as te, toDisplayString as D, createCommentVNode as ae } from "vue";
|
|
2
|
+
import { setVariableValue as le, getVariableValue as x, getOptionDatasFromPage as oe, autoSetAfterSelect as ne, queryOptionDatasources as ue } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
import { getFormModelFields as re } from "../../../../utils/page-init-util.mjs";
|
|
4
|
+
import { handleFormEvent as E, handleAfterInitEvent as ie } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { $t as se } from "../../../../utils/i18n-util.mjs";
|
|
6
|
+
import { addRequiredClassUtil as ce } from "../../../../utils/common-util.mjs";
|
|
7
|
+
const Ce = L({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }, setup(O, { expose: M }) {
|
|
8
|
+
const t = O, p = i(null), c = t.pageContext.entity ? t.pageContext.entity : {};
|
|
9
|
+
let h = re(t.pageContext, t.configure);
|
|
10
|
+
const g = G({ get() {
|
|
11
|
+
let e = x(c, h);
|
|
12
|
+
return e != null && (e += ""), e;
|
|
13
|
+
}, set(e) {
|
|
14
|
+
le(c, h, e), e != null && (p.value = "");
|
|
15
|
+
} }), u = t.configure.runtime ? t.configure.runtime : {}, B = u.style, N = u.class, P = u.headerStyle, U = u.titleExceedStyle, l = i(u.props ? u.props : {}), n = i(l.value.options ? l.value.options : []), k = oe(t.pageContext, t.configure);
|
|
16
|
+
k.length > 0 && (n.value = k);
|
|
17
|
+
const C = t.configure.props && t.configure.props.dataOrigin ? t.configure.props.dataOrigin : {}, y = C.optionValueSetType;
|
|
18
|
+
let d = [];
|
|
19
|
+
if ((y == "dynamicData" || y == "dataTable" || y == "service") && C.autoSets) for (let e of C.autoSets) e.source && d.push(e);
|
|
20
|
+
t.configure && t.configure.props && t.configure.props.base && t.configure.props.base.optionProp && d.push({ source: "label", target: t.configure.props.base.optionProp }), l.value.changeMethod = function(e) {
|
|
21
|
+
if (d.length > 0) {
|
|
22
|
+
let a = null;
|
|
23
|
+
n.value && e != null && e != null && (a = n.value.filter((o) => e === o.value)), ne(t.configure, t.pageContext, d, a);
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
E(e, t.pageContext, t.configure, "change");
|
|
26
26
|
};
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
29
|
-
const
|
|
30
|
-
for (let
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
"page"
|
|
27
|
+
const S = l.value.monitorFields, V = [];
|
|
28
|
+
if (S) {
|
|
29
|
+
const e = [];
|
|
30
|
+
for (let a of S) if (a.startsWith("${")) {
|
|
31
|
+
a = a.substring(2, a.length - 1);
|
|
32
|
+
const o = a.split(".");
|
|
33
|
+
o[0] !== "page" && o[0] !== "task" && o[0] !== "data" || (V.push(o), e.includes(o[0]) || e.push(o[0]));
|
|
34
34
|
}
|
|
35
|
-
for (let
|
|
36
|
-
|
|
35
|
+
for (let a of e) H(c[a], () => {
|
|
36
|
+
W();
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
let
|
|
41
|
-
for (let
|
|
42
|
-
return
|
|
39
|
+
function _() {
|
|
40
|
+
let e = "";
|
|
41
|
+
for (let a of V) e += "_" + x(c, a);
|
|
42
|
+
return e;
|
|
43
43
|
}
|
|
44
|
-
let
|
|
45
|
-
const
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
|
|
44
|
+
let R = _(), f = !1;
|
|
45
|
+
const A = l.value.optionconfigInfo ? l.value.optionconfigInfo : {};
|
|
46
|
+
function W() {
|
|
47
|
+
f && clearTimeout(f), f = setTimeout(function() {
|
|
48
|
+
const e = _();
|
|
49
|
+
e != R && (R = e, ue(t.pageContext, A, void 0).then((a) => {
|
|
50
50
|
}));
|
|
51
51
|
}, 200);
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
J(() => {
|
|
54
|
+
f && clearTimeout(f);
|
|
55
55
|
});
|
|
56
|
-
const
|
|
57
|
-
return
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
|
|
56
|
+
const T = i(null), q = i(null), F = i(null);
|
|
57
|
+
return K(() => {
|
|
58
|
+
Q(() => {
|
|
59
|
+
const e = g.value;
|
|
60
|
+
ie(e, t.pageContext, t.configure, { formItemRef: T.value, componentRef: q.value, titleRef: F.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
61
61
|
});
|
|
62
|
-
}),
|
|
63
|
-
|
|
62
|
+
}), M({ updateOptions: function(e) {
|
|
63
|
+
n.value = e || [];
|
|
64
64
|
}, addRequiredClass: function() {
|
|
65
|
-
|
|
65
|
+
p.value = ce();
|
|
66
66
|
}, getSelectItemsTitle: function() {
|
|
67
|
-
let
|
|
68
|
-
if (
|
|
69
|
-
if (
|
|
70
|
-
let
|
|
71
|
-
return
|
|
72
|
-
|
|
73
|
-
}),
|
|
67
|
+
let e = x(c, h);
|
|
68
|
+
if (e == null) return "";
|
|
69
|
+
if (e = String(e), e != null && e !== "" && e.length > 0) {
|
|
70
|
+
let a = "";
|
|
71
|
+
return n.value.length > 0 ? (n.value.forEach((o) => {
|
|
72
|
+
o.value === e && (a = a + o.label + ",");
|
|
73
|
+
}), a = a.slice(0, a.length - 1)) : a = e.join(","), a;
|
|
74
74
|
}
|
|
75
|
-
} }), (
|
|
76
|
-
const
|
|
77
|
-
return
|
|
75
|
+
} }), (e, a) => {
|
|
76
|
+
const o = b("el-radio"), $ = b("el-radio-group"), j = b("el-form-item");
|
|
77
|
+
return m(), I(j, { ref_key: "formItemRef", ref: T, required: l.value.required, class: X(s(N) + (p.value ? " " + p.value : "")), "label-width": l.value.labelWidth, style: w(s(B)) }, { label: v(() => [l.value.tittleShow ? (m(), z("div", { key: 0, ref_key: "titleRef", ref: F, style: w({ ...s(P), ...s(U) }) }, D(s(se)(l.value.title)), 5)) : ae("", !0)]), default: v(() => [Y($, { ref_key: "componentRef", ref: q, disabled: l.value.state === "disabled", size: l.value.size, onChange: l.value.changeMethod, modelValue: g.value, "onUpdate:modelValue": a[0] || (a[0] = (r) => g.value = r) }, { default: v(() => [(m(!0), z(Z, null, ee(n.value, (r) => (m(), I(o, { key: r.value, label: r.value, onClick: (fe) => s(E)(r.value, e.pageContext, e.configure, "click", { values: g.value }) }, { default: v(() => [te(D(r.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
78
78
|
};
|
|
79
79
|
} });
|
|
80
80
|
export {
|
|
81
|
-
|
|
81
|
+
Ce as default
|
|
82
82
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./richtext-runtime.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import t from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
5
|
+
const d = t(o, [["__scopeId", "data-v-34d362f9"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
d as default
|
|
8
8
|
};
|
|
@@ -1,197 +1,193 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getFormModelFields as
|
|
3
|
-
import { getSizeConfig as
|
|
4
|
-
import { handleAfterInitEvent as
|
|
5
|
-
import { http as
|
|
6
|
-
import { $t as
|
|
7
|
-
import { getBaseUrl as
|
|
8
|
-
import
|
|
9
|
-
import "
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return "readonly" == e3 || "disabled" == e3;
|
|
1
|
+
import { defineComponent as we, ref as c, watch as Ee, onMounted as ne, nextTick as U, onBeforeUnmount as qe, resolveComponent as g, createElementBlock as $, openBlock as y, Fragment as Se, createVNode as x, createBlock as D, createCommentVNode as W, normalizeStyle as ae, normalizeClass as le, unref as E, withCtx as k, createElementVNode as p, toDisplayString as oe } from "vue";
|
|
2
|
+
import { getFormModelFields as Te } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { getSizeConfig as Ae, formatVariableValue as Le, setVariableValue as Ve, getVariableValue as He } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as Me, handleFormEvent as Ne } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { http as Be } from "agilebuilder-ui";
|
|
6
|
+
import { $t as Re } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { getBaseUrl as re, addRequiredClassUtil as Fe } from "../../../../utils/common-util.mjs";
|
|
8
|
+
import q from "quill";
|
|
9
|
+
import { ElMessage as _e } from "element-plus";
|
|
10
|
+
const ze = { class: "toolbar-right-btns" }, Ue = ["title"], $e = { class: "richtext-statusbar" }, De = { class: "word-count" }, We = { key: 0, class: "upload-loading" }, Ie = ["innerHTML"], Ze = we({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(ie, { expose: se }) {
|
|
11
|
+
const I = ["12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px", "36px", "48px"], P = q.import("attributors/style/size");
|
|
12
|
+
P.whitelist = I, q.register(P, !0);
|
|
13
|
+
const G = [!1, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], K = q.import("attributors/style/font");
|
|
14
|
+
K.whitelist = G, q.register(K, !0);
|
|
15
|
+
const o = ie, S = c(""), L = o.pageContext.entity ? o.pageContext.entity : {}, O = Te(o.pageContext, o.configure), v = o.configure.runtime ? o.configure.runtime : {}, V = v.style, ue = v.class, ce = v.headerStyle, de = v.titleExceedStyle, d = c(v.props ? v.props : {});
|
|
16
|
+
let H = Ae(o.pageContext, o.configure);
|
|
17
|
+
H && H.fixHeight && (V.height || (V.height = H.fixHeight + "px"));
|
|
18
|
+
let pe = d.value.value;
|
|
19
|
+
const fe = Le(o.pageContext, pe), f = c(null);
|
|
20
|
+
let n = null;
|
|
21
|
+
const m = c(!1), M = c(0), N = c(!1), B = c(!1), Y = c("");
|
|
22
|
+
let C = null, T = d.value.state;
|
|
23
|
+
function j(t) {
|
|
24
|
+
return t == "readonly" || t == "disabled";
|
|
26
25
|
}
|
|
27
|
-
const
|
|
28
|
-
function
|
|
29
|
-
if (!(
|
|
30
|
-
const
|
|
31
|
-
if (!
|
|
32
|
-
const
|
|
33
|
-
let
|
|
34
|
-
|
|
26
|
+
const J = j(T), me = c({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: I }], [{ header: [1, 2, 3, 4, 5, 6, !1] }], [{ color: [] }, { background: [] }], [{ font: G }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: J ? "" : d.value.placeholder, readOnly: J });
|
|
27
|
+
function Q() {
|
|
28
|
+
if (!(n != null && n.container)) return;
|
|
29
|
+
const t = n.container.parentNode;
|
|
30
|
+
if (!t) return;
|
|
31
|
+
const e = t.getBoundingClientRect(), i = n.container.getBoundingClientRect();
|
|
32
|
+
let a = e.height - (i.top - e.top);
|
|
33
|
+
n.container.style.height = Math.max(a, 100) + "px";
|
|
35
34
|
}
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
39
|
-
|
|
40
|
-
const
|
|
41
|
-
|
|
35
|
+
Ee(d.value, () => {
|
|
36
|
+
const t = d.value.state;
|
|
37
|
+
if (t != null && t !== T) {
|
|
38
|
+
T = t;
|
|
39
|
+
const e = j(T);
|
|
40
|
+
n && (n.enable(!e), n.root.dataset.placeholder = e ? "" : d.value.placeholder);
|
|
42
41
|
}
|
|
43
42
|
});
|
|
44
|
-
const
|
|
45
|
-
let
|
|
46
|
-
function
|
|
47
|
-
const
|
|
48
|
-
return
|
|
43
|
+
const R = c([]), F = c(!1), ge = c(null), ve = c(null), he = c(null);
|
|
44
|
+
let A = null;
|
|
45
|
+
function _(t) {
|
|
46
|
+
const e = t.match(/serverPath=([^&"]+)/);
|
|
47
|
+
return e ? e[1] : "";
|
|
49
48
|
}
|
|
50
|
-
function
|
|
51
|
-
if (!
|
|
52
|
-
const
|
|
53
|
-
let
|
|
54
|
-
const
|
|
55
|
-
return `<img src="${
|
|
49
|
+
function X(t) {
|
|
50
|
+
if (!n) return;
|
|
51
|
+
const e = function(a) {
|
|
52
|
+
let l = a.replace(/<img data-uuid="(.*?)"/g, (u, r) => {
|
|
53
|
+
const s = _(r), w = o.pageContext.backendUrl;
|
|
54
|
+
return `<img src="${re(w, o.pageContext.isTest)}/common/fs-upload/download?serverPath=${s}&isShowWatermark=false" data-uuid="${s}"`;
|
|
56
55
|
});
|
|
57
|
-
return
|
|
58
|
-
}(
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
e4.setAttribute("data-uuid", t3);
|
|
56
|
+
return l = l.replace(/\t/g, " "), l = l.replace(/ {2}/g, " "), l;
|
|
57
|
+
}(t), i = n.clipboard.convertHTML(e);
|
|
58
|
+
n.setContents(i.ops), U(() => {
|
|
59
|
+
n && n.root.querySelectorAll("img").forEach((a) => {
|
|
60
|
+
if (!a.getAttribute("data-uuid")) {
|
|
61
|
+
const l = _(a.src);
|
|
62
|
+
a.setAttribute("data-uuid", l);
|
|
65
63
|
}
|
|
66
64
|
});
|
|
67
65
|
});
|
|
68
66
|
}
|
|
69
|
-
const
|
|
70
|
-
function
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
const h = { bold: "加粗", italic: "斜体", underline: "下划线", strike: "删除线", blockquote: "引用", "code-block": "代码块", 'list[value="ordered"]': "有序列表", 'list[value="bullet"]': "无序列表", 'script[value="sub"]': "下标", 'script[value="super"]': "上标", 'indent[value="-1"]': "减少缩进", 'indent[value="+1"]': "增加缩进", 'direction[value="rtl"]': "文字方向", size: "字体大小", header: "标题", color: "字体颜色", background: "背景颜色", font: "字体", align: "对齐方式", clean: "清除格式", link: "链接", image: "图片" };
|
|
68
|
+
function be() {
|
|
69
|
+
m.value = !m.value, U(() => {
|
|
70
|
+
Q();
|
|
73
71
|
});
|
|
74
72
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
73
|
+
function ye() {
|
|
74
|
+
n && (Y.value = n.root.innerHTML, B.value = !0);
|
|
77
75
|
}
|
|
78
|
-
function
|
|
79
|
-
if (!
|
|
80
|
-
const
|
|
81
|
-
|
|
76
|
+
function z() {
|
|
77
|
+
if (!n) return void (M.value = 0);
|
|
78
|
+
const t = n.getText().trim();
|
|
79
|
+
M.value = t.length;
|
|
82
80
|
}
|
|
83
|
-
function
|
|
84
|
-
|
|
81
|
+
function xe() {
|
|
82
|
+
_e.error({ message: "图片上传失败,请重试", duration: 3e3 });
|
|
85
83
|
}
|
|
86
|
-
function
|
|
87
|
-
"Escape"
|
|
84
|
+
function Z(t) {
|
|
85
|
+
t.key === "Escape" && m.value && (m.value = !1);
|
|
88
86
|
}
|
|
89
|
-
function
|
|
90
|
-
var
|
|
91
|
-
|
|
87
|
+
function ee(t) {
|
|
88
|
+
var e;
|
|
89
|
+
n && (t.relatedTarget !== null && ((e = f.value) != null && e.contains(t.relatedTarget)) || Ne(n.root.innerHTML, o.pageContext, o.configure, "change", { entity: L }));
|
|
92
90
|
}
|
|
93
|
-
function
|
|
94
|
-
if (
|
|
95
|
-
|
|
96
|
-
let
|
|
97
|
-
|
|
91
|
+
function te(t) {
|
|
92
|
+
if (t.target.localName === "img") {
|
|
93
|
+
R.value = [];
|
|
94
|
+
let e = t.target.src;
|
|
95
|
+
R.value.push(e), F.value = !0;
|
|
98
96
|
}
|
|
99
97
|
}
|
|
100
|
-
function
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
const
|
|
104
|
-
return
|
|
98
|
+
function ke(t) {
|
|
99
|
+
const e = new FormData();
|
|
100
|
+
e.append("file", t);
|
|
101
|
+
const i = o.pageContext.backendUrl, a = re(i, o.pageContext.isTest);
|
|
102
|
+
return Be.post(a + "/common/fs-upload/rich-editor-image", e, { headers: { "Content-Type": "multipart/form-data" } });
|
|
105
103
|
}
|
|
106
|
-
function
|
|
107
|
-
const
|
|
108
|
-
let
|
|
109
|
-
const
|
|
110
|
-
for (;
|
|
111
|
-
return new File([
|
|
104
|
+
function Ce(t, e) {
|
|
105
|
+
const i = t.split(","), a = i[0].match(/:(.*?);/), l = a ? a[1] : "image/png", u = atob(i[1]);
|
|
106
|
+
let r = u.length;
|
|
107
|
+
const s = new Uint8Array(r);
|
|
108
|
+
for (; r--; ) s[r] = u.charCodeAt(r);
|
|
109
|
+
return new File([s], e, { type: l });
|
|
112
110
|
}
|
|
113
|
-
return
|
|
114
|
-
var
|
|
115
|
-
|
|
116
|
-
var
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
Ce[n2] ? e4.setAttribute("data-tooltip", Ce[n2]) : Ce[l2] && e4.setAttribute("data-tooltip", Ce[l2]);
|
|
111
|
+
return ne(() => {
|
|
112
|
+
var t;
|
|
113
|
+
f.value && (n = new q(f.value, me.value), n.root.style.fontSize = "16px", function() {
|
|
114
|
+
var i, a;
|
|
115
|
+
const e = (a = (i = f.value) == null ? void 0 : i.parentElement) == null ? void 0 : a.querySelector(".ql-toolbar");
|
|
116
|
+
e && (e.querySelectorAll("button").forEach((l) => {
|
|
117
|
+
const u = l.className.match(/ql-([\w-]+)/);
|
|
118
|
+
if (u) {
|
|
119
|
+
const r = u[1], s = `${r}[value="${l.value}"]`;
|
|
120
|
+
h[s] ? l.setAttribute("data-tooltip", h[s]) : h[r] && l.setAttribute("data-tooltip", h[r]);
|
|
124
121
|
}
|
|
125
|
-
}),
|
|
126
|
-
const
|
|
127
|
-
if (
|
|
128
|
-
const
|
|
129
|
-
if (
|
|
130
|
-
const
|
|
131
|
-
|
|
122
|
+
}), e.querySelectorAll(".ql-picker").forEach((l) => {
|
|
123
|
+
const u = l.className.match(/ql-(\w+)/);
|
|
124
|
+
if (u) {
|
|
125
|
+
const r = u[1];
|
|
126
|
+
if (h[r]) {
|
|
127
|
+
const s = l.querySelector(".ql-picker-label");
|
|
128
|
+
s && s.setAttribute("data-tooltip", h[r]);
|
|
132
129
|
}
|
|
133
130
|
}
|
|
134
|
-
});
|
|
131
|
+
}));
|
|
135
132
|
}(), function() {
|
|
136
|
-
var
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
|
|
133
|
+
var i, a;
|
|
134
|
+
const e = (a = (i = f.value) == null ? void 0 : i.parentElement) == null ? void 0 : a.querySelector(".ql-toolbar");
|
|
135
|
+
e && e.addEventListener("mousedown", (l) => {
|
|
136
|
+
l.preventDefault();
|
|
140
137
|
});
|
|
141
|
-
}(),
|
|
142
|
-
if (!
|
|
143
|
-
const
|
|
144
|
-
for (const
|
|
145
|
-
const
|
|
146
|
-
|
|
138
|
+
}(), X(fe), (t = f.value) == null || t.addEventListener("focusout", ee), n.on("text-change", async function(e) {
|
|
139
|
+
if (!n) return;
|
|
140
|
+
const i = n.root.getElementsByTagName("img");
|
|
141
|
+
for (const a of i) if (!a.getAttribute("data-uuid")) {
|
|
142
|
+
const l = _(a.src);
|
|
143
|
+
a.setAttribute("data-uuid", l);
|
|
147
144
|
}
|
|
148
|
-
if (
|
|
149
|
-
const
|
|
150
|
-
if (
|
|
151
|
-
const
|
|
152
|
-
if (!
|
|
145
|
+
if (e.ops && e.ops.length > 0) for (const a of e.ops) {
|
|
146
|
+
const l = a.insert;
|
|
147
|
+
if (l != null && l.image) {
|
|
148
|
+
const u = l.image;
|
|
149
|
+
if (!u.startsWith("data:image")) continue;
|
|
153
150
|
try {
|
|
154
|
-
|
|
155
|
-
const
|
|
156
|
-
if (!
|
|
157
|
-
const
|
|
158
|
-
for (const
|
|
159
|
-
} catch (
|
|
160
|
-
console.error("上传图片失败",
|
|
151
|
+
N.value = !0;
|
|
152
|
+
const r = Ce(u, "image.png"), s = await ke(r);
|
|
153
|
+
if (!n) return;
|
|
154
|
+
const w = n.root.getElementsByTagName("img");
|
|
155
|
+
for (const b of w) b.src === u && (b.width = 300, b.src = s.url, b.setAttribute("data-uuid", s.uuid));
|
|
156
|
+
} catch (r) {
|
|
157
|
+
console.error("上传图片失败", r), xe();
|
|
161
158
|
} finally {
|
|
162
|
-
|
|
159
|
+
N.value = !1;
|
|
163
160
|
}
|
|
164
161
|
}
|
|
165
162
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
C(G, I, e4), e4 && (P.value = "");
|
|
163
|
+
(function() {
|
|
164
|
+
C && clearTimeout(C), C = setTimeout(() => {
|
|
165
|
+
if (!n) return;
|
|
166
|
+
const a = n.root.innerHTML;
|
|
167
|
+
Ve(L, O, a), a && (S.value = "");
|
|
172
168
|
}, 300);
|
|
173
|
-
}(),
|
|
174
|
-
}),
|
|
175
|
-
const
|
|
176
|
-
|
|
169
|
+
})(), z();
|
|
170
|
+
}), z(), A = n.container, A.addEventListener("click", te), Q(), U(() => {
|
|
171
|
+
const e = He(L, O);
|
|
172
|
+
Me(e, o.pageContext, o.configure, { formItemRef: ge.value, componentRef: ve.value, titleRef: he.value, value: e, entity: o.pageContext.entity.data, pageData: o.pageContext.entity.page });
|
|
177
173
|
}));
|
|
178
|
-
}),
|
|
179
|
-
document.addEventListener("keydown",
|
|
180
|
-
}),
|
|
181
|
-
document.removeEventListener("keydown",
|
|
182
|
-
}),
|
|
183
|
-
|
|
184
|
-
}, setContent: function(
|
|
185
|
-
|
|
174
|
+
}), ne(() => {
|
|
175
|
+
document.addEventListener("keydown", Z);
|
|
176
|
+
}), qe(() => {
|
|
177
|
+
document.removeEventListener("keydown", Z), C && clearTimeout(C), f.value && f.value.removeEventListener("focusout", ee), A && A.removeEventListener("click", te);
|
|
178
|
+
}), se({ addRequiredClass: function() {
|
|
179
|
+
S.value = Fe();
|
|
180
|
+
}, setContent: function(t) {
|
|
181
|
+
X(t), z();
|
|
186
182
|
}, getContent: function() {
|
|
187
|
-
return
|
|
188
|
-
} }), (
|
|
189
|
-
const
|
|
190
|
-
return
|
|
191
|
-
|
|
192
|
-
}), "url-list":
|
|
183
|
+
return n ? n.root.innerHTML : "";
|
|
184
|
+
} }), (t, e) => {
|
|
185
|
+
const i = g("View"), a = g("el-icon"), l = g("FullScreen"), u = g("Close"), r = g("el-form-item"), s = g("el-image-viewer"), w = g("el-dialog");
|
|
186
|
+
return y(), $(Se, null, [x(r, { required: d.value.required, class: le(E(ue) + (S.value ? " " + S.value : "")), "label-width": d.value.labelWidth, style: ae(E(V)) }, { label: k(() => [d.value.tittleShow ? (y(), $("div", { key: 0, style: ae({ ...E(ce), ...E(de) }) }, oe(E(Re)(d.value.title)), 5)) : W("", !0)]), default: k(() => [p("div", { class: le(["richtext-wrapper", { "is-fullscreen": m.value }]) }, [p("div", { ref_key: "quillEditorRef", ref: f, style: { width: "100%" } }, null, 512), p("div", ze, [p("button", { class: "toolbar-btn", onClick: ye, title: "预览" }, [x(a, null, { default: k(() => [x(i)]), _: 1 })]), p("button", { class: "toolbar-btn", onClick: be, title: m.value ? "退出全屏" : "全屏编辑" }, [m.value ? (y(), D(a, { key: 1 }, { default: k(() => [x(u)]), _: 1 })) : (y(), D(a, { key: 0 }, { default: k(() => [x(l)]), _: 1 }))], 8, Ue)]), p("div", $e, [p("span", De, "字数:" + oe(M.value), 1)]), N.value ? (y(), $("div", We, e[2] || (e[2] = [p("div", { class: "loading-spinner" }, null, -1), p("span", null, "图片上传中...", -1)]))) : W("", !0)], 2)]), _: 1 }, 8, ["required", "class", "label-width", "style"]), F.value ? (y(), D(s, { key: 0, "hide-on-click-modal": "", onClose: e[0] || (e[0] = () => {
|
|
187
|
+
F.value = !1;
|
|
188
|
+
}), "url-list": R.value }, null, 8, ["url-list"])) : W("", !0), x(w, { modelValue: B.value, "onUpdate:modelValue": e[1] || (e[1] = (b) => B.value = b), title: "内容预览", width: "80%", "close-on-click-modal": !0, "append-to-body": !0, class: "richtext-preview-dialog" }, { default: k(() => [p("div", { class: "richtext-preview-content ql-editor", innerHTML: Y.value }, null, 8, Ie)]), _: 1 }, 8, ["modelValue"])], 64);
|
|
193
189
|
};
|
|
194
190
|
} });
|
|
195
191
|
export {
|
|
196
|
-
|
|
192
|
+
Ze as default
|
|
197
193
|
};
|