@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.
Files changed (75) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/build/p-416583ea.entry.js +2 -0
  3. package/dist/build/p-416583ea.entry.js.map +1 -0
  4. package/dist/build/p-d66074fb.entry.js +2 -0
  5. package/dist/build/p-d66074fb.entry.js.map +1 -0
  6. package/dist/build/{p-14ce8446.js → p-d84791f9.js} +1 -1
  7. 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
  8. package/dist/build/p-fdc0fdc4.entry.js +2 -0
  9. package/dist/build/p-fdc0fdc4.entry.js.map +1 -0
  10. package/dist/build/p-navbar.entry.esm.js.map +1 -1
  11. package/dist/build/p-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
  12. package/dist/build/paperless.esm.js +1 -1
  13. 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
  14. package/dist/cjs/p-empty-state_9.cjs.entry.js +10 -5
  15. package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
  16. package/dist/cjs/p-navbar.cjs.entry.js +2 -2
  17. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  18. package/dist/cjs/p-navbar.entry.cjs.js.map +1 -1
  19. package/dist/cjs/p-pagination.p-pagination-pages.p-pagination-size.entry.cjs.js.map +1 -1
  20. package/dist/cjs/p-pagination_3.cjs.entry.js +5 -5
  21. package/dist/cjs/p-pagination_3.cjs.entry.js.map +1 -1
  22. package/dist/collection/components/molecules/pagination/pagination/pagination.component.css +1 -1
  23. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +4 -4
  24. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js.map +1 -1
  25. package/dist/collection/components/molecules/table/footer/table-footer.component.js +10 -5
  26. package/dist/collection/components/molecules/table/footer/table-footer.component.js.map +1 -1
  27. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
  28. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  29. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
  30. package/dist/components/{p-B_fPJROs.js → p-0Sq-J0dV.js} +7 -7
  31. package/dist/components/p-0Sq-J0dV.js.map +1 -0
  32. package/dist/components/{p-Bp1thCw3.js → p-D-WCLevz.js} +13 -8
  33. package/dist/components/p-D-WCLevz.js.map +1 -0
  34. package/dist/components/p-navbar.js +2 -2
  35. package/dist/components/p-navbar.js.map +1 -1
  36. package/dist/components/p-pagination.js +1 -1
  37. package/dist/components/p-table-footer.js +1 -1
  38. package/dist/components/p-table.js +2 -2
  39. 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
  40. package/dist/esm/p-empty-state_9.entry.js +10 -5
  41. package/dist/esm/p-empty-state_9.entry.js.map +1 -1
  42. package/dist/esm/p-navbar.entry.js +2 -2
  43. package/dist/esm/p-navbar.entry.js.map +1 -1
  44. package/dist/esm/p-pagination.p-pagination-pages.p-pagination-size.entry.js.map +1 -1
  45. package/dist/esm/p-pagination_3.entry.js +5 -5
  46. package/dist/esm/p-pagination_3.entry.js.map +1 -1
  47. package/dist/index.html +1 -1
  48. package/dist/paperless/p-416583ea.entry.js +2 -0
  49. package/dist/paperless/p-416583ea.entry.js.map +1 -0
  50. package/dist/paperless/p-d66074fb.entry.js +2 -0
  51. package/dist/paperless/p-d66074fb.entry.js.map +1 -0
  52. 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
  53. package/dist/paperless/p-fdc0fdc4.entry.js +2 -0
  54. package/dist/paperless/p-fdc0fdc4.entry.js.map +1 -0
  55. package/dist/paperless/p-navbar.entry.esm.js.map +1 -1
  56. package/dist/paperless/p-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
  57. package/dist/paperless/paperless.esm.js +1 -1
  58. package/dist/sw.js +1 -1
  59. package/dist/sw.js.map +1 -1
  60. package/dist/types/components/molecules/table/footer/table-footer.component.d.ts +2 -1
  61. package/package.json +1 -1
  62. package/dist/build/p-339c0424.entry.js +0 -2
  63. package/dist/build/p-339c0424.entry.js.map +0 -1
  64. package/dist/build/p-a6fb3a0e.entry.js +0 -2
  65. package/dist/build/p-a6fb3a0e.entry.js.map +0 -1
  66. package/dist/build/p-c9cf90b5.entry.js +0 -2
  67. package/dist/build/p-c9cf90b5.entry.js.map +0 -1
  68. package/dist/components/p-B_fPJROs.js.map +0 -1
  69. package/dist/components/p-Bp1thCw3.js.map +0 -1
  70. package/dist/paperless/p-339c0424.entry.js +0 -2
  71. package/dist/paperless/p-339c0424.entry.js.map +0 -1
  72. package/dist/paperless/p-a6fb3a0e.entry.js +0 -2
  73. package/dist/paperless/p-a6fb3a0e.entry.js.map +0 -1
  74. package/dist/paperless/p-c9cf90b5.entry.js +0 -2
  75. 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
- componentDidLoad() {
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: '71abb11d9155b26054cb08fdc59948feb284e6f4', class: footer({
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: 'd993e1ebf8fbd20f806ad282f4e223801e052212', 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) }))));
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) {