@timardex/cluemart-shared 1.3.82 → 1.3.83
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-D9jWzLNA.d.mts → auth-C1qKOUp8.d.mts} +1 -1
- package/dist/{auth-BcqAXAeR.d.ts → auth-DOEpzxHT.d.ts} +1 -1
- package/dist/formFields/index.cjs +48 -19
- 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 +48 -19
- package/dist/formFields/index.mjs.map +1 -1
- package/dist/{global-C-CqGkcq.d.ts → global-CnAaM_PF.d.ts} +3 -0
- package/dist/{global-m7HlUVLy.d.mts → global-Dv9q0tt9.d.mts} +3 -0
- package/dist/graphql/index.d.mts +2 -2
- package/dist/graphql/index.d.ts +2 -2
- package/dist/hooks/index.cjs +8 -0
- 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 +8 -0
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/index.cjs +56 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.mjs +56 -19
- package/dist/index.mjs.map +1 -1
- package/dist/{post--NAnknB8.d.mts → post-DmxMsfXG.d.mts} +1 -1
- package/dist/{post-o-mKh_H2.d.ts → post-JtNQUMC3.d.ts} +1 -1
- package/dist/types/index.d.mts +4 -4
- package/dist/types/index.d.ts +4 -4
- package/dist/utils/index.d.mts +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -592,21 +592,31 @@ var productLabelGroups = [
|
|
|
592
592
|
{ abbreviation: "KETO", fullName: "Keto-Friendly" },
|
|
593
593
|
{ abbreviation: "P", fullName: "Paleo" },
|
|
594
594
|
{ abbreviation: "V", fullName: "Vegan" },
|
|
595
|
-
{ abbreviation: "VG", fullName: "Vegetarian" }
|
|
595
|
+
{ abbreviation: "VG", fullName: "Vegetarian" },
|
|
596
|
+
{ abbreviation: "KID", fullName: "Kid-Friendly" },
|
|
597
|
+
// Gyerekbarát
|
|
598
|
+
{ abbreviation: "PET", fullName: "Pet-Friendly Product" }
|
|
599
|
+
// Állatok
|
|
596
600
|
]
|
|
597
601
|
},
|
|
598
602
|
{
|
|
599
603
|
category: "Natural",
|
|
600
604
|
items: [
|
|
601
605
|
{ abbreviation: "ECO", fullName: "Eco-Friendly" },
|
|
602
|
-
{ abbreviation: "ORGANIC", fullName: "Organic Product" }
|
|
606
|
+
{ abbreviation: "ORGANIC", fullName: "Organic Product" },
|
|
607
|
+
{ abbreviation: "NAT", fullName: "Natural Product" },
|
|
608
|
+
// Természetesség
|
|
609
|
+
{ abbreviation: "NPF", fullName: "Non-Pesticide / Chemical-Free" },
|
|
610
|
+
{ abbreviation: "PLN", fullName: "Plant-Based" }
|
|
603
611
|
]
|
|
604
612
|
},
|
|
605
613
|
{
|
|
606
614
|
category: "Market Character",
|
|
607
615
|
items: [
|
|
608
616
|
{ abbreviation: "HM", fullName: "Handmade" },
|
|
609
|
-
{ abbreviation: "LOC", fullName: "Local Product" }
|
|
617
|
+
{ abbreviation: "LOC", fullName: "Local Product" },
|
|
618
|
+
{ abbreviation: "ART", fullName: "Artisan" },
|
|
619
|
+
{ abbreviation: "LTD", fullName: "Limited Edition" }
|
|
610
620
|
]
|
|
611
621
|
},
|
|
612
622
|
{
|
|
@@ -614,33 +624,51 @@ var productLabelGroups = [
|
|
|
614
624
|
items: [
|
|
615
625
|
{ abbreviation: "AROM", fullName: "Aromatherapy" },
|
|
616
626
|
{ abbreviation: "CRF", fullName: "Cruelty-Free" },
|
|
617
|
-
{ abbreviation: "HYPO", fullName: "Hypoallergenic" }
|
|
627
|
+
{ abbreviation: "HYPO", fullName: "Hypoallergenic" },
|
|
628
|
+
{ abbreviation: "BODY", fullName: "Body Care" }
|
|
629
|
+
// Testápolás
|
|
618
630
|
]
|
|
619
631
|
},
|
|
620
632
|
{
|
|
621
|
-
category: "
|
|
633
|
+
category: "Wellbeing",
|
|
622
634
|
items: [
|
|
623
|
-
{ abbreviation: "
|
|
624
|
-
|
|
635
|
+
{ abbreviation: "CARE", fullName: "Health Support Product" },
|
|
636
|
+
// Egészség / testi jóllét
|
|
637
|
+
{ abbreviation: "PHYS", fullName: "Physical Wellbeing" },
|
|
638
|
+
// Fizikai jóllét
|
|
639
|
+
{ abbreviation: "MENTAL", fullName: "Mental Wellbeing" },
|
|
640
|
+
// Mentális jóllét
|
|
641
|
+
{ abbreviation: "RELAX", fullName: "Relaxation Product" },
|
|
642
|
+
// Relaxáció / lazítás
|
|
643
|
+
{ abbreviation: "SPIRIT", fullName: "Spiritual Wellbeing" }
|
|
644
|
+
// Lelki jóllét
|
|
625
645
|
]
|
|
626
646
|
},
|
|
627
647
|
{
|
|
628
|
-
category: "
|
|
648
|
+
category: "Tech & Digital",
|
|
629
649
|
items: [
|
|
630
|
-
{ abbreviation: "
|
|
631
|
-
|
|
650
|
+
{ abbreviation: "TECH", fullName: "Technology Product" },
|
|
651
|
+
// Technológia
|
|
652
|
+
{ abbreviation: "DIGI", fullName: "Digital Technology" }
|
|
653
|
+
// Digitális technológia
|
|
632
654
|
]
|
|
633
655
|
},
|
|
634
656
|
{
|
|
635
|
-
category: "
|
|
657
|
+
category: "Practical & Home",
|
|
636
658
|
items: [
|
|
637
|
-
{ abbreviation: "
|
|
638
|
-
|
|
659
|
+
{ abbreviation: "PRAC", fullName: "Practical Solution" },
|
|
660
|
+
// Praktikum
|
|
661
|
+
{ abbreviation: "HOME", fullName: "Home & Living" }
|
|
662
|
+
// Otthon / lakókörnyezet
|
|
639
663
|
]
|
|
640
664
|
},
|
|
641
665
|
{
|
|
642
666
|
category: "Sustainability",
|
|
643
|
-
items: [
|
|
667
|
+
items: [
|
|
668
|
+
{ abbreviation: "ZWP", fullName: "Zero-Waste Product" },
|
|
669
|
+
{ abbreviation: "SUST", fullName: "Sustainable Product" }
|
|
670
|
+
// Fenntarthatóság
|
|
671
|
+
]
|
|
644
672
|
}
|
|
645
673
|
];
|
|
646
674
|
|
|
@@ -887,14 +915,15 @@ var vendorCompliance = [
|
|
|
887
915
|
var packagingTypes = [
|
|
888
916
|
"Biodegradable",
|
|
889
917
|
"Compostable",
|
|
890
|
-
"
|
|
891
|
-
"Reusable",
|
|
892
|
-
"Single-use",
|
|
918
|
+
"Fabric",
|
|
893
919
|
"Glass",
|
|
920
|
+
"Other",
|
|
894
921
|
"Paper",
|
|
895
922
|
"Plastic",
|
|
896
|
-
"
|
|
897
|
-
"
|
|
923
|
+
"Recyclable",
|
|
924
|
+
"Reusable",
|
|
925
|
+
"Single-use",
|
|
926
|
+
"Wood"
|
|
898
927
|
];
|
|
899
928
|
var producedIngTypes = [
|
|
900
929
|
"Commercial Kitchen",
|
|
@@ -6593,8 +6622,10 @@ var defaultPartnerFormValues = {
|
|
|
6593
6622
|
};
|
|
6594
6623
|
var defaultEventFormValues = {
|
|
6595
6624
|
...globalDefaultValues,
|
|
6625
|
+
claimed: false,
|
|
6596
6626
|
dateTime: [],
|
|
6597
6627
|
eventType: "Market" /* MARKET */,
|
|
6628
|
+
googlePlaceId: null,
|
|
6598
6629
|
location: defaultLocation,
|
|
6599
6630
|
nzbn: "",
|
|
6600
6631
|
provider: null,
|
|
@@ -6850,8 +6881,10 @@ function useEventForm(data) {
|
|
|
6850
6881
|
if (data) {
|
|
6851
6882
|
reset({
|
|
6852
6883
|
...mapBaseResourceTypeToFormData(data),
|
|
6884
|
+
claimed: data.claimed ?? false,
|
|
6853
6885
|
dateTime: data.dateTime,
|
|
6854
6886
|
eventType: data.eventType,
|
|
6887
|
+
googlePlaceId: data.googlePlaceId,
|
|
6855
6888
|
location: data.location,
|
|
6856
6889
|
nzbn: data.nzbn,
|
|
6857
6890
|
provider: data.provider,
|
|
@@ -6866,12 +6899,14 @@ function useEventForm(data) {
|
|
|
6866
6899
|
_id,
|
|
6867
6900
|
active,
|
|
6868
6901
|
associates,
|
|
6902
|
+
claimed,
|
|
6869
6903
|
contactDetails,
|
|
6870
6904
|
cover,
|
|
6871
6905
|
coverUpload,
|
|
6872
6906
|
dateTime,
|
|
6873
6907
|
description,
|
|
6874
6908
|
eventType,
|
|
6909
|
+
googlePlaceId,
|
|
6875
6910
|
images,
|
|
6876
6911
|
imagesUpload,
|
|
6877
6912
|
location,
|
|
@@ -6894,12 +6929,14 @@ function useEventForm(data) {
|
|
|
6894
6929
|
_id,
|
|
6895
6930
|
active,
|
|
6896
6931
|
associates,
|
|
6932
|
+
claimed,
|
|
6897
6933
|
contactDetails,
|
|
6898
6934
|
cover,
|
|
6899
6935
|
coverUpload,
|
|
6900
6936
|
dateTime,
|
|
6901
6937
|
description,
|
|
6902
6938
|
eventType,
|
|
6939
|
+
googlePlaceId,
|
|
6903
6940
|
images,
|
|
6904
6941
|
imagesUpload,
|
|
6905
6942
|
location,
|