@paperless/core 3.17.1 → 3.17.2
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-10105337.entry.js → build/p-043b91f5.entry.js} +1 -1
- package/dist/build/{p-76b33bc8.entry.js → p-0aa7e5d2.entry.js} +1 -1
- package/dist/{paperless/p-cb377de6.entry.js → build/p-11d65b3d.entry.js} +1 -1
- package/dist/build/p-17aZBUHj.js +1 -0
- package/dist/{paperless/p-62dd411e.entry.js → build/p-2907111a.entry.js} +1 -1
- package/dist/{paperless/p-0f7dd307.entry.js → build/p-2e61871a.entry.js} +1 -1
- package/dist/{paperless/p-763729fb.entry.js → build/p-344ab157.entry.js} +1 -1
- package/dist/{paperless/p-ccdfbac0.entry.js → build/p-34b81a42.entry.js} +1 -1
- package/dist/build/{p-e3b26855.entry.js → p-369e2594.entry.js} +1 -1
- package/dist/build/p-386c86f6.entry.js +1 -0
- package/dist/build/{p-3cd32a86.entry.js → p-3fb95d2b.entry.js} +1 -1
- package/dist/build/{p-67c4f47a.entry.js → p-5ad24b03.entry.js} +1 -1
- package/dist/build/{p-917e015e.entry.js → p-5e4343f3.entry.js} +1 -1
- package/dist/{paperless/p-def424e2.entry.js → build/p-66eaca48.entry.js} +1 -1
- package/dist/build/{p-9ba3bf5c.entry.js → p-743b47cb.entry.js} +1 -1
- package/dist/build/p-7afccf96.entry.js +1 -0
- package/dist/build/{p-8d8de0c2.entry.js → p-7fa2bbee.entry.js} +1 -1
- package/dist/{paperless/p-d7431519.entry.js → build/p-8edbbfd4.entry.js} +1 -1
- package/dist/build/{p-af1a320c.entry.js → p-9c4c942e.entry.js} +1 -1
- package/dist/{paperless/p-883569e8.entry.js → build/p-a00541cc.entry.js} +1 -1
- package/dist/build/{p-4396eb51.entry.js → p-a1a4a39e.entry.js} +1 -1
- package/dist/build/{p-e6303115.entry.js → p-a4a66b93.entry.js} +1 -1
- package/dist/build/{p-8d5c29db.entry.js → p-a68a2ee8.entry.js} +1 -1
- package/dist/build/{p-7ee97d69.entry.js → p-bdda2ffc.entry.js} +1 -1
- package/dist/{paperless/p-baef7edd.entry.js → build/p-be576419.entry.js} +1 -1
- package/dist/{paperless/p-a8c62ac9.entry.js → build/p-bec66e8f.entry.js} +1 -1
- package/dist/{paperless/p-da849804.entry.js → build/p-c5085825.entry.js} +1 -1
- package/dist/build/{p-1a85b89a.js → p-c6008b10.js} +1 -1
- package/dist/build/{p-3829f072.entry.js → p-c6056657.entry.js} +1 -1
- package/dist/build/{p-5d205d0c.entry.js → p-d60067bc.entry.js} +1 -1
- package/dist/build/p-e04a3cb9.entry.js +1 -0
- package/dist/build/{p-4f9c1419.entry.js → p-e1a16ec5.entry.js} +1 -1
- package/dist/build/{p-868664e6.entry.js → p-fa7c3951.entry.js} +1 -1
- package/dist/build/p-faad66c1.entry.js +1 -0
- package/dist/build/{p-337de35a.entry.js → p-fbabae11.entry.js} +1 -1
- package/dist/{paperless/p-71ac632f.entry.js → build/p-fca492f6.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/is-platform-DrUncDjO.js +14 -0
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button_3.cjs.entry.js +5 -5
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +7 -7
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-dropzone.cjs.entry.js +5 -5
- package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
- package/dist/cjs/p-field_3.cjs.entry.js +9 -9
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-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 +1 -1
- package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +5 -5
- package/dist/cjs/p-radio.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 +5 -5
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +12 -5
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/button/button.component.js +4 -4
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +5 -5
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/organisms/table/table.component.js +13 -7
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/is-platform.js +10 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-17aZBUHj.js +1 -0
- package/dist/components/{p-BCz_zIFG.js → p-1HCkK9Pf.js} +1 -1
- package/dist/components/{p-D5XWd7Bs.js → p-7-twKt34.js} +1 -1
- package/dist/components/{p-vaepTExy.js → p-B-YBFRbB.js} +1 -1
- package/dist/components/{p-B3z0oUOp.js → p-B-hJzwTL.js} +1 -1
- package/dist/components/{p-CDe7jCUk.js → p-B6hIbVwt.js} +1 -1
- package/dist/components/{p-BOxXP6iG.js → p-B91CxVcz.js} +1 -1
- package/dist/components/{p-CnDhkkQD.js → p-BANLejQ8.js} +1 -1
- package/dist/components/{p-2j-kuSnK.js → p-BEo__1-X.js} +1 -1
- package/dist/components/{p-CEV1BcNp.js → p-BH6HgTxH.js} +1 -1
- package/dist/components/{p-DoC7I6xW.js → p-BNMkjAgS.js} +1 -1
- package/dist/components/{p-DQBc9tJK.js → p-BO7NYfW5.js} +1 -1
- package/dist/components/{p-C0ujVUrk.js → p-BOJwTddb.js} +1 -1
- package/dist/components/p-BSCgVJQ9.js +1 -0
- package/dist/components/{p-D33L0Zo8.js → p-Bk5wUwrW.js} +1 -1
- package/dist/components/{p-Ck3VZl5U.js → p-C-ljhNrW.js} +1 -1
- package/dist/components/{p-DQpI5tIr.js → p-C0cLQxQE.js} +1 -1
- package/dist/components/{p-B_Fq8DsJ.js → p-C1Z78Vu0.js} +1 -1
- package/dist/components/p-C7rLlb8m.js +1 -0
- package/dist/components/{p-BB1J9Khx.js → p-C9B5DTYx.js} +1 -1
- package/dist/components/{p-DO2ZQox0.js → p-CEcyKdij.js} +1 -1
- package/dist/components/{p-EOlmcNxt.js → p-COuYu8I6.js} +1 -1
- package/dist/components/{p-NLPNy7x4.js → p-CQ6JEZg6.js} +1 -1
- package/dist/components/{p-DrNRSBlB.js → p-CRBPo2To.js} +1 -1
- package/dist/components/{p-DIVKoW2k.js → p-CTI55iY5.js} +1 -1
- package/dist/components/{p-BdoEpjOL.js → p-CjhbgGH8.js} +1 -1
- package/dist/components/{p-CmgZTGg0.js → p-CtnPrlBW.js} +1 -1
- package/dist/components/{p-C-zP-2lQ.js → p-D3wJam1N.js} +1 -1
- package/dist/components/{p-BUr-jpXO.js → p-D5P9pJhK.js} +1 -1
- package/dist/components/{p-D-6XwTh8.js → p-D6g8cYWI.js} +1 -1
- package/dist/components/{p-DAIKWUp5.js → p-DHJ6_2xS.js} +1 -1
- package/dist/components/{p-DuDnxEzm.js → p-DM-VvZXT.js} +1 -1
- package/dist/components/{p-D-aqRvv-.js → p-DU-stXqd.js} +1 -1
- package/dist/components/{p-DG7jkAHu.js → p-Da9Ao_Ve.js} +1 -1
- package/dist/components/{p-BOiWsfcF.js → p-Dkr0Ta5m.js} +1 -1
- package/dist/components/{p-upBcC1Jh.js → p-Dp4CjRib.js} +1 -1
- package/dist/components/{p-Da9hczVK.js → p-Dv2ILejF.js} +1 -1
- package/dist/components/{p-DE32t_Uu.js → p-Dz2_k8-X.js} +1 -1
- package/dist/components/p-GYxEYTaZ.js +1 -0
- package/dist/components/{p-DshbO5B5.js → p-Hk7avBWN.js} +1 -1
- package/dist/components/{p-DsTf8Cgs.js → p-SUrtpFuE.js} +1 -1
- package/dist/components/{p-DmRGJDcs.js → p-a_De3Rd1.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.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-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-dropzone.js +1 -1
- package/dist/components/p-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-helper.js +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/{p-Bj375kvF.js → p-mLlgASil.js} +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-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-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/p-wYHaAjO_.js +1 -0
- package/dist/components/{p-DldbEkyU.js → p-xkXCC7GI.js} +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/is-platform-17aZBUHj.js +12 -0
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button_3.entry.js +5 -5
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox_3.entry.js +7 -7
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-dropdown-menu-item_2.entry.js +5 -5
- package/dist/esm/p-dropzone.entry.js +5 -5
- package/dist/esm/p-empty-state_8.entry.js +10 -10
- package/dist/esm/p-field_3.entry.js +9 -9
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-listing-line.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +5 -5
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +12 -5
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/{build/p-10105337.entry.js → paperless/p-043b91f5.entry.js} +1 -1
- package/dist/paperless/{p-76b33bc8.entry.js → p-0aa7e5d2.entry.js} +1 -1
- package/dist/{build/p-cb377de6.entry.js → paperless/p-11d65b3d.entry.js} +1 -1
- package/dist/paperless/p-17aZBUHj.js +1 -0
- package/dist/{build/p-62dd411e.entry.js → paperless/p-2907111a.entry.js} +1 -1
- package/dist/{build/p-0f7dd307.entry.js → paperless/p-2e61871a.entry.js} +1 -1
- package/dist/{build/p-763729fb.entry.js → paperless/p-344ab157.entry.js} +1 -1
- package/dist/{build/p-ccdfbac0.entry.js → paperless/p-34b81a42.entry.js} +1 -1
- package/dist/paperless/{p-e3b26855.entry.js → p-369e2594.entry.js} +1 -1
- package/dist/paperless/p-386c86f6.entry.js +1 -0
- package/dist/paperless/{p-3cd32a86.entry.js → p-3fb95d2b.entry.js} +1 -1
- package/dist/paperless/{p-67c4f47a.entry.js → p-5ad24b03.entry.js} +1 -1
- package/dist/paperless/{p-917e015e.entry.js → p-5e4343f3.entry.js} +1 -1
- package/dist/{build/p-def424e2.entry.js → paperless/p-66eaca48.entry.js} +1 -1
- package/dist/paperless/{p-9ba3bf5c.entry.js → p-743b47cb.entry.js} +1 -1
- package/dist/paperless/p-7afccf96.entry.js +1 -0
- package/dist/paperless/{p-8d8de0c2.entry.js → p-7fa2bbee.entry.js} +1 -1
- package/dist/{build/p-d7431519.entry.js → paperless/p-8edbbfd4.entry.js} +1 -1
- package/dist/paperless/{p-af1a320c.entry.js → p-9c4c942e.entry.js} +1 -1
- package/dist/{build/p-883569e8.entry.js → paperless/p-a00541cc.entry.js} +1 -1
- package/dist/paperless/{p-4396eb51.entry.js → p-a1a4a39e.entry.js} +1 -1
- package/dist/paperless/{p-e6303115.entry.js → p-a4a66b93.entry.js} +1 -1
- package/dist/paperless/{p-8d5c29db.entry.js → p-a68a2ee8.entry.js} +1 -1
- package/dist/paperless/{p-7ee97d69.entry.js → p-bdda2ffc.entry.js} +1 -1
- package/dist/{build/p-baef7edd.entry.js → paperless/p-be576419.entry.js} +1 -1
- package/dist/{build/p-a8c62ac9.entry.js → paperless/p-bec66e8f.entry.js} +1 -1
- package/dist/{build/p-da849804.entry.js → paperless/p-c5085825.entry.js} +1 -1
- package/dist/paperless/{p-3829f072.entry.js → p-c6056657.entry.js} +1 -1
- package/dist/paperless/{p-5d205d0c.entry.js → p-d60067bc.entry.js} +1 -1
- package/dist/paperless/p-e04a3cb9.entry.js +1 -0
- package/dist/paperless/{p-4f9c1419.entry.js → p-e1a16ec5.entry.js} +1 -1
- package/dist/paperless/{p-868664e6.entry.js → p-fa7c3951.entry.js} +1 -1
- package/dist/paperless/p-faad66c1.entry.js +1 -0
- package/dist/paperless/{p-337de35a.entry.js → p-fbabae11.entry.js} +1 -1
- package/dist/{build/p-71ac632f.entry.js → paperless/p-fca492f6.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/organisms/table/table.component.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/is-platform.d.ts +1 -0
- package/hydrate/index.js +125 -108
- package/hydrate/index.mjs +125 -108
- package/package.json +1 -1
- package/dist/build/p-04a894b6.entry.js +0 -1
- package/dist/build/p-418e1cfb.entry.js +0 -1
- package/dist/build/p-bb9cafa4.entry.js +0 -1
- package/dist/build/p-ec1b1cd9.entry.js +0 -1
- package/dist/components/p-BcvO8ZNG.js +0 -1
- package/dist/components/p-BgfUUO1k.js +0 -1
- package/dist/components/p-BzqBJcLi.js +0 -1
- package/dist/components/p-CHa2NghY.js +0 -1
- package/dist/paperless/p-04a894b6.entry.js +0 -1
- package/dist/paperless/p-418e1cfb.entry.js +0 -1
- package/dist/paperless/p-bb9cafa4.entry.js +0 -1
- package/dist/paperless/p-ec1b1cd9.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as t,H as a,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";const m=n(["fixed z-toast flex flex-col gap-4","tablet:max-w-[26.5rem]","z-[600]","\n w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,\n 0)+2rem))]\n ","\n max-w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,0)+2rem))]\n "],{variants:{placement:{"top-start":["top-[calc(env(safe-area-inset-top,0)+1rem)]","left-[calc(env(safe-area-inset-left,0)+1rem)]"],"top-end":["top-[calc(env(safe-area-inset-top,0)+1rem)]","right-[calc(env(safe-area-inset-right,0)+1rem)]"],"bottom-start":["bottom-[calc(env(safe-area-inset-bottom,0)+1rem)]","left-[calc(env(safe-area-inset-left,0)+1rem)]"],"bottom-end":["bottom-[calc(env(safe-area-inset-bottom,0)+1rem)]","right-[calc(env(safe-area-inset-right,0)+1rem)]"]}}}),r=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}placement="top-end";render(){return i("div",{key:"
|
|
1
|
+
import{t as e,p as t,H as a,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";const m=n(["fixed z-toast flex flex-col gap-4","tablet:max-w-[26.5rem]","z-[600]","\n w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,\n 0)+2rem))]\n ","\n max-w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,0)+2rem))]\n "],{variants:{placement:{"top-start":["top-[calc(env(safe-area-inset-top,0)+1rem)]","left-[calc(env(safe-area-inset-left,0)+1rem)]"],"top-end":["top-[calc(env(safe-area-inset-top,0)+1rem)]","right-[calc(env(safe-area-inset-right,0)+1rem)]"],"bottom-start":["bottom-[calc(env(safe-area-inset-bottom,0)+1rem)]","left-[calc(env(safe-area-inset-left,0)+1rem)]"],"bottom-end":["bottom-[calc(env(safe-area-inset-bottom,0)+1rem)]","right-[calc(env(safe-area-inset-right,0)+1rem)]"]}}}),r=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}placement="top-end";render(){return i("div",{key:"f28d91021abda29f748cb31b45509847ca0da96a",class:m({placement:this.placement})},i("slot",{key:"410921616add076f439ded2ee2590d941665040f"}))}static get style(){return"*{box-sizing:border-box}.static{position:static}.fixed{position:fixed}.bottom-\\[calc\\(env\\(safe-area-inset-bottom\\2c 0\\)\\+1rem\\)\\]{bottom:calc(env(safe-area-inset-bottom,0) + 1rem)}.left-\\[calc\\(env\\(safe-area-inset-left\\2c 0\\)\\+1rem\\)\\]{left:calc(env(safe-area-inset-left,0) + 1rem)}.right-\\[calc\\(env\\(safe-area-inset-right\\2c 0\\)\\+1rem\\)\\]{right:calc(env(safe-area-inset-right,0) + 1rem)}.top-\\[calc\\(env\\(safe-area-inset-top\\2c 0\\)\\+1rem\\)\\]{top:calc(env(safe-area-inset-top,0) + 1rem)}.z-\\[600\\]{z-index:600}.z-toast{z-index:700}.flex{display:flex}.max-w-\\[calc\\(100\\%-\\(env\\(safe-area-inset-left\\2c 0\\)\\+env\\(safe-area-inset-right\\2c 0\\)\\+2rem\\)\\)\\]{max-width:calc(100% - env(safe-area-inset-left,0) - env(safe-area-inset-right,0) - 2rem)}.flex-col{flex-direction:column}.gap-4{gap:1rem}.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}}@media (min-width:40rem){.tablet\\:max-w-\\[26\\.5rem\\]{max-width:26.5rem}}"}},[769,"p-toast-container",{placement:[1]}]);function c(){"undefined"!=typeof customElements&&["p-toast-container"].forEach((t=>{"p-toast-container"===t&&(customElements.get(e(t))||customElements.define(e(t),r))}))}c();const s=r,o=c;export{s as PToastContainer,o as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as a,c as r,h as o}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as d}from"./p-Au2WuEGF.js";import{d as c}from"./p-
|
|
1
|
+
import{t,p as e,H as a,c as r,h as o}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as d}from"./p-Au2WuEGF.js";import{d as c}from"./p-BOJwTddb.js";const n=i("h-9 w-[2px] flex-shrink-0 rounded-full",{variants:{variant:{neutral:"\n bg-indigo-800\n dark:bg-indigo-400\n ",positive:"\n bg-positive-green-500\n dark:bg-positive-green-alternative\n ",biased:"\n bg-amber-500\n dark:bg-amber-alternative\n ",negative:"\n bg-negative-red-500\n dark:bg-negative-red-alternative\n "}}}),b=i(["flex items-center justify-between gap-2","w-[calc(100%-2px-0.5rem)]"]),s=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.action=r(this,"action",3)}variant="positive";header;content;enableAction=!0;actionIcon="negative";actionIconFlip;actionIconRotate;action;render(){return o(d,{key:"6394f16be6bb3274259ac89c4636aa4316c44412"},o("div",{key:"d1e8251c4354dc4cef8b544bf4be4c060663fbc3",class:"\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ",onClick:()=>this._onClick()},o("div",{key:"5e7f692403be82843b611e3137427850cd1d6fc5",class:n({variant:this.variant})}),o("div",{key:"8de363d0c2a838d4d65f0af927a756d1eb33f378",class:b()},o("div",{key:"44348814b85e349dbee31098f57f669cbbf2a3d1",class:"flex w-full min-w-0 flex-col"},o("p",{key:"ca5f487607e23e676c9027c8064969d90e1dddde",class:"\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n "},this.header?.length?this.header:o("slot",{name:"header"})),o("p",{key:"7899f789e38ae32d31d0d043291de62a59b01d4d",class:"\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n "},this.content?.length?this.content:o("slot",{name:"content"}))),this.enableAction&&o("div",{key:"dcf72ae9760053615e1766c24b410e8163ff96b8",class:"\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n "},o("p-icon",{key:"e6abf4d667376c87776512b2ec0ad63f0e59f8d7",flip:this.actionIconFlip,rotate:this.actionIconRotate,variant:this.actionIcon})))))}_onClick(){this.enableAction&&this.action.emit()}static get style(){return"*{box-sizing:border-box}.static{position:static}.m-0{margin:0}.flex{display:flex}.h-9{height:2.25rem}.w-\\[2px\\]{width:2px}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)}.w-full{width:100%}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))}.bg-indigo-800{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-positive-green-500{--tw-bg-opacity:1;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.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))}.shadow-2{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.hover\\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(24 30 41/var(--tw-border-opacity,1))}.dark\\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,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-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(165 194 252/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-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(98 255 92/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-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-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(24 30 41/var(--tw-border-opacity,1))}.dark\\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-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-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(165 194 252/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-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(98 255 92/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-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-toast",{variant:[1],header:[1],content:[1],enableAction:[4,"enable-action"],actionIcon:[1,"action-icon"],actionIconFlip:[1,"action-icon-flip"],actionIconRotate:[2,"action-icon-rotate"]}]);function h(){"undefined"!=typeof customElements&&["p-toast","p-icon"].forEach((e=>{switch(e){case"p-toast":customElements.get(t(e))||customElements.define(t(e),s);break;case"p-icon":customElements.get(t(e))||c()}}))}h();const g=s,p=h;export{g as PToast,p as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as r,H as t,c as a,h as o}from"./p-CySg37XO.js";import{c as d}from"./p-CBWjHURv.js";import{T as n}from"./p-Au2WuEGF.js";import{a as c}from"./p-C5CTp9IA.js";import{n as h}from"./p-D9kEjsvZ.js";const i=d(["peer m-0 flex-shrink-0 appearance-none outline-none","border-inset border border-solid","h-4 w-8 rounded-full"],{variants:{disabled:{false:["cursor-pointer shadow-1","\n border-storm-100 bg-storm-50\n dark:border-white/15 dark:bg-white/10\n ","\n hover:border-storm-500/20 hover:bg-indigo-100\n dark:hover:border-white/15 dark:hover:bg-white/20\n ","\n group-hover/toggle-label:border-storm-500/20\n group-hover/toggle-label:bg-indigo-100\n ","checked:border-storm-500/20 checked:bg-indigo-600","\n checked:ring-2 checked:ring-indigo-100\n dark:checked:ring-0\n ","checked:hover:border-storm-500/20 checked:hover:bg-indigo-700","\n checked:group-hover/toggle-label:border-storm-500/20\n checked:group-hover/toggle-label:bg-indigo-700\n "],true:"\n cursor-not-allowed border-storm-50 bg-white-600\n dark:border-white/10 dark:bg-white/5\n "}}}),s=d(["flex items-center justify-center","rounded-full transition-all","\n pointer-events-none absolute top-1/2 -translate-y-1/2 transform\n peer-checked:left-full\n "],{variants:{disabled:{false:["bg-white ring-1 ring-storm-500/10","\n left-[1px]\n peer-checked:-translate-x-[calc(100%+1px)]\n ","\n after:rounded-full after:bg-indigo-800 after:transition-all\n after:content-[unset]\n peer-checked:after:content-['']\n ","\n h-[14px] w-[14px]\n group-hover/p-toggle:w-[18px]\n group-hover/toggle-label:w-[18px]\n ","\n after:h-1 after:w-1\n group-hover/p-toggle:after:w-2\n group-hover/toggle-label:after:w-2\n "],true:["\n bg-storm-100\n peer-checked:bg-storm-200\n dark:bg-white/15\n dark:peer-checked:bg-white/15\n ","\n left-[2px]\n peer-checked:-translate-x-[calc(100%+2px)]\n ","h-3 w-3"]}}}),l=r(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.checkedChange=a(this,"checkedChange",7),this.indeterminateChange=a(this,"indeterminateChange",7),this._internals=this.attachInternals()}checked;disabled=!1;required=!0;id;name;checkedChange;indeterminateChange;_nonce=h(5);_internals;formResetCallback(){this.checked=!1}formDisabledCallback(e){this._internals.form&&(this.disabled=e)}render(){const e=this.id?.length?this.id:this._nonce;return o(n,{key:"4f8a3f60ba59812dda23003be5e05acfd139e59e"},o("label",{key:"0b83440cf2baa8433e1ce904441c3abd84757ae6",class:"flex items-center justify-start gap-2",htmlFor:e},o("div",{key:"7ac5f699d1a6fb3085f92e5f8f443fca8fde6a73",class:"group/p-toggle relative flex flex-shrink-0 items-center"},o("input",{key:"18505d3d126cfa52d54578dbc405c614fdb2b000",checked:!!this.checked,class:i({disabled:c(this.disabled)}),disabled:c(this.disabled),id:e,name:this.name,required:this.required,type:"checkbox",onChange:e=>this._onChange(e)}),o("div",{key:"310cd855b39440e746322e7f2c57d966883afaa8",class:s({disabled:c(this.disabled)})})),o("div",{key:"04fcbe648061f13949a877de001185fd37b6d5aa",class:"\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n "},o("slot",{key:"4003ed6611110c469ad1a3f527090fe7aee7013e"}))))}_onChange(e){if(c(this.disabled))return void e.preventDefault();const r=e.target.checked;r!=this.checked&&(this.checked=r,this.checkedChange.emit(r),this._internals.setFormValue(this.checked?"on":"off"))}static get formAssociated(){return!0}static get style(){return"*{box-sizing:border-box}:host{--tw-content:unset}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-\\[1px\\]{left:1px}.left-\\[2px\\]{left:2px}.top-1\\/2{top:50%}.m-0{margin:0}.flex{display:flex}.h-3{height:.75rem}.h-4{height:1rem}.h-\\[14px\\]{height:14px}.w-3{width:.75rem}.w-8{width:2rem}.w-\\[14px\\]{width:14px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.transform{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))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.border-storm-50{--tw-border-opacity:1;border-color:rgb(232 232 234/var(--tw-border-opacity,1))}.bg-storm-100{--tw-bg-opacity:1;background-color:rgb(209 210 212/var(--tw-bg-opacity,1))}.bg-storm-50{--tw-bg-opacity:1;background-color:rgb(232 232 234/var(--tw-bg-opacity,1))}.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))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--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(1px + 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-storm-500\\/10{--tw-ring-color:rgba(24,30,41,.1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:h-1:after{content:var(--tw-content);height:.25rem}.after\\:w-1:after{content:var(--tw-content);width:.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:bg-indigo-800:after{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[unset\\]:after{--tw-content:unset;content:var(--tw-content)}.checked\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.checked\\:ring-2:checked{--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(2px + 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)}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:border-storm-500\\/20:hover{border-color:rgba(24,30,41,.2)}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.checked\\:hover\\:border-storm-500\\/20:hover:checked{border-color:rgba(24,30,41,.2)}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/p-toggle:hover .group-hover\\/p-toggle\\:w-\\[18px\\],.group\\/toggle-label:hover .group-hover\\/toggle-label\\:w-\\[18px\\]{width:18px}.group\\/toggle-label:hover .group-hover\\/toggle-label\\:border-storm-500\\/20{border-color:rgba(24,30,41,.2)}.group\\/toggle-label:hover .group-hover\\/toggle-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/p-toggle:hover .group-hover\\/p-toggle\\:after\\:w-2:after,.group\\/toggle-label:hover .group-hover\\/toggle-label\\:after\\:w-2:after{content:var(--tw-content);width:.5rem}.group\\/toggle-label:hover .checked\\:group-hover\\/toggle-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/toggle-label:hover .checked\\:group-hover\\/toggle-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:left-full{left:100%}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\]{--tw-translate-x:calc(-100% - 1px)}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\],.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{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))}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{--tw-translate-x:calc(-100% - 2px)}.peer:checked~.peer-checked\\:bg-storm-200{--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\";content:var(--tw-content)}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.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\\:checked\\:ring-0:checked: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\\:hover\\:border-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.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\\:checked\\:ring-0:checked: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\\:hover\\:border-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}"}},[836,"p-toggle",{checked:[4],disabled:[516],required:[516],id:[513],name:[513],_nonce:[32]}]);function g(){"undefined"!=typeof customElements&&["p-toggle"].forEach((r=>{"p-toggle"===r&&(customElements.get(e(r))||customElements.define(e(r),l))}))}g();const w=l,b=g;export{w as PToggle,b as defineCustomElement}
|
|
1
|
+
import{t as e,p as r,H as t,c as o,h as a}from"./p-CySg37XO.js";import{c as d}from"./p-CBWjHURv.js";import{T as n}from"./p-Au2WuEGF.js";import{a as c}from"./p-C5CTp9IA.js";import{n as h}from"./p-D9kEjsvZ.js";const i=d(["peer m-0 flex-shrink-0 appearance-none outline-none","border-inset border border-solid","h-4 w-8 rounded-full"],{variants:{disabled:{false:["cursor-pointer shadow-1","\n border-storm-100 bg-storm-50\n dark:border-white/15 dark:bg-white/10\n ","\n hover:border-storm-500/20 hover:bg-indigo-100\n dark:hover:border-white/15 dark:hover:bg-white/20\n ","\n group-hover/toggle-label:border-storm-500/20\n group-hover/toggle-label:bg-indigo-100\n ","checked:border-storm-500/20 checked:bg-indigo-600","\n checked:ring-2 checked:ring-indigo-100\n dark:checked:ring-0\n ","checked:hover:border-storm-500/20 checked:hover:bg-indigo-700","\n checked:group-hover/toggle-label:border-storm-500/20\n checked:group-hover/toggle-label:bg-indigo-700\n "],true:"\n cursor-not-allowed border-storm-50 bg-white-600\n dark:border-white/10 dark:bg-white/5\n "}}}),s=d(["flex items-center justify-center","rounded-full transition-all","\n pointer-events-none absolute top-1/2 -translate-y-1/2 transform\n peer-checked:left-full\n "],{variants:{disabled:{false:["bg-white ring-1 ring-storm-500/10","\n left-[1px]\n peer-checked:-translate-x-[calc(100%+1px)]\n ","\n after:rounded-full after:bg-indigo-800 after:transition-all\n after:content-[unset]\n peer-checked:after:content-['']\n ","\n h-[14px] w-[14px]\n group-hover/p-toggle:w-[18px]\n group-hover/toggle-label:w-[18px]\n ","\n after:h-1 after:w-1\n group-hover/p-toggle:after:w-2\n group-hover/toggle-label:after:w-2\n "],true:["\n bg-storm-100\n peer-checked:bg-storm-200\n dark:bg-white/15\n dark:peer-checked:bg-white/15\n ","\n left-[2px]\n peer-checked:-translate-x-[calc(100%+2px)]\n ","h-3 w-3"]}}}),l=r(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.checkedChange=o(this,"checkedChange",7),this.indeterminateChange=o(this,"indeterminateChange",7),this._internals=this.attachInternals()}checked;disabled=!1;required=!0;id;name;checkedChange;indeterminateChange;_nonce=h(5);_internals;formResetCallback(){this.checked=!1}formDisabledCallback(e){this._internals.form&&(this.disabled=e)}render(){const e=this.id?.length?this.id:this._nonce;return a(n,{key:"e99533e90e40c74f00f495c50e4cbb93a018f83c"},a("label",{key:"2dbeec5d74c4fba83d9a78931f660cc1949d5433",class:"flex items-center justify-start gap-2",htmlFor:e},a("div",{key:"790d225e89cd99a770c21f8d4c91d0d4f3557456",class:"group/p-toggle relative flex flex-shrink-0 items-center"},a("input",{key:"6dfa1eb27e4f3591faae3a93685179f2b7c8b43a",checked:!!this.checked,class:i({disabled:c(this.disabled)}),disabled:c(this.disabled),id:e,name:this.name,required:this.required,type:"checkbox",onChange:e=>this._onChange(e)}),a("div",{key:"6f7ce532339936f808dcba1f59d077de4997527d",class:s({disabled:c(this.disabled)})})),a("div",{key:"cd72d92731a6d33a0cc0779e6401c8dbe3ecb998",class:"\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n "},a("slot",{key:"68fdf4f230b6b57ae445d36d22c3d1d55a4c3c63"}))))}_onChange(e){if(c(this.disabled))return void e.preventDefault();const r=e.target.checked;r!=this.checked&&(this.checked=r,this.checkedChange.emit(r),this._internals.setFormValue(this.checked?"on":"off"))}static get formAssociated(){return!0}static get style(){return"*{box-sizing:border-box}:host{--tw-content:unset}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-\\[1px\\]{left:1px}.left-\\[2px\\]{left:2px}.top-1\\/2{top:50%}.m-0{margin:0}.flex{display:flex}.h-3{height:.75rem}.h-4{height:1rem}.h-\\[14px\\]{height:14px}.w-3{width:.75rem}.w-8{width:2rem}.w-\\[14px\\]{width:14px}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-y-1\\/2{--tw-translate-y:-50%}.-translate-y-1\\/2,.transform{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))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.border-storm-50{--tw-border-opacity:1;border-color:rgb(232 232 234/var(--tw-border-opacity,1))}.bg-storm-100{--tw-bg-opacity:1;background-color:rgb(209 210 212/var(--tw-bg-opacity,1))}.bg-storm-50{--tw-bg-opacity:1;background-color:rgb(232 232 234/var(--tw-bg-opacity,1))}.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))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--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(1px + 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-storm-500\\/10{--tw-ring-color:rgba(24,30,41,.1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:h-1:after{content:var(--tw-content);height:.25rem}.after\\:w-1:after{content:var(--tw-content);width:.25rem}.after\\:rounded-full:after{border-radius:9999px;content:var(--tw-content)}.after\\:bg-indigo-800:after{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:transition-all:after{content:var(--tw-content);transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.after\\:content-\\[unset\\]:after{--tw-content:unset;content:var(--tw-content)}.checked\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.checked\\:ring-2:checked{--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(2px + 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)}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:border-storm-500\\/20:hover{border-color:rgba(24,30,41,.2)}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.checked\\:hover\\:border-storm-500\\/20:hover:checked{border-color:rgba(24,30,41,.2)}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/p-toggle:hover .group-hover\\/p-toggle\\:w-\\[18px\\],.group\\/toggle-label:hover .group-hover\\/toggle-label\\:w-\\[18px\\]{width:18px}.group\\/toggle-label:hover .group-hover\\/toggle-label\\:border-storm-500\\/20{border-color:rgba(24,30,41,.2)}.group\\/toggle-label:hover .group-hover\\/toggle-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/p-toggle:hover .group-hover\\/p-toggle\\:after\\:w-2:after,.group\\/toggle-label:hover .group-hover\\/toggle-label\\:after\\:w-2:after{content:var(--tw-content);width:.5rem}.group\\/toggle-label:hover .checked\\:group-hover\\/toggle-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/toggle-label:hover .checked\\:group-hover\\/toggle-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:left-full{left:100%}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\]{--tw-translate-x:calc(-100% - 1px)}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\],.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{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))}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{--tw-translate-x:calc(-100% - 2px)}.peer:checked~.peer-checked\\:bg-storm-200{--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\";content:var(--tw-content)}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.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\\:checked\\:ring-0:checked: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\\:hover\\:border-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.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\\:checked\\:ring-0:checked: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\\:hover\\:border-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}"}},[836,"p-toggle",{checked:[4],disabled:[516],required:[516],id:[513],name:[513],_nonce:[32]}]);function g(){"undefined"!=typeof customElements&&["p-toggle"].forEach((r=>{"p-toggle"===r&&(customElements.get(e(r))||customElements.define(e(r),l))}))}g();const w=l,b=g;export{w as PToggle,b as defineCustomElement}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{T as o,d as s}from"./p-
|
|
1
|
+
import{T as o,d as s}from"./p-GYxEYTaZ.js";const a=o,p=s;export{a as PTooltip,p as defineCustomElement}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,p as e,H as o,c as a,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{a as r}from"./p-C5CTp9IA.js";import{d as c}from"./p-D6g8cYWI.js";import{d as m}from"./p-BOJwTddb.js";import{d as l}from"./p-CEcyKdij.js";import{d}from"./p-D8faiybE.js";const p=n(["flex w-full max-w-[20rem] flex-col items-center justify-start"],{variants:{enableAction:{true:"cursor-pointer",false:null}}}),h=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.action=a(this,"action",3)}illustration;header;content;enableAction=!0;actionText;actionVariant="secondary";actionIcon;actionIconPosition="start";actionLoading=!1;action;get _el(){return this}render(){const t=!!this._el.querySelector(':scope > [slot="header"]'),e=!!this._el.querySelector(':scope > [slot="content"]'),o=!!this._el.querySelector(':scope > [slot="action"]');return i(s,{key:"a1c5b7682ac5ffd11beb25f2dd91d156becec4a3"},i("div",{key:"d19221f86c59cc8583d1e96f59263e01ea4ad22d",class:p({enableAction:r(this.enableAction,!0)}),onClick:t=>this.enableAction&&!this.actionLoading?this.action.emit(t):void 0},this.illustration&&i("p-illustration",{key:"0a078690887ee5eba9c383fe8ccba7aaeb110cdc",class:"mb-8 text-5xl text-indigo-600",variant:this.illustration}),t?i("slot",{name:"header"}):this.header?.length&&i("p",{class:"\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n "},this.header),e?i("slot",{name:"content"}):this.content?.length&&i("p",{class:"\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n "},this.content),this.enableAction&&(o?i("slot",{name:"action"}):i("p-button",{class:"mt-4",icon:this.actionIcon,iconPosition:this.actionIconPosition,loading:this.actionLoading,variant:this.actionVariant},this.actionText))))}static get style(){return'*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/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))}.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\\: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-empty-state",{illustration:[1],header:[1],content:[1],enableAction:[4,"enable-action"],actionText:[1,"action-text"],actionVariant:[1,"action-variant"],actionIcon:[1,"action-icon"],actionIconPosition:[1,"action-icon-position"],actionLoading:[4,"action-loading"]}]);function x(){"undefined"!=typeof customElements&&["p-empty-state","p-button","p-icon","p-illustration","p-loader"].forEach((e=>{switch(e){case"p-empty-state":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-button":customElements.get(t(e))||c();break;case"p-icon":customElements.get(t(e))||m();break;case"p-illustration":customElements.get(t(e))||l();break;case"p-loader":customElements.get(t(e))||d()}}))}x();export{h as E,x as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as r,c as a,h as i}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.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-D-6XwTh8.js";import{d as c}from"./p-DsTf8Cgs.js";import{d as p}from"./p-DIVKoW2k.js";import{d as w}from"./p-C0ujVUrk.js";import{d as m}from"./p-D8faiybE.js";import{d as b}from"./p-CHa2NghY.js";const g=o(["flex gap-2","w-inherit","rounded-lg border-solid","relative"],{variants:{variant:{read:"flex-wrap items-start hyphens-auto break-normal border-0 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:"\n border-storm-100\n dark:border-hurricane-400\n "},{variant:"write",disabled:!1,focused:!0,error:!1,class:"\n border-indigo-600 ring ring-indigo-100\n selection:bg-indigo-500\n dark:ring-0\n "},{variant:"write",disabled:!1,class:"\n bg-white\n dark:bg-hurricane-500\n "},{variant:"write",disabled:!0,class:"\n cursor-not-allowed bg-white-600\n dark:border-hurricane-500 dark:bg-hurricane-600\n "},{disabled:!1,error:!0,class:"border-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"\n ring ring-negative-red-50\n selection:bg-negative-red-50\n dark:ring-0\n "}]}),u=o(["\n text-sm\n placeholder:text-sm placeholder:text-storm-500/40\n dark:placeholder:text-hurricane-200\n ","min-w-0 flex-1 border-none bg-transparent p-0","\n outline-none\n focus:outline-none\n ","font-geist"],{variants:{isTextarea:{false:"h-full",true:"mt-1"},disabled:{false:null,true:"cursor-not-allowed"},error:{false:"\n text-storm-500\n dark:text-white\n ",true:"text-negative-red-500"}}}),f=o(["flex flex-shrink-0 items-center justify-center text-center"],{variants:{variant:{read:"leading-6",write:null},disabled:{false:null,true:"\n text-storm-100\n dark:text-hurricane-400\n "},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:"\n text-storm-300\n dark:text-hurricane-200\n "},{disabled:!1,focused:!0,error:!1,class:"\n text-storm-500\n dark:text-white\n "},{disabled:!1,focused:!1,error:!0,class:"text-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"text-negative-red-800"}]}),x=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=a(this,"valueChange",3),this.inputRefChange=a(this,"inputRefChange",7),this.add=a(this,"add",3),this.enter=a(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;enablePasswordEye=!0;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);_type="text";_internals;_inputRef;_lastValue;componentDidLoad(){this._checkAutoFocus(),this._type=this.type}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:a,hasLabelSlot:o,hasHelperSlot:h,hasErrorSlot:l,hasValueSlot:c}=this._getSlotInfo();return i(s,{key:"26ead7c05e6305596106f154754986a05237c454"},i("p-field-container",{key:"8828b6378d5a3e5c7c98dd52c0bc34ff7500ba02",align:this.align,error:this.error,forceShowTooltip:!!this.error?.length&&!this._focused&&this.autoShowError||!!this.error?.length&&this.forceShowTooltip,helper:this.helper,id:t,label:this.label,loading:this.loading,loadingSize:this.size,required:this.required,showOptional:this.showOptional,variant:this.variant},o&&i("slot",{key:"c7a0344e9aec6a7e1c30e173fd5ceaf65268a912",name:"label",slot:"label"}),a&&i("slot",{key:"9a0bdbb419369c6d658d5e1b855913ffe4dd42b0",name:"header",slot:"header"}),h&&i("slot",{key:"dc417538960faecaa20898f52138042b52fc0232",name:"helper",slot:"helper"}),l&&i("slot",{key:"9e7659556f4bb3888d63ee6ca9b7d59bd7201db9",name:"error",slot:"error"}),i("div",{key:"e0f979932fd5afb26e60df3656c503475bbfb43e",class:g({error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,size:this.size,variant:this.variant,isTextarea:"textarea"===this.type}),slot:"content",title:"read"!==this.variant||c?void 0:`${this.value}`},(this.error?.length||e||this.icon&&"start"===this.iconPosition)&&i("div",{key:"60384a989f7f7ce43dff577e5275d12d955f85ff",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?i("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.error?.length?"warning":this.icon}):e),this._getContent(c,t),(r||"password"===this.type&&this.enablePasswordEye||this.icon&&"end"===this.iconPosition)&&i("div",{key:"7bfc680f8dff73606785066d9e3ad3fbf7ad5e83",class:d(f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r&&"password"!==this.type,isTextarea:"textarea"===this.type}),{"cursor-pointer":"password"===this.type&&this.enablePasswordEye,"hover:text-indigo-700 dark:hover:text-indigo-300":"password"===this.type}),onClick:()=>this._focusInput()},this.icon&&"end"===this.iconPosition||"password"===this.type&&this.enablePasswordEye?i("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),flip:this.iconFlip,rotate:this.iconRotate,variant:"password"===this.type?"text"===this._type?"eye-closed":"eye":this.icon,onClick:()=>{"password"===this.type&&this.enablePasswordEye&&(this._type="text"===this._type?"password":"text")}}):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"]'),a=!!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?i("slot",{name:"prefix"}):this.prefix,h=a?i("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:a,hasHeaderSlot:o,hasErrorSlot:s,hasValueSlot:n,prefix:d,suffix:h,errorAndErrorIsNotBoolean:l}}_getContent(t=!1,e){if("read"===this.variant)return t?i("slot",{name:"value"}):this.value&&`${this.value}`.length>0?this.value:this.showAddOnEmpty?i("p-button",{icon:"plus",size:"sm",variant:"text",onClick:()=>this.add.emit()},this.addText):"—";if("slot"===this.type)return i("slot",{name:"input"});const r={id:e,class:u({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 a=this.properties??{};return"string"==typeof a&&(a=JSON.parse(this.properties)),"textarea"===this.type?i("textarea",{ref:t=>this._setInputRef(t),...r,...a}):i("input",{ref:t=>this._setInputRef(t),type:this._type,...r,...a})}_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}.cursor-pointer{cursor:pointer}.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-indigo-300{--tw-text-opacity:1;color:rgb(187 209 253/var(--tw-text-opacity,1))}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-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)}.hover\\:text-indigo-700:hover{--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.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\\:hover\\:text-indigo-300:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(187 209 253/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))}.dark\\:hover\\:text-indigo-300:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(187 209 253/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],enablePasswordEye:[4,"enable-password-eye"],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],_type:[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((e=>{switch(e){case"p-field":customElements.get(t(e))||customElements.define(t(e),x);break;case"p-button":customElements.get(t(e))||l();break;case"p-field-container":customElements.get(t(e))||c();break;case"p-helper":customElements.get(t(e))||p();break;case"p-icon":customElements.get(t(e))||w();break;case"p-loader":customElements.get(t(e))||m();break;case"p-tooltip":customElements.get(t(e))||b()}}))}v();export{x as F,v as d}
|
|
1
|
+
import{t,p as e,H as r,c as a,h as i}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.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-D6g8cYWI.js";import{d as c}from"./p-SUrtpFuE.js";import{d as p}from"./p-CTI55iY5.js";import{d as w}from"./p-BOJwTddb.js";import{d as m}from"./p-D8faiybE.js";import{d as b}from"./p-GYxEYTaZ.js";const u=o(["flex gap-2","w-inherit","rounded-lg border-solid","relative"],{variants:{variant:{read:"flex-wrap items-start hyphens-auto break-normal border-0 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:"\n border-storm-100\n dark:border-hurricane-400\n "},{variant:"write",disabled:!1,focused:!0,error:!1,class:"\n border-indigo-600 ring ring-indigo-100\n selection:bg-indigo-500\n dark:ring-0\n "},{variant:"write",disabled:!1,class:"\n bg-white\n dark:bg-hurricane-500\n "},{variant:"write",disabled:!0,class:"\n cursor-not-allowed bg-white-600\n dark:border-hurricane-500 dark:bg-hurricane-600\n "},{disabled:!1,error:!0,class:"border-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"\n ring ring-negative-red-50\n selection:bg-negative-red-50\n dark:ring-0\n "}]}),g=o(["\n text-sm\n placeholder:text-sm placeholder:text-storm-500/40\n dark:placeholder:text-hurricane-200\n ","min-w-0 flex-1 border-none bg-transparent p-0","\n outline-none\n focus:outline-none\n ","font-geist"],{variants:{isTextarea:{false:"h-full",true:"mt-1"},disabled:{false:null,true:"cursor-not-allowed"},error:{false:"\n text-storm-500\n dark:text-white\n ",true:"text-negative-red-500"}}}),f=o(["flex flex-shrink-0 items-center justify-center text-center"],{variants:{variant:{read:"leading-6",write:null},disabled:{false:null,true:"\n text-storm-100\n dark:text-hurricane-400\n "},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:"\n text-storm-300\n dark:text-hurricane-200\n "},{disabled:!1,focused:!0,error:!1,class:"\n text-storm-500\n dark:text-white\n "},{disabled:!1,focused:!1,error:!0,class:"text-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"text-negative-red-800"}]}),x=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=a(this,"valueChange",3),this.inputRefChange=a(this,"inputRefChange",7),this.add=a(this,"add",3),this.enter=a(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;enablePasswordEye=!0;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);_type="text";_internals;_inputRef;_lastValue;componentDidLoad(){this._checkAutoFocus(),this._type=this.type}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:a,hasLabelSlot:o,hasHelperSlot:h,hasErrorSlot:l,hasValueSlot:c}=this._getSlotInfo();return i(s,{key:"26ead7c05e6305596106f154754986a05237c454"},i("p-field-container",{key:"8828b6378d5a3e5c7c98dd52c0bc34ff7500ba02",align:this.align,error:this.error,forceShowTooltip:!!this.error?.length&&!this._focused&&this.autoShowError||!!this.error?.length&&this.forceShowTooltip,helper:this.helper,id:t,label:this.label,loading:this.loading,loadingSize:this.size,required:this.required,showOptional:this.showOptional,variant:this.variant},o&&i("slot",{key:"c7a0344e9aec6a7e1c30e173fd5ceaf65268a912",name:"label",slot:"label"}),a&&i("slot",{key:"9a0bdbb419369c6d658d5e1b855913ffe4dd42b0",name:"header",slot:"header"}),h&&i("slot",{key:"dc417538960faecaa20898f52138042b52fc0232",name:"helper",slot:"helper"}),l&&i("slot",{key:"9e7659556f4bb3888d63ee6ca9b7d59bd7201db9",name:"error",slot:"error"}),i("div",{key:"e0f979932fd5afb26e60df3656c503475bbfb43e",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}),slot:"content",title:"read"!==this.variant||c?void 0:`${this.value}`},(this.error?.length||e||this.icon&&"start"===this.iconPosition)&&i("div",{key:"60384a989f7f7ce43dff577e5275d12d955f85ff",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?i("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.error?.length?"warning":this.icon}):e),this._getContent(c,t),(r||"password"===this.type&&this.enablePasswordEye||this.icon&&"end"===this.iconPosition)&&i("div",{key:"7bfc680f8dff73606785066d9e3ad3fbf7ad5e83",class:d(f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r&&"password"!==this.type,isTextarea:"textarea"===this.type}),{"cursor-pointer":"password"===this.type&&this.enablePasswordEye,"hover:text-indigo-700 dark:hover:text-indigo-300":"password"===this.type}),onClick:()=>this._focusInput()},this.icon&&"end"===this.iconPosition||"password"===this.type&&this.enablePasswordEye?i("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),flip:this.iconFlip,rotate:this.iconRotate,variant:"password"===this.type?"text"===this._type?"eye-closed":"eye":this.icon,onClick:()=>{"password"===this.type&&this.enablePasswordEye&&(this._type="text"===this._type?"password":"text")}}):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"]'),a=!!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?i("slot",{name:"prefix"}):this.prefix,h=a?i("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:a,hasHeaderSlot:o,hasErrorSlot:s,hasValueSlot:n,prefix:d,suffix:h,errorAndErrorIsNotBoolean:l}}_getContent(t=!1,e){if("read"===this.variant)return t?i("slot",{name:"value"}):this.value&&`${this.value}`.length>0?this.value:this.showAddOnEmpty?i("p-button",{icon:"plus",size:"sm",variant:"text",onClick:()=>this.add.emit()},this.addText):"—";if("slot"===this.type)return i("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 a=this.properties??{};return"string"==typeof a&&(a=JSON.parse(this.properties)),"textarea"===this.type?i("textarea",{ref:t=>this._setInputRef(t),...r,...a}):i("input",{ref:t=>this._setInputRef(t),type:this._type,...r,...a})}_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}.cursor-pointer{cursor:pointer}.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-indigo-300{--tw-text-opacity:1;color:rgb(187 209 253/var(--tw-text-opacity,1))}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-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)}.hover\\:text-indigo-700:hover{--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.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\\:hover\\:text-indigo-300:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(187 209 253/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))}.dark\\:hover\\:text-indigo-300:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(187 209 253/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],enablePasswordEye:[4,"enable-password-eye"],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],_type:[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((e=>{switch(e){case"p-field":customElements.get(t(e))||customElements.define(t(e),x);break;case"p-button":customElements.get(t(e))||l();break;case"p-field-container":customElements.get(t(e))||c();break;case"p-helper":customElements.get(t(e))||p();break;case"p-icon":customElements.get(t(e))||w();break;case"p-loader":customElements.get(t(e))||m();break;case"p-tooltip":customElements.get(t(e))||b()}}))}v();export{x as F,v as d}
|
package/dist/esm/index.js
CHANGED
|
@@ -7,6 +7,7 @@ export { f as formatTranslation, g as getLocaleComponentStrings } from './locali
|
|
|
7
7
|
export { f as floatingMenuContainerClass, g as getTableCellColumnClasses, a as getTableCellSizes } from './table-helpers-Bvtfm-ta.js';
|
|
8
8
|
export { o as objectGetByPath } from './object-get-by-path-CLLU0oUD.js';
|
|
9
9
|
export { i as isMobileBrowser } from './is-mobile-browser-DPc49L2n.js';
|
|
10
|
+
export { i as isIOS } from './is-platform-17aZBUHj.js';
|
|
10
11
|
export { c as cn } from './cn-CsNqHcjL.js';
|
|
11
12
|
export { P as PAGINATION_DEFAULT_PAGE_SIZE, a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS, S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS, T as TABLE_COLUMN_SIZES } from './constants-CEaB2BT0.js';
|
|
12
13
|
import './index-yFtRjnrU.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const isIOS = () => [
|
|
2
|
+
'iPad Simulator',
|
|
3
|
+
'iPhone Simulator',
|
|
4
|
+
'iPod Simulator',
|
|
5
|
+
'iPad',
|
|
6
|
+
'iPhone',
|
|
7
|
+
'iPod',
|
|
8
|
+
].includes(navigator.platform) ||
|
|
9
|
+
// iPad on iOS 13 detection
|
|
10
|
+
(navigator.userAgent.includes('Mac') && 'ontouchend' in document);
|
|
11
|
+
|
|
12
|
+
export { isIOS as i };
|
|
@@ -11,7 +11,7 @@ const AvatarGroup = class {
|
|
|
11
11
|
*/
|
|
12
12
|
extra;
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'b70b8927dbc07d11629dfbf854ab1ada68975c28', class: 'flex items-center -space-x-1 overflow-hidden' }, h("slot", { key: 'ee3ce6118c87fc5c5e3d70e9c08974f686fb14be' }), this.extra && (h("span", { key: 'f9bb248f6d43511eef71e090da13bd39ed1afbca', class: 'pl-3 text-sm text-storm-300' }, "+", this.extra))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
AvatarGroup.style = avatarGroupComponentCss();
|
|
@@ -64,7 +64,7 @@ const Avatar = class {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h(Host, { key: '
|
|
67
|
+
return (h(Host, { key: '03ce1a2c7b82afc7790ad48a449f8c5da12319f3', class: avatar({
|
|
68
68
|
size: this.size,
|
|
69
69
|
variant: this.variant,
|
|
70
70
|
}) }, this._failed ? (h("span", null, this.letters?.[0] ?? ' ')) : (h("img", { class: 'z-0 aspect-branding h-full rounded-full object-cover', src: this._src, onError: () => this._setFailed() }))));
|
|
@@ -107,13 +107,13 @@ const Backdrop = class {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: 'f24eb47cd4247b354ec6511df038b8e0d74f7767' }, h("div", { key: '7010afa588e4833c90109c95a57eac273840fe65', class: backdrop({
|
|
111
111
|
blur: asBoolean(this.applyBlur),
|
|
112
112
|
closing: asBoolean(this.closing),
|
|
113
|
-
}) }, h("div", { key: '
|
|
113
|
+
}) }, h("div", { key: '484f204eef921c64cd3c32422ebf80d13baf2521', class: contentContainer({
|
|
114
114
|
variant: this.variant,
|
|
115
115
|
closing: asBoolean(this.closing),
|
|
116
|
-
}) }, h("slot", { key: '
|
|
116
|
+
}) }, h("slot", { key: 'b31e8275a9e1f7a57ae1872cd12f3db641d787ee' })))));
|
|
117
117
|
}
|
|
118
118
|
handleClick(ev) {
|
|
119
119
|
if (ev.target !== this._el && !this._el.contains(ev.target)) {
|
|
@@ -27,7 +27,7 @@ const Badge = class {
|
|
|
27
27
|
registerInstance(this, hostRef);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(ThemedHost, { key: '
|
|
30
|
+
return (h(ThemedHost, { key: 'd32d46fd45d4a65130ab93340598481f8e874f4a' }, h("div", { key: 'c16ee643b1b498ff261f2e828e745765b0c3906b', class: badge() }, h("slot", { key: 'aa2950ffaabe83dcf657728f6f5b4196e7ad13f9' }))));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
Badge.style = badgeComponentCss();
|
|
@@ -39,7 +39,7 @@ const SegmentContainer = class {
|
|
|
39
39
|
registerInstance(this, hostRef);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(ThemedHost, { key: '
|
|
42
|
+
return (h(ThemedHost, { key: '7b957b3f387556c3488dfe71432ad4ca2f1717e5' }, h("div", { key: 'f7a719aade5bb7e42fec912c04a6c00ef95a1b29', class: '\n flex rounded-2xl border border-solid border-off-white-700\n bg-off-white-300 p-1\n dark:border-hurricane-400 dark:bg-hurricane-600\n ' }, h("slot", { key: '92898b2ac3d6f6962a06dabbed0105e78e7bce8f' }))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
SegmentContainer.style = segmentContainerComponentCss();
|
|
@@ -117,11 +117,11 @@ const SegmentItem = class {
|
|
|
117
117
|
iconRotate;
|
|
118
118
|
render() {
|
|
119
119
|
const descriptionSlot = this.variant === 'block' ? h("slot", { name: 'description' }) : null;
|
|
120
|
-
return (h(ThemedHost, { key: '
|
|
120
|
+
return (h(ThemedHost, { key: '7eb3953e9223c49d8c41b0bdad68477108c8e8e5' }, h("div", { key: 'a46588eea2837482d538145c1a732f5f3c57c3b4', class: segmentItem({
|
|
121
121
|
variant: this.variant,
|
|
122
122
|
active: asBoolean(this.active),
|
|
123
123
|
iconOnly: asBoolean(this.iconOnly),
|
|
124
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
124
|
+
}) }, this.icon && (h("p-icon", { key: '0939229e4975b881828d6597f9ad85ea0b1baea7', class: cn('mb-1', {
|
|
125
125
|
'text-storm-300 dark:text-hurricane-200': !asBoolean(this.active),
|
|
126
126
|
'text-indigo-200': asBoolean(this.active),
|
|
127
127
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), this.variant === 'default' ? (h("slot", null)) : (h("div", { class: 'flex flex-col items-center' }, h("p", { class: cn(`
|
|
@@ -589,7 +589,7 @@ const Button = class {
|
|
|
589
589
|
: 'button';
|
|
590
590
|
const hostClass = cn('p-button inline-block', this.class);
|
|
591
591
|
const active = asBoolean(this.active) || hostClass?.includes('active');
|
|
592
|
-
return (h(ThemedHost, { key: '
|
|
592
|
+
return (h(ThemedHost, { key: '6148fd7b2aeb9b67cc2434122d84e782366d3d94', class: hostClass }, h(VariableTag, { key: '864bbdc213dede9b0b4252f15e7e2e7351d9b3ee', class: button({
|
|
593
593
|
variant: this.variant,
|
|
594
594
|
size: this.size,
|
|
595
595
|
loading: asBoolean(this.loading),
|
|
@@ -599,14 +599,14 @@ const Button = class {
|
|
|
599
599
|
active,
|
|
600
600
|
error: asBoolean(this.error),
|
|
601
601
|
underline: asBoolean(this.underline) && VariableTag === 'a',
|
|
602
|
-
}), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
602
|
+
}), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '6ef87717783cc48898ab9d49d189b32f4a6583e2', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
|
|
603
603
|
this.iconPosition === 'start' &&
|
|
604
604
|
!(this.iconOnly && this.loading) &&
|
|
605
|
-
this._getIcon(), this.label ?? h("slot", { key: '
|
|
605
|
+
this._getIcon(), this.label ?? h("slot", { key: 'b0ca4383ce576b0ed97981b2b01f2989345bd524' }), this.icon &&
|
|
606
606
|
this.iconPosition === 'end' &&
|
|
607
607
|
!this.loading &&
|
|
608
608
|
!this.chevron &&
|
|
609
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
609
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'f98643605a4726f4d600fe6b2dc3630f2db9941b', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'df1a3a7f6cf562846220d2ff0f358e6c56e18511', color: loaderColor }))));
|
|
610
610
|
}
|
|
611
611
|
handleClick(ev) {
|
|
612
612
|
if (this.loading || this.disabled) {
|
|
@@ -691,7 +691,7 @@ const Icon = class {
|
|
|
691
691
|
render() {
|
|
692
692
|
const hasTextSizeClass = /text-(xs|sm|base|lg|xl)/.test(this._el.className);
|
|
693
693
|
const svg = icons[this.variant];
|
|
694
|
-
return (h("div", { key: '
|
|
694
|
+
return (h("div", { key: 'e89be587cc1ec1caa63f2df7f53077535d300e21', class: icon({
|
|
695
695
|
flip: this.flip,
|
|
696
696
|
size: hasTextSizeClass ? 'auto' : this.size,
|
|
697
697
|
transform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,
|
|
@@ -9,7 +9,7 @@ const CardBody = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(ThemedHost, { key: '
|
|
12
|
+
return (h(ThemedHost, { key: 'cf2a92db9d6a6a2527bd00f4b2cfaa0a3a0769dd' }, h("slot", { key: '29ea21ad392195a915d9682b6af66f84f464fc9d' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
CardBody.style = cardBodyComponentCss();
|
|
@@ -103,13 +103,13 @@ const CardContainer = class {
|
|
|
103
103
|
*/
|
|
104
104
|
border = true;
|
|
105
105
|
render() {
|
|
106
|
-
return (h(ThemedHost, { key: '
|
|
106
|
+
return (h(ThemedHost, { key: 'c8045c702a0328ccdd42c6914fd3936473d5393a' }, h("div", { key: '6201cd44e2d47ff860cfb756520668c75d8565a5', class: cn(container({
|
|
107
107
|
variant: this.variant,
|
|
108
108
|
active: asBoolean(this.active, false),
|
|
109
109
|
hoverable: asBoolean(this.hoverable, false),
|
|
110
110
|
shadow: asBoolean(this.shadow, true),
|
|
111
111
|
border: asBoolean(this.border),
|
|
112
|
-
}), this.bgClass) }, h("slot", { key: '
|
|
112
|
+
}), this.bgClass) }, h("slot", { key: '58fdcf04ab8b4e8111d5282694691029f79ca86a' }))));
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
115
|
CardContainer.style = cardContainerComponentCss();
|
|
@@ -56,11 +56,11 @@ const CardHeader = class {
|
|
|
56
56
|
*/
|
|
57
57
|
divider = true;
|
|
58
58
|
render() {
|
|
59
|
-
return (h(ThemedHost, { key: '
|
|
59
|
+
return (h(ThemedHost, { key: 'b7eb827631c54142f2a4e3fe2b81271c8144b16a' }, h("div", { key: 'fcb33fb73eb61e36d8c4990b5b27e217221b96a4', class: header({
|
|
60
60
|
variant: this.variant,
|
|
61
|
-
}) }, h("div", { key: '
|
|
61
|
+
}) }, h("div", { key: '1ae832e07095882bb8e46398c30609e12fa4d6eb', class: content({
|
|
62
62
|
variant: this.variant,
|
|
63
|
-
}) }, this.icon ? (h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (h("slot", { name: 'prefix' })), h("div", { key: '
|
|
63
|
+
}) }, this.icon ? (h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (h("slot", { name: 'prefix' })), h("div", { key: '2c9394715612b7415aeb065d9575caf755044e5f', class: title() }, h("span", { key: '9d8e7178338dd0e4ed218c5a16d5c77486c7f240', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : h("slot", null)), h("slot", { key: '1483bded5220bda03e8b80228135539a8b099033', name: 'content-suffix' })), h("div", { key: '62055fed1277f466d6e70578c12ce51cb9a73272', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, h("slot", { key: '73b2c1a055167b6050ec18f2a8b997bea8f39f8e', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (h("p-divider", { class: '\n text-off-white-700\n dark:text-white/10\n ' }))) : (h("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
CardHeader.style = cardHeaderComponentCss();
|
|
@@ -148,13 +148,13 @@ const Checkbox = class {
|
|
|
148
148
|
}
|
|
149
149
|
render() {
|
|
150
150
|
const id = this.id?.length ? this.id : this._nonce;
|
|
151
|
-
return (h(ThemedHost, { key: '
|
|
151
|
+
return (h(ThemedHost, { key: 'cd32bfb30d670f3fb7e6a1ecf5458c1ba9251f0f' }, h("label", { key: '2c27cf711ca06973f140a1ae057ef35688e17c0a', class: 'group/p-checkbox flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'f856a55ea818204247a095d7b32dd7e6be69ae54', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: 'b1332efea544bd72126779b78b698620a69b8039', checked: asBoolean(this.checked), class: checkbox({
|
|
152
152
|
disabled: asBoolean(this.disabled),
|
|
153
|
-
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
153
|
+
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: 'bb05818cf094306968808c5b703ca844522bc781', class: iconContainer({
|
|
154
154
|
disabled: asBoolean(this.disabled),
|
|
155
|
-
}) }, h("p-icon", { key: '
|
|
155
|
+
}) }, h("p-icon", { key: 'b277d21384165f5870b78d1bccf67fa1a1849a3d', class: icon({
|
|
156
156
|
disabled: asBoolean(this.disabled),
|
|
157
|
-
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("div", { key: '
|
|
157
|
+
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("div", { key: '0c247225c2e3156fe90139fc0add9b164b5ad8bf', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '47f92004aa692a67a03ecb63fee3ccfc3acec8f9' })))));
|
|
158
158
|
}
|
|
159
159
|
_onChange(ev) {
|
|
160
160
|
if (this.disabled) {
|
|
@@ -538,15 +538,15 @@ const DropdownMenuContainer = class {
|
|
|
538
538
|
: this.scrollable === true
|
|
539
539
|
? 'default'
|
|
540
540
|
: this.scrollable;
|
|
541
|
-
return (h(ThemedHost, { key: '
|
|
541
|
+
return (h(ThemedHost, { key: 'ee893b4c81b30efcdc82377b3c98e3fd9653107f' }, h("div", { key: 'ce5daabedddea9e0e3e7ab743e973cd87d0e3d21', class: dropdownMenuContainer({
|
|
542
542
|
class: this.class,
|
|
543
543
|
variant: this.variant,
|
|
544
544
|
fullWidth: asBoolean(this.fullWidth, true),
|
|
545
545
|
maxWidth: this.maxWidth,
|
|
546
|
-
}) }, h("div", { key: '
|
|
546
|
+
}) }, h("div", { key: 'd587e52e13004f85f9d972d007bb1ae7178838ea', class: innerContainer({
|
|
547
547
|
allowOverflow: asBoolean(this.allowOverflow),
|
|
548
548
|
scrollable,
|
|
549
|
-
}) }, h("div", { key: '
|
|
549
|
+
}) }, h("div", { key: '701b88f579e5da800f91035bc624405da4860588', class: 'flex w-full flex-col' }, h("slot", { key: '22bdb3697bb887f34053058b8d7ead2d3866a3ff' }))))));
|
|
550
550
|
}
|
|
551
551
|
};
|
|
552
552
|
DropdownMenuContainer.style = dropdownMenuContainerComponentCss();
|
|
@@ -62,12 +62,12 @@ const Divider = class {
|
|
|
62
62
|
get _el() { return getElement(this); }
|
|
63
63
|
render() {
|
|
64
64
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
65
|
-
return (h(ThemedHost, { key: '
|
|
65
|
+
return (h(ThemedHost, { key: 'ff409606cbaf88fec989b154c9c16eb07b60e185' }, h("div", { key: 'bbf08c6ede2f45885372760c28026fa170dd2cd7', class: cn(content({
|
|
66
66
|
variant: this.variant,
|
|
67
67
|
alignContent: this.alignContent,
|
|
68
68
|
}), {
|
|
69
69
|
'text-off-white-700 dark:text-hurricane-400': !this._el.className.includes('text'),
|
|
70
|
-
}) }, h("div", { key: '
|
|
70
|
+
}) }, h("div", { key: '7a6a7524d9e1fc210a808fa92ee1f213a77d4fa8', class: '\n flex items-center px-2 text-sm font-medium text-storm-400\n empty:px-0\n dark:text-hurricane-200\n ' }, hasContent && h("slot", { key: 'ba1bc493938f3a69a48bd2e885c6600fee2fedd6' })))));
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
Divider.style = dividerComponentCss();
|
|
@@ -12,7 +12,7 @@ const DrawerBody = class {
|
|
|
12
12
|
registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h("slot", { key: '
|
|
15
|
+
return h("slot", { key: 'fba5fb1b43bf01ca0a5b8fd6fa866a7313adad90' });
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
DrawerBody.style = drawerBodyComponentCss();
|
|
@@ -49,9 +49,9 @@ const DrawerContainer = class {
|
|
|
49
49
|
*/
|
|
50
50
|
closing = false;
|
|
51
51
|
render() {
|
|
52
|
-
return (h(ThemedHost, { key: '
|
|
52
|
+
return (h(ThemedHost, { key: '9585f27aae338802a3758a3ceacc7db964f9ba9a' }, h("div", { key: '7becdc6a7b27a1276da26f5b7d01fcdde1d69872', class: container({
|
|
53
53
|
closing: asBoolean(this.closing),
|
|
54
|
-
}) }, h("slot", { key: '
|
|
54
|
+
}) }, h("slot", { key: '2c0c890389a8cee3da1231e86242a2f042facced' }))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
DrawerContainer.style = drawerContainerComponentCss();
|
|
@@ -88,7 +88,7 @@ const DrawerHeader = class {
|
|
|
88
88
|
*/
|
|
89
89
|
close;
|
|
90
90
|
render() {
|
|
91
|
-
return (h(ThemedHost, { key: '
|
|
91
|
+
return (h(ThemedHost, { key: 'f0cc21f420fc9ede8f37b703e2bdc05b0494fdfb' }, h("div", { key: 'e90c5f4e51592b3dd5aabddc4cdf394a44afc4d6', class: header() }, h("div", { key: '7c34db9d5c88f715dc67663c4bd59292f4d5f465', class: content() }, this.showClose && (h("p-button", { key: '65d62aac568049c275aaf0da50927aa162375291', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), h("div", { key: '7e1809baea3e11b781292e5948dcd88de22adcbf', class: title() }, h("slot", { key: 'a197919fc325a031824cc187d9f01c02047c3cce' })), this.showClose && h("div", { key: 'a89a2a5c054a83c7998f8e3537294bb0d9a3654a', class: 'size-8' })), h("p-smile", { key: 'b6247f9b0f7dd88fe13b507507a5802bef0b518f', class: 'dark:text-hurricane-400' }))));
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
DrawerHeader.style = drawerHeaderComponentCss();
|
|
@@ -288,19 +288,19 @@ const DropdownMenuItem = class {
|
|
|
288
288
|
*/
|
|
289
289
|
autoHeight = false;
|
|
290
290
|
render() {
|
|
291
|
-
return (h(ThemedHost, { key: '
|
|
291
|
+
return (h(ThemedHost, { key: '4ba8f69906bcf37e693ee6b58e6f2545b0b7661a' }, h("div", { key: '25e4aaff0c2c9ae87794ed8b218e049e50b3b12d', class: cn(dropdownMenuItem({
|
|
292
292
|
variant: this.variant,
|
|
293
293
|
active: asBoolean(this.active),
|
|
294
294
|
enableHover: asBoolean(this.enableHover ?? true),
|
|
295
295
|
autoHeight: asBoolean(this.autoHeight ?? false),
|
|
296
296
|
enableTextWrap: this.enableTextWrap,
|
|
297
297
|
disabled: asBoolean(this.disabled),
|
|
298
|
-
})) }, this.icon && (h("p-icon", { key: '
|
|
298
|
+
})) }, this.icon && (h("p-icon", { key: '01a95197b48fdebc2ad3517bc7184dd56371e622', class: dropdownMenuItemIcon({
|
|
299
299
|
variant: this.variant,
|
|
300
300
|
active: asBoolean(this.active),
|
|
301
301
|
disabled: asBoolean(this.disabled),
|
|
302
302
|
wave: asBoolean(this.iconWave),
|
|
303
|
-
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '
|
|
303
|
+
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '0b6d9ec947b49d9c918dc7af3197fb78648bdf8b', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: cn('block w-full overflow-hidden text-start', {
|
|
304
304
|
'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
|
|
305
305
|
}) }, h("slot", null))) : (h("slot", null)))));
|
|
306
306
|
}
|
|
@@ -413,12 +413,12 @@ const PaginationPagesItem = class {
|
|
|
413
413
|
*/
|
|
414
414
|
disabled = false;
|
|
415
415
|
render() {
|
|
416
|
-
return (h(ThemedHost, { key: '
|
|
416
|
+
return (h(ThemedHost, { key: '65e27fe59f22b3b63ae368a4918ab2e19e558aea' }, h("div", { key: 'ab68be3b7d2a9d7dba15a24ab171e9c03f9eba89', class: item({
|
|
417
417
|
variant: this.variant ?? 'default',
|
|
418
418
|
active: asBoolean(this.active),
|
|
419
419
|
hover: asBoolean(this.hover, true),
|
|
420
420
|
disabled: asBoolean(this.disabled),
|
|
421
|
-
}) }, h("slot", { key: '
|
|
421
|
+
}) }, h("slot", { key: '1492a730e70fcbb602637b4ed77b74290d1540eb' }))));
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
PaginationPagesItem.style = paginationPagesItemComponentCss();
|