@webority/ui-react 0.0.10 → 0.2.0

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 (2) hide show
  1. package/dist/ui-react.js +1349 -282
  2. package/package.json +4 -8
package/dist/ui-react.js CHANGED
@@ -131,7 +131,7 @@ function A({ name: e, size: r = 16, className: i, color: a, style: o }) {
131
131
  }), /* @__PURE__ */ t("path", { d: "M3.2 22.5C3.2 17.4 7.5 14.9 11 14.7L12 17.4l1-2.7C16.5 14.9 20.8 17.4 20.8 22.5z" })]
132
132
  })
133
133
  });
134
- let s = ee[e];
134
+ let s = ee[e] || e;
135
135
  return s ? /* @__PURE__ */ t("i", {
136
136
  className: `bi bi-${s}${i ? ` ${i}` : ""}`,
137
137
  "data-icon": e,
@@ -146,24 +146,37 @@ function A({ name: e, size: r = 16, className: i, color: a, style: o }) {
146
146
  }
147
147
  //#endregion
148
148
  //#region src/components/ActionIcon.jsx
149
- function te({ name: e, size: n = 20 }) {
150
- return /* @__PURE__ */ t(A, {
151
- name: e,
152
- size: n,
153
- variant: "Bold"
149
+ function te({ icon: e, label: n, danger: r = !1, disabled: i = !1, size: a = 20, onClick: o, className: s = "", ...c }) {
150
+ return /* @__PURE__ */ t("button", {
151
+ type: "button",
152
+ className: [
153
+ "u-action",
154
+ r ? "danger" : "",
155
+ s
156
+ ].filter(Boolean).join(" "),
157
+ "aria-label": n,
158
+ title: n,
159
+ disabled: i,
160
+ onClick: o,
161
+ ...c,
162
+ children: /* @__PURE__ */ t(A, {
163
+ name: e,
164
+ size: a,
165
+ variant: "Bold"
166
+ })
154
167
  });
155
168
  }
156
169
  //#endregion
157
170
  //#region src/components/AppAlert.jsx
158
- function ne({ variant: e = "danger", children: n, className: i = "", onClose: a, role: o = "alert", ...s }) {
171
+ function ne({ variant: e = "danger", children: n, className: i = "", onClose: a, dismissible: o, role: s = "alert", ...c }) {
159
172
  return /* @__PURE__ */ t(r, {
160
173
  variant: e,
161
174
  className: i || void 0,
162
175
  onClose: a,
163
- dismissible: typeof a == "function",
176
+ dismissible: o ?? typeof a == "function",
164
177
  transition: !1,
165
- role: o,
166
- ...s,
178
+ role: s,
179
+ ...c,
167
180
  children: n
168
181
  });
169
182
  }
@@ -591,24 +604,949 @@ var re = class extends HTMLElement {
591
604
  }
592
605
  }, I = (e) => String(e ?? "").replace(/"/g, "&quot;").replace(/</g, "&lt;"), le = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;"), ue = (e) => String(e ?? "").replace(/<[^>]*>/g, ""), L = [
593
606
  [
594
- "IN",
595
- "India",
596
- "91"
607
+ "AF",
608
+ "Afghanistan",
609
+ "93"
610
+ ],
611
+ [
612
+ "AX",
613
+ "Åland Islands",
614
+ "358"
615
+ ],
616
+ [
617
+ "AL",
618
+ "Albania",
619
+ "355"
620
+ ],
621
+ [
622
+ "DZ",
623
+ "Algeria",
624
+ "213"
625
+ ],
626
+ [
627
+ "AS",
628
+ "American Samoa",
629
+ "1"
630
+ ],
631
+ [
632
+ "AD",
633
+ "Andorra",
634
+ "376"
635
+ ],
636
+ [
637
+ "AO",
638
+ "Angola",
639
+ "244"
640
+ ],
641
+ [
642
+ "AI",
643
+ "Anguilla",
644
+ "1"
645
+ ],
646
+ [
647
+ "AG",
648
+ "Antigua & Barbuda",
649
+ "1"
650
+ ],
651
+ [
652
+ "AR",
653
+ "Argentina",
654
+ "54"
655
+ ],
656
+ [
657
+ "AM",
658
+ "Armenia",
659
+ "374"
660
+ ],
661
+ [
662
+ "AW",
663
+ "Aruba",
664
+ "297"
665
+ ],
666
+ [
667
+ "AC",
668
+ "Ascension Island",
669
+ "247"
670
+ ],
671
+ [
672
+ "AU",
673
+ "Australia",
674
+ "61"
675
+ ],
676
+ [
677
+ "AT",
678
+ "Austria",
679
+ "43"
680
+ ],
681
+ [
682
+ "AZ",
683
+ "Azerbaijan",
684
+ "994"
685
+ ],
686
+ [
687
+ "BS",
688
+ "Bahamas",
689
+ "1"
690
+ ],
691
+ [
692
+ "BH",
693
+ "Bahrain",
694
+ "973"
695
+ ],
696
+ [
697
+ "BD",
698
+ "Bangladesh",
699
+ "880"
700
+ ],
701
+ [
702
+ "BB",
703
+ "Barbados",
704
+ "1"
705
+ ],
706
+ [
707
+ "BY",
708
+ "Belarus",
709
+ "375"
710
+ ],
711
+ [
712
+ "BE",
713
+ "Belgium",
714
+ "32"
715
+ ],
716
+ [
717
+ "BZ",
718
+ "Belize",
719
+ "501"
720
+ ],
721
+ [
722
+ "BJ",
723
+ "Benin",
724
+ "229"
725
+ ],
726
+ [
727
+ "BM",
728
+ "Bermuda",
729
+ "1"
730
+ ],
731
+ [
732
+ "BT",
733
+ "Bhutan",
734
+ "975"
735
+ ],
736
+ [
737
+ "BO",
738
+ "Bolivia",
739
+ "591"
740
+ ],
741
+ [
742
+ "BA",
743
+ "Bosnia & Herzegovina",
744
+ "387"
745
+ ],
746
+ [
747
+ "BW",
748
+ "Botswana",
749
+ "267"
750
+ ],
751
+ [
752
+ "BR",
753
+ "Brazil",
754
+ "55"
755
+ ],
756
+ [
757
+ "IO",
758
+ "British Indian Ocean Territory",
759
+ "246"
760
+ ],
761
+ [
762
+ "VG",
763
+ "British Virgin Islands",
764
+ "1"
765
+ ],
766
+ [
767
+ "BN",
768
+ "Brunei",
769
+ "673"
770
+ ],
771
+ [
772
+ "BG",
773
+ "Bulgaria",
774
+ "359"
775
+ ],
776
+ [
777
+ "BF",
778
+ "Burkina Faso",
779
+ "226"
780
+ ],
781
+ [
782
+ "BI",
783
+ "Burundi",
784
+ "257"
785
+ ],
786
+ [
787
+ "KH",
788
+ "Cambodia",
789
+ "855"
790
+ ],
791
+ [
792
+ "CM",
793
+ "Cameroon",
794
+ "237"
795
+ ],
796
+ [
797
+ "CA",
798
+ "Canada",
799
+ "1"
800
+ ],
801
+ [
802
+ "CV",
803
+ "Cape Verde",
804
+ "238"
805
+ ],
806
+ [
807
+ "BQ",
808
+ "Caribbean Netherlands",
809
+ "599"
810
+ ],
811
+ [
812
+ "KY",
813
+ "Cayman Islands",
814
+ "1"
815
+ ],
816
+ [
817
+ "CF",
818
+ "Central African Republic",
819
+ "236"
820
+ ],
821
+ [
822
+ "TD",
823
+ "Chad",
824
+ "235"
825
+ ],
826
+ [
827
+ "CL",
828
+ "Chile",
829
+ "56"
830
+ ],
831
+ [
832
+ "CN",
833
+ "China",
834
+ "86"
835
+ ],
836
+ [
837
+ "CX",
838
+ "Christmas Island",
839
+ "61"
840
+ ],
841
+ [
842
+ "CC",
843
+ "Cocos (Keeling) Islands",
844
+ "61"
845
+ ],
846
+ [
847
+ "CO",
848
+ "Colombia",
849
+ "57"
850
+ ],
851
+ [
852
+ "KM",
853
+ "Comoros",
854
+ "269"
855
+ ],
856
+ [
857
+ "CG",
858
+ "Congo - Brazzaville",
859
+ "242"
860
+ ],
861
+ [
862
+ "CD",
863
+ "Congo - Kinshasa",
864
+ "243"
865
+ ],
866
+ [
867
+ "CK",
868
+ "Cook Islands",
869
+ "682"
870
+ ],
871
+ [
872
+ "CR",
873
+ "Costa Rica",
874
+ "506"
875
+ ],
876
+ [
877
+ "CI",
878
+ "Côte d’Ivoire",
879
+ "225"
880
+ ],
881
+ [
882
+ "HR",
883
+ "Croatia",
884
+ "385"
885
+ ],
886
+ [
887
+ "CU",
888
+ "Cuba",
889
+ "53"
890
+ ],
891
+ [
892
+ "CW",
893
+ "Curaçao",
894
+ "599"
895
+ ],
896
+ [
897
+ "CY",
898
+ "Cyprus",
899
+ "357"
900
+ ],
901
+ [
902
+ "CZ",
903
+ "Czechia",
904
+ "420"
905
+ ],
906
+ [
907
+ "DK",
908
+ "Denmark",
909
+ "45"
910
+ ],
911
+ [
912
+ "DJ",
913
+ "Djibouti",
914
+ "253"
915
+ ],
916
+ [
917
+ "DM",
918
+ "Dominica",
919
+ "1"
920
+ ],
921
+ [
922
+ "DO",
923
+ "Dominican Republic",
924
+ "1"
925
+ ],
926
+ [
927
+ "EC",
928
+ "Ecuador",
929
+ "593"
930
+ ],
931
+ [
932
+ "EG",
933
+ "Egypt",
934
+ "20"
935
+ ],
936
+ [
937
+ "SV",
938
+ "El Salvador",
939
+ "503"
940
+ ],
941
+ [
942
+ "GQ",
943
+ "Equatorial Guinea",
944
+ "240"
945
+ ],
946
+ [
947
+ "ER",
948
+ "Eritrea",
949
+ "291"
950
+ ],
951
+ [
952
+ "EE",
953
+ "Estonia",
954
+ "372"
955
+ ],
956
+ [
957
+ "SZ",
958
+ "Eswatini",
959
+ "268"
960
+ ],
961
+ [
962
+ "ET",
963
+ "Ethiopia",
964
+ "251"
965
+ ],
966
+ [
967
+ "FK",
968
+ "Falkland Islands",
969
+ "500"
970
+ ],
971
+ [
972
+ "FO",
973
+ "Faroe Islands",
974
+ "298"
975
+ ],
976
+ [
977
+ "FJ",
978
+ "Fiji",
979
+ "679"
980
+ ],
981
+ [
982
+ "FI",
983
+ "Finland",
984
+ "358"
985
+ ],
986
+ [
987
+ "FR",
988
+ "France",
989
+ "33"
990
+ ],
991
+ [
992
+ "GF",
993
+ "French Guiana",
994
+ "594"
995
+ ],
996
+ [
997
+ "PF",
998
+ "French Polynesia",
999
+ "689"
1000
+ ],
1001
+ [
1002
+ "GA",
1003
+ "Gabon",
1004
+ "241"
1005
+ ],
1006
+ [
1007
+ "GM",
1008
+ "Gambia",
1009
+ "220"
1010
+ ],
1011
+ [
1012
+ "GE",
1013
+ "Georgia",
1014
+ "995"
1015
+ ],
1016
+ [
1017
+ "DE",
1018
+ "Germany",
1019
+ "49"
1020
+ ],
1021
+ [
1022
+ "GH",
1023
+ "Ghana",
1024
+ "233"
1025
+ ],
1026
+ [
1027
+ "GI",
1028
+ "Gibraltar",
1029
+ "350"
1030
+ ],
1031
+ [
1032
+ "GR",
1033
+ "Greece",
1034
+ "30"
1035
+ ],
1036
+ [
1037
+ "GL",
1038
+ "Greenland",
1039
+ "299"
1040
+ ],
1041
+ [
1042
+ "GD",
1043
+ "Grenada",
1044
+ "1"
1045
+ ],
1046
+ [
1047
+ "GP",
1048
+ "Guadeloupe",
1049
+ "590"
1050
+ ],
1051
+ [
1052
+ "GU",
1053
+ "Guam",
1054
+ "1"
1055
+ ],
1056
+ [
1057
+ "GT",
1058
+ "Guatemala",
1059
+ "502"
1060
+ ],
1061
+ [
1062
+ "GG",
1063
+ "Guernsey",
1064
+ "44"
1065
+ ],
1066
+ [
1067
+ "GN",
1068
+ "Guinea",
1069
+ "224"
1070
+ ],
1071
+ [
1072
+ "GW",
1073
+ "Guinea-Bissau",
1074
+ "245"
1075
+ ],
1076
+ [
1077
+ "GY",
1078
+ "Guyana",
1079
+ "592"
1080
+ ],
1081
+ [
1082
+ "HT",
1083
+ "Haiti",
1084
+ "509"
1085
+ ],
1086
+ [
1087
+ "HN",
1088
+ "Honduras",
1089
+ "504"
1090
+ ],
1091
+ [
1092
+ "HK",
1093
+ "Hong Kong SAR China",
1094
+ "852"
1095
+ ],
1096
+ [
1097
+ "HU",
1098
+ "Hungary",
1099
+ "36"
1100
+ ],
1101
+ [
1102
+ "IS",
1103
+ "Iceland",
1104
+ "354"
1105
+ ],
1106
+ [
1107
+ "IN",
1108
+ "India",
1109
+ "91"
1110
+ ],
1111
+ [
1112
+ "ID",
1113
+ "Indonesia",
1114
+ "62"
1115
+ ],
1116
+ [
1117
+ "IR",
1118
+ "Iran",
1119
+ "98"
1120
+ ],
1121
+ [
1122
+ "IQ",
1123
+ "Iraq",
1124
+ "964"
1125
+ ],
1126
+ [
1127
+ "IE",
1128
+ "Ireland",
1129
+ "353"
1130
+ ],
1131
+ [
1132
+ "IM",
1133
+ "Isle of Man",
1134
+ "44"
1135
+ ],
1136
+ [
1137
+ "IL",
1138
+ "Israel",
1139
+ "972"
1140
+ ],
1141
+ [
1142
+ "IT",
1143
+ "Italy",
1144
+ "39"
1145
+ ],
1146
+ [
1147
+ "JM",
1148
+ "Jamaica",
1149
+ "1"
1150
+ ],
1151
+ [
1152
+ "JP",
1153
+ "Japan",
1154
+ "81"
1155
+ ],
1156
+ [
1157
+ "JE",
1158
+ "Jersey",
1159
+ "44"
1160
+ ],
1161
+ [
1162
+ "JO",
1163
+ "Jordan",
1164
+ "962"
1165
+ ],
1166
+ [
1167
+ "KZ",
1168
+ "Kazakhstan",
1169
+ "7"
1170
+ ],
1171
+ [
1172
+ "KE",
1173
+ "Kenya",
1174
+ "254"
1175
+ ],
1176
+ [
1177
+ "KI",
1178
+ "Kiribati",
1179
+ "686"
1180
+ ],
1181
+ [
1182
+ "XK",
1183
+ "Kosovo",
1184
+ "383"
1185
+ ],
1186
+ [
1187
+ "KW",
1188
+ "Kuwait",
1189
+ "965"
1190
+ ],
1191
+ [
1192
+ "KG",
1193
+ "Kyrgyzstan",
1194
+ "996"
1195
+ ],
1196
+ [
1197
+ "LA",
1198
+ "Laos",
1199
+ "856"
1200
+ ],
1201
+ [
1202
+ "LV",
1203
+ "Latvia",
1204
+ "371"
1205
+ ],
1206
+ [
1207
+ "LB",
1208
+ "Lebanon",
1209
+ "961"
1210
+ ],
1211
+ [
1212
+ "LS",
1213
+ "Lesotho",
1214
+ "266"
1215
+ ],
1216
+ [
1217
+ "LR",
1218
+ "Liberia",
1219
+ "231"
1220
+ ],
1221
+ [
1222
+ "LY",
1223
+ "Libya",
1224
+ "218"
1225
+ ],
1226
+ [
1227
+ "LI",
1228
+ "Liechtenstein",
1229
+ "423"
1230
+ ],
1231
+ [
1232
+ "LT",
1233
+ "Lithuania",
1234
+ "370"
1235
+ ],
1236
+ [
1237
+ "LU",
1238
+ "Luxembourg",
1239
+ "352"
1240
+ ],
1241
+ [
1242
+ "MO",
1243
+ "Macao SAR China",
1244
+ "853"
1245
+ ],
1246
+ [
1247
+ "MG",
1248
+ "Madagascar",
1249
+ "261"
1250
+ ],
1251
+ [
1252
+ "MW",
1253
+ "Malawi",
1254
+ "265"
1255
+ ],
1256
+ [
1257
+ "MY",
1258
+ "Malaysia",
1259
+ "60"
1260
+ ],
1261
+ [
1262
+ "MV",
1263
+ "Maldives",
1264
+ "960"
1265
+ ],
1266
+ [
1267
+ "ML",
1268
+ "Mali",
1269
+ "223"
1270
+ ],
1271
+ [
1272
+ "MT",
1273
+ "Malta",
1274
+ "356"
1275
+ ],
1276
+ [
1277
+ "MH",
1278
+ "Marshall Islands",
1279
+ "692"
1280
+ ],
1281
+ [
1282
+ "MQ",
1283
+ "Martinique",
1284
+ "596"
1285
+ ],
1286
+ [
1287
+ "MR",
1288
+ "Mauritania",
1289
+ "222"
1290
+ ],
1291
+ [
1292
+ "MU",
1293
+ "Mauritius",
1294
+ "230"
1295
+ ],
1296
+ [
1297
+ "YT",
1298
+ "Mayotte",
1299
+ "262"
1300
+ ],
1301
+ [
1302
+ "MX",
1303
+ "Mexico",
1304
+ "52"
1305
+ ],
1306
+ [
1307
+ "FM",
1308
+ "Micronesia",
1309
+ "691"
1310
+ ],
1311
+ [
1312
+ "MD",
1313
+ "Moldova",
1314
+ "373"
1315
+ ],
1316
+ [
1317
+ "MC",
1318
+ "Monaco",
1319
+ "377"
1320
+ ],
1321
+ [
1322
+ "MN",
1323
+ "Mongolia",
1324
+ "976"
1325
+ ],
1326
+ [
1327
+ "ME",
1328
+ "Montenegro",
1329
+ "382"
1330
+ ],
1331
+ [
1332
+ "MS",
1333
+ "Montserrat",
1334
+ "1"
1335
+ ],
1336
+ [
1337
+ "MA",
1338
+ "Morocco",
1339
+ "212"
1340
+ ],
1341
+ [
1342
+ "MZ",
1343
+ "Mozambique",
1344
+ "258"
1345
+ ],
1346
+ [
1347
+ "MM",
1348
+ "Myanmar (Burma)",
1349
+ "95"
1350
+ ],
1351
+ [
1352
+ "NA",
1353
+ "Namibia",
1354
+ "264"
1355
+ ],
1356
+ [
1357
+ "NR",
1358
+ "Nauru",
1359
+ "674"
1360
+ ],
1361
+ [
1362
+ "NP",
1363
+ "Nepal",
1364
+ "977"
1365
+ ],
1366
+ [
1367
+ "NL",
1368
+ "Netherlands",
1369
+ "31"
1370
+ ],
1371
+ [
1372
+ "NC",
1373
+ "New Caledonia",
1374
+ "687"
1375
+ ],
1376
+ [
1377
+ "NZ",
1378
+ "New Zealand",
1379
+ "64"
1380
+ ],
1381
+ [
1382
+ "NI",
1383
+ "Nicaragua",
1384
+ "505"
1385
+ ],
1386
+ [
1387
+ "NE",
1388
+ "Niger",
1389
+ "227"
1390
+ ],
1391
+ [
1392
+ "NG",
1393
+ "Nigeria",
1394
+ "234"
1395
+ ],
1396
+ [
1397
+ "NU",
1398
+ "Niue",
1399
+ "683"
1400
+ ],
1401
+ [
1402
+ "NF",
1403
+ "Norfolk Island",
1404
+ "672"
1405
+ ],
1406
+ [
1407
+ "KP",
1408
+ "North Korea",
1409
+ "850"
1410
+ ],
1411
+ [
1412
+ "MK",
1413
+ "North Macedonia",
1414
+ "389"
1415
+ ],
1416
+ [
1417
+ "MP",
1418
+ "Northern Mariana Islands",
1419
+ "1"
1420
+ ],
1421
+ [
1422
+ "NO",
1423
+ "Norway",
1424
+ "47"
1425
+ ],
1426
+ [
1427
+ "OM",
1428
+ "Oman",
1429
+ "968"
1430
+ ],
1431
+ [
1432
+ "PK",
1433
+ "Pakistan",
1434
+ "92"
1435
+ ],
1436
+ [
1437
+ "PW",
1438
+ "Palau",
1439
+ "680"
1440
+ ],
1441
+ [
1442
+ "PS",
1443
+ "Palestinian Territories",
1444
+ "970"
1445
+ ],
1446
+ [
1447
+ "PA",
1448
+ "Panama",
1449
+ "507"
1450
+ ],
1451
+ [
1452
+ "PG",
1453
+ "Papua New Guinea",
1454
+ "675"
1455
+ ],
1456
+ [
1457
+ "PY",
1458
+ "Paraguay",
1459
+ "595"
1460
+ ],
1461
+ [
1462
+ "PE",
1463
+ "Peru",
1464
+ "51"
1465
+ ],
1466
+ [
1467
+ "PH",
1468
+ "Philippines",
1469
+ "63"
1470
+ ],
1471
+ [
1472
+ "PL",
1473
+ "Poland",
1474
+ "48"
1475
+ ],
1476
+ [
1477
+ "PT",
1478
+ "Portugal",
1479
+ "351"
1480
+ ],
1481
+ [
1482
+ "PR",
1483
+ "Puerto Rico",
1484
+ "1"
1485
+ ],
1486
+ [
1487
+ "QA",
1488
+ "Qatar",
1489
+ "974"
1490
+ ],
1491
+ [
1492
+ "RE",
1493
+ "Réunion",
1494
+ "262"
1495
+ ],
1496
+ [
1497
+ "RO",
1498
+ "Romania",
1499
+ "40"
597
1500
  ],
598
1501
  [
599
- "US",
600
- "United States",
601
- "1"
1502
+ "RU",
1503
+ "Russia",
1504
+ "7"
602
1505
  ],
603
1506
  [
604
- "GB",
605
- "United Kingdom",
606
- "44"
1507
+ "RW",
1508
+ "Rwanda",
1509
+ "250"
607
1510
  ],
608
1511
  [
609
- "AE",
610
- "United Arab Emirates",
611
- "971"
1512
+ "WS",
1513
+ "Samoa",
1514
+ "685"
1515
+ ],
1516
+ [
1517
+ "SM",
1518
+ "San Marino",
1519
+ "378"
1520
+ ],
1521
+ [
1522
+ "ST",
1523
+ "São Tomé & Príncipe",
1524
+ "239"
1525
+ ],
1526
+ [
1527
+ "SA",
1528
+ "Saudi Arabia",
1529
+ "966"
1530
+ ],
1531
+ [
1532
+ "SN",
1533
+ "Senegal",
1534
+ "221"
1535
+ ],
1536
+ [
1537
+ "RS",
1538
+ "Serbia",
1539
+ "381"
1540
+ ],
1541
+ [
1542
+ "SC",
1543
+ "Seychelles",
1544
+ "248"
1545
+ ],
1546
+ [
1547
+ "SL",
1548
+ "Sierra Leone",
1549
+ "232"
612
1550
  ],
613
1551
  [
614
1552
  "SG",
@@ -616,29 +1554,44 @@ var re = class extends HTMLElement {
616
1554
  "65"
617
1555
  ],
618
1556
  [
619
- "AU",
620
- "Australia",
621
- "61"
1557
+ "SX",
1558
+ "Sint Maarten",
1559
+ "1"
622
1560
  ],
623
1561
  [
624
- "CA",
625
- "Canada",
626
- "1"
1562
+ "SK",
1563
+ "Slovakia",
1564
+ "421"
627
1565
  ],
628
1566
  [
629
- "DE",
630
- "Germany",
631
- "49"
1567
+ "SI",
1568
+ "Slovenia",
1569
+ "386"
632
1570
  ],
633
1571
  [
634
- "FR",
635
- "France",
636
- "33"
1572
+ "SB",
1573
+ "Solomon Islands",
1574
+ "677"
637
1575
  ],
638
1576
  [
639
- "IT",
640
- "Italy",
641
- "39"
1577
+ "SO",
1578
+ "Somalia",
1579
+ "252"
1580
+ ],
1581
+ [
1582
+ "ZA",
1583
+ "South Africa",
1584
+ "27"
1585
+ ],
1586
+ [
1587
+ "KR",
1588
+ "South Korea",
1589
+ "82"
1590
+ ],
1591
+ [
1592
+ "SS",
1593
+ "South Sudan",
1594
+ "211"
642
1595
  ],
643
1596
  [
644
1597
  "ES",
@@ -646,64 +1599,89 @@ var re = class extends HTMLElement {
646
1599
  "34"
647
1600
  ],
648
1601
  [
649
- "NL",
650
- "Netherlands",
651
- "31"
1602
+ "LK",
1603
+ "Sri Lanka",
1604
+ "94"
652
1605
  ],
653
1606
  [
654
- "CH",
655
- "Switzerland",
656
- "41"
1607
+ "BL",
1608
+ "St. Barthélemy",
1609
+ "590"
657
1610
  ],
658
1611
  [
659
- "SE",
660
- "Sweden",
661
- "46"
1612
+ "SH",
1613
+ "St. Helena",
1614
+ "290"
662
1615
  ],
663
1616
  [
664
- "NO",
665
- "Norway",
666
- "47"
1617
+ "KN",
1618
+ "St. Kitts & Nevis",
1619
+ "1"
667
1620
  ],
668
1621
  [
669
- "DK",
670
- "Denmark",
671
- "45"
1622
+ "LC",
1623
+ "St. Lucia",
1624
+ "1"
672
1625
  ],
673
1626
  [
674
- "IE",
675
- "Ireland",
676
- "353"
1627
+ "MF",
1628
+ "St. Martin",
1629
+ "590"
677
1630
  ],
678
1631
  [
679
- "NZ",
680
- "New Zealand",
681
- "64"
1632
+ "PM",
1633
+ "St. Pierre & Miquelon",
1634
+ "508"
682
1635
  ],
683
1636
  [
684
- "JP",
685
- "Japan",
686
- "81"
1637
+ "VC",
1638
+ "St. Vincent & Grenadines",
1639
+ "1"
687
1640
  ],
688
1641
  [
689
- "CN",
690
- "China",
691
- "86"
1642
+ "SD",
1643
+ "Sudan",
1644
+ "249"
692
1645
  ],
693
1646
  [
694
- "HK",
695
- "Hong Kong",
696
- "852"
1647
+ "SR",
1648
+ "Suriname",
1649
+ "597"
697
1650
  ],
698
1651
  [
699
- "MY",
700
- "Malaysia",
701
- "60"
1652
+ "SJ",
1653
+ "Svalbard & Jan Mayen",
1654
+ "47"
702
1655
  ],
703
1656
  [
704
- "ID",
705
- "Indonesia",
706
- "62"
1657
+ "SE",
1658
+ "Sweden",
1659
+ "46"
1660
+ ],
1661
+ [
1662
+ "CH",
1663
+ "Switzerland",
1664
+ "41"
1665
+ ],
1666
+ [
1667
+ "SY",
1668
+ "Syria",
1669
+ "963"
1670
+ ],
1671
+ [
1672
+ "TW",
1673
+ "Taiwan",
1674
+ "886"
1675
+ ],
1676
+ [
1677
+ "TJ",
1678
+ "Tajikistan",
1679
+ "992"
1680
+ ],
1681
+ [
1682
+ "TZ",
1683
+ "Tanzania",
1684
+ "255"
707
1685
  ],
708
1686
  [
709
1687
  "TH",
@@ -711,105 +1689,150 @@ var re = class extends HTMLElement {
711
1689
  "66"
712
1690
  ],
713
1691
  [
714
- "PH",
715
- "Philippines",
716
- "63"
1692
+ "TL",
1693
+ "Timor-Leste",
1694
+ "670"
717
1695
  ],
718
1696
  [
719
- "VN",
720
- "Vietnam",
721
- "84"
1697
+ "TG",
1698
+ "Togo",
1699
+ "228"
722
1700
  ],
723
1701
  [
724
- "KR",
725
- "South Korea",
726
- "82"
1702
+ "TK",
1703
+ "Tokelau",
1704
+ "690"
727
1705
  ],
728
1706
  [
729
- "SA",
730
- "Saudi Arabia",
731
- "966"
1707
+ "TO",
1708
+ "Tonga",
1709
+ "676"
732
1710
  ],
733
1711
  [
734
- "QA",
735
- "Qatar",
736
- "974"
1712
+ "TT",
1713
+ "Trinidad & Tobago",
1714
+ "1"
737
1715
  ],
738
1716
  [
739
- "KW",
740
- "Kuwait",
741
- "965"
1717
+ "TA",
1718
+ "Tristan da Cunha",
1719
+ "290"
742
1720
  ],
743
1721
  [
744
- "BH",
745
- "Bahrain",
746
- "973"
1722
+ "TN",
1723
+ "Tunisia",
1724
+ "216"
747
1725
  ],
748
1726
  [
749
- "OM",
750
- "Oman",
751
- "968"
1727
+ "TR",
1728
+ "Türkiye",
1729
+ "90"
752
1730
  ],
753
1731
  [
754
- "ZA",
755
- "South Africa",
756
- "27"
1732
+ "TM",
1733
+ "Turkmenistan",
1734
+ "993"
757
1735
  ],
758
1736
  [
759
- "NG",
760
- "Nigeria",
761
- "234"
1737
+ "TC",
1738
+ "Turks & Caicos Islands",
1739
+ "1"
762
1740
  ],
763
1741
  [
764
- "KE",
765
- "Kenya",
766
- "254"
1742
+ "TV",
1743
+ "Tuvalu",
1744
+ "688"
767
1745
  ],
768
1746
  [
769
- "EG",
770
- "Egypt",
771
- "20"
1747
+ "VI",
1748
+ "U.S. Virgin Islands",
1749
+ "1"
772
1750
  ],
773
1751
  [
774
- "BR",
775
- "Brazil",
776
- "55"
1752
+ "UG",
1753
+ "Uganda",
1754
+ "256"
777
1755
  ],
778
1756
  [
779
- "MX",
780
- "Mexico",
781
- "52"
1757
+ "UA",
1758
+ "Ukraine",
1759
+ "380"
782
1760
  ],
783
1761
  [
784
- "AR",
785
- "Argentina",
786
- "54"
1762
+ "AE",
1763
+ "United Arab Emirates",
1764
+ "971"
787
1765
  ],
788
1766
  [
789
- "BD",
790
- "Bangladesh",
791
- "880"
1767
+ "GB",
1768
+ "United Kingdom",
1769
+ "44"
792
1770
  ],
793
1771
  [
794
- "PK",
795
- "Pakistan",
796
- "92"
1772
+ "US",
1773
+ "United States",
1774
+ "1"
797
1775
  ],
798
1776
  [
799
- "LK",
800
- "Sri Lanka",
801
- "94"
1777
+ "UY",
1778
+ "Uruguay",
1779
+ "598"
802
1780
  ],
803
1781
  [
804
- "NP",
805
- "Nepal",
806
- "977"
1782
+ "UZ",
1783
+ "Uzbekistan",
1784
+ "998"
1785
+ ],
1786
+ [
1787
+ "VU",
1788
+ "Vanuatu",
1789
+ "678"
1790
+ ],
1791
+ [
1792
+ "VA",
1793
+ "Vatican City",
1794
+ "39"
1795
+ ],
1796
+ [
1797
+ "VE",
1798
+ "Venezuela",
1799
+ "58"
1800
+ ],
1801
+ [
1802
+ "VN",
1803
+ "Vietnam",
1804
+ "84"
1805
+ ],
1806
+ [
1807
+ "WF",
1808
+ "Wallis & Futuna",
1809
+ "681"
1810
+ ],
1811
+ [
1812
+ "EH",
1813
+ "Western Sahara",
1814
+ "212"
1815
+ ],
1816
+ [
1817
+ "YE",
1818
+ "Yemen",
1819
+ "967"
1820
+ ],
1821
+ [
1822
+ "ZM",
1823
+ "Zambia",
1824
+ "260"
1825
+ ],
1826
+ [
1827
+ "ZW",
1828
+ "Zimbabwe",
1829
+ "263"
807
1830
  ]
808
- ], R = (e) => e.toUpperCase().replace(/./g, (e) => String.fromCodePoint(127397 + e.charCodeAt(0))), z = (e) => (L.find((t) => t[0] === e) || [
1831
+ ], R = (e) => (L.find((t) => t[0] === e) || [
809
1832
  "",
810
1833
  "",
811
1834
  ""
812
- ])[2], de = class extends HTMLElement {
1835
+ ])[2], z = (e) => `wui-flag wui-flag-${String(e).toLowerCase()}`, de = class extends HTMLElement {
813
1836
  static formAssociated = !0;
814
1837
  static get observedAttributes() {
815
1838
  return [
@@ -829,7 +1852,7 @@ var re = class extends HTMLElement {
829
1852
  this._rendered && (e === "country" && (this._country = n || "IN"), this.render());
830
1853
  }
831
1854
  get value() {
832
- return `+${z(this._country)}${this._national}`;
1855
+ return `+${R(this._country)}${this._national}`;
833
1856
  }
834
1857
  set value(e) {
835
1858
  this._national = String(e ?? "").replace(/[^0-9]/g, ""), this._commit();
@@ -840,14 +1863,14 @@ var re = class extends HTMLElement {
840
1863
  render() {
841
1864
  let e = this.getAttribute("placeholder") || "Enter phone number";
842
1865
  this._country = this.getAttribute("country") || this._country;
843
- let t = L.map(([e, t, n]) => `<button type="button" role="option" class="country-dropdown-item${e === this._country ? " selected" : ""}" data-iso="${e}"><span class="phone-flag-lg">${R(e)}</span><span class="country-name-text">${t}<span class="country-code-text">+${n}</span></span></button>`).join("");
1866
+ let t = L.map(([e, t, n]) => `<button type="button" role="option" class="country-dropdown-item${e === this._country ? " selected" : ""}" data-iso="${e}"><span class="${z(e)}" aria-hidden="true"></span><span class="country-name-text">${t}<span class="country-code-text">+${n}</span></span></button>`).join("");
844
1867
  this.innerHTML = `
845
1868
  <div class="phone-input-wrap">
846
1869
  <div class="phone-country-adornment">
847
1870
  <button type="button" class="country-toggle" aria-haspopup="listbox" aria-expanded="false"${this.hasAttribute("disabled") ? " disabled" : ""}>
848
- <span class="phone-flag" data-flag>${R(this._country)}</span>
1871
+ <span class="${z(this._country)}" data-flag aria-hidden="true"></span>
849
1872
  <i class="bi bi-chevron-down phone-chevron" aria-hidden="true"></i>
850
- <span class="phone-dial" data-dial>+${z(this._country)}</span>
1873
+ <span class="phone-dial" data-dial>+${R(this._country)}</span>
851
1874
  </button>
852
1875
  <div class="country-dropdown-menu" role="listbox" hidden>
853
1876
  <div class="dropdown-search-wrapper"><span class="dropdown-search-icon"><i class="bi bi-search" aria-hidden="true"></i></span><input type="text" class="dropdown-search-input" placeholder="Search country or code" aria-label="Search countries" /></div>
@@ -861,32 +1884,39 @@ var re = class extends HTMLElement {
861
1884
  let e = this.querySelector(".country-toggle"), t = this.querySelector(".country-dropdown-menu"), n = this.querySelector(".dropdown-search-input"), r = this.querySelector(".country-list-scroll"), i = this.querySelector(".country-empty"), a = this.querySelector("input[type=tel]"), o = this.querySelector("[data-flag]"), s = this.querySelector("[data-dial]");
862
1885
  if (!e || !t) return;
863
1886
  let c = () => !t.hidden, l = () => {
864
- t.hidden = !1, e.setAttribute("aria-expanded", "true"), n.value = "", d(""), n.focus();
1887
+ let n = e.getBoundingClientRect(), r = t.offsetWidth || 320, i = t.offsetHeight || 320, a = window.innerHeight - n.bottom, o = a < i + 6 && n.top > a ? n.top - i - 6 : n.bottom + 6, s = Math.min(Math.max(8, n.left), Math.max(8, window.innerWidth - r - 8));
1888
+ t.style.top = `${Math.max(8, o)}px`, t.style.left = `${s}px`;
865
1889
  }, u = () => {
1890
+ t.hidden = !1, e.setAttribute("aria-expanded", "true"), n.value = "", f(""), l(), n.focus();
1891
+ }, d = () => {
866
1892
  t.hidden = !0, e.setAttribute("aria-expanded", "false");
867
- }, d = (e) => {
1893
+ };
1894
+ this._reposition = () => {
1895
+ c() && l();
1896
+ }, window.addEventListener("scroll", this._reposition, !0), window.addEventListener("resize", this._reposition);
1897
+ let f = (e) => {
868
1898
  let t = e.trim().toLowerCase(), n = 0;
869
1899
  for (let e of r.querySelectorAll(".country-dropdown-item")) {
870
1900
  let r = !t || e.textContent.toLowerCase().includes(t);
871
1901
  e.hidden = !r, r && (n += 1);
872
1902
  }
873
1903
  i && (i.hidden = n > 0);
874
- }, f = (e) => {
875
- this._country = e, this.setAttribute("country", e), o && (o.textContent = R(e)), s && (s.textContent = `+${z(e)}`);
1904
+ }, p = (e) => {
1905
+ this._country = e, this.setAttribute("country", e), o && (o.className = z(e)), s && (s.textContent = `+${R(e)}`);
876
1906
  for (let t of r.querySelectorAll(".country-dropdown-item")) t.classList.toggle("selected", t.dataset.iso === e);
877
- u(), this._commit();
1907
+ d(), this._commit();
878
1908
  };
879
- e.addEventListener("click", () => c() ? u() : l()), n.addEventListener("input", () => d(n.value)), r.addEventListener("click", (e) => {
1909
+ e.addEventListener("click", () => c() ? d() : u()), n.addEventListener("input", () => f(n.value)), r.addEventListener("click", (e) => {
880
1910
  let t = e.target.closest(".country-dropdown-item");
881
- t && f(t.dataset.iso);
1911
+ t && p(t.dataset.iso);
882
1912
  }), a.addEventListener("input", () => {
883
1913
  this._national = a.value.replace(/[^0-9]/g, ""), this._commit();
884
1914
  }), this._onDocClick = (e) => {
885
- c() && !this.contains(e.target) && u();
1915
+ c() && !this.contains(e.target) && d();
886
1916
  }, document.addEventListener("click", this._onDocClick), this._internals?.setFormValue(this.value);
887
1917
  }
888
1918
  disconnectedCallback() {
889
- this._onDocClick && document.removeEventListener("click", this._onDocClick);
1919
+ this._reposition && (window.removeEventListener("scroll", this._reposition, !0), window.removeEventListener("resize", this._reposition)), this._onDocClick && document.removeEventListener("click", this._onDocClick);
890
1920
  }
891
1921
  }, B = (e) => String(e ?? "").replace(/"/g, "&quot;").replace(/</g, "&lt;"), fe = class extends HTMLElement {
892
1922
  static formAssociated = !0;
@@ -1118,7 +2148,7 @@ function ge({ name: e, src: n, className: r = "" }) {
1118
2148
  }
1119
2149
  //#endregion
1120
2150
  //#region src/components/AppBadge.jsx
1121
- function _e({ children: e, variant: n, dot: r = !1, className: i = "", ...a }) {
2151
+ function _e({ children: e, tone: n, dot: r = !1, className: i = "", ...a }) {
1122
2152
  return /* @__PURE__ */ t(d, {
1123
2153
  bg: !1,
1124
2154
  className: [
@@ -1161,12 +2191,12 @@ function W({ children: e, variant: r = "primary", size: i = "md", type: a = "but
1161
2191
  }
1162
2192
  //#endregion
1163
2193
  //#region src/components/AppCard.jsx
1164
- function ye({ title: r, titleClassName: i = "", header: a, headerExtra: o, headerActions: s, children: c, className: l = "", bodyClassName: u = "", headerClassName: d = "", body: f = !0, ...m }) {
1165
- let h = a != null || r != null || o != null || s != null;
2194
+ function ye({ title: r, titleClassName: i = "", header: a, headerExtra: o, headerActions: s, children: c, className: l = "", bodyClassName: u = "", headerClassName: d = "", body: f = !0, lifted: m = !1, ...h }) {
2195
+ let g = a != null || r != null || o != null || s != null;
1166
2196
  return /* @__PURE__ */ n(p, {
1167
- className: l || void 0,
1168
- ...m,
1169
- children: [h && /* @__PURE__ */ t(p.Header, {
2197
+ className: [m ? "card-lifted" : "", l].filter(Boolean).join(" ") || void 0,
2198
+ ...h,
2199
+ children: [g && /* @__PURE__ */ t(p.Header, {
1170
2200
  className: d || void 0,
1171
2201
  children: a ?? /* @__PURE__ */ n(e, { children: [
1172
2202
  r != null && /* @__PURE__ */ t(p.Title, {
@@ -1249,48 +2279,48 @@ function xe({ label: r, children: i, tone: a = "neutral", size: o = "md", leadin
1249
2279
  }
1250
2280
  //#endregion
1251
2281
  //#region src/components/AppChoiceCard.jsx
1252
- function Se({ name: r, value: i, checked: a, onChange: o, icon: s, iconNode: c, iconSize: l = 18, image: u, imageAlt: d = "", children: f, title: p, desc: m, checkIcon: h = "check", checkSize: g = 12, checkVariant: _, className: v = "" }) {
2282
+ function Se({ name: r, multiple: i = !1, value: a, checked: o, onChange: s, icon: c, iconNode: l, iconSize: u = 18, image: d, imageAlt: f = "", children: p, title: m, description: h, checkIcon: g = "check", checkSize: _ = 12, checkVariant: v, className: y = "" }) {
1253
2283
  return /* @__PURE__ */ n("label", {
1254
- className: `struct-card${u ? " struct-card-img-card" : ""}${a ? " checked" : ""}${v ? ` ${v}` : ""}`,
2284
+ className: `struct-card${d ? " struct-card-img-card" : ""}${o ? " checked" : ""}${y ? ` ${y}` : ""}`,
1255
2285
  children: [
1256
2286
  /* @__PURE__ */ t("input", {
1257
- type: "radio",
2287
+ type: i ? "checkbox" : "radio",
1258
2288
  name: r,
1259
- value: i,
2289
+ value: a,
1260
2290
  className: "struct-card-input",
1261
- checked: a,
1262
- onChange: o
2291
+ checked: o,
2292
+ onChange: s
1263
2293
  }),
1264
- u ? /* @__PURE__ */ t("span", {
2294
+ d ? /* @__PURE__ */ t("span", {
1265
2295
  className: "struct-card-media",
1266
2296
  children: /* @__PURE__ */ t("img", {
1267
2297
  className: "struct-card-img",
1268
- src: u,
1269
- alt: d
2298
+ src: d,
2299
+ alt: f
1270
2300
  })
1271
- }) : c || s ? /* @__PURE__ */ t("span", {
2301
+ }) : l || c ? /* @__PURE__ */ t("span", {
1272
2302
  className: "struct-card-ic",
1273
- children: c || /* @__PURE__ */ t(A, {
1274
- name: s,
1275
- size: l
2303
+ children: l || /* @__PURE__ */ t(A, {
2304
+ name: c,
2305
+ size: u
1276
2306
  })
1277
2307
  }) : null,
1278
2308
  /* @__PURE__ */ t("span", {
1279
2309
  className: "struct-card-body",
1280
- children: f || /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
2310
+ children: p || /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("span", {
1281
2311
  className: "struct-card-title",
1282
- children: p
1283
- }), m && /* @__PURE__ */ t("span", {
1284
- className: "struct-card-desc",
1285
2312
  children: m
2313
+ }), h && /* @__PURE__ */ t("span", {
2314
+ className: "struct-card-description",
2315
+ children: h
1286
2316
  })] })
1287
2317
  }),
1288
2318
  /* @__PURE__ */ t("span", {
1289
2319
  className: "struct-card-check",
1290
2320
  children: /* @__PURE__ */ t(A, {
1291
- name: h,
1292
- size: g,
1293
- variant: _
2321
+ name: g,
2322
+ size: _,
2323
+ variant: v
1294
2324
  })
1295
2325
  })
1296
2326
  ]
@@ -1298,15 +2328,15 @@ function Se({ name: r, value: i, checked: a, onChange: o, icon: s, iconNode: c,
1298
2328
  }
1299
2329
  //#endregion
1300
2330
  //#region src/components/AppChoiceChip.jsx
1301
- function Ce({ type: e = "checkbox", name: r, checked: i, onChange: a, children: o, className: s = "" }) {
2331
+ function Ce({ multiple: e = !0, label: r, name: i, checked: a, onChange: o, children: s, className: c = "" }) {
1302
2332
  return /* @__PURE__ */ n("label", {
1303
- className: `choice-chip${i ? " checked" : ""}${s ? ` ${s}` : ""}`,
2333
+ className: `choice-chip${a ? " checked" : ""}${c ? ` ${c}` : ""}`,
1304
2334
  children: [/* @__PURE__ */ t("input", {
1305
- type: e,
1306
- name: r,
1307
- checked: i,
1308
- onChange: a
1309
- }), o]
2335
+ type: e ? "checkbox" : "radio",
2336
+ name: i,
2337
+ checked: a,
2338
+ onChange: o
2339
+ }), r ?? s]
1310
2340
  });
1311
2341
  }
1312
2342
  //#endregion
@@ -1885,38 +2915,38 @@ var J = {
1885
2915
  };
1886
2916
  //#endregion
1887
2917
  //#region src/components/AppConfirmDialog.jsx
1888
- function Ae({ open: r, title: i, body: a, confirmLabel: s = "Confirm", danger: c = !1, tone: l, confirmPhrase: d, onConfirm: f, onClose: p }) {
1889
- let [m, h] = u("");
2918
+ function Ae({ open: r, title: i, message: a, confirmLabel: s = "Confirm", cancelLabel: c = "Cancel", danger: l = !1, tone: d, confirmPhrase: f, onConfirm: p, onClose: m }) {
2919
+ let [h, g] = u("");
1890
2920
  if (o(() => {
1891
- r || h("");
2921
+ r || g("");
1892
2922
  }, [r]), !r) return null;
1893
- let g = !!d && m.trim() !== d, _ = J[l || (c ? "delete" : "info")];
2923
+ let _ = !!f && h.trim() !== f, v = J[d || (l ? "delete" : "info")];
1894
2924
  return /* @__PURE__ */ t(q, {
1895
2925
  open: r,
1896
2926
  hideHeader: !0,
1897
2927
  title: i,
1898
2928
  maxWidth: 440,
1899
- onClose: p,
2929
+ onClose: m,
1900
2930
  className: "lx-confirm",
1901
2931
  footer: /* @__PURE__ */ n("div", {
1902
2932
  className: "lx-confirm-actions",
1903
2933
  children: [/* @__PURE__ */ t(W, {
1904
2934
  variant: "secondary",
1905
- onClick: p,
1906
- children: "Cancel"
2935
+ onClick: m,
2936
+ children: c
1907
2937
  }), /* @__PURE__ */ t(W, {
1908
- variant: c ? "danger" : "primary",
1909
- disabled: g,
1910
- onClick: f,
2938
+ variant: l ? "danger" : "primary",
2939
+ disabled: _,
2940
+ onClick: p,
1911
2941
  children: s
1912
2942
  })]
1913
2943
  }),
1914
2944
  children: /* @__PURE__ */ n("div", {
1915
2945
  className: "lx-confirm-content",
1916
2946
  children: [
1917
- _ && /* @__PURE__ */ t("span", {
2947
+ v && /* @__PURE__ */ t("span", {
1918
2948
  className: "lx-confirm-icon",
1919
- children: /* @__PURE__ */ t(_, { size: 104 })
2949
+ children: /* @__PURE__ */ t(v, { size: 104 })
1920
2950
  }),
1921
2951
  /* @__PURE__ */ t("h3", {
1922
2952
  className: "lx-confirm-title",
@@ -1926,16 +2956,16 @@ function Ae({ open: r, title: i, body: a, confirmLabel: s = "Confirm", danger: c
1926
2956
  className: "lx-confirm-msg",
1927
2957
  children: a
1928
2958
  }),
1929
- d && /* @__PURE__ */ t(K, {
2959
+ f && /* @__PURE__ */ t(K, {
1930
2960
  fieldClassName: "mt-3 mb-0 w-100 text-start",
1931
2961
  label: /* @__PURE__ */ n(e, { children: [
1932
2962
  "Type ",
1933
- /* @__PURE__ */ t("strong", { children: d }),
2963
+ /* @__PURE__ */ t("strong", { children: f }),
1934
2964
  " to confirm"
1935
2965
  ] }),
1936
- value: m,
1937
- onChange: (e) => h(e.target.value),
1938
- "aria-label": `Type ${d} to confirm`
2966
+ value: h,
2967
+ onChange: (e) => g(e.target.value),
2968
+ "aria-label": `Type ${f} to confirm`
1939
2969
  })
1940
2970
  ]
1941
2971
  })
@@ -1943,7 +2973,7 @@ function Ae({ open: r, title: i, body: a, confirmLabel: s = "Confirm", danger: c
1943
2973
  }
1944
2974
  //#endregion
1945
2975
  //#region src/components/AppSkeleton.jsx
1946
- function Y({ w: e = "100%", h: n = 14, r = 6, className: i = "", style: a }) {
2976
+ function Y({ width: e = "100%", height: n = 14, radius: r = 6, className: i = "", style: a }) {
1947
2977
  return /* @__PURE__ */ t("span", {
1948
2978
  className: `skeleton${i ? ` ${i}` : ""}`,
1949
2979
  "aria-hidden": "true",
@@ -1976,8 +3006,8 @@ var je = [
1976
3006
  ];
1977
3007
  function X({ rows: e = 4, cols: n = 5 }) {
1978
3008
  return je.slice(0, e).map((e) => /* @__PURE__ */ t("tr", { children: Me.slice(0, n).map((e, n) => /* @__PURE__ */ t("td", { children: /* @__PURE__ */ t(Y, {
1979
- w: n === 0 ? "70%" : "50%",
1980
- h: 12
3009
+ width: n === 0 ? "70%" : "50%",
3010
+ height: 12
1981
3011
  }) }, e)) }, e));
1982
3012
  }
1983
3013
  //#endregion
@@ -2178,36 +3208,62 @@ function Le({ columns: r, rows: i, rowKey: a = (e) => e.id, sort: o, onSort: s,
2178
3208
  }
2179
3209
  //#endregion
2180
3210
  //#region src/components/AppDatePicker.jsx
2181
- function Re({ value: e, onChange: n, min: r, max: i, placeholder: a = "Enter Date", disabled: s, id: c, ariaLabel: u }) {
2182
- let d = l(null);
2183
- return o(() => {
2184
- let t = d.current;
3211
+ function Re({ value: e, onChange: r, label: i, required: a = !1, hint: c, error: u, name: d, min: f, max: p, placeholder: m = "Enter Date", disabled: h, id: g, ariaLabel: _, className: v = "" }) {
3212
+ let y = l(null), b = s(), x = g || d || b;
3213
+ o(() => {
3214
+ let t = y.current;
2185
3215
  t && t.value !== (e ?? "") && (t.value = e ?? "");
2186
3216
  }, [e]), o(() => {
2187
- let e = d.current;
3217
+ let e = y.current;
2188
3218
  if (!e) return;
2189
- let t = () => n?.(e.value);
3219
+ let t = () => r?.(e.value);
2190
3220
  return e.addEventListener("change", t), () => e.removeEventListener("change", t);
2191
- }, [n]), /* @__PURE__ */ t("wui-datepicker", {
2192
- ref: d,
2193
- id: c,
2194
- min: r,
2195
- max: i,
2196
- placeholder: a,
2197
- "aria-label": u,
2198
- disabled: s ? "" : void 0
3221
+ }, [r]);
3222
+ let S = /* @__PURE__ */ t("wui-datepicker", {
3223
+ ref: y,
3224
+ id: x,
3225
+ name: d,
3226
+ min: f,
3227
+ max: p,
3228
+ placeholder: m,
3229
+ "aria-label": _,
3230
+ "aria-invalid": u ? "true" : void 0,
3231
+ disabled: h ? "" : void 0
3232
+ });
3233
+ return !i && !u && !c ? S : /* @__PURE__ */ n("div", {
3234
+ className: `field${v ? ` ${v}` : ""}`,
3235
+ children: [
3236
+ i && /* @__PURE__ */ n("label", {
3237
+ className: "label",
3238
+ htmlFor: x,
3239
+ children: [i, a && /* @__PURE__ */ t("span", {
3240
+ className: "required",
3241
+ "aria-hidden": "true",
3242
+ children: "*"
3243
+ })]
3244
+ }),
3245
+ S,
3246
+ u && /* @__PURE__ */ t("div", {
3247
+ className: "field-error",
3248
+ children: u
3249
+ }),
3250
+ !u && c && /* @__PURE__ */ t("div", {
3251
+ className: "field-hint",
3252
+ children: c
3253
+ })
3254
+ ]
2199
3255
  });
2200
3256
  }
2201
3257
  //#endregion
2202
3258
  //#region src/components/AppDropdown.jsx
2203
- var ze = i(function({ icon: e, iconSize: n = 20, btnClass: r = "topbar-icon-btn", title: i, "aria-label": a, className: o, ...s }, c) {
3259
+ var ze = i(function({ icon: e, iconSize: n = 20, btnClassName: r = "topbar-icon-btn", label: i, align: a = "end", "aria-label": o, className: s, ...c }, l) {
2204
3260
  return /* @__PURE__ */ t("button", {
2205
- ref: c,
3261
+ ref: l,
2206
3262
  type: "button",
2207
3263
  className: r,
2208
3264
  title: i,
2209
- "aria-label": a,
2210
- ...s,
3265
+ "aria-label": o,
3266
+ ...c,
2211
3267
  children: /* @__PURE__ */ t(A, {
2212
3268
  name: e,
2213
3269
  size: n,
@@ -2215,14 +3271,14 @@ var ze = i(function({ icon: e, iconSize: n = 20, btnClass: r = "topbar-icon-btn"
2215
3271
  })
2216
3272
  });
2217
3273
  });
2218
- function Be({ icon: e, iconSize: r, toggleClassName: i = "topbar-icon-btn", title: a, ariaLabel: o, align: s = "end", items: c = [], menuClassName: l = "", linkComponent: u }) {
3274
+ function Be({ icon: e, iconSize: r, toggleClassName: i = "topbar-icon-btn", label: a, ariaLabel: o, align: s = "end", items: c = [], menuClassName: l = "", linkComponent: u }) {
2219
3275
  return /* @__PURE__ */ n(_, {
2220
3276
  align: s,
2221
3277
  children: [/* @__PURE__ */ t(_.Toggle, {
2222
3278
  as: ze,
2223
3279
  icon: e,
2224
3280
  iconSize: r,
2225
- btnClass: i,
3281
+ btnClassName: i,
2226
3282
  title: a,
2227
3283
  "aria-label": o
2228
3284
  }), /* @__PURE__ */ t(_.Menu, {
@@ -2257,9 +3313,12 @@ function Be({ icon: e, iconSize: r, toggleClassName: i = "topbar-icon-btn", titl
2257
3313
  //#endregion
2258
3314
  //#region src/components/AppEmptyState.jsx
2259
3315
  function Ve({ icon: e, iconSize: r = 24, iconVariant: i, size: a = "md", title: o, text: s, action: c, className: l = "", style: u }) {
2260
- let d = `fw-semibold text-body-emphasis${a === "sm" ? " lx-text-sm" : ""}`, f = a === "sm" ? "lx-text-xs mt-1" : "lx-text-sm mt-1";
2261
3316
  return /* @__PURE__ */ n("div", {
2262
- className: `empty-state${l ? ` ${l}` : ""}`,
3317
+ className: [
3318
+ "empty-state",
3319
+ a === "sm" ? "empty-state-sm" : "",
3320
+ l
3321
+ ].filter(Boolean).join(" "),
2263
3322
  style: u,
2264
3323
  children: [
2265
3324
  /* @__PURE__ */ t("div", {
@@ -2271,14 +3330,17 @@ function Ve({ icon: e, iconSize: r = 24, iconVariant: i, size: a = "md", title:
2271
3330
  })
2272
3331
  }),
2273
3332
  o != null && /* @__PURE__ */ t("div", {
2274
- className: d,
3333
+ className: "empty-state-title",
2275
3334
  children: o
2276
3335
  }),
2277
3336
  s != null && /* @__PURE__ */ t("div", {
2278
- className: f,
3337
+ className: "empty-state-message",
2279
3338
  children: s
2280
3339
  }),
2281
- c
3340
+ c && /* @__PURE__ */ t("div", {
3341
+ className: "empty-state-action",
3342
+ children: c
3343
+ })
2282
3344
  ]
2283
3345
  });
2284
3346
  }
@@ -2441,54 +3503,54 @@ function Je(e) {
2441
3503
  }
2442
3504
  //#endregion
2443
3505
  //#region src/components/AppFilePicker.jsx
2444
- function Ye({ label: e, value: r, onPick: i, required: a, error: c }) {
2445
- let [d, f] = u(null), [p, m] = u(!1), h = l(null), g = s();
3506
+ function Ye({ label: e, value: r, onPick: i, accept: a = ".jpg,.jpeg,.png", required: c, error: d }) {
3507
+ let [f, p] = u(null), [m, h] = u(!1), g = l(null), _ = s();
2446
3508
  o(() => {
2447
3509
  if (r instanceof File) {
2448
3510
  let e = URL.createObjectURL(r);
2449
- return f(e), () => URL.revokeObjectURL(e);
3511
+ return p(e), () => URL.revokeObjectURL(e);
2450
3512
  }
2451
- f(null);
3513
+ p(null);
2452
3514
  }, [r]);
2453
- let _ = r?.url || d, v = (e) => {
3515
+ let v = r?.url || f, y = (e) => {
2454
3516
  let t = Ke(e);
2455
3517
  return t ? ($(t, "error"), !1) : (i(e), !0);
2456
- }, y = (e) => {
2457
- let t = e.target.files?.[0] || null;
2458
- t && (v(t) || (e.target.value = ""));
2459
3518
  }, b = (e) => {
2460
- e.preventDefault(), m(!1);
3519
+ let t = e.target.files?.[0] || null;
3520
+ t && (y(t) || (e.target.value = ""));
3521
+ }, x = (e) => {
3522
+ e.preventDefault(), h(!1);
2461
3523
  let t = e.dataTransfer.files?.[0];
2462
- t && v(t);
2463
- }, x = () => h.current?.click(), S = /* @__PURE__ */ t("input", {
2464
- id: g,
2465
- ref: h,
3524
+ t && y(t);
3525
+ }, S = () => g.current?.click(), C = /* @__PURE__ */ t("input", {
3526
+ id: _,
3527
+ ref: g,
2466
3528
  type: "file",
2467
- accept: ".jpg,.jpeg,.png",
3529
+ accept: a,
2468
3530
  className: "d-none",
2469
3531
  onClick: (e) => {
2470
3532
  e.currentTarget.value = "";
2471
3533
  },
2472
- onChange: y
3534
+ onChange: b
2473
3535
  });
2474
3536
  return /* @__PURE__ */ n("div", {
2475
3537
  className: "field",
2476
3538
  children: [
2477
3539
  /* @__PURE__ */ n("label", {
2478
3540
  className: "label",
2479
- htmlFor: g,
2480
- children: [e, a && /* @__PURE__ */ t(U, {})]
3541
+ htmlFor: _,
3542
+ children: [e, c && /* @__PURE__ */ t(U, {})]
2481
3543
  }),
2482
- _ ? /* @__PURE__ */ n("div", {
2483
- className: `file-preview${c ? " error" : ""}`,
3544
+ v ? /* @__PURE__ */ n("div", {
3545
+ className: `file-preview${d ? " error" : ""}`,
2484
3546
  children: [
2485
3547
  /* @__PURE__ */ n("button", {
2486
3548
  type: "button",
2487
3549
  className: "file-preview-open",
2488
3550
  "aria-label": `Change ${e}`,
2489
- onClick: x,
3551
+ onClick: S,
2490
3552
  children: [/* @__PURE__ */ t("img", {
2491
- src: _,
3553
+ src: v,
2492
3554
  alt: `${e} preview`,
2493
3555
  className: "file-preview-img"
2494
3556
  }), /* @__PURE__ */ t("span", {
@@ -2515,19 +3577,19 @@ function Ye({ label: e, value: r, onPick: i, required: a, error: c }) {
2515
3577
  variant: "Linear"
2516
3578
  })
2517
3579
  }),
2518
- S
3580
+ C
2519
3581
  ]
2520
3582
  }) : /* @__PURE__ */ n("div", {
2521
- className: `file-input file-input-tall${p ? " dragging" : ""}${c ? " error" : ""}`,
3583
+ className: `file-input file-input-tall${m ? " dragging" : ""}${d ? " error" : ""}`,
2522
3584
  onDragOver: (e) => {
2523
- e.preventDefault(), p || m(!0);
3585
+ e.preventDefault(), m || h(!0);
2524
3586
  },
2525
3587
  onDragLeave: (e) => {
2526
- e.preventDefault(), m(!1);
3588
+ e.preventDefault(), h(!1);
2527
3589
  },
2528
- onDrop: b,
3590
+ onDrop: x,
2529
3591
  children: [/* @__PURE__ */ n("label", {
2530
- htmlFor: g,
3592
+ htmlFor: _,
2531
3593
  className: "file-input-zone-label",
2532
3594
  children: [
2533
3595
  /* @__PURE__ */ t("span", {
@@ -2550,11 +3612,11 @@ function Ye({ label: e, value: r, onPick: i, required: a, error: c }) {
2550
3612
  children: "JPG, JPEG or PNG · up to 5 MB"
2551
3613
  })
2552
3614
  ]
2553
- }), S]
3615
+ }), C]
2554
3616
  }),
2555
- c && /* @__PURE__ */ t("div", {
3617
+ d && /* @__PURE__ */ t("div", {
2556
3618
  className: "field-error",
2557
- children: c
3619
+ children: d
2558
3620
  })
2559
3621
  ]
2560
3622
  });
@@ -2619,42 +3681,43 @@ function Xe({ value: r, fallback: i, onPick: a, loading: o = !1, accept: s = "im
2619
3681
  }
2620
3682
  //#endregion
2621
3683
  //#region src/components/AppMultiSelect.jsx
2622
- function Ze({ values: e, onChange: r, options: i, placeholder: a = "Select…", searchable: s = !0, disabled: c = !1, name: u, label: d, error: f, hint: p, required: m = !1, fieldClassName: h = "" }) {
2623
- let g = l(null);
3684
+ function Ze({ values: e, onChange: r, options: i, placeholder: a = "Select…", searchPlaceholder: s = "Search…", searchable: c = !0, disabled: u = !1, name: d, label: f, error: p, hint: m, required: h = !1, fieldClassName: g = "" }) {
3685
+ let _ = l(null);
2624
3686
  return o(() => {
2625
- let e = g.current;
3687
+ let e = _.current;
2626
3688
  e && (e.options = i || []);
2627
3689
  }, [i]), o(() => {
2628
- let t = g.current;
3690
+ let t = _.current;
2629
3691
  if (!t) return;
2630
3692
  let n = e || [], r = t.values || [];
2631
3693
  n.join(",") !== r.join(",") && (t.values = n);
2632
3694
  }, [e]), o(() => {
2633
- let e = g.current;
3695
+ let e = _.current;
2634
3696
  if (!e) return;
2635
3697
  let t = () => r?.(e.values);
2636
3698
  return e.addEventListener("change", t), () => e.removeEventListener("change", t);
2637
3699
  }, [r]), /* @__PURE__ */ n("div", {
2638
- className: `field${h ? ` ${h}` : ""}`,
3700
+ className: `field${g ? ` ${g}` : ""}`,
2639
3701
  children: [
2640
- d && /* @__PURE__ */ n("label", {
3702
+ f && /* @__PURE__ */ n("label", {
2641
3703
  className: "label",
2642
- htmlFor: u,
2643
- children: [d, m && /* @__PURE__ */ t(U, {})]
3704
+ htmlFor: d,
3705
+ children: [f, h && /* @__PURE__ */ t(U, {})]
2644
3706
  }),
2645
3707
  /* @__PURE__ */ t("wui-multiselect", {
2646
- ref: g,
2647
- name: u,
3708
+ ref: _,
3709
+ name: d,
2648
3710
  placeholder: a,
2649
- searchable: s ? "" : void 0,
2650
- disabled: c ? "" : void 0
3711
+ "search-placeholder": s,
3712
+ searchable: c ? "" : void 0,
3713
+ disabled: u ? "" : void 0
2651
3714
  }),
2652
- f ? /* @__PURE__ */ t("div", {
3715
+ p ? /* @__PURE__ */ t("div", {
2653
3716
  className: "field-error",
2654
- children: f
2655
- }) : p ? /* @__PURE__ */ t("div", {
2656
- className: "field-hint",
2657
3717
  children: p
3718
+ }) : m ? /* @__PURE__ */ t("div", {
3719
+ className: "field-hint",
3720
+ children: m
2658
3721
  }) : null
2659
3722
  ]
2660
3723
  });
@@ -2678,7 +3741,7 @@ function Qe({ title: e, subtitle: r, actions: i, className: a = "" }) {
2678
3741
  }
2679
3742
  //#endregion
2680
3743
  //#region src/components/AppPhoneNumberInput.jsx
2681
- function $e({ value: e, onChange: r, countryCode: i, disabled: a = !1, name: s, label: c = "Phone number", placeholder: u = "Enter phone number", required: d = !1, error: f, fieldClassName: p = "" }) {
3744
+ function $e({ value: e, onChange: r, country: i, disabled: a = !1, name: s, label: c = "Phone number", placeholder: u = "Enter phone number", required: d = !1, error: f, fieldClassName: p = "" }) {
2682
3745
  let m = l(null);
2683
3746
  return o(() => {
2684
3747
  let t = m.current;
@@ -2918,40 +3981,44 @@ function ct({ icon: e, title: r, text: i, action: a }) {
2918
3981
  }
2919
3982
  //#endregion
2920
3983
  //#region src/components/AppTabs.jsx
2921
- function lt({ tabs: e, value: r, onChange: i, ariaLabel: a, className: o = "" }) {
2922
- let s = l(null);
2923
- function c(t) {
3984
+ function lt({ tabs: e, value: r, onChange: i, variant: a = "underline", ariaLabel: o, className: s = "" }) {
3985
+ let c = l(null);
3986
+ function u(t) {
2924
3987
  let n = e.findIndex((e) => e.key === r);
2925
3988
  if (n < 0) return;
2926
3989
  let a = null;
2927
3990
  if (t.key === "ArrowRight" ? a = e[(n + 1) % e.length] : t.key === "ArrowLeft" ? a = e[(n - 1 + e.length) % e.length] : t.key === "Home" ? a = e[0] : t.key === "End" && (a = e[e.length - 1]), !a) return;
2928
3991
  t.preventDefault(), i(a.key);
2929
3992
  let o = CSS.escape(String(a.key));
2930
- s.current?.querySelector(`[data-rr-ui-event-key="${o}"]`)?.focus();
3993
+ c.current?.querySelector(`[data-rr-ui-event-key="${o}"]`)?.focus();
2931
3994
  }
2932
3995
  return /* @__PURE__ */ t(k, {
2933
3996
  as: "div",
2934
3997
  role: "tablist",
2935
- ref: s,
3998
+ ref: c,
2936
3999
  activeKey: r,
2937
4000
  onSelect: (e) => {
2938
4001
  e != null && i(e);
2939
4002
  },
2940
- onKeyDown: c,
2941
- className: `user-tabs${o ? ` ${o}` : ""}`,
2942
- "aria-label": a,
4003
+ onKeyDown: u,
4004
+ className: [
4005
+ "app-tabs",
4006
+ a === "pills" ? "app-tabs-pills" : "",
4007
+ s
4008
+ ].filter(Boolean).join(" "),
4009
+ "aria-label": o,
2943
4010
  children: e.map((e) => /* @__PURE__ */ n(k.Link, {
2944
4011
  as: "button",
2945
4012
  type: "button",
2946
4013
  eventKey: e.key,
2947
4014
  role: "tab",
2948
- bsPrefix: "user-tab",
2949
- className: e.danger ? "user-tab-danger" : void 0,
4015
+ bsPrefix: "app-tab",
4016
+ className: e.danger ? "danger" : void 0,
2950
4017
  children: [
2951
4018
  e.icon,
2952
4019
  e.label,
2953
4020
  e.count != null && /* @__PURE__ */ t("span", {
2954
- className: `utab-count${e.tone ? ` ${e.tone}` : ""}`,
4021
+ className: `app-tab-count${e.tone ? ` ${e.tone}` : ""}`,
2955
4022
  children: e.count
2956
4023
  })
2957
4024
  ]