@paperless/core 2.9.0 → 2.9.1

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 (28) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/{paperless/p-e5934335.entry.js → build/p-08b625cd.entry.js} +2 -2
  3. package/dist/build/p-08b625cd.entry.js.map +1 -0
  4. package/dist/build/{p-6f12eb4b.js → p-cc4d0190.js} +1 -1
  5. 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
  6. package/dist/build/paperless.esm.js +1 -1
  7. 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
  8. package/dist/cjs/p-empty-state_8.cjs.entry.js +4 -5
  9. package/dist/cjs/p-empty-state_8.cjs.entry.js.map +1 -1
  10. package/dist/collection/components/molecules/table/header/table-header.component.js +4 -5
  11. package/dist/collection/components/molecules/table/header/table-header.component.js.map +1 -1
  12. package/dist/components/{p--8Wk5rpW.js → p-CbfQ0Wci.js} +6 -7
  13. package/dist/components/{p--8Wk5rpW.js.map → p-CbfQ0Wci.js.map} +1 -1
  14. package/dist/components/p-table-header.js +1 -1
  15. package/dist/components/p-table.js +1 -1
  16. 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
  17. package/dist/esm/p-empty-state_8.entry.js +4 -5
  18. package/dist/esm/p-empty-state_8.entry.js.map +1 -1
  19. package/dist/index.html +1 -1
  20. package/dist/{build/p-e5934335.entry.js → paperless/p-08b625cd.entry.js} +2 -2
  21. package/dist/paperless/p-08b625cd.entry.js.map +1 -0
  22. 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
  23. package/dist/paperless/paperless.esm.js +1 -1
  24. package/dist/sw.js +1 -1
  25. package/dist/sw.js.map +1 -1
  26. package/package.json +1 -1
  27. package/dist/build/p-e5934335.entry.js.map +0 -1
  28. package/dist/paperless/p-e5934335.entry.js.map +0 -1
@@ -9963,7 +9963,6 @@ const TableHeader = class {
9963
9963
  .subscribe(value => this.queryChange.emit(value));
9964
9964
  }
