@timardex/cluemart-shared 1.5.757 → 1.5.759

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 (61) hide show
  1. package/dist/{ad-pLZUkF7z.d.ts → ad-BG0lQxCY.d.ts} +1 -1
  2. package/dist/{ad-QbxQEG6o.d.mts → ad-C9XeExJG.d.mts} +1 -1
  3. package/dist/{chunk-6CRQZK5X.mjs → chunk-5RXTRSY2.mjs} +564 -906
  4. package/dist/chunk-5RXTRSY2.mjs.map +1 -0
  5. package/dist/{chunk-3MLTYJMV.mjs → chunk-65G65T22.mjs} +2 -2
  6. package/dist/chunk-B2D5OLQT.mjs +958 -0
  7. package/dist/chunk-B2D5OLQT.mjs.map +1 -0
  8. package/dist/{chunk-GSOQZF6M.mjs → chunk-J4ENZPQE.mjs} +1 -1
  9. package/dist/chunk-J4ENZPQE.mjs.map +1 -0
  10. package/dist/{chunk-O3S5IQT3.mjs → chunk-SR7UIBOW.mjs} +6 -1
  11. package/dist/chunk-SR7UIBOW.mjs.map +1 -0
  12. package/dist/{contactUs-Bn14BhYR.d.mts → contactUs-Bgn0Ixmz.d.mts} +1 -1
  13. package/dist/{contactUs-CbgB8N5m.d.ts → contactUs-DA-wkW8U.d.ts} +1 -1
  14. package/dist/formFields/index.cjs +1445 -1445
  15. package/dist/formFields/index.cjs.map +1 -1
  16. package/dist/formFields/index.d.mts +1 -1
  17. package/dist/formFields/index.d.ts +1 -1
  18. package/dist/formFields/index.mjs +6 -5
  19. package/dist/{global-DwcLiMf-.d.mts → global-Bqkcya3A.d.mts} +3 -1
  20. package/dist/{global-CMZCDnUT.d.ts → global-D7RVPZoz.d.ts} +3 -1
  21. package/dist/graphql/index.cjs +5 -0
  22. package/dist/graphql/index.cjs.map +1 -1
  23. package/dist/graphql/index.d.mts +3 -3
  24. package/dist/graphql/index.d.ts +3 -3
  25. package/dist/graphql/index.mjs +1 -1
  26. package/dist/hooks/index.cjs +1506 -1501
  27. package/dist/hooks/index.cjs.map +1 -1
  28. package/dist/hooks/index.d.mts +3 -3
  29. package/dist/hooks/index.d.ts +3 -3
  30. package/dist/hooks/index.mjs +5 -5
  31. package/dist/index.cjs +1699 -1477
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.mts +51 -18
  34. package/dist/index.d.ts +51 -18
  35. package/dist/index.mjs +1675 -1477
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/map/index.d.mts +1 -1
  38. package/dist/map/index.d.ts +1 -1
  39. package/dist/{resourceActivities-qSbrOsu_.d.mts → resourceActivities-DPD0AnWh.d.mts} +1 -1
  40. package/dist/{resourceActivities-BiIFWxSA.d.ts → resourceActivities-DdlPNlJF.d.ts} +1 -1
  41. package/dist/sharing/index.cjs +995 -0
  42. package/dist/sharing/index.cjs.map +1 -1
  43. package/dist/sharing/index.d.mts +1 -1
  44. package/dist/sharing/index.d.ts +1 -1
  45. package/dist/sharing/index.mjs +3 -3
  46. package/dist/types/index.cjs.map +1 -1
  47. package/dist/types/index.d.mts +5 -5
  48. package/dist/types/index.d.ts +5 -5
  49. package/dist/types/index.mjs +1 -1
  50. package/dist/utils/index.cjs +1212 -0
  51. package/dist/utils/index.cjs.map +1 -1
  52. package/dist/utils/index.d.mts +33 -2
  53. package/dist/utils/index.d.ts +33 -2
  54. package/dist/utils/index.mjs +50 -2
  55. package/package.json +1 -1
  56. package/dist/chunk-6CRQZK5X.mjs.map +0 -1
  57. package/dist/chunk-GSOQZF6M.mjs.map +0 -1
  58. package/dist/chunk-O3S5IQT3.mjs.map +0 -1
  59. package/dist/chunk-UK4D5N3O.mjs +0 -423
  60. package/dist/chunk-UK4D5N3O.mjs.map +0 -1
  61. /package/dist/{chunk-3MLTYJMV.mjs.map → chunk-65G65T22.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -1011,709 +1011,870 @@ function shouldShowEventActionsWithWeather(resourceType, dateTime, location) {
1011
1011
  ].includes(dateTime.dateStatus);
1012
1012
  }
1013
1013
 
