@paperless/core 3.29.0 → 3.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/{p-2815c450.entry.js → p-0ee76d6f.entry.js} +1 -1
- package/dist/{paperless/p-66aa349f.entry.js → build/p-113f2c2c.entry.js} +1 -1
- package/dist/build/{p-20bbd9f7.entry.js → p-120820ba.entry.js} +1 -1
- package/dist/build/{p-56807646.entry.js → p-15e2cf67.entry.js} +1 -1
- package/dist/build/{p-0025fed7.entry.js → p-28127f3f.entry.js} +1 -1
- package/dist/{paperless/p-cf13f533.entry.js → build/p-2bccaecc.entry.js} +1 -1
- package/dist/{paperless/p-cc99ef0c.entry.js → build/p-2ca8dfa6.entry.js} +2 -2
- package/dist/{paperless/p-458a1300.entry.js → build/p-376cc335.entry.js} +1 -1
- package/dist/build/{p-42a9d7a9.entry.js → p-38b28b4b.entry.js} +1 -1
- package/dist/build/{p-75a9889e.entry.js → p-4555e185.entry.js} +1 -1
- package/dist/build/{p-707ec953.entry.js → p-55bf8c87.entry.js} +1 -1
- package/dist/build/{p-a2725e3b.entry.js → p-590e2598.entry.js} +1 -1
- package/dist/build/{p-6da143ff.entry.js → p-7ce43e0a.entry.js} +1 -1
- package/dist/build/{p-45f64a83.entry.js → p-847383a1.entry.js} +1 -1
- package/dist/build/{p-406978fd.entry.js → p-847962d9.entry.js} +1 -1
- package/dist/build/{p-d10cdb57.entry.js → p-accb5ae0.entry.js} +1 -1
- package/dist/build/{p-10524bb8.entry.js → p-b5c4b573.entry.js} +1 -1
- package/dist/{paperless/p-bc15eb99.entry.js → build/p-beffba9d.entry.js} +1 -1
- package/dist/build/p-c9ace21c.entry.js +1 -0
- package/dist/build/{p-fa24e216.js → p-dac2dc59.js} +1 -1
- package/dist/{paperless/p-1bf1c531.entry.js → build/p-dfb8aea6.entry.js} +1 -1
- package/dist/{paperless/p-1f7088e0.entry.js → build/p-e5dec8f4.entry.js} +1 -1
- package/dist/build/p-f1768a69.entry.js +1 -0
- package/dist/build/{p-98bc206c.entry.js → p-f1e3413e.entry.js} +1 -1
- package/dist/build/{p-d4970495.entry.js → p-f32bab24.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +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 +12 -12
- package/dist/cjs/p-field_3.cjs.entry.js +4 -4
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-submenu-item.cjs.entry.js +3 -3
- package/dist/cjs/p-submenu.cjs.entry.js +9 -9
- package/dist/cjs/p-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/collection/components/atoms/tab/item/tab-item.component.css +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +2 -2
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +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/navigation/item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +3 -3
- package/dist/collection/components/molecules/submenu/menu/submenu.component.js +9 -9
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/components/{p-DpkIrMz9.js → p--kA5IQFm.js} +1 -1
- package/dist/components/{p-PISPo1NR.js → p-BACpf-VN.js} +1 -1
- package/dist/components/{p-GGeQLkOT.js → p-BHdA7Yam.js} +1 -1
- package/dist/components/{p-DZzA60Dx.js → p-BNBd8Wpw.js} +1 -1
- package/dist/components/p-Bmcdm8FA.js +1 -0
- package/dist/components/{p-CklXrITo.js → p-BqFE8rJS.js} +1 -1
- package/dist/components/{p-eo0MmU1s.js → p-Bvp9fzxW.js} +1 -1
- package/dist/components/{p-4KZlY5xH.js → p-CB4hYFXV.js} +1 -1
- package/dist/components/{p-B3Dks732.js → p-CNhuRURV.js} +1 -1
- package/dist/components/{p-BAVMxgJn.js → p-CUsOzU2M.js} +1 -1
- package/dist/components/{p-B7pLpkL0.js → p-CkinrCf4.js} +1 -1
- package/dist/components/{p-D9Vv2Jg9.js → p-Cn0R3cAi.js} +1 -1
- package/dist/components/p-D2jO4AZP.js +1 -0
- package/dist/components/{p-DrGWvXqN.js → p-D8NL7apK.js} +1 -1
- package/dist/components/{p-DcIQGfEt.js → p-Fw-5o3ma.js} +1 -1
- package/dist/components/{p-DsgO2Ufk.js → p-T6y2WJdd.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-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/{p-2-4yuHR1.js → p-h_UASH6S.js} +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-submenu-item.js +1 -1
- package/dist/components/p-submenu.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_3.entry.js +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 +12 -12
- package/dist/esm/p-field_3.entry.js +4 -4
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +3 -3
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-submenu-item.entry.js +3 -3
- package/dist/esm/p-submenu.entry.js +9 -9
- package/dist/esm/p-tab-item.entry.js +3 -3
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/{p-2815c450.entry.js → p-0ee76d6f.entry.js} +1 -1
- package/dist/{build/p-66aa349f.entry.js → paperless/p-113f2c2c.entry.js} +1 -1
- package/dist/paperless/{p-20bbd9f7.entry.js → p-120820ba.entry.js} +1 -1
- package/dist/paperless/{p-56807646.entry.js → p-15e2cf67.entry.js} +1 -1
- package/dist/paperless/{p-0025fed7.entry.js → p-28127f3f.entry.js} +1 -1
- package/dist/{build/p-cf13f533.entry.js → paperless/p-2bccaecc.entry.js} +1 -1
- package/dist/{build/p-cc99ef0c.entry.js → paperless/p-2ca8dfa6.entry.js} +2 -2
- package/dist/{build/p-458a1300.entry.js → paperless/p-376cc335.entry.js} +1 -1
- package/dist/paperless/{p-42a9d7a9.entry.js → p-38b28b4b.entry.js} +1 -1
- package/dist/paperless/{p-75a9889e.entry.js → p-4555e185.entry.js} +1 -1
- package/dist/paperless/{p-707ec953.entry.js → p-55bf8c87.entry.js} +1 -1
- package/dist/paperless/{p-a2725e3b.entry.js → p-590e2598.entry.js} +1 -1
- package/dist/paperless/{p-6da143ff.entry.js → p-7ce43e0a.entry.js} +1 -1
- package/dist/paperless/{p-45f64a83.entry.js → p-847383a1.entry.js} +1 -1
- package/dist/paperless/{p-406978fd.entry.js → p-847962d9.entry.js} +1 -1
- package/dist/paperless/{p-d10cdb57.entry.js → p-accb5ae0.entry.js} +1 -1
- package/dist/paperless/{p-10524bb8.entry.js → p-b5c4b573.entry.js} +1 -1
- package/dist/{build/p-bc15eb99.entry.js → paperless/p-beffba9d.entry.js} +1 -1
- package/dist/paperless/p-c9ace21c.entry.js +1 -0
- package/dist/{build/p-1bf1c531.entry.js → paperless/p-dfb8aea6.entry.js} +1 -1
- package/dist/{build/p-1f7088e0.entry.js → paperless/p-e5dec8f4.entry.js} +1 -1
- package/dist/paperless/p-f1768a69.entry.js +1 -0
- package/dist/paperless/{p-98bc206c.entry.js → p-f1e3413e.entry.js} +1 -1
- package/dist/paperless/{p-d4970495.entry.js → p-f32bab24.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 +72 -72
- package/hydrate/index.mjs +72 -72
- package/package.json +1 -1
- package/dist/build/p-669c6727.entry.js +0 -1
- package/dist/build/p-9245172e.entry.js +0 -1
- package/dist/components/p-D8Cwg2-6.js +0 -1
- package/dist/components/p-vlEpgOl1.js +0 -1
- package/dist/paperless/p-669c6727.entry.js +0 -1
- package/dist/paperless/p-9245172e.entry.js +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -11677,10 +11677,10 @@ class Accordion {
|
|
|
11677
11677
|
*/
|
|
11678
11678
|
isOpen;
|
|
11679
11679
|
render() {
|
|
11680
|
-
return (hAsync(ThemedHost, { key: '
|
|
11680
|
+
return (hAsync(ThemedHost, { key: '4d84990e7dd4d68295f64f55bf0d3e621efe2d8b' }, hAsync("div", { key: 'efa2ef26b82966e549da6c88cb0c194fa456db0f', class: 'flex w-full flex-col' }, hAsync("div", { key: '0879869a1253f02888c45ccc10c471ce5ed3937b', class: cn('flex cursor-pointer items-center gap-2', {
|
|
11681
11681
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
11682
11682
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
11683
|
-
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '
|
|
11683
|
+
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '759cf5c0cb2c1d4cb2c81fc543b8581ef65bf1bf', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), hAsync("p", { key: '1d34d5b26a2e6bc7b8cd770a6a727d9eafa8b1dc', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), this.label && (hAsync("p-label", { key: '650e390caaaa5cadfead28724691d641bdded17a', icon: this.labelIcon, variant: this.labelVariant }, this.label)), hAsync("p-divider", { key: '7c39dd76956c7bf7a254d2f4be367f7b0ad2d8e8', class: 'flex-1' })), this.open && (hAsync("div", { key: 'd2613f8f7dbbe887f2cd15bd7be1b1b084cbfe08', class: 'mt-4' }, hAsync("slot", { key: 'd0c0ced2ef6e1bc677d65bb99e19820ddd36e00e' }))))));
|
|
11684
11684
|
}
|
|
11685
11685
|
_onClick() {
|
|
11686
11686
|
if (!this.closeable && this.open) {
|
|
@@ -11828,27 +11828,27 @@ class Attachment {
|
|
|
11828
11828
|
_fileRef;
|
|
11829
11829
|
_cameraFileRef;
|
|
11830
11830
|
render() {
|
|
11831
|
-
let prefix = (hAsync("p-icon", { key: '
|
|
11831
|
+
let prefix = (hAsync("p-icon", { key: '973e6d17194f5c768ad7b2b5da6b9be754f50dad', class: 'text-storm-300', variant: 'attachment' }));
|
|
11832
11832
|
if (this.error) {
|
|
11833
|
-
prefix = (hAsync("p-icon", { key: '
|
|
11833
|
+
prefix = (hAsync("p-icon", { key: 'd390d139ad059930b5d30220d15768a7ee8373ad', class: 'text-negative-red-500', variant: 'warning' }));
|
|
11834
11834
|
}
|
|
11835
11835
|
const isTouch = isTouchDevice();
|
|
11836
11836
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
11837
|
-
return (hAsync(Fragment, { key: '
|
|
11837
|
+
return (hAsync(Fragment, { key: '0ded0b59ae13f783f045af301f37763ed82f6346' }, hAsync("p-field-container", { key: '7ba25ce9b175c0cea12da383a5eaca7ed901cf06', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, hAsync("div", { key: '7483ba5ccb492a7ad738c0c4bd5d7e418192b8b4', class: 'flex w-full items-start gap-2', slot: 'content' }, hAsync("div", { key: 'e7e37d2b06d2367feb2492a938c266b804d6d3d5', class: attachment({
|
|
11838
11838
|
click: this.mode === 'write' && !this.value?.length,
|
|
11839
11839
|
error: !!this.error?.length,
|
|
11840
|
-
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '
|
|
11840
|
+
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '975110aa4b756a263755545ec2b67215c04c9977', class: cn(baseText, `
|
|
11841
11841
|
peer
|
|
11842
11842
|
empty:hidden
|
|
11843
11843
|
dark:text-white
|
|
11844
|
-
`) }, this.value), hAsync("span", { key: '
|
|
11844
|
+
`) }, this.value), hAsync("span", { key: '2003c5bd41e676ebdd5c700df23862693784399d', class: cn(baseText, `
|
|
11845
11845
|
hidden
|
|
11846
11846
|
peer-empty:block
|
|
11847
|
-
`) }, this.placeholder)), hAsync("p-tooltip", { key: '
|
|
11847
|
+
`) }, this.placeholder)), hAsync("p-tooltip", { key: '2837f16d249c74493385e38734ca5c548bc463cb', class: 'w-8', content: this.mode === 'read'
|
|
11848
11848
|
? this.downloadTooltip
|
|
11849
11849
|
: this.value?.length
|
|
11850
11850
|
? this.deleteTooltip
|
|
11851
|
-
: this.uploadTooltip }, hAsync("p-button", { key: '
|
|
11851
|
+
: this.uploadTooltip }, hAsync("p-button", { key: '03b50643b1615dba0080b2bb5753b78cbe18c69b', disabled: this.loading, icon: this.mode === 'read'
|
|
11852
11852
|
? 'download'
|
|
11853
11853
|
: this.value?.length
|
|
11854
11854
|
? 'trash'
|
|
@@ -11859,7 +11859,7 @@ class Attachment {
|
|
|
11859
11859
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11860
11860
|
this.mode === 'write' &&
|
|
11861
11861
|
isTouch &&
|
|
11862
|
-
!this.value?.length && (hAsync("p-tooltip", { key: '
|
|
11862
|
+
!this.value?.length && (hAsync("p-tooltip", { key: '74e972add2dd983b394b13b67192db1bd4a0575b', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: 'f1b1fb3cf5a2a40c2caf1fdadf04efac55589f84', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: 'e3d99715b754a67b5ced5518ca6df9d62b1d93e4', 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: 'b2cdd8290e9dd13d2d13017168d5ee8d026c6fd2', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11863
11863
|
}
|
|
11864
11864
|
_uploadClick() {
|
|
11865
11865
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -12971,7 +12971,7 @@ class ButtonGroup {
|
|
|
12971
12971
|
this._checkButtons();
|
|
12972
12972
|
}
|
|
12973
12973
|
render() {
|
|
12974
|
-
return (hAsync(Host, { key: '
|
|
12974
|
+
return (hAsync(Host, { key: '211c2b612dd54a87be2e4889310f8c446bac3446', class: 'flex items-center' }, hAsync("slot", { key: '1870537e5188e79527b2a1bf6d34f23dcfbb6143' })));
|
|
12975
12975
|
}
|
|
12976
12976
|
slotchange() {
|
|
12977
12977
|
this._checkButtons();
|
|
@@ -88316,7 +88316,7 @@ class Calendar {
|
|
|
88316
88316
|
}
|
|
88317
88317
|
}
|
|
88318
88318
|
render() {
|
|
88319
|
-
return (hAsync(ThemedHost, { key: '
|
|
88319
|
+
return (hAsync(ThemedHost, { key: '45fa4feb1e4a329626d8d93d89742bd7be0af0e3' }, hAsync("div", { key: 'a366348c2ef0b1c6f7c89b8e711e6e3013edfa17', class: calendar$1({ variant: this.variant }) }, this._getView())));
|
|
88320
88320
|
}
|
|
88321
88321
|
_checkTodayButton() {
|
|
88322
88322
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -89064,13 +89064,13 @@ class ContentSlider {
|
|
|
89064
89064
|
}
|
|
89065
89065
|
}
|
|
89066
89066
|
render() {
|
|
89067
|
-
return (hAsync(Host, { key: '
|
|
89067
|
+
return (hAsync(Host, { key: '4a9fc935612ddc0b1b5be16650f1784025471aad' }, hAsync("div", { key: '59537d8e2b72a031e9a58617c5f4360c53669d1e', class: `
|
|
89068
89068
|
slider
|
|
89069
89069
|
${!this.disableDrag && 'draggable'}
|
|
89070
89070
|
${this._dragging && 'dragging'}
|
|
89071
89071
|
`, ref: el => (this._sliderRef = el), style: {
|
|
89072
89072
|
height: `${this._outerHeight}px`,
|
|
89073
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '
|
|
89073
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '368288b6ac87635b5bf532f639d8fffeae556dea', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, hAsync("slot", { key: '766745b992c96e53c6655a63feecb1cf9dc342dd', onSlotchange: () => this._slotChange() }))), hAsync("div", { key: '55e8431b1b2fa2664c09e39b15dfccb27a2c6c12', class: `
|
|
89074
89074
|
indicator
|
|
89075
89075
|
${this.hideMobileIndicator && 'hidden'}
|
|
89076
89076
|
` }, this._filteredItems.map((_, i) => (hAsync("div", { class: `
|
|
@@ -92121,7 +92121,7 @@ class Cropper {
|
|
|
92121
92121
|
const themeColor = state.theme === 'dark'
|
|
92122
92122
|
? 'rgba(70, 75, 84, 0.5)'
|
|
92123
92123
|
: 'rgba(255, 255, 255, 0.5)';
|
|
92124
|
-
return (hAsync(ThemedHost, { key: '
|
|
92124
|
+
return (hAsync(ThemedHost, { key: '61e6735fef856ff7877163f99188b4e71058a772' }, this._loaded && (hAsync("cropper-canvas", { key: 'ceba2c73052f1e32f84fdae7edc63882bf084a40', 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: 'ff2d0d0870587889770dd692e01613f9df4e7a8b', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), hAsync("cropper-shade", { key: '8fe8fb9df8ed4774ba2c4b9bb1e11194156ed503', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), hAsync("cropper-selection", { key: 'eadf1c2edd4ed6737993eaa65ffc09be85c1cab5', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), hAsync("cropper-handle", { key: '4e12a247d299a28c1b5b5a3ff1dcdb7b7eaaeeab', action: 'move', plain: true }))), hAsync("p-range", { key: 'eaff0e1226541f0cd27ccb4aceb1f9dd399e92ca', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
92125
92125
|
}
|
|
92126
92126
|
_setImageRef(ref) {
|
|
92127
92127
|
if (this._imageRef || !ref) {
|
|
@@ -92451,7 +92451,7 @@ class Datepicker {
|
|
|
92451
92451
|
}
|
|
92452
92452
|
}
|
|
92453
92453
|
render() {
|
|
92454
|
-
return (hAsync("p-dropdown", { key: '
|
|
92454
|
+
return (hAsync("p-dropdown", { key: 'bfa805feae00b4c1171b348cb1f62193406336fc', 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: '2968d99ad11e52101d988d3ec32942a355bab91c', 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: '198ad89a8b91c22e7164e02c6ed075d0230d90cd', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
92455
92455
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
92456
92456
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92457
92457
|
}), min: this._minDate &&
|
|
@@ -92460,7 +92460,7 @@ class Datepicker {
|
|
|
92460
92460
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
92461
92461
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
92462
92462
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92463
|
-
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '
|
|
92463
|
+
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: 'b1d425964e6ed1092d8fdc377c92713bbf70dfc1', slot: 'items', tabIndex: -1 }, hAsync("p-calendar", { key: '0705fad3277461cf427b70a47ba22cc50573fc50', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
|
|
92464
92464
|
}
|
|
92465
92465
|
documentClickHandler({ target }) {
|
|
92466
92466
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -94628,12 +94628,12 @@ class Dropdown {
|
|
|
94628
94628
|
this._checkItems();
|
|
94629
94629
|
}
|
|
94630
94630
|
render() {
|
|
94631
|
-
return (hAsync(Host, { key: '
|
|
94631
|
+
return (hAsync(Host, { key: 'f16605d78a0658335bf36eb872f2cb7b680de3f2', class: 'relative' }, hAsync("div", { key: '58b92770f83d620c03fb7386f0a23a8ccc900b1d', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: 'e14c0fd52127cf3ea55bd3b0fd70add84cd7f816', name: 'trigger' })), hAsync("div", { key: '070c562e05325051e0032e7111d1058a4498d511', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: 'e301706477507458f33b164bed1cdee60e748755', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94632
94632
|
strategy: this.strategy,
|
|
94633
94633
|
maxWidth: this.applyMaxWidth,
|
|
94634
94634
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94635
94635
|
isDatepicker: this.isDatepicker,
|
|
94636
|
-
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '
|
|
94636
|
+
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '85ea5ea013ae13e902a6472155c8357e8e96931f', name: 'items' })))));
|
|
94637
94637
|
}
|
|
94638
94638
|
_checkTriggers(active = false) {
|
|
94639
94639
|
const triggers = this._el.querySelectorAll('p-button[slot="trigger"], p-tab-item[slot="trigger"]');
|
|
@@ -95564,11 +95564,11 @@ class EmptyState {
|
|
|
95564
95564
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
95565
95565
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
95566
95566
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
95567
|
-
return (hAsync(ThemedHost, { key: '
|
|
95567
|
+
return (hAsync(ThemedHost, { key: '14240ef8bf6ebdf43305ecee8502464ad34ca1ec' }, hAsync("div", { key: '27c953186c8023407c180f4ca2238e535bd207b8', class: emptyState({
|
|
95568
95568
|
enableAction: asBoolean(this.enableAction, true),
|
|
95569
95569
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
95570
95570
|
? this.action.emit(ev)
|
|
95571
|
-
: undefined }, this.illustration && (hAsync("p-illustration", { key: '
|
|
95571
|
+
: undefined }, this.illustration && (hAsync("p-illustration", { key: 'c7d9b47f3d366e77f8579b5f836d073ff102f2d3', 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 &&
|
|
95572
95572
|
(hasActionSlot ? (hAsync("slot", { name: 'action' })) : (hAsync("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
95573
95573
|
}
|
|
95574
95574
|
static get style() { return emptyStateComponentCss(); }
|
|
@@ -95972,8 +95972,8 @@ class Field {
|
|
|
95972
95972
|
}
|
|
95973
95973
|
render() {
|
|
95974
95974
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
95975
|
-
return (hAsync(ThemedHost, { key: '
|
|
95976
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (hAsync("slot", { key: '
|
|
95975
|
+
return (hAsync(ThemedHost, { key: '61c9c869d72189a0b60f56bfe455389c9d74bf78' }, hAsync("p-field-container", { key: '906ca4ad73f933a725c67d66106bd0ca7b235dec', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
95976
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (hAsync("slot", { key: '2d64b39b50008c30595ece9969ec1b41865accab', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: '9dff1c9094ef9b6931475e4842600d23e1a07048', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: '33855129bd72d47d650b74b7e8dfd2d1b0781557', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: '47fb5f2feb81e3b7bf14158684c452bb94512e29', name: 'error', slot: 'error' })), hAsync("div", { key: '29aa7bf0d9d5d74d7b4dff1f9faf23f26d979aa5', class: field({
|
|
95977
95977
|
error: !!this.error?.length,
|
|
95978
95978
|
disabled: asBoolean(this.disabled),
|
|
95979
95979
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -95984,7 +95984,7 @@ class Field {
|
|
|
95984
95984
|
? `${this.value}`
|
|
95985
95985
|
: undefined }, (this.error?.length ||
|
|
95986
95986
|
prefix ||
|
|
95987
|
-
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
95987
|
+
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: 'eb30af5e85ef184f8613a157562fb48182691029', class: prefixAndSuffix({
|
|
95988
95988
|
variant: this.variant,
|
|
95989
95989
|
error: !!this.error?.length,
|
|
95990
95990
|
disabled: asBoolean(this.disabled),
|
|
@@ -95996,7 +95996,7 @@ class Field {
|
|
|
95996
95996
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
95997
95997
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
95998
95998
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
95999
|
-
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '
|
|
95999
|
+
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: 'efb3cba03c038901990b8cbcc4ff3841901606a2', class: cn(prefixAndSuffix({
|
|
96000
96000
|
variant: this.variant,
|
|
96001
96001
|
error: !!this.error?.length,
|
|
96002
96002
|
disabled: asBoolean(this.disabled),
|
|
@@ -97291,10 +97291,10 @@ class Listing {
|
|
|
97291
97291
|
}
|
|
97292
97292
|
}
|
|
97293
97293
|
render() {
|
|
97294
|
-
return (hAsync("div", { key: '
|
|
97294
|
+
return (hAsync("div", { key: 'd6aa8a7f79cd08cefb15203c10a9b65e50054285', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
97295
97295
|
'opacity-100': this._generatedOnce,
|
|
97296
97296
|
'opacity-0': !this._generatedOnce,
|
|
97297
|
-
}) }, hAsync("slot", { key: '
|
|
97297
|
+
}) }, hAsync("slot", { key: '757292c71e9a18099644e0a075207e8bd39533eb', onSlotchange: () => this._generateLinesOnce() })));
|
|
97298
97298
|
}
|
|
97299
97299
|
_generateLinesOnce() {
|
|
97300
97300
|
if (this._generateTimeout) {
|
|
@@ -97864,7 +97864,7 @@ class Navbar {
|
|
|
97864
97864
|
}
|
|
97865
97865
|
_show = false;
|
|
97866
97866
|
render() {
|
|
97867
|
-
return (hAsync(ThemedHost, { key: '
|
|
97867
|
+
return (hAsync(ThemedHost, { key: 'aecac0fced5f8a0181bdebf4ae9fcc6b2c4c3a8d' }, hAsync("p-backdrop", { key: 'fc6b57094cc6b08e73cbe8cb37e57ecbb42eccb4', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: '8833febf310292dc2be5761c1192cf11e044adbb', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: 'dc6934db93742d5718b49a1a47d2b6086c1ae755', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, hAsync("p-button", { key: '88e19f62f513207d1929b3897eee81fa8985bfc1', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), hAsync("div", { key: '9e137624b046ae9cee5253437d0cfe20e223fbd1', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, hAsync("slot", { key: '529b9d7dbe0b36aaee1ed449385fabb1398e627d', name: 'company' })), hAsync("div", { key: '40dcd693e18fe84afdabb0a7ed185913327cb8bd', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: '35cc080c950de449c50d8f397948550651a66f58', name: 'content' })), hAsync("div", { key: '65e109f634367d9c4ea83828102d5843d9b2bc36', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, hAsync("slot", { key: '18c3d0530e96c8f5dacb7f6bc36bd15a5f7d9517', name: 'user' }))), hAsync("div", { key: 'bf8dcce7d30c4e186313c53042b0106ddc46ece7', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: 'e4b3a01a85773b75d9a89e863d8a1797eac2cec9', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), hAsync("slot", { key: '7c3a6a3ea527a69de918f0d1ce8fcf192297d284', name: 'topbar' }))));
|
|
97868
97868
|
}
|
|
97869
97869
|
handleCloseNavbar() {
|
|
97870
97870
|
this._show = false;
|
|
@@ -97975,13 +97975,13 @@ class NavigationItem {
|
|
|
97975
97975
|
render() {
|
|
97976
97976
|
const TagType = this.as;
|
|
97977
97977
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
97978
|
-
return (hAsync(ThemedHost, { key: '
|
|
97978
|
+
return (hAsync(ThemedHost, { key: 'a6049960058e28e5223547d98bc74663e0a888e5', class: cn('inline-block', this.class) }, hAsync(TagType, { key: 'c9b1afed855440c6c9356726c6b49b8e0e86957e', class: navigationItem({
|
|
97979
97979
|
icon: !!this.icon,
|
|
97980
97980
|
active,
|
|
97981
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
97981
|
+
}), href: this.href, target: this.target }, hAsync("div", { key: 'b11cf4f338c6f929759022e9b9a28cae68867140', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: '79e701a09025c4bd72c42f60bd2c45501b839a4f', variant: this.icon })), hAsync("span", { key: '6280c8ca2c0f002fbf625df8e85b17d8a47f8656', class: cn({
|
|
97982
97982
|
'has-counter': !!this.counter,
|
|
97983
97983
|
'w-full': this.applyFullWidth,
|
|
97984
|
-
}) }, hAsync("slot", { key: '
|
|
97984
|
+
}) }, hAsync("slot", { key: 'fd475094c9efc79a1b5cc774e713604595b2cea9' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: '4083cf86f4ea3e8881235e93f9a1b31c0e9e6589' }, this.counter)), !!this.loading && hAsync("p-loader", { key: '4ad1b6b78aaf5109a693bf56cced7a56efc808c1', class: 'ml-auto' }))));
|
|
97985
97985
|
}
|
|
97986
97986
|
static get style() { return navigationItemComponentCss(); }
|
|
97987
97987
|
static get cmpMeta() { return {
|
|
@@ -98015,7 +98015,7 @@ class NavigationSection {
|
|
|
98015
98015
|
*/
|
|
98016
98016
|
header;
|
|
98017
98017
|
render() {
|
|
98018
|
-
return (hAsync(ThemedHost, { key: '
|
|
98018
|
+
return (hAsync(ThemedHost, { key: 'bc1de3ea78a2044e6d3a487229884be8131f60b8', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (hAsync("p-navigation-title", { key: '270f159bbde28d84e41905f8be8956b179094556' }, this.header)), hAsync("div", { key: 'ec0f45c6cf25a04936a9c5b7255f01a915b95107', class: 'flex flex-col' }, hAsync("slot", { key: 'de45623cbcb627173b23e6c1286ee7b2d50a61a1' }))));
|
|
98019
98019
|
}
|
|
98020
98020
|
static get style() { return navigationSectionComponentCss(); }
|
|
98021
98021
|
static get cmpMeta() { return {
|
|
@@ -98116,12 +98116,12 @@ class Pagination {
|
|
|
98116
98116
|
_hasPaginationPages = true;
|
|
98117
98117
|
render() {
|
|
98118
98118
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
98119
|
-
return (hAsync(ThemedHost, { key: '
|
|
98119
|
+
return (hAsync(ThemedHost, { key: '49533601df212be9f3f719b486a63038f8c1b86e' }, hAsync("div", { key: 'ec9ef29efbe2dbd4ddc3f41cc9f0190ebecd55b7', class: pagination$1({
|
|
98120
98120
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
98121
98121
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
98122
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '
|
|
98122
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: 'c1d7473792e14fde3927fb42081eb85e688e922b' }, hAsync("p-pagination-size", { key: '239926a2361bcb960c69fc51214197aa71fd1e46', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
98123
98123
|
this.hideOnSinglePage &&
|
|
98124
|
-
this._hasPaginationPages && (hAsync("p-divider", { key: '
|
|
98124
|
+
this._hasPaginationPages && (hAsync("p-divider", { key: 'e764392ca93ec24aeb1a0b2e85c2146555e3dfe0', 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: '21139fc7d61b0438c69e1042d812a8b80dc8c6bd', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
98125
98125
|
this._hasPaginationPages = detail > 1;
|
|
98126
98126
|
this.pagesChange.emit(detail);
|
|
98127
98127
|
} })))));
|
|
@@ -98719,7 +98719,7 @@ class Profile {
|
|
|
98719
98719
|
}
|
|
98720
98720
|
render() {
|
|
98721
98721
|
const content = this._getContent();
|
|
98722
|
-
return (hAsync(ThemedHost, { key: '
|
|
98722
|
+
return (hAsync(ThemedHost, { key: '4adb6d90f63f5c549b8aaec94d963e77fb6b9b0f' }, 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)));
|
|
98723
98723
|
}
|
|
98724
98724
|
slotchange() {
|
|
98725
98725
|
this._checkDropdownSlot();
|
|
@@ -98953,13 +98953,13 @@ class Range {
|
|
|
98953
98953
|
valueChange;
|
|
98954
98954
|
render() {
|
|
98955
98955
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
98956
|
-
return (hAsync(ThemedHost, { key: '
|
|
98956
|
+
return (hAsync(ThemedHost, { key: '6a0bccf338cc6bb209c87aa58186dfe42aced54a' }, hAsync("div", { key: '42e19765bffd9b015754aacd27e803464402b4f0', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: 'd57c3240a47aaa0933f72f915e3cbb13899bc69b', variant: 'minus' }), hAsync("div", { key: 'b2663674e423315adbdb99b5379d48cbc66fdc75', class: 'relative h-6 flex-1' }, hAsync("input", { key: '5c2fdd589f7a7ee1f868aa95b0e4fbf87c27fe36', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
98957
98957
|
const value = ev.target.value;
|
|
98958
98958
|
this.value = Number.parseFloat(value);
|
|
98959
98959
|
this.valueChange.emit(value);
|
|
98960
|
-
} }), hAsync("div", { key: '
|
|
98960
|
+
} }), hAsync("div", { key: '7494d9cde11e83446bde18ceea80c057cb5276ec', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
98961
98961
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
98962
|
-
} })), hAsync("p-icon", { key: '
|
|
98962
|
+
} })), hAsync("p-icon", { key: '626fd2506a2ebfcb8876fb31546c6a4ba046730a', variant: 'plus' }))));
|
|
98963
98963
|
}
|
|
98964
98964
|
static get style() { return rangeComponentCss(); }
|
|
98965
98965
|
static get cmpMeta() { return {
|
|
@@ -100622,34 +100622,34 @@ class Submenu {
|
|
|
100622
100622
|
const maxHeight = submenuItems.length *
|
|
100623
100623
|
Number.parseInt(firstItem.height.replace('px', '')) +
|
|
100624
100624
|
16; // the margin of the content
|
|
100625
|
-
return (hAsync(ThemedHost, { key: '
|
|
100625
|
+
return (hAsync(ThemedHost, { key: '5f589bd0b6b470f9dca4151e80a2b55845e38295' }, hAsync("div", { key: '08a771d863a14340353fac1610d8adb1b56746a4', class: 'flex w-full flex-col' }, hAsync("div", { key: '2fae2053f91a46c7cf619bc23f08f043c776b921', class: cn(header$1({
|
|
100626
100626
|
active: this.active,
|
|
100627
100627
|
open: this.open,
|
|
100628
|
-
})), onClick: () => (this.open = !this.open) }, this.showIndex && (hAsync("div", { key: '
|
|
100628
|
+
})), onClick: () => (this.open = !this.open) }, this.showIndex && (hAsync("div", { key: 'd82174bc89d220acb0341e887a60ba93310786f8', class: indexContainer({
|
|
100629
100629
|
active: this.active,
|
|
100630
100630
|
open: this.open,
|
|
100631
|
-
}) }, this.index)), hAsync("div", { key: '
|
|
100631
|
+
}) }, this.index)), hAsync("div", { key: 'e981bf8934863244d6bb2b5347bbbd5eba78acac', class: 'flex flex-1 flex-col' }, hAsync("p", { key: '7b01134ba1aa8a00638eb98202beab68c1f1742d', class: cn('m-0 text-sm', {
|
|
100632
100632
|
'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
|
|
100633
100633
|
'text-storm-500 dark:text-white': this.active,
|
|
100634
|
-
}) }, this.title), hAsync("p", { key: '
|
|
100634
|
+
}) }, this.title), hAsync("p", { key: '87e41bc49b6be4644fb5076e2aef25c8b69d4e3b', class: cn('m-0 text-xs', {
|
|
100635
100635
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
100636
100636
|
'text-storm-300 dark:text-indigo-200': this.active,
|
|
100637
|
-
}) }, this.subtitle)), hAsync("p-icon", { key: '
|
|
100637
|
+
}) }, this.subtitle)), hAsync("p-icon", { key: '54125f28ee9ae3cb48084669d398bf0a856708c5', class: cn({
|
|
100638
100638
|
'text-storm-500 dark:text-white': this.active,
|
|
100639
100639
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
100640
|
-
}), rotate: this.open ? 180 : 0, variant: 'caret' })), hAsync("div", { key: '
|
|
100640
|
+
}), rotate: this.open ? 180 : 0, variant: 'caret' })), hAsync("div", { key: 'b731892b74a89f34a59feccf609c747eee97e997', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
|
|
100641
100641
|
maxHeight: `${this.open ? maxHeight : 0}px`,
|
|
100642
|
-
} }, hAsync("div", { key: '
|
|
100642
|
+
} }, hAsync("div", { key: 'd5d598b856131ea016720c5ed67b4edf71b29d4d', class: cn('absolute left-6 top-0 z-0 w-px', {
|
|
100643
100643
|
'bg-off-white-400 dark:bg-storm-500/30': !this.active,
|
|
100644
100644
|
'bg-indigo-100 dark:bg-hurricane-400': this.active,
|
|
100645
100645
|
}), style: {
|
|
100646
100646
|
height: `${maxHeight}px`,
|
|
100647
|
-
} }), hAsync("div", { key: '
|
|
100647
|
+
} }), hAsync("div", { key: 'bdc5d5e2b9a5e07b34e8c762498dd37af8ebae00', class: cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
|
|
100648
100648
|
'bg-indigo-600': this._showItemIndicator,
|
|
100649
100649
|
'bg-transparent': !this._showItemIndicator,
|
|
100650
100650
|
}), style: {
|
|
100651
100651
|
transform: `translateY(${this._activeItemPosition}px)`,
|
|
100652
|
-
} }), hAsync("div", { key: '
|
|
100652
|
+
} }), hAsync("div", { key: 'b1596c7a69c429784e956523548aa6f378b7233a', class: 'z-10 my-2 flex flex-col' }, hAsync("slot", { key: '380ac39b8c6d0407d6aa82ce6773b0184e4f239c', onSlotchange: () => this._slotChanged() }))))));
|
|
100653
100653
|
}
|
|
100654
100654
|
onWindowResize() {
|
|
100655
100655
|
this._calculateHeaderOffset();
|
|
@@ -100740,15 +100740,15 @@ class SubmenuItem {
|
|
|
100740
100740
|
this.activeChange.emit(this.active);
|
|
100741
100741
|
}
|
|
100742
100742
|
render() {
|
|
100743
|
-
return (hAsync(ThemedHost, { key: '
|
|
100743
|
+
return (hAsync(ThemedHost, { key: 'deca033001e2a36c27da033ac58630b76a25690b' }, hAsync("div", { key: '11892f6ceb01b5eed844e7f3a7498b80b57da3e8', class: cn([
|
|
100744
100744
|
'flex items-center',
|
|
100745
100745
|
'h-8 w-full pl-[calc(3rem+2px)]',
|
|
100746
100746
|
'cursor-pointer',
|
|
100747
100747
|
'group/submenu-item',
|
|
100748
|
-
]) }, hAsync("div", { key: '
|
|
100748
|
+
]) }, hAsync("div", { key: '2574c39efb7cf07a7ba0633d4554cd7b0070f24b', class: cn('flex items-center gap-2 transition-colors', {
|
|
100749
100749
|
'text-storm-400 dark:text-hurricane-100': !this.active,
|
|
100750
100750
|
'text-indigo-600': this.active,
|
|
100751
|
-
}) }, hAsync("p-icon", { key: '
|
|
100751
|
+
}) }, hAsync("p-icon", { key: 'd358bd33a9266bdbfa81ddc8e8190156a0243491', variant: this.icon }), hAsync("slot", { key: '392459313708ade2f205c5a202e44c9230af1818' })))));
|
|
100752
100752
|
}
|
|
100753
100753
|
static get style() { return submenuItemComponentCss(); }
|
|
100754
100754
|
static get cmpMeta() { return {
|
|
@@ -100792,10 +100792,10 @@ class TabContainer {
|
|
|
100792
100792
|
}; }
|
|
100793
100793
|
}
|
|
100794
100794
|
|
|
100795
|
-
const tabItemComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-
|
|
100795
|
+
const tabItemComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.after\\:h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:bg-indigo-600:after{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:bg-transparent:after{background-color:transparent;content:var(--tw-content)}.hover\\:text-storm-400:hover{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.hover\\:after\\:bg-storm-400:hover:after{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}`;
|
|
100796
100796
|
|
|
100797
100797
|
const item = cva([
|
|
100798
|
-
'flex h-8
|
|
100798
|
+
'flex h-8 flex-col justify-between text-sm',
|
|
100799
100799
|
'cursor-pointer',
|
|
100800
100800
|
`
|
|
100801
100801
|
after:content-['
|
|
@@ -100842,7 +100842,7 @@ class TabItem {
|
|
|
100842
100842
|
*/
|
|
100843
100843
|
chevronPosition = 'end';
|
|
100844
100844
|
render() {
|
|
100845
|
-
return (hAsync(ThemedHost, { key: '
|
|
100845
|
+
return (hAsync(ThemedHost, { key: 'c80d816523684ef1d5e98c58dc2d207141c1a8cc' }, hAsync("div", { key: '57a92397e1b433541bd89f822dfa713beb8bcd88', class: item({ active: this.active }) }, hAsync("div", { key: '080634cd5754a2dc86e03496f63d984bbd912026', class: 'flex items-center gap-2' }, this.chevron && this.chevronPosition === 'start' && (hAsync("p-icon", { key: 'd3a1579868aeb23103745f7363a58df22e4e5374', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), hAsync("slot", { key: 'a8ca932548046fa75bdbf464edb9fe58a98a82ed' }), this.chevron && this.chevronPosition === 'end' && (hAsync("p-icon", { key: '67aa47224027e0f8a20459077f138e879f3b66e7', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' }))))));
|
|
100846
100846
|
}
|
|
100847
100847
|
static get style() { return tabItemComponentCss(); }
|
|
100848
100848
|
static get cmpMeta() { return {
|
|
@@ -101682,7 +101682,7 @@ class TableCell {
|
|
|
101682
101682
|
};
|
|
101683
101683
|
}
|
|
101684
101684
|
render() {
|
|
101685
|
-
return (hAsync(ThemedHost, { key: '
|
|
101685
|
+
return (hAsync(ThemedHost, { key: '4676f425a0c14a84eefd17167108adc118215547', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
101686
101686
|
}
|
|
101687
101687
|
_getContent() {
|
|
101688
101688
|
if (this.variant === 'loading') {
|
|
@@ -101814,7 +101814,7 @@ class TableContainer {
|
|
|
101814
101814
|
registerInstance(this, hostRef);
|
|
101815
101815
|
}
|
|
101816
101816
|
render() {
|
|
101817
|
-
return (hAsync(Host, { key: '
|
|
101817
|
+
return (hAsync(Host, { key: 'edde039f2553f3e1f67d43ca4c6d9b80fb863782', class: container$1() }, hAsync("slot", { key: '3c242bb0e83a7a8964f764b1d65081e00650aff6' })));
|
|
101818
101818
|
}
|
|
101819
101819
|
static get style() { return tableContainerComponentCss(); }
|
|
101820
101820
|
static get cmpMeta() { return {
|
|
@@ -101993,12 +101993,12 @@ class TableFooter {
|
|
|
101993
101993
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
101994
101994
|
}
|
|
101995
101995
|
render() {
|
|
101996
|
-
return (hAsync(ThemedHost, { key: '
|
|
101996
|
+
return (hAsync(ThemedHost, { key: '49d706b3e6d9485db9370a6a7d190050a35d5ff7' }, hAsync("div", { key: 'c86f93340cfc581d1b528a17f244d4c39467da01', class: footer({
|
|
101997
101997
|
pinned: this._isPinned,
|
|
101998
101998
|
hidden: this._hidden,
|
|
101999
101999
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
102000
102000
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
102001
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
102001
|
+
this.total > 0 && (hAsync("p-pagination", { key: '844e959f136405f641d688c1e38ef99d688e60c6', 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) })))));
|
|
102002
102002
|
}
|
|
102003
102003
|
_changePageSize(s) {
|
|
102004
102004
|
if (!s) {
|
|
@@ -111837,13 +111837,13 @@ class TableRow {
|
|
|
111837
111837
|
*/
|
|
111838
111838
|
isLast = false;
|
|
111839
111839
|
render() {
|
|
111840
|
-
return (hAsync(ThemedHost, { key: '
|
|
111840
|
+
return (hAsync(ThemedHost, { key: 'b6e06d348ba9f989d14a7d0a55a9c8f59df5bb0f' }, hAsync("div", { key: 'b73ed4648704bd70706b2068e74e287cf8b7ef58', class: 'flex flex-col' }, hAsync("div", { key: 'a2b4bfe9b646b127b65e948abac8962ec7fc9961', class: row({
|
|
111841
111841
|
variant: this.variant,
|
|
111842
111842
|
enableHover: this.enableHover,
|
|
111843
111843
|
checked: this.checked,
|
|
111844
|
-
}) }, hAsync("div", { key: '
|
|
111844
|
+
}) }, hAsync("div", { key: 'a841f4ed0c0c73f9634ec5acab22438f4241d3a3', class: content$1({
|
|
111845
111845
|
variant: this.variant,
|
|
111846
|
-
}) }, hAsync("slot", { key: '
|
|
111846
|
+
}) }, hAsync("slot", { key: '8895fc68dbd55b386f01dd07d8874ab711b53ab4' }), hAsync("div", { key: '522b44aeebbce59641c5f2015a0971536d3e3282', class: actions() }, hAsync("slot", { key: 'f56ebaf0808a2e1c2c79e1928e9acea59d682b14', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (hAsync("p-divider", { key: 'a3fa2f78c7a6ba2cd0304ee92d50c596d4e49865' })))));
|
|
111847
111847
|
}
|
|
111848
111848
|
static get style() { return tableRowComponentCss(); }
|
|
111849
111849
|
static get cmpMeta() { return {
|
|
@@ -111943,16 +111943,16 @@ class TableRowActionsContainer {
|
|
|
111943
111943
|
*/
|
|
111944
111944
|
checked = false;
|
|
111945
111945
|
render() {
|
|
111946
|
-
return (hAsync(ThemedHost, { key: '
|
|
111946
|
+
return (hAsync(ThemedHost, { key: '7a4ca33f9fece63aa04879e6b712922034e3be40' }, hAsync("div", { key: 'a82d9974df1ae6f5805038d0682340a65d5e5b41', class: cn(`
|
|
111947
111947
|
flex
|
|
111948
111948
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
111949
111949
|
`, {
|
|
111950
111950
|
'dark:before:from-hurricane-600': !this.checked,
|
|
111951
111951
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
111952
|
-
}) }, hAsync("div", { key: '
|
|
111952
|
+
}) }, hAsync("div", { key: 'f63029c2f766f1ed5bbc767ce2f5bf443deaf153', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
111953
111953
|
'dark:bg-hurricane-600': !this.checked,
|
|
111954
111954
|
'dark:bg-hurricane-400': !!this.checked,
|
|
111955
|
-
}) }, hAsync("slot", { key: '
|
|
111955
|
+
}) }, hAsync("slot", { key: '8809271ccf4905e72683e2f7946e8643d06c230e' })))));
|
|
111956
111956
|
}
|
|
111957
111957
|
static get style() { return tableRowActionsContainerComponentCss(); }
|
|
111958
111958
|
static get cmpMeta() { return {
|
|
@@ -112033,7 +112033,7 @@ class Toast {
|
|
|
112033
112033
|
*/
|
|
112034
112034
|
action;
|
|
112035
112035
|
render() {
|
|
112036
|
-
return (hAsync(ThemedHost, { key: '
|
|
112036
|
+
return (hAsync(ThemedHost, { key: 'ba65d071611d7f2b6f1cf71e8efd5a9184e7215c' }, hAsync("div", { key: 'b105c7864024ca5597a647e888417d50eaf55b33', 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: 'e3f36546f14afea29962df2ea41c81c7d5c23f73', class: indicator({ variant: this.variant }) }), hAsync("div", { key: '1d8a543e3c02d738c4f5e24b5c5c62e6f8e07908', class: content() }, hAsync("div", { key: 'e016bc54906d5f21f6ce56b57923fde268df259d', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: 'ca1187d96ba1354688574ad42d10f97be1c721de', 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: 'b50e38e2230313fb047f2fcdf7c9883368295f02', 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: '228484b9dc462d566e72afa381b67b5156308dfc', 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: '083edb0be1c602af12e5b5fd7f3d0b4816e7492f', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
112037
112037
|
}
|
|
112038
112038
|
_onClick() {
|
|
112039
112039
|
if (this.enableAction) {
|
|
@@ -112103,9 +112103,9 @@ class ToastContainer {
|
|
|
112103
112103
|
*/
|
|
112104
112104
|
placement = 'top-end';
|
|
112105
112105
|
render() {
|
|
112106
|
-
return (hAsync("div", { key: '
|
|
112106
|
+
return (hAsync("div", { key: '86ef19b7d3a0b72c4fc29fa5b9901f0c91ac57fd', class: container({
|
|
112107
112107
|
placement: this.placement,
|
|
112108
|
-
}) }, hAsync("slot", { key: '
|
|
112108
|
+
}) }, hAsync("slot", { key: 'e3c12f33636f9421377433f131424ece8005d6c3' })));
|
|
112109
112109
|
}
|
|
112110
112110
|
static get style() { return toastContainerComponentCss(); }
|
|
112111
112111
|
static get cmpMeta() { return {
|
|
@@ -112263,11 +112263,11 @@ class Toggle {
|
|
|
112263
112263
|
}
|
|
112264
112264
|
render() {
|
|
112265
112265
|
const id = this.id?.length ? this.id : this._nonce;
|
|
112266
|
-
return (hAsync(ThemedHost, { key: '
|
|
112266
|
+
return (hAsync(ThemedHost, { key: '68ea1c58560736df9fc66de2ce8c17515e5bf064' }, hAsync("label", { key: '0d7f40ad8afbeb4871ac9e305091e510cbef2b59', class: 'flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: 'fea96b279303efae51a5e2aec957d444e8866d59', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'f56b0692d6c410e5e5a11ddd6d2d333bdbed30c2', checked: !!this.checked, class: toggle({
|
|
112267
112267
|
disabled: asBoolean(this.disabled),
|
|
112268
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
112268
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '7a78a5de3ec5885bc63586dea48183ae4363f6d4', class: circle({
|
|
112269
112269
|
disabled: asBoolean(this.disabled),
|
|
112270
|
-
}) })), hAsync("div", { key: '
|
|
112270
|
+
}) })), hAsync("div", { key: '3e930ab3b5a769348564c49f8a6fce98805d6683', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: '3d4cbb2a19b46431e68e6766faa8dd07b3eb5fd7' })))));
|
|
112271
112271
|
}
|
|
112272
112272
|
_onChange(ev) {
|
|
112273
112273
|
if (asBoolean(this.disabled)) {
|
|
@@ -112398,10 +112398,10 @@ class Tooltip {
|
|
|
112398
112398
|
this._cleanup = null;
|
|
112399
112399
|
}
|
|
112400
112400
|
render() {
|
|
112401
|
-
return (hAsync(ThemedHost, { key: '
|
|
112401
|
+
return (hAsync(ThemedHost, { key: '4841b1358653dde5c7d12446c16401e010e4acda', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: '3a939eb1f11bc8cfd4b90cef9364cf953f3b59ef', name: 'trigger' }), hAsync("div", { key: 'e6744fe10a5e44d7dca520de0ea48c73bdcfbd7b', class: popover({
|
|
112402
112402
|
variant: this.variant,
|
|
112403
112403
|
strategy: this.strategy,
|
|
112404
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '
|
|
112404
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: 'f787e108d9dadf6bae66edfc8e1849da22321c80', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: '2bc01a49a9bbde7ec8b6928a272ec1f193665084', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? hAsync("slot", { key: '09769aac06cf1555ef7f9f4a9cace47321ab913d', name: 'content' })))));
|
|
112405
112405
|
}
|
|
112406
112406
|
clickHandler() {
|
|
112407
112407
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-yFtRjnrU.js";import{c as r}from"./p-CBWjHURv.js";import{T as a}from"./p-CSySY6aC.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const o=r(["flex h-8 items-center justify-center gap-2 text-sm","cursor-pointer","\n after:content-['\n ']\n after:h-[2px]\n "],{variants:{active:{true:"\n text-indigo-600\n after:bg-indigo-600\n ",false:["\n text-storm-300\n after:bg-transparent\n hover:text-storm-400\n hover:after:bg-storm-400\n ","\n dark:text-hurricane-200\n dark:hover:text-white\n dark:hover:after:bg-white\n "]}}}),c=class{constructor(e){t(this,e)}active=!1;chevron=!1;chevronPosition="end";render(){return e(a,{key:"bbcccea54feff997f547cb924e7a32a6be9672fc"},e("div",{key:"a2ab472cdd47d15a9b231e0c4f1757800130c078",class:o({active:this.active})},this.chevron&&"start"===this.chevronPosition&&e("p-icon",{key:"cd3a11b8fc0bba0f0318bac8e7ba6eb4037a9f25",rotate:"up"===this.chevron?180:0,variant:"caret"}),e("slot",{key:"e9f495d5bcdd55d5a0e106ed1ade959e5f361e8c"}),this.chevron&&"end"===this.chevronPosition&&e("p-icon",{key:"de000972354a9a4dd3ce3bab3a0ce2b6d880b944",rotate:"up"===this.chevron?180:0,variant:"caret"})))}};c.style='*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.after\\:h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:bg-indigo-600:after{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:bg-transparent:after{background-color:transparent;content:var(--tw-content)}.hover\\:text-storm-400:hover{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.hover\\:after\\:bg-storm-400:hover:after{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:after\\:bg-white:hover:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}';export{c as p_tab_item}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as c,h as e}from"./p-yFtRjnrU.js";import{T as a}from"./p-CSySY6aC.js";import"./p-6XOzWrsN.js";const s=class{constructor(e){c(this,e)}header;render(){return e(a,{key:"ef9bc5a34ec30fddac926c6eb32225ad29933a6b",class:"flex flex-col gap-2"},this.header?.length>0&&e("p-navigation-title",{key:"c2247b566e622687b63cc461b4d18383c4657c87"},this.header),e("div",{key:"214b7cdcc8425ae88ac667f2fabaf74e08e4dbc8",class:"flex flex-col"},e("slot",{key:"26833f9c31a682f58160fc54063ecb7459f3f0b1"})))}};s.style="*{box-sizing:border-box}.static{position:static}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:.5rem}";export{s as p_navigation_section}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as e,H as a,h as r}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{a as n}from"./p-C5CTp9IA.js";import{d}from"./p-CPSiExRl.js";const c=o(["flex min-w-[calc(100%-0.5rem)] flex-col","group","relative"],{variants:{variant:{default:["m-1 px-3","text-sm text-storm-500","dark:text-white"],header:null,"header-secondary":"mb-4",secondary:["px-4","font-ambit text-lg font-bold"]},enableHover:{true:null,false:null},checked:{true:null,false:null}},compoundVariants:[{variant:"default",enableHover:!0,class:["rounded-lg transition-colors","hover:cursor-pointer"]},{variant:"default",enableHover:!0,checked:!1,class:["hover:bg-off-white-300","dark:hover:bg-hurricane-600"]},{variant:"default",checked:!0,class:["rounded-lg transition-colors","\n bg-off-white-300\n dark:bg-hurricane-400\n dark:hover:bg-hurricane-400\n "]},{variant:["secondary","header-secondary"],class:["rounded-lg bg-off-white-300","dark:bg-hurricane-400"]},{variant:["header","header-secondary"],class:["px-4","text-xs font-normal text-storm-400","dark:text-hurricane-200"]}]}),s=o("relative flex min-w-full flex-nowrap items-stretch justify-between",{variants:{variant:{default:null,secondary:null,header:"pb-4","header-secondary":"py-2"}},compoundVariants:[{variant:["default","secondary"],class:"\n min-h-14 py-2\n tablet:py-4\n "},{variant:["header","header-secondary"],class:"min-h-0"}]}),h=o(["absolute -right-4 top-1 z-[2]","h-[calc(100%-0.5rem)]","\n opacity-0 transition-opacity\n group-hover:opacity-100\n ","empty:hidden"]),l=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}variant="default";enableHover=!0;checked=!1;isLast=!1;render(){return r(i,{key:"ddf6a2776b32e8b37994cc2ca37a22ee28f6f39d"},r("div",{key:"b5eeb9ce4daabcdf70bce497f33dfe26945b6e28",class:"flex flex-col"},r("div",{key:"1f591131dd1b530275b6b5bf1a79a0a4977c33dc",class:c({variant:this.variant,enableHover:this.enableHover,checked:this.checked})},r("div",{key:"7c26c9172d6d272e008bc9156f1b67d8d09a9b1e",class:s({variant:this.variant})},r("slot",{key:"f58033f70451c7fb4bfbf07823feb4aa199d4730"}),r("div",{key:"999168db7e5b7a7c5f5f47560786a4ec9d338cc2",class:h()},r("slot",{key:"5a5860691132504171222e2052e75f60198d711c",name:"actions"})))),!n(this.isLast)&&"secondary"!==this.variant&&r("p-divider",{key:"db86b959ebedfbb6cfdd3d819634c100fb0f972d"})))}static get style(){return'.relative{position:relative}*{box-sizing:border-box}:host{--tw-content:"";position:relative}.static{position:static}.absolute{position:absolute}.-right-4{right:-1rem}.top-1{top:.25rem}.z-\\[2\\]{z-index:2}.m-1{margin:.25rem}.mb-4{margin-bottom:1rem}.flex{display:flex}.table-row{display:table-row}.h-\\[calc\\(100\\%-0\\.5rem\\)\\]{height:calc(100% - .5rem)}.min-h-0{min-height:0}.min-h-14{min-height:3.5rem}.min-w-\\[calc\\(100\\%-0\\.5rem\\)\\]{min-width:calc(100% - .5rem)}.min-w-full{min-width:100%}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.rounded-lg{border-radius:.5rem}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.pb-4{padding-bottom:1rem}.font-ambit{font-family:Ambit,sans-serif}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.empty\\:hidden:empty{display:none}.hover\\:cursor-pointer:hover{cursor:pointer}.hover\\:bg-off-white-300:hover{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.group:hover .group-hover\\:opacity-100{opacity:1}@media (min-width:40rem){.tablet\\:py-4{padding-bottom:1rem;padding-top:1rem}}.dark\\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-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\\:hover\\:bg-hurricane-400:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:hover\\:bg-hurricane-600:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-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))}.dark\\:hover\\:bg-hurricane-400:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:hover\\:bg-hurricane-600:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}'}},[769,"p-table-row",{variant:[1],enableHover:[4,"enable-hover"],checked:[4],isLast:[4,"is-last"]}]);function b(){"undefined"!=typeof customElements&&["p-table-row","p-divider"].forEach((e=>{switch(e){case"p-table-row":customElements.get(t(e))||customElements.define(t(e),l);break;case"p-divider":customElements.get(t(e))||d()}}))}b();export{l as T,b as d}
|