@nutui/nutui-react-taro 3.0.20-cpp → 3.0.20
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 +71 -28
- package/dist/cjs/locales/base.d.ts +0 -9
- package/dist/cjs/locales/en-US.js +2 -21
- package/dist/cjs/locales/id-ID.js +2 -21
- package/dist/cjs/locales/ja-JP.js +2 -19
- package/dist/cjs/locales/tr-TR.js +2 -21
- package/dist/cjs/locales/vi-VN.d.ts +3 -0
- package/dist/cjs/locales/vi-VN.js +170 -0
- package/dist/cjs/locales/zh-CN.js +2 -19
- package/dist/cjs/locales/zh-TW.js +2 -19
- package/dist/cjs/locales/zh-UG.js +2 -21
- package/dist/cjs/packages/actionsheet/style/style.harmony.css +17 -38
- package/dist/cjs/packages/address/address.d.ts +1 -1
- package/dist/cjs/packages/address/style/style.harmony.css +17 -38
- package/dist/cjs/packages/animatingnumbers/countup.js +1 -3
- package/dist/cjs/packages/audio/style/style.harmony.css +3 -0
- package/dist/cjs/packages/avatar/avatar.js +6 -32
- package/dist/cjs/packages/avatarcropper/avatarcropper.js +6 -2
- package/dist/cjs/packages/badge/badge.js +3 -16
- package/dist/cjs/packages/button/button.d.ts +24 -2
- package/dist/cjs/packages/button/button.js +12 -9
- package/dist/cjs/packages/button/index.d.ts +1 -0
- package/dist/cjs/packages/button/style/button.scss +3 -0
- package/dist/cjs/packages/button/style/style.css +3 -0
- package/dist/cjs/packages/button/style/style.harmony.css +3 -0
- package/dist/cjs/packages/button/style-jmapp/button.scss +3 -0
- package/dist/cjs/packages/button/style-jmapp/style.css +3 -0
- package/dist/cjs/packages/button/style-jrkf/button.scss +3 -0
- package/dist/cjs/packages/button/style-jrkf/style.css +3 -0
- package/dist/cjs/packages/calendar/style/calendar.scss +1 -32
- package/dist/cjs/packages/calendar/style/style.css +1 -21
- package/dist/cjs/packages/calendar/style/style.harmony.css +18 -59
- package/dist/cjs/packages/calendar/style-jmapp/calendar.scss +1 -32
- package/dist/cjs/packages/calendar/style-jmapp/style.css +1 -21
- package/dist/cjs/packages/calendar/style-jrkf/calendar.scss +1 -32
- package/dist/cjs/packages/calendar/style-jrkf/style.css +1 -21
- package/dist/cjs/packages/calendarcard/calendarcard.js +8 -30
- package/dist/cjs/packages/calendarcard/icon.js +23 -12
- package/dist/cjs/packages/calendarcard/style/calendarcard.scss +0 -19
- package/dist/cjs/packages/calendarcard/style/style.css +0 -13
- package/dist/cjs/packages/calendarcard/style/style.harmony.css +0 -13
- package/dist/cjs/packages/calendarcard/style-jmapp/calendarcard.scss +0 -19
- package/dist/cjs/packages/calendarcard/style-jmapp/style.css +0 -13
- package/dist/cjs/packages/calendarcard/style-jrkf/calendarcard.scss +0 -19
- package/dist/cjs/packages/calendarcard/style-jrkf/style.css +0 -13
- package/dist/cjs/packages/card/style/style.harmony.css +1 -1
- package/dist/cjs/packages/cascader/style/style.harmony.css +17 -38
- package/dist/cjs/packages/configprovider/types.d.ts +1 -1
- package/dist/cjs/packages/datepicker/style/style.harmony.css +18 -39
- package/dist/cjs/packages/dialog/dialog.js +12 -18
- 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 +4 -1
- 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 +2 -2
- package/dist/cjs/packages/empty/empty.d.ts +4 -4
- package/dist/cjs/packages/empty/style/style.harmony.css +3 -0
- package/dist/cjs/packages/form/style/style.harmony.css +5 -0
- package/dist/cjs/packages/formitem/style/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style/style.css +5 -0
- package/dist/cjs/packages/formitem/style/style.harmony.css +5 -0
- package/dist/cjs/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jmapp/style.css +5 -0
- package/dist/cjs/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/cjs/packages/formitem/style-jrkf/style.css +5 -0
- package/dist/cjs/packages/image/image.js +3 -11
- package/dist/cjs/packages/imagepreview/style/style.harmony.css +17 -38
- package/dist/cjs/packages/input/input.js +3 -10
- package/dist/cjs/packages/inputnumber/inputnumber.js +1 -1
- package/dist/cjs/packages/lottie/lottiemp.js +18 -10
- package/dist/cjs/packages/numberkeyboard/style/style.css +1 -1
- package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +18 -39
- package/dist/cjs/packages/nutui.react.build.d.ts +1 -3
- package/dist/cjs/packages/nutui.react.build.js +14 -18
- package/dist/cjs/packages/nutui.react.d.ts +1 -4
- package/dist/cjs/packages/nutui.react.js +14 -19
- package/dist/cjs/packages/nutui.react.scss.d.ts +0 -1
- package/dist/cjs/packages/nutui.react.scss.js +0 -1
- package/dist/cjs/packages/overlay/overlay.js +3 -3
- package/dist/cjs/packages/picker/style/style.css +1 -1
- package/dist/cjs/packages/picker/style/style.harmony.css +18 -39
- package/dist/cjs/packages/popover/style/style.harmony.css +17 -38
- package/dist/cjs/packages/popup/popup.js +103 -188
- package/dist/cjs/packages/popup/style/popup.scss +1 -22
- package/dist/cjs/packages/popup/style/style.css +17 -38
- package/dist/cjs/packages/popup/style/style.harmony.css +17 -38
- package/dist/cjs/packages/popup/style-jmapp/popup.scss +1 -22
- package/dist/cjs/packages/popup/style-jmapp/style.css +1 -22
- package/dist/cjs/packages/popup/style-jrkf/popup.scss +1 -22
- package/dist/cjs/packages/popup/style-jrkf/style.css +1 -22
- package/dist/cjs/packages/price/price.js +13 -52
- package/dist/cjs/packages/progress/progress.js +4 -2
- package/dist/cjs/packages/range/range.js +7 -32
- package/dist/cjs/packages/rate/rate.js +8 -5
- package/dist/cjs/packages/resultpage/resultpage.js +1 -2
- package/dist/cjs/packages/resultpage/style/style.harmony.css +3 -0
- package/dist/cjs/packages/safearea/safearea.js +12 -3
- package/dist/cjs/packages/safearea/style/safearea.scss +6 -0
- package/dist/cjs/packages/safearea/style/style.css +2 -0
- package/dist/cjs/packages/safearea/style/style.harmony.css +2 -0
- package/dist/cjs/packages/safearea/style-jmapp/safearea.scss +6 -0
- package/dist/cjs/packages/safearea/style-jmapp/style.css +2 -0
- package/dist/cjs/packages/safearea/style-jrkf/safearea.scss +6 -0
- package/dist/cjs/packages/safearea/style-jrkf/style.css +2 -0
- package/dist/cjs/packages/searchbar/searchbar.js +9 -23
- package/dist/cjs/packages/shortpassword/style/style.harmony.css +17 -38
- package/dist/cjs/packages/step/step.js +8 -3
- package/dist/cjs/packages/step/style/step.scss +2 -0
- package/dist/cjs/packages/step/style/style.css +2 -0
- package/dist/cjs/packages/step/style/style.harmony.css +2 -0
- package/dist/cjs/packages/step/style-jmapp/step.scss +2 -0
- package/dist/cjs/packages/step/style-jmapp/style.css +2 -0
- package/dist/cjs/packages/step/style-jrkf/step.scss +2 -0
- package/dist/cjs/packages/step/style-jrkf/style.css +2 -0
- package/dist/cjs/packages/steps/style/steps.scss +3 -10
- package/dist/cjs/packages/steps/style/style.css +7 -13
- package/dist/cjs/packages/steps/style/style.harmony.css +9 -13
- package/dist/cjs/packages/steps/style-jmapp/steps.scss +3 -10
- package/dist/cjs/packages/steps/style-jmapp/style.css +3 -9
- package/dist/cjs/packages/steps/style-jrkf/steps.scss +3 -10
- package/dist/cjs/packages/steps/style-jrkf/style.css +3 -9
- package/dist/cjs/packages/swipe/swipe.js +115 -83
- 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/tabs/tabs.js +5 -12
- 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/timeselect/style/style.harmony.css +17 -38
- package/dist/cjs/packages/toast/style/style.css +4 -2
- package/dist/cjs/packages/toast/style/style.harmony.css +4 -2
- package/dist/cjs/packages/toast/style/toast.scss +4 -2
- package/dist/cjs/packages/toast/style-jmapp/style.css +4 -2
- package/dist/cjs/packages/toast/style-jmapp/toast.scss +4 -2
- package/dist/cjs/packages/toast/style-jrkf/style.css +4 -2
- package/dist/cjs/packages/toast/style-jrkf/toast.scss +4 -2
- package/dist/cjs/packages/toast/toast.js +1 -1
- package/dist/cjs/packages/tour/style/style.harmony.css +17 -38
- package/dist/cjs/types/index.d.ts +0 -3
- package/dist/cjs/types/index.js +0 -3
- package/dist/cjs/types/spec/button/base.d.ts +1 -2
- package/dist/cjs/types/spec/button/taro.d.ts +1 -5
- package/dist/cjs/types/spec/calendarcard/base.d.ts +0 -2
- package/dist/cjs/types/spec/dialog/base.d.ts +0 -1
- package/dist/cjs/types/spec/dialog/h5.d.ts +0 -2
- package/dist/cjs/types/spec/dialog/taro.d.ts +0 -2
- package/dist/cjs/types/spec/overlay/base.d.ts +0 -1
- package/dist/cjs/types/spec/popup/base.d.ts +0 -2
- package/dist/cjs/types/spec/price/base.d.ts +0 -1
- package/dist/cjs/utils/taro/{ConfigurableCSSTransition.js → ConfigurableCSSTransition copy.js } +53 -13
- package/dist/cjs/utils/taro/get-rect.js +2 -4
- package/dist/cjs/utils/taro/get-system-info.d.ts +5 -0
- package/dist/cjs/utils/taro/get-system-info.js +7 -2
- package/dist/es/hooks/taro/use-custom-event.js +0 -1
- package/dist/es/locales/base.d.ts +0 -9
- package/dist/es/locales/en-US.js +2 -21
- package/dist/es/locales/id-ID.js +2 -21
- package/dist/es/locales/ja-JP.js +2 -19
- package/dist/es/locales/tr-TR.js +2 -21
- package/dist/es/locales/vi-VN.d.ts +3 -0
- package/dist/es/locales/vi-VN.js +160 -0
- package/dist/es/locales/zh-CN.js +2 -19
- package/dist/es/locales/zh-TW.js +2 -19
- package/dist/es/locales/zh-UG.js +2 -21
- package/dist/es/packages/actionsheet/style/style.harmony.css +17 -38
- package/dist/es/packages/address/address.d.ts +1 -1
- package/dist/es/packages/address/style/style.harmony.css +17 -38
- package/dist/es/packages/animatingnumbers/countup.js +1 -3
- package/dist/es/packages/audio/style/style.harmony.css +3 -0
- package/dist/es/packages/avatar/avatar.js +6 -32
- package/dist/es/packages/avatarcropper/avatarcropper.js +8 -4
- package/dist/es/packages/badge/badge.js +3 -16
- package/dist/es/packages/button/button.d.ts +24 -2
- package/dist/es/packages/button/button.js +12 -10
- package/dist/es/packages/button/index.d.ts +1 -0
- package/dist/es/packages/button/style/button.scss +3 -0
- package/dist/es/packages/button/style/style.css +3 -0
- package/dist/es/packages/button/style/style.harmony.css +3 -0
- package/dist/es/packages/button/style-jmapp/button.scss +3 -0
- package/dist/es/packages/button/style-jmapp/style.css +3 -0
- package/dist/es/packages/button/style-jrkf/button.scss +3 -0
- package/dist/es/packages/button/style-jrkf/style.css +3 -0
- package/dist/es/packages/calendar/style/calendar.scss +1 -32
- package/dist/es/packages/calendar/style/style.css +1 -21
- package/dist/es/packages/calendar/style/style.harmony.css +18 -59
- package/dist/es/packages/calendar/style-jmapp/calendar.scss +1 -32
- package/dist/es/packages/calendar/style-jmapp/style.css +1 -21
- package/dist/es/packages/calendar/style-jrkf/calendar.scss +1 -32
- package/dist/es/packages/calendar/style-jrkf/style.css +1 -21
- package/dist/es/packages/calendarcard/calendarcard.js +9 -31
- package/dist/es/packages/calendarcard/icon.js +24 -13
- package/dist/es/packages/calendarcard/style/calendarcard.scss +0 -19
- package/dist/es/packages/calendarcard/style/style.css +0 -13
- package/dist/es/packages/calendarcard/style/style.harmony.css +0 -13
- package/dist/es/packages/calendarcard/style-jmapp/calendarcard.scss +0 -19
- package/dist/es/packages/calendarcard/style-jmapp/style.css +0 -13
- package/dist/es/packages/calendarcard/style-jrkf/calendarcard.scss +0 -19
- package/dist/es/packages/calendarcard/style-jrkf/style.css +0 -13
- package/dist/es/packages/card/style/style.harmony.css +1 -1
- package/dist/es/packages/cascader/style/style.harmony.css +17 -38
- package/dist/es/packages/configprovider/types.d.ts +1 -1
- package/dist/es/packages/datepicker/style/style.harmony.css +18 -39
- package/dist/es/packages/dialog/dialog.js +21 -29
- 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 +4 -1
- 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 +1 -1
- package/dist/es/packages/empty/empty.d.ts +4 -4
- package/dist/es/packages/empty/style/style.harmony.css +3 -0
- package/dist/es/packages/form/style/style.harmony.css +5 -0
- package/dist/es/packages/formitem/style/formitem.scss +4 -4
- package/dist/es/packages/formitem/style/style.css +5 -0
- package/dist/es/packages/formitem/style/style.harmony.css +5 -0
- package/dist/es/packages/formitem/style-jmapp/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jmapp/style.css +5 -0
- package/dist/es/packages/formitem/style-jrkf/formitem.scss +4 -4
- package/dist/es/packages/formitem/style-jrkf/style.css +5 -0
- package/dist/es/packages/image/image.js +3 -11
- package/dist/es/packages/imagepreview/style/style.harmony.css +17 -38
- package/dist/es/packages/input/input.js +3 -10
- package/dist/es/packages/inputnumber/inputnumber.js +1 -1
- package/dist/es/packages/lottie/lottiemp.js +20 -12
- package/dist/es/packages/numberkeyboard/style/style.css +1 -1
- package/dist/es/packages/numberkeyboard/style/style.harmony.css +18 -39
- package/dist/es/packages/nutui.react.build.d.ts +1 -3
- package/dist/es/packages/nutui.react.build.js +1 -3
- package/dist/es/packages/overlay/overlay.js +3 -3
- package/dist/es/packages/picker/style/style.css +1 -1
- package/dist/es/packages/picker/style/style.harmony.css +18 -39
- package/dist/es/packages/popover/style/style.harmony.css +17 -38
- package/dist/es/packages/popup/popup.js +104 -189
- package/dist/es/packages/popup/style/popup.scss +1 -22
- package/dist/es/packages/popup/style/style.css +17 -38
- package/dist/es/packages/popup/style/style.harmony.css +17 -38
- package/dist/es/packages/popup/style-jmapp/popup.scss +1 -22
- package/dist/es/packages/popup/style-jmapp/style.css +1 -22
- package/dist/es/packages/popup/style-jrkf/popup.scss +1 -22
- package/dist/es/packages/popup/style-jrkf/style.css +1 -22
- package/dist/es/packages/price/price.js +14 -53
- package/dist/es/packages/progress/progress.js +4 -2
- package/dist/es/packages/range/range.js +8 -33
- package/dist/es/packages/rate/rate.js +9 -6
- package/dist/es/packages/resultpage/resultpage.js +1 -2
- package/dist/es/packages/resultpage/style/style.harmony.css +3 -0
- package/dist/es/packages/safearea/safearea.js +12 -3
- package/dist/es/packages/safearea/style/safearea.scss +6 -0
- package/dist/es/packages/safearea/style/style.css +2 -0
- package/dist/es/packages/safearea/style/style.harmony.css +2 -0
- package/dist/es/packages/safearea/style-jmapp/safearea.scss +6 -0
- package/dist/es/packages/safearea/style-jmapp/style.css +2 -0
- package/dist/es/packages/safearea/style-jrkf/safearea.scss +6 -0
- package/dist/es/packages/safearea/style-jrkf/style.css +2 -0
- package/dist/es/packages/searchbar/searchbar.js +9 -23
- package/dist/es/packages/shortpassword/style/style.harmony.css +17 -38
- package/dist/es/packages/step/step.js +8 -3
- package/dist/es/packages/step/style/step.scss +2 -0
- package/dist/es/packages/step/style/style.css +2 -0
- package/dist/es/packages/step/style/style.harmony.css +2 -0
- package/dist/es/packages/step/style-jmapp/step.scss +2 -0
- package/dist/es/packages/step/style-jmapp/style.css +2 -0
- package/dist/es/packages/step/style-jrkf/step.scss +2 -0
- package/dist/es/packages/step/style-jrkf/style.css +2 -0
- package/dist/es/packages/steps/style/steps.scss +3 -10
- package/dist/es/packages/steps/style/style.css +7 -13
- package/dist/es/packages/steps/style/style.harmony.css +9 -13
- package/dist/es/packages/steps/style-jmapp/steps.scss +3 -10
- package/dist/es/packages/steps/style-jmapp/style.css +3 -9
- package/dist/es/packages/steps/style-jrkf/steps.scss +3 -10
- package/dist/es/packages/steps/style-jrkf/style.css +3 -9
- package/dist/es/packages/swipe/swipe.js +116 -84
- 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/tabs/tabs.js +5 -12
- 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/timeselect/style/style.harmony.css +17 -38
- package/dist/es/packages/toast/style/style.css +4 -2
- package/dist/es/packages/toast/style/style.harmony.css +4 -2
- package/dist/es/packages/toast/style/toast.scss +4 -2
- package/dist/es/packages/toast/style-jmapp/style.css +4 -2
- package/dist/es/packages/toast/style-jmapp/toast.scss +4 -2
- package/dist/es/packages/toast/style-jrkf/style.css +4 -2
- package/dist/es/packages/toast/style-jrkf/toast.scss +4 -2
- package/dist/es/packages/toast/toast.js +1 -1
- package/dist/es/packages/tour/style/style.harmony.css +17 -38
- package/dist/es/types/index.d.ts +0 -3
- package/dist/es/types/index.js +0 -3
- package/dist/es/types/spec/button/base.d.ts +1 -2
- package/dist/es/types/spec/button/taro.d.ts +1 -5
- package/dist/es/types/spec/calendarcard/base.d.ts +0 -2
- package/dist/es/types/spec/dialog/base.d.ts +8 -3
- package/dist/es/types/spec/dialog/h5.d.ts +0 -2
- package/dist/es/types/spec/dialog/taro.d.ts +0 -2
- package/dist/es/types/spec/overlay/base.d.ts +0 -1
- package/dist/es/types/spec/popup/base.d.ts +5 -4
- package/dist/es/types/spec/price/base.d.ts +0 -4
- package/dist/es/utils/taro/{ConfigurableCSSTransition.js → ConfigurableCSSTransition copy.js } +53 -13
- package/dist/es/utils/taro/get-rect.js +2 -4
- package/dist/es/utils/taro/get-system-info.d.ts +5 -0
- package/dist/es/utils/taro/get-system-info.js +7 -8
- package/dist/nutui.react.umd.js +10310 -10733
- package/dist/style-jmapp.css +1 -1
- package/dist/style-jmapp.scss +41 -42
- package/dist/style-jrkf.css +1 -1
- package/dist/style-jrkf.scss +31 -32
- package/dist/style.css +1 -1
- package/dist/style.scss +30 -31
- package/dist/styles/jd-font.scss +2 -2
- package/dist/styles/theme-dark.scss +2 -1
- 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 +0 -41
- package/dist/styles/variables-jmapp.scss +0 -41
- package/dist/styles/variables-jrkf.scss +0 -41
- package/dist/styles/variables.scss +4 -49
- package/package.json +1 -1
- package/postinstall.js +9 -0
- package/dist/cjs/packages/quickenter/index.d.ts +0 -3
- package/dist/cjs/packages/quickenter/index.js +0 -13
- package/dist/cjs/packages/quickenter/quickenter.d.ts +0 -4
- package/dist/cjs/packages/quickenter/quickenter.js +0 -153
- package/dist/cjs/packages/quickenter/style/css.js +0 -2
- package/dist/cjs/packages/quickenter/style/index.js +0 -2
- package/dist/cjs/packages/quickenter/style/quickenter.scss +0 -120
- package/dist/cjs/packages/quickenter/style/style.css +0 -106
- package/dist/cjs/packages/quickenter/style/style.harmony.css +0 -506
- package/dist/cjs/packages/quickenter/style-jmapp/css.js +0 -2
- package/dist/cjs/packages/quickenter/style-jmapp/index.js +0 -2
- package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +0 -120
- package/dist/cjs/packages/quickenter/style-jmapp/style.css +0 -106
- package/dist/cjs/packages/quickenter/style-jrkf/css.js +0 -2
- package/dist/cjs/packages/quickenter/style-jrkf/index.js +0 -2
- package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +0 -120
- package/dist/cjs/packages/quickenter/style-jrkf/style.css +0 -106
- package/dist/cjs/types/spec/quickenter/base.d.ts +0 -27
- package/dist/cjs/types/spec/quickenter/base.js +0 -4
- package/dist/cjs/types/spec/quickenter/h5.d.ts +0 -5
- package/dist/cjs/types/spec/quickenter/h5.js +0 -4
- package/dist/cjs/types/spec/quickenter/taro.d.ts +0 -5
- package/dist/cjs/types/spec/quickenter/taro.js +0 -4
- package/dist/cjs/utils/should-render-price-raw.d.ts +0 -2
- package/dist/cjs/utils/should-render-price-raw.js +0 -46
- package/dist/es/packages/quickenter/index.d.ts +0 -3
- package/dist/es/packages/quickenter/index.js +0 -2
- package/dist/es/packages/quickenter/quickenter.d.ts +0 -4
- package/dist/es/packages/quickenter/quickenter.js +0 -141
- package/dist/es/packages/quickenter/style/css.js +0 -2
- package/dist/es/packages/quickenter/style/index.js +0 -2
- package/dist/es/packages/quickenter/style/quickenter.scss +0 -120
- package/dist/es/packages/quickenter/style/style.css +0 -106
- package/dist/es/packages/quickenter/style/style.harmony.css +0 -506
- package/dist/es/packages/quickenter/style-jmapp/css.js +0 -2
- package/dist/es/packages/quickenter/style-jmapp/index.js +0 -2
- package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +0 -120
- package/dist/es/packages/quickenter/style-jmapp/style.css +0 -106
- package/dist/es/packages/quickenter/style-jrkf/css.js +0 -2
- package/dist/es/packages/quickenter/style-jrkf/index.js +0 -2
- package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +0 -120
- package/dist/es/packages/quickenter/style-jrkf/style.css +0 -106
- package/dist/es/types/spec/quickenter/base.d.ts +0 -45
- package/dist/es/types/spec/quickenter/base.js +0 -1
- package/dist/es/types/spec/quickenter/h5.d.ts +0 -5
- package/dist/es/types/spec/quickenter/h5.js +0 -1
- package/dist/es/types/spec/quickenter/taro.d.ts +0 -5
- package/dist/es/types/spec/quickenter/taro.js +0 -1
- package/dist/es/utils/should-render-price-raw.d.ts +0 -2
- package/dist/es/utils/should-render-price-raw.js +0 -30
- /package/dist/cjs/utils/taro/{ConfigurableCSSTransition.d.ts → ConfigurableCSSTransition copy.d.ts} +0 -0
- /package/dist/es/utils/taro/{ConfigurableCSSTransition.d.ts → ConfigurableCSSTransition copy.d.ts} +0 -0
package/dist/es/locales/zh-UG.js
CHANGED
|
@@ -9,11 +9,6 @@ var zhUG = {
|
|
|
9
9
|
edit: 'يحرر',
|
|
10
10
|
reset: 'إعادة ضبط',
|
|
11
11
|
close: 'تاقاش',
|
|
12
|
-
back: 'قايتىش',
|
|
13
|
-
clear: 'تاقاش',
|
|
14
|
-
image: {
|
|
15
|
-
errorTip: 'رەسىم يۈكلەش مەغلۇپ بولدى'
|
|
16
|
-
},
|
|
17
12
|
video: {
|
|
18
13
|
errorTip: 'فىلىمنى قويۇش مەغلۇپ بولدى',
|
|
19
14
|
clickRetry: 'قايتا سىناش'
|
|
@@ -53,18 +48,7 @@ var zhUG = {
|
|
|
53
48
|
},
|
|
54
49
|
today: 'بۈگۈن',
|
|
55
50
|
loadPreviousMonth: 'ئالدىنقى ئاي',
|
|
56
|
-
noEarlierMonth: 'تۈگىدى'
|
|
57
|
-
dayAriaLabel: function(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
|
-
}
|
|
51
|
+
noEarlierMonth: 'تۈگىدى'
|
|
68
52
|
},
|
|
69
53
|
shortpassword: {
|
|
70
54
|
title: 'مەخپى نومۇرنى كىرگۈزۈڭ',
|
|
@@ -171,9 +155,6 @@ var zhUG = {
|
|
|
171
155
|
watermark: {
|
|
172
156
|
errorCanvasTips: 'Canvas نى قوللىمايدۇ'
|
|
173
157
|
},
|
|
174
|
-
mask: '
|
|
175
|
-
quickenter: {
|
|
176
|
-
title: 'تېز كىرگۈزۈش'
|
|
177
|
-
}
|
|
158
|
+
mask: 'قاپلىما قەۋەت'
|
|
178
159
|
};
|
|
179
160
|
export default zhUG;
|
|
@@ -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, 16px);
|
|
75
75
|
position: relative;
|
|
76
76
|
}
|
|
77
77
|
.nut-popup-title-wrapper {
|
|
@@ -84,6 +84,7 @@
|
|
|
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));
|
|
87
88
|
}
|
|
88
89
|
.nut-popup-title-description {
|
|
89
90
|
color: var(--nutui-color-text, #505259);
|
|
@@ -95,13 +96,13 @@
|
|
|
95
96
|
}
|
|
96
97
|
.nut-popup-title-left {
|
|
97
98
|
position: absolute;
|
|
98
|
-
top: var(--nutui-popup-title-padding,
|
|
99
|
-
left: var(--nutui-popup-title-padding,
|
|
99
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
100
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
100
101
|
}
|
|
101
102
|
.nut-popup-title-right {
|
|
102
103
|
position: absolute;
|
|
103
|
-
top: var(--nutui-popup-title-padding,
|
|
104
|
-
right: var(--nutui-popup-title-padding,
|
|
104
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
105
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
105
106
|
z-index: 1;
|
|
106
107
|
width: var(--nutui-popup-icon-size, 20px);
|
|
107
108
|
height: var(--nutui-popup-icon-size, 20px);
|
|
@@ -112,22 +113,20 @@
|
|
|
112
113
|
opacity: 0.7;
|
|
113
114
|
}
|
|
114
115
|
.nut-popup-title-right-top-left {
|
|
115
|
-
top: var(--nutui-popup-title-padding,
|
|
116
|
-
left: var(--nutui-popup-title-padding,
|
|
116
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
117
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
117
118
|
}
|
|
118
119
|
.nut-popup-title-right-bottom-left {
|
|
119
|
-
bottom: var(--nutui-popup-title-padding,
|
|
120
|
-
left: var(--nutui-popup-title-padding,
|
|
120
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
121
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
121
122
|
}
|
|
122
123
|
.nut-popup-title-right-bottom-right {
|
|
123
|
-
right: var(--nutui-popup-title-padding,
|
|
124
|
-
bottom: var(--nutui-popup-title-padding,
|
|
124
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
125
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
125
126
|
}
|
|
126
127
|
.nut-popup-center {
|
|
127
128
|
top: 50%;
|
|
128
129
|
left: 50%;
|
|
129
|
-
right: auto;
|
|
130
|
-
bottom: auto;
|
|
131
130
|
min-height: 10%;
|
|
132
131
|
max-width: 295px;
|
|
133
132
|
transform: translate(-50%, -50%);
|
|
@@ -138,8 +137,6 @@
|
|
|
138
137
|
.nut-popup-bottom {
|
|
139
138
|
bottom: 0;
|
|
140
139
|
left: 0;
|
|
141
|
-
right: auto;
|
|
142
|
-
top: auto;
|
|
143
140
|
width: 100%;
|
|
144
141
|
}
|
|
145
142
|
.nut-popup-bottom.nut-popup-round {
|
|
@@ -151,8 +148,6 @@
|
|
|
151
148
|
.nut-popup-right {
|
|
152
149
|
top: 0;
|
|
153
150
|
right: 0;
|
|
154
|
-
left: auto;
|
|
155
|
-
bottom: auto;
|
|
156
151
|
width: 100px;
|
|
157
152
|
height: 100%;
|
|
158
153
|
}
|
|
@@ -162,8 +157,6 @@
|
|
|
162
157
|
.nut-popup-left {
|
|
163
158
|
top: 0;
|
|
164
159
|
left: 0;
|
|
165
|
-
right: auto;
|
|
166
|
-
bottom: auto;
|
|
167
160
|
width: 100px;
|
|
168
161
|
height: 100%;
|
|
169
162
|
}
|
|
@@ -173,8 +166,6 @@
|
|
|
173
166
|
.nut-popup-top {
|
|
174
167
|
top: 0;
|
|
175
168
|
left: 0;
|
|
176
|
-
right: auto;
|
|
177
|
-
bottom: auto;
|
|
178
169
|
width: 100%;
|
|
179
170
|
}
|
|
180
171
|
.nut-popup-top.nut-popup-round {
|
|
@@ -251,9 +242,6 @@
|
|
|
251
242
|
}
|
|
252
243
|
}
|
|
253
244
|
@keyframes popup-slide-top-exit {
|
|
254
|
-
from {
|
|
255
|
-
transform: translate3d(0, 0%, 0);
|
|
256
|
-
}
|
|
257
245
|
to {
|
|
258
246
|
transform: translate3d(0, -100%, 0);
|
|
259
247
|
}
|
|
@@ -278,9 +266,6 @@
|
|
|
278
266
|
}
|
|
279
267
|
}
|
|
280
268
|
@keyframes popup-slide-right-exit {
|
|
281
|
-
from {
|
|
282
|
-
transform: translate3d(0%, 0, 0);
|
|
283
|
-
}
|
|
284
269
|
to {
|
|
285
270
|
transform: translate3d(100%, 0, 0);
|
|
286
271
|
}
|
|
@@ -305,9 +290,6 @@
|
|
|
305
290
|
}
|
|
306
291
|
}
|
|
307
292
|
@keyframes slide-bottom-exit {
|
|
308
|
-
from {
|
|
309
|
-
transform: translate3d(0, 0%, 0);
|
|
310
|
-
}
|
|
311
293
|
to {
|
|
312
294
|
transform: translate3d(0, 100%, 0);
|
|
313
295
|
}
|
|
@@ -332,9 +314,6 @@
|
|
|
332
314
|
}
|
|
333
315
|
}
|
|
334
316
|
@keyframes popup-slide-left-exit {
|
|
335
|
-
from {
|
|
336
|
-
transform: translate3d(0%, 0, 0);
|
|
337
|
-
}
|
|
338
317
|
to {
|
|
339
318
|
transform: translate3d(-100%, 0, 0);
|
|
340
319
|
}
|
|
@@ -360,27 +339,27 @@
|
|
|
360
339
|
[dir=rtl] .nut-popup-title-left,
|
|
361
340
|
.nut-rtl .nut-popup-title-left {
|
|
362
341
|
left: auto;
|
|
363
|
-
right: var(--nutui-popup-title-padding,
|
|
342
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
364
343
|
}
|
|
365
344
|
[dir=rtl] .nut-popup-title-right,
|
|
366
345
|
.nut-rtl .nut-popup-title-right {
|
|
367
346
|
right: auto;
|
|
368
|
-
left: var(--nutui-popup-title-padding,
|
|
347
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
369
348
|
}
|
|
370
349
|
[dir=rtl] .nut-popup-title-right-top-left,
|
|
371
350
|
.nut-rtl .nut-popup-title-right-top-left {
|
|
372
351
|
left: auto;
|
|
373
|
-
right: var(--nutui-popup-title-padding,
|
|
352
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
374
353
|
}
|
|
375
354
|
[dir=rtl] .nut-popup-title-right-bottom-left,
|
|
376
355
|
.nut-rtl .nut-popup-title-right-bottom-left {
|
|
377
356
|
left: auto;
|
|
378
|
-
right: var(--nutui-popup-title-padding,
|
|
357
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
379
358
|
}
|
|
380
359
|
[dir=rtl] .nut-popup-title-right-bottom-right,
|
|
381
360
|
.nut-rtl .nut-popup-title-right-bottom-right {
|
|
382
361
|
right: auto;
|
|
383
|
-
left: var(--nutui-popup-title-padding,
|
|
362
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
384
363
|
}
|
|
385
364
|
[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,
|
|
386
365
|
.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" | "onClick" | "title" | "onLoad"> & React.RefAttributes<AddressRef>>;
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
align-items: center;
|
|
222
222
|
justify-content: center;
|
|
223
223
|
border-bottom: var(--nutui-popup-title-border-bottom, 0);
|
|
224
|
-
padding: var(--nutui-popup-title-padding,
|
|
224
|
+
padding: var(--nutui-popup-title-padding, 16px);
|
|
225
225
|
position: relative;
|
|
226
226
|
}
|
|
227
227
|
.nut-popup-title-wrapper {
|
|
@@ -234,6 +234,7 @@
|
|
|
234
234
|
color: var(--nutui-color-title, #1a1a1a);
|
|
235
235
|
font-weight: var(--nutui-font-weight-bold, 600);
|
|
236
236
|
font-size: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
237
|
+
line-height: var(--nutui-popup-title-font-size, var(--nutui-font-size-xl, 18px));
|
|
237
238
|
}
|
|
238
239
|
.nut-popup-title-description {
|
|
239
240
|
color: var(--nutui-color-text, #505259);
|
|
@@ -245,13 +246,13 @@
|
|
|
245
246
|
}
|
|
246
247
|
.nut-popup-title-left {
|
|
247
248
|
position: absolute;
|
|
248
|
-
top: var(--nutui-popup-title-padding,
|
|
249
|
-
left: var(--nutui-popup-title-padding,
|
|
249
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
250
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
250
251
|
}
|
|
251
252
|
.nut-popup-title-right {
|
|
252
253
|
position: absolute;
|
|
253
|
-
top: var(--nutui-popup-title-padding,
|
|
254
|
-
right: var(--nutui-popup-title-padding,
|
|
254
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
255
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
255
256
|
z-index: 1;
|
|
256
257
|
width: var(--nutui-popup-icon-size, 20px);
|
|
257
258
|
height: var(--nutui-popup-icon-size, 20px);
|
|
@@ -262,22 +263,20 @@
|
|
|
262
263
|
opacity: 0.7;
|
|
263
264
|
}
|
|
264
265
|
.nut-popup-title-right-top-left {
|
|
265
|
-
top: var(--nutui-popup-title-padding,
|
|
266
|
-
left: var(--nutui-popup-title-padding,
|
|
266
|
+
top: var(--nutui-popup-title-padding, 16px);
|
|
267
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
267
268
|
}
|
|
268
269
|
.nut-popup-title-right-bottom-left {
|
|
269
|
-
bottom: var(--nutui-popup-title-padding,
|
|
270
|
-
left: var(--nutui-popup-title-padding,
|
|
270
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
271
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
271
272
|
}
|
|
272
273
|
.nut-popup-title-right-bottom-right {
|
|
273
|
-
right: var(--nutui-popup-title-padding,
|
|
274
|
-
bottom: var(--nutui-popup-title-padding,
|
|
274
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
275
|
+
bottom: var(--nutui-popup-title-padding, 16px);
|
|
275
276
|
}
|
|
276
277
|
.nut-popup-center {
|
|
277
278
|
top: 50%;
|
|
278
279
|
left: 50%;
|
|
279
|
-
right: auto;
|
|
280
|
-
bottom: auto;
|
|
281
280
|
min-height: 10%;
|
|
282
281
|
max-width: 295px;
|
|
283
282
|
transform: translate(-50%, -50%);
|
|
@@ -288,8 +287,6 @@
|
|
|
288
287
|
.nut-popup-bottom {
|
|
289
288
|
bottom: 0;
|
|
290
289
|
left: 0;
|
|
291
|
-
right: auto;
|
|
292
|
-
top: auto;
|
|
293
290
|
width: 100%;
|
|
294
291
|
}
|
|
295
292
|
.nut-popup-bottom.nut-popup-round {
|
|
@@ -301,8 +298,6 @@
|
|
|
301
298
|
.nut-popup-right {
|
|
302
299
|
top: 0;
|
|
303
300
|
right: 0;
|
|
304
|
-
left: auto;
|
|
305
|
-
bottom: auto;
|
|
306
301
|
width: 100px;
|
|
307
302
|
height: 100%;
|
|
308
303
|
}
|
|
@@ -312,8 +307,6 @@
|
|
|
312
307
|
.nut-popup-left {
|
|
313
308
|
top: 0;
|
|
314
309
|
left: 0;
|
|
315
|
-
right: auto;
|
|
316
|
-
bottom: auto;
|
|
317
310
|
width: 100px;
|
|
318
311
|
height: 100%;
|
|
319
312
|
}
|
|
@@ -323,8 +316,6 @@
|
|
|
323
316
|
.nut-popup-top {
|
|
324
317
|
top: 0;
|
|
325
318
|
left: 0;
|
|
326
|
-
right: auto;
|
|
327
|
-
bottom: auto;
|
|
328
319
|
width: 100%;
|
|
329
320
|
}
|
|
330
321
|
.nut-popup-top.nut-popup-round {
|
|
@@ -401,9 +392,6 @@
|
|
|
401
392
|
}
|
|
402
393
|
}
|
|
403
394
|
@keyframes popup-slide-top-exit {
|
|
404
|
-
from {
|
|
405
|
-
transform: translate3d(0, 0%, 0);
|
|
406
|
-
}
|
|
407
395
|
to {
|
|
408
396
|
transform: translate3d(0, -100%, 0);
|
|
409
397
|
}
|
|
@@ -428,9 +416,6 @@
|
|
|
428
416
|
}
|
|
429
417
|
}
|
|
430
418
|
@keyframes popup-slide-right-exit {
|
|
431
|
-
from {
|
|
432
|
-
transform: translate3d(0%, 0, 0);
|
|
433
|
-
}
|
|
434
419
|
to {
|
|
435
420
|
transform: translate3d(100%, 0, 0);
|
|
436
421
|
}
|
|
@@ -455,9 +440,6 @@
|
|
|
455
440
|
}
|
|
456
441
|
}
|
|
457
442
|
@keyframes slide-bottom-exit {
|
|
458
|
-
from {
|
|
459
|
-
transform: translate3d(0, 0%, 0);
|
|
460
|
-
}
|
|
461
443
|
to {
|
|
462
444
|
transform: translate3d(0, 100%, 0);
|
|
463
445
|
}
|
|
@@ -482,9 +464,6 @@
|
|
|
482
464
|
}
|
|
483
465
|
}
|
|
484
466
|
@keyframes popup-slide-left-exit {
|
|
485
|
-
from {
|
|
486
|
-
transform: translate3d(0%, 0, 0);
|
|
487
|
-
}
|
|
488
467
|
to {
|
|
489
468
|
transform: translate3d(-100%, 0, 0);
|
|
490
469
|
}
|
|
@@ -510,27 +489,27 @@
|
|
|
510
489
|
[dir=rtl] .nut-popup-title-left,
|
|
511
490
|
.nut-rtl .nut-popup-title-left {
|
|
512
491
|
left: auto;
|
|
513
|
-
right: var(--nutui-popup-title-padding,
|
|
492
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
514
493
|
}
|
|
515
494
|
[dir=rtl] .nut-popup-title-right,
|
|
516
495
|
.nut-rtl .nut-popup-title-right {
|
|
517
496
|
right: auto;
|
|
518
|
-
left: var(--nutui-popup-title-padding,
|
|
497
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
519
498
|
}
|
|
520
499
|
[dir=rtl] .nut-popup-title-right-top-left,
|
|
521
500
|
.nut-rtl .nut-popup-title-right-top-left {
|
|
522
501
|
left: auto;
|
|
523
|
-
right: var(--nutui-popup-title-padding,
|
|
502
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
524
503
|
}
|
|
525
504
|
[dir=rtl] .nut-popup-title-right-bottom-left,
|
|
526
505
|
.nut-rtl .nut-popup-title-right-bottom-left {
|
|
527
506
|
left: auto;
|
|
528
|
-
right: var(--nutui-popup-title-padding,
|
|
507
|
+
right: var(--nutui-popup-title-padding, 16px);
|
|
529
508
|
}
|
|
530
509
|
[dir=rtl] .nut-popup-title-right-bottom-right,
|
|
531
510
|
.nut-rtl .nut-popup-title-right-bottom-right {
|
|
532
511
|
right: auto;
|
|
533
|
-
left: var(--nutui-popup-title-padding,
|
|
512
|
+
left: var(--nutui-popup-title-padding, 16px);
|
|
534
513
|
}
|
|
535
514
|
[dir=rtl] .nut-popup-title .nut-icon-ArrowLeft,
|
|
536
515
|
.nut-rtl .nut-popup-title .nut-icon-ArrowLeft {
|
|
@@ -48,9 +48,7 @@ export var CountUp = function(props) {
|
|
|
48
48
|
var isLoaded = useRef(false);
|
|
49
49
|
var setNumberTransform = useCallback(function() {
|
|
50
50
|
if (countupRef.current && numberArr.length) {
|
|
51
|
-
|
|
52
|
-
createSelectorQuery()// @ts-ignore
|
|
53
|
-
.in(((_countupRef_current = countupRef.current) === null || _countupRef_current === void 0 ? void 0 : _countupRef_current._scope) || countupRef.current).selectAll('.nut-countup-listitem').node(function(numberItems) {
|
|
51
|
+
createSelectorQuery().selectAll('.nut-countup-listitem').node(function(numberItems) {
|
|
54
52
|
var transformArrCache = [];
|
|
55
53
|
Object.keys(numberItems).forEach(function(key) {
|
|
56
54
|
var elem = numberItems[Number(key)];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { _ as _define_property } from "@swc/helpers/_/_define_property";
|
|
2
2
|
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
|
3
3
|
import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
4
|
-
import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
|
|
5
4
|
import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
|
|
6
5
|
import React, { useContext, useEffect, useRef, useState } from "react";
|
|
7
6
|
import { Image, View } from "@tarojs/components";
|
|
@@ -26,23 +25,7 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
26
25
|
});
|
|
27
26
|
var classPrefix = "nut-avatar";
|
|
28
27
|
export var Avatar = function(props) {
|
|
29
|
-
var
|
|
30
|
-
"children",
|
|
31
|
-
"size",
|
|
32
|
-
"shape",
|
|
33
|
-
"background",
|
|
34
|
-
"color",
|
|
35
|
-
"src",
|
|
36
|
-
"alt",
|
|
37
|
-
"icon",
|
|
38
|
-
"mode",
|
|
39
|
-
"fit",
|
|
40
|
-
"avatarIndex",
|
|
41
|
-
"className",
|
|
42
|
-
"style",
|
|
43
|
-
"onClick",
|
|
44
|
-
"onError"
|
|
45
|
-
]);
|
|
28
|
+
var _$_object_spread = _object_spread({}, defaultProps, props), children = _$_object_spread.children, size = _$_object_spread.size, shape = _$_object_spread.shape, background = _$_object_spread.background, color = _$_object_spread.color, src = _$_object_spread.src, icon = _$_object_spread.icon, mode = _$_object_spread.mode, fit = _$_object_spread.fit, avatarIndex = _$_object_spread.avatarIndex, className = _$_object_spread.className, style = _$_object_spread.style, onClick = _$_object_spread.onClick, onError = _$_object_spread.onError;
|
|
46
29
|
var _useState // 是否显示的最大头像个数
|
|
47
30
|
= _sliced_to_array(useState(false), 2), showMax = _useState[0], setShowMax = _useState[1];
|
|
48
31
|
var avatarRef = useRef(null);
|
|
@@ -79,8 +62,7 @@ export var Avatar = function(props) {
|
|
|
79
62
|
}
|
|
80
63
|
}, [
|
|
81
64
|
avatarIndex,
|
|
82
|
-
groupCount
|
|
83
|
-
groupMax
|
|
65
|
+
groupCount
|
|
84
66
|
]);
|
|
85
67
|
var errorEvent = function() {
|
|
86
68
|
onError && onError();
|
|
@@ -88,26 +70,19 @@ export var Avatar = function(props) {
|
|
|
88
70
|
var clickAvatar = function(e) {
|
|
89
71
|
onClick && onClick(e);
|
|
90
72
|
};
|
|
91
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, (showMax || !groupMax || avatarIndex <= groupMax) && /*#__PURE__*/ React.createElement(View,
|
|
73
|
+
return /*#__PURE__*/ React.createElement(React.Fragment, null, (showMax || !groupMax || avatarIndex <= groupMax) && /*#__PURE__*/ React.createElement(View, {
|
|
92
74
|
className: cls,
|
|
93
75
|
style: !showMax ? styles : maxStyles,
|
|
94
76
|
onClick: clickAvatar,
|
|
95
|
-
ref: avatarRef
|
|
96
|
-
|
|
97
|
-
ariaRole: onClick ? 'button' : undefined
|
|
98
|
-
}, rest), (!groupMax || avatarIndex <= groupMax) && /*#__PURE__*/ React.createElement(React.Fragment, null, src && /*#__PURE__*/ React.createElement(Image, {
|
|
77
|
+
ref: avatarRef
|
|
78
|
+
}, (!groupMax || avatarIndex <= groupMax) && /*#__PURE__*/ React.createElement(React.Fragment, null, src && /*#__PURE__*/ React.createElement(Image, {
|
|
99
79
|
className: "nut-avatar-img nut-avatar-".concat(groupSize || size || 'normal', "-img"),
|
|
100
80
|
src: src,
|
|
101
|
-
nativeProps: {
|
|
102
|
-
alt: alt
|
|
103
|
-
},
|
|
104
81
|
style: {
|
|
105
82
|
objectFit: fit
|
|
106
83
|
},
|
|
107
84
|
mode: mode,
|
|
108
|
-
onError: errorEvent
|
|
109
|
-
// @ts-ignore
|
|
110
|
-
ariaHidden: true
|
|
85
|
+
onError: errorEvent
|
|
111
86
|
}), /*#__PURE__*/ React.isValidElement(icon) ? /*#__PURE__*/ React.createElement(View, {
|
|
112
87
|
className: "nut-avatar-text"
|
|
113
88
|
}, /*#__PURE__*/ React.cloneElement(icon, _object_spread_props(_object_spread({}, icon.props), {
|
|
@@ -121,7 +96,6 @@ export var Avatar = function(props) {
|
|
|
121
96
|
}, children), !src && !icon && !children && /*#__PURE__*/ React.createElement(View, {
|
|
122
97
|
className: "nut-avatar-text"
|
|
123
98
|
}, /*#__PURE__*/ React.createElement(User, {
|
|
124
|
-
ariaHidden: true,
|
|
125
99
|
style: {
|
|
126
100
|
color: color
|
|
127
101
|
},
|
|
@@ -4,8 +4,8 @@ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
|
4
4
|
import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
|
|
5
5
|
import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
|
|
6
6
|
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
7
|
-
import React, { useState, useEffect, useMemo, useCallback } from "react";
|
|
8
|
-
import Taro, {
|
|
7
|
+
import React, { useState, useEffect, useMemo, useCallback, useLayoutEffect } from "react";
|
|
8
|
+
import Taro, { createSelectorQuery } from "@tarojs/taro";
|
|
9
9
|
import classNames from "classnames";
|
|
10
10
|
import { Canvas, View } from "@tarojs/components";
|
|
11
11
|
import { getWindowInfo } from "../../utils/taro/get-system-info";
|
|
@@ -117,7 +117,7 @@ export var AvatarCropper = function(props) {
|
|
|
117
117
|
cropperCanvas: null,
|
|
118
118
|
cropperCanvasContext: null
|
|
119
119
|
}), 2), canvasAll = _useState5[0], setCanvasAll = _useState5[1];
|
|
120
|
-
|
|
120
|
+
useLayoutEffect(function() {
|
|
121
121
|
if (showAlipayCanvas2D) {
|
|
122
122
|
var canvasId = canvasAll.canvasId;
|
|
123
123
|
createSelectorQuery().select("#".concat(canvasId)).node(function(param) {
|
|
@@ -129,7 +129,11 @@ export var AvatarCropper = function(props) {
|
|
|
129
129
|
}));
|
|
130
130
|
}).exec();
|
|
131
131
|
}
|
|
132
|
-
}
|
|
132
|
+
}, [
|
|
133
|
+
showAlipayCanvas2D,
|
|
134
|
+
state.displayHeight,
|
|
135
|
+
state.displayWidth
|
|
136
|
+
]);
|
|
133
137
|
useEffect(function() {
|
|
134
138
|
setCanvasAll(_object_spread_props(_object_spread({}, canvasAll), {
|
|
135
139
|
cropperCanvasContext: Taro.createCanvasContext(canvasAll.canvasId)
|
|
@@ -2,7 +2,6 @@ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
|
|
2
2
|
import { _ as _define_property } from "@swc/helpers/_/_define_property";
|
|
3
3
|
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
|
4
4
|
import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
5
|
-
import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
|
|
6
5
|
import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
|
|
7
6
|
import { _ as _type_of } from "@swc/helpers/_/_type_of";
|
|
8
7
|
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
@@ -42,19 +41,7 @@ export var Badge = function(props) {
|
|
|
42
41
|
};
|
|
43
42
|
var _this;
|
|
44
43
|
var rtl = useRtl();
|
|
45
|
-
var
|
|
46
|
-
"className",
|
|
47
|
-
"style",
|
|
48
|
-
"value",
|
|
49
|
-
"max",
|
|
50
|
-
"children",
|
|
51
|
-
"dot",
|
|
52
|
-
"top",
|
|
53
|
-
"right",
|
|
54
|
-
"fill",
|
|
55
|
-
"size",
|
|
56
|
-
"disabled"
|
|
57
|
-
]);
|
|
44
|
+
var _$_object_spread = _object_spread({}, defaultProps, props), className = _$_object_spread.className, style = _$_object_spread.style, value = _$_object_spread.value, max = _$_object_spread.max, children = _$_object_spread.children, dot = _$_object_spread.dot, top = _$_object_spread.top, right = _$_object_spread.right, fill = _$_object_spread.fill, size = _$_object_spread.size, disabled = _$_object_spread.disabled;
|
|
58
45
|
var classPrefix = 'nut-badge';
|
|
59
46
|
var isHarmony = harmony();
|
|
60
47
|
var classes = classNames(classPrefix, className);
|
|
@@ -82,11 +69,11 @@ export var Badge = function(props) {
|
|
|
82
69
|
})();
|
|
83
70
|
};
|
|
84
71
|
var _obj1;
|
|
85
|
-
return /*#__PURE__*/ React.createElement(View,
|
|
72
|
+
return /*#__PURE__*/ React.createElement(View, {
|
|
86
73
|
className: classes,
|
|
87
74
|
style: style,
|
|
88
75
|
ref: badgeRef
|
|
89
|
-
},
|
|
76
|
+
}, isIcon() && /*#__PURE__*/ React.createElement(View, {
|
|
90
77
|
className: classNames("".concat(classPrefix, "-content"), (_obj1 = {}, _define_property(_obj1, "".concat(classPrefix, "-icon"), true), _define_property(_obj1, "".concat(classPrefix, "-icon-rtl"), rtl), _obj1)),
|
|
91
78
|
style: contentStyle
|
|
92
79
|
}, value), children, !isIcon() && (getContent() || dot) && /*#__PURE__*/ React.createElement(View, {
|
|
@@ -1,3 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import type { MouseEvent } from 'react';
|
|
3
|
+
import { ButtonProps as MiniProgramButtonProps } from '@tarojs/components';
|
|
4
|
+
import { BasicComponent } from "../../utils/typings";
|
|
5
|
+
type OmitMiniProgramButtonProps = Omit<MiniProgramButtonProps, 'size' | 'type' | 'onClick' | 'style'>;
|
|
6
|
+
export type ButtonType = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
|
|
7
|
+
export type ButtonSize = 'xlarge' | 'large' | 'normal' | 'small' | 'mini';
|
|
8
|
+
export type ButtonShape = 'square' | 'round';
|
|
9
|
+
export type ButtonFill = 'solid' | 'outline' | 'dashed' | 'none';
|
|
10
|
+
export interface ButtonProps extends BasicComponent, OmitMiniProgramButtonProps {
|
|
11
|
+
color: string;
|
|
12
|
+
shape: ButtonShape;
|
|
13
|
+
type: ButtonType;
|
|
14
|
+
size: ButtonSize;
|
|
15
|
+
fill: ButtonFill;
|
|
16
|
+
block: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
icon: React.ReactNode;
|
|
20
|
+
rightIcon: React.ReactNode;
|
|
21
|
+
nativeType: 'submit' | 'reset';
|
|
22
|
+
onClick: (e: MouseEvent<HTMLButtonElement>) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<Partial<ButtonProps>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
25
|
+
export {};
|
|
@@ -4,8 +4,9 @@ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
|
4
4
|
import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
|
|
5
5
|
import React, { useCallback, useMemo } from "react";
|
|
6
6
|
import classNames from "classnames";
|
|
7
|
-
import { View } from "@tarojs/components";
|
|
7
|
+
import { View, Button as TaroButton } from "@tarojs/components";
|
|
8
8
|
import { Loading } from "@nutui/icons-react-taro";
|
|
9
|
+
import { getEnv } from "@tarojs/taro";
|
|
9
10
|
import { ComponentDefaults } from "../../utils/typings";
|
|
10
11
|
import { harmony } from "../../utils/taro/platform";
|
|
11
12
|
var prefixCls = 'nut-button';
|
|
@@ -23,8 +24,7 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
23
24
|
onClick: function(e) {}
|
|
24
25
|
});
|
|
25
26
|
export var Button = /*#__PURE__*/ React.forwardRef(function(props, ref) {
|
|
26
|
-
var _ref = _object_spread({}, defaultProps, props), color = _ref.color, shape = _ref.shape, fill = _ref.fill, loading = _ref.loading, disabled = _ref.disabled, type = _ref.type, size = _ref.size, block = _ref.block, icon = _ref.icon, rightIcon = _ref.rightIcon, children = _ref.children, className = _ref.className, style = _ref.style,
|
|
27
|
-
nativeType = _ref.nativeType, onClick = _ref.onClick, rest = _object_without_properties(_ref, [
|
|
27
|
+
var _ref = _object_spread({}, defaultProps, props), color = _ref.color, shape = _ref.shape, fill = _ref.fill, loading = _ref.loading, disabled = _ref.disabled, type = _ref.type, size = _ref.size, block = _ref.block, icon = _ref.icon, rightIcon = _ref.rightIcon, children = _ref.children, className = _ref.className, style = _ref.style, formType = _ref.formType, nativeType = _ref.nativeType, onClick = _ref.onClick, rest = _object_without_properties(_ref, [
|
|
28
28
|
"color",
|
|
29
29
|
"shape",
|
|
30
30
|
"fill",
|
|
@@ -38,6 +38,7 @@ export var Button = /*#__PURE__*/ React.forwardRef(function(props, ref) {
|
|
|
38
38
|
"children",
|
|
39
39
|
"className",
|
|
40
40
|
"style",
|
|
41
|
+
"formType",
|
|
41
42
|
"nativeType",
|
|
42
43
|
"onClick"
|
|
43
44
|
]);
|
|
@@ -91,15 +92,17 @@ export var Button = /*#__PURE__*/ React.forwardRef(function(props, ref) {
|
|
|
91
92
|
]);
|
|
92
93
|
var _obj;
|
|
93
94
|
var buttonClassNames = classNames(prefixCls, "".concat(prefixCls, "-").concat(type), (_obj = {}, _define_property(_obj, "".concat(prefixCls, "-").concat(type, "-solid"), type === 'primary' && !props.fill), _define_property(_obj, "".concat(prefixCls, "-").concat(fill), props.fill), _define_property(_obj, "".concat(prefixCls, "-").concat(type, "-").concat(fill), props.fill), _define_property(_obj, "".concat(prefixCls, "-").concat(size), size), _define_property(_obj, "".concat(prefixCls, "-").concat(shape), shape), _define_property(_obj, "".concat(prefixCls, "-").concat(shape, "-").concat(size), shape && size), _define_property(_obj, "".concat(prefixCls, "-block"), block), _define_property(_obj, "".concat(prefixCls, "-disabled"), disabled || loading), _define_property(_obj, "".concat(prefixCls, "-").concat(type).concat(props.fill ? "-".concat(fill) : '', "-disabled"), disabled || loading), _define_property(_obj, "".concat(prefixCls, "-loading"), loading), _define_property(_obj, "".concat(prefixCls, "-icononly"), !children), _obj), className);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
if (getEnv() === 'WEB') {
|
|
96
|
+
;
|
|
97
|
+
rest.type = formType;
|
|
98
|
+
}
|
|
97
99
|
return (
|
|
100
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
98
101
|
// @ts-ignore
|
|
99
|
-
//
|
|
100
|
-
/*#__PURE__*/ (React.createElement(
|
|
102
|
+
// eslint-disable-next-line react/button-has-type
|
|
103
|
+
/*#__PURE__*/ (React.createElement(TaroButton, _object_spread_props(_object_spread({}, rest), {
|
|
101
104
|
ref: ref,
|
|
102
|
-
|
|
105
|
+
formType: formType || nativeType,
|
|
103
106
|
className: buttonClassNames,
|
|
104
107
|
style: _object_spread({}, getStyle, style),
|
|
105
108
|
onClick: function(e) {
|
|
@@ -108,7 +111,6 @@ export var Button = /*#__PURE__*/ React.forwardRef(function(props, ref) {
|
|
|
108
111
|
}), /*#__PURE__*/ React.createElement(View, {
|
|
109
112
|
className: "nut-button-wrap"
|
|
110
113
|
}, loading && /*#__PURE__*/ React.createElement(Loading, {
|
|
111
|
-
ariaHidden: true,
|
|
112
114
|
className: "nut-icon-loading"
|
|
113
115
|
}), !loading && icon, children && /*#__PURE__*/ React.createElement(View, {
|
|
114
116
|
className: "nut-button-children nut-button-".concat(size, "-children nut-button-").concat(type, "-children ").concat(!(props.fill || disabled || loading) ? '' : "nut-button-".concat(type).concat(props.fill ? "-".concat(fill) : '').concat(disabled || loading ? '-disabled' : '')).concat(icon || loading ? " nut-button-text" : '').concat(rightIcon ? ' nut-button-text-right' : ''),
|