1014
- // src/formFields/vendor/vendorInfo.ts
1015
- var vendorElectricity = {
1016
- details: {
1017
- helperText: "Please describe details e.g. amps, voltage, etc.",
1018
- isTextArea: true,
1019
- name: "requirements.electricity.details",
1020
- placeholder: "Electricity requirements"
1021
- },
1022
- isRequired: {
1023
- name: "requirements.electricity.isRequired",
1024
- placeholder: "Do you require electricity?"
1025
- }
1026
- };
1027
- var vendorGazebo = {
1028
- details: {
1029
- helperText: "Please describe details e.g. size, etc.",
1030
- isTextArea: true,
1031
- name: "requirements.gazebo.details",
1032
- placeholder: "Gazebo requirements"
1033
- },
1034
- isRequired: {
1035
- name: "requirements.gazebo.isRequired",
1036
- placeholder: "Do you require Gazebo?"
1037
- }
1038
- };
1039
- var vendorTable = {
1040
- details: {
1041
- helperText: "Please describe details e.g. size, etc.",
1042
- isTextArea: true,
1043
- name: "requirements.table.details",
1044
- placeholder: "Table requirements"
1045
- },
1046
- isRequired: {
1047
- name: "requirements.table.isRequired",
1048
- placeholder: "Do you require Table?"
1049
- }
1050
- };
1051
- var vendorPriceRange = {
1052
- max: {
1053
- helperText: "Product maximum price",
1054
- name: "product.priceRange.max",
1055
- placeholder: "Maximum price: "
1056
- },
1057
- min: {
1058
- helperText: "Product minimum price",
1059
- name: "product.priceRange.min",
1060
- placeholder: "Minimum price: "
1061
- }
1062
- };
1063
- var vendorStallSize = {
1064
- depth: {
1065
- helperText: "Stall size in depth",
1066
- name: "stallInfo.size.depth",
1067
- placeholder: "Stall Depth: "
1068
- },
1069
- width: {
1070
- helperText: "Stall size in width",
1071
- name: "stallInfo.size.width",
1072
- placeholder: "Stall Width: "
1073
- }
1074
- };
1075
- var vendorPackaging = {
1076
- helperText: "Select packaging type, you can select more than one",
1077
- name: "product.packaging",
1078
- placeholder: "Packaging type"
1079
- };
1080
- var vendorProducedIn = {
1081
- helperText: "Select where the product is produced, you can select more than one",
1082
- name: "product.producedIn",
1083
- placeholder: "Produced type"
1084
- };
1085
- var vendorFoodFlavour = {
1086
- helperText: "You can select more than one food flavour",
1087
- name: "product.foodFlavors",
1088
- placeholder: "Food flavours"
1089
- };
1090
- var vendorCompliance = [
1091
- {
1092
- name: "compliance.liabilityInsurance",
1093
- placeholder: "Liability Insurance"
1094
- },
1014
+ // src/formFields/categories/clothingAndFashion.ts
1015
+ var clothingAndFashion = [
1095
1016
  {
1096
- name: "compliance.foodBeverageLicense",
1097
- placeholder: "Food and Beverage License"
1017
+ id: "clothing-fashion",
1018
+ name: "Clothing & Fashion",
1019
+ description: "New, handmade, or upcycled clothing and accessories with a creative twist.",
1020
+ subcategories: [
1021
+ {
1022
+ id: "apparel-babywear",
1023
+ name: "Apparel & Babywear",
1024
+ items: [
1025
+ {
1026
+ id: "apparel",
1027
+ name: "Apparel",
1028
+ description: "Dresses, t-shirts, jumpers, rompers, sets, kidswear."
1029
+ },
1030
+ {
1031
+ id: "baby-toddler-apparel",
1032
+ name: "Baby & Toddler Apparel",
1033
+ description: "Handmade baby clothes, soft shoes, bibs, hats, knitted sets."
1034
+ },
1035
+ {
1036
+ id: "upcycled-fashion",
1037
+ name: "Upcycled Fashion",
1038
+ description: "Reworked garments, patchwork pieces, restyled vintage."
1039
+ },
1040
+ {
1041
+ id: "other-wearable-items",
1042
+ name: "Other wearable items",
1043
+ description: "Unique clothing not listed above."
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ id: "fashion-accessories",
1049
+ name: "Fashion Accessories",
1050
+ items: [
1051
+ {
1052
+ id: "accessories",
1053
+ name: "Accessories",
1054
+ description: "Scarves, belts, gloves, hats, headbands, caps."
1055
+ },
1056
+ {
1057
+ id: "shoes",
1058
+ name: "Shoes",
1059
+ description: "Handmade shoes, baby booties, sandals, slippers."
1060
+ },
1061
+ {
1062
+ id: "bags-wallets",
1063
+ name: "Bags & Wallets",
1064
+ description: "Leather bags, fabric purses, wallets, backpacks, totes."
1065
+ },
1066
+ {
1067
+ id: "other-accessories",
1068
+ name: "Other accessories",
1069
+ description: "Brooches, pins, or hybrid functional items."
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ id: "jewelry-creative-wearables",
1075
+ name: "Jewelry & Creative Wearables",
1076
+ items: [
1077
+ {
1078
+ id: "jewelry",
1079
+ name: "Jewelry",
1080
+ description: "Necklaces, earrings, bracelets, rings, anklets."
1081
+ },
1082
+ {
1083
+ id: "other-creative-wearables",
1084
+ name: "Other creative wearables",
1085
+ description: "Wearable art, statement pieces, bold handmade designs."
1086
+ }
1087
+ ]
1088
+ },
1089
+ {
1090
+ id: "traditional-cultural-clothing-accessories",
1091
+ name: "Traditional & Cultural Clothing and Accessories",
1092
+ items: [
1093
+ {
1094
+ id: "traditional-clothing-accessories",
1095
+ name: "Traditional Clothing & Accessories ",
1096
+ description: "raditional clothing, jewellery, accessories and footwear from around the world, including both handmade and non-handmade items."
1097
+ },
1098
+ {
1099
+ id: "other-traditional-cultural-items",
1100
+ name: "Other Traditional & Cultural Items",
1101
+ description: "traditional or culturally inspired wearables and decorative cultural pieces such as plates, table linens and similar items."
1102
+ }
1103
+ ]
1104
+ }
1105
+ ]
1098
1106
  }
1099
1107
  ];
1100
- var packagingTypes = [
1101
- "Biodegradable",
1102
- "Compostable",
1103
- "Fabric",
1104
- "Glass",
1105
- "Other",
1106
- "Paper",
1107
- "Plastic",
1108
- "Recyclable",
1109
- "Reusable",
1110
- "Single-use",
1111
- "Wood"
1112
- ];
1113
- var producedIngTypes = [
1114
- "Commercial Kitchen",
1115
- "Home Premises",
1116
- "Factory",
1117
- "Farm",
1118
- "Other"
1119
- ];
1120
- var packagingOptions = mapArrayToOptions(packagingTypes);
1121
- var producedIngOptions = mapArrayToOptions(producedIngTypes);
1122
- var foodFlavourOptions = Object.values(
1123
- EnumFoodFlavor
1124
- ).map((flavour) => ({
1125
- label: flavour.replaceAll("_", " "),
1126
- value: flavour
1127
- }));
1128
1108
 
1129
- // src/formFields/event/event.ts
1130
- var eventBasicInfoFields = [
1131
- {
1132
- helperText: "Name of the Event *",
1133
- name: "name",
1134
- placeholder: "Name"
1135
- },
1136
- {
1137
- helperText: "NZBN number (required \u2013 ClueMart only accepts events with valid NZBN number) *",
1138
- keyboardType: "number-pad",
1139
- name: "nzbn",
1140
- placeholder: "NZBN number"
1141
- },
1142
- {
1143
- helperText: "Name of the Provider (if applicable)",
1144
- name: "provider",
1145
- placeholder: "Provider"
1146
- },
1147
- {
1148
- helperText: "Description of the Event *",
1149
- isTextArea: true,
1150
- name: "description",
1151
- placeholder: "Description"
1152
- }
1153
- ];
1154
- var eventStartDateFields = [
1155
- {
1156
- dateMode: "date",
1157
- helperText: "Start Date of the Event *",
1158
- name: "startDate",
1159
- placeholder: "Start Date"
1160
- },
1161
- {
1162
- dateMode: "time",
1163
- helperText: "Start Time of the Event *",
1164
- name: "startTime",
1165
- placeholder: "Start Time"
1166
- }
1167
- ];
1168
- var eventEndDateFields = [
1169
- {
1170
- dateMode: "date",
1171
- helperText: "End Date of the Event *",
1172
- name: "endDate",
1173
- placeholder: "End Date"
1174
- },
1109
+ // src/formFields/categories/electronicsAndTechnology.ts
1110
+ var electronicsAndTechnology = [
1175
1111
  {
1176
- dateMode: "time",
1177
- helperText: "End Time of the Event *",
1178
- name: "endTime",
1179
- placeholder: "End Time"
1180
- }
1181
- ];
1182
- var availableTagTypes = [
1183
- { icon: "human-male-female-child", label: "All Ages" },
1184
- { icon: "weather-sunny", label: "Day Market" },
1185
- { icon: "account-child", label: "Family Friendly" },
1186
- { icon: "ticket-percent", label: "Free Entry" },
1187
- { icon: "home-city", label: "Indoor Market" },
1188
- { icon: "music", label: "Live Music" },
1189
- { icon: "bus", label: "Near Bustop" },
1190
- { icon: "slide", label: "Near Playground" },
1191
- { icon: "train", label: "Near Train Station" },
1192
- { icon: "weather-night", label: "Night Market" },
1193
- { icon: "tree", label: "Outdoor Market" },
1194
- { icon: "car", label: "Parking Available" },
1195
- { icon: "dog", label: "Pet Friendly" },
1196
- { icon: "ship-wheel", label: "Port Nearby" },
1197
- { icon: "toilet", label: "Toilet Available" },
1198
- { icon: "wheelchair-accessibility", label: "Wheelchair Accessible" }
1199
- ];
1200
- var tagOptions = availableTagTypes.map((tag) => ({
1201
- label: tag.label,
1202
- value: tag.label
1203
- }));
1204
-
1205
- // src/formFields/event/eventInfo.ts
1206
- var eventInfo = [
1207
- {
1208
- helperText: "Application Deadline (hours before event start) *",
1209
- keyboardType: "number-pad",
1210
- name: "applicationDeadlineHours",
1211
- placeholder: "Application Deadline (in hours)"
1212
- },
1213
- {
1214
- helperText: "Payment Due (hours after application or invitation acceptance) *",
1215
- keyboardType: "number-pad",
1216
- name: "paymentDueHours",
1217
- placeholder: "Payment Due (in hours)"
1218
- },
1219
- {
1220
- helperText: "Pack-In Time (hours before event start) *",
1221
- keyboardType: "number-pad",
1222
- name: "packInTime",
1223
- placeholder: "Pack In Time (in hours)"
1224
- }
1225
- ];
1226
- var eventInfoPaymentInfo = [
1227
- {
1228
- helperText: "Account holder name *",
1229
- name: "accountHolderName",
1230
- placeholder: "Account holder name"
1231
- },
1232
- {
1233
- helperText: "Account number *",
1234
- keyboardType: "number-pad",
1235
- name: "accountNumber",
1236
- placeholder: "Account number"
1237
- },
1238
- {
1239
- helperText: "Payment link, where applicants can pay *",
1240
- keyboardType: "url",
1241
- name: "link",
1242
- placeholder: "Payment link"
1243
- }
1244
- ];
1245
- var requirementsOptions = [
1246
- {
1247
- category: "Environment",
1248
- label: "All packaging must be eco-friendly or recyclable where possible.",
1249
- value: false
1250
- },
1251
- {
1252
- category: "Environment",
1253
- label: "No single-use plastic bags are to be handed out.",
1254
- value: false
1255
- },
1256
- {
1257
- category: "Environment",
1258
- label: "Stall area must be left clean with no trace of activity after pack-down.",
1259
- value: false
1260
- },
1261
- {
1262
- category: "Environment",
1263
- label: "No disposal of oils, fats, or chemicals in public drains or on grassed areas.",
1264
- value: false
1265
- },
1266
- {
1267
- category: "Environment",
1268
- label: "You must provide bins at your site for rubbish and recycling, and take away all bins including rubbish, to dispose of outside of the town centre.",
1269
- value: false
1270
- },
1271
- {
1272
- category: "Food Safety",
1273
- label: "Food must be prepared and stored according to your food regulation.",
1274
- value: false
1275
- },
1276
- {
1277
- category: "Food Safety",
1278
- label: "The stallholder must display a current food grade certificate.",
1279
- value: false
1280
- },
1281
- {
1282
- category: "Food Safety",
1283
- label: "Only licensed food vendors may sell ready-to-eat food items.",
1284
- value: false
1285
- },
1286
- {
1287
- category: "Food Safety",
1288
- label: "Handwashing facilities must be available at your stall if preparing food.",
1289
- value: false
1290
- },
1291
- {
1292
- category: "Food Safety",
1293
- label: "You must have a food safety plan in place for your stall.",
1294
- value: false
1295
- },
1296
- {
1297
- category: "Food Safety",
1298
- label: "Allergens must be clearly listed on packaged and unpackaged food items.",
1299
- value: false
1300
- },
1301
- {
1302
- category: "Legal & Safety",
1303
- label: "All stallholders must comply with local council regulations.",
1304
- value: false
1305
- },
1306
- {
1307
- category: "Legal & Safety",
1308
- label: "No unauthorised subletting of stall space to other vendors.",
1309
- value: false
1310
- },
1311
- {
1312
- category: "Legal & Safety",
1313
- label: "Gas bottles and fuel containers must be secured and in good condition if applicable.",
1314
- value: false
1315
- },
1316
- {
1317
- category: "Legal & Safety",
1318
- label: "Fire extinguishers must be available for stalls using cooking or heating equipment.",
1319
- value: false
1320
- },
1321
- {
1322
- category: "Legal & Safety",
1323
- label: "Stallholders must not sell items that are illegal or prohibited by law.",
1324
- value: false
1325
- },
1326
- {
1327
- category: "Legal & Safety",
1328
- label: "All electrical equipment must be tested and tagged.",
1329
- value: false
1330
- },
1331
- {
1332
- category: "Legal & Safety",
1333
- label: "Noise levels must be kept to a minimum unless part of a permitted performance.",
1334
- value: false
1335
- },
1336
- {
1337
- category: "Legal & Safety",
1338
- label: "Pets at the stall must be secured and well-behaved at all times.",
1339
- value: false
1340
- },
1341
- {
1342
- category: "Legal & Safety",
1343
- label: "Cables must be secured and not create tripping hazards.",
1344
- value: false
1345
- },
1346
- {
1347
- category: "Legal & Safety",
1348
- label: "Stalls must not obstruct emergency access routes.",
1349
- value: false
1350
- },
1351
- {
1352
- category: "Legal & Safety",
1353
- label: "First aid kit must be available at the stall for minor injuries.",
1354
- value: false
1355
- },
1356
- {
1357
- category: "Legal & Safety",
1358
- label: "Stallholders must hold valid liability insurance where required.",
1359
- value: false
1360
- },
1361
- {
1362
- category: "Legal & Safety",
1363
- label: "You must secure your gazebo and equipment to withstand wind or bad weather.",
1364
- value: false
1365
- },
1366
- {
1367
- category: "Legal & Safety",
1368
- label: "You are responsible for the safety of your setup and any potential hazards.",
1369
- value: false
1370
- },
1371
- {
1372
- category: "Operations",
1373
- label: "Generators must be quiet and pre-approved by the event organiser.",
1374
- value: false
1375
- },
1376
- {
1377
- category: "Operations",
1378
- label: "Only approved products or services may be sold \u2014 no last-minute changes.",
1379
- value: false
1380
- },
1381
- {
1382
- category: "Operations",
1383
- label: "Stallholders must arrive and be fully set up by the designated opening time.",
1384
- value: false
1385
- },
1386
- {
1387
- category: "Operations",
1388
- label: "You may not pack down your stall before the event officially ends.",
1389
- value: false
1390
- },
1391
- {
1392
- category: "Operations",
1393
- label: "You must be self-sufficient in all operations.",
1394
- value: false
1395
- },
1396
- {
1397
- category: "Operations",
1398
- label: "Stall layout must be kept within your allocated space.",
1399
- value: false
1400
- }
1401
- ];
1402
- var stallTypes = [
1403
- "1.8m table only",
1404
- "2x2m mini stall",
1405
- "3x3m tent site",
1406
- "Corner stall",
1407
- "Craft stall with power",
1408
- "Craft stall without power",
1409
- "Double stall (6x3m)",
1410
- "Food truck site",
1411
- "Food vendor with power",
1412
- "Food vendor without power",
1413
- "Inside hall stall",
1414
- "Non-profit/community stall",
1415
- "Outdoor open area",
1416
- "Shared table space",
1417
- "Wall-based vendor",
1418
- "Workshop/seating area"
1419
- ];
1420
- var stallTypeOptions = stallTypes.map((type) => ({
1421
- label: type,
1422
- price: 0,
1423
- stallCapacity: 0
1424
- }));
1425
- var refundPolicyOptions = [
1426
- {
1427
- category: "Cancelled by Vendor",
1428
- label: "Full refund if cancelled 30+ days before the event.",
1429
- value: false
1430
- },
1431
- {
1432
- category: "Cancelled by Vendor",
1433
- label: "50% refund if cancelled 14\u201329 days before the event.",
1434
- value: false
1435
- },
1436
- {
1437
- category: "Cancelled by Vendor",
1438
- label: "No refund if cancelled less than 14 days before the event.",
1439
- value: false
1440
- },
1441
- {
1442
- category: "Cancelled by Vendor",
1443
- label: "Full refund if cancelled due to illness or emergency.",
1444
- value: false
1445
- },
1446
- {
1447
- category: "Cancelled by Vendor",
1448
- label: "No refund for no-shows or last-minute cancellations.",
1449
- value: false
1450
- },
1451
- {
1452
- category: "Cancelled by Vendor",
1453
- label: "No refund",
1454
- value: false
1455
- },
1456
- {
1457
- category: "Cancelled by Organiser",
1458
- label: "Full refund if the event is cancelled by the organiser.",
1459
- value: false
1460
- },
1461
- {
1462
- category: "Cancelled by Organiser",
1463
- label: "Credit towards a future event if cancelled by the organiser.",
1464
- value: false
1465
- },
1466
- {
1467
- category: "Cancelled by Organiser",
1468
- label: "Refund only in cases of force majeure (e.g., natural disasters, government restrictions).",
1469
- value: false
1470
- },
1471
- {
1472
- category: "Cancelled by Organiser",
1473
- label: "No refund",
1474
- value: false
1112
+ id: "electronics-technology",
1113
+ name: "Electronics & Technology",
1114
+ description: "New, second-hand, or handmade tech and digital items commonly found at markets.",
1115
+ subcategories: [
1116
+ {
1117
+ id: "mobile-everyday-tech",
1118
+ name: "Mobile & Everyday Tech",
1119
+ items: [
1120
+ {
1121
+ id: "mobile-phone-accessories",
1122
+ name: "Mobile & Phone Accessories",
1123
+ description: "Phone cases, holders, screen protectors, charging cables, power banks, grips."
1124
+ },
1125
+ {
1126
+ id: "other-mobile-gadgets",
1127
+ name: "Other mobile gadgets",
1128
+ description: "Stands, styluses, SIM tools, cleaning kits, wallet accessories."
1129
+ }
1130
+ ]
1131
+ },
1132
+ {
1133
+ id: "audio-music-creative-tech",
1134
+ name: "Audio, Music & Creative Tech",
1135
+ items: [
1136
+ {
1137
+ id: "audio-music-tech",
1138
+ name: "Audio & Music Tech",
1139
+ description: "Portable speakers, headphones, mini radios, Bluetooth adapters, sound accessories."
1140
+ },
1141
+ {
1142
+ id: "instruments-music-gear",
1143
+ name: "Instruments & Music Gear",
1144
+ description: "Small electronic instruments, DIY synth kits, drum pads, loop machines."
1145
+ },
1146
+ {
1147
+ id: "recording-creative-devices",
1148
+ name: "Recording & Creative Devices",
1149
+ description: "USB microphones, podcast tools, voice recorders, mobile lighting, content tools."
1150
+ },
1151
+ {
1152
+ id: "other-audio-music-items",
1153
+ name: "Other audio or music-related items",
1154
+ description: "Musical gadgets or creative gear not listed above."
1155
+ }
1156
+ ]
1157
+ },
1158
+ {
1159
+ id: "diy-gadgets-secondhand-finds",
1160
+ name: "DIY, Gadgets & Second-Hand Finds",
1161
+ items: [
1162
+ {
1163
+ id: "diy-electronics-tools",
1164
+ name: "DIY Electronics & Tools",
1165
+ description: "LED lights, USB gadgets, circuit boards, repair kits, tech-themed toys, novelty items."
1166
+ },
1167
+ {
1168
+ id: "other-tech-finds",
1169
+ name: "Other Tech Finds",
1170
+ description: "Used electronics, smart gadgets, wearable tech, calculators, tablet stands, e-waste upcycles."
1171
+ },
1172
+ {
1173
+ id: "other-technology-innovation-items",
1174
+ name: "Other technology or innovation-related items",
1175
+ description: "Anything not covered but clearly tech-driven."
1176
+ }
1177
+ ]
1178
+ }
1179
+ ]
1475
1180
  }
1476
1181
  ];
1477
1182
 
1478
- // src/formFields/global.ts
1479
- var emailField = {
1480
- helperText: "Enter email address",
1481
- keyboardType: "email-address",
1482
- name: "email",
1483
- placeholder: "Email"
1484
- };
1485
- var companyContactFields = [
1486
- {
1487
- ...emailField,
1488
- name: "contactDetails.email"
1489
- },
1490
- {
1491
- helperText: "Enter your mobile phone number",
1492
- keyboardType: "phone-pad",
1493
- name: "contactDetails.mobilePhone",
1494
- placeholder: "Mobile Phone Number"
1495
- },
1183
+ // src/formFields/categories/foodAndBeverages.ts
1184
+ var foodAndBeverages = [
1496
1185
  {
1497
- helperText: "Enter your landline phone number",
1498
- keyboardType: "phone-pad",
1499
- name: "contactDetails.landlinePhone",
1500
- placeholder: "Landline Phone Number"
1186
+ id: "food-beverages",
1187
+ name: "Food & Beverages",
1188
+ description: "Fresh produce, drinks, sweet and savoury street food, ready-to-eat meals, and packaged goods.",
1189
+ subcategories: [
1190
+ {
1191
+ id: "fresh-food-groceries",
1192
+ name: "Fresh Food & Groceries",
1193
+ items: [
1194
+ {
1195
+ id: "fruits-vegetables",
1196
+ name: "Fruits & Vegetables",
1197
+ description: "Fresh seasonal fruit, organic vegetables, specialty produce, berries, tropical fruit, heritage varieties."
1198
+ },
1199
+ {
1200
+ id: "meat-seafood",
1201
+ name: "Meat & Seafood",
1202
+ description: "Butcher cuts, fresh fish, smoked meats, sausages, seafood platters, artisanal jerky."
1203
+ },
1204
+ {
1205
+ id: "dairy-eggs",
1206
+ name: "Dairy & Eggs",
1207
+ description: "Farm eggs, handmade cheeses, yoghurt, fresh milk, goat\u2019s milk products."
1208
+ },
1209
+ {
1210
+ id: "bakery-pastries",
1211
+ name: "Bakery & Pastries",
1212
+ description: "Freshly baked bread, sourdough, bagels, croissants, focaccia, traditional baked goods."
1213
+ },
1214
+ {
1215
+ id: "spices-condiments",
1216
+ name: "Spices & Condiments",
1217
+ description: "Dried herbs, spice blends, specialty salts, hot sauces, infused oils, chutneys."
1218
+ },
1219
+ {
1220
+ id: "packaged-specialty-foods",
1221
+ name: "Packaged & Specialty Foods",
1222
+ description: "Honey, jams, preserves, pickles, nut butters, sauces, pre-packaged snacks."
1223
+ },
1224
+ {
1225
+ id: "other-fresh-food-items",
1226
+ name: "Other fresh food items",
1227
+ description: "Items that don\u2019t fit above, e.g. fermented foods, plant-based substitutes."
1228
+ }
1229
+ ]
1230
+ },
1231
+ {
1232
+ id: "beverages-specialty-drinks",
1233
+ name: "Beverages & Specialty Drinks",
1234
+ items: [
1235
+ {
1236
+ id: "fresh-juices-smoothies",
1237
+ name: "Fresh Juices & Smoothies",
1238
+ description: "Cold-pressed juices, detox blends, fruit smoothies, tropical mixes."
1239
+ },
1240
+ {
1241
+ id: "coffee-teas",
1242
+ name: "Coffee & Teas",
1243
+ description: "Espresso, pour-over coffee, herbal teas, matcha, bubble tea, locally blended tea."
1244
+ },
1245
+ {
1246
+ id: "dairy-plant-based-drinks",
1247
+ name: "Dairy & Plant-Based Drinks",
1248
+ description: "Milkshakes, lassis, almond/oat milk drinks, coconut water."
1249
+ },
1250
+ {
1251
+ id: "alcoholic-beverages",
1252
+ name: "Alcoholic Beverages",
1253
+ description: "Local wines, craft beer, mead, cider, infused spirits, cocktail kits."
1254
+ },
1255
+ {
1256
+ id: "other-beverages",
1257
+ name: "Other beverages",
1258
+ description: "Kombucha, kefir, energy drinks, non-alcoholic wines or beers."
1259
+ }
1260
+ ]
1261
+ },
1262
+ {
1263
+ id: "savoury-prepared-foods-street-food",
1264
+ name: "Savoury Prepared Foods & Street Food",
1265
+ items: [
1266
+ {
1267
+ id: "local-specialties",
1268
+ name: "Local Specialties",
1269
+ description: "Meat pies, hangi, seafood chowder, fry bread, traditional NZ dishes."
1270
+ },
1271
+ {
1272
+ id: "asian-cuisine",
1273
+ name: "Asian Cuisine",
1274
+ description: "Sushi, bao buns, dumplings, ramen, satay, spring rolls, fried rice."
1275
+ },
1276
+ {
1277
+ id: "mediterranean-cuisine",
1278
+ name: "Mediterranean Cuisine",
1279
+ description: "Falafel, hummus wraps, souvlaki, Greek salad, dolma."
1280
+ },
1281
+ {
1282
+ id: "italian-delights",
1283
+ name: "Italian Delights",
1284
+ description: "Pizza, calzone, focaccia, fresh pasta, arancini."
1285
+ },
1286
+ {
1287
+ id: "bbq-grilled-foods",
1288
+ name: "BBQ & Grilled Foods",
1289
+ description: "Kebabs, grilled chicken, ribs, burgers, sausages."
1290
+ },
1291
+ {
1292
+ id: "savoury-crepes-pancakes",
1293
+ name: "Savoury Crepes & Pancakes",
1294
+ description: "Filled savoury crepes, mini savoury pancakes."
1295
+ },
1296
+ {
1297
+ id: "savoury-baked-goods-pastries",
1298
+ name: "Savoury Baked Goods & Pastries",
1299
+ description: "Quiches, savoury muffins, filled savoury pastries, empanadas."
1300
+ },
1301
+ {
1302
+ id: "vegan-vegetarian-dishes",
1303
+ name: "Vegan & Vegetarian Dishes",
1304
+ description: "Buddha bowls, plant-based burgers, salads, vegan sushi."
1305
+ },
1306
+ {
1307
+ id: "other-savoury-foods",
1308
+ name: "Other Savoury Foods",
1309
+ description: "Fusion dishes, mixed platters, savoury meal kits."
1310
+ }
1311
+ ]
1312
+ },
1313
+ {
1314
+ id: "sweet-prepared-foods",
1315
+ name: "Sweet Prepared Foods",
1316
+ items: [
1317
+ {
1318
+ id: "sweet-crepes-pancakes-fried-treats",
1319
+ name: "Sweet Crepes, Pancakes & Fried Treats",
1320
+ description: "Crepes, waffles, mini pancakes, muffins, doughnuts."
1321
+ },
1322
+ {
1323
+ id: "sweet-baked-goods-desserts",
1324
+ name: "Sweet Baked Goods & Desserts",
1325
+ description: "Cakes, pastries, slices, trifles, layered desserts."
1326
+ },
1327
+ {
1328
+ id: "fruit-based-snacks",
1329
+ name: "Fruit-Based Snacks",
1330
+ description: "Fruit skewers, dried fruit packs, chocolate-dipped fruit."
1331
+ },
1332
+ {
1333
+ id: "candy-confectionery",
1334
+ name: "Candy & Confectionery",
1335
+ description: "Fudge, handmade candies, toffee, nougat, brittle."
1336
+ },
1337
+ {
1338
+ id: "other-sweet-foods",
1339
+ name: "Other Sweet Foods",
1340
+ description: "Fusion desserts, sweet platters, sweet meal kits."
1341
+ }
1342
+ ]
1343
+ }
1344
+ ]
1501
1345
  }
1502
1346
  ];
1503
1347
 
1504
- // src/formFields/auth.ts
1505
- var loginFields = [
1506
- {
1507
- ...emailField,
1508
- required: true
1509
- },
1510
- {
1511
- helperText: "Enter password",
1512
- keyboardType: "default",
1513
- name: "password",
1514
- placeholder: "Password",
1515
- required: true,
1516
- secureTextEntry: true
1517
- }
1518
- ];
1519
- var registerFields = [
1520
- {
1521
- helperText: "Enter first name",
1522
- keyboardType: "default",
1523
- name: "firstName",
1524
- placeholder: "First Name",
1525
- required: true
1526
- },
1527
- {
1528
- helperText: "Enter last name",
1529
- keyboardType: "default",
1530
- name: "lastName",
1531
- placeholder: "Last Name",
1532
- required: true
1533
- },
1534
- {
1535
- ...emailField,
1536
- required: true
1537
- },
1538
- {
1539
- helperText: "Enter password",
1540
- keyboardType: "default",
1541
- name: "password",
1542
- placeholder: "Password",
1543
- required: true,
1544
- secureTextEntry: true
1545
- },
1546
- {
1547
- helperText: "Promotional code (optional)",
1548
- keyboardType: "default",
1549
- name: "promoCode",
1550
- placeholder: "Promotional Code",
1551
- required: false
1552
- }
1553
- ];
1554
- var requestPasswordResetFields = [
1348
+ // src/formFields/categories/handmadeAndLocalProducts.ts
1349
+ var handmadeAndLocalProducts = [
1555
1350
  {
1556
- ...emailField,
1557
- helperText: "Enter email address to reset your password",
1558
- required: true
1351
+ id: "handmade-local-products",
1352
+ name: "Handmade & Local Products",
1353
+ description: "Unique, handmade, or locally produced artisan goods.",
1354
+ subcategories: [
1355
+ {
1356
+ id: "home-living",
1357
+ name: "Home & Living",
1358
+ items: [
1359
+ {
1360
+ id: "ceramics-pottery",
1361
+ name: "Ceramics & Pottery",
1362
+ description: "Handmade mugs, vases, bowls, decorative plates, plant pots."
1363
+ },
1364
+ {
1365
+ id: "candles-home-scents",
1366
+ name: "Candles & Home Scents",
1367
+ description: "Soy candles, beeswax candles, wax melts, incense sticks, room sprays and herbal sachets."
1368
+ },
1369
+ {
1370
+ id: "botanical-crafts",
1371
+ name: "Botanical Crafts",
1372
+ description: "Dried-flower d\xE9cor and pressed-flower crafts"
1373
+ },
1374
+ {
1375
+ id: "textiles-embroidery",
1376
+ name: "Textiles & Embroidery",
1377
+ description: "Handsewn items, embroidered napkins, home linens, aprons, fabric gift wraps, handmade fabric bags, quilted goods, personalized textile gifts."
1378
+ },
1379
+ {
1380
+ id: "woodcraft-metalcraft",
1381
+ name: "Woodcraft & Metalcraft",
1382
+ description: "Wooden boards, handmade frames, sculptures, metal signs, furniture."
1383
+ },
1384
+ {
1385
+ id: "handmade-soaps-natural-body-goods",
1386
+ name: "Handmade Soaps & Natural Body Goods",
1387
+ description: "Handmade soaps, balms, oils, bath items"
1388
+ },
1389
+ {
1390
+ id: "seasonal-festive-crafts",
1391
+ name: "Seasonal & Festive Crafts",
1392
+ description: "Christmas, Easter and seasonal handmade decor"
1393
+ },
1394
+ {
1395
+ id: "other-home-living-products",
1396
+ name: "Other home & living products",
1397
+ description: "Items that don't fit above but serve home-related purposes."
1398
+ }
1399
+ ]
1400
+ },
1401
+ {
1402
+ id: "art-personal-expression",
1403
+ name: "Art & Personal Expression",
1404
+ items: [
1405
+ {
1406
+ id: "paintings-illustrations",
1407
+ name: "Paintings & Illustrations",
1408
+ description: "Paintings, canvas art, hand-drawn illustrations, digital prints, graphic art and calligraphy pieces."
1409
+ },
1410
+ {
1411
+ id: "sculptures-carvings",
1412
+ name: "Sculptures & Carvings ",
1413
+ description: "Sculptures made from wood, stone, metal, clay or resin, carved decorative pieces and artistic 3D works."
1414
+ },
1415
+ {
1416
+ id: "creative-handmade-alternative-art",
1417
+ name: "Creative Handmade & Alternative Art",
1418
+ description: "Handmade textile d\xE9cor, fabric ornaments, mixed-media art, creative craft pieces and modern handmade artworks."
1419
+ },
1420
+ {
1421
+ id: "handmade-mini-figures-decor",
1422
+ name: "Handmade Mini Figures & D\xE9cor",
1423
+ description: "Small handmade figures, tiny houses and crafted mini decorative items."
1424
+ },
1425
+ {
1426
+ id: "other-artistic-expressive-products",
1427
+ name: "Other Artistic or Expressive Products",
1428
+ description: "Custom artworks, specialty handmade d\xE9cor, unique crafts."
1429
+ }
1430
+ ]
1431
+ },
1432
+ {
1433
+ id: "handmade-jewellery-accessories-cultural-crafts",
1434
+ name: "Handmade Jewellery, Accessories & Cultural Crafts",
1435
+ items: [
1436
+ {
1437
+ id: "jewellery-handmade-items-nz-traditional-materials",
1438
+ name: "Jewellery & Handmade Items from NZ Traditional Materials",
1439
+ description: "Handmade jewellery and decorative or functional items crafted from pounamu, bone, wood and other traditional New Zealand materials."
1440
+ },
1441
+ {
1442
+ id: "maori-pasifika-cultural-crafts-clothing",
1443
+ name: "M\u0101ori & Pasifika Cultural Crafts and Clothing",
1444
+ description: "Culturally inspired handmade items, accessories and garments featuring M\u0101ori or Pasifika motifs, traditional patterns and regional craftsmanship."
1445
+ },
1446
+ {
1447
+ id: "traditional-handmade-clothing-jewellery-crafts-global-cultures",
1448
+ name: "Traditional Handmade Clothing, Jewellery & Crafts from Global Cultures",
1449
+ description: "Handcrafted clothing, jewellery and cultural items from diverse traditions \u2014 including Asian, African, European, Middle Eastern, Indian, Chinese, Japanese, Pacific, and other culturally significant handmade pieces."
1450
+ },
1451
+ {
1452
+ id: "other-handmade-cultural-items",
1453
+ name: "Other Handmade Cultural Items",
1454
+ description: "Unique or culturally inspired handmade pieces not specifically covered in the categories above."
1455
+ }
1456
+ ]
1457
+ },
1458
+ {
1459
+ id: "gift-ideas-accessories",
1460
+ name: "Gift Ideas & Accessories",
1461
+ items: [
1462
+ {
1463
+ id: "handmade-pens-keychains-fridge-magnets",
1464
+ name: "Handmade Pens, Keychains and Fridge Magnets",
1465
+ description: null
1466
+ },
1467
+ {
1468
+ id: "gift-packaging-wrapping-accessories",
1469
+ name: "Gift Packaging & Wrapping Accessories",
1470
+ description: null
1471
+ },
1472
+ {
1473
+ id: "handmade-crochet-knitting-fibre-crafts",
1474
+ name: "Handmade Crochet, Knitting & Fibre Crafts",
1475
+ description: "Handmade crochet and knitted items, fabric-based crafts, small decorative pieces, creative fibre artworks and unique handcrafted accessories."
1476
+ },
1477
+ {
1478
+ id: "handmade-toys-mini-play-items",
1479
+ name: "Handmade Toys & Mini Play Items",
1480
+ description: "small handmade toys, soft toys, wooden miniatures, crochet or felt play pieces"
1481
+ },
1482
+ {
1483
+ id: "other-small-handmade-gifts-accessories",
1484
+ name: "Other small handmade gifts or accessories",
1485
+ description: "Compact creative items made to surprise or delight."
1486
+ }
1487
+ ]
1488
+ }
1489
+ ]
1559
1490
  }
1560
1491
  ];
1561
- var resetPasswordFields = [
1562
- {
1563
- helperText: "Enter your new password",
1564
- keyboardType: "default",
1565
- name: "password",
1566
- placeholder: "Password",
1567
- required: true,
1568
- secureTextEntry: true
1569
- },
1492
+
1493
+ // src/formFields/categories/healthAndWellness.ts
1494
+ var healthAndWellness = [
1570
1495
  {
1571
- helperText: "Confirm your new password",
1572
- keyboardType: "default",
1573
- name: "confirmPassword",
1574
- placeholder: "Confirm Password",
1575
- required: true,
1576
- secureTextEntry: true
1496
+ id: "health-wellness",
1497
+ name: "Health & Wellness",
1498
+ description: "Natural products and services that promote wellbeing, body care, and holistic health.",
1499
+ subcategories: [
1500
+ {
1501
+ id: "body-skincare",
1502
+ name: "Body & Skincare",
1503
+ items: [
1504
+ {
1505
+ id: "skincare-body-products",
1506
+ name: "Skincare & Body Products",
1507
+ description: "Soaps, creams, lip balms, bath salts, bath bombs, body oils, natural deodorants."
1508
+ },
1509
+ {
1510
+ id: "other-body-care-items",
1511
+ name: "Other body care items",
1512
+ description: "Additional handmade or eco-conscious personal care goods."
1513
+ }
1514
+ ]
1515
+ },
1516
+ {
1517
+ id: "aromatherapy-herbal-wellness",
1518
+ name: "Aromatherapy & Herbal Wellness",
1519
+ items: [
1520
+ {
1521
+ id: "aromatherapy-herbal-remedies",
1522
+ name: "Aromatherapy & Herbal Remedies",
1523
+ description: "Essential oils, herbal balms, massage oils, salves, natural teas, rollers."
1524
+ },
1525
+ {
1526
+ id: "other-herbal-aroma-products",
1527
+ name: "Other herbal or aroma-based products",
1528
+ description: "Wellness blends, herb sachets, custom infusions."
1529
+ }
1530
+ ]
1531
+ },
1532
+ {
1533
+ id: "wellness-tools-accessories",
1534
+ name: "Wellness Tools & Accessories",
1535
+ items: [
1536
+ {
1537
+ id: "wellness-accessories",
1538
+ name: "Wellness Accessories",
1539
+ description: "Yoga mats, meditation cushions, eye pillows, incense, smudging sticks, eco water bottles, wellness journals."
1540
+ },
1541
+ {
1542
+ id: "spiritual-tools-crystals",
1543
+ name: "Spiritual Tools & Crystals",
1544
+ description: "Healing crystals, gemstone bracelets, pendulums, sprays, spiritual kits, altar decor."
1545
+ },
1546
+ {
1547
+ id: "other-wellness-spiritual-items",
1548
+ name: "Other wellness or spiritual items",
1549
+ description: "Items that aid relaxation, focus, or inner work."
1550
+ }
1551
+ ]
1552
+ }
1553
+ ]
1577
1554
  }
1578
1555
  ];
1579
- var validateVerificationTokenFields = [
1580
- {
1581
- ...emailField,
1582
- disabled: true,
1583
- helperText: "Your email address"
1584
- },
1556
+
1557
+ // src/formFields/categories/homeGardenHousehold.ts
1558
+ var homeGardenHousehold = [
1585
1559
  {
1586
- helperText: "Enter the Verification code sent to you by email",
1587
- keyboardType: "number-pad",
1588
- name: "verificationToken",
1589
- placeholder: "Verification code",
1590
- required: true
1560
+ id: "home-garden-household-goods",
1561
+ name: "Home, Garden & Household Goods",
1562
+ description: "Functional, decorative, and eco-conscious products designed for everyday use indoors and outdoors.",
1563
+ subcategories: [
1564
+ {
1565
+ id: "home-decor-living",
1566
+ name: "Home Decor & Living",
1567
+ items: [
1568
+ {
1569
+ id: "home-decor",
1570
+ name: "Home Decor",
1571
+ description: "Cushions, wall art, table runners, vases, trays, mirrors, handmade centerpieces."
1572
+ },
1573
+ {
1574
+ id: "kitchenware-dining",
1575
+ name: "Kitchenware & Dining",
1576
+ description: "Mugs, bowls, cutting boards, utensils, jars, coasters, kitchen textiles."
1577
+ },
1578
+ {
1579
+ id: "mini-figures-decor",
1580
+ name: "Mini Figures & D\xE9cor",
1581
+ description: "handmade or non-handmade small figures, tiny houses and miniature decorative items."
1582
+ },
1583
+ {
1584
+ id: "other-indoor-home-items",
1585
+ name: "Other indoor home items",
1586
+ description: "Any decorative or practical household items not listed above."
1587
+ }
1588
+ ]
1589
+ },
1590
+ {
1591
+ id: "cleaning-eco-essentials",
1592
+ name: "Cleaning & Eco Essentials",
1593
+ items: [
1594
+ {
1595
+ id: "cleaning-eco-supplies",
1596
+ name: "Cleaning & Eco Supplies",
1597
+ description: "Beeswax wraps, reusable cloths, brushes, natural soaps, detergent bars, eco sponges."
1598
+ },
1599
+ {
1600
+ id: "other-eco-cleaning-items",
1601
+ name: "Other eco or cleaning items",
1602
+ description: "Environmentally friendly goods not listed above."
1603
+ }
1604
+ ]
1605
+ },
1606
+ {
1607
+ id: "garden-outdoor-living",
1608
+ name: "Garden & Outdoor Living",
1609
+ items: [
1610
+ {
1611
+ id: "plants-botanical-decor",
1612
+ name: "Plants & Botanical Decor",
1613
+ description: "Potted herbs, succulents, dried flowers, terrariums, plant-based ornaments."
1614
+ },
1615
+ {
1616
+ id: "fresh-flowers-botanical-bouquets",
1617
+ name: "Fresh Flowers & Botanical Bouquets",
1618
+ description: "Cut flowers, seasonal bouquets, simple floral arrangements, native flower selections, and other fresh botanical items."
1619
+ },
1620
+ {
1621
+ id: "natural-decor-nature-inspired-elements",
1622
+ name: "Natural Decor & Nature-Inspired Elements",
1623
+ description: "Seashell d\xE9cor, driftwood pieces, sand ornaments, natural wood accents, stone or mineral decorations, and other nature-based decorative items."
1624
+ },
1625
+ {
1626
+ id: "garden-tools-outdoor-items",
1627
+ name: "Garden Tools & Outdoor Items",
1628
+ description: "Plant markers, garden signs, stakes, small tools, wind chimes, gifts."
1629
+ },
1630
+ {
1631
+ id: "other-outdoor-garden-products",
1632
+ name: "Other outdoor or garden products",
1633
+ description: "Functional or decorative items for outside use."
1634
+ }
1635
+ ]
1636
+ }
1637
+ ]
1591
1638
  }
1592
1639
  ];
1593
1640
 
1594
- // src/formFields/user.ts
1595
- var profileFields = [
1596
- {
1597
- ...emailField,
1598
- disabled: true,
1599
- helperText: "Email cannot be changed"
1600
- },
1601
- {
1602
- helperText: "Enter first name",
1603
- keyboardType: "default",
1604
- name: "firstName",
1605
- placeholder: "First Name"
1606
- },
1607
- {
1608
- helperText: "Enter last name",
1609
- keyboardType: "default",
1610
- name: "lastName",
1611
- placeholder: "Last Name"
1612
- },
1613
- {
1614
- helperText: "Enter your new password",
1615
- keyboardType: "default",
1616
- name: "password",
1617
- placeholder: "Password",
1618
- secureTextEntry: true
1619
- },
1641
+ // src/formFields/categories/petProductsAndAnimalGoods.ts
1642
+ var petProductsAndAnimalGoods = [
1620
1643
  {
1621
- helperText: "Confirm your new password",
1622
- keyboardType: "default",
1623
- name: "confirmPassword",
1624
- placeholder: "Confirm Password",
1625
- secureTextEntry: true
1644
+ id: "pet-products-animal-goods",
1645
+ name: "Pet Products & Animal Goods",
1646
+ description: "Items for pets, pet lovers, or animal-themed market stalls.",
1647
+ subcategories: [
1648
+ {
1649
+ id: "products-for-pets",
1650
+ name: "Products for Pets",
1651
+ items: [
1652
+ {
1653
+ id: "pet-food-treats",
1654
+ name: "Pet Food & Treats",
1655
+ description: "Homemade dog biscuits, cat snacks, natural chews, pet-safe cakes, training treats."
1656
+ },
1657
+ {
1658
+ id: "apparel-toys-accessories",
1659
+ name: "Apparel, Toys & Accessories",
1660
+ description: "Leashes, collars, harnesses, toys, grooming tools, beds, travel gear, jumpers, bandanas."
1661
+ },
1662
+ {
1663
+ id: "other-pet-products",
1664
+ name: "Other pet products",
1665
+ description: "Any pet-related items not listed above."
1666
+ }
1667
+ ]
1668
+ },
1669
+ {
1670
+ id: "small-pets-birds-exotic-animals",
1671
+ name: "Small Pets, Birds & Exotic Animals",
1672
+ items: [
1673
+ {
1674
+ id: "products-small-pets-birds-exotics",
1675
+ name: "Products for Small Pets, Birds & Exotics",
1676
+ description: "Toys, enclosures, perches, feeding bowls, bedding, habitat decor, transport gear, and care items for birds, rabbits, hamsters, reptiles, turtles, aquarium pets, and other exotic species."
1677
+ },
1678
+ {
1679
+ id: "other-small-exotic-animal-items",
1680
+ name: "Other small or exotic animal items",
1681
+ description: "Unusual accessories for non-mainstream pets."
1682
+ }
1683
+ ]
1684
+ },
1685
+ {
1686
+ id: "farm-working-animals",
1687
+ name: "Farm & Working Animals",
1688
+ items: [
1689
+ {
1690
+ id: "goods-for-farm-working-animals",
1691
+ name: "Goods for Farm & Working Animals",
1692
+ description: "Treats, care products, equipment, signage and accessories for chickens, goats, alpacas, horses, and other livestock."
1693
+ },
1694
+ {
1695
+ id: "other-farm-animal-items",
1696
+ name: "Other farm animal-related items",
1697
+ description: "Rural, barnyard, or utility-specific gear not listed above."
1698
+ }
1699
+ ]
1700
+ },
1701
+ {
1702
+ id: "animal-themed-gifts-custom-items",
1703
+ name: "Animal-Themed Gifts & Custom Items",
1704
+ items: [
1705
+ {
1706
+ id: "pet-art-custom-gifts",
1707
+ name: "Pet Art & Custom Gifts",
1708
+ description: "Pet portraits, name tags, personalized bowls, breed-specific items, pet-themed home decor and stationery."
1709
+ },
1710
+ {
1711
+ id: "other-animal-themed-gifts",
1712
+ name: "Other animal-themed gifts",
1713
+ description: "Artistic or sentimental items made for animal lovers."
1714
+ }
1715
+ ]
1716
+ }
1717
+ ]
1626
1718
  }
1627
1719
  ];
1628
1720
 
1629
- // src/formFields/categories/clothingAndFashion.ts
1630
- var clothingAndFashion = [
1721
+ // src/formFields/categories/serviceAndExperience.ts
1722
+ var serviceAndExperience = [
1631
1723
  {
1632
- id: "clothing-fashion",
1633
- name: "Clothing & Fashion",
1634
- description: "New, handmade, or upcycled clothing and accessories with a creative twist.",
1724
+ id: "services-experiences",
1725
+ name: "Services & Experiences",
1726
+ description: "On-site offerings that provide entertainment, personal care, learning, or interactive activities beyond products.",
1635
1727
  subcategories: [
1636
1728
  {
1637
- id: "apparel-babywear",
1638
- name: "Apparel & Babywear",
1729
+ id: "personal-care-body-art",
1730
+ name: "Personal Care & Body Art",
1639
1731
  items: [
1640
1732
  {
1641
- id: "apparel",
1642
- name: "Apparel",
1643
- description: "Dresses, t-shirts, jumpers, rompers, sets, kidswear."
1733
+ id: "nails-handcare",
1734
+ name: "Nails & Handcare",
1735
+ description: "Nail painting, decoration, quick manicures, temporary nail extensions."
1644
1736
  },
1645
1737
  {
1646
- id: "baby-toddler-apparel",
1647
- name: "Baby & Toddler Apparel",
1648
- description: "Handmade baby clothes, soft shoes, bibs, hats, knitted sets."
1738
+ id: "hair-styling-braiding",
1739
+ name: "Hair Styling & Braiding",
1740
+ description: "Hair braiding, plaits, child-friendly festival hairstyles."
1649
1741
  },
1650
1742
  {
1651
- id: "upcycled-fashion",
1652
- name: "Upcycled Fashion",
1653
- description: "Reworked garments, patchwork pieces, restyled vintage."
1743
+ id: "face-body-decoration",
1744
+ name: "Face & Body Decoration",
1745
+ description: "Henna, glitter tattoos, face painting, light makeup, eyelash styling, professional tattooing (where permitted)."
1654
1746
  },
1655
1747
  {
1656
- id: "other-wearable-items",
1657
- name: "Other wearable items",
1658
- description: "Unique clothing not listed above."
1748
+ id: "other-beauty-grooming-services",
1749
+ name: "Other beauty or grooming services",
1750
+ description: "Small-scale personal care options offered on-site."
1659
1751
  }
1660
1752
  ]
1661
1753
  },
1662
1754
  {
1663
- id: "fashion-accessories",
1664
- name: "Fashion Accessories",
1755
+ id: "practical-wellness-services",
1756
+ name: "Practical & Wellness Services",
1665
1757
  items: [
1666
1758
  {
1667
- id: "accessories",
1668
- name: "Accessories",
1669
- description: "Scarves, belts, gloves, hats, headbands, caps."
1759
+ id: "mobile-practical-services",
1760
+ name: "Mobile & Practical Services",
1761
+ description: "Shoe repair, phone repairs, knife sharpening, key cutting, battery replacement, bike repairs, engraving."
1670
1762
  },
1671
1763
  {
1672
- id: "shoes",
1673
- name: "Shoes",
1674
- description: "Handmade shoes, baby booties, sandals, slippers."
1764
+ id: "wellness-alternative-therapies",
1765
+ name: "Wellness & Alternative Therapies",
1766
+ description: "Massage, aromatherapy, reflexology, energy healing (e.g. Reiki), natural consultations."
1675
1767
  },
1676
1768
  {
1677
- id: "bags-wallets",
1678
- name: "Bags & Wallets",
1679
- description: "Leather bags, fabric purses, wallets, backpacks, totes."
1769
+ id: "other-service-based-offerings",
1770
+ name: "Other service-based offerings",
1771
+ description: "Wellness or functional services not listed above."
1772
+ }
1773
+ ]
1774
+ },
1775
+ {
1776
+ id: "creative-educational-experiences",
1777
+ name: "Creative & Educational Experiences",
1778
+ items: [
1779
+ {
1780
+ id: "creative-workshops-maker-services",
1781
+ name: "Creative Workshops & Maker Services",
1782
+ description: "Candle making, pottery, jewelry crafting, soap or balm workshops, calligraphy, seasonal crafts."
1680
1783
  },
1681
1784
  {
1682
- id: "other-accessories",
1683
- name: "Other accessories",
1684
- description: "Brooches, pins, or hybrid functional items."
1785
+ id: "education-awareness-stalls",
1786
+ name: "Education & Awareness Stalls",
1787
+ description: "Eco awareness, cultural storytelling, local history, first aid demos, health booths, sustainability education, kids\u2019 science displays."
1788
+ },
1789
+ {
1790
+ id: "other-creative-educational-services",
1791
+ name: "Other creative or educational services",
1792
+ description: "Informal learning, demonstrations, or community-focused sessions."
1685
1793
  }
1686
1794
  ]
1687
1795
  },
1688
1796
  {
1689
- id: "jewelry-creative-wearables",
1690
- name: "Jewelry & Creative Wearables",
1797
+ id: "kids-activities-family-fun",
1798
+ name: "Kids\u2019 Activities & Family Fun",
1691
1799
  items: [
1692
1800
  {
1693
- id: "jewelry",
1694
- name: "Jewelry",
1695
- description: "Necklaces, earrings, bracelets, rings, anklets."
1801
+ id: "kids-activities-fun",
1802
+ name: "Kids\u2019 Activities & Fun",
1803
+ description: "Face painting, glitter tattoos, pony rides, bouncy castles, small amusement rides, balloon twisting, animal petting zones."
1696
1804
  },
1697
1805
  {
1698
- id: "other-creative-wearables",
1699
- name: "Other creative wearables",
1700
- description: "Wearable art, statement pieces, bold handmade designs."
1806
+ id: "other-family-oriented-activities",
1807
+ name: "Other family-oriented activities",
1808
+ description: "On-site entertainment that engages children or family groups."
1809
+ }
1810
+ ]
1811
+ }
1812
+ ]
1813
+ }
1814
+ ];
1815
+
1816
+ // src/formFields/categories/toysChildren.ts
1817
+ var toysChildren = [
1818
+ {
1819
+ id: "toys-childrens-items",
1820
+ name: "Toys & Children\u2019s Items",
1821
+ description: "Products and services made for or inspired by children.",
1822
+ subcategories: [
1823
+ {
1824
+ id: "toys-playthings",
1825
+ name: "Toys & Playthings",
1826
+ items: [
1827
+ {
1828
+ id: "toys-classic-electric-character",
1829
+ name: "Toys \u2013 Classic, Electric & Character-Based",
1830
+ description: "Building blocks, dolls, puzzles, plush animals, toy vehicles, remote-control toys, light-up gadgets, character figurines, themed playsets."
1831
+ },
1832
+ {
1833
+ id: "handmade-toys-crafty-playthings",
1834
+ name: "Handmade Toys & Crafty Playthings",
1835
+ description: "Wooden puzzles, crocheted animals, felt toys, fabric dolls, DIY kits, nature-inspired games, sensory toys."
1836
+ },
1837
+ {
1838
+ id: "other-play-items",
1839
+ name: "Other play items",
1840
+ description: "Toys not listed above, including limited-edition or hybrid items."
1701
1841
  }
1702
1842
  ]
1703
1843
  },
1704
1844
  {
1705
- id: "traditional-cultural-clothing-accessories",
1706
- name: "Traditional & Cultural Clothing and Accessories",
1845
+ id: "educational-developmental",
1846
+ name: "Educational & Developmental",
1707
1847
  items: [
1708
1848
  {
1709
- id: "traditional-clothing-accessories",
1710
- name: "Traditional Clothing & Accessories ",
1711
- description: "raditional clothing, jewellery, accessories and footwear from around the world, including both handmade and non-handmade items."
1849
+ id: "educational-developmental-tools",
1850
+ name: "Educational & Developmental Tools",
1851
+ description: "STEM kits, Montessori toys, storybooks, picture books, flashcards, early learning games, language tools."
1712
1852
  },
1713
1853
  {
1714
- id: "other-traditional-cultural-items",
1715
- name: "Other Traditional & Cultural Items",
1716
- description: "traditional or culturally inspired wearables and decorative cultural pieces such as plates, table linens and similar items."
1854
+ id: "other-educational-experience-based-items",
1855
+ name: "Other educational or experience-based items",
1856
+ description: "Creative experiences or learning aids not listed above."
1857
+ }
1858
+ ]
1859
+ },
1860
+ {
1861
+ id: "baby-kidswear-accessories",
1862
+ name: "Baby & Kidswear + Accessories",
1863
+ items: [
1864
+ {
1865
+ id: "baby-kidswear-accessories",
1866
+ name: "Baby & Kidswear + Accessories",
1867
+ description: "Handmade baby clothes, toddler outfits, bibs, hats, headbands, bags, pacifier clips, soft shoes."
1868
+ },
1869
+ {
1870
+ id: "baby-developmental-soft-toys",
1871
+ name: "Baby Developmental Soft Toys",
1872
+ description: "Sensory toys, rattles, fabric books, teething items, high-contrast cards, and early-skill. Montessori materials designed to support infants\u2019 cognitive and motor development."
1873
+ },
1874
+ {
1875
+ id: "other-childrens-clothing-accessories",
1876
+ name: "Other children\u2019s clothing or accessories",
1877
+ description: "Unique fashion or functional pieces for kids."
1717
1878
  }
1718
1879
  ]
1719
1880
  }
@@ -1721,73 +1882,90 @@ var clothingAndFashion = [
1721
1882
  }
1722
1883
  ];
1723
1884
 
1724
- // src/formFields/categories/electronicsAndTechnology.ts
1725
- var electronicsAndTechnology = [
1885
+ // src/formFields/categories/vintageAndAntique.ts
1886
+ var vintageAndAntique = [
1726
1887
  {
1727
- id: "electronics-technology",
1728
- name: "Electronics & Technology",
1729
- description: "New, second-hand, or handmade tech and digital items commonly found at markets.",
1888
+ id: "vintage-antique",
1889
+ name: "Vintage & Antique",
1890
+ description: "Unique, historic, or nostalgic items with collectible or decorative value.",
1730
1891
  subcategories: [
1731
1892
  {
1732
- id: "mobile-everyday-tech",
1733
- name: "Mobile & Everyday Tech",
1893
+ id: "vintage-antique-clothing-accessories",
1894
+ name: "Vintage & Antique Clothing & Accessories",
1734
1895
  items: [
1735
1896
  {
1736
- id: "mobile-phone-accessories",
1737
- name: "Mobile & Phone Accessories",
1738
- description: "Phone cases, holders, screen protectors, charging cables, power banks, grips."
1897
+ id: "clothing-vintage-fashion",
1898
+ name: "Clothing and wearable items from past eras",
1899
+ description: "Vintage dresses, jackets, hats, gloves, belts, bags, shoes, jewellery."
1739
1900
  },
1740
1901
  {
1741
- id: "other-mobile-gadgets",
1742
- name: "Other mobile gadgets",
1743
- description: "Stands, styluses, SIM tools, cleaning kits, wallet accessories."
1902
+ id: "other-clothing-accessory-items",
1903
+ name: "Other clothing-related items",
1904
+ description: "Hair clips, brooches, pins, scarf rings, small fashion accessories."
1905
+ }
1906
+ ]
1907
+ },
1908
+ {
1909
+ id: "collectibles-memorabilia",
1910
+ name: "Collectibles & Memorabilia",
1911
+ items: [
1912
+ {
1913
+ id: "small-collectible-items",
1914
+ name: "Small collectible items with historical or nostalgic significance",
1915
+ description: "Coins, stamps, toys, postcards, comics, sports cards, vintage packaging."
1916
+ },
1917
+ {
1918
+ id: "other-collectible-items",
1919
+ name: "Other collectible items",
1920
+ description: "Rare small objects, miniature figurines, special-edition items."
1744
1921
  }
1745
1922
  ]
1746
1923
  },
1747
1924
  {
1748
- id: "audio-music-creative-tech",
1749
- name: "Audio, Music & Creative Tech",
1925
+ id: "homewares-decor-curiosities",
1926
+ name: "Homewares, Decor & Curiosities",
1750
1927
  items: [
1751
1928
  {
1752
- id: "audio-music-tech",
1753
- name: "Audio & Music Tech",
1754
- description: "Portable speakers, headphones, mini radios, Bluetooth adapters, sound accessories."
1755
- },
1756
- {
1757
- id: "instruments-music-gear",
1758
- name: "Instruments & Music Gear",
1759
- description: "Small electronic instruments, DIY synth kits, drum pads, loop machines."
1929
+ id: "decorative-functional-vintage-items",
1930
+ name: "Decorative or functional items with a vintage or antique aesthetic",
1931
+ description: "Teacups, plates, vases, mirrors, clocks, furniture, old tools, lanterns, typewriters, curiosities."
1760
1932
  },
1761
1933
  {
1762
- id: "recording-creative-devices",
1763
- name: "Recording & Creative Devices",
1764
- description: "USB microphones, podcast tools, voice recorders, mobile lighting, content tools."
1934
+ id: "handmade-vintage-art",
1935
+ name: "Handmade vintage art",
1936
+ description: "Paintings, sculptures, crafted pieces."
1765
1937
  },
1766
1938
  {
1767
- id: "other-audio-music-items",
1768
- name: "Other audio or music-related items",
1769
- description: "Musical gadgets or creative gear not listed above."
1939
+ id: "other-home-decor-items",
1940
+ name: "Other home or decor items",
1941
+ description: "Decorative pieces not listed above, unique household objects."
1770
1942
  }
1771
1943
  ]
1772
1944
  },
1773
1945
  {
1774
- id: "diy-gadgets-secondhand-finds",
1775
- name: "DIY, Gadgets & Second-Hand Finds",
1946
+ id: "vintage-media-printed-nostalgia",
1947
+ name: "Vintage Media & Printed Nostalgia",
1776
1948
  items: [
1777
1949
  {
1778
- id: "diy-electronics-tools",
1779
- name: "DIY Electronics & Tools",
1780
- description: "LED lights, USB gadgets, circuit boards, repair kits, tech-themed toys, novelty items."
1950
+ id: "older-media-printed-works",
1951
+ name: "Older media formats and printed works",
1952
+ description: "Vinyl records, cassette tapes, CDs, DVDs, books, magazines, board games, posters."
1781
1953
  },
1782
1954
  {
1783
- id: "other-tech-finds",
1784
- name: "Other Tech Finds",
1785
- description: "Used electronics, smart gadgets, wearable tech, calculators, tablet stands, e-waste upcycles."
1786
- },
1955
+ id: "other-media-printed-items",
1956
+ name: "Other media or printed items",
1957
+ description: "Maps, manuals, leaflets, out-of-print materials."
1958
+ }
1959
+ ]
1960
+ },
1961
+ {
1962
+ id: "other-vintage-antique-items",
1963
+ name: "Other Vintage & Antique Items",
1964
+ items: [
1787
1965
  {
1788
- id: "other-technology-innovation-items",
1789
- name: "Other technology or innovation-related items",
1790
- description: "Anything not covered but clearly tech-driven."
1966
+ id: "any-vintage-antique-items-not-listed",
1967
+ name: "Any vintage or antique items not listed above",
1968
+ description: "Unique, rare or uncategorised pieces."
1791
1969
  }
1792
1970
  ]
1793
1971
  }
@@ -1795,831 +1973,822 @@ var electronicsAndTechnology = [
1795
1973
  }
1796
1974
  ];
1797
1975
 
1798
- // src/formFields/categories/foodAndBeverages.ts
1799
- var foodAndBeverages = [
1976
+ // src/formFields/categories/index.ts
1977
+ var categoryColors = {
1978
+ "clothing-fashion": "#9D4EDD",
1979
+ "electronics-technology": "#3AF3FF",
1980
+ "food-beverages": "#FF0D1F",
1981
+ "handmade-local-products": "#EE7E54",
1982
+ "health-wellness": "#E23794",
1983
+ "home-garden-household-goods": "#067325",
1984
+ "pet-products-animal-goods": "#68E788",
1985
+ "services-experiences": "#2E16A5",
1986
+ "toys-childrens-items": "#FFF966",
1987
+ "vintage-antique": "#8D6748"
1988
+ };
1989
+ var assignColorToCategories = (categories) => {
1990
+ const result = categories.map((category) => ({
1991
+ ...category,
1992
+ color: categoryColors[category.id]
1993
+ }));
1994
+ return result;
1995
+ };
1996
+ var availableCategories = assignColorToCategories([
1997
+ ...foodAndBeverages,
1998
+ ...handmadeAndLocalProducts,
1999
+ ...clothingAndFashion,
2000
+ ...homeGardenHousehold,
2001
+ ...toysChildren,
2002
+ ...healthAndWellness,
2003
+ ...electronicsAndTechnology,
2004
+ ...vintageAndAntique,
2005
+ ...petProductsAndAnimalGoods,
2006
+ ...serviceAndExperience
2007
+ ]);
2008
+
2009
+ // src/eventStallholders/eventStallholderFilters.ts
2010
+ function eventStartDatesSet(dateTime) {
2011
+ return new Set((dateTime ?? []).map((date) => date.startDate));
2012
+ }
2013
+ function hasMatchingEventDate(vendorStartDates, eventStartDates) {
2014
+ return vendorStartDates.some((startDate) => eventStartDates.has(startDate));
2015
+ }
2016
+ function matchesSelectedDate(vendorStartDates, selectedDate) {
2017
+ if (!selectedDate) {
2018
+ return true;
2019
+ }
2020
+ return vendorStartDates.includes(selectedDate);
2021
+ }
2022
+ function matchesCategory(categoryNames, selectedCategory) {
2023
+ if (!selectedCategory) {
2024
+ return true;
2025
+ }
2026
+ return categoryNames.includes(selectedCategory);
2027
+ }
2028
+ function getRegisteredVendorStartDates(vendor) {
2029
+ const relations = vendor.relations ?? [];
2030
+ return relations.flatMap(
2031
+ (relation) => (relation.relationDates ?? []).map(
2032
+ (relationDate) => relationDate.dateTime.startDate
2033
+ )
2034
+ );
2035
+ }
2036
+ function getRegisteredVendorCategoryNames(vendor) {
2037
+ return (vendor.categories ?? []).map((category) => category.name);
2038
+ }
2039
+ function getUnregisteredVendorStartDates(vendor) {
2040
+ return (vendor.invitations ?? []).flatMap(
2041
+ (invitation) => invitation.dateTime.map((date) => date.startDate)
2042
+ );
2043
+ }
2044
+ function getUnregisteredVendorCategoryNames(vendor) {
2045
+ return availableCategories.filter(
2046
+ (category) => category.id && vendor.categoryIds.includes(category.id)
2047
+ ).map((category) => category.name);
2048
+ }
2049
+ function filterRegisteredVendorsForEvent(vendors, eventStartDates, selectedDate, selectedCategory) {
2050
+ if (!vendors) {
2051
+ return [];
2052
+ }
2053
+ return vendors.filter((vendor) => {
2054
+ const startDates = getRegisteredVendorStartDates(vendor);
2055
+ return hasMatchingEventDate(startDates, eventStartDates) && matchesSelectedDate(startDates, selectedDate) && matchesCategory(
2056
+ getRegisteredVendorCategoryNames(vendor),
2057
+ selectedCategory
2058
+ );
2059
+ });
2060
+ }
2061
+ function filterUnregisteredVendorsForEvent(vendors, eventStartDates, selectedDate, selectedCategory) {
2062
+ return vendors.filter((vendor) => {
2063
+ const startDates = getUnregisteredVendorStartDates(vendor);
2064
+ return hasMatchingEventDate(startDates, eventStartDates) && matchesSelectedDate(startDates, selectedDate) && matchesCategory(
2065
+ getUnregisteredVendorCategoryNames(vendor),
2066
+ selectedCategory
2067
+ );
2068
+ });
2069
+ }
2070
+ function filterRegisteredVendorsByEventDatesOnly(vendors, eventStartDates) {
2071
+ if (!vendors) {
2072
+ return [];
2073
+ }
2074
+ return vendors.filter(
2075
+ (vendor) => hasMatchingEventDate(
2076
+ getRegisteredVendorStartDates(vendor),
2077
+ eventStartDates
2078
+ )
2079
+ );
2080
+ }
2081
+ function filterUnregisteredVendorsByEventDatesOnly(vendors, eventStartDates) {
2082
+ return vendors.filter(
2083
+ (vendor) => hasMatchingEventDate(
2084
+ getUnregisteredVendorStartDates(vendor),
2085
+ eventStartDates
2086
+ )
2087
+ );
2088
+ }
2089
+ function collectStallholderStartDates(registeredVendors, unregisteredVendors = []) {
2090
+ return [
2091
+ ...registeredVendors.flatMap(getRegisteredVendorStartDates),
2092
+ ...unregisteredVendors.flatMap(getUnregisteredVendorStartDates)
2093
+ ];
2094
+ }
2095
+ function getEventDatesWithStallholders(eventDateTime, stallholderStartDates) {
2096
+ if (!eventDateTime?.length) {
2097
+ return [];
2098
+ }
2099
+ const startDates = new Set(stallholderStartDates);
2100
+ return sortDatesChronologically(
2101
+ eventDateTime.filter((date) => startDates.has(date.startDate))
2102
+ );
2103
+ }
2104
+ function getStallholderCategoryNames(registeredVendors, unregisteredVendors = []) {
2105
+ const names = [
2106
+ ...registeredVendors.flatMap(getRegisteredVendorCategoryNames),
2107
+ ...unregisteredVendors.flatMap(getUnregisteredVendorCategoryNames)
2108
+ ];
2109
+ return Array.from(new Set(names));
2110
+ }
2111
+ function getStallholderCategoryOptions(registeredVendors, unregisteredVendors = []) {
2112
+ return getStallholderCategoryNames(
2113
+ registeredVendors,
2114
+ unregisteredVendors
2115
+ ).map((name) => ({
2116
+ label: name,
2117
+ value: name
2118
+ }));
2119
+ }
2120
+ function getEventStallholderEmptyMessage(hasAnyStallholdersForEvent, selectedDate) {
2121
+ return hasAnyStallholdersForEvent && selectedDate ? "No stallholders found for this event date." : "No stallholders found for this event.";
2122
+ }
2123
+
2124
+ // src/vendorEvents/vendorEventFilters.ts
2125
+ function relationHasSelectedDate(relation, selectedDate) {
2126
+ return relation.relationDates?.some(
2127
+ (date) => date.dateTime.startDate === selectedDate
2128
+ ) ?? false;
2129
+ }
2130
+ function eventHasSelectedDate(event, selectedDate) {
2131
+ return event.relations?.some(
2132
+ (relation) => relationHasSelectedDate(relation, selectedDate)
2133
+ ) ?? false;
2134
+ }
2135
+ function filterVendorEventsBySelectedDate(events, selectedDate) {
2136
+ if (!events) {
2137
+ return [];
2138
+ }
2139
+ if (!selectedDate) {
2140
+ return events;
2141
+ }
2142
+ return events.filter((event) => eventHasSelectedDate(event, selectedDate));
2143
+ }
2144
+ function collectVendorEventRelationDateTimes(events) {
2145
+ if (!events?.length) {
2146
+ return [];
2147
+ }
2148
+ return events.flatMap(
2149
+ (event) => (event.relations ?? []).flatMap(
2150
+ (relation) => (relation.relationDates ?? []).map(
2151
+ (relationDate) => relationDate.dateTime
2152
+ )
2153
+ )
2154
+ );
2155
+ }
2156
+ function getVendorEventRelationStartDates(events) {
2157
+ const sortedDates = sortDatesChronologically(
2158
+ collectVendorEventRelationDateTimes(events)
2159
+ );
2160
+ const uniqueStartDates = [];
2161
+ for (const dateTime of sortedDates) {
2162
+ if (!uniqueStartDates.includes(dateTime.startDate)) {
2163
+ uniqueStartDates.push(dateTime.startDate);
2164
+ }
2165
+ }
2166
+ return uniqueStartDates;
2167
+ }
2168
+ function getVendorEventRelationDateOptions(events) {
2169
+ return getVendorEventRelationStartDates(events).map((startDate) => ({
2170
+ label: startDate,
2171
+ value: startDate
2172
+ }));
2173
+ }
2174
+ function getVendorEventsEmptyMessage() {
2175
+ return "No events found.";
2176
+ }
2177
+
2178
+ // src/formFields/vendor/vendorInfo.ts
2179
+ var vendorElectricity = {
2180
+ details: {
2181
+ helperText: "Please describe details e.g. amps, voltage, etc.",
2182
+ isTextArea: true,
2183
+ name: "requirements.electricity.details",
2184
+ placeholder: "Electricity requirements"
2185
+ },
2186
+ isRequired: {
2187
+ name: "requirements.electricity.isRequired",
2188
+ placeholder: "Do you require electricity?"
2189
+ }
2190
+ };
2191
+ var vendorGazebo = {
2192
+ details: {
2193
+ helperText: "Please describe details e.g. size, etc.",
2194
+ isTextArea: true,
2195
+ name: "requirements.gazebo.details",
2196
+ placeholder: "Gazebo requirements"
2197
+ },
2198
+ isRequired: {
2199
+ name: "requirements.gazebo.isRequired",
2200
+ placeholder: "Do you require Gazebo?"
2201
+ }
2202
+ };
2203
+ var vendorTable = {
2204
+ details: {
2205
+ helperText: "Please describe details e.g. size, etc.",
2206
+ isTextArea: true,
2207
+ name: "requirements.table.details",
2208
+ placeholder: "Table requirements"
2209
+ },
2210
+ isRequired: {
2211
+ name: "requirements.table.isRequired",
2212
+ placeholder: "Do you require Table?"
2213
+ }
2214
+ };
2215
+ var vendorPriceRange = {
2216
+ max: {
2217
+ helperText: "Product maximum price",
2218
+ name: "product.priceRange.max",
2219
+ placeholder: "Maximum price: "
2220
+ },
2221
+ min: {
2222
+ helperText: "Product minimum price",
2223
+ name: "product.priceRange.min",
2224
+ placeholder: "Minimum price: "
2225
+ }
2226
+ };
2227
+ var vendorStallSize = {
2228
+ depth: {
2229
+ helperText: "Stall size in depth",
2230
+ name: "stallInfo.size.depth",
2231
+ placeholder: "Stall Depth: "
2232
+ },
2233
+ width: {
2234
+ helperText: "Stall size in width",
2235
+ name: "stallInfo.size.width",
2236
+ placeholder: "Stall Width: "
2237
+ }
2238
+ };
2239
+ var vendorPackaging = {
2240
+ helperText: "Select packaging type, you can select more than one",
2241
+ name: "product.packaging",
2242
+ placeholder: "Packaging type"
2243
+ };
2244
+ var vendorProducedIn = {
2245
+ helperText: "Select where the product is produced, you can select more than one",
2246
+ name: "product.producedIn",
2247
+ placeholder: "Produced type"
2248
+ };
2249
+ var vendorFoodFlavour = {
2250
+ helperText: "You can select more than one food flavour",
2251
+ name: "product.foodFlavors",
2252
+ placeholder: "Food flavours"
2253
+ };
2254
+ var vendorCompliance = [
2255
+ {
2256
+ name: "compliance.liabilityInsurance",
2257
+ placeholder: "Liability Insurance"
2258
+ },
2259
+ {
2260
+ name: "compliance.foodBeverageLicense",
2261
+ placeholder: "Food and Beverage License"
2262
+ }
2263
+ ];
2264
+ var packagingTypes = [
2265
+ "Biodegradable",
2266
+ "Compostable",
2267
+ "Fabric",
2268
+ "Glass",
2269
+ "Other",
2270
+ "Paper",
2271
+ "Plastic",
2272
+ "Recyclable",
2273
+ "Reusable",
2274
+ "Single-use",
2275
+ "Wood"
2276
+ ];
2277
+ var producedIngTypes = [
2278
+ "Commercial Kitchen",
2279
+ "Home Premises",
2280
+ "Factory",
2281
+ "Farm",
2282
+ "Other"
2283
+ ];
2284
+ var packagingOptions = mapArrayToOptions(packagingTypes);
2285
+ var producedIngOptions = mapArrayToOptions(producedIngTypes);
2286
+ var foodFlavourOptions = Object.values(
2287
+ EnumFoodFlavor
2288
+ ).map((flavour) => ({
2289
+ label: flavour.replaceAll("_", " "),
2290
+ value: flavour
2291
+ }));
2292
+
2293
+ // src/formFields/event/event.ts
2294
+ var eventBasicInfoFields = [
2295
+ {
2296
+ helperText: "Name of the Event *",
2297
+ name: "name",
2298
+ placeholder: "Name"
2299
+ },
2300
+ {
2301
+ helperText: "NZBN number (required \u2013 ClueMart only accepts events with valid NZBN number) *",
2302
+ keyboardType: "number-pad",
2303
+ name: "nzbn",
2304
+ placeholder: "NZBN number"
2305
+ },
2306
+ {
2307
+ helperText: "Name of the Provider (if applicable)",
2308
+ name: "provider",
2309
+ placeholder: "Provider"
2310
+ },
2311
+ {
2312
+ helperText: "Description of the Event *",
2313
+ isTextArea: true,
2314
+ name: "description",
2315
+ placeholder: "Description"
2316
+ }
2317
+ ];
2318
+ var eventStartDateFields = [
2319
+ {
2320
+ dateMode: "date",
2321
+ helperText: "Start Date of the Event *",
2322
+ name: "startDate",
2323
+ placeholder: "Start Date"
2324
+ },
2325
+ {
2326
+ dateMode: "time",
2327
+ helperText: "Start Time of the Event *",
2328
+ name: "startTime",
2329
+ placeholder: "Start Time"
2330
+ }
2331
+ ];
2332
+ var eventEndDateFields = [
2333
+ {
2334
+ dateMode: "date",
2335
+ helperText: "End Date of the Event *",
2336
+ name: "endDate",
2337
+ placeholder: "End Date"
2338
+ },
2339
+ {
2340
+ dateMode: "time",
2341
+ helperText: "End Time of the Event *",
2342
+ name: "endTime",
2343
+ placeholder: "End Time"
2344
+ }
2345
+ ];
2346
+ var availableTagTypes = [
2347
+ { icon: "human-male-female-child", label: "All Ages" },
2348
+ { icon: "weather-sunny", label: "Day Market" },
2349
+ { icon: "account-child", label: "Family Friendly" },
2350
+ { icon: "ticket-percent", label: "Free Entry" },
2351
+ { icon: "home-city", label: "Indoor Market" },
2352
+ { icon: "music", label: "Live Music" },
2353
+ { icon: "bus", label: "Near Bustop" },
2354
+ { icon: "slide", label: "Near Playground" },
2355
+ { icon: "train", label: "Near Train Station" },
2356
+ { icon: "weather-night", label: "Night Market" },
2357
+ { icon: "tree", label: "Outdoor Market" },
2358
+ { icon: "car", label: "Parking Available" },
2359
+ { icon: "dog", label: "Pet Friendly" },
2360
+ { icon: "ship-wheel", label: "Port Nearby" },
2361
+ { icon: "toilet", label: "Toilet Available" },
2362
+ { icon: "wheelchair-accessibility", label: "Wheelchair Accessible" }
2363
+ ];
2364
+ var tagOptions = availableTagTypes.map((tag) => ({
2365
+ label: tag.label,
2366
+ value: tag.label
2367
+ }));
2368
+
2369
+ // src/formFields/event/eventInfo.ts
2370
+ var eventInfo = [
1800
2371
  {
1801
- id: "food-beverages",
1802
- name: "Food & Beverages",
1803
- description: "Fresh produce, drinks, sweet and savoury street food, ready-to-eat meals, and packaged goods.",
1804
- subcategories: [
1805
- {
1806
- id: "fresh-food-groceries",
1807
- name: "Fresh Food & Groceries",
1808
- items: [
1809
- {
1810
- id: "fruits-vegetables",
1811
- name: "Fruits & Vegetables",
1812
- description: "Fresh seasonal fruit, organic vegetables, specialty produce, berries, tropical fruit, heritage varieties."
1813
- },
1814
- {
1815
- id: "meat-seafood",
1816
- name: "Meat & Seafood",
1817
- description: "Butcher cuts, fresh fish, smoked meats, sausages, seafood platters, artisanal jerky."
1818
- },
1819
- {
1820
- id: "dairy-eggs",
1821
- name: "Dairy & Eggs",
1822
- description: "Farm eggs, handmade cheeses, yoghurt, fresh milk, goat\u2019s milk products."
1823
- },
1824
- {
1825
- id: "bakery-pastries",
1826
- name: "Bakery & Pastries",
1827
- description: "Freshly baked bread, sourdough, bagels, croissants, focaccia, traditional baked goods."
1828
- },
1829
- {
1830
- id: "spices-condiments",
1831
- name: "Spices & Condiments",
1832
- description: "Dried herbs, spice blends, specialty salts, hot sauces, infused oils, chutneys."
1833
- },
1834
- {
1835
- id: "packaged-specialty-foods",
1836
- name: "Packaged & Specialty Foods",
1837
- description: "Honey, jams, preserves, pickles, nut butters, sauces, pre-packaged snacks."
1838
- },
1839
- {
1840
- id: "other-fresh-food-items",
1841
- name: "Other fresh food items",
1842
- description: "Items that don\u2019t fit above, e.g. fermented foods, plant-based substitutes."
1843
- }
1844
- ]
1845
- },
1846
- {
1847
- id: "beverages-specialty-drinks",
1848
- name: "Beverages & Specialty Drinks",
1849
- items: [
1850
- {
1851
- id: "fresh-juices-smoothies",
1852
- name: "Fresh Juices & Smoothies",
1853
- description: "Cold-pressed juices, detox blends, fruit smoothies, tropical mixes."
1854
- },
1855
- {
1856
- id: "coffee-teas",
1857
- name: "Coffee & Teas",
1858
- description: "Espresso, pour-over coffee, herbal teas, matcha, bubble tea, locally blended tea."
1859
- },
1860
- {
1861
- id: "dairy-plant-based-drinks",
1862
- name: "Dairy & Plant-Based Drinks",
1863
- description: "Milkshakes, lassis, almond/oat milk drinks, coconut water."
1864
- },
1865
- {
1866
- id: "alcoholic-beverages",
1867
- name: "Alcoholic Beverages",
1868
- description: "Local wines, craft beer, mead, cider, infused spirits, cocktail kits."
1869
- },
1870
- {
1871
- id: "other-beverages",
1872
- name: "Other beverages",
1873
- description: "Kombucha, kefir, energy drinks, non-alcoholic wines or beers."
1874
- }
1875
- ]
1876
- },
1877
- {
1878
- id: "savoury-prepared-foods-street-food",
1879
- name: "Savoury Prepared Foods & Street Food",
1880
- items: [
1881
- {
1882
- id: "local-specialties",
1883
- name: "Local Specialties",
1884
- description: "Meat pies, hangi, seafood chowder, fry bread, traditional NZ dishes."
1885
- },
1886
- {
1887
- id: "asian-cuisine",
1888
- name: "Asian Cuisine",
1889
- description: "Sushi, bao buns, dumplings, ramen, satay, spring rolls, fried rice."
1890
- },
1891
- {
1892
- id: "mediterranean-cuisine",
1893
- name: "Mediterranean Cuisine",
1894
- description: "Falafel, hummus wraps, souvlaki, Greek salad, dolma."
1895
- },
1896
- {
1897
- id: "italian-delights",
1898
- name: "Italian Delights",
1899
- description: "Pizza, calzone, focaccia, fresh pasta, arancini."
1900
- },
1901
- {
1902
- id: "bbq-grilled-foods",
1903
- name: "BBQ & Grilled Foods",
1904
- description: "Kebabs, grilled chicken, ribs, burgers, sausages."
1905
- },
1906
- {
1907
- id: "savoury-crepes-pancakes",
1908
- name: "Savoury Crepes & Pancakes",
1909
- description: "Filled savoury crepes, mini savoury pancakes."
1910
- },
1911
- {
1912
- id: "savoury-baked-goods-pastries",
1913
- name: "Savoury Baked Goods & Pastries",
1914
- description: "Quiches, savoury muffins, filled savoury pastries, empanadas."
1915
- },
1916
- {
1917
- id: "vegan-vegetarian-dishes",
1918
- name: "Vegan & Vegetarian Dishes",
1919
- description: "Buddha bowls, plant-based burgers, salads, vegan sushi."
1920
- },
1921
- {
1922
- id: "other-savoury-foods",
1923
- name: "Other Savoury Foods",
1924
- description: "Fusion dishes, mixed platters, savoury meal kits."
1925
- }
1926
- ]
1927
- },
1928
- {
1929
- id: "sweet-prepared-foods",
1930
- name: "Sweet Prepared Foods",
1931
- items: [
1932
- {
1933
- id: "sweet-crepes-pancakes-fried-treats",
1934
- name: "Sweet Crepes, Pancakes & Fried Treats",
1935
- description: "Crepes, waffles, mini pancakes, muffins, doughnuts."
1936
- },
1937
- {
1938
- id: "sweet-baked-goods-desserts",
1939
- name: "Sweet Baked Goods & Desserts",
1940
- description: "Cakes, pastries, slices, trifles, layered desserts."
1941
- },
1942
- {
1943
- id: "fruit-based-snacks",
1944
- name: "Fruit-Based Snacks",
1945
- description: "Fruit skewers, dried fruit packs, chocolate-dipped fruit."
1946
- },
1947
- {
1948
- id: "candy-confectionery",
1949
- name: "Candy & Confectionery",
1950
- description: "Fudge, handmade candies, toffee, nougat, brittle."
1951
- },
1952
- {
1953
- id: "other-sweet-foods",
1954
- name: "Other Sweet Foods",
1955
- description: "Fusion desserts, sweet platters, sweet meal kits."
1956
- }
1957
- ]
1958
- }
1959
- ]
2372
+ helperText: "Application Deadline (hours before event start) *",
2373
+ keyboardType: "number-pad",
2374
+ name: "applicationDeadlineHours",
2375
+ placeholder: "Application Deadline (in hours)"
2376
+ },
2377
+ {
2378
+ helperText: "Payment Due (hours after application or invitation acceptance) *",
2379
+ keyboardType: "number-pad",
2380
+ name: "paymentDueHours",
2381
+ placeholder: "Payment Due (in hours)"
2382
+ },
2383
+ {
2384
+ helperText: "Pack-In Time (hours before event start) *",
2385
+ keyboardType: "number-pad",
2386
+ name: "packInTime",
2387
+ placeholder: "Pack In Time (in hours)"
1960
2388
  }
1961
2389
  ];
1962
-
1963
- // src/formFields/categories/handmadeAndLocalProducts.ts
1964
- var handmadeAndLocalProducts = [
2390
+ var eventInfoPaymentInfo = [
1965
2391
  {
1966
- id: "handmade-local-products",
1967
- name: "Handmade & Local Products",
1968
- description: "Unique, handmade, or locally produced artisan goods.",
1969
- subcategories: [
1970
- {
1971
- id: "home-living",
1972
- name: "Home & Living",
1973
- items: [
1974
- {
1975
- id: "ceramics-pottery",
1976
- name: "Ceramics & Pottery",
1977
- description: "Handmade mugs, vases, bowls, decorative plates, plant pots."
1978
- },
1979
- {
1980
- id: "candles-home-scents",
1981
- name: "Candles & Home Scents",
1982
- description: "Soy candles, beeswax candles, wax melts, incense sticks, room sprays and herbal sachets."
1983
- },
1984
- {
1985
- id: "botanical-crafts",
1986
- name: "Botanical Crafts",
1987
- description: "Dried-flower d\xE9cor and pressed-flower crafts"
1988
- },
1989
- {
1990
- id: "textiles-embroidery",
1991
- name: "Textiles & Embroidery",
1992
- description: "Handsewn items, embroidered napkins, home linens, aprons, fabric gift wraps, handmade fabric bags, quilted goods, personalized textile gifts."
1993
- },
1994
- {
1995
- id: "woodcraft-metalcraft",
1996
- name: "Woodcraft & Metalcraft",
1997
- description: "Wooden boards, handmade frames, sculptures, metal signs, furniture."
1998
- },
1999
- {
2000
- id: "handmade-soaps-natural-body-goods",
2001
- name: "Handmade Soaps & Natural Body Goods",
2002
- description: "Handmade soaps, balms, oils, bath items"
2003
- },
2004
- {
2005
- id: "seasonal-festive-crafts",
2006
- name: "Seasonal & Festive Crafts",
2007
- description: "Christmas, Easter and seasonal handmade decor"
2008
- },
2009
- {
2010
- id: "other-home-living-products",
2011
- name: "Other home & living products",
2012
- description: "Items that don't fit above but serve home-related purposes."
2013
- }
2014
- ]
2015
- },
2016
- {
2017
- id: "art-personal-expression",
2018
- name: "Art & Personal Expression",
2019
- items: [
2020
- {
2021
- id: "paintings-illustrations",
2022
- name: "Paintings & Illustrations",
2023
- description: "Paintings, canvas art, hand-drawn illustrations, digital prints, graphic art and calligraphy pieces."
2024
- },
2025
- {
2026
- id: "sculptures-carvings",
2027
- name: "Sculptures & Carvings ",
2028
- description: "Sculptures made from wood, stone, metal, clay or resin, carved decorative pieces and artistic 3D works."
2029
- },
2030
- {
2031
- id: "creative-handmade-alternative-art",
2032
- name: "Creative Handmade & Alternative Art",
2033
- description: "Handmade textile d\xE9cor, fabric ornaments, mixed-media art, creative craft pieces and modern handmade artworks."
2034
- },
2035
- {
2036
- id: "handmade-mini-figures-decor",
2037
- name: "Handmade Mini Figures & D\xE9cor",
2038
- description: "Small handmade figures, tiny houses and crafted mini decorative items."
2039
- },
2040
- {
2041
- id: "other-artistic-expressive-products",
2042
- name: "Other Artistic or Expressive Products",
2043
- description: "Custom artworks, specialty handmade d\xE9cor, unique crafts."
2044
- }
2045
- ]
2046
- },
2047
- {
2048
- id: "handmade-jewellery-accessories-cultural-crafts",
2049
- name: "Handmade Jewellery, Accessories & Cultural Crafts",
2050
- items: [
2051
- {
2052
- id: "jewellery-handmade-items-nz-traditional-materials",
2053
- name: "Jewellery & Handmade Items from NZ Traditional Materials",
2054
- description: "Handmade jewellery and decorative or functional items crafted from pounamu, bone, wood and other traditional New Zealand materials."
2055
- },
2056
- {
2057
- id: "maori-pasifika-cultural-crafts-clothing",
2058
- name: "M\u0101ori & Pasifika Cultural Crafts and Clothing",
2059
- description: "Culturally inspired handmade items, accessories and garments featuring M\u0101ori or Pasifika motifs, traditional patterns and regional craftsmanship."
2060
- },
2061
- {
2062
- id: "traditional-handmade-clothing-jewellery-crafts-global-cultures",
2063
- name: "Traditional Handmade Clothing, Jewellery & Crafts from Global Cultures",
2064
- description: "Handcrafted clothing, jewellery and cultural items from diverse traditions \u2014 including Asian, African, European, Middle Eastern, Indian, Chinese, Japanese, Pacific, and other culturally significant handmade pieces."
2065
- },
2066
- {
2067
- id: "other-handmade-cultural-items",
2068
- name: "Other Handmade Cultural Items",
2069
- description: "Unique or culturally inspired handmade pieces not specifically covered in the categories above."
2070
- }
2071
- ]
2072
- },
2073
- {
2074
- id: "gift-ideas-accessories",
2075
- name: "Gift Ideas & Accessories",
2076
- items: [
2077
- {
2078
- id: "handmade-pens-keychains-fridge-magnets",
2079
- name: "Handmade Pens, Keychains and Fridge Magnets",
2080
- description: null
2081
- },
2082
- {
2083
- id: "gift-packaging-wrapping-accessories",
2084
- name: "Gift Packaging & Wrapping Accessories",
2085
- description: null
2086
- },
2087
- {
2088
- id: "handmade-crochet-knitting-fibre-crafts",
2089
- name: "Handmade Crochet, Knitting & Fibre Crafts",
2090
- description: "Handmade crochet and knitted items, fabric-based crafts, small decorative pieces, creative fibre artworks and unique handcrafted accessories."
2091
- },
2092
- {
2093
- id: "handmade-toys-mini-play-items",
2094
- name: "Handmade Toys & Mini Play Items",
2095
- description: "small handmade toys, soft toys, wooden miniatures, crochet or felt play pieces"
2096
- },
2097
- {
2098
- id: "other-small-handmade-gifts-accessories",
2099
- name: "Other small handmade gifts or accessories",
2100
- description: "Compact creative items made to surprise or delight."
2101
- }
2102
- ]
2103
- }
2104
- ]
2392
+ helperText: "Account holder name *",
2393
+ name: "accountHolderName",
2394
+ placeholder: "Account holder name"
2395
+ },
2396
+ {
2397
+ helperText: "Account number *",
2398
+ keyboardType: "number-pad",
2399
+ name: "accountNumber",
2400
+ placeholder: "Account number"
2401
+ },
2402
+ {
2403
+ helperText: "Payment link, where applicants can pay *",
2404
+ keyboardType: "url",
2405
+ name: "link",
2406
+ placeholder: "Payment link"
2105
2407
  }
2106
2408
  ];
2107
-
2108
- // src/formFields/categories/healthAndWellness.ts
2109
- var healthAndWellness = [
2409
+ var requirementsOptions = [
2410
+ {
2411
+ category: "Environment",
2412
+ label: "All packaging must be eco-friendly or recyclable where possible.",
2413
+ value: false
2414
+ },
2415
+ {
2416
+ category: "Environment",
2417
+ label: "No single-use plastic bags are to be handed out.",
2418
+ value: false
2419
+ },
2420
+ {
2421
+ category: "Environment",
2422
+ label: "Stall area must be left clean with no trace of activity after pack-down.",
2423
+ value: false
2424
+ },
2425
+ {
2426
+ category: "Environment",
2427
+ label: "No disposal of oils, fats, or chemicals in public drains or on grassed areas.",
2428
+ value: false
2429
+ },
2430
+ {
2431
+ category: "Environment",
2432
+ label: "You must provide bins at your site for rubbish and recycling, and take away all bins including rubbish, to dispose of outside of the town centre.",
2433
+ value: false
2434
+ },
2435
+ {
2436
+ category: "Food Safety",
2437
+ label: "Food must be prepared and stored according to your food regulation.",
2438
+ value: false
2439
+ },
2440
+ {
2441
+ category: "Food Safety",
2442
+ label: "The stallholder must display a current food grade certificate.",
2443
+ value: false
2444
+ },
2445
+ {
2446
+ category: "Food Safety",
2447
+ label: "Only licensed food vendors may sell ready-to-eat food items.",
2448
+ value: false
2449
+ },
2450
+ {
2451
+ category: "Food Safety",
2452
+ label: "Handwashing facilities must be available at your stall if preparing food.",
2453
+ value: false
2454
+ },
2455
+ {
2456
+ category: "Food Safety",
2457
+ label: "You must have a food safety plan in place for your stall.",
2458
+ value: false
2459
+ },
2460
+ {
2461
+ category: "Food Safety",
2462
+ label: "Allergens must be clearly listed on packaged and unpackaged food items.",
2463
+ value: false
2464
+ },
2465
+ {
2466
+ category: "Legal & Safety",
2467
+ label: "All stallholders must comply with local council regulations.",
2468
+ value: false
2469
+ },
2470
+ {
2471
+ category: "Legal & Safety",
2472
+ label: "No unauthorised subletting of stall space to other vendors.",
2473
+ value: false
2474
+ },
2475
+ {
2476
+ category: "Legal & Safety",
2477
+ label: "Gas bottles and fuel containers must be secured and in good condition if applicable.",
2478
+ value: false
2479
+ },
2480
+ {
2481
+ category: "Legal & Safety",
2482
+ label: "Fire extinguishers must be available for stalls using cooking or heating equipment.",
2483
+ value: false
2484
+ },
2485
+ {
2486
+ category: "Legal & Safety",
2487
+ label: "Stallholders must not sell items that are illegal or prohibited by law.",
2488
+ value: false
2489
+ },
2490
+ {
2491
+ category: "Legal & Safety",
2492
+ label: "All electrical equipment must be tested and tagged.",
2493
+ value: false
2494
+ },
2110
2495
  {
2111
- id: "health-wellness",
2112
- name: "Health & Wellness",
2113
- description: "Natural products and services that promote wellbeing, body care, and holistic health.",
2114
- subcategories: [
2115
- {
2116
- id: "body-skincare",
2117
- name: "Body & Skincare",
2118
- items: [
2119
- {
2120
- id: "skincare-body-products",
2121
- name: "Skincare & Body Products",
2122
- description: "Soaps, creams, lip balms, bath salts, bath bombs, body oils, natural deodorants."
2123
- },
2124
- {
2125
- id: "other-body-care-items",
2126
- name: "Other body care items",
2127
- description: "Additional handmade or eco-conscious personal care goods."
2128
- }
2129
- ]
2130
- },
2131
- {
2132
- id: "aromatherapy-herbal-wellness",
2133
- name: "Aromatherapy & Herbal Wellness",
2134
- items: [
2135
- {
2136
- id: "aromatherapy-herbal-remedies",
2137
- name: "Aromatherapy & Herbal Remedies",
2138
- description: "Essential oils, herbal balms, massage oils, salves, natural teas, rollers."
2139
- },
2140
- {
2141
- id: "other-herbal-aroma-products",
2142
- name: "Other herbal or aroma-based products",
2143
- description: "Wellness blends, herb sachets, custom infusions."
2144
- }
2145
- ]
2146
- },
2147
- {
2148
- id: "wellness-tools-accessories",
2149
- name: "Wellness Tools & Accessories",
2150
- items: [
2151
- {
2152
- id: "wellness-accessories",
2153
- name: "Wellness Accessories",
2154
- description: "Yoga mats, meditation cushions, eye pillows, incense, smudging sticks, eco water bottles, wellness journals."
2155
- },
2156
- {
2157
- id: "spiritual-tools-crystals",
2158
- name: "Spiritual Tools & Crystals",
2159
- description: "Healing crystals, gemstone bracelets, pendulums, sprays, spiritual kits, altar decor."
2160
- },
2161
- {
2162
- id: "other-wellness-spiritual-items",
2163
- name: "Other wellness or spiritual items",
2164
- description: "Items that aid relaxation, focus, or inner work."
2165
- }
2166
- ]
2167
- }
2168
- ]
2496
+ category: "Legal & Safety",
2497
+ label: "Noise levels must be kept to a minimum unless part of a permitted performance.",
2498
+ value: false
2499
+ },
2500
+ {
2501
+ category: "Legal & Safety",
2502
+ label: "Pets at the stall must be secured and well-behaved at all times.",
2503
+ value: false
2504
+ },
2505
+ {
2506
+ category: "Legal & Safety",
2507
+ label: "Cables must be secured and not create tripping hazards.",
2508
+ value: false
2509
+ },
2510
+ {
2511
+ category: "Legal & Safety",
2512
+ label: "Stalls must not obstruct emergency access routes.",
2513
+ value: false
2514
+ },
2515
+ {
2516
+ category: "Legal & Safety",
2517
+ label: "First aid kit must be available at the stall for minor injuries.",
2518
+ value: false
2519
+ },
2520
+ {
2521
+ category: "Legal & Safety",
2522
+ label: "Stallholders must hold valid liability insurance where required.",
2523
+ value: false
2524
+ },
2525
+ {
2526
+ category: "Legal & Safety",
2527
+ label: "You must secure your gazebo and equipment to withstand wind or bad weather.",
2528
+ value: false
2529
+ },
2530
+ {
2531
+ category: "Legal & Safety",
2532
+ label: "You are responsible for the safety of your setup and any potential hazards.",
2533
+ value: false
2534
+ },
2535
+ {
2536
+ category: "Operations",
2537
+ label: "Generators must be quiet and pre-approved by the event organiser.",
2538
+ value: false
2539
+ },
2540
+ {
2541
+ category: "Operations",
2542
+ label: "Only approved products or services may be sold \u2014 no last-minute changes.",
2543
+ value: false
2544
+ },
2545
+ {
2546
+ category: "Operations",
2547
+ label: "Stallholders must arrive and be fully set up by the designated opening time.",
2548
+ value: false
2549
+ },
2550
+ {
2551
+ category: "Operations",
2552
+ label: "You may not pack down your stall before the event officially ends.",
2553
+ value: false
2554
+ },
2555
+ {
2556
+ category: "Operations",
2557
+ label: "You must be self-sufficient in all operations.",
2558
+ value: false
2559
+ },
2560
+ {
2561
+ category: "Operations",
2562
+ label: "Stall layout must be kept within your allocated space.",
2563
+ value: false
2169
2564
  }
2170
2565
  ];
2171
-
2172
- // src/formFields/categories/homeGardenHousehold.ts
2173
- var homeGardenHousehold = [
2566
+ var stallTypes = [
2567
+ "1.8m table only",
2568
+ "2x2m mini stall",
2569
+ "3x3m tent site",
2570
+ "Corner stall",
2571
+ "Craft stall with power",
2572
+ "Craft stall without power",
2573
+ "Double stall (6x3m)",
2574
+ "Food truck site",
2575
+ "Food vendor with power",
2576
+ "Food vendor without power",
2577
+ "Inside hall stall",
2578
+ "Non-profit/community stall",
2579
+ "Outdoor open area",
2580
+ "Shared table space",
2581
+ "Wall-based vendor",
2582
+ "Workshop/seating area"
2583
+ ];
2584
+ var stallTypeOptions = stallTypes.map((type) => ({
2585
+ label: type,
2586
+ price: 0,
2587
+ stallCapacity: 0
2588
+ }));
2589
+ var refundPolicyOptions = [
2174
2590
  {
2175
- id: "home-garden-household-goods",
2176
- name: "Home, Garden & Household Goods",
2177
- description: "Functional, decorative, and eco-conscious products designed for everyday use indoors and outdoors.",
2178
- subcategories: [
2179
- {
2180
- id: "home-decor-living",
2181
- name: "Home Decor & Living",
2182
- items: [
2183
- {
2184
- id: "home-decor",
2185
- name: "Home Decor",
2186
- description: "Cushions, wall art, table runners, vases, trays, mirrors, handmade centerpieces."
2187
- },
2188
- {
2189
- id: "kitchenware-dining",
2190
- name: "Kitchenware & Dining",
2191
- description: "Mugs, bowls, cutting boards, utensils, jars, coasters, kitchen textiles."
2192
- },
2193
- {
2194
- id: "mini-figures-decor",
2195
- name: "Mini Figures & D\xE9cor",
2196
- description: "handmade or non-handmade small figures, tiny houses and miniature decorative items."
2197
- },
2198
- {
2199
- id: "other-indoor-home-items",
2200
- name: "Other indoor home items",
2201
- description: "Any decorative or practical household items not listed above."
2202
- }
2203
- ]
2204
- },
2205
- {
2206
- id: "cleaning-eco-essentials",
2207
- name: "Cleaning & Eco Essentials",
2208
- items: [
2209
- {
2210
- id: "cleaning-eco-supplies",
2211
- name: "Cleaning & Eco Supplies",
2212
- description: "Beeswax wraps, reusable cloths, brushes, natural soaps, detergent bars, eco sponges."
2213
- },
2214
- {
2215
- id: "other-eco-cleaning-items",
2216
- name: "Other eco or cleaning items",
2217
- description: "Environmentally friendly goods not listed above."
2218
- }
2219
- ]
2220
- },
2221
- {
2222
- id: "garden-outdoor-living",
2223
- name: "Garden & Outdoor Living",
2224
- items: [
2225
- {
2226
- id: "plants-botanical-decor",
2227
- name: "Plants & Botanical Decor",
2228
- description: "Potted herbs, succulents, dried flowers, terrariums, plant-based ornaments."
2229
- },
2230
- {
2231
- id: "fresh-flowers-botanical-bouquets",
2232
- name: "Fresh Flowers & Botanical Bouquets",
2233
- description: "Cut flowers, seasonal bouquets, simple floral arrangements, native flower selections, and other fresh botanical items."
2234
- },
2235
- {
2236
- id: "natural-decor-nature-inspired-elements",
2237
- name: "Natural Decor & Nature-Inspired Elements",
2238
- description: "Seashell d\xE9cor, driftwood pieces, sand ornaments, natural wood accents, stone or mineral decorations, and other nature-based decorative items."
2239
- },
2240
- {
2241
- id: "garden-tools-outdoor-items",
2242
- name: "Garden Tools & Outdoor Items",
2243
- description: "Plant markers, garden signs, stakes, small tools, wind chimes, gifts."
2244
- },
2245
- {
2246
- id: "other-outdoor-garden-products",
2247
- name: "Other outdoor or garden products",
2248
- description: "Functional or decorative items for outside use."
2249
- }
2250
- ]
2251
- }
2252
- ]
2591
+ category: "Cancelled by Vendor",
2592
+ label: "Full refund if cancelled 30+ days before the event.",
2593
+ value: false
2594
+ },
2595
+ {
2596
+ category: "Cancelled by Vendor",
2597
+ label: "50% refund if cancelled 14\u201329 days before the event.",
2598
+ value: false
2599
+ },
2600
+ {
2601
+ category: "Cancelled by Vendor",
2602
+ label: "No refund if cancelled less than 14 days before the event.",
2603
+ value: false
2604
+ },
2605
+ {
2606
+ category: "Cancelled by Vendor",
2607
+ label: "Full refund if cancelled due to illness or emergency.",
2608
+ value: false
2609
+ },
2610
+ {
2611
+ category: "Cancelled by Vendor",
2612
+ label: "No refund for no-shows or last-minute cancellations.",
2613
+ value: false
2614
+ },
2615
+ {
2616
+ category: "Cancelled by Vendor",
2617
+ label: "No refund",
2618
+ value: false
2619
+ },
2620
+ {
2621
+ category: "Cancelled by Organiser",
2622
+ label: "Full refund if the event is cancelled by the organiser.",
2623
+ value: false
2624
+ },
2625
+ {
2626
+ category: "Cancelled by Organiser",
2627
+ label: "Credit towards a future event if cancelled by the organiser.",
2628
+ value: false
2629
+ },
2630
+ {
2631
+ category: "Cancelled by Organiser",
2632
+ label: "Refund only in cases of force majeure (e.g., natural disasters, government restrictions).",
2633
+ value: false
2634
+ },
2635
+ {
2636
+ category: "Cancelled by Organiser",
2637
+ label: "No refund",
2638
+ value: false
2253
2639
  }
2254
2640
  ];
2255
2641
 
2256
- // src/formFields/categories/petProductsAndAnimalGoods.ts
2257
- var petProductsAndAnimalGoods = [
2642
+ // src/formFields/global.ts
2643
+ var emailField = {
2644
+ helperText: "Enter email address",
2645
+ keyboardType: "email-address",
2646
+ name: "email",
2647
+ placeholder: "Email"
2648
+ };
2649
+ var companyContactFields = [
2258
2650
  {
2259
- id: "pet-products-animal-goods",
2260
- name: "Pet Products & Animal Goods",
2261
- description: "Items for pets, pet lovers, or animal-themed market stalls.",
2262
- subcategories: [
2263
- {
2264
- id: "products-for-pets",
2265
- name: "Products for Pets",
2266
- items: [
2267
- {
2268
- id: "pet-food-treats",
2269
- name: "Pet Food & Treats",
2270
- description: "Homemade dog biscuits, cat snacks, natural chews, pet-safe cakes, training treats."
2271
- },
2272
- {
2273
- id: "apparel-toys-accessories",
2274
- name: "Apparel, Toys & Accessories",
2275
- description: "Leashes, collars, harnesses, toys, grooming tools, beds, travel gear, jumpers, bandanas."
2276
- },
2277
- {
2278
- id: "other-pet-products",
2279
- name: "Other pet products",
2280
- description: "Any pet-related items not listed above."
2281
- }
2282
- ]
2283
- },
2284
- {
2285
- id: "small-pets-birds-exotic-animals",
2286
- name: "Small Pets, Birds & Exotic Animals",
2287
- items: [
2288
- {
2289
- id: "products-small-pets-birds-exotics",
2290
- name: "Products for Small Pets, Birds & Exotics",
2291
- description: "Toys, enclosures, perches, feeding bowls, bedding, habitat decor, transport gear, and care items for birds, rabbits, hamsters, reptiles, turtles, aquarium pets, and other exotic species."
2292
- },
2293
- {
2294
- id: "other-small-exotic-animal-items",
2295
- name: "Other small or exotic animal items",
2296
- description: "Unusual accessories for non-mainstream pets."
2297
- }
2298
- ]
2299
- },
2300
- {
2301
- id: "farm-working-animals",
2302
- name: "Farm & Working Animals",
2303
- items: [
2304
- {
2305
- id: "goods-for-farm-working-animals",
2306
- name: "Goods for Farm & Working Animals",
2307
- description: "Treats, care products, equipment, signage and accessories for chickens, goats, alpacas, horses, and other livestock."
2308
- },
2309
- {
2310
- id: "other-farm-animal-items",
2311
- name: "Other farm animal-related items",
2312
- description: "Rural, barnyard, or utility-specific gear not listed above."
2313
- }
2314
- ]
2315
- },
2316
- {
2317
- id: "animal-themed-gifts-custom-items",
2318
- name: "Animal-Themed Gifts & Custom Items",
2319
- items: [
2320
- {
2321
- id: "pet-art-custom-gifts",
2322
- name: "Pet Art & Custom Gifts",
2323
- description: "Pet portraits, name tags, personalized bowls, breed-specific items, pet-themed home decor and stationery."
2324
- },
2325
- {
2326
- id: "other-animal-themed-gifts",
2327
- name: "Other animal-themed gifts",
2328
- description: "Artistic or sentimental items made for animal lovers."
2329
- }
2330
- ]
2331
- }
2332
- ]
2651
+ ...emailField,
2652
+ name: "contactDetails.email"
2653
+ },
2654
+ {
2655
+ helperText: "Enter your mobile phone number",
2656
+ keyboardType: "phone-pad",
2657
+ name: "contactDetails.mobilePhone",
2658
+ placeholder: "Mobile Phone Number"
2659
+ },
2660
+ {
2661
+ helperText: "Enter your landline phone number",
2662
+ keyboardType: "phone-pad",
2663
+ name: "contactDetails.landlinePhone",
2664
+ placeholder: "Landline Phone Number"
2333
2665
  }
2334
2666
  ];
2335
2667
 
2336
- // src/formFields/categories/serviceAndExperience.ts
2337
- var serviceAndExperience = [
2668
+ // src/formFields/auth.ts
2669
+ var loginFields = [
2338
2670
  {
2339
- id: "services-experiences",
2340
- name: "Services & Experiences",
2341
- description: "On-site offerings that provide entertainment, personal care, learning, or interactive activities beyond products.",
2342
- subcategories: [
2343
- {
2344
- id: "personal-care-body-art",
2345
- name: "Personal Care & Body Art",
2346
- items: [
2347
- {
2348
- id: "nails-handcare",
2349
- name: "Nails & Handcare",
2350
- description: "Nail painting, decoration, quick manicures, temporary nail extensions."
2351
- },
2352
- {
2353
- id: "hair-styling-braiding",
2354
- name: "Hair Styling & Braiding",
2355
- description: "Hair braiding, plaits, child-friendly festival hairstyles."
2356
- },
2357
- {
2358
- id: "face-body-decoration",
2359
- name: "Face & Body Decoration",
2360
- description: "Henna, glitter tattoos, face painting, light makeup, eyelash styling, professional tattooing (where permitted)."
2361
- },
2362
- {
2363
- id: "other-beauty-grooming-services",
2364
- name: "Other beauty or grooming services",
2365
- description: "Small-scale personal care options offered on-site."
2366
- }
2367
- ]
2368
- },
2369
- {
2370
- id: "practical-wellness-services",
2371
- name: "Practical & Wellness Services",
2372
- items: [
2373
- {
2374
- id: "mobile-practical-services",
2375
- name: "Mobile & Practical Services",
2376
- description: "Shoe repair, phone repairs, knife sharpening, key cutting, battery replacement, bike repairs, engraving."
2377
- },
2378
- {
2379
- id: "wellness-alternative-therapies",
2380
- name: "Wellness & Alternative Therapies",
2381
- description: "Massage, aromatherapy, reflexology, energy healing (e.g. Reiki), natural consultations."
2382
- },
2383
- {
2384
- id: "other-service-based-offerings",
2385
- name: "Other service-based offerings",
2386
- description: "Wellness or functional services not listed above."
2387
- }
2388
- ]
2389
- },
2390
- {
2391
- id: "creative-educational-experiences",
2392
- name: "Creative & Educational Experiences",
2393
- items: [
2394
- {
2395
- id: "creative-workshops-maker-services",
2396
- name: "Creative Workshops & Maker Services",
2397
- description: "Candle making, pottery, jewelry crafting, soap or balm workshops, calligraphy, seasonal crafts."
2398
- },
2399
- {
2400
- id: "education-awareness-stalls",
2401
- name: "Education & Awareness Stalls",
2402
- description: "Eco awareness, cultural storytelling, local history, first aid demos, health booths, sustainability education, kids\u2019 science displays."
2403
- },
2404
- {
2405
- id: "other-creative-educational-services",
2406
- name: "Other creative or educational services",
2407
- description: "Informal learning, demonstrations, or community-focused sessions."
2408
- }
2409
- ]
2410
- },
2411
- {
2412
- id: "kids-activities-family-fun",
2413
- name: "Kids\u2019 Activities & Family Fun",
2414
- items: [
2415
- {
2416
- id: "kids-activities-fun",
2417
- name: "Kids\u2019 Activities & Fun",
2418
- description: "Face painting, glitter tattoos, pony rides, bouncy castles, small amusement rides, balloon twisting, animal petting zones."
2419
- },
2420
- {
2421
- id: "other-family-oriented-activities",
2422
- name: "Other family-oriented activities",
2423
- description: "On-site entertainment that engages children or family groups."
2424
- }
2425
- ]
2426
- }
2427
- ]
2671
+ ...emailField,
2672
+ required: true
2673
+ },
2674
+ {
2675
+ helperText: "Enter password",
2676
+ keyboardType: "default",
2677
+ name: "password",
2678
+ placeholder: "Password",
2679
+ required: true,
2680
+ secureTextEntry: true
2681
+ }
2682
+ ];
2683
+ var registerFields = [
2684
+ {
2685
+ helperText: "Enter first name",
2686
+ keyboardType: "default",
2687
+ name: "firstName",
2688
+ placeholder: "First Name",
2689
+ required: true
2690
+ },
2691
+ {
2692
+ helperText: "Enter last name",
2693
+ keyboardType: "default",
2694
+ name: "lastName",
2695
+ placeholder: "Last Name",
2696
+ required: true
2697
+ },
2698
+ {
2699
+ ...emailField,
2700
+ required: true
2701
+ },
2702
+ {
2703
+ helperText: "Enter password",
2704
+ keyboardType: "default",
2705
+ name: "password",
2706
+ placeholder: "Password",
2707
+ required: true,
2708
+ secureTextEntry: true
2709
+ },
2710
+ {
2711
+ helperText: "Promotional code (optional)",
2712
+ keyboardType: "default",
2713
+ name: "promoCode",
2714
+ placeholder: "Promotional Code",
2715
+ required: false
2428
2716
  }
2429
2717
  ];
2430
-
2431
- // src/formFields/categories/toysChildren.ts
2432
- var toysChildren = [
2718
+ var requestPasswordResetFields = [
2433
2719
  {
2434
- id: "toys-childrens-items",
2435
- name: "Toys & Children\u2019s Items",
2436
- description: "Products and services made for or inspired by children.",
2437
- subcategories: [
2438
- {
2439
- id: "toys-playthings",
2440
- name: "Toys & Playthings",
2441
- items: [
2442
- {
2443
- id: "toys-classic-electric-character",
2444
- name: "Toys \u2013 Classic, Electric & Character-Based",
2445
- description: "Building blocks, dolls, puzzles, plush animals, toy vehicles, remote-control toys, light-up gadgets, character figurines, themed playsets."
2446
- },
2447
- {
2448
- id: "handmade-toys-crafty-playthings",
2449
- name: "Handmade Toys & Crafty Playthings",
2450
- description: "Wooden puzzles, crocheted animals, felt toys, fabric dolls, DIY kits, nature-inspired games, sensory toys."
2451
- },
2452
- {
2453
- id: "other-play-items",
2454
- name: "Other play items",
2455
- description: "Toys not listed above, including limited-edition or hybrid items."
2456
- }
2457
- ]
2458
- },
2459
- {
2460
- id: "educational-developmental",
2461
- name: "Educational & Developmental",
2462
- items: [
2463
- {
2464
- id: "educational-developmental-tools",
2465
- name: "Educational & Developmental Tools",
2466
- description: "STEM kits, Montessori toys, storybooks, picture books, flashcards, early learning games, language tools."
2467
- },
2468
- {
2469
- id: "other-educational-experience-based-items",
2470
- name: "Other educational or experience-based items",
2471
- description: "Creative experiences or learning aids not listed above."
2472
- }
2473
- ]
2474
- },
2475
- {
2476
- id: "baby-kidswear-accessories",
2477
- name: "Baby & Kidswear + Accessories",
2478
- items: [
2479
- {
2480
- id: "baby-kidswear-accessories",
2481
- name: "Baby & Kidswear + Accessories",
2482
- description: "Handmade baby clothes, toddler outfits, bibs, hats, headbands, bags, pacifier clips, soft shoes."
2483
- },
2484
- {
2485
- id: "baby-developmental-soft-toys",
2486
- name: "Baby Developmental Soft Toys",
2487
- description: "Sensory toys, rattles, fabric books, teething items, high-contrast cards, and early-skill. Montessori materials designed to support infants\u2019 cognitive and motor development."
2488
- },
2489
- {
2490
- id: "other-childrens-clothing-accessories",
2491
- name: "Other children\u2019s clothing or accessories",
2492
- description: "Unique fashion or functional pieces for kids."
2493
- }
2494
- ]
2495
- }
2496
- ]
2720
+ ...emailField,
2721
+ helperText: "Enter email address to reset your password",
2722
+ required: true
2497
2723
  }
2498
2724
  ];
2499
-
2500
- // src/formFields/categories/vintageAndAntique.ts
2501
- var vintageAndAntique = [
2725
+ var resetPasswordFields = [
2502
2726
  {
2503
- id: "vintage-antique",
2504
- name: "Vintage & Antique",
2505
- description: "Unique, historic, or nostalgic items with collectible or decorative value.",
2506
- subcategories: [
2507
- {
2508
- id: "vintage-antique-clothing-accessories",
2509
- name: "Vintage & Antique Clothing & Accessories",
2510
- items: [
2511
- {
2512
- id: "clothing-vintage-fashion",
2513
- name: "Clothing and wearable items from past eras",
2514
- description: "Vintage dresses, jackets, hats, gloves, belts, bags, shoes, jewellery."
2515
- },
2516
- {
2517
- id: "other-clothing-accessory-items",
2518
- name: "Other clothing-related items",
2519
- description: "Hair clips, brooches, pins, scarf rings, small fashion accessories."
2520
- }
2521
- ]
2522
- },
2523
- {
2524
- id: "collectibles-memorabilia",
2525
- name: "Collectibles & Memorabilia",
2526
- items: [
2527
- {
2528
- id: "small-collectible-items",
2529
- name: "Small collectible items with historical or nostalgic significance",
2530
- description: "Coins, stamps, toys, postcards, comics, sports cards, vintage packaging."
2531
- },
2532
- {
2533
- id: "other-collectible-items",
2534
- name: "Other collectible items",
2535
- description: "Rare small objects, miniature figurines, special-edition items."
2536
- }
2537
- ]
2538
- },
2539
- {
2540
- id: "homewares-decor-curiosities",
2541
- name: "Homewares, Decor & Curiosities",
2542
- items: [
2543
- {
2544
- id: "decorative-functional-vintage-items",
2545
- name: "Decorative or functional items with a vintage or antique aesthetic",
2546
- description: "Teacups, plates, vases, mirrors, clocks, furniture, old tools, lanterns, typewriters, curiosities."
2547
- },
2548
- {
2549
- id: "handmade-vintage-art",
2550
- name: "Handmade vintage art",
2551
- description: "Paintings, sculptures, crafted pieces."
2552
- },
2553
- {
2554
- id: "other-home-decor-items",
2555
- name: "Other home or decor items",
2556
- description: "Decorative pieces not listed above, unique household objects."
2557
- }
2558
- ]
2559
- },
2560
- {
2561
- id: "vintage-media-printed-nostalgia",
2562
- name: "Vintage Media & Printed Nostalgia",
2563
- items: [
2564
- {
2565
- id: "older-media-printed-works",
2566
- name: "Older media formats and printed works",
2567
- description: "Vinyl records, cassette tapes, CDs, DVDs, books, magazines, board games, posters."
2568
- },
2569
- {
2570
- id: "other-media-printed-items",
2571
- name: "Other media or printed items",
2572
- description: "Maps, manuals, leaflets, out-of-print materials."
2573
- }
2574
- ]
2575
- },
2576
- {
2577
- id: "other-vintage-antique-items",
2578
- name: "Other Vintage & Antique Items",
2579
- items: [
2580
- {
2581
- id: "any-vintage-antique-items-not-listed",
2582
- name: "Any vintage or antique items not listed above",
2583
- description: "Unique, rare or uncategorised pieces."
2584
- }
2585
- ]
2586
- }
2587
- ]
2727
+ helperText: "Enter your new password",
2728
+ keyboardType: "default",
2729
+ name: "password",
2730
+ placeholder: "Password",
2731
+ required: true,
2732
+ secureTextEntry: true
2733
+ },
2734
+ {
2735
+ helperText: "Confirm your new password",
2736
+ keyboardType: "default",
2737
+ name: "confirmPassword",
2738
+ placeholder: "Confirm Password",
2739
+ required: true,
2740
+ secureTextEntry: true
2741
+ }
2742
+ ];
2743
+ var validateVerificationTokenFields = [
2744
+ {
2745
+ ...emailField,
2746
+ disabled: true,
2747
+ helperText: "Your email address"
2748
+ },
2749
+ {
2750
+ helperText: "Enter the Verification code sent to you by email",
2751
+ keyboardType: "number-pad",
2752
+ name: "verificationToken",
2753
+ placeholder: "Verification code",
2754
+ required: true
2588
2755
  }
2589
2756
  ];
2590
2757
 
2591
- // src/formFields/categories/index.ts
2592
- var categoryColors = {
2593
- "clothing-fashion": "#9D4EDD",
2594
- "electronics-technology": "#3AF3FF",
2595
- "food-beverages": "#FF0D1F",
2596
- "handmade-local-products": "#EE7E54",
2597
- "health-wellness": "#E23794",
2598
- "home-garden-household-goods": "#067325",
2599
- "pet-products-animal-goods": "#68E788",
2600
- "services-experiences": "#2E16A5",
2601
- "toys-childrens-items": "#FFF966",
2602
- "vintage-antique": "#8D6748"
2603
- };
2604
- var assignColorToCategories = (categories) => {
2605
- const result = categories.map((category) => ({
2606
- ...category,
2607
- color: categoryColors[category.id]
2608
- }));
2609
- return result;
2610
- };
2611
- var availableCategories = assignColorToCategories([
2612
- ...foodAndBeverages,
2613
- ...handmadeAndLocalProducts,
2614
- ...clothingAndFashion,
2615
- ...homeGardenHousehold,
2616
- ...toysChildren,
2617
- ...healthAndWellness,
2618
- ...electronicsAndTechnology,
2619
- ...vintageAndAntique,
2620
- ...petProductsAndAnimalGoods,
2621
- ...serviceAndExperience
2622
- ]);
2758
+ // src/formFields/user.ts
2759
+ var profileFields = [
2760
+ {
2761
+ ...emailField,
2762
+ disabled: true,
2763
+ helperText: "Email cannot be changed"
2764
+ },
2765
+ {
2766
+ helperText: "Enter first name",
2767
+ keyboardType: "default",
2768
+ name: "firstName",
2769
+ placeholder: "First Name"
2770
+ },
2771
+ {
2772
+ helperText: "Enter last name",
2773
+ keyboardType: "default",
2774
+ name: "lastName",
2775
+ placeholder: "Last Name"
2776
+ },
2777
+ {
2778
+ helperText: "Enter your new password",
2779
+ keyboardType: "default",
2780
+ name: "password",
2781
+ placeholder: "Password",
2782
+ secureTextEntry: true
2783
+ },
2784
+ {
2785
+ helperText: "Confirm your new password",
2786
+ keyboardType: "default",
2787
+ name: "confirmPassword",
2788
+ placeholder: "Confirm Password",
2789
+ secureTextEntry: true
2790
+ }
2791
+ ];
2623
2792
 
2624
2793
  // src/formFields/socialMedia.ts
2625
2794
  var socialMedia = [
@@ -2980,6 +3149,7 @@ var EVENT_LIST_ITEM = gql`
2980
3149
  }
2981
3150
  }
2982
3151
  reviewCount
3152
+ slug
2983
3153
  updatedAt
2984
3154
  }
2985
3155
  ${DATETIME_FIELDS_FRAGMENT}
@@ -3090,6 +3260,7 @@ var EVENT = gql2`
3090
3260
  socialMedia {
3091
3261
  ...SocialMediaFields
3092
3262
  }
3263
+ slug
3093
3264
  tags
3094
3265
  termsAgreement {
3095
3266
  ...TermsAgreementFields
@@ -3285,6 +3456,7 @@ var VENDOR = gql3`
3285
3456
  ...RelationDates
3286
3457
  }
3287
3458
  }
3459
+ slug
3288
3460
  socialMedia {
3289
3461
  ...SocialMediaFields
3290
3462
  }
@@ -3497,6 +3669,7 @@ var PARTNER = gql4`
3497
3669
  socialMedia {
3498
3670
  ...SocialMediaFields
3499
3671
  }
3672
+ slug
3500
3673
  termsAgreement {
3501
3674
  ...TermsAgreementFields
3502
3675
  }
@@ -3711,6 +3884,7 @@ var POST_FIELDS_FRAGMENT = gql7`
3711
3884
  }
3712
3885
  tags
3713
3886
  title
3887
+ slug
3714
3888
  updatedAt
3715
3889
  }
3716
3890
  ${POST_CONTENT_FIELDS_FRAGMENT}
@@ -8242,6 +8416,8 @@ export {
8242
8416
  cluiFiles,
8243
8417
  cluiIds,
8244
8418
  cluiImages,
8419
+ collectStallholderStartDates,
8420
+ collectVendorEventRelationDateTimes,
8245
8421
  companyContactFields,
8246
8422
  computeDailyClueState,
8247
8423
  contactUsFields,
@@ -8250,11 +8426,18 @@ export {
8250
8426
  emailField,
8251
8427
  eventBasicInfoFields,
8252
8428
  eventEndDateFields,
8429
+ eventHasSelectedDate,
8253
8430
  eventInfo,
8254
8431
  eventInfoPaymentInfo,
8255
8432
  eventMatchesDateStatusPeriod,
8256
8433
  eventStartDateFields,
8434
+ eventStartDatesSet,
8257
8435
  filterEventsByDateStatusPeriod,
8436
+ filterRegisteredVendorsByEventDatesOnly,
8437
+ filterRegisteredVendorsForEvent,
8438
+ filterUnregisteredVendorsByEventDatesOnly,
8439
+ filterUnregisteredVendorsForEvent,
8440
+ filterVendorEventsBySelectedDate,
8258
8441
  findEventDateTimeByIsoDate,
8259
8442
  fonts,
8260
8443
  foodFlavourOptions,
@@ -8281,9 +8464,21 @@ export {
8281
8464
  getAllowedEventDateStatuses,
8282
8465
  getCurrentAndFutureDates,
8283
8466
  getEventCalendarIsoDates,
8467
+ getEventDatesWithStallholders,
8284
8468
  getEventScheduleStatusLabel,
8285
8469
  getEventScheduleStatusPresentation,
8286
8470
  getEventScheduleStatusTone,
8471
+ getEventStallholderEmptyMessage,
8472
+ getRegisteredVendorCategoryNames,
8473
+ getRegisteredVendorStartDates,
8474
+ getStallholderCategoryNames,
8475
+ getStallholderCategoryOptions,
8476
+ getUnregisteredVendorCategoryNames,
8477
+ getUnregisteredVendorStartDates,
8478
+ getVendorEventRelationDateOptions,
8479
+ getVendorEventRelationStartDates,
8480
+ getVendorEventsEmptyMessage,
8481
+ hasMatchingEventDate,
8287
8482
  iconFiles,
8288
8483
  iconIds,
8289
8484
  icons,
@@ -8300,6 +8495,8 @@ export {
8300
8495
  logoIds,
8301
8496
  logos,
8302
8497
  mapArrayToOptions,
8498
+ matchesCategory,
8499
+ matchesSelectedDate,
8303
8500
  normalizeShareOgDescription,
8304
8501
  normalizeShareRouteId,
8305
8502
  normalizeShareText,
@@ -8320,6 +8517,7 @@ export {
8320
8517
  profileFields,
8321
8518
  refundPolicyOptions,
8322
8519
  registerFields,
8520
+ relationHasSelectedDate,
8323
8521
  removeTypename,
8324
8522
  requestPasswordResetFields,
8325
8523
  requirementsOptions,