@nutui/nutui-react-taro 2.3.10 → 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 +9 -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 -7
- 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-zQuxQEce.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-6nbq7wtt.js → barrage.taro-DW7wFS3Q.js} +2 -2
- 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-M2nZWxiB.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-PPkTQGfW.js → formitem.taro-yAquq6MF.js} +5 -5
- 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-ECs_E1Xn.js → shortpassword.taro-C3QLh5Lg.js} +5 -5
- 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-p-evMNR-.js → sticky.taro-DK45VevL.js} +3 -3
- 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-Yj7vgtSg.js → tabs.taro-CwhQTV-u.js} +5 -5
- 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/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/{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 +373 -389
- package/dist/nutui.react.umd.js +373 -389
- 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 +22 -3
- 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 +3 -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 +2 -4
- 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/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 +1 -1
- package/dist/types/packages/shortpassword/shortpassword.taro.d.ts +1 -1
- 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/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,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useMemo } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
4
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
4
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
|
8
8
|
defaultValue: 1,
|
|
@@ -2,14 +2,14 @@ import React__default, { useState, useRef, useEffect, useImperativeHandle } from
|
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import Taro from "@tarojs/taro";
|
|
4
4
|
import { View, PickerView, PickerViewColumn } from "@tarojs/components";
|
|
5
|
-
import { P as Popup } from "./popup.taro-
|
|
6
|
-
import { u as useTouch } from "./use-touch-
|
|
7
|
-
import { g as getRectByTaro } from "./get-rect-by-taro-
|
|
8
|
-
import { p as passiveSupported } from "./overlay.taro-
|
|
9
|
-
import { u as useRefs } from "./use-refs-
|
|
10
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
11
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
12
|
-
import { C as ComponentDefaults } from "./typings-
|
|
5
|
+
import { P as Popup } from "./popup.taro-44018H4d.js";
|
|
6
|
+
import { u as useTouch } from "./use-touch-OfEaR5qi.js";
|
|
7
|
+
import { g as getRectByTaro } from "./get-rect-by-taro-BnfHyJJb.js";
|
|
8
|
+
import { p as passiveSupported } from "./overlay.taro-ByBhOQNL.js";
|
|
9
|
+
import { u as useRefs } from "./use-refs-BeEmziIR.js";
|
|
10
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
11
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
12
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
13
13
|
const InternalPickerPanel = (props, ref) => {
|
|
14
14
|
const { keyIndex = 0, defaultValue, options = [], threeDimensional = true, duration = 1e3, itemShow = false, chooseItem } = props;
|
|
15
15
|
const touch = useTouch();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useEffect } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import Taro, { createSelectorQuery } from "@tarojs/taro";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
5
|
-
import { a as getRect, g as getRectByTaro } from "./get-rect-by-taro-
|
|
6
|
-
import { C as ComponentDefaults } from "./typings-
|
|
4
|
+
import { P as Popup } from "./popup.taro-44018H4d.js";
|
|
5
|
+
import { a as getRect, g as getRectByTaro } from "./get-rect-by-taro-BnfHyJJb.js";
|
|
6
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
7
|
const defaultProps = {
|
|
8
8
|
...ComponentDefaults,
|
|
9
9
|
list: [],
|
|
@@ -4,8 +4,8 @@ import { CSSTransition } from "react-transition-group";
|
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
import { Close } from "@nutui/icons-react-taro";
|
|
6
6
|
import { View } from "@tarojs/components";
|
|
7
|
-
import { d as defaultOverlayProps, u as useLockScrollTaro, O as Overlay } from "./overlay.taro-
|
|
8
|
-
import { C as ComponentDefaults } from "./typings-
|
|
7
|
+
import { d as defaultOverlayProps, u as useLockScrollTaro, O as Overlay } from "./overlay.taro-ByBhOQNL.js";
|
|
8
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
9
9
|
const defaultProps = {
|
|
10
10
|
...ComponentDefaults,
|
|
11
11
|
position: "center",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } 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
|
percent: 0,
|
|
@@ -2,9 +2,9 @@ import React__default, { useRef, useState } from "react";
|
|
|
2
2
|
import { View } from "@tarojs/components";
|
|
3
3
|
import { Loading, More } from "@nutui/icons-react-taro";
|
|
4
4
|
import Taro from "@tarojs/taro";
|
|
5
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
6
|
-
import { u as useTouch } from "./use-touch-
|
|
7
|
-
import { C as ComponentDefaults } from "./typings-
|
|
5
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
6
|
+
import { u as useTouch } from "./use-touch-OfEaR5qi.js";
|
|
7
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
8
8
|
function bound(position, min, max) {
|
|
9
9
|
let ret = position;
|
|
10
10
|
if (min !== void 0) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useCallback, useContext } from "react";
|
|
2
2
|
import { CheckDisabled, CheckChecked, CheckNormal } from "@nutui/icons-react-taro";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { C as ComponentDefaults } from "./typings-
|
|
5
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
4
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
6
6
|
const RadioContext = React__default.createContext(null);
|
|
7
7
|
const defaultProps$1 = {
|
|
8
8
|
labelPosition: "right",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useState, useRef, useEffect, useCallback } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import { View } from "@tarojs/components";
|
|
4
|
-
import { u as useTouch } from "./use-touch-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
6
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
7
|
-
import { g as getRectByTaro } from "./get-rect-by-taro-
|
|
4
|
+
import { u as useTouch } from "./use-touch-OfEaR5qi.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
7
|
+
import { g as getRectByTaro } from "./get-rect-by-taro-BnfHyJJb.js";
|
|
8
8
|
const defaultProps = {
|
|
9
9
|
...ComponentDefaults,
|
|
10
10
|
range: false,
|
|
@@ -3,10 +3,10 @@ import classNames from "classnames";
|
|
|
3
3
|
import { StarFill } from "@nutui/icons-react-taro";
|
|
4
4
|
import { useReady } from "@tarojs/taro";
|
|
5
5
|
import { View } from "@tarojs/components";
|
|
6
|
-
import { C as ComponentDefaults } from "./typings-
|
|
7
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
8
|
-
import { g as getRectByTaro } from "./get-rect-by-taro-
|
|
9
|
-
import { u as useRefs } from "./use-refs-
|
|
6
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
7
|
+
import { u as usePropsValue } from "./use-props-value-DvrH7S--.js";
|
|
8
|
+
import { g as getRectByTaro } from "./get-rect-by-taro-BnfHyJJb.js";
|
|
9
|
+
import { u as useRefs } from "./use-refs-BeEmziIR.js";
|
|
10
10
|
const defaultProps = {
|
|
11
11
|
...ComponentDefaults,
|
|
12
12
|
count: 5,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { D as DataContext } from "./UserContext-
|
|
4
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
+
import { D as DataContext } from "./UserContext-BlM0373q.js";
|
|
4
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
5
|
const classPrefix = "nut-row";
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useEffect } from "react";
|
|
2
|
+
import Taro from "@tarojs/taro";
|
|
3
|
+
import { View, Input } from "@tarojs/components";
|
|
2
4
|
import { Search, ArrowLeft, MaskClose } from "@nutui/icons-react-taro";
|
|
3
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
4
|
-
import { C as ComponentDefaults } from "./typings-
|
|
5
|
+
import { u as useConfig } from "./configprovider.taro-BXergk04.js";
|
|
6
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
5
7
|
const defaultProps = {
|
|
6
8
|
...ComponentDefaults,
|
|
7
9
|
placeholder: "",
|
|
@@ -21,40 +23,44 @@ const SearchBar = (props) => {
|
|
|
21
23
|
const classPrefix = "nut-searchbar";
|
|
22
24
|
const { locale } = useConfig();
|
|
23
25
|
const searchRef = useRef(null);
|
|
24
|
-
const
|
|
25
|
-
const { placeholder, shape, className, disabled, maxLength, clearable, readOnly, autoFocus, backable, right, left, leftIn, rightIn, onChange, onFocus, onBlur, onClear, onSearch, onInputClick } = {
|
|
26
|
+
const { value: outerValue, style, placeholder, shape, className, disabled, maxLength, clearable, readOnly, autoFocus, backable, right, left, leftIn, rightIn, onChange, onFocus, onBlur, onClear, onSearch, onInputClick } = {
|
|
26
27
|
...defaultProps,
|
|
27
28
|
...props
|
|
28
29
|
};
|
|
30
|
+
const [value, setValue] = useState(() => outerValue);
|
|
29
31
|
const forceFocus = () => {
|
|
30
32
|
const searchSelf = searchRef.current;
|
|
31
33
|
searchSelf && searchSelf.focus();
|
|
32
34
|
};
|
|
33
35
|
const change = (event) => {
|
|
34
|
-
if (value === event.
|
|
36
|
+
if (value === event.detail.value)
|
|
35
37
|
return;
|
|
36
|
-
onChange && (onChange == null ? void 0 : onChange(event.
|
|
37
|
-
setValue(event.
|
|
38
|
-
event.
|
|
38
|
+
onChange && (onChange == null ? void 0 : onChange(event.detail.value, event));
|
|
39
|
+
setValue(event.detail.value);
|
|
40
|
+
event.detail.value === "" && forceFocus();
|
|
39
41
|
};
|
|
40
42
|
const focus = (event) => {
|
|
41
|
-
const { value: value2 } = event.
|
|
43
|
+
const { value: value2 } = event.detail;
|
|
42
44
|
onFocus && (onFocus == null ? void 0 : onFocus(value2, event));
|
|
43
45
|
};
|
|
44
46
|
const blur = (event) => {
|
|
45
47
|
const searchSelf = searchRef.current;
|
|
46
48
|
searchSelf && searchSelf.blur();
|
|
47
|
-
const { value: value2 } = event.
|
|
49
|
+
const { value: value2 } = event.detail;
|
|
48
50
|
onBlur && (onBlur == null ? void 0 : onBlur(value2, event));
|
|
49
51
|
};
|
|
50
52
|
useEffect(() => {
|
|
51
|
-
setValue(
|
|
52
|
-
}, [
|
|
53
|
+
setValue(outerValue || "");
|
|
54
|
+
}, [outerValue]);
|
|
53
55
|
useEffect(() => {
|
|
54
|
-
|
|
56
|
+
if (Taro.getEnv() === "WEB") {
|
|
57
|
+
autoFocus && forceFocus();
|
|
58
|
+
}
|
|
55
59
|
}, [autoFocus]);
|
|
56
60
|
const renderField = () => {
|
|
57
|
-
return React__default.createElement(
|
|
61
|
+
return React__default.createElement(Input, { className: `${classPrefix}-input ${clearable ? `${classPrefix}-input-clear` : ""}`, ref: searchRef, style, value: (value || "").toString(), placeholder: placeholder || locale.placeholder, disabled: disabled || readOnly, maxlength: maxLength, nativeProps: {
|
|
62
|
+
onKeyPress: onKeypress
|
|
63
|
+
}, autoFocus, onInput: (e) => change(e), onFocus: (e) => focus(e), onBlur: (e) => blur(e), onClick: (e) => clickInput(e) });
|
|
58
64
|
};
|
|
59
65
|
const clickInput = (e) => {
|
|
60
66
|
onInputClick && onInputClick(e);
|
|
@@ -62,26 +68,26 @@ const SearchBar = (props) => {
|
|
|
62
68
|
const renderLeftIn = () => {
|
|
63
69
|
if (!leftIn)
|
|
64
70
|
return null;
|
|
65
|
-
return React__default.createElement(
|
|
71
|
+
return React__default.createElement(View, { className: `${classPrefix}-leftin ${classPrefix}-icon` }, leftIn);
|
|
66
72
|
};
|
|
67
73
|
const renderLeft = () => {
|
|
68
74
|
if (!backable && !left)
|
|
69
75
|
return null;
|
|
70
|
-
return React__default.createElement(
|
|
76
|
+
return React__default.createElement(View, { className: `${classPrefix}-left` }, backable ? React__default.createElement(ArrowLeft, { size: "16" }) : left);
|
|
71
77
|
};
|
|
72
78
|
const renderRightIn = () => {
|
|
73
79
|
if (!rightIn)
|
|
74
80
|
return null;
|
|
75
|
-
return React__default.createElement(
|
|
81
|
+
return React__default.createElement(View, { className: `${classPrefix}-rightin ${classPrefix}-icon` }, rightIn);
|
|
76
82
|
};
|
|
77
83
|
const renderRight = () => {
|
|
78
84
|
if (!right)
|
|
79
85
|
return null;
|
|
80
|
-
return React__default.createElement(
|
|
86
|
+
return React__default.createElement(View, { className: `${classPrefix}-right` }, right);
|
|
81
87
|
};
|
|
82
88
|
const handleClear = () => {
|
|
83
89
|
return React__default.createElement(
|
|
84
|
-
|
|
90
|
+
View,
|
|
85
91
|
{ className: `${classPrefix}-clear ${classPrefix}-icon`, onClick: (e) => clearaVal(e) },
|
|
86
92
|
React__default.createElement(MaskClose, { size: 16 })
|
|
87
93
|
);
|
|
@@ -92,6 +98,7 @@ const SearchBar = (props) => {
|
|
|
92
98
|
}
|
|
93
99
|
setValue("");
|
|
94
100
|
forceFocus();
|
|
101
|
+
onChange && (onChange == null ? void 0 : onChange(""));
|
|
95
102
|
onClear && onClear(event);
|
|
96
103
|
};
|
|
97
104
|
const onKeypress = (e) => {
|
|
@@ -103,21 +110,20 @@ const SearchBar = (props) => {
|
|
|
103
110
|
}
|
|
104
111
|
};
|
|
105
112
|
return React__default.createElement(
|
|
106
|
-
|
|
107
|
-
{ className: `${classPrefix} ${disabled ? `${classPrefix}-disabled` : ""} ${className || ""}`, style
|
|
113
|
+
View,
|
|
114
|
+
{ className: `${classPrefix} ${disabled ? `${classPrefix}-disabled` : ""} ${className || ""}`, style },
|
|
108
115
|
renderLeft(),
|
|
109
116
|
React__default.createElement(
|
|
110
|
-
|
|
117
|
+
View,
|
|
111
118
|
{ className: `${classPrefix}-content ${shape === "round" ? `${classPrefix}-round` : ""}` },
|
|
112
119
|
renderLeftIn(),
|
|
113
|
-
React__default.createElement(
|
|
120
|
+
React__default.createElement(View, { className: "nut-searchbar-input-box" }, renderField()),
|
|
114
121
|
clearable && !value && renderRightIn(),
|
|
115
122
|
clearable && value && handleClear()
|
|
116
123
|
),
|
|
117
124
|
renderRight()
|
|
118
125
|
);
|
|
119
126
|
};
|
|
120
|
-
SearchBar.defaultProps = defaultProps;
|
|
121
127
|
SearchBar.displayName = "NutSearchBar";
|
|
122
128
|
export {
|
|
123
129
|
SearchBar as S
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useMemo, useImperativeHandle, useEffect } from "react";
|
|
2
2
|
import { Tips } from "@nutui/icons-react-taro";
|
|
3
3
|
import classNames from "classnames";
|
|
4
|
-
import { P as Popup } from "./popup.taro-
|
|
5
|
-
import { u as useConfig } from "./configprovider.taro-
|
|
6
|
-
import { C as ComponentDefaults } from "./typings-
|
|
7
|
-
import { u as usePropsValue } from "./use-props-value-
|
|
4
|
+
import { P as Popup } from "./popup.taro-44018H4d.js";
|
|
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
|
value: "",
|
|
@@ -84,7 +84,7 @@ const InternalShortPassword = (props, ref) => {
|
|
|
84
84
|
React__default.createElement("div", { className: `${classPrefix}-message-forget`, onClick: onTips }, tips || React__default.createElement(
|
|
85
85
|
React__default.Fragment,
|
|
86
86
|
null,
|
|
87
|
-
React__default.createElement(Tips, { size: 11
|
|
87
|
+
React__default.createElement(Tips, { size: 11 }),
|
|
88
88
|
locale.shortpassword.tips
|
|
89
89
|
))
|
|
90
90
|
),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useState } from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
|
-
import { P as Popup } from "./popup.taro-
|
|
4
|
-
import { O as OffsetContext } from "./context-
|
|
5
|
-
import { C as ComponentDefaults } from "./typings-
|
|
3
|
+
import { P as Popup } from "./popup.taro-44018H4d.js";
|
|
4
|
+
import { O as OffsetContext } from "./context-4T-L2x0_.js";
|
|
5
|
+
import { C as ComponentDefaults } from "./typings-DV9RBfhj.js";
|
|
6
6
|
const defaultProps = {
|
|
7
7
|
...ComponentDefaults,
|
|
8
8
|
position: "left",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useImperativeHandle, useEffect } from "react";
|
|
2
2
|
import { getEnv, nextTick, createSelectorQuery, canvasToTempFilePath } from "@tarojs/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
|
canvasId: "spcanvas",
|
|
@@ -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();
|
|
@@ -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]) {
|
|
@@ -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,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'>>;
|