antd-mobile 5.7.1 → 5.7.2

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.
Files changed (67) hide show
  1. package/2x/cjs/components/dialog/confirm.js +9 -1
  2. package/2x/cjs/components/form/form-item.js +6 -3
  3. package/2x/cjs/components/modal/confirm.js +9 -1
  4. package/2x/cjs/components/passcode-input/passcode-input.js +1 -1
  5. package/2x/cjs/components/pull-to-refresh/pull-to-refresh.js +11 -1
  6. package/2x/cjs/locales/base.d.ts +6 -0
  7. package/2x/cjs/locales/base.js +7 -1
  8. package/2x/cjs/locales/en-US.d.ts +6 -0
  9. package/2x/cjs/locales/fa-IR.d.ts +101 -0
  10. package/2x/cjs/locales/fa-IR.js +108 -0
  11. package/2x/cjs/locales/zh-CN.d.ts +6 -0
  12. package/2x/cjs/locales/zh-CN.js +7 -1
  13. package/2x/cjs/locales/zh-HK.d.ts +101 -0
  14. package/2x/cjs/locales/zh-HK.js +58 -0
  15. package/2x/cjs/locales/zh-TW.d.ts +101 -0
  16. package/2x/cjs/locales/zh-TW.js +58 -0
  17. package/2x/es/components/dialog/confirm.js +8 -1
  18. package/2x/es/components/form/form-item.js +6 -3
  19. package/2x/es/components/modal/confirm.js +8 -1
  20. package/2x/es/components/passcode-input/passcode-input.js +1 -1
  21. package/2x/es/components/pull-to-refresh/pull-to-refresh.js +10 -1
  22. package/2x/es/locales/base.d.ts +6 -0
  23. package/2x/es/locales/base.js +7 -1
  24. package/2x/es/locales/en-US.d.ts +6 -0
  25. package/2x/es/locales/fa-IR.d.ts +101 -0
  26. package/2x/es/locales/fa-IR.js +98 -0
  27. package/2x/es/locales/zh-CN.d.ts +6 -0
  28. package/2x/es/locales/zh-CN.js +7 -1
  29. package/2x/es/locales/zh-HK.d.ts +101 -0
  30. package/2x/es/locales/zh-HK.js +48 -0
  31. package/2x/es/locales/zh-TW.d.ts +101 -0
  32. package/2x/es/locales/zh-TW.js +48 -0
  33. package/2x/package.json +1 -1
  34. package/cjs/components/dialog/confirm.js +9 -1
  35. package/cjs/components/form/form-item.js +6 -3
  36. package/cjs/components/modal/confirm.js +9 -1
  37. package/cjs/components/passcode-input/passcode-input.js +1 -1
  38. package/cjs/components/pull-to-refresh/pull-to-refresh.js +11 -1
  39. package/cjs/locales/base.d.ts +6 -0
  40. package/cjs/locales/base.js +7 -1
  41. package/cjs/locales/en-US.d.ts +6 -0
  42. package/cjs/locales/fa-IR.d.ts +101 -0
  43. package/cjs/locales/fa-IR.js +108 -0
  44. package/cjs/locales/zh-CN.d.ts +6 -0
  45. package/cjs/locales/zh-CN.js +7 -1
  46. package/cjs/locales/zh-HK.d.ts +101 -0
  47. package/cjs/locales/zh-HK.js +58 -0
  48. package/cjs/locales/zh-TW.d.ts +101 -0
  49. package/cjs/locales/zh-TW.js +58 -0
  50. package/es/components/dialog/confirm.js +8 -1
  51. package/es/components/form/form-item.js +6 -3
  52. package/es/components/modal/confirm.js +8 -1
  53. package/es/components/passcode-input/passcode-input.js +1 -1
  54. package/es/components/pull-to-refresh/pull-to-refresh.js +10 -1
  55. package/es/locales/base.d.ts +6 -0
  56. package/es/locales/base.js +7 -1
  57. package/es/locales/en-US.d.ts +6 -0
  58. package/es/locales/fa-IR.d.ts +101 -0
  59. package/es/locales/fa-IR.js +98 -0
  60. package/es/locales/zh-CN.d.ts +6 -0
  61. package/es/locales/zh-CN.js +7 -1
  62. package/es/locales/zh-HK.d.ts +101 -0
  63. package/es/locales/zh-HK.js +48 -0
  64. package/es/locales/zh-TW.d.ts +101 -0
  65. package/es/locales/zh-TW.js +48 -0
  66. package/package.json +1 -1
  67. package/umd/antd-mobile.js +1 -1
