super-page-runtime 1.0.16 → 1.3.13
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.js +8 -0
- package/dist/es/assets/chart-themes/theme1.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme1.js +4 -0
- package/dist/es/assets/chart-themes/theme2.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme2.js +4 -0
- package/dist/es/assets/chart-themes/theme3.d.ts +4 -0
- package/dist/es/assets/chart-themes/theme3.js +4 -0
- package/dist/es/assets/file.png.js +4 -0
- package/dist/es/assets/folder.png.js +4 -0
- package/dist/es/components/runtime/index.d.ts +5 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/api/api-util.js +4 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.js +159 -0
- package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
- package/dist/es/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/es/components/runtime/utils/barcode-util.js +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +140 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +37 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +81 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +55 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +46 -0
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +113 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +274 -0
- package/dist/es/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/es/components/runtime/utils/common-util.js +120 -0
- package/dist/es/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/es/components/runtime/utils/eventBus.js +5 -0
- package/{lib/src → dist/es/components/runtime}/utils/events/event-util.d.ts +45 -1
- package/dist/es/components/runtime/utils/events/event-util.js +403 -0
- package/dist/es/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/es/components/runtime/utils/events/print-label.js +100 -0
- package/{lib/src → dist/es/components/runtime}/utils/events/standard-event.d.ts +29 -3
- package/dist/es/components/runtime/utils/events/standard-event.js +971 -0
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +25 -0
- package/dist/es/components/runtime/utils/events/validator-util.js +309 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.js +93 -0
- package/{lib/src → dist/es/components/runtime}/utils/global-refs.d.ts +6 -0
- package/dist/es/components/runtime/utils/global-refs.js +57 -0
- package/dist/es/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/i18n-util.js +14 -0
- package/{lib/src → dist/es/components/runtime}/utils/interfaces/page-design-types.d.ts +32 -6
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +174 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +386 -0
- package/{lib/src → dist/es/components/runtime}/utils/page-init-util.d.ts +12 -2
- package/dist/es/components/runtime/utils/page-init-util.js +203 -0
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/es/components/runtime/utils/page-permission-util.js +30 -0
- package/dist/es/components/runtime/utils/page-store.d.ts +46 -0
- package/dist/es/components/runtime/utils/page-store.js +26 -0
- package/dist/es/components/runtime/utils/store-util.js +13 -0
- package/dist/es/components/runtime/utils/store.js +4 -0
- package/dist/es/components/runtime/utils/table-utils.d.ts +34 -0
- package/dist/es/components/runtime/utils/table-utils.js +80 -0
- package/dist/es/components/runtime/utils/tree-utils.js +73 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +27 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +60 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +63 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +419 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +45 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +15 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +255 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +36 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +4 -0
- package/{lib → dist/es}/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +5 -5
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +24 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +4 -0
- package/{lib → dist/es}/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +5 -5
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +29 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +18 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +20 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +14 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +35 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +378 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +300 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +82 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +134 -0
- package/{lib → dist/es}/components/runtime/views/assemblys/error-render.vue.d.ts +4 -4
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +50 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +38 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +90 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +75 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +82 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +37 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +32 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +73 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +102 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +97 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +44 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +129 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +24 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +18 -0
- package/dist/es/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
- package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
- package/{lib/components/super-page-dialog → dist/es/components/runtime/views}/super-page-dialog.vue.d.ts +7 -3
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +26 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +5 -0
- package/{lib → dist/es}/components/runtime/views/super-page.vue.d.ts +43 -10
- package/dist/es/components/runtime/views/super-page.vue.js +7 -0
- package/dist/es/components/runtime/views/super-page.vue2.js +262 -0
- package/dist/es/i18n/langs/cn.js +4 -0
- package/dist/es/i18n/langs/en.js +4 -0
- package/dist/es/index.d.ts +16 -0
- package/dist/es/index.js +30 -0
- package/dist/es/style.css +633 -0
- package/package.json +74 -67
- package/.eslintrc.cjs +0 -26
- package/.prettierrc.json +0 -8
- package/App.vue +0 -9
- package/components/index.ts +0 -17
- package/components/runtime/index.ts +0 -2
- package/components/runtime/utils/assemblys-config.js +0 -294
- package/components/runtime/views/assemblys/button/button/button-runtime.vue +0 -49
- package/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue +0 -26
- package/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue +0 -93
- package/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue +0 -59
- package/components/runtime/views/assemblys/chart/common/common-attr-assistant.vue +0 -32
- package/components/runtime/views/assemblys/chart/common/common-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/chart/common/common-attr-drill.vue +0 -39
- package/components/runtime/views/assemblys/chart/common/common-attr-groupby.vue +0 -104
- package/components/runtime/views/assemblys/chart/common/common-attr-serieslist.vue +0 -145
- package/components/runtime/views/assemblys/chart/common/common-attr-sortby.vue +0 -119
- package/components/runtime/views/assemblys/chart/common/common-style-custom.vue +0 -28
- package/components/runtime/views/assemblys/chart/common/common-style-datazoom.vue +0 -45
- package/components/runtime/views/assemblys/chart/common/common-style-font-subtitle.vue +0 -78
- package/components/runtime/views/assemblys/chart/common/common-style-font-title.vue +0 -56
- package/components/runtime/views/assemblys/chart/common/common-style-grid.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-legend.vue +0 -70
- package/components/runtime/views/assemblys/chart/common/common-style-tooltip.vue +0 -140
- package/components/runtime/views/assemblys/chart/common/common-style-xaxis.vue +0 -58
- package/components/runtime/views/assemblys/chart/common/common-style-yaxis.vue +0 -125
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dataset.vue +0 -67
- package/components/runtime/views/assemblys/chart/common-series/common-attr-dynamic.vue +0 -57
- package/components/runtime/views/assemblys/chart/common-series/common-attr-testdatas.vue +0 -23
- package/components/runtime/views/assemblys/chart/common-series/common-style-label.vue +0 -209
- package/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue +0 -46
- package/components/runtime/views/assemblys/chart/pie/pie-runtime.vue +0 -56
- package/components/runtime/views/assemblys/chart/radar/radar-runtime.vue +0 -55
- package/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue +0 -57
- package/components/runtime/views/assemblys/common/common-attr-cursor.vue +0 -23
- package/components/runtime/views/assemblys/common/common-attr-size.vue +0 -54
- package/components/runtime/views/assemblys/common/common-select-table.vue +0 -287
- package/components/runtime/views/assemblys/common/common-style-background.vue +0 -46
- package/components/runtime/views/assemblys/common/common-style-border.vue +0 -37
- package/components/runtime/views/assemblys/common/common-style-custom.vue +0 -35
- package/components/runtime/views/assemblys/common/common-style-font-head.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-font.vue +0 -53
- package/components/runtime/views/assemblys/common/common-style-margin.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-padding.vue +0 -34
- package/components/runtime/views/assemblys/common/common-style-position.vue +0 -39
- package/components/runtime/views/assemblys/common/common-style-shadow.vue +0 -37
- package/components/runtime/views/assemblys/common/export-form-report-dialog.vue +0 -108
- package/components/runtime/views/assemblys/common/remove-signer-dialog.vue +0 -99
- package/components/runtime/views/assemblys/common/task-informition-dialog.vue +0 -69
- package/components/runtime/views/assemblys/common-attr-events.vue +0 -46
- package/components/runtime/views/assemblys/container/card/card-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue +0 -59
- package/components/runtime/views/assemblys/container/container/container-runtime.vue +0 -41
- package/components/runtime/views/assemblys/container/flex/flex-runtime.vue +0 -35
- package/components/runtime/views/assemblys/container/form/form-runtime.vue +0 -37
- package/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue +0 -32
- package/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue +0 -54
- package/components/runtime/views/assemblys/container/tools/tools-runtime.vue +0 -99
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-base.vue +0 -117
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/data/bar-code/barcode-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/bar-code/barcode-design.vue +0 -103
- package/components/runtime/views/assemblys/data/component/attr-header.vue +0 -69
- package/components/runtime/views/assemblys/data/component/attr-style.vue +0 -64
- package/components/runtime/views/assemblys/data/component/column-config.vue +0 -171
- package/components/runtime/views/assemblys/data/component/combinedHeader.vue +0 -96
- package/components/runtime/views/assemblys/data/component/composite-header.vue +0 -257
- package/components/runtime/views/assemblys/data/component/configuration-value.vue +0 -206
- package/components/runtime/views/assemblys/data/component/data-origin-tree.vue +0 -117
- package/components/runtime/views/assemblys/data/component/data-origin.vue +0 -260
- package/components/runtime/views/assemblys/data/component/formatting.vue +0 -200
- package/components/runtime/views/assemblys/data/component/in-parameter.vue +0 -56
- package/components/runtime/views/assemblys/data/component/querySetting.vue +0 -52
- package/components/runtime/views/assemblys/data/component/return-set-table.vue +0 -91
- package/components/runtime/views/assemblys/data/component/row-backgroud-color.vue +0 -58
- package/components/runtime/views/assemblys/data/component/select-data-table.vue +0 -86
- package/components/runtime/views/assemblys/data/table/main-table-runtime.vue +0 -858
- package/components/runtime/views/assemblys/data/table/sub-table-runtime.vue +0 -625
- package/components/runtime/views/assemblys/data/table/table-runtime.vue +0 -93
- package/components/runtime/views/assemblys/data/tree/tree-attr-base.vue +0 -137
- package/components/runtime/views/assemblys/data/tree/tree-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/data/tree/tree-attr-style.vue +0 -55
- package/components/runtime/views/assemblys/data/tree/tree-attr.vue +0 -28
- package/components/runtime/views/assemblys/data/tree/tree-design.vue +0 -125
- package/components/runtime/views/assemblys/error-attr.vue +0 -15
- package/components/runtime/views/assemblys/error-render.vue +0 -17
- package/components/runtime/views/assemblys/form/cascader/cascader-design.vue +0 -288
- package/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue +0 -198
- package/components/runtime/views/assemblys/form/colors/colors-design.vue +0 -16
- package/components/runtime/views/assemblys/form/common/analytic-rule.vue +0 -148
- package/components/runtime/views/assemblys/form/common/attr-event.vue +0 -82
- package/components/runtime/views/assemblys/form/common/attr-header.vue +0 -54
- package/components/runtime/views/assemblys/form/common/attr-style.vue +0 -44
- package/components/runtime/views/assemblys/form/common/bar-code-rule.vue +0 -104
- package/components/runtime/views/assemblys/form/common/condition.vue +0 -147
- package/components/runtime/views/assemblys/form/common/data-origin.vue +0 -81
- package/components/runtime/views/assemblys/form/common/data-orign-in-parameter.vue +0 -64
- package/components/runtime/views/assemblys/form/common/dataorigin-input-table.vue +0 -106
- package/components/runtime/views/assemblys/form/common/default-value-setting.vue +0 -362
- package/components/runtime/views/assemblys/form/common/dimension-input.vue +0 -68
- package/components/runtime/views/assemblys/form/common/dynamic-data-source-setting.vue +0 -115
- package/components/runtime/views/assemblys/form/common/formatting-label.vue +0 -81
- package/components/runtime/views/assemblys/form/common/grid-num-select.vue +0 -43
- package/components/runtime/views/assemblys/form/common/icon-set-dialog.vue +0 -144
- package/components/runtime/views/assemblys/form/common/linkage.vue +0 -21
- package/components/runtime/views/assemblys/form/common/overall-height.vue +0 -20
- package/components/runtime/views/assemblys/form/common/overall-width.vue +0 -48
- package/components/runtime/views/assemblys/form/common/pre-suffix.vue +0 -33
- package/components/runtime/views/assemblys/form/common/rich-text.vue +0 -100
- package/components/runtime/views/assemblys/form/common/row-ul-li.vue +0 -55
- package/components/runtime/views/assemblys/form/common/setoption-table.vue +0 -86
- package/components/runtime/views/assemblys/form/common/size-input.vue +0 -65
- package/components/runtime/views/assemblys/form/common/suffixmodule.vue +0 -82
- package/components/runtime/views/assemblys/form/common/title.vue +0 -20
- package/components/runtime/views/assemblys/form/common/uploading.vue +0 -34
- package/components/runtime/views/assemblys/form/common/verification.vue +0 -79
- package/components/runtime/views/assemblys/form/common/voluntarily.vue +0 -27
- package/components/runtime/views/assemblys/form/custom/custom-attr-base.vue +0 -81
- package/components/runtime/views/assemblys/form/custom/custom-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/custom/custom-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/custom/custom-design.vue +0 -57
- package/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue +0 -80
- package/components/runtime/views/assemblys/form/datetime/datetime-design.vue +0 -19
- package/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue +0 -60
- package/components/runtime/views/assemblys/form/divider/divider-runtime.vue +0 -44
- package/components/runtime/views/assemblys/form/file-picture/picture-design.vue +0 -80
- package/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue +0 -79
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-base.vue +0 -142
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-thumbnail/imagethumbnail-design.vue +0 -104
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-base.vue +0 -75
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-event.vue +0 -13
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr-style.vue +0 -14
- package/components/runtime/views/assemblys/form/image-upload/imageupload-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/image-upload/imageupload-design.vue +0 -76
- package/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue +0 -62
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-base.vue +0 -68
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/form/input-show/input-show-attr-style.vue +0 -70
- package/components/runtime/views/assemblys/form/input-show/input-show-attr.vue +0 -28
- package/components/runtime/views/assemblys/form/input-show/input-show-design.vue +0 -155
- package/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue +0 -142
- package/components/runtime/views/assemblys/form/label/label-runtime.vue +0 -143
- package/components/runtime/views/assemblys/form/link/link-runtime.vue +0 -70
- package/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue +0 -24
- package/components/runtime/views/assemblys/form/radio/radio-runtime.vue +0 -203
- package/components/runtime/views/assemblys/form/rate/rate-design.vue +0 -16
- package/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue +0 -169
- package/components/runtime/views/assemblys/form/select/select-runtime.vue +0 -247
- package/components/runtime/views/assemblys/form/slider/slider-design.vue +0 -16
- package/components/runtime/views/assemblys/form/switch/switch-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/tag/tag-runtime.vue +0 -65
- package/components/runtime/views/assemblys/form/text/text-design.vue +0 -19
- package/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue +0 -63
- package/components/runtime/views/assemblys/form/transfer/transfer-design.vue +0 -32
- package/components/runtime/views/assemblys/object-render.vue +0 -176
- package/components/runtime/views/assemblys/page/page-attr-base-20240429-1.vue +0 -179
- package/components/runtime/views/assemblys/page/page-attr-base.vue +0 -259
- package/components/runtime/views/assemblys/page/page-attr-events.vue +0 -50
- package/components/runtime/views/assemblys/page/page-attr-style.vue +0 -25
- package/components/runtime/views/assemblys/page/page-attr.vue +0 -84
- package/components/runtime/views/assemblys/page/variable-dialog.vue +0 -242
- package/components/runtime/views/assemblys/workflow/component/combination.vue +0 -206
- package/components/runtime/views/assemblys/workflow/component/condition-dialog.vue +0 -99
- package/components/runtime/views/assemblys/workflow/component/event-dialog.vue +0 -278
- package/components/runtime/views/assemblys/workflow/component/journal-set-dialog.vue +0 -174
- package/components/runtime/views/assemblys/workflow/component/logical-setup-dialog.vue +0 -155
- package/components/runtime/views/assemblys/workflow/component/rule-dialog.vue +0 -47
- package/components/runtime/views/assemblys/workflow/component/set-dialog.vue +0 -130
- package/components/runtime/views/assemblys/workflow/component/task-trigger-dialog.vue +0 -96
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue +0 -43
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-base.vue +0 -60
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-event.vue +0 -14
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr-style.vue +0 -27
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-attr.vue +0 -28
- package/components/runtime/views/assemblys/workflow/text-history/texthistory-design.vue +0 -17
- package/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue +0 -64
- package/components/runtime/views/render/page-view.vue +0 -80
- package/components/runtime/views/super-page copy.vue +0 -61
- package/components/runtime/views/super-page.vue +0 -667
- package/components/super-page-dialog/index.ts +0 -2
- package/components/super-page-dialog/super-page-dialog.vue +0 -267
- package/components/wf-editor/index.ts +0 -2
- package/components/wf-editor/wf-editor.vue +0 -15
- package/cypress/e2e/example.cy.ts +0 -8
- package/cypress/e2e/tsconfig.json +0 -10
- package/cypress/fixtures/example.json +0 -5
- package/cypress/support/commands.ts +0 -39
- package/cypress/support/e2e.ts +0 -20
- package/cypress.config.ts +0 -8
- package/env.d.ts +0 -1
- package/index.html +0 -13
- package/lib/_virtual/_plugin-vue_export-helper.js +0 -9
- package/lib/components/index.d.ts +0 -5
- package/lib/components/runtime/index.d.ts +0 -3
- package/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/lib/components/super-page-dialog/index.d.ts +0 -3
- package/lib/components/wf-editor/index.d.ts +0 -3
- package/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/lib/index.js +0 -8
- package/lib/runtime/index.js +0 -3
- package/lib/runtime/utils/assemblys-config.js +0 -258
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -54
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -35
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -110
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -42
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -50
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -50
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -51
- package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -141
- package/lib/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -127
- package/lib/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -104
- package/lib/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -3
- package/lib/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -72
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -73
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -78
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -42
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -43
- package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -29
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -68
- package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -74
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -640
- package/lib/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -3
- package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -452
- package/lib/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -3
- package/lib/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -82
- package/lib/runtime/views/assemblys/error-render.vue.js +0 -22
- package/lib/runtime/views/assemblys/error-render.vue2.js +0 -3
- package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -156
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -82
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -59
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -40
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -74
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -127
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -133
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -77
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -29
- package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -157
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -174
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -201
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -63
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -65
- package/lib/runtime/views/assemblys/object-render.vue.js +0 -142
- package/lib/runtime/views/assemblys/object-render.vue2.js +0 -3
- package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -3
- package/lib/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -61
- package/lib/runtime/views/super-page.vue.js +0 -479
- package/lib/runtime/views/super-page.vue2.js +0 -3
- package/lib/src/assets/chart-themes/theme1.js +0 -7
- package/lib/src/assets/chart-themes/theme2.js +0 -7
- package/lib/src/assets/chart-themes/theme3.js +0 -7
- package/lib/src/utils/api/api-util.d.ts +0 -11
- package/lib/src/utils/api/api-util.js +0 -128
- package/lib/src/utils/charts/chart-util.js +0 -15
- package/lib/src/utils/common-util.d.ts +0 -11
- package/lib/src/utils/common-util.js +0 -81
- package/lib/src/utils/events/event-util.js +0 -525
- package/lib/src/utils/events/standard-event.js +0 -1623
- package/lib/src/utils/events/validator-util.d.ts +0 -4
- package/lib/src/utils/events/validator-util.js +0 -389
- package/lib/src/utils/global-refs.js +0 -65
- package/lib/src/utils/interfaces/page-design-types.js +0 -9
- package/lib/src/utils/page-helper-util.d.ts +0 -87
- package/lib/src/utils/page-helper-util.js +0 -503
- package/lib/src/utils/page-init-util.js +0 -200
- package/lib/src/utils/store-util.js +0 -17
- package/lib/src/utils/store.js +0 -3
- package/lib/src/utils/table-utils.js +0 -23
- package/lib/super-page-dialog/index.js +0 -3
- package/lib/super-page-dialog/super-page-dialog.vue.js +0 -73
- package/lib/super-page-dialog/super-page-dialog.vue2.js +0 -3
- package/lib/wf-editor/index.js +0 -3
- package/lib/wf-editor/wf-editor.css +0 -4
- package/lib/wf-editor/wf-editor.vue.js +0 -15
- package/main.ts +0 -11
- package/package-ws.json +0 -70
- package/public/favicon.ico +0 -0
- package/src/assets/base.css +0 -86
- package/src/assets/chart-themes/theme1.ts +0 -6
- package/src/assets/chart-themes/theme2.ts +0 -6
- package/src/assets/chart-themes/theme3.ts +0 -6
- package/src/assets/images/button/button-group.png +0 -0
- package/src/assets/images/button/button.png +0 -0
- package/src/assets/images/chart/chart-column.png +0 -0
- package/src/assets/images/chart/chart-gauge.png +0 -0
- package/src/assets/images/chart/chart-pie.png +0 -0
- package/src/assets/images/chart/chart-radar.png +0 -0
- package/src/assets/images/chart/chart-scatter.png +0 -0
- package/src/assets/images/container/container-card.png +0 -0
- package/src/assets/images/container/container-collapse.png +0 -0
- package/src/assets/images/container/container-container.png +0 -0
- package/src/assets/images/container/container-flex.png +0 -0
- package/src/assets/images/container/container-form.png +0 -0
- package/src/assets/images/container/container-iframe.png +0 -0
- package/src/assets/images/container/container-normal.png +0 -0
- package/src/assets/images/container/container-tabs.png +0 -0
- package/src/assets/images/container/container-tools.png +0 -0
- package/src/assets/images/data/data-process.png +0 -0
- package/src/assets/images/data/data-step.png +0 -0
- package/src/assets/images/data/data-table-column.png +0 -0
- package/src/assets/images/data/data-table.png +0 -0
- package/src/assets/images/data/data-timeline.png +0 -0
- package/src/assets/images/data/data-tree.png +0 -0
- package/src/assets/images/form/form-cascader.png +0 -0
- package/src/assets/images/form/form-check.png +0 -0
- package/src/assets/images/form/form-color.png +0 -0
- package/src/assets/images/form/form-count.png +0 -0
- package/src/assets/images/form/form-custom.png +0 -0
- package/src/assets/images/form/form-date.png +0 -0
- package/src/assets/images/form/form-dept.png +0 -0
- package/src/assets/images/form/form-divider.png +0 -0
- package/src/assets/images/form/form-file.png +0 -0
- package/src/assets/images/form/form-image-upload.png +0 -0
- package/src/assets/images/form/form-img.png +0 -0
- package/src/assets/images/form/form-input.png +0 -0
- package/src/assets/images/form/form-label.png +0 -0
- package/src/assets/images/form/form-link.png +0 -0
- package/src/assets/images/form/form-radio.png +0 -0
- package/src/assets/images/form/form-scan.png +0 -0
- package/src/assets/images/form/form-score.png +0 -0
- package/src/assets/images/form/form-select.png +0 -0
- package/src/assets/images/form/form-slider.png +0 -0
- package/src/assets/images/form/form-space.png +0 -0
- package/src/assets/images/form/form-switch.png +0 -0
- package/src/assets/images/form/form-text.png +0 -0
- package/src/assets/images/form/form-textarea.png +0 -0
- package/src/assets/images/form/form-transfer.png +0 -0
- package/src/assets/images/form/form-zoom.png +0 -0
- package/src/assets/images/group-button.png +0 -0
- package/src/assets/images/group-chart.png +0 -0
- package/src/assets/images/group-container.png +0 -0
- package/src/assets/images/group-data.png +0 -0
- package/src/assets/images/group-form.png +0 -0
- package/src/assets/images/group-workflow.png +0 -0
- package/src/assets/images/workflow/workflow-button.png +0 -0
- package/src/assets/images/workflow/workflow-history-texts.png +0 -0
- package/src/assets/images/workflow/workflow-history.png +0 -0
- package/src/assets/images/workflow/workflow-imagehistory.png +0 -0
- package/src/assets/images/workflow/workflow-texthistory .png +0 -0
- package/src/assets/logo.svg +0 -1
- package/src/assets/main.css +0 -1
- package/src/i18n/langs/cn.js +0 -52
- package/src/i18n/langs/en.js +0 -52
- package/src/stores/counter.ts +0 -12
- package/src/utils/api/api-util.ts +0 -176
- package/src/utils/charts/chart-util.ts +0 -41
- package/src/utils/common-util.ts +0 -96
- package/src/utils/container-style-util.ts +0 -237
- package/src/utils/eventBus.ts +0 -14
- package/src/utils/events/event-util.ts +0 -790
- package/src/utils/events/jump-page-util.ts +0 -0
- package/src/utils/events/standard-event.ts +0 -2075
- package/src/utils/events/validator-util.ts +0 -474
- package/src/utils/global-refs.ts +0 -160
- package/src/utils/interfaces/page-design-types.ts +0 -259
- package/src/utils/page-helper-util.ts +0 -850
- package/src/utils/page-init-util.ts +0 -291
- package/src/utils/page-permission-util.ts +0 -521
- package/src/utils/store-util.ts +0 -41
- package/src/utils/store.ts +0 -3
- package/src/utils/table-utils.ts +0 -31
- package/tsconfig copy.json +0 -17
- package/tsconfig.app copy.json +0 -14
- package/tsconfig.app.json +0 -14
- package/tsconfig.json +0 -17
- package/tsconfig.node copy.json +0 -19
- package/tsconfig.node.json +0 -19
- package/tsconfig.vitest copy.json +0 -11
- package/tsconfig.vitest.json +0 -11
- package/vite.config copy.ts +0 -109
- package/vite.config.ts +0 -86
- package/vitest.config.ts +0 -14
- /package/{lib/src → dist/es/components/runtime}/utils/store-util.d.ts +0 -0
- /package/{lib/src → dist/es/components/runtime}/utils/store.d.ts +0 -0
- /package/{lib → dist/es}/favicon.ico +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { PageContext, Component } from './interfaces/page-design-types';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 获取选项组类需要查询的配置信息
|
|
5
|
+
* @param component
|
|
6
|
+
* @param pageContext
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare function getComponentOptionConfigs(component: Component, pageContext: PageContext, systemCode: any, systemVersion: any): any;
|
|
10
|
+
/**
|
|
11
|
+
* 获取选项组类需要查询的配置信息
|
|
12
|
+
* @param component
|
|
13
|
+
* @param pageContext
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export declare function getComponentOptionConfigsBase(component: Component, systemCode: any, systemVersion: any): any;
|
|
17
|
+
/**
|
|
18
|
+
* 初始化需要查询数据的信息
|
|
19
|
+
* @param component
|
|
20
|
+
* @param pageDesign
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
export declare function initComponentDataSources(component: Component, pageContext: PageContext): void;
|
|
24
|
+
/**
|
|
25
|
+
* 初始化统计图的数据源
|
|
26
|
+
* @param pageContext 页面上下文
|
|
27
|
+
* @param dataSourceConfs 初始化数据配置参数
|
|
28
|
+
*/
|
|
29
|
+
export declare function updateChartDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, appendParams: any, isInit?: boolean): Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* 更新指定uuid图表的数据
|
|
32
|
+
* @param pageContext 页面上下文
|
|
33
|
+
* @param componentUuid 组件uuid
|
|
34
|
+
*/
|
|
35
|
+
export declare function updateChartDatasourcesByComponent(pageContext: PageContext, componentUuid: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* 初始化数据源
|
|
38
|
+
* @param pageContext 页面上下文
|
|
39
|
+
* @param dataSourceConfs 初始化数据配置参数
|
|
40
|
+
*/
|
|
41
|
+
export declare function updateOptionDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, query: any): Promise<any>;
|
|
42
|
+
/**
|
|
43
|
+
* 从页面缓存中获取查询到的选项组数据
|
|
44
|
+
* @param pageContext
|
|
45
|
+
* @param configure
|
|
46
|
+
*/
|
|
47
|
+
export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
48
|
+
/**
|
|
49
|
+
* 从页面缓存中获取查询到的选项组数据
|
|
50
|
+
* @param pageContext
|
|
51
|
+
* @param configure
|
|
52
|
+
*/
|
|
53
|
+
export declare function getComponentOptionDatasFromPage(pageContext: PageContext, configureUuid: string): any;
|
|
54
|
+
/**
|
|
55
|
+
* 从页面缓存中获取查询到的选项组数据
|
|
56
|
+
* @param pageContext
|
|
57
|
+
* @param configure
|
|
58
|
+
*/
|
|
59
|
+
export declare function getOptionDatasSourceMap(pageContext: PageContext): any;
|
|
60
|
+
/**
|
|
61
|
+
* 从页面缓存中获取查询到的统计图数据
|
|
62
|
+
* @param pageContext
|
|
63
|
+
* @param configure
|
|
64
|
+
*/
|
|
65
|
+
export declare function getChartDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
66
|
+
/**
|
|
67
|
+
* 初始化数据源
|
|
68
|
+
* @param pageContext 页面上下文
|
|
69
|
+
* @param dataSourceConfs 初始化数据配置参数
|
|
70
|
+
* @param query 查询条件
|
|
71
|
+
*/
|
|
72
|
+
export declare function queryOptionDatasources(pageContext: PageContext, dataSourceConf: any, query: any): Promise<any>;
|
|
73
|
+
/**
|
|
74
|
+
* 根据查询条件远程查询
|
|
75
|
+
* @param component
|
|
76
|
+
* @param query 模糊查询内容
|
|
77
|
+
*/
|
|
78
|
+
export declare function queryOptions(component: Component, pageContext: PageContext, query: string): Promise<any>;
|
|
79
|
+
/**
|
|
80
|
+
* 根据查询条件远程查询
|
|
81
|
+
* @param component
|
|
82
|
+
* @param query 模糊查询内容
|
|
83
|
+
* @param skipProps 自动赋值映射字段跳过字段,因为当前组件set方法内已经被赋值了,
|
|
84
|
+
* 如果是筛选,之前选择的值可能不在筛选后的结果内,这里再给当前组件变量赋值一遍就会导致之前选择的值被覆盖消失
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[], skipProps?: string[]): void;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @param entity
|
|
91
|
+
* @param fields
|
|
92
|
+
* @returns
|
|
93
|
+
*/
|
|
94
|
+
export declare function getVariableValue(entity: any, fields: string[]): any;
|
|
95
|
+
/**
|
|
96
|
+
* 设置参数值
|
|
97
|
+
* @param entity
|
|
98
|
+
* @param fields
|
|
99
|
+
* @param newValue 新的值
|
|
100
|
+
*/
|
|
101
|
+
export declare function setValueForVariableName(entity: any, variableName: string, newValue: any): void;
|
|
102
|
+
/**
|
|
103
|
+
* 设置参数值
|
|
104
|
+
* @param entity
|
|
105
|
+
* @param fields
|
|
106
|
+
* @param newValue 新的值
|
|
107
|
+
*/
|
|
108
|
+
export declare function setVariableValue(entity: any, fields: string[], newValue: any): void;
|
|
109
|
+
/**
|
|
110
|
+
* 设置参数值
|
|
111
|
+
* @param entity
|
|
112
|
+
* @param fields
|
|
113
|
+
* @param newValue 新的值
|
|
114
|
+
*/
|
|
115
|
+
export declare function setVariableValueWithProp(entity: any, prop: string, newValue: any): void;
|
|
116
|
+
/**
|
|
117
|
+
* 格式化变量值
|
|
118
|
+
* @param pageContext
|
|
119
|
+
* @param variable
|
|
120
|
+
*/
|
|
121
|
+
export declare function formatVariableValue(pageContext: PageContext, variable: string): any;
|
|
122
|
+
/**
|
|
123
|
+
* 获取参数名
|
|
124
|
+
* @param variable
|
|
125
|
+
* @returns
|
|
126
|
+
*/
|
|
127
|
+
export declare function getParamNames(variable: string): any[] | RegExpMatchArray;
|
|
128
|
+
/**
|
|
129
|
+
* 根据类型格式化对象
|
|
130
|
+
* @param value
|
|
131
|
+
* @param formatInfo
|
|
132
|
+
* @returns
|
|
133
|
+
*/
|
|
134
|
+
export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
|
|
135
|
+
/**
|
|
136
|
+
* 根据变量获取值
|
|
137
|
+
* @param entity
|
|
138
|
+
* @param variable
|
|
139
|
+
*/
|
|
140
|
+
export declare function getValueFromVariable(entity: any, variable: string, row?: any): any;
|
|
141
|
+
/**
|
|
142
|
+
* 从对象中获取值
|
|
143
|
+
* @param valueSource 源对象
|
|
144
|
+
* @param paramName 变量值
|
|
145
|
+
* @param paramType 类型
|
|
146
|
+
*/
|
|
147
|
+
export declare function getValueFromSource(valueSource: any, paramName: string, paramType: any): any;
|
|
148
|
+
/**
|
|
149
|
+
* 打开链接
|
|
150
|
+
* @param component
|
|
151
|
+
* @param pageContext
|
|
152
|
+
*/
|
|
153
|
+
export declare function openLink(component: Component, pageContext: PageContext): void;
|
|
154
|
+
/**
|
|
155
|
+
* 计算组件是否显示
|
|
156
|
+
* @param pageContext 页面对象
|
|
157
|
+
* @param configure 组件配置参数
|
|
158
|
+
* @param showConditions 显示条件
|
|
159
|
+
*/
|
|
160
|
+
export declare function caculateShowCondition(pageContext: PageContext, showConditions: Array<any>, row?: any): any;
|
|
161
|
+
/**
|
|
162
|
+
* 监控变化的字段
|
|
163
|
+
* @param pageContext
|
|
164
|
+
* @param targetFields
|
|
165
|
+
* @param triggerFunc
|
|
166
|
+
*/
|
|
167
|
+
export declare function monitorFieldChange(pageContext: PageContext, monitorFields: Array<string>, triggerFunc: Function): void;
|
|
168
|
+
export declare function getFormPropName(prop: any): any;
|
|
169
|
+
export declare function getSizeConfig(pageContext: PageContext, configure: Component): any;
|
|
170
|
+
export declare function isPromise(p: any): boolean;
|
|
171
|
+
export declare function decomposeVariable(variable: string): string[];
|
|
172
|
+
export declare function getModelFieldFromPageContext(fields: string[], pageContext: PageContext): any;
|
|
173
|
+
export declare function isNumberDataType(dataType: string): boolean;
|
|
174
|
+
export declare function isDateDataType(dataType: string): boolean;
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import http from "agilebuilder-ui/src/utils/request";
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import { executeExpression } from "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
4
|
+
import { getComponentRef } from "./global-refs.js";
|
|
5
|
+
import { watch } from "vue";
|
|
6
|
+
import { deepCopy, getBaseUrl } from "./common-util.js";
|
|
7
|
+
function getComponentOptionConfigs(t, e, n, o) {
|
|
8
|
+
return getComponentOptionConfigsBase(t, (e == null ? void 0 : e.systemCode) ? e.systemCode : n, (e == null ? void 0 : e.systemVersion) ? e == null ? void 0 : e.systemVersion : o);
|
|
9
|
+
}
|
|
10
|
+
function getComponentOptionConfigsBase(t, e, n) {
|
|
11
|
+
if (!t.props || !t.props.dataOrigin) return;
|
|
12
|
+
if (t.name && "table" === t.name) return;
|
|
13
|
+
const o = t.props.dataOrigin, a = { uuid: t.uuid };
|
|
14
|
+
if ("optionGroup" == o.optionValueSetType) a.type = "optionGroup", a.props = { code: o.optionGroup };
|
|
15
|
+
else if ("dynamicData" == o.optionValueSetType) a.type = "dynamicData", a.filterType = o.filterType, a.props = { code: o.dynamicDataSourceCode };
|
|
16
|
+
else if ("dataTable" == o.optionValueSetType) {
|
|
17
|
+
a.filterType = o.filterType;
|
|
18
|
+
const t2 = getTableQueryInfo(o, e, n);
|
|
19
|
+
Object.assign(a, t2);
|
|
20
|
+
} else if ("service" == o.optionValueSetType) {
|
|
21
|
+
a.filterType = o.filterType;
|
|
22
|
+
const t2 = getServiceQueryInfo(o, e, n);
|
|
23
|
+
Object.assign(a, t2);
|
|
24
|
+
}
|
|
25
|
+
return a.type ? a : void 0;
|
|
26
|
+
}
|
|
27
|
+
function getTableQueryInfo(t, e, n) {
|
|
28
|
+
const o = { type: "dataTable" };
|
|
29
|
+
if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { tableName: t.tableName, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.sortFields) {
|
|
30
|
+
const e2 = [];
|
|
31
|
+
for (const n2 of t.sortFields) n2.name && e2.push({ prop: n2.name, order: n2.type ? n2.type : "asc" });
|
|
32
|
+
o.props.sorts = e2;
|
|
33
|
+
}
|
|
34
|
+
const a = [];
|
|
35
|
+
if (t.filterList) {
|
|
36
|
+
const e2 = [];
|
|
37
|
+
for (const n2 of t.filterList) {
|
|
38
|
+
if (!n2.propName) continue;
|
|
39
|
+
n2.propDbName || (n2.propDbName = n2.propName);
|
|
40
|
+
const t2 = {};
|
|
41
|
+
Object.assign(t2, n2);
|
|
42
|
+
const o2 = getParamNames(n2.propValue);
|
|
43
|
+
for (const t3 of o2) t3 && (t3.startsWith("${data.") || t3.startsWith("${task.") || t3.startsWith("${page.")) && (a.includes(t3) || a.push(t3));
|
|
44
|
+
n2.propValue, e2.push(t2);
|
|
45
|
+
}
|
|
46
|
+
o.props.searchForm = e2;
|
|
47
|
+
}
|
|
48
|
+
o.props.monitorFields = a;
|
|
49
|
+
const r = [];
|
|
50
|
+
if (t.tableValueField && (o.props.valueField = t.tableValueField), t.tableLableField && -1 == r.indexOf(t.tableLableField) && (o.props.lableField = t.tableLableField), t.autoSets) for (const e2 of t.autoSets) e2.source && -1 == r.indexOf(e2.source) && r.push(e2.source);
|
|
51
|
+
return o.props.queryFields = r, o.props.pageSize = t.displayQuantity, o;
|
|
52
|
+
}
|
|
53
|
+
function getServiceQueryInfo(t, e, n) {
|
|
54
|
+
const o = { type: "service" };
|
|
55
|
+
if (o.valueLabelSwitch = !!t.valueLabelSwitch, o.props = { serivceCode: t.serviceCode, systemCode: t.tableSysCode ? t.tableSysCode : e, systemVersion: t.tableSysVersion ? t.tableSysVersion : n }, t.serviceInputs) {
|
|
56
|
+
const e2 = [];
|
|
57
|
+
for (const n2 of t.serviceInputs) {
|
|
58
|
+
if (!n2.name || n2.value) continue;
|
|
59
|
+
const t2 = {};
|
|
60
|
+
Object.assign(t2, n2), e2.push(t2);
|
|
61
|
+
}
|
|
62
|
+
o.props.inputs = e2;
|
|
63
|
+
}
|
|
64
|
+
return o.props.dataSetField = t.serviceDataSetField, o.props.valueField = t.serviceValueField, o.props.labelField = t.serviceLabelField, o;
|
|
65
|
+
}
|
|
66
|
+
function updateChartDatasources(t, e, n, o) {
|
|
67
|
+
return new Promise((a, r) => {
|
|
68
|
+
if (!e || 0 == e.length) return void r(new Error("无需查询的统计图配置!"));
|
|
69
|
+
const s = deepCopy(e);
|
|
70
|
+
s.forEach((e2) => {
|
|
71
|
+
const n2 = e2.services;
|
|
72
|
+
if (n2 && n2.length > 0) {
|
|
73
|
+
const e3 = n2[0].serviceInputs;
|
|
74
|
+
e3 && (n2[0].serviceInParams = {}, e3.forEach((e4) => {
|
|
75
|
+
const o2 = e4.name, a2 = e4.value;
|
|
76
|
+
n2[0].serviceInParams[o2] = getValueFromVariable(t.entity, a2);
|
|
77
|
+
}), delete n2[0].serviceInputs);
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
const i = t.entity ? t.entity : {}, u = {};
|
|
81
|
+
i.request && Object.assign(u, i.request), i.page && Object.assign(u, i.page), n && Object.assign(u, n);
|
|
82
|
+
const l = {};
|
|
83
|
+
i.task && Object.assign(l, i.task);
|
|
84
|
+
const c = { entityMap: i.data, additionalParamMap: u, taskMap: l, dataSourceList: s, systemCode: t.systemCode, pageCode: t.code }, p = t.backendUrl, f = getBaseUrl(p, t.isTest) + "/common/common-data/find-chart-datas";
|
|
85
|
+
http.post(f, c, { headers: { customSystem: t.systemCode } }).then((e2) => {
|
|
86
|
+
var _a, _b;
|
|
87
|
+
t.chartDataSourceMap || (t.chartDataSourceMap = {});
|
|
88
|
+
for (const n2 in e2) {
|
|
89
|
+
t.chartDataSourceMap[n2] = e2[n2];
|
|
90
|
+
const a2 = getComponentRef(t, n2);
|
|
91
|
+
if (a2) {
|
|
92
|
+
const r2 = a2.getConfigure();
|
|
93
|
+
if ((!o || r2 && (void 0 === r2.initializationQuery || r2.initializationQuery)) && a2.updateChartDatas && (a2.updateChartDatas(e2[n2]), (_b = (_a = r2.runtime) == null ? void 0 : _a.dataConfig) == null ? void 0 : _b.resultSet)) {
|
|
94
|
+
const o2 = e2[n2] && e2[n2].length > 0 ? e2[n2][0] : {}, a3 = o2 && o2.result ? o2.result : {};
|
|
95
|
+
let s2 = null;
|
|
96
|
+
r2.serviceDataField ? s2 = a3[r2.serviceDataField] : a3 && (s2 = Array.isArray(a3) ? a3 : [a3]), s2 || (s2 = []), setValueForVariableName(t.entity, r2.runtime.dataConfig.resultSet, s2);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
a(e2);
|
|
101
|
+
}).catch((t2) => {
|
|
102
|
+
r(t2);
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
function updateChartDatasourcesByComponent(t, e) {
|
|
107
|
+
const n = t.initChartServiceConfigs.find((t2) => t2.uuid === e);
|
|
108
|
+
n && updateChartDatasources(t, [n], null, false);
|
|
109
|
+
}
|
|
110
|
+
function updateOptionDatasources(t, e, n) {
|
|
111
|
+
return new Promise((o, a) => {
|
|
112
|
+
if (!e || 0 == e.length) return void a(new Error("无需查询的配置!"));
|
|
113
|
+
const r = t.entity ? t.entity : {}, s = {};
|
|
114
|
+
r.request && Object.assign(s, r.request), r.page && Object.assign(s, r.page), s.query = n;
|
|
115
|
+
const i = { entityMap: r.data, additionalParamMap: s, dataSourceList: e, systemCode: t.systemCode, query: n }, u = t.backendUrl, l = getBaseUrl(u, t.isTest) + "/common/common-data/find-datas";
|
|
116
|
+
http.post(l, i).then((e2) => {
|
|
117
|
+
t.optionSourceMap || (t.optionSourceMap = {});
|
|
118
|
+
for (const n2 in e2) {
|
|
119
|
+
t.optionSourceMap[n2] = e2[n2];
|
|
120
|
+
const o2 = getComponentRef(t, n2);
|
|
121
|
+
o2 && o2.updateOptions && o2.updateOptions(e2[n2]);
|
|
122
|
+
}
|
|
123
|
+
o(e2);
|
|
124
|
+
}).catch((t2) => {
|
|
125
|
+
a(t2);
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function getOptionDatasFromPage(t, e) {
|
|
130
|
+
return getComponentOptionDatasFromPage(t, e.uuid);
|
|
131
|
+
}
|
|
132
|
+
function getComponentOptionDatasFromPage(t, e) {
|
|
133
|
+
const n = getOptionDatasSourceMap(t)[e];
|
|
134
|
+
return n || [];
|
|
135
|
+
}
|
|
136
|
+
function getOptionDatasSourceMap(t) {
|
|
137
|
+
if (!t || !t.optionSourceMap) return {};
|
|
138
|
+
const e = t.optionSourceMap;
|
|
139
|
+
return e || {};
|
|
140
|
+
}
|
|
141
|
+
function getChartDatasFromPage(t, e) {
|
|
142
|
+
if (!t || !t.chartDataSourceMap || !e) return null;
|
|
143
|
+
return t.chartDataSourceMap[e.uuid];
|
|
144
|
+
}
|
|
145
|
+
function queryOptionDatasources(t, e, n) {
|
|
146
|
+
return updateOptionDatasources(t, e ? [e] : [], n);
|
|
147
|
+
}
|
|
148
|
+
function autoSetAfterSelect(t, e, n, o, a = []) {
|
|
149
|
+
if (!n || 0 == n.length) return;
|
|
150
|
+
const r = e.entity ? e.entity : {};
|
|
151
|
+
for (const t2 of n) {
|
|
152
|
+
if (!t2.source || !t2.target || a.includes(t2.target)) continue;
|
|
153
|
+
const e2 = getValuesByField(o, t2.source);
|
|
154
|
+
let n2 = t2.target;
|
|
155
|
+
if (!n2 || !n2.startsWith("${")) continue;
|
|
156
|
+
n2 = n2.substring(2, n2.length - 1);
|
|
157
|
+
setVariableValue(r, n2.split("."), e2.join(","));
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
function getValuesByField(t, e) {
|
|
161
|
+
if (t) {
|
|
162
|
+
const n = [];
|
|
163
|
+
for (const o of t) {
|
|
164
|
+
let t2 = o[e];
|
|
165
|
+
null != t2 && null != t2 || (t2 = ""), n.push(t2);
|
|
166
|
+
}
|
|
167
|
+
return n;
|
|
168
|
+
}
|
|
169
|
+
return [""];
|
|
170
|
+
}
|
|
171
|
+
function getVariableValue(t, e) {
|
|
172
|
+
if (!t || !e || 0 == e.length) return;
|
|
173
|
+
let n = t;
|
|
174
|
+
for (let t2 = 0; t2 < e.length; t2++) {
|
|
175
|
+
if (null == n) return n;
|
|
176
|
+
n = n[e[t2]];
|
|
177
|
+
}
|
|
178
|
+
return n;
|
|
179
|
+
}
|
|
180
|
+
function setValueForVariableName(t, e, n) {
|
|
181
|
+
if (!e || !e.startsWith("${")) return;
|
|
182
|
+
setVariableValue(t, (e = e.substring(2, e.length - 1)).split("."), n);
|
|
183
|
+
}
|
|
184
|
+
function setVariableValue(t, e, n) {
|
|
185
|
+
if (!t || !e || 0 == e.length) return;
|
|
186
|
+
let o = t;
|
|
187
|
+
for (let t2 = 0; t2 < e.length; t2++) {
|
|
188
|
+
const a = e[t2];
|
|
189
|
+
t2 + 1 === e.length ? o[a] = n : (void 0 === o[a] && (o[a] = {}), o = o[a]);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
function setVariableValueWithProp(t, e, n) {
|
|
193
|
+
if (!t || !e) return;
|
|
194
|
+
setVariableValue(t, e.split("."), n);
|
|
195
|
+
}
|
|
196
|
+
function formatVariableValue(t, e) {
|
|
197
|
+
if (!t || "" == e || null == e || null == e) return e;
|
|
198
|
+
const n = t.entity ? t.entity : {}, o = getParamNames(e);
|
|
199
|
+
for (const t2 in o) {
|
|
200
|
+
const a = o[t2], r = getValueFromVariable(n, a);
|
|
201
|
+
if (r && "[object Date]" === Object.prototype.toString.call(r)) return dayjs(r).format("YYYY-MM-DD HH:mm:ss");
|
|
202
|
+
if (r && "number" == typeof r) return r;
|
|
203
|
+
e = e.replace(a, null == r ? "" : r);
|
|
204
|
+
}
|
|
205
|
+
return e;
|
|
206
|
+
}
|
|
207
|
+
function getParamNames(t) {
|
|
208
|
+
if (!t) return [];
|
|
209
|
+
const e = t.match(/\$\{[^\{|\}]+\}/g);
|
|
210
|
+
return e || [];
|
|
211
|
+
}
|
|
212
|
+
function formatValueByType(t, e, n) {
|
|
213
|
+
if (!e || "" == t || null == t || null == t) return t;
|
|
214
|
+
if (n = n || {}, "number" == e || "percent" == e) {
|
|
215
|
+
if (isNaN(t)) return t;
|
|
216
|
+
let o = parseInt(n.decimalDigit);
|
|
217
|
+
if ((null == o || isNaN(o)) && (o = -1), t = parseFloat(t), "percent" == e && (t *= 100), o > -1 && (t = parseFloat(t.toFixed(o))), "percent" == e) t += "%";
|
|
218
|
+
else {
|
|
219
|
+
if (n.thousandsSeparator) {
|
|
220
|
+
const e2 = t.toString().split(".");
|
|
221
|
+
e2[0] = e2[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","), t = e2.length > 1 ? e2.join(".") : e2[0];
|
|
222
|
+
}
|
|
223
|
+
n.symbol && (t = n.symbol + "" + t);
|
|
224
|
+
}
|
|
225
|
+
return t;
|
|
226
|
+
}
|
|
227
|
+
if ("date" == e || "time" == e) {
|
|
228
|
+
let o = "";
|
|
229
|
+
return "date" == e ? (o = n.dateFormat, o || (o = "YYYY-MM-DD")) : (o = n.timeFormat, o || (o = "HH:mm:ss")), dayjs(t).format(o);
|
|
230
|
+
}
|
|
231
|
+
return "custom" == e && n.formatEventUuid, t;
|
|
232
|
+
}
|
|
233
|
+
function getValueFromVariable(t, e, n) {
|
|
234
|
+
if (null == e || null == e) return e;
|
|
235
|
+
if (e.startsWith("${") && e.endsWith("}")) {
|
|
236
|
+
let o = e.substring(2, e.length - 1), a = null, r = null;
|
|
237
|
+
if (o.startsWith("data.")) o = o.substring(5), r = t.data, a = "data";
|
|
238
|
+
else if (o.startsWith("page.")) o = o.substring(5), a = "page", r = t.page;
|
|
239
|
+
else if (o.startsWith("task.")) o = o.substring(5), a = "task", r = t.task;
|
|
240
|
+
else if (o.startsWith("request.")) o = o.substring(8), a = "request", r = t.request;
|
|
241
|
+
else if (o.startsWith("context.")) o = o.substring(8), a = "context", r = t.context;
|
|
242
|
+
else if (o.startsWith("system.")) o = o.substring(7), a = "system", r = t.system;
|
|
243
|
+
else {
|
|
244
|
+
if (o.startsWith("fixed.")) return o.substring(6);
|
|
245
|
+
o.startsWith("row.") && (o = o.substring(4), r = n, a = "row");
|
|
246
|
+
}
|
|
247
|
+
return o ? getValueFromSource(r, o, a) : "";
|
|
248
|
+
}
|
|
249
|
+
return e;
|
|
250
|
+
}
|
|
251
|
+
function getValueFromSource(t, e, n) {
|
|
252
|
+
if ("context" != n && !t || !e) return;
|
|
253
|
+
const o = e.indexOf(".");
|
|
254
|
+
if (o > -1) {
|
|
255
|
+
const a = e.substring(0, o), r = e.substring(o + 1);
|
|
256
|
+
let s = t[a];
|
|
257
|
+
return s && Array.isArray(s) && s.length > 0 && (s = s[0]), getValueFromSource(s, r, n);
|
|
258
|
+
}
|
|
259
|
+
if ("context" == n) {
|
|
260
|
+
if ("currentDate" == e || "currentTime" == e) return /* @__PURE__ */ new Date();
|
|
261
|
+
if (e.startsWith("currentDate") && e.length > 11) {
|
|
262
|
+
const t2 = e.substring(11), n2 = t2.substring(0, 1);
|
|
263
|
+
let o2 = parseInt(t2.substring(1, t2.length - 1), 10);
|
|
264
|
+
const a = t2.substring(t2.length - 1), r = /* @__PURE__ */ new Date();
|
|
265
|
+
return o2 = "+" === n2 ? o2 : -o2, "d" === a || "w" === a ? (o2 = "w" === a ? 7 * o2 : o2, r.setDate(r.getDate() + o2)) : "m" === a ? r.setMonth(r.getMonth() + o2) : "y" === a && r.setFullYear(r.getFullYear() + o2), r;
|
|
266
|
+
}
|
|
267
|
+
if (!t) return;
|
|
268
|
+
}
|
|
269
|
+
return t[e];
|
|
270
|
+
}
|
|
271
|
+
function caculateShowCondition(pageContext, showConditions, row) {
|
|
272
|
+
if (!showConditions || 0 == showConditions.length || !pageContext || !pageContext.entity) return true;
|
|
273
|
+
const entityData = pageContext.entity;
|
|
274
|
+
let conditions = "";
|
|
275
|
+
const maxLen = showConditions.length;
|
|
276
|
+
for (let t = 0; t < maxLen; t++) {
|
|
277
|
+
const e = showConditions[t], n = e.propName;
|
|
278
|
+
let o = e.operator;
|
|
279
|
+
if (!n || "" === n) continue;
|
|
280
|
+
o || (o = "EQ");
|
|
281
|
+
const a = getValueFromVariable(entityData, n, row);
|
|
282
|
+
let r = getValueFromVariable(entityData, e.propValue, row);
|
|
283
|
+
const s = e.dataType;
|
|
284
|
+
"CONTAIN" != o && "NOT_CONTAIN" != o || a && !a.includes && (o = "CONTAIN" == o ? "EQ" : "NET");
|
|
285
|
+
let i = e.variableIsNull, u;
|
|
286
|
+
if (i || (i = "null"), "IS_NULL" !== o && "IS_NOT_NULL" !== o && (void 0 !== r && "" !== r || (r = null, "null" === i ? o = "IS_NULL" : "notequal" === i ? o = "IS_NOT_NULL" : u = true)), null == u) try {
|
|
287
|
+
u = executeExpression(a, o, r, s);
|
|
288
|
+
} catch (t2) {
|
|
289
|
+
u = false;
|
|
290
|
+
}
|
|
291
|
+
const l = e.leftBracket, c = e.rightBracket;
|
|
292
|
+
let p = e.joinSign;
|
|
293
|
+
if (l && null !== l && "" !== l && (conditions += l, conditions += " "), conditions += u + " ", c && null !== c && "" !== c && (conditions += c, conditions += " "), t < maxLen - 1 && p && null !== p && "" !== p) {
|
|
294
|
+
const t2 = p.toLowerCase();
|
|
295
|
+
"and" === t2 ? p = t2.replace("and", "&&") : "or" === t2 && (p = t2.replace("or", "||")), conditions += p + " ";
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
return !conditions || eval("(" + conditions + ")");
|
|
299
|
+
}
|
|
300
|
+
function monitorFieldChange(t, e, n) {
|
|
301
|
+
if (!n || !t || !e || 0 == e.length) return;
|
|
302
|
+
const o = [], a = [];
|
|
303
|
+
for (let t2 of e) if (t2.startsWith("${")) {
|
|
304
|
+
t2 = t2.substring(2, t2.length - 1);
|
|
305
|
+
const e2 = t2.split(".");
|
|
306
|
+
"page" !== e2[0] && "task" !== e2[0] && "data" !== e2[0] || (o.push(e2), a.includes(e2[0]) || a.push(e2[0]));
|
|
307
|
+
}
|
|
308
|
+
let r = getMonitorFieldValues(o, t.entity), s = false;
|
|
309
|
+
for (const e2 of a) watch(t.entity[e2], () => {
|
|
310
|
+
s && clearTimeout(s), s = setTimeout(function() {
|
|
311
|
+
const e3 = getMonitorFieldValues(o, t.entity);
|
|
312
|
+
r != e3 && (r = e3, n());
|
|
313
|
+
}, 200);
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
function getMonitorFieldValues(t, e) {
|
|
317
|
+
let n = "";
|
|
318
|
+
for (const o of t) n += "_" + getVariableValue(e, o);
|
|
319
|
+
return n;
|
|
320
|
+
}
|
|
321
|
+
function getFormPropName(t) {
|
|
322
|
+
return t && t.indexOf("${") >= 0 ? t.substring(t.indexOf(".") + 1, t.lastIndexOf("}")) : t;
|
|
323
|
+
}
|
|
324
|
+
function getSizeConfig(t, e) {
|
|
325
|
+
const n = getPageModeType(t);
|
|
326
|
+
let o;
|
|
327
|
+
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
|
+
}
|
|
329
|
+
function getPageModeType(t) {
|
|
330
|
+
let e = t.dimensions;
|
|
331
|
+
return e || (e = "pc"), e;
|
|
332
|
+
}
|
|
333
|
+
function isPromise(t) {
|
|
334
|
+
return t && "[object Promise]" === Object.prototype.toString.call(t);
|
|
335
|
+
}
|
|
336
|
+
function decomposeVariable(t) {
|
|
337
|
+
if (!t) return [];
|
|
338
|
+
const e = t.match(/\${(.*?)}/);
|
|
339
|
+
return e ? e[1].split(".") : [];
|
|
340
|
+
}
|
|
341
|
+
function getModelFieldFromPageContext(t, e) {
|
|
342
|
+
if (!e.modelFieldsMap) return;
|
|
343
|
+
let n = null;
|
|
344
|
+
for (let o = 0; o < t.length; o++) {
|
|
345
|
+
const a = t[o];
|
|
346
|
+
o + 1 === t.length && (n = e.modelFieldsMap[a]);
|
|
347
|
+
}
|
|
348
|
+
return n;
|
|
349
|
+
}
|
|
350
|
+
function isNumberDataType(t) {
|
|
351
|
+
return "INTEGER" === t || "LONG" === t || "DOUBLE" === t || "FLOAT_COM" === t;
|
|
352
|
+
}
|
|
353
|
+
function isDateDataType(t) {
|
|
354
|
+
return "DATE" === (t = t ? t.toUpperCase() : "") || "TIME" === t || "DATETIME" === t || "TIMESTAMP" === t;
|
|
355
|
+
}
|
|
356
|
+
export {
|
|
357
|
+
autoSetAfterSelect,
|
|
358
|
+
caculateShowCondition,
|
|
359
|
+
decomposeVariable,
|
|
360
|
+
formatValueByType,
|
|
361
|
+
formatVariableValue,
|
|
362
|
+
getChartDatasFromPage,
|
|
363
|
+
getComponentOptionConfigs,
|
|
364
|
+
getComponentOptionConfigsBase,
|
|
365
|
+
getComponentOptionDatasFromPage,
|
|
366
|
+
getFormPropName,
|
|
367
|
+
getModelFieldFromPageContext,
|
|
368
|
+
getOptionDatasFromPage,
|
|
369
|
+
getOptionDatasSourceMap,
|
|
370
|
+
getParamNames,
|
|
371
|
+
getSizeConfig,
|
|
372
|
+
getValueFromSource,
|
|
373
|
+
getValueFromVariable,
|
|
374
|
+
getVariableValue,
|
|
375
|
+
isDateDataType,
|
|
376
|
+
isNumberDataType,
|
|
377
|
+
isPromise,
|
|
378
|
+
monitorFieldChange,
|
|
379
|
+
queryOptionDatasources,
|
|
380
|
+
setValueForVariableName,
|
|
381
|
+
setVariableValue,
|
|
382
|
+
setVariableValueWithProp,
|
|
383
|
+
updateChartDatasources,
|
|
384
|
+
updateChartDatasourcesByComponent,
|
|
385
|
+
updateOptionDatasources
|
|
386
|
+
};
|
|
@@ -16,13 +16,21 @@ export declare function queryPageDesignByCode(pageCode: string): Promise<any>;
|
|
|
16
16
|
* 转换页面设计对象为运行时对象
|
|
17
17
|
* @param pageDesign 页面设计对象
|
|
18
18
|
*/
|
|
19
|
-
export declare function convertToPageContext(pageDesign: PageDesign
|
|
19
|
+
export declare function convertToPageContext(pageDesign: PageDesign): PageContext | null;
|
|
20
|
+
/**
|
|
21
|
+
* 获取请求对象的值
|
|
22
|
+
*/
|
|
23
|
+
export declare function packageAdditionalMapWithLocationSearch(requestObj: any): any;
|
|
24
|
+
export declare function packageAdditionalMapWithPageRequest(pageRequest: object, requestObj: any): void;
|
|
25
|
+
export declare function packageAdditionalMapWithRoute(route: any, requestObj: any): void;
|
|
26
|
+
export declare function getModelFields(formItemConfigure: any, prop?: string): string[];
|
|
20
27
|
/**
|
|
21
28
|
* 获取表单元素模型名称
|
|
22
29
|
* @param pageContext 页面对象
|
|
23
30
|
* @param formItemConfigure 表单元素配置参数
|
|
24
31
|
*/
|
|
25
|
-
export declare function getFormModelFields(pageContext: PageContext, formItemConfigure:
|
|
32
|
+
export declare function getFormModelFields(pageContext: PageContext, formItemConfigure: any, prop?: string): string[];
|
|
33
|
+
export declare function getDefaultValue(pageContext: PageContext, defaultValueSet: any, componentType: string, multiple: boolean): any;
|
|
26
34
|
/**
|
|
27
35
|
* 获取组件的权限编码
|
|
28
36
|
* @param configure
|
|
@@ -36,3 +44,5 @@ export declare function getPermissionCodes(configure: Component, pageContext: Pa
|
|
|
36
44
|
* @returns
|
|
37
45
|
*/
|
|
38
46
|
export declare function queryPageSuperGrids(pageDesign: any, pageContext: any, publishVersion: any): Promise<any>;
|
|
47
|
+
export declare function packageFormRules(pageContext: PageContext, configure: any, isHasPermission: boolean): void;
|
|
48
|
+
export declare function controlObjectRenderState(pageContext: PageContext, propName: string): void;
|