@saasquatch/mint-components 2.3.0-11 → 2.3.0-13

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 (85) hide show
  1. package/dist/cjs/{usePortalRegistrationForm-23ee2d62.js → AsYouType-d15caac8.js} +265 -223
  2. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +46 -27
  3. package/dist/cjs/sqm-big-stat_47.cjs.entry.js +17 -13
  4. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +3 -2
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +59 -2
  6. package/dist/cjs/{sqm-user-info-form-view-8f7186b8.js → sqm-user-info-form-view-60e09262.js} +1004 -8
  7. package/dist/cjs/subregions-3542b0b8.js +1068 -0
  8. package/dist/cjs/{useIndirectTaxForm-112914a0.js → useIndirectTaxForm-c439eb81.js} +6 -2
  9. package/dist/cjs/usePortalRegistrationForm-8a3a14ac.js +215 -0
  10. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +3 -0
  11. package/dist/collection/components/tax-and-cash/phoneExtensions.js +12 -0
  12. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +8 -0
  13. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +2 -1
  14. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +5 -1
  15. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +12 -9
  16. package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +52 -0
  17. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +18 -5
  18. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +3 -1
  19. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +31 -27
  20. package/dist/collection/components/tax-and-cash/utils.js +30 -27
  21. package/dist/esm/{usePortalRegistrationForm-3a1f36a2.js → AsYouType-2d56519e.js} +248 -223
  22. package/dist/esm/sqm-banking-info-form_10.entry.js +46 -27
  23. package/dist/esm/sqm-big-stat_47.entry.js +16 -12
  24. package/dist/esm/sqm-portal-forgot-password_6.entry.js +2 -1
  25. package/dist/esm/sqm-stencilbook.entry.js +59 -2
  26. package/dist/esm/{sqm-user-info-form-view-599a6922.js → sqm-user-info-form-view-647a2bd5.js} +1002 -6
  27. package/dist/esm/subregions-7c5112e8.js +1055 -0
  28. package/dist/esm/{useIndirectTaxForm-a6ac7e7e.js → useIndirectTaxForm-38cd984e.js} +6 -2
  29. package/dist/esm/usePortalRegistrationForm-78fdfd93.js +213 -0
  30. package/dist/esm-es5/AsYouType-2d56519e.js +1 -0
  31. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  32. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
  33. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  34. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  35. package/dist/esm-es5/sqm-user-info-form-view-647a2bd5.js +1 -0
  36. package/dist/esm-es5/subregions-7c5112e8.js +1 -0
  37. package/dist/esm-es5/{useIndirectTaxForm-a6ac7e7e.js → useIndirectTaxForm-38cd984e.js} +2 -2
  38. package/dist/esm-es5/usePortalRegistrationForm-78fdfd93.js +1 -0
  39. package/dist/mint-components/mint-components.esm.js +1 -1
  40. package/dist/mint-components/p-1f387c7b.system.js +1 -1
  41. package/dist/mint-components/p-34179541.system.js +1 -0
  42. package/dist/mint-components/p-4065ae93.entry.js +9 -0
  43. package/dist/mint-components/p-5c3bff99.entry.js +1 -0
  44. package/dist/mint-components/p-6fd8981d.system.entry.js +1 -0
  45. package/dist/mint-components/p-769166a5.system.js +1 -0
  46. package/dist/mint-components/p-7c72eeb5.js +1 -0
  47. package/dist/mint-components/p-8d30945a.js +1 -0
  48. package/dist/mint-components/p-8dcd72fe.system.entry.js +1 -0
  49. package/dist/mint-components/p-a08157c4.js +1 -0
  50. package/dist/mint-components/p-a779e577.js +13 -0
  51. package/dist/mint-components/{p-2d4132fb.js → p-aa2c6585.js} +7 -5
  52. package/dist/mint-components/{p-6ef373ed.system.js → p-aab8a207.system.js} +2 -2
  53. package/dist/mint-components/p-af8b8c06.system.entry.js +1 -0
  54. package/dist/mint-components/{p-86231add.entry.js → p-b3f25c0e.entry.js} +8 -8
  55. package/dist/mint-components/p-c31966e3.system.entry.js +1 -0
  56. package/dist/mint-components/p-d463fa82.system.js +1 -0
  57. package/dist/mint-components/{p-339ce676.entry.js → p-dd5c1db9.entry.js} +11 -11
  58. package/dist/mint-components/p-ee91aeac.system.js +1 -0
  59. package/dist/types/components/tax-and-cash/phoneExtensions.d.ts +12 -0
  60. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
  61. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +1 -0
  62. package/dist/types/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.d.ts +1 -0
  63. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +2 -0
  64. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +2 -0
  65. package/dist/types/components/tax-and-cash/utils.d.ts +8 -2
  66. package/docs/docs.docx +0 -0
  67. package/grapesjs/grapesjs.js +1 -1
  68. package/package.json +1 -1
  69. package/dist/cjs/subregions-984e30d7.js +0 -1505
  70. package/dist/esm/subregions-7c9778d0.js +0 -1492
  71. package/dist/esm-es5/sqm-user-info-form-view-599a6922.js +0 -1
  72. package/dist/esm-es5/subregions-7c9778d0.js +0 -1
  73. package/dist/esm-es5/usePortalRegistrationForm-3a1f36a2.js +0 -1
  74. package/dist/mint-components/p-26a4ebfd.js +0 -1
  75. package/dist/mint-components/p-335a5736.entry.js +0 -1
  76. package/dist/mint-components/p-3a41b39c.js +0 -13
  77. package/dist/mint-components/p-40894343.entry.js +0 -9
  78. package/dist/mint-components/p-5fdf0286.system.js +0 -1
  79. package/dist/mint-components/p-7f29622d.js +0 -1
  80. package/dist/mint-components/p-81270b9f.system.js +0 -1
  81. package/dist/mint-components/p-b62d8b95.system.entry.js +0 -1
  82. package/dist/mint-components/p-bd03efe0.system.js +0 -1
  83. package/dist/mint-components/p-c9d2ccfc.system.entry.js +0 -1
  84. package/dist/mint-components/p-db6bf7cf.system.entry.js +0 -1
  85. package/dist/mint-components/p-f0ef09a0.system.entry.js +0 -1
