@nutui/nutui-react-taro 3.0.20 → 3.0.22-cpp
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 +38 -68
- package/dist/cjs/hooks/use-props-value.js +1 -1
- package/dist/cjs/hooks/use-touch.js +4 -4
- package/dist/cjs/locales/base.d.ts +9 -0
- package/dist/cjs/locales/en-US.js +21 -2
- package/dist/cjs/locales/id-ID.js +21 -2
- package/dist/cjs/locales/ja-JP.js +19 -2
- package/dist/cjs/locales/tr-TR.js +21 -2
- package/dist/cjs/locales/zh-CN.js +19 -2
- package/dist/cjs/locales/zh-TW.js +19 -2
- package/dist/cjs/locales/zh-UG.js +21 -2
- package/dist/cjs/packages/actionsheet/style/style.harmony.css +38 -17
- package/dist/cjs/packages/address/address.d.ts +1 -1
- package/dist/cjs/packages/address/cascaderRender.js +1 -1
- package/dist/cjs/packages/address/existRender.js +1 -1
- package/dist/cjs/packages/address/style/style.harmony.css +38 -17
- package/dist/cjs/packages/animatingnumbers/countup.js +3 -1
- package/dist/cjs/packages/audio/audio.js +1 -1
- package/dist/cjs/packages/audio/style/style.harmony.css +0 -3
- package/dist/cjs/packages/avatar/avatar.js +32 -6
- package/dist/cjs/packages/avatarcropper/avatarcropper.js +3 -7
- package/dist/cjs/packages/badge/badge.js +16 -3
- package/dist/cjs/packages/barrage/barrage.js +2 -1
- package/dist/cjs/packages/button/button.d.ts +2 -24
- package/dist/cjs/packages/button/button.js +9 -12
- package/dist/cjs/packages/button/index.d.ts +0 -1
- package/dist/cjs/packages/button/style/button.scss +0 -3
- package/dist/cjs/packages/button/style/style.css +0 -3
- package/dist/cjs/packages/button/style/style.harmony.css +0 -3
- package/dist/cjs/packages/button/style-jmapp/button.scss +0 -3
- package/dist/cjs/packages/button/style-jmapp/style.css +0 -3
- package/dist/cjs/packages/button/style-jrkf/button.scss +0 -3
- package/dist/cjs/packages/button/style-jrkf/style.css +0 -3
- package/dist/cjs/packages/calendar/style/calendar.scss +32 -1
- package/dist/cjs/packages/calendar/style/style.css +21 -1
- package/dist/cjs/packages/calendar/style/style.harmony.css +59 -18
- package/dist/cjs/packages/calendar/style-jmapp/calendar.scss +32 -1
- package/dist/cjs/packages/calendar/style-jmapp/style.css +21 -1
- package/dist/cjs/packages/calendar/style-jrkf/calendar.scss +32 -1
- package/dist/cjs/packages/calendar/style-jrkf/style.css +21 -1
- package/dist/cjs/packages/calendarcard/calendarcard.js +30 -8
- package/dist/cjs/packages/calendarcard/icon.js +12 -23
- package/dist/cjs/packages/calendarcard/style/calendarcard.scss +19 -0
- package/dist/cjs/packages/calendarcard/style/style.css +13 -0
- package/dist/cjs/packages/calendarcard/style/style.harmony.css +13 -0
- package/dist/cjs/packages/calendarcard/style-jmapp/calendarcard.scss +19 -0
- package/dist/cjs/packages/calendarcard/style-jmapp/style.css +13 -0
- package/dist/cjs/packages/calendarcard/style-jrkf/calendarcard.scss +19 -0
- package/dist/cjs/packages/calendarcard/style-jrkf/style.css +13 -0
- package/dist/cjs/packages/card/card.js +1 -1
- package/dist/cjs/packages/card/style/style.harmony.css +1 -1
- package/dist/cjs/packages/cascader/style/style.harmony.css +38 -17
- package/dist/cjs/packages/cascader/utils.js +4 -4
- package/dist/cjs/packages/cellgroup/cellgroup.js +1 -1
- package/dist/cjs/packages/checkboxgroup/checkboxgroup.js +3 -3
- package/dist/cjs/packages/circleprogress/circleprogress.js +1 -1
- package/dist/cjs/packages/collapseitem/collapseitem.js +1 -1
- package/dist/cjs/packages/configprovider/types.d.ts +1 -1
- package/dist/cjs/packages/countdown/countdown.js +1 -1
- package/dist/cjs/packages/datepicker/datepicker.js +1 -1
- package/dist/cjs/packages/datepicker/style/style.harmony.css +39 -18
- package/dist/cjs/packages/dialog/dialog.js +20 -14
- package/dist/cjs/packages/dialog/style/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style/style.css +1 -1
- package/dist/cjs/packages/dialog/style/style.harmony.css +1 -4
- package/dist/cjs/packages/dialog/style-jmapp/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/dialog/style-jrkf/dialog.scss +1 -1
- package/dist/cjs/packages/dialog/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/divider/divider.js +3 -3
- package/dist/cjs/packages/elevator/elevator.js +1 -1
- package/dist/cjs/packages/ellipsis/ellipsis.js +1 -1
- package/dist/cjs/packages/empty/empty.d.ts +4 -4
- package/dist/cjs/packages/empty/style/style.harmony.css +0 -3
- package/dist/cjs/packages/form/form.js +1 -1
- package/dist/cjs/packages/form/style/style.harmony.css +0 -5
- package/dist/cjs/packages/formitem/style/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style/style.css +0 -5
- package/dist/cjs/packages/formitem/style/style.harmony.css +0 -5
- package/dist/cjs/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jmapp/style.css +0 -5
- package/dist/cjs/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jrkf/style.css +0 -5
- package/dist/cjs/packages/grid/grid.js +1 -1
- package/dist/cjs/packages/griditem/griditem.js +1 -1
- package/dist/cjs/packages/image/image.js +12 -4
- package/dist/cjs/packages/imagepreview/imagepreview.js +3 -2
- package/dist/cjs/packages/imagepreview/style/style.harmony.css +38 -17
- package/dist/cjs/packages/indicator/indicator.js +1 -1
- package/dist/cjs/packages/infiniteloading/infiniteloading.js +3 -3
- package/dist/cjs/packages/input/input.js +11 -4
- package/dist/cjs/packages/inputnumber/inputnumber.js +2 -2
- package/dist/cjs/packages/loading/loading.js +1 -1
- package/dist/cjs/packages/lottie/lottiemp.js +10 -18
- package/dist/cjs/packages/menu/menu.js +1 -1
- package/dist/cjs/packages/numberkeyboard/style/style.css +1 -1
- package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +39 -18
- package/dist/cjs/packages/nutui.react.build.d.ts +3 -1
- package/dist/cjs/packages/nutui.react.build.js +18 -14
- package/dist/cjs/packages/nutui.react.d.ts +4 -1
- package/dist/cjs/packages/nutui.react.js +19 -14
- package/dist/cjs/packages/nutui.react.scss.d.ts +1 -0
- package/dist/cjs/packages/nutui.react.scss.js +1 -0
- package/dist/cjs/packages/overlay/overlay.js +4 -4
- package/dist/cjs/packages/pagination/pagination.js +1 -1
- package/dist/cjs/packages/picker/picker.js +1 -1
- package/dist/cjs/packages/picker/style/style.css +1 -1
- package/dist/cjs/packages/picker/style/style.harmony.css +39 -18
- package/dist/cjs/packages/pickerview/pickerroller.js +1 -1
- package/dist/cjs/packages/popover/popover.js +2 -2
- package/dist/cjs/packages/popover/style/style.harmony.css +38 -17
- package/dist/cjs/packages/popup/popup.js +188 -103
- package/dist/cjs/packages/popup/style/popup.scss +22 -1
- package/dist/cjs/packages/popup/style/style.css +38 -17
- package/dist/cjs/packages/popup/style/style.harmony.css +38 -17
- package/dist/cjs/packages/popup/style-jmapp/popup.scss +22 -1
- package/dist/cjs/packages/popup/style-jmapp/style.css +22 -1
- package/dist/cjs/packages/popup/style-jrkf/popup.scss +22 -1
- package/dist/cjs/packages/popup/style-jrkf/style.css +22 -1
- package/dist/cjs/packages/price/price.js +52 -13
- package/dist/cjs/packages/progress/progress.js +7 -12
- package/dist/cjs/packages/quickenter/index.d.ts +3 -0
- package/dist/cjs/packages/quickenter/index.js +13 -0
- package/dist/cjs/packages/quickenter/quickenter.d.ts +4 -0
- package/dist/cjs/packages/quickenter/quickenter.js +153 -0
- package/dist/cjs/packages/quickenter/style/css.js +2 -0
- package/dist/cjs/packages/quickenter/style/index.js +2 -0
- package/dist/cjs/packages/quickenter/style/quickenter.scss +120 -0
- package/dist/cjs/packages/quickenter/style/style.css +106 -0
- package/dist/cjs/packages/quickenter/style/style.harmony.css +506 -0
- package/dist/cjs/packages/quickenter/style-jmapp/css.js +2 -0
- package/dist/cjs/packages/quickenter/style-jmapp/index.js +2 -0
- package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +120 -0
- package/dist/cjs/packages/quickenter/style-jmapp/style.css +106 -0
- package/dist/cjs/packages/quickenter/style-jrkf/css.js +2 -0
- package/dist/cjs/packages/quickenter/style-jrkf/index.js +2 -0
- package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +120 -0
- package/dist/cjs/packages/quickenter/style-jrkf/style.css +106 -0
- package/dist/cjs/packages/radio/radio.js +1 -1
- package/dist/cjs/packages/radiogroup/radiogroup.js +3 -3
- package/dist/cjs/packages/range/range.js +35 -10
- package/dist/cjs/packages/rate/rate.js +5 -8
- package/dist/cjs/packages/resultpage/resultpage.js +2 -1
- package/dist/cjs/packages/resultpage/style/style.harmony.css +0 -3
- package/dist/cjs/packages/safearea/safearea.js +3 -12
- package/dist/cjs/packages/safearea/style/safearea.scss +0 -6
- package/dist/cjs/packages/safearea/style/style.css +0 -2
- package/dist/cjs/packages/safearea/style/style.harmony.css +0 -2
- package/dist/cjs/packages/safearea/style-jmapp/safearea.scss +0 -6
- package/dist/cjs/packages/safearea/style-jmapp/style.css +0 -2
- package/dist/cjs/packages/safearea/style-jrkf/safearea.scss +0 -6
- package/dist/cjs/packages/safearea/style-jrkf/style.css +0 -2
- package/dist/cjs/packages/searchbar/searchbar.js +23 -9
- package/dist/cjs/packages/shortpassword/shortpassword.js +1 -1
- package/dist/cjs/packages/shortpassword/style/style.harmony.css +38 -17
- package/dist/cjs/packages/sidebar/sidebar.js +1 -1
- package/dist/cjs/packages/signature/signature.js +2 -2
- package/dist/cjs/packages/skeleton/skeleton.js +1 -1
- package/dist/cjs/packages/step/step.js +3 -8
- package/dist/cjs/packages/step/style/step.scss +0 -2
- package/dist/cjs/packages/step/style/style.css +0 -2
- package/dist/cjs/packages/step/style/style.harmony.css +0 -2
- package/dist/cjs/packages/step/style-jmapp/step.scss +0 -2
- package/dist/cjs/packages/step/style-jmapp/style.css +0 -2
- package/dist/cjs/packages/step/style-jrkf/step.scss +0 -2
- package/dist/cjs/packages/step/style-jrkf/style.css +0 -2
- package/dist/cjs/packages/steps/style/steps.scss +10 -3
- package/dist/cjs/packages/steps/style/style.css +13 -7
- package/dist/cjs/packages/steps/style/style.harmony.css +13 -9
- package/dist/cjs/packages/steps/style-jmapp/steps.scss +10 -3
- package/dist/cjs/packages/steps/style-jmapp/style.css +9 -3
- package/dist/cjs/packages/steps/style-jrkf/steps.scss +10 -3
- package/dist/cjs/packages/steps/style-jrkf/style.css +9 -3
- package/dist/cjs/packages/sticky/sticky.js +3 -3
- package/dist/cjs/packages/swipe/swipe.js +84 -115
- package/dist/cjs/packages/swiper/swiper.js +1 -1
- package/dist/cjs/packages/switch/switch.js +1 -1
- package/dist/cjs/packages/tabbaritem/tabbaritem.js +1 -1
- package/dist/cjs/packages/table/style/style.css +1 -1
- package/dist/cjs/packages/table/style/style.harmony.css +1 -1
- package/dist/cjs/packages/table/style/table.scss +1 -1
- package/dist/cjs/packages/table/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/table/style-jmapp/table.scss +1 -1
- package/dist/cjs/packages/table/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/table/style-jrkf/table.scss +1 -1
- package/dist/cjs/packages/table/table.js +1 -1
- package/dist/cjs/packages/tabs/tabs.js +13 -6
- package/dist/cjs/packages/tag/style/style.css +1 -1
- package/dist/cjs/packages/tag/style/style.harmony.css +1 -1
- package/dist/cjs/packages/tag/style/tag.scss +1 -1
- package/dist/cjs/packages/tag/style-jmapp/style.css +1 -1
- package/dist/cjs/packages/tag/style-jmapp/tag.scss +1 -1
- package/dist/cjs/packages/tag/style-jrkf/style.css +1 -1
- package/dist/cjs/packages/tag/style-jrkf/tag.scss +1 -1
- package/dist/cjs/packages/textarea/textarea.js +1 -1
- package/dist/cjs/packages/timeselect/style/style.harmony.css +38 -17
- package/dist/cjs/packages/timeselect/timeselect.js +1 -1
- package/dist/cjs/packages/toast/style/style.css +2 -4
- package/dist/cjs/packages/toast/style/style.harmony.css +2 -4
- package/dist/cjs/packages/toast/style/toast.scss +2 -4
- package/dist/cjs/packages/toast/style-jmapp/style.css +2 -4
- package/dist/cjs/packages/toast/style-jmapp/toast.scss +2 -4
- package/dist/cjs/packages/toast/style-jrkf/style.css +2 -4
- package/dist/cjs/packages/toast/style-jrkf/toast.scss +2 -4
- package/dist/cjs/packages/toast/toast.js +3 -3
- package/dist/cjs/packages/tour/style/style.harmony.css +38 -17
- package/dist/cjs/packages/trendarrow/trendarrow.js +1 -1
- package/dist/cjs/packages/uploader/uploader.js +1 -1
- package/dist/cjs/packages/video/video.js +2 -2
- package/dist/cjs/packages/virtuallist/utils.js +1 -1
- package/dist/cjs/packages/virtuallist/virtuallist.js +1 -1
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/index.js +3 -0
- package/dist/cjs/types/spec/button/base.d.ts +2 -1
- package/dist/cjs/types/spec/button/taro.d.ts +5 -1
- package/dist/cjs/types/spec/calendarcard/base.d.ts +2 -0
- package/dist/cjs/types/spec/dialog/base.d.ts +1 -0
- package/dist/cjs/types/spec/dialog/h5.d.ts +2 -0
- package/dist/cjs/types/spec/dialog/taro.d.ts +2 -0
- package/dist/cjs/types/spec/overlay/base.d.ts +1 -0
- package/dist/cjs/types/spec/popup/base.d.ts +2 -0
- package/dist/cjs/types/spec/price/base.d.ts +1 -0
- package/dist/cjs/types/spec/quickenter/base.d.ts +27 -0
- package/dist/cjs/types/spec/quickenter/base.js +4 -0
- package/dist/cjs/types/spec/quickenter/h5.d.ts +5 -0
- package/dist/cjs/types/spec/quickenter/h5.js +4 -0
- package/dist/cjs/types/spec/quickenter/taro.d.ts +5 -0
- package/dist/cjs/types/spec/quickenter/taro.js +4 -0
- package/dist/cjs/utils/should-render-price-raw.d.ts +2 -0
- package/dist/cjs/utils/should-render-price-raw.js +46 -0
- package/dist/cjs/utils/taro/{ConfigurableCSSTransition copy.js → ConfigurableCSSTransition.js} +13 -53
- package/dist/cjs/utils/taro/get-rect.js +4 -2
- package/dist/cjs/utils/taro/get-system-info.d.ts +0 -5
- package/dist/cjs/utils/taro/get-system-info.js +2 -7
- package/dist/es/hooks/taro/use-custom-event.js +4 -3
- package/dist/es/hooks/taro/use-lock-scoll.js +1 -1
- package/dist/es/hooks/use-click-away.js +2 -2
- package/dist/es/hooks/use-lock-scroll.js +3 -3
- package/dist/es/hooks/use-pagination.js +1 -1
- package/dist/es/hooks/use-ref-state.js +3 -3
- package/dist/es/hooks/use-touch.js +13 -13
- package/dist/es/hooks/use-watch.js +1 -1
- package/dist/es/locales/base.d.ts +9 -0
- package/dist/es/locales/en-US.js +24 -5
- package/dist/es/locales/id-ID.js +24 -5
- package/dist/es/locales/ja-JP.js +22 -5
- package/dist/es/locales/tr-TR.js +24 -5
- package/dist/es/locales/zh-CN.js +22 -5
- package/dist/es/locales/zh-TW.js +22 -5
- package/dist/es/locales/zh-UG.js +24 -5
- package/dist/es/packages/actionsheet/actionsheet.js +8 -8
- package/dist/es/packages/actionsheet/style/style.harmony.css +38 -17
- package/dist/es/packages/address/address.d.ts +1 -1
- package/dist/es/packages/address/address.js +10 -10
- package/dist/es/packages/address/cascaderRender.js +4 -4
- package/dist/es/packages/address/elevatorRender.js +17 -17
- package/dist/es/packages/address/existRender.js +5 -5
- package/dist/es/packages/address/style/style.harmony.css +38 -17
- package/dist/es/packages/address/utils.js +5 -5
- package/dist/es/packages/animate/animate.js +3 -3
- package/dist/es/packages/animatingnumbers/countup.js +4 -2
- package/dist/es/packages/audio/audio.js +16 -16
- package/dist/es/packages/audio/style/style.harmony.css +0 -3
- package/dist/es/packages/avatar/avatar.js +35 -9
- package/dist/es/packages/avatarcropper/avatarcropper.js +29 -33
- package/dist/es/packages/avatargroup/avatargroup.js +1 -1
- package/dist/es/packages/backtop/backtop.js +3 -3
- package/dist/es/packages/badge/badge.js +18 -5
- package/dist/es/packages/barrage/barrage.js +10 -9
- package/dist/es/packages/button/button.d.ts +2 -24
- package/dist/es/packages/button/button.js +12 -14
- package/dist/es/packages/button/index.d.ts +0 -1
- package/dist/es/packages/button/style/button.scss +0 -3
- package/dist/es/packages/button/style/style.css +0 -3
- package/dist/es/packages/button/style/style.harmony.css +0 -3
- package/dist/es/packages/button/style-jmapp/button.scss +0 -3
- package/dist/es/packages/button/style-jmapp/style.css +0 -3
- package/dist/es/packages/button/style-jrkf/button.scss +0 -3
- package/dist/es/packages/button/style-jrkf/style.css +0 -3
- package/dist/es/packages/calendar/calendar.js +12 -12
- package/dist/es/packages/calendar/style/calendar.scss +32 -1
- package/dist/es/packages/calendar/style/style.css +21 -1
- package/dist/es/packages/calendar/style/style.harmony.css +59 -18
- package/dist/es/packages/calendar/style-jmapp/calendar.scss +32 -1
- package/dist/es/packages/calendar/style-jmapp/style.css +21 -1
- package/dist/es/packages/calendar/style-jrkf/calendar.scss +32 -1
- package/dist/es/packages/calendar/style-jrkf/style.css +21 -1
- package/dist/es/packages/calendar/utils.js +7 -7
- package/dist/es/packages/calendarcard/calendarcard.js +53 -31
- package/dist/es/packages/calendarcard/icon.js +18 -29
- package/dist/es/packages/calendarcard/style/calendarcard.scss +19 -0
- package/dist/es/packages/calendarcard/style/style.css +13 -0
- package/dist/es/packages/calendarcard/style/style.harmony.css +13 -0
- package/dist/es/packages/calendarcard/style-jmapp/calendarcard.scss +19 -0
- package/dist/es/packages/calendarcard/style-jmapp/style.css +13 -0
- package/dist/es/packages/calendarcard/style-jrkf/calendarcard.scss +19 -0
- package/dist/es/packages/calendarcard/style-jrkf/style.css +13 -0
- package/dist/es/packages/calendarcard/utils.js +5 -5
- package/dist/es/packages/calendaritem/calendaritem.js +32 -32
- package/dist/es/packages/card/card.js +2 -2
- package/dist/es/packages/card/style/style.harmony.css +1 -1
- package/dist/es/packages/cascader/cascader.js +15 -15
- package/dist/es/packages/cascader/style/style.harmony.css +38 -17
- package/dist/es/packages/cascader/utils.js +6 -6
- package/dist/es/packages/cell/cell.js +4 -4
- package/dist/es/packages/cellgroup/cellgroup.js +2 -2
- package/dist/es/packages/checkbox/checkbox.js +10 -10
- package/dist/es/packages/checkboxgroup/checkboxgroup.js +7 -7
- package/dist/es/packages/circleprogress/circleprogress.js +7 -7
- package/dist/es/packages/col/col.js +2 -2
- package/dist/es/packages/collapse/collapse.js +3 -3
- package/dist/es/packages/collapse/context.js +2 -2
- package/dist/es/packages/collapseitem/collapseitem.js +5 -5
- package/dist/es/packages/configprovider/configprovider.js +5 -5
- package/dist/es/packages/configprovider/types.d.ts +1 -1
- package/dist/es/packages/countdown/countdown.js +15 -15
- package/dist/es/packages/datepicker/datepicker.js +12 -12
- package/dist/es/packages/datepicker/style/style.harmony.css +39 -18
- package/dist/es/packages/datepicker/utils.js +7 -7
- package/dist/es/packages/datepickerview/datepickerview.js +5 -5
- package/dist/es/packages/dialog/content.js +6 -6
- package/dist/es/packages/dialog/dialog.js +53 -45
- package/dist/es/packages/dialog/style/dialog.scss +1 -1
- package/dist/es/packages/dialog/style/style.css +1 -1
- package/dist/es/packages/dialog/style/style.harmony.css +1 -4
- package/dist/es/packages/dialog/style-jmapp/dialog.scss +1 -1
- package/dist/es/packages/dialog/style-jmapp/style.css +1 -1
- package/dist/es/packages/dialog/style-jrkf/dialog.scss +1 -1
- package/dist/es/packages/dialog/style-jrkf/style.css +1 -1
- package/dist/es/packages/divider/divider.js +4 -4
- package/dist/es/packages/drag/drag.js +5 -5
- package/dist/es/packages/elevator/elevator.js +17 -17
- package/dist/es/packages/ellipsis/ellipsis.js +14 -14
- package/dist/es/packages/empty/empty.d.ts +4 -4
- package/dist/es/packages/empty/empty.js +1 -1
- package/dist/es/packages/empty/style/style.harmony.css +0 -3
- package/dist/es/packages/fixednav/fixednav.js +7 -7
- package/dist/es/packages/form/form.js +7 -7
- package/dist/es/packages/form/style/style.harmony.css +0 -5
- package/dist/es/packages/form/useform.js +4 -4
- package/dist/es/packages/formitem/formitem.js +1 -1
- package/dist/es/packages/formitem/style/formitem.scss +4 -4
- package/dist/es/packages/formitem/style/style.css +0 -5
- package/dist/es/packages/formitem/style/style.harmony.css +0 -5
- package/dist/es/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jmapp/style.css +0 -5
- package/dist/es/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jrkf/style.css +0 -5
- package/dist/es/packages/grid/context.js +1 -1
- package/dist/es/packages/grid/grid.js +4 -4
- package/dist/es/packages/griditem/griditem.js +6 -6
- package/dist/es/packages/hoverbutton/hoverbutton.js +1 -1
- package/dist/es/packages/hoverbuttonitem/hoverbuttonitem.js +6 -6
- package/dist/es/packages/hoverbuttonitem/utils.js +1 -1
- package/dist/es/packages/image/image.js +18 -10
- package/dist/es/packages/imagepreview/imagepreview.js +16 -15
- package/dist/es/packages/imagepreview/style/style.harmony.css +38 -17
- package/dist/es/packages/indicator/indicator.js +5 -5
- package/dist/es/packages/infiniteloading/infiniteloading.js +14 -14
- package/dist/es/packages/input/input.js +23 -16
- package/dist/es/packages/inputnumber/inputnumber.js +13 -13
- package/dist/es/packages/layout/layout.js +1 -1
- package/dist/es/packages/loading/loading.js +3 -3
- package/dist/es/packages/lottie/index.js +1 -1
- package/dist/es/packages/lottie/lottiemp.js +12 -20
- package/dist/es/packages/menu/menu.js +13 -13
- package/dist/es/packages/menuitem/menuitem.js +12 -12
- package/dist/es/packages/navbar/navbar.js +7 -7
- package/dist/es/packages/noticebar/noticebar.js +22 -22
- package/dist/es/packages/notify/notify.js +8 -8
- package/dist/es/packages/numberkeyboard/numberkeyboard.js +12 -12
- package/dist/es/packages/numberkeyboard/style/style.css +1 -1
- package/dist/es/packages/numberkeyboard/style/style.harmony.css +39 -18
- package/dist/es/packages/nutui.react.build.d.ts +3 -1
- package/dist/es/packages/nutui.react.build.js +3 -1
- package/dist/es/packages/overlay/overlay.js +10 -10
- package/dist/es/packages/pagination/pagination.js +8 -8
- package/dist/es/packages/picker/picker.js +15 -15
- package/dist/es/packages/picker/style/style.css +1 -1
- package/dist/es/packages/picker/style/style.harmony.css +39 -18
- package/dist/es/packages/pickerview/pickerroller.js +12 -12
- package/dist/es/packages/pickerview/pickerview.js +3 -3
- package/dist/es/packages/pickerview/utils.js +6 -6
- package/dist/es/packages/popover/popover.js +16 -16
- package/dist/es/packages/popover/style/style.harmony.css +38 -17
- package/dist/es/packages/popup/popup.js +200 -115
- package/dist/es/packages/popup/style/popup.scss +22 -1
- package/dist/es/packages/popup/style/style.css +38 -17
- package/dist/es/packages/popup/style/style.harmony.css +38 -17
- package/dist/es/packages/popup/style-jmapp/popup.scss +22 -1
- package/dist/es/packages/popup/style-jmapp/style.css +22 -1
- package/dist/es/packages/popup/style-jrkf/popup.scss +22 -1
- package/dist/es/packages/popup/style-jrkf/style.css +22 -1
- package/dist/es/packages/price/price.js +60 -21
- package/dist/es/packages/progress/progress.js +17 -22
- package/dist/es/packages/pulltorefresh/pulltorefresh.js +8 -8
- package/dist/es/packages/quickenter/index.d.ts +3 -0
- package/dist/es/packages/quickenter/index.js +2 -0
- package/dist/es/packages/quickenter/quickenter.d.ts +4 -0
- package/dist/es/packages/quickenter/quickenter.js +141 -0
- package/dist/es/packages/quickenter/style/css.js +2 -0
- package/dist/es/packages/quickenter/style/index.js +2 -0
- package/dist/es/packages/quickenter/style/quickenter.scss +120 -0
- package/dist/es/packages/quickenter/style/style.css +106 -0
- package/dist/es/packages/quickenter/style/style.harmony.css +506 -0
- package/dist/es/packages/quickenter/style-jmapp/css.js +2 -0
- package/dist/es/packages/quickenter/style-jmapp/index.js +2 -0
- package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +120 -0
- package/dist/es/packages/quickenter/style-jmapp/style.css +106 -0
- package/dist/es/packages/quickenter/style-jrkf/css.js +2 -0
- package/dist/es/packages/quickenter/style-jrkf/index.js +2 -0
- package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +120 -0
- package/dist/es/packages/quickenter/style-jrkf/style.css +106 -0
- package/dist/es/packages/radio/radio.js +11 -11
- package/dist/es/packages/radiogroup/radiogroup.js +6 -6
- package/dist/es/packages/range/range.js +44 -19
- package/dist/es/packages/rate/rate.js +16 -19
- package/dist/es/packages/resultpage/resultpage.js +3 -2
- package/dist/es/packages/resultpage/style/style.harmony.css +0 -3
- package/dist/es/packages/row/row.js +4 -4
- package/dist/es/packages/safearea/safearea.js +4 -13
- package/dist/es/packages/safearea/style/safearea.scss +0 -6
- package/dist/es/packages/safearea/style/style.css +0 -2
- package/dist/es/packages/safearea/style/style.harmony.css +0 -2
- package/dist/es/packages/safearea/style-jmapp/safearea.scss +0 -6
- package/dist/es/packages/safearea/style-jmapp/style.css +0 -2
- package/dist/es/packages/safearea/style-jrkf/safearea.scss +0 -6
- package/dist/es/packages/safearea/style-jrkf/style.css +0 -2
- package/dist/es/packages/searchbar/searchbar.js +27 -13
- package/dist/es/packages/segmented/segmented.js +4 -4
- package/dist/es/packages/shortpassword/shortpassword.js +7 -7
- package/dist/es/packages/shortpassword/style/style.harmony.css +38 -17
- package/dist/es/packages/sidebar/sidebar.js +11 -11
- package/dist/es/packages/sidebar/utils.js +1 -1
- package/dist/es/packages/sidebaritem/sidebaritem.js +1 -1
- package/dist/es/packages/signature/signature.js +15 -15
- package/dist/es/packages/skeleton/skeleton.js +4 -4
- package/dist/es/packages/space/space.js +1 -1
- package/dist/es/packages/step/step.js +4 -9
- package/dist/es/packages/step/style/step.scss +0 -2
- package/dist/es/packages/step/style/style.css +0 -2
- package/dist/es/packages/step/style/style.harmony.css +0 -2
- package/dist/es/packages/step/style-jmapp/step.scss +0 -2
- package/dist/es/packages/step/style-jmapp/style.css +0 -2
- package/dist/es/packages/step/style-jrkf/step.scss +0 -2
- package/dist/es/packages/step/style-jrkf/style.css +0 -2
- package/dist/es/packages/steps/steps.js +1 -1
- package/dist/es/packages/steps/style/steps.scss +10 -3
- package/dist/es/packages/steps/style/style.css +13 -7
- package/dist/es/packages/steps/style/style.harmony.css +13 -9
- package/dist/es/packages/steps/style-jmapp/steps.scss +10 -3
- package/dist/es/packages/steps/style-jmapp/style.css +9 -3
- package/dist/es/packages/steps/style-jrkf/steps.scss +10 -3
- package/dist/es/packages/steps/style-jrkf/style.css +9 -3
- package/dist/es/packages/sticky/sticky.js +5 -5
- package/dist/es/packages/swipe/swipe.js +98 -129
- package/dist/es/packages/swiper/swiper.js +7 -7
- package/dist/es/packages/swiperitem/swiperitem.js +1 -1
- package/dist/es/packages/switch/switch.js +6 -6
- package/dist/es/packages/tabbar/tabbar.js +2 -2
- package/dist/es/packages/tabbaritem/tabbaritem.js +10 -10
- package/dist/es/packages/table/style/style.css +1 -1
- package/dist/es/packages/table/style/style.harmony.css +1 -1
- package/dist/es/packages/table/style/table.scss +1 -1
- package/dist/es/packages/table/style-jmapp/style.css +1 -1
- package/dist/es/packages/table/style-jmapp/table.scss +1 -1
- package/dist/es/packages/table/style-jrkf/style.css +1 -1
- package/dist/es/packages/table/style-jrkf/table.scss +1 -1
- package/dist/es/packages/table/table.js +10 -10
- package/dist/es/packages/tabpane/tabpane.js +1 -1
- package/dist/es/packages/tabs/tabs.js +23 -16
- package/dist/es/packages/tag/style/style.css +1 -1
- package/dist/es/packages/tag/style/style.harmony.css +1 -1
- package/dist/es/packages/tag/style/tag.scss +1 -1
- package/dist/es/packages/tag/style-jmapp/style.css +1 -1
- package/dist/es/packages/tag/style-jmapp/tag.scss +1 -1
- package/dist/es/packages/tag/style-jrkf/style.css +1 -1
- package/dist/es/packages/tag/style-jrkf/tag.scss +1 -1
- package/dist/es/packages/tag/tag.js +10 -10
- package/dist/es/packages/textarea/textarea.js +11 -11
- package/dist/es/packages/timedetail/timedetail.js +3 -3
- package/dist/es/packages/timeselect/style/style.harmony.css +38 -17
- package/dist/es/packages/timeselect/timeselect.js +6 -6
- package/dist/es/packages/toast/style/style.css +2 -4
- package/dist/es/packages/toast/style/style.harmony.css +2 -4
- package/dist/es/packages/toast/style/toast.scss +2 -4
- package/dist/es/packages/toast/style-jmapp/style.css +2 -4
- package/dist/es/packages/toast/style-jmapp/toast.scss +2 -4
- package/dist/es/packages/toast/style-jrkf/style.css +2 -4
- package/dist/es/packages/toast/style-jrkf/toast.scss +2 -4
- package/dist/es/packages/toast/toast.js +11 -11
- package/dist/es/packages/tour/style/style.harmony.css +38 -17
- package/dist/es/packages/tour/tour.js +10 -10
- package/dist/es/packages/trendarrow/trendarrow.js +4 -4
- package/dist/es/packages/uploader/preview.js +8 -8
- package/dist/es/packages/uploader/uploader.js +19 -19
- package/dist/es/packages/video/video.js +3 -3
- package/dist/es/packages/virtuallist/utils.js +5 -5
- package/dist/es/packages/virtuallist/virtuallist.js +8 -8
- package/dist/es/packages/watermark/watermark.js +2 -2
- package/dist/es/types/index.d.ts +3 -0
- package/dist/es/types/index.js +3 -0
- package/dist/es/types/spec/button/base.d.ts +2 -1
- package/dist/es/types/spec/button/taro.d.ts +5 -1
- package/dist/es/types/spec/calendarcard/base.d.ts +2 -0
- package/dist/es/types/spec/dialog/base.d.ts +3 -8
- package/dist/es/types/spec/dialog/h5.d.ts +2 -0
- package/dist/es/types/spec/dialog/taro.d.ts +2 -0
- package/dist/es/types/spec/overlay/base.d.ts +1 -0
- package/dist/es/types/spec/popup/base.d.ts +4 -5
- package/dist/es/types/spec/price/base.d.ts +4 -0
- package/dist/es/types/spec/quickenter/base.d.ts +45 -0
- package/dist/es/types/spec/quickenter/base.js +1 -0
- package/dist/es/types/spec/quickenter/h5.d.ts +5 -0
- package/dist/es/types/spec/quickenter/h5.js +1 -0
- package/dist/es/types/spec/quickenter/taro.d.ts +5 -0
- package/dist/es/types/spec/quickenter/taro.js +1 -0
- package/dist/es/utils/clamp.js +1 -1
- package/dist/es/utils/date.js +3 -3
- package/dist/es/utils/get-rect.js +1 -1
- package/dist/es/utils/interceptor.js +1 -1
- package/dist/es/utils/is-date.js +1 -1
- package/dist/es/utils/is-empty.js +1 -1
- package/dist/es/utils/is-function.js +1 -1
- package/dist/es/utils/is-object.js +1 -1
- package/dist/es/utils/is-promise.js +1 -1
- package/dist/es/utils/pad-zero.js +1 -1
- package/dist/es/utils/px-check.js +1 -1
- package/dist/es/utils/should-render-price-raw.d.ts +2 -0
- package/dist/es/utils/should-render-price-raw.js +30 -0
- package/dist/es/utils/sleep.js +1 -1
- package/dist/es/utils/taro/{ConfigurableCSSTransition copy.js → ConfigurableCSSTransition.js} +14 -54
- package/dist/es/utils/taro/get-rect-by-id.js +1 -1
- package/dist/es/utils/taro/get-rect.js +6 -4
- package/dist/es/utils/taro/get-system-info.d.ts +0 -5
- package/dist/es/utils/taro/get-system-info.js +10 -9
- package/dist/es/utils/taro/platform.js +4 -4
- package/dist/es/utils/upper-case-first.js +1 -1
- package/dist/nutui.react.umd.js +11331 -10903
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +36 -35
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +32 -31
- package/dist/style.css +1 -1
- package/dist/style.scss +33 -32
- package/dist/styles/jd-font.scss +2 -2
- package/dist/styles/theme-dark.scss +1 -2
- package/dist/styles/themes/daojia.css +1 -1
- package/dist/styles/themes/dark-daojia.css +1 -1
- package/dist/styles/themes/dark.css +1 -1
- package/dist/styles/themes/default.css +1 -1
- package/dist/styles/variables-daojia.scss +41 -0
- package/dist/styles/variables-jmapp.scss +41 -0
- package/dist/styles/variables-jrkf.scss +41 -0
- package/dist/styles/variables.scss +49 -4
- package/package.json +1 -1
- package/dist/cjs/locales/vi-VN.d.ts +0 -3
- package/dist/cjs/locales/vi-VN.js +0 -170
- package/dist/es/locales/vi-VN.d.ts +0 -3
- package/dist/es/locales/vi-VN.js +0 -160
- /package/dist/cjs/utils/taro/{ConfigurableCSSTransition copy.d.ts → ConfigurableCSSTransition.d.ts} +0 -0
- /package/dist/es/utils/taro/{ConfigurableCSSTransition copy.d.ts → ConfigurableCSSTransition.d.ts} +0 -0
package/dist/es/locales/id-ID.js
CHANGED
|
@@ -9,6 +9,11 @@ var idID = {
|
|
|
9
9
|
edit: 'Sunting',
|
|
10
10
|
reset: 'Mengatur Ulang',
|
|
11
11
|
close: 'Tutup',
|
|
12
|
+
back: 'Kembali',
|
|
13
|
+
clear: 'Bersihkan',
|
|
14
|
+
image: {
|
|
15
|
+
errorTip: 'Gambar gagal dimuat'
|
|
16
|
+
},
|
|
12
17
|
video: {
|
|
13
18
|
errorTip: 'Terjadi Kesalahan',
|
|
14
19
|
clickRetry: 'Coba Lagi'
|
|
@@ -43,12 +48,23 @@ var idID = {
|
|
|
43
48
|
start: 'Mulai',
|
|
44
49
|
confirm: 'Mengonfirmasi',
|
|
45
50
|
title: 'Kalender',
|
|
46
|
-
monthTitle: function(year, month) {
|
|
51
|
+
monthTitle: function monthTitle(year, month) {
|
|
47
52
|
return "".concat(year, "/").concat(Number(month) < 10 ? "0".concat(Number(month)) : month);
|
|
48
53
|
},
|
|
49
54
|
today: 'Hari ini',
|
|
50
55
|
loadPreviousMonth: 'Muat Bulan Sebelumnya',
|
|
51
|
-
noEarlierMonth: 'Tidak Ada Bulan Sebelumnya'
|
|
56
|
+
noEarlierMonth: 'Tidak Ada Bulan Sebelumnya',
|
|
57
|
+
dayAriaLabel: function dayAriaLabel(year, month, day, today, isActive, isDisable) {
|
|
58
|
+
var dateStr = "".concat(year, "-").concat(month, "-").concat(day);
|
|
59
|
+
var label = today ? "Hari ini, ".concat(dateStr) : dateStr;
|
|
60
|
+
if (isActive) {
|
|
61
|
+
label = "Dipilih ".concat(label);
|
|
62
|
+
}
|
|
63
|
+
if (isDisable) {
|
|
64
|
+
label = "".concat(label, " dinonaktifkan");
|
|
65
|
+
}
|
|
66
|
+
return label;
|
|
67
|
+
}
|
|
52
68
|
},
|
|
53
69
|
shortpassword: {
|
|
54
70
|
title: 'SIlakan masukan kata sandi',
|
|
@@ -103,10 +119,10 @@ var idID = {
|
|
|
103
119
|
},
|
|
104
120
|
comment: {
|
|
105
121
|
complaintsText: 'Saya memiliki komplain',
|
|
106
|
-
additionalReview: function(day) {
|
|
122
|
+
additionalReview: function additionalReview(day) {
|
|
107
123
|
return "Ulas setelah ".concat(day, " hari dari pembelian");
|
|
108
124
|
},
|
|
109
|
-
additionalImages: function(length) {
|
|
125
|
+
additionalImages: function additionalImages(length) {
|
|
110
126
|
return "Terdapat ".concat(length, " komentar lainnya");
|
|
111
127
|
}
|
|
112
128
|
},
|
|
@@ -155,6 +171,9 @@ var idID = {
|
|
|
155
171
|
watermark: {
|
|
156
172
|
errorCanvasTips: 'Canvas is not supported in the current environment'
|
|
157
173
|
},
|
|
158
|
-
mask: 'Masker'
|
|
174
|
+
mask: 'Masker',
|
|
175
|
+
quickenter: {
|
|
176
|
+
title: 'Masuk Cepat'
|
|
177
|
+
}
|
|
159
178
|
};
|
|
160
179
|
export default idID;
|
package/dist/es/locales/ja-JP.js
CHANGED
|
@@ -8,6 +8,12 @@ var jaJP = {
|
|
|
8
8
|
select: '選択してください',
|
|
9
9
|
edit: '編集',
|
|
10
10
|
reset: 'リセット',
|
|
11
|
+
close: '閉じる',
|
|
12
|
+
back: '戻る',
|
|
13
|
+
clear: 'クリア',
|
|
14
|
+
image: {
|
|
15
|
+
errorTip: '画像の読み込みに失敗しました'
|
|
16
|
+
},
|
|
11
17
|
video: {
|
|
12
18
|
errorTip: '動画の読み込みに失敗しました',
|
|
13
19
|
clickRetry: 'クリックして再試行'
|
|
@@ -42,12 +48,21 @@ var jaJP = {
|
|
|
42
48
|
start: '開始',
|
|
43
49
|
confirm: '確認',
|
|
44
50
|
title: 'カレンダー選択',
|
|
45
|
-
monthTitle: function(year, month) {
|
|
51
|
+
monthTitle: function monthTitle(year, month) {
|
|
46
52
|
return "".concat(year, "年").concat(Number(month) < 10 ? "0".concat(Number(month)) : month, "月");
|
|
47
53
|
},
|
|
48
54
|
today: '今日',
|
|
49
55
|
loadPreviousMonth: '前の月を読み込む',
|
|
50
|
-
noEarlierMonth: 'これより前の月はありません'
|
|
56
|
+
noEarlierMonth: 'これより前の月はありません',
|
|
57
|
+
dayAriaLabel: function dayAriaLabel(year, month, day, today, isActive, isDisable) {
|
|
58
|
+
if (isActive) {
|
|
59
|
+
return today ? "今日".concat(month, "月").concat(day, "日を選択しました") : "".concat(month, "月").concat(day, "日を選択しました");
|
|
60
|
+
}
|
|
61
|
+
if (isDisable) {
|
|
62
|
+
return today ? "今日".concat(month, "月").concat(day, "日は無効です") : "".concat(month, "月").concat(day, "日は無効です");
|
|
63
|
+
}
|
|
64
|
+
return today ? "今日".concat(month, "月").concat(day, "日") : "".concat(month, "月").concat(day, "日");
|
|
65
|
+
}
|
|
51
66
|
},
|
|
52
67
|
shortpassword: {
|
|
53
68
|
title: 'パスワードを入力してください',
|
|
@@ -102,10 +117,10 @@ var jaJP = {
|
|
|
102
117
|
},
|
|
103
118
|
comment: {
|
|
104
119
|
complaintsText: 'クレームを報告する',
|
|
105
|
-
additionalReview: function(day) {
|
|
120
|
+
additionalReview: function additionalReview(day) {
|
|
106
121
|
return "購入".concat(day, "日後の追加レビュー");
|
|
107
122
|
},
|
|
108
|
-
additionalImages: function(length) {
|
|
123
|
+
additionalImages: function additionalImages(length) {
|
|
109
124
|
return "".concat(length, "枚の追加レビュー画像");
|
|
110
125
|
}
|
|
111
126
|
},
|
|
@@ -155,6 +170,8 @@ var jaJP = {
|
|
|
155
170
|
errorCanvasTips: '現在の環境はCanvasをサポートしていません'
|
|
156
171
|
},
|
|
157
172
|
mask: 'マスク',
|
|
158
|
-
|
|
173
|
+
quickenter: {
|
|
174
|
+
title: 'クイックアクセス'
|
|
175
|
+
}
|
|
159
176
|
};
|
|
160
177
|
export default jaJP;
|
package/dist/es/locales/tr-TR.js
CHANGED
|
@@ -9,6 +9,11 @@ var trTR = {
|
|
|
9
9
|
edit: 'düzenlemek',
|
|
10
10
|
reset: 'sıfırlama',
|
|
11
11
|
close: 'Kapat',
|
|
12
|
+
back: 'Geri',
|
|
13
|
+
clear: 'Temizle',
|
|
14
|
+
image: {
|
|
15
|
+
errorTip: 'Resim yüklenemedi'
|
|
16
|
+
},
|
|
12
17
|
video: {
|
|
13
18
|
errorTip: 'Video yüklenemedi',
|
|
14
19
|
clickRetry: 'Yeniden Tıklayın'
|
|
@@ -43,12 +48,23 @@ var trTR = {
|
|
|
43
48
|
start: 'Başlangıç',
|
|
44
49
|
confirm: 'Onayla',
|
|
45
50
|
title: 'Takvim seçimi',
|
|
46
|
-
monthTitle: function(year, month) {
|
|
51
|
+
monthTitle: function monthTitle(year, month) {
|
|
47
52
|
return "".concat(year, "/").concat(Number(month) < 10 ? "0".concat(Number(month)) : month);
|
|
48
53
|
},
|
|
49
54
|
today: 'Bugün',
|
|
50
55
|
loadPreviousMonth: 'Önceki ayı yükle',
|
|
51
|
-
noEarlierMonth: 'Önceki ay yok'
|
|
56
|
+
noEarlierMonth: 'Önceki ay yok',
|
|
57
|
+
dayAriaLabel: function dayAriaLabel(year, month, day, today, isActive, isDisable) {
|
|
58
|
+
var dateStr = "".concat(year, "-").concat(month, "-").concat(day);
|
|
59
|
+
var label = today ? "Bug\xfcn, ".concat(dateStr) : dateStr;
|
|
60
|
+
if (isActive) {
|
|
61
|
+
label = "Se\xe7ili ".concat(label);
|
|
62
|
+
}
|
|
63
|
+
if (isDisable) {
|
|
64
|
+
label = "".concat(label, " devre dışı");
|
|
65
|
+
}
|
|
66
|
+
return label;
|
|
67
|
+
}
|
|
52
68
|
},
|
|
53
69
|
shortpassword: {
|
|
54
70
|
title: 'Lütfen şifrenizi girin',
|
|
@@ -103,10 +119,10 @@ var trTR = {
|
|
|
103
119
|
},
|
|
104
120
|
comment: {
|
|
105
121
|
complaintsText: 'Şikayet etmek istiyorum',
|
|
106
|
-
additionalReview: function(day) {
|
|
122
|
+
additionalReview: function additionalReview(day) {
|
|
107
123
|
return "atın aldıktan ".concat(day, " g\xfcn sonra g\xf6zden ge\xe7irin");
|
|
108
124
|
},
|
|
109
|
-
additionalImages: function(length) {
|
|
125
|
+
additionalImages: function additionalImages(length) {
|
|
110
126
|
return " ".concat(length, " İnceleme g\xf6r\xfcnt\xfclerinin");
|
|
111
127
|
}
|
|
112
128
|
},
|
|
@@ -155,6 +171,9 @@ var trTR = {
|
|
|
155
171
|
watermark: {
|
|
156
172
|
errorCanvasTips: 'Geçerli ortam Canvası desteklemiyor'
|
|
157
173
|
},
|
|
158
|
-
mask: 'Maske'
|
|
174
|
+
mask: 'Maske',
|
|
175
|
+
quickenter: {
|
|
176
|
+
title: 'Hızlı Giriş'
|
|
177
|
+
}
|
|
159
178
|
};
|
|
160
179
|
export default trTR;
|
package/dist/es/locales/zh-CN.js
CHANGED
|
@@ -9,6 +9,11 @@ var zhCN = {
|
|
|
9
9
|
edit: '编辑',
|
|
10
10
|
reset: '重置',
|
|
11
11
|
close: '关闭',
|
|
12
|
+
back: '返回',
|
|
13
|
+
clear: '清除',
|
|
14
|
+
image: {
|
|
15
|
+
errorTip: '图片加载失败'
|
|
16
|
+
},
|
|
12
17
|
video: {
|
|
13
18
|
errorTip: '视频加载失败',
|
|
14
19
|
clickRetry: '点击重试'
|
|
@@ -43,12 +48,21 @@ var zhCN = {
|
|
|
43
48
|
start: '开始',
|
|
44
49
|
confirm: '确认',
|
|
45
50
|
title: '日历选择',
|
|
46
|
-
monthTitle: function(year, month) {
|
|
51
|
+
monthTitle: function monthTitle(year, month) {
|
|
47
52
|
return "".concat(year, "年").concat(Number(month) < 10 ? "0".concat(Number(month)) : month, "月");
|
|
48
53
|
},
|
|
49
54
|
today: '今天',
|
|
50
55
|
loadPreviousMonth: '加载上一个月',
|
|
51
|
-
noEarlierMonth: '没有更早月份'
|
|
56
|
+
noEarlierMonth: '没有更早月份',
|
|
57
|
+
dayAriaLabel: function dayAriaLabel(year, month, day, today, isActive, isDisable) {
|
|
58
|
+
if (isActive) {
|
|
59
|
+
return today ? "已选定今日".concat(month, "月").concat(day, "号") : "已选定".concat(month, "月").concat(day, "号");
|
|
60
|
+
}
|
|
61
|
+
if (isDisable) {
|
|
62
|
+
return today ? "".concat(month, "月").concat(day, "号今日按钮变暗") : "".concat(month, "月").concat(day, "号按钮变暗");
|
|
63
|
+
}
|
|
64
|
+
return today ? "".concat(month, "月").concat(day, "号今日") : "".concat(month, "月").concat(day, "号");
|
|
65
|
+
}
|
|
52
66
|
},
|
|
53
67
|
shortpassword: {
|
|
54
68
|
title: '请输入密码',
|
|
@@ -103,10 +117,10 @@ var zhCN = {
|
|
|
103
117
|
},
|
|
104
118
|
comment: {
|
|
105
119
|
complaintsText: '我要投诉',
|
|
106
|
-
additionalReview: function(day) {
|
|
120
|
+
additionalReview: function additionalReview(day) {
|
|
107
121
|
return "购买".concat(day, "天后追评");
|
|
108
122
|
},
|
|
109
|
-
additionalImages: function(length) {
|
|
123
|
+
additionalImages: function additionalImages(length) {
|
|
110
124
|
return "".concat(length, "张追评图片");
|
|
111
125
|
}
|
|
112
126
|
},
|
|
@@ -155,6 +169,9 @@ var zhCN = {
|
|
|
155
169
|
watermark: {
|
|
156
170
|
errorCanvasTips: '当前环境不支持Canvas'
|
|
157
171
|
},
|
|
158
|
-
mask: '蒙层'
|
|
172
|
+
mask: '蒙层',
|
|
173
|
+
quickenter: {
|
|
174
|
+
title: '快捷入口'
|
|
175
|
+
}
|
|
159
176
|
};
|
|
160
177
|
export default zhCN;
|
package/dist/es/locales/zh-TW.js
CHANGED
|
@@ -9,6 +9,11 @@ var zhCN = {
|
|
|
9
9
|
edit: '編輯',
|
|
10
10
|
reset: '重置',
|
|
11
11
|
close: '關閉',
|
|
12
|
+
back: '返回',
|
|
13
|
+
clear: '清除',
|
|
14
|
+
image: {
|
|
15
|
+
errorTip: '圖片加載失敗'
|
|
16
|
+
},
|
|
12
17
|
video: {
|
|
13
18
|
errorTip: '視頻加載失敗',
|
|
14
19
|
clickRetry: '點擊重試'
|
|
@@ -43,12 +48,21 @@ var zhCN = {
|
|
|
43
48
|
start: '開始',
|
|
44
49
|
confirm: '確認',
|
|
45
50
|
title: '日歷選擇',
|
|
46
|
-
monthTitle: function(year, month) {
|
|
51
|
+
monthTitle: function monthTitle(year, month) {
|
|
47
52
|
return "".concat(year, "年").concat(Number(month) < 10 ? "0".concat(Number(month)) : month, "月");
|
|
48
53
|
},
|
|
49
54
|
today: '今天',
|
|
50
55
|
loadPreviousMonth: '加載上一個月',
|
|
51
|
-
noEarlierMonth: '沒有更早月份'
|
|
56
|
+
noEarlierMonth: '沒有更早月份',
|
|
57
|
+
dayAriaLabel: function dayAriaLabel(year, month, day, today, isActive, isDisable) {
|
|
58
|
+
if (isActive) {
|
|
59
|
+
return today ? "已選定今日".concat(month, "月").concat(day, "號") : "已選定".concat(month, "月").concat(day, "號");
|
|
60
|
+
}
|
|
61
|
+
if (isDisable) {
|
|
62
|
+
return today ? "".concat(month, "月").concat(day, "號今日按鈕變暗") : "".concat(month, "月").concat(day, "號按鈕變暗");
|
|
63
|
+
}
|
|
64
|
+
return today ? "".concat(month, "月").concat(day, "號今日") : "".concat(month, "月").concat(day, "號");
|
|
65
|
+
}
|
|
52
66
|
},
|
|
53
67
|
shortpassword: {
|
|
54
68
|
title: '請輸入密碼',
|
|
@@ -103,10 +117,10 @@ var zhCN = {
|
|
|
103
117
|
},
|
|
104
118
|
comment: {
|
|
105
119
|
complaintsText: '我要投訴',
|
|
106
|
-
additionalReview: function(day) {
|
|
120
|
+
additionalReview: function additionalReview(day) {
|
|
107
121
|
return "購買".concat(day, "天後追評");
|
|
108
122
|
},
|
|
109
|
-
additionalImages: function(length) {
|
|
123
|
+
additionalImages: function additionalImages(length) {
|
|
110
124
|
return "".concat(length, "張追評圖片");
|
|
111
125
|
}
|
|
112
126
|
},
|
|
@@ -155,6 +169,9 @@ var zhCN = {
|
|
|
155
169
|
watermark: {
|
|
156
170
|
errorCanvasTips: '當前環境不支持Canvas'
|
|
157
171
|
},
|
|
158
|
-
mask: '蒙層'
|
|
172
|
+
mask: '蒙層',
|
|
173
|
+
quickenter: {
|
|
174
|
+
title: '快捷入口'
|
|
175
|
+
}
|
|
159
176
|
};
|
|
160
177
|
export default zhCN;
|
package/dist/es/locales/zh-UG.js
CHANGED
|
@@ -9,6 +9,11 @@ var zhUG = {
|
|
|
9
9
|
edit: 'يحرر',
|
|
10
10
|
reset: 'إعادة ضبط',
|
|
11
11
|
close: 'تاقاش',
|
|
12
|
+
back: 'قايتىش',
|
|
13
|
+
clear: 'تاقاش',
|
|
14
|
+
image: {
|
|
15
|
+
errorTip: 'رەسىم يۈكلەش مەغلۇپ بولدى'
|
|
16
|
+
},
|
|
12
17
|
video: {
|
|
13
18
|
errorTip: 'فىلىمنى قويۇش مەغلۇپ بولدى',
|
|
14
19
|
clickRetry: 'قايتا سىناش'
|
|
@@ -43,12 +48,23 @@ var zhUG = {
|
|
|
43
48
|
start: 'بېشى',
|
|
44
49
|
confirm: 'جەزملەشتۈرۈڭ',
|
|
45
50
|
title: 'تاللاڭ',
|
|
46
|
-
monthTitle: function(year, month) {
|
|
51
|
+
monthTitle: function monthTitle(year, month) {
|
|
47
52
|
return "".concat(year, " يىلى ").concat(Number(month) < 10 ? "0".concat(Number(month)) : month, " ئاي");
|
|
48
53
|
},
|
|
49
54
|
today: 'بۈگۈن',
|
|
50
55
|
loadPreviousMonth: 'ئالدىنقى ئاي',
|
|
51
|
-
noEarlierMonth: 'تۈگىدى'
|
|
56
|
+
noEarlierMonth: 'تۈگىدى',
|
|
57
|
+
dayAriaLabel: function dayAriaLabel(year, month, day, today, isActive, isDisable) {
|
|
58
|
+
var dateStr = "".concat(year, "-").concat(month, "-").concat(day);
|
|
59
|
+
var label = today ? "بۈگۈن, ".concat(dateStr) : dateStr;
|
|
60
|
+
if (isActive) {
|
|
61
|
+
label = "تاللانغان ".concat(label);
|
|
62
|
+
}
|
|
63
|
+
if (isDisable) {
|
|
64
|
+
label = "".concat(label, " چەكلەنگەن");
|
|
65
|
+
}
|
|
66
|
+
return label;
|
|
67
|
+
}
|
|
52
68
|
},
|
|
53
69
|
shortpassword: {
|
|
54
70
|
title: 'مەخپى نومۇرنى كىرگۈزۈڭ',
|
|
@@ -103,10 +119,10 @@ var zhUG = {
|
|
|
103
119
|
},
|
|
104
120
|
comment: {
|
|
105
121
|
complaintsText: 'ئەرزىم بار',
|
|
106
|
-
additionalReview: function(day) {
|
|
122
|
+
additionalReview: function additionalReview(day) {
|
|
107
123
|
return "سېتىۋىلپ ".concat(day, " كۈندى كېيىن");
|
|
108
124
|
},
|
|
109
|
-
additionalImages: function(length) {
|
|
125
|
+
additionalImages: function additionalImages(length) {
|
|
110
126
|
return "".concat(length, " پارچە رەسىم");
|
|
111
127
|
}
|
|
112
128
|
},
|
|
@@ -155,6 +171,9 @@ var zhUG = {
|
|
|
155
171
|
watermark: {
|
|
156
172
|
errorCanvasTips: 'Canvas نى قوللىمايدۇ'
|
|
157
173
|
},
|
|
158
|
-
mask: '
|
|
174
|
+
mask: 'mask',
|
|
175
|
+
quickenter: {
|
|
176
|
+
title: 'تېز كىرگۈزۈش'
|
|
177
|
+
}
|
|
159
178
|
};
|
|
160
179
|
export default zhUG;
|
|
@@ -15,10 +15,10 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
15
15
|
description: 'description'
|
|
16
16
|
},
|
|
17
17
|
cancelText: '',
|
|
18
|
-
onCancel: function() {},
|
|
19
|
-
onSelect: function() {}
|
|
18
|
+
onCancel: function onCancel() {},
|
|
19
|
+
onSelect: function onSelect() {}
|
|
20
20
|
});
|
|
21
|
-
export var ActionSheet = function(props) {
|
|
21
|
+
export var ActionSheet = function ActionSheet(props) {
|
|
22
22
|
var _mergeProps = mergeProps(defaultProps, props), children = _mergeProps.children, cancelText = _mergeProps.cancelText, optionKey = _mergeProps.optionKey, title = _mergeProps.title, description = _mergeProps.description, options = _mergeProps.options, onCancel = _mergeProps.onCancel, onSelect = _mergeProps.onSelect, visible = _mergeProps.visible, className = _mergeProps.className, style = _mergeProps.style, rest = _object_without_properties(_mergeProps, [
|
|
23
23
|
"children",
|
|
24
24
|
"cancelText",
|
|
@@ -33,10 +33,10 @@ export var ActionSheet = function(props) {
|
|
|
33
33
|
"style"
|
|
34
34
|
]);
|
|
35
35
|
var classPrefix = 'nut-actionsheet';
|
|
36
|
-
var cancelActionSheet = function() {
|
|
36
|
+
var cancelActionSheet = function cancelActionSheet() {
|
|
37
37
|
onCancel && onCancel();
|
|
38
38
|
};
|
|
39
|
-
var chooseItem = function(item, index) {
|
|
39
|
+
var chooseItem = function chooseItem(item, index) {
|
|
40
40
|
if (!item.disabled) {
|
|
41
41
|
onSelect && onSelect(item, index);
|
|
42
42
|
}
|
|
@@ -48,7 +48,7 @@ export var ActionSheet = function(props) {
|
|
|
48
48
|
title: title,
|
|
49
49
|
description: description,
|
|
50
50
|
className: classPrefix,
|
|
51
|
-
onClose: function() {
|
|
51
|
+
onClose: function onClose() {
|
|
52
52
|
onCancel && onCancel();
|
|
53
53
|
}
|
|
54
54
|
}), /*#__PURE__*/ React.createElement(View, {
|
|
@@ -61,7 +61,7 @@ export var ActionSheet = function(props) {
|
|
|
61
61
|
return /*#__PURE__*/ React.createElement(View, {
|
|
62
62
|
className: "".concat(classPrefix, "-item ").concat(statusClass),
|
|
63
63
|
key: index,
|
|
64
|
-
onClick: function() {
|
|
64
|
+
onClick: function onClick() {
|
|
65
65
|
return chooseItem(item, index);
|
|
66
66
|
}
|
|
67
67
|
}, /*#__PURE__*/ React.createElement(View, {
|
|
@@ -71,7 +71,7 @@ export var ActionSheet = function(props) {
|
|
|
71
71
|
}, item[optionKey.description]));
|
|
72
72
|
})) : children, cancelText && /*#__PURE__*/ React.createElement(View, {
|
|
73
73
|
className: "".concat(classPrefix, "-cancel"),
|
|
74
|
-
onClick: function() {
|
|
74
|
+
onClick: function onClick() {
|
|
75
75
|
return cancelActionSheet();
|
|
76
76
|
}
|
|
77
77
|
}, cancelText)), /*#__PURE__*/ React.createElement(View, {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center;
|
|
73
73
|
border-bottom: var(--nutui-popup-title-border-bottom, 0);
|
|
74
|
-
padding: var(--nutui-popup-title-padding,
|
|
74
|
+
padding: var(--nutui-popup-title-padding, 11px);
|
|
75
75
|
position: relative;
|
|
76
76
|
}
|
|
77
77
|
.nut-popup-title-wrapper {
|
|
@@ -84,7 +84,6 @@
|
|
|
84
84
|
color: var(--nutui-color-title, #1a1a1a);
|
|
85
85
|
font-weight: var(--nutui-font-weight-bold, 600);
|
|
86
86
|
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
87
|
-
line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
88
87
|
}
|
|
89
88
|
.nut-popup-title-description {
|
|
90
89
|
color: var(--nutui-color-text, #505259);
|
|
@@ -96,13 +95,13 @@
|
|
|
96
95
|
}
|
|
97
96
|
.nut-popup-title-left {
|
|
98
97
|
position: absolute;
|
|
99
|
-
top: var(--nutui-popup-title-padding,
|
|
100
|
-
left: var(--nutui-popup-title-padding,
|
|
98
|
+
top: var(--nutui-popup-title-padding, 11px);
|
|
99
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
101
100
|
}
|
|
102
101
|
.nut-popup-title-right {
|
|
103
102
|
position: absolute;
|
|
104
|
-
top: var(--nutui-popup-title-padding,
|
|
105
|
-
right: var(--nutui-popup-title-padding,
|
|
103
|
+
top: var(--nutui-popup-title-padding, 11px);
|
|
104
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
106
105
|
z-index: 1;
|
|
107
106
|
width: var(--nutui-popup-icon-size, 20px);
|
|
108
107
|
height: var(--nutui-popup-icon-size, 20px);
|
|
@@ -113,20 +112,22 @@
|
|
|
113
112
|
opacity: 0.7;
|
|
114
113
|
}
|
|
115
114
|
.nut-popup-title-right-top-left {
|
|
116
|
-
top: var(--nutui-popup-title-padding,
|
|
117
|
-
left: var(--nutui-popup-title-padding,
|
|
115
|
+
top: var(--nutui-popup-title-padding, 11px);
|
|
116
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
118
117
|
}
|
|
119
118
|
.nut-popup-title-right-bottom-left {
|
|
120
|
-
bottom: var(--nutui-popup-title-padding,
|
|
121
|
-
left: var(--nutui-popup-title-padding,
|
|
119
|
+
bottom: var(--nutui-popup-title-padding, 11px);
|
|
120
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
122
121
|
}
|
|
123
122
|
.nut-popup-title-right-bottom-right {
|
|
124
|
-
right: var(--nutui-popup-title-padding,
|
|
125
|
-
bottom: var(--nutui-popup-title-padding,
|
|
123
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
124
|
+
bottom: var(--nutui-popup-title-padding, 11px);
|
|
126
125
|
}
|
|
127
126
|
.nut-popup-center {
|
|
128
127
|
top: 50%;
|
|
129
128
|
left: 50%;
|
|
129
|
+
right: auto;
|
|
130
|
+
bottom: auto;
|
|
130
131
|
min-height: 10%;
|
|
131
132
|
max-width: 295px;
|
|
132
133
|
transform: translate(-50%, -50%);
|
|
@@ -137,6 +138,8 @@
|
|
|
137
138
|
.nut-popup-bottom {
|
|
138
139
|
bottom: 0;
|
|
139
140
|
left: 0;
|
|
141
|
+
right: auto;
|
|
142
|
+
top: auto;
|
|
140
143
|
width: 100%;
|
|
141
144
|
}
|
|
142
145
|
.nut-popup-bottom.nut-popup-round {
|
|
@@ -148,6 +151,8 @@
|
|
|
148
151
|
.nut-popup-right {
|
|
149
152
|
top: 0;
|
|
150
153
|
right: 0;
|
|
154
|
+
left: auto;
|
|
155
|
+
bottom: auto;
|
|
151
156
|
width: 100px;
|
|
152
157
|
height: 100%;
|
|
153
158
|
}
|
|
@@ -157,6 +162,8 @@
|
|
|
157
162
|
.nut-popup-left {
|
|
158
163
|
top: 0;
|
|
159
164
|
left: 0;
|
|
165
|
+
right: auto;
|
|
166
|
+
bottom: auto;
|
|
160
167
|
width: 100px;
|
|
161
168
|
height: 100%;
|
|
162
169
|
}
|
|
@@ -166,6 +173,8 @@
|
|
|
166
173
|
.nut-popup-top {
|
|
167
174
|
top: 0;
|
|
168
175
|
left: 0;
|
|
176
|
+
right: auto;
|
|
177
|
+
bottom: auto;
|
|
169
178
|
width: 100%;
|
|
170
179
|
}
|
|
171
180
|
.nut-popup-top.nut-popup-round {
|
|
@@ -242,6 +251,9 @@
|
|
|
242
251
|
}
|
|
243
252
|
}
|
|
244
253
|
@keyframes popup-slide-top-exit {
|
|
254
|
+
from {
|
|
255
|
+
transform: translate3d(0, 0%, 0);
|
|
256
|
+
}
|
|
245
257
|
to {
|
|
246
258
|
transform: translate3d(0, -100%, 0);
|
|
247
259
|
}
|
|
@@ -266,6 +278,9 @@
|
|
|
266
278
|
}
|
|
267
279
|
}
|
|
268
280
|
@keyframes popup-slide-right-exit {
|
|
281
|
+
from {
|
|
282
|
+
transform: translate3d(0%, 0, 0);
|
|
283
|
+
}
|
|
269
284
|
to {
|
|
270
285
|
transform: translate3d(100%, 0, 0);
|
|
271
286
|
}
|
|
@@ -290,6 +305,9 @@
|
|
|
290
305
|
}
|
|
291
306
|
}
|
|
292
307
|
@keyframes slide-bottom-exit {
|
|
308
|
+
from {
|
|
309
|
+
transform: translate3d(0, 0%, 0);
|
|
310
|
+
}
|
|
293
311
|
to {
|
|
294
312
|
transform: translate3d(0, 100%, 0);
|
|
295
313
|
}
|
|
@@ -314,6 +332,9 @@
|
|
|
314
332
|
}
|
|
315
333
|
}
|
|
316
334
|
@keyframes popup-slide-left-exit {
|
|
335
|
+
from {
|
|
336
|
+
transform: translate3d(0%, 0, 0);
|
|
337
|
+
}
|
|
317
338
|
to {
|
|
318
339
|
transform: translate3d(-100%, 0, 0);
|
|
319
340
|
}
|
|
@@ -339,27 +360,27 @@
|
|
|
339
360
|
[dir=rtl] .nut-popup-title-left,
|
|
340
361
|
.nut-rtl .nut-popup-title-left {
|
|
341
362
|
left: auto;
|
|
342
|
-
right: var(--nutui-popup-title-padding,
|
|
363
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
343
364
|
}
|
|
344
365
|
[dir=rtl] .nut-popup-title-right,
|
|
345
366
|
.nut-rtl .nut-popup-title-right {
|
|
346
367
|
right: auto;
|
|
347
|
-
left: var(--nutui-popup-title-padding,
|
|
368
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
348
369
|
}
|
|
349
370
|
[dir=rtl] .nut-popup-title-right-top-left,
|
|
350
371
|
.nut-rtl .nut-popup-title-right-top-left {
|
|
351
372
|
left: auto;
|
|
352
|
-
right: var(--nutui-popup-title-padding,
|
|
373
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
353
374
|
}
|
|
354
375
|
[dir=rtl] .nut-popup-title-right-bottom-left,
|
|
355
376
|
.nut-rtl .nut-popup-title-right-bottom-left {
|
|
356
377
|
left: auto;
|
|
357
|
-
right: var(--nutui-popup-title-padding,
|
|
378
|
+
right: var(--nutui-popup-title-padding, 11px);
|
|
358
379
|
}
|
|
359
380
|
[dir=rtl] .nut-popup-title-right-bottom-right,
|
|
360
381
|
.nut-rtl .nut-popup-title-right-bottom-right {
|
|
361
382
|
right: auto;
|
|
362
|
-
left: var(--nutui-popup-title-padding,
|
|
383
|
+
left: var(--nutui-popup-title-padding, 11px);
|
|
363
384
|
}
|
|
364
385
|
[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,
|
|
365
386
|
.nut-rtl .nut-popup-title .nut-icon-ArrowLeft {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AddressRef, TaroAddressProps } from "../../types";
|
|
3
|
-
export declare const Address: React.ForwardRefExoticComponent<Partial<TaroAddressProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange" | "
|
|
3
|
+
export declare const Address: React.ForwardRefExoticComponent<Partial<TaroAddressProps> & Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange" | "title" | "onClick" | "onLoad"> & React.RefAttributes<AddressRef>>;
|
|
@@ -32,7 +32,7 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
32
32
|
closeIcon: null,
|
|
33
33
|
backIcon: null
|
|
34
34
|
});
|
|
35
|
-
var InternalAddress = function(props, ref) {
|
|
35
|
+
var InternalAddress = function InternalAddress(props, ref) {
|
|
36
36
|
var locale = useConfig().locale;
|
|
37
37
|
var _mergeProps = mergeProps(defaultProps, props), style = _mergeProps.style, className = _mergeProps.className, visible = _mergeProps.visible, defaultVisible = _mergeProps.defaultVisible, defaultValue = _mergeProps.defaultValue, children = _mergeProps.children, type = _mergeProps.type, options = _mergeProps.options, optionKey = _mergeProps.optionKey, format = _mergeProps.format, height = _mergeProps.height, title = _mergeProps.title, existList = _mergeProps.existList, custom = _mergeProps.custom, selectIcon = _mergeProps.selectIcon, defaultIcon = _mergeProps.defaultIcon, closeIcon = _mergeProps.closeIcon, backIcon = _mergeProps.backIcon, hotList = _mergeProps.hotList, onChange = _mergeProps.onChange, onExistSelect = _mergeProps.onExistSelect, onClose = _mergeProps.onClose, onSwitch = _mergeProps.onSwitch, rest = _object_without_properties(_mergeProps, [
|
|
38
38
|
"style",
|
|
@@ -76,11 +76,11 @@ var InternalAddress = function(props, ref) {
|
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
});
|
|
79
|
-
var handleClose = function() {
|
|
79
|
+
var handleClose = function handleClose() {
|
|
80
80
|
setInnerVisible(false);
|
|
81
81
|
onClose && onClose();
|
|
82
82
|
};
|
|
83
|
-
var renderLeftOnCascaderSwitch = function() {
|
|
83
|
+
var renderLeftOnCascaderSwitch = function renderLeftOnCascaderSwitch() {
|
|
84
84
|
if (!custom) return null;
|
|
85
85
|
return /*#__PURE__*/ React.createElement(View, {
|
|
86
86
|
className: "".concat(classPrefix, "-left-icon"),
|
|
@@ -89,18 +89,18 @@ var InternalAddress = function(props, ref) {
|
|
|
89
89
|
color: "#cccccc"
|
|
90
90
|
}));
|
|
91
91
|
};
|
|
92
|
-
var selectedExistItem = function(data) {
|
|
92
|
+
var selectedExistItem = function selectedExistItem(data) {
|
|
93
93
|
onExistSelect && onExistSelect(data);
|
|
94
94
|
handleClose();
|
|
95
95
|
};
|
|
96
|
-
var onSwitchModule = function() {
|
|
96
|
+
var onSwitchModule = function onSwitchModule() {
|
|
97
97
|
var nextType = currentType === 'exist' ? 'cascader' : 'exist';
|
|
98
98
|
setCurrentType(nextType);
|
|
99
99
|
onSwitch && onSwitch({
|
|
100
100
|
type: nextType
|
|
101
101
|
});
|
|
102
102
|
};
|
|
103
|
-
var renderElevator = function() {
|
|
103
|
+
var renderElevator = function renderElevator() {
|
|
104
104
|
return /*#__PURE__*/ React.createElement(ElevatorRender, {
|
|
105
105
|
visible: innerVisible,
|
|
106
106
|
closeable: true,
|
|
@@ -115,12 +115,12 @@ var InternalAddress = function(props, ref) {
|
|
|
115
115
|
type: currentType,
|
|
116
116
|
height: height,
|
|
117
117
|
onClose: handleClose,
|
|
118
|
-
onChange: function(val, params) {
|
|
118
|
+
onChange: function onChange1(val, params) {
|
|
119
119
|
onChange === null || onChange === void 0 ? void 0 : onChange(val, params);
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
};
|
|
123
|
-
var renderCascator = function() {
|
|
123
|
+
var renderCascator = function renderCascator() {
|
|
124
124
|
return /*#__PURE__*/ React.createElement(CascaderRender, {
|
|
125
125
|
visible: innerVisible,
|
|
126
126
|
closeable: true,
|
|
@@ -134,12 +134,12 @@ var InternalAddress = function(props, ref) {
|
|
|
134
134
|
type: currentType,
|
|
135
135
|
height: height,
|
|
136
136
|
onClose: handleClose,
|
|
137
|
-
onChange: function(val, params) {
|
|
137
|
+
onChange: function onChange1(val, params) {
|
|
138
138
|
onChange && onChange(val, params);
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
141
|
};
|
|
142
|
-
var renderExist = function() {
|
|
142
|
+
var renderExist = function renderExist() {
|
|
143
143
|
return /*#__PURE__*/ React.createElement(Popup, {
|
|
144
144
|
visible: innerVisible,
|
|
145
145
|
position: "bottom",
|