@timardex/cluemart-shared 1.6.130 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/ad-BUYzE6zx.d.ts +181 -0
  2. package/dist/ad-BhLoEul3.d.mts +181 -0
  3. package/dist/affiliate-BbtjeUP4.d.mts +73 -0
  4. package/dist/affiliate-C51nzKsw.d.ts +73 -0
  5. package/dist/apollo/index.d.mts +3 -3
  6. package/dist/apollo/index.d.ts +3 -3
  7. package/dist/auth/index.cjs +951 -2546
  8. package/dist/auth/index.cjs.map +1 -1
  9. package/dist/auth/index.d.mts +30 -28
  10. package/dist/auth/index.d.ts +30 -28
  11. package/dist/auth/index.mjs +25 -24
  12. package/dist/auth/index.mjs.map +1 -1
  13. package/dist/chunk-32MKHJTX.mjs +1207 -0
  14. package/dist/chunk-32MKHJTX.mjs.map +1 -0
  15. package/dist/chunk-AYO3E4DM.mjs +224 -0
  16. package/dist/chunk-AYO3E4DM.mjs.map +1 -0
  17. package/dist/chunk-BIJ5NDXW.mjs +962 -0
  18. package/dist/chunk-BIJ5NDXW.mjs.map +1 -0
  19. package/dist/chunk-DQ7ZHIXW.mjs +26 -0
  20. package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
  21. package/dist/chunk-ILILH7E2.mjs +219 -0
  22. package/dist/chunk-ILILH7E2.mjs.map +1 -0
  23. package/dist/{chunk-OHHJ3KJJ.mjs → chunk-LBEJECG3.mjs} +64 -71
  24. package/dist/chunk-LBEJECG3.mjs.map +1 -0
  25. package/dist/chunk-NPFJ2CN2.mjs +109 -0
  26. package/dist/chunk-NPFJ2CN2.mjs.map +1 -0
  27. package/dist/chunk-R6PCFOYO.mjs +3650 -0
  28. package/dist/chunk-R6PCFOYO.mjs.map +1 -0
  29. package/dist/{chunk-NWWKI4PJ.mjs → chunk-SD42WIMV.mjs} +5 -5
  30. package/dist/chunk-SD42WIMV.mjs.map +1 -0
  31. package/dist/chunk-VA5YN2K3.mjs +48 -0
  32. package/dist/chunk-VA5YN2K3.mjs.map +1 -0
  33. package/dist/{chunk-DATBGC2K.mjs → chunk-VPANTTZI.mjs} +23 -108
  34. package/dist/chunk-VPANTTZI.mjs.map +1 -0
  35. package/dist/chunk-X3OLM35T.mjs +278 -0
  36. package/dist/chunk-X3OLM35T.mjs.map +1 -0
  37. package/dist/contactUs--NoohZBu.d.ts +11 -0
  38. package/dist/contactUs-CBWzefUS.d.mts +11 -0
  39. package/dist/enums/index.cjs +229 -2
  40. package/dist/enums/index.cjs.map +1 -1
  41. package/dist/enums/index.d.mts +170 -5
  42. package/dist/enums/index.d.ts +170 -5
  43. package/dist/enums/index.mjs +41 -1
  44. package/dist/formFields/index.cjs +112 -284
  45. package/dist/formFields/index.cjs.map +1 -1
  46. package/dist/formFields/index.d.mts +2 -4
  47. package/dist/formFields/index.d.ts +2 -4
  48. package/dist/formFields/index.mjs +50 -919
  49. package/dist/formFields/index.mjs.map +1 -1
  50. package/dist/global-CUYYxpy2.d.ts +699 -0
  51. package/dist/global-DePDtOFt.d.mts +699 -0
  52. package/dist/graphql/index.cjs +2304 -2872
  53. package/dist/graphql/index.cjs.map +1 -1
  54. package/dist/graphql/index.d.mts +469 -422
  55. package/dist/graphql/index.d.ts +469 -422
  56. package/dist/graphql/index.mjs +160 -2547
  57. package/dist/graphql/index.mjs.map +1 -1
  58. package/dist/hooks/index.cjs +3869 -534
  59. package/dist/hooks/index.cjs.map +1 -1
  60. package/dist/hooks/index.d.mts +9 -10
  61. package/dist/hooks/index.d.ts +9 -10
  62. package/dist/hooks/index.mjs +72 -54
  63. package/dist/hooks/index.mjs.map +1 -1
  64. package/dist/images/index.mjs +21 -86
  65. package/dist/images/index.mjs.map +1 -1
  66. package/dist/index.cjs +4477 -5723
  67. package/dist/index.cjs.map +1 -1
  68. package/dist/index.d.mts +1679 -2539
  69. package/dist/index.d.ts +1679 -2539
  70. package/dist/index.mjs +4453 -5682
  71. package/dist/index.mjs.map +1 -1
  72. package/dist/map/index.d.mts +2 -3
  73. package/dist/map/index.d.ts +2 -3
  74. package/dist/resourceActivities-CMUcn2P7.d.ts +130 -0
  75. package/dist/resourceActivities-CwbJFGIp.d.mts +130 -0
  76. package/dist/sharing/index.cjs +19 -23
  77. package/dist/sharing/index.cjs.map +1 -1
  78. package/dist/sharing/index.d.mts +3 -16
  79. package/dist/sharing/index.d.ts +3 -16
  80. package/dist/sharing/index.mjs +29 -183
  81. package/dist/sharing/index.mjs.map +1 -1
  82. package/dist/subscription-BU8GvH2K.d.ts +12 -0
  83. package/dist/subscription-bmAdrnfi.d.mts +12 -0
  84. package/dist/theme/index.mjs +5 -41
  85. package/dist/theme/index.mjs.map +1 -1
  86. package/dist/types/index.cjs +123 -868
  87. package/dist/types/index.cjs.map +1 -1
  88. package/dist/types/index.d.mts +15 -234
  89. package/dist/types/index.d.ts +15 -234
  90. package/dist/types/index.mjs +31 -61
  91. package/dist/user-D47MLFyH.d.ts +134 -0
  92. package/dist/user-DE8edl3u.d.mts +134 -0
  93. package/dist/utils/index.cjs +117 -292
  94. package/dist/utils/index.cjs.map +1 -1
  95. package/dist/utils/index.d.mts +23 -25
  96. package/dist/utils/index.d.ts +23 -25
  97. package/dist/utils/index.mjs +5 -6
  98. package/package.json +3 -10
  99. package/dist/affiliate-Bqqlffw8.d.mts +0 -36
  100. package/dist/affiliate-Btlp5XUp.d.ts +0 -36
  101. package/dist/affiliateAdapters-BW3BY7c5.d.mts +0 -118
  102. package/dist/affiliateAdapters-C51ISmuA.d.ts +0 -118
  103. package/dist/auth-BOmAO53v.d.ts +0 -169
  104. package/dist/auth-CsITA95p.d.mts +0 -169
  105. package/dist/chunk-DATBGC2K.mjs.map +0 -1
  106. package/dist/chunk-DDHECBJR.mjs +0 -726
  107. package/dist/chunk-DDHECBJR.mjs.map +0 -1
  108. package/dist/chunk-INQCDU24.mjs +0 -139
  109. package/dist/chunk-INQCDU24.mjs.map +0 -1
  110. package/dist/chunk-NWWKI4PJ.mjs.map +0 -1
  111. package/dist/chunk-OHHJ3KJJ.mjs.map +0 -1
  112. package/dist/chunk-TOEFAEF2.mjs +0 -69
  113. package/dist/chunk-TOEFAEF2.mjs.map +0 -1
  114. package/dist/chunk-UKW7NZEQ.mjs +0 -2813
  115. package/dist/chunk-UKW7NZEQ.mjs.map +0 -1
  116. package/dist/dailyClue-C6WXY73z.d.mts +0 -105
  117. package/dist/dailyClue-C6WXY73z.d.ts +0 -105
  118. package/dist/event-C9K7CSg4.d.ts +0 -53
  119. package/dist/event-W0NhL5Cd.d.mts +0 -53
  120. package/dist/global-BbSFfYdd.d.ts +0 -181
  121. package/dist/global-C6v9tRji.d.mts +0 -181
  122. package/dist/graphql-CDOfA79A.d.ts +0 -1253
  123. package/dist/graphql-CcvzTs9k.d.mts +0 -1253
  124. package/dist/resourceActivities-CS8YRIIL.d.mts +0 -89
  125. package/dist/resourceActivities-DOdNPkhW.d.ts +0 -89
  126. package/dist/subscription-Cj_qBA7u.d.mts +0 -20
  127. package/dist/subscription-OiJ50uJb.d.ts +0 -20
  128. package/dist/vendor-DmMi2qmx.d.mts +0 -73
  129. package/dist/vendor-M9hVZlni.d.ts +0 -73
