@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
|
@@ -28,7 +28,7 @@ export class Profile {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const content = this._getContent();
|
|
31
|
-
return (h(ThemedHost, { key: '
|
|
31
|
+
return (h(ThemedHost, { key: '4adb6d90f63f5c549b8aaec94d963e77fb6b9b0f' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
32
32
|
}
|
|
33
33
|
slotchange() {
|
|
34
34
|
this._checkDropdownSlot();
|
|
@@ -23,13 +23,13 @@ export class Range {
|
|
|
23
23
|
valueChange;
|
|
24
24
|
render() {
|
|
25
25
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
26
|
-
return (h(ThemedHost, { key: '
|
|
26
|
+
return (h(ThemedHost, { key: '6a0bccf338cc6bb209c87aa58186dfe42aced54a' }, h("div", { key: '42e19765bffd9b015754aacd27e803464402b4f0', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: 'd57c3240a47aaa0933f72f915e3cbb13899bc69b', variant: 'minus' }), h("div", { key: 'b2663674e423315adbdb99b5379d48cbc66fdc75', class: 'relative h-6 flex-1' }, h("input", { key: '5c2fdd589f7a7ee1f868aa95b0e4fbf87c27fe36', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
27
27
|
const value = ev.target.value;
|
|
28
28
|
this.value = Number.parseFloat(value);
|
|
29
29
|
this.valueChange.emit(value);
|
|
30
|
-
} }), h("div", { key: '
|
|
30
|
+
} }), h("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: {
|
|
31
31
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
32
|
-
} })), h("p-icon", { key: '
|
|
32
|
+
} })), h("p-icon", { key: '626fd2506a2ebfcb8876fb31546c6a4ba046730a', variant: 'plus' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "p-range"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,15 +23,15 @@ export class SubmenuItem {
|
|
|
23
23
|
this.activeChange.emit(this.active);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(ThemedHost, { key: '
|
|
26
|
+
return (h(ThemedHost, { key: 'deca033001e2a36c27da033ac58630b76a25690b' }, h("div", { key: '11892f6ceb01b5eed844e7f3a7498b80b57da3e8', class: cn([
|
|
27
27
|
'flex items-center',
|
|
28
28
|
'h-8 w-full pl-[calc(3rem+2px)]',
|
|
29
29
|
'cursor-pointer',
|
|
30
30
|
'group/submenu-item',
|
|
31
|
-
]) }, h("div", { key: '
|
|
31
|
+
]) }, h("div", { key: '2574c39efb7cf07a7ba0633d4554cd7b0070f24b', class: cn('flex items-center gap-2 transition-colors', {
|
|
32
32
|
'text-storm-400 dark:text-hurricane-100': !this.active,
|
|
33
33
|
'text-indigo-600': this.active,
|
|
34
|
-
}) }, h("p-icon", { key: '
|
|
34
|
+
}) }, h("p-icon", { key: 'd358bd33a9266bdbfa81ddc8e8190156a0243491', variant: this.icon }), h("slot", { key: '392459313708ade2f205c5a202e44c9230af1818' })))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "p-submenu-item"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,34 +145,34 @@ export class Submenu {
|
|
|
145
145
|
const maxHeight = submenuItems.length *
|
|
146
146
|
Number.parseInt(firstItem.height.replace('px', '')) +
|
|
147
147
|
16; // the margin of the content
|
|
148
|
-
return (h(ThemedHost, { key: '
|
|
148
|
+
return (h(ThemedHost, { key: '5f589bd0b6b470f9dca4151e80a2b55845e38295' }, h("div", { key: '08a771d863a14340353fac1610d8adb1b56746a4', class: 'flex w-full flex-col' }, h("div", { key: '2fae2053f91a46c7cf619bc23f08f043c776b921', class: cn(header({
|
|
149
149
|
active: this.active,
|
|
150
150
|
open: this.open,
|
|
151
|
-
})), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: '
|
|
151
|
+
})), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: 'd82174bc89d220acb0341e887a60ba93310786f8', class: indexContainer({
|
|
152
152
|
active: this.active,
|
|
153
153
|
open: this.open,
|
|
154
|
-
}) }, this.index)), h("div", { key: '
|
|
154
|
+
}) }, this.index)), h("div", { key: 'e981bf8934863244d6bb2b5347bbbd5eba78acac', class: 'flex flex-1 flex-col' }, h("p", { key: '7b01134ba1aa8a00638eb98202beab68c1f1742d', class: cn('m-0 text-sm', {
|
|
155
155
|
'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
|
|
156
156
|
'text-storm-500 dark:text-white': this.active,
|
|
157
|
-
}) }, this.title), h("p", { key: '
|
|
157
|
+
}) }, this.title), h("p", { key: '87e41bc49b6be4644fb5076e2aef25c8b69d4e3b', class: cn('m-0 text-xs', {
|
|
158
158
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
159
159
|
'text-storm-300 dark:text-indigo-200': this.active,
|
|
160
|
-
}) }, this.subtitle)), h("p-icon", { key: '
|
|
160
|
+
}) }, this.subtitle)), h("p-icon", { key: '54125f28ee9ae3cb48084669d398bf0a856708c5', class: cn({
|
|
161
161
|
'text-storm-500 dark:text-white': this.active,
|
|
162
162
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
163
|
-
}), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: '
|
|
163
|
+
}), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: 'b731892b74a89f34a59feccf609c747eee97e997', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
|
|
164
164
|
maxHeight: `${this.open ? maxHeight : 0}px`,
|
|
165
|
-
} }, h("div", { key: '
|
|
165
|
+
} }, h("div", { key: 'd5d598b856131ea016720c5ed67b4edf71b29d4d', class: cn('absolute left-6 top-0 z-0 w-px', {
|
|
166
166
|
'bg-off-white-400 dark:bg-storm-500/30': !this.active,
|
|
167
167
|
'bg-indigo-100 dark:bg-hurricane-400': this.active,
|
|
168
168
|
}), style: {
|
|
169
169
|
height: `${maxHeight}px`,
|
|
170
|
-
} }), h("div", { key: '
|
|
170
|
+
} }), h("div", { key: 'bdc5d5e2b9a5e07b34e8c762498dd37af8ebae00', class: cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
|
|
171
171
|
'bg-indigo-600': this._showItemIndicator,
|
|
172
172
|
'bg-transparent': !this._showItemIndicator,
|
|
173
173
|
}), style: {
|
|
174
174
|
transform: `translateY(${this._activeItemPosition}px)`,
|
|
175
|
-
} }), h("div", { key: '
|
|
175
|
+
} }), h("div", { key: 'b1596c7a69c429784e956523548aa6f378b7233a', class: 'z-10 my-2 flex flex-col' }, h("slot", { key: '380ac39b8c6d0407d6aa82ce6773b0184e4f239c', onSlotchange: () => this._slotChanged() }))))));
|
|
176
176
|
}
|
|
177
177
|
onWindowResize() {
|
|
178
178
|
this._calculateHeaderOffset();
|
|
@@ -87,7 +87,7 @@ export class TableCell {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(ThemedHost, { key: '
|
|
90
|
+
return (h(ThemedHost, { key: '4676f425a0c14a84eefd17167108adc118215547', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: 'ef04ad97569b56dd65865f306b28a90c79c7b89a' }, h("div", { key: '841dc6d2a3985b960e4dfb1651409e972095c7f4', class: 'pl-8' }), h("div", { key: '5f5b370f0ef8e7f21fa8b9e915a9390b7c92b4e2', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: 'a358b2b250a2739837f380239be0dee13428e33d', class: 'justify-start justify-end justify-center' }), h("div", { key: '2d520ba443c175bf3e9042e771d8b9a7d129335f', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: 'f242a6905b33af06500a2bc12d7f22fc8b2374e7', class: '\n w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12\n w-9/12 w-full\n ' }), h("div", { key: 'a9fbf15208c7c5808ce694282df62321151edc46', class: '\n tablet:w-1/12 tablet:w-10/12 tablet:w-11/12 tablet:w-2/12 tablet:w-3/12\n tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12\n tablet:w-9/12 tablet:w-full\n ' }), h("div", { key: 'ab67294ec04eafc5fce1e8c27436bee96256a752', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '693de71cc05b7857ff510f37769801de19fff7ed', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '15c394d545d7ca1a0f6cc1d174e4bf2c878f96d7', class: '\n desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/12\n desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12\n desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12\n desktop-sm:w-full\n ' }), h("div", { key: '7ddc8a3874d0009a6e16575d3c24c699eb02ffce', class: '\n desktop:w-1/12 desktop:w-10/12 desktop:w-11/12 desktop:w-2/12\n desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12\n desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-full\n ' }), h("div", { key: '779b5627f6636191abcaff5e0bcf9dc2119a4bef', class: '\n desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/12\n desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12\n desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12\n desktop-lg:w-full\n ' }), h("div", { key: 'd33f296a7c8a8ea1d38261f1b37eabb7ec290efb', class: '\n desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/12\n desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12\n desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12\n desktop-xl:w-full\n ' }), h("div", { key: 'f8648b23a972a4145404d63a2ff7601275b73dd7', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: 'b0ac2a423db0acbb6917bac308e97f6ee9888f57', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: '2926874d9416fd7c99a4bedb89300b0073e4b497', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: 'ec389b47e10a59cf6e238b1cf3faf38bcad47c0b', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: 'c1dcb767e3b36af695100dad5e25e269c9fa921b', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: 'd2d2cb1713399d5685473bc5e8c0e5b8ab4d880a', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: 'a7dbeca1e7efa0e4498fd88e04b282cf1c0208dd', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: 'c21608d0db9a621ec011bf93051165a40ae4e190', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: 'b8c6fcae21b160094f2376fd1217450e4834e158', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: '7efaf4f7066b8499e3cd98d2a93b925edc9dde6d', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: 'be237edc440eb91522cfb60b698e9d131bd94a69', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: '0e3d0502058124c94df4bf0f1e2f2464bf536584', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: '7a04297ec088f22567188b27aabf1cdab825b070', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: '246bd20bb45fa1898f94c153ca6be9c1b53cdbae', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
|
|
91
91
|
}
|
|
92
92
|
_getContent() {
|
|
93
93
|
if (this.variant === 'loading') {
|
|
@@ -107,12 +107,12 @@ export class TableFooter {
|
|
|
107
107
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '49d706b3e6d9485db9370a6a7d190050a35d5ff7' }, h("div", { key: 'c86f93340cfc581d1b528a17f244d4c39467da01', class: footer({
|
|
111
111
|
pinned: this._isPinned,
|
|
112
112
|
hidden: this._hidden,
|
|
113
113
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
114
114
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
115
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
115
|
+
this.total > 0 && (h("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) })))));
|
|
116
116
|
}
|
|
117
117
|
_changePageSize(s) {
|
|
118
118
|
if (!s) {
|
|
@@ -107,13 +107,13 @@ export class TableRow {
|
|
|
107
107
|
*/
|
|
108
108
|
isLast = false;
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: 'b6e06d348ba9f989d14a7d0a55a9c8f59df5bb0f' }, h("div", { key: 'b73ed4648704bd70706b2068e74e287cf8b7ef58', class: 'flex flex-col' }, h("div", { key: 'a2b4bfe9b646b127b65e948abac8962ec7fc9961', class: row({
|
|
111
111
|
variant: this.variant,
|
|
112
112
|
enableHover: this.enableHover,
|
|
113
113
|
checked: this.checked,
|
|
114
|
-
}) }, h("div", { key: '
|
|
114
|
+
}) }, h("div", { key: 'a841f4ed0c0c73f9634ec5acab22438f4241d3a3', class: content({
|
|
115
115
|
variant: this.variant,
|
|
116
|
-
}) }, h("slot", { key: '
|
|
116
|
+
}) }, h("slot", { key: '8895fc68dbd55b386f01dd07d8874ab711b53ab4' }), h("div", { key: '522b44aeebbce59641c5f2015a0971536d3e3282', class: actions() }, h("slot", { key: 'f56ebaf0808a2e1c2c79e1928e9acea59d682b14', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'a3fa2f78c7a6ba2cd0304ee92d50c596d4e49865' })))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "p-table-row"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class Toast {
|
|
|
61
61
|
*/
|
|
62
62
|
action;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: 'ba65d071611d7f2b6f1cf71e8efd5a9184e7215c' }, h("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() }, h("div", { key: 'e3f36546f14afea29962df2ea41c81c7d5c23f73', class: indicator({ variant: this.variant }) }), h("div", { key: '1d8a543e3c02d738c4f5e24b5c5c62e6f8e07908', class: content() }, h("div", { key: 'e016bc54906d5f21f6ce56b57923fde268df259d', class: 'flex w-full min-w-0 flex-col' }, h("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 : h("slot", { name: 'header' })), h("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 : h("slot", { name: 'content' }))), this.enableAction && (h("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 ' }, h("p-icon", { key: '083edb0be1c602af12e5b5fd7f3d0b4816e7492f', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
65
65
|
}
|
|
66
66
|
_onClick() {
|
|
67
67
|
if (this.enableAction) {
|
|
@@ -18,10 +18,10 @@ export class Listing {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'd6aa8a7f79cd08cefb15203c10a9b65e50054285', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
22
22
|
'opacity-100': this._generatedOnce,
|
|
23
23
|
'opacity-0': !this._generatedOnce,
|
|
24
|
-
}) }, h("slot", { key: '
|
|
24
|
+
}) }, h("slot", { key: '757292c71e9a18099644e0a075207e8bd39533eb', onSlotchange: () => this._generateLinesOnce() })));
|
|
25
25
|
}
|
|
26
26
|
_generateLinesOnce() {
|
|
27
27
|
if (this._generateTimeout) {
|
|
@@ -61,7 +61,7 @@ const backdrop = cva([
|
|
|
61
61
|
export class Navbar {
|
|
62
62
|
_show = false;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: 'aecac0fced5f8a0181bdebf4ae9fcc6b2c4c3a8d' }, h("p-backdrop", { key: 'fc6b57094cc6b08e73cbe8cb37e57ecbb42eccb4', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '8833febf310292dc2be5761c1192cf11e044adbb', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'dc6934db93742d5718b49a1a47d2b6086c1ae755', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: '88e19f62f513207d1929b3897eee81fa8985bfc1', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '9e137624b046ae9cee5253437d0cfe20e223fbd1', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '529b9d7dbe0b36aaee1ed449385fabb1398e627d', name: 'company' })), h("div", { key: '40dcd693e18fe84afdabb0a7ed185913327cb8bd', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '35cc080c950de449c50d8f397948550651a66f58', name: 'content' })), h("div", { key: '65e109f634367d9c4ea83828102d5843d9b2bc36', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '18c3d0530e96c8f5dacb7f6bc36bd15a5f7d9517', name: 'user' }))), h("div", { key: 'bf8dcce7d30c4e186313c53042b0106ddc46ece7', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'e4b3a01a85773b75d9a89e863d8a1797eac2cec9', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: '7c3a6a3ea527a69de918f0d1ce8fcf192297d284', name: 'topbar' }))));
|
|
65
65
|
}
|
|
66
66
|
handleCloseNavbar() {
|
|
67
67
|
this._show = false;
|