@@ -3,7 +3,8 @@
3
3
  const index = require('./index-8277cbb3.js');
4
4
  const global = require('./global-b7b1b8fe.js');
5
5
  const JSS = require('./JSS-8503a151.js');
6
- const subregions = require('./subregions-984e30d7.js');
6
+ const AsYouType = require('./AsYouType-d15caac8.js');
7
+ const subregions = require('./subregions-3542b0b8.js');
7
8
  const data = require('./data-89ac73dd.js');
8
9
 
9
10
  const style = {
@@ -975,6 +976,989 @@ const OtherRegionSlotView = (props) => {
975
976
  index.h("hr", { class: classes.HR }))));
976
977
  };
977
978
 
979
+ const PHONE_EXTENSIONS = {
980
+ AF: {
981
+ name: "Afghanistan",
982
+ dial_code: "+93",
983
+ },
984
+ AX: {
985
+ name: "Aland Islands",
986
+ dial_code: "+358",
987
+ },
988
+ AL: {
989
+ name: "Albania",
990
+ dial_code: "+355",
991
+ },
992
+ DZ: {
993
+ name: "Algeria",
994
+ dial_code: "+213",
995
+ },
996
+ AS: {
997
+ name: "AmericanSamoa",
998
+ dial_code: "+1684",
999
+ },
1000
+ AD: {
1001
+ name: "Andorra",
1002
+ dial_code: "+376",
1003
+ },
1004
+ AO: {
1005
+ name: "Angola",
1006
+ dial_code: "+244",
1007
+ },
1008
+ AI: {
1009
+ name: "Anguilla",
1010
+ dial_code: "+1264",
1011
+ },
1012
+ AQ: {
1013
+ name: "Antarctica",
1014
+ dial_code: "+672",
1015
+ },
1016
+ AG: {
1017
+ name: "Antigua and Barbuda",
1018
+ dial_code: "+1268",
1019
+ },
1020
+ AR: {
1021
+ name: "Argentina",
1022
+ dial_code: "+54",
1023
+ },
1024
+ AM: {
1025
+ name: "Armenia",
1026
+ dial_code: "+374",
1027
+ },
1028
+ AW: {
1029
+ name: "Aruba",
1030
+ dial_code: "+297",
1031
+ },
1032
+ AU: {
1033
+ name: "Australia",
1034
+ dial_code: "+61",
1035
+ },
1036
+ AT: {
1037
+ name: "Austria",
1038
+ dial_code: "+43",
1039
+ },
1040
+ AZ: {
1041
+ name: "Azerbaijan",
1042
+ dial_code: "+994",
1043
+ },
1044
+ BS: {
1045
+ name: "Bahamas",
1046
+ dial_code: "+1242",
1047
+ },
1048
+ BH: {
1049
+ name: "Bahrain",
1050
+ dial_code: "+973",
1051
+ },
1052
+ BD: {
1053
+ name: "Bangladesh",
1054
+ dial_code: "+880",
1055
+ },
1056
+ BB: {
1057
+ name: "Barbados",
1058
+ dial_code: "+1246",
1059
+ },
1060
+ BY: {
1061
+ name: "Belarus",
1062
+ dial_code: "+375",
1063
+ },
1064
+ BE: {
1065
+ name: "Belgium",
1066
+ dial_code: "+32",
1067
+ },
1068
+ BZ: {
1069
+ name: "Belize",
1070
+ dial_code: "+501",
1071
+ },
1072
+ BJ: {
1073
+ name: "Benin",
1074
+ dial_code: "+229",
1075
+ },
1076
+ BM: {
1077
+ name: "Bermuda",
1078
+ dial_code: "+1441",
1079
+ },
1080
+ BT: {
1081
+ name: "Bhutan",
1082
+ dial_code: "+975",
1083
+ },
1084
+ BO: {
1085
+ name: "Bolivia, Plurinational State of",
1086
+ dial_code: "+591",
1087
+ },
1088
+ BA: {
1089
+ name: "Bosnia and Herzegovina",
1090
+ dial_code: "+387",
1091
+ },
1092
+ BW: {
1093
+ name: "Botswana",
1094
+ dial_code: "+267",
1095
+ },
1096
+ BR: {
1097
+ name: "Brazil",
1098
+ dial_code: "+55",
1099
+ },
1100
+ IO: {
1101
+ name: "British Indian Ocean Territory",
1102
+ dial_code: "+246",
1103
+ },
1104
+ BN: {
1105
+ name: "Brunei Darussalam",
1106
+ dial_code: "+673",
1107
+ },
1108
+ BG: {
1109
+ name: "Bulgaria",
1110
+ dial_code: "+359",
1111
+ },
1112
+ BF: {
1113
+ name: "Burkina Faso",
1114
+ dial_code: "+226",
1115
+ },
1116
+ BI: {
1117
+ name: "Burundi",
1118
+ dial_code: "+257",
1119
+ },
1120
+ KH: {
1121
+ name: "Cambodia",
1122
+ dial_code: "+855",
1123
+ },
1124
+ CM: {
1125
+ name: "Cameroon",
1126
+ dial_code: "+237",
1127
+ },
1128
+ CA: {
1129
+ name: "Canada",
1130
+ dial_code: "+1",
1131
+ },
1132
+ CV: {
1133
+ name: "Cape Verde",
1134
+ dial_code: "+238",
1135
+ },
1136
+ KY: {
1137
+ name: "Cayman Islands",
1138
+ dial_code: "+ 345",
1139
+ },
1140
+ CF: {
1141
+ name: "Central African Republic",
1142
+ dial_code: "+236",
1143
+ },
1144
+ TD: {
1145
+ name: "Chad",
1146
+ dial_code: "+235",
1147
+ },
1148
+ CL: {
1149
+ name: "Chile",
1150
+ dial_code: "+56",
1151
+ },
1152
+ CN: {
1153
+ name: "China",
1154
+ dial_code: "+86",
1155
+ },
1156
+ CX: {
1157
+ name: "Christmas Island",
1158
+ dial_code: "+61",
1159
+ },
1160
+ CC: {
1161
+ name: "Cocos (Keeling) Islands",
1162
+ dial_code: "+61",
1163
+ },
1164
+ CO: {
1165
+ name: "Colombia",
1166
+ dial_code: "+57",
1167
+ },
1168
+ KM: {
1169
+ name: "Comoros",
1170
+ dial_code: "+269",
1171
+ },
1172
+ CG: {
1173
+ name: "Congo",
1174
+ dial_code: "+242",
1175
+ },
1176
+ CD: {
1177
+ name: "Congo, The Democratic Republic of the Congo",
1178
+ dial_code: "+243",
1179
+ },
1180
+ CK: {
1181
+ name: "Cook Islands",
1182
+ dial_code: "+682",
1183
+ },
1184
+ CR: {
1185
+ name: "Costa Rica",
1186
+ dial_code: "+506",
1187
+ },
1188
+ CI: {
1189
+ name: "Cote d'Ivoire",
1190
+ dial_code: "+225",
1191
+ },
1192
+ HR: {
1193
+ name: "Croatia",
1194
+ dial_code: "+385",
1195
+ },
1196
+ CU: {
1197
+ name: "Cuba",
1198
+ dial_code: "+53",
1199
+ },
1200
+ CW: {
1201
+ name: "Curaçao",
1202
+ dial_code: "+599",
1203
+ },
1204
+ CY: {
1205
+ name: "Cyprus",
1206
+ dial_code: "+357",
1207
+ },
1208
+ CZ: {
1209
+ name: "Czech Republic",
1210
+ dial_code: "+420",
1211
+ },
1212
+ DK: {
1213
+ name: "Denmark",
1214
+ dial_code: "+45",
1215
+ },
1216
+ DJ: {
1217
+ name: "Djibouti",
1218
+ dial_code: "+253",
1219
+ },
1220
+ DM: {
1221
+ name: "Dominica",
1222
+ dial_code: "+1767",
1223
+ },
1224
+ DO: {
1225
+ name: "Dominican Republic",
1226
+ dial_code: "+1849",
1227
+ },
1228
+ EC: {
1229
+ name: "Ecuador",
1230
+ dial_code: "+593",
1231
+ },
1232
+ EG: {
1233
+ name: "Egypt",
1234
+ dial_code: "+20",
1235
+ },
1236
+ SV: {
1237
+ name: "El Salvador",
1238
+ dial_code: "+503",
1239
+ },
1240
+ GQ: {
1241
+ name: "Equatorial Guinea",
1242
+ dial_code: "+240",
1243
+ },
1244
+ ER: {
1245
+ name: "Eritrea",
1246
+ dial_code: "+291",
1247
+ },
1248
+ EE: {
1249
+ name: "Estonia",
1250
+ dial_code: "+372",
1251
+ },
1252
+ ET: {
1253
+ name: "Ethiopia",
1254
+ dial_code: "+251",
1255
+ },
1256
+ FK: {
1257
+ name: "Falkland Islands (Malvinas)",
1258
+ dial_code: "+500",
1259
+ },
1260
+ FO: {
1261
+ name: "Faroe Islands",
1262
+ dial_code: "+298",
1263
+ },
1264
+ FJ: {
1265
+ name: "Fiji",
1266
+ dial_code: "+679",
1267
+ },
1268
+ FI: {
1269
+ name: "Finland",
1270
+ dial_code: "+358",
1271
+ },
1272
+ FR: {
1273
+ name: "France",
1274
+ dial_code: "+33",
1275
+ },
1276
+ GF: {
1277
+ name: "French Guiana",
1278
+ dial_code: "+594",
1279
+ },
1280
+ PF: {
1281
+ name: "French Polynesia",
1282
+ dial_code: "+689",
1283
+ },
1284
+ TF: {
1285
+ name: "French Southern Territories",
1286
+ dial_code: "+262",
1287
+ },
1288
+ GA: {
1289
+ name: "Gabon",
1290
+ dial_code: "+241",
1291
+ },
1292
+ GM: {
1293
+ name: "Gambia",
1294
+ dial_code: "+220",
1295
+ },
1296
+ GE: {
1297
+ name: "Georgia",
1298
+ dial_code: "+995",
1299
+ },
1300
+ DE: {
1301
+ name: "Germany",
1302
+ dial_code: "+49",
1303
+ },
1304
+ GH: {
1305
+ name: "Ghana",
1306
+ dial_code: "+233",
1307
+ },
1308
+ GI: {
1309
+ name: "Gibraltar",
1310
+ dial_code: "+350",
1311
+ },
1312
+ GR: {
1313
+ name: "Greece",
1314
+ dial_code: "+30",
1315
+ },
1316
+ GL: {
1317
+ name: "Greenland",
1318
+ dial_code: "+299",
1319
+ },
1320
+ GD: {
1321
+ name: "Grenada",
1322
+ dial_code: "+1473",
1323
+ },
1324
+ GP: {
1325
+ name: "Guadeloupe",
1326
+ dial_code: "+590",
1327
+ },
1328
+ GU: {
1329
+ name: "Guam",
1330
+ dial_code: "+1671",
1331
+ },
1332
+ GT: {
1333
+ name: "Guatemala",
1334
+ dial_code: "+502",
1335
+ },
1336
+ GG: {
1337
+ name: "Guernsey",
1338
+ dial_code: "+44",
1339
+ },
1340
+ GN: {
1341
+ name: "Guinea",
1342
+ dial_code: "+224",
1343
+ },
1344
+ GW: {
1345
+ name: "Guinea-Bissau",
1346
+ dial_code: "+245",
1347
+ },
1348
+ GY: {
1349
+ name: "Guyana",
1350
+ dial_code: "+595",
1351
+ },
1352
+ HT: {
1353
+ name: "Haiti",
1354
+ dial_code: "+509",
1355
+ },
1356
+ VA: {
1357
+ name: "Holy See (Vatican City State)",
1358
+ dial_code: "+379",
1359
+ },
1360
+ HN: {
1361
+ name: "Honduras",
1362
+ dial_code: "+504",
1363
+ },
1364
+ HK: {
1365
+ name: "Hong Kong",
1366
+ dial_code: "+852",
1367
+ },
1368
+ HU: {
1369
+ name: "Hungary",
1370
+ dial_code: "+36",
1371
+ },
1372
+ IS: {
1373
+ name: "Iceland",
1374
+ dial_code: "+354",
1375
+ },
1376
+ IN: {
1377
+ name: "India",
1378
+ dial_code: "+91",
1379
+ },
1380
+ ID: {
1381
+ name: "Indonesia",
1382
+ dial_code: "+62",
1383
+ },
1384
+ IR: {
1385
+ name: "Iran, Islamic Republic of Persian Gulf",
1386
+ dial_code: "+98",
1387
+ },
1388
+ IQ: {
1389
+ name: "Iraq",
1390
+ dial_code: "+964",
1391
+ },
1392
+ IE: {
1393
+ name: "Ireland",
1394
+ dial_code: "+353",
1395
+ },
1396
+ IM: {
1397
+ name: "Isle of Man",
1398
+ dial_code: "+44",
1399
+ },
1400
+ IL: {
1401
+ name: "Israel",
1402
+ dial_code: "+972",
1403
+ },
1404
+ IT: {
1405
+ name: "Italy",
1406
+ dial_code: "+39",
1407
+ },
1408
+ JM: {
1409
+ name: "Jamaica",
1410
+ dial_code: "+1876",
1411
+ },
1412
+ JP: {
1413
+ name: "Japan",
1414
+ dial_code: "+81",
1415
+ },
1416
+ JE: {
1417
+ name: "Jersey",
1418
+ dial_code: "+44",
1419
+ },
1420
+ JO: {
1421
+ name: "Jordan",
1422
+ dial_code: "+962",
1423
+ },
1424
+ KZ: {
1425
+ name: "Kazakhstan",
1426
+ dial_code: "+77",
1427
+ },
1428
+ KE: {
1429
+ name: "Kenya",
1430
+ dial_code: "+254",
1431
+ },
1432
+ KI: {
1433
+ name: "Kiribati",
1434
+ dial_code: "+686",
1435
+ },
1436
+ KP: {
1437
+ name: "Korea, Democratic People's Republic of Korea",
1438
+ dial_code: "+850",
1439
+ },
1440
+ KR: {
1441
+ name: "Korea, Republic of South Korea",
1442
+ dial_code: "+82",
1443
+ },
1444
+ KW: {
1445
+ name: "Kuwait",
1446
+ dial_code: "+965",
1447
+ },
1448
+ KG: {
1449
+ name: "Kyrgyzstan",
1450
+ dial_code: "+996",
1451
+ },
1452
+ LA: {
1453
+ name: "Laos",
1454
+ dial_code: "+856",
1455
+ },
1456
+ LV: {
1457
+ name: "Latvia",
1458
+ dial_code: "+371",
1459
+ },
1460
+ LB: {
1461
+ name: "Lebanon",
1462
+ dial_code: "+961",
1463
+ },
1464
+ LS: {
1465
+ name: "Lesotho",
1466
+ dial_code: "+266",
1467
+ },
1468
+ LR: {
1469
+ name: "Liberia",
1470
+ dial_code: "+231",
1471
+ },
1472
+ LY: {
1473
+ name: "Libyan Arab Jamahiriya",
1474
+ dial_code: "+218",
1475
+ },
1476
+ LI: {
1477
+ name: "Liechtenstein",
1478
+ dial_code: "+423",
1479
+ },
1480
+ LT: {
1481
+ name: "Lithuania",
1482
+ dial_code: "+370",
1483
+ },
1484
+ LU: {
1485
+ name: "Luxembourg",
1486
+ dial_code: "+352",
1487
+ },
1488
+ MO: {
1489
+ name: "Macao",
1490
+ dial_code: "+853",
1491
+ },
1492
+ MK: {
1493
+ name: "Macedonia",
1494
+ dial_code: "+389",
1495
+ },
1496
+ MG: {
1497
+ name: "Madagascar",
1498
+ dial_code: "+261",
1499
+ },
1500
+ MW: {
1501
+ name: "Malawi",
1502
+ dial_code: "+265",
1503
+ },
1504
+ MY: {
1505
+ name: "Malaysia",
1506
+ dial_code: "+60",
1507
+ },
1508
+ MV: {
1509
+ name: "Maldives",
1510
+ dial_code: "+960",
1511
+ },
1512
+ ML: {
1513
+ name: "Mali",
1514
+ dial_code: "+223",
1515
+ },
1516
+ MT: {
1517
+ name: "Malta",
1518
+ dial_code: "+356",
1519
+ },
1520
+ MH: {
1521
+ name: "Marshall Islands",
1522
+ dial_code: "+692",
1523
+ },
1524
+ MQ: {
1525
+ name: "Martinique",
1526
+ dial_code: "+596",
1527
+ },
1528
+ MR: {
1529
+ name: "Mauritania",
1530
+ dial_code: "+222",
1531
+ },
1532
+ MU: {
1533
+ name: "Mauritius",
1534
+ dial_code: "+230",
1535
+ },
1536
+ YT: {
1537
+ name: "Mayotte",
1538
+ dial_code: "+262",
1539
+ },
1540
+ MX: {
1541
+ name: "Mexico",
1542
+ dial_code: "+52",
1543
+ },
1544
+ FM: {
1545
+ name: "Micronesia, Federated States of Micronesia",
1546
+ dial_code: "+691",
1547
+ },
1548
+ MD: {
1549
+ name: "Moldova",
1550
+ dial_code: "+373",
1551
+ },
1552
+ MC: {
1553
+ name: "Monaco",
1554
+ dial_code: "+377",
1555
+ },
1556
+ MN: {
1557
+ name: "Mongolia",
1558
+ dial_code: "+976",
1559
+ },
1560
+ ME: {
1561
+ name: "Montenegro",
1562
+ dial_code: "+382",
1563
+ },
1564
+ MS: {
1565
+ name: "Montserrat",
1566
+ dial_code: "+1664",
1567
+ },
1568
+ MA: {
1569
+ name: "Morocco",
1570
+ dial_code: "+212",
1571
+ },
1572
+ MZ: {
1573
+ name: "Mozambique",
1574
+ dial_code: "+258",
1575
+ },
1576
+ MM: {
1577
+ name: "Myanmar",
1578
+ dial_code: "+95",
1579
+ },
1580
+ NA: {
1581
+ name: "Namibia",
1582
+ dial_code: "+264",
1583
+ },
1584
+ NR: {
1585
+ name: "Nauru",
1586
+ dial_code: "+674",
1587
+ },
1588
+ NP: {
1589
+ name: "Nepal",
1590
+ dial_code: "+977",
1591
+ },
1592
+ NL: {
1593
+ name: "Netherlands",
1594
+ dial_code: "+31",
1595
+ },
1596
+ AN: {
1597
+ name: "Netherlands Antilles",
1598
+ dial_code: "+599",
1599
+ },
1600
+ NC: {
1601
+ name: "New Caledonia",
1602
+ dial_code: "+687",
1603
+ },
1604
+ NZ: {
1605
+ name: "New Zealand",
1606
+ dial_code: "+64",
1607
+ },
1608
+ NI: {
1609
+ name: "Nicaragua",
1610
+ dial_code: "+505",
1611
+ },
1612
+ NE: {
1613
+ name: "Niger",
1614
+ dial_code: "+227",
1615
+ },
1616
+ NG: {
1617
+ name: "Nigeria",
1618
+ dial_code: "+234",
1619
+ },
1620
+ NU: {
1621
+ name: "Niue",
1622
+ dial_code: "+683",
1623
+ },
1624
+ NF: {
1625
+ name: "Norfolk Island",
1626
+ dial_code: "+672",
1627
+ },
1628
+ MP: {
1629
+ name: "Northern Mariana Islands",
1630
+ dial_code: "+1670",
1631
+ },
1632
+ NO: {
1633
+ name: "Norway",
1634
+ dial_code: "+47",
1635
+ },
1636
+ OM: {
1637
+ name: "Oman",
1638
+ dial_code: "+968",
1639
+ },
1640
+ PK: {
1641
+ name: "Pakistan",
1642
+ dial_code: "+92",
1643
+ },
1644
+ PW: {
1645
+ name: "Palau",
1646
+ dial_code: "+680",
1647
+ },
1648
+ PS: {
1649
+ name: "Palestinian Territory, Occupied",
1650
+ dial_code: "+970",
1651
+ },
1652
+ PA: {
1653
+ name: "Panama",
1654
+ dial_code: "+507",
1655
+ },
1656
+ PG: {
1657
+ name: "Papua New Guinea",
1658
+ dial_code: "+675",
1659
+ },
1660
+ PY: {
1661
+ name: "Paraguay",
1662
+ dial_code: "+595",
1663
+ },
1664
+ PE: {
1665
+ name: "Peru",
1666
+ dial_code: "+51",
1667
+ },
1668
+ PH: {
1669
+ name: "Philippines",
1670
+ dial_code: "+63",
1671
+ },
1672
+ PN: {
1673
+ name: "Pitcairn",
1674
+ dial_code: "+872",
1675
+ },
1676
+ PL: {
1677
+ name: "Poland",
1678
+ dial_code: "+48",
1679
+ },
1680
+ PT: {
1681
+ name: "Portugal",
1682
+ dial_code: "+351",
1683
+ },
1684
+ PR: {
1685
+ name: "Puerto Rico",
1686
+ dial_code: "+1939",
1687
+ },
1688
+ QA: {
1689
+ name: "Qatar",
1690
+ dial_code: "+974",
1691
+ },
1692
+ RO: {
1693
+ name: "Romania",
1694
+ dial_code: "+40",
1695
+ },
1696
+ RU: {
1697
+ name: "Russia",
1698
+ dial_code: "+7",
1699
+ },
1700
+ RW: {
1701
+ name: "Rwanda",
1702
+ dial_code: "+250",
1703
+ },
1704
+ RE: {
1705
+ name: "Reunion",
1706
+ dial_code: "+262",
1707
+ },
1708
+ BL: {
1709
+ name: "Saint Barthelemy",
1710
+ dial_code: "+590",
1711
+ },
1712
+ SH: {
1713
+ name: "Saint Helena, Ascension and Tristan Da Cunha",
1714
+ dial_code: "+290",
1715
+ },
1716
+ KN: {
1717
+ name: "Saint Kitts and Nevis",
1718
+ dial_code: "+1869",
1719
+ },
1720
+ LC: {
1721
+ name: "Saint Lucia",
1722
+ dial_code: "+1758",
1723
+ },
1724
+ MF: {
1725
+ name: "Saint Martin",
1726
+ dial_code: "+590",
1727
+ },
1728
+ PM: {
1729
+ name: "Saint Pierre and Miquelon",
1730
+ dial_code: "+508",
1731
+ },
1732
+ VC: {
1733
+ name: "Saint Vincent and the Grenadines",
1734
+ dial_code: "+1784",
1735
+ },
1736
+ WS: {
1737
+ name: "Samoa",
1738
+ dial_code: "+685",
1739
+ },
1740
+ SM: {
1741
+ name: "San Marino",
1742
+ dial_code: "+378",
1743
+ },
1744
+ ST: {
1745
+ name: "Sao Tome and Principe",
1746
+ dial_code: "+239",
1747
+ },
1748
+ SA: {
1749
+ name: "Saudi Arabia",
1750
+ dial_code: "+966",
1751
+ },
1752
+ SN: {
1753
+ name: "Senegal",
1754
+ dial_code: "+221",
1755
+ },
1756
+ RS: {
1757
+ name: "Serbia",
1758
+ dial_code: "+381",
1759
+ },
1760
+ SC: {
1761
+ name: "Seychelles",
1762
+ dial_code: "+248",
1763
+ },
1764
+ SL: {
1765
+ name: "Sierra Leone",
1766
+ dial_code: "+232",
1767
+ },
1768
+ SG: {
1769
+ name: "Singapore",
1770
+ dial_code: "+65",
1771
+ },
1772
+ SK: {
1773
+ name: "Slovakia",
1774
+ dial_code: "+421",
1775
+ },
1776
+ SI: {
1777
+ name: "Slovenia",
1778
+ dial_code: "+386",
1779
+ },
1780
+ SB: {
1781
+ name: "Solomon Islands",
1782
+ dial_code: "+677",
1783
+ },
1784
+ SO: {
1785
+ name: "Somalia",
1786
+ dial_code: "+252",
1787
+ },
1788
+ ZA: {
1789
+ name: "South Africa",
1790
+ dial_code: "+27",
1791
+ },
1792
+ SS: {
1793
+ name: "South Sudan",
1794
+ dial_code: "+211",
1795
+ },
1796
+ GS: {
1797
+ name: "South Georgia and the South Sandwich Islands",
1798
+ dial_code: "+500",
1799
+ },
1800
+ ES: {
1801
+ name: "Spain",
1802
+ dial_code: "+34",
1803
+ },
1804
+ LK: {
1805
+ name: "Sri Lanka",
1806
+ dial_code: "+94",
1807
+ },
1808
+ SD: {
1809
+ name: "Sudan",
1810
+ dial_code: "+249",
1811
+ },
1812
+ SR: {
1813
+ name: "Suriname",
1814
+ dial_code: "+597",
1815
+ },
1816
+ SJ: {
1817
+ name: "Svalbard and Jan Mayen",
1818
+ dial_code: "+47",
1819
+ },
1820
+ SZ: {
1821
+ name: "Swaziland",
1822
+ dial_code: "+268",
1823
+ },
1824
+ SE: {
1825
+ name: "Sweden",
1826
+ dial_code: "+46",
1827
+ },
1828
+ CH: {
1829
+ name: "Switzerland",
1830
+ dial_code: "+41",
1831
+ },
1832
+ SY: {
1833
+ name: "Syrian Arab Republic",
1834
+ dial_code: "+963",
1835
+ },
1836
+ TW: {
1837
+ name: "Taiwan",
1838
+ dial_code: "+886",
1839
+ },
1840
+ TJ: {
1841
+ name: "Tajikistan",
1842
+ dial_code: "+992",
1843
+ },
1844
+ TZ: {
1845
+ name: "Tanzania, United Republic of Tanzania",
1846
+ dial_code: "+255",
1847
+ },
1848
+ TH: {
1849
+ name: "Thailand",
1850
+ dial_code: "+66",
1851
+ },
1852
+ TL: {
1853
+ name: "Timor-Leste",
1854
+ dial_code: "+670",
1855
+ },
1856
+ TG: {
1857
+ name: "Togo",
1858
+ dial_code: "+228",
1859
+ },
1860
+ TK: {
1861
+ name: "Tokelau",
1862
+ dial_code: "+690",
1863
+ },
1864
+ TO: {
1865
+ name: "Tonga",
1866
+ dial_code: "+676",
1867
+ },
1868
+ TT: {
1869
+ name: "Trinidad and Tobago",
1870
+ dial_code: "+1868",
1871
+ },
1872
+ TN: {
1873
+ name: "Tunisia",
1874
+ dial_code: "+216",
1875
+ },
1876
+ TR: {
1877
+ name: "Turkey",
1878
+ dial_code: "+90",
1879
+ },
1880
+ TM: {
1881
+ name: "Turkmenistan",
1882
+ dial_code: "+993",
1883
+ },
1884
+ TC: {
1885
+ name: "Turks and Caicos Islands",
1886
+ dial_code: "+1649",
1887
+ },
1888
+ TV: {
1889
+ name: "Tuvalu",
1890
+ dial_code: "+688",
1891
+ },
1892
+ UG: {
1893
+ name: "Uganda",
1894
+ dial_code: "+256",
1895
+ },
1896
+ UA: {
1897
+ name: "Ukraine",
1898
+ dial_code: "+380",
1899
+ },
1900
+ AE: {
1901
+ name: "United Arab Emirates",
1902
+ dial_code: "+971",
1903
+ },
1904
+ GB: {
1905
+ name: "United Kingdom",
1906
+ dial_code: "+44",
1907
+ },
1908
+ US: {
1909
+ name: "United States",
1910
+ dial_code: "+1",
1911
+ },
1912
+ UY: {
1913
+ name: "Uruguay",
1914
+ dial_code: "+598",
1915
+ },
1916
+ UZ: {
1917
+ name: "Uzbekistan",
1918
+ dial_code: "+998",
1919
+ },
1920
+ VU: {
1921
+ name: "Vanuatu",
1922
+ dial_code: "+678",
1923
+ },
1924
+ VE: {
1925
+ name: "Venezuela, Bolivarian Republic of Venezuela",
1926
+ dial_code: "+58",
1927
+ },
1928
+ VN: {
1929
+ name: "Vietnam",
1930
+ dial_code: "+84",
1931
+ },
1932
+ VG: {
1933
+ name: "Virgin Islands, British",
1934
+ dial_code: "+1284",
1935
+ },
1936
+ VI: {
1937
+ name: "Virgin Islands, U.S.",
1938
+ dial_code: "+1340",
1939
+ },
1940
+ WF: {
1941
+ name: "Wallis and Futuna",
1942
+ dial_code: "+681",
1943
+ },
1944
+ EH: {
1945
+ name: "Western Sahara",
1946
+ dial_code: "+212",
1947
+ },
1948
+ YE: {
1949
+ name: "Yemen",
1950
+ dial_code: "+967",
1951
+ },
1952
+ ZM: {
1953
+ name: "Zambia",
1954
+ dial_code: "+260",
1955
+ },
1956
+ ZW: {
1957
+ name: "Zimbabwe",
1958
+ dial_code: "+263",
1959
+ },
1960
+ };
1961
+
978
1962
  const style$3 = {
979
1963
  FormWrapper: {},
980
1964
  ErrorInput: {
@@ -1077,10 +2061,6 @@ const vanillaStyle$2 = `
1077
2061
  flex-direction: column;
1078
2062
  }
1079
2063
 
1080
- sl-select#phoneNumberCountryCode::part(menu) {
1081
- min-width: 250px;
1082
- }
1083
-
1084
2064
  sl-button[type="primary"]::part(base){
1085
2065
  background-color: var(--sqm-primary-button-background);
1086
2066
  color: var(--sqm-primary-button-color);
@@ -1174,6 +2154,7 @@ const vanillaStyle$2 = `
1174
2154
  background: var(--sqm-input-background, inherit);
1175
2155
  color: var(--sqm-input-color, inherit);
1176
2156
  border:none;
2157
+ min-width: max-content;
1177
2158
  }
1178
2159
 
1179
2160
  sl-menu-item::part(base) {
@@ -1306,6 +2287,14 @@ const UserInfoFormView = (props) => {
1306
2287
  }, {
1307
2288
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
1308
2289
  })))),
