@websy/websy-designs 1.11.17 → 1.11.18

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.
@@ -7521,10 +7521,14 @@ class WebsyTable3 {
7521
7521
  render (data, calcSizes = true) {
7522
7522
  if (!this.options.columns) {
7523
7523
  console.log(`No columns provided for table with ID ${this.elementId}`)
7524
+ // this prevents any conditionally hidden elements from blocking
7525
+ this._isRendered = true
7524
7526
  return
7525
7527
  }
7526
7528
  if (this.options.columns.length === 0) {
7527
7529
  console.log(`No columns provided for table with ID ${this.elementId}`)
7530
+ // this prevents any conditionally hidden elements from blocking
7531
+ this._isRendered = true
7528
7532
  return
7529
7533
  }
7530
7534
  // this.data = []
@@ -7547,6 +7551,8 @@ class WebsyTable3 {
7547
7551
  let bodyEl = document.getElementById(`${this.elementId}_tableBody`)
7548
7552
  if (!bodyEl) {
7549
7553
  // something isn't right so exit the function
7554
+ // this prevents any conditionally hidden elements from blocking
7555
+ this._isRendered = true
7550
7556
  return
7551
7557
  }
7552
7558
  // bodyEl.innerHTML = this.buildBodyHtml(data, true)
@@ -10183,6 +10189,10 @@ class WebsyKPI {
10183
10189
  el.innerHTML = html
10184
10190
  this._isRendered = true
10185
10191
  }
10192
+ else {
10193
+ // this prevents any conditionally hidden elements from blocking
10194
+ this._isRendered = true
10195
+ }
10186
10196
  }
10187
10197
  }
10188
10198
 
@@ -7243,10 +7243,14 @@ var WebsyTable3 = /*#__PURE__*/function () {
7243
7243
  var calcSizes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
7244
7244
  if (!this.options.columns) {
7245
7245
  console.log("No columns provided for table with ID ".concat(this.elementId));
7246
+ // this prevents any conditionally hidden elements from blocking
7247
+ this._isRendered = true;
7246
7248
  return;
7247
7249
  }
7248
7250
  if (this.options.columns.length === 0) {
7249
7251
  console.log("No columns provided for table with ID ".concat(this.elementId));
7252
+ // this prevents any conditionally hidden elements from blocking
7253
+ this._isRendered = true;
7250
7254
  return;
7251
7255
  }
7252
7256
  // this.data = []
@@ -7269,6 +7273,8 @@ var WebsyTable3 = /*#__PURE__*/function () {
7269
7273
  var bodyEl = document.getElementById("".concat(this.elementId, "_tableBody"));
7270
7274
  if (!bodyEl) {
7271
7275
  // something isn't right so exit the function
7276
+ // this prevents any conditionally hidden elements from blocking
7277
+ this._isRendered = true;
7272
7278
  return;
7273
7279
  }
7274
7280
  // bodyEl.innerHTML = this.buildBodyHtml(data, true)
@@ -9667,6 +9673,9 @@ var WebsyKPI = /*#__PURE__*/function () {
9667
9673
  html += " \n </div>\n </div>\n ";
9668
9674
  el.innerHTML = html;
9669
9675
  this._isRendered = true;
9676
+ } else {
9677
+ // this prevents any conditionally hidden elements from blocking
9678
+ this._isRendered = true;
9670
9679
  }
9671
9680
  }
9672
9681
  }]);