@paperless/core 2.14.18 → 2.15.0

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 (88) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/build/p-367d1ec2.entry.js +2 -0
  3. package/dist/build/p-367d1ec2.entry.js.map +1 -0
  4. package/dist/build/{p-35915192.js → p-41efd48b.js} +1 -1
  5. package/dist/build/p-a7d047a4.entry.js +2 -0
  6. package/dist/build/p-a7d047a4.entry.js.map +1 -0
  7. package/dist/build/p-c8c51618.entry.js +2 -0
  8. package/dist/build/p-c8c51618.entry.js.map +1 -0
  9. 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
  10. package/dist/build/p-table-column.entry.esm.js.map +1 -1
  11. package/dist/build/p-table.entry.esm.js.map +1 -1
  12. package/dist/build/paperless.esm.js +1 -1
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. 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
  15. package/dist/cjs/p-empty-state_8.cjs.entry.js +28 -12
  16. package/dist/cjs/p-empty-state_8.cjs.entry.js.map +1 -1
  17. package/dist/cjs/p-table-column.cjs.entry.js +4 -0
  18. package/dist/cjs/p-table-column.cjs.entry.js.map +1 -1
  19. package/dist/cjs/p-table-column.entry.cjs.js.map +1 -1
  20. package/dist/cjs/p-table.cjs.entry.js +6 -2
  21. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  22. package/dist/cjs/p-table.entry.cjs.js.map +1 -1
  23. package/dist/cjs/paperless.cjs.js +1 -1
  24. package/dist/collection/components/helpers/table/column/table-column.component.js +24 -0
  25. package/dist/collection/components/helpers/table/column/table-column.component.js.map +1 -1
  26. package/dist/collection/components/molecules/table/cell/table-cell.component.js +11 -4
  27. package/dist/collection/components/molecules/table/cell/table-cell.component.js.map +1 -1
  28. package/dist/collection/components/molecules/table/footer/table-footer.component.css +1 -1
  29. package/dist/collection/components/molecules/table/footer/table-footer.component.js +34 -5
  30. package/dist/collection/components/molecules/table/footer/table-footer.component.js.map +1 -1
  31. package/dist/collection/components/molecules/table/header/table-header.component.css +1 -1
  32. package/dist/collection/components/molecules/table/header/table-header.component.js +1 -1
  33. package/dist/collection/components/molecules/table/header/table-header.component.js.map +1 -1
  34. package/dist/collection/components/organisms/table/table.component.js +6 -2
  35. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  36. package/dist/components/{p-C93Yl1f2.js → p-BJ_tiVQ2.js} +4 -4
  37. package/dist/components/{p-C93Yl1f2.js.map → p-BJ_tiVQ2.js.map} +1 -1
  38. package/dist/components/{p-MpIEVhmn.js → p-DjVT03PN.js} +18 -8
  39. package/dist/components/p-DjVT03PN.js.map +1 -0
  40. package/dist/components/{p-dw4ui28s.js → p-Q0QulP11.js} +13 -6
  41. package/dist/components/p-Q0QulP11.js.map +1 -0
  42. package/dist/components/p-table-cell.js +1 -1
  43. package/dist/components/p-table-column.js +5 -0
  44. package/dist/components/p-table-column.js.map +1 -1
  45. package/dist/components/p-table-footer.js +1 -1
  46. package/dist/components/p-table-header.js +1 -1
  47. package/dist/components/p-table.js +9 -5
  48. package/dist/components/p-table.js.map +1 -1
  49. package/dist/esm/loader.js +1 -1
  50. 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
  51. package/dist/esm/p-empty-state_8.entry.js +28 -12
  52. package/dist/esm/p-empty-state_8.entry.js.map +1 -1
  53. package/dist/esm/p-table-column.entry.js +4 -0
  54. package/dist/esm/p-table-column.entry.js.map +1 -1
  55. package/dist/esm/p-table.entry.js +6 -2
  56. package/dist/esm/p-table.entry.js.map +1 -1
  57. package/dist/esm/paperless.js +1 -1
  58. package/dist/index.html +1 -1
  59. package/dist/paperless/p-367d1ec2.entry.js +2 -0
  60. package/dist/paperless/p-367d1ec2.entry.js.map +1 -0
  61. package/dist/paperless/p-a7d047a4.entry.js +2 -0
  62. package/dist/paperless/p-a7d047a4.entry.js.map +1 -0
  63. package/dist/paperless/p-c8c51618.entry.js +2 -0
  64. package/dist/paperless/p-c8c51618.entry.js.map +1 -0
  65. 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
  66. package/dist/paperless/p-table-column.entry.esm.js.map +1 -1
  67. package/dist/paperless/p-table.entry.esm.js.map +1 -1
  68. package/dist/paperless/paperless.esm.js +1 -1
  69. package/dist/sw.js +1 -1
  70. package/dist/sw.js.map +1 -1
  71. package/dist/types/components/helpers/table/column/table-column.component.d.ts +4 -0
  72. package/dist/types/components/molecules/table/footer/table-footer.component.d.ts +4 -0
  73. package/dist/types/components.d.ts +16 -0
  74. package/package.json +1 -1
  75. package/dist/build/p-320413a7.entry.js +0 -2
  76. package/dist/build/p-320413a7.entry.js.map +0 -1
  77. package/dist/build/p-4f549bc9.entry.js +0 -2
  78. package/dist/build/p-4f549bc9.entry.js.map +0 -1
  79. package/dist/build/p-6e1e0b97.entry.js +0 -2
  80. package/dist/build/p-6e1e0b97.entry.js.map +0 -1
  81. package/dist/components/p-MpIEVhmn.js.map +0 -1
  82. package/dist/components/p-dw4ui28s.js.map +0 -1
  83. package/dist/paperless/p-320413a7.entry.js +0 -2
  84. package/dist/paperless/p-320413a7.entry.js.map +0 -1
  85. package/dist/paperless/p-4f549bc9.entry.js +0 -2
  86. package/dist/paperless/p-4f549bc9.entry.js.map +0 -1
  87. package/dist/paperless/p-6e1e0b97.entry.js +0 -2
  88. package/dist/paperless/p-6e1e0b97.entry.js.map +0 -1
