@paperless/core 2.22.0-alpha.29 → 2.22.0-alpha.30
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/index.esm.js +1 -1
- package/dist/{paperless/p-a9c0aab3.entry.js → build/p-0595952f.entry.js} +1 -1
- package/dist/{paperless/p-9e06356b.entry.js → build/p-09501f74.entry.js} +1 -1
- package/dist/build/{p-2e67ae6a.entry.js → p-112991fa.entry.js} +1 -1
- package/dist/build/{p-cf436a7d.entry.js → p-16625524.entry.js} +1 -1
- package/dist/build/{p-31399606.entry.js → p-1831ba61.entry.js} +1 -1
- package/dist/build/{p-1cbe78fd.entry.js → p-1a4eeaed.entry.js} +1 -1
- package/dist/build/{p-cfbd02e6.entry.js → p-1bc013ea.entry.js} +1 -1
- package/dist/build/{p-561dabe7.entry.js → p-1e33b62a.entry.js} +1 -1
- package/dist/{paperless/p-bbf7b9e7.entry.js → build/p-2461cae0.entry.js} +1 -1
- package/dist/{paperless/p-ade3a57a.entry.js → build/p-26a84c2f.entry.js} +1 -1
- package/dist/build/p-3224460c.entry.js +1 -0
- package/dist/build/{p-b85ee4b7.entry.js → p-3d4eed8c.entry.js} +1 -1
- package/dist/build/p-42907ce1.entry.js +1 -0
- package/dist/build/{p-f1c6f25b.entry.js → p-43dd13df.entry.js} +1 -1
- package/dist/{paperless/p-8382e7c2.entry.js → build/p-443e1609.entry.js} +1 -1
- package/dist/{paperless/p-6df6a0ba.entry.js → build/p-4a695d0f.entry.js} +1 -1
- package/dist/build/{p-14223e98.entry.js → p-4ade4fd6.entry.js} +1 -1
- package/dist/{paperless/p-6aa93bf9.entry.js → build/p-4b03700c.entry.js} +1 -1
- package/dist/build/{p-70974f53.entry.js → p-4c885671.entry.js} +1 -1
- package/dist/{paperless/p-e907c9d3.entry.js → build/p-5abb4596.entry.js} +1 -1
- package/dist/build/{p-25961586.entry.js → p-5fb0fde5.entry.js} +1 -1
- package/dist/{paperless/p-464fd7c4.entry.js → build/p-62f081db.entry.js} +1 -1
- package/dist/build/{p-5f422b65.js → p-66626b17.js} +1 -1
- package/dist/{paperless/p-c16870f5.entry.js → build/p-6ddff445.entry.js} +1 -1
- package/dist/build/{p-50de21e1.entry.js → p-71936600.entry.js} +1 -1
- package/dist/{paperless/p-9cdee500.entry.js → build/p-75c0d205.entry.js} +1 -1
- package/dist/build/{p-2a37b400.entry.js → p-796ade92.entry.js} +1 -1
- package/dist/build/{p-a6369294.entry.js → p-7b05d594.entry.js} +1 -1
- package/dist/build/{p-60a3f1ee.entry.js → p-8073ff56.entry.js} +1 -1
- package/dist/build/{p-abe821ce.entry.js → p-8527dffc.entry.js} +1 -1
- package/dist/{paperless/p-ba7ccf80.entry.js → build/p-88434ef8.entry.js} +1 -1
- package/dist/build/p-8b074922.entry.js +1 -0
- package/dist/build/{p-8824a0ef.entry.js → p-8c36f589.entry.js} +1 -1
- package/dist/build/{p-d5d45034.entry.js → p-8d872235.entry.js} +1 -1
- package/dist/build/{p-d81c6c9e.entry.js → p-8f5d0259.entry.js} +1 -1
- package/dist/build/{p-9fd28756.entry.js → p-91c17aaa.entry.js} +1 -1
- package/dist/{paperless/p-166704d6.entry.js → build/p-96020614.entry.js} +1 -1
- package/dist/build/p-BaOYiNIi.js +1 -0
- package/dist/build/{p-Jt5e0RAn.js → p-Ds4BJt6D.js} +1 -1
- package/dist/build/p-UEOqFwec.js +2 -0
- package/dist/build/{p-fa1a067a.entry.js → p-a075f933.entry.js} +1 -1
- package/dist/{paperless/p-60923e39.entry.js → build/p-a3c931c3.entry.js} +1 -1
- package/dist/build/{p-80922205.entry.js → p-ac64c055.entry.js} +1 -1
- package/dist/build/{p-93ce18e4.entry.js → p-b39702b5.entry.js} +1 -1
- package/dist/build/{p-7ac9dc1e.entry.js → p-b660c06c.entry.js} +1 -1
- package/dist/{paperless/p-a7d200c3.entry.js → build/p-cc67c333.entry.js} +1 -1
- package/dist/build/{p-1c17ee9b.entry.js → p-cce41338.entry.js} +1 -1
- package/dist/{paperless/p-260a97c9.entry.js → build/p-d79097e9.entry.js} +1 -1
- package/dist/build/{p-ee7858e4.entry.js → p-d824b806.entry.js} +1 -1
- package/dist/build/{p-a232b345.entry.js → p-dad6be91.entry.js} +1 -1
- package/dist/build/{p-8644a3f1.entry.js → p-dc7e3d2d.entry.js} +1 -1
- package/dist/build/{p-c298abac.entry.js → p-dcc913e0.entry.js} +1 -1
- package/dist/{paperless/p-f5be155f.entry.js → build/p-e6c0c26a.entry.js} +1 -1
- package/dist/build/{p-1f15cd98.entry.js → p-e8911355.entry.js} +1 -1
- package/dist/build/{p-5c5cdb06.entry.js → p-eb88330f.entry.js} +1 -1
- package/dist/build/p-f16b7c0e.entry.js +3 -0
- package/dist/build/{p-0388615e.entry.js → p-f71542cd.entry.js} +1 -1
- package/dist/build/{p-d8681bdc.entry.js → p-fc461e09.entry.js} +1 -1
- package/dist/{paperless/p-18454ce9.entry.js → build/p-fd71dc2b.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-CcocepA-.js → index-BTgZ3S70.js} +179 -1808
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +3 -3
- package/dist/cjs/p-attachment.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +3 -3
- package/dist/cjs/p-calendar.cjs.entry.js +3 -3
- package/dist/cjs/p-card-body.cjs.entry.js +3 -3
- package/dist/cjs/p-card-container.cjs.entry.js +3 -3
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +3 -3
- package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +35 -91
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +3 -3
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
- package/dist/cjs/p-drawer.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +3 -3
- package/dist/cjs/p-empty-state_8.cjs.entry.js +3 -3
- package/dist/cjs/p-field_3.cjs.entry.js +3 -3
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +3 -3
- package/dist/cjs/p-listing-line.cjs.entry.js +3 -3
- package/dist/cjs/p-listing.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +3 -3
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-title.cjs.entry.js +3 -3
- package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/p-profile.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +3 -3
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +3 -3
- package/dist/cjs/p-table-column.cjs.entry.js +1 -1
- package/dist/cjs/p-table-extra-header.cjs.entry.js +1 -1
- package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +3 -3
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/cjs/{state-BseAB3i4.js → state-DvN6PtKJ.js} +1 -1
- package/dist/cjs/{themed-host.component-BSIZm-L8.js → themed-host.component-BD_w9S3m.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Ci0JKTmE.js → p--JxtpGtF.js} +1 -1
- package/dist/components/{p-CccN0jY7.js → p-2ng-Aose.js} +1 -1
- package/dist/components/{p-BBmuctek.js → p-Akpqyi53.js} +1 -1
- package/dist/components/{p-BhtaAZAJ.js → p-B0_4fWrY.js} +1 -1
- package/dist/components/{p-Czs7mxeO.js → p-B7T2fQYF.js} +1 -1
- package/dist/components/{p-Coxruux_.js → p-BBpjifjG.js} +1 -1
- package/dist/components/{p-4UKRYZET.js → p-BF6PPgsp.js} +1 -1
- package/dist/components/{p-CGJYpylb.js → p-BImUbzui.js} +1 -1
- package/dist/components/{p--JDhF4GL.js → p-BY-iZ7C8.js} +1 -1
- package/dist/components/{p-Djf2rBRX.js → p-BkkPm9Yp.js} +1 -1
- package/dist/components/{p-BE2DRulM.js → p-Bw7wEGKa.js} +1 -1
- package/dist/components/{p-Cs8Ak0MQ.js → p-BwD4wr14.js} +1 -1
- package/dist/components/{p-C7Bjyf-i.js → p-C1fCuFhI.js} +1 -1
- package/dist/components/{p-prb4IQlb.js → p-C23JF7PQ.js} +1 -1
- package/dist/components/{p-BuAyIir2.js → p-CCufTu-v.js} +1 -1
- package/dist/components/{p-BA1QFuzs.js → p-CFmYQoDA.js} +1 -1
- package/dist/components/{p-BPP8ZYwN.js → p-CGFPlslj.js} +1 -1
- package/dist/components/{p-B4tCVctO.js → p-CIqBta1w.js} +1 -1
- package/dist/components/{p-CCvROjOe.js → p-CNMa-_yN.js} +1 -1
- package/dist/components/{p-BV-h5ALt.js → p-CPlMlM6g.js} +1 -1
- package/dist/components/{p-DAuzJ_qL.js → p-CQaFushj.js} +1 -1
- package/dist/components/{p-Dl4hxOHI.js → p-CeX--L43.js} +1 -1
- package/dist/components/{p-JhZXmipA.js → p-Ch5U9kWZ.js} +1 -1
- package/dist/components/{p-DSj0Jf2L.js → p-Cmsf0PX2.js} +1 -1
- package/dist/components/{p-B7SbywpL.js → p-CpaA1Iq7.js} +1 -1
- package/dist/components/{p-BX8yg_1a.js → p-CpnSfiGo.js} +1 -1
- package/dist/components/{p-BaXKEl7X.js → p-CtHAbYCa.js} +1 -1
- package/dist/components/{p-BCAgJ4w6.js → p-D-IyTfol.js} +1 -1
- package/dist/components/{p-BnzXRlCu.js → p-D08B3cFE.js} +1 -1
- package/dist/components/{p-BVuxBNP3.js → p-D5_UJJpn.js} +1 -1
- package/dist/components/{p-_3tBkyNJ.js → p-DCq0eMpP.js} +1 -1
- package/dist/components/{p-DNMiuEx4.js → p-DM8w1S9L.js} +1 -1
- package/dist/components/{p-CHydrUrt.js → p-DPtX6elD.js} +1 -1
- package/dist/components/{p-25xYytwu.js → p-Dd8d_pro.js} +1 -1
- package/dist/components/{p-DxW06-IZ.js → p-DfBWP1bt.js} +1 -1
- package/dist/components/{p-KuL1SNit.js → p-DoDhkUVy.js} +1 -1
- package/dist/components/{p-DxNTB_Qq.js → p-DqfNKkNq.js} +1 -1
- package/dist/components/{p-Ds35QicK.js → p-DvzTP_tN.js} +1 -1
- package/dist/components/{p-0y7dmBHx.js → p-J_pAdYL8.js} +1 -1
- package/dist/components/{p-CtQJmtcM.js → p-Ml3Ytiv7.js} +1 -1
- package/dist/components/{p-swqKzLDH.js → p-OF_TU9VQ.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-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-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-qmmFrZxi.js → p-dWa7wUe3.js} +1 -1
- 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-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-DZjr9R4d.js → p-h4mS749f.js} +1 -1
- package/dist/components/{p-D4KmlZ0u.js → p-hBh42vsk.js} +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/{p-DuYGcgJi.js → p-iMCMxc-_.js} +1 -1
- package/dist/components/p-iban-icon.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-loader.js +1 -1
- package/dist/components/p-mR4MYqqI.js +2 -0
- 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-BV81Joa3.js → p-nUd8Wpbr.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-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-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-column.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-extra-header.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-action.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/{index-BDccsg1s.js → index-UEOqFwec.js} +179 -1808
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-accordion.entry.js +3 -3
- package/dist/esm/p-attachment.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +3 -3
- package/dist/esm/p-calendar.entry.js +3 -3
- package/dist/esm/p-card-body.entry.js +3 -3
- package/dist/esm/p-card-container.entry.js +3 -3
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox_3.entry.js +3 -3
- package/dist/esm/p-content-slider.entry.js +1 -1
- package/dist/esm/p-cropper.entry.js +35 -91
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +3 -3
- package/dist/esm/p-drawer-body_3.entry.js +3 -3
- package/dist/esm/p-drawer.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-item_2.entry.js +3 -3
- package/dist/esm/p-empty-state_8.entry.js +3 -3
- package/dist/esm/p-field_3.entry.js +3 -3
- package/dist/esm/p-floating-menu-item.entry.js +3 -3
- package/dist/esm/p-iban-icon.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +3 -3
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +3 -3
- package/dist/esm/p-listing-line.entry.js +3 -3
- package/dist/esm/p-listing.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +3 -3
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-navbar.entry.js +3 -3
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +3 -3
- package/dist/esm/p-navigation-title.entry.js +3 -3
- package/dist/esm/p-pagination_3.entry.js +3 -3
- package/dist/esm/p-profile.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +3 -3
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +3 -3
- package/dist/esm/p-table-column.entry.js +1 -1
- package/dist/esm/p-table-extra-header.entry.js +1 -1
- package/dist/esm/p-table-row-action.entry.js +1 -1
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +3 -3
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +3 -3
- package/dist/esm/paperless.js +3 -3
- package/dist/esm/{state-xB9Jw2TG.js → state-gBMIsdMW.js} +1 -1
- package/dist/esm/{themed-host.component-CLTQ6QFZ.js → themed-host.component-Bt4FhEsY.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/{build/p-a9c0aab3.entry.js → paperless/p-0595952f.entry.js} +1 -1
- package/dist/{build/p-9e06356b.entry.js → paperless/p-09501f74.entry.js} +1 -1
- package/dist/paperless/{p-2e67ae6a.entry.js → p-112991fa.entry.js} +1 -1
- package/dist/paperless/{p-cf436a7d.entry.js → p-16625524.entry.js} +1 -1
- package/dist/paperless/{p-31399606.entry.js → p-1831ba61.entry.js} +1 -1
- package/dist/paperless/{p-1cbe78fd.entry.js → p-1a4eeaed.entry.js} +1 -1
- package/dist/paperless/{p-cfbd02e6.entry.js → p-1bc013ea.entry.js} +1 -1
- package/dist/paperless/{p-561dabe7.entry.js → p-1e33b62a.entry.js} +1 -1
- package/dist/{build/p-bbf7b9e7.entry.js → paperless/p-2461cae0.entry.js} +1 -1
- package/dist/{build/p-ade3a57a.entry.js → paperless/p-26a84c2f.entry.js} +1 -1
- package/dist/paperless/p-3224460c.entry.js +1 -0
- package/dist/paperless/{p-b85ee4b7.entry.js → p-3d4eed8c.entry.js} +1 -1
- package/dist/paperless/p-42907ce1.entry.js +1 -0
- package/dist/paperless/{p-f1c6f25b.entry.js → p-43dd13df.entry.js} +1 -1
- package/dist/{build/p-8382e7c2.entry.js → paperless/p-443e1609.entry.js} +1 -1
- package/dist/{build/p-6df6a0ba.entry.js → paperless/p-4a695d0f.entry.js} +1 -1
- package/dist/paperless/{p-14223e98.entry.js → p-4ade4fd6.entry.js} +1 -1
- package/dist/{build/p-6aa93bf9.entry.js → paperless/p-4b03700c.entry.js} +1 -1
- package/dist/paperless/{p-70974f53.entry.js → p-4c885671.entry.js} +1 -1
- package/dist/{build/p-e907c9d3.entry.js → paperless/p-5abb4596.entry.js} +1 -1
- package/dist/paperless/{p-25961586.entry.js → p-5fb0fde5.entry.js} +1 -1
- package/dist/{build/p-464fd7c4.entry.js → paperless/p-62f081db.entry.js} +1 -1
- package/dist/{build/p-c16870f5.entry.js → paperless/p-6ddff445.entry.js} +1 -1
- package/dist/paperless/{p-50de21e1.entry.js → p-71936600.entry.js} +1 -1
- package/dist/{build/p-9cdee500.entry.js → paperless/p-75c0d205.entry.js} +1 -1
- package/dist/paperless/{p-2a37b400.entry.js → p-796ade92.entry.js} +1 -1
- package/dist/paperless/{p-a6369294.entry.js → p-7b05d594.entry.js} +1 -1
- package/dist/paperless/{p-60a3f1ee.entry.js → p-8073ff56.entry.js} +1 -1
- package/dist/paperless/{p-abe821ce.entry.js → p-8527dffc.entry.js} +1 -1
- package/dist/{build/p-ba7ccf80.entry.js → paperless/p-88434ef8.entry.js} +1 -1
- package/dist/paperless/p-8b074922.entry.js +1 -0
- package/dist/paperless/{p-8824a0ef.entry.js → p-8c36f589.entry.js} +1 -1
- package/dist/paperless/{p-d5d45034.entry.js → p-8d872235.entry.js} +1 -1
- package/dist/paperless/{p-d81c6c9e.entry.js → p-8f5d0259.entry.js} +1 -1
- package/dist/paperless/{p-9fd28756.entry.js → p-91c17aaa.entry.js} +1 -1
- package/dist/{build/p-166704d6.entry.js → paperless/p-96020614.entry.js} +1 -1
- package/dist/paperless/p-BaOYiNIi.js +1 -0
- package/dist/paperless/{p-Jt5e0RAn.js → p-Ds4BJt6D.js} +1 -1
- package/dist/paperless/p-UEOqFwec.js +2 -0
- package/dist/paperless/{p-fa1a067a.entry.js → p-a075f933.entry.js} +1 -1
- package/dist/{build/p-60923e39.entry.js → paperless/p-a3c931c3.entry.js} +1 -1
- package/dist/paperless/{p-80922205.entry.js → p-ac64c055.entry.js} +1 -1
- package/dist/paperless/{p-93ce18e4.entry.js → p-b39702b5.entry.js} +1 -1
- package/dist/paperless/{p-7ac9dc1e.entry.js → p-b660c06c.entry.js} +1 -1
- package/dist/{build/p-a7d200c3.entry.js → paperless/p-cc67c333.entry.js} +1 -1
- package/dist/paperless/{p-1c17ee9b.entry.js → p-cce41338.entry.js} +1 -1
- package/dist/{build/p-260a97c9.entry.js → paperless/p-d79097e9.entry.js} +1 -1
- package/dist/paperless/{p-ee7858e4.entry.js → p-d824b806.entry.js} +1 -1
- package/dist/paperless/{p-a232b345.entry.js → p-dad6be91.entry.js} +1 -1
- package/dist/paperless/{p-8644a3f1.entry.js → p-dc7e3d2d.entry.js} +1 -1
- package/dist/paperless/{p-c298abac.entry.js → p-dcc913e0.entry.js} +1 -1
- package/dist/{build/p-f5be155f.entry.js → paperless/p-e6c0c26a.entry.js} +1 -1
- package/dist/paperless/{p-1f15cd98.entry.js → p-e8911355.entry.js} +1 -1
- package/dist/paperless/{p-5c5cdb06.entry.js → p-eb88330f.entry.js} +1 -1
- package/dist/paperless/p-f16b7c0e.entry.js +3 -0
- package/dist/paperless/{p-0388615e.entry.js → p-f71542cd.entry.js} +1 -1
- package/dist/paperless/{p-d8681bdc.entry.js → p-fc461e09.entry.js} +1 -1
- package/dist/{build/p-18454ce9.entry.js → paperless/p-fd71dc2b.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/hydrate/index.js +5120 -5186
- package/hydrate/index.mjs +5120 -5186
- package/package.json +1 -1
- package/dist/build/p-5a2d19ec.entry.js +0 -1
- package/dist/build/p-75ba802e.entry.js +0 -3
- package/dist/build/p-8c1bf7ea.entry.js +0 -1
- package/dist/build/p-BDccsg1s.js +0 -2
- package/dist/build/p-BErFyukm.js +0 -1
- package/dist/build/p-c577e542.entry.js +0 -1
- package/dist/components/p-et-2f2Wz.js +0 -2
- package/dist/paperless/p-5a2d19ec.entry.js +0 -1
- package/dist/paperless/p-75ba802e.entry.js +0 -3
- package/dist/paperless/p-8c1bf7ea.entry.js +0 -1
- package/dist/paperless/p-BDccsg1s.js +0 -2
- package/dist/paperless/p-BErFyukm.js +0 -1
- package/dist/paperless/p-c577e542.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as a,h as r,t as o}from"./p-
|
|
1
|
+
import{p as t,H as e,c as a,h as r,t as o}from"./p-mR4MYqqI.js";import{a as i,c as s,o as n,f as h,s as d}from"./p-CeBIrPPx.js";import{c}from"./p-CBWjHURv.js";import{T as p}from"./p-C1fCuFhI.js";const l=c(["inline-block px-2","text-xs","opacity-0 drop-shadow-3 transition-opacity","rounded-lg","z-tooltip","pointer-events-none"],{variants:{variant:{hover:"bg-storm-500 dark:bg-white text-white dark:text-storm-300 py-1 max-w-[14.5rem]",click:"max-w-[18rem]",error:"max-w-full w-full"},strategy:{fixed:"fixed",absolute:"absolute"}},compoundVariants:[{variant:["hover","click"],class:"w-max"},{variant:["click","error"],class:"bg-white dark:bg-hurricane-800 text-storm-300 dark:text-hurricane-200 py-2"}]}),b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isOpen=a(this,"isOpen",3)}variant="hover";content;placement;offset=8;strategy="absolute";enableUserInput=!0;show=!1;canManuallyClose=!0;isOpen;get _el(){return this}_hasContentSlot=!1;_loaded=!1;_popover;_cleanup;componentWillLoad(){this._hasContentSlot=!!this._el.querySelector(':scope > [slot="content"]')}componentShouldUpdate(){this._update()}disconnectedCallback(){this._cleanup&&(this._cleanup(),this._cleanup=null)}render(){return r(p,{key:"ef3333212b88389556fa76159040a9dd6e0c2e17","data-filled":this.content?.length>0||this._hasContentSlot},r("slot",{key:"095bf08cf3d45b3baaf9921796392b6b51e13719",name:"trigger"}),r("div",{key:"46dcc7888a6c2e66e1e5e7d5a9492f117775be30",class:l({variant:this.variant,strategy:this.strategy}),role:"popover","data-placement":this.placement,ref:t=>this._load(t)},r("div",{key:"5651334a58293cf9a6adc96b2d8cb1991691404a",class:"flex gap-2 whitespace-normal"},"error"===this.variant&&r("div",{key:"9db76dfaf31d1acbb72eedd0d90744bf913bb21f",class:"w-[2px] bg-negative-red-500 dark:bg-negative-red-alternative"}),this.content??r("slot",{key:"0bbaa654220dd3b99c26dd787c540a1ca85bd8af",name:"content"}))))}clickHandler(){"hover"!==this.variant&&this.enableUserInput&&this._popover&&(Object.hasOwn(this._popover.dataset,"show")||this._show())}documentClickHandler(){"hover"!==this.variant&&this.canManuallyClose&&!this.show&&this._popover&&Object.hasOwn(this._popover.dataset,"show")&&this._hide()}mouseEnterHandler(){"hover"===this.variant&&this.enableUserInput&&this._show()}mouseLeaveHandler(){!this.show&&"hover"===this.variant&&this.enableUserInput&&this._hide()}onShowChange(t){if(this._popover)return t&&!Object.hasOwn(this._popover.dataset,"show")?this._show():this._hide()}onContentChange(t){!t||t.length>0||this._hide()}_show(){this._loaded&&(this.content?.length||this._hasContentSlot?(this._cleanup=i(this._el,this._popover,(()=>this._update())),this._popover.dataset.show="",this._popover.classList.remove("opacity-0","pointer-events-none"),this._popover.classList.add("opacity-100","pointer-events-auto"),this.isOpen.emit(!0)):Object.hasOwn(this._popover.dataset,"show")&&this._hide())}_hide(){this._loaded&&(this._cleanup&&(this._cleanup(),this._cleanup=null),delete this._popover.dataset.show,this._popover.classList.remove("opacity-100","pointer-events-auto"),this._popover.classList.add("opacity-0","pointer-events-none"),this.isOpen.emit(!1))}_load(t){this._popover=t,t&&(this._update(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_update(){this._popover&&s(this._el,this._popover,{placement:"error"!==this.variant||this.placement?this.placement??"top":"bottom-start",strategy:this.strategy,middleware:[n(this.offset),h(),d()]}).then((({x:t,y:e,placement:a})=>{this._popover.dataset.placement=a,Object.assign(this._popover.style,{top:`${e}px`,left:`${t}px`})}))}static get watchers(){return{show:[{onShowChange:0}],content:[{onContentChange:0}]}}static get style(){return".relative{position:relative}.h-inherit{height:inherit}.w-inherit{width:inherit}*{box-sizing:border-box}:host{height:inherit;max-width:100%;position:relative;width:inherit}:host([data-filled]){cursor:pointer}:host(:not([data-filled])){cursor:auto}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.z-tooltip{z-index:400}.inline-block{display:inline-block}.flex{display:flex}.w-\\[2px\\]{width:2px}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[14\\.5rem\\]{max-width:14.5rem}.max-w-\\[18rem\\]{max-width:18rem}.max-w-full{max-width:100%}.gap-2{gap:.5rem}.whitespace-normal{white-space:normal}.rounded-lg{border-radius:.5rem}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-storm-500{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow-3{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}"}},[769,"p-tooltip",{variant:[1],content:[1],placement:[1],offset:[2],strategy:[1],enableUserInput:[4,"enable-user-input"],show:[4],canManuallyClose:[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]],{show:[{onShowChange:0}],content:[{onContentChange:0}]}]);function w(){"undefined"!=typeof customElements&&["p-tooltip"].forEach((t=>{"p-tooltip"===t&&(customElements.get(o(t))||customElements.define(o(t),b))}))}export{b as T,w as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as r,h as e,t as a}from"./p-
|
|
1
|
+
import{p as t,H as r,h as e,t as a}from"./p-mR4MYqqI.js";import{T as o}from"./p-C1fCuFhI.js";import{c as i}from"./p-xs4N_Y-0.js";const n=t(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}checked=!1;render(){return e(o,{key:"05b47280bc380ad0960a69c27fa641ea735a94f4"},e("div",{key:"e12fc3877b07a0596938b52d2a50f5446bdc78ae",class:i("flex before:w-4 before:bg-gradient-to-l before:from-off-white-200",{"dark:before:from-hurricane-600":!this.checked,"dark:before:from-hurricane-400":!!this.checked})},e("div",{key:"cddfbd117853e870c9801b9d5a961a029939bd19",class:i("flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3",{"dark:bg-hurricane-600":!this.checked,"dark:bg-hurricane-400":!!this.checked})},e("slot",{key:"647aeaa41557bc01063b60b065cf6975b33aa960"}))))}static get style(){return'.flex{display:flex}.h-full{height:100%}*{box-sizing:border-box}:host{--tw-content:"";display:flex;height:100%;justify-content:flex-end}.static{position:static}.items-center{align-items:center}.gap-2{gap:.5rem}.rounded-r-lg{border-bottom-right-radius:.5rem;border-top-right-radius:.5rem}.bg-hurricane-400{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.bg-hurricane-600{--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.bg-off-white-200{--tw-bg-opacity:1;background-color:rgb(250 249 248/var(--tw-bg-opacity,1))}.from-hurricane-400{--tw-gradient-from:#464b54 var(--tw-gradient-from-position);--tw-gradient-to:rgba(70,75,84,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-hurricane-600{--tw-gradient-from:#2e343e var(--tw-gradient-from-position);--tw-gradient-to:rgba(46,52,62,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.pr-3{padding-right:.75rem}.before\\:w-4:before{content:var(--tw-content);width:1rem}.before\\:bg-gradient-to-l:before{background-image:linear-gradient(to left,var(--tw-gradient-stops));content:var(--tw-content)}.before\\:from-off-white-200:before{--tw-gradient-from:#faf9f8 var(--tw-gradient-from-position);--tw-gradient-to:hsla(30,17%,98%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:before\\:from-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *):before{--tw-gradient-from:#464b54 var(--tw-gradient-from-position);--tw-gradient-to:rgba(70,75,84,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:before\\:from-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *):before{--tw-gradient-from:#2e343e var(--tw-gradient-from-position);--tw-gradient-to:rgba(46,52,62,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:before\\:from-hurricane-400:where([data-theme=dark],[data-theme=dark] *):before{--tw-gradient-from:#464b54 var(--tw-gradient-from-position);--tw-gradient-to:rgba(70,75,84,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:before\\:from-hurricane-600:where([data-theme=dark],[data-theme=dark] *):before{--tw-gradient-from:#2e343e var(--tw-gradient-from-position);--tw-gradient-to:rgba(46,52,62,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}'}},[769,"p-table-row-actions-container",{checked:[4]}]);function d(){"undefined"!=typeof customElements&&["p-table-row-actions-container"].forEach((t=>{"p-table-row-actions-container"===t&&(customElements.get(a(t))||customElements.define(a(t),n))}))}export{n as T,d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as a,h as e,d as s,t as l}from"./p-
|
|
1
|
+
import{p as t,H as a,h as e,d as s,t as l}from"./p-mR4MYqqI.js";import{c as r}from"./p-CBWjHURv.js";const i=r(null,{variants:{variant:{full:null,modal:"w-[355%]",card:"w-[310%]"}},compoundVariants:[{variant:["modal","card"],class:"absolute bottom-0 left-1/2 -translate-x-1/2 z-[-1] aspect-[8/3] text-off-white-500"}]}),n=r("text-inherit",{variants:{variant:{full:"w-inherit",modal:null,card:null}},compoundVariants:[{variant:["modal","card"],class:"absolute bottom-0 left-0 h-full w-full"}]}),o=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost()}variant="modal";render(){return e(s,{key:"4a84d723aa104604444b292f01a6b4e342945992",class:i({variant:this.variant})},e("div",{key:"437b7370a3177f0d9266fd7f3595df703a035312",class:n({variant:this.variant}),innerHTML:'\t<svg width="100%" height="100%" viewBox="0 0 1038 388" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M519.113 388H518.773C305.85 387.887 176.284 294.549 105.102 216.25C28.9938 132.544 2.71817 49.7392 0 40.5575L135.455 0C135.682 0.619628 156.068 64.3287 213.942 126.123C289.258 206.562 391.926 247.344 519 247.401C646.074 247.401 748.742 206.562 824.057 126.123C881.932 64.385 902.318 0.675958 902.545 0L1038 40.5575C1035.28 49.7392 1009.01 132.544 932.897 216.25C861.715 294.549 732.149 387.944 519.226 388H519.113Z" fill="currentColor"/>\n</svg>\n\n'}))}static get style(){return"*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.bottom-0{bottom:0}.left-0{left:0}.left-1\\/2{left:50%}.z-\\[-1\\]{z-index:-1}.aspect-\\[8\\/3\\]{aspect-ratio:8/3}.h-full{height:100%}.w-\\[310\\%\\]{width:310%}.w-\\[355\\%\\]{width:355%}.w-full{width:100%}.w-inherit{width:inherit}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.text-inherit{color:inherit}.text-off-white-500{--tw-text-opacity:1;color:rgb(243 241 237/var(--tw-text-opacity,1))}"}},[512,"p-smile",{variant:[1]}]);function c(){"undefined"!=typeof customElements&&["p-smile"].forEach((t=>{"p-smile"===t&&(customElements.get(l(t))||customElements.define(l(t),o))}))}export{o as S,c as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as i,H as e,h as t,d as m,t as a}from"./p-
|
|
1
|
+
import{p as i,H as e,h as t,d as m,t as a}from"./p-mR4MYqqI.js";import{c as n}from"./p-CBWjHURv.js";const d=n("flex flex-col relative"),r=i(class extends e{constructor(i){super(),!1!==i&&this.__registerHost()}render(){return t(m,{key:"60a213b1b9d9fdd01e4ead844cc0c45f97492474",class:d()},t("slot",{key:"533b69a0e5118d466159c106cfbf6ae058b9a7f2"}))}static get style(){return"*{box-sizing:border-box}.static{position:static}.relative{position:relative}.flex{display:flex}.flex-col{flex-direction:column}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}"}},[260,"p-table-container"]);function o(){"undefined"!=typeof customElements&&["p-table-container"].forEach((i=>{"p-table-container"===i&&(customElements.get(a(i))||customElements.define(a(i),r))}))}export{r as T,o as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,c as a,h as r,t as i}from"./p-
|
|
1
|
+
import{p as e,H as t,c as a,h as r,t as i}from"./p-mR4MYqqI.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-C1fCuFhI.js";import{f as n,g as d}from"./p-CwQG70_4.js";import{c as l}from"./p-xs4N_Y-0.js";import{a as h}from"./p-C5CTp9IA.js";import{d as c}from"./p-DoDhkUVy.js";import{d as m}from"./p-DfBWP1bt.js";import{d as p}from"./p--JxtpGtF.js";import{d as w}from"./p-2ng-Aose.js";const f=o(["rounded-lg w-full"],{variants:{variant:{read:null,write:null},size:{base:null,sm:null}},compoundVariants:[{variant:"read",size:"base",class:"h-5"},{variant:"read",size:"sm",class:"h-4"},{variant:"write",size:"base",class:"h-8"},{variant:"write",size:"sm",class:"h-6"}]}),x=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.focus=a(this,"focus",7)}_defaultOptionalTemplate=()=>n(this._locales.optional);id;align="start";label;loading=!1;loadingSize="base";variant;helper;required;showOptional=!0;error;errorPlacement;forceShowTooltip=!1;optionalTemplate=this._defaultOptionalTemplate;get _el(){return this}focus;_locales={};componentWillLoad(){this._setLocales()}render(){const{hasHeaderSlot:e,hasErrorSlot:t,helper:a,label:i,errorAndErrorIsNotBoolean:o}=this._getSlotInfo();let n=r("slot",{key:"e795f4695850003f41a5bfb815893affee00e8de",slot:"trigger",name:"content"});return this.loading&&(n=r("p-loader",{key:"1f65c3ca60cefbf0740c9d7235a18a3e69f1c788",variant:"ghost",class:f({variant:this.variant,size:this.loadingSize}),slot:"trigger"})),r(s,{key:"9b4ab7a1d59cead07a2065b0d6bc72be41d24287"},r("label",{key:"ac31d16bdd75b4b236479638efd367f4771627d1",htmlFor:this.id,class:l("flex w-inherit flex-col gap-1",{"cursor-auto":"read"===this.variant})},r("div",{key:"06a0c419582c71df7323bc3b0deb2d8a98541ca7",class:l("flex items-end justify-between gap-1 empty:hidden",{"flex-row-reverse":"end"===this.align})},(!!i?.length||!!a?.length)&&r("div",{key:"97d2b33bb04145650b000dde1859015361855fa3",class:"flex min-w-0 gap-2",onClick:()=>this.focus.emit()},r("span",{key:"4a2fc2b62dba4fc7d4a5f816944996333cff2ca3",class:"min-w-0 overflow-hidden text-ellipsis text-xs font-medium text-storm-300 dark:text-hurricane-200"},i),a&&r("p-helper",{key:"1638bb0c6c3683bd2bd0836b9f4fd0ca07561baf",class:"flex flex-shrink-0",placement:"top"},a)),(!h(this.required)&&h(this.showOptional)||e)&&r("div",{key:"4f9f56fc0951dab62bd75c4cc7ea724e17ec05aa",class:"flex items-center gap-1"},!h(this.required)&&h(this.showOptional)&&"write"===this.variant&&r("span",{key:"5a86b8751d683868f5c6f001571c184684014741",class:"text-xs font-medium text-storm-200 dark:text-hurricane-300"},this.optionalTemplate()),e&&r("slot",{key:"2bb4125dfcf6a346259a64f5a92000413fcd13ab",name:"header"}))),r("p-tooltip",{key:"9ddda9fc48a0d3e95ba9953c1787728692b04b27",class:l({"w-full":"write"===this.variant||this.loading,"ml-auto":"end"===this.align,"font-normal":"read"===this.variant,"text-storm-500 dark:text-white":"read"===this.variant}),variant:"error",content:this.error,show:o&&h(this.forceShowTooltip,!1),enableUserInput:!1,placement:this.errorPlacement},t&&r("slot",{key:"3670780d5e0907d655e282fbea6c43dcceea7e00",name:"error",slot:"content"}),n)))}async _setLocales(){this._locales=await d(this._el)}_getSlotInfo(){const e=!!this._el.querySelector(':scope > [slot="helper"]'),t=!!this._el.querySelector(':scope > [slot="label"]'),a=!!this._el.querySelector(':scope > [slot="header"]'),i=!!this._el.querySelector(':scope > [slot="error"]');return{hasHelperSlot:e,hasLabelSlot:t,hasHeaderSlot:a,hasErrorSlot:i,helper:e?r("slot",{name:"helper"}):this.helper,label:t?r("slot",{name:"label"}):this.label,errorAndErrorIsNotBoolean:i||this.error&&"string"==typeof this.error&&"true"!==this.error}}static get style(){return"*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-field-container",{id:[1],align:[1],label:[1],loading:[4],loadingSize:[1,"loading-size"],variant:[1],helper:[1],required:[516],showOptional:[516,"show-optional"],error:[513],errorPlacement:[1,"error-placement"],forceShowTooltip:[516,"force-show-tooltip"],optionalTemplate:[16],_locales:[32]},[[16,"localeChanged","_setLocales"]]]);function b(){"undefined"!=typeof customElements&&["p-field-container","p-helper","p-icon","p-loader","p-tooltip"].forEach((e=>{switch(e){case"p-field-container":customElements.get(i(e))||customElements.define(i(e),x);break;case"p-helper":customElements.get(i(e))||c();break;case"p-icon":customElements.get(i(e))||m();break;case"p-loader":customElements.get(i(e))||p();break;case"p-tooltip":customElements.get(i(e))||w()}}))}export{x as F,b as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as i,t as r}from"./p-
|
|
1
|
+
import{p as t,H as e,h as i,t as r}from"./p-mR4MYqqI.js";import{c as a}from"./p-CBWjHURv.js";import{T as o}from"./p-C1fCuFhI.js";import{a as n}from"./p-C5CTp9IA.js";const d=a("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),s=a(["h-6 w-6 flex items-center justify-center","text-sm text-center font-medium","border border-solid","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null}},compoundVariants:[{finished:!1,active:!1,class:["text-indigo-600 bg-indigo-50 border-indigo-600","dark:text-hurricane-200 dark:bg-white/15 dark:border-white/15"]},{active:!0,finished:!1,class:"text-white bg-indigo-600 border-indigo-600"},{active:!1,finished:!0,class:"text-white bg-indigo-600 border-indigo-600"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),c=a("text-sm font-medium flex-1 mt-[1px]",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null}},compoundVariants:[{finished:!1,active:!1,class:"text-storm-400 dark:text-hurricane-200"},{active:!0,finished:!1,class:"text-storm-500 dark:text-white"},{active:!1,finished:!0,class:"text-storm-500 dark:text-white"},{direction:"horizontal",active:!1,class:"hidden desktop-xs:inline-block"}]}),l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}number=1;direction="horizontal";align="center";contentPosition="end";finished=!1;active=!1;render(){return i(o,{key:"197bcb21f1d28e35bee93f7fe3efa2c70361a4dc"},i("div",{key:"8c0e55e1ca56a4b2c3107542c5533c5166686215",class:d({align:this.align,contentPosition:this.contentPosition})},i("div",{key:"5905ce66b404e06f9c1b79818bc1167adbcdd4de",class:s({align:this.align,direction:this.direction,active:n(this.active),finished:n(this.finished)})},this.number),i("div",{key:"829cb80e0b3873461f91cb63521ca70e8578c909",class:c({active:n(this.active),finished:n(this.finished),direction:this.direction})},i("slot",{key:"38fd35eb991bdfbc3884c93cc710067e7cb4435a"}))))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.w-6{width:1.5rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-stepper-item",{number:[2],direction:[1],align:[1],contentPosition:[1,"content-position"],finished:[4],active:[4]}]);function h(){"undefined"!=typeof customElements&&["p-stepper-item"].forEach((t=>{"p-stepper-item"===t&&(customElements.get(r(t))||customElements.define(r(t),l))}))}export{l as S,h as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,h as r,t as a}from"./p-
|
|
1
|
+
import{p as t,H as e,h as r,t as a}from"./p-mR4MYqqI.js";import{T as o}from"./p-C1fCuFhI.js";const i=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return r(o,{key:"c86403715338caf974046a01d48cb11ff916f6fc"})}static get style(){return".mx-\\[calc\\(0\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px)}.block{display:block}.min-h-\\[1rem\\]{min-height:1rem}.w-\\[1px\\]{width:1px}.bg-off-white-700{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1))}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:1px}:host:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}:host:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.static{position:static}"}},[1,"p-listing-line"]);function c(){"undefined"!=typeof customElements&&["p-listing-line"].forEach((t=>{"p-listing-line"===t&&(customElements.get(a(t))||customElements.define(a(t),i))}))}export{i as L,c as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,c as r,h as a,t as i}from"./p-et-2f2Wz.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-C7Bjyf-i.js";import{a as n}from"./p-C5CTp9IA.js";import{c as d}from"./p-xs4N_Y-0.js";import{n as h}from"./p-D9kEjsvZ.js";import{d as l}from"./p-CHydrUrt.js";import{d as c}from"./p-Coxruux_.js";import{d as p}from"./p-KuL1SNit.js";import{d as m}from"./p-DxW06-IZ.js";import{d as w}from"./p-Ci0JKTmE.js";import{d as b}from"./p-CccN0jY7.js";const u=o(["flex gap-2","w-inherit","border-solid rounded-lg","relative"],{variants:{variant:{read:"border-0 items-start flex-wrap hyphens-auto break-normal leading-6",write:"border px-2"},size:{sm:null,base:null},disabled:{false:null,true:null},focused:{false:null,true:null},error:{false:null,true:null},isTextarea:{false:null,true:"items-start"}},compoundVariants:[{size:"sm",variant:"write",isTextarea:!1,class:"h-6"},{size:"base",variant:"write",isTextarea:!1,class:"h-8"},{size:"sm",variant:"read",class:"min-h-4 text-xs"},{size:"base",variant:"read",class:"min-h-5 text-sm"},{variant:"write",focused:!1,error:!1,class:"border-storm-100 dark:border-hurricane-400"},{variant:"write",disabled:!1,focused:!0,error:!1,class:"border-indigo-600 ring dark:ring-0 ring-indigo-100 selection:bg-indigo-500"},{variant:"write",disabled:!1,class:"bg-white dark:bg-hurricane-500"},{variant:"write",disabled:!0,class:"bg-white-600 dark:bg-hurricane-600 dark:border-hurricane-500 cursor-not-allowed"},{disabled:!1,error:!0,class:"border-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"ring ring-negative-red-50 selection:bg-negative-red-50 dark:ring-0"}]}),g=o(["text-sm placeholder:text-sm placeholder:text-storm-500/40 dark:placeholder:text-hurricane-200","border-none bg-transparent flex-1 min-w-0 p-0","outline-none focus:outline-none","font-geist"],{variants:{isTextarea:{false:"h-full",true:"mt-1"},disabled:{false:null,true:"cursor-not-allowed"},error:{false:"text-storm-500 dark:text-white",true:"text-negative-red-500"}}}),f=o(["flex flex-shrink-0 justify-center items-center text-center"],{variants:{variant:{read:"leading-6",write:null},disabled:{false:null,true:"text-storm-100 dark:text-hurricane-400"},focused:{false:null,true:null},error:{false:null,true:null},isText:{false:null,true:"text-sm"},isTextarea:{false:null,true:"mt-2"}},compoundVariants:[{disabled:!1,focused:!1,error:!1,class:"text-storm-300 dark:text-hurricane-200"},{disabled:!1,focused:!0,error:!1,class:"text-storm-500 dark:text-white"},{disabled:!1,focused:!1,error:!0,class:"text-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"text-negative-red-800"}]}),x=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=r(this,"valueChange",3),this.inputRefChange=r(this,"inputRefChange",7),this.add=r(this,"add",3),this.enter=r(this,"enter",3),this._internals=this.attachInternals()}align="start";variant="write";id;size="base";type="text";properties={};prefix;suffix;icon;iconFlip;iconRotate;iconPosition="start";value;label;loading=!1;placeholder;helper;required=!0;showOptional=!0;showAddOnEmpty=!1;addText="Add";autofocus=!1;error;autoShowError=!0;errorPlacement;disabled=!1;focused=!1;forceShowTooltip=!1;selectAllOnFocus=!0;focusMethod="focus";optionalTemplate;valueChange;inputRefChange;add;enter;get _el(){return this}_focused=!1;_nonce=h(5);_internals;_inputRef;_lastValue;componentDidLoad(){this._checkAutoFocus()}formResetCallback(){this.value=null,this.valueChange.emit(null)}formDisabledCallback(t){this._internals.form&&(this.disabled=t)}render(){const{id:t,prefix:e,suffix:r,hasHeaderSlot:i,hasLabelSlot:o,hasHelperSlot:h,hasErrorSlot:l,hasValueSlot:c}=this._getSlotInfo();return a(s,{key:"09b8254690a1603271faac4d9653c90a582a4766"},a("p-field-container",{key:"776ed3812a980004c1cdc1b6c5b79df5908b383e",forceShowTooltip:!!this.error?.length&&!this._focused&&this.autoShowError||!!this.error?.length&&this.forceShowTooltip,id:t,label:this.label,align:this.align,loading:this.loading,loadingSize:this.size,helper:this.helper,error:this.error,required:this.required,showOptional:this.showOptional,variant:this.variant},o&&a("slot",{key:"597e07f1227421eb34575f2c35a5f752f60a66a3",name:"label",slot:"label"}),i&&a("slot",{key:"0ec1fd3a079f51c605b593e90d8514119ae0ffa3",name:"header",slot:"header"}),h&&a("slot",{key:"c71b52f8f6f8fc374e9d7e0c2ed4f838c9f9cb86",name:"helper",slot:"helper"}),l&&a("slot",{key:"d62e1c5f5592540dacbb2e18cf5cc560efbbc5a4",name:"error",slot:"error"}),a("div",{key:"7d30604708a80bd509b5d739e46d82b5fa23b464",class:u({error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,size:this.size,variant:this.variant,isTextarea:"textarea"===this.type}),title:"read"!==this.variant||c?void 0:`${this.value}`,slot:"content"},(this.error?.length||e||this.icon&&"start"===this.iconPosition)&&a("div",{key:"b4b203ba8f20620b2d7f368d2c6367bdadea9878",class:f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r,isTextarea:"textarea"===this.type}),onClick:()=>this._focusInput()},this.icon&&"start"===this.iconPosition||this.error?.length?a("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),variant:this.error?.length?"warning":this.icon,rotate:this.iconRotate,flip:this.iconFlip}):e),this._getContent(c,t),(r||this.icon&&"end"===this.iconPosition)&&a("div",{key:"5fe27dcdc61d7ba5646ecd6e062ad51f808dc4dd",class:f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r,isTextarea:"textarea"===this.type}),onClick:()=>this._focusInput()},this.icon&&"end"===this.iconPosition?a("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),variant:this.icon,rotate:this.iconRotate,flip:this.iconFlip}):r))))}watchvalue(t){this._inputRef&&t!==this._lastValue&&(this._lastValue=t,this._inputRef.value=t)}handleFocusIn(){this.disabled||(this._focused=!0,this._selectAll())}handleFocusOut(){this.disabled||(this._focused=!1)}handleKeyup(t){this.disabled?t.preventDefault():this._internals?.form&&"textarea"!==this.type&&"Enter"===t.key&&this._internals.form.requestSubmit()}handleKeydown(t){this.disabled||"Enter"===t.key&&this.enter.emit(this.value)}_getSlotInfo(){const t=!!this._el.querySelector(':scope > [slot="helper"]'),e=!!this._el.querySelector(':scope > [slot="label"]'),r=!!this._el.querySelector(':scope > [slot="prefix"]'),i=!!this._el.querySelector(':scope > [slot="suffix"]'),o=!!this._el.querySelector(':scope > [slot="header"]'),s=!!this._el.querySelector(':scope > [slot="error"]'),n=!!this._el.querySelector(':scope > [slot="value"]'),d=r?a("slot",{name:"prefix"}):this.prefix,h=i?a("slot",{name:"suffix"}):this.suffix,l=this.error&&"string"==typeof this.error&&"true"!==this.error;return{id:this.id?.length?this.id:this._nonce,hasHelperSlot:t,hasLabelSlot:e,hasPrefixSlot:r,hasSuffixSlot:i,hasHeaderSlot:o,hasErrorSlot:s,hasValueSlot:n,prefix:d,suffix:h,errorAndErrorIsNotBoolean:l}}_getContent(t=!1,e){if("read"===this.variant)return t?a("slot",{name:"value"}):this.value&&`${this.value}`.length>0?this.value:this.showAddOnEmpty?a("p-button",{variant:"text",icon:"plus",size:"sm",onClick:()=>this.add.emit()},this.addText):"—";if("slot"===this.type)return a("slot",{name:"input"});const r={id:e,class:g({disabled:n(this.disabled),isTextarea:"textarea"===this.type,error:!!this.error?.length}),value:this.value,placeholder:this.placeholder,disabled:this.disabled,onInput:t=>this._valueChange(t)};let i=this.properties??{};return"string"==typeof i&&(i=JSON.parse(this.properties)),"textarea"===this.type?a("textarea",{ref:t=>this._setInputRef(t),...r,...i}):a("input",{type:this.type,ref:t=>this._setInputRef(t),...r,...i})}_setInputRef(t){this._inputRef=t,this.inputRefChange.emit(t)}_focusInput(){this._inputRef?this._inputRef.focus():this._el.querySelector(':scope > [slot="input"]')[this.focusMethod]()}_selectAll(){this._inputRef&&this.selectAllOnFocus&&this._inputRef.select()}_valueChange(t){t.stopPropagation();const e=t.originalTarget??t.target,r=e.value;this._lastValue=r,this.value=r,this.valueChange.emit(r),this._internals.setFormValue(e.value)}_checkAutoFocus(){this.autofocus&&(this._inputRef?this._focusInput():setTimeout((()=>this._checkAutoFocus()),100))}static get formAssociated(){return!0}static get watchers(){return{value:[{watchvalue:0}]}}static get style(){return"*{box-sizing:border-box}:host{input[type=number]{-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;display:none}}.static{position:static}.relative{position:relative}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-4{min-height:1rem}.min-h-5{min-height:1.25rem}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.hyphens-auto{hyphens:auto}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-solid{border-style:solid}.border-none{border-style:none}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.font-geist{font-family:Geist,serif}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.leading-6{line-height:1.5rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.ring-negative-red-50{--tw-ring-opacity:1;--tw-ring-color:rgb(253 237 237/var(--tw-ring-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.selection\\:bg-indigo-500 ::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.selection\\:bg-indigo-500::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.placeholder\\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\\:text-storm-500\\/40::placeholder{color:rgba(24,30,41,.4)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}"}},[833,"p-field",{align:[1],variant:[1],id:[1],size:[1],type:[1],properties:[8],prefix:[1],suffix:[1],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"],iconPosition:[1,"icon-position"],value:[8],label:[1],loading:[4],placeholder:[1],helper:[1],required:[516],showOptional:[516,"show-optional"],showAddOnEmpty:[516,"show-add-on-empty"],addText:[513,"add-text"],autofocus:[516],error:[513],autoShowError:[516,"auto-show-error"],errorPlacement:[1,"error-placement"],disabled:[516],focused:[516],forceShowTooltip:[516,"force-show-tooltip"],selectAllOnFocus:[516,"select-all-on-focus"],focusMethod:[1,"focus-method"],optionalTemplate:[16],_focused:[32],_nonce:[32]},[[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"],[2,"keyup","handleKeyup"],[2,"keydown","handleKeydown"]],{value:[{watchvalue:0}]}]);function v(){"undefined"!=typeof customElements&&["p-field","p-button","p-field-container","p-helper","p-icon","p-loader","p-tooltip"].forEach((t=>{switch(t){case"p-field":customElements.get(i(t))||customElements.define(i(t),x);break;case"p-button":customElements.get(i(t))||l();break;case"p-field-container":customElements.get(i(t))||c();break;case"p-helper":customElements.get(i(t))||p();break;case"p-icon":customElements.get(i(t))||m();break;case"p-loader":customElements.get(i(t))||w();break;case"p-tooltip":customElements.get(i(t))||b()}}))}export{x as F,v as d}
|
|
1
|
+
import{p as t,H as e,c as r,h as a,t as i}from"./p-mR4MYqqI.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-C1fCuFhI.js";import{a as n}from"./p-C5CTp9IA.js";import{c as d}from"./p-xs4N_Y-0.js";import{n as h}from"./p-D9kEjsvZ.js";import{d as l}from"./p-DPtX6elD.js";import{d as c}from"./p-BBpjifjG.js";import{d as p}from"./p-DoDhkUVy.js";import{d as m}from"./p-DfBWP1bt.js";import{d as w}from"./p--JxtpGtF.js";import{d as b}from"./p-2ng-Aose.js";const u=o(["flex gap-2","w-inherit","border-solid rounded-lg","relative"],{variants:{variant:{read:"border-0 items-start flex-wrap hyphens-auto break-normal leading-6",write:"border px-2"},size:{sm:null,base:null},disabled:{false:null,true:null},focused:{false:null,true:null},error:{false:null,true:null},isTextarea:{false:null,true:"items-start"}},compoundVariants:[{size:"sm",variant:"write",isTextarea:!1,class:"h-6"},{size:"base",variant:"write",isTextarea:!1,class:"h-8"},{size:"sm",variant:"read",class:"min-h-4 text-xs"},{size:"base",variant:"read",class:"min-h-5 text-sm"},{variant:"write",focused:!1,error:!1,class:"border-storm-100 dark:border-hurricane-400"},{variant:"write",disabled:!1,focused:!0,error:!1,class:"border-indigo-600 ring dark:ring-0 ring-indigo-100 selection:bg-indigo-500"},{variant:"write",disabled:!1,class:"bg-white dark:bg-hurricane-500"},{variant:"write",disabled:!0,class:"bg-white-600 dark:bg-hurricane-600 dark:border-hurricane-500 cursor-not-allowed"},{disabled:!1,error:!0,class:"border-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"ring ring-negative-red-50 selection:bg-negative-red-50 dark:ring-0"}]}),g=o(["text-sm placeholder:text-sm placeholder:text-storm-500/40 dark:placeholder:text-hurricane-200","border-none bg-transparent flex-1 min-w-0 p-0","outline-none focus:outline-none","font-geist"],{variants:{isTextarea:{false:"h-full",true:"mt-1"},disabled:{false:null,true:"cursor-not-allowed"},error:{false:"text-storm-500 dark:text-white",true:"text-negative-red-500"}}}),f=o(["flex flex-shrink-0 justify-center items-center text-center"],{variants:{variant:{read:"leading-6",write:null},disabled:{false:null,true:"text-storm-100 dark:text-hurricane-400"},focused:{false:null,true:null},error:{false:null,true:null},isText:{false:null,true:"text-sm"},isTextarea:{false:null,true:"mt-2"}},compoundVariants:[{disabled:!1,focused:!1,error:!1,class:"text-storm-300 dark:text-hurricane-200"},{disabled:!1,focused:!0,error:!1,class:"text-storm-500 dark:text-white"},{disabled:!1,focused:!1,error:!0,class:"text-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"text-negative-red-800"}]}),x=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=r(this,"valueChange",3),this.inputRefChange=r(this,"inputRefChange",7),this.add=r(this,"add",3),this.enter=r(this,"enter",3),this._internals=this.attachInternals()}align="start";variant="write";id;size="base";type="text";properties={};prefix;suffix;icon;iconFlip;iconRotate;iconPosition="start";value;label;loading=!1;placeholder;helper;required=!0;showOptional=!0;showAddOnEmpty=!1;addText="Add";autofocus=!1;error;autoShowError=!0;errorPlacement;disabled=!1;focused=!1;forceShowTooltip=!1;selectAllOnFocus=!0;focusMethod="focus";optionalTemplate;valueChange;inputRefChange;add;enter;get _el(){return this}_focused=!1;_nonce=h(5);_internals;_inputRef;_lastValue;componentDidLoad(){this._checkAutoFocus()}formResetCallback(){this.value=null,this.valueChange.emit(null)}formDisabledCallback(t){this._internals.form&&(this.disabled=t)}render(){const{id:t,prefix:e,suffix:r,hasHeaderSlot:i,hasLabelSlot:o,hasHelperSlot:h,hasErrorSlot:l,hasValueSlot:c}=this._getSlotInfo();return a(s,{key:"09b8254690a1603271faac4d9653c90a582a4766"},a("p-field-container",{key:"776ed3812a980004c1cdc1b6c5b79df5908b383e",forceShowTooltip:!!this.error?.length&&!this._focused&&this.autoShowError||!!this.error?.length&&this.forceShowTooltip,id:t,label:this.label,align:this.align,loading:this.loading,loadingSize:this.size,helper:this.helper,error:this.error,required:this.required,showOptional:this.showOptional,variant:this.variant},o&&a("slot",{key:"597e07f1227421eb34575f2c35a5f752f60a66a3",name:"label",slot:"label"}),i&&a("slot",{key:"0ec1fd3a079f51c605b593e90d8514119ae0ffa3",name:"header",slot:"header"}),h&&a("slot",{key:"c71b52f8f6f8fc374e9d7e0c2ed4f838c9f9cb86",name:"helper",slot:"helper"}),l&&a("slot",{key:"d62e1c5f5592540dacbb2e18cf5cc560efbbc5a4",name:"error",slot:"error"}),a("div",{key:"7d30604708a80bd509b5d739e46d82b5fa23b464",class:u({error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,size:this.size,variant:this.variant,isTextarea:"textarea"===this.type}),title:"read"!==this.variant||c?void 0:`${this.value}`,slot:"content"},(this.error?.length||e||this.icon&&"start"===this.iconPosition)&&a("div",{key:"b4b203ba8f20620b2d7f368d2c6367bdadea9878",class:f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r,isTextarea:"textarea"===this.type}),onClick:()=>this._focusInput()},this.icon&&"start"===this.iconPosition||this.error?.length?a("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),variant:this.error?.length?"warning":this.icon,rotate:this.iconRotate,flip:this.iconFlip}):e),this._getContent(c,t),(r||this.icon&&"end"===this.iconPosition)&&a("div",{key:"5fe27dcdc61d7ba5646ecd6e062ad51f808dc4dd",class:f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r,isTextarea:"textarea"===this.type}),onClick:()=>this._focusInput()},this.icon&&"end"===this.iconPosition?a("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),variant:this.icon,rotate:this.iconRotate,flip:this.iconFlip}):r))))}watchvalue(t){this._inputRef&&t!==this._lastValue&&(this._lastValue=t,this._inputRef.value=t)}handleFocusIn(){this.disabled||(this._focused=!0,this._selectAll())}handleFocusOut(){this.disabled||(this._focused=!1)}handleKeyup(t){this.disabled?t.preventDefault():this._internals?.form&&"textarea"!==this.type&&"Enter"===t.key&&this._internals.form.requestSubmit()}handleKeydown(t){this.disabled||"Enter"===t.key&&this.enter.emit(this.value)}_getSlotInfo(){const t=!!this._el.querySelector(':scope > [slot="helper"]'),e=!!this._el.querySelector(':scope > [slot="label"]'),r=!!this._el.querySelector(':scope > [slot="prefix"]'),i=!!this._el.querySelector(':scope > [slot="suffix"]'),o=!!this._el.querySelector(':scope > [slot="header"]'),s=!!this._el.querySelector(':scope > [slot="error"]'),n=!!this._el.querySelector(':scope > [slot="value"]'),d=r?a("slot",{name:"prefix"}):this.prefix,h=i?a("slot",{name:"suffix"}):this.suffix,l=this.error&&"string"==typeof this.error&&"true"!==this.error;return{id:this.id?.length?this.id:this._nonce,hasHelperSlot:t,hasLabelSlot:e,hasPrefixSlot:r,hasSuffixSlot:i,hasHeaderSlot:o,hasErrorSlot:s,hasValueSlot:n,prefix:d,suffix:h,errorAndErrorIsNotBoolean:l}}_getContent(t=!1,e){if("read"===this.variant)return t?a("slot",{name:"value"}):this.value&&`${this.value}`.length>0?this.value:this.showAddOnEmpty?a("p-button",{variant:"text",icon:"plus",size:"sm",onClick:()=>this.add.emit()},this.addText):"—";if("slot"===this.type)return a("slot",{name:"input"});const r={id:e,class:g({disabled:n(this.disabled),isTextarea:"textarea"===this.type,error:!!this.error?.length}),value:this.value,placeholder:this.placeholder,disabled:this.disabled,onInput:t=>this._valueChange(t)};let i=this.properties??{};return"string"==typeof i&&(i=JSON.parse(this.properties)),"textarea"===this.type?a("textarea",{ref:t=>this._setInputRef(t),...r,...i}):a("input",{type:this.type,ref:t=>this._setInputRef(t),...r,...i})}_setInputRef(t){this._inputRef=t,this.inputRefChange.emit(t)}_focusInput(){this._inputRef?this._inputRef.focus():this._el.querySelector(':scope > [slot="input"]')[this.focusMethod]()}_selectAll(){this._inputRef&&this.selectAllOnFocus&&this._inputRef.select()}_valueChange(t){t.stopPropagation();const e=t.originalTarget??t.target,r=e.value;this._lastValue=r,this.value=r,this.valueChange.emit(r),this._internals.setFormValue(e.value)}_checkAutoFocus(){this.autofocus&&(this._inputRef?this._focusInput():setTimeout((()=>this._checkAutoFocus()),100))}static get formAssociated(){return!0}static get watchers(){return{value:[{watchvalue:0}]}}static get style(){return"*{box-sizing:border-box}:host{input[type=number]{-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;display:none}}.static{position:static}.relative{position:relative}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-4{min-height:1rem}.min-h-5{min-height:1.25rem}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.hyphens-auto{hyphens:auto}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-solid{border-style:solid}.border-none{border-style:none}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.font-geist{font-family:Geist,serif}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.leading-6{line-height:1.5rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.ring-negative-red-50{--tw-ring-opacity:1;--tw-ring-color:rgb(253 237 237/var(--tw-ring-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.selection\\:bg-indigo-500 ::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.selection\\:bg-indigo-500::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.placeholder\\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\\:text-storm-500\\/40::placeholder{color:rgba(24,30,41,.4)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}"}},[833,"p-field",{align:[1],variant:[1],id:[1],size:[1],type:[1],properties:[8],prefix:[1],suffix:[1],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"],iconPosition:[1,"icon-position"],value:[8],label:[1],loading:[4],placeholder:[1],helper:[1],required:[516],showOptional:[516,"show-optional"],showAddOnEmpty:[516,"show-add-on-empty"],addText:[513,"add-text"],autofocus:[516],error:[513],autoShowError:[516,"auto-show-error"],errorPlacement:[1,"error-placement"],disabled:[516],focused:[516],forceShowTooltip:[516,"force-show-tooltip"],selectAllOnFocus:[516,"select-all-on-focus"],focusMethod:[1,"focus-method"],optionalTemplate:[16],_focused:[32],_nonce:[32]},[[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"],[2,"keyup","handleKeyup"],[2,"keydown","handleKeydown"]],{value:[{watchvalue:0}]}]);function v(){"undefined"!=typeof customElements&&["p-field","p-button","p-field-container","p-helper","p-icon","p-loader","p-tooltip"].forEach((t=>{switch(t){case"p-field":customElements.get(i(t))||customElements.define(i(t),x);break;case"p-button":customElements.get(i(t))||l();break;case"p-field-container":customElements.get(i(t))||c();break;case"p-helper":customElements.get(i(t))||p();break;case"p-icon":customElements.get(i(t))||m();break;case"p-loader":customElements.get(i(t))||w();break;case"p-tooltip":customElements.get(i(t))||b()}}))}export{x as F,v as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,c as s,h as i,t as a}from"./p-
|
|
1
|
+
import{p as e,H as t,c as s,h as i,t as a}from"./p-mR4MYqqI.js";import{c as o}from"./p-CBWjHURv.js";import{T as p}from"./p-C1fCuFhI.js";import{a as n,d as r}from"./p-CNMa-_yN.js";import{P as l}from"./p-CEaB2BT0.js";import{f as h,g as c}from"./p-CwQG70_4.js";import{d as m}from"./p-DPtX6elD.js";import{d}from"./p-D08B3cFE.js";import{d as g}from"./p-Cmsf0PX2.js";import{d as u}from"./p-CGFPlslj.js";import{d as f}from"./p-BY-iZ7C8.js";import{d as C}from"./p-BBpjifjG.js";import{d as b}from"./p-DoDhkUVy.js";import{d as w}from"./p-DfBWP1bt.js";import{d as k}from"./p--JxtpGtF.js";import{d as y}from"./p-D5_UJJpn.js";import{d as _}from"./p-2ng-Aose.js";const v=o(["p-pagination","flex gap-2 items-center"],{variants:{hidden:{false:"flex",true:"hidden"}}}),j=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pageChange=s(this,"pageChange",3),this.pagesChange=s(this,"pagesChange",3)}_defaultDropdownPageTemplate=e=>h(this._locales.page,{page:e});page=1;pageChange;dropdownPageTemplate=this._defaultDropdownPageTemplate;pageSize=l;hideOnSinglePage=!1;total;pagesChange;_showDropdown=[!1,!1];_dropdowns=[];_locales={};get _el(){return this}_pages=[];_set=[];componentWillLoad(){this._setLocales()}componentWillRender(){this._generate()}render(){return i(p,{key:"f907f831961866c8c54361d1cb24bfc1d6782a91"},i("div",{key:"d23cdee3d91f4fc7fccd64bc13fb0e1c71885cf1",class:v({hidden:this.hideOnSinglePage&&3===this._set?.length})},this._set?.map((e=>"previous"===e.type||"next"===e.type?i("p-pagination-pages-item",{variant:"carousel",disabled:this._carouselDisabled(e.type),onClick:()=>"previous"===e.type?this._previousClick():this._nextClick()},e.value):"ellipsis"===e.type?i("p-dropdown",{placement:"top",applyChevron:!1,insideClick:!0,show:this._showDropdown[e.dropdownIndex],onIsOpen:({detail:t})=>this._onShowDropdown(t,e.dropdownIndex),ref:t=>this._dropdowns[e.dropdownIndex]=t},i("p-pagination-pages-item",{slot:"trigger"},"..."),e.options?.slice(0,5).map((e=>i("p-dropdown-menu-item",{variant:"pagination",autoHeight:!0,onClick:()=>this._pageClick(e),slot:"items"},this.dropdownPageTemplate?this.dropdownPageTemplate(e):this._defaultDropdownPageTemplate(e)))),e.options?.length>5&&this._showDropdown[e.dropdownIndex]&&i("p-field",{class:"mt-2 w-28",size:"sm",icon:"enter-key",iconPosition:"end",type:"number",properties:{min:1,max:this._pages.length,step:1},autoFocus:!0,onEnter:({detail:e})=>this._enterPress(e),slot:"items"})):i("p-pagination-pages-item",{active:e.value===this.page,onClick:()=>this._pageClick(e.value)},e.value)))))}pageChangeHandler(){this._generate()}async _setLocales(){this._locales=await c(this._el)}documentClickHandler(e){const t=[!1,!1];this._dropdowns[0]&&n(e,this._dropdowns[0])&&(t[0]=!0),this._dropdowns[1]&&n(e,this._dropdowns[1])&&(t[1]=!0),this._showDropdown=t}_generate(){this._pages=this._generatePages(),this._set=this._generateSet(),this.page>this._pages?.length&&this._changePage(this._pages.length)}_changePage(e){e&&(this._showDropdown=[!1,!1],this.page=e,this.pageChange.emit(this.page))}_previousClick(){this._carouselDisabled("previous")||this._changePage(this.page-1)}_nextClick=()=>{this._carouselDisabled("next")||this._changePage(this.page+1)};_carouselDisabled=e=>"next"===e&&this.page+1>this._pages.at(-1)||"previous"===e&&this.page-1<this._pages[0];_pageClick=e=>this._changePage(e);_enterPress(e){"string"==typeof e&&(e=Number.parseInt(e)),Number.isNaN(e)||(e<1&&(e=1),e>this._pages.length&&(e=this._pages.length),this._changePage(e))}_onShowDropdown(e=!1,t){const s=[...this._showDropdown];s[t]=e,this._showDropdown=s}_generatePages(){if(!this.total||!this.pageSize)return[];const e=Math.ceil(this.total/this.pageSize);return this.pagesChange.emit(e),Array.from({length:e}).fill("").map(((e,t)=>t+1))}_generateSet=(e=1,t=!0)=>{const s=this._pages.length;if(!s)return[];let a=this.page-e,o=this.page+e;o>s&&(o=s,a=s-2*e,a=Math.max(a,1)),a<=1&&(a=1,o=Math.min(2*e+1,s));const p=[],n={type:"previous",value:i("p-icon",{variant:"caret",size:"sm",rotate:90})},r={type:"next",value:i("p-icon",{variant:"caret",size:"sm",rotate:-90})};if(null===e){const e=this._pages.map((e=>({type:"page",value:e})));return t?[n,...e,r]:e}t&&p.push(n);let l=0;if(a<=3)for(let e=1;e<a;e++)p.push({type:"page",value:this._pages[e-1]});else p.push({type:"page",value:1},{type:"ellipsis",dropdownIndex:l,options:Array.from({length:a-2},((e,t)=>t+2))}),l++;for(let e=a;e<=o;e++)p.push({type:"page",value:this._pages[e-1]});if(o>=s-2)for(let e=o+1;e<=s;e++)p.push({type:"page",value:this._pages[e-1]});else p.push({type:"ellipsis",dropdownIndex:l,options:Array.from({length:s-o-1},((e,t)=>t+o+1))},{type:"page",value:this._pages.at(-1)}),l++;return t&&p.push(r),p};static get watchers(){return{page:[{pageChangeHandler:0}],pageSize:[{pageChangeHandler:0}],total:[{pageChangeHandler:0}]}}static get style(){return"*{box-sizing:border-box}.static{position:static}.mt-2{margin-top:.5rem}.flex{display:flex}.hidden{display:none}.w-28{width:7rem}.items-center{align-items:center}.gap-2{gap:.5rem}"}},[513,"p-pagination-pages",{page:[1538],dropdownPageTemplate:[16],pageSize:[2,"page-size"],hideOnSinglePage:[4,"hide-on-single-page"],total:[2],_showDropdown:[32],_dropdowns:[32],_locales:[32]},[[16,"localeChanged","_setLocales"],[6,"click","documentClickHandler"]],{page:[{pageChangeHandler:0}],pageSize:[{pageChangeHandler:0}],total:[{pageChangeHandler:0}]}]);function x(){"undefined"!=typeof customElements&&["p-pagination-pages","p-button","p-checkbox","p-dropdown","p-dropdown-menu-container","p-dropdown-menu-item","p-field","p-field-container","p-helper","p-icon","p-loader","p-pagination-pages-item","p-tooltip"].forEach((e=>{switch(e){case"p-pagination-pages":customElements.get(a(e))||customElements.define(a(e),j);break;case"p-button":customElements.get(a(e))||m();break;case"p-checkbox":customElements.get(a(e))||d();break;case"p-dropdown":customElements.get(a(e))||r();break;case"p-dropdown-menu-container":customElements.get(a(e))||g();break;case"p-dropdown-menu-item":customElements.get(a(e))||u();break;case"p-field":customElements.get(a(e))||f();break;case"p-field-container":customElements.get(a(e))||C();break;case"p-helper":customElements.get(a(e))||b();break;case"p-icon":customElements.get(a(e))||w();break;case"p-loader":customElements.get(a(e))||k();break;case"p-pagination-pages-item":customElements.get(a(e))||y();break;case"p-tooltip":customElements.get(a(e))||_()}}))}export{j as P,x as d}
|