@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
|
@@ -63,6 +63,7 @@ const Select = class {
|
|
|
63
63
|
this.valueChange = createEvent(this, "valueChange", 3);
|
|
64
64
|
this.selectAllChange = createEvent(this, "selectAllChange", 3);
|
|
65
65
|
this.dropdownShown = createEvent(this, "dropdownShown", 3);
|
|
66
|
+
this.itemHover = createEvent(this, "itemHover", 3);
|
|
66
67
|
this.add = createEvent(this, "add", 3);
|
|
67
68
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
68
69
|
this._internals = hostRef.$hostElement$["s-ei"];
|
|
@@ -216,6 +217,10 @@ const Select = class {
|
|
|
216
217
|
* Event when the dropdown shows
|
|
217
218
|
*/
|
|
218
219
|
dropdownShown;
|
|
220
|
+
/**
|
|
221
|
+
* Event when hovering an item
|
|
222
|
+
*/
|
|
223
|
+
itemHover;
|
|
219
224
|
/**
|
|
220
225
|
* The size of the input group used by the select
|
|
221
226
|
*/
|
|
@@ -359,8 +364,8 @@ const Select = class {
|
|
|
359
364
|
if (this.error?.length) {
|
|
360
365
|
buttonIcon = 'warning';
|
|
361
366
|
}
|
|
362
|
-
return (h(ThemedHost, { key: '
|
|
363
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
367
|
+
return (h(ThemedHost, { key: 'b23bf53949366811ec68b34250ddd36d3d86efc0' }, h("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' }, h("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) }, h("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 &&
|
|
368
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("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()))));
|
|
364
369
|
}
|
|
365
370
|
documentClickHandler(event) {
|
|
366
371
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -411,6 +416,9 @@ const Select = class {
|
|
|
411
416
|
}
|
|
412
417
|
if (!this._selectedItem && !value && this.autoSelectFirst) {
|
|
413
418
|
value = this._items[0];
|
|
419
|
+
if (value?.type === 'category') {
|
|
420
|
+
value = this._items[1];
|
|
421
|
+
}
|
|
414
422
|
}
|
|
415
423
|
const identifier = typeof value === 'object' && value !== null
|
|
416
424
|
? value[this._identifierKey]
|
|
@@ -512,12 +520,20 @@ const Select = class {
|
|
|
512
520
|
.indexOf(this.query?.toLowerCase()) >= 0);
|
|
513
521
|
}
|
|
514
522
|
_getItems() {
|
|
515
|
-
let items = this._items.map(item => {
|
|
523
|
+
let items = this._items.map((item, index) => {
|
|
524
|
+
if (item.type === 'category') {
|
|
525
|
+
return (h("p-dropdown-menu-item", { slot: 'items', useContainer: false, variant: 'category' }, item.text));
|
|
526
|
+
}
|
|
516
527
|
const isSelected = this.multi && !!this._selectedItem && Array.isArray(this._selectedItem)
|
|
517
528
|
? this._selectedItem.some(i => i[this._identifierKey] === item[this._identifierKey])
|
|
518
529
|
: item[this._identifierKey] ===
|
|
519
530
|
this._selectedItem?.[this._identifierKey];
|
|
520
|
-
return (h("p-dropdown-menu-item", { active: isSelected, checkbox: this.multi ? true : false, enableTextWrap: this.enableTextWrap, slot: 'items', useContainer: false, onClick: () => this._selectValue(item)
|
|
531
|
+
return (h("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({
|
|
532
|
+
event,
|
|
533
|
+
ref: event.target,
|
|
534
|
+
item,
|
|
535
|
+
index,
|
|
536
|
+
}) }, this._getDisplay(item, false, isSelected)));
|
|
521
537
|
});
|
|
522
538
|
if (this._items.length === 0 && !this.showAddItem) {
|
|
523
539
|
items = [
|
|
@@ -637,7 +653,29 @@ const Select = class {
|
|
|
637
653
|
if (!this.items || this.loading) {
|
|
638
654
|
return [];
|
|
639
655
|
}
|
|
640
|
-
let items =
|
|
656
|
+
let items = this.items;
|
|
657
|
+
if (typeof this.items === 'string') {
|
|
658
|
+
items = JSON.parse(this.items);
|
|
659
|
+
}
|
|
660
|
+
if (typeof items === 'object' && !Array.isArray(items)) {
|
|
661
|
+
const categorizedItems = [];
|
|
662
|
+
for (const key in items) {
|
|
663
|
+
let itemsInCat = items[key];
|
|
664
|
+
if (typeof items[key]?.[0] === 'string') {
|
|
665
|
+
this.displayKey = 'text';
|
|
666
|
+
this.valueKey = 'value';
|
|
667
|
+
itemsInCat = items[key].map(str => ({
|
|
668
|
+
value: str,
|
|
669
|
+
text: str,
|
|
670
|
+
}));
|
|
671
|
+
}
|
|
672
|
+
categorizedItems.push({
|
|
673
|
+
type: 'category',
|
|
674
|
+
text: key,
|
|
675
|
+
}, ...itemsInCat);
|
|
676
|
+
}
|
|
677
|
+
items = categorizedItems;
|
|
678
|
+
}
|
|
641
679
|
if (typeof items?.[0] === 'string') {
|
|
642
680
|
this.displayKey = 'text';
|
|
643
681
|
this.valueKey = 'value';
|
|
@@ -646,8 +684,12 @@ const Select = class {
|
|
|
646
684
|
text: str,
|
|
647
685
|
}));
|
|
648
686
|
}
|
|
687
|
+
let parsedItems = items;
|
|
649
688
|
if (this.query?.length && !this.asyncFilter) {
|
|
650
|
-
|
|
689
|
+
parsedItems = parsedItems.filter(item => {
|
|
690
|
+
if (item.type === 'category') {
|
|
691
|
+
return true;
|
|
692
|
+
}
|
|
651
693
|
if (this.queryKey) {
|
|
652
694
|
return this._checkvalue(this.queryKey, item);
|
|
653
695
|
}
|
|
@@ -656,9 +698,9 @@ const Select = class {
|
|
|
656
698
|
});
|
|
657
699
|
}
|
|
658
700
|
if (!applyPagination) {
|
|
659
|
-
return
|
|
701
|
+
return parsedItems;
|
|
660
702
|
}
|
|
661
|
-
return
|
|
703
|
+
return parsedItems?.slice(0, this.maxDisplayedItems);
|
|
662
704
|
}
|
|
663
705
|
static get formAssociated() { return true; }
|
|
664
706
|
static get watchers() { return {
|
|
@@ -52,7 +52,7 @@ const Smile = class {
|
|
|
52
52
|
*/
|
|
53
53
|
variant = 'modal';
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '3451f7cd02efc1f172915d8f0556daa248d26a59', class: smile({ variant: this.variant }) }, h("div", { key: '7fef3c83f69ddabb4037ac5e143162a432276c67', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
Smile.style = smileComponentCss();
|
|
@@ -217,21 +217,21 @@ const StepperItem = class {
|
|
|
217
217
|
*/
|
|
218
218
|
active = false;
|
|
219
219
|
render() {
|
|
220
|
-
return (h(ThemedHost, { key: '
|
|
220
|
+
return (h(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, h("div", { key: '83a55a58b2e4cd7654e548a83ee460022076fadd', class: item({
|
|
221
221
|
align: this.variant === 'default' ? this.align : 'center',
|
|
222
222
|
contentPosition: this.contentPosition,
|
|
223
|
-
}) }, h("div", { key: '
|
|
223
|
+
}) }, h("div", { key: 'c4ed8f04cc1543139095c8b5d8df396a4d574be9', class: circle({
|
|
224
224
|
align: this.align,
|
|
225
225
|
direction: this.direction,
|
|
226
226
|
active: asBoolean(this.active),
|
|
227
227
|
finished: asBoolean(this.finished),
|
|
228
228
|
variant: this.variant,
|
|
229
|
-
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '
|
|
229
|
+
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '6836d3a6900c78d9e398cf54cc90ec9c55e97fa3', class: content({
|
|
230
230
|
active: asBoolean(this.active),
|
|
231
231
|
finished: asBoolean(this.finished),
|
|
232
232
|
direction: this.direction,
|
|
233
233
|
variant: this.variant,
|
|
234
|
-
}) }, h("slot", { key: '
|
|
234
|
+
}) }, h("slot", { key: '34598e124bef3de28a393513adb936e0fc1aba84' })))));
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
StepperItem.style = stepperItemComponentCss();
|
|
@@ -251,7 +251,7 @@ const StepperLine = class {
|
|
|
251
251
|
*/
|
|
252
252
|
direction = 'horizontal';
|
|
253
253
|
render() {
|
|
254
|
-
return h(ThemedHost, { key: '
|
|
254
|
+
return h(ThemedHost, { key: '3822db07a479031ea2ed2b85e964e87c74fcf3a1' });
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
StepperLine.style = stepperLineComponentCss();
|
|
@@ -7,7 +7,7 @@ const TabContainer = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: 'e89642efdbdac9c36ea1b79ed2f3f7002975b4d9', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: '4e11ddb4ad1adbb1b5f6c8f13ceabd7417c5cd2f', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: 'e1a80331ad4b1e1dd4a93b6c06e2d7e1df68d8d7' })), h("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 ' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
TabContainer.style = tabContainerComponentCss();
|
|
@@ -46,7 +46,7 @@ const TabItem = class {
|
|
|
46
46
|
*/
|
|
47
47
|
active = false;
|
|
48
48
|
render() {
|
|
49
|
-
return (h(ThemedHost, { key: '
|
|
49
|
+
return (h(ThemedHost, { key: '9c61f2d31392fe6b36493d1ae717ce6e02fe4f21' }, h("div", { key: 'f673837150832946c4186588e8e92ba1534d2f32', class: item({ active: this.active }) }, h("slot", { key: '82eb84bfb66d1ed93bec1d8925dece7cd15411de' }))));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
TabItem.style = tabItemComponentCss();
|
|
@@ -277,7 +277,7 @@ const Table = class {
|
|
|
277
277
|
this.hasRendered.emit();
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return (h(Host, { key: '
|
|
280
|
+
return (h(Host, { key: 'd479eadd465ca89cb946b49a57baa2a9b59662f3', class: 'z-0 flex flex-col' }, h("p-table-container", { key: '4561faab83f090f8b2a93b2020851d8bdca654bf' }, this.enableHeader && (h("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 && (h("slot", { key: '4330a128ee1880c45651cce01c455043ab3d9358', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (h("slot", { key: '5842f3baaf1c0b5a1731412b3867b4aa3e75f473', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), h("div", { key: '4ebfe041d95457578b879604ffc42edd5ebf109d', class: 'flex flex-1 flex-col' }, this._getRows(), h("slot", { key: '86102819a49542a813f5ab19d5f028b144547096', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (h("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
|
|
281
281
|
hasFooter: this.enableFooter && !this._footerHidden,
|
|
282
282
|
active: !!this.selectedRows?.length,
|
|
283
283
|
shown: this._floatingMenuShown,
|
|
@@ -287,7 +287,7 @@ const Table = class {
|
|
|
287
287
|
!!a.action &&
|
|
288
288
|
a.type === 'single'
|
|
289
289
|
? a.action(this.selectedRows[0], false)
|
|
290
|
-
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '
|
|
290
|
+
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("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 &&
|
|
291
291
|
this.enableAction &&
|
|
292
292
|
this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
|
|
293
293
|
}
|
|
@@ -46,9 +46,9 @@ const ToastContainer = class {
|
|
|
46
46
|
*/
|
|
47
47
|
placement = 'top-end';
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'b8450106a439c1afa6fcce3dccc3d52d982c9c0f', class: container({
|
|
50
50
|
placement: this.placement,
|
|
51
|
-
}) }, h("slot", { key: '
|
|
51
|
+
}) }, h("slot", { key: '6a6203ca9e4c53e1d74f834bd023a60a5241f415' })));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
ToastContainer.style = toastContainerComponentCss();
|
|
@@ -149,11 +149,11 @@ const Toggle = class {
|
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
151
|
const id = this.id?.length ? this.id : this._nonce;
|
|
152
|
-
return (h(ThemedHost, { key: '
|
|
152
|
+
return (h(ThemedHost, { key: '95b39ce4f5dc7b62a04d7901316d8da577b611f1' }, h("label", { key: '24c67608985ef2f63dcd09d875f04cea03d6ae17', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'c54f1bf846aff7870ff43b8860f48caa699b70ab', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: '1f724e6e8595a8ad13cedf24cf709a0c6009d025', checked: !!this.checked, class: toggle({
|
|
153
153
|
disabled: asBoolean(this.disabled),
|
|
154
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
154
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '09c80849a3d22d20008de5349c9212edf080dd24', class: circle({
|
|
155
155
|
disabled: asBoolean(this.disabled),
|
|
156
|
-
}) })), h("div", { key: '
|
|
156
|
+
}) })), h("div", { key: '925b703dee98131f67ca94f880f04454eb5cbcc6', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: 'a70cd6e4d3a12c71e474979517976fa09a559de4' })))));
|
|
157
157
|
}
|
|
158
158
|
_onChange(ev) {
|
|
159
159
|
if (asBoolean(this.disabled)) {
|
|
@@ -103,10 +103,10 @@ const Tooltip = class {
|
|
|
103
103
|
this._cleanup = null;
|
|
104
104
|
}
|
|
105
105
|
render() {
|
|
106
|
-
return (h(ThemedHost, { key: '
|
|
106
|
+
return (h(ThemedHost, { key: 'ad852c968b1119825237d1c9e4c67083156163f2', "data-filled": this.content?.length > 0 || this._hasContentSlot }, h("slot", { key: 'c51cfa0a0d9df2f529f05aadacabc257c7253aff', name: 'trigger' }), h("div", { key: 'd07f501940600d2e29f20c45b373074b58c4a71f', class: popover({
|
|
107
107
|
variant: this.variant,
|
|
108
108
|
strategy: this.strategy,
|
|
109
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: '
|
|
109
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: 'e203d8e859a60f3ff4ae6fd0608211d4210bfdf2', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (h("div", { key: '6cc7c7d1465ffbea310710d5789a03cda13e36f3', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? h("slot", { key: '1ff33cc0032b792cf14f29405b876ea69a0dfbeb', name: 'content' })))));
|
|
110
110
|
}
|
|
111
111
|
clickHandler() {
|
|
112
112
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
package/dist/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" name="viewport"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-
|
|
1
|
+
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" name="viewport"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-435a082d.js"><link rel="modulepreload" href="/build/p-6XOzWrsN.js"><link rel="modulepreload" href="/build/p-B55DMZ_P.js"><link rel="modulepreload" href="/build/p-C5CTp9IA.js"><link rel="modulepreload" href="/build/p-CBWjHURv.js"><link rel="modulepreload" href="/build/p-CSySY6aC.js"><link rel="modulepreload" href="/build/p-CWO2YJCh.js"><link rel="modulepreload" href="/build/p-ChV9xqsO.js"><link rel="modulepreload" href="/build/p-xs4N_Y-0.js"><link rel="modulepreload" href="/build/p-yFtRjnrU.js"><script type="module" src="/build/p-435a082d.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> <link href="/build/p-ea6cc0bf.css" rel="stylesheet"> </head> <body> <p-button>Test</p-button> <script data-build="2026-10-20T08:33:38">
|
|
2
2
|
if ('serviceWorker' in navigator && location.protocol !== 'file:') {
|
|
3
3
|
window.addEventListener('load', function() {
|
|
4
4
|
navigator.serviceWorker.register('/sw.js')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as c}from"./p-yFtRjnrU.js";import{T as f}from"./p-CSySY6aC.js";import"./p-6XOzWrsN.js";const s=class{constructor(c){e(this,c)}header;render(){return c(f,{key:"a0ca4e59eecc786d21f19b5cf19109ff2ecff9c2",class:"flex flex-col gap-2"},this.header?.length>0&&c("p-navigation-title",{key:"2c01baaaff7f298d2589c62571cc765c885c7c21"},this.header),c("div",{key:"e92d1f46d8fb376f93097bb29d47983055d0657d",class:"flex flex-col"},c("slot",{key:"6e68b9723d5ae4f738c3f56d6c8c73fbb824e497"})))}};s.style="*{box-sizing:border-box}.static{position:static}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:.5rem}";export{s as p_navigation_section}
|