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