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,203 @@
|
|
|
1
|
+
import e from "agilebuilder-ui/src/utils/request";
|
|
2
|
+
import { getAdditionalParamMap as t } from "./events/standard-event.js";
|
|
3
|
+
import { PageDimensions as s } from "./interfaces/page-design-types.js";
|
|
4
|
+
import { getFormPropName as i, getVariableValue as n, setVariableValue as o, formatVariableValue as r } from "./page-helper-util.js";
|
|
5
|
+
import { getSessionCache as l } from "agilebuilder-ui/src/utils/auth";
|
|
6
|
+
import { functions as a } from "./api/page-expose-util.js";
|
|
7
|
+
import { isWorkflowPage as p, deepCopy as u } from "./common-util.js";
|
|
8
|
+
import { packageCustomValidator as d } from "./events/validator-util.js";
|
|
9
|
+
import { isMobileBrowser as f } from "agilebuilder-ui/src/utils/common-util";
|
|
10
|
+
function m(t2) {
|
|
11
|
+
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t2);
|
|
12
|
+
}
|
|
13
|
+
function c(e2) {
|
|
14
|
+
var _a, _b, _c;
|
|
15
|
+
if (null == e2) return null;
|
|
16
|
+
const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: g(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, isWorkflowEntity: void 0 !== ((_b = e2.props) == null ? void 0 : _b.activeWorkflow) ? (_c = e2.props) == null ? void 0 : _c.activeWorkflow : e2.isWorkflowEntity, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam } };
|
|
17
|
+
if (e2.props && e2.props.notIdInitializationList) {
|
|
18
|
+
let s2 = e2.props.notIdInitializationList;
|
|
19
|
+
"string" == typeof s2 && (s2 = JSON.parse(s2)), s2.length > 0 && (t2.notIdInitializationList = s2);
|
|
20
|
+
}
|
|
21
|
+
if (e2.variables) {
|
|
22
|
+
const s2 = t2.entity.page;
|
|
23
|
+
for (const t3 of e2.variables) t3.name && (t3.isArrayElement ? s2[t3.name] = [] : t3.defaultValue ? s2[t3.name] = t3.defaultValue : s2[t3.name] = void 0);
|
|
24
|
+
}
|
|
25
|
+
return function(e3) {
|
|
26
|
+
if (f()) {
|
|
27
|
+
e3.entity.page._isMobile = "true";
|
|
28
|
+
const t3 = navigator ? navigator.userAgent : null;
|
|
29
|
+
t3 ? t3.indexOf(" uni-app ") > 0 ? (e3.entity.page._isMobileApp = "true", e3.entity.page._isMobileBrowser = "false") : (e3.entity.page._isMobileApp = "false", e3.entity.page._isMobileBrowser = "true") : (e3.entity.page._isMobileApp = "false", e3.entity.page._isMobileBrowser = "false");
|
|
30
|
+
} else e3.entity.page._isMobile = "false";
|
|
31
|
+
}(t2), Object.assign(t2, e2), t2.dimensions = function() {
|
|
32
|
+
const e3 = window.outerWidth;
|
|
33
|
+
if (!e3) return s.PC;
|
|
34
|
+
return e3 > 768 ? s.PC : e3 > 414 ? s.IPAD : s.PHONE;
|
|
35
|
+
}(), t2.events = e2.runtime && e2.runtime.events ? e2.runtime.events : [], t2;
|
|
36
|
+
}
|
|
37
|
+
function g(e2) {
|
|
38
|
+
try {
|
|
39
|
+
return e2.props && e2.props.judgeHeavyList.length > 0 ? (e2.props.judgeHeavyList.forEach((e3) => {
|
|
40
|
+
e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
|
|
41
|
+
}), e2.props.judgeHeavyList) : null;
|
|
42
|
+
} catch (e3) {
|
|
43
|
+
console.error("getJudgeHeavyList error:", e3);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function b(e2) {
|
|
47
|
+
let t2 = decodeURI(window.location.href);
|
|
48
|
+
if (t2 && t2.includes("?")) {
|
|
49
|
+
t2 = t2.substring(t2.lastIndexOf("?") + 1);
|
|
50
|
+
const s2 = t2.split("&");
|
|
51
|
+
for (const t3 of s2) {
|
|
52
|
+
const s3 = t3.split("=");
|
|
53
|
+
let i2 = s3[0];
|
|
54
|
+
const n2 = s3.length > 1 ? s3[1] : "";
|
|
55
|
+
e2[i2] = n2, i2.indexOf("ai__") >= 0 && (i2 = i2.substring(i2.indexOf("ai__") + 4)), e2[i2] = n2;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
e2._t_;
|
|
59
|
+
}
|
|
60
|
+
function y(e2, t2) {
|
|
61
|
+
if (e2) {
|
|
62
|
+
Object.assign(t2, e2);
|
|
63
|
+
w(e2.paramStoreId, t2), delete e2.paramStoreId, e2.jumpMode && (t2.jumpMode = e2.jumpMode);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function h(e2, t2) {
|
|
67
|
+
if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query, e2.query)) {
|
|
68
|
+
Object.assign(t2, e2.query);
|
|
69
|
+
w(e2.query.paramStoreId, t2);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function w(e2, t2) {
|
|
73
|
+
if (e2) {
|
|
74
|
+
const s2 = l(e2);
|
|
75
|
+
if (s2) {
|
|
76
|
+
const e3 = JSON.parse(s2);
|
|
77
|
+
Object.assign(t2, e3);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
function E(e2, t2) {
|
|
82
|
+
let s2, i2 = t2;
|
|
83
|
+
t2 || (s2 = e2.props.base ? e2.props.base : {}, i2 = s2.prop);
|
|
84
|
+
let n2 = null;
|
|
85
|
+
return t2 && !t2.startsWith("${") ? n2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), n2 = i2.split("."), e2 && n2.length < 2 && (n2 = [e2.uuid])) : e2 && (n2 = ["page", e2.uuid]) : n2 = ["page", e2.uuid], n2 || e2 ? n2 : ["temp"];
|
|
86
|
+
}
|
|
87
|
+
function v(e2, t2, s2) {
|
|
88
|
+
const i2 = E(t2, s2), r2 = e2.entity;
|
|
89
|
+
if (null == r2.data.ID && null == r2.data.id) {
|
|
90
|
+
let s3, l2, a2 = false;
|
|
91
|
+
t2 && (s3 = t2.props.base ? t2.props.base : {}, l2 = t2.name, a2 = s3.multiple);
|
|
92
|
+
const p2 = n(r2, i2);
|
|
93
|
+
if (null == p2) {
|
|
94
|
+
const t3 = s3 ? s3.defaultValue : null;
|
|
95
|
+
if (t3) {
|
|
96
|
+
const s4 = P(e2, t3, l2, a2);
|
|
97
|
+
null != s4 && o(r2, i2, s4);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return i2;
|
|
102
|
+
}
|
|
103
|
+
function P(e2, t2, s2, i2) {
|
|
104
|
+
let n2;
|
|
105
|
+
if (t2 && (n2 = r(e2, t2), null != n2 && null != n2 && s2)) {
|
|
106
|
+
let e3 = false;
|
|
107
|
+
"checkbox" == s2 ? e3 = true : "select" == s2 && (e3 = i2), e3 && (n2 = (n2 + "").split(","));
|
|
108
|
+
}
|
|
109
|
+
return n2;
|
|
110
|
+
}
|
|
111
|
+
function M(e2, t2) {
|
|
112
|
+
var _a, _b;
|
|
113
|
+
if (false === ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isPermission)) return "true";
|
|
114
|
+
const s2 = [];
|
|
115
|
+
if (e2.autoPermissions) for (const i2 of e2.autoPermissions) s2.push(t2.code + "." + i2.simpleCode);
|
|
116
|
+
if (e2.functionCodes) {
|
|
117
|
+
const i2 = e2.sourceTypes ? e2.sourceTypes : [], n2 = e2.functionCodes;
|
|
118
|
+
for (let e3 = 0; e3 < n2.length; e3++) {
|
|
119
|
+
const o2 = n2[e3], r2 = e3 < i2.length ? i2[e3] : "";
|
|
120
|
+
let l2 = "";
|
|
121
|
+
if ("service" == r2) l2 = o2;
|
|
122
|
+
else if ("standard" === r2) l2 = t2.code + "." + o2;
|
|
123
|
+
else {
|
|
124
|
+
l2 = "custom" === k(o2, t2).type ? o2 : t2.code + "." + o2;
|
|
125
|
+
}
|
|
126
|
+
s2.includes(l2) || s2.push(l2);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
return s2.join(",");
|
|
130
|
+
}
|
|
131
|
+
function k(e2, t2) {
|
|
132
|
+
const s2 = t2.pagePermissions;
|
|
133
|
+
if (s2 && s2.length > 0) {
|
|
134
|
+
for (let t3 = 0; t3 < s2.length; t3++) if (s2[t3].simpleCode === e2) return s2[t3];
|
|
135
|
+
}
|
|
136
|
+
return null;
|
|
137
|
+
}
|
|
138
|
+
function j(s2, i2, n2) {
|
|
139
|
+
const o2 = s2.tableRuntimes, r2 = t(i2);
|
|
140
|
+
let l2;
|
|
141
|
+
const a2 = i2.code;
|
|
142
|
+
return r2 && Object.keys(r2) > 0 && (l2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: l2, pageCode: a2, publishVersion: n2, pageType: s2.pageType });
|
|
143
|
+
}
|
|
144
|
+
const C = ["button-detail", "print-label"];
|
|
145
|
+
function I(e2, t2, s2) {
|
|
146
|
+
var _a, _b;
|
|
147
|
+
const n2 = t2.props && t2.props.base ? t2.props.base.prop : null, o2 = p(e2);
|
|
148
|
+
let r2 = false;
|
|
149
|
+
if (o2 && C.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
|
|
150
|
+
const s3 = e2.fieldPermissionMap.get("all_fields");
|
|
151
|
+
false === (s3 == null ? void 0 : s3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", r2 = true);
|
|
152
|
+
}
|
|
153
|
+
if (n2) {
|
|
154
|
+
const l2 = i(n2);
|
|
155
|
+
if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[l2] || (e2.rules[l2] = []), t2.props.rules.forEach((e3) => {
|
|
156
|
+
d(e3), !s2 && e3 && e3.required && (e3.required = false);
|
|
157
|
+
}), e2.rules[l2] = t2.props.rules), o2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
|
|
158
|
+
const i2 = e2.fieldPermissionMap.get(l2);
|
|
159
|
+
if (!s2 && e2.workflowRules && (e2.workflowRules[l2] || e2.workflowRules.rules && e2.workflowRules.rules[l2])) {
|
|
160
|
+
let t3 = e2.workflowRules[l2];
|
|
161
|
+
if (!t3 && e2.workflowRules.rules && (t3 = e2.workflowRules.rules[l2]), t3 && Array.isArray(t3) && t3.length > 0) for (let e3 = 0; e3 < t3.length; e3++) {
|
|
162
|
+
const s3 = t3[e3];
|
|
163
|
+
if (s3 && s3.required) {
|
|
164
|
+
s3.required = false;
|
|
165
|
+
break;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
else t3 && t3.required && (t3.required = false);
|
|
169
|
+
}
|
|
170
|
+
t2.runtime.props || (t2.runtime.props = {}), i2 ? (!s2 && i2.canEdit && (i2.canEdit = false), false === i2.canEdit ? t2.runtime.props.state = "disabled" : i2.canEdit && (t2.runtime.props.state = "", t2.runtime.props.required = true)) : t2.runtime.props.state = "";
|
|
171
|
+
}
|
|
172
|
+
((_b = t2.props) == null ? void 0 : _b.customRuleEvents) && (e2.customRuleEvents || (e2.customRuleEvents = []), e2.customRuleEvents.push({ prop: l2, events: t2.props.customRuleEvents }));
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
function O(e2, t2) {
|
|
176
|
+
if (e2.initInfo) {
|
|
177
|
+
["dynamicControlFormEdit", "disableElement", "enableElement", "hideElement", "showElement"].forEach((s2) => {
|
|
178
|
+
const i2 = e2.initInfo[s2];
|
|
179
|
+
if (i2) if ("dynamicControlFormEdit" === s2) {
|
|
180
|
+
let s3 = i2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
|
|
181
|
+
if (s3 && s3.length > 0 && (s3 = s3.filter((e3) => "_all_fields" === e3.name), s3 && s3.length > 0)) {
|
|
182
|
+
const e3 = u(s3[0]);
|
|
183
|
+
e3.name = t2, s3 = [e3];
|
|
184
|
+
}
|
|
185
|
+
a.dynamicControlFormEdit(e2, s3, false);
|
|
186
|
+
} else "disableElement" === s2 ? i2.indexOf(t2) >= 0 && a.disableElement(e2, [t2], false) : "enableElement" === s2 ? i2.indexOf(t2) >= 0 && a.enableElement(e2, [t2], false) : "hideElement" === s2 ? i2.indexOf(t2) >= 0 && a.hideElement(e2, [t2], false) : "showElement" === s2 && i2.indexOf(t2) >= 0 && a.showElement(e2, [t2], false);
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
export {
|
|
191
|
+
O as controlObjectRenderState,
|
|
192
|
+
c as convertToPageContext,
|
|
193
|
+
P as getDefaultValue,
|
|
194
|
+
v as getFormModelFields,
|
|
195
|
+
E as getModelFields,
|
|
196
|
+
M as getPermissionCodes,
|
|
197
|
+
b as packageAdditionalMapWithLocationSearch,
|
|
198
|
+
y as packageAdditionalMapWithPageRequest,
|
|
199
|
+
h as packageAdditionalMapWithRoute,
|
|
200
|
+
I as packageFormRules,
|
|
201
|
+
m as queryPageDesignByCode,
|
|
202
|
+
j as queryPageSuperGrids
|
|
203
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare enum FuncType {
|
|
2
|
+
/**
|
|
3
|
+
* 公用
|
|
4
|
+
*/
|
|
5
|
+
AUTHENTICATED = "AUTHENTICATED",
|
|
6
|
+
/**
|
|
7
|
+
* 匿名
|
|
8
|
+
*/
|
|
9
|
+
ANONYMOUS = "ANONYMOUS",
|
|
10
|
+
/**
|
|
11
|
+
* 专用
|
|
12
|
+
*/
|
|
13
|
+
AUTHORIZED = "AUTHORIZED"
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 根据简码获取对应的资源信息
|
|
17
|
+
* @param eventName 方法名
|
|
18
|
+
* @returns
|
|
19
|
+
*/
|
|
20
|
+
export declare function getStandPermissionInfo(eventName: string): any;
|
|
21
|
+
/**
|
|
22
|
+
* 获取资源信息
|
|
23
|
+
* @param simpleCode
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
export declare function getFunctionInfo(simpleCode: string): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var o = ((o2) => (o2.AUTHENTICATED = "AUTHENTICATED", o2.ANONYMOUS = "ANONYMOUS", o2.AUTHORIZED = "AUTHORIZED", o2))(o || {});
|
|
2
|
+
const e = { page: { label: "页面", functions: [{ label: "页面", path: "temp" }] }, gets: { group: "表单标准功能", label: "获取表单数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/gets$POST" }] }, workflowGets: { group: "标准流程", label: "获取表单及流程数据", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/gets$POST" }] }, save: { group: "表单标准功能", label: "暂存", functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, submit: { group: "表单标准功能", label: "提交", functions: [{ path: "/commons/submits$POST" }] }, exportForm: { group: "表单标准功能", label: "导出报告", functions: [{ path: "/commons/export-reports$POST" }] }, exportPDF: { group: "表单标准功能", label: "导出PDF", functions: [{ path: "/commons/exportPDF$POST" }] }, agree: { group: "表单标准功能", label: "同意", functions: [{ path: "/commons/approves$POST" }] }, disagree: { group: "表单标准功能", label: "不同意", functions: [{ path: "/commons/refuses$POST" }] }, back: { group: "表单标准功能", label: "返回", functions: [] }, workflowSave: { group: "流程表单功能", label: "暂存", functions: [{ label: "暂存", code: "save", funcType: "AUTHENTICATED", path: "/workflow-commons$POST" }, { label: "修改", code: "update", funcType: "AUTHENTICATED", path: "/workflow-commons$PUT" }] }, workflowStart: { group: "流程表单功能", label: "起草", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/start$POST" }] }, submitProcess: { group: "流程表单功能", label: "提交流程", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/submit$POST" }] }, submitTask: { group: "流程表单功能", label: "提交任务", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.submit", path: "/workflow-commons/complete-tasks$POST" }] }, approve: { group: "流程表单功能", label: "同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.approve", path: "/workflow-commons/complete-tasks$POST" }] }, refuse: { group: "流程表单功能", label: "不同意", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.refuse", path: "/workflow-commons/complete-tasks$POST" }] }, assign: { group: "流程表单功能", label: "指派", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/assigns$POST" }] }, drawTask: { group: "流程表单功能", label: "领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/draw-tasks$POST" }] }, abandonReceive: { group: "流程表单功能", label: "放弃领取", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }] }, readed: { group: "流程表单功能", label: "已阅", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.readed", path: "/workflow-commons/complete-tasks$POST" }] }, agreement: { group: "流程表单功能", label: "赞成", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.agreement", path: "/workflow-commons/complete-tasks$POST" }] }, oppose: { group: "流程表单功能", label: "反对", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.oppose", path: "/workflow-commons/complete-tasks$POST" }] }, kiken: { group: "流程表单功能", label: "弃权", functions: [{ funcType: "AUTHENTICATED", code: "completeTask.kiken", path: "/workflow-commons/complete-tasks$POST" }] }, addSigner: { group: "流程表单功能", label: "加签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/add-signers$POST" }] }, removeSigner: { group: "流程表单功能", label: "减签", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/abandon-receives$POST" }, { code: "getRemoveSigners", label: "获取可减签人员", funcType: "AUTHENTICATED", path: "/workflow-commons/get-remove-signers$POST" }] }, copyTask: { group: "流程表单功能", label: "抄送", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/copies$POST" }] }, retrieveTask: { group: "流程表单功能", label: "取回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/retrieves$POST" }] }, returnToPreviousTask: { group: "流程表单功能", label: "驳回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/return-to-previous-tasks$POST" }] }, returnTaskTo: { group: "流程表单功能", label: "退回", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/returnTaskTo$POST" }, { code: "returnableTaskInformation", label: "获取可退回环节信息", funcType: "AUTHENTICATED", path: "/workflow-commons/returnable-task/{taskId}$POST" }] }, endInstance: { group: "流程表单功能", label: "强制结束", functions: [{ funcType: "AUTHENTICATED", path: "/workflow-commons/end-instance$POST" }] }, listData: { group: "列表功能", label: "列表数据", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list$POST" }] }, listSubData: { group: "列表功能", label: "列表子级", functions: [{ funcType: "AUTHENTICATED", path: "/commons/list-subs$POST" }] }, saveList: { group: "列表功能", label: "暂存", props: { base: { type: "info", plain: true } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }, { funcType: "AUTHENTICATED", code: "update", label: "修改", path: "/commons$POST" }] }, delete: { group: "列表功能", label: "删除", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/{tableName}$DELETE" }] }, submitList: { group: "列表功能", label: "提交", props: { base: { type: "primary" } }, functions: [{ path: "/commons/batch-submits$POST" }] }, agreeList: { group: "列表功能", label: "同意", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/batch-approves$POST" }] }, disagreeList: { group: "列表功能", label: "不同意", props: { base: { type: "danger", plain: true } }, functions: [{ path: "/commons/batch-refuses$POST" }] }, import: { group: "列表功能", label: "导入", props: { base: { type: "primary", plain: true } }, functions: [{ path: "/commons/import-data$POST" }] }, export: { group: "列表功能", label: "导出", props: { base: { type: "success", plain: true } }, functions: [{ path: "/commons/export-list-data$POST" }] }, search: { group: "列表功能", label: "查询", functions: [] }, showMobileSearch: { group: "列表功能", label: "显示移动端查询区域", functions: [] }, downloadTemplate: { group: "列表功能", label: "下载导入模板", functions: [{ path: "/commons/download-files$GET" }] }, lineEditCreate: { group: "列表行编辑功能", label: "新建", props: { base: { type: "primary" } }, functions: [{ code: "create", label: "暂存", path: "/commons$POST" }] }, lineEditSave: { group: "列表行编辑功能", label: "保存", props: { base: { type: "success", text: true } }, functions: [{ code: "create", label: "保存", path: "/commons$POST" }, { code: "update", label: "修改", path: "/commons$POST" }] }, lineEditDelete: { group: "列表行编辑功能", label: "删除", props: { base: { type: "danger", text: true } }, functions: [{ code: "delete", path: "/commons/{tableName}$DELETE" }] }, lineEditUpdate: { group: "列表行编辑功能", label: "修改", props: { base: { type: "primary", text: true } }, functions: [{ code: "update", label: "修改", path: "/commons$POST" }] }, restoreEdit: { group: "列表行编辑功能", label: "取消", props: { base: { type: "info", text: true } }, functions: [] } }, s = {};
|
|
3
|
+
function t(o2) {
|
|
4
|
+
return o2 ? e[o2] : void 0;
|
|
5
|
+
}
|
|
6
|
+
function n(o2) {
|
|
7
|
+
if (!o2) return;
|
|
8
|
+
let t2 = s[o2];
|
|
9
|
+
if (null == t2) {
|
|
10
|
+
for (const s2 in e) {
|
|
11
|
+
const n2 = e[s2].functions;
|
|
12
|
+
if (n2) {
|
|
13
|
+
for (const e2 of n2) {
|
|
14
|
+
if (o2 === (e2.code ? e2.code : s2)) {
|
|
15
|
+
t2 = e2;
|
|
16
|
+
break;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
if (t2) break;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
s[o2] = t2 || "";
|
|
23
|
+
}
|
|
24
|
+
return t2 || void 0;
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
o as FuncType,
|
|
28
|
+
n as getFunctionInfo,
|
|
29
|
+
t as getStandPermissionInfo
|
|
30
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare const usePageContextStore: import('pinia').StoreDefinition<"pageContextUtil", Pick<{
|
|
2
|
+
pageContext: any;
|
|
3
|
+
setPageContext: (newPageContext: any) => void;
|
|
4
|
+
countComponentsTotalNmber: () => void;
|
|
5
|
+
countComponentsLoadedNumber: () => void;
|
|
6
|
+
componentsTotalNmber: import('vue').Ref<number, number>;
|
|
7
|
+
componentsLoadedNumber: import('vue').Ref<number, number>;
|
|
8
|
+
setPageComponentsLoaded: (state: boolean) => void;
|
|
9
|
+
setFormPageDataLoadState: (state: boolean) => void;
|
|
10
|
+
formPageDataLoaded: import('vue').Ref<boolean, boolean>;
|
|
11
|
+
pageComponentsLoaded: import('vue').Ref<boolean, boolean>;
|
|
12
|
+
restorePageLoadState: () => void;
|
|
13
|
+
pageLoaded: import('vue').Ref<boolean, boolean>;
|
|
14
|
+
getPageLoaded: () => boolean;
|
|
15
|
+
setPageLoaded: (state: boolean) => void;
|
|
16
|
+
}, "pageContext" | "componentsTotalNmber" | "componentsLoadedNumber" | "formPageDataLoaded" | "pageComponentsLoaded" | "pageLoaded">, Pick<{
|
|
17
|
+
pageContext: any;
|
|
18
|
+
setPageContext: (newPageContext: any) => void;
|
|
19
|
+
countComponentsTotalNmber: () => void;
|
|
20
|
+
countComponentsLoadedNumber: () => void;
|
|
21
|
+
componentsTotalNmber: import('vue').Ref<number, number>;
|
|
22
|
+
componentsLoadedNumber: import('vue').Ref<number, number>;
|
|
23
|
+
setPageComponentsLoaded: (state: boolean) => void;
|
|
24
|
+
setFormPageDataLoadState: (state: boolean) => void;
|
|
25
|
+
formPageDataLoaded: import('vue').Ref<boolean, boolean>;
|
|
26
|
+
pageComponentsLoaded: import('vue').Ref<boolean, boolean>;
|
|
27
|
+
restorePageLoadState: () => void;
|
|
28
|
+
pageLoaded: import('vue').Ref<boolean, boolean>;
|
|
29
|
+
getPageLoaded: () => boolean;
|
|
30
|
+
setPageLoaded: (state: boolean) => void;
|
|
31
|
+
}, "pageContext">, Pick<{
|
|
32
|
+
pageContext: any;
|
|
33
|
+
setPageContext: (newPageContext: any) => void;
|
|
34
|
+
countComponentsTotalNmber: () => void;
|
|
35
|
+
countComponentsLoadedNumber: () => void;
|
|
36
|
+
componentsTotalNmber: import('vue').Ref<number, number>;
|
|
37
|
+
componentsLoadedNumber: import('vue').Ref<number, number>;
|
|
38
|
+
setPageComponentsLoaded: (state: boolean) => void;
|
|
39
|
+
setFormPageDataLoadState: (state: boolean) => void;
|
|
40
|
+
formPageDataLoaded: import('vue').Ref<boolean, boolean>;
|
|
41
|
+
pageComponentsLoaded: import('vue').Ref<boolean, boolean>;
|
|
42
|
+
restorePageLoadState: () => void;
|
|
43
|
+
pageLoaded: import('vue').Ref<boolean, boolean>;
|
|
44
|
+
getPageLoaded: () => boolean;
|
|
45
|
+
setPageLoaded: (state: boolean) => void;
|
|
46
|
+
}, "pageContext" | "setPageContext" | "countComponentsTotalNmber" | "countComponentsLoadedNumber" | "setPageComponentsLoaded" | "setFormPageDataLoadState" | "restorePageLoadState" | "getPageLoaded" | "setPageLoaded">>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ref as e } from "vue";
|
|
2
|
+
import { defineStore as a } from "pinia";
|
|
3
|
+
import o from "./eventBus.js";
|
|
4
|
+
const t = a("pageContextUtil", () => {
|
|
5
|
+
const a2 = e({ systemCode: "", systemVersion: -1 }), t2 = e(false), n = e(false), u = e(false), l = e(0), v = e(0);
|
|
6
|
+
return { pageContext: a2, setPageContext: function(e2) {
|
|
7
|
+
a2.value = e2;
|
|
8
|
+
}, countComponentsTotalNmber: function() {
|
|
9
|
+
l.value++, t2.value = false, u.value = false;
|
|
10
|
+
}, countComponentsLoadedNumber: function() {
|
|
11
|
+
v.value++, u.value = false;
|
|
12
|
+
}, componentsTotalNmber: l, componentsLoadedNumber: v, setPageComponentsLoaded: function(e2) {
|
|
13
|
+
t2.value = e2, t2.value && n.value && (o.$emit("pageLoaded"), u.value = true);
|
|
14
|
+
}, setFormPageDataLoadState: function(e2) {
|
|
15
|
+
n.value = e2, t2.value && n.value && (t2.value, n.value, u.value = true);
|
|
16
|
+
}, formPageDataLoaded: n, pageComponentsLoaded: t2, restorePageLoadState: function() {
|
|
17
|
+
t2.value = false, n.value = false, u.value = false;
|
|
18
|
+
}, pageLoaded: u, getPageLoaded: function() {
|
|
19
|
+
return u.value;
|
|
20
|
+
}, setPageLoaded: function(e2) {
|
|
21
|
+
u.value = e2;
|
|
22
|
+
} };
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
t as usePageContextStore
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import t from "./store.js";
|
|
2
|
+
function o(o2, n, r, s) {
|
|
3
|
+
const c = e(o2, n);
|
|
4
|
+
let f = t.get(c);
|
|
5
|
+
f || (f = {}, t.set(c, f)), f[r] = s;
|
|
6
|
+
}
|
|
7
|
+
function e(t2, o2) {
|
|
8
|
+
return t2 + ":" + o2;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
e as getPageStoreKey,
|
|
12
|
+
o as setStoreInfo
|
|
13
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export declare function getDataTypeMapRequest(backendUrl: any, tableName: any, isTest?: boolean): any;
|
|
2
|
+
export declare function popupToPage(params: any): void;
|
|
3
|
+
export declare function getTableNameByTableUuid(pageContext: any, tableUuid: any): any;
|
|
4
|
+
export declare function getOperationButtons(pageContext: any, configure: any, operations: any, clickEventFunc?: Function): void;
|
|
5
|
+
/**
|
|
6
|
+
* 解析跳转条件配置
|
|
7
|
+
* @param pageContext
|
|
8
|
+
* @param configure
|
|
9
|
+
* @param linkPage
|
|
10
|
+
* @param row
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
export declare function expressJump(pageContext: any, configure: any, linkPage: any, row: any): {
|
|
14
|
+
show: any;
|
|
15
|
+
toPage: any;
|
|
16
|
+
};
|
|
17
|
+
export declare function getDistanceToAppContainer(tableDivRef: any): {
|
|
18
|
+
distanceToTop: number;
|
|
19
|
+
distanceToBottom: number;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* 是否有字段的权限
|
|
23
|
+
* @param pageContext
|
|
24
|
+
* @param fieldName
|
|
25
|
+
* @returns
|
|
26
|
+
*/
|
|
27
|
+
export declare function isHasFieldAuth(pageContext: any, configure: any): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 是否有字段的权限
|
|
30
|
+
* @param pageContext
|
|
31
|
+
* @param fieldName
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
export declare function isHasFieldPermissionAuth(pageContext: any, tableName: any, fieldName: any): boolean;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import "agilebuilder-ui/src/utils/common-util";
|
|
2
|
+
import "agilebuilder-ui/src/utils/util";
|
|
3
|
+
import { ExpressionEvaluator as t } from "../views/assemblys/chart/table/chart-table-util.js";
|
|
4
|
+
import { getCustomFunc as e } from "./events/event-util.js";
|
|
5
|
+
import "agilebuilder-ui/src/utils/request";
|
|
6
|
+
import i from "./eventBus.js";
|
|
7
|
+
import { getPermissionCodes as o } from "./page-init-util.js";
|
|
8
|
+
import { $t as n } from "./i18n-util.js";
|
|
9
|
+
import { getFormPropName as s } from "./page-helper-util.js";
|
|
10
|
+
function r(t2) {
|
|
11
|
+
const e2 = t2.pageContext && t2.pageContext.code;
|
|
12
|
+
i.$emit(e2 + "_open-dialog", t2);
|
|
13
|
+
}
|
|
14
|
+
function u(t2, e2) {
|
|
15
|
+
const i2 = t2.tableName;
|
|
16
|
+
if (!e2 && i2) return i2;
|
|
17
|
+
let o2;
|
|
18
|
+
return t2.tableRuntimes && e2 && t2.tableRuntimes[e2] && (o2 = JSON.parse(t2.tableRuntimes[e2].configure)), o2 && o2.props && o2.props.dataOrigin ? o2.props.dataOrigin.tableName : null;
|
|
19
|
+
}
|
|
20
|
+
function l(t2, e2, i2, s2) {
|
|
21
|
+
const r2 = !(!e2.props || !e2.props.base) && e2.props.base.showOperation, u2 = e2.btnList;
|
|
22
|
+
e2.btnList, r2 && u2 && u2.forEach((e3) => {
|
|
23
|
+
const r3 = {}, u3 = Object.assign({}, e3.props.base);
|
|
24
|
+
if ("custom" === e3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === e3.isPermission || e3.isPermission + "" == "true") {
|
|
25
|
+
const i3 = o(e3, t2);
|
|
26
|
+
i3 && (u3.permission = i3);
|
|
27
|
+
}
|
|
28
|
+
if (u3.label = n(u3.title), u3.sourceButton = { uuid: e3.uuid }, r3.props = u3, void 0 !== s2) {
|
|
29
|
+
const t3 = s2(e3);
|
|
30
|
+
r3.onClick = (t3 == null ? void 0 : t3.onClick) ?? t3, r3.eventName = t3 == null ? void 0 : t3.eventName;
|
|
31
|
+
}
|
|
32
|
+
i2.push(r3);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function p(i2, o2, n2, s2) {
|
|
36
|
+
let r2;
|
|
37
|
+
const u2 = n2 == null ? void 0 : n2.some((n3) => {
|
|
38
|
+
let u3 = false;
|
|
39
|
+
if (n3.scopeFunc) {
|
|
40
|
+
const t2 = e(i2, n3.scopeFunc);
|
|
41
|
+
if (t2) {
|
|
42
|
+
t2.apply(t2, [{ pageContext: i2, configureObj: o2, row: s2 }]) && (u3 = true);
|
|
43
|
+
}
|
|
44
|
+
} else if (n3.showCondition && n3.showCondition.length > 0) {
|
|
45
|
+
t.evaluate(i2, n3.showCondition, s2) && (u3 = true);
|
|
46
|
+
} else u3 = true;
|
|
47
|
+
if (u3) return r2 = n3, true;
|
|
48
|
+
});
|
|
49
|
+
return { show: u2, toPage: r2 };
|
|
50
|
+
}
|
|
51
|
+
function a(t2, e2) {
|
|
52
|
+
var _a;
|
|
53
|
+
const i2 = t2.tableName;
|
|
54
|
+
let o2 = "";
|
|
55
|
+
const n2 = (_a = e2 == null ? void 0 : e2.props) == null ? void 0 : _a.base;
|
|
56
|
+
if (n2 && n2.prop) {
|
|
57
|
+
const t3 = n2.prop;
|
|
58
|
+
o2 = s(t3);
|
|
59
|
+
}
|
|
60
|
+
return c(t2, i2, o2);
|
|
61
|
+
}
|
|
62
|
+
function c(t2, e2, i2) {
|
|
63
|
+
if (!i2 || !e2) return true;
|
|
64
|
+
const o2 = t2.branchFieldAuth;
|
|
65
|
+
if (o2) {
|
|
66
|
+
const t3 = o2.hasAuthFields;
|
|
67
|
+
if (t3 && t3[e2] && t3[e2].indexOf(i2) >= 0) return true;
|
|
68
|
+
const n2 = o2.allAuthFields;
|
|
69
|
+
if (n2 && n2[e2] && n2[e2].indexOf(i2) >= 0) return false;
|
|
70
|
+
}
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
export {
|
|
74
|
+
p as expressJump,
|
|
75
|
+
l as getOperationButtons,
|
|
76
|
+
u as getTableNameByTableUuid,
|
|
77
|
+
a as isHasFieldAuth,
|
|
78
|
+
c as isHasFieldPermissionAuth,
|
|
79
|
+
r as popupToPage
|
|
80
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { getBaseUrl as e, getRealRestApiPath as t } from "./common-util.js";
|
|
2
|
+
import a from "agilebuilder-ui/src/utils/request";
|
|
3
|
+
import "./eventBus.js";
|
|
4
|
+
import { getPermissionCodes as o } from "./page-init-util.js";
|
|
5
|
+
import "agilebuilder-ui/src/utils/common-util";
|
|
6
|
+
import "agilebuilder-ui/src/utils/util";
|
|
7
|
+
import "element-plus";
|
|
8
|
+
import "agilebuilder-ui/src/utils/auth";
|
|
9
|
+
import "./global-refs.js";
|
|
10
|
+
import "axios";
|
|
11
|
+
import "dayjs";
|
|
12
|
+
import "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
13
|
+
import "vue";
|
|
14
|
+
import "./events/print-label.js";
|
|
15
|
+
import "./page-store.js";
|
|
16
|
+
import "agilebuilder-ui/src/utils/i18n-util";
|
|
17
|
+
import "vue-i18n";
|
|
18
|
+
import "async-validator";
|
|
19
|
+
function i(i2, r2, s2, n2, p2) {
|
|
20
|
+
return new Promise((s3, n3) => {
|
|
21
|
+
var _a, _b;
|
|
22
|
+
if (r2 && ((_a = r2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) if ("beanName" === ((_b = r2.props.dataOrigin) == null ? void 0 : _b.optionValueSetType)) {
|
|
23
|
+
const n4 = i2.backendUrl, m = i2.systemCode, l = o(r2, i2);
|
|
24
|
+
let d = e(n4, i2.isTest) + "/dsc/commons/load-tree-node";
|
|
25
|
+
d = t(d, m, n4, i2.isTest);
|
|
26
|
+
const u = { pageCode: i2.code, pageVersion: i2.version, tableName: i2.tableName, systemCode: m, functionCode: l, beanName: i2.beanName };
|
|
27
|
+
r2.props.dataOrigin.beanName && (u.beanName = r2.props.dataOrigin.beanName), p2 && Object.assign(u, p2), a.post(d, u).then((e2) => {
|
|
28
|
+
s3(e2);
|
|
29
|
+
});
|
|
30
|
+
} else {
|
|
31
|
+
const e2 = (r2.runtime ? r2.runtime : {}).props;
|
|
32
|
+
e2 && e2.staticData ? s3(e2.staticData) : s3([]);
|
|
33
|
+
}
|
|
34
|
+
else s3([]);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
const r = (t2, o2, i2) => new Promise((r2, s2) => {
|
|
38
|
+
var _a;
|
|
39
|
+
if ("beanName" === ((_a = o2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
|
|
40
|
+
const s3 = i2.backendUrl, n2 = e(s3, i2.isTest) + "/dsc/commons/tree-node", m = p(false, t2, o2, i2);
|
|
41
|
+
a.delete(n2, { data: m }).then((e2) => {
|
|
42
|
+
r2(e2);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}), s = (t2, o2, i2) => new Promise((r2, s2) => {
|
|
46
|
+
var _a;
|
|
47
|
+
if ("beanName" === ((_a = o2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
|
|
48
|
+
const s3 = i2.backendUrl, n2 = e(s3, i2.isTest) + "/dsc/commons/tree-node", m = p(true, t2, o2, i2);
|
|
49
|
+
a.post(n2, m).then((e2) => {
|
|
50
|
+
r2(e2);
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}), n = (t2, o2, i2) => new Promise((r2, s2) => {
|
|
54
|
+
var _a;
|
|
55
|
+
if ("beanName" === ((_a = o2.props.dataOrigin) == null ? void 0 : _a.optionValueSetType)) {
|
|
56
|
+
const s3 = i2.backendUrl, n2 = e(s3, i2.isTest) + "/dsc/commons/tree-node";
|
|
57
|
+
a.put(n2, p(false, t2, o2, i2)).then((e2) => {
|
|
58
|
+
r2(e2);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
function p(e2, t2, a2, o2) {
|
|
63
|
+
const i2 = JSON.parse(JSON.stringify(t2.data));
|
|
64
|
+
e2 && (i2.nodeId = null);
|
|
65
|
+
const r2 = { pageCode: o2.code, pageVersion: o2.version, systemCode: o2.systemCode, beanName: o2.beanName, tableName: a2.props.base.treeTableName, treeLabelProp: a2.props.base.treeLabelProp, treeParentIdProp: a2.props.base.treeParentIdProp, currentNode: i2, parentNode: null };
|
|
66
|
+
return a2.props.dataOrigin.beanName && (r2.beanName = a2.props.dataOrigin.beanName), t2.parent && t2.parent.level > 0 && (r2.parentNode = t2.parent.data), r2;
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
s as createTreeNode,
|
|
70
|
+
r as deleteNode,
|
|
71
|
+
i as getMenuTreeData,
|
|
72
|
+
n as updateTreeNode
|
|
73
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as i, nextTick as t, resolveComponent as n, createElementBlock as a, openBlock as u, createBlock as o, unref as c, normalizeStyle as s, normalizeClass as p, withCtx as r, createCommentVNode as v, Fragment as y, createTextVNode as g, toDisplayString as d } from "vue";
|
|
2
|
+
import { SuperIcon as k } from "agilebuilder-ui";
|
|
3
|
+
import { handleAfterInitEvent as f, handleEvent as m } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { $t as x } from "../../../../utils/i18n-util.js";
|
|
5
|
+
const C = { class: "page-runtime-header-btn" }, V = e({ __name: "button-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: V2 }) {
|
|
6
|
+
const T = e2, b = T.configure.runtime ? T.configure.runtime : {}, z = l(b.props ? b.props : {}), _ = b.style, h = b.class;
|
|
7
|
+
function P() {
|
|
8
|
+
return "disabled" === z.value.state || R();
|
|
9
|
+
}
|
|
10
|
+
function R() {
|
|
11
|
+
return void 0 !== T.pageContext.canClick && void 0 !== T.pageContext.clickUuid && (!T.pageContext.canClick && T.pageContext.clickUuid === T.configure.uuid);
|
|
12
|
+
}
|
|
13
|
+
const j = l(null);
|
|
14
|
+
return i(() => {
|
|
15
|
+
t(() => {
|
|
16
|
+
f(null, T.pageContext, T.configure, { componentRef: j.value, entity: T.pageContext.entity.data, pageData: T.pageContext.entity.page });
|
|
17
|
+
});
|
|
18
|
+
}), V2({ click: function() {
|
|
19
|
+
j.value && j.value.$el.click();
|
|
20
|
+
} }), (l2, i2) => {
|
|
21
|
+
const t2 = n("el-link"), f2 = n("el-button");
|
|
22
|
+
return u(), a("span", C, [z.value.text ? (u(), o(t2, { key: 0, ref_key: "componentRef", ref: j, disabled: P(), class: p(c(h)), style: s(c(_)), type: z.value.type, size: z.value.size, loading: R(), onClick: i2[0] || (i2[0] = (l3) => c(m)(l3, e2.pageContext, e2.configure, "click")) }, { default: r(() => [z.value.title && "right" == z.value.iconPosition && !z.value.isTextIcon ? (u(), a(y, { key: 0 }, [g(d(c(x)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true)], 64)) : v("", true), z.value.iconType && z.value.iconValue ? (u(), o(c(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : v("", true), z.value.title && "right" != z.value.iconPosition && !z.value.isTextIcon ? (u(), a(y, { key: 2 }, [z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true), g(" " + d(c(x)(z.value.title)), 1)], 64)) : v("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (u(), o(f2, { key: 1, ref_key: "componentRef", ref: j, disabled: P(), class: p(c(h)), style: s(c(_)), type: z.value.type, size: z.value.size, round: z.value.round, plain: z.value.plain, loading: R(), onClick: i2[1] || (i2[1] = (l3) => c(m)(l3, e2.pageContext, e2.configure, "click")) }, { default: r(() => [z.value.title && "right" == z.value.iconPosition ? (u(), a(y, { key: 0 }, [g(d(c(x)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true)], 64)) : v("", true), z.value.iconType && z.value.iconValue ? (u(), o(c(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : v("", true), z.value.title && "right" != z.value.iconPosition ? (u(), a(y, { key: 2 }, [z.value.iconValue ? (u(), a(y, { key: 0 }, [g(" ")], 64)) : v("", true), g(" " + d(c(x)(z.value.title)), 1)], 64)) : v("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
|
|
23
|
+
};
|
|
24
|
+
} });
|
|
25
|
+
export {
|
|
26
|
+
V as default
|
|
27
|
+
};
|
package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as e, computed as t, ref as n, onMounted as o, nextTick as u, resolveComponent as r, createBlock as a, openBlock as p, normalizeStyle as g, normalizeClass as i, unref as s, withCtx as l, createElementBlock as c, Fragment as f, renderList as m } from "vue";
|
|
2
|
+
import x from "../../object-render.vue.js";
|
|
3
|
+
import { handleAfterInitEvent as y } from "../../../../utils/events/event-util.js";
|
|
4
|
+
const C = e({ __name: "buttongroup-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
5
|
+
const C2 = e2, v = C2.configure.runtime ? C2.configure.runtime : {}, b = v.class, d = t(() => {
|
|
6
|
+
var _a;
|
|
7
|
+
const { gap: e3 } = ((_a = C2.configure) == null ? void 0 : _a.props) ?? {};
|
|
8
|
+
return { ...e3 ? { gap: `${e3}px` } : {}, ...v.style ?? {} };
|
|
9
|
+
}), _ = n(null);
|
|
10
|
+
return o(() => {
|
|
11
|
+
u(() => {
|
|
12
|
+
y(null, C2.pageContext, C2.configure, { componentRef: _.value, entity: C2.pageContext.entity.data, pageData: C2.pageContext.entity.page });
|
|
13
|
+
});
|
|
14
|
+
}), (t2, n2) => {
|
|
15
|
+
const o2 = r("el-button-group");
|
|
16
|
+
return p(), a(o2, { ref_key: "componentRef", ref: _, class: i(["amb-button-group-main", s(b)]), style: g(d.value) }, { default: l(() => [(p(true), c(f, null, m(e2.configure.items, (t3, n3) => (p(), a(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["class", "style"]);
|
|
17
|
+
};
|
|
18
|
+
} });
|
|
19
|
+
export {
|
|
20
|
+
C as default
|
|
21
|
+
};
|