@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.mjs
CHANGED
|
@@ -11555,7 +11555,7 @@ const TABLE_COLUMN_SIZES = [
|
|
|
11555
11555
|
'desktop-xl',
|
|
11556
11556
|
];
|
|
11557
11557
|
|
|
11558
|
-
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))}`;
|
|
11558
|
+
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))}`;
|
|
11559
11559
|
|
|
11560
11560
|
class Accordion {
|
|
11561
11561
|
constructor(hostRef) {
|
|
@@ -11587,10 +11587,10 @@ class Accordion {
|
|
|
11587
11587
|
*/
|
|
11588
11588
|
isOpen;
|
|
11589
11589
|
render() {
|
|
11590
|
-
return (hAsync(ThemedHost, { key: '36d39106bf27e5005cfdd96f062e89d3be88dbef' }, hAsync("div", { key: '
|
|
11590
|
+
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', {
|
|
11591
11591
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
11592
11592
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
11593
|
-
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '
|
|
11593
|
+
}), 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' }))))));
|
|
11594
11594
|
}
|
|
11595
11595
|
_onClick() {
|
|
11596
11596
|
if (!this.closeable && this.open) {
|
|
@@ -11727,28 +11727,28 @@ class Attachment {
|
|
|
11727
11727
|
_fileRef;
|
|
11728
11728
|
_cameraFileRef;
|
|
11729
11729
|
render() {
|
|
11730
|
-
let prefix = (hAsync("p-icon", { key: '
|
|
11730
|
+
let prefix = (hAsync("p-icon", { key: 'ff0d8b84e7b9a7dd184912d9689bcb8eca336c27', class: 'text-storm-300', variant: 'attachment' }));
|
|
11731
11731
|
if (this.error) {
|
|
11732
|
-
prefix = (hAsync("p-icon", { key: '
|
|
11732
|
+
prefix = (hAsync("p-icon", { key: 'edafa66b2cd94083d4b14f3bb0c4cf1a956db04f', class: 'text-negative-red-500', variant: 'warning' }));
|
|
11733
11733
|
}
|
|
11734
11734
|
// const isMobileDevice = isMobile();
|
|
11735
11735
|
const isMobileDevice = isTablet();
|
|
11736
11736
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
11737
|
-
return (hAsync(Fragment, { key: '
|
|
11737
|
+
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({
|
|
11738
11738
|
click: this.mode === 'write' && !this.value?.length,
|
|
11739
11739
|
error: !!this.error?.length,
|
|
11740
|
-
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '
|
|
11740
|
+
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '0bee81f6c2a114113f6f7910e243d6f96dd158b1', class: cn(baseText, `
|
|
11741
11741
|
peer
|
|
11742
11742
|
empty:hidden
|
|
11743
11743
|
dark:text-white
|
|
11744
|
-
`) }, this.value), hAsync("span", { key: '
|
|
11744
|
+
`) }, this.value), hAsync("span", { key: '0ca55b4c5565663a1523fb23318e061413ab7024', class: cn(baseText, `
|
|
11745
11745
|
hidden
|
|
11746
11746
|
peer-empty:block
|
|
11747
|
-
`) }, this.placeholder)), hAsync("p-tooltip", { key: '
|
|
11747
|
+
`) }, this.placeholder)), hAsync("p-tooltip", { key: '9e96a2663671403a3a81571732af88e49df30749', class: 'w-8', content: this.mode === 'read'
|
|
11748
11748
|
? this.downloadTooltip
|
|
11749
11749
|
: this.value?.length
|
|
11750
11750
|
? this.deleteTooltip
|
|
11751
|
-
: this.uploadTooltip }, hAsync("p-button", { key: '
|
|
11751
|
+
: this.uploadTooltip }, hAsync("p-button", { key: '99cf07323a901392dd3049a43ed61b3f3c074483', disabled: this.loading, icon: this.mode === 'read'
|
|
11752
11752
|
? 'download'
|
|
11753
11753
|
: this.value?.length
|
|
11754
11754
|
? 'trash'
|
|
@@ -11759,7 +11759,7 @@ class Attachment {
|
|
|
11759
11759
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11760
11760
|
this.mode === 'write' &&
|
|
11761
11761
|
isMobileDevice &&
|
|
11762
|
-
!this.value?.length && (hAsync("p-tooltip", { key: '
|
|
11762
|
+
!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) })));
|
|
11763
11763
|
}
|
|
11764
11764
|
_uploadClick() {
|
|
11765
11765
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -12800,7 +12800,7 @@ class ButtonGroup {
|
|
|
12800
12800
|
this._checkButtons();
|
|
12801
12801
|
}
|
|
12802
12802
|
render() {
|
|
12803
|
-
return (hAsync(Host, { key: '
|
|
12803
|
+
return (hAsync(Host, { key: '0194482014cf63bb2b1b232f3a535dbc38fe3943', class: 'flex items-center' }, hAsync("slot", { key: '29f15517952e4eea497b805c089a858d556394ab' })));
|
|
12804
12804
|
}
|
|
12805
12805
|
slotchange() {
|
|
12806
12806
|
this._checkButtons();
|
|
@@ -88142,7 +88142,7 @@ class Calendar {
|
|
|
88142
88142
|
}
|
|
88143
88143
|
}
|
|
88144
88144
|
render() {
|
|
88145
|
-
return (hAsync(ThemedHost, { key: '
|
|
88145
|
+
return (hAsync(ThemedHost, { key: '396e1c7059b24d8aec57317d839f448be1e37f26' }, hAsync("div", { key: '9030d30aa2fbd06919ec711c01f135ef35c5d7f6', class: calendar$1({ variant: this.variant }) }, this._getView())));
|
|
88146
88146
|
}
|
|
88147
88147
|
_checkTodayButton() {
|
|
88148
88148
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -88890,13 +88890,13 @@ class ContentSlider {
|
|
|
88890
88890
|
}
|
|
88891
88891
|
}
|
|
88892
88892
|
render() {
|
|
88893
|
-
return (hAsync(Host, { key: '
|
|
88893
|
+
return (hAsync(Host, { key: 'ced2d428e5bb5831898a3092ea2f0d7b9802ef02', class: 'p-content-slider' }, hAsync("div", { key: 'e3dfda6e2643f979be7d68b908dd282c94c39b1d', class: `
|
|
88894
88894
|
slider
|
|
88895
88895
|
${!this.disableDrag && 'draggable'}
|
|
88896
88896
|
${this._dragging && 'dragging'}
|
|
88897
88897
|
`, ref: el => (this._sliderRef = el), style: {
|
|
88898
88898
|
height: `${this._outerHeight}px`,
|
|
88899
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '
|
|
88899
|
+
}, 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: `
|
|
88900
88900
|
indicator
|
|
88901
88901
|
${this.hideMobileIndicator && 'hidden'}
|
|
88902
88902
|
` }, this._filteredItems.map((_, i) => (hAsync("div", { class: `
|
|
@@ -91947,7 +91947,7 @@ class Cropper {
|
|
|
91947
91947
|
const themeColor = state.theme === 'dark'
|
|
91948
91948
|
? 'rgba(70, 75, 84, 0.5)'
|
|
91949
91949
|
: 'rgba(255, 255, 255, 0.5)';
|
|
91950
|
-
return (hAsync(ThemedHost, { key: '
|
|
91950
|
+
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) })));
|
|
91951
91951
|
}
|
|
91952
91952
|
_setImageRef(ref) {
|
|
91953
91953
|
if (this._imageRef || !ref) {
|
|
@@ -92274,7 +92274,7 @@ class Datepicker {
|
|
|
92274
92274
|
}
|
|
92275
92275
|
}
|
|
92276
92276
|
render() {
|
|
92277
|
-
return (hAsync("p-dropdown", { key: '
|
|
92277
|
+
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 &&
|
|
92278
92278
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
92279
92279
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92280
92280
|
}), min: this._minDate &&
|
|
@@ -92283,7 +92283,7 @@ class Datepicker {
|
|
|
92283
92283
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
92284
92284
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
92285
92285
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92286
|
-
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '
|
|
92286
|
+
}), 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) }))));
|
|
92287
92287
|
}
|
|
92288
92288
|
documentClickHandler({ target }) {
|
|
92289
92289
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -94451,12 +94451,12 @@ class Dropdown {
|
|
|
94451
94451
|
this._checkItems();
|
|
94452
94452
|
}
|
|
94453
94453
|
render() {
|
|
94454
|
-
return (hAsync(Host, { key: '
|
|
94454
|
+
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({
|
|
94455
94455
|
strategy: this.strategy,
|
|
94456
94456
|
maxWidth: this.applyMaxWidth,
|
|
94457
94457
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94458
94458
|
isDatepicker: this.isDatepicker,
|
|
94459
|
-
}), 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: '
|
|
94459
|
+
}), 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' })))));
|
|
94460
94460
|
}
|
|
94461
94461
|
_checkButtons(active = false) {
|
|
94462
94462
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -95119,11 +95119,11 @@ class EmptyState {
|
|
|
95119
95119
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
95120
95120
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
95121
95121
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
95122
|
-
return (hAsync(ThemedHost, { key: '
|
|
95122
|
+
return (hAsync(ThemedHost, { key: 'e156e226af805d55fb5d1ea617d5e219d8d265b7' }, hAsync("div", { key: '417385b03f1494ba500540abf53b202a00140eb2', class: emptyState({
|
|
95123
95123
|
enableAction: asBoolean(this.enableAction, true),
|
|
95124
95124
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
95125
95125
|
? this.action.emit(ev)
|
|
95126
|
-
: undefined }, this.illustration && (hAsync("p-illustration", { key: '
|
|
95126
|
+
: 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 &&
|
|
95127
95127
|
(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))))));
|
|
95128
95128
|
}
|
|
95129
95129
|
static get style() { return emptyStateComponentCss(); }
|
|
@@ -95521,8 +95521,8 @@ class Field {
|
|
|
95521
95521
|
}
|
|
95522
95522
|
render() {
|
|
95523
95523
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
95524
|
-
return (hAsync(ThemedHost, { key: '
|
|
95525
|
-
(!!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: '
|
|
95524
|
+
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) ||
|
|
95525
|
+
(!!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({
|
|
95526
95526
|
error: !!this.error?.length,
|
|
95527
95527
|
disabled: asBoolean(this.disabled),
|
|
95528
95528
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -95533,7 +95533,7 @@ class Field {
|
|
|
95533
95533
|
? `${this.value}`
|
|
95534
95534
|
: undefined }, (this.error?.length ||
|
|
95535
95535
|
prefix ||
|
|
95536
|
-
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
95536
|
+
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '41d8592d1683e02c23742e3fcae5f198e5dac18e', class: prefixAndSuffix({
|
|
95537
95537
|
variant: this.variant,
|
|
95538
95538
|
error: !!this.error?.length,
|
|
95539
95539
|
disabled: asBoolean(this.disabled),
|
|
@@ -95543,7 +95543,7 @@ class Field {
|
|
|
95543
95543
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
95544
95544
|
this.error?.length ? (hAsync("p-icon", { class: cn('flex', {
|
|
95545
95545
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
95546
|
-
}), 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: '
|
|
95546
|
+
}), 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({
|
|
95547
95547
|
variant: this.variant,
|
|
95548
95548
|
error: !!this.error?.length,
|
|
95549
95549
|
disabled: asBoolean(this.disabled),
|
|
@@ -96746,17 +96746,17 @@ class Label {
|
|
|
96746
96746
|
*/
|
|
96747
96747
|
keepMobileContent = false;
|
|
96748
96748
|
render() {
|
|
96749
|
-
return (hAsync(ThemedHost, { key: '
|
|
96749
|
+
return (hAsync(ThemedHost, { key: '11f93a805b545dbdf3d8f7f07d2ba9d9b72f9465' }, hAsync("div", { key: '1947c9e35ae05a8ffda7d35c4f72edf8edd6eb78', class: label({
|
|
96750
96750
|
variant: this.variant,
|
|
96751
96751
|
iconOnly: this.iconOnly,
|
|
96752
96752
|
keepMobileContent: this.keepMobileContent,
|
|
96753
|
-
}) }, this.icon && (hAsync("p-icon", { key: '
|
|
96753
|
+
}) }, 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(`
|
|
96754
96754
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
96755
96755
|
font-medium
|
|
96756
96756
|
`, {
|
|
96757
96757
|
hidden: !this.keepMobileContent,
|
|
96758
96758
|
'desktop-xs:block': !this.keepMobileContent,
|
|
96759
|
-
}) }, hAsync("slot", { key: '
|
|
96759
|
+
}) }, hAsync("slot", { key: 'b96c6e958fb8786e078fa9cbdeb1daac494ef9f3' }))))));
|
|
96760
96760
|
}
|
|
96761
96761
|
static get style() { return labelComponentCss(); }
|
|
96762
96762
|
static get cmpMeta() { return {
|
|
@@ -96830,10 +96830,10 @@ class Listing {
|
|
|
96830
96830
|
}
|
|
96831
96831
|
}
|
|
96832
96832
|
render() {
|
|
96833
|
-
return (hAsync("div", { key: '
|
|
96833
|
+
return (hAsync("div", { key: 'bd62a9cb5f45d0be1bf09636a4d576a70a4350fb', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
96834
96834
|
'opacity-100': this._generatedOnce,
|
|
96835
96835
|
'opacity-0': !this._generatedOnce,
|
|
96836
|
-
}) }, hAsync("slot", { key: '
|
|
96836
|
+
}) }, hAsync("slot", { key: 'c762354f8f1f0023a6a73bff00fc5333431c8226', onSlotchange: () => this._generateLinesOnce() })));
|
|
96837
96837
|
}
|
|
96838
96838
|
_generateLinesOnce() {
|
|
96839
96839
|
if (this._generateTimeout) {
|
|
@@ -97402,7 +97402,7 @@ class Navbar {
|
|
|
97402
97402
|
}
|
|
97403
97403
|
_show = false;
|
|
97404
97404
|
render() {
|
|
97405
|
-
return (hAsync(ThemedHost, { key: '
|
|
97405
|
+
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' }))));
|
|
97406
97406
|
}
|
|
97407
97407
|
handleCloseNavbar() {
|
|
97408
97408
|
this._show = false;
|
|
@@ -97513,13 +97513,13 @@ class NavigationItem {
|
|
|
97513
97513
|
render() {
|
|
97514
97514
|
const TagType = this.as;
|
|
97515
97515
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
97516
|
-
return (hAsync(ThemedHost, { key: '
|
|
97516
|
+
return (hAsync(ThemedHost, { key: 'f683b2979f9fde20b6e37ba7f3460fd052cce426', class: cn('p-navigation-item inline-block', this.class) }, hAsync(TagType, { key: '8f9b4557b535d893375bcbe9108a618aff26974e', class: navigationItem({
|
|
97517
97517
|
icon: !!this.icon,
|
|
97518
97518
|
active,
|
|
97519
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
97519
|
+
}), 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({
|
|
97520
97520
|
'has-counter': !!this.counter,
|
|
97521
97521
|
'w-full': this.applyFullWidth,
|
|
97522
|
-
}) }, hAsync("slot", { key: '
|
|
97522
|
+
}) }, 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' }))));
|
|
97523
97523
|
}
|
|
97524
97524
|
static get style() { return navigationItemComponentCss(); }
|
|
97525
97525
|
static get cmpMeta() { return {
|
|
@@ -97553,7 +97553,7 @@ class NavigationSection {
|
|
|
97553
97553
|
*/
|
|
97554
97554
|
header;
|
|
97555
97555
|
render() {
|
|
97556
|
-
return (hAsync(ThemedHost, { key: '
|
|
97556
|
+
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' }))));
|
|
97557
97557
|
}
|
|
97558
97558
|
static get style() { return navigationSectionComponentCss(); }
|
|
97559
97559
|
static get cmpMeta() { return {
|
|
@@ -97655,12 +97655,12 @@ class Pagination {
|
|
|
97655
97655
|
_hasPaginationPages = true;
|
|
97656
97656
|
render() {
|
|
97657
97657
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
97658
|
-
return (hAsync(ThemedHost, { key: '
|
|
97658
|
+
return (hAsync(ThemedHost, { key: '29ed189925a9e93e1939cfd66cf91915a5b8474d' }, hAsync("div", { key: '2705a46004eb47c6cbbf6dfa448ae69a6dfc96dc', class: pagination$1({
|
|
97659
97659
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
97660
97660
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
97661
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '
|
|
97661
|
+
}) }, 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 &&
|
|
97662
97662
|
this.hideOnSinglePage &&
|
|
97663
|
-
this._hasPaginationPages && (hAsync("p-divider", { key: '
|
|
97663
|
+
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 }) => {
|
|
97664
97664
|
this._hasPaginationPages = detail > 1;
|
|
97665
97665
|
this.pagesChange.emit(detail);
|
|
97666
97666
|
} })))));
|
|
@@ -98258,7 +98258,7 @@ class Profile {
|
|
|
98258
98258
|
}
|
|
98259
98259
|
render() {
|
|
98260
98260
|
const content = this._getContent();
|
|
98261
|
-
return (hAsync(ThemedHost, { key: '
|
|
98261
|
+
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)));
|
|
98262
98262
|
}
|
|
98263
98263
|
slotchange() {
|
|
98264
98264
|
this._checkDropdownSlot();
|
|
@@ -98492,13 +98492,13 @@ class Range {
|
|
|
98492
98492
|
valueChange;
|
|
98493
98493
|
render() {
|
|
98494
98494
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
98495
|
-
return (hAsync(ThemedHost, { key: '
|
|
98495
|
+
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 => {
|
|
98496
98496
|
const value = ev.target.value;
|
|
98497
98497
|
this.value = Number.parseFloat(value);
|
|
98498
98498
|
this.valueChange.emit(value);
|
|
98499
|
-
} }), hAsync("div", { key: '
|
|
98499
|
+
} }), 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: {
|
|
98500
98500
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
98501
|
-
} })), hAsync("p-icon", { key: '
|
|
98501
|
+
} })), hAsync("p-icon", { key: '8136e15955e461ec30c3bb8d83cabbd80c8089f2', variant: 'plus' }))));
|
|
98502
98502
|
}
|
|
98503
98503
|
static get style() { return rangeComponentCss(); }
|
|
98504
98504
|
static get cmpMeta() { return {
|
|
@@ -98982,8 +98982,8 @@ class Select {
|
|
|
98982
98982
|
if (this.error?.length) {
|
|
98983
98983
|
buttonIcon = 'warning';
|
|
98984
98984
|
}
|
|
98985
|
-
return (hAsync(ThemedHost, { key: '
|
|
98986
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: '
|
|
98985
|
+
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 &&
|
|
98986
|
+
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()))));
|
|
98987
98987
|
}
|
|
98988
98988
|
documentClickHandler(event) {
|
|
98989
98989
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -100774,7 +100774,7 @@ class TableCell {
|
|
|
100774
100774
|
};
|
|
100775
100775
|
}
|
|
100776
100776
|
render() {
|
|
100777
|
-
return (hAsync(ThemedHost, { key: '
|
|
100777
|
+
return (hAsync(ThemedHost, { key: 'f6abd4c007ae672b8d3bba899ee69ceaf5c258a3', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
100778
100778
|
}
|
|
100779
100779
|
_getContent() {
|
|
100780
100780
|
if (this.variant === 'loading') {
|
|
@@ -101085,12 +101085,12 @@ class TableFooter {
|
|
|
101085
101085
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
101086
101086
|
}
|
|
101087
101087
|
render() {
|
|
101088
|
-
return (hAsync(ThemedHost, { key: '
|
|
101088
|
+
return (hAsync(ThemedHost, { key: '2a9d106d8fcda59dbe0615b936dec5c5a6c06ac3' }, hAsync("div", { key: '92904418a7130a5b5b03c60c4ef9a5297fa67900', class: footer({
|
|
101089
101089
|
pinned: this._isPinned,
|
|
101090
101090
|
hidden: this._hidden,
|
|
101091
101091
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
101092
101092
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
101093
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
101093
|
+
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) })))));
|
|
101094
101094
|
}
|
|
101095
101095
|
_changePageSize(s) {
|
|
101096
101096
|
if (!s) {
|
|
@@ -101103,7 +101103,7 @@ class TableFooter {
|
|
|
101103
101103
|
const rect = this._el.getBoundingClientRect();
|
|
101104
101104
|
const modal = this._el.closest('p-modal');
|
|
101105
101105
|
const layout = document.querySelector('p-layout');
|
|
101106
|
-
if (modal) {
|
|
101106
|
+
if (modal && !this._hidden) {
|
|
101107
101107
|
const modalBody = modal.shadowRoot.querySelector('p-modal-body');
|
|
101108
101108
|
const innerContent = modalBody.shadowRoot.querySelector('div');
|
|
101109
101109
|
const innerContentComputed = getComputedStyle(innerContent);
|
|
@@ -101111,7 +101111,7 @@ class TableFooter {
|
|
|
101111
101111
|
this._el.style.bottom = `-${modalPaddingBottom}px`;
|
|
101112
101112
|
this._el.style.marginBottom = `-${modalPaddingBottom - 1}px`;
|
|
101113
101113
|
}
|
|
101114
|
-
if (layout && !modal) {
|
|
101114
|
+
if (layout && !modal && !this._hidden) {
|
|
101115
101115
|
const innerContent = layout.shadowRoot.querySelector('.content');
|
|
101116
101116
|
const innerContentComputed = getComputedStyle(innerContent);
|
|
101117
101117
|
const layoutPaddingBottom = Number.parseInt(innerContentComputed.paddingBottom, 10);
|
|
@@ -110921,13 +110921,13 @@ class TableRow {
|
|
|
110921
110921
|
*/
|
|
110922
110922
|
isLast = false;
|
|
110923
110923
|
render() {
|
|
110924
|
-
return (hAsync(ThemedHost, { key: '
|
|
110924
|
+
return (hAsync(ThemedHost, { key: '0d120affd1a9979fee9871f4185e5be8128235e8' }, hAsync("div", { key: '5686db4396a01a88c3962bc6a821c0e1552c13f1', class: 'flex flex-col' }, hAsync("div", { key: '71e6470049acc4b3acebbb478ebd8fba5f36d688', class: row({
|
|
110925
110925
|
variant: this.variant,
|
|
110926
110926
|
enableHover: this.enableHover,
|
|
110927
110927
|
checked: this.checked,
|
|
110928
|
-
}) }, hAsync("div", { key: '
|
|
110928
|
+
}) }, hAsync("div", { key: 'e2d1a4259be84eca424d30d53a88a7a8cdb2336c', class: content$1({
|
|
110929
110929
|
variant: this.variant,
|
|
110930
|
-
}) }, hAsync("slot", { key: '
|
|
110930
|
+
}) }, 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' })))));
|
|
110931
110931
|
}
|
|
110932
110932
|
static get style() { return tableRowComponentCss(); }
|
|
110933
110933
|
static get cmpMeta() { return {
|
|
@@ -111117,7 +111117,7 @@ class Toast {
|
|
|
111117
111117
|
*/
|
|
111118
111118
|
action;
|
|
111119
111119
|
render() {
|
|
111120
|
-
return (hAsync(ThemedHost, { key: '
|
|
111120
|
+
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 })))))));
|
|
111121
111121
|
}
|
|
111122
111122
|
_onClick() {
|
|
111123
111123
|
if (this.enableAction) {
|