@tendaui/react 1.1.4 → 1.1.5
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/es/alert/Alert.d.ts +7 -0
- package/es/alert/defaultProps.d.ts +2 -0
- package/es/alert/index.d.ts +5 -0
- package/es/alert/style/css.d.ts +1 -0
- package/es/alert/style/index.d.ts +1 -0
- package/es/alert/type.d.ts +45 -0
- package/es/badge/Badge.d.ts +7 -0
- package/es/badge/defaultProps.d.ts +2 -0
- package/es/badge/index.d.ts +5 -0
- package/es/badge/style/css.d.ts +1 -0
- package/es/badge/style/index.d.ts +1 -0
- package/es/badge/type.d.ts +50 -0
- package/es/button/Button.d.ts +6 -0
- package/es/button/_example/base.js +1 -1
- package/es/button/_example/icon.js +1 -1
- package/es/button/defaultProps.d.ts +2 -0
- package/es/button/index.d.ts +5 -0
- package/es/button/style/css.d.ts +1 -0
- package/es/button/style/index.d.ts +1 -0
- package/es/button/type.d.ts +81 -0
- package/es/checkbox/Checkbox.d.ts +10 -0
- package/es/checkbox/CheckboxGroup.d.ts +14 -0
- package/es/checkbox/defaultProps.d.ts +3 -0
- package/es/checkbox/index.d.ts +11 -0
- package/es/checkbox/style/css.d.ts +1 -0
- package/es/checkbox/style/index.d.ts +1 -0
- package/es/checkbox/type.d.ts +115 -0
- package/es/color-picker/ColorPickPanel.d.ts +4 -0
- package/es/color-picker/ColorPicker.d.ts +4 -0
- package/es/color-picker/components/panel/alpha.d.ts +4 -0
- package/es/color-picker/components/panel/format/index.d.ts +10 -0
- package/es/color-picker/components/panel/format/inputs.d.ts +4 -0
- package/es/color-picker/components/panel/header.d.ts +13 -0
- package/es/color-picker/components/panel/hue.d.ts +4 -0
- package/es/color-picker/components/panel/index.d.ts +4 -0
- package/es/color-picker/components/panel/saturation.d.ts +4 -0
- package/es/color-picker/components/panel/slider.d.ts +11 -0
- package/es/color-picker/components/panel/swatches.d.ts +11 -0
- package/es/color-picker/components/trigger.d.ts +9 -0
- package/es/color-picker/defaultProps.d.ts +2 -0
- package/es/color-picker/helpers.d.ts +5 -0
- package/es/color-picker/hooks/useClassNames.d.ts +2 -0
- package/es/color-picker/hooks/useStyles.d.ts +14 -0
- package/es/color-picker/index.d.ts +6 -0
- package/es/color-picker/index.js +1 -1
- package/es/color-picker/style/css.d.ts +1 -0
- package/es/color-picker/style/css.js +1 -0
- package/es/color-picker/style/index.d.ts +1 -0
- package/es/color-picker/type.d.ts +135 -0
- package/es/color-picker/utils/color-picker/cmyk.d.ts +27 -0
- package/es/color-picker/utils/color-picker/color.d.ts +144 -0
- package/es/color-picker/utils/color-picker/constants.d.ts +30 -0
- package/es/color-picker/utils/color-picker/draggable.d.ts +23 -0
- package/es/color-picker/utils/color-picker/format.d.ts +64 -0
- package/es/color-picker/utils/color-picker/gradient.d.ts +22 -0
- package/es/color-picker/utils/color-picker/index.d.ts +7 -0
- package/es/color-picker/utils/color-picker/types.d.ts +28 -0
- package/es/common/Check.d.ts +22 -0
- package/es/common/FakeArrow.d.ts +9 -0
- package/es/common/PluginContainer.d.ts +9 -0
- package/es/common/Portal.d.ts +16 -0
- package/es/common/observe.d.ts +1 -0
- package/es/common.d.ts +81 -0
- package/es/config-provider/ConfigContext.d.ts +13 -0
- package/es/config-provider/ConfigProvider.d.ts +25 -0
- package/es/config-provider/index.d.ts +7 -0
- package/es/config-provider/type.d.ts +1029 -0
- package/es/dialog/Dialog.d.ts +8 -0
- package/es/dialog/DialogCard.d.ts +8 -0
- package/es/dialog/defaultProps.d.ts +6 -0
- package/es/dialog/hooks/useDialogDrag.d.ts +7 -0
- package/es/dialog/hooks/useDialogEsc.d.ts +3 -0
- package/es/dialog/hooks/useDialogPosition.d.ts +2 -0
- package/es/dialog/hooks/useLockStyle.d.ts +2 -0
- package/es/dialog/index.d.ts +8 -0
- package/es/dialog/plugin.d.ts +6 -0
- package/es/dialog/style/css.d.ts +1 -0
- package/es/dialog/style/index.d.ts +1 -0
- package/es/dialog/type.d.ts +227 -0
- package/es/dialog/utils.d.ts +1 -0
- package/es/drawer/Drawer.d.ts +11 -0
- package/es/drawer/defaultProps.d.ts +2 -0
- package/es/drawer/hooks/useDrag.d.ts +8 -0
- package/es/drawer/hooks/useLockStyle.d.ts +1 -0
- package/es/drawer/index.d.ts +4 -0
- package/es/drawer/style/css.d.ts +1 -0
- package/es/drawer/style/css.js +1 -1
- package/es/drawer/style/index.d.ts +1 -0
- package/es/drawer/type.d.ts +199 -0
- package/es/drawer/utils/index.d.ts +23 -0
- package/es/fireworks/Fireworks.d.ts +7 -0
- package/es/fireworks/index.d.ts +5 -0
- package/es/fireworks/style/css.d.ts +0 -0
- package/es/fireworks/style/css.js +0 -2
- package/es/fireworks/style/index.d.ts +0 -0
- package/es/fireworks/type.d.ts +69 -0
- package/es/form/Form.d.ts +8 -0
- package/es/form/FormContext.d.ts +59 -0
- package/es/form/FormItem.d.ts +23 -0
- package/es/form/FormList.d.ts +4 -0
- package/es/form/const.d.ts +6 -0
- package/es/form/defaultProps.d.ts +3 -0
- package/es/form/easing.d.ts +2 -0
- package/es/form/formModel.d.ts +37 -0
- package/es/form/hooks/interface.d.ts +16 -0
- package/es/form/hooks/useForm.d.ts +3 -0
- package/es/form/hooks/useFormItemInitialData.d.ts +9 -0
- package/es/form/hooks/useFormItemStyle.d.ts +10 -0
- package/es/form/hooks/useInstance.d.ts +16 -0
- package/es/form/hooks/useWatch.d.ts +3 -0
- package/es/form/index.d.ts +7 -0
- package/es/form/scroll.d.ts +39 -0
- package/es/form/style/css.d.ts +1 -0
- package/es/form/style/index.d.ts +1 -0
- package/es/form/type.d.ts +486 -0
- package/es/form/utils/index.d.ts +5 -0
- package/es/global-config/default-config.d.ts +84 -0
- package/es/global-config/locale/ar_KW.d.ts +239 -0
- package/es/global-config/locale/en_US.d.ts +263 -0
- package/es/global-config/locale/it_IT.d.ts +263 -0
- package/es/global-config/locale/ja_JP.d.ts +263 -0
- package/es/global-config/locale/ko_KR.d.ts +263 -0
- package/es/global-config/locale/ru_RU.d.ts +263 -0
- package/es/global-config/locale/zh_CN.d.ts +263 -0
- package/es/global-config/locale/zh_TW.d.ts +263 -0
- package/es/global-config/mobile/default-config.d.ts +7 -0
- package/es/global-config/mobile/locale/ar_KW.d.ts +98 -0
- package/es/global-config/mobile/locale/en_US.d.ts +99 -0
- package/es/global-config/mobile/locale/it_IT.d.ts +99 -0
- package/es/global-config/mobile/locale/ja_JP.d.ts +99 -0
- package/es/global-config/mobile/locale/ko_KR.d.ts +99 -0
- package/es/global-config/mobile/locale/ru_RU.d.ts +99 -0
- package/es/global-config/mobile/locale/zh_CN.d.ts +99 -0
- package/es/global-config/mobile/locale/zh_TW.d.ts +99 -0
- package/es/global-config/t.d.ts +25 -0
- package/es/hooks/useAttach.d.ts +10 -0
- package/es/hooks/useCommonClassName.d.ts +54 -0
- package/es/hooks/useConfig.d.ts +2 -0
- package/es/hooks/useControlled.d.ts +9 -0
- package/es/hooks/useDeepEffect.d.ts +7 -0
- package/es/hooks/useDefaultProps.d.ts +1 -0
- package/es/hooks/useDomCallback.d.ts +1 -0
- package/es/hooks/useDomRefCallback.d.ts +1 -0
- package/es/hooks/useDragSorter.d.ts +28 -0
- package/es/hooks/useEventCallback.d.ts +9 -0
- package/es/hooks/useGlobalConfig.d.ts +1 -0
- package/es/hooks/useGlobalIcon.d.ts +5 -0
- package/es/hooks/useLastest.d.ts +2 -0
- package/es/hooks/useLayoutEffect.d.ts +3 -0
- package/es/hooks/useMouseEvent.d.ts +25 -0
- package/es/hooks/useMutationObserver.d.ts +4 -0
- package/es/hooks/usePopper.d.ts +19 -0
- package/es/hooks/useResizeObserve.d.ts +1 -0
- package/es/hooks/useRipple.d.ts +0 -0
- package/es/hooks/useSetState.d.ts +7 -0
- package/es/hooks/useVirtualScroll.d.ts +30 -0
- package/es/hooks/useWindowSize.d.ts +6 -0
- package/es/index.d.ts +25 -0
- package/es/index.js +1 -1
- package/es/input/Input.d.ts +16 -0
- package/es/input/InputGroup.d.ts +10 -0
- package/es/input/defaultProps.d.ts +17 -0
- package/es/input/index.d.ts +6 -0
- package/es/input/style/css.d.ts +1 -0
- package/es/input/style/index.d.ts +1 -0
- package/es/input/type.d.ts +237 -0
- package/es/input-number/InputNumber.d.ts +17 -0
- package/es/input-number/defaultProps.d.ts +2 -0
- package/es/input-number/index.d.ts +5 -0
- package/es/input-number/style/css.d.ts +1 -0
- package/es/input-number/style/index.d.ts +1 -0
- package/es/input-number/type.d.ts +156 -0
- package/es/input-number/useInputNumber.d.ts +51 -0
- package/es/ip-input/IPInput.d.ts +5 -0
- package/es/ip-input/defaultProps.d.ts +2 -0
- package/es/ip-input/index.d.ts +3 -0
- package/es/ip-input/style/css.d.ts +1 -0
- package/es/ip-input/style/index.d.ts +1 -0
- package/es/ip-input/type.d.ts +113 -0
- package/es/ip-input/utils.d.ts +35 -0
- package/es/layout/Aside.d.ts +11 -0
- package/es/layout/Layout.d.ts +26 -0
- package/es/layout/defaultProps.d.ts +5 -0
- package/es/layout/index.d.ts +10 -0
- package/es/layout/style/css.d.ts +1 -0
- package/es/layout/style/index.d.ts +1 -0
- package/es/layout/type.d.ts +38 -0
- package/es/list/List.d.ts +17 -0
- package/es/list/ListItem.d.ts +15 -0
- package/es/list/ListItemMeta.d.ts +10 -0
- package/es/list/defaultProps.d.ts +7 -0
- package/es/list/hooks/useListVirtualScroll.d.ts +24 -0
- package/es/list/index.d.ts +10 -0
- package/es/list/style/css.d.ts +1 -0
- package/es/list/style/index.d.ts +1 -0
- package/es/list/type.d.ts +92 -0
- package/es/loading/Gradient.d.ts +6 -0
- package/es/loading/Loading.d.ts +7 -0
- package/es/loading/circleAdapter.d.ts +1 -0
- package/es/loading/defaultProps.d.ts +2 -0
- package/es/loading/index.d.ts +5 -0
- package/es/loading/style/css.d.ts +1 -0
- package/es/loading/style/index.d.ts +1 -0
- package/es/loading/type.d.ts +68 -0
- package/es/loading/utils/setStyle.d.ts +7 -0
- package/es/locale/LocalReceiver.d.ts +6 -0
- package/es/locale/ar_KW.d.ts +3 -0
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/it_IT.d.ts +3 -0
- package/es/locale/ja_JP.d.ts +3 -0
- package/es/locale/ko_KR.d.ts +3 -0
- package/es/locale/ru_RU.d.ts +3 -0
- package/es/locale/zh_CN.d.ts +3 -0
- package/es/locale/zh_TW.d.ts +3 -0
- package/es/myform/index.d.ts +0 -0
- package/es/notification/Notify.d.ts +11 -0
- package/es/notification/NotifyContainer.d.ts +13 -0
- package/es/notification/NotifyContext.d.ts +23 -0
- package/es/notification/NotifyItem.d.ts +4 -0
- package/es/notification/index.d.ts +3 -0
- package/es/notification/style/css.d.ts +1 -0
- package/es/notification/style/index.d.ts +1 -0
- package/es/notification/type.d.ts +22 -0
- package/es/popup/Popup.d.ts +21 -0
- package/es/popup/defaultProps.d.ts +5 -0
- package/es/popup/hooks/useTrigger.d.ts +20 -0
- package/es/popup/index.d.ts +5 -0
- package/es/popup/style/css.d.ts +1 -0
- package/es/popup/style/index.d.ts +1 -0
- package/es/popup/type.d.ts +109 -0
- package/es/portal/Portal.d.ts +16 -0
- package/es/portal/index.d.ts +1 -0
- package/es/radio/Radio.d.ts +8 -0
- package/es/radio/RadioGroup.d.ts +14 -0
- package/es/radio/defaultProps.d.ts +3 -0
- package/es/radio/index.d.ts +10 -0
- package/es/radio/style/css.d.ts +0 -0
- package/es/radio/style/index.d.ts +1 -0
- package/es/radio/type.d.ts +117 -0
- package/es/radio/useKeyboard.d.ts +4 -0
- package/es/select/Option.d.ts +24 -0
- package/es/select/OptionGroup.d.ts +7 -0
- package/es/select/PopupContent.d.ts +24 -0
- package/es/select/Select.d.ts +13 -0
- package/es/select/defaultProps.d.ts +4 -0
- package/es/select/hooks/useOptions.d.ts +16 -0
- package/es/select/hooks/usePanelVirtualScroll.d.ts +24 -0
- package/es/select/index.d.ts +8 -0
- package/es/select/style/css.d.ts +1 -0
- package/es/select/style/index.d.ts +1 -0
- package/es/select/type.d.ts +344 -0
- package/es/select/utils/helper.d.ts +18 -0
- package/es/select-input/SelectInput.d.ts +11 -0
- package/es/select-input/defaultProps.d.ts +2 -0
- package/es/select-input/hook/useMultiple.d.ts +23 -0
- package/es/select-input/hook/useOverlayInnerStyle.d.ts +11 -0
- package/es/select-input/hook/useSingle.d.ts +16 -0
- package/es/select-input/index.d.ts +5 -0
- package/es/select-input/interface.d.ts +17 -0
- package/es/select-input/style/css.d.ts +1 -0
- package/es/select-input/style/index.d.ts +1 -0
- package/es/select-input/type.d.ts +243 -0
- package/es/slider/Slider.d.ts +7 -0
- package/es/slider/SliderHandleButton.d.ts +11 -0
- package/es/slider/defaultProps.d.ts +5 -0
- package/es/slider/index.d.ts +5 -0
- package/es/slider/style/css.d.ts +1 -0
- package/es/slider/style/index.d.ts +1 -0
- package/es/slider/type.d.ts +78 -0
- package/es/space/defaultProps.d.ts +0 -0
- package/es/space/index.d.ts +0 -0
- package/es/space/type.d.ts +0 -0
- package/es/style/index.d.ts +1 -0
- package/es/switch/Switch.d.ts +9 -0
- package/es/switch/defaultProps.d.ts +2 -0
- package/es/switch/index.d.ts +4 -0
- package/es/switch/style/css.d.ts +1 -0
- package/es/switch/style/index.d.ts +1 -0
- package/es/switch/type.d.ts +48 -0
- package/es/tab/TabBar.d.ts +9 -0
- package/es/tab/TabNav.d.ts +10 -0
- package/es/tab/TabNavItem.d.ts +15 -0
- package/es/tab/TabPanel.d.ts +9 -0
- package/es/tab/Tabs.d.ts +10 -0
- package/es/tab/defaultProps.d.ts +3 -0
- package/es/tab/index.d.ts +8 -0
- package/es/tab/style/index.d.ts +1 -0
- package/es/tab/type.d.ts +130 -0
- package/es/tab/useTabClass.d.ts +8 -0
- package/es/table/Cell.d.ts +18 -0
- package/es/table/TBody.d.ts +28 -0
- package/es/table/THead.d.ts +10 -0
- package/es/table/TR.d.ts +28 -0
- package/es/table/Table.d.ts +6 -0
- package/es/table/defaultProps.d.ts +2 -0
- package/es/table/hooks/index.d.ts +4 -0
- package/es/table/hooks/useTableClassName.d.ts +26 -0
- package/es/table/hooks/useTableStyle.d.ts +11 -0
- package/es/table/index.d.ts +5 -0
- package/es/table/style/css.d.ts +1 -0
- package/es/table/style/index.d.ts +1 -0
- package/es/table/type.d.ts +195 -0
- package/es/tag/Tag.d.ts +14 -0
- package/es/tag/defaultProps.d.ts +7 -0
- package/es/tag/index.d.ts +4 -0
- package/es/tag/style/css.d.ts +1 -0
- package/es/tag/style/index.d.ts +1 -0
- package/es/tag/type.d.ts +169 -0
- package/es/tag-input/TagInput.d.ts +9 -0
- package/es/tag-input/defaultProps.d.ts +2 -0
- package/es/tag-input/hooks/useHover.d.ts +17 -0
- package/es/tag-input/hooks/useTagList.d.ts +30 -0
- package/es/tag-input/hooks/useTagScroll.d.ts +25 -0
- package/es/tag-input/index.d.ts +5 -0
- package/es/tag-input/style/css.d.ts +1 -0
- package/es/tag-input/style/index.d.ts +1 -0
- package/es/tag-input/type.d.ts +235 -0
- package/es/tag-input/useTagList.d.ts +30 -0
- package/es/utils/composeRefs.d.ts +2 -0
- package/es/utils/dom.d.ts +7 -0
- package/es/utils/forwardRefWithStatics.d.ts +2 -0
- package/es/utils/getScrollbarWidth.d.ts +6 -0
- package/es/utils/helper.d.ts +46 -0
- package/es/utils/input-number/large-number.d.ts +85 -0
- package/es/utils/input-number/number.d.ts +81 -0
- package/es/utils/isFragment.d.ts +4 -0
- package/es/utils/listener.d.ts +4 -0
- package/es/utils/log/index.d.ts +2 -0
- package/es/utils/log/log.d.ts +3 -0
- package/es/utils/log/types.d.ts +8 -0
- package/es/utils/noop.d.ts +2 -0
- package/es/utils/number.d.ts +7 -0
- package/es/utils/parentTNode.d.ts +10 -0
- package/es/utils/parseTNode.d.ts +10 -0
- package/es/utils/react-render.d.ts +16 -0
- package/es/utils/ref.d.ts +1 -0
- package/es/utils/refs.d.ts +13 -0
- package/es/utils/scroll.d.ts +3 -0
- package/es/utils/style.d.ts +4 -0
- package/es/utils/transition.d.ts +20 -0
- package/package.json +1 -1
- package/es/fireworks/style/index.css +0 -121
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import 'dayjs/locale/en';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
actionSheet: {
|
|
4
|
+
cancel: string;
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
confirm: string;
|
|
8
|
+
title: string;
|
|
9
|
+
weekdays: string[];
|
|
10
|
+
monthTitle: string;
|
|
11
|
+
months: string[];
|
|
12
|
+
};
|
|
13
|
+
cascader: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
};
|
|
17
|
+
dropdownMenu: {
|
|
18
|
+
reset: string;
|
|
19
|
+
confirm: string;
|
|
20
|
+
};
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
title: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirm: string;
|
|
25
|
+
format: string;
|
|
26
|
+
yearLabel: string;
|
|
27
|
+
monthLabel: string;
|
|
28
|
+
dateLabel: string;
|
|
29
|
+
hourLabel: string;
|
|
30
|
+
minuteLabel: string;
|
|
31
|
+
secondLabel: string;
|
|
32
|
+
};
|
|
33
|
+
form: {
|
|
34
|
+
errorMessage: {
|
|
35
|
+
date: string;
|
|
36
|
+
url: string;
|
|
37
|
+
required: string;
|
|
38
|
+
whitespace: string;
|
|
39
|
+
max: string;
|
|
40
|
+
min: string;
|
|
41
|
+
len: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
idcard: string;
|
|
44
|
+
telnumber: string;
|
|
45
|
+
pattern: string;
|
|
46
|
+
validator: string;
|
|
47
|
+
boolean: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
colonText: string;
|
|
51
|
+
};
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
};
|
|
56
|
+
pullDownRefresh: {
|
|
57
|
+
loadingTexts: string[];
|
|
58
|
+
};
|
|
59
|
+
rate: {
|
|
60
|
+
valueText: string;
|
|
61
|
+
noValueText: string;
|
|
62
|
+
};
|
|
63
|
+
tabBar: {
|
|
64
|
+
newsAriaLabel: string;
|
|
65
|
+
moreNewsAriaLabel: string;
|
|
66
|
+
haveMoreNewsAriaLabel: string;
|
|
67
|
+
haveNewsAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
empty: string;
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
loading: string;
|
|
74
|
+
loadingMoreText: string;
|
|
75
|
+
pulling: string;
|
|
76
|
+
loosing: string;
|
|
77
|
+
success: string;
|
|
78
|
+
};
|
|
79
|
+
upload: {
|
|
80
|
+
progress: {
|
|
81
|
+
uploadingText: string;
|
|
82
|
+
waitingText: string;
|
|
83
|
+
failText: string;
|
|
84
|
+
successText: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
guide: {
|
|
88
|
+
next: string;
|
|
89
|
+
skip: string;
|
|
90
|
+
finish: string;
|
|
91
|
+
back: string;
|
|
92
|
+
};
|
|
93
|
+
qrcode: {
|
|
94
|
+
expiredText: string;
|
|
95
|
+
refreshText: string;
|
|
96
|
+
scannedText: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import 'dayjs/locale/it';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
actionSheet: {
|
|
4
|
+
cancel: string;
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
confirm: string;
|
|
8
|
+
title: string;
|
|
9
|
+
weekdays: string[];
|
|
10
|
+
monthTitle: string;
|
|
11
|
+
months: string[];
|
|
12
|
+
};
|
|
13
|
+
cascader: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
};
|
|
17
|
+
dropdownMenu: {
|
|
18
|
+
reset: string;
|
|
19
|
+
confirm: string;
|
|
20
|
+
};
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
title: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirm: string;
|
|
25
|
+
format: string;
|
|
26
|
+
yearLabel: string;
|
|
27
|
+
monthLabel: string;
|
|
28
|
+
dateLabel: string;
|
|
29
|
+
hourLabel: string;
|
|
30
|
+
minuteLabel: string;
|
|
31
|
+
secondLabel: string;
|
|
32
|
+
};
|
|
33
|
+
form: {
|
|
34
|
+
errorMessage: {
|
|
35
|
+
date: string;
|
|
36
|
+
url: string;
|
|
37
|
+
whitespace: string;
|
|
38
|
+
required: string;
|
|
39
|
+
max: string;
|
|
40
|
+
min: string;
|
|
41
|
+
len: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
idcard: string;
|
|
44
|
+
telnumber: string;
|
|
45
|
+
pattern: string;
|
|
46
|
+
validator: string;
|
|
47
|
+
boolean: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
colonText: string;
|
|
51
|
+
};
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
};
|
|
56
|
+
pullDownRefresh: {
|
|
57
|
+
loadingTexts: string[];
|
|
58
|
+
};
|
|
59
|
+
rate: {
|
|
60
|
+
valueText: string;
|
|
61
|
+
noValueText: string;
|
|
62
|
+
};
|
|
63
|
+
tabBar: {
|
|
64
|
+
newsAriaLabel: string;
|
|
65
|
+
moreNewsAriaLabel: string;
|
|
66
|
+
haveMoreNewsAriaLabel: string;
|
|
67
|
+
haveNewsAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
empty: string;
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
loading: string;
|
|
74
|
+
loadingMoreText: string;
|
|
75
|
+
pulling: string;
|
|
76
|
+
loosing: string;
|
|
77
|
+
success: string;
|
|
78
|
+
};
|
|
79
|
+
upload: {
|
|
80
|
+
progress: {
|
|
81
|
+
uploadingText: string;
|
|
82
|
+
waitingText: string;
|
|
83
|
+
failText: string;
|
|
84
|
+
successText: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
guide: {
|
|
88
|
+
next: string;
|
|
89
|
+
skip: string;
|
|
90
|
+
finish: string;
|
|
91
|
+
back: string;
|
|
92
|
+
};
|
|
93
|
+
qrcode: {
|
|
94
|
+
expiredText: string;
|
|
95
|
+
refreshText: string;
|
|
96
|
+
scannedText: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import 'dayjs/locale/ja';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
actionSheet: {
|
|
4
|
+
cancel: string;
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
confirm: string;
|
|
8
|
+
title: string;
|
|
9
|
+
weekdays: string[];
|
|
10
|
+
monthTitle: string;
|
|
11
|
+
months: string[];
|
|
12
|
+
};
|
|
13
|
+
cascader: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
};
|
|
17
|
+
dropdownMenu: {
|
|
18
|
+
reset: string;
|
|
19
|
+
confirm: string;
|
|
20
|
+
};
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
title: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirm: string;
|
|
25
|
+
format: string;
|
|
26
|
+
yearLabel: string;
|
|
27
|
+
monthLabel: string;
|
|
28
|
+
dateLabel: string;
|
|
29
|
+
hourLabel: string;
|
|
30
|
+
minuteLabel: string;
|
|
31
|
+
secondLabel: string;
|
|
32
|
+
};
|
|
33
|
+
form: {
|
|
34
|
+
errorMessage: {
|
|
35
|
+
date: string;
|
|
36
|
+
url: string;
|
|
37
|
+
required: string;
|
|
38
|
+
whitespace: string;
|
|
39
|
+
max: string;
|
|
40
|
+
min: string;
|
|
41
|
+
len: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
idcard: string;
|
|
44
|
+
telnumber: string;
|
|
45
|
+
pattern: string;
|
|
46
|
+
validator: string;
|
|
47
|
+
boolean: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
colonText: string;
|
|
51
|
+
};
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
};
|
|
56
|
+
pullDownRefresh: {
|
|
57
|
+
loadingTexts: string[];
|
|
58
|
+
};
|
|
59
|
+
rate: {
|
|
60
|
+
valueText: string;
|
|
61
|
+
noValueText: string;
|
|
62
|
+
};
|
|
63
|
+
tabBar: {
|
|
64
|
+
newsAriaLabel: string;
|
|
65
|
+
moreNewsAriaLabel: string;
|
|
66
|
+
haveMoreNewsAriaLabel: string;
|
|
67
|
+
haveNewsAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
empty: string;
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
loading: string;
|
|
74
|
+
loadingMoreText: string;
|
|
75
|
+
pulling: string;
|
|
76
|
+
loosing: string;
|
|
77
|
+
success: string;
|
|
78
|
+
};
|
|
79
|
+
upload: {
|
|
80
|
+
progress: {
|
|
81
|
+
uploadingText: string;
|
|
82
|
+
waitingText: string;
|
|
83
|
+
failText: string;
|
|
84
|
+
successText: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
guide: {
|
|
88
|
+
next: string;
|
|
89
|
+
skip: string;
|
|
90
|
+
finish: string;
|
|
91
|
+
back: string;
|
|
92
|
+
};
|
|
93
|
+
qrcode: {
|
|
94
|
+
expiredText: string;
|
|
95
|
+
refreshText: string;
|
|
96
|
+
scannedText: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import 'dayjs/locale/ko';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
actionSheet: {
|
|
4
|
+
cancel: string;
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
confirm: string;
|
|
8
|
+
title: string;
|
|
9
|
+
weekdays: string[];
|
|
10
|
+
monthTitle: string;
|
|
11
|
+
months: string[];
|
|
12
|
+
};
|
|
13
|
+
cascader: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
};
|
|
17
|
+
dropdownMenu: {
|
|
18
|
+
reset: string;
|
|
19
|
+
confirm: string;
|
|
20
|
+
};
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
title: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirm: string;
|
|
25
|
+
format: string;
|
|
26
|
+
yearLabel: string;
|
|
27
|
+
monthLabel: string;
|
|
28
|
+
dateLabel: string;
|
|
29
|
+
hourLabel: string;
|
|
30
|
+
minuteLabel: string;
|
|
31
|
+
secondLabel: string;
|
|
32
|
+
};
|
|
33
|
+
form: {
|
|
34
|
+
errorMessage: {
|
|
35
|
+
date: string;
|
|
36
|
+
url: string;
|
|
37
|
+
required: string;
|
|
38
|
+
whitespace: string;
|
|
39
|
+
max: string;
|
|
40
|
+
min: string;
|
|
41
|
+
len: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
idcard: string;
|
|
44
|
+
telnumber: string;
|
|
45
|
+
pattern: string;
|
|
46
|
+
validator: string;
|
|
47
|
+
boolean: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
colonText: string;
|
|
51
|
+
};
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
};
|
|
56
|
+
pullDownRefresh: {
|
|
57
|
+
loadingTexts: string[];
|
|
58
|
+
};
|
|
59
|
+
rate: {
|
|
60
|
+
valueText: string;
|
|
61
|
+
noValueText: string;
|
|
62
|
+
};
|
|
63
|
+
tabBar: {
|
|
64
|
+
newsAriaLabel: string;
|
|
65
|
+
moreNewsAriaLabel: string;
|
|
66
|
+
haveMoreNewsAriaLabel: string;
|
|
67
|
+
haveNewsAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
empty: string;
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
loading: string;
|
|
74
|
+
loadingMoreText: string;
|
|
75
|
+
pulling: string;
|
|
76
|
+
loosing: string;
|
|
77
|
+
success: string;
|
|
78
|
+
};
|
|
79
|
+
upload: {
|
|
80
|
+
progress: {
|
|
81
|
+
uploadingText: string;
|
|
82
|
+
waitingText: string;
|
|
83
|
+
failText: string;
|
|
84
|
+
successText: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
guide: {
|
|
88
|
+
next: string;
|
|
89
|
+
skip: string;
|
|
90
|
+
finish: string;
|
|
91
|
+
back: string;
|
|
92
|
+
};
|
|
93
|
+
qrcode: {
|
|
94
|
+
expiredText: string;
|
|
95
|
+
refreshText: string;
|
|
96
|
+
scannedText: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import 'dayjs/locale/ru';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
actionSheet: {
|
|
4
|
+
cancel: string;
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
confirm: string;
|
|
8
|
+
title: string;
|
|
9
|
+
weekdays: string[];
|
|
10
|
+
monthTitle: string;
|
|
11
|
+
months: string[];
|
|
12
|
+
};
|
|
13
|
+
cascader: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
};
|
|
17
|
+
dropdownMenu: {
|
|
18
|
+
reset: string;
|
|
19
|
+
confirm: string;
|
|
20
|
+
};
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
title: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirm: string;
|
|
25
|
+
format: string;
|
|
26
|
+
yearLabel: string;
|
|
27
|
+
monthLabel: string;
|
|
28
|
+
dateLabel: string;
|
|
29
|
+
hourLabel: string;
|
|
30
|
+
minuteLabel: string;
|
|
31
|
+
secondLabel: string;
|
|
32
|
+
};
|
|
33
|
+
form: {
|
|
34
|
+
errorMessage: {
|
|
35
|
+
date: string;
|
|
36
|
+
url: string;
|
|
37
|
+
whitespace: string;
|
|
38
|
+
required: string;
|
|
39
|
+
max: string;
|
|
40
|
+
min: string;
|
|
41
|
+
len: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
idcard: string;
|
|
44
|
+
telnumber: string;
|
|
45
|
+
pattern: string;
|
|
46
|
+
validator: string;
|
|
47
|
+
boolean: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
colonText: string;
|
|
51
|
+
};
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
};
|
|
56
|
+
pullDownRefresh: {
|
|
57
|
+
loadingTexts: string[];
|
|
58
|
+
};
|
|
59
|
+
rate: {
|
|
60
|
+
valueText: string;
|
|
61
|
+
noValueText: string;
|
|
62
|
+
};
|
|
63
|
+
tabBar: {
|
|
64
|
+
newsAriaLabel: string;
|
|
65
|
+
moreNewsAriaLabel: string;
|
|
66
|
+
haveMoreNewsAriaLabel: string;
|
|
67
|
+
haveNewsAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
empty: string;
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
loading: string;
|
|
74
|
+
loadingMoreText: string;
|
|
75
|
+
pulling: string;
|
|
76
|
+
loosing: string;
|
|
77
|
+
success: string;
|
|
78
|
+
};
|
|
79
|
+
upload: {
|
|
80
|
+
progress: {
|
|
81
|
+
uploadingText: string;
|
|
82
|
+
waitingText: string;
|
|
83
|
+
failText: string;
|
|
84
|
+
successText: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
guide: {
|
|
88
|
+
next: string;
|
|
89
|
+
skip: string;
|
|
90
|
+
finish: string;
|
|
91
|
+
back: string;
|
|
92
|
+
};
|
|
93
|
+
qrcode: {
|
|
94
|
+
expiredText: string;
|
|
95
|
+
refreshText: string;
|
|
96
|
+
scannedText: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import 'dayjs/locale/zh-cn';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
actionSheet: {
|
|
4
|
+
cancel: string;
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
title: string;
|
|
8
|
+
confirm: string;
|
|
9
|
+
weekdays: string[];
|
|
10
|
+
monthTitle: string;
|
|
11
|
+
months: string[];
|
|
12
|
+
};
|
|
13
|
+
cascader: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
};
|
|
17
|
+
dropdownMenu: {
|
|
18
|
+
reset: string;
|
|
19
|
+
confirm: string;
|
|
20
|
+
};
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
title: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirm: string;
|
|
25
|
+
format: string;
|
|
26
|
+
yearLabel: string;
|
|
27
|
+
monthLabel: string;
|
|
28
|
+
dateLabel: string;
|
|
29
|
+
hourLabel: string;
|
|
30
|
+
minuteLabel: string;
|
|
31
|
+
secondLabel: string;
|
|
32
|
+
};
|
|
33
|
+
form: {
|
|
34
|
+
errorMessage: {
|
|
35
|
+
date: string;
|
|
36
|
+
url: string;
|
|
37
|
+
required: string;
|
|
38
|
+
whitespace: string;
|
|
39
|
+
max: string;
|
|
40
|
+
min: string;
|
|
41
|
+
len: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
idcard: string;
|
|
44
|
+
telnumber: string;
|
|
45
|
+
pattern: string;
|
|
46
|
+
validator: string;
|
|
47
|
+
boolean: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
colonText: string;
|
|
51
|
+
};
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
};
|
|
56
|
+
pullDownRefresh: {
|
|
57
|
+
loadingTexts: string[];
|
|
58
|
+
};
|
|
59
|
+
rate: {
|
|
60
|
+
valueText: string;
|
|
61
|
+
noValueText: string;
|
|
62
|
+
};
|
|
63
|
+
tabBar: {
|
|
64
|
+
newsAriaLabel: string;
|
|
65
|
+
moreNewsAriaLabel: string;
|
|
66
|
+
haveMoreNewsAriaLabel: string;
|
|
67
|
+
haveNewsAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
empty: string;
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
loading: string;
|
|
74
|
+
loadingMoreText: string;
|
|
75
|
+
pulling: string;
|
|
76
|
+
loosing: string;
|
|
77
|
+
success: string;
|
|
78
|
+
};
|
|
79
|
+
upload: {
|
|
80
|
+
progress: {
|
|
81
|
+
uploadingText: string;
|
|
82
|
+
waitingText: string;
|
|
83
|
+
failText: string;
|
|
84
|
+
successText: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
guide: {
|
|
88
|
+
next: string;
|
|
89
|
+
skip: string;
|
|
90
|
+
finish: string;
|
|
91
|
+
back: string;
|
|
92
|
+
};
|
|
93
|
+
qrcode: {
|
|
94
|
+
expiredText: string;
|
|
95
|
+
refreshText: string;
|
|
96
|
+
scannedText: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import 'dayjs/locale/zh-tw';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
actionSheet: {
|
|
4
|
+
cancel: string;
|
|
5
|
+
};
|
|
6
|
+
calendar: {
|
|
7
|
+
title: string;
|
|
8
|
+
confirm: string;
|
|
9
|
+
weekdays: string[];
|
|
10
|
+
monthTitle: string;
|
|
11
|
+
months: string[];
|
|
12
|
+
};
|
|
13
|
+
cascader: {
|
|
14
|
+
title: string;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
};
|
|
17
|
+
dropdownMenu: {
|
|
18
|
+
reset: string;
|
|
19
|
+
confirm: string;
|
|
20
|
+
};
|
|
21
|
+
dateTimePicker: {
|
|
22
|
+
title: string;
|
|
23
|
+
cancel: string;
|
|
24
|
+
confirm: string;
|
|
25
|
+
format: string;
|
|
26
|
+
yearLabel: string;
|
|
27
|
+
monthLabel: string;
|
|
28
|
+
dateLabel: string;
|
|
29
|
+
hourLabel: string;
|
|
30
|
+
minuteLabel: string;
|
|
31
|
+
secondLabel: string;
|
|
32
|
+
};
|
|
33
|
+
form: {
|
|
34
|
+
errorMessage: {
|
|
35
|
+
date: string;
|
|
36
|
+
url: string;
|
|
37
|
+
whitespace: string;
|
|
38
|
+
required: string;
|
|
39
|
+
max: string;
|
|
40
|
+
min: string;
|
|
41
|
+
len: string;
|
|
42
|
+
enum: string;
|
|
43
|
+
idcard: string;
|
|
44
|
+
telnumber: string;
|
|
45
|
+
pattern: string;
|
|
46
|
+
validator: string;
|
|
47
|
+
boolean: string;
|
|
48
|
+
number: string;
|
|
49
|
+
};
|
|
50
|
+
colonText: string;
|
|
51
|
+
};
|
|
52
|
+
picker: {
|
|
53
|
+
cancel: string;
|
|
54
|
+
confirm: string;
|
|
55
|
+
};
|
|
56
|
+
pullDownRefresh: {
|
|
57
|
+
loadingTexts: string[];
|
|
58
|
+
};
|
|
59
|
+
rate: {
|
|
60
|
+
valueText: string;
|
|
61
|
+
noValueText: string;
|
|
62
|
+
};
|
|
63
|
+
tabBar: {
|
|
64
|
+
newsAriaLabel: string;
|
|
65
|
+
moreNewsAriaLabel: string;
|
|
66
|
+
haveMoreNewsAriaLabel: string;
|
|
67
|
+
haveNewsAriaLabel: string;
|
|
68
|
+
};
|
|
69
|
+
table: {
|
|
70
|
+
empty: string;
|
|
71
|
+
};
|
|
72
|
+
list: {
|
|
73
|
+
loading: string;
|
|
74
|
+
loadingMoreText: string;
|
|
75
|
+
pulling: string;
|
|
76
|
+
loosing: string;
|
|
77
|
+
success: string;
|
|
78
|
+
};
|
|
79
|
+
upload: {
|
|
80
|
+
progress: {
|
|
81
|
+
uploadingText: string;
|
|
82
|
+
waitingText: string;
|
|
83
|
+
failText: string;
|
|
84
|
+
successText: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
guide: {
|
|
88
|
+
next: string;
|
|
89
|
+
skip: string;
|
|
90
|
+
finish: string;
|
|
91
|
+
back: string;
|
|
92
|
+
};
|
|
93
|
+
qrcode: {
|
|
94
|
+
expiredText: string;
|
|
95
|
+
refreshText: string;
|
|
96
|
+
scannedText: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @see https://github.com/Tencent/tdesign-vue-next/blob/develop/packages/components/config-provider/hooks/useConfig.ts#L48
|
|
3
|
+
* 自定义 t function 可能依赖特定库函数,例如 tdesign-vue-next 中使用了 vue 的 h 函数
|
|
4
|
+
* 因此交由各个类库自行实现
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* 国际化函数,支持复数处理和变量替换
|
|
8
|
+
*
|
|
9
|
+
* 示例用法:
|
|
10
|
+
* 1. 基本变量替换:
|
|
11
|
+
* t('Hello {name}', { name: 'World' }) // => 'Hello World'
|
|
12
|
+
*
|
|
13
|
+
* 2. 复数处理(传入数字):
|
|
14
|
+
* t('no apples | one apple | {count} apples', 0) // => 'no apples'
|
|
15
|
+
* t('no apples | one apple | {count} apples', 1) // => 'one apple'
|
|
16
|
+
* t('no apples | one apple | {count} apples', 5) // => '5 apples'
|
|
17
|
+
*
|
|
18
|
+
* 3. 复合使用:
|
|
19
|
+
* t('no items found | found {count} item | found {count} items', 3, { count: 3 }) // => 'found 3 items'
|
|
20
|
+
*/
|
|
21
|
+
export declare function t(pattern: string): string;
|
|
22
|
+
export declare function t(pattern: string, data: Record<string, any>): string;
|
|
23
|
+
export declare function t(pattern: string, count: number): string;
|
|
24
|
+
export declare function t(pattern: string, count: number, data: Record<string, any>): string;
|
|
25
|
+
export declare function t<T>(pattern: T): string;
|