super-page-runtime 2.3.47 → 2.3.48-cdnTmp2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/_virtual/_plugin-vue_export-helper.mjs +8 -0
- package/dist/es/components/runtime/utils/ai-chat-util.mjs +16 -0
- package/dist/es/components/runtime/utils/anchor-util.mjs +83 -0
- package/dist/es/components/runtime/utils/api/api-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/api/api-util.mjs +12 -0
- package/dist/es/components/runtime/utils/api/page-expose-util.mjs +196 -0
- package/dist/es/components/runtime/utils/assemblys-config.mjs +19 -0
- package/dist/es/components/runtime/utils/barcode-util.mjs +12 -0
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.mjs +169 -0
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.mjs +38 -0
- package/dist/es/components/runtime/utils/charts/chart-pie-util.mjs +83 -0
- package/dist/es/components/runtime/utils/charts/chart-radar-util.mjs +56 -0
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.mjs +47 -0
- package/dist/es/components/runtime/utils/charts/chart-util.mjs +285 -0
- package/dist/es/components/runtime/utils/common-util.mjs +116 -0
- package/dist/es/components/runtime/utils/eventBus.mjs +8 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.mjs +38 -0
- package/dist/es/components/runtime/utils/events/event-util.mjs +429 -0
- package/dist/es/components/runtime/utils/events/print-label.mjs +100 -0
- package/dist/es/components/runtime/utils/events/standard-event.mjs +1170 -0
- package/dist/es/components/runtime/utils/events/validator-util.mjs +462 -0
- package/dist/es/components/runtime/utils/form/date-shortcuts.mjs +36 -0
- package/dist/es/components/runtime/utils/form/scan-util.mjs +88 -0
- package/dist/es/components/runtime/utils/global-refs.mjs +57 -0
- package/dist/es/components/runtime/utils/i18n-util.mjs +14 -0
- package/dist/es/components/runtime/utils/interfaces/page-design-types.mjs +4 -0
- package/dist/es/components/runtime/utils/page-helper-util.mjs +381 -0
- package/dist/es/components/runtime/utils/page-init-util.mjs +281 -0
- package/dist/es/components/runtime/utils/{page-permission-util.js → page-permission-util.mjs} +20 -21
- package/dist/es/components/runtime/utils/page-store.mjs +53 -0
- package/dist/es/components/runtime/utils/store-util.mjs +13 -0
- package/dist/es/components/runtime/utils/table-utils.mjs +84 -0
- package/dist/es/components/runtime/utils/tree-utils.mjs +68 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.mjs +41 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.mjs +53 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.mjs +14 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.mjs +13 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.mjs +59 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.mjs +93 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.mjs +46 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.mjs +425 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.mjs +6 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.mjs +10 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.mjs +42 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.mjs +17 -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 +261 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.mjs +20 -0
- package/dist/es/components/runtime/views/assemblys/common/event-call-component2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.mjs +34 -0
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.mjs +17 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.mjs +22 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.mjs +18 -0
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.mjs +19 -0
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime2.vue.mjs +35 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.mjs +21 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime2.vue.mjs +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.mjs +29 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.mjs +81 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime2.vue.mjs +25 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.mjs +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.mjs +47 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.mjs +362 -0
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.mjs +329 -0
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime2.vue.mjs +90 -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 +133 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.mjs +5 -0
- package/dist/es/components/runtime/views/assemblys/error-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.mjs +65 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.mjs +69 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.mjs +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.mjs +55 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.mjs +24 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.mjs +111 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.mjs +88 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.mjs +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 +215 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime2.vue.mjs +150 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.mjs +16 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.mjs +36 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.mjs +43 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.mjs +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.mjs +83 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.mjs +163 -0
- package/dist/es/components/runtime/views/assemblys/object-render2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.mjs +9 -0
- package/dist/es/components/runtime/views/assemblys/page-bottom2.vue.mjs +4 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.mjs +7 -0
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.mjs +56 -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 +29 -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 +30 -0
- package/dist/es/components/runtime/views/super-page-dialog3.vue.mjs +5 -0
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.mjs +7 -0
- package/dist/es/components/runtime/views/super-page2.vue.mjs +307 -0
- package/dist/es/index.mjs +32 -0
- package/dist/es/style.css +1 -1052
- package/dist/lib/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/bar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/gauge-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/gauge-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/pie-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/pie-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/radar-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/radar-theme.d.ts +6 -0
- package/dist/lib/assets/chart-themes/scatter-theme.cjs +1 -0
- package/dist/lib/assets/chart-themes/scatter-theme.d.ts +6 -0
- package/dist/lib/assets/file.png.cjs +1 -0
- package/dist/lib/assets/folder.png.cjs +1 -0
- package/dist/lib/components/runtime/index.d.ts +6 -0
- package/dist/lib/components/runtime/utils/ai-chat-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/anchor-util.d.ts +13 -0
- package/dist/lib/components/runtime/utils/api/api-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/api/page-expose-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/assemblys-config.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/barcode-util.d.ts +8 -0
- package/dist/lib/components/runtime/utils/charts/chart-columnline-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-gauge-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-pie-util.cjs +2 -0
- package/dist/lib/components/runtime/utils/charts/chart-radar-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-scatter-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.d.ts +115 -0
- package/dist/lib/components/runtime/utils/common-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +33 -0
- package/dist/lib/components/runtime/utils/eventBus.cjs +1 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +8 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/lib/components/runtime/utils/events/event-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +93 -0
- package/dist/lib/components/runtime/utils/events/print-label.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/print-label.d.ts +5 -0
- package/dist/lib/components/runtime/utils/events/standard-event.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +107 -0
- package/dist/lib/components/runtime/utils/events/validator-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +31 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.cjs +1 -0
- package/dist/lib/components/runtime/utils/form/date-shortcuts.d.ts +7 -0
- package/dist/lib/components/runtime/utils/form/scan-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.cjs +1 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +65 -0
- package/dist/lib/components/runtime/utils/i18n-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/i18n-util.d.ts +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.cjs +1 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +259 -0
- package/dist/lib/components/runtime/utils/page-helper-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +181 -0
- package/dist/lib/components/runtime/utils/page-init-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +55 -0
- package/dist/lib/components/runtime/utils/page-permission-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-permission-util.d.ts +26 -0
- package/dist/lib/components/runtime/utils/page-store.cjs +1 -0
- package/dist/lib/components/runtime/utils/page-store.d.ts +58 -0
- package/dist/lib/components/runtime/utils/store-util.cjs +1 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store.cjs +1 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/table-utils.cjs +1 -0
- package/dist/lib/components/runtime/utils/table-utils.d.ts +36 -0
- package/dist/lib/components/runtime/utils/tree-utils.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/button/print-label/printlabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header-group2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-chart-header2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/common-homepage-search2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.d.ts +36 -0
- package/dist/lib/components/runtime/views/assemblys/chart/common/home-chart-condition-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +121 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column-item2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/group-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/normal-column2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-pageination2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/chart/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component.vue.d.ts +5 -0
- package/dist/lib/components/runtime/views/assemblys/common/event-call-component2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +28 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice.vue.d.ts +27 -0
- package/dist/lib/components/runtime/views/assemblys/common/file-task-notice2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.d.ts +59 -0
- package/dist/lib/components/runtime/views/assemblys/common/format-file-task-notice-message2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-table2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-transactor-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.d.ts +31 -0
- package/dist/lib/components/runtime/views/assemblys/common/save-chart-condition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/FixedBox2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix.vue.d.ts +94 -0
- package/dist/lib/components/runtime/views/assemblys/container/fixed/YxAffix2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/bar-code/barcode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/common/title-suffix-element2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/custom/custom-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/image-upload/imageupload-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/home-chart-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom.vue.d.ts +14 -0
- package/dist/lib/components/runtime/views/assemblys/page-bottom2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.d.ts +19 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/text-history/textflow-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/home-chart.vue.d.ts +23 -0
- package/dist/lib/components/runtime/views/home-chart2.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page-dialog.vue.d.ts +40 -0
- package/dist/lib/components/runtime/views/super-page-dialog3.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.cjs +1 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +137 -0
- package/dist/lib/components/runtime/views/super-page2.vue.cjs +1 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/i18n/langs/cn.cjs +1 -0
- package/dist/lib/i18n/langs/en.cjs +1 -0
- package/dist/lib/index.cjs +1 -0
- package/dist/lib/index.d.ts +16 -0
- package/dist/lib/style.css +1 -0
- package/package.json +13 -11
- package/dist/es/_virtual/_plugin-vue_export-helper.js +0 -8
- package/dist/es/components/runtime/utils/ai-chat-util.js +0 -16
- package/dist/es/components/runtime/utils/anchor-util.js +0 -84
- package/dist/es/components/runtime/utils/api/api-util.js +0 -7
- package/dist/es/components/runtime/utils/api/page-expose-util.js +0 -202
- package/dist/es/components/runtime/utils/assemblys-config.js +0 -20
- package/dist/es/components/runtime/utils/barcode-util.js +0 -12
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +0 -168
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +0 -38
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +0 -82
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +0 -56
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +0 -47
- package/dist/es/components/runtime/utils/charts/chart-util.js +0 -288
- package/dist/es/components/runtime/utils/common-util.js +0 -120
- package/dist/es/components/runtime/utils/eventBus.js +0 -8
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +0 -39
- package/dist/es/components/runtime/utils/events/event-util.js +0 -447
- package/dist/es/components/runtime/utils/events/print-label.js +0 -100
- package/dist/es/components/runtime/utils/events/standard-event.js +0 -1226
- package/dist/es/components/runtime/utils/events/validator-util.js +0 -485
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +0 -36
- package/dist/es/components/runtime/utils/form/scan-util.js +0 -93
- package/dist/es/components/runtime/utils/global-refs.js +0 -57
- package/dist/es/components/runtime/utils/i18n-util.js +0 -14
- package/dist/es/components/runtime/utils/interfaces/page-design-types.js +0 -4
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -391
- package/dist/es/components/runtime/utils/page-init-util.js +0 -297
- package/dist/es/components/runtime/utils/page-store.js +0 -53
- package/dist/es/components/runtime/utils/store-util.js +0 -13
- package/dist/es/components/runtime/utils/table-utils.js +0 -89
- package/dist/es/components/runtime/utils/tree-utils.js +0 -73
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +0 -41
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +0 -53
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +0 -14
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -13
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -60
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +0 -64
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +0 -94
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +0 -430
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +0 -6
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +0 -10
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +0 -46
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +0 -17
- 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 -268
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +0 -20
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +0 -36
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +0 -32
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +0 -17
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +0 -23
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +0 -18
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +0 -35
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +0 -19
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +0 -35
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -81
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +0 -25
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +0 -46
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +0 -47
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +0 -383
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +0 -339
- 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 -90
- 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 -135
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +0 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +0 -66
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +0 -38
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +0 -69
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +0 -24
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +0 -115
- 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 -84
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +0 -8
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +0 -156
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +0 -16
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +0 -36
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +0 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +0 -44
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +0 -83
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +0 -166
- package/dist/es/components/runtime/views/assemblys/object-render.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +0 -9
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +0 -7
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -56
- 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 -29
- 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 -30
- 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
package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime2.vue.mjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as B, ref as u, computed as E, onMounted as F, nextTick as I, resolveComponent as x, openBlock as m, createBlock as C, normalizeStyle as b, unref as a, normalizeClass as T, createSlots as D, withCtx as h, createVNode as N, createElementVNode as U, createElementBlock as A, Fragment as M, createTextVNode as W, toDisplayString as j } from "vue";
|
|
2
|
+
import { getFormModelFields as G } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { setVariableValue as H, getVariableValue as $ } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as J, handleFormEvent as d } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import K from "../common/title-suffix-element.vue.mjs";
|
|
6
|
+
import { $t as k } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { addRequiredClassUtil as L } from "../../../../utils/common-util.mjs";
|
|
8
|
+
const te = B({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(l, { expose: V }) {
|
|
9
|
+
const t = l, i = u(null), c = t.pageContext.entity ? t.pageContext.entity : {};
|
|
10
|
+
let f = G(t.pageContext, t.configure);
|
|
11
|
+
const p = E({ get: () => $(c, f), set(s) {
|
|
12
|
+
H(c, f, s), s != null && (i.value = "");
|
|
13
|
+
} }), r = t.configure.runtime ? t.configure.runtime : {}, R = r.style, S = r.class, _ = r.headerStyle, q = r.titleExceedStyle, e = u(r.props ? r.props : {}), v = u(null), g = u(null), y = u(null);
|
|
14
|
+
return F(() => {
|
|
15
|
+
I(() => {
|
|
16
|
+
const s = p.value;
|
|
17
|
+
J(s, t.pageContext, t.configure, { formItemRef: v.value, componentRef: g.value, titleRef: y.value, value: s, entity: t.pageContext.entity.data, pageData: t.pageContext.entity.page });
|
|
18
|
+
});
|
|
19
|
+
}), V({ addRequiredClass: function() {
|
|
20
|
+
i.value = L();
|
|
21
|
+
} }), (s, o) => {
|
|
22
|
+
const w = x("el-input-number"), z = x("el-form-item");
|
|
23
|
+
return m(), C(z, { ref_key: "formItemRef", ref: v, required: e.value.required, class: T(a(S) + (i.value ? " " + i.value : "")), "label-width": e.value.labelWidth, style: b(a(R)) }, D({ default: h(() => [N(w, { ref_key: "componentRef", ref: g, disabled: e.value.state === "disabled", readonly: e.value.state === "readonly", controls: e.value.showButton, size: e.value.size, placeholder: a(k)(e.value.placeholder), modelValue: p.value, "onUpdate:modelValue": o[0] || (o[0] = (n) => p.value = n), precision: e.value.precision, step: e.value.step, min: e.value.min, max: e.value.max, onChange: o[1] || (o[1] = (n) => a(d)(n, l.pageContext, l.configure, "change")), onBlur: o[2] || (o[2] = (n) => a(d)(n, l.pageContext, l.configure, "blur")), onFocus: o[3] || (o[3] = (n) => a(d)(n, l.pageContext, l.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 2 }, [e.value.tittleShow ? { name: "label", fn: h(() => [U("div", { ref_key: "titleRef", ref: y, style: b({ ...a(_), ...a(q) }), class: "amb-form-item-label" }, [e.value.prefixType ? (m(), C(K, { key: 0, pageContext: l.pageContext, property: e.value }, null, 8, ["pageContext", "property"])) : (m(), A(M, { key: 1 }, [W(j(a(k)(e.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
26
|
+
export {
|
|
27
|
+
te as default
|
|
28
|
+
};
|
|
@@ -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 V, toDisplayString as k, createElementVNode as ve, createElementBlock as de, Fragment as me } from "vue";
|
|
2
|
+
import { isMobileBrowser as ye, isDingTalkEnv as ge, SuperIcon as T } 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 g } 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, x = r(s && s.length > 0 ? K + "__" + s.join("__") : null), I = r(null), c = ue({ get: () => E(v, s), set(t) {
|
|
20
|
+
D(v, s, t), t != null && t !== "" && (I.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 w = !1;
|
|
23
|
+
ge() && (w = !0);
|
|
24
|
+
let _ = "";
|
|
25
|
+
_ = navigator.userAgent.indexOf("Html5Plus") > 0 ? "app" : "browser";
|
|
26
|
+
const J = !(!S.value || !_ || _ !== "app"), N = r(!!((J || w) && 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(x.value + "-scanDone", (t) => {
|
|
41
|
+
x.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(x.value + "-scanDone");
|
|
49
|
+
});
|
|
50
|
+
const C = r(!1);
|
|
51
|
+
function F() {
|
|
52
|
+
if (J || w) {
|
|
53
|
+
const t = { type: "scan", componentId: x.value, systemCode: l.pageContext.systemCode };
|
|
54
|
+
w && (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:") C.value = !0;
|
|
56
|
+
else {
|
|
57
|
+
const t = { type: "scan", componentId: x.value, systemCode: l.pageContext.systemCode };
|
|
58
|
+
window.parent.postMessage(JSON.stringify(t), "*");
|
|
59
|
+
}
|
|
60
|
+
else C.value = !0;
|
|
61
|
+
}
|
|
62
|
+
function ee(t) {
|
|
63
|
+
C.value = !1, R(t);
|
|
64
|
+
}
|
|
65
|
+
return G({ getValue: function() {
|
|
66
|
+
return E(v, s);
|
|
67
|
+
}, setValue: R, scanClick: F, addRequiredClass: function() {
|
|
68
|
+
I.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) + (I.value ? " " + I.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: n(g)(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(T), { 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), V(" " + k(n(g)(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(T), { 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), V(" " + k(n(g)(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(T), { 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), V(" " + k(n(g)(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(T), { 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(T), { 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), V(" " + k(n(g)(e.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), C.value ? (i(), p(te, { key: 0, onClose: ee, onCancel: a[12] || (a[12] = (u) => C.value = !1) })) : 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 }, [V(k(n(g)(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 t, normalizeClass as v, createElementVNode as s, toDisplayString as i, createBlock as T, 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 m } 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 : {}), g = p(e.value.options ? e.value.options : []), x = e.value.formatType;
|
|
11
|
+
e.value;
|
|
12
|
+
const d = O(() => {
|
|
13
|
+
let l = J(N, P);
|
|
14
|
+
if (x) if (e.value.hasOptions) {
|
|
15
|
+
let n = null;
|
|
16
|
+
g.value && (n = g.value.filter((k) => k.value == l)), n && n.length > 0 && (l = n[0].label);
|
|
17
|
+
} else if (x === "custom") {
|
|
18
|
+
const n = L(a.pageContext, e.value.formatFunc);
|
|
19
|
+
n && (l = n.apply(n, [{ pageContext: a.pageContext, configureObj: a.configure, value: l }]));
|
|
20
|
+
} else l = K(l, x, e.value);
|
|
21
|
+
return l = l ?? "", l;
|
|
22
|
+
}), _ = p(null), b = p(null), h = p(null);
|
|
23
|
+
return D(() => {
|
|
24
|
+
M(() => {
|
|
25
|
+
const l = d.value;
|
|
26
|
+
$(l, a.pageContext, a.configure, { formItemRef: _.value, componentRef: b.value, titleRef: h.value, value: l, entity: a.pageContext.entity.data, pageData: a.pageContext.entity.page });
|
|
27
|
+
});
|
|
28
|
+
}), B({ updateOptions: function(l) {
|
|
29
|
+
g.value = l || [];
|
|
30
|
+
} }), (l, n) => {
|
|
31
|
+
const k = W("el-form-item");
|
|
32
|
+
return e.value.whetherTitle || e.value.whetherTittle ? (u(), c("div", { key: 0, ref_key: "titleRef", ref: h, class: v(t(V)), style: f(t(w)) }, [s("div", Q, i(t(m)(e.value.title)), 1)], 6)) : e.value.tittleShow ? (u(), T(k, { key: 1, ref_key: "formItemRef", ref: _, required: !!e.value.required, class: v([t(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(t(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] = (C) => t(F)(C, 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(t(I)) }, [e.value.preIconType && e.value.preIconValue ? (u(), T(t(E), { key: 0, iconType: e.value.preIconType, iconValue: e.value.preIconValue }, null, 8, ["iconType", "iconValue"])) : y("", !0), R(" " + i(t(m)(e.value.preText)), 1)], 6)) : y("", !0), R(" " + i(d.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(), T(t(E), { key: 0, style: {}, iconType: e.value.sufIconType, iconValue: e.value.sufIconValue }, null, 8, ["iconType", "iconValue"])) : y("", !0), s("span", null, " " + i(t(m)(e.value.sufText)), 1)], 2)) : y("", !0)], 512)]), _: 2 }, [e.value.tittleShow ? { name: "label", fn: S(() => [s("div", { ref_key: "titleRef", ref: h, style: f({ ...t(j), ...t(z) }) }, i(t(m)(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] = (C) => t(F)(C, r.pageContext, r.configure, "click")) }, [s("span", { style: { overflow: "hidden", "white-space": "nowrap" }, title: d.value }, i(e.value.prefixIcon) + " " + i(d.value), 9, X), e.value.suffixTxt ? (u(), c("span", { key: 0, class: v(t(q)), style: f(t(I)) }, i(t(m)(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 p, 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(c) {
|
|
8
|
+
var b;
|
|
9
|
+
const t = c, 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: p(() => [R($, { disabled: !n(f), content: n(f) }, { default: p(() => [R(u, { ref_key: "componentRef", ref: x, disabled: a.value.state === "disabled", type: a.value.type ? a.value.type : "primary", underline: a.value.underline, onClick: r[0] || (r[0] = (B) => n(H)(B, c.pageContext, c.configure, "click", { skipValidate: !0 })) }, { default: p(() => [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: p(() => [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,215 @@
|
|
|
1
|
+
import { defineComponent as Se, ref as g, watch as we, onMounted as ne, nextTick as A, onBeforeUnmount as Pe, resolveComponent as b, openBlock as S, createElementBlock as ie, Fragment as Ee, createVNode as M, normalizeStyle as oe, unref as p, normalizeClass as le, createSlots as qe, withCtx as C, createElementVNode as m, createBlock as W, toDisplayString as L, createCommentVNode as se } from "vue";
|
|
2
|
+
import { getFormModelFields as Ae } from "../../../../utils/page-init-util.mjs";
|
|
3
|
+
import { getSizeConfig as Le, formatVariableValue as Fe, getVariableValue as He, setVariableValue as Be } from "../../../../utils/page-helper-util.mjs";
|
|
4
|
+
import { handleAfterInitEvent as Ne, handleFormEvent as Ve } from "../../../../utils/events/event-util.mjs";
|
|
5
|
+
import { http as Ue } from "agilebuilder-ui";
|
|
6
|
+
import { $t as i } from "../../../../utils/i18n-util.mjs";
|
|
7
|
+
import { getBaseUrl as ue, addRequiredClassUtil as Ie } from "../../../../utils/common-util.mjs";
|
|
8
|
+
import w from "quill";
|
|
9
|
+
import "quill/dist/quill.snow.css";
|
|
10
|
+
import { ElMessage as ze } from "element-plus";
|
|
11
|
+
const _e = { class: "toolbar-right-btns" }, De = ["title"], We = ["title"], $e = { class: "richtext-statusbar" }, Oe = { class: "word-count" }, Ge = { key: 0, class: "upload-loading" }, Ke = ["innerHTML"], nt = Se({ __name: "richtext-runtime", props: { pageContext: {}, configure: {} }, setup(ce, { expose: de }) {
|
|
12
|
+
const $ = ["12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px", "36px", "48px"], O = w.import("attributors/style/size");
|
|
13
|
+
O.whitelist = $, w.register(O, !0);
|
|
14
|
+
const G = [!1, "Source Han Sans CN", "SimSun", "SimHei", "Microsoft YaHei", "KaiTi", "FangSong", "Arial", "Times New Roman", "Verdana", "Georgia", "Courier New"], K = w.import("attributors/style/font");
|
|
15
|
+
K.whitelist = G, w.register(K, !0);
|
|
16
|
+
const o = ce, P = g(""), F = o.pageContext.entity ? o.pageContext.entity : {}, Y = Ae(o.pageContext, o.configure), y = o.configure.runtime ? o.configure.runtime : {}, H = y.style, ge = y.class, pe = y.headerStyle, me = y.titleExceedStyle, f = g(y.props ? y.props : {});
|
|
17
|
+
let B = Le(o.pageContext, o.configure);
|
|
18
|
+
B && B.fixHeight && (H.height || (H.height = B.fixHeight + "px"));
|
|
19
|
+
let fe = f.value.value;
|
|
20
|
+
const he = Fe(o.pageContext, fe), h = g(null);
|
|
21
|
+
let t = null;
|
|
22
|
+
const x = g(!1), N = g(0), V = g(!1), U = g(!1), j = g("");
|
|
23
|
+
let k = null, E = f.value.state;
|
|
24
|
+
function J(a) {
|
|
25
|
+
return a == "readonly" || a == "disabled";
|
|
26
|
+
}
|
|
27
|
+
const Q = J(E), ve = g({ modules: { toolbar: [["bold", "italic", "underline", "strike"], ["blockquote", "code-block"], [{ list: "ordered" }, { list: "bullet" }], [{ script: "sub" }, { script: "super" }], [{ indent: "-1" }, { indent: "+1" }], [{ direction: "rtl" }], [{ size: $ }], [{ header: [1, 2, 3, 4, 5, 6, !1] }], [{ color: [] }, { background: [] }], [{ font: G }], [{ align: [] }], ["clean"], ["link", "image"]] }, theme: "snow", placeholder: Q ? "" : f.value.placeholder, readOnly: Q });
|
|
28
|
+
function I() {
|
|
29
|
+
if (!(t != null && t.container)) return;
|
|
30
|
+
const a = t.container.parentNode;
|
|
31
|
+
if (!a) return;
|
|
32
|
+
const e = a.getBoundingClientRect(), c = t.container.getBoundingClientRect();
|
|
33
|
+
let r = e.height - (c.top - e.top);
|
|
34
|
+
r -= 24, t.container.style.height = Math.max(r, 100) + "px";
|
|
35
|
+
}
|
|
36
|
+
we(f.value, () => {
|
|
37
|
+
const a = f.value.state;
|
|
38
|
+
if (a != null && a !== E) {
|
|
39
|
+
E = a;
|
|
40
|
+
const e = J(E);
|
|
41
|
+
t && (t.enable(!e), t.root.dataset.placeholder = e ? "" : f.value.placeholder);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const z = g([]), _ = g(!1), xe = g(null), be = g(null), ye = g(null);
|
|
45
|
+
let q = null;
|
|
46
|
+
function X(a) {
|
|
47
|
+
const e = a.match(/serverPath=([^&"]+)/);
|
|
48
|
+
return e ? e[1] : "";
|
|
49
|
+
}
|
|
50
|
+
function Z(a) {
|
|
51
|
+
if (!t) return;
|
|
52
|
+
const e = function(r) {
|
|
53
|
+
if (!r) return r;
|
|
54
|
+
const n = new DOMParser().parseFromString(r, "text/html"), l = o.pageContext.backendUrl, s = ue(l, o.pageContext.isTest);
|
|
55
|
+
n.querySelectorAll("th").forEach((v) => {
|
|
56
|
+
const d = n.createElement("td");
|
|
57
|
+
for (const R of Array.from(v.attributes)) d.setAttribute(R.name, R.value);
|
|
58
|
+
d.style.fontWeight = "bold", d.innerHTML = v.innerHTML, v.replaceWith(d);
|
|
59
|
+
}), n.querySelectorAll("img[data-uuid]").forEach((v) => {
|
|
60
|
+
const d = v, R = d.getAttribute("data-uuid");
|
|
61
|
+
R && d.setAttribute("src", `${s}/common/fs-upload/download?serverPath=${R}&isShowWatermark=false`);
|
|
62
|
+
});
|
|
63
|
+
let u = n.body.innerHTML;
|
|
64
|
+
return u = u.replace(/\t/g, " "), u = u.replace(/ {2}/g, " "), u;
|
|
65
|
+
}(a), c = t.clipboard.convertHTML(e);
|
|
66
|
+
t.setContents(c.ops), A(() => {
|
|
67
|
+
t && (t.root.querySelectorAll("img").forEach((r) => {
|
|
68
|
+
if (!r.getAttribute("data-uuid")) {
|
|
69
|
+
const n = X(r.src);
|
|
70
|
+
n && r.setAttribute("data-uuid", n);
|
|
71
|
+
}
|
|
72
|
+
}), t && t.root.querySelectorAll("table").forEach((r) => {
|
|
73
|
+
const n = r.querySelector("tr");
|
|
74
|
+
n && n.querySelectorAll("td").forEach((l) => {
|
|
75
|
+
l.querySelector("strong, b") && (l.style.backgroundColor = "#f5f7fa");
|
|
76
|
+
});
|
|
77
|
+
}));
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
const T = { bold: i("superPageRuntimeMessage.richTextBold"), italic: i("superPageRuntimeMessage.richTextItalic"), underline: i("superPageRuntimeMessage.richTextUnderline"), strike: i("superPageRuntimeMessage.richTextStrike"), blockquote: i("superPageRuntimeMessage.richTextBlockquote"), "code-block": i("superPageRuntimeMessage.richTextCodeBlock"), 'list[value="ordered"]': i("superPageRuntimeMessage.richTextOrderedList"), 'list[value="bullet"]': i("superPageRuntimeMessage.richTextBulletList"), 'script[value="sub"]': i("superPageRuntimeMessage.richTextSubscript"), 'script[value="super"]': i("superPageRuntimeMessage.richTextSuperscript"), 'indent[value="-1"]': i("superPageRuntimeMessage.richTextIndentDecrease"), 'indent[value="+1"]': i("superPageRuntimeMessage.richTextIndentIncrease"), 'direction[value="rtl"]': i("superPageRuntimeMessage.richTextTextDirection"), size: i("superPageRuntimeMessage.richTextFontSize"), header: i("superPageRuntimeMessage.richTextHeader"), color: i("superPageRuntimeMessage.richTextFontColor"), background: i("superPageRuntimeMessage.richTextBackgroundColor"), font: i("superPageRuntimeMessage.richTextFontFamily"), align: i("superPageRuntimeMessage.richTextAlign"), clean: i("superPageRuntimeMessage.richTextClean"), link: i("superPageRuntimeMessage.richTextLink"), image: i("superPageRuntimeMessage.richTextImage") };
|
|
81
|
+
function Te() {
|
|
82
|
+
x.value = !x.value, A(() => {
|
|
83
|
+
!x.value && (t != null && t.container) && (t.container.style.height = ""), I();
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
function Me() {
|
|
87
|
+
t && (j.value = t.root.innerHTML, U.value = !0);
|
|
88
|
+
}
|
|
89
|
+
function D() {
|
|
90
|
+
if (!t) return void (N.value = 0);
|
|
91
|
+
const a = t.getText().trim();
|
|
92
|
+
N.value = a.length;
|
|
93
|
+
}
|
|
94
|
+
function ee() {
|
|
95
|
+
if (!t) return "";
|
|
96
|
+
const a = t.root.cloneNode(!0);
|
|
97
|
+
return a.querySelectorAll("img[data-uuid]").forEach((e) => {
|
|
98
|
+
e.getAttribute("data-uuid") && e.removeAttribute("src");
|
|
99
|
+
}), a.innerHTML;
|
|
100
|
+
}
|
|
101
|
+
function Ce() {
|
|
102
|
+
ze.error({ message: i("superPageRuntimeMessage.richTextImageUploadFailed"), duration: 3e3 });
|
|
103
|
+
}
|
|
104
|
+
function te(a) {
|
|
105
|
+
a.key === "Escape" && x.value && (x.value = !1, A(() => {
|
|
106
|
+
t != null && t.container && (t.container.style.height = ""), I();
|
|
107
|
+
}));
|
|
108
|
+
}
|
|
109
|
+
function ae(a) {
|
|
110
|
+
var e;
|
|
111
|
+
t && (a.relatedTarget !== null && ((e = h.value) != null && e.contains(a.relatedTarget)) || Ve(ee(), o.pageContext, o.configure, "change", { entity: F }));
|
|
112
|
+
}
|
|
113
|
+
function re(a) {
|
|
114
|
+
if (a.target.localName === "img") {
|
|
115
|
+
z.value = [];
|
|
116
|
+
let e = a.target.src;
|
|
117
|
+
z.value.push(e), _.value = !0;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
function ke(a) {
|
|
121
|
+
const e = new FormData();
|
|
122
|
+
e.append("file", a);
|
|
123
|
+
const c = o.pageContext.backendUrl, r = ue(c, o.pageContext.isTest);
|
|
124
|
+
return Ue.post(r + "/common/fs-upload/rich-editor-image", e, { headers: { "Content-Type": "multipart/form-data" } });
|
|
125
|
+
}
|
|
126
|
+
function Re(a, e) {
|
|
127
|
+
const c = a.split(","), r = c[0].match(/:(.*?);/), n = r ? r[1] : "image/png", l = atob(c[1]);
|
|
128
|
+
let s = l.length;
|
|
129
|
+
const u = new Uint8Array(s);
|
|
130
|
+
for (; s--; ) u[s] = l.charCodeAt(s);
|
|
131
|
+
return new File([u], e, { type: n });
|
|
132
|
+
}
|
|
133
|
+
return ne(() => {
|
|
134
|
+
var a;
|
|
135
|
+
h.value && (t = new w(h.value, ve.value), t.root.style.fontSize = "16px", function() {
|
|
136
|
+
var c, r;
|
|
137
|
+
const e = (r = (c = h.value) == null ? void 0 : c.parentElement) == null ? void 0 : r.querySelector(".ql-toolbar");
|
|
138
|
+
e && (e.querySelectorAll("button").forEach((n) => {
|
|
139
|
+
const l = n.className.match(/ql-([\w-]+)/);
|
|
140
|
+
if (l) {
|
|
141
|
+
const s = l[1], u = `${s}[value="${n.value}"]`;
|
|
142
|
+
T[u] ? n.setAttribute("data-tooltip", T[u]) : T[s] && n.setAttribute("data-tooltip", T[s]);
|
|
143
|
+
}
|
|
144
|
+
}), e.querySelectorAll(".ql-picker").forEach((n) => {
|
|
145
|
+
const l = n.className.match(/ql-(\w+)/);
|
|
146
|
+
if (l) {
|
|
147
|
+
const s = l[1];
|
|
148
|
+
if (T[s]) {
|
|
149
|
+
const u = n.querySelector(".ql-picker-label");
|
|
150
|
+
u && u.setAttribute("data-tooltip", T[s]);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}));
|
|
154
|
+
}(), function() {
|
|
155
|
+
var c, r;
|
|
156
|
+
const e = (r = (c = h.value) == null ? void 0 : c.parentElement) == null ? void 0 : r.querySelector(".ql-toolbar");
|
|
157
|
+
e && e.addEventListener("mousedown", (n) => {
|
|
158
|
+
n.preventDefault();
|
|
159
|
+
});
|
|
160
|
+
}(), Z(he), (a = h.value) == null || a.addEventListener("focusout", ae), t.on("text-change", async function(e) {
|
|
161
|
+
if (!t) return;
|
|
162
|
+
const c = t.root.getElementsByTagName("img");
|
|
163
|
+
for (const r of c) if (!r.getAttribute("data-uuid")) {
|
|
164
|
+
const n = X(r.src);
|
|
165
|
+
r.setAttribute("data-uuid", n);
|
|
166
|
+
}
|
|
167
|
+
if (e.ops && e.ops.length > 0) for (const r of e.ops) {
|
|
168
|
+
const n = r.insert;
|
|
169
|
+
if (n != null && n.image) {
|
|
170
|
+
const l = n.image;
|
|
171
|
+
if (!l.startsWith("data:image")) continue;
|
|
172
|
+
try {
|
|
173
|
+
V.value = !0;
|
|
174
|
+
const s = Re(l, "image.png"), u = await ke(s);
|
|
175
|
+
if (!t) return;
|
|
176
|
+
const v = t.root.getElementsByTagName("img");
|
|
177
|
+
for (const d of v) d.src === l && (d.width = 300, d.src = u.url, d.setAttribute("data-uuid", u.uuid));
|
|
178
|
+
} catch (s) {
|
|
179
|
+
console.error("上传图片失败", s), Ce();
|
|
180
|
+
} finally {
|
|
181
|
+
V.value = !1;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
(function() {
|
|
186
|
+
k && clearTimeout(k), k = setTimeout(() => {
|
|
187
|
+
if (!t) return;
|
|
188
|
+
const r = ee();
|
|
189
|
+
Be(F, Y, r), r && (P.value = "");
|
|
190
|
+
}, 300);
|
|
191
|
+
})(), D();
|
|
192
|
+
}), D(), q = t.container, q.addEventListener("click", re), I(), A(() => {
|
|
193
|
+
const e = He(F, Y);
|
|
194
|
+
Ne(e, o.pageContext, o.configure, { formItemRef: xe.value, componentRef: be.value, titleRef: ye.value, value: e, entity: o.pageContext.entity.data, pageData: o.pageContext.entity.page });
|
|
195
|
+
}));
|
|
196
|
+
}), ne(() => {
|
|
197
|
+
document.addEventListener("keydown", te);
|
|
198
|
+
}), Pe(() => {
|
|
199
|
+
document.removeEventListener("keydown", te), k && clearTimeout(k), h.value && h.value.removeEventListener("focusout", ae), q && q.removeEventListener("click", re);
|
|
200
|
+
}), de({ addRequiredClass: function() {
|
|
201
|
+
P.value = Ie();
|
|
202
|
+
}, setContent: function(a) {
|
|
203
|
+
Z(a), D();
|
|
204
|
+
}, getContent: function() {
|
|
205
|
+
return t ? t.root.innerHTML : "";
|
|
206
|
+
} }), (a, e) => {
|
|
207
|
+
const c = b("View"), r = b("el-icon"), n = b("FullScreen"), l = b("Close"), s = b("el-form-item"), u = b("el-image-viewer"), v = b("el-dialog");
|
|
208
|
+
return S(), ie(Ee, null, [M(s, { required: f.value.required, class: le(p(ge) + (P.value ? " " + P.value : "")), "label-width": f.value.labelWidth, style: oe(p(H)) }, qe({ default: C(() => [m("div", { class: le(["richtext-wrapper", { "is-fullscreen": x.value }]) }, [m("div", { ref_key: "quillEditorRef", ref: h, style: { width: "100%" } }, null, 512), m("div", _e, [m("button", { type: "button", class: "toolbar-btn", onClick: Me, title: p(i)("superPageRuntimeMessage.richTextPreview") }, [M(r, null, { default: C(() => [M(c)]), _: 1 })], 8, De), m("button", { type: "button", class: "toolbar-btn", onClick: Te, title: x.value ? p(i)("superPageRuntimeMessage.richTextExitFullScreen") : p(i)("superPageRuntimeMessage.richTextFullScreenEdit") }, [x.value ? (S(), W(r, { key: 1 }, { default: C(() => [M(l)]), _: 1 })) : (S(), W(r, { key: 0 }, { default: C(() => [M(n)]), _: 1 }))], 8, We)]), m("div", $e, [m("span", Oe, L(p(i)("superPageRuntimeMessage.richTextWordCount")) + ":" + L(N.value), 1)]), V.value ? (S(), ie("div", Ge, [e[2] || (e[2] = m("div", { class: "loading-spinner" }, null, -1)), m("span", null, L(p(i)("superPageRuntimeMessage.richTextImageUploading")), 1)])) : se("", !0)], 2)]), _: 2 }, [f.value.tittleShow ? { name: "label", fn: C(() => [m("div", { style: oe({ ...p(pe), ...p(me) }), class: "amb-form-item-label" }, L(p(i)(f.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), _.value ? (S(), W(u, { key: 0, "hide-on-click-modal": "", onClose: e[0] || (e[0] = () => {
|
|
209
|
+
_.value = !1;
|
|
210
|
+
}), "url-list": z.value }, null, 8, ["url-list"])) : se("", !0), M(v, { modelValue: U.value, "onUpdate:modelValue": e[1] || (e[1] = (d) => U.value = d), title: p(i)("superPageRuntimeMessage.richTextContentPreview"), width: "80%", "close-on-click-modal": !0, "append-to-body": !0, class: "richtext-preview-dialog" }, { default: C(() => [m("div", { class: "richtext-preview-content ql-editor", innerHTML: j.value }, null, 8, Ke)]), _: 1 }, 8, ["modelValue", "title"])], 64);
|
|
211
|
+
};
|
|
212
|
+
} });
|
|
213
|
+
export {
|
|
214
|
+
nt as default
|
|
215
|
+
};
|