super-page-runtime 2.3.44 → 2.3.45-cdnTmp2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.mjs +12 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +196 -0
- package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
- package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
- package/dist/es/components/runtime/utils/common-util.mjs +116 -0
- package/dist/es/components/runtime/utils/eventBus.mjs +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +424 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1169 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +444 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
- package/dist/es/components/runtime/utils/global-refs.mjs +57 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
- package/dist/es/components/runtime/utils/page-init-util.d.ts +7 -1
- package/dist/es/components/runtime/utils/page-init-util.mjs +281 -0
- package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +53 -0
- package/dist/es/components/runtime/utils/store-util.mjs +13 -0
- package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +425 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +15 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +256 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +34 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +47 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +362 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +329 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +132 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +65 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +111 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +215 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +163 -0
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +30 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +29 -0
- package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page2.vue.mjs +307 -0
- package/dist/es/index.mjs +32 -0
- package/dist/es/style.css +1 -1052
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +1 -0
- package/dist/lib/assets/folder.png.cjs +1 -0
- package/dist/lib/components/runtime/index.d.ts +6 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +8 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +107 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +31 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +181 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +55 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +1 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +137 -0
- package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +1 -0
- package/dist/lib/i18n/langs/en.cjs +1 -0
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +1 -0
- package/package.json +13 -11
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/anchor-util.js +0 -84
- package/dist/es/components/runtime/utils/api/api-util.js +0 -7
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -202
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/barcode-util.js +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
- package/dist/es/components/runtime/utils/common-util.js +0 -120
- package/dist/es/components/runtime/utils/eventBus.js +0 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -439
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1225
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -463
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
- package/dist/es/components/runtime/utils/global-refs.js +0 -57
- package/dist/es/components/runtime/utils/i18n-util.js +0 -14
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -391
- package/dist/es/components/runtime/utils/page-init-util.js +0 -279
- package/dist/es/components/runtime/utils/page-store.js +0 -53
- package/dist/es/components/runtime/utils/store-util.js +0 -13
- package/dist/es/components/runtime/utils/table-utils.js +0 -89
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +0 -94
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -430
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -15
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +0 -263
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -383
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -337
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -110
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +0 -91
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +0 -43
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +0 -84
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -166
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -32
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -26
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -311
- package/dist/es/index.js +0 -32
- /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
- /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
- /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
- /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
- /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { defineComponent as B, ref as r, computed as P, onMounted as j, nextTick as N, resolveComponent as b, openBlock as x, createBlock as F, normalizeStyle as _, unref as s, normalizeClass as U, createSlots as L, withCtx as k, createVNode as W, createElementBlock as G, Fragment as H, renderList as J, createElementVNode as K, toDisplayString as Q } from "vue";
|
|
2
|
+
import { setVariableValue as X, getVariableValue as q, getOptionDatasFromPage as Y, putToOptionSourceMap as Z, monitorFieldChange as $, autoSetAfterSelect as ee, queryOptionDatasources as te } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
import { getFormModelFields as ae } from "../../../../utils/page-init-util.mjs";
|
|
4
|
+
import { handleFormEvent as D, handleAfterInitEvent as le } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { $t as oe } from "../../../../utils/i18n-util.mjs";
|
|
6
|
+
import { addRequiredClassUtil as ne } from "../../../../utils/common-util.mjs";
|
|
7
|
+
const ge = B({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {} }, setup(v, { expose: I }) {
|
|
8
|
+
const t = v, c = r(null), m = t.pageContext.entity ? t.pageContext.entity : {};
|
|
9
|
+
let h = ae(t.pageContext, t.configure);
|
|
10
|
+
const p = P({ get() {
|
|
11
|
+
let e = q(m, h);
|
|
12
|
+
return e && typeof e == "string" && (e = e.split(",")), e;
|
|
13
|
+
}, set(e) {
|
|
14
|
+
e && e.length > 0 && (e = e.join(",")), X(m, h, e), e != null && (c.value = "");
|
|
15
|
+
} }), n = t.configure.runtime ? t.configure.runtime : {}, O = n.style, z = n.class, M = n.headerStyle, w = n.titleExceedStyle, l = r(n.props ? n.props : {}), o = r(l.value.options ? l.value.options : []), S = Y(t.pageContext, t.configure);
|
|
16
|
+
S.length > 0 && (o.value = S);
|
|
17
|
+
const y = t.configure.props && t.configure.props.dataOrigin ? t.configure.props.dataOrigin : {}, f = y.optionValueSetType;
|
|
18
|
+
let g = [];
|
|
19
|
+
if (f == "dynamicData" || f == "dynamicData" || f == "service") {
|
|
20
|
+
if (y.autoSets) for (let e of y.autoSets) e.source && g.push(e);
|
|
21
|
+
} else f == "static" && Z(t.pageContext, t.configure.uuid, o.value);
|
|
22
|
+
t.configure && t.configure.props && t.configure.props.base && t.configure.props.base.optionProp && g.push({ source: "label", target: t.configure.props.base.optionProp }), l.value.changeMethod = function(e) {
|
|
23
|
+
if (g.length > -1) {
|
|
24
|
+
let a = null;
|
|
25
|
+
o.value && e != null && e != null && (a = o.value.filter((u) => Array.isArray(e) ? e.includes(u.value) : e === u.value)), ee(t.configure, t.pageContext, g, a);
|
|
26
|
+
}
|
|
27
|
+
D(e, t.pageContext, t.configure, "change");
|
|
28
|
+
};
|
|
29
|
+
const A = l.value.optionconfigInfo ? l.value.optionconfigInfo : {}, T = l.value.monitorFields;
|
|
30
|
+
$(t.pageContext, T, function() {
|
|
31
|
+
te(t.pageContext, A, void 0).then((e) => {
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
const V = r(null), R = r(null), E = r(null);
|
|
35
|
+
return j(() => {
|
|
36
|
+
N(() => {
|
|
37
|
+
const e = p.value;
|
|
38
|
+
le(e, t.pageContext, t.configure, { formItemRef: V.value, componentRef: R.value, titleRef: E.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
39
|
+
});
|
|
40
|
+
}), I({ updateOptions: function(e) {
|
|
41
|
+
o.value = e || [];
|
|
42
|
+
}, addRequiredClass: function() {
|
|
43
|
+
c.value = ne();
|
|
44
|
+
}, getSelectItemsTitle: function() {
|
|
45
|
+
const e = function() {
|
|
46
|
+
let a = q(m, h);
|
|
47
|
+
return a != null && (a = String(a)), a;
|
|
48
|
+
}();
|
|
49
|
+
if (e != null && e !== "" && e.length > 0) {
|
|
50
|
+
let a = "";
|
|
51
|
+
const u = e.split(",");
|
|
52
|
+
return o.value.length > 0 ? (o.value.forEach((d) => {
|
|
53
|
+
u.forEach((C) => {
|
|
54
|
+
d.value === C && (a = a + d.label + ",");
|
|
55
|
+
});
|
|
56
|
+
}), a = a.slice(0, a.length - 1)) : a = e.join(","), a;
|
|
57
|
+
}
|
|
58
|
+
} }), (e, a) => {
|
|
59
|
+
const u = b("el-checkbox"), d = b("el-checkbox-group"), C = b("el-form-item");
|
|
60
|
+
return x(), F(C, { ref_key: "formItemRef", ref: V, class: U(s(z) + (c.value ? " " + c.value : "")), required: !!l.value.required, "label-width": l.value.labelWidth, style: _(s(O)) }, L({ default: k(() => [W(d, { ref_key: "componentRef", ref: R, disabled: l.value.state === "disabled", size: l.value.size, onChange: l.value.changeMethod, modelValue: p.value, "onUpdate:modelValue": a[0] || (a[0] = (i) => p.value = i) }, { default: k(() => [(x(!0), G(H, null, J(o.value, (i) => (x(), F(u, { key: i.value, value: i.value, label: i.label, onClick: (ue) => s(D)(i.value, v.pageContext, v.configure, "click", { values: p.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [l.value.tittleShow ? { name: "label", fn: k(() => [K("div", { ref_key: "titleRef", ref: E, style: _({ ...s(M), ...s(w) }), class: "amb-form-item-label" }, Q(s(oe)(l.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "required", "label-width", "style"]);
|
|
61
|
+
};
|
|
62
|
+
} });
|
|
63
|
+
export {
|
|
64
|
+
ge as default
|
|
65
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as g, computed as k, resolveComponent as c, openBlock as s, createElementBlock as v, Fragment as C, createBlock as x, isRef as m, unref as d, createCommentVNode as V } from "vue";
|
|
2
|
+
import { formatVariableValue as A, setVariableValue as f, getVariableValue as b } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
const P = g({ __name: "title-suffix-element", props: { pageContext: {}, property: {} }, setup(o) {
|
|
4
|
+
const r = o, n = r.pageContext.entity;
|
|
5
|
+
let t = [];
|
|
6
|
+
if (r.property.prefixPro && r.property.prefixPro.startsWith("${")) {
|
|
7
|
+
let l = r.property.prefixPro;
|
|
8
|
+
l = l.substring(2, l.length - 1), t = l.split(".");
|
|
9
|
+
} else t = [];
|
|
10
|
+
if (t.length > 0 && r.property.prefixDefault) {
|
|
11
|
+
const l = r.property.prefixDefault;
|
|
12
|
+
let e = A(r.pageContext, l);
|
|
13
|
+
e != null && e != null && (r.property.prefixType === "checkbox" && (e = (e + "").split(",")), f(n, t, e));
|
|
14
|
+
}
|
|
15
|
+
const y = r.property.prefixType;
|
|
16
|
+
let a = r.property.prefixValue;
|
|
17
|
+
a = a == null || a == null ? "" : a;
|
|
18
|
+
let p = null;
|
|
19
|
+
return t.length > 0 && (p = k({ get() {
|
|
20
|
+
const l = b(n, t);
|
|
21
|
+
return y === "checkbox" ? l != null && (Array.isArray(l) ? l.includes(a) : l === a) : l;
|
|
22
|
+
}, set(l) {
|
|
23
|
+
if (y === "checkbox") {
|
|
24
|
+
let e = b(n, t);
|
|
25
|
+
e || (e = []), Array.isArray(e) || (e = [e]);
|
|
26
|
+
const u = e.indexOf(a);
|
|
27
|
+
l ? u == -1 && e.push(a) : u > -1 && e.splice(u, 1), f(n, t, e);
|
|
28
|
+
} else f(n, t, l);
|
|
29
|
+
} })), (l, e) => {
|
|
30
|
+
const u = c("el-radio"), h = c("el-checkbox");
|
|
31
|
+
return s(), v(C, null, [o.property.prefixType === "radio" ? (s(), x(u, { key: 0, value: o.property.prefixValue, label: o.property.title, modelValue: d(p), "onUpdate:modelValue": e[0] || (e[0] = (i) => m(p) ? p.value = i : p = i) }, null, 8, ["value", "label", "modelValue"])) : V("", !0), o.property.prefixType === "checkbox" ? (s(), x(h, { key: 1, label: o.property.title, value: o.property.prefixValue, modelValue: d(p), "onUpdate:modelValue": e[1] || (e[1] = (i) => m(p) ? p.value = i : p = i) }, null, 8, ["label", "value", "modelValue"])) : V("", !0)], 64);
|
|
32
|
+
};
|
|
33
|
+
} });
|
|
34
|
+
export {
|
|
35
|
+
P as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { defineComponent as B, computed as G, ref as d, onMounted as H, nextTick as M, onUnmounted as N, resolveComponent as W, openBlock as f, createBlock as x, normalizeStyle as S, unref as n, normalizeClass as L, createSlots as T, withCtx as _, createElementBlock as w, resolveDynamicComponent as U, createCommentVNode as j, createElementVNode as J, toDisplayString as K } from "vue";
|
|
2
|
+
import { getFormModelFields as Q } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { setVariableValue as q, getVariableValue as X, formatVariableValue as Y, getFormPropName as P, setVariableValueWithProp as Z } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as ee, handleEvent as y } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { updateFormItemEditState as te } from "../../../../utils/events/validator-util.mjs";
|
|
6
|
+
import { getListCode as ae } from "../../../../utils/common-util.mjs";
|
|
7
|
+
import { getComponentRef as oe } from "../../../../utils/global-refs.mjs";
|
|
8
|
+
import { getAdditionalParamMap as ne } from "../../../../utils/events/standard-event.mjs";
|
|
9
|
+
import { $t as ie } from "../../../../utils/i18n-util.mjs";
|
|
10
|
+
import C from "../../../../utils/eventBus.mjs";
|
|
11
|
+
import { functions as re } from "../../../../utils/api/page-expose-util.mjs";
|
|
12
|
+
const le = { key: 0, style: { width: "100%", height: "100%" } }, ue = { key: 1, style: { width: "100%", height: "100%" }, class: "amb-widget-richtext-single" }, be = B({ __name: "custom-runtime", props: { pageContext: {}, configure: {} }, setup(a, { expose: $ }) {
|
|
13
|
+
const e = a, g = e.pageContext.entity ? e.pageContext.entity : {}, l = Q(e.pageContext, e.configure), u = G({ get: () => X(g, l), set(t) {
|
|
14
|
+
q(g, l, t);
|
|
15
|
+
} }), p = e.configure.runtime ? e.configure.runtime : {}, z = p.style, I = p.class, O = p.headerStyle, s = d(p.props ? p.props : {}), b = function(t) {
|
|
16
|
+
let o = {};
|
|
17
|
+
if (t) for (let c in t) {
|
|
18
|
+
const r = t[c];
|
|
19
|
+
o[c] = Y(e.pageContext, r);
|
|
20
|
+
}
|
|
21
|
+
return o;
|
|
22
|
+
}(p.customParams ? p.customParams : {}), h = ne(e.pageContext), v = d(e.configure.props && e.configure.props.base ? e.configure.props.base.name : null);
|
|
23
|
+
function V(t, o) {
|
|
24
|
+
Z(g, t, o);
|
|
25
|
+
}
|
|
26
|
+
function k(t) {
|
|
27
|
+
re.isHasFieldAuthPermission(e.configure) ? te(e.pageContext, t) : console.error("没有该字段的权限,dynamicFields=", l ? l.join(".") : "");
|
|
28
|
+
}
|
|
29
|
+
function R() {
|
|
30
|
+
const t = e.pageContext.tableUuids;
|
|
31
|
+
t && t.forEach((o) => {
|
|
32
|
+
const c = ae(e.pageContext.code, e.pageContext.version, e.configure.uuid), r = oe(e.pageContext, o);
|
|
33
|
+
r && r.restoreGridEdit(c);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
e.configure.props.verification.custom && e.configure.props.verification.custom.enabled && (e.pageContext.customValidatorUuids || (e.pageContext.customValidatorUuids = []), e.pageContext.customValidatorUuids.push(e.configure.uuid));
|
|
37
|
+
const A = e.pageContext.code, m = d(l && l.length > 0 ? A + "__" + l.join("__") : null), i = d(null), E = d(null), D = d(null);
|
|
38
|
+
function F(t) {
|
|
39
|
+
y(u.value, e.pageContext, e.configure, t);
|
|
40
|
+
}
|
|
41
|
+
return H(() => {
|
|
42
|
+
C.$on(m.value + "-scanDone", (t) => {
|
|
43
|
+
const o = t.result;
|
|
44
|
+
q(g, l, o);
|
|
45
|
+
}), C.$on(m.value + "-pickFileDone", (t) => {
|
|
46
|
+
m.value, i.value.pickFileDone(t);
|
|
47
|
+
}), M(() => {
|
|
48
|
+
const t = u.value;
|
|
49
|
+
ee(t, e.pageContext, e.configure, { formItemRef: E.value, componentRef: i.value, titleRef: D.value, value: t, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
50
|
+
});
|
|
51
|
+
}), N(() => {
|
|
52
|
+
C.$off(m.value + "-scanDone"), C.$off(m.value + "-pickFileDone");
|
|
53
|
+
}), $({ getCustomRef: function() {
|
|
54
|
+
return i.value;
|
|
55
|
+
}, invokeCustomFunction: function(t, ...o) {
|
|
56
|
+
if (i.value && typeof i.value[t] == "function") return i.value[t](...o);
|
|
57
|
+
throw new Error(`执行失败:Function '${t}' not found in custom component`);
|
|
58
|
+
}, hasCustomFunction: function(t) {
|
|
59
|
+
return i.value && typeof i.value[t] == "function";
|
|
60
|
+
}, addRequiredClass: function() {
|
|
61
|
+
requiredClass.value = addRequiredClassUtil();
|
|
62
|
+
} }), (t, o) => {
|
|
63
|
+
const c = W("el-form-item");
|
|
64
|
+
return s.value.tittleShow ? (f(), x(c, { key: 0, ref_key: "formItemRef", ref: E, required: s.value.required, class: L(n(I)), "label-width": s.value.labelWidth, style: S(n(z)) }, T({ default: _(() => [v.value ? (f(), w("div", le, [(f(), x(U(v.value), { ref_key: "customRef", ref: i, size: s.value.size, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page, pageContext: a.pageContext, configureObj: a.configure, prop: n(P)(a.configure.props && a.configure.props.base ? a.configure.props.base.prop : null), "custom-params": n(b), modelValue: u.value, "onUpdate:modelValue": o[0] || (o[0] = (r) => u.value = r), disabled: s.value.state === "disabled", "additional-param-map": n(h), "component-id": m.value, onSetEntityValue: V, onSetCustomRules: k, onRestoreGridEdit: R, onHandleEvent: F, onChange: o[1] || (o[1] = (r) => n(y)(u.value, a.pageContext, a.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : j("", !0)]), _: 2 }, [s.value.tittleShow ? { name: "label", fn: _(() => [J("div", { ref_key: "titleRef", ref: D, style: S({ ...n(O) }), class: "amb-form-item-label" }, K(n(ie)(s.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : v.value ? (f(), w("div", ue, [(f(), x(U(v.value), { ref_key: "customRef", ref: i, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page, pageContext: a.pageContext, configureObj: a.configure, prop: n(P)(a.configure.props && a.configure.props.base ? a.configure.props.base.prop : null), "custom-params": n(b), modelValue: u.value, "onUpdate:modelValue": o[2] || (o[2] = (r) => u.value = r), disabled: s.value.state === "disabled", "additional-param-map": n(h), "component-id": m.value, onSetEntityValue: V, onSetCustomRules: k, onRestoreGridEdit: R, onHandleEvent: F, onChange: o[3] || (o[3] = (r) => n(y)(u.value, a.pageContext, a.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : j("", !0);
|
|
65
|
+
};
|
|
66
|
+
} });
|
|
67
|
+
export {
|
|
68
|
+
be as default
|
|
69
|
+
};
|
package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { defineComponent as U, ref as y, onMounted as $, nextTick as I, computed as N, resolveComponent as z, openBlock as f, createBlock as C, normalizeStyle as Y, unref as r, normalizeClass as W, createSlots as j, withCtx as B, createElementVNode as O, createElementBlock as Q, Fragment as G, createTextVNode as H, toDisplayString as J } from "vue";
|
|
2
|
+
import { getFormModelFields as K } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { getDateShortCuts as L } from "../../../../utils/form/date-shortcuts.mjs";
|
|
4
|
+
import { getModelFieldFromPageContext as X, getValueFromVariable as P, setVariableValue as v, getVariableValue as V, isDateDataType as Z } from "../../../../utils/page-helper-util.mjs";
|
|
5
|
+
import { handleAfterInitEvent as ee, getCustomFunc as ae, handleFormEvent as n } from "../../../../utils/events/event-util.mjs";
|
|
6
|
+
import le from "../common/title-suffix-element.vue.mjs";
|
|
7
|
+
import M from "dayjs";
|
|
8
|
+
import { $t as te } from "../../../../utils/i18n-util.mjs";
|
|
9
|
+
import { addRequiredClassUtil as oe } from "../../../../utils/common-util.mjs";
|
|
10
|
+
import { DatePickerRange as re, DateQuarterPicker as ne } from "agilebuilder-ui";
|
|
11
|
+
const he = U({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(o, { expose: _ }) {
|
|
12
|
+
var S;
|
|
13
|
+
const d = o, x = y(null), u = d.pageContext.entity ? d.pageContext.entity : {}, m = d.configure.runtime ? d.configure.runtime : {}, q = m.style, w = m.class, A = m.headerStyle, E = m.titleExceedStyle, e = y(m.props ? m.props : {});
|
|
14
|
+
let i = K(d.pageContext, d.configure, e.value.prop);
|
|
15
|
+
if (d.pageContext.modelFieldsMap && i && i.length > 0 && i[0] === "data") {
|
|
16
|
+
const t = X(i, d.pageContext);
|
|
17
|
+
t && function(a) {
|
|
18
|
+
const s = a.dataType;
|
|
19
|
+
Z(s) && (e.value.dateType === "year" && e.value.valueFormat === "YYYY" || e.value.dateType === "month" && e.value.valueFormat === "YYYY-MM") && (e.value.valueFormat = "x");
|
|
20
|
+
}(t);
|
|
21
|
+
}
|
|
22
|
+
let c = null, k = !1;
|
|
23
|
+
if (e.value.dateType && e.value.dateType.includes("range")) {
|
|
24
|
+
k = !0;
|
|
25
|
+
let t = e.value.prop2;
|
|
26
|
+
t && t.startsWith("${") || (t = "${page." + d.configure.uuid + "-2}");
|
|
27
|
+
const a = P(u, t, null);
|
|
28
|
+
if (t = t.substring(2, t.length - 1), c = t.split("."), !(a || u.data && (u.data.id || u.data.ID)) && e.value.defaultValue2) {
|
|
29
|
+
const s = P(u, e.value.defaultValue2);
|
|
30
|
+
if (s != null && s !== "") v(u, c, s);
|
|
31
|
+
else if (((S = e.value.moreDefaultValue2) == null ? void 0 : S.length) > 0) {
|
|
32
|
+
const g = e.value.moreDefaultValue2;
|
|
33
|
+
for (let F = 0; F < g.length; F++) {
|
|
34
|
+
const l = P(u, g[F]);
|
|
35
|
+
if (l != null && l !== "") {
|
|
36
|
+
v(u, c, l);
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
const D = y(null), T = y(null), R = y(null);
|
|
44
|
+
function b(t, a) {
|
|
45
|
+
if (!t) return t;
|
|
46
|
+
if (a) {
|
|
47
|
+
typeof t != "number" || isNaN(t) || t.toString().length !== 4 || (t = t.toString());
|
|
48
|
+
try {
|
|
49
|
+
const s = M(t);
|
|
50
|
+
let g = null;
|
|
51
|
+
return g = a === "x" ? s.toDate().getTime() : M(t).format(a), g;
|
|
52
|
+
} catch (s) {
|
|
53
|
+
return console.error("日期值格式化错误", s), console.error(`value: ${t} ,valueFormat: ${e.value.valueFormat}`), t;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return t;
|
|
57
|
+
}
|
|
58
|
+
if ($(() => {
|
|
59
|
+
I(() => {
|
|
60
|
+
const t = p.value;
|
|
61
|
+
ee(t, d.pageContext, d.configure, { formItemRef: D.value, componentRef: T.value, titleRef: R.value, value: t, entity: d.pageContext.entity.data, pageData: d.pageContext.entity.page });
|
|
62
|
+
});
|
|
63
|
+
}), i) {
|
|
64
|
+
const t = V(u, i), a = b(t, e.value.valueFormat);
|
|
65
|
+
t !== a && v(u, i, a);
|
|
66
|
+
}
|
|
67
|
+
if (c) {
|
|
68
|
+
const t = V(u, c), a = b(t, e.value.valueFormat);
|
|
69
|
+
t !== a && v(u, c, a);
|
|
70
|
+
}
|
|
71
|
+
const p = N({ get() {
|
|
72
|
+
if (k) {
|
|
73
|
+
const t = [];
|
|
74
|
+
let a = V(u, i);
|
|
75
|
+
t.push(b(a, e.value.valueFormat));
|
|
76
|
+
let s = V(u, c);
|
|
77
|
+
return t.push(b(s, e.value.valueFormat)), t;
|
|
78
|
+
}
|
|
79
|
+
return b(V(u, i), e.value.valueFormat);
|
|
80
|
+
}, set(t) {
|
|
81
|
+
k ? Array.isArray(t) ? (v(u, i, t[0]), v(u, c, t[1]), x.value = "") : t === null && (v(u, i, null), v(u, c, null)) : (v(u, i, t), t != null && (x.value = ""));
|
|
82
|
+
} }), h = y(L(e.value.dateScopeDetails, e.value.sourceType, e.value.dateType));
|
|
83
|
+
if (e.value.shortcutsFunc) {
|
|
84
|
+
const t = ae(d.pageContext, e.value.shortcutsFunc);
|
|
85
|
+
if (t) {
|
|
86
|
+
let a = t.apply(t, [{ pageContext: d.pageContext, configureObj: d.configure }]);
|
|
87
|
+
if (a) {
|
|
88
|
+
Array.isArray(a) || (a = [a]), h.value || (h.value = []);
|
|
89
|
+
for (let s of a) s.text && s.value && h.value.push(s);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return _({ addRequiredClass: function() {
|
|
94
|
+
x.value = oe();
|
|
95
|
+
} }), (t, a) => {
|
|
96
|
+
const s = z("el-time-picker"), g = z("el-date-picker"), F = z("el-form-item");
|
|
97
|
+
return f(), C(F, { ref_key: "formItemRef", ref: D, required: e.value.required, class: W(r(w) + (x.value ? " " + x.value : "")), "label-width": e.value.labelWidth, style: Y(r(q)) }, j({ default: B(() => [e.value.dateType == "time" || e.value.dateType == "timerange" ? (f(), C(s, { key: 0, ref_key: "componentRef", ref: T, "is-range": e.value.dateType == "timerange", style: { width: "100%" }, "range-separator": "-", clearable: e.value.clearable, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", size: e.value.size, placeholder: e.value.placeholder, "start-placeholder": e.value.placeholder, "end-placeholder": e.value.endPlaceholder ? e.value.endPlaceholder : e.value.placeholder, "unlink-panels": !0, format: e.value.format, "value-format": e.value.valueFormat, modelValue: p.value, "onUpdate:modelValue": a[0] || (a[0] = (l) => p.value = l), shortcuts: h.value, type: e.value.dateType, onChange: a[1] || (a[1] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[2] || (a[2] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[3] || (a[3] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onVisibleChange: a[4] || (a[4] = (l) => r(n)(l, o.pageContext, o.configure, "visible-change")), onPanelChange: a[5] || (a[5] = (l) => r(n)(l, o.pageContext, o.configure, "panel-change")), onClear: a[6] || (a[6] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : e.value.dateRangePickerMode !== "combined" && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(e.value.dateType) ? (f(), C(r(re), { key: 1, modelValue: p.value, "onUpdate:modelValue": a[7] || (a[7] = (l) => p.value = l), type: e.value.dateType, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", clearable: e.value.clearable, format: e.value.format, "value-format": e.value.valueFormat, placeholder: e.value.placeholder, "start-placeholder": e.value.placeholder, "end-placeholder": e.value.endPlaceholder ? e.value.endPlaceholder : e.value.placeholder, size: e.value.size, shortcuts: h.value, onChange: a[8] || (a[8] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[9] || (a[9] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[10] || (a[10] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onVisibleChange: a[11] || (a[11] = (l) => r(n)(l, o.pageContext, o.configure, "visible-change")), onPanelChange: a[12] || (a[12] = (l) => r(n)(l, o.pageContext, o.configure, "panel-change")), onClear: a[13] || (a[13] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : e.value.dateType === "quarter" ? (f(), C(r(ne), { key: 2, modelValue: p.value, "onUpdate:modelValue": a[14] || (a[14] = (l) => p.value = l), type: e.value.dateType, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", clearable: e.value.clearable, format: e.value.format, "value-format": e.value.valueFormat, placeholder: e.value.placeholder, size: e.value.size, onChange: a[15] || (a[15] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[16] || (a[16] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[17] || (a[17] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onClear: a[18] || (a[18] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "size"])) : (f(), C(g, { key: 3, ref_key: "componentRef", ref: T, clearable: e.value.clearable, style: { width: "100%" }, "unlink-panels": !0, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", size: e.value.size, placeholder: e.value.placeholder, "start-placeholder": e.value.placeholder, "end-placeholder": e.value.endPlaceholder ? e.value.endPlaceholder : e.value.placeholder, format: e.value.format, "value-format": e.value.valueFormat, modelValue: p.value, "onUpdate:modelValue": a[19] || (a[19] = (l) => p.value = l), shortcuts: h.value, type: e.value.dateType, onChange: a[20] || (a[20] = (l) => r(n)(l, o.pageContext, o.configure, "change")), onBlur: a[21] || (a[21] = (l) => r(n)(l, o.pageContext, o.configure, "blur")), onFocus: a[22] || (a[22] = (l) => r(n)(l, o.pageContext, o.configure, "focus")), onVisibleChange: a[23] || (a[23] = (l) => r(n)(l, o.pageContext, o.configure, "visible-change")), onPanelChange: a[24] || (a[24] = (l) => r(n)(l, o.pageContext, o.configure, "panel-change")), onClear: a[25] || (a[25] = (l) => r(n)(l, o.pageContext, o.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 2 }, [e.value.tittleShow ? { name: "label", fn: B(() => [O("div", { ref_key: "titleRef", ref: R, style: Y({ ...r(A), ...r(E) }) }, [e.value.prefixType ? (f(), C(le, { key: 0, pageContext: o.pageContext, property: e.value }, null, 8, ["pageContext", "property"])) : (f(), Q(G, { key: 1 }, [H(J(r(te)(e.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
98
|
+
};
|
|
99
|
+
} });
|
|
100
|
+
export {
|
|
101
|
+
he as default
|
|
102
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as O, ref as p, onMounted as A, nextTick as P, computed as U, watch as j, resolveComponent as w, openBlock as h, createBlock as z, normalizeStyle as I, unref as n, normalizeClass as G, createSlots as H, withCtx as R, createVNode as J, createElementVNode as K, createElementBlock as L, Fragment as Q, createTextVNode as X, toDisplayString as Y } from "vue";
|
|
2
|
+
import { getFormModelFields as Z } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { handleAfterInitEvent as ee, handleFormEvent as c } from "../../../../utils/events/event-util.mjs";
|
|
4
|
+
import te from "../common/title-suffix-element.vue.mjs";
|
|
5
|
+
import { $t as ae } from "../../../../utils/i18n-util.mjs";
|
|
6
|
+
import { setVariableValue as le, getVariableValue as T, getFormPropName as oe, getValueFromVariable as ne } from "../../../../utils/page-helper-util.mjs";
|
|
7
|
+
import { addRequiredClassUtil as re } from "../../../../utils/common-util.mjs";
|
|
8
|
+
const fe = O({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(x, { expose: _ }) {
|
|
9
|
+
const e = x, m = p(null), f = p([]), r = e.pageContext.entity ? e.pageContext.entity : {};
|
|
10
|
+
r.data || (r.data = {});
|
|
11
|
+
const g = r.data, q = r.page;
|
|
12
|
+
let i = Z(e.pageContext, e.configure);
|
|
13
|
+
const S = i.length > 0 ? i[i.length - 1] : e.configure.uuid, l = e.configure.runtime ? e.configure.runtime : {}, t = p(l.props ? l.props : {}), E = l.style, M = l.class, N = l.headerStyle, W = l.titleExceedStyle;
|
|
14
|
+
l.props.deptScope && (l.props.deptScope == "field" && l.props.deptScopeField ? (V(), function(a, s) {
|
|
15
|
+
if (a.indexOf("${fixed.") === 0) return;
|
|
16
|
+
const u = a.match(/\${(.*?)}/);
|
|
17
|
+
if (!u) return;
|
|
18
|
+
const d = u ? u[1].split(".") : [];
|
|
19
|
+
d && d.length > 0 && j(() => d.reduce((y, C) => y[C], e.pageContext.entity), (y, C) => {
|
|
20
|
+
s(y, C);
|
|
21
|
+
});
|
|
22
|
+
}(l.props.deptScopeField, (a, s) => {
|
|
23
|
+
V();
|
|
24
|
+
})) : l.props.deptScope == "depts" && l.props.deptScopeCodes && (f.value = l.props.deptScopeCodes.split(",")));
|
|
25
|
+
const F = p(null), b = p(null), k = p(null);
|
|
26
|
+
A(() => {
|
|
27
|
+
P(() => {
|
|
28
|
+
const a = g ? g[S] : null;
|
|
29
|
+
ee(a, e.pageContext, e.configure, { formItemRef: F.value, componentRef: b.value, titleRef: k.value, value: a, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
const B = U({ get: () => T(r, i), set(a) {
|
|
33
|
+
le(r, i, a), a != null && (m.value = "");
|
|
34
|
+
} }), o = t.value.autoSetFields ? t.value.autoSetFields : [];
|
|
35
|
+
let v = null;
|
|
36
|
+
function $(a, s) {
|
|
37
|
+
v ? v === a && (i.length > 0 ? c(T(r, i), e.pageContext, e.configure, "change") : c(s, e.pageContext, e.configure, "change")) : a === S && c(s, e.pageContext, e.configure, "change");
|
|
38
|
+
}
|
|
39
|
+
function D() {
|
|
40
|
+
c(null, e.pageContext, e.configure, "click");
|
|
41
|
+
}
|
|
42
|
+
function V() {
|
|
43
|
+
const a = ne(e.pageContext.entity, l.props.deptScopeField);
|
|
44
|
+
f.value = a ? a.split(",") : [];
|
|
45
|
+
}
|
|
46
|
+
return o.length - 1 > 0 && o[o.length - 1] && o[o.length - 1].model && (v = oe(o[o.length - 1].model)), _({ addRequiredClass: function() {
|
|
47
|
+
m.value = re();
|
|
48
|
+
} }), (a, s) => {
|
|
49
|
+
const u = w("OrganizationInput"), d = w("el-form-item");
|
|
50
|
+
return h(), z(d, { ref_key: "formItemRef", ref: F, required: t.value.required, class: G(n(M) + (m.value ? " " + m.value : "")), "label-width": t.value.labelWidth, style: I(n(E)) }, H({ default: R(() => [J(u, { ref_key: "componentRef", ref: b, disabled: t.value.state == "disabled", multiple: t.value.multiple, treeType: t.value.treeType, value: B.value, models: n(g), departmentInfo: f.value, limitFilterColumn: t.value.limitFilterColumn, pageModels: n(q), fields: n(o), inputShowWay: t.value.inputShowWay, autosize: t.value.autosize, size: t.value.size, displayItem: t.value.displayItem, separator: t.value.separator, onSetValue: $, onShowTree: D }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 2 }, [t.value.tittleShow ? { name: "label", fn: R(() => [K("div", { ref_key: "titleRef", ref: k, style: I({ ...n(N), ...n(W) }), class: "amb-form-item-label" }, [t.value.prefixType ? (h(), z(te, { key: 0, pageContext: x.pageContext, property: t.value }, null, 8, ["pageContext", "property"])) : (h(), L(Q, { key: 1 }, [X(Y(n(ae)(t.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
51
|
+
};
|
|
52
|
+
} });
|
|
53
|
+
export {
|
|
54
|
+
fe as default
|
|
55
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as m, ref as u, computed as v, onMounted as g, nextTick as y, resolveComponent as C, openBlock as x, createBlock as k, unref as p, withCtx as b, createElementVNode as _, normalizeStyle as h, toDisplayString as E } from "vue";
|
|
2
|
+
import { formatVariableValue as S } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
import { handleAfterInitEvent as V, handleFormEvent as B } from "../../../../utils/events/event-util.mjs";
|
|
4
|
+
const w = m({ __name: "divider-runtime", props: { pageContext: {}, configure: {} }, setup(o) {
|
|
5
|
+
const e = o, a = e.configure.runtime ? e.configure.runtime : {}, c = a.headerStyle, n = u(a.props ? a.props : {});
|
|
6
|
+
let r = n.value.value;
|
|
7
|
+
const i = v(() => {
|
|
8
|
+
if (!r) return "";
|
|
9
|
+
const t = S(e.pageContext, r);
|
|
10
|
+
return t == null || t == null ? "" : t;
|
|
11
|
+
}), l = u(null);
|
|
12
|
+
return g(() => {
|
|
13
|
+
y(() => {
|
|
14
|
+
const t = i.value;
|
|
15
|
+
V(t, e.pageContext, e.configure, { componentRef: l.value, value: t, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
16
|
+
});
|
|
17
|
+
}), (t, s) => {
|
|
18
|
+
const d = C("el-divider");
|
|
19
|
+
return x(), k(d, { ref_key: "componentRef", ref: l, direction: n.value.direction, "border-style": n.value.borderType, "content-position": n.value.titlePosition, onClick: s[0] || (s[0] = (f) => p(B)(f, o.pageContext, o.configure, "click")) }, { default: b(() => [_("div", { style: h(p(c)) }, E(i.value), 5)]), _: 1 }, 8, ["direction", "border-style", "content-position"]);
|
|
20
|
+
};
|
|
21
|
+
} });
|
|
22
|
+
export {
|
|
23
|
+
w as default
|
|
24
|
+
};
|
package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { defineComponent as se, ref as u, watch as pe, onMounted as fe, nextTick as L, onUnmounted as de, resolveComponent as ce, openBlock as D, createBlock as T, normalizeStyle as Q, unref as s, normalizeClass as me, createSlots as ve, withCtx as X, createCommentVNode as Y, createElementVNode as ge, toDisplayString as he } from "vue";
|
|
2
|
+
import { getVariableValue as N, setVariableValue as U } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
import { handleAfterInitEvent as ye, fileUploadBeforeUpload as Ce, fileUploadBeforeDelete as we, fileUploadUploaded as xe, fileUploadDeleted as be } from "../../../../utils/events/event-util.mjs";
|
|
4
|
+
import { getRelativeBaseUrl as ke, http as Ie, FsUploadNew as Z } from "agilebuilder-ui";
|
|
5
|
+
import ee from "../../../../utils/eventBus.mjs";
|
|
6
|
+
import { $t as te } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { addRequiredClassUtil as Ne } from "../../../../utils/common-util.mjs";
|
|
8
|
+
import { getDefaultValue as Pe } from "../../../../utils/page-init-util.mjs";
|
|
9
|
+
const Fe = se({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(g, { expose: le }) {
|
|
10
|
+
var E, A, M, G, H, J, K;
|
|
11
|
+
const e = g, b = u(null), f = e.configure.runtime ? e.configure.runtime : {}, l = u(f.props ? f.props : {}), ae = f.style, oe = f.class, ie = f.headerStyle, ne = f.titleExceedStyle, d = e.pageContext.entity ? e.pageContext.entity : {}, c = e.configure.props.base ? e.configure.props.base : {}, i = _(c.prop), P = _(c.propName);
|
|
12
|
+
let k = u({});
|
|
13
|
+
k.value.isShowWatermark = ((A = (E = e.configure.props) == null ? void 0 : E.watermark) == null ? void 0 : A.isShowWatermark) === void 0 ? "true" : ((M = e.configure.props) == null ? void 0 : M.watermark.isShowWatermark) + "", k.value.content = (H = (G = e.configure.props) == null ? void 0 : G.watermark) != null && H.content ? (K = (J = e.configure.props) == null ? void 0 : J.watermark) == null ? void 0 : K.content : "";
|
|
14
|
+
let S = !1;
|
|
15
|
+
i && i.length > 1 && pe(() => e.pageContext.entity[i[0]][i[1]], (t) => {
|
|
16
|
+
S || V(N(d, i));
|
|
17
|
+
});
|
|
18
|
+
const re = e.pageContext.code, h = u(i ? re + "__" + i.join("__") : null), ue = N(d, i), I = u(null), y = u(!1), n = u([]), C = u({});
|
|
19
|
+
function V(t) {
|
|
20
|
+
if (t) {
|
|
21
|
+
const a = t.split(",");
|
|
22
|
+
if (a.length > 0) {
|
|
23
|
+
const o = ke(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
|
|
24
|
+
Ie.post(o, a).then((r) => {
|
|
25
|
+
n.value = [];
|
|
26
|
+
const w = [], m = {};
|
|
27
|
+
r.forEach((p) => {
|
|
28
|
+
m[p.uuid] = p;
|
|
29
|
+
});
|
|
30
|
+
for (let p = 0; p < a.length; p++) {
|
|
31
|
+
const v = a[p];
|
|
32
|
+
w.push(m[v].fileName), n.value.push({ showName: m[v].fileName, serverPath: v, fileSize: m[v].fileSize });
|
|
33
|
+
}
|
|
34
|
+
l.value.displayType === "input" && (C.value.showName = w.join(","), C.value.serverPath = a.join(","));
|
|
35
|
+
}).finally(() => {
|
|
36
|
+
y.value = !0;
|
|
37
|
+
});
|
|
38
|
+
} else y.value = !0;
|
|
39
|
+
} else n.value = [], C.value = {}, y.value = !0;
|
|
40
|
+
}
|
|
41
|
+
function _(t) {
|
|
42
|
+
return t ? (t.startsWith("${") && (t = t.substring(2, t.length - 1)), t.split(".")) : [];
|
|
43
|
+
}
|
|
44
|
+
function z(t) {
|
|
45
|
+
return e.pageContext.fileuploadInfo || (e.pageContext.fileuploadInfo = []), e.pageContext.fileuploadInfo.findIndex((a) => a.uuid === e.configure.uuid) === -1 && e.pageContext.fileuploadInfo.push({ uuid: e.configure.uuid, label: te(l.value.title) }), t.pageContext || (t.pageContext = e.pageContext), t.configure || (t.configureObj = e.configure), Ce(t);
|
|
46
|
+
}
|
|
47
|
+
function R() {
|
|
48
|
+
if (e.pageContext.fileuploadInfo, e.configure.uuid, e.pageContext.fileuploadInfo && e.configure.uuid) {
|
|
49
|
+
const t = e.pageContext.fileuploadInfo.findIndex((a) => a.uuid === e.configure.uuid);
|
|
50
|
+
t !== -1 && e.pageContext.fileuploadInfo.splice(t, 1);
|
|
51
|
+
}
|
|
52
|
+
e.pageContext.fileuploadInfo;
|
|
53
|
+
}
|
|
54
|
+
function F(t) {
|
|
55
|
+
R();
|
|
56
|
+
}
|
|
57
|
+
function O(t) {
|
|
58
|
+
return we(e.pageContext, e.configure, t);
|
|
59
|
+
}
|
|
60
|
+
V(ue);
|
|
61
|
+
const j = (t, a, o) => {
|
|
62
|
+
var r;
|
|
63
|
+
R(), B(), r = { response: t, uploadFile: a, uploadFiles: o }, xe(e.pageContext, e.configure, r);
|
|
64
|
+
}, q = (t) => {
|
|
65
|
+
var a;
|
|
66
|
+
B(), a = { file: t }, be(e.pageContext, e.configure, a);
|
|
67
|
+
}, B = () => {
|
|
68
|
+
const t = [], a = [];
|
|
69
|
+
if (l.value.limit && n.value.length > l.value.limit) {
|
|
70
|
+
const o = n.value.length - l.value.limit;
|
|
71
|
+
for (let r = 0; r < o; r++) n.value.shift();
|
|
72
|
+
}
|
|
73
|
+
for (let o = 0; o < n.value.length; o++) t.push(n.value[o].showName), a.push(n.value[o].serverPath);
|
|
74
|
+
S = !0, U(e.pageContext.entity, i, a.join(",")), U(e.pageContext.entity, P, t.join(",")), L(() => {
|
|
75
|
+
S = !1;
|
|
76
|
+
}), a.length > 0 && (b.value = "");
|
|
77
|
+
}, W = u(null), $ = u(null);
|
|
78
|
+
return fe(() => {
|
|
79
|
+
ee.$on(h.value + "-pickFileDone", (t) => {
|
|
80
|
+
h.value, I.value.pickFileDone(t);
|
|
81
|
+
}), L(() => {
|
|
82
|
+
const t = (r, w, m) => {
|
|
83
|
+
if (!w) return;
|
|
84
|
+
const p = [w, ...m || []];
|
|
85
|
+
for (const v of p) try {
|
|
86
|
+
const x = Pe(e.pageContext, v, "", !1);
|
|
87
|
+
if (x != null && x !== "") {
|
|
88
|
+
U(e.pageContext.entity, r, x);
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
} catch (x) {
|
|
92
|
+
console.error("设置默认值出错:", r, x);
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
d.data.ID == null && d.data.id == null && (t(i, c.propDefaultValue, c.morePropDefaultValue), t(P, c.propNameDefaultValue, c.morePropNameDefaultValue));
|
|
97
|
+
const a = N(d, i), o = { showName: N(d, P), serverPath: a };
|
|
98
|
+
ye(o, e.pageContext, e.configure, { formItemRef: W.value, componentRef: I.value, titleRef: $.value, value: o, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
99
|
+
});
|
|
100
|
+
}), de(() => {
|
|
101
|
+
ee.$off(h.value + "-pickFileDone");
|
|
102
|
+
}), le({ addRequiredClass: function() {
|
|
103
|
+
b.value = Ne();
|
|
104
|
+
} }), (t, a) => {
|
|
105
|
+
const o = ce("el-form-item");
|
|
106
|
+
return l.value.tittleShow ? (D(), T(o, { key: 0, ref_key: "formItemRef", ref: W, required: l.value.required, class: me(s(oe) + (b.value ? " " + b.value : "")), "label-width": l.value.labelWidth, style: Q(s(ae)) }, ve({ default: X(() => [y.value ? (D(), T(s(Z), { key: 0, ref_key: "fileUploadRef", ref: I, style: { width: "100%" }, disabled: l.value.state === "disabled", displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: l.value.placeholder, limit: l.value.limit, "limit-file-size": l.value.limitFileSize, "disabled-no-preview": l.value.disabledNoPreview, "disabled-no-download": l.value.disabledNoDownload, openCameraOrChoosePhoto: l.value.openCameraOrChoosePhoto, "sort-type": l.value.sortType, "file-info": C.value, "file-list": n.value, "system-code": g.pageContext.systemCode, componentId: h.value, watermark: s(k), "on-success": j, "on-remove": q, "before-upload": z, "on-error": F, "before-remove": O, pageContext: g.pageContext, "file-show-type": l.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : Y("", !0)]), _: 2 }, [l.value.tittleShow ? { name: "label", fn: X(() => [ge("div", { ref_key: "titleRef", ref: $, style: Q({ ...s(ie), ...s(ne) }), class: "amb-form-item-label" }, he(s(te)(l.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : y.value ? (D(), T(s(Z), { key: 1, ref_key: "fileUploadRef", ref: I, style: { width: "100%" }, disabled: l.value.state === "disabled", displayType: l.value.displayType, accept: l.value.accept, multiple: l.value.multiple, placeholder: l.value.placeholder, limit: l.value.limit, "limit-file-size": l.value.limitFileSize, "disabled-no-preview": l.value.disabledNoPreview, "disabled-no-download": l.value.disabledNoDownload, openCameraOrChoosePhoto: l.value.openCameraOrChoosePhoto, "sort-type": l.value.sortType, "file-info": C.value, "file-list": n.value, "system-code": g.pageContext.systemCode, componentId: h.value, watermark: s(k), "on-success": j, "on-remove": q, "before-upload": z, "on-error": F, "before-remove": O, pageContext: g.pageContext, "file-show-type": l.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : Y("", !0);
|
|
107
|
+
};
|
|
108
|
+
} });
|
|
109
|
+
export {
|
|
110
|
+
Fe as default
|
|
111
|
+
};
|
package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { defineComponent as ie, ref as n, onMounted as ne, nextTick as ue, onUnmounted as se, resolveComponent as re, openBlock as b, createBlock as k, normalizeStyle as G, unref as u, normalizeClass as pe, createSlots as fe, withCtx as H, createCommentVNode as J, createElementVNode as de, toDisplayString as ce } from "vue";
|
|
2
|
+
import { getVariableValue as I, setVariableValue as K } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
import { handleAfterInitEvent as me, fileUploadBeforeUpload as ve, fileUploadBeforeDelete as ge, fileUploadUploaded as ye, fileUploadDeleted as he } from "../../../../utils/events/event-util.mjs";
|
|
4
|
+
import { FsImageUpload as L, getRelativeBaseUrl as Ce, http as xe } from "agilebuilder-ui";
|
|
5
|
+
import Q from "../../../../utils/eventBus.mjs";
|
|
6
|
+
import { $t as X } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { addRequiredClassUtil as we } from "../../../../utils/common-util.mjs";
|
|
8
|
+
const De = ie({ __name: "imageupload-runtime", props: { pageContext: {}, configure: {} }, setup(p, { expose: Y }) {
|
|
9
|
+
var V, q, B, W, $, E, A;
|
|
10
|
+
const e = p, v = n(null), s = e.configure.runtime ? e.configure.runtime : {}, t = n(s.props ? s.props : {}), Z = s.style, ee = s.class, ae = s.headerStyle, te = s.titleExceedStyle, w = e.pageContext.entity ? e.pageContext.entity : {}, S = e.configure.props.base ? e.configure.props.base : {}, f = T(S.prop), P = T(S.propName);
|
|
11
|
+
let g = n({});
|
|
12
|
+
g.value.isShowWatermark = ((q = (V = e.configure.props) == null ? void 0 : V.watermark) == null ? void 0 : q.isShowWatermark) === void 0 ? "true" : ((B = e.configure.props) == null ? void 0 : B.watermark.isShowWatermark) + "", g.value.content = ($ = (W = e.configure.props) == null ? void 0 : W.watermark) != null && $.content ? (A = (E = e.configure.props) == null ? void 0 : E.watermark) == null ? void 0 : A.content : "";
|
|
13
|
+
const le = e.pageContext.code, d = n(f ? le + "__" + f.join("__") : null), oe = I(w, f), y = n(null), c = n(!1), i = n([]), m = n({});
|
|
14
|
+
function T(a) {
|
|
15
|
+
return a ? (a.startsWith("${") && (a = a.substring(2, a.length - 1)), a.split(".")) : [];
|
|
16
|
+
}
|
|
17
|
+
function U(a) {
|
|
18
|
+
return e.pageContext.fileuploadInfo || (e.pageContext.fileuploadInfo = []), e.pageContext.fileuploadInfo.findIndex((l) => l.uuid === e.configure.uuid) === -1 && e.pageContext.fileuploadInfo.push({ uuid: e.configure.uuid, label: X(t.value.title) }), a.pageContext || (a.pageContext = e.pageContext), a.configure || (a.configureObj = e.configure), ve(a);
|
|
19
|
+
}
|
|
20
|
+
function D() {
|
|
21
|
+
if (e.pageContext.fileuploadInfo, e.configure.uuid, e.pageContext.fileuploadInfo && e.configure.uuid) {
|
|
22
|
+
const a = e.pageContext.fileuploadInfo.findIndex((l) => l.uuid === e.configure.uuid);
|
|
23
|
+
a !== -1 && e.pageContext.fileuploadInfo.splice(a, 1);
|
|
24
|
+
}
|
|
25
|
+
e.pageContext.fileuploadInfo;
|
|
26
|
+
}
|
|
27
|
+
function N(a) {
|
|
28
|
+
D();
|
|
29
|
+
}
|
|
30
|
+
function _(a) {
|
|
31
|
+
return a.pageContext || (a.pageContext = e.pageContext), a.configure || (a.configureObj = e.configure), ge(e.pageContext, e.configure, a);
|
|
32
|
+
}
|
|
33
|
+
(function(a) {
|
|
34
|
+
if (a) {
|
|
35
|
+
const l = a.split(",");
|
|
36
|
+
if (l.length > 0) {
|
|
37
|
+
const o = Ce(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
|
|
38
|
+
xe.post(o, l).then((h) => {
|
|
39
|
+
i.value = [];
|
|
40
|
+
const M = [], C = {};
|
|
41
|
+
h.forEach((r) => {
|
|
42
|
+
C[r.uuid] = r;
|
|
43
|
+
});
|
|
44
|
+
for (let r = 0; r < l.length; r++) {
|
|
45
|
+
const x = l[r];
|
|
46
|
+
M.push(C[x].fileName), i.value.push({ showName: C[x].fileName, serverPath: x, fileSize: C[x].fileSize });
|
|
47
|
+
}
|
|
48
|
+
t.value.displayType === "input" && (m.value.showName = M.join(","), m.value.serverPath = l.join(","));
|
|
49
|
+
}).finally(() => {
|
|
50
|
+
c.value = !0;
|
|
51
|
+
});
|
|
52
|
+
} else c.value = !0;
|
|
53
|
+
} else i.value = [], m.value = {}, c.value = !0;
|
|
54
|
+
})(oe);
|
|
55
|
+
const z = (a, l) => {
|
|
56
|
+
var o;
|
|
57
|
+
D(), O(), o = { response: a, uploadFile: l }, ye(e.pageContext, e.configure, o);
|
|
58
|
+
}, R = (a) => {
|
|
59
|
+
var l;
|
|
60
|
+
O(), l = { file: a }, he(e.pageContext, e.configure, l);
|
|
61
|
+
}, O = () => {
|
|
62
|
+
const a = [], l = [];
|
|
63
|
+
if (t.value.limit && i.value.length > t.value.limit) {
|
|
64
|
+
const o = i.value.length - t.value.limit;
|
|
65
|
+
for (let h = 0; h < o; h++) i.value.shift();
|
|
66
|
+
}
|
|
67
|
+
for (let o = 0; o < i.value.length; o++) a.push(i.value[o].showName), l.push(i.value[o].serverPath);
|
|
68
|
+
K(e.pageContext.entity, f, l.join(",")), K(e.pageContext.entity, P, a.join(",")), l.length > 0 && (v.value = "");
|
|
69
|
+
}, j = n(null), F = n(null);
|
|
70
|
+
return ne(() => {
|
|
71
|
+
Q.$on(d.value + "-pickFileDone", (a) => {
|
|
72
|
+
d.value, y.value.pickFileDone(a);
|
|
73
|
+
}), ue(() => {
|
|
74
|
+
const a = I(w, f), l = { showName: I(w, P), serverPath: a };
|
|
75
|
+
me(l, e.pageContext, e.configure, { formItemRef: j.value, componentRef: y.value, titleRef: F.value, value: l, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
76
|
+
});
|
|
77
|
+
}), se(() => {
|
|
78
|
+
Q.$off(d.value + "-pickFileDone");
|
|
79
|
+
}), Y({ addRequiredClass: function() {
|
|
80
|
+
v.value = we();
|
|
81
|
+
} }), (a, l) => {
|
|
82
|
+
const o = re("el-form-item");
|
|
83
|
+
return t.value.tittleShow ? (b(), k(o, { key: 0, ref_key: "formItemRef", ref: j, required: t.value.required, class: pe(u(ee) + (v.value ? " " + v.value : "")), "label-width": t.value.labelWidth, style: G(u(Z)) }, fe({ default: H(() => [c.value ? (b(), k(u(L), { key: 0, ref_key: "fileUploadRef", ref: y, style: { width: "100%" }, accept: t.value.accept && Object.keys(t.value.accept).length > 0 ? t.value.accept : "image/*", disabled: t.value.state === "disabled", displayType: t.value.displayType, multiple: t.value.multiple, placeholder: t.value.placeholder, limit: t.value.limit, "limit-file-size": t.value.limitFileSize, "max-display-count": t.value.maxDisplayCount, "disabled-no-download": t.value.disabledNoDownload, openCameraOrChoosePhoto: t.value.openCameraOrChoosePhoto, "sort-type": t.value.sortType, "file-info": m.value, "file-list": i.value, "system-code": p.pageContext.systemCode, componentId: d.value, watermark: u(g), "on-success": z, "on-remove": R, "before-upload": U, "before-remove": _, "on-error": N, pageContext: p.pageContext, "file-show-type": t.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : J("", !0)]), _: 2 }, [t.value.tittleShow ? { name: "label", fn: H(() => [de("div", { ref_key: "titleRef", ref: F, style: G({ ...u(ae), ...u(te) }), class: "amb-form-item-label" }, ce(u(X)(t.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : c.value ? (b(), k(u(L), { key: 1, ref_key: "fileUploadRef", ref: y, style: { width: "100%" }, accept: t.value.accept, disabled: t.value.state === "disabled", displayType: t.value.displayType, multiple: t.value.multiple, placeholder: t.value.placeholder, limit: t.value.limit, "limit-file-size": t.value.limitFileSize, "max-display-count": t.value.maxDisplayCount, "disabled-no-download": t.value.disabledNoDownload, openCameraOrChoosePhoto: t.value.openCameraOrChoosePhoto, "sort-type": t.value.sortType, "file-info": m.value, "file-list": i.value, "system-code": p.pageContext.systemCode, componentId: d.value, watermark: u(g), "on-success": z, "on-remove": R, "before-upload": U, "before-remove": _, "on-error": N, pageContext: p.pageContext, "file-show-type": t.value.fileShowType }, null, 8, ["accept", "disabled", "displayType", "multiple", "placeholder", "limit", "limit-file-size", "max-display-count", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : J("", !0);
|
|
84
|
+
};
|
|
85
|
+
} });
|
|
86
|
+
export {
|
|
87
|
+
De as default
|
|
88
|
+
};
|