@timardex/cluemart-shared 1.6.130 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/ad-CVkVX_z5.d.ts +296 -0
  2. package/dist/ad-DA9ECAhK.d.mts +296 -0
  3. package/dist/affiliate-1RtkLnLP.d.ts +35 -0
  4. package/dist/affiliate-Cos2Syz5.d.mts +35 -0
  5. package/dist/chunk-HZMP7GXC.mjs +5330 -0
  6. package/dist/chunk-HZMP7GXC.mjs.map +1 -0
  7. package/dist/chunk-KZTOISPA.mjs +272 -0
  8. package/dist/chunk-KZTOISPA.mjs.map +1 -0
  9. package/dist/chunk-MVQ3CFQR.mjs +230 -0
  10. package/dist/chunk-MVQ3CFQR.mjs.map +1 -0
  11. package/dist/chunk-NPFJ2CN2.mjs +109 -0
  12. package/dist/chunk-NPFJ2CN2.mjs.map +1 -0
  13. package/dist/chunk-RKIRWZCH.mjs +368 -0
  14. package/dist/chunk-RKIRWZCH.mjs.map +1 -0
  15. package/dist/{chunk-OHHJ3KJJ.mjs → chunk-TAECMXM4.mjs} +267 -304
  16. package/dist/chunk-TAECMXM4.mjs.map +1 -0
  17. package/dist/chunk-VA5YN2K3.mjs +48 -0
  18. package/dist/chunk-VA5YN2K3.mjs.map +1 -0
  19. package/dist/chunk-ZZJSCYJK.mjs +958 -0
  20. package/dist/chunk-ZZJSCYJK.mjs.map +1 -0
  21. package/dist/contactUs-DGrDzJaM.d.mts +11 -0
  22. package/dist/contactUs-H7799pWe.d.ts +11 -0
  23. package/dist/enums/index.cjs +223 -2
  24. package/dist/enums/index.cjs.map +1 -1
  25. package/dist/enums/index.d.mts +164 -5
  26. package/dist/enums/index.d.ts +164 -5
  27. package/dist/enums/index.mjs +41 -1
  28. package/dist/formFields/index.cjs +168 -403
  29. package/dist/formFields/index.cjs.map +1 -1
  30. package/dist/formFields/index.d.mts +3 -6
  31. package/dist/formFields/index.d.ts +3 -6
  32. package/dist/formFields/index.mjs +47 -921
  33. package/dist/formFields/index.mjs.map +1 -1
  34. package/dist/global-BUUfmCo7.d.mts +698 -0
  35. package/dist/global-fKbMmluy.d.ts +698 -0
  36. package/dist/graphql/index.cjs +3329 -3340
  37. package/dist/graphql/index.cjs.map +1 -1
  38. package/dist/graphql/index.d.mts +487 -690
  39. package/dist/graphql/index.d.ts +487 -690
  40. package/dist/graphql/index.mjs +153 -2552
  41. package/dist/graphql/index.mjs.map +1 -1
  42. package/dist/hooks/index.cjs +3478 -773
  43. package/dist/hooks/index.cjs.map +1 -1
  44. package/dist/hooks/index.d.mts +6 -13
  45. package/dist/hooks/index.d.ts +6 -13
  46. package/dist/hooks/index.mjs +99 -193
  47. package/dist/hooks/index.mjs.map +1 -1
  48. package/dist/images/apple-maps-icon.webp.d.ts +1 -8
  49. package/dist/images/banner-horizontal.webp.d.ts +1 -8
  50. package/dist/images/banner-vertical.webp.d.ts +1 -8
  51. package/dist/images/cluiTui.webp.d.ts +1 -8
  52. package/dist/images/corporate.webp.d.ts +1 -8
  53. package/dist/images/facebook.webp.d.ts +1 -8
  54. package/dist/images/gazebo-top.webp.d.ts +1 -8
  55. package/dist/images/google-maps-icon.webp.d.ts +1 -8
  56. package/dist/images/googleMaps-logo-dark.webp.d.ts +1 -8
  57. package/dist/images/googleMaps-logo-light.webp.d.ts +1 -8
  58. package/dist/images/index.mjs +21 -86
  59. package/dist/images/index.mjs.map +1 -1
  60. package/dist/images/instagram.webp.d.ts +1 -8
  61. package/dist/images/logo-atr.webp.d.ts +1 -8
  62. package/dist/images/logo-dark.webp.d.ts +1 -8
  63. package/dist/images/logo.webp.d.ts +1 -8
  64. package/dist/images/meet.webp.d.ts +1 -8
  65. package/dist/images/mini-market1.webp.d.ts +1 -8
  66. package/dist/images/mini-market2.webp.d.ts +1 -8
  67. package/dist/images/mini-market3.webp.d.ts +1 -8
  68. package/dist/images/mini-market4.webp.d.ts +1 -8
  69. package/dist/images/mini-market5.webp.d.ts +1 -8
  70. package/dist/images/poll.webp.d.ts +1 -8
  71. package/dist/images/poster1.webp.d.ts +1 -8
  72. package/dist/images/poster2.webp.d.ts +1 -8
  73. package/dist/images/poster3.webp.d.ts +1 -8
  74. package/dist/images/poster4.webp.d.ts +1 -8
  75. package/dist/images/private.webp.d.ts +1 -8
  76. package/dist/images/qr-code.webp.d.ts +1 -8
  77. package/dist/images/school.webp.d.ts +1 -8
  78. package/dist/images/sima.webp.d.ts +1 -8
  79. package/dist/images/store-android.webp.d.ts +1 -8
  80. package/dist/images/store-ios.webp.d.ts +1 -8
  81. package/dist/images/tablas.webp.d.ts +1 -8
  82. package/dist/images/telefonos.webp.d.ts +1 -8
  83. package/dist/images/tiktok.webp.d.ts +1 -8
  84. package/dist/images/tip.webp.d.ts +1 -8
  85. package/dist/images/ugralos.webp.d.ts +1 -8
  86. package/dist/images/waze-maps-icon.webp.d.ts +1 -8
  87. package/dist/images/website.webp.d.ts +1 -8
  88. package/dist/images/youtube.webp.d.ts +1 -8
  89. package/dist/index.cjs +5883 -7079
  90. package/dist/index.cjs.map +1 -1
  91. package/dist/index.d.mts +1692 -2966
  92. package/dist/index.d.ts +1692 -2966
  93. package/dist/index.mjs +5020 -6162
  94. package/dist/index.mjs.map +1 -1
  95. package/dist/map/index.cjs +9 -14
  96. package/dist/map/index.cjs.map +1 -1
  97. package/dist/map/index.d.mts +14 -18
  98. package/dist/map/index.d.ts +14 -18
  99. package/dist/map/index.mjs +9 -14
  100. package/dist/map/index.mjs.map +1 -1
  101. package/dist/resourceActivities-BL_12IAo.d.ts +125 -0
  102. package/dist/resourceActivities-zczOntNk.d.mts +125 -0
  103. package/dist/sharing/index.cjs +1272 -63
  104. package/dist/sharing/index.cjs.map +1 -1
  105. package/dist/sharing/index.d.mts +7 -32
  106. package/dist/sharing/index.d.ts +7 -32
  107. package/dist/sharing/index.mjs +30 -188
  108. package/dist/sharing/index.mjs.map +1 -1
  109. package/dist/theme/index.mjs +5 -41
  110. package/dist/theme/index.mjs.map +1 -1
  111. package/dist/types/index.cjs +110 -868
  112. package/dist/types/index.cjs.map +1 -1
  113. package/dist/types/index.d.mts +24 -230
  114. package/dist/types/index.d.ts +24 -230
  115. package/dist/types/index.mjs +27 -61
  116. package/dist/utils/index.cjs +214 -608
  117. package/dist/utils/index.cjs.map +1 -1
  118. package/dist/utils/index.d.mts +53 -107
  119. package/dist/utils/index.d.ts +53 -107
  120. package/dist/utils/index.mjs +15 -43
  121. package/package.json +12 -40
  122. package/dist/affiliate-Bqqlffw8.d.mts +0 -36
  123. package/dist/affiliate-Btlp5XUp.d.ts +0 -36
  124. package/dist/affiliateAdapters-BW3BY7c5.d.mts +0 -118
  125. package/dist/affiliateAdapters-C51ISmuA.d.ts +0 -118
  126. package/dist/apollo/index.cjs +0 -1383
  127. package/dist/apollo/index.cjs.map +0 -1
  128. package/dist/apollo/index.d.mts +0 -323
  129. package/dist/apollo/index.d.ts +0 -323
  130. package/dist/apollo/index.mjs +0 -1295
  131. package/dist/apollo/index.mjs.map +0 -1
  132. package/dist/auth/index.cjs +0 -3322
  133. package/dist/auth/index.cjs.map +0 -1
  134. package/dist/auth/index.d.mts +0 -164
  135. package/dist/auth/index.d.ts +0 -164
  136. package/dist/auth/index.mjs +0 -379
  137. package/dist/auth/index.mjs.map +0 -1
  138. package/dist/auth-BOmAO53v.d.ts +0 -169
  139. package/dist/auth-CsITA95p.d.mts +0 -169
  140. package/dist/chunk-DATBGC2K.mjs +0 -347
  141. package/dist/chunk-DATBGC2K.mjs.map +0 -1
  142. package/dist/chunk-DDHECBJR.mjs +0 -726
  143. package/dist/chunk-DDHECBJR.mjs.map +0 -1
  144. package/dist/chunk-INQCDU24.mjs +0 -139
  145. package/dist/chunk-INQCDU24.mjs.map +0 -1
  146. package/dist/chunk-NWWKI4PJ.mjs +0 -297
  147. package/dist/chunk-NWWKI4PJ.mjs.map +0 -1
  148. package/dist/chunk-OHHJ3KJJ.mjs.map +0 -1
  149. package/dist/chunk-RAYUJODN.mjs +0 -45
  150. package/dist/chunk-RAYUJODN.mjs.map +0 -1
  151. package/dist/chunk-TOEFAEF2.mjs +0 -69
  152. package/dist/chunk-TOEFAEF2.mjs.map +0 -1
  153. package/dist/chunk-UKW7NZEQ.mjs +0 -2813
  154. package/dist/chunk-UKW7NZEQ.mjs.map +0 -1
  155. package/dist/dailyClue-C6WXY73z.d.mts +0 -105
  156. package/dist/dailyClue-C6WXY73z.d.ts +0 -105
  157. package/dist/event-C9K7CSg4.d.ts +0 -53
  158. package/dist/event-W0NhL5Cd.d.mts +0 -53
  159. package/dist/global-BbSFfYdd.d.ts +0 -181
  160. package/dist/global-C6v9tRji.d.mts +0 -181
  161. package/dist/graphql-CDOfA79A.d.ts +0 -1253
  162. package/dist/graphql-CcvzTs9k.d.mts +0 -1253
  163. package/dist/resourceActivities-CS8YRIIL.d.mts +0 -89
  164. package/dist/resourceActivities-DOdNPkhW.d.ts +0 -89
  165. package/dist/subscription-Cj_qBA7u.d.mts +0 -20
  166. package/dist/subscription-OiJ50uJb.d.ts +0 -20
  167. package/dist/vendor-DmMi2qmx.d.mts +0 -73
  168. package/dist/vendor-M9hVZlni.d.ts +0 -73
