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,96 +1,96 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { ElTabs as
|
|
3
|
-
import
|
|
4
|
-
import { SuperIcon as
|
|
5
|
-
import { handleAfterInitEvent as
|
|
6
|
-
import { $t as
|
|
7
|
-
import { isPromise as
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}),
|
|
13
|
-
const
|
|
14
|
-
function
|
|
15
|
-
return
|
|
1
|
+
import { defineComponent as F, ref as g, watch as L, onMounted as M, nextTick as U, resolveComponent as j, createBlock as u, openBlock as c, unref as s, normalizeClass as q, normalizeStyle as v, withCtx as p, createElementBlock as x, createCommentVNode as f, Fragment as C, renderList as T, createElementVNode as G, toDisplayString as E, withModifiers as H, createTextVNode as $ } from "vue";
|
|
2
|
+
import { ElTabs as J, ElTabPane as k } from "element-plus";
|
|
3
|
+
import K from "../../object-render.vue.mjs";
|
|
4
|
+
import { SuperIcon as Q } from "agilebuilder-ui";
|
|
5
|
+
import { handleAfterInitEvent as W, handleEvent as l } from "../../../../utils/events/event-util.mjs";
|
|
6
|
+
import { $t as X } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { isPromise as N } from "../../../../utils/page-helper-util.mjs";
|
|
8
|
+
const ie = F({ __name: "tabs-runtime", props: { pageContext: {}, configure: {} }, setup(V, { expose: w }) {
|
|
9
|
+
const n = V, r = g(""), i = g([]);
|
|
10
|
+
n.configure.items.forEach((e) => {
|
|
11
|
+
e.code || (e.code = e.index);
|
|
12
|
+
}), r.value = n.configure.props.defaultOpen ? n.configure.props.defaultOpen : 1;
|
|
13
|
+
const d = g(null), m = n.configure.runtime ? n.configure.runtime : {}, P = m.style, A = m.class, B = m.headerStyle;
|
|
14
|
+
function _(e, t) {
|
|
15
|
+
return l(e, n.pageContext, n.configure, "before-leave", { activeName: e, oldActiveName: t }) ?? !0;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
const
|
|
19
|
-
return
|
|
17
|
+
function S(e, t) {
|
|
18
|
+
const a = { pane: e, ev: t }, o = e.paneName;
|
|
19
|
+
return n.pageContext.activeTab = o, n.pageContext.activeLabel = a.label, l(o, n.pageContext, n.configure, "tab-click", a);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
const
|
|
23
|
-
return
|
|
21
|
+
function z(e) {
|
|
22
|
+
const t = { paneName: e };
|
|
23
|
+
return n.pageContext.activeTab = e, l(e, n.pageContext, n.configure, "tab-change", t);
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}) :
|
|
25
|
+
function I(e) {
|
|
26
|
+
const t = { paneName: e }, a = l(e, n.pageContext, n.configure, "tab-remove", t);
|
|
27
|
+
N(a) ? a.then((o) => {
|
|
28
|
+
o !== !1 && b(e);
|
|
29
|
+
}) : a !== !1 && b(e);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
|
|
33
|
-
if (
|
|
34
|
-
const
|
|
35
|
-
|
|
31
|
+
function b(e) {
|
|
32
|
+
r.value === e && n.configure.items.forEach((t, a) => {
|
|
33
|
+
if (t.code === e) {
|
|
34
|
+
const o = n.configure.items[a + 1] || n.configure.items[a - 1];
|
|
35
|
+
o && o.code !== void 0 && (r.value = o.code);
|
|
36
36
|
}
|
|
37
|
-
}),
|
|
37
|
+
}), i.value.includes(e) || i.value.push(e);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
return
|
|
39
|
+
function O() {
|
|
40
|
+
return l(null, n.pageContext, n.configure, "tab-add");
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
const
|
|
44
|
-
return
|
|
42
|
+
function R(e, t) {
|
|
43
|
+
const a = { paneName: e, action: t };
|
|
44
|
+
return l(e, n.pageContext, n.configure, "edit", a);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
const
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}) :
|
|
46
|
+
function y() {
|
|
47
|
+
const e = l(n.configure.items, n.pageContext, n.configure, "tab-reset");
|
|
48
|
+
N(e) ? e.then((t) => {
|
|
49
|
+
i.value = [];
|
|
50
|
+
}) : e !== !1 && (i.value = []);
|
|
51
51
|
}
|
|
52
|
-
return
|
|
53
|
-
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
}) :
|
|
57
|
-
const
|
|
58
|
-
|
|
52
|
+
return L(i, (e) => {
|
|
53
|
+
e && e.length > 0 ? e.forEach((t) => {
|
|
54
|
+
const a = document.getElementById("tab-" + t);
|
|
55
|
+
a && (a.style.display = "none");
|
|
56
|
+
}) : n.configure.items.forEach((t) => {
|
|
57
|
+
const a = document.getElementById("tab-" + t.code);
|
|
58
|
+
a && (a.style.display = "");
|
|
59
59
|
});
|
|
60
|
-
}, { deep:
|
|
61
|
-
|
|
62
|
-
let
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}),
|
|
60
|
+
}, { deep: !0 }), M(() => {
|
|
61
|
+
U(() => {
|
|
62
|
+
let e = [];
|
|
63
|
+
n.configure.items.forEach((t) => {
|
|
64
|
+
t.code && e.push(document.getElementById("tab-" + t.code));
|
|
65
|
+
}), W(null, n.pageContext, n.configure, { componentRef: d.value, tabsDom: e, entity: n.pageContext.entity.data, pageData: n.pageContext.entity.page });
|
|
66
66
|
});
|
|
67
|
-
}),
|
|
68
|
-
if (Array.isArray(
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}),
|
|
67
|
+
}), w({ thisRef: d, activeName: r, hiddenPanes: i, resetTab: y, hiddenTabPanes: function(e) {
|
|
68
|
+
if (Array.isArray(e)) {
|
|
69
|
+
const t = [];
|
|
70
|
+
e.forEach((a) => {
|
|
71
|
+
i.value.includes(a) || t.push(a);
|
|
72
|
+
}), t.length > 0 && i.value.push(...t);
|
|
73
73
|
}
|
|
74
|
-
}, showTabPanes: function(
|
|
75
|
-
Array.isArray(
|
|
76
|
-
const
|
|
77
|
-
|
|
74
|
+
}, showTabPanes: function(e) {
|
|
75
|
+
Array.isArray(e) && e.forEach((t) => {
|
|
76
|
+
const a = i.value.indexOf(t);
|
|
77
|
+
a > -1 && i.value.splice(a, 1);
|
|
78
78
|
});
|
|
79
|
-
}, showTabPanesOnly: function(
|
|
80
|
-
const
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}),
|
|
84
|
-
}, hiddenTabPanesOnly: function(
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}),
|
|
89
|
-
} }), (
|
|
90
|
-
const
|
|
91
|
-
return
|
|
79
|
+
}, showTabPanesOnly: function(e) {
|
|
80
|
+
const t = [];
|
|
81
|
+
n.configure.items.forEach((a) => {
|
|
82
|
+
e.includes(a.code) || t.push(a.code);
|
|
83
|
+
}), i.value = [...new Set(t)];
|
|
84
|
+
}, hiddenTabPanesOnly: function(e) {
|
|
85
|
+
const t = [];
|
|
86
|
+
n.configure.items.forEach((a) => {
|
|
87
|
+
e.includes(a.code) && t.push(a.code);
|
|
88
|
+
}), i.value = [...new Set(t)];
|
|
89
|
+
} }), (e, t) => {
|
|
90
|
+
const a = j("el-button");
|
|
91
|
+
return c(), u(s(J), { ref_key: "thisRef", ref: d, modelValue: r.value, "onUpdate:modelValue": t[0] || (t[0] = (o) => r.value = o), type: e.configure.props.cardType, "tab-position": e.configure.props.tabPosition, style: v(s(P)), class: q([s(A), "runtime-page-container-tabs-view"]), closable: e.configure.props.closable, "before-leave": _, onTabClick: S, onTabChange: z, onTabRemove: I, onTabAdd: O, onEdit: R }, { default: p(() => [(c(!0), x(C, null, T(n.configure.items, (o, D) => (c(), u(s(k), { key: D, label: o.label, name: o.code, lazy: !!e.configure.props.lazy }, { label: p(() => [o.iconType && o.iconValue ? (c(), u(s(Q), { key: 0, iconType: o.iconType, iconValue: o.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : f("", !0), G("span", { style: v(s(B)) }, E(s(X)(o.label)), 5)]), default: p(() => [(e.configure.props.isFullyRendered ?? 1) || o.code === r.value ? (c(!0), x(C, { key: 0 }, T(o.items, (h) => (c(), u(K, { key: h.uuid, pageContext: e.pageContext, configure: h }, null, 8, ["pageContext", "configure"]))), 128)) : f("", !0)]), _: 2 }, 1032, ["label", "name", "lazy"]))), 128)), e.configure.props.resetable ? (c(), u(s(k), { key: 0, disabled: "", name: "-1" }, { label: p(() => [e.configure.props.resetable ? (c(), u(a, { key: 0, type: "text", circle: "", onClick: H(y, ["stop"]) }, { default: p(() => [$(E(e.configure.props.resetButtonName || "重置"), 1)]), _: 1 })) : f("", !0)]), _: 1 })) : f("", !0)]), _: 1 }, 8, ["modelValue", "type", "tab-position", "style", "class", "closable"]);
|
|
92
92
|
};
|
|
93
93
|
} });
|
|
94
94
|
export {
|
|
95
|
-
|
|
95
|
+
ie as default
|
|
96
96
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./tools-runtime.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const p = t(o, [["__scopeId", "data-v-a9801c3f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import { handleAfterInitEvent as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
return ["top"].includes((_a = z.value) == null ? void 0 : _a.position) ? "top" : ["bottom"].includes((_b = z.value) == null ? void 0 : _b.position) ? "bottom" : void 0;
|
|
1
|
+
import { defineComponent as D, ref as C, computed as s, onMounted as N, nextTick as O, onUnmounted as V, resolveComponent as $, createElementBlock as f, openBlock as a, createElementVNode as u, createBlock as c, createCommentVNode as j, withCtx as z, normalizeStyle as y, normalizeClass as b, unref as k, Fragment as w, renderList as R } from "vue";
|
|
2
|
+
import _ from "../../object-render.vue.mjs";
|
|
3
|
+
import { handleAfterInitEvent as q } from "../../../../utils/events/event-util.mjs";
|
|
4
|
+
import G from "../fixed/FixedBox.vue.mjs";
|
|
5
|
+
const I = { "data-v": "1.0.0", class: "amb-widget-tools-parent" }, L = { ref: "affixRef", "data-v": "1.0.0", class: "amb-widget-tools-parent" }, M = { key: 2, "data-v": "1.0.0", class: "amb-widget-tools-parent" }, J = D({ __name: "tools-runtime", props: { pageContext: {}, configure: {} }, setup(A) {
|
|
6
|
+
const t = A, v = C(null), h = t.configure.runtime ?? {}, d = h.class, l = C(null), g = C(0);
|
|
7
|
+
let r = null;
|
|
8
|
+
const i = s(() => t.configure.props), m = s(() => {
|
|
9
|
+
var e, n;
|
|
10
|
+
return !!((n = (e = t.configure) == null ? void 0 : e.items) != null && n.length);
|
|
11
|
+
}), x = s(() => {
|
|
12
|
+
const { gap: e } = i.value ?? {};
|
|
13
|
+
return { backgroundColor: "#fff", ...e ? { gap: `${e}px` } : {}, ...h.style ?? {} };
|
|
14
|
+
}), E = s(() => {
|
|
15
|
+
var e, n, p;
|
|
16
|
+
return !![(e = i.value) == null ? void 0 : e.isAffix, (n = i.value) == null ? void 0 : n.isFixed].every((o) => o === void 0) || ((p = i.value) == null ? void 0 : p.isAffix);
|
|
17
|
+
}), F = s(() => {
|
|
18
|
+
var e;
|
|
19
|
+
return (e = i.value) == null ? void 0 : e.isFixed;
|
|
20
|
+
}), B = s(() => {
|
|
21
|
+
var e, n;
|
|
22
|
+
return ["top"].includes((e = i.value) == null ? void 0 : e.position) ? "top" : ["bottom"].includes((n = i.value) == null ? void 0 : n.position) ? "bottom" : void 0;
|
|
24
23
|
});
|
|
25
|
-
return
|
|
26
|
-
if (
|
|
27
|
-
|
|
28
|
-
}),
|
|
29
|
-
if (
|
|
30
|
-
const
|
|
31
|
-
|
|
24
|
+
return N(() => {
|
|
25
|
+
if (O(() => {
|
|
26
|
+
q(null, t.pageContext, t.configure, { componentRef: v.value, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
27
|
+
}), r = new ResizeObserver(() => {
|
|
28
|
+
if (l.value) {
|
|
29
|
+
const e = l.value.getBoundingClientRect();
|
|
30
|
+
g.value = e.top;
|
|
32
31
|
}
|
|
33
|
-
}),
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
|
|
32
|
+
}), l.value) {
|
|
33
|
+
r.observe(l.value);
|
|
34
|
+
const e = l.value.getBoundingClientRect();
|
|
35
|
+
g.value = e.top;
|
|
37
36
|
}
|
|
38
|
-
}),
|
|
39
|
-
|
|
40
|
-
}), (
|
|
41
|
-
const
|
|
42
|
-
return
|
|
37
|
+
}), V(() => {
|
|
38
|
+
r && l.value && (r.unobserve(l.value), r.disconnect());
|
|
39
|
+
}), (e, n) => {
|
|
40
|
+
const p = $("el-affix");
|
|
41
|
+
return a(), f("div", null, [u("div", { ref_key: "referenceDivRef", ref: l, style: { height: "0" } }, null, 512), F.value && m.value ? (a(), c(G, { key: 0, position: B.value, offset: g.value }, { default: z(() => [u("div", I, [u("div", { class: b(["amb-widget-container-tool amb-widget-tools", k(d)]), style: y(x.value), ref_key: "thisRef", ref: v }, [(a(!0), f(w, null, R(t.configure.items, (o) => (a(), c(_, { pageContext: t.pageContext, configure: o, key: o.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])]), _: 1 }, 8, ["position", "offset"])) : E.value && m.value ? (a(), c(p, { key: 1, position: B.value, offset: g.value }, { default: z(() => [u("div", L, [u("div", { class: b(["amb-widget-container-tool amb-widget-tools", k(d)]), style: y(x.value), ref_key: "thisRef", ref: v }, [(a(!0), f(w, null, R(t.configure.items, (o) => (a(), c(_, { pageContext: t.pageContext, configure: o, key: o.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)], 512)]), _: 1 }, 8, ["position", "offset"])) : m.value ? (a(), f("div", M, [u("div", { class: b(["amb-widget-container-tool amb-widget-tools", k(d)]), style: y(x.value), ref_key: "thisRef", ref: v }, [(a(!0), f(w, null, R(t.configure.items, (o) => (a(), c(_, { pageContext: t.pageContext, configure: o, key: o.uuid }, null, 8, ["pageContext", "configure"]))), 128))], 6)])) : j("", !0)]);
|
|
43
42
|
};
|
|
44
43
|
} });
|
|
45
44
|
export {
|
|
46
|
-
|
|
45
|
+
J as default
|
|
47
46
|
};
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { getFormModelFields as
|
|
5
|
-
import { generateCodeByRule as
|
|
6
|
-
import { setVariableValue as
|
|
7
|
-
import { handleEvent as
|
|
8
|
-
import { http as
|
|
9
|
-
import { $t as
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
let
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
} }),
|
|
16
|
-
function
|
|
17
|
-
return
|
|
1
|
+
import { defineComponent as O, computed as P, ref as i, onMounted as I, watch as R, resolveComponent as M, createBlock as Q, openBlock as f, normalizeStyle as k, normalizeClass as z, unref as d, withCtx as D, createElementBlock as g, createCommentVNode as J, toDisplayString as L } from "vue";
|
|
2
|
+
import j from "qrcode";
|
|
3
|
+
import T from "jsbarcode";
|
|
4
|
+
import { getFormModelFields as U } from "../../../../utils/page-init-util.mjs";
|
|
5
|
+
import { generateCodeByRule as W } from "../../../../utils/barcode-util.mjs";
|
|
6
|
+
import { setVariableValue as V, getVariableValue as E } from "../../../../utils/page-helper-util.mjs";
|
|
7
|
+
import { handleEvent as G } from "../../../../utils/events/event-util.mjs";
|
|
8
|
+
import { http as H } from "agilebuilder-ui";
|
|
9
|
+
import { $t as K } from "../../../../utils/i18n-util.mjs";
|
|
10
|
+
const X = ["src"], ue = O({ __name: "barcode-runtime", props: { pageContext: {}, configure: {} }, setup(N, { expose: S }) {
|
|
11
|
+
const t = N, n = t.pageContext.entity ? t.pageContext.entity : {};
|
|
12
|
+
let c = U(t.pageContext, t.configure);
|
|
13
|
+
const v = P({ get: () => E(n, c), set(e) {
|
|
14
|
+
V(n, c, e);
|
|
15
|
+
} }), u = t.configure.runtime ? t.configure.runtime : {}, a = i(u.props ? u.props : {}), A = u.style, _ = u.class, $ = u.headerStyle, y = i(""), h = i(null), q = i(a.value.brCodeFormat ?? "CODE128"), p = i([]);
|
|
16
|
+
function b(e) {
|
|
17
|
+
return V(n, c, e);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
20
|
-
|
|
19
|
+
function C(e) {
|
|
20
|
+
x(e), b(e), G(e, t.pageContext, t.configure, "change", { entity: n });
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
"QR-code"
|
|
25
|
-
|
|
26
|
-
})) : function(
|
|
22
|
+
function x(e) {
|
|
23
|
+
var r;
|
|
24
|
+
a.value.type === "QR-code" ? (r = e, j.toDataURL(r, (o, l) => {
|
|
25
|
+
o ? console.error(o) : y.value = l;
|
|
26
|
+
})) : function(o) {
|
|
27
27
|
try {
|
|
28
|
-
|
|
29
|
-
} catch (
|
|
30
|
-
console.error("生成条形码时发生错误:",
|
|
28
|
+
T(h.value, o, { format: q.value });
|
|
29
|
+
} catch (l) {
|
|
30
|
+
console.error("生成条形码时发生错误:", l);
|
|
31
31
|
}
|
|
32
|
-
}(
|
|
32
|
+
}(e);
|
|
33
33
|
}
|
|
34
|
-
return
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
let
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}),
|
|
42
|
-
const
|
|
43
|
-
return
|
|
44
|
-
}(
|
|
34
|
+
return I(() => {
|
|
35
|
+
a.value.generateRule && (a.value.generateRuleType === "fixed" ? (p.value = Array.from(a.value.generateRule.matchAll(/\$\{(\w+)\}/g), (e) => e[1]), p.value.forEach((e) => {
|
|
36
|
+
R(() => t.pageContext.entity.data[e], (r, o) => {
|
|
37
|
+
r != null && function() {
|
|
38
|
+
let l = !0;
|
|
39
|
+
p.value.forEach((m) => {
|
|
40
|
+
t.pageContext.entity.data[m] || (l = !1);
|
|
41
|
+
}), l && C(function(m, s) {
|
|
42
|
+
const B = /\$\{(\w+)\}/g;
|
|
43
|
+
return m.replace(B, (F, w) => s.hasOwnProperty(w) ? s[w] : F);
|
|
44
|
+
}(a.value.generateRule, t.pageContext.entity.data));
|
|
45
45
|
}();
|
|
46
46
|
});
|
|
47
|
-
})) :
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
"-1"
|
|
51
|
-
if (
|
|
52
|
-
const
|
|
53
|
-
|
|
47
|
+
})) : H.get(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-models/by-code/" + a.value.generateRule).then((e) => {
|
|
48
|
+
const r = JSON.parse(e.barcodeModelItems);
|
|
49
|
+
r.forEach((o) => {
|
|
50
|
+
o.propDbName !== "-1" && o.propDbName !== -1 && (p.value.push(o.propDbName), R(() => t.pageContext.entity.data[o.propDbName], (l, m) => {
|
|
51
|
+
if (l != null) {
|
|
52
|
+
const s = W(r, t.pageContext.entity.data);
|
|
53
|
+
s && C(s);
|
|
54
54
|
}
|
|
55
55
|
}));
|
|
56
56
|
});
|
|
57
|
-
}).catch((
|
|
58
|
-
console.error("获取条码规则失败:",
|
|
59
|
-
})),
|
|
60
|
-
}),
|
|
61
|
-
return
|
|
62
|
-
}, setValue:
|
|
63
|
-
const
|
|
64
|
-
return
|
|
57
|
+
}).catch((e) => {
|
|
58
|
+
console.error("获取条码规则失败:", e);
|
|
59
|
+
})), v.value && x(v.value);
|
|
60
|
+
}), S({ getValue: function() {
|
|
61
|
+
return E(n, c);
|
|
62
|
+
}, setValue: b }), (e, r) => {
|
|
63
|
+
const o = M("el-form-item");
|
|
64
|
+
return f(), Q(o, { required: !!a.value.required, class: z(d(_)), "label-width": a.value.labelWidth, style: k(d(A)) }, { label: D(() => [a.value.tittleShow ? (f(), g("div", { key: 0, style: k({ ...d($) }) }, L(d(K)(a.value.title)), 5)) : J("", !0)]), default: D(() => [a.value.type === "QR-code" ? (f(), g("img", { key: 0, src: y.value }, null, 8, X)) : (f(), g("canvas", { key: 1, ref_key: "barcode", ref: h }, null, 512))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
65
65
|
};
|
|
66
66
|
} });
|
|
67
67
|
export {
|
|
68
|
-
|
|
68
|
+
ue as default
|
|
69
69
|
};
|