antd-mobile 5.10.1 → 5.10.4
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/cjs/components/auto-center/auto-center.d.ts +4 -2
- package/2x/cjs/components/badge/badge.d.ts +1 -0
- package/2x/cjs/components/calendar/calendar.js +1 -1
- package/2x/cjs/components/capsule-tabs/capsule-tabs.d.ts +3 -1
- package/2x/cjs/components/card/card.d.ts +1 -0
- package/2x/cjs/components/check-list/check-list.d.ts +2 -1
- package/2x/cjs/components/checkbox/checkbox.d.ts +1 -0
- package/2x/cjs/components/checkbox/group.d.ts +2 -1
- package/2x/cjs/components/collapse/collapse.d.ts +4 -1
- package/2x/cjs/components/config-provider/config-provider.d.ts +2 -1
- package/2x/cjs/components/date-picker/date-picker.d.ts +1 -1
- package/2x/cjs/components/date-picker/date-picker.js +2 -1
- package/2x/cjs/components/date-picker-view/date-picker-view.d.ts +1 -1
- package/2x/cjs/components/date-picker-view/date-picker-view.js +1 -0
- package/2x/cjs/components/divider/divider.d.ts +2 -1
- package/2x/cjs/components/dropdown/item.d.ts +2 -1
- package/2x/cjs/components/error-block/error-block.d.ts +2 -1
- package/2x/cjs/components/floating-bubble/floating-bubble.d.ts +1 -0
- package/2x/cjs/components/form/form-item.css +1 -1
- package/2x/cjs/components/form/form-item.js +2 -1
- package/2x/cjs/components/form/header.d.ts +4 -2
- package/2x/cjs/components/form/index.css +1 -1
- package/2x/cjs/components/form/index.d.ts +3 -1
- package/2x/cjs/components/grid/grid.d.ts +2 -0
- package/2x/cjs/components/image-uploader/image-uploader.d.ts +2 -1
- package/2x/cjs/components/image-uploader/image-uploader.js +2 -1
- package/2x/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -1
- package/2x/cjs/components/infinite-scroll/infinite-scroll.js +6 -1
- package/2x/cjs/components/input/input.d.ts +2 -2
- package/2x/cjs/components/input/input.js +2 -1
- package/2x/cjs/components/jumbo-tabs/jumbo-tabs.d.ts +3 -1
- package/2x/cjs/components/list/list.css +1 -0
- package/2x/cjs/components/list/list.d.ts +1 -0
- package/2x/cjs/components/mask/mask.css +1 -0
- package/2x/cjs/components/mask/mask.d.ts +1 -0
- package/2x/cjs/components/mask/mask.js +8 -1
- package/2x/cjs/components/nav-bar/nav-bar.d.ts +2 -1
- package/2x/cjs/components/picker/picker.d.ts +1 -0
- package/2x/cjs/components/picker/picker.js +1 -0
- package/2x/cjs/components/picker-view/picker-view.d.ts +1 -0
- package/2x/cjs/components/picker-view/picker-view.js +4 -2
- package/2x/cjs/components/picker-view/wheel.d.ts +1 -0
- package/2x/cjs/components/picker-view/wheel.js +24 -4
- package/2x/cjs/components/popover/wrapper.d.ts +3 -1
- package/2x/cjs/components/popup/popup.d.ts +1 -0
- package/2x/cjs/components/pull-to-refresh/pull-to-refresh.d.ts +2 -1
- package/2x/cjs/components/pull-to-refresh/pull-to-refresh.js +2 -2
- package/2x/cjs/components/radio/group.d.ts +2 -1
- package/2x/cjs/components/radio/radio.d.ts +1 -0
- package/2x/cjs/components/safe-area/safe-area.css +2 -2
- package/2x/cjs/components/side-bar/side-bar.d.ts +2 -0
- package/2x/cjs/components/space/space.d.ts +1 -0
- package/2x/cjs/components/steps/steps.d.ts +2 -1
- package/2x/cjs/components/swiper/index.d.ts +1 -0
- package/2x/cjs/components/swiper/swiper-item.d.ts +1 -0
- package/2x/cjs/components/tab-bar/tab-bar.d.ts +2 -0
- package/2x/cjs/components/tabs/tabs.d.ts +3 -1
- package/2x/cjs/components/tag/tag.d.ts +1 -0
- package/2x/cjs/components/text-area/text-area.d.ts +2 -2
- package/2x/cjs/components/text-area/text-area.js +2 -1
- package/2x/cjs/global/global.css +1 -0
- package/2x/cjs/global/theme.css +1 -0
- package/2x/cjs/locales/base.d.ts +3 -0
- package/2x/cjs/locales/base.js +4 -1
- package/2x/cjs/locales/en-US.d.ts +3 -0
- package/2x/cjs/locales/es-ES.d.ts +3 -0
- package/2x/cjs/locales/es-ES.js +1 -1
- package/2x/cjs/locales/fa-IR.d.ts +3 -0
- package/2x/cjs/locales/ko-KR.d.ts +105 -0
- package/2x/cjs/locales/ko-KR.js +115 -0
- package/2x/cjs/locales/zh-CN.d.ts +3 -0
- package/2x/cjs/locales/zh-CN.js +4 -1
- package/2x/cjs/locales/zh-HK.d.ts +3 -0
- package/2x/cjs/locales/zh-HK.js +60 -1
- package/2x/cjs/locales/zh-TW.d.ts +3 -0
- package/2x/cjs/locales/zh-TW.js +60 -1
- package/2x/cjs/utils/get-scroll-parent.js +7 -4
- package/2x/es/components/auto-center/auto-center.d.ts +4 -2
- package/2x/es/components/badge/badge.d.ts +1 -0
- package/2x/es/components/calendar/calendar.js +1 -1
- package/2x/es/components/capsule-tabs/capsule-tabs.d.ts +3 -1
- package/2x/es/components/card/card.d.ts +1 -0
- package/2x/es/components/check-list/check-list.d.ts +2 -1
- package/2x/es/components/checkbox/checkbox.d.ts +1 -0
- package/2x/es/components/checkbox/group.d.ts +2 -1
- package/2x/es/components/collapse/collapse.d.ts +4 -1
- package/2x/es/components/config-provider/config-provider.d.ts +2 -1
- package/2x/es/components/date-picker/date-picker.d.ts +1 -1
- package/2x/es/components/date-picker/date-picker.js +2 -1
- package/2x/es/components/date-picker-view/date-picker-view.d.ts +1 -1
- package/2x/es/components/date-picker-view/date-picker-view.js +1 -0
- package/2x/es/components/divider/divider.d.ts +2 -1
- package/2x/es/components/dropdown/item.d.ts +2 -1
- package/2x/es/components/error-block/error-block.d.ts +2 -1
- package/2x/es/components/floating-bubble/floating-bubble.d.ts +1 -0
- package/2x/es/components/form/form-item.css +1 -1
- package/2x/es/components/form/form-item.js +2 -1
- package/2x/es/components/form/header.d.ts +4 -2
- package/2x/es/components/form/index.css +1 -1
- package/2x/es/components/form/index.d.ts +3 -1
- package/2x/es/components/grid/grid.d.ts +2 -0
- package/2x/es/components/image-uploader/image-uploader.d.ts +2 -1
- package/2x/es/components/image-uploader/image-uploader.js +2 -1
- package/2x/es/components/infinite-scroll/infinite-scroll.d.ts +2 -1
- package/2x/es/components/infinite-scroll/infinite-scroll.js +5 -1
- package/2x/es/components/input/input.d.ts +2 -2
- package/2x/es/components/input/input.js +2 -1
- package/2x/es/components/jumbo-tabs/jumbo-tabs.d.ts +3 -1
- package/2x/es/components/list/list.css +1 -0
- package/2x/es/components/list/list.d.ts +1 -0
- package/2x/es/components/mask/mask.css +1 -0
- package/2x/es/components/mask/mask.d.ts +1 -0
- package/2x/es/components/mask/mask.js +8 -1
- package/2x/es/components/nav-bar/nav-bar.d.ts +2 -1
- package/2x/es/components/picker/picker.d.ts +1 -0
- package/2x/es/components/picker/picker.js +1 -0
- package/2x/es/components/picker-view/picker-view.d.ts +1 -0
- package/2x/es/components/picker-view/picker-view.js +4 -2
- package/2x/es/components/picker-view/wheel.d.ts +1 -0
- package/2x/es/components/picker-view/wheel.js +24 -5
- package/2x/es/components/popover/wrapper.d.ts +3 -1
- package/2x/es/components/popup/popup.d.ts +1 -0
- package/2x/es/components/pull-to-refresh/pull-to-refresh.d.ts +2 -1
- package/2x/es/components/pull-to-refresh/pull-to-refresh.js +2 -2
- package/2x/es/components/radio/group.d.ts +2 -1
- package/2x/es/components/radio/radio.d.ts +1 -0
- package/2x/es/components/safe-area/safe-area.css +2 -2
- package/2x/es/components/side-bar/side-bar.d.ts +2 -0
- package/2x/es/components/space/space.d.ts +1 -0
- package/2x/es/components/steps/steps.d.ts +2 -1
- package/2x/es/components/swiper/index.d.ts +1 -0
- package/2x/es/components/swiper/swiper-item.d.ts +1 -0
- package/2x/es/components/tab-bar/tab-bar.d.ts +2 -0
- package/2x/es/components/tabs/tabs.d.ts +3 -1
- package/2x/es/components/tag/tag.d.ts +1 -0
- package/2x/es/components/text-area/text-area.d.ts +2 -2
- package/2x/es/components/text-area/text-area.js +2 -1
- package/2x/es/global/global.css +1 -0
- package/2x/es/global/theme.css +1 -0
- package/2x/es/locales/base.d.ts +3 -0
- package/2x/es/locales/base.js +4 -1
- package/2x/es/locales/en-US.d.ts +3 -0
- package/2x/es/locales/es-ES.d.ts +3 -0
- package/2x/es/locales/es-ES.js +1 -1
- package/2x/es/locales/fa-IR.d.ts +3 -0
- package/2x/es/locales/ko-KR.d.ts +105 -0
- package/2x/es/locales/ko-KR.js +105 -0
- package/2x/es/locales/zh-CN.d.ts +3 -0
- package/2x/es/locales/zh-CN.js +4 -1
- package/2x/es/locales/zh-HK.d.ts +3 -0
- package/2x/es/locales/zh-HK.js +60 -1
- package/2x/es/locales/zh-TW.d.ts +3 -0
- package/2x/es/locales/zh-TW.js +60 -1
- package/2x/es/utils/get-scroll-parent.js +7 -4
- package/2x/package.json +2 -1
- package/bundle/antd-mobile.cjs.js +63 -20
- package/bundle/antd-mobile.es.js +64 -21
- package/bundle/style.css +6 -3
- package/cjs/components/auto-center/auto-center.d.ts +4 -2
- package/cjs/components/badge/badge.d.ts +1 -0
- package/cjs/components/calendar/calendar.js +1 -1
- package/cjs/components/capsule-tabs/capsule-tabs.d.ts +3 -1
- package/cjs/components/card/card.d.ts +1 -0
- package/cjs/components/check-list/check-list.d.ts +2 -1
- package/cjs/components/checkbox/checkbox.d.ts +1 -0
- package/cjs/components/checkbox/group.d.ts +2 -1
- package/cjs/components/collapse/collapse.d.ts +4 -1
- package/cjs/components/config-provider/config-provider.d.ts +2 -1
- package/cjs/components/date-picker/date-picker.d.ts +1 -1
- package/cjs/components/date-picker/date-picker.js +2 -1
- package/cjs/components/date-picker-view/date-picker-view.d.ts +1 -1
- package/cjs/components/date-picker-view/date-picker-view.js +1 -0
- package/cjs/components/divider/divider.d.ts +2 -1
- package/cjs/components/dropdown/item.d.ts +2 -1
- package/cjs/components/error-block/error-block.d.ts +2 -1
- package/cjs/components/floating-bubble/floating-bubble.d.ts +1 -0
- package/cjs/components/form/form-item.css +1 -1
- package/cjs/components/form/form-item.js +2 -1
- package/cjs/components/form/header.d.ts +4 -2
- package/cjs/components/form/index.css +1 -1
- package/cjs/components/form/index.d.ts +3 -1
- package/cjs/components/grid/grid.d.ts +2 -0
- package/cjs/components/image-uploader/image-uploader.d.ts +2 -1
- package/cjs/components/image-uploader/image-uploader.js +2 -1
- package/cjs/components/infinite-scroll/infinite-scroll.d.ts +2 -1
- package/cjs/components/infinite-scroll/infinite-scroll.js +6 -1
- package/cjs/components/input/input.d.ts +2 -2
- package/cjs/components/input/input.js +2 -1
- package/cjs/components/jumbo-tabs/jumbo-tabs.d.ts +3 -1
- package/cjs/components/list/list.css +1 -0
- package/cjs/components/list/list.d.ts +1 -0
- package/cjs/components/mask/mask.css +1 -0
- package/cjs/components/mask/mask.d.ts +1 -0
- package/cjs/components/mask/mask.js +8 -1
- package/cjs/components/nav-bar/nav-bar.d.ts +2 -1
- package/cjs/components/picker/picker.d.ts +1 -0
- package/cjs/components/picker/picker.js +1 -0
- package/cjs/components/picker-view/picker-view.d.ts +1 -0
- package/cjs/components/picker-view/picker-view.js +4 -2
- package/cjs/components/picker-view/wheel.d.ts +1 -0
- package/cjs/components/picker-view/wheel.js +24 -4
- package/cjs/components/popover/wrapper.d.ts +3 -1
- package/cjs/components/popup/popup.d.ts +1 -0
- package/cjs/components/pull-to-refresh/pull-to-refresh.d.ts +2 -1
- package/cjs/components/pull-to-refresh/pull-to-refresh.js +2 -2
- package/cjs/components/radio/group.d.ts +2 -1
- package/cjs/components/radio/radio.d.ts +1 -0
- package/cjs/components/safe-area/safe-area.css +2 -2
- package/cjs/components/side-bar/side-bar.d.ts +2 -0
- package/cjs/components/space/space.d.ts +1 -0
- package/cjs/components/steps/steps.d.ts +2 -1
- package/cjs/components/swiper/index.d.ts +1 -0
- package/cjs/components/swiper/swiper-item.d.ts +1 -0
- package/cjs/components/tab-bar/tab-bar.d.ts +2 -0
- package/cjs/components/tabs/tabs.d.ts +3 -1
- package/cjs/components/tag/tag.d.ts +1 -0
- package/cjs/components/text-area/text-area.d.ts +2 -2
- package/cjs/components/text-area/text-area.js +2 -1
- package/cjs/global/global.css +1 -0
- package/cjs/global/theme.css +1 -0
- package/cjs/locales/base.d.ts +3 -0
- package/cjs/locales/base.js +4 -1
- package/cjs/locales/en-US.d.ts +3 -0
- package/cjs/locales/es-ES.d.ts +3 -0
- package/cjs/locales/es-ES.js +1 -1
- package/cjs/locales/fa-IR.d.ts +3 -0
- package/cjs/locales/ko-KR.d.ts +105 -0
- package/cjs/locales/ko-KR.js +115 -0
- package/cjs/locales/zh-CN.d.ts +3 -0
- package/cjs/locales/zh-CN.js +4 -1
- package/cjs/locales/zh-HK.d.ts +3 -0
- package/cjs/locales/zh-HK.js +60 -1
- package/cjs/locales/zh-TW.d.ts +3 -0
- package/cjs/locales/zh-TW.js +60 -1
- package/cjs/utils/get-scroll-parent.js +7 -4
- package/es/components/auto-center/auto-center.d.ts +4 -2
- package/es/components/badge/badge.d.ts +1 -0
- package/es/components/calendar/calendar.js +1 -1
- package/es/components/capsule-tabs/capsule-tabs.d.ts +3 -1
- package/es/components/card/card.d.ts +1 -0
- package/es/components/check-list/check-list.d.ts +2 -1
- package/es/components/checkbox/checkbox.d.ts +1 -0
- package/es/components/checkbox/group.d.ts +2 -1
- package/es/components/collapse/collapse.d.ts +4 -1
- package/es/components/config-provider/config-provider.d.ts +2 -1
- package/es/components/date-picker/date-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.js +2 -1
- package/es/components/date-picker-view/date-picker-view.d.ts +1 -1
- package/es/components/date-picker-view/date-picker-view.js +1 -0
- package/es/components/divider/divider.d.ts +2 -1
- package/es/components/dropdown/item.d.ts +2 -1
- package/es/components/error-block/error-block.d.ts +2 -1
- package/es/components/floating-bubble/floating-bubble.d.ts +1 -0
- package/es/components/form/form-item.css +1 -1
- package/es/components/form/form-item.js +2 -1
- package/es/components/form/header.d.ts +4 -2
- package/es/components/form/index.css +1 -1
- package/es/components/form/index.d.ts +3 -1
- package/es/components/grid/grid.d.ts +2 -0
- package/es/components/image-uploader/image-uploader.d.ts +2 -1
- package/es/components/image-uploader/image-uploader.js +2 -1
- package/es/components/infinite-scroll/infinite-scroll.d.ts +2 -1
- package/es/components/infinite-scroll/infinite-scroll.js +5 -1
- package/es/components/input/input.d.ts +2 -2
- package/es/components/input/input.js +2 -1
- package/es/components/jumbo-tabs/jumbo-tabs.d.ts +3 -1
- package/es/components/list/list.css +1 -0
- package/es/components/list/list.d.ts +1 -0
- package/es/components/mask/mask.css +1 -0
- package/es/components/mask/mask.d.ts +1 -0
- package/es/components/mask/mask.js +8 -1
- package/es/components/nav-bar/nav-bar.d.ts +2 -1
- package/es/components/picker/picker.d.ts +1 -0
- package/es/components/picker/picker.js +1 -0
- package/es/components/picker-view/picker-view.d.ts +1 -0
- package/es/components/picker-view/picker-view.js +4 -2
- package/es/components/picker-view/wheel.d.ts +1 -0
- package/es/components/picker-view/wheel.js +24 -5
- package/es/components/popover/wrapper.d.ts +3 -1
- package/es/components/popup/popup.d.ts +1 -0
- package/es/components/pull-to-refresh/pull-to-refresh.d.ts +2 -1
- package/es/components/pull-to-refresh/pull-to-refresh.js +2 -2
- package/es/components/radio/group.d.ts +2 -1
- package/es/components/radio/radio.d.ts +1 -0
- package/es/components/safe-area/safe-area.css +2 -2
- package/es/components/side-bar/side-bar.d.ts +2 -0
- package/es/components/space/space.d.ts +1 -0
- package/es/components/steps/steps.d.ts +2 -1
- package/es/components/swiper/index.d.ts +1 -0
- package/es/components/swiper/swiper-item.d.ts +1 -0
- package/es/components/tab-bar/tab-bar.d.ts +2 -0
- package/es/components/tabs/tabs.d.ts +3 -1
- package/es/components/tag/tag.d.ts +1 -0
- package/es/components/text-area/text-area.d.ts +2 -2
- package/es/components/text-area/text-area.js +2 -1
- package/es/global/global.css +1 -0
- package/es/global/theme.css +1 -0
- package/es/locales/base.d.ts +3 -0
- package/es/locales/base.js +4 -1
- package/es/locales/en-US.d.ts +3 -0
- package/es/locales/es-ES.d.ts +3 -0
- package/es/locales/es-ES.js +1 -1
- package/es/locales/fa-IR.d.ts +3 -0
- package/es/locales/ko-KR.d.ts +105 -0
- package/es/locales/ko-KR.js +105 -0
- package/es/locales/zh-CN.d.ts +3 -0
- package/es/locales/zh-CN.js +4 -1
- package/es/locales/zh-HK.d.ts +3 -0
- package/es/locales/zh-HK.js +60 -1
- package/es/locales/zh-TW.d.ts +3 -0
- package/es/locales/zh-TW.js +60 -1
- package/es/utils/get-scroll-parent.js +7 -4
- package/package.json +2 -1
- package/umd/antd-mobile.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
declare type NativeInputProps = React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
|
|
4
|
-
export declare type InputProps = Pick<NativeInputProps, 'maxLength' | 'minLength' | 'autoComplete' | 'autoFocus' | 'pattern' | 'inputMode' | 'type' | 'onFocus' | 'onBlur' | 'autoCapitalize' | 'autoCorrect' | 'onKeyDown' | 'onKeyUp' | 'onCompositionStart' | 'onCompositionEnd'> & {
|
|
4
|
+
export declare type InputProps = Pick<NativeInputProps, 'maxLength' | 'minLength' | 'autoComplete' | 'autoFocus' | 'pattern' | 'inputMode' | 'type' | 'onFocus' | 'onBlur' | 'autoCapitalize' | 'autoCorrect' | 'onKeyDown' | 'onKeyUp' | 'onCompositionStart' | 'onCompositionEnd' | 'onClick'> & {
|
|
5
5
|
value?: string;
|
|
6
6
|
defaultValue?: string;
|
|
7
7
|
onChange?: (val: string) => void;
|
|
@@ -22,7 +22,7 @@ export declare type InputRef = {
|
|
|
22
22
|
blur: () => void;
|
|
23
23
|
nativeElement: HTMLInputElement | null;
|
|
24
24
|
};
|
|
25
|
-
export declare const Input: React.ForwardRefExoticComponent<Pick<NativeInputProps, "pattern" | "type" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onKeyDown" | "onKeyUp" | "autoCapitalize" | "autoCorrect" | "inputMode" | "autoComplete" | "autoFocus" | "maxLength" | "minLength"> & {
|
|
25
|
+
export declare const Input: React.ForwardRefExoticComponent<Pick<NativeInputProps, "pattern" | "onClick" | "type" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "onKeyDown" | "onKeyUp" | "autoCapitalize" | "autoCorrect" | "inputMode" | "autoComplete" | "autoFocus" | "maxLength" | "minLength"> & {
|
|
26
26
|
value?: string | undefined;
|
|
27
27
|
defaultValue?: string | undefined;
|
|
28
28
|
onChange?: ((val: string) => void) | undefined;
|
|
@@ -131,7 +131,8 @@ const Input = (0, _react.forwardRef)((p, ref) => {
|
|
|
131
131
|
onKeyDown: handleKeydown,
|
|
132
132
|
onKeyUp: props.onKeyUp,
|
|
133
133
|
onCompositionStart: props.onCompositionStart,
|
|
134
|
-
onCompositionEnd: props.onCompositionEnd
|
|
134
|
+
onCompositionEnd: props.onCompositionEnd,
|
|
135
|
+
onClick: props.onClick
|
|
135
136
|
}), props.clearable && !!value && !props.readOnly && hasFocus && _react.default.createElement("div", {
|
|
136
137
|
className: `${classPrefix}-clear`,
|
|
137
138
|
onMouseDown: e => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
1
|
+
import React, { FC, ReactNode } from 'react';
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
export declare type JumboTabProps = {
|
|
4
4
|
title: ReactNode;
|
|
@@ -6,11 +6,13 @@ export declare type JumboTabProps = {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
forceRender?: boolean;
|
|
8
8
|
destroyOnClose?: boolean;
|
|
9
|
+
children?: React.ReactNode;
|
|
9
10
|
} & NativeProps;
|
|
10
11
|
export declare const JumboTab: FC<JumboTabProps>;
|
|
11
12
|
export declare type JumboTabsProps = {
|
|
12
13
|
activeKey?: string | null;
|
|
13
14
|
defaultActiveKey?: string | null;
|
|
14
15
|
onChange?: (key: string) => void;
|
|
16
|
+
children?: React.ReactNode;
|
|
15
17
|
} & NativeProps;
|
|
16
18
|
export declare const JumboTabs: FC<JumboTabsProps>;
|
|
@@ -3,5 +3,6 @@ import { NativeProps } from '../../utils/native-props';
|
|
|
3
3
|
export declare type ListProps = {
|
|
4
4
|
header?: ReactNode;
|
|
5
5
|
mode?: 'default' | 'card';
|
|
6
|
+
children?: ReactNode;
|
|
6
7
|
} & NativeProps<'--header-font-size' | '--prefix-width' | '--prefix-padding-right' | '--align-items' | '--active-background-color' | '--border-inner' | '--border-top' | '--border-bottom' | '--padding-left' | '--padding-right' | '--font-size'>;
|
|
7
8
|
export declare const List: FC<ListProps>;
|
|
@@ -98,7 +98,14 @@ const Mask = p => {
|
|
|
98
98
|
opacity
|
|
99
99
|
}, props.style), {
|
|
100
100
|
display: active ? 'unset' : 'none'
|
|
101
|
-
})
|
|
101
|
+
}),
|
|
102
|
+
onClick: e => {
|
|
103
|
+
var _a;
|
|
104
|
+
|
|
105
|
+
if (e.target === e.currentTarget) {
|
|
106
|
+
(_a = props.onMaskClick) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
102
109
|
}, props.onMaskClick && _react.default.createElement("div", {
|
|
103
110
|
className: `${classPrefix}-aria-button`,
|
|
104
111
|
role: 'button',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
1
|
+
import React, { FC, ReactNode } from 'react';
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
export declare type NavBarProps = {
|
|
4
4
|
back?: string | null;
|
|
@@ -6,5 +6,6 @@ export declare type NavBarProps = {
|
|
|
6
6
|
left?: ReactNode;
|
|
7
7
|
right?: ReactNode;
|
|
8
8
|
onBack?: () => void;
|
|
9
|
+
children?: React.ReactNode;
|
|
9
10
|
} & NativeProps<'--height' | '--border-bottom'>;
|
|
10
11
|
export declare const NavBar: FC<NavBarProps>;
|
|
@@ -17,5 +17,6 @@ export declare type PickerProps = {
|
|
|
17
17
|
cancelText?: ReactNode;
|
|
18
18
|
children?: (items: (PickerColumnItem | null)[]) => ReactNode;
|
|
19
19
|
renderLabel?: (item: PickerColumnItem) => ReactNode;
|
|
20
|
+
mouseWheel?: boolean;
|
|
20
21
|
} & Pick<PopupProps, 'getContainer' | 'afterShow' | 'afterClose' | 'onClick' | 'stopPropagation'> & NativeProps<'--header-button-font-size' | '--title-font-size' | '--item-font-size' | '--item-height'>;
|
|
21
22
|
export declare const Picker: React.NamedExoticComponent<PickerProps>;
|
|
@@ -16,6 +16,7 @@ export declare type PickerViewProps = {
|
|
|
16
16
|
columns: PickerColumn[] | ((value: PickerValue[]) => PickerColumn[]);
|
|
17
17
|
value?: PickerValue[];
|
|
18
18
|
defaultValue?: PickerValue[];
|
|
19
|
+
mouseWheel?: boolean;
|
|
19
20
|
onChange?: (value: PickerValue[], extend: PickerValueExtend) => void;
|
|
20
21
|
} & Pick<PickerProps, 'renderLabel'> & NativeProps<'--height' | '--item-height' | '--item-font-size'>;
|
|
21
22
|
export declare const PickerView: React.NamedExoticComponent<PickerViewProps>;
|
|
@@ -26,7 +26,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
26
26
|
const classPrefix = `adm-picker-view`;
|
|
27
27
|
const defaultProps = {
|
|
28
28
|
defaultValue: [],
|
|
29
|
-
renderLabel: _pickerUtils.defaultRenderLabel
|
|
29
|
+
renderLabel: _pickerUtils.defaultRenderLabel,
|
|
30
|
+
mouseWheel: false
|
|
30
31
|
};
|
|
31
32
|
const PickerView = (0, _react.memo)(p => {
|
|
32
33
|
const props = (0, _withDefaultProps.mergeProps)(defaultProps, p);
|
|
@@ -76,7 +77,8 @@ const PickerView = (0, _react.memo)(p => {
|
|
|
76
77
|
column: column,
|
|
77
78
|
value: innerValue[index],
|
|
78
79
|
onSelect: handleSelect,
|
|
79
|
-
renderLabel: props.renderLabel
|
|
80
|
+
renderLabel: props.renderLabel,
|
|
81
|
+
mouseWheel: props.mouseWheel
|
|
80
82
|
})), _react.default.createElement("div", {
|
|
81
83
|
className: `${classPrefix}-mask`
|
|
82
84
|
}, _react.default.createElement("div", {
|
|
@@ -21,6 +21,8 @@ var _ahooks = require("ahooks");
|
|
|
21
21
|
|
|
22
22
|
var _measureCssLength = require("../../utils/measure-css-length");
|
|
23
23
|
|
|
24
|
+
var _supportsPassive = require("../../utils/supports-passive");
|
|
25
|
+
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
27
|
|
|
26
28
|
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); }
|
|
@@ -92,7 +94,7 @@ const Wheel = (0, _react.memo)(props => {
|
|
|
92
94
|
onSelect(item.value);
|
|
93
95
|
}
|
|
94
96
|
|
|
95
|
-
const
|
|
97
|
+
const handleDrag = state => {
|
|
96
98
|
draggingRef.current = true;
|
|
97
99
|
const min = -((column.length - 1) * itemHeight.current);
|
|
98
100
|
const max = 0;
|
|
@@ -108,13 +110,31 @@ const Wheel = (0, _react.memo)(props => {
|
|
|
108
110
|
y: (0, _rubberband.rubberbandIfOutOfBounds)(position, min, max, itemHeight.current * 50, 0.2)
|
|
109
111
|
});
|
|
110
112
|
}
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
(0, _react2.useDrag)(state => {
|
|
116
|
+
state.event.stopPropagation();
|
|
117
|
+
handleDrag(state);
|
|
111
118
|
}, {
|
|
112
119
|
axis: 'y',
|
|
113
120
|
from: () => [0, y.get()],
|
|
114
121
|
filterTaps: true,
|
|
115
122
|
pointer: {
|
|
116
123
|
touch: true
|
|
117
|
-
}
|
|
124
|
+
},
|
|
125
|
+
target: rootRef
|
|
126
|
+
});
|
|
127
|
+
(0, _react2.useWheel)(state => {
|
|
128
|
+
state.event.stopPropagation();
|
|
129
|
+
handleDrag(state);
|
|
130
|
+
}, {
|
|
131
|
+
axis: 'y',
|
|
132
|
+
from: () => [0, y.get()],
|
|
133
|
+
preventDefault: true,
|
|
134
|
+
target: props.mouseWheel ? rootRef : undefined,
|
|
135
|
+
eventOptions: _supportsPassive.supportsPassive ? {
|
|
136
|
+
passive: false
|
|
137
|
+
} : false
|
|
118
138
|
});
|
|
119
139
|
let selectedIndex = null;
|
|
120
140
|
|
|
@@ -151,10 +171,10 @@ const Wheel = (0, _react.memo)(props => {
|
|
|
151
171
|
}, "-")));
|
|
152
172
|
}
|
|
153
173
|
|
|
154
|
-
return _react.default.createElement("div",
|
|
174
|
+
return _react.default.createElement("div", {
|
|
155
175
|
ref: rootRef,
|
|
156
176
|
className: `${classPrefix}-column`
|
|
157
|
-
},
|
|
177
|
+
}, _react.default.createElement(_web.animated.div, {
|
|
158
178
|
style: {
|
|
159
179
|
translateY: y
|
|
160
180
|
},
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare class Wrapper extends React.Component<{
|
|
2
|
+
export declare class Wrapper extends React.Component<{
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
}, {}> {
|
|
3
5
|
element: Element | null;
|
|
4
6
|
componentDidMount(): void;
|
|
5
7
|
componentDidUpdate(): void;
|
|
@@ -18,5 +18,6 @@ export declare type PopupProps = {
|
|
|
18
18
|
maskStyle?: React.CSSProperties;
|
|
19
19
|
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
20
20
|
stopPropagation?: PropagationEvent[];
|
|
21
|
+
children?: React.ReactNode;
|
|
21
22
|
} & NativeProps<'--z-index'>;
|
|
22
23
|
export declare const Popup: FC<PopupProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
1
|
+
import React, { FC, ReactNode } from 'react';
|
|
2
2
|
export declare type PullStatus = 'pulling' | 'canRelease' | 'refreshing' | 'complete';
|
|
3
3
|
export declare type PullToRefreshProps = {
|
|
4
4
|
onRefresh?: () => Promise<any>;
|
|
@@ -11,6 +11,7 @@ export declare type PullToRefreshProps = {
|
|
|
11
11
|
threshold?: number;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
renderText?: (status: PullStatus) => ReactNode;
|
|
14
|
+
children?: React.ReactNode;
|
|
14
15
|
};
|
|
15
16
|
export declare const defaultProps: {
|
|
16
17
|
pullingText: string;
|
|
@@ -35,7 +35,7 @@ const classPrefix = `adm-pull-to-refresh`;
|
|
|
35
35
|
const defaultProps = {
|
|
36
36
|
pullingText: '下拉刷新',
|
|
37
37
|
canReleaseText: '释放立即刷新',
|
|
38
|
-
refreshingText: '
|
|
38
|
+
refreshingText: '加载中...',
|
|
39
39
|
completeText: '刷新成功',
|
|
40
40
|
completeDelay: 500,
|
|
41
41
|
disabled: false,
|
|
@@ -50,7 +50,7 @@ const PullToRefresh = p => {
|
|
|
50
50
|
locale
|
|
51
51
|
} = (0, _configProvider.useConfig)();
|
|
52
52
|
const props = (0, _withDefaultProps.mergeProps)(defaultProps, {
|
|
53
|
-
refreshingText: locale.common.loading
|
|
53
|
+
refreshingText: `${locale.common.loading}...`,
|
|
54
54
|
pullingText: locale.PullToRefresh.pulling,
|
|
55
55
|
canReleaseText: locale.PullToRefresh.canRelease,
|
|
56
56
|
completeText: locale.PullToRefresh.complete
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
import { RadioValue } from '.';
|
|
3
3
|
export interface RadioGroupProps {
|
|
4
4
|
value?: RadioValue | null;
|
|
5
5
|
onChange?: (val: RadioValue) => void;
|
|
6
6
|
defaultValue?: RadioValue | null;
|
|
7
7
|
disabled?: boolean;
|
|
8
|
+
children?: React.ReactNode;
|
|
8
9
|
}
|
|
9
10
|
export declare const Group: FC<RadioGroupProps>;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
width: 100%;
|
|
4
4
|
}
|
|
5
5
|
.adm-safe-area-position-top {
|
|
6
|
-
padding-top: env(safe-area-inset-top);
|
|
6
|
+
padding-top: calc(env(safe-area-inset-top) * var(--adm-hd));
|
|
7
7
|
}
|
|
8
8
|
.adm-safe-area-position-bottom {
|
|
9
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
9
|
+
padding-bottom: calc(env(safe-area-inset-bottom) * var(--adm-hd));
|
|
10
10
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { NativeProps } from '../../utils/native-props';
|
|
3
4
|
export declare type SideBarItemProps = {
|
|
4
5
|
title?: ReactNode;
|
|
@@ -10,5 +11,6 @@ export declare type SideBarProps = {
|
|
|
10
11
|
activeKey?: string | null;
|
|
11
12
|
defaultActiveKey?: string | null;
|
|
12
13
|
onChange?: (key: string) => void;
|
|
14
|
+
children?: React.ReactNode;
|
|
13
15
|
} & NativeProps<'--width' | '--height' | '--item-border-radius' | '--background-color'>;
|
|
14
16
|
export declare const SideBar: FC<SideBarProps>;
|
|
@@ -7,5 +7,6 @@ export declare type SpaceProps = {
|
|
|
7
7
|
wrap?: boolean;
|
|
8
8
|
block?: boolean;
|
|
9
9
|
onClick?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
10
|
+
children?: React.ReactNode;
|
|
10
11
|
} & NativeProps<'--gap' | '--gap-vertical' | '--gap-horizontal'>;
|
|
11
12
|
export declare const Space: FC<SpaceProps>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
declare type Direction = 'horizontal' | 'vertical';
|
|
4
4
|
export declare type StepsProps = {
|
|
5
5
|
current?: number;
|
|
6
6
|
direction?: Direction;
|
|
7
|
+
children?: React.ReactNode;
|
|
7
8
|
} & NativeProps<'--title-font-size' | '--description-font-size' | '--indicator-margin-right' | '--icon-size'>;
|
|
8
9
|
export declare const Steps: FC<StepsProps>;
|
|
9
10
|
export {};
|
|
@@ -19,6 +19,7 @@ declare const _default: import("react").ForwardRefExoticComponent<{
|
|
|
19
19
|
} & import("../../utils/native-props").NativeProps<"--border-radius" | "--width" | "--height" | "--track-padding"> & import("react").RefAttributes<import("./swiper").SwiperRef>> & {
|
|
20
20
|
Item: import("react").FC<{
|
|
21
21
|
onClick?: ((e: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
22
|
+
children?: import("react").ReactNode;
|
|
22
23
|
} & import("../../utils/native-props").NativeProps<never>>;
|
|
23
24
|
};
|
|
24
25
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import React, { FC } from 'react';
|
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
declare type Props = {
|
|
4
4
|
onClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
5
|
+
children?: React.ReactNode;
|
|
5
6
|
} & NativeProps;
|
|
6
7
|
export declare const SwiperItem: FC<Props>;
|
|
7
8
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FC, ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { NativeProps } from '../../utils/native-props';
|
|
3
4
|
import { BadgeProps } from '../badge';
|
|
4
5
|
export declare type TabBarItemProps = {
|
|
@@ -12,5 +13,6 @@ export declare type TabBarProps = {
|
|
|
12
13
|
defaultActiveKey?: string | null;
|
|
13
14
|
onChange?: (key: string) => void;
|
|
14
15
|
safeArea?: boolean;
|
|
16
|
+
children?: React.ReactNode;
|
|
15
17
|
} & NativeProps;
|
|
16
18
|
export declare const TabBar: FC<TabBarProps>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
1
|
+
import React, { FC, ReactNode } from 'react';
|
|
2
2
|
import { NativeProps } from '../../utils/native-props';
|
|
3
3
|
export declare type TabProps = {
|
|
4
4
|
title: ReactNode;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
forceRender?: boolean;
|
|
7
7
|
destroyOnClose?: boolean;
|
|
8
|
+
children?: ReactNode;
|
|
8
9
|
} & NativeProps;
|
|
9
10
|
export declare const Tab: FC<TabProps>;
|
|
10
11
|
export declare type TabsProps = {
|
|
@@ -13,5 +14,6 @@ export declare type TabsProps = {
|
|
|
13
14
|
activeLineMode?: 'auto' | 'full' | 'fixed';
|
|
14
15
|
stretch?: boolean;
|
|
15
16
|
onChange?: (key: string) => void;
|
|
17
|
+
children?: React.ReactNode;
|
|
16
18
|
} & NativeProps<'--fixed-active-line-width' | '--active-line-height' | '--active-line-border-radius' | '--title-font-size' | '--content-padding'>;
|
|
17
19
|
export declare const Tabs: FC<TabsProps>;
|
|
@@ -5,5 +5,6 @@ export declare type TagProps = {
|
|
|
5
5
|
fill?: 'solid' | 'outline';
|
|
6
6
|
round?: boolean;
|
|
7
7
|
onClick?: (e: React.MouseEvent<HTMLSpanElement, MouseEvent>) => void;
|
|
8
|
+
children?: React.ReactNode;
|
|
8
9
|
} & NativeProps<'--border-color' | '--background-color' | '--text-color' | '--border-radius'>;
|
|
9
10
|
export declare const Tag: FC<TagProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
import { NativeProps } from '../../utils/native-props';
|
|
4
|
-
export declare type TextAreaProps = Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, 'autoComplete' | 'autoFocus' | 'disabled' | 'readOnly' | 'onFocus' | 'onBlur' | 'onCompositionStart' | 'onCompositionEnd'> & {
|
|
4
|
+
export declare type TextAreaProps = Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, 'autoComplete' | 'autoFocus' | 'disabled' | 'readOnly' | 'onFocus' | 'onBlur' | 'onCompositionStart' | 'onCompositionEnd' | 'onClick'> & {
|
|
5
5
|
onChange?: (val: string) => void;
|
|
6
6
|
value?: string;
|
|
7
7
|
defaultValue?: string;
|
|
@@ -20,7 +20,7 @@ export declare type TextAreaRef = {
|
|
|
20
20
|
focus: () => void;
|
|
21
21
|
blur: () => void;
|
|
22
22
|
};
|
|
23
|
-
export declare const TextArea: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "disabled" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "autoComplete" | "autoFocus" | "readOnly"> & {
|
|
23
|
+
export declare const TextArea: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "onClick" | "disabled" | "onCompositionEnd" | "onCompositionStart" | "onFocus" | "onBlur" | "autoComplete" | "autoFocus" | "readOnly"> & {
|
|
24
24
|
onChange?: ((val: string) => void) | undefined;
|
|
25
25
|
value?: string | undefined;
|
|
26
26
|
defaultValue?: string | undefined;
|
|
@@ -131,7 +131,8 @@ const TextArea = (0, _react.forwardRef)((p, ref) => {
|
|
|
131
131
|
disabled: props.disabled,
|
|
132
132
|
readOnly: props.readOnly,
|
|
133
133
|
onFocus: props.onFocus,
|
|
134
|
-
onBlur: props.onBlur
|
|
134
|
+
onBlur: props.onBlur,
|
|
135
|
+
onClick: props.onClick
|
|
135
136
|
}), count));
|
|
136
137
|
});
|
|
137
138
|
exports.TextArea = TextArea;
|
package/cjs/global/global.css
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
--adm-border-color: #eeeeee;
|
|
10
10
|
--adm-font-size-main: 13px;
|
|
11
11
|
--adm-color-text: #333333;
|
|
12
|
+
--adm-hd: 1;
|
|
12
13
|
--adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
|
|
13
14
|
helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
|
|
14
15
|
'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
|
package/cjs/global/theme.css
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
--adm-border-color: #eeeeee;
|
|
10
10
|
--adm-font-size-main: 13px;
|
|
11
11
|
--adm-color-text: #333333;
|
|
12
|
+
--adm-hd: 1;
|
|
12
13
|
--adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
|
|
13
14
|
helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
|
|
14
15
|
'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
|
package/cjs/locales/base.d.ts
CHANGED
package/cjs/locales/base.js
CHANGED
|
@@ -10,7 +10,7 @@ const base = {
|
|
|
10
10
|
common: {
|
|
11
11
|
confirm: 'Confirm',
|
|
12
12
|
cancel: 'Cancel',
|
|
13
|
-
loading: 'Loading
|
|
13
|
+
loading: 'Loading'
|
|
14
14
|
},
|
|
15
15
|
Calendar: {
|
|
16
16
|
markItems: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
|
|
@@ -94,6 +94,9 @@ const base = {
|
|
|
94
94
|
ImageUploader: {
|
|
95
95
|
uploading: 'Uploading...'
|
|
96
96
|
},
|
|
97
|
+
InfiniteScroll: {
|
|
98
|
+
noMore: 'No more'
|
|
99
|
+
},
|
|
97
100
|
Mask: {
|
|
98
101
|
name: 'Mask'
|
|
99
102
|
},
|
package/cjs/locales/en-US.d.ts
CHANGED
package/cjs/locales/es-ES.d.ts
CHANGED
package/cjs/locales/es-ES.js
CHANGED
package/cjs/locales/fa-IR.d.ts
CHANGED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
declare const koKR: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
};
|
|
8
|
+
Calendar: {
|
|
9
|
+
markItems: string[];
|
|
10
|
+
renderYearAndMonth: (year: number, month: number) => string;
|
|
11
|
+
};
|
|
12
|
+
Cascader: {
|
|
13
|
+
placeholder: string;
|
|
14
|
+
};
|
|
15
|
+
Dialog: {
|
|
16
|
+
ok: string;
|
|
17
|
+
};
|
|
18
|
+
ErrorBlock: {
|
|
19
|
+
default: {
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
busy: {
|
|
24
|
+
title: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
disconnected: {
|
|
28
|
+
title: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
empty: {
|
|
32
|
+
title: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
Form: {
|
|
37
|
+
required: string;
|
|
38
|
+
optional: string;
|
|
39
|
+
defaultValidateMessages: {
|
|
40
|
+
default: string;
|
|
41
|
+
required: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
whitespace: string;
|
|
44
|
+
date: {
|
|
45
|
+
format: string;
|
|
46
|
+
parse: string;
|
|
47
|
+
invalid: string;
|
|
48
|
+
};
|
|
49
|
+
types: {
|
|
50
|
+
string: string;
|
|
51
|
+
method: string;
|
|
52
|
+
array: string;
|
|
53
|
+
object: string;
|
|
54
|
+
number: string;
|
|
55
|
+
date: string;
|
|
56
|
+
boolean: string;
|
|
57
|
+
integer: string;
|
|
58
|
+
float: string;
|
|
59
|
+
regexp: string;
|
|
60
|
+
email: string;
|
|
61
|
+
url: string;
|
|
62
|
+
hex: string;
|
|
63
|
+
};
|
|
64
|
+
string: {
|
|
65
|
+
len: string;
|
|
66
|
+
min: string;
|
|
67
|
+
max: string;
|
|
68
|
+
range: string;
|
|
69
|
+
};
|
|
70
|
+
number: {
|
|
71
|
+
len: string;
|
|
72
|
+
min: string;
|
|
73
|
+
max: string;
|
|
74
|
+
range: string;
|
|
75
|
+
};
|
|
76
|
+
array: {
|
|
77
|
+
len: string;
|
|
78
|
+
min: string;
|
|
79
|
+
max: string;
|
|
80
|
+
range: string;
|
|
81
|
+
};
|
|
82
|
+
pattern: {
|
|
83
|
+
mismatch: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
ImageUploader: {
|
|
88
|
+
uploading: string;
|
|
89
|
+
};
|
|
90
|
+
InfiniteScroll: {
|
|
91
|
+
noMore: string;
|
|
92
|
+
};
|
|
93
|
+
Mask: {
|
|
94
|
+
name: string;
|
|
95
|
+
};
|
|
96
|
+
Modal: {
|
|
97
|
+
ok: string;
|
|
98
|
+
};
|
|
99
|
+
PullToRefresh: {
|
|
100
|
+
pulling: string;
|
|
101
|
+
canRelease: string;
|
|
102
|
+
complete: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default koKR;
|