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/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports=(s,c)=>{const t=s.__vccOpts||s;for(const[o,r]of c)t[o]=r;return t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports={theme1:{color:["#43C2C0","#978DEB","#FFBC5D","#50ADFC","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme2:{color:["#5FC8FB","#9DE3CE","#FFB47B","#F88D7D","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme3:{color:["#95C0F7","#D3DE8F","#61D4EB","#F0BB50","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports={theme1:{color:["red","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme2:{color:["yellow","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme3:{color:["green","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports={theme1:{color:["#50ADFC","#FFBC5D","#FF8484","#978DEB","#43C2C0","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme2:{color:["#5FC8FB","#FFB47B","#FFE101","#F97C6D","#8CD193","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme3:{color:["#D3DE8F","#F961B0","#F0BB50","#978DEB","#95C0F7","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports={theme1:{color:["#50ADFC","#978DEB","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme2:{color:["#5FC8FB","#95A4DF","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme3:{color:["#D3DE8F","#61D4EB","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports={theme1:{color:["red","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme2:{color:["yellow","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]},theme3:{color:["green","#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"]}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";module.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAVTklEQVR4nO3dX2hcd3YH8PMby8LGKpbZkASyYLkp3oCXWN7Chv4BydBU45GNxzBy/RCw/NSWUiyzsPtW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QkA70cHBlusI7smSizz462pNvqApbH8TK+8bpux96ZOg/OYIM1Ui8Ld9WHh+oClsdN9XLwQH0cpEEHa6RGa18p5T/qAi6tj9RY7S4DNvhgjfSH31KL37+xjsAl0X2um3rvrjoMWhPBGrHTgktm8Dur5zUTrJEardH/AHvr2lYXsDjH69pTY3WgPjahq6s5v37Lw+4iXLAQx0tf9g31rQt/SpPBel5/5H8ny9zcrjJXJurhjQV4IQfLWJkpY2MHuh3vmS6NajpYwOoiWEAzBAtohmABzRAsoBmCBTRDsIBmCBbQDMECmiFYQDMEC2iGYAHNECygGYIFNEOwgGYIFtAMwQKaIVhAMwQLaIZgAc0QLKAZggU0Q7CAZggW0AzBApohWEAzBAtohmABzRAsoBmCBTRDsIBmCBbQDMECmiFYQDMEC2iGYAHNECygGYIFNEOwgGYIFtAMwQKaIVhAMwQLaIZgAc34JcGF3Xggg5jLAAAAAElFTkSuQmCC";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("agilebuilder-ui"),u=require("./api/page-expose-util.cjs");function i(t){const e=u.functions.getFormViewData(t),a=t.propTitleMap,r={};for(const o in e)Array.isArray(e[o])||a&&a[o]&&(r[a[o]]=e[o]);return r}function s(t,e){t&&(n.setActiveMenuToChatAiStore({menuCode:e.menuCode,menuName:e.label}),n.setPageInfoToChatStore(e,{instance:t,exposeProxy:t.exposeProxy,pageType:e.pageType}))}const c={getFormFormatDataUtil:i,setPageToChatStore:s};exports.default=c,exports.getFormFormatDataUtil=i,exports.setPageToChatStore=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./page-helper-util.cjs"),s=require("./global-refs.cjs"),l=require("vue");function h(t,e={}){const{checkInterval:o=50,stableCount:c=2,maxWaitTime:n=3e3}=e;let i=-1,r=0,f=0;const m=()=>{const d=document.documentElement.scrollHeight||document.body.scrollHeight;if(d===i){if(r++,r>=c)return void l.nextTick(()=>{t()})}else i=d,r=0;f+=o,f>=n?l.nextTick(()=>{t()}):setTimeout(m,o)};l.nextTick(()=>{m()})}function u(t){let e=null;if(t&&t.$el?e=t.$el:t instanceof HTMLElement&&(e=t),e){e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"});const o=function(c){let n=c.parentElement;for(;n;){const i=window.getComputedStyle(n).overflowY;if(i==="auto"||i==="scroll")return n;n=n.parentElement}return document.documentElement||document.body}(e);if(o){const c=e.offsetTop;o.scrollTo({top:c-20,behavior:"smooth"})}}}exports.scrollIntoComponentWithCode=function(t,e){const o=s.getComponentRefByCode(t,e);o&&l.nextTick(()=>{u(o)})},exports.scrollIntoComponentWithUuid=function(t,e){const o=s.getComponentRef(t,e);o&&l.nextTick(()=>{u(o)})},exports.scrollIntoViewWithContainer=function(t,e){if(t&&t.length!==0)for(let o=0;o<t.length;o++){const{uuid:c,conditions:n}=t[o];if(a.caculateShowCondition(e,n)){h(()=>{const i=s.getComponentRef(e,c);i&&u(i)});break}}};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 滚动到指定 UUID 的组件
|
|
3
|
-
* @param uuid 组件 UUID
|
|
4
|
-
* @param pageContext 页面上下文
|
|
5
|
-
*/
|
|
6
|
-
export declare function scrollIntoComponentWithUuid(pageContext: any, uuid: string): void;
|
|
7
|
-
/**
|
|
8
|
-
* 滚动到指定 code 的组件
|
|
9
|
-
* @param pageContext 页面上下文
|
|
10
|
-
* @param code 组件 code
|
|
11
|
-
*/
|
|
12
|
-
export declare function scrollIntoComponentWithCode(pageContext: any, code: string): void;
|
|
13
|
-
export declare function scrollIntoViewWithContainer(anchorConditions: any[], pageContext: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../page-helper-util.cjs"),d=require("../global-refs.cjs"),O=require("../eventBus.cjs"),$=require("agilebuilder-ui"),h=require("../events/standard-event.cjs"),D=require("../events/validator-util.cjs"),M=require("../common-util.cjs"),A=require("../page-init-util.cjs"),H=require("../events/event-util.cjs"),U=require("../table-utils.cjs"),w=require("../anchor-util.cjs"),_={showElement:function(e,t,n){n?E(e,"showElement",t):t.forEach(a=>{const i=d.getComponentRefByCode(e,a);i?i.show():console.error(`未找到code为${a}的组件`)})},hideElement:function(e,t,n){n?E(e,"hideElement",t):t.forEach(a=>{const i=d.getComponentRefByCode(e,a);i?i.hide():console.error(`未找到code为${a}的组件`)})},enableElement:function(e,t,n){n?E(e,"enableElement",t):t.forEach(a=>{const i=d.getComponentRefByCode(e,a);if(i){const o=i.getConfigure();o&&o.runtime.props&&(o.runtime.props.state="enabled")}else console.error(`未找到code为${a}的组件`)})},disableElement:function(e,t,n){n?E(e,"disableElement",t):t.forEach(a=>{const i=d.getComponentRefByCode(e,a);if(i){const o=i.getConfigure();o&&o.runtime.props&&(o.runtime.props.state="disabled")}else console.error(`未找到code为${a}的组件`)})},setEntityDataValue:function(e,t){Object.keys(t).forEach(n=>{s.setValueForVariableName(e.entity,n.startsWith("${")?n:"${data."+n+"}",t[n])})},setEntityPageValue:function(e,t){Object.keys(t).forEach(n=>{s.setValueForVariableName(e.entity,n.startsWith("${")?n:"${page."+n+"}",t[n])})},setEntityValueByType:function(e,t,n){Object.keys(n).forEach(a=>{s.setValueForVariableName(e.entity,a.startsWith("${")?a:"${"+t+"."+a+"}",n[a])})},dynamicControlFormEdit:function(e,t,n){n?E(e,"dynamicControlFormEdit",t):D.updateFormItemEditState(e,t)},disabledAllFields(e){D.disabledAllFields(e)},dynamicControlTableEdit(e,t,n){D.dynamicControlTableEdit(e,t,n)},executeServiceFlow:function(e,t,n){const a=e.code;n||(n={entity:e.entity.data,serviceVariables:{},requestParams:h.getAdditionalParamMap(e),taskParamMap:e.entity.task,dynamicDimensionValue:[],dynamicSortValue:""}),n.entity||(n.entity=e.entity.data),n.requestParams||(n.requestParams=h.getAdditionalParamMap(e)),n.taskParamMap||(n.taskParamMap=e.entity.task);const i=e.backendUrl,o=M.getBaseUrl(i,e.isTest);return $.http.post(`${o}/dsc/service-flow/execute/${a}/${t}`,n)},openPage:function(e,t){O.$emit(e.code+"_open-dialog",{pageContext:e,eventParams:t.eventParams,configureObj:{props:{linkPage:t}}})},refreshPage:function(e,t){h.refreshPage(e,t)},refreshSubTableHandle:function(e,t){let n;const a=d.getComponentRefByCode(e,t);if(a){const i=a.getConfigure();i&&i.uuid&&i.name&&i.name==="table"&&(n=i.uuid)}n?O.$emit("_refreshSubTableHandle_"+n):console.error("tableUUid is undefined")},refreshChildData(e,t,n){let a;const i=d.getComponentRefByCode(e,t);if(i){const o=i.getConfigure();o&&o.uuid&&o.name&&o.name==="table"&&(a=o.uuid)}a?O.$emit("_refreshChildData_"+a,n):console.error("tableUUid is undefined")},getServerConfigValue:e=>window.$vueApp.config.globalProperties[e],getBackendUrl:e=>M.getBaseUrl(e.backendUrl,!1),getPlateBackendUrl:()=>window.$vueApp.config.globalProperties.baseAPI,getEntity:e=>e.entity.data,getEntityValue:(e,t)=>e.entity.data?e.entity.data[t]:null,getPageData:e=>e.entity.page,getPageDataValue:(e,t)=>e.entity.page?e.entity.page[t]:null,getAdditionalParams:e=>h.getAdditionalParamMap(e),getAdditionalParamValue(e,t){const n=h.getAdditionalParamMap(e);return n?n[t]:null},isMobile:()=>$.isMobileBrowser(),getComponentRefByProp:(e,t)=>d.getComponentRefByCode(e,t),getComponentRefByCode:(e,t)=>d.getComponentRef(e,t),getFormViewData(e){var o,m,l,g,P,y,b,S,B,q;const t=e.entity?e.entity:{},n=M.deepCopy(t),a=s.getOptionDatasSourceMap(e);for(const f in a){const C=s.getComponentOptionDatasFromPage(e,f),p=d.getComponentRef(e,f);if(p){const r=p.getConfigure();if(r)if(!((m=(o=r.props)==null?void 0:o.dataOrigin)!=null&&m.optionValueSetType)||((g=(l=r.props)==null?void 0:l.dataOrigin)==null?void 0:g.optionValueSetType)!=="static"&&((y=(P=r.props)==null?void 0:P.dataOrigin)==null?void 0:y.optionValueSetType)!=="optionGroup"){if(((S=(b=r==null?void 0:r.props)==null?void 0:b.dataOrigin)==null?void 0:S.optionValueSetType)==="dynamicData"&&((r==null?void 0:r.name)==="select"||(r==null?void 0:r.name)==="checkbox"||(r==null?void 0:r.name)==="radio")){const c=A.getFormModelFields(e,r),u=p.getSelectItemsTitle(),V=u&&u.length>0?u:s.getVariableValue(n,c);s.setVariableValue(n,c,V)}}else if(r.name&&(r.name==="select"&&((q=(B=r.props)==null?void 0:B.base)!=null&&q.multiple)||r.name==="checkbox")){const c=A.getFormModelFields(e,r),u=s.getVariableValue(n,c);if(u){const V=T(u.split(","),C);s.setVariableValue(n,c,V)}}else{const c=A.getFormModelFields(e,r),u=T(s.getVariableValue(n,c),C);s.setVariableValue(n,c,u)}}}const i=e.listCodesMap;for(const f in i){let C;if(f.indexOf("__")>0&&(C=f.substring(f.lastIndexOf("__")+2)),C){const p=d.getComponentRef(e,C);if(p){const r=p.getConfigure(),c=r.code?r.code:f,u=A.getModelFields(r,c),V=s.getVariableValue(n,u),v=p.getTableSelectOptions(f),k=p.getColumns(),I={},R={};k&&k.length>0&&k.forEach(F=>{F.dataType!=="DATE"&&F.dataType!=="TIME"||(R[F.prop]=F)}),I.formatDateColumns=R,W(v,V,I,p)}}}return n.data},getFormData:(e,t)=>h.getFormData(e,t),getCustomFunc:(e,t)=>H.getCustomFunc(e,t),replaceUrlPrefix:e=>$.replacePrefix(e),isHasFieldAuthPermission:e=>{var t,n,a,i;return!(((n=(t=e==null?void 0:e.props)==null?void 0:t.base)==null?void 0:n.isHasFieldAuthPermission)!==void 0&&!((i=(a=e==null?void 0:e.props)==null?void 0:a.base)!=null&&i.isHasFieldAuthPermission))},isHasFieldAuth(e,t){U.isHasFieldPermissionAuth(e,null,t)},isHasFieldAuthWithTable(e,t,n){U.isHasFieldPermissionAuth(e,t,n)},scrollIntoComponentWithUuid(e,t){w.scrollIntoComponentWithUuid(e,t)},scrollIntoComponentWithCode(e,t){w.scrollIntoComponentWithCode(e,t)}};function W(e,t,n,a){if(e&&t){const i=a.getSuperGridRef();t.forEach(o=>{if(n!=null&&n.formatDateColumns){const m=n.formatDateColumns;Object.keys(m).forEach(l=>{const g=m[l];o[l]&&(o[l]=i.rowDoFormat(g,o[l]))})}Object.keys(e).forEach(m=>{const l=o[m],g=e[m],P=g.options,y=g.column;let b;y&&y.componentType&&(y.componentType==="multiselect"||y.componentType==="checkbox")?l&&(b=T(l.split(","),P)):b=T(l,P),o[m]=b})})}}function T(e,t){let n;return e!=null&&t&&(Array.isArray(e)?(n="",e.forEach(a=>{n=n+x(e,t)+","}),n.indexOf(",")>0&&(n=n.substring(0,n.lastIndexOf(",")))):(n=e,n=x(e,t))),n}function x(e,t){let n=e;if(e!=null&&t)for(let a=0;a<t.length;a++){const i=t[a].value,o=t[a].label?t[a].label:t[a].name;if(e+""==i+""&&o!=null){n=o;break}}return n}function E(e,t,n){e.initInfo||(e.initInfo={}),e.initInfo[t]=n}exports.functions=_;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const functions: any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./page-store.cjs"),n=o=>Object.freeze(Object.defineProperty({__proto__:null,default:o},Symbol.toStringTag,{value:"Module"})),m=[{name:"container",label:"容器",icon:"assets/images/group-container.png",items:[{name:"form",label:"表单",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/form/form-runtime.vue.cjs"))))},{name:"card",label:"卡片",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/card/card-runtime.vue.cjs"))))},{name:"collapse",label:"折叠面板",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/collapse/collapse-runtime.vue.cjs"))))},{name:"layout",label:"Flex",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/flex/flex-runtime.vue.cjs"))))},{name:"tabs",label:"Tabs",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/tabs/tabs-runtime.vue.cjs"))))},{name:"tools",label:"工具栏",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/tools/tools-runtime.vue.cjs"))))},{name:"iframe",label:"Iframe",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/iframe/iframe-runtime.vue.cjs"))))},{name:"container",label:"布局",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/container/container/container-runtime.vue.cjs"))))}]},{name:"form",label:"表单",items:[{name:"input-text",label:"文本框",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/input-text/inputtext-runtime.vue.cjs"))))},{name:"select",label:"下拉框",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/select/select-runtime.vue.cjs"))))},{name:"radio",label:"单选框",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/radio/radio-runtime.vue.cjs"))))},{name:"checkbox",label:"复选框",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/checkbox/checkbox-runtime.vue.cjs"))))},{name:"textarea",label:"文本域",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/textarea/textarea-runtime.vue.cjs"))))},{name:"datePicker",label:"日期/时间",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/date-picker/datepicker-runtime.vue.cjs"))))},{name:"switch",label:"开关",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/switch/switch-runtime.vue.cjs"))))},{name:"inputNumber",label:"计数器",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/input-number/input-number-runtime.vue.cjs"))))},{name:"tag",label:"标签",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/tag/tag-runtime.vue.cjs"))))},{name:"richText",label:"富文本",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/rich-text/richtext-runtime.vue.cjs"))))},{name:"divider",label:"分割线",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/divider/divider-runtime.vue.cjs"))))},{name:"separatelabel",label:"分割标签",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs"))))},{name:"placeholder",label:"占位符",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/placeholder/placeholder-runtime.vue.cjs"))))},{name:"link",label:"链接",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/link/link-runtime.vue.cjs"))))},{name:"label",label:"Label组件",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/label/label-runtime.vue.cjs"))))},{name:"dept-tree",label:"组织树",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/dept-tree/depttree-runtime.vue.cjs"))))},{name:"file-upload",label:"文件上传",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/file-upload/fileupload-runtime.vue.cjs"))))}]},{name:"button",label:"按钮",items:[{name:"button-detail",label:"按钮",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/button/button/button-runtime.vue.cjs"))))},{name:"button-group",label:"按钮组",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/button/button-group/buttongroup-runtime.vue.cjs"))))},{name:"dropdown",label:"下拉菜单",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/button/dropdown/dropdown-runtime.vue.cjs"))))},{name:"print-label",label:"打印标签",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/button/print-label/printlabel-runtime.vue.cjs"))))},{name:"export-pdf",label:"打印标签",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs"))))}]},{name:"workflow",label:"工作流",items:[{name:"workflow-button",label:"工作流按钮",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs"))))},{name:"picture-flow",label:"图形历史",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs"))))},{name:"text-flow",label:"文本历史",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/workflow/text-history/textflow-runtime.vue.cjs"))))},{name:"workflow-node",label:"流程环节",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs"))))},{name:"extract-workflow",label:"抽单",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs"))))},{name:"extract-workflow-dialog",label:"抽单Dialog",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs"))))}]},{name:"chart",label:"统计图",items:[{name:"chart-column-line",label:"柱/折图",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/chart/column-line/column-line-runtime.vue.cjs"))))},{name:"chart-pie",label:"饼图",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/chart/pie/pie-runtime.vue.cjs"))))},{name:"chart-gauge",label:"仪表盘",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/chart/gauge/gauge-runtime.vue.cjs"))))},{name:"chart-radar",label:"雷达图",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/chart/radar/radar-runtime.vue.cjs"))))},{name:"chart-scatter",label:"散点图",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/chart/scatter/scatter-runtime.vue.cjs"))))},{name:"statistical-table",label:"统计表格",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/chart/table/table-runtime.vue.cjs"))))}]},{name:"data",label:"数据",items:[{name:"table",label:"表格",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/data/table/table-runtime.vue.cjs"))))},{name:"tree",label:"树控件",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/data/tree/tree-runtime.vue.cjs"))))},{name:"bar-code",label:"条码",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/data/bar-code/barcode-runtime.vue.cjs"))))}]},{name:"other",label:"其他",items:[{name:"custom",label:"自定义",runtimeComponent:e.defineAsyncComponent(()=>Promise.resolve().then(()=>n(require("../views/assemblys/form/custom/custom-runtime.vue.cjs"))))}]}];exports.assemblyGroups=m,exports.getRuntimeComponentByName=function(o){if(!o)return null;for(let r=0;r<m.length;r++){let i=m[r].items;for(let t=0;t<i.length;t++){let l=i[t];if(l.name==o)return s.usePageContextStore().countComponentsTotalNmber(),l.runtimeComponent}}return null};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),exports.generateCodeByRule=function(a,l){let n=!0,t="";return a.forEach(e=>{if(e.propDbName!=="-1"&&e.propDbName!==-1){const r=l[e.propDbName];e.supplementaryCharacters&&e.length?r?r.length>e.length?t+=r.substring(0,e.length):t+=r.padEnd(e.length,e.supplementaryCharacters):t+="".padEnd(e.length,e.supplementaryCharacters):r?t+=r:n=!1}else t+=e.fixedValue}),n?t:null};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../page-helper-util.cjs"),R=require("../common-util.cjs"),d=require("./chart-util.cjs"),U=require("../events/event-util.cjs");exports.updateChartOption=function(p,u,c,f){if(!f||!f.result)return;d.setDefaultGrid(c),c.tooltip||(c.tooltip={}),U.handleChartEvent(p,u,"beforeUpdateChart",c,{resultData:f});const g=f&&f.result?f.result:{};let h=f&&f.groupValue?f.groupValue:void 0;const M=u.serviceDataField;let n=null;M?n=g[M]:g&&(n=Array.isArray(g)?g:[g]),n||(n=[]),u.runtime.dataConfig.runtimeData=n;let v=u.props?u.props.groups:null;if(v||(v=[]),!h||h.length===0){h=[];for(const t of v)h.push(t.group)}const X={},D=[],L=[];for(const t of v)X[t.group]=t.target,t.target&&!D.includes(t.target)&&(D.push(t.target),h.includes(t.group)&&L.push(t.target));let b=u.props?u.props.mulGroupShow:"";b=b=="break"?`\r
|
|
2
|
-
`:" ";for(const t of n){if(!t)continue;const e=[];for(const a of h){const s=X[a],o=m.getValueFromSource(t,s,void 0);o&&e.push(o)}const i=e.join(b);t[d.CommonName.X_FIELD_NAME]=i}const T=u.items?u.items:[],k=[],q={},N=[],j={},C=[],x=[],y=new Set,G=d.caculateFormulaValue(T,n,y);for(const t of y)C.push(t);for(const t of T){const e=t.props?t.props:{},i=e.yaxisSource,a=e.yaxisField,s=e.isCumulative;let o=null;if(!a||i&&i!="variable")if(i=="formula"){let l=e.formula?e.formula:"";for(const r in G)l=l.replace(new RegExp(r.replace("$","\\$"),"g"),G[r]);o={uuid:t.uuid,type:"formula",formula:l,data:[],dynamicDatas:[]}}else o={uuid:t.uuid,type:"fixed",field:e.yaxisFix,data:[],dynamicDatas:[]};else o={uuid:t.uuid,type:"variable",field:a,isCumulative:s,data:[],dynamicDatas:[]},a&&!C.includes(a)&&C.push(a),a&&!x.includes(a)&&x.push(a),s&&!y.has(a)&&y.add(a);o!=null&&(k.push(o),q[t.uuid]=o),e.dynamicSeriesField&&!N.includes(e.dynamicSeriesField)&&o&&(o.dynamicField=e.dynamicSeriesField,o.dynamicSeriesTitle=e.dynamicSeriesTitle,o.dynamicShowStack=e.dynamicShowStack,N.push(e.dynamicSeriesField),j[e.dynamicSeriesField]=a)}const A={};if(N.length>0){const t=[],e={};for(const i of n)if(i)for(const a of C){const s=i[d.CommonName.X_FIELD_NAME];let o=e[s];if(!o){o={};for(const r of D)o[r]=i[r];o[d.CommonName.X_FIELD_NAME]=i[d.CommonName.X_FIELD_NAME],e[s]=o,t.push(o)}let l=m.getValueFromSource(i,a,void 0);if(!isNaN(l)){const r=o[a];isNaN||(l+=r),o[a]=l}}for(const i of N){const a=[];for(const s of n){if(!s)continue;const o=e[s[d.CommonName.X_FIELD_NAME]];if(!o)continue;let l=m.getValueFromSource(s,i,void 0);l=l==null||l==null?"":l,a.includes(l)||(a.push(l),x.push(l),y.add(l));const r=j[i];if(r!==void 0){const w=m.getValueFromSource(s,r,void 0);let V=o[l];V===void 0?V=w:isNaN(w)||(V+=w),o[l]=V}}A[i]=a}n=t}d.sortDatas(p,u,n),n=d.limitDatas(p,u,n,D,x);const _=[],F={};for(const t of n)if(t){for(const e of y){const i=m.getValueFromSource(t,e,void 0);let a=F[e];i===void 0||isNaN(i)||(a===void 0?a=i:a+=i),F[e]=a}_.push(t[d.CommonName.X_FIELD_NAME]);for(const e of k){let i=e.data;const a=e.dynamicDatas;if(e.dynamicField){let s=A[e.dynamicField];s=s||[];for(let o=0;o<s.length;o++){o>=a.length&&a.push([]),i=a[o];const l=s[o];let r=m.getValueFromSource(t,l,void 0);e.isCumulative&&(r=F[l]),i.push(r)}}else if(e.type==="fixed")i.push(e.field);else if(e.type==="variable"){let s=m.getValueFromSource(t,e.field,void 0);e.isCumulative&&(s=F[e.field]),i.push(s)}else if(e.type==="formula"){const s=d.executeChartFormula(e.formula,F,t,p);i.push(s)}else i.push(void 0)}}const $=u.defaultSeries,B=R.deepCopy($??[]),I=[];for(const t of B){const e=q[t.uuid];if(e.dynamicField){let i=A[e.dynamicField];i=i||[];const a=e.dynamicDatas?e.dynamicDatas:[];for(let s=0;s<i.length;s++){const o=i[s],l=R.deepCopy(t);if(e.dynamicSeriesTitle){const r=e.dynamicSeriesTitle.replace("${name}",o);l.name=m.formatVariableValue(p,r)}else l.name=o;l.data=s<a.length?a[s]:[],t.type=="bar"&&e.dynamicShowStack&&(l.stack=t.uuid),I.push(l)}}else t.data=e?e.data:[],I.push(t)}c.series=I;const S=u.defaultXaxis,E=u.defaultYaxis;if(c.isBar){if(E)for(const t of E)t.data=_;c.xAxis=S,c.yAxis=E}else S&&S.length>0&&(S[0].data=_),c.xAxis=S,c.yAxis=E;d.formatToolboxI18n(c);const O=u.props?u.props.selGroupVariable:null;!(u.props&&u.props.enableDrill)&&O&&(u.highlightInfos=[],m.setValueForVariableName(p.entity,O,null)),U.handleChartEvent(p,u,"afterUpdateChart",c,{resultData:f}),u.groupFields=L,u.cacheDatas=n,u.rawResult=f};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("../page-helper-util.cjs"),q=require("../common-util.cjs"),F=require("./chart-util.cjs"),S=require("../events/event-util.cjs");exports.updateChartOption=function(i,e,s,r){if(!r||!r.result)return;S.handleChartEvent(i,e,"beforeUpdateChart",s,{resultData:r}),F.setDefaultGrid(s);const l=r&&r.result?r.result:{},m=e.serviceDataField;let a=null;m?a=l[m]:l&&(a=[l]),a||(a=[]);const b=e.props?e.props.nameSource:void 0,v=e.props?e.props.nameField:void 0,x=e.props?e.props.nameFixed:void 0,y=e.props?e.props.yaxisField:void 0,D=[v],d=[],c=[];for(const t of a){if(!t)continue;let o=null;o=b=="fixed"?h.formatVariableValue(i,x):h.getValueFromSource(t,v,void 0),d.push(o);const n=h.getValueFromSource(t,y,void 0);c.push(n)}const f=e.defaultSeries;let u=f[0].pieColors;u=u||[];let p=f[0].pieColorMap;p=p||{};const g=[];for(let t=0;t<d.length&&t<c.length;t++){const o={value:c[t],name:d[t]};if(t<u.length||p[o.name]){let n=p[o.name];n||(n=u[t]),n&&(o.itemStyle={color:n})}g.push(o)}const C=q.deepCopy(f);C[0].data=g,s.series=[C[0]],F.formatToolboxI18n(s),S.handleChartEvent(i,e,"afterUpdateChart",s,{resultData:r}),e.groupFields=D,e.cacheDatas=a,e.rawResult=r};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("../page-helper-util.cjs"),j=require("../common-util.cjs"),a=require("./chart-util.cjs"),T=require("../events/event-util.cjs");exports.updateChartOption=function(n,o,m,s){if(!s||!s.result)return;T.handleChartEvent(n,o,"beforeUpdateChart",m,{resultData:s}),a.setDefaultGrid(m);const g=s&&s.result?s.result:{};let p=s&&s.groupValue?s.groupValue:void 0;const _=o.serviceDataField;let t=null;_?t=g[_]:g&&(t=Array.isArray(g)?g:[g]),t||(t=[]);let d=o.props?o.props.groups:null;if(d||(d=[]),!p||p.length===0){p=[];for(const e of d)p.push(e.group)}const A={},D=[],q=[];for(const e of d)A[e.group]=e.target,e.target&&!D.includes(e.target)&&(D.push(e.target),p.includes(e.group)&&q.push(e.target));let E=o.props?o.props.mulGroupShow:"";E=E=="break"?`\r
|
|
2
|
-
`:" ";for(const e of t){if(!e)continue;const r=[];for(const h of p){const u=A[h],C=x.getValueFromSource(e,u,void 0);C&&r.push(C)}const l=r.join(E);e[a.CommonName.X_FIELD_NAME]=l}const i=o.items?o.items:[];if(i.length==0)return;const c=o.props?o.props:{};let f=c.yaxisField;if(i[0].props.yaxisField=f,i[0].props.yaxisSource=c.yaxisSource,i[0].props.formula=c.formula,c.yaxisSource==="formula"){const e=[],r=a.caculateFormulaValue(i,t,e);let l=c.formula?c.formula:"";for(const u in r)l=l.replace(new RegExp(u.replace("$","\\$"),"g"),r[u]);f=a.CommonName.Y_TEMP_NAME;const h={};for(const u of t){if(!u)continue;for(const M of e){const S=x.getValueFromSource(u,M,void 0);let v=h[M];S===void 0||isNaN(S)||(v===void 0?v=S:v+=S),h[M]=v}const C=a.executeChartFormula(l,h,u,n);u[f]=C}}i[0].props.yaxisField=f,i[0].props.yaxisSource="",a.sortDatas(n,o,t),t=a.limitDatas(n,o,t,D,[f]);const N=[],V=[];for(const e of t){if(!e)continue;N.push(e[a.CommonName.X_FIELD_NAME]);const r=x.getValueFromSource(e,f,void 0);V.push(r)}const b=o.defaultSeries;let y=b[0].pieColors;y=y||[];let F=b[0].pieColorMap;F=F||{};const I=[];for(let e=0;e<N.length&&e<V.length;e++){const r={value:V[e],name:N[e]};if(e<y.length||F[r.name]){let l=F[r.name];l||(l=y[e]),l&&(r.itemStyle={color:l})}I.push(r)}const w=j.deepCopy(b);w[0].data=I,m.series=[w[0]],a.formatToolboxI18n(m);const G=o.props?o.props.selGroupVariable:null;!(o.props&&o.props.enableDrill)&&G&&(o.highlightInfos=[],x.setValueForVariableName(n.entity,G,null)),T.handleChartEvent(n,o,"afterUpdateChart",m,{resultData:s}),o.groupFields=q,o.cacheDatas=t,o.rawResult=s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../page-helper-util.cjs"),O=require("../common-util.cjs"),p=require("./chart-util.cjs"),q=require("../events/event-util.cjs");exports.updateChartOption=function(m,o,l,i){if(!i||!i.result)return;q.handleChartEvent(m,o,"beforeUpdateChart",l,{resultData:i}),p.setDefaultGrid(l);const f=i&&i.result?i.result:{},h=o.serviceDataField;let s=null;h?s=f[h]:f&&(s=Array.isArray(f)?f:[f]),s||(s=[]);const x=o.items?o.items:[],y=[],F={},S=[],b=p.caculateFormulaValue(x,s,S);for(const t of x){const u=t.props?t.props:{},d=u.yaxisSource,a=u.yaxisField;let e=null;if(!a||d&&d!="variable")if(d=="formula"){let r=u.formula?u.formula:"";for(const V in b)r=r.replace(new RegExp(V.replace("$","\\$"),"g"),b[V]);e={uuid:t.uuid,type:"formula",formula:r,data:[]}}else e={uuid:t.uuid,type:"fixed",field:u.yaxisFix,data:[]};else e={uuid:t.uuid,type:"variable",field:a,data:[]};e&&(y.push(e),F[e.uuid]=e)}const n=o.props?o.props:{},E=n.nameField,g=n.maxSource,j=n.maxField,w=n.maxFixed,C=[],v={};for(const t of s){if(!t)continue;const u=c.getValueFromSource(t,E,void 0);let d=null;d=g&&g!="variable"?w:c.getValueFromSource(t,j,void 0),C.push({text:u,max:d});for(const a of S){const e=c.getValueFromSource(t,a,void 0);let r=v[a];e===void 0||isNaN(e)||(r===void 0?r=e:r+=e),v[a]=r}for(const a of y){const e=a.data;if(a.type=="fixed")e.push(a.field);else if(a.type=="variable"){const r=c.getValueFromSource(t,a.field,void 0);e.push(r)}else if(a.type=="formula"){const r=p.executeChartFormula(a.formula,v,t,m);e.push(r)}else e.push(void 0)}}l.radar[0].indicator=C,p.formatToolboxI18n(l);const A=o.defaultSeries,D=O.deepCopy(A),N=D[0].data;for(const t of N){const u=F[t.uuid];t.value=u.data}l.series=D,q.handleChartEvent(m,o,"afterUpdateChart",l,{resultData:i}),o.cacheDatas=s,o.rawResult=i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../page-helper-util.cjs"),z=require("../common-util.cjs"),d=require("./chart-util.cjs"),b=require("../events/event-util.cjs");exports.updateChartOption=function(f,s,l,a){if(!a||!a.result)return;b.handleChartEvent(f,s,"beforeUpdateChart",l,{resultData:a}),d.setDefaultGrid(l);const u=a&&a.result?a.result:{},F=s.serviceDataField;let i=null;F?i=u[F]:u&&(i=Array.isArray(u)?u:[u]),i||(i=[]);const h=s.items?s.items:[],n=[],y={};for(const o of h){const e=o.props?o.props:{},t=o.props?o.style:{},r=e.xaxisField,m=e.sizeField,x={uuid:o.uuid,xaxisField:r,yaxisField:e.yaxisField,yaxisSource:e.yaxisSource,formula:e.formula,sizeField:m,symbolSize:t.symbolSize,data:[]};n.push(x),y[x.uuid]=x}const S=[],v=d.caculateFormulaValue(h,i,S);for(const o of n)if(o.yaxisSource==="formula"){let e=o.formula?o.formula:"";for(const t in v)e=e.replace(new RegExp(t.replace("$","\\$"),"g"),v[t]);o.formula=e}const p={};for(const o of i)if(o){for(const e of S){const t=c.getValueFromSource(o,e,void 0);let r=p[e];t===void 0||isNaN(t)||(r===void 0?r=t:r+=t),p[e]=r}for(const e of n){const t=e.data,r=[];if(r.push(c.getValueFromSource(o,e.xaxisField,void 0)),e.yaxisSource==="formula"){const m=d.executeChartFormula(e.formula,p,o,f);r.push(m)}else r.push(c.getValueFromSource(o,e.yaxisField,void 0));e.sizeField?r.push(c.getValueFromSource(o,e.xaxisField,void 0)):r.push(e.symbolSize),t.push(r)}}const C=s.defaultSeries,g=z.deepCopy(C);for(const o of g){const e=y[o.uuid];o.data=e.data}l.series=g,d.formatToolboxI18n(l),b.handleChartEvent(f,s,"afterUpdateChart",l,{resultData:a}),s.cacheDatas=i,s.rawResult=a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../../../../assets/chart-themes/bar-theme.cjs"),y=require("../../../../assets/chart-themes/gauge-theme.cjs"),M=require("../../../../assets/chart-themes/pie-theme.cjs"),C=require("../../../../assets/chart-themes/radar-theme.cjs"),_=require("../../../../assets/chart-themes/scatter-theme.cjs"),A=require("../page-init-util.cjs"),c=require("../page-helper-util.cjs"),m=require("agilebuilder-ui"),k=require("../events/event-util.cjs");var v=(t=>(t.X_FIELD_NAME="__x",t.Y_TEMP_NAME="__y",t))(v||{});function x(t,e,o,n,l){return function(i){let r=i==null?void 0:i.value;if(l&&(r=i),r==null||r==null||Array.isArray(r)||isNaN(r)||!t||!t.indexOf)return r;if(t.indexOf("precision")>-1){let u=parseInt(e);(u==null||isNaN(u))&&(u=2),r=parseFloat(parseFloat(r).toFixed(u))}let a="";t.indexOf("prefix")>-1&&o&&(a=o);let s="";return t.indexOf("append")>-1&&n&&(s=n),a+r.toLocaleString()+s}}function b(t,e){if(!e.clickSet)return;const o=e.clickSet,n=o.variables;if(!n||n.length==0)return;const l=e.highlightInfos?e.highlightInfos:[],i=e.cacheDatas?e.cacheDatas:[],r=[],a=[];for(const s of l)a.includes(s.dataIndex)||(a.push(s.dataIndex),s.dataIndex<i.length&&r.push(i[s.dataIndex]));for(const s of n){if(!s.fieldName||!s.variable)continue;const u=[];for(const f of r){const d=c.getValueFromSource(f,s.fieldName,void 0);d!=null&&u.push(d)}o.multiple?c.setValueForVariableName(t.entity,s.variable,u):c.setValueForVariableName(t.entity,s.variable,u.length>0?u[0]:void 0)}}function F(t,e){let o;for(const n of t){const l=parseFloat(c.getValueFromSource(n,e,null));(o===void 0||!isNaN(l)&&l<o)&&(o=l)}return o}function N(t,e){let o;for(const n of t){const l=parseFloat(c.getValueFromSource(n,e,null));(o===void 0||!isNaN(l)&&l>o)&&(o=l)}return o}function I(t,e){let o;for(const n of t){const l=parseFloat(c.getValueFromSource(n,e,null));o===void 0?o=l:isNaN(l)||(o+=l)}return o}function S(t,e){const o=I(t,e);return o===void 0||t.length===0?o:parseFloat((o/t.length).toFixed(5))}exports.CommonName=v,exports.caculateFormulaValue=function(t,e,o){const n={};for(const l of t){const i=l.props?l.props:{};if(i.yaxisSource==="formula"){const r=c.getParamNames(i.formula);for(const a of r)if(!(a in n)){if(a.startsWith("${min."))n[a]=F(e,a.substring(6,a.length-1));else if(a.startsWith("${max."))n[a]=N(e,a.substring(6,a.length-1));else if(a.startsWith("${sum."))n[a]=I(e,a.substring(6,a.length-1));else if(a.startsWith("${avg."))n[a]=S(e,a.substring(6,a.length-1));else if(a.startsWith("${add.")){const s=a.substring(6,a.length-1);o.add(s)}}}}return n},exports.clearChartSelected=function(t,e,o){if(!o||!e||!t)return;const n=e.highlightInfos?e.highlightInfos:[];for(let l=0;l<n.length;l++){const i=n[l],r=e.name==="chart-pie"?"unselect":"downplay";o.dispatchAction({type:r,seriesIndex:i.seriesIndex,dataIndex:i.dataIndex})}e.highlightInfos=[],b(t,e)},exports.executeChartFormula=function(t,e,o,n){if(!t)return;if(e)for(const r in e)t=t.replace(new RegExp("\\${add."+r+"}","g"),e[r]);const l=c.getParamNames(t);for(const r of l){let a=null;a=r.startsWith("${row.")?c.getValueFromSource(o,r.substring(6,r.length-1),null):c.getValueFromVariable(n.entity,r),t=t.replace(new RegExp(r.replace("$","\\$"),"g"),a)}t.includes("return ")||(t="return "+t);const i=new Function("params",t);return k.appendDefaultMethods(i,n),i({pageContext:n,row:o})},exports.exportCommonChart=function(t,e){if(!t||!t.$el)return;const o=t.$el.getElementsByTagName("canvas");if(!o||o.length===0)return;const n=o[0],l=n.width+":"+n.height;return{isTable:!1,fileContent:n.toDataURL(),fileSize:l,title:e==null?void 0:e.title}},exports.formatToolboxI18n=function(t){var e;if((e=t==null?void 0:t.toolbox)!=null&&e.feature){const o=t.toolbox.feature;for(const n in o)o[n].show&&(o[n].title=m.getI18n().t("chartMessage."+n),n==="dataView"&&(o[n].lang=[m.getI18n().t("chartMessage.dataView"),m.getI18n().t("chartMessage.close"),m.getI18n().t("chartMessage.refresh")]))}},exports.getAvgValue=S,exports.getCustomTheme=function(t,e="bar"){return e==="bar"?V[t]:e==="gauge"?y[t]:e==="pie"?M[t]:e==="radar"?C[t]:e==="scatter"?_[t]:V[t]},exports.getCustomThemeOptions=function(){return[{value:"theme1",label:"主题1"},{value:"theme2",label:"主题2"},{value:"theme3",label:"主题3"}]},exports.getMaxValue=N,exports.getMinValue=F,exports.getNumFormatter=x,exports.getSumValue=I,exports.initChartOption=function(t,e){if(!e)return;if(e.tooltipFormatterArgs&&(e.tooltip||(e.tooltip={}),e.tooltip.valueFormatter=x.apply(e,e.tooltipFormatterArgs)),e.series){const i=t.props?t.props.enableDrill:null;for(const r of e.series)e.radar||(r.data=[]),r.labelFormatterArgs&&(r.label||(r.label={}),r.label.formatter=x.apply(r,r.labelFormatterArgs)),!i&&t.clickSet&&t.clickSet.selected&&r.emphasis&&(r.emphasis.disabled=!1),r.type==="pie"&&t.clickSet&&t.clickSet.selected&&(t.clickSet.multiple?r.selectedMode="multiple":r.selectedMode="single")}if(e.radar)for(const i of e.radar)i.indicator=[];const o=e.series;t.defaultSeries=o;const n=e.xAxis;n&&n.length>0&&n[0].data&&(n[0].data=[]),t.defaultXaxis=n;const l=e.yAxis;if(l)for(const i of l)i.data&&(i.data=[]),i._dataMin==="auto"&&(i.min=function(r){if(r.min)return 10*Math.floor(r.min/10)}),i._dataMax==="auto"&&(i.max=function(r){if(r.max)return 10*Math.ceil(r.max/10)});t.defaultYaxis=l},exports.limitDatas=function(t,e,o,n,l){if(!o)return o;const i=e.props?e.props:{};if(!i.limitQuantity)return o;let r=null;if(i.itemNumVariable?(r=c.formatVariableValue(t,i.itemNumVariable),r=parseInt(r)):r=i.itemNumFix?i.itemNumFix:10,r==null||r==null||isNaN(r)||o.length<r)return o;const a=i.overItemAlias,s=[],u={};n=n||[],l=l||[];for(let f=0;f<o.length;f++){const d=o[f];if(f<r)s.push(d);else{if(!a)break;for(const p of n){if(!p)continue;let g=c.getValueFromSource(d,p,void 0);g=g==null||g==null?"":g,u[p]||(u[p]=[]);const h=u[p];h.includes(g)||h.push(g)}for(const p of l){if(!p)continue;const g=c.getValueFromSource(d,p,void 0);if(isNaN(g))continue;const h=u[p];isNaN(h)?u[p]=g:u[p]=g+h}}}return a&&(u.__x=a,s.push(u)),s},exports.monitorChartClickToVariable=function(t,e,o){if(!(o&&e&&e.clickSet&&t))return;const n=e.clickSet;o.on("click",function(l){let i=e.highlightInfos?e.highlightInfos:[],r=-1;if(i){const a=[];for(let s=0;s<i.length;s++){const u=i[s],f=u.seriesIndex===l.seriesIndex&&u.dataIndex===l.dataIndex;if(f||!n.multiple){if(n.selected){const d=e.name==="chart-pie"?"unselect":"downplay";o.dispatchAction({type:d,seriesIndex:u.seriesIndex,dataIndex:u.dataIndex})}}else a.push(u);f&&(r=s)}i=a}if(r===-1){if(n.selected){const a=e.name==="chart-pie"?"select":"highlight";o.dispatchAction({type:a,seriesIndex:l.seriesIndex,dataIndex:l.dataIndex})}i.push({seriesIndex:l.seriesIndex,dataIndex:l.dataIndex})}e.highlightInfos=i,b(t,e)})},exports.setDefaultGrid=function(t){if(t!=null&&t.grid){const e=t.grid,o=n=>!n||n==="0";o(e.top)&&o(e.right)&&o(e.bottom)&&o(e.left)&&Object.assign(e,{right:"10%",bottom:"60",left:"10%"})}},exports.setHomeChartInitConfigValue=function(t,e,o){const n=window.localStorage.getItem("HOME_MY_CHARTS_CONDITIONS");let l=!0;if(n){const i=JSON.parse(n);if(i[o]){const r=i[o];if(Object.keys(r).length>0){l=!1;for(const a in r)r[a]!==null&&r[a]!==void 0&&c.setValueForVariableName(e.entity,a,r[a])}}}if(l&&t){for(const i of t)if(i.prop&&i.value){const r=A.getDefaultValue(e,i.value,"input-text",!1),a=i.prop.substring(2,i.prop.length-1).split(".");r!=null&&c.setVariableValue(e.entity,a,r)}}},exports.sortDatas=function(t,e,o){const n=e.items?e.items:[],l=e.props?e.props.orderByTarget:"";let i=null;if(l=="x"||l=="X")i="__x";else if(l){for(const s of n)if(s.uuid==l){const u=s.props?s.props:{},f=u.yaxisSource,d=u.yaxisField;if(d&&(!f||f=="variable")){i=d;break}}}if(!i)return;const r=e.props?e.props.orderSource:"";let a=e.props?e.props.orderFix:"";if(r=="variable"){const s=e.props?e.props.orderVariable:"";a=c.formatVariableValue(t,s)}a=a=="desc"||a=="DESC"?"desc":"asc",o.sort((s,u)=>{const f=c.getValueFromSource(s,i,void 0),d=c.getValueFromSource(u,i,void 0);return a==="desc"?d-f:f-d})},exports.updateClickVariablesForSelected=b;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { PageContext, Component } from '../interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 统计图通用字段名
|
|
5
|
-
*/
|
|
6
|
-
export declare enum CommonName {
|
|
7
|
-
X_FIELD_NAME = "__x",//横坐标字段名
|
|
8
|
-
Y_TEMP_NAME = "__y"
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* 获取主题对象
|
|
12
|
-
* @param themeName 获取自定义的主题名称
|
|
13
|
-
* @returns
|
|
14
|
-
*/
|
|
15
|
-
export declare function getCustomTheme(themeName: string, chartType?: string): any;
|
|
16
|
-
/**
|
|
17
|
-
* 获取所有主题对象
|
|
18
|
-
* @returns
|
|
19
|
-
*/
|
|
20
|
-
export declare function getCustomThemeOptions(): Array<any>;
|
|
21
|
-
/**
|
|
22
|
-
* 获取数据的格式化方法
|
|
23
|
-
* @param labelNumFormat
|
|
24
|
-
* @param labelNumPrecision
|
|
25
|
-
* @param isValueFormatter 是否值格式化,value: number | string, dataIndex: number
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
export declare function getNumFormatter(labelNumFormat: any, numPrecision: any, numPrefix: any, numAppend: any, isValueFormatter: any): (params: any) => any;
|
|
29
|
-
/**
|
|
30
|
-
* 初始化格式化方法
|
|
31
|
-
* @param pageContext
|
|
32
|
-
* @param configure
|
|
33
|
-
* @param chartOption
|
|
34
|
-
* @returns
|
|
35
|
-
*/
|
|
36
|
-
export declare function initChartOption(configure: Component, chartOption: any): void;
|
|
37
|
-
/**
|
|
38
|
-
* 统计图选中时把维度值设置到变量中
|
|
39
|
-
* @param pageContext
|
|
40
|
-
* @param configure
|
|
41
|
-
* @param chart
|
|
42
|
-
* @param variable
|
|
43
|
-
*/
|
|
44
|
-
export declare function monitorChartClickToVariable(pageContext: PageContext, configure: Component, chart: any): void;
|
|
45
|
-
/**
|
|
46
|
-
* 清除统计图的选中
|
|
47
|
-
* @param pageContext
|
|
48
|
-
* @param configure
|
|
49
|
-
* @param chart
|
|
50
|
-
* @returns
|
|
51
|
-
*/
|
|
52
|
-
export declare function clearChartSelected(pageContext: PageContext, configure: Component, chart: any): void;
|
|
53
|
-
export declare function updateClickVariablesForSelected(pageContext: PageContext, configure: Component): void;
|
|
54
|
-
export declare function sortDatas(pageContext: PageContext, configure: Component, datas: Array<any>): void;
|
|
55
|
-
/**
|
|
56
|
-
* 限制显示数量
|
|
57
|
-
* @param datas
|
|
58
|
-
* @param groupFields
|
|
59
|
-
* @param limitNum
|
|
60
|
-
*/
|
|
61
|
-
export declare function limitDatas(pageContext: PageContext, configure: Component, datas: Array<any>, groupFields: Array<string>, numFields: Array<string>): Array<any>;
|
|
62
|
-
/**
|
|
63
|
-
* 提前计算公式中用到的汇总变量
|
|
64
|
-
* @param itemConfs
|
|
65
|
-
* @param datas
|
|
66
|
-
* @param accumulateFields 累计计算的字段
|
|
67
|
-
* @returns
|
|
68
|
-
*/
|
|
69
|
-
export declare function caculateFormulaValue(itemConfs: any, datas: any, accumulateFields: Set<string>): any;
|
|
70
|
-
/**
|
|
71
|
-
* 获取数据源中的最小值
|
|
72
|
-
* @param datas 数据源
|
|
73
|
-
* @param fieldName 字段名
|
|
74
|
-
*/
|
|
75
|
-
export declare function getMinValue(datas: any, fieldName: string): any;
|
|
76
|
-
/**
|
|
77
|
-
* 获取数据源中的最大值
|
|
78
|
-
* @param datas 数据源
|
|
79
|
-
* @param fieldName 字段名
|
|
80
|
-
*/
|
|
81
|
-
export declare function getMaxValue(datas: any, fieldName: string): any;
|
|
82
|
-
/**
|
|
83
|
-
* 获取数据源中的汇总值
|
|
84
|
-
* @param datas 数据源
|
|
85
|
-
* @param fieldName 字段名
|
|
86
|
-
*/
|
|
87
|
-
export declare function getSumValue(datas: any, fieldName: string): any;
|
|
88
|
-
/**
|
|
89
|
-
* 获取平均值
|
|
90
|
-
* @param datas 数据源
|
|
91
|
-
* @param fieldName 字段名
|
|
92
|
-
*/
|
|
93
|
-
export declare function getAvgValue(datas: any, fieldName: string): any;
|
|
94
|
-
/**
|
|
95
|
-
* 执行统计图的计算公式
|
|
96
|
-
* @param formulaStr 计算公式
|
|
97
|
-
* @param accumulateMap 累计存储
|
|
98
|
-
* @param rowData 行记录
|
|
99
|
-
* @param pageContext 页面对象
|
|
100
|
-
*/
|
|
101
|
-
export declare function executeChartFormula(formulaStr: string, accumulateMap: any, rowData: any, pageContext: PageContext): any;
|
|
102
|
-
/**
|
|
103
|
-
* 导出图表工具方法
|
|
104
|
-
* @param chartDom
|
|
105
|
-
* @returns
|
|
106
|
-
*/
|
|
107
|
-
export declare function exportCommonChart(chartRef: any, headerInfo: any): {
|
|
108
|
-
isTable: boolean;
|
|
109
|
-
fileContent: any;
|
|
110
|
-
fileSize: string;
|
|
111
|
-
title: any;
|
|
112
|
-
};
|
|
113
|
-
export declare function setHomeChartInitConfigValue(initConfig: any, tempContext: any, homeChartSettingUserId: any): void;
|
|
114
|
-
export declare function setDefaultGrid(chartOption: any): void;
|
|
115
|
-
export declare function formatToolboxI18n(chartOption: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("agilebuilder-ui"),h=require("../views/assemblys/chart/table/chart-table-util.cjs"),b=require("./events/event-util.cjs");function m(e,t){if(t)return e;{const{baseURL:r,projectModel:n}=window.$vueApp.config.globalProperties;let a=r;return n==="developing.model"||e&&(a=y.getSystemBackendUrl(e)),a}}exports.addRequiredClassUtil=function(){return"required_bg"},exports.deepCopy=function e(t){if(typeof t!="object"||t==null)return t;const r=Array.isArray(t)?[]:{};for(const n in t)t.hasOwnProperty(n)&&(r[n]=e(t[n]));return r},exports.getBaseUrl=m,exports.getListCode=function(e,t,r){return"V"+t+"__"+e+"__"+r},exports.getPropClassName=function(e){var r,n,a,s;let t;if(e&&((n=(r=e.props)==null?void 0:r.base)!=null&&n.prop)){let l=(s=(a=e.props)==null?void 0:a.base)==null?void 0:s.prop;l.indexOf("${")>=0&&(l=l.substring(2,l.lastIndexOf("}")));const o=l.split(".");o.length===2?t=o[1]:o.length===3&&(t=o[1]+"__"+o[2])}else e.code&&(t=e.code);return t},exports.getRealRestApiPath=function(e,t,r,n){let a=e;return e&&r&&!function(s){return s.indexOf("http:")===0||s.indexOf("https:")===0}(e)&&(a=m(r,n)+"/"+t+e),a},exports.getWorkflowId=function(e){let t;return e.entity&&e.entity.data&&(t=e.entity.data.WORKFLOW_ID,t||(t=e.entity.data.workflow_id),t||(t=e.entity.data.workflowId)),t},exports.isArrayFn=function(e){return typeof Array.isArray=="function"?Array.isArray(e):Object.prototype.toString.call(e)==="[object Array]"},exports.isNumber=function(e){try{if(e!=null){const t=parseInt(e+"");if(Number.isInteger(t))return!0}return!1}catch{return!1}},exports.isVariableInvalidValue=function(e,t){return e[t]===null||e[t]===void 0||e[t]===""},exports.isWorkflowPage=function(e){return!!e.isWorkflowEntity||!(e.isWorkflowEntity!==void 0||!e.workflowCode)},exports.packageTemplateFiles=function(e,t,r){if(!e||e.length===0)return e;let n=e;if(Array.isArray(e)){e[0].templates&&(n=function(f,i,c){const d=[];return f.forEach(u=>{let g=!0;if(u.scopeFunc){const p=b.getCustomFunc(i,u.scopeFunc);p&&(g=p.apply(p,[{pageContext:i,configureObj:c,template:u}]))}else u.conditions&&u.conditions.length>0&&(g=h.ExpressionEvaluator.evaluate(i,u.conditions));g!==!1&&u.templates.forEach(p=>{d.push({templateUuid:p.templateUuid,templateName:p.templateName})})}),d}(e,t,r));const a=y.getLanguageWithLocale(),s=[],l=[],o="~-~-";return n.forEach(f=>{const i=f.templateName;if(i.indexOf(o)>0){const c=i.substring(0,i.indexOf(o)),d=i.substring(i.indexOf(o)+o.length,i.lastIndexOf(o)),u=i.substring(i.lastIndexOf(o)+o.length);a===d&&l.indexOf(c)<0&&(s.push({templateUuid:f.templateUuid,templateName:u}),l.push(c))}else s.push(f)}),s}},exports.refreshMobileDialogType=function(e,t){if(e&&t){let r=e.jumpPageMobileOpenMode;r||(e.jumpPageOpenMode?(r=e.jumpPageOpenMode,r==="newTab"&&(r="refresh")):r="refresh"),r==="refresh"&&(e.dialogType="drawer",e.jumpPageWidth="100%",e.isRefreshWhenClosePopup=!0),e.jumpMode=r,e.jumpPageMobileOpenMode=r,e.jumpPageTitle||(e.jumpPageTitle="QMS质量管理系统")}},exports.upperFirstCase=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,t=>t.toUpperCase())};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Component, PageContext } from './interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
export declare function isArrayFn(value: any): boolean;
|
|
4
|
-
export declare function getBaseUrl(backendUrl: string | null | undefined, isTest?: boolean): any;
|
|
5
|
-
export declare function getRealRestApiPath(orgRestApiPath: any, systemCode: any, backendUrl: any, isTest?: boolean): any;
|
|
6
|
-
/**
|
|
7
|
-
* 封装模板文件列表
|
|
8
|
-
* @param templateFiles
|
|
9
|
-
* @returns
|
|
10
|
-
*/
|
|
11
|
-
export declare function packageTemplateFiles(templateFiles: any, pageContext: PageContext, configure: Component): any;
|
|
12
|
-
export declare function upperFirstCase(str: any): any;
|
|
13
|
-
export declare function getListCode(pageCode: any, pageVersion: any, tableUuid: any): string;
|
|
14
|
-
/**
|
|
15
|
-
* 深度复制
|
|
16
|
-
* @returns
|
|
17
|
-
*/
|
|
18
|
-
export declare function deepCopy(srcObj: any): any;
|
|
19
|
-
export declare function getWorkflowId(pageContext: any): any;
|
|
20
|
-
/**
|
|
21
|
-
* 获得当前属性名,封装到class中,操作dom时可能会使用
|
|
22
|
-
* @param configure
|
|
23
|
-
* @returns
|
|
24
|
-
*/
|
|
25
|
-
export declare function getPropClassName(configure: Component): any;
|
|
26
|
-
export declare function isNumber(numStr: any): boolean;
|
|
27
|
-
export declare function isWorkflowPage(pageContext: PageContext): boolean;
|
|
28
|
-
export declare function refreshMobileDialogType(jumpPageSetting: any, isMobile: boolean): void;
|
|
29
|
-
export declare function isVariableInvalidValue(values: any, variable: string): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* 给主表字段添加必填高亮样式
|
|
32
|
-
*/
|
|
33
|
-
export declare function addRequiredClassUtil(): string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("mitt")(),t={$on:e.on,$emit:e.emit,$off:e.off};module.exports=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("agilebuilder-ui"),j=require("./standard-event.cjs"),Q=require("./validator-util.cjs"),S=require("../global-refs.cjs"),G=require("element-plus"),B=require("../common-util.cjs"),A=require("../eventBus.cjs"),K=require("../page-helper-util.cjs"),X=require("../table-utils.cjs"),Y=["downloadTemplate","back","exportForm","exportPDF","lineEditCreate","workflowSave"],Z=["downloadTemplate","exportForm","exportPDF","export","exportCharts"],R=["import"];function L(n,e){if(n.customEvents)return n.customEvents[e]}function D(n,e){n.get=function(t){return t?S.getComponentRefByCode(e,t):void 0},n.getByUuid=function(t){return t?S.getComponentRef(e,t):void 0},n.getPageContext=function(){return e},n.getContextValue=function(t){let r=e&&e.entity?e.entity.context:null;return r=r||{},K.getValueFromSource(r,t,"context")},n.getContext=function(){return e&&e.entity?e.entity.context:{}},n.getSystem=function(){return e&&e.entity?e.entity.system:{}},n.getTask=function(){return e&&e.entity?e.entity.task:{}},n.getRequest=function(){return e&&e.entity?e.entity.request:{}},n.getPage=function(){return e&&e.entity?e.entity.page:{}},n.getCustomFunc=function(t){return L(e,t)}}function C(n,e,t,r,o){return P(n,e,t,r,!0,o,!1)}function U(n,e,t,r,o){var i,u;if(r&&r==="change"){const c=e.subTableWatchProps;if(c)for(const s in c){const l=c[s],a=(u=(i=t.props)==null?void 0:i.base)==null?void 0:u.prop;l&&l.indexOf(a)>=0&&A.$emit("_refreshSubTable_"+s,{propName:a})}}return P(n,e,t,r,!0,o,!0)}function m(n,e,t,r,o){return P(n,e,t,r,!1,o,!1)}function P(n,e,t,r,o,i,u){const c=t&&t.runtime&&t.runtime.events?t.runtime.events:[];let s;if(u||!function(l){return l&&ee.indexOf(l)>=0}(r))return s=h(e,c,r),o?E(e,t,s,_(e,t,n,i)):s;(function(l,a,g){j.judgeDataNumber(a,g.ids)&&(l.canClick!==void 0&&l.canClick===!1||z(g).then(b=>{if(b.canExecute===!0){l.clickUuid=a.uuid,l.canClick=!1;const O=a.runtime&&a.runtime.events?a.runtime.events:[],v=h(l,O,"beforeValidateForm");let d;if(v&&(d=E(l,a,v,g)),d===void 0&&(d=!0),!d)return void(l.canClick=!0);k.isPromise(d)?d.then(f=>{f&&f===!0?q(l,a,g):l.canClick=!0}).catch(f=>{l.canClick=!0}):q(l,a,g)}}))})(e,t,V(n,e,t,i))}const ee=["click","suffixClick","prefixClick","menuClick"];function M(n,e){return e.props.base.tableUuid?e.props.base.tableUuid:n.tableUuids&&n.tableUuids.length>0?n.tableUuids[0]:null}function _(n,e,t,r){const o={};if(r)for(const i in r)o[i]=r[i];return t!=null&&(o._value=t),n&&(o.pageContext=n),e&&(o.configureObj=e),o}function q(n,e,t){const r=e.runtime&&e.runtime.events?e.runtime.events:[];let o=!0;t!=null&&t.skipValidate&&(o=!1);const i=y(n,r,"click");i&&function(c,s){return c&&Y.includes(s.eventName)}(i.isStandard,i.event)&&(o=!1),Q.validateDataModelFunc(n,e,o).then(u=>{if(!u)return void(n.canClick=!0);const c=I(n,e,t);c?k.isPromise(c)?c.then(s=>{s?N(n,e,i,t):n.canClick=!0}).catch(s=>{console.error(s),n.canClick=!0}):N(n,e,i,t):n.canClick=!0}).catch(u=>{console.error(u),n.canClick=!0})}function V(n,e,t,r){const o=e.code,i=e.version,u=M(e,t);if(u){const c=S.getComponentRef(e,u),s=c?c.getSelections():null,l=c?c.getSelectionIds():null;r||(r={}),r.tableUuid=u,r.listCode=B.getListCode(o,i,u),F(e)&&(r.selections=s,r.id=l&&l.length>0?l[0]:null,r.ids=l);const a=c?c.getTableConfigure():null;r.tableConfigure=a}return _(e,t,n,r)}function I(n,e,t){const r=h(n,e.runtime&&e.runtime.events?e.runtime.events:[],"beforeClick");let o;return r&&(o=E(n,e,r,null,t)),o===void 0||o}function H(n,e,t){const r=n.code+"_";A.$emit(r+"open-dialog",{pageContext:n,configureObj:e,eventParams:t})}function F(n,e){return!(!n.pageType||n.pageType!=="list")}function w(n,e,t,r,o,i){r?(n.result=o,n.canClick=!0):j.dealAfterOperate(n,e,o,"",i);const u=h(n,e.runtime&&e.runtime.events?e.runtime.events:[],"afterClick");u&&E(n,e,u,t)}function N(n,e,t,r){let o=e,i=e.props.linkPage;if(i&&i instanceof Array){const u=function(a){let g=a?a.row:null;return g||(g=a&&a.selections&&a.selections.length>0?a.selections[0]:null),g}(r),c=X.expressJump(n,e,i,u);let s,l=!1;c&&(l=c.show,s=l?c.toPage:null),i=s?s.linkPage:null,i&&(o=B.deepCopy(e),o.props.linkPage=i)}i&&i.jumpPageUrl?(n.canClick=!0,H(n,o,r)):function(u,c,s,l){const a=s,g=F(u);if(a){const x=a.func,b=a.isStandard,O=a.event,v=E(u,c,x,l);if(function(d,f){return d&&(f.eventName==="exportForm"||f.eventName==="exportPDF"||f.eventName==="import"||f.eventName==="assign"||f.eventName==="copyTask"||f.eventName==="addSigner"||f.eventName==="returnTaskTo"||f.eventName==="removeSigner"||f.eventName==="saveQueryCharts"||f.eventName==="addTransactor"||f.eventName==="removeTransactor")}(b,O))return void(u.canClick=!0);k.isPromise(v)?v.then(d=>{d?w(u,c,l,b,d,g):u.canClick=!0}).catch(d=>{console.error(d),u.canClick=!0}):w(u,c,l,b,v,g)}else w(u,c,l,!1,null,g)}(n,e,t,r)}function $(n,e){const t=n.customEvents;if(t&&e){let r="";return r=typeof e=="object"?e.componentUuid+"_"+e.name:e,t[r]}}function h(n,e,t){if(e&&t){const r=e.filter(o=>o.name===t);if(r&&r.length>0){const o=r[0];return o.isStandard?j.standardEvents[o.eventName]:$(n,o)}}}function y(n,e,t){if(e&&t){const r=e.filter(o=>o.name===t);if(r&&r.length>0){const o=r[0];return o.isStandard?{func:j.standardEvents[o.eventName],isStandard:!0,event:o}:{func:$(n,o),isStandard:!1,event:o}}}}function E(n,e,t,r,o){if(t){if(r||(r={pageContext:n,configureObj:e}),o&&r)for(const i in o)r[i]=o[i];return t.apply(t,[r])}}function z(n){const e=n.pageContext,t=n.configureObj,r=F(e);let o=[];if(r)e.editData?o.push(e.editData):o=n.selections;else{const u=e.entity.data;o.push(u)}const i=t.props.base.condition;return new Promise((u,c)=>{if(i==null||i===""||o==null||o.length===0)u({canExecute:!0});else{const s=e.entity.context,l=j.getAdditionalParamMap(e),a=!0,g=e.tableName;let x,b,O=!0;for(let v=0;v<o.length;v++){const d=o[v];for(let f=0;f<i.length;f++){const T=i[f],J=T.toolTips,W=T.conditionList;if(!k.analysisCondition(W,d,l,s,a,g,null,e)){O=!1,x=J,b=d;break}}}O?u({canExecute:!0}):(x&&G.ElMessage({showClose:!0,type:"warning",message:x}),u({canExecute:!1,message:x,failEntity:b}))}})}function p(n,e,t){e&&(t[n]=e)}exports.appendDefaultMethods=D,exports.canExecuteButton=z,exports.cellClick=function(n,e,t){return C(null,n,e,"cell-click",t)},exports.cellDblClick=function(n,e,t){return C(null,n,e,"cell-dblclick",t)},exports.doAfterClickEvent=function(n,e,t){const r=e.runtime&&e.runtime.events?e.runtime.events:[],o=h(n,r,"afterClick");if(o){const i=E(n,e,o,null,t);k.isPromise(i)?i.finally(()=>{n.canClick=!0}):n.canClick=!0}else n.canClick=!0},exports.doBeforeClickEvent=I,exports.doClickJumpPageEvent=H,exports.doSuffixOrPrefixClickEvent=function(n,e,t,r,o){const i=V(n,e,t,o);N(e,t,y(e,t.runtime&&t.runtime.events?t.runtime.events:[],r),i)},exports.fileUploadBeforeUpload=function(n){return m(null,n.pageContext,n.configureObj,"before-upload",n)},exports.getClickEventFuncByType=y,exports.getCustomFunc=L,exports.getEventFuncByType=h,exports.getEventNameByType=function(n,e){if(n&&e){const t=n.filter(r=>r.name===e);if(t&&t.length>0)return t[0].eventName}},exports.getHandleEvent=m,exports.getTableUuid=M,exports.gridSelectAllRecords=function(n,e,t){return C(null,n,e,"select-all",t)},exports.gridSelectRecord=function(n,e,t){return C(null,n,e,"select",t)},exports.gridSelectionChange=function(n,e,t){return C(null,n,e,"selection-change",t)},exports.handleAfterInitEvent=function(n,e,t,r){return U(n,e,t,"afterInit",r)},exports.handleChartEvent=function(n,e,t,r,o){return E(n,e,h(n,e&&e.runtime&&e.runtime.events?e.runtime.events:[],t),{configure:e,pageContext:n,chartOption:r,...o})},exports.handleEvent=C,exports.handleFormEvent=U,exports.headerClick=function(n,e,t){return C(null,n,e,"header-click",t)},exports.initPageEvents=function(n,e){if(n&&n.customEvents){const t=function(r){const o={};return r.forEach(i=>{if(!i.isStandard&&i.jsContent)if(i.name==="customFunc"){let u=null;if(i.funcParam){const c=i.funcParam.split(",");u=new Function(c,i.jsContent)}else u=new Function(i.jsContent);o[i.eventName]=u}else{let u=i.componentUuid+"_";u+=i.name,o[u]=new Function("params",i.jsContent)}}),o}(n.customEvents);(function(r,o){if(o)for(const i in o)D(o[i],r)})(e,t),e.customEvents=t}},exports.isShowComponent=function(n){let e=!0;if(!k.isMobileBrowser()){const t=n&&n.events?n.events:[];if(t){const r=t.filter(o=>o.name==="click"&&o.isStandard&&o.eventName&&o.eventName==="showSearch");r&&r.length>0&&(e=!1)}}return e},exports.isShowMobileEvent=function(n,e){let t=!0;if(k.isMobileBrowser()){const r=y(n,e&&e.runtime&&e.runtime.events?e.runtime.events:[],"click");if(r){const o=r.isStandard,i=r.event,u=navigator?navigator.userAgent:null;o&&u&&(u.indexOf(" uni-app ")>0?(Z.includes(i.eventName)||R.includes(i.eventName))&&(t=!1):R.includes(i.eventName)&&(t=!1))}}return t},exports.removeCustomFuncFromWindow=function(n){if(n&&n.customEvents){const e=n.customEvents.filter(t=>t.name==="customFunc"&&t.jsContent);e&&e.length>0&&e.forEach(t=>{delete window["$page_"+t.eventName]})}},exports.rowClick=function(n,e,t){return C(null,n,e,"row-click",t)},exports.rowDblClick=function(n,e,t){return C(null,n,e,"row-dblclick",t)},exports.setTableEvents=function(n,e,t,r){var o;e&&(p("loadBeforeSend",m(null,(o={pageContext:t,configureObj:r}).pageContext,o.configureObj,"beforeListLoad",o),n),p("beforeRequest",function(i){return m(null,i.pageContext,i.configureObj,"beforeRequest",i)}({pageContext:t,configureObj:r}),n),p("gridDataLoaded",function(i){return m(null,i.pageContext,i.configureObj,"onListLoad",i)}({pageContext:t,configureObj:r}),n),p("gridComplete",function(i){return m(null,i.pageContext,i.configureObj,"afterListLoad",i)}({pageContext:t,configureObj:r}),n),p("resizeHeight",function(i){return m(null,i.pageContext,i.configureObj,"resizeTableHeight",i)}({pageContext:t,configureObj:r}),n),n.lineEditOptions||(n.lineEditOptions={}),p("beforeInsertRow",function(i){return m(null,i.pageContext,i.configureObj,"beforeAddRow",i)}({pageContext:t,configureObj:r}),n.lineEditOptions),p("afterInsertRow",function(i){return m(null,i.pageContext,i.configureObj,"afterAddRow",i)}({pageContext:t,configureObj:r}),n.lineEditOptions),p("beforeDelete",function(i){return m(null,i.pageContext,i.configureObj,"beforeRemoveRow",i)}({pageContext:t,configureObj:r}),n.lineEditOptions),p("afterDelete",function(i){return m(null,i.pageContext,i.configureObj,"afterRemoveRow",i)}({pageContext:t,configureObj:r}),n.lineEditOptions),p("beforeEdit",function(i){return m(null,i.pageContext,i.configureObj,"beforeEdit",i)}({pageContext:t,configureObj:r}),n.lineEditOptions),p("beforeRestore",function(i){return m(null,i.pageContext,i.configureObj,"beforeRestore",i)}({pageContext:t,configureObj:r}),n.lineEditOptions),p("beforeRestoreValidate",function(i){return m(null,i.pageContext,i.configureObj,"beforeRestoreValidate",i)}({pageContext:t,configureObj:r}),n.lineEditOptions),function(i,u,c){u&&(c[i]=u)}("filterDataEvent",m(null,t,r,"filter-data",{pageContext:t,configureObj:r}),n))};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { PageDesign, Component, PageContext } from '../interfaces/page-design-types';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 缓存页面事件,并转为Function对象,并绑定自定义方法到window对象上
|
|
5
|
-
* @param pageDesign
|
|
6
|
-
*/
|
|
7
|
-
export declare function initPageEvents(pageDesign: PageDesign, pageContext: PageContext): void;
|
|
8
|
-
/**
|
|
9
|
-
* 获取自定义方法
|
|
10
|
-
* @param pageContext
|
|
11
|
-
* @param funcName
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare function getCustomFunc(pageContext: PageContext, funcName: any): any;
|
|
15
|
-
/**
|
|
16
|
-
* 为功能添加默认的方法
|
|
17
|
-
* @param func 函数
|
|
18
|
-
* @param pageContext
|
|
19
|
-
*/
|
|
20
|
-
export declare function appendDefaultMethods(func: any, pageContext: PageContext): void;
|
|
21
|
-
/**
|
|
22
|
-
* 页面销毁时,将window上注册的函数移除掉
|
|
23
|
-
* @param pageDesign
|
|
24
|
-
*/
|
|
25
|
-
export declare function removeCustomFuncFromWindow(pageDesign: PageDesign): void;
|
|
26
|
-
export declare function handleEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
27
|
-
export declare function handleFormEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
28
|
-
export declare function handleAfterInitEvent($event: any, pageContext: PageContext, configure: Component, otherParams?: object): any;
|
|
29
|
-
export declare function getHandleEvent($event: any, pageContext: PageContext, configure: Component, eventType: string, otherParams?: object): any;
|
|
30
|
-
export declare function getTableUuid(pageContext: PageContext, configure: Component): any;
|
|
31
|
-
export declare function handleEventByEventName(pageContext: PageContext, configure: Component, eventName: string, otherParams?: object): any;
|
|
32
|
-
export declare function doSuffixOrPrefixClickEvent($event: any, pageContext: PageContext, configure: Component, eventType: any, otherParams?: object): void;
|
|
33
|
-
export declare function doBeforeClickEvent(pageContext: PageContext, configure: Component, otherParams?: object): any;
|
|
34
|
-
/**
|
|
35
|
-
* TODO: 跳转页面功能
|
|
36
|
-
* 跳转页面功能
|
|
37
|
-
* @param $event
|
|
38
|
-
* @param pageContext
|
|
39
|
-
* @param configure
|
|
40
|
-
*/
|
|
41
|
-
export declare function doClickJumpPageEvent(pageContext: PageContext, configure: Component, eventParams: object): void;
|
|
42
|
-
export declare function doAfterClickEvent(pageContext: PageContext, configure: Component, otherParams?: object): void;
|
|
43
|
-
/**
|
|
44
|
-
* 获得事件Function对象
|
|
45
|
-
* @param events 该组件所有事件集合
|
|
46
|
-
* @param eventType change、click等事件类型
|
|
47
|
-
*/
|
|
48
|
-
export declare function getEventFuncByType(pageContext: PageContext, events: Array<any>, eventType: string): any;
|
|
49
|
-
/**
|
|
50
|
-
* 根据事件类型,获得事件名称
|
|
51
|
-
* @param events
|
|
52
|
-
* @param eventType
|
|
53
|
-
* @returns
|
|
54
|
-
*/
|
|
55
|
-
export declare function getEventNameByType(events: Array<any>, eventType: string): any;
|
|
56
|
-
/**
|
|
57
|
-
* 获得事件Function对象
|
|
58
|
-
* @param events 该组件所有事件集合
|
|
59
|
-
* @param eventType change、click等事件类型
|
|
60
|
-
*/
|
|
61
|
-
export declare function getClickEventFuncByType(pageContext: PageContext, events: Array<any>, eventType: string): {
|
|
62
|
-
func: any;
|
|
63
|
-
isStandard: boolean;
|
|
64
|
-
event: any;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* 按钮是否可执行条件解析
|
|
68
|
-
* @param params
|
|
69
|
-
* @returns
|
|
70
|
-
*/
|
|
71
|
-
export declare function canExecuteButton(params: any): Promise<unknown>;
|
|
72
|
-
export declare function canVisibleComponent(params: any): Promise<unknown>;
|
|
73
|
-
export declare function setTableEvents(options: any, tableEvents: any, pageContext: any, configureObj: any): void;
|
|
74
|
-
export declare function gridSelectRecord(pageContext: any, configureObj: any, params: any): any;
|
|
75
|
-
export declare function gridSelectAllRecords(pageContext: any, configureObj: any, params: any): any;
|
|
76
|
-
export declare function gridSelectionChange(pageContext: any, configureObj: any, params: any): any;
|
|
77
|
-
export declare function cellClick(pageContext: any, configureObj: any, params: any): any;
|
|
78
|
-
export declare function cellDblClick(pageContext: any, configureObj: any, params: any): any;
|
|
79
|
-
export declare function rowClick(pageContext: any, configureObj: any, params: any): any;
|
|
80
|
-
export declare function rowDblClick(pageContext: any, configureObj: any, params: any): any;
|
|
81
|
-
export declare function headerClick(pageContext: any, configureObj: any, params: any): any;
|
|
82
|
-
export declare function fileUploadBeforeUpload(params: any): any;
|
|
83
|
-
export declare function fileUploadUploaded(pageContext: any, configureObj: any, params: any): any;
|
|
84
|
-
export declare function fileUploadBeforeDelete(pageContext: any, configureObj: any, params: any): any;
|
|
85
|
-
export declare function fileUploadDeleted(pageContext: any, configureObj: any, params: any): any;
|
|
86
|
-
/**
|
|
87
|
-
* 当前按钮的点击事件是否是列表的 显示查询 事件。移动端时才需要显示这个按钮。
|
|
88
|
-
* @param configure 组件配置
|
|
89
|
-
*/
|
|
90
|
-
export declare function isShowComponent(configure: Component): boolean;
|
|
91
|
-
export declare function handleChartEvent(pageContext: PageContext, configure: Component, eventType: string, chartOption: object, otherParams?: object): any;
|
|
92
|
-
export declare function isShowMobileEvent(pageContext: PageContext, configure: Component): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const N=require("agilebuilder-ui"),S=require("vue-plugin-hiprint"),A=require("../barcode-util.cjs");function I(t,f){N.http.post(window.$vueApp.config.globalProperties.baseAPI+"/dc/print-models/by-codes",[f]).then(E=>{const d=JSON.parse(E[0].template),c=[];d.panels.forEach(e=>{e.printElements.forEach(p=>{p.options.textType!=="barcode"&&p.options.textType!=="qrcode"||c.push(p.options)})});const n=new S.hiprint.PrintTemplate({template:d}),u={callback:()=>{},styleHandler:()=>""},o={leftOffset:-1,topOffset:-1},r={};d.panels[0].printElements.forEach(e=>{if(e.options.dataType==="datetime"&&e.options.field){const p=e.options.field.substring(6);r[p]=e.options.dateFormat}}),t.pageContext.pageType?t.pageContext.pageType==="list"?function(e,p,y,a,h,x){const g=JSON.parse(JSON.stringify(e.selections));if(g.forEach(i=>{Object.keys(p).forEach(s=>{if(i[s]&&typeof i[s]=="number"&&!isNaN(i[s]))try{i[s]=new Date(i[s])}catch(m){console.error(`日期格式化失败: ${m}`)}})}),y.length>0){const i=[];y.forEach(s=>{i.push(function(m,l){return new Promise((b,C)=>{const v=m.field.split("."),P=[];v.length<2&&b([]);try{J(v[1]).then(O=>{l.forEach((j,q)=>{const w={type:v[0],name:v[1],value:null,index:q};w.value=A.generateCodeByRule(JSON.parse(O.barcodeModelItems),j),P.push(w)}),b(P)})}catch(O){console.error("获取条码规则失败:",O),b([])}})}(s,g))}),Promise.all(i).then(s=>{s.forEach(m=>{m.forEach(l=>{const b=l.index,C=g[b];C[l.type]||(C[l.type]={}),C[l.type][l.name]=l.value})}),a.print(g,h,x)})}else a.print(g,h,x)}(t,r,c,n,o,u):t.pageContext.pageType==="form"&&T(t,c,n,o,u):T(t,c,n,o,u)})}function T(t,f,E,d,c){if(f.length>0){const n=[];f.forEach(u=>{n.push(function(o,r){return new Promise((e,p)=>{const y=r.field.split("."),a={type:null,name:null,value:null};y.length<2&&e(a),a.type=y[0],a.name=y[1];try{J(a.name).then(h=>{const x=JSON.parse(h.barcodeModelItems);a.value=A.generateCodeByRule(x,o.entity.data),e(a)})}catch(h){console.error("获取条码规则失败:",h),e(a)}})}(t.pageContext,u))}),Promise.all(n).then(u=>{const o={};u.forEach(e=>{e.type&&e.name&&e.value&&(o[e.type]||(o[e.type]={}),o[e.type][e.name]=e.value)});const r={table:{}};Object.assign(r,t.pageContext.entity,o),r.table=t.pageContext.entity.data,E.print(r,d,c)})}else{const n={table:{}};Object.assign(n,t.pageContext.entity),n.table=t.pageContext.entity.data,E.print(n,d,c)}}function J(t){const f=encodeURIComponent(t);return N.http.get(window.$vueApp.config.globalProperties.baseAPI+`/dc/setting-barcode-models/by-name?name=${f}`)}S.disAutoConnect();const M={printLabel:I};exports.default=M,exports.printLabel=I;
|