@web-utils/form-ui 1.0.0-beta7 → 1.0.0-beta70
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/address-input/index.mjs +2 -0
- package/address-input/style.css +1 -0
- package/affix/index.mjs +49 -0
- package/affix/style.css +1 -0
- package/api/index.d.ts +66 -0
- package/api/index.mjs +42 -0
- package/awesome-button/index.mjs +49 -0
- package/base.css +1 -1
- package/capsule-tab/index.mjs +27 -0
- package/capsule-tab/style.css +1 -0
- package/card/index.mjs +89 -0
- package/card/style.css +1 -0
- package/chunks/3gUkQF12.mjs +207 -0
- package/chunks/49634Q2N2.mjs +936 -0
- package/chunks/5itVLmv82.mjs +108 -0
- package/chunks/6kdakei5.mjs +644 -0
- package/chunks/77cFhiAz.mjs +13 -0
- package/chunks/7Cv9Cq-02.mjs +1354 -0
- package/chunks/7JVbVOff2.mjs +46 -0
- package/chunks/9rQitPz7.mjs +590 -0
- package/chunks/B1ATN2my.mjs +26 -0
- package/chunks/B1GA44yT2.mjs +42 -0
- package/chunks/B31ub5xS.mjs +46 -0
- package/chunks/B3d4fdGH.mjs +17 -0
- package/chunks/B5voIv4_.mjs +194 -0
- package/chunks/B7O8aGqC2.mjs +58 -0
- package/chunks/B8wGY5Hs2.mjs +26 -0
- package/chunks/BBPczt0U.mjs +4 -0
- package/chunks/BBqq6o072.mjs +243 -0
- package/chunks/BCVhSMZN.mjs +1328 -0
- package/chunks/BDVLN2ly.mjs +105 -0
- package/chunks/BEysX5TF2.mjs +1038 -0
- package/chunks/BI-ZFlSw2.mjs +26 -0
- package/chunks/BIj6pa8Z.mjs +15 -0
- package/chunks/BJby9uHB2.mjs +233 -0
- package/chunks/BMTtnkb7.mjs +60 -0
- package/chunks/BPpMbPS8.mjs +63 -0
- package/chunks/BQNqBw8h2.mjs +27 -0
- package/chunks/BUAQybGW.mjs +230 -0
- package/chunks/BVIHqL6g.mjs +17 -0
- package/chunks/BVSQ6DfJ.mjs +17 -0
- package/chunks/BVuwiZGi.mjs +37 -0
- package/chunks/B__5L22p2.mjs +346 -0
- package/chunks/BaLjN8Ow.mjs +197 -0
- package/chunks/Baam4z-g.mjs +275 -0
- package/chunks/Bdeug17L.mjs +42 -0
- package/chunks/BeWNlclr.mjs +295 -0
- package/chunks/BecO0t0_2.mjs +2430 -0
- package/chunks/BffxPn8a.mjs +34 -0
- package/chunks/Bgw_3soo.mjs +35 -0
- package/chunks/BjCfQFUL.mjs +54 -0
- package/chunks/BjWs-r2V.mjs +25 -0
- package/chunks/BkEMJ725.mjs +214 -0
- package/chunks/BlB1fEo92.mjs +8 -0
- package/chunks/BoId6V9J.mjs +17 -0
- package/chunks/BrYtAPbN2.mjs +161 -0
- package/chunks/BsKwchVA.mjs +14 -0
- package/chunks/BsM0L7CS.mjs +132 -0
- package/chunks/BvbjlaN02.mjs +514 -0
- package/chunks/BvcK4D8A2.mjs +1800 -0
- package/chunks/BwYEpK-u.mjs +8 -0
- package/chunks/C1RsHtGI.mjs +40 -0
- package/chunks/C5f3Xfsc2.mjs +36 -0
- package/chunks/C7l9aZGE.mjs +577 -0
- package/chunks/CDqVJ7U3.mjs +449 -0
- package/chunks/CFvkR9Ze2.mjs +31 -0
- package/chunks/CGM03LI5.mjs +588 -0
- package/chunks/CIybFvu92.mjs +30 -0
- package/chunks/CPejK_GQ2.mjs +383 -0
- package/chunks/CQSTyCVP.mjs +6 -0
- package/chunks/CQxz8uUc.mjs +454 -0
- package/chunks/CR29QUwT2.mjs +28 -0
- package/chunks/CWvo-ucD.mjs +446 -0
- package/chunks/C_eGir-J.mjs +17 -0
- package/chunks/CaRunrOV2.mjs +5289 -0
- package/chunks/Calzy0Az.mjs +1275 -0
- package/chunks/CbbjpJFg2.mjs +26 -0
- package/chunks/CbgD7y-5.mjs +5 -0
- package/chunks/CbsGuLZz2.mjs +105 -0
- package/chunks/CcT5SsZk.mjs +48 -0
- package/chunks/CdBytH8S.mjs +266 -0
- package/chunks/Ch_zaHx9.mjs +89 -0
- package/chunks/CiFlMt6Z.mjs +41 -0
- package/chunks/CjjJimnU.mjs +20 -0
- package/chunks/Cjkq49252.mjs +60 -0
- package/chunks/CjmfMN1X2.mjs +34 -0
- package/chunks/CnCSm3LY2.mjs +4 -0
- package/chunks/CsLrkldT2.mjs +225 -0
- package/chunks/Csiz_xCa2.mjs +273 -0
- package/chunks/Ctd3_wOH2.mjs +6 -0
- package/chunks/Cu2A_1vk2.mjs +106 -0
- package/chunks/CuoF9V8s.mjs +3091 -0
- package/chunks/CwBq1JZV.mjs +250 -0
- package/chunks/CwWfRmD3.mjs +57 -0
- package/chunks/CwqeV7002.mjs +67 -0
- package/chunks/Cy8jqgun2.mjs +41 -0
- package/chunks/D-hj62se2.mjs +525 -0
- package/chunks/D3Xixh5v.mjs +5 -0
- package/chunks/D4oNQiIK.mjs +461 -0
- package/chunks/D6vTCC1Z2.mjs +110 -0
- package/chunks/D8r81QxD.mjs +732 -0
- package/chunks/D9qn1x3X2.mjs +87 -0
- package/chunks/DL0o_C092.mjs +1093 -0
- package/chunks/DLgn1tQG2.mjs +60 -0
- package/chunks/DNSPORak.mjs +479 -0
- package/chunks/DStwh2ne.mjs +281 -0
- package/chunks/DTUh8o0p2.mjs +145 -0
- package/chunks/DXiLi19u2.mjs +33 -0
- package/chunks/DZ0frL1U.mjs +69 -0
- package/chunks/D_qwjNah.mjs +1094 -0
- package/chunks/DbtlO6wD.mjs +52 -0
- package/chunks/DfJJr053.mjs +217 -0
- package/chunks/Dg9Q-Tbi2.mjs +299 -0
- package/chunks/DhQF2ZlD.mjs +182 -0
- package/chunks/Dls3rTka2.mjs +24 -0
- package/chunks/DnBzQ-xh.mjs +4 -0
- package/chunks/DoNfjRR1.mjs +68 -0
- package/chunks/DoOkwYtO.mjs +609 -0
- package/chunks/DrKq_frR.mjs +98 -0
- package/chunks/DsYXqJLZ.mjs +641 -0
- package/chunks/DsZznbt2.mjs +208 -0
- package/chunks/Dsd58O0g.mjs +25 -0
- package/chunks/Dtq1xYk8.mjs +47 -0
- package/chunks/DxL9oojv2.mjs +418 -0
- package/chunks/EA6hte7s2.mjs +49 -0
- package/chunks/FeuisuNY2.mjs +88 -0
- package/chunks/GEtlriHC.mjs +188 -0
- package/chunks/GsvG1yFW.mjs +1919 -0
- package/chunks/KGmxNbpi.mjs +21 -0
- package/chunks/Q2Mal3Qn2.mjs +439 -0
- package/chunks/T_jwNKBr.mjs +379 -0
- package/chunks/TtxSplBB.mjs +195 -0
- package/chunks/Wl17p0C82.mjs +94 -0
- package/chunks/Z0BPDZlb.mjs +66 -0
- package/chunks/akEzJ4kG.mjs +18 -0
- package/chunks/cMuWbLPt.mjs +196 -0
- package/chunks/e70aZf3z.mjs +64 -0
- package/chunks/gh52LMTG.mjs +12 -0
- package/chunks/h-Uhst9y.mjs +98 -0
- package/chunks/hgAOQY9a.mjs +406 -0
- package/chunks/lGc5ksPb.mjs +279 -0
- package/chunks/mD3gmiOy2.mjs +96 -0
- package/chunks/nLBvkerV2.mjs +621 -0
- package/chunks/pZQfJv282.mjs +4 -0
- package/chunks/qrHhuZXg.mjs +465 -0
- package/chunks/uqKZ4RIo.mjs +222 -0
- package/code-mirror-editor/index.mjs +99 -0
- package/code-mirror-editor/style.css +1 -0
- package/confirm-button/index.mjs +35 -0
- package/confirmable/index.mjs +8 -0
- package/constants/index.d.ts +73 -0
- package/constants/index.mjs +4 -0
- package/context-menu/index.mjs +196 -0
- package/context-menu/style.css +1 -0
- package/count-up/index.mjs +94 -0
- package/custom-scrollbar/index.mjs +93 -0
- package/data-box/index.mjs +68 -0
- package/data-box/style.css +1 -0
- package/data-card/index.mjs +63 -0
- package/data-card/style.css +1 -0
- package/data-card-text/index.mjs +67 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.mjs +73 -0
- package/data-display/style.css +1 -0
- package/data-icons/index.mjs +74 -0
- package/data-icons/style.css +1 -0
- package/data-imgtext/index.mjs +71 -0
- package/data-imgtext/style.css +1 -0
- package/data-operatext/index.mjs +54 -0
- package/data-operatext/style.css +1 -0
- package/data-panel/index.mjs +61 -0
- package/data-panel/style.css +1 -0
- package/data-pay/index.mjs +110 -0
- package/data-pay/style.css +1 -0
- package/data-price/index.mjs +51 -0
- package/data-price/style.css +1 -0
- package/data-progress/index.mjs +72 -0
- package/data-progress/style.css +1 -0
- package/data-rotate/index.mjs +65 -0
- package/data-rotate/style.css +1 -0
- package/data-table-picker/index.mjs +118 -0
- package/data-tabs/index.mjs +71 -0
- package/data-tabs/style.css +1 -0
- package/dict-render/index.mjs +2 -0
- package/e-charts/index.mjs +179 -0
- package/e-charts/style.css +1 -0
- package/easy-popup/index.mjs +92 -0
- package/easy-popup/style.css +1 -0
- package/editable-progress/index.mjs +120 -0
- package/editable-progress/style.css +1 -0
- package/editable-tree/index.mjs +2 -0
- package/editable-tree/style.css +1 -0
- package/element-dialog/index.mjs +2 -91
- package/element-dialog/style.css +1 -1
- package/element-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- package/element-resize-observer/index.mjs +40 -0
- package/element-resize-observer/style.css +1 -0
- package/empty-view/index.mjs +1 -1
- package/error-view/index.mjs +37 -0
- package/error-view/style.css +1 -0
- package/flex-box/index.mjs +2 -0
- package/flex-column/index.mjs +2 -0
- package/flex-item/index.mjs +2 -0
- package/flex-row/index.mjs +2 -0
- package/flex-scroll-area/index.mjs +1 -1
- package/flex-scroller/index.mjs +29 -0
- package/flex-scroller/style.css +1 -0
- package/flow-designer/index.mjs +2 -0
- package/flow-designer/style.css +1 -0
- package/flow-viewer/index.mjs +159 -0
- package/flow-viewer/style.css +1 -0
- package/form-advice/index.mjs +13 -12
- package/form-button/index.mjs +36 -0
- package/form-card/index.mjs +18 -0
- package/form-cascader/index.mjs +2 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +2 -0
- package/form-checkbox-group/style.css +1 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.mjs +1 -1
- package/form-holder/style.css +1 -1
- package/form-image/index.mjs +1 -1
- package/form-input/index.mjs +1 -1
- package/form-input/style.css +1 -0
- package/form-input-cron-expression/index.mjs +2 -0
- package/form-input-cron-expression/style.css +1 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.mjs +1 -3
- package/form-input-time/index.mjs +1 -3
- package/form-item-config-provider/index.mjs +24 -0
- package/form-item-group/index.mjs +2 -78
- package/form-item-group/style.css +1 -1
- package/form-item-x/index.mjs +1 -1
- package/form-item-x/style.css +1 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.mjs +27 -26
- package/form-row/index.mjs +1 -1
- package/form-select/index.mjs +1 -1
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +2 -0
- package/form-table-plus/index.mjs +2 -0
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.mjs +2 -0
- package/form-time-select/index.mjs +2 -0
- package/form-tree-select/index.mjs +2 -0
- package/form-tree-select/style.css +1 -0
- package/form-tree-select-multiple/index.mjs +2 -0
- package/form-view/index.mjs +280 -6
- package/form-view/style.css +1 -0
- package/guide-steps/index.mjs +2 -0
- package/guide-steps/style.css +1 -0
- package/helper/dictionary.d.ts +29 -0
- package/helper/dictionary.mjs +97 -0
- package/helper/form-item.d.ts +17 -0
- package/helper/form-item.mjs +27 -0
- package/helper/input.d.ts +47 -0
- package/helper/input.mjs +2 -0
- package/helper/sub-table-plus.d.ts +98 -0
- package/helper/sub-table-plus.mjs +4 -0
- package/highlight-j-s/index.mjs +51 -0
- package/highlight-j-s/style.css +1 -0
- package/hook/useDictionary.d.ts +60 -0
- package/hook/useDictionary.mjs +15 -0
- package/hook/useVisibilityChange.d.ts +4 -0
- package/hook/useVisibilityChange.mjs +14 -0
- package/iframe-window/index.mjs +37 -0
- package/iframe-window/style.css +1 -0
- package/image-cropper/index.mjs +155 -0
- package/image-cropper/style.css +1 -0
- package/image-preview/index.mjs +2 -0
- package/image-preview/style.css +1 -0
- package/image-viewer/index.mjs +70 -0
- package/image-viewer/style.css +1 -0
- package/index.css +2 -0
- package/index.d.ts +91 -6
- package/index.mjs +123 -61
- package/input-number-range/index.mjs +76 -0
- package/input-number-range/style.css +1 -0
- package/keyboard/index.mjs +2 -0
- package/keyboard/style.css +1 -0
- package/loading-view/index.mjs +39 -0
- package/loading-view/style.css +1 -0
- package/name-avatar/index.mjs +61 -0
- package/name-avatar/style.css +1 -0
- package/nav-bar/index.mjs +36 -0
- package/nav-bar/style.css +1 -0
- package/package.json +28 -17
- package/page/index.mjs +17 -0
- package/page/style.css +1 -0
- package/page-header/index.mjs +25 -0
- package/page-header/style.css +1 -0
- package/page-index/index.mjs +123 -0
- package/page-index/style.css +1 -0
- package/page-index-top/index.mjs +85 -0
- package/page-skeleton/index.mjs +44 -0
- package/page-skeleton/style.css +1 -0
- package/page-skeleton-new/index.mjs +80 -0
- package/page-skeleton-new/style.css +1 -0
- package/pageable-table/index.mjs +2 -0
- package/pageable-table/style.css +1 -0
- package/photo-swipe/index.mjs +2 -0
- package/props/cascader.d.ts +326 -0
- package/props/cascader.mjs +145 -0
- package/props/checkbox-group.d.ts +213 -0
- package/props/checkbox-group.mjs +83 -0
- package/props/checkbox.d.ts +205 -0
- package/props/checkbox.mjs +74 -0
- package/props/col.d.ts +74 -0
- package/props/col.mjs +32 -0
- package/props/common.d.ts +114 -0
- package/props/common.mjs +18 -0
- package/props/date.d.ts +339 -0
- package/props/date.mjs +145 -0
- package/props/form-item.d.ts +144 -0
- package/props/form-item.mjs +73 -0
- package/props/form.d.ts +157 -0
- package/props/form.mjs +89 -0
- package/props/image.d.ts +102 -0
- package/props/image.mjs +10 -0
- package/props/input-cron.d.ts +102 -0
- package/props/input-cron.mjs +16 -0
- package/props/input-number.d.ts +216 -0
- package/props/input-number.mjs +72 -0
- package/props/input-tag.d.ts +123 -0
- package/props/input-tag.mjs +33 -0
- package/props/input.d.ts +299 -0
- package/props/input.mjs +97 -0
- package/props/radio-group.d.ts +205 -0
- package/props/radio-group.mjs +84 -0
- package/props/rate.d.ts +211 -0
- package/props/rate.mjs +66 -0
- package/props/select.d.ts +450 -0
- package/props/select.mjs +218 -0
- package/props/slide.d.ts +235 -0
- package/props/slide.mjs +72 -0
- package/props/switch.d.ts +229 -0
- package/props/switch.mjs +80 -0
- package/props/text.d.ts +127 -0
- package/props/text.mjs +22 -0
- package/props/textarea.d.ts +266 -0
- package/props/textarea.mjs +82 -0
- package/props/time-select.d.ts +216 -0
- package/props/time-select.mjs +67 -0
- package/props/time.d.ts +304 -0
- package/props/time.mjs +138 -0
- package/props/tree-select-multiple.d.ts +324 -0
- package/props/tree-select-multiple.mjs +16 -0
- package/props/tree-select.d.ts +326 -0
- package/props/tree-select.mjs +25 -0
- package/props/tree.d.ts +76 -0
- package/props/tree.mjs +75 -0
- package/props/vue-tree-select.d.ts +458 -0
- package/props/vue-tree-select.mjs +213 -0
- package/resolver/index.mjs +29 -0
- package/sign-panel/index.mjs +183 -0
- package/sign-panel/style.css +1 -0
- package/skeleton-panel/index.mjs +37 -0
- package/skeleton-panel/style.css +1 -0
- package/split-pane/index.mjs +2 -0
- package/split-pane/style.css +1 -0
- package/stateful/index.mjs +67 -0
- package/stateful/style.css +1 -0
- package/sub-table/index.mjs +2 -0
- package/sub-table/style.css +1 -0
- package/sub-table-plus/index.mjs +2 -0
- package/sub-table-plus/style.css +1 -0
- package/swiper/index.mjs +126 -0
- package/swiper/style.css +1 -0
- package/table-column/index.mjs +2 -0
- package/table-column/style.css +1 -0
- package/table-column-def/index.mjs +11 -0
- package/table-view/index.mjs +468 -6
- package/table-view/style.css +1 -0
- package/tag-render/index.mjs +86 -0
- package/tag-render/style.css +1 -0
- package/text-ellipsis/index.mjs +124 -0
- package/text-ellipsis/style.css +1 -0
- package/toolbar/index.mjs +1 -8
- package/toolbar/style.css +1 -0
- package/toolbar-button/index.mjs +1 -8
- package/toolbar-button/style.css +1 -0
- package/vue-cron/index.mjs +2 -0
- package/vue-cron/style.css +1 -0
- package/vue-qr-code/index.mjs +32 -0
- package/vue-tags-input/index.mjs +350 -0
- package/vue-tags-input/style.css +1 -0
- package/vue-tree-select/index.mjs +2 -0
- package/vue-tree-select/style.css +1 -0
- package/vue-video-player/index.mjs +136 -0
- package/vue-video-player/style.css +1 -0
- package/watermark/index.mjs +2 -0
- package/watermark/style.css +1 -0
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +232 -0
- package/x-input-tag/style.css +1 -0
- package/year-calendar/index.mjs +2 -0
- package/year-calendar/style.css +1 -0
- package/chunks/B4M_TFeR.mjs +0 -152
- package/chunks/B5BIQCcK.mjs +0 -149
- package/chunks/BHNKrW1j.mjs +0 -61
- package/chunks/BO9jWhBl.mjs +0 -46
- package/chunks/BZ8aOa78.mjs +0 -35
- package/chunks/Bsz7y4Xp.mjs +0 -73
- package/chunks/Bxj372sF.mjs +0 -53
- package/chunks/C33EmJN8.mjs +0 -32
- package/chunks/C6Li3-l7.mjs +0 -28
- package/chunks/CBcdalMX.mjs +0 -35
- package/chunks/CdRsyF0n.mjs +0 -43
- package/chunks/ClNahmiU.mjs +0 -23
- package/chunks/CstztYMu.mjs +0 -28
- package/chunks/DC9b53M6.mjs +0 -32
- package/chunks/DDVAgRED.mjs +0 -36
- package/chunks/DpJQABVD.mjs +0 -91
- package/chunks/ZsLNWI9x.mjs +0 -46
- package/chunks/jn_iQrVZ.mjs +0 -28
- package/constants.d.ts +0 -1
- package/constants.mjs +0 -4
- package/element-dialog/index.d.ts +0 -53
- package/empty-view/index.d.ts +0 -29
- package/flex-scroll-area/index.d.ts +0 -22
- package/form-advice/index.d.ts +0 -9
- package/form-cell/index.d.ts +0 -25
- package/form-check-box-group/index.d.ts +0 -93
- package/form-check-box-group/index.mjs +0 -2
- package/form-checkbox/index.d.ts +0 -81
- package/form-date-picker/index.d.ts +0 -104
- package/form-holder/index.d.ts +0 -95
- package/form-image/index.d.ts +0 -82
- package/form-input/index.d.ts +0 -91
- package/form-input-email/index.d.ts +0 -79
- package/form-input-id-card/index.d.ts +0 -79
- package/form-input-number/index.d.ts +0 -95
- package/form-input-phone-number/index.d.ts +0 -79
- package/form-input-tag/index.d.ts +0 -2
- package/form-input-time/index.d.ts +0 -2
- package/form-item-group/index.d.ts +0 -18
- package/form-item-x/index.d.ts +0 -54
- package/form-radio-group/index.d.ts +0 -81
- package/form-rate/index.d.ts +0 -79
- package/form-red-table/index.d.ts +0 -21
- package/form-row/index.d.ts +0 -11
- package/form-select/index.d.ts +0 -81
- package/form-slider/index.d.ts +0 -79
- package/form-switch/index.d.ts +0 -79
- package/form-text/index.d.ts +0 -77
- package/form-view/index.d.ts +0 -2
- package/input/style.css +0 -1
- package/resolver.mjs +0 -79
- package/table-view/index.d.ts +0 -2
- package/toolbar/index.d.ts +0 -2
- package/toolbar-button/index.d.ts +0 -2
- /package/{resolver.d.ts → resolver/index.d.ts} +0 -0
package/props/form.d.ts
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
export declare const allProps: {
|
|
2
|
+
/**
|
|
3
|
+
* 表单数据对象
|
|
4
|
+
*/
|
|
5
|
+
model: ObjectConstructor;
|
|
6
|
+
/**
|
|
7
|
+
* 表单验证规则
|
|
8
|
+
*/
|
|
9
|
+
rules: ObjectConstructor;
|
|
10
|
+
/**
|
|
11
|
+
* 行内表单模式
|
|
12
|
+
*/
|
|
13
|
+
inline: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 表单域标签的位置,当设置为 left 或 right 时,则也需要设置 labelWidth 属性
|
|
19
|
+
* @values right, left, top
|
|
20
|
+
*/
|
|
21
|
+
labelPosition: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* 标签的长度,例如 '50px'。作为 Form 直接子元素的 form-item 会继承该值。可以使用 auto
|
|
27
|
+
*/
|
|
28
|
+
labelWidth: {
|
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* 表单域标签的后缀
|
|
34
|
+
*/
|
|
35
|
+
labelSuffix: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* 是否隐藏必填字段标签旁边的红色星号
|
|
41
|
+
*/
|
|
42
|
+
hideRequiredAsterisk: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* 星号的位置
|
|
48
|
+
* @values left, right
|
|
49
|
+
*/
|
|
50
|
+
requireAsteriskPosition: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* 是否显示校验错误信息
|
|
56
|
+
*/
|
|
57
|
+
showMessage: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* 是否以行内形式展示校验信息
|
|
63
|
+
*/
|
|
64
|
+
inlineMessage: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* 是否在输入框中显示校验结果反馈图标
|
|
70
|
+
*/
|
|
71
|
+
statusIcon: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* 是否在 rules 属性改变后立即触发一次验证
|
|
77
|
+
*/
|
|
78
|
+
validateOnRuleChange: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* 用于控制该表单内组件的尺寸
|
|
84
|
+
* @values large, default, small
|
|
85
|
+
*/
|
|
86
|
+
size: StringConstructor;
|
|
87
|
+
/**
|
|
88
|
+
* 是否禁用该表单内的所有组件。在 2.12.0 以前,如果设置为 true,它将覆盖内部组件的 disabled 属性。在 2.12.0 之后,内部组件的配置优先
|
|
89
|
+
*/
|
|
90
|
+
disabled: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: undefined;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* 当校验失败时,滚动到第一个错误表单项
|
|
96
|
+
*/
|
|
97
|
+
scrollToError: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* 当校验有失败结果时,滚动到第一个失败的表单项目可通过 scrollIntoView 配置
|
|
103
|
+
* @since 2.3.2
|
|
104
|
+
*/
|
|
105
|
+
scrollIntoViewOptions: (ObjectConstructor | BooleanConstructor)[];
|
|
106
|
+
/**
|
|
107
|
+
* 必填字段列表
|
|
108
|
+
*/
|
|
109
|
+
requiredFields: ArrayConstructor;
|
|
110
|
+
/**
|
|
111
|
+
* 禁用字段列表
|
|
112
|
+
*/
|
|
113
|
+
disabledFields: ArrayConstructor;
|
|
114
|
+
/**
|
|
115
|
+
* 启用字段列表
|
|
116
|
+
*/
|
|
117
|
+
enabledFields: ArrayConstructor;
|
|
118
|
+
/**
|
|
119
|
+
* 是否显示建议提示
|
|
120
|
+
*/
|
|
121
|
+
showAdvice: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* 列配置,支持数组或对象格式
|
|
127
|
+
*/
|
|
128
|
+
columns: (ArrayConstructor | ObjectConstructor)[];
|
|
129
|
+
/**
|
|
130
|
+
* 列数量
|
|
131
|
+
*/
|
|
132
|
+
colCount: NumberConstructor;
|
|
133
|
+
/**
|
|
134
|
+
* 是否非表格表单,默认值为 undefined
|
|
135
|
+
*/
|
|
136
|
+
notTableForm: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
default: undefined;
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* 注释值所占列跨度
|
|
142
|
+
*/
|
|
143
|
+
commentValueColspan: NumberConstructor;
|
|
144
|
+
/**
|
|
145
|
+
* 注释标签所占列跨度
|
|
146
|
+
*/
|
|
147
|
+
commentLabelColspan: NumberConstructor;
|
|
148
|
+
/**
|
|
149
|
+
* 是否使用 ElRow 包裹内容
|
|
150
|
+
*/
|
|
151
|
+
wrapRow: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
export declare const manualBindProps: Record<string, boolean | undefined>;
|
|
157
|
+
export declare const predicate: (propsKey: string) => boolean;
|
package/props/form.mjs
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
//#region src/props/form.ts
|
|
2
|
+
var e = {
|
|
3
|
+
model: Object,
|
|
4
|
+
rules: Object,
|
|
5
|
+
inline: {
|
|
6
|
+
type: Boolean,
|
|
7
|
+
default: !1
|
|
8
|
+
},
|
|
9
|
+
labelPosition: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: "right"
|
|
12
|
+
},
|
|
13
|
+
labelWidth: {
|
|
14
|
+
type: [String, Number],
|
|
15
|
+
default: "auto"
|
|
16
|
+
},
|
|
17
|
+
labelSuffix: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ""
|
|
20
|
+
},
|
|
21
|
+
hideRequiredAsterisk: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
requireAsteriskPosition: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "left"
|
|
28
|
+
},
|
|
29
|
+
showMessage: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: !0
|
|
32
|
+
},
|
|
33
|
+
inlineMessage: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !1
|
|
36
|
+
},
|
|
37
|
+
statusIcon: {
|
|
38
|
+
type: Boolean,
|
|
39
|
+
default: !1
|
|
40
|
+
},
|
|
41
|
+
validateOnRuleChange: {
|
|
42
|
+
type: Boolean,
|
|
43
|
+
default: !0
|
|
44
|
+
},
|
|
45
|
+
size: String,
|
|
46
|
+
disabled: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: void 0
|
|
49
|
+
},
|
|
50
|
+
scrollToError: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: !1
|
|
53
|
+
},
|
|
54
|
+
scrollIntoViewOptions: [Object, Boolean],
|
|
55
|
+
requiredFields: Array,
|
|
56
|
+
disabledFields: Array,
|
|
57
|
+
enabledFields: Array,
|
|
58
|
+
showAdvice: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !0
|
|
61
|
+
},
|
|
62
|
+
columns: [Array, Object],
|
|
63
|
+
colCount: Number,
|
|
64
|
+
notTableForm: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: void 0
|
|
67
|
+
},
|
|
68
|
+
commentValueColspan: Number,
|
|
69
|
+
commentLabelColspan: Number,
|
|
70
|
+
wrapRow: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
default: !0
|
|
73
|
+
}
|
|
74
|
+
}, t = {
|
|
75
|
+
showMessage: !0,
|
|
76
|
+
required: !0,
|
|
77
|
+
requiredFields: !0,
|
|
78
|
+
disabledFields: !0,
|
|
79
|
+
enabledFields: !0,
|
|
80
|
+
showAdvice: !0,
|
|
81
|
+
columns: !0,
|
|
82
|
+
colCount: !0,
|
|
83
|
+
notTableForm: !0,
|
|
84
|
+
commentValueColspan: !0,
|
|
85
|
+
commentLabelColspan: !0,
|
|
86
|
+
wrapRow: !0
|
|
87
|
+
}, n = (e) => t[e] !== !0;
|
|
88
|
+
//#endregion
|
|
89
|
+
export { e as allProps, t as manualBindProps, n as predicate };
|
package/props/image.d.ts
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { commonManualBindProps } from './common.ts';
|
|
2
|
+
export declare const allProps: {
|
|
3
|
+
src: StringConstructor;
|
|
4
|
+
fit: StringConstructor;
|
|
5
|
+
hideOnClickModal: BooleanConstructor;
|
|
6
|
+
wrapFormItem: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
col: BooleanConstructor;
|
|
15
|
+
span: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
};
|
|
19
|
+
offset: {
|
|
20
|
+
type: NumberConstructor;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
push: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
pull: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
xs: {
|
|
32
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
33
|
+
};
|
|
34
|
+
sm: {
|
|
35
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
36
|
+
};
|
|
37
|
+
md: {
|
|
38
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
39
|
+
};
|
|
40
|
+
lg: {
|
|
41
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
42
|
+
};
|
|
43
|
+
xl: {
|
|
44
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
45
|
+
};
|
|
46
|
+
tag: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
prop: (ArrayConstructor | StringConstructor)[];
|
|
51
|
+
label: StringConstructor;
|
|
52
|
+
labelPosition: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
labelWidth: (StringConstructor | NumberConstructor)[];
|
|
57
|
+
required: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
rules: ObjectConstructor;
|
|
62
|
+
error: StringConstructor;
|
|
63
|
+
showMessage: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
inlineMessage: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
size: StringConstructor;
|
|
72
|
+
for: StringConstructor;
|
|
73
|
+
validateStatus: StringConstructor;
|
|
74
|
+
messagePrefix: StringConstructor;
|
|
75
|
+
message: StringConstructor;
|
|
76
|
+
wrapCol: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
fixedSpan: NumberConstructor;
|
|
81
|
+
block: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
unwrap: BooleanConstructor;
|
|
86
|
+
half: BooleanConstructor;
|
|
87
|
+
formItemClass: StringConstructor;
|
|
88
|
+
hideLabel: BooleanConstructor;
|
|
89
|
+
tips: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
};
|
|
92
|
+
tipsAfterLabel: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
labelColspan: (StringConstructor | NumberConstructor)[];
|
|
97
|
+
inputColspan: (StringConstructor | NumberConstructor)[];
|
|
98
|
+
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
99
|
+
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
100
|
+
};
|
|
101
|
+
export declare const manualBindProps: Record<string, boolean | undefined>;
|
|
102
|
+
export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
|
package/props/image.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { commonManualBindProps as e } from "./common.mjs";
|
|
2
|
+
//#region src/props/image.ts
|
|
3
|
+
var t = {
|
|
4
|
+
...e,
|
|
5
|
+
src: String,
|
|
6
|
+
fit: String,
|
|
7
|
+
hideOnClickModal: Boolean
|
|
8
|
+
}, n = { modelValue: !0 }, r = (t) => e[t] === void 0 && n[t] !== !0;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { t as allProps, n as manualBindProps, r as predicate };
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { commonManualBindProps } from './common.ts';
|
|
2
|
+
export declare const allProps: {
|
|
3
|
+
modelValue: (StringConstructor | NumberConstructor)[];
|
|
4
|
+
size: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
};
|
|
7
|
+
wrapFormItem: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
disabled: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: undefined;
|
|
14
|
+
};
|
|
15
|
+
col: BooleanConstructor;
|
|
16
|
+
span: {
|
|
17
|
+
type: NumberConstructor;
|
|
18
|
+
default: number;
|
|
19
|
+
};
|
|
20
|
+
offset: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
default: number;
|
|
23
|
+
};
|
|
24
|
+
push: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
pull: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
xs: {
|
|
33
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
34
|
+
};
|
|
35
|
+
sm: {
|
|
36
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
37
|
+
};
|
|
38
|
+
md: {
|
|
39
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
40
|
+
};
|
|
41
|
+
lg: {
|
|
42
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
43
|
+
};
|
|
44
|
+
xl: {
|
|
45
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
46
|
+
};
|
|
47
|
+
tag: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
prop: (ArrayConstructor | StringConstructor)[];
|
|
52
|
+
label: StringConstructor;
|
|
53
|
+
labelPosition: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
labelWidth: (StringConstructor | NumberConstructor)[];
|
|
58
|
+
required: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
rules: ObjectConstructor;
|
|
63
|
+
error: StringConstructor;
|
|
64
|
+
showMessage: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
inlineMessage: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
for: StringConstructor;
|
|
73
|
+
validateStatus: StringConstructor;
|
|
74
|
+
messagePrefix: StringConstructor;
|
|
75
|
+
message: StringConstructor;
|
|
76
|
+
wrapCol: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
fixedSpan: NumberConstructor;
|
|
81
|
+
block: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
unwrap: BooleanConstructor;
|
|
86
|
+
half: BooleanConstructor;
|
|
87
|
+
formItemClass: StringConstructor;
|
|
88
|
+
hideLabel: BooleanConstructor;
|
|
89
|
+
tips: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
};
|
|
92
|
+
tipsAfterLabel: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
labelColspan: (StringConstructor | NumberConstructor)[];
|
|
97
|
+
inputColspan: (StringConstructor | NumberConstructor)[];
|
|
98
|
+
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
99
|
+
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
100
|
+
};
|
|
101
|
+
export declare const manualBindProps: Record<string, boolean | undefined>;
|
|
102
|
+
export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { commonAutoBindProps as e, commonManualBindProps as t } from "./common.mjs";
|
|
2
|
+
//#region src/props/input-cron.ts
|
|
3
|
+
var n = {
|
|
4
|
+
...t,
|
|
5
|
+
...e,
|
|
6
|
+
modelValue: [String, Number]
|
|
7
|
+
}, r = {
|
|
8
|
+
readonly: !0,
|
|
9
|
+
placeholder: !0,
|
|
10
|
+
disabled: !0,
|
|
11
|
+
modelValue: !0,
|
|
12
|
+
prefix: !0,
|
|
13
|
+
suffix: !0
|
|
14
|
+
}, i = (e) => t[e] === void 0 && r[e] !== !0;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as allProps, r as manualBindProps, i as predicate };
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { commonManualBindProps } from './common.ts';
|
|
2
|
+
export declare const allProps: {
|
|
3
|
+
/**
|
|
4
|
+
* 选中项绑定值
|
|
5
|
+
*/
|
|
6
|
+
modelValue: (NumberConstructor | null)[];
|
|
7
|
+
/**
|
|
8
|
+
* 设置计数器允许的最小值
|
|
9
|
+
*/
|
|
10
|
+
min: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 设置计数器允许的最大值
|
|
16
|
+
*/
|
|
17
|
+
max: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* 计数器步长
|
|
23
|
+
*/
|
|
24
|
+
step: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
default: number;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* 是否只能输入 step 的倍数
|
|
30
|
+
*/
|
|
31
|
+
stepStrictly: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* 数值精度
|
|
37
|
+
*/
|
|
38
|
+
precision: NumberConstructor;
|
|
39
|
+
/**
|
|
40
|
+
* 计数器尺寸
|
|
41
|
+
* @values large, default, small
|
|
42
|
+
*/
|
|
43
|
+
size: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* 原生 readonly 属性,是否只读
|
|
49
|
+
* @since 2.2.16
|
|
50
|
+
*/
|
|
51
|
+
readonly: {
|
|
52
|
+
type: BooleanConstructor;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* 是否使用控制按钮
|
|
57
|
+
*/
|
|
58
|
+
controls: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* 控制按钮位置
|
|
64
|
+
* @values default, right
|
|
65
|
+
*/
|
|
66
|
+
controlsPosition: StringConstructor;
|
|
67
|
+
/**
|
|
68
|
+
* 等价于原生 input name 属性
|
|
69
|
+
*/
|
|
70
|
+
name: StringConstructor;
|
|
71
|
+
/**
|
|
72
|
+
* 等价于原生 input aria-label 属性
|
|
73
|
+
* @since 2.7.2
|
|
74
|
+
*/
|
|
75
|
+
ariaLabel: StringConstructor;
|
|
76
|
+
/**
|
|
77
|
+
* 等价于原生 input placeholder 属性
|
|
78
|
+
*/
|
|
79
|
+
placeholder: StringConstructor;
|
|
80
|
+
/**
|
|
81
|
+
* 等价于原生 input id 属性
|
|
82
|
+
*/
|
|
83
|
+
id: StringConstructor;
|
|
84
|
+
/**
|
|
85
|
+
* 当输入框被清空时显示的值
|
|
86
|
+
* @since 2.2.0
|
|
87
|
+
*/
|
|
88
|
+
valueOnClear: (StringConstructor | NumberConstructor | null)[];
|
|
89
|
+
/**
|
|
90
|
+
* 是否触发表单验证
|
|
91
|
+
*/
|
|
92
|
+
validateEvent: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* 等价于原生 input inputmode 属性
|
|
98
|
+
* @since 2.10.3
|
|
99
|
+
*/
|
|
100
|
+
inputmode: StringConstructor;
|
|
101
|
+
/**
|
|
102
|
+
* 内部输入文本对齐
|
|
103
|
+
* @since 2.10.5
|
|
104
|
+
* @values left, center, right
|
|
105
|
+
*/
|
|
106
|
+
align: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* 禁用科学计数法的输入(例如输入 'e')
|
|
112
|
+
* @since 2.10.5
|
|
113
|
+
*/
|
|
114
|
+
disabledScientific: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
118
|
+
prefix: StringConstructor;
|
|
119
|
+
suffix: StringConstructor;
|
|
120
|
+
append: StringConstructor;
|
|
121
|
+
wrapFormItem: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
disabled: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
default: undefined;
|
|
128
|
+
};
|
|
129
|
+
col: BooleanConstructor;
|
|
130
|
+
span: {
|
|
131
|
+
type: NumberConstructor;
|
|
132
|
+
default: number;
|
|
133
|
+
};
|
|
134
|
+
offset: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: number;
|
|
137
|
+
};
|
|
138
|
+
push: {
|
|
139
|
+
type: NumberConstructor;
|
|
140
|
+
default: number;
|
|
141
|
+
};
|
|
142
|
+
pull: {
|
|
143
|
+
type: NumberConstructor;
|
|
144
|
+
default: number;
|
|
145
|
+
};
|
|
146
|
+
xs: {
|
|
147
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
148
|
+
};
|
|
149
|
+
sm: {
|
|
150
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
151
|
+
};
|
|
152
|
+
md: {
|
|
153
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
154
|
+
};
|
|
155
|
+
lg: {
|
|
156
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
157
|
+
};
|
|
158
|
+
xl: {
|
|
159
|
+
type: (ObjectConstructor | NumberConstructor)[];
|
|
160
|
+
};
|
|
161
|
+
tag: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
prop: (ArrayConstructor | StringConstructor)[];
|
|
166
|
+
label: StringConstructor;
|
|
167
|
+
labelPosition: {
|
|
168
|
+
type: StringConstructor;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
labelWidth: (StringConstructor | NumberConstructor)[];
|
|
172
|
+
required: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
rules: ObjectConstructor;
|
|
177
|
+
error: StringConstructor;
|
|
178
|
+
showMessage: {
|
|
179
|
+
type: BooleanConstructor;
|
|
180
|
+
default: boolean;
|
|
181
|
+
};
|
|
182
|
+
inlineMessage: {
|
|
183
|
+
type: BooleanConstructor;
|
|
184
|
+
default: boolean;
|
|
185
|
+
};
|
|
186
|
+
for: StringConstructor;
|
|
187
|
+
validateStatus: StringConstructor;
|
|
188
|
+
messagePrefix: StringConstructor;
|
|
189
|
+
message: StringConstructor;
|
|
190
|
+
wrapCol: {
|
|
191
|
+
type: BooleanConstructor;
|
|
192
|
+
default: boolean;
|
|
193
|
+
};
|
|
194
|
+
fixedSpan: NumberConstructor;
|
|
195
|
+
block: {
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
default: undefined;
|
|
198
|
+
};
|
|
199
|
+
unwrap: BooleanConstructor;
|
|
200
|
+
half: BooleanConstructor;
|
|
201
|
+
formItemClass: StringConstructor;
|
|
202
|
+
hideLabel: BooleanConstructor;
|
|
203
|
+
tips: {
|
|
204
|
+
type: StringConstructor;
|
|
205
|
+
};
|
|
206
|
+
tipsAfterLabel: {
|
|
207
|
+
type: BooleanConstructor;
|
|
208
|
+
default: boolean;
|
|
209
|
+
};
|
|
210
|
+
labelColspan: (StringConstructor | NumberConstructor)[];
|
|
211
|
+
inputColspan: (StringConstructor | NumberConstructor)[];
|
|
212
|
+
labelRowspan: (StringConstructor | NumberConstructor)[];
|
|
213
|
+
inputRowspan: (StringConstructor | NumberConstructor)[];
|
|
214
|
+
};
|
|
215
|
+
export declare const manualBindProps: Record<string, boolean | undefined>;
|
|
216
|
+
export declare const predicate: (propsKey: keyof typeof commonManualBindProps) => boolean;
|