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