@websy/websy-designs 1.7.5 → 1.7.6
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/websy-designs-es6.debug.js +2 -1
- package/dist/websy-designs-es6.js +3 -2
- package/dist/websy-designs-es6.min.js +1 -1
- package/dist/websy-designs.debug.js +2 -1
- package/dist/websy-designs.js +3 -2
- package/dist/websy-designs.min.css +1 -1
- package/dist/websy-designs.min.js +1 -1
- package/package.json +1 -1
|
@@ -6063,7 +6063,7 @@ class WebsyTable3 {
|
|
|
6063
6063
|
<div id="${this.elementId}_errorMessage"></div>
|
|
6064
6064
|
</div>
|
|
6065
6065
|
</div>
|
|
6066
|
-
<div id="${this.elementId}_dropdownContainer"></div>
|
|
6066
|
+
<div id="${this.elementId}_dropdownContainer" class="table-dropdown-container"></div>
|
|
6067
6067
|
<div id="${this.elementId}_loadingContainer"></div>
|
|
6068
6068
|
</div>
|
|
6069
6069
|
`
|
|
@@ -6748,6 +6748,7 @@ class WebsyTable3 {
|
|
|
6748
6748
|
return
|
|
6749
6749
|
}
|
|
6750
6750
|
// this.data = []
|
|
6751
|
+
this.currentData = []
|
|
6751
6752
|
// Adjust the sizing of the header/body/footer
|
|
6752
6753
|
if (calcSizes === true) {
|
|
6753
6754
|
const sample = this.createSample(data)
|
|
@@ -6637,7 +6637,7 @@ var WebsyTable3 = /*#__PURE__*/function () {
|
|
|
6637
6637
|
var el = document.getElementById(this.elementId);
|
|
6638
6638
|
|
|
6639
6639
|
if (el) {
|
|
6640
|
-
var html = "\n <div id='".concat(this.elementId, "_tableContainer' class='websy-vis-table-3 ").concat(this.options.paging === 'pages' ? 'with-paging' : '', " ").concat(this.options.virtualScroll === true ? 'with-virtual-scroll' : '', "'>\n <!--<div class=\"download-button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M16 11h5l-9 10-9-10h5v-11h8v11zm1 11h-10v2h10v-2z\"/></svg>\n </div>-->\n <div id=\"").concat(this.elementId, "_tableInner\" class=\"websy-table-inner-container\">\n <table id=\"").concat(this.elementId, "_tableHeader\" class=\"websy-table-header\"></table>\n <table id=\"").concat(this.elementId, "_tableBody\" class=\"websy-table-body\"></table>\n <table id=\"").concat(this.elementId, "_tableFooter\" class=\"websy-table-footer\"></table>\n <div id=\"").concat(this.elementId, "_vScrollContainer\" class=\"websy-v-scroll-container\">\n <div id=\"").concat(this.elementId, "_vScrollHandle\" class=\"websy-scroll-handle websy-scroll-handle-y\"></div>\n </div>\n <div id=\"").concat(this.elementId, "_hScrollContainer\" class=\"websy-h-scroll-container\">\n <div id=\"").concat(this.elementId, "_hScrollHandle\" class=\"websy-scroll-handle websy-scroll-handle-x\"></div>\n </div>\n <div id=\"").concat(this.elementId, "_touchScroller\" class=\"websy-table-touch-scroller hidden\"></div>\n </div> \n <div id=\"").concat(this.elementId, "_errorContainer\" class='websy-vis-error-container'>\n <div>\n <div id=\"").concat(this.elementId, "_errorTitle\"></div>\n <div id=\"").concat(this.elementId, "_errorMessage\"></div>\n </div> \n </div>\n <div id=\"").concat(this.elementId, "_dropdownContainer\"></div>\n <div id=\"").concat(this.elementId, "_loadingContainer\"></div>\n </div>\n ");
|
|
6640
|
+
var html = "\n <div id='".concat(this.elementId, "_tableContainer' class='websy-vis-table-3 ").concat(this.options.paging === 'pages' ? 'with-paging' : '', " ").concat(this.options.virtualScroll === true ? 'with-virtual-scroll' : '', "'>\n <!--<div class=\"download-button\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M16 11h5l-9 10-9-10h5v-11h8v11zm1 11h-10v2h10v-2z\"/></svg>\n </div>-->\n <div id=\"").concat(this.elementId, "_tableInner\" class=\"websy-table-inner-container\">\n <table id=\"").concat(this.elementId, "_tableHeader\" class=\"websy-table-header\"></table>\n <table id=\"").concat(this.elementId, "_tableBody\" class=\"websy-table-body\"></table>\n <table id=\"").concat(this.elementId, "_tableFooter\" class=\"websy-table-footer\"></table>\n <div id=\"").concat(this.elementId, "_vScrollContainer\" class=\"websy-v-scroll-container\">\n <div id=\"").concat(this.elementId, "_vScrollHandle\" class=\"websy-scroll-handle websy-scroll-handle-y\"></div>\n </div>\n <div id=\"").concat(this.elementId, "_hScrollContainer\" class=\"websy-h-scroll-container\">\n <div id=\"").concat(this.elementId, "_hScrollHandle\" class=\"websy-scroll-handle websy-scroll-handle-x\"></div>\n </div>\n <div id=\"").concat(this.elementId, "_touchScroller\" class=\"websy-table-touch-scroller hidden\"></div>\n </div> \n <div id=\"").concat(this.elementId, "_errorContainer\" class='websy-vis-error-container'>\n <div>\n <div id=\"").concat(this.elementId, "_errorTitle\"></div>\n <div id=\"").concat(this.elementId, "_errorMessage\"></div>\n </div> \n </div>\n <div id=\"").concat(this.elementId, "_dropdownContainer\" class=\"table-dropdown-container\"></div>\n <div id=\"").concat(this.elementId, "_loadingContainer\"></div>\n </div>\n ");
|
|
6641
6641
|
|
|
6642
6642
|
if (this.options.paging === 'pages') {
|
|
6643
6643
|
html += "\n <div class=\"websy-table-paging-container\">\n Show <div id=\"".concat(this.elementId, "_pageSizeSelector\" class=\"websy-vis-page-selector\"></div> rows\n <ul id=\"").concat(this.elementId, "_pageList\" class=\"websy-vis-page-list\"></ul>\n </div>\n ");
|
|
@@ -7391,9 +7391,10 @@ var WebsyTable3 = /*#__PURE__*/function () {
|
|
|
7391
7391
|
console.log("No columns provided for table with ID ".concat(this.elementId));
|
|
7392
7392
|
return;
|
|
7393
7393
|
} // this.data = []
|
|
7394
|
-
// Adjust the sizing of the header/body/footer
|
|
7395
7394
|
|
|
7396
7395
|
|
|
7396
|
+
this.currentData = []; // Adjust the sizing of the header/body/footer
|
|
7397
|
+
|
|
7397
7398
|
if (calcSizes === true) {
|
|
7398
7399
|
var sample = this.createSample(data);
|
|
7399
7400
|
this.calculateSizes(sample, data.length, (data[0] || []).length, 0);
|