antd-mobile 5.29.0 → 5.29.1

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 (68) hide show
  1. package/2x/bundle/antd-mobile.cjs.development.js +27 -25
  2. package/2x/bundle/antd-mobile.cjs.js +3 -3
  3. package/2x/bundle/antd-mobile.es.development.js +27 -25
  4. package/2x/bundle/antd-mobile.es.js +22 -8
  5. package/2x/bundle/antd-mobile.umd.development.js +27 -25
  6. package/2x/bundle/antd-mobile.umd.js +3 -3
  7. package/2x/cjs/components/calendar/calendar.js +1 -1
  8. package/2x/cjs/components/number-keyboard/number-keyboard.js +5 -3
  9. package/2x/cjs/components/popup/popup.js +13 -11
  10. package/2x/cjs/components/text-area/text-area.js +1 -0
  11. package/2x/cjs/components/virtual-input/virtual-input.js +1 -2
  12. package/2x/cjs/locales/da-DK.d.ts +134 -0
  13. package/2x/cjs/locales/da-DK.js +132 -0
  14. package/2x/cjs/locales/it-IT.d.ts +134 -0
  15. package/2x/cjs/locales/it-IT.js +144 -0
  16. package/2x/cjs/locales/nb-NO.d.ts +134 -0
  17. package/2x/cjs/locales/nb-NO.js +144 -0
  18. package/2x/cjs/locales/nl-NL.d.ts +134 -0
  19. package/2x/cjs/locales/nl-NL.js +144 -0
  20. package/2x/es/components/calendar/calendar.js +1 -1
  21. package/2x/es/components/number-keyboard/number-keyboard.js +5 -3
  22. package/2x/es/components/popup/popup.js +13 -11
  23. package/2x/es/components/text-area/text-area.js +1 -0
  24. package/2x/es/components/virtual-input/virtual-input.js +1 -2
  25. package/2x/es/locales/da-DK.d.ts +134 -0
  26. package/2x/es/locales/da-DK.js +125 -0
  27. package/2x/es/locales/it-IT.d.ts +134 -0
  28. package/2x/es/locales/it-IT.js +137 -0
  29. package/2x/es/locales/nb-NO.d.ts +134 -0
  30. package/2x/es/locales/nb-NO.js +137 -0
  31. package/2x/es/locales/nl-NL.d.ts +134 -0
  32. package/2x/es/locales/nl-NL.js +137 -0
  33. package/2x/package.json +1 -1
  34. package/bundle/antd-mobile.cjs.development.js +27 -25
  35. package/bundle/antd-mobile.cjs.js +3 -3
  36. package/bundle/antd-mobile.compatible.umd.js +1 -1
  37. package/bundle/antd-mobile.es.development.js +27 -25
  38. package/bundle/antd-mobile.es.js +22 -8
  39. package/bundle/antd-mobile.umd.development.js +27 -25
  40. package/bundle/antd-mobile.umd.js +3 -3
  41. package/cjs/components/calendar/calendar.js +1 -1
  42. package/cjs/components/number-keyboard/number-keyboard.js +5 -3
  43. package/cjs/components/popup/popup.js +13 -11
  44. package/cjs/components/text-area/text-area.js +1 -0
  45. package/cjs/components/virtual-input/virtual-input.js +1 -2
  46. package/cjs/locales/da-DK.d.ts +134 -0
  47. package/cjs/locales/da-DK.js +132 -0
  48. package/cjs/locales/it-IT.d.ts +134 -0
  49. package/cjs/locales/it-IT.js +144 -0
  50. package/cjs/locales/nb-NO.d.ts +134 -0
  51. package/cjs/locales/nb-NO.js +144 -0
  52. package/cjs/locales/nl-NL.d.ts +134 -0
  53. package/cjs/locales/nl-NL.js +144 -0
  54. package/es/components/calendar/calendar.js +1 -1
  55. package/es/components/number-keyboard/number-keyboard.js +5 -3
  56. package/es/components/popup/popup.js +13 -11
  57. package/es/components/text-area/text-area.js +1 -0
  58. package/es/components/virtual-input/virtual-input.js +1 -2
  59. package/es/locales/da-DK.d.ts +134 -0
  60. package/es/locales/da-DK.js +125 -0
  61. package/es/locales/it-IT.d.ts +134 -0
  62. package/es/locales/it-IT.js +137 -0
  63. package/es/locales/nb-NO.d.ts +134 -0
  64. package/es/locales/nb-NO.js +137 -0
  65. package/es/locales/nl-NL.d.ts +134 -0
  66. package/es/locales/nl-NL.js +137 -0
  67. package/package.json +1 -1
  68. package/umd/antd-mobile.js +1 -1
