super-page-runtime 2.3.22-tmp3 → 2.3.22-tmp4
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/package.json +1 -2
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +0 -1
- package/dist/lib/assets/chart-themes/bar-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/pie-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/radar-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +0 -6
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +0 -1
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +0 -6
- package/dist/lib/assets/file.png.cjs +0 -1
- package/dist/lib/assets/folder.png.cjs +0 -1
- package/dist/lib/components/runtime/index.d.ts +0 -5
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/anchor-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +0 -13
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +0 -1
- package/dist/lib/components/runtime/utils/barcode-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +0 -8
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +0 -2
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +0 -2
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +0 -115
- package/dist/lib/components/runtime/utils/common-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -33
- package/dist/lib/components/runtime/utils/eventBus.cjs +0 -1
- package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/lib/components/runtime/utils/events/event-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -92
- package/dist/lib/components/runtime/utils/events/print-label.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +0 -5
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -99
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -25
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +0 -1
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +0 -7
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/global-refs.cjs +0 -1
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -65
- package/dist/lib/components/runtime/utils/i18n-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +0 -1
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +0 -1
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -247
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -174
- package/dist/lib/components/runtime/utils/page-init-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -49
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +0 -26
- package/dist/lib/components/runtime/utils/page-store.cjs +0 -1
- package/dist/lib/components/runtime/utils/page-store.d.ts +0 -58
- package/dist/lib/components/runtime/utils/store-util.cjs +0 -1
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.cjs +0 -1
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/utils/table-utils.cjs +0 -1
- package/dist/lib/components/runtime/utils/table-utils.d.ts +0 -36
- package/dist/lib/components/runtime/utils/tree-utils.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +0 -121
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +0 -5
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -28
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +0 -27
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +0 -59
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +0 -31
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +0 -94
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +0 -14
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +0 -14
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +0 -23
- package/dist/lib/components/runtime/views/home-chart.vue2.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +0 -40
- package/dist/lib/components/runtime/views/super-page-dialog.vue3.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page.vue.cjs +0 -1
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -135
- package/dist/lib/components/runtime/views/super-page.vue2.cjs +0 -1
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +0 -1
- package/dist/lib/i18n/langs/en.cjs +0 -1
- package/dist/lib/index.cjs +0 -1
- package/dist/lib/index.d.ts +0 -16
- package/dist/lib/style.css +0 -1
- package/dist/umd/favicon.ico +0 -0
- package/dist/umd/index.full.min.js +0 -3
- package/dist/umd/style.css +0 -1
package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./input-number-runtime.vue2.cjs");module.exports=e;
|
package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),B=require("../../../../utils/page-init-util.cjs"),v=require("../../../../utils/page-helper-util.cjs"),i=require("../../../../utils/events/event-util.cjs"),V=require("../common/title-suffix-element.vue.cjs"),R=require("../../../../utils/i18n-util.cjs"),E=require("../../../../utils/common-util.cjs"),F=e.defineComponent({__name:"input-number-runtime",props:{pageContext:{},configure:{}},setup(g,{expose:y}){const n=g,u=e.ref(null),p=n.pageContext.entity?n.pageContext.entity:{};let c=B.getFormModelFields(n.pageContext,n.configure);const s=e.computed({get:()=>v.getVariableValue(p,c),set(l){v.setVariableValue(p,c,l),l!=null&&(u.value="")}}),o=n.configure.runtime?n.configure.runtime:{},x=o.style,C=o.class,h=o.headerStyle,k=o.titleExceedStyle,t=e.ref(o.props?o.props:{}),d=e.ref(null),f=e.ref(null),m=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{const l=s.value;i.handleAfterInitEvent(l,n.pageContext,n.configure,{formItemRef:d.value,componentRef:f.value,titleRef:m.value,value:l,entity:n.pageContext.entity.data,pageData:n.pageContext.entity.page})})}),y({addRequiredClass:function(){u.value=E.addRequiredClassUtil()}}),(l,r)=>{const b=e.resolveComponent("el-input-number"),q=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(q,{ref_key:"formItemRef",ref:d,required:t.value.required,class:e.normalizeClass(e.unref(C)+(u.value?" "+u.value:"")),"label-width":t.value.labelWidth,style:e.normalizeStyle(e.unref(x))},{label:e.withCtx(()=>[t.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:m,style:e.normalizeStyle({...e.unref(h),...e.unref(k)})},[t.value.prefixType?(e.openBlock(),e.createBlock(V,{key:0,pageContext:l.pageContext,property:t.value},null,8,["pageContext","property"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(R.$t)(t.value.title)),1)],64))],4)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(b,{ref_key:"componentRef",ref:f,disabled:t.value.state==="disabled",readonly:t.value.state==="readonly",controls:t.value.showButton,size:t.value.size,placeholder:t.value.placeholder,modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a),precision:t.value.precision,step:t.value.step,min:t.value.min,max:t.value.max,onChange:r[1]||(r[1]=a=>e.unref(i.handleFormEvent)(a,l.pageContext,l.configure,"change")),onBlur:r[2]||(r[2]=a=>e.unref(i.handleFormEvent)(a,l.pageContext,l.configure,"blur")),onFocus:r[3]||(r[3]=a=>e.unref(i.handleFormEvent)(a,l.pageContext,l.configure,"focus"))},null,8,["disabled","readonly","controls","size","placeholder","modelValue","precision","step","min","max"])]),_:1},8,["required","class","label-width","style"])}}});module.exports=F;
|
package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./inputtext-runtime.vue2.cjs");module.exports=e;
|
package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f=require("agilebuilder-ui"),K=require("../../../../utils/page-init-util.cjs"),c=require("../../../../utils/page-helper-util.cjs"),u=require("../../../../utils/events/event-util.cjs"),h=require("../../../../utils/form/scan-util.cjs"),Q=require("../common/title-suffix-element.vue.cjs"),P=require("../../../../utils/eventBus.cjs"),d=require("../../../../utils/i18n-util.cjs"),X=require("../../../../utils/common-util.cjs"),Y=e.defineComponent({__name:"inputtext-runtime",props:{pageContext:{},configure:{}},setup(R,{expose:M}){var _,D,O;const l=R,p=l.pageContext.entity?l.pageContext.entity:{},I=e.ref("text");let r=K.getFormModelFields(l.pageContext,l.configure);if(l.pageContext.modelFieldsMap){const n=c.getModelFieldFromPageContext(r,l.pageContext);n&&(I.value=c.isNumberDataType(n.dataType)?"number":"text")}const C=e.ref(f.isMobileBrowser()),$=l.pageContext.code,v=e.ref(r&&r.length>0?$+"__"+r.join("__"):null),y=e.ref(null),i=e.computed({get:()=>c.getVariableValue(p,r),set(n){c.setVariableValue(p,r,n),n!=null&&n!==""&&(y.value="")}}),S=e.ref(null),b=e.ref(null),B=e.ref(null),s=l.configure.runtime?l.configure.runtime:{},t=e.ref(s.props?s.props:{}),N=e.ref(!!((_=t.value.scan)!=null&&_.enable));let g=!1;const q=window.localStorage.getItem("auth_source");q&&q==="dingtalk"&&(g=!0);let k="";k=navigator.userAgent.indexOf(" uni-app ")>0?"app":"browser";const E=!(!C.value||!k||k!=="app"),V=e.ref(!!((E||g)&&N.value||C.value&&N.value&&window.location.protocol==="https:"));let F={};(D=t.value.scan)!=null&&D.enable&&((O=t.value.scan.ruleList)==null?void 0:O.length)>0&&(h.formatScanRuleSets(t.value.scan.ruleList).then(n=>{F=n}),e.watch(()=>i.value,n=>{n=n.trim();const o=h.analysisScanValue(n,F);o&&h.setScanAnalysisValue(l.pageContext,o.scanSet,o.params)}));const z=s.style,J=s.class,A=s.headerStyle,L=s.titleExceedStyle;function w(n){return c.setVariableValue(p,r,n)}e.onMounted(()=>{P.$on(v.value+"-scanDone",n=>{v.value,JSON.stringify(n),w(n.result),u.handleFormEvent(n.result,l.pageContext,l.configure,"afterScanDone")}),e.nextTick(()=>{var o;const n=i.value;u.handleAfterInitEvent(n,l.pageContext,l.configure,{formItemRef:S.value,componentRef:b.value,titleRef:B.value,value:n,entity:l.pageContext.entity.data,pageData:l.pageContext.entity.page}),V.value&&((o=t.value.scan)!=null&&o.autoOpen)&&T()})}),e.onUnmounted(()=>{P.$off(v.value+"-scanDone")});const m=e.ref(!1);function T(){if(E||g){const n={type:"scan",componentId:v.value,systemCode:l.pageContext.systemCode};g&&(n.type="dingTalkScan"),window.parent.parent?(window.parent.parent,window.parent.parent.postMessage(JSON.stringify(n),"*")):window.parent&&(window.parent,window.parent.postMessage(JSON.stringify(n),"*"))}else if(C.value)if(window.location.protocol==="https:")m.value=!0;else{const n={type:"scan",componentId:v.value,systemCode:l.pageContext.systemCode};window.parent.postMessage(JSON.stringify(n),"*")}else m.value=!0}function U(n){m.value=!1,w(n)}return M({getValue:function(){return c.getVariableValue(p,r)},setValue:w,scanClick:T,addRequiredClass:function(){y.value=X.addRequiredClassUtil()}}),(n,o)=>{const j=e.resolveComponent("el-input"),W=e.resolveComponent("scan-code-input-browser"),G=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(G,{ref_key:"formItemRef",ref:S,required:!!t.value.required,class:e.normalizeClass(e.unref(J)+(y.value?" "+y.value:"")),"label-width":t.value.labelWidth,style:e.normalizeStyle(e.unref(z))},{label:e.withCtx(()=>[t.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:B,style:e.normalizeStyle({...e.unref(A),...e.unref(L)})},[t.value.prefixType?(e.openBlock(),e.createBlock(Q,{key:0,pageContext:n.pageContext,property:t.value},null,8,["pageContext","property"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(d.$t)(t.value.title)),1)],64))],4)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(j,{ref_key:"componentRef",ref:b,disabled:t.value.state==="disabled",readonly:t.value.state==="readonly",size:t.value.size,clearable:t.value.clearable,placeholder:t.value.placeholder,maxlength:t.value.maxLength,"show-word-limit":t.value.showInputNum,type:I.value,modelValue:i.value,"onUpdate:modelValue":o[5]||(o[5]=a=>i.value=a),onInput:o[6]||(o[6]=a=>e.unref(u.handleFormEvent)(a,n.pageContext,n.configure,"input")),onChange:o[7]||(o[7]=a=>e.unref(u.handleFormEvent)(a,n.pageContext,n.configure,"change")),onBlur:o[8]||(o[8]=a=>function(H){let x=c.getVariableValue(p,r);x!=null&&(x=x.trim()),c.setVariableValue(p,r,x),u.handleFormEvent(H,l.pageContext,l.configure,"blur")}(a)),onFocus:o[9]||(o[9]=a=>e.unref(u.handleFormEvent)(a,n.pageContext,n.configure,"focus")),onClick:o[10]||(o[10]=a=>e.unref(u.handleFormEvent)(a,n.pageContext,n.configure,"click")),onClear:o[11]||(o[11]=a=>e.unref(u.handleFormEvent)(a,n.pageContext,n.configure,"clear"))},e.createSlots({_:2},[t.value.iconPosition!="outer"&&(t.value.preIconType&&t.value.preIconValue||t.value.preText)?{name:"prefix",fn:e.withCtx(()=>[t.value.preIconType&&t.value.preIconValue?(e.openBlock(),e.createBlock(e.unref(f.SuperIcon),{key:0,style:{cursor:"pointer"},iconType:t.value.preIconType,iconValue:t.value.preIconValue,onClick:o[0]||(o[0]=a=>e.unref(u.doSuffixOrPrefixClickEvent)(i.value,n.pageContext,n.configure,"prefixClick"))},null,8,["iconType","iconValue"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(d.$t)(t.value.preText)),1)]),key:"0"}:void 0,t.value.iconPosition=="outer"&&(t.value.preIconType&&t.value.preIconValue||t.value.preText)?{name:"prepend",fn:e.withCtx(()=>[t.value.preIconType&&t.value.preIconValue?(e.openBlock(),e.createBlock(e.unref(f.SuperIcon),{key:0,style:{cursor:"pointer"},iconType:t.value.preIconType,iconValue:t.value.preIconValue,onClick:o[1]||(o[1]=a=>e.unref(u.doSuffixOrPrefixClickEvent)(i.value,n.pageContext,n.configure,"prefixClick"))},null,8,["iconType","iconValue"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(d.$t)(t.value.preText)),1)]),key:"1"}:void 0,t.value.iconPosition!="outer"&&(t.value.sufIconType&&t.value.sufIconValue||t.value.sufText)?{name:"suffix",fn:e.withCtx(()=>[t.value.sufIconType&&t.value.sufIconValue?(e.openBlock(),e.createBlock(e.unref(f.SuperIcon),{key:0,style:{cursor:"pointer"},iconType:t.value.sufIconType,iconValue:t.value.sufIconValue,onClick:o[2]||(o[2]=a=>e.unref(u.doSuffixOrPrefixClickEvent)(i.value,n.pageContext,n.configure,"suffixClick"))},null,8,["iconType","iconValue"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(d.$t)(t.value.sufText)),1)]),key:"2"}:void 0,V.value||t.value.iconPosition=="outer"&&(t.value.sufIconType&&t.value.sufIconValue||t.value.sufText)?{name:"append",fn:e.withCtx(()=>[V.value?(e.openBlock(),e.createBlock(e.unref(f.SuperIcon),{key:0,style:{cursor:"pointer"},iconValue:"fa-barcode",onClick:o[3]||(o[3]=a=>T())})):e.createCommentVNode("",!0),t.value.sufIconType&&t.value.sufIconValue?(e.openBlock(),e.createBlock(e.unref(f.SuperIcon),{key:1,style:{cursor:"pointer"},iconType:t.value.sufIconType,iconValue:t.value.sufIconValue,onClick:o[4]||(o[4]=a=>e.unref(u.doSuffixOrPrefixClickEvent)(i.value,n.pageContext,n.configure,"suffixClick"))},null,8,["iconType","iconValue"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(d.$t)(t.value.sufText)),1)]),key:"3"}:void 0]),1032,["disabled","readonly","size","clearable","placeholder","maxlength","show-word-limit","type","modelValue"]),m.value?(e.openBlock(),e.createBlock(W,{key:0,onClose:U})):e.createCommentVNode("",!0)]),_:1},8,["required","class","label-width","style"])}}});module.exports=Y;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./label-runtime.vue2.cjs");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-2ffad4a6"]]);module.exports=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),E=require("../../../../utils/page-init-util.cjs"),x=require("../../../../utils/page-helper-util.cjs"),C=require("agilebuilder-ui"),u=require("../../../../utils/events/event-util.cjs"),y=require("../../../../utils/i18n-util.cjs"),_={style:{width:"100%","text-align":"center","font-weight":"700","font-size":"24px"}},N={style:{overflow:"hidden","white-space":"nowrap"}},z=["title"],b=e.defineComponent({__name:"label-runtime",props:{pageContext:{},configure:{}},setup(V,{expose:h}){const n=V,T=n.pageContext.entity?n.pageContext.entity:{};let S=E.getFormModelFields(n.pageContext,n.configure);const a=n.configure.runtime?n.configure.runtime:{},m=a.style,v=a.class,w=a.headerStyle,B=a.appendClass,d=a.appendStyle,I=a.titleExceedStyle,t=e.ref(a.props?a.props:{}),i=e.ref(t.value.options?t.value.options:[]),c=t.value.formatType;t.value;const r=e.computed(()=>{let l=x.getVariableValue(T,S);if(c)if(t.value.hasOptions){let o=null;i.value&&(o=i.value.filter(p=>p.value==l)),o&&o.length>0&&(l=o[0].label)}else if(c==="custom"){const o=u.getCustomFunc(n.pageContext,t.value.formatFunc);o&&(l=o.apply(o,[{pageContext:n.pageContext,configureObj:n.configure,value:l}]))}else l=x.formatValueByType(l,c,t.value);return l=l??"",l}),g=e.ref(null),k=e.ref(null),s=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{const l=r.value;u.handleAfterInitEvent(l,n.pageContext,n.configure,{formItemRef:g.value,componentRef:k.value,titleRef:s.value,value:l,entity:n.pageContext.entity.data,pageData:n.pageContext.entity.page})})}),h({updateOptions:function(l){i.value=l||[]}}),(l,o)=>{const p=e.resolveComponent("el-form-item");return t.value.whetherTittle?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:s,class:e.normalizeClass(e.unref(v)),style:e.normalizeStyle(e.unref(m))},[e.createElementVNode("div",_,e.toDisplayString(t.value.title),1)],6)):t.value.tittleShow?(e.openBlock(),e.createBlock(p,{key:1,ref_key:"formItemRef",ref:g,required:!!t.value.required,class:e.normalizeClass([e.unref(v),t.value.contentAlign?"form-item-align-"+t.value.contentAlign:t.value.showType==="formNo"?"form-item-align-flex-end":""]),"label-width":t.value.labelWidth,style:e.normalizeStyle(e.unref(m))},{label:e.withCtx(()=>[t.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:s,style:e.normalizeStyle({...e.unref(w),...e.unref(I)})},e.toDisplayString(e.unref(y.$t)(t.value.title)),5)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",{style:{display:"flex",width:"100%","justify-content":"space-between"},ref_key:"componentRef",ref:k,onClick:o[0]||(o[0]=f=>e.unref(u.handleFormEvent)(f,l.pageContext,l.configure,"click"))},[e.createElementVNode("span",N,[t.value.preIconValue||t.value.preText?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass({"el-input__suffix":t.value.iconPosition!="outer","el-input-group__append":t.value.iconPosition=="outer"}),style:e.normalizeStyle(e.unref(d))},[t.value.preIconType&&t.value.preIconValue?(e.openBlock(),e.createBlock(e.unref(C.SuperIcon),{key:0,iconType:t.value.preIconType,iconValue:t.value.preIconValue},null,8,["iconType","iconValue"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(y.$t)(t.value.preText)),1)],6)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(r.value),1)]),t.value.sufIconValue||t.value.sufText?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass({"el-input__suffix":t.value.iconPosition!="outer","el-input-group__append":t.value.iconPosition=="outer"})},[t.value.sufIconType&&t.value.sufIconValue?(e.openBlock(),e.createBlock(e.unref(C.SuperIcon),{key:0,style:{},iconType:t.value.sufIconType,iconValue:t.value.sufIconValue},null,8,["iconType","iconValue"])):e.createCommentVNode("",!0),e.createElementVNode("span",null," "+e.toDisplayString(e.unref(y.$t)(t.value.sufText)),1)],2)):e.createCommentVNode("",!0)],512)]),_:1},8,["required","class","label-width","style"])):(e.openBlock(),e.createElementBlock("span",{key:2,style:{display:"flex","justify-content":"space-between"},onClick:o[1]||(o[1]=f=>e.unref(u.handleFormEvent)(f,l.pageContext,l.configure,"click"))},[e.createElementVNode("span",{style:{overflow:"hidden","white-space":"nowrap"},title:r.value},e.toDisplayString(t.value.prefixIcon)+" "+e.toDisplayString(r.value),9,z),t.value.suffixTxt?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(B)),style:e.normalizeStyle(e.unref(d))},e.toDisplayString(t.value.suffixTxt),7)):e.createCommentVNode("",!0)]))}}});module.exports=b;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./link-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),w=require("../../../../utils/page-init-util.cjs"),g=require("../../../../utils/page-helper-util.cjs"),v=require("../../../../utils/events/event-util.cjs"),R=require("../../../../utils/i18n-util.cjs"),S=e.defineComponent({__name:"link-runtime",props:{pageContext:{},configure:{}},setup(y){const l=y,o=w.getFormModelFields(l.pageContext,l.configure),r=l.configure.runtime?l.configure.runtime:{},C=r.style,x=r.class,k=r.headerStyle,n=e.ref(r.props?r.props:{});n.value;let i=n.value.formatting;const u=l.pageContext.entity?l.pageContext.entity:{},c=e.computed(()=>{let t=g.getVariableValue(u,o);return t=t==null||t==null?"":t,i&&(t=i.replace(/\${value}/g,t)),t});let f=n.value.tooltip,a=null;f&&(a=e.computed(()=>{let t=g.getVariableValue(u,o);return t=t==null||t==null?"":t,f.replace(/\${value}/g,t)}));const p=e.ref(null),s=e.ref(null),d=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{const t=c.value;v.handleAfterInitEvent(t,l.pageContext,l.configure,{formItemRef:p.value,componentRef:s.value,titleRef:d.value,value:t,entity:l.pageContext.entity.data,pageData:l.pageContext.entity.page})})}),(t,m)=>{const b=e.resolveComponent("el-link"),h=e.resolveComponent("el-tooltip"),V=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(V,{ref_key:"formItemRef",ref:p,class:e.normalizeClass(e.unref(x)),"label-width":n.value.labelWidth,style:e.normalizeStyle(e.unref(C))},{label:e.withCtx(()=>[n.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:d,style:e.normalizeStyle({...e.unref(k)})},e.toDisplayString(e.unref(R.$t)(n.value.title)),5)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(h,{disabled:!e.unref(a),content:e.unref(a)},{default:e.withCtx(()=>[e.createVNode(b,{ref_key:"componentRef",ref:s,disabled:n.value.state==="disabled",type:n.value.type,underline:n.value.underline,onClick:m[0]||(m[0]=_=>e.unref(v.handleEvent)(_,t.pageContext,t.configure,"click",{skipValidate:!0}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.value),1)]),_:1},8,["disabled","type","underline"])]),_:1},8,["disabled","content"])]),_:1},8,["class","label-width","style"])}}});module.exports=S;
|
package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./placeholder-runtime.vue2.cjs");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-96fc65d8"]]);module.exports=r;
|
package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f=require("../../../../utils/events/event-util.cjs"),s=e.defineComponent({__name:"placeholder-runtime",props:{pageContext:{},configure:{}},setup(l){const t=l,n=t.configure.runtime?t.configure.runtime:{},a=n.style,i=n.class,r=e.ref(null),o=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{f.handleAfterInitEvent(null,t.pageContext,t.configure,{formItemRef:r.value,componentRef:o.value,entity:t.pageContext.entity.data,pageData:t.pageContext.entity.page})})}),(c,m)=>{const u=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(u,{ref_key:"formItemRef",ref:r,class:e.normalizeClass(e.unref(i)),style:e.normalizeStyle(e.unref(a))},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"componentRef",ref:o,style:{width:"100%",height:"100%"}}," ",512)]),_:1},8,["class","style"])}}});module.exports=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./radio-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),u=require("../../../../utils/page-helper-util.cjs"),M=require("../../../../utils/page-init-util.cjs"),C=require("../../../../utils/events/event-util.cjs"),N=require("../../../../utils/i18n-util.cjs"),P=require("../../../../utils/common-util.cjs"),U=e.defineComponent({__name:"radio-runtime",props:{pageContext:{},configure:{}},setup(w,{expose:B}){const l=w,p=e.ref(null),c=l.pageContext.entity?l.pageContext.entity:{};let v=M.getFormModelFields(l.pageContext,l.configure);const g=e.computed({get(){let t=u.getVariableValue(c,v);return t!=null&&(t+=""),t},set(t){u.setVariableValue(c,v,t),t!=null&&(p.value="")}}),i=l.configure.runtime?l.configure.runtime:{},R=i.style,T=i.class,E=i.headerStyle,F=i.titleExceedStyle,n=e.ref(i.props?i.props:{}),r=e.ref(n.value.options?n.value.options:[]),y=u.getOptionDatasFromPage(l.pageContext,l.configure);y.length>0&&(r.value=y);const m=l.configure.props&&l.configure.props.dataOrigin?l.configure.props.dataOrigin:{},h=m.optionValueSetType;let d=[];if((h=="dynamicData"||h=="dataTable"||h=="service")&&m.autoSets)for(let t of m.autoSets)t.source&&d.push(t);l.configure&&l.configure.props&&l.configure.props.base&&l.configure.props.base.optionProp&&d.push({source:"label",target:l.configure.props.base.optionProp}),n.value.changeMethod=function(t){if(d.length>0){let o=null;r.value&&t!=null&&t!=null&&(o=r.value.filter(a=>t===a.value)),u.autoSetAfterSelect(l.configure,l.pageContext,d,o)}C.handleFormEvent(t,l.pageContext,l.configure,"change")};const b=n.value.monitorFields,x=[];if(b){const t=[];for(let o of b)if(o.startsWith("${")){o=o.substring(2,o.length-1);const a=o.split(".");a[0]!=="page"&&a[0]!=="task"&&a[0]!=="data"||(x.push(a),t.includes(a[0])||t.push(a[0]))}for(let o of t)e.watch(c[o],()=>{D()})}function k(){let t="";for(let o of x)t+="_"+u.getVariableValue(c,o);return t}let V=k(),f=!1;const z=n.value.optionconfigInfo?n.value.optionconfigInfo:{};function D(){f&&clearTimeout(f),f=setTimeout(function(){const t=k();t!=V&&(V=t,u.queryOptionDatasources(l.pageContext,z,void 0).then(o=>{}))},200)}e.onUnmounted(()=>{f&&clearTimeout(f)});const S=e.ref(null),q=e.ref(null),_=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{const t=g.value;C.handleAfterInitEvent(t,l.pageContext,l.configure,{formItemRef:S.value,componentRef:q.value,titleRef:_.value,value:t,entity:l.pageContext.entity.data,pageData:l.pageContext.entity.page})})}),B({updateOptions:function(t){r.value=t||[]},addRequiredClass:function(){p.value=P.addRequiredClassUtil()},getSelectItemsTitle:function(){let t=u.getVariableValue(c,v);if(t==null)return"";if(t=String(t),t!=null&&t!==""&&t.length>0){let o="";return r.value.length>0?(r.value.forEach(a=>{a.value===t&&(o=o+a.label+",")}),o=o.slice(0,o.length-1)):o=t.join(","),o}}}),(t,o)=>{const a=e.resolveComponent("el-radio"),I=e.resolveComponent("el-radio-group"),O=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(O,{ref_key:"formItemRef",ref:S,required:n.value.required,class:e.normalizeClass(e.unref(T)+(p.value?" "+p.value:"")),"label-width":n.value.labelWidth,style:e.normalizeStyle(e.unref(R))},{label:e.withCtx(()=>[n.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:_,style:e.normalizeStyle({...e.unref(E),...e.unref(F)})},e.toDisplayString(e.unref(N.$t)(n.value.title)),5)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(I,{ref_key:"componentRef",ref:q,disabled:n.value.state==="disabled",size:n.value.size,onChange:n.value.changeMethod,modelValue:g.value,"onUpdate:modelValue":o[0]||(o[0]=s=>g.value=s)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,s=>(e.openBlock(),e.createBlock(a,{key:s.value,label:s.value,onClick:j=>e.unref(C.handleFormEvent)(s.value,t.pageContext,t.configure,"click",{values:g.value})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["label","onClick"]))),128))]),_:1},8,["disabled","size","onChange","modelValue"])]),_:1},8,["required","class","label-width","style"])}}});module.exports=U;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./richtext-runtime.vue2.cjs");,/* empty css */;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-34d362f9"]]);module.exports=r;
|
package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),de=require("../../../../utils/page-init-util.cjs"),w=require("../../../../utils/page-helper-util.cjs"),Y=require("../../../../utils/events/event-util.cjs"),fe=require("agilebuilder-ui"),pe=require("../../../../utils/i18n-util.cjs"),H=require("../../../../utils/common-util.cjs"),x=require("quill"),me=require("element-plus"),ve={class:"toolbar-right-btns"},ge=["title"],he={class:"richtext-statusbar"},be={class:"word-count"},xe={key:0,class:"upload-loading"},Ce=["innerHTML"],ye=e.defineComponent({__name:"richtext-runtime",props:{pageContext:{},configure:{}},setup(j,{expose:J}){const R=["12px","14px","16px","18px","20px","24px","28px","32px","36px","48px"],F=x.import("attributors/style/size");F.whitelist=R,x.register(F,!0);const U=[!1,"Source Han Sans CN","SimSun","SimHei","Microsoft YaHei","KaiTi","FangSong","Arial","Times New Roman","Verdana","Georgia","Courier New"],_=x.import("attributors/style/font");_.whitelist=U,x.register(_,!0);const a=j,C=e.ref(""),E=a.pageContext.entity?a.pageContext.entity:{},z=de.getFormModelFields(a.pageContext,a.configure),m=a.configure.runtime?a.configure.runtime:{},q=m.style,Q=m.class,X=m.headerStyle,Z=m.titleExceedStyle,d=e.ref(m.props?m.props:{});let V=w.getSizeConfig(a.pageContext,a.configure);V&&V.fixHeight&&(q.height||(q.height=V.fixHeight+"px"));let ee=d.value.value;const te=w.formatVariableValue(a.pageContext,ee),f=e.ref(null);let o=null;const p=e.ref(!1),N=e.ref(0),S=e.ref(!1),T=e.ref(!1),$=e.ref("");let h=null,y=d.value.state;function D(n){return n=="readonly"||n=="disabled"}const W=D(y),ne=e.ref({modules:{toolbar:[["bold","italic","underline","strike"],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"}],[{script:"sub"},{script:"super"}],[{indent:"-1"},{indent:"+1"}],[{direction:"rtl"}],[{size:R}],[{header:[1,2,3,4,5,6,!1]}],[{color:[]},{background:[]}],[{font:U}],[{align:[]}],["clean"],["link","image"]]},theme:"snow",placeholder:W?"":d.value.placeholder,readOnly:W});function I(){if(!(o!=null&&o.container))return;const n=o.container.parentNode;if(!n)return;const t=n.getBoundingClientRect(),u=o.container.getBoundingClientRect();let l=t.height-(u.top-t.top);o.container.style.height=Math.max(l,100)+"px"}e.watch(d.value,()=>{const n=d.value.state;if(n!=null&&n!==y){y=n;const t=D(y);o&&(o.enable(!t),o.root.dataset.placeholder=t?"":d.value.placeholder)}});const B=e.ref([]),A=e.ref(!1),oe=e.ref(null),le=e.ref(null),re=e.ref(null);let k=null;function L(n){const t=n.match(/serverPath=([^&"]+)/);return t?t[1]:""}function P(n){if(!o)return;const t=function(l){let r=l.replace(/<img data-uuid="(.*?)"/g,(s,i)=>{const c=L(i),b=a.pageContext.backendUrl;return`<img src="${H.getBaseUrl(b,a.pageContext.isTest)}/common/fs-upload/download?serverPath=${c}&isShowWatermark=false" data-uuid="${c}"`});return r=r.replace(/\t/g," "),r=r.replace(/ {2}/g," "),r}(n),u=o.clipboard.convertHTML(t);o.setContents(u.ops),e.nextTick(()=>{o&&o.root.querySelectorAll("img").forEach(l=>{if(!l.getAttribute("data-uuid")){const r=L(l.src);l.setAttribute("data-uuid",r)}})})}const v={bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",blockquote:"引用","code-block":"代码块",'list[value="ordered"]':"有序列表",'list[value="bullet"]':"无序列表",'script[value="sub"]':"下标",'script[value="super"]':"上标",'indent[value="-1"]':"减少缩进",'indent[value="+1"]':"增加缩进",'direction[value="rtl"]':"文字方向",size:"字体大小",header:"标题",color:"字体颜色",background:"背景颜色",font:"字体",align:"对齐方式",clean:"清除格式",link:"链接",image:"图片"};function ae(){p.value=!p.value,e.nextTick(()=>{I()})}function ie(){o&&($.value=o.root.innerHTML,T.value=!0)}function M(){if(!o)return void(N.value=0);const n=o.getText().trim();N.value=n.length}function ue(){me.ElMessage.error({message:"图片上传失败,请重试",duration:3e3})}function G(n){n.key==="Escape"&&p.value&&(p.value=!1)}function K(n){var t;o&&(n.relatedTarget!==null&&((t=f.value)!=null&&t.contains(n.relatedTarget))||Y.handleFormEvent(o.root.innerHTML,a.pageContext,a.configure,"change",{entity:E}))}function O(n){if(n.target.localName==="img"){B.value=[];let t=n.target.src;B.value.push(t),A.value=!0}}function ce(n){const t=new FormData;t.append("file",n);const u=a.pageContext.backendUrl,l=H.getBaseUrl(u,a.pageContext.isTest);return fe.http.post(l+"/common/fs-upload/rich-editor-image",t,{headers:{"Content-Type":"multipart/form-data"}})}function se(n,t){const u=n.split(","),l=u[0].match(/:(.*?);/),r=l?l[1]:"image/png",s=atob(u[1]);let i=s.length;const c=new Uint8Array(i);for(;i--;)c[i]=s.charCodeAt(i);return new File([c],t,{type:r})}return e.onMounted(()=>{var n;f.value&&(o=new x(f.value,ne.value),o.root.style.fontSize="16px",function(){var u,l;const t=(l=(u=f.value)==null?void 0:u.parentElement)==null?void 0:l.querySelector(".ql-toolbar");t&&(t.querySelectorAll("button").forEach(r=>{const s=r.className.match(/ql-([\w-]+)/);if(s){const i=s[1],c=`${i}[value="${r.value}"]`;v[c]?r.setAttribute("data-tooltip",v[c]):v[i]&&r.setAttribute("data-tooltip",v[i])}}),t.querySelectorAll(".ql-picker").forEach(r=>{const s=r.className.match(/ql-(\w+)/);if(s){const i=s[1];if(v[i]){const c=r.querySelector(".ql-picker-label");c&&c.setAttribute("data-tooltip",v[i])}}}))}(),function(){var u,l;const t=(l=(u=f.value)==null?void 0:u.parentElement)==null?void 0:l.querySelector(".ql-toolbar");t&&t.addEventListener("mousedown",r=>{r.preventDefault()})}(),P(te),(n=f.value)==null||n.addEventListener("focusout",K),o.on("text-change",async function(t){if(!o)return;const u=o.root.getElementsByTagName("img");for(const l of u)if(!l.getAttribute("data-uuid")){const r=L(l.src);l.setAttribute("data-uuid",r)}if(t.ops&&t.ops.length>0)for(const l of t.ops){const r=l.insert;if(r!=null&&r.image){const s=r.image;if(!s.startsWith("data:image"))continue;try{S.value=!0;const i=se(s,"image.png"),c=await ce(i);if(!o)return;const b=o.root.getElementsByTagName("img");for(const g of b)g.src===s&&(g.width=300,g.src=c.url,g.setAttribute("data-uuid",c.uuid))}catch(i){console.error("上传图片失败",i),ue()}finally{S.value=!1}}}(function(){h&&clearTimeout(h),h=setTimeout(()=>{if(!o)return;const l=o.root.innerHTML;w.setVariableValue(E,z,l),l&&(C.value="")},300)})(),M()}),M(),k=o.container,k.addEventListener("click",O),I(),e.nextTick(()=>{const t=w.getVariableValue(E,z);Y.handleAfterInitEvent(t,a.pageContext,a.configure,{formItemRef:oe.value,componentRef:le.value,titleRef:re.value,value:t,entity:a.pageContext.entity.data,pageData:a.pageContext.entity.page})}))}),e.onMounted(()=>{document.addEventListener("keydown",G)}),e.onBeforeUnmount(()=>{document.removeEventListener("keydown",G),h&&clearTimeout(h),f.value&&f.value.removeEventListener("focusout",K),k&&k.removeEventListener("click",O)}),J({addRequiredClass:function(){C.value=H.addRequiredClassUtil()},setContent:function(n){P(n),M()},getContent:function(){return o?o.root.innerHTML:""}}),(n,t)=>{const u=e.resolveComponent("View"),l=e.resolveComponent("el-icon"),r=e.resolveComponent("FullScreen"),s=e.resolveComponent("Close"),i=e.resolveComponent("el-form-item"),c=e.resolveComponent("el-image-viewer"),b=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(i,{required:d.value.required,class:e.normalizeClass(e.unref(Q)+(C.value?" "+C.value:"")),"label-width":d.value.labelWidth,style:e.normalizeStyle(e.unref(q))},{label:e.withCtx(()=>[d.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({...e.unref(X),...e.unref(Z)})},e.toDisplayString(e.unref(pe.$t)(d.value.title)),5)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["richtext-wrapper",{"is-fullscreen":p.value}])},[e.createElementVNode("div",{ref_key:"quillEditorRef",ref:f,style:{width:"100%"}},null,512),e.createElementVNode("div",ve,[e.createElementVNode("button",{class:"toolbar-btn",onClick:ie,title:"预览"},[e.createVNode(l,null,{default:e.withCtx(()=>[e.createVNode(u)]),_:1})]),e.createElementVNode("button",{class:"toolbar-btn",onClick:ae,title:p.value?"退出全屏":"全屏编辑"},[p.value?(e.openBlock(),e.createBlock(l,{key:1},{default:e.withCtx(()=>[e.createVNode(s)]),_:1})):(e.openBlock(),e.createBlock(l,{key:0},{default:e.withCtx(()=>[e.createVNode(r)]),_:1}))],8,ge)]),e.createElementVNode("div",he,[e.createElementVNode("span",be,"字数:"+e.toDisplayString(N.value),1)]),S.value?(e.openBlock(),e.createElementBlock("div",xe,t[2]||(t[2]=[e.createElementVNode("div",{class:"loading-spinner"},null,-1),e.createElementVNode("span",null,"图片上传中...",-1)]))):e.createCommentVNode("",!0)],2)]),_:1},8,["required","class","label-width","style"]),A.value?(e.openBlock(),e.createBlock(c,{key:0,"hide-on-click-modal":"",onClose:t[0]||(t[0]=()=>{A.value=!1}),"url-list":B.value},null,8,["url-list"])):e.createCommentVNode("",!0),e.createVNode(b,{modelValue:T.value,"onUpdate:modelValue":t[1]||(t[1]=g=>T.value=g),title:"内容预览",width:"80%","close-on-click-modal":!0,"append-to-body":!0,class:"richtext-preview-dialog"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"richtext-preview-content ql-editor",innerHTML:$.value},null,8,Ce)]),_:1},8,["modelValue"])],64)}}});module.exports=ye;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./select-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("../../../../utils/page-helper-util.cjs"),$=require("../../../../utils/page-init-util.cjs"),k=require("../../../../utils/events/event-util.cjs"),L=require("../common/title-suffix-element.vue.cjs"),G=require("../../../../utils/i18n-util.cjs"),H=require("../../../../utils/common-util.cjs"),J=require("@element-plus/icons-vue"),Q=require("clipboard"),X=require("element-plus"),Y=require("vue-i18n"),Z={style:{"padding-left":"5px"}},ee={style:{width:"100%"}},te={style:{float:"left"}},le={style:{float:"right",color:"var(--el-text-color-secondary)","font-size":"13px"}},oe=e.defineComponent({__name:"select-runtime",props:{pageContext:{},configure:{}},setup(F,{expose:R}){const{t:z}=Y.useI18n(),r=F,v=e.ref(null),d=r.pageContext.entity?r.pageContext.entity:{};let w=$.getFormModelFields(r.pageContext,r.configure);const c=r.configure.runtime?r.configure.runtime:{},I=c.style,O=c.class,P=c.headerStyle,j=c.titleExceedStyle,o=e.ref(c.props?c.props:{});let V=[];const S="copyBtn_"+r.configure.uuid+"_"+new Date().getTime();function m(){let t=s.getVariableValue(d,w);return t!=null&&(t=String(t)),o.value.multiple&&(t=t?String(t).split(","):[]),t}const p=e.computed({get:()=>m(),set(t){const l=m();V=Array.isArray(l)?[...l]:l;let a=t;o.value.multiple&&(a=o.value.arrayValue?Array.isArray(t)?t:t?String(t).split(","):[]:Array.isArray(t)?t.length>0?t.join(","):"":t??""),a===void 0&&(a=null),s.setVariableValue(d,w,a),a!=null&&(v.value="")}}),n=e.ref(o.value.options?o.value.options:[]),q=s.getOptionDatasFromPage(r.pageContext,r.configure);q.length>0&&(n.value=q);const f=e.ref(!1),h=r.configure.props&&r.configure.props.dataOrigin?r.configure.props.dataOrigin:{},x=h.optionValueSetType;let y=[];const b=o.value.optionconfigInfo?o.value.optionconfigInfo:{};if(x=="dynamicData"||x=="dataTable"||x=="service"){if(h.filterType=="remote"){let t;o.value.filterable=!0,o.value.remote=!0,o.value.remoteShowSuffix=!0,o.value.remoteMethod=function(l){t!==l&&(t=l,f.value=!0,s.queryOptionDatasources(r.pageContext,b,l).then(a=>{f.value=!1}).then(a=>{f.value=!1}))}}if(h.autoSets)for(let t of h.autoSets)t.source&&y.push(t)}r.configure&&r.configure.props&&r.configure.props.base&&r.configure.props.base.optionProp&&y.push({source:"label",target:r.configure.props.base.optionProp}),o.value.changeMethod=function(t){let l,a=null;n.value&&t!=null&&t!=null&&(a=n.value.filter(C=>Array.isArray(t)?t.includes(C.value):t===C.value)),y.length>0&&s.autoSetAfterSelect(r.configure,r.pageContext,y,a,[o.value.prop]),a&&a.length>0&&(l=a[0]);let u={};l&&(u.extendParams=l),u.options=n.value,u.oldValue=V,k.handleFormEvent(t,r.pageContext,r.configure,"change",u)};const E=o.value.monitorFields,_=[];if(E){const t=[];for(let l of E)if(l.startsWith("${")){l=l.substring(2,l.length-1);const a=l.split(".");a[0]!=="page"&&a[0]!=="task"&&a[0]!=="data"||(_.push(a),t.includes(a[0])||t.push(a[0]))}for(let l of t)e.watch(d[l],()=>{U()})}let B="",g=!1;function U(){g&&clearTimeout(g),g=setTimeout(function(){const t=function(){let l=[];for(let a of _)l.push(s.getVariableValue(d,a));return l.join(",")}();t!=B&&(B=t,b.watchAttrValue=t,s.queryOptionDatasources(r.pageContext,b,void 0).then(l=>{f.value=!1}))},200)}e.onUnmounted(()=>{g&&clearTimeout(g)});let T=!1;const A=e.ref(null),N=e.ref(null),D=e.ref(null);function M(){const t=m();if(t!=null&&t!==""&&t.length>0){let l="";return typeof t=="string"?n.value.length>0?n.value.forEach(a=>{a.value===t&&(l=a.label)}):l=t:n.value.length>0?(n.value.forEach(a=>{t.forEach(u=>{a.value===u&&(l=l+a.label+",")})}),l=l.slice(0,l.length-1)):l=t.join(","),l}}return e.onMounted(()=>{const t=new Q("#"+S,{text:function(){return M()}});t.on("success",()=>{X.ElMessage({showClose:!0,type:"success",message:z("superPageRuntimeMessage.copySuccess")})}),t.on("error",l=>{console.error("复制失败",l)}),e.nextTick(()=>{const l=p.value;k.handleAfterInitEvent(l,r.pageContext,r.configure,{formItemRef:A.value,componentRef:N.value,titleRef:D.value,value:l,entity:r.pageContext.entity.data,pageData:r.pageContext.entity.page})})}),R({updateOptions:function(t){if(n.value=t||[],!T){const l=m();if(l!=null&&l!==""&&n.value.length>0){let a=!1;for(let u of n.value)if(u.value==l){a=!0;break}if(!a){for(let u of n.value)if(u.label==l){p.value=u.value;break}}}}T=!0},addRequiredClass:function(){v.value=H.addRequiredClassUtil()},getSelectItemsTitle:M,getOptions:function(){return n.value}}),(t,l)=>{const a=e.resolveComponent("el-icon"),u=e.resolveComponent("el-option"),C=e.resolveComponent("el-select"),K=e.resolveComponent("el-popover"),W=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(W,{ref_key:"formItemRef",ref:A,required:!!o.value.required,class:e.normalizeClass(e.unref(O)+(v.value?" "+v.value:"")),"label-width":o.value.labelWidth,style:e.normalizeStyle(e.unref(I))},{label:e.withCtx(()=>[o.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:D,style:e.normalizeStyle({...e.unref(P),...e.unref(j)})},[o.value.prefixType?(e.openBlock(),e.createBlock(L,{key:0,pageContext:t.pageContext,property:o.value},null,8,["pageContext","property"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(G.$t)(o.value.title)),1)],64))],4)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(K,{placement:"top",trigger:"hover"},{reference:e.withCtx(()=>[e.createElementVNode("div",ee,[e.createVNode(C,{ref_key:"componentRef",ref:N,style:{width:"100%"},disabled:o.value.state==="disabled",size:o.value.size,clearable:o.value.clearable,multiple:o.value.multiple,"collapse-tags":o.value.collapseTags,"collapse-tags-tooltip":o.value.collapseTagsTooltip,filterable:o.value.filterable,"allow-create":o.value.allowCreate,placeholder:o.value.placeholder,"remote-show-suffix":o.value.remoteShowSuffix,remote:o.value.remote,"remote-method":o.value.remoteMethod,loading:f.value,onKeydown:l[0]||(l[0]=e.withKeys(e.withModifiers(()=>{},["stop"]),["space"])),onChange:o.value.changeMethod,onClear:o.value.changeMethod,modelValue:p.value,"onUpdate:modelValue":l[1]||(l[1]=i=>p.value=i)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,i=>(e.openBlock(),e.createBlock(u,{key:i.value,label:i.label,value:i.value,onClick:ae=>e.unref(k.handleFormEvent)(i.value,t.pageContext,t.configure,"click",{values:p.value})},{default:e.withCtx(()=>[i._description_?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",te,e.toDisplayString(i.label),1),e.createElementVNode("span",le,e.toDisplayString(i._description_),1)],64)):e.createCommentVNode("",!0)]),_:2},1032,["label","value","onClick"]))),128))]),_:1},8,["disabled","size","clearable","multiple","collapse-tags","collapse-tags-tooltip","filterable","allow-create","placeholder","remote-show-suffix","remote","remote-method","loading","onChange","onClear","modelValue"])])]),default:e.withCtx(()=>[e.createElementVNode("span",Z,[e.createVNode(a,{id:S},{default:e.withCtx(()=>[e.createVNode(e.unref(J.CopyDocument))]),_:1})])]),_:1})]),_:1},8,["required","class","label-width","style"])}}});module.exports=oe;
|
package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./separatelabel-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),s=require("agilebuilder-ui"),i=require("../../../../utils/i18n-util.cjs"),f=require("../../../../utils/events/event-util.cjs"),g=e.defineComponent({__name:"separatelabel-runtime",props:{pageContext:{},configure:{}},setup(a,{expose:l}){const n=a,r=e.ref(null),o=n.configure.runtime?n.configure.runtime:{},c=o.style,p=o.class,u=o.headerStyle;return e.onMounted(()=>{e.nextTick(()=>{const t=i.$t(n.configure.props.base.title);f.handleAfterInitEvent(t,n.pageContext,n.configure,{componentRef:r.value,value:t,entity:n.pageContext.entity.data,pageData:n.pageContext.entity.page})})}),l({}),(t,y)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(e.unref(c)),class:e.normalizeClass([e.unref(p),"amb-widget-separatelabel"]),ref_key:"thisRef",ref:r},[e.createElementVNode("div",{class:"label",style:e.normalizeStyle(e.unref(u))},[t.configure.props.iconType&&t.configure.props.iconValue?(e.openBlock(),e.createBlock(e.unref(s.SuperIcon),{key:0,iconType:t.configure.props.iconType,iconValue:t.configure.props.iconValue,style:{"margin-right":"2px"}},null,8,["iconType","iconValue"])):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(e.unref(i.$t)(t.configure.props.base.title)),1)],4)],6))}});module.exports=g;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./switch-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),S=require("../../../../utils/page-init-util.cjs"),d=require("../../../../utils/page-helper-util.cjs"),y=require("../../../../utils/events/event-util.cjs"),z=require("../../../../utils/i18n-util.cjs"),_=require("../../../../utils/common-util.cjs"),B=t.defineComponent({__name:"switch-runtime",props:{pageContext:{},configure:{}},setup(g,{expose:x}){const a=g,r=t.ref(null),v=a.pageContext.entity?a.pageContext.entity:{};let c=S.getFormModelFields(a.pageContext,a.configure);const u=a.configure.runtime?a.configure.runtime:{},C=u.style,h=u.class,b=u.headerStyle,q=u.titleExceedStyle,l=t.ref(u.props?u.props:{});let i=d.getVariableValue(v,c);function n(e){return l.value[e]!==void 0&&l.value[e]!==null&&l.value[e]!==""}i==null||typeof i!="number"||i+""!="1"&&i+""!="0"||(n("activeValue")||(l.value.activeValue=1),n("inactiveValue")||(l.value.inactiveValue=0)),i!=null&&typeof i=="boolean"&&(n("activeValue")||(l.value.activeValue=!0),n("inactiveValue")||(l.value.inactiveValue=!1)),n("activeValue")||(l.value.activeValue=!0),n("inactiveValue")||(l.value.inactiveValue=!1);const w=u.switchStyle,s=t.computed({get(){let e=d.getVariableValue(v,c);return e!=null&&(l.value.activeValue===!0?(e+""=="1"&&(e=!0),e+""=="0"&&(e=!1)):l.value.activeValue===1?(e+""=="true"&&(e=1),e+""=="false"&&(e=0)):e+=""),e},set(e){e!=null&&(l.value.activeValue===!0?(e+""=="1"&&(e=!0),e+""=="0"&&(e=!1)):l.value.activeValue===1?(e+""=="true"&&(e=1),e+""=="false"&&(e=0)):e+=""),d.setVariableValue(v,c,e),e!=null&&(r.value="")}}),p=t.ref(null),m=t.ref(null),V=t.ref(null);return t.onMounted(()=>{t.nextTick(()=>{const e=s.value;y.handleAfterInitEvent(e,a.pageContext,a.configure,{formItemRef:p.value,componentRef:m.value,titleRef:V.value,value:e,entity:a.pageContext.entity.data,pageData:a.pageContext.entity.page})})}),x({addRequiredClass:function(){r.value=_.addRequiredClassUtil()}}),(e,o)=>{const k=t.resolveComponent("el-switch"),R=t.resolveComponent("el-form-item");return t.openBlock(),t.createBlock(R,{ref_key:"formItemRef",ref:p,required:l.value.required,class:t.normalizeClass(t.unref(h)+(r.value?" "+r.value:"")),"label-width":l.value.labelWidth,style:t.normalizeStyle(t.unref(C))},{label:t.withCtx(()=>[l.value.tittleShow?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"titleRef",ref:V,style:t.normalizeStyle({...t.unref(b),...t.unref(q)})},t.toDisplayString(t.unref(z.$t)(l.value.title)),5)):t.createCommentVNode("",!0)]),default:t.withCtx(()=>[t.createVNode(k,{ref_key:"componentRef",ref:m,disabled:l.value.state==="disabled","active-value":l.value.activeValue,"active-text":l.value.activeText,"inactive-value":l.value.inactiveValue,"inactive-text":l.value.inactiveText,width:l.value.offOnWidth,size:l.value.size,style:t.normalizeStyle(t.unref(w)),modelValue:s.value,"onUpdate:modelValue":o[0]||(o[0]=f=>s.value=f),onChange:o[1]||(o[1]=f=>t.unref(y.handleFormEvent)(f,e.pageContext,e.configure,"change"))},null,8,["disabled","active-value","active-text","inactive-value","inactive-text","width","size","style","modelValue"])]),_:1},8,["required","class","label-width","style"])}}});module.exports=B;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./tag-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),z=require("../../../../utils/page-init-util.cjs"),g=require("../../../../utils/page-helper-util.cjs"),m=require("../../../../utils/events/event-util.cjs"),E=require("../../../../utils/i18n-util.cjs"),_=e.defineComponent({__name:"tag-runtime",props:{pageContext:{},configure:{}},setup(b){const t=b,c=z.getFormModelFields(t.pageContext,t.configure),a=t.configure.runtime?t.configure.runtime:{},h=a.style,q=a.class,B=a.headerStyle,V=a.titleExceedStyle,r=e.ref(a.props?a.props:{});let y=r.value.formatting;const p=t.pageContext.entity?t.pageContext.entity:{},v=e.computed(()=>{let l=g.getVariableValue(p,c);l==null&&(l=[]),Array.isArray(l)||(l=(l+"").split(","));const u=[];let s=1;for(const i of l){if(i==null||i==="")continue;const o={value:i,label:i};y&&(o.label=y.replace(/\${value}/g,o.value).replace(/\${no}/g,s)),u.push(o),s++}return u}),d=e.ref(null),C=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{const l=v.value;m.handleAfterInitEvent(l,t.pageContext,t.configure,{formItemRef:d.value,titleRef:C.value,value:l,entity:t.pageContext.entity.data,pageData:t.pageContext.entity.page})})}),(l,u)=>{const s=e.resolveComponent("el-tag"),i=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(i,{ref_key:"formItemRef",ref:d,required:r.value.required,class:e.normalizeClass(e.unref(q)),"label-width":r.value.labelWidth,style:e.normalizeStyle(e.unref(h))},{label:e.withCtx(()=>[r.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:C,style:e.normalizeStyle({...e.unref(B),...e.unref(V)})},e.toDisplayString(e.unref(E.$t)(r.value.title)),5)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,o=>(e.openBlock(),e.createBlock(s,{key:o,size:r.value.size,closable:r.value.closable,type:r.value.type,style:{"margin-right":"4px"},onClose:f=>function(S,w){if(r.value.closable){let n=g.getVariableValue(p,c);n==null&&(n=[]);const x=Array.isArray(n);x||(n=(n+"").split(","));const k=n.indexOf(w.value);k>-1&&n.splice(k,1),x||(n=n.join(",")),g.setVariableValue(p,c,n)}m.handleFormEvent(S,t.pageContext,t.configure,"remove")}(f,o),onClick:u[0]||(u[0]=f=>e.unref(m.handleFormEvent)(f,l.pageContext,l.configure,"click"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["size","closable","type","onClose"]))),128))]),_:1},8,["required","class","label-width","style"])}}});module.exports=_;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./textarea-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),q=require("../../../../utils/page-init-util.cjs"),g=require("../../../../utils/page-helper-util.cjs"),u=require("../../../../utils/events/event-util.cjs"),V=require("../common/title-suffix-element.vue.cjs"),E=require("../../../../utils/i18n-util.cjs"),B=require("../../../../utils/common-util.cjs"),F=e.defineComponent({__name:"textarea-runtime",props:{pageContext:{},configure:{}},setup(v,{expose:x}){const r=v,i=e.ref(null),p=r.pageContext.entity?r.pageContext.entity:{};let s=q.getFormModelFields(r.pageContext,r.configure);const c=e.computed({get:()=>g.getVariableValue(p,s),set(t){g.setVariableValue(p,s,t),t!=null&&t!==""&&(i.value="")}}),o=r.configure.runtime?r.configure.runtime:{},l=e.ref(o.props?o.props:{}),h=o.style,y=o.class,C=o.headerStyle,k=o.titleExceedStyle,d=e.ref(null),f=e.ref(null),m=e.ref(null);return e.onMounted(()=>{e.nextTick(()=>{const t=c.value;u.handleAfterInitEvent(t,r.pageContext,r.configure,{formItemRef:d.value,componentRef:f.value,titleRef:m.value,value:t,entity:r.pageContext.entity.data,pageData:r.pageContext.entity.page})})}),x({addRequiredClass:function(){i.value=B.addRequiredClassUtil()}}),(t,n)=>{const w=e.resolveComponent("el-input"),b=e.resolveComponent("el-form-item");return e.openBlock(),e.createElementBlock("div",null,[e.createVNode(b,{ref_key:"formItemRef",ref:d,required:!!l.value.required,class:e.normalizeClass(e.unref(y)+(i.value?" "+i.value:"")),"label-width":l.value.labelWidth,style:e.normalizeStyle(e.unref(h))},{label:e.withCtx(()=>[l.value.tittleShow?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"titleRef",ref:m,style:e.normalizeStyle({...e.unref(C),...e.unref(k)})},[l.value.prefixType?(e.openBlock(),e.createBlock(V,{key:0,pageContext:t.pageContext,property:l.value},null,8,["pageContext","property"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(E.$t)(l.value.title)),1)],64))],4)):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(w,{ref_key:"componentRef",ref:f,disabled:l.value.state==="disabled",readonly:l.value.state==="readonly",size:l.value.size,clearable:l.value.clearable,placeholder:l.value.placeholder,modelValue:c.value,"onUpdate:modelValue":n[0]||(n[0]=a=>c.value=a),rows:l.value.rows?l.value.rows:2,maxlength:l.value.maxlength,minlength:l.value.minlength,"show-word-limit":l.value.showInputNum,type:"textarea",onInput:n[1]||(n[1]=a=>e.unref(u.handleFormEvent)(a,t.pageContext,t.configure,"input")),onChange:n[2]||(n[2]=a=>e.unref(u.handleFormEvent)(a,t.pageContext,t.configure,"change")),onBlur:n[3]||(n[3]=a=>e.unref(u.handleFormEvent)(a,t.pageContext,t.configure,"blur")),onFocus:n[4]||(n[4]=a=>e.unref(u.handleFormEvent)(a,t.pageContext,t.configure,"focus")),onClick:n[5]||(n[5]=a=>e.unref(u.handleFormEvent)(a,t.pageContext,t.configure,"click"))},null,8,["disabled","readonly","size","clearable","placeholder","modelValue","rows","maxlength","minlength","show-word-limit"])]),_:1},8,["required","class","label-width","style"])])}}});module.exports=F;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),N=require("./error-render.vue.cjs"),S=require("../../utils/assemblys-config.cjs"),k=require("../../utils/interfaces/page-design-types.cjs"),m=require("../../utils/global-refs.cjs"),v=require("../../utils/page-init-util.cjs"),y=require("../../utils/page-helper-util.cjs"),x=require("../../utils/common-util.cjs"),P=require("../../utils/events/event-util.cjs"),_=o.defineComponent({__name:"home-chart-render",props:{pageContext:{},configure:{}},setup(h){const e=h;e.configure.style==null&&(e.configure.style={});const g=v.getPermissionCodes(e.configure,e.pageContext);e.configure&&e.configure.props&&e.configure.props.base&&(e.configure.props.base.functionCode=g);let C=o.ref(!0),b=o.ref(!0);const a=o.ref({});a.value=o.markRaw(S.getRuntimeComponentByName(e.configure.name));const w=o.ref(!0);a.value==null&&(a.value=N,w.value=!1);const i=o.ref(null),s=o.ref({}),l=o.ref(""),d=x.getPropClassName(e.configure);d&&(l.value=d);const c=e.configure.runtime&&e.configure.runtime.common?e.configure.runtime.common:{};if(c.class&&(l.value+=" "+c.class),c.style){Object.assign(s.value,c.style);const n=e.pageContext&&e.pageContext.dimensions?e.pageContext.dimensions:k.PageDimensions.PC,u=c.style[n+"_style"];u&&Object.assign(s.value,u);const r=c.style[n+"_class"];r&&(l.value+=" "+r)}function q(n){if(i.value=n,n&&!n.show&&(n.show=function(){C.value=!0}),n&&!n.hide&&(n.hide=function(){C.value=!1}),n&&!n.getConfigure&&(n.getConfigure=function(){return e.configure}),e.configure.uuid&&m.addComponentRef(e.pageContext,e.configure.uuid,i),e.configure.code)m.addComponentRefByCode(e.pageContext,e.configure.code,i);else if(e.configure.props&&e.configure.props.base){const r=e.configure.props.base;if(r.prop){let t=r.prop;t.startsWith("${")&&(t=t.substring(2,t.length-1)),t.includes(".")&&(t=t.substring(t.indexOf(".")+1)),m.addComponentRefByCode(e.pageContext,t,i)}}const u=e.configure.props?e.configure.props.base:null;if(u&&u.prop){let r=u.prop;r=y.getFormPropName(r),v.controlObjectRenderState(e.pageContext,r)}(function(){if(!i.value)return;const r=y.getSizeConfig(e.pageContext,e.configure);e.configure.name!=="table"&&r&&r.isCalcHeight&&o.nextTick(()=>{let t=i.value.$el;t||(t=i.value);const R=t.parentNode;if(!t||!R)return;const B=t.getBoundingClientRect();let f=window.innerHeight-B.y-80,p=f+"";x.isNumber(f)&&(p=f+"px"),s.value.height=p,s.value["overflow-y"]="auto",s.value["overflow-x"]="hidden",e.configure.sytle||(e.configure.sytle={}),e.configure.sytle._heightStyle=p})})()}return o.onMounted(()=>{}),(n,u)=>{const r=o.resolveDirective("permission");return o.unref(P.isShowComponent)(n.configure)?o.withDirectives((o.openBlock(),o.createBlock(o.resolveDynamicComponent(a.value),{key:0,ref:q,style:o.normalizeStyle(s.value),class:o.normalizeClass(l.value),configure:n.configure,pageContext:n.pageContext},null,8,["style","class","configure","pageContext"])),[[o.vShow,o.unref(b)],[r,{codes:o.unref(g)?o.unref(g):"true",systemCode:n.pageContext.systemCode}]]):o.createCommentVNode("",!0)}}});module.exports=_;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from '../../utils/interfaces/page-design-types.js';
|
|
2
|
-
|
|
3
|
-
interface MyProps {
|
|
4
|
-
pageContext: PageContext;
|
|
5
|
-
configure: Component;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./home-chart-render.vue.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),O=require("./error-render.vue.cjs"),$=require("../../utils/assemblys-config.cjs"),z=require("../../utils/interfaces/page-design-types.cjs"),v=require("../../utils/global-refs.cjs"),w=require("../../utils/page-init-util.cjs"),f=require("../../utils/page-helper-util.cjs"),S=require("../../utils/common-util.cjs"),A=require("../../utils/events/event-util.cjs"),D=require("../../utils/page-store.cjs"),E=require("../../utils/table-utils.cjs"),W=require("agilebuilder-ui"),J=t.defineComponent({__name:"object-render",props:{pageContext:{},configure:{}},setup(F){var k,B;const e=F;e.configure.style==null&&(e.configure.style={});const q=w.getPermissionCodes(e.configure,e.pageContext);e.configure&&e.configure.props&&e.configure.props.base&&(e.configure.props.base.functionCode=q);const T=W.checkPermission(q||"true",e.pageContext.systemCode),_=E.isHasFieldAuth(e.pageContext,e.configure),d=T&&_;e.configure&&e.configure.props&&e.configure.props.base&&(e.configure.props.base.isHasFieldAuthPermission=d),w.packageFormRules(e.pageContext,e.configure,d);let p=t.ref(null),b=t.ref(!0),x=t.ref("");if(e.configure&&e.configure.props){let o=[];if((k=e.configure.props.base)!=null&&k.showConditions&&(o=typeof e.configure.props.base.showConditions=="string"?JSON.parse(e.configure.props.base.showConditions):e.configure.props.base.showConditions),b=t.computed(()=>{var n;let i=!0;if(d)if(p.value&&p.value!==null)i=p.value==="show";else if(A.isShowMobileEvent(e.pageContext,e.configure))if(o&&o.length>0)i=f.caculateShowCondition(e.pageContext,o);else{const r=(n=e.configure.props.base)==null?void 0:n.state;r&&r==="hidden"&&(i=!1)}else i=!1;else i=!1;return i}),e.configure._dynamicShowFlag=b,(B=e.configure.props.base)==null?void 0:B.editConditions){const i=e.configure.props.base.editConditions;if(i.length>0){const n=e.configure.runtime?e.configure.runtime:{},r=n.props?n.props:{};if(r.rawSate=r.state,S.isWorkflowPage(e.pageContext)&&e.pageContext.fieldPermissionMap){const s=e.configure.props.base;if(s&&s.prop){let c=s.prop;c=f.getFormPropName(c);const g=e.pageContext.fieldPermissionMap.get(c);g&&g.canEdit===!1&&(x.value="disabled")}}r.state=t.computed({get(){return x.value==="disabled"?x.value:f.caculateShowCondition(e.pageContext,i)?"":"disabled"},set(){}})}}}const C=t.ref({});C.value=t.markRaw($.getRuntimeComponentByName(e.configure.name));const j=t.ref(!0);C.value==null&&(C.value=O,j.value=!1);const u=t.ref(null),a=t.ref({}),m=t.ref(""),P=S.getPropClassName(e.configure);P&&(m.value=P);const l=e.configure.runtime&&e.configure.runtime.common?e.configure.runtime.common:{};if(l.class&&(m.value+=" "+l.class),l.style){Object.assign(a.value,l.style);const o=e.pageContext&&e.pageContext.dimensions?e.pageContext.dimensions:z.PageDimensions.PC,i=l.style[o+"_style"];i&&Object.assign(a.value,i);const n=l.style[o+"_class"];n&&(m.value+=" "+n)}const R=D.usePageContextStore();function H(o){if(u.value=o,o&&!o.show&&(o.show=function(){p.value="show"}),o&&!o.hide&&(o.hide=function(){p.value="hide"}),o&&!o.getConfigure&&(o.getConfigure=function(){return e.configure}),e.configure.uuid&&v.addComponentRef(e.pageContext,e.configure.uuid,u),e.configure.code)v.addComponentRefByCode(e.pageContext,e.configure.code,u);else if(e.configure.name==="table")v.addComponentRefByCode(e.pageContext,e.configure.uuid,u);else if(e.configure.props&&e.configure.props.base){const n=e.configure.props.base;if(n.prop){let r=n.prop;r.startsWith("${")&&(r=r.substring(2,r.length-1)),r.includes(".")&&(r=r.substring(r.indexOf(".")+1)),v.addComponentRefByCode(e.pageContext,r,u)}}const i=e.configure.props?e.configure.props.base:null;if(i&&i.prop){let n=i.prop;n=f.getFormPropName(n),w.controlObjectRenderState(e.pageContext,n),e.pageContext.propTitleMap=e.pageContext.propTitleMap||{},e.pageContext.propTitleMap[n]=i.title?i.title:n}(function(){if(!u.value)return;const n=f.getSizeConfig(e.pageContext,e.configure);e.configure.name!=="table"&&n&&n.isCalcHeight&&t.nextTick(()=>{var s;if(!((s=u.value)!=null&&s.$el||u.value))return;const r=(c=0)=>{if(!u.value)return;let g=u.value.$el||u.value;if(!g)return;const M=g.getBoundingClientRect();h!==null&&Math.abs(M.y-h)<1?N():c<10?(h=M.y,y=setTimeout(()=>{r(c+1)},50)):N()};h=null,r()})})()}function N(){if(!u.value)return;let o=u.value.$el;o||(o=u.value);const i=o.parentNode;if(!o||!i)return;const n=o.getBoundingClientRect();let r=window.innerHeight-n.y-30;window.innerHeight,n.y;let s=r+"";S.isNumber(r)&&(s=r+"px"),a.value.height=s,a.value["overflow-y"]="auto",a.value["overflow-x"]="hidden",e.configure.sytle||(e.configure.sytle={}),e.configure.sytle._heightStyle=s}t.onMounted(()=>{var o,i,n;R.countComponentsLoadedNumber(),((n=(i=(o=e.configure.props)==null?void 0:o.base)==null?void 0:i.autoAnchorConditions)==null?void 0:n.length)>0&&R.setAutoAnchorComponentConditions(e.configure.uuid,e.configure.props.base.autoAnchorConditions)}),t.onUnmounted(()=>{y&&clearTimeout(y)});let h=null,y=null;return(o,i)=>t.unref(d)&&t.unref(A.isShowComponent)(o.configure)?t.withDirectives((t.openBlock(),t.createBlock(t.resolveDynamicComponent(C.value),{key:0,ref:H,style:t.normalizeStyle(a.value),class:t.normalizeClass(m.value),configure:o.configure,pageContext:o.pageContext},null,8,["style","class","configure","pageContext"])),[[t.vShow,t.unref(b)]]):t.createCommentVNode("",!0)}});module.exports=J;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from '../../utils/interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
interface MyProps {
|
|
4
|
-
pageContext: PageContext;
|
|
5
|
-
configure: Component;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./object-render.vue.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),o=require("./workflow/component/workflow-opinion-box.vue.cjs"),n=e.defineComponent({__name:"page-bottom",props:{pageContext:{}},setup:p=>(t,r)=>(e.openBlock(),e.createBlock(o,{pageContext:t.pageContext},null,8,["pageContext"]))});module.exports=n;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface MyProps {
|
|
2
|
-
pageContext: any;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./page-bottom.vue.cjs");module.exports=e;
|
package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./workflow-opinion-box.vue2.cjs");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-cb803c7a"]]);module.exports=r;
|
package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface MyProps {
|
|
2
|
-
pageContext: any;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),f=require("../../../../utils/common-util.cjs"),m={style:{"background-color":"#ffffff"}},w={class:"opinion-box-table-wrapper"},x={class:"opinion-table"},k={class:"opinion-label"},C={key:0,class:"required-star"},V=e.defineComponent({__name:"workflow-opinion-box",props:{pageContext:{}},setup(c){const l=e.ref(""),t=c,a=e.ref(),i=e.ref("");return e.watch(()=>{var n;return(n=t.pageContext.workflowOpinion)==null?void 0:n.focusOpinionInput},n=>{n?(i.value=f.addRequiredClassUtil(),e.nextTick(()=>{var o;(o=a.value)!=null&&o.focus&&a.value.focus()})):i.value=""},{immediate:!0}),(n,o)=>{var r;const u=e.resolveComponent("el-input"),d=e.resolveComponent("el-affix");return(r=n.pageContext.workflowOpinion)!=null&&r.showOpinionBox?(e.openBlock(),e.createBlock(d,{key:0,target:".app-container",position:"bottom",offset:35},{default:e.withCtx(()=>{var p;return[e.createElementVNode("div",m,[e.createElementVNode("div",w,[e.createElementVNode("table",x,[e.createElementVNode("tbody",null,[e.createElementVNode("tr",null,[e.createElementVNode("td",k,[(p=n.pageContext.workflowOpinion)!=null&&p.isRequired?(e.openBlock(),e.createElementBlock("span",C,"*")):e.createCommentVNode("",!0),o[2]||(o[2]=e.createTextVNode(" 处理意见 ",-1))]),e.createElementVNode("td",{class:e.normalizeClass(["opinion-input-cell",i.value])},[e.createVNode(u,{ref_key:"opinionInputRef",ref:a,modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),autosize:{minRows:2,maxRows:4},type:"textarea",placeholder:"请输入处理意见",onChange:o[1]||(o[1]=s=>{t.pageContext.workflowOpinion&&(t.pageContext.workflowOpinion.opinion=l.value.trim(),t.pageContext.workflowOpinion.focusOpinionInput=!1)}),class:"opinion-input"},null,8,["modelValue"])],2)])])])])])]}),_:1})):e.createCommentVNode("",!0)}}});module.exports=V;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./extract-workflow-runtime-dialog.vue2.cjs");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-a6bc44c9"]]);module.exports=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),k=require("../../../../utils/events/standard-event.cjs"),y=require("agilebuilder-ui"),C=require("@element-plus/icons-vue"),q={class:"dialog-footer"},b=e.defineComponent({__name:"extract-workflow-runtime-dialog",props:{pageContext:{},configure:{}},emits:["destroy"],setup(g,{emit:x}){const N=x,r=g,c=e.ref(),n=e.ref(!1),i=e.ref(!0),t=e.ref({}),u=e.ref({loginName:[],opinion:[]}),d=r.configure.runtime?r.configure.runtime:{};function p(){n.value=!0}function V(l){n.value=!1,t.value.loginName=l?l.loginName:"",t.value.name=l?l.name:""}function _(){c.value.validate((l,o)=>{l&&k.extractWorkflowFunc({pageContext:r.pageContext,configureObj:r.configure,_value:{loginName:t.value.loginName,opinion:t.value.opinion}}).then(()=>{i.value=!1,N("destroy")})})}return d.props&&(d.props.requireExtractTransactor===!0&&(u.value.loginName=[{required:!0,message:"请选择办理人",trigger:"blur"}]),d.props.isMustOpinion===!0&&(u.value.opinion=[{required:!0,message:"请输入意见",trigger:"change"}])),e.onMounted(()=>{}),(l,o)=>{const m=e.resolveComponent("el-icon"),s=e.resolveComponent("el-input"),f=e.resolveComponent("el-form-item"),h=e.resolveComponent("el-form"),v=e.resolveComponent("el-button"),w=e.resolveComponent("el-dialog");return e.openBlock(),e.createBlock(w,{modelValue:i.value,"onUpdate:modelValue":o[5]||(o[5]=a=>i.value=a),title:"选择办理人",width:"500"},{footer:e.withCtx(()=>[e.createElementVNode("div",q,[e.createVNode(v,{onClick:o[4]||(o[4]=a=>i.value=!1)},{default:e.withCtx(()=>o[6]||(o[6]=[e.createTextVNode("取消",-1)])),_:1,__:[6]}),e.createVNode(v,{type:"primary",onClick:_},{default:e.withCtx(()=>o[7]||(o[7]=[e.createTextVNode(" 确定 ",-1)])),_:1,__:[7]})])]),default:e.withCtx(()=>[e.createVNode(h,{ref_key:"ruleFormRef",ref:c,style:{"max-width":"600px"},model:t.value,rules:u.value,"label-width":"auto"},{default:e.withCtx(()=>[e.createVNode(f,{label:"办理人",prop:"loginName"},{default:e.withCtx(()=>[e.createVNode(s,{"model-value":t.value.name,readonly:!0,type:"text",placeholder:"选择办理人",onClick:o[2]||(o[2]=a=>p())},{append:e.withCtx(()=>[e.createVNode(m,{class:"el-input__icon",onClick:o[0]||(o[0]=a=>p())},{default:e.withCtx(()=>[e.createVNode(e.unref(C.Search))]),_:1}),e.createVNode(m,{class:"el-input__icon",onClick:o[1]||(o[1]=a=>(t.value.loginName="",void(t.value.name="")))},{default:e.withCtx(()=>[e.createVNode(e.unref(C.Delete))]),_:1})]),_:1},8,["model-value"])]),_:1}),e.createVNode(f,{label:"意见",prop:"opinion"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:t.value.opinion,"onUpdate:modelValue":o[3]||(o[3]=a=>t.value.opinion=a),type:"textarea"},null,8,["modelValue"])]),_:1}),n.value?(e.openBlock(),e.createBlock(e.unref(y.DepartmentUserTree),{key:0,width:"60%",multiple:!1,onClose:V})):e.createCommentVNode("",!0)]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])}}});module.exports=b;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./extract-workflow-runtime.vue2.cjs");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-886732d1"]]);module.exports=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),N=require("../../../../utils/events/event-util.cjs"),z=require("../../../../utils/i18n-util.cjs"),E=require("agilebuilder-ui"),V=require("@element-plus/icons-vue"),U={class:"page-runtime-header-btn"},B={class:"dialog-footer"},D=e.defineComponent({__name:"extract-workflow-runtime",props:{pageContext:{},configure:{}},setup(k,{expose:_}){const o=k,m=e.ref(),p=e.ref(!1),c=e.ref(!1),l=e.ref({}),s=e.ref({loginName:[],opinion:[]}),a=o.configure.runtime?o.configure.runtime:{},r=e.ref(a.props?a.props:{}),h=a.style,y=a.class;function f(){return o.pageContext.canClick!==void 0&&o.pageContext.clickUuid!==void 0&&!o.pageContext.canClick&&o.pageContext.clickUuid===o.configure.uuid}a.props&&(a.props.requireExtractTransactor===!0&&(s.value.loginName=[{required:!0,message:"请选择办理人",trigger:"blur"}]),a.props.isMustOpinion===!0&&(s.value.opinion=[{required:!0,message:"请输入意见",trigger:"change"}]));const d=e.ref(null);function v(){p.value=!0}function w(i){p.value=!1,l.value.loginName=i?i.loginName:"",l.value.name=i?i.name:""}function b(){m.value.validate((i,t)=>{if(i){const u={loginName:l.value.loginName,opinion:l.value.opinion};N.handleEvent(u,o.pageContext,o.configure,"click")}})}return e.onMounted(()=>{e.nextTick(()=>{N.handleAfterInitEvent(null,o.pageContext,o.configure,{componentRef:d.value,entity:o.pageContext.entity.data,pageData:o.pageContext.entity.page})})}),_({click:function(){d.value&&d.value.$el.click()}}),(i,t)=>{const u=e.resolveComponent("el-button"),g=e.resolveComponent("el-icon"),C=e.resolveComponent("el-input"),x=e.resolveComponent("el-form-item"),q=e.resolveComponent("el-form"),T=e.resolveComponent("el-dialog");return e.openBlock(),e.createElementBlock("span",U,[e.createVNode(u,{ref_key:"componentRef",ref:d,disabled:f(),class:e.normalizeClass(e.unref(y)),style:e.normalizeStyle(e.unref(h)),type:r.value.type,size:r.value.size,round:r.value.round,plain:r.value.plain,loading:f(),onClick:t[0]||(t[0]=n=>c.value=!0)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(z.$t)(r.value.title)),1)]),_:1},8,["disabled","class","style","type","size","round","plain","loading"]),e.createVNode(T,{modelValue:c.value,"onUpdate:modelValue":t[6]||(t[6]=n=>c.value=n),title:"选择办理人",width:"500"},{footer:e.withCtx(()=>[e.createElementVNode("div",B,[e.createVNode(u,{onClick:t[5]||(t[5]=n=>c.value=!1)},{default:e.withCtx(()=>t[7]||(t[7]=[e.createTextVNode("取消",-1)])),_:1,__:[7]}),e.createVNode(u,{type:"primary",onClick:b},{default:e.withCtx(()=>t[8]||(t[8]=[e.createTextVNode(" 确定 ",-1)])),_:1,__:[8]})])]),default:e.withCtx(()=>[e.createVNode(q,{ref_key:"ruleFormRef",ref:m,style:{"max-width":"600px"},model:l.value,rules:s.value,"label-width":"auto"},{default:e.withCtx(()=>[e.createVNode(x,{label:"办理人",prop:"loginName"},{default:e.withCtx(()=>[e.createVNode(C,{"model-value":l.value.name,readonly:!0,type:"text",placeholder:"选择办理人",onClick:t[3]||(t[3]=n=>v())},{append:e.withCtx(()=>[e.createVNode(g,{class:"el-input__icon",onClick:t[1]||(t[1]=n=>v())},{default:e.withCtx(()=>[e.createVNode(e.unref(V.Search))]),_:1}),e.createVNode(g,{class:"el-input__icon",onClick:t[2]||(t[2]=n=>(l.value.loginName="",void(l.value.name="")))},{default:e.withCtx(()=>[e.createVNode(e.unref(V.Delete))]),_:1})]),_:1},8,["model-value"])]),_:1}),e.createVNode(x,{label:"意见",prop:"opinion"},{default:e.withCtx(()=>[e.createVNode(C,{modelValue:l.value.opinion,"onUpdate:modelValue":t[4]||(t[4]=n=>l.value.opinion=n),type:"textarea"},null,8,["modelValue"])]),_:1}),p.value?(e.openBlock(),e.createBlock(e.unref(E.DepartmentUserTree),{key:0,width:"60%",multiple:!1,onClose:w})):e.createCommentVNode("",!0)]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});module.exports=D;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./pictureflow-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),p=require("../../../../utils/common-util.cjs"),f={key:0},c=e.defineComponent({__name:"pictureflow-runtime",props:{pageContext:{},configure:{}},setup(a){var s;const t=a,r=e.ref(null),n=(s=t.configure.sytle)==null?void 0:s._heightStyle;if(n&&(n+"").indexOf("px")>0){const l=n.substring(0,n.lastIndexOf("px"));r.value=Number(l)-20}else r.value=window.innerHeight-120;const o=e.ref(null),i=p.getWorkflowId(t.pageContext);return t.pageContext.entity&&t.pageContext.entity.task&&e.watch(t.pageContext.entity.task.id,()=>{i&&o.value&&o.value.refresh()},{immediate:!0}),(l,g)=>{const u=e.resolveComponent("workflow-history");return e.unref(i)?(e.openBlock(),e.createBlock(u,{key:1,id:e.unref(i),ref_key:"historyGraphRef",ref:o,style:e.normalizeStyle({maxHeight:r.value+"px"})},null,8,["id","style"])):(e.openBlock(),e.createElementBlock("span",f,e.toDisplayString(l.$t("superPageRuntimeMessage.flowNotStart")),1))}}});module.exports=c;
|
package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./textflow-runtime.vue2.cjs");module.exports=e;
|
package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),p=require("../../../../utils/common-util.cjs"),f={key:0},g=e.defineComponent({__name:"textflow-runtime",props:{pageContext:{},configure:{}},setup(a){var s;const t=a,r=e.ref(null),o=(s=t.configure.sytle)==null?void 0:s._heightStyle;if(o&&(o+"").indexOf("px")>0){const n=o.substring(0,o.lastIndexOf("px"));r.value=Number(n)-20}else r.value=window.innerHeight-120;const l=e.ref(null),i=p.getWorkflowId(t.pageContext);return t.pageContext.entity&&t.pageContext.entity.task&&e.watch(()=>{var n;return(n=t.pageContext.entity.task)==null?void 0:n.id},()=>{i&&l.value&&t.pageContext.entity.task&&l.value.refresh()},{immediate:!0}),(n,c)=>{const u=e.resolveComponent("workflow-history-list");return e.unref(i)?(e.openBlock(),e.createBlock(u,{key:1,ref_key:"historyList",ref:l,"workflow-id":e.unref(i),style:e.normalizeStyle({maxHeight:r.value+"px"})},null,8,["workflow-id","style"])):(e.openBlock(),e.createElementBlock("span",f,e.toDisplayString(n.$t("superPageRuntimeMessage.flowNotStart")),1))}}});module.exports=g;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./workflowbutton-runtime.vue2.cjs");;/* empty css */const r=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-9b35b120"]]);module.exports=r;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),k=require("../../object-render.vue.cjs"),C=require("../../../../utils/events/event-util.cjs"),B=require("../../../../utils/events/standard-event.cjs"),x={class:"page-runtime-header-btn amb-workflowbutton-runtime-view"},v=e.defineComponent({__name:"workflowbutton-runtime",props:{pageContext:{},configure:{}},setup(m){var l,s;const t=m,i=t.configure.runtime?t.configure.runtime:{};e.ref(i.style?i.style:{});const p=t.pageContext.workflowButtonComponent,g=t.pageContext.completeTaskParam,f=(l=t.pageContext.entity)==null?void 0:l.data,a=e.ref([]);return(s=t.configure.items)==null||s.forEach(o=>{(function(n){const r=function(c){const u=C.getClickEventFuncByType(t.pageContext,c,"click");if(u&&u.isStandard)return u.event.eventName}(n.runtime&&n.runtime.events?n.runtime.events:[]);return B.isVisibleWorkflowButton(t.pageContext,r,p,g,n,f)})(o)&&a.value.push(o)}),(o,n)=>(e.openBlock(),e.createElementBlock("span",x,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.value,(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r.check?(e.openBlock(),e.createBlock(k,{key:c,pageContext:o.pageContext,configure:r},null,8,["pageContext","configure"])):e.createCommentVNode("",!0)],64))),256))]))}});module.exports=v;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./workflownode-runtime.vue2.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),y=require("../../../../utils/page-init-util.cjs"),u=require("../../../../utils/page-helper-util.cjs"),d=e.defineComponent({__name:"workflownode-runtime",props:{pageContext:{},configure:{}},setup(p,{expose:s}){const t=p,o=e.ref(!1),r=t.pageContext.entity?t.pageContext.entity:{};let l=y.getFormModelFields(t.pageContext,t.configure);const n=t.configure.runtime?t.configure.runtime:{},c=e.ref(n.props?n.props:{}),g=n.class,C=n.headerStyle;let a=e.ref("");return t.pageContext.pageType==="form"&&t.pageContext.entity&&t.pageContext.entity.data&&(t.pageContext.entity.data.PROCESS_STATE==="EXTRACT"||t.pageContext.entity.data.process_state==="EXTRACT"?a.value="抽单办理中":a.value=t.pageContext.entity.data.CURRENT_ACTIVITY_NAME||t.pageContext.entity.data.current_activity_name,o.value=!!t.pageContext.entity.data.WORKFLOW_ID),e.onMounted(()=>{}),s({getValue:function(){return u.getVariableValue(r,l)},setValue:function(i){return u.setVariableValue(r,l,i)}}),(i,m)=>o.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(g))},[e.createElementVNode("span",{style:e.normalizeStyle(e.unref(C))},[e.createElementVNode("span",null,e.toDisplayString(c.value.title),1),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)),1)],4)],2)):e.createCommentVNode("",!0)}});module.exports=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),p=require("../utils/common-util.cjs"),S=require("./assemblys/home-chart-render.vue.cjs"),I=require("agilebuilder-ui"),C=require("../utils/page-helper-util.cjs"),U=require("../utils/events/event-util.cjs"),b=require("../utils/charts/chart-util.cjs"),k=require("vue-i18n"),H={"element-loading-text":"加载中..."},w={key:1},q=e.defineComponent({name:"HomeChart",inheritAttrs:!1,__name:"home-chart",props:{chartUuid:{type:String,default:""},homeChartSettingUserId:{type:Number,default:0}},setup(v){const{t:f}=k.useI18n(),o=v,l=e.ref(!0),y=e.ref(!1),r=e.ref(null);let h,c=e.ref(null);return o.chartUuid&&I.http.get(window.$vueApp.config.globalProperties.baseAPI+"/component/home-chart-layout/"+o.chartUuid).then(i=>{var m,u;if(i&&i.designJson){r.value={};const t=JSON.parse(i.designJson);let d=window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");if(d){const a=JSON.parse(d);a[o.homeChartSettingUserId]&&(t.chartJson.runtime.headerInfo?t.chartJson.runtime.headerInfo.title=a[o.homeChartSettingUserId]:t.chartJson.runtime.headerInfo={textAlign:"center",title:a[o.homeChartSettingUserId]})}const g=window.frameElement;r.value=t.chartJson,r.value.homeChartSettingUserId=o.homeChartSettingUserId,g&&(g.clientHeight,r.value.runtime.common.style.pc_style.height=g.clientHeight+"px");const s={showHomepageSearch:!1,name:i.pageName,code:i.pageCode,label:"",dimensions:"",version:1,isWorkflowEntity:!1,variables:t.variables,systemCode:i.systemCode,uuid:i.uuid,allChartUuids:[],backendUrl:i.backendUrl,rules:{},pageType:"chart",beanName:t.beanName,initChartServiceConfigs:[t.initChartServiceConfigs],entity:{data:{},task:{},request:{},page:{},context:i.contextParam,system:i.systemParam}};if((m=r.value.pushHomepage)!=null&&m.searchConditions&&((u=r.value.pushHomepage)==null?void 0:u.searchConditions.length)>0&&(s.showHomepageSearch=!0),t.variables){const a=s.entity.page;for(const n of t.variables)n.name&&(n.isArrayElement?a[n.name]=[]:n.defaultValue?a[n.name]=n.defaultValue:a[n.name]=void 0)}t.initOptionConfigs&&t.initOptionConfigs.length>0&&C.updateOptionDatasources(s,t.initOptionConfigs,void 0),b.setHomeChartInitConfigValue(r.value.pushHomepage.initConfig,s,o.homeChartSettingUserId),U.initPageEvents(t,s),c.value=s,h=setTimeout(()=>{(function(a,n){!n||n.length==0||(a.initChartData={},a.initChartData.data=p.deepCopy(a.entity.data),a.initChartData.page=p.deepCopy(a.entity.page),n&&n.length>0&&C.updateChartDatasources(a,n,null,!0))})(c.value,[t.initChartServiceConfigs])},200)}else y.value=!0,l.value=!1}).finally(()=>{l.value=!1}),e.onUnmounted(()=>{h&&clearTimeout(h)}),(i,m)=>{const u=e.resolveDirective("loading");return e.withDirectives((e.openBlock(),e.createElementBlock("div",H,[!l.value&&r.value?(e.openBlock(),e.createBlock(S,{key:0,configure:r.value,pageContext:e.unref(c)},null,8,["configure","pageContext"])):l.value||r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",w,e.toDisplayString(e.unref(f)("superPageRuntimeMessage.noChartSetting")),1))])),[[u,l.value]])}}});module.exports=q;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
chartUuid: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
homeChartSettingUserId: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
-
chartUuid: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
homeChartSettingUserId: {
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
}>> & Readonly<{}>, {
|
|
20
|
-
chartUuid: string;
|
|
21
|
-
homeChartSettingUserId: number;
|
|
22
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./home-chart.vue.cjs");module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("vue"),j=require("./super-page.vue.cjs"),x=["src"],V={key:1,class:"amb-super-page-runtime-dialog-iframe",frameborder:"0",marginwidth:"0",marginheight:"0",width:"100%",allowtransparency:"no"},_=a.defineComponent({__name:"super-page-dialog",props:{parentPageContext:{},parentPageEventParams:{},jumpPageSetting:{},isTest:{type:Boolean},customParams:{}},emits:["open","opened","close","closed"],setup(y,{emit:B}){const r=y,u=B,c=a.ref(!0),e=r.jumpPageSetting?r.jumpPageSetting:null,g=a.ref(null),v=a.ref(null),n=a.ref(null),i=a.ref(null),m=a.ref(null),p=a.ref(null),t=a.ref({}),f=a.ref(!1),P=a.ref(!1),h=a.ref("rtl"),C=a.ref(null),s=a.ref(!1),w=a.ref(null),k=a.ref(!0),b=a.ref(!1);if(e){k.value=(e==null?void 0:e.alignCenter)??!0,b.value=(e==null?void 0:e.fullscreen)??!1,s.value=!(!e||e._isIframe===void 0)&&e._isIframe,w.value=e&&e._path?e._path:null,p.value=e&&e.dialogType?e.dialogType:"dialog",f.value=!(!e||!e.draggable)&&e.draggable,P.value=!(!e||!e.overflow)&&e.overflow,h.value=e&&e.showPosition?e.showPosition:"rtl",v.value=e&&e.jumpPageTitle?e.jumpPageTitle:null,g.value=e&&e.jumpPageWidth?e.jumpPageWidth:p.value==="dialog"?"calc(100% - 30px)":"100%",C.value=e&&e.jumpPageHeight?e.jumpPageHeight:null,n.value=e&&e.pageCode,i.value=e&&e.dataId?e.dataId:null,m.value=e&&e.taskId?e.taskId:null;const d=!!e.isNeedId;if(r.parentPageEventParams){try{const l=JSON.parse(JSON.stringify(r.parentPageEventParams));l.pageContext&&delete l.pageContext,l.configureObj&&delete l.configureObj,Object.assign(t.value,l)}catch(l){console.error(l)}i.value!==null&&i.value!==void 0||(i.value=r.parentPageEventParams.id)}t.value.parentPageCode=e&&e.parentPageCode?e.parentPageCode:null,t.value.parentPageVersion=e&&e.parentPageVersion?e.parentPageVersion:null,t.value.jumpMode=e?e.jumpMode:null,t.value.id=i.value,t.value.isNeedId=d,t.value.taskId=m.value,r.customParams&&Object.assign(t.value,r.customParams)}return(d,l)=>{const O=a.resolveComponent("el-drawer"),I=a.resolveComponent("el-dialog");return p.value&&p.value==="drawer"?(a.openBlock(),a.createBlock(O,{key:0,modelValue:c.value,"onUpdate:modelValue":l[0]||(l[0]=o=>c.value=o),title:v.value,direction:h.value,size:g.value,class:"content-drawer amb-super-page-runtime-drawer-view",onOpen:l[1]||(l[1]=o=>u("open")),onOpened:l[2]||(l[2]=o=>u("opened")),onClose:l[3]||(l[3]=o=>u("close")),onClosed:l[4]||(l[4]=o=>u("closed"))},{default:a.withCtx(()=>[!s.value&&n.value?(a.openBlock(),a.createBlock(j,{key:0,pageCode:n.value,pageRequest:t.value,isDialog:!0},null,8,["pageCode","pageRequest"])):s.value?(a.openBlock(),a.createElementBlock("iframe",{key:1,src:w.value,class:"amb-super-page-runtime-drawer-iframe",frameborder:"0",marginwidth:"0",marginheight:"0",width:"100%",allowtransparency:"no"},null,8,x)):a.createCommentVNode("",!0)]),_:1},8,["modelValue","title","direction","size"])):(a.openBlock(),a.createBlock(I,{key:1,"model-value":"",title:v.value,"close-on-click-modal":!1,"append-to-body":"",width:g.value,fullscreen:b.value,alignCenter:k.value,draggable:f.value,overflow:P.value,class:"amb-super-page-runtime-dialog-view",onOpen:l[5]||(l[5]=o=>d.$emit("open")),onOpend:l[6]||(l[6]=o=>d.$emit("opend")),onClose:l[7]||(l[7]=o=>u("close")),onClosed:l[8]||(l[8]=o=>d.$emit("closed"))},{default:a.withCtx(()=>[!s.value&&n.value?(a.openBlock(),a.createBlock(j,{key:0,style:{"min-height":"100px"},pageCode:n.value,pageRequest:t.value,contentHeight:C.value,isDialog:!0},null,8,["pageCode","pageRequest","contentHeight"])):s.value?(a.openBlock(),a.createElementBlock("iframe",V)):a.createCommentVNode("",!0)]),_:1},8,["title","width","fullscreen","alignCenter","draggable","overflow"]))}}});module.exports=_;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
interface MyProps {
|
|
2
|
-
parentPageContext: {
|
|
3
|
-
type: Object;
|
|
4
|
-
default: null;
|
|
5
|
-
};
|
|
6
|
-
parentPageEventParams: {
|
|
7
|
-
type: Object;
|
|
8
|
-
default: null;
|
|
9
|
-
};
|
|
10
|
-
jumpPageSetting: {
|
|
11
|
-
type: Object;
|
|
12
|
-
default: null;
|
|
13
|
-
};
|
|
14
|
-
isTest?: boolean;
|
|
15
|
-
customParams: {
|
|
16
|
-
type: Object;
|
|
17
|
-
default: null;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
-
close: (...args: any[]) => void;
|
|
22
|
-
open: (...args: any[]) => void;
|
|
23
|
-
closed: (...args: any[]) => void;
|
|
24
|
-
opened: (...args: any[]) => void;
|
|
25
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MyProps>>> & Readonly<{
|
|
26
|
-
onClose?: (...args: any[]) => any;
|
|
27
|
-
onOpen?: (...args: any[]) => any;
|
|
28
|
-
onClosed?: (...args: any[]) => any;
|
|
29
|
-
onOpened?: (...args: any[]) => any;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./super-page-dialog.vue.cjs");,/* empty css */module.exports=e;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./super-page.vue2.cjs");;/* empty css */const r=require("../../../_virtual/_plugin-vue_export-helper.cjs")(e,[["__scopeId","data-v-ac38da23"]]);module.exports=r;
|