@timardex/cluemart-shared 1.3.28 → 1.3.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,6 +1,6 @@
1
- import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-O7RsWypG.mjs';
2
- import { c as UserFormData, C as CreateUserFormData, d as PartnerFormData, e as TesterFormData, f as CreateTesterFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData } from '../post-CWUKq7Ia.mjs';
3
- import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-DpfaLmTU.mjs';
1
+ import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-CfCbqhR0.mjs';
2
+ import { c as UserFormData, C as CreateUserFormData, d as PartnerFormData, e as TesterFormData, f as CreateTesterFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData } from '../post-BOZMTfME.mjs';
3
+ import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-BGOx1McZ.mjs';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.mjs';
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-DSwmP6sp.js';
2
- import { c as UserFormData, C as CreateUserFormData, d as PartnerFormData, e as TesterFormData, f as CreateTesterFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData } from '../post-DO5kBeG3.js';
3
- import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-xXqB6t_8.js';
1
+ import { L as LocationType, f as VendorFormData, g as CreateVendorFormData, h as VendorInfoFormData, i as CreateVendorInfoFormData, j as EventFormData, k as CreateEventFormData, l as EventInfoFormData, m as CreateEventInfoFormData, B as BaseResourceTypeFormData } from '../global-ZjNLEVhq.js';
2
+ import { c as UserFormData, C as CreateUserFormData, d as PartnerFormData, e as TesterFormData, f as CreateTesterFormData, g as AdFormData, h as CreateAdFormData, i as CreatePartnerFormData, j as PostFormData, k as CreatePostFormData } from '../post-BV_BR8EZ.js';
3
+ import { C as CreateLoginFormData, a as CreateRegisterFormData, b as CreateRequestPasswordResetFormData, c as CreateValidateVerificationTokenFormData, d as CreateResetPasswordFormData, e as ContactUsFormData, f as CreateContactUsFormData } from '../auth-DkJ0i7X5.js';
4
4
  import 'react-hook-form';
5
5
  import '../enums/index.js';
6
6
 
