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,324 +1,317 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { setTableEvents as
|
|
3
|
-
import { caculateShowCondition as
|
|
4
|
-
import { getModelFields as
|
|
5
|
-
import
|
|
6
|
-
import { popupToPage as
|
|
7
|
-
import {
|
|
8
|
-
import { getAdditionalParamMap as
|
|
9
|
-
import { getRowStyleUtil as
|
|
10
|
-
const
|
|
11
|
-
var
|
|
12
|
-
const
|
|
13
|
-
let
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
let
|
|
18
|
-
|
|
19
|
-
const
|
|
20
|
-
let
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
var
|
|
24
|
-
const
|
|
25
|
-
return
|
|
26
|
-
const
|
|
27
|
-
if (
|
|
28
|
-
let
|
|
29
|
-
const
|
|
30
|
-
if (
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
|
|
1
|
+
import { defineComponent as _e, ref as T, onMounted as Ae, onUnmounted as Me, resolveComponent as Ee, createElementBlock as Ve, openBlock as K, createBlock as Be, createCommentVNode as Fe, unref as D } from "vue";
|
|
2
|
+
import { setTableEvents as Ue, gridSelectRecord as ze, gridSelectAllRecords as Ne, gridSelectionChange as He, cellClick as $e, cellDblClick as Le, rowClick as Ge, rowDblClick as je, headerClick as qe, getHandleEvent as Je } from "../../../../utils/events/event-util.mjs";
|
|
3
|
+
import { caculateShowCondition as y, setVariableValue as Q, getVariableValue as W, getSizeConfig as Ke } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { getModelFields as Qe, getDefaultValue as We } from "../../../../utils/page-init-util.mjs";
|
|
5
|
+
import S from "../../../../utils/eventBus.mjs";
|
|
6
|
+
import { popupToPage as Xe, getOperationButtons as Ye } from "../../../../utils/table-utils.mjs";
|
|
7
|
+
import { getBaseUrl as Ze, getListCode as et } from "../../../../utils/common-util.mjs";
|
|
8
|
+
import { getAdditionalParamMap as tt } from "../../../../utils/events/standard-event.mjs";
|
|
9
|
+
import { getRowStyleUtil as nt, getCellStyleUtil as ot, getHeaderCellStyleUtil as lt } from "../../chart/table/chart-table-util.mjs";
|
|
10
|
+
const gt = _e({ __name: "sub-table-runtime", props: { pageContext: {}, configure: {} }, emits: ["setSafeDeleteTableCode"], setup(X, { expose: Y, emit: Z }) {
|
|
11
|
+
var J;
|
|
12
|
+
const d = X, l = d.pageContext;
|
|
13
|
+
let n = d.configure;
|
|
14
|
+
const h = d.configure.runtime ? d.configure.runtime : {};
|
|
15
|
+
l.isTest ? h.value = d.configure.runtime ? d.configure.runtime : {} : l.tableRuntimes && l.tableRuntimes[n.uuid] && (n = JSON.parse(l.tableRuntimes[n.uuid].configure), h.value = n.runtime ? n.runtime : {});
|
|
16
|
+
const f = et(l.code, l.version, n.uuid), O = l.entity.data, v = n.code ? n.code : f, ee = tt(l), te = h && h.events ? h.events : [], w = T([]), M = l.superGridItems, ne = M ? M[n.uuid] : null, E = h.style, V = h.class, P = d.pageContext.entity ? d.pageContext.entity : {};
|
|
17
|
+
let R = Qe(d.configure, v), x = Ze(l.backendUrl, l.isTest);
|
|
18
|
+
x || (x = window.$vueApp.config.globalProperties.baseURL);
|
|
19
|
+
const I = T(!1);
|
|
20
|
+
let B = T(0);
|
|
21
|
+
const oe = (J = n.props) == null ? void 0 : J.dataOrigin.principalLinkage, m = T({}), le = Z;
|
|
22
|
+
m.value = function() {
|
|
23
|
+
var t, o;
|
|
24
|
+
const e = { title: (n == null ? void 0 : n.title) || null, isSql: !0, subTableData: null, rowKeyProp: oe, extraParam: {}, operations: {}, hiddenColumns: [], pageCode: l.code, pageVersion: l.version, pageContext: l, configureObj: n, showPageArea: !1, showRowForm: !1, showOverflowTooltip: !(!n.props || !n.props.otherSettings || n.props.otherSettings.isBreakLine !== void 0 && n.props.otherSettings.isBreakLine !== !1), backendUrl: x, cellStyleRender: Ie, rowStyleRender: Re, titleStyleRender: ke, allEditable: (o = (t = n.props) == null ? void 0 : t.base) == null ? void 0 : o.allEditable };
|
|
25
|
+
return E && (e.tableStyle = E), V && (e.tableClass = V), n.props && n.props.base && n.props.base.subPaging === !0 ? e.showPageArea = !0 : e.showPageArea = !1, n.props.base.showRowForm && (e.showRowForm = n.props.base.showRowForm), function(a) {
|
|
26
|
+
const u = n.props ? n.props.dataOrigin : {};
|
|
27
|
+
if (u.treeTable) {
|
|
28
|
+
let g;
|
|
29
|
+
const i = u.rowKey;
|
|
30
|
+
if (g = i && i.indexOf("~~") > 0 ? i.substring(i.indexOf("~~") + 2) : i, a.parentProp = g, u.checkStrictly && (a.checkStrictly = u.checkStrictly), a.parentProp) {
|
|
31
|
+
const p = u.lazy, c = u.defaultExpandAll;
|
|
32
|
+
a.lazy = p == null || p, a.defaultExpandAll = c != null && c;
|
|
33
|
+
const s = { parentProp: g, lazy: a.lazy, defaultExpandAll: a.defaultExpandAll };
|
|
34
|
+
a.extraParam.listViewTreeSetting = JSON.stringify(s), a.subRowUrl = x + "/dsc/commons/list-subs";
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
}(
|
|
37
|
+
}(e), e;
|
|
38
38
|
}();
|
|
39
|
-
const
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
function
|
|
44
|
-
if (
|
|
45
|
-
let
|
|
46
|
-
|
|
39
|
+
const r = T(null);
|
|
40
|
+
function F() {
|
|
41
|
+
r.value && (m.value.subTableData = null, r.value.reloadSubTableData(f));
|
|
42
|
+
}
|
|
43
|
+
function U(e, t) {
|
|
44
|
+
if (t || (t = m.value), e === void 0 && (e = z()), t.isPageInfo = !1, t.isFormSubTable = !0, t.canRrefreshSubtableData = e, t.getFormData = ae, t.getGridData = ie, t.extraParam.subTableListViewCode = f, t.extraParam.beanName = l.beanName, t.extraParam.subtableSetting = n.props && n.props.otherSettings ? JSON.stringify(n.props.otherSettings) : null, t.extraParam.additionalParamMap = ee, t.extraParam.entityMap = l.entity.data, t.extraParam.contextMap = l.entity.context, t.extraParam.taskMap = l.entity.task, !(n.props && n.props.base && n.props.base.showOperation)) {
|
|
45
|
+
let a = t.hiddenColumns;
|
|
46
|
+
a ? a.push("operation") : a = ["operation"], t.hiddenColumns = a;
|
|
47
47
|
}
|
|
48
|
-
|
|
49
|
-
let
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
function
|
|
53
|
-
if (
|
|
54
|
-
if (
|
|
55
|
-
let
|
|
56
|
-
if (
|
|
57
|
-
const
|
|
58
|
-
(!
|
|
48
|
+
t.showOperationButton = !(!n.props || !n.props.base) && n.props.base.showOperation, t.isPdfEditor = !1, t.tableRecordMaxNum = n.props && n.props.otherSettings ? n.props.otherSettings.tableRecordMaxNum : null;
|
|
49
|
+
let o = Ke(l, n);
|
|
50
|
+
o && o.fixHeight && (t.formSetHeight = o.fixHeight), o && o.maxHeight && (t.formSetMaxHeight = o.maxHeight), t.validateEitConditions = Oe;
|
|
51
|
+
}
|
|
52
|
+
function z() {
|
|
53
|
+
if (n.props && n.props.otherSettings) {
|
|
54
|
+
if (n.props.otherSettings.sourceQueryTableData && n.props.otherSettings.timeToInitializeSubTable && n.props.otherSettings.timeToInitializeSubTable.length > 0) {
|
|
55
|
+
let e = !1;
|
|
56
|
+
if (n.props.otherSettings.timeToInitializeSubTable.indexOf("create") !== -1 && (e = !O.id && !O.ID), n.props.otherSettings.timeToInitializeSubTable.indexOf("noData") !== -1) {
|
|
57
|
+
const t = O[v];
|
|
58
|
+
(!t || t.length <= 0) && (e = !0);
|
|
59
59
|
}
|
|
60
|
-
return
|
|
60
|
+
return e;
|
|
61
61
|
}
|
|
62
|
-
return
|
|
62
|
+
return !1;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
65
|
+
function ae() {
|
|
66
|
+
return l.entity.data;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
68
|
+
function ie() {
|
|
69
|
+
return W(P, R);
|
|
70
70
|
}
|
|
71
|
-
let
|
|
72
|
-
function
|
|
73
|
-
|
|
74
|
-
|
|
71
|
+
let _, A;
|
|
72
|
+
function N(e, t) {
|
|
73
|
+
t || (t = m.value), U(e, t), t.subTableData = null, H(t), I.value = !1, _ = setTimeout(() => {
|
|
74
|
+
I.value = !0, B.value = B.value + 1, $();
|
|
75
75
|
}, 10);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
const
|
|
81
|
-
if (
|
|
82
|
-
let
|
|
83
|
-
if (!
|
|
84
|
-
const
|
|
85
|
-
|
|
77
|
+
function H(e) {
|
|
78
|
+
e || (e = m.value), function(o) {
|
|
79
|
+
o || (o = m.value);
|
|
80
|
+
const a = l.fieldPermissionMap, u = l.actionPermissionMap;
|
|
81
|
+
if (a && a != null) {
|
|
82
|
+
let i = a.get(v);
|
|
83
|
+
if (!i) {
|
|
84
|
+
const p = a.get("all_fields");
|
|
85
|
+
p && (i = [p]);
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
o.validateRules = i || null;
|
|
88
88
|
}
|
|
89
|
-
if (
|
|
90
|
-
let
|
|
91
|
-
|
|
89
|
+
if (u && u != null) {
|
|
90
|
+
let i = u.get(v);
|
|
91
|
+
i || (i = u.get("all_sub_tables")), o.actionPermission = i;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
const
|
|
95
|
-
let
|
|
96
|
-
if (
|
|
97
|
-
const
|
|
98
|
-
|
|
93
|
+
o.operations || (o.operations = {});
|
|
94
|
+
const g = function() {
|
|
95
|
+
let i = [], p = y(d.pageContext, n.props.base.showOperationCondition);
|
|
96
|
+
if (p && k(null, null, null, null, null, !0, "canAdd")) {
|
|
97
|
+
const c = { props: { elementType: "el-button", icon: "Plus", type: "primary", circle: !0, size: "mini", permission: "true" }, onClick: pe, isShow: ue };
|
|
98
|
+
i.push(c);
|
|
99
99
|
}
|
|
100
|
-
if (
|
|
101
|
-
const
|
|
102
|
-
|
|
100
|
+
if (p && G(null, null, null, null, null, !0)) {
|
|
101
|
+
const c = { props: { elementType: "el-button", icon: "Minus", type: "danger", circle: !0, size: "mini", permission: "true" }, onClick: de, isShow: ce };
|
|
102
|
+
i.push(c);
|
|
103
103
|
}
|
|
104
|
-
return
|
|
104
|
+
return Ye(l, n, i, re), i;
|
|
105
105
|
}();
|
|
106
|
-
|
|
107
|
-
}(
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
function
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}),
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
Ne(e5), de = setTimeout(() => {
|
|
126
|
-
ie.value && (ie.value.refreshChildData(B, e5, L.props && L.props.base && true === L.props.base.subPaging), oe.value.extraParam.entityMap = z.entity.data);
|
|
106
|
+
o.operations.operation = g, o.subTableCanAdd = k(null, null, null, null, null, !0, "canAdd"), o.subTableCanDelete = k(null, null, null, null, null, !0, "canDelete");
|
|
107
|
+
}(e), Ue(e, te, l, n);
|
|
108
|
+
const t = l.customEvents;
|
|
109
|
+
t && (e.eventCallBack = t), I.value = !0, $();
|
|
110
|
+
}
|
|
111
|
+
function $() {
|
|
112
|
+
l.tableUuids || (l.tableUuids = []), l.tableUuids.indexOf(n.uuid) < 0 && l.tableUuids.push(n.uuid);
|
|
113
|
+
}
|
|
114
|
+
Ae(() => {
|
|
115
|
+
const e = n.uuid, t = l.subTableWatchProps;
|
|
116
|
+
S.$on("_refreshSubTable_" + e, (o) => {
|
|
117
|
+
const a = o.propName;
|
|
118
|
+
t && t[e] && t[e].length > 0 && t[e].indexOf(a) >= 0 && F();
|
|
119
|
+
}), S.$on("_refreshSubTableHandle_" + e, (o) => {
|
|
120
|
+
F();
|
|
121
|
+
}), S.$on("_refreshChildData_" + e, (o) => {
|
|
122
|
+
(function(a) {
|
|
123
|
+
q(a), A = setTimeout(() => {
|
|
124
|
+
r.value && (r.value.refreshChildData(f, a, n.props && n.props.base && n.props.base.subPaging === !0), m.value.extraParam.entityMap = l.entity.data);
|
|
127
125
|
}, 10);
|
|
128
|
-
}(
|
|
129
|
-
}),
|
|
130
|
-
|
|
131
|
-
}),
|
|
132
|
-
|
|
133
|
-
}),
|
|
134
|
-
}),
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
|
|
126
|
+
})(o);
|
|
127
|
+
}), S.$on(f + "-pickFileDone", (o) => {
|
|
128
|
+
r.value.pickFileDone(o);
|
|
129
|
+
}), S.$on(f + "-scanDone", (o) => {
|
|
130
|
+
r.value.scanDone(o);
|
|
131
|
+
}), m.value && m.value.configureObj.props.base && m.value.configureObj.props.base.isSafeDelete && le("setSafeDeleteTableCode", m.value.extraParam.tableName);
|
|
132
|
+
}), Me(() => {
|
|
133
|
+
_ && clearTimeout(_), A && clearTimeout(A);
|
|
134
|
+
const e = n.uuid;
|
|
135
|
+
S.$off("_refreshSubTable_" + e), S.$off("_refreshSubTableHandle_" + e), S.$off("_refreshChildData_" + e), S.$off(f + "-pickFileDone"), S.$off(f + "-scanDone");
|
|
138
136
|
});
|
|
139
|
-
const
|
|
140
|
-
function
|
|
141
|
-
if (
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
function
|
|
145
|
-
const
|
|
146
|
-
|
|
147
|
-
}
|
|
148
|
-
function
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
void 0 === e4 || false !== e4.canEdit || void 0 !== e4.rowIndexes && null !== e4.rowIndexes && 0 !== e4.rowIndexes.length || (s2 = false);
|
|
137
|
+
const L = T({});
|
|
138
|
+
function re(e) {
|
|
139
|
+
if (e)
|
|
140
|
+
return L.value[e.uuid] = e, se;
|
|
141
|
+
}
|
|
142
|
+
function se(e, t, o, a, u, g) {
|
|
143
|
+
const i = { originalValue: e, formatValue: t, row: o, column: a, rowIndex: u, button: g, id: o.ID ? o.ID : o.id }, p = L.value[g.sourceButton.uuid], c = n;
|
|
144
|
+
p.props.base.tableUuid = c.uuid, Je(null, l, p, "click", i);
|
|
145
|
+
}
|
|
146
|
+
function k(e, t, o, a, u, g, i) {
|
|
147
|
+
if (i || (i = "canAdd"), !y(d.pageContext, n.props.base.showOperationCondition)) return !1;
|
|
148
|
+
const p = l.fieldPermissionMap, c = l.actionPermissionMap;
|
|
149
|
+
let s = !0;
|
|
150
|
+
if (p && p !== null) {
|
|
151
|
+
const b = p.get("all_fields");
|
|
152
|
+
b === void 0 || b.canEdit !== !1 || b.rowIndexes !== void 0 && b.rowIndexes !== null && b.rowIndexes.length !== 0 || (s = !1);
|
|
156
153
|
}
|
|
157
|
-
if (
|
|
158
|
-
let
|
|
159
|
-
|
|
154
|
+
if (s === !0 && v && c && c !== null) {
|
|
155
|
+
let b = c.get(v);
|
|
156
|
+
b || (b = c.get("all_sub_tables")), b && b[i] !== void 0 && b[i] === !1 && (s = !1);
|
|
160
157
|
}
|
|
161
|
-
return
|
|
162
|
-
}
|
|
163
|
-
function
|
|
164
|
-
let
|
|
165
|
-
return
|
|
166
|
-
}
|
|
167
|
-
function
|
|
168
|
-
const
|
|
169
|
-
let
|
|
170
|
-
if (
|
|
171
|
-
const
|
|
172
|
-
void 0
|
|
158
|
+
return s;
|
|
159
|
+
}
|
|
160
|
+
function ue(e, t, o, a, u, g) {
|
|
161
|
+
let i = k(0, 0, 0, 0, 0, 0, "canAdd");
|
|
162
|
+
return i === !0 && (i = y(d.pageContext, n.props.base.showAddBtnCondition, o)), i;
|
|
163
|
+
}
|
|
164
|
+
function G(e, t, o, a, u, g) {
|
|
165
|
+
const i = l.fieldPermissionMap, p = l.actionPermissionMap;
|
|
166
|
+
let c = !0;
|
|
167
|
+
if (i && i !== null) {
|
|
168
|
+
const s = i.get("all_fields");
|
|
169
|
+
s === void 0 || s.canEdit !== !1 || s.rowIndexes !== void 0 && s.rowIndexes !== null && s.rowIndexes.length !== 0 || (c = !1);
|
|
173
170
|
}
|
|
174
|
-
if (
|
|
175
|
-
let
|
|
176
|
-
if (
|
|
171
|
+
if (c === !0 && v && p && p !== null) {
|
|
172
|
+
let s = p.get(v);
|
|
173
|
+
if (s || (s = p.get("all_sub_tables")), s && s.canDelete !== void 0 && s.canDelete === !1 && (c = !1), s && s.canDelete !== void 0 && s.canDelete === !0 && s.deleteRowIndexes) if (s.deleteRowIndexes.length > 0) if (g) c = !0;
|
|
177
174
|
else {
|
|
178
|
-
const
|
|
179
|
-
return
|
|
180
|
-
}(
|
|
181
|
-
|
|
175
|
+
const b = function(C) {
|
|
176
|
+
return C && C.id ? C.id : C && C.ID ? C.ID : void 0;
|
|
177
|
+
}(o);
|
|
178
|
+
c = b !== void 0 && s.deleteRowIndexes.indexOf(b) >= 0;
|
|
182
179
|
}
|
|
183
|
-
else
|
|
180
|
+
else c = !1;
|
|
184
181
|
}
|
|
185
|
-
return
|
|
182
|
+
return c;
|
|
186
183
|
}
|
|
187
|
-
function
|
|
188
|
-
let
|
|
189
|
-
return
|
|
184
|
+
function ce(e, t, o, a, u, g) {
|
|
185
|
+
let i = G(0, 0, o, 0, 0, g);
|
|
186
|
+
return i === !0 && (i = y(d.pageContext, n.props.base.showDeleteBtnCondition, o)), i;
|
|
190
187
|
}
|
|
191
|
-
function
|
|
192
|
-
|
|
188
|
+
function pe(e, t, o, a, u) {
|
|
189
|
+
r.value.createRow(f, {}, { getDefaultValueFunc: We }, { originalValue: e, formatValue: t, row: o, column: a, rowIndex: u });
|
|
193
190
|
}
|
|
194
|
-
function
|
|
195
|
-
|
|
191
|
+
function de(e, t, o, a, u) {
|
|
192
|
+
r.value.deleteRow(u, f, !1);
|
|
196
193
|
}
|
|
197
|
-
function
|
|
198
|
-
|
|
194
|
+
function fe(e) {
|
|
195
|
+
Q(P, R, e);
|
|
199
196
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
197
|
+
function ge(e) {
|
|
198
|
+
l.subTablePageInfo || (l.subTablePageInfo = {}), l.subTablePageInfo[v] || (l.subTablePageInfo[v] = {}), l.subTablePageInfo[v].pageSize = e;
|
|
202
199
|
}
|
|
203
|
-
function
|
|
204
|
-
const
|
|
205
|
-
|
|
200
|
+
function be(e) {
|
|
201
|
+
const t = e.key, o = e.value;
|
|
202
|
+
l.selectOptions || (l.selectOptions = {}), l.selectOptions[t] = o;
|
|
206
203
|
}
|
|
207
|
-
function
|
|
208
|
-
const
|
|
209
|
-
|
|
204
|
+
function me(e) {
|
|
205
|
+
const t = l.code + "_";
|
|
206
|
+
S.$emit(t + "prohibit-edit", e);
|
|
210
207
|
}
|
|
211
|
-
function
|
|
212
|
-
const
|
|
213
|
-
if (
|
|
208
|
+
function ve(e) {
|
|
209
|
+
const t = l.entity.data;
|
|
210
|
+
if (e) for (const o in e) t[o] = e[o];
|
|
214
211
|
}
|
|
215
|
-
function
|
|
216
|
-
|
|
217
|
-
q.value = e3;
|
|
218
|
-
p(z, L, { selection: e3, row: t2 });
|
|
219
|
-
}
|
|
212
|
+
function Se(e, t) {
|
|
213
|
+
t !== void 0 && (w.value = e, ze(l, n, { selection: e, row: t }));
|
|
220
214
|
}
|
|
221
|
-
function
|
|
222
|
-
|
|
223
|
-
d(z, L, { selection: e3 });
|
|
215
|
+
function he(e) {
|
|
216
|
+
w.value = e, Ne(l, n, { selection: e });
|
|
224
217
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
218
|
+
function we(e) {
|
|
219
|
+
He(l, n, { newSelection: e });
|
|
227
220
|
}
|
|
228
|
-
function
|
|
229
|
-
|
|
221
|
+
function Ce(e, t, o, a) {
|
|
222
|
+
$e(l, n, { row: e, column: t, cell: o, event: a });
|
|
230
223
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
224
|
+
function Te(e, t, o, a) {
|
|
225
|
+
Le(l, n, { row: e, column: t, cell: o, event: a });
|
|
233
226
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
227
|
+
function xe(e, t, o) {
|
|
228
|
+
Ge(l, n, { row: e, column: t, event: o });
|
|
236
229
|
}
|
|
237
|
-
function
|
|
238
|
-
|
|
230
|
+
function De(e, t, o) {
|
|
231
|
+
je(l, n, { row: e, column: t, event: o });
|
|
239
232
|
}
|
|
240
|
-
function
|
|
241
|
-
|
|
233
|
+
function ye(e, t) {
|
|
234
|
+
qe(l, n, { column: e, event: t });
|
|
242
235
|
}
|
|
243
|
-
function
|
|
244
|
-
|
|
236
|
+
function Pe(e) {
|
|
237
|
+
l.entity.data = e;
|
|
245
238
|
}
|
|
246
|
-
function
|
|
247
|
-
return
|
|
239
|
+
function j() {
|
|
240
|
+
return W(P, R);
|
|
248
241
|
}
|
|
249
|
-
function
|
|
250
|
-
return
|
|
242
|
+
function q(e) {
|
|
243
|
+
return Q(P, R, e);
|
|
251
244
|
}
|
|
252
|
-
function
|
|
253
|
-
return
|
|
245
|
+
function Re(e) {
|
|
246
|
+
return nt(e, null, d);
|
|
254
247
|
}
|
|
255
|
-
function
|
|
256
|
-
return
|
|
248
|
+
function Ie(e) {
|
|
249
|
+
return ot(e, e.cellStyle, d);
|
|
257
250
|
}
|
|
258
|
-
function
|
|
259
|
-
const
|
|
260
|
-
return
|
|
251
|
+
function ke(e) {
|
|
252
|
+
const t = e.titleStyle, o = d.configure.style.titleStyle;
|
|
253
|
+
return lt(e, { cellTitleStyle: t, titleStyle: o }, d);
|
|
261
254
|
}
|
|
262
|
-
function
|
|
263
|
-
let
|
|
264
|
-
return
|
|
255
|
+
function Oe({ row: e, editConditions: t }) {
|
|
256
|
+
let o = !0;
|
|
257
|
+
return t && t.length > 0 && (o = y(d.pageContext, t, e)), o;
|
|
265
258
|
}
|
|
266
|
-
return function(
|
|
267
|
-
const
|
|
268
|
-
|
|
269
|
-
}(
|
|
270
|
-
return
|
|
259
|
+
return function(e) {
|
|
260
|
+
const t = z();
|
|
261
|
+
t ? N(t, e) : (U(t, e), e.isPageInfo = !1, e.subTableData = j(), H(e));
|
|
262
|
+
}(m.value), Y({ createRow: function() {
|
|
263
|
+
return r.value.createRow(f);
|
|
271
264
|
}, getSelections: function() {
|
|
272
|
-
return
|
|
265
|
+
return w.value;
|
|
273
266
|
}, getSelectionIds: function() {
|
|
274
|
-
const
|
|
275
|
-
return
|
|
276
|
-
|
|
277
|
-
}),
|
|
267
|
+
const e = [];
|
|
268
|
+
return w.value && w.value.forEach((t) => {
|
|
269
|
+
e.push(t.id ? t.id : t.ID ? t.ID : null);
|
|
270
|
+
}), e;
|
|
278
271
|
}, clearSelections: function() {
|
|
279
|
-
|
|
272
|
+
w.value = [];
|
|
280
273
|
}, getTableConfigure: function() {
|
|
281
|
-
return
|
|
274
|
+
return n;
|
|
282
275
|
}, validatorSunTableListData: function() {
|
|
283
|
-
return
|
|
284
|
-
}, getValue:
|
|
285
|
-
if (
|
|
286
|
-
}, dynamicControlTableEdit: function(
|
|
287
|
-
|
|
288
|
-
}, doLayout: function(
|
|
289
|
-
|
|
290
|
-
}, changeOperationAddState: function(
|
|
291
|
-
|
|
292
|
-
}, scrollTo: function(
|
|
293
|
-
|
|
294
|
-
}, setScrollTop: function(
|
|
295
|
-
|
|
296
|
-
}, setScrollLeft: function(
|
|
297
|
-
|
|
276
|
+
return r.value.validatorSunTableListData();
|
|
277
|
+
}, getValue: j, setValue: q, getTableSelectOptions: function() {
|
|
278
|
+
if (r.value) return r.value.getTableSelectOptions(f);
|
|
279
|
+
}, dynamicControlTableEdit: function(e, t, o) {
|
|
280
|
+
r.value && r.value.dynamicControlTableEdit(e, t, o);
|
|
281
|
+
}, doLayout: function(e) {
|
|
282
|
+
r.value && r.value.doLayout(e);
|
|
283
|
+
}, changeOperationAddState: function(e) {
|
|
284
|
+
r.value && r.value.changeOperationAddState(e);
|
|
285
|
+
}, scrollTo: function(e, t) {
|
|
286
|
+
r.value && r.value.scrollTo(e, t);
|
|
287
|
+
}, setScrollTop: function(e) {
|
|
288
|
+
r.value && r.value.setScrollTop(e);
|
|
289
|
+
}, setScrollLeft: function(e) {
|
|
290
|
+
r.value && r.value.setScrollLeft(e);
|
|
298
291
|
}, getSuperGridRef: function() {
|
|
299
|
-
return
|
|
292
|
+
return r.value;
|
|
300
293
|
}, getSuperGridTableRef: function() {
|
|
301
|
-
return
|
|
302
|
-
}, setCurrentRowIndex: function(
|
|
303
|
-
var
|
|
304
|
-
(
|
|
305
|
-
}, setScrollTopByRowIndex: function(
|
|
306
|
-
var
|
|
307
|
-
(
|
|
294
|
+
return r.value.getSuperGridTableRef();
|
|
295
|
+
}, setCurrentRowIndex: function(e) {
|
|
296
|
+
var t;
|
|
297
|
+
(t = r.value) == null || t.setCurrentRowIndex(e);
|
|
298
|
+
}, setScrollTopByRowIndex: function(e) {
|
|
299
|
+
var t;
|
|
300
|
+
(t = r.value) == null || t.setScrollTopByRowIndex(e);
|
|
308
301
|
}, getTableData: function() {
|
|
309
|
-
var
|
|
310
|
-
return (
|
|
311
|
-
}, addRequiredClass: function(
|
|
312
|
-
var
|
|
313
|
-
(
|
|
302
|
+
var e;
|
|
303
|
+
return (e = r.value) == null ? void 0 : e.getTableData();
|
|
304
|
+
}, addRequiredClass: function(e, t, o) {
|
|
305
|
+
var a;
|
|
306
|
+
(a = r.value) == null || a.addRequiredClass(e, f, t, o);
|
|
314
307
|
}, getColumns: function() {
|
|
315
|
-
var
|
|
316
|
-
return (
|
|
317
|
-
} }), (
|
|
318
|
-
const
|
|
319
|
-
return
|
|
308
|
+
var e;
|
|
309
|
+
return (e = r.value) == null ? void 0 : e.getColumns();
|
|
310
|
+
} }), (e, t) => {
|
|
311
|
+
const o = Ee("super-grid");
|
|
312
|
+
return K(), Ve("div", null, [I.value ? (K(), Be(o, { key: 0, ref_key: "gridRef", ref: r, url: D(x) + "/dsc/commons/sub-table", options: m.value, code: D(f), settings: D(ne), isDialog: D(l).isDialog, onSelect: Se, onSelectAll: he, onSelectionChange: we, onCellClick: Ce, onCellDblclick: Te, onRowClick: xe, onRowDblclick: De, onHeaderClick: ye, onFnProhibitToEdit: me, onChangeGridData: fe, onReloadGrid: N, onRefresMainTableFields: ve, onSetSelectOptions: be, onChangeRowsPerPage: ge, onNewOpenGridDialog: D(Xe), onChangeFormData: Pe }, null, 8, ["url", "options", "code", "settings", "isDialog", "onNewOpenGridDialog"])) : Fe("", !0)]);
|
|
320
313
|
};
|
|
321
314
|
} });
|
|
322
315
|
export {
|
|
323
|
-
|
|
316
|
+
gt as default
|
|
324
317
|
};
|