@descope/web-components-ui 1.0.262 → 1.0.263
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.esm.js
CHANGED
@@ -7111,11 +7111,21 @@ customElements.define(componentName$a, ButtonMultiSelectionGroupInternalClass);
|
|
7111
7111
|
|
7112
7112
|
customElements.define(componentName$9, ButtonMultiSelectionGroupClass);
|
7113
7113
|
|
7114
|
+
/* eslint-disable no-param-reassign */
|
7115
|
+
|
7114
7116
|
class GridTextColumnClass extends GridSortColumn {
|
7115
7117
|
get sortable() {
|
7116
7118
|
return this.getAttribute('sortable') === 'true';
|
7117
7119
|
}
|
7118
7120
|
|
7121
|
+
_defaultRenderer(cell, _col, model) {
|
7122
|
+
const content = model.item[this.path];
|
7123
|
+
cell.innerHTML = content;
|
7124
|
+
if (Array.isArray(content)) {
|
7125
|
+
cell.innerHTML = content.join(', ');
|
7126
|
+
}
|
7127
|
+
}
|
7128
|
+
|
7119
7129
|
_defaultHeaderRenderer(root, _column) {
|
7120
7130
|
if (this.sortable) {
|
7121
7131
|
super._defaultHeaderRenderer(root, _column);
|