@paperless/core 3.2.2 → 3.2.4
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/{p-1ac00601.entry.js → p-102da1de.entry.js} +1 -1
- package/dist/{paperless/p-6ac04b16.entry.js → build/p-187a4dda.entry.js} +1 -1
- package/dist/build/{p-b70ee063.entry.js → p-1b85b4f5.entry.js} +1 -1
- package/dist/{paperless/p-8a8adc4d.entry.js → build/p-2f9a3144.entry.js} +2 -2
- package/dist/{paperless/p-9e1977a6.entry.js → build/p-2ff08beb.entry.js} +1 -1
- package/dist/{paperless/p-9889be94.entry.js → build/p-31869c91.entry.js} +1 -1
- package/dist/build/{p-047da5c9.entry.js → p-4cd9344a.entry.js} +1 -1
- package/dist/{paperless/p-1fa99d63.entry.js → build/p-62f87c18.entry.js} +1 -1
- package/dist/build/p-63ef1d8d.entry.js +1 -0
- package/dist/{paperless/p-18245eb9.entry.js → build/p-6b1c18a6.entry.js} +1 -1
- package/dist/build/{p-7158dacd.entry.js → p-748c6ed3.entry.js} +1 -1
- package/dist/build/{p-6a7ce335.entry.js → p-7868dc58.entry.js} +1 -1
- package/dist/build/{p-fbd4c0ed.entry.js → p-8c1a3795.entry.js} +1 -1
- package/dist/build/p-8d67b17e.entry.js +1 -0
- package/dist/build/p-980f3529.entry.js +1 -0
- package/dist/build/{p-fa2e80c6.js → p-b4fcc93e.js} +1 -1
- package/dist/build/p-c4af6a8c.entry.js +1 -0
- package/dist/build/{p-cdcc28c2.entry.js → p-d6958e7a.entry.js} +1 -1
- package/dist/{paperless/p-eaa0079d.entry.js → build/p-df709c40.entry.js} +1 -1
- package/dist/build/{p-34448061.entry.js → p-e021a548.entry.js} +1 -1
- package/dist/build/{p-459f7a0b.entry.js → p-f13f7779.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +3 -3
- 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 +2 -2
- 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 +10 -10
- package/dist/cjs/p-field_3.cjs.entry.js +4 -4
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- 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-select.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
- 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 +2 -2
- 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/label/label.component.js +3 -3
- 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/select/select.component.js +2 -2
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +4 -4
- 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/components/{p-Dy1wXwZf.js → p-06SzeIsG.js} +1 -1
- package/dist/components/{p-NEqovphH.js → p-B-BsxOeK.js} +1 -1
- package/dist/components/{p-CTQuFuDk.js → p-B9s4_6Vm.js} +1 -1
- package/dist/components/{p-Cat2_HoM.js → p-BEhC6raw.js} +1 -1
- package/dist/components/p-C16aqi4P.js +1 -0
- package/dist/components/{p-CtxKjhiD.js → p-CcNA1hkp.js} +1 -1
- package/dist/components/{p-0Uawv030.js → p-CpYDgn2m.js} +1 -1
- package/dist/components/p-CrAZWi4n.js +1 -0
- package/dist/components/{p-D8FhwO0Q.js → p-DWHcD5b-.js} +1 -1
- package/dist/components/{p-BtliZ0U_.js → p-N5WuUoFr.js} +1 -1
- package/dist/components/{p-DKnCWy7F.js → p-TfYQFmRD.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-field.js +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/{p-BAvGAs2F.js → p-nGuULFe2.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-table-cell.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.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/esm/p-accordion.entry.js +3 -3
- 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 +2 -2
- 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 +10 -10
- package/dist/esm/p-field_3.entry.js +4 -4
- package/dist/esm/p-label.entry.js +3 -3
- 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-select.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-1ac00601.entry.js → p-102da1de.entry.js} +1 -1
- package/dist/{build/p-6ac04b16.entry.js → paperless/p-187a4dda.entry.js} +1 -1
- package/dist/paperless/{p-b70ee063.entry.js → p-1b85b4f5.entry.js} +1 -1
- package/dist/{build/p-8a8adc4d.entry.js → paperless/p-2f9a3144.entry.js} +2 -2
- package/dist/{build/p-9e1977a6.entry.js → paperless/p-2ff08beb.entry.js} +1 -1
- package/dist/{build/p-9889be94.entry.js → paperless/p-31869c91.entry.js} +1 -1
- package/dist/paperless/{p-047da5c9.entry.js → p-4cd9344a.entry.js} +1 -1
- package/dist/{build/p-1fa99d63.entry.js → paperless/p-62f87c18.entry.js} +1 -1
- package/dist/paperless/p-63ef1d8d.entry.js +1 -0
- package/dist/{build/p-18245eb9.entry.js → paperless/p-6b1c18a6.entry.js} +1 -1
- package/dist/paperless/{p-7158dacd.entry.js → p-748c6ed3.entry.js} +1 -1
- package/dist/paperless/{p-6a7ce335.entry.js → p-7868dc58.entry.js} +1 -1
- package/dist/paperless/{p-fbd4c0ed.entry.js → p-8c1a3795.entry.js} +1 -1
- package/dist/paperless/p-8d67b17e.entry.js +1 -0
- package/dist/paperless/p-980f3529.entry.js +1 -0
- package/dist/paperless/p-c4af6a8c.entry.js +1 -0
- package/dist/paperless/{p-cdcc28c2.entry.js → p-d6958e7a.entry.js} +1 -1
- package/dist/{build/p-eaa0079d.entry.js → paperless/p-df709c40.entry.js} +1 -1
- package/dist/paperless/{p-34448061.entry.js → p-e021a548.entry.js} +1 -1
- package/dist/paperless/{p-459f7a0b.entry.js → p-f13f7779.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/hydrate/index.js +54 -54
- package/hydrate/index.mjs +54 -54
- package/package.json +1 -1
- package/dist/build/p-381c13a8.entry.js +0 -1
- package/dist/build/p-a4ec1798.entry.js +0 -1
- package/dist/build/p-d93446ad.entry.js +0 -1
- package/dist/build/p-fd032172.entry.js +0 -1
- package/dist/components/p-COFt46UN.js +0 -1
- package/dist/components/p-MeQ48Q-1.js +0 -1
- package/dist/paperless/p-381c13a8.entry.js +0 -1
- package/dist/paperless/p-a4ec1798.entry.js +0 -1
- package/dist/paperless/p-d93446ad.entry.js +0 -1
- package/dist/paperless/p-fd032172.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -11557,7 +11557,7 @@ const TABLE_COLUMN_SIZES = [
|
|
|
11557
11557
|
'desktop-xl',
|
|
11558
11558
|
];
|
|
11559
11559
|
|
|
11560
|
-
const accordionComponentCss = () => `*{box-sizing:border-box}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mt-4{margin-top:1rem}.flex{display:flex}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.whitespace-nowrap{white-space:nowrap}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
11560
|
+
const accordionComponentCss = () => `*{box-sizing:border-box}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-2{gap:.5rem}.whitespace-nowrap{white-space:nowrap}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.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\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
11561
11561
|
|
|
11562
11562
|
class Accordion {
|
|
11563
11563
|
constructor(hostRef) {
|
|
@@ -11589,10 +11589,10 @@ class Accordion {
|
|
|
11589
11589
|
*/
|
|
11590
11590
|
isOpen;
|
|
11591
11591
|
render() {
|
|
11592
|
-
return (hAsync(ThemedHost, { key: '36d39106bf27e5005cfdd96f062e89d3be88dbef' }, hAsync("div", { key: '
|
|
11592
|
+
return (hAsync(ThemedHost, { key: '36d39106bf27e5005cfdd96f062e89d3be88dbef' }, hAsync("div", { key: '3e08603b16cb1e63be370f3f69bf302d55a73a6d', class: 'flex w-full flex-col' }, hAsync("div", { key: 'b434652c2acda88e09f87d7099cc10d87dba2799', class: cn('flex cursor-pointer items-center gap-2', {
|
|
11593
11593
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
11594
11594
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
11595
|
-
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '
|
|
11595
|
+
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '1b56837e3c8c799e8c950cb435c1a41b1b34a93e', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), hAsync("p", { key: '8e009479a0e30100ec50e0336758c67ef8b775e0', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), hAsync("p-divider", { key: '4b7029e11b60b2493b21a89fd377e42e9c6dbaf1', class: 'flex-1' })), this.open && (hAsync("div", { key: '1e7b7f6b9d4d3983e77eee7ba02f6bb1f7a53819', class: 'mt-4' }, hAsync("slot", { key: 'e7ea3de6a43120e5533f8f6f320eb6714bbae73a' }))))));
|
|
11596
11596
|
}
|
|
11597
11597
|
_onClick() {
|
|
11598
11598
|
if (!this.closeable && this.open) {
|
|
@@ -11729,28 +11729,28 @@ class Attachment {
|
|
|
11729
11729
|
_fileRef;
|
|
11730
11730
|
_cameraFileRef;
|
|
11731
11731
|
render() {
|
|
11732
|
-
let prefix = (hAsync("p-icon", { key: '
|
|
11732
|
+
let prefix = (hAsync("p-icon", { key: 'ff0d8b84e7b9a7dd184912d9689bcb8eca336c27', class: 'text-storm-300', variant: 'attachment' }));
|
|
11733
11733
|
if (this.error) {
|
|
11734
|
-
prefix = (hAsync("p-icon", { key: '
|
|
11734
|
+
prefix = (hAsync("p-icon", { key: 'edafa66b2cd94083d4b14f3bb0c4cf1a956db04f', class: 'text-negative-red-500', variant: 'warning' }));
|
|
11735
11735
|
}
|
|
11736
11736
|
// const isMobileDevice = isMobile();
|
|
11737
11737
|
const isMobileDevice = isTablet();
|
|
11738
11738
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
11739
|
-
return (hAsync(Fragment, { key: '
|
|
11739
|
+
return (hAsync(Fragment, { key: 'b2d624708b9d8ca28de78dd54fe9cc8eeeecb549' }, hAsync("p-field-container", { key: '07fffd5b21f0ac93ed152759ab84a389aee3e34e', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, hAsync("div", { key: '69ecea8f62871917c241518f6890d9bbd70839cf', class: 'flex w-full items-start gap-2', slot: 'content' }, hAsync("div", { key: '46e0bd7eda892914725c6f742fe0c1f2ccc93834', class: attachment({
|
|
11740
11740
|
click: this.mode === 'write' && !this.value?.length,
|
|
11741
11741
|
error: !!this.error?.length,
|
|
11742
|
-
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '
|
|
11742
|
+
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '0bee81f6c2a114113f6f7910e243d6f96dd158b1', class: cn(baseText, `
|
|
11743
11743
|
peer
|
|
11744
11744
|
empty:hidden
|
|
11745
11745
|
dark:text-white
|
|
11746
|
-
`) }, this.value), hAsync("span", { key: '
|
|
11746
|
+
`) }, this.value), hAsync("span", { key: '0ca55b4c5565663a1523fb23318e061413ab7024', class: cn(baseText, `
|
|
11747
11747
|
hidden
|
|
11748
11748
|
peer-empty:block
|
|
11749
|
-
`) }, this.placeholder)), hAsync("p-tooltip", { key: '
|
|
11749
|
+
`) }, this.placeholder)), hAsync("p-tooltip", { key: '9e96a2663671403a3a81571732af88e49df30749', class: 'w-8', content: this.mode === 'read'
|
|
11750
11750
|
? this.downloadTooltip
|
|
11751
11751
|
: this.value?.length
|
|
11752
11752
|
? this.deleteTooltip
|
|
11753
|
-
: this.uploadTooltip }, hAsync("p-button", { key: '
|
|
11753
|
+
: this.uploadTooltip }, hAsync("p-button", { key: '99cf07323a901392dd3049a43ed61b3f3c074483', disabled: this.loading, icon: this.mode === 'read'
|
|
11754
11754
|
? 'download'
|
|
11755
11755
|
: this.value?.length
|
|
11756
11756
|
? 'trash'
|
|
@@ -11761,7 +11761,7 @@ class Attachment {
|
|
|
11761
11761
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11762
11762
|
this.mode === 'write' &&
|
|
11763
11763
|
isMobileDevice &&
|
|
11764
|
-
!this.value?.length && (hAsync("p-tooltip", { key: '
|
|
11764
|
+
!this.value?.length && (hAsync("p-tooltip", { key: '6e152a4fd9c5c9b3abb5e0f53fc100a0a2d09901', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: '1337d04a24c9b1b6ed2d8b5d72e3765ca9f6a0cb', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: 'bcf332bfadc788d74e76918043bf6ac4e2970270', 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: 'a3f7befdf02a4ed11d90bb3595bc37e678908ad0', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11765
11765
|
}
|
|
11766
11766
|
_uploadClick() {
|
|
11767
11767
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -12802,7 +12802,7 @@ class ButtonGroup {
|
|
|
12802
12802
|
this._checkButtons();
|
|
12803
12803
|
}
|
|
12804
12804
|
render() {
|
|
12805
|
-
return (hAsync(Host, { key: '
|
|
12805
|
+
return (hAsync(Host, { key: '0194482014cf63bb2b1b232f3a535dbc38fe3943', class: 'flex items-center' }, hAsync("slot", { key: '29f15517952e4eea497b805c089a858d556394ab' })));
|
|
12806
12806
|
}
|
|
12807
12807
|
slotchange() {
|
|
12808
12808
|
this._checkButtons();
|
|
@@ -88144,7 +88144,7 @@ class Calendar {
|
|
|
88144
88144
|
}
|
|
88145
88145
|
}
|
|
88146
88146
|
render() {
|
|
88147
|
-
return (hAsync(ThemedHost, { key: '
|
|
88147
|
+
return (hAsync(ThemedHost, { key: '396e1c7059b24d8aec57317d839f448be1e37f26' }, hAsync("div", { key: '9030d30aa2fbd06919ec711c01f135ef35c5d7f6', class: calendar$1({ variant: this.variant }) }, this._getView())));
|
|
88148
88148
|
}
|
|
88149
88149
|
_checkTodayButton() {
|
|
88150
88150
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -88892,13 +88892,13 @@ class ContentSlider {
|
|
|
88892
88892
|
}
|
|
88893
88893
|
}
|
|
88894
88894
|
render() {
|
|
88895
|
-
return (hAsync(Host, { key: '
|
|
88895
|
+
return (hAsync(Host, { key: 'ced2d428e5bb5831898a3092ea2f0d7b9802ef02', class: 'p-content-slider' }, hAsync("div", { key: 'e3dfda6e2643f979be7d68b908dd282c94c39b1d', class: `
|
|
88896
88896
|
slider
|
|
88897
88897
|
${!this.disableDrag && 'draggable'}
|
|
88898
88898
|
${this._dragging && 'dragging'}
|
|
88899
88899
|
`, ref: el => (this._sliderRef = el), style: {
|
|
88900
88900
|
height: `${this._outerHeight}px`,
|
|
88901
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '
|
|
88901
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: 'cfef628f79dd457341ff316119afe53386585fd4', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, hAsync("slot", { key: '08496344b73b4fb1c84d0df7e53d01b83c54a01c', onSlotchange: () => this._slotChange() }))), hAsync("div", { key: '1f058ce1a871ce924a19e5f03733087b347fe7dc', class: `
|
|
88902
88902
|
indicator
|
|
88903
88903
|
${this.hideMobileIndicator && 'hidden'}
|
|
88904
88904
|
` }, this._filteredItems.map((_, i) => (hAsync("div", { class: `
|
|
@@ -91949,7 +91949,7 @@ class Cropper {
|
|
|
91949
91949
|
const themeColor = state.theme === 'dark'
|
|
91950
91950
|
? 'rgba(70, 75, 84, 0.5)'
|
|
91951
91951
|
: 'rgba(255, 255, 255, 0.5)';
|
|
91952
|
-
return (hAsync(ThemedHost, { key: '
|
|
91952
|
+
return (hAsync(ThemedHost, { key: '52a057456517492463f371277934b7e486dc5b79' }, this._loaded && (hAsync("cropper-canvas", { key: 'a6322cc2fe70a66d880e7346b203dce27f8c9c5b', 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: '10b5a28a47fcf404b7a715750407420bf565ed3c', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), hAsync("cropper-shade", { key: '72e99381cd0275245d7e09cad083743116bf2466', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), hAsync("cropper-selection", { key: '00294b6423488b070b998039e3bb096cdc1f621b', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), hAsync("cropper-handle", { key: '08bec65589e6f90042a0502f0def27e60383565d', action: 'move', plain: true }))), hAsync("p-range", { key: '95c2c0305abbdd03271d1c02d6a8bcf896037a71', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
91953
91953
|
}
|
|
91954
91954
|
_setImageRef(ref) {
|
|
91955
91955
|
if (this._imageRef || !ref) {
|
|
@@ -92276,7 +92276,7 @@ class Datepicker {
|
|
|
92276
92276
|
}
|
|
92277
92277
|
}
|
|
92278
92278
|
render() {
|
|
92279
|
-
return (hAsync("p-dropdown", { key: '
|
|
92279
|
+
return (hAsync("p-dropdown", { key: '9bd033bcc9c678b922d2708f0115359a10eda050', 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: '9954ad569303d1c301e9e23c11ddc8667ed5885b', 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: '910da60dd3e8493be39af5153ec17fcaa712d547', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
92280
92280
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
92281
92281
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92282
92282
|
}), min: this._minDate &&
|
|
@@ -92285,7 +92285,7 @@ class Datepicker {
|
|
|
92285
92285
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
92286
92286
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
92287
92287
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92288
|
-
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '
|
|
92288
|
+
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: 'dbc9708700e9da87b6eaed0074b2c0874af1273e', slot: 'items', tabIndex: -1 }, hAsync("p-calendar", { key: 'f209ed8fb397826f9d17f1d635e815418335903c', 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) }))));
|
|
92289
92289
|
}
|
|
92290
92290
|
documentClickHandler({ target }) {
|
|
92291
92291
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -94453,12 +94453,12 @@ class Dropdown {
|
|
|
94453
94453
|
this._checkItems();
|
|
94454
94454
|
}
|
|
94455
94455
|
render() {
|
|
94456
|
-
return (hAsync(Host, { key: '
|
|
94456
|
+
return (hAsync(Host, { key: 'bedacfe4315ca3990dd8b87c32dbae364722666d', class: 'relative' }, hAsync("div", { key: 'd10200cc877f7ab3dcd3ba012b6ca9c6d622cee3', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: '9b5929215afd8d87b966edad2a1093af1e80107a', name: 'trigger' })), hAsync("div", { key: '11ab8f42724bd08e60dd2b492b6e88384be92312', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: '1cfd2dd29d735f2f4fa7afe6cb3f6a8a0acb3b11', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94457
94457
|
strategy: this.strategy,
|
|
94458
94458
|
maxWidth: this.applyMaxWidth,
|
|
94459
94459
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94460
94460
|
isDatepicker: this.isDatepicker,
|
|
94461
|
-
}), 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: '
|
|
94461
|
+
}), 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: '024950445590c6fe467cf729b0df8e8eaa87241b', name: 'items' })))));
|
|
94462
94462
|
}
|
|
94463
94463
|
_checkButtons(active = false) {
|
|
94464
94464
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -95121,11 +95121,11 @@ class EmptyState {
|
|
|
95121
95121
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
95122
95122
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
95123
95123
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
95124
|
-
return (hAsync(ThemedHost, { key: '
|
|
95124
|
+
return (hAsync(ThemedHost, { key: 'e156e226af805d55fb5d1ea617d5e219d8d265b7' }, hAsync("div", { key: '417385b03f1494ba500540abf53b202a00140eb2', class: emptyState({
|
|
95125
95125
|
enableAction: asBoolean(this.enableAction, true),
|
|
95126
95126
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
95127
95127
|
? this.action.emit(ev)
|
|
95128
|
-
: undefined }, this.illustration && (hAsync("p-illustration", { key: '
|
|
95128
|
+
: undefined }, this.illustration && (hAsync("p-illustration", { key: '2d95c6f7761f817b2bf4968118e7ac5dc6d62abe', 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 &&
|
|
95129
95129
|
(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))))));
|
|
95130
95130
|
}
|
|
95131
95131
|
static get style() { return emptyStateComponentCss(); }
|
|
@@ -95523,8 +95523,8 @@ class Field {
|
|
|
95523
95523
|
}
|
|
95524
95524
|
render() {
|
|
95525
95525
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
95526
|
-
return (hAsync(ThemedHost, { key: '
|
|
95527
|
-
(!!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: '
|
|
95526
|
+
return (hAsync(ThemedHost, { key: 'd957c15ac5c4fd277a79716e8f7644be5b7e413e' }, hAsync("p-field-container", { key: '4ec3f19bf0e3336b652add8730974d890deaf1bc', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
95527
|
+
(!!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: '74c5bf652fa519804b802cb930b764a62a7991aa', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: 'f63069722b80fab8c262646787de0cfda2479def', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: '3045c36ea36e2d9b81b1fe31955237162ba50c62', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: 'a9fe88d52f8f71ad09d1e2dbd3d0d42818ae64e9', name: 'error', slot: 'error' })), hAsync("div", { key: '805fc95477292dcf8404eb5f206bbfd576431dd2', class: field({
|
|
95528
95528
|
error: !!this.error?.length,
|
|
95529
95529
|
disabled: asBoolean(this.disabled),
|
|
95530
95530
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -95535,7 +95535,7 @@ class Field {
|
|
|
95535
95535
|
? `${this.value}`
|
|
95536
95536
|
: undefined }, (this.error?.length ||
|
|
95537
95537
|
prefix ||
|
|
95538
|
-
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
95538
|
+
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '41d8592d1683e02c23742e3fcae5f198e5dac18e', class: prefixAndSuffix({
|
|
95539
95539
|
variant: this.variant,
|
|
95540
95540
|
error: !!this.error?.length,
|
|
95541
95541
|
disabled: asBoolean(this.disabled),
|
|
@@ -95545,7 +95545,7 @@ class Field {
|
|
|
95545
95545
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
95546
95546
|
this.error?.length ? (hAsync("p-icon", { class: cn('flex', {
|
|
95547
95547
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
95548
|
-
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '
|
|
95548
|
+
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '696e95bfe4ee145a02e4de13f697a01b62bb2678', class: prefixAndSuffix({
|
|
95549
95549
|
variant: this.variant,
|
|
95550
95550
|
error: !!this.error?.length,
|
|
95551
95551
|
disabled: asBoolean(this.disabled),
|
|
@@ -96748,17 +96748,17 @@ class Label {
|
|
|
96748
96748
|
*/
|
|
96749
96749
|
keepMobileContent = false;
|
|
96750
96750
|
render() {
|
|
96751
|
-
return (hAsync(ThemedHost, { key: '
|
|
96751
|
+
return (hAsync(ThemedHost, { key: '11f93a805b545dbdf3d8f7f07d2ba9d9b72f9465' }, hAsync("div", { key: '1947c9e35ae05a8ffda7d35c4f72edf8edd6eb78', class: label({
|
|
96752
96752
|
variant: this.variant,
|
|
96753
96753
|
iconOnly: this.iconOnly,
|
|
96754
96754
|
keepMobileContent: this.keepMobileContent,
|
|
96755
|
-
}) }, this.icon && (hAsync("p-icon", { key: '
|
|
96755
|
+
}) }, this.icon && (hAsync("p-icon", { key: '5531821ffd0f42ab9ed8c6eca76e8f1537bcb976', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (hAsync("div", { key: 'acefad061d0e66e1404fb3847b0853069179b306', class: cn(`
|
|
96756
96756
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
96757
96757
|
font-medium
|
|
96758
96758
|
`, {
|
|
96759
96759
|
hidden: !this.keepMobileContent,
|
|
96760
96760
|
'desktop-xs:block': !this.keepMobileContent,
|
|
96761
|
-
}) }, hAsync("slot", { key: '
|
|
96761
|
+
}) }, hAsync("slot", { key: 'b96c6e958fb8786e078fa9cbdeb1daac494ef9f3' }))))));
|
|
96762
96762
|
}
|
|
96763
96763
|
static get style() { return labelComponentCss(); }
|
|
96764
96764
|
static get cmpMeta() { return {
|
|
@@ -96832,10 +96832,10 @@ class Listing {
|
|
|
96832
96832
|
}
|
|
96833
96833
|
}
|
|
96834
96834
|
render() {
|
|
96835
|
-
return (hAsync("div", { key: '
|
|
96835
|
+
return (hAsync("div", { key: 'bd62a9cb5f45d0be1bf09636a4d576a70a4350fb', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
96836
96836
|
'opacity-100': this._generatedOnce,
|
|
96837
96837
|
'opacity-0': !this._generatedOnce,
|
|
96838
|
-
}) }, hAsync("slot", { key: '
|
|
96838
|
+
}) }, hAsync("slot", { key: 'c762354f8f1f0023a6a73bff00fc5333431c8226', onSlotchange: () => this._generateLinesOnce() })));
|
|
96839
96839
|
}
|
|
96840
96840
|
_generateLinesOnce() {
|
|
96841
96841
|
if (this._generateTimeout) {
|
|
@@ -97404,7 +97404,7 @@ class Navbar {
|
|
|
97404
97404
|
}
|
|
97405
97405
|
_show = false;
|
|
97406
97406
|
render() {
|
|
97407
|
-
return (hAsync(ThemedHost, { key: '
|
|
97407
|
+
return (hAsync(ThemedHost, { key: '814b399715eba8a9f4c81ed550431b8b3cc29d39' }, hAsync("p-backdrop", { key: '59c99e5c8ce0dbacae386da8ceb4a7a23b4778bd', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: '815fcb1b40cfdbe3a4bd47676b374254073254df', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: 'a078f18dcc8885db9bd3661cc227adccaf30b8c1', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, hAsync("p-button", { key: 'be1fbb0ee3d1455f4af3b5399a52c38a760ddb1f', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), hAsync("div", { key: 'c4b1d03bb1c5fd109b99e3d587873b3f47ab1350', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, hAsync("slot", { key: 'a981dbc4d887d420cb8b5c7c69fee4795cb07272', name: 'company' })), hAsync("div", { key: '035880f4bb9d321c3d4f9d5fb6df34191ba1be13', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: '0d75492d278db82db0a62a4717c94df59a02349c', name: 'content' })), hAsync("div", { key: '66e0a56030477a2e3c8b1706f698114e85b88fe6', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, hAsync("slot", { key: '7ad2e2db299e914b8977f8c300d636d317c06741', name: 'user' }))), hAsync("div", { key: '70be960e812e2b4904a3045193ca16fc2391e4a6', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: '19b70f87d40558f633d5d9d8b42b60ba4c999826', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), hAsync("slot", { key: 'c980989054dc51e2e54bf5d032895e297742fe61', name: 'topbar' }))));
|
|
97408
97408
|
}
|
|
97409
97409
|
handleCloseNavbar() {
|
|
97410
97410
|
this._show = false;
|
|
@@ -97515,13 +97515,13 @@ class NavigationItem {
|
|
|
97515
97515
|
render() {
|
|
97516
97516
|
const TagType = this.as;
|
|
97517
97517
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
97518
|
-
return (hAsync(ThemedHost, { key: '
|
|
97518
|
+
return (hAsync(ThemedHost, { key: 'f683b2979f9fde20b6e37ba7f3460fd052cce426', class: cn('p-navigation-item inline-block', this.class) }, hAsync(TagType, { key: '8f9b4557b535d893375bcbe9108a618aff26974e', class: navigationItem({
|
|
97519
97519
|
icon: !!this.icon,
|
|
97520
97520
|
active,
|
|
97521
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
97521
|
+
}), href: this.href, target: this.target }, hAsync("div", { key: '6a32cd63b465492becb679ba08175e79a9c053c8', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: '5fd49857c3f424479731379311ee426d2bf9b79e', variant: this.icon })), hAsync("span", { key: '8d1527282d584b49e7990455e6bba80debd48cd5', class: cn({
|
|
97522
97522
|
'has-counter': !!this.counter,
|
|
97523
97523
|
'w-full': this.applyFullWidth,
|
|
97524
|
-
}) }, hAsync("slot", { key: '
|
|
97524
|
+
}) }, hAsync("slot", { key: '6b9480c94455eeb524a029f21794fc89cb31c857' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: '7677e25cb31c5f98bbe70b05e4ca95c518ab696c' }, this.counter)), !!this.loading && hAsync("p-loader", { key: 'c006a2604a54309028adda2d3aaff26e1d0acd3c', class: 'ml-auto' }))));
|
|
97525
97525
|
}
|
|
97526
97526
|
static get style() { return navigationItemComponentCss(); }
|
|
97527
97527
|
static get cmpMeta() { return {
|
|
@@ -97555,7 +97555,7 @@ class NavigationSection {
|
|
|
97555
97555
|
*/
|
|
97556
97556
|
header;
|
|
97557
97557
|
render() {
|
|
97558
|
-
return (hAsync(ThemedHost, { key: '
|
|
97558
|
+
return (hAsync(ThemedHost, { key: '8fb1c4a553d9c4a5326c1692f50913be4d9865dc', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (hAsync("p-navigation-title", { key: 'e5d53c6cc8c05cfb0a0566b94ceebe1a894f77b3' }, this.header)), hAsync("div", { key: 'a29814e605c46668e89773b1e7d3540aabd8c3ae', class: 'flex flex-col' }, hAsync("slot", { key: '683d1571c171719465093efc4d6c9d7dcb3ddeb5' }))));
|
|
97559
97559
|
}
|
|
97560
97560
|
static get style() { return navigationSectionComponentCss(); }
|
|
97561
97561
|
static get cmpMeta() { return {
|
|
@@ -97657,12 +97657,12 @@ class Pagination {
|
|
|
97657
97657
|
_hasPaginationPages = true;
|
|
97658
97658
|
render() {
|
|
97659
97659
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
97660
|
-
return (hAsync(ThemedHost, { key: '
|
|
97660
|
+
return (hAsync(ThemedHost, { key: '29ed189925a9e93e1939cfd66cf91915a5b8474d' }, hAsync("div", { key: '2705a46004eb47c6cbbf6dfa448ae69a6dfc96dc', class: pagination$1({
|
|
97661
97661
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
97662
97662
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
97663
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '
|
|
97663
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: 'bb6985dd638fea4e904aae04ba70edc7d94b3c52' }, hAsync("p-pagination-size", { key: '730a4c91d7b3d8d0e2c57dc5e120222daef8b3c4', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
97664
97664
|
this.hideOnSinglePage &&
|
|
97665
|
-
this._hasPaginationPages && (hAsync("p-divider", { key: '
|
|
97665
|
+
this._hasPaginationPages && (hAsync("p-divider", { key: '1496283b26ea9d0801e94bd8dc3987a6dc14480f', 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: '5aaf4021a8b4166bbb8a50b0e6127af1fc0995f7', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
97666
97666
|
this._hasPaginationPages = detail > 1;
|
|
97667
97667
|
this.pagesChange.emit(detail);
|
|
97668
97668
|
} })))));
|
|
@@ -98260,7 +98260,7 @@ class Profile {
|
|
|
98260
98260
|
}
|
|
98261
98261
|
render() {
|
|
98262
98262
|
const content = this._getContent();
|
|
98263
|
-
return (hAsync(ThemedHost, { key: '
|
|
98263
|
+
return (hAsync(ThemedHost, { key: 'ca4c5879a59946cdbbab9a802fbf62547194aaa9' }, 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)));
|
|
98264
98264
|
}
|
|
98265
98265
|
slotchange() {
|
|
98266
98266
|
this._checkDropdownSlot();
|
|
@@ -98494,13 +98494,13 @@ class Range {
|
|
|
98494
98494
|
valueChange;
|
|
98495
98495
|
render() {
|
|
98496
98496
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
98497
|
-
return (hAsync(ThemedHost, { key: '
|
|
98497
|
+
return (hAsync(ThemedHost, { key: 'ae78cbe140c926f4c15da133c99dd2b84ff1060f' }, hAsync("div", { key: '27a1f144fa8c1fa7c62ffb9b6300ce4f7b5d032c', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: '353b493c7deb2a8de7b461dd5e78bf7af41ffbd2', variant: 'minus' }), hAsync("div", { key: 'afb0b67c052ef23f0a85c5ed2b4286f3769114f2', class: 'relative h-6 flex-1' }, hAsync("input", { key: '664649a633ea007d101dd7ef9a5dc528cd503bce', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
98498
98498
|
const value = ev.target.value;
|
|
98499
98499
|
this.value = Number.parseFloat(value);
|
|
98500
98500
|
this.valueChange.emit(value);
|
|
98501
|
-
} }), hAsync("div", { key: '
|
|
98501
|
+
} }), hAsync("div", { key: '0bea7f03b87ab00d74780796f00f3eda90bc1b96', class: '\n z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
98502
98502
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
98503
|
-
} })), hAsync("p-icon", { key: '
|
|
98503
|
+
} })), hAsync("p-icon", { key: '8136e15955e461ec30c3bb8d83cabbd80c8089f2', variant: 'plus' }))));
|
|
98504
98504
|
}
|
|
98505
98505
|
static get style() { return rangeComponentCss(); }
|
|
98506
98506
|
static get cmpMeta() { return {
|
|
@@ -98984,8 +98984,8 @@ class Select {
|
|
|
98984
98984
|
if (this.error?.length) {
|
|
98985
98985
|
buttonIcon = 'warning';
|
|
98986
98986
|
}
|
|
98987
|
-
return (hAsync(ThemedHost, { key: '
|
|
98988
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: '
|
|
98987
|
+
return (hAsync(ThemedHost, { key: 'c72782f726a393fbf065df5c19603b8513b992bd' }, hAsync("p-field-container", { key: '5414460d0eba2693c6d70175cd69df054bcfe01e', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, hAsync("p-dropdown", { key: '1763f1babda4a931aaa46640f46c449ce8bb254e', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, hAsync("p-button", { key: '6fb109a52eb65b8caa0d24adf8eaf2c2e6202ef4', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
98988
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: '1c9c421e23b7b3ee13f7871cc31fd106baa7c392', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
98989
98989
|
}
|
|
98990
98990
|
documentClickHandler(event) {
|
|
98991
98991
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -100776,7 +100776,7 @@ class TableCell {
|
|
|
100776
100776
|
};
|
|
100777
100777
|
}
|
|
100778
100778
|
render() {
|
|
100779
|
-
return (hAsync(ThemedHost, { key: '
|
|
100779
|
+
return (hAsync(ThemedHost, { key: 'f6abd4c007ae672b8d3bba899ee69ceaf5c258a3', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
100780
100780
|
}
|
|
100781
100781
|
_getContent() {
|
|
100782
100782
|
if (this.variant === 'loading') {
|
|
@@ -101087,12 +101087,12 @@ class TableFooter {
|
|
|
101087
101087
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
101088
101088
|
}
|
|
101089
101089
|
render() {
|
|
101090
|
-
return (hAsync(ThemedHost, { key: '
|
|
101090
|
+
return (hAsync(ThemedHost, { key: '2a9d106d8fcda59dbe0615b936dec5c5a6c06ac3' }, hAsync("div", { key: '92904418a7130a5b5b03c60c4ef9a5297fa67900', class: footer({
|
|
101091
101091
|
pinned: this._isPinned,
|
|
101092
101092
|
hidden: this._hidden,
|
|
101093
101093
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
101094
101094
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
101095
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
101095
|
+
this.total > 0 && (hAsync("p-pagination", { key: 'b085a53358757b965720f35ad4deb70a705b4cfd', 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) })))));
|
|
101096
101096
|
}
|
|
101097
101097
|
_changePageSize(s) {
|
|
101098
101098
|
if (!s) {
|
|
@@ -101105,7 +101105,7 @@ class TableFooter {
|
|
|
101105
101105
|
const rect = this._el.getBoundingClientRect();
|
|
101106
101106
|
const modal = this._el.closest('p-modal');
|
|
101107
101107
|
const layout = document.querySelector('p-layout');
|
|
101108
|
-
if (modal) {
|
|
101108
|
+
if (modal && !this._hidden) {
|
|
101109
101109
|
const modalBody = modal.shadowRoot.querySelector('p-modal-body');
|
|
101110
101110
|
const innerContent = modalBody.shadowRoot.querySelector('div');
|
|
101111
101111
|
const innerContentComputed = getComputedStyle(innerContent);
|
|
@@ -101113,7 +101113,7 @@ class TableFooter {
|
|
|
101113
101113
|
this._el.style.bottom = `-${modalPaddingBottom}px`;
|
|
101114
101114
|
this._el.style.marginBottom = `-${modalPaddingBottom - 1}px`;
|
|
101115
101115
|
}
|
|
101116
|
-
if (layout && !modal) {
|
|
101116
|
+
if (layout && !modal && !this._hidden) {
|
|
101117
101117
|
const innerContent = layout.shadowRoot.querySelector('.content');
|
|
101118
101118
|
const innerContentComputed = getComputedStyle(innerContent);
|
|
101119
101119
|
const layoutPaddingBottom = Number.parseInt(innerContentComputed.paddingBottom, 10);
|
|
@@ -110923,13 +110923,13 @@ class TableRow {
|
|
|
110923
110923
|
*/
|
|
110924
110924
|
isLast = false;
|
|
110925
110925
|
render() {
|
|
110926
|
-
return (hAsync(ThemedHost, { key: '
|
|
110926
|
+
return (hAsync(ThemedHost, { key: '0d120affd1a9979fee9871f4185e5be8128235e8' }, hAsync("div", { key: '5686db4396a01a88c3962bc6a821c0e1552c13f1', class: 'flex flex-col' }, hAsync("div", { key: '71e6470049acc4b3acebbb478ebd8fba5f36d688', class: row({
|
|
110927
110927
|
variant: this.variant,
|
|
110928
110928
|
enableHover: this.enableHover,
|
|
110929
110929
|
checked: this.checked,
|
|
110930
|
-
}) }, hAsync("div", { key: '
|
|
110930
|
+
}) }, hAsync("div", { key: 'e2d1a4259be84eca424d30d53a88a7a8cdb2336c', class: content$1({
|
|
110931
110931
|
variant: this.variant,
|
|
110932
|
-
}) }, hAsync("slot", { key: '
|
|
110932
|
+
}) }, hAsync("slot", { key: '7457daaf7e4fd01b21c68d048ff9dfed9387b507' }), hAsync("div", { key: '780993e2462abeb10d1c56a15bd29bc77348bcdd', class: actions() }, hAsync("slot", { key: 'e2ff2aa57ae3754fe904cde800a0dc6d9da192ed', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (hAsync("p-divider", { key: '5a76c8dca2fa8bdfd6476362d83f30b0832d1762' })))));
|
|
110933
110933
|
}
|
|
110934
110934
|
static get style() { return tableRowComponentCss(); }
|
|
110935
110935
|
static get cmpMeta() { return {
|
|
@@ -111119,7 +111119,7 @@ class Toast {
|
|
|
111119
111119
|
*/
|
|
111120
111120
|
action;
|
|
111121
111121
|
render() {
|
|
111122
|
-
return (hAsync(ThemedHost, { key: '
|
|
111122
|
+
return (hAsync(ThemedHost, { key: '8d36846b85c4e661ccd81533ac05eb6a651bedb6' }, hAsync("div", { key: '5a60824f6868fa38893b7e451850f6e181caa95c', 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: 'c3ebd2eecb1f3378176653bfe7ae96bd9b7b4b13', class: indicator({ variant: this.variant }) }), hAsync("div", { key: '89ce39565adb3958a12551d5021f7ab86c9babb5', class: content() }, hAsync("div", { key: '9c833a877f81b34c53ff73378b799fad436e76fd', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: '7ec87f298e4dda01ff689f877d436c726abef8a5', 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: '08c6c263d6ce9915b055fc24e4b0aca7d2b7bfc2', 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: '111084df846674e17f00ec8c7902a099f05a1e58', 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: '660342af8a7f33cdd2495cf03fd54fe8923babc8', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
111123
111123
|
}
|
|
111124
111124
|
_onClick() {
|
|
111125
111125
|
if (this.enableAction) {
|