@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
|
@@ -91,10 +91,10 @@ export class FloatingMenuItem {
|
|
|
91
91
|
*/
|
|
92
92
|
iconRotate;
|
|
93
93
|
render() {
|
|
94
|
-
return (h(ThemedHost, { key: '
|
|
94
|
+
return (h(ThemedHost, { key: '0c93fdbe76467e5216ab1ef549141d4dc1679361', class: item({
|
|
95
95
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
96
96
|
disabled: asBoolean(this.disabled),
|
|
97
|
-
}) }, this._getIcon(), h("p", { key: '
|
|
97
|
+
}) }, this._getIcon(), h("p", { key: '240658eacb742df93523ae7387f73f468a3c4713', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, h("slot", { key: '47c649696fe196f4802c28cd90d43fb1ef4022c6' }))));
|
|
98
98
|
}
|
|
99
99
|
_getIcon() {
|
|
100
100
|
if (!this.icon && !this.loading) {
|
|
@@ -10,7 +10,7 @@ export class Helper {
|
|
|
10
10
|
*/
|
|
11
11
|
placement = 'top';
|
|
12
12
|
render() {
|
|
13
|
-
return (h(ThemedHost, { key: '
|
|
13
|
+
return (h(ThemedHost, { key: 'b63e0253d99ac51775535f05aa519d1a6a42ad2d' }, h("p-tooltip", { key: 'ea8f71109cf86aae1f4c8a8a48a05cfee7750128', class: 'flex', placement: this.placement, strategy: this.strategy }, h("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' }), h("div", { key: '65139beed237901ae13144f3cfa492ea114d18aa', slot: 'content' }, h("slot", { key: '4400d09c93022e197954ac3044212ccd6769e631' })))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "p-helper"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class Icon {
|
|
|
56
56
|
render() {
|
|
57
57
|
const hasTextSizeClass = /text-(xs|sm|base|lg|xl)/.test(this._el.className);
|
|
58
58
|
const svg = icons[this.variant];
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'bc7cc35daa0aea6006b264b32c21a80d0f31e12c', class: icon({
|
|
60
60
|
flip: this.flip,
|
|
61
61
|
size: hasTextSizeClass ? 'auto' : this.size,
|
|
62
62
|
transform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,
|
|
@@ -19,7 +19,7 @@ export class Illustration {
|
|
|
19
19
|
render() {
|
|
20
20
|
const illustration = illustrations[this.variant];
|
|
21
21
|
const hasSize = [...this._el.classList.values()].some(val => val.match(/text-(xs|sm|base|lg|[2-79|]?xl)/));
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '3d7db522fb4b40e5e43a6d4e3313f7517dcbab78', class: cn('block', { 'text-8xl': !hasSize }), innerHTML: illustration }));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "p-illustration"; }
|
|
25
25
|
static get properties() {
|
|
@@ -95,9 +95,9 @@ export class InfoPanel {
|
|
|
95
95
|
render() {
|
|
96
96
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
97
97
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
98
|
-
return (h(ThemedHost, { key: '
|
|
98
|
+
return (h(ThemedHost, { key: 'fa8b2362ac66e163f95f87a50c0543701b05515e' }, h("div", { key: 'cc456661b94850b4f597c841c50b6484c7dbb6bf', class: infopanel({
|
|
99
99
|
variant: this.variant,
|
|
100
|
-
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '
|
|
100
|
+
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: 'e51d62744232b1ef4f9ce8625de2448ee1991e98', class: header({ variant: this.variant }) }, this.header?.length ? (h("p", { class: 'my-0' }, this.header)) : (h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (h("div", { key: 'f31d3fc0d74a55d2c869d6fe2fcacf5eba49d33a', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (h("p", { class: 'my-0' }, this.content)) : (h("slot", { name: 'content' })))), this.closeable && (h("div", { key: '1753ce86c9507c11cd44988fb6c7c1d52f5b9cc9', class: close(), onClick: () => this._close() }, h("p-icon", { key: '09413891e7d46b473719f43238530eca19237886', variant: 'negative' }))))));
|
|
101
101
|
}
|
|
102
102
|
_close() {
|
|
103
103
|
this.closed.emit();
|
|
@@ -9,7 +9,7 @@ export class Layout {
|
|
|
9
9
|
*/
|
|
10
10
|
scroll;
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '4e9f6ba8ae2c1208a1864aa7260e239568b014f4', class: 'variant-' + this.variant }, h("div", { key: '2a1c0365623d826cc205b90ef30288360b7671a9', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: '9cf15b7e4e8be08d12c56ae528b6563f9a182bf3', class: 'inner-content' }, h("slot", { key: '4984b5e8d54796a034bdd4a8e4456fc4f7165db9', name: 'content' })), h("slot", { key: '415848713245f95cec4f9a502d69de7f60f2fdee', name: 'outer-content' })), h("div", { key: '6e1220bc508390a73e66e427aabe671298e61ba5', class: 'sidebar' }, h("slot", { key: '7cf4121178f4ce27bd4daa5049b8de163a110c42', name: 'sidebar' })), h("div", { key: 'a0b6e908d836de40d25efccd6e0b67761ea6f6e8', class: 'topbar' }, h("slot", { key: '201f1660af0b70f65fd1906efdcbf7dbead32667', name: 'topbar' }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "p-layout"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ export class ListingItem {
|
|
|
6
6
|
*/
|
|
7
7
|
icon = 'placeholder';
|
|
8
8
|
render() {
|
|
9
|
-
return (h(ThemedHost, { key: '
|
|
9
|
+
return (h(ThemedHost, { key: 'cfa5a0d4f4dad18e4ae4a7e036ff730522629c4e' }, h("div", { key: '1b76a863ce0dee48b0c1bb7f46ed40a73a09bf1f', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, h("p-icon", { key: '52c3277ddb13ff14890621690339aae82adf4127', variant: this.icon }), h("div", { key: '39a44d9a56d437d0df60c70bdc3fd111b11deef0', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '58b5c28e004e8a2215729aba011d401f4cccd0b2' })))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "p-listing-item"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
3
3
|
export class ListingLine {
|
|
4
4
|
render() {
|
|
5
|
-
return h(ThemedHost, { key: '
|
|
5
|
+
return h(ThemedHost, { key: 'ec0c128de06a5233bde9ab89d85b95b566057b17' });
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-listing-line"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,10 +32,10 @@ export class ModalBody {
|
|
|
32
32
|
*/
|
|
33
33
|
roundedTop = false;
|
|
34
34
|
render() {
|
|
35
|
-
return (h(ThemedHost, { key: '
|
|
35
|
+
return (h(ThemedHost, { key: '395d3d4226a745b8e08bb31af2580ae4a3b108b8' }, h("div", { key: '439cf3edbb488f992b0da61c36d7286c725ff381', class: body({
|
|
36
36
|
roundedBottom: this.roundedBottom,
|
|
37
37
|
roundedTop: this.roundedTop,
|
|
38
|
-
}) }, h("slot", { key: '
|
|
38
|
+
}) }, h("slot", { key: '3e548ce7d73dba49bafd8903d192993873e55bb7' }))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "p-modal-body"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,10 +44,10 @@ export class ModalContainer {
|
|
|
44
44
|
*/
|
|
45
45
|
closing = false;
|
|
46
46
|
render() {
|
|
47
|
-
return (h(ThemedHost, { key: '
|
|
47
|
+
return (h(ThemedHost, { key: 'c0003ea54c95f062956e6f6e2b85ee33f00c75f8' }, h("div", { key: 'c212251e79b83d6664be5571932b514ae0b90561', class: container({
|
|
48
48
|
size: this.size,
|
|
49
49
|
closing: asBoolean(this.closing),
|
|
50
|
-
}) }, h("slot", { key: '
|
|
50
|
+
}) }, h("slot", { key: '04a2ed4e5722919c8f5ee25efb80cf69679aa502' }))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "p-modal-container"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
3
3
|
export class ModalFooter {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(ThemedHost, { key: '
|
|
5
|
+
return (h(ThemedHost, { key: '85c9bb8e9e82d79397308ff489feed751ed2cf9f' }, h("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 ' }, h("p-divider", { key: 'b626fa811cb56998646bcdf5a97a4c74609a176c', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), h("div", { key: '558020c9ed341db6ce8152a257182d348c6b3243', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, h("slot", { key: '713e1f17ac9d1e1b1014970186de186f66c119ed' })))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-modal-footer"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,7 +28,7 @@ export class ModalHeader {
|
|
|
28
28
|
*/
|
|
29
29
|
close;
|
|
30
30
|
render() {
|
|
31
|
-
return (h(ThemedHost, { key: '
|
|
31
|
+
return (h(ThemedHost, { key: '97caa936e4889d57114e0deb6cb9aab42b57d39a' }, h("div", { key: 'faf2c5cd48a110ce0178bd35fc8d492826e3ec01', class: header() }, h("div", { key: '900c3509a088ae27a6875685ad0d0df2402f365e', class: content() }, h("div", { key: 'e4bff0e4059cba5f268a81c95d1d32f3b0625091', class: title() }, h("slot", { key: '6be2bc231cc90b3babd0fdcc99277520a3ea55de' })), this.showClose && (h("p-button", { key: '9d1ad44be49ad87b892b55dfa0b8e0421ff2ea05', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: '65e23f75390ad8d37f4c5d360c572d1cf6b582ce', class: 'dark:text-hurricane-400' }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "p-modal-header"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../internal/themed-host.component";
|
|
3
3
|
export class NavigationTitle {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(ThemedHost, { key: '
|
|
5
|
+
return (h(ThemedHost, { key: 'db765d63fa61955fee0327c9e26a256503e0399a', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, h("slot", { key: '8f4663dd7b3ded8623cba86f0d57b219a037722d' })));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-navigation-title"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js
CHANGED
|
@@ -103,12 +103,12 @@ export class PaginationPagesItem {
|
|
|
103
103
|
*/
|
|
104
104
|
disabled = false;
|
|
105
105
|
render() {
|
|
106
|
-
return (h(ThemedHost, { key: '
|
|
106
|
+
return (h(ThemedHost, { key: '5bf733cfbe48cb8b409eedbd76cfab5a5603b873' }, h("div", { key: '691cccbf888009485d38b3d1effcc8001a9400d5', class: item({
|
|
107
107
|
variant: this.variant ?? 'default',
|
|
108
108
|
active: asBoolean(this.active),
|
|
109
109
|
hover: asBoolean(this.hover, true),
|
|
110
110
|
disabled: asBoolean(this.disabled),
|
|
111
|
-
}) }, h("slot", { key: '
|
|
111
|
+
}) }, h("slot", { key: '6c7936818fc6eb3c9c7372abc6ef280e261fc0b5' }))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "p-pagination-pages-item"; }
|
|
114
114
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,11 +118,11 @@ export class Radio {
|
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
120
|
const id = this.id?.length ? this.id : this._nonce;
|
|
121
|
-
return (h(ThemedHost, { key: '
|
|
121
|
+
return (h(ThemedHost, { key: 'effd0968a1cbf7cd31c3441ccad232da43899206' }, h("label", { key: 'ecc285e8a369fe4ffc0eb91d1ee26f6088f4f0d0', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'e7299013f6fde79c2062184fa7cbcede4d287085', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '5acb3ad3aaa5892fce873f0a6554391d5f2a243e', checked: this.checked, class: radio({
|
|
122
122
|
disabled: asBoolean(this.disabled),
|
|
123
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
123
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: '985c47508adad40649472553d66e7b368894be15', class: circle({
|
|
124
124
|
disabled: asBoolean(this.disabled),
|
|
125
|
-
}) })), h("div", { key: '
|
|
125
|
+
}) })), h("div", { key: '9bc44d293acd42a224c718bd785b472170c7c6be', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '4a845cff3b2680c3a6bbf85661a19b0eb70e004a' })))));
|
|
126
126
|
}
|
|
127
127
|
_onChange(ev) {
|
|
128
128
|
if (asBoolean(this.disabled)) {
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
3
3
|
export class SegmentContainer {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(ThemedHost, { key: '
|
|
5
|
+
return (h(ThemedHost, { key: '8b6e08361ef199f606a91e4912dc35a2600e3d25' }, h("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 ' }, h("slot", { key: '48d9b4ca265930d731fc6b5e7bf8f4e08f49d839' }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "p-segment-container"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,11 +71,11 @@ export class SegmentItem {
|
|
|
71
71
|
iconRotate;
|
|
72
72
|
render() {
|
|
73
73
|
const descriptionSlot = this.variant === 'block' ? h("slot", { name: 'description' }) : null;
|
|
74
|
-
return (h(ThemedHost, { key: '
|
|
74
|
+
return (h(ThemedHost, { key: 'ebc0188be232381db99e0e1da3a4c9fca228bada' }, h("div", { key: 'e15f7e5b32d163f146e4e7ac94c3e97b0df8c9f0', class: segmentItem({
|
|
75
75
|
variant: this.variant,
|
|
76
76
|
active: asBoolean(this.active),
|
|
77
77
|
iconOnly: asBoolean(this.iconOnly),
|
|
78
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
78
|
+
}) }, this.icon && (h("p-icon", { key: '1c2635bc00d923d68e186aa672d05914f58d4526', class: cn('mb-1', {
|
|
79
79
|
'text-storm-300 dark:text-hurricane-200': !asBoolean(this.active),
|
|
80
80
|
'text-indigo-200': asBoolean(this.active),
|
|
81
81
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), this.variant === 'default' ? (h("slot", null)) : (h("div", { class: 'flex flex-col items-center' }, h("p", { class: cn(`
|
|
@@ -40,7 +40,7 @@ export class Smile {
|
|
|
40
40
|
*/
|
|
41
41
|
variant = 'modal';
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '3451f7cd02efc1f172915d8f0556daa248d26a59', class: smile({ variant: this.variant }) }, h("div", { key: '7fef3c83f69ddabb4037ac5e143162a432276c67', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "p-smile"; }
|
|
46
46
|
static get originalStyleUrls() {
|
|
@@ -209,21 +209,21 @@ export class StepperItem {
|
|
|
209
209
|
*/
|
|
210
210
|
active = false;
|
|
211
211
|
render() {
|
|
212
|
-
return (h(ThemedHost, { key: '
|
|
212
|
+
return (h(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, h("div", { key: '83a55a58b2e4cd7654e548a83ee460022076fadd', class: item({
|
|
213
213
|
align: this.variant === 'default' ? this.align : 'center',
|
|
214
214
|
contentPosition: this.contentPosition,
|
|
215
|
-
}) }, h("div", { key: '
|
|
215
|
+
}) }, h("div", { key: 'c4ed8f04cc1543139095c8b5d8df396a4d574be9', class: circle({
|
|
216
216
|
align: this.align,
|
|
217
217
|
direction: this.direction,
|
|
218
218
|
active: asBoolean(this.active),
|
|
219
219
|
finished: asBoolean(this.finished),
|
|
220
220
|
variant: this.variant,
|
|
221
|
-
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '
|
|
221
|
+
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '6836d3a6900c78d9e398cf54cc90ec9c55e97fa3', class: content({
|
|
222
222
|
active: asBoolean(this.active),
|
|
223
223
|
finished: asBoolean(this.finished),
|
|
224
224
|
direction: this.direction,
|
|
225
225
|
variant: this.variant,
|
|
226
|
-
}) }, h("slot", { key: '
|
|
226
|
+
}) }, h("slot", { key: '34598e124bef3de28a393513adb936e0fc1aba84' })))));
|
|
227
227
|
}
|
|
228
228
|
static get is() { return "p-stepper-item"; }
|
|
229
229
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class StepperLine {
|
|
|
10
10
|
*/
|
|
11
11
|
direction = 'horizontal';
|
|
12
12
|
render() {
|
|
13
|
-
return h(ThemedHost, { key: '
|
|
13
|
+
return h(ThemedHost, { key: '3822db07a479031ea2ed2b85e964e87c74fcf3a1' });
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "p-stepper-line"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class TabContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h("div", { key: '
|
|
4
|
+
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 ' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-tab-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -38,7 +38,7 @@ export class TabItem {
|
|
|
38
38
|
*/
|
|
39
39
|
active = false;
|
|
40
40
|
render() {
|
|
41
|
-
return (h(ThemedHost, { key: '
|
|
41
|
+
return (h(ThemedHost, { key: '9c61f2d31392fe6b36493d1ae717ce6e02fe4f21' }, h("div", { key: 'f673837150832946c4186588e8e92ba1534d2f32', class: item({ active: this.active }) }, h("slot", { key: '82eb84bfb66d1ed93bec1d8925dece7cd15411de' }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "p-tab-item"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/atoms/table/actions-container/table-container.component.js
CHANGED
|
@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";
|
|
|
3
3
|
const container = cva('relative flex flex-col');
|
|
4
4
|
export class TableContainer {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(Host, { key: '
|
|
6
|
+
return (h(Host, { key: 'b9d7f44f21b11338c133bcd9c49de1a6a3da7587', class: container() }, h("slot", { key: '5e7f9650d045b9b46d8c3357dd4f23f5eedbbc2c' })));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "p-table-container"; }
|
|
9
9
|
static get originalStyleUrls() {
|
package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js
CHANGED
|
@@ -7,16 +7,16 @@ export class TableRowActionsContainer {
|
|
|
7
7
|
*/
|
|
8
8
|
checked = false;
|
|
9
9
|
render() {
|
|
10
|
-
return (h(ThemedHost, { key: '
|
|
10
|
+
return (h(ThemedHost, { key: 'c44d458c5c90a54a179f7b58f9db306d31bf9d05' }, h("div", { key: 'c8290412592c8cf51c19e78287b7cccf0744276f', class: cn(`
|
|
11
11
|
flex
|
|
12
12
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
13
13
|
`, {
|
|
14
14
|
'dark:before:from-hurricane-600': !this.checked,
|
|
15
15
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
16
|
-
}) }, h("div", { key: '
|
|
16
|
+
}) }, h("div", { key: '1a1a07d586b461606e39976a5c68240b6feae2e4', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
17
17
|
'dark:bg-hurricane-600': !this.checked,
|
|
18
18
|
'dark:bg-hurricane-400': !!this.checked,
|
|
19
|
-
}) }, h("slot", { key: '
|
|
19
|
+
}) }, h("slot", { key: 'be144a40603d355ecc6eea9c5d410437ad8654eb' })))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "p-table-row-actions-container"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,9 +39,9 @@ export class ToastContainer {
|
|
|
39
39
|
*/
|
|
40
40
|
placement = 'top-end';
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'b8450106a439c1afa6fcce3dccc3d52d982c9c0f', class: container({
|
|
43
43
|
placement: this.placement,
|
|
44
|
-
}) }, h("slot", { key: '
|
|
44
|
+
}) }, h("slot", { key: '6a6203ca9e4c53e1d74f834bd023a60a5241f415' })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "p-toast-container"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -132,11 +132,11 @@ export class Toggle {
|
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
134
|
const id = this.id?.length ? this.id : this._nonce;
|
|
135
|
-
return (h(ThemedHost, { key: '
|
|
135
|
+
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({
|
|
136
136
|
disabled: asBoolean(this.disabled),
|
|
137
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
137
|
+
}), 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({
|
|
138
138
|
disabled: asBoolean(this.disabled),
|
|
139
|
-
}) })), h("div", { key: '
|
|
139
|
+
}) })), h("div", { key: '925b703dee98131f67ca94f880f04454eb5cbcc6', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: 'a70cd6e4d3a12c71e474979517976fa09a559de4' })))));
|
|
140
140
|
}
|
|
141
141
|
_onChange(ev) {
|
|
142
142
|
if (asBoolean(this.disabled)) {
|
|
@@ -97,10 +97,10 @@ export class Tooltip {
|
|
|
97
97
|
this._cleanup = null;
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(ThemedHost, { key: '
|
|
100
|
+
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({
|
|
101
101
|
variant: this.variant,
|
|
102
102
|
strategy: this.strategy,
|
|
103
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: '
|
|
103
|
+
}), "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' })))));
|
|
104
104
|
}
|
|
105
105
|
clickHandler() {
|
|
106
106
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -39,10 +39,10 @@ export class Accordion {
|
|
|
39
39
|
*/
|
|
40
40
|
isOpen;
|
|
41
41
|
render() {
|
|
42
|
-
return (h(ThemedHost, { key: '
|
|
42
|
+
return (h(ThemedHost, { key: '68a174977035d22269d28b2d1caf309ab077ddd6' }, h("div", { key: 'ef7bcb1ef954bbf90f16451aa5900f3d84ff5121', class: 'flex w-full flex-col' }, h("div", { key: '0e321f54e77314af68640b72b4354515db740f7f', class: cn('flex cursor-pointer items-center gap-2', {
|
|
43
43
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
44
44
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
45
|
-
}), onClick: () => this._onClick() }, h("p-icon", { key: '
|
|
45
|
+
}), onClick: () => this._onClick() }, h("p-icon", { key: '64782dd60796f58f65962f4aaf4ef3a1ed7710b3', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), h("p", { key: '09198312d2ba532cb477a816acf631a7ba4e7135', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), this.label && (h("p-label", { key: '7d31592117d52258df3415457398bef74f9c28d2', icon: this.labelIcon, variant: this.labelVariant }, this.label)), h("p-divider", { key: '3ec587da53978db221af8a0702a13c847b2ed32d', class: 'flex-1' })), this.open && (h("div", { key: '5173a77b9fcc1e30bb21db9a0816b8e36ff54b4c', class: 'mt-4' }, h("slot", { key: '069eb677397bf3276fd258b8bf3741baba6d963c' }))))));
|
|
46
46
|
}
|
|
47
47
|
_onClick() {
|
|
48
48
|
if (!this.closeable && this.open) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Fragment, h, } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
|
-
import { cn, isTouchDevice } from "../../../utils";
|
|
3
|
+
import { cn, isIOS, isTouchDevice } from "../../../utils";
|
|
4
|
+
import { createInMemoryFile } from "../../../utils/create-in-memory-file";
|
|
4
5
|
const attachment = cva([
|
|
5
6
|
'flex flex-1 items-center justify-start gap-2',
|
|
6
7
|
'h-8 min-w-0 rounded-lg px-2',
|
|
@@ -101,27 +102,27 @@ export class Attachment {
|
|
|
101
102
|
_fileRef;
|
|
102
103
|
_cameraFileRef;
|
|
103
104
|
render() {
|
|
104
|
-
let prefix = (h("p-icon", { key: '
|
|
105
|
+
let prefix = (h("p-icon", { key: 'cd6a433db61830fb8b1324fe9151d36102636e5b', class: 'text-storm-300', variant: 'attachment' }));
|
|
105
106
|
if (this.error) {
|
|
106
|
-
prefix = (h("p-icon", { key: '
|
|
107
|
+
prefix = (h("p-icon", { key: 'bc0f27845c3176f25754f950d3501fdf28178b76', class: 'text-negative-red-500', variant: 'warning' }));
|
|
107
108
|
}
|
|
108
109
|
const isTouch = isTouchDevice();
|
|
109
110
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
110
|
-
return (h(Fragment, { key: '
|
|
111
|
+
return (h(Fragment, { key: '554abdc693a25cf912ce7261b9a739891d143107' }, h("p-field-container", { key: '89b306b2ec48c11fff48dfd82d2153f0e298a5bb', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, h("div", { key: 'c0231b68bd98953d39beeb7c26bfce338c795c67', class: 'flex w-full items-start gap-2', slot: 'content' }, h("div", { key: 'eb567702a32d1d46f073b160e3c3fed97ea41ed7', class: attachment({
|
|
111
112
|
click: this.mode === 'write' && !this.value?.length,
|
|
112
113
|
error: !!this.error?.length,
|
|
113
|
-
}), onClick: () => this._uploadClick() }, prefix, h("span", { key: '
|
|
114
|
+
}), onClick: () => this._uploadClick() }, prefix, h("span", { key: '55c10bb5ec484ae50408cb4373c38dba40e5af4b', class: cn(baseText, `
|
|
114
115
|
peer
|
|
115
116
|
empty:hidden
|
|
116
117
|
dark:text-white
|
|
117
|
-
`) }, this.value), h("span", { key: '
|
|
118
|
+
`) }, this.value), h("span", { key: '5c1eb37681de140ecc44643e40cb93ff7d2930d4', class: cn(baseText, `
|
|
118
119
|
hidden
|
|
119
120
|
peer-empty:block
|
|
120
|
-
`) }, this.placeholder)), h("p-tooltip", { key: '
|
|
121
|
+
`) }, this.placeholder)), h("p-tooltip", { key: '4f6b2e535ed396ee7b1e21d1bdd90ac42edd9d49', class: 'w-8', content: this.mode === 'read'
|
|
121
122
|
? this.downloadTooltip
|
|
122
123
|
: this.value?.length
|
|
123
124
|
? this.deleteTooltip
|
|
124
|
-
: this.uploadTooltip }, h("p-button", { key: '
|
|
125
|
+
: this.uploadTooltip }, h("p-button", { key: 'c8be386ae44df14c4f487d4b1cecfa375e583608', disabled: this.loading, icon: this.mode === 'read'
|
|
125
126
|
? 'download'
|
|
126
127
|
: this.value?.length
|
|
127
128
|
? 'trash'
|
|
@@ -132,7 +133,7 @@ export class Attachment {
|
|
|
132
133
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
133
134
|
this.mode === 'write' &&
|
|
134
135
|
isTouch &&
|
|
135
|
-
!this.value?.length && (h("p-tooltip", { key: '
|
|
136
|
+
!this.value?.length && (h("p-tooltip", { key: 'df23e909f2f9c69248987320c72a4cf37aca8a8b', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, h("p-button", { key: '9bfbe49f07ac4c6c0c7f12141807d74aca83068c', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), h("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) }), h("input", { key: 'c298b83884e0c51f36f38b636435927d739a224b', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
136
137
|
}
|
|
137
138
|
_uploadClick() {
|
|
138
139
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -149,7 +150,7 @@ export class Attachment {
|
|
|
149
150
|
}
|
|
150
151
|
this._cameraFileRef?.click();
|
|
151
152
|
}
|
|
152
|
-
_onFileChange(ev) {
|
|
153
|
+
async _onFileChange(ev) {
|
|
153
154
|
const target = ev.target;
|
|
154
155
|
const file = target.files?.[0];
|
|
155
156
|
if (file) {
|
|
@@ -159,7 +160,10 @@ export class Attachment {
|
|
|
159
160
|
reader.readAsDataURL(file);
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
|
-
_onLoad(file, result) {
|
|
163
|
+
async _onLoad(file, result) {
|
|
164
|
+
if (isIOS()) {
|
|
165
|
+
file = await createInMemoryFile(file);
|
|
166
|
+
}
|
|
163
167
|
this.upload.emit({
|
|
164
168
|
fileId: this.fileId,
|
|
165
169
|
result,
|
|
@@ -12,7 +12,7 @@ export class ButtonGroup {
|
|
|
12
12
|
this._checkButtons();
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '77ed22c5feeea1aacaf27c9b7a05913ff3e8f583', class: 'flex items-center' }, h("slot", { key: '56d7e55910459006503e551849e08ef092827034' })));
|
|
16
16
|
}
|
|
17
17
|
slotchange() {
|
|
18
18
|
this._checkButtons();
|
|
@@ -192,7 +192,7 @@ export class Calendar {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
render() {
|
|
195
|
-
return (h(ThemedHost, { key: '
|
|
195
|
+
return (h(ThemedHost, { key: 'f679da5751e8b2edc9c22751db98ccbcde72a840' }, h("div", { key: '8d085e2d21e875ba0d843a2e5dd1c63962e85271', class: calendar({ variant: this.variant }) }, this._getView())));
|
|
196
196
|
}
|
|
197
197
|
_checkTodayButton() {
|
|
198
198
|
if (this._maxDate && isAfter(this._today, this._maxDate)) {
|
|
@@ -47,13 +47,13 @@ export class ContentSlider {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'a59d602f545cce524f85ba391f86b0929ad1bf0b' }, h("div", { key: 'cafdbf3d14bf371e7ab342df5b0a462fa5473d60', class: `
|
|
51
51
|
slider
|
|
52
52
|
${!this.disableDrag && 'draggable'}
|
|
53
53
|
${this._dragging && 'dragging'}
|
|
54
54
|
`, ref: el => (this._sliderRef = el), style: {
|
|
55
55
|
height: `${this._outerHeight}px`,
|
|
56
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: '
|
|
56
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: '97de9af9c479ac973128aad48c6a15b090bcae59', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '9f726bc65295cc603a63e05458f7865d1ac8ad1c', onSlotchange: () => this._slotChange() }))), h("div", { key: '977ded691235037ccc09ba15a66a660332439d5e', class: `
|
|
57
57
|
indicator
|
|
58
58
|
${this.hideMobileIndicator && 'hidden'}
|
|
59
59
|
` }, this._filteredItems.map((_, i) => (h("div", { class: `
|
|
@@ -42,7 +42,7 @@ export class Cropper {
|
|
|
42
42
|
const themeColor = state.theme === 'dark'
|
|
43
43
|
? 'rgba(70, 75, 84, 0.5)'
|
|
44
44
|
: 'rgba(255, 255, 255, 0.5)';
|
|
45
|
-
return (h(ThemedHost, { key: '
|
|
45
|
+
return (h(ThemedHost, { key: 'b79c673eb9cebe591f59d91e633c3bf8cfcf6ce0' }, this._loaded && (h("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() }, h("cropper-image", { key: 'dc5f4972334da4faed8a9eef51670c3e5bb5c5a3', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), h("cropper-shade", { key: 'a7683d657ce26e5bd25e97a60283d679cecc209a', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: '936dc942dd7796155d8ea9203bf0b6d22e15760e', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'ef097e515e0fc06c38bdbe1a5cc299537b73c46f', action: 'move', plain: true }))), h("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) })));
|
|
46
46
|
}
|
|
47
47
|
_setImageRef(ref) {
|
|
48
48
|
if (this._imageRef || !ref) {
|
|
@@ -213,7 +213,7 @@ export class Datepicker {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
|
-
return (h("p-dropdown", { key: '
|
|
216
|
+
return (h("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 }, h("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 && (h("input", { key: 'e8a1301baca6417ce1e5253a1f09221e31eac38a', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
217
217
|
format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
218
218
|
locale: state.locale === 'nl' ? nl : enUS,
|
|
219
219
|
}), min: this._minDate &&
|
|
@@ -222,7 +222,7 @@ export class Datepicker {
|
|
|
222
222
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
223
223
|
format(this._value, 'yyyy-MM-dd', {
|
|
224
224
|
locale: state.locale === 'nl' ? nl : enUS,
|
|
225
|
-
}), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '
|
|
225
|
+
}), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '691d0dd273c85b085fb45487b0bd34bf6c36b0e2', slot: 'items', tabIndex: -1 }, h("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) }))));
|
|
226
226
|
}
|
|
227
227
|
documentClickHandler({ target }) {
|
|
228
228
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -133,12 +133,12 @@ export class Dropdown {
|
|
|
133
133
|
this._checkItems();
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: '42a631c6824e90a489e74dab6ae942f4c3e97ff4', class: 'relative' }, h("div", { key: 'b94bf3245828fe537152e5c2ab8fed0b90561c63', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, h("slot", { key: '470e2e6d9cd87dba46d6cf718f78a1e31efd9c00', name: 'trigger' })), h("div", { key: '449f163bdcba639d88fcf0dbeee138f3c44cb832', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: 'b98f064e3ee94d2bc6ad9a7fc21a910bd2de6dbf', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
137
137
|
strategy: this.strategy,
|
|
138
138
|
maxWidth: this.applyMaxWidth,
|
|
139
139
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
140
140
|
isDatepicker: this.isDatepicker,
|
|
141
|
-
}), 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() }, h("slot", { key: '
|
|
141
|
+
}), 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() }, h("slot", { key: '5c961dd4efeeae8326f45a6bcad185a31cc36af4', name: 'items' })))));
|
|
142
142
|
}
|
|
143
143
|
_checkButtons(active = false) {
|
|
144
144
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -170,7 +170,9 @@ export class Dropdown {
|
|
|
170
170
|
_checkItems() {
|
|
171
171
|
const items = this._el.querySelectorAll('p-dropdown-menu-item');
|
|
172
172
|
for (let item of items) {
|
|
173
|
-
if (item.variant === 'pagination' ||
|
|
173
|
+
if (item.variant === 'pagination' ||
|
|
174
|
+
item.variant === 'negative' ||
|
|
175
|
+
item.variant === 'category') {
|
|
174
176
|
continue;
|
|
175
177
|
}
|
|
176
178
|
item.variant = this.variant;
|