@timardex/cluemart-shared 1.2.60 → 1.2.62

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/index.mjs CHANGED
@@ -1019,26 +1019,229 @@ var profileFields = [
1019
1019
  }
1020
1020
  ];
1021
1021
 
1022
- // src/formFields/categories.ts
1023
- var categoryColors = {
1024
- "antiques-collectibles": "#8D6748",
1025
- "clothing-fashion": "#9D4EDD",
1026
- "electronics-technology": "#3AF3FF",
1027
- "food-beverages": "#FF0D1F",
1028
- "handmade-local-products": "#EE7E54",
1029
- "health-wellness": "#E23794",
1030
- "home-garden-household-goods": "#067325",
1031
- "pet-products-animal-goods": "#68E788",
1032
- "services-experiences": "#2E16A5",
1033
- "toys-childrens-items": "#FFF966"
1034
- };
1035
- var assignColorToCategories = (categories) => {
1036
- const result = categories.map((category) => ({
1037
- ...category,
1038
- color: categoryColors[category.id]
1039
- }));
1040
- return result;
1041
- };
1022
+ // src/formFields/categories/antiquesAndCollectibles.ts
1023
+ var antiquesAndCollectibles = [
1024
+ {
1025
+ id: "antiques-collectibles",
1026
+ name: "Antiques & Collectibles",
1027
+ description: "Vintage and collectible goods with historic, nostalgic, or decorative value.",
1028
+ subcategories: [
1029
+ {
1030
+ id: "vintage-fashion-personal-items",
1031
+ name: "Vintage Fashion & Personal Items",
1032
+ items: [
1033
+ {
1034
+ id: "vintage-clothing-accessories",
1035
+ name: "Vintage Clothing & Accessories",
1036
+ description: "Retro jackets, dresses, hats, gloves, belts, era-specific fashion."
1037
+ },
1038
+ {
1039
+ id: "collectibles-memorabilia",
1040
+ name: "Collectibles & Memorabilia",
1041
+ description: "Coins, stamps, toys, postcards, comics, sports cards, vintage packaging."
1042
+ },
1043
+ {
1044
+ id: "other-fashion-collectibles",
1045
+ name: "Other fashion-related collectibles",
1046
+ description: "Items with both fashion and collector value."
1047
+ }
1048
+ ]
1049
+ },
1050
+ {
1051
+ id: "antique-home-curiosities",
1052
+ name: "Antique Home & Curiosities",
1053
+ items: [
1054
+ {
1055
+ id: "antique-homewares-decor",
1056
+ name: "Antique Homewares & Decor",
1057
+ description: "Teacups, plates, vases, mirrors, clocks, furniture accents."
1058
+ },
1059
+ {
1060
+ id: "other-unique-finds",
1061
+ name: "Other Unique Finds",
1062
+ description: "Old tools, lanterns, typewriters, binoculars, relics, curios."
1063
+ },
1064
+ {
1065
+ id: "other-antique-items",
1066
+ name: "Other antique items",
1067
+ description: "Vintage or handmade pieces not listed above."
1068
+ }
1069
+ ]
1070
+ },
1071
+ {
1072
+ id: "media-printed-nostalgia",
1073
+ name: "Media & Printed Nostalgia",
1074
+ items: [
1075
+ {
1076
+ id: "records-books-media",
1077
+ name: "Records, Books & Media",
1078
+ description: "Vinyls, cassette tapes, old books, magazines, board games, DVDs, CDs."
1079
+ },
1080
+ {
1081
+ id: "other-printed-recorded-media",
1082
+ name: "Other printed or recorded media",
1083
+ description: "Posters, manuals, out-of-print publications."
1084
+ }
1085
+ ]
1086
+ }
1087
+ ]
1088
+ }
1089
+ ];
1090
+
1091
+ // src/formFields/categories/clothingAndFashion.ts
1092
+ var clothingAndFashion = [
1093
+ {
1094
+ id: "clothing-fashion",
1095
+ name: "Clothing & Fashion",
1096
+ description: "New, handmade, or upcycled clothing and accessories with a creative twist.",
1097
+ subcategories: [
1098
+ {
1099
+ id: "apparel-babywear",
1100
+ name: "Apparel & Babywear",
1101
+ items: [
1102
+ {
1103
+ id: "apparel",
1104
+ name: "Apparel",
1105
+ description: "Dresses, t-shirts, jumpers, rompers, sets, kidswear."
1106
+ },
1107
+ {
1108
+ id: "baby-toddler-apparel",
1109
+ name: "Baby & Toddler Apparel",
1110
+ description: "Handmade baby clothes, soft shoes, bibs, hats, knitted sets."
1111
+ },
1112
+ {
1113
+ id: "upcycled-fashion",
1114
+ name: "Upcycled Fashion",
1115
+ description: "Reworked garments, patchwork pieces, restyled vintage."
1116
+ },
1117
+ {
1118
+ id: "other-wearable-items",
1119
+ name: "Other wearable items",
1120
+ description: "Unique clothing not listed above."
1121
+ }
1122
+ ]
1123
+ },
1124
+ {
1125
+ id: "fashion-accessories",
1126
+ name: "Fashion Accessories",
1127
+ items: [
1128
+ {
1129
+ id: "accessories",
1130
+ name: "Accessories",
1131
+ description: "Scarves, belts, gloves, hats, headbands, caps."
1132
+ },
1133
+ {
1134
+ id: "shoes",
1135
+ name: "Shoes",
1136
+ description: "Handmade shoes, baby booties, sandals, slippers."
1137
+ },
1138
+ {
1139
+ id: "bags-wallets",
1140
+ name: "Bags & Wallets",
1141
+ description: "Leather bags, fabric purses, wallets, backpacks, totes."
1142
+ },
1143
+ {
1144
+ id: "other-accessories",
1145
+ name: "Other accessories",
1146
+ description: "Brooches, pins, or hybrid functional items."
1147
+ }
1148
+ ]
1149
+ },
1150
+ {
1151
+ id: "jewelry-creative-wearables",
1152
+ name: "Jewelry & Creative Wearables",
1153
+ items: [
1154
+ {
1155
+ id: "jewelry",
1156
+ name: "Jewelry",
1157
+ description: "Necklaces, earrings, bracelets, rings, anklets."
1158
+ },
1159
+ {
1160
+ id: "other-creative-wearables",
1161
+ name: "Other creative wearables",
1162
+ description: "Wearable art, statement pieces, bold handmade designs."
1163
+ }
1164
+ ]
1165
+ }
1166
+ ]
1167
+ }
1168
+ ];
1169
+
1170
+ // src/formFields/categories/electronicsAndTechnology.ts
1171
+ var electronicsAndTechnology = [
1172
+ {
1173
+ id: "electronics-technology",
1174
+ name: "Electronics & Technology",
1175
+ description: "New, second-hand, or handmade tech and digital items commonly found at markets.",
1176
+ subcategories: [
1177
+ {
1178
+ id: "mobile-everyday-tech",
1179
+ name: "Mobile & Everyday Tech",
1180
+ items: [
1181
+ {
1182
+ id: "mobile-phone-accessories",
1183
+ name: "Mobile & Phone Accessories",
1184
+ description: "Phone cases, holders, screen protectors, charging cables, power banks, grips."
1185
+ },
1186
+ {
1187
+ id: "other-mobile-gadgets",
1188
+ name: "Other mobile gadgets",
1189
+ description: "Stands, styluses, SIM tools, cleaning kits, wallet accessories."
1190
+ }
1191
+ ]
1192
+ },
1193
+ {
1194
+ id: "audio-music-creative-tech",
1195
+ name: "Audio, Music & Creative Tech",
1196
+ items: [
1197
+ {
1198
+ id: "audio-music-tech",
1199
+ name: "Audio & Music Tech",
1200
+ description: "Portable speakers, headphones, mini radios, Bluetooth adapters, sound accessories."
1201
+ },
1202
+ {
1203
+ id: "instruments-music-gear",
1204
+ name: "Instruments & Music Gear",
1205
+ description: "Small electronic instruments, DIY synth kits, drum pads, loop machines."
1206
+ },
1207
+ {
1208
+ id: "recording-creative-devices",
1209
+ name: "Recording & Creative Devices",
1210
+ description: "USB microphones, podcast tools, voice recorders, mobile lighting, content tools."
1211
+ },
1212
+ {
1213
+ id: "other-audio-music-items",
1214
+ name: "Other audio or music-related items",
1215
+ description: "Musical gadgets or creative gear not listed above."
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ id: "diy-gadgets-secondhand-finds",
1221
+ name: "DIY, Gadgets & Second-Hand Finds",
1222
+ items: [
1223
+ {
1224
+ id: "diy-electronics-tools",
1225
+ name: "DIY Electronics & Tools",
1226
+ description: "LED lights, USB gadgets, circuit boards, repair kits, tech-themed toys, novelty items."
1227
+ },
1228
+ {
1229
+ id: "other-tech-finds",
1230
+ name: "Other Tech Finds",
1231
+ description: "Used electronics, smart gadgets, wearable tech, calculators, tablet stands, e-waste upcycles."
1232
+ },
1233
+ {
1234
+ id: "other-technology-innovation-items",
1235
+ name: "Other technology or innovation-related items",
1236
+ description: "Anything not covered but clearly tech-driven."
1237
+ }
1238
+ ]
1239
+ }
1240
+ ]
1241
+ }
1242
+ ];
1243
+
1244
+ // src/formFields/categories/foodAndBeverages.ts
1042
1245
  var foodAndBeverages = [
1043
1246
  {
1044
1247
  id: "food-beverages",
@@ -1202,6 +1405,8 @@ var foodAndBeverages = [
1202
1405
  ]
1203
1406
  }
1204
1407
  ];
1408
+
1409
+ // src/formFields/categories/handmadeAndLocalProducts.ts
1205
1410
  var handmadeAndLocalProducts = [
1206
1411
  {
1207
1412
  id: "handmade-local-products",
@@ -1274,233 +1479,24 @@ var handmadeAndLocalProducts = [
1274
1479
  name: "Handmade Pens, Keychains and Fridge Magnets",
1275
1480
  description: ""
1276
1481
  },
1277
- {
1278
- id: "gift-packaging-wrapping-accessories",
1279
- name: "Gift Packaging & Wrapping Accessories",
1280
- description: ""
1281
- },
1282
- {
1283
- id: "other-small-handmade-gifts-accessories",
1284
- name: "Other small handmade gifts or accessories",
1285
- description: "Compact creative items made to surprise or delight."
1286
- }
1287
- ]
1288
- }
1289
- ]
1290
- }
1291
- ];
1292
- var clothingAndFashion = [
1293
- {
1294
- id: "clothing-fashion",
1295
- name: "Clothing & Fashion",
1296
- description: "New, handmade, or upcycled clothing and accessories with a creative twist.",
1297
- subcategories: [
1298
- {
1299
- id: "apparel-babywear",
1300
- name: "Apparel & Babywear",
1301
- items: [
1302
- {
1303
- id: "apparel",
1304
- name: "Apparel",
1305
- description: "Dresses, t-shirts, jumpers, rompers, sets, kidswear."
1306
- },
1307
- {
1308
- id: "baby-toddler-apparel",
1309
- name: "Baby & Toddler Apparel",
1310
- description: "Handmade baby clothes, soft shoes, bibs, hats, knitted sets."
1311
- },
1312
- {
1313
- id: "upcycled-fashion",
1314
- name: "Upcycled Fashion",
1315
- description: "Reworked garments, patchwork pieces, restyled vintage."
1316
- },
1317
- {
1318
- id: "other-wearable-items",
1319
- name: "Other wearable items",
1320
- description: "Unique clothing not listed above."
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- id: "fashion-accessories",
1326
- name: "Fashion Accessories",
1327
- items: [
1328
- {
1329
- id: "accessories",
1330
- name: "Accessories",
1331
- description: "Scarves, belts, gloves, hats, headbands, caps."
1332
- },
1333
- {
1334
- id: "shoes",
1335
- name: "Shoes",
1336
- description: "Handmade shoes, baby booties, sandals, slippers."
1337
- },
1338
- {
1339
- id: "bags-wallets",
1340
- name: "Bags & Wallets",
1341
- description: "Leather bags, fabric purses, wallets, backpacks, totes."
1342
- },
1343
- {
1344
- id: "other-accessories",
1345
- name: "Other accessories",
1346
- description: "Brooches, pins, or hybrid functional items."
1347
- }
1348
- ]
1349
- },
1350
- {
1351
- id: "jewelry-creative-wearables",
1352
- name: "Jewelry & Creative Wearables",
1353
- items: [
1354
- {
1355
- id: "jewelry",
1356
- name: "Jewelry",
1357
- description: "Necklaces, earrings, bracelets, rings, anklets."
1358
- },
1359
- {
1360
- id: "other-creative-wearables",
1361
- name: "Other creative wearables",
1362
- description: "Wearable art, statement pieces, bold handmade designs."
1363
- }
1364
- ]
1365
- }
1366
- ]
1367
- }
1368
- ];
1369
- var homeGardenHousehold = [
1370
- {
1371
- id: "home-garden-household-goods",
1372
- name: "Home, Garden & Household Goods",
1373
- description: "Functional, decorative, and eco-conscious products designed for everyday use indoors and outdoors.",
1374
- subcategories: [
1375
- {
1376
- id: "home-decor-living",
1377
- name: "Home Decor & Living",
1378
- items: [
1379
- {
1380
- id: "home-decor",
1381
- name: "Home Decor",
1382
- description: "Cushions, wall art, table runners, vases, trays, mirrors, handmade centerpieces."
1383
- },
1384
- {
1385
- id: "kitchenware-dining",
1386
- name: "Kitchenware & Dining",
1387
- description: "Mugs, bowls, cutting boards, utensils, jars, coasters, kitchen textiles."
1388
- },
1389
- {
1390
- id: "other-indoor-home-items",
1391
- name: "Other indoor home items",
1392
- description: "Any decorative or practical household items not listed above."
1393
- }
1394
- ]
1395
- },
1396
- {
1397
- id: "cleaning-eco-essentials",
1398
- name: "Cleaning & Eco Essentials",
1399
- items: [
1400
- {
1401
- id: "cleaning-eco-supplies",
1402
- name: "Cleaning & Eco Supplies",
1403
- description: "Beeswax wraps, reusable cloths, brushes, natural soaps, detergent bars, eco sponges."
1404
- },
1405
- {
1406
- id: "other-eco-cleaning-items",
1407
- name: "Other eco or cleaning items",
1408
- description: "Environmentally friendly goods not listed above."
1409
- }
1410
- ]
1411
- },
1412
- {
1413
- id: "garden-outdoor-living",
1414
- name: "Garden & Outdoor Living",
1415
- items: [
1416
- {
1417
- id: "plants-botanical-decor",
1418
- name: "Plants & Botanical Decor",
1419
- description: "Potted herbs, succulents, dried flowers, terrariums, plant-based ornaments."
1420
- },
1421
- {
1422
- id: "garden-tools-outdoor-items",
1423
- name: "Garden Tools & Outdoor Items",
1424
- description: "Plant markers, garden signs, stakes, small tools, wind chimes, gifts."
1425
- },
1426
- {
1427
- id: "other-outdoor-garden-products",
1428
- name: "Other outdoor or garden products",
1429
- description: "Functional or decorative items for outside use."
1430
- }
1431
- ]
1432
- }
1433
- ]
1434
- }
1435
- ];
1436
- var toysChildren = [
1437
- {
1438
- id: "toys-childrens-items",
1439
- name: "Toys & Children\u2019s Items",
1440
- description: "Products and services made for or inspired by children.",
1441
- subcategories: [
1442
- {
1443
- id: "toys-playthings",
1444
- name: "Toys & Playthings",
1445
- items: [
1446
- {
1447
- id: "toys-classic-electric-character",
1448
- name: "Toys \u2013 Classic, Electric & Character-Based",
1449
- description: "Building blocks, dolls, puzzles, plush animals, toy vehicles, remote-control toys, light-up gadgets, character figurines, themed playsets."
1450
- },
1451
- {
1452
- id: "handmade-toys-crafty-playthings",
1453
- name: "Handmade Toys & Crafty Playthings",
1454
- description: "Wooden puzzles, crocheted animals, felt toys, fabric dolls, DIY kits, nature-inspired games, sensory toys."
1455
- },
1456
- {
1457
- id: "other-play-items",
1458
- name: "Other play items",
1459
- description: "Toys not listed above, including limited-edition or hybrid items."
1460
- }
1461
- ]
1462
- },
1463
- {
1464
- id: "educational-developmental",
1465
- name: "Educational & Developmental",
1466
- items: [
1467
- {
1468
- id: "educational-developmental-tools",
1469
- name: "Educational & Developmental Tools",
1470
- description: "STEM kits, Montessori toys, storybooks, picture books, flashcards, early learning games, language tools."
1471
- },
1472
- {
1473
- id: "kids-experiences-extras",
1474
- name: "Kids\u2019 Experiences & Extras",
1475
- description: "Face painting, balloon animals, hair braiding, glitter tattoos, storytime, puppet shows, interactive zones, party gear."
1476
- },
1477
- {
1478
- id: "other-educational-experience-based-items",
1479
- name: "Other educational or experience-based items",
1480
- description: "Creative experiences or learning aids not listed above."
1481
- }
1482
- ]
1483
- },
1484
- {
1485
- id: "baby-kidswear-accessories",
1486
- name: "Baby & Kidswear + Accessories",
1487
- items: [
1488
- {
1489
- id: "baby-kidswear-accessories",
1490
- name: "Baby & Kidswear + Accessories",
1491
- description: "Handmade baby clothes, toddler outfits, bibs, hats, headbands, bags, pacifier clips, soft shoes."
1482
+ {
1483
+ id: "gift-packaging-wrapping-accessories",
1484
+ name: "Gift Packaging & Wrapping Accessories",
1485
+ description: ""
1492
1486
  },
1493
1487
  {
1494
- id: "other-childrens-clothing-accessories",
1495
- name: "Other children\u2019s clothing or accessories",
1496
- description: "Unique fashion or functional pieces for kids."
1488
+ id: "other-small-handmade-gifts-accessories",
1489
+ name: "Other small handmade gifts or accessories",
1490
+ description: "Compact creative items made to surprise or delight."
1497
1491
  }
1498
1492
  ]
1499
1493
  }
1500
1494
  ]
1501
1495
  }
1502
1496
  ];
1503
- var helthAndWellness = [
1497
+
1498
+ // src/formFields/categories/healthAndWellness.ts
1499
+ var healthAndWellness = [
1504
1500
  {
1505
1501
  id: "health-wellness",
1506
1502
  name: "Health & Wellness",
@@ -1578,145 +1574,77 @@ var helthAndWellness = [
1578
1574
  ]
1579
1575
  }
1580
1576
  ];
1581
- var electronicsAndTechnology = [
1577
+
1578
+ // src/formFields/categories/homeGardenHousehold.ts
1579
+ var homeGardenHousehold = [
1582
1580
  {
1583
- id: "electronics-technology",
1584
- name: "Electronics & Technology",
1585
- description: "New, second-hand, or handmade tech and digital items commonly found at markets.",
1581
+ id: "home-garden-household-goods",
1582
+ name: "Home, Garden & Household Goods",
1583
+ description: "Functional, decorative, and eco-conscious products designed for everyday use indoors and outdoors.",
1586
1584
  subcategories: [
1587
1585
  {
1588
- id: "mobile-everyday-tech",
1589
- name: "Mobile & Everyday Tech",
1590
- items: [
1591
- {
1592
- id: "mobile-phone-accessories",
1593
- name: "Mobile & Phone Accessories",
1594
- description: "Phone cases, holders, screen protectors, charging cables, power banks, grips."
1595
- },
1596
- {
1597
- id: "other-mobile-gadgets",
1598
- name: "Other mobile gadgets",
1599
- description: "Stands, styluses, SIM tools, cleaning kits, wallet accessories."
1600
- }
1601
- ]
1602
- },
1603
- {
1604
- id: "audio-music-creative-tech",
1605
- name: "Audio, Music & Creative Tech",
1586
+ id: "home-decor-living",
1587
+ name: "Home Decor & Living",
1606
1588
  items: [
1607
1589
  {
1608
- id: "audio-music-tech",
1609
- name: "Audio & Music Tech",
1610
- description: "Portable speakers, headphones, mini radios, Bluetooth adapters, sound accessories."
1611
- },
1612
- {
1613
- id: "instruments-music-gear",
1614
- name: "Instruments & Music Gear",
1615
- description: "Small electronic instruments, DIY synth kits, drum pads, loop machines."
1590
+ id: "home-decor",
1591
+ name: "Home Decor",
1592
+ description: "Cushions, wall art, table runners, vases, trays, mirrors, handmade centerpieces."
1616
1593
  },
1617
1594
  {
1618
- id: "recording-creative-devices",
1619
- name: "Recording & Creative Devices",
1620
- description: "USB microphones, podcast tools, voice recorders, mobile lighting, content tools."
1595
+ id: "kitchenware-dining",
1596
+ name: "Kitchenware & Dining",
1597
+ description: "Mugs, bowls, cutting boards, utensils, jars, coasters, kitchen textiles."
1621
1598
  },
1622
1599
  {
1623
- id: "other-audio-music-items",
1624
- name: "Other audio or music-related items",
1625
- description: "Musical gadgets or creative gear not listed above."
1600
+ id: "other-indoor-home-items",
1601
+ name: "Other indoor home items",
1602
+ description: "Any decorative or practical household items not listed above."
1626
1603
  }
1627
1604
  ]
1628
1605
  },
1629
1606
  {
1630
- id: "diy-gadgets-secondhand-finds",
1631
- name: "DIY, Gadgets & Second-Hand Finds",
1632
- items: [
1633
- {
1634
- id: "diy-electronics-tools",
1635
- name: "DIY Electronics & Tools",
1636
- description: "LED lights, USB gadgets, circuit boards, repair kits, tech-themed toys, novelty items."
1637
- },
1638
- {
1639
- id: "other-tech-finds",
1640
- name: "Other Tech Finds",
1641
- description: "Used electronics, smart gadgets, wearable tech, calculators, tablet stands, e-waste upcycles."
1642
- },
1643
- {
1644
- id: "other-technology-innovation-items",
1645
- name: "Other technology or innovation-related items",
1646
- description: "Anything not covered but clearly tech-driven."
1647
- }
1648
- ]
1649
- }
1650
- ]
1651
- }
1652
- ];
1653
- var antiquesAndCollectibles = [
1654
- {
1655
- id: "antiques-collectibles",
1656
- name: "Antiques & Collectibles",
1657
- description: "Vintage and collectible goods with historic, nostalgic, or decorative value.",
1658
- subcategories: [
1659
- {
1660
- id: "vintage-fashion-personal-items",
1661
- name: "Vintage Fashion & Personal Items",
1607
+ id: "cleaning-eco-essentials",
1608
+ name: "Cleaning & Eco Essentials",
1662
1609
  items: [
1663
1610
  {
1664
- id: "vintage-clothing-accessories",
1665
- name: "Vintage Clothing & Accessories",
1666
- description: "Retro jackets, dresses, hats, gloves, belts, era-specific fashion."
1667
- },
1668
- {
1669
- id: "collectibles-memorabilia",
1670
- name: "Collectibles & Memorabilia",
1671
- description: "Coins, stamps, toys, postcards, comics, sports cards, vintage packaging."
1611
+ id: "cleaning-eco-supplies",
1612
+ name: "Cleaning & Eco Supplies",
1613
+ description: "Beeswax wraps, reusable cloths, brushes, natural soaps, detergent bars, eco sponges."
1672
1614
  },
1673
1615
  {
1674
- id: "other-fashion-collectibles",
1675
- name: "Other fashion-related collectibles",
1676
- description: "Items with both fashion and collector value."
1616
+ id: "other-eco-cleaning-items",
1617
+ name: "Other eco or cleaning items",
1618
+ description: "Environmentally friendly goods not listed above."
1677
1619
  }
1678
1620
  ]
1679
1621
  },
1680
1622
  {
1681
- id: "antique-home-curiosities",
1682
- name: "Antique Home & Curiosities",
1623
+ id: "garden-outdoor-living",
1624
+ name: "Garden & Outdoor Living",
1683
1625
  items: [
1684
1626
  {
1685
- id: "antique-homewares-decor",
1686
- name: "Antique Homewares & Decor",
1687
- description: "Teacups, plates, vases, mirrors, clocks, furniture accents."
1688
- },
1689
- {
1690
- id: "other-unique-finds",
1691
- name: "Other Unique Finds",
1692
- description: "Old tools, lanterns, typewriters, binoculars, relics, curios."
1627
+ id: "plants-botanical-decor",
1628
+ name: "Plants & Botanical Decor",
1629
+ description: "Potted herbs, succulents, dried flowers, terrariums, plant-based ornaments."
1693
1630
  },
1694
1631
  {
1695
- id: "other-antique-items",
1696
- name: "Other antique items",
1697
- description: "Vintage or handmade pieces not listed above."
1698
- }
1699
- ]
1700
- },
1701
- {
1702
- id: "media-printed-nostalgia",
1703
- name: "Media & Printed Nostalgia",
1704
- items: [
1705
- {
1706
- id: "records-books-media",
1707
- name: "Records, Books & Media",
1708
- description: "Vinyls, cassette tapes, old books, magazines, board games, DVDs, CDs."
1632
+ id: "garden-tools-outdoor-items",
1633
+ name: "Garden Tools & Outdoor Items",
1634
+ description: "Plant markers, garden signs, stakes, small tools, wind chimes, gifts."
1709
1635
  },
1710
1636
  {
1711
- id: "other-printed-recorded-media",
1712
- name: "Other printed or recorded media",
1713
- description: "Posters, manuals, out-of-print publications."
1637
+ id: "other-outdoor-garden-products",
1638
+ name: "Other outdoor or garden products",
1639
+ description: "Functional or decorative items for outside use."
1714
1640
  }
1715
1641
  ]
1716
1642
  }
1717
1643
  ]
1718
1644
  }
1719
1645
  ];
1646
+
1647
+ // src/formFields/categories/petProductsAndAnimalGoods.ts
1720
1648
  var petProductsAndAnimalGoods = [
1721
1649
  {
1722
1650
  id: "pet-products-animal-goods",
@@ -1795,6 +1723,8 @@ var petProductsAndAnimalGoods = [
1795
1723
  ]
1796
1724
  }
1797
1725
  ];
1726
+
1727
+ // src/formFields/categories/serviceAndExperience.ts
1798
1728
  var serviceAndExperience = [
1799
1729
  {
1800
1730
  id: "services-experiences",
@@ -1888,13 +1818,103 @@ var serviceAndExperience = [
1888
1818
  ]
1889
1819
  }
1890
1820
  ];
1821
+
1822
+ // src/formFields/categories/toysChildren.ts
1823
+ var toysChildren = [
1824
+ {
1825
+ id: "toys-childrens-items",
1826
+ name: "Toys & Children\u2019s Items",
1827
+ description: "Products and services made for or inspired by children.",
1828
+ subcategories: [
1829
+ {
1830
+ id: "toys-playthings",
1831
+ name: "Toys & Playthings",
1832
+ items: [
1833
+ {
1834
+ id: "toys-classic-electric-character",
1835
+ name: "Toys \u2013 Classic, Electric & Character-Based",
1836
+ description: "Building blocks, dolls, puzzles, plush animals, toy vehicles, remote-control toys, light-up gadgets, character figurines, themed playsets."
1837
+ },
1838
+ {
1839
+ id: "handmade-toys-crafty-playthings",
1840
+ name: "Handmade Toys & Crafty Playthings",
1841
+ description: "Wooden puzzles, crocheted animals, felt toys, fabric dolls, DIY kits, nature-inspired games, sensory toys."
1842
+ },
1843
+ {
1844
+ id: "other-play-items",
1845
+ name: "Other play items",
1846
+ description: "Toys not listed above, including limited-edition or hybrid items."
1847
+ }
1848
+ ]
1849
+ },
1850
+ {
1851
+ id: "educational-developmental",
1852
+ name: "Educational & Developmental",
1853
+ items: [
1854
+ {
1855
+ id: "educational-developmental-tools",
1856
+ name: "Educational & Developmental Tools",
1857
+ description: "STEM kits, Montessori toys, storybooks, picture books, flashcards, early learning games, language tools."
1858
+ },
1859
+ {
1860
+ id: "kids-experiences-extras",
1861
+ name: "Kids\u2019 Experiences & Extras",
1862
+ description: "Face painting, balloon animals, hair braiding, glitter tattoos, storytime, puppet shows, interactive zones, party gear."
1863
+ },
1864
+ {
1865
+ id: "other-educational-experience-based-items",
1866
+ name: "Other educational or experience-based items",
1867
+ description: "Creative experiences or learning aids not listed above."
1868
+ }
1869
+ ]
1870
+ },
1871
+ {
1872
+ id: "baby-kidswear-accessories",
1873
+ name: "Baby & Kidswear + Accessories",
1874
+ items: [
1875
+ {
1876
+ id: "baby-kidswear-accessories",
1877
+ name: "Baby & Kidswear + Accessories",
1878
+ description: "Handmade baby clothes, toddler outfits, bibs, hats, headbands, bags, pacifier clips, soft shoes."
1879
+ },
1880
+ {
1881
+ id: "other-childrens-clothing-accessories",
1882
+ name: "Other children\u2019s clothing or accessories",
1883
+ description: "Unique fashion or functional pieces for kids."
1884
+ }
1885
+ ]
1886
+ }
1887
+ ]
1888
+ }
1889
+ ];
1890
+
1891
+ // src/formFields/categories/index.ts
1892
+ var categoryColors = {
1893
+ "antiques-collectibles": "#8D6748",
1894
+ "clothing-fashion": "#9D4EDD",
1895
+ "electronics-technology": "#3AF3FF",
1896
+ "food-beverages": "#FF0D1F",
1897
+ "handmade-local-products": "#EE7E54",
1898
+ "health-wellness": "#E23794",
1899
+ "home-garden-household-goods": "#067325",
1900
+ "pet-products-animal-goods": "#68E788",
1901
+ "services-experiences": "#2E16A5",
1902
+ "toys-childrens-items": "#FFF966"
1903
+ };
1904
+ var assignColorToCategories = (categories) => {
1905
+ const result = categories.map((category) => ({
1906
+ ...category,
1907
+ color: categoryColors[category.id]
1908
+ }));
1909
+ return result;
1910
+ };
1891
1911
  var availableCategories = assignColorToCategories([
1892
1912
  ...foodAndBeverages,
1893
1913
  ...handmadeAndLocalProducts,
1894
1914
  ...clothingAndFashion,
1895
1915
  ...homeGardenHousehold,
1896
1916
  ...toysChildren,
1897
- ...helthAndWellness,
1917
+ ...healthAndWellness,
1898
1918
  ...electronicsAndTechnology,
1899
1919
  ...antiquesAndCollectibles,
1900
1920
  ...petProductsAndAnimalGoods,
@@ -2435,6 +2455,7 @@ var VENDOR = gql4`
2435
2455
  createdAt
2436
2456
  description
2437
2457
  deletedAt
2458
+ foodTruck
2438
2459
  images {
2439
2460
  ...ResourceImageFields
2440
2461
  }
@@ -2806,11 +2827,8 @@ var ADD_PARTICIPANT_TO_CHAT_MUTATION = gql7`
2806
2827
  `;
2807
2828
  var REMOVE_PARTICIPANT_FROM_CHAT_MUTATION = gql7`
2808
2829
  mutation removeParticipantFromChat($chatId: ID!, $userId: ID!) {
2809
- removeParticipantFromChat(chatId: $chatId, userId: $userId) {
2810
- ...ChatFields
2811
- }
2830
+ removeParticipantFromChat(chatId: $chatId, userId: $userId)
2812
2831
  }
2813
- ${CHAT_FIELDS_FRAGMENT}
2814
2832
  `;
2815
2833
 
2816
2834
  // src/graphql/hooks/chat/hooksMutation.ts
@@ -2865,18 +2883,7 @@ var useRemoveParticipantFromChat = () => {
2865
2883
  REMOVE_PARTICIPANT_FROM_CHAT_MUTATION,
2866
2884
  {
2867
2885
  awaitRefetchQueries: true,
2868
- refetchQueries: (mutationResult) => {
2869
- const chatId = mutationResult?.data?.removeParticipantFromChat?._id;
2870
- return [
2871
- {
2872
- query: CHAT,
2873
- variables: { _id: chatId }
2874
- },
2875
- {
2876
- query: USER_CHATS
2877
- }
2878
- ];
2879
- }
2886
+ refetchQueries: [{ query: USER_CHATS }]
2880
2887
  }
2881
2888
  );
2882
2889
  return { error, loading, removeParticipantFromChat };
@@ -5178,6 +5185,7 @@ var vendroMenuSchema = yup3.object().shape({
5178
5185
  });
5179
5186
  var vendorSchema = globalResourceSchema.shape({
5180
5187
  categories: categorySchema.min(1, "Category list must contain at least one item").required("Categories are required"),
5188
+ foodTruck: yup3.boolean().label("Food Truck").required("Please specify if the vendor is a food truck"),
5181
5189
  multiLocation: yup3.boolean().required("Multi location is required"),
5182
5190
  products: yup3.array().of(vendroMenuSchema).optional().nullable(),
5183
5191
  specialties: yup3.array().of(vendroMenuSchema).optional().nullable(),
@@ -5451,6 +5459,7 @@ var defaultVendorFormValues = {
5451
5459
  school: false
5452
5460
  },
5453
5461
  categories: [],
5462
+ foodTruck: false,
5454
5463
  locations: null,
5455
5464
  multiLocation: false,
5456
5465
  products: null,
@@ -5518,6 +5527,7 @@ function useVendorForm(data) {
5518
5527
  ...mapBaseResourceTypeToFormData(data),
5519
5528
  availability: data.availability,
5520
5529
  categories: data.categories,
5530
+ foodTruck: data.foodTruck,
5521
5531
  locations: data.locations,
5522
5532
  multiLocation: data.multiLocation,
5523
5533
  products: data.products,
@@ -5535,6 +5545,7 @@ function useVendorForm(data) {
5535
5545
  categories,
5536
5546
  cover,
5537
5547
  coverUpload,
5548
+ foodTruck,
5538
5549
  description,
5539
5550
  images,
5540
5551
  imagesUpload,
@@ -5562,6 +5573,7 @@ function useVendorForm(data) {
5562
5573
  cover,
5563
5574
  coverUpload,
5564
5575
  description,
5576
+ foodTruck,
5565
5577
  images,
5566
5578
  imagesUpload,
5567
5579
  locations,
@@ -6493,7 +6505,6 @@ export {
6493
6505
  availableRegionTypes,
6494
6506
  availableTagTypes,
6495
6507
  capitalizeFirstLetter,
6496
- categoryColors,
6497
6508
  companyContactFields,
6498
6509
  contactUsFields,
6499
6510
  darkColors,