@pelcro/react-pelcro-js 3.19.0-beta.16 → 3.19.0-beta.17
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 +6 -7
- package/dist/index.esm.js +6 -7
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -13949,7 +13949,6 @@ class SelectModal extends React.Component {
|
|
|
13949
13949
|
constructor(props) {
|
|
13950
13950
|
super(props);
|
|
13951
13951
|
_defineProperty$3(this, "componentDidMount", () => {
|
|
13952
|
-
var _window$Pelcro$enviro, _window$Pelcro, _window$Pelcro$enviro2;
|
|
13953
13952
|
if (this.props.product) {
|
|
13954
13953
|
const {
|
|
13955
13954
|
product
|
|
@@ -13981,15 +13980,15 @@ class SelectModal extends React.Component {
|
|
|
13981
13980
|
this.props.setView('register');
|
|
13982
13981
|
}
|
|
13983
13982
|
document.addEventListener("keydown", this.handleSubmit);
|
|
13984
|
-
if (document.querySelector("#pelcro-selection-
|
|
13983
|
+
if (!document.querySelector("#pelcro-selection-view") || !document.querySelector(".pelcro-select-product-wrapper")) {
|
|
13985
13984
|
notifyBugsnag(() => {
|
|
13986
13985
|
Bugsnag.notify("SelectModal - No data viewed", event => {
|
|
13987
|
-
var _window$
|
|
13986
|
+
var _window$Pelcro, _window$Pelcro$site, _window$Pelcro2, _window$Pelcro2$user, _window$Pelcro3, _window$Pelcro3$uiSet, _window$Pelcro4;
|
|
13988
13987
|
event.addMetadata("MetaData", {
|
|
13989
|
-
site: (_window$
|
|
13990
|
-
user: (_window$
|
|
13991
|
-
uiVersion: (_window$
|
|
13992
|
-
environment: (_window$
|
|
13988
|
+
site: (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$site = _window$Pelcro.site) === null || _window$Pelcro$site === void 0 ? void 0 : _window$Pelcro$site.read(),
|
|
13989
|
+
user: (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$user = _window$Pelcro2.user) === null || _window$Pelcro2$user === void 0 ? void 0 : _window$Pelcro2$user.read(),
|
|
13990
|
+
uiVersion: (_window$Pelcro3 = window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$uiSet = _window$Pelcro3.uiSettings) === null || _window$Pelcro3$uiSet === void 0 ? void 0 : _window$Pelcro3$uiSet.uiVersion,
|
|
13991
|
+
environment: (_window$Pelcro4 = window.Pelcro) === null || _window$Pelcro4 === void 0 ? void 0 : _window$Pelcro4.environment
|
|
13993
13992
|
});
|
|
13994
13993
|
});
|
|
13995
13994
|
});
|
package/dist/index.esm.js
CHANGED
|
@@ -13919,7 +13919,6 @@ class SelectModal extends Component {
|
|
|
13919
13919
|
constructor(props) {
|
|
13920
13920
|
super(props);
|
|
13921
13921
|
_defineProperty$3(this, "componentDidMount", () => {
|
|
13922
|
-
var _window$Pelcro$enviro, _window$Pelcro, _window$Pelcro$enviro2;
|
|
13923
13922
|
if (this.props.product) {
|
|
13924
13923
|
const {
|
|
13925
13924
|
product
|
|
@@ -13951,15 +13950,15 @@ class SelectModal extends Component {
|
|
|
13951
13950
|
this.props.setView('register');
|
|
13952
13951
|
}
|
|
13953
13952
|
document.addEventListener("keydown", this.handleSubmit);
|
|
13954
|
-
if (document.querySelector("#pelcro-selection-
|
|
13953
|
+
if (!document.querySelector("#pelcro-selection-view") || !document.querySelector(".pelcro-select-product-wrapper")) {
|
|
13955
13954
|
notifyBugsnag(() => {
|
|
13956
13955
|
Bugsnag.notify("SelectModal - No data viewed", event => {
|
|
13957
|
-
var _window$
|
|
13956
|
+
var _window$Pelcro, _window$Pelcro$site, _window$Pelcro2, _window$Pelcro2$user, _window$Pelcro3, _window$Pelcro3$uiSet, _window$Pelcro4;
|
|
13958
13957
|
event.addMetadata("MetaData", {
|
|
13959
|
-
site: (_window$
|
|
13960
|
-
user: (_window$
|
|
13961
|
-
uiVersion: (_window$
|
|
13962
|
-
environment: (_window$
|
|
13958
|
+
site: (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$site = _window$Pelcro.site) === null || _window$Pelcro$site === void 0 ? void 0 : _window$Pelcro$site.read(),
|
|
13959
|
+
user: (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$user = _window$Pelcro2.user) === null || _window$Pelcro2$user === void 0 ? void 0 : _window$Pelcro2$user.read(),
|
|
13960
|
+
uiVersion: (_window$Pelcro3 = window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$uiSet = _window$Pelcro3.uiSettings) === null || _window$Pelcro3$uiSet === void 0 ? void 0 : _window$Pelcro3$uiSet.uiVersion,
|
|
13961
|
+
environment: (_window$Pelcro4 = window.Pelcro) === null || _window$Pelcro4 === void 0 ? void 0 : _window$Pelcro4.environment
|
|
13963
13962
|
});
|
|
13964
13963
|
});
|
|
13965
13964
|
});
|