corebasic 1.0.226 → 1.0.227
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/dist/libs/mobilecodes.js +5 -4
- package/libs/mobilecodes.ts +5 -4
- package/package.json +1 -1
package/dist/libs/mobilecodes.js
CHANGED
|
@@ -50,7 +50,8 @@ export const codes = {
|
|
|
50
50
|
label: 'Alland Islands',
|
|
51
51
|
phone: '358',
|
|
52
52
|
min: 7,
|
|
53
|
-
max: 10
|
|
53
|
+
max: 10,
|
|
54
|
+
phoneLength: [7, 8, 9, 10], // Custom added by me
|
|
54
55
|
},
|
|
55
56
|
AZ: { code: 'AZ', label: 'Azerbaijan', phone: '994', phoneLength: 9 },
|
|
56
57
|
BA: {
|
|
@@ -162,7 +163,7 @@ export const codes = {
|
|
|
162
163
|
ER: { code: 'ER', label: 'Eritrea', phone: '291', phoneLength: 7 },
|
|
163
164
|
ES: { code: 'ES', label: 'Spain', phone: '34', phoneLength: 9 },
|
|
164
165
|
ET: { code: 'ET', label: 'Ethiopia', phone: '251', phoneLength: 9 },
|
|
165
|
-
FI: { code: 'FI', label: 'Finland', phone: '358', min: 9, max: 11 },
|
|
166
|
+
FI: { code: 'FI', label: 'Finland', phone: '358', min: 9, max: 11, phoneLength: [9, 10, 11] }, // Custom added by me
|
|
166
167
|
FJ: { code: 'FJ', label: 'Fiji', phone: '679', phoneLength: 7 },
|
|
167
168
|
FK: {
|
|
168
169
|
code: 'FK',
|
|
@@ -247,7 +248,7 @@ export const codes = {
|
|
|
247
248
|
JE: { code: 'JE', label: 'Jersey', phone: '44', phoneLength: 10 },
|
|
248
249
|
JM: { code: 'JM', label: 'Jamaica', phone: '1-876', phoneLength: 10 },
|
|
249
250
|
JO: { code: 'JO', label: 'Jordan', phone: '962', phoneLength: [8, 9] },
|
|
250
|
-
JP: { code: 'JP', label: 'Japan', phone: '81', suggested: true },
|
|
251
|
+
JP: { code: 'JP', label: 'Japan', phone: '81', suggested: true, phoneLength: 11 }, // Custom added by me
|
|
251
252
|
KE: { code: 'KE', label: 'Kenya', phone: '254', phoneLength: 10 },
|
|
252
253
|
KG: { code: 'KG', label: 'Kyrgyzstan', phone: '996', phoneLength: 9 },
|
|
253
254
|
KH: { code: 'KH', label: 'Cambodia', phone: '855', phoneLength: 9 },
|
|
@@ -324,7 +325,7 @@ export const codes = {
|
|
|
324
325
|
phoneLength: 8
|
|
325
326
|
},
|
|
326
327
|
ML: { code: 'ML', label: 'Mali', phone: '223', phoneLength: 8 },
|
|
327
|
-
MM: { code: 'MM', label: 'Myanmar', phone: '95', min: 7, max: 10 },
|
|
328
|
+
MM: { code: 'MM', label: 'Myanmar', phone: '95', min: 7, max: 10, phoneLength: [7, 8, 9, 10] }, // Custom added by me
|
|
328
329
|
MN: { code: 'MN', label: 'Mongolia', phone: '976', phoneLength: 8 },
|
|
329
330
|
MO: { code: 'MO', label: 'Macao', phone: '853', phoneLength: 8 },
|
|
330
331
|
MP: {
|
package/libs/mobilecodes.ts
CHANGED
|
@@ -55,7 +55,8 @@ export const codes: Record<string, CountryItem> = {
|
|
|
55
55
|
label: 'Alland Islands',
|
|
56
56
|
phone: '358',
|
|
57
57
|
min: 7,
|
|
58
|
-
max: 10
|
|
58
|
+
max: 10,
|
|
59
|
+
phoneLength: [7, 8, 9, 10], // Custom added by me
|
|
59
60
|
},
|
|
60
61
|
AZ: { code: 'AZ', label: 'Azerbaijan', phone: '994', phoneLength: 9 },
|
|
61
62
|
BA: {
|
|
@@ -167,7 +168,7 @@ export const codes: Record<string, CountryItem> = {
|
|
|
167
168
|
ER: { code: 'ER', label: 'Eritrea', phone: '291', phoneLength: 7 },
|
|
168
169
|
ES: { code: 'ES', label: 'Spain', phone: '34', phoneLength: 9 },
|
|
169
170
|
ET: { code: 'ET', label: 'Ethiopia', phone: '251', phoneLength: 9 },
|
|
170
|
-
FI: { code: 'FI', label: 'Finland', phone: '358', min: 9, max: 11 },
|
|
171
|
+
FI: { code: 'FI', label: 'Finland', phone: '358', min: 9, max: 11, phoneLength: [9, 10, 11] }, // Custom added by me
|
|
171
172
|
FJ: { code: 'FJ', label: 'Fiji', phone: '679', phoneLength: 7 },
|
|
172
173
|
FK: {
|
|
173
174
|
code: 'FK',
|
|
@@ -252,7 +253,7 @@ export const codes: Record<string, CountryItem> = {
|
|
|
252
253
|
JE: { code: 'JE', label: 'Jersey', phone: '44', phoneLength: 10 },
|
|
253
254
|
JM: { code: 'JM', label: 'Jamaica', phone: '1-876', phoneLength: 10 },
|
|
254
255
|
JO: { code: 'JO', label: 'Jordan', phone: '962', phoneLength: [ 8, 9 ] },
|
|
255
|
-
JP: { code: 'JP', label: 'Japan', phone: '81', suggested: true },
|
|
256
|
+
JP: { code: 'JP', label: 'Japan', phone: '81', suggested: true, phoneLength: 11 }, // Custom added by me
|
|
256
257
|
KE: { code: 'KE', label: 'Kenya', phone: '254', phoneLength: 10 },
|
|
257
258
|
KG: { code: 'KG', label: 'Kyrgyzstan', phone: '996', phoneLength: 9 },
|
|
258
259
|
KH: { code: 'KH', label: 'Cambodia', phone: '855', phoneLength: 9 },
|
|
@@ -329,7 +330,7 @@ export const codes: Record<string, CountryItem> = {
|
|
|
329
330
|
phoneLength: 8
|
|
330
331
|
},
|
|
331
332
|
ML: { code: 'ML', label: 'Mali', phone: '223', phoneLength: 8 },
|
|
332
|
-
MM: { code: 'MM', label: 'Myanmar', phone: '95', min: 7, max: 10 },
|
|
333
|
+
MM: { code: 'MM', label: 'Myanmar', phone: '95', min: 7, max: 10, phoneLength: [7, 8, 9, 10] }, // Custom added by me
|
|
333
334
|
MN: { code: 'MN', label: 'Mongolia', phone: '976', phoneLength: 8 },
|
|
334
335
|
MO: { code: 'MO', label: 'Macao', phone: '853', phoneLength: 8 },
|
|
335
336
|
MP: {
|