@paperless/core 3.16.0 → 3.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/p-0d03e46c.js +1 -0
- package/dist/build/{p-994c1ad5.entry.js → p-186454b1.entry.js} +1 -1
- package/dist/build/{p-5e83a91b.entry.js → p-282b2776.entry.js} +1 -1
- package/dist/build/{p-b8caedf6.entry.js → p-2e850d9d.entry.js} +1 -1
- package/dist/build/{p-501f2f7c.entry.js → p-3376af98.entry.js} +1 -1
- package/dist/build/{p-36ba5439.entry.js → p-337de35a.entry.js} +1 -1
- package/dist/build/{p-022c5075.entry.js → p-3557f8b1.entry.js} +1 -1
- package/dist/{paperless/p-ce15940f.entry.js → build/p-41326183.entry.js} +1 -1
- package/dist/build/{p-8e2a982f.entry.js → p-6dff428b.entry.js} +1 -1
- package/dist/{paperless/p-e65ed748.entry.js → build/p-71ac632f.entry.js} +1 -1
- package/dist/build/p-7fb843e7.entry.js +1 -0
- package/dist/{paperless/p-aca23818.entry.js → build/p-883569e8.entry.js} +1 -1
- package/dist/build/p-887c9c21.entry.js +1 -0
- package/dist/{paperless/p-a2c812fa.entry.js → build/p-88fd696b.entry.js} +1 -1
- package/dist/build/{p-81f2e6ef.entry.js → p-9232a310.entry.js} +1 -1
- package/dist/build/{p-4cd8035a.entry.js → p-9a9f0cd0.entry.js} +1 -1
- package/dist/build/{p-44f0d99e.entry.js → p-9c440af8.entry.js} +1 -1
- package/dist/build/{p-83113087.entry.js → p-af1a320c.entry.js} +1 -1
- package/dist/{paperless/p-a0584184.entry.js → build/p-da849804.entry.js} +1 -1
- package/dist/build/{p-e7b589a3.entry.js → p-e13fb7aa.entry.js} +1 -1
- package/dist/build/{p-ee723380.entry.js → p-fae76adf.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BGtpSJv_.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +14 -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 +8 -8
- 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/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js +86 -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 +11 -5
- 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 +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-BvjA9uxY.js → p-BOiWsfcF.js} +1 -1
- package/dist/components/{p-B_BKgQeH.js → p-BzqBJcLi.js} +1 -1
- package/dist/components/{p-DvAOnRQi.js → p-CDe7jCUk.js} +1 -1
- package/dist/components/{p-D32MmMyp.js → p-D-aqRvv-.js} +1 -1
- package/dist/components/{p-agrVwZh2.js → p-D33L0Zo8.js} +1 -1
- package/dist/components/p-DQBc9tJK.js +1 -0
- package/dist/components/{p-CgctO_zV.js → p-DQpI5tIr.js} +1 -1
- package/dist/components/{p-Csme11d5.js → p-Da9hczVK.js} +1 -1
- package/dist/components/{p-DV-90Xf7.js → p-DldbEkyU.js} +1 -1
- package/dist/components/{p-CUXnWkj8.js → p-DpmybwXO.js} +1 -1
- package/dist/components/{p-DqqbDTWo.js → p-DrNRSBlB.js} +1 -1
- package/dist/components/{p-28XxH8uR.js → p-DuDnxEzm.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-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/components/p-upBcC1Jh.js +1 -0
- package/dist/esm/index-yFtRjnrU.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +14 -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 +8 -8
- 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/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-994c1ad5.entry.js → p-186454b1.entry.js} +1 -1
- package/dist/paperless/{p-5e83a91b.entry.js → p-282b2776.entry.js} +1 -1
- package/dist/paperless/{p-b8caedf6.entry.js → p-2e850d9d.entry.js} +1 -1
- package/dist/paperless/{p-501f2f7c.entry.js → p-3376af98.entry.js} +1 -1
- package/dist/paperless/{p-36ba5439.entry.js → p-337de35a.entry.js} +1 -1
- package/dist/paperless/{p-022c5075.entry.js → p-3557f8b1.entry.js} +1 -1
- package/dist/{build/p-ce15940f.entry.js → paperless/p-41326183.entry.js} +1 -1
- package/dist/paperless/{p-8e2a982f.entry.js → p-6dff428b.entry.js} +1 -1
- package/dist/{build/p-e65ed748.entry.js → paperless/p-71ac632f.entry.js} +1 -1
- package/dist/paperless/p-7fb843e7.entry.js +1 -0
- package/dist/{build/p-aca23818.entry.js → paperless/p-883569e8.entry.js} +1 -1
- package/dist/paperless/p-887c9c21.entry.js +1 -0
- package/dist/{build/p-a2c812fa.entry.js → paperless/p-88fd696b.entry.js} +1 -1
- package/dist/paperless/{p-81f2e6ef.entry.js → p-9232a310.entry.js} +1 -1
- package/dist/paperless/{p-4cd8035a.entry.js → p-9a9f0cd0.entry.js} +1 -1
- package/dist/paperless/{p-44f0d99e.entry.js → p-9c440af8.entry.js} +1 -1
- package/dist/paperless/{p-83113087.entry.js → p-af1a320c.entry.js} +1 -1
- package/dist/{build/p-a0584184.entry.js → paperless/p-da849804.entry.js} +1 -1
- package/dist/paperless/{p-e7b589a3.entry.js → p-e13fb7aa.entry.js} +1 -1
- package/dist/paperless/{p-ee723380.entry.js → p-fae76adf.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +14 -0
- package/dist/types/components/molecules/label/label.component.d.ts +2 -1
- package/dist/types/components.d.ts +72 -50
- package/hydrate/index.js +67 -52
- package/hydrate/index.mjs +67 -52
- package/package.json +1 -1
- package/dist/build/p-4b7ac676.entry.js +0 -1
- package/dist/build/p-6d99bd62.entry.js +0 -1
- package/dist/build/p-f1e1f72e.js +0 -1
- package/dist/components/p-Cpjh5GlI.js +0 -1
- package/dist/paperless/p-4b7ac676.entry.js +0 -1
- package/dist/paperless/p-6d99bd62.entry.js +0 -1
package/hydrate/index.js
CHANGED
|
@@ -11610,15 +11610,27 @@ class Accordion {
|
|
|
11610
11610
|
* Wether the accordion can be opened
|
|
11611
11611
|
*/
|
|
11612
11612
|
openable = true;
|
|
11613
|
+
/**
|
|
11614
|
+
* Label of the accordion
|
|
11615
|
+
*/
|
|
11616
|
+
label;
|
|
11617
|
+
/**
|
|
11618
|
+
* Variant of the label
|
|
11619
|
+
*/
|
|
11620
|
+
labelVariant = 'neutral';
|
|
11621
|
+
/**
|
|
11622
|
+
* Icon of the accordion
|
|
11623
|
+
*/
|
|
11624
|
+
labelIcon;
|
|
11613
11625
|
/**
|
|
11614
11626
|
* Open change event
|
|
11615
11627
|
*/
|
|
11616
11628
|
isOpen;
|
|
11617
11629
|
render() {
|
|
11618
|
-
return (hAsync(ThemedHost, { key: '
|
|
11630
|
+
return (hAsync(ThemedHost, { key: '883005f4d2fdd709219459e186d5ddc2d0c65d0e' }, hAsync("div", { key: '84e519021e292cb5652d747f78580994fe3d202d', class: 'flex w-full flex-col' }, hAsync("div", { key: '825ce398b3e964f338a5d856cc8ad62e1ca584b6', class: cn('flex cursor-pointer items-center gap-2', {
|
|
11619
11631
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
11620
11632
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
11621
|
-
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '
|
|
11633
|
+
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '49becdad583ea8e5c0240c9dcd39aeae9725f3e8', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), hAsync("p", { key: '43433d9ce0070501f9585d90b517dc12025107ff', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), hAsync("p-divider", { key: 'cd9cb273247800d7346dbbd7901006e2eed73cd4', class: 'flex-1' }), this.label && (hAsync("p-label", { key: 'b1f0d706acdd72f59dc5761b7b8d547902923e3e', icon: this.labelIcon, variant: this.labelVariant }, this.label))), this.open && (hAsync("div", { key: '115909079517f424638f3ad412e089c7494ef463', class: 'mt-4' }, hAsync("slot", { key: '35e85bfce75a986873831ecf044353975a3d357c' }))))));
|
|
11622
11634
|
}
|
|
11623
11635
|
_onClick() {
|
|
11624
11636
|
if (!this.closeable && this.open) {
|
|
@@ -11639,7 +11651,10 @@ class Accordion {
|
|
|
11639
11651
|
"header": [1],
|
|
11640
11652
|
"open": [4],
|
|
11641
11653
|
"closeable": [4],
|
|
11642
|
-
"openable": [4]
|
|
11654
|
+
"openable": [4],
|
|
11655
|
+
"label": [1],
|
|
11656
|
+
"labelVariant": [1, "label-variant"],
|
|
11657
|
+
"labelIcon": [1, "label-icon"]
|
|
11643
11658
|
},
|
|
11644
11659
|
"$listeners$": undefined,
|
|
11645
11660
|
"$lazyBundleId$": "-",
|
|
@@ -11755,27 +11770,27 @@ class Attachment {
|
|
|
11755
11770
|
_fileRef;
|
|
11756
11771
|
_cameraFileRef;
|
|
11757
11772
|
render() {
|
|
11758
|
-
let prefix = (hAsync("p-icon", { key: '
|
|
11773
|
+
let prefix = (hAsync("p-icon", { key: '733963ff356f965056b5e9e7633da2998b755264', class: 'text-storm-300', variant: 'attachment' }));
|
|
11759
11774
|
if (this.error) {
|
|
11760
|
-
prefix = (hAsync("p-icon", { key: '
|
|
11775
|
+
prefix = (hAsync("p-icon", { key: 'de5756ad4c027f24ec41e705c9d2b5b70081e958', class: 'text-negative-red-500', variant: 'warning' }));
|
|
11761
11776
|
}
|
|
11762
11777
|
const isTouch = isTouchDevice();
|
|
11763
11778
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
11764
|
-
return (hAsync(Fragment, { key: '
|
|
11779
|
+
return (hAsync(Fragment, { key: '9f03aa2a47359df37c9def9971327bd25e56bf77' }, hAsync("p-field-container", { key: 'c54a6d42dfcfc209c97890c208e473dcc79568bb', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, hAsync("div", { key: 'e7a5bfbbb4e2c033bdd6b183749204e6ce1b53e1', class: 'flex w-full items-start gap-2', slot: 'content' }, hAsync("div", { key: '3d831d39b8986dc8a3124da6dcf3a189a642fd54', class: attachment({
|
|
11765
11780
|
click: this.mode === 'write' && !this.value?.length,
|
|
11766
11781
|
error: !!this.error?.length,
|
|
11767
|
-
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '
|
|
11782
|
+
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: 'e4fd2b6db9d501b195001c7149342634cfe9a269', class: cn(baseText, `
|
|
11768
11783
|
peer
|
|
11769
11784
|
empty:hidden
|
|
11770
11785
|
dark:text-white
|
|
11771
|
-
`) }, this.value), hAsync("span", { key: '
|
|
11786
|
+
`) }, this.value), hAsync("span", { key: '4bbe0c5ce7b4d4e589f98a5af53c865d15efecde', class: cn(baseText, `
|
|
11772
11787
|
hidden
|
|
11773
11788
|
peer-empty:block
|
|
11774
|
-
`) }, this.placeholder)), hAsync("p-tooltip", { key: '
|
|
11789
|
+
`) }, this.placeholder)), hAsync("p-tooltip", { key: '50a74b8d8fa114b3da459c3d0dc46c4df6b91910', class: 'w-8', content: this.mode === 'read'
|
|
11775
11790
|
? this.downloadTooltip
|
|
11776
11791
|
: this.value?.length
|
|
11777
11792
|
? this.deleteTooltip
|
|
11778
|
-
: this.uploadTooltip }, hAsync("p-button", { key: '
|
|
11793
|
+
: this.uploadTooltip }, hAsync("p-button", { key: 'ae41494745feeb524fdf33e80beb74e9b6beb52d', disabled: this.loading, icon: this.mode === 'read'
|
|
11779
11794
|
? 'download'
|
|
11780
11795
|
: this.value?.length
|
|
11781
11796
|
? 'trash'
|
|
@@ -11786,7 +11801,7 @@ class Attachment {
|
|
|
11786
11801
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11787
11802
|
this.mode === 'write' &&
|
|
11788
11803
|
isTouch &&
|
|
11789
|
-
!this.value?.length && (hAsync("p-tooltip", { key: '
|
|
11804
|
+
!this.value?.length && (hAsync("p-tooltip", { key: '2e488f3cedbdd087919bd52ec641fe46cc8809f8', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: 'cae92800e1d516fadfd7896eb41d7025236334f7', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: 'c838eae72268e0db2730e49e3ce4197e866005ff', 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: 'be27eba416f306e638b98aae5b790eaf79e02e23', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11790
11805
|
}
|
|
11791
11806
|
_uploadClick() {
|
|
11792
11807
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -12827,7 +12842,7 @@ class ButtonGroup {
|
|
|
12827
12842
|
this._checkButtons();
|
|
12828
12843
|
}
|
|
12829
12844
|
render() {
|
|
12830
|
-
return (hAsync(Host, { key: '
|
|
12845
|
+
return (hAsync(Host, { key: '5997ff33e4339b436cce097c60f06c1fe2813079', class: 'flex items-center' }, hAsync("slot", { key: '10ce08be5f32f0d83f8dc499ff3223b1c02de850' })));
|
|
12831
12846
|
}
|
|
12832
12847
|
slotchange() {
|
|
12833
12848
|
this._checkButtons();
|
|
@@ -88172,7 +88187,7 @@ class Calendar {
|
|
|
88172
88187
|
}
|
|
88173
88188
|
}
|
|
88174
88189
|
render() {
|
|
88175
|
-
return (hAsync(ThemedHost, { key: '
|
|
88190
|
+
return (hAsync(ThemedHost, { key: '3cba341042ffd423d6f3b3fe5a340558e8c8fb53' }, hAsync("div", { key: '4306fc8b190e94956213992963dc851857475a2f', class: calendar$1({ variant: this.variant }) }, this._getView())));
|
|
88176
88191
|
}
|
|
88177
88192
|
_checkTodayButton() {
|
|
88178
88193
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -88920,13 +88935,13 @@ class ContentSlider {
|
|
|
88920
88935
|
}
|
|
88921
88936
|
}
|
|
88922
88937
|
render() {
|
|
88923
|
-
return (hAsync(Host, { key: '
|
|
88938
|
+
return (hAsync(Host, { key: '6ba183884628b200ca1b7d13b91818499096c184' }, hAsync("div", { key: '1ec72c6d71e138e581a35738b74171840f7f4422', class: `
|
|
88924
88939
|
slider
|
|
88925
88940
|
${!this.disableDrag && 'draggable'}
|
|
88926
88941
|
${this._dragging && 'dragging'}
|
|
88927
88942
|
`, ref: el => (this._sliderRef = el), style: {
|
|
88928
88943
|
height: `${this._outerHeight}px`,
|
|
88929
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '
|
|
88944
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '5658bdaf3c369812670b4e8973287453c2d2cdab', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, hAsync("slot", { key: '84564041f76f577b1a20750f1d7224404a3f1b68', onSlotchange: () => this._slotChange() }))), hAsync("div", { key: '91b3ae9d5bcb8a52c77730d45de57f612fd90c08', class: `
|
|
88930
88945
|
indicator
|
|
88931
88946
|
${this.hideMobileIndicator && 'hidden'}
|
|
88932
88947
|
` }, this._filteredItems.map((_, i) => (hAsync("div", { class: `
|
|
@@ -91977,7 +91992,7 @@ class Cropper {
|
|
|
91977
91992
|
const themeColor = state.theme === 'dark'
|
|
91978
91993
|
? 'rgba(70, 75, 84, 0.5)'
|
|
91979
91994
|
: 'rgba(255, 255, 255, 0.5)';
|
|
91980
|
-
return (hAsync(ThemedHost, { key: '
|
|
91995
|
+
return (hAsync(ThemedHost, { key: '958d615c7f31c0d060318fb5949a3022da7e9664' }, this._loaded && (hAsync("cropper-canvas", { key: '9e243578589dfa0a3b13354295f5d2685be4f551', 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: 'f572e1dcdc65a9b00b753ea48f41cc5d12ffa414', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), hAsync("cropper-shade", { key: 'feacefa121adf503f6c5686bfc07dc268ae3f272', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), hAsync("cropper-selection", { key: '3d8539b17d0033500e46b27cf303a7fc18aac26e', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), hAsync("cropper-handle", { key: 'd1103eab524b40a31f62591c1be07863ba13a436', action: 'move', plain: true }))), hAsync("p-range", { key: 'a8a13717467bcf06c0f8f7e40ca85067308cba55', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
91981
91996
|
}
|
|
91982
91997
|
_setImageRef(ref) {
|
|
91983
91998
|
if (this._imageRef || !ref) {
|
|
@@ -92307,7 +92322,7 @@ class Datepicker {
|
|
|
92307
92322
|
}
|
|
92308
92323
|
}
|
|
92309
92324
|
render() {
|
|
92310
|
-
return (hAsync("p-dropdown", { key: '
|
|
92325
|
+
return (hAsync("p-dropdown", { key: '1da0f9a54c53581dc347bfa7cbf2c7489542948b', 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: 'c9e8d5e2d0e4ee3750fce8bca41b9383fcd45deb', 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: 'cbd64fc3655995d41f776c23c98deb767e4df1cf', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
92311
92326
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
92312
92327
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92313
92328
|
}), min: this._minDate &&
|
|
@@ -92316,7 +92331,7 @@ class Datepicker {
|
|
|
92316
92331
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
92317
92332
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
92318
92333
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92319
|
-
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '
|
|
92334
|
+
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '398a65da8a0b8bda9177375d75686123278af66a', slot: 'items', tabIndex: -1 }, hAsync("p-calendar", { key: 'a0fd9ec5fdeb9a42bd7394599c75659feca77489', 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) }))));
|
|
92320
92335
|
}
|
|
92321
92336
|
documentClickHandler({ target }) {
|
|
92322
92337
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -94484,12 +94499,12 @@ class Dropdown {
|
|
|
94484
94499
|
this._checkItems();
|
|
94485
94500
|
}
|
|
94486
94501
|
render() {
|
|
94487
|
-
return (hAsync(Host, { key: '
|
|
94502
|
+
return (hAsync(Host, { key: '1c060fa3b674315b449445bc12cb7914ff809f42', class: 'relative' }, hAsync("div", { key: '526090a21972996fe865c251ab109170b3031f2d', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: 'c77c6b4e01d5f8192aada325f62d416f08ef50d5', name: 'trigger' })), hAsync("div", { key: '49300cd262ccd3f58aaea3abec9a00d210c340b8', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: 'c084d5a6d26f1c47b38ddcca5eae7727bc12e0e2', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94488
94503
|
strategy: this.strategy,
|
|
94489
94504
|
maxWidth: this.applyMaxWidth,
|
|
94490
94505
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94491
94506
|
isDatepicker: this.isDatepicker,
|
|
94492
|
-
}), 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: '
|
|
94507
|
+
}), 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: '8e05aa667dbad7c2a443dcb7c513b5049ae966e5', name: 'items' })))));
|
|
94493
94508
|
}
|
|
94494
94509
|
_checkButtons(active = false) {
|
|
94495
94510
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -95402,11 +95417,11 @@ class EmptyState {
|
|
|
95402
95417
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
95403
95418
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
95404
95419
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
95405
|
-
return (hAsync(ThemedHost, { key: '
|
|
95420
|
+
return (hAsync(ThemedHost, { key: 'a1c5b7682ac5ffd11beb25f2dd91d156becec4a3' }, hAsync("div", { key: 'd19221f86c59cc8583d1e96f59263e01ea4ad22d', class: emptyState({
|
|
95406
95421
|
enableAction: asBoolean(this.enableAction, true),
|
|
95407
95422
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
95408
95423
|
? this.action.emit(ev)
|
|
95409
|
-
: undefined }, this.illustration && (hAsync("p-illustration", { key: '
|
|
95424
|
+
: undefined }, this.illustration && (hAsync("p-illustration", { key: '0a078690887ee5eba9c383fe8ccba7aaeb110cdc', 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 &&
|
|
95410
95425
|
(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))))));
|
|
95411
95426
|
}
|
|
95412
95427
|
static get style() { return emptyStateComponentCss(); }
|
|
@@ -95810,8 +95825,8 @@ class Field {
|
|
|
95810
95825
|
}
|
|
95811
95826
|
render() {
|
|
95812
95827
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
95813
|
-
return (hAsync(ThemedHost, { key: '
|
|
95814
|
-
(!!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: '
|
|
95828
|
+
return (hAsync(ThemedHost, { key: '26ead7c05e6305596106f154754986a05237c454' }, hAsync("p-field-container", { key: '8828b6378d5a3e5c7c98dd52c0bc34ff7500ba02', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
95829
|
+
(!!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: 'c7a0344e9aec6a7e1c30e173fd5ceaf65268a912', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: '9a0bdbb419369c6d658d5e1b855913ffe4dd42b0', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: 'dc417538960faecaa20898f52138042b52fc0232', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: '9e7659556f4bb3888d63ee6ca9b7d59bd7201db9', name: 'error', slot: 'error' })), hAsync("div", { key: 'e0f979932fd5afb26e60df3656c503475bbfb43e', class: field({
|
|
95815
95830
|
error: !!this.error?.length,
|
|
95816
95831
|
disabled: asBoolean(this.disabled),
|
|
95817
95832
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -95822,7 +95837,7 @@ class Field {
|
|
|
95822
95837
|
? `${this.value}`
|
|
95823
95838
|
: undefined }, (this.error?.length ||
|
|
95824
95839
|
prefix ||
|
|
95825
|
-
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
95840
|
+
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '60384a989f7f7ce43dff577e5275d12d955f85ff', class: prefixAndSuffix({
|
|
95826
95841
|
variant: this.variant,
|
|
95827
95842
|
error: !!this.error?.length,
|
|
95828
95843
|
disabled: asBoolean(this.disabled),
|
|
@@ -95834,7 +95849,7 @@ class Field {
|
|
|
95834
95849
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
95835
95850
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
95836
95851
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
95837
|
-
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '
|
|
95852
|
+
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '7bfc680f8dff73606785066d9e3ad3fbf7ad5e83', class: cn(prefixAndSuffix({
|
|
95838
95853
|
variant: this.variant,
|
|
95839
95854
|
error: !!this.error?.length,
|
|
95840
95855
|
disabled: asBoolean(this.disabled),
|
|
@@ -97052,17 +97067,17 @@ class Label {
|
|
|
97052
97067
|
*/
|
|
97053
97068
|
keepMobileContent = false;
|
|
97054
97069
|
render() {
|
|
97055
|
-
return (hAsync(ThemedHost, { key: '
|
|
97070
|
+
return (hAsync(ThemedHost, { key: '6c0a882a32478d6b98d367cad09ca1e1b402a7bc' }, hAsync("div", { key: 'db302a4e8e1038554aed789c56cc3a1e30e4974f', class: label({
|
|
97056
97071
|
variant: this.variant,
|
|
97057
97072
|
iconOnly: this.iconOnly,
|
|
97058
97073
|
keepMobileContent: this.keepMobileContent,
|
|
97059
|
-
}) }, this.icon && (hAsync("p-icon", { key: '
|
|
97074
|
+
}) }, this.icon && (hAsync("p-icon", { key: '041fdc8930e91925f98eb3fb5dc268e67e98cdd4', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (hAsync("div", { key: 'd2a815264c3193cc78b3aaa97f857a6cd43b7db4', class: cn(`
|
|
97060
97075
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
97061
97076
|
font-medium
|
|
97062
97077
|
`, {
|
|
97063
97078
|
hidden: !this.keepMobileContent,
|
|
97064
97079
|
'desktop-xs:block': !this.keepMobileContent,
|
|
97065
|
-
}) }, hAsync("slot", { key: '
|
|
97080
|
+
}) }, hAsync("slot", { key: '54f7bf815b2e47549b8facf49e87ec189e1dc92f' }))))));
|
|
97066
97081
|
}
|
|
97067
97082
|
static get style() { return labelComponentCss(); }
|
|
97068
97083
|
static get cmpMeta() { return {
|
|
@@ -97133,10 +97148,10 @@ class Listing {
|
|
|
97133
97148
|
}
|
|
97134
97149
|
}
|
|
97135
97150
|
render() {
|
|
97136
|
-
return (hAsync("div", { key: '
|
|
97151
|
+
return (hAsync("div", { key: '4aefa549cfa63e471dd51c3dbcfdc9fb8116d7f5', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
97137
97152
|
'opacity-100': this._generatedOnce,
|
|
97138
97153
|
'opacity-0': !this._generatedOnce,
|
|
97139
|
-
}) }, hAsync("slot", { key: '
|
|
97154
|
+
}) }, hAsync("slot", { key: '2846ec0b0b2fba3c9f3bff9d9c9c791ff4282c24', onSlotchange: () => this._generateLinesOnce() })));
|
|
97140
97155
|
}
|
|
97141
97156
|
_generateLinesOnce() {
|
|
97142
97157
|
if (this._generateTimeout) {
|
|
@@ -97706,7 +97721,7 @@ class Navbar {
|
|
|
97706
97721
|
}
|
|
97707
97722
|
_show = false;
|
|
97708
97723
|
render() {
|
|
97709
|
-
return (hAsync(ThemedHost, { key: '
|
|
97724
|
+
return (hAsync(ThemedHost, { key: '5a01e00dd1e1871cde9828944b65daabf75ea31a' }, hAsync("p-backdrop", { key: '95bf7c4b78c9e49abae9a7281adf5624df0455a0', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: '4dfea05f200954ec3793907d88d6d6a96c58f82f', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: '9909f1ecf0015f9cba38b7eeba19e8beb1ef0ffc', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, hAsync("p-button", { key: 'aa42f08f6bdd06a185fa16a6606ba3a1c4b694d9', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), hAsync("div", { key: '4f5af2ea3497d03b5b43ce5caba7c194917dcdcc', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, hAsync("slot", { key: 'd1919e7679b45237b8db4b9f5d128e14f864029a', name: 'company' })), hAsync("div", { key: '1ed21fedd6f1a681604a55280de176bd7659645c', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: 'dc92c70f0de47a6b472c0f78cf60228b5936fa26', name: 'content' })), hAsync("div", { key: 'dc342612d9f23c9fa1ede1e0caa974319e980856', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, hAsync("slot", { key: '6cc26b1d2f8c8107ed140d97357813731f72174a', name: 'user' }))), hAsync("div", { key: '663de2f179c9ac06bc498d06897f325ac0e02bea', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: '06b683990e12f04950b1d6a9e944849fe64753d0', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), hAsync("slot", { key: '98f91872c91f5e34c9c12b9029475bf2a8b224ba', name: 'topbar' }))));
|
|
97710
97725
|
}
|
|
97711
97726
|
handleCloseNavbar() {
|
|
97712
97727
|
this._show = false;
|
|
@@ -97817,13 +97832,13 @@ class NavigationItem {
|
|
|
97817
97832
|
render() {
|
|
97818
97833
|
const TagType = this.as;
|
|
97819
97834
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
97820
|
-
return (hAsync(ThemedHost, { key: '
|
|
97835
|
+
return (hAsync(ThemedHost, { key: '60037e99c90aa900084ccd67a78a98b3db5625e6', class: cn('inline-block', this.class) }, hAsync(TagType, { key: '461cf0d042eb867040573c3133b5f51e87309838', class: navigationItem({
|
|
97821
97836
|
icon: !!this.icon,
|
|
97822
97837
|
active,
|
|
97823
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
97838
|
+
}), href: this.href, target: this.target }, hAsync("div", { key: '569400092cc3b9b6efe7097023c5f5ea0c748f4a', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: '9b8f03b0ebce991312cc62d648339d2552053dca', variant: this.icon })), hAsync("span", { key: '02aa90de89850780ab494c3d4e18843b0cbdcd6a', class: cn({
|
|
97824
97839
|
'has-counter': !!this.counter,
|
|
97825
97840
|
'w-full': this.applyFullWidth,
|
|
97826
|
-
}) }, hAsync("slot", { key: '
|
|
97841
|
+
}) }, hAsync("slot", { key: '60440cff2953b9066e540c70e8f62a52e94de31e' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: 'cba0286d29ae348de152b8e391bebe657d2e38be' }, this.counter)), !!this.loading && hAsync("p-loader", { key: '94f0ce93c19385f562c1af309fd094771ad1733a', class: 'ml-auto' }))));
|
|
97827
97842
|
}
|
|
97828
97843
|
static get style() { return navigationItemComponentCss(); }
|
|
97829
97844
|
static get cmpMeta() { return {
|
|
@@ -97857,7 +97872,7 @@ class NavigationSection {
|
|
|
97857
97872
|
*/
|
|
97858
97873
|
header;
|
|
97859
97874
|
render() {
|
|
97860
|
-
return (hAsync(ThemedHost, { key: '
|
|
97875
|
+
return (hAsync(ThemedHost, { key: 'b8d2e03813c32fa7b3e14261ef0aef67a1bd9ba9', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (hAsync("p-navigation-title", { key: 'a7440110aa669b2503ebfb06a84ec2b9b8dac749' }, this.header)), hAsync("div", { key: '85f7170c056774b1c63d495be8d76a655db17c29', class: 'flex flex-col' }, hAsync("slot", { key: '67d43e4c0737365815e7a26a0e400016239b98e8' }))));
|
|
97861
97876
|
}
|
|
97862
97877
|
static get style() { return navigationSectionComponentCss(); }
|
|
97863
97878
|
static get cmpMeta() { return {
|
|
@@ -97958,12 +97973,12 @@ class Pagination {
|
|
|
97958
97973
|
_hasPaginationPages = true;
|
|
97959
97974
|
render() {
|
|
97960
97975
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
97961
|
-
return (hAsync(ThemedHost, { key: '
|
|
97976
|
+
return (hAsync(ThemedHost, { key: 'ad344b2396e42451325894b7376ed3d690057d83' }, hAsync("div", { key: '671608ac708b712031af5c200c3ce07e8131cb03', class: pagination$1({
|
|
97962
97977
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
97963
97978
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
97964
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '
|
|
97979
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '9cdc73872c65ab22e8c9ef4158be2016181fc6ba' }, hAsync("p-pagination-size", { key: '5e574099fa2e4236d50d7593f19fcfb8c90ecc7f', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
97965
97980
|
this.hideOnSinglePage &&
|
|
97966
|
-
this._hasPaginationPages && (hAsync("p-divider", { key: '
|
|
97981
|
+
this._hasPaginationPages && (hAsync("p-divider", { key: '6b5d9cb7d4d8067b68b2c600eaa644cf6e14e6d5', 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: '9e3dba15164786562aa0d912a67f57f8b2cc7366', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
97967
97982
|
this._hasPaginationPages = detail > 1;
|
|
97968
97983
|
this.pagesChange.emit(detail);
|
|
97969
97984
|
} })))));
|
|
@@ -98561,7 +98576,7 @@ class Profile {
|
|
|
98561
98576
|
}
|
|
98562
98577
|
render() {
|
|
98563
98578
|
const content = this._getContent();
|
|
98564
|
-
return (hAsync(ThemedHost, { key: '
|
|
98579
|
+
return (hAsync(ThemedHost, { key: 'ac643a05aaf0376f608a9c1f590ae21594a17c18' }, 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)));
|
|
98565
98580
|
}
|
|
98566
98581
|
slotchange() {
|
|
98567
98582
|
this._checkDropdownSlot();
|
|
@@ -98795,13 +98810,13 @@ class Range {
|
|
|
98795
98810
|
valueChange;
|
|
98796
98811
|
render() {
|
|
98797
98812
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
98798
|
-
return (hAsync(ThemedHost, { key: '
|
|
98813
|
+
return (hAsync(ThemedHost, { key: '7ae1d611a44308f1112f9dea967961056219b2d6' }, hAsync("div", { key: '9bd92e5e01cb76148a2e3a8fe1a232f751820870', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: '3ba3b7e3d9b2f9a3a96dadffdb83771f7267c4c8', variant: 'minus' }), hAsync("div", { key: '510d47e53583cb2aebe6acca953a9cd920533f7e', class: 'relative h-6 flex-1' }, hAsync("input", { key: '4b25bff4c5807c58518921640ee389783db570e1', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
98799
98814
|
const value = ev.target.value;
|
|
98800
98815
|
this.value = Number.parseFloat(value);
|
|
98801
98816
|
this.valueChange.emit(value);
|
|
98802
|
-
} }), hAsync("div", { key: '
|
|
98817
|
+
} }), hAsync("div", { key: '1006c5ebbc20a7515d71351c07b19592c1b0005e', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
98803
98818
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
98804
|
-
} })), hAsync("p-icon", { key: '
|
|
98819
|
+
} })), hAsync("p-icon", { key: '80ae3d942bec909938eca84c2fb3379733e0e5c6', variant: 'plus' }))));
|
|
98805
98820
|
}
|
|
98806
98821
|
static get style() { return rangeComponentCss(); }
|
|
98807
98822
|
static get cmpMeta() { return {
|
|
@@ -99297,8 +99312,8 @@ class Select {
|
|
|
99297
99312
|
if (this.error?.length) {
|
|
99298
99313
|
buttonIcon = 'warning';
|
|
99299
99314
|
}
|
|
99300
|
-
return (hAsync(ThemedHost, { key: '
|
|
99301
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: '
|
|
99315
|
+
return (hAsync(ThemedHost, { key: '7e8d14438dbcd4e04e0c16212331ed5f84a81687' }, hAsync("p-field-container", { key: '85aefa5955e9dd35bafb5a5e4304e05b4cb90178', 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: '5abab1839f85953424513857034ef5318bf07ee5', 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: '6bfb1a5374aaebf543127370bdae01982c3a72f2', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
99316
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: 'aec19a4d60ad51080b8c2e2f9aa545e42c77dd0b', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
99302
99317
|
}
|
|
99303
99318
|
documentClickHandler(event) {
|
|
99304
99319
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -101089,7 +101104,7 @@ class TableCell {
|
|
|
101089
101104
|
};
|
|
101090
101105
|
}
|
|
101091
101106
|
render() {
|
|
101092
|
-
return (hAsync(ThemedHost, { key: '
|
|
101107
|
+
return (hAsync(ThemedHost, { key: 'f5f3de7bc6bf626302e12c004c9b2e80c60294db', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
101093
101108
|
}
|
|
101094
101109
|
_getContent() {
|
|
101095
101110
|
if (this.variant === 'loading') {
|
|
@@ -101400,12 +101415,12 @@ class TableFooter {
|
|
|
101400
101415
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
101401
101416
|
}
|
|
101402
101417
|
render() {
|
|
101403
|
-
return (hAsync(ThemedHost, { key: '
|
|
101418
|
+
return (hAsync(ThemedHost, { key: 'e46fcc04ec0a9822388fb7c3b5d5b269d1c81508' }, hAsync("div", { key: '70e36a4c60ba4747f7721bf88dc1af56a8745e92', class: footer({
|
|
101404
101419
|
pinned: this._isPinned,
|
|
101405
101420
|
hidden: this._hidden,
|
|
101406
101421
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
101407
101422
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
101408
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
101423
|
+
this.total > 0 && (hAsync("p-pagination", { key: '179eb5b828887f78cb6f4a15784cd9be9df47d4a', 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) })))));
|
|
101409
101424
|
}
|
|
101410
101425
|
_changePageSize(s) {
|
|
101411
101426
|
if (!s) {
|
|
@@ -111244,13 +111259,13 @@ class TableRow {
|
|
|
111244
111259
|
*/
|
|
111245
111260
|
isLast = false;
|
|
111246
111261
|
render() {
|
|
111247
|
-
return (hAsync(ThemedHost, { key: '
|
|
111262
|
+
return (hAsync(ThemedHost, { key: '4420644601f21ec8ff93447e9609cd83003832e7' }, hAsync("div", { key: 'b42cddc200375f6e7ef93cdf1953b1107fa1a25d', class: 'flex flex-col' }, hAsync("div", { key: 'd65dae6ac9c8dfe9ec664c14386415332d7604a9', class: row({
|
|
111248
111263
|
variant: this.variant,
|
|
111249
111264
|
enableHover: this.enableHover,
|
|
111250
111265
|
checked: this.checked,
|
|
111251
|
-
}) }, hAsync("div", { key: '
|
|
111266
|
+
}) }, hAsync("div", { key: '1c1eeb3b0b43f9eaaf923e75442f033cf12f8990', class: content$1({
|
|
111252
111267
|
variant: this.variant,
|
|
111253
|
-
}) }, hAsync("slot", { key: '
|
|
111268
|
+
}) }, hAsync("slot", { key: 'fe84b025ad57eaed3ef0ac3c6e019bfd38478494' }), hAsync("div", { key: '81cdc196d081f7a18d80b044b646e0c0fbc1f0d6', class: actions() }, hAsync("slot", { key: 'df1ffcd595ac77edfded8b3185db8ceadf4463c7', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (hAsync("p-divider", { key: '50c2979b52aa58470b3d870b55dc6a1e4d793243' })))));
|
|
111254
111269
|
}
|
|
111255
111270
|
static get style() { return tableRowComponentCss(); }
|
|
111256
111271
|
static get cmpMeta() { return {
|
|
@@ -111440,7 +111455,7 @@ class Toast {
|
|
|
111440
111455
|
*/
|
|
111441
111456
|
action;
|
|
111442
111457
|
render() {
|
|
111443
|
-
return (hAsync(ThemedHost, { key: '
|
|
111458
|
+
return (hAsync(ThemedHost, { key: '6394f16be6bb3274259ac89c4636aa4316c44412' }, hAsync("div", { key: 'd1e8251c4354dc4cef8b544bf4be4c060663fbc3', 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: '5e7f692403be82843b611e3137427850cd1d6fc5', class: indicator({ variant: this.variant }) }), hAsync("div", { key: '8de363d0c2a838d4d65f0af927a756d1eb33f378', class: content() }, hAsync("div", { key: '44348814b85e349dbee31098f57f669cbbf2a3d1', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: 'ca5f487607e23e676c9027c8064969d90e1dddde', 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: '7899f789e38ae32d31d0d043291de62a59b01d4d', 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: 'dcf72ae9760053615e1766c24b410e8163ff96b8', 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: 'e6abf4d667376c87776512b2ec0ad63f0e59f8d7', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
111444
111459
|
}
|
|
111445
111460
|
_onClick() {
|
|
111446
111461
|
if (this.enableAction) {
|