@timardex/cluemart-shared 1.4.73 → 1.4.74

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 (40) hide show
  1. package/dist/{auth-CovYLFRn.d.ts → auth-DKNuFwhE.d.ts} +1 -1
  2. package/dist/{auth-Cdfen6gg.d.mts → auth-TqKVpwo1.d.mts} +1 -1
  3. package/dist/{chunk-2OEDUG7U.mjs → chunk-4LT5GOOP.mjs} +1 -5
  4. package/dist/{chunk-2OEDUG7U.mjs.map → chunk-4LT5GOOP.mjs.map} +1 -1
  5. package/dist/{chunk-7FRB62SE.mjs → chunk-W465TNSV.mjs} +1 -5
  6. package/dist/chunk-W465TNSV.mjs.map +1 -0
  7. package/dist/formFields/index.cjs +0 -4
  8. package/dist/formFields/index.cjs.map +1 -1
  9. package/dist/formFields/index.d.mts +1 -1
  10. package/dist/formFields/index.d.ts +1 -1
  11. package/dist/formFields/index.mjs +1 -1
  12. package/dist/{global-HUZHOXHh.d.ts → global-B-g-Dv61.d.ts} +0 -4
  13. package/dist/{global-D_ckWQMA.d.mts → global-DvWluf-6.d.mts} +0 -4
  14. package/dist/graphql/index.cjs +0 -4
  15. package/dist/graphql/index.cjs.map +1 -1
  16. package/dist/graphql/index.d.mts +3 -3
  17. package/dist/graphql/index.d.ts +3 -3
  18. package/dist/graphql/index.mjs +1 -1
  19. package/dist/hooks/index.cjs +1 -19
  20. package/dist/hooks/index.cjs.map +1 -1
  21. package/dist/hooks/index.d.mts +3 -3
  22. package/dist/hooks/index.d.ts +3 -3
  23. package/dist/hooks/index.mjs +3 -13
  24. package/dist/hooks/index.mjs.map +1 -1
  25. package/dist/index.cjs +1 -19
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.d.mts +0 -4
  28. package/dist/index.d.ts +0 -4
  29. package/dist/index.mjs +1 -19
  30. package/dist/index.mjs.map +1 -1
  31. package/dist/{post-aU2ITfZh.d.mts → post-5WEzHfXv.d.mts} +1 -1
  32. package/dist/{post-DIylz7DM.d.ts → post-D_KFXmTl.d.ts} +1 -1
  33. package/dist/{resourceActivities-dxnqHVVc.d.mts → resourceActivities-DFtvysCz.d.mts} +1 -1
  34. package/dist/{resourceActivities-CwSss-73.d.ts → resourceActivities-DoJUbR_I.d.ts} +1 -1
  35. package/dist/types/index.d.mts +5 -5
  36. package/dist/types/index.d.ts +5 -5
  37. package/dist/utils/index.d.mts +1 -1
  38. package/dist/utils/index.d.ts +1 -1
  39. package/package.json +1 -1
  40. package/dist/chunk-7FRB62SE.mjs.map +0 -1
@@ -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 NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-dxnqHVVc.mjs';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-D_ckWQMA.mjs';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-aU2ITfZh.mjs';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DFtvysCz.mjs';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-DvWluf-6.mjs';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-5WEzHfXv.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 NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CwSss-73.js';
4
- import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-HUZHOXHh.js';
5
- import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-DIylz7DM.js';
3
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-DoJUbR_I.js';
4
+ import { E as EventType, c as EventListItemType, d as EventInfoType, e as RelationType, f as ResourceConnectionsType, U as UnregisteredVendorType, V as VendorType, g as VendorInfoType, h as UserLicenceType } from '../global-B-g-Dv61.js';
5
+ import { U as UserType, P as PartnerType, R as ResourceByUser, A as AdType, E as EnumAdStatus, S as SubscriptionPlansResponse, a as SubscriptionStatusData, b as PostType, c as EnumPostType, d as AppSettingsType } from '../post-D_KFXmTl.js';
6
6
  import 'react-hook-form';
7
7
 
8
8
  declare const useAdminUpdateResourceType: () => {
@@ -120,7 +120,7 @@ import {
120
120
  useUpdateVendor,
121
121
  useUpdateVendorInfo,
122
122
  useValidateVerificationToken
123
- } from "../chunk-7FRB62SE.mjs";
123
+ } from "../chunk-W465TNSV.mjs";
124
124
  import "../chunk-USQKKCIA.mjs";
125
125
  export {
126
126
  useAddParticipantToChat,
@@ -463,17 +463,7 @@ var stallTypesSchema = yup.object({
463
463
  "",
464
464
  noLeadingZeros("Stall price", { allowDecimal: true })
465
465
  ),
466
- stallCapacity: yup.number().label("Stall Capacity").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")),
467
- electricity: yup.object({
468
- selected: yup.boolean().nullable().optional().label("Electricity Available"),
469
- price: yup.number().transform(
470
- (value, originalValue) => originalValue === "" ? null : value
471
- ).integer("Electricity price must be a whole number").test(
472
- "no-leading-zeros",
473
- "",
474
- noLeadingZeros("Electricity price", { allowDecimal: true })
475
- ).nullable().optional()
476
- }).nullable().optional().label("Electricity Information")
466
+ stallCapacity: yup.number().label("Stall Capacity").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"))
477
467
  });
478
468
  var dateTimeWithPriceSchema = dateTimeSchema.shape({
479
469
  stallTypes: yup.array().of(stallTypesSchema).min(1, "At least one stall type is required").required("Stall types are required")
@@ -949,10 +939,6 @@ var stallTypes = [
949
939
  "Workshop/seating area"
950
940
  ];
951
941
  var stallTypeOptions = stallTypes.map((type) => ({
952
- electricity: {
953
- price: null,
954
- selected: false
955
- },
956
942
  label: type,
957
943
  price: 0,
958
944
  stallCapacity: 0
@@ -2351,10 +2337,6 @@ var STALL_TYPE_FIELDS_FRAGMENT = import_client2.gql`
2351
2337
  label
2352
2338
  price
2353
2339
  stallCapacity
2354
- electricity {
2355
- price
2356
- selected
2357
- }
2358
2340
  }
2359
2341
  `;
2360
2342
  var RELATION_DATES_FRAGMENT = import_client2.gql`