antd-mobile 5.38.1 → 5.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2x/README.md +8 -1
- package/2x/bundle/antd-mobile.cjs.development.js +2518 -1737
- package/2x/bundle/antd-mobile.cjs.js +7 -7
- package/2x/bundle/antd-mobile.es.development.js +1564 -783
- package/2x/bundle/antd-mobile.es.js +7316 -6670
- package/2x/bundle/antd-mobile.umd.development.js +2517 -1736
- package/2x/bundle/antd-mobile.umd.js +7 -7
- package/2x/bundle/style.css +23 -6
- package/2x/cjs/components/button/button.d.ts +2 -2
- package/2x/cjs/components/button/button.js +1 -0
- package/2x/cjs/components/calendar-picker/calendar-picker.d.ts +9 -9
- package/2x/cjs/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
- package/2x/cjs/components/calendar-picker-view/calendar-picker-view.js +21 -11
- package/2x/cjs/components/date-picker/date-picker-date-utils.d.ts +1 -1
- package/2x/cjs/components/date-picker/date-picker-date-utils.js +23 -8
- package/2x/cjs/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
- package/2x/cjs/components/date-picker/date-picker-quarter-utils.js +7 -2
- package/2x/cjs/components/date-picker/date-picker-week-utils.d.ts +3 -1
- package/2x/cjs/components/date-picker/date-picker-week-utils.js +12 -5
- package/2x/cjs/components/date-picker-view/date-picker-view.d.ts +5 -3
- package/2x/cjs/components/date-picker-view/date-picker-view.js +3 -3
- package/2x/cjs/components/date-picker-view/useRenderLabel.js +2 -2
- package/2x/cjs/components/ellipsis/useMeasure.js +7 -3
- package/2x/cjs/components/floating-panel/floating-panel.css +16 -2
- package/2x/cjs/components/floating-panel/floating-panel.d.ts +3 -1
- package/2x/cjs/components/floating-panel/floating-panel.js +43 -30
- package/2x/cjs/components/image-uploader/image-uploader.d.ts +3 -3
- package/2x/cjs/components/image-uploader/image-uploader.js +11 -11
- package/2x/cjs/components/image-viewer/image-viewer.d.ts +13 -4
- package/2x/cjs/components/image-viewer/image-viewer.js +8 -6
- package/2x/cjs/components/image-viewer/index.d.ts +4 -1
- package/2x/cjs/components/image-viewer/slide.d.ts +5 -1
- package/2x/cjs/components/image-viewer/slide.js +10 -5
- package/2x/cjs/components/image-viewer/slides.d.ts +4 -1
- package/2x/cjs/components/image-viewer/slides.js +14 -12
- package/2x/cjs/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/2x/cjs/components/passcode-input/passcode-input.d.ts +7 -5
- package/2x/cjs/components/passcode-input/passcode-input.js +7 -6
- package/2x/cjs/components/popover/popover.d.ts +2 -2
- package/2x/cjs/components/popover/popover.js +11 -11
- package/2x/cjs/components/popover/wrapper.d.ts +6 -9
- package/2x/cjs/components/popover/wrapper.js +32 -6
- package/2x/cjs/components/space/space.css +4 -4
- package/2x/cjs/components/swipe-action/swipe-action.d.ts +3 -1
- package/2x/cjs/components/swipe-action/swipe-action.js +25 -23
- package/2x/cjs/components/virtual-input/virtual-input.css +3 -0
- package/2x/cjs/components/virtual-input/virtual-input.js +34 -5
- package/2x/cjs/index.d.ts +1 -0
- package/2x/cjs/index.js +7 -0
- package/2x/cjs/locales/ar-SA.d.ts +1 -0
- package/2x/cjs/locales/ar-SA.js +1 -0
- package/2x/cjs/locales/base.d.ts +1 -0
- package/2x/cjs/locales/base.js +1 -0
- package/2x/cjs/locales/cnr-ME.d.ts +1 -0
- package/2x/cjs/locales/cnr-ME.js +1 -0
- package/2x/cjs/locales/da-DK.d.ts +1 -0
- package/2x/cjs/locales/de-DE.d.ts +1 -0
- package/2x/cjs/locales/de-DE.js +1 -0
- package/2x/cjs/locales/en-US.d.ts +1 -0
- package/2x/cjs/locales/es-ES.d.ts +1 -0
- package/2x/cjs/locales/fa-IR.d.ts +1 -0
- package/2x/cjs/locales/fr-FR.d.ts +1 -0
- package/2x/cjs/locales/hr-HR.d.ts +1 -0
- package/2x/cjs/locales/hr-HR.js +1 -0
- package/2x/cjs/locales/hu-HU.d.ts +1 -0
- package/2x/cjs/locales/id-ID.d.ts +1 -0
- package/2x/cjs/locales/in-ID.d.ts +1 -0
- package/2x/cjs/locales/in-ID.js +1 -0
- package/2x/cjs/locales/it-IT.d.ts +1 -0
- package/2x/cjs/locales/ja-JP.d.ts +1 -0
- package/2x/cjs/locales/kk-KZ.d.ts +1 -0
- package/2x/cjs/locales/ko-KR.d.ts +1 -0
- package/2x/cjs/locales/ms-MY.d.ts +1 -0
- package/2x/cjs/locales/ms-MY.js +1 -0
- package/2x/cjs/locales/nb-NO.d.ts +1 -0
- package/2x/cjs/locales/nl-NL.d.ts +1 -0
- package/2x/cjs/locales/pt-BR.d.ts +1 -0
- package/2x/cjs/locales/ru-RU.d.ts +1 -0
- package/2x/cjs/locales/ru-RU.js +8 -2
- package/2x/cjs/locales/sr-RS.d.ts +1 -0
- package/2x/cjs/locales/sr-RS.js +1 -0
- package/2x/cjs/locales/th-TH.d.ts +1 -0
- package/2x/cjs/locales/th-TH.js +1 -0
- package/2x/cjs/locales/tr-TR.d.ts +1 -0
- package/2x/cjs/locales/vi-VN.d.ts +1 -0
- package/2x/cjs/locales/vi-VN.js +1 -0
- package/2x/cjs/locales/zh-CN.js +1 -0
- package/2x/cjs/locales/zh-HK.d.ts +1 -0
- package/2x/cjs/locales/zh-TW.d.ts +1 -0
- package/2x/cjs/utils/render-to-body.d.ts +1 -1
- package/2x/cjs/utils/render-to-body.js +2 -9
- package/2x/cjs/utils/render.d.ts +1 -9
- package/2x/cjs/utils/render.js +10 -68
- package/2x/cjs/utils/unstable-render.d.ts +9 -0
- package/2x/cjs/utils/unstable-render.js +37 -0
- package/2x/es/components/button/button.d.ts +2 -2
- package/2x/es/components/button/button.js +1 -0
- package/2x/es/components/calendar-picker/calendar-picker.d.ts +9 -9
- package/2x/es/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
- package/2x/es/components/calendar-picker-view/calendar-picker-view.js +21 -11
- package/2x/es/components/date-picker/date-picker-date-utils.d.ts +1 -1
- package/2x/es/components/date-picker/date-picker-date-utils.js +23 -8
- package/2x/es/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
- package/2x/es/components/date-picker/date-picker-quarter-utils.js +7 -2
- package/2x/es/components/date-picker/date-picker-week-utils.d.ts +3 -1
- package/2x/es/components/date-picker/date-picker-week-utils.js +12 -5
- package/2x/es/components/date-picker-view/date-picker-view.d.ts +5 -3
- package/2x/es/components/date-picker-view/date-picker-view.js +4 -4
- package/2x/es/components/date-picker-view/useRenderLabel.js +2 -2
- package/2x/es/components/ellipsis/useMeasure.js +7 -3
- package/2x/es/components/floating-panel/floating-panel.css +16 -2
- package/2x/es/components/floating-panel/floating-panel.d.ts +3 -1
- package/2x/es/components/floating-panel/floating-panel.js +31 -19
- package/2x/es/components/image-uploader/image-uploader.d.ts +3 -3
- package/2x/es/components/image-uploader/image-uploader.js +11 -11
- package/2x/es/components/image-viewer/image-viewer.d.ts +13 -4
- package/2x/es/components/image-viewer/image-viewer.js +8 -6
- package/2x/es/components/image-viewer/index.d.ts +4 -1
- package/2x/es/components/image-viewer/slide.d.ts +5 -1
- package/2x/es/components/image-viewer/slide.js +11 -6
- package/2x/es/components/image-viewer/slides.d.ts +4 -1
- package/2x/es/components/image-viewer/slides.js +6 -4
- package/2x/es/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/2x/es/components/passcode-input/passcode-input.d.ts +7 -5
- package/2x/es/components/passcode-input/passcode-input.js +6 -5
- package/2x/es/components/popover/popover.d.ts +2 -2
- package/2x/es/components/popover/popover.js +10 -10
- package/2x/es/components/popover/wrapper.d.ts +6 -9
- package/2x/es/components/popover/wrapper.js +30 -5
- package/2x/es/components/space/space.css +4 -4
- package/2x/es/components/swipe-action/swipe-action.d.ts +3 -1
- package/2x/es/components/swipe-action/swipe-action.js +9 -7
- package/2x/es/components/virtual-input/virtual-input.css +3 -0
- package/2x/es/components/virtual-input/virtual-input.js +34 -5
- package/2x/es/index.d.ts +1 -0
- package/2x/es/index.js +3 -1
- package/2x/es/locales/ar-SA.d.ts +1 -0
- package/2x/es/locales/ar-SA.js +1 -0
- package/2x/es/locales/base.d.ts +1 -0
- package/2x/es/locales/base.js +1 -0
- package/2x/es/locales/cnr-ME.d.ts +1 -0
- package/2x/es/locales/cnr-ME.js +1 -0
- package/2x/es/locales/da-DK.d.ts +1 -0
- package/2x/es/locales/de-DE.d.ts +1 -0
- package/2x/es/locales/de-DE.js +1 -0
- package/2x/es/locales/en-US.d.ts +1 -0
- package/2x/es/locales/es-ES.d.ts +1 -0
- package/2x/es/locales/fa-IR.d.ts +1 -0
- package/2x/es/locales/fr-FR.d.ts +1 -0
- package/2x/es/locales/hr-HR.d.ts +1 -0
- package/2x/es/locales/hr-HR.js +1 -0
- package/2x/es/locales/hu-HU.d.ts +1 -0
- package/2x/es/locales/id-ID.d.ts +1 -0
- package/2x/es/locales/in-ID.d.ts +1 -0
- package/2x/es/locales/in-ID.js +1 -0
- package/2x/es/locales/it-IT.d.ts +1 -0
- package/2x/es/locales/ja-JP.d.ts +1 -0
- package/2x/es/locales/kk-KZ.d.ts +1 -0
- package/2x/es/locales/ko-KR.d.ts +1 -0
- package/2x/es/locales/ms-MY.d.ts +1 -0
- package/2x/es/locales/ms-MY.js +1 -0
- package/2x/es/locales/nb-NO.d.ts +1 -0
- package/2x/es/locales/nl-NL.d.ts +1 -0
- package/2x/es/locales/pt-BR.d.ts +1 -0
- package/2x/es/locales/ru-RU.d.ts +1 -0
- package/2x/es/locales/ru-RU.js +8 -2
- package/2x/es/locales/sr-RS.d.ts +1 -0
- package/2x/es/locales/sr-RS.js +1 -0
- package/2x/es/locales/th-TH.d.ts +1 -0
- package/2x/es/locales/th-TH.js +1 -0
- package/2x/es/locales/tr-TR.d.ts +1 -0
- package/2x/es/locales/vi-VN.d.ts +1 -0
- package/2x/es/locales/vi-VN.js +1 -0
- package/2x/es/locales/zh-CN.js +1 -0
- package/2x/es/locales/zh-HK.d.ts +1 -0
- package/2x/es/locales/zh-TW.d.ts +1 -0
- package/2x/es/utils/render-to-body.d.ts +1 -1
- package/2x/es/utils/render-to-body.js +2 -9
- package/2x/es/utils/render.d.ts +1 -9
- package/2x/es/utils/render.js +1 -65
- package/2x/es/utils/unstable-render.d.ts +9 -0
- package/2x/es/utils/unstable-render.js +28 -0
- package/2x/package.json +2 -2
- package/README.md +8 -1
- package/bundle/antd-mobile.cjs.development.js +2518 -1737
- package/bundle/antd-mobile.cjs.js +7 -7
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +1564 -783
- package/bundle/antd-mobile.es.js +7316 -6670
- package/bundle/antd-mobile.umd.development.js +2517 -1736
- package/bundle/antd-mobile.umd.js +7 -7
- package/bundle/style.css +1 -1
- package/cjs/components/button/button.d.ts +2 -2
- package/cjs/components/button/button.js +1 -0
- package/cjs/components/calendar-picker/calendar-picker.d.ts +9 -9
- package/cjs/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
- package/cjs/components/calendar-picker-view/calendar-picker-view.js +21 -11
- package/cjs/components/date-picker/date-picker-date-utils.d.ts +1 -1
- package/cjs/components/date-picker/date-picker-date-utils.js +23 -8
- package/cjs/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
- package/cjs/components/date-picker/date-picker-quarter-utils.js +7 -2
- package/cjs/components/date-picker/date-picker-week-utils.d.ts +3 -1
- package/cjs/components/date-picker/date-picker-week-utils.js +12 -5
- package/cjs/components/date-picker-view/date-picker-view.d.ts +5 -3
- package/cjs/components/date-picker-view/date-picker-view.js +3 -3
- package/cjs/components/date-picker-view/useRenderLabel.js +2 -2
- package/cjs/components/ellipsis/useMeasure.js +7 -3
- package/cjs/components/floating-panel/floating-panel.css +12 -2
- package/cjs/components/floating-panel/floating-panel.d.ts +3 -1
- package/cjs/components/floating-panel/floating-panel.js +43 -30
- package/cjs/components/image-uploader/image-uploader.d.ts +3 -3
- package/cjs/components/image-uploader/image-uploader.js +11 -11
- package/cjs/components/image-viewer/image-viewer.d.ts +13 -4
- package/cjs/components/image-viewer/image-viewer.js +8 -6
- package/cjs/components/image-viewer/index.d.ts +4 -1
- package/cjs/components/image-viewer/slide.d.ts +5 -1
- package/cjs/components/image-viewer/slide.js +10 -5
- package/cjs/components/image-viewer/slides.d.ts +4 -1
- package/cjs/components/image-viewer/slides.js +14 -12
- package/cjs/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/cjs/components/passcode-input/passcode-input.d.ts +7 -5
- package/cjs/components/passcode-input/passcode-input.js +7 -6
- package/cjs/components/popover/popover.d.ts +2 -2
- package/cjs/components/popover/popover.js +11 -11
- package/cjs/components/popover/wrapper.d.ts +6 -9
- package/cjs/components/popover/wrapper.js +32 -6
- package/cjs/components/space/space.css +3 -3
- package/cjs/components/swipe-action/swipe-action.d.ts +3 -1
- package/cjs/components/swipe-action/swipe-action.js +25 -23
- package/cjs/components/virtual-input/virtual-input.css +3 -0
- package/cjs/components/virtual-input/virtual-input.js +34 -5
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +7 -0
- package/cjs/locales/ar-SA.d.ts +1 -0
- package/cjs/locales/ar-SA.js +1 -0
- package/cjs/locales/base.d.ts +1 -0
- package/cjs/locales/base.js +1 -0
- package/cjs/locales/cnr-ME.d.ts +1 -0
- package/cjs/locales/cnr-ME.js +1 -0
- package/cjs/locales/da-DK.d.ts +1 -0
- package/cjs/locales/de-DE.d.ts +1 -0
- package/cjs/locales/de-DE.js +1 -0
- package/cjs/locales/en-US.d.ts +1 -0
- package/cjs/locales/es-ES.d.ts +1 -0
- package/cjs/locales/fa-IR.d.ts +1 -0
- package/cjs/locales/fr-FR.d.ts +1 -0
- package/cjs/locales/hr-HR.d.ts +1 -0
- package/cjs/locales/hr-HR.js +1 -0
- package/cjs/locales/hu-HU.d.ts +1 -0
- package/cjs/locales/id-ID.d.ts +1 -0
- package/cjs/locales/in-ID.d.ts +1 -0
- package/cjs/locales/in-ID.js +1 -0
- package/cjs/locales/it-IT.d.ts +1 -0
- package/cjs/locales/ja-JP.d.ts +1 -0
- package/cjs/locales/kk-KZ.d.ts +1 -0
- package/cjs/locales/ko-KR.d.ts +1 -0
- package/cjs/locales/ms-MY.d.ts +1 -0
- package/cjs/locales/ms-MY.js +1 -0
- package/cjs/locales/nb-NO.d.ts +1 -0
- package/cjs/locales/nl-NL.d.ts +1 -0
- package/cjs/locales/pt-BR.d.ts +1 -0
- package/cjs/locales/ru-RU.d.ts +1 -0
- package/cjs/locales/ru-RU.js +8 -2
- package/cjs/locales/sr-RS.d.ts +1 -0
- package/cjs/locales/sr-RS.js +1 -0
- package/cjs/locales/th-TH.d.ts +1 -0
- package/cjs/locales/th-TH.js +1 -0
- package/cjs/locales/tr-TR.d.ts +1 -0
- package/cjs/locales/vi-VN.d.ts +1 -0
- package/cjs/locales/vi-VN.js +1 -0
- package/cjs/locales/zh-CN.js +1 -0
- package/cjs/locales/zh-HK.d.ts +1 -0
- package/cjs/locales/zh-TW.d.ts +1 -0
- package/cjs/utils/render-to-body.d.ts +1 -1
- package/cjs/utils/render-to-body.js +2 -9
- package/cjs/utils/render.d.ts +1 -9
- package/cjs/utils/render.js +10 -68
- package/cjs/utils/unstable-render.d.ts +9 -0
- package/cjs/utils/unstable-render.js +37 -0
- package/es/components/button/button.d.ts +2 -2
- package/es/components/button/button.js +1 -0
- package/es/components/calendar-picker/calendar-picker.d.ts +9 -9
- package/es/components/calendar-picker-view/calendar-picker-view.d.ts +5 -4
- package/es/components/calendar-picker-view/calendar-picker-view.js +21 -11
- package/es/components/date-picker/date-picker-date-utils.d.ts +1 -1
- package/es/components/date-picker/date-picker-date-utils.js +23 -8
- package/es/components/date-picker/date-picker-quarter-utils.d.ts +3 -1
- package/es/components/date-picker/date-picker-quarter-utils.js +7 -2
- package/es/components/date-picker/date-picker-week-utils.d.ts +3 -1
- package/es/components/date-picker/date-picker-week-utils.js +12 -5
- package/es/components/date-picker-view/date-picker-view.d.ts +5 -3
- package/es/components/date-picker-view/date-picker-view.js +4 -4
- package/es/components/date-picker-view/useRenderLabel.js +2 -2
- package/es/components/ellipsis/useMeasure.js +7 -3
- package/es/components/floating-panel/floating-panel.css +12 -2
- package/es/components/floating-panel/floating-panel.d.ts +3 -1
- package/es/components/floating-panel/floating-panel.js +31 -19
- package/es/components/image-uploader/image-uploader.d.ts +3 -3
- package/es/components/image-uploader/image-uploader.js +11 -11
- package/es/components/image-viewer/image-viewer.d.ts +13 -4
- package/es/components/image-viewer/image-viewer.js +8 -6
- package/es/components/image-viewer/index.d.ts +4 -1
- package/es/components/image-viewer/slide.d.ts +5 -1
- package/es/components/image-viewer/slide.js +11 -6
- package/es/components/image-viewer/slides.d.ts +4 -1
- package/es/components/image-viewer/slides.js +6 -4
- package/es/components/number-keyboard/number-keyboard.d.ts +1 -1
- package/es/components/passcode-input/passcode-input.d.ts +7 -5
- package/es/components/passcode-input/passcode-input.js +6 -5
- package/es/components/popover/popover.d.ts +2 -2
- package/es/components/popover/popover.js +10 -10
- package/es/components/popover/wrapper.d.ts +6 -9
- package/es/components/popover/wrapper.js +30 -5
- package/es/components/space/space.css +3 -3
- package/es/components/swipe-action/swipe-action.d.ts +3 -1
- package/es/components/swipe-action/swipe-action.js +9 -7
- package/es/components/virtual-input/virtual-input.css +3 -0
- package/es/components/virtual-input/virtual-input.js +34 -5
- package/es/index.d.ts +1 -0
- package/es/index.js +3 -1
- package/es/locales/ar-SA.d.ts +1 -0
- package/es/locales/ar-SA.js +1 -0
- package/es/locales/base.d.ts +1 -0
- package/es/locales/base.js +1 -0
- package/es/locales/cnr-ME.d.ts +1 -0
- package/es/locales/cnr-ME.js +1 -0
- package/es/locales/da-DK.d.ts +1 -0
- package/es/locales/de-DE.d.ts +1 -0
- package/es/locales/de-DE.js +1 -0
- package/es/locales/en-US.d.ts +1 -0
- package/es/locales/es-ES.d.ts +1 -0
- package/es/locales/fa-IR.d.ts +1 -0
- package/es/locales/fr-FR.d.ts +1 -0
- package/es/locales/hr-HR.d.ts +1 -0
- package/es/locales/hr-HR.js +1 -0
- package/es/locales/hu-HU.d.ts +1 -0
- package/es/locales/id-ID.d.ts +1 -0
- package/es/locales/in-ID.d.ts +1 -0
- package/es/locales/in-ID.js +1 -0
- package/es/locales/it-IT.d.ts +1 -0
- package/es/locales/ja-JP.d.ts +1 -0
- package/es/locales/kk-KZ.d.ts +1 -0
- package/es/locales/ko-KR.d.ts +1 -0
- package/es/locales/ms-MY.d.ts +1 -0
- package/es/locales/ms-MY.js +1 -0
- package/es/locales/nb-NO.d.ts +1 -0
- package/es/locales/nl-NL.d.ts +1 -0
- package/es/locales/pt-BR.d.ts +1 -0
- package/es/locales/ru-RU.d.ts +1 -0
- package/es/locales/ru-RU.js +8 -2
- package/es/locales/sr-RS.d.ts +1 -0
- package/es/locales/sr-RS.js +1 -0
- package/es/locales/th-TH.d.ts +1 -0
- package/es/locales/th-TH.js +1 -0
- package/es/locales/tr-TR.d.ts +1 -0
- package/es/locales/vi-VN.d.ts +1 -0
- package/es/locales/vi-VN.js +1 -0
- package/es/locales/zh-CN.js +1 -0
- package/es/locales/zh-HK.d.ts +1 -0
- package/es/locales/zh-TW.d.ts +1 -0
- package/es/utils/render-to-body.d.ts +1 -1
- package/es/utils/render-to-body.js +2 -9
- package/es/utils/render.d.ts +1 -9
- package/es/utils/render.js +1 -65
- package/es/utils/unstable-render.d.ts +9 -0
- package/es/utils/unstable-render.js +28 -0
- package/package.json +2 -2
- package/umd/antd-mobile.js +1 -1
|
@@ -4,10 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Wrapper = void 0;
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
var _findDOMNode = _interopRequireWildcard(require("rc-util/lib/Dom/findDOMNode"));
|
|
8
|
+
var _ref = require("rc-util/lib/ref");
|
|
9
|
+
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
+
class LegacyWrapper extends React.Component {
|
|
11
13
|
constructor() {
|
|
12
14
|
super(...arguments);
|
|
13
15
|
this.element = null;
|
|
@@ -17,7 +19,7 @@ class Wrapper extends _react.default.Component {
|
|
|
17
19
|
}
|
|
18
20
|
componentDidUpdate() {
|
|
19
21
|
// eslint-disable-next-line
|
|
20
|
-
const node = (0,
|
|
22
|
+
const node = (0, _findDOMNode.default)(this);
|
|
21
23
|
if (node instanceof Element) {
|
|
22
24
|
this.element = node;
|
|
23
25
|
} else {
|
|
@@ -25,7 +27,31 @@ class Wrapper extends _react.default.Component {
|
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
render() {
|
|
28
|
-
return
|
|
30
|
+
return this.props.children;
|
|
29
31
|
}
|
|
30
32
|
}
|
|
33
|
+
const Wrapper = React.forwardRef(({
|
|
34
|
+
children
|
|
35
|
+
}, ref) => {
|
|
36
|
+
const elementRef = React.useRef(null);
|
|
37
|
+
const legacyWrapperRef = React.createRef();
|
|
38
|
+
const child = React.Children.only(children);
|
|
39
|
+
const canUseRef = (0, _ref.supportRef)(children);
|
|
40
|
+
const getElement = () => {
|
|
41
|
+
var _a;
|
|
42
|
+
if (canUseRef) {
|
|
43
|
+
return (0, _findDOMNode.getDOM)(elementRef.current);
|
|
44
|
+
}
|
|
45
|
+
return (_a = legacyWrapperRef.current) === null || _a === void 0 ? void 0 : _a.element;
|
|
46
|
+
};
|
|
47
|
+
React.useImperativeHandle(ref, () => ({
|
|
48
|
+
element: getElement()
|
|
49
|
+
}));
|
|
50
|
+
const composedRef = (0, _ref.composeRef)(elementRef, (0, _ref.getNodeRef)(child));
|
|
51
|
+
return canUseRef ? React.cloneElement(child, {
|
|
52
|
+
ref: composedRef
|
|
53
|
+
}) : React.createElement(LegacyWrapper, {
|
|
54
|
+
ref: legacyWrapperRef
|
|
55
|
+
}, child);
|
|
56
|
+
});
|
|
31
57
|
exports.Wrapper = Wrapper;
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
flex-direction: row;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.adm-space-horizontal
|
|
29
|
-
margin-right: var(--gap-horizontal);
|
|
28
|
+
.adm-space-horizontal:not(:empty) {
|
|
29
|
+
margin-right: calc(var(--gap-horizontal) * -1);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.adm-space-horizontal > .adm-space-item
|
|
33
|
-
margin-right:
|
|
32
|
+
.adm-space-horizontal > .adm-space-item {
|
|
33
|
+
margin-right: var(--gap-horizontal);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.adm-space-horizontal.adm-space-wrap {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { NativeProps } from '../../utils/native-props';
|
|
4
4
|
import { PropagationEvent } from '../../utils/with-stop-propagation';
|
|
5
5
|
declare type SideType = 'left' | 'right';
|
|
@@ -23,6 +23,7 @@ export declare type SwipeActionProps = {
|
|
|
23
23
|
children: ReactNode;
|
|
24
24
|
stopPropagation?: PropagationEvent[];
|
|
25
25
|
onActionsReveal?: (side: SideType) => void;
|
|
26
|
+
onClose?: () => void;
|
|
26
27
|
} & NativeProps<'--background'>;
|
|
27
28
|
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
28
29
|
rightActions?: Action[] | undefined;
|
|
@@ -33,6 +34,7 @@ export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
|
33
34
|
children: ReactNode;
|
|
34
35
|
stopPropagation?: PropagationEvent[] | undefined;
|
|
35
36
|
onActionsReveal?: ((side: SideType) => void) | undefined;
|
|
37
|
+
onClose?: (() => void) | undefined;
|
|
36
38
|
} & {
|
|
37
39
|
className?: string | undefined;
|
|
38
40
|
style?: (React.CSSProperties & Partial<Record<"--background", string>>) | undefined;
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.SwipeAction = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _withDefaultProps = require("../../utils/with-default-props");
|
|
9
7
|
var _web = require("@react-spring/web");
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var _nearest = require("../../utils/nearest");
|
|
8
|
+
var _react = require("@use-gesture/react");
|
|
9
|
+
var _react2 = _interopRequireWildcard(require("react"));
|
|
13
10
|
var _nativeProps = require("../../utils/native-props");
|
|
11
|
+
var _nearest = require("../../utils/nearest");
|
|
12
|
+
var _withDefaultProps = require("../../utils/with-default-props");
|
|
14
13
|
var _withStopPropagation = require("../../utils/with-stop-propagation");
|
|
14
|
+
var _button = _interopRequireDefault(require("../button"));
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
16
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -23,11 +23,11 @@ const defaultProps = {
|
|
|
23
23
|
closeOnAction: true,
|
|
24
24
|
stopPropagation: []
|
|
25
25
|
};
|
|
26
|
-
const SwipeAction = (0,
|
|
26
|
+
const SwipeAction = (0, _react2.forwardRef)((p, ref) => {
|
|
27
27
|
const props = (0, _withDefaultProps.mergeProps)(defaultProps, p);
|
|
28
|
-
const rootRef = (0,
|
|
29
|
-
const leftRef = (0,
|
|
30
|
-
const rightRef = (0,
|
|
28
|
+
const rootRef = (0, _react2.useRef)(null);
|
|
29
|
+
const leftRef = (0, _react2.useRef)(null);
|
|
30
|
+
const rightRef = (0, _react2.useRef)(null);
|
|
31
31
|
function getWidth(ref) {
|
|
32
32
|
const element = ref.current;
|
|
33
33
|
if (!element) return 0;
|
|
@@ -48,14 +48,14 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
|
|
|
48
48
|
friction: 30
|
|
49
49
|
}
|
|
50
50
|
}), []);
|
|
51
|
-
const draggingRef = (0,
|
|
52
|
-
const dragCancelRef = (0,
|
|
51
|
+
const draggingRef = (0, _react2.useRef)(false);
|
|
52
|
+
const dragCancelRef = (0, _react2.useRef)(null);
|
|
53
53
|
function forceCancelDrag() {
|
|
54
54
|
var _a;
|
|
55
55
|
(_a = dragCancelRef.current) === null || _a === void 0 ? void 0 : _a.call(dragCancelRef);
|
|
56
56
|
draggingRef.current = false;
|
|
57
57
|
}
|
|
58
|
-
const bind = (0,
|
|
58
|
+
const bind = (0, _react.useDrag)(state => {
|
|
59
59
|
var _a;
|
|
60
60
|
dragCancelRef.current = state.cancel;
|
|
61
61
|
if (!state.intentional) return;
|
|
@@ -108,13 +108,15 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
|
|
|
108
108
|
},
|
|
109
109
|
triggerAllEvents: true
|
|
110
110
|
});
|
|
111
|
-
|
|
111
|
+
const close = () => {
|
|
112
|
+
var _a;
|
|
112
113
|
api.start({
|
|
113
114
|
x: 0
|
|
114
115
|
});
|
|
115
116
|
forceCancelDrag();
|
|
116
|
-
|
|
117
|
-
|
|
117
|
+
(_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
|
|
118
|
+
};
|
|
119
|
+
(0, _react2.useImperativeHandle)(ref, () => ({
|
|
118
120
|
show: (side = 'right') => {
|
|
119
121
|
var _a;
|
|
120
122
|
if (side === 'right') {
|
|
@@ -130,7 +132,7 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
|
|
|
130
132
|
},
|
|
131
133
|
close
|
|
132
134
|
}));
|
|
133
|
-
(0,
|
|
135
|
+
(0, _react2.useEffect)(() => {
|
|
134
136
|
if (!props.closeOnTouchOutside) return;
|
|
135
137
|
function handle(e) {
|
|
136
138
|
if (x.get() === 0) {
|
|
@@ -149,7 +151,7 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
|
|
|
149
151
|
function renderAction(action) {
|
|
150
152
|
var _a, _b;
|
|
151
153
|
const color = (_a = action.color) !== null && _a !== void 0 ? _a : 'light';
|
|
152
|
-
return
|
|
154
|
+
return _react2.default.createElement(_button.default, {
|
|
153
155
|
key: action.key,
|
|
154
156
|
className: `${classPrefix}-action-button`,
|
|
155
157
|
style: {
|
|
@@ -165,7 +167,7 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
|
|
|
165
167
|
}
|
|
166
168
|
}, action.text);
|
|
167
169
|
}
|
|
168
|
-
return (0, _nativeProps.withNativeProps)(props,
|
|
170
|
+
return (0, _nativeProps.withNativeProps)(props, _react2.default.createElement("div", Object.assign({
|
|
169
171
|
className: classPrefix
|
|
170
172
|
}, bind(), {
|
|
171
173
|
ref: rootRef,
|
|
@@ -175,15 +177,15 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
|
|
|
175
177
|
e.preventDefault();
|
|
176
178
|
}
|
|
177
179
|
}
|
|
178
|
-
}),
|
|
180
|
+
}), _react2.default.createElement(_web.animated.div, {
|
|
179
181
|
className: `${classPrefix}-track`,
|
|
180
182
|
style: {
|
|
181
183
|
x
|
|
182
184
|
}
|
|
183
|
-
}, (0, _withStopPropagation.withStopPropagation)(props.stopPropagation,
|
|
185
|
+
}, (0, _withStopPropagation.withStopPropagation)(props.stopPropagation, _react2.default.createElement("div", {
|
|
184
186
|
className: `${classPrefix}-actions ${classPrefix}-actions-left`,
|
|
185
187
|
ref: leftRef
|
|
186
|
-
}, props.leftActions.map(renderAction))),
|
|
188
|
+
}, props.leftActions.map(renderAction))), _react2.default.createElement("div", {
|
|
187
189
|
className: `${classPrefix}-content`,
|
|
188
190
|
onClickCapture: e => {
|
|
189
191
|
if (x.goal !== 0) {
|
|
@@ -192,11 +194,11 @@ const SwipeAction = (0, _react.forwardRef)((p, ref) => {
|
|
|
192
194
|
close();
|
|
193
195
|
}
|
|
194
196
|
}
|
|
195
|
-
},
|
|
197
|
+
}, _react2.default.createElement(_web.animated.div, {
|
|
196
198
|
style: {
|
|
197
199
|
pointerEvents: x.to(v => v !== 0 && x.goal !== 0 ? 'none' : 'auto')
|
|
198
200
|
}
|
|
199
|
-
}, props.children)), (0, _withStopPropagation.withStopPropagation)(props.stopPropagation,
|
|
201
|
+
}, props.children)), (0, _withStopPropagation.withStopPropagation)(props.stopPropagation, _react2.default.createElement("div", {
|
|
200
202
|
className: `${classPrefix}-actions ${classPrefix}-actions-right`,
|
|
201
203
|
ref: rightRef
|
|
202
204
|
}, props.rightActions.map(renderAction))))));
|
|
@@ -28,8 +28,10 @@
|
|
|
28
28
|
z-index: 1;
|
|
29
29
|
width: 100%;
|
|
30
30
|
max-width: 100%;
|
|
31
|
+
min-height: 1.5em;
|
|
31
32
|
overflow-y: hidden;
|
|
32
33
|
overflow-x: scroll;
|
|
34
|
+
letter-spacing: 2px;
|
|
33
35
|
scrollbar-width: none;
|
|
34
36
|
}
|
|
35
37
|
|
|
@@ -55,6 +57,7 @@
|
|
|
55
57
|
height: 1.3em;
|
|
56
58
|
vertical-align: top;
|
|
57
59
|
margin-right: 2px;
|
|
60
|
+
position: absolute;
|
|
58
61
|
}
|
|
59
62
|
|
|
60
63
|
.adm-virtual-input-caret {
|
|
@@ -29,6 +29,7 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
|
|
|
29
29
|
const rootRef = (0, _react.useRef)(null);
|
|
30
30
|
const contentRef = (0, _react.useRef)(null);
|
|
31
31
|
const [hasFocus, setHasFocus] = (0, _react.useState)(false);
|
|
32
|
+
const [caretPosition, setCaretPosition] = (0, _react.useState)(value.length); // 光标位置,从 0 开始,如值是 2 则表示光标在顺序下标为 2 的数字之前
|
|
32
33
|
const clearIcon = (0, _withDefaultProps.mergeProp)(_react.default.createElement(_antdMobileIcons.CloseCircleFill, null), componentConfig.clearIcon, props.clearIcon);
|
|
33
34
|
function scrollToEnd() {
|
|
34
35
|
const root = rootRef.current;
|
|
@@ -72,12 +73,17 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
|
|
|
72
73
|
const keyboardElement = keyboard && _react.default.cloneElement(keyboard, {
|
|
73
74
|
onInput: v => {
|
|
74
75
|
var _a, _b;
|
|
75
|
-
|
|
76
|
+
const newValue = value.substring(0, caretPosition) + v + value.substring(caretPosition);
|
|
77
|
+
setValue(newValue);
|
|
78
|
+
setCaretPosition(c => c + 1);
|
|
76
79
|
(_b = (_a = keyboard.props).onInput) === null || _b === void 0 ? void 0 : _b.call(_a, v);
|
|
77
80
|
},
|
|
78
81
|
onDelete: () => {
|
|
79
82
|
var _a, _b;
|
|
80
|
-
|
|
83
|
+
if (caretPosition === 0) return;
|
|
84
|
+
const newValue = value.substring(0, caretPosition - 1) + value.substring(caretPosition);
|
|
85
|
+
setValue(newValue);
|
|
86
|
+
setCaretPosition(caretPosition - 1);
|
|
81
87
|
(_b = (_a = keyboard.props).onDelete) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
82
88
|
},
|
|
83
89
|
visible: hasFocus,
|
|
@@ -95,6 +101,21 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
|
|
|
95
101
|
},
|
|
96
102
|
getContainer: null
|
|
97
103
|
});
|
|
104
|
+
// 点击输入框时,将光标置于最后
|
|
105
|
+
const setCaretPositionToEnd = () => {
|
|
106
|
+
setCaretPosition(value.length);
|
|
107
|
+
};
|
|
108
|
+
// 点击单个字符时,根据点击位置置于字符前或后
|
|
109
|
+
const changeCaretPosition = index => e => {
|
|
110
|
+
e.stopPropagation();
|
|
111
|
+
const rect = e.target.getBoundingClientRect();
|
|
112
|
+
const midX = rect.left + rect.width / 2;
|
|
113
|
+
const clickX = e.clientX;
|
|
114
|
+
// 点击区域是否偏右
|
|
115
|
+
const isRight = clickX > midX;
|
|
116
|
+
setCaretPosition(isRight ? index + 1 : index);
|
|
117
|
+
};
|
|
118
|
+
const chars = (value + '').split('');
|
|
98
119
|
return (0, _nativeProps.withNativeProps)(mergedProps, _react.default.createElement("div", {
|
|
99
120
|
ref: rootRef,
|
|
100
121
|
className: (0, _classnames.default)(classPrefix, {
|
|
@@ -109,17 +130,25 @@ const VirtualInput = (0, _react.forwardRef)((props, ref) => {
|
|
|
109
130
|
className: `${classPrefix}-content`,
|
|
110
131
|
ref: contentRef,
|
|
111
132
|
"aria-disabled": mergedProps.disabled,
|
|
112
|
-
"aria-label": mergedProps.placeholder
|
|
113
|
-
|
|
133
|
+
"aria-label": mergedProps.placeholder,
|
|
134
|
+
onClick: setCaretPositionToEnd
|
|
135
|
+
}, chars.slice(0, caretPosition).map((i, index) => _react.default.createElement("span", {
|
|
136
|
+
key: index,
|
|
137
|
+
onClick: changeCaretPosition(index)
|
|
138
|
+
}, i)), _react.default.createElement("div", {
|
|
114
139
|
className: `${classPrefix}-caret-container`
|
|
115
140
|
}, hasFocus && _react.default.createElement("div", {
|
|
116
141
|
className: `${classPrefix}-caret`
|
|
117
|
-
}))
|
|
142
|
+
})), chars.slice(caretPosition).map((i, index) => _react.default.createElement("span", {
|
|
143
|
+
key: index,
|
|
144
|
+
onClick: changeCaretPosition(index + caretPosition)
|
|
145
|
+
}, i))), mergedProps.clearable && !!value && hasFocus && _react.default.createElement("div", {
|
|
118
146
|
className: `${classPrefix}-clear`,
|
|
119
147
|
onClick: e => {
|
|
120
148
|
var _a;
|
|
121
149
|
e.stopPropagation();
|
|
122
150
|
setValue('');
|
|
151
|
+
setCaretPosition(0);
|
|
123
152
|
(_a = mergedProps.onClear) === null || _a === void 0 ? void 0 : _a.call(mergedProps);
|
|
124
153
|
},
|
|
125
154
|
role: 'button',
|
package/2x/cjs/index.d.ts
CHANGED
|
@@ -168,3 +168,4 @@ export { default as Footer } from './components/footer';
|
|
|
168
168
|
export type { FooterProps } from './components/footer';
|
|
169
169
|
export { createErrorBlock } from './components/error-block';
|
|
170
170
|
export { reduceMotion, restoreMotion } from './utils/reduce-and-restore-motion';
|
|
171
|
+
export { unstableSetRender } from './utils/unstable-render';
|
package/2x/cjs/index.js
CHANGED
|
@@ -525,6 +525,12 @@ Object.defineProperty(exports, "setDefaultConfig", {
|
|
|
525
525
|
return _configProvider.setDefaultConfig;
|
|
526
526
|
}
|
|
527
527
|
});
|
|
528
|
+
Object.defineProperty(exports, "unstableSetRender", {
|
|
529
|
+
enumerable: true,
|
|
530
|
+
get: function () {
|
|
531
|
+
return _unstableRender.unstableSetRender;
|
|
532
|
+
}
|
|
533
|
+
});
|
|
528
534
|
Object.defineProperty(exports, "useConfig", {
|
|
529
535
|
enumerable: true,
|
|
530
536
|
get: function () {
|
|
@@ -616,6 +622,7 @@ var _virtualInput = _interopRequireDefault(require("./components/virtual-input")
|
|
|
616
622
|
var _waterMark = _interopRequireDefault(require("./components/water-mark"));
|
|
617
623
|
var _footer = _interopRequireDefault(require("./components/footer"));
|
|
618
624
|
var _reduceAndRestoreMotion = require("./utils/reduce-and-restore-motion");
|
|
625
|
+
var _unstableRender = require("./utils/unstable-render");
|
|
619
626
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
620
627
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
621
628
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
package/2x/cjs/locales/ar-SA.js
CHANGED
|
@@ -20,6 +20,7 @@ const arSA = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
20
20
|
'confirm': 'تأكيد',
|
|
21
21
|
'start': 'يبدأ',
|
|
22
22
|
'end': 'ينهي',
|
|
23
|
+
'startAndEnd': 'يبدأ/ينهي',
|
|
23
24
|
'today': 'اليوم',
|
|
24
25
|
'markItems': ['واحد', 'اثنين', 'ثلاثة', 'أربعة', 'خمسة', 'ستة', 'يوم'],
|
|
25
26
|
'yearAndMonth': '${year} سنة ${month} شهر'
|
package/2x/cjs/locales/base.d.ts
CHANGED
package/2x/cjs/locales/base.js
CHANGED
package/2x/cjs/locales/cnr-ME.js
CHANGED
|
@@ -20,6 +20,7 @@ const cnrME = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
20
20
|
confirm: 'Potvrdi',
|
|
21
21
|
start: 'početak',
|
|
22
22
|
end: 'kraj',
|
|
23
|
+
startAndEnd: 'početak/kraj',
|
|
23
24
|
today: 'danas',
|
|
24
25
|
markItems: ['Pon', 'Uto', 'Sre', 'Čet', 'Pet', 'Sub', 'Ned'],
|
|
25
26
|
yearAndMonth: '${year}/${month}'
|
package/2x/cjs/locales/de-DE.js
CHANGED
|
@@ -20,6 +20,7 @@ const deDE = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
20
20
|
'confirm': 'Bestätigen',
|
|
21
21
|
'start': 'Starten',
|
|
22
22
|
'end': 'Beenden',
|
|
23
|
+
'startAndEnd': 'Starten/Beenden',
|
|
23
24
|
'today': 'Heute',
|
|
24
25
|
'markItems': ['I', 'II', 'III', 'IV', 'V', 'Sechs', 'Tag'],
|
|
25
26
|
'yearAndMonth': '${year}Jahr${month}Monat'
|
package/2x/cjs/locales/hr-HR.js
CHANGED
|
@@ -20,6 +20,7 @@ const hrHR = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
20
20
|
confirm: 'Potvrdi',
|
|
21
21
|
start: 'početak',
|
|
22
22
|
end: 'kraj',
|
|
23
|
+
startAndEnd: 'početak/kraj',
|
|
23
24
|
today: 'danas',
|
|
24
25
|
markItems: ['Pon', 'Uto', 'Sri', 'Čet', 'Pet', 'Sub', 'Ned'],
|
|
25
26
|
yearAndMonth: '${year}/${month}'
|
package/2x/cjs/locales/in-ID.js
CHANGED
|
@@ -20,6 +20,7 @@ const inID = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
20
20
|
confirm: 'OK',
|
|
21
21
|
start: 'Mulai',
|
|
22
22
|
end: 'Selesai',
|
|
23
|
+
startAndEnd: 'Mulai/Selesai',
|
|
23
24
|
today: 'Hari Ini',
|
|
24
25
|
markItems: ['Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu', 'Minggu'],
|
|
25
26
|
yearAndMonth: '${year} Tahun ${month} Bulan'
|
package/2x/cjs/locales/ms-MY.js
CHANGED
|
@@ -20,6 +20,7 @@ const msMY = (0, _mergeLocale.mergeLocale)(_base.base, {
|
|
|
20
20
|
'confirm': 'Ok',
|
|
21
21
|
'start': 'Mula',
|
|
22
22
|
'end': 'Tamat',
|
|
23
|
+
'startAndEnd': 'Mula/Tamat',
|
|
23
24
|
'today': 'Hari ini',
|
|
24
25
|
'markItems': ['Satu', 'Dua', 'Tiga', 'Empat', 'Lima', 'Enam', 'Hari'],
|
|
25
26
|
'yearAndMonth': 'Tahun${year} bulan ${month}'
|