@paperless/core 2.22.0-alpha.41 → 2.22.0-alpha.42

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 (51) hide show
  1. package/dist/build/{p-78ffff6a.entry.js → p-03121981.entry.js} +1 -1
  2. package/dist/build/{p-c4d3df4f.js → p-08619fcd.js} +1 -1
  3. package/dist/{paperless/p-f38db824.entry.js → build/p-96599994.entry.js} +1 -1
  4. package/dist/build/paperless.esm.js +1 -1
  5. package/dist/cjs/p-checkbox_3.cjs.entry.js +6 -5
  6. package/dist/cjs/p-content-slider.cjs.entry.js +5 -4
  7. package/dist/cjs/p-tooltip.cjs.entry.js +6 -5
  8. package/dist/collection/components/atoms/tooltip/tooltip.component.js +6 -5
  9. package/dist/collection/components/molecules/content-slider/content-slider.component.js +5 -4
  10. package/dist/collection/components/molecules/dropdown/dropdown.component.js +6 -5
  11. package/dist/components/{p-B1C3pWHd.js → p--y4GWpzd.js} +1 -1
  12. package/dist/components/{p-DKnG790x.js → p-B5p7dHkY.js} +1 -1
  13. package/dist/components/{p-B4SlrLmQ.js → p-BSZKPMsM.js} +1 -1
  14. package/dist/components/{p-B2QTs61q.js → p-BgfQclFF.js} +1 -1
  15. package/dist/components/{p-DeN_SuJc.js → p-CLSdb2d9.js} +1 -1
  16. package/dist/components/{p-DrjlghgA.js → p-CsM6uU5j.js} +1 -1
  17. package/dist/components/{p-BhgmuAMP.js → p-DMxy9lYo.js} +1 -1
  18. package/dist/components/{p-J6tyjX7a.js → p-Di2sUFEC.js} +1 -1
  19. package/dist/components/{p-DBf1mJgp.js → p-LPQSLn5-.js} +1 -1
  20. package/dist/components/{p-C_cIWc9H.js → p-S2ExrdpO.js} +1 -1
  21. package/dist/components/p-attachment.js +1 -1
  22. package/dist/components/p-calendar.js +1 -1
  23. package/dist/components/p-datepicker.js +1 -1
  24. package/dist/components/p-dropdown.js +1 -1
  25. package/dist/components/{p-D63yb0hu.js → p-eLkNCIS4.js} +1 -1
  26. package/dist/components/p-field-container.js +1 -1
  27. package/dist/components/p-field.js +1 -1
  28. package/dist/components/p-helper.js +1 -1
  29. package/dist/components/p-pagination-pages.js +1 -1
  30. package/dist/components/p-pagination-size.js +1 -1
  31. package/dist/components/p-pagination.js +1 -1
  32. package/dist/components/p-profile.js +1 -1
  33. package/dist/components/p-select.js +1 -1
  34. package/dist/components/p-table-footer.js +1 -1
  35. package/dist/components/p-table-header.js +1 -1
  36. package/dist/components/p-table.js +1 -1
  37. package/dist/components/p-tooltip.js +1 -1
  38. package/dist/esm/p-checkbox_3.entry.js +6 -5
  39. package/dist/esm/p-content-slider.entry.js +5 -4
  40. package/dist/esm/p-tooltip.entry.js +6 -5
  41. package/dist/index.html +1 -1
  42. package/dist/paperless/{p-78ffff6a.entry.js → p-03121981.entry.js} +1 -1
  43. package/dist/{build/p-f38db824.entry.js → paperless/p-96599994.entry.js} +1 -1
  44. package/dist/paperless/paperless.esm.js +1 -1
  45. package/dist/sw.js +1 -1
  46. package/dist/sw.js.map +1 -1
  47. package/hydrate/index.js +17 -14
  48. package/hydrate/index.mjs +17 -14
  49. package/package.json +2 -2
  50. /package/dist/build/{p-d04029f6.entry.js → p-1c1eddff.entry.js} +0 -0
  51. /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
