@timardex/cluemart-shared 1.5.577 → 1.5.578
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-71Q_K5cL.d.ts → auth-BuXYoJKL.d.ts} +1 -1
- package/dist/{auth-wxdjNbHv.d.mts → auth-CJ-AOZJF.d.mts} +1 -1
- package/dist/{chunk-XK4M3AXN.mjs → chunk-CLMUENGY.mjs} +2 -1
- package/dist/chunk-CLMUENGY.mjs.map +1 -0
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/{global-C1K1nbMW.d.mts → global-DYOnOov2.d.mts} +1 -0
- package/dist/{global-C_2jiw0X.d.ts → global-DlFGiHZe.d.ts} +1 -0
- package/dist/graphql/index.cjs +1 -0
- 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 +10 -5
- 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 -6
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +10 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +10 -5
- package/dist/index.mjs.map +1 -1
- package/dist/{post-sAvu92I6.d.mts → post-BWE6TLGk.d.mts} +1 -1
- package/dist/{post-Bfv08ew6.d.ts → post-mcjCZnQ0.d.ts} +1 -1
- package/dist/{resourceActivities-DPdlpw6m.d.mts → resourceActivities-CEBQPKMs.d.mts} +1 -1
- package/dist/{resourceActivities-BPsBLSh7.d.ts → resourceActivities-Cta0w6sK.d.ts} +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-XK4M3AXN.mjs.map +0 -1
package/dist/graphql/index.d.mts
CHANGED
|
@@ -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-
|
|
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-
|
|
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, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-CEBQPKMs.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-DYOnOov2.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, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-BWE6TLGk.mjs';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.mjs';
|
|
8
8
|
import '../dailyClue-BnlktK68.mjs';
|
package/dist/graphql/index.d.ts
CHANGED
|
@@ -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-
|
|
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-
|
|
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, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-
|
|
3
|
+
import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-Cta0w6sK.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-DlFGiHZe.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, G as GameDocType, e as GameLeaderboard, f as SchoolReturnType, g as SchoolType } from '../post-mcjCZnQ0.js';
|
|
6
6
|
import 'react-hook-form';
|
|
7
7
|
import '../images/index.js';
|
|
8
8
|
import '../dailyClue-BnlktK68.js';
|
package/dist/graphql/index.mjs
CHANGED
package/dist/hooks/index.cjs
CHANGED
|
@@ -741,7 +741,8 @@ var unregisteredVendorSchema = yup3.object().shape({
|
|
|
741
741
|
categoryIds: yup3.array().of(yup3.string().defined()).min(1, "Category list must contain at least one item").required("Categories are required"),
|
|
742
742
|
dateTime: yup3.array().of(dateTimeSchema).min(1, "DateTime list must contain at least one item").required("DateTime is required"),
|
|
743
743
|
inviterId: yup3.string().required("Inviter ID is required"),
|
|
744
|
-
name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required")
|
|
744
|
+
name: yup3.string().label("Stallholder Name").trim().min(3, "Name must be at least 3 characters").required("Name is required"),
|
|
745
|
+
region: yup3.string().label("Region").required("Region is required")
|
|
745
746
|
});
|
|
746
747
|
var vendorInfoSchema = yup3.object().shape({
|
|
747
748
|
product: yup3.object().shape({
|
|
@@ -2875,6 +2876,7 @@ var UNREGISTERED_VENDOR = import_client4.gql`
|
|
|
2875
2876
|
...UnregisteredVendorInvitationFields
|
|
2876
2877
|
}
|
|
2877
2878
|
name
|
|
2879
|
+
region
|
|
2878
2880
|
updatedAt
|
|
2879
2881
|
}
|
|
2880
2882
|
${UNREGISTERED_VENDOR_INVITATION_FRAGMENT}
|
|
@@ -4878,7 +4880,8 @@ var defaultUnregisteredVendorFormValues = {
|
|
|
4878
4880
|
categoryIds: [],
|
|
4879
4881
|
dateTime: [],
|
|
4880
4882
|
inviterId: "",
|
|
4881
|
-
name: ""
|
|
4883
|
+
name: "",
|
|
4884
|
+
region: ""
|
|
4882
4885
|
};
|
|
4883
4886
|
var defaultVendorInfoFormValues = {
|
|
4884
4887
|
compliance: { foodBeverageLicense: false, liabilityInsurance: false },
|
|
@@ -5099,20 +5102,22 @@ function useUnregisteredVendorForm(data) {
|
|
|
5099
5102
|
categoryIds: data.categoryIds,
|
|
5100
5103
|
dateTime: data.dateTime,
|
|
5101
5104
|
inviterId: data.inviterId,
|
|
5102
|
-
name: data.name
|
|
5105
|
+
name: data.name,
|
|
5106
|
+
region: data.region
|
|
5103
5107
|
});
|
|
5104
5108
|
} else {
|
|
5105
5109
|
reset(defaultUnregisteredVendorFormValues);
|
|
5106
5110
|
}
|
|
5107
5111
|
}, [data]);
|
|
5108
|
-
const { categoryIds, dateTime, inviterId, name } = getValues();
|
|
5112
|
+
const { categoryIds, dateTime, inviterId, name, region } = getValues();
|
|
5109
5113
|
return {
|
|
5110
5114
|
control,
|
|
5111
5115
|
fields: {
|
|
5112
5116
|
categoryIds,
|
|
5113
5117
|
dateTime,
|
|
5114
5118
|
inviterId,
|
|
5115
|
-
name
|
|
5119
|
+
name,
|
|
5120
|
+
region
|
|
5116
5121
|
},
|
|
5117
5122
|
formState,
|
|
5118
5123
|
getValues,
|