@everchron/ec-shards 5.0.68 → 5.0.70

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "5.0.68",
3
+ "version": "5.0.70",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -202,8 +202,6 @@
202
202
  /** Emitted when the column has been resized. Returns the new width of the column in pixels. */
203
203
  this.$emit('resizedWidth', { id: this.id, currentColumnWidth })
204
204
 
205
- console.log('columnCells', '[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]')
206
-
207
205
  let columnCells = document.querySelectorAll('[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]')
208
206
  columnCells.forEach(cell => {
209
207
  // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
@@ -211,15 +209,10 @@
211
209
  cell.style.width = `${ currentColumnWidth }px`
212
210
  })
213
211
 
214
- let headName = this.uniformName.toLowerCase().replace(' ', '-')
215
- const lastIndex = headName.lastIndexOf('-')
216
- headName = headName.substring(0, lastIndex)
217
- console.log('headName', '[data-headname=' + headName + '-column-head]')
218
- let columnHeads = document.querySelectorAll('[data-headname="documents-' + headName + '-column-head"]')
212
+ console.log('headName', '[data-headname="' + this.uniformName.toLowerCase() + '"]')
213
+ let columnHeads = document.querySelectorAll('[data-headname="' + this.uniformName.toLowerCase() + '"]')
219
214
  console.log('columnHeads', columnHeads)
220
215
  columnHeads.forEach(cell => {
221
- // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
222
- // cell.parentElement.__vue__.setWidth(currentColumnWidth)
223
216
  cell.style.width = `${ currentColumnWidth }px`
224
217
  })
225
218