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
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare function setObjectPropRule(prop: any, rules: any, leafRule: any): {};
|
|
2
|
-
export declare function validator(entity: any, rules: any, columns: any, rowIndex: any, isSql: any): any;
|
|
3
|
-
export declare function validateDataModelFunc(pageContext: any, configureObj: any, isEnableRequired: any): Promise<unknown>;
|
|
4
|
-
export declare function i18nValidateRulesMessage(rules: any): {};
|
|
@@ -1,389 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Validator = require("async-validator");
|
|
4
|
-
const elementPlus = require("element-plus");
|
|
5
|
-
const globalRefs = require("../global-refs.js");
|
|
6
|
-
const util = require("agilebuilder-ui/src/utils/util");
|
|
7
|
-
function setObjectPropRule(prop, rules, leafRule) {
|
|
8
|
-
const rule = {};
|
|
9
|
-
if (!rules) {
|
|
10
|
-
rules = {};
|
|
11
|
-
}
|
|
12
|
-
let num = 0;
|
|
13
|
-
const props = prop.split(".");
|
|
14
|
-
props.forEach((subProp) => {
|
|
15
|
-
let objectRule;
|
|
16
|
-
if (num === props.length - 1) {
|
|
17
|
-
objectRule = getEndObjectRule(rule, props, subProp);
|
|
18
|
-
objectRule.fields[subProp] = leafRule;
|
|
19
|
-
} else {
|
|
20
|
-
let lastObjectRule;
|
|
21
|
-
if (num === 0) {
|
|
22
|
-
objectRule = rules;
|
|
23
|
-
} else {
|
|
24
|
-
lastObjectRule = getLastObjectRule(rule, props, props[num - 1]);
|
|
25
|
-
objectRule = lastObjectRule.fields;
|
|
26
|
-
}
|
|
27
|
-
if (!objectRule[subProp]) {
|
|
28
|
-
objectRule[subProp] = {
|
|
29
|
-
type: "object",
|
|
30
|
-
required: true,
|
|
31
|
-
fields: {}
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
if (num === 0) {
|
|
35
|
-
rule[subProp] = objectRule[subProp];
|
|
36
|
-
} else {
|
|
37
|
-
lastObjectRule.fields[subProp] = objectRule[subProp];
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
num++;
|
|
41
|
-
});
|
|
42
|
-
return rule;
|
|
43
|
-
}
|
|
44
|
-
function getLastObjectRule(rule, props, currentProp) {
|
|
45
|
-
let lastObjectdRule;
|
|
46
|
-
for (let i = 0; i < props.length; i++) {
|
|
47
|
-
const subProp = props[i];
|
|
48
|
-
if (i === 0) {
|
|
49
|
-
lastObjectdRule = rule[subProp];
|
|
50
|
-
} else {
|
|
51
|
-
lastObjectdRule = lastObjectdRule.fields[props[i]];
|
|
52
|
-
}
|
|
53
|
-
if (subProp === currentProp) {
|
|
54
|
-
break;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return lastObjectdRule;
|
|
58
|
-
}
|
|
59
|
-
function getEndObjectRule(rule, props, currentProp) {
|
|
60
|
-
let lastObjectdRule;
|
|
61
|
-
for (let i = 0; i < props.length; i++) {
|
|
62
|
-
if (i === 0) {
|
|
63
|
-
lastObjectdRule = rule[props[i]];
|
|
64
|
-
} else {
|
|
65
|
-
lastObjectdRule = lastObjectdRule.fields[props[i]];
|
|
66
|
-
}
|
|
67
|
-
if (i !== props.length - 1) {
|
|
68
|
-
const leafSubProp = props[i + 1];
|
|
69
|
-
if (leafSubProp === currentProp) {
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
return lastObjectdRule;
|
|
75
|
-
}
|
|
76
|
-
function getValidator(columns) {
|
|
77
|
-
const rules = {};
|
|
78
|
-
if (columns) {
|
|
79
|
-
columns.forEach((editField) => {
|
|
80
|
-
const prop = editField.model;
|
|
81
|
-
if (prop && editField.validations) {
|
|
82
|
-
const validations = editField.validations;
|
|
83
|
-
if (prop.indexOf(".") > 0) {
|
|
84
|
-
setObjectPropRule(editField.prop, rules, validations);
|
|
85
|
-
} else {
|
|
86
|
-
if (validations && validations.length > 0) {
|
|
87
|
-
rules[prop] = [...validations];
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
return rules;
|
|
94
|
-
}
|
|
95
|
-
function validator(entity, rules, columns, rowIndex, isSql) {
|
|
96
|
-
return validatorEntity(entity, rules, columns, rowIndex, true, isSql);
|
|
97
|
-
}
|
|
98
|
-
function sublistVerify(rules) {
|
|
99
|
-
if (!rules) {
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
Object.keys(rules).forEach((item) => {
|
|
103
|
-
if (item.indexOf(".") >= 0) {
|
|
104
|
-
let ruleKetArr = [];
|
|
105
|
-
ruleKetArr = item.split(".");
|
|
106
|
-
if (rules[ruleKetArr[0]]) {
|
|
107
|
-
rules[ruleKetArr[0]].fields[ruleKetArr[1]] = rules[item][0];
|
|
108
|
-
} else {
|
|
109
|
-
rules[ruleKetArr[0]] = new Object();
|
|
110
|
-
rules[ruleKetArr[0]].fields = new Object();
|
|
111
|
-
rules[ruleKetArr[0]].fields[ruleKetArr[1]] = rules[item][0];
|
|
112
|
-
rules[ruleKetArr[0]].type = "object";
|
|
113
|
-
}
|
|
114
|
-
delete rules[item];
|
|
115
|
-
}
|
|
116
|
-
});
|
|
117
|
-
return rules;
|
|
118
|
-
}
|
|
119
|
-
function validatorEntity(entity, rules, columns, rowIndex, isShouldRepeateValdate, isSql) {
|
|
120
|
-
let validateRules = sublistVerify(rules);
|
|
121
|
-
if ((!rules || rules === null) && columns) {
|
|
122
|
-
validateRules = getValidator(columns);
|
|
123
|
-
}
|
|
124
|
-
if (!validateRules || Object.keys(validateRules).length === 0) {
|
|
125
|
-
entity["validateErrorField"] = "";
|
|
126
|
-
return true;
|
|
127
|
-
}
|
|
128
|
-
let result;
|
|
129
|
-
const validator2 = new Validator(validateRules);
|
|
130
|
-
validator2.validate(
|
|
131
|
-
entity,
|
|
132
|
-
{
|
|
133
|
-
first: true
|
|
134
|
-
},
|
|
135
|
-
(errors, fields) => {
|
|
136
|
-
let fieldName;
|
|
137
|
-
if (errors) {
|
|
138
|
-
result = errors[0].message;
|
|
139
|
-
fieldName = errors[0]["field"];
|
|
140
|
-
if (typeof rowIndex !== "undefined" && rowIndex !== null) {
|
|
141
|
-
result = util.getI18n().t("superPageRuntimeMessage.recordLine", {
|
|
142
|
-
row: rowIndex + 1
|
|
143
|
-
}) + "," + result;
|
|
144
|
-
}
|
|
145
|
-
elementPlus.ElMessage({
|
|
146
|
-
message: result,
|
|
147
|
-
showClose: true,
|
|
148
|
-
type: "warning",
|
|
149
|
-
duration: 3 * 1e3
|
|
150
|
-
});
|
|
151
|
-
console.log("errors", errors, "fields", fields);
|
|
152
|
-
} else {
|
|
153
|
-
result = true;
|
|
154
|
-
}
|
|
155
|
-
if (fieldName && isShouldRepeateValdate === true) {
|
|
156
|
-
const reg1 = /[A-Z]+/;
|
|
157
|
-
if (isSql !== void 0 && isSql === true && reg1.test(fieldName) && entity[fieldName.toLowerCase()] !== void 0) {
|
|
158
|
-
const copyEntity = JSON.parse(JSON.stringify(entity));
|
|
159
|
-
copyEntity[fieldName.toUpperCase()] = entity[fieldName.toLowerCase()];
|
|
160
|
-
delete copyEntity[fieldName.toLowerCase()];
|
|
161
|
-
result = validatorEntity(copyEntity, rules, columns, rowIndex, false, isSql);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
);
|
|
166
|
-
return result;
|
|
167
|
-
}
|
|
168
|
-
function validateDataModelFunc(pageContext, configureObj, isEnableRequired) {
|
|
169
|
-
const dataModel = pageContext.entity.data;
|
|
170
|
-
const pageModel = pageContext.entity.page;
|
|
171
|
-
const data = { ...pageModel, ...dataModel };
|
|
172
|
-
const rules = pageContext.rules;
|
|
173
|
-
if (isEnableRequired === void 0 || isEnableRequired === null) {
|
|
174
|
-
isEnableRequired = configureObj.props.verification.required;
|
|
175
|
-
if (typeof isEnableRequired === "undefined") {
|
|
176
|
-
isEnableRequired = true;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
return validateDataModel(isEnableRequired, data, rules, pageContext);
|
|
180
|
-
}
|
|
181
|
-
function validateDataModel(isEnableRequired, dataModel, rules, pageContext) {
|
|
182
|
-
if (isEnableRequired) {
|
|
183
|
-
const isWorkflow = pageContext.workflowCode ? true : false;
|
|
184
|
-
const customRules = pageContext.customRules;
|
|
185
|
-
if (isWorkflow) {
|
|
186
|
-
return validateWorkflowFormDataModel(dataModel, pageContext, customRules);
|
|
187
|
-
} else {
|
|
188
|
-
return validateCommonFormDataModel(dataModel, pageContext, rules, customRules);
|
|
189
|
-
}
|
|
190
|
-
} else {
|
|
191
|
-
return new Promise((resolve, reject) => {
|
|
192
|
-
resolve(true);
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
function validateWorkflowFormDataModel(dataModel, pageContext, customRules) {
|
|
197
|
-
return new Promise((resolve, reject) => {
|
|
198
|
-
const additionalParamMap = pageContext.entity.request;
|
|
199
|
-
const contextParameter = pageContext.entity.context;
|
|
200
|
-
const taskParamMap = pageContext.entity.task;
|
|
201
|
-
const isSql = true;
|
|
202
|
-
const subTablePageInfo = pageContext.subTablePageInfo;
|
|
203
|
-
let workflowFieldPermissionRules = window["$vueApp"].config.globalProperties.$getValidator(
|
|
204
|
-
pageContext.completeTaskParam.fieldPermissions,
|
|
205
|
-
dataModel,
|
|
206
|
-
isSql,
|
|
207
|
-
additionalParamMap,
|
|
208
|
-
taskParamMap,
|
|
209
|
-
contextParameter
|
|
210
|
-
);
|
|
211
|
-
workflowFieldPermissionRules = packageCustomRules(customRules, workflowFieldPermissionRules);
|
|
212
|
-
let result = false;
|
|
213
|
-
if (!workflowFieldPermissionRules) {
|
|
214
|
-
result = true;
|
|
215
|
-
} else {
|
|
216
|
-
result = window["$vueApp"].config.globalProperties.$formValidator(
|
|
217
|
-
dataModel,
|
|
218
|
-
workflowFieldPermissionRules,
|
|
219
|
-
isSql,
|
|
220
|
-
additionalParamMap,
|
|
221
|
-
taskParamMap,
|
|
222
|
-
contextParameter,
|
|
223
|
-
subTablePageInfo
|
|
224
|
-
);
|
|
225
|
-
}
|
|
226
|
-
if (result !== true) {
|
|
227
|
-
elementPlus.ElMessage({
|
|
228
|
-
showClose: true,
|
|
229
|
-
message: result + "",
|
|
230
|
-
type: "warning"
|
|
231
|
-
});
|
|
232
|
-
resolve(false);
|
|
233
|
-
} else {
|
|
234
|
-
const validatorResult = [];
|
|
235
|
-
const customUuids = pageContext.customValidatorUuids;
|
|
236
|
-
if (customUuids) {
|
|
237
|
-
customUuids.forEach((componentUuid) => {
|
|
238
|
-
const customRef = globalRefs.getComponentRef(pageContext, componentUuid);
|
|
239
|
-
if (customRef) {
|
|
240
|
-
validatorResult.push(customRef.validator());
|
|
241
|
-
}
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
if (validatorResult && validatorResult.length > 0) {
|
|
245
|
-
Promise.all(validatorResult).then((values) => {
|
|
246
|
-
if (values.includes(false)) {
|
|
247
|
-
resolve(false);
|
|
248
|
-
} else {
|
|
249
|
-
if (Object.keys(dataModel).indexOf("validateErrorField") >= 0) {
|
|
250
|
-
delete dataModel.validateErrorField;
|
|
251
|
-
}
|
|
252
|
-
resolve(dataModel);
|
|
253
|
-
}
|
|
254
|
-
});
|
|
255
|
-
} else {
|
|
256
|
-
if (Object.keys(dataModel).indexOf("validateErrorField") >= 0) {
|
|
257
|
-
delete dataModel.validateErrorField;
|
|
258
|
-
}
|
|
259
|
-
resolve(dataModel);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
function validateCommonFormDataModel(dataModel, pageContext, rules, customRules) {
|
|
265
|
-
return new Promise((resolve, reject) => {
|
|
266
|
-
const handleModels = JSON.parse(JSON.stringify(dataModel));
|
|
267
|
-
rules = packageCustomRules(customRules, rules);
|
|
268
|
-
if (!rules) {
|
|
269
|
-
resolve(handleModels);
|
|
270
|
-
} else {
|
|
271
|
-
const validateEntityResult = validator(handleModels, rules, null, null, true);
|
|
272
|
-
if (validateEntityResult === true) {
|
|
273
|
-
const validateResult = validateSubTables(pageContext);
|
|
274
|
-
if (validateResult === true) {
|
|
275
|
-
if (Object.keys(handleModels).indexOf("validateErrorField") >= 0) {
|
|
276
|
-
delete handleModels.validateErrorField;
|
|
277
|
-
}
|
|
278
|
-
resolve(handleModels);
|
|
279
|
-
} else {
|
|
280
|
-
reject(
|
|
281
|
-
new Error(
|
|
282
|
-
util.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")
|
|
283
|
-
).message
|
|
284
|
-
);
|
|
285
|
-
}
|
|
286
|
-
} else {
|
|
287
|
-
reject(new Error(util.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
function packageCustomRules(orgCustomRules, orgRules) {
|
|
293
|
-
if (!orgCustomRules || !orgRules) {
|
|
294
|
-
return;
|
|
295
|
-
}
|
|
296
|
-
const customRulesKeys = Object.keys(orgCustomRules);
|
|
297
|
-
const customRules = orgCustomRules;
|
|
298
|
-
customRulesKeys.forEach((key) => {
|
|
299
|
-
if (key === "__subRules") {
|
|
300
|
-
const subRules = customRules["__subRules"];
|
|
301
|
-
const customSubTableKey = Object.keys(subRules);
|
|
302
|
-
customSubTableKey.forEach((subTableKey) => {
|
|
303
|
-
if (!orgRules.subRules) {
|
|
304
|
-
orgRules["subRules"] = {};
|
|
305
|
-
}
|
|
306
|
-
if (orgRules.subRules[subTableKey]) {
|
|
307
|
-
Object.assign(orgRules.subRules[subTableKey], subRules[subTableKey]);
|
|
308
|
-
} else {
|
|
309
|
-
orgRules.subRules[subTableKey] = subRules[subTableKey];
|
|
310
|
-
}
|
|
311
|
-
});
|
|
312
|
-
} else {
|
|
313
|
-
orgRules[key] = customRules[key];
|
|
314
|
-
}
|
|
315
|
-
});
|
|
316
|
-
return sublistVerify(orgRules);
|
|
317
|
-
}
|
|
318
|
-
function validateSubTables(pageContext) {
|
|
319
|
-
if (!pageContext) {
|
|
320
|
-
return;
|
|
321
|
-
}
|
|
322
|
-
const tableUuidArr = pageContext.tableUuids;
|
|
323
|
-
if (!tableUuidArr) {
|
|
324
|
-
return;
|
|
325
|
-
}
|
|
326
|
-
for (let i = 0; i < tableUuidArr.length; i++) {
|
|
327
|
-
const tableUuid = tableUuidArr[i];
|
|
328
|
-
const refDom = globalRefs.getComponentRef(pageContext, tableUuid);
|
|
329
|
-
if (refDom) {
|
|
330
|
-
const flag = refDom.validatorSunTableListData();
|
|
331
|
-
if (!flag) {
|
|
332
|
-
return false;
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
return true;
|
|
337
|
-
}
|
|
338
|
-
function i18nValidateRulesMessage(rules) {
|
|
339
|
-
if (!rules || Object.keys(rules).length === 0) {
|
|
340
|
-
return;
|
|
341
|
-
}
|
|
342
|
-
const newRules = {};
|
|
343
|
-
const propNames = Object.keys(rules);
|
|
344
|
-
for (let i = 0; i < propNames.length; i++) {
|
|
345
|
-
const propName = propNames[i];
|
|
346
|
-
const propRules = rules[propName];
|
|
347
|
-
propRules.forEach((rule) => {
|
|
348
|
-
const label = rule["label"];
|
|
349
|
-
const i18nLabel = util.getI18n().t(label);
|
|
350
|
-
if (rule["required"]) {
|
|
351
|
-
rule["message"] = util.getI18n().t("superPageRuntimeMessage.required", { label: i18nLabel });
|
|
352
|
-
}
|
|
353
|
-
if (rule["myType"]) {
|
|
354
|
-
rule["message"] = util.getI18n().t("superPageRuntimeMessage.formatMismatch", {
|
|
355
|
-
label: i18nLabel
|
|
356
|
-
});
|
|
357
|
-
}
|
|
358
|
-
if (rule["patternType"]) {
|
|
359
|
-
rule["message"] = util.getI18n().t("superPageRuntimeMessage.formatMismatch", {
|
|
360
|
-
label: i18nLabel
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
if (rule["max"] !== void 0 && rule["max"] !== null) {
|
|
364
|
-
rule["message"] = util.getI18n().t("superPageRuntimeMessage.overMaxLength", {
|
|
365
|
-
label: i18nLabel,
|
|
366
|
-
value: rule["max"]
|
|
367
|
-
});
|
|
368
|
-
}
|
|
369
|
-
if (rule["min"] !== void 0 && rule["min"] !== null) {
|
|
370
|
-
rule["message"] = util.getI18n().t("superPageRuntimeMessage.limitMinLength", {
|
|
371
|
-
label: i18nLabel,
|
|
372
|
-
value: rule["min"]
|
|
373
|
-
});
|
|
374
|
-
}
|
|
375
|
-
});
|
|
376
|
-
if (propName.indexOf(".") > 0) {
|
|
377
|
-
setObjectPropRule(propName, newRules, propRules);
|
|
378
|
-
} else {
|
|
379
|
-
if (propRules && propRules.length > 0) {
|
|
380
|
-
newRules[propName] = [...propRules];
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
return newRules;
|
|
385
|
-
}
|
|
386
|
-
exports.i18nValidateRulesMessage = i18nValidateRulesMessage;
|
|
387
|
-
exports.setObjectPropRule = setObjectPropRule;
|
|
388
|
-
exports.validateDataModelFunc = validateDataModelFunc;
|
|
389
|
-
exports.validator = validator;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
require("vue");
|
|
4
|
-
if (!window["globalRefs"]) {
|
|
5
|
-
window["globalRefs"] = {};
|
|
6
|
-
}
|
|
7
|
-
const globalRefs = window["globalRefs"];
|
|
8
|
-
function addComponentRef(pageContext, componentUuid, refObj) {
|
|
9
|
-
if (!pageContext) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
13
|
-
if (!globalRefs[cacheKey]) {
|
|
14
|
-
globalRefs[cacheKey] = {};
|
|
15
|
-
}
|
|
16
|
-
globalRefs[cacheKey][componentUuid] = refObj;
|
|
17
|
-
return globalRefs[cacheKey];
|
|
18
|
-
}
|
|
19
|
-
function addComponentRefByCode(pageContext, componentCode, refObj) {
|
|
20
|
-
if (!pageContext) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
const cacheKey = getPageRefKeyByCode(pageContext.code, pageContext.version);
|
|
24
|
-
if (!globalRefs[cacheKey]) {
|
|
25
|
-
globalRefs[cacheKey] = {};
|
|
26
|
-
}
|
|
27
|
-
globalRefs[cacheKey][componentCode] = refObj;
|
|
28
|
-
return globalRefs[cacheKey];
|
|
29
|
-
}
|
|
30
|
-
function getComponentRef(pageContext, componentUuid) {
|
|
31
|
-
if (!pageContext || !componentUuid) {
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
35
|
-
if (!globalRefs[cacheKey]) {
|
|
36
|
-
globalRefs[cacheKey] = {};
|
|
37
|
-
}
|
|
38
|
-
const objRef = globalRefs[cacheKey][componentUuid];
|
|
39
|
-
return objRef ? objRef.value : objRef;
|
|
40
|
-
}
|
|
41
|
-
function removePageAllRef(pageContext) {
|
|
42
|
-
if (!pageContext) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
46
|
-
globalRefs[cacheKey] = {};
|
|
47
|
-
}
|
|
48
|
-
function initComponentRefState(pageContext) {
|
|
49
|
-
if (!pageContext) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
const cacheKey = getPageRefKey(pageContext.code, pageContext.version);
|
|
53
|
-
globalRefs[cacheKey] = {};
|
|
54
|
-
}
|
|
55
|
-
function getPageRefKey(pageCode, pageVersion) {
|
|
56
|
-
return "pageRuntimeRef-" + pageCode + "-" + (pageVersion ? pageVersion : 1);
|
|
57
|
-
}
|
|
58
|
-
function getPageRefKeyByCode(pageCode, pageVersion) {
|
|
59
|
-
return getPageRefKey(pageCode, pageVersion) + "-code";
|
|
60
|
-
}
|
|
61
|
-
exports.addComponentRef = addComponentRef;
|
|
62
|
-
exports.addComponentRefByCode = addComponentRefByCode;
|
|
63
|
-
exports.getComponentRef = getComponentRef;
|
|
64
|
-
exports.initComponentRefState = initComponentRefState;
|
|
65
|
-
exports.removePageAllRef = removePageAllRef;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var PageDimensions = /* @__PURE__ */ ((PageDimensions2) => {
|
|
4
|
-
PageDimensions2["PC"] = "pc";
|
|
5
|
-
PageDimensions2["IPAD"] = "ipad";
|
|
6
|
-
PageDimensions2["PHONE"] = "phone";
|
|
7
|
-
return PageDimensions2;
|
|
8
|
-
})(PageDimensions || {});
|
|
9
|
-
exports.PageDimensions = PageDimensions;
|
|
@@ -1,87 +0,0 @@
|
|
|
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): any;
|
|
10
|
-
/**
|
|
11
|
-
* 初始化需要查询数据的信息
|
|
12
|
-
* @param component
|
|
13
|
-
* @param pageDesign
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function initComponentDataSources(component: Component, pageContext: PageContext): void;
|
|
17
|
-
/**
|
|
18
|
-
* 初始化数据源
|
|
19
|
-
* @param pageContext 页面上下文
|
|
20
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
21
|
-
*/
|
|
22
|
-
export declare function updateOptionDatasources(pageContext: PageContext, dataSourceConfs: Array<any>, query: any): Promise<any>;
|
|
23
|
-
/**
|
|
24
|
-
* 从页面缓存中获取查询到的选项组数据
|
|
25
|
-
* @param pageContext
|
|
26
|
-
* @param configure
|
|
27
|
-
*/
|
|
28
|
-
export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
29
|
-
/**
|
|
30
|
-
* 初始化数据源
|
|
31
|
-
* @param pageContext 页面上下文
|
|
32
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
33
|
-
* @param query 查询条件
|
|
34
|
-
*/
|
|
35
|
-
export declare function queryOptionDatasources(pageContext: PageContext, dataSourceConf: any, query: any): Promise<any>;
|
|
36
|
-
/**
|
|
37
|
-
* 根据查询条件远程查询
|
|
38
|
-
* @param component
|
|
39
|
-
* @param query 模糊查询内容
|
|
40
|
-
*/
|
|
41
|
-
export declare function queryOptions(component: Component, pageContext: PageContext, query: string): Promise<any>;
|
|
42
|
-
/**
|
|
43
|
-
* 根据查询条件远程查询
|
|
44
|
-
* @param component
|
|
45
|
-
* @param query 模糊查询内容
|
|
46
|
-
*/
|
|
47
|
-
export declare function autoSetAfterSelect(component: Component, pageContext: PageContext, autoSets: any[], selItems: any[]): void;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @param entity
|
|
51
|
-
* @param fields
|
|
52
|
-
* @returns
|
|
53
|
-
*/
|
|
54
|
-
export declare function getVariableValue(entity: any, fields: string[]): any;
|
|
55
|
-
/**
|
|
56
|
-
* 设置参数值
|
|
57
|
-
* @param entity
|
|
58
|
-
* @param fields
|
|
59
|
-
* @param newValue 新的值
|
|
60
|
-
*/
|
|
61
|
-
export declare function setVariableValue(entity: any, fields: string[], newValue: any): void;
|
|
62
|
-
/**
|
|
63
|
-
* 格式化变量值
|
|
64
|
-
* @param pageContext
|
|
65
|
-
* @param variable
|
|
66
|
-
*/
|
|
67
|
-
export declare function formatVariableValue(pageContext: PageContext, variable: string): any;
|
|
68
|
-
/**
|
|
69
|
-
* 根据类型格式化对象
|
|
70
|
-
* @param value
|
|
71
|
-
* @param formatInfo
|
|
72
|
-
* @returns
|
|
73
|
-
*/
|
|
74
|
-
export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
|
|
75
|
-
/**
|
|
76
|
-
* 打开链接
|
|
77
|
-
* @param component
|
|
78
|
-
* @param pageContext
|
|
79
|
-
*/
|
|
80
|
-
export declare function openLink(component: Component, pageContext: PageContext): void;
|
|
81
|
-
/**
|
|
82
|
-
* 计算组件是否显示
|
|
83
|
-
* @param pageContext 页面对象
|
|
84
|
-
* @param configure 组件配置参数
|
|
85
|
-
* @param showConditions 显示条件
|
|
86
|
-
*/
|
|
87
|
-
export declare function caculateShowCondition(pageContext: PageContext, configure: Component, showConditions: Array<any>): any;
|