@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.
|
@@ -8411,10 +8411,14 @@ class WebsyTable3 {
|
|
|
8411
8411
|
render (data, calcSizes = true) {
|
|
8412
8412
|
if (!this.options.columns) {
|
|
8413
8413
|
console.log(`No columns provided for table with ID ${this.elementId}`)
|
|
8414
|
+
// this prevents any conditionally hidden elements from blocking
|
|
8415
|
+
this._isRendered = true
|
|
8414
8416
|
return
|
|
8415
8417
|
}
|
|
8416
8418
|
if (this.options.columns.length === 0) {
|
|
8417
8419
|
console.log(`No columns provided for table with ID ${this.elementId}`)
|
|
8420
|
+
// this prevents any conditionally hidden elements from blocking
|
|
8421
|
+
this._isRendered = true
|
|
8418
8422
|
return
|
|
8419
8423
|
}
|
|
8420
8424
|
// this.data = []
|
|
@@ -8437,6 +8441,8 @@ class WebsyTable3 {
|
|
|
8437
8441
|
let bodyEl = document.getElementById(`${this.elementId}_tableBody`)
|
|
8438
8442
|
if (!bodyEl) {
|
|
8439
8443
|
// something isn't right so exit the function
|
|
8444
|
+
// this prevents any conditionally hidden elements from blocking
|
|
8445
|
+
this._isRendered = true
|
|
8440
8446
|
return
|
|
8441
8447
|
}
|
|
8442
8448
|
// bodyEl.innerHTML = this.buildBodyHtml(data, true)
|
|
@@ -11501,6 +11507,10 @@ class WebsyKPI {
|
|
|
11501
11507
|
el.innerHTML = html
|
|
11502
11508
|
this._isRendered = true
|
|
11503
11509
|
}
|
|
11510
|
+
else {
|
|
11511
|
+
// this prevents any conditionally hidden elements from blocking
|
|
11512
|
+
this._isRendered = true
|
|
11513
|
+
}
|
|
11504
11514
|
}
|
|
11505
11515
|
}
|
|
11506
11516
|
|
package/dist/websy-designs.js
CHANGED
|
@@ -8121,10 +8121,14 @@ var WebsyTable3 = /*#__PURE__*/function () {
|
|
|
8121
8121
|
var calcSizes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
8122
8122
|
if (!this.options.columns) {
|
|
8123
8123
|
console.log("No columns provided for table with ID ".concat(this.elementId));
|
|
8124
|
+
// this prevents any conditionally hidden elements from blocking
|
|
8125
|
+
this._isRendered = true;
|
|
8124
8126
|
return;
|
|
8125
8127
|
}
|
|
8126
8128
|
if (this.options.columns.length === 0) {
|
|
8127
8129
|
console.log("No columns provided for table with ID ".concat(this.elementId));
|
|
8130
|
+
// this prevents any conditionally hidden elements from blocking
|
|
8131
|
+
this._isRendered = true;
|
|
8128
8132
|
return;
|
|
8129
8133
|
}
|
|
8130
8134
|
// this.data = []
|
|
@@ -8147,6 +8151,8 @@ var WebsyTable3 = /*#__PURE__*/function () {
|
|
|
8147
8151
|
var bodyEl = document.getElementById("".concat(this.elementId, "_tableBody"));
|
|
8148
8152
|
if (!bodyEl) {
|
|
8149
8153
|
// something isn't right so exit the function
|
|
8154
|
+
// this prevents any conditionally hidden elements from blocking
|
|
8155
|
+
this._isRendered = true;
|
|
8150
8156
|
return;
|
|
8151
8157
|
}
|
|
8152
8158
|
// bodyEl.innerHTML = this.buildBodyHtml(data, true)
|
|
@@ -10972,6 +10978,9 @@ var WebsyKPI = /*#__PURE__*/function () {
|
|
|
10972
10978
|
html += " \n </div>\n </div>\n ";
|
|
10973
10979
|
el.innerHTML = html;
|
|
10974
10980
|
this._isRendered = true;
|
|
10981
|
+
} else {
|
|
10982
|
+
// this prevents any conditionally hidden elements from blocking
|
|
10983
|
+
this._isRendered = true;
|
|
10975
10984
|
}
|
|
10976
10985
|
}
|
|
10977
10986
|
}]);
|