@@ -812,7 +812,7 @@ function mapBaseResourceTypeToFormData(data) {
812
812
  function useVendorForm(data) {
813
813
  const {
814
814
  control,
815
- formState: { errors },
815
+ formState,
816
816
  getValues,
817
817
  handleSubmit,
818
818
  reset,
@@ -892,7 +892,7 @@ function useVendorForm(data) {
892
892
  termsAgreement,
893
893
  vendorType
894
894
  },
895
- formState: { errors },
895
+ formState,
896
896
  handleSubmit,
897
897
  reset,
898
898
  setValue,
@@ -907,7 +907,7 @@ import { useForm as useForm2 } from "react-hook-form";
907
907
  function useVendorInfoForm(data) {
908
908
  const {
909
909
  control,
910
- formState: { errors },
910
+ formState,
911
911
  getValues,
912
912
  handleSubmit,
913
913
  reset,
@@ -955,7 +955,7 @@ function useVendorInfoForm(data) {
955
955
  stallInfo,
956
956
  vendorId
957
957
  },
958
- formState: { errors },
958
+ formState,
959
959
  handleSubmit,
960
960
  reset,
961
961
  setValue,
@@ -970,7 +970,7 @@ import { useForm as useForm3 } from "react-hook-form";
970
970
  function useEventForm(data) {
971
971
  const {
972
972
  control,
973
- formState: { errors },
973
+ formState,
974
974
  getValues,
975
975
  handleSubmit,
976
976
  reset,
@@ -1050,7 +1050,7 @@ function useEventForm(data) {
1050
1050
  tags,
1051
1051
  termsAgreement
1052
1052
  },
1053
- formState: { errors },
1053
+ formState,
1054
1054
  handleSubmit,
1055
1055
  reset,
1056
1056
  setValue,
@@ -1065,7 +1065,7 @@ import { useForm as useForm4 } from "react-hook-form";
1065
1065
  function useEventInfoForm(data) {
1066
1066
  const {
1067
1067
  control,
1068
- formState: { errors },
1068
+ formState,
1069
1069
  getValues,
1070
1070
  handleSubmit,
1071
1071
  reset,
@@ -1113,7 +1113,7 @@ function useEventInfoForm(data) {
1113
1113
  paymentInfo,
1114
1114
  requirements
1115
1115
  },
1116
- formState: { errors },
1116
+ formState,
1117
1117
  handleSubmit,
1118
1118
  reset,
1119
1119
  setValue,
@@ -1141,7 +1141,7 @@ var defaultValues = {
1141
1141
  function useUserForm(data) {
1142
1142
  const {
1143
1143
  control,
1144
- formState: { errors },
1144
+ formState,
1145
1145
  getValues,
1146
1146
  handleSubmit,
1147
1147
  reset,
@@ -1201,7 +1201,7 @@ function useUserForm(data) {
1201
1201
  role,
1202
1202
  termsAgreement
1203
1203
  },
1204
- formState: { errors },
1204
+ formState,
1205
1205
  handleSubmit,
1206
1206
  reset,
1207
1207
  setValue,
@@ -1219,7 +1219,7 @@ var defaultValues2 = {
1219
1219
  function useLoginForm() {
1220
1220
  const {
1221
1221
  control,
1222
- formState: { errors },
1222
+ formState,
1223
1223
  getValues,
1224
1224
  handleSubmit,
1225
1225
  reset,
@@ -1236,7 +1236,7 @@ function useLoginForm() {
1236
1236
  email,
1237
1237
  password
1238
1238
  },
1239
- formState: { errors },
1239
+ formState,
1240
1240
  handleSubmit,
1241
1241
  reset,
1242
1242
  setValue,
@@ -1257,7 +1257,7 @@ var defaultValues3 = {
1257
1257
  function useRegisterForm() {
1258
1258
  const {
1259
1259
  control,
1260
- formState: { errors },
1260
+ formState,
1261
1261
  getValues,
1262
1262
  handleSubmit,
1263
1263
  reset,
@@ -1277,7 +1277,7 @@ function useRegisterForm() {
1277
1277
  password,
1278
1278
  preferredRegion
1279
1279
  },
1280
- formState: { errors },
1280
+ formState,
1281
1281
  handleSubmit,
1282
1282
  reset,
1283
1283
  setValue,
@@ -1294,7 +1294,7 @@ var defaultValues4 = {
1294
1294
  function useRequestPasswordResetForm() {
1295
1295
  const {
1296
1296
  control,
1297
- formState: { errors },
1297
+ formState,
1298
1298
  getValues,
1299
1299
  handleSubmit,
1300
1300
  reset,
@@ -1310,7 +1310,7 @@ function useRequestPasswordResetForm() {
1310
1310
  fields: {
1311
1311
  email
1312
1312
  },
1313
- formState: { errors },
1313
+ formState,
1314
1314
  handleSubmit,
1315
1315
  reset,
1316
1316
  setValue,
@@ -1328,7 +1328,7 @@ var defaultValues5 = {
1328
1328
  function useValidateVerificationTokenForm() {
1329
1329
  const {
1330
1330
  control,
1331
- formState: { errors },
1331
+ formState,
1332
1332
  getValues,
1333
1333
  handleSubmit,
1334
1334
  reset,
@@ -1345,7 +1345,7 @@ function useValidateVerificationTokenForm() {
1345
1345
  email,
1346
1346
  verificationToken
1347
1347
  },
1348
- formState: { errors },
1348
+ formState,
1349
1349
  handleSubmit,
1350
1350
  reset,
1351
1351
  setValue,
@@ -1364,7 +1364,7 @@ var defaultValues6 = {
1364
1364
  function useResetPasswordForm() {
1365
1365
  const {
1366
1366
  control,
1367
- formState: { errors },
1367
+ formState,
1368
1368
  getValues,
1369
1369
  handleSubmit,
1370
1370
  reset,
@@ -1382,7 +1382,7 @@ function useResetPasswordForm() {
1382
1382
  email,
1383
1383
  password
1384
1384
  },
1385
- formState: { errors },
1385
+ formState,
1386
1386
  handleSubmit,
1387
1387
  reset,
1388
1388
  setValue,
@@ -1413,7 +1413,7 @@ var defaultValues7 = {
1413
1413
  function useTesterForm(data) {
1414
1414
  const {
1415
1415
  control,
1416
- formState: { errors },
1416
+ formState,
1417
1417
  getValues,
1418
1418
  handleSubmit,
1419
1419
  reset,
@@ -1470,7 +1470,7 @@ function useTesterForm(data) {
1470
1470
  resourceType,
1471
1471
  vendor
1472
1472
  },
1473
- formState: { errors },
1473
+ formState,
1474
1474
  handleSubmit,
1475
1475
  reset,
1476
1476
  setValue,
@@ -1502,7 +1502,7 @@ var defaultValues8 = {
1502
1502
  function useContactUsForm(data) {
1503
1503
  const {
1504
1504
  control,
1505
- formState: { errors },
1505
+ formState,
1506
1506
  getValues,
1507
1507
  handleSubmit,
1508
1508
  reset,
@@ -1533,7 +1533,7 @@ function useContactUsForm(data) {
1533
1533
  lastName,
1534
1534
  message
1535
1535
  },
1536
- formState: { errors },
1536
+ formState,
1537
1537
  handleSubmit,
1538
1538
  reset,
1539
1539
  setValue,
@@ -1572,7 +1572,7 @@ var defaultValues9 = {
1572
1572
  function useAdForm(data) {
1573
1573
  const {
1574
1574
  control,
1575
- formState: { errors },
1575
+ formState,
1576
1576
  getValues,
1577
1577
  handleSubmit,
1578
1578
  reset,
@@ -1646,7 +1646,7 @@ function useAdForm(data) {
1646
1646
  status,
1647
1647
  targetRegion
1648
1648
  },
1649
- formState: { errors },
1649
+ formState,
1650
1650
  handleSubmit,
1651
1651
  reset,
1652
1652
  setValue,
@@ -1661,7 +1661,7 @@ import { useForm as useForm14 } from "react-hook-form";
1661
1661
  function usePartnerForm(data) {
1662
1662
  const {
1663
1663
  control,
1664
- formState: { errors },
1664
+ formState,
1665
1665
  getValues,
1666
1666
  handleSubmit,
1667
1667
  reset,
@@ -1729,7 +1729,7 @@ function usePartnerForm(data) {
1729
1729
  socialMedia,
1730
1730
  termsAgreement
1731
1731
  },
1732
- formState: { errors },
1732
+ formState,
1733
1733
  handleSubmit,
1734
1734
  reset,
1735
1735
  setValue,
@@ -1751,7 +1751,7 @@ var defaultValues10 = {
1751
1751
  function usePostForm(data) {
1752
1752
  const {
1753
1753
  control,
1754
- formState: { errors },
1754
+ formState,
1755
1755
  getValues,
1756
1756
  handleSubmit,
1757
1757
  reset,
@@ -1784,7 +1784,7 @@ function usePostForm(data) {
1784
1784
  tags,
1785
1785
  title
1786
1786
  },
1787
- formState: { errors },
1787
+ formState,
1788
1788
  handleSubmit,
1789
1789
  reset,
1790
1790
  setValue,