@nutui/nutui-react-taro 2.3.9 → 2.3.11-patch.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/CHANGELOG.md +22 -0
- package/dist/esm/ActionSheet/style/style.css +1 -1
- package/dist/esm/ActionSheet.js +1 -13
- package/dist/esm/Address/style/style.css +1 -1
- package/dist/esm/Address.js +1 -21
- package/dist/esm/Animate/style/style.css +1 -1
- package/dist/esm/Animate.js +1 -4
- package/dist/esm/AnimatingNumbers.js +1 -1
- package/dist/esm/Audio/style/style.css +1 -1
- package/dist/esm/Audio.js +1 -15
- package/dist/esm/Avatar.js +1 -10
- package/dist/esm/AvatarCropper.js +1 -10
- package/dist/esm/AvatarGroup.js +1 -4
- package/dist/esm/BackTop.js +1 -6
- package/dist/esm/Badge/style/style.css +1 -1
- package/dist/esm/Badge.js +1 -4
- package/dist/esm/Barrage/style/style.css +1 -1
- package/dist/esm/Barrage.js +1 -5
- package/dist/esm/Button.js +1 -6
- package/dist/esm/Calendar/style/style.css +1 -1
- package/dist/esm/Calendar.js +1 -20
- package/dist/esm/CalendarCard.js +1 -8
- package/dist/esm/CalendarItem.js +1 -12
- package/dist/esm/Card/style/style.css +1 -1
- package/dist/esm/Card.js +1 -7
- package/dist/esm/Cascader/style/style.css +1 -1
- package/dist/esm/Cascader.js +1 -18
- package/dist/esm/Cell.js +1 -5
- package/dist/esm/CellGroup.js +1 -4
- package/dist/esm/Checkbox/style/style.css +1 -1
- package/dist/esm/Checkbox.js +1 -7
- package/dist/esm/CheckboxGroup/style/style.css +1 -1
- package/dist/esm/CheckboxGroup.js +1 -7
- package/dist/esm/CircleProgress.js +1 -6
- package/dist/esm/Col/style/style.css +1 -1
- package/dist/esm/Col.js +1 -5
- package/dist/esm/Collapse/style/style.css +1 -1
- package/dist/esm/Collapse.js +1 -8
- package/dist/esm/CollapseItem/style/style.css +1 -1
- package/dist/esm/CollapseItem.js +1 -5
- package/dist/esm/ConfigProvider.js +2 -5
- package/dist/esm/CountDown.js +1 -7
- package/dist/esm/DatePicker/style/style.css +1 -1
- package/dist/esm/DatePicker.js +1 -21
- package/dist/esm/Dialog/style/style.css +1 -1
- package/dist/esm/Dialog.js +1 -16
- package/dist/esm/Divider/style/style.css +1 -1
- package/dist/esm/Divider.js +1 -4
- package/dist/esm/Drag.js +1 -4
- package/dist/esm/Elevator.js +1 -6
- package/dist/esm/Ellipsis.js +1 -7
- package/dist/esm/Empty.js +1 -9
- package/dist/esm/FixedNav.js +1 -13
- package/dist/esm/Form/style/style.css +1 -1
- package/dist/esm/Form.js +3 -4
- package/dist/esm/FormItem/style/style.css +1 -1
- package/dist/esm/FormItem.js +1 -6
- package/dist/esm/Grid/style/style.css +1 -1
- package/dist/esm/Grid.js +1 -7
- package/dist/esm/GridItem/style/style.css +1 -1
- package/dist/esm/GridItem.js +1 -6
- package/dist/esm/Image.js +1 -7
- package/dist/esm/ImagePreview/style/style.css +1 -1
- package/dist/esm/ImagePreview.js +1 -20
- package/dist/esm/Indicator/style/style.css +1 -1
- package/dist/esm/Indicator.js +1 -3
- package/dist/esm/InfiniteLoading.js +1 -8
- package/dist/esm/Input.js +1 -11
- package/dist/esm/InputNumber.js +1 -7
- package/dist/esm/Layout.js +1 -2
- package/dist/esm/Loading.js +1 -5
- package/dist/esm/Menu/style/style.css +1 -1
- package/dist/esm/Menu.js +1 -15
- package/dist/esm/MenuItem/style/style.css +1 -1
- package/dist/esm/MenuItem.js +1 -14
- package/dist/esm/NavBar/style/style.css +1 -1
- package/dist/esm/NavBar.js +1 -7
- package/dist/esm/NoticeBar/style/style.css +1 -1
- package/dist/esm/NoticeBar.js +1 -7
- package/dist/esm/Notify.js +1 -9
- package/dist/esm/NumberKeyboard/style/style.css +1 -1
- package/dist/esm/NumberKeyboard.js +1 -15
- package/dist/esm/Overlay.js +1 -9
- package/dist/esm/Pagination.js +1 -8
- package/dist/esm/Picker/style/style.css +1 -1
- package/dist/esm/Picker.js +1 -19
- package/dist/esm/Popover/style/style.css +1 -1
- package/dist/esm/Popover.js +1 -14
- package/dist/esm/Popup/style/style.css +1 -1
- package/dist/esm/Popup.js +1 -12
- package/dist/esm/Price/style/style.css +1 -1
- package/dist/esm/Price.js +1 -3
- package/dist/esm/Progress.js +1 -4
- package/dist/esm/PullToRefresh.js +1 -10
- package/dist/esm/Radio/style/style.css +1 -1
- package/dist/esm/Radio.js +1 -7
- package/dist/esm/RadioGroup/style/style.css +1 -1
- package/dist/esm/RadioGroup.js +1 -7
- package/dist/esm/Range/style/style.css +1 -1
- package/dist/esm/Range.js +1 -10
- package/dist/esm/Rate.js +1 -11
- package/dist/esm/Row.js +1 -5
- package/dist/esm/SafeArea.js +1 -3
- package/dist/esm/SearchBar/style/style.css +1 -1
- package/dist/esm/SearchBar.js +1 -7
- package/dist/esm/ShortPassword/style/style.css +1 -1
- package/dist/esm/ShortPassword.js +1 -17
- package/dist/esm/SideNavBar/style/style.css +1 -1
- package/dist/esm/SideNavBar.js +1 -14
- package/dist/esm/SideNavBarItem.js +1 -2
- package/dist/esm/Signature.js +1 -4
- package/dist/esm/Skeleton/style/style.css +1 -1
- package/dist/esm/Skeleton.js +1 -11
- package/dist/esm/Space.js +1 -3
- package/dist/esm/Step/style/style.css +1 -1
- package/dist/esm/Step.js +1 -6
- package/dist/esm/Steps/style/style.css +1 -1
- package/dist/esm/Steps.js +1 -5
- package/dist/esm/Sticky.js +1 -7
- package/dist/esm/SubSideNavBar.js +1 -3
- package/dist/esm/Swipe/style/style.css +1 -1
- package/dist/esm/Swipe.js +1 -8
- package/dist/esm/Swiper/style/style.css +1 -1
- package/dist/esm/Swiper.js +3 -3
- package/dist/esm/SwiperItem.js +1 -2
- package/dist/esm/Switch/style/style.css +1 -1
- package/dist/esm/Switch.js +1 -5
- package/dist/esm/TabPane.js +1 -3
- package/dist/esm/Tabbar/style/style.css +1 -1
- package/dist/esm/Tabbar.js +1 -8
- package/dist/esm/TabbarItem/style/style.css +1 -1
- package/dist/esm/TabbarItem.js +1 -5
- package/dist/esm/Table/style/style.css +1 -1
- package/dist/esm/Table.js +1 -9
- package/dist/esm/Tabs/style/style.css +1 -1
- package/dist/esm/Tabs.js +1 -11
- package/dist/esm/Tag.js +1 -5
- package/dist/esm/TextArea/style/style.css +1 -1
- package/dist/esm/TextArea.js +1 -10
- package/dist/esm/TimeDetail.js +1 -4
- package/dist/esm/TimeSelect/style/style.css +1 -1
- package/dist/esm/TimeSelect.js +1 -16
- package/dist/esm/Toast.js +1 -15
- package/dist/esm/Tour/style/style.css +1 -1
- package/dist/esm/Tour.js +1 -16
- package/dist/esm/TrendArrow.js +1 -4
- package/dist/esm/Uploader.js +1 -14
- package/dist/esm/Video.js +1 -4
- package/dist/esm/VirtualList/style/style.css +1 -1
- package/dist/esm/VirtualList.js +1 -6
- package/dist/esm/WaterMark.js +1 -7
- package/dist/esm/{actionsheet.taro-6NiOrNyd.js → actionsheet.taro-EwM5KF1i.js} +3 -3
- package/dist/esm/{address.taro-B54ZOtmo.js → address.taro-BL-QeHyn.js} +5 -5
- package/dist/esm/{animate.taro-m67VyUHP.js → animate.taro-50C7ngw9.js} +1 -1
- package/dist/esm/{audio.taro-dJgj5qIu.js → audio.taro-DWSPma8f.js} +4 -4
- package/dist/esm/{avatar.taro-7ltbzIdY.js → avatar.taro-Bjfoms0J.js} +3 -3
- package/dist/esm/{avatarcropper.taro-GIZxzMJ_.js → avatarcropper.taro-BRPMDUrl.js} +4 -4
- package/dist/esm/{avatargroup.taro-h6dpv6UX.js → avatargroup.taro-CXnMGdp1.js} +1 -1
- package/dist/esm/{backtop.taro-Y3vOJiXq.js → backtop.taro-Ux0Nrvkj.js} +2 -2
- package/dist/esm/{badge.taro-993L861f.js → badge.taro-B4a7dAtf.js} +1 -1
- package/dist/esm/barrage.taro-DW7wFS3Q.js +118 -0
- package/dist/esm/{button.taro-3IIFy1M2.js → button.taro-COS5LtYd.js} +1 -1
- package/dist/esm/{calendar.taro-iNNHje7V.js → calendar.taro-CruXd4DL.js} +5 -5
- package/dist/esm/{calendarcard.taro-9s7naGmU.js → calendarcard.taro-CqLW3m5r.js} +3 -3
- package/dist/esm/{calendaritem.taro-o6Z8OOGY.js → calendaritem.taro-DxCnbpt9.js} +5 -5
- package/dist/esm/{card.taro-p4PTy-IU.js → card.taro-CaR3kJw9.js} +3 -3
- package/dist/esm/{cascader.taro-BxyK5ybo.js → cascader.taro-DxedRnNS.js} +6 -7
- package/dist/esm/{cell.taro-jD6MoFTj.js → cell.taro-BlmoMAPC.js} +2 -2
- package/dist/esm/{cellgroup.taro-08A3XAze.js → cellgroup.taro-DYkCnAYN.js} +1 -1
- package/dist/esm/{checkbox.taro-xMxWdpyI.js → checkbox.taro-B2rk4RIe.js} +2 -2
- package/dist/esm/{circleprogress.taro-myZgamBw.js → circleprogress.taro-Ce69a8ZO.js} +3 -3
- package/dist/esm/{col.taro-5FMpttLE.js → col.taro-Czx3Daw2.js} +2 -2
- package/dist/esm/{collapse.taro-sZibDygv.js → collapse.taro-kDtcoxSd.js} +3 -3
- package/dist/esm/{collapseitem.taro-AaQ_msgd.js → collapseitem.taro-BGPS4t_l.js} +1 -1
- package/dist/esm/{configprovider.taro-q5J2gQbi.js → configprovider.taro-BXergk04.js} +1 -1
- package/dist/esm/{countdown.taro-XZlfWBrA.js → countdown.taro-CkIt0qI3.js} +3 -3
- package/dist/esm/{datepicker.taro-DrXkqJkN.js → datepicker.taro-GAD7C5yn.js} +5 -5
- package/dist/esm/{dialog.taro-dmQGDu3o.js → dialog.taro-UjZY2h35.js} +4 -4
- package/dist/esm/{divider.taro-H5fKry4P.js → divider.taro-C4sK6QMP.js} +1 -1
- package/dist/esm/{drag.taro-BwcleRuB.js → drag.taro-ByrsVbeB.js} +1 -1
- package/dist/esm/{elevator.taro-2nbUM3vH.js → elevator.taro-BxW3Xte-.js} +1 -1
- package/dist/esm/{ellipsis.taro-VApVqS_j.js → ellipsis.taro-CKXiIrwO.js} +2 -2
- package/dist/esm/{empty.taro-gwvOr1xf.js → empty.taro-BCBOBl64.js} +3 -3
- package/dist/esm/{fixednav.taro-QVBXysDj.js → fixednav.taro-Cdn0eyJ8.js} +3 -3
- package/dist/esm/{formitem.taro-atY4A0pS.js → formitem.taro-yAquq6MF.js} +44 -15
- package/dist/esm/{grid.taro-3X-_AhXw.js → grid.taro-BqwDc6zi.js} +2 -2
- package/dist/esm/{griditem.taro-TJDJVeQy.js → griditem.taro-BqS5eUJd.js} +2 -2
- package/dist/esm/{image.taro-FfeikBlO.js → image.taro-W45-Ju0_.js} +1 -1
- package/dist/esm/{imagepreview.taro--fVrJUOE.js → imagepreview.taro-CLgk3WWD.js} +5 -5
- package/dist/esm/{infiniteloading.taro-BO0_y46K.js → infiniteloading.taro-7Q9OFjQJ.js} +2 -2
- package/dist/esm/{input.taro-YoPsV-op.js → input.taro-CfP5WI8f.js} +7 -4
- package/dist/esm/inputnumber.taro-BV3Ecr1e.js +169 -0
- package/dist/esm/{loading.taro-aHN6xLIT.js → loading.taro-BEIQQqUL.js} +1 -1
- package/dist/esm/{menu.taro-ODwHYGFM.js → menu.taro-DqBJzQBE.js} +2 -2
- package/dist/esm/{menuitem.taro-9nyTDLpt.js → menuitem.taro-KGs5VqRI.js} +4 -4
- package/dist/esm/{navbar.taro-AuKPDCaW.js → navbar.taro-Cv0XsdT0.js} +2 -2
- package/dist/esm/{noticebar.taro-bHnEzTvL.js → noticebar.taro-BrVbtxH_.js} +2 -2
- package/dist/esm/{notify.taro-mA9KS8qh.js → notify.taro-DblYP9in.js} +2 -2
- package/dist/esm/{numberkeyboard.taro-bF6VCXry.js → numberkeyboard.taro-DHpKwvHG.js} +3 -3
- package/dist/esm/nutui-react.es.js +93 -118
- package/dist/esm/{overlay.taro-HsGeVyPh.js → overlay.taro-ByBhOQNL.js} +3 -3
- package/dist/esm/{pagination.taro-C4_Ey5KC.js → pagination.taro-BEuRb-o7.js} +3 -3
- package/dist/esm/{picker.taro-csU3SZPF.js → picker.taro-kFY-CGKh.js} +8 -8
- package/dist/esm/{popover.taro-qldQwLPC.js → popover.taro-BZLerpsZ.js} +3 -3
- package/dist/esm/{popup.taro-ObEUml4r.js → popup.taro-44018H4d.js} +2 -2
- package/dist/esm/{price.taro-Z1zR8YWV.js → price.taro-_NRkxuMH.js} +1 -1
- package/dist/esm/{progress.taro-pStvlrbA.js → progress.taro-CVaqKXtL.js} +1 -1
- package/dist/esm/{pulltorefresh.taro-2jER8Mat.js → pulltorefresh.taro-uDgX9gWA.js} +3 -3
- package/dist/esm/{radio.taro-EKJXMjnX.js → radio.taro-C70KYJbH.js} +2 -2
- package/dist/esm/{range.taro-mDYY3SXA.js → range.taro-CIkFRE-4.js} +4 -4
- package/dist/esm/{rate.taro-_5Mjd_EO.js → rate.taro-BAWEa8tE.js} +4 -4
- package/dist/esm/{row.taro-IxNlKKQM.js → row.taro-BrJsteWh.js} +2 -2
- package/dist/esm/{searchbar.taro-hVzdT6nI.js → searchbar.taro-Dfwiv4oP.js} +30 -24
- package/dist/esm/{shortpassword.taro-bZCwIpEn.js → shortpassword.taro-C3QLh5Lg.js} +23 -10
- package/dist/esm/{sidenavbar.taro-8qoGZg5n.js → sidenavbar.taro-DQY5m1Bu.js} +3 -3
- package/dist/esm/{signature.taro-y3qxnKMv.js → signature.taro-BWfscsm1.js} +1 -1
- package/dist/esm/{skeleton.taro-Pg7WtP0e.js → skeleton.taro-DNPlesx9.js} +4 -4
- package/dist/esm/{step.taro-_DEZqFGb.js → step.taro-CIwl4EYN.js} +2 -2
- package/dist/esm/{steps.taro-PH0qWPla.js → steps.taro-IN9BqTug.js} +2 -2
- package/dist/esm/{sticky.taro-MmKUU2Wv.js → sticky.taro-DK45VevL.js} +4 -4
- package/dist/esm/{subsidenavbar.taro-Zy52MDDG.js → subsidenavbar.taro-C315xYFY.js} +1 -1
- package/dist/esm/{swipe.taro-p2ONOq1o.js → swipe.taro-ACO0JU5m.js} +3 -3
- package/dist/esm/{switch.taro-L0BAbMeu.js → switch.taro-bC4bQM5Q.js} +2 -2
- package/dist/esm/{tabbar.taro-QE0rjSKE.js → tabbar.taro-DhhFGx1g.js} +3 -3
- package/dist/esm/{tabbaritem.taro-t9C07OYX.js → tabbaritem.taro-Dh4Ah1BN.js} +2 -2
- package/dist/esm/{table.taro-0zRh2hq6.js → table.taro-q5Hyb-LU.js} +3 -3
- package/dist/esm/{tabs.taro-w8ra49Qb.js → tabs.taro-CwhQTV-u.js} +6 -6
- package/dist/esm/{tag.taro-5KC_wObY.js → tag.taro-CkWLhERR.js} +1 -1
- package/dist/esm/{textarea.taro-9zQLTCwU.js → textarea.taro-DHKSJq_a.js} +3 -3
- package/dist/esm/{timedetail.taro-TF9Wcblh.js → timedetail.taro-B3s7HEEX.js} +1 -1
- package/dist/esm/{timeselect.taro-j8LgSCe5.js → timeselect.taro-uhIUQE1A.js} +4 -4
- package/dist/esm/{toast.taro-xnEQSCDJ.js → toast.taro-Hb0vdac6.js} +4 -4
- package/dist/esm/{tour.taro-CGEjzzN_.js → tour.taro-BXMR1Ftl.js} +2 -2
- package/dist/esm/{trendarrow.taro-hsM6-XsQ.js → trendarrow.taro-B5XMr2ZK.js} +1 -1
- package/dist/esm/types/src/packages/formitem/formitem.d.ts +6 -2
- package/dist/esm/types/src/packages/formitem/formitem.taro.d.ts +6 -2
- package/dist/esm/types/src/packages/inputnumber/inputnumber.d.ts +15 -15
- package/dist/esm/types/src/packages/inputnumber/inputnumber.taro.d.ts +15 -17
- package/dist/esm/types/src/packages/searchbar/searchbar.taro.d.ts +11 -19
- package/dist/esm/types/src/packages/shortpassword/shortpassword.d.ts +3 -2
- package/dist/esm/types/src/packages/shortpassword/shortpassword.taro.d.ts +3 -2
- package/dist/esm/types/src/packages/shortpassword/types.d.ts +4 -0
- package/dist/esm/{uploader.taro-bRF02TR9.js → uploader.taro-CH1KgoFE.js} +6 -6
- package/dist/esm/{use-custom-event-XvsODK8c.js → use-custom-event-BFZJeHQI.js} +2 -2
- package/dist/esm/{use-props-value-vKr0R0AX.js → use-props-value-DvrH7S--.js} +1 -1
- package/dist/esm/{virtuallist.taro-AeTVtFFa.js → virtuallist.taro-B1TrMg9X.js} +1 -1
- package/dist/esm/{watermark.taro-nvSmcwu-.js → watermark.taro-CzjMPcgm.js} +2 -2
- package/dist/locales/base.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/id-ID.js +1 -1
- package/dist/locales/tr-TR.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/locales/zh-TW.js +1 -1
- package/dist/locales/zh-UG.js +1 -1
- package/dist/nutui.react.es.js +523 -478
- package/dist/nutui.react.umd.js +523 -478
- package/dist/packages/animate/animate.scss +0 -27
- package/dist/packages/audio/audio.scss +0 -5
- package/dist/packages/avatarcropper/avatarcropper.scss +0 -2
- package/dist/packages/badge/badge.scss +7 -0
- package/dist/packages/barrage/barrage.scss +23 -4
- package/dist/packages/button/button.scss +0 -1
- package/dist/packages/calendar/calendar.scss +4 -4
- package/dist/packages/calendarcard/calendarcard.scss +0 -1
- package/dist/packages/cascader/cascader.scss +0 -1
- package/dist/packages/checkbox/checkbox.scss +0 -2
- package/dist/packages/checkboxgroup/checkboxgroup.scss +1 -3
- package/dist/packages/col/col.scss +2 -2
- package/dist/packages/collapseitem/collapseitem.scss +2 -3
- package/dist/packages/dialog/dialog.scss +4 -0
- package/dist/packages/divider/divider.scss +1 -1
- package/dist/packages/fixednav/fixednav.scss +0 -2
- package/dist/packages/form/form.scss +24 -26
- package/dist/packages/formitem/formitem.scss +0 -1
- package/dist/packages/grid/grid.scss +1 -1
- package/dist/packages/griditem/griditem.scss +28 -26
- package/dist/packages/imagepreview/imagepreview.scss +0 -1
- package/dist/packages/indicator/indicator.scss +2 -3
- package/dist/packages/menu/menu.scss +0 -7
- package/dist/packages/menuitem/menuitem.scss +14 -10
- package/dist/packages/navbar/navbar.scss +3 -5
- package/dist/packages/noticebar/noticebar.scss +20 -0
- package/dist/packages/numberkeyboard/numberkeyboard.scss +25 -18
- package/dist/packages/pagination/pagination.scss +0 -2
- package/dist/packages/picker/picker.scss +9 -0
- package/dist/packages/popover/popover.scss +0 -4
- package/dist/packages/popup/popup.scss +4 -19
- package/dist/packages/price/price.scss +1 -0
- package/dist/packages/radio/radio.scss +0 -1
- package/dist/packages/radiogroup/radiogroup.scss +10 -1
- package/dist/packages/range/range.scss +127 -127
- package/dist/packages/rate/rate.scss +0 -1
- package/dist/packages/searchbar/searchbar.scss +5 -2
- package/dist/packages/shortpassword/shortpassword.scss +4 -0
- package/dist/packages/skeleton/skeleton.scss +13 -3
- package/dist/packages/space/space.scss +0 -1
- package/dist/packages/step/step.scss +21 -25
- package/dist/packages/swipe/swipe.scss +0 -15
- package/dist/packages/swiper/swiper.scss +0 -1
- package/dist/packages/switch/switch.scss +11 -0
- package/dist/packages/table/table.scss +4 -5
- package/dist/packages/tabs/tabs.scss +16 -18
- package/dist/packages/tag/tag.scss +0 -1
- package/dist/packages/textarea/textarea.scss +1 -6
- package/dist/packages/timeselect/timeselect.scss +1 -6
- package/dist/packages/tour/tour.scss +1 -5
- package/dist/packages/trendarrow/trendarrow.scss +0 -1
- package/dist/packages/uploader/uploader.scss +0 -1
- package/dist/packages/virtuallist/virtuallist.scss +12 -12
- package/dist/style.css +1 -1
- package/dist/style.mjs +1 -1
- package/dist/styles/variables.scss +11 -7
- package/dist/types/index.d.ts +98 -98
- package/dist/types/packages/actionsheet/actionsheet.d.ts +1 -1
- package/dist/types/packages/actionsheet/actionsheet.taro.d.ts +1 -1
- package/dist/types/packages/address/address.d.ts +1 -1
- package/dist/types/packages/address/address.taro.d.ts +1 -1
- package/dist/types/packages/address/customRender.d.ts +1 -1
- package/dist/types/packages/address/customRender.taro.d.ts +1 -1
- package/dist/types/packages/avatar/avatar.d.ts +1 -1
- package/dist/types/packages/avatar/avatar.taro.d.ts +1 -1
- package/dist/types/packages/calendaritem/calendaritem.d.ts +1 -1
- package/dist/types/packages/calendaritem/calendaritem.taro.d.ts +1 -1
- package/dist/types/packages/cascader/cascader.d.ts +1 -1
- package/dist/types/packages/cascader/cascader.taro.d.ts +1 -1
- package/dist/types/packages/cell/cell.d.ts +1 -1
- package/dist/types/packages/cell/cell.taro.d.ts +1 -1
- package/dist/types/packages/checkbox/checkbox.d.ts +2 -2
- package/dist/types/packages/checkbox/checkbox.taro.d.ts +2 -2
- package/dist/types/packages/checkboxgroup/checkboxgroup.d.ts +2 -2
- package/dist/types/packages/checkboxgroup/checkboxgroup.taro.d.ts +2 -2
- package/dist/types/packages/datepicker/datepicker.d.ts +1 -1
- package/dist/types/packages/datepicker/datepicker.taro.d.ts +1 -1
- package/dist/types/packages/dialog/dialogwrap.d.ts +1 -1
- package/dist/types/packages/empty/empty.d.ts +1 -1
- package/dist/types/packages/fixednav/fixednav.d.ts +1 -1
- package/dist/types/packages/fixednav/fixednav.taro.d.ts +1 -1
- package/dist/types/packages/form/form.d.ts +1 -1
- package/dist/types/packages/form/form.taro.d.ts +1 -1
- package/dist/types/packages/form/index.d.ts +1 -1
- package/dist/types/packages/form/index.taro.d.ts +1 -1
- package/dist/types/packages/formitem/formitem.d.ts +6 -2
- package/dist/types/packages/formitem/formitem.taro.d.ts +14 -2
- package/dist/types/packages/inputnumber/inputnumber.d.ts +15 -15
- package/dist/types/packages/inputnumber/inputnumber.taro.d.ts +28 -30
- package/dist/types/packages/menu/menu.d.ts +1 -1
- package/dist/types/packages/menu/menu.taro.d.ts +1 -1
- package/dist/types/packages/numberkeyboard/numberkeyboard.d.ts +1 -1
- package/dist/types/packages/numberkeyboard/numberkeyboard.taro.d.ts +1 -1
- package/dist/types/packages/nutui.react.build.d.ts +98 -98
- package/dist/types/packages/nutui.react.d.ts +98 -98
- package/dist/types/packages/nutui.react.taro.d.ts +98 -98
- package/dist/types/packages/picker/picker.d.ts +1 -1
- package/dist/types/packages/picker/picker.taro.d.ts +1 -1
- package/dist/types/packages/popover/popover.d.ts +1 -1
- package/dist/types/packages/popover/popover.taro.d.ts +1 -1
- package/dist/types/packages/popup/popup.d.ts +1 -1
- package/dist/types/packages/popup/popup.taro.d.ts +1 -1
- package/dist/types/packages/radio/radio.d.ts +2 -2
- package/dist/types/packages/radio/radio.taro.d.ts +2 -2
- package/dist/types/packages/searchbar/searchbar.taro.d.ts +21 -15
- package/dist/types/packages/shortpassword/shortpassword.d.ts +4 -3
- package/dist/types/packages/shortpassword/shortpassword.taro.d.ts +4 -3
- package/dist/types/packages/shortpassword/types.d.ts +4 -0
- package/dist/types/packages/swiper/index.d.ts +1 -1
- package/dist/types/packages/swiper/index.taro.d.ts +1 -1
- package/dist/types/packages/tabs/tabs.d.ts +1 -1
- package/dist/types/packages/tabs/tabs.taro.d.ts +1 -1
- package/dist/types/packages/timedetail/timedetail.d.ts +1 -1
- package/dist/types/packages/timedetail/timedetail.taro.d.ts +1 -1
- package/dist/types/packages/tour/tour.d.ts +1 -1
- package/dist/types/packages/tour/tour.taro.d.ts +1 -1
- package/package.json +5 -5
- package/dist/esm/barrage.taro-HsivAhbE.js +0 -91
- package/dist/esm/inputnumber.taro-7QptygT3.js +0 -197
- /package/dist/esm/{UserContext-9BL0cq8w.js → UserContext-BlM0373q.js} +0 -0
- /package/dist/esm/{context-6mGEMLsx.js → context-4T-L2x0_.js} +0 -0
- /package/dist/esm/{context-9BL0cq8w.js → context-BlM0373q.js} +0 -0
- /package/dist/esm/{date-nxKOxj5-.js → date-D0pth0qC.js} +0 -0
- /package/dist/esm/{get-rect-by-taro-piSHvCGp.js → get-rect-by-taro-BnfHyJJb.js} +0 -0
- /package/dist/esm/{get-scroll-parent-uywvoQMl.js → get-scroll-parent-DB1VRg11.js} +0 -0
- /package/dist/esm/{index-YvHA__3D.js → index-DeNfBlua.js} +0 -0
- /package/dist/esm/{index-oitVOJp9.js → index-nbt45_aK.js} +0 -0
- /package/dist/esm/{indicator.taro-ZH6MICsS.js → indicator.taro-dqWsdoRo.js} +0 -0
- /package/dist/esm/{layout.taro-lnN-wB0Y.js → layout.taro-DQc4VjqF.js} +0 -0
- /package/dist/esm/{pad-zero-iY-0-oys.js → pad-zero-B2OUQfh7.js} +0 -0
- /package/dist/esm/{px-check-JiWLYN2v.js → px-check-D1Xbd9pj.js} +0 -0
- /package/dist/esm/{raf-UzmDvMUW.js → raf-zwv-SBjP.js} +0 -0
- /package/dist/esm/{safearea.taro-afu_mY7g.js → safearea.taro-BMQHr7tu.js} +0 -0
- /package/dist/esm/{sidenavbaritem.taro-AxJNRAdi.js → sidenavbaritem.taro-Bp-s9bWO.js} +0 -0
- /package/dist/esm/{space.taro-q3R_yq79.js → space.taro-rvVRQ2Nl.js} +0 -0
- /package/dist/esm/{swiperitem.taro-BC1CE0T-.js → swiperitem.taro-CjcW-KYA.js} +0 -0
- /package/dist/esm/{tabpane.taro-5k7wWimS.js → tabpane.taro-Lkwp7scD.js} +0 -0
- /package/dist/esm/{typings-buMpDfSR.js → typings-DV9RBfhj.js} +0 -0
- /package/dist/esm/{use-force-update-0oEVD8Nr.js → use-force-update-CudFjCsy.js} +0 -0
- /package/dist/esm/{use-refs-IdrY0ww3.js → use-refs-BeEmziIR.js} +0 -0
- /package/dist/esm/{use-touch-BUFdkOSA.js → use-touch-OfEaR5qi.js} +0 -0
- /package/dist/esm/{video.taro-csvHwS2v.js → video.taro-kKcHksKW.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { A as Avatar } from "./avatar.taro-
|
|
4
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
+
import { A as Avatar } from "./avatar.taro-Bjfoms0J.js";
|
|
4
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
5
|
const defaultProps = {
|
|
6
6
|
...ComponentDefaults,
|
|
7
7
|
rows: 1,
|
|
@@ -20,7 +20,7 @@ const Skeleton = (props) => {
|
|
|
20
20
|
const classPrefix = "nut-skeleton";
|
|
21
21
|
const classes = classNames(classPrefix, className);
|
|
22
22
|
const avatarClass = classNames({
|
|
23
|
-
avatar: true,
|
|
23
|
+
[`nut-avatar`]: true,
|
|
24
24
|
[`avatar-${avatarShape}`]: avatarShape
|
|
25
25
|
});
|
|
26
26
|
const repeatLines = (num) => {
|
|
@@ -38,7 +38,7 @@ const Skeleton = (props) => {
|
|
|
38
38
|
height: "50px"
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
-
return React__default.createElement(React__default.Fragment, null, visible ? React__default.createElement(
|
|
41
|
+
return React__default.createElement(React__default.Fragment, null, visible ? React__default.createElement(React__default.Fragment, null, children) : React__default.createElement(
|
|
42
42
|
"div",
|
|
43
43
|
{ className: classes, ...rest },
|
|
44
44
|
animated && React__default.createElement("div", { className: `${classPrefix}-animation` }),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useContext } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { View } from "@tarojs/components";
|
|
4
|
-
import { D as DataContext } from "./context-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
4
|
+
import { D as DataContext } from "./context-BlM0373q.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
|
8
8
|
title: "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { D as DataContext } from "./context-
|
|
4
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
+
import { D as DataContext } from "./context-BlM0373q.js";
|
|
4
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
5
|
const defaultProps = {
|
|
6
6
|
...ComponentDefaults,
|
|
7
7
|
value: 0,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect, useState, useMemo, useCallback } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { getEnv, usePageScroll, getSystemInfoSync } from "@tarojs/taro";
|
|
4
|
-
import { C as ComponentDefaults } from "./typings-
|
|
5
|
-
import { g as getRectByTaro } from "./get-rect-by-taro-
|
|
6
|
-
import { g as getScrollParent } from "./get-scroll-parent-
|
|
4
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
|
+
import { g as getRectByTaro } from "./get-rect-by-taro-BnfHyJJb.js";
|
|
6
|
+
import { g as getScrollParent } from "./get-scroll-parent-DB1VRg11.js";
|
|
7
7
|
function useWatch(dep, callback, config = { immediate: false }) {
|
|
8
8
|
const { immediate } = config;
|
|
9
9
|
const prev = useRef();
|
|
@@ -115,7 +115,7 @@ const Sticky = (props) => {
|
|
|
115
115
|
}
|
|
116
116
|
}, []);
|
|
117
117
|
usePageScroll((res) => {
|
|
118
|
-
if (getEnv()
|
|
118
|
+
if (getEnv() !== "WEB") {
|
|
119
119
|
handleScroll(res.scrollTop);
|
|
120
120
|
}
|
|
121
121
|
});
|
|
@@ -2,9 +2,9 @@ import React__default, { forwardRef, useRef, useState, useImperativeHandle, useE
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { View } from "@tarojs/components";
|
|
4
4
|
import { useReady, nextTick } from "@tarojs/taro";
|
|
5
|
-
import { u as useTouch } from "./use-touch-
|
|
6
|
-
import { g as getRectByTaro } from "./get-rect-by-taro-
|
|
7
|
-
import { C as ComponentDefaults } from "./typings-
|
|
5
|
+
import { u as useTouch } from "./use-touch-OfEaR5qi.js";
|
|
6
|
+
import { g as getRectByTaro } from "./get-rect-by-taro-BnfHyJJb.js";
|
|
7
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
function preventDefault(event, isStopPropagation) {
|
|
9
9
|
if (typeof event.cancelable !== "boolean" || event.cancelable) {
|
|
10
10
|
event.preventDefault();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
2
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
3
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
4
4
|
const defaultProps = {
|
|
5
5
|
...ComponentDefaults,
|
|
6
6
|
disabled: false,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { C as ComponentDefaults } from "./typings-
|
|
4
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
5
|
-
import { a as TabbarContext, T as TabbarItem } from "./tabbaritem.taro-
|
|
3
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
4
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
5
|
+
import { a as TabbarContext, T as TabbarItem } from "./tabbaritem.taro-Dh4Ah1BN.js";
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
|
8
8
|
defaultValue: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useContext } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { C as ComponentDefaults } from "./typings-
|
|
4
|
-
import { B as Badge } from "./badge.taro-
|
|
3
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
4
|
+
import { B as Badge } from "./badge.taro-B4a7dAtf.js";
|
|
5
5
|
const TabbarContext = React__default.createContext(null);
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useCallback, useRef } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { ArrowDown } from "@nutui/icons-react-taro";
|
|
4
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
6
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
4
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
7
7
|
function useTableSticky(columns) {
|
|
8
8
|
const [isSticky, setIsSticky] = useState(false);
|
|
9
9
|
const [stickyColumnStyleMap, setStickyColumnStyleMap] = useState({});
|
|
@@ -3,11 +3,11 @@ import { View, ScrollView } from "@tarojs/components";
|
|
|
3
3
|
import classNames from "classnames";
|
|
4
4
|
import { JoySmile } from "@nutui/icons-react-taro";
|
|
5
5
|
import { nextTick, createSelectorQuery } from "@tarojs/taro";
|
|
6
|
-
import { C as ComponentDefaults } from "./typings-
|
|
7
|
-
import { T as TabPane } from "./tabpane.taro-
|
|
8
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
9
|
-
import { u as useForceUpdate } from "./use-force-update-
|
|
10
|
-
import { r as requestAniFrame } from "./raf-
|
|
6
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
|
+
import { T as TabPane } from "./tabpane.taro-Lkwp7scD.js";
|
|
8
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
9
|
+
import { u as useForceUpdate } from "./use-force-update-CudFjCsy.js";
|
|
10
|
+
import { r as requestAniFrame } from "./raf-zwv-SBjP.js";
|
|
11
11
|
const idCounter = {};
|
|
12
12
|
function uniqueId(prefix = "$nut$") {
|
|
13
13
|
if (!idCounter[prefix]) {
|
|
@@ -178,7 +178,7 @@ const Tabs = (props) => {
|
|
|
178
178
|
View,
|
|
179
179
|
{ ref: (ref) => titleItemsRef.current.push(ref), id: `scrollIntoView${index}`, onClick: (e) => {
|
|
180
180
|
tabChange(item);
|
|
181
|
-
}, className: classNames(`${classPrefix}-titles-item
|
|
181
|
+
}, className: classNames(`${classPrefix}-titles-item`, {
|
|
182
182
|
[`nut-tabs-titles-item-active`]: !item.disabled && String(item.value) === String(value),
|
|
183
183
|
[`nut-tabs-titles-item-disabled`]: item.disabled,
|
|
184
184
|
[`nut-tabs-titles-item-${align}`]: align
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState } from "react";
|
|
2
2
|
import { Close } from "@nutui/icons-react-taro";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { C as ComponentDefaults } from "./typings-
|
|
4
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
5
|
const defaultProps = {
|
|
6
6
|
...ComponentDefaults,
|
|
7
7
|
type: "default",
|
|
@@ -2,9 +2,9 @@ import React__default, { useRef } from "react";
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import Taro from "@tarojs/taro";
|
|
4
4
|
import { Textarea } from "@tarojs/components";
|
|
5
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
6
|
-
import { C as ComponentDefaults } from "./typings-
|
|
7
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
5
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
6
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
8
8
|
const defaultProps = {
|
|
9
9
|
...ComponentDefaults,
|
|
10
10
|
defaultValue: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useMemo, useCallback } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
4
4
|
const defaultProps = {
|
|
5
5
|
...ComponentDefaults,
|
|
6
6
|
activeDate: "",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
-
import { T as TimeDetail } from "./timedetail.taro-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
6
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
3
|
+
import { P as Popup } from "./popup.taro-44018H4d.js";
|
|
4
|
+
import { T as TimeDetail } from "./timedetail.taro-B3s7HEEX.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
7
7
|
const defaultProps = {
|
|
8
8
|
...ComponentDefaults,
|
|
9
9
|
visible: false,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useRef, useEffect } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { Success, Failure, Tips, Loading } from "@nutui/icons-react-taro";
|
|
4
|
-
import { O as Overlay } from "./overlay.taro-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
6
|
-
import { b as useParams, u as useCustomEvent, a as useCustomEventsPath, c as customEvents } from "./use-custom-event-
|
|
7
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
4
|
+
import { O as Overlay } from "./overlay.taro-ByBhOQNL.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
|
+
import { b as useParams, u as useCustomEvent, a as useCustomEventsPath, c as customEvents } from "./use-custom-event-BFZJeHQI.js";
|
|
7
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
8
8
|
const defaultProps = {
|
|
9
9
|
...ComponentDefaults,
|
|
10
10
|
id: "",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from "react";
|
|
2
2
|
import { Close } from "@nutui/icons-react-taro";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { P as Popover } from "./popover.taro-
|
|
4
|
+
import { P as Popover } from "./popover.taro-BZLerpsZ.js";
|
|
5
5
|
import Taro, { createSelectorQuery } from "@tarojs/taro";
|
|
6
|
-
import { C as ComponentDefaults } from "./typings-
|
|
6
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
import { useConfig } from "./ConfigProvider.js";
|
|
8
8
|
const getTaroRectById = (id) => {
|
|
9
9
|
return new Promise((resolve, reject) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useRef } from "react";
|
|
2
2
|
import { TriangleUp, TriangleDown } from "@nutui/icons-react-taro";
|
|
3
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
4
4
|
const defaultProps = {
|
|
5
5
|
...ComponentDefaults,
|
|
6
6
|
value: 0,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { BaseFormField } from './types';
|
|
3
3
|
import { Context } from '../form/context';
|
|
4
4
|
import { BasicComponent } from '@/utils/typings';
|
|
5
5
|
type TextAlign = 'start' | 'end' | 'left' | 'right' | 'center' | 'justify' | 'match-parent';
|
|
6
|
-
export interface FormItemProps extends BasicComponent, BaseFormField {
|
|
6
|
+
export interface FormItemProps extends Omit<BasicComponent, 'children'>, BaseFormField {
|
|
7
7
|
required: boolean;
|
|
8
8
|
initialValue: any;
|
|
9
9
|
trigger: string;
|
|
@@ -12,6 +12,9 @@ export interface FormItemProps extends BasicComponent, BaseFormField {
|
|
|
12
12
|
onClick: (event: React.MouseEvent, componentRef: React.MutableRefObject<any>) => void;
|
|
13
13
|
errorMessageAlign: TextAlign;
|
|
14
14
|
validateTrigger: string | string[];
|
|
15
|
+
shouldUpdate: boolean;
|
|
16
|
+
noStyle: boolean;
|
|
17
|
+
children: ReactNode | ((obj: any) => React.ReactNode);
|
|
15
18
|
}
|
|
16
19
|
export declare class FormItem extends React.Component<Partial<FormItemProps>, {
|
|
17
20
|
resetCount: number;
|
|
@@ -21,6 +24,7 @@ export declare class FormItem extends React.Component<Partial<FormItemProps>, {
|
|
|
21
24
|
context: React.ContextType<typeof Context>;
|
|
22
25
|
private cancelRegister;
|
|
23
26
|
private componentRef;
|
|
27
|
+
private eventOff;
|
|
24
28
|
constructor(props: FormItemProps);
|
|
25
29
|
componentDidMount(): void;
|
|
26
30
|
componentWillUnmount(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { BaseFormField } from './types';
|
|
3
3
|
import { Context } from '../form/context';
|
|
4
4
|
import { BasicComponent } from '@/utils/typings';
|
|
5
5
|
type TextAlign = 'start' | 'end' | 'left' | 'right' | 'center' | 'justify' | 'match-parent';
|
|
6
|
-
export interface FormItemProps extends BasicComponent, BaseFormField {
|
|
6
|
+
export interface FormItemProps extends Omit<BasicComponent, 'children'>, BaseFormField {
|
|
7
7
|
required: boolean;
|
|
8
8
|
initialValue: any;
|
|
9
9
|
trigger: string;
|
|
@@ -12,6 +12,9 @@ export interface FormItemProps extends BasicComponent, BaseFormField {
|
|
|
12
12
|
onClick: (event: React.MouseEvent, componentRef: React.MutableRefObject<any>) => void;
|
|
13
13
|
errorMessageAlign: TextAlign;
|
|
14
14
|
validateTrigger: string | string[];
|
|
15
|
+
shouldUpdate: boolean;
|
|
16
|
+
noStyle: boolean;
|
|
17
|
+
children: ReactNode | ((obj: any) => React.ReactNode);
|
|
15
18
|
}
|
|
16
19
|
export declare class FormItem extends React.Component<Partial<FormItemProps>, {
|
|
17
20
|
resetCount: number;
|
|
@@ -21,6 +24,7 @@ export declare class FormItem extends React.Component<Partial<FormItemProps>, {
|
|
|
21
24
|
context: React.ContextType<typeof Context>;
|
|
22
25
|
private cancelRegister;
|
|
23
26
|
private componentRef;
|
|
27
|
+
private eventOff;
|
|
24
28
|
constructor(props: FormItemProps);
|
|
25
29
|
componentDidMount(): void;
|
|
26
30
|
componentWillUnmount(): void;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import React, { FunctionComponent, ChangeEvent
|
|
1
|
+
import React, { FunctionComponent, ChangeEvent } from 'react';
|
|
2
2
|
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export interface InputNumberProps extends BasicComponent {
|
|
4
|
+
value: number | string;
|
|
5
|
+
defaultValue: number | string;
|
|
6
|
+
allowEmpty: boolean;
|
|
7
|
+
min: number | string;
|
|
8
|
+
max: number | string;
|
|
4
9
|
disabled: boolean;
|
|
5
|
-
min: string | number;
|
|
6
|
-
max: string | number;
|
|
7
10
|
readOnly: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
allowEmpty: boolean;
|
|
11
|
-
step: string | number;
|
|
12
|
-
digits: string | number;
|
|
11
|
+
step: number;
|
|
12
|
+
digits: number;
|
|
13
13
|
async: boolean;
|
|
14
|
-
formatter?: (
|
|
15
|
-
onPlus: (e: MouseEvent) => void;
|
|
16
|
-
onMinus: (e: MouseEvent) => void;
|
|
17
|
-
onOverlimit: (e: MouseEvent) => void;
|
|
18
|
-
onBlur: (e:
|
|
19
|
-
onFocus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
20
|
-
onChange: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
formatter?: (value?: string | number) => string;
|
|
15
|
+
onPlus: (e: React.MouseEvent) => void;
|
|
16
|
+
onMinus: (e: React.MouseEvent) => void;
|
|
17
|
+
onOverlimit: (e: React.MouseEvent) => void;
|
|
18
|
+
onBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
19
|
+
onFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
onChange: (param: string | number, e: React.MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
21
21
|
}
|
|
22
22
|
export declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur'>>;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import React, { FunctionComponent, ChangeEvent
|
|
1
|
+
import React, { FunctionComponent, ChangeEvent } from 'react';
|
|
2
2
|
import { BasicComponent } from '@/utils/typings';
|
|
3
3
|
export interface InputNumberProps extends BasicComponent {
|
|
4
|
+
value: number | string;
|
|
5
|
+
defaultValue: number | string;
|
|
6
|
+
allowEmpty: boolean;
|
|
7
|
+
min: number | string;
|
|
8
|
+
max: number | string;
|
|
4
9
|
disabled: boolean;
|
|
5
|
-
min: string | number;
|
|
6
|
-
max: string | number;
|
|
7
10
|
readOnly: boolean;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
allowEmpty: boolean;
|
|
11
|
-
step: string | number;
|
|
12
|
-
digits: string | number;
|
|
11
|
+
step: number;
|
|
12
|
+
digits: number;
|
|
13
13
|
async: boolean;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
onFocus: (e: FocusEvent<HTMLInputElement>) => void;
|
|
22
|
-
onChange: (param: string | number, e: MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
formatter?: (value?: string | number) => string;
|
|
15
|
+
onPlus: (e: React.MouseEvent) => void;
|
|
16
|
+
onMinus: (e: React.MouseEvent) => void;
|
|
17
|
+
onOverlimit: (e: React.MouseEvent) => void;
|
|
18
|
+
onBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
19
|
+
onFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
20
|
+
onChange: (param: string | number, e: React.MouseEvent | ChangeEvent<HTMLInputElement>) => void;
|
|
23
21
|
}
|
|
24
22
|
export declare const InputNumber: FunctionComponent<Partial<InputNumberProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onBlur'>>;
|
|
@@ -1,39 +1,31 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { MouseEvent } from 'react';
|
|
3
|
+
import { InputProps, ITouchEvent } from '@tarojs/components';
|
|
4
|
+
import { BaseEventOrig } from '@tarojs/components/types/common';
|
|
3
5
|
import { BasicComponent } from '@/utils/typings';
|
|
6
|
+
type inputEventDetail = InputProps.inputEventDetail;
|
|
7
|
+
type inputForceEventDetail = InputProps.inputForceEventDetail;
|
|
8
|
+
type inputValueEventDetail = InputProps.inputValueEventDetail;
|
|
4
9
|
export interface SearchBarProps extends BasicComponent {
|
|
5
|
-
/** 文本值 */
|
|
6
10
|
value?: number | string;
|
|
7
|
-
/** 输入框占位提示文字 */
|
|
8
11
|
placeholder?: string;
|
|
9
|
-
/** 搜索框形状,可选值为 round */
|
|
10
12
|
shape?: 'square' | 'round';
|
|
11
|
-
/** 是否禁用输入框 */
|
|
12
13
|
disabled?: boolean;
|
|
13
|
-
/** 最大输入长度 */
|
|
14
14
|
maxLength?: number;
|
|
15
|
-
/** 是否启用清除图标,点击清除图标后会清空输入框 */
|
|
16
15
|
clearable?: boolean;
|
|
17
|
-
/** 是否将输入框设为只读状态,只读状态下无法输入内容 */
|
|
18
16
|
readOnly?: boolean;
|
|
19
|
-
/** 是否自动聚焦,iOS 系统不支持该属性 */
|
|
20
17
|
autoFocus?: boolean;
|
|
21
18
|
backable: boolean;
|
|
22
19
|
left: React.ReactNode;
|
|
23
20
|
right: React.ReactNode;
|
|
24
21
|
leftIn: React.ReactNode;
|
|
25
22
|
rightIn: React.ReactNode;
|
|
26
|
-
/** 确定搜索时触发 */
|
|
27
23
|
onSearch?: (val: string) => void;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
onFocus?: (value: string, event: FocusEvent<HTMLInputElement>) => void;
|
|
32
|
-
/** 输入框失去焦点时触发 */
|
|
33
|
-
onBlur?: (value: string, event: FocusEvent<HTMLInputElement>) => void;
|
|
34
|
-
/** 点击清除按钮后触发 */
|
|
24
|
+
onChange?: (value: string, event?: BaseEventOrig<inputEventDetail>) => void;
|
|
25
|
+
onFocus?: (value: string, event: BaseEventOrig<inputForceEventDetail>) => void;
|
|
26
|
+
onBlur?: (value: string, event: BaseEventOrig<inputValueEventDetail>) => void;
|
|
35
27
|
onClear?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
36
|
-
|
|
37
|
-
onInputClick?: (event: MouseEvent<HTMLInputElement>) => void;
|
|
28
|
+
onInputClick?: (event: ITouchEvent) => void;
|
|
38
29
|
}
|
|
39
30
|
export declare const SearchBar: FunctionComponent<Partial<SearchBarProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'onFocus' | 'onBlur'>>;
|
|
31
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import React, { ForwardRefRenderFunction, ReactNode } from 'react';
|
|
2
2
|
import { PopupProps } from '@/packages/popup/index';
|
|
3
3
|
export interface ShortPasswordProps extends PopupProps {
|
|
4
4
|
value: string;
|
|
@@ -19,4 +19,5 @@ export interface ShortPasswordProps extends PopupProps {
|
|
|
19
19
|
onTips: () => void;
|
|
20
20
|
onComplete: (value: string) => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const InternalShortPassword: ForwardRefRenderFunction<unknown, Partial<ShortPasswordProps>>;
|
|
23
|
+
export declare const ShortPassword: React.ForwardRefExoticComponent<Partial<ShortPasswordProps> & React.RefAttributes<unknown>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import React, { ForwardRefRenderFunction, ReactNode } from 'react';
|
|
2
2
|
import { PopupProps } from '@/packages/popup/popup.taro';
|
|
3
3
|
export interface ShortPasswordProps extends PopupProps {
|
|
4
4
|
value: string;
|
|
@@ -19,4 +19,5 @@ export interface ShortPasswordProps extends PopupProps {
|
|
|
19
19
|
onTips: () => void;
|
|
20
20
|
onComplete: (value: string) => void;
|
|
21
21
|
}
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const InternalShortPassword: ForwardRefRenderFunction<unknown, Partial<ShortPasswordProps>>;
|
|
23
|
+
export declare const ShortPassword: React.ForwardRefExoticComponent<Partial<ShortPasswordProps> & React.RefAttributes<unknown>>;
|
|
@@ -8,13 +8,13 @@ import React__default, { useState, useImperativeHandle } from "react";
|
|
|
8
8
|
import classNames from "classnames";
|
|
9
9
|
import Taro, { uploadFile, getEnv, chooseMedia, chooseImage } from "@tarojs/taro";
|
|
10
10
|
import { Failure, Link, Del, Loading, Photograph } from "@nutui/icons-react-taro";
|
|
11
|
-
import { B as Button } from "./button.taro-
|
|
12
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
13
|
-
import { a as isPromise } from "./index-
|
|
14
|
-
import { C as ComponentDefaults } from "./typings-
|
|
15
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
11
|
+
import { B as Button } from "./button.taro-COS5LtYd.js";
|
|
12
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
13
|
+
import { a as isPromise } from "./index-DeNfBlua.js";
|
|
14
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
15
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
16
16
|
import { Image } from "@tarojs/components";
|
|
17
|
-
import { P as Progress } from "./progress.taro-
|
|
17
|
+
import { P as Progress } from "./progress.taro-CVaqKXtL.js";
|
|
18
18
|
class UploadOptions {
|
|
19
19
|
constructor() {
|
|
20
20
|
__publicField(this, "url", "");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect, useRef } from "react";
|
|
2
|
-
import { i as isEqual } from "./index-
|
|
2
|
+
import { i as isEqual } from "./index-nbt45_aK.js";
|
|
3
3
|
import { Events, getCurrentInstance } from "@tarojs/taro";
|
|
4
|
-
import { u as useForceUpdate } from "./use-force-update-
|
|
4
|
+
import { u as useForceUpdate } from "./use-force-update-CudFjCsy.js";
|
|
5
5
|
const customEvents = new Events();
|
|
6
6
|
function useCustomEventsPath(selector) {
|
|
7
7
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRef, useCallback } from "react";
|
|
2
|
-
import { u as useForceUpdate } from "./use-force-update-
|
|
2
|
+
import { u as useForceUpdate } from "./use-force-update-CudFjCsy.js";
|
|
3
3
|
function usePropsValue({ value, defaultValue, finalValue, onChange = (value2) => {
|
|
4
4
|
} }) {
|
|
5
5
|
const forceUpdate = useForceUpdate();
|
|
@@ -2,7 +2,7 @@ import React__default, { useState, useRef, useEffect, useCallback } from "react"
|
|
|
2
2
|
import { View, ScrollView } from "@tarojs/components";
|
|
3
3
|
import { getSystemInfoSync } from "@tarojs/taro";
|
|
4
4
|
import classNames from "classnames";
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
6
|
const initPositinoCache = (reaItemSize, length = 0) => {
|
|
7
7
|
let index = 0;
|
|
8
8
|
const positions = Array(length);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from "react";
|
|
2
2
|
import { getSystemInfo, createOffscreenCanvas } from "@tarojs/taro";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
4
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
|
8
8
|
content: "",
|
package/dist/locales/base.js
CHANGED
package/dist/locales/en-US.js
CHANGED
package/dist/locales/id-ID.js
CHANGED
package/dist/locales/tr-TR.js
CHANGED
package/dist/locales/zh-CN.js
CHANGED
package/dist/locales/zh-TW.js
CHANGED
package/dist/locales/zh-UG.js
CHANGED