2290
+ (states.isPartnerLegacy || states.isUserLegacy) && (index.h("sqm-form-message", { loading: states.loading, type: "info" },
2291
+ index.h("p", { part: "alert-title" }, text.isPartnerAlertHeader),
2292
+ index.h("p", { part: "alert-description" }, global.intl.formatMessage({
2293
+ id: "isPartnerAlertDescription",
2294
+ defaultMessage: text.isPartnerAlertDescription,
2295
+ }, {
2296
+ supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2297
+ })))),
1309
2298
  index.h("div", null,
1310
2299
  index.h("div", { class: classes.InputContainer },
1311
2300
  index.h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
@@ -1349,16 +2338,23 @@ const UserInfoFormView = (props) => {
1349
2338
  _h.map((c) => {
1350
2339
  var _a, _b;
1351
2340
  return (index.h("sl-menu-item", { value: c.countryCode },
1352
- index.h("div", { slot: "prefix" }, `${(_a = subregions.PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = subregions.PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
2341
+ index.h("div", { slot: "prefix" }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
1353
2342
  _b.dial_code));
1354
2343
  }), (_j = data$1 === null || data$1 === void 0 ? void 0 : data$1.allCountries) === null || _j === void 0 ? void 0 :
1355
2344
  _j.map((c) => {
1356
2345
  var _a, _b;
1357
2346
  return (index.h("sl-menu-item", { value: c.countryCode, style: { display: "none" } },
1358
- index.h("div", { slot: "prefix" }, `${(_a = subregions.PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = subregions.PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
2347
+ index.h("div", { slot: "prefix" }, `${(_a = PHONE_EXTENSIONS[c.countryCode]) === null || _a === void 0 ? void 0 : _a.name} `), (_b = PHONE_EXTENSIONS[c.countryCode]) === null || _b === void 0 ? void 0 :
1359
2348
  _b.dial_code));
1360
2349
  })),
1361
- index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", id: "phoneNumber", name: "/phoneNumber", value: formState.phoneNumber, validationError: ({ control, value, formData }) => {
2350
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", id: "phoneNumber", name: "/phoneNumber", value: formState.phoneNumber !== null
2351
+ ? formState.phoneNumber
2352
+ : "", "onSl-input": (e) => {
2353
+ var _a;
2354
+ const target = e.target;
2355
+ const country = (((_a = refs.phoneCountryRef.current) === null || _a === void 0 ? void 0 : _a.value) || "US");
2356
+ target.value = new AsYouType.AsYouType(country).input(target.value);
2357
+ }, validationError: ({ control, value, formData }) => {
1362
2358
  // skip validation for values the user can't edit
1363
2359
  if (control === null || control === void 0 ? void 0 : control.disabled)
1364
2360
  return undefined;