@timardex/cluemart-shared 1.1.97 → 1.1.99
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/{ad-CoiGaT-f.d.ts → ad-BTebYGa6.d.ts} +3 -2
- package/dist/{ad-Df0tS2ke.d.mts → ad-utcwpkKv.d.mts} +3 -2
- package/dist/{auth-ilI9BaiI.d.mts → auth-BH5KfDFw.d.mts} +1 -1
- package/dist/{auth-BjhtOc-S.d.ts → auth-DO7TRji8.d.ts} +1 -1
- package/dist/{chunk-HCLLFEEU.mjs → chunk-BMYKEYZE.mjs} +9 -1
- package/dist/chunk-BMYKEYZE.mjs.map +1 -0
- package/dist/{chunk-BNC6VFCM.mjs → chunk-YZEVTCB6.mjs} +2 -2
- package/dist/enums/index.cjs +9 -0
- package/dist/enums/index.cjs.map +1 -1
- package/dist/enums/index.d.mts +7 -1
- package/dist/enums/index.d.ts +7 -1
- package/dist/enums/index.mjs +3 -1
- package/dist/formFields/index.cjs +13 -13
- package/dist/formFields/index.cjs.map +1 -1
- package/dist/formFields/index.d.mts +1 -1
- package/dist/formFields/index.d.ts +1 -1
- package/dist/formFields/index.mjs +15 -15
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-UlcoYebp.d.mts → global-CntHxpmg.d.mts} +32 -16
- package/dist/{global-DySmt-11.d.ts → global-K1ennCrw.d.ts} +32 -16
- package/dist/graphql/index.cjs +42 -21
- package/dist/graphql/index.cjs.map +1 -1
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/graphql/index.mjs +43 -22
- package/dist/graphql/index.mjs.map +1 -1
- package/dist/hooks/index.cjs +101 -75
- 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 +97 -77
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +158 -109
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +40 -17
- package/dist/index.d.ts +40 -17
- package/dist/index.mjs +157 -109
- package/dist/index.mjs.map +1 -1
- package/dist/types/index.d.mts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-HCLLFEEU.mjs.map +0 -1
- /package/dist/{chunk-BNC6VFCM.mjs.map → chunk-YZEVTCB6.mjs.map} +0 -0
package/dist/index.cjs
CHANGED
|
@@ -36,6 +36,7 @@ __export(index_exports, {
|
|
|
36
36
|
EnumAdType: () => EnumAdType,
|
|
37
37
|
EnumChatType: () => EnumChatType,
|
|
38
38
|
EnumEventType: () => EnumEventType,
|
|
39
|
+
EnumFoodFlavor: () => EnumFoodFlavor,
|
|
39
40
|
EnumInviteStatus: () => EnumInviteStatus,
|
|
40
41
|
EnumNotificationResourceType: () => EnumNotificationResourceType,
|
|
41
42
|
EnumNotificationType: () => EnumNotificationType,
|
|
@@ -241,6 +242,13 @@ var EnumPaymentMethod = /* @__PURE__ */ ((EnumPaymentMethod2) => {
|
|
|
241
242
|
EnumPaymentMethod2["STRIPE"] = "stripe";
|
|
242
243
|
return EnumPaymentMethod2;
|
|
243
244
|
})(EnumPaymentMethod || {});
|
|
245
|
+
var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
|
|
246
|
+
EnumFoodFlavor3["SALTY"] = "salty";
|
|
247
|
+
EnumFoodFlavor3["SAVOURY"] = "savoury";
|
|
248
|
+
EnumFoodFlavor3["SPICY"] = "spicy";
|
|
249
|
+
EnumFoodFlavor3["SWEET"] = "sweet";
|
|
250
|
+
return EnumFoodFlavor3;
|
|
251
|
+
})(EnumFoodFlavor || {});
|
|
244
252
|
var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
|
|
245
253
|
EnumResourceType2["EVENT"] = "event";
|
|
246
254
|
EnumResourceType2["VENDOR"] = "vendor";
|
|
@@ -471,7 +479,7 @@ var vendorBasicInfoFields = [
|
|
|
471
479
|
var vendorMultiLocation = {
|
|
472
480
|
helperText: "Usefull when you are not only selling products on Events but also providing services at other locations.",
|
|
473
481
|
name: "multiLocation",
|
|
474
|
-
placeholder: "
|
|
482
|
+
placeholder: "Multi location"
|
|
475
483
|
};
|
|
476
484
|
var vendorFullAddress = {
|
|
477
485
|
helperText: "Enter address",
|
|
@@ -525,11 +533,11 @@ var vendorElectricity = {
|
|
|
525
533
|
details: {
|
|
526
534
|
helperText: "Please describe details e.g. amps, voltage, etc.",
|
|
527
535
|
isTextArea: true,
|
|
528
|
-
name: "electricity.details",
|
|
536
|
+
name: "requirements.electricity.details",
|
|
529
537
|
placeholder: "Electricity requirements"
|
|
530
538
|
},
|
|
531
539
|
isRequired: {
|
|
532
|
-
name: "electricity.isRequired",
|
|
540
|
+
name: "requirements.electricity.isRequired",
|
|
533
541
|
placeholder: "Do you require electricity?"
|
|
534
542
|
}
|
|
535
543
|
};
|
|
@@ -537,11 +545,11 @@ var vendorGazebo = {
|
|
|
537
545
|
details: {
|
|
538
546
|
helperText: "Please describe details e.g. size, etc.",
|
|
539
547
|
isTextArea: true,
|
|
540
|
-
name: "gazebo.details",
|
|
548
|
+
name: "requirements.gazebo.details",
|
|
541
549
|
placeholder: "Gazebo requirements"
|
|
542
550
|
},
|
|
543
551
|
isRequired: {
|
|
544
|
-
name: "gazebo.isRequired",
|
|
552
|
+
name: "requirements.gazebo.isRequired",
|
|
545
553
|
placeholder: "Do you require Gazebo?"
|
|
546
554
|
}
|
|
547
555
|
};
|
|
@@ -549,46 +557,46 @@ var vendorTable = {
|
|
|
549
557
|
details: {
|
|
550
558
|
helperText: "Please describe details e.g. size, etc.",
|
|
551
559
|
isTextArea: true,
|
|
552
|
-
name: "table.details",
|
|
560
|
+
name: "requirements.table.details",
|
|
553
561
|
placeholder: "Table requirements"
|
|
554
562
|
},
|
|
555
563
|
isRequired: {
|
|
556
|
-
name: "table.isRequired",
|
|
564
|
+
name: "requirements.table.isRequired",
|
|
557
565
|
placeholder: "Do you require Table?"
|
|
558
566
|
}
|
|
559
567
|
};
|
|
560
568
|
var vendorPriceRange = {
|
|
561
569
|
max: {
|
|
562
570
|
helperText: "Product maximum price",
|
|
563
|
-
name: "priceRange.max",
|
|
571
|
+
name: "product.priceRange.max",
|
|
564
572
|
placeholder: "Maximum price: "
|
|
565
573
|
},
|
|
566
574
|
min: {
|
|
567
575
|
helperText: "Product minimum price",
|
|
568
|
-
name: "priceRange.min",
|
|
576
|
+
name: "product.priceRange.min",
|
|
569
577
|
placeholder: "Minimum price: "
|
|
570
578
|
}
|
|
571
579
|
};
|
|
572
580
|
var vendorStallSize = {
|
|
573
581
|
depth: {
|
|
574
582
|
helperText: "Stall size in depth",
|
|
575
|
-
name: "
|
|
583
|
+
name: "stallInfo.size.depth",
|
|
576
584
|
placeholder: "Stall Depth: "
|
|
577
585
|
},
|
|
578
586
|
width: {
|
|
579
587
|
helperText: "Stall size in width",
|
|
580
|
-
name: "
|
|
588
|
+
name: "stallInfo.size.width",
|
|
581
589
|
placeholder: "Stall Width: "
|
|
582
590
|
}
|
|
583
591
|
};
|
|
584
592
|
var vendorPackaging = {
|
|
585
593
|
helperText: "Select packaging type, you can select more than one",
|
|
586
|
-
name: "packaging",
|
|
594
|
+
name: "product.packaging",
|
|
587
595
|
placeholder: "Packaging type"
|
|
588
596
|
};
|
|
589
597
|
var vendorProducedIn = {
|
|
590
598
|
helperText: "Select where the product is produced, you can select more than one",
|
|
591
|
-
name: "producedIn",
|
|
599
|
+
name: "product.producedIn",
|
|
592
600
|
placeholder: "Produced type"
|
|
593
601
|
};
|
|
594
602
|
var packagingTypes = [
|
|
@@ -2393,39 +2401,59 @@ var VENDOR = import_client4.gql`
|
|
|
2393
2401
|
${POSTER_USAGE_FIELDS_FRAGMENT}
|
|
2394
2402
|
${PARTNER_FIELDS_FRAGMENT}
|
|
2395
2403
|
`;
|
|
2404
|
+
var VENDOR_ATTRIBUTES_FRAGMENT = import_client4.gql`
|
|
2405
|
+
fragment VendorAttributesFields on VendorAttributesType {
|
|
2406
|
+
details
|
|
2407
|
+
isRequired
|
|
2408
|
+
}
|
|
2409
|
+
`;
|
|
2396
2410
|
var VENDOR_INFO = import_client4.gql`
|
|
2397
2411
|
fragment VendorInfoFields on VendorInfoType {
|
|
2398
2412
|
_id
|
|
2413
|
+
availability {
|
|
2414
|
+
corporate
|
|
2415
|
+
private
|
|
2416
|
+
school
|
|
2417
|
+
}
|
|
2418
|
+
compliance {
|
|
2419
|
+
foodBeverageLicense
|
|
2420
|
+
liabilityInsurance
|
|
2421
|
+
}
|
|
2399
2422
|
contactDetails {
|
|
2400
2423
|
email
|
|
2401
2424
|
landlinePhone
|
|
2402
2425
|
mobilePhone
|
|
2403
2426
|
}
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2427
|
+
documents
|
|
2428
|
+
requirements {
|
|
2429
|
+
electricity {
|
|
2430
|
+
...VendorAttributesFields
|
|
2431
|
+
}
|
|
2432
|
+
gazebo {
|
|
2433
|
+
...VendorAttributesFields
|
|
2434
|
+
}
|
|
2435
|
+
table {
|
|
2436
|
+
...VendorAttributesFields
|
|
2437
|
+
}
|
|
2407
2438
|
}
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2439
|
+
product {
|
|
2440
|
+
foodFlavors
|
|
2441
|
+
packaging
|
|
2442
|
+
priceRange {
|
|
2443
|
+
max
|
|
2444
|
+
min
|
|
2445
|
+
}
|
|
2446
|
+
producedIn
|
|
2412
2447
|
}
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2448
|
+
stallInfo {
|
|
2449
|
+
size {
|
|
2450
|
+
depth
|
|
2451
|
+
width
|
|
2452
|
+
}
|
|
2417
2453
|
}
|
|
2418
|
-
producedIn
|
|
2419
2454
|
vendorId
|
|
2420
|
-
stallSize {
|
|
2421
|
-
depth
|
|
2422
|
-
width
|
|
2423
|
-
}
|
|
2424
|
-
table {
|
|
2425
|
-
details
|
|
2426
|
-
isRequired
|
|
2427
|
-
}
|
|
2428
2455
|
}
|
|
2456
|
+
${VENDOR_ATTRIBUTES_FRAGMENT}
|
|
2429
2457
|
`;
|
|
2430
2458
|
var GET_VENDORS = import_client4.gql`
|
|
2431
2459
|
query getVendors {
|
|
@@ -3948,13 +3976,14 @@ var TESTER_FIELDS_FRAGMENT = import_client36.gql`
|
|
|
3948
3976
|
categories {
|
|
3949
3977
|
...CategoryFields
|
|
3950
3978
|
}
|
|
3951
|
-
companyName
|
|
3952
3979
|
active
|
|
3980
|
+
companyName
|
|
3953
3981
|
createdAt
|
|
3954
3982
|
email
|
|
3955
3983
|
firstName
|
|
3956
3984
|
lastName
|
|
3957
3985
|
osType
|
|
3986
|
+
region
|
|
3958
3987
|
resourceType
|
|
3959
3988
|
updatedAt
|
|
3960
3989
|
}
|
|
@@ -4732,7 +4761,7 @@ var nzbnRegex = /^94\d{11}$/;
|
|
|
4732
4761
|
var eventSchema = globalResourceSchema.shape({
|
|
4733
4762
|
dateTime: yup2.array().of(dateTimeSchema).min(1, "At least one Event date required").max(50, "You can only add up to 50 Event dates").required("DateTime is required").test(
|
|
4734
4763
|
"unique-start-date-time",
|
|
4735
|
-
"Start Date
|
|
4764
|
+
"Start Date must be unique",
|
|
4736
4765
|
function(value) {
|
|
4737
4766
|
if (!value) return true;
|
|
4738
4767
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -4799,42 +4828,49 @@ var vendorSchema = globalResourceSchema.shape({
|
|
|
4799
4828
|
});
|
|
4800
4829
|
var vendorInfoSchema = yup3.object().shape({
|
|
4801
4830
|
contactDetails: contactDetailsSchema,
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
"is-greater",
|
|
4820
|
-
"Max price must be greater than or equal to Min price",
|
|
4821
|
-
function(max) {
|
|
4822
|
-
const { min } = this.parent;
|
|
4823
|
-
return max >= min;
|
|
4824
|
-
}
|
|
4825
|
-
),
|
|
4826
|
-
min: yup3.number().min(1).required("Min price is required")
|
|
4827
|
-
}),
|
|
4828
|
-
producedIn: yup3.array().of(yup3.string().defined()).min(1, "Produced in list must contain at least one item").required("Produced in is required"),
|
|
4829
|
-
stallSize: yup3.object().shape({
|
|
4830
|
-
depth: yup3.number().min(1).required("Depth is required"),
|
|
4831
|
-
width: yup3.number().min(1).required("Width is required")
|
|
4831
|
+
product: yup3.object().shape({
|
|
4832
|
+
foodFlavors: yup3.array().of(
|
|
4833
|
+
yup3.mixed().oneOf(Object.values(EnumFoodFlavor)).defined()
|
|
4834
|
+
).min(1, "Food flavors list must contain at least one item").required("Food flavors are required"),
|
|
4835
|
+
packaging: yup3.array().of(yup3.string().defined()).min(1, "Packaging list must contain at least one item").required("Packaging is required"),
|
|
4836
|
+
priceRange: yup3.object().shape({
|
|
4837
|
+
max: yup3.number().min(1).required("Max price is required").test(
|
|
4838
|
+
"is-greater",
|
|
4839
|
+
"Max price must be greater than or equal to Min price",
|
|
4840
|
+
function(max) {
|
|
4841
|
+
const { min } = this.parent;
|
|
4842
|
+
return max >= min;
|
|
4843
|
+
}
|
|
4844
|
+
),
|
|
4845
|
+
min: yup3.number().min(1).required("Min price is required")
|
|
4846
|
+
}),
|
|
4847
|
+
producedIn: yup3.array().of(yup3.string().defined()).min(1, "Produced in list must contain at least one item").required("Produced in is required")
|
|
4832
4848
|
}),
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4849
|
+
requirements: yup3.object().shape({
|
|
4850
|
+
electricity: yup3.object().shape({
|
|
4851
|
+
details: yup3.string().trim().test("details-required", "Please add details", function(value) {
|
|
4852
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
4853
|
+
}).nullable(),
|
|
4854
|
+
isRequired: yup3.boolean().required("Electricity requirement is required")
|
|
4855
|
+
}),
|
|
4856
|
+
gazebo: yup3.object().shape({
|
|
4857
|
+
details: yup3.string().trim().test("details-required", "Please add details", function(value) {
|
|
4858
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
4859
|
+
}).nullable(),
|
|
4860
|
+
isRequired: yup3.boolean().required("Gazebo requirement is required")
|
|
4861
|
+
}),
|
|
4862
|
+
table: yup3.object().shape({
|
|
4863
|
+
details: yup3.string().trim().test("details-required", "Please add details", function(value) {
|
|
4864
|
+
return !this.parent?.isRequired || (value?.trim().length ?? 0) > 0;
|
|
4865
|
+
}).nullable(),
|
|
4866
|
+
isRequired: yup3.boolean().required("Table requirement is required")
|
|
4867
|
+
})
|
|
4868
|
+
}).optional(),
|
|
4869
|
+
stallInfo: yup3.object().shape({
|
|
4870
|
+
size: yup3.object().shape({
|
|
4871
|
+
depth: yup3.number().min(1).required("Depth is required"),
|
|
4872
|
+
width: yup3.number().min(1).required("Width is required")
|
|
4873
|
+
})
|
|
4838
4874
|
}),
|
|
4839
4875
|
vendorId: yup3.string().trim().required("Vendor ID is required")
|
|
4840
4876
|
});
|
|
@@ -4885,7 +4921,7 @@ var yup6 = __toESM(require("yup"));
|
|
|
4885
4921
|
var testersSchema = yup6.object().shape({
|
|
4886
4922
|
categories: yup6.array().nullable().when("resourceType", {
|
|
4887
4923
|
is: "vendor" /* VENDOR */,
|
|
4888
|
-
then: () => categorySchema.min(1, "Category list must contain at least one item").required("Categories
|
|
4924
|
+
then: () => categorySchema.min(1, "Category list must contain at least one item").required("Categories required"),
|
|
4889
4925
|
otherwise: () => yup6.array().nullable().notRequired()
|
|
4890
4926
|
}),
|
|
4891
4927
|
companyName: yup6.string().required("Company name is required"),
|
|
@@ -4893,6 +4929,7 @@ var testersSchema = yup6.object().shape({
|
|
|
4893
4929
|
firstName: yup6.string().required("First name is required"),
|
|
4894
4930
|
lastName: yup6.string().required("Last name is required"),
|
|
4895
4931
|
osType: yup6.mixed().oneOf(Object.values(EnumOSPlatform), "Please select Android or iOS device").required("OS Type is required"),
|
|
4932
|
+
region: yup6.string().required("Region is required"),
|
|
4896
4933
|
resourceType: yup6.mixed().oneOf(Object.values(EnumResourceType), "Please select Event or Vendor").required("Resource Type is required")
|
|
4897
4934
|
});
|
|
4898
4935
|
|
|
@@ -4987,8 +5024,8 @@ var globalDefaultValues = {
|
|
|
4987
5024
|
logo: null,
|
|
4988
5025
|
logoUpload: null,
|
|
4989
5026
|
name: "",
|
|
4990
|
-
promoCode: "",
|
|
4991
5027
|
partners: null,
|
|
5028
|
+
promoCode: "",
|
|
4992
5029
|
region: "",
|
|
4993
5030
|
socialMedia: []
|
|
4994
5031
|
};
|
|
@@ -5053,20 +5090,33 @@ var defaultVendorFormValues = {
|
|
|
5053
5090
|
vendorType: "stallholder" /* STALLHOLDER */
|
|
5054
5091
|
};
|
|
5055
5092
|
var defaultVendorInfoFormValues = {
|
|
5093
|
+
availability: {
|
|
5094
|
+
corporate: false,
|
|
5095
|
+
private: false,
|
|
5096
|
+
school: false
|
|
5097
|
+
},
|
|
5098
|
+
compliance: { foodBeverageLicense: false, liabilityInsurance: false },
|
|
5056
5099
|
contactDetails: {
|
|
5057
5100
|
email: null,
|
|
5058
5101
|
landlinePhone: null,
|
|
5059
5102
|
mobilePhone: null
|
|
5060
5103
|
},
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5104
|
+
documents: null,
|
|
5105
|
+
documentsUpload: null,
|
|
5106
|
+
product: {
|
|
5107
|
+
foodFlavors: [],
|
|
5108
|
+
packaging: [],
|
|
5109
|
+
priceRange: { max: 0, min: 0 },
|
|
5110
|
+
producedIn: []
|
|
5111
|
+
},
|
|
5112
|
+
requirements: {
|
|
5113
|
+
electricity: { details: null, isRequired: false },
|
|
5114
|
+
gazebo: { details: null, isRequired: false },
|
|
5115
|
+
table: { details: null, isRequired: false }
|
|
5116
|
+
},
|
|
5117
|
+
stallInfo: {
|
|
5118
|
+
size: { depth: 0, width: 0 }
|
|
5119
|
+
},
|
|
5070
5120
|
vendorId: ""
|
|
5071
5121
|
};
|
|
5072
5122
|
function mapBaseResourceTypeToFormData(data) {
|
|
@@ -5195,16 +5245,14 @@ function useVendorInfoForm(data) {
|
|
|
5195
5245
|
if (data) {
|
|
5196
5246
|
reset({
|
|
5197
5247
|
_id: data._id,
|
|
5248
|
+
availability: data.availability,
|
|
5249
|
+
compliance: data.compliance,
|
|
5198
5250
|
contactDetails: data.contactDetails,
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
|
-
|
|
5203
|
-
|
|
5204
|
-
priceRange: data.priceRange,
|
|
5205
|
-
producedIn: data.producedIn,
|
|
5206
|
-
stallSize: data.stallSize,
|
|
5207
|
-
table: data.table,
|
|
5251
|
+
documents: data.documents,
|
|
5252
|
+
documentsUpload: data.documentsUpload,
|
|
5253
|
+
product: data.product,
|
|
5254
|
+
requirements: data.requirements,
|
|
5255
|
+
stallInfo: data.stallInfo,
|
|
5208
5256
|
vendorId: data.vendorId
|
|
5209
5257
|
});
|
|
5210
5258
|
} else {
|
|
@@ -5213,32 +5261,28 @@ function useVendorInfoForm(data) {
|
|
|
5213
5261
|
}, [data]);
|
|
5214
5262
|
const {
|
|
5215
5263
|
_id,
|
|
5264
|
+
availability,
|
|
5265
|
+
compliance,
|
|
5216
5266
|
contactDetails,
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
producedIn,
|
|
5224
|
-
vendorId,
|
|
5225
|
-
stallSize,
|
|
5226
|
-
table
|
|
5267
|
+
documents,
|
|
5268
|
+
documentsUpload,
|
|
5269
|
+
product,
|
|
5270
|
+
requirements,
|
|
5271
|
+
stallInfo,
|
|
5272
|
+
vendorId
|
|
5227
5273
|
} = getValues();
|
|
5228
5274
|
return {
|
|
5229
5275
|
control,
|
|
5230
5276
|
fields: {
|
|
5231
5277
|
_id,
|
|
5278
|
+
availability,
|
|
5279
|
+
compliance,
|
|
5232
5280
|
contactDetails,
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
priceRange,
|
|
5239
|
-
producedIn,
|
|
5240
|
-
stallSize,
|
|
5241
|
-
table,
|
|
5281
|
+
documents,
|
|
5282
|
+
documentsUpload,
|
|
5283
|
+
product,
|
|
5284
|
+
requirements,
|
|
5285
|
+
stallInfo,
|
|
5242
5286
|
vendorId
|
|
5243
5287
|
},
|
|
5244
5288
|
formState: { errors },
|
|
@@ -5682,6 +5726,7 @@ var defaultValues7 = {
|
|
|
5682
5726
|
firstName: "",
|
|
5683
5727
|
lastName: "",
|
|
5684
5728
|
osType: "",
|
|
5729
|
+
region: "",
|
|
5685
5730
|
resourceType: ""
|
|
5686
5731
|
};
|
|
5687
5732
|
function useTestersForm(data) {
|
|
@@ -5706,6 +5751,7 @@ function useTestersForm(data) {
|
|
|
5706
5751
|
firstName: data.firstName,
|
|
5707
5752
|
lastName: data.lastName,
|
|
5708
5753
|
osType: data.osType,
|
|
5754
|
+
region: data.region,
|
|
5709
5755
|
resourceType: data.resourceType
|
|
5710
5756
|
});
|
|
5711
5757
|
} else {
|
|
@@ -5719,6 +5765,7 @@ function useTestersForm(data) {
|
|
|
5719
5765
|
firstName,
|
|
5720
5766
|
lastName,
|
|
5721
5767
|
osType,
|
|
5768
|
+
region,
|
|
5722
5769
|
resourceType
|
|
5723
5770
|
} = getValues();
|
|
5724
5771
|
return {
|
|
@@ -5730,6 +5777,7 @@ function useTestersForm(data) {
|
|
|
5730
5777
|
firstName,
|
|
5731
5778
|
lastName,
|
|
5732
5779
|
osType,
|
|
5780
|
+
region,
|
|
5733
5781
|
resourceType
|
|
5734
5782
|
},
|
|
5735
5783
|
formState: { errors },
|
|
@@ -5968,6 +6016,7 @@ var fonts = {
|
|
|
5968
6016
|
EnumAdType,
|
|
5969
6017
|
EnumChatType,
|
|
5970
6018
|
EnumEventType,
|
|
6019
|
+
EnumFoodFlavor,
|
|
5971
6020
|
EnumInviteStatus,
|
|
5972
6021
|
EnumNotificationResourceType,
|
|
5973
6022
|
EnumNotificationType,
|