@paperless/core 2.13.3 → 2.13.4
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/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/{p-7167f89b.js → p-2b4b5267.js} +1 -1
- package/dist/{paperless/p-69fea92c.entry.js → build/p-93a93d0f.entry.js} +2 -2
- package/dist/build/p-93a93d0f.entry.js.map +1 -0
- package/dist/build/{p-5fd4c545.entry.js → p-9cf9511c.entry.js} +2 -2
- package/dist/build/p-9cf9511c.entry.js.map +1 -0
- package/dist/build/p-ad24ad2d.entry.js +2 -0
- package/dist/build/p-ad24ad2d.entry.js.map +1 -0
- package/dist/build/p-e09980d3.entry.js +2 -0
- package/dist/build/p-e09980d3.entry.js.map +1 -0
- package/dist/build/p-empty-state.p-floating-menu-container.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-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
- package/dist/build/p-select.entry.esm.js.map +1 -1
- package/dist/build/p-table.entry.esm.js.map +1 -1
- package/dist/build/p-vyRrSf5s.js +2 -0
- package/dist/build/p-vyRrSf5s.js.map +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/constants-1Wc57Pbb.js +14 -0
- package/dist/cjs/constants-1Wc57Pbb.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/p-empty-state.p-floating-menu-container.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_8.cjs.entry.js +5 -5
- package/dist/cjs/p-empty-state_8.cjs.entry.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 +15 -15
- package/dist/cjs/p-pagination_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +6 -5
- package/dist/cjs/p-select.cjs.entry.js.map +1 -1
- package/dist/cjs/p-select.entry.cjs.js.map +1 -1
- package/dist/cjs/p-table.cjs.entry.js +6 -6
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table.entry.cjs.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +4 -3
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +8 -8
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +10 -10
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js.map +1 -1
- package/dist/collection/components/molecules/select/select.component.js +7 -6
- package/dist/collection/components/molecules/select/select.component.js.map +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +7 -7
- package/dist/collection/components/molecules/table/footer/table-footer.component.js.map +1 -1
- package/dist/collection/components/organisms/table/table.component.js +8 -8
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/collection/utils/constants.js +6 -0
- package/dist/collection/utils/constants.js.map +1 -0
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-Yka0dtes.js → p-BFQL_bAk.js} +11 -13
- package/dist/components/p-BFQL_bAk.js.map +1 -0
- package/dist/components/{p-WmvYLNeJ.js → p-CBjkQAGw.js} +10 -9
- package/dist/components/p-CBjkQAGw.js.map +1 -0
- package/dist/components/{p-CYATHl_a.js → p-CVo3m-zN.js} +10 -9
- package/dist/components/p-CVo3m-zN.js.map +1 -0
- package/dist/components/{p-DhG7TpID.js → p-CWsTTbrU.js} +5 -4
- package/dist/components/p-CWsTTbrU.js.map +1 -0
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-select.js +6 -5
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table.js +10 -9
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-vyRrSf5s.js +10 -0
- package/dist/components/p-vyRrSf5s.js.map +1 -0
- package/dist/esm/constants-vyRrSf5s.js +10 -0
- package/dist/esm/constants-vyRrSf5s.js.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/p-empty-state.p-floating-menu-container.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_8.entry.js +5 -5
- package/dist/esm/p-empty-state_8.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 +15 -15
- package/dist/esm/p-pagination_3.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +6 -5
- package/dist/esm/p-select.entry.js.map +1 -1
- package/dist/esm/p-table.entry.js +6 -6
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/{build/p-69fea92c.entry.js → paperless/p-93a93d0f.entry.js} +2 -2
- package/dist/paperless/p-93a93d0f.entry.js.map +1 -0
- package/dist/paperless/{p-5fd4c545.entry.js → p-9cf9511c.entry.js} +2 -2
- package/dist/paperless/p-9cf9511c.entry.js.map +1 -0
- package/dist/paperless/p-ad24ad2d.entry.js +2 -0
- package/dist/paperless/p-ad24ad2d.entry.js.map +1 -0
- package/dist/paperless/p-e09980d3.entry.js +2 -0
- package/dist/paperless/p-e09980d3.entry.js.map +1 -0
- package/dist/paperless/p-empty-state.p-floating-menu-container.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-pagination.p-pagination-pages.p-pagination-size.entry.esm.js.map +1 -1
- package/dist/paperless/p-select.entry.esm.js.map +1 -1
- package/dist/paperless/p-table.entry.esm.js.map +1 -1
- package/dist/paperless/p-vyRrSf5s.js +2 -0
- package/dist/paperless/p-vyRrSf5s.js.map +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/utils/constants.d.ts +3 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/build/p-5fd4c545.entry.js.map +0 -1
- package/dist/build/p-69fea92c.entry.js.map +0 -1
- package/dist/build/p-7d4ba7b3.entry.js +0 -2
- package/dist/build/p-7d4ba7b3.entry.js.map +0 -1
- package/dist/build/p-DOp5eUxu.js +0 -2
- package/dist/build/p-DOp5eUxu.js.map +0 -1
- package/dist/build/p-b6db4300.entry.js +0 -2
- package/dist/build/p-b6db4300.entry.js.map +0 -1
- package/dist/cjs/constants-BmCCabnv.js +0 -10
- package/dist/cjs/constants-BmCCabnv.js.map +0 -1
- package/dist/collection/components/molecules/pagination/size/constants.js +0 -3
- package/dist/collection/components/molecules/pagination/size/constants.js.map +0 -1
- package/dist/components/p-CYATHl_a.js.map +0 -1
- package/dist/components/p-DhG7TpID.js.map +0 -1
- package/dist/components/p-WmvYLNeJ.js.map +0 -1
- package/dist/components/p-Yka0dtes.js.map +0 -1
- package/dist/esm/constants-DOp5eUxu.js +0 -7
- package/dist/esm/constants-DOp5eUxu.js.map +0 -1
- package/dist/paperless/p-5fd4c545.entry.js.map +0 -1
- package/dist/paperless/p-69fea92c.entry.js.map +0 -1
- package/dist/paperless/p-7d4ba7b3.entry.js +0 -2
- package/dist/paperless/p-7d4ba7b3.entry.js.map +0 -1
- package/dist/paperless/p-DOp5eUxu.js +0 -2
- package/dist/paperless/p-DOp5eUxu.js.map +0 -1
- package/dist/paperless/p-b6db4300.entry.js +0 -2
- package/dist/paperless/p-b6db4300.entry.js.map +0 -1
- package/dist/types/components/molecules/pagination/size/constants.d.ts +0 -2
|
@@ -6,7 +6,7 @@ import { f as formatTranslation, g as getLocaleComponentStrings } from './locali
|
|
|
6
6
|
import { g as getTableCellColumnClasses } from './table-helpers-Cx32XkzF.js';
|
|
7
7
|
import { o as objectGetByPath } from './object-get-by-path-CrdJDtHg.js';
|
|
8
8
|
import { c as cn } from './cn-BniKgfyU.js';
|
|
9
|
-
import {
|
|
9
|
+
import { P as PAGINATION_DEFAULT_PAGE_SIZE, a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS } from './constants-vyRrSf5s.js';
|
|
10
10
|
import './clsx-ChV9xqsO.js';
|
|
11
11
|
import './state-DKMgUotc.js';
|
|
12
12
|
|
|
@@ -294,11 +294,11 @@ const TableFooter = class {
|
|
|
294
294
|
/**
|
|
295
295
|
* The amount of items per page
|
|
296
296
|
*/
|
|
297
|
-
pageSize =
|
|
297
|
+
pageSize = PAGINATION_DEFAULT_PAGE_SIZE;
|
|
298
298
|
/**
|
|
299
299
|
* The options for the page size
|
|
300
300
|
*/
|
|
301
|
-
pageSizeOptions =
|
|
301
|
+
pageSizeOptions = PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS;
|
|
302
302
|
/**
|
|
303
303
|
* Event whenever the page changes
|
|
304
304
|
*/
|
|
@@ -335,11 +335,11 @@ const TableFooter = class {
|
|
|
335
335
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 100);
|
|
336
336
|
}
|
|
337
337
|
render() {
|
|
338
|
-
return (h(ThemedHost, { key: '
|
|
338
|
+
return (h(ThemedHost, { key: '3818bdb2adcf27abd0bddbfefa9af36361a5e440' }, h("div", { key: '79d2e850731244e1f0a798c495338f63a0fef8d0', class: footer({
|
|
339
339
|
pinned: this._isPinned,
|
|
340
340
|
hidden: this._hidden,
|
|
341
341
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
342
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
342
|
+
this.total > 0 && (h("p-pagination", { key: '0a5bf305304ad88009edf5fd40cb5183788b84c0', 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) })))));
|
|
343
343
|
}
|
|
344
344
|
_changePageSize(s) {
|
|
345
345
|
if (!s) {
|