@@ -217,10 +217,17 @@ const TableCell = class {
217
217
  return (index.h("p-loader", { variant: 'ghost', class: 'h-6 w-[calc(100%-1rem)] flex-1 rounded' }));
218
218
  }
219
219
  return (index.h("div", { class: cn.cn('overflow-hidden text-ellipsis', {
220
- 'text-start': this.definition.align === 'start' ||
221
- this.definition.align === undefined,
222
- 'text-center': this.definition.align === 'center',
223
- 'text-end': this.definition.align === 'end',
220
+ flex: this.definition.flex,
221
+ 'justify-start': this.definition.flex &&
222
+ (this.definition.align === undefined ||
223
+ this.definition.align === 'start'),
224
+ 'justify-end': this.definition.flex && this.definition.align === 'end',
225
+ 'justify-center': this.definition.flex && this.definition.align === 'end',
226
+ 'text-start': !this.definition.flex &&
227
+ (this.definition.align === undefined ||
228
+ this.definition.align === 'start'),
229
+ 'text-center': !this.definition.flex && this.definition.align === 'center',
230
+ 'text-end': !this.definition.flex && this.definition.align === 'end',
224
231
  }) }, this.variant === 'header' ? (this.data.value) : this.definition.useSlot ? (index.h("slot", null)) : (this.template(this.data))));
225
232
  }
