@paperless/core 2.0.1-beta.213 → 2.0.1-beta.214
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 +11 -0
- package/dist/build/p-d66074fb.entry.js +2 -0
- package/dist/build/p-d66074fb.entry.js.map +1 -0
- package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/build/{p-14ce8446.js → p-f835be85.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-empty-state_9.cjs.entry.js +10 -5
- package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +10 -5
- package/dist/collection/components/molecules/table/footer/table-footer.component.js.map +1 -1
- package/dist/components/{p-Bp1thCw3.js → p-DG_ErDCc.js} +12 -7
- package/dist/components/p-DG_ErDCc.js.map +1 -0
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
- package/dist/esm/p-empty-state_9.entry.js +10 -5
- package/dist/esm/p-empty-state_9.entry.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-d66074fb.entry.js +2 -0
- package/dist/paperless/p-d66074fb.entry.js.map +1 -0
- package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/table/footer/table-footer.component.d.ts +2 -1
- package/package.json +1 -1
- package/dist/build/p-a6fb3a0e.entry.js +0 -2
- package/dist/build/p-a6fb3a0e.entry.js.map +0 -1
- package/dist/components/p-Bp1thCw3.js.map +0 -1
- package/dist/paperless/p-a6fb3a0e.entry.js +0 -2
- package/dist/paperless/p-a6fb3a0e.entry.js.map +0 -1
|
@@ -408,9 +408,7 @@ const TableFooter = class {
|
|
|
408
408
|
_hasPaginationPages = true;
|
|
409
409
|
_hidePageSizeSelect = false;
|
|
410
410
|
_hidden = false;
|
|
411
|
-
|
|
412
|
-
this._checkStuck();
|
|
413
|
-
}
|
|
411
|
+
_renderCheckTimeout;
|
|
414
412
|
componentWillRender() {
|
|
415
413
|
this._hidePageSizeSelect =
|
|
416
414
|
this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
@@ -421,12 +419,19 @@ const TableFooter = class {
|
|
|
421
419
|
this.hiddenChange.emit(hidden);
|
|
422
420
|
}
|
|
423
421
|
}
|
|
422
|
+
componentDidRender() {
|
|
423
|
+
if (this._renderCheckTimeout) {
|
|
424
|
+
clearTimeout(this._renderCheckTimeout);
|
|
425
|
+
this._renderCheckTimeout = null;
|
|
426
|
+
}
|
|
427
|
+
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 100);
|
|
428
|
+
}
|
|
424
429
|
render() {
|
|
425
|
-
return (index.h("div", { key: '
|
|
430
|
+
return (index.h("div", { key: 'bf5b2c3969f4b704284b1c517366c2ea8a039761', class: footer({
|
|
426
431
|
pinned: this._isPinned,
|
|
427
432
|
hidden: this._hidden,
|
|
428
433
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
429
|
-
this.total > 0 && (index.h("p-pagination", { key: '
|
|
434
|
+
this.total > 0 && (index.h("p-pagination", { key: '2870d8354021b286e882a9bee648afcdbf19614e', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
|
|
430
435
|
}
|
|
431
436
|
_changePageSize(s) {
|
|
432
437
|
if (!s) {
|