@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
|
@@ -2,8 +2,6 @@ import { ITouchEvent } from '@tarojs/components';
|
|
|
2
2
|
import { BaseDialog, BaseContentProps } from './base';
|
|
3
3
|
export interface TaroContentProps extends BaseContentProps {
|
|
4
4
|
onClick: (event: ITouchEvent) => void;
|
|
5
|
-
ariaRole?: string;
|
|
6
|
-
ariaLabel?: string;
|
|
7
5
|
}
|
|
8
6
|
export interface TaroDialogProps extends Omit<BaseDialog, 'onOverlayClick' | 'onClick'> {
|
|
9
7
|
onClick: (event: ITouchEvent) => void;
|
package/dist/cjs/utils/taro/{ConfigurableCSSTransition.js → ConfigurableCSSTransition copy.js }
RENAMED
|
@@ -21,45 +21,84 @@ var ConfigurableCSSTransition = function ConfigurableCSSTransition(props) {
|
|
|
21
21
|
if (inPhase) return "".concat(baseClassName, "-enter-done");
|
|
22
22
|
return "".concat(baseClassName, "-exit-done");
|
|
23
23
|
}), 2), classes = _useState1[0], setClasses = _useState1[1];
|
|
24
|
-
var
|
|
24
|
+
var fallbackTimerRef = (0, _react.useRef)(null);
|
|
25
25
|
var statusRef = (0, _react.useRef)(status);
|
|
26
26
|
var prevInPhase = (0, _react.useRef)(inPhase);
|
|
27
|
+
var latestOnAnimationEnd = (0, _react.useRef)(children.props.onAnimationEnd);
|
|
28
|
+
(0, _react.useEffect)(function() {
|
|
29
|
+
latestOnAnimationEnd.current = children.props.onAnimationEnd;
|
|
30
|
+
});
|
|
27
31
|
var updateStatus = (0, _react.useCallback)(function(nextStatus) {
|
|
28
32
|
statusRef.current = nextStatus;
|
|
29
33
|
setStatus(nextStatus);
|
|
30
34
|
}, []);
|
|
35
|
+
var handleAnimationEnd = (0, _react.useCallback)(function(e) {
|
|
36
|
+
var _latestOnAnimationEnd_current;
|
|
37
|
+
(_latestOnAnimationEnd_current = latestOnAnimationEnd.current) === null || _latestOnAnimationEnd_current === void 0 ? void 0 : _latestOnAnimationEnd_current.call(latestOnAnimationEnd, e);
|
|
38
|
+
if (e && e.target !== e.currentTarget) return;
|
|
39
|
+
if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
|
|
40
|
+
if (statusRef.current === 'entering') {
|
|
41
|
+
updateStatus('entered');
|
|
42
|
+
setClasses("".concat(baseClassName, "-enter-done"));
|
|
43
|
+
onEntered === null || onEntered === void 0 ? void 0 : onEntered();
|
|
44
|
+
} else if (statusRef.current === 'exiting') {
|
|
45
|
+
updateStatus('exited');
|
|
46
|
+
setClasses("".concat(baseClassName, "-exit-done"));
|
|
47
|
+
if (unmountOnExit) {
|
|
48
|
+
updateStatus('unmounted');
|
|
49
|
+
}
|
|
50
|
+
onExited === null || onExited === void 0 ? void 0 : onExited();
|
|
51
|
+
}
|
|
52
|
+
}, [
|
|
53
|
+
baseClassName,
|
|
54
|
+
onEntered,
|
|
55
|
+
onExited,
|
|
56
|
+
unmountOnExit,
|
|
57
|
+
updateStatus
|
|
58
|
+
]);
|
|
31
59
|
var enter = (0, _react.useCallback)(function() {
|
|
32
|
-
if (
|
|
60
|
+
if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
|
|
33
61
|
if (statusRef.current === 'unmounted') {
|
|
34
62
|
updateStatus('exited');
|
|
35
63
|
}
|
|
36
|
-
|
|
37
|
-
setClasses("".concat(baseClassName, "-enter ").concat(baseClassName, "-enter-active"));
|
|
38
|
-
timerRef.current = setTimeout(function() {
|
|
64
|
+
if (timeout === 0) {
|
|
39
65
|
updateStatus('entered');
|
|
40
66
|
setClasses("".concat(baseClassName, "-enter-done"));
|
|
41
67
|
onEntered === null || onEntered === void 0 ? void 0 : onEntered();
|
|
42
|
-
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
updateStatus('entering');
|
|
71
|
+
setClasses("".concat(baseClassName, "-enter ").concat(baseClassName, "-enter-active"));
|
|
72
|
+
// Safety fallback: Give it extra time over the expected timeout in case onAnimationEnd misses
|
|
73
|
+
fallbackTimerRef.current = setTimeout(function() {
|
|
74
|
+
handleAnimationEnd(null);
|
|
75
|
+
}, timeout + 200);
|
|
43
76
|
}, [
|
|
44
77
|
baseClassName,
|
|
78
|
+
handleAnimationEnd,
|
|
45
79
|
onEntered,
|
|
46
80
|
timeout,
|
|
47
81
|
updateStatus
|
|
48
82
|
]);
|
|
49
83
|
var exit = (0, _react.useCallback)(function() {
|
|
50
|
-
if (
|
|
51
|
-
|
|
52
|
-
setClasses("".concat(baseClassName, "-exit ").concat(baseClassName, "-exit-active"));
|
|
53
|
-
timerRef.current = setTimeout(function() {
|
|
84
|
+
if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
|
|
85
|
+
if (timeout === 0) {
|
|
54
86
|
updateStatus('exited');
|
|
55
87
|
setClasses("".concat(baseClassName, "-exit-done"));
|
|
56
88
|
if (unmountOnExit) {
|
|
57
89
|
updateStatus('unmounted');
|
|
58
90
|
}
|
|
59
91
|
onExited === null || onExited === void 0 ? void 0 : onExited();
|
|
60
|
-
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
updateStatus('exiting');
|
|
95
|
+
setClasses("".concat(baseClassName, "-exit ").concat(baseClassName, "-exit-active"));
|
|
96
|
+
fallbackTimerRef.current = setTimeout(function() {
|
|
97
|
+
handleAnimationEnd(null);
|
|
98
|
+
}, timeout + 200);
|
|
61
99
|
}, [
|
|
62
100
|
baseClassName,
|
|
101
|
+
handleAnimationEnd,
|
|
63
102
|
onExited,
|
|
64
103
|
timeout,
|
|
65
104
|
unmountOnExit,
|
|
@@ -75,7 +114,7 @@ var ConfigurableCSSTransition = function ConfigurableCSSTransition(props) {
|
|
|
75
114
|
prevInPhase.current = inPhase;
|
|
76
115
|
}
|
|
77
116
|
return function() {
|
|
78
|
-
if (
|
|
117
|
+
if (fallbackTimerRef.current) clearTimeout(fallbackTimerRef.current);
|
|
79
118
|
};
|
|
80
119
|
}, [
|
|
81
120
|
inPhase,
|
|
@@ -84,7 +123,8 @@ var ConfigurableCSSTransition = function ConfigurableCSSTransition(props) {
|
|
|
84
123
|
]);
|
|
85
124
|
if (status === 'unmounted') return null;
|
|
86
125
|
return /*#__PURE__*/ (0, _react.cloneElement)(children, {
|
|
87
|
-
className: "".concat(children.props.className || '', " ").concat(classes)
|
|
126
|
+
className: "".concat(children.props.className || '', " ").concat(classes),
|
|
127
|
+
onAnimationEnd: handleAnimationEnd
|
|
88
128
|
});
|
|
89
129
|
};
|
|
90
130
|
var _default = ConfigurableCSSTransition;
|
|
@@ -55,8 +55,7 @@ var getRectInMultiPlatform = function getRectInMultiPlatform(element) {
|
|
|
55
55
|
resolve(lru.get(element));
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
|
-
(0, _taro.createSelectorQuery)()
|
|
59
|
-
.in((element === null || element === void 0 ? void 0 : element._scope) || element).select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
|
|
58
|
+
(0, _taro.createSelectorQuery)().select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
|
|
60
59
|
var _param = (0, _sliced_to_array._)(param, 1), rects = _param[0];
|
|
61
60
|
if (rects) {
|
|
62
61
|
lru.set(element, rects);
|
|
@@ -87,8 +86,7 @@ var getRectInMultiPlatformWithoutCache = function getRectInMultiPlatformWithoutC
|
|
|
87
86
|
return [
|
|
88
87
|
2,
|
|
89
88
|
new Promise(function(resolve, reject) {
|
|
90
|
-
(0, _taro.createSelectorQuery)()
|
|
91
|
-
.in((element === null || element === void 0 ? void 0 : element._scope) || element).select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
|
|
89
|
+
(0, _taro.createSelectorQuery)().select("#".concat(harmonyId || element.uid)).boundingClientRect().exec(function(param) {
|
|
92
90
|
var _param = (0, _sliced_to_array._)(param, 1), rects = _param[0];
|
|
93
91
|
resolve(rects);
|
|
94
92
|
});
|
|
@@ -14,4 +14,9 @@ export declare const getDeviceInfo: () => IDeviceInfo;
|
|
|
14
14
|
* @returns {Taro.getWindowInfo.Result} 窗口信息
|
|
15
15
|
*/
|
|
16
16
|
export declare const getWindowInfo: () => Taro.getWindowInfo.Result;
|
|
17
|
+
/**
|
|
18
|
+
* 获取应用基础信息,兼容新旧 API
|
|
19
|
+
* @returns {Taro.getAppBaseInfo.Result} 应用基础信息
|
|
20
|
+
*/
|
|
21
|
+
export declare const getAppBaseInfo: () => Taro.getAppBaseInfo.Result;
|
|
17
22
|
export {};
|
|
@@ -9,6 +9,9 @@ function _export(target, all) {
|
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
+
get getAppBaseInfo () {
|
|
13
|
+
return getAppBaseInfo;
|
|
14
|
+
},
|
|
12
15
|
get getDeviceInfo () {
|
|
13
16
|
return getDeviceInfo;
|
|
14
17
|
},
|
|
@@ -23,5 +26,7 @@ var getDeviceInfo = function getDeviceInfo() {
|
|
|
23
26
|
};
|
|
24
27
|
var getWindowInfo = function getWindowInfo() {
|
|
25
28
|
return typeof _taro.default.getWindowInfo === 'function' ? _taro.default.getWindowInfo() : _taro.default.getSystemInfoSync();
|
|
26
|
-
}
|
|
27
|
-
|
|
29
|
+
};
|
|
30
|
+
var getAppBaseInfo = function getAppBaseInfo() {
|
|
31
|
+
return typeof _taro.default.getAppBaseInfo === 'function' ? _taro.default.getAppBaseInfo() : _taro.default.getSystemInfoSync();
|
|
32
|
+
};
|
|
@@ -3,7 +3,6 @@ import { useEffect, useRef } from "react";
|
|
|
3
3
|
import isEqual from "react-fast-compare";
|
|
4
4
|
import { eventCenter, getCurrentInstance } from "@tarojs/taro";
|
|
5
5
|
import { useForceUpdate } from "../use-force-update";
|
|
6
|
-
// export const customEvents = new Events()
|
|
7
6
|
export var customEvents = eventCenter;
|
|
8
7
|
export function useCustomEventsPath(selector) {
|
|
9
8
|
var _getCurrentInstance_router;
|
|
@@ -9,11 +9,6 @@ export interface BaseLang {
|
|
|
9
9
|
edit: string;
|
|
10
10
|
reset: string;
|
|
11
11
|
close: string;
|
|
12
|
-
back: string;
|
|
13
|
-
clear: string;
|
|
14
|
-
image: {
|
|
15
|
-
errorTip: string;
|
|
16
|
-
};
|
|
17
12
|
video: {
|
|
18
13
|
errorTip: string;
|
|
19
14
|
clickRetry: string;
|
|
@@ -44,7 +39,6 @@ export interface BaseLang {
|
|
|
44
39
|
today: string;
|
|
45
40
|
loadPreviousMonth: string;
|
|
46
41
|
noEarlierMonth: string;
|
|
47
|
-
dayAriaLabel?: Function;
|
|
48
42
|
};
|
|
49
43
|
shortpassword: {
|
|
50
44
|
title: string;
|
|
@@ -148,7 +142,4 @@ export interface BaseLang {
|
|
|
148
142
|
errorCanvasTips: string;
|
|
149
143
|
};
|
|
150
144
|
mask: string;
|
|
151
|
-
quickenter: {
|
|
152
|
-
title: string;
|
|
153
|
-
};
|
|
154
145
|
}
|
package/dist/es/locales/en-US.js
CHANGED
|
@@ -9,11 +9,6 @@ var enUS = {
|
|
|
9
9
|
edit: 'Edit',
|
|
10
10
|
reset: 'Reset',
|
|
11
11
|
close: 'Close',
|
|
12
|
-
back: 'Back',
|
|
13
|
-
clear: 'Clear',
|
|
14
|
-
image: {
|
|
15
|
-
errorTip: 'Image failed to load'
|
|
16
|
-
},
|
|
17
12
|
video: {
|
|
18
13
|
errorTip: 'Error Tip',
|
|
19
14
|
clickRetry: 'Click Retry'
|
|
@@ -53,18 +48,7 @@ var enUS = {
|
|
|
53
48
|
},
|
|
54
49
|
today: 'Today',
|
|
55
50
|
loadPreviousMonth: 'Load Previous Month',
|
|
56
|
-
noEarlierMonth: 'No Earlier Month'
|
|
57
|
-
dayAriaLabel: function(year, month, day, today, isActive, isDisable) {
|
|
58
|
-
var dateStr = "".concat(year, "-").concat(month, "-").concat(day);
|
|
59
|
-
var label = today ? "Today, ".concat(dateStr) : dateStr;
|
|
60
|
-
if (isActive) {
|
|
61
|
-
label = "Selected ".concat(label);
|
|
62
|
-
}
|
|
63
|
-
if (isDisable) {
|
|
64
|
-
label = "".concat(label, " disabled");
|
|
65
|
-
}
|
|
66
|
-
return label;
|
|
67
|
-
}
|
|
51
|
+
noEarlierMonth: 'No Earlier Month'
|
|
68
52
|
},
|
|
69
53
|
shortpassword: {
|
|
70
54
|
title: 'Please input a password',
|
|
@@ -171,9 +155,6 @@ var enUS = {
|
|
|
171
155
|
watermark: {
|
|
172
156
|
errorCanvasTips: 'Canvas is not supported in the current environment'
|
|
173
157
|
},
|
|
174
|
-
mask: 'Mask'
|
|
175
|
-
quickenter: {
|
|
176
|
-
title: 'Quick Enter'
|
|
177
|
-
}
|
|
158
|
+
mask: 'Mask'
|
|
178
159
|
};
|
|
179
160
|
export default enUS;
|
package/dist/es/locales/id-ID.js
CHANGED
|
@@ -9,11 +9,6 @@ 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
|
-
},
|
|
17
12
|
video: {
|
|
18
13
|
errorTip: 'Terjadi Kesalahan',
|
|
19
14
|
clickRetry: 'Coba Lagi'
|
|
@@ -53,18 +48,7 @@ var idID = {
|
|
|
53
48
|
},
|
|
54
49
|
today: 'Hari ini',
|
|
55
50
|
loadPreviousMonth: 'Muat Bulan Sebelumnya',
|
|
56
|
-
noEarlierMonth: 'Tidak Ada Bulan Sebelumnya'
|
|
57
|
-
dayAriaLabel: function(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
|
-
}
|
|
51
|
+
noEarlierMonth: 'Tidak Ada Bulan Sebelumnya'
|
|
68
52
|
},
|
|
69
53
|
shortpassword: {
|
|
70
54
|
title: 'SIlakan masukan kata sandi',
|
|
@@ -171,9 +155,6 @@ var idID = {
|
|
|
171
155
|
watermark: {
|
|
172
156
|
errorCanvasTips: 'Canvas is not supported in the current environment'
|
|
173
157
|
},
|
|
174
|
-
mask: 'Masker'
|
|
175
|
-
quickenter: {
|
|
176
|
-
title: 'Masuk Cepat'
|
|
177
|
-
}
|
|
158
|
+
mask: 'Masker'
|
|
178
159
|
};
|
|
179
160
|
export default idID;
|
package/dist/es/locales/ja-JP.js
CHANGED
|
@@ -8,12 +8,6 @@ var jaJP = {
|
|
|
8
8
|
select: '選択してください',
|
|
9
9
|
edit: '編集',
|
|
10
10
|
reset: 'リセット',
|
|
11
|
-
close: '閉じる',
|
|
12
|
-
back: '戻る',
|
|
13
|
-
clear: 'クリア',
|
|
14
|
-
image: {
|
|
15
|
-
errorTip: '画像の読み込みに失敗しました'
|
|
16
|
-
},
|
|
17
11
|
video: {
|
|
18
12
|
errorTip: '動画の読み込みに失敗しました',
|
|
19
13
|
clickRetry: 'クリックして再試行'
|
|
@@ -53,16 +47,7 @@ var jaJP = {
|
|
|
53
47
|
},
|
|
54
48
|
today: '今日',
|
|
55
49
|
loadPreviousMonth: '前の月を読み込む',
|
|
56
|
-
noEarlierMonth: 'これより前の月はありません'
|
|
57
|
-
dayAriaLabel: function(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
|
-
}
|
|
50
|
+
noEarlierMonth: 'これより前の月はありません'
|
|
66
51
|
},
|
|
67
52
|
shortpassword: {
|
|
68
53
|
title: 'パスワードを入力してください',
|
|
@@ -170,8 +155,6 @@ var jaJP = {
|
|
|
170
155
|
errorCanvasTips: '現在の環境はCanvasをサポートしていません'
|
|
171
156
|
},
|
|
172
157
|
mask: 'マスク',
|
|
173
|
-
|
|
174
|
-
title: 'クイックアクセス'
|
|
175
|
-
}
|
|
158
|
+
close: '閉じる'
|
|
176
159
|
};
|
|
177
160
|
export default jaJP;
|
package/dist/es/locales/tr-TR.js
CHANGED
|
@@ -9,11 +9,6 @@ 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
|
-
},
|
|
17
12
|
video: {
|
|
18
13
|
errorTip: 'Video yüklenemedi',
|
|
19
14
|
clickRetry: 'Yeniden Tıklayın'
|
|
@@ -53,18 +48,7 @@ var trTR = {
|
|
|
53
48
|
},
|
|
54
49
|
today: 'Bugün',
|
|
55
50
|
loadPreviousMonth: 'Önceki ayı yükle',
|
|
56
|
-
noEarlierMonth: 'Önceki ay yok'
|
|
57
|
-
dayAriaLabel: function(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
|
-
}
|
|
51
|
+
noEarlierMonth: 'Önceki ay yok'
|
|
68
52
|
},
|
|
69
53
|
shortpassword: {
|
|
70
54
|
title: 'Lütfen şifrenizi girin',
|
|
@@ -171,9 +155,6 @@ var trTR = {
|
|
|
171
155
|
watermark: {
|
|
172
156
|
errorCanvasTips: 'Geçerli ortam Canvası desteklemiyor'
|
|
173
157
|
},
|
|
174
|
-
mask: 'Maske'
|
|
175
|
-
quickenter: {
|
|
176
|
-
title: 'Hızlı Giriş'
|
|
177
|
-
}
|
|
158
|
+
mask: 'Maske'
|
|
178
159
|
};
|
|
179
160
|
export default trTR;
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
var viVN = {
|
|
2
|
+
save: 'Lưu',
|
|
3
|
+
confirm: 'Xác nhận',
|
|
4
|
+
cancel: 'Hủy',
|
|
5
|
+
done: 'Hoàn thành',
|
|
6
|
+
noData: 'Tạm thời không có dữ liệu',
|
|
7
|
+
placeholder: 'Vui lòng nhập nội dung',
|
|
8
|
+
select: 'Vui lòng chọn',
|
|
9
|
+
edit: 'Chỉnh sửa',
|
|
10
|
+
reset: 'Đặt lại',
|
|
11
|
+
close: 'Đóng',
|
|
12
|
+
video: {
|
|
13
|
+
errorTip: 'Tải video không thành công',
|
|
14
|
+
clickRetry: 'Nhấn để thử lại'
|
|
15
|
+
},
|
|
16
|
+
fixednav: {
|
|
17
|
+
activeText: 'Thu gọn thanh điều hướng',
|
|
18
|
+
inactiveText: 'Điều hướng nhanh'
|
|
19
|
+
},
|
|
20
|
+
infiniteloading: {
|
|
21
|
+
pullRefreshText: 'Thả để làm mới',
|
|
22
|
+
loadText: 'Đang tải……',
|
|
23
|
+
loadMoreText: 'Ôi, đã đến cuối rồi!'
|
|
24
|
+
},
|
|
25
|
+
pagination: {
|
|
26
|
+
prev: 'Trang trước',
|
|
27
|
+
next: 'Trang sau'
|
|
28
|
+
},
|
|
29
|
+
range: {
|
|
30
|
+
rangeText: 'Không nằm trong phạm vi này'
|
|
31
|
+
},
|
|
32
|
+
calendaritem: {
|
|
33
|
+
weekdays: [
|
|
34
|
+
'CN',
|
|
35
|
+
'T2',
|
|
36
|
+
'T3',
|
|
37
|
+
'T4',
|
|
38
|
+
'T5',
|
|
39
|
+
'T6',
|
|
40
|
+
'T7'
|
|
41
|
+
],
|
|
42
|
+
end: 'Kết thúc',
|
|
43
|
+
start: 'Bắt đầu',
|
|
44
|
+
confirm: 'Xác nhận',
|
|
45
|
+
title: 'Chọn lịch',
|
|
46
|
+
monthTitle: function(year, month) {
|
|
47
|
+
return "Th\xe1ng ".concat(month, " Năm ").concat(year);
|
|
48
|
+
},
|
|
49
|
+
today: 'Hôm nay',
|
|
50
|
+
loadPreviousMonth: 'Tải dữ liệu của tháng trước',
|
|
51
|
+
noEarlierMonth: 'Không có tháng nào sớm hơn'
|
|
52
|
+
},
|
|
53
|
+
shortpassword: {
|
|
54
|
+
title: 'Vui lòng nhập mật khẩu',
|
|
55
|
+
description: 'Bạn đã sử dụng tài sản ảo, vui lòng xác minh',
|
|
56
|
+
tips: 'Quên mật khẩu'
|
|
57
|
+
},
|
|
58
|
+
uploader: {
|
|
59
|
+
list: 'Tải lên tập tin',
|
|
60
|
+
ready: 'Chuẩn bị hoàn thành',
|
|
61
|
+
readyUpload: 'Chuẩn bị tải lên',
|
|
62
|
+
waitingUpload: 'Đang đợi tải lên',
|
|
63
|
+
uploading: 'Đang tải lên...',
|
|
64
|
+
success: 'Tải lên thành công',
|
|
65
|
+
error: 'Tải lên thất bại',
|
|
66
|
+
deleteWord: 'Người dùng đã chặn xóa!'
|
|
67
|
+
},
|
|
68
|
+
countdown: {
|
|
69
|
+
day: 'Ngày',
|
|
70
|
+
hour: 'Giờ',
|
|
71
|
+
minute: 'Phút',
|
|
72
|
+
second: 'Giây'
|
|
73
|
+
},
|
|
74
|
+
address: {
|
|
75
|
+
selectRegion: 'Vui lòng chọn khu vực',
|
|
76
|
+
deliveryTo: 'Giao đến',
|
|
77
|
+
hotCity: 'Thành phố nóng',
|
|
78
|
+
chooseAnotherAddress: 'Chọn địa chỉ khác',
|
|
79
|
+
selectProvince: 'Chọn Tỉnh/Thành phố'
|
|
80
|
+
},
|
|
81
|
+
signature: {
|
|
82
|
+
reSign: 'Ký lại',
|
|
83
|
+
unsupported: 'Xin lỗi, trình duyệt hiện tại không hỗ trợ Canvas, không thể dùng tính năng này!'
|
|
84
|
+
},
|
|
85
|
+
ecard: {
|
|
86
|
+
chooseText: 'Chọn mệnh giá thẻ',
|
|
87
|
+
otherValueText: 'Mệnh giá khác',
|
|
88
|
+
placeholder: 'Nhập số nguyên 1-5000'
|
|
89
|
+
},
|
|
90
|
+
timeselect: {
|
|
91
|
+
pickupTime: 'Thời gian lấy hàng'
|
|
92
|
+
},
|
|
93
|
+
sku: {
|
|
94
|
+
buyNow: 'Mua ngay',
|
|
95
|
+
buyNumber: 'Số lượng mua',
|
|
96
|
+
addToCard: 'Thêm vào giỏ hàng'
|
|
97
|
+
},
|
|
98
|
+
skuheader: {
|
|
99
|
+
skuId: 'Mã sản phẩm'
|
|
100
|
+
},
|
|
101
|
+
addresslist: {
|
|
102
|
+
addAddress: 'Tạo địa chỉ '
|
|
103
|
+
},
|
|
104
|
+
comment: {
|
|
105
|
+
complaintsText: 'Tôi muốn khiếu nại',
|
|
106
|
+
additionalReview: function(day) {
|
|
107
|
+
return "Đ\xe1nh gi\xe1 th\xeam sau ".concat(day, " ng\xe0y");
|
|
108
|
+
},
|
|
109
|
+
additionalImages: function(length) {
|
|
110
|
+
return "".concat(length, " ảnh đ\xe1nh gi\xe1 th\xeam");
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
searchbar: {
|
|
114
|
+
basePlaceholder: 'Lên JD tìm sản phẩm tốt',
|
|
115
|
+
text: 'Văn bản',
|
|
116
|
+
test: 'Kiểm tra',
|
|
117
|
+
title1: 'Cách dùng cơ bản',
|
|
118
|
+
title2: 'Hình dạng và độ dài tối đa ô tìm kiếm',
|
|
119
|
+
title3: 'Cài đặt nền trong và ngoài ô tìm kiếm',
|
|
120
|
+
title4: 'Cài đặt văn bản ô tìm kiếm',
|
|
121
|
+
title5: 'Tùy chỉnh biểu tượng',
|
|
122
|
+
title6: 'Lắng nghe thay đổi dữ liệu'
|
|
123
|
+
},
|
|
124
|
+
audio: {
|
|
125
|
+
back: 'Quay lại',
|
|
126
|
+
forward: 'Chuyển nhanh',
|
|
127
|
+
pause: 'Tạm dừng',
|
|
128
|
+
start: 'Bắt đầu',
|
|
129
|
+
mute: 'Tắt âm',
|
|
130
|
+
tips: 'Sự kiện onPlayEnd chỉ xảy ra khi loop=false'
|
|
131
|
+
},
|
|
132
|
+
avatarCropper: {
|
|
133
|
+
rotate: 'Xoay',
|
|
134
|
+
selectImage: 'Chọn ảnh'
|
|
135
|
+
},
|
|
136
|
+
datepicker: {
|
|
137
|
+
year: 'Năm',
|
|
138
|
+
month: 'Tháng',
|
|
139
|
+
day: 'Ngày',
|
|
140
|
+
hour: 'Giờ',
|
|
141
|
+
min: 'Phút',
|
|
142
|
+
seconds: 'Giây'
|
|
143
|
+
},
|
|
144
|
+
pullToRefresh: {
|
|
145
|
+
pullingText: 'Kéo xuống để làm mới',
|
|
146
|
+
canReleaseText: 'Thả để làm mới',
|
|
147
|
+
refreshingText: 'Đang tải...',
|
|
148
|
+
completeText: 'Làm mới thành công'
|
|
149
|
+
},
|
|
150
|
+
tour: {
|
|
151
|
+
prevStepText: 'Bước trước',
|
|
152
|
+
completeText: 'Hoàn thành',
|
|
153
|
+
nextStepText: 'Bước tiếp theo'
|
|
154
|
+
},
|
|
155
|
+
watermark: {
|
|
156
|
+
errorCanvasTips: 'Môi trường hiện tại không hỗ trợ Canvas'
|
|
157
|
+
},
|
|
158
|
+
mask: 'Lớp phủ'
|
|
159
|
+
};
|
|
160
|
+
export default viVN;
|
package/dist/es/locales/zh-CN.js
CHANGED
|
@@ -9,11 +9,6 @@ var zhCN = {
|
|
|
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,16 +48,7 @@ var zhCN = {
|
|
|
53
48
|
},
|
|
54
49
|
today: '今天',
|
|
55
50
|
loadPreviousMonth: '加载上一个月',
|
|
56
|
-
noEarlierMonth: '没有更早月份'
|
|
57
|
-
dayAriaLabel: function(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
|
+
noEarlierMonth: '没有更早月份'
|
|
66
52
|
},
|
|
67
53
|
shortpassword: {
|
|
68
54
|
title: '请输入密码',
|
|
@@ -169,9 +155,6 @@ var zhCN = {
|
|
|
169
155
|
watermark: {
|
|
170
156
|
errorCanvasTips: '当前环境不支持Canvas'
|
|
171
157
|
},
|
|
172
|
-
mask: '蒙层'
|
|
173
|
-
quickenter: {
|
|
174
|
-
title: '快捷入口'
|
|
175
|
-
}
|
|
158
|
+
mask: '蒙层'
|
|
176
159
|
};
|
|
177
160
|
export default zhCN;
|
package/dist/es/locales/zh-TW.js
CHANGED
|
@@ -9,11 +9,6 @@ var zhCN = {
|
|
|
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,16 +48,7 @@ var zhCN = {
|
|
|
53
48
|
},
|
|
54
49
|
today: '今天',
|
|
55
50
|
loadPreviousMonth: '加載上一個月',
|
|
56
|
-
noEarlierMonth: '沒有更早月份'
|
|
57
|
-
dayAriaLabel: function(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
|
+
noEarlierMonth: '沒有更早月份'
|
|
66
52
|
},
|
|
67
53
|
shortpassword: {
|
|
68
54
|
title: '請輸入密碼',
|
|
@@ -169,9 +155,6 @@ var zhCN = {
|
|
|
169
155
|
watermark: {
|
|
170
156
|
errorCanvasTips: '當前環境不支持Canvas'
|
|
171
157
|
},
|
|
172
|
-
mask: '蒙層'
|
|
173
|
-
quickenter: {
|
|
174
|
-
title: '快捷入口'
|
|
175
|
-
}
|
|
158
|
+
mask: '蒙層'
|
|
176
159
|
};
|
|
177
160
|
export default zhCN;
|