@trionesdev/antd-mobile-base-react 0.0.2-beta.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/LICENSE +21 -0
- package/README.md +23 -0
- package/dist/ActionSheet/ActionSheet.d.ts +25 -0
- package/dist/ActionSheet/ActionSheet.js +77 -0
- package/dist/ActionSheet/index.d.ts +3 -0
- package/dist/ActionSheet/index.js +2 -0
- package/dist/ActionSheet/style.scss +51 -0
- package/dist/Alert/alert.d.ts +32 -0
- package/dist/Alert/alert.js +49 -0
- package/dist/Alert/index.d.ts +3 -0
- package/dist/Alert/index.js +2 -0
- package/dist/Alert/style.scss +69 -0
- package/dist/Avatar/avatar.d.ts +14 -0
- package/dist/Avatar/avatar.js +40 -0
- package/dist/Avatar/index.d.ts +3 -0
- package/dist/Avatar/index.js +2 -0
- package/dist/Avatar/style.scss +16 -0
- package/dist/Badge/badge.d.ts +14 -0
- package/dist/Badge/badge.js +82 -0
- package/dist/Badge/index.d.ts +3 -0
- package/dist/Badge/index.js +2 -0
- package/dist/Badge/style.scss +100 -0
- package/dist/Card/card.d.ts +21 -0
- package/dist/Card/card.js +48 -0
- package/dist/Card/index.d.ts +4 -0
- package/dist/Card/index.js +3 -0
- package/dist/Card/native-props.d.ts +8 -0
- package/dist/Card/native-props.js +27 -0
- package/dist/Card/style.scss +35 -0
- package/dist/CascaderPicker/cascader-picker.d.ts +27 -0
- package/dist/CascaderPicker/cascader-picker.js +88 -0
- package/dist/CascaderPicker/index.d.ts +3 -0
- package/dist/CascaderPicker/index.js +2 -0
- package/dist/CascaderPicker/style.scss +42 -0
- package/dist/CascaderView/cascader-column-item.d.ts +8 -0
- package/dist/CascaderView/cascader-column-item.js +19 -0
- package/dist/CascaderView/cascader-column.d.ts +9 -0
- package/dist/CascaderView/cascader-column.js +26 -0
- package/dist/CascaderView/cascader-view.d.ts +18 -0
- package/dist/CascaderView/cascader-view.js +243 -0
- package/dist/CascaderView/index.d.ts +3 -0
- package/dist/CascaderView/index.js +2 -0
- package/dist/CascaderView/style.scss +22 -0
- package/dist/CascaderView/types.d.ts +11 -0
- package/dist/CascaderView/types.js +1 -0
- package/dist/Cell/CellGroup.d.ts +3 -0
- package/dist/Cell/CellGroup.js +41 -0
- package/dist/Cell/cell.d.ts +4 -0
- package/dist/Cell/cell.js +31 -0
- package/dist/Cell/index.d.ts +9 -0
- package/dist/Cell/index.js +5 -0
- package/dist/Cell/styles.scss +52 -0
- package/dist/Cell/types.d.ts +41 -0
- package/dist/Cell/types.js +1 -0
- package/dist/Checkbox/checkbox-button.d.ts +3 -0
- package/dist/Checkbox/checkbox-button.js +42 -0
- package/dist/Checkbox/checkbox-group.d.ts +3 -0
- package/dist/Checkbox/checkbox-group.js +32 -0
- package/dist/Checkbox/checkbox.d.ts +4 -0
- package/dist/Checkbox/checkbox.js +47 -0
- package/dist/Checkbox/group-context.d.ts +3 -0
- package/dist/Checkbox/group-context.js +2 -0
- package/dist/Checkbox/index.d.ts +11 -0
- package/dist/Checkbox/index.js +7 -0
- package/dist/Checkbox/index.scss +151 -0
- package/dist/Checkbox/types.d.ts +20 -0
- package/dist/Checkbox/types.js +1 -0
- package/dist/ConfigProvider/config-provider.d.ts +57 -0
- package/dist/ConfigProvider/config-provider.js +41 -0
- package/dist/ConfigProvider/index.d.ts +9 -0
- package/dist/ConfigProvider/index.js +6 -0
- package/dist/DemoBlock/index.d.ts +10 -0
- package/dist/DemoBlock/index.js +15 -0
- package/dist/DemoBlock/index.scss +20 -0
- package/dist/DemoDescription/index.d.ts +6 -0
- package/dist/DemoDescription/index.js +7 -0
- package/dist/DemoDescription/index.scss +3 -0
- package/dist/Descriptions/DescriptionItem.d.ts +5 -0
- package/dist/Descriptions/DescriptionItem.js +67 -0
- package/dist/Descriptions/Descriptions.d.ts +4 -0
- package/dist/Descriptions/Descriptions.js +229 -0
- package/dist/Descriptions/index.d.ts +9 -0
- package/dist/Descriptions/index.js +5 -0
- package/dist/Descriptions/style.scss +65 -0
- package/dist/Descriptions/types.d.ts +90 -0
- package/dist/Descriptions/types.js +1 -0
- package/dist/Divider/divider.d.ts +17 -0
- package/dist/Divider/divider.js +36 -0
- package/dist/Divider/index.d.ts +3 -0
- package/dist/Divider/index.js +2 -0
- package/dist/Divider/style.scss +62 -0
- package/dist/Ellipsis/ellipsis.d.ts +16 -0
- package/dist/Ellipsis/ellipsis.js +77 -0
- package/dist/Ellipsis/index.d.ts +3 -0
- package/dist/Ellipsis/index.js +2 -0
- package/dist/Ellipsis/style.scss +13 -0
- package/dist/Ellipsis/useMeasure.d.ts +2 -0
- package/dist/Ellipsis/useMeasure.js +123 -0
- package/dist/Empty/empty-icon.d.ts +3 -0
- package/dist/Empty/empty-icon.js +12 -0
- package/dist/Empty/empty.d.ts +12 -0
- package/dist/Empty/empty.js +48 -0
- package/dist/Empty/images/empty.png +0 -0
- package/dist/Empty/index.d.ts +3 -0
- package/dist/Empty/index.js +2 -0
- package/dist/Empty/style.scss +29 -0
- package/dist/ErrorBlock/create-error-block.d.ts +13 -0
- package/dist/ErrorBlock/create-error-block.js +44 -0
- package/dist/ErrorBlock/demo/base.d.ts +3 -0
- package/dist/ErrorBlock/demo/base.js +23 -0
- package/dist/ErrorBlock/error-block.d.ts +2 -0
- package/dist/ErrorBlock/error-block.js +9 -0
- package/dist/ErrorBlock/images/busy.d.ts +2 -0
- package/dist/ErrorBlock/images/busy.js +90 -0
- package/dist/ErrorBlock/images/busy.png +0 -0
- package/dist/ErrorBlock/images/default.d.ts +2 -0
- package/dist/ErrorBlock/images/default.js +166 -0
- package/dist/ErrorBlock/images/default.png +0 -0
- package/dist/ErrorBlock/images/disconnected.d.ts +2 -0
- package/dist/ErrorBlock/images/disconnected.js +123 -0
- package/dist/ErrorBlock/images/disconnected.png +0 -0
- package/dist/ErrorBlock/images/empty.d.ts +2 -0
- package/dist/ErrorBlock/images/empty.js +119 -0
- package/dist/ErrorBlock/images/empty.png +0 -0
- package/dist/ErrorBlock/images/index.d.ts +4 -0
- package/dist/ErrorBlock/images/index.js +4 -0
- package/dist/ErrorBlock/index.d.ts +7 -0
- package/dist/ErrorBlock/index.js +3 -0
- package/dist/ErrorBlock/style.scss +62 -0
- package/dist/Footer/footer.d.ts +20 -0
- package/dist/Footer/footer.js +66 -0
- package/dist/Footer/index.d.ts +3 -0
- package/dist/Footer/index.js +2 -0
- package/dist/Footer/style.scss +55 -0
- package/dist/Form/FormItem/form-item-input.d.ts +15 -0
- package/dist/Form/FormItem/form-item-input.js +39 -0
- package/dist/Form/FormItem/form-item-label.d.ts +13 -0
- package/dist/Form/FormItem/form-item-label.js +25 -0
- package/dist/Form/FormItem/form-item.d.ts +21 -0
- package/dist/Form/FormItem/form-item.js +70 -0
- package/dist/Form/FormItem/index.d.ts +5 -0
- package/dist/Form/FormItem/index.js +3 -0
- package/dist/Form/context.d.ts +12 -0
- package/dist/Form/context.js +6 -0
- package/dist/Form/form.d.ts +44 -0
- package/dist/Form/form.js +31 -0
- package/dist/Form/hooks/useForm.d.ts +2 -0
- package/dist/Form/hooks/useForm.js +24 -0
- package/dist/Form/hooks/useFormContext.d.ts +2 -0
- package/dist/Form/hooks/useFormContext.js +6 -0
- package/dist/Form/index.d.ts +12 -0
- package/dist/Form/index.js +8 -0
- package/dist/Form/interface.d.ts +3 -0
- package/dist/Form/interface.js +1 -0
- package/dist/Form/style.scss +45 -0
- package/dist/Grid/grid.d.ts +16 -0
- package/dist/Grid/grid.js +35 -0
- package/dist/Grid/index.d.ts +7 -0
- package/dist/Grid/index.js +4 -0
- package/dist/Grid/style.scss +17 -0
- package/dist/Icon/check-icon.d.ts +3 -0
- package/dist/Icon/check-icon.js +10 -0
- package/dist/Icon/demo/base.d.ts +6 -0
- package/dist/Icon/demo/base.js +41 -0
- package/dist/Input/base-input.d.ts +14 -0
- package/dist/Input/base-input.js +63 -0
- package/dist/Input/index.d.ts +12 -0
- package/dist/Input/index.js +9 -0
- package/dist/Input/index.scss +173 -0
- package/dist/Input/input-affix-wrapper.d.ts +8 -0
- package/dist/Input/input-affix-wrapper.js +50 -0
- package/dist/Input/input-opt.d.ts +16 -0
- package/dist/Input/input-opt.js +93 -0
- package/dist/Input/input-password.d.ts +7 -0
- package/dist/Input/input-password.js +47 -0
- package/dist/Input/input.d.ts +15 -0
- package/dist/Input/input.js +47 -0
- package/dist/Input/textarea.d.ts +13 -0
- package/dist/Input/textarea.js +45 -0
- package/dist/Input/types.d.ts +1 -0
- package/dist/Input/types.js +1 -0
- package/dist/InputNumber/index.d.ts +3 -0
- package/dist/InputNumber/index.js +2 -0
- package/dist/InputNumber/input-number.d.ts +13 -0
- package/dist/InputNumber/input-number.js +69 -0
- package/dist/InputNumber/style.scss +43 -0
- package/dist/Mask/index.d.ts +3 -0
- package/dist/Mask/index.js +2 -0
- package/dist/Mask/mask-modal.d.ts +45 -0
- package/dist/Mask/mask-modal.js +32 -0
- package/dist/Mask/mask.d.ts +5 -0
- package/dist/Mask/mask.js +19 -0
- package/dist/Mask/style.scss +20 -0
- package/dist/NavBar/index.d.ts +3 -0
- package/dist/NavBar/index.js +2 -0
- package/dist/NavBar/nav-bar.d.ts +31 -0
- package/dist/NavBar/nav-bar.js +36 -0
- package/dist/NavBar/style.scss +61 -0
- package/dist/NoticeBar/index.d.ts +3 -0
- package/dist/NoticeBar/index.js +2 -0
- package/dist/NoticeBar/notice-bar.d.ts +64 -0
- package/dist/NoticeBar/notice-bar.js +119 -0
- package/dist/NoticeBar/style.scss +130 -0
- package/dist/PageIndicator/index.d.ts +3 -0
- package/dist/PageIndicator/index.js +2 -0
- package/dist/PageIndicator/page-indicator.d.ts +10 -0
- package/dist/PageIndicator/page-indicator.js +27 -0
- package/dist/PageIndicator/style.scss +59 -0
- package/dist/Picker/index.d.ts +3 -0
- package/dist/Picker/index.js +2 -0
- package/dist/Picker/picker.d.ts +19 -0
- package/dist/Picker/picker.js +97 -0
- package/dist/Picker/style.scss +41 -0
- package/dist/PickerView/index.d.ts +4 -0
- package/dist/PickerView/index.js +2 -0
- package/dist/PickerView/picker-view-column-item.d.ts +7 -0
- package/dist/PickerView/picker-view-column-item.js +11 -0
- package/dist/PickerView/picker-view-column.d.ts +10 -0
- package/dist/PickerView/picker-view-column.js +117 -0
- package/dist/PickerView/picker-view.d.ts +12 -0
- package/dist/PickerView/picker-view.js +60 -0
- package/dist/PickerView/style.scss +72 -0
- package/dist/PickerView/types.d.ts +4 -0
- package/dist/PickerView/types.js +1 -0
- package/dist/Popup/index.d.ts +3 -0
- package/dist/Popup/index.js +2 -0
- package/dist/Popup/popup-modal.d.ts +52 -0
- package/dist/Popup/popup-modal.js +74 -0
- package/dist/Popup/popup.d.ts +4 -0
- package/dist/Popup/popup.js +56 -0
- package/dist/Popup/style.scss +53 -0
- package/dist/Radio/GroupContext.d.ts +10 -0
- package/dist/Radio/GroupContext.js +2 -0
- package/dist/Radio/RadioButton.d.ts +3 -0
- package/dist/Radio/RadioButton.js +60 -0
- package/dist/Radio/RadioGroup.d.ts +3 -0
- package/dist/Radio/RadioGroup.js +60 -0
- package/dist/Radio/index.d.ts +11 -0
- package/dist/Radio/index.js +14 -0
- package/dist/Radio/radio.d.ts +4 -0
- package/dist/Radio/radio.js +78 -0
- package/dist/Radio/style.scss +138 -0
- package/dist/Radio/types.d.ts +58 -0
- package/dist/Radio/types.js +1 -0
- package/dist/Rate/index.d.ts +3 -0
- package/dist/Rate/index.js +2 -0
- package/dist/Rate/rate.d.ts +50 -0
- package/dist/Rate/rate.js +100 -0
- package/dist/Rate/style.scss +37 -0
- package/dist/Result/demo/base.d.ts +3 -0
- package/dist/Result/demo/base.js +57 -0
- package/dist/Result/index.d.ts +3 -0
- package/dist/Result/index.js +2 -0
- package/dist/Result/result.d.ts +10 -0
- package/dist/Result/result.js +28 -0
- package/dist/Result/style.scss +73 -0
- package/dist/Result/use-result-icon.d.ts +2 -0
- package/dist/Result/use-result-icon.js +53 -0
- package/dist/SafeArea/index.d.ts +4 -0
- package/dist/SafeArea/index.js +3 -0
- package/dist/SafeArea/safe-area.d.ts +14 -0
- package/dist/SafeArea/safe-area.js +23 -0
- package/dist/SafeArea/style.scss +18 -0
- package/dist/Scaffold/index.d.ts +3 -0
- package/dist/Scaffold/index.js +2 -0
- package/dist/Scaffold/scaffold.d.ts +11 -0
- package/dist/Scaffold/scaffold.js +19 -0
- package/dist/Scaffold/style.scss +16 -0
- package/dist/ScrollView/index.d.ts +4 -0
- package/dist/ScrollView/index.js +2 -0
- package/dist/ScrollView/scroll-view.d.ts +4 -0
- package/dist/ScrollView/scroll-view.js +55 -0
- package/dist/ScrollView/style.scss +19 -0
- package/dist/ScrollView/types.d.ts +26 -0
- package/dist/ScrollView/types.js +1 -0
- package/dist/SideBar/SideBarContext.d.ts +18 -0
- package/dist/SideBar/SideBarContext.js +2 -0
- package/dist/SideBar/index.d.ts +3 -0
- package/dist/SideBar/index.js +2 -0
- package/dist/SideBar/side-bar.d.ts +25 -0
- package/dist/SideBar/side-bar.js +351 -0
- package/dist/SideBar/style.scss +85 -0
- package/dist/SideBar/types.d.ts +7 -0
- package/dist/SideBar/types.js +1 -0
- package/dist/Space/index.d.ts +3 -0
- package/dist/Space/index.js +2 -0
- package/dist/Space/space.d.ts +38 -0
- package/dist/Space/space.js +61 -0
- package/dist/Space/style.scss +77 -0
- package/dist/SpinLoading/demo/base.d.ts +3 -0
- package/dist/SpinLoading/demo/base.js +21 -0
- package/dist/SpinLoading/index.d.ts +3 -0
- package/dist/SpinLoading/index.js +2 -0
- package/dist/SpinLoading/spin-loading.d.ts +10 -0
- package/dist/SpinLoading/spin-loading.js +59 -0
- package/dist/SpinLoading/spin-loading.scss +40 -0
- package/dist/Steps/HorizontalSteps.d.ts +3 -0
- package/dist/Steps/HorizontalSteps.js +85 -0
- package/dist/Steps/Point.d.ts +6 -0
- package/dist/Steps/Point.js +13 -0
- package/dist/Steps/Steps.d.ts +4 -0
- package/dist/Steps/Steps.js +26 -0
- package/dist/Steps/VerticalSteps.d.ts +3 -0
- package/dist/Steps/VerticalSteps.js +92 -0
- package/dist/Steps/context.d.ts +8 -0
- package/dist/Steps/context.js +5 -0
- package/dist/Steps/index.d.ts +4 -0
- package/dist/Steps/index.js +2 -0
- package/dist/Steps/style.scss +146 -0
- package/dist/Steps/types.d.ts +23 -0
- package/dist/Steps/types.js +4 -0
- package/dist/Switch/index.d.ts +3 -0
- package/dist/Switch/index.js +2 -0
- package/dist/Switch/style.scss +128 -0
- package/dist/Switch/switch.d.ts +21 -0
- package/dist/Switch/switch.js +96 -0
- package/dist/TabBar/TabBarContext.d.ts +10 -0
- package/dist/TabBar/TabBarContext.js +2 -0
- package/dist/TabBar/demo/base.d.ts +6 -0
- package/dist/TabBar/demo/base.js +26 -0
- package/dist/TabBar/index.d.ts +7 -0
- package/dist/TabBar/index.js +3 -0
- package/dist/TabBar/index.scss +36 -0
- package/dist/TabBar/tab-bar.d.ts +61 -0
- package/dist/TabBar/tab-bar.js +86 -0
- package/dist/Tabs/context.d.ts +11 -0
- package/dist/Tabs/context.js +4 -0
- package/dist/Tabs/demo/base.d.ts +3 -0
- package/dist/Tabs/demo/base.js +59 -0
- package/dist/Tabs/index.d.ts +9 -0
- package/dist/Tabs/index.js +5 -0
- package/dist/Tabs/style.scss +108 -0
- package/dist/Tabs/tab-nav.d.ts +9 -0
- package/dist/Tabs/tab-nav.js +25 -0
- package/dist/Tabs/tab-pane.d.ts +7 -0
- package/dist/Tabs/tab-pane.js +17 -0
- package/dist/Tabs/tab.d.ts +7 -0
- package/dist/Tabs/tab.js +6 -0
- package/dist/Tabs/tabs.d.ts +25 -0
- package/dist/Tabs/tabs.js +156 -0
- package/dist/Tag/demo/base.d.ts +7 -0
- package/dist/Tag/demo/base.js +67 -0
- package/dist/Tag/demo/style.scss +8 -0
- package/dist/Tag/index.d.ts +3 -0
- package/dist/Tag/index.js +2 -0
- package/dist/Tag/style.scss +86 -0
- package/dist/Tag/tag.d.ts +30 -0
- package/dist/Tag/tag.js +44 -0
- package/dist/Toast/index.d.ts +5 -0
- package/dist/Toast/index.js +3 -0
- package/dist/Toast/style.scss +63 -0
- package/dist/Toast/toast-modal.d.ts +18 -0
- package/dist/Toast/toast-modal.js +112 -0
- package/dist/Toast/toast.d.ts +7 -0
- package/dist/Toast/toast.js +78 -0
- package/dist/VerificationCodeInput/demo/base.d.ts +3 -0
- package/dist/VerificationCodeInput/demo/base.js +11 -0
- package/dist/VerificationCodeInput/index.d.ts +3 -0
- package/dist/VerificationCodeInput/index.js +2 -0
- package/dist/VerificationCodeInput/style.scss +20 -0
- package/dist/VerificationCodeInput/verification-code-input.d.ts +24 -0
- package/dist/VerificationCodeInput/verification-code-input.js +99 -0
- package/dist/WaterMark/index.d.ts +3 -0
- package/dist/WaterMark/index.js +2 -0
- package/dist/WaterMark/style.scss +17 -0
- package/dist/WaterMark/water-mark.d.ts +22 -0
- package/dist/WaterMark/water-mark.js +108 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.js +46 -0
- package/dist/locales/base.d.ts +139 -0
- package/dist/locales/base.js +139 -0
- package/dist/locales/en-US.d.ts +139 -0
- package/dist/locales/en-US.js +4 -0
- package/dist/locales/zh-CN.d.ts +3 -0
- package/dist/locales/zh-CN.js +140 -0
- package/dist/style/index.d.ts +1 -0
- package/dist/style/index.js +5 -0
- package/dist/style/style.scss +52 -0
- package/dist/style/theme-dark.scss +24 -0
- package/dist/style/theme-default.scss +54 -0
- package/dist/style/variable.scss +168 -0
- package/dist/types.d.ts +9 -0
- package/dist/types.js +1 -0
- package/dist/utils/datetime-utils.d.ts +3 -0
- package/dist/utils/datetime-utils.js +18 -0
- package/dist/utils/dev-log.d.ts +3 -0
- package/dist/utils/dev-log.js +36 -0
- package/dist/utils/is-dev.d.ts +1 -0
- package/dist/utils/is-dev.js +1 -0
- package/dist/utils/merge-locale.d.ts +1 -0
- package/dist/utils/merge-locale.js +16 -0
- package/dist/utils/native-props.d.ts +10 -0
- package/dist/utils/native-props.js +39 -0
- package/dist/utils/random-utils.d.ts +3 -0
- package/dist/utils/random-utils.js +13 -0
- package/dist/utils/to-css-length.d.ts +1 -0
- package/dist/utils/to-css-length.js +3 -0
- package/dist/utils/type.d.ts +65 -0
- package/dist/utils/type.js +48 -0
- package/dist/utils/with-default-props.d.ts +9 -0
- package/dist/utils/with-default-props.js +33 -0
- package/dist/utils/with-stop-propagation.d.ts +4 -0
- package/dist/utils/with-stop-propagation.js +38 -0
- package/package.json +55 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import './style';
|
|
2
|
+
export { default as ActionSheet } from "./ActionSheet";
|
|
3
|
+
export type { ActionSheetProps } from './ActionSheet';
|
|
4
|
+
export { default as Alert } from './Alert';
|
|
5
|
+
export type { AlertProps } from './Alert';
|
|
6
|
+
export { default as Avatar } from './Avatar';
|
|
7
|
+
export type { AvatarProps } from './Avatar';
|
|
8
|
+
export { default as Badge } from './Badge';
|
|
9
|
+
export type { BadgeFill, BadgeProps } from './Badge';
|
|
10
|
+
export { default as Card } from './Card';
|
|
11
|
+
export type { CardProps } from './Card';
|
|
12
|
+
export { default as CascaderPicker } from './CascaderPicker';
|
|
13
|
+
export type { CascaderPickerProps } from './CascaderPicker';
|
|
14
|
+
export { default as CascaderView } from './CascaderView';
|
|
15
|
+
export type { CascaderViewProps } from './CascaderView';
|
|
16
|
+
export { default as Cell } from './Cell';
|
|
17
|
+
export type { CellProps, CellGroupProps } from './Cell';
|
|
18
|
+
export { default as Checkbox } from './Checkbox';
|
|
19
|
+
export type { CheckboxProps } from './Checkbox';
|
|
20
|
+
export { default as ConfigProvider } from './ConfigProvider';
|
|
21
|
+
export type { ConfigProviderProps } from './ConfigProvider';
|
|
22
|
+
export { default as Descriptions } from "./Descriptions";
|
|
23
|
+
export type { DescriptionsProps } from "./Descriptions";
|
|
24
|
+
export { default as Divider } from './Divider';
|
|
25
|
+
export type { DividerProps } from './Divider';
|
|
26
|
+
export { default as Ellipsis } from './Ellipsis';
|
|
27
|
+
export type { EllipsisProps } from './Ellipsis';
|
|
28
|
+
export { default as Empty } from './Empty';
|
|
29
|
+
export type { EmptyProps } from './Empty';
|
|
30
|
+
export { default as ErrorBlock, createErrorBlock } from './ErrorBlock';
|
|
31
|
+
export type { ErrorBlockStatus, ErrorBlockProps } from './ErrorBlock';
|
|
32
|
+
export { default as Footer } from './Footer';
|
|
33
|
+
export type { FooterProps, ChipItem, LinkItem } from './Footer';
|
|
34
|
+
export { default as Form } from './Form';
|
|
35
|
+
export type { FormItemProps, FormProps } from './Form';
|
|
36
|
+
export { default as Grid } from './Grid';
|
|
37
|
+
export type { GridProps, GridItemProps } from './Grid';
|
|
38
|
+
export { default as Input } from './Input';
|
|
39
|
+
export type { InputOPTProps, InputPasswordProps, InputProps, InputTextareaProps } from './Input';
|
|
40
|
+
export { default as InputNumber } from './InputNumber';
|
|
41
|
+
export type { InputNumberProps } from './InputNumber';
|
|
42
|
+
export { default as Mask } from "./Mask";
|
|
43
|
+
export type { MaskProps } from "./Mask";
|
|
44
|
+
export { default as NavBar } from './NavBar';
|
|
45
|
+
export type { NavBarProps } from './NavBar';
|
|
46
|
+
export { default as NoticeBar } from './NoticeBar';
|
|
47
|
+
export type { NoticeBarProps } from './NoticeBar';
|
|
48
|
+
export { default as PageIndicator } from './PageIndicator';
|
|
49
|
+
export type { PageIndicatorProps } from './PageIndicator';
|
|
50
|
+
export { default as Picker } from './Picker';
|
|
51
|
+
export type { PickerProps } from './Picker';
|
|
52
|
+
export { default as PickerView } from './PickerView';
|
|
53
|
+
export type { PickerViewProps, PickerColumnOption } from './PickerView';
|
|
54
|
+
export { default as Popup } from './Popup';
|
|
55
|
+
export type { PopupProps } from './Popup';
|
|
56
|
+
export { default as Radio } from './Radio';
|
|
57
|
+
export type { RadioGroupProps, RadioProps } from './Radio';
|
|
58
|
+
export { default as Rate } from './Rate';
|
|
59
|
+
export type { RateProps } from './Rate';
|
|
60
|
+
export { default as Result } from './Result';
|
|
61
|
+
export type { ResultProps } from './Result';
|
|
62
|
+
export { default as SafeArea } from './SafeArea';
|
|
63
|
+
export type { SafeAreaProps } from './SafeArea';
|
|
64
|
+
export { default as Scaffold } from './Scaffold';
|
|
65
|
+
export type { ScaffoldProps } from './Scaffold';
|
|
66
|
+
export { default as ScrollView } from './ScrollView';
|
|
67
|
+
export type { ScrollViewProps } from './ScrollView';
|
|
68
|
+
export { default as SideBar } from './SideBar';
|
|
69
|
+
export type { SideBarProps } from './SideBar';
|
|
70
|
+
export { default as Space } from './Space';
|
|
71
|
+
export type { SpaceProps } from './Space';
|
|
72
|
+
export { default as SpinLoading } from './SpinLoading';
|
|
73
|
+
export type { SpinLoadingProps } from './SpinLoading';
|
|
74
|
+
export { default as Steps } from './Steps';
|
|
75
|
+
export type { StepsProps, StepsItemProps } from './Steps';
|
|
76
|
+
export { default as Switch } from './Switch';
|
|
77
|
+
export type { SwitchProps } from './Switch';
|
|
78
|
+
export { default as TabBar } from './TabBar';
|
|
79
|
+
export type { TabBarProps } from './TabBar';
|
|
80
|
+
export { default as Tag } from './Tag';
|
|
81
|
+
export type { TagProps } from './Tag';
|
|
82
|
+
export { default as Toast } from './Toast';
|
|
83
|
+
export type { ToastProps } from './Toast';
|
|
84
|
+
export { default as Tabs } from './Tabs';
|
|
85
|
+
export type { TabsProps } from './Tabs';
|
|
86
|
+
export { default as VerificationCodeInput } from './VerificationCodeInput';
|
|
87
|
+
export type { ValidationCodeInputProps } from './VerificationCodeInput';
|
|
88
|
+
export { default as WaterMark } from './WaterMark';
|
|
89
|
+
export type { WaterMarkProps } from './WaterMark';
|
|
90
|
+
export * from './types';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import "./style";
|
|
2
|
+
export { default as ActionSheet } from "./ActionSheet";
|
|
3
|
+
export { default as Alert } from "./Alert";
|
|
4
|
+
export { default as Avatar } from "./Avatar";
|
|
5
|
+
export { default as Badge } from "./Badge";
|
|
6
|
+
export { default as Card } from "./Card";
|
|
7
|
+
export { default as CascaderPicker } from "./CascaderPicker";
|
|
8
|
+
export { default as CascaderView } from "./CascaderView";
|
|
9
|
+
export { default as Cell } from "./Cell";
|
|
10
|
+
export { default as Checkbox } from "./Checkbox";
|
|
11
|
+
export { default as ConfigProvider } from "./ConfigProvider";
|
|
12
|
+
export { default as Descriptions } from "./Descriptions";
|
|
13
|
+
export { default as Divider } from "./Divider";
|
|
14
|
+
export { default as Ellipsis } from "./Ellipsis";
|
|
15
|
+
export { default as Empty } from "./Empty";
|
|
16
|
+
export { default as ErrorBlock, createErrorBlock } from "./ErrorBlock";
|
|
17
|
+
export { default as Footer } from "./Footer";
|
|
18
|
+
export { default as Form } from "./Form";
|
|
19
|
+
export { default as Grid } from "./Grid";
|
|
20
|
+
export { default as Input } from "./Input";
|
|
21
|
+
export { default as InputNumber } from "./InputNumber";
|
|
22
|
+
export { default as Mask } from "./Mask";
|
|
23
|
+
export { default as NavBar } from "./NavBar";
|
|
24
|
+
export { default as NoticeBar } from "./NoticeBar";
|
|
25
|
+
export { default as PageIndicator } from "./PageIndicator";
|
|
26
|
+
export { default as Picker } from "./Picker";
|
|
27
|
+
export { default as PickerView } from "./PickerView";
|
|
28
|
+
export { default as Popup } from "./Popup";
|
|
29
|
+
export { default as Radio } from "./Radio";
|
|
30
|
+
export { default as Rate } from "./Rate";
|
|
31
|
+
export { default as Result } from "./Result";
|
|
32
|
+
export { default as SafeArea } from "./SafeArea";
|
|
33
|
+
export { default as Scaffold } from "./Scaffold";
|
|
34
|
+
export { default as ScrollView } from "./ScrollView";
|
|
35
|
+
export { default as SideBar } from "./SideBar";
|
|
36
|
+
export { default as Space } from "./Space";
|
|
37
|
+
export { default as SpinLoading } from "./SpinLoading";
|
|
38
|
+
export { default as Steps } from "./Steps";
|
|
39
|
+
export { default as Switch } from "./Switch";
|
|
40
|
+
export { default as TabBar } from "./TabBar";
|
|
41
|
+
export { default as Tag } from "./Tag";
|
|
42
|
+
export { default as Toast } from "./Toast";
|
|
43
|
+
export { default as Tabs } from "./Tabs";
|
|
44
|
+
export { default as VerificationCodeInput } from "./VerificationCodeInput";
|
|
45
|
+
export { default as WaterMark } from "./WaterMark";
|
|
46
|
+
export * from "./types";
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export declare const base: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
close: string;
|
|
8
|
+
};
|
|
9
|
+
Calendar: {
|
|
10
|
+
title: string;
|
|
11
|
+
confirm: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
today: string;
|
|
15
|
+
markItems: string[];
|
|
16
|
+
yearAndMonth: string;
|
|
17
|
+
};
|
|
18
|
+
Cascader: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
Dialog: {
|
|
22
|
+
ok: string;
|
|
23
|
+
};
|
|
24
|
+
DatePicker: {
|
|
25
|
+
tillNow: string;
|
|
26
|
+
};
|
|
27
|
+
ErrorBlock: {
|
|
28
|
+
default: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
busy: {
|
|
33
|
+
title: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disconnected: {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
empty: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Form: {
|
|
46
|
+
required: string;
|
|
47
|
+
optional: string;
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: string;
|
|
50
|
+
required: string;
|
|
51
|
+
enum: string;
|
|
52
|
+
whitespace: string;
|
|
53
|
+
date: {
|
|
54
|
+
format: string;
|
|
55
|
+
parse: string;
|
|
56
|
+
invalid: string;
|
|
57
|
+
};
|
|
58
|
+
types: {
|
|
59
|
+
string: string;
|
|
60
|
+
method: string;
|
|
61
|
+
array: string;
|
|
62
|
+
object: string;
|
|
63
|
+
number: string;
|
|
64
|
+
date: string;
|
|
65
|
+
boolean: string;
|
|
66
|
+
integer: string;
|
|
67
|
+
float: string;
|
|
68
|
+
regexp: string;
|
|
69
|
+
email: string;
|
|
70
|
+
url: string;
|
|
71
|
+
hex: string;
|
|
72
|
+
};
|
|
73
|
+
string: {
|
|
74
|
+
len: string;
|
|
75
|
+
min: string;
|
|
76
|
+
max: string;
|
|
77
|
+
range: string;
|
|
78
|
+
};
|
|
79
|
+
number: {
|
|
80
|
+
len: string;
|
|
81
|
+
min: string;
|
|
82
|
+
max: string;
|
|
83
|
+
range: string;
|
|
84
|
+
};
|
|
85
|
+
array: {
|
|
86
|
+
len: string;
|
|
87
|
+
min: string;
|
|
88
|
+
max: string;
|
|
89
|
+
range: string;
|
|
90
|
+
};
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ImageUploader: {
|
|
97
|
+
uploading: string;
|
|
98
|
+
upload: string;
|
|
99
|
+
};
|
|
100
|
+
InfiniteScroll: {
|
|
101
|
+
noMore: string;
|
|
102
|
+
failedToLoad: string;
|
|
103
|
+
retry: string;
|
|
104
|
+
};
|
|
105
|
+
Input: {
|
|
106
|
+
clear: string;
|
|
107
|
+
};
|
|
108
|
+
Mask: {
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
Modal: {
|
|
112
|
+
ok: string;
|
|
113
|
+
};
|
|
114
|
+
PasscodeInput: {
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
PullToRefresh: {
|
|
118
|
+
pulling: string;
|
|
119
|
+
canRelease: string;
|
|
120
|
+
complete: string;
|
|
121
|
+
};
|
|
122
|
+
SearchBar: {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
Slider: {
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
Stepper: {
|
|
129
|
+
decrease: string;
|
|
130
|
+
increase: string;
|
|
131
|
+
};
|
|
132
|
+
Switch: {
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
Selector: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export type Locale = typeof base;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
var typeTemplate = '${label} is not a valid ${type}';
|
|
2
|
+
export var base = {
|
|
3
|
+
locale: 'en',
|
|
4
|
+
common: {
|
|
5
|
+
confirm: 'Confirm',
|
|
6
|
+
cancel: 'Cancel',
|
|
7
|
+
loading: 'Loading',
|
|
8
|
+
close: 'Close'
|
|
9
|
+
},
|
|
10
|
+
Calendar: {
|
|
11
|
+
title: 'Date selection',
|
|
12
|
+
confirm: 'Confirm',
|
|
13
|
+
start: 'start',
|
|
14
|
+
end: 'end',
|
|
15
|
+
today: 'today',
|
|
16
|
+
markItems: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
|
|
17
|
+
yearAndMonth: '${year}/${month}'
|
|
18
|
+
},
|
|
19
|
+
Cascader: {
|
|
20
|
+
placeholder: 'Selecting'
|
|
21
|
+
},
|
|
22
|
+
Dialog: {
|
|
23
|
+
ok: 'OK'
|
|
24
|
+
},
|
|
25
|
+
DatePicker: {
|
|
26
|
+
tillNow: 'Till Now'
|
|
27
|
+
},
|
|
28
|
+
ErrorBlock: {
|
|
29
|
+
default: {
|
|
30
|
+
title: 'Oops, something went wrong',
|
|
31
|
+
description: 'Please wait a minute and try again'
|
|
32
|
+
},
|
|
33
|
+
busy: {
|
|
34
|
+
title: 'Oops, not loading',
|
|
35
|
+
description: 'Try to refresh the page'
|
|
36
|
+
},
|
|
37
|
+
disconnected: {
|
|
38
|
+
title: 'Network is busy',
|
|
39
|
+
description: 'Try to refresh the page'
|
|
40
|
+
},
|
|
41
|
+
empty: {
|
|
42
|
+
title: "Hmm, couldn't find that...",
|
|
43
|
+
description: 'Want to try a new search?'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
Form: {
|
|
47
|
+
required: 'Required',
|
|
48
|
+
optional: 'Optional',
|
|
49
|
+
defaultValidateMessages: {
|
|
50
|
+
default: 'Field validation error for ${label}',
|
|
51
|
+
required: 'Please enter ${label}',
|
|
52
|
+
enum: '${label} must be one of [${enum}]',
|
|
53
|
+
whitespace: '${label} cannot be a blank character',
|
|
54
|
+
date: {
|
|
55
|
+
format: '${label} date format is invalid',
|
|
56
|
+
parse: '${label} cannot be converted to a date',
|
|
57
|
+
invalid: '${label} is an invalid date'
|
|
58
|
+
},
|
|
59
|
+
types: {
|
|
60
|
+
string: typeTemplate,
|
|
61
|
+
method: typeTemplate,
|
|
62
|
+
array: typeTemplate,
|
|
63
|
+
object: typeTemplate,
|
|
64
|
+
number: typeTemplate,
|
|
65
|
+
date: typeTemplate,
|
|
66
|
+
boolean: typeTemplate,
|
|
67
|
+
integer: typeTemplate,
|
|
68
|
+
float: typeTemplate,
|
|
69
|
+
regexp: typeTemplate,
|
|
70
|
+
email: typeTemplate,
|
|
71
|
+
url: typeTemplate,
|
|
72
|
+
hex: typeTemplate
|
|
73
|
+
},
|
|
74
|
+
string: {
|
|
75
|
+
len: '${label} must be ${len} characters',
|
|
76
|
+
min: '${label} must be at least ${min} characters',
|
|
77
|
+
max: '${label} must be up to ${max} characters',
|
|
78
|
+
range: '${label} must be between ${min}-${max} characters'
|
|
79
|
+
},
|
|
80
|
+
number: {
|
|
81
|
+
len: '${label} must be equal to ${len}',
|
|
82
|
+
min: '${label} must be minimum ${min}',
|
|
83
|
+
max: '${label} must be maximum ${max}',
|
|
84
|
+
range: '${label} must be between ${min}-${max}'
|
|
85
|
+
},
|
|
86
|
+
array: {
|
|
87
|
+
len: 'Must be ${len} ${label}',
|
|
88
|
+
min: 'At least ${min} ${label}',
|
|
89
|
+
max: 'At most ${max} ${label}',
|
|
90
|
+
range: 'The amount of ${label} must be between ${min}-${max}'
|
|
91
|
+
},
|
|
92
|
+
pattern: {
|
|
93
|
+
mismatch: '${label} does not match the pattern ${pattern}'
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
ImageUploader: {
|
|
98
|
+
uploading: 'Uploading...',
|
|
99
|
+
upload: 'Upload'
|
|
100
|
+
},
|
|
101
|
+
InfiniteScroll: {
|
|
102
|
+
noMore: 'No more',
|
|
103
|
+
failedToLoad: 'Failed to load',
|
|
104
|
+
retry: 'Retry'
|
|
105
|
+
},
|
|
106
|
+
Input: {
|
|
107
|
+
clear: 'clear'
|
|
108
|
+
},
|
|
109
|
+
Mask: {
|
|
110
|
+
name: 'Mask'
|
|
111
|
+
},
|
|
112
|
+
Modal: {
|
|
113
|
+
ok: 'OK'
|
|
114
|
+
},
|
|
115
|
+
PasscodeInput: {
|
|
116
|
+
name: 'Passcode Input'
|
|
117
|
+
},
|
|
118
|
+
PullToRefresh: {
|
|
119
|
+
pulling: 'Scroll down to refresh',
|
|
120
|
+
canRelease: 'Release to refresh immediately',
|
|
121
|
+
complete: 'Refresh successful'
|
|
122
|
+
},
|
|
123
|
+
SearchBar: {
|
|
124
|
+
name: 'Search Bar'
|
|
125
|
+
},
|
|
126
|
+
Slider: {
|
|
127
|
+
name: 'Slider'
|
|
128
|
+
},
|
|
129
|
+
Stepper: {
|
|
130
|
+
decrease: 'decrease',
|
|
131
|
+
increase: 'increase'
|
|
132
|
+
},
|
|
133
|
+
Switch: {
|
|
134
|
+
name: 'Switch'
|
|
135
|
+
},
|
|
136
|
+
Selector: {
|
|
137
|
+
name: 'Selector'
|
|
138
|
+
}
|
|
139
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const enUS: {
|
|
2
|
+
locale: string;
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
close: string;
|
|
8
|
+
};
|
|
9
|
+
Calendar: {
|
|
10
|
+
title: string;
|
|
11
|
+
confirm: string;
|
|
12
|
+
start: string;
|
|
13
|
+
end: string;
|
|
14
|
+
today: string;
|
|
15
|
+
markItems: string[];
|
|
16
|
+
yearAndMonth: string;
|
|
17
|
+
};
|
|
18
|
+
Cascader: {
|
|
19
|
+
placeholder: string;
|
|
20
|
+
};
|
|
21
|
+
Dialog: {
|
|
22
|
+
ok: string;
|
|
23
|
+
};
|
|
24
|
+
DatePicker: {
|
|
25
|
+
tillNow: string;
|
|
26
|
+
};
|
|
27
|
+
ErrorBlock: {
|
|
28
|
+
default: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
busy: {
|
|
33
|
+
title: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
disconnected: {
|
|
37
|
+
title: string;
|
|
38
|
+
description: string;
|
|
39
|
+
};
|
|
40
|
+
empty: {
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
Form: {
|
|
46
|
+
required: string;
|
|
47
|
+
optional: string;
|
|
48
|
+
defaultValidateMessages: {
|
|
49
|
+
default: string;
|
|
50
|
+
required: string;
|
|
51
|
+
enum: string;
|
|
52
|
+
whitespace: string;
|
|
53
|
+
date: {
|
|
54
|
+
format: string;
|
|
55
|
+
parse: string;
|
|
56
|
+
invalid: string;
|
|
57
|
+
};
|
|
58
|
+
types: {
|
|
59
|
+
string: string;
|
|
60
|
+
method: string;
|
|
61
|
+
array: string;
|
|
62
|
+
object: string;
|
|
63
|
+
number: string;
|
|
64
|
+
date: string;
|
|
65
|
+
boolean: string;
|
|
66
|
+
integer: string;
|
|
67
|
+
float: string;
|
|
68
|
+
regexp: string;
|
|
69
|
+
email: string;
|
|
70
|
+
url: string;
|
|
71
|
+
hex: string;
|
|
72
|
+
};
|
|
73
|
+
string: {
|
|
74
|
+
len: string;
|
|
75
|
+
min: string;
|
|
76
|
+
max: string;
|
|
77
|
+
range: string;
|
|
78
|
+
};
|
|
79
|
+
number: {
|
|
80
|
+
len: string;
|
|
81
|
+
min: string;
|
|
82
|
+
max: string;
|
|
83
|
+
range: string;
|
|
84
|
+
};
|
|
85
|
+
array: {
|
|
86
|
+
len: string;
|
|
87
|
+
min: string;
|
|
88
|
+
max: string;
|
|
89
|
+
range: string;
|
|
90
|
+
};
|
|
91
|
+
pattern: {
|
|
92
|
+
mismatch: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
ImageUploader: {
|
|
97
|
+
uploading: string;
|
|
98
|
+
upload: string;
|
|
99
|
+
};
|
|
100
|
+
InfiniteScroll: {
|
|
101
|
+
noMore: string;
|
|
102
|
+
failedToLoad: string;
|
|
103
|
+
retry: string;
|
|
104
|
+
};
|
|
105
|
+
Input: {
|
|
106
|
+
clear: string;
|
|
107
|
+
};
|
|
108
|
+
Mask: {
|
|
109
|
+
name: string;
|
|
110
|
+
};
|
|
111
|
+
Modal: {
|
|
112
|
+
ok: string;
|
|
113
|
+
};
|
|
114
|
+
PasscodeInput: {
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
PullToRefresh: {
|
|
118
|
+
pulling: string;
|
|
119
|
+
canRelease: string;
|
|
120
|
+
complete: string;
|
|
121
|
+
};
|
|
122
|
+
SearchBar: {
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
Slider: {
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
Stepper: {
|
|
129
|
+
decrease: string;
|
|
130
|
+
increase: string;
|
|
131
|
+
};
|
|
132
|
+
Switch: {
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
Selector: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
export default enUS;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
var typeTemplate = '${label}不是一个有效的${type}';
|
|
2
|
+
var zhCN = {
|
|
3
|
+
locale: 'zh-CH',
|
|
4
|
+
common: {
|
|
5
|
+
confirm: '确定',
|
|
6
|
+
cancel: '取消',
|
|
7
|
+
loading: '加载中',
|
|
8
|
+
close: '关闭'
|
|
9
|
+
},
|
|
10
|
+
Calendar: {
|
|
11
|
+
title: '日期选择',
|
|
12
|
+
confirm: '确认',
|
|
13
|
+
start: '开始',
|
|
14
|
+
end: '结束',
|
|
15
|
+
today: '今日',
|
|
16
|
+
markItems: ['一', '二', '三', '四', '五', '六', '日'],
|
|
17
|
+
yearAndMonth: '${year}年${month}月'
|
|
18
|
+
},
|
|
19
|
+
Cascader: {
|
|
20
|
+
placeholder: '请选择'
|
|
21
|
+
},
|
|
22
|
+
Dialog: {
|
|
23
|
+
ok: '我知道了'
|
|
24
|
+
},
|
|
25
|
+
DatePicker: {
|
|
26
|
+
tillNow: '至今'
|
|
27
|
+
},
|
|
28
|
+
ErrorBlock: {
|
|
29
|
+
default: {
|
|
30
|
+
title: '页面遇到一些小问题',
|
|
31
|
+
description: '待会来试试'
|
|
32
|
+
},
|
|
33
|
+
busy: {
|
|
34
|
+
title: '前方拥堵',
|
|
35
|
+
description: '刷新试试'
|
|
36
|
+
},
|
|
37
|
+
disconnected: {
|
|
38
|
+
title: '网络有点忙',
|
|
39
|
+
description: '动动手指帮忙修复'
|
|
40
|
+
},
|
|
41
|
+
empty: {
|
|
42
|
+
title: '没有找到你需要的东西',
|
|
43
|
+
description: '找找其他的吧'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
Form: {
|
|
47
|
+
required: '必填',
|
|
48
|
+
optional: '选填',
|
|
49
|
+
defaultValidateMessages: {
|
|
50
|
+
default: '字段验证错误${label}',
|
|
51
|
+
required: '请输入${label}',
|
|
52
|
+
enum: '${label}必须是其中一个[${enum}]',
|
|
53
|
+
whitespace: '${label}不能为空字符',
|
|
54
|
+
date: {
|
|
55
|
+
format: '${label}日期格式无效',
|
|
56
|
+
parse: '${label}不能转换为日期',
|
|
57
|
+
invalid: '${label}是一个无效日期'
|
|
58
|
+
},
|
|
59
|
+
types: {
|
|
60
|
+
string: typeTemplate,
|
|
61
|
+
method: typeTemplate,
|
|
62
|
+
array: typeTemplate,
|
|
63
|
+
object: typeTemplate,
|
|
64
|
+
number: typeTemplate,
|
|
65
|
+
date: typeTemplate,
|
|
66
|
+
boolean: typeTemplate,
|
|
67
|
+
integer: typeTemplate,
|
|
68
|
+
float: typeTemplate,
|
|
69
|
+
regexp: typeTemplate,
|
|
70
|
+
email: typeTemplate,
|
|
71
|
+
url: typeTemplate,
|
|
72
|
+
hex: typeTemplate
|
|
73
|
+
},
|
|
74
|
+
string: {
|
|
75
|
+
len: '${label}须为${len}个字符',
|
|
76
|
+
min: '${label}最少${min}个字符',
|
|
77
|
+
max: '${label}最多${max}个字符',
|
|
78
|
+
range: '${label}须在${min}-${max}字符之间'
|
|
79
|
+
},
|
|
80
|
+
number: {
|
|
81
|
+
len: '${label}必须等于${len}',
|
|
82
|
+
min: '${label}最小值为${min}',
|
|
83
|
+
max: '${label}最大值为${max}',
|
|
84
|
+
range: '${label}须在${min}-${max}之间'
|
|
85
|
+
},
|
|
86
|
+
array: {
|
|
87
|
+
len: '须为${len}个${label}',
|
|
88
|
+
min: '最少${min}个${label}',
|
|
89
|
+
max: '最多${max}个${label}',
|
|
90
|
+
range: '${label}数量须在${min}-${max}之间'
|
|
91
|
+
},
|
|
92
|
+
pattern: {
|
|
93
|
+
mismatch: '${label}与模式不匹配${pattern}'
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
ImageUploader: {
|
|
98
|
+
uploading: '上传中...',
|
|
99
|
+
upload: '上传'
|
|
100
|
+
},
|
|
101
|
+
InfiniteScroll: {
|
|
102
|
+
noMore: '没有更多了',
|
|
103
|
+
failedToLoad: '加载失败',
|
|
104
|
+
retry: '重新加载'
|
|
105
|
+
},
|
|
106
|
+
Input: {
|
|
107
|
+
clear: '清除'
|
|
108
|
+
},
|
|
109
|
+
Mask: {
|
|
110
|
+
name: '背景蒙层'
|
|
111
|
+
},
|
|
112
|
+
Modal: {
|
|
113
|
+
ok: '我知道了'
|
|
114
|
+
},
|
|
115
|
+
PasscodeInput: {
|
|
116
|
+
name: '密码输入框'
|
|
117
|
+
},
|
|
118
|
+
PullToRefresh: {
|
|
119
|
+
pulling: '下拉刷新',
|
|
120
|
+
canRelease: '释放立即刷新',
|
|
121
|
+
complete: '刷新成功'
|
|
122
|
+
},
|
|
123
|
+
SearchBar: {
|
|
124
|
+
name: '搜索框'
|
|
125
|
+
},
|
|
126
|
+
Slider: {
|
|
127
|
+
name: '滑动输入条'
|
|
128
|
+
},
|
|
129
|
+
Stepper: {
|
|
130
|
+
decrease: '减少',
|
|
131
|
+
increase: '增加'
|
|
132
|
+
},
|
|
133
|
+
Switch: {
|
|
134
|
+
name: '开关'
|
|
135
|
+
},
|
|
136
|
+
Selector: {
|
|
137
|
+
name: '选择组'
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
export default zhCN;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './style.scss';
|