@everchron/ec-shards 5.0.46 → 5.0.48

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.46",
3
+ "version": "5.0.48",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -179,7 +179,6 @@
179
179
  },
180
180
 
181
181
  setColumnCellsWidth(){
182
- console.log('setColumnCellsWidth:initialized', this.initialized)
183
182
  if(!this.initialized) {
184
183
  this.initialized = true
185
184
  return
@@ -236,7 +235,8 @@
236
235
  created(){
237
236
  this.cellFixedLeftOffset = this.fixedLeftOffset
238
237
  this.resizeObserver = new ResizeObserver(entries => {
239
- console.log('resizeObserver:created', entries, this.name)
238
+ if (this.resizable)
239
+ console.log('resizeObserver:created-as-resizable', this.name)
240
240
  entries.forEach(entry => {
241
241
  this.setColumnCellsWidth()
242
242
  })
@@ -244,10 +244,11 @@
244
244
  },
245
245
 
246
246
  mounted(){
247
- console.log('resizeObserver:mounted', this.resizable, this.resizeObserver)
247
+ if (this.resizable)
248
+ console.log('resizeObserver:mounted:1', this.resizable, this.resizeObserver, this.name)
248
249
  if(this.resizable && this.resizeObserver){
249
250
  const resizeEl = document.querySelector('[data-column="'+ this.computedId +'"]')
250
- console.log('resizeObserver:mounted', resizeEl, this.name)
251
+ console.log('resizeObserver:mounted:2', resizeEl, this.name)
251
252
  this.resizeObserver.observe(resizeEl)
252
253
  }
253
254
  },