- this._innerSliderRef.style.setProperty('--tw-translate-x', '0px');
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
- this._cleanup();
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: 'a4b635c184cc8a58c74f1ba5dbb5f455df1a7b86', class: 'relative' }, hAsync("div", { key: 'd0d1a3f05d117bb2b3a28022e8737fae2f25fcb3', class: 'trigger', onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: '5697825e61fb1c07139663c6c5ac400c48da998a', name: 'trigger' })), hAsync("div", { key: '815b60a51d6b074e878eab047cac77cce5a3e337', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: '60bf00e8beb6e42e7629b57283d317bfe0a2b40a', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
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: '34a4da54cb7e3949a494b028b6188b9655b294c2', name: 'items' })))));
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"]');
@@ -110812,16 +110814,17 @@ class Tooltip {
110812
110814
  this._update();
110813
110815
  }
110814
110816
  disconnectedCallback() {
110815
- if (this._cleanup) {
110816
- this._cleanup();
110817
- this._cleanup = null;
110817
+ if (!this._cleanup) {
110818
+ return;
110818
110819
  }
110820
+ this._cleanup();
110821
+ this._cleanup = null;
110819
110822
  }
110820
110823
  render() {
110821
- return (hAsync(ThemedHost, { key: 'ef3333212b88389556fa76159040a9dd6e0c2e17', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: '095bf08cf3d45b3baaf9921796392b6b51e13719', name: 'trigger' }), hAsync("div", { key: '46dcc7888a6c2e66e1e5e7d5a9492f117775be30', class: popover({
110824
+ 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
110825
  variant: this.variant,
110823
110826
  strategy: this.strategy,
110824
- }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '5651334a58293cf9a6adc96b2d8cb1991691404a', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: '9db76dfaf31d1acbb72eedd0d90744bf913bb21f', class: 'w-[2px] bg-negative-red-500 dark:bg-negative-red-alternative' })), this.content ?? hAsync("slot", { key: '0bbaa654220dd3b99c26dd787c540a1ca85bd8af', name: 'content' })))));
110827
+ }), "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
110828
  }
110826
110829
  clickHandler() {
110827
110830
  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
- this._innerSliderRef.style.setProperty('--tw-translate-x', '0px');
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
- this._cleanup();
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: 'a4b635c184cc8a58c74f1ba5dbb5f455df1a7b86', class: 'relative' }, hAsync("div", { key: 'd0d1a3f05d117bb2b3a28022e8737fae2f25fcb3', class: 'trigger', onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: '5697825e61fb1c07139663c6c5ac400c48da998a', name: 'trigger' })), hAsync("div", { key: '815b60a51d6b074e878eab047cac77cce5a3e337', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: '60bf00e8beb6e42e7629b57283d317bfe0a2b40a', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
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: '34a4da54cb7e3949a494b028b6188b9655b294c2', name: 'items' })))));
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"]');
@@ -110810,16 +110812,17 @@ class Tooltip {
110810
110812
  this._update();
110811
110813
  }
110812
110814
  disconnectedCallback() {
110813
- if (this._cleanup) {
110814
- this._cleanup();
110815
- this._cleanup = null;
110815
+ if (!this._cleanup) {
110816
+ return;
110816
110817
  }
110818
+ this._cleanup();
110819
+ this._cleanup = null;
110817
110820
  }
110818
110821
  render() {
110819
- return (hAsync(ThemedHost, { key: 'ef3333212b88389556fa76159040a9dd6e0c2e17', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: '095bf08cf3d45b3baaf9921796392b6b51e13719', name: 'trigger' }), hAsync("div", { key: '46dcc7888a6c2e66e1e5e7d5a9492f117775be30', class: popover({
110822
+ 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
110823
  variant: this.variant,
110821
110824
  strategy: this.strategy,
110822
- }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '5651334a58293cf9a6adc96b2d8cb1991691404a', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: '9db76dfaf31d1acbb72eedd0d90744bf913bb21f', class: 'w-[2px] bg-negative-red-500 dark:bg-negative-red-alternative' })), this.content ?? hAsync("slot", { key: '0bbaa654220dd3b99c26dd787c540a1ca85bd8af', name: 'content' })))));
110825
+ }), "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
110826
  }
110824
110827
  clickHandler() {
110825
110828
  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.41",
3
+ "version": "2.22.0-alpha.42",
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
+ }