@timardex/cluemart-shared 1.5.756 → 1.5.758
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DQVXL6TO.mjs → chunk-4E7UDAQX.mjs} +2 -2
- package/dist/{chunk-IMQU3E2F.mjs → chunk-IIOU4CXQ.mjs} +564 -906
- package/dist/chunk-IIOU4CXQ.mjs.map +1 -0
- package/dist/chunk-K3PEZWSB.mjs +958 -0
- package/dist/chunk-K3PEZWSB.mjs.map +1 -0
- package/dist/formFields/index.cjs +1453 -1445
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.mjs +5 -4
- package/dist/hooks/index.cjs +1520 -1512
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/index.cjs +1782 -1475
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +71 -17
- package/dist/index.d.ts +71 -17
- package/dist/index.mjs +1748 -1475
- package/dist/index.mjs.map +1 -1
- package/dist/sharing/index.cjs +1003 -0
- package/dist/sharing/index.cjs.map +1 -1
- package/dist/sharing/index.mjs +2 -2
- package/dist/utils/index.cjs +1302 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +57 -3
- package/dist/utils/index.d.ts +57 -3
- package/dist/utils/index.mjs +69 -1
- package/package.json +1 -1
- package/dist/chunk-IMQU3E2F.mjs.map +0 -1
- package/dist/chunk-KZLKBUMF.mjs +0 -343
- package/dist/chunk-KZLKBUMF.mjs.map +0 -1
- /package/dist/{chunk-DQVXL6TO.mjs.map → chunk-4E7UDAQX.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -941,709 +941,940 @@ function filterEventsByDateStatusPeriod(events, period) {
|
|
|
941
941
|
);
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
// src/
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
var vendorTable = {
|
|
970
|
-
details: {
|
|
971
|
-
helperText: "Please describe details e.g. size, etc.",
|
|
972
|
-
isTextArea: true,
|
|
973
|
-
name: "requirements.table.details",
|
|
974
|
-
placeholder: "Table requirements"
|
|
975
|
-
},
|
|
976
|
-
isRequired: {
|
|
977
|
-
name: "requirements.table.isRequired",
|
|
978
|
-
placeholder: "Do you require Table?"
|
|
979
|
-
}
|
|
980
|
-
};
|
|
981
|
-
var vendorPriceRange = {
|
|
982
|
-
max: {
|
|
983
|
-
helperText: "Product maximum price",
|
|
984
|
-
name: "product.priceRange.max",
|
|
985
|
-
placeholder: "Maximum price: "
|
|
986
|
-
},
|
|
987
|
-
min: {
|
|
988
|
-
helperText: "Product minimum price",
|
|
989
|
-
name: "product.priceRange.min",
|
|
990
|
-
placeholder: "Minimum price: "
|
|
944
|
+
// src/calendar/eventCalendar.ts
|
|
945
|
+
import dayjs2 from "dayjs";
|
|
946
|
+
var KNOWN_EVENT_SCHEDULE_STATUSES = /* @__PURE__ */ new Set([
|
|
947
|
+
"Started" /* STARTED */,
|
|
948
|
+
"Starting_Soon" /* STARTING_SOON */,
|
|
949
|
+
"Ended" /* ENDED */
|
|
950
|
+
]);
|
|
951
|
+
function toCalendarIsoDate(startDate) {
|
|
952
|
+
const formatted = dayjs2(startDate, dateFormat).format("YYYY-MM-DD");
|
|
953
|
+
return dayjs2(formatted, "YYYY-MM-DD", true).isValid() ? formatted : null;
|
|
954
|
+
}
|
|
955
|
+
function fromCalendarIsoDate(isoDate) {
|
|
956
|
+
return dayjs2(isoDate, "YYYY-MM-DD").format(dateFormat);
|
|
957
|
+
}
|
|
958
|
+
function getEventCalendarIsoDates(dateTimes) {
|
|
959
|
+
return dateTimes?.map((dateTime) => toCalendarIsoDate(dateTime.startDate)).filter((date) => Boolean(date)) ?? [];
|
|
960
|
+
}
|
|
961
|
+
function findEventDateTimeByIsoDate(dateTimes, isoDate) {
|
|
962
|
+
const selected = fromCalendarIsoDate(isoDate);
|
|
963
|
+
return dateTimes?.find((dateTime) => dateTime.startDate === selected) ?? null;
|
|
964
|
+
}
|
|
965
|
+
function buildCalendarSheetContentData(dateTimes, isoDate, location, resourceId, resourceType) {
|
|
966
|
+
const dateTime = findEventDateTimeByIsoDate(dateTimes, isoDate);
|
|
967
|
+
if (!dateTime) {
|
|
968
|
+
return null;
|
|
991
969
|
}
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
970
|
+
return {
|
|
971
|
+
dateTime,
|
|
972
|
+
location,
|
|
973
|
+
resourceId,
|
|
974
|
+
resourceType
|
|
975
|
+
};
|
|
976
|
+
}
|
|
977
|
+
function getEventScheduleStatusTone(status) {
|
|
978
|
+
switch (status) {
|
|
979
|
+
case "Started" /* STARTED */:
|
|
980
|
+
return "started";
|
|
981
|
+
case "Starting_Soon" /* STARTING_SOON */:
|
|
982
|
+
return "startingSoon";
|
|
983
|
+
case "Ended" /* ENDED */:
|
|
984
|
+
return "ended";
|
|
985
|
+
default:
|
|
986
|
+
return "default";
|
|
1003
987
|
}
|
|
1004
|
-
}
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
};
|
|
1020
|
-
var vendorCompliance = [
|
|
1021
|
-
{
|
|
1022
|
-
name: "compliance.liabilityInsurance",
|
|
1023
|
-
placeholder: "Liability Insurance"
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
name: "compliance.foodBeverageLicense",
|
|
1027
|
-
placeholder: "Food and Beverage License"
|
|
988
|
+
}
|
|
989
|
+
function getEventScheduleStatusPresentation(dateTime) {
|
|
990
|
+
return {
|
|
991
|
+
status: dateTime.dateStatus,
|
|
992
|
+
statusLabel: dateTime.dateStatus.replaceAll("_", " ").toLowerCase(),
|
|
993
|
+
tone: getEventScheduleStatusTone(dateTime.dateStatus)
|
|
994
|
+
};
|
|
995
|
+
}
|
|
996
|
+
function getEventScheduleStatusLabel(dateTime, onlyShowKnownStatuses) {
|
|
997
|
+
const { dateStatus: status } = dateTime;
|
|
998
|
+
const isKnownStatus = Boolean(
|
|
999
|
+
status && KNOWN_EVENT_SCHEDULE_STATUSES.has(status)
|
|
1000
|
+
);
|
|
1001
|
+
if (onlyShowKnownStatuses && !isKnownStatus) {
|
|
1002
|
+
return null;
|
|
1028
1003
|
}
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
"
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
"Recyclable",
|
|
1039
|
-
"Reusable",
|
|
1040
|
-
"Single-use",
|
|
1041
|
-
"Wood"
|
|
1042
|
-
];
|
|
1043
|
-
var producedIngTypes = [
|
|
1044
|
-
"Commercial Kitchen",
|
|
1045
|
-
"Home Premises",
|
|
1046
|
-
"Factory",
|
|
1047
|
-
"Farm",
|
|
1048
|
-
"Other"
|
|
1049
|
-
];
|
|
1050
|
-
var packagingOptions = mapArrayToOptions(packagingTypes);
|
|
1051
|
-
var producedIngOptions = mapArrayToOptions(producedIngTypes);
|
|
1052
|
-
var foodFlavourOptions = Object.values(
|
|
1053
|
-
EnumFoodFlavor
|
|
1054
|
-
).map((flavour) => ({
|
|
1055
|
-
label: flavour.replaceAll("_", " "),
|
|
1056
|
-
value: flavour
|
|
1057
|
-
}));
|
|
1004
|
+
return isKnownStatus ? status.replaceAll("_", " ").toLowerCase() : `Next event date: ${formatDate(dateTime.startDate, "date")}`;
|
|
1005
|
+
}
|
|
1006
|
+
function shouldShowEventActionsWithWeather(resourceType, dateTime, location) {
|
|
1007
|
+
return resourceType === "event" /* EVENT */ && Boolean(location) && Boolean(dateTime?.dateStatus) && ![
|
|
1008
|
+
"Ended" /* ENDED */,
|
|
1009
|
+
"Canceled" /* CANCELED */,
|
|
1010
|
+
"Started" /* STARTED */
|
|
1011
|
+
].includes(dateTime.dateStatus);
|
|
1012
|
+
}
|
|
1058
1013
|
|
|
1059
|
-
// src/formFields/
|
|
1060
|
-
var
|
|
1061
|
-
{
|
|
1062
|
-
helperText: "Name of the Event *",
|
|
1063
|
-
name: "name",
|
|
1064
|
-
placeholder: "Name"
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
helperText: "NZBN number (required \u2013 ClueMart only accepts events with valid NZBN number) *",
|
|
1068
|
-
keyboardType: "number-pad",
|
|
1069
|
-
name: "nzbn",
|
|
1070
|
-
placeholder: "NZBN number"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
helperText: "Name of the Provider (if applicable)",
|
|
1074
|
-
name: "provider",
|
|
1075
|
-
placeholder: "Provider"
|
|
1076
|
-
},
|
|
1014
|
+
// src/formFields/categories/clothingAndFashion.ts
|
|
1015
|
+
var clothingAndFashion = [
|
|
1077
1016
|
{
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
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
|
+
]
|
|
1082
1106
|
}
|
|
1083
1107
|
];
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
helperText: "Start Date of the Event *",
|
|
1088
|
-
name: "startDate",
|
|
1089
|
-
placeholder: "Start Date"
|
|
1090
|
-
},
|
|
1108
|
+
|
|
1109
|
+
// src/formFields/categories/electronicsAndTechnology.ts
|
|
1110
|
+
var electronicsAndTechnology = [
|
|
1091
1111
|
{
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
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
|
+
]
|
|
1096
1180
|
}
|
|
1097
1181
|
];
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
helperText: "End Date of the Event *",
|
|
1102
|
-
name: "endDate",
|
|
1103
|
-
placeholder: "End Date"
|
|
1104
|
-
},
|
|
1182
|
+
|
|
1183
|
+
// src/formFields/categories/foodAndBeverages.ts
|
|
1184
|
+
var foodAndBeverages = [
|
|
1105
1185
|
{
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
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
|
+
]
|
|
1110
1345
|
}
|
|
1111
1346
|
];
|
|
1112
|
-
var availableTagTypes = [
|
|
1113
|
-
{ icon: "human-male-female-child", label: "All Ages" },
|
|
1114
|
-
{ icon: "weather-sunny", label: "Day Market" },
|
|
1115
|
-
{ icon: "account-child", label: "Family Friendly" },
|
|
1116
|
-
{ icon: "ticket-percent", label: "Free Entry" },
|
|
1117
|
-
{ icon: "home-city", label: "Indoor Market" },
|
|
1118
|
-
{ icon: "music", label: "Live Music" },
|
|
1119
|
-
{ icon: "bus", label: "Near Bustop" },
|
|
1120
|
-
{ icon: "slide", label: "Near Playground" },
|
|
1121
|
-
{ icon: "train", label: "Near Train Station" },
|
|
1122
|
-
{ icon: "weather-night", label: "Night Market" },
|
|
1123
|
-
{ icon: "tree", label: "Outdoor Market" },
|
|
1124
|
-
{ icon: "car", label: "Parking Available" },
|
|
1125
|
-
{ icon: "dog", label: "Pet Friendly" },
|
|
1126
|
-
{ icon: "ship-wheel", label: "Port Nearby" },
|
|
1127
|
-
{ icon: "toilet", label: "Toilet Available" },
|
|
1128
|
-
{ icon: "wheelchair-accessibility", label: "Wheelchair Accessible" }
|
|
1129
|
-
];
|
|
1130
|
-
var tagOptions = availableTagTypes.map((tag) => ({
|
|
1131
|
-
label: tag.label,
|
|
1132
|
-
value: tag.label
|
|
1133
|
-
}));
|
|
1134
1347
|
|
|
1135
|
-
// src/formFields/
|
|
1136
|
-
var
|
|
1137
|
-
{
|
|
1138
|
-
helperText: "Application Deadline (hours before event start) *",
|
|
1139
|
-
keyboardType: "number-pad",
|
|
1140
|
-
name: "applicationDeadlineHours",
|
|
1141
|
-
placeholder: "Application Deadline (in hours)"
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
helperText: "Payment Due (hours after application or invitation acceptance) *",
|
|
1145
|
-
keyboardType: "number-pad",
|
|
1146
|
-
name: "paymentDueHours",
|
|
1147
|
-
placeholder: "Payment Due (in hours)"
|
|
1148
|
-
},
|
|
1348
|
+
// src/formFields/categories/handmadeAndLocalProducts.ts
|
|
1349
|
+
var handmadeAndLocalProducts = [
|
|
1149
1350
|
{
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
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
|
+
]
|
|
1154
1490
|
}
|
|
1155
1491
|
];
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
name: "accountHolderName",
|
|
1160
|
-
placeholder: "Account holder name"
|
|
1161
|
-
},
|
|
1162
|
-
{
|
|
1163
|
-
helperText: "Account number *",
|
|
1164
|
-
keyboardType: "number-pad",
|
|
1165
|
-
name: "accountNumber",
|
|
1166
|
-
placeholder: "Account number"
|
|
1167
|
-
},
|
|
1492
|
+
|
|
1493
|
+
// src/formFields/categories/healthAndWellness.ts
|
|
1494
|
+
var healthAndWellness = [
|
|
1168
1495
|
{
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
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
|
+
]
|
|
1173
1554
|
}
|
|
1174
1555
|
];
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
label: "All packaging must be eco-friendly or recyclable where possible.",
|
|
1179
|
-
value: false
|
|
1180
|
-
},
|
|
1556
|
+
|
|
1557
|
+
// src/formFields/categories/homeGardenHousehold.ts
|
|
1558
|
+
var homeGardenHousehold = [
|
|
1181
1559
|
{
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
category: "Legal & Safety",
|
|
1263
|
-
label: "Noise levels must be kept to a minimum unless part of a permitted performance.",
|
|
1264
|
-
value: false
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
category: "Legal & Safety",
|
|
1268
|
-
label: "Pets at the stall must be secured and well-behaved at all times.",
|
|
1269
|
-
value: false
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
category: "Legal & Safety",
|
|
1273
|
-
label: "Cables must be secured and not create tripping hazards.",
|
|
1274
|
-
value: false
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
category: "Legal & Safety",
|
|
1278
|
-
label: "Stalls must not obstruct emergency access routes.",
|
|
1279
|
-
value: false
|
|
1280
|
-
},
|
|
1281
|
-
{
|
|
1282
|
-
category: "Legal & Safety",
|
|
1283
|
-
label: "First aid kit must be available at the stall for minor injuries.",
|
|
1284
|
-
value: false
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
category: "Legal & Safety",
|
|
1288
|
-
label: "Stallholders must hold valid liability insurance where required.",
|
|
1289
|
-
value: false
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
category: "Legal & Safety",
|
|
1293
|
-
label: "You must secure your gazebo and equipment to withstand wind or bad weather.",
|
|
1294
|
-
value: false
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
category: "Legal & Safety",
|
|
1298
|
-
label: "You are responsible for the safety of your setup and any potential hazards.",
|
|
1299
|
-
value: false
|
|
1300
|
-
},
|
|
1301
|
-
{
|
|
1302
|
-
category: "Operations",
|
|
1303
|
-
label: "Generators must be quiet and pre-approved by the event organiser.",
|
|
1304
|
-
value: false
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
category: "Operations",
|
|
1308
|
-
label: "Only approved products or services may be sold \u2014 no last-minute changes.",
|
|
1309
|
-
value: false
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
category: "Operations",
|
|
1313
|
-
label: "Stallholders must arrive and be fully set up by the designated opening time.",
|
|
1314
|
-
value: false
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
category: "Operations",
|
|
1318
|
-
label: "You may not pack down your stall before the event officially ends.",
|
|
1319
|
-
value: false
|
|
1320
|
-
},
|
|
1321
|
-
{
|
|
1322
|
-
category: "Operations",
|
|
1323
|
-
label: "You must be self-sufficient in all operations.",
|
|
1324
|
-
value: false
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
category: "Operations",
|
|
1328
|
-
label: "Stall layout must be kept within your allocated space.",
|
|
1329
|
-
value: false
|
|
1330
|
-
}
|
|
1331
|
-
];
|
|
1332
|
-
var stallTypes = [
|
|
1333
|
-
"1.8m table only",
|
|
1334
|
-
"2x2m mini stall",
|
|
1335
|
-
"3x3m tent site",
|
|
1336
|
-
"Corner stall",
|
|
1337
|
-
"Craft stall with power",
|
|
1338
|
-
"Craft stall without power",
|
|
1339
|
-
"Double stall (6x3m)",
|
|
1340
|
-
"Food truck site",
|
|
1341
|
-
"Food vendor with power",
|
|
1342
|
-
"Food vendor without power",
|
|
1343
|
-
"Inside hall stall",
|
|
1344
|
-
"Non-profit/community stall",
|
|
1345
|
-
"Outdoor open area",
|
|
1346
|
-
"Shared table space",
|
|
1347
|
-
"Wall-based vendor",
|
|
1348
|
-
"Workshop/seating area"
|
|
1349
|
-
];
|
|
1350
|
-
var stallTypeOptions = stallTypes.map((type) => ({
|
|
1351
|
-
label: type,
|
|
1352
|
-
price: 0,
|
|
1353
|
-
stallCapacity: 0
|
|
1354
|
-
}));
|
|
1355
|
-
var refundPolicyOptions = [
|
|
1356
|
-
{
|
|
1357
|
-
category: "Cancelled by Vendor",
|
|
1358
|
-
label: "Full refund if cancelled 30+ days before the event.",
|
|
1359
|
-
value: false
|
|
1360
|
-
},
|
|
1361
|
-
{
|
|
1362
|
-
category: "Cancelled by Vendor",
|
|
1363
|
-
label: "50% refund if cancelled 14\u201329 days before the event.",
|
|
1364
|
-
value: false
|
|
1365
|
-
},
|
|
1366
|
-
{
|
|
1367
|
-
category: "Cancelled by Vendor",
|
|
1368
|
-
label: "No refund if cancelled less than 14 days before the event.",
|
|
1369
|
-
value: false
|
|
1370
|
-
},
|
|
1371
|
-
{
|
|
1372
|
-
category: "Cancelled by Vendor",
|
|
1373
|
-
label: "Full refund if cancelled due to illness or emergency.",
|
|
1374
|
-
value: false
|
|
1375
|
-
},
|
|
1376
|
-
{
|
|
1377
|
-
category: "Cancelled by Vendor",
|
|
1378
|
-
label: "No refund for no-shows or last-minute cancellations.",
|
|
1379
|
-
value: false
|
|
1380
|
-
},
|
|
1381
|
-
{
|
|
1382
|
-
category: "Cancelled by Vendor",
|
|
1383
|
-
label: "No refund",
|
|
1384
|
-
value: false
|
|
1385
|
-
},
|
|
1386
|
-
{
|
|
1387
|
-
category: "Cancelled by Organiser",
|
|
1388
|
-
label: "Full refund if the event is cancelled by the organiser.",
|
|
1389
|
-
value: false
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
category: "Cancelled by Organiser",
|
|
1393
|
-
label: "Credit towards a future event if cancelled by the organiser.",
|
|
1394
|
-
value: false
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
category: "Cancelled by Organiser",
|
|
1398
|
-
label: "Refund only in cases of force majeure (e.g., natural disasters, government restrictions).",
|
|
1399
|
-
value: false
|
|
1400
|
-
},
|
|
1401
|
-
{
|
|
1402
|
-
category: "Cancelled by Organiser",
|
|
1403
|
-
label: "No refund",
|
|
1404
|
-
value: false
|
|
1405
|
-
}
|
|
1406
|
-
];
|
|
1407
|
-
|
|
1408
|
-
// src/formFields/global.ts
|
|
1409
|
-
var emailField = {
|
|
1410
|
-
helperText: "Enter email address",
|
|
1411
|
-
keyboardType: "email-address",
|
|
1412
|
-
name: "email",
|
|
1413
|
-
placeholder: "Email"
|
|
1414
|
-
};
|
|
1415
|
-
var companyContactFields = [
|
|
1416
|
-
{
|
|
1417
|
-
...emailField,
|
|
1418
|
-
name: "contactDetails.email"
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
helperText: "Enter your mobile phone number",
|
|
1422
|
-
keyboardType: "phone-pad",
|
|
1423
|
-
name: "contactDetails.mobilePhone",
|
|
1424
|
-
placeholder: "Mobile Phone Number"
|
|
1425
|
-
},
|
|
1426
|
-
{
|
|
1427
|
-
helperText: "Enter your landline phone number",
|
|
1428
|
-
keyboardType: "phone-pad",
|
|
1429
|
-
name: "contactDetails.landlinePhone",
|
|
1430
|
-
placeholder: "Landline Phone Number"
|
|
1431
|
-
}
|
|
1432
|
-
];
|
|
1433
|
-
|
|
1434
|
-
// src/formFields/auth.ts
|
|
1435
|
-
var loginFields = [
|
|
1436
|
-
{
|
|
1437
|
-
...emailField,
|
|
1438
|
-
required: true
|
|
1439
|
-
},
|
|
1440
|
-
{
|
|
1441
|
-
helperText: "Enter password",
|
|
1442
|
-
keyboardType: "default",
|
|
1443
|
-
name: "password",
|
|
1444
|
-
placeholder: "Password",
|
|
1445
|
-
required: true,
|
|
1446
|
-
secureTextEntry: true
|
|
1447
|
-
}
|
|
1448
|
-
];
|
|
1449
|
-
var registerFields = [
|
|
1450
|
-
{
|
|
1451
|
-
helperText: "Enter first name",
|
|
1452
|
-
keyboardType: "default",
|
|
1453
|
-
name: "firstName",
|
|
1454
|
-
placeholder: "First Name",
|
|
1455
|
-
required: true
|
|
1456
|
-
},
|
|
1457
|
-
{
|
|
1458
|
-
helperText: "Enter last name",
|
|
1459
|
-
keyboardType: "default",
|
|
1460
|
-
name: "lastName",
|
|
1461
|
-
placeholder: "Last Name",
|
|
1462
|
-
required: true
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
...emailField,
|
|
1466
|
-
required: true
|
|
1467
|
-
},
|
|
1468
|
-
{
|
|
1469
|
-
helperText: "Enter password",
|
|
1470
|
-
keyboardType: "default",
|
|
1471
|
-
name: "password",
|
|
1472
|
-
placeholder: "Password",
|
|
1473
|
-
required: true,
|
|
1474
|
-
secureTextEntry: true
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
helperText: "Promotional code (optional)",
|
|
1478
|
-
keyboardType: "default",
|
|
1479
|
-
name: "promoCode",
|
|
1480
|
-
placeholder: "Promotional Code",
|
|
1481
|
-
required: false
|
|
1482
|
-
}
|
|
1483
|
-
];
|
|
1484
|
-
var requestPasswordResetFields = [
|
|
1485
|
-
{
|
|
1486
|
-
...emailField,
|
|
1487
|
-
helperText: "Enter email address to reset your password",
|
|
1488
|
-
required: true
|
|
1489
|
-
}
|
|
1490
|
-
];
|
|
1491
|
-
var resetPasswordFields = [
|
|
1492
|
-
{
|
|
1493
|
-
helperText: "Enter your new password",
|
|
1494
|
-
keyboardType: "default",
|
|
1495
|
-
name: "password",
|
|
1496
|
-
placeholder: "Password",
|
|
1497
|
-
required: true,
|
|
1498
|
-
secureTextEntry: true
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
helperText: "Confirm your new password",
|
|
1502
|
-
keyboardType: "default",
|
|
1503
|
-
name: "confirmPassword",
|
|
1504
|
-
placeholder: "Confirm Password",
|
|
1505
|
-
required: true,
|
|
1506
|
-
secureTextEntry: true
|
|
1507
|
-
}
|
|
1508
|
-
];
|
|
1509
|
-
var validateVerificationTokenFields = [
|
|
1510
|
-
{
|
|
1511
|
-
...emailField,
|
|
1512
|
-
disabled: true,
|
|
1513
|
-
helperText: "Your email address"
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
helperText: "Enter the Verification code sent to you by email",
|
|
1517
|
-
keyboardType: "number-pad",
|
|
1518
|
-
name: "verificationToken",
|
|
1519
|
-
placeholder: "Verification code",
|
|
1520
|
-
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
|
+
]
|
|
1521
1638
|
}
|
|
1522
1639
|
];
|
|
1523
1640
|
|
|
1524
|
-
// src/formFields/
|
|
1525
|
-
var
|
|
1526
|
-
{
|
|
1527
|
-
...emailField,
|
|
1528
|
-
disabled: true,
|
|
1529
|
-
helperText: "Email cannot be changed"
|
|
1530
|
-
},
|
|
1531
|
-
{
|
|
1532
|
-
helperText: "Enter first name",
|
|
1533
|
-
keyboardType: "default",
|
|
1534
|
-
name: "firstName",
|
|
1535
|
-
placeholder: "First Name"
|
|
1536
|
-
},
|
|
1537
|
-
{
|
|
1538
|
-
helperText: "Enter last name",
|
|
1539
|
-
keyboardType: "default",
|
|
1540
|
-
name: "lastName",
|
|
1541
|
-
placeholder: "Last Name"
|
|
1542
|
-
},
|
|
1543
|
-
{
|
|
1544
|
-
helperText: "Enter your new password",
|
|
1545
|
-
keyboardType: "default",
|
|
1546
|
-
name: "password",
|
|
1547
|
-
placeholder: "Password",
|
|
1548
|
-
secureTextEntry: true
|
|
1549
|
-
},
|
|
1641
|
+
// src/formFields/categories/petProductsAndAnimalGoods.ts
|
|
1642
|
+
var petProductsAndAnimalGoods = [
|
|
1550
1643
|
{
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
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
|
+
]
|
|
1556
1718
|
}
|
|
1557
1719
|
];
|
|
1558
1720
|
|
|
1559
|
-
// src/formFields/categories/
|
|
1560
|
-
var
|
|
1721
|
+
// src/formFields/categories/serviceAndExperience.ts
|
|
1722
|
+
var serviceAndExperience = [
|
|
1561
1723
|
{
|
|
1562
|
-
id: "
|
|
1563
|
-
name: "
|
|
1564
|
-
description: "
|
|
1724
|
+
id: "services-experiences",
|
|
1725
|
+
name: "Services & Experiences",
|
|
1726
|
+
description: "On-site offerings that provide entertainment, personal care, learning, or interactive activities beyond products.",
|
|
1565
1727
|
subcategories: [
|
|
1566
1728
|
{
|
|
1567
|
-
id: "
|
|
1568
|
-
name: "
|
|
1729
|
+
id: "personal-care-body-art",
|
|
1730
|
+
name: "Personal Care & Body Art",
|
|
1569
1731
|
items: [
|
|
1570
1732
|
{
|
|
1571
|
-
id: "
|
|
1572
|
-
name: "
|
|
1573
|
-
description: "
|
|
1733
|
+
id: "nails-handcare",
|
|
1734
|
+
name: "Nails & Handcare",
|
|
1735
|
+
description: "Nail painting, decoration, quick manicures, temporary nail extensions."
|
|
1574
1736
|
},
|
|
1575
1737
|
{
|
|
1576
|
-
id: "
|
|
1577
|
-
name: "
|
|
1578
|
-
description: "
|
|
1738
|
+
id: "hair-styling-braiding",
|
|
1739
|
+
name: "Hair Styling & Braiding",
|
|
1740
|
+
description: "Hair braiding, plaits, child-friendly festival hairstyles."
|
|
1579
1741
|
},
|
|
1580
1742
|
{
|
|
1581
|
-
id: "
|
|
1582
|
-
name: "
|
|
1583
|
-
description: "
|
|
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)."
|
|
1584
1746
|
},
|
|
1585
1747
|
{
|
|
1586
|
-
id: "other-
|
|
1587
|
-
name: "Other
|
|
1588
|
-
description: "
|
|
1748
|
+
id: "other-beauty-grooming-services",
|
|
1749
|
+
name: "Other beauty or grooming services",
|
|
1750
|
+
description: "Small-scale personal care options offered on-site."
|
|
1589
1751
|
}
|
|
1590
1752
|
]
|
|
1591
1753
|
},
|
|
1592
1754
|
{
|
|
1593
|
-
id: "
|
|
1594
|
-
name: "
|
|
1755
|
+
id: "practical-wellness-services",
|
|
1756
|
+
name: "Practical & Wellness Services",
|
|
1595
1757
|
items: [
|
|
1596
1758
|
{
|
|
1597
|
-
id: "
|
|
1598
|
-
name: "
|
|
1599
|
-
description: "
|
|
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."
|
|
1600
1762
|
},
|
|
1601
1763
|
{
|
|
1602
|
-
id: "
|
|
1603
|
-
name: "
|
|
1604
|
-
description: "
|
|
1764
|
+
id: "wellness-alternative-therapies",
|
|
1765
|
+
name: "Wellness & Alternative Therapies",
|
|
1766
|
+
description: "Massage, aromatherapy, reflexology, energy healing (e.g. Reiki), natural consultations."
|
|
1605
1767
|
},
|
|
1606
1768
|
{
|
|
1607
|
-
id: "
|
|
1608
|
-
name: "
|
|
1609
|
-
description: "
|
|
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."
|
|
1610
1783
|
},
|
|
1611
1784
|
{
|
|
1612
|
-
id: "
|
|
1613
|
-
name: "
|
|
1614
|
-
description: "
|
|
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."
|
|
1615
1793
|
}
|
|
1616
1794
|
]
|
|
1617
1795
|
},
|
|
1618
1796
|
{
|
|
1619
|
-
id: "
|
|
1620
|
-
name: "
|
|
1797
|
+
id: "kids-activities-family-fun",
|
|
1798
|
+
name: "Kids\u2019 Activities & Family Fun",
|
|
1621
1799
|
items: [
|
|
1622
1800
|
{
|
|
1623
|
-
id: "
|
|
1624
|
-
name: "
|
|
1625
|
-
description: "
|
|
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."
|
|
1626
1804
|
},
|
|
1627
1805
|
{
|
|
1628
|
-
id: "other-
|
|
1629
|
-
name: "Other
|
|
1630
|
-
description: "
|
|
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."
|
|
1631
1841
|
}
|
|
1632
1842
|
]
|
|
1633
1843
|
},
|
|
1634
1844
|
{
|
|
1635
|
-
id: "
|
|
1636
|
-
name: "
|
|
1845
|
+
id: "educational-developmental",
|
|
1846
|
+
name: "Educational & Developmental",
|
|
1637
1847
|
items: [
|
|
1638
1848
|
{
|
|
1639
|
-
id: "
|
|
1640
|
-
name: "
|
|
1641
|
-
description: "
|
|
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."
|
|
1642
1852
|
},
|
|
1643
1853
|
{
|
|
1644
|
-
id: "other-
|
|
1645
|
-
name: "Other
|
|
1646
|
-
description: "
|
|
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."
|
|
1647
1878
|
}
|
|
1648
1879
|
]
|
|
1649
1880
|
}
|
|
@@ -1651,73 +1882,90 @@ var clothingAndFashion = [
|
|
|
1651
1882
|
}
|
|
1652
1883
|
];
|
|
1653
1884
|
|
|
1654
|
-
// src/formFields/categories/
|
|
1655
|
-
var
|
|
1885
|
+
// src/formFields/categories/vintageAndAntique.ts
|
|
1886
|
+
var vintageAndAntique = [
|
|
1656
1887
|
{
|
|
1657
|
-
id: "
|
|
1658
|
-
name: "
|
|
1659
|
-
description: "
|
|
1888
|
+
id: "vintage-antique",
|
|
1889
|
+
name: "Vintage & Antique",
|
|
1890
|
+
description: "Unique, historic, or nostalgic items with collectible or decorative value.",
|
|
1660
1891
|
subcategories: [
|
|
1661
1892
|
{
|
|
1662
|
-
id: "
|
|
1663
|
-
name: "
|
|
1893
|
+
id: "vintage-antique-clothing-accessories",
|
|
1894
|
+
name: "Vintage & Antique Clothing & Accessories",
|
|
1664
1895
|
items: [
|
|
1665
1896
|
{
|
|
1666
|
-
id: "
|
|
1667
|
-
name: "
|
|
1668
|
-
description: "
|
|
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."
|
|
1669
1900
|
},
|
|
1670
1901
|
{
|
|
1671
|
-
id: "other-
|
|
1672
|
-
name: "Other
|
|
1673
|
-
description: "
|
|
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."
|
|
1674
1921
|
}
|
|
1675
1922
|
]
|
|
1676
1923
|
},
|
|
1677
1924
|
{
|
|
1678
|
-
id: "
|
|
1679
|
-
name: "
|
|
1925
|
+
id: "homewares-decor-curiosities",
|
|
1926
|
+
name: "Homewares, Decor & Curiosities",
|
|
1680
1927
|
items: [
|
|
1681
1928
|
{
|
|
1682
|
-
id: "
|
|
1683
|
-
name: "
|
|
1684
|
-
description: "
|
|
1685
|
-
},
|
|
1686
|
-
{
|
|
1687
|
-
id: "instruments-music-gear",
|
|
1688
|
-
name: "Instruments & Music Gear",
|
|
1689
|
-
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."
|
|
1690
1932
|
},
|
|
1691
1933
|
{
|
|
1692
|
-
id: "
|
|
1693
|
-
name: "
|
|
1694
|
-
description: "
|
|
1934
|
+
id: "handmade-vintage-art",
|
|
1935
|
+
name: "Handmade vintage art",
|
|
1936
|
+
description: "Paintings, sculptures, crafted pieces."
|
|
1695
1937
|
},
|
|
1696
1938
|
{
|
|
1697
|
-
id: "other-
|
|
1698
|
-
name: "Other
|
|
1699
|
-
description: "
|
|
1939
|
+
id: "other-home-decor-items",
|
|
1940
|
+
name: "Other home or decor items",
|
|
1941
|
+
description: "Decorative pieces not listed above, unique household objects."
|
|
1700
1942
|
}
|
|
1701
1943
|
]
|
|
1702
1944
|
},
|
|
1703
1945
|
{
|
|
1704
|
-
id: "
|
|
1705
|
-
name: "
|
|
1946
|
+
id: "vintage-media-printed-nostalgia",
|
|
1947
|
+
name: "Vintage Media & Printed Nostalgia",
|
|
1706
1948
|
items: [
|
|
1707
1949
|
{
|
|
1708
|
-
id: "
|
|
1709
|
-
name: "
|
|
1710
|
-
description: "
|
|
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."
|
|
1711
1953
|
},
|
|
1712
1954
|
{
|
|
1713
|
-
id: "other-
|
|
1714
|
-
name: "Other
|
|
1715
|
-
description: "
|
|
1716
|
-
}
|
|
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: [
|
|
1717
1965
|
{
|
|
1718
|
-
id: "
|
|
1719
|
-
name: "
|
|
1720
|
-
description: "
|
|
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."
|
|
1721
1969
|
}
|
|
1722
1970
|
]
|
|
1723
1971
|
}
|
|
@@ -1725,831 +1973,822 @@ var electronicsAndTechnology = [
|
|
|
1725
1973
|
}
|
|
1726
1974
|
];
|
|
1727
1975
|
|
|
1728
|
-
// src/formFields/categories/
|
|
1729
|
-
var
|
|
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 = [
|
|
1730
2371
|
{
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
description: "Butcher cuts, fresh fish, smoked meats, sausages, seafood platters, artisanal jerky."
|
|
1748
|
-
},
|
|
1749
|
-
{
|
|
1750
|
-
id: "dairy-eggs",
|
|
1751
|
-
name: "Dairy & Eggs",
|
|
1752
|
-
description: "Farm eggs, handmade cheeses, yoghurt, fresh milk, goat\u2019s milk products."
|
|
1753
|
-
},
|
|
1754
|
-
{
|
|
1755
|
-
id: "bakery-pastries",
|
|
1756
|
-
name: "Bakery & Pastries",
|
|
1757
|
-
description: "Freshly baked bread, sourdough, bagels, croissants, focaccia, traditional baked goods."
|
|
1758
|
-
},
|
|
1759
|
-
{
|
|
1760
|
-
id: "spices-condiments",
|
|
1761
|
-
name: "Spices & Condiments",
|
|
1762
|
-
description: "Dried herbs, spice blends, specialty salts, hot sauces, infused oils, chutneys."
|
|
1763
|
-
},
|
|
1764
|
-
{
|
|
1765
|
-
id: "packaged-specialty-foods",
|
|
1766
|
-
name: "Packaged & Specialty Foods",
|
|
1767
|
-
description: "Honey, jams, preserves, pickles, nut butters, sauces, pre-packaged snacks."
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
id: "other-fresh-food-items",
|
|
1771
|
-
name: "Other fresh food items",
|
|
1772
|
-
description: "Items that don\u2019t fit above, e.g. fermented foods, plant-based substitutes."
|
|
1773
|
-
}
|
|
1774
|
-
]
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
id: "beverages-specialty-drinks",
|
|
1778
|
-
name: "Beverages & Specialty Drinks",
|
|
1779
|
-
items: [
|
|
1780
|
-
{
|
|
1781
|
-
id: "fresh-juices-smoothies",
|
|
1782
|
-
name: "Fresh Juices & Smoothies",
|
|
1783
|
-
description: "Cold-pressed juices, detox blends, fruit smoothies, tropical mixes."
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
id: "coffee-teas",
|
|
1787
|
-
name: "Coffee & Teas",
|
|
1788
|
-
description: "Espresso, pour-over coffee, herbal teas, matcha, bubble tea, locally blended tea."
|
|
1789
|
-
},
|
|
1790
|
-
{
|
|
1791
|
-
id: "dairy-plant-based-drinks",
|
|
1792
|
-
name: "Dairy & Plant-Based Drinks",
|
|
1793
|
-
description: "Milkshakes, lassis, almond/oat milk drinks, coconut water."
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
id: "alcoholic-beverages",
|
|
1797
|
-
name: "Alcoholic Beverages",
|
|
1798
|
-
description: "Local wines, craft beer, mead, cider, infused spirits, cocktail kits."
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
id: "other-beverages",
|
|
1802
|
-
name: "Other beverages",
|
|
1803
|
-
description: "Kombucha, kefir, energy drinks, non-alcoholic wines or beers."
|
|
1804
|
-
}
|
|
1805
|
-
]
|
|
1806
|
-
},
|
|
1807
|
-
{
|
|
1808
|
-
id: "savoury-prepared-foods-street-food",
|
|
1809
|
-
name: "Savoury Prepared Foods & Street Food",
|
|
1810
|
-
items: [
|
|
1811
|
-
{
|
|
1812
|
-
id: "local-specialties",
|
|
1813
|
-
name: "Local Specialties",
|
|
1814
|
-
description: "Meat pies, hangi, seafood chowder, fry bread, traditional NZ dishes."
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
id: "asian-cuisine",
|
|
1818
|
-
name: "Asian Cuisine",
|
|
1819
|
-
description: "Sushi, bao buns, dumplings, ramen, satay, spring rolls, fried rice."
|
|
1820
|
-
},
|
|
1821
|
-
{
|
|
1822
|
-
id: "mediterranean-cuisine",
|
|
1823
|
-
name: "Mediterranean Cuisine",
|
|
1824
|
-
description: "Falafel, hummus wraps, souvlaki, Greek salad, dolma."
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
id: "italian-delights",
|
|
1828
|
-
name: "Italian Delights",
|
|
1829
|
-
description: "Pizza, calzone, focaccia, fresh pasta, arancini."
|
|
1830
|
-
},
|
|
1831
|
-
{
|
|
1832
|
-
id: "bbq-grilled-foods",
|
|
1833
|
-
name: "BBQ & Grilled Foods",
|
|
1834
|
-
description: "Kebabs, grilled chicken, ribs, burgers, sausages."
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
id: "savoury-crepes-pancakes",
|
|
1838
|
-
name: "Savoury Crepes & Pancakes",
|
|
1839
|
-
description: "Filled savoury crepes, mini savoury pancakes."
|
|
1840
|
-
},
|
|
1841
|
-
{
|
|
1842
|
-
id: "savoury-baked-goods-pastries",
|
|
1843
|
-
name: "Savoury Baked Goods & Pastries",
|
|
1844
|
-
description: "Quiches, savoury muffins, filled savoury pastries, empanadas."
|
|
1845
|
-
},
|
|
1846
|
-
{
|
|
1847
|
-
id: "vegan-vegetarian-dishes",
|
|
1848
|
-
name: "Vegan & Vegetarian Dishes",
|
|
1849
|
-
description: "Buddha bowls, plant-based burgers, salads, vegan sushi."
|
|
1850
|
-
},
|
|
1851
|
-
{
|
|
1852
|
-
id: "other-savoury-foods",
|
|
1853
|
-
name: "Other Savoury Foods",
|
|
1854
|
-
description: "Fusion dishes, mixed platters, savoury meal kits."
|
|
1855
|
-
}
|
|
1856
|
-
]
|
|
1857
|
-
},
|
|
1858
|
-
{
|
|
1859
|
-
id: "sweet-prepared-foods",
|
|
1860
|
-
name: "Sweet Prepared Foods",
|
|
1861
|
-
items: [
|
|
1862
|
-
{
|
|
1863
|
-
id: "sweet-crepes-pancakes-fried-treats",
|
|
1864
|
-
name: "Sweet Crepes, Pancakes & Fried Treats",
|
|
1865
|
-
description: "Crepes, waffles, mini pancakes, muffins, doughnuts."
|
|
1866
|
-
},
|
|
1867
|
-
{
|
|
1868
|
-
id: "sweet-baked-goods-desserts",
|
|
1869
|
-
name: "Sweet Baked Goods & Desserts",
|
|
1870
|
-
description: "Cakes, pastries, slices, trifles, layered desserts."
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
id: "fruit-based-snacks",
|
|
1874
|
-
name: "Fruit-Based Snacks",
|
|
1875
|
-
description: "Fruit skewers, dried fruit packs, chocolate-dipped fruit."
|
|
1876
|
-
},
|
|
1877
|
-
{
|
|
1878
|
-
id: "candy-confectionery",
|
|
1879
|
-
name: "Candy & Confectionery",
|
|
1880
|
-
description: "Fudge, handmade candies, toffee, nougat, brittle."
|
|
1881
|
-
},
|
|
1882
|
-
{
|
|
1883
|
-
id: "other-sweet-foods",
|
|
1884
|
-
name: "Other Sweet Foods",
|
|
1885
|
-
description: "Fusion desserts, sweet platters, sweet meal kits."
|
|
1886
|
-
}
|
|
1887
|
-
]
|
|
1888
|
-
}
|
|
1889
|
-
]
|
|
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)"
|
|
1890
2388
|
}
|
|
1891
2389
|
];
|
|
1892
|
-
|
|
1893
|
-
// src/formFields/categories/handmadeAndLocalProducts.ts
|
|
1894
|
-
var handmadeAndLocalProducts = [
|
|
2390
|
+
var eventInfoPaymentInfo = [
|
|
1895
2391
|
{
|
|
1896
|
-
|
|
1897
|
-
name: "
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
name: "Candles & Home Scents",
|
|
1912
|
-
description: "Soy candles, beeswax candles, wax melts, incense sticks, room sprays and herbal sachets."
|
|
1913
|
-
},
|
|
1914
|
-
{
|
|
1915
|
-
id: "botanical-crafts",
|
|
1916
|
-
name: "Botanical Crafts",
|
|
1917
|
-
description: "Dried-flower d\xE9cor and pressed-flower crafts"
|
|
1918
|
-
},
|
|
1919
|
-
{
|
|
1920
|
-
id: "textiles-embroidery",
|
|
1921
|
-
name: "Textiles & Embroidery",
|
|
1922
|
-
description: "Handsewn items, embroidered napkins, home linens, aprons, fabric gift wraps, handmade fabric bags, quilted goods, personalized textile gifts."
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1925
|
-
id: "woodcraft-metalcraft",
|
|
1926
|
-
name: "Woodcraft & Metalcraft",
|
|
1927
|
-
description: "Wooden boards, handmade frames, sculptures, metal signs, furniture."
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
id: "handmade-soaps-natural-body-goods",
|
|
1931
|
-
name: "Handmade Soaps & Natural Body Goods",
|
|
1932
|
-
description: "Handmade soaps, balms, oils, bath items"
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
id: "seasonal-festive-crafts",
|
|
1936
|
-
name: "Seasonal & Festive Crafts",
|
|
1937
|
-
description: "Christmas, Easter and seasonal handmade decor"
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
id: "other-home-living-products",
|
|
1941
|
-
name: "Other home & living products",
|
|
1942
|
-
description: "Items that don't fit above but serve home-related purposes."
|
|
1943
|
-
}
|
|
1944
|
-
]
|
|
1945
|
-
},
|
|
1946
|
-
{
|
|
1947
|
-
id: "art-personal-expression",
|
|
1948
|
-
name: "Art & Personal Expression",
|
|
1949
|
-
items: [
|
|
1950
|
-
{
|
|
1951
|
-
id: "paintings-illustrations",
|
|
1952
|
-
name: "Paintings & Illustrations",
|
|
1953
|
-
description: "Paintings, canvas art, hand-drawn illustrations, digital prints, graphic art and calligraphy pieces."
|
|
1954
|
-
},
|
|
1955
|
-
{
|
|
1956
|
-
id: "sculptures-carvings",
|
|
1957
|
-
name: "Sculptures & Carvings ",
|
|
1958
|
-
description: "Sculptures made from wood, stone, metal, clay or resin, carved decorative pieces and artistic 3D works."
|
|
1959
|
-
},
|
|
1960
|
-
{
|
|
1961
|
-
id: "creative-handmade-alternative-art",
|
|
1962
|
-
name: "Creative Handmade & Alternative Art",
|
|
1963
|
-
description: "Handmade textile d\xE9cor, fabric ornaments, mixed-media art, creative craft pieces and modern handmade artworks."
|
|
1964
|
-
},
|
|
1965
|
-
{
|
|
1966
|
-
id: "handmade-mini-figures-decor",
|
|
1967
|
-
name: "Handmade Mini Figures & D\xE9cor",
|
|
1968
|
-
description: "Small handmade figures, tiny houses and crafted mini decorative items."
|
|
1969
|
-
},
|
|
1970
|
-
{
|
|
1971
|
-
id: "other-artistic-expressive-products",
|
|
1972
|
-
name: "Other Artistic or Expressive Products",
|
|
1973
|
-
description: "Custom artworks, specialty handmade d\xE9cor, unique crafts."
|
|
1974
|
-
}
|
|
1975
|
-
]
|
|
1976
|
-
},
|
|
1977
|
-
{
|
|
1978
|
-
id: "handmade-jewellery-accessories-cultural-crafts",
|
|
1979
|
-
name: "Handmade Jewellery, Accessories & Cultural Crafts",
|
|
1980
|
-
items: [
|
|
1981
|
-
{
|
|
1982
|
-
id: "jewellery-handmade-items-nz-traditional-materials",
|
|
1983
|
-
name: "Jewellery & Handmade Items from NZ Traditional Materials",
|
|
1984
|
-
description: "Handmade jewellery and decorative or functional items crafted from pounamu, bone, wood and other traditional New Zealand materials."
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
id: "maori-pasifika-cultural-crafts-clothing",
|
|
1988
|
-
name: "M\u0101ori & Pasifika Cultural Crafts and Clothing",
|
|
1989
|
-
description: "Culturally inspired handmade items, accessories and garments featuring M\u0101ori or Pasifika motifs, traditional patterns and regional craftsmanship."
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
id: "traditional-handmade-clothing-jewellery-crafts-global-cultures",
|
|
1993
|
-
name: "Traditional Handmade Clothing, Jewellery & Crafts from Global Cultures",
|
|
1994
|
-
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."
|
|
1995
|
-
},
|
|
1996
|
-
{
|
|
1997
|
-
id: "other-handmade-cultural-items",
|
|
1998
|
-
name: "Other Handmade Cultural Items",
|
|
1999
|
-
description: "Unique or culturally inspired handmade pieces not specifically covered in the categories above."
|
|
2000
|
-
}
|
|
2001
|
-
]
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
id: "gift-ideas-accessories",
|
|
2005
|
-
name: "Gift Ideas & Accessories",
|
|
2006
|
-
items: [
|
|
2007
|
-
{
|
|
2008
|
-
id: "handmade-pens-keychains-fridge-magnets",
|
|
2009
|
-
name: "Handmade Pens, Keychains and Fridge Magnets",
|
|
2010
|
-
description: null
|
|
2011
|
-
},
|
|
2012
|
-
{
|
|
2013
|
-
id: "gift-packaging-wrapping-accessories",
|
|
2014
|
-
name: "Gift Packaging & Wrapping Accessories",
|
|
2015
|
-
description: null
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
id: "handmade-crochet-knitting-fibre-crafts",
|
|
2019
|
-
name: "Handmade Crochet, Knitting & Fibre Crafts",
|
|
2020
|
-
description: "Handmade crochet and knitted items, fabric-based crafts, small decorative pieces, creative fibre artworks and unique handcrafted accessories."
|
|
2021
|
-
},
|
|
2022
|
-
{
|
|
2023
|
-
id: "handmade-toys-mini-play-items",
|
|
2024
|
-
name: "Handmade Toys & Mini Play Items",
|
|
2025
|
-
description: "small handmade toys, soft toys, wooden miniatures, crochet or felt play pieces"
|
|
2026
|
-
},
|
|
2027
|
-
{
|
|
2028
|
-
id: "other-small-handmade-gifts-accessories",
|
|
2029
|
-
name: "Other small handmade gifts or accessories",
|
|
2030
|
-
description: "Compact creative items made to surprise or delight."
|
|
2031
|
-
}
|
|
2032
|
-
]
|
|
2033
|
-
}
|
|
2034
|
-
]
|
|
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"
|
|
2035
2407
|
}
|
|
2036
2408
|
];
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
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
|
+
},
|
|
2040
2495
|
{
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
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
|
|
2099
2564
|
}
|
|
2100
2565
|
];
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
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 = [
|
|
2104
2590
|
{
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
name: "Garden & Outdoor Living",
|
|
2154
|
-
items: [
|
|
2155
|
-
{
|
|
2156
|
-
id: "plants-botanical-decor",
|
|
2157
|
-
name: "Plants & Botanical Decor",
|
|
2158
|
-
description: "Potted herbs, succulents, dried flowers, terrariums, plant-based ornaments."
|
|
2159
|
-
},
|
|
2160
|
-
{
|
|
2161
|
-
id: "fresh-flowers-botanical-bouquets",
|
|
2162
|
-
name: "Fresh Flowers & Botanical Bouquets",
|
|
2163
|
-
description: "Cut flowers, seasonal bouquets, simple floral arrangements, native flower selections, and other fresh botanical items."
|
|
2164
|
-
},
|
|
2165
|
-
{
|
|
2166
|
-
id: "natural-decor-nature-inspired-elements",
|
|
2167
|
-
name: "Natural Decor & Nature-Inspired Elements",
|
|
2168
|
-
description: "Seashell d\xE9cor, driftwood pieces, sand ornaments, natural wood accents, stone or mineral decorations, and other nature-based decorative items."
|
|
2169
|
-
},
|
|
2170
|
-
{
|
|
2171
|
-
id: "garden-tools-outdoor-items",
|
|
2172
|
-
name: "Garden Tools & Outdoor Items",
|
|
2173
|
-
description: "Plant markers, garden signs, stakes, small tools, wind chimes, gifts."
|
|
2174
|
-
},
|
|
2175
|
-
{
|
|
2176
|
-
id: "other-outdoor-garden-products",
|
|
2177
|
-
name: "Other outdoor or garden products",
|
|
2178
|
-
description: "Functional or decorative items for outside use."
|
|
2179
|
-
}
|
|
2180
|
-
]
|
|
2181
|
-
}
|
|
2182
|
-
]
|
|
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
|
|
2183
2639
|
}
|
|
2184
2640
|
];
|
|
2185
2641
|
|
|
2186
|
-
// src/formFields/
|
|
2187
|
-
var
|
|
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 = [
|
|
2188
2650
|
{
|
|
2189
|
-
|
|
2190
|
-
name: "
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
id: "apparel-toys-accessories",
|
|
2204
|
-
name: "Apparel, Toys & Accessories",
|
|
2205
|
-
description: "Leashes, collars, harnesses, toys, grooming tools, beds, travel gear, jumpers, bandanas."
|
|
2206
|
-
},
|
|
2207
|
-
{
|
|
2208
|
-
id: "other-pet-products",
|
|
2209
|
-
name: "Other pet products",
|
|
2210
|
-
description: "Any pet-related items not listed above."
|
|
2211
|
-
}
|
|
2212
|
-
]
|
|
2213
|
-
},
|
|
2214
|
-
{
|
|
2215
|
-
id: "small-pets-birds-exotic-animals",
|
|
2216
|
-
name: "Small Pets, Birds & Exotic Animals",
|
|
2217
|
-
items: [
|
|
2218
|
-
{
|
|
2219
|
-
id: "products-small-pets-birds-exotics",
|
|
2220
|
-
name: "Products for Small Pets, Birds & Exotics",
|
|
2221
|
-
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."
|
|
2222
|
-
},
|
|
2223
|
-
{
|
|
2224
|
-
id: "other-small-exotic-animal-items",
|
|
2225
|
-
name: "Other small or exotic animal items",
|
|
2226
|
-
description: "Unusual accessories for non-mainstream pets."
|
|
2227
|
-
}
|
|
2228
|
-
]
|
|
2229
|
-
},
|
|
2230
|
-
{
|
|
2231
|
-
id: "farm-working-animals",
|
|
2232
|
-
name: "Farm & Working Animals",
|
|
2233
|
-
items: [
|
|
2234
|
-
{
|
|
2235
|
-
id: "goods-for-farm-working-animals",
|
|
2236
|
-
name: "Goods for Farm & Working Animals",
|
|
2237
|
-
description: "Treats, care products, equipment, signage and accessories for chickens, goats, alpacas, horses, and other livestock."
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
id: "other-farm-animal-items",
|
|
2241
|
-
name: "Other farm animal-related items",
|
|
2242
|
-
description: "Rural, barnyard, or utility-specific gear not listed above."
|
|
2243
|
-
}
|
|
2244
|
-
]
|
|
2245
|
-
},
|
|
2246
|
-
{
|
|
2247
|
-
id: "animal-themed-gifts-custom-items",
|
|
2248
|
-
name: "Animal-Themed Gifts & Custom Items",
|
|
2249
|
-
items: [
|
|
2250
|
-
{
|
|
2251
|
-
id: "pet-art-custom-gifts",
|
|
2252
|
-
name: "Pet Art & Custom Gifts",
|
|
2253
|
-
description: "Pet portraits, name tags, personalized bowls, breed-specific items, pet-themed home decor and stationery."
|
|
2254
|
-
},
|
|
2255
|
-
{
|
|
2256
|
-
id: "other-animal-themed-gifts",
|
|
2257
|
-
name: "Other animal-themed gifts",
|
|
2258
|
-
description: "Artistic or sentimental items made for animal lovers."
|
|
2259
|
-
}
|
|
2260
|
-
]
|
|
2261
|
-
}
|
|
2262
|
-
]
|
|
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"
|
|
2263
2665
|
}
|
|
2264
2666
|
];
|
|
2265
2667
|
|
|
2266
|
-
// src/formFields/
|
|
2267
|
-
var
|
|
2668
|
+
// src/formFields/auth.ts
|
|
2669
|
+
var loginFields = [
|
|
2268
2670
|
{
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
id: "other-service-based-offerings",
|
|
2315
|
-
name: "Other service-based offerings",
|
|
2316
|
-
description: "Wellness or functional services not listed above."
|
|
2317
|
-
}
|
|
2318
|
-
]
|
|
2319
|
-
},
|
|
2320
|
-
{
|
|
2321
|
-
id: "creative-educational-experiences",
|
|
2322
|
-
name: "Creative & Educational Experiences",
|
|
2323
|
-
items: [
|
|
2324
|
-
{
|
|
2325
|
-
id: "creative-workshops-maker-services",
|
|
2326
|
-
name: "Creative Workshops & Maker Services",
|
|
2327
|
-
description: "Candle making, pottery, jewelry crafting, soap or balm workshops, calligraphy, seasonal crafts."
|
|
2328
|
-
},
|
|
2329
|
-
{
|
|
2330
|
-
id: "education-awareness-stalls",
|
|
2331
|
-
name: "Education & Awareness Stalls",
|
|
2332
|
-
description: "Eco awareness, cultural storytelling, local history, first aid demos, health booths, sustainability education, kids\u2019 science displays."
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
2335
|
-
id: "other-creative-educational-services",
|
|
2336
|
-
name: "Other creative or educational services",
|
|
2337
|
-
description: "Informal learning, demonstrations, or community-focused sessions."
|
|
2338
|
-
}
|
|
2339
|
-
]
|
|
2340
|
-
},
|
|
2341
|
-
{
|
|
2342
|
-
id: "kids-activities-family-fun",
|
|
2343
|
-
name: "Kids\u2019 Activities & Family Fun",
|
|
2344
|
-
items: [
|
|
2345
|
-
{
|
|
2346
|
-
id: "kids-activities-fun",
|
|
2347
|
-
name: "Kids\u2019 Activities & Fun",
|
|
2348
|
-
description: "Face painting, glitter tattoos, pony rides, bouncy castles, small amusement rides, balloon twisting, animal petting zones."
|
|
2349
|
-
},
|
|
2350
|
-
{
|
|
2351
|
-
id: "other-family-oriented-activities",
|
|
2352
|
-
name: "Other family-oriented activities",
|
|
2353
|
-
description: "On-site entertainment that engages children or family groups."
|
|
2354
|
-
}
|
|
2355
|
-
]
|
|
2356
|
-
}
|
|
2357
|
-
]
|
|
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
|
|
2358
2716
|
}
|
|
2359
2717
|
];
|
|
2360
|
-
|
|
2361
|
-
// src/formFields/categories/toysChildren.ts
|
|
2362
|
-
var toysChildren = [
|
|
2718
|
+
var requestPasswordResetFields = [
|
|
2363
2719
|
{
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
subcategories: [
|
|
2368
|
-
{
|
|
2369
|
-
id: "toys-playthings",
|
|
2370
|
-
name: "Toys & Playthings",
|
|
2371
|
-
items: [
|
|
2372
|
-
{
|
|
2373
|
-
id: "toys-classic-electric-character",
|
|
2374
|
-
name: "Toys \u2013 Classic, Electric & Character-Based",
|
|
2375
|
-
description: "Building blocks, dolls, puzzles, plush animals, toy vehicles, remote-control toys, light-up gadgets, character figurines, themed playsets."
|
|
2376
|
-
},
|
|
2377
|
-
{
|
|
2378
|
-
id: "handmade-toys-crafty-playthings",
|
|
2379
|
-
name: "Handmade Toys & Crafty Playthings",
|
|
2380
|
-
description: "Wooden puzzles, crocheted animals, felt toys, fabric dolls, DIY kits, nature-inspired games, sensory toys."
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
id: "other-play-items",
|
|
2384
|
-
name: "Other play items",
|
|
2385
|
-
description: "Toys not listed above, including limited-edition or hybrid items."
|
|
2386
|
-
}
|
|
2387
|
-
]
|
|
2388
|
-
},
|
|
2389
|
-
{
|
|
2390
|
-
id: "educational-developmental",
|
|
2391
|
-
name: "Educational & Developmental",
|
|
2392
|
-
items: [
|
|
2393
|
-
{
|
|
2394
|
-
id: "educational-developmental-tools",
|
|
2395
|
-
name: "Educational & Developmental Tools",
|
|
2396
|
-
description: "STEM kits, Montessori toys, storybooks, picture books, flashcards, early learning games, language tools."
|
|
2397
|
-
},
|
|
2398
|
-
{
|
|
2399
|
-
id: "other-educational-experience-based-items",
|
|
2400
|
-
name: "Other educational or experience-based items",
|
|
2401
|
-
description: "Creative experiences or learning aids not listed above."
|
|
2402
|
-
}
|
|
2403
|
-
]
|
|
2404
|
-
},
|
|
2405
|
-
{
|
|
2406
|
-
id: "baby-kidswear-accessories",
|
|
2407
|
-
name: "Baby & Kidswear + Accessories",
|
|
2408
|
-
items: [
|
|
2409
|
-
{
|
|
2410
|
-
id: "baby-kidswear-accessories",
|
|
2411
|
-
name: "Baby & Kidswear + Accessories",
|
|
2412
|
-
description: "Handmade baby clothes, toddler outfits, bibs, hats, headbands, bags, pacifier clips, soft shoes."
|
|
2413
|
-
},
|
|
2414
|
-
{
|
|
2415
|
-
id: "baby-developmental-soft-toys",
|
|
2416
|
-
name: "Baby Developmental Soft Toys",
|
|
2417
|
-
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."
|
|
2418
|
-
},
|
|
2419
|
-
{
|
|
2420
|
-
id: "other-childrens-clothing-accessories",
|
|
2421
|
-
name: "Other children\u2019s clothing or accessories",
|
|
2422
|
-
description: "Unique fashion or functional pieces for kids."
|
|
2423
|
-
}
|
|
2424
|
-
]
|
|
2425
|
-
}
|
|
2426
|
-
]
|
|
2720
|
+
...emailField,
|
|
2721
|
+
helperText: "Enter email address to reset your password",
|
|
2722
|
+
required: true
|
|
2427
2723
|
}
|
|
2428
2724
|
];
|
|
2429
|
-
|
|
2430
|
-
// src/formFields/categories/vintageAndAntique.ts
|
|
2431
|
-
var vintageAndAntique = [
|
|
2725
|
+
var resetPasswordFields = [
|
|
2432
2726
|
{
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
},
|
|
2462
|
-
{
|
|
2463
|
-
id: "other-collectible-items",
|
|
2464
|
-
name: "Other collectible items",
|
|
2465
|
-
description: "Rare small objects, miniature figurines, special-edition items."
|
|
2466
|
-
}
|
|
2467
|
-
]
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
id: "homewares-decor-curiosities",
|
|
2471
|
-
name: "Homewares, Decor & Curiosities",
|
|
2472
|
-
items: [
|
|
2473
|
-
{
|
|
2474
|
-
id: "decorative-functional-vintage-items",
|
|
2475
|
-
name: "Decorative or functional items with a vintage or antique aesthetic",
|
|
2476
|
-
description: "Teacups, plates, vases, mirrors, clocks, furniture, old tools, lanterns, typewriters, curiosities."
|
|
2477
|
-
},
|
|
2478
|
-
{
|
|
2479
|
-
id: "handmade-vintage-art",
|
|
2480
|
-
name: "Handmade vintage art",
|
|
2481
|
-
description: "Paintings, sculptures, crafted pieces."
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
id: "other-home-decor-items",
|
|
2485
|
-
name: "Other home or decor items",
|
|
2486
|
-
description: "Decorative pieces not listed above, unique household objects."
|
|
2487
|
-
}
|
|
2488
|
-
]
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
id: "vintage-media-printed-nostalgia",
|
|
2492
|
-
name: "Vintage Media & Printed Nostalgia",
|
|
2493
|
-
items: [
|
|
2494
|
-
{
|
|
2495
|
-
id: "older-media-printed-works",
|
|
2496
|
-
name: "Older media formats and printed works",
|
|
2497
|
-
description: "Vinyl records, cassette tapes, CDs, DVDs, books, magazines, board games, posters."
|
|
2498
|
-
},
|
|
2499
|
-
{
|
|
2500
|
-
id: "other-media-printed-items",
|
|
2501
|
-
name: "Other media or printed items",
|
|
2502
|
-
description: "Maps, manuals, leaflets, out-of-print materials."
|
|
2503
|
-
}
|
|
2504
|
-
]
|
|
2505
|
-
},
|
|
2506
|
-
{
|
|
2507
|
-
id: "other-vintage-antique-items",
|
|
2508
|
-
name: "Other Vintage & Antique Items",
|
|
2509
|
-
items: [
|
|
2510
|
-
{
|
|
2511
|
-
id: "any-vintage-antique-items-not-listed",
|
|
2512
|
-
name: "Any vintage or antique items not listed above",
|
|
2513
|
-
description: "Unique, rare or uncategorised pieces."
|
|
2514
|
-
}
|
|
2515
|
-
]
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
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
|
|
2518
2755
|
}
|
|
2519
2756
|
];
|
|
2520
2757
|
|
|
2521
|
-
// src/formFields/
|
|
2522
|
-
var
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
}
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
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
|
+
];
|
|
2553
2792
|
|
|
2554
2793
|
// src/formFields/socialMedia.ts
|
|
2555
2794
|
var socialMedia = [
|
|
@@ -8102,6 +8341,7 @@ export {
|
|
|
8102
8341
|
IMAGE_EXTENSION,
|
|
8103
8342
|
IOS_URL,
|
|
8104
8343
|
ImageTypeEnum,
|
|
8344
|
+
KNOWN_EVENT_SCHEDULE_STATUSES,
|
|
8105
8345
|
OG_DESCRIPTION_LINE_BREAK,
|
|
8106
8346
|
POST_SHARE_RESOURCE_TYPES,
|
|
8107
8347
|
PROMO_CODE_PREFIX,
|
|
@@ -8155,6 +8395,7 @@ export {
|
|
|
8155
8395
|
badgeIds,
|
|
8156
8396
|
badges,
|
|
8157
8397
|
buildApplicationShareDescription,
|
|
8398
|
+
buildCalendarSheetContentData,
|
|
8158
8399
|
buildFacebookShareQuote,
|
|
8159
8400
|
buildInvitationShareDescription,
|
|
8160
8401
|
buildPublicEventShareDescription,
|
|
@@ -8170,6 +8411,8 @@ export {
|
|
|
8170
8411
|
cluiFiles,
|
|
8171
8412
|
cluiIds,
|
|
8172
8413
|
cluiImages,
|
|
8414
|
+
collectStallholderStartDates,
|
|
8415
|
+
collectVendorEventRelationDateTimes,
|
|
8173
8416
|
companyContactFields,
|
|
8174
8417
|
computeDailyClueState,
|
|
8175
8418
|
contactUsFields,
|
|
@@ -8178,11 +8421,19 @@ export {
|
|
|
8178
8421
|
emailField,
|
|
8179
8422
|
eventBasicInfoFields,
|
|
8180
8423
|
eventEndDateFields,
|
|
8424
|
+
eventHasSelectedDate,
|
|
8181
8425
|
eventInfo,
|
|
8182
8426
|
eventInfoPaymentInfo,
|
|
8183
8427
|
eventMatchesDateStatusPeriod,
|
|
8184
8428
|
eventStartDateFields,
|
|
8429
|
+
eventStartDatesSet,
|
|
8185
8430
|
filterEventsByDateStatusPeriod,
|
|
8431
|
+
filterRegisteredVendorsByEventDatesOnly,
|
|
8432
|
+
filterRegisteredVendorsForEvent,
|
|
8433
|
+
filterUnregisteredVendorsByEventDatesOnly,
|
|
8434
|
+
filterUnregisteredVendorsForEvent,
|
|
8435
|
+
filterVendorEventsBySelectedDate,
|
|
8436
|
+
findEventDateTimeByIsoDate,
|
|
8186
8437
|
fonts,
|
|
8187
8438
|
foodFlavourOptions,
|
|
8188
8439
|
formatCategoryLabel,
|
|
@@ -8201,11 +8452,28 @@ export {
|
|
|
8201
8452
|
formatShareTagsSection,
|
|
8202
8453
|
formatStallCapacityLabel,
|
|
8203
8454
|
formatTimestamp,
|
|
8455
|
+
fromCalendarIsoDate,
|
|
8204
8456
|
futureTimePeriods,
|
|
8205
8457
|
gameScreenIdentifierList,
|
|
8206
8458
|
gameTypeToDisplayName,
|
|
8207
8459
|
getAllowedEventDateStatuses,
|
|
8208
8460
|
getCurrentAndFutureDates,
|
|
8461
|
+
getEventCalendarIsoDates,
|
|
8462
|
+
getEventDatesWithStallholders,
|
|
8463
|
+
getEventScheduleStatusLabel,
|
|
8464
|
+
getEventScheduleStatusPresentation,
|
|
8465
|
+
getEventScheduleStatusTone,
|
|
8466
|
+
getEventStallholderEmptyMessage,
|
|
8467
|
+
getRegisteredVendorCategoryNames,
|
|
8468
|
+
getRegisteredVendorStartDates,
|
|
8469
|
+
getStallholderCategoryNames,
|
|
8470
|
+
getStallholderCategoryOptions,
|
|
8471
|
+
getUnregisteredVendorCategoryNames,
|
|
8472
|
+
getUnregisteredVendorStartDates,
|
|
8473
|
+
getVendorEventRelationDateOptions,
|
|
8474
|
+
getVendorEventRelationStartDates,
|
|
8475
|
+
getVendorEventsEmptyMessage,
|
|
8476
|
+
hasMatchingEventDate,
|
|
8209
8477
|
iconFiles,
|
|
8210
8478
|
iconIds,
|
|
8211
8479
|
icons,
|
|
@@ -8222,6 +8490,8 @@ export {
|
|
|
8222
8490
|
logoIds,
|
|
8223
8491
|
logos,
|
|
8224
8492
|
mapArrayToOptions,
|
|
8493
|
+
matchesCategory,
|
|
8494
|
+
matchesSelectedDate,
|
|
8225
8495
|
normalizeShareOgDescription,
|
|
8226
8496
|
normalizeShareRouteId,
|
|
8227
8497
|
normalizeShareText,
|
|
@@ -8242,6 +8512,7 @@ export {
|
|
|
8242
8512
|
profileFields,
|
|
8243
8513
|
refundPolicyOptions,
|
|
8244
8514
|
registerFields,
|
|
8515
|
+
relationHasSelectedDate,
|
|
8245
8516
|
removeTypename,
|
|
8246
8517
|
requestPasswordResetFields,
|
|
8247
8518
|
requirementsOptions,
|
|
@@ -8249,6 +8520,7 @@ export {
|
|
|
8249
8520
|
rewardNiceNames,
|
|
8250
8521
|
seededShuffle,
|
|
8251
8522
|
shareMessageFooterPlacementForType,
|
|
8523
|
+
shouldShowEventActionsWithWeather,
|
|
8252
8524
|
socialMediaFields,
|
|
8253
8525
|
sortDatesChronologically,
|
|
8254
8526
|
splitShareDescriptionSections,
|
|
@@ -8256,6 +8528,7 @@ export {
|
|
|
8256
8528
|
statusOptions,
|
|
8257
8529
|
tagOptions,
|
|
8258
8530
|
timeFormat,
|
|
8531
|
+
toCalendarIsoDate,
|
|
8259
8532
|
toGraphqlQueryString,
|
|
8260
8533
|
toNZTime,
|
|
8261
8534
|
truncateText,
|