@timardex/cluemart-shared 1.5.799 → 1.5.800
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-KSFDYCSS.mjs → chunk-VGOXRE34.mjs} +44 -40
- package/dist/chunk-VGOXRE34.mjs.map +1 -0
- package/dist/formFields/index.cjs +42 -37
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -1
- package/dist/formFields/index.d.ts +2 -1
- package/dist/formFields/index.mjs +3 -1
- package/dist/hooks/index.cjs +47 -25
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.cjs +42 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +41 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-KSFDYCSS.mjs.map +0 -1
|
@@ -78,7 +78,8 @@ declare const contactUsFields: FormField[];
|
|
|
78
78
|
|
|
79
79
|
declare const emailField: FormField;
|
|
80
80
|
declare const companyContactFields: FormField[];
|
|
81
|
+
declare const bankAccountDetailsFields: FormField[];
|
|
81
82
|
|
|
82
83
|
declare const partnerBasicInfoFields: FormField[];
|
|
83
84
|
|
|
84
|
-
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
85
|
+
export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
@@ -78,7 +78,8 @@ declare const contactUsFields: FormField[];
|
|
|
78
78
|
|
|
79
79
|
declare const emailField: FormField;
|
|
80
80
|
declare const companyContactFields: FormField[];
|
|
81
|
+
declare const bankAccountDetailsFields: FormField[];
|
|
81
82
|
|
|
82
83
|
declare const partnerBasicInfoFields: FormField[];
|
|
83
84
|
|
|
84
|
-
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
85
|
+
export { availableCategories, availableTagTypes, bankAccountDetailsFields, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, priceUnits, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
availableTagTypes,
|
|
3
|
+
bankAccountDetailsFields,
|
|
3
4
|
companyContactFields,
|
|
4
5
|
contactUsFields,
|
|
5
6
|
emailField,
|
|
@@ -41,7 +42,7 @@ import {
|
|
|
41
42
|
vendorStallSize,
|
|
42
43
|
vendorStartDateFields,
|
|
43
44
|
vendorTable
|
|
44
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-VGOXRE34.mjs";
|
|
45
46
|
import {
|
|
46
47
|
availableCategories,
|
|
47
48
|
categoryColors
|
|
@@ -52,6 +53,7 @@ import "../chunk-LETM2YHF.mjs";
|
|
|
52
53
|
export {
|
|
53
54
|
availableCategories,
|
|
54
55
|
availableTagTypes,
|
|
56
|
+
bankAccountDetailsFields,
|
|
55
57
|
categoryColors,
|
|
56
58
|
companyContactFields,
|
|
57
59
|
contactUsFields,
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -2175,31 +2175,6 @@ var tagOptions = availableTagTypes.map((tag) => ({
|
|
|
2175
2175
|
value: tag.label
|
|
2176
2176
|
}));
|
|
2177
2177
|
|
|
2178
|
-
// src/formFields/event/eventInfo.ts
|
|
2179
|
-
var stallTypes = [
|
|
2180
|
-
"1.8m table only",
|
|
2181
|
-
"2x2m mini stall",
|
|
2182
|
-
"3x3m tent site",
|
|
2183
|
-
"Corner stall",
|
|
2184
|
-
"Craft stall with power",
|
|
2185
|
-
"Craft stall without power",
|
|
2186
|
-
"Double stall (6x3m)",
|
|
2187
|
-
"Food truck site",
|
|
2188
|
-
"Food vendor with power",
|
|
2189
|
-
"Food vendor without power",
|
|
2190
|
-
"Inside hall stall",
|
|
2191
|
-
"Non-profit/community stall",
|
|
2192
|
-
"Outdoor open area",
|
|
2193
|
-
"Shared table space",
|
|
2194
|
-
"Wall-based vendor",
|
|
2195
|
-
"Workshop/seating area"
|
|
2196
|
-
];
|
|
2197
|
-
var stallTypeOptions = stallTypes.map((type) => ({
|
|
2198
|
-
label: type,
|
|
2199
|
-
price: 0,
|
|
2200
|
-
stallCapacity: 0
|
|
2201
|
-
}));
|
|
2202
|
-
|
|
2203
2178
|
// src/formFields/global.ts
|
|
2204
2179
|
var emailField = {
|
|
2205
2180
|
helperText: "Enter email address",
|
|
@@ -2225,6 +2200,53 @@ var companyContactFields = [
|
|
|
2225
2200
|
placeholder: "Landline Phone Number"
|
|
2226
2201
|
}
|
|
2227
2202
|
];
|
|
2203
|
+
var bankAccountDetailsFields = [
|
|
2204
|
+
{
|
|
2205
|
+
helperText: "Account holder name *",
|
|
2206
|
+
name: "accountHolderName",
|
|
2207
|
+
placeholder: "Account holder name"
|
|
2208
|
+
},
|
|
2209
|
+
{
|
|
2210
|
+
helperText: "Account number *",
|
|
2211
|
+
keyboardType: "number-pad",
|
|
2212
|
+
name: "accountNumber",
|
|
2213
|
+
placeholder: "Account number"
|
|
2214
|
+
}
|
|
2215
|
+
];
|
|
2216
|
+
|
|
2217
|
+
// src/formFields/event/eventInfo.ts
|
|
2218
|
+
var eventInfoPaymentInfo = [
|
|
2219
|
+
...bankAccountDetailsFields,
|
|
2220
|
+
{
|
|
2221
|
+
helperText: "Payment link, where applicants can pay *",
|
|
2222
|
+
keyboardType: "url",
|
|
2223
|
+
name: "link",
|
|
2224
|
+
placeholder: "Payment link"
|
|
2225
|
+
}
|
|
2226
|
+
];
|
|
2227
|
+
var stallTypes = [
|
|
2228
|
+
"1.8m table only",
|
|
2229
|
+
"2x2m mini stall",
|
|
2230
|
+
"3x3m tent site",
|
|
2231
|
+
"Corner stall",
|
|
2232
|
+
"Craft stall with power",
|
|
2233
|
+
"Craft stall without power",
|
|
2234
|
+
"Double stall (6x3m)",
|
|
2235
|
+
"Food truck site",
|
|
2236
|
+
"Food vendor with power",
|
|
2237
|
+
"Food vendor without power",
|
|
2238
|
+
"Inside hall stall",
|
|
2239
|
+
"Non-profit/community stall",
|
|
2240
|
+
"Outdoor open area",
|
|
2241
|
+
"Shared table space",
|
|
2242
|
+
"Wall-based vendor",
|
|
2243
|
+
"Workshop/seating area"
|
|
2244
|
+
];
|
|
2245
|
+
var stallTypeOptions = stallTypes.map((type) => ({
|
|
2246
|
+
label: type,
|
|
2247
|
+
price: 0,
|
|
2248
|
+
stallCapacity: 0
|
|
2249
|
+
}));
|
|
2228
2250
|
|
|
2229
2251
|
// src/formFields/auth.ts
|
|
2230
2252
|
var loginFields = [
|