9965
9965
  render() {
9966
- console.log(this.quickFilters);
9967
9966
  const quickFilters = typeof this.quickFilters === 'string'
9968
9967
  ? JSON.parse(this.quickFilters)
9969
9968
  : this.quickFilters;
@@ -9971,15 +9970,15 @@ const TableHeader = class {
9971
9970
  const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
9972
9971
  const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
9973
9972
  const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
9974
- return (index.h(themedHost_component.ThemedHost, { key: '03eb9222998750e214ac4739efcff3fa309ec896' }, index.h("div", { key: '56779e1118cd94d35019f6ecfd34534d0acf637c', class: header() }, this.loading && (index.h("p-loader", { key: '1d477e4edd8ee825c052ade61d6bd4b789e3beef', variant: 'ghost', class: 'hidden h-8 w-3/4 rounded desktop-xs:flex' })), !this.loading &&
9975
- (hasCustomFilterSlot || quickFilters.length > 0) && (index.h("div", { key: 'd549895fd00eba3a8fd9a0e384669ea187cc406a', class: 'flex flex-col justify-start gap-4 justify-self-start desktop-xs:flex-row' }, hasCustomFilterSlot && index.h("slot", { key: 'd144a719df510083d0a49e2a76df1b9a838265d6', name: 'custom-filter' }), quickFilters.length > 0 && (index.h("p-segment-container", { key: 'e93c5f54fe04e9eab91a60a6668de30c817c65f9', class: 'hidden desktop-xs:flex' }, quickFilters.map(item => (index.h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
9973
+ return (index.h(themedHost_component.ThemedHost, { key: 'b853afc278bcdc5615fe52928e49a08216f807e0' }, index.h("div", { key: 'cc1fb1ffe7376263d17fa0948160fa73b1d49f68', class: header() }, this.loading && (index.h("p-loader", { key: '156ab2edb7bb6e9ffe697ab547ec24c287d1ab4c', variant: 'ghost', class: 'hidden h-8 w-3/4 rounded desktop-xs:flex' })), !this.loading &&
9974
+ (hasCustomFilterSlot || quickFilters.length > 0) && (index.h("div", { key: 'f96b1d33ff36ddbb19fb4198554f74265923a1b9', class: 'flex flex-col justify-start gap-4 justify-self-start desktop-xs:flex-row' }, hasCustomFilterSlot && index.h("slot", { key: '5d401f179a913db5511a67d8ad1968df432ab722', name: 'custom-filter' }), quickFilters.length > 0 && (index.h("p-segment-container", { key: '37c7315ced7f7be6e39f59a8334eae08260b772e', class: 'hidden desktop-xs:flex' }, quickFilters.map(item => (index.h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
9976
9975
  ? item.text
9977
- : item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), index.h("div", { key: 'fbd63bc9bb07ab62ecac281c2b468fe4fae10c49', class: 'flex flex-col justify-end gap-2 desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center' }, this.enableSearch && (index.h("p-field", { key: 'aeca1ae55d84989b71d05ff473c9764526d0a7bd', icon: 'search', class: 'desktop-xs:max-w-60', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), index.h("div", { key: 'd9fdaa96ce3d56f041a1f95133349794954bdadb', class: 'flex items-center gap-2' }, this.enableFilter && (index.h("p-button", { key: '8f5ecb408b3ae9f09eb033194d29961ecba52c19', icon: 'filter', variant: 'secondary', class: `w-full ${this.enableFilterDesktop
9976
+ : item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), index.h("div", { key: '0199cc10cc0d7d992e8bc08097f7d0462db1e8f5', class: 'flex flex-col justify-end gap-2 desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center' }, this.enableSearch && (index.h("p-field", { key: 'e4daaddd95257ba880a0803242c492aa6888bc66', icon: 'search', class: 'desktop-xs:max-w-60', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), index.h("div", { key: '89e51f87a89f629c77b22c5fd0714662d452a5c6', class: 'flex items-center gap-2' }, this.enableFilter && (index.h("p-button", { key: '933b0ff84cb98c91d3bdb9bfa761bac3096b6d82', icon: 'filter', variant: 'secondary', class: `w-full ${this.enableFilterDesktop
9978
9977
  ? 'desktop-xs:w-auto'
9979
9978
  : 'desktop-xs:hidden'}`, onClick: () => this.filter.emit() }, this.filterButtonTemplate
9980
9979
  ? this.filterButtonTemplate()
9981
9980
  : this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
9982
- this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.h("p-divider", { key: 'bd3d24f1156607eb2b110e32b333793f0ce97121', variant: 'vertical', class: 'hidden h-4 tablet:flex dark:text-white/15' })), !this.loading && this.enableExport && (index.h("p-button", { key: 'fb656a5d2ca2ca8a41d6d87ffbedbfedacf33379', variant: 'secondary', icon: 'upload', class: 'desktop-xs:auto w-full', onClick: () => this.export.emit() }, localization.formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && index.h("slot", { key: '5e00c80f4b04b0b5649e35ea8fb548feb9efcffa', name: 'custom-actions' })), this.enableAction && this.canUseAction && (index.h("div", { key: 'a92bd3e14b9789b99935740902a660e343cac3b2', class: 'border-t-mystic-dark fixed bottom-0 left-0 block w-full border border-solid border-transparent bg-white p-4 desktop-xs:hidden' }, this._buttonTemplate(true))))));
9981
+ this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.h("p-divider", { key: 'f1432c63cb0b9758338dcc5eba1446cbce6e6494', variant: 'vertical', class: 'hidden h-4 tablet:flex dark:text-white/15' })), !this.loading && this.enableExport && (index.h("p-button", { key: '9599f305f6e200246a889177e4c3b3fd7a99d493', variant: 'secondary', icon: 'upload', class: 'desktop-xs:auto w-full', onClick: () => this.export.emit() }, localization.formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && index.h("slot", { key: '8afdb5ab4234df9aa5574fa8fb78d5fc51e14c2f', name: 'custom-actions' })), this.enableAction && this.canUseAction && (index.h("div", { key: '126a654009f3837c7aa9bc028a4e616c54c4f399', class: 'border-t-mystic-dark fixed bottom-0 left-0 block w-full border border-solid border-transparent bg-white p-4 desktop-xs:hidden' }, this._buttonTemplate(true))))));
9983
9982
  }
9984
9983
  async _setLocales() {
9985
9984
  this._locales = await localization.getLocaleComponentStrings(this._el);