@timardex/cluemart-shared 1.4.27 → 1.4.29

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.
@@ -1,4 +1,4 @@
1
- import { K as CreateFormData, T as TermsAgreement } from './global-D5dNxa5e.mjs';
1
+ import { t as CreateFormData, X as TermsAgreement } from './global-B7C4U8NQ.mjs';
2
2
  import { EnumOSPlatform } from './enums/index.mjs';
3
3
 
4
4
  type ContactUsFormData = {
@@ -1,4 +1,4 @@
1
- import { K as CreateFormData, T as TermsAgreement } from './global-x5DE08tD.js';
1
+ import { t as CreateFormData, X as TermsAgreement } from './global-Bw14UMJB.js';
2
2
  import { EnumOSPlatform } from './enums/index.js';
3
3
 
4
4
  type ContactUsFormData = {
@@ -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-D5dNxa5e.mjs';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-B7C4U8NQ.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -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-x5DE08tD.js';
1
+ import { F as FormField, a as FormDateField, O as OptionItem, R as Requirement, S as StallType, C as Category } from '../global-Bw14UMJB.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.mjs';
2
+ import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumSocialMedia, EnumUserLicence } from './enums/index.mjs';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -395,4 +395,4 @@ interface CreateFormData<T extends FieldValues> {
395
395
  watch: UseFormWatch<T>;
396
396
  }
397
397
 
398
- export type { CreateUnregisteredVendorFormData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, SubcategoryItems as H, Subcategory as I, ImageObjectType as J, CreateFormData as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, DateTimeWithPriceType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, PaymentInfoType as W, VendorLocation as X, VendorMenuType as Y, VendorAttributes as Z, UnregisteredVendorInvitationType as _, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, LocationGeoType as x, Region as y, EventStatusType as z };
398
+ export type { VendorMenuType as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, PosterUsageType as H, ImageObjectType as I, Region as J, ResourceContactDetailsType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PaymentInfoType as P, SocialMediaType as Q, Requirement as R, StallType as S, Subcategory as T, UnregisteredVendorType as U, VendorType as V, SubcategoryItems as W, TermsAgreement as X, UnregisteredVendorInvitationType as Y, VendorAttributes as Z, VendorLocation as _, FormDateField as a, EventListItemType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, BaseResourceType as s, CreateFormData as t, CreateUnregisteredVendorFormData as u, DateTimeWithPriceType as v, DeviceInfo as w, EventStatusType as x, LocationGeoType as y, OwnerType as z };
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, Control, FormState, UseFormHandleSubmit, UseFormReset, UseFormSetValue, UseFormWatch } from 'react-hook-form';
2
- import { EnumInviteStatus, EnumResourceType, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumUserLicence, EnumSocialMedia } from './enums/index.js';
2
+ import { EnumResourceType, EnumInviteStatus, EnumRelationResource, EnumEventType, EnumPaymentMethod, EnumVendorType, EnumFoodFlavor, EnumEventDateStatus, EnumSocialMedia, EnumUserLicence } from './enums/index.js';
3
3
 
