@paperless/core 2.15.3 → 2.16.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.
- package/CHANGELOG.md +31 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/{paperless/p-168e8d5c.entry.js → build/p-133e281e.entry.js} +2 -2
- package/dist/build/{p-95d812ef.entry.js → p-2d456ab7.entry.js} +2 -2
- package/dist/build/p-6dc60fc9.entry.js +2 -0
- package/dist/build/p-6dc60fc9.entry.js.map +1 -0
- package/dist/build/{p-13549fce.entry.js → p-7dc22659.entry.js} +2 -2
- package/dist/build/p-C-WRzhFe.js +2 -0
- package/dist/build/p-C-WRzhFe.js.map +1 -0
- package/dist/build/p-ab66da44.entry.js.map +1 -1
- package/dist/build/p-b94bc701.entry.js +2 -0
- package/dist/build/p-b94bc701.entry.js.map +1 -0
- package/dist/build/p-c59b1d50.entry.js +2 -0
- package/dist/build/p-c59b1d50.entry.js.map +1 -0
- package/dist/build/p-e2759375.js +2 -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-table-column.entry.esm.js.map +1 -1
- package/dist/build/p-table-extra-header.entry.esm.js.map +1 -0
- package/dist/build/p-table.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-Bt6zTh_b.js +4 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +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 +40 -27
- package/dist/cjs/p-empty-state_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-table-column.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table-column.entry.cjs.js.map +1 -1
- package/dist/cjs/p-table-extra-header.cjs.entry.js +49 -0
- package/dist/cjs/p-table-extra-header.cjs.entry.js.map +1 -0
- package/dist/cjs/p-table-extra-header.entry.cjs.js.map +1 -0
- package/dist/cjs/p-table.cjs.entry.js +20 -4
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table.entry.cjs.js.map +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/cjs/{table-helpers-DyPa1NIG.js → table-helpers-Du9NM7La.js} +7 -4
- package/dist/cjs/table-helpers-Du9NM7La.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/helpers/table/column/table-column.component.js +2 -2
- package/dist/collection/components/helpers/table/column/table-column.component.js.map +1 -1
- package/dist/collection/components/helpers/table/extra-header/table-extra-header.component.js +189 -0
- package/dist/collection/components/helpers/table/extra-header/table-extra-header.component.js.map +1 -0
- package/dist/collection/components/molecules/table/cell/table-cell.component.css +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +29 -5
- package/dist/collection/components/molecules/table/cell/table-cell.component.js.map +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/molecules/table/header/table-header.component.js.map +1 -1
- package/dist/collection/components/molecules/table/row/table-row.component.css +1 -1
- package/dist/collection/components/molecules/table/row/table-row.component.js +26 -17
- package/dist/collection/components/molecules/table/row/table-row.component.js.map +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +20 -3
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/collection/utils/table-helpers.js +5 -2
- package/dist/collection/utils/table-helpers.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DjVT03PN.js → p-BnFffAKh.js} +4 -4
- package/dist/components/{p-DjVT03PN.js.map → p-BnFffAKh.js.map} +1 -1
- package/dist/components/{p-1KS1K8BB.js → p-CT2cHZ7O.js} +7 -4
- package/dist/components/p-CT2cHZ7O.js.map +1 -0
- package/dist/components/{p-BJ_tiVQ2.js → p-C_WKf2Pq.js} +6 -6
- package/dist/components/{p-BJ_tiVQ2.js.map → p-C_WKf2Pq.js.map} +1 -1
- package/dist/components/p-Dyc4CMNs.js +124 -0
- package/dist/components/p-Dyc4CMNs.js.map +1 -0
- package/dist/components/p-h9R5XZgN.js +147 -0
- package/dist/components/p-h9R5XZgN.js.map +1 -0
- package/dist/components/p-listing.js +2 -2
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-column.js.map +1 -1
- package/dist/components/p-table-extra-header.d.ts +11 -0
- package/dist/components/p-table-extra-header.js +72 -0
- package/dist/components/p-table-extra-header.js.map +1 -0
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +25 -8
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/esm/index-Dpmiv2da.js +4 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +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 +40 -27
- package/dist/esm/p-empty-state_8.entry.js.map +1 -1
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-table-column.entry.js.map +1 -1
- package/dist/esm/p-table-extra-header.entry.js +47 -0
- package/dist/esm/p-table-extra-header.entry.js.map +1 -0
- package/dist/esm/p-table.entry.js +20 -4
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/esm/{table-helpers-Cx32XkzF.js → table-helpers-DozDU2EV.js} +7 -4
- package/dist/esm/table-helpers-DozDU2EV.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/{build/p-168e8d5c.entry.js → paperless/p-133e281e.entry.js} +2 -2
- package/dist/paperless/{p-95d812ef.entry.js → p-2d456ab7.entry.js} +2 -2
- package/dist/paperless/p-6dc60fc9.entry.js +2 -0
- package/dist/paperless/p-6dc60fc9.entry.js.map +1 -0
- package/dist/paperless/{p-13549fce.entry.js → p-7dc22659.entry.js} +2 -2
- package/dist/paperless/p-C-WRzhFe.js +2 -0
- package/dist/paperless/p-C-WRzhFe.js.map +1 -0
- package/dist/paperless/p-ab66da44.entry.js.map +1 -1
- package/dist/paperless/p-b94bc701.entry.js +2 -0
- package/dist/paperless/p-b94bc701.entry.js.map +1 -0
- package/dist/paperless/p-c59b1d50.entry.js +2 -0
- package/dist/paperless/p-c59b1d50.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-table-column.entry.esm.js.map +1 -1
- package/dist/paperless/p-table-extra-header.entry.esm.js.map +1 -0
- package/dist/paperless/p-table.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/helpers/table/column/table-column.component.d.ts +1 -1
- package/dist/types/components/helpers/table/extra-header/table-extra-header.component.d.ts +34 -0
- package/dist/types/components/molecules/table/cell/table-cell.component.d.ts +5 -1
- package/dist/types/components/molecules/table/row/table-row.component.d.ts +1 -1
- package/dist/types/components/organisms/table/table.component.d.ts +3 -0
- package/dist/types/components.d.ts +106 -6
- package/dist/types/utils/table-helpers.d.ts +2 -2
- package/package.json +1 -1
- package/dist/build/p-367d1ec2.entry.js +0 -2
- package/dist/build/p-367d1ec2.entry.js.map +0 -1
- package/dist/build/p-3dd76a64.js +0 -2
- package/dist/build/p-D8FNwRNH.js +0 -2
- package/dist/build/p-D8FNwRNH.js.map +0 -1
- package/dist/build/p-a7d047a4.entry.js +0 -2
- package/dist/build/p-a7d047a4.entry.js.map +0 -1
- package/dist/cjs/table-helpers-DyPa1NIG.js.map +0 -1
- package/dist/components/p-1KS1K8BB.js.map +0 -1
- package/dist/components/p-BORmwkco.js +0 -138
- package/dist/components/p-BORmwkco.js.map +0 -1
- package/dist/components/p-Q0QulP11.js +0 -119
- package/dist/components/p-Q0QulP11.js.map +0 -1
- package/dist/esm/table-helpers-Cx32XkzF.js.map +0 -1
- package/dist/paperless/p-367d1ec2.entry.js +0 -2
- package/dist/paperless/p-367d1ec2.entry.js.map +0 -1
- package/dist/paperless/p-D8FNwRNH.js +0 -2
- package/dist/paperless/p-D8FNwRNH.js.map +0 -1
- package/dist/paperless/p-a7d047a4.entry.js +0 -2
- package/dist/paperless/p-a7d047a4.entry.js.map +0 -1
- /package/dist/build/{p-168e8d5c.entry.js.map → p-133e281e.entry.js.map} +0 -0
- /package/dist/build/{p-95d812ef.entry.js.map → p-2d456ab7.entry.js.map} +0 -0
- /package/dist/build/{p-13549fce.entry.js.map → p-7dc22659.entry.js.map} +0 -0
- /package/dist/paperless/{p-168e8d5c.entry.js.map → p-133e281e.entry.js.map} +0 -0
- /package/dist/paperless/{p-95d812ef.entry.js.map → p-2d456ab7.entry.js.map} +0 -0
- /package/dist/paperless/{p-13549fce.entry.js.map → p-7dc22659.entry.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import { c as cva } from './index-CO0T2jO4.js';
|
|
|
3
3
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
4
|
import { T as ThemedHost } from './themed-host.component-C8HmhEcP.js';
|
|
5
5
|
import { f as formatTranslation, g as getLocaleComponentStrings } from './localization-DiJj8rmO.js';
|
|
6
|
-
import { g as getTableCellColumnClasses } from './table-helpers-
|
|
6
|
+
import { g as getTableCellColumnClasses } from './table-helpers-DozDU2EV.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
9
|
import { P as PAGINATION_DEFAULT_PAGE_SIZE, a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS } from './constants-vyRrSf5s.js';
|
|
@@ -154,7 +154,7 @@ const FloatingMenuContainer = class {
|
|
|
154
154
|
};
|
|
155
155
|
FloatingMenuContainer.style = floatingMenuContainerComponentCss;
|
|
156
156
|
|
|
157
|
-
const tableCellComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.table{display:table!important}.table-cell{display:table-cell!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-1\\/12{width:8.333333%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-\\[calc\\(100\\%-1rem\\)\\]{width:calc(100% - 1rem)!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.pr-0{padding-right:0!important}.pr-4{padding-right:1rem!important}.text-center{text-align:center!important}.text-start{text-align:start!important}.text-end{text-align:end!important}.font-semibold{font-weight:600!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.last-of-type\\:pr-0:last-of-type{padding-right:0!important}.group:hover .group-hover\\:flex{display:flex!important}.group:hover .group-hover\\:hidden{display:none!important}@media (min-width:40rem){.tablet\\:flex{display:flex!important}.tablet\\:hidden{display:none!important}.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:pr-0{padding-right:0!important}.tablet\\:pr-4{padding-right:1rem!important}.group:hover .tablet\\:group-hover\\:flex{display:flex!important}.group:hover .tablet\\:group-hover\\:hidden{display:none!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:pr-0{padding-right:0!important}.desktop-xs\\:pr-4{padding-right:1rem!important}.group:hover .desktop-xs\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-xs\\:group-hover\\:hidden{display:none!important}}@media (min-width:80rem){.desktop-sm\\:flex{display:flex!important}.desktop-sm\\:hidden{display:none!important}.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:pr-0{padding-right:0!important}.desktop-sm\\:pr-4{padding-right:1rem!important}.group:hover .desktop-sm\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-sm\\:group-hover\\:hidden{display:none!important}}@media (min-width:85.375rem){.desktop\\:flex{display:flex!important}.desktop\\:hidden{display:none!important}.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:pr-0{padding-right:0!important}.desktop\\:pr-4{padding-right:1rem!important}.group:hover .desktop\\:group-hover\\:flex{display:flex!important}.group:hover .desktop\\:group-hover\\:hidden{display:none!important}}@media (min-width:90rem){.desktop-lg\\:flex{display:flex!important}.desktop-lg\\:hidden{display:none!important}.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:pr-0{padding-right:0!important}.desktop-lg\\:pr-4{padding-right:1rem!important}.group:hover .desktop-lg\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-lg\\:group-hover\\:hidden{display:none!important}}@media (min-width:120rem){.desktop-xl\\:flex{display:flex!important}.desktop-xl\\:hidden{display:none!important}.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:pr-0{padding-right:0!important}.desktop-xl\\:pr-4{padding-right:1rem!important}.group:hover .desktop-xl\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-xl\\:group-hover\\:hidden{display:none!important}}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
|
|
157
|
+
const tableCellComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.table{display:table!important}.table-cell{display:table-cell!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-1\\/12{width:8.333333%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-\\[calc\\(100\\%-1rem\\)\\]{width:calc(100% - 1rem)!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.pl-8{padding-left:2rem!important}.pr-0{padding-right:0!important}.pr-4{padding-right:1rem!important}.text-center{text-align:center!important}.text-start{text-align:start!important}.text-end{text-align:end!important}.font-semibold{font-weight:600!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.last-of-type\\:pr-0:last-of-type{padding-right:0!important}.group:hover .group-hover\\:flex{display:flex!important}.group:hover .group-hover\\:hidden{display:none!important}@media (min-width:40rem){.tablet\\:flex{display:flex!important}.tablet\\:hidden{display:none!important}.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:pr-0{padding-right:0!important}.tablet\\:pr-4{padding-right:1rem!important}.group:hover .tablet\\:group-hover\\:flex{display:flex!important}.group:hover .tablet\\:group-hover\\:hidden{display:none!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:pr-0{padding-right:0!important}.desktop-xs\\:pr-4{padding-right:1rem!important}.group:hover .desktop-xs\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-xs\\:group-hover\\:hidden{display:none!important}}@media (min-width:80rem){.desktop-sm\\:flex{display:flex!important}.desktop-sm\\:hidden{display:none!important}.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:pr-0{padding-right:0!important}.desktop-sm\\:pr-4{padding-right:1rem!important}.group:hover .desktop-sm\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-sm\\:group-hover\\:hidden{display:none!important}}@media (min-width:85.375rem){.desktop\\:flex{display:flex!important}.desktop\\:hidden{display:none!important}.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:pr-0{padding-right:0!important}.desktop\\:pr-4{padding-right:1rem!important}.group:hover .desktop\\:group-hover\\:flex{display:flex!important}.group:hover .desktop\\:group-hover\\:hidden{display:none!important}}@media (min-width:90rem){.desktop-lg\\:flex{display:flex!important}.desktop-lg\\:hidden{display:none!important}.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:pr-0{padding-right:0!important}.desktop-lg\\:pr-4{padding-right:1rem!important}.group:hover .desktop-lg\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-lg\\:group-hover\\:hidden{display:none!important}}@media (min-width:120rem){.desktop-xl\\:flex{display:flex!important}.desktop-xl\\:hidden{display:none!important}.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:pr-0{padding-right:0!important}.desktop-xl\\:pr-4{padding-right:1rem!important}.group:hover .desktop-xl\\:group-hover\\:flex{display:flex!important}.group:hover .desktop-xl\\:group-hover\\:hidden{display:none!important}}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
|
|
158
158
|
|
|
159
159
|
const TableCell = class {
|
|
160
160
|
constructor(hostRef) {
|
|
@@ -188,6 +188,10 @@ const TableCell = class {
|
|
|
188
188
|
* The checkbox to show
|
|
189
189
|
*/
|
|
190
190
|
checkbox;
|
|
191
|
+
/**
|
|
192
|
+
* Wether the cell needs checkbox offset instead of a checkbox
|
|
193
|
+
*/
|
|
194
|
+
checkboxOffset = false;
|
|
191
195
|
/**
|
|
192
196
|
* The template to show
|
|
193
197
|
*/
|
|
@@ -208,7 +212,7 @@ const TableCell = class {
|
|
|
208
212
|
};
|
|
209
213
|
}
|
|
210
214
|
render() {
|
|
211
|
-
return (h(ThemedHost, { key: '
|
|
215
|
+
return (h(ThemedHost, { key: 'f848ead76672fc2c07711a0713b6a85ae91e967a', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
212
216
|
}
|
|
213
217
|
_getContent() {
|
|
214
218
|
if (this.variant === 'loading') {
|
|
@@ -226,10 +230,10 @@ const TableCell = class {
|
|
|
226
230
|
this.definition.align === 'start'),
|
|
227
231
|
'text-center': !this.definition.flex && this.definition.align === 'center',
|
|
228
232
|
'text-end': !this.definition.flex && this.definition.align === 'end',
|
|
229
|
-
}) }, this.variant === 'header' ? (this.data.value) : this.definition.useSlot ? (h("slot", null)) : (this.template(this.data))));
|
|
233
|
+
}) }, this.variant === 'header' || this.variant === 'header-secondary' ? (this.data.value) : this.definition.useSlot ? (h("slot", null)) : (this.template(this.data))));
|
|
230
234
|
}
|
|
231
235
|
_getColumnClasses() {
|
|
232
|
-
return cn(getTableCellColumnClasses(this.definition, this.variant));
|
|
236
|
+
return cn(getTableCellColumnClasses(this.definition, this.variant, this.checkboxOffset));
|
|
233
237
|
}
|
|
234
238
|
};
|
|
235
239
|
TableCell.style = tableCellComponentCss;
|
|
@@ -350,12 +354,12 @@ const TableFooter = class {
|
|
|
350
354
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
351
355
|
}
|
|
352
356
|
render() {
|
|
353
|
-
return (h(ThemedHost, { key: '
|
|
357
|
+
return (h(ThemedHost, { key: '1024988f53e543b3f8d94b0219913b4b0877ce45' }, h("div", { key: '8757e2e3f2951b01fefa252b64a5cf19f46209d0', class: footer({
|
|
354
358
|
pinned: this._isPinned,
|
|
355
359
|
hidden: this._hidden,
|
|
356
360
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
357
361
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
358
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
362
|
+
this.total > 0 && (h("p-pagination", { key: '47682dcc14961e5ebab05317cda65dc44def9ee8', 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) })))));
|
|
359
363
|
}
|
|
360
364
|
_changePageSize(s) {
|
|
361
365
|
if (!s) {
|
|
@@ -9987,18 +9991,18 @@ const TableHeader = class {
|
|
|
9987
9991
|
return (h(ThemedHost, { key: 'c1b62a3635fc61d8130b4d1c7b5e2382423fc8b4' }, h("div", { key: '42dbc580b0f7cbeee1c010222011c929c105616f', class: header() }, this.loading && (h("p-loader", { key: '1d22845dc422bbc0f073572903d255024fe91256', variant: 'ghost', class: 'hidden h-8 w-3/4 rounded desktop-xs:flex' })), !this.loading &&
|
|
9988
9992
|
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '0b19ec881c0d734e58bf50dfa49447bec37fe91d', class: 'flex flex-col justify-start gap-4 justify-self-start desktop-xs:flex-row' }, hasCustomFilterSlot && h("slot", { key: 'c6fdbeecee6e5feaac30ba80d5c4e332ea804af8', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: 'de00cdb0b7cb6e192fb83157ff60ccf6a08fa626', class: 'hidden desktop-xs:flex' }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
9989
9993
|
? item.text
|
|
9990
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '2648878d64a6a8f3a56f85724a8145a5ff30220a', class: 'flex flex-col justify-end gap-2 desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center' }, this.enableSearch && (h("p-field", { key: '83af3e145b5effa18aa36052e14c8e7aae674a0c', icon: 'search', class: 'desktop-xs:max-w-60', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: 'dfd462d178469f369c71093487457b8b7461450d', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: '
|
|
9994
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '2648878d64a6a8f3a56f85724a8145a5ff30220a', class: 'flex flex-col justify-end gap-2 desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center' }, this.enableSearch && (h("p-field", { key: '83af3e145b5effa18aa36052e14c8e7aae674a0c', icon: 'search', class: 'desktop-xs:max-w-60', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: 'dfd462d178469f369c71093487457b8b7461450d', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: 'a2be734fc03c60c117e554a6a78815f3185741d3', icon: 'filter', variant: 'secondary', class: `w-full ${this.enableFilterDesktop
|
|
9991
9995
|
? 'desktop-xs:w-auto'
|
|
9992
|
-
: 'desktop-xs:hidden'}`,
|
|
9996
|
+
: 'desktop-xs:hidden'}`, onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
9993
9997
|
? this.filterButtonTemplate()
|
|
9994
9998
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
9995
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
9999
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '284c90912644a046dc99b5eaa939287ed5bb5eab', variant: 'vertical', class: 'hidden h-4 tablet:flex dark:text-white/15' })), !this.loading && this.enableExport && (h("p-button", { key: '477053b89473d00b9756d200785755e6a30f4702', variant: 'secondary', icon: 'upload', class: 'desktop-xs:auto w-full', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: 'aafe392b17b4794b595bc39d59a111008218c752', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: '6024d4dfae503048683ff68324c1e6a50d41fc6c', 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))))));
|
|
9996
10000
|
}
|
|
9997
10001
|
async _setLocales() {
|
|
9998
10002
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
9999
10003
|
}
|
|
10000
10004
|
_buttonTemplate(mobile = false) {
|
|
10001
|
-
return (h("p-button", { class: mobile ? 'w-full' : 'hidden desktop-xs:flex', icon: this.actionIcon, disabled: !this.canUseAction,
|
|
10005
|
+
return (h("p-button", { class: mobile ? 'w-full' : 'hidden desktop-xs:flex', icon: this.actionIcon, disabled: !this.canUseAction, onOnClick: () => this.action.emit(), loading: this.actionLoading }, this.actionButtonTemplate
|
|
10002
10006
|
? this.actionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)
|
|
10003
10007
|
: this._defaultActionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)));
|
|
10004
10008
|
}
|
|
@@ -10010,23 +10014,15 @@ const TableHeader = class {
|
|
|
10010
10014
|
};
|
|
10011
10015
|
TableHeader.style = tableHeaderComponentCss;
|
|
10012
10016
|
|
|
10013
|
-
const tableRowComponentCss = ".relative{position:relative!important}*{box-sizing:border-box}:host{--tw-content:\"\";position:relative}.static{position:static!important}.absolute{position:absolute!important}.-right-4{right:-1rem!important}.top-1{top:.25rem!important}.z-\\[2\\]{z-index:2!important}.m-1{margin:.25rem!important}.flex{display:flex!important}.table-row{display:table-row!important}.h-\\[calc\\(100\\%-0\\.5rem\\)\\]{height:calc(100% - .5rem)!important}.min-h-0{min-height:0!important}.min-h-14{min-height:3.5rem!important}.min-w-\\[calc\\(100\\%-0\\.5rem\\)\\]{min-width:calc(100% - .5rem)!important}.min-w-full{min-width:100%!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.rounded-lg{border-radius:.5rem!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.pb-4{padding-bottom:1rem!important}.font-ambit{font-family:Ambit,sans-serif!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-normal{font-weight:400!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.empty\\:hidden:empty{display:none!important}.hover\\:cursor-pointer:hover{cursor:pointer!important}.hover\\:bg-off-white-300:hover{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.group:hover .group-hover\\:opacity-100{opacity:1!important}@media (min-width:40rem){.tablet\\:py-4{padding-bottom:1rem!important;padding-top:1rem!important}}.dark\\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:hover\\:bg-hurricane-400:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:hover\\:bg-hurricane-600:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:hover\\:bg-hurricane-400:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:hover\\:bg-hurricane-600:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}";
|
|
10017
|
+
const tableRowComponentCss = ".relative{position:relative!important}*{box-sizing:border-box}:host{--tw-content:\"\";position:relative}.static{position:static!important}.absolute{position:absolute!important}.-right-4{right:-1rem!important}.top-1{top:.25rem!important}.z-\\[2\\]{z-index:2!important}.m-1{margin:.25rem!important}.mb-4{margin-bottom:1rem!important}.flex{display:flex!important}.table-row{display:table-row!important}.h-\\[calc\\(100\\%-0\\.5rem\\)\\]{height:calc(100% - .5rem)!important}.min-h-0{min-height:0!important}.min-h-14{min-height:3.5rem!important}.min-w-\\[calc\\(100\\%-0\\.5rem\\)\\]{min-width:calc(100% - .5rem)!important}.min-w-full{min-width:100%!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.rounded-lg{border-radius:.5rem!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.pb-4{padding-bottom:1rem!important}.font-ambit{font-family:Ambit,sans-serif!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.font-normal{font-weight:400!important}.text-storm-400{--tw-text-opacity:1!important;color:rgb(70 75 84/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.empty\\:hidden:empty{display:none!important}.hover\\:cursor-pointer:hover{cursor:pointer!important}.hover\\:bg-off-white-300:hover{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.group:hover .group-hover\\:opacity-100{opacity:1!important}@media (min-width:40rem){.tablet\\:py-4{padding-bottom:1rem!important;padding-top:1rem!important}}.dark\\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:hover\\:bg-hurricane-400:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:hover\\:bg-hurricane-600:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:hover\\:bg-hurricane-400:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))!important}.dark\\:hover\\:bg-hurricane-600:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}";
|
|
10014
10018
|
|
|
10015
10019
|
const row = cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative'], {
|
|
10016
10020
|
variants: {
|
|
10017
10021
|
variant: {
|
|
10018
10022
|
default: ['px-3 m-1', 'text-sm text-storm-500', 'dark:text-white'],
|
|
10019
|
-
header:
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
'dark:text-hurricane-200',
|
|
10023
|
-
],
|
|
10024
|
-
secondary: [
|
|
10025
|
-
'px-4',
|
|
10026
|
-
'bg-off-white-300 rounded-lg',
|
|
10027
|
-
'dark:bg-hurricane-400',
|
|
10028
|
-
'font-ambit text-lg font-bold',
|
|
10029
|
-
],
|
|
10023
|
+
header: null,
|
|
10024
|
+
'header-secondary': 'mb-4',
|
|
10025
|
+
secondary: ['px-4', 'font-ambit text-lg font-bold'],
|
|
10030
10026
|
},
|
|
10031
10027
|
enableHover: {
|
|
10032
10028
|
true: null,
|
|
@@ -10057,6 +10053,18 @@ const row = cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative']
|
|
|
10057
10053
|
'bg-off-white-300 dark:bg-hurricane-400 dark:hover:bg-hurricane-400',
|
|
10058
10054
|
],
|
|
10059
10055
|
},
|
|
10056
|
+
{
|
|
10057
|
+
variant: ['secondary', 'header-secondary'],
|
|
10058
|
+
class: ['bg-off-white-300 rounded-lg', 'dark:bg-hurricane-400'],
|
|
10059
|
+
},
|
|
10060
|
+
{
|
|
10061
|
+
variant: ['header', 'header-secondary'],
|
|
10062
|
+
class: [
|
|
10063
|
+
'px-4',
|
|
10064
|
+
'text-xs font-normal text-storm-400',
|
|
10065
|
+
'dark:text-hurricane-200',
|
|
10066
|
+
],
|
|
10067
|
+
},
|
|
10060
10068
|
],
|
|
10061
10069
|
});
|
|
10062
10070
|
const content = cva('relative flex min-w-full flex-nowrap items-center justify-between', {
|
|
@@ -10064,7 +10072,8 @@ const content = cva('relative flex min-w-full flex-nowrap items-center justify-b
|
|
|
10064
10072
|
variant: {
|
|
10065
10073
|
default: null,
|
|
10066
10074
|
secondary: null,
|
|
10067
|
-
header: '
|
|
10075
|
+
header: 'pb-4',
|
|
10076
|
+
'header-secondary': 'py-2',
|
|
10068
10077
|
},
|
|
10069
10078
|
},
|
|
10070
10079
|
compoundVariants: [
|
|
@@ -10072,6 +10081,10 @@ const content = cva('relative flex min-w-full flex-nowrap items-center justify-b
|
|
|
10072
10081
|
variant: ['default', 'secondary'],
|
|
10073
10082
|
class: 'min-h-14 py-2 tablet:py-4',
|
|
10074
10083
|
},
|
|
10084
|
+
{
|
|
10085
|
+
variant: ['header', 'header-secondary'],
|
|
10086
|
+
class: 'min-h-0',
|
|
10087
|
+
},
|
|
10075
10088
|
],
|
|
10076
10089
|
});
|
|
10077
10090
|
const actions = cva([
|
|
@@ -10101,13 +10114,13 @@ const TableRow = class {
|
|
|
10101
10114
|
*/
|
|
10102
10115
|
isLast = false;
|
|
10103
10116
|
render() {
|
|
10104
|
-
return (h(ThemedHost, { key: '
|
|
10117
|
+
return (h(ThemedHost, { key: '1e5ed543abdb422c521e58ef3e9edd64e6fae14e' }, h("div", { key: '2e198885019f8fc0f4703fba59fcf67917b7d40c', class: 'flex flex-col' }, h("div", { key: '8726be1fdeecd723f84217626300841b5fffaac7', class: row({
|
|
10105
10118
|
variant: this.variant,
|
|
10106
10119
|
enableHover: this.enableHover,
|
|
10107
10120
|
checked: this.checked,
|
|
10108
|
-
}) }, h("div", { key: '
|
|
10121
|
+
}) }, h("div", { key: '1e4ee3d5159f10d789c2da5bd4b13e4d052169de', class: content({
|
|
10109
10122
|
variant: this.variant,
|
|
10110
|
-
}) }, h("slot", { key: '
|
|
10123
|
+
}) }, h("slot", { key: '150dfc50f2616729be0fa25a12fb7f569f86ddb1' }), h("div", { key: '15df772bef75beb45595b1ba8903315139cf35ec', class: actions() }, h("slot", { key: 'd91561261d4d22b4252a59ed7a464482bc432e7c', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'e3430c3c0e815f1287d4b8ad5040c5af4a67cc8c' })))));
|
|
10111
10124
|
}
|
|
10112
10125
|
};
|
|
10113
10126
|
TableRow.style = tableRowComponentCss;
|