@@ -0,0 +1,958 @@
1
+ import {
2
+ mapArrayToOptions
3
+ } from "./chunk-TAECMXM4.mjs";
4
+ import {
5
+ EnumFoodFlavor
6
+ } from "./chunk-KZTOISPA.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/event/eventInfo.ts
403
+ var eventInfo = [
404
+ {
405
+ helperText: "Application Deadline (hours before event start) *",
406
+ keyboardType: "number-pad",
407
+ name: "applicationDeadlineHours",
408
+ placeholder: "Application Deadline (in hours)"
409
+ },
410
+ {
411
+ helperText: "Payment Due (hours after application or invitation acceptance) *",
412
+ keyboardType: "number-pad",
413
+ name: "paymentDueHours",
414
+ placeholder: "Payment Due (in hours)"
415
+ },
416
+ {
417
+ helperText: "Pack-In Time (hours before event start) *",
418
+ keyboardType: "number-pad",
419
+ name: "packInTime",
420
+ placeholder: "Pack In Time (in hours)"
421
+ }
422
+ ];
423
+ var eventInfoPaymentInfo = [
424
+ {
425
+ helperText: "Account holder name *",
426
+ name: "accountHolderName",
427
+ placeholder: "Account holder name"
428
+ },
429
+ {
430
+ helperText: "Account number *",
431
+ keyboardType: "number-pad",
432
+ name: "accountNumber",
433
+ placeholder: "Account number"
434
+ },
435
+ {
436
+ helperText: "Payment link, where applicants can pay *",
437
+ keyboardType: "url",
438
+ name: "link",
439
+ placeholder: "Payment link"
440
+ }
441
+ ];
442
+ var requirementsOptions = [
443
+ {
444
+ category: "Environment",
445
+ label: "All packaging must be eco-friendly or recyclable where possible.",
446
+ value: false
447
+ },
448
+ {
449
+ category: "Environment",
450
+ label: "No single-use plastic bags are to be handed out.",
451
+ value: false
452
+ },
453
+ {
454
+ category: "Environment",
455
+ label: "Stall area must be left clean with no trace of activity after pack-down.",
456
+ value: false
457
+ },
458
+ {
459
+ category: "Environment",
460
+ label: "No disposal of oils, fats, or chemicals in public drains or on grassed areas.",
461
+ value: false
462
+ },
463
+ {
464
+ category: "Environment",
465
+ 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.",
466
+ value: false
467
+ },
468
+ {
469
+ category: "Food Safety",
470
+ label: "Food must be prepared and stored according to your food regulation.",
471
+ value: false
472
+ },
473
+ {
474
+ category: "Food Safety",
475
+ label: "The stallholder must display a current food grade certificate.",
476
+ value: false
477
+ },
478
+ {
479
+ category: "Food Safety",
480
+ label: "Only licensed food vendors may sell ready-to-eat food items.",
481
+ value: false
482
+ },
483
+ {
484
+ category: "Food Safety",
485
+ label: "Handwashing facilities must be available at your stall if preparing food.",
486
+ value: false
487
+ },
488
+ {
489
+ category: "Food Safety",
490
+ label: "You must have a food safety plan in place for your stall.",
491
+ value: false
492
+ },
493
+ {
494
+ category: "Food Safety",
495
+ label: "Allergens must be clearly listed on packaged and unpackaged food items.",
496
+ value: false
497
+ },
498
+ {
499
+ category: "Legal & Safety",
500
+ label: "All stallholders must comply with local council regulations.",
501
+ value: false
502
+ },
503
+ {
504
+ category: "Legal & Safety",
505
+ label: "No unauthorised subletting of stall space to other vendors.",
506
+ value: false
507
+ },
508
+ {
509
+ category: "Legal & Safety",
510
+ label: "Gas bottles and fuel containers must be secured and in good condition if applicable.",
511
+ value: false
512
+ },
513
+ {
514
+ category: "Legal & Safety",
515
+ label: "Fire extinguishers must be available for stalls using cooking or heating equipment.",
516
+ value: false
517
+ },
518
+ {
519
+ category: "Legal & Safety",
520
+ label: "Stallholders must not sell items that are illegal or prohibited by law.",
521
+ value: false
522
+ },
523
+ {
524
+ category: "Legal & Safety",
525
+ label: "All electrical equipment must be tested and tagged.",
526
+ value: false
527
+ },
528
+ {
529
+ category: "Legal & Safety",
530
+ label: "Noise levels must be kept to a minimum unless part of a permitted performance.",
531
+ value: false
532
+ },
533
+ {
534
+ category: "Legal & Safety",
535
+ label: "Pets at the stall must be secured and well-behaved at all times.",
536
+ value: false
537
+ },
538
+ {
539
+ category: "Legal & Safety",
540
+ label: "Cables must be secured and not create tripping hazards.",
541
+ value: false
542
+ },
543
+ {
544
+ category: "Legal & Safety",
545
+ label: "Stalls must not obstruct emergency access routes.",
546
+ value: false
547
+ },
548
+ {
549
+ category: "Legal & Safety",
550
+ label: "First aid kit must be available at the stall for minor injuries.",
551
+ value: false
552
+ },
553
+ {
554
+ category: "Legal & Safety",
555
+ label: "Stallholders must hold valid liability insurance where required.",
556
+ value: false
557
+ },
558
+ {
559
+ category: "Legal & Safety",
560
+ label: "You must secure your gazebo and equipment to withstand wind or bad weather.",
561
+ value: false
562
+ },
563
+ {
564
+ category: "Legal & Safety",
565
+ label: "You are responsible for the safety of your setup and any potential hazards.",
566
+ value: false
567
+ },
568
+ {
569
+ category: "Operations",
570
+ label: "Generators must be quiet and pre-approved by the event organiser.",
571
+ value: false
572
+ },
573
+ {
574
+ category: "Operations",
575
+ label: "Only approved products or services may be sold \u2014 no last-minute changes.",
576
+ value: false
577
+ },
578
+ {
579
+ category: "Operations",
580
+ label: "Stallholders must arrive and be fully set up by the designated opening time.",
581
+ value: false
582
+ },
583
+ {
584
+ category: "Operations",
585
+ label: "You may not pack down your stall before the event officially ends.",
586
+ value: false
587
+ },
588
+ {
589
+ category: "Operations",
590
+ label: "You must be self-sufficient in all operations.",
591
+ value: false
592
+ },
593
+ {
594
+ category: "Operations",
595
+ label: "Stall layout must be kept within your allocated space.",
596
+ value: false
597
+ }
598
+ ];
599
+ var stallTypes = [
600
+ "1.8m table only",
601
+ "2x2m mini stall",
602
+ "3x3m tent site",
603
+ "Corner stall",
604
+ "Craft stall with power",
605
+ "Craft stall without power",
606
+ "Double stall (6x3m)",
607
+ "Food truck site",
608
+ "Food vendor with power",
609
+ "Food vendor without power",
610
+ "Inside hall stall",
611
+ "Non-profit/community stall",
612
+ "Outdoor open area",
613
+ "Shared table space",
614
+ "Wall-based vendor",
615
+ "Workshop/seating area"
616
+ ];
617
+ var stallTypeOptions = stallTypes.map((type) => ({
618
+ label: type,
619
+ price: 0,
620
+ stallCapacity: 0
621
+ }));
622
+ var refundPolicyOptions = [
623
+ {
624
+ category: "Cancelled by Vendor",
625
+ label: "Full refund if cancelled 30+ days before the event.",
626
+ value: false
627
+ },
628
+ {
629
+ category: "Cancelled by Vendor",
630
+ label: "50% refund if cancelled 14\u201329 days before the event.",
631
+ value: false
632
+ },
633
+ {
634
+ category: "Cancelled by Vendor",
635
+ label: "No refund if cancelled less than 14 days before the event.",
636
+ value: false
637
+ },
638
+ {
639
+ category: "Cancelled by Vendor",
640
+ label: "Full refund if cancelled due to illness or emergency.",
641
+ value: false
642
+ },
643
+ {
644
+ category: "Cancelled by Vendor",
645
+ label: "No refund for no-shows or last-minute cancellations.",
646
+ value: false
647
+ },
648
+ {
649
+ category: "Cancelled by Vendor",
650
+ label: "No refund",
651
+ value: false
652
+ },
653
+ {
654
+ category: "Cancelled by Organiser",
655
+ label: "Full refund if the event is cancelled by the organiser.",
656
+ value: false
657
+ },
658
+ {
659
+ category: "Cancelled by Organiser",
660
+ label: "Credit towards a future event if cancelled by the organiser.",
661
+ value: false
662
+ },
663
+ {
664
+ category: "Cancelled by Organiser",
665
+ label: "Refund only in cases of force majeure (e.g., natural disasters, government restrictions).",
666
+ value: false
667
+ },
668
+ {
669
+ category: "Cancelled by Organiser",
670
+ label: "No refund",
671
+ value: false
672
+ }
673
+ ];
674
+
675
+ // src/formFields/global.ts
676
+ var emailField = {
677
+ helperText: "Enter email address",
678
+ keyboardType: "email-address",
679
+ name: "email",
680
+ placeholder: "Email"
681
+ };
682
+ var companyContactFields = [
683
+ {
684
+ ...emailField,
685
+ name: "contactDetails.email"
686
+ },
687
+ {
688
+ helperText: "Enter your mobile phone number",
689
+ keyboardType: "phone-pad",
690
+ name: "contactDetails.mobilePhone",
691
+ placeholder: "Mobile Phone Number"
692
+ },
693
+ {
694
+ helperText: "Enter your landline phone number",
695
+ keyboardType: "phone-pad",
696
+ name: "contactDetails.landlinePhone",
697
+ placeholder: "Landline Phone Number"
698
+ }
699
+ ];
700
+
701
+ // src/formFields/auth.ts
702
+ var loginFields = [
703
+ {
704
+ ...emailField,
705
+ required: true
706
+ },
707
+ {
708
+ helperText: "Enter password",
709
+ keyboardType: "default",
710
+ name: "password",
711
+ placeholder: "Password",
712
+ required: true,
713
+ secureTextEntry: true
714
+ }
715
+ ];
716
+ var registerFields = [
717
+ {
718
+ helperText: "Enter first name",
719
+ keyboardType: "default",
720
+ name: "firstName",
721
+ placeholder: "First Name",
722
+ required: true
723
+ },
724
+ {
725
+ helperText: "Enter last name",
726
+ keyboardType: "default",
727
+ name: "lastName",
728
+ placeholder: "Last Name",
729
+ required: true
730
+ },
731
+ {
732
+ ...emailField,
733
+ required: true
734
+ },
735
+ {
736
+ helperText: "Enter password",
737
+ keyboardType: "default",
738
+ name: "password",
739
+ placeholder: "Password",
740
+ required: true,
741
+ secureTextEntry: true
742
+ },
743
+ {
744
+ helperText: "Promotional code (optional)",
745
+ keyboardType: "default",
746
+ name: "promoCode",
747
+ placeholder: "Promotional Code",
748
+ required: false
749
+ }
750
+ ];
751
+ var requestPasswordResetFields = [
752
+ {
753
+ ...emailField,
754
+ helperText: "Enter email address to reset your password",
755
+ required: true
756
+ }
757
+ ];
758
+ var resetPasswordFields = [
759
+ {
760
+ helperText: "Enter your new password",
761
+ keyboardType: "default",
762
+ name: "password",
763
+ placeholder: "Password",
764
+ required: true,
765
+ secureTextEntry: true
766
+ },
767
+ {
768
+ helperText: "Confirm your new password",
769
+ keyboardType: "default",
770
+ name: "confirmPassword",
771
+ placeholder: "Confirm Password",
772
+ required: true,
773
+ secureTextEntry: true
774
+ }
775
+ ];
776
+ var validateVerificationTokenFields = [
777
+ {
778
+ ...emailField,
779
+ disabled: true,
780
+ helperText: "Your email address"
781
+ },
782
+ {
783
+ helperText: "Enter the Verification code sent to you by email",
784
+ keyboardType: "number-pad",
785
+ name: "verificationToken",
786
+ placeholder: "Verification code",
787
+ required: true
788
+ }
789
+ ];
790
+
791
+ // src/formFields/user.ts
792
+ var profileFields = [
793
+ {
794
+ ...emailField,
795
+ disabled: true,
796
+ helperText: "Email cannot be changed"
797
+ },
798
+ {
799
+ helperText: "Enter first name",
800
+ keyboardType: "default",
801
+ name: "firstName",
802
+ placeholder: "First Name"
803
+ },
804
+ {
805
+ helperText: "Enter last name",
806
+ keyboardType: "default",
807
+ name: "lastName",
808
+ placeholder: "Last Name"
809
+ },
810
+ {
811
+ helperText: "Enter your new password",
812
+ keyboardType: "default",
813
+ name: "password",
814
+ placeholder: "Password",
815
+ secureTextEntry: true
816
+ },
817
+ {
818
+ helperText: "Confirm your new password",
819
+ keyboardType: "default",
820
+ name: "confirmPassword",
821
+ placeholder: "Confirm Password",
822
+ secureTextEntry: true
823
+ }
824
+ ];
825
+
826
+ // src/formFields/socialMedia.ts
827
+ var socialMedia = [
828
+ {
829
+ key: "facebook",
830
+ name: "Facebook",
831
+ placeholder: "https://www.facebook.com/your-page"
832
+ },
833
+ {
834
+ key: "instagram",
835
+ name: "Instagram",
836
+ placeholder: "https://www.instagram.com/your-profile"
837
+ },
838
+ {
839
+ key: "tiktok",
840
+ name: "TikTok",
841
+ placeholder: "https://www.tiktok.com/@your-profile"
842
+ },
843
+ {
844
+ key: "twitter",
845
+ name: "Twitter",
846
+ placeholder: "https://twitter.com/your-profile"
847
+ },
848
+ {
849
+ key: "website",
850
+ name: "Website",
851
+ placeholder: "https://www.yourwebsite.com"
852
+ },
853
+ {
854
+ key: "youtube",
855
+ name: "YouTube",
856
+ placeholder: "https://www.youtube.com/channel/your-channel"
857
+ }
858
+ ];
859
+ var socialMediaFields = socialMedia.map((link) => ({
860
+ helperText: link.name,
861
+ keyboardType: "url",
862
+ name: link.key,
863
+ placeholder: link.placeholder
864
+ }));
865
+
866
+ // src/formFields/contactUs.ts
867
+ var contactUsFields = [
868
+ {
869
+ helperText: "Enter first name *",
870
+ keyboardType: "default",
871
+ name: "firstName",
872
+ placeholder: "First Name"
873
+ },
874
+ {
875
+ helperText: "Enter last name *",
876
+ keyboardType: "default",
877
+ name: "lastName",
878
+ placeholder: "Last Name"
879
+ },
880
+ {
881
+ ...emailField,
882
+ helperText: "Enter email address *"
883
+ },
884
+ {
885
+ helperText: "Enter your message *",
886
+ isTextArea: true,
887
+ keyboardType: "default",
888
+ name: "message",
889
+ placeholder: "Message"
890
+ }
891
+ ];
892
+
893
+ // src/formFields/partner.ts
894
+ var partnerBasicInfoFields = [
895
+ {
896
+ helperText: "Business Name *",
897
+ name: "name",
898
+ placeholder: "Business Name"
899
+ },
900
+ {
901
+ helperText: "NZBN number (required \u2013 ClueMart only accepts partners with valid NZBN number) *",
902
+ keyboardType: "number-pad",
903
+ name: "nzbn",
904
+ placeholder: "NZBN number"
905
+ },
906
+ {
907
+ helperText: "Description *",
908
+ isTextArea: true,
909
+ name: "description",
910
+ placeholder: "Description"
911
+ }
912
+ ];
913
+
914
+ export {
915
+ vendorBasicInfoFields,
916
+ vendorFullAddress,
917
+ vendorStartDateFields,
918
+ vendorEndDateFields,
919
+ vendorAvailability,
920
+ vendorLocationDescription,
921
+ vendorMenuFields,
922
+ productLabelGroups,
923
+ priceUnits,
924
+ vendorElectricity,
925
+ vendorGazebo,
926
+ vendorTable,
927
+ vendorPriceRange,
928
+ vendorStallSize,
929
+ vendorPackaging,
930
+ vendorProducedIn,
931
+ vendorFoodFlavour,
932
+ vendorCompliance,
933
+ packagingOptions,
934
+ producedIngOptions,
935
+ foodFlavourOptions,
936
+ eventBasicInfoFields,
937
+ eventStartDateFields,
938
+ eventEndDateFields,
939
+ availableTagTypes,
940
+ tagOptions,
941
+ eventInfo,
942
+ eventInfoPaymentInfo,
943
+ requirementsOptions,
944
+ stallTypeOptions,
945
+ refundPolicyOptions,
946
+ emailField,
947
+ companyContactFields,
948
+ loginFields,
949
+ registerFields,
950
+ requestPasswordResetFields,
951
+ resetPasswordFields,
952
+ validateVerificationTokenFields,
953
+ profileFields,
954
+ socialMediaFields,
955
+ contactUsFields,
956
+ partnerBasicInfoFields
957
+ };
958
+ //# sourceMappingURL=chunk-ZZJSCYJK.mjs.map