@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 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-modal").offsetHeight < ((_window$Pelcro$enviro = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$enviro2 = _window$Pelcro.environment) === null || _window$Pelcro$enviro2 === void 0 ? void 0 : _window$Pelcro$enviro2.bugsnagSelectModalHeight) !== null && _window$Pelcro$enviro !== void 0 ? _window$Pelcro$enviro : 60)) {
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$Pelcro2, _window$Pelcro2$site, _window$Pelcro3, _window$Pelcro3$user, _window$Pelcro4, _window$Pelcro4$uiSet, _window$Pelcro5;
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$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$site = _window$Pelcro2.site) === null || _window$Pelcro2$site === void 0 ? void 0 : _window$Pelcro2$site.read(),
13990
- user: (_window$Pelcro3 = window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$user = _window$Pelcro3.user) === null || _window$Pelcro3$user === void 0 ? void 0 : _window$Pelcro3$user.read(),
13991
- uiVersion: (_window$Pelcro4 = window.Pelcro) === null || _window$Pelcro4 === void 0 ? void 0 : (_window$Pelcro4$uiSet = _window$Pelcro4.uiSettings) === null || _window$Pelcro4$uiSet === void 0 ? void 0 : _window$Pelcro4$uiSet.uiVersion,
13992
- environment: (_window$Pelcro5 = window.Pelcro) === null || _window$Pelcro5 === void 0 ? void 0 : _window$Pelcro5.environment
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-modal").offsetHeight < ((_window$Pelcro$enviro = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$enviro2 = _window$Pelcro.environment) === null || _window$Pelcro$enviro2 === void 0 ? void 0 : _window$Pelcro$enviro2.bugsnagSelectModalHeight) !== null && _window$Pelcro$enviro !== void 0 ? _window$Pelcro$enviro : 60)) {
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$Pelcro2, _window$Pelcro2$site, _window$Pelcro3, _window$Pelcro3$user, _window$Pelcro4, _window$Pelcro4$uiSet, _window$Pelcro5;
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$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$site = _window$Pelcro2.site) === null || _window$Pelcro2$site === void 0 ? void 0 : _window$Pelcro2$site.read(),
13960
- user: (_window$Pelcro3 = window.Pelcro) === null || _window$Pelcro3 === void 0 ? void 0 : (_window$Pelcro3$user = _window$Pelcro3.user) === null || _window$Pelcro3$user === void 0 ? void 0 : _window$Pelcro3$user.read(),
13961
- uiVersion: (_window$Pelcro4 = window.Pelcro) === null || _window$Pelcro4 === void 0 ? void 0 : (_window$Pelcro4$uiSet = _window$Pelcro4.uiSettings) === null || _window$Pelcro4$uiSet === void 0 ? void 0 : _window$Pelcro4$uiSet.uiVersion,
13962
- environment: (_window$Pelcro5 = window.Pelcro) === null || _window$Pelcro5 === void 0 ? void 0 : _window$Pelcro5.environment
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
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.19.0-beta.16",
4
+ "version": "3.19.0-beta.17",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",