@paperless/core 2.22.0-alpha.41 → 2.22.0-alpha.43
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/dist/{paperless/p-78ffff6a.entry.js → build/p-03121981.entry.js} +1 -1
- package/dist/build/p-1b335285.entry.js +1 -0
- package/dist/build/{p-c4d3df4f.js → p-53a82cc8.js} +1 -1
- package/dist/build/{p-f38db824.entry.js → p-96599994.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +6 -5
- package/dist/cjs/p-content-slider.cjs.entry.js +5 -4
- package/dist/cjs/p-empty-state_8.cjs.entry.js +4 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +6 -5
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +6 -5
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +5 -4
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +6 -5
- package/dist/collection/components/molecules/table/footer/table-footer.component.css +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +3 -2
- package/dist/components/{p-B1C3pWHd.js → p--y4GWpzd.js} +1 -1
- package/dist/components/{p-DKnG790x.js → p-B5p7dHkY.js} +1 -1
- package/dist/components/{p-B4SlrLmQ.js → p-BSZKPMsM.js} +1 -1
- package/dist/components/{p-DeN_SuJc.js → p-CLSdb2d9.js} +1 -1
- package/dist/components/{p-DrjlghgA.js → p-CsM6uU5j.js} +1 -1
- package/dist/components/{p-BhgmuAMP.js → p-DMxy9lYo.js} +1 -1
- package/dist/components/{p-J6tyjX7a.js → p-Di2sUFEC.js} +1 -1
- package/dist/components/{p-DBf1mJgp.js → p-LPQSLn5-.js} +1 -1
- package/dist/components/{p-C_cIWc9H.js → p-S2ExrdpO.js} +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/{p-D63yb0hu.js → p-eLkNCIS4.js} +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-gC6gM50g.js +1 -0
- package/dist/components/p-helper.js +1 -1
- 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-profile.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/p-checkbox_3.entry.js +6 -5
- package/dist/esm/p-content-slider.entry.js +5 -4
- package/dist/esm/p-empty-state_8.entry.js +4 -3
- package/dist/esm/p-tooltip.entry.js +6 -5
- package/dist/index.html +1 -1
- package/dist/{build/p-78ffff6a.entry.js → paperless/p-03121981.entry.js} +1 -1
- package/dist/paperless/p-1b335285.entry.js +1 -0
- package/dist/paperless/{p-f38db824.entry.js → p-96599994.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/hydrate/index.js +21 -17
- package/hydrate/index.mjs +21 -17
- package/package.json +2 -2
- package/dist/build/p-72da9cc9.entry.js +0 -1
- package/dist/components/p-B2QTs61q.js +0 -1
- package/dist/paperless/p-72da9cc9.entry.js +0 -1
- /package/dist/build/{p-d04029f6.entry.js → p-1c1eddff.entry.js} +0 -0
- /package/dist/paperless/{p-d04029f6.entry.js → p-1c1eddff.entry.js} +0 -0
package/hydrate/index.js
CHANGED
|
@@ -88780,11 +88780,12 @@ class ContentSlider {
|
|
|
88780
88780
|
this._checkLocation();
|
|
88781
88781
|
}
|
|
88782
88782
|
resizeHandler() {
|
|
88783
|
-
if (this._innerSliderRef) {
|
|
88784
|
-
|
|
88785
|
-
this._calculateWidth();
|
|
88786
|
-
this._calculateIndicator();
|
|
88783
|
+
if (!this._innerSliderRef) {
|
|
88784
|
+
return;
|
|
88787
88785
|
}
|
|
88786
|
+
this._innerSliderRef.style.setProperty('--tw-translate-x', '0px');
|
|
88787
|
+
this._calculateWidth();
|
|
88788
|
+
this._calculateIndicator();
|
|
88788
88789
|
}
|
|
88789
88790
|
_setInnerSliderReft(ref) {
|
|
88790
88791
|
this._innerSliderRef = ref;
|
|
@@ -94210,22 +94211,23 @@ class Dropdown {
|
|
|
94210
94211
|
this._checkButtons();
|
|
94211
94212
|
}
|
|
94212
94213
|
disconnectedCallback() {
|
|
94213
|
-
if (this._cleanup) {
|
|
94214
|
-
|
|
94215
|
-
this._cleanup = null;
|
|
94214
|
+
if (!this._cleanup) {
|
|
94215
|
+
return;
|
|
94216
94216
|
}
|
|
94217
|
+
this._cleanup();
|
|
94218
|
+
this._cleanup = null;
|
|
94217
94219
|
}
|
|
94218
94220
|
componentDidRender() {
|
|
94219
94221
|
this._checkButtons();
|
|
94220
94222
|
this._checkItems();
|
|
94221
94223
|
}
|
|
94222
94224
|
render() {
|
|
94223
|
-
return (hAsync(Host, { key: '
|
|
94225
|
+
return (hAsync(Host, { key: 'a17b79f6f52d1f05599c69325336023fc2f3e7aa', class: 'relative' }, hAsync("div", { key: '7a817d9ed9b99feaa7d6fb7da4a298f1f89699ad', class: 'trigger', onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: 'b1b8a2b4f4d874f34272b102799201963a6d0e8a', name: 'trigger' })), hAsync("div", { key: '5a4de9be5e8e7238c0b478013187fa8b6f86cdf6', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: 'b52f2e1f25e555ac036e903605bd5c4dcafced22', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94224
94226
|
strategy: this.strategy,
|
|
94225
94227
|
maxWidth: this.applyMaxWidth,
|
|
94226
94228
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94227
94229
|
isDatepicker: this.isDatepicker,
|
|
94228
|
-
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '
|
|
94230
|
+
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '45415dddb502b2bf3debfc096e88f12fef1a5829', name: 'items' })))));
|
|
94229
94231
|
}
|
|
94230
94232
|
_checkButtons(active = false) {
|
|
94231
94233
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -100425,11 +100427,12 @@ class TableExtraHeader {
|
|
|
100425
100427
|
}; }
|
|
100426
100428
|
}
|
|
100427
100429
|
|
|
100428
|
-
const tableFooterComponentCss = () => `.sticky{position:sticky}.z-\\[1\\]{z-index:1}*{box-sizing:border-box}:host{--tw-content:"";position:sticky;z-index:1}.static{position:static}.relative{position:relative}.z-\\[2\\]{z-index:2}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.justify-center{justify-content:center}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-20{padding-bottom:5rem}.pt-8{padding-top:2rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-0:after{content:var(--tw-content);left:0}.after\\:top-0:after{content:var(--tw-content);top:0}.after\\:z-\\[0\\]:after{content:var(--tw-content);z-index:0}.after\\:h-full:after{content:var(--tw-content);height:100%}.after\\:w-full:after{content:var(--tw-content);width:100%}.after\\:bg-gradient-to-t:after{background-image:linear-gradient(to top,var(--tw-gradient-stops));content:var(--tw-content)}.after\\:from-white:after{--tw-gradient-from:#fff var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.after\\:via-white\\/80:after{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.after\\:to-transparent:after{--tw-gradient-to:transparent var(--tw-gradient-to-position);content:var(--tw-content)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:64rem){.desktop-xs\\:py-8{padding-bottom:2rem;padding-top:2rem}}.dark\\:after\\:from-hurricane-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:from-hurricane-700:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}`;
|
|
100430
|
+
const tableFooterComponentCss = () => `.sticky{position:sticky}.z-\\[1\\]{z-index:1}*{box-sizing:border-box}:host{--tw-content:"";position:sticky;z-index:1}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.relative{position:relative}.z-\\[2\\]{z-index:2}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.justify-center{justify-content:center}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-20{padding-bottom:5rem}.pt-8{padding-top:2rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-0:after{content:var(--tw-content);left:0}.after\\:top-0:after{content:var(--tw-content);top:0}.after\\:z-\\[0\\]:after{content:var(--tw-content);z-index:0}.after\\:h-full:after{content:var(--tw-content);height:100%}.after\\:w-full:after{content:var(--tw-content);width:100%}.after\\:bg-gradient-to-t:after{background-image:linear-gradient(to top,var(--tw-gradient-stops));content:var(--tw-content)}.after\\:from-white:after{--tw-gradient-from:#fff var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.after\\:via-white\\/80:after{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.after\\:to-transparent:after{--tw-gradient-to:transparent var(--tw-gradient-to-position);content:var(--tw-content)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:64rem){.desktop-xs\\:py-8{padding-bottom:2rem;padding-top:2rem}}.dark\\:after\\:from-hurricane-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:from-hurricane-700:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}`;
|
|
100429
100431
|
|
|
100430
100432
|
const footer = cva([
|
|
100431
100433
|
'justify-center relative',
|
|
100432
100434
|
'w-full px-6',
|
|
100435
|
+
'pointer-events-none',
|
|
100433
100436
|
'after:absolute after:top-0 after:left-0 after:z-[0]',
|
|
100434
100437
|
'after:w-full after:h-full after:transition-opacity',
|
|
100435
100438
|
'after:bg-gradient-to-t after:from-white dark:after:from-hurricane-700 after:via-white/80 dark:after:via-hurricane-700/80 after:to-transparent',
|
|
@@ -100528,12 +100531,12 @@ class TableFooter {
|
|
|
100528
100531
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
100529
100532
|
}
|
|
100530
100533
|
render() {
|
|
100531
|
-
return (hAsync(ThemedHost, { key: '
|
|
100534
|
+
return (hAsync(ThemedHost, { key: 'b4d2d2593767e487424eea1aadc988b272b0d0b5' }, hAsync("div", { key: 'bc15f489a739c85e5082ca6b7098fd75e61f3257', class: footer({
|
|
100532
100535
|
pinned: this._isPinned,
|
|
100533
100536
|
hidden: this._hidden,
|
|
100534
100537
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
100535
100538
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
100536
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
100539
|
+
this.total > 0 && (hAsync("p-pagination", { key: '64f707817de608a06376420d6914c11af89b808f', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
100537
100540
|
}
|
|
100538
100541
|
_changePageSize(s) {
|
|
100539
100542
|
if (!s) {
|
|
@@ -110812,16 +110815,17 @@ class Tooltip {
|
|
|
110812
110815
|
this._update();
|
|
110813
110816
|
}
|
|
110814
110817
|
disconnectedCallback() {
|
|
110815
|
-
if (this._cleanup) {
|
|
110816
|
-
|
|
110817
|
-
this._cleanup = null;
|
|
110818
|
+
if (!this._cleanup) {
|
|
110819
|
+
return;
|
|
110818
110820
|
}
|
|
110821
|
+
this._cleanup();
|
|
110822
|
+
this._cleanup = null;
|
|
110819
110823
|
}
|
|
110820
110824
|
render() {
|
|
110821
|
-
return (hAsync(ThemedHost, { key: '
|
|
110825
|
+
return (hAsync(ThemedHost, { key: '927a65c827b316e40b2c7a67b0c1a5463457a995', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: '732bf5d85d3b6b76d767a5ef4deaab036c617e1b', name: 'trigger' }), hAsync("div", { key: '4b6ad7714c2363d0148245c2d225dd8fe98894eb', class: popover({
|
|
110822
110826
|
variant: this.variant,
|
|
110823
110827
|
strategy: this.strategy,
|
|
110824
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '
|
|
110828
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: 'ed5bb24dc56bd4459515ad8aac888de77fbaffbe', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: 'c869c7e2ec3b8d1acd3c891079cc24d8187c5423', class: 'w-[2px] bg-negative-red-500 dark:bg-negative-red-alternative' })), this.content ?? hAsync("slot", { key: '0f99a6654b8059b0f84bb99a6f1dbf9a52882f3f', name: 'content' })))));
|
|
110825
110829
|
}
|
|
110826
110830
|
clickHandler() {
|
|
110827
110831
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
package/hydrate/index.mjs
CHANGED
|
@@ -88778,11 +88778,12 @@ class ContentSlider {
|
|
|
88778
88778
|
this._checkLocation();
|
|
88779
88779
|
}
|
|
88780
88780
|
resizeHandler() {
|
|
88781
|
-
if (this._innerSliderRef) {
|
|
88782
|
-
|
|
88783
|
-
this._calculateWidth();
|
|
88784
|
-
this._calculateIndicator();
|
|
88781
|
+
if (!this._innerSliderRef) {
|
|
88782
|
+
return;
|
|
88785
88783
|
}
|
|
88784
|
+
this._innerSliderRef.style.setProperty('--tw-translate-x', '0px');
|
|
88785
|
+
this._calculateWidth();
|
|
88786
|
+
this._calculateIndicator();
|
|
88786
88787
|
}
|
|
88787
88788
|
_setInnerSliderReft(ref) {
|
|
88788
88789
|
this._innerSliderRef = ref;
|
|
@@ -94208,22 +94209,23 @@ class Dropdown {
|
|
|
94208
94209
|
this._checkButtons();
|
|
94209
94210
|
}
|
|
94210
94211
|
disconnectedCallback() {
|
|
94211
|
-
if (this._cleanup) {
|
|
94212
|
-
|
|
94213
|
-
this._cleanup = null;
|
|
94212
|
+
if (!this._cleanup) {
|
|
94213
|
+
return;
|
|
94214
94214
|
}
|
|
94215
|
+
this._cleanup();
|
|
94216
|
+
this._cleanup = null;
|
|
94215
94217
|
}
|
|
94216
94218
|
componentDidRender() {
|
|
94217
94219
|
this._checkButtons();
|
|
94218
94220
|
this._checkItems();
|
|
94219
94221
|
}
|
|
94220
94222
|
render() {
|
|
94221
|
-
return (hAsync(Host, { key: '
|
|
94223
|
+
return (hAsync(Host, { key: 'a17b79f6f52d1f05599c69325336023fc2f3e7aa', class: 'relative' }, hAsync("div", { key: '7a817d9ed9b99feaa7d6fb7da4a298f1f89699ad', class: 'trigger', onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: 'b1b8a2b4f4d874f34272b102799201963a6d0e8a', name: 'trigger' })), hAsync("div", { key: '5a4de9be5e8e7238c0b478013187fa8b6f86cdf6', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: 'b52f2e1f25e555ac036e903605bd5c4dcafced22', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94222
94224
|
strategy: this.strategy,
|
|
94223
94225
|
maxWidth: this.applyMaxWidth,
|
|
94224
94226
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94225
94227
|
isDatepicker: this.isDatepicker,
|
|
94226
|
-
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '
|
|
94228
|
+
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '45415dddb502b2bf3debfc096e88f12fef1a5829', name: 'items' })))));
|
|
94227
94229
|
}
|
|
94228
94230
|
_checkButtons(active = false) {
|
|
94229
94231
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -100423,11 +100425,12 @@ class TableExtraHeader {
|
|
|
100423
100425
|
}; }
|
|
100424
100426
|
}
|
|
100425
100427
|
|
|
100426
|
-
const tableFooterComponentCss = () => `.sticky{position:sticky}.z-\\[1\\]{z-index:1}*{box-sizing:border-box}:host{--tw-content:"";position:sticky;z-index:1}.static{position:static}.relative{position:relative}.z-\\[2\\]{z-index:2}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.justify-center{justify-content:center}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-20{padding-bottom:5rem}.pt-8{padding-top:2rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-0:after{content:var(--tw-content);left:0}.after\\:top-0:after{content:var(--tw-content);top:0}.after\\:z-\\[0\\]:after{content:var(--tw-content);z-index:0}.after\\:h-full:after{content:var(--tw-content);height:100%}.after\\:w-full:after{content:var(--tw-content);width:100%}.after\\:bg-gradient-to-t:after{background-image:linear-gradient(to top,var(--tw-gradient-stops));content:var(--tw-content)}.after\\:from-white:after{--tw-gradient-from:#fff var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.after\\:via-white\\/80:after{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.after\\:to-transparent:after{--tw-gradient-to:transparent var(--tw-gradient-to-position);content:var(--tw-content)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:64rem){.desktop-xs\\:py-8{padding-bottom:2rem;padding-top:2rem}}.dark\\:after\\:from-hurricane-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:from-hurricane-700:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}`;
|
|
100428
|
+
const tableFooterComponentCss = () => `.sticky{position:sticky}.z-\\[1\\]{z-index:1}*{box-sizing:border-box}:host{--tw-content:"";position:sticky;z-index:1}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.relative{position:relative}.z-\\[2\\]{z-index:2}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.justify-center{justify-content:center}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-20{padding-bottom:5rem}.pt-8{padding-top:2rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-0:after{content:var(--tw-content);left:0}.after\\:top-0:after{content:var(--tw-content);top:0}.after\\:z-\\[0\\]:after{content:var(--tw-content);z-index:0}.after\\:h-full:after{content:var(--tw-content);height:100%}.after\\:w-full:after{content:var(--tw-content);width:100%}.after\\:bg-gradient-to-t:after{background-image:linear-gradient(to top,var(--tw-gradient-stops));content:var(--tw-content)}.after\\:from-white:after{--tw-gradient-from:#fff var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.after\\:via-white\\/80:after{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.after\\:to-transparent:after{--tw-gradient-to:transparent var(--tw-gradient-to-position);content:var(--tw-content)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:64rem){.desktop-xs\\:py-8{padding-bottom:2rem;padding-top:2rem}}.dark\\:after\\:from-hurricane-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:from-hurricane-700:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}`;
|
|
100427
100429
|
|
|
100428
100430
|
const footer = cva([
|
|
100429
100431
|
'justify-center relative',
|
|
100430
100432
|
'w-full px-6',
|
|
100433
|
+
'pointer-events-none',
|
|
100431
100434
|
'after:absolute after:top-0 after:left-0 after:z-[0]',
|
|
100432
100435
|
'after:w-full after:h-full after:transition-opacity',
|
|
100433
100436
|
'after:bg-gradient-to-t after:from-white dark:after:from-hurricane-700 after:via-white/80 dark:after:via-hurricane-700/80 after:to-transparent',
|
|
@@ -100526,12 +100529,12 @@ class TableFooter {
|
|
|
100526
100529
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
100527
100530
|
}
|
|
100528
100531
|
render() {
|
|
100529
|
-
return (hAsync(ThemedHost, { key: '
|
|
100532
|
+
return (hAsync(ThemedHost, { key: 'b4d2d2593767e487424eea1aadc988b272b0d0b5' }, hAsync("div", { key: 'bc15f489a739c85e5082ca6b7098fd75e61f3257', class: footer({
|
|
100530
100533
|
pinned: this._isPinned,
|
|
100531
100534
|
hidden: this._hidden,
|
|
100532
100535
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
100533
100536
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
100534
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
100537
|
+
this.total > 0 && (hAsync("p-pagination", { key: '64f707817de608a06376420d6914c11af89b808f', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
100535
100538
|
}
|
|
100536
100539
|
_changePageSize(s) {
|
|
100537
100540
|
if (!s) {
|
|
@@ -110810,16 +110813,17 @@ class Tooltip {
|
|
|
110810
110813
|
this._update();
|
|
110811
110814
|
}
|
|
110812
110815
|
disconnectedCallback() {
|
|
110813
|
-
if (this._cleanup) {
|
|
110814
|
-
|
|
110815
|
-
this._cleanup = null;
|
|
110816
|
+
if (!this._cleanup) {
|
|
110817
|
+
return;
|
|
110816
110818
|
}
|
|
110819
|
+
this._cleanup();
|
|
110820
|
+
this._cleanup = null;
|
|
110817
110821
|
}
|
|
110818
110822
|
render() {
|
|
110819
|
-
return (hAsync(ThemedHost, { key: '
|
|
110823
|
+
return (hAsync(ThemedHost, { key: '927a65c827b316e40b2c7a67b0c1a5463457a995', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: '732bf5d85d3b6b76d767a5ef4deaab036c617e1b', name: 'trigger' }), hAsync("div", { key: '4b6ad7714c2363d0148245c2d225dd8fe98894eb', class: popover({
|
|
110820
110824
|
variant: this.variant,
|
|
110821
110825
|
strategy: this.strategy,
|
|
110822
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '
|
|
110826
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: 'ed5bb24dc56bd4459515ad8aac888de77fbaffbe', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: 'c869c7e2ec3b8d1acd3c891079cc24d8187c5423', class: 'w-[2px] bg-negative-red-500 dark:bg-negative-red-alternative' })), this.content ?? hAsync("slot", { key: '0f99a6654b8059b0f84bb99a6f1dbf9a52882f3f', name: 'content' })))));
|
|
110823
110827
|
}
|
|
110824
110828
|
clickHandler() {
|
|
110825
110829
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paperless/core",
|
|
3
|
-
"version": "2.22.0-alpha.
|
|
3
|
+
"version": "2.22.0-alpha.43",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
@@ -406,4 +406,4 @@
|
|
|
406
406
|
"workbox-build": "7.0.0"
|
|
407
407
|
},
|
|
408
408
|
"license": "MIT"
|
|
409
|
-
}
|
|
409
|
+
}
|