@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.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/limel-breadcrumbs_5.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_5.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +4 -7
- package/dist/cjs/limel-table.cjs.entry.js.map +1 -1
- package/dist/collection/components/input-field/input-field.js +1 -1
- package/dist/collection/components/input-field/input-field.js.map +1 -1
- package/dist/collection/components/table/table.js +4 -7
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/esm/limel-breadcrumbs_5.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_5.entry.js.map +1 -1
- package/dist/esm/limel-table.entry.js +4 -7
- package/dist/esm/limel-table.entry.js.map +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-1dd3ffae.entry.js → p-773e3d4f.entry.js} +4 -4
- package/dist/lime-elements/p-773e3d4f.entry.js.map +1 -0
- package/dist/lime-elements/{p-07963900.entry.js → p-82df48eb.entry.js} +2 -2
- package/dist/lime-elements/{p-07963900.entry.js.map → p-82df48eb.entry.js.map} +1 -1
- package/package.json +1 -1
- package/dist/lime-elements/p-1dd3ffae.entry.js.map +0 -1
|
@@ -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
|
|
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
|
|
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,
|
|
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,
|
|
24351
|
+
this.tabulator = new Tabulator(table, this.getOptions());
|
|
24355
24352
|
this.setSelection();
|
|
24356
24353
|
observer.unobserve(table);
|
|
24357
24354
|
});
|