226
233
  _getColumnClasses() {
@@ -242,12 +249,12 @@ const TableContainer = class {
242
249
  };
243
250
  TableContainer.style = tableContainerComponentCss;
244
251
 
245
- const tableFooterComponentCss = ".sticky{position:sticky!important}.z-\\[1\\]{z-index:1!important}*{box-sizing:border-box}:host{--tw-content:\"\";position:sticky;z-index:1}.static{position:static!important}.relative{position:relative!important}.z-\\[2\\]{z-index:2!important}.flex{display:flex!important}.hidden{display:none!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-8{padding-bottom:2rem!important;padding-top:2rem!important}.after\\:absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\\:left-0:after{content:var(--tw-content)!important;left:0!important}.after\\:top-0:after{content:var(--tw-content)!important;top:0!important}.after\\:z-\\[0\\]:after{content:var(--tw-content)!important;z-index:0!important}.after\\:h-full:after{content:var(--tw-content)!important;height:100%!important}.after\\:w-full:after{content:var(--tw-content)!important;width:100%!important}.after\\:bg-gradient-to-t:after{background-image:linear-gradient(to top,var(--tw-gradient-stops))!important;content:var(--tw-content)!important}.after\\:from-white:after{--tw-gradient-from:#fff var(--tw-gradient-from-position)!important;--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.after\\:via-white\\/80:after{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.8) var(--tw-gradient-via-position),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.after\\:to-transparent:after{--tw-gradient-to:transparent var(--tw-gradient-to-position)!important;content:var(--tw-content)!important}.after\\:opacity-0:after{content:var(--tw-content)!important;opacity:0!important}.after\\:opacity-100:after{content:var(--tw-content)!important;opacity:1!important}.after\\:transition-opacity:after{content:var(--tw-content)!important;transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.dark\\:after\\:from-hurricane-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.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)!important;--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.dark\\:after\\:from-hurricane-700:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.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)!important;--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to)!important;content:var(--tw-content)!important}";
252
+ const tableFooterComponentCss = ".sticky{position:sticky!important}.z-\\[1\\]{z-index:1!important}*{box-sizing:border-box}:host{--tw-content:\"\";position:sticky;z-index:1}.static{position:static!important}.relative{position:relative!important}.z-\\[2\\]{z-index:2!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}.px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.py-8{padding-bottom:2rem!important;padding-top:2rem!important}.pb-20{padding-bottom:5rem!important}.pt-8{padding-top:2rem!important}.after\\:absolute:after{content:var(--tw-content)!important;position:absolute!important}.after\\:left-0:after{content:var(--tw-content)!important;left:0!important}.after\\:top-0:after{content:var(--tw-content)!important;top:0!important}.after\\:z-\\[0\\]:after{content:var(--tw-content)!important;z-index:0!important}.after\\:h-full:after{content:var(--tw-content)!important;height:100%!important}.after\\:w-full:after{content:var(--tw-content)!important;width:100%!important}.after\\:bg-gradient-to-t:after{background-image:linear-gradient(to top,var(--tw-gradient-stops))!important;content:var(--tw-content)!important}.after\\:from-white:after{--tw-gradient-from:#fff var(--tw-gradient-from-position)!important;--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.after\\:via-white\\/80:after{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.8) var(--tw-gradient-via-position),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.after\\:to-transparent:after{--tw-gradient-to:transparent var(--tw-gradient-to-position)!important;content:var(--tw-content)!important}.after\\:opacity-0:after{content:var(--tw-content)!important;opacity:0!important}.after\\:opacity-100:after{content:var(--tw-content)!important;opacity:1!important}.after\\:transition-opacity:after{content:var(--tw-content)!important;transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}@media (min-width:64rem){.desktop-xs\\:py-8{padding-bottom:2rem!important;padding-top:2rem!important}}.dark\\:after\\:from-hurricane-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.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)!important;--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.dark\\:after\\:from-hurricane-700:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important;content:var(--tw-content)!important}.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)!important;--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to)!important;content:var(--tw-content)!important}";
246
253
 
247
254
  const footer = index$1.cva([
248
255
  'justify-center relative',
249
- 'w-full py-8 px-6',
250
- 'after:absolute after:top-0 after:left-0 after:z-[0]',
256
+ 'w-full px-6',
257
+ 'after:absolute after:top-0 after:left-0 after:z-[0]',
251
258
  'after:w-full after:h-full after:transition-opacity',
252
259
  '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',
253
260
  ], {
@@ -260,6 +267,10 @@ const footer = index$1.cva([
260
267
  false: 'flex',
261
268
  true: 'hidden',
262
269
  },
270
+ tableHeaderHasAction: {
271
+ true: 'pt-8 pb-20 desktop-xs:py-8',
272
+ false: 'py-8',
273
+ },
263
274
  },
264
275
  });
265
276
  const TableFooter = class {
@@ -301,6 +312,10 @@ const TableFooter = class {
301
312
  * The options for the page size
302
313
  */
303
314
  pageSizeOptions = constants.PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS;
315
+ /**
316
+ * Wether the table header has an action to adjust for on mobile
317
+ */
318
+ tableHeaderHasAction = false;
304
319
  /**
305
320
  * Event whenever the page changes
306
321
  */
@@ -334,14 +349,15 @@ const TableFooter = class {
334
349
  clearTimeout(this._renderCheckTimeout);
335
350
  this._renderCheckTimeout = null;
336
351
  }
337
- this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 100);
352
+ this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
338
353
  }
339
354
  render() {
340
- return (index.h(themedHost_component.ThemedHost, { key: '3818bdb2adcf27abd0bddbfefa9af36361a5e440' }, index.h("div", { key: '79d2e850731244e1f0a798c495338f63a0fef8d0', class: footer({
355
+ return (index.h(themedHost_component.ThemedHost, { key: '4e733469026c4ee831bad2746c23e10b9fb4460f' }, index.h("div", { key: '086d244e013b9ecfe726eaedb02d161fc8198487', class: footer({
341
356
  pinned: this._isPinned,
342
357
  hidden: this._hidden,
358
+ tableHeaderHasAction: this.tableHeaderHasAction,
343
359
  }) }, (this.enablePaginationPages || this.enablePaginationSize) &&
344
- this.total > 0 && (index.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) })))));
360
+ this.total > 0 && (index.h("p-pagination", { key: '0a6d5d4d55ad3b6ec77959655b29ff064d60ddc6', 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) })))));
345
361
  }