@@ -0,0 +1,962 @@
1
+ import {
2
+ mapArrayToOptions
3
+ } from "./chunk-SD42WIMV.mjs";
4
+ import {
5
+ EnumFoodFlavor
6
+ } from "./chunk-X3OLM35T.mjs";
7
+
8
+ // src/formFields/vendor/vendor.ts
9
+ var vendorBasicInfoFields = [
10
+ {
11
+ helperText: "Business Name *",
12
+ name: "name",
13
+ placeholder: "Business Name"
14
+ },
15
+ {
16
+ helperText: "Description *",
17
+ isTextArea: true,
18
+ name: "description",
19
+ placeholder: "Description"
20
+ }
21
+ ];
22
+ var vendorFullAddress = {
23
+ helperText: "Enter address",
24
+ name: "fullAddress",
25
+ placeholder: "Start typing to find address"
26
+ };
27
+ var vendorStartDateFields = [
28
+ {
29
+ dateMode: "date",
30
+ helperText: "Start Date",
31
+ name: "startDate",
32
+ placeholder: "Start Date"
33
+ },
34
+ {
35
+ dateMode: "time",
36
+ helperText: "Start Time",
37
+ name: "startTime",
38
+ placeholder: "Start Time"
39
+ }
40
+ ];
41
+ var vendorEndDateFields = [
42
+ {
43
+ dateMode: "date",
44
+ helperText: "End Date",
45
+ name: "endDate",
46
+ placeholder: "End Date"
47
+ },
48
+ {
49
+ dateMode: "time",
50
+ helperText: "End Time",
51
+ name: "endTime",
52
+ placeholder: "End Time"
53
+ }
54
+ ];
55
+ var vendorAvailability = [
56
+ {
57
+ name: "availability.school",
58
+ placeholder: "School events"
59
+ },
60
+ {
61
+ name: "availability.private",
62
+ placeholder: "Private events"
63
+ },
64
+ {
65
+ name: "availability.corporate",
66
+ placeholder: "Corporate events"
67
+ }
68
+ ];
69
+ var vendorLocationDescription = {
70
+ helperText: "Description",
71
+ isTextArea: true,
72
+ name: "description",
73
+ placeholder: "Description"
74
+ };
75
+ var vendorMenuFields = [
76
+ {
77
+ helperText: "Item name",
78
+ name: "name",
79
+ placeholder: "Item name"
80
+ },
81
+ {
82
+ helperText: "Price",
83
+ keyboardType: "decimal-pad",
84
+ name: "price",
85
+ placeholder: "Price"
86
+ },
87
+ {
88
+ helperText: "Item Description",
89
+ isTextArea: true,
90
+ name: "description",
91
+ placeholder: "Item Description"
92
+ }
93
+ ];
94
+ var productLabelGroups = [
95
+ {
96
+ category: "Food Sensitivity",
97
+ items: [
98
+ { abbreviation: "DF", fullName: "Dairy-Free" },
99
+ { abbreviation: "EF", fullName: "Egg-Free" },
100
+ { abbreviation: "GF", fullName: "Gluten-Free" },
101
+ { abbreviation: "NF", fullName: "Nut-Free" }
102
+ ]
103
+ },
104
+ {
105
+ category: "Lifestyle",
106
+ items: [
107
+ { abbreviation: "KETO", fullName: "Keto-Friendly" },
108
+ { abbreviation: "P", fullName: "Paleo" },
109
+ { abbreviation: "V", fullName: "Vegan" },
110
+ { abbreviation: "VG", fullName: "Vegetarian" },
111
+ { abbreviation: "KID", fullName: "Kid-Friendly" },
112
+ // Gyerekbarát
113
+ { abbreviation: "PET", fullName: "Pet-Friendly Product" }
114
+ // Állatok
115
+ ]
116
+ },
117
+ {
118
+ category: "Natural",
119
+ items: [
120
+ { abbreviation: "ECO", fullName: "Eco-Friendly" },
121
+ { abbreviation: "ORGANIC", fullName: "Organic Product" },
122
+ { abbreviation: "NAT", fullName: "Natural Product" },
123
+ // Természetesség
124
+ { abbreviation: "NPF", fullName: "Non-Pesticide / Chemical-Free" },
125
+ { abbreviation: "PLN", fullName: "Plant-Based" }
126
+ ]
127
+ },
128
+ {
129
+ category: "Market Character",
130
+ items: [
131
+ { abbreviation: "HM", fullName: "Handmade" },
132
+ { abbreviation: "LOC", fullName: "Local Product" },
133
+ { abbreviation: "ART", fullName: "Artisan" },
134
+ { abbreviation: "LTD", fullName: "Limited Edition" }
135
+ ]
136
+ },
137
+ {
138
+ category: "Cosmetic / Natural",
139
+ items: [
140
+ { abbreviation: "AROM", fullName: "Aromatherapy" },
141
+ { abbreviation: "CRF", fullName: "Cruelty-Free" },
142
+ { abbreviation: "HYPO", fullName: "Hypoallergenic" },
143
+ { abbreviation: "BODY", fullName: "Body Care" }
144
+ // Testápolás
145
+ ]
146
+ },
147
+ {
148
+ category: "Wellbeing",
149
+ items: [
150
+ { abbreviation: "CARE", fullName: "Health Support Product" },
151
+ // Egészség / testi jóllét
152
+ { abbreviation: "PHYS", fullName: "Physical Wellbeing" },
153
+ // Fizikai jóllét
154
+ { abbreviation: "MENTAL", fullName: "Mental Wellbeing" },
155
+ // Mentális jóllét
156
+ { abbreviation: "RELAX", fullName: "Relaxation Product" },
157
+ // Relaxáció / lazítás
158
+ { abbreviation: "SPIRIT", fullName: "Spiritual Wellbeing" }
159
+ // Lelki jóllét
160
+ ]
161
+ },
162
+ {
163
+ category: "Tech & Digital",
164
+ items: [
165
+ { abbreviation: "TECH", fullName: "Technology Product" },
166
+ // Technológia
167
+ { abbreviation: "DIGI", fullName: "Digital Technology" }
168
+ // Digitális technológia
169
+ ]
170
+ },
171
+ {
172
+ category: "Practical & Home",
173
+ items: [
174
+ { abbreviation: "PRAC", fullName: "Practical Solution" },
175
+ // Praktikum
176
+ { abbreviation: "HOME", fullName: "Home & Living" }
177
+ // Otthon / lakókörnyezet
178
+ ]
179
+ },
180
+ {
181
+ category: "Sustainability",
182
+ items: [
183
+ { abbreviation: "ZWP", fullName: "Zero-Waste Product" },
184
+ { abbreviation: "SUST", fullName: "Sustainable Product" }
185
+ // Fenntarthatóság
186
+ ]
187
+ }
188
+ ];
189
+ var priceUnits = [
190
+ { label: "Piece", value: "PIECE" },
191
+ { label: "Portion", value: "PORTION" },
192
+ { label: "Slice", value: "SLICE" },
193
+ { label: "Cup", value: "CUP" },
194
+ { label: "Bottle", value: "BOTTLE" },
195
+ { label: "Can", value: "CAN" },
196
+ { label: "Jar", value: "JAR" },
197
+ { label: "Box", value: "BOX" },
198
+ { label: "Pack", value: "PACK" },
199
+ { label: "Bag", value: "BAG" },
200
+ { label: "Bunch", value: "BUNCH" },
201
+ { label: "Tray", value: "TRAY" },
202
+ { label: "Punnet", value: "PUNNET" },
203
+ { label: "Gr", value: "GRAM" },
204
+ { label: "Kg", value: "KILOGRAM" },
205
+ { label: "L", value: "LITRE" },
206
+ { label: "Ml", value: "MILLILITRE" },
207
+ { label: "Dozen", value: "DOZEN" },
208
+ { label: "Half dozen", value: "HALF_DOZEN" }
209
+ ];
210
+
211
+ // src/formFields/vendor/vendorInfo.ts
212
+ var vendorElectricity = {
213
+ details: {
214
+ helperText: "Please describe details e.g. amps, voltage, etc.",
215
+ isTextArea: true,
216
+ name: "requirements.electricity.details",
217
+ placeholder: "Electricity requirements"
218
+ },
219
+ isRequired: {
220
+ name: "requirements.electricity.isRequired",
221
+ placeholder: "Do you require electricity?"
222
+ }
223
+ };
224
+ var vendorGazebo = {
225
+ details: {
226
+ helperText: "Please describe details e.g. size, etc.",
227
+ isTextArea: true,
228
+ name: "requirements.gazebo.details",
229
+ placeholder: "Gazebo requirements"
230
+ },
231
+ isRequired: {
232
+ name: "requirements.gazebo.isRequired",
233
+ placeholder: "Do you require Gazebo?"
234
+ }
235
+ };
236
+ var vendorTable = {
237
+ details: {
238
+ helperText: "Please describe details e.g. size, etc.",
239
+ isTextArea: true,
240
+ name: "requirements.table.details",
241
+ placeholder: "Table requirements"
242
+ },
243
+ isRequired: {
244
+ name: "requirements.table.isRequired",
245
+ placeholder: "Do you require Table?"
246
+ }
247
+ };
248
+ var vendorPriceRange = {
249
+ max: {
250
+ helperText: "Product maximum price",
251
+ name: "product.priceRange.max",
252
+ placeholder: "Maximum price: "
253
+ },
254
+ min: {
255
+ helperText: "Product minimum price",
256
+ name: "product.priceRange.min",
257
+ placeholder: "Minimum price: "
258
+ }
259
+ };
260
+ var vendorStallSize = {
261
+ depth: {
262
+ helperText: "Stall size in depth",
263
+ name: "stallInfo.size.depth",
264
+ placeholder: "Stall Depth: "
265
+ },
266
+ width: {
267
+ helperText: "Stall size in width",
268
+ name: "stallInfo.size.width",
269
+ placeholder: "Stall Width: "
270
+ }
271
+ };
272
+ var vendorPackaging = {
273
+ helperText: "Select packaging type, you can select more than one",
274
+ name: "product.packaging",
275
+ placeholder: "Packaging type"
276
+ };
277
+ var vendorProducedIn = {
278
+ helperText: "Select where the product is produced, you can select more than one",
279
+ name: "product.producedIn",
280
+ placeholder: "Produced type"
281
+ };
282
+ var vendorFoodFlavour = {
283
+ helperText: "You can select more than one food flavour",
284
+ name: "product.foodFlavors",
285
+ placeholder: "Food flavours"
286
+ };
287
+ var vendorCompliance = [
288
+ {
289
+ name: "compliance.liabilityInsurance",
290
+ placeholder: "Liability Insurance"
291
+ },
292
+ {
293
+ name: "compliance.foodBeverageLicense",
294
+ placeholder: "Food and Beverage License"
295
+ }
296
+ ];
297
+ var packagingTypes = [
298
+ "Biodegradable",
299
+ "Compostable",
300
+ "Fabric",
301
+ "Glass",
302
+ "Other",
303
+ "Paper",
304
+ "Plastic",
305
+ "Recyclable",
306
+ "Reusable",
307
+ "Single-use",
308
+ "Wood"
309
+ ];
310
+ var producedIngTypes = [
311
+ "Commercial Kitchen",
312
+ "Home Premises",
313
+ "Factory",
314
+ "Farm",
315
+ "Other"
316
+ ];
317
+ var packagingOptions = mapArrayToOptions(packagingTypes);
318
+ var producedIngOptions = mapArrayToOptions(producedIngTypes);
319
+ var foodFlavourOptions = Object.values(
320
+ EnumFoodFlavor
321
+ ).map((flavour) => ({
322
+ label: flavour.replaceAll("_", " "),
323
+ value: flavour
324
+ }));
325
+
326
+ // src/formFields/event/event.ts
327
+ var eventBasicInfoFields = [
328
+ {
329
+ helperText: "Name of the Event *",
330
+ name: "name",
331
+ placeholder: "Name"
332
+ },
333
+ {
334
+ helperText: "NZBN number (required \u2013 ClueMart only accepts events with valid NZBN number) *",
335
+ keyboardType: "number-pad",
336
+ name: "nzbn",
337
+ placeholder: "NZBN number"
338
+ },
339
+ {
340
+ helperText: "Name of the Provider (if applicable)",
341
+ name: "provider",
342
+ placeholder: "Provider"
343
+ },
344
+ {
345
+ helperText: "Description of the Event *",
346
+ isTextArea: true,
347
+ name: "description",
348
+ placeholder: "Description"
349
+ }
350
+ ];
351
+ var eventStartDateFields = [
352
+ {
353
+ dateMode: "date",
354
+ helperText: "Start Date of the Event *",
355
+ name: "startDate",
356
+ placeholder: "Start Date"
357
+ },
358
+ {
359
+ dateMode: "time",
360
+ helperText: "Start Time of the Event *",
361
+ name: "startTime",
362
+ placeholder: "Start Time"
363
+ }
364
+ ];
365
+ var eventEndDateFields = [
366
+ {
367
+ dateMode: "date",
368
+ helperText: "End Date of the Event *",
369
+ name: "endDate",
370
+ placeholder: "End Date"
371
+ },
372
+ {
373
+ dateMode: "time",
374
+ helperText: "End Time of the Event *",
375
+ name: "endTime",
376
+ placeholder: "End Time"
377
+ }
378
+ ];
379
+ var availableTagTypes = [
380
+ { icon: "human-male-female-child", label: "All Ages" },
381
+ { icon: "weather-sunny", label: "Day Market" },
382
+ { icon: "account-child", label: "Family Friendly" },
383
+ { icon: "ticket-percent", label: "Free Entry" },
384
+ { icon: "home-city", label: "Indoor Market" },
385
+ { icon: "music", label: "Live Music" },
386
+ { icon: "bus", label: "Near Bustop" },
387
+ { icon: "slide", label: "Near Playground" },
388
+ { icon: "train", label: "Near Train Station" },
389
+ { icon: "weather-night", label: "Night Market" },
390
+ { icon: "tree", label: "Outdoor Market" },
391
+ { icon: "car", label: "Parking Available" },
392
+ { icon: "dog", label: "Pet Friendly" },
393
+ { icon: "ship-wheel", label: "Port Nearby" },
394
+ { icon: "toilet", label: "Toilet Available" },
395
+ { icon: "wheelchair-accessibility", label: "Wheelchair Accessible" }
396
+ ];
397
+ var tagOptions = availableTagTypes.map((tag) => ({
398
+ label: tag.label,
399
+ value: tag.label
400
+ }));
401
+
402
+ // src/formFields/global.ts
403
+ var emailField = {
404
+ helperText: "Enter email address",
405
+ keyboardType: "email-address",
406
+ name: "email",
407
+ placeholder: "Email"
408
+ };
409
+ var companyContactFields = [
410
+ {
411
+ ...emailField,
412
+ name: "contactDetails.email"
413
+ },
414
+ {
415
+ helperText: "Enter your mobile phone number",
416
+ keyboardType: "phone-pad",
417
+ name: "contactDetails.mobilePhone",
418
+ placeholder: "Mobile Phone Number"
419
+ },
420
+ {
421
+ helperText: "Enter your landline phone number",
422
+ keyboardType: "phone-pad",
423
+ name: "contactDetails.landlinePhone",
424
+ placeholder: "Landline Phone Number"
425
+ }
426
+ ];
427
+ var bankAccountDetailsFields = [
428
+ {
429
+ helperText: "Account holder name *",
430
+ name: "accountHolderName",
431
+ placeholder: "Account holder name"
432
+ },
433
+ {
434
+ helperText: "Account number *",
435
+ keyboardType: "number-pad",
436
+ name: "accountNumber",
437
+ placeholder: "Account number"
438
+ }
439
+ ];
440
+
441
+ // src/formFields/event/eventInfo.ts
442
+ var eventInfo = [
443
+ {
444
+ helperText: "Application Deadline (hours before event start) *",
445
+ keyboardType: "number-pad",
446
+ name: "applicationDeadlineHours",
447
+ placeholder: "Application Deadline (in hours)"
448
+ },
449
+ {
450
+ helperText: "Payment Due (hours after application or invitation acceptance) *",
451
+ keyboardType: "number-pad",
452
+ name: "paymentDueHours",
453
+ placeholder: "Payment Due (in hours)"
454
+ },
455
+ {
456
+ helperText: "Pack-In Time (hours before event start) *",
457
+ keyboardType: "number-pad",
458
+ name: "packInTime",
459
+ placeholder: "Pack In Time (in hours)"
460
+ }
461
+ ];
462
+ var eventInfoPaymentInfo = [
463
+ ...bankAccountDetailsFields,
464
+ {
465
+ helperText: "Payment link, where applicants can pay *",
466
+ keyboardType: "url",
467
+ name: "link",
468
+ placeholder: "Payment link"
469
+ }
470
+ ];
471
+ var requirementsOptions = [
472
+ {
473
+ category: "Environment",
474
+ label: "All packaging must be eco-friendly or recyclable where possible.",
475
+ value: false
476
+ },
477
+ {
478
+ category: "Environment",
479
+ label: "No single-use plastic bags are to be handed out.",
480
+ value: false
481
+ },
482
+ {
483
+ category: "Environment",
484
+ label: "Stall area must be left clean with no trace of activity after pack-down.",
485
+ value: false
486
+ },
487
+ {
488
+ category: "Environment",
489
+ label: "No disposal of oils, fats, or chemicals in public drains or on grassed areas.",
490
+ value: false
491
+ },
492
+ {
493
+ category: "Environment",
494
+ 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.",
495
+ value: false
496
+ },
497
+ {
498
+ category: "Food Safety",
499
+ label: "Food must be prepared and stored according to your food regulation.",
500
+ value: false
501
+ },
502
+ {
503
+ category: "Food Safety",
504
+ label: "The stallholder must display a current food grade certificate.",
505
+ value: false
506
+ },
507
+ {
508
+ category: "Food Safety",
509
+ label: "Only licensed food vendors may sell ready-to-eat food items.",
510
+ value: false
511
+ },
512
+ {
513
+ category: "Food Safety",
514
+ label: "Handwashing facilities must be available at your stall if preparing food.",
515
+ value: false
516
+ },
517
+ {
518
+ category: "Food Safety",
519
+ label: "You must have a food safety plan in place for your stall.",
520
+ value: false
521
+ },
522
+ {
523
+ category: "Food Safety",
524
+ label: "Allergens must be clearly listed on packaged and unpackaged food items.",
525
+ value: false
526
+ },
527
+ {
528
+ category: "Legal & Safety",
529
+ label: "All stallholders must comply with local council regulations.",
530
+ value: false
531
+ },
532
+ {
533
+ category: "Legal & Safety",
534
+ label: "No unauthorised subletting of stall space to other vendors.",
535
+ value: false
536
+ },
537
+ {
538
+ category: "Legal & Safety",
539
+ label: "Gas bottles and fuel containers must be secured and in good condition if applicable.",
540
+ value: false
541
+ },
542
+ {
543
+ category: "Legal & Safety",
544
+ label: "Fire extinguishers must be available for stalls using cooking or heating equipment.",
545
+ value: false
546
+ },
547
+ {
548
+ category: "Legal & Safety",
549
+ label: "Stallholders must not sell items that are illegal or prohibited by law.",
550
+ value: false
551
+ },
552
+ {
553
+ category: "Legal & Safety",
554
+ label: "All electrical equipment must be tested and tagged.",
555
+ value: false
556
+ },
557
+ {
558
+ category: "Legal & Safety",
559
+ label: "Noise levels must be kept to a minimum unless part of a permitted performance.",
560
+ value: false
561
+ },
562
+ {
563
+ category: "Legal & Safety",
564
+ label: "Pets at the stall must be secured and well-behaved at all times.",
565
+ value: false
566
+ },
567
+ {
568
+ category: "Legal & Safety",
569
+ label: "Cables must be secured and not create tripping hazards.",
570
+ value: false
571
+ },
572
+ {
573
+ category: "Legal & Safety",
574
+ label: "Stalls must not obstruct emergency access routes.",
575
+ value: false
576
+ },
577
+ {
578
+ category: "Legal & Safety",
579
+ label: "First aid kit must be available at the stall for minor injuries.",
580
+ value: false
581
+ },
582
+ {
583
+ category: "Legal & Safety",
584
+ label: "Stallholders must hold valid liability insurance where required.",
585
+ value: false
586
+ },
587
+ {
588
+ category: "Legal & Safety",
589
+ label: "You must secure your gazebo and equipment to withstand wind or bad weather.",
590
+ value: false
591
+ },
592
+ {
593
+ category: "Legal & Safety",
594
+ label: "You are responsible for the safety of your setup and any potential hazards.",
595
+ value: false
596
+ },
597
+ {
598
+ category: "Operations",
599
+ label: "Generators must be quiet and pre-approved by the event organiser.",
600
+ value: false
601
+ },
602
+ {
603
+ category: "Operations",
604
+ label: "Only approved products or services may be sold \u2014 no last-minute changes.",
605
+ value: false
606
+ },
607
+ {
608
+ category: "Operations",
609
+ label: "Stallholders must arrive and be fully set up by the designated opening time.",
610
+ value: false
611
+ },
612
+ {
613
+ category: "Operations",
614
+ label: "You may not pack down your stall before the event officially ends.",
615
+ value: false
616
+ },
617
+ {
618
+ category: "Operations",
619
+ label: "You must be self-sufficient in all operations.",
620
+ value: false
621
+ },
622
+ {
623
+ category: "Operations",
624
+ label: "Stall layout must be kept within your allocated space.",
625
+ value: false
626
+ }
627
+ ];
628
+ var stallTypes = [
629
+ "1.8m table only",
630
+ "2x2m mini stall",
631
+ "3x3m tent site",
632
+ "Corner stall",
633
+ "Craft stall with power",
634
+ "Craft stall without power",
635
+ "Double stall (6x3m)",
636
+ "Food truck site",
637
+ "Food vendor with power",
638
+ "Food vendor without power",
639
+ "Inside hall stall",
640
+ "Non-profit/community stall",
641
+ "Outdoor open area",
642
+ "Shared table space",
643
+ "Wall-based vendor",
644
+ "Workshop/seating area"
645
+ ];
646
+ var stallTypeOptions = stallTypes.map((type) => ({
647
+ label: type,
648
+ price: 0,
649
+ stallCapacity: 0
650
+ }));
651
+ var refundPolicyOptions = [
652
+ {
653
+ category: "Cancelled by Vendor",
654
+ label: "Full refund if cancelled 30+ days before the event.",
655
+ value: false
656
+ },
657
+ {
658
+ category: "Cancelled by Vendor",
659
+ label: "50% refund if cancelled 14\u201329 days before the event.",
660
+ value: false
661
+ },
662
+ {
663
+ category: "Cancelled by Vendor",
664
+ label: "No refund if cancelled less than 14 days before the event.",
665
+ value: false
666
+ },
667
+ {
668
+ category: "Cancelled by Vendor",
669
+ label: "Full refund if cancelled due to illness or emergency.",
670
+ value: false
671
+ },
672
+ {
673
+ category: "Cancelled by Vendor",
674
+ label: "No refund for no-shows or last-minute cancellations.",
675
+ value: false
676
+ },
677
+ {
678
+ category: "Cancelled by Vendor",
679
+ label: "No refund",
680
+ value: false
681
+ },
682
+ {
683
+ category: "Cancelled by Organiser",
684
+ label: "Full refund if the event is cancelled by the organiser.",
685
+ value: false
686
+ },
687
+ {
688
+ category: "Cancelled by Organiser",
689
+ label: "Credit towards a future event if cancelled by the organiser.",
690
+ value: false
691
+ },
692
+ {
693
+ category: "Cancelled by Organiser",
694
+ label: "Refund only in cases of force majeure (e.g., natural disasters, government restrictions).",
695
+ value: false
696
+ },
697
+ {
698
+ category: "Cancelled by Organiser",
699
+ label: "No refund",
700
+ value: false
701
+ }
702
+ ];
703
+
704
+ // src/formFields/auth.ts
705
+ var loginFields = [
706
+ {
707
+ ...emailField,
708
+ required: true
709
+ },
710
+ {
711
+ helperText: "Enter password",
712
+ keyboardType: "default",
713
+ name: "password",
714
+ placeholder: "Password",
715
+ required: true,
716
+ secureTextEntry: true
717
+ }
718
+ ];
719
+ var registerFields = [
720
+ {
721
+ helperText: "Enter first name",
722
+ keyboardType: "default",
723
+ name: "firstName",
724
+ placeholder: "First Name",
725
+ required: true
726
+ },
727
+ {
728
+ helperText: "Enter last name",
729
+ keyboardType: "default",
730
+ name: "lastName",
731
+ placeholder: "Last Name",
732
+ required: true
733
+ },
734
+ {
735
+ ...emailField,
736
+ required: true
737
+ },
738
+ {
739
+ helperText: "Enter password",
740
+ keyboardType: "default",
741
+ name: "password",
742
+ placeholder: "Password",
743
+ required: true,
744
+ secureTextEntry: true
745
+ },
746
+ {
747
+ helperText: "Promotional code (optional)",
748
+ keyboardType: "default",
749
+ name: "promoCode",
750
+ placeholder: "Promotional Code",
751
+ required: false
752
+ }
753
+ ];
754
+ var requestPasswordResetFields = [
755
+ {
756
+ ...emailField,
757
+ helperText: "Enter email address to reset your password",
758
+ required: true
759
+ }
760
+ ];
761
+ var resetPasswordFields = [
762
+ {
763
+ helperText: "Enter your new password",
764
+ keyboardType: "default",
765
+ name: "password",
766
+ placeholder: "Password",
767
+ required: true,
768
+ secureTextEntry: true
769
+ },
770
+ {
771
+ helperText: "Confirm your new password",
772
+ keyboardType: "default",
773
+ name: "confirmPassword",
774
+ placeholder: "Confirm Password",
775
+ required: true,
776
+ secureTextEntry: true
777
+ }
778
+ ];
779
+ var validateVerificationTokenFields = [
780
+ {
781
+ ...emailField,
782
+ disabled: true,
783
+ helperText: "Your email address"
784
+ },
785
+ {
786
+ helperText: "Enter the Verification code sent to you by email",
787
+ keyboardType: "number-pad",
788
+ name: "verificationToken",
789
+ placeholder: "Verification code",
790
+ required: true
791
+ }
792
+ ];
793
+
794
+ // src/formFields/user.ts
795
+ var profileFields = [
796
+ {
797
+ ...emailField,
798
+ disabled: true,
799
+ helperText: "Email cannot be changed"
800
+ },
801
+ {
802
+ helperText: "Enter first name",
803
+ keyboardType: "default",
804
+ name: "firstName",
805
+ placeholder: "First Name"
806
+ },
807
+ {
808
+ helperText: "Enter last name",
809
+ keyboardType: "default",
810
+ name: "lastName",
811
+ placeholder: "Last Name"
812
+ },
813
+ {
814
+ helperText: "Enter your new password",
815
+ keyboardType: "default",
816
+ name: "password",
817
+ placeholder: "Password",
818
+ secureTextEntry: true
819
+ },
820
+ {
821
+ helperText: "Confirm your new password",
822
+ keyboardType: "default",
823
+ name: "confirmPassword",
824
+ placeholder: "Confirm Password",
825
+ secureTextEntry: true
826
+ }
827
+ ];
828
+
829
+ // src/formFields/socialMedia.ts
830
+ var socialMedia = [
831
+ {
832
+ key: "facebook",
833
+ name: "Facebook",
834
+ placeholder: "https://www.facebook.com/your-page"
835
+ },
836
+ {
837
+ key: "instagram",
838
+ name: "Instagram",
839
+ placeholder: "https://www.instagram.com/your-profile"
840
+ },
841
+ {
842
+ key: "tiktok",
843
+ name: "TikTok",
844
+ placeholder: "https://www.tiktok.com/@your-profile"
845
+ },
846
+ {
847
+ key: "twitter",
848
+ name: "Twitter",
849
+ placeholder: "https://twitter.com/your-profile"
850
+ },
851
+ {
852
+ key: "website",
853
+ name: "Website",
854
+ placeholder: "https://www.yourwebsite.com"
855
+ },
856
+ {
857
+ key: "youtube",
858
+ name: "YouTube",
859
+ placeholder: "https://www.youtube.com/channel/your-channel"
860
+ }
861
+ ];
862
+ var socialMediaFields = socialMedia.map((link) => ({
863
+ helperText: link.name,
864
+ keyboardType: "url",
865
+ name: link.key,
866
+ placeholder: link.placeholder
867
+ }));
868
+
869
+ // src/formFields/contactUs.ts
870
+ var contactUsFields = [
871
+ {
872
+ helperText: "Enter first name *",
873
+ keyboardType: "default",
874
+ name: "firstName",
875
+ placeholder: "First Name"
876
+ },
877
+ {
878
+ helperText: "Enter last name *",
879
+ keyboardType: "default",
880
+ name: "lastName",
881
+ placeholder: "Last Name"
882
+ },
883
+ {
884
+ ...emailField,
885
+ helperText: "Enter email address *"
886
+ },
887
+ {
888
+ helperText: "Enter your message *",
889
+ isTextArea: true,
890
+ keyboardType: "default",
891
+ name: "message",
892
+ placeholder: "Message"
893
+ }
894
+ ];
895
+
896
+ // src/formFields/partner.ts
897
+ var partnerBasicInfoFields = [
898
+ {
899
+ helperText: "Business Name *",
900
+ name: "name",
901
+ placeholder: "Business Name"
902
+ },
903
+ {
904
+ helperText: "NZBN number (required \u2013 ClueMart only accepts partners with valid NZBN number) *",
905
+ keyboardType: "number-pad",
906
+ name: "nzbn",
907
+ placeholder: "NZBN number"
908
+ },
909
+ {
910
+ helperText: "Description *",
911
+ isTextArea: true,
912
+ name: "description",
913
+ placeholder: "Description"
914
+ }
915
+ ];
916
+
917
+ export {
918
+ vendorBasicInfoFields,
919
+ vendorFullAddress,
920
+ vendorStartDateFields,
921
+ vendorEndDateFields,
922
+ vendorAvailability,
923
+ vendorLocationDescription,
924
+ vendorMenuFields,
925
+ productLabelGroups,
926
+ priceUnits,
927
+ vendorElectricity,
928
+ vendorGazebo,
929
+ vendorTable,
930
+ vendorPriceRange,
931
+ vendorStallSize,
932
+ vendorPackaging,
933
+ vendorProducedIn,
934
+ vendorFoodFlavour,
935
+ vendorCompliance,
936
+ packagingOptions,
937
+ producedIngOptions,
938
+ foodFlavourOptions,
939
+ eventBasicInfoFields,
940
+ eventStartDateFields,
941
+ eventEndDateFields,
942
+ availableTagTypes,
943
+ tagOptions,
944
+ emailField,
945
+ companyContactFields,
946
+ bankAccountDetailsFields,
947
+ eventInfo,
948
+ eventInfoPaymentInfo,
949
+ requirementsOptions,
950
+ stallTypeOptions,
951
+ refundPolicyOptions,
952
+ loginFields,
953
+ registerFields,
954
+ requestPasswordResetFields,
955
+ resetPasswordFields,
956
+ validateVerificationTokenFields,
957
+ profileFields,
958
+ socialMediaFields,
959
+ contactUsFields,
960
+ partnerBasicInfoFields
961
+ };
962
+ //# sourceMappingURL=chunk-BIJ5NDXW.mjs.map