@@ -0,0 +1,101 @@
1
+ declare const zhHK: {
2
+ common: {
3
+ confirm: string;
4
+ cancel: string;
5
+ loading: string;
6
+ };
7
+ Calendar: {
8
+ markItems: string[];
9
+ renderYearAndMonth: (year: number, month: number) => string;
10
+ };
11
+ Cascader: {
12
+ placeholder: string;
13
+ };
14
+ Dialog: {
15
+ ok: string;
16
+ };
17
+ ErrorBlock: {
18
+ default: {
19
+ title: string;
20
+ description: string;
21
+ };
22
+ busy: {
23
+ title: string;
24
+ description: string;
25
+ };
26
+ disconnected: {
27
+ title: string;
28
+ description: string;
29
+ };
30
+ empty: {
31
+ title: string;
32
+ description: string;
33
+ };
34
+ };
35
+ Form: {
36
+ required: string;
37
+ optional: string;
38
+ defaultValidateMessages: {
39
+ default: string;
40
+ required: string;
41
+ enum: string;
42
+ whitespace: string;
43
+ date: {
44
+ format: string;
45
+ parse: string;
46
+ invalid: string;
47
+ };
48
+ types: {
49
+ string: string;
50
+ method: string;
51
+ array: string;
52
+ object: string;
53
+ number: string;
54
+ date: string;
55
+ boolean: string;
56
+ integer: string;
57
+ float: string;
58
+ regexp: string;
59
+ email: string;
60
+ url: string;
61
+ hex: string;
62
+ };
63
+ string: {
64
+ len: string;
65
+ min: string;
66
+ max: string;
67
+ range: string;
68
+ };
69
+ number: {
70
+ len: string;
71
+ min: string;
72
+ max: string;
73
+ range: string;
74
+ };
75
+ array: {
76
+ len: string;
77
+ min: string;
78
+ max: string;
79
+ range: string;
80
+ };
81
+ pattern: {
82
+ mismatch: string;
83
+ };
84
+ };
85
+ };
86
+ ImageUploader: {
87
+ uploading: string;
88
+ };
89
+ Mask: {
90
+ name: string;
91
+ };
92
+ Modal: {
93
+ ok: string;
94
+ };
95
+ PullToRefresh: {
96
+ pulling: string;
97
+ canRelease: string;
98
+ complete: string;
99
+ };
100
+ };
101
+ export default zhHK;
@@ -0,0 +1,48 @@
1
+ import { mergeLocale } from '../utils/merge-locale';
2
+ import { base } from './base';
3
+ const zhHK = mergeLocale(base, {
4
+ common: {
5
+ confirm: '確定',
6
+ cancel: '取消',
7
+ loading: '加載中……'
8
+ },
9
+ Cascader: {
10
+ placeholder: '請選擇'
11
+ },
12
+ Dialog: {
13
+ ok: '我知道了'
14
+ },
15
+ ErrorBlock: {
16
+ default: {
17
+ title: '頁面遇到一些小問題',
18
+ description: '待會來試試'
19
+ },
20
+ busy: {
21
+ title: '前方擁堵',
22
+ description: '刷新試試'
23
+ },
24
+ disconnected: {
25
+ title: '網絡有點忙',
26
+ description: '動動手指幫忙修復'
27
+ },
28
+ empty: {
29
+ title: '沒有找到您需要的東西',
30
+ description: '找找其他的吧'
31
+ }
32
+ },
33
+ ImageUploader: {
34
+ uploading: '上傳中...'
35
+ },
36
+ Mask: {
37
+ name: '遮罩層'
38
+ },
39
+ Modal: {
40
+ ok: '我知道了'
41
+ },
42
+ PullToRefresh: {
43
+ pulling: '下拉刷新',
44
+ canRelease: '釋放立即刷新',
45
+ complete: '刷新成功'
46
+ }
47
+ });
48
+ export default zhHK;
@@ -0,0 +1,101 @@
1
+ declare const zhTW: {
2
+ common: {
3
+ confirm: string;
4
+ cancel: string;
5
+ loading: string;
6
+ };
7
+ Calendar: {
8
+ markItems: string[];
9
+ renderYearAndMonth: (year: number, month: number) => string;
10
+ };
11
+ Cascader: {
12
+ placeholder: string;
13
+ };
14
+ Dialog: {
15
+ ok: string;
16
+ };
17
+ ErrorBlock: {
18
+ default: {
19
+ title: string;
20
+ description: string;
21
+ };
22
+ busy: {
23
+ title: string;
24
+ description: string;
25
+ };
26
+ disconnected: {
27
+ title: string;
28
+ description: string;
29
+ };
30
+ empty: {
31
+ title: string;
32
+ description: string;
33
+ };
34
+ };
35
+ Form: {
36
+ required: string;
37
+ optional: string;
38
+ defaultValidateMessages: {
39
+ default: string;
40
+ required: string;
41
+ enum: string;
42
+ whitespace: string;
43
+ date: {
44
+ format: string;
45
+ parse: string;
46
+ invalid: string;
47
+ };
48
+ types: {
49
+ string: string;
50
+ method: string;
51
+ array: string;
52
+ object: string;
53
+ number: string;
54
+ date: string;
55
+ boolean: string;
56
+ integer: string;
57
+ float: string;
58
+ regexp: string;
59
+ email: string;
60
+ url: string;
61
+ hex: string;
62
+ };
63
+ string: {
64
+ len: string;
65
+ min: string;
66
+ max: string;
67
+ range: string;
68
+ };
69
+ number: {
70
+ len: string;
71
+ min: string;
72
+ max: string;
73
+ range: string;
74
+ };
75
+ array: {
76
+ len: string;
77
+ min: string;
78
+ max: string;
79
+ range: string;
80
+ };
81
+ pattern: {
82
+ mismatch: string;
83
+ };
84
+ };
85
+ };
86
+ ImageUploader: {
87
+ uploading: string;
88
+ };
89
+ Mask: {
90
+ name: string;
91
+ };
92
+ Modal: {
93
+ ok: string;
94
+ };
95
+ PullToRefresh: {
96
+ pulling: string;
97
+ canRelease: string;
98
+ complete: string;
99
+ };
100
+ };
101
+ export default zhTW;
@@ -0,0 +1,48 @@
1
+ import { mergeLocale } from '../utils/merge-locale';
2
+ import { base } from './base';
3
+ const zhTW = mergeLocale(base, {
4
+ common: {
5
+ confirm: '確定',
6
+ cancel: '取消',
7
+ loading: '加載中……'
8
+ },
9
+ Cascader: {
10
+ placeholder: '請選擇'
11
+ },
12
+ Dialog: {
13
+ ok: '我知道了'
14
+ },
15
+ ErrorBlock: {
16
+ default: {
17
+ title: '頁面遇到一些小問題',
18
+ description: '待會來試試'
19
+ },
20
+ busy: {
21
+ title: '前方擁堵',
22
+ description: '刷新試試'
23
+ },
24
+ disconnected: {
25
+ title: '網路有點忙',
26
+ description: '動動手指幫忙修復'
27
+ },
28
+ empty: {
29
+ title: '沒有找到您需要的東西',
30
+ description: '找找其他的吧'
31
+ }
32
+ },
33
+ ImageUploader: {
34
+ uploading: '上傳中...'
35
+ },
36
+ Mask: {
37
+ name: '遮罩層'
38
+ },
39
+ Modal: {
40
+ ok: '我知道了'
41
+ },
42
+ PullToRefresh: {
43
+ pulling: '下拉刷新',
44
+ canRelease: '釋放立即刷新',
45
+ complete: '刷新成功'
46
+ }
47
+ });
48
+ export default zhTW;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-mobile",
3
- "version": "5.7.1",
3
+ "version": "5.7.2",
4
4
  "dependencies": {
5
5
  "@floating-ui/dom": "^0.3.1",
6
6
  "@react-spring/web": "^9.4.3",