@paperless/core 3.26.3 → 3.27.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-014ef0e1.entry.js +1 -0
- package/dist/build/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
- package/dist/build/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
- package/dist/{paperless/p-4cd8035a.entry.js → build/p-055b6209.entry.js} +1 -1
- package/dist/{paperless/p-6ed7ef6a.entry.js → build/p-1a26edba.entry.js} +1 -1
- package/dist/{paperless/p-34ec6b9b.entry.js → build/p-1a424b04.entry.js} +1 -1
- package/dist/build/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
- package/dist/{paperless/p-e922cb1f.entry.js → build/p-2361ad53.entry.js} +1 -1
- package/dist/build/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
- package/dist/build/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
- package/dist/{paperless/p-9079dcb7.entry.js → build/p-31cf13c6.entry.js} +1 -1
- package/dist/build/p-3eb1d7d5.entry.js +1 -0
- package/dist/build/{p-1f450945.js → p-435a082d.js} +1 -1
- package/dist/build/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
- package/dist/build/p-4b6fd839.entry.js +1 -0
- package/dist/build/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
- package/dist/{paperless/p-2ebc600b.entry.js → build/p-555cb497.entry.js} +1 -1
- package/dist/build/p-571575d2.entry.js +1 -0
- package/dist/build/p-62feca51.entry.js +1 -0
- package/dist/build/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
- package/dist/build/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
- package/dist/{paperless/p-45b9a446.entry.js → build/p-6ac8c0c1.entry.js} +1 -1
- package/dist/{paperless/p-b8caedf6.entry.js → build/p-7c8ec514.entry.js} +1 -1
- package/dist/build/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
- package/dist/{paperless/p-1b50f01d.entry.js → build/p-8c141cb8.entry.js} +1 -1
- package/dist/{paperless/p-b316ecff.entry.js → build/p-92910dad.entry.js} +1 -1
- package/dist/build/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
- package/dist/build/p-BM1GAQNk.js +1 -0
- package/dist/build/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
- package/dist/build/p-a395e9e0.entry.js +1 -0
- package/dist/build/{p-4851ac96.entry.js → p-b190b534.entry.js} +1 -1
- package/dist/build/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
- package/dist/{paperless/p-477801df.entry.js → build/p-bdab91d9.entry.js} +1 -1
- package/dist/build/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
- package/dist/{paperless/p-f18a511c.entry.js → build/p-d21a8908.entry.js} +1 -1
- package/dist/build/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
- package/dist/build/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
- package/dist/build/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
- package/dist/build/p-ea2deb46.entry.js +1 -0
- package/dist/build/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
- package/dist/build/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
- package/dist/build/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
- package/dist/build/p-fa06ff98.entry.js +1 -0
- package/dist/{paperless/p-1a373297.entry.js → build/p-fa13f317.entry.js} +1 -1
- package/dist/{paperless/p-501f2f7c.entry.js → build/p-fadcfc9f.entry.js} +1 -1
- package/dist/{paperless/p-272721bf.entry.js → build/p-fccb23e5.entry.js} +1 -1
- package/dist/build/{p-3b34c822.entry.js → p-fccf3bf9.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/create-in-memory-file-DbvbYIM5.js +11 -0
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +15 -10
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +12 -10
- 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-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +15 -7
- package/dist/cjs/p-dropzone.cjs.entry.js +11 -6
- package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
- package/dist/cjs/p-field_3.cjs.entry.js +5 -5
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- 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-navigation-title.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-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +50 -8
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +2 -2
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +14 -6
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- 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 +15 -11
- 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 +5 -3
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +11 -7
- 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/select/select.component.js +72 -10
- package/dist/collection/components/molecules/select/select.stories.js +121 -18
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/organisms/table/table.component.js +2 -2
- package/dist/collection/utils/create-in-memory-file.js +7 -0
- package/dist/components/{p-eGnIeQsr.js → p-1gDAZ8pd.js} +1 -1
- package/dist/components/{p-Co4UMOn6.js → p-2wIrtCNR.js} +1 -1
- package/dist/components/{p-CjxC_h_X.js → p-4-PxF11o.js} +1 -1
- package/dist/components/{p-DIuIGoBt.js → p-9XjFw7wO.js} +1 -1
- package/dist/components/p-B-GINaYf.js +1 -0
- package/dist/components/{p-ZSDx-Rn0.js → p-B0KMsqdv.js} +1 -1
- package/dist/components/{p-FK08Vr2S.js → p-B2Wcsz4j.js} +1 -1
- package/dist/components/{p-yYRVYWXO.js → p-B47sjbpK.js} +1 -1
- package/dist/components/{p--_gjJpd8.js → p-B9klDtR-.js} +1 -1
- package/dist/components/p-BG1plx2A.js +1 -0
- package/dist/components/{p-BFTj4F6O.js → p-BJyXdiHc.js} +1 -1
- package/dist/components/p-BM1GAQNk.js +1 -0
- package/dist/components/{p-Cm3IhOw8.js → p-BobrXbRh.js} +1 -1
- package/dist/components/{p-DS7XBqIp.js → p-BskFLFSo.js} +1 -1
- package/dist/components/{p-CAt4316p.js → p-BvfezQkY.js} +1 -1
- package/dist/components/{p-BswRuxmk.js → p-ByJPQrlL.js} +1 -1
- package/dist/components/{p-CJ7I5BCS.js → p-CPSiExRl.js} +1 -1
- package/dist/components/{p-CUQydYt5.js → p-CQnWpHIs.js} +1 -1
- package/dist/components/{p-CN4ZWAkb.js → p-CSnOLBSV.js} +1 -1
- package/dist/components/{p-TtrclAAz.js → p-CZ8afGMO.js} +1 -1
- package/dist/components/{p-BksolHpY.js → p-C_ImoJA8.js} +1 -1
- package/dist/components/{p-CTC-N56p.js → p-Cgqav9mX.js} +1 -1
- package/dist/components/{p-VqccwN4a.js → p-ClZHa_Zf.js} +1 -1
- package/dist/components/{p-1jNdZTKN.js → p-Cmltn24W.js} +1 -1
- package/dist/components/{p-BPCXcEQD.js → p-CmoU4H6Q.js} +1 -1
- package/dist/components/{p-B6PqwbBc.js → p-CpRKUhuF.js} +1 -1
- package/dist/components/{p-D0uXSAIf.js → p-CxrxqKhq.js} +1 -1
- package/dist/components/{p-kdBBVGjg.js → p-D5BA_qF7.js} +1 -1
- package/dist/components/{p-DGoOsLEr.js → p-DHJIvL0U.js} +1 -1
- package/dist/components/{p-D5OXFgvY.js → p-DHKJDm0J.js} +1 -1
- package/dist/components/{p-DixhvrFt.js → p-DaPWhcRy.js} +1 -1
- package/dist/components/{p-B-yfQWzc.js → p-DxuTDs4a.js} +1 -1
- package/dist/components/{p-DfVHhJmL.js → p-HVaovLkY.js} +1 -1
- package/dist/components/{p-BBlYsP5p.js → p-L0a3qALZ.js} +1 -1
- package/dist/components/{p-1qs8jjR4.js → p-V1uzM_gT.js} +1 -1
- package/dist/components/{p-B8iFUPO5.js → p-aAebGiQ0.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/{p-B3Q_nqZE.js → p-bZ3k4UvK.js} +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/{p-DZjtEarb.js → p-c4v-m6AC.js} +1 -1
- package/dist/components/{p-COscyt8q.js → p-c6u4OYf0.js} +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.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-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-dropzone.js +1 -1
- package/dist/components/{p-BJFfno38.js → p-eLIgN9FF.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-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/{p-BmhVEljv.js → p-gEaqH36V.js} +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.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-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.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-q5vnW4We.js +1 -0
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.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-container.js +1 -1
- package/dist/components/p-tab-item.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/components/{p-CMfdl_TW.js → p-vcV0dLlI.js} +1 -1
- package/dist/components/{p-CQo1Di0o.js → p-yaD47mvt.js} +1 -1
- package/dist/components/{p-Dn13oSNs.js → p-zBwPEKhI.js} +1 -1
- package/dist/esm/create-in-memory-file-BM1GAQNk.js +9 -0
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +15 -10
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox_3.entry.js +12 -10
- 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-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-dropdown-menu-item_2.entry.js +15 -7
- package/dist/esm/p-dropzone.entry.js +11 -6
- package/dist/esm/p-empty-state_8.entry.js +10 -10
- package/dist/esm/p-field_3.entry.js +5 -5
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-listing-line.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.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-radio.entry.js +3 -3
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +50 -8
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +2 -2
- package/dist/esm/p-toast-container.entry.js +2 -2
- 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-014ef0e1.entry.js +1 -0
- package/dist/paperless/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
- package/dist/paperless/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
- package/dist/{build/p-4cd8035a.entry.js → paperless/p-055b6209.entry.js} +1 -1
- package/dist/{build/p-6ed7ef6a.entry.js → paperless/p-1a26edba.entry.js} +1 -1
- package/dist/{build/p-34ec6b9b.entry.js → paperless/p-1a424b04.entry.js} +1 -1
- package/dist/paperless/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
- package/dist/{build/p-e922cb1f.entry.js → paperless/p-2361ad53.entry.js} +1 -1
- package/dist/paperless/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
- package/dist/paperless/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
- package/dist/{build/p-9079dcb7.entry.js → paperless/p-31cf13c6.entry.js} +1 -1
- package/dist/paperless/p-3eb1d7d5.entry.js +1 -0
- package/dist/paperless/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
- package/dist/paperless/p-4b6fd839.entry.js +1 -0
- package/dist/paperless/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
- package/dist/{build/p-2ebc600b.entry.js → paperless/p-555cb497.entry.js} +1 -1
- package/dist/paperless/p-571575d2.entry.js +1 -0
- package/dist/paperless/p-62feca51.entry.js +1 -0
- package/dist/paperless/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
- package/dist/paperless/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
- package/dist/{build/p-45b9a446.entry.js → paperless/p-6ac8c0c1.entry.js} +1 -1
- package/dist/{build/p-b8caedf6.entry.js → paperless/p-7c8ec514.entry.js} +1 -1
- package/dist/paperless/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
- package/dist/{build/p-1b50f01d.entry.js → paperless/p-8c141cb8.entry.js} +1 -1
- package/dist/{build/p-b316ecff.entry.js → paperless/p-92910dad.entry.js} +1 -1
- package/dist/paperless/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
- package/dist/paperless/p-BM1GAQNk.js +1 -0
- package/dist/paperless/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
- package/dist/paperless/p-a395e9e0.entry.js +1 -0
- package/dist/paperless/{p-4851ac96.entry.js → p-b190b534.entry.js} +1 -1
- package/dist/paperless/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
- package/dist/{build/p-477801df.entry.js → paperless/p-bdab91d9.entry.js} +1 -1
- package/dist/paperless/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
- package/dist/{build/p-f18a511c.entry.js → paperless/p-d21a8908.entry.js} +1 -1
- package/dist/paperless/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
- package/dist/paperless/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
- package/dist/paperless/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
- package/dist/paperless/p-ea2deb46.entry.js +1 -0
- package/dist/paperless/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
- package/dist/paperless/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
- package/dist/paperless/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
- package/dist/paperless/p-fa06ff98.entry.js +1 -0
- package/dist/{build/p-1a373297.entry.js → paperless/p-fa13f317.entry.js} +1 -1
- package/dist/{build/p-501f2f7c.entry.js → paperless/p-fadcfc9f.entry.js} +1 -1
- package/dist/{build/p-272721bf.entry.js → paperless/p-fccb23e5.entry.js} +1 -1
- package/dist/paperless/{p-3b34c822.entry.js → p-fccf3bf9.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/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
- package/dist/types/components/molecules/select/select.component.d.ts +14 -2
- package/dist/types/components/molecules/select/select.stories.d.ts +45 -3
- package/dist/types/components.d.ts +27 -4
- package/dist/types/utils/create-in-memory-file.d.ts +1 -0
- package/hydrate/index.js +200 -133
- package/hydrate/index.mjs +200 -133
- package/package.json +1 -1
- package/dist/build/p-4b7ac676.entry.js +0 -1
- package/dist/build/p-56ceed87.entry.js +0 -1
- package/dist/build/p-5d58a880.entry.js +0 -1
- package/dist/build/p-70071176.entry.js +0 -1
- package/dist/build/p-8ae7f9fd.entry.js +0 -1
- package/dist/build/p-92259edb.entry.js +0 -1
- package/dist/build/p-9ac5f80b.entry.js +0 -1
- package/dist/build/p-ce15940f.entry.js +0 -1
- package/dist/components/p-4-EYCe-6.js +0 -1
- package/dist/components/p-CUMk7xBX.js +0 -1
- package/dist/components/p-bTOCGgU2.js +0 -1
- package/dist/paperless/p-4b7ac676.entry.js +0 -1
- package/dist/paperless/p-56ceed87.entry.js +0 -1
- package/dist/paperless/p-5d58a880.entry.js +0 -1
- package/dist/paperless/p-70071176.entry.js +0 -1
- package/dist/paperless/p-8ae7f9fd.entry.js +0 -1
- package/dist/paperless/p-92259edb.entry.js +0 -1
- package/dist/paperless/p-9ac5f80b.entry.js +0 -1
- package/dist/paperless/p-ce15940f.entry.js +0 -1
package/hydrate/index.mjs
CHANGED
|
@@ -8795,6 +8795,7 @@ const isApple = () => {
|
|
|
8795
8795
|
const os = getOS();
|
|
8796
8796
|
return os === 'MacOS' || os === 'iOS';
|
|
8797
8797
|
};
|
|
8798
|
+
const isIOS = () => getOS() === 'iOS';
|
|
8798
8799
|
|
|
8799
8800
|
var bundleCjs = {};
|
|
8800
8801
|
|
|
@@ -11676,10 +11677,10 @@ class Accordion {
|
|
|
11676
11677
|
*/
|
|
11677
11678
|
isOpen;
|
|
11678
11679
|
render() {
|
|
11679
|
-
return (hAsync(ThemedHost, { key: '
|
|
11680
|
+
return (hAsync(ThemedHost, { key: '68a174977035d22269d28b2d1caf309ab077ddd6' }, hAsync("div", { key: 'ef7bcb1ef954bbf90f16451aa5900f3d84ff5121', class: 'flex w-full flex-col' }, hAsync("div", { key: '0e321f54e77314af68640b72b4354515db740f7f', class: cn('flex cursor-pointer items-center gap-2', {
|
|
11680
11681
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
11681
11682
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
11682
|
-
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '
|
|
11683
|
+
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '64782dd60796f58f65962f4aaf4ef3a1ed7710b3', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), hAsync("p", { key: '09198312d2ba532cb477a816acf631a7ba4e7135', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), this.label && (hAsync("p-label", { key: '7d31592117d52258df3415457398bef74f9c28d2', icon: this.labelIcon, variant: this.labelVariant }, this.label)), hAsync("p-divider", { key: '3ec587da53978db221af8a0702a13c847b2ed32d', class: 'flex-1' })), this.open && (hAsync("div", { key: '5173a77b9fcc1e30bb21db9a0816b8e36ff54b4c', class: 'mt-4' }, hAsync("slot", { key: '069eb677397bf3276fd258b8bf3741baba6d963c' }))))));
|
|
11683
11684
|
}
|
|
11684
11685
|
_onClick() {
|
|
11685
11686
|
if (!this.closeable && this.open) {
|
|
@@ -11711,6 +11712,14 @@ class Accordion {
|
|
|
11711
11712
|
}; }
|
|
11712
11713
|
}
|
|
11713
11714
|
|
|
11715
|
+
const createInMemoryFile = async (file) => {
|
|
11716
|
+
const buffer = await file.arrayBuffer();
|
|
11717
|
+
return new File([buffer], file.name, {
|
|
11718
|
+
type: file.type,
|
|
11719
|
+
lastModified: file.lastModified,
|
|
11720
|
+
});
|
|
11721
|
+
};
|
|
11722
|
+
|
|
11714
11723
|
const attachmentComponentCss = () => `.block{display:block}*{box-sizing:border-box}:host{display:block;width:100%}.static{position:static}.flex{display:flex}.hidden{display:none}.h-8{height:2rem}.w-8{width:2rem}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.peer:empty~.peer-empty\\:block{display:block}@media (min-width:64rem){.desktop-xs\\:hidden{display:none}}.dark\\:border-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(255 92 92/var(--tw-border-opacity,1))}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.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\\:border-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(255 92 92/var(--tw-border-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.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))}`;
|
|
11715
11724
|
|
|
11716
11725
|
const attachment = cva([
|
|
@@ -11819,27 +11828,27 @@ class Attachment {
|
|
|
11819
11828
|
_fileRef;
|
|
11820
11829
|
_cameraFileRef;
|
|
11821
11830
|
render() {
|
|
11822
|
-
let prefix = (hAsync("p-icon", { key: '
|
|
11831
|
+
let prefix = (hAsync("p-icon", { key: 'cd6a433db61830fb8b1324fe9151d36102636e5b', class: 'text-storm-300', variant: 'attachment' }));
|
|
11823
11832
|
if (this.error) {
|
|
11824
|
-
prefix = (hAsync("p-icon", { key: '
|
|
11833
|
+
prefix = (hAsync("p-icon", { key: 'bc0f27845c3176f25754f950d3501fdf28178b76', class: 'text-negative-red-500', variant: 'warning' }));
|
|
11825
11834
|
}
|
|
11826
11835
|
const isTouch = isTouchDevice();
|
|
11827
11836
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
11828
|
-
return (hAsync(Fragment, { key: '
|
|
11837
|
+
return (hAsync(Fragment, { key: '554abdc693a25cf912ce7261b9a739891d143107' }, hAsync("p-field-container", { key: '89b306b2ec48c11fff48dfd82d2153f0e298a5bb', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, hAsync("div", { key: 'c0231b68bd98953d39beeb7c26bfce338c795c67', class: 'flex w-full items-start gap-2', slot: 'content' }, hAsync("div", { key: 'eb567702a32d1d46f073b160e3c3fed97ea41ed7', class: attachment({
|
|
11829
11838
|
click: this.mode === 'write' && !this.value?.length,
|
|
11830
11839
|
error: !!this.error?.length,
|
|
11831
|
-
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '
|
|
11840
|
+
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '55c10bb5ec484ae50408cb4373c38dba40e5af4b', class: cn(baseText, `
|
|
11832
11841
|
peer
|
|
11833
11842
|
empty:hidden
|
|
11834
11843
|
dark:text-white
|
|
11835
|
-
`) }, this.value), hAsync("span", { key: '
|
|
11844
|
+
`) }, this.value), hAsync("span", { key: '5c1eb37681de140ecc44643e40cb93ff7d2930d4', class: cn(baseText, `
|
|
11836
11845
|
hidden
|
|
11837
11846
|
peer-empty:block
|
|
11838
|
-
`) }, this.placeholder)), hAsync("p-tooltip", { key: '
|
|
11847
|
+
`) }, this.placeholder)), hAsync("p-tooltip", { key: '4f6b2e535ed396ee7b1e21d1bdd90ac42edd9d49', class: 'w-8', content: this.mode === 'read'
|
|
11839
11848
|
? this.downloadTooltip
|
|
11840
11849
|
: this.value?.length
|
|
11841
11850
|
? this.deleteTooltip
|
|
11842
|
-
: this.uploadTooltip }, hAsync("p-button", { key: '
|
|
11851
|
+
: this.uploadTooltip }, hAsync("p-button", { key: 'c8be386ae44df14c4f487d4b1cecfa375e583608', disabled: this.loading, icon: this.mode === 'read'
|
|
11843
11852
|
? 'download'
|
|
11844
11853
|
: this.value?.length
|
|
11845
11854
|
? 'trash'
|
|
@@ -11850,7 +11859,7 @@ class Attachment {
|
|
|
11850
11859
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11851
11860
|
this.mode === 'write' &&
|
|
11852
11861
|
isTouch &&
|
|
11853
|
-
!this.value?.length && (hAsync("p-tooltip", { key: '
|
|
11862
|
+
!this.value?.length && (hAsync("p-tooltip", { key: 'df23e909f2f9c69248987320c72a4cf37aca8a8b', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: '9bfbe49f07ac4c6c0c7f12141807d74aca83068c', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: 'd6c0c415bd02dd767f1658744171e6205eb9f923', 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: 'c298b83884e0c51f36f38b636435927d739a224b', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11854
11863
|
}
|
|
11855
11864
|
_uploadClick() {
|
|
11856
11865
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -11867,7 +11876,7 @@ class Attachment {
|
|
|
11867
11876
|
}
|
|
11868
11877
|
this._cameraFileRef?.click();
|
|
11869
11878
|
}
|
|
11870
|
-
_onFileChange(ev) {
|
|
11879
|
+
async _onFileChange(ev) {
|
|
11871
11880
|
const target = ev.target;
|
|
11872
11881
|
const file = target.files?.[0];
|
|
11873
11882
|
if (file) {
|
|
@@ -11877,7 +11886,10 @@ class Attachment {
|
|
|
11877
11886
|
reader.readAsDataURL(file);
|
|
11878
11887
|
}
|
|
11879
11888
|
}
|
|
11880
|
-
_onLoad(file, result) {
|
|
11889
|
+
async _onLoad(file, result) {
|
|
11890
|
+
if (isIOS()) {
|
|
11891
|
+
file = await createInMemoryFile(file);
|
|
11892
|
+
}
|
|
11881
11893
|
this.upload.emit({
|
|
11882
11894
|
fileId: this.fileId,
|
|
11883
11895
|
result,
|
|
@@ -11980,7 +11992,7 @@ class Avatar {
|
|
|
11980
11992
|
}
|
|
11981
11993
|
}
|
|
11982
11994
|
render() {
|
|
11983
|
-
return (hAsync(Host, { key: '
|
|
11995
|
+
return (hAsync(Host, { key: '567e72bea2b625cb045aac12e2860be671390d9a', class: avatar({
|
|
11984
11996
|
size: this.size,
|
|
11985
11997
|
variant: this.variant,
|
|
11986
11998
|
}) }, this._failed ? (hAsync("span", null, this.letters?.[0] ?? ' ')) : (hAsync("img", { class: 'z-0 aspect-branding h-full rounded-full object-cover', src: this._src, onError: () => this._setFailed() }))));
|
|
@@ -12024,7 +12036,7 @@ class AvatarGroup {
|
|
|
12024
12036
|
*/
|
|
12025
12037
|
extra;
|
|
12026
12038
|
render() {
|
|
12027
|
-
return (hAsync(Host, { key: '
|
|
12039
|
+
return (hAsync(Host, { key: '7c585b22b049e76b401dfaa9e9c9f5b5e26e784e', class: 'flex items-center -space-x-1 overflow-hidden' }, hAsync("slot", { key: '35edfb626df20c28e435dd7db9c0835c15c768f2' }), this.extra && (hAsync("span", { key: '0e879858a8885ee96f1467da612ba1170c7af4cf', class: 'pl-3 text-sm text-storm-300' }, "+", this.extra))));
|
|
12028
12040
|
}
|
|
12029
12041
|
static get style() { return avatarGroupComponentCss(); }
|
|
12030
12042
|
static get cmpMeta() { return {
|
|
@@ -12151,13 +12163,13 @@ class Backdrop {
|
|
|
12151
12163
|
}
|
|
12152
12164
|
}
|
|
12153
12165
|
render() {
|
|
12154
|
-
return (hAsync(ThemedHost, { key: '
|
|
12166
|
+
return (hAsync(ThemedHost, { key: '3cea9b06bc1aba005ef4bb3d1073bd041a418000' }, hAsync("div", { key: '37a3f36aaeb298a7ce5a5e6468a7d9465a2a3b93', class: backdrop$1({
|
|
12155
12167
|
blur: asBoolean(this.applyBlur),
|
|
12156
12168
|
closing: asBoolean(this.closing),
|
|
12157
|
-
}) }, hAsync("div", { key: '
|
|
12169
|
+
}) }, hAsync("div", { key: '18ebbcb03ab4458923251994e082774eea4229af', class: contentContainer({
|
|
12158
12170
|
variant: this.variant,
|
|
12159
12171
|
closing: asBoolean(this.closing),
|
|
12160
|
-
}) }, hAsync("slot", { key: '
|
|
12172
|
+
}) }, hAsync("slot", { key: '099ed7b0d6b354c5ce13cd9062e1a1dc3da64423' })))));
|
|
12161
12173
|
}
|
|
12162
12174
|
handleClick(ev) {
|
|
12163
12175
|
if (ev.target !== this._el && !this._el.contains(ev.target)) {
|
|
@@ -12203,7 +12215,7 @@ class Badge {
|
|
|
12203
12215
|
registerInstance(this, hostRef);
|
|
12204
12216
|
}
|
|
12205
12217
|
render() {
|
|
12206
|
-
return (hAsync(ThemedHost, { key: '
|
|
12218
|
+
return (hAsync(ThemedHost, { key: 'efb544f6449af37d159a1745287cb36a17ee37e9' }, hAsync("div", { key: '00709e7022c6a98ed6910901181ac51b256e45a9', class: badge() }, hAsync("slot", { key: '1bced8d9434aa868a227e3ff62ddf4a3fdf5c53f' }))));
|
|
12207
12219
|
}
|
|
12208
12220
|
static get style() { return badgeComponentCss(); }
|
|
12209
12221
|
static get cmpMeta() { return {
|
|
@@ -12959,7 +12971,7 @@ class ButtonGroup {
|
|
|
12959
12971
|
this._checkButtons();
|
|
12960
12972
|
}
|
|
12961
12973
|
render() {
|
|
12962
|
-
return (hAsync(Host, { key: '
|
|
12974
|
+
return (hAsync(Host, { key: '77ed22c5feeea1aacaf27c9b7a05913ff3e8f583', class: 'flex items-center' }, hAsync("slot", { key: '56d7e55910459006503e551849e08ef092827034' })));
|
|
12963
12975
|
}
|
|
12964
12976
|
slotchange() {
|
|
12965
12977
|
this._checkButtons();
|
|
@@ -88304,7 +88316,7 @@ class Calendar {
|
|
|
88304
88316
|
}
|
|
88305
88317
|
}
|
|
88306
88318
|
render() {
|
|
88307
|
-
return (hAsync(ThemedHost, { key: '
|
|
88319
|
+
return (hAsync(ThemedHost, { key: 'f679da5751e8b2edc9c22751db98ccbcde72a840' }, hAsync("div", { key: '8d085e2d21e875ba0d843a2e5dd1c63962e85271', class: calendar$1({ variant: this.variant }) }, this._getView())));
|
|
88308
88320
|
}
|
|
88309
88321
|
_checkTodayButton() {
|
|
88310
88322
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -88596,7 +88608,7 @@ class CardBody {
|
|
|
88596
88608
|
registerInstance(this, hostRef);
|
|
88597
88609
|
}
|
|
88598
88610
|
render() {
|
|
88599
|
-
return (hAsync(ThemedHost, { key: '
|
|
88611
|
+
return (hAsync(ThemedHost, { key: '58de3b6a745b5710e624df37b761bf5826ec0aec' }, hAsync("slot", { key: '5f90a33e47792ad24272e71ff768f749b5113664' })));
|
|
88600
88612
|
}
|
|
88601
88613
|
static get style() { return cardBodyComponentCss(); }
|
|
88602
88614
|
static get cmpMeta() { return {
|
|
@@ -88706,13 +88718,13 @@ class CardContainer {
|
|
|
88706
88718
|
*/
|
|
88707
88719
|
border = true;
|
|
88708
88720
|
render() {
|
|
88709
|
-
return (hAsync(ThemedHost, { key: '
|
|
88721
|
+
return (hAsync(ThemedHost, { key: '8a92a8769c8e975330a93d6b65dfdbfe1b71c6bd' }, hAsync("div", { key: 'f3dd20914505ea791e70f3b10a78ed13cada899f', class: cn(container$5({
|
|
88710
88722
|
variant: this.variant,
|
|
88711
88723
|
active: asBoolean(this.active, false),
|
|
88712
88724
|
hoverable: asBoolean(this.hoverable, false),
|
|
88713
88725
|
shadow: asBoolean(this.shadow, true),
|
|
88714
88726
|
border: asBoolean(this.border),
|
|
88715
|
-
}), this.bgClass) }, hAsync("slot", { key: '
|
|
88727
|
+
}), this.bgClass) }, hAsync("slot", { key: '2c61f7828e245f052070ffaa0c6460f9ce65e1da' }))));
|
|
88716
88728
|
}
|
|
88717
88729
|
static get style() { return cardContainerComponentCss(); }
|
|
88718
88730
|
static get cmpMeta() { return {
|
|
@@ -88783,11 +88795,11 @@ class CardHeader {
|
|
|
88783
88795
|
*/
|
|
88784
88796
|
divider = true;
|
|
88785
88797
|
render() {
|
|
88786
|
-
return (hAsync(ThemedHost, { key: '
|
|
88798
|
+
return (hAsync(ThemedHost, { key: '7af5768af30d582459734e643133924a208a1e31' }, hAsync("div", { key: '84f38fff09ab1f1785cbc9f7c3ec84bc3168ceac', class: header$5({
|
|
88787
88799
|
variant: this.variant,
|
|
88788
|
-
}) }, hAsync("div", { key: '
|
|
88800
|
+
}) }, hAsync("div", { key: '8f48ed62102f4ddd758367b15c27b12464bafdc4', class: content$6({
|
|
88789
88801
|
variant: this.variant,
|
|
88790
|
-
}) }, this.icon ? (hAsync("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (hAsync("slot", { name: 'prefix' })), hAsync("div", { key: '
|
|
88802
|
+
}) }, this.icon ? (hAsync("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (hAsync("slot", { name: 'prefix' })), hAsync("div", { key: '0ac90cd7e858fb58d18eb07926fcd1a2f332741a', class: title$2() }, hAsync("span", { key: 'e125450d9f622f82cd9a019365fd8dd667e6f77b', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : hAsync("slot", null)), hAsync("slot", { key: '01f13d299d1f08cdfb61325fbe09afc713be7adf', name: 'content-suffix' })), hAsync("div", { key: '2e4502bd6815e8cab7a9d2fce8759f01afccaf43', class: '\n ml-auto flex items-center justify-end gap-2\n empty:hidden\n ' }, hAsync("slot", { key: '79cb1f0b6e84b7aaae39fc084837c81751fa6a17', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (hAsync("p-divider", { class: '\n text-off-white-700\n dark:text-white/10\n ' }))) : (hAsync("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, hAsync("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
|
|
88791
88803
|
}
|
|
88792
88804
|
static get style() { return cardHeaderComponentCss(); }
|
|
88793
88805
|
static get cmpMeta() { return {
|
|
@@ -88958,13 +88970,13 @@ class Checkbox {
|
|
|
88958
88970
|
}
|
|
88959
88971
|
render() {
|
|
88960
88972
|
const id = this.id?.length ? this.id : this._nonce;
|
|
88961
|
-
return (hAsync(ThemedHost, { key: '
|
|
88973
|
+
return (hAsync(ThemedHost, { key: '22a65695e82b6f44f5789374b605afe0e4c7a232' }, hAsync("label", { key: 'a533a3f0d02b3adbc4967800868bcaae605027c7', class: 'group/p-checkbox flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: '5fc8882d98a4d97712be38c4f98d19d99d4e3b45', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'b2b99f5c58209b526e7f17aa387f0d3d5953521a', checked: asBoolean(this.checked), class: checkbox({
|
|
88962
88974
|
disabled: asBoolean(this.disabled),
|
|
88963
|
-
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
88975
|
+
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '558e8c318d2099fd46731d5bdc639c8bd574a601', class: iconContainer({
|
|
88964
88976
|
disabled: asBoolean(this.disabled),
|
|
88965
|
-
}) }, hAsync("p-icon", { key: '
|
|
88977
|
+
}) }, hAsync("p-icon", { key: '7ea4183a16323d76fd1c955a9c8f811d281ef3fe', class: icon$2({
|
|
88966
88978
|
disabled: asBoolean(this.disabled),
|
|
88967
|
-
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), hAsync("div", { key: '
|
|
88979
|
+
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), hAsync("div", { key: '5b058363130cc74905e74c08676ae5555b8355c8', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: 'efc9ac9dc792311c8783dbdd9613133828826799' })))));
|
|
88968
88980
|
}
|
|
88969
88981
|
_onChange(ev) {
|
|
88970
88982
|
if (this.disabled) {
|
|
@@ -89052,13 +89064,13 @@ class ContentSlider {
|
|
|
89052
89064
|
}
|
|
89053
89065
|
}
|
|
89054
89066
|
render() {
|
|
89055
|
-
return (hAsync(Host, { key: '
|
|
89067
|
+
return (hAsync(Host, { key: 'a59d602f545cce524f85ba391f86b0929ad1bf0b' }, hAsync("div", { key: 'cafdbf3d14bf371e7ab342df5b0a462fa5473d60', class: `
|
|
89056
89068
|
slider
|
|
89057
89069
|
${!this.disableDrag && 'draggable'}
|
|
89058
89070
|
${this._dragging && 'dragging'}
|
|
89059
89071
|
`, ref: el => (this._sliderRef = el), style: {
|
|
89060
89072
|
height: `${this._outerHeight}px`,
|
|
89061
|
-
}, 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: '97de9af9c479ac973128aad48c6a15b090bcae59', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, hAsync("slot", { key: '9f726bc65295cc603a63e05458f7865d1ac8ad1c', onSlotchange: () => this._slotChange() }))), hAsync("div", { key: '977ded691235037ccc09ba15a66a660332439d5e', class: `
|
|
89062
89074
|
indicator
|
|
89063
89075
|
${this.hideMobileIndicator && 'hidden'}
|
|
89064
89076
|
` }, this._filteredItems.map((_, i) => (hAsync("div", { class: `
|
|
@@ -92109,7 +92121,7 @@ class Cropper {
|
|
|
92109
92121
|
const themeColor = state.theme === 'dark'
|
|
92110
92122
|
? 'rgba(70, 75, 84, 0.5)'
|
|
92111
92123
|
: 'rgba(255, 255, 255, 0.5)';
|
|
92112
|
-
return (hAsync(ThemedHost, { key: '
|
|
92124
|
+
return (hAsync(ThemedHost, { key: 'b79c673eb9cebe591f59d91e633c3bf8cfcf6ce0' }, this._loaded && (hAsync("cropper-canvas", { key: '89380cdc420f5c1dc66d86461ea0067ada856aa2', 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: 'dc5f4972334da4faed8a9eef51670c3e5bb5c5a3', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), hAsync("cropper-shade", { key: 'a7683d657ce26e5bd25e97a60283d679cecc209a', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), hAsync("cropper-selection", { key: '936dc942dd7796155d8ea9203bf0b6d22e15760e', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), hAsync("cropper-handle", { key: 'ef097e515e0fc06c38bdbe1a5cc299537b73c46f', action: 'move', plain: true }))), hAsync("p-range", { key: '1422b4f39f1eead60ddff19e6d3dab378ec8a8ac', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
92113
92125
|
}
|
|
92114
92126
|
_setImageRef(ref) {
|
|
92115
92127
|
if (this._imageRef || !ref) {
|
|
@@ -92439,7 +92451,7 @@ class Datepicker {
|
|
|
92439
92451
|
}
|
|
92440
92452
|
}
|
|
92441
92453
|
render() {
|
|
92442
|
-
return (hAsync("p-dropdown", { key: '
|
|
92454
|
+
return (hAsync("p-dropdown", { key: '050b53522800843eda2527cc1e0e0b6dadb67167', 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: '8158fbfde4f4695cbd9b57aebbae3b5c5d9c202d', 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: 'e8a1301baca6417ce1e5253a1f09221e31eac38a', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
92443
92455
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
92444
92456
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92445
92457
|
}), min: this._minDate &&
|
|
@@ -92448,7 +92460,7 @@ class Datepicker {
|
|
|
92448
92460
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
92449
92461
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
92450
92462
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92451
|
-
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '
|
|
92463
|
+
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '691d0dd273c85b085fb45487b0bd34bf6c36b0e2', slot: 'items', tabIndex: -1 }, hAsync("p-calendar", { key: '61e91dd7ce0e6ac3915914c8240dca33352a195b', 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) }))));
|
|
92452
92464
|
}
|
|
92453
92465
|
documentClickHandler({ target }) {
|
|
92454
92466
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -92700,12 +92712,12 @@ class Divider {
|
|
|
92700
92712
|
get _el() { return getElement(this); }
|
|
92701
92713
|
render() {
|
|
92702
92714
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
92703
|
-
return (hAsync(ThemedHost, { key: '
|
|
92715
|
+
return (hAsync(ThemedHost, { key: '47a352581c13f6d765dc07876656dd83b51d995c' }, hAsync("div", { key: '9a17947fc3f26d4164b36bd8e802469b863e8a96', class: cn(content$5({
|
|
92704
92716
|
variant: this.variant,
|
|
92705
92717
|
alignContent: this.alignContent,
|
|
92706
92718
|
}), {
|
|
92707
92719
|
'text-off-white-700 dark:text-hurricane-400': !this._el.className.includes('text'),
|
|
92708
|
-
}) }, hAsync("div", { key: '
|
|
92720
|
+
}) }, hAsync("div", { key: 'dfee1c6a6d93d6304e1fdab2f019e735947da25e', class: '\n flex items-center px-2 text-sm font-medium text-storm-400\n empty:px-0\n dark:text-hurricane-200\n ' }, hasContent && hAsync("slot", { key: '5aa797409b07ce8edfc4a2eb6fe9b8d869fb505d' })))));
|
|
92709
92721
|
}
|
|
92710
92722
|
static get style() { return dividerComponentCss(); }
|
|
92711
92723
|
static get cmpMeta() { return {
|
|
@@ -92852,7 +92864,7 @@ class DrawerBody {
|
|
|
92852
92864
|
registerInstance(this, hostRef);
|
|
92853
92865
|
}
|
|
92854
92866
|
render() {
|
|
92855
|
-
return hAsync("slot", { key: '
|
|
92867
|
+
return hAsync("slot", { key: '740bde6c33efb5af973a4647d21caae1ae143faa' });
|
|
92856
92868
|
}
|
|
92857
92869
|
static get style() { return drawerBodyComponentCss(); }
|
|
92858
92870
|
static get cmpMeta() { return {
|
|
@@ -92897,9 +92909,9 @@ class DrawerContainer {
|
|
|
92897
92909
|
*/
|
|
92898
92910
|
closing = false;
|
|
92899
92911
|
render() {
|
|
92900
|
-
return (hAsync(ThemedHost, { key: '
|
|
92912
|
+
return (hAsync(ThemedHost, { key: '9c0dafb4a4275792475b9e3a491ad39bed454b40' }, hAsync("div", { key: 'b63f246dc19d9babf0bbfd4d8067fd0b66a93b9a', class: container$4({
|
|
92901
92913
|
closing: asBoolean(this.closing),
|
|
92902
|
-
}) }, hAsync("slot", { key: '
|
|
92914
|
+
}) }, hAsync("slot", { key: '34f2562ab94ccbcae13e415639e84b63b5777879' }))));
|
|
92903
92915
|
}
|
|
92904
92916
|
static get style() { return drawerContainerComponentCss(); }
|
|
92905
92917
|
static get cmpMeta() { return {
|
|
@@ -92946,7 +92958,7 @@ class DrawerHeader {
|
|
|
92946
92958
|
*/
|
|
92947
92959
|
close;
|
|
92948
92960
|
render() {
|
|
92949
|
-
return (hAsync(ThemedHost, { key: '
|
|
92961
|
+
return (hAsync(ThemedHost, { key: '222352b5ac3b6dfc0fd512fad0449ecbf82269e7' }, hAsync("div", { key: 'fdb864c6a39d5bb77bc2a46e6c98ada1e98afa6e', class: header$4() }, hAsync("div", { key: '841dc22fe1425e22e55d7e4c954e799d0179dd2a', class: content$4() }, this.showClose && (hAsync("p-button", { key: '24d0bb1bdaf098a099dd32372fabf12c64d12467', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), hAsync("div", { key: 'f1b489d68d82dd3eae2960944e97a4aee509ae60', class: title$1() }, hAsync("slot", { key: 'a9cfe3acd4edd095166c75d66fe45b00179f24bf' })), this.showClose && hAsync("div", { key: '0dd8971e955de4580105d9baf9286ef97deb50c3', class: 'size-8' })), hAsync("p-smile", { key: 'c6492ea1696af5f570fe07ca6749758fe7a7eb4b', class: 'dark:text-hurricane-400' }))));
|
|
92950
92962
|
}
|
|
92951
92963
|
static get style() { return drawerHeaderComponentCss(); }
|
|
92952
92964
|
static get cmpMeta() { return {
|
|
@@ -94616,12 +94628,12 @@ class Dropdown {
|
|
|
94616
94628
|
this._checkItems();
|
|
94617
94629
|
}
|
|
94618
94630
|
render() {
|
|
94619
|
-
return (hAsync(Host, { key: '
|
|
94631
|
+
return (hAsync(Host, { key: '42a631c6824e90a489e74dab6ae942f4c3e97ff4', class: 'relative' }, hAsync("div", { key: 'b94bf3245828fe537152e5c2ab8fed0b90561c63', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: '470e2e6d9cd87dba46d6cf718f78a1e31efd9c00', name: 'trigger' })), hAsync("div", { key: '449f163bdcba639d88fcf0dbeee138f3c44cb832', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: 'b98f064e3ee94d2bc6ad9a7fc21a910bd2de6dbf', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94620
94632
|
strategy: this.strategy,
|
|
94621
94633
|
maxWidth: this.applyMaxWidth,
|
|
94622
94634
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94623
94635
|
isDatepicker: this.isDatepicker,
|
|
94624
|
-
}), 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: '5c961dd4efeeae8326f45a6bcad185a31cc36af4', name: 'items' })))));
|
|
94625
94637
|
}
|
|
94626
94638
|
_checkButtons(active = false) {
|
|
94627
94639
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -94653,7 +94665,9 @@ class Dropdown {
|
|
|
94653
94665
|
_checkItems() {
|
|
94654
94666
|
const items = this._el.querySelectorAll('p-dropdown-menu-item');
|
|
94655
94667
|
for (let item of items) {
|
|
94656
|
-
if (item.variant === 'pagination' ||
|
|
94668
|
+
if (item.variant === 'pagination' ||
|
|
94669
|
+
item.variant === 'negative' ||
|
|
94670
|
+
item.variant === 'category') {
|
|
94657
94671
|
continue;
|
|
94658
94672
|
}
|
|
94659
94673
|
item.variant = this.variant;
|
|
@@ -94871,15 +94885,15 @@ class DropdownMenuContainer {
|
|
|
94871
94885
|
: this.scrollable === true
|
|
94872
94886
|
? 'default'
|
|
94873
94887
|
: this.scrollable;
|
|
94874
|
-
return (hAsync(ThemedHost, { key: '
|
|
94888
|
+
return (hAsync(ThemedHost, { key: '4f2e4f11856e180da1d7fc3406d6d29f500d2da3' }, hAsync("div", { key: '07e9b4dd8677bb7269d077226557aa2838230b3d', class: dropdownMenuContainer({
|
|
94875
94889
|
class: this.class,
|
|
94876
94890
|
variant: this.variant,
|
|
94877
94891
|
fullWidth: asBoolean(this.fullWidth, true),
|
|
94878
94892
|
maxWidth: this.maxWidth,
|
|
94879
|
-
}) }, hAsync("div", { key: '
|
|
94893
|
+
}) }, hAsync("div", { key: 'ae5ba23a55c618a933d594614417ca18d7a91ebd', class: innerContainer({
|
|
94880
94894
|
allowOverflow: asBoolean(this.allowOverflow),
|
|
94881
94895
|
scrollable,
|
|
94882
|
-
}) }, hAsync("div", { key: '
|
|
94896
|
+
}) }, hAsync("div", { key: '4b35dfe27b9122ccf1b02daadfa7e03c919ea35d', class: 'flex w-full flex-col' }, hAsync("slot", { key: '6b6628680d163aae4623648719f4d7aada590f3d' }))))));
|
|
94883
94897
|
}
|
|
94884
94898
|
static get style() { return dropdownMenuContainerComponentCss(); }
|
|
94885
94899
|
static get cmpMeta() { return {
|
|
@@ -94899,9 +94913,9 @@ class DropdownMenuContainer {
|
|
|
94899
94913
|
}; }
|
|
94900
94914
|
}
|
|
94901
94915
|
|
|
94902
|
-
const dropdownMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-full{width:100%}.max-w-full{max-width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-negative-red-50{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.bg-storm-600{--tw-bg-opacity:1;background-color:rgb(15 22 34/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem
|
|
94916
|
+
const dropdownMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.block{display:block}.flex{display:flex}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-full{width:100%}.max-w-full{max-width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-negative-red-50{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.bg-storm-600{--tw-bg-opacity:1;background-color:rgb(15 22 34/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem}.pt-1,.py-1{padding-top:.25rem}.text-start{text-align:start}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-negative-red-100{--tw-text-opacity:1;color:rgb(255 221 221/var(--tw-text-opacity,1))}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-40{opacity:.4}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.hover\\:bg-negative-red-50:hover{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.hover\\:bg-storm-500:hover{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}@keyframes wave{0%{transform:rotate(0deg)}to{transform:rotate(-15deg)}}.group:hover .group-hover\\:animate-wave{animation:wave .5s ease-in-out -.5s infinite alternate forwards}.group:hover .group-hover\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-indigo-600\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.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-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/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-indigo-600\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\: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\\:bg-indigo-600\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.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-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/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-indigo-600\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
94903
94917
|
|
|
94904
|
-
const dropdownMenuItem = cva([`group flex max-w-full items-center gap-2 rounded-lg
|
|
94918
|
+
const dropdownMenuItem = cva([`group flex max-w-full items-center gap-2 rounded-lg`], {
|
|
94905
94919
|
variants: {
|
|
94906
94920
|
variant: {
|
|
94907
94921
|
default: null,
|
|
@@ -94911,6 +94925,7 @@ const dropdownMenuItem = cva([`group flex max-w-full items-center gap-2 rounded-
|
|
|
94911
94925
|
h-6 px-2 text-xs text-storm-300
|
|
94912
94926
|
dark:text-hurricane-200
|
|
94913
94927
|
`,
|
|
94928
|
+
category: 'h-4 px-2 pt-1 text-xs',
|
|
94914
94929
|
},
|
|
94915
94930
|
active: {
|
|
94916
94931
|
false: null,
|
|
@@ -94935,11 +94950,17 @@ const dropdownMenuItem = cva([`group flex max-w-full items-center gap-2 rounded-
|
|
|
94935
94950
|
},
|
|
94936
94951
|
compoundVariants: [
|
|
94937
94952
|
{
|
|
94953
|
+
variant: ['default', 'storm', 'negative', 'pagination'],
|
|
94954
|
+
class: 'text-sm',
|
|
94955
|
+
},
|
|
94956
|
+
{
|
|
94957
|
+
variant: ['default', 'storm', 'negative', 'pagination'],
|
|
94938
94958
|
autoHeight: false,
|
|
94939
94959
|
enableTextWrap: true,
|
|
94940
94960
|
class: 'min-h-8',
|
|
94941
94961
|
},
|
|
94942
94962
|
{
|
|
94963
|
+
variant: ['default', 'storm', 'negative', 'pagination'],
|
|
94943
94964
|
autoHeight: false,
|
|
94944
94965
|
enableTextWrap: false,
|
|
94945
94966
|
class: 'h-8',
|
|
@@ -95069,6 +95090,7 @@ const dropdownMenuItemIcon = cva(['text-base'], {
|
|
|
95069
95090
|
storm: null,
|
|
95070
95091
|
negative: null,
|
|
95071
95092
|
pagination: null,
|
|
95093
|
+
category: null,
|
|
95072
95094
|
},
|
|
95073
95095
|
active: {
|
|
95074
95096
|
false: null,
|
|
@@ -95181,19 +95203,19 @@ class DropdownMenuItem {
|
|
|
95181
95203
|
*/
|
|
95182
95204
|
autoHeight = false;
|
|
95183
95205
|
render() {
|
|
95184
|
-
return (hAsync(ThemedHost, { key: '
|
|
95206
|
+
return (hAsync(ThemedHost, { key: '2ec85f337b4ba9e409d1f281fdde9e46983cfeb0' }, hAsync("div", { key: '29aeffc299c1edd46e320d2d2d17209423ece246', class: cn(dropdownMenuItem({
|
|
95185
95207
|
variant: this.variant,
|
|
95186
95208
|
active: asBoolean(this.active),
|
|
95187
95209
|
enableHover: asBoolean(this.enableHover ?? true),
|
|
95188
95210
|
autoHeight: asBoolean(this.autoHeight ?? false),
|
|
95189
95211
|
enableTextWrap: this.enableTextWrap,
|
|
95190
95212
|
disabled: asBoolean(this.disabled),
|
|
95191
|
-
})) }, this.icon && (hAsync("p-icon", { key: '
|
|
95213
|
+
})) }, this.icon && (hAsync("p-icon", { key: 'b860a22d7d77aa121c4be3b31b0dc081b71f3e8b', class: dropdownMenuItemIcon({
|
|
95192
95214
|
variant: this.variant,
|
|
95193
95215
|
active: asBoolean(this.active),
|
|
95194
95216
|
disabled: asBoolean(this.disabled),
|
|
95195
95217
|
wave: asBoolean(this.iconWave),
|
|
95196
|
-
}), variant: this.icon })), this.checkbox && (hAsync("p-checkbox", { key: '
|
|
95218
|
+
}), variant: this.icon })), this.checkbox && (hAsync("p-checkbox", { key: 'dd5f4912ccdfe87b4944fd6cf70bd26d569a9924', checked: this.active, disabled: this.disabled })), this.useContainer ? (hAsync("div", { class: cn('block w-full overflow-hidden text-start', {
|
|
95197
95219
|
'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
|
|
95198
95220
|
}) }, hAsync("slot", null))) : (hAsync("slot", null)))));
|
|
95199
95221
|
}
|
|
@@ -95335,20 +95357,20 @@ class Dropzone {
|
|
|
95335
95357
|
}
|
|
95336
95358
|
render() {
|
|
95337
95359
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
95338
|
-
return (hAsync(ThemedHost, { key: '
|
|
95360
|
+
return (hAsync(ThemedHost, { key: 'c6f88f85d81564f5b7ccf1975459438661af7609' }, hAsync("div", { key: '11f20ce6fcd35a6345c5155795b55c18e5c3cac9', class: dropzone({
|
|
95339
95361
|
isOver: this._isOver,
|
|
95340
95362
|
uploaded: this.uploaded,
|
|
95341
|
-
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (hAsync("p-icon", { key: '
|
|
95363
|
+
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (hAsync("p-icon", { key: 'd918748e6844067135182c910cafe8fb3e587aca', class: cn(`
|
|
95342
95364
|
group-hover/dropzone:text-indigo-900
|
|
95343
95365
|
dark:group-hover/dropzone:text-indigo-700
|
|
95344
95366
|
`, {
|
|
95345
95367
|
'text-positive-green-800': this.uploaded,
|
|
95346
95368
|
'text-storm-300 dark:text-hurricane-200': !this._isOver && !this.uploaded,
|
|
95347
95369
|
'text-indigo-900 dark:text-indigo-700': this._isOver,
|
|
95348
|
-
}), variant: this.icon })), this.loading && hAsync("p-loader", { key: '
|
|
95370
|
+
}), variant: this.icon })), this.loading && hAsync("p-loader", { key: 'd4dcb00af7b74f03b4f0978f6bba148b580538eb' }), hasContent && (hAsync("p", { key: '75cad556940a980662c3e34387731230d1a70394', class: cn('m-0 p-0 text-lg font-bold', {
|
|
95349
95371
|
'dark:text-white': !this.uploaded || this._isOver,
|
|
95350
95372
|
'text-storm-500': this.uploaded && !this._isOver,
|
|
95351
|
-
}) }, hAsync("slot", { key: '
|
|
95373
|
+
}) }, hAsync("slot", { key: 'e9ef30d5b51c35916ab37b9205fdc908f1b8c55e' }))), this.uploaded && !this._isOver && (hAsync("div", { key: '978618ceb4aaf7f77f57ec15e34a5a22e0f8095d', class: 'flex items-center gap-2 text-positive-green-800' }, hAsync("p-icon", { key: 'b3c3c6512aa60a3ceeb06dcaaaaf5336d899e032', variant: 'check-circle' }), hAsync("span", { key: '1ca309ed4b3f26fbd15f97458322b8e238f5f0fa', class: 'font-medium' }, this.addedString))), (!this.uploaded || this._isOver) && (hAsync("div", { key: '8849ffd2f74bc18ce78c87321e169ce59d2269b6', class: cn([
|
|
95352
95374
|
'flex flex-col text-center',
|
|
95353
95375
|
'group-hover/dropzone:opacity-50',
|
|
95354
95376
|
`
|
|
@@ -95357,7 +95379,7 @@ class Dropzone {
|
|
|
95357
95379
|
`,
|
|
95358
95380
|
], {
|
|
95359
95381
|
'opacity-50': this._isOver,
|
|
95360
|
-
}) }, hAsync("span", { key: '
|
|
95382
|
+
}) }, hAsync("span", { key: '7f40836b007ec452f712a8f023d0a62f63525071', class: 'font-medium' }, this.dragFileString), hAsync("span", { key: '05f29c41557b567aefb4ae821d8fc8ae48d1b0ff', class: 'font-normal' }, this.orClickString)))), hAsync("input", { key: '40455d1a8ac6e7c233ff096cad44a6d479af48e7', accept: this.acceptGroup == 'any' ? '' : 'image/*', class: 'hidden', multiple: this.allowMultiple === true ? true : undefined, ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
95361
95383
|
}
|
|
95362
95384
|
onDrop(ev) {
|
|
95363
95385
|
const files = this._getFiles(ev);
|
|
@@ -95429,7 +95451,10 @@ class Dropzone {
|
|
|
95429
95451
|
reader.addEventListener('load', (e) => this._onLoad(file, e?.currentTarget?.result));
|
|
95430
95452
|
reader.readAsDataURL(file);
|
|
95431
95453
|
}
|
|
95432
|
-
_onLoad(file, result) {
|
|
95454
|
+
async _onLoad(file, result) {
|
|
95455
|
+
if (isIOS()) {
|
|
95456
|
+
file = await createInMemoryFile(file);
|
|
95457
|
+
}
|
|
95433
95458
|
this._results.push({
|
|
95434
95459
|
file,
|
|
95435
95460
|
result,
|
|
@@ -95534,11 +95559,11 @@ class EmptyState {
|
|
|
95534
95559
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
95535
95560
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
95536
95561
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
95537
|
-
return (hAsync(ThemedHost, { key: '
|
|
95562
|
+
return (hAsync(ThemedHost, { key: 'd84ee5a8579403223bb5cfe7bdec07866b47f8ff' }, hAsync("div", { key: 'd973a6e27f7e87f162b01f5f8762fd5a3e421f7b', class: emptyState({
|
|
95538
95563
|
enableAction: asBoolean(this.enableAction, true),
|
|
95539
95564
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
95540
95565
|
? this.action.emit(ev)
|
|
95541
|
-
: undefined }, this.illustration && (hAsync("p-illustration", { key: '
|
|
95566
|
+
: undefined }, this.illustration && (hAsync("p-illustration", { key: '1fabcdf5a64f7162d0485665c273b3bacc6a7a4e', 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 &&
|
|
95542
95567
|
(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))))));
|
|
95543
95568
|
}
|
|
95544
95569
|
static get style() { return emptyStateComponentCss(); }
|
|
@@ -95942,8 +95967,8 @@ class Field {
|
|
|
95942
95967
|
}
|
|
95943
95968
|
render() {
|
|
95944
95969
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
95945
|
-
return (hAsync(ThemedHost, { key: '
|
|
95946
|
-
(!!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: '
|
|
95970
|
+
return (hAsync(ThemedHost, { key: 'b251e9ed78735fc141963abe577696100e973d37' }, hAsync("p-field-container", { key: '7f9e06a6e2904f43404fb93b886e4e0918b5a862', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
95971
|
+
(!!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: 'bc559fcf5b77ff3b87120eb52fd0e3dd14e1b912', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: '1b87bb5d34f429f9319632f14c12b28f8e76cf1a', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: 'a6a461f45d58d76b1ef0f6b3e013d699e72dbf49', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: 'b3947ba2b86f3b776178288e4946eb11e3efe3f2', name: 'error', slot: 'error' })), hAsync("div", { key: 'aaed5d10a79306e400128254b9ca4c132cd06088', class: field({
|
|
95947
95972
|
error: !!this.error?.length,
|
|
95948
95973
|
disabled: asBoolean(this.disabled),
|
|
95949
95974
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -95954,7 +95979,7 @@ class Field {
|
|
|
95954
95979
|
? `${this.value}`
|
|
95955
95980
|
: undefined }, (this.error?.length ||
|
|
95956
95981
|
prefix ||
|
|
95957
|
-
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
95982
|
+
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: 'e516c3533d88e87a601d9c97504100687d6f30da', class: prefixAndSuffix({
|
|
95958
95983
|
variant: this.variant,
|
|
95959
95984
|
error: !!this.error?.length,
|
|
95960
95985
|
disabled: asBoolean(this.disabled),
|
|
@@ -95966,7 +95991,7 @@ class Field {
|
|
|
95966
95991
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
95967
95992
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
95968
95993
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
95969
|
-
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '
|
|
95994
|
+
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '62fcd0427be492bd46faeafd2a35b0df447bebac', class: cn(prefixAndSuffix({
|
|
95970
95995
|
variant: this.variant,
|
|
95971
95996
|
error: !!this.error?.length,
|
|
95972
95997
|
disabled: asBoolean(this.disabled),
|
|
@@ -96537,10 +96562,10 @@ class FloatingMenuItem {
|
|
|
96537
96562
|
*/
|
|
96538
96563
|
iconRotate;
|
|
96539
96564
|
render() {
|
|
96540
|
-
return (hAsync(ThemedHost, { key: '
|
|
96565
|
+
return (hAsync(ThemedHost, { key: '0c93fdbe76467e5216ab1ef549141d4dc1679361', class: item$3({
|
|
96541
96566
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
96542
96567
|
disabled: asBoolean(this.disabled),
|
|
96543
|
-
}) }, this._getIcon(), hAsync("p", { key: '
|
|
96568
|
+
}) }, this._getIcon(), hAsync("p", { key: '240658eacb742df93523ae7387f73f468a3c4713', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, hAsync("slot", { key: '47c649696fe196f4802c28cd90d43fb1ef4022c6' }))));
|
|
96544
96569
|
}
|
|
96545
96570
|
_getIcon() {
|
|
96546
96571
|
if (!this.icon && !this.loading) {
|
|
@@ -96588,7 +96613,7 @@ class Helper {
|
|
|
96588
96613
|
*/
|
|
96589
96614
|
placement = 'top';
|
|
96590
96615
|
render() {
|
|
96591
|
-
return (hAsync(ThemedHost, { key: '
|
|
96616
|
+
return (hAsync(ThemedHost, { key: 'b63e0253d99ac51775535f05aa519d1a6a42ad2d' }, hAsync("p-tooltip", { key: 'ea8f71109cf86aae1f4c8a8a48a05cfee7750128', class: 'flex', placement: this.placement, strategy: this.strategy }, hAsync("p-icon", { key: '7dc8a4bfacabe6f0c1e3bbb2c8567291f0eb59d9', class: '\n cursor-pointer text-storm-300\n hover:text-storm-500\n dark:text-hurricane-300\n dark:hover:text-hurricane-200\n ', size: 'sm', slot: 'trigger', variant: 'question-circle' }), hAsync("div", { key: '65139beed237901ae13144f3cfa492ea114d18aa', slot: 'content' }, hAsync("slot", { key: '4400d09c93022e197954ac3044212ccd6769e631' })))));
|
|
96592
96617
|
}
|
|
96593
96618
|
static get style() { return helperComponentCss(); }
|
|
96594
96619
|
static get cmpMeta() { return {
|
|
@@ -96722,7 +96747,7 @@ class Icon {
|
|
|
96722
96747
|
render() {
|
|
96723
96748
|
const hasTextSizeClass = /text-(xs|sm|base|lg|xl)/.test(this._el.className);
|
|
96724
96749
|
const svg = icons[this.variant];
|
|
96725
|
-
return (hAsync("div", { key: '
|
|
96750
|
+
return (hAsync("div", { key: 'bc7cc35daa0aea6006b264b32c21a80d0f31e12c', class: icon({
|
|
96726
96751
|
flip: this.flip,
|
|
96727
96752
|
size: hasTextSizeClass ? 'auto' : this.size,
|
|
96728
96753
|
transform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,
|
|
@@ -96967,7 +96992,7 @@ class Illustration {
|
|
|
96967
96992
|
render() {
|
|
96968
96993
|
const illustration = illustrations[this.variant];
|
|
96969
96994
|
const hasSize = [...this._el.classList.values()].some(val => val.match(/text-(xs|sm|base|lg|[2-79|]?xl)/));
|
|
96970
|
-
return (hAsync(Host, { key: '
|
|
96995
|
+
return (hAsync(Host, { key: '3d7db522fb4b40e5e43a6d4e3313f7517dcbab78', class: cn('block', { 'text-8xl': !hasSize }), innerHTML: illustration }));
|
|
96971
96996
|
}
|
|
96972
96997
|
static get cmpMeta() { return {
|
|
96973
96998
|
"$flags$": 512,
|
|
@@ -97078,9 +97103,9 @@ class InfoPanel {
|
|
|
97078
97103
|
render() {
|
|
97079
97104
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
97080
97105
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
97081
|
-
return (hAsync(ThemedHost, { key: '
|
|
97106
|
+
return (hAsync(ThemedHost, { key: 'fa8b2362ac66e163f95f87a50c0543701b05515e' }, hAsync("div", { key: 'cc456661b94850b4f597c841c50b6484c7dbb6bf', class: infopanel({
|
|
97082
97107
|
variant: this.variant,
|
|
97083
|
-
}) }, (this.header?.length || hasHeaderSlot) && (hAsync("div", { key: '
|
|
97108
|
+
}) }, (this.header?.length || hasHeaderSlot) && (hAsync("div", { key: 'e51d62744232b1ef4f9ce8625de2448ee1991e98', class: header$3({ variant: this.variant }) }, this.header?.length ? (hAsync("p", { class: 'my-0' }, this.header)) : (hAsync("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (hAsync("div", { key: 'f31d3fc0d74a55d2c869d6fe2fcacf5eba49d33a', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (hAsync("p", { class: 'my-0' }, this.content)) : (hAsync("slot", { name: 'content' })))), this.closeable && (hAsync("div", { key: '1753ce86c9507c11cd44988fb6c7c1d52f5b9cc9', class: close(), onClick: () => this._close() }, hAsync("p-icon", { key: '09413891e7d46b473719f43238530eca19237886', variant: 'negative' }))))));
|
|
97084
97109
|
}
|
|
97085
97110
|
_close() {
|
|
97086
97111
|
this.closed.emit();
|
|
@@ -97226,7 +97251,7 @@ class Layout {
|
|
|
97226
97251
|
*/
|
|
97227
97252
|
scroll;
|
|
97228
97253
|
render() {
|
|
97229
|
-
return (hAsync(Host, { key: '
|
|
97254
|
+
return (hAsync(Host, { key: '4e9f6ba8ae2c1208a1864aa7260e239568b014f4', class: 'variant-' + this.variant }, hAsync("div", { key: '2a1c0365623d826cc205b90ef30288360b7671a9', class: 'content', onScroll: ev => this.scroll.emit(ev) }, hAsync("div", { key: '9cf15b7e4e8be08d12c56ae528b6563f9a182bf3', class: 'inner-content' }, hAsync("slot", { key: '4984b5e8d54796a034bdd4a8e4456fc4f7165db9', name: 'content' })), hAsync("slot", { key: '415848713245f95cec4f9a502d69de7f60f2fdee', name: 'outer-content' })), hAsync("div", { key: '6e1220bc508390a73e66e427aabe671298e61ba5', class: 'sidebar' }, hAsync("slot", { key: '7cf4121178f4ce27bd4daa5049b8de163a110c42', name: 'sidebar' })), hAsync("div", { key: 'a0b6e908d836de40d25efccd6e0b67761ea6f6e8', class: 'topbar' }, hAsync("slot", { key: '201f1660af0b70f65fd1906efdcbf7dbead32667', name: 'topbar' }))));
|
|
97230
97255
|
}
|
|
97231
97256
|
static get style() { return layoutComponentCss(); }
|
|
97232
97257
|
static get cmpMeta() { return {
|
|
@@ -97344,7 +97369,7 @@ class ListingItem {
|
|
|
97344
97369
|
*/
|
|
97345
97370
|
icon = 'placeholder';
|
|
97346
97371
|
render() {
|
|
97347
|
-
return (hAsync(ThemedHost, { key: '
|
|
97372
|
+
return (hAsync(ThemedHost, { key: 'cfa5a0d4f4dad18e4ae4a7e036ff730522629c4e' }, hAsync("div", { key: '1b76a863ce0dee48b0c1bb7f46ed40a73a09bf1f', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, hAsync("p-icon", { key: '52c3277ddb13ff14890621690339aae82adf4127', variant: this.icon }), hAsync("div", { key: '39a44d9a56d437d0df60c70bdc3fd111b11deef0', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, hAsync("slot", { key: '58b5c28e004e8a2215729aba011d401f4cccd0b2' })))));
|
|
97348
97373
|
}
|
|
97349
97374
|
static get style() { return listingItemComponentCss(); }
|
|
97350
97375
|
static get cmpMeta() { return {
|
|
@@ -97366,7 +97391,7 @@ class ListingLine {
|
|
|
97366
97391
|
registerInstance(this, hostRef);
|
|
97367
97392
|
}
|
|
97368
97393
|
render() {
|
|
97369
|
-
return hAsync(ThemedHost, { key: '
|
|
97394
|
+
return hAsync(ThemedHost, { key: 'ec0c128de06a5233bde9ab89d85b95b566057b17' });
|
|
97370
97395
|
}
|
|
97371
97396
|
static get style() { return listingLineComponentCss(); }
|
|
97372
97397
|
static get cmpMeta() { return {
|
|
@@ -97616,10 +97641,10 @@ class ModalBody {
|
|
|
97616
97641
|
*/
|
|
97617
97642
|
roundedTop = false;
|
|
97618
97643
|
render() {
|
|
97619
|
-
return (hAsync(ThemedHost, { key: '
|
|
97644
|
+
return (hAsync(ThemedHost, { key: '395d3d4226a745b8e08bb31af2580ae4a3b108b8' }, hAsync("div", { key: '439cf3edbb488f992b0da61c36d7286c725ff381', class: body({
|
|
97620
97645
|
roundedBottom: this.roundedBottom,
|
|
97621
97646
|
roundedTop: this.roundedTop,
|
|
97622
|
-
}) }, hAsync("slot", { key: '
|
|
97647
|
+
}) }, hAsync("slot", { key: '3e548ce7d73dba49bafd8903d192993873e55bb7' }))));
|
|
97623
97648
|
}
|
|
97624
97649
|
static get style() { return modalBodyComponentCss(); }
|
|
97625
97650
|
static get cmpMeta() { return {
|
|
@@ -97682,10 +97707,10 @@ class ModalContainer {
|
|
|
97682
97707
|
*/
|
|
97683
97708
|
closing = false;
|
|
97684
97709
|
render() {
|
|
97685
|
-
return (hAsync(ThemedHost, { key: '
|
|
97710
|
+
return (hAsync(ThemedHost, { key: 'c0003ea54c95f062956e6f6e2b85ee33f00c75f8' }, hAsync("div", { key: 'c212251e79b83d6664be5571932b514ae0b90561', class: container$2({
|
|
97686
97711
|
size: this.size,
|
|
97687
97712
|
closing: asBoolean(this.closing),
|
|
97688
|
-
}) }, hAsync("slot", { key: '
|
|
97713
|
+
}) }, hAsync("slot", { key: '04a2ed4e5722919c8f5ee25efb80cf69679aa502' }))));
|
|
97689
97714
|
}
|
|
97690
97715
|
static get style() { return modalContainerComponentCss(); }
|
|
97691
97716
|
static get cmpMeta() { return {
|
|
@@ -97708,7 +97733,7 @@ class ModalFooter {
|
|
|
97708
97733
|
registerInstance(this, hostRef);
|
|
97709
97734
|
}
|
|
97710
97735
|
render() {
|
|
97711
|
-
return (hAsync(ThemedHost, { key: '
|
|
97736
|
+
return (hAsync(ThemedHost, { key: '85c9bb8e9e82d79397308ff489feed751ed2cf9f' }, hAsync("div", { key: '8cdae34b855a85788a227de5b667b8a137f0a5d7', class: '\n flex flex-col rounded-b-none bg-white px-4\n pb-[calc(env(safe-area-inset-bottom)+1rem)]\n desktop-xs:rounded-b-2xl\n dark:bg-hurricane-600\n ' }, hAsync("p-divider", { key: 'b626fa811cb56998646bcdf5a97a4c74609a176c', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), hAsync("div", { key: '558020c9ed341db6ce8152a257182d348c6b3243', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, hAsync("slot", { key: '713e1f17ac9d1e1b1014970186de186f66c119ed' })))));
|
|
97712
97737
|
}
|
|
97713
97738
|
static get style() { return modalFooterComponentCss(); }
|
|
97714
97739
|
static get cmpMeta() { return {
|
|
@@ -97754,7 +97779,7 @@ class ModalHeader {
|
|
|
97754
97779
|
*/
|
|
97755
97780
|
close;
|
|
97756
97781
|
render() {
|
|
97757
|
-
return (hAsync(ThemedHost, { key: '
|
|
97782
|
+
return (hAsync(ThemedHost, { key: '97caa936e4889d57114e0deb6cb9aab42b57d39a' }, hAsync("div", { key: 'faf2c5cd48a110ce0178bd35fc8d492826e3ec01', class: header$2() }, hAsync("div", { key: '900c3509a088ae27a6875685ad0d0df2402f365e', class: content$3() }, hAsync("div", { key: 'e4bff0e4059cba5f268a81c95d1d32f3b0625091', class: title() }, hAsync("slot", { key: '6be2bc231cc90b3babd0fdcc99277520a3ea55de' })), this.showClose && (hAsync("p-button", { key: '9d1ad44be49ad87b892b55dfa0b8e0421ff2ea05', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), hAsync("p-smile", { key: '65e23f75390ad8d37f4c5d360c572d1cf6b582ce', class: 'dark:text-hurricane-400' }))));
|
|
97758
97783
|
}
|
|
97759
97784
|
static get style() { return modalHeaderComponentCss(); }
|
|
97760
97785
|
static get cmpMeta() { return {
|
|
@@ -97945,13 +97970,13 @@ class NavigationItem {
|
|
|
97945
97970
|
render() {
|
|
97946
97971
|
const TagType = this.as;
|
|
97947
97972
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
97948
|
-
return (hAsync(ThemedHost, { key: '
|
|
97973
|
+
return (hAsync(ThemedHost, { key: '9dbc90d066c5c8af033baeadfd56b0d6fc97b8e8', class: cn('inline-block', this.class) }, hAsync(TagType, { key: '54794c49462a1695aa7ab2aac1798ebd7e659775', class: navigationItem({
|
|
97949
97974
|
icon: !!this.icon,
|
|
97950
97975
|
active,
|
|
97951
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
97976
|
+
}), href: this.href, target: this.target }, hAsync("div", { key: 'a64642008da3eb90fabef41ff4f7849bd5990769', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: '5717e6bab1ccaff30409cdc470a5e26c0453abc3', variant: this.icon })), hAsync("span", { key: '10724de271347188676041a4d3d34abda19570fe', class: cn({
|
|
97952
97977
|
'has-counter': !!this.counter,
|
|
97953
97978
|
'w-full': this.applyFullWidth,
|
|
97954
|
-
}) }, hAsync("slot", { key: '
|
|
97979
|
+
}) }, hAsync("slot", { key: 'c28eb7ba26a618dcd80cfb53a9b6e99f202be44c' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: '3c75ef84bea0f90c136544c30aa32bc3bb5de311' }, this.counter)), !!this.loading && hAsync("p-loader", { key: '0039f85358dcdd014ba98415256dc49be0daf366', class: 'ml-auto' }))));
|
|
97955
97980
|
}
|
|
97956
97981
|
static get style() { return navigationItemComponentCss(); }
|
|
97957
97982
|
static get cmpMeta() { return {
|
|
@@ -97985,7 +98010,7 @@ class NavigationSection {
|
|
|
97985
98010
|
*/
|
|
97986
98011
|
header;
|
|
97987
98012
|
render() {
|
|
97988
|
-
return (hAsync(ThemedHost, { key: '
|
|
98013
|
+
return (hAsync(ThemedHost, { key: 'a0ca4e59eecc786d21f19b5cf19109ff2ecff9c2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (hAsync("p-navigation-title", { key: '2c01baaaff7f298d2589c62571cc765c885c7c21' }, this.header)), hAsync("div", { key: 'e92d1f46d8fb376f93097bb29d47983055d0657d', class: 'flex flex-col' }, hAsync("slot", { key: '6e68b9723d5ae4f738c3f56d6c8c73fbb824e497' }))));
|
|
97989
98014
|
}
|
|
97990
98015
|
static get style() { return navigationSectionComponentCss(); }
|
|
97991
98016
|
static get cmpMeta() { return {
|
|
@@ -98007,7 +98032,7 @@ class NavigationTitle {
|
|
|
98007
98032
|
registerInstance(this, hostRef);
|
|
98008
98033
|
}
|
|
98009
98034
|
render() {
|
|
98010
|
-
return (hAsync(ThemedHost, { key: '
|
|
98035
|
+
return (hAsync(ThemedHost, { key: 'db765d63fa61955fee0327c9e26a256503e0399a', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("slot", { key: '8f4663dd7b3ded8623cba86f0d57b219a037722d' })));
|
|
98011
98036
|
}
|
|
98012
98037
|
static get style() { return navigationTitleComponentCss(); }
|
|
98013
98038
|
static get cmpMeta() { return {
|
|
@@ -98086,12 +98111,12 @@ class Pagination {
|
|
|
98086
98111
|
_hasPaginationPages = true;
|
|
98087
98112
|
render() {
|
|
98088
98113
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
98089
|
-
return (hAsync(ThemedHost, { key: '
|
|
98114
|
+
return (hAsync(ThemedHost, { key: 'a5a07358c2ab6751f4d101c6001765984338c0f5' }, hAsync("div", { key: 'f56d13ec01851b1342129c1f815b85d5ee2ca536', class: pagination$1({
|
|
98090
98115
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
98091
98116
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
98092
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '
|
|
98117
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '76d975d6c125a8f396a02f09fae593693fa2beda' }, hAsync("p-pagination-size", { key: 'ded600f766ad55ad0c191bf1e87796176c6dd395', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
98093
98118
|
this.hideOnSinglePage &&
|
|
98094
|
-
this._hasPaginationPages && (hAsync("p-divider", { key: '
|
|
98119
|
+
this._hasPaginationPages && (hAsync("p-divider", { key: '624f38b4cab761accfca28f4ced270449c6f0a7d', 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: 'cd4a6b794c6a2ff43904b1f718555a3a9752b843', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
98095
98120
|
this._hasPaginationPages = detail > 1;
|
|
98096
98121
|
this.pagesChange.emit(detail);
|
|
98097
98122
|
} })))));
|
|
@@ -98517,12 +98542,12 @@ class PaginationPagesItem {
|
|
|
98517
98542
|
*/
|
|
98518
98543
|
disabled = false;
|
|
98519
98544
|
render() {
|
|
98520
|
-
return (hAsync(ThemedHost, { key: '
|
|
98545
|
+
return (hAsync(ThemedHost, { key: '5bf733cfbe48cb8b409eedbd76cfab5a5603b873' }, hAsync("div", { key: '691cccbf888009485d38b3d1effcc8001a9400d5', class: item$2({
|
|
98521
98546
|
variant: this.variant ?? 'default',
|
|
98522
98547
|
active: asBoolean(this.active),
|
|
98523
98548
|
hover: asBoolean(this.hover, true),
|
|
98524
98549
|
disabled: asBoolean(this.disabled),
|
|
98525
|
-
}) }, hAsync("slot", { key: '
|
|
98550
|
+
}) }, hAsync("slot", { key: '6c7936818fc6eb3c9c7372abc6ef280e261fc0b5' }))));
|
|
98526
98551
|
}
|
|
98527
98552
|
static get style() { return paginationPagesItemComponentCss(); }
|
|
98528
98553
|
static get cmpMeta() { return {
|
|
@@ -98689,7 +98714,7 @@ class Profile {
|
|
|
98689
98714
|
}
|
|
98690
98715
|
render() {
|
|
98691
98716
|
const content = this._getContent();
|
|
98692
|
-
return (hAsync(ThemedHost, { key: '
|
|
98717
|
+
return (hAsync(ThemedHost, { key: 'acfcfd3ddb3bae8247f1df99884ac155be45aa86' }, 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)));
|
|
98693
98718
|
}
|
|
98694
98719
|
slotchange() {
|
|
98695
98720
|
this._checkDropdownSlot();
|
|
@@ -98855,11 +98880,11 @@ class Radio {
|
|
|
98855
98880
|
}
|
|
98856
98881
|
render() {
|
|
98857
98882
|
const id = this.id?.length ? this.id : this._nonce;
|
|
98858
|
-
return (hAsync(ThemedHost, { key: '
|
|
98883
|
+
return (hAsync(ThemedHost, { key: 'effd0968a1cbf7cd31c3441ccad232da43899206' }, hAsync("label", { key: 'ecc285e8a369fe4ffc0eb91d1ee26f6088f4f0d0', class: 'flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: 'e7299013f6fde79c2062184fa7cbcede4d287085', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: '5acb3ad3aaa5892fce873f0a6554391d5f2a243e', checked: this.checked, class: radio({
|
|
98859
98884
|
disabled: asBoolean(this.disabled),
|
|
98860
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
98885
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), hAsync("div", { key: '985c47508adad40649472553d66e7b368894be15', class: circle$2({
|
|
98861
98886
|
disabled: asBoolean(this.disabled),
|
|
98862
|
-
}) })), hAsync("div", { key: '
|
|
98887
|
+
}) })), hAsync("div", { key: '9bc44d293acd42a224c718bd785b472170c7c6be', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: '4a845cff3b2680c3a6bbf85661a19b0eb70e004a' })))));
|
|
98863
98888
|
}
|
|
98864
98889
|
_onChange(ev) {
|
|
98865
98890
|
if (asBoolean(this.disabled)) {
|
|
@@ -98923,13 +98948,13 @@ class Range {
|
|
|
98923
98948
|
valueChange;
|
|
98924
98949
|
render() {
|
|
98925
98950
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
98926
|
-
return (hAsync(ThemedHost, { key: '
|
|
98951
|
+
return (hAsync(ThemedHost, { key: 'fd0a731e7d20e593d1065248f50db452b17ee1cb' }, hAsync("div", { key: 'ff11a123161008ab1df2ecd6409d36930a2caeac', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: '1728a242b890cd3396f46b1dbfe4b91293e0e11d', variant: 'minus' }), hAsync("div", { key: 'cfb6620df8ad9b2dfe66334ebd931d3384b7523a', class: 'relative h-6 flex-1' }, hAsync("input", { key: '0ac09cea4ef3f55a96f19216e2826620bdbc33d4', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
98927
98952
|
const value = ev.target.value;
|
|
98928
98953
|
this.value = Number.parseFloat(value);
|
|
98929
98954
|
this.valueChange.emit(value);
|
|
98930
|
-
} }), hAsync("div", { key: '
|
|
98955
|
+
} }), hAsync("div", { key: '9e5bc94ed20c00fcb15f1d973828feb910e0bbfc', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
98931
98956
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
98932
|
-
} })), hAsync("p-icon", { key: '
|
|
98957
|
+
} })), hAsync("p-icon", { key: 'df9f96eb46d92d02777bbb0bc9e58f6cf0d21ca7', variant: 'plus' }))));
|
|
98933
98958
|
}
|
|
98934
98959
|
static get style() { return rangeComponentCss(); }
|
|
98935
98960
|
static get cmpMeta() { return {
|
|
@@ -98954,7 +98979,7 @@ class SegmentContainer {
|
|
|
98954
98979
|
registerInstance(this, hostRef);
|
|
98955
98980
|
}
|
|
98956
98981
|
render() {
|
|
98957
|
-
return (hAsync(ThemedHost, { key: '
|
|
98982
|
+
return (hAsync(ThemedHost, { key: '8b6e08361ef199f606a91e4912dc35a2600e3d25' }, hAsync("div", { key: 'bdcce7cd87b6568de2147e5ad2bb476fc2078777', class: '\n flex rounded-2xl border border-solid border-off-white-700\n bg-off-white-300 p-1\n dark:border-hurricane-400 dark:bg-hurricane-600\n ' }, hAsync("slot", { key: '48d9b4ca265930d731fc6b5e7bf8f4e08f49d839' }))));
|
|
98958
98983
|
}
|
|
98959
98984
|
static get style() { return segmentContainerComponentCss(); }
|
|
98960
98985
|
static get cmpMeta() { return {
|
|
@@ -99040,11 +99065,11 @@ class SegmentItem {
|
|
|
99040
99065
|
iconRotate;
|
|
99041
99066
|
render() {
|
|
99042
99067
|
const descriptionSlot = this.variant === 'block' ? hAsync("slot", { name: 'description' }) : null;
|
|
99043
|
-
return (hAsync(ThemedHost, { key: '
|
|
99068
|
+
return (hAsync(ThemedHost, { key: 'ebc0188be232381db99e0e1da3a4c9fca228bada' }, hAsync("div", { key: 'e15f7e5b32d163f146e4e7ac94c3e97b0df8c9f0', class: segmentItem({
|
|
99044
99069
|
variant: this.variant,
|
|
99045
99070
|
active: asBoolean(this.active),
|
|
99046
99071
|
iconOnly: asBoolean(this.iconOnly),
|
|
99047
|
-
}) }, this.icon && (hAsync("p-icon", { key: '
|
|
99072
|
+
}) }, this.icon && (hAsync("p-icon", { key: '1c2635bc00d923d68e186aa672d05914f58d4526', class: cn('mb-1', {
|
|
99048
99073
|
'text-storm-300 dark:text-hurricane-200': !asBoolean(this.active),
|
|
99049
99074
|
'text-indigo-200': asBoolean(this.active),
|
|
99050
99075
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), this.variant === 'default' ? (hAsync("slot", null)) : (hAsync("div", { class: 'flex flex-col items-center' }, hAsync("p", { class: cn(`
|
|
@@ -99129,6 +99154,7 @@ class Select {
|
|
|
99129
99154
|
this.valueChange = createEvent(this, "valueChange", 3);
|
|
99130
99155
|
this.selectAllChange = createEvent(this, "selectAllChange", 3);
|
|
99131
99156
|
this.dropdownShown = createEvent(this, "dropdownShown", 3);
|
|
99157
|
+
this.itemHover = createEvent(this, "itemHover", 3);
|
|
99132
99158
|
this.add = createEvent(this, "add", 3);
|
|
99133
99159
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
99134
99160
|
this._internals = hostRef.$hostElement$["s-ei"];
|
|
@@ -99282,6 +99308,10 @@ class Select {
|
|
|
99282
99308
|
* Event when the dropdown shows
|
|
99283
99309
|
*/
|
|
99284
99310
|
dropdownShown;
|
|
99311
|
+
/**
|
|
99312
|
+
* Event when hovering an item
|
|
99313
|
+
*/
|
|
99314
|
+
itemHover;
|
|
99285
99315
|
/**
|
|
99286
99316
|
* The size of the input group used by the select
|
|
99287
99317
|
*/
|
|
@@ -99425,8 +99455,8 @@ class Select {
|
|
|
99425
99455
|
if (this.error?.length) {
|
|
99426
99456
|
buttonIcon = 'warning';
|
|
99427
99457
|
}
|
|
99428
|
-
return (hAsync(ThemedHost, { key: '
|
|
99429
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: '
|
|
99458
|
+
return (hAsync(ThemedHost, { key: 'b23bf53949366811ec68b34250ddd36d3d86efc0' }, hAsync("p-field-container", { key: '1429705940cd1ec6f88d28be966273731f6e4f4e', 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: 'd006fc242b99db8979509be0eaf2aba96d6a5051', 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: '6bf30b07753477e8ce4ff9f60d739c71f1ab3388', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
99459
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: 'b940d807179e88c328366bcc671eaf467736ed38', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
99430
99460
|
}
|
|
99431
99461
|
documentClickHandler(event) {
|
|
99432
99462
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -99477,6 +99507,9 @@ class Select {
|
|
|
99477
99507
|
}
|
|
99478
99508
|
if (!this._selectedItem && !value && this.autoSelectFirst) {
|
|
99479
99509
|
value = this._items[0];
|
|
99510
|
+
if (value?.type === 'category') {
|
|
99511
|
+
value = this._items[1];
|
|
99512
|
+
}
|
|
99480
99513
|
}
|
|
99481
99514
|
const identifier = typeof value === 'object' && value !== null
|
|
99482
99515
|
? value[this._identifierKey]
|
|
@@ -99578,12 +99611,20 @@ class Select {
|
|
|
99578
99611
|
.indexOf(this.query?.toLowerCase()) >= 0);
|
|
99579
99612
|
}
|
|
99580
99613
|
_getItems() {
|
|
99581
|
-
let items = this._items.map(item => {
|
|
99614
|
+
let items = this._items.map((item, index) => {
|
|
99615
|
+
if (item.type === 'category') {
|
|
99616
|
+
return (hAsync("p-dropdown-menu-item", { slot: 'items', useContainer: false, variant: 'category' }, item.text));
|
|
99617
|
+
}
|
|
99582
99618
|
const isSelected = this.multi && !!this._selectedItem && Array.isArray(this._selectedItem)
|
|
99583
99619
|
? this._selectedItem.some(i => i[this._identifierKey] === item[this._identifierKey])
|
|
99584
99620
|
: item[this._identifierKey] ===
|
|
99585
99621
|
this._selectedItem?.[this._identifierKey];
|
|
99586
|
-
return (hAsync("p-dropdown-menu-item", { active: isSelected, checkbox: this.multi ? true : false, enableTextWrap: this.enableTextWrap, slot: 'items', useContainer: false, onClick: () => this._selectValue(item)
|
|
99622
|
+
return (hAsync("p-dropdown-menu-item", { active: isSelected, checkbox: this.multi ? true : false, enableTextWrap: this.enableTextWrap, slot: 'items', useContainer: false, onClick: () => this._selectValue(item), onMouseEnter: event => this.itemHover.emit({
|
|
99623
|
+
event,
|
|
99624
|
+
ref: event.target,
|
|
99625
|
+
item,
|
|
99626
|
+
index,
|
|
99627
|
+
}) }, this._getDisplay(item, false, isSelected)));
|
|
99587
99628
|
});
|
|
99588
99629
|
if (this._items.length === 0 && !this.showAddItem) {
|
|
99589
99630
|
items = [
|
|
@@ -99703,7 +99744,29 @@ class Select {
|
|
|
99703
99744
|
if (!this.items || this.loading) {
|
|
99704
99745
|
return [];
|
|
99705
99746
|
}
|
|
99706
|
-
let items =
|
|
99747
|
+
let items = this.items;
|
|
99748
|
+
if (typeof this.items === 'string') {
|
|
99749
|
+
items = JSON.parse(this.items);
|
|
99750
|
+
}
|
|
99751
|
+
if (typeof items === 'object' && !Array.isArray(items)) {
|
|
99752
|
+
const categorizedItems = [];
|
|
99753
|
+
for (const key in items) {
|
|
99754
|
+
let itemsInCat = items[key];
|
|
99755
|
+
if (typeof items[key]?.[0] === 'string') {
|
|
99756
|
+
this.displayKey = 'text';
|
|
99757
|
+
this.valueKey = 'value';
|
|
99758
|
+
itemsInCat = items[key].map(str => ({
|
|
99759
|
+
value: str,
|
|
99760
|
+
text: str,
|
|
99761
|
+
}));
|
|
99762
|
+
}
|
|
99763
|
+
categorizedItems.push({
|
|
99764
|
+
type: 'category',
|
|
99765
|
+
text: key,
|
|
99766
|
+
}, ...itemsInCat);
|
|
99767
|
+
}
|
|
99768
|
+
items = categorizedItems;
|
|
99769
|
+
}
|
|
99707
99770
|
if (typeof items?.[0] === 'string') {
|
|
99708
99771
|
this.displayKey = 'text';
|
|
99709
99772
|
this.valueKey = 'value';
|
|
@@ -99712,8 +99775,12 @@ class Select {
|
|
|
99712
99775
|
text: str,
|
|
99713
99776
|
}));
|
|
99714
99777
|
}
|
|
99778
|
+
let parsedItems = items;
|
|
99715
99779
|
if (this.query?.length && !this.asyncFilter) {
|
|
99716
|
-
|
|
99780
|
+
parsedItems = parsedItems.filter(item => {
|
|
99781
|
+
if (item.type === 'category') {
|
|
99782
|
+
return true;
|
|
99783
|
+
}
|
|
99717
99784
|
if (this.queryKey) {
|
|
99718
99785
|
return this._checkvalue(this.queryKey, item);
|
|
99719
99786
|
}
|
|
@@ -99722,9 +99789,9 @@ class Select {
|
|
|
99722
99789
|
});
|
|
99723
99790
|
}
|
|
99724
99791
|
if (!applyPagination) {
|
|
99725
|
-
return
|
|
99792
|
+
return parsedItems;
|
|
99726
99793
|
}
|
|
99727
|
-
return
|
|
99794
|
+
return parsedItems?.slice(0, this.maxDisplayedItems);
|
|
99728
99795
|
}
|
|
99729
99796
|
static get formAssociated() { return true; }
|
|
99730
99797
|
static get watchers() { return {
|
|
@@ -99850,7 +99917,7 @@ class Smile {
|
|
|
99850
99917
|
*/
|
|
99851
99918
|
variant = 'modal';
|
|
99852
99919
|
render() {
|
|
99853
|
-
return (hAsync(Host, { key: '
|
|
99920
|
+
return (hAsync(Host, { key: '3451f7cd02efc1f172915d8f0556daa248d26a59', class: smile({ variant: this.variant }) }, hAsync("div", { key: '7fef3c83f69ddabb4037ac5e143162a432276c67', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
99854
99921
|
}
|
|
99855
99922
|
static get style() { return smileComponentCss(); }
|
|
99856
99923
|
static get cmpMeta() { return {
|
|
@@ -100338,21 +100405,21 @@ class StepperItem {
|
|
|
100338
100405
|
*/
|
|
100339
100406
|
active = false;
|
|
100340
100407
|
render() {
|
|
100341
|
-
return (hAsync(ThemedHost, { key: '
|
|
100408
|
+
return (hAsync(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, hAsync("div", { key: '83a55a58b2e4cd7654e548a83ee460022076fadd', class: item$1({
|
|
100342
100409
|
align: this.variant === 'default' ? this.align : 'center',
|
|
100343
100410
|
contentPosition: this.contentPosition,
|
|
100344
|
-
}) }, hAsync("div", { key: '
|
|
100411
|
+
}) }, hAsync("div", { key: 'c4ed8f04cc1543139095c8b5d8df396a4d574be9', class: circle$1({
|
|
100345
100412
|
align: this.align,
|
|
100346
100413
|
direction: this.direction,
|
|
100347
100414
|
active: asBoolean(this.active),
|
|
100348
100415
|
finished: asBoolean(this.finished),
|
|
100349
100416
|
variant: this.variant,
|
|
100350
|
-
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (hAsync("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), hAsync("div", { key: '
|
|
100417
|
+
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (hAsync("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), hAsync("div", { key: '6836d3a6900c78d9e398cf54cc90ec9c55e97fa3', class: content$2({
|
|
100351
100418
|
active: asBoolean(this.active),
|
|
100352
100419
|
finished: asBoolean(this.finished),
|
|
100353
100420
|
direction: this.direction,
|
|
100354
100421
|
variant: this.variant,
|
|
100355
|
-
}) }, hAsync("slot", { key: '
|
|
100422
|
+
}) }, hAsync("slot", { key: '34598e124bef3de28a393513adb936e0fc1aba84' })))));
|
|
100356
100423
|
}
|
|
100357
100424
|
static get style() { return stepperItemComponentCss(); }
|
|
100358
100425
|
static get cmpMeta() { return {
|
|
@@ -100389,7 +100456,7 @@ class StepperLine {
|
|
|
100389
100456
|
*/
|
|
100390
100457
|
direction = 'horizontal';
|
|
100391
100458
|
render() {
|
|
100392
|
-
return hAsync(ThemedHost, { key: '
|
|
100459
|
+
return hAsync(ThemedHost, { key: '3822db07a479031ea2ed2b85e964e87c74fcf3a1' });
|
|
100393
100460
|
}
|
|
100394
100461
|
static get style() { return stepperLineComponentCss(); }
|
|
100395
100462
|
static get cmpMeta() { return {
|
|
@@ -100699,7 +100766,7 @@ class TabContainer {
|
|
|
100699
100766
|
registerInstance(this, hostRef);
|
|
100700
100767
|
}
|
|
100701
100768
|
render() {
|
|
100702
|
-
return (hAsync("div", { key: '
|
|
100769
|
+
return (hAsync("div", { key: 'e89642efdbdac9c36ea1b79ed2f3f7002975b4d9', class: 'relative flex h-8 w-full flex-col' }, hAsync("div", { key: '4e11ddb4ad1adbb1b5f6c8f13ceabd7417c5cd2f', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, hAsync("slot", { key: 'e1a80331ad4b1e1dd4a93b6c06e2d7e1df68d8d7' })), hAsync("p-divider", { key: '317e13b7257271335a4e68596a6269e6bf4ae865', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
100703
100770
|
}
|
|
100704
100771
|
static get style() { return tabContainerComponentCss(); }
|
|
100705
100772
|
static get cmpMeta() { return {
|
|
@@ -100754,7 +100821,7 @@ class TabItem {
|
|
|
100754
100821
|
*/
|
|
100755
100822
|
active = false;
|
|
100756
100823
|
render() {
|
|
100757
|
-
return (hAsync(ThemedHost, { key: '
|
|
100824
|
+
return (hAsync(ThemedHost, { key: '9c61f2d31392fe6b36493d1ae717ce6e02fe4f21' }, hAsync("div", { key: 'f673837150832946c4186588e8e92ba1534d2f32', class: item({ active: this.active }) }, hAsync("slot", { key: '82eb84bfb66d1ed93bec1d8925dece7cd15411de' }))));
|
|
100758
100825
|
}
|
|
100759
100826
|
static get style() { return tabItemComponentCss(); }
|
|
100760
100827
|
static get cmpMeta() { return {
|
|
@@ -101038,7 +101105,7 @@ class Table {
|
|
|
101038
101105
|
this.hasRendered.emit();
|
|
101039
101106
|
}
|
|
101040
101107
|
render() {
|
|
101041
|
-
return (hAsync(Host, { key: '
|
|
101108
|
+
return (hAsync(Host, { key: 'd479eadd465ca89cb946b49a57baa2a9b59662f3', class: 'z-0 flex flex-col' }, hAsync("p-table-container", { key: '4561faab83f090f8b2a93b2020851d8bdca654bf' }, this.enableHeader && (hAsync("p-table-header", { key: '42f64f4650998137028ac3364842dd4637682ca1', actionButtonTemplate: this.actionButtonTemplate, actionIcon: this.actionButtonIcon, actionLoading: this.actionButtonLoading, actionText: this.actionButtonText, activeQuickFilterIdentifier: this.activeQuickFilterIdentifier, canUseAction: this.actionButtonEnabled, class: 'mb-8', enableAction: this.enableAction, enableExport: this.enableExport, enableFilter: this.enableFilter, enableFilterDesktop: this.enableFilterDesktop, enableSearch: this.enableSearch, filterButtonTemplate: this.filterButtonTemplate, itemsSelectedAmount: this.selectedRows?.length, loading: this.headerLoading, query: this.query, quickFilters: this.quickFilters, selectedFiltersAmount: this.selectedFiltersAmount, onAction: () => this.action.emit(), onExport: () => this.export.emit(), onFilter: () => this.filter.emit(), onQueryChange: ({ detail }) => this.queryChange.emit(detail), onQuickFilter: ({ detail }) => this.quickFilter.emit(detail) }, this._hasCustomFilterSlot && (hAsync("slot", { key: '4330a128ee1880c45651cce01c455043ab3d9358', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (hAsync("slot", { key: '5842f3baaf1c0b5a1731412b3867b4aa3e75f473', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), hAsync("div", { key: '4ebfe041d95457578b879604ffc42edd5ebf109d', class: 'flex flex-1 flex-col' }, this._getRows(), hAsync("slot", { key: '86102819a49542a813f5ab19d5f028b144547096', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (hAsync("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
|
|
101042
101109
|
hasFooter: this.enableFooter && !this._footerHidden,
|
|
101043
101110
|
active: !!this.selectedRows?.length,
|
|
101044
101111
|
shown: this._floatingMenuShown,
|
|
@@ -101048,7 +101115,7 @@ class Table {
|
|
|
101048
101115
|
!!a.action &&
|
|
101049
101116
|
a.type === 'single'
|
|
101050
101117
|
? a.action(this.selectedRows[0], false)
|
|
101051
|
-
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (hAsync("p-table-footer", { key: '
|
|
101118
|
+
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (hAsync("p-table-footer", { key: '5134a20cac241a36ec3c9e63af654e8c911379c4', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, loading: this.footerLoading, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, tableHeaderHasAction: this.enableHeader &&
|
|
101052
101119
|
this.enableAction &&
|
|
101053
101120
|
this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
|
|
101054
101121
|
}
|
|
@@ -101724,7 +101791,7 @@ class TableContainer {
|
|
|
101724
101791
|
registerInstance(this, hostRef);
|
|
101725
101792
|
}
|
|
101726
101793
|
render() {
|
|
101727
|
-
return (hAsync(Host, { key: '
|
|
101794
|
+
return (hAsync(Host, { key: 'b9d7f44f21b11338c133bcd9c49de1a6a3da7587', class: container$1() }, hAsync("slot", { key: '5e7f9650d045b9b46d8c3357dd4f23f5eedbbc2c' })));
|
|
101728
101795
|
}
|
|
101729
101796
|
static get style() { return tableContainerComponentCss(); }
|
|
101730
101797
|
static get cmpMeta() { return {
|
|
@@ -111563,13 +111630,13 @@ class TableHeader {
|
|
|
111563
111630
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
111564
111631
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
111565
111632
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
111566
|
-
return (hAsync(ThemedHost, { key: '
|
|
111567
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (hAsync("div", { key: '
|
|
111633
|
+
return (hAsync(ThemedHost, { key: '06a91f32ec37d93fcc345d1ffce3d32546085e84' }, hAsync("div", { key: '527d621bb567945dc57716480245847f4045bb02', class: header() }, this.loading && (hAsync("p-loader", { key: '48ddfce44e02e54cba2d5fa11f3195caefa6238d', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
111634
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (hAsync("div", { key: '594afb205bb8acbfcfe9a6090bbdf3b3feada9d7', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && hAsync("slot", { key: '31db5507e955eb9fcc954b8a4df5a46c93f30569', name: 'custom-filter' }), quickFilters.length > 0 && (hAsync("p-segment-container", { key: 'c2ba9983ea0869a9bc9a7d6ed1fe37a2a7dc8bec', class: cn({
|
|
111568
111635
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
111569
111636
|
flex: !this.hideQuickFiltersOnMobile,
|
|
111570
111637
|
}) }, quickFilters.map(item => (hAsync("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
111571
111638
|
? item.text
|
|
111572
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), hAsync("div", { key: '
|
|
111639
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), hAsync("div", { key: '5f2ef9e242bca379a09467f7efd2c4266d8366ba', class: '\n flex flex-col justify-end gap-2\n desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center\n ' }, this.enableSearch && (hAsync("p-field", { key: '10d8e0955ee7e875f3b117b31e4e904ab68a0a6c', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), hAsync("div", { key: 'd199785614619a10681df3c823dd45a10c1245b5', class: 'flex items-center gap-2' }, this.enableFilter && (hAsync("p-button", { key: 'ec3008c046c8d164027ca4ae6aaa9365cd815b1a', class: `
|
|
111573
111640
|
w-full
|
|
111574
111641
|
${this.enableFilterDesktop
|
|
111575
111642
|
? 'desktop-xs:w-auto'
|
|
@@ -111577,7 +111644,7 @@ class TableHeader {
|
|
|
111577
111644
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
111578
111645
|
? this.filterButtonTemplate()
|
|
111579
111646
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
111580
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (hAsync("p-divider", { key: '
|
|
111647
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (hAsync("p-divider", { key: '9a063d3dbf6a9baf405c56d12cdbfc599ea77bd7', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (hAsync("p-button", { key: '95628448d5455954bd31c42b81fd64278de30ba9', class: '\n w-full\n desktop-xs:w-auto\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && hAsync("slot", { key: 'd0355fc9a41a71f5de380b2c5c948ca7f43afd06', name: 'custom-actions' })), this.enableAction && this.canUseAction && (hAsync("div", { key: '6ca4d73e0c62937a8084c1862ba102e1027b026d', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
111581
111648
|
}
|
|
111582
111649
|
async _setLocales() {
|
|
111583
111650
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -111853,16 +111920,16 @@ class TableRowActionsContainer {
|
|
|
111853
111920
|
*/
|
|
111854
111921
|
checked = false;
|
|
111855
111922
|
render() {
|
|
111856
|
-
return (hAsync(ThemedHost, { key: '
|
|
111923
|
+
return (hAsync(ThemedHost, { key: 'c44d458c5c90a54a179f7b58f9db306d31bf9d05' }, hAsync("div", { key: 'c8290412592c8cf51c19e78287b7cccf0744276f', class: cn(`
|
|
111857
111924
|
flex
|
|
111858
111925
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
111859
111926
|
`, {
|
|
111860
111927
|
'dark:before:from-hurricane-600': !this.checked,
|
|
111861
111928
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
111862
|
-
}) }, hAsync("div", { key: '
|
|
111929
|
+
}) }, hAsync("div", { key: '1a1a07d586b461606e39976a5c68240b6feae2e4', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
111863
111930
|
'dark:bg-hurricane-600': !this.checked,
|
|
111864
111931
|
'dark:bg-hurricane-400': !!this.checked,
|
|
111865
|
-
}) }, hAsync("slot", { key: '
|
|
111932
|
+
}) }, hAsync("slot", { key: 'be144a40603d355ecc6eea9c5d410437ad8654eb' })))));
|
|
111866
111933
|
}
|
|
111867
111934
|
static get style() { return tableRowActionsContainerComponentCss(); }
|
|
111868
111935
|
static get cmpMeta() { return {
|
|
@@ -112013,9 +112080,9 @@ class ToastContainer {
|
|
|
112013
112080
|
*/
|
|
112014
112081
|
placement = 'top-end';
|
|
112015
112082
|
render() {
|
|
112016
|
-
return (hAsync("div", { key: '
|
|
112083
|
+
return (hAsync("div", { key: 'b8450106a439c1afa6fcce3dccc3d52d982c9c0f', class: container({
|
|
112017
112084
|
placement: this.placement,
|
|
112018
|
-
}) }, hAsync("slot", { key: '
|
|
112085
|
+
}) }, hAsync("slot", { key: '6a6203ca9e4c53e1d74f834bd023a60a5241f415' })));
|
|
112019
112086
|
}
|
|
112020
112087
|
static get style() { return toastContainerComponentCss(); }
|
|
112021
112088
|
static get cmpMeta() { return {
|
|
@@ -112173,11 +112240,11 @@ class Toggle {
|
|
|
112173
112240
|
}
|
|
112174
112241
|
render() {
|
|
112175
112242
|
const id = this.id?.length ? this.id : this._nonce;
|
|
112176
|
-
return (hAsync(ThemedHost, { key: '
|
|
112243
|
+
return (hAsync(ThemedHost, { key: '95b39ce4f5dc7b62a04d7901316d8da577b611f1' }, hAsync("label", { key: '24c67608985ef2f63dcd09d875f04cea03d6ae17', class: 'flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: 'c54f1bf846aff7870ff43b8860f48caa699b70ab', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, hAsync("input", { key: '1f724e6e8595a8ad13cedf24cf709a0c6009d025', checked: !!this.checked, class: toggle({
|
|
112177
112244
|
disabled: asBoolean(this.disabled),
|
|
112178
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
112245
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '09c80849a3d22d20008de5349c9212edf080dd24', class: circle({
|
|
112179
112246
|
disabled: asBoolean(this.disabled),
|
|
112180
|
-
}) })), hAsync("div", { key: '
|
|
112247
|
+
}) })), hAsync("div", { key: '925b703dee98131f67ca94f880f04454eb5cbcc6', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: 'a70cd6e4d3a12c71e474979517976fa09a559de4' })))));
|
|
112181
112248
|
}
|
|
112182
112249
|
_onChange(ev) {
|
|
112183
112250
|
if (asBoolean(this.disabled)) {
|
|
@@ -112308,10 +112375,10 @@ class Tooltip {
|
|
|
112308
112375
|
this._cleanup = null;
|
|
112309
112376
|
}
|
|
112310
112377
|
render() {
|
|
112311
|
-
return (hAsync(ThemedHost, { key: '
|
|
112378
|
+
return (hAsync(ThemedHost, { key: 'ad852c968b1119825237d1c9e4c67083156163f2', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: 'c51cfa0a0d9df2f529f05aadacabc257c7253aff', name: 'trigger' }), hAsync("div", { key: 'd07f501940600d2e29f20c45b373074b58c4a71f', class: popover({
|
|
112312
112379
|
variant: this.variant,
|
|
112313
112380
|
strategy: this.strategy,
|
|
112314
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '
|
|
112381
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: 'e203d8e859a60f3ff4ae6fd0608211d4210bfdf2', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: '6cc7c7d1465ffbea310710d5789a03cda13e36f3', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? hAsync("slot", { key: '1ff33cc0032b792cf14f29405b876ea69a0dfbeb', name: 'content' })))));
|
|
112315
112382
|
}
|
|
112316
112383
|
clickHandler() {
|
|
112317
112384
|
if (this.variant === 'hover' || !this.enableUserInput) {
|