adtec-hnyzfc-core-package 1.0.0
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/README.en.md +19 -0
- package/README.md +30 -0
- package/dist/chunks/AddOrMinusMultiDialog.vue_vue_type_script_setup_true_lang-BB_TkU5c.js +1 -0
- package/dist/chunks/App-DxNJxGeF.js +1 -0
- package/dist/chunks/ApprovalNode.vue_vue_type_script_setup_true_lang-UOTgC-LR.js +1 -0
- package/dist/chunks/AssigneePanel.vue_vue_type_script_setup_true_lang-BkXSUmTP.js +1 -0
- package/dist/chunks/CcNode.vue_vue_type_script_setup_true_lang-DC4Lfz0O.js +1 -0
- package/dist/chunks/ConditionPanel.vue_vue_type_script_setup_true_lang-Bk2Pwa9X.js +1 -0
- package/dist/chunks/ElFlex.vue_vue_type_script_setup_true_lang-D3H7QH-5.js +1 -0
- package/dist/chunks/ElScrollbars.vue_vue_type_script_setup_true_lang-0Vhrxdyr.js +1 -0
- package/dist/chunks/ElTitle.vue_vue_type_script_setup_true_lang-B0oGtxWu.js +1 -0
- package/dist/chunks/ElTotalTools.vue_vue_type_script_setup_true_lang-Dw9M4qw4.js +1 -0
- package/dist/chunks/EndPanel.vue_vue_type_script_setup_true_lang-C4iNIDO-.js +1 -0
- package/dist/chunks/JumpNode.vue_vue_type_script_setup_true_lang-CAfaLHA3.js +1 -0
- package/dist/chunks/JumpPanel.vue_vue_type_script_setup_true_lang--JoN66Kg.js +1 -0
- package/dist/chunks/NotifyNode.vue_vue_type_script_setup_true_lang-DaNOnZvd.js +1 -0
- package/dist/chunks/NotifyPanel.vue_vue_type_script_setup_true_lang-BsWhTM_2.js +1 -0
- package/dist/chunks/ProcessDetailDialog.vue_vue_type_style_index_0_lang-Bf9S1As6.js +1 -0
- package/dist/chunks/ProcessInstance.vue_vue_type_script_setup_true_lang-DuqA8amj.js +1 -0
- package/dist/chunks/TimerNode.vue_vue_type_script_setup_true_lang-xL5Q53ju.js +1 -0
- package/dist/chunks/TimerPanel.vue_vue_type_script_setup_true_lang-D-Cav33S.js +1 -0
- package/dist/chunks/TreeNode.vue_vue_type_script_setup_true_name_TreeNode_lang-DRb0aQ9n.js +1 -0
- package/dist/chunks/Trigger.vue_vue_type_script_setup_true_lang-DH_ba4a_.js +1 -0
- package/dist/chunks/VxeButton.vue_vue_type_script_setup_true_lang-s_mYx9TA.js +1 -0
- package/dist/chunks/VxeCheckbox.vue_vue_type_script_setup_true_lang-Ccr5YD1x.js +1 -0
- package/dist/chunks/VxeForm.vue_vue_type_script_setup_true_lang-DXNZ8Qzg.js +1 -0
- package/dist/chunks/VxeInput.vue_vue_type_script_setup_true_lang-v9AqGSoL.js +1 -0
- package/dist/chunks/VxeLoading.vue_vue_type_script_setup_true_lang-B253kD5t.js +1 -0
- package/dist/chunks/VxeModal.vue_vue_type_script_setup_true_lang-B4gh7jFR.js +1 -0
- package/dist/chunks/VxePager.vue_vue_type_script_setup_true_lang-DpOa3T96.js +1 -0
- package/dist/chunks/VxeSelect.vue_vue_type_script_setup_true_lang-BfVzFeBc.js +1 -0
- package/dist/chunks/_plugin-vue_export-helper-DlAUqK2U.js +1 -0
- package/dist/chunks/about-DtNEP_7P.js +1 -0
- package/dist/chunks/add-column-after-CJNsJvxN.js +1 -0
- package/dist/chunks/add-column-before-CzE7aUZ_.js +1 -0
- package/dist/chunks/add-row-after-BF72OPbU.js +1 -0
- package/dist/chunks/add-row-before-CXwFDMk7.js +1 -0
- package/dist/chunks/align-center-D9p855ZM.js +1 -0
- package/dist/chunks/align-distributed-BgCc7jUK.js +1 -0
- package/dist/chunks/align-dropdown-D13C01hp.js +1 -0
- package/dist/chunks/align-justify-D2CCR-Tv.js +1 -0
- package/dist/chunks/align-left-DGoeY8M8.js +1 -0
- package/dist/chunks/align-right-cvoUZD0j.js +1 -0
- package/dist/chunks/audio-Cu_8DUAk.js +1 -0
- package/dist/chunks/background-BqaAiULF.js +1 -0
- package/dist/chunks/background-C6Fsx6fV.js +1 -0
- package/dist/chunks/background-VJOZiuR_.js +1 -0
- package/dist/chunks/background-color-D2MqN3R4.js +1 -0
- package/dist/chunks/background-slZFdhpF.js +1 -0
- package/dist/chunks/barcode-BQt9XJ1d.js +1 -0
- package/dist/chunks/bold-D9vAACcy.js +1 -0
- package/dist/chunks/bookmark-DYEjgk_G.js +1 -0
- package/dist/chunks/border-CUaBgIHA.js +1 -0
- package/dist/chunks/border-color-beMzdKg0.js +1 -0
- package/dist/chunks/break-BA7SNRJX.js +1 -0
- package/dist/chunks/break-marks-faiEoYm7.js +1 -0
- package/dist/chunks/builtin-3ftgL3GZ.js +1 -0
- package/dist/chunks/builtin-CSh-wrSS.js +1 -0
- package/dist/chunks/bullet-list-CFOOqcgF.js +1 -0
- package/dist/chunks/button-nUj48jue.js +1 -0
- package/dist/chunks/cal-service-CTPNhNPR.js +1 -0
- package/dist/chunks/callout-BT-iP5Sk.js +1 -0
- package/dist/chunks/cells-align-CN0b1sZ9.js +1 -0
- package/dist/chunks/cells-background-BOVJJDvo.js +1 -0
- package/dist/chunks/chinese-case-tmszLoqn.js +1 -0
- package/dist/chunks/chinese-date-eMPyZbXG.js +1 -0
- package/dist/chunks/classic-DNZZbcIZ.js +1 -0
- package/dist/chunks/clear-format-DvpqxlV6.js +1 -0
- package/dist/chunks/clickable-DKwLfwy9.js +1 -0
- package/dist/chunks/code-CH7OuxFw.js +1 -0
- package/dist/chunks/code-block-JF01NxEw.js +1 -0
- package/dist/chunks/color-BnK_2y7Y.js +1 -0
- package/dist/chunks/color-D8FvJD1R.js +1 -0
- package/dist/chunks/color-DlBMjYug.js +1 -0
- package/dist/chunks/columns-Dgp7WOMC.js +1 -0
- package/dist/chunks/common-C-Ic6cml.js +1 -0
- package/dist/chunks/comp.selectUser.vue_vue_type_script_setup_true_lang-BQDO393q.js +1 -0
- package/dist/chunks/convert-GZ3LS7qA.js +1 -0
- package/dist/chunks/copy-T4iFGqM8.js +1 -0
- package/dist/chunks/countdown-DbPShhbl.js +1 -0
- package/dist/chunks/delete-BF28u1QP.js +1 -0
- package/dist/chunks/delete-CIGtGv1V.js +1 -0
- package/dist/chunks/delete-Cm58IzMB.js +1 -0
- package/dist/chunks/delete-column-CHMoJvLA.js +1 -0
- package/dist/chunks/delete-row-CI3hNsZF.js +1 -0
- package/dist/chunks/details-C1d8AweL.js +1 -0
- package/dist/chunks/diagrams-BM7f8Hww.js +1 -0
- package/dist/chunks/dialog-BnThXCWu.js +1 -0
- package/dist/chunks/download-BQbssS62.js +1 -0
- package/dist/chunks/duplicate-BZnVSQFI.js +1 -0
- package/dist/chunks/echarts--CrLLrqK.js +1 -0
- package/dist/chunks/edit-BU7Znarl.js +1 -0
- package/dist/chunks/editor-scroll-CH3ZXFEC.js +1 -0
- package/dist/chunks/embed-D5OUIJIb.js +1 -0
- package/dist/chunks/emoji-CfG5eQor.js +1 -0
- package/dist/chunks/emoji-remove-D7X2J_pD.js +1 -0
- package/dist/chunks/file-BwWjS162.js +1 -0
- package/dist/chunks/file-NWFwbEfb.js +1 -0
- package/dist/chunks/fix-ZyIVHkwS.js +1 -0
- package/dist/chunks/font-family-CjRNj3c-.js +1 -0
- package/dist/chunks/font-size-CrQIO90J.js +1 -0
- package/dist/chunks/footer-BGyVHmXa.js +1 -0
- package/dist/chunks/footnote-Cn1TpCIc.js +1 -0
- package/dist/chunks/format-painter-D7T03Op2.js +1 -0
- package/dist/chunks/fullscreen-DbG5eL7F.js +1 -0
- package/dist/chunks/hard-break-lDnyWngX.js +1 -0
- package/dist/chunks/header-IhIcBDsi.js +1 -0
- package/dist/chunks/heading-CnhWTg8v.js +1 -0
- package/dist/chunks/highlight-C1-tVYwz.js +1 -0
- package/dist/chunks/history-record-BccG7Xr0.js +2 -0
- package/dist/chunks/hr-ABHyxX8G.js +1 -0
- package/dist/chunks/html-xidra7UB.js +1 -0
- package/dist/chunks/i18n-hQyxfD7_.js +5 -0
- package/dist/chunks/icon-D4BzC_KU.js +1 -0
- package/dist/chunks/image-B3BIUefa.js +1 -0
- package/dist/chunks/image-DIF0OiGH.js +1 -0
- package/dist/chunks/image-resizer-DI5dQsWL.js +1 -0
- package/dist/chunks/indent-DmZgQbne.js +1 -0
- package/dist/chunks/index-B0qeXfXM.js +1 -0
- package/dist/chunks/index-B7ezl8la.js +1 -0
- package/dist/chunks/index-DB4X4foC.js +1 -0
- package/dist/chunks/index-DDQ58xAl.js +1 -0
- package/dist/chunks/index-DSxva9gK.js +1 -0
- package/dist/chunks/index-DTsjZpBR.js +3 -0
- package/dist/chunks/index-Dl16_5Ga.js +1 -0
- package/dist/chunks/input-Cmbl9ycs.js +1 -0
- package/dist/chunks/insert-CBKLBcgd.js +1 -0
- package/dist/chunks/italic-DDov0JhD.js +1 -0
- package/dist/chunks/letter-spacing-XN7tot45.js +1 -0
- package/dist/chunks/line-height-DnkFL2Le.js +1 -0
- package/dist/chunks/line-number-Dy4fgJnc.js +1 -0
- package/dist/chunks/link-DQkXWKsV.js +1 -0
- package/dist/chunks/load-resource-DgkZV52W.js +1 -0
- package/dist/chunks/locale-C7l3TK_C.js +1 -0
- package/dist/chunks/margin-DZ6aGElI.js +1 -0
- package/dist/chunks/margin-DbGENlKn.js +1 -0
- package/dist/chunks/markdown-sCZ1k8eH.js +1 -0
- package/dist/chunks/math-C4D8Aloc.js +1 -0
- package/dist/chunks/math-DkDGgpfC.js +1 -0
- package/dist/chunks/mention-DzuNysNP.js +1 -0
- package/dist/chunks/mentions-D1AaJTuX.js +1 -0
- package/dist/chunks/menus-DkIRsvVB.js +1 -0
- package/dist/chunks/merge-cells-CdCOEOpL.js +1 -0
- package/dist/chunks/mermaid-CeJuDnTt.js +2 -0
- package/dist/chunks/mind-map-B8Ep-Bgc.js +1 -0
- package/dist/chunks/modal-C74zGRb1.js +1 -0
- package/dist/chunks/next-cell-D4oCgtpo.js +1 -0
- package/dist/chunks/node-BNsD5_pO.js +1 -0
- package/dist/chunks/node-view-BtvLsCIq.js +1 -0
- package/dist/chunks/node-view-C-z3oj0k.js +1 -0
- package/dist/chunks/node-view-CBjV65ug.js +1 -0
- package/dist/chunks/node-view-CqFhGDvz.js +1 -0
- package/dist/chunks/node-view-CsG70jor.js +1 -0
- package/dist/chunks/node-view-Cw1LtcLJ.js +1 -0
- package/dist/chunks/node-view-D8s_W1o0.js +1 -0
- package/dist/chunks/node-view-DhXzoQcA.js +1 -0
- package/dist/chunks/node-view-DsQdaAj1.js +1 -0
- package/dist/chunks/node-view-SsT-Zs6P.js +1 -0
- package/dist/chunks/node-view-j1q0uEdL.js +1 -0
- package/dist/chunks/node-view-kqpt80Cn.js +1 -0
- package/dist/chunks/open-BSrMYm2w.js +1 -0
- package/dist/chunks/open-Buzpv6If.js +1 -0
- package/dist/chunks/open-CJ09Ahsf.js +1 -0
- package/dist/chunks/operationAuth.vue_vue_type_script_setup_true_lang-Cqn1ksOr.js +1 -0
- package/dist/chunks/option-box-Dx4Qltcx.js +1 -0
- package/dist/chunks/ordered-list-C2PAaNhi.js +1 -0
- package/dist/chunks/orientation-DXuBvjLa.js +1 -0
- package/dist/chunks/outdent-CvGDlZRv.js +1 -0
- package/dist/chunks/page-BqOSF_Ak.js +1 -0
- package/dist/chunks/page-RfNV_LDj.js +1 -0
- package/dist/chunks/page-options-BtWfq-ao.js +1 -0
- package/dist/chunks/pdf-CecjYeuM.js +1 -0
- package/dist/chunks/player-CIYSGQvp.js +1 -0
- package/dist/chunks/preload-helper-BlTxHScW.js +1 -0
- package/dist/chunks/preview-CFqZ9c_6.js +1 -0
- package/dist/chunks/preview-D7pZ2aIR.js +1 -0
- package/dist/chunks/previous-cell-BkRHmNRc.js +1 -0
- package/dist/chunks/print-CTxEeqZC.js +1 -0
- package/dist/chunks/print-DLFh00TF.js +68 -0
- package/dist/chunks/proportion-LC32q4tQ.js +1 -0
- package/dist/chunks/qrcode-DgtIQ8vB.js +1 -0
- package/dist/chunks/quote-C2YmwcHS.js +1 -0
- package/dist/chunks/redo-mVLGHgiE.js +1 -0
- package/dist/chunks/render.vue_vue_type_script_setup_true_lang-sGvQddve.js +1 -0
- package/dist/chunks/ribbon-BTlruJ6o.js +1 -0
- package/dist/chunks/scrollable-NEHnK6E3.js +1 -0
- package/dist/chunks/search-replace-C-QxDYEE.js +1 -0
- package/dist/chunks/search-replace-SQZer4ug.js +1 -0
- package/dist/chunks/select-CVk2bhdF.js +1 -0
- package/dist/chunks/select-all-CUTkOIEM.js +1 -0
- package/dist/chunks/selection-BIZq2qs_.js +1 -0
- package/dist/chunks/share-CXMDbx3J.js +1 -0
- package/dist/chunks/short-id-DJZHbKNv.js +1 -0
- package/dist/chunks/shortcut-BFtk1iAo.js +1 -0
- package/dist/chunks/shortcuts-B5yodaU0.js +1 -0
- package/dist/chunks/signature-DvSI4fGK.js +1 -0
- package/dist/chunks/size-B8SkKc4o.js +1 -0
- package/dist/chunks/skin-L-I3dHbK.js +1 -0
- package/dist/chunks/split-cell-DS97AZSx.js +1 -0
- package/dist/chunks/state-X-ofkjhe.js +1 -0
- package/dist/chunks/strike-DdJ2RxDi.js +1 -0
- package/dist/chunks/subscript-BQHYftJy.js +1 -0
- package/dist/chunks/superscript-DfBvIzY8.js +1 -0
- package/dist/chunks/symbol-BzJUnQGI.js +1 -0
- package/dist/chunks/tag-ChwaeZ2Y.js +1 -0
- package/dist/chunks/task-list-CFl0tJ8C.js +1 -0
- package/dist/chunks/template-Ox_sJjLt.js +1 -0
- package/dist/chunks/text-BXh5YX5W.js +1 -0
- package/dist/chunks/text-box-NtGpVrop.js +1 -0
- package/dist/chunks/theme-D-xn-kuC.js +1 -0
- package/dist/chunks/toc-Bl4owmo_.js +1 -0
- package/dist/chunks/toc-DfYsz5xN.js +1 -0
- package/dist/chunks/toc-vdoyuw4L.js +1 -0
- package/dist/chunks/tofile-D7Co0CFi.js +1 -0
- package/dist/chunks/toggle-header-cell-DJZAj_HV.js +1 -0
- package/dist/chunks/toggle-header-column-B3piodU4.js +1 -0
- package/dist/chunks/toggle-header-row-Ck912FG0.js +1 -0
- package/dist/chunks/toolbarSelection-IfVwbuDC.js +1 -0
- package/dist/chunks/tooltip-Hk3wzOqG.js +1 -0
- package/dist/chunks/underline--__ksgwM.js +1 -0
- package/dist/chunks/undo-D36oEvmQ.js +1 -0
- package/dist/chunks/unlink-bDvFzxUO.js +1 -0
- package/dist/chunks/video-C3kIrKeJ.js +1 -0
- package/dist/chunks/watermark-BOQfqt_F.js +1 -0
- package/dist/chunks/web-Dy0LCxPV.js +1 -0
- package/dist/chunks/web-page-Bu52V8Ux.js +1 -0
- package/dist/chunks/width-CREo8g06.js +1 -0
- package/dist/chunks/word-wrap-CgEAjND5.js +1 -0
- package/dist/chunks/writing-mode-QdAtr1Oa.js +1 -0
- package/dist/chunks/zoom-CRQJ0GZw.js +1 -0
- package/dist/chunks/zoom-auto-B3OA0TRG.js +1 -0
- package/dist/chunks/zoom-original-B5-bu5K8.js +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/prebuilt/umo-editor/favicon.ico +0 -0
- package/dist/prebuilt/umo-editor/umo-editor.css +1 -0
- package/dist/prebuilt/umo-editor/umo-editor.d.ts +9 -0
- package/dist/prebuilt/umo-editor/umo-editor.js +564 -0
- package/dist/src/api/BasicApi.d.ts +20 -0
- package/dist/src/api/BasicApi.js +1 -0
- package/dist/src/api/DeptInfoApi.d.ts +15 -0
- package/dist/src/api/DeptInfoApi.js +1 -0
- package/dist/src/api/DocumentApi.d.ts +14 -0
- package/dist/src/api/DocumentApi.js +1 -0
- package/dist/src/api/EmployeeInfoApi.d.ts +7 -0
- package/dist/src/api/EmployeeInfoApi.js +1 -0
- package/dist/src/api/SysDictCacheApi.d.ts +13 -0
- package/dist/src/api/SysDictCacheApi.js +1 -0
- package/dist/src/api/SysUserApi.d.ts +22 -0
- package/dist/src/api/SysUserApi.js +1 -0
- package/dist/src/api/framework.d.ts +10 -0
- package/dist/src/api/framework.js +1 -0
- package/dist/src/api/workflow/workflow.d.ts +13 -0
- package/dist/src/api/workflow/workflow.js +1 -0
- package/dist/src/api/workflow/workflowCommentApi.d.ts +14 -0
- package/dist/src/api/workflow/workflowCommentApi.js +1 -0
- package/dist/src/api/workflow/workflowInstApi.d.ts +26 -0
- package/dist/src/api/workflow/workflowInstApi.js +1 -0
- package/dist/src/components/ElCardList.vue.d.ts +32 -0
- package/dist/src/components/ElCardList.vue.js +1 -0
- package/dist/src/components/ElFlex/ElFlex.vue.d.ts +12 -0
- package/dist/src/components/ElFlex/ElFlex.vue.js +1 -0
- package/dist/src/components/ElTotalTools.vue.d.ts +65 -0
- package/dist/src/components/ElTotalTools.vue.js +1 -0
- package/dist/src/components/OperationAuth/operationAuth.vue.d.ts +16 -0
- package/dist/src/components/OperationAuth/operationAuth.vue.js +1 -0
- package/dist/src/components/RichTextEditor/RichTextEditor.vue.d.ts +53 -0
- package/dist/src/components/RichTextEditor/RichTextEditor.vue.js +1 -0
- package/dist/src/components/RichTextEditor/installUmoEditorApp.d.ts +3 -0
- package/dist/src/components/RichTextEditor/installUmoEditorApp.js +24 -0
- package/dist/src/components/RichTextEditor/richTextHtmlUtils.d.ts +17 -0
- package/dist/src/components/RichTextEditor/richTextHtmlUtils.js +1 -0
- package/dist/src/components/Scrollbars/ElScrollbars.vue.d.ts +12 -0
- package/dist/src/components/Scrollbars/ElScrollbars.vue.js +1 -0
- package/dist/src/components/Search/ElIconSearch.vue.d.ts +170 -0
- package/dist/src/components/Search/ElIconSearch.vue.js +1 -0
- package/dist/src/components/Search/ElSearch.vue.d.ts +18 -0
- package/dist/src/components/Search/ElSearch.vue.js +1 -0
- package/dist/src/components/SelectInDicators/SelectInDicators.vue.d.ts +17 -0
- package/dist/src/components/SelectInDicators/SelectInDicators.vue.js +1 -0
- package/dist/src/components/SelectInDicators/api/DataIndicatorsApi.d.ts +16 -0
- package/dist/src/components/SelectInDicators/api/DataIndicatorsApi.js +1 -0
- package/dist/src/components/SelectInDicators/interface/IComIndex.d.ts +25 -0
- package/dist/src/components/SelectInDicators/interface/IComIndex.js +1 -0
- package/dist/src/components/SelectInDicators/interface/IComIndexAttri.d.ts +18 -0
- package/dist/src/components/SelectInDicators/interface/IComIndexAttri.js +1 -0
- package/dist/src/components/Title/ElTitle.vue.d.ts +49 -0
- package/dist/src/components/Title/ElTitle.vue.js +1 -0
- package/dist/src/components/autoToolTip/ElAutoToolTip.vue.d.ts +25 -0
- package/dist/src/components/autoToolTip/ElAutoToolTip.vue.js +1 -0
- package/dist/src/components/baseEcharts/index.vue.d.ts +46 -0
- package/dist/src/components/baseEcharts/index.vue.js +1 -0
- package/dist/src/components/bpmntree/api/modules/role.d.ts +17 -0
- package/dist/src/components/bpmntree/api/modules/role.js +1 -0
- package/dist/src/components/bpmntree/api/modules/user.d.ts +12 -0
- package/dist/src/components/bpmntree/api/modules/user.js +1 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/Operator.vue.d.ts +10 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/Operator.vue.js +1 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/Trigger.vue.d.ts +13 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/Trigger.vue.js +1 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/index.vue.d.ts +28 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/index.vue.js +1 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/type.d.ts +16 -0
- package/dist/src/components/bpmntree/components/AdvancedFilter/type.js +1 -0
- package/dist/src/components/bpmntree/components/FlowIcon/index.d.ts +47 -0
- package/dist/src/components/bpmntree/components/FlowIcon/index.js +1 -0
- package/dist/src/components/bpmntree/components/Render/render.vue.d.ts +10 -0
- package/dist/src/components/bpmntree/components/Render/render.vue.js +1 -0
- package/dist/src/components/bpmntree/components/Render/type.d.ts +12 -0
- package/dist/src/components/bpmntree/components/Render/type.js +1 -0
- package/dist/src/components/bpmntree/components/RoleSelector/RolePicker.vue.d.ts +19 -0
- package/dist/src/components/bpmntree/components/RoleSelector/RolePicker.vue.js +1 -0
- package/dist/src/components/bpmntree/components/RoleSelector/RoleTag.vue.d.ts +15 -0
- package/dist/src/components/bpmntree/components/RoleSelector/RoleTag.vue.js +1 -0
- package/dist/src/components/bpmntree/components/RoleSelector/index.vue.d.ts +19 -0
- package/dist/src/components/bpmntree/components/RoleSelector/index.vue.js +1 -0
- package/dist/src/components/bpmntree/components/UserSelector/UserTag.vue.d.ts +15 -0
- package/dist/src/components/bpmntree/components/UserSelector/UserTag.vue.js +1 -0
- package/dist/src/components/bpmntree/components/UserSelector/index.vue.d.ts +19 -0
- package/dist/src/components/bpmntree/components/UserSelector/index.vue.js +1 -0
- package/dist/src/components/bpmntree/hooks/useDraggableScroll.d.ts +4 -0
- package/dist/src/components/bpmntree/hooks/useDraggableScroll.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/index.vue.d.ts +33 -0
- package/dist/src/components/bpmntree/views/flowDesign/index.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/Add.vue.d.ts +7 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/Add.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ApprovalNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ApprovalNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/CcNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/CcNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ConcurrentNode.vue.d.ts +9 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ConcurrentNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ConditionNode.vue.d.ts +16 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ConditionNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/EndNode.vue.d.ts +13 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/EndNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ExclusiveNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ExclusiveNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/GatewayNode.vue.d.ts +23 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/GatewayNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/InclusiveNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/InclusiveNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/JumpNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/JumpNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/Node.vue.d.ts +35 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/Node.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/NotifyNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/NotifyNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ParallelNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/ParallelNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/PopoverView.vue.d.ts +8 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/PopoverView.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/StartNode.vue.d.ts +12 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/StartNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/TimerNode.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/TimerNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/TreeNode.vue.d.ts +18 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/TreeNode.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/type.d.ts +119 -0
- package/dist/src/components/bpmntree/views/flowDesign/nodes/type.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ApprovalPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ApprovalPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/AssigneePanel.vue.d.ts +19 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/AssigneePanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/CcPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/CcPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ConditionPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ConditionPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/EndPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/EndPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ExecutionListeners.vue.d.ts +16 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ExecutionListeners.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/JumpPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/JumpPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/NotifyPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/NotifyPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ParaPanel.vue.d.ts +12 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/ParaPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/StartPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/StartPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/TaskListeners.vue.d.ts +16 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/TaskListeners.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/TimerPanel.vue.d.ts +6 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/TimerPanel.vue.js +1 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/index.vue.d.ts +13 -0
- package/dist/src/components/bpmntree/views/flowDesign/panels/index.vue.js +1 -0
- package/dist/src/components/bpmntree/views/view.index.vue.d.ts +11 -0
- package/dist/src/components/bpmntree/views/view.index.vue.js +1 -0
- package/dist/src/components/business/comp.selectUser.vue.d.ts +28 -0
- package/dist/src/components/business/comp.selectUser.vue.js +1 -0
- package/dist/src/components/business/comp.userForm.vue.d.ts +24 -0
- package/dist/src/components/business/comp.userForm.vue.js +1 -0
- package/dist/src/components/business/userSelect.vue.d.ts +110 -0
- package/dist/src/components/business/userSelect.vue.js +1 -0
- package/dist/src/components/icon/ElIconBtn.vue.d.ts +119 -0
- package/dist/src/components/icon/ElIconBtn.vue.js +1 -0
- package/dist/src/components/icon/ElIcons.vue.d.ts +10 -0
- package/dist/src/components/icon/ElIcons.vue.js +1 -0
- package/dist/src/components/kFrame/IframeOptions.d.ts +36 -0
- package/dist/src/components/kFrame/IframeOptions.js +1 -0
- package/dist/src/components/kFrame/KFrame.vue.d.ts +32 -0
- package/dist/src/components/kFrame/KFrame.vue.js +1 -0
- package/dist/src/components/tooltip/index.d.ts +4 -0
- package/dist/src/components/tooltip/index.js +1 -0
- package/dist/src/components/tooltip/src/tooltip.d.ts +55 -0
- package/dist/src/components/tooltip/src/tooltip.js +1 -0
- package/dist/src/components/upload/CustomElUpload.vue.d.ts +247 -0
- package/dist/src/components/upload/CustomElUpload.vue.js +1 -0
- package/dist/src/components/upload/DocxJsViewer.vue.d.ts +32 -0
- package/dist/src/components/upload/DocxJsViewer.vue.js +1 -0
- package/dist/src/components/upload/ElUploads.vue.d.ts +212 -0
- package/dist/src/components/upload/ElUploads.vue.js +1 -0
- package/dist/src/components/upload/ExcelJsViewer.vue.d.ts +33 -0
- package/dist/src/components/upload/ExcelJsViewer.vue.js +1 -0
- package/dist/src/components/upload/FileView.vue.d.ts +59 -0
- package/dist/src/components/upload/FileView.vue.js +1 -0
- package/dist/src/components/upload/FileViewComponents.vue.d.ts +5 -0
- package/dist/src/components/upload/FileViewComponents.vue.js +1 -0
- package/dist/src/components/upload/OfficePreview.vue.d.ts +62 -0
- package/dist/src/components/upload/OfficePreview.vue.js +1 -0
- package/dist/src/components/upload/OfficePreviewHeaderBar.vue.d.ts +73 -0
- package/dist/src/components/upload/OfficePreviewHeaderBar.vue.js +1 -0
- package/dist/src/components/upload/OfficePreviewToolbar.vue.d.ts +41 -0
- package/dist/src/components/upload/OfficePreviewToolbar.vue.js +1 -0
- package/dist/src/components/upload/PdfJsViewer.vue.d.ts +49 -0
- package/dist/src/components/upload/PdfJsViewer.vue.js +1 -0
- package/dist/src/components/vxeGrid/index.vue.d.ts +9 -0
- package/dist/src/components/vxeGrid/index.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxeButton.vue.d.ts +27 -0
- package/dist/src/components/vxeReplace/VxeButton.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxeCheckbox.vue.d.ts +22 -0
- package/dist/src/components/vxeReplace/VxeCheckbox.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxeForm.vue.d.ts +17 -0
- package/dist/src/components/vxeReplace/VxeForm.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxeInput.vue.d.ts +16 -0
- package/dist/src/components/vxeReplace/VxeInput.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxeLoading.vue.d.ts +17 -0
- package/dist/src/components/vxeReplace/VxeLoading.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxeModal.vue.d.ts +37 -0
- package/dist/src/components/vxeReplace/VxeModal.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxePager.vue.d.ts +24 -0
- package/dist/src/components/vxeReplace/VxePager.vue.js +1 -0
- package/dist/src/components/vxeReplace/VxeSelect.vue.d.ts +17 -0
- package/dist/src/components/vxeReplace/VxeSelect.vue.js +1 -0
- package/dist/src/components/vxeReplace/index.d.ts +11 -0
- package/dist/src/components/vxeReplace/index.js +1 -0
- package/dist/src/components/workflow/TaskOperation.vue.d.ts +91 -0
- package/dist/src/components/workflow/TaskOperation.vue.js +1 -0
- package/dist/src/components/workflow/WorkflowTodoDialog.vue.d.ts +2 -0
- package/dist/src/components/workflow/WorkflowTodoDialog.vue.js +1 -0
- package/dist/src/components/workflow/components/AddOrMinusMultiDialog.vue.d.ts +8 -0
- package/dist/src/components/workflow/components/AddOrMinusMultiDialog.vue.js +1 -0
- package/dist/src/components/workflow/components/CheckDialog.vue.d.ts +12 -0
- package/dist/src/components/workflow/components/CheckDialog.vue.js +1 -0
- package/dist/src/components/workflow/components/ProcessDetailComp.vue.d.ts +22 -0
- package/dist/src/components/workflow/components/ProcessDetailComp.vue.js +1 -0
- package/dist/src/components/workflow/components/ProcessDetailDialog.vue.d.ts +15 -0
- package/dist/src/components/workflow/components/ProcessDetailDialog.vue.js +1 -0
- package/dist/src/components/workflow/components/ProcessInstance.vue.d.ts +13 -0
- package/dist/src/components/workflow/components/ProcessInstance.vue.js +1 -0
- package/dist/src/components/workflow/components/ProcessInstanceStep.vue.d.ts +17 -0
- package/dist/src/components/workflow/components/ProcessInstanceStep.vue.js +2 -0
- package/dist/src/components/workflow/components/SelectAssigneeDialog.vue.d.ts +8 -0
- package/dist/src/components/workflow/components/SelectAssigneeDialog.vue.js +1 -0
- package/dist/src/components/workflow/components/SelectReturnActivityDialog.vue.d.ts +8 -0
- package/dist/src/components/workflow/components/SelectReturnActivityDialog.vue.js +1 -0
- package/dist/src/config/ElementPlusConfig.d.ts +14 -0
- package/dist/src/config/ElementPlusConfig.js +1 -0
- package/dist/src/config/VxeTableConfig.d.ts +14 -0
- package/dist/src/config/VxeTableConfig.js +1 -0
- package/dist/src/directives/vTrack.d.ts +9 -0
- package/dist/src/directives/vTrack.js +1 -0
- package/dist/src/hooks/createDialogHooks.d.ts +38 -0
- package/dist/src/hooks/createDialogHooks.js +24 -0
- package/dist/src/hooks/useComputed.d.ts +5 -0
- package/dist/src/hooks/useComputed.js +1 -0
- package/dist/src/hooks/useDictHooks.d.ts +14 -0
- package/dist/src/hooks/useDictHooks.js +1 -0
- package/dist/src/hooks/useEcharts.d.ts +15 -0
- package/dist/src/hooks/useEcharts.js +1 -0
- package/dist/src/hooks/useFileView.d.ts +4 -0
- package/dist/src/hooks/useFileView.js +1 -0
- package/dist/src/hooks/useListenerHooks.d.ts +5 -0
- package/dist/src/hooks/useListenerHooks.js +1 -0
- package/dist/src/hooks/useMessageHooks.d.ts +10 -0
- package/dist/src/hooks/useMessageHooks.js +1 -0
- package/dist/src/hooks/useOpenNewMenu.d.ts +5 -0
- package/dist/src/hooks/useOpenNewMenu.js +1 -0
- package/dist/src/hooks/usePermissionHooks.d.ts +11 -0
- package/dist/src/hooks/usePermissionHooks.js +1 -0
- package/dist/src/hooks/usePermissionToolHooks.d.ts +9 -0
- package/dist/src/hooks/usePermissionToolHooks.js +1 -0
- package/dist/src/hooks/useResetRefHooks.d.ts +8 -0
- package/dist/src/hooks/useResetRefHooks.js +1 -0
- package/dist/src/hooks/userWorkflowHooks.d.ts +109 -0
- package/dist/src/hooks/userWorkflowHooks.js +1 -0
- package/dist/src/hooks/workflowTodo.d.ts +9 -0
- package/dist/src/hooks/workflowTodo.js +1 -0
- package/dist/src/hooks/workflowTodo2.d.ts +3 -0
- package/dist/src/hooks/workflowTodo2.js +1 -0
- package/dist/src/interface/BaseEntity.d.ts +16 -0
- package/dist/src/interface/BaseEntity.js +1 -0
- package/dist/src/interface/IMdmDept.d.ts +58 -0
- package/dist/src/interface/IMdmDept.js +1 -0
- package/dist/src/interface/IMdmEmployee.d.ts +129 -0
- package/dist/src/interface/IMdmEmployee.js +1 -0
- package/dist/src/interface/IMdmEmployeeQuery.d.ts +20 -0
- package/dist/src/interface/IMdmEmployeeQuery.js +1 -0
- package/dist/src/interface/IMdmOrg.d.ts +16 -0
- package/dist/src/interface/IMdmOrg.js +1 -0
- package/dist/src/interface/IMdmOrgQuery.d.ts +12 -0
- package/dist/src/interface/IMdmOrgQuery.js +1 -0
- package/dist/src/interface/IOrgDeptInfo.d.ts +11 -0
- package/dist/src/interface/IOrgDeptInfo.js +1 -0
- package/dist/src/interface/ISortList.d.ts +5 -0
- package/dist/src/interface/ISortList.js +1 -0
- package/dist/src/interface/ISysDictDataCacheVo.d.ts +28 -0
- package/dist/src/interface/ISysDictDataCacheVo.js +1 -0
- package/dist/src/interface/ISysDictType.d.ts +19 -0
- package/dist/src/interface/ISysDictType.js +1 -0
- package/dist/src/interface/ISysMenuDataVo.d.ts +22 -0
- package/dist/src/interface/ISysMenuDataVo.js +1 -0
- package/dist/src/interface/ISysMenuInfoVo.d.ts +82 -0
- package/dist/src/interface/ISysMenuInfoVo.js +1 -0
- package/dist/src/interface/ISysMenuOperationVo.d.ts +21 -0
- package/dist/src/interface/ISysMenuOperationVo.js +1 -0
- package/dist/src/interface/ISysUploadFiles.d.ts +18 -0
- package/dist/src/interface/ISysUploadFiles.js +1 -0
- package/dist/src/interface/ISysUserInfo.d.ts +41 -0
- package/dist/src/interface/ISysUserInfo.js +1 -0
- package/dist/src/interface/ITpReviewBatch.d.ts +41 -0
- package/dist/src/interface/ITpReviewBatch.js +1 -0
- package/dist/src/interface/IUserBaseInfo.d.ts +72 -0
- package/dist/src/interface/IUserBaseInfo.js +1 -0
- package/dist/src/interface/IUserPermissionVo.d.ts +44 -0
- package/dist/src/interface/IUserPermissionVo.js +1 -0
- package/dist/src/interface/IVxeTable.d.ts +6 -0
- package/dist/src/interface/IVxeTable.js +1 -0
- package/dist/src/interface/Message.d.ts +71 -0
- package/dist/src/interface/Message.js +1 -0
- package/dist/src/interface/PageData.d.ts +17 -0
- package/dist/src/interface/PageData.js +1 -0
- package/dist/src/interface/ResponseData.d.ts +16 -0
- package/dist/src/interface/ResponseData.js +1 -0
- package/dist/src/interface/dictMapType.d.ts +10 -0
- package/dist/src/interface/dictMapType.js +1 -0
- package/dist/src/interface/enum/FlexEnum.d.ts +84 -0
- package/dist/src/interface/enum/FlexEnum.js +1 -0
- package/dist/src/interface/enum/MessageEnum.d.ts +40 -0
- package/dist/src/interface/enum/MessageEnum.js +1 -0
- package/dist/src/interface/workflow/IWfNodeLastApprovalVo.d.ts +22 -0
- package/dist/src/interface/workflow/IWfNodeLastApprovalVo.js +1 -0
- package/dist/src/interface/workflow/IWfProcessDefVo.d.ts +16 -0
- package/dist/src/interface/workflow/IWfProcessDefVo.js +1 -0
- package/dist/src/interface/workflow/IWfReturnNodeVo.d.ts +15 -0
- package/dist/src/interface/workflow/IWfReturnNodeVo.js +1 -0
- package/dist/src/interface/workflow/IWfTaskAskVo.d.ts +64 -0
- package/dist/src/interface/workflow/IWfTaskAskVo.js +1 -0
- package/dist/src/interface/workflow/IWfTaskQueryVo.d.ts +32 -0
- package/dist/src/interface/workflow/IWfTaskQueryVo.js +1 -0
- package/dist/src/interface/workflow/IWfTaskUsersVo.d.ts +20 -0
- package/dist/src/interface/workflow/IWfTaskUsersVo.js +1 -0
- package/dist/src/interface/workflow/IWfTaskVo.d.ts +163 -0
- package/dist/src/interface/workflow/IWfTaskVo.js +1 -0
- package/dist/src/interface/workflow/workflow.d.ts +20 -0
- package/dist/src/interface/workflow/workflow.js +1 -0
- package/dist/src/mixin/globalMixin.d.ts +8 -0
- package/dist/src/mixin/globalMixin.js +1 -0
- package/dist/src/packages/index.d.ts +336 -0
- package/dist/src/packages/index.js +1 -0
- package/dist/src/packages/text.vue.d.ts +2 -0
- package/dist/src/packages/text.vue.js +1 -0
- package/dist/src/plugins/echartsConfig.d.ts +8 -0
- package/dist/src/plugins/echartsConfig.js +1 -0
- package/dist/src/plugins/plugins.d.ts +4 -0
- package/dist/src/plugins/plugins.js +1 -0
- package/dist/src/plugins/renderDialog.d.ts +8 -0
- package/dist/src/plugins/renderDialog.js +1 -0
- package/dist/src/stores/dictStore.d.ts +62 -0
- package/dist/src/stores/dictStore.js +1 -0
- package/dist/src/stores/messageStore.d.ts +30 -0
- package/dist/src/stores/messageStore.js +1 -0
- package/dist/src/stores/permissionStore.d.ts +56 -0
- package/dist/src/stores/permissionStore.js +1 -0
- package/dist/src/stores/storeConfig.d.ts +2 -0
- package/dist/src/stores/storeConfig.js +1 -0
- package/dist/src/stores/userInfoStore.d.ts +13 -0
- package/dist/src/stores/userInfoStore.js +1 -0
- package/dist/src/types/vxe-pc-ui/all.d.ts +540 -0
- package/dist/src/types/vxe-pc-ui/components/alert.d.ts +87 -0
- package/dist/src/types/vxe-pc-ui/components/anchor-link.d.ts +91 -0
- package/dist/src/types/vxe-pc-ui/components/anchor.d.ts +104 -0
- package/dist/src/types/vxe-pc-ui/components/avatar.d.ts +88 -0
- package/dist/src/types/vxe-pc-ui/components/backtop.d.ts +122 -0
- package/dist/src/types/vxe-pc-ui/components/badge.d.ts +76 -0
- package/dist/src/types/vxe-pc-ui/components/breadcrumb-item.d.ts +80 -0
- package/dist/src/types/vxe-pc-ui/components/breadcrumb.d.ts +87 -0
- package/dist/src/types/vxe-pc-ui/components/button-group.d.ts +120 -0
- package/dist/src/types/vxe-pc-ui/components/button.d.ts +330 -0
- package/dist/src/types/vxe-pc-ui/components/calendar.d.ts +264 -0
- package/dist/src/types/vxe-pc-ui/components/card.d.ts +93 -0
- package/dist/src/types/vxe-pc-ui/components/carousel-item.d.ts +75 -0
- package/dist/src/types/vxe-pc-ui/components/carousel.d.ts +134 -0
- package/dist/src/types/vxe-pc-ui/components/cascader.d.ts +382 -0
- package/dist/src/types/vxe-pc-ui/components/checkbox-button.d.ts +114 -0
- package/dist/src/types/vxe-pc-ui/components/checkbox-group.d.ts +154 -0
- package/dist/src/types/vxe-pc-ui/components/checkbox.d.ts +128 -0
- package/dist/src/types/vxe-pc-ui/components/col.d.ts +80 -0
- package/dist/src/types/vxe-pc-ui/components/colgroup.d.ts +69 -0
- package/dist/src/types/vxe-pc-ui/components/collapse-pane.d.ts +89 -0
- package/dist/src/types/vxe-pc-ui/components/collapse.d.ts +133 -0
- package/dist/src/types/vxe-pc-ui/components/color-picker.d.ts +276 -0
- package/dist/src/types/vxe-pc-ui/components/column.d.ts +850 -0
- package/dist/src/types/vxe-pc-ui/components/context-menu.d.ts +289 -0
- package/dist/src/types/vxe-pc-ui/components/countdown.d.ts +112 -0
- package/dist/src/types/vxe-pc-ui/components/date-panel.d.ts +331 -0
- package/dist/src/types/vxe-pc-ui/components/date-picker.d.ts +370 -0
- package/dist/src/types/vxe-pc-ui/components/date-range-picker.d.ts +367 -0
- package/dist/src/types/vxe-pc-ui/components/drawer.d.ts +311 -0
- package/dist/src/types/vxe-pc-ui/components/empty.d.ts +78 -0
- package/dist/src/types/vxe-pc-ui/components/flow-design.d.ts +85 -0
- package/dist/src/types/vxe-pc-ui/components/flow-view.d.ts +85 -0
- package/dist/src/types/vxe-pc-ui/components/form-design.d.ts +376 -0
- package/dist/src/types/vxe-pc-ui/components/form-gather.d.ts +124 -0
- package/dist/src/types/vxe-pc-ui/components/form-group.d.ts +77 -0
- package/dist/src/types/vxe-pc-ui/components/form-item.d.ts +411 -0
- package/dist/src/types/vxe-pc-ui/components/form-view.d.ts +183 -0
- package/dist/src/types/vxe-pc-ui/components/form.d.ts +487 -0
- package/dist/src/types/vxe-pc-ui/components/gantt-module/gantt-view.d.ts +177 -0
- package/dist/src/types/vxe-pc-ui/components/gantt-module/index.d.ts +1 -0
- package/dist/src/types/vxe-pc-ui/components/gantt-plugins/extend-gantt-chart.d.ts +131 -0
- package/dist/src/types/vxe-pc-ui/components/gantt-plugins/index.d.ts +1 -0
- package/dist/src/types/vxe-pc-ui/components/gantt.d.ts +1240 -0
- package/dist/src/types/vxe-pc-ui/components/grid.d.ts +1248 -0
- package/dist/src/types/vxe-pc-ui/components/icon-picker.d.ts +231 -0
- package/dist/src/types/vxe-pc-ui/components/icon.d.ts +87 -0
- package/dist/src/types/vxe-pc-ui/components/image-group.d.ts +127 -0
- package/dist/src/types/vxe-pc-ui/components/image-preview.d.ts +167 -0
- package/dist/src/types/vxe-pc-ui/components/image.d.ts +173 -0
- package/dist/src/types/vxe-pc-ui/components/input.d.ts +435 -0
- package/dist/src/types/vxe-pc-ui/components/layout-aside.d.ts +88 -0
- package/dist/src/types/vxe-pc-ui/components/layout-body.d.ts +91 -0
- package/dist/src/types/vxe-pc-ui/components/layout-container.d.ts +73 -0
- package/dist/src/types/vxe-pc-ui/components/layout-footer.d.ts +73 -0
- package/dist/src/types/vxe-pc-ui/components/layout-header.d.ts +69 -0
- package/dist/src/types/vxe-pc-ui/components/link.d.ts +111 -0
- package/dist/src/types/vxe-pc-ui/components/list-design.d.ts +190 -0
- package/dist/src/types/vxe-pc-ui/components/list-view.d.ts +199 -0
- package/dist/src/types/vxe-pc-ui/components/list.d.ts +663 -0
- package/dist/src/types/vxe-pc-ui/components/loading.d.ts +103 -0
- package/dist/src/types/vxe-pc-ui/components/mention.d.ts +77 -0
- package/dist/src/types/vxe-pc-ui/components/menu.d.ts +275 -0
- package/dist/src/types/vxe-pc-ui/components/modal.d.ts +554 -0
- package/dist/src/types/vxe-pc-ui/components/notice-bar.d.ts +106 -0
- package/dist/src/types/vxe-pc-ui/components/number-input.d.ts +320 -0
- package/dist/src/types/vxe-pc-ui/components/optgroup.d.ts +88 -0
- package/dist/src/types/vxe-pc-ui/components/option.d.ts +103 -0
- package/dist/src/types/vxe-pc-ui/components/pager.d.ts +335 -0
- package/dist/src/types/vxe-pc-ui/components/password-input.d.ts +142 -0
- package/dist/src/types/vxe-pc-ui/components/print-page-break.d.ts +69 -0
- package/dist/src/types/vxe-pc-ui/components/print.d.ts +206 -0
- package/dist/src/types/vxe-pc-ui/components/pulldown.d.ts +239 -0
- package/dist/src/types/vxe-pc-ui/components/radio-button.d.ts +118 -0
- package/dist/src/types/vxe-pc-ui/components/radio-group.d.ts +153 -0
- package/dist/src/types/vxe-pc-ui/components/radio.d.ts +134 -0
- package/dist/src/types/vxe-pc-ui/components/rate.d.ts +88 -0
- package/dist/src/types/vxe-pc-ui/components/result.d.ts +84 -0
- package/dist/src/types/vxe-pc-ui/components/row.d.ts +79 -0
- package/dist/src/types/vxe-pc-ui/components/segmented.d.ts +123 -0
- package/dist/src/types/vxe-pc-ui/components/select.d.ts +556 -0
- package/dist/src/types/vxe-pc-ui/components/slider.d.ts +126 -0
- package/dist/src/types/vxe-pc-ui/components/split-pane.d.ts +133 -0
- package/dist/src/types/vxe-pc-ui/components/split.d.ts +312 -0
- package/dist/src/types/vxe-pc-ui/components/splitter-panel.d.ts +105 -0
- package/dist/src/types/vxe-pc-ui/components/splitter.d.ts +293 -0
- package/dist/src/types/vxe-pc-ui/components/steps.d.ts +68 -0
- package/dist/src/types/vxe-pc-ui/components/switch.d.ts +133 -0
- package/dist/src/types/vxe-pc-ui/components/tab-pane.d.ts +114 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/custom.d.ts +123 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/edit.d.ts +243 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/export.d.ts +96 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/filter.d.ts +140 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/index.d.ts +7 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/keyboard.d.ts +26 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/menu.d.ts +28 -0
- package/dist/src/types/vxe-pc-ui/components/table-module/validator.d.ts +53 -0
- package/dist/src/types/vxe-pc-ui/components/table-plugins/extend-cell-area.d.ts +781 -0
- package/dist/src/types/vxe-pc-ui/components/table-plugins/extend-pivot-table.d.ts +58 -0
- package/dist/src/types/vxe-pc-ui/components/table-plugins/filters-combination.d.ts +15 -0
- package/dist/src/types/vxe-pc-ui/components/table-plugins/filters-complex-input.d.ts +9 -0
- package/dist/src/types/vxe-pc-ui/components/table-plugins/index.d.ts +4 -0
- package/dist/src/types/vxe-pc-ui/components/table-select.d.ts +226 -0
- package/dist/src/types/vxe-pc-ui/components/table-transfer.d.ts +84 -0
- package/dist/src/types/vxe-pc-ui/components/table.d.ts +7688 -0
- package/dist/src/types/vxe-pc-ui/components/tabs.d.ts +332 -0
- package/dist/src/types/vxe-pc-ui/components/tag.d.ts +114 -0
- package/dist/src/types/vxe-pc-ui/components/text-ellipsis.d.ts +112 -0
- package/dist/src/types/vxe-pc-ui/components/text.d.ts +122 -0
- package/dist/src/types/vxe-pc-ui/components/textarea.d.ts +268 -0
- package/dist/src/types/vxe-pc-ui/components/timeline-item.d.ts +75 -0
- package/dist/src/types/vxe-pc-ui/components/timeline.d.ts +77 -0
- package/dist/src/types/vxe-pc-ui/components/tip.d.ts +83 -0
- package/dist/src/types/vxe-pc-ui/components/toolbar.d.ts +336 -0
- package/dist/src/types/vxe-pc-ui/components/tooltip.d.ts +196 -0
- package/dist/src/types/vxe-pc-ui/components/tour.d.ts +77 -0
- package/dist/src/types/vxe-pc-ui/components/transfer.d.ts +84 -0
- package/dist/src/types/vxe-pc-ui/components/tree-select.d.ts +376 -0
- package/dist/src/types/vxe-pc-ui/components/tree.d.ts +1000 -0
- package/dist/src/types/vxe-pc-ui/components/upload.d.ts +518 -0
- package/dist/src/types/vxe-pc-ui/components/watermark.d.ts +120 -0
- package/dist/src/types/vxe-pc-ui/handles/form-design.d.ts +50 -0
- package/dist/src/types/vxe-pc-ui/handles/index.d.ts +3 -0
- package/dist/src/types/vxe-pc-ui/handles/list-design.d.ts +2 -0
- package/dist/src/types/vxe-pc-ui/handles/table.d.ts +15 -0
- package/dist/src/types/vxe-pc-ui/index.d.ts +8 -0
- package/dist/src/types/vxe-pc-ui/ui/commands.d.ts +57 -0
- package/dist/src/types/vxe-pc-ui/ui/formats.d.ts +62 -0
- package/dist/src/types/vxe-pc-ui/ui/global-config.d.ts +258 -0
- package/dist/src/types/vxe-pc-ui/ui/global-icon.d.ts +311 -0
- package/dist/src/types/vxe-pc-ui/ui/hooks.d.ts +13 -0
- package/dist/src/types/vxe-pc-ui/ui/index.d.ts +98 -0
- package/dist/src/types/vxe-pc-ui/ui/interceptor.d.ts +52 -0
- package/dist/src/types/vxe-pc-ui/ui/menus.d.ts +89 -0
- package/dist/src/types/vxe-pc-ui/ui/renderer.d.ts +1041 -0
- package/dist/src/types/vxe-pc-ui/ui/validators.d.ts +38 -0
- package/dist/src/types/vxe-pc-ui-shim.d.ts +43 -0
- package/dist/src/utils/AxiosConfig.d.ts +2 -0
- package/dist/src/utils/AxiosConfig.js +1 -0
- package/dist/src/utils/FrameworkUtils.d.ts +58 -0
- package/dist/src/utils/FrameworkUtils.js +1 -0
- package/dist/src/utils/applyObjectHasOwnPolyfill.d.ts +2 -0
- package/dist/src/utils/applyObjectHasOwnPolyfill.js +1 -0
- package/dist/src/utils/buildUploadHeaders.d.ts +23 -0
- package/dist/src/utils/buildUploadHeaders.js +1 -0
- package/dist/src/utils/commonUtils.d.ts +71 -0
- package/dist/src/utils/commonUtils.js +1 -0
- package/dist/src/utils/docxPreviewUtil.d.ts +10 -0
- package/dist/src/utils/docxPreviewUtil.js +1 -0
- package/dist/src/utils/encrypt.d.ts +5 -0
- package/dist/src/utils/encrypt.js +1 -0
- package/dist/src/utils/excelPreviewUtil.d.ts +41 -0
- package/dist/src/utils/excelPreviewUtil.js +1 -0
- package/dist/src/utils/modules.d.ts +8 -0
- package/dist/src/utils/modules.js +2 -0
- package/dist/src/utils/officePreviewUtil.d.ts +52 -0
- package/dist/src/utils/officePreviewUtil.js +1 -0
- package/dist/src/utils/patchWujiePopperCoordinates.d.ts +2 -0
- package/dist/src/utils/patchWujiePopperCoordinates.js +13 -0
- package/dist/src/utils/pdfSearchUtil.d.ts +30 -0
- package/dist/src/utils/pdfSearchUtil.js +1 -0
- package/dist/src/utils/request.d.ts +27 -0
- package/dist/src/utils/request.js +1 -0
- package/dist/src/utils/routeMetaParams.d.ts +16 -0
- package/dist/src/utils/routeMetaParams.js +1 -0
- package/dist/src/utils/toSameOriginFileUrl.d.ts +5 -0
- package/dist/src/utils/toSameOriginFileUrl.js +1 -0
- package/dist/src/utils/tree.d.ts +8 -0
- package/dist/src/utils/tree.js +1 -0
- package/dist/src/utils/uploadAccept.d.ts +11 -0
- package/dist/src/utils/uploadAccept.js +1 -0
- package/dist/src/utils/userSessionStorage.d.ts +5 -0
- package/dist/src/utils/userSessionStorage.js +1 -0
- package/dist/styles/core.css +1 -0
- package/dist/styles/element-ui.css +1 -0
- package/dist/vite/highlightJsLibVirtual.d.ts +2 -0
- package/dist/vite/highlightJsLibVirtual.js +1 -0
- package/dist/vite/nodeModulesResolve.d.ts +13 -0
- package/dist/vite/nodeModulesResolve.js +1 -0
- package/dist/vite/projectRoot.d.ts +3 -0
- package/dist/vite/projectRoot.js +1 -0
- package/dist/vite/tiptapUmoResolve.d.ts +4 -0
- package/dist/vite/tiptapUmoResolve.js +1 -0
- package/dist/vite/tiptapVueRendererFix.d.ts +4 -0
- package/dist/vite/tiptapVueRendererFix.js +9 -0
- package/dist/vite/umoCjsVirtual.d.ts +2 -0
- package/dist/vite/umoCjsVirtual.js +5 -0
- package/dist/vite/umoIntegration.d.ts +18 -0
- package/dist/vite/umoIntegration.js +1 -0
- package/dist/vite/yjsPeerResolve.d.ts +3 -0
- package/dist/vite/yjsPeerResolve.js +1 -0
- package/package.json +222 -0
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComputedRef } from 'vue'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, ValueOf, VxeComponentSizeType } from '@vxe-ui/core'
|
|
3
|
+
import { VxeFormDesignDefines } from './form-design'
|
|
4
|
+
import { VxeFormProps, VxeFormPropTypes, VxeFormDefines } from './form'
|
|
5
|
+
|
|
6
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
7
|
+
|
|
8
|
+
export declare const VxeFormView: DefineVxeComponentApp<VxeFormViewProps, VxeFormViewEventProps, VxeFormViewSlots, VxeFormViewMethods>
|
|
9
|
+
export type VxeFormViewComponent = DefineVxeComponentOptions<VxeFormViewProps, VxeFormViewEventProps>
|
|
10
|
+
|
|
11
|
+
export type VxeFormViewInstance = DefineVxeComponentInstance<VxeFormViewProps, VxeFormViewConstructor>
|
|
12
|
+
|
|
13
|
+
export interface VxeFormViewConstructor extends VxeComponentBaseOptions, VxeFormViewMethods {
|
|
14
|
+
props: VxeFormViewProps
|
|
15
|
+
context: SetupContext<VxeFormViewEmits>
|
|
16
|
+
reactData: FormViewReactData
|
|
17
|
+
getRefMaps(): FormViewPrivateRef
|
|
18
|
+
getComputeMaps(): FormViewPrivateComputed
|
|
19
|
+
renderVN: RenderFunction
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface FormViewPrivateRef {
|
|
23
|
+
refElem: Ref<HTMLDivElement | undefined>
|
|
24
|
+
}
|
|
25
|
+
export interface VxeFormViewPrivateRef extends FormViewPrivateRef { }
|
|
26
|
+
|
|
27
|
+
export namespace VxeFormViewPropTypes {
|
|
28
|
+
export type ModelValue = VxeFormPropTypes.Data
|
|
29
|
+
export type Config = null | VxeFormDesignDefines.FormDesignConfig
|
|
30
|
+
export type Readonly = boolean
|
|
31
|
+
export type Disabled = boolean
|
|
32
|
+
export type ViewRender = {
|
|
33
|
+
name?: string
|
|
34
|
+
}
|
|
35
|
+
export type FormOptions<D = any> = Omit<VxeFormProps<D>, 'data' | 'items'>
|
|
36
|
+
export type CreateFormConfig = (params: VxeFormViewDefines.CreateFormConfigParams) => VxeFormProps
|
|
37
|
+
export type Size = VxeComponentSizeType
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type VxeFormViewProps = {
|
|
41
|
+
modelValue?: VxeFormViewPropTypes.ModelValue
|
|
42
|
+
config?: VxeFormViewPropTypes.Config
|
|
43
|
+
readonly?: VxeFormViewPropTypes.Readonly
|
|
44
|
+
disabled?: VxeFormViewPropTypes.Disabled
|
|
45
|
+
viewRender?: VxeFormViewPropTypes.ViewRender
|
|
46
|
+
formOptions?: VxeFormViewPropTypes.FormOptions
|
|
47
|
+
createFormConfig?: VxeFormViewPropTypes.CreateFormConfig
|
|
48
|
+
size?: VxeFormViewPropTypes.Size
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface FormViewPrivateComputed {
|
|
52
|
+
computeSize: ComputedRef<VxeFormViewPropTypes.Size>
|
|
53
|
+
}
|
|
54
|
+
export interface VxeFormViewPrivateComputed extends FormViewPrivateComputed { }
|
|
55
|
+
|
|
56
|
+
export interface FormViewReactData {
|
|
57
|
+
formConfig: VxeFormProps,
|
|
58
|
+
formRules: VxeFormPropTypes.Rules
|
|
59
|
+
widgetObjList: VxeFormDesignDefines.WidgetObjItem[]
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export interface FormViewMethods {
|
|
63
|
+
dispatchEvent(type: ValueOf<VxeFormViewEmits>, params: any, evnt: Event): void
|
|
64
|
+
/**
|
|
65
|
+
* 清除所有配置
|
|
66
|
+
*/
|
|
67
|
+
clearConfig (): Promise<any>
|
|
68
|
+
/**
|
|
69
|
+
* 加载配置
|
|
70
|
+
*/
|
|
71
|
+
loadConfig (config: VxeFormDesignDefines.FormDesignConfig): Promise<any>
|
|
72
|
+
/**
|
|
73
|
+
* 解析配置
|
|
74
|
+
*/
|
|
75
|
+
parseConfig (config: VxeFormDesignDefines.FormDesignConfig): {
|
|
76
|
+
formConfig: VxeFormProps
|
|
77
|
+
formRules: VxeFormPropTypes.Rules
|
|
78
|
+
formData: VxeFormPropTypes.Data
|
|
79
|
+
widgetData: VxeFormDesignDefines.WidgetObjItem[]
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* 加载表单配置
|
|
83
|
+
*/
|
|
84
|
+
loadFormConfig (formConfig: VxeFormProps): Promise<any>
|
|
85
|
+
/**
|
|
86
|
+
* 加载控件配置
|
|
87
|
+
*/
|
|
88
|
+
loadWidgetData (widgetData: VxeFormDesignDefines.WidgetObjItem[]): Promise<any>
|
|
89
|
+
/**
|
|
90
|
+
* 更新控件状态
|
|
91
|
+
*/
|
|
92
|
+
updateWidgetStatus(widget: VxeFormDesignDefines.WidgetObjItem, value: any): Promise<any>
|
|
93
|
+
/**
|
|
94
|
+
* 设置指定控件值
|
|
95
|
+
*/
|
|
96
|
+
setItemValue(widget: VxeFormDesignDefines.WidgetObjItem, value: any): Promise<any>
|
|
97
|
+
/**
|
|
98
|
+
* 获取指定控件值
|
|
99
|
+
*/
|
|
100
|
+
getItemValue(widget: VxeFormDesignDefines.WidgetObjItem): any
|
|
101
|
+
/**
|
|
102
|
+
* 对表单进行校验,返回一个包含校验不通过字段的 promise
|
|
103
|
+
*/
|
|
104
|
+
validate(): Promise<VxeFormDefines.ValidateErrorMapParams | void>
|
|
105
|
+
/**
|
|
106
|
+
* 重置表单
|
|
107
|
+
*/
|
|
108
|
+
reset(): Promise<any>
|
|
109
|
+
/**
|
|
110
|
+
* 对表单指定控件进行校验,返回一个包含校验不通过字段的 promise
|
|
111
|
+
* @param widget 单个或多个控件
|
|
112
|
+
*/
|
|
113
|
+
validateWidget(widget: VxeFormDesignDefines.WidgetObjItem | VxeFormDesignDefines.WidgetObjItem[]): Promise<VxeFormDefines.ValidateErrorMapParams | void>
|
|
114
|
+
/**
|
|
115
|
+
* 手动清除校验状态,如果指定 field 则清除指定的项,否则清除整个表单
|
|
116
|
+
* @param widget 单个或多个控件
|
|
117
|
+
*/
|
|
118
|
+
clearValidate(widget?: VxeFormDesignDefines.WidgetObjItem | VxeFormDesignDefines.WidgetObjItem[]): Promise<any>
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 已废弃,请使用 updateWidgetStatus
|
|
122
|
+
* @deprecated
|
|
123
|
+
*/
|
|
124
|
+
updateItemStatus(widget: VxeFormDesignDefines.WidgetObjItem, value: any): Promise<any>
|
|
125
|
+
}
|
|
126
|
+
export interface VxeFormViewMethods extends FormViewMethods { }
|
|
127
|
+
|
|
128
|
+
export interface FormViewPrivateMethods { }
|
|
129
|
+
export interface VxeFormViewPrivateMethods extends FormViewPrivateMethods { }
|
|
130
|
+
|
|
131
|
+
export type VxeFormViewEmits = [
|
|
132
|
+
'update:modelValue',
|
|
133
|
+
'submit',
|
|
134
|
+
'reset'
|
|
135
|
+
]
|
|
136
|
+
|
|
137
|
+
export namespace VxeFormViewDefines {
|
|
138
|
+
export interface FormViewEventParams extends VxeComponentEventParams {
|
|
139
|
+
$formView: VxeFormViewConstructor
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface CreateFormConfigParams<D = any> {
|
|
143
|
+
viewRender: undefined | VxeFormViewPropTypes.ViewRender
|
|
144
|
+
formConfig: D
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface SubmitParams<D = any> {
|
|
148
|
+
data: D
|
|
149
|
+
}
|
|
150
|
+
export interface SubmitEventParams<D = any> extends FormViewEventParams, SubmitParams<D> { }
|
|
151
|
+
|
|
152
|
+
export interface ResetEventParams<D = any> extends FormViewEventParams {
|
|
153
|
+
data: D
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export interface VxeFormViewEventProps<D = any> {
|
|
158
|
+
onSubmit?: VxeFormViewEvents.Submit<D>
|
|
159
|
+
onReset?: VxeFormViewEvents.Reset<D>
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface VxeFormViewListeners<D = any> {
|
|
163
|
+
submit?: VxeFormViewEvents.Submit<D>
|
|
164
|
+
reset?: VxeFormViewEvents.Reset<D>
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export namespace VxeFormViewEvents {
|
|
168
|
+
export type Submit<D = any> = (params: VxeFormViewDefines.SubmitEventParams<D>) => void
|
|
169
|
+
export type Reset<D = any> = (params: VxeFormViewDefines.ResetEventParams<D>) => void
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export namespace VxeFormViewSlotTypes {
|
|
173
|
+
export interface DefaultSlotParams {}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface VxeFormViewSlots {
|
|
177
|
+
default: (params: VxeFormViewSlotTypes.DefaultSlotParams) => any
|
|
178
|
+
header: (params: VxeFormViewSlotTypes.DefaultSlotParams) => any
|
|
179
|
+
footer: (params: VxeFormViewSlotTypes.DefaultSlotParams) => any
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export const FormView: typeof VxeFormView
|
|
183
|
+
export default VxeFormView
|
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
import { RenderFunction, SetupContext, Ref, ComputedRef } from 'vue'
|
|
2
|
+
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, ValueOf, VxeComponentSlotType, VxeComponentAlignType } from '@vxe-ui/core'
|
|
3
|
+
import { VxeFormItemPropTypes, VxeFormItemProps } from './form-item'
|
|
4
|
+
import { VxeGridConstructor } from './grid'
|
|
5
|
+
|
|
6
|
+
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
|
|
7
|
+
|
|
8
|
+
export declare const VxeForm: DefineVxeComponentApp<VxeFormProps, VxeFormEventProps, VxeFormSlots, VxeFormMethods>
|
|
9
|
+
export type VxeFormComponent<D = any> = DefineVxeComponentOptions<VxeFormProps<D>, VxeFormEventProps>
|
|
10
|
+
|
|
11
|
+
export type VxeFormInstance<D = any> = DefineVxeComponentInstance<VxeFormProps<D>, VxeFormConstructor<D>>
|
|
12
|
+
|
|
13
|
+
export interface VxeFormConstructor<D = any> extends VxeComponentBaseOptions, VxeFormMethods<D> {
|
|
14
|
+
props: VxeFormProps<D>
|
|
15
|
+
context: SetupContext<VxeFormEmits>
|
|
16
|
+
reactData: FormReactData
|
|
17
|
+
internalData: FormInternalData
|
|
18
|
+
getRefMaps(): FormPrivateRef
|
|
19
|
+
getComputeMaps(): FormPrivateComputed
|
|
20
|
+
renderVN: RenderFunction
|
|
21
|
+
|
|
22
|
+
xeGrid: VxeGridConstructor | null
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface FormPrivateRef {
|
|
26
|
+
refElem: Ref<HTMLFormElement | undefined>
|
|
27
|
+
}
|
|
28
|
+
export interface VxeFormPrivateRef extends FormPrivateRef { }
|
|
29
|
+
|
|
30
|
+
export namespace VxeFormPropTypes {
|
|
31
|
+
export type Size = VxeComponentSizeType
|
|
32
|
+
export type CollapseStatus = boolean
|
|
33
|
+
export type Loading = boolean
|
|
34
|
+
export type Data = any
|
|
35
|
+
export type Span = string | number
|
|
36
|
+
export type Align = VxeComponentAlignType
|
|
37
|
+
export type VerticalAlign = 'center' | '' | null
|
|
38
|
+
export type Border = boolean
|
|
39
|
+
export type TitleBackground = boolean
|
|
40
|
+
export type TitleBold = boolean
|
|
41
|
+
export type TitleAlign = VxeComponentAlignType
|
|
42
|
+
export type TitleWidth = string | number
|
|
43
|
+
export type TitleColon = boolean
|
|
44
|
+
export type TitleAsterisk = boolean
|
|
45
|
+
export type TitleOverflow = boolean | 'ellipsis' | 'title' | 'tooltip' | '' | null
|
|
46
|
+
export type Vertical = boolean
|
|
47
|
+
export type Padding = boolean
|
|
48
|
+
|
|
49
|
+
interface ClassNameParams {
|
|
50
|
+
$form: VxeFormConstructor
|
|
51
|
+
data: any
|
|
52
|
+
items: VxeFormDefines.ItemInfo[]
|
|
53
|
+
}
|
|
54
|
+
export type ClassName = string | ((params: ClassNameParams) => string)
|
|
55
|
+
|
|
56
|
+
export type Items = VxeFormItemProps[]
|
|
57
|
+
|
|
58
|
+
export type Readonly = boolean
|
|
59
|
+
export type Disabled = boolean
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* 校验规则配置项
|
|
63
|
+
*/
|
|
64
|
+
export interface Rules<D = any> {
|
|
65
|
+
[field: string]: VxeFormDefines.FormRule<D>[]
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export type PreventSubmit = boolean
|
|
69
|
+
export type ValidConfig = {
|
|
70
|
+
autoPos?: boolean
|
|
71
|
+
/**
|
|
72
|
+
* 当校验不通过时在对应项显示错误提示
|
|
73
|
+
*/
|
|
74
|
+
showErrorMessage?: boolean
|
|
75
|
+
/**
|
|
76
|
+
* 是否显示错误项背景色
|
|
77
|
+
*/
|
|
78
|
+
showErrorBackground?: boolean
|
|
79
|
+
/**
|
|
80
|
+
* 当校验不通过时在对应项显示错误图标
|
|
81
|
+
*/
|
|
82
|
+
showErrorIcon?: boolean
|
|
83
|
+
/**
|
|
84
|
+
* 自定义错误图标
|
|
85
|
+
*/
|
|
86
|
+
errorIcon?: boolean
|
|
87
|
+
/**
|
|
88
|
+
* 提示消息主题样式
|
|
89
|
+
*/
|
|
90
|
+
theme?: 'normal' | 'beautify' | ''
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 已废弃,被 showErrorMessage 替换
|
|
94
|
+
* @deprecated
|
|
95
|
+
*/
|
|
96
|
+
showMessage?: boolean
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* 提示信息配置项
|
|
101
|
+
*/
|
|
102
|
+
export interface TooltipConfig {
|
|
103
|
+
theme?: 'dark' | 'light'
|
|
104
|
+
enterable?: boolean
|
|
105
|
+
leaveDelay?: number
|
|
106
|
+
leaveMethod?: (params: { $event: Event }) => boolean
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export interface CollapseConfig {
|
|
110
|
+
foldIcon?: string
|
|
111
|
+
unfoldIcon?: string
|
|
112
|
+
foldButtonText?: string
|
|
113
|
+
unfoldButtonText?: string
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type CustomLayout = boolean
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* 额外的参数
|
|
120
|
+
*/
|
|
121
|
+
export type Params = any
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export interface VxeFormProps<D = any> {
|
|
125
|
+
size?: VxeFormPropTypes.Size
|
|
126
|
+
collapseStatus?: VxeFormPropTypes.CollapseStatus
|
|
127
|
+
loading?: VxeFormPropTypes.Loading
|
|
128
|
+
data?: D
|
|
129
|
+
span?: VxeFormPropTypes.Span
|
|
130
|
+
align?: VxeFormPropTypes.Align
|
|
131
|
+
verticalAlign?: VxeFormPropTypes.VerticalAlign
|
|
132
|
+
border?: VxeFormPropTypes.Border
|
|
133
|
+
titleBackground?: VxeFormPropTypes.TitleBackground
|
|
134
|
+
titleBold?: VxeFormPropTypes.TitleBold
|
|
135
|
+
titleAlign?: VxeFormPropTypes.TitleAlign
|
|
136
|
+
/**
|
|
137
|
+
* 所有标题默认宽度,支持 px,auto
|
|
138
|
+
*/
|
|
139
|
+
titleWidth?: VxeFormPropTypes.TitleWidth
|
|
140
|
+
titleColon?: VxeFormPropTypes.TitleColon
|
|
141
|
+
titleAsterisk?: VxeFormPropTypes.TitleAsterisk
|
|
142
|
+
titleOverflow?: VxeFormPropTypes.TitleOverflow
|
|
143
|
+
vertical?: VxeFormPropTypes.Vertical
|
|
144
|
+
padding?: VxeFormPropTypes.Padding
|
|
145
|
+
className?: VxeFormPropTypes.ClassName
|
|
146
|
+
readonly?: VxeFormPropTypes.Readonly
|
|
147
|
+
disabled?: VxeFormPropTypes.Disabled
|
|
148
|
+
items?: VxeFormPropTypes.Items
|
|
149
|
+
rules?: VxeFormPropTypes.Rules<D>
|
|
150
|
+
preventSubmit?: VxeFormPropTypes.PreventSubmit
|
|
151
|
+
validConfig?: VxeFormPropTypes.ValidConfig
|
|
152
|
+
tooltipConfig?: VxeFormPropTypes.TooltipConfig
|
|
153
|
+
collapseConfig?: VxeFormPropTypes.CollapseConfig
|
|
154
|
+
customLayout?: VxeFormPropTypes.CustomLayout
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* 额外的参数
|
|
158
|
+
*/
|
|
159
|
+
params?: VxeFormPropTypes.Params
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface FormPrivateComputed {
|
|
163
|
+
computeSize: ComputedRef<VxeFormPropTypes.Size>
|
|
164
|
+
computeValidOpts: ComputedRef<VxeFormPropTypes.ValidConfig>
|
|
165
|
+
computeTooltipOpts: ComputedRef<VxeFormPropTypes.TooltipConfig>
|
|
166
|
+
computeCollapseOpts: ComputedRef<VxeFormPropTypes.CollapseConfig>
|
|
167
|
+
computeAutoItemWidthList: ComputedRef<VxeFormDefines.ItemInfo[]>
|
|
168
|
+
}
|
|
169
|
+
export interface VxeFormPrivateComputed extends FormPrivateComputed { }
|
|
170
|
+
|
|
171
|
+
export interface FormReactData {
|
|
172
|
+
collapseAll: boolean
|
|
173
|
+
staticItems: any[]
|
|
174
|
+
formItems: VxeFormDefines.ItemInfo[]
|
|
175
|
+
itemWidth: number
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export interface FormInternalData {
|
|
179
|
+
meTimeout: undefined | number
|
|
180
|
+
stTimeout: undefined | number
|
|
181
|
+
tooltipStore: {
|
|
182
|
+
item: VxeFormDefines.ItemInfo | null
|
|
183
|
+
visible: boolean
|
|
184
|
+
}
|
|
185
|
+
itemFormatCache: Record<string, {
|
|
186
|
+
field: string
|
|
187
|
+
formatData?: {
|
|
188
|
+
value?: any
|
|
189
|
+
label?: any
|
|
190
|
+
}
|
|
191
|
+
}>
|
|
192
|
+
fullItemIdData: Record<string, VxeFormDefines.ItemCacheItem>
|
|
193
|
+
fullItemFieldData: Record<string, VxeFormDefines.ItemCacheItem>
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export interface FormMethods<D = any> {
|
|
197
|
+
dispatchEvent(type: ValueOf<VxeFormEmits>, params: Record<string, any>, evnt: Event | null): void
|
|
198
|
+
/**
|
|
199
|
+
* 重置表单
|
|
200
|
+
*/
|
|
201
|
+
reset(): Promise<any>
|
|
202
|
+
/**
|
|
203
|
+
* 对表单进行校验,参数为一个回调函数。该回调函数会在校验结束后被调用 callback(errMap)。若不传入回调函数,则会返回一个 promise
|
|
204
|
+
* @param callback 回调函数
|
|
205
|
+
*/
|
|
206
|
+
validate(callback?: (errMap?: VxeFormDefines.ValidateErrorMapParams) => void): Promise<VxeFormDefines.ValidateErrorMapParams | void>
|
|
207
|
+
/**
|
|
208
|
+
* 对表单指定项进行校验,参数为一个回调函数。该回调函数会在校验结束后被调用 callback(errMap)。若不传入回调函数,则会返回一个 promise
|
|
209
|
+
* @param field 字段名
|
|
210
|
+
* @param callback 回调函数
|
|
211
|
+
*/
|
|
212
|
+
validateField(field: VxeFormItemPropTypes.Field | VxeFormItemPropTypes.Field[] | VxeFormDefines.ItemInfo | VxeFormDefines.ItemInfo[] | null, callback?: (errMap?: VxeFormDefines.ValidateErrorMapParams) => void): Promise<VxeFormDefines.ValidateErrorMapParams | void>
|
|
213
|
+
/**
|
|
214
|
+
* 手动清除校验状态,如果指定 field 则清除指定的项,否则清除整个表单
|
|
215
|
+
* @param field 字段名
|
|
216
|
+
*/
|
|
217
|
+
clearValidate(field?: VxeFormItemPropTypes.Field | VxeFormItemPropTypes.Field[] | VxeFormDefines.ItemInfo | VxeFormDefines.ItemInfo[] | null): Promise<any>
|
|
218
|
+
/**
|
|
219
|
+
* 更新项状态
|
|
220
|
+
* 当使用自定义渲染时可能会用到
|
|
221
|
+
*/
|
|
222
|
+
updateStatus(
|
|
223
|
+
params: {
|
|
224
|
+
field: VxeFormItemPropTypes.Field
|
|
225
|
+
},
|
|
226
|
+
itemValue?: any
|
|
227
|
+
): void
|
|
228
|
+
/**
|
|
229
|
+
* 获取表单项列表
|
|
230
|
+
*/
|
|
231
|
+
getItems(): VxeFormDefines.ItemInfo[]
|
|
232
|
+
/**
|
|
233
|
+
* 加载表单项
|
|
234
|
+
*/
|
|
235
|
+
loadItems(items: VxeFormPropTypes.Items | VxeFormDefines.ItemInfo[]): Promise<any>
|
|
236
|
+
/**
|
|
237
|
+
* 隐藏指定项
|
|
238
|
+
*/
|
|
239
|
+
hideItem(fieldOrItems?: VxeFormItemPropTypes.Field | VxeFormItemPropTypes.Field[] | VxeFormDefines.ItemInfo | VxeFormDefines.ItemInfo[] | null): Promise<void>
|
|
240
|
+
/**
|
|
241
|
+
* 显示指定项
|
|
242
|
+
*/
|
|
243
|
+
showItem(fieldOrItems?: VxeFormItemPropTypes.Field | VxeFormItemPropTypes.Field[] | VxeFormDefines.ItemInfo | VxeFormDefines.ItemInfo[] | null): Promise<void>
|
|
244
|
+
/**
|
|
245
|
+
/**
|
|
246
|
+
* 根据列的字段名获取表单项
|
|
247
|
+
*
|
|
248
|
+
*/
|
|
249
|
+
getItemByField(field: VxeFormItemPropTypes.Field): VxeFormDefines.ItemInfo | null
|
|
250
|
+
/**
|
|
251
|
+
* 手动关闭 tooltip 提示
|
|
252
|
+
*/
|
|
253
|
+
closeTooltip(): Promise<any>
|
|
254
|
+
/**
|
|
255
|
+
* 手动切换折叠状态
|
|
256
|
+
*/
|
|
257
|
+
toggleCollapse(): Promise<any>
|
|
258
|
+
/**
|
|
259
|
+
* 重新计算表单
|
|
260
|
+
*/
|
|
261
|
+
recalculate(): Promise<void>
|
|
262
|
+
}
|
|
263
|
+
export interface VxeFormMethods<D = any> extends FormMethods<D> { }
|
|
264
|
+
|
|
265
|
+
export interface FormPrivateMethods {
|
|
266
|
+
/**
|
|
267
|
+
* @private
|
|
268
|
+
*/
|
|
269
|
+
callSlot<T = any>(slotFunc: ((params: T) => VxeComponentSlotType | VxeComponentSlotType[]) | string | null, params: T): VxeComponentSlotType[]
|
|
270
|
+
/**
|
|
271
|
+
* @private
|
|
272
|
+
*/
|
|
273
|
+
triggerItemEvent(evnt: Event | { type: string }, field: string, itemValue?: any): Promise<any>
|
|
274
|
+
/**
|
|
275
|
+
* @private
|
|
276
|
+
*/
|
|
277
|
+
toggleCollapseEvent(evnt: Event): void
|
|
278
|
+
/**
|
|
279
|
+
* @private
|
|
280
|
+
*/
|
|
281
|
+
triggerTitleTipEvent(evnt: MouseEvent, params: {
|
|
282
|
+
item: VxeFormDefines.ItemInfo
|
|
283
|
+
}): void
|
|
284
|
+
handleSubmitEvent(evnt: Event): void
|
|
285
|
+
/**
|
|
286
|
+
* @private
|
|
287
|
+
*/
|
|
288
|
+
handleTitleTipLeaveEvent(): void
|
|
289
|
+
/**
|
|
290
|
+
* @private
|
|
291
|
+
*/
|
|
292
|
+
handleValidIconEvent(evnt: Event, params: {
|
|
293
|
+
item: VxeFormDefines.ItemInfo
|
|
294
|
+
}): void
|
|
295
|
+
}
|
|
296
|
+
export interface VxeFormPrivateMethods extends FormPrivateMethods { }
|
|
297
|
+
|
|
298
|
+
export type VxeFormEmits = [
|
|
299
|
+
'update:collapseStatus',
|
|
300
|
+
'collapse',
|
|
301
|
+
'toggle-collapse',
|
|
302
|
+
'submit',
|
|
303
|
+
'submit-invalid',
|
|
304
|
+
'reset'
|
|
305
|
+
]
|
|
306
|
+
|
|
307
|
+
export namespace VxeFormDefines {
|
|
308
|
+
export interface ItemCacheItem {
|
|
309
|
+
item: ItemInfo
|
|
310
|
+
index: number
|
|
311
|
+
items: ItemInfo[]
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export class ItemInfo {
|
|
315
|
+
id: string
|
|
316
|
+
|
|
317
|
+
title: VxeFormItemPropTypes.Title
|
|
318
|
+
field: VxeFormItemPropTypes.Field
|
|
319
|
+
span: VxeFormItemPropTypes.Span
|
|
320
|
+
align: VxeFormItemPropTypes.Align
|
|
321
|
+
verticalAlign: VxeFormItemPropTypes.VerticalAlign
|
|
322
|
+
titleBackground: VxeFormItemPropTypes.TitleBold
|
|
323
|
+
titleBold: VxeFormItemPropTypes.TitleBold
|
|
324
|
+
titleAlign: VxeFormItemPropTypes.TitleAlign
|
|
325
|
+
titleWidth: VxeFormItemPropTypes.TitleWidth
|
|
326
|
+
titleColon: VxeFormItemPropTypes.TitleColon
|
|
327
|
+
titleAsterisk: VxeFormItemPropTypes.TitleAsterisk
|
|
328
|
+
titlePrefix: VxeFormItemPropTypes.TitlePrefix
|
|
329
|
+
titleSuffix: VxeFormItemPropTypes.TitleSuffix
|
|
330
|
+
titleOverflow: VxeFormItemPropTypes.TitleOverflow
|
|
331
|
+
showTitle: VxeFormItemPropTypes.ShowTitle
|
|
332
|
+
vertical: VxeFormItemPropTypes.Vertical
|
|
333
|
+
padding: VxeFormItemPropTypes.Padding
|
|
334
|
+
resetValue: VxeFormItemPropTypes.ResetValue
|
|
335
|
+
visibleMethod: VxeFormItemPropTypes.VisibleMethod
|
|
336
|
+
visible: VxeFormItemPropTypes.Visible
|
|
337
|
+
showContent: VxeFormItemPropTypes.ShowContent
|
|
338
|
+
folding: VxeFormItemPropTypes.Folding
|
|
339
|
+
collapseNode: VxeFormItemPropTypes.CollapseNode
|
|
340
|
+
className: VxeFormItemPropTypes.ClassName
|
|
341
|
+
contentClassName: VxeFormItemPropTypes.ContentClassName
|
|
342
|
+
contentStyle: VxeFormItemPropTypes.ContentStyle
|
|
343
|
+
titleClassName: VxeFormItemPropTypes.TitleClassName
|
|
344
|
+
titleStyle: VxeFormItemPropTypes.TitleStyle
|
|
345
|
+
readonly: VxeFormItemPropTypes.Readonly
|
|
346
|
+
itemRender: VxeFormItemPropTypes.ItemRender
|
|
347
|
+
rules: VxeFormItemPropTypes.Rules
|
|
348
|
+
formatter: VxeFormItemPropTypes.Formatter
|
|
349
|
+
params: any
|
|
350
|
+
// 渲染属性
|
|
351
|
+
showError: boolean
|
|
352
|
+
showIconMsg: boolean
|
|
353
|
+
errRule: any
|
|
354
|
+
slots: VxeFormItemPropTypes.Slots
|
|
355
|
+
children: ItemInfo[]
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface FormRule<D = any> {
|
|
359
|
+
/**
|
|
360
|
+
* 是否必填
|
|
361
|
+
*/
|
|
362
|
+
required?: boolean
|
|
363
|
+
/**
|
|
364
|
+
* 最小长度/值
|
|
365
|
+
*/
|
|
366
|
+
min?: number
|
|
367
|
+
/**
|
|
368
|
+
* 最大长度/值
|
|
369
|
+
*/
|
|
370
|
+
max?: number
|
|
371
|
+
/**
|
|
372
|
+
* 指定字段
|
|
373
|
+
*/
|
|
374
|
+
field?: string
|
|
375
|
+
/**
|
|
376
|
+
* 数据类型
|
|
377
|
+
*/
|
|
378
|
+
type?: 'number' | 'string' | 'array' | '' | null
|
|
379
|
+
/**
|
|
380
|
+
* 使用正则表达式校验
|
|
381
|
+
*/
|
|
382
|
+
pattern?: string | RegExp
|
|
383
|
+
/**
|
|
384
|
+
* 使用自定义校验函数,接收一个 Promise
|
|
385
|
+
* @param params 参数
|
|
386
|
+
*/
|
|
387
|
+
validator?: string | ((params: RuleValidatorParams<D>) => void | Error | Promise<void>)
|
|
388
|
+
/**
|
|
389
|
+
* 提示消息
|
|
390
|
+
*/
|
|
391
|
+
content?: string
|
|
392
|
+
trigger?: 'change' | '' | null
|
|
393
|
+
maxWidth?: number
|
|
394
|
+
/**
|
|
395
|
+
* @deprecated 已废弃,请使用 content
|
|
396
|
+
*/
|
|
397
|
+
message?: string
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export interface RuleValidatorParams<D = any> {
|
|
401
|
+
$form: VxeFormConstructor
|
|
402
|
+
itemValue: any
|
|
403
|
+
rule: VxeFormDefines.FormRule<D>
|
|
404
|
+
rules: VxeFormDefines.FormRule<D>[]
|
|
405
|
+
data: D
|
|
406
|
+
field: string
|
|
407
|
+
}
|
|
408
|
+
export interface ValidateErrorParams<D = any> {
|
|
409
|
+
$form: VxeFormConstructor,
|
|
410
|
+
rule: VxeFormDefines.FormRule<D>
|
|
411
|
+
data: any
|
|
412
|
+
field: string
|
|
413
|
+
/**
|
|
414
|
+
* @deprecated
|
|
415
|
+
*/
|
|
416
|
+
property: string
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export interface ProvideItemInfo {
|
|
420
|
+
itemConfig: ItemInfo
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export interface ValidateErrorMapParams {
|
|
424
|
+
[field: string]: ValidateErrorParams[]
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
interface FormEventParams<D = any> extends VxeComponentEventParams {
|
|
428
|
+
$form: VxeFormConstructor
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
interface FormBaseParams<D = any> {
|
|
432
|
+
data: D
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export interface CollapseParams<D = any> extends FormBaseParams<D> { }
|
|
436
|
+
export interface CollapseEventParams<D = any> extends FormEventParams<D>, CollapseParams<D> { }
|
|
437
|
+
|
|
438
|
+
export interface SubmitParams<D = any> extends FormBaseParams<D> { }
|
|
439
|
+
export interface SubmitEventParams<D = any> extends FormEventParams<D>, SubmitParams<D> { }
|
|
440
|
+
|
|
441
|
+
export interface SubmitInvalidParams<D = any> extends FormBaseParams<D> { }
|
|
442
|
+
export interface SubmitInvalidEventParams<D = any> extends FormEventParams<D>, SubmitInvalidParams<D> { }
|
|
443
|
+
|
|
444
|
+
export interface ResetParams<D = any> extends FormBaseParams<D> { }
|
|
445
|
+
export interface ResetEventParams<D = any> extends FormEventParams<D>, ResetParams<D> { }
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type VxeFormEventProps = {
|
|
449
|
+
onCollapse?: VxeFormEvents.Collapse
|
|
450
|
+
onSubmit?: VxeFormEvents.Submit
|
|
451
|
+
onSubmitInvalid?: VxeFormEvents.SubmitInvalid
|
|
452
|
+
onReset?: VxeFormEvents.Reset
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export interface VxeFormListeners<D = any> {
|
|
456
|
+
collapse?: VxeFormEvents.Collapse<D>
|
|
457
|
+
submit?: VxeFormEvents.Submit<D>
|
|
458
|
+
submitInvalid?: VxeFormEvents.SubmitInvalid<D>
|
|
459
|
+
reset?: VxeFormEvents.Reset<D>
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export namespace VxeFormEvents {
|
|
463
|
+
export type Collapse<D = any> = (params: VxeFormDefines.CollapseEventParams<D>) => void
|
|
464
|
+
export type Submit<D = any> = (params: VxeFormDefines.SubmitEventParams<D>) => void
|
|
465
|
+
export type SubmitInvalid<D = any> = (params: VxeFormDefines.SubmitInvalidEventParams<D>) => void
|
|
466
|
+
export type Reset<D = any> = (params: VxeFormDefines.ResetEventParams<D>) => void
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export namespace VxeFormSlotTypes {
|
|
470
|
+
export interface DefaultSlotParams {}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export interface VxeFormSlots {
|
|
474
|
+
/**
|
|
475
|
+
* 自定义插槽模板
|
|
476
|
+
*/
|
|
477
|
+
[key: string]: ((params: {
|
|
478
|
+
$form: VxeFormConstructor
|
|
479
|
+
|
|
480
|
+
[key: string]: any
|
|
481
|
+
}) => any) | undefined
|
|
482
|
+
|
|
483
|
+
default: (params: VxeFormSlotTypes.DefaultSlotParams) => any
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export const Form: typeof VxeForm
|
|
487
|
+
export default VxeForm
|