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
|
@@ -2,356 +2,347 @@ import { executeExpression, http } from "agilebuilder-ui";
|
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import { getComponentRef } from "./global-refs.mjs";
|
|
4
4
|
import { watch } from "vue";
|
|
5
|
-
import {
|
|
6
|
-
function getComponentOptionConfigs(
|
|
7
|
-
return getComponentOptionConfigsBase(
|
|
8
|
-
}
|
|
9
|
-
function getComponentOptionConfigsBase(
|
|
10
|
-
if (!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
if (
|
|
14
|
-
else if (
|
|
15
|
-
else if ("dataTable" == o.optionValueSetType) {
|
|
5
|
+
import { getBaseUrl, deepCopy } from "./common-util.mjs";
|
|
6
|
+
function getComponentOptionConfigs(t, e, n, o) {
|
|
7
|
+
return getComponentOptionConfigsBase(t, e != null && e.systemCode ? e.systemCode : n, e != null && e.systemVersion ? e == null ? void 0 : e.systemVersion : o);
|
|
8
|
+
}
|
|
9
|
+
function getComponentOptionConfigsBase(t, e, n) {
|
|
10
|
+
if (!t.props || !t.props.dataOrigin || t.name && t.name === "table") return;
|
|
11
|
+
const o = t.props.dataOrigin, a = { uuid: t.uuid };
|
|
12
|
+
if (o.optionValueSetType == "optionGroup") a.type = "optionGroup", a.props = { code: o.optionGroup };
|
|
13
|
+
else if (o.optionValueSetType == "dynamicData") a.type = "dynamicData", a.filterType = o.filterType, a.props = { code: o.dynamicDataSourceCode };
|
|
14
|
+
else if (o.optionValueSetType == "dataTable") {
|
|
16
15
|
a.filterType = o.filterType;
|
|
17
|
-
const
|
|
18
|
-
Object.assign(a,
|
|
19
|
-
} else if ("service"
|
|
16
|
+
const s = getTableQueryInfo(o, e, n);
|
|
17
|
+
Object.assign(a, s);
|
|
18
|
+
} else if (o.optionValueSetType == "service") {
|
|
20
19
|
a.filterType = o.filterType;
|
|
21
|
-
const
|
|
22
|
-
Object.assign(a,
|
|
20
|
+
const s = getServiceQueryInfo(o, e, n);
|
|
21
|
+
Object.assign(a, s);
|
|
23
22
|
}
|
|
24
23
|
return a.type ? a : void 0;
|
|
25
24
|
}
|
|
26
|
-
function getTableQueryInfo(
|
|
25
|
+
function getTableQueryInfo(t, e, n) {
|
|
27
26
|
const o = { type: "dataTable" };
|
|
28
|
-
if (o.valueLabelSwitch = !!
|
|
29
|
-
const
|
|
30
|
-
for (const
|
|
31
|
-
o.props.sorts =
|
|
27
|
+
if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { tableName: t.tableName, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.sortFields) {
|
|
28
|
+
const r = [];
|
|
29
|
+
for (const i of t.sortFields) i.name && r.push({ prop: i.name, order: i.type ? i.type : "asc" });
|
|
30
|
+
o.props.sorts = r;
|
|
32
31
|
}
|
|
33
32
|
const a = [];
|
|
34
|
-
if (
|
|
35
|
-
const
|
|
36
|
-
for (const
|
|
37
|
-
if (!
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
Object.assign(
|
|
41
|
-
const
|
|
42
|
-
for (const
|
|
43
|
-
|
|
33
|
+
if (t.filterList) {
|
|
34
|
+
const r = [];
|
|
35
|
+
for (const i of t.filterList) {
|
|
36
|
+
if (!i.propName) continue;
|
|
37
|
+
i.propDbName || (i.propDbName = i.propName);
|
|
38
|
+
const u = {};
|
|
39
|
+
Object.assign(u, i);
|
|
40
|
+
const p = getParamNames(i.propValue);
|
|
41
|
+
for (const l of p) l && (l.startsWith("${data.") || l.startsWith("${task.") || l.startsWith("${page.")) && (a.includes(l) || a.push(l));
|
|
42
|
+
r.push(u);
|
|
44
43
|
}
|
|
45
|
-
o.props.searchForm =
|
|
44
|
+
o.props.searchForm = r;
|
|
46
45
|
}
|
|
47
46
|
o.props.monitorFields = a;
|
|
48
|
-
const
|
|
49
|
-
if (
|
|
50
|
-
return o.props.queryFields =
|
|
47
|
+
const s = [];
|
|
48
|
+
if (t.tableValueField && (o.props.valueField = t.tableValueField), t.tableLableField && s.indexOf(t.tableLableField) == -1 && (o.props.lableField = t.tableLableField), t.autoSets) for (const r of t.autoSets) r.source && s.indexOf(r.source) == -1 && s.push(r.source);
|
|
49
|
+
return o.props.queryFields = s, o.props.pageSize = t.displayQuantity, o;
|
|
51
50
|
}
|
|
52
|
-
function getServiceQueryInfo(
|
|
51
|
+
function getServiceQueryInfo(t, e, n) {
|
|
53
52
|
const o = { type: "service" };
|
|
54
|
-
if (o.valueLabelSwitch = !!
|
|
55
|
-
const
|
|
56
|
-
for (const
|
|
57
|
-
if (!
|
|
58
|
-
const
|
|
59
|
-
Object.assign(
|
|
53
|
+
if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { serivceCode: t.serviceCode, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.serviceInputs) {
|
|
54
|
+
const a = [];
|
|
55
|
+
for (const s of t.serviceInputs) {
|
|
56
|
+
if (!s.name || s.value) continue;
|
|
57
|
+
const r = {};
|
|
58
|
+
Object.assign(r, s), a.push(r);
|
|
60
59
|
}
|
|
61
|
-
o.props.inputs =
|
|
60
|
+
o.props.inputs = a;
|
|
62
61
|
}
|
|
63
|
-
return o.props.dataSetField =
|
|
64
|
-
}
|
|
65
|
-
function updateChartDatasources(
|
|
66
|
-
return new Promise((a,
|
|
67
|
-
if (!
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
const
|
|
71
|
-
if (
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
}), delete
|
|
62
|
+
return o.props.dataSetField = t.serviceDataSetField, o.props.valueField = t.serviceValueField, o.props.labelField = t.serviceLabelField, o;
|
|
63
|
+
}
|
|
64
|
+
function updateChartDatasources(t, e, n, o) {
|
|
65
|
+
return new Promise((a, s) => {
|
|
66
|
+
if (!e || e.length == 0) return void s(new Error("无需查询的统计图配置!"));
|
|
67
|
+
const r = deepCopy(e);
|
|
68
|
+
r.forEach((d) => {
|
|
69
|
+
const m = d.services;
|
|
70
|
+
if (m && m.length > 0) {
|
|
71
|
+
const b = m[0].serviceInputs;
|
|
72
|
+
b && (m[0].serviceInParams = {}, b.forEach((g) => {
|
|
73
|
+
const h = g.name, y = g.value;
|
|
74
|
+
m[0].serviceInParams[h] = getValueFromVariable(t.entity, y);
|
|
75
|
+
}), delete m[0].serviceInputs);
|
|
77
76
|
}
|
|
78
77
|
});
|
|
79
|
-
const i =
|
|
78
|
+
const i = t.entity ? t.entity : {}, u = {};
|
|
80
79
|
i.request && Object.assign(u, i.request), i.page && Object.assign(u, i.page), n && Object.assign(u, n);
|
|
81
|
-
const
|
|
82
|
-
i.task && Object.assign(
|
|
83
|
-
const
|
|
84
|
-
http.post(f,
|
|
85
|
-
var
|
|
86
|
-
|
|
87
|
-
for (const
|
|
88
|
-
|
|
89
|
-
const
|
|
90
|
-
if (
|
|
91
|
-
const
|
|
92
|
-
if ((!o ||
|
|
93
|
-
const
|
|
94
|
-
let
|
|
95
|
-
|
|
80
|
+
const p = {};
|
|
81
|
+
i.task && Object.assign(p, i.task);
|
|
82
|
+
const l = { entityMap: i.data, additionalParamMap: u, taskMap: p, dataSourceList: r, systemCode: t.systemCode, pageCode: t.code }, c = t.backendUrl, f = getBaseUrl(c, t.isTest) + "/common/common-data/find-chart-datas";
|
|
83
|
+
http.post(f, l, { headers: { customSystem: t.systemCode } }).then((d) => {
|
|
84
|
+
var m, b;
|
|
85
|
+
t.chartDataSourceMap || (t.chartDataSourceMap = {});
|
|
86
|
+
for (const g in d) {
|
|
87
|
+
t.chartDataSourceMap[g] = d[g];
|
|
88
|
+
const h = getComponentRef(t, g);
|
|
89
|
+
if (h) {
|
|
90
|
+
const y = h.getConfigure();
|
|
91
|
+
if ((!o || y && (y.initializationQuery === void 0 || y.initializationQuery)) && h.updateChartDatas && (h.updateChartDatas(d[g]), (b = (m = y.runtime) == null ? void 0 : m.dataConfig) == null ? void 0 : b.resultSet)) {
|
|
92
|
+
const S = d[g] && d[g].length > 0 ? d[g][0] : {}, C = S && S.result ? S.result : {};
|
|
93
|
+
let V = null;
|
|
94
|
+
y.serviceDataField ? V = C[y.serviceDataField] : C && (V = Array.isArray(C) ? C : [C]), V || (V = []), setValueForVariableName(t.entity, y.runtime.dataConfig.resultSet, V);
|
|
96
95
|
}
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
|
-
a(
|
|
100
|
-
}).catch((
|
|
101
|
-
|
|
98
|
+
a(d);
|
|
99
|
+
}).catch((d) => {
|
|
100
|
+
s(d);
|
|
102
101
|
});
|
|
103
102
|
});
|
|
104
103
|
}
|
|
105
|
-
function updateChartDatasourcesByComponent(
|
|
106
|
-
const n =
|
|
107
|
-
n && updateChartDatasources(
|
|
104
|
+
function updateChartDatasourcesByComponent(t, e) {
|
|
105
|
+
const n = t.initChartServiceConfigs.find((o) => o.uuid === e);
|
|
106
|
+
n && updateChartDatasources(t, [n], null, !1);
|
|
108
107
|
}
|
|
109
|
-
function updateOptionDatasources(
|
|
108
|
+
function updateOptionDatasources(t, e, n) {
|
|
110
109
|
return new Promise((o, a) => {
|
|
111
|
-
if (!
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
const i = { entityMap:
|
|
115
|
-
http.post(
|
|
116
|
-
|
|
117
|
-
for (const
|
|
118
|
-
|
|
119
|
-
const
|
|
120
|
-
|
|
110
|
+
if (!e || e.length == 0) return void a(new Error("无需查询的配置!"));
|
|
111
|
+
const s = t.entity ? t.entity : {}, r = {};
|
|
112
|
+
s.request && Object.assign(r, s.request), s.page && Object.assign(r, s.page), r.query = n;
|
|
113
|
+
const i = { entityMap: s.data, additionalParamMap: r, dataSourceList: e, systemCode: t.systemCode, query: n }, u = t.backendUrl, p = getBaseUrl(u, t.isTest) + "/common/common-data/find-datas";
|
|
114
|
+
http.post(p, i).then((l) => {
|
|
115
|
+
t.optionSourceMap || (t.optionSourceMap = {});
|
|
116
|
+
for (const c in l) {
|
|
117
|
+
t.optionSourceMap[c] = l[c];
|
|
118
|
+
const f = getComponentRef(t, c);
|
|
119
|
+
f && f.updateOptions && f.updateOptions(l[c]);
|
|
121
120
|
}
|
|
122
|
-
o(
|
|
123
|
-
}).catch((
|
|
124
|
-
a(
|
|
121
|
+
o(l);
|
|
122
|
+
}).catch((l) => {
|
|
123
|
+
a(l);
|
|
125
124
|
});
|
|
126
125
|
});
|
|
127
126
|
}
|
|
128
|
-
function getOptionDatasFromPage(
|
|
129
|
-
return getComponentOptionDatasFromPage(
|
|
130
|
-
}
|
|
131
|
-
function getComponentOptionDatasFromPage(
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
return t ||
|
|
139
|
-
}
|
|
140
|
-
function
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
|
|
154
|
-
if (!n2 || !n2.startsWith("${")) continue;
|
|
155
|
-
n2 = n2.substring(2, n2.length - 1);
|
|
156
|
-
const s = n2.split(".");
|
|
157
|
-
setVariableValue(r, s, null == t2 ? null : t2.join(","));
|
|
127
|
+
function getOptionDatasFromPage(t, e) {
|
|
128
|
+
return getComponentOptionDatasFromPage(t, e.uuid);
|
|
129
|
+
}
|
|
130
|
+
function getComponentOptionDatasFromPage(t, e) {
|
|
131
|
+
return getOptionDatasSourceMap(t)[e] || [];
|
|
132
|
+
}
|
|
133
|
+
function getOptionDatasSourceMap(t) {
|
|
134
|
+
return !t || !t.optionSourceMap ? {} : t.optionSourceMap || {};
|
|
135
|
+
}
|
|
136
|
+
function getChartDatasFromPage(t, e) {
|
|
137
|
+
return !t || !t.chartDataSourceMap || !e ? null : t.chartDataSourceMap[e.uuid];
|
|
138
|
+
}
|
|
139
|
+
function queryOptionDatasources(t, e, n) {
|
|
140
|
+
return updateOptionDatasources(t, e ? [e] : [], n);
|
|
141
|
+
}
|
|
142
|
+
function autoSetAfterSelect(t, e, n, o, a = []) {
|
|
143
|
+
if (!n || n.length == 0) return;
|
|
144
|
+
const s = e.entity ? e.entity : {};
|
|
145
|
+
for (const r of n) {
|
|
146
|
+
if (!r.source || !r.target || a.includes(r.target)) continue;
|
|
147
|
+
const i = getValuesByField(o, r.source);
|
|
148
|
+
let u = r.target;
|
|
149
|
+
if (!u || !u.startsWith("${")) continue;
|
|
150
|
+
u = u.substring(2, u.length - 1);
|
|
151
|
+
const p = u.split(".");
|
|
152
|
+
setVariableValue(s, p, i == null ? null : i.join(","));
|
|
158
153
|
}
|
|
159
154
|
}
|
|
160
|
-
function getValuesByField(
|
|
161
|
-
if (
|
|
155
|
+
function getValuesByField(t, e) {
|
|
156
|
+
if (t) {
|
|
162
157
|
const n = [];
|
|
163
|
-
for (const o of
|
|
164
|
-
let
|
|
165
|
-
|
|
158
|
+
for (const o of t) {
|
|
159
|
+
let a = o[e];
|
|
160
|
+
a != null && a != null || (a = ""), n.push(a);
|
|
166
161
|
}
|
|
167
162
|
return n;
|
|
168
163
|
}
|
|
169
164
|
return null;
|
|
170
165
|
}
|
|
171
|
-
function getVariableValue(
|
|
172
|
-
if (!
|
|
173
|
-
let n =
|
|
174
|
-
for (let
|
|
175
|
-
if (
|
|
176
|
-
n = n[
|
|
166
|
+
function getVariableValue(t, e) {
|
|
167
|
+
if (!t || !e || e.length == 0) return;
|
|
168
|
+
let n = t;
|
|
169
|
+
for (let o = 0; o < e.length; o++) {
|
|
170
|
+
if (n == null) return n;
|
|
171
|
+
n = n[e[o]];
|
|
177
172
|
}
|
|
178
173
|
return n;
|
|
179
174
|
}
|
|
180
|
-
function setValueForVariableName(
|
|
181
|
-
|
|
182
|
-
setVariableValue(e, (t = t.substring(2, t.length - 1)).split("."), n);
|
|
175
|
+
function setValueForVariableName(t, e, n) {
|
|
176
|
+
!e || !e.startsWith("${") || setVariableValue(t, (e = e.substring(2, e.length - 1)).split("."), n);
|
|
183
177
|
}
|
|
184
|
-
function setVariableValue(
|
|
185
|
-
if (!
|
|
186
|
-
let o =
|
|
187
|
-
for (let
|
|
188
|
-
const
|
|
189
|
-
|
|
178
|
+
function setVariableValue(t, e, n) {
|
|
179
|
+
if (!t || !e || e.length == 0) return;
|
|
180
|
+
let o = t;
|
|
181
|
+
for (let a = 0; a < e.length; a++) {
|
|
182
|
+
const s = e[a];
|
|
183
|
+
a + 1 === e.length ? o[s] = n === void 0 ? null : n : (o[s] === void 0 && (o[s] = {}), o = o[s]);
|
|
190
184
|
}
|
|
191
185
|
}
|
|
192
|
-
function setVariableValueWithProp(
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
if (r &&
|
|
202
|
-
|
|
203
|
-
t = t.replace(a, null == r ? "" : r);
|
|
186
|
+
function setVariableValueWithProp(t, e, n) {
|
|
187
|
+
!t || !e || setVariableValue(t, e.split("."), n);
|
|
188
|
+
}
|
|
189
|
+
function formatVariableValue(t, e) {
|
|
190
|
+
if (!t || e == "" || e == null || e == null) return e;
|
|
191
|
+
const n = t.entity ? t.entity : {}, o = getParamNames(e);
|
|
192
|
+
for (const a in o) {
|
|
193
|
+
const s = o[a], r = getValueFromVariable(n, s);
|
|
194
|
+
if (r && Object.prototype.toString.call(r) === "[object Date]") return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
|
|
195
|
+
if (r && typeof r == "number") return r;
|
|
196
|
+
e = e.replace(s, r ?? "");
|
|
204
197
|
}
|
|
205
|
-
return
|
|
198
|
+
return e;
|
|
206
199
|
}
|
|
207
|
-
function getParamNames(
|
|
208
|
-
|
|
209
|
-
const t = e.match(/\$\{[^\{|\}]+\}/g);
|
|
210
|
-
return t || [];
|
|
200
|
+
function getParamNames(t) {
|
|
201
|
+
return t ? t.match(/\$\{[^\{|\}]+\}/g) || [] : [];
|
|
211
202
|
}
|
|
212
|
-
function formatValueByType(
|
|
213
|
-
if (!
|
|
214
|
-
if (n = n || {}, "number"
|
|
215
|
-
if (isNaN(
|
|
203
|
+
function formatValueByType(t, e, n) {
|
|
204
|
+
if (!e || t == "" || t == null || t == null) return t;
|
|
205
|
+
if (n = n || {}, e == "number" || e == "percent") {
|
|
206
|
+
if (isNaN(t)) return t;
|
|
216
207
|
let o = parseInt(n.decimalDigit);
|
|
217
|
-
if ((
|
|
208
|
+
if ((o == null || isNaN(o)) && (o = -1), t = parseFloat(t), e == "percent" && (t *= 100), o > -1 && (t = parseFloat(t.toFixed(o))), e == "percent") t += "%";
|
|
218
209
|
else {
|
|
219
210
|
if (n.thousandsSeparator) {
|
|
220
|
-
const
|
|
221
|
-
|
|
211
|
+
const a = t.toString().split(".");
|
|
212
|
+
a[0] = a[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), t = a.length > 1 ? a.join(".") : a[0];
|
|
222
213
|
}
|
|
223
|
-
n.symbol && (
|
|
214
|
+
n.symbol && (t = n.symbol + "" + t);
|
|
224
215
|
}
|
|
225
|
-
return
|
|
216
|
+
return t;
|
|
226
217
|
}
|
|
227
|
-
if ("date"
|
|
218
|
+
if (e == "date" || e == "time") {
|
|
228
219
|
let o = "";
|
|
229
|
-
return "date"
|
|
220
|
+
return e == "date" ? (o = n.dateFormat, o || (o = "YYYY-MM-DD")) : (o = n.timeFormat, o || (o = "HH:mm:ss")), dayjs(t).format(o);
|
|
230
221
|
}
|
|
231
|
-
return "custom"
|
|
232
|
-
}
|
|
233
|
-
function getValueFromVariable(
|
|
234
|
-
if (
|
|
235
|
-
if (
|
|
236
|
-
let o =
|
|
237
|
-
if (o.startsWith("data.")) o = o.substring(5),
|
|
238
|
-
else if (o.startsWith("page.")) o = o.substring(5), a = "page",
|
|
239
|
-
else if (o.startsWith("task.")) o = o.substring(5), a = "task",
|
|
240
|
-
else if (o.startsWith("request.")) o = o.substring(8), a = "request",
|
|
241
|
-
else if (o.startsWith("context.")) o = o.substring(8), a = "context",
|
|
242
|
-
else if (o.startsWith("system.")) o = o.substring(7), a = "system",
|
|
222
|
+
return e == "custom" && n.formatEventUuid, t;
|
|
223
|
+
}
|
|
224
|
+
function getValueFromVariable(t, e, n) {
|
|
225
|
+
if (e == null || e == null) return e;
|
|
226
|
+
if (e.startsWith("${") && e.endsWith("}")) {
|
|
227
|
+
let o = e.substring(2, e.length - 1), a = null, s = null;
|
|
228
|
+
if (o.startsWith("data.")) o = o.substring(5), s = t.data, a = "data";
|
|
229
|
+
else if (o.startsWith("page.")) o = o.substring(5), a = "page", s = t.page;
|
|
230
|
+
else if (o.startsWith("task.")) o = o.substring(5), a = "task", s = t.task;
|
|
231
|
+
else if (o.startsWith("request.")) o = o.substring(8), a = "request", s = t.request;
|
|
232
|
+
else if (o.startsWith("context.")) o = o.substring(8), a = "context", s = t.context;
|
|
233
|
+
else if (o.startsWith("system.")) o = o.substring(7), a = "system", s = t.system;
|
|
243
234
|
else {
|
|
244
235
|
if (o.startsWith("fixed.")) return o.substring(6);
|
|
245
|
-
o.startsWith("row.") && (o = o.substring(4),
|
|
236
|
+
o.startsWith("row.") && (o = o.substring(4), s = n, a = "row");
|
|
246
237
|
}
|
|
247
|
-
return o ? getValueFromSource(
|
|
238
|
+
return o ? getValueFromSource(s, o, a) : "";
|
|
248
239
|
}
|
|
249
|
-
return
|
|
240
|
+
return e;
|
|
250
241
|
}
|
|
251
|
-
function getValueFromSource(
|
|
252
|
-
if ("context"
|
|
253
|
-
const o =
|
|
242
|
+
function getValueFromSource(t, e, n) {
|
|
243
|
+
if (n != "context" && !t || !e) return;
|
|
244
|
+
const o = e.indexOf(".");
|
|
254
245
|
if (o > -1) {
|
|
255
|
-
const a =
|
|
256
|
-
let
|
|
257
|
-
return
|
|
246
|
+
const a = e.substring(0, o), s = e.substring(o + 1);
|
|
247
|
+
let r = t[a];
|
|
248
|
+
return r && Array.isArray(r) && r.length > 0 && (r = r[0]), getValueFromSource(r, s, n);
|
|
258
249
|
}
|
|
259
|
-
if ("context"
|
|
260
|
-
if ("currentDate"
|
|
261
|
-
if (
|
|
262
|
-
const
|
|
263
|
-
let
|
|
264
|
-
const
|
|
265
|
-
return
|
|
250
|
+
if (n == "context") {
|
|
251
|
+
if (e == "currentDate" || e == "currentTime") return /* @__PURE__ */ new Date();
|
|
252
|
+
if (e.startsWith("currentDate") && e.length > 11) {
|
|
253
|
+
const a = e.substring(11), s = a.substring(0, 1);
|
|
254
|
+
let r = parseInt(a.substring(1, a.length - 1), 10);
|
|
255
|
+
const i = a.substring(a.length - 1), u = /* @__PURE__ */ new Date();
|
|
256
|
+
return r = s === "+" ? r : -r, i === "d" || i === "w" ? (r = i === "w" ? 7 * r : r, u.setDate(u.getDate() + r)) : i === "m" ? u.setMonth(u.getMonth() + r) : i === "y" && u.setFullYear(u.getFullYear() + r), u;
|
|
266
257
|
}
|
|
267
|
-
if (!
|
|
258
|
+
if (!t) return;
|
|
268
259
|
}
|
|
269
|
-
return e
|
|
260
|
+
return t[e];
|
|
270
261
|
}
|
|
271
262
|
function caculateShowCondition(pageContext, showConditions, row) {
|
|
272
|
-
if (!showConditions ||
|
|
263
|
+
if (!showConditions || showConditions.length == 0 || !pageContext || !pageContext.entity) return !0;
|
|
273
264
|
const entityData = pageContext.entity;
|
|
274
265
|
let conditions = "";
|
|
275
266
|
const maxLen = showConditions.length;
|
|
276
|
-
for (let
|
|
277
|
-
const
|
|
278
|
-
let o =
|
|
279
|
-
if (!n ||
|
|
267
|
+
for (let t = 0; t < maxLen; t++) {
|
|
268
|
+
const e = showConditions[t], n = e.propName;
|
|
269
|
+
let o = e.operator;
|
|
270
|
+
if (!n || n === "") continue;
|
|
280
271
|
o || (o = "EQ");
|
|
281
272
|
const a = getValueFromVariable(entityData, n, row);
|
|
282
|
-
let
|
|
283
|
-
const
|
|
284
|
-
"CONTAIN"
|
|
285
|
-
let i =
|
|
286
|
-
if (i || (i = "null"), "IS_NULL"
|
|
287
|
-
u = executeExpression(a, o,
|
|
288
|
-
} catch
|
|
289
|
-
u =
|
|
273
|
+
let s = getValueFromVariable(entityData, e.propValue, row);
|
|
274
|
+
const r = e.dataType;
|
|
275
|
+
o != "CONTAIN" && o != "NOT_CONTAIN" || a && !a.includes && (o = o == "CONTAIN" ? "EQ" : "NET");
|
|
276
|
+
let i = e.variableIsNull, u;
|
|
277
|
+
if (i || (i = "null"), o !== "IS_NULL" && o !== "IS_NOT_NULL" && (s !== void 0 && s !== "" || (s = null, i === "null" ? o = "IS_NULL" : i === "notequal" ? o = "IS_NOT_NULL" : u = !0)), u == null) try {
|
|
278
|
+
u = executeExpression(a, o, s, r);
|
|
279
|
+
} catch {
|
|
280
|
+
u = !1;
|
|
290
281
|
}
|
|
291
|
-
const
|
|
292
|
-
let
|
|
293
|
-
if (
|
|
294
|
-
const
|
|
295
|
-
"and"
|
|
282
|
+
const p = e.leftBracket, l = e.rightBracket;
|
|
283
|
+
let c = e.joinSign;
|
|
284
|
+
if (p && p !== null && p !== "" && (conditions += p, conditions += " "), conditions += u + " ", l && l !== null && l !== "" && (conditions += l, conditions += " "), t < maxLen - 1 && c && c !== null && c !== "") {
|
|
285
|
+
const f = c.toLowerCase();
|
|
286
|
+
f === "and" ? c = f.replace("and", "&&") : f === "or" && (c = f.replace("or", "||")), conditions += c + " ";
|
|
296
287
|
}
|
|
297
288
|
}
|
|
298
289
|
return !conditions || eval("(" + conditions + ")");
|
|
299
290
|
}
|
|
300
|
-
function monitorFieldChange(
|
|
301
|
-
if (!n || !
|
|
291
|
+
function monitorFieldChange(t, e, n) {
|
|
292
|
+
if (!n || !t || !e || e.length == 0) return;
|
|
302
293
|
const o = [], a = [];
|
|
303
|
-
for (let
|
|
304
|
-
|
|
305
|
-
const
|
|
306
|
-
"page"
|
|
294
|
+
for (let i of e) if (i.startsWith("${")) {
|
|
295
|
+
i = i.substring(2, i.length - 1);
|
|
296
|
+
const u = i.split(".");
|
|
297
|
+
u[0] !== "page" && u[0] !== "task" && u[0] !== "data" || (o.push(u), a.includes(u[0]) || a.push(u[0]));
|
|
307
298
|
}
|
|
308
|
-
let
|
|
309
|
-
for (const
|
|
310
|
-
|
|
311
|
-
const
|
|
312
|
-
|
|
299
|
+
let s = getMonitorFieldValues(o, t.entity), r = !1;
|
|
300
|
+
for (const i of a) watch(t.entity[i], () => {
|
|
301
|
+
r && clearTimeout(r), r = setTimeout(function() {
|
|
302
|
+
const u = getMonitorFieldValues(o, t.entity);
|
|
303
|
+
s != u && (s = u, n());
|
|
313
304
|
}, 200);
|
|
314
305
|
});
|
|
315
306
|
}
|
|
316
|
-
function getMonitorFieldValues(
|
|
307
|
+
function getMonitorFieldValues(t, e) {
|
|
317
308
|
let n = "";
|
|
318
|
-
for (const o of
|
|
309
|
+
for (const o of t) n += "_" + getVariableValue(e, o);
|
|
319
310
|
return n;
|
|
320
311
|
}
|
|
321
|
-
function getFormPropName(
|
|
322
|
-
return
|
|
312
|
+
function getFormPropName(t) {
|
|
313
|
+
return t && t.indexOf("${") >= 0 ? t.substring(t.indexOf(".") + 1, t.lastIndexOf("}")) : t;
|
|
323
314
|
}
|
|
324
|
-
function getSizeConfig(
|
|
325
|
-
const n = getPageModeType(
|
|
315
|
+
function getSizeConfig(t, e) {
|
|
316
|
+
const n = getPageModeType(t);
|
|
326
317
|
let o;
|
|
327
|
-
return
|
|
318
|
+
return e.props && e.props.size && e.props.size[n] && (o = e.props.size[n]), !o && e.props && e.props.size && (o = e.props.size.pc), o;
|
|
328
319
|
}
|
|
329
|
-
function getPageModeType(
|
|
330
|
-
let
|
|
331
|
-
return
|
|
320
|
+
function getPageModeType(t) {
|
|
321
|
+
let e = t.dimensions;
|
|
322
|
+
return e || (e = "pc"), e;
|
|
332
323
|
}
|
|
333
|
-
function isPromise(
|
|
334
|
-
return
|
|
324
|
+
function isPromise(t) {
|
|
325
|
+
return t && Object.prototype.toString.call(t) === "[object Promise]";
|
|
335
326
|
}
|
|
336
|
-
function decomposeVariable(
|
|
337
|
-
if (!
|
|
338
|
-
const
|
|
339
|
-
return
|
|
327
|
+
function decomposeVariable(t) {
|
|
328
|
+
if (!t) return [];
|
|
329
|
+
const e = t.match(/\${(.*?)}/);
|
|
330
|
+
return e ? e[1].split(".") : [];
|
|
340
331
|
}
|
|
341
|
-
function getModelFieldFromPageContext(
|
|
342
|
-
if (!
|
|
332
|
+
function getModelFieldFromPageContext(t, e) {
|
|
333
|
+
if (!e.modelFieldsMap) return;
|
|
343
334
|
let n = null;
|
|
344
|
-
for (let o = 0; o <
|
|
345
|
-
const a =
|
|
346
|
-
o + 1 ===
|
|
335
|
+
for (let o = 0; o < t.length; o++) {
|
|
336
|
+
const a = t[o];
|
|
337
|
+
o + 1 === t.length && (n = e.modelFieldsMap[a]);
|
|
347
338
|
}
|
|
348
339
|
return n;
|
|
349
340
|
}
|
|
350
|
-
function isNumberDataType(
|
|
351
|
-
return "INTEGER"
|
|
341
|
+
function isNumberDataType(t) {
|
|
342
|
+
return t === "INTEGER" || t === "LONG" || t === "DOUBLE" || t === "FLOAT_COM";
|
|
352
343
|
}
|
|
353
|
-
function isDateDataType(
|
|
354
|
-
return
|
|
344
|
+
function isDateDataType(t) {
|
|
345
|
+
return (t = t ? t.toUpperCase() : "") === "DATE" || t === "TIME" || t === "DATETIME" || t === "TIMESTAMP";
|
|
355
346
|
}
|
|
356
347
|
export {
|
|
357
348
|
autoSetAfterSelect,
|