@paperless/core 3.28.4 → 3.29.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.
- package/dist/build/index.esm.js +1 -1
- package/dist/build/{p-ea2deb46.entry.js → p-0025fed7.entry.js} +1 -1
- package/dist/{paperless/p-b190b534.entry.js → build/p-10524bb8.entry.js} +1 -1
- package/dist/build/{p-a035467d.entry.js → p-1bf1c531.entry.js} +1 -1
- package/dist/{paperless/p-78244c70.entry.js → build/p-1f7088e0.entry.js} +1 -1
- package/dist/build/{p-8c141cb8.entry.js → p-20bbd9f7.entry.js} +1 -1
- package/dist/build/{p-c9b79bd8.entry.js → p-2815c450.entry.js} +1 -1
- package/dist/build/{p-3efce878.entry.js → p-406978fd.entry.js} +1 -1
- package/dist/{paperless/p-688afaf3.entry.js → build/p-42a9d7a9.entry.js} +1 -1
- package/dist/build/{p-92910dad.entry.js → p-458a1300.entry.js} +1 -1
- package/dist/build/p-45f64a83.entry.js +1 -0
- package/dist/build/{p-fadcfc9f.entry.js → p-56807646.entry.js} +1 -1
- package/dist/build/p-669c6727.entry.js +1 -0
- package/dist/build/{p-6ac8c0c1.entry.js → p-66aa349f.entry.js} +1 -1
- package/dist/build/{p-51312a8f.entry.js → p-6da143ff.entry.js} +1 -1
- package/dist/build/{p-91686988.entry.js → p-707ec953.entry.js} +1 -1
- package/dist/build/{p-ec0a6d22.entry.js → p-75a9889e.entry.js} +1 -1
- package/dist/build/p-9245172e.entry.js +1 -0
- package/dist/build/p-92f92a42.entry.js +1 -0
- package/dist/build/{p-7c8ec514.entry.js → p-98bc206c.entry.js} +1 -1
- package/dist/build/{p-DeWIZIsV.js → p-BLcs2Mis.js} +1 -1
- package/dist/build/{p-592a84ce.entry.js → p-a2725e3b.entry.js} +1 -1
- package/dist/{paperless/p-fccb23e5.entry.js → build/p-b042c605.entry.js} +1 -1
- package/dist/{paperless/p-d21a8908.entry.js → build/p-bc15eb99.entry.js} +1 -1
- package/dist/{paperless/p-31cf13c6.entry.js → build/p-cc99ef0c.entry.js} +2 -2
- package/dist/build/p-cf13f533.entry.js +1 -0
- package/dist/build/{p-d7d2411e.entry.js → p-d10cdb57.entry.js} +1 -1
- package/dist/build/{p-055b6209.entry.js → p-d4970495.entry.js} +1 -1
- package/dist/build/p-fa24e216.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +19 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +18 -16
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-empty-state_8.cjs.entry.js +13 -13
- package/dist/cjs/p-field_3.cjs.entry.js +4 -4
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-submenu-item.cjs.entry.js +3 -3
- package/dist/cjs/p-submenu.cjs.entry.js +9 -9
- package/dist/cjs/p-tab-container.cjs.entry.js +10 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +11 -3
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/cjs/{table-helpers-CskH_8AL.js → table-helpers-BMTEeBOx.js} +3 -3
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +33 -1
- package/dist/collection/components/atoms/tab/container/tab-container.stories.js +18 -0
- package/dist/collection/components/atoms/tab/item/tab-item.component.css +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +50 -2
- package/dist/collection/components/atoms/tab/item/tab-item.stories.js +5 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +18 -16
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +3 -3
- package/dist/collection/components/molecules/submenu/menu/submenu.component.js +9 -9
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- 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/tailwind/theme/animation.js +18 -0
- package/dist/collection/utils/table-helpers.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Dg_DgmLY.js → p-2-4yuHR1.js} +1 -1
- package/dist/components/{p-BDWOQXx7.js → p-4KZlY5xH.js} +1 -1
- package/dist/components/{p-CxrxqKhq.js → p-B3Dks732.js} +1 -1
- package/dist/components/{p-DHJIvL0U.js → p-B7pLpkL0.js} +1 -1
- package/dist/components/{p-c6u4OYf0.js → p-BAVMxgJn.js} +1 -1
- package/dist/components/{p-C_ImoJA8.js → p-CklXrITo.js} +1 -1
- package/dist/components/p-D8Cwg2-6.js +1 -0
- package/dist/components/{p-Cmltn24W.js → p-D9Vv2Jg9.js} +1 -1
- package/dist/components/{p-Bh3wcvje.js → p-DZzA60Dx.js} +1 -1
- package/dist/components/{p-CVR1NJF5.js → p-DcIQGfEt.js} +1 -1
- package/dist/components/{p-9XjFw7wO.js → p-DpkIrMz9.js} +1 -1
- package/dist/components/{p-D0469rhA.js → p-DrGWvXqN.js} +1 -1
- package/dist/components/{p-DxuTDs4a.js → p-DsgO2Ufk.js} +1 -1
- package/dist/components/{p-ByJPQrlL.js → p-GGeQLkOT.js} +1 -1
- package/dist/components/{p-WEZng7dj.js → p-PGY9gVyt.js} +1 -1
- package/dist/components/{p-BmsR-djQ.js → p-PISPo1NR.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/{p-BJyXdiHc.js → p-eo0MmU1s.js} +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-submenu-item.js +1 -1
- package/dist/components/p-submenu.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/p-vlEpgOl1.js +1 -0
- package/dist/esm/index.js +19 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_3.entry.js +18 -16
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-empty-state_8.entry.js +13 -13
- package/dist/esm/p-field_3.entry.js +4 -4
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +3 -3
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-submenu-item.entry.js +3 -3
- package/dist/esm/p-submenu.entry.js +9 -9
- package/dist/esm/p-tab-container.entry.js +10 -1
- package/dist/esm/p-tab-item.entry.js +11 -3
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/paperless.js +1 -1
- package/dist/esm/{table-helpers-Bvtfm-ta.js → table-helpers-BDN3t0Wa.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/{p-ea2deb46.entry.js → p-0025fed7.entry.js} +1 -1
- package/dist/{build/p-b190b534.entry.js → paperless/p-10524bb8.entry.js} +1 -1
- package/dist/paperless/{p-a035467d.entry.js → p-1bf1c531.entry.js} +1 -1
- package/dist/{build/p-78244c70.entry.js → paperless/p-1f7088e0.entry.js} +1 -1
- package/dist/paperless/{p-8c141cb8.entry.js → p-20bbd9f7.entry.js} +1 -1
- package/dist/paperless/{p-c9b79bd8.entry.js → p-2815c450.entry.js} +1 -1
- package/dist/paperless/{p-3efce878.entry.js → p-406978fd.entry.js} +1 -1
- package/dist/{build/p-688afaf3.entry.js → paperless/p-42a9d7a9.entry.js} +1 -1
- package/dist/paperless/{p-92910dad.entry.js → p-458a1300.entry.js} +1 -1
- package/dist/paperless/p-45f64a83.entry.js +1 -0
- package/dist/paperless/{p-fadcfc9f.entry.js → p-56807646.entry.js} +1 -1
- package/dist/paperless/p-669c6727.entry.js +1 -0
- package/dist/paperless/{p-6ac8c0c1.entry.js → p-66aa349f.entry.js} +1 -1
- package/dist/paperless/{p-51312a8f.entry.js → p-6da143ff.entry.js} +1 -1
- package/dist/paperless/{p-91686988.entry.js → p-707ec953.entry.js} +1 -1
- package/dist/paperless/{p-ec0a6d22.entry.js → p-75a9889e.entry.js} +1 -1
- package/dist/paperless/p-9245172e.entry.js +1 -0
- package/dist/paperless/p-92f92a42.entry.js +1 -0
- package/dist/paperless/{p-7c8ec514.entry.js → p-98bc206c.entry.js} +1 -1
- package/dist/paperless/{p-DeWIZIsV.js → p-BLcs2Mis.js} +1 -1
- package/dist/paperless/{p-592a84ce.entry.js → p-a2725e3b.entry.js} +1 -1
- package/dist/{build/p-fccb23e5.entry.js → paperless/p-b042c605.entry.js} +1 -1
- package/dist/{build/p-d21a8908.entry.js → paperless/p-bc15eb99.entry.js} +1 -1
- package/dist/{build/p-31cf13c6.entry.js → paperless/p-cc99ef0c.entry.js} +2 -2
- package/dist/paperless/p-cf13f533.entry.js +1 -0
- package/dist/paperless/{p-d7d2411e.entry.js → p-d10cdb57.entry.js} +1 -1
- package/dist/paperless/{p-055b6209.entry.js → p-d4970495.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/theme/animation.ts +18 -0
- package/dist/types/components/atoms/tab/container/tab-container.component.d.ts +4 -0
- package/dist/types/components/atoms/tab/container/tab-container.stories.d.ts +3 -0
- package/dist/types/components/atoms/tab/item/tab-item.component.d.ts +8 -0
- package/dist/types/components/atoms/tab/item/tab-item.stories.d.ts +7 -1
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +1 -1
- package/dist/types/components.d.ts +30 -0
- package/dist/types/tailwind/theme/animation.d.ts +18 -0
- package/hydrate/index.js +113 -93
- package/hydrate/index.mjs +113 -93
- package/package.json +1 -1
- package/dist/build/p-014ef0e1.entry.js +0 -1
- package/dist/build/p-1a424b04.entry.js +0 -1
- package/dist/build/p-50c0e9df.js +0 -1
- package/dist/build/p-571575d2.entry.js +0 -1
- package/dist/build/p-9f684244.entry.js +0 -1
- package/dist/build/p-a395e9e0.entry.js +0 -1
- package/dist/components/p-BG1plx2A.js +0 -1
- package/dist/components/p-zBwPEKhI.js +0 -1
- package/dist/paperless/p-014ef0e1.entry.js +0 -1
- package/dist/paperless/p-1a424b04.entry.js +0 -1
- package/dist/paperless/p-571575d2.entry.js +0 -1
- package/dist/paperless/p-9f684244.entry.js +0 -1
- package/dist/paperless/p-a395e9e0.entry.js +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -8695,8 +8695,8 @@ const getTableCellSizes = ({ sizes, } /* Table Definition */, variant) => {
|
|
|
8695
8695
|
const floatingMenuContainerClass = cva(['sticky self-center'], {
|
|
8696
8696
|
variants: {
|
|
8697
8697
|
hasFooter: {
|
|
8698
|
-
true: 'bottom-11 z-[3] -mb-5
|
|
8699
|
-
false: 'bottom-0
|
|
8698
|
+
true: 'bottom-11 z-[3] -mb-5',
|
|
8699
|
+
false: 'bottom-0',
|
|
8700
8700
|
},
|
|
8701
8701
|
active: {
|
|
8702
8702
|
false: 'pointer-events-none animate-floating-menu-container-out',
|
|
@@ -8704,7 +8704,7 @@ const floatingMenuContainerClass = cva(['sticky self-center'], {
|
|
|
8704
8704
|
},
|
|
8705
8705
|
shown: {
|
|
8706
8706
|
false: 'hidden',
|
|
8707
|
-
true: '
|
|
8707
|
+
true: '',
|
|
8708
8708
|
},
|
|
8709
8709
|
},
|
|
8710
8710
|
});
|
|
@@ -11677,10 +11677,10 @@ class Accordion {
|
|
|
11677
11677
|
*/
|
|
11678
11678
|
isOpen;
|
|
11679
11679
|
render() {
|
|
11680
|
-
return (hAsync(ThemedHost, { key: '
|
|
11680
|
+
return (hAsync(ThemedHost, { key: 'f6cf570c47b181e3c9a6f2e110b62471267dbbd6' }, hAsync("div", { key: 'e8c809a9e8dcc761229af199f1ccaa5e348521bd', class: 'flex w-full flex-col' }, hAsync("div", { key: '911d5b3aee7cea057c554d7aebed77e0ac12840a', class: cn('flex cursor-pointer items-center gap-2', {
|
|
11681
11681
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
11682
11682
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
11683
|
-
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '
|
|
11683
|
+
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: 'dd859e186c6b02bac0638b50c88329fadaf145d3', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), hAsync("p", { key: '22af6011c165a83495fe3015f1b3673de101f4b2', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), this.label && (hAsync("p-label", { key: '3a97f62365aee13b03e193263005728cfe145ef4', icon: this.labelIcon, variant: this.labelVariant }, this.label)), hAsync("p-divider", { key: '4b8bccdeac3f94eed2840961296ed5d0d81567c8', class: 'flex-1' })), this.open && (hAsync("div", { key: 'eef8c8b45192aa301a4307cbc51b1121362718e7', class: 'mt-4' }, hAsync("slot", { key: '775af8a48a08ce9439d674584759a96041f77c69' }))))));
|
|
11684
11684
|
}
|
|
11685
11685
|
_onClick() {
|
|
11686
11686
|
if (!this.closeable && this.open) {
|
|
@@ -11828,27 +11828,27 @@ class Attachment {
|
|
|
11828
11828
|
_fileRef;
|
|
11829
11829
|
_cameraFileRef;
|
|
11830
11830
|
render() {
|
|
11831
|
-
let prefix = (hAsync("p-icon", { key: '
|
|
11831
|
+
let prefix = (hAsync("p-icon", { key: '4ffc4f9b7b308e3433fe607b097a06ad3882dd24', class: 'text-storm-300', variant: 'attachment' }));
|
|
11832
11832
|
if (this.error) {
|
|
11833
|
-
prefix = (hAsync("p-icon", { key: '
|
|
11833
|
+
prefix = (hAsync("p-icon", { key: '16e4d55777f9621cba8fb361311640c457d1afa6', class: 'text-negative-red-500', variant: 'warning' }));
|
|
11834
11834
|
}
|
|
11835
11835
|
const isTouch = isTouchDevice();
|
|
11836
11836
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
11837
|
-
return (hAsync(Fragment, { key: '
|
|
11837
|
+
return (hAsync(Fragment, { key: 'aa095d535cfbab99673f19f002361b4b2230851a' }, hAsync("p-field-container", { key: 'ec3120a1bd2e73dc93968f4f911135499fc5d715', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, hAsync("div", { key: '9477668d2c0a2fb8ca6c1f59b2927c0e3a54e582', class: 'flex w-full items-start gap-2', slot: 'content' }, hAsync("div", { key: '0ae0ae9b176524a666c473a973d83789d629b04b', class: attachment({
|
|
11838
11838
|
click: this.mode === 'write' && !this.value?.length,
|
|
11839
11839
|
error: !!this.error?.length,
|
|
11840
|
-
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '
|
|
11840
|
+
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '5644800dfd5692b8a20e88f3539d84c27f856109', class: cn(baseText, `
|
|
11841
11841
|
peer
|
|
11842
11842
|
empty:hidden
|
|
11843
11843
|
dark:text-white
|
|
11844
|
-
`) }, this.value), hAsync("span", { key: '
|
|
11844
|
+
`) }, this.value), hAsync("span", { key: 'f361622a07c9a19063718577cb5497f471d71f6e', class: cn(baseText, `
|
|
11845
11845
|
hidden
|
|
11846
11846
|
peer-empty:block
|
|
11847
|
-
`) }, this.placeholder)), hAsync("p-tooltip", { key: '
|
|
11847
|
+
`) }, this.placeholder)), hAsync("p-tooltip", { key: '72f8f4dbf6c133fe0ed93f055cb4cf38397828a3', class: 'w-8', content: this.mode === 'read'
|
|
11848
11848
|
? this.downloadTooltip
|
|
11849
11849
|
: this.value?.length
|
|
11850
11850
|
? this.deleteTooltip
|
|
11851
|
-
: this.uploadTooltip }, hAsync("p-button", { key: '
|
|
11851
|
+
: this.uploadTooltip }, hAsync("p-button", { key: '438b9a5fd4712e86acfa511951c4d40ce139bc4a', disabled: this.loading, icon: this.mode === 'read'
|
|
11852
11852
|
? 'download'
|
|
11853
11853
|
: this.value?.length
|
|
11854
11854
|
? 'trash'
|
|
@@ -11859,7 +11859,7 @@ class Attachment {
|
|
|
11859
11859
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11860
11860
|
this.mode === 'write' &&
|
|
11861
11861
|
isTouch &&
|
|
11862
|
-
!this.value?.length && (hAsync("p-tooltip", { key: '
|
|
11862
|
+
!this.value?.length && (hAsync("p-tooltip", { key: '8899091721adff9a039a4af073d1e25fdba0f8f3', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: '1011561e4af59f70c088496370a89e4e82e3fd11', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: '663a1ca0aaa8883c77d00d23d12edf6548278ec8', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, class: 'hidden', ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) }), hAsync("input", { key: '6cdcccbafb9a3ffeb3606818a7e9638c897fdf6d', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11863
11863
|
}
|
|
11864
11864
|
_uploadClick() {
|
|
11865
11865
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -12971,7 +12971,7 @@ class ButtonGroup {
|
|
|
12971
12971
|
this._checkButtons();
|
|
12972
12972
|
}
|
|
12973
12973
|
render() {
|
|
12974
|
-
return (hAsync(Host, { key: '
|
|
12974
|
+
return (hAsync(Host, { key: 'cb12c0b1d7be0069b669f7ebcabe1d8ab8873c88', class: 'flex items-center' }, hAsync("slot", { key: '49ae51915f9405170e87136201d933a62bd6b465' })));
|
|
12975
12975
|
}
|
|
12976
12976
|
slotchange() {
|
|
12977
12977
|
this._checkButtons();
|
|
@@ -88316,7 +88316,7 @@ class Calendar {
|
|
|
88316
88316
|
}
|
|
88317
88317
|
}
|
|
88318
88318
|
render() {
|
|
88319
|
-
return (hAsync(ThemedHost, { key: '
|
|
88319
|
+
return (hAsync(ThemedHost, { key: 'c47d148c40a397004b1b4421e6bf44dc82fbabd9' }, hAsync("div", { key: 'bab902688d5960927c6e33028e7b3432f5cc6cbd', class: calendar$1({ variant: this.variant }) }, this._getView())));
|
|
88320
88320
|
}
|
|
88321
88321
|
_checkTodayButton() {
|
|
88322
88322
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -89064,13 +89064,13 @@ class ContentSlider {
|
|
|
89064
89064
|
}
|
|
89065
89065
|
}
|
|
89066
89066
|
render() {
|
|
89067
|
-
return (hAsync(Host, { key: '
|
|
89067
|
+
return (hAsync(Host, { key: '6aface3c57d4020e3bcb6ea89045e1f043e49f93' }, hAsync("div", { key: '6888fb06486202cf4c1e2db672e181b0ef954044', class: `
|
|
89068
89068
|
slider
|
|
89069
89069
|
${!this.disableDrag && 'draggable'}
|
|
89070
89070
|
${this._dragging && 'dragging'}
|
|
89071
89071
|
`, ref: el => (this._sliderRef = el), style: {
|
|
89072
89072
|
height: `${this._outerHeight}px`,
|
|
89073
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '
|
|
89073
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: 'a2bd514924f390b01ed71eeb8494f91b41934fab', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, hAsync("slot", { key: '7551aa48ef5cee40c3cf0c5ea868074598bd84a3', onSlotchange: () => this._slotChange() }))), hAsync("div", { key: 'dc623ed57bf4e83886f57d2065d9c682604593c1', class: `
|
|
89074
89074
|
indicator
|
|
89075
89075
|
${this.hideMobileIndicator && 'hidden'}
|
|
89076
89076
|
` }, this._filteredItems.map((_, i) => (hAsync("div", { class: `
|
|
@@ -92121,7 +92121,7 @@ class Cropper {
|
|
|
92121
92121
|
const themeColor = state.theme === 'dark'
|
|
92122
92122
|
? 'rgba(70, 75, 84, 0.5)'
|
|
92123
92123
|
: 'rgba(255, 255, 255, 0.5)';
|
|
92124
|
-
return (hAsync(ThemedHost, { key: '
|
|
92124
|
+
return (hAsync(ThemedHost, { key: '1348b815ec6b5808028a843f3937fe707744e804' }, this._loaded && (hAsync("cropper-canvas", { key: '452c4e6454b27437c1145702d44ba791e4d245f0', class: '\n h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700\n bg-white\n dark:border-hurricane-200\n ', onAction: () => this._onAction() }, hAsync("cropper-image", { key: '6df2ab6a5b9143a2191ee72292734e7d8e8bef38', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), hAsync("cropper-shade", { key: '9767a7018bcbbad4f82a7caa09996a8c94b72dfd', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), hAsync("cropper-selection", { key: '239787ce3e5e3918e2d1ae18f2ed183270b89910', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), hAsync("cropper-handle", { key: '817c5b05cbbdb50d0b46740414cb04443b106b9f', action: 'move', plain: true }))), hAsync("p-range", { key: '5916ab19221ecf91fae17a7b0021be1f3ac1020f', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
92125
92125
|
}
|
|
92126
92126
|
_setImageRef(ref) {
|
|
92127
92127
|
if (this._imageRef || !ref) {
|
|
@@ -92451,7 +92451,7 @@ class Datepicker {
|
|
|
92451
92451
|
}
|
|
92452
92452
|
}
|
|
92453
92453
|
render() {
|
|
92454
|
-
return (hAsync("p-dropdown", { key: '
|
|
92454
|
+
return (hAsync("p-dropdown", { key: 'f564a6f593a92ee984c1889ebdeac5edd6bd3a45', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, hAsync("p-field", { key: 'abb1b2fb160aa7dd124e6a0e4568bfe653beae54', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (hAsync("input", { key: '07bedc5d4ef3dec5b6ef57f3b41d92b157386981', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
92455
92455
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
92456
92456
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92457
92457
|
}), min: this._minDate &&
|
|
@@ -92460,7 +92460,7 @@ class Datepicker {
|
|
|
92460
92460
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
92461
92461
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
92462
92462
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92463
|
-
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '
|
|
92463
|
+
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '4d9a2323c3209377b6db8ef7e4c73ef7626819c0', slot: 'items', tabIndex: -1 }, hAsync("p-calendar", { key: '28ef60051a09c41bdcee066602871d73b30b3ee3', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
|
|
92464
92464
|
}
|
|
92465
92465
|
documentClickHandler({ target }) {
|
|
92466
92466
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -94614,7 +94614,7 @@ class Dropdown {
|
|
|
94614
94614
|
this._update();
|
|
94615
94615
|
}
|
|
94616
94616
|
componentDidLoad() {
|
|
94617
|
-
this.
|
|
94617
|
+
this._checkTriggers();
|
|
94618
94618
|
}
|
|
94619
94619
|
disconnectedCallback() {
|
|
94620
94620
|
if (!this._cleanup) {
|
|
@@ -94624,34 +94624,36 @@ class Dropdown {
|
|
|
94624
94624
|
this._cleanup = null;
|
|
94625
94625
|
}
|
|
94626
94626
|
componentDidRender() {
|
|
94627
|
-
this.
|
|
94627
|
+
this._checkTriggers();
|
|
94628
94628
|
this._checkItems();
|
|
94629
94629
|
}
|
|
94630
94630
|
render() {
|
|
94631
|
-
return (hAsync(Host, { key: '
|
|
94631
|
+
return (hAsync(Host, { key: '1c9ee1c32b2e4c55569882ccc33b33f90e391b85', class: 'relative' }, hAsync("div", { key: '6e80ec057d334f296ff427c0e0788ce5e4c10000', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: '218bd8aa27760c3717f0fe6aa5c320d3fe125938', name: 'trigger' })), hAsync("div", { key: 'b674651b28be116e470caf3accabbda09f512fca', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: '69eaac45d6576aec68301c5c5fd59964c07d0254', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94632
94632
|
strategy: this.strategy,
|
|
94633
94633
|
maxWidth: this.applyMaxWidth,
|
|
94634
94634
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94635
94635
|
isDatepicker: this.isDatepicker,
|
|
94636
|
-
}), 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: '
|
|
94636
|
+
}), 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: '74dfa5c50deadb6e447c497b854716e82bcbcebe', name: 'items' })))));
|
|
94637
94637
|
}
|
|
94638
|
-
|
|
94639
|
-
const
|
|
94638
|
+
_checkTriggers(active = false) {
|
|
94639
|
+
const triggers = this._el.querySelectorAll('p-button[slot="trigger"], p-tab-item[slot="trigger"]');
|
|
94640
94640
|
const isOpen = this._menu.dataset.show === 'true';
|
|
94641
|
-
for (
|
|
94642
|
-
|
|
94643
|
-
|
|
94644
|
-
|
|
94645
|
-
|
|
94641
|
+
for (const trigger of triggers) {
|
|
94642
|
+
if ('disabled' in trigger) {
|
|
94643
|
+
trigger.disabled = this.disableTriggerClick;
|
|
94644
|
+
if (trigger.iconOnly) {
|
|
94645
|
+
continue;
|
|
94646
|
+
}
|
|
94646
94647
|
}
|
|
94648
|
+
trigger.active = active;
|
|
94647
94649
|
if (this.applyChevron === false || this.manualChevron === true) {
|
|
94648
94650
|
if (this.manualChevron === false) {
|
|
94649
|
-
|
|
94651
|
+
trigger.chevron = false;
|
|
94650
94652
|
}
|
|
94651
94653
|
continue;
|
|
94652
94654
|
}
|
|
94653
|
-
|
|
94654
|
-
|
|
94655
|
+
trigger.chevronPosition = this.chevronPosition;
|
|
94656
|
+
trigger.chevron =
|
|
94655
94657
|
this.chevronDirection ??
|
|
94656
94658
|
(this.placement.includes('top')
|
|
94657
94659
|
? isOpen
|
|
@@ -94732,7 +94734,7 @@ class Dropdown {
|
|
|
94732
94734
|
this._menu.classList.remove('hidden');
|
|
94733
94735
|
this._menu.classList.add('block');
|
|
94734
94736
|
this.isOpen.emit(true);
|
|
94735
|
-
this.
|
|
94737
|
+
this._checkTriggers(true);
|
|
94736
94738
|
}
|
|
94737
94739
|
_hide() {
|
|
94738
94740
|
if (!this._loaded || this.show) {
|
|
@@ -94747,7 +94749,7 @@ class Dropdown {
|
|
|
94747
94749
|
this._menu.classList.remove('block');
|
|
94748
94750
|
this._menu.classList.add('hidden');
|
|
94749
94751
|
this.isOpen.emit(false);
|
|
94750
|
-
this.
|
|
94752
|
+
this._checkTriggers(false);
|
|
94751
94753
|
}
|
|
94752
94754
|
_update() {
|
|
94753
94755
|
if (!this._menu) {
|
|
@@ -95562,11 +95564,11 @@ class EmptyState {
|
|
|
95562
95564
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
95563
95565
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
95564
95566
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
95565
|
-
return (hAsync(ThemedHost, { key: '
|
|
95567
|
+
return (hAsync(ThemedHost, { key: '88c1f3ded82cfdb33056c1a5882a965eaca03641' }, hAsync("div", { key: '0f397cbf947d3189b1fc8085cf50790e62d405f1', class: emptyState({
|
|
95566
95568
|
enableAction: asBoolean(this.enableAction, true),
|
|
95567
95569
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
95568
95570
|
? this.action.emit(ev)
|
|
95569
|
-
: undefined }, this.illustration && (hAsync("p-illustration", { key: '
|
|
95571
|
+
: undefined }, this.illustration && (hAsync("p-illustration", { key: '7debb3c4d38db63f33c0f3cb59e42af1b5be84cd', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (hAsync("slot", { name: 'header' })) : (this.header?.length && (hAsync("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (hAsync("slot", { name: 'content' })) : (this.content?.length && (hAsync("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
95570
95572
|
(hasActionSlot ? (hAsync("slot", { name: 'action' })) : (hAsync("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
95571
95573
|
}
|
|
95572
95574
|
static get style() { return emptyStateComponentCss(); }
|
|
@@ -95970,8 +95972,8 @@ class Field {
|
|
|
95970
95972
|
}
|
|
95971
95973
|
render() {
|
|
95972
95974
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
95973
|
-
return (hAsync(ThemedHost, { key: '
|
|
95974
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (hAsync("slot", { key: '
|
|
95975
|
+
return (hAsync(ThemedHost, { key: '34ff09d82525eb78723fb820f0d0290ae23721b0' }, hAsync("p-field-container", { key: '347566f3dab26546ddca4034335af525da68678b', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
95976
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (hAsync("slot", { key: '519d4c702f9dc06fc7a9372a967b2f687947bc33', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: '00536ca06d00f9b777065a33e68232b6748e1660', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: '65d37212c39a122453d91ddeae877f946992e01a', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: '0a61cbb8744cb2735839036f32ec4678ffa5fba7', name: 'error', slot: 'error' })), hAsync("div", { key: '3f33946b5fa9bce68ee1adfab0bdbe55104975bf', class: field({
|
|
95975
95977
|
error: !!this.error?.length,
|
|
95976
95978
|
disabled: asBoolean(this.disabled),
|
|
95977
95979
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -95982,7 +95984,7 @@ class Field {
|
|
|
95982
95984
|
? `${this.value}`
|
|
95983
95985
|
: undefined }, (this.error?.length ||
|
|
95984
95986
|
prefix ||
|
|
95985
|
-
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
95987
|
+
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: 'b41a10d82c3d11189763cb25e0b729b520b27d84', class: prefixAndSuffix({
|
|
95986
95988
|
variant: this.variant,
|
|
95987
95989
|
error: !!this.error?.length,
|
|
95988
95990
|
disabled: asBoolean(this.disabled),
|
|
@@ -95994,7 +95996,7 @@ class Field {
|
|
|
95994
95996
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
95995
95997
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
95996
95998
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
95997
|
-
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '
|
|
95999
|
+
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '918ba94e63f2a04363ae84328f2cc199ec1a54e7', class: cn(prefixAndSuffix({
|
|
95998
96000
|
variant: this.variant,
|
|
95999
96001
|
error: !!this.error?.length,
|
|
96000
96002
|
disabled: asBoolean(this.disabled),
|
|
@@ -97289,10 +97291,10 @@ class Listing {
|
|
|
97289
97291
|
}
|
|
97290
97292
|
}
|
|
97291
97293
|
render() {
|
|
97292
|
-
return (hAsync("div", { key: '
|
|
97294
|
+
return (hAsync("div", { key: 'ed45a2e778aba5ec905b3229ead141fdcdfea198', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
97293
97295
|
'opacity-100': this._generatedOnce,
|
|
97294
97296
|
'opacity-0': !this._generatedOnce,
|
|
97295
|
-
}) }, hAsync("slot", { key: '
|
|
97297
|
+
}) }, hAsync("slot", { key: '2a18a4366d054d65412d8b28a70abca0ad2ee649', onSlotchange: () => this._generateLinesOnce() })));
|
|
97296
97298
|
}
|
|
97297
97299
|
_generateLinesOnce() {
|
|
97298
97300
|
if (this._generateTimeout) {
|
|
@@ -97862,7 +97864,7 @@ class Navbar {
|
|
|
97862
97864
|
}
|
|
97863
97865
|
_show = false;
|
|
97864
97866
|
render() {
|
|
97865
|
-
return (hAsync(ThemedHost, { key: '
|
|
97867
|
+
return (hAsync(ThemedHost, { key: '7619eeefa9ea944a63289912cd81cf78b6e811b5' }, hAsync("p-backdrop", { key: '595791a894b53d4a9b2129b56f4f0f3486c57d3c', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: '780b7fc75b411b8f29f75a6ae407b4362fd35c7e', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: '0c66a30858b20cd7eec21468e8458ca1a418aacb', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, hAsync("p-button", { key: '5ccd0baad2faea3f4f45e41e016a00b0e8eab362', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), hAsync("div", { key: '7a9fe638e83dc4ffca39dc6a393c4e1d65e7a8d6', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, hAsync("slot", { key: '25958b6ef7b0a6dc2cd7e12908e59422b049ddc0', name: 'company' })), hAsync("div", { key: '568ab6c376b7c3db2902778f97a35176d5bfdcf0', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: 'd7b085c1043b107e883e058f5501d5e33e4c8581', name: 'content' })), hAsync("div", { key: '68c47441d63f5a640027a7eadd237c182b0c6f60', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, hAsync("slot", { key: '736dbba0b3fea35a30c6be8e9845650fdb325b08', name: 'user' }))), hAsync("div", { key: '7eb3b90ad16257344d0857e22e9d8864f6675438', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: '38db319651a5ec5287d50011186dca5e02619c34', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), hAsync("slot", { key: '3d1e5dd3d203c15b6748be563a929e9451747d82', name: 'topbar' }))));
|
|
97866
97868
|
}
|
|
97867
97869
|
handleCloseNavbar() {
|
|
97868
97870
|
this._show = false;
|
|
@@ -97973,13 +97975,13 @@ class NavigationItem {
|
|
|
97973
97975
|
render() {
|
|
97974
97976
|
const TagType = this.as;
|
|
97975
97977
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
97976
|
-
return (hAsync(ThemedHost, { key: '
|
|
97978
|
+
return (hAsync(ThemedHost, { key: '347b0fff17aa518408c501e0f36c1705b10748c6', class: cn('inline-block', this.class) }, hAsync(TagType, { key: '5ef2af324e413caafb7315dc4b13d30c42267b6c', class: navigationItem({
|
|
97977
97979
|
icon: !!this.icon,
|
|
97978
97980
|
active,
|
|
97979
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
97981
|
+
}), href: this.href, target: this.target }, hAsync("div", { key: '6313d3de316f39dfc24bc5d4a53f5153c0413a35', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: 'a1598b69de4fe59e6831d53948c55dc0f685b9ad', variant: this.icon })), hAsync("span", { key: 'fa7e13deabd7b690fc5be427bf86538b1889cef9', class: cn({
|
|
97980
97982
|
'has-counter': !!this.counter,
|
|
97981
97983
|
'w-full': this.applyFullWidth,
|
|
97982
|
-
}) }, hAsync("slot", { key: '
|
|
97984
|
+
}) }, hAsync("slot", { key: '86dc19d97dd2a19d056f1e33c0fba9d94e4f2218' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: 'ebfafb0aea1e0b38757f28b8118d4f54b8388582' }, this.counter)), !!this.loading && hAsync("p-loader", { key: '83cb991e82cf7fe34531f4c7c7a1a1167b38a8d3', class: 'ml-auto' }))));
|
|
97983
97985
|
}
|
|
97984
97986
|
static get style() { return navigationItemComponentCss(); }
|
|
97985
97987
|
static get cmpMeta() { return {
|
|
@@ -98013,7 +98015,7 @@ class NavigationSection {
|
|
|
98013
98015
|
*/
|
|
98014
98016
|
header;
|
|
98015
98017
|
render() {
|
|
98016
|
-
return (hAsync(ThemedHost, { key: '
|
|
98018
|
+
return (hAsync(ThemedHost, { key: 'ef9bc5a34ec30fddac926c6eb32225ad29933a6b', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (hAsync("p-navigation-title", { key: 'c2247b566e622687b63cc461b4d18383c4657c87' }, this.header)), hAsync("div", { key: '214b7cdcc8425ae88ac667f2fabaf74e08e4dbc8', class: 'flex flex-col' }, hAsync("slot", { key: '26833f9c31a682f58160fc54063ecb7459f3f0b1' }))));
|
|
98017
98019
|
}
|
|
98018
98020
|
static get style() { return navigationSectionComponentCss(); }
|
|
98019
98021
|
static get cmpMeta() { return {
|
|
@@ -98114,12 +98116,12 @@ class Pagination {
|
|
|
98114
98116
|
_hasPaginationPages = true;
|
|
98115
98117
|
render() {
|
|
98116
98118
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
98117
|
-
return (hAsync(ThemedHost, { key: '
|
|
98119
|
+
return (hAsync(ThemedHost, { key: 'e2f69a73151e71438cf062a47746f9dc010eb384' }, hAsync("div", { key: 'dbd0ae5dfa3fd531bdc0ea72437e0ea5930ebc39', class: pagination$1({
|
|
98118
98120
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
98119
98121
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
98120
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '
|
|
98122
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '3fac7a287f0371da17ed53ca05ee558b93349cfc' }, hAsync("p-pagination-size", { key: 'a618ba84f7b1700dd7f082554ffd92cc7593e2c9', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
98121
98123
|
this.hideOnSinglePage &&
|
|
98122
|
-
this._hasPaginationPages && (hAsync("p-divider", { key: '
|
|
98124
|
+
this._hasPaginationPages && (hAsync("p-divider", { key: '70513fb604cf7d5a9d0e3c97d60a992d3091fa53', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (hAsync("p-pagination-pages", { key: '603c3be274dc8a3118aa908cecccfd8071813f16', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
98123
98125
|
this._hasPaginationPages = detail > 1;
|
|
98124
98126
|
this.pagesChange.emit(detail);
|
|
98125
98127
|
} })))));
|
|
@@ -98717,7 +98719,7 @@ class Profile {
|
|
|
98717
98719
|
}
|
|
98718
98720
|
render() {
|
|
98719
98721
|
const content = this._getContent();
|
|
98720
|
-
return (hAsync(ThemedHost, { key: '
|
|
98722
|
+
return (hAsync(ThemedHost, { key: 'c71ae75aee86e05fc18b7a726993bb8b8a914396' }, this._hasDropdownSlot ? (hAsync("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, hAsync("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), hAsync("div", { slot: 'items' }, hAsync("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
98721
98723
|
}
|
|
98722
98724
|
slotchange() {
|
|
98723
98725
|
this._checkDropdownSlot();
|
|
@@ -98951,13 +98953,13 @@ class Range {
|
|
|
98951
98953
|
valueChange;
|
|
98952
98954
|
render() {
|
|
98953
98955
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
98954
|
-
return (hAsync(ThemedHost, { key: '
|
|
98956
|
+
return (hAsync(ThemedHost, { key: '2952d5f5caa55f4a75803f5390c456eb29afee01' }, hAsync("div", { key: 'aa0f43967f84b39994434c59fe76c66018fcc14b', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: 'f5594f8160de301b2cbb992f94306a19d1023598', variant: 'minus' }), hAsync("div", { key: '164086b526cc2517922599b0999cc3d9ab5ac4f0', class: 'relative h-6 flex-1' }, hAsync("input", { key: '087d0766b0a9bc5cd1bf9529b48b21dc98f25a1d', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
98955
98957
|
const value = ev.target.value;
|
|
98956
98958
|
this.value = Number.parseFloat(value);
|
|
98957
98959
|
this.valueChange.emit(value);
|
|
98958
|
-
} }), hAsync("div", { key: '
|
|
98960
|
+
} }), hAsync("div", { key: '2c30f6e893a06e685da3380cb5cf4ab229838609', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
98959
98961
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
98960
|
-
} })), hAsync("p-icon", { key: '
|
|
98962
|
+
} })), hAsync("p-icon", { key: '32e64c394789f7da7a1df5297acf624ee3c25c56', variant: 'plus' }))));
|
|
98961
98963
|
}
|
|
98962
98964
|
static get style() { return rangeComponentCss(); }
|
|
98963
98965
|
static get cmpMeta() { return {
|
|
@@ -100620,34 +100622,34 @@ class Submenu {
|
|
|
100620
100622
|
const maxHeight = submenuItems.length *
|
|
100621
100623
|
Number.parseInt(firstItem.height.replace('px', '')) +
|
|
100622
100624
|
16; // the margin of the content
|
|
100623
|
-
return (hAsync(ThemedHost, { key: '
|
|
100625
|
+
return (hAsync(ThemedHost, { key: 'b0155aacc6f39b156f88b570a4041194480a8655' }, hAsync("div", { key: '7bd0395cf764d93d4dc648d0da4b284d57dd618b', class: 'flex w-full flex-col' }, hAsync("div", { key: '0b45f8696cb04f47e43cbfe50b327c0900e7d01f', class: cn(header$1({
|
|
100624
100626
|
active: this.active,
|
|
100625
100627
|
open: this.open,
|
|
100626
|
-
})), onClick: () => (this.open = !this.open) }, this.showIndex && (hAsync("div", { key: '
|
|
100628
|
+
})), onClick: () => (this.open = !this.open) }, this.showIndex && (hAsync("div", { key: 'd4c204a8b0e770bffb99e47c5d5c04e488141df9', class: indexContainer({
|
|
100627
100629
|
active: this.active,
|
|
100628
100630
|
open: this.open,
|
|
100629
|
-
}) }, this.index)), hAsync("div", { key: '
|
|
100631
|
+
}) }, this.index)), hAsync("div", { key: '95c73c9fdc7f8084e73b2134eff8010a9d40778c', class: 'flex flex-1 flex-col' }, hAsync("p", { key: 'a551eeba3a348fffdbbbcb3580022cd72959f9f5', class: cn('m-0 text-sm', {
|
|
100630
100632
|
'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
|
|
100631
100633
|
'text-storm-500 dark:text-white': this.active,
|
|
100632
|
-
}) }, this.title), hAsync("p", { key: '
|
|
100634
|
+
}) }, this.title), hAsync("p", { key: 'bda3aaacf1a1cecb877fb80dbc7ac32ecc7d5a7f', class: cn('m-0 text-xs', {
|
|
100633
100635
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
100634
100636
|
'text-storm-300 dark:text-indigo-200': this.active,
|
|
100635
|
-
}) }, this.subtitle)), hAsync("p-icon", { key: '
|
|
100637
|
+
}) }, this.subtitle)), hAsync("p-icon", { key: '3eac0ca8b452b654bd0089c4879e9089dd6fba36', class: cn({
|
|
100636
100638
|
'text-storm-500 dark:text-white': this.active,
|
|
100637
100639
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
100638
|
-
}), rotate: this.open ? 180 : 0, variant: 'caret' })), hAsync("div", { key: '
|
|
100640
|
+
}), rotate: this.open ? 180 : 0, variant: 'caret' })), hAsync("div", { key: '8edaeafa660c40d03c615e0aa2d60e7711c37b96', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
|
|
100639
100641
|
maxHeight: `${this.open ? maxHeight : 0}px`,
|
|
100640
|
-
} }, hAsync("div", { key: '
|
|
100642
|
+
} }, hAsync("div", { key: '2668b4bdf209968453bb97ced1b888ae2dc67bf1', class: cn('absolute left-6 top-0 z-0 w-px', {
|
|
100641
100643
|
'bg-off-white-400 dark:bg-storm-500/30': !this.active,
|
|
100642
100644
|
'bg-indigo-100 dark:bg-hurricane-400': this.active,
|
|
100643
100645
|
}), style: {
|
|
100644
100646
|
height: `${maxHeight}px`,
|
|
100645
|
-
} }), hAsync("div", { key: '
|
|
100647
|
+
} }), hAsync("div", { key: 'fa5056cc735706f26d0ca4a03d9d03fd5767e4fb', class: cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
|
|
100646
100648
|
'bg-indigo-600': this._showItemIndicator,
|
|
100647
100649
|
'bg-transparent': !this._showItemIndicator,
|
|
100648
100650
|
}), style: {
|
|
100649
100651
|
transform: `translateY(${this._activeItemPosition}px)`,
|
|
100650
|
-
} }), hAsync("div", { key: '
|
|
100652
|
+
} }), hAsync("div", { key: 'ba73b20686349f4ca3b71b06f5147e6f972b5b0a', class: 'z-10 my-2 flex flex-col' }, hAsync("slot", { key: '5dd58c5ba434e9749cbd93c4d0164e1cdb71fd69', onSlotchange: () => this._slotChanged() }))))));
|
|
100651
100653
|
}
|
|
100652
100654
|
onWindowResize() {
|
|
100653
100655
|
this._calculateHeaderOffset();
|
|
@@ -100738,15 +100740,15 @@ class SubmenuItem {
|
|
|
100738
100740
|
this.activeChange.emit(this.active);
|
|
100739
100741
|
}
|
|
100740
100742
|
render() {
|
|
100741
|
-
return (hAsync(ThemedHost, { key: '
|
|
100743
|
+
return (hAsync(ThemedHost, { key: '4579daf4e68ade03abd2af7983535d369ba4e7d0' }, hAsync("div", { key: '23b987c8c93ac1df5ce9676971d5cd93665cabb1', class: cn([
|
|
100742
100744
|
'flex items-center',
|
|
100743
100745
|
'h-8 w-full pl-[calc(3rem+2px)]',
|
|
100744
100746
|
'cursor-pointer',
|
|
100745
100747
|
'group/submenu-item',
|
|
100746
|
-
]) }, hAsync("div", { key: '
|
|
100748
|
+
]) }, hAsync("div", { key: 'e988f4eb07e19ef11020fdda727a1c30e748120f', class: cn('flex items-center gap-2 transition-colors', {
|
|
100747
100749
|
'text-storm-400 dark:text-hurricane-100': !this.active,
|
|
100748
100750
|
'text-indigo-600': this.active,
|
|
100749
|
-
}) }, hAsync("p-icon", { key: '
|
|
100751
|
+
}) }, hAsync("p-icon", { key: '315cae7459d9340a47970834ada637ac52059897', variant: this.icon }), hAsync("slot", { key: '78cdd4b6a7caaf4f5e23f3921fb478f16e979b8f' })))));
|
|
100750
100752
|
}
|
|
100751
100753
|
static get style() { return submenuItemComponentCss(); }
|
|
100752
100754
|
static get cmpMeta() { return {
|
|
@@ -100768,24 +100770,32 @@ class TabContainer {
|
|
|
100768
100770
|
constructor(hostRef) {
|
|
100769
100771
|
registerInstance(this, hostRef);
|
|
100770
100772
|
}
|
|
100773
|
+
/**
|
|
100774
|
+
* Whether to enable scroll
|
|
100775
|
+
*/
|
|
100776
|
+
enableScroll = true;
|
|
100771
100777
|
render() {
|
|
100772
|
-
return (hAsync("div", { key: '
|
|
100778
|
+
return (hAsync("div", { key: '1b5aabd360facf84eb92465a4c97ba7e277346c2', class: 'relative flex h-8 w-full flex-col' }, hAsync("div", { key: 'cf478ed95026aae7c02416d8322c72371ffea585', class: cn('flex w-full gap-5 scrollbar-hide', {
|
|
100779
|
+
'overflow-x-auto': asBoolean(this.enableScroll),
|
|
100780
|
+
}) }, hAsync("slot", { key: '43597e5b985e144bb99803ed125f91918d830fd2' })), hAsync("p-divider", { key: 'c61b5b15edaea91c68e736b6bb56739fb91c8024', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
100773
100781
|
}
|
|
100774
100782
|
static get style() { return tabContainerComponentCss(); }
|
|
100775
100783
|
static get cmpMeta() { return {
|
|
100776
|
-
"$flags$":
|
|
100784
|
+
"$flags$": 777,
|
|
100777
100785
|
"$tagName$": "p-tab-container",
|
|
100778
|
-
"$members$":
|
|
100786
|
+
"$members$": {
|
|
100787
|
+
"enableScroll": [4, "enable-scroll"]
|
|
100788
|
+
},
|
|
100779
100789
|
"$listeners$": undefined,
|
|
100780
100790
|
"$lazyBundleId$": "-",
|
|
100781
100791
|
"$attrsToReflect$": []
|
|
100782
100792
|
}; }
|
|
100783
100793
|
}
|
|
100784
100794
|
|
|
100785
|
-
const tabItemComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.
|
|
100795
|
+
const tabItemComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.after\\:h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:bg-indigo-600:after{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:bg-transparent:after{background-color:transparent;content:var(--tw-content)}.hover\\:text-storm-400:hover{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.hover\\:after\\:bg-storm-400:hover:after{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}`;
|
|
100786
100796
|
|
|
100787
100797
|
const item = cva([
|
|
100788
|
-
'flex h-8
|
|
100798
|
+
'flex h-8 items-center justify-center gap-2 text-sm',
|
|
100789
100799
|
'cursor-pointer',
|
|
100790
100800
|
`
|
|
100791
100801
|
after:content-['
|
|
@@ -100823,15 +100833,25 @@ class TabItem {
|
|
|
100823
100833
|
* Wether the tab item is active
|
|
100824
100834
|
*/
|
|
100825
100835
|
active = false;
|
|
100836
|
+
/**
|
|
100837
|
+
* Wether to show a chevron or not
|
|
100838
|
+
*/
|
|
100839
|
+
chevron = false;
|
|
100840
|
+
/**
|
|
100841
|
+
* Chevron position
|
|
100842
|
+
*/
|
|
100843
|
+
chevronPosition = 'end';
|
|
100826
100844
|
render() {
|
|
100827
|
-
return (hAsync(ThemedHost, { key: '
|
|
100845
|
+
return (hAsync(ThemedHost, { key: 'bbcccea54feff997f547cb924e7a32a6be9672fc' }, hAsync("div", { key: 'a2ab472cdd47d15a9b231e0c4f1757800130c078', class: item({ active: this.active }) }, this.chevron && this.chevronPosition === 'start' && (hAsync("p-icon", { key: 'cd3a11b8fc0bba0f0318bac8e7ba6eb4037a9f25', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), hAsync("slot", { key: 'e9f495d5bcdd55d5a0e106ed1ade959e5f361e8c' }), this.chevron && this.chevronPosition === 'end' && (hAsync("p-icon", { key: 'de000972354a9a4dd3ce3bab3a0ce2b6d880b944', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })))));
|
|
100828
100846
|
}
|
|
100829
100847
|
static get style() { return tabItemComponentCss(); }
|
|
100830
100848
|
static get cmpMeta() { return {
|
|
100831
100849
|
"$flags$": 777,
|
|
100832
100850
|
"$tagName$": "p-tab-item",
|
|
100833
100851
|
"$members$": {
|
|
100834
|
-
"active": [4]
|
|
100852
|
+
"active": [4],
|
|
100853
|
+
"chevron": [8],
|
|
100854
|
+
"chevronPosition": [1, "chevron-position"]
|
|
100835
100855
|
},
|
|
100836
100856
|
"$listeners$": undefined,
|
|
100837
100857
|
"$lazyBundleId$": "-",
|
|
@@ -101662,7 +101682,7 @@ class TableCell {
|
|
|
101662
101682
|
};
|
|
101663
101683
|
}
|
|
101664
101684
|
render() {
|
|
101665
|
-
return (hAsync(ThemedHost, { key: '
|
|
101685
|
+
return (hAsync(ThemedHost, { key: 'd5049caf156aeb279f0c49c3318db77f9b69a322', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
101666
101686
|
}
|
|
101667
101687
|
_getContent() {
|
|
101668
101688
|
if (this.variant === 'loading') {
|
|
@@ -101794,7 +101814,7 @@ class TableContainer {
|
|
|
101794
101814
|
registerInstance(this, hostRef);
|
|
101795
101815
|
}
|
|
101796
101816
|
render() {
|
|
101797
|
-
return (hAsync(Host, { key: '
|
|
101817
|
+
return (hAsync(Host, { key: 'bd09e94f4e6625a107c8bbdc27d2bd2fe3c1f1b9', class: container$1() }, hAsync("slot", { key: '8e1f895b9168cd6baade8b7e8f4f7438a371c20a' })));
|
|
101798
101818
|
}
|
|
101799
101819
|
static get style() { return tableContainerComponentCss(); }
|
|
101800
101820
|
static get cmpMeta() { return {
|
|
@@ -101973,12 +101993,12 @@ class TableFooter {
|
|
|
101973
101993
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
101974
101994
|
}
|
|
101975
101995
|
render() {
|
|
101976
|
-
return (hAsync(ThemedHost, { key: '
|
|
101996
|
+
return (hAsync(ThemedHost, { key: 'bd11ef4ea7db5cd2b68bdc54a861fc0e7c57757f' }, hAsync("div", { key: 'd79176ec7bdc104cdd669c57af4ff31e9afdf27f', class: footer({
|
|
101977
101997
|
pinned: this._isPinned,
|
|
101978
101998
|
hidden: this._hidden,
|
|
101979
101999
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
101980
102000
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
101981
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
102001
|
+
this.total > 0 && (hAsync("p-pagination", { key: 'f4342d8e961deb557d9da8b44e6522e581615b7a', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
101982
102002
|
}
|
|
101983
102003
|
_changePageSize(s) {
|
|
101984
102004
|
if (!s) {
|
|
@@ -111817,13 +111837,13 @@ class TableRow {
|
|
|
111817
111837
|
*/
|
|
111818
111838
|
isLast = false;
|
|
111819
111839
|
render() {
|
|
111820
|
-
return (hAsync(ThemedHost, { key: '
|
|
111840
|
+
return (hAsync(ThemedHost, { key: 'ddf6a2776b32e8b37994cc2ca37a22ee28f6f39d' }, hAsync("div", { key: 'b5eeb9ce4daabcdf70bce497f33dfe26945b6e28', class: 'flex flex-col' }, hAsync("div", { key: '1f591131dd1b530275b6b5bf1a79a0a4977c33dc', class: row({
|
|
111821
111841
|
variant: this.variant,
|
|
111822
111842
|
enableHover: this.enableHover,
|
|
111823
111843
|
checked: this.checked,
|
|
111824
|
-
}) }, hAsync("div", { key: '
|
|
111844
|
+
}) }, hAsync("div", { key: '7c26c9172d6d272e008bc9156f1b67d8d09a9b1e', class: content$1({
|
|
111825
111845
|
variant: this.variant,
|
|
111826
|
-
}) }, hAsync("slot", { key: '
|
|
111846
|
+
}) }, hAsync("slot", { key: 'f58033f70451c7fb4bfbf07823feb4aa199d4730' }), hAsync("div", { key: '999168db7e5b7a7c5f5f47560786a4ec9d338cc2', class: actions() }, hAsync("slot", { key: '5a5860691132504171222e2052e75f60198d711c', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (hAsync("p-divider", { key: 'db86b959ebedfbb6cfdd3d819634c100fb0f972d' })))));
|
|
111827
111847
|
}
|
|
111828
111848
|
static get style() { return tableRowComponentCss(); }
|
|
111829
111849
|
static get cmpMeta() { return {
|
|
@@ -111923,16 +111943,16 @@ class TableRowActionsContainer {
|
|
|
111923
111943
|
*/
|
|
111924
111944
|
checked = false;
|
|
111925
111945
|
render() {
|
|
111926
|
-
return (hAsync(ThemedHost, { key: '
|
|
111946
|
+
return (hAsync(ThemedHost, { key: 'ab990c6a331db255603ba28a08da30199a8f27ef' }, hAsync("div", { key: 'c5589f08fc28e26a6c73a9a66970b128daa95206', class: cn(`
|
|
111927
111947
|
flex
|
|
111928
111948
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
111929
111949
|
`, {
|
|
111930
111950
|
'dark:before:from-hurricane-600': !this.checked,
|
|
111931
111951
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
111932
|
-
}) }, hAsync("div", { key: '
|
|
111952
|
+
}) }, hAsync("div", { key: '3e5a2a33bea96d75a1633e17887b57963cca2f9a', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
111933
111953
|
'dark:bg-hurricane-600': !this.checked,
|
|
111934
111954
|
'dark:bg-hurricane-400': !!this.checked,
|
|
111935
|
-
}) }, hAsync("slot", { key: '
|
|
111955
|
+
}) }, hAsync("slot", { key: '388975242f43cc8f146a8cf3ff45001aea038f44' })))));
|
|
111936
111956
|
}
|
|
111937
111957
|
static get style() { return tableRowActionsContainerComponentCss(); }
|
|
111938
111958
|
static get cmpMeta() { return {
|
|
@@ -112013,7 +112033,7 @@ class Toast {
|
|
|
112013
112033
|
*/
|
|
112014
112034
|
action;
|
|
112015
112035
|
render() {
|
|
112016
|
-
return (hAsync(ThemedHost, { key: '
|
|
112036
|
+
return (hAsync(ThemedHost, { key: '15023dff5c0c4bf47744cbe407ef640344f869fc' }, hAsync("div", { key: '2fec29167d1a4b22f02a8ec1dd30e60db478221a', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, hAsync("div", { key: 'b0e559e3a165f7947695bf28454ec2b4cd249bd4', class: indicator({ variant: this.variant }) }), hAsync("div", { key: '480e746e6346ac5db91fa4a41122fc0973972b98', class: content() }, hAsync("div", { key: '41b8ea9c77b34d3bb88907080ebcb0c1c7639a6e', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: '64c485588c03b1af6b4f9621db8092864218a9b3', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : hAsync("slot", { name: 'header' })), hAsync("p", { key: '2ffcc6a67a00de0342fd434708b970dd362d190b', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : hAsync("slot", { name: 'content' }))), this.enableAction && (hAsync("div", { key: '4eb33012eea3fd9c7867ea8b442c93b9ae0df5dd', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: '053e42f39fab14d6aff87ed85b6f05325a91bd98', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
112017
112037
|
}
|
|
112018
112038
|
_onClick() {
|
|
112019
112039
|
if (this.enableAction) {
|
|
@@ -112083,9 +112103,9 @@ class ToastContainer {
|
|
|
112083
112103
|
*/
|
|
112084
112104
|
placement = 'top-end';
|
|
112085
112105
|
render() {
|
|
112086
|
-
return (hAsync("div", { key: '
|
|
112106
|
+
return (hAsync("div", { key: '248a68b4ffbf7f9b3136927fb4a8ef6a3b683651', class: container({
|
|
112087
112107
|
placement: this.placement,
|
|
112088
|
-
}) }, hAsync("slot", { key: '
|
|
112108
|
+
}) }, hAsync("slot", { key: 'd7d6813c675f8bc54e3ed97b9e0adb7f18c96b3b' })));
|
|
112089
112109
|
}
|
|
112090
112110
|
static get style() { return toastContainerComponentCss(); }
|
|
112091
112111
|
static get cmpMeta() { return {
|
|
@@ -112243,11 +112263,11 @@ class Toggle {
|
|
|
112243
112263
|
}
|
|
112244
112264
|
render() {
|
|
112245
112265
|
const id = this.id?.length ? this.id : this._nonce;
|
|
112246
|
-
return (hAsync(ThemedHost, { key: '
|
|
112266
|
+
return (hAsync(ThemedHost, { key: '1367dc5e8e2ddc280c8fe4c3b1b8fd3b81140597' }, hAsync("label", { key: 'bbad177e14ede6263edf0ce15c137d0eae15ad81', class: 'flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: '8186da479526babe82d03cd5ef0e56d54c1fbae9', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'ba7acb727133094f0f8caffe39e175a562d3a257', checked: !!this.checked, class: toggle({
|
|
112247
112267
|
disabled: asBoolean(this.disabled),
|
|
112248
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
112268
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: 'fed7597c831e749fe546086a0597d29441f835be', class: circle({
|
|
112249
112269
|
disabled: asBoolean(this.disabled),
|
|
112250
|
-
}) })), hAsync("div", { key: '
|
|
112270
|
+
}) })), hAsync("div", { key: '3999918587494793cd04a72829dfa1b4c3558773', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: '3b70574c69a51566f484649e5590c919e938becc' })))));
|
|
112251
112271
|
}
|
|
112252
112272
|
_onChange(ev) {
|
|
112253
112273
|
if (asBoolean(this.disabled)) {
|
|
@@ -112378,10 +112398,10 @@ class Tooltip {
|
|
|
112378
112398
|
this._cleanup = null;
|
|
112379
112399
|
}
|
|
112380
112400
|
render() {
|
|
112381
|
-
return (hAsync(ThemedHost, { key: '
|
|
112401
|
+
return (hAsync(ThemedHost, { key: '351cfb85c63fe9f93cdd64d5faa4ff402b48a4bf', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: '39ad8ee33b22b75b43211aa03be843c9a90cd92a', name: 'trigger' }), hAsync("div", { key: '3c271dcad6cdc2eb1740aa095c65c96978de6ed7', class: popover({
|
|
112382
112402
|
variant: this.variant,
|
|
112383
112403
|
strategy: this.strategy,
|
|
112384
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '
|
|
112404
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '0408ffc10db978b05c6ae14ac2511b8f12ff3e87', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: '8a103bafed5c8f522463831dc756fa7e78d24142', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? hAsync("slot", { key: '2f8857816accda837015f59e49c062d529dcb1df', name: 'content' })))));
|
|
112385
112405
|
}
|
|
112386
112406
|
clickHandler() {
|
|
112387
112407
|
if (this.variant === 'hover' || !this.enableUserInput) {
|