@paperless/core 2.0.1-beta.213 → 2.0.1-beta.215
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 +23 -0
- package/dist/build/p-416583ea.entry.js +2 -0
- package/dist/build/p-416583ea.entry.js.map +1 -0
- package/dist/build/p-d66074fb.entry.js +2 -0
- package/dist/build/p-d66074fb.entry.js.map +1 -0
- package/dist/build/{p-14ce8446.js → p-d84791f9.js} +1 -1
- 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-fdc0fdc4.entry.js +2 -0
- package/dist/build/p-fdc0fdc4.entry.js.map +1 -0
- package/dist/build/p-navbar.entry.esm.js.map +1 -1
- package/dist/build/p-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +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/cjs/p-navbar.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navbar.entry.cjs.js.map +1 -1
- package/dist/cjs/p-pagination.p-pagination-pages.p-pagination-size.entry.cjs.js.map +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +5 -5
- package/dist/cjs/p-pagination_3.cjs.entry.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.css +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +4 -4
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.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/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
- package/dist/components/{p-B_fPJROs.js → p-0Sq-J0dV.js} +7 -7
- package/dist/components/p-0Sq-J0dV.js.map +1 -0
- package/dist/components/{p-Bp1thCw3.js → p-D-WCLevz.js} +13 -8
- package/dist/components/p-D-WCLevz.js.map +1 -0
- package/dist/components/p-navbar.js +2 -2
- package/dist/components/p-navbar.js.map +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table.js +2 -2
- 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/esm/p-navbar.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js.map +1 -1
- package/dist/esm/p-pagination.p-pagination-pages.p-pagination-size.entry.js.map +1 -1
- package/dist/esm/p-pagination_3.entry.js +5 -5
- package/dist/esm/p-pagination_3.entry.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-416583ea.entry.js +2 -0
- package/dist/paperless/p-416583ea.entry.js.map +1 -0
- 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/p-fdc0fdc4.entry.js +2 -0
- package/dist/paperless/p-fdc0fdc4.entry.js.map +1 -0
- package/dist/paperless/p-navbar.entry.esm.js.map +1 -1
- package/dist/paperless/p-pagination.p-pagination-pages.p-pagination-size.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-339c0424.entry.js +0 -2
- package/dist/build/p-339c0424.entry.js.map +0 -1
- package/dist/build/p-a6fb3a0e.entry.js +0 -2
- package/dist/build/p-a6fb3a0e.entry.js.map +0 -1
- package/dist/build/p-c9cf90b5.entry.js +0 -2
- package/dist/build/p-c9cf90b5.entry.js.map +0 -1
- package/dist/components/p-B_fPJROs.js.map +0 -1
- package/dist/components/p-Bp1thCw3.js.map +0 -1
- package/dist/paperless/p-339c0424.entry.js +0 -2
- package/dist/paperless/p-339c0424.entry.js.map +0 -1
- package/dist/paperless/p-a6fb3a0e.entry.js +0 -2
- package/dist/paperless/p-a6fb3a0e.entry.js.map +0 -1
- package/dist/paperless/p-c9cf90b5.entry.js +0 -2
- package/dist/paperless/p-c9cf90b5.entry.js.map +0 -1
|
@@ -406,9 +406,7 @@ const TableFooter = class {
|
|
|
406
406
|
_hasPaginationPages = true;
|
|
407
407
|
_hidePageSizeSelect = false;
|
|
408
408
|
_hidden = false;
|
|
409
|
-
|
|
410
|
-
this._checkStuck();
|
|
411
|
-
}
|
|
409
|
+
_renderCheckTimeout;
|
|
412
410
|
componentWillRender() {
|
|
413
411
|
this._hidePageSizeSelect =
|
|
414
412
|
this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
@@ -419,12 +417,19 @@ const TableFooter = class {
|
|
|
419
417
|
this.hiddenChange.emit(hidden);
|
|
420
418
|
}
|
|
421
419
|
}
|
|
420
|
+
componentDidRender() {
|
|
421
|
+
if (this._renderCheckTimeout) {
|
|
422
|
+
clearTimeout(this._renderCheckTimeout);
|
|
423
|
+
this._renderCheckTimeout = null;
|
|
424
|
+
}
|
|
425
|
+
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 100);
|
|
426
|
+
}
|
|
422
427
|
render() {
|
|
423
|
-
return (h("div", { key: '
|
|
428
|
+
return (h("div", { key: 'bf5b2c3969f4b704284b1c517366c2ea8a039761', class: footer({
|
|
424
429
|
pinned: this._isPinned,
|
|
425
430
|
hidden: this._hidden,
|
|
426
431
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
427
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
432
|
+
this.total > 0 && (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) }))));
|
|
428
433
|
}
|
|
429
434
|
_changePageSize(s) {
|
|
430
435
|
if (!s) {
|