@everchron/ec-shards 5.0.48 → 5.0.49

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.48",
3
+ "version": "5.0.49",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -189,13 +189,8 @@
189
189
 
190
190
  /** Emitted when the column has been resized. Returns the new width of the column in pixels. */
191
191
  this.$emit('resizedWidth', { id: this.id, currentColumnWidth })
192
-
193
- console.log('setColumnCellsWidth:querySelector', '[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]')
194
192
 
195
193
  let columnCells = document.querySelectorAll('[data-column="' + this.name.toLowerCase().replace(' ', '-') + '-column-cell"]')
196
-
197
- console.log('setColumnCellsWidth:columnCells', columnCells)
198
-
199
194
  columnCells.forEach(cell => {
200
195
  // if (cell.parentElement && cell.parentElement.__vue__ && typeof cell.parentElement.__vue__.setWidth === 'function')
201
196
  // cell.parentElement.__vue__.setWidth(currentColumnWidth)
@@ -235,8 +230,6 @@
235
230
  created(){
236
231
  this.cellFixedLeftOffset = this.fixedLeftOffset
237
232
  this.resizeObserver = new ResizeObserver(entries => {
238
- if (this.resizable)
239
- console.log('resizeObserver:created-as-resizable', this.name)
240
233
  entries.forEach(entry => {
241
234
  this.setColumnCellsWidth()
242
235
  })
@@ -244,11 +237,8 @@
244
237
  },
245
238
 
246
239
  mounted(){
247
- if (this.resizable)
248
- console.log('resizeObserver:mounted:1', this.resizable, this.resizeObserver, this.name)
249
240
  if(this.resizable && this.resizeObserver){
250
241
  const resizeEl = document.querySelector('[data-column="'+ this.computedId +'"]')
251
- console.log('resizeObserver:mounted:2', resizeEl, this.name)
252
242
  this.resizeObserver.observe(resizeEl)
253
243
  }
254
244
  },