super-page-runtime 2.3.35 → 2.3.36-cdnTmp1
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/page-expose-util.mjs +184 -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 +5 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +411 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1164 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +308 -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 +56 -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 +377 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +260 -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 +58 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +20 -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-runtime.vue2.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-breadcrumb.vue2.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-group.vue2.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-header.vue2.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-search.vue2.mjs +52 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +408 -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-item.vue2.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-column.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +33 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.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-pageination.vue2.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-runtime.vue2.mjs +252 -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-component.vue2.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-dialog.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +33 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.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-table.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.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-dialog.vue2.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-dialog.vue2.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-runtime.vue2.mjs +29 -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-runtime.vue2.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.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/YxAffix.vue2.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-runtime.vue2.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-runtime.vue2.mjs +20 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +46 -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-runtime.vue2.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +361 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +320 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.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-runtime.vue2.mjs +83 -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-runtime.vue2.mjs +132 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.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-runtime.vue2.mjs +63 -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-element.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +91 -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-runtime.vue2.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-runtime.vue2.mjs +80 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +82 -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-runtime.vue2.mjs +195 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +72 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +141 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.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-box.vue2.mjs +26 -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-dialog.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.mjs +23 -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-runtime.vue2.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart.vue2.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +26 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue3.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page.vue2.mjs +289 -0
- package/dist/es/i18n/langs/{cn.js → cn.mjs} +1 -1
- package/dist/es/i18n/langs/{en.js → en.mjs} +1 -1
- package/dist/es/index.mjs +30 -0
- package/dist/es/style.css +1 -1020
- 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 +5 -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.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 +7 -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 +99 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +24 -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 +174 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +49 -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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-breadcrumb.vue2.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-group.vue2.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-header.vue2.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-search.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-item.vue2.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-column.vue2.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-column.vue2.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-pageination.vue2.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-runtime.vue2.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-component.vue2.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-dialog.vue2.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-notice.vue2.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-message.vue2.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-dialog.vue2.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-table.vue2.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-dialog.vue2.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-dialog.vue2.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-dialog.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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/FixedBox.vue2.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/YxAffix.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-render.vue2.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-runtime.vue2.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-element.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-render.vue2.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-render.vue2.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-bottom.vue2.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 +14 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.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-dialog.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-runtime.vue2.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-chart.vue2.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-dialog.vue3.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 +135 -0
- package/dist/lib/components/runtime/views/super-page.vue2.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 +77 -75
- 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 -4
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -190
- 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 -5
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -427
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1221
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -326
- 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 -387
- package/dist/es/components/runtime/utils/page-init-util.js +0 -280
- 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/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 -419
- 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 -259
- 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 -29
- 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 -4
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -18
- 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 -20
- 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 -382
- 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 -327
- 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 -85
- 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 -64
- 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 -94
- 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 -82
- 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 -82
- 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 -199
- 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 -4
- 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 -153
- 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 -6
- 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 -26
- 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 -24
- 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 -296
- package/dist/es/index.js +0 -30
- /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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as g, computed as k, resolveComponent as y, createElementBlock as v, openBlock as u, Fragment as C, createBlock as c, createCommentVNode as x, unref as m, isRef as d } from "vue";
|
|
2
|
+
import { formatVariableValue as A, setVariableValue as i, getVariableValue as V } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
const P = g({ __name: "title-suffix-element", props: { pageContext: {}, property: {} }, setup(b) {
|
|
4
|
+
const r = b, o = r.pageContext.entity;
|
|
5
|
+
let t = [];
|
|
6
|
+
if (r.property.prefixPro && r.property.prefixPro.startsWith("${")) {
|
|
7
|
+
let e = r.property.prefixPro;
|
|
8
|
+
e = e.substring(2, e.length - 1), t = e.split(".");
|
|
9
|
+
} else t = [];
|
|
10
|
+
if (t.length > 0 && r.property.prefixDefault) {
|
|
11
|
+
const e = r.property.prefixDefault;
|
|
12
|
+
let l = A(r.pageContext, e);
|
|
13
|
+
l != null && l != null && (r.property.prefixType === "checkbox" && (l = (l + "").split(",")), i(o, t, l));
|
|
14
|
+
}
|
|
15
|
+
const f = 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 e = V(o, t);
|
|
21
|
+
return f === "checkbox" ? e != null && (Array.isArray(e) ? e.includes(a) : e === a) : e;
|
|
22
|
+
}, set(e) {
|
|
23
|
+
if (f === "checkbox") {
|
|
24
|
+
let l = V(o, t);
|
|
25
|
+
l || (l = []), Array.isArray(l) || (l = [l]);
|
|
26
|
+
const n = l.indexOf(a);
|
|
27
|
+
e ? n == -1 && l.push(a) : n > -1 && l.splice(n, 1), i(o, t, l);
|
|
28
|
+
} else i(o, t, e);
|
|
29
|
+
} })), (e, l) => {
|
|
30
|
+
const n = y("el-radio"), h = y("el-checkbox");
|
|
31
|
+
return u(), v(C, null, [e.property.prefixType === "radio" ? (u(), c(n, { key: 0, value: e.property.prefixValue, label: e.property.title, modelValue: m(p), "onUpdate:modelValue": l[0] || (l[0] = (s) => d(p) ? p.value = s : p = s) }, null, 8, ["value", "label", "modelValue"])) : x("", !0), e.property.prefixType === "checkbox" ? (u(), c(h, { key: 1, label: e.property.title, value: e.property.prefixValue, modelValue: m(p), "onUpdate:modelValue": l[1] || (l[1] = (s) => d(p) ? p.value = s : p = s) }, null, 8, ["label", "value", "modelValue"])) : x("", !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 m, onMounted as H, nextTick as M, onUnmounted as N, resolveComponent as W, createBlock as C, createElementBlock as x, createCommentVNode as y, openBlock as d, normalizeStyle as w, normalizeClass as L, unref as a, withCtx as S, resolveDynamicComponent as U, toDisplayString as T } from "vue";
|
|
2
|
+
import { getFormModelFields as J } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { setVariableValue as j, getVariableValue as K, formatVariableValue as Q, getFormPropName as q, setVariableValueWithProp as X } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as Y, handleEvent as b } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { updateFormItemEditState as Z } from "../../../../utils/events/validator-util.mjs";
|
|
6
|
+
import { getListCode as ee } from "../../../../utils/common-util.mjs";
|
|
7
|
+
import { getComponentRef as te } from "../../../../utils/global-refs.mjs";
|
|
8
|
+
import { getAdditionalParamMap as oe } from "../../../../utils/events/standard-event.mjs";
|
|
9
|
+
import { $t as ae } from "../../../../utils/i18n-util.mjs";
|
|
10
|
+
import v from "../../../../utils/eventBus.mjs";
|
|
11
|
+
import { functions as ne } from "../../../../utils/api/page-expose-util.mjs";
|
|
12
|
+
const ie = { key: 0, style: { width: "100%", height: "100%" } }, re = { key: 1, style: { width: "100%", height: "100%" }, class: "amb-widget-richtext-single" }, xe = B({ __name: "custom-runtime", props: { pageContext: {}, configure: {} }, setup(P, { expose: $ }) {
|
|
13
|
+
const t = P, f = t.pageContext.entity ? t.pageContext.entity : {}, r = J(t.pageContext, t.configure), u = G({ get: () => K(f, r), set(e) {
|
|
14
|
+
j(f, r, e);
|
|
15
|
+
} }), s = t.configure.runtime ? t.configure.runtime : {}, z = s.style, I = s.class, O = s.headerStyle, l = m(s.props ? s.props : {}), h = function(e) {
|
|
16
|
+
let o = {};
|
|
17
|
+
if (e) for (let c in e) {
|
|
18
|
+
const i = e[c];
|
|
19
|
+
o[c] = Q(t.pageContext, i);
|
|
20
|
+
}
|
|
21
|
+
return o;
|
|
22
|
+
}(s.customParams ? s.customParams : {}), V = oe(t.pageContext), g = m(t.configure.props && t.configure.props.base ? t.configure.props.base.name : null);
|
|
23
|
+
function k(e, o) {
|
|
24
|
+
X(f, e, o);
|
|
25
|
+
}
|
|
26
|
+
function R(e) {
|
|
27
|
+
ne.isHasFieldAuthPermission(t.configure) ? Z(t.pageContext, e) : console.error("没有该字段的权限,dynamicFields=", r ? r.join(".") : "");
|
|
28
|
+
}
|
|
29
|
+
function E() {
|
|
30
|
+
const e = t.pageContext.tableUuids;
|
|
31
|
+
e && e.forEach((o) => {
|
|
32
|
+
const c = ee(t.pageContext.code, t.pageContext.version, t.configure.uuid), i = te(t.pageContext, o);
|
|
33
|
+
i && i.restoreGridEdit(c);
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
t.configure.props.verification.custom && t.configure.props.verification.custom.enabled && (t.pageContext.customValidatorUuids || (t.pageContext.customValidatorUuids = []), t.pageContext.customValidatorUuids.push(t.configure.uuid));
|
|
37
|
+
const A = t.pageContext.code, p = m(r && r.length > 0 ? A + "__" + r.join("__") : null), n = m(null), D = m(null), F = m(null);
|
|
38
|
+
function _(e) {
|
|
39
|
+
b(u.value, t.pageContext, t.configure, e);
|
|
40
|
+
}
|
|
41
|
+
return H(() => {
|
|
42
|
+
v.$on(p.value + "-scanDone", (e) => {
|
|
43
|
+
const o = e.result;
|
|
44
|
+
j(f, r, o);
|
|
45
|
+
}), v.$on(p.value + "-pickFileDone", (e) => {
|
|
46
|
+
p.value, n.value.pickFileDone(e);
|
|
47
|
+
}), M(() => {
|
|
48
|
+
const e = u.value;
|
|
49
|
+
Y(e, t.pageContext, t.configure, { formItemRef: D.value, componentRef: n.value, titleRef: F.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
50
|
+
});
|
|
51
|
+
}), N(() => {
|
|
52
|
+
v.$off(p.value + "-scanDone"), v.$off(p.value + "-pickFileDone");
|
|
53
|
+
}), $({ getCustomRef: function() {
|
|
54
|
+
return n.value;
|
|
55
|
+
}, invokeCustomFunction: function(e, ...o) {
|
|
56
|
+
if (n.value && typeof n.value[e] == "function") return n.value[e](...o);
|
|
57
|
+
throw new Error(`执行失败:Function '${e}' not found in custom component`);
|
|
58
|
+
}, hasCustomFunction: function(e) {
|
|
59
|
+
return n.value && typeof n.value[e] == "function";
|
|
60
|
+
}, addRequiredClass: function() {
|
|
61
|
+
requiredClass.value = addRequiredClassUtil();
|
|
62
|
+
} }), (e, o) => {
|
|
63
|
+
const c = W("el-form-item");
|
|
64
|
+
return l.value.tittleShow ? (d(), C(c, { key: 0, ref_key: "formItemRef", ref: D, required: l.value.required, class: L(a(I)), "label-width": l.value.labelWidth, style: w(a(z)) }, { label: S(() => [l.value.tittleShow ? (d(), x("div", { key: 0, ref_key: "titleRef", ref: F, style: w({ ...a(O) }) }, T(a(ae)(l.value.title)), 5)) : y("", !0)]), default: S(() => [g.value ? (d(), x("div", ie, [(d(), C(U(g.value), { ref_key: "customRef", ref: n, size: l.value.size, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page, pageContext: e.pageContext, configureObj: e.configure, prop: a(q)(e.configure.props && e.configure.props.base ? e.configure.props.base.prop : null), "custom-params": a(h), modelValue: u.value, "onUpdate:modelValue": o[0] || (o[0] = (i) => u.value = i), disabled: l.value.state === "disabled", "additional-param-map": a(V), "component-id": p.value, onSetEntityValue: k, onSetCustomRules: R, onRestoreGridEdit: E, onHandleEvent: _, onChange: o[1] || (o[1] = (i) => a(b)(u.value, e.pageContext, e.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : y("", !0)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : g.value ? (d(), x("div", re, [(d(), C(U(g.value), { ref_key: "customRef", ref: n, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page, pageContext: e.pageContext, configureObj: e.configure, prop: a(q)(e.configure.props && e.configure.props.base ? e.configure.props.base.prop : null), "custom-params": a(h), modelValue: u.value, "onUpdate:modelValue": o[2] || (o[2] = (i) => u.value = i), disabled: l.value.state === "disabled", "additional-param-map": a(V), "component-id": p.value, onSetEntityValue: k, onSetCustomRules: R, onRestoreGridEdit: E, onHandleEvent: _, onChange: o[3] || (o[3] = (i) => a(b)(u.value, e.pageContext, e.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : y("", !0);
|
|
65
|
+
};
|
|
66
|
+
} });
|
|
67
|
+
export {
|
|
68
|
+
xe as default
|
|
69
|
+
};
|
package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.mjs
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { defineComponent as I, ref as h, onMounted as N, nextTick as U, computed as W, resolveComponent as T, createBlock as b, openBlock as g, normalizeStyle as S, normalizeClass as j, unref as o, withCtx as Y, createElementBlock as M, createCommentVNode as O, 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 { getValueFromVariable as P, setVariableValue as c, isDateDataType as Q, getModelFieldFromPageContext as X, getVariableValue as F } from "../../../../utils/page-helper-util.mjs";
|
|
5
|
+
import { handleAfterInitEvent as Z, getCustomFunc as ee, handleFormEvent as n } from "../../../../utils/events/event-util.mjs";
|
|
6
|
+
import ae from "../common/title-suffix-element.vue.mjs";
|
|
7
|
+
import _ from "dayjs";
|
|
8
|
+
import { $t as le } from "../../../../utils/i18n-util.mjs";
|
|
9
|
+
import { addRequiredClassUtil as te } from "../../../../utils/common-util.mjs";
|
|
10
|
+
import { DatePickerRange as oe } from "agilebuilder-ui";
|
|
11
|
+
const fe = I({ __name: "datepicker-runtime", props: { pageContext: {}, configure: {} }, setup(w, { expose: B }) {
|
|
12
|
+
var R;
|
|
13
|
+
const s = w, y = h(null), r = s.pageContext.entity ? s.pageContext.entity : {}, f = s.configure.runtime ? s.configure.runtime : {}, q = f.style, A = f.class, $ = f.headerStyle, E = f.titleExceedStyle, a = h(f.props ? f.props : {});
|
|
14
|
+
let i = K(s.pageContext, s.configure, a.value.prop);
|
|
15
|
+
if (s.pageContext.modelFieldsMap && i && i.length > 0 && i[0] === "data") {
|
|
16
|
+
const e = X(i, s.pageContext);
|
|
17
|
+
e && function(l) {
|
|
18
|
+
const u = l.dataType;
|
|
19
|
+
Q(u) && (a.value.dateType === "year" && a.value.valueFormat === "YYYY" || a.value.dateType === "month" && a.value.valueFormat === "YYYY-MM") && (a.value.valueFormat = "x");
|
|
20
|
+
}(e);
|
|
21
|
+
}
|
|
22
|
+
let d = null, V = !1;
|
|
23
|
+
if (a.value.dateType && a.value.dateType.includes("range")) {
|
|
24
|
+
V = !0;
|
|
25
|
+
let e = a.value.prop2;
|
|
26
|
+
e && e.startsWith("${") || (e = "${page." + s.configure.uuid + "-2}");
|
|
27
|
+
const l = P(r, e, null);
|
|
28
|
+
if (e = e.substring(2, e.length - 1), d = e.split("."), !(l || r.data && (r.data.id || r.data.ID)) && a.value.defaultValue2) {
|
|
29
|
+
const u = P(r, a.value.defaultValue2);
|
|
30
|
+
if (u != null && u !== "") c(r, d, u);
|
|
31
|
+
else if (((R = a.value.moreDefaultValue2) == null ? void 0 : R.length) > 0) {
|
|
32
|
+
const v = a.value.moreDefaultValue2;
|
|
33
|
+
for (let x = 0; x < v.length; x++) {
|
|
34
|
+
const t = P(r, v[x]);
|
|
35
|
+
if (t != null && t !== "") {
|
|
36
|
+
c(r, d, t);
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
const z = h(null), k = h(null), D = h(null);
|
|
44
|
+
function C(e, l) {
|
|
45
|
+
if (!e) return e;
|
|
46
|
+
if (l) {
|
|
47
|
+
typeof e != "number" || isNaN(e) || e.toString().length !== 4 || (e = e.toString());
|
|
48
|
+
try {
|
|
49
|
+
const u = _(e);
|
|
50
|
+
let v = null;
|
|
51
|
+
return v = l === "x" ? u.toDate().getTime() : _(e).format(l), v;
|
|
52
|
+
} catch (u) {
|
|
53
|
+
return console.error("日期值格式化错误", u), console.error(`value: ${e} ,valueFormat: ${a.value.valueFormat}`), e;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return e;
|
|
57
|
+
}
|
|
58
|
+
if (N(() => {
|
|
59
|
+
U(() => {
|
|
60
|
+
const e = p.value;
|
|
61
|
+
Z(e, s.pageContext, s.configure, { formItemRef: z.value, componentRef: k.value, titleRef: D.value, value: e, entity: s.pageContext.entity.data, pageData: s.pageContext.entity.page });
|
|
62
|
+
});
|
|
63
|
+
}), i) {
|
|
64
|
+
const e = F(r, i), l = C(e, a.value.valueFormat);
|
|
65
|
+
e !== l && c(r, i, l);
|
|
66
|
+
}
|
|
67
|
+
if (d) {
|
|
68
|
+
const e = F(r, d), l = C(e, a.value.valueFormat);
|
|
69
|
+
e !== l && c(r, d, l);
|
|
70
|
+
}
|
|
71
|
+
const p = W({ get() {
|
|
72
|
+
if (V) {
|
|
73
|
+
const e = [];
|
|
74
|
+
let l = F(r, i);
|
|
75
|
+
e.push(C(l, a.value.valueFormat));
|
|
76
|
+
let u = F(r, d);
|
|
77
|
+
return e.push(C(u, a.value.valueFormat)), e;
|
|
78
|
+
}
|
|
79
|
+
return C(F(r, i), a.value.valueFormat);
|
|
80
|
+
}, set(e) {
|
|
81
|
+
V ? Array.isArray(e) ? (c(r, i, e[0]), c(r, d, e[1]), y.value = "") : e === null && (c(r, i, null), c(r, d, null)) : (c(r, i, e), e != null && (y.value = ""));
|
|
82
|
+
} }), m = h(L(a.value.dateScopeDetails, a.value.sourceType, a.value.dateType));
|
|
83
|
+
if (a.value.shortcutsFunc) {
|
|
84
|
+
const e = ee(s.pageContext, a.value.shortcutsFunc);
|
|
85
|
+
if (e) {
|
|
86
|
+
let l = e.apply(e, [{ pageContext: s.pageContext, configureObj: s.configure }]);
|
|
87
|
+
if (l) {
|
|
88
|
+
Array.isArray(l) || (l = [l]), m.value || (m.value = []);
|
|
89
|
+
for (let u of l) u.text && u.value && m.value.push(u);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return B({ addRequiredClass: function() {
|
|
94
|
+
y.value = te();
|
|
95
|
+
} }), (e, l) => {
|
|
96
|
+
const u = T("el-time-picker"), v = T("el-date-picker"), x = T("el-form-item");
|
|
97
|
+
return g(), b(x, { ref_key: "formItemRef", ref: z, required: a.value.required, class: j(o(A) + (y.value ? " " + y.value : "")), "label-width": a.value.labelWidth, style: S(o(q)) }, { label: Y(() => [a.value.tittleShow ? (g(), M("div", { key: 0, ref_key: "titleRef", ref: D, style: S({ ...o($), ...o(E) }) }, [a.value.prefixType ? (g(), b(ae, { key: 0, pageContext: e.pageContext, property: a.value }, null, 8, ["pageContext", "property"])) : (g(), M(G, { key: 1 }, [H(J(o(le)(a.value.title)), 1)], 64))], 4)) : O("", !0)]), default: Y(() => [a.value.dateType == "time" || a.value.dateType == "timerange" ? (g(), b(u, { key: 0, ref_key: "componentRef", ref: k, "is-range": a.value.dateType == "timerange", style: { width: "100%" }, "range-separator": "-", clearable: a.value.clearable, disabled: a.value.state === "disabled", readonly: a.value.state === "readonly", size: a.value.size, placeholder: a.value.placeholder, "start-placeholder": a.value.placeholder, "end-placeholder": a.value.endPlaceholder ? a.value.endPlaceholder : a.value.placeholder, "unlink-panels": !0, format: a.value.format, "value-format": a.value.valueFormat, modelValue: p.value, "onUpdate:modelValue": l[0] || (l[0] = (t) => p.value = t), shortcuts: m.value, type: a.value.dateType, onChange: l[1] || (l[1] = (t) => o(n)(t, e.pageContext, e.configure, "change")), onBlur: l[2] || (l[2] = (t) => o(n)(t, e.pageContext, e.configure, "blur")), onFocus: l[3] || (l[3] = (t) => o(n)(t, e.pageContext, e.configure, "focus")), onVisibleChange: l[4] || (l[4] = (t) => o(n)(t, e.pageContext, e.configure, "visible-change")), onPanelChange: l[5] || (l[5] = (t) => o(n)(t, e.pageContext, e.configure, "panel-change")), onClear: l[6] || (l[6] = (t) => o(n)(t, e.pageContext, e.configure, "clear")) }, null, 8, ["is-range", "clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"])) : a.value.dateRangePickerMode !== "combined" && ["daterange", "datetimerange", "monthrange", "yearrange"].includes(a.value.dateType) ? (g(), b(o(oe), { key: 1, modelValue: p.value, "onUpdate:modelValue": l[7] || (l[7] = (t) => p.value = t), type: a.value.dateType, disabled: a.value.state === "disabled", readonly: a.value.state === "readonly", clearable: a.value.clearable, format: a.value.format, "value-format": a.value.valueFormat, placeholder: a.value.placeholder, "start-placeholder": a.value.placeholder, "end-placeholder": a.value.endPlaceholder ? a.value.endPlaceholder : a.value.placeholder, size: a.value.size, shortcuts: m.value, onChange: l[8] || (l[8] = (t) => o(n)(t, e.pageContext, e.configure, "change")), onBlur: l[9] || (l[9] = (t) => o(n)(t, e.pageContext, e.configure, "blur")), onFocus: l[10] || (l[10] = (t) => o(n)(t, e.pageContext, e.configure, "focus")), onVisibleChange: l[11] || (l[11] = (t) => o(n)(t, e.pageContext, e.configure, "visible-change")), onPanelChange: l[12] || (l[12] = (t) => o(n)(t, e.pageContext, e.configure, "panel-change")), onClear: l[13] || (l[13] = (t) => o(n)(t, e.pageContext, e.configure, "clear")) }, null, 8, ["modelValue", "type", "disabled", "readonly", "clearable", "format", "value-format", "placeholder", "start-placeholder", "end-placeholder", "size", "shortcuts"])) : (g(), b(v, { key: 2, ref_key: "componentRef", ref: k, clearable: a.value.clearable, style: { width: "100%" }, "unlink-panels": !0, disabled: a.value.state === "disabled", readonly: a.value.state === "readonly", size: a.value.size, placeholder: a.value.placeholder, "start-placeholder": a.value.placeholder, "end-placeholder": a.value.endPlaceholder ? a.value.endPlaceholder : a.value.placeholder, format: a.value.format, "value-format": a.value.valueFormat, modelValue: p.value, "onUpdate:modelValue": l[14] || (l[14] = (t) => p.value = t), shortcuts: m.value, type: a.value.dateType, onChange: l[15] || (l[15] = (t) => o(n)(t, e.pageContext, e.configure, "change")), onBlur: l[16] || (l[16] = (t) => o(n)(t, e.pageContext, e.configure, "blur")), onFocus: l[17] || (l[17] = (t) => o(n)(t, e.pageContext, e.configure, "focus")), onVisibleChange: l[18] || (l[18] = (t) => o(n)(t, e.pageContext, e.configure, "visible-change")), onPanelChange: l[19] || (l[19] = (t) => o(n)(t, e.pageContext, e.configure, "panel-change")), onClear: l[20] || (l[20] = (t) => o(n)(t, e.pageContext, e.configure, "clear")) }, null, 8, ["clearable", "disabled", "readonly", "size", "placeholder", "start-placeholder", "end-placeholder", "format", "value-format", "modelValue", "shortcuts", "type"]))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
98
|
+
};
|
|
99
|
+
} });
|
|
100
|
+
export {
|
|
101
|
+
fe as default
|
|
102
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as A, ref as s, onMounted as P, nextTick as U, computed as j, watch as G, resolveComponent as V, createBlock as w, openBlock as c, normalizeStyle as z, normalizeClass as H, unref as n, withCtx as I, createVNode as J, createElementBlock as R, createCommentVNode as K, Fragment as L, createTextVNode as Q, toDisplayString as X } from "vue";
|
|
2
|
+
import { getFormModelFields as Y } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { handleAfterInitEvent as Z, handleFormEvent as f } from "../../../../utils/events/event-util.mjs";
|
|
4
|
+
import ee from "../common/title-suffix-element.vue.mjs";
|
|
5
|
+
import { $t as te } from "../../../../utils/i18n-util.mjs";
|
|
6
|
+
import { setVariableValue as ae, getVariableValue as T, getFormPropName as le, getValueFromVariable as oe } from "../../../../utils/page-helper-util.mjs";
|
|
7
|
+
import { addRequiredClassUtil as ne } from "../../../../utils/common-util.mjs";
|
|
8
|
+
const ce = A({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(_, { expose: q }) {
|
|
9
|
+
const e = _, m = s(null), g = s([]), r = e.pageContext.entity ? e.pageContext.entity : {};
|
|
10
|
+
r.data || (r.data = {});
|
|
11
|
+
const v = r.data, E = r.page;
|
|
12
|
+
let i = Y(e.pageContext, e.configure);
|
|
13
|
+
const x = i.length > 0 ? i[i.length - 1] : e.configure.uuid, l = e.configure.runtime ? e.configure.runtime : {}, t = s(l.props ? l.props : {}), M = l.style, N = l.class, W = l.headerStyle, B = l.titleExceedStyle;
|
|
14
|
+
l.props.deptScope && (l.props.deptScope == "field" && l.props.deptScopeField ? (b(), function(a, p) {
|
|
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 && G(() => d.reduce((C, h) => C[h], e.pageContext.entity), (C, h) => {
|
|
20
|
+
p(C, h);
|
|
21
|
+
});
|
|
22
|
+
}(l.props.deptScopeField, (a, p) => {
|
|
23
|
+
b();
|
|
24
|
+
})) : l.props.deptScope == "depts" && l.props.deptScopeCodes && (g.value = l.props.deptScopeCodes.split(",")));
|
|
25
|
+
const S = s(null), F = s(null), k = s(null);
|
|
26
|
+
P(() => {
|
|
27
|
+
U(() => {
|
|
28
|
+
const a = v ? v[x] : null;
|
|
29
|
+
Z(a, e.pageContext, e.configure, { formItemRef: S.value, componentRef: F.value, titleRef: k.value, value: a, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
const $ = j({ get: () => T(r, i), set(a) {
|
|
33
|
+
ae(r, i, a), a != null && (m.value = "");
|
|
34
|
+
} }), o = t.value.autoSetFields ? t.value.autoSetFields : [];
|
|
35
|
+
let y = null;
|
|
36
|
+
function D(a, p) {
|
|
37
|
+
y ? y === a && (i.length > 0 ? f(T(r, i), e.pageContext, e.configure, "change") : f(p, e.pageContext, e.configure, "change")) : a === x && f(p, e.pageContext, e.configure, "change");
|
|
38
|
+
}
|
|
39
|
+
function O() {
|
|
40
|
+
f(null, e.pageContext, e.configure, "click");
|
|
41
|
+
}
|
|
42
|
+
function b() {
|
|
43
|
+
const a = oe(e.pageContext.entity, l.props.deptScopeField);
|
|
44
|
+
g.value = a ? a.split(",") : [];
|
|
45
|
+
}
|
|
46
|
+
return o.length - 1 > 0 && o[o.length - 1] && o[o.length - 1].model && (y = le(o[o.length - 1].model)), q({ addRequiredClass: function() {
|
|
47
|
+
m.value = ne();
|
|
48
|
+
} }), (a, p) => {
|
|
49
|
+
const u = V("OrganizationInput"), d = V("el-form-item");
|
|
50
|
+
return c(), w(d, { ref_key: "formItemRef", ref: S, required: t.value.required, class: H(n(N) + (m.value ? " " + m.value : "")), "label-width": t.value.labelWidth, style: z(n(M)) }, { label: I(() => [t.value.tittleShow ? (c(), R("div", { key: 0, ref_key: "titleRef", ref: k, style: z({ ...n(W), ...n(B) }) }, [t.value.prefixType ? (c(), w(ee, { key: 0, pageContext: a.pageContext, property: t.value }, null, 8, ["pageContext", "property"])) : (c(), R(L, { key: 1 }, [Q(X(n(te)(t.value.title)), 1)], 64))], 4)) : K("", !0)]), default: I(() => [J(u, { ref_key: "componentRef", ref: F, disabled: t.value.state == "disabled", multiple: t.value.multiple, treeType: t.value.treeType, value: $.value, models: n(v), departmentInfo: g.value, limitFilterColumn: t.value.limitFilterColumn, pageModels: n(E), fields: n(o), inputShowWay: t.value.inputShowWay, autosize: t.value.autosize, size: t.value.size, displayItem: t.value.displayItem, separator: t.value.separator, onSetValue: D, onShowTree: O }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
51
|
+
};
|
|
52
|
+
} });
|
|
53
|
+
export {
|
|
54
|
+
ce as default
|
|
55
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineComponent as m, ref as s, computed as v, onMounted as g, nextTick as y, resolveComponent as C, createBlock as x, openBlock as k, unref as u, 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(p) {
|
|
5
|
+
const t = p, o = t.configure.runtime ? t.configure.runtime : {}, c = o.headerStyle, n = s(o.props ? o.props : {});
|
|
6
|
+
let a = n.value.value;
|
|
7
|
+
const r = v(() => {
|
|
8
|
+
if (!a) return "";
|
|
9
|
+
const e = S(t.pageContext, a);
|
|
10
|
+
return e == null || e == null ? "" : e;
|
|
11
|
+
}), i = s(null);
|
|
12
|
+
return g(() => {
|
|
13
|
+
y(() => {
|
|
14
|
+
const e = r.value;
|
|
15
|
+
V(e, t.pageContext, t.configure, { componentRef: i.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
16
|
+
});
|
|
17
|
+
}), (e, l) => {
|
|
18
|
+
const d = C("el-divider");
|
|
19
|
+
return k(), x(d, { ref_key: "componentRef", ref: i, direction: n.value.direction, "border-style": n.value.borderType, "content-position": n.value.titlePosition, onClick: l[0] || (l[0] = (f) => u(B)(f, e.pageContext, e.configure, "click")) }, { default: b(() => [_("div", { style: h(u(c)) }, E(r.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-runtime.vue2.mjs
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { defineComponent as ie, ref as s, watch as ne, onMounted as se, nextTick as ue, onUnmounted as re, resolveComponent as pe, createBlock as k, createCommentVNode as I, openBlock as x, normalizeStyle as G, normalizeClass as de, unref as r, withCtx as H, createElementBlock as fe, toDisplayString as ce } from "vue";
|
|
2
|
+
import { getVariableValue as b, setVariableValue as J } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
import { handleAfterInitEvent as me, fileUploadBeforeUpload as ve, fileUploadUploaded as ge, fileUploadBeforeDelete as he, fileUploadDeleted as ye } from "../../../../utils/events/event-util.mjs";
|
|
4
|
+
import { getRelativeBaseUrl as Ce, http as we, FsUploadNew as K } from "agilebuilder-ui";
|
|
5
|
+
import L from "../../../../utils/eventBus.mjs";
|
|
6
|
+
import { $t as Q } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { addRequiredClassUtil as xe } from "../../../../utils/common-util.mjs";
|
|
8
|
+
const Ue = ie({ __name: "fileupload-runtime", props: { pageContext: {}, configure: {} }, setup(X, { expose: Y }) {
|
|
9
|
+
var j, q, V, W, $, E, A;
|
|
10
|
+
const e = X, v = s(null), p = e.configure.runtime ? e.configure.runtime : {}, l = s(p.props ? p.props : {}), Z = p.style, ee = p.class, le = p.headerStyle, ae = p.titleExceedStyle, g = e.pageContext.entity ? e.pageContext.entity : {}, S = e.configure.props.base ? e.configure.props.base : {}, n = T(S.prop), P = T(S.propName);
|
|
11
|
+
let h = s({});
|
|
12
|
+
h.value.isShowWatermark = ((q = (j = e.configure.props) == null ? void 0 : j.watermark) == null ? void 0 : q.isShowWatermark) === void 0 ? "true" : ((V = e.configure.props) == null ? void 0 : V.watermark.isShowWatermark) + "", h.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 : "", n && n.length > 1 && ne(() => e.pageContext.entity[n[0]][n[1]], (a) => {
|
|
13
|
+
N(b(g, n));
|
|
14
|
+
});
|
|
15
|
+
const oe = e.pageContext.code, f = s(n ? oe + "__" + n.join("__") : null), te = b(g, n), y = s(null), c = s(!1), i = s([]), m = s({});
|
|
16
|
+
function N(a) {
|
|
17
|
+
if (a) {
|
|
18
|
+
const o = a.split(",");
|
|
19
|
+
if (o.length > 0) {
|
|
20
|
+
const t = Ce(window.$vueApp.config.globalProperties.baseAPI) + "/component/fs-upload/search-file-metadata";
|
|
21
|
+
we.post(t, o).then((u) => {
|
|
22
|
+
i.value = [];
|
|
23
|
+
const M = [], C = {};
|
|
24
|
+
u.forEach((d) => {
|
|
25
|
+
C[d.uuid] = d;
|
|
26
|
+
});
|
|
27
|
+
for (let d = 0; d < o.length; d++) {
|
|
28
|
+
const w = o[d];
|
|
29
|
+
M.push(C[w].fileName), i.value.push({ showName: C[w].fileName, serverPath: w, fileSize: C[w].fileSize });
|
|
30
|
+
}
|
|
31
|
+
l.value.displayType === "input" && (m.value.showName = M.join(","), m.value.serverPath = o.join(","));
|
|
32
|
+
}).finally(() => {
|
|
33
|
+
c.value = !0;
|
|
34
|
+
});
|
|
35
|
+
} else c.value = !0;
|
|
36
|
+
} else i.value = [], m.value = {}, c.value = !0;
|
|
37
|
+
}
|
|
38
|
+
function T(a) {
|
|
39
|
+
return a ? (a.startsWith("${") && (a = a.substring(2, a.length - 1)), a.split(".")) : [];
|
|
40
|
+
}
|
|
41
|
+
function U(a) {
|
|
42
|
+
return e.pageContext.fileuploadInfo || (e.pageContext.fileuploadInfo = []), e.pageContext.fileuploadInfo.findIndex((o) => o.uuid === e.configure.uuid) === -1 && e.pageContext.fileuploadInfo.push({ uuid: e.configure.uuid, label: Q(l.value.title) }), e.pageContext.fileuploadInfo, ve(a);
|
|
43
|
+
}
|
|
44
|
+
function _() {
|
|
45
|
+
if (e.pageContext.fileuploadInfo, e.configure.uuid, e.pageContext.fileuploadInfo && e.configure.uuid) {
|
|
46
|
+
const a = e.pageContext.fileuploadInfo.findIndex((o) => o.uuid === e.configure.uuid);
|
|
47
|
+
a !== -1 && e.pageContext.fileuploadInfo.splice(a, 1);
|
|
48
|
+
}
|
|
49
|
+
e.pageContext.fileuploadInfo;
|
|
50
|
+
}
|
|
51
|
+
function z(a) {
|
|
52
|
+
_();
|
|
53
|
+
}
|
|
54
|
+
N(te);
|
|
55
|
+
const R = (a, o, t) => {
|
|
56
|
+
var u;
|
|
57
|
+
_(), F(), u = { response: a, uploadFile: o, uploadFiles: t }, ge(e.pageContext, e.configure, u);
|
|
58
|
+
}, D = (a) => {
|
|
59
|
+
const o = (t = { file: a }, he(e.pageContext, e.configure, t));
|
|
60
|
+
var t;
|
|
61
|
+
(o || o === void 0) && (F(), function(u) {
|
|
62
|
+
ye(e.pageContext, e.configure, u);
|
|
63
|
+
}({ file: a }));
|
|
64
|
+
}, F = () => {
|
|
65
|
+
const a = [], o = [];
|
|
66
|
+
if (l.value.limit && i.value.length > l.value.limit) {
|
|
67
|
+
const t = i.value.length - l.value.limit;
|
|
68
|
+
for (let u = 0; u < t; u++) i.value.shift();
|
|
69
|
+
}
|
|
70
|
+
for (let t = 0; t < i.value.length; t++) a.push(i.value[t].showName), o.push(i.value[t].serverPath);
|
|
71
|
+
J(e.pageContext.entity, n, o.join(",")), J(e.pageContext.entity, P, a.join(",")), o.length > 0 && (v.value = "");
|
|
72
|
+
}, B = s(null), O = s(null);
|
|
73
|
+
return se(() => {
|
|
74
|
+
L.$on(f.value + "-pickFileDone", (a) => {
|
|
75
|
+
f.value, y.value.pickFileDone(a);
|
|
76
|
+
}), ue(() => {
|
|
77
|
+
const a = b(g, n), o = { showName: b(g, P), serverPath: a };
|
|
78
|
+
me(o, e.pageContext, e.configure, { formItemRef: B.value, componentRef: y.value, titleRef: O.value, value: o, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
79
|
+
});
|
|
80
|
+
}), re(() => {
|
|
81
|
+
L.$off(f.value + "-pickFileDone");
|
|
82
|
+
}), Y({ addRequiredClass: function() {
|
|
83
|
+
v.value = xe();
|
|
84
|
+
} }), (a, o) => {
|
|
85
|
+
const t = pe("el-form-item");
|
|
86
|
+
return l.value.tittleShow ? (x(), k(t, { key: 0, ref_key: "formItemRef", ref: B, required: l.value.required, class: de(r(ee) + (v.value ? " " + v.value : "")), "label-width": l.value.labelWidth, style: G(r(Z)) }, { label: H(() => [l.value.tittleShow ? (x(), fe("div", { key: 0, ref_key: "titleRef", ref: O, style: G({ ...r(le), ...r(ae) }) }, ce(r(Q)(l.value.title)), 5)) : I("", !0)]), default: H(() => [c.value ? (x(), k(r(K), { key: 0, ref_key: "fileUploadRef", ref: y, 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": m.value, "file-list": i.value, "system-code": a.pageContext.systemCode, componentId: f.value, watermark: r(h), "on-success": R, "on-remove": D, "before-upload": U, "on-error": z, pageContext: a.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"])) : I("", !0)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : c.value ? (x(), k(r(K), { key: 1, ref_key: "fileUploadRef", ref: y, 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": m.value, "file-list": i.value, "system-code": a.pageContext.systemCode, componentId: f.value, watermark: r(h), "on-success": R, "on-remove": D, "before-upload": U, "on-error": z, pageContext: a.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"])) : I("", !0);
|
|
87
|
+
};
|
|
88
|
+
} });
|
|
89
|
+
export {
|
|
90
|
+
Ue as default
|
|
91
|
+
};
|
package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.mjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as F, ref as s, computed as S, onMounted as E, nextTick as I, resolveComponent as y, createBlock as x, openBlock as i, normalizeStyle as C, normalizeClass as T, unref as o, withCtx as h, createVNode as D, createElementBlock as b, createCommentVNode as N, Fragment as U, createTextVNode as A, toDisplayString as M } from "vue";
|
|
2
|
+
import { getFormModelFields as W } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { setVariableValue as j, getVariableValue as G } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as $, handleFormEvent as m } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import H from "../common/title-suffix-element.vue.mjs";
|
|
6
|
+
import { $t as J } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { addRequiredClassUtil as K } from "../../../../utils/common-util.mjs";
|
|
8
|
+
const ee = F({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(k, { expose: V }) {
|
|
9
|
+
const a = k, u = s(null), d = a.pageContext.entity ? a.pageContext.entity : {};
|
|
10
|
+
let c = W(a.pageContext, a.configure);
|
|
11
|
+
const p = S({ get: () => G(d, c), set(t) {
|
|
12
|
+
j(d, c, t), t != null && (u.value = "");
|
|
13
|
+
} }), r = a.configure.runtime ? a.configure.runtime : {}, R = r.style, _ = r.class, q = r.headerStyle, w = r.titleExceedStyle, e = s(r.props ? r.props : {}), f = s(null), g = s(null), v = s(null);
|
|
14
|
+
return E(() => {
|
|
15
|
+
I(() => {
|
|
16
|
+
const t = p.value;
|
|
17
|
+
$(t, a.pageContext, a.configure, { formItemRef: f.value, componentRef: g.value, titleRef: v.value, value: t, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
|
|
18
|
+
});
|
|
19
|
+
}), V({ addRequiredClass: function() {
|
|
20
|
+
u.value = K();
|
|
21
|
+
} }), (t, l) => {
|
|
22
|
+
const z = y("el-input-number"), B = y("el-form-item");
|
|
23
|
+
return i(), x(B, { ref_key: "formItemRef", ref: f, required: e.value.required, class: T(o(_) + (u.value ? " " + u.value : "")), "label-width": e.value.labelWidth, style: C(o(R)) }, { label: h(() => [e.value.tittleShow ? (i(), b("div", { key: 0, ref_key: "titleRef", ref: v, style: C({ ...o(q), ...o(w) }) }, [e.value.prefixType ? (i(), x(H, { key: 0, pageContext: t.pageContext, property: e.value }, null, 8, ["pageContext", "property"])) : (i(), b(U, { key: 1 }, [A(M(o(J)(e.value.title)), 1)], 64))], 4)) : N("", !0)]), default: h(() => [D(z, { ref_key: "componentRef", ref: g, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", controls: e.value.showButton, size: e.value.size, placeholder: e.value.placeholder, modelValue: p.value, "onUpdate:modelValue": l[0] || (l[0] = (n) => p.value = n), precision: e.value.precision, step: e.value.step, min: e.value.min, max: e.value.max, onChange: l[1] || (l[1] = (n) => o(m)(n, t.pageContext, t.configure, "change")), onBlur: l[2] || (l[2] = (n) => o(m)(n, t.pageContext, t.configure, "blur")), onFocus: l[3] || (l[3] = (n) => o(m)(n, t.pageContext, t.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
26
|
+
export {
|
|
27
|
+
ee as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { defineComponent as ue, ref as u, computed as re, onMounted as se, nextTick as ie, onUnmounted as ce, watch as pe, resolveComponent as F, createBlock as c, openBlock as s, normalizeStyle as j, normalizeClass as fe, unref as o, withCtx as y, createVNode as ve, createCommentVNode as p, createSlots as de, createTextVNode as g, toDisplayString as x, createElementBlock as H, Fragment as ye } from "vue";
|
|
2
|
+
import { isMobileBrowser as me, SuperIcon as C } from "agilebuilder-ui";
|
|
3
|
+
import { getFormModelFields as ge } from "../../../../utils/page-init-util.mjs";
|
|
4
|
+
import { isNumberDataType as xe, setVariableValue as M, getVariableValue as O, getModelFieldFromPageContext as Ce } from "../../../../utils/page-helper-util.mjs";
|
|
5
|
+
import { handleFormEvent as f, handleAfterInitEvent as ke, doSuffixOrPrefixClickEvent as h } from "../../../../utils/events/event-util.mjs";
|
|
6
|
+
import { formatScanRuleSets as Ve, analysisScanValue as Te, setScanAnalysisValue as we } from "../../../../utils/form/scan-util.mjs";
|
|
7
|
+
import Ie from "../common/title-suffix-element.vue.mjs";
|
|
8
|
+
import W from "../../../../utils/eventBus.mjs";
|
|
9
|
+
import { $t as k } from "../../../../utils/i18n-util.mjs";
|
|
10
|
+
import { addRequiredClassUtil as he } from "../../../../utils/common-util.mjs";
|
|
11
|
+
const ze = ue({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(G, { expose: K }) {
|
|
12
|
+
var L, U, $;
|
|
13
|
+
const l = G, v = l.pageContext.entity ? l.pageContext.entity : {}, P = u("text");
|
|
14
|
+
let r = ge(l.pageContext, l.configure);
|
|
15
|
+
if (l.pageContext.modelFieldsMap) {
|
|
16
|
+
const a = Ce(r, l.pageContext);
|
|
17
|
+
a && (P.value = xe(a.dataType) ? "number" : "text");
|
|
18
|
+
}
|
|
19
|
+
const b = u(me()), Q = l.pageContext.code, m = u(r && r.length > 0 ? Q + "__" + r.join("__") : null), V = u(null), i = re({ get: () => O(v, r), set(a) {
|
|
20
|
+
M(v, r, a), a != null && a !== "" && (V.value = "");
|
|
21
|
+
} }), D = u(null), q = u(null), z = u(null), d = l.configure.runtime ? l.configure.runtime : {}, e = u(d.props ? d.props : {}), B = u(!!((L = e.value.scan) != null && L.enable));
|
|
22
|
+
let T = !1;
|
|
23
|
+
const E = window.localStorage.getItem("auth_source");
|
|
24
|
+
E && E === "dingtalk" && (T = !0);
|
|
25
|
+
let S = "";
|
|
26
|
+
S = navigator.userAgent.indexOf("Html5Plus") > 0 ? "app" : "browser";
|
|
27
|
+
const J = !(!b.value || !S || S !== "app"), _ = u(!!((J || T) && B.value || b.value && B.value && window.location.protocol === "https:"));
|
|
28
|
+
let A = {};
|
|
29
|
+
(U = e.value.scan) != null && U.enable && (($ = e.value.scan.ruleList) == null ? void 0 : $.length) > 0 && (Ve(e.value.scan.ruleList).then((a) => {
|
|
30
|
+
A = a;
|
|
31
|
+
}), pe(() => i.value, (a) => {
|
|
32
|
+
a = a.trim();
|
|
33
|
+
const n = Te(a, A);
|
|
34
|
+
n && we(l.pageContext, n.scanSet, n.params);
|
|
35
|
+
}));
|
|
36
|
+
const X = d.style, Y = d.class, Z = d.headerStyle, ee = d.titleExceedStyle;
|
|
37
|
+
function N(a) {
|
|
38
|
+
return M(v, r, a);
|
|
39
|
+
}
|
|
40
|
+
se(() => {
|
|
41
|
+
W.$on(m.value + "-scanDone", (a) => {
|
|
42
|
+
m.value, JSON.stringify(a), N(a.result), f(a.result, l.pageContext, l.configure, "afterScanDone");
|
|
43
|
+
}), ie(() => {
|
|
44
|
+
var n;
|
|
45
|
+
const a = i.value;
|
|
46
|
+
ke(a, l.pageContext, l.configure, { formItemRef: D.value, componentRef: q.value, titleRef: z.value, value: a, entity: l.pageContext.entity.data, pageData: l.pageContext.entity.page }), _.value && ((n = e.value.scan) != null && n.autoOpen) && R();
|
|
47
|
+
});
|
|
48
|
+
}), ce(() => {
|
|
49
|
+
W.$off(m.value + "-scanDone");
|
|
50
|
+
});
|
|
51
|
+
const w = u(!1);
|
|
52
|
+
function R() {
|
|
53
|
+
if (J || T) {
|
|
54
|
+
const a = { type: "scan", componentId: m.value, systemCode: l.pageContext.systemCode };
|
|
55
|
+
T && (a.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(a), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(a), "*"));
|
|
56
|
+
} else if (b.value) if (window.location.protocol === "https:") w.value = !0;
|
|
57
|
+
else {
|
|
58
|
+
const a = { type: "scan", componentId: m.value, systemCode: l.pageContext.systemCode };
|
|
59
|
+
window.parent.postMessage(JSON.stringify(a), "*");
|
|
60
|
+
}
|
|
61
|
+
else w.value = !0;
|
|
62
|
+
}
|
|
63
|
+
function ae(a) {
|
|
64
|
+
w.value = !1, N(a);
|
|
65
|
+
}
|
|
66
|
+
return K({ getValue: function() {
|
|
67
|
+
return O(v, r);
|
|
68
|
+
}, setValue: N, scanClick: R, addRequiredClass: function() {
|
|
69
|
+
V.value = he();
|
|
70
|
+
} }), (a, n) => {
|
|
71
|
+
const ne = F("el-input"), oe = F("scan-code-input-browser"), le = F("el-form-item");
|
|
72
|
+
return s(), c(le, { ref_key: "formItemRef", ref: D, required: !!e.value.required, class: fe(o(Y) + (V.value ? " " + V.value : "")), "label-width": e.value.labelWidth, style: j(o(X)) }, { label: y(() => [e.value.tittleShow ? (s(), H("div", { key: 0, ref_key: "titleRef", ref: z, style: j({ ...o(Z), ...o(ee) }) }, [e.value.prefixType ? (s(), c(Ie, { key: 0, pageContext: a.pageContext, property: e.value }, null, 8, ["pageContext", "property"])) : (s(), H(ye, { key: 1 }, [g(x(o(k)(e.value.title)), 1)], 64))], 4)) : p("", !0)]), default: y(() => [ve(ne, { ref_key: "componentRef", ref: q, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", size: e.value.size, clearable: e.value.clearable, placeholder: e.value.placeholder, maxlength: e.value.maxLength, "show-word-limit": e.value.showInputNum, type: P.value, modelValue: i.value, "onUpdate:modelValue": n[5] || (n[5] = (t) => i.value = t), onInput: n[6] || (n[6] = (t) => o(f)(t, a.pageContext, a.configure, "input")), onChange: n[7] || (n[7] = (t) => o(f)(t, a.pageContext, a.configure, "change")), onBlur: n[8] || (n[8] = (t) => function(te) {
|
|
73
|
+
let I = O(v, r);
|
|
74
|
+
I != null && (I = I.trim()), M(v, r, I), f(te, l.pageContext, l.configure, "blur");
|
|
75
|
+
}(t)), onFocus: n[9] || (n[9] = (t) => o(f)(t, a.pageContext, a.configure, "focus")), onClick: n[10] || (n[10] = (t) => o(f)(t, a.pageContext, a.configure, "click")), onClear: n[11] || (n[11] = (t) => o(f)(t, a.pageContext, a.configure, "clear")) }, de({ _: 2 }, [e.value.iconPosition != "outer" && (e.value.preIconType && e.value.preIconValue || e.value.preText) ? { name: "prefix", fn: y(() => [e.value.preIconType && e.value.preIconValue ? (s(), c(o(C), { key: 0, style: { cursor: "pointer" }, iconType: e.value.preIconType, iconValue: e.value.preIconValue, onClick: n[0] || (n[0] = (t) => o(h)(i.value, a.pageContext, a.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : p("", !0), g(" " + x(o(k)(e.value.preText)), 1)]), key: "0" } : void 0, e.value.iconPosition == "outer" && (e.value.preIconType && e.value.preIconValue || e.value.preText) ? { name: "prepend", fn: y(() => [e.value.preIconType && e.value.preIconValue ? (s(), c(o(C), { key: 0, style: { cursor: "pointer" }, iconType: e.value.preIconType, iconValue: e.value.preIconValue, onClick: n[1] || (n[1] = (t) => o(h)(i.value, a.pageContext, a.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : p("", !0), g(" " + x(o(k)(e.value.preText)), 1)]), key: "1" } : void 0, e.value.iconPosition != "outer" && (e.value.sufIconType && e.value.sufIconValue || e.value.sufText) ? { name: "suffix", fn: y(() => [e.value.sufIconType && e.value.sufIconValue ? (s(), c(o(C), { key: 0, style: { cursor: "pointer" }, iconType: e.value.sufIconType, iconValue: e.value.sufIconValue, onClick: n[2] || (n[2] = (t) => o(h)(i.value, a.pageContext, a.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : p("", !0), g(" " + x(o(k)(e.value.sufText)), 1)]), key: "2" } : void 0, _.value || e.value.iconPosition == "outer" && (e.value.sufIconType && e.value.sufIconValue || e.value.sufText) ? { name: "append", fn: y(() => [_.value ? (s(), c(o(C), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: n[3] || (n[3] = (t) => R()) })) : p("", !0), e.value.sufIconType && e.value.sufIconValue ? (s(), c(o(C), { key: 1, style: { cursor: "pointer" }, iconType: e.value.sufIconType, iconValue: e.value.sufIconValue, onClick: n[4] || (n[4] = (t) => o(h)(i.value, a.pageContext, a.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : p("", !0), g(" " + x(o(k)(e.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), w.value ? (s(), c(oe, { key: 0, onClose: ae })) : p("", !0)]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
|
|
76
|
+
};
|
|
77
|
+
} });
|
|
78
|
+
export {
|
|
79
|
+
ze as default
|
|
80
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as A, ref as p, computed as O, onMounted as D, nextTick as M, resolveComponent as W, createElementBlock as s, createBlock as k, openBlock as o, normalizeStyle as c, normalizeClass as f, unref as l, createElementVNode as v, toDisplayString as i, withCtx as b, createCommentVNode as r, createTextVNode as S } from "vue";
|
|
2
|
+
import { getFormModelFields as G } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { getVariableValue as H, formatValueByType as J } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { SuperIcon as R } from "agilebuilder-ui";
|
|
5
|
+
import { getCustomFunc as K, handleAfterInitEvent as $, handleFormEvent as E } from "../../../../utils/events/event-util.mjs";
|
|
6
|
+
import { $t as C } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
const L = { style: { width: "100%", "text-align": "center", "font-weight": "900", "font-size": "20px" } }, Q = { style: { overflow: "hidden", "white-space": "nowrap" } }, U = ["title"], ae = A({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(F, { expose: B }) {
|
|
8
|
+
const a = F, N = a.pageContext.entity ? a.pageContext.entity : {};
|
|
9
|
+
let P = G(a.pageContext, a.configure);
|
|
10
|
+
const u = a.configure.runtime ? a.configure.runtime : {}, T = u.style, w = u.class, j = u.headerStyle, q = u.appendClass, V = u.appendStyle, z = u.titleExceedStyle, e = p(u.props ? u.props : {}), m = p(e.value.options ? e.value.options : []), d = e.value.formatType;
|
|
11
|
+
e.value;
|
|
12
|
+
const y = O(() => {
|
|
13
|
+
let t = H(N, P);
|
|
14
|
+
if (d) if (e.value.hasOptions) {
|
|
15
|
+
let n = null;
|
|
16
|
+
m.value && (n = m.value.filter((x) => x.value == t)), n && n.length > 0 && (t = n[0].label);
|
|
17
|
+
} else if (d === "custom") {
|
|
18
|
+
const n = K(a.pageContext, e.value.formatFunc);
|
|
19
|
+
n && (t = n.apply(n, [{ pageContext: a.pageContext, configureObj: a.configure, value: t }]));
|
|
20
|
+
} else t = J(t, d, e.value);
|
|
21
|
+
return t = t ?? "", t;
|
|
22
|
+
}), I = p(null), _ = p(null), g = p(null);
|
|
23
|
+
return D(() => {
|
|
24
|
+
M(() => {
|
|
25
|
+
const t = y.value;
|
|
26
|
+
$(t, a.pageContext, a.configure, { formItemRef: I.value, componentRef: _.value, titleRef: g.value, value: t, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
|
|
27
|
+
});
|
|
28
|
+
}), B({ updateOptions: function(t) {
|
|
29
|
+
m.value = t || [];
|
|
30
|
+
} }), (t, n) => {
|
|
31
|
+
const x = W("el-form-item");
|
|
32
|
+
return e.value.whetherTittle ? (o(), s("div", { key: 0, ref_key: "titleRef", ref: g, class: f(l(w)), style: c(l(T)) }, [v("div", L, i(e.value.title), 1)], 6)) : e.value.tittleShow ? (o(), k(x, { key: 1, ref_key: "formItemRef", ref: I, required: !!e.value.required, class: f([l(w), e.value.contentAlign ? "form-item-align-" + e.value.contentAlign : e.value.showType === "formNo" ? "form-item-align-flex-end" : ""]), "label-width": e.value.labelWidth, style: c(l(T)) }, { label: b(() => [e.value.tittleShow ? (o(), s("div", { key: 0, ref_key: "titleRef", ref: g, style: c({ ...l(j), ...l(z) }) }, i(l(C)(e.value.title)), 5)) : r("", !0)]), default: b(() => [v("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: _, onClick: n[0] || (n[0] = (h) => l(E)(h, t.pageContext, t.configure, "click")) }, [v("span", Q, [e.value.preIconValue || e.value.preText ? (o(), s("span", { key: 0, class: f({ "el-input__suffix": e.value.iconPosition != "outer", "el-input-group__append": e.value.iconPosition == "outer" }), style: c(l(V)) }, [e.value.preIconType && e.value.preIconValue ? (o(), k(l(R), { key: 0, iconType: e.value.preIconType, iconValue: e.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : r("", !0), S(" " + i(l(C)(e.value.preText)), 1)], 6)) : r("", !0), S(" " + i(y.value), 1)]), e.value.sufIconValue || e.value.sufText ? (o(), s("span", { key: 0, class: f({ "el-input__suffix": e.value.iconPosition != "outer", "el-input-group__append": e.value.iconPosition == "outer" }) }, [e.value.sufIconType && e.value.sufIconValue ? (o(), k(l(R), { key: 0, style: {}, iconType: e.value.sufIconType, iconValue: e.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : r("", !0), v("span", null, " " + i(l(C)(e.value.sufText)), 1)], 2)) : r("", !0)], 512)]), _: 1 }, 8, ["required", "class", "label-width", "style"])) : (o(), s("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: n[1] || (n[1] = (h) => l(E)(h, t.pageContext, t.configure, "click")) }, [v("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: y.value }, i(e.value.prefixIcon) + " " + i(y.value), 9, U), e.value.suffixTxt ? (o(), s("span", { key: 0, class: f(l(q)), style: c(l(V)) }, i(e.value.suffixTxt), 7)) : r("", !0)]));
|
|
33
|
+
};
|
|
34
|
+
} });
|
|
35
|
+
export {
|
|
36
|
+
ae as default
|
|
37
|
+
};
|