@timardex/cluemart-shared 1.0.49 → 1.0.50
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/formFields/index.cjs +22 -27
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +2 -3
- package/dist/formFields/index.d.ts +2 -3
- package/dist/formFields/index.mjs +22 -26
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-P3txiiqU.d.ts → global-BUKNOhE_.d.ts} +4 -5
- package/dist/{global-CeMwwHfy.d.mts → global-PEJ9GGhs.d.mts} +4 -5
- package/dist/graphql/index.cjs +1 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +1 -1
- package/dist/graphql/index.d.ts +1 -1
- package/dist/graphql/index.mjs +1 -2
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +6 -19
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.mjs +6 -19
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +29 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -7
- package/dist/index.d.ts +5 -7
- package/dist/index.mjs +29 -47
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -219,13 +219,12 @@ interface RelationType {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
type SiteType = {
|
|
222
|
-
label
|
|
223
|
-
price
|
|
222
|
+
label: string;
|
|
223
|
+
price: number;
|
|
224
|
+
stallCapacity: number;
|
|
224
225
|
};
|
|
225
226
|
interface DateTimeWithPriceType extends DateTimeType {
|
|
226
|
-
|
|
227
|
-
siteTypes?: SiteType[] | null;
|
|
228
|
-
stallCapacity: number;
|
|
227
|
+
siteTypes: SiteType[];
|
|
229
228
|
}
|
|
230
229
|
type PaymentTargetType = {
|
|
231
230
|
accountHolderName?: string;
|
|
@@ -1130,7 +1129,6 @@ declare const tagOptions: OptionItem[];
|
|
|
1130
1129
|
|
|
1131
1130
|
declare const marketInfo: FormField[];
|
|
1132
1131
|
declare const marketInfoPaymentTarget: FormField[];
|
|
1133
|
-
declare const marketPriceByDateFields: FormField[];
|
|
1134
1132
|
declare const requirementsOptions: Requirement[];
|
|
1135
1133
|
declare const siteTypeOptions: SiteType[];
|
|
1136
1134
|
|
|
@@ -1157,4 +1155,4 @@ declare const SAVED_TOKEN_KEY = "savedToken";
|
|
|
1157
1155
|
declare const SAVED_REFRESH_TOKEN_KEY = "savedRefreshToken";
|
|
1158
1156
|
declare const USER_STORAGE_KEY = "authUser";
|
|
1159
1157
|
|
|
1160
|
-
export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationType, type Nullable, type OptionItem, type PaymentTargetType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SiteType, type SocialMediaType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentTarget,
|
|
1158
|
+
export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationType, type Nullable, type OptionItem, type PaymentTargetType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SiteType, type SocialMediaType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentTarget, marketStartDateFields, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, siteTypeOptions, socialMediaFields, sortDatesByProximity, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useContactUs, useContactUsForm, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderApplyForm, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useDeleteTester, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderApplyForm, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLocationSearch, useLogin, useLoginForm, useLogout, useMarketForm, useMarketInfoForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderApplyForm, useStallholderForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderApplyForm, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
|
package/dist/index.d.ts
CHANGED
|
@@ -219,13 +219,12 @@ interface RelationType {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
type SiteType = {
|
|
222
|
-
label
|
|
223
|
-
price
|
|
222
|
+
label: string;
|
|
223
|
+
price: number;
|
|
224
|
+
stallCapacity: number;
|
|
224
225
|
};
|
|
225
226
|
interface DateTimeWithPriceType extends DateTimeType {
|
|
226
|
-
|
|
227
|
-
siteTypes?: SiteType[] | null;
|
|
228
|
-
stallCapacity: number;
|
|
227
|
+
siteTypes: SiteType[];
|
|
229
228
|
}
|
|
230
229
|
type PaymentTargetType = {
|
|
231
230
|
accountHolderName?: string;
|
|
@@ -1130,7 +1129,6 @@ declare const tagOptions: OptionItem[];
|
|
|
1130
1129
|
|
|
1131
1130
|
declare const marketInfo: FormField[];
|
|
1132
1131
|
declare const marketInfoPaymentTarget: FormField[];
|
|
1133
|
-
declare const marketPriceByDateFields: FormField[];
|
|
1134
1132
|
declare const requirementsOptions: Requirement[];
|
|
1135
1133
|
declare const siteTypeOptions: SiteType[];
|
|
1136
1134
|
|
|
@@ -1157,4 +1155,4 @@ declare const SAVED_TOKEN_KEY = "savedToken";
|
|
|
1157
1155
|
declare const SAVED_REFRESH_TOKEN_KEY = "savedRefreshToken";
|
|
1158
1156
|
declare const USER_STORAGE_KEY = "authUser";
|
|
1159
1157
|
|
|
1160
|
-
export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationType, type Nullable, type OptionItem, type PaymentTargetType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SiteType, type SocialMediaType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentTarget,
|
|
1158
|
+
export { type BaseResourceType, type BaseResourceTypeFormData, type Category, type ChatInput, type ChatMessageInput, type ChatMessageType, type ChatType, type ContactUsFormData, type CreateContactUsFormData, type CreateLoginFormData, type CreateMarketFormData, type CreateMarketInfoFormData, type CreateRegisterFormData, type CreateRequestPasswordResetFormData, type CreateResetPasswordFormData, type CreateStallholderApplyFormFormData, type CreateStallholderFormData, type CreateTestersFormData, type CreateUserFormData, type CreateValidateVerificationTokenFormData, type DateTimeType, type DateTimeWithPriceType, EnumInviteStatus, EnumNotification, EnumOSType, EnumPaymentMethod, EnumRegions, EnumRelationResource, EnumResourceType, EnumResourceTypeIcon, EnumSocialMedia, EnumUserLicence, EnumUserRole, type FormDateField, type FormField, type GeocodeLocation, type ImageObjectType, ImageTypeEnum, type LocationType, type LoginFormData, type MapMultiLocation, type MarketFormData, type MarketInfoFormData, type MarketInfoType, type MarketType, type MarketWithConnectionDatesType, type NotificationType, type Nullable, type OptionItem, type PaymentTargetType, type PlacePrediction, type PosterInputType, type Region, type RegisterFormData, type RelationDate, type RelationLog, type RelationType, type RequestPasswordResetFormData, type Requirement, type ResetPasswordFormData, type ResourceConnectionsType, type ResourceImageType, SAVED_EMAIL_KEY, SAVED_PASSWORD_KEY, SAVED_REFRESH_TOKEN_KEY, SAVED_TOKEN_KEY, type SatllholderWithConnectionDatesType, type SiteType, type SocialMediaType, type StallholderApplyFormFormData, type StallholderApplyFormType, type StallholderAttributes, type StallholderFormData, type StallholderLocation, type StallholderType, type Subcategory, type TesterType, type TestersFormData, USER_STORAGE_KEY, type UserFormData, type UserType, type ValidateVerificationTokenFormData, availableCategories, availableCityOptions, availableRegionOptions, availableRegionTypes, availableTagTypes, capitalizeFirstLetter, categoryColors, contactUsFields, dateFormat, defaultMarketFormValues, defaultMarketInfoFormValues, defaultRegion, defaultStallholderApplyFormValues, defaultStallholderFormValues, formatDate, formatTimestamp, getCurrentAndFutureDates, getFutureDatesAfterThreshold, globalDefaultValues, loginFields, mapArrayToOptions, mapBaseResourceTypeToFormData, marketBasicInfoFields, marketEndDateFields, marketInfo, marketInfoPaymentTarget, marketStartDateFields, normalizeUrl, packagingOptions, paymentMethodOptions, producedIngOptions, profileFields, registerFields, removeTypename, requestPasswordResetFields, requirementsOptions, resetPasswordFields, siteTypeOptions, socialMediaFields, sortDatesByProximity, stallholderBasicInfoFields, stallholderElectricity, stallholderEndDateFields, stallholderFullAddress, stallholderGazebo, stallholderLocationDescription, stallholderMultiLocation, stallholderPackaging, stallholderPaymentMethod, stallholderPriceRange, stallholderProducedIn, stallholderStallSize, stallholderStartDateFields, stallholderTable, statusOptions, tagOptions, testersFields, timeFormat, truncateText, useAddParticipantToChat, useAddUserFavouriteResource, useContactUs, useContactUsForm, useCreateChat, useCreateMarket, useCreateMarketInfo, useCreatePoster, useCreateRelation, useCreateStallholder, useCreateStallholderApplyForm, useCreateTester, useCreateUser, useDeleteChat, useDeleteMarket, useDeleteRelation, useDeleteStallholder, useDeleteTester, useGetChat, useGetChatSubscription, useGetMarket, useGetMarketInfo, useGetMarketRelations, useGetMarkets, useGetMarketsByRegion, useGetMarketsNearMe, useGetNotification, useGetRelation, useGetRelationByMarketAndStallholder, useGetResourceConnections, useGetStallholder, useGetStallholderApplyForm, useGetStallholderRelations, useGetStallholders, useGetStallholdersByRegion, useGetTester, useGetTesters, useGetUser, useGetUserChats, useGetUserFavourites, useGetUserMarkets, useGetUserNotifications, useGetUserStallholder, useGetUsers, useLocationSearch, useLogin, useLoginForm, useLogout, useMarketForm, useMarketInfoForm, useRefreshToken, useRegister, useRegisterForm, useRemoveParticipantFromChat, useRemoveUserFavouriteResource, useRequestPasswordReset, useRequestPasswordResetForm, useResetPassword, useResetPasswordForm, useSearchMarkets, useSearchStallholders, useSendChatMessage, useStallholderApplyForm, useStallholderForm, useTestersForm, useUpdateMarket, useUpdateMarketInfo, useUpdateRelation, useUpdateStallholder, useUpdateStallholderApplyForm, useUpdateTester, useUpdateUser, useUserForm, useValidateVerificationToken, useValidateVerificationTokenForm, validateVerificationTokenFields };
|
package/dist/index.mjs
CHANGED
|
@@ -371,26 +371,17 @@ var dateTimeSchema = yup.object().shape({
|
|
|
371
371
|
startTime: yup.string().label("Start Time").concat(startTimeCannotBeInPastTest).required("Start time is required")
|
|
372
372
|
});
|
|
373
373
|
var siteTypesSchema = yup.object({
|
|
374
|
-
label: yup.string().trim().label("Site Label").
|
|
375
|
-
price: yup.number().
|
|
376
|
-
is: (label) => !!label,
|
|
377
|
-
then: (schema) => schema.typeError("Site price must be a number").label("Site Price").min(0.1, "Site price must be at least 0.1").required("Site price is required").test(
|
|
378
|
-
"no-leading-zeros",
|
|
379
|
-
"",
|
|
380
|
-
noLeadingZeros("Site price", { allowDecimal: true })
|
|
381
|
-
),
|
|
382
|
-
otherwise: (schema) => schema.notRequired()
|
|
383
|
-
})
|
|
384
|
-
});
|
|
385
|
-
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
386
|
-
marketPrice: yup.number().typeError("Market price must be a number").label("Market Price").min(0.1, "Market price must be at least 0.1").required("Market price is required").test(
|
|
374
|
+
label: yup.string().trim().label("Site Label").required("Site label is required"),
|
|
375
|
+
price: yup.number().label("Site Price").min(0.1, "Site price must be at least 0.1").required("Site price is required").test(
|
|
387
376
|
"no-leading-zeros",
|
|
388
377
|
"",
|
|
389
|
-
noLeadingZeros("
|
|
378
|
+
noLeadingZeros("Site price", { allowDecimal: true })
|
|
390
379
|
),
|
|
391
|
-
siteTypes: yup.array().of(siteTypesSchema).nullable().optional(),
|
|
392
380
|
stallCapacity: yup.number().typeError("Stall capacity must be a number").min(1, "Stall capacity must be at least 1").integer("Stall capacity must be a whole number").required("Stall capacity is required").test("no-leading-zeros", "", noLeadingZeros("Stall capacity"))
|
|
393
381
|
});
|
|
382
|
+
var dateTimeWithPriceSchema = dateTimeSchema.shape({
|
|
383
|
+
siteTypes: yup.array().of(siteTypesSchema).required("Site types are required")
|
|
384
|
+
});
|
|
394
385
|
var locationSchema = yup.object().shape({
|
|
395
386
|
city: yup.string().label("City").required("City is required"),
|
|
396
387
|
coordinates: yup.array().of(yup.number().required("Coordinates must be numbers")).length(
|
|
@@ -642,18 +633,14 @@ var defaultMarketInfoFormValues = {
|
|
|
642
633
|
{
|
|
643
634
|
endDate: "04-05-2025",
|
|
644
635
|
endTime: "15:00",
|
|
645
|
-
marketPrice: 0,
|
|
646
636
|
siteTypes: [],
|
|
647
|
-
stallCapacity: 0,
|
|
648
637
|
startDate: "04-05-2025",
|
|
649
638
|
startTime: "09:00"
|
|
650
639
|
},
|
|
651
640
|
{
|
|
652
641
|
endDate: "05-05-2025",
|
|
653
642
|
endTime: "15:00",
|
|
654
|
-
marketPrice: 0,
|
|
655
643
|
siteTypes: [],
|
|
656
|
-
stallCapacity: 0,
|
|
657
644
|
startDate: "05-05-2025",
|
|
658
645
|
startTime: "09:00"
|
|
659
646
|
}
|
|
@@ -1777,12 +1764,11 @@ var MARKET_INFO = gql5`
|
|
|
1777
1764
|
dateTime {
|
|
1778
1765
|
endDate
|
|
1779
1766
|
endTime
|
|
1780
|
-
marketPrice
|
|
1781
1767
|
siteTypes {
|
|
1782
1768
|
label
|
|
1783
1769
|
price
|
|
1770
|
+
stallCapacity
|
|
1784
1771
|
}
|
|
1785
|
-
stallCapacity
|
|
1786
1772
|
startDate
|
|
1787
1773
|
startTime
|
|
1788
1774
|
}
|
|
@@ -3478,20 +3464,6 @@ var marketInfoPaymentTarget = [
|
|
|
3478
3464
|
placeholder: "Link to payment target"
|
|
3479
3465
|
}
|
|
3480
3466
|
];
|
|
3481
|
-
var marketPriceByDateFields = [
|
|
3482
|
-
{
|
|
3483
|
-
helperText: "Market Price for this date *",
|
|
3484
|
-
keyboardType: "decimal-pad",
|
|
3485
|
-
name: "marketPrice",
|
|
3486
|
-
placeholder: "Market Price"
|
|
3487
|
-
},
|
|
3488
|
-
{
|
|
3489
|
-
helperText: "Stall Capacity *",
|
|
3490
|
-
keyboardType: "number-pad",
|
|
3491
|
-
name: "stallCapacity",
|
|
3492
|
-
placeholder: "Stall Capacity"
|
|
3493
|
-
}
|
|
3494
|
-
];
|
|
3495
3467
|
var requirementsOptions = [
|
|
3496
3468
|
{
|
|
3497
3469
|
category: "Environment",
|
|
@@ -3652,47 +3624,58 @@ var requirementsOptions = [
|
|
|
3652
3624
|
var siteTypeOptions = [
|
|
3653
3625
|
{
|
|
3654
3626
|
label: "3x3m tent site",
|
|
3655
|
-
price: 0
|
|
3627
|
+
price: 0,
|
|
3628
|
+
stallCapacity: 0
|
|
3656
3629
|
},
|
|
3657
3630
|
{
|
|
3658
3631
|
label: "2x2m mini stall",
|
|
3659
|
-
price: 0
|
|
3632
|
+
price: 0,
|
|
3633
|
+
stallCapacity: 0
|
|
3660
3634
|
},
|
|
3661
3635
|
{
|
|
3662
3636
|
label: "1.8m table only",
|
|
3663
|
-
price: 0
|
|
3637
|
+
price: 0,
|
|
3638
|
+
stallCapacity: 0
|
|
3664
3639
|
},
|
|
3665
3640
|
{
|
|
3666
3641
|
label: "Food truck site",
|
|
3667
|
-
price: 0
|
|
3642
|
+
price: 0,
|
|
3643
|
+
stallCapacity: 0
|
|
3668
3644
|
},
|
|
3669
3645
|
{
|
|
3670
3646
|
label: "Wall-based vendor",
|
|
3671
|
-
price: 0
|
|
3647
|
+
price: 0,
|
|
3648
|
+
stallCapacity: 0
|
|
3672
3649
|
},
|
|
3673
3650
|
{
|
|
3674
3651
|
label: "Workshop/seating area",
|
|
3675
|
-
price: 0
|
|
3652
|
+
price: 0,
|
|
3653
|
+
stallCapacity: 0
|
|
3676
3654
|
},
|
|
3677
3655
|
{
|
|
3678
3656
|
label: "Shared table space",
|
|
3679
|
-
price: 0
|
|
3657
|
+
price: 0,
|
|
3658
|
+
stallCapacity: 0
|
|
3680
3659
|
},
|
|
3681
3660
|
{
|
|
3682
3661
|
label: "Corner stall",
|
|
3683
|
-
price: 0
|
|
3662
|
+
price: 0,
|
|
3663
|
+
stallCapacity: 0
|
|
3684
3664
|
},
|
|
3685
3665
|
{
|
|
3686
3666
|
label: "Double stall (6x3m)",
|
|
3687
|
-
price: 0
|
|
3667
|
+
price: 0,
|
|
3668
|
+
stallCapacity: 0
|
|
3688
3669
|
},
|
|
3689
3670
|
{
|
|
3690
3671
|
label: "Inside hall stall",
|
|
3691
|
-
price: 0
|
|
3672
|
+
price: 0,
|
|
3673
|
+
stallCapacity: 0
|
|
3692
3674
|
},
|
|
3693
3675
|
{
|
|
3694
3676
|
label: "Outdoor open area",
|
|
3695
|
-
price: 0
|
|
3677
|
+
price: 0,
|
|
3678
|
+
stallCapacity: 0
|
|
3696
3679
|
}
|
|
3697
3680
|
];
|
|
3698
3681
|
|
|
@@ -4259,7 +4242,6 @@ export {
|
|
|
4259
4242
|
marketEndDateFields,
|
|
4260
4243
|
marketInfo,
|
|
4261
4244
|
marketInfoPaymentTarget,
|
|
4262
|
-
marketPriceByDateFields,
|
|
4263
4245
|
marketStartDateFields,
|
|
4264
4246
|
normalizeUrl,
|
|
4265
4247
|
packagingOptions,
|