@limetech/lime-elements 37.52.4 → 37.52.6

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.
@@ -24326,9 +24326,8 @@ const Table = class {
24326
24326
  this.pool.releaseAll();
24327
24327
  this.tabulator.destroy();
24328
24328
  }
24329
- const options = this.getOptions();
24330
24329
  const table = this.host.shadowRoot.querySelector('#tabulator-table');
24331
- this.initTabulatorComponent(table, options);
24330
+ this.initTabulatorComponent(table);
24332
24331
  }
24333
24332
  /*
24334
24333
  * Tabulator requires that the html element it's rendered inside
@@ -24337,21 +24336,19 @@ const Table = class {
24337
24336
  * is never run).
24338
24337
  *
24339
24338
  * @param table {HTMLElement}
24340
- * @param options {Tabulator.Options}
24341
24339
  *
24342
-
24343
24340
  */
24344
- initTabulatorComponent(table, options) {
24341
+ initTabulatorComponent(table) {
24345
24342
  // Some browsers do not implement the ResizeObserver API...
24346
24343
  // If that's the case lets just create the table no
24347
24344
  // matter if its rendered or not.
24348
24345
  if (!('ResizeObserver' in window)) {
24349
- this.tabulator = new Tabulator(table, options);
24346
+ this.tabulator = new Tabulator(table, this.getOptions());
24350
24347
  this.setSelection();
24351
24348
  return;
24352
24349
  }
24353
24350
  const observer = new ResizeObserver(() => {
24354
- this.tabulator = new Tabulator(table, options);
24351
+ this.tabulator = new Tabulator(table, this.getOptions());
24355
24352
  this.setSelection();
24356
24353
  observer.unobserve(table);
24357
24354
  });