@timardex/cluemart-shared 1.4.39 → 1.4.40
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/{auth-DUBji9Ck.d.mts → auth-C4rFM8ym.d.mts} +1 -1
- package/dist/{auth-DlfrrfXs.d.ts → auth-Z7ZalBiX.d.ts} +1 -1
- package/dist/{chunk-PZUKAO6K.mjs → chunk-UCRSD3WR.mjs} +4 -3
- package/dist/chunk-UCRSD3WR.mjs.map +1 -0
- package/dist/{chunk-M35ZHJPQ.mjs → chunk-V54HUJIO.mjs} +16 -13
- package/dist/chunk-V54HUJIO.mjs.map +1 -0
- package/dist/formFields/index.cjs +16 -14
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +3 -4
- package/dist/formFields/index.d.ts +3 -4
- package/dist/formFields/index.mjs +3 -5
- package/dist/{global-DgdaY28O.d.mts → global-BO4rXK3C.d.mts} +7 -5
- package/dist/{global-B07TrIzO.d.ts → global-MrQGqCLu.d.ts} +7 -5
- package/dist/graphql/index.cjs +3 -2
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +3 -3
- package/dist/graphql/index.d.ts +3 -3
- package/dist/graphql/index.mjs +1 -1
- package/dist/hooks/index.cjs +11 -16
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.mts +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.mjs +10 -16
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +27 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -7
- package/dist/index.d.ts +8 -7
- package/dist/index.mjs +26 -28
- package/dist/index.mjs.map +1 -1
- package/dist/{post-75KGk2Nr.d.mts → post-B0L3Oaoy.d.mts} +1 -1
- package/dist/{post-Bt32gXMn.d.ts → post-D4h3XD7G.d.ts} +1 -1
- package/dist/{resourceActivities-PNcgmHGK.d.ts → resourceActivities-UOLb6lJs.d.ts} +1 -1
- package/dist/{resourceActivities-B2Yp2GKt.d.mts → resourceActivities-YoinRpTT.d.mts} +1 -1
- package/dist/types/index.d.mts +5 -5
- package/dist/types/index.d.ts +5 -5
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-M35ZHJPQ.mjs.map +0 -1
- package/dist/chunk-PZUKAO6K.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BO4rXK3C.mjs';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.mjs';
|
|
4
4
|
|
|
@@ -59,8 +59,7 @@ declare const eventInfo: FormField[];
|
|
|
59
59
|
declare const eventInfoPaymentInfo: FormField[];
|
|
60
60
|
declare const requirementsOptions: Requirement[];
|
|
61
61
|
declare const stallTypeOptions: StallType[];
|
|
62
|
-
declare const
|
|
63
|
-
declare const eventCancellationOptions: OptionItem[];
|
|
62
|
+
declare const refundPolicyOptions: RefundPolicy[];
|
|
64
63
|
|
|
65
64
|
declare const loginFields: FormField[];
|
|
66
65
|
declare const registerFields: FormField[];
|
|
@@ -84,4 +83,4 @@ declare const companyContactFields: FormField[];
|
|
|
84
83
|
|
|
85
84
|
declare const partnerBasicInfoFields: FormField[];
|
|
86
85
|
|
|
87
|
-
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields,
|
|
86
|
+
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, testersFields, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-
|
|
1
|
+
import { F as FormField, a as FormDateField, O as OptionItem, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-MrQGqCLu.js';
|
|
2
2
|
import 'react-hook-form';
|
|
3
3
|
import '../enums/index.js';
|
|
4
4
|
|
|
@@ -59,8 +59,7 @@ declare const eventInfo: FormField[];
|
|
|
59
59
|
declare const eventInfoPaymentInfo: FormField[];
|
|
60
60
|
declare const requirementsOptions: Requirement[];
|
|
61
61
|
declare const stallTypeOptions: StallType[];
|
|
62
|
-
declare const
|
|
63
|
-
declare const eventCancellationOptions: OptionItem[];
|
|
62
|
+
declare const refundPolicyOptions: RefundPolicy[];
|
|
64
63
|
|
|
65
64
|
declare const loginFields: FormField[];
|
|
66
65
|
declare const registerFields: FormField[];
|
|
@@ -84,4 +83,4 @@ declare const companyContactFields: FormField[];
|
|
|
84
83
|
|
|
85
84
|
declare const partnerBasicInfoFields: FormField[];
|
|
86
85
|
|
|
87
|
-
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields,
|
|
86
|
+
export { availableCategories, availableTagTypes, categoryColors, companyContactFields, contactUsFields, emailField, eventBasicInfoFields, eventEndDateFields, eventInfo, eventInfoPaymentInfo, eventStartDateFields, foodFlavourOptions, loginFields, packagingOptions, partnerBasicInfoFields, producedIngOptions, productLabelGroups, profileFields, refundPolicyOptions, registerFields, requestPasswordResetFields, requirementsOptions, resetPasswordFields, socialMediaFields, stallTypeOptions, tagOptions, testersFields, validateVerificationTokenFields, vendorAvailability, vendorBasicInfoFields, vendorCompliance, vendorElectricity, vendorEndDateFields, vendorFoodFlavour, vendorFullAddress, vendorGazebo, vendorLocationDescription, vendorMenuFields, vendorMultiLocation, vendorPackaging, vendorPriceRange, vendorProducedIn, vendorStallSize, vendorStartDateFields, vendorTable };
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
contactUsFields,
|
|
7
7
|
emailField,
|
|
8
8
|
eventBasicInfoFields,
|
|
9
|
-
eventCancellationOptions,
|
|
10
9
|
eventEndDateFields,
|
|
11
10
|
eventInfo,
|
|
12
11
|
eventInfoPaymentInfo,
|
|
@@ -18,13 +17,13 @@ import {
|
|
|
18
17
|
producedIngOptions,
|
|
19
18
|
productLabelGroups,
|
|
20
19
|
profileFields,
|
|
20
|
+
refundPolicyOptions,
|
|
21
21
|
registerFields,
|
|
22
22
|
requestPasswordResetFields,
|
|
23
23
|
requirementsOptions,
|
|
24
24
|
resetPasswordFields,
|
|
25
25
|
socialMediaFields,
|
|
26
26
|
stallTypeOptions,
|
|
27
|
-
stallholderCancellationOptions,
|
|
28
27
|
tagOptions,
|
|
29
28
|
testersFields,
|
|
30
29
|
validateVerificationTokenFields,
|
|
@@ -45,7 +44,7 @@ import {
|
|
|
45
44
|
vendorStallSize,
|
|
46
45
|
vendorStartDateFields,
|
|
47
46
|
vendorTable
|
|
48
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-V54HUJIO.mjs";
|
|
49
48
|
import "../chunk-Z4W6CSYI.mjs";
|
|
50
49
|
import "../chunk-Z6FJKHRH.mjs";
|
|
51
50
|
export {
|
|
@@ -56,7 +55,6 @@ export {
|
|
|
56
55
|
contactUsFields,
|
|
57
56
|
emailField,
|
|
58
57
|
eventBasicInfoFields,
|
|
59
|
-
eventCancellationOptions,
|
|
60
58
|
eventEndDateFields,
|
|
61
59
|
eventInfo,
|
|
62
60
|
eventInfoPaymentInfo,
|
|
@@ -68,13 +66,13 @@ export {
|
|
|
68
66
|
producedIngOptions,
|
|
69
67
|
productLabelGroups,
|
|
70
68
|
profileFields,
|
|
69
|
+
refundPolicyOptions,
|
|
71
70
|
registerFields,
|
|
72
71
|
requestPasswordResetFields,
|
|
73
72
|
requirementsOptions,
|
|
74
73
|
resetPasswordFields,
|
|
75
74
|
socialMediaFields,
|
|
76
75
|
stallTypeOptions,
|
|
77
|
-
stallholderCancellationOptions,
|
|
78
76
|
tagOptions,
|
|
79
77
|
testersFields,
|
|
80
78
|
validateVerificationTokenFields,
|
|
@@ -50,6 +50,11 @@ type Requirement = {
|
|
|
50
50
|
label: string;
|
|
51
51
|
value: boolean;
|
|
52
52
|
};
|
|
53
|
+
type RefundPolicy = {
|
|
54
|
+
category: "Cancelled by Organiser" | "Cancelled by Vendor";
|
|
55
|
+
label: string;
|
|
56
|
+
value: boolean;
|
|
57
|
+
};
|
|
53
58
|
interface EventInfoFormData {
|
|
54
59
|
_id?: string;
|
|
55
60
|
applicationDeadlineHours: number;
|
|
@@ -58,10 +63,7 @@ interface EventInfoFormData {
|
|
|
58
63
|
packInTime: number;
|
|
59
64
|
paymentDueHours: number;
|
|
60
65
|
paymentInfo: PaymentInfoType[];
|
|
61
|
-
refundPolicy:
|
|
62
|
-
cancelledByOrganiser: string[];
|
|
63
|
-
cancelledByVendor: string[];
|
|
64
|
-
};
|
|
66
|
+
refundPolicy: RefundPolicy[];
|
|
65
67
|
requirements?: Requirement[];
|
|
66
68
|
}
|
|
67
69
|
interface EventFormData extends BaseResourceTypeFormData {
|
|
@@ -400,4 +402,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
400
402
|
watch: UseFormWatch<T>;
|
|
401
403
|
}
|
|
402
404
|
|
|
403
|
-
export type {
|
|
405
|
+
export type { VendorLocation as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, OwnerType as H, ImageObjectType as I, PosterUsageType as J, Region as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceContactDetailsType as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorMenuType as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, ResourceImageType as r, RelationDate as s, BaseResourceType as t, CreateFormData as u, CreateUnregisteredVendorFormData as v, DateTimeWithPriceType as w, DeviceInfo as x, EventStatusType as y, LocationGeoType as z };
|
|
@@ -50,6 +50,11 @@ type Requirement = {
|
|
|
50
50
|
label: string;
|
|
51
51
|
value: boolean;
|
|
52
52
|
};
|
|
53
|
+
type RefundPolicy = {
|
|
54
|
+
category: "Cancelled by Organiser" | "Cancelled by Vendor";
|
|
55
|
+
label: string;
|
|
56
|
+
value: boolean;
|
|
57
|
+
};
|
|
53
58
|
interface EventInfoFormData {
|
|
54
59
|
_id?: string;
|
|
55
60
|
applicationDeadlineHours: number;
|
|
@@ -58,10 +63,7 @@ interface EventInfoFormData {
|
|
|
58
63
|
packInTime: number;
|
|
59
64
|
paymentDueHours: number;
|
|
60
65
|
paymentInfo: PaymentInfoType[];
|
|
61
|
-
refundPolicy:
|
|
62
|
-
cancelledByOrganiser: string[];
|
|
63
|
-
cancelledByVendor: string[];
|
|
64
|
-
};
|
|
66
|
+
refundPolicy: RefundPolicy[];
|
|
65
67
|
requirements?: Requirement[];
|
|
66
68
|
}
|
|
67
69
|
interface EventFormData extends BaseResourceTypeFormData {
|
|
@@ -400,4 +402,4 @@ interface CreateFormData<T extends FieldValues> {
|
|
|
400
402
|
watch: UseFormWatch<T>;
|
|
401
403
|
}
|
|
402
404
|
|
|
403
|
-
export type {
|
|
405
|
+
export type { VendorLocation as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, OwnerType as H, ImageObjectType as I, PosterUsageType as J, Region as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PaymentInfoType as P, ResourceContactDetailsType as Q, RefundPolicy as R, StallType as S, SocialMediaType as T, UnregisteredVendorType as U, VendorType as V, Subcategory as W, SubcategoryItems as X, TermsAgreement as Y, UnregisteredVendorInvitationType as Z, VendorAttributes as _, FormDateField as a, VendorMenuType as a0, Requirement as b, EventListItemType as c, EventInfoType as d, RelationType as e, ResourceConnectionsType as f, VendorInfoType as g, UserLicenceType as h, VendorFormData as i, CreateVendorFormData as j, VendorInfoFormData as k, CreateVendorInfoFormData as l, EventFormData as m, CreateEventFormData as n, EventInfoFormData as o, CreateEventInfoFormData as p, UnregisteredVendorFormData as q, ResourceImageType as r, RelationDate as s, BaseResourceType as t, CreateFormData as u, CreateUnregisteredVendorFormData as v, DateTimeWithPriceType as w, DeviceInfo as x, EventStatusType as y, LocationGeoType as z };
|