4
4
  type RelationDate = {
5
5
  dateTime: DateTimeType & {
@@ -395,4 +395,4 @@ interface CreateFormData<T extends FieldValues> {
395
395
  watch: UseFormWatch<T>;
396
396
  }
397
397
 
398
- export type { CreateUnregisteredVendorFormData as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventListItemType as E, FormField as F, GeocodeLocation as G, SubcategoryItems as H, Subcategory as I, ImageObjectType as J, CreateFormData as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PosterUsageType as P, DateTimeWithPriceType as Q, Requirement as R, StallType as S, TermsAgreement as T, UnregisteredVendorType as U, VendorType as V, PaymentInfoType as W, VendorLocation as X, VendorMenuType as Y, VendorAttributes as Z, UnregisteredVendorInvitationType as _, FormDateField as a, EventType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, DeviceInfo as s, ResourceContactDetailsType as t, SocialMediaType as u, OwnerType as v, BaseResourceType as w, LocationGeoType as x, Region as y, EventStatusType as z };
398
+ export type { VendorMenuType as $, AssociateType as A, BaseResourceTypeFormData as B, Category as C, DateTimeType as D, EventType as E, FormField as F, GeocodeLocation as G, PosterUsageType as H, ImageObjectType as I, Region as J, ResourceContactDetailsType as K, LocationType as L, MapMultiLocation as M, Nullable as N, OptionItem as O, PaymentInfoType as P, SocialMediaType as Q, Requirement as R, StallType as S, Subcategory as T, UnregisteredVendorType as U, VendorType as V, SubcategoryItems as W, TermsAgreement as X, UnregisteredVendorInvitationType as Y, VendorAttributes as Z, VendorLocation as _, FormDateField as a, EventListItemType as b, EventInfoType as c, RelationType as d, ResourceConnectionsType as e, VendorInfoType as f, UserLicenceType as g, VendorFormData as h, CreateVendorFormData as i, VendorInfoFormData as j, CreateVendorInfoFormData as k, EventFormData as l, CreateEventFormData as m, EventInfoFormData as n, CreateEventInfoFormData as o, UnregisteredVendorFormData as p, ResourceImageType as q, RelationDate as r, BaseResourceType as s, CreateFormData as t, CreateUnregisteredVendorFormData as u, DateTimeWithPriceType as v, DeviceInfo as w, EventStatusType as x, LocationGeoType as y, OwnerType as z };
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.mjs';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-B2B9oP6v.mjs';
4
- import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-D5dNxa5e.mjs';
5
- import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, a as SubscriptionPlansResponse, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-BnXA5t_U.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-D54v3BiW.mjs';
4
+ import { E as EventType, b as EventListItemType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, f as VendorInfoType, g as UserLicenceType } from '../global-B7C4U8NQ.mjs';
5
+ import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-DdzJejE9.mjs';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -1,8 +1,8 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { EnumResourceType } from '../enums/index.js';
3
- import { C as ChatType, R as ReportChatUser, N as NotificationType, a as NotificationCount, b as ResourceActivityType } from '../resourceActivities-23xD5-eJ.js';
4
- import { E as EventListItemType, b as EventType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, V as VendorType, f as VendorInfoType, U as UnregisteredVendorType, g as UserLicenceType } from '../global-x5DE08tD.js';
5
- import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionStatusData, a as SubscriptionPlansResponse, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-DDDWdbHZ.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-BoV71JcL.js';
4
+ import { E as EventType, b as EventListItemType, c as EventInfoType, d as RelationType, e as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, f as VendorInfoType, g as UserLicenceType } from '../global-Bw14UMJB.js';
5
+ import { T as TesterType, U as UserType, P as PartnerType, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-D9td0KeC.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -620,11 +620,6 @@ var eventInfoSchema = yup2.object().shape({
620
620
  }
621
621
  ),
622
622
  paymentInfo: yup2.array().of(paymentInfoSchema).min(1, "At least one payment method is required").required("Payment info is required")
623
- /* refundPolicy: yup
624
- .array()
625
- .of(yup.string().trim().required("Refund policy item cannot be empty"))
626
- .min(1, "At least one refund policy item is required")
627
- .required("Refund policy is required"), */
628
623
  });
629
624
 
630
625
  // src/yupSchema/vendor.ts
@@ -1092,7 +1087,6 @@ var defaultEventInfoFormValues = {
1092
1087
  // e.g., 2 hours before event opens
1093
1088
  paymentDueHours: 12,
1094
1089
  paymentInfo: [],
1095
- //refundPolicy: [],
1096
1090
  requirements: []
1097
1091
  };
1098
1092
  var defaultVendorFormValues = {
@@ -1441,7 +1435,6 @@ function useEventInfoForm(data) {
1441
1435
  packInTime: data.packInTime,
1442
1436
  paymentDueHours: data.paymentDueHours,
1443
1437
  paymentInfo: data.paymentInfo,
1444
- //refundPolicy: data.refundPolicy,
1445
1438
  requirements: data.requirements
1446
1439
  });
1447
1440
  } else {
@@ -1456,7 +1449,6 @@ function useEventInfoForm(data) {
1456
1449
  packInTime,
1457
1450
  paymentDueHours,
1458
1451
  paymentInfo,
1459
- //refundPolicy,
1460
1452
  requirements
1461
1453
  } = getValues();
1462
1454
  return {
@@ -1469,7 +1461,6 @@ function useEventInfoForm(data) {
1469
1461
  packInTime,
1470
1462
  paymentDueHours,
1471
1463
  paymentInfo,
1472
- //refundPolicy,
1473
1464
  requirements
1474
1465
  },
1475
1466
  formState,