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,296 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("async-validator"), t = require("element-plus"), s = require("../global-refs.cjs"), n = require("agilebuilder-ui"), o = require("./standard-event.cjs"), r = require("../common-util.cjs");
|
|
4
|
-
function i(e2, t2, s2) {
|
|
5
|
-
const n2 = {};
|
|
6
|
-
t2 || (t2 = {});
|
|
7
|
-
let o2 = 0;
|
|
8
|
-
const r2 = e2.split(".");
|
|
9
|
-
return r2.forEach((e3) => {
|
|
10
|
-
let i2;
|
|
11
|
-
if (o2 === r2.length - 1) i2 = function(e4, t3, s3) {
|
|
12
|
-
let n3;
|
|
13
|
-
for (let o3 = 0; o3 < t3.length; o3++) if (n3 = 0 === o3 ? e4[t3[o3]] : n3.fields[t3[o3]], o3 !== t3.length - 1) {
|
|
14
|
-
if (t3[o3 + 1] === s3) break;
|
|
15
|
-
}
|
|
16
|
-
return n3;
|
|
17
|
-
}(n2, r2, e3), i2.fields[e3] = s2;
|
|
18
|
-
else {
|
|
19
|
-
let s3;
|
|
20
|
-
0 === o2 ? i2 = t2 : (s3 = function(e4, t3, s4) {
|
|
21
|
-
let n3;
|
|
22
|
-
for (let o3 = 0; o3 < t3.length; o3++) {
|
|
23
|
-
const r3 = t3[o3];
|
|
24
|
-
if (n3 = 0 === o3 ? e4[r3] : n3.fields[t3[o3]], r3 === s4) break;
|
|
25
|
-
}
|
|
26
|
-
return n3;
|
|
27
|
-
}(n2, r2, r2[o2 - 1]), i2 = s3.fields), i2[e3] || (i2[e3] = { type: "object", required: true, fields: {} }), 0 === o2 ? n2[e3] = i2[e3] : s3.fields[e3] = i2[e3];
|
|
28
|
-
}
|
|
29
|
-
o2++;
|
|
30
|
-
}), n2;
|
|
31
|
-
}
|
|
32
|
-
function l(e2, t2, s2, n2, o2, r2) {
|
|
33
|
-
return u(e2, t2, s2, n2, true, o2, r2);
|
|
34
|
-
}
|
|
35
|
-
function a(e2) {
|
|
36
|
-
if (e2) return Object.keys(e2).forEach((t2) => {
|
|
37
|
-
if (t2.indexOf(".") >= 0) {
|
|
38
|
-
let s2 = [];
|
|
39
|
-
s2 = t2.split("."), e2[s2[0]] ? e2[s2[0]].fields[s2[1]] = e2[t2][0] : (e2[s2[0]] = new Object(), e2[s2[0]].fields = new Object(), e2[s2[0]].fields[s2[1]] = e2[t2][0], e2[s2[0]].type = "object"), delete e2[t2];
|
|
40
|
-
}
|
|
41
|
-
}), e2;
|
|
42
|
-
}
|
|
43
|
-
function u(n2, o2, r2, i2, l2, f2, d2) {
|
|
44
|
-
let c2, p2 = a(o2);
|
|
45
|
-
if (o2 && null !== o2 || !r2 || (p2 = {}), !p2 || 0 === Object.keys(p2).length) return n2.validateErrorField = "", true;
|
|
46
|
-
return new e(p2).validate(n2, { first: true }, (e2, a2) => {
|
|
47
|
-
let p3;
|
|
48
|
-
if (e2) {
|
|
49
|
-
c2 = e2[0].message, p3 = e2[0].field, t.ElMessage({ message: c2, showClose: true, type: "warning", duration: 3e3 });
|
|
50
|
-
const n3 = s.getComponentRefByCode(d2, p3);
|
|
51
|
-
n3 && n3.addRequiredClass && n3.addRequiredClass();
|
|
52
|
-
} else c2 = true;
|
|
53
|
-
if (p3 && true === l2) {
|
|
54
|
-
if (/[A-Z]+/.test(p3) && void 0 !== n2[p3.toLowerCase()]) {
|
|
55
|
-
const e3 = JSON.parse(JSON.stringify(n2));
|
|
56
|
-
e3[p3.toUpperCase()] = n2[p3.toLowerCase()], delete e3[p3.toLowerCase()], c2 = u(e3, o2, r2, i2, false, f2, d2);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}), c2;
|
|
60
|
-
}
|
|
61
|
-
function f(e2) {
|
|
62
|
-
return new Promise((t2, n2) => {
|
|
63
|
-
const o2 = [], r2 = e2.customValidatorUuids;
|
|
64
|
-
r2 && r2.forEach((t3) => {
|
|
65
|
-
const n3 = s.getComponentRef(e2, t3);
|
|
66
|
-
n3 && n3.validator && o2.push(n3.validator());
|
|
67
|
-
}), o2 && o2.length > 0 ? Promise.all(o2).then((e3) => {
|
|
68
|
-
e3.includes(false) ? t2(false) : t2(true);
|
|
69
|
-
}) : t2(true);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function d(e2, o2, i2) {
|
|
73
|
-
return new Promise((a2, u2) => {
|
|
74
|
-
const d2 = JSON.parse(JSON.stringify(e2));
|
|
75
|
-
if (i2 && 0 !== Object.keys(i2).length) {
|
|
76
|
-
if (true === l(d2, i2, null, null, true, o2)) {
|
|
77
|
-
const e3 = function(e4) {
|
|
78
|
-
var _a;
|
|
79
|
-
if (!e4) return true;
|
|
80
|
-
if (r.isWorkflowPage(e4)) return true;
|
|
81
|
-
const o3 = e4.tableUuids;
|
|
82
|
-
if (!o3) return true;
|
|
83
|
-
for (let r2 = 0; r2 < o3.length; r2++) {
|
|
84
|
-
const i3 = o3[r2], l2 = s.getComponentRef(e4, i3);
|
|
85
|
-
if (l2) {
|
|
86
|
-
if (l2.getConfigure()) {
|
|
87
|
-
const e5 = l2.getConfigure();
|
|
88
|
-
if ((_a = e5 == null ? void 0 : e5.verification) == null ? void 0 : _a.notEmpty) {
|
|
89
|
-
const s2 = l2.getTableData();
|
|
90
|
-
if (!s2 || !Array.isArray(s2) || 0 === s2.length) return t.ElMessage({ showClose: true, message: n.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: e5.title ? e5.title : e5.code }), type: "warning" }), false;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
if (!l2.validatorSunTableListData()) return false;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
return true;
|
|
97
|
-
}(o2);
|
|
98
|
-
if (true === e3) {
|
|
99
|
-
const e4 = function(e5) {
|
|
100
|
-
const t2 = [];
|
|
101
|
-
e5.customRuleEvents && e5.customRuleEvents.length > 0 && e5.customRuleEvents.forEach((s2) => {
|
|
102
|
-
s2.events.forEach((n2) => {
|
|
103
|
-
const o3 = e5.customEvents[n2];
|
|
104
|
-
t2.push(o3.apply(o3, [{ prop: s2.prop, pageContext: e5 }]));
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
if (t2 && t2.length > 0) return new Promise((e6, s2) => {
|
|
108
|
-
const o3 = [], r2 = [];
|
|
109
|
-
t2.forEach((e7) => {
|
|
110
|
-
n.isPromise(e7) ? o3.push(e7) : r2.push(e7);
|
|
111
|
-
}), r2.includes(false) && e6(false), o3.length > 0 ? Promise.all(o3).then((t3) => {
|
|
112
|
-
t3.includes(false) ? e6(false) : e6(true);
|
|
113
|
-
}).catch((t3) => {
|
|
114
|
-
console.error(t3), e6(false);
|
|
115
|
-
}) : e6(true);
|
|
116
|
-
});
|
|
117
|
-
return null;
|
|
118
|
-
}(o2);
|
|
119
|
-
e4 && n.isPromise(e4) ? e4.then((e5) => {
|
|
120
|
-
e5 ? f(o2).then((e6) => {
|
|
121
|
-
a2(e6);
|
|
122
|
-
}) : a2(false);
|
|
123
|
-
}) : f(o2).then((e5) => {
|
|
124
|
-
a2(e5);
|
|
125
|
-
});
|
|
126
|
-
} else u2(new Error(n.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);
|
|
127
|
-
} else u2(new Error(n.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
|
|
128
|
-
} else a2(true);
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
function c(e2, t2, s2) {
|
|
132
|
-
if (!t2) return s2;
|
|
133
|
-
s2 || (s2 = {});
|
|
134
|
-
const n2 = r.isWorkflowPage(e2), o2 = Object.keys(t2), i2 = t2;
|
|
135
|
-
return o2.forEach((e3) => {
|
|
136
|
-
if ("__subRules" === e3) {
|
|
137
|
-
const e4 = i2.__subRules;
|
|
138
|
-
Object.keys(e4).forEach((t3) => {
|
|
139
|
-
s2.subRules || (s2.subRules = {}), s2.subRules[t3] ? Object.assign(s2.subRules[t3], e4[t3]) : s2.subRules[t3] = e4[t3];
|
|
140
|
-
});
|
|
141
|
-
} else b(i2[e3]), n2 ? (s2.rules[e3] = i2[e3], s2[e3] && (s2[e3] = i2[e3])) : s2[e3] = i2[e3];
|
|
142
|
-
}), a(s2);
|
|
143
|
-
}
|
|
144
|
-
function p(e2, t2) {
|
|
145
|
-
e2.forEach((e3) => {
|
|
146
|
-
e3.message;
|
|
147
|
-
const t3 = e3.label, s2 = n.getI18n().t(t3);
|
|
148
|
-
e3.required && (e3.message = n.getI18n().t("superPageRuntimeMessage.required", { label: s2 })), e3.myType && (e3.message = n.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), e3.patternType && (e3.message = n.getI18n().t("superPageRuntimeMessage.formatMismatch", { label: s2 })), void 0 !== e3.max && null !== e3.max && (e3.message = n.getI18n().t("superPageRuntimeMessage.overMaxLength", { label: s2, value: e3.max })), void 0 !== e3.min && null !== e3.min && (e3.message = n.getI18n().t("superPageRuntimeMessage.limitMinLength", { label: s2, value: e3.min }));
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
function g(e2, t2) {
|
|
152
|
-
const n2 = s.getAllComponentRefs(e2);
|
|
153
|
-
if (n2) for (const e3 in n2) {
|
|
154
|
-
const s2 = n2[e3];
|
|
155
|
-
m(s2 ? s2.value : s2, t2);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
function m(e2, t2) {
|
|
159
|
-
var _a, _b, _c;
|
|
160
|
-
if (e2) {
|
|
161
|
-
const s2 = e2.getConfigure();
|
|
162
|
-
void 0 !== t2.show && (t2.show ? e2.show() : e2.hide()), void 0 !== t2.required && ((_a = s2 == null ? void 0 : s2.runtime) == null ? void 0 : _a.props) && (s2.runtime.props.required = t2.required), void 0 !== t2.readonly && ((_b = s2 == null ? void 0 : s2.runtime) == null ? void 0 : _b.props) && (t2.readonly ? s2.runtime.props.state = "readonly" : s2.runtime.props.state = "enabled"), void 0 !== t2.disabled && s2 && (((_c = s2 == null ? void 0 : s2.runtime) == null ? void 0 : _c.props) && (t2.disabled ? s2.runtime.props.state = "disabled" : s2.runtime.props.state = "enabled"), "table" === s2.name && e2.changeOperationAddState(false));
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
function b(e2) {
|
|
166
|
-
if (!(e2 == null ? void 0 : e2.type)) return;
|
|
167
|
-
const t2 = R[e2.type];
|
|
168
|
-
t2 && (e2.validator = t2.validator);
|
|
169
|
-
}
|
|
170
|
-
const R = { boolean: { validator: function(e2, t2, s2) {
|
|
171
|
-
return true === y(e2, t2) && ("number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2));
|
|
172
|
-
} }, date: { validator: function(e2, t2, s2) {
|
|
173
|
-
if (true !== y(e2, t2)) return false;
|
|
174
|
-
const n2 = new Date(t2);
|
|
175
|
-
return !isNaN(n2.getTime());
|
|
176
|
-
} }, number: { validator: function(e2, t2, s2) {
|
|
177
|
-
return true === y(e2, t2) && (("string" != typeof t2 || "" !== t2.trim()) && ("number" == typeof t2 || !isNaN(Number(t2))));
|
|
178
|
-
} } }, y = (e2, t2) => null != t2 && "" !== t2 || !e2.required;
|
|
179
|
-
exports.disabledAllFields = function(e2) {
|
|
180
|
-
g(e2, { disabled: true });
|
|
181
|
-
}, exports.dynamicControlTableEdit = function(e2, t2, n2) {
|
|
182
|
-
var _a;
|
|
183
|
-
let o2, i2;
|
|
184
|
-
if (n2 ? (o2 = s.getComponentRefByCode(e2, n2), i2 = o2 ? o2.getTableUuid() : null) : (i2 = e2.tableUuids && e2.tableUuids.length > 0 ? e2.tableUuids[0] : null, o2 = i2 ? s.getComponentRef(e2, i2) : null), !o2) return;
|
|
185
|
-
const l2 = e2.code, a2 = e2.version, u2 = r.getListCode(l2, a2, i2);
|
|
186
|
-
if (e2.workflowRules || (e2.workflowRules = { rules: {}, subRules: {} }), e2.workflowRules.subRules || (e2.workflowRules.subRules = {}), e2.workflowRules.subRules[n2] || (e2.workflowRules.subRules[n2] = {}), ((_a = e2.workflowRules) == null ? void 0 : _a.subRules) && e2.workflowRules.subRules[n2]) {
|
|
187
|
-
const s2 = e2.workflowRules.subRules[n2];
|
|
188
|
-
t2.forEach((e3) => {
|
|
189
|
-
s2[e3.name] = e3;
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
o2.dynamicControlTableEdit(e2, t2, u2);
|
|
193
|
-
}, exports.getWorkflowRules = function(e2) {
|
|
194
|
-
const t2 = e2.entity.data, s2 = { ...e2.entity.page, ...t2 }, n2 = o.getAdditionalParamMap(e2), r2 = e2.entity.context, i2 = e2.entity.task;
|
|
195
|
-
e2.formPropTiltleMap && Object.keys(e2.formPropTiltleMap).length > 0 && e2.completeTaskParam.fieldPermissions && e2.completeTaskParam.fieldPermissions.length > 0 && e2.completeTaskParam.fieldPermissions.forEach((t3) => {
|
|
196
|
-
t3.name && e2.formPropTiltleMap[t3.name] && (t3.label = e2.formPropTiltleMap[t3.name]);
|
|
197
|
-
});
|
|
198
|
-
let l2 = window.$vueApp.config.globalProperties.$getValidator(e2.completeTaskParam.fieldPermissions, s2, true, n2, i2, r2);
|
|
199
|
-
const a2 = e2.customRules;
|
|
200
|
-
return l2 = c(e2, a2, l2), l2 && (l2.rules || (l2.rules = {}), l2.subRules || (l2.subRules = {})), l2;
|
|
201
|
-
}, exports.i18nValidatePropRulesMessage = p, exports.i18nValidateRulesMessage = function(e2) {
|
|
202
|
-
if (!e2 || 0 === Object.keys(e2).length) return;
|
|
203
|
-
const t2 = {}, s2 = Object.keys(e2);
|
|
204
|
-
for (let n2 = 0; n2 < s2.length; n2++) {
|
|
205
|
-
const o2 = s2[n2], r2 = e2[o2];
|
|
206
|
-
p(r2), o2.indexOf(".") > 0 ? i(o2, t2, r2) : r2 && r2.length > 0 && (t2[o2] = [...r2]);
|
|
207
|
-
}
|
|
208
|
-
return t2;
|
|
209
|
-
}, exports.packageCustomRules = c, exports.packageCustomValidator = b, exports.setObjectPropRule = i, exports.updateComponentDisplayState = m, exports.updateFormItemEditState = function(e2, t2) {
|
|
210
|
-
if (!t2) return;
|
|
211
|
-
const n2 = {};
|
|
212
|
-
if (t2.forEach((e3) => {
|
|
213
|
-
const { name: t3, rules: s2 } = e3;
|
|
214
|
-
s2 ? n2[t3] = s2 : false === e3.required && (n2[t3] = []);
|
|
215
|
-
}), r.isWorkflowPage(e2)) {
|
|
216
|
-
let t3 = e2.workflowRules ? e2.workflowRules : { rules: {}, subRules: {} };
|
|
217
|
-
t3 = c(e2, n2, t3), e2.workflowRules = t3;
|
|
218
|
-
} else {
|
|
219
|
-
let t3 = e2.rules ? e2.rules : {};
|
|
220
|
-
t3 = c(e2, n2, t3), e2.rules = t3;
|
|
221
|
-
}
|
|
222
|
-
const o2 = t2.filter((e3) => "_all_fields" === e3.name);
|
|
223
|
-
o2 && o2.length > 0 && g(e2, o2[0]), t2.forEach((t3) => {
|
|
224
|
-
if ("_all_fields" !== t3.name) {
|
|
225
|
-
m(s.getComponentRefByCode(e2, t3.name), t3);
|
|
226
|
-
}
|
|
227
|
-
});
|
|
228
|
-
}, exports.validateDataModelFunc = function(e2, i2, l2) {
|
|
229
|
-
const a2 = e2.entity.data, u2 = { ...e2.entity.page, ...a2 }, f2 = e2.rules, c2 = i2.props.base ? i2.props.base.isEnableRequired : null;
|
|
230
|
-
return null != c2 && (l2 = c2), null == l2 && (l2 = false), function(e3, i3, l3, a3) {
|
|
231
|
-
if (e3) {
|
|
232
|
-
return r.isWorkflowPage(a3) ? function(e4, r2, i4) {
|
|
233
|
-
return new Promise((l4, a4) => {
|
|
234
|
-
const u3 = o.getAdditionalParamMap(r2), f3 = r2.entity.context, c3 = r2.entity.task, p2 = true, g2 = r2.subTablePageInfo;
|
|
235
|
-
d(e4, r2, i4).then((o2) => {
|
|
236
|
-
if (o2) {
|
|
237
|
-
let i5, a5, d2, m2, b2 = o2;
|
|
238
|
-
const R2 = r2.workflowRules;
|
|
239
|
-
if (R2) {
|
|
240
|
-
if (!function(e5, o4) {
|
|
241
|
-
var _a, _b, _c;
|
|
242
|
-
if (!e5.actionPermissions) return true;
|
|
243
|
-
const r3 = Object.keys(e5.actionPermissions);
|
|
244
|
-
for (let i6 = 0; i6 < r3.length; i6++) {
|
|
245
|
-
const l5 = r3[i6], a6 = e5.actionPermissions[l5];
|
|
246
|
-
if (a6 && a6.notEmpty) {
|
|
247
|
-
let r4 = false;
|
|
248
|
-
if (o4[l5] ? Array.isArray(o4[l5]) && 0 === o4[l5].length && (r4 = true) : r4 = true, r4) {
|
|
249
|
-
const r5 = s.getComponentRefByCode(e5, l5).getConfigure();
|
|
250
|
-
if ((_a = a6.notEmptyCondition) == null ? void 0 : _a.parentCondition) {
|
|
251
|
-
if (false === n.parseSubTablePermissionCondition(a6.notEmptyCondition.parentCondition.replaceAll("${field[", "${parent["), e5.dataTypeMaps, o4, {}, (_b = e5.entity) == null ? void 0 : _b.request, (_c = e5.entity) == null ? void 0 : _c.task, e5.contextParam)) return true;
|
|
252
|
-
}
|
|
253
|
-
return t.ElMessage({ showClose: true, message: n.getI18n().t("superPageRuntimeMessage.xxxNotEmpty", { label: r5.title ? r5.title : l5 }), type: "warning" }), false;
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
return true;
|
|
258
|
-
}(r2, e4)) return void l4(false);
|
|
259
|
-
const o3 = true, y2 = Object.assign({}, R2);
|
|
260
|
-
y2.subRules && (Object.keys(y2.subRules).length > 0 ? y2.totalSubRules || (y2.totalSubRules = {}) : delete y2.subRules);
|
|
261
|
-
const w = window.$vueApp.config.globalProperties.$formValidator(e4, y2, p2, u3, c3, f3, g2, o3);
|
|
262
|
-
b2 = w.msg, i5 = w.field, a5 = w.listCode, d2 = w.rowIndex, m2 = w.pageNum;
|
|
263
|
-
} else b2 = true;
|
|
264
|
-
if (true !== b2) {
|
|
265
|
-
if (t.ElMessage({ showClose: true, message: b2 + "", type: "warning" }), a5) {
|
|
266
|
-
const e5 = s.getComponentRefByCode(r2, a5);
|
|
267
|
-
e5 && e5.addRequiredClass && e5.addRequiredClass(i5, d2, m2);
|
|
268
|
-
} else {
|
|
269
|
-
const e5 = s.getComponentRefByCode(r2, i5);
|
|
270
|
-
e5 && e5.addRequiredClass && e5.addRequiredClass();
|
|
271
|
-
}
|
|
272
|
-
l4(false);
|
|
273
|
-
} else Object.keys(e4).indexOf("validateErrorField") >= 0 && delete e4.validateErrorField, l4(e4);
|
|
274
|
-
} else a4(new Error(n.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
|
|
275
|
-
}).catch((e5) => {
|
|
276
|
-
a4(e5);
|
|
277
|
-
});
|
|
278
|
-
});
|
|
279
|
-
}(i3, a3, l3) : function(e4, t2, s2) {
|
|
280
|
-
return new Promise((n2, o2) => {
|
|
281
|
-
d(e4, t2, s2).then((t3) => {
|
|
282
|
-
if (t3) {
|
|
283
|
-
const t4 = JSON.parse(JSON.stringify(e4));
|
|
284
|
-
Object.keys(t4).indexOf("validateErrorField") >= 0 && delete t4.validateErrorField, n2(t4);
|
|
285
|
-
} else n2(false);
|
|
286
|
-
}).catch((e5) => {
|
|
287
|
-
o2(e5);
|
|
288
|
-
});
|
|
289
|
-
});
|
|
290
|
-
}(i3, a3, l3);
|
|
291
|
-
}
|
|
292
|
-
return new Promise((e4, t2) => {
|
|
293
|
-
e4(true);
|
|
294
|
-
});
|
|
295
|
-
}(l2, u2, f2, e2);
|
|
296
|
-
}, exports.validator = l;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const re=require("async-validator"),x=require("element-plus"),b=require("../global-refs.cjs"),p=require("agilebuilder-ui"),Z=require("./standard-event.cjs"),E=require("../common-util.cjs");function z(e,n,t){const r={};n||(n={});let s=0;const o=e.split(".");return o.forEach(l=>{let u;if(s===o.length-1)u=function(a,d,c){let f;for(let i=0;i<d.length&&(f=i===0?a[d[i]]:f.fields[d[i]],!(i!==d.length-1&&d[i+1]===c));i++);return f}(r,o,l),u.fields[l]=t;else{let a;s===0?u=n:(a=function(d,c,f){let i;for(let m=0;m<c.length;m++){const g=c[m];if(i=m===0?d[g]:i.fields[c[m]],g===f)break}return i}(r,o,o[s-1]),u=a.fields),u[l]||(u[l]={type:"object",required:!0,fields:{}}),s===0?r[l]=u[l]:a.fields[l]=u[l]}s++}),r}function X(e,n,t,r,s,o){return ee(e,n,t,r,!0,s,o)}function Y(e){if(e)return Object.keys(e).forEach(n=>{if(n.indexOf(".")>=0){let t=[];t=n.split("."),e[t[0]]?e[t[0]].fields[t[1]]=e[n][0]:(e[t[0]]=new Object,e[t[0]].fields=new Object,e[t[0]].fields[t[1]]=e[n][0],e[t[0]].type="object"),delete e[n]}}),e}function ee(e,n,t,r,s,o,l){let u,a=Y(n);return n&&n!==null||!t||(a={}),!a||Object.keys(a).length===0?(e.validateErrorField="",!0):(new re(a).validate(e,{first:!0},(d,c)=>{let f;if(d){u=d[0].message,f=d[0].field,x.ElMessage({message:u,showClose:!0,type:"warning",duration:3e3});const i=b.getComponentRefByCode(l,f);i&&i.addRequiredClass&&i.addRequiredClass()}else u=!0;if(f&&s===!0&&/[A-Z]+/.test(f)&&e[f.toLowerCase()]!==void 0){const i=JSON.parse(JSON.stringify(e));i[f.toUpperCase()]=e[f.toLowerCase()],delete i[f.toLowerCase()],u=ee(i,n,t,r,!1,o,l)}}),u)}function G(e){return new Promise((n,t)=>{const r=[],s=e.customValidatorUuids;s&&s.forEach(o=>{const l=b.getComponentRef(e,o);l&&l.validator&&r.push(l.validator())}),r&&r.length>0?Promise.all(r).then(o=>{o.includes(!1)?n(!1):n(!0)}):n(!0)})}function H(e,n,t){return new Promise((r,s)=>{const o=JSON.parse(JSON.stringify(e));if(t&&Object.keys(t).length!==0)if(X(o,t,null,null,!0,n)===!0)if(function(u){var d;if(!u||E.isWorkflowPage(u))return!0;const a=u.tableUuids;if(!a)return!0;for(let c=0;c<a.length;c++){const f=a[c],i=b.getComponentRef(u,f);if(i){if(i.getConfigure()){const m=i.getConfigure();if((d=m==null?void 0:m.verification)!=null&&d.notEmpty){const g=i.getTableData();if(!g||!Array.isArray(g)||g.length===0)return x.ElMessage({showClose:!0,message:p.getI18n().t("superPageRuntimeMessage.xxxNotEmpty",{label:m.title?m.title:m.code}),type:"warning"}),!1}}if(!i.validatorSunTableListData())return!1}}return!0}(n)===!0){const u=function(a){const d=[];return a.customRuleEvents&&a.customRuleEvents.length>0&&a.customRuleEvents.forEach(c=>{c.events.forEach(f=>{const i=a.customEvents[f];d.push(i.apply(i,[{prop:c.prop,pageContext:a}]))})}),d&&d.length>0?new Promise((c,f)=>{const i=[],m=[];d.forEach(g=>{p.isPromise(g)?i.push(g):m.push(g)}),m.includes(!1)&&c(!1),i.length>0?Promise.all(i).then(g=>{g.includes(!1)?c(!1):c(!0)}).catch(g=>{console.error(g),c(!1)}):c(!0)}):null}(n);u&&p.isPromise(u)?u.then(a=>{a?G(n).then(d=>{r(d)}):r(!1)}):G(n).then(a=>{r(a)})}else s(new Error(p.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")).message);else s(new Error(p.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);else r(!0)})}function j(e,n,t){if(!n)return t;t||(t={});const r=E.isWorkflowPage(e),s=Object.keys(n),o=n;return s.forEach(l=>{if(l==="__subRules"){const u=o.__subRules;Object.keys(u).forEach(a=>{t.subRules||(t.subRules={}),t.subRules[a]?Object.assign(t.subRules[a],u[a]):t.subRules[a]=u[a]})}else te(o[l]),r?(t.rules[l]=o[l],t[l]&&(t[l]=o[l])):t[l]=o[l]}),Y(t)}function K(e,n){e.forEach(t=>{const r=t.label,s=p.getI18n().t(r);t.required&&(t.message=p.getI18n().t("superPageRuntimeMessage.required",{label:s})),t.myType&&(t.message=p.getI18n().t("superPageRuntimeMessage.formatMismatch",{label:s})),t.patternType&&(t.message=p.getI18n().t("superPageRuntimeMessage.formatMismatch",{label:s})),t.max!==void 0&&t.max!==null&&(t.message=p.getI18n().t("superPageRuntimeMessage.overMaxLength",{label:s,value:t.max})),t.min!==void 0&&t.min!==null&&(t.message=p.getI18n().t("superPageRuntimeMessage.limitMinLength",{label:s,value:t.min}))})}function Q(e,n){const t=b.getAllComponentRefs(e);if(t)for(const r in t){const s=t[r];V(s&&s.value,n)}}function V(e,n){var t,r,s;if(e){const o=e.getConfigure();n.show!==void 0&&(n.show?e.show():e.hide()),n.required!==void 0&&((t=o==null?void 0:o.runtime)!=null&&t.props)&&(o.runtime.props.required=n.required),n.readonly!==void 0&&((r=o==null?void 0:o.runtime)!=null&&r.props)&&(n.readonly?o.runtime.props.state="readonly":o.runtime.props.state="enabled"),n.disabled!==void 0&&o&&((s=o==null?void 0:o.runtime)!=null&&s.props&&(n.disabled?o.runtime.props.state="disabled":o.runtime.props.state="enabled"),o.name==="table"&&e.changeOperationAddState(!1))}}function te(e){if(!(e!=null&&e.type))return;const n=ie[e.type];n&&(e.validator=n.validator)}const ie={boolean:{validator:function(e,n,t){return F(e,n)===!0&&(typeof n=="number"&&(n===1||n===0)||typeof n=="boolean"&&(n===!0||n===!1))}},date:{validator:function(e,n,t){if(F(e,n)!==!0)return!1;const r=new Date(n);return!isNaN(r.getTime())}},number:{validator:function(e,n,t){return F(e,n)===!0&&(typeof n!="string"||n.trim()!=="")&&(typeof n=="number"||!isNaN(Number(n)))}}},F=(e,n)=>n!=null&&n!==""||!e.required;exports.disabledAllFields=function(e){Q(e,{disabled:!0})},exports.dynamicControlTableEdit=function(e,n,t){var a;let r,s;if(t?(r=b.getComponentRefByCode(e,t),s=r?r.getTableUuid():null):(s=e.tableUuids&&e.tableUuids.length>0?e.tableUuids[0]:null,r=s?b.getComponentRef(e,s):null),!r)return;const o=e.code,l=e.version,u=E.getListCode(o,l,s);if(e.workflowRules||(e.workflowRules={rules:{},subRules:{}}),e.workflowRules.subRules||(e.workflowRules.subRules={}),e.workflowRules.subRules[t]||(e.workflowRules.subRules[t]={}),((a=e.workflowRules)==null?void 0:a.subRules)&&e.workflowRules.subRules[t]){const d=e.workflowRules.subRules[t];n.forEach(c=>{d[c.name]=c})}r.dynamicControlTableEdit(e,n,u)},exports.getWorkflowRules=function(e){const n=e.entity.data,t={...e.entity.page,...n},r=Z.getAdditionalParamMap(e),s=e.entity.context,o=e.entity.task;e.formPropTiltleMap&&Object.keys(e.formPropTiltleMap).length>0&&e.completeTaskParam.fieldPermissions&&e.completeTaskParam.fieldPermissions.length>0&&e.completeTaskParam.fieldPermissions.forEach(a=>{a.name&&e.formPropTiltleMap[a.name]&&(a.label=e.formPropTiltleMap[a.name])});let l=window.$vueApp.config.globalProperties.$getValidator(e.completeTaskParam.fieldPermissions,t,!0,r,o,s);const u=e.customRules;return l=j(e,u,l),l&&(l.rules||(l.rules={}),l.subRules||(l.subRules={})),l},exports.i18nValidatePropRulesMessage=K,exports.i18nValidateRulesMessage=function(e){if(!e||Object.keys(e).length===0)return;const n={},t=Object.keys(e);for(let r=0;r<t.length;r++){const s=t[r],o=e[s];K(o),s.indexOf(".")>0?z(s,n,o):o&&o.length>0&&(n[s]=[...o])}return n},exports.packageCustomRules=j,exports.packageCustomValidator=te,exports.setObjectPropRule=z,exports.updateComponentDisplayState=V,exports.updateFormItemEditState=function(e,n){if(!n)return;const t={};if(n.forEach(s=>{const{name:o,rules:l}=s;l?t[o]=l:s.required===!1&&(t[o]=[])}),E.isWorkflowPage(e)){let s=e.workflowRules?e.workflowRules:{rules:{},subRules:{}};s=j(e,t,s),e.workflowRules=s}else{let s=e.rules?e.rules:{};s=j(e,t,s),e.rules=s}const r=n.filter(s=>s.name==="_all_fields");r&&r.length>0&&Q(e,r[0]),n.forEach(s=>{s.name!=="_all_fields"&&V(b.getComponentRefByCode(e,s.name),s)})},exports.validateDataModelFunc=function(e,n,t){const r=e.entity.data,s={...e.entity.page,...r},o=e.rules,l=n.props.base?n.props.base.isEnableRequired:null;return l!=null&&(t=l),t==null&&(t=!1),function(u,a,d,c){return u?E.isWorkflowPage(c)?function(f,i,m){return new Promise((g,v)=>{const P=Z.getAdditionalParamMap(i),C=i.entity.context,ne=i.entity.task,se=!0,oe=i.subTablePageInfo;H(f,i,m).then(M=>{if(M){let S,I,D,L,O=M;const _=i.workflowRules;if(_){if(!function(y,q){var B,J,$;if(!y.actionPermissions)return!0;const U=Object.keys(y.actionPermissions);for(let N=0;N<U.length;N++){const h=U[N],T=y.actionPermissions[h];if(T&&T.notEmpty){let A=!1;if(q[h]?Array.isArray(q[h])&&q[h].length===0&&(A=!0):A=!0,A){const W=b.getComponentRefByCode(y,h).getConfigure();return(B=T.notEmptyCondition)!=null&&B.parentCondition&&p.parseSubTablePermissionCondition(T.notEmptyCondition.parentCondition.replaceAll("${field[","${parent["),y.dataTypeMaps,q,{},(J=y.entity)==null?void 0:J.request,($=y.entity)==null?void 0:$.task,y.contextParam)===!1?!0:(x.ElMessage({showClose:!0,message:p.getI18n().t("superPageRuntimeMessage.xxxNotEmpty",{label:W.title?W.title:h}),type:"warning"}),!1)}}}return!0}(i,f))return void g(!1);const R=!0,w=Object.assign({},_);w.subRules&&(Object.keys(w.subRules).length>0?w.totalSubRules||(w.totalSubRules={}):delete w.subRules);const k=window.$vueApp.config.globalProperties.$formValidator(f,w,se,P,ne,C,oe,R);O=k.msg,S=k.field,I=k.listCode,D=k.rowIndex,L=k.pageNum}else O=!0;if(O!==!0){if(x.ElMessage({showClose:!0,message:O+"",type:"warning"}),I){const R=b.getComponentRefByCode(i,I);R&&R.addRequiredClass&&R.addRequiredClass(S,D,L)}else{const R=b.getComponentRefByCode(i,S);R&&R.addRequiredClass&&R.addRequiredClass()}g(!1)}else Object.keys(f).indexOf("validateErrorField")>=0&&delete f.validateErrorField,g(f)}else v(new Error(p.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message)}).catch(M=>{v(M)})})}(a,c,d):function(f,i,m){return new Promise((g,v)=>{H(f,i,m).then(P=>{if(P){const C=JSON.parse(JSON.stringify(f));Object.keys(C).indexOf("validateErrorField")>=0&&delete C.validateErrorField,g(C)}else g(!1)}).catch(P=>{v(P)})})}(a,c,d):new Promise((f,i)=>{f(!0)})}(t,s,o,e)},exports.validator=X;
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), exports.getDateShortCuts = function(e, t, n) {
|
|
3
|
-
if (!e) return;
|
|
4
|
-
const s = [];
|
|
5
|
-
if (e.includes("today") && !["week", "month", "year"].includes(t)) {
|
|
6
|
-
const e2 = { text: "今天", value: () => /* @__PURE__ */ new Date() };
|
|
7
|
-
n.endsWith("range") && (e2.value = () => [/* @__PURE__ */ new Date(), /* @__PURE__ */ new Date()]), s.push(e2);
|
|
8
|
-
}
|
|
9
|
-
if (e.includes("yesterday") && !["week", "month", "year"].includes(t)) {
|
|
10
|
-
const e2 = /* @__PURE__ */ new Date();
|
|
11
|
-
e2.setTime(e2.getTime() - 864e5);
|
|
12
|
-
const t2 = { text: "昨天", value: () => e2 };
|
|
13
|
-
n.endsWith("range") && (t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
|
|
14
|
-
}
|
|
15
|
-
if (e.includes("oneWeek") && !["month", "year"].includes(t)) {
|
|
16
|
-
const e2 = /* @__PURE__ */ new Date();
|
|
17
|
-
e2.setTime(e2.getTime() - 6048e5);
|
|
18
|
-
const t2 = { text: "一周前", value: () => e2 };
|
|
19
|
-
n.endsWith("range") && (t2.text = "一周", t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
|
|
20
|
-
}
|
|
21
|
-
if (e.includes("oneMonth") && !["year"].includes(t)) {
|
|
22
|
-
const e2 = /* @__PURE__ */ new Date();
|
|
23
|
-
e2.getMonth() > 0 ? e2.setMonth(e2.getMonth() - 1) : (e2.setMonth(12), e2.setFullYear(e2.getFullYear() - 1));
|
|
24
|
-
const t2 = { text: "一月前", value: () => e2 };
|
|
25
|
-
n.endsWith("range") && (t2.text = "一月", t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
|
|
26
|
-
}
|
|
27
|
-
if (e.includes("oneYear")) {
|
|
28
|
-
const e2 = /* @__PURE__ */ new Date();
|
|
29
|
-
e2.setFullYear(e2.getFullYear() - 1);
|
|
30
|
-
const t2 = { text: "一年前", value: () => e2 };
|
|
31
|
-
n.endsWith("range") && (t2.text = "一年", t2.value = () => [e2, /* @__PURE__ */ new Date()]), s.push(t2);
|
|
32
|
-
}
|
|
33
|
-
return s;
|
|
34
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.getDateShortCuts=function(n,u,s){if(!n)return;const a=[];if(n.includes("today")&&!["week","month","year"].includes(u)){const e={text:"今天",value:()=>new Date};s.endsWith("range")&&(e.value=()=>[new Date,new Date]),a.push(e)}if(n.includes("yesterday")&&!["week","month","year"].includes(u)){const e=new Date;e.setTime(e.getTime()-864e5);const t={text:"昨天",value:()=>e};s.endsWith("range")&&(t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneWeek")&&!["month","year"].includes(u)){const e=new Date;e.setTime(e.getTime()-6048e5);const t={text:"一周前",value:()=>e};s.endsWith("range")&&(t.text="一周",t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneMonth")&&!["year"].includes(u)){const e=new Date;e.getMonth()>0?e.setMonth(e.getMonth()-1):(e.setMonth(12),e.setFullYear(e.getFullYear()-1));const t={text:"一月前",value:()=>e};s.endsWith("range")&&(t.text="一月",t.value=()=>[e,new Date]),a.push(t)}if(n.includes("oneYear")){const e=new Date;e.setFullYear(e.getFullYear()-1);const t={text:"一年前",value:()=>e};s.endsWith("range")&&(t.text="一年",t.value=()=>[e,new Date]),a.push(t)}return a};
|
|
@@ -1,90 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const agilebuilderUi = require("agilebuilder-ui"), pageHelperUtil = require("../page-helper-util.cjs");
|
|
4
|
-
function formatScanRuleSets(e) {
|
|
5
|
-
const t = {};
|
|
6
|
-
return e.forEach((e2) => {
|
|
7
|
-
"group" === e2.type ? e2.outs.forEach((e3) => {
|
|
8
|
-
t[e3.ruleCode] || (t[e3.ruleCode] = { outs: [], adaptations: [] }), t[e3.ruleCode].outs.push(e3);
|
|
9
|
-
}) : t[e2.code] = { outs: e2.outs, adaptations: [] };
|
|
10
|
-
}), packageScanRuleSets(t);
|
|
11
|
-
}
|
|
12
|
-
function packageScanRuleSets(e) {
|
|
13
|
-
return new Promise((t, a) => {
|
|
14
|
-
Object.keys(e).length > 0 ? agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI + "/dc/setting-barcode-analysis/by-codes", Object.keys(e)).then((a2) => {
|
|
15
|
-
a2.forEach((a3) => {
|
|
16
|
-
const s = JSON.parse(a3.barcodeAnalysisOuts), n = /* @__PURE__ */ new Set(), l = {};
|
|
17
|
-
e[a3.code].outs.forEach((e2) => {
|
|
18
|
-
n.add(e2.returnedValue), l[e2.returnedValue] = e2.pageVariable;
|
|
19
|
-
});
|
|
20
|
-
const i2 = [];
|
|
21
|
-
s.forEach((e2) => {
|
|
22
|
-
n.has(e2.code) && (e2.pageVariable = l[e2.code], i2.push(e2));
|
|
23
|
-
}), e[a3.code].outs = i2, e[a3.code].adaptations = JSON.parse(a3.barcodeAnalysisAdaptations), t(e);
|
|
24
|
-
});
|
|
25
|
-
}) : t(null);
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
function analysisScanValue(scanValue, scanRuleSets) {
|
|
29
|
-
if (!scanValue) return null;
|
|
30
|
-
const scanSets = Object.values(scanRuleSets);
|
|
31
|
-
for (let i = 0; i < scanSets.length; i++) {
|
|
32
|
-
const scanSet = scanSets[i], adaptations = scanSet.adaptations;
|
|
33
|
-
let validStr = "";
|
|
34
|
-
for (let e = 0; e < adaptations.length; e++) {
|
|
35
|
-
const t = adaptations[e], a = _getScanIndexs(scanValue, t.startIndex, t.endIndex), s = a[0], n = a[1];
|
|
36
|
-
let l = scanValue.substring(s, n), i2 = t.value, r = t.operate;
|
|
37
|
-
if ("times" == r) {
|
|
38
|
-
const e2 = l.split(null == i2 ? "" : i2).length - 1;
|
|
39
|
-
i2 = e2, l = t.times, r = "=";
|
|
40
|
-
}
|
|
41
|
-
if ((isNaN(l) || isNaN(i2)) && (l = "'" + l + "'", i2 = "'" + i2 + "'"), t.leftBracket && (validStr += t.leftBracket), "<>" == r ? r = "!=" : "=" == r && (r = "=="), "include" == r || "notinclude" == r ? (validStr += l + ".indexOf(" + i2 + ")", validStr += "include" == r ? ">-1" : "<0") : validStr += l + r + i2, t.rightBracket && (validStr += t.rightBracket), t.joinStr && e + 1 < adaptations.length) {
|
|
42
|
-
const e2 = "and" == t.joinStr ? "&&" : "||";
|
|
43
|
-
validStr += e2;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
let res = false;
|
|
47
|
-
if (validStr) try {
|
|
48
|
-
res = eval("(" + validStr + ")");
|
|
49
|
-
} catch (e) {
|
|
50
|
-
}
|
|
51
|
-
else res = true;
|
|
52
|
-
if (res) return executeAnalysisForScan(scanValue, scanSet);
|
|
53
|
-
}
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
function executeAnalysisForScan(e, t) {
|
|
57
|
-
if (!t || !e) return;
|
|
58
|
-
const a = t.outs, s = {};
|
|
59
|
-
return a.forEach((t2) => {
|
|
60
|
-
const a2 = t2.fieldName;
|
|
61
|
-
if (null != t2.fixedValue) s[a2] = t2.fixedValue;
|
|
62
|
-
else {
|
|
63
|
-
let n = e;
|
|
64
|
-
if (t2.splitChar && t2.splitNum) {
|
|
65
|
-
const a3 = (t2.splitChar, t2.splitChar), s2 = e.split(a3), l = t2.splitNum < 1 ? 1 : t2.splitNum;
|
|
66
|
-
n = l <= s2.length ? s2[l - 1] : "";
|
|
67
|
-
}
|
|
68
|
-
if (t2.splitChar2 && t2.splitNum2) {
|
|
69
|
-
const e2 = (t2.splitChar2, t2.splitChar2), a3 = n.split(e2), s2 = t2.splitNum2 < 1 ? 1 : t2.splitNum2;
|
|
70
|
-
n = s2 <= a3.length ? a3[s2 - 1] : "";
|
|
71
|
-
}
|
|
72
|
-
if (n.length > 0) {
|
|
73
|
-
const e2 = _getScanIndexs(n, t2.startIndex, t2.endIndex), a3 = e2[0], s2 = e2[1];
|
|
74
|
-
n = n.substring(a3, s2);
|
|
75
|
-
}
|
|
76
|
-
s[a2] = n;
|
|
77
|
-
}
|
|
78
|
-
}), { value: e, params: s, scanSet: t };
|
|
79
|
-
}
|
|
80
|
-
function _getScanIndexs(e, t, a) {
|
|
81
|
-
return t = (t = (t = null == t ? 0 : t - 1) < 0 ? 0 : t) > e.length - 1 ? e.length - 1 : t, (a = (a = (a = null == a ? e.length : a) > e.length ? e.length : a) < 1 ? 1 : a) < t && (a = t), [t, a];
|
|
82
|
-
}
|
|
83
|
-
function setScanAnalysisValue(e, t, a) {
|
|
84
|
-
if (!t) return;
|
|
85
|
-
t.outs.forEach((t2) => {
|
|
86
|
-
const s = t2.fieldName, n = a[s];
|
|
87
|
-
pageHelperUtil.setValueForVariableName(e.entity, t2.pageVariable, n);
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
exports.analysisScanValue = analysisScanValue, exports.formatScanRuleSets = formatScanRuleSets, exports.setScanAnalysisValue = setScanAnalysisValue;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const agilebuilderUi=require("agilebuilder-ui"),pageHelperUtil=require("../page-helper-util.cjs");function formatScanRuleSets(a){const e={};return a.forEach(s=>{s.type==="group"?s.outs.forEach(c=>{e[c.ruleCode]||(e[c.ruleCode]={outs:[],adaptations:[]}),e[c.ruleCode].outs.push(c)}):e[s.code]={outs:s.outs,adaptations:[]}}),packageScanRuleSets(e)}function packageScanRuleSets(a){return new Promise((e,s)=>{Object.keys(a).length>0?agilebuilderUi.http.post(window.$vueApp.config.globalProperties.baseAPI+"/dc/setting-barcode-analysis/by-codes",Object.keys(a)).then(c=>{c.forEach(t=>{const u=JSON.parse(t.barcodeAnalysisOuts),n=new Set,l={};a[t.code].outs.forEach(r=>{n.add(r.returnedValue),l[r.returnedValue]=r.pageVariable});const o=[];u.forEach(r=>{n.has(r.code)&&(r.pageVariable=l[r.code],o.push(r))}),a[t.code].outs=o,a[t.code].adaptations=JSON.parse(t.barcodeAnalysisAdaptations),e(a)})}):e(null)})}function analysisScanValue(scanValue,scanRuleSets){if(!scanValue)return null;const scanSets=Object.values(scanRuleSets);for(let i=0;i<scanSets.length;i++){const scanSet=scanSets[i],adaptations=scanSet.adaptations;let validStr="";for(let a=0;a<adaptations.length;a++){const e=adaptations[a],s=_getScanIndexs(scanValue,e.startIndex,e.endIndex),c=s[0],t=s[1];let u=scanValue.substring(c,t),n=e.value,l=e.operate;if(l=="times"&&(n=u.split(n??"").length-1,u=e.times,l="="),(isNaN(u)||isNaN(n))&&(u="'"+u+"'",n="'"+n+"'"),e.leftBracket&&(validStr+=e.leftBracket),l=="<>"?l="!=":l=="="&&(l="=="),l=="include"||l=="notinclude"?(validStr+=u+".indexOf("+n+")",validStr+=l=="include"?">-1":"<0"):validStr+=u+l+n,e.rightBracket&&(validStr+=e.rightBracket),e.joinStr&&a+1<adaptations.length){const o=e.joinStr=="and"?"&&":"||";validStr+=o}}let res=!1;if(validStr)try{res=eval("("+validStr+")")}catch(a){}else res=!0;if(res)return executeAnalysisForScan(scanValue,scanSet)}return null}function executeAnalysisForScan(a,e){if(!e||!a)return;const s=e.outs,c={};return s.forEach(t=>{const u=t.fieldName;if(t.fixedValue!=null)c[u]=t.fixedValue;else{let n=a;if(t.splitChar&&t.splitNum){const l=(t.splitChar,t.splitChar),o=a.split(l),r=t.splitNum<1?1:t.splitNum;n=r<=o.length?o[r-1]:""}if(t.splitChar2&&t.splitNum2){const l=(t.splitChar2,t.splitChar2),o=n.split(l),r=t.splitNum2<1?1:t.splitNum2;n=r<=o.length?o[r-1]:""}if(n.length>0){const l=_getScanIndexs(n,t.startIndex,t.endIndex),o=l[0],r=l[1];n=n.substring(o,r)}c[u]=n}}),{value:a,params:c,scanSet:e}}function _getScanIndexs(a,e,s){return e=(e=(e=e==null?0:e-1)<0?0:e)>a.length-1?a.length-1:e,(s=(s=(s=s??a.length)>a.length?a.length:s)<1?1:s)<e&&(s=e),[e,s]}function setScanAnalysisValue(a,e,s){e&&e.outs.forEach(c=>{const t=c.fieldName,u=s[t];pageHelperUtil.setValueForVariableName(a.entity,c.pageVariable,u)})}exports.analysisScanValue=analysisScanValue,exports.formatScanRuleSets=formatScanRuleSets,exports.setScanAnalysisValue=setScanAnalysisValue;
|
|
@@ -1,42 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }), require("vue"), window.globalRefs || (window.globalRefs = {});
|
|
3
|
-
const e = window.globalRefs;
|
|
4
|
-
function n(e2, n2) {
|
|
5
|
-
return "pageRuntimeRef-" + e2 + "-" + (n2 || 1);
|
|
6
|
-
}
|
|
7
|
-
function o(e2, o2) {
|
|
8
|
-
return n(e2, o2) + "-code";
|
|
9
|
-
}
|
|
10
|
-
exports.addComponentRef = function(o2, t, r) {
|
|
11
|
-
if (!o2) return;
|
|
12
|
-
const i = n(o2.code, o2.version);
|
|
13
|
-
return e[i] || (e[i] = {}), e[i][t] = r, e[i];
|
|
14
|
-
}, exports.addComponentRefByCode = function(n2, t, r) {
|
|
15
|
-
if (!n2) return;
|
|
16
|
-
const i = o(n2.code, n2.version);
|
|
17
|
-
return e[i] || (e[i] = {}), e[i][t] = r, e[i];
|
|
18
|
-
}, exports.getAllComponentRefs = function(n2) {
|
|
19
|
-
if (!n2) return;
|
|
20
|
-
const t = o(n2.code, n2.version);
|
|
21
|
-
return e[t] || (e[t] = {}), e[t];
|
|
22
|
-
}, exports.getComponentRef = function(o2, t) {
|
|
23
|
-
if (!o2 || !t) return;
|
|
24
|
-
const r = n(o2.code, o2.version);
|
|
25
|
-
e[r] || (e[r] = {});
|
|
26
|
-
const i = e[r][t];
|
|
27
|
-
return i ? i.value : i;
|
|
28
|
-
}, exports.getComponentRefByCode = function(n2, t) {
|
|
29
|
-
if (!n2) return;
|
|
30
|
-
const r = o(n2.code, n2.version);
|
|
31
|
-
e[r] || (e[r] = {});
|
|
32
|
-
const i = e[r][t];
|
|
33
|
-
return i ? i.value : i;
|
|
34
|
-
}, exports.initComponentRefState = function(o2) {
|
|
35
|
-
if (!o2) return;
|
|
36
|
-
const t = n(o2.code, o2.version);
|
|
37
|
-
e[t] = {};
|
|
38
|
-
}, exports.removePageAllRef = function(o2) {
|
|
39
|
-
if (!o2) return;
|
|
40
|
-
const t = n(o2.code, o2.version);
|
|
41
|
-
e[t] = {};
|
|
42
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),window.globalRefs||(window.globalRefs={});const t=window.globalRefs;function i(e,n){return"pageRuntimeRef-"+e+"-"+(n||1)}function c(e,n){return i(e,n)+"-code"}exports.addComponentRef=function(e,n,r){if(!e)return;const o=i(e.code,e.version);return t[o]||(t[o]={}),t[o][n]=r,t[o]},exports.addComponentRefByCode=function(e,n,r){if(!e)return;const o=c(e.code,e.version);return t[o]||(t[o]={}),t[o][n]=r,t[o]},exports.getAllComponentRefs=function(e){if(!e)return;const n=c(e.code,e.version);return t[n]||(t[n]={}),t[n]},exports.getComponentRef=function(e,n){if(!e||!n)return;const r=i(e.code,e.version);t[r]||(t[r]={});const o=t[r][n];return o&&o.value},exports.getComponentRefByCode=function(e,n){if(!e)return;const r=c(e.code,e.version);t[r]||(t[r]={});const o=t[r][n];return o&&o.value},exports.initComponentRefState=function(e){if(!e)return;const n=i(e.code,e.version);t[n]={}},exports.removePageAllRef=function(e){if(!e)return;const n=i(e.code,e.version);t[n]={}};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const e = require("./page-store.cjs"), t = require("agilebuilder-ui"), r = require("vue-i18n");
|
|
4
|
-
let n = null, u = null;
|
|
5
|
-
exports.$t = (o, ...s) => {
|
|
6
|
-
u || (u = r.useI18n());
|
|
7
|
-
const l = e.usePageContextStore().pageContext;
|
|
8
|
-
if (null === n && (n = !!t.i18nUtil.getEnableI18nState(l.systemCode)), !n) return o;
|
|
9
|
-
const i = `${l.systemCode}.${o}`, a = u.t(i, s || []);
|
|
10
|
-
return a !== i ? a : o;
|
|
11
|
-
};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./page-store.cjs"),o=require("agilebuilder-ui"),a=require("vue-i18n");let t=null,n=null;exports.$t=(e,...s)=>{n||(n=a.useI18n());const r=i.usePageContextStore().pageContext;if(t===null&&(t=!!o.i18nUtil.getEnableI18nState(r.systemCode)),!t)return e;const u=`${r.systemCode}.${e}`,l=n.t(u,s||[]);return l!==u?l:e};
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var e = ((e2) => (e2.PC = "pc", e2.IPAD = "ipad", e2.PHONE = "phone", e2))(e || {});
|
|
4
|
-
exports.PageDimensions = e;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=(e=>(e.PC="pc",e.IPAD="ipad",e.PHONE="phone",e))(i||{});exports.PageDimensions=i;
|