super-page-runtime 2.3.39 → 2.3.40-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/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.mjs +9 -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 +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +413 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +8 -1
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1188 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +403 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
- package/dist/es/components/runtime/utils/global-refs.mjs +57 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +7 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +261 -0
- package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +53 -0
- package/dist/es/components/runtime/utils/store-util.mjs +13 -0
- package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +416 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +15 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime2.vue.mjs +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-component2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +34 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +47 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +361 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +323 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.mjs +132 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +65 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +91 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +79 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime2.vue.mjs +37 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime2.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.mjs +84 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.mjs +8 -0
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.mjs +196 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +162 -0
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.mjs +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.mjs +23 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.mjs +30 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/home-chart.vue.mjs +46 -0
- package/dist/es/components/runtime/views/home-chart2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.mjs +26 -0
- package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page2.vue.mjs +309 -0
- package/dist/es/index.mjs +32 -0
- package/dist/es/style.css +1 -1033
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +1 -0
- package/dist/lib/assets/folder.png.cjs +1 -0
- package/dist/lib/components/runtime/index.d.ts +6 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +8 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +106 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +31 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +181 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +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-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +135 -0
- package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +1 -0
- package/dist/lib/i18n/langs/en.cjs +1 -0
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +1 -0
- package/package.json +13 -11
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/anchor-util.js +0 -84
- package/dist/es/components/runtime/utils/api/api-util.js +0 -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 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -425
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1237
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -420
- 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/common/home-chart-condition-render.vue.js +0 -94
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -421
- 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 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -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 -330
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +0 -88
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -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/image-upload/imageupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue2.js +0 -91
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -81
- 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 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -165
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +0 -20
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +0 -23
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +0 -32
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/home-chart.vue.js +0 -47
- package/dist/es/components/runtime/views/home-chart.vue2.js +0 -4
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -26
- package/dist/es/components/runtime/views/super-page-dialog.vue3.js +0 -5
- package/dist/es/components/runtime/views/super-page.vue.js +0 -7
- package/dist/es/components/runtime/views/super-page.vue2.js +0 -311
- package/dist/es/index.js +0 -32
- /package/dist/es/assets/chart-themes/{bar-theme.js → bar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{gauge-theme.js → gauge-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{pie-theme.js → pie-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{radar-theme.js → radar-theme.mjs} +0 -0
- /package/dist/es/assets/chart-themes/{scatter-theme.js → scatter-theme.mjs} +0 -0
- /package/dist/es/assets/{file.png.js → file.png.mjs} +0 -0
- /package/dist/es/assets/{folder.png.js → folder.png.mjs} +0 -0
- /package/dist/es/components/runtime/utils/{store.js → store.mjs} +0 -0
- /package/dist/es/i18n/langs/{cn.js → cn.mjs} +0 -0
- /package/dist/es/i18n/langs/{en.js → en.mjs} +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent as le, ref as r, computed as ue, onMounted as re, nextTick as se, onUnmounted as ie, watch as ce, resolveComponent as M, openBlock as i, createBlock as p, normalizeStyle as j, unref as n, normalizeClass as pe, createSlots as H, withCtx as m, createVNode as fe, createCommentVNode as y, createTextVNode as x, toDisplayString as C, createElementVNode as ve, createElementBlock as de, Fragment as me } from "vue";
|
|
2
|
+
import { isMobileBrowser as ye, isDingTalkEnv as ge, SuperIcon as V } from "agilebuilder-ui";
|
|
3
|
+
import { getFormModelFields as xe } from "../../../../utils/page-init-util.mjs";
|
|
4
|
+
import { getModelFieldFromPageContext as Ce, isNumberDataType as Ve, setVariableValue as D, getVariableValue as E } from "../../../../utils/page-helper-util.mjs";
|
|
5
|
+
import { handleFormEvent as f, handleAfterInitEvent as ke, doSuffixOrPrefixClickEvent as b } from "../../../../utils/events/event-util.mjs";
|
|
6
|
+
import { formatScanRuleSets as Te, analysisScanValue as Ie, setScanAnalysisValue as we } from "../../../../utils/form/scan-util.mjs";
|
|
7
|
+
import he 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 be } from "../../../../utils/common-util.mjs";
|
|
11
|
+
const ze = le({ __name: "inputtext-runtime", props: { pageContext: {}, configure: {} }, setup(o, { expose: G }) {
|
|
12
|
+
var L, U, $;
|
|
13
|
+
const l = o, v = l.pageContext.entity ? l.pageContext.entity : {}, O = r("text");
|
|
14
|
+
let s = xe(l.pageContext, l.configure);
|
|
15
|
+
if (l.pageContext.modelFieldsMap) {
|
|
16
|
+
const t = Ce(s, l.pageContext);
|
|
17
|
+
t && (O.value = Ve(t.dataType) ? "number" : "text");
|
|
18
|
+
}
|
|
19
|
+
const S = r(ye()), K = l.pageContext.code, g = r(s && s.length > 0 ? K + "__" + s.join("__") : null), T = r(null), c = ue({ get: () => E(v, s), set(t) {
|
|
20
|
+
D(v, s, t), t != null && t !== "" && (T.value = "");
|
|
21
|
+
} }), P = r(null), q = r(null), z = r(null), d = l.configure.runtime ? l.configure.runtime : {}, e = r(d.props ? d.props : {}), B = r(!!((L = e.value.scan) != null && L.enable));
|
|
22
|
+
let I = !1;
|
|
23
|
+
ge() && (I = !0);
|
|
24
|
+
let _ = "";
|
|
25
|
+
_ = navigator.userAgent.indexOf("Html5Plus") > 0 ? "app" : "browser";
|
|
26
|
+
const J = !(!S.value || !_ || _ !== "app"), N = r(!!((J || I) && B.value || S.value && B.value && window.location.protocol === "https:"));
|
|
27
|
+
let A = {};
|
|
28
|
+
(U = e.value.scan) != null && U.enable && (($ = e.value.scan.ruleList) == null ? void 0 : $.length) > 0 && (Te(e.value.scan.ruleList).then((t) => {
|
|
29
|
+
A = t;
|
|
30
|
+
}), ce(() => c.value, (t) => {
|
|
31
|
+
t = t.trim();
|
|
32
|
+
const a = Ie(t, A);
|
|
33
|
+
a && we(l.pageContext, a.scanSet, a.params);
|
|
34
|
+
}));
|
|
35
|
+
const Q = d.style, X = d.class, Y = d.headerStyle, Z = d.titleExceedStyle;
|
|
36
|
+
function R(t) {
|
|
37
|
+
return D(v, s, t);
|
|
38
|
+
}
|
|
39
|
+
re(() => {
|
|
40
|
+
W.$on(g.value + "-scanDone", (t) => {
|
|
41
|
+
g.value, JSON.stringify(t), R(t.result), f(t.result, l.pageContext, l.configure, "afterScanDone");
|
|
42
|
+
}), se(() => {
|
|
43
|
+
var a;
|
|
44
|
+
const t = c.value;
|
|
45
|
+
ke(t, l.pageContext, l.configure, { formItemRef: P.value, componentRef: q.value, titleRef: z.value, value: t, entity: l.pageContext.entity.data, pageData: l.pageContext.entity.page }), N.value && ((a = e.value.scan) != null && a.autoOpen) && F();
|
|
46
|
+
});
|
|
47
|
+
}), ie(() => {
|
|
48
|
+
W.$off(g.value + "-scanDone");
|
|
49
|
+
});
|
|
50
|
+
const w = r(!1);
|
|
51
|
+
function F() {
|
|
52
|
+
if (J || I) {
|
|
53
|
+
const t = { type: "scan", componentId: g.value, systemCode: l.pageContext.systemCode };
|
|
54
|
+
I && (t.type = "dingTalkScan"), window.parent.parent ? (window.parent.parent, window.parent.parent.postMessage(JSON.stringify(t), "*")) : window.parent && (window.parent, window.parent.postMessage(JSON.stringify(t), "*"));
|
|
55
|
+
} else if (S.value) if (window.location.protocol === "https:") w.value = !0;
|
|
56
|
+
else {
|
|
57
|
+
const t = { type: "scan", componentId: g.value, systemCode: l.pageContext.systemCode };
|
|
58
|
+
window.parent.postMessage(JSON.stringify(t), "*");
|
|
59
|
+
}
|
|
60
|
+
else w.value = !0;
|
|
61
|
+
}
|
|
62
|
+
function ee(t) {
|
|
63
|
+
w.value = !1, R(t);
|
|
64
|
+
}
|
|
65
|
+
return G({ getValue: function() {
|
|
66
|
+
return E(v, s);
|
|
67
|
+
}, setValue: R, scanClick: F, addRequiredClass: function() {
|
|
68
|
+
T.value = be();
|
|
69
|
+
} }), (t, a) => {
|
|
70
|
+
const ae = M("el-input"), te = M("scan-code-input-browser"), ne = M("el-form-item");
|
|
71
|
+
return i(), p(ne, { ref_key: "formItemRef", ref: P, required: !!e.value.required, class: pe(n(X) + (T.value ? " " + T.value : "")), "label-width": e.value.labelWidth, style: j(n(Q)) }, H({ default: m(() => [fe(ae, { 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: O.value, modelValue: c.value, "onUpdate:modelValue": a[5] || (a[5] = (u) => c.value = u), onInput: a[6] || (a[6] = (u) => n(f)(u, o.pageContext, o.configure, "input")), onChange: a[7] || (a[7] = (u) => n(f)(u, o.pageContext, o.configure, "change")), onBlur: a[8] || (a[8] = (u) => function(oe) {
|
|
72
|
+
let h = E(v, s);
|
|
73
|
+
h != null && (h = h.trim()), D(v, s, h), f(oe, l.pageContext, l.configure, "blur");
|
|
74
|
+
}(u)), onFocus: a[9] || (a[9] = (u) => n(f)(u, o.pageContext, o.configure, "focus")), onClick: a[10] || (a[10] = (u) => n(f)(u, o.pageContext, o.configure, "click")), onClear: a[11] || (a[11] = (u) => n(f)(u, o.pageContext, o.configure, "clear")) }, H({ _: 2 }, [e.value.iconPosition != "outer" && (e.value.preIconType && e.value.preIconValue || e.value.preText) ? { name: "prefix", fn: m(() => [e.value.preIconType && e.value.preIconValue ? (i(), p(n(V), { key: 0, style: { cursor: "pointer" }, iconType: e.value.preIconType, iconValue: e.value.preIconValue, onClick: a[0] || (a[0] = (u) => n(b)(c.value, o.pageContext, o.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", !0), x(" " + C(n(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: m(() => [e.value.preIconType && e.value.preIconValue ? (i(), p(n(V), { key: 0, style: { cursor: "pointer" }, iconType: e.value.preIconType, iconValue: e.value.preIconValue, onClick: a[1] || (a[1] = (u) => n(b)(c.value, o.pageContext, o.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", !0), x(" " + C(n(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: m(() => [e.value.sufIconType && e.value.sufIconValue ? (i(), p(n(V), { key: 0, style: { cursor: "pointer" }, iconType: e.value.sufIconType, iconValue: e.value.sufIconValue, onClick: a[2] || (a[2] = (u) => n(b)(c.value, o.pageContext, o.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", !0), x(" " + C(n(k)(e.value.sufText)), 1)]), key: "2" } : void 0, N.value || e.value.iconPosition == "outer" && (e.value.sufIconType && e.value.sufIconValue || e.value.sufText) ? { name: "append", fn: m(() => [N.value ? (i(), p(n(V), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: a[3] || (a[3] = (u) => F()) })) : y("", !0), e.value.sufIconType && e.value.sufIconValue ? (i(), p(n(V), { key: 1, style: { cursor: "pointer" }, iconType: e.value.sufIconType, iconValue: e.value.sufIconValue, onClick: a[4] || (a[4] = (u) => n(b)(c.value, o.pageContext, o.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : y("", !0), x(" " + C(n(k)(e.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), w.value ? (i(), p(te, { key: 0, onClose: ee })) : y("", !0)]), _: 2 }, [e.value.tittleShow ? { name: "label", fn: m(() => [ve("div", { ref_key: "titleRef", ref: z, class: "amb-form-item-label", style: j({ ...n(Y), ...n(Z) }) }, [e.value.prefixType ? (i(), p(he, { key: 0, pageContext: o.pageContext, property: e.value }, null, 8, ["pageContext", "property"])) : (i(), de(me, { key: 1 }, [x(C(n(k)(e.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
75
|
+
};
|
|
76
|
+
} });
|
|
77
|
+
export {
|
|
78
|
+
ze as default
|
|
79
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as A, ref as p, computed as O, onMounted as D, nextTick as M, resolveComponent as W, openBlock as u, createElementBlock as c, normalizeStyle as f, unref as l, normalizeClass as v, createElementVNode as s, toDisplayString as i, createBlock as C, createSlots as G, withCtx as S, createCommentVNode as y, createTextVNode as R } from "vue";
|
|
2
|
+
import { getFormModelFields as H } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { getVariableValue as J, formatValueByType as K } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { SuperIcon as E } from "agilebuilder-ui";
|
|
5
|
+
import { getCustomFunc as L, handleAfterInitEvent as $, handleFormEvent as F } from "../../../../utils/events/event-util.mjs";
|
|
6
|
+
import { $t as T } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
const Q = { style: { width: "100%", "text-align": "center", "font-weight": "900", "font-size": "20px" } }, U = { style: { overflow: "hidden", "white-space": "nowrap" } }, X = ["title"], ne = A({ __name: "label-runtime", props: { pageContext: {}, configure: {} }, setup(r, { expose: B }) {
|
|
8
|
+
const a = r, N = a.pageContext.entity ? a.pageContext.entity : {};
|
|
9
|
+
let P = H(a.pageContext, a.configure);
|
|
10
|
+
const o = a.configure.runtime ? a.configure.runtime : {}, w = o.style, V = o.class, j = o.headerStyle, q = o.appendClass, I = o.appendStyle, z = o.titleExceedStyle, e = p(o.props ? o.props : {}), d = p(e.value.options ? e.value.options : []), g = e.value.formatType;
|
|
11
|
+
e.value;
|
|
12
|
+
const m = O(() => {
|
|
13
|
+
let t = J(N, P);
|
|
14
|
+
if (g) if (e.value.hasOptions) {
|
|
15
|
+
let n = null;
|
|
16
|
+
d.value && (n = d.value.filter((h) => h.value == t)), n && n.length > 0 && (t = n[0].label);
|
|
17
|
+
} else if (g === "custom") {
|
|
18
|
+
const n = L(a.pageContext, e.value.formatFunc);
|
|
19
|
+
n && (t = n.apply(n, [{ pageContext: a.pageContext, configureObj: a.configure, value: t }]));
|
|
20
|
+
} else t = K(t, g, e.value);
|
|
21
|
+
return t = t ?? "", t;
|
|
22
|
+
}), _ = p(null), b = p(null), x = p(null);
|
|
23
|
+
return D(() => {
|
|
24
|
+
M(() => {
|
|
25
|
+
const t = m.value;
|
|
26
|
+
$(t, a.pageContext, a.configure, { formItemRef: _.value, componentRef: b.value, titleRef: x.value, value: t, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
|
|
27
|
+
});
|
|
28
|
+
}), B({ updateOptions: function(t) {
|
|
29
|
+
d.value = t || [];
|
|
30
|
+
} }), (t, n) => {
|
|
31
|
+
const h = W("el-form-item");
|
|
32
|
+
return e.value.whetherTittle ? (u(), c("div", { key: 0, ref_key: "titleRef", ref: x, class: v(l(V)), style: f(l(w)) }, [s("div", Q, i(e.value.title), 1)], 6)) : e.value.tittleShow ? (u(), C(h, { key: 1, ref_key: "formItemRef", ref: _, required: !!e.value.required, class: v([l(V), e.value.contentAlign ? "form-item-align-" + e.value.contentAlign : e.value.showType === "formNo" ? "form-item-align-flex-end" : ""]), "label-width": e.value.labelWidth, style: f(l(w)) }, G({ default: S(() => [s("div", { style: { display: "flex", width: "100%", "justify-content": "space-between" }, ref_key: "componentRef", ref: b, onClick: n[0] || (n[0] = (k) => l(F)(k, r.pageContext, r.configure, "click")) }, [s("span", U, [e.value.preIconValue || e.value.preText ? (u(), c("span", { key: 0, class: v({ "el-input__suffix": e.value.iconPosition != "outer", "el-input-group__append": e.value.iconPosition == "outer" }), style: f(l(I)) }, [e.value.preIconType && e.value.preIconValue ? (u(), C(l(E), { key: 0, iconType: e.value.preIconType, iconValue: e.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : y("", !0), R(" " + i(l(T)(e.value.preText)), 1)], 6)) : y("", !0), R(" " + i(m.value), 1)]), e.value.sufIconValue || e.value.sufText ? (u(), c("span", { key: 0, class: v({ "el-input__suffix": e.value.iconPosition != "outer", "el-input-group__append": e.value.iconPosition == "outer" }) }, [e.value.sufIconType && e.value.sufIconValue ? (u(), C(l(E), { key: 0, style: {}, iconType: e.value.sufIconType, iconValue: e.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : y("", !0), s("span", null, " " + i(l(T)(e.value.sufText)), 1)], 2)) : y("", !0)], 512)]), _: 2 }, [e.value.tittleShow ? { name: "label", fn: S(() => [s("div", { ref_key: "titleRef", ref: x, style: f({ ...l(j), ...l(z) }) }, i(l(T)(e.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : (u(), c("span", { key: 2, style: { display: "flex", "justify-content": "space-between" }, onClick: n[1] || (n[1] = (k) => l(F)(k, r.pageContext, r.configure, "click")) }, [s("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: m.value }, i(e.value.prefixIcon) + " " + i(m.value), 9, X), e.value.suffixTxt ? (u(), c("span", { key: 0, class: v(l(q)), style: f(l(I)) }, i(e.value.suffixTxt), 7)) : y("", !0)]));
|
|
33
|
+
};
|
|
34
|
+
} });
|
|
35
|
+
export {
|
|
36
|
+
ne as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as D, ref as s, computed as V, onMounted as P, nextTick as j, resolveComponent as d, openBlock as h, createBlock as T, normalizeStyle as _, unref as n, normalizeClass as q, createSlots as A, withCtx as c, createVNode as R, createCommentVNode as F, createTextVNode as J, toDisplayString as S, createElementVNode as M } from "vue";
|
|
2
|
+
import { getFormModelFields as W } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { getVariableValue as w } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as G, handleEvent as H } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { $t as K } from "../../../../utils/i18n-util.mjs";
|
|
6
|
+
import { analysisValue as L, SuperIcon as O } from "agilebuilder-ui";
|
|
7
|
+
const te = D({ __name: "link-runtime", props: { pageContext: {}, configure: {} }, setup(p) {
|
|
8
|
+
var b;
|
|
9
|
+
const t = p, m = W(t.pageContext, t.configure), o = t.configure.runtime ? t.configure.runtime : {}, I = o.style, E = o.class, N = o.headerStyle, a = s(o.props ? o.props : {});
|
|
10
|
+
a.value;
|
|
11
|
+
const l = s();
|
|
12
|
+
(b = t.configure.props) != null && b.linkPage && (l.value = t.configure.props.linkPage);
|
|
13
|
+
let g = a.value.formatting;
|
|
14
|
+
const i = t.pageContext.entity ? t.pageContext.entity : {}, v = V(() => {
|
|
15
|
+
var r;
|
|
16
|
+
let e = w(i, m);
|
|
17
|
+
if (e = e == null || e == null ? "" : e, g) e = g.replace(/\${value}/g, e);
|
|
18
|
+
else if (l.value && l.value.displayTextJudge && ((r = l.value.dynamicTags) == null ? void 0 : r.length) > 0) {
|
|
19
|
+
const u = L(l.value.dynamicTags.join("-#-#"), i.data, i.request, i.context, t.pageContext);
|
|
20
|
+
if (u) return u;
|
|
21
|
+
}
|
|
22
|
+
return e;
|
|
23
|
+
});
|
|
24
|
+
let y = a.value.tooltip, f = null;
|
|
25
|
+
y && (f = V(() => {
|
|
26
|
+
let e = w(i, m);
|
|
27
|
+
return e = e == null || e == null ? "" : e, y.replace(/\${value}/g, e);
|
|
28
|
+
}));
|
|
29
|
+
const k = s(null), x = s(null), C = s(null);
|
|
30
|
+
return P(() => {
|
|
31
|
+
j(() => {
|
|
32
|
+
const e = v.value;
|
|
33
|
+
G(e, t.pageContext, t.configure, { formItemRef: k.value, componentRef: x.value, titleRef: C.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
34
|
+
});
|
|
35
|
+
}), (e, r) => {
|
|
36
|
+
const u = d("el-link"), $ = d("el-tooltip"), z = d("el-form-item");
|
|
37
|
+
return h(), T(z, { ref_key: "formItemRef", ref: k, class: q(n(E)), "label-width": a.value.labelWidth, style: _(n(I)) }, A({ default: c(() => [R($, { disabled: !n(f), content: n(f) }, { default: c(() => [R(u, { ref_key: "componentRef", ref: x, disabled: a.value.state === "disabled", type: a.value.type, underline: a.value.underline, onClick: r[0] || (r[0] = (B) => n(H)(B, p.pageContext, p.configure, "click", { skipValidate: !0 })) }, { default: c(() => [l.value ? (h(), T(n(O), { key: 0, iconType: l.value.iconType, iconValue: l.value.icon }, null, 8, ["iconType", "iconValue"])) : F("", !0), J(" " + S(v.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 2 }, [a.value.tittleShow ? { name: "label", fn: c(() => [M("div", { ref_key: "titleRef", ref: C, style: _({ ...n(N) }), class: "amb-form-item-label" }, S(n(K)(a.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
|
|
38
|
+
};
|
|
39
|
+
} });
|
|
40
|
+
export {
|
|
41
|
+
te as default
|
|
42
|
+
};
|
package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.mjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineComponent as m, ref as o, onMounted as c, nextTick as u, resolveComponent as p, openBlock as g, createBlock as d, normalizeStyle as y, unref as r, normalizeClass as x, withCtx as C, createElementVNode as h } from "vue";
|
|
2
|
+
import { handleAfterInitEvent as v } from "../../../../utils/events/event-util.mjs";
|
|
3
|
+
const w = m({ __name: "placeholder-runtime", props: { pageContext: {}, configure: {} }, setup(s) {
|
|
4
|
+
const e = s, t = e.configure.runtime ? e.configure.runtime : {}, l = t.style, f = t.class, n = o(null), a = o(null);
|
|
5
|
+
return c(() => {
|
|
6
|
+
u(() => {
|
|
7
|
+
v(null, e.pageContext, e.configure, { formItemRef: n.value, componentRef: a.value, entity: e.pageContext.entity.data, pageData: e.pageContext.entity.page });
|
|
8
|
+
});
|
|
9
|
+
}), (k, _) => {
|
|
10
|
+
const i = p("el-form-item");
|
|
11
|
+
return g(), d(i, { ref_key: "formItemRef", ref: n, class: x(r(f)), style: y(r(l)) }, { default: C(() => [h("div", { ref_key: "componentRef", ref: a, style: { width: "100%", height: "100%" } }, " ", 512)]), _: 1 }, 8, ["class", "style"]);
|
|
12
|
+
};
|
|
13
|
+
} });
|
|
14
|
+
export {
|
|
15
|
+
w as default
|
|
16
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent as j, ref as r, computed as L, watch as G, onUnmounted as H, onMounted as J, nextTick as K, resolveComponent as y, openBlock as x, createBlock as I, normalizeStyle as O, unref as s, normalizeClass as Q, createSlots as X, withCtx as v, createVNode as Y, createElementBlock as Z, Fragment as ee, renderList as te, createTextVNode as ae, toDisplayString as w, createElementVNode as oe } from "vue";
|
|
2
|
+
import { setVariableValue as le, getVariableValue as S, getOptionDatasFromPage as ne, putToOptionSourceMap as ue, autoSetAfterSelect as ie, queryOptionDatasources as re } from "../../../../utils/page-helper-util.mjs";
|
|
3
|
+
import { getFormModelFields as se } from "../../../../utils/page-init-util.mjs";
|
|
4
|
+
import { handleFormEvent as z, handleAfterInitEvent as ce } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { $t as fe } from "../../../../utils/i18n-util.mjs";
|
|
6
|
+
import { addRequiredClassUtil as pe } from "../../../../utils/common-util.mjs";
|
|
7
|
+
const ye = j({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }, setup(h, { expose: D }) {
|
|
8
|
+
const t = h, p = r(null), c = t.pageContext.entity ? t.pageContext.entity : {};
|
|
9
|
+
let C = se(t.pageContext, t.configure);
|
|
10
|
+
const g = L({ get() {
|
|
11
|
+
let e = S(c, C);
|
|
12
|
+
return e != null && (e += ""), e;
|
|
13
|
+
}, set(e) {
|
|
14
|
+
le(c, C, e), e != null && (p.value = "");
|
|
15
|
+
} }), u = t.configure.runtime ? t.configure.runtime : {}, M = u.style, B = u.class, N = u.headerStyle, P = u.titleExceedStyle, o = r(u.props ? u.props : {}), n = r(o.value.options ? o.value.options : []), k = ne(t.pageContext, t.configure);
|
|
16
|
+
k.length > 0 && (n.value = k);
|
|
17
|
+
const b = t.configure.props && t.configure.props.dataOrigin ? t.configure.props.dataOrigin : {}, d = b.optionValueSetType;
|
|
18
|
+
let m = [];
|
|
19
|
+
if (d == "dynamicData" || d == "dataTable" || d == "service") {
|
|
20
|
+
if (b.autoSets) for (let e of b.autoSets) e.source && m.push(e);
|
|
21
|
+
} else d == "static" && ue(t.pageContext, t.configure.uuid, n.value);
|
|
22
|
+
t.configure && t.configure.props && t.configure.props.base && t.configure.props.base.optionProp && m.push({ source: "label", target: t.configure.props.base.optionProp }), o.value.changeMethod = function(e) {
|
|
23
|
+
if (m.length > 0) {
|
|
24
|
+
let a = null;
|
|
25
|
+
n.value && e != null && e != null && (a = n.value.filter((l) => e === l.value)), ie(t.configure, t.pageContext, m, a);
|
|
26
|
+
}
|
|
27
|
+
z(e, t.pageContext, t.configure, "change");
|
|
28
|
+
};
|
|
29
|
+
const V = o.value.monitorFields, T = [];
|
|
30
|
+
if (V) {
|
|
31
|
+
const e = [];
|
|
32
|
+
for (let a of V) if (a.startsWith("${")) {
|
|
33
|
+
a = a.substring(2, a.length - 1);
|
|
34
|
+
const l = a.split(".");
|
|
35
|
+
l[0] !== "page" && l[0] !== "task" && l[0] !== "data" || (T.push(l), e.includes(l[0]) || e.push(l[0]));
|
|
36
|
+
}
|
|
37
|
+
for (let a of e) G(c[a], () => {
|
|
38
|
+
A();
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function _() {
|
|
42
|
+
let e = "";
|
|
43
|
+
for (let a of T) e += "_" + S(c, a);
|
|
44
|
+
return e;
|
|
45
|
+
}
|
|
46
|
+
let R = _(), f = !1;
|
|
47
|
+
const U = o.value.optionconfigInfo ? o.value.optionconfigInfo : {};
|
|
48
|
+
function A() {
|
|
49
|
+
f && clearTimeout(f), f = setTimeout(function() {
|
|
50
|
+
const e = _();
|
|
51
|
+
e != R && (R = e, re(t.pageContext, U, void 0).then((a) => {
|
|
52
|
+
}));
|
|
53
|
+
}, 200);
|
|
54
|
+
}
|
|
55
|
+
H(() => {
|
|
56
|
+
f && clearTimeout(f);
|
|
57
|
+
});
|
|
58
|
+
const q = r(null), E = r(null), F = r(null);
|
|
59
|
+
return J(() => {
|
|
60
|
+
K(() => {
|
|
61
|
+
const e = g.value;
|
|
62
|
+
ce(e, t.pageContext, t.configure, { formItemRef: q.value, componentRef: E.value, titleRef: F.value, value: e, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
63
|
+
});
|
|
64
|
+
}), D({ updateOptions: function(e) {
|
|
65
|
+
n.value = e || [];
|
|
66
|
+
}, addRequiredClass: function() {
|
|
67
|
+
p.value = pe();
|
|
68
|
+
}, getSelectItemsTitle: function() {
|
|
69
|
+
let e = S(c, C);
|
|
70
|
+
if (e == null) return "";
|
|
71
|
+
if (e = String(e), e != null && e !== "" && e.length > 0) {
|
|
72
|
+
let a = "";
|
|
73
|
+
return n.value.length > 0 ? (n.value.forEach((l) => {
|
|
74
|
+
l.value === e && (a = a + l.label + ",");
|
|
75
|
+
}), a = a.slice(0, a.length - 1)) : a = e.join(","), a;
|
|
76
|
+
}
|
|
77
|
+
} }), (e, a) => {
|
|
78
|
+
const l = y("el-radio"), W = y("el-radio-group"), $ = y("el-form-item");
|
|
79
|
+
return x(), I($, { ref_key: "formItemRef", ref: q, required: o.value.required, class: Q(s(B) + (p.value ? " " + p.value : "")), "label-width": o.value.labelWidth, style: O(s(M)) }, X({ default: v(() => [Y(W, { ref_key: "componentRef", ref: E, disabled: o.value.state === "disabled", size: o.value.size, onChange: o.value.changeMethod, modelValue: g.value, "onUpdate:modelValue": a[0] || (a[0] = (i) => g.value = i) }, { default: v(() => [(x(!0), Z(ee, null, te(n.value, (i) => (x(), I(l, { key: i.value, label: i.value, onClick: (ge) => s(z)(i.value, h.pageContext, h.configure, "click", { values: g.value }) }, { default: v(() => [ae(w(i.label), 1)]), _: 2 }, 1032, ["label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [o.value.tittleShow ? { name: "label", fn: v(() => [oe("div", { ref_key: "titleRef", ref: F, style: O({ ...s(N), ...s(P) }), class: "amb-form-item-label" }, w(s(fe)(o.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
80
|
+
};
|
|
81
|
+
} });
|
|
82
|
+
export {
|
|
83
|
+
ye as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { defineComponent as we, ref as c, watch as Ee, onMounted as ee, nextTick as L, onBeforeUnmount as Se, resolveComponent as g, openBlock as w, createElementBlock as te, Fragment as qe, createVNode as y, normalizeStyle as ne, unref as E, normalizeClass as ae, createSlots as Te, withCtx as x, createElementVNode as d, createBlock as D, toDisplayString as le, createCommentVNode as oe } from "vue";
|
|
2
|
+
import { getFormModelFields as Ae } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { getSizeConfig as Le, formatVariableValue as Ve, getVariableValue as He, setVariableValue as Me } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as Ne, handleFormEvent as Re } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { http as Be } from "agilebuilder-ui";
|
|
6
|
+
import { $t as Fe } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { getBaseUrl as re, addRequiredClassUtil as _e } from "../../../../utils/common-util.mjs";
|
|
8
|
+
import S from "quill";
|
|
9
|
+
import "quill/dist/quill.snow.css";
|
|
10
|
+
import { ElMessage as ze } from "element-plus";
|
|
11
|
+
const Ue = { class: "toolbar-right-btns" }, $e = ["title"], De = { class: "richtext-statusbar" }, We = { class: "word-count" }, Ie = { key: 0, class: "upload-loading" }, Pe = ["innerHTML"], tt = we({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(ie, { expose: se }) {
|
|
12
|
+
const W = ["12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px", "36px", "48px"], I = S.import("attributors/style/size");
|
|
13
|
+
I.whitelist = W, S.register(I, !0);
|
|
14
|
+
const P = [!1, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], G = S.import("attributors/style/font");
|
|
15
|
+
G.whitelist = P, S.register(G, !0);
|
|
16
|
+
const o = ie, q = c(""), V = o.pageContext.entity ? o.pageContext.entity : {}, K = Ae(o.pageContext, o.configure), v = o.configure.runtime ? o.configure.runtime : {}, H = v.style, ue = v.class, ce = v.headerStyle, de = v.titleExceedStyle, p = c(v.props ? v.props : {});
|
|
17
|
+
let M = Le(o.pageContext, o.configure);
|
|
18
|
+
M && M.fixHeight && (H.height || (H.height = M.fixHeight + "px"));
|
|
19
|
+
let pe = p.value.value;
|
|
20
|
+
const fe = Ve(o.pageContext, pe), f = c(null);
|
|
21
|
+
let t = null;
|
|
22
|
+
const m = c(!1), N = c(0), R = c(!1), B = c(!1), O = c("");
|
|
23
|
+
let k = null, T = p.value.state;
|
|
24
|
+
function Y(n) {
|
|
25
|
+
return n == "readonly" || n == "disabled";
|
|
26
|
+
}
|
|
27
|
+
const j = Y(T), me = c({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: W }], [{ header: [1, 2, 3, 4, 5, 6, !1] }], [{ color: [] }, { background: [] }], [{ font: P }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: j ? "" : p.value.placeholder, readOnly: j });
|
|
28
|
+
function F() {
|
|
29
|
+
if (!(t != null && t.container)) return;
|
|
30
|
+
const n = t.container.parentNode;
|
|
31
|
+
if (!n) return;
|
|
32
|
+
const e = n.getBoundingClientRect(), i = t.container.getBoundingClientRect();
|
|
33
|
+
let a = e.height - (i.top - e.top);
|
|
34
|
+
a -= 24, t.container.style.height = Math.max(a, 100) + "px";
|
|
35
|
+
}
|
|
36
|
+
Ee(p.value, () => {
|
|
37
|
+
const n = p.value.state;
|
|
38
|
+
if (n != null && n !== T) {
|
|
39
|
+
T = n;
|
|
40
|
+
const e = Y(T);
|
|
41
|
+
t && (t.enable(!e), t.root.dataset.placeholder = e ? "" : p.value.placeholder);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const _ = c([]), z = c(!1), ge = c(null), ve = c(null), he = c(null);
|
|
45
|
+
let A = null;
|
|
46
|
+
function U(n) {
|
|
47
|
+
const e = n.match(/serverPath=([^&"]+)/);
|
|
48
|
+
return e ? e[1] : "";
|
|
49
|
+
}
|
|
50
|
+
function J(n) {
|
|
51
|
+
if (!t) return;
|
|
52
|
+
const e = function(a) {
|
|
53
|
+
let l = a.replace(/<img data-uuid="(.*?)"/g, (u, r) => {
|
|
54
|
+
const s = U(r), C = o.pageContext.backendUrl;
|
|
55
|
+
return `<img src="${re(C, o.pageContext.isTest)}/common/fs-upload/download?serverPath=${s}&isShowWatermark=false" data-uuid="${s}"`;
|
|
56
|
+
});
|
|
57
|
+
return l = l.replace(/\t/g, " "), l = l.replace(/ {2}/g, " "), l;
|
|
58
|
+
}(n), i = t.clipboard.convertHTML(e);
|
|
59
|
+
t.setContents(i.ops), L(() => {
|
|
60
|
+
t && t.root.querySelectorAll("img").forEach((a) => {
|
|
61
|
+
if (!a.getAttribute("data-uuid")) {
|
|
62
|
+
const l = U(a.src);
|
|
63
|
+
a.setAttribute("data-uuid", l);
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
const h = { bold: "加粗", italic: "斜体", underline: "下划线", strike: "删除线", blockquote: "引用", "code-block": "代码块", 'list[value="ordered"]': "有序列表", 'list[value="bullet"]': "无序列表", 'script[value="sub"]': "下标", 'script[value="super"]': "上标", 'indent[value="-1"]': "减少缩进", 'indent[value="+1"]': "增加缩进", 'direction[value="rtl"]': "文字方向", size: "字体大小", header: "标题", color: "字体颜色", background: "背景颜色", font: "字体", align: "对齐方式", clean: "清除格式", link: "链接", image: "图片" };
|
|
69
|
+
function be() {
|
|
70
|
+
m.value = !m.value, L(() => {
|
|
71
|
+
!m.value && (t != null && t.container) && (t.container.style.height = ""), F();
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
function ye() {
|
|
75
|
+
t && (O.value = t.root.innerHTML, B.value = !0);
|
|
76
|
+
}
|
|
77
|
+
function $() {
|
|
78
|
+
if (!t) return void (N.value = 0);
|
|
79
|
+
const n = t.getText().trim();
|
|
80
|
+
N.value = n.length;
|
|
81
|
+
}
|
|
82
|
+
function xe() {
|
|
83
|
+
ze.error({ message: "图片上传失败,请重试", duration: 3e3 });
|
|
84
|
+
}
|
|
85
|
+
function Q(n) {
|
|
86
|
+
n.key === "Escape" && m.value && (m.value = !1, L(() => {
|
|
87
|
+
t != null && t.container && (t.container.style.height = ""), F();
|
|
88
|
+
}));
|
|
89
|
+
}
|
|
90
|
+
function X(n) {
|
|
91
|
+
var e;
|
|
92
|
+
t && (n.relatedTarget !== null && ((e = f.value) != null && e.contains(n.relatedTarget)) || Re(t.root.innerHTML, o.pageContext, o.configure, "change", { entity: V }));
|
|
93
|
+
}
|
|
94
|
+
function Z(n) {
|
|
95
|
+
if (n.target.localName === "img") {
|
|
96
|
+
_.value = [];
|
|
97
|
+
let e = n.target.src;
|
|
98
|
+
_.value.push(e), z.value = !0;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
function ke(n) {
|
|
102
|
+
const e = new FormData();
|
|
103
|
+
e.append("file", n);
|
|
104
|
+
const i = o.pageContext.backendUrl, a = re(i, o.pageContext.isTest);
|
|
105
|
+
return Be.post(a + "/common/fs-upload/rich-editor-image", e, { headers: { "Content-Type": "multipart/form-data" } });
|
|
106
|
+
}
|
|
107
|
+
function Ce(n, e) {
|
|
108
|
+
const i = n.split(","), a = i[0].match(/:(.*?);/), l = a ? a[1] : "image/png", u = atob(i[1]);
|
|
109
|
+
let r = u.length;
|
|
110
|
+
const s = new Uint8Array(r);
|
|
111
|
+
for (; r--; ) s[r] = u.charCodeAt(r);
|
|
112
|
+
return new File([s], e, { type: l });
|
|
113
|
+
}
|
|
114
|
+
return ee(() => {
|
|
115
|
+
var n;
|
|
116
|
+
f.value && (t = new S(f.value, me.value), t.root.style.fontSize = "16px", function() {
|
|
117
|
+
var i, a;
|
|
118
|
+
const e = (a = (i = f.value) == null ? void 0 : i.parentElement) == null ? void 0 : a.querySelector(".ql-toolbar");
|
|
119
|
+
e && (e.querySelectorAll("button").forEach((l) => {
|
|
120
|
+
const u = l.className.match(/ql-([\w-]+)/);
|
|
121
|
+
if (u) {
|
|
122
|
+
const r = u[1], s = `${r}[value="${l.value}"]`;
|
|
123
|
+
h[s] ? l.setAttribute("data-tooltip", h[s]) : h[r] && l.setAttribute("data-tooltip", h[r]);
|
|
124
|
+
}
|
|
125
|
+
}), e.querySelectorAll(".ql-picker").forEach((l) => {
|
|
126
|
+
const u = l.className.match(/ql-(\w+)/);
|
|
127
|
+
if (u) {
|
|
128
|
+
const r = u[1];
|
|
129
|
+
if (h[r]) {
|
|
130
|
+
const s = l.querySelector(".ql-picker-label");
|
|
131
|
+
s && s.setAttribute("data-tooltip", h[r]);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}));
|
|
135
|
+
}(), function() {
|
|
136
|
+
var i, a;
|
|
137
|
+
const e = (a = (i = f.value) == null ? void 0 : i.parentElement) == null ? void 0 : a.querySelector(".ql-toolbar");
|
|
138
|
+
e && e.addEventListener("mousedown", (l) => {
|
|
139
|
+
l.preventDefault();
|
|
140
|
+
});
|
|
141
|
+
}(), J(fe), (n = f.value) == null || n.addEventListener("focusout", X), t.on("text-change", async function(e) {
|
|
142
|
+
if (!t) return;
|
|
143
|
+
const i = t.root.getElementsByTagName("img");
|
|
144
|
+
for (const a of i) if (!a.getAttribute("data-uuid")) {
|
|
145
|
+
const l = U(a.src);
|
|
146
|
+
a.setAttribute("data-uuid", l);
|
|
147
|
+
}
|
|
148
|
+
if (e.ops && e.ops.length > 0) for (const a of e.ops) {
|
|
149
|
+
const l = a.insert;
|
|
150
|
+
if (l != null && l.image) {
|
|
151
|
+
const u = l.image;
|
|
152
|
+
if (!u.startsWith("data:image")) continue;
|
|
153
|
+
try {
|
|
154
|
+
R.value = !0;
|
|
155
|
+
const r = Ce(u, "image.png"), s = await ke(r);
|
|
156
|
+
if (!t) return;
|
|
157
|
+
const C = t.root.getElementsByTagName("img");
|
|
158
|
+
for (const b of C) b.src === u && (b.width = 300, b.src = s.url, b.setAttribute("data-uuid", s.uuid));
|
|
159
|
+
} catch (r) {
|
|
160
|
+
console.error("上传图片失败", r), xe();
|
|
161
|
+
} finally {
|
|
162
|
+
R.value = !1;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
(function() {
|
|
167
|
+
k && clearTimeout(k), k = setTimeout(() => {
|
|
168
|
+
if (!t) return;
|
|
169
|
+
const a = t.root.innerHTML;
|
|
170
|
+
Me(V, K, a), a && (q.value = "");
|
|
171
|
+
}, 300);
|
|
172
|
+
})(), $();
|
|
173
|
+
}), $(), A = t.container, A.addEventListener("click", Z), F(), L(() => {
|
|
174
|
+
const e = He(V, K);
|
|
175
|
+
Ne(e, o.pageContext, o.configure, { formItemRef: ge.value, componentRef: ve.value, titleRef: he.value, value: e, entity: o.pageContext.entity.data, pageData: o.pageContext.entity.page });
|
|
176
|
+
}));
|
|
177
|
+
}), ee(() => {
|
|
178
|
+
document.addEventListener("keydown", Q);
|
|
179
|
+
}), Se(() => {
|
|
180
|
+
document.removeEventListener("keydown", Q), k && clearTimeout(k), f.value && f.value.removeEventListener("focusout", X), A && A.removeEventListener("click", Z);
|
|
181
|
+
}), se({ addRequiredClass: function() {
|
|
182
|
+
q.value = _e();
|
|
183
|
+
}, setContent: function(n) {
|
|
184
|
+
J(n), $();
|
|
185
|
+
}, getContent: function() {
|
|
186
|
+
return t ? t.root.innerHTML : "";
|
|
187
|
+
} }), (n, e) => {
|
|
188
|
+
const i = g("View"), a = g("el-icon"), l = g("FullScreen"), u = g("Close"), r = g("el-form-item"), s = g("el-image-viewer"), C = g("el-dialog");
|
|
189
|
+
return w(), te(qe, null, [y(r, { required: p.value.required, class: ae(E(ue) + (q.value ? " " + q.value : "")), "label-width": p.value.labelWidth, style: ne(E(H)) }, Te({ default: x(() => [d("div", { class: ae(["richtext-wrapper", { "is-fullscreen": m.value }]) }, [d("div", { ref_key: "quillEditorRef", ref: f, style: { width: "100%" } }, null, 512), d("div", Ue, [d("button", { type: "button", class: "toolbar-btn", onClick: ye, title: "预览" }, [y(a, null, { default: x(() => [y(i)]), _: 1 })]), d("button", { type: "button", class: "toolbar-btn", onClick: be, title: m.value ? "退出全屏" : "全屏编辑" }, [m.value ? (w(), D(a, { key: 1 }, { default: x(() => [y(u)]), _: 1 })) : (w(), D(a, { key: 0 }, { default: x(() => [y(l)]), _: 1 }))], 8, $e)]), d("div", De, [d("span", We, "字数:" + le(N.value), 1)]), R.value ? (w(), te("div", Ie, [...e[2] || (e[2] = [d("div", { class: "loading-spinner" }, null, -1), d("span", null, "图片上传中...", -1)])])) : oe("", !0)], 2)]), _: 2 }, [p.value.tittleShow ? { name: "label", fn: x(() => [d("div", { style: ne({ ...E(ce), ...E(de) }), class: "amb-form-item-label" }, le(E(Fe)(p.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), z.value ? (w(), D(s, { key: 0, "hide-on-click-modal": "", onClose: e[0] || (e[0] = () => {
|
|
190
|
+
z.value = !1;
|
|
191
|
+
}), "url-list": _.value }, null, 8, ["url-list"])) : oe("", !0), y(C, { modelValue: B.value, "onUpdate:modelValue": e[1] || (e[1] = (b) => B.value = b), title: "内容预览", width: "80%", "close-on-click-modal": !0, "append-to-body": !0, class: "richtext-preview-dialog" }, { default: x(() => [d("div", { class: "richtext-preview-content ql-editor", innerHTML: O.value }, null, 8, Pe)]), _: 1 }, 8, ["modelValue"])], 64);
|
|
192
|
+
};
|
|
193
|
+
} });
|
|
194
|
+
export {
|
|
195
|
+
tt as default
|
|
196
|
+
};
|