@@ -0,0 +1,134 @@
1
+ declare const daDK: {
2
+ locale: string;
3
+ common: {
4
+ confirm: string;
5
+ cancel: string;
6
+ loading: string;
7
+ close: string;
8
+ };
9
+ Calendar: {
10
+ markItems: string[];
11
+ renderYearAndMonth: (year: number, month: number) => string;
12
+ };
13
+ Cascader: {
14
+ placeholder: string;
15
+ };
16
+ Dialog: {
17
+ ok: string;
18
+ };
19
+ DatePicker: {
20
+ tillNow: string;
21
+ };
22
+ ErrorBlock: {
23
+ default: {
24
+ title: string;
25
+ description: string;
26
+ };
27
+ busy: {
28
+ title: string;
29
+ description: string;
30
+ };
31
+ disconnected: {
32
+ title: string;
33
+ description: string;
34
+ };
35
+ empty: {
36
+ title: string;
37
+ description: string;
38
+ };
39
+ };
40
+ Form: {
41
+ required: string;
42
+ optional: string;
43
+ defaultValidateMessages: {
44
+ default: string;
45
+ required: string;
46
+ enum: string;
47
+ whitespace: string;
48
+ date: {
49
+ format: string;
50
+ parse: string;
51
+ invalid: string;
52
+ };
53
+ types: {
54
+ string: string;
55
+ method: string;
56
+ array: string;
57
+ object: string;
58
+ number: string;
59
+ date: string;
60
+ boolean: string;
61
+ integer: string;
62
+ float: string;
63
+ regexp: string;
64
+ email: string;
65
+ url: string;
66
+ hex: string;
67
+ };
68
+ string: {
69
+ len: string;
70
+ min: string;
71
+ max: string;
72
+ range: string;
73
+ };
74
+ number: {
75
+ len: string;
76
+ min: string;
77
+ max: string;
78
+ range: string;
79
+ };
80
+ array: {
81
+ len: string;
82
+ min: string;
83
+ max: string;
84
+ range: string;
85
+ };
86
+ pattern: {
87
+ mismatch: string;
88
+ };
89
+ };
90
+ };
91
+ ImageUploader: {
92
+ uploading: string;
93
+ upload: string;
94
+ };
95
+ InfiniteScroll: {
96
+ noMore: string;
97
+ failedToLoad: string;
98
+ retry: string;
99
+ };
100
+ Input: {
101
+ clear: string;
102
+ };
103
+ Mask: {
104
+ name: string;
105
+ };
106
+ Modal: {
107
+ ok: string;
108
+ };
109
+ PasscodeInput: {
110
+ name: string;
111
+ };
112
+ PullToRefresh: {
113
+ pulling: string;
114
+ canRelease: string;
115
+ complete: string;
116
+ };
117
+ SearchBar: {
118
+ name: string;
119
+ };
120
+ Slider: {
121
+ name: string;
122
+ };
123
+ Stepper: {
124
+ decrease: string;
125
+ increase: string;
126
+ };
127
+ Switch: {
128
+ name: string;
129
+ };
130
+ Selector: {
131
+ name: string;
132
+ };
133
+ };
134
+ export default daDK;
@@ -0,0 +1,125 @@
1
+ import { mergeLocale } from '../utils/merge-locale';
2
+ import { base } from './base';
3
+ const typeTemplate = '${label} er ikke gyldig som ${type}';
4
+ const daDK = mergeLocale(base, {
5
+ locale: 'da-DK',
6
+ common: {
7
+ confirm: 'Bekræft',
8
+ cancel: 'Afbestille',
9
+ loading: 'Indlæser',
10
+ close: 'Luk'
11
+ },
12
+ Calendar: {
13
+ markItems: ['ma', 'ti', 'on', 'to', 'fr', 'lø', 'sø'],
14
+ renderYearAndMonth: (year, month) => `${month}.${year}`
15
+ },
16
+ Cascader: {
17
+ placeholder: 'Vælger'
18
+ },
19
+ Dialog: {
20
+ ok: 'Bekræft'
21
+ },
22
+ DatePicker: {
23
+ tillNow: 'Indtil nu'
24
+ },
25
+ ErrorBlock: {
26
+ default: {
27
+ title: 'Oops, noget gik galt',
28
+ description: 'Vent et minut og prøv igen'
29
+ },
30
+ busy: {
31
+ title: 'Oops, ikke indlæser',
32
+ description: 'Prøv at opdatere siden'
33
+ },
34
+ disconnected: {
35
+ title: 'Netværket er optaget',
36
+ description: 'Prøv at opdatere siden'
37
+ },
38
+ empty: {
39
+ title: 'Hmm, kunne ikke finde det...',
40
+ description: 'Vil du prøve en ny søgning?'
41
+ }
42
+ },
43
+ Form: {
44
+ required: 'Påkrævet',
45
+ optional: 'Valgfri',
46
+ defaultValidateMessages: {
47
+ default: 'Feltvalideringsfejl for ${label}',
48
+ required: 'Indtast venligst ${label}',
49
+ enum: '${label} skal være en af [${enum}]',
50
+ whitespace: '${label} kan ikke være et tomt tegn',
51
+ date: {
52
+ format: '${label} datoformatet er ugyldigt',
53
+ parse: '${label} kan ikke konverteres til en dato',
54
+ invalid: '${label} er en ugyldig dato'
55
+ },
56
+ types: {
57
+ string: typeTemplate,
58
+ method: typeTemplate,
59
+ array: typeTemplate,
60
+ object: typeTemplate,
61
+ number: typeTemplate,
62
+ date: typeTemplate,
63
+ boolean: typeTemplate,
64
+ integer: typeTemplate,
65
+ float: typeTemplate,
66
+ regexp: typeTemplate,
67
+ email: typeTemplate,
68
+ url: typeTemplate,
69
+ hex: typeTemplate
70
+ },
71
+ string: {
72
+ len: '${label} må være ${len} tegn',
73
+ min: '${label} skal være mindst ${min} tegn',
74
+ max: '${label} skal være op til ${max} tegn',
75
+ range: '${label} skal være imellem ${min}-${max} tegn'
76
+ },
77
+ number: {
78
+ len: '${label} skal være lig med ${len}',
79
+ min: '${label} skal være minimum ${min}',
80
+ max: '${label} skal være maksimalt ${max}',
81
+ range: '${label} skal være imellem ${min}-${max}'
82
+ },
83
+ array: {
84
+ len: 'Må være ${len} ${label}',
85
+ min: 'I det mindste ${min} ${label}',
86
+ max: 'Højst ${max} ${label}',
87
+ range: 'Mængden af ${label} skal være imellem ${min}-${max}'
88
+ },
89
+ pattern: {
90
+ mismatch: '${label} stemmer ikke overens med mønsteret ${pattern}'
91
+ }
92
+ }
93
+ },
94
+ ImageUploader: {
95
+ uploading: 'Uploader...',
96
+ upload: 'Upload'
97
+ },
98
+ InfiniteScroll: {
99
+ noMore: 'Ikke mere',
100
+ failedToLoad: 'Kunne ikke indlæses',
101
+ retry: 'Prøve igen'
102
+ },
103
+ Input: {
104
+ clear: 'slette'
105
+ },
106
+ Mask: {
107
+ name: 'Maske'
108
+ },
109
+ Modal: {
110
+ ok: 'Bekræft'
111
+ },
112
+ PullToRefresh: {
113
+ pulling: 'Rul ned for at opdatere',
114
+ canRelease: 'Slip for at opdatere med det samme',
115
+ complete: 'Opdatering lykkedes'
116
+ },
117
+ Stepper: {
118
+ decrease: 'aftage',
119
+ increase: 'øge'
120
+ },
121
+ Selector: {
122
+ name: 'Vælger'
123
+ }
124
+ });
125
+ export default daDK;
@@ -0,0 +1,134 @@
1
+ declare const itIT: {
2
+ locale: string;
3
+ common: {
4
+ confirm: string;
5
+ cancel: string;
6
+ loading: string;
7
+ close: string;
8
+ };
9
+ Calendar: {
10
+ markItems: string[];
11
+ renderYearAndMonth: (year: number, month: number) => string;
12
+ };
13
+ Cascader: {
14
+ placeholder: string;
15
+ };
16
+ Dialog: {
17
+ ok: string;
18
+ };
19
+ DatePicker: {
20
+ tillNow: string;
21
+ };
22
+ ErrorBlock: {
23
+ default: {
24
+ title: string;
25
+ description: string;
26
+ };
27
+ busy: {
28
+ title: string;
29
+ description: string;
30
+ };
31
+ disconnected: {
32
+ title: string;
33
+ description: string;
34
+ };
35
+ empty: {
36
+ title: string;
37
+ description: string;
38
+ };
39
+ };
40
+ Form: {
41
+ required: string;
42
+ optional: string;
43
+ defaultValidateMessages: {
44
+ default: string;
45
+ required: string;
46
+ enum: string;
47
+ whitespace: string;
48
+ date: {
49
+ format: string;
50
+ parse: string;
51
+ invalid: string;
52
+ };
53
+ types: {
54
+ string: string;
55
+ method: string;
56
+ array: string;
57
+ object: string;
58
+ number: string;
59
+ date: string;
60
+ boolean: string;
61
+ integer: string;
62
+ float: string;
63
+ regexp: string;
64
+ email: string;
65
+ url: string;
66
+ hex: string;
67
+ };
68
+ string: {
69
+ len: string;
70
+ min: string;
71
+ max: string;
72
+ range: string;
73
+ };
74
+ number: {
75
+ len: string;
76
+ min: string;
77
+ max: string;
78
+ range: string;
79
+ };
80
+ array: {
81
+ len: string;
82
+ min: string;
83
+ max: string;
84
+ range: string;
85
+ };
86
+ pattern: {
87
+ mismatch: string;
88
+ };
89
+ };
90
+ };
91
+ ImageUploader: {
92
+ uploading: string;
93
+ upload: string;
94
+ };
95
+ InfiniteScroll: {
96
+ noMore: string;
97
+ failedToLoad: string;
98
+ retry: string;
99
+ };
100
+ Input: {
101
+ clear: string;
102
+ };
103
+ Mask: {
104
+ name: string;
105
+ };
106
+ Modal: {
107
+ ok: string;
108
+ };
109
+ PasscodeInput: {
110
+ name: string;
111
+ };
112
+ PullToRefresh: {
113
+ pulling: string;
114
+ canRelease: string;
115
+ complete: string;
116
+ };
117
+ SearchBar: {
118
+ name: string;
119
+ };
120
+ Slider: {
121
+ name: string;
122
+ };
123
+ Stepper: {
124
+ decrease: string;
125
+ increase: string;
126
+ };
127
+ Switch: {
128
+ name: string;
129
+ };
130
+ Selector: {
131
+ name: string;
132
+ };
133
+ };
134
+ export default itIT;
@@ -0,0 +1,137 @@
1
+ import { mergeLocale } from '../utils/merge-locale';
2
+ import { base } from './base';
3
+ const typeTemplate = '${label} non è valido come ${type}';
4
+ const itIT = mergeLocale(base, {
5
+ locale: 'it-IT',
6
+ common: {
7
+ confirm: 'Conferma',
8
+ cancel: 'Annulla',
9
+ loading: 'Caricamento',
10
+ close: 'Chiudi'
11
+ },
12
+ Calendar: {
13
+ markItems: ['lun', 'mar', 'mer', 'gio', 'ven', 'sab', 'dom'],
14
+ renderYearAndMonth: (year, month) => `${month}/${year}`
15
+ },
16
+ Cascader: {
17
+ placeholder: 'Si prega di selezionare'
18
+ },
19
+ Dialog: {
20
+ ok: 'Ho capito'
21
+ },
22
+ DatePicker: {
23
+ tillNow: 'Finora'
24
+ },
25
+ ErrorBlock: {
26
+ default: {
27
+ title: 'Oops, qualcosa è andato storto',
28
+ description: 'Per favore, attendi un minuto e riprova più tardi'
29
+ },
30
+ busy: {
31
+ title: 'Oops, non sta caricando',
32
+ description: 'Prova a ricaricare la pagina'
33
+ },
34
+ disconnected: {
35
+ title: 'La rete è occupata',
36
+ description: 'Prova a ricaricare la pagina'
37
+ },
38
+ empty: {
39
+ title: 'Mmm, non ho potuto trovarlo...',
40
+ description: 'Vuoi provare una nuova ricerca?'
41
+ }
42
+ },
43
+ Form: {
44
+ required: 'Richiesto',
45
+ optional: 'Opzionale',
46
+ defaultValidateMessages: {
47
+ default: 'Errore di convalida del campo per ${label}',
48
+ required: 'Per favore compila ${label}',
49
+ enum: '${label} deve essere uno di [${enum}]',
50
+ whitespace: '${label} non puà essere un carattere vuoto',
51
+ date: {
52
+ format: '${label} il formato della data non è valido',
53
+ parse: '${label} non può essere convertito in data',
54
+ invalid: '${label} non è una data valida'
55
+ },
56
+ types: {
57
+ string: typeTemplate,
58
+ method: typeTemplate,
59
+ array: typeTemplate,
60
+ object: typeTemplate,
61
+ number: typeTemplate,
62
+ date: typeTemplate,
63
+ boolean: typeTemplate,
64
+ integer: typeTemplate,
65
+ float: typeTemplate,
66
+ regexp: typeTemplate,
67
+ email: typeTemplate,
68
+ url: typeTemplate,
69
+ hex: typeTemplate
70
+ },
71
+ string: {
72
+ len: '${label} deve essere lungo ${len} caratteri',
73
+ min: '${label} deve essere lungo almeno ${min} caratteri',
74
+ max: '${label} deve essere lungo fino a ${max} caratteri',
75
+ range: '${label} deve essere lungo ${min}-${max} caratteri'
76
+ },
77
+ number: {
78
+ len: '${label} deve essere uguale a ${len}',
79
+ min: '${label} deve essere almeno ${min}',
80
+ max: '${label} deve essere massimo ${max}',
81
+ range: '${label} deve essere compreso tra ${min}-${max}'
82
+ },
83
+ array: {
84
+ len: 'Deve essere ${len} ${label}',
85
+ min: 'Almeno ${min} ${label}',
86
+ max: 'Al massimo ${max} ${label}',
87
+ range: 'La quantità ${label} deve essere compresa tra ${min}-${max}'
88
+ },
89
+ pattern: {
90
+ mismatch: '${label} non corrisponde al pattern ${pattern}'
91
+ }
92
+ }
93
+ },
94
+ ImageUploader: {
95
+ uploading: 'Caricamento in corso...',
96
+ upload: 'Carica'
97
+ },
98
+ InfiniteScroll: {
99
+ noMore: 'Finito',
100
+ failedToLoad: 'Caricamento fallito',
101
+ retry: 'Riprova'
102
+ },
103
+ Input: {
104
+ clear: 'cancella'
105
+ },
106
+ Mask: {
107
+ name: 'Maschera'
108
+ },
109
+ Modal: {
110
+ ok: 'Ho capito'
111
+ },
112
+ PasscodeInput: {
113
+ name: 'Input per codice di accesso'
114
+ },
115
+ PullToRefresh: {
116
+ pulling: 'Scrolla in basso per aggiornare',
117
+ canRelease: 'Rilaascia per aggiornare',
118
+ complete: 'Ricarcamento completato'
119
+ },
120
+ SearchBar: {
121
+ name: 'Barra di ricerca'
122
+ },
123
+ Slider: {
124
+ name: 'Slider'
125
+ },
126
+ Stepper: {
127
+ decrease: 'decrementa',
128
+ increase: 'incrementa'
129
+ },
130
+ Switch: {
131
+ name: 'Switch'
132
+ },
133
+ Selector: {
134
+ name: 'Selettore'
135
+ }
136
+ });
137
+ export default itIT;
@@ -0,0 +1,134 @@
1
+ declare const nbNO: {
2
+ locale: string;
3
+ common: {
4
+ confirm: string;
5
+ cancel: string;
6
+ loading: string;
7
+ close: string;
8
+ };
9
+ Calendar: {
10
+ markItems: string[];
11
+ renderYearAndMonth: (year: number, month: number) => string;
12
+ };
13
+ Cascader: {
14
+ placeholder: string;
15
+ };
16
+ Dialog: {
17
+ ok: string;
18
+ };
19
+ DatePicker: {
20
+ tillNow: string;
21
+ };
22
+ ErrorBlock: {
23
+ default: {
24
+ title: string;
25
+ description: string;
26
+ };
27
+ busy: {
28
+ title: string;
29
+ description: string;
30
+ };
31
+ disconnected: {
32
+ title: string;
33
+ description: string;
34
+ };
35
+ empty: {
36
+ title: string;
37
+ description: string;
38
+ };
39
+ };
40
+ Form: {
41
+ required: string;
42
+ optional: string;
43
+ defaultValidateMessages: {
44
+ default: string;
45
+ required: string;
46
+ enum: string;
47
+ whitespace: string;
48
+ date: {
49
+ format: string;
50
+ parse: string;
51
+ invalid: string;
52
+ };
53
+ types: {
54
+ string: string;
55
+ method: string;
56
+ array: string;
57
+ object: string;
58
+ number: string;
59
+ date: string;
60
+ boolean: string;
61
+ integer: string;
62
+ float: string;
63
+ regexp: string;
64
+ email: string;
65
+ url: string;
66
+ hex: string;
67
+ };
68
+ string: {
69
+ len: string;
70
+ min: string;
71
+ max: string;
72
+ range: string;
73
+ };
74
+ number: {
75
+ len: string;
76
+ min: string;
77
+ max: string;
78
+ range: string;
79
+ };
80
+ array: {
81
+ len: string;
82
+ min: string;
83
+ max: string;
84
+ range: string;
85
+ };
86
+ pattern: {
87
+ mismatch: string;
88
+ };
89
+ };
90
+ };
91
+ ImageUploader: {
92
+ uploading: string;
93
+ upload: string;
94
+ };
95
+ InfiniteScroll: {
96
+ noMore: string;
97
+ failedToLoad: string;
98
+ retry: string;
99
+ };
100
+ Input: {
101
+ clear: string;
102
+ };
103
+ Mask: {
104
+ name: string;
105
+ };
106
+ Modal: {
107
+ ok: string;
108
+ };
109
+ PasscodeInput: {
110
+ name: string;
111
+ };
112
+ PullToRefresh: {
113
+ pulling: string;
114
+ canRelease: string;
115
+ complete: string;
116
+ };
117
+ SearchBar: {
118
+ name: string;
119
+ };
120
+ Slider: {
121
+ name: string;
122
+ };
123
+ Stepper: {
124
+ decrease: string;
125
+ increase: string;
126
+ };
127
+ Switch: {
128
+ name: string;
129
+ };
130
+ Selector: {
131
+ name: string;
132
+ };
133
+ };
134
+ export default nbNO;