346
362
  _changePageSize(s) {
347
363
  if (!s) {
@@ -9835,7 +9851,7 @@ function requireCjs () {
9835
9851
 
9836
9852
  var cjsExports = /*@__PURE__*/ requireCjs();
9837
9853
 
9838
- const tableHeaderComponentCss = "*{box-sizing:border-box}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.z-\\[1\\]{z-index:1!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.h-8{height:2rem!important}.w-3\\/4{width:75%!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:.5rem!important}.gap-4{gap:1rem!important}.justify-self-start{justify-self:start!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}@media (min-width:40rem){.tablet\\:flex{display:flex!important}.tablet\\:px-0{padding-left:0!important;padding-right:0!important}}@media (min-width:64rem){.desktop-xs\\:ml-auto{margin-left:auto!important}.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:max-w-60{max-width:15rem!important}.desktop-xs\\:flex-row{flex-direction:row!important}.desktop-xs\\:items-center{align-items:center!important}}.dark\\:text-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.15)!important}.dark\\:text-white\\/15:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.15)!important}";
9854
+ const tableHeaderComponentCss = "*{box-sizing:border-box}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.z-\\[1\\]{z-index:1!important}.z-\\[2\\]{z-index:2!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.h-8{height:2rem!important}.w-3\\/4{width:75%!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:.5rem!important}.gap-4{gap:1rem!important}.justify-self-start{justify-self:start!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}@media (min-width:40rem){.tablet\\:flex{display:flex!important}.tablet\\:px-0{padding-left:0!important;padding-right:0!important}}@media (min-width:64rem){.desktop-xs\\:ml-auto{margin-left:auto!important}.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:max-w-60{max-width:15rem!important}.desktop-xs\\:flex-row{flex-direction:row!important}.desktop-xs\\:items-center{align-items:center!important}}.dark\\:border-t-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1!important;border-top-color:rgb(70 75 84/var(--tw-border-opacity,1))!important}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))!important}.dark\\:text-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.15)!important}.dark\\:border-t-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1!important;border-top-color:rgb(70 75 84/var(--tw-border-opacity,1))!important}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))!important}.dark\\:text-white\\/15:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.15)!important}";
9839
9855
 
9840
9856
  const header = index$1.cva([
9841
9857
  'flex flex-col gap-2 z-[1]',
@@ -9978,7 +9994,7 @@ const TableHeader = class {
9978
9994
  : 'desktop-xs:hidden'}`, onClick: () => this.filter.emit() }, this.filterButtonTemplate
9979
9995
  ? this.filterButtonTemplate()
9980
9996
  : this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
9981
- this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.h("p-divider", { key: '69fa061c128034dc499d2f7548121d623701b111', variant: 'vertical', class: 'hidden h-4 tablet:flex dark:text-white/15' })), !this.loading && this.enableExport && (index.h("p-button", { key: '6bf0e38639cac6e886ca83d36879a838f14056dc', 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: 'b09deed8ab74a41bdbaebd53296144822c4575dd', name: 'custom-actions' })), this.enableAction && this.canUseAction && (index.h("div", { key: '9208470608e5c4648b9931cebb6a4b9e8382615f', 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))))));
9997
+ this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.h("p-divider", { key: '69fa061c128034dc499d2f7548121d623701b111', variant: 'vertical', class: 'hidden h-4 tablet:flex dark:text-white/15' })), !this.loading && this.enableExport && (index.h("p-button", { key: '6bf0e38639cac6e886ca83d36879a838f14056dc', 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: 'b09deed8ab74a41bdbaebd53296144822c4575dd', name: 'custom-actions' })), this.enableAction && this.canUseAction && (index.h("div", { key: 'c82822c61f4ace4b8b8c81573b9e776d3d6af9b2', class: 'fixed bottom-0 left-0 z-[2] block w-full border border-solid border-transparent bg-white p-4 desktop-xs:hidden dark:border-t-hurricane-400 dark:bg-hurricane-500' }, this._buttonTemplate(true))))));
9982
9998
  }
9983
9999
  async _setLocales() {
9984
10000
  this._locales = await localization.getLocaleComponentStrings(this._el);