@pelcro/react-pelcro-js 3.9.0-beta.6 → 3.9.0-beta.7
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/index.cjs.js +12 -0
- package/dist/index.esm.js +12 -0
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12381,6 +12381,10 @@ function FirstName({
|
|
|
12381
12381
|
loadFirstNameIntoField();
|
|
12382
12382
|
return () => {
|
|
12383
12383
|
document.removeEventListener("PelcroUserLoaded", handleInputChange);
|
|
12384
|
+
dispatch({
|
|
12385
|
+
type: SET_FIRST_NAME,
|
|
12386
|
+
payload: ""
|
|
12387
|
+
});
|
|
12384
12388
|
};
|
|
12385
12389
|
}
|
|
12386
12390
|
}, []);
|
|
@@ -12459,6 +12463,10 @@ function LastName({
|
|
|
12459
12463
|
loadLastNameIntoField();
|
|
12460
12464
|
return () => {
|
|
12461
12465
|
document.removeEventListener("PelcroUserLoaded", handleInputChange);
|
|
12466
|
+
dispatch({
|
|
12467
|
+
type: SET_LAST_NAME,
|
|
12468
|
+
payload: ""
|
|
12469
|
+
});
|
|
12462
12470
|
};
|
|
12463
12471
|
}
|
|
12464
12472
|
}, []);
|
|
@@ -12537,6 +12545,10 @@ function Phone({
|
|
|
12537
12545
|
loadPhoneIntoField();
|
|
12538
12546
|
return () => {
|
|
12539
12547
|
document.removeEventListener("PelcroUserLoaded", handleInputChange);
|
|
12548
|
+
dispatch({
|
|
12549
|
+
type: SET_PHONE,
|
|
12550
|
+
payload: ""
|
|
12551
|
+
});
|
|
12540
12552
|
};
|
|
12541
12553
|
}
|
|
12542
12554
|
}, []);
|
package/dist/index.esm.js
CHANGED
|
@@ -12351,6 +12351,10 @@ function FirstName({
|
|
|
12351
12351
|
loadFirstNameIntoField();
|
|
12352
12352
|
return () => {
|
|
12353
12353
|
document.removeEventListener("PelcroUserLoaded", handleInputChange);
|
|
12354
|
+
dispatch({
|
|
12355
|
+
type: SET_FIRST_NAME,
|
|
12356
|
+
payload: ""
|
|
12357
|
+
});
|
|
12354
12358
|
};
|
|
12355
12359
|
}
|
|
12356
12360
|
}, []);
|
|
@@ -12429,6 +12433,10 @@ function LastName({
|
|
|
12429
12433
|
loadLastNameIntoField();
|
|
12430
12434
|
return () => {
|
|
12431
12435
|
document.removeEventListener("PelcroUserLoaded", handleInputChange);
|
|
12436
|
+
dispatch({
|
|
12437
|
+
type: SET_LAST_NAME,
|
|
12438
|
+
payload: ""
|
|
12439
|
+
});
|
|
12432
12440
|
};
|
|
12433
12441
|
}
|
|
12434
12442
|
}, []);
|
|
@@ -12507,6 +12515,10 @@ function Phone({
|
|
|
12507
12515
|
loadPhoneIntoField();
|
|
12508
12516
|
return () => {
|
|
12509
12517
|
document.removeEventListener("PelcroUserLoaded", handleInputChange);
|
|
12518
|
+
dispatch({
|
|
12519
|
+
type: SET_PHONE,
|
|
12520
|
+
payload: ""
|
|
12521
|
+
});
|
|
12510
12522
|
};
|
|
12511
12523
|
}
|
|
12512
12524
|
}, []);
|