@websy/websy-designs 1.4.18 → 1.4.20
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.
|
@@ -4626,7 +4626,7 @@ class WebsySearch {
|
|
|
4626
4626
|
el.innerHTML = `
|
|
4627
4627
|
<div class='websy-search-input-container'>
|
|
4628
4628
|
${this.options.searchIcon}
|
|
4629
|
-
<input id='${this.elementId}_search' class='websy-search-input' placeholder='${this.options.placeholder || 'Search'}'>
|
|
4629
|
+
<input id='${this.elementId}_search' class='websy-search-input' placeholder='${this.options.placeholder || 'Search'}' value='${this.options.initialValue || ''}'>
|
|
4630
4630
|
<div class='clear ${this.options.clearAlwaysOn === true ? '' : 'websy-hidden'}' id='${this.elementId}_clear'>
|
|
4631
4631
|
${this.options.clearIcon}
|
|
4632
4632
|
</div>
|
|
@@ -6352,7 +6352,7 @@ class WebsyTable3 {
|
|
|
6352
6352
|
style += col.style
|
|
6353
6353
|
}
|
|
6354
6354
|
headerHtml += `<td
|
|
6355
|
-
class='websy-table-cell'
|
|
6355
|
+
class='websy-table-cell ${colIndex < this.pinnedColumns ? 'pinned' : 'unpinned'}'
|
|
6356
6356
|
style='${style}'
|
|
6357
6357
|
colspan='${col.colspan || 1}'
|
|
6358
6358
|
rowspan='${col.rowspan || 1}'
|
package/dist/websy-designs.js
CHANGED
|
@@ -5119,7 +5119,7 @@ var WebsySearch = /*#__PURE__*/function () {
|
|
|
5119
5119
|
el.addEventListener('click', this.handleClick.bind(this));
|
|
5120
5120
|
el.addEventListener('keyup', this.handleKeyUp.bind(this));
|
|
5121
5121
|
el.addEventListener('keyup', this.handleKeyDown.bind(this));
|
|
5122
|
-
el.innerHTML = "\n <div class='websy-search-input-container'>\n ".concat(this.options.searchIcon, "\n <input id='").concat(this.elementId, "_search' class='websy-search-input' placeholder='").concat(this.options.placeholder || 'Search', "'>\n <div class='clear ").concat(this.options.clearAlwaysOn === true ? '' : 'websy-hidden', "' id='").concat(this.elementId, "_clear'>\n ").concat(this.options.clearIcon, "\n </div>\n </div>\n ");
|
|
5122
|
+
el.innerHTML = "\n <div class='websy-search-input-container'>\n ".concat(this.options.searchIcon, "\n <input id='").concat(this.elementId, "_search' class='websy-search-input' placeholder='").concat(this.options.placeholder || 'Search', "' value='").concat(this.options.initialValue || '', "'>\n <div class='clear ").concat(this.options.clearAlwaysOn === true ? '' : 'websy-hidden', "' id='").concat(this.elementId, "_clear'>\n ").concat(this.options.clearIcon, "\n </div>\n </div>\n ");
|
|
5123
5123
|
} else {
|
|
5124
5124
|
console.log('No element found with Id', elementId);
|
|
5125
5125
|
}
|
|
@@ -6930,7 +6930,7 @@ var WebsyTable3 = /*#__PURE__*/function () {
|
|
|
6930
6930
|
style += col.style;
|
|
6931
6931
|
}
|
|
6932
6932
|
|
|
6933
|
-
headerHtml += "<td \n class='websy-table-cell' \n style='".concat(style, "' \n colspan='").concat(col.colspan || 1, "'\n rowspan='").concat(col.rowspan || 1, "'\n "); // if (useWidths === true && rowIndex === this.options.columns.length - 1) {
|
|
6933
|
+
headerHtml += "<td \n class='websy-table-cell ".concat(colIndex < _this41.pinnedColumns ? 'pinned' : 'unpinned', "' \n style='").concat(style, "' \n colspan='").concat(col.colspan || 1, "'\n rowspan='").concat(col.rowspan || 1, "'\n "); // if (useWidths === true && rowIndex === this.options.columns.length - 1) {
|
|
6934
6934
|
// headerHtml += `
|
|
6935
6935
|
// style='width: ${col.width || col.actualWidth}px'
|
|
6936
6936
|
// width='${col.width || col.actualWidth}'
|