super-page-runtime 2.3.48-cdnTmp1 → 2.3.48-tmp1
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/components/runtime/utils/ai-chat-util.js +16 -0
- package/dist/es/components/runtime/utils/anchor-util.js +84 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.js +7 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.js +202 -0
- package/dist/es/components/runtime/utils/assemblys-config.js +20 -0
- package/dist/es/components/runtime/utils/barcode-util.js +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +168 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +82 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +288 -0
- package/dist/es/components/runtime/utils/common-util.js +120 -0
- package/dist/es/components/runtime/utils/eventBus.js +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
- package/dist/es/components/runtime/utils/events/event-util.js +447 -0
- package/dist/es/components/runtime/utils/events/print-label.js +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +1226 -0
- package/dist/es/components/runtime/utils/events/validator-util.js +485 -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/dist/es/components/runtime/utils/global-refs.js +57 -0
- package/dist/es/components/runtime/utils/i18n-util.js +18 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +391 -0
- package/dist/es/components/runtime/utils/page-init-util.js +297 -0
- package/dist/es/components/runtime/utils/{page-permission-util.mjs → page-permission-util.js} +21 -20
- package/dist/es/components/runtime/utils/page-store.js +53 -0
- package/dist/es/components/runtime/utils/store-util.js +13 -0
- package/dist/es/components/runtime/utils/table-utils.js +89 -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-runtime2.vue.js +29 -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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.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-breadcrumb2.vue.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-group2.vue.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-header2.vue.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-search2.vue.js +64 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +94 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.js +4 -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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.js +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +430 -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-item2.vue.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-column2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +17 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.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-runtime2.vue.js +268 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.js +4 -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-dialog2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +35 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +32 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +23 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.js +4 -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-dialog2.vue.js +4 -0
- 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-dialog2.vue.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-runtime2.vue.js +35 -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-runtime2.vue.js +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.js +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.js +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.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-runtime2.vue.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-runtime2.vue.js +25 -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-runtime2.vue.js +46 -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-runtime2.vue.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-runtime2.vue.js +47 -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-runtime2.vue.js +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +383 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +339 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.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-runtime2.vue.js +90 -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-runtime2.vue.js +135 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.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-runtime2.vue.js +66 -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-element2.vue.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-runtime2.vue.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-runtime2.vue.js +102 -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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.js +115 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.js +91 -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-runtime2.vue.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-runtime2.vue.js +81 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.js +38 -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-runtime2.vue.js +43 -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-runtime2.vue.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-runtime2.vue.js +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.js +156 -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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +166 -0
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.js +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -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-runtime2.vue.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-runtime2.vue.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-runtime2.vue.js +32 -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-runtime2.vue.js +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.js +47 -0
- package/dist/es/components/runtime/views/home-chart2.vue.js +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +30 -0
- package/dist/es/components/runtime/views/super-page-dialog3.vue.js +5 -0
- package/dist/es/components/runtime/views/super-page.vue.js +7 -0
- package/dist/es/components/runtime/views/super-page2.vue.js +311 -0
- package/dist/es/index.js +32 -0
- package/dist/es/style.css +1052 -1
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -1
- package/package.json +11 -13
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +0 -16
- package/dist/es/components/runtime/utils/anchor-util.mjs +0 -83
- package/dist/es/components/runtime/utils/api/api-util.mjs +0 -12
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +0 -196
- package/dist/es/components/runtime/utils/assemblys-config.mjs +0 -19
- package/dist/es/components/runtime/utils/barcode-util.mjs +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +0 -169
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +0 -83
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +0 -47
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +0 -285
- package/dist/es/components/runtime/utils/common-util.mjs +0 -116
- package/dist/es/components/runtime/utils/eventBus.mjs +0 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +0 -38
- package/dist/es/components/runtime/utils/events/event-util.mjs +0 -429
- package/dist/es/components/runtime/utils/events/print-label.mjs +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.mjs +0 -1170
- package/dist/es/components/runtime/utils/events/validator-util.mjs +0 -462
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.mjs +0 -88
- package/dist/es/components/runtime/utils/global-refs.mjs +0 -57
- package/dist/es/components/runtime/utils/i18n-util.mjs +0 -14
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.mjs +0 -381
- package/dist/es/components/runtime/utils/page-init-util.mjs +0 -281
- package/dist/es/components/runtime/utils/page-store.mjs +0 -53
- package/dist/es/components/runtime/utils/store-util.mjs +0 -13
- package/dist/es/components/runtime/utils/table-utils.mjs +0 -84
- package/dist/es/components/runtime/utils/tree-utils.mjs +0 -68
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +0 -53
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +0 -59
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +0 -59
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +0 -93
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +0 -425
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +0 -42
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +0 -17
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +0 -261
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +0 -34
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +0 -27
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +0 -22
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +0 -35
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +0 -27
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +0 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +0 -43
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +0 -362
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +0 -329
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +0 -90
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +0 -133
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +0 -65
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +0 -36
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +0 -111
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +0 -88
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +0 -79
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +0 -37
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +0 -42
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +0 -16
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +0 -84
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +0 -215
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +0 -150
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +0 -43
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +0 -163
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +0 -56
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +0 -29
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +0 -30
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.mjs +0 -46
- package/dist/es/components/runtime/views/home-chart2.vue.mjs +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +0 -30
- package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +0 -5
- package/dist/es/components/runtime/views/super-page.vue.mjs +0 -7
- package/dist/es/components/runtime/views/super-page2.vue.mjs +0 -307
- package/dist/es/index.mjs +0 -32
- /package/dist/es/assets/chart-themes/{bar-theme.mjs → bar-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.mjs → gauge-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.mjs → pie-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.mjs → radar-theme.js} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.mjs → scatter-theme.js} +0 -0
- /package/dist/es/assets/{file.png.mjs → file.png.js} +0 -0
- /package/dist/es/assets/{folder.png.mjs → folder.png.js} +0 -0
- /package/dist/es/components/runtime/utils/{store.mjs → store.js} +0 -0
- /package/dist/es/i18n/langs/{cn.mjs → cn.js} +0 -0
- /package/dist/es/i18n/langs/{en.mjs → en.js} +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { defineComponent as e, ref as o, markRaw as t, onMounted as n, resolveDirective as i, unref as r, withDirectives as s, openBlock as u, createBlock as l, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as a, createCommentVNode as p, nextTick as m } from "vue";
|
|
2
|
+
import v from "./error-render.vue.js";
|
|
3
|
+
import { getRuntimeComponentByName as d } from "../../utils/assemblys-config.js";
|
|
4
|
+
import { PageDimensions as y } from "../../utils/interfaces/page-design-types.js";
|
|
5
|
+
import { addComponentRef as C, addComponentRefByCode as x } from "../../utils/global-refs.js";
|
|
6
|
+
import { getPermissionCodes as h, controlObjectRenderState as b } from "../../utils/page-init-util.js";
|
|
7
|
+
import { getFormPropName as j, getSizeConfig as w } from "../../utils/page-helper-util.js";
|
|
8
|
+
import { getPropClassName as _, isNumber as O } from "../../utils/common-util.js";
|
|
9
|
+
import { isShowComponent as $ } from "../../utils/events/event-util.js";
|
|
10
|
+
const H = e({ __name: "home-chart-render", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
11
|
+
const H2 = e2;
|
|
12
|
+
null == H2.configure.style && (H2.configure.style = {});
|
|
13
|
+
const N = h(H2.configure, H2.pageContext);
|
|
14
|
+
H2.configure && H2.configure.props && H2.configure.props.base && (H2.configure.props.base.functionCode = N);
|
|
15
|
+
let k = o(true), B = o(true);
|
|
16
|
+
const P = o({});
|
|
17
|
+
P.value = t(d(H2.configure.name));
|
|
18
|
+
const R = o(true);
|
|
19
|
+
null == P.value && (P.value = v, R.value = false);
|
|
20
|
+
const S = o(null), W = o({}), q = o(""), z = _(H2.configure);
|
|
21
|
+
z && (q.value = z);
|
|
22
|
+
const A = H2.configure.runtime && H2.configure.runtime.common ? H2.configure.runtime.common : {};
|
|
23
|
+
if (A.class && (q.value += " " + A.class), A.style) {
|
|
24
|
+
Object.assign(W.value, A.style);
|
|
25
|
+
const e3 = H2.pageContext && H2.pageContext.dimensions ? H2.pageContext.dimensions : y.PC, o2 = A.style[e3 + "_style"];
|
|
26
|
+
o2 && Object.assign(W.value, o2);
|
|
27
|
+
const t2 = A.style[e3 + "_class"];
|
|
28
|
+
t2 && (q.value += " " + t2);
|
|
29
|
+
}
|
|
30
|
+
function D(e3) {
|
|
31
|
+
if (S.value = e3, e3 && !e3.show && (e3.show = function() {
|
|
32
|
+
k.value = true;
|
|
33
|
+
}), e3 && !e3.hide && (e3.hide = function() {
|
|
34
|
+
k.value = false;
|
|
35
|
+
}), e3 && !e3.getConfigure && (e3.getConfigure = function() {
|
|
36
|
+
return H2.configure;
|
|
37
|
+
}), H2.configure.uuid && C(H2.pageContext, H2.configure.uuid, S), H2.configure.code) x(H2.pageContext, H2.configure.code, S);
|
|
38
|
+
else if (H2.configure.props && H2.configure.props.base) {
|
|
39
|
+
const e4 = H2.configure.props.base;
|
|
40
|
+
if (e4.prop) {
|
|
41
|
+
let o3 = e4.prop;
|
|
42
|
+
o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), x(H2.pageContext, o3, S);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const o2 = H2.configure.props ? H2.configure.props.base : null;
|
|
46
|
+
if (o2 && o2.prop) {
|
|
47
|
+
let e4 = o2.prop;
|
|
48
|
+
e4 = j(e4), b(H2.pageContext, e4);
|
|
49
|
+
}
|
|
50
|
+
!function() {
|
|
51
|
+
if (!S.value) return;
|
|
52
|
+
const e4 = w(H2.pageContext, H2.configure);
|
|
53
|
+
"table" !== H2.configure.name && e4 && e4.isCalcHeight && m(() => {
|
|
54
|
+
let e5 = S.value.$el;
|
|
55
|
+
e5 || (e5 = S.value);
|
|
56
|
+
const o3 = e5.parentNode;
|
|
57
|
+
if (!e5 || !o3) return;
|
|
58
|
+
const t2 = e5.getBoundingClientRect();
|
|
59
|
+
let n2 = window.innerHeight - t2.y - 80, i2 = n2 + "";
|
|
60
|
+
O(n2) && (i2 = n2 + "px"), W.value.height = i2, W.value["overflow-y"] = "auto", W.value["overflow-x"] = "hidden", H2.configure.sytle || (H2.configure.sytle = {}), H2.configure.sytle._heightStyle = i2;
|
|
61
|
+
});
|
|
62
|
+
}();
|
|
63
|
+
}
|
|
64
|
+
n(() => {
|
|
65
|
+
E();
|
|
66
|
+
});
|
|
67
|
+
const E = () => {
|
|
68
|
+
if (!S.value) return;
|
|
69
|
+
let e3 = S.value.$el;
|
|
70
|
+
e3 || (e3 = S.value);
|
|
71
|
+
const o2 = e3.parentNode;
|
|
72
|
+
if (!e3 || !o2) return;
|
|
73
|
+
const t2 = H2.configure.props ? H2.configure.props : {}, n2 = H2.configure.style ? H2.configure.style : {}, i2 = t2.position;
|
|
74
|
+
"top" == i2 || "bottom" == i2 || n2.position;
|
|
75
|
+
};
|
|
76
|
+
return (o2, t2) => {
|
|
77
|
+
const n2 = i("permission");
|
|
78
|
+
return r($)(e2.configure) ? s((u(), l(c(P.value), { key: 0, ref: D, style: f(W.value), class: g(q.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[a, r(B)], [n2, { codes: r(N) ? r(N) : "true", systemCode: e2.pageContext.systemCode }]]) : p("", true);
|
|
79
|
+
};
|
|
80
|
+
} });
|
|
81
|
+
export {
|
|
82
|
+
H as default
|
|
83
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { defineComponent as e, ref as o, computed as t, watch as n, markRaw as i, onMounted as r, onUnmounted as s, unref as u, withDirectives as l, openBlock as a, createBlock as p, resolveDynamicComponent as g, normalizeClass as c, normalizeStyle as f, vShow as d, createCommentVNode as m, nextTick as C } from "vue";
|
|
2
|
+
import v from "./error-render.vue.js";
|
|
3
|
+
import { getRuntimeComponentByName as h } from "../../utils/assemblys-config.js";
|
|
4
|
+
import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
|
|
5
|
+
import { addComponentRef as x, addComponentRefByCode as y } from "../../utils/global-refs.js";
|
|
6
|
+
import { getPermissionCodes as w, packageFormRules as j, getModelFields as N, controlObjectRenderState as M } from "../../utils/page-init-util.js";
|
|
7
|
+
import { caculateShowCondition as V, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
|
|
8
|
+
import { isWorkflowPage as S, getPropClassName as T, isNumber as $ } from "../../utils/common-util.js";
|
|
9
|
+
import { isShowMobileEvent as H, isShowComponent as O } from "../../utils/events/event-util.js";
|
|
10
|
+
import { usePageContextStore as P } from "../../utils/page-store.js";
|
|
11
|
+
import { isHasFieldAuth as B } from "../../utils/table-utils.js";
|
|
12
|
+
import { checkPermission as R } from "agilebuilder-ui/src/utils/permission.js";
|
|
13
|
+
import { isMobileBrowser as F } from "agilebuilder-ui/src/utils/common-util";
|
|
14
|
+
const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
15
|
+
var _a, _b, _c;
|
|
16
|
+
const L2 = e2;
|
|
17
|
+
null == L2.configure.style && (L2.configure.style = {});
|
|
18
|
+
let k = null, D = w(L2.configure, L2.pageContext);
|
|
19
|
+
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.functionCode = D);
|
|
20
|
+
const E = R(D || "true", L2.pageContext.systemCode), J = B(L2.pageContext, L2.configure), W = E && J;
|
|
21
|
+
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.isHasFieldAuthPermission = W), j(L2.pageContext, L2.configure, W);
|
|
22
|
+
let q = o(null), z = o(true), G = o("");
|
|
23
|
+
if (L2.configure && L2.configure.props) {
|
|
24
|
+
let e3 = [];
|
|
25
|
+
((_a = L2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof L2.configure.props.base.showConditions ? JSON.parse(L2.configure.props.base.showConditions) : L2.configure.props.base.showConditions), z = t(() => {
|
|
26
|
+
var _a2;
|
|
27
|
+
let o2 = true;
|
|
28
|
+
if (W) if (q.value && null !== q.value) o2 = "show" === q.value;
|
|
29
|
+
else if (H(L2.pageContext, L2.configure)) if (e3 && e3.length > 0) o2 = V(L2.pageContext, e3);
|
|
30
|
+
else {
|
|
31
|
+
const e4 = (_a2 = L2.configure.props.base) == null ? void 0 : _a2.state;
|
|
32
|
+
e4 && "hidden" === e4 && (o2 = false);
|
|
33
|
+
}
|
|
34
|
+
else o2 = false;
|
|
35
|
+
else o2 = false;
|
|
36
|
+
return o2;
|
|
37
|
+
});
|
|
38
|
+
if (L2.configure._dynamicShowFlag = z, (_b = L2.configure.props) == null ? void 0 : _b.hiddenNotValidator) {
|
|
39
|
+
if (L2.pageContext.hiddenNotValidatorCodes || (L2.pageContext.hiddenNotValidatorCodes = /* @__PURE__ */ new Set()), "table" === L2.configure.name) k = L2.configure.code ? L2.configure.code : L2.configure.uuid;
|
|
40
|
+
else {
|
|
41
|
+
let e4 = N(L2.configure);
|
|
42
|
+
k = e4 && e4.length > 0 ? e4[1] : null;
|
|
43
|
+
}
|
|
44
|
+
n(z, (e4) => {
|
|
45
|
+
e4 ? L2.pageContext.hiddenNotValidatorCodes.delete(k) : L2.pageContext.hiddenNotValidatorCodes.add(k);
|
|
46
|
+
}, { immediate: true });
|
|
47
|
+
}
|
|
48
|
+
if ((_c = L2.configure.props.base) == null ? void 0 : _c.editConditions) {
|
|
49
|
+
const e4 = L2.configure.props.base.editConditions;
|
|
50
|
+
if (e4.length > 0) {
|
|
51
|
+
const o2 = L2.configure.runtime ? L2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
|
|
52
|
+
if (n2.rawSate = n2.state, S(L2.pageContext) && L2.pageContext.fieldPermissionMap) {
|
|
53
|
+
const e5 = L2.configure.props.base;
|
|
54
|
+
if (e5 && e5.prop) {
|
|
55
|
+
let o3 = e5.prop;
|
|
56
|
+
o3 = _(o3);
|
|
57
|
+
const t2 = L2.pageContext.fieldPermissionMap.get(o3);
|
|
58
|
+
t2 && false === t2.canEdit && (G.value = "disabled");
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
n2.state = t({ get() {
|
|
62
|
+
if ("disabled" === G.value) return G.value;
|
|
63
|
+
return V(L2.pageContext, e4) ? "" : "disabled";
|
|
64
|
+
}, set() {
|
|
65
|
+
} });
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
const I = o({});
|
|
70
|
+
I.value = i(h(L2.configure.name));
|
|
71
|
+
const K = o(true);
|
|
72
|
+
null == I.value && (I.value = v, K.value = false);
|
|
73
|
+
const Q = o(null), U = o({}), X = o(""), Y = T(L2.configure);
|
|
74
|
+
Y && (X.value = Y);
|
|
75
|
+
const Z = L2.configure.runtime && L2.configure.runtime.common ? L2.configure.runtime.common : {};
|
|
76
|
+
if (Z.class && (X.value += " " + Z.class), Z.style) {
|
|
77
|
+
Object.assign(U.value, Z.style);
|
|
78
|
+
const e3 = L2.pageContext && L2.pageContext.dimensions ? L2.pageContext.dimensions : b.PC, o2 = Z.style[e3 + "_style"];
|
|
79
|
+
o2 && Object.assign(U.value, o2);
|
|
80
|
+
const t2 = Z.style[e3 + "_class"];
|
|
81
|
+
t2 && (X.value += " " + t2);
|
|
82
|
+
}
|
|
83
|
+
const ee = P();
|
|
84
|
+
let oe = false;
|
|
85
|
+
function te(e3) {
|
|
86
|
+
var _a2, _b2, _c2;
|
|
87
|
+
if (!e3) return;
|
|
88
|
+
if (Q.value = e3, e3 && !e3.show && (e3.show = function() {
|
|
89
|
+
q.value = "show";
|
|
90
|
+
}), e3 && !e3.hide && (e3.hide = function() {
|
|
91
|
+
q.value = "hide";
|
|
92
|
+
}), e3 && !e3.getConfigure && (e3.getConfigure = function() {
|
|
93
|
+
return L2.configure;
|
|
94
|
+
}), L2.configure.uuid && x(L2.pageContext, L2.configure.uuid, Q), L2.configure.code) y(L2.pageContext, L2.configure.code, Q);
|
|
95
|
+
else if ("table" === L2.configure.name) y(L2.pageContext, L2.configure.uuid, Q);
|
|
96
|
+
else if (L2.configure.props && L2.configure.props.base) {
|
|
97
|
+
const e4 = L2.configure.props.base;
|
|
98
|
+
if (e4.prop) {
|
|
99
|
+
let o3 = e4.prop;
|
|
100
|
+
o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), y(L2.pageContext, o3, Q);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
const o2 = L2.configure.props ? L2.configure.props.base : null;
|
|
104
|
+
if (o2 && o2.prop) {
|
|
105
|
+
let e4 = o2.prop;
|
|
106
|
+
e4 = _(e4), M(L2.pageContext, e4), L2.pageContext.propTitleMap = L2.pageContext.propTitleMap || {}, L2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
|
|
107
|
+
}
|
|
108
|
+
!function() {
|
|
109
|
+
if (!Q.value) return;
|
|
110
|
+
const e4 = A(L2.pageContext, L2.configure);
|
|
111
|
+
"table" !== L2.configure.name && e4 && e4.isCalcHeight && C(() => {
|
|
112
|
+
var _a3;
|
|
113
|
+
if (!(((_a3 = Q.value) == null ? void 0 : _a3.$el) || Q.value)) return;
|
|
114
|
+
const e5 = (o3 = 0) => {
|
|
115
|
+
if (!Q.value) return;
|
|
116
|
+
let t2 = Q.value.$el || Q.value;
|
|
117
|
+
if (!t2) return;
|
|
118
|
+
const n2 = t2.getBoundingClientRect();
|
|
119
|
+
null !== ie && Math.abs(n2.y - ie) < 1 ? ne() : o3 < 10 ? (ie = n2.y, re = setTimeout(() => {
|
|
120
|
+
e5(o3 + 1);
|
|
121
|
+
}, 50)) : ne();
|
|
122
|
+
};
|
|
123
|
+
ie = null, e5();
|
|
124
|
+
});
|
|
125
|
+
}(), se(), oe || (oe = true, ee.countComponentsLoadedNumber(), ((_c2 = (_b2 = (_a2 = L2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c2.length) > 0 && ee.setAutoAnchorComponentConditions(L2.configure.uuid, L2.configure.props.base.autoAnchorConditions));
|
|
126
|
+
}
|
|
127
|
+
function ne() {
|
|
128
|
+
if (!Q.value) return;
|
|
129
|
+
let e3 = Q.value.$el;
|
|
130
|
+
e3 || (e3 = Q.value);
|
|
131
|
+
const o2 = e3.parentNode;
|
|
132
|
+
if (!e3 || !o2) return;
|
|
133
|
+
const t2 = e3.getBoundingClientRect();
|
|
134
|
+
let n2 = window.innerHeight - t2.y - 30;
|
|
135
|
+
window.innerHeight, t2.y;
|
|
136
|
+
let i2 = n2 + "";
|
|
137
|
+
if ("tabs" === L2.configure.name && L2.pageContext.isDialog && !F()) {
|
|
138
|
+
const o3 = e3.closest(".runtime-page-container");
|
|
139
|
+
if (o3) {
|
|
140
|
+
const e4 = o3.getBoundingClientRect(), r2 = t2.y - e4.y;
|
|
141
|
+
n2 = e4.height - r2 - 30, i2 = n2 + "px";
|
|
142
|
+
}
|
|
143
|
+
} else $(n2) && (i2 = n2 + "px");
|
|
144
|
+
U.value.height = i2, U.value["overflow-y"] = "auto", U.value["overflow-x"] = "hidden", L2.configure.sytle || (L2.configure.sytle = {}), L2.configure.sytle._heightStyle = i2;
|
|
145
|
+
}
|
|
146
|
+
r(() => {
|
|
147
|
+
W && O(L2.configure) || ee.countComponentsLoadedNumber();
|
|
148
|
+
}), s(() => {
|
|
149
|
+
var _a2;
|
|
150
|
+
re && clearTimeout(re), k && ((_a2 = L2.pageContext.hiddenNotValidatorCodes) == null ? void 0 : _a2.delete(k));
|
|
151
|
+
});
|
|
152
|
+
let ie = null, re = null;
|
|
153
|
+
const se = () => {
|
|
154
|
+
if (!Q.value) return;
|
|
155
|
+
let e3 = Q.value.$el;
|
|
156
|
+
e3 || (e3 = Q.value);
|
|
157
|
+
const o2 = e3.parentNode;
|
|
158
|
+
if (!e3 || !o2) return;
|
|
159
|
+
const t2 = L2.configure.props ? L2.configure.props : {}, n2 = L2.configure.style ? L2.configure.style : {}, i2 = t2.position;
|
|
160
|
+
"top" == i2 || "bottom" == i2 || n2.position;
|
|
161
|
+
};
|
|
162
|
+
return (o2, t2) => u(W) && u(O)(e2.configure) ? l((a(), p(g(I.value), { key: 0, ref: te, style: f(U.value), class: c(X.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[d, u(z)]]) : m("", true);
|
|
163
|
+
} });
|
|
164
|
+
export {
|
|
165
|
+
L as default
|
|
166
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as e, createBlock as t, createCommentVNode as n } from "vue";
|
|
2
|
+
import p from "./workflow/component/workflow-opinion-box.vue.js";
|
|
3
|
+
const a = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (a2, r) => {
|
|
4
|
+
var _a;
|
|
5
|
+
return ((_a = o2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (e(), t(p, { key: 0, pageContext: o2.pageContext }, null, 8, ["pageContext"])) : n("", true);
|
|
6
|
+
} });
|
|
7
|
+
export {
|
|
8
|
+
a as default
|
|
9
|
+
};
|
package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as e, ref as n, computed as o, onMounted as l, onUnmounted as i, watch as t, nextTick as a, resolveComponent as u, openBlock as s, createElementBlock as r, Fragment as p, createElementVNode as w, normalizeStyle as f, createCommentVNode as d, createBlock as v, Teleport as c, withDirectives as x, createTextVNode as g, toDisplayString as m, unref as k, normalizeClass as O, createVNode as b, vShow as h } from "vue";
|
|
2
|
+
import { addRequiredClassUtil as C } from "../../../../utils/common-util.js";
|
|
3
|
+
import { $t as y } from "../../../../utils/i18n-util.js";
|
|
4
|
+
const R = { class: "opinion-box-table-wrapper" }, I = { class: "opinion-table" }, E = { class: "opinion-label" }, z = { key: 0, class: "required-star" }, L = e({ __name: "workflow-opinion-box", props: { pageContext: {} }, setup(e2, { expose: L2 }) {
|
|
5
|
+
const _ = e2, B = n(""), H = n(), V = n(""), j = n(null), q = n(null), M = n(0), P = n(null), S = n(null);
|
|
6
|
+
let U = null, W = null;
|
|
7
|
+
const A = n(true), D = o(() => {
|
|
8
|
+
const e3 = S.value;
|
|
9
|
+
return e3 ? { left: e3.left + "px", right: window.innerWidth - e3.right + "px", bottom: window.innerHeight - e3.bottom + "px" } : { left: "0", right: "0", bottom: "0" };
|
|
10
|
+
});
|
|
11
|
+
function F() {
|
|
12
|
+
P.value && (S.value = P.value.getBoundingClientRect());
|
|
13
|
+
}
|
|
14
|
+
function G(e3) {
|
|
15
|
+
P.value = e3, F(), W = new ResizeObserver(F), W.observe(e3), window.addEventListener("scroll", F, true), window.addEventListener("resize", F);
|
|
16
|
+
}
|
|
17
|
+
l(() => {
|
|
18
|
+
var _a;
|
|
19
|
+
let e3 = ((_a = j.value) == null ? void 0 : _a.parentElement) ?? null;
|
|
20
|
+
for (; e3; ) {
|
|
21
|
+
if (e3.classList.contains("el-dialog")) return void G(e3);
|
|
22
|
+
e3 = e3.parentElement;
|
|
23
|
+
}
|
|
24
|
+
_.pageContext.workflowOpinion && (_.pageContext.workflowOpinion.boxInstance = J);
|
|
25
|
+
}), i(() => {
|
|
26
|
+
var _a;
|
|
27
|
+
U == null ? void 0 : U.disconnect(), U = null, W == null ? void 0 : W.disconnect(), W = null, window.removeEventListener("scroll", F, true), window.removeEventListener("resize", F), P.value = null, S.value = null, ((_a = _.pageContext.workflowOpinion) == null ? void 0 : _a.boxInstance) && (_.pageContext.workflowOpinion.boxInstance = null);
|
|
28
|
+
}), t(q, (e3) => {
|
|
29
|
+
U == null ? void 0 : U.disconnect(), U = null, e3 ? (M.value = e3.offsetHeight, U = new ResizeObserver(() => {
|
|
30
|
+
M.value = e3.offsetHeight;
|
|
31
|
+
}), U.observe(e3)) : M.value = 0;
|
|
32
|
+
}), t(() => {
|
|
33
|
+
var _a;
|
|
34
|
+
return (_a = _.pageContext.workflowOpinion) == null ? void 0 : _a.focusOpinionInput;
|
|
35
|
+
}, (e3) => {
|
|
36
|
+
e3 ? (V.value = C(), a(() => {
|
|
37
|
+
var _a;
|
|
38
|
+
((_a = H.value) == null ? void 0 : _a.focus) && H.value.focus();
|
|
39
|
+
})) : V.value = "";
|
|
40
|
+
}, { immediate: true });
|
|
41
|
+
const J = { show: function() {
|
|
42
|
+
_.pageContext.workflowOpinion && (A.value = true);
|
|
43
|
+
}, hide: function() {
|
|
44
|
+
_.pageContext.workflowOpinion && (A.value = false);
|
|
45
|
+
} };
|
|
46
|
+
return L2(J), (n2, o2) => {
|
|
47
|
+
var _a, _b, _c;
|
|
48
|
+
const l2 = u("el-input");
|
|
49
|
+
return s(), r(p, null, [w("div", { ref_key: "sentinelRef", ref: j, style: { display: "none" } }, null, 512), ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (s(), r("div", { key: 0, style: f({ height: M.value + "px", width: "100%", flexShrink: 0 }) }, null, 4)) : d("", true), (s(), v(c, { to: "body" }, [((_b = e2.pageContext.workflowOpinion) == null ? void 0 : _b.showOpinionBox) ? x((s(), r("div", { key: 0, ref_key: "opinionBarRef", ref: q, class: "opinion-fixed-bar", style: f(D.value) }, [w("div", R, [w("table", I, [w("tbody", null, [w("tr", null, [w("td", E, [((_c = e2.pageContext.workflowOpinion) == null ? void 0 : _c.isRequired) ? (s(), r("span", z, "*")) : d("", true), g(" " + m(k(y)("superPageRuntimeMessage.handleOpinion")), 1)]), w("td", { class: O(["opinion-input-cell", V.value]) }, [b(l2, { ref_key: "opinionInputRef", ref: H, modelValue: B.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => B.value = e3), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: k(y)("superPageRuntimeMessage.pleaseInputHandleOpinion"), onChange: o2[1] || (o2[1] = (e3) => {
|
|
50
|
+
_.pageContext.workflowOpinion && (_.pageContext.workflowOpinion.opinion = B.value.trim(), _.pageContext.workflowOpinion.focusOpinionInput = false);
|
|
51
|
+
}), class: "opinion-input" }, null, 8, ["modelValue", "placeholder"])], 2)])])])])], 4)), [[h, A.value]]) : d("", true)]))], 64);
|
|
52
|
+
};
|
|
53
|
+
} });
|
|
54
|
+
export {
|
|
55
|
+
L as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, openBlock as t, createBlock as n, unref as i, withCtx as u, createVNode as r, createCommentVNode as s, createElementVNode as p, createTextVNode as m, toDisplayString as g } from "vue";
|
|
2
|
+
import { extractWorkflowFunc as d } from "../../../../utils/events/standard-event.js";
|
|
3
|
+
import { DepartmentUserTree as c } from "agilebuilder-ui";
|
|
4
|
+
import { Search as v, Delete as f } from "@element-plus/icons-vue";
|
|
5
|
+
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
6
|
+
const x = { class: "dialog-footer" }, y = e({ __name: "extract-workflow-runtime-dialog", props: { pageContext: {}, configure: {} }, emits: ["destroy"], setup(e2, { emit: y2 }) {
|
|
7
|
+
const b = y2, C = e2, M = l(), R = l(false), h = l(true), k = l({}), N = l({ loginName: [], opinion: [] }), P = C.configure.runtime ? C.configure.runtime : {};
|
|
8
|
+
function w() {
|
|
9
|
+
R.value = true;
|
|
10
|
+
}
|
|
11
|
+
function V(e3) {
|
|
12
|
+
R.value = false, k.value.loginName = e3 ? e3.loginName : "", k.value.name = e3 ? e3.name : "";
|
|
13
|
+
}
|
|
14
|
+
function T() {
|
|
15
|
+
M.value.validate((e3, l2) => {
|
|
16
|
+
e3 && d({ pageContext: C.pageContext, configureObj: C.configure, _value: { loginName: k.value.loginName, opinion: k.value.opinion } }).then(() => {
|
|
17
|
+
h.value = false, b("destroy");
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return P.props && (true === P.props.requireExtractTransactor && (N.value.loginName = [{ required: true, message: _("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === P.props.isMustOpinion && (N.value.opinion = [{ required: true, message: _("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }])), a(() => {
|
|
22
|
+
}), (e3, l2) => {
|
|
23
|
+
const a2 = o("el-icon"), d2 = o("el-input"), y3 = o("el-form-item"), b2 = o("el-form"), C2 = o("el-button"), P2 = o("el-dialog");
|
|
24
|
+
return t(), n(P2, { modelValue: h.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => h.value = e4), title: i(_)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: u(() => [p("div", x, [r(C2, { onClick: l2[4] || (l2[4] = (e4) => h.value = false) }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), r(C2, { type: "primary", onClick: T }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: u(() => [r(b2, { ref_key: "ruleFormRef", ref: M, style: { "max-width": "600px" }, model: k.value, rules: N.value, "label-width": "auto" }, { default: u(() => [r(y3, { label: i(_)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: u(() => [r(d2, { "model-value": k.value.name, readonly: true, type: "text", placeholder: i(_)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[2] || (l2[2] = (e4) => w()) }, { append: u(() => [r(a2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => w()) }, { default: u(() => [r(i(v))]), _: 1 }), r(a2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (k.value.loginName = "", void (k.value.name = ""))) }, { default: u(() => [r(i(f))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), r(y3, { label: i(_)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: u(() => [r(d2, { modelValue: k.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => k.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), R.value ? (t(), n(i(c), { key: 0, width: "60%", multiple: false, onClose: V })) : s("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"]);
|
|
25
|
+
};
|
|
26
|
+
} });
|
|
27
|
+
export {
|
|
28
|
+
y as default
|
|
29
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, nextTick as n, resolveComponent as t, openBlock as o, createElementBlock as i, createVNode as u, normalizeStyle as r, unref as s, normalizeClass as p, withCtx as c, createTextVNode as m, toDisplayString as g, createBlock as d, createCommentVNode as f, createElementVNode as v } from "vue";
|
|
2
|
+
import { handleAfterInitEvent as x, handleEvent as C, getDefaultEventParams as y, canExecuteButton as _ } from "../../../../utils/events/event-util.js";
|
|
3
|
+
import { $t as k } from "../../../../utils/i18n-util.js";
|
|
4
|
+
import { DepartmentUserTree as b } from "agilebuilder-ui";
|
|
5
|
+
import { Search as R, Delete as h } from "@element-plus/icons-vue";
|
|
6
|
+
const M = { class: "page-runtime-header-btn" }, N = { class: "dialog-footer" }, P = e({ __name: "extract-workflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: P2 }) {
|
|
7
|
+
const w = e2, V = l(), U = l(false), T = l(false), q = l({}), z = l({ loginName: [], opinion: [] }), j = w.configure.runtime ? w.configure.runtime : {}, E = l(j.props ? j.props : {}), O = j.style, S = j.class;
|
|
8
|
+
function D() {
|
|
9
|
+
return void 0 !== w.pageContext.canClick && void 0 !== w.pageContext.clickUuid && (!w.pageContext.canClick && w.pageContext.clickUuid === w.configure.uuid);
|
|
10
|
+
}
|
|
11
|
+
j.props && (true === j.props.requireExtractTransactor && (z.value.loginName = [{ required: true, message: k("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === j.props.isMustOpinion && (z.value.opinion = [{ required: true, message: k("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }]));
|
|
12
|
+
const F = l(null);
|
|
13
|
+
function I() {
|
|
14
|
+
U.value = true;
|
|
15
|
+
}
|
|
16
|
+
function $(e3) {
|
|
17
|
+
U.value = false, q.value.loginName = e3 ? e3.loginName : "", q.value.name = e3 ? e3.name : "";
|
|
18
|
+
}
|
|
19
|
+
function A() {
|
|
20
|
+
V.value.validate((e3, l2) => {
|
|
21
|
+
if (e3) {
|
|
22
|
+
const e4 = { loginName: q.value.loginName, opinion: q.value.opinion };
|
|
23
|
+
C(e4, w.pageContext, w.configure, "click");
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return a(() => {
|
|
28
|
+
n(() => {
|
|
29
|
+
x(null, w.pageContext, w.configure, { componentRef: F.value, entity: w.pageContext.entity.data, pageData: w.pageContext.entity.page });
|
|
30
|
+
});
|
|
31
|
+
}), P2({ click: function() {
|
|
32
|
+
F.value && F.value.$el.click();
|
|
33
|
+
} }), (e3, l2) => {
|
|
34
|
+
const a2 = t("el-button"), n2 = t("el-icon"), x2 = t("el-input"), C2 = t("el-form-item"), P3 = t("el-form"), j2 = t("el-dialog");
|
|
35
|
+
return o(), i("span", M, [u(a2, { ref_key: "componentRef", ref: F, disabled: D(), class: p(s(S)), style: r(s(O)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: D(), onClick: l2[0] || (l2[0] = (e4) => function(e5) {
|
|
36
|
+
const l3 = y(e5, w.pageContext, w.configure, {});
|
|
37
|
+
_(l3).then((e6) => {
|
|
38
|
+
e6.canExecute && (T.value = true);
|
|
39
|
+
});
|
|
40
|
+
}()) }, { default: c(() => [m(g(s(k)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(j2, { modelValue: T.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => T.value = e4), title: s(k)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: c(() => [v("div", N, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => T.value = false) }, { default: c(() => [m(g(s(k)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), u(a2, { type: "primary", onClick: A }, { default: c(() => [m(g(s(k)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: c(() => [u(P3, { ref_key: "ruleFormRef", ref: V, style: { "max-width": "600px" }, model: q.value, rules: z.value, "label-width": "auto" }, { default: c(() => [u(C2, { label: s(k)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: c(() => [u(x2, { "model-value": q.value.name, readonly: true, type: "text", placeholder: s(k)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[3] || (l2[3] = (e4) => I()) }, { append: c(() => [u(n2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => I()) }, { default: c(() => [u(s(R))]), _: 1 }), u(n2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (q.value.loginName = "", void (q.value.name = ""))) }, { default: c(() => [u(s(h))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), u(C2, { label: s(k)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: c(() => [u(x2, { modelValue: q.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => q.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), U.value ? (o(), d(s(b), { key: 0, width: "60%", multiple: false, onClose: $ })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"])]);
|
|
41
|
+
};
|
|
42
|
+
} });
|
|
43
|
+
export {
|
|
44
|
+
P as default
|
|
45
|
+
};
|
package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { defineComponent as e, ref as t, watch as n, resolveComponent as o, unref as i, openBlock as r, createElementBlock as s, toDisplayString as a, createBlock as l, normalizeStyle as u } from "vue";
|
|
2
|
+
import { getWorkflowId as p } from "../../../../utils/common-util.js";
|
|
3
|
+
const f = { key: 0 }, g = e({ __name: "pictureflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
4
|
+
var _a;
|
|
5
|
+
const g2 = e2, m = t(null), x = (_a = g2.configure.sytle) == null ? void 0 : _a._heightStyle;
|
|
6
|
+
if (x && (x + "").indexOf("px") > 0) {
|
|
7
|
+
const e3 = x.substring(0, x.lastIndexOf("px"));
|
|
8
|
+
m.value = Number(e3) - 20;
|
|
9
|
+
} else m.value = window.innerHeight - 120;
|
|
10
|
+
const y = t(null), c = p(g2.pageContext);
|
|
11
|
+
return g2.pageContext.entity && g2.pageContext.entity.task && n(g2.pageContext.entity.task.id, () => {
|
|
12
|
+
c && y.value && y.value.refresh();
|
|
13
|
+
}, { immediate: true }), (e3, t2) => {
|
|
14
|
+
const n2 = o("workflow-history");
|
|
15
|
+
return i(c) ? (r(), l(n2, { key: 1, id: i(c), ref_key: "historyGraphRef", ref: y, style: u({ maxHeight: m.value + "px" }) }, null, 8, ["id", "style"])) : (r(), s("span", f, a(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
|
|
16
|
+
};
|
|
17
|
+
} });
|
|
18
|
+
export {
|
|
19
|
+
g as default
|
|
20
|
+
};
|
package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as e, ref as t, watch as n, resolveComponent as o, unref as i, openBlock as s, createElementBlock as r, toDisplayString as l, createBlock as a, normalizeStyle as u } from "vue";
|
|
2
|
+
import { getWorkflowId as p } from "../../../../utils/common-util.js";
|
|
3
|
+
const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
4
|
+
var _a;
|
|
5
|
+
const g2 = e2, x = t(null), m = (_a = g2.configure.sytle) == null ? void 0 : _a._heightStyle;
|
|
6
|
+
if (m && (m + "").indexOf("px") > 0) {
|
|
7
|
+
const e3 = m.substring(0, m.lastIndexOf("px"));
|
|
8
|
+
x.value = Number(e3) - 20;
|
|
9
|
+
} else x.value = window.innerHeight - 120;
|
|
10
|
+
const y = t(null), w = p(g2.pageContext);
|
|
11
|
+
return g2.pageContext.entity && g2.pageContext.entity.task && n(() => {
|
|
12
|
+
var _a2;
|
|
13
|
+
return (_a2 = g2.pageContext.entity.task) == null ? void 0 : _a2.id;
|
|
14
|
+
}, () => {
|
|
15
|
+
w && y.value && g2.pageContext.entity.task && y.value.refresh();
|
|
16
|
+
}, { immediate: true }), (e3, t2) => {
|
|
17
|
+
const n2 = o("workflow-history-list");
|
|
18
|
+
return i(w) ? (s(), a(n2, { key: 1, ref_key: "historyList", ref: y, "workflow-id": i(w), style: u({ maxHeight: x.value + "px" }) }, null, 8, ["workflow-id", "style"])) : (s(), r("span", f, l(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
|
|
19
|
+
};
|
|
20
|
+
} });
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as t, ref as e, openBlock as n, createElementBlock as o, Fragment as r, renderList as u, createBlock as i, createCommentVNode as a } from "vue";
|
|
2
|
+
import s from "../../object-render.vue.js";
|
|
3
|
+
import { getClickEventFuncByType as p } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { isVisibleWorkflowButton as m } from "../../../../utils/events/standard-event.js";
|
|
5
|
+
const c = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" }, l = t({ __name: "workflowbutton-runtime", props: { pageContext: {}, configure: {} }, setup(t2) {
|
|
6
|
+
var _a, _b;
|
|
7
|
+
const l2 = t2, f = l2.configure.runtime ? l2.configure.runtime : {};
|
|
8
|
+
e(f.style ? f.style : {}), f.class;
|
|
9
|
+
const g = l2.pageContext.workflowButtonComponent, v = l2.pageContext.completeTaskParam, d = (_a = l2.pageContext.entity) == null ? void 0 : _a.data, k = e([]);
|
|
10
|
+
function B(t3) {
|
|
11
|
+
const e2 = p(l2.pageContext, t3, "click");
|
|
12
|
+
if (e2) {
|
|
13
|
+
if (e2.isStandard) return e2.event.eventName;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return (_b = l2.configure.items) == null ? void 0 : _b.forEach((t3) => {
|
|
17
|
+
(function(t4) {
|
|
18
|
+
const e2 = B(t4.runtime && t4.runtime.events ? t4.runtime.events : []);
|
|
19
|
+
return m(l2.pageContext, e2, g, v, t4, d);
|
|
20
|
+
})(t3) && (!function(t4) {
|
|
21
|
+
var _a2, _b2;
|
|
22
|
+
const e2 = B(t4.runtime && t4.runtime.events ? t4.runtime.events : []);
|
|
23
|
+
if (!e2 || !g) return;
|
|
24
|
+
const n2 = { workflowSave: "saveButton", submitTask: "submitButton", approve: "agreeButton", refuse: "disagreeButton", agreement: "approveButton", oppose: "opposeButton", kiken: "abstainButton", drawTask: "drawButton", addSigner: "addSignerButton", removeSigner: "removeSignerButton", retrieveTask: "backButton", readed: "readButton", assign: "appointButton", copyTask: "copyButton" }[e2], o2 = n2 ? g[n2] : void 0;
|
|
25
|
+
if (!o2 || o2.startsWith("initVal")) return;
|
|
26
|
+
((_b2 = (_a2 = t4 == null ? void 0 : t4.runtime) == null ? void 0 : _a2.props) == null ? void 0 : _b2.title) && (t4.runtime.props.title = o2);
|
|
27
|
+
}(t3), k.value.push(t3));
|
|
28
|
+
}), (e2, p2) => (n(), o("span", c, [(n(true), o(r, null, u(k.value, (e3, u2) => (n(), o(r, null, [e3.check ? (n(), i(s, { key: u2, pageContext: t2.pageContext, configure: e3 }, null, 8, ["pageContext", "configure"])) : a("", true)], 64))), 256))]));
|
|
29
|
+
} });
|
|
30
|
+
export {
|
|
31
|
+
l as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { defineComponent as t, ref as e, onMounted as a, openBlock as n, createElementBlock as o, normalizeClass as r, unref as s, createElementVNode as i, normalizeStyle as p, toDisplayString as u, createCommentVNode as l } from "vue";
|
|
2
|
+
import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
|
|
3
|
+
import { getVariableValue as m, setVariableValue as C } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { useI18n as c } from "vue-i18n";
|
|
5
|
+
const f = t({ __name: "workflownode-runtime", props: { pageContext: {}, configure: {} }, setup(t2, { expose: f2 }) {
|
|
6
|
+
const x = t2, y = e(false), d = x.pageContext.entity ? x.pageContext.entity : {}, T = d.task ? d.task : {}, { t: _ } = c();
|
|
7
|
+
let v = g(x.pageContext, x.configure);
|
|
8
|
+
const R = x.configure.runtime ? x.configure.runtime : {}, E = e(R.props ? R.props : {}), A = R.class, N = R.headerStyle;
|
|
9
|
+
let k = e("");
|
|
10
|
+
if ("form" === x.pageContext.pageType && x.pageContext.entity && x.pageContext.entity.data) {
|
|
11
|
+
if ("EXTRACT" === x.pageContext.entity.data.PROCESS_STATE || "EXTRACT" === x.pageContext.entity.data.process_state) k.value = _("superPageRuntimeMessage.doingExtractFormData");
|
|
12
|
+
else {
|
|
13
|
+
let t3 = x.pageContext.entity.data.CURRENT_ACTIVITY_NAME || x.pageContext.entity.data.current_activity_name;
|
|
14
|
+
T && T.trustorName && (t3 = t3 + "(" + _("superPageRuntimeMessage.nodeTrustorName") + T.trustorName + ")"), k.value = t3;
|
|
15
|
+
}
|
|
16
|
+
y.value = !!x.pageContext.entity.data.WORKFLOW_ID;
|
|
17
|
+
}
|
|
18
|
+
return a(() => {
|
|
19
|
+
}), f2({ getValue: function() {
|
|
20
|
+
return m(d, v);
|
|
21
|
+
}, setValue: function(t3) {
|
|
22
|
+
return C(d, v, t3);
|
|
23
|
+
} }), (t3, e2) => y.value ? (n(), o("span", { key: 0, class: r(s(A)) }, [i("span", { style: p(s(N)) }, [i("span", null, u(E.value.title), 1), i("span", null, u(s(k)), 1)], 4)], 2)) : l("", true);
|
|
24
|
+
} });
|
|
25
|
+
export {
|
|
26
|
+
f as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, openBlock as r, createElementBlock as o, createBlock as s, unref as l, toDisplayString as u, createCommentVNode as m } from "vue";
|
|
2
|
+
import { deepCopy as h } from "../utils/common-util.js";
|
|
3
|
+
import g from "./assemblys/home-chart-render.vue.js";
|
|
4
|
+
import c from "agilebuilder-ui/src/utils/request";
|
|
5
|
+
import { updateOptionDatasources as d, updateChartDatasources as p } from "../utils/page-helper-util.js";
|
|
6
|
+
import { initPageEvents as f } from "../utils/events/event-util.js";
|
|
7
|
+
import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
|
|
8
|
+
import { useI18n as C } from "vue-i18n";
|
|
9
|
+
const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
|
|
10
|
+
const { t: b2 } = C(), I = e2, U = t(true), H = t(false), w = t(null);
|
|
11
|
+
let x, A = t(null);
|
|
12
|
+
return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
|
|
13
|
+
var _a, _b;
|
|
14
|
+
if (e3 && e3.designJson) {
|
|
15
|
+
w.value = {};
|
|
16
|
+
const t2 = JSON.parse(e3.designJson);
|
|
17
|
+
let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
|
|
18
|
+
if (a2) {
|
|
19
|
+
const e4 = JSON.parse(a2);
|
|
20
|
+
e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
|
|
21
|
+
}
|
|
22
|
+
const i2 = window.frameElement;
|
|
23
|
+
w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
|
|
24
|
+
const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
|
|
25
|
+
if (((_a = w.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = w.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
|
|
26
|
+
const e4 = n2.entity.page;
|
|
27
|
+
for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
|
|
28
|
+
}
|
|
29
|
+
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(w.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
|
|
30
|
+
!function(e4, t3) {
|
|
31
|
+
if (!t3 || 0 == t3.length) return;
|
|
32
|
+
e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
|
|
33
|
+
}(A.value, [t2.initChartServiceConfigs]);
|
|
34
|
+
}, 200);
|
|
35
|
+
} else H.value = true, U.value = false;
|
|
36
|
+
}).finally(() => {
|
|
37
|
+
U.value = false;
|
|
38
|
+
}), a(() => {
|
|
39
|
+
x && clearTimeout(x);
|
|
40
|
+
}), (e3, t2) => {
|
|
41
|
+
const a2 = i("loading");
|
|
42
|
+
return n((r(), o("div", y, [!U.value && w.value ? (r(), s(g, { key: 0, configure: w.value, pageContext: l(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? m("", true) : (r(), o("div", S, u(l(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
|
|
43
|
+
};
|
|
44
|
+
} });
|
|
45
|
+
export {
|
|
46
|
+
b as default
|
|
47
|
+
};
|