@paperless/core 2.12.15 → 2.12.16
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/CHANGELOG.md +12 -0
- package/dist/build/{p-844af0db.js → p-006ce9e2.js} +1 -1
- package/dist/build/{p-f176e285.entry.js → p-0762dca2.entry.js} +2 -2
- package/dist/build/{p-2c28248e.entry.js → p-13549fce.entry.js} +2 -2
- package/dist/build/{p-598fae40.entry.js → p-168e8d5c.entry.js} +2 -2
- package/dist/{paperless/p-4bf20920.entry.js → build/p-20f0202a.entry.js} +2 -2
- package/dist/build/{p-a95d48a3.entry.js → p-23121a9f.entry.js} +2 -2
- package/dist/build/{p-9fc838be.entry.js → p-250aa3a6.entry.js} +2 -2
- package/dist/build/{p-c6738a74.entry.js → p-4e64a8b0.entry.js} +2 -2
- package/dist/build/p-4f61059d.entry.js +2 -0
- package/dist/build/p-4f61059d.entry.js.map +1 -0
- package/dist/build/{p-8fb06c75.entry.js → p-54ab52ba.entry.js} +2 -2
- package/dist/build/{p-12ceb286.entry.js → p-5fd4c545.entry.js} +2 -2
- package/dist/{paperless/p-a5ee88a9.entry.js → build/p-60ce5cb1.entry.js} +2 -2
- package/dist/build/{p-52cd6c94.entry.js → p-6604ead1.entry.js} +2 -2
- package/dist/build/{p-06a613af.entry.js → p-6b1995b5.entry.js} +2 -2
- package/dist/build/{p-b95d6845.entry.js → p-6bb570c5.entry.js} +2 -2
- package/dist/{paperless/p-d4595315.entry.js → build/p-75cb9a59.entry.js} +2 -2
- package/dist/build/{p-9ccfddf3.entry.js → p-77ea8989.entry.js} +2 -2
- package/dist/build/{p-7cb05993.entry.js → p-7d4ba7b3.entry.js} +2 -2
- package/dist/build/{p-3e5feb89.entry.js → p-80f058e5.entry.js} +2 -2
- package/dist/build/{p-e350dc79.entry.js → p-8dd6fba3.entry.js} +2 -2
- package/dist/{paperless/p-eacbe5ed.entry.js → build/p-95d812ef.entry.js} +2 -2
- package/dist/build/p-b03f7821.entry.js +2 -0
- package/dist/{paperless/p-7300fdce.entry.js → build/p-b2441c2e.entry.js} +2 -2
- package/dist/{paperless/p-62bb5a15.entry.js → build/p-b6db4300.entry.js} +2 -2
- package/dist/build/{p-7625a9fe.entry.js → p-bf24b57e.entry.js} +2 -2
- package/dist/build/{p-621c658d.entry.js → p-bf91728e.entry.js} +2 -2
- package/dist/{paperless/p-6fc33855.entry.js → build/p-bfaf3040.entry.js} +2 -2
- package/dist/build/p-c5ba396d.entry.js +2 -0
- package/dist/build/{p-e044afe0.entry.js.map → p-c5ba396d.entry.js.map} +1 -1
- package/dist/build/{p-d7f2601b.entry.js → p-caf60b01.entry.js} +2 -2
- package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/build/p-e35dde73.entry.js +2 -0
- package/dist/build/p-e35dde73.entry.js.map +1 -0
- package/dist/build/{p-198d3d33.entry.js → p-e8d09f71.entry.js} +2 -2
- package/dist/{paperless/p-630b821d.entry.js → build/p-ee8f4311.entry.js} +2 -2
- package/dist/build/{p-aa03a9b1.entry.js → p-f56afec1.entry.js} +2 -2
- package/dist/{paperless/p-09fbb0bb.entry.js → build/p-ff0dee5d.entry.js} +2 -2
- package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +6 -6
- package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +2 -2
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-empty-state_8.cjs.entry.js +12 -12
- package/dist/cjs/p-field_2.cjs.entry.js +4 -4
- package/dist/cjs/p-helper_2.cjs.entry.js +2 -2
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -5
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- 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-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +3 -3
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js.map +1 -1
- package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +4 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -1
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +6 -6
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +2 -2
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/components/{p-BWS61QL4.js → p-1TpRsovb.js} +4 -4
- package/dist/components/{p-BWS61QL4.js.map → p-1TpRsovb.js.map} +1 -1
- package/dist/components/{p-9uCNIhdB.js → p-AW2oGbqj.js} +9 -9
- package/dist/components/{p-9uCNIhdB.js.map → p-AW2oGbqj.js.map} +1 -1
- package/dist/components/{p-Bc76zCz0.js → p-B2dstzDH.js} +4 -4
- package/dist/components/{p-Bc76zCz0.js.map → p-B2dstzDH.js.map} +1 -1
- package/dist/components/{p-20bKL56S.js → p-B9vEqYTq.js} +3 -3
- package/dist/components/{p-20bKL56S.js.map → p-B9vEqYTq.js.map} +1 -1
- package/dist/components/{p-Dz0oFayF.js → p-BcACknwC.js} +3 -3
- package/dist/components/{p-Dz0oFayF.js.map → p-BcACknwC.js.map} +1 -1
- package/dist/components/{p-BUzthIe4.js → p-BgJXDL3C.js} +4 -4
- package/dist/components/{p-BUzthIe4.js.map → p-BgJXDL3C.js.map} +1 -1
- package/dist/components/{p-BLxHSHLQ.js → p-BhGgkUHX.js} +9 -9
- package/dist/components/{p-BLxHSHLQ.js.map → p-BhGgkUHX.js.map} +1 -1
- package/dist/components/{p-CWCxhtvB.js → p-Bo-Xwwck.js} +3 -3
- package/dist/components/{p-CWCxhtvB.js.map → p-Bo-Xwwck.js.map} +1 -1
- package/dist/components/{p-BjTLGpAE.js → p-CAvUntoE.js} +3 -3
- package/dist/components/{p-BjTLGpAE.js.map → p-CAvUntoE.js.map} +1 -1
- package/dist/components/{p-BmKAfzS1.js → p-CIRFeGiK.js} +4 -4
- package/dist/components/{p-BmKAfzS1.js.map → p-CIRFeGiK.js.map} +1 -1
- package/dist/components/{p-BSj-tpQq.js → p-CNltO4r4.js} +3 -3
- package/dist/components/{p-BSj-tpQq.js.map → p-CNltO4r4.js.map} +1 -1
- package/dist/components/{p-eYUo2y4S.js → p-CTnp6dis.js} +3 -3
- package/dist/components/{p-eYUo2y4S.js.map → p-CTnp6dis.js.map} +1 -1
- package/dist/components/{p-Ds7nOoc6.js → p-CxnaGgdE.js} +4 -4
- package/dist/components/{p-Ds7nOoc6.js.map → p-CxnaGgdE.js.map} +1 -1
- package/dist/components/{p-9JVCnNTP.js → p-CxqxhAvr.js} +9 -9
- package/dist/components/{p-9JVCnNTP.js.map → p-CxqxhAvr.js.map} +1 -1
- package/dist/components/{p-CZtgzkyN.js → p-D3_de0mE.js} +5 -5
- package/dist/components/{p-CZtgzkyN.js.map → p-D3_de0mE.js.map} +1 -1
- package/dist/components/{p-BGEnz8kT.js → p-DMEUWkT_.js} +4 -4
- package/dist/components/{p-BGEnz8kT.js.map → p-DMEUWkT_.js.map} +1 -1
- package/dist/components/{p-B45k5qcT.js → p-DfIVofh6.js} +8 -8
- package/dist/components/{p-B45k5qcT.js.map → p-DfIVofh6.js.map} +1 -1
- package/dist/components/{p-DdIXD8-k.js → p-DhG7TpID.js} +4 -4
- package/dist/components/{p-DdIXD8-k.js.map → p-DhG7TpID.js.map} +1 -1
- package/dist/components/{p-DkFi_kvY.js → p-Dm0-xcDY.js} +3 -3
- package/dist/components/{p-DkFi_kvY.js.map → p-Dm0-xcDY.js.map} +1 -1
- package/dist/components/{p-CiEFZmoS.js → p-DsIKgAR0.js} +5 -5
- package/dist/components/{p-CiEFZmoS.js.map → p-DsIKgAR0.js.map} +1 -1
- package/dist/components/{p-x2Yo8WX0.js → p-KJBdEv0f.js} +4 -4
- package/dist/components/{p-x2Yo8WX0.js.map → p-KJBdEv0f.js.map} +1 -1
- package/dist/components/{p-YP9DgWmd.js → p-Sm9opSEV.js} +7 -5
- package/dist/components/p-Sm9opSEV.js.map +1 -0
- package/dist/components/{p-CZNONZKe.js → p-UWDjUTiS.js} +3 -3
- package/dist/components/{p-CZNONZKe.js.map → p-UWDjUTiS.js.map} +1 -1
- package/dist/components/{p-C5FpvsF3.js → p-YCPqEpsQ.js} +5 -5
- package/dist/components/{p-C5FpvsF3.js.map → p-YCPqEpsQ.js.map} +1 -1
- package/dist/components/p-accordion.js +2 -2
- package/dist/components/p-attachment.js +9 -9
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +8 -8
- package/dist/components/{p-DK0zQotI.js → p-dkS0x_Ct.js} +3 -3
- package/dist/components/{p-DK0zQotI.js.map → p-dkS0x_Ct.js.map} +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 +3 -3
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/{p-CLNMMTTp.js → p-dw4ui28s.js} +3 -3
- package/dist/components/{p-CLNMMTTp.js.map → p-dw4ui28s.js.map} +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-CgOTs2ii.js → p-fj2a3CsK.js} +4 -4
- package/dist/components/{p-CgOTs2ii.js.map → p-fj2a3CsK.js.map} +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-listing.js +2 -2
- 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 +4 -4
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +3 -3
- package/dist/components/p-navigation-section.js +2 -2
- 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 +2 -2
- package/dist/components/p-radio.js +3 -3
- 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 +7 -7
- 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 +2 -2
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-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 +18 -18
- package/dist/components/p-toast-container.js +2 -2
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-75pOVPMC.js → p-u6Gu9isj.js} +6 -6
- package/dist/components/{p-75pOVPMC.js.map → p-u6Gu9isj.js.map} +1 -1
- package/dist/components/{p-BoYFd16u.js → p-z31Hnx0b.js} +6 -6
- package/dist/components/{p-BoYFd16u.js.map → p-z31Hnx0b.js.map} +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +6 -6
- package/dist/esm/p-badge_3.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_4.entry.js +2 -2
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
- package/dist/esm/p-empty-state_8.entry.js +12 -12
- package/dist/esm/p-field_2.entry.js +4 -4
- package/dist/esm/p-helper_2.entry.js +2 -2
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
- package/dist/esm/p-modal-body_4.entry.js +6 -5
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination-pages-item.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +4 -4
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +2 -2
- 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-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/index.html +1 -1
- package/dist/paperless/{p-f176e285.entry.js → p-0762dca2.entry.js} +2 -2
- package/dist/paperless/{p-2c28248e.entry.js → p-13549fce.entry.js} +2 -2
- package/dist/paperless/{p-598fae40.entry.js → p-168e8d5c.entry.js} +2 -2
- package/dist/{build/p-4bf20920.entry.js → paperless/p-20f0202a.entry.js} +2 -2
- package/dist/paperless/{p-a95d48a3.entry.js → p-23121a9f.entry.js} +2 -2
- package/dist/paperless/{p-9fc838be.entry.js → p-250aa3a6.entry.js} +2 -2
- package/dist/paperless/{p-c6738a74.entry.js → p-4e64a8b0.entry.js} +2 -2
- package/dist/paperless/p-4f61059d.entry.js +2 -0
- package/dist/paperless/p-4f61059d.entry.js.map +1 -0
- package/dist/paperless/{p-8fb06c75.entry.js → p-54ab52ba.entry.js} +2 -2
- package/dist/paperless/{p-12ceb286.entry.js → p-5fd4c545.entry.js} +2 -2
- package/dist/{build/p-a5ee88a9.entry.js → paperless/p-60ce5cb1.entry.js} +2 -2
- package/dist/paperless/{p-52cd6c94.entry.js → p-6604ead1.entry.js} +2 -2
- package/dist/paperless/{p-06a613af.entry.js → p-6b1995b5.entry.js} +2 -2
- package/dist/paperless/{p-b95d6845.entry.js → p-6bb570c5.entry.js} +2 -2
- package/dist/{build/p-d4595315.entry.js → paperless/p-75cb9a59.entry.js} +2 -2
- package/dist/paperless/{p-9ccfddf3.entry.js → p-77ea8989.entry.js} +2 -2
- package/dist/paperless/{p-7cb05993.entry.js → p-7d4ba7b3.entry.js} +2 -2
- package/dist/paperless/{p-3e5feb89.entry.js → p-80f058e5.entry.js} +2 -2
- package/dist/paperless/{p-e350dc79.entry.js → p-8dd6fba3.entry.js} +2 -2
- package/dist/{build/p-eacbe5ed.entry.js → paperless/p-95d812ef.entry.js} +2 -2
- package/dist/paperless/p-b03f7821.entry.js +2 -0
- package/dist/{build/p-7300fdce.entry.js → paperless/p-b2441c2e.entry.js} +2 -2
- package/dist/{build/p-62bb5a15.entry.js → paperless/p-b6db4300.entry.js} +2 -2
- package/dist/paperless/{p-7625a9fe.entry.js → p-bf24b57e.entry.js} +2 -2
- package/dist/paperless/{p-621c658d.entry.js → p-bf91728e.entry.js} +2 -2
- package/dist/{build/p-6fc33855.entry.js → paperless/p-bfaf3040.entry.js} +2 -2
- package/dist/paperless/p-c5ba396d.entry.js +2 -0
- package/dist/paperless/{p-e044afe0.entry.js.map → p-c5ba396d.entry.js.map} +1 -1
- package/dist/paperless/{p-d7f2601b.entry.js → p-caf60b01.entry.js} +2 -2
- package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/paperless/p-e35dde73.entry.js +2 -0
- package/dist/paperless/p-e35dde73.entry.js.map +1 -0
- package/dist/paperless/{p-198d3d33.entry.js → p-e8d09f71.entry.js} +2 -2
- package/dist/{build/p-630b821d.entry.js → paperless/p-ee8f4311.entry.js} +2 -2
- package/dist/paperless/{p-aa03a9b1.entry.js → p-f56afec1.entry.js} +2 -2
- package/dist/{build/p-09fbb0bb.entry.js → paperless/p-ff0dee5d.entry.js} +2 -2
- package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/package.json +1 -1
- package/dist/build/p-54585b1b.entry.js +0 -2
- package/dist/build/p-54585b1b.entry.js.map +0 -1
- package/dist/build/p-da90df50.entry.js +0 -2
- package/dist/build/p-e044afe0.entry.js +0 -2
- package/dist/build/p-f01e56a4.entry.js +0 -2
- package/dist/build/p-f01e56a4.entry.js.map +0 -1
- package/dist/components/p-YP9DgWmd.js.map +0 -1
- package/dist/paperless/p-54585b1b.entry.js +0 -2
- package/dist/paperless/p-54585b1b.entry.js.map +0 -1
- package/dist/paperless/p-da90df50.entry.js +0 -2
- package/dist/paperless/p-e044afe0.entry.js +0 -2
- package/dist/paperless/p-f01e56a4.entry.js +0 -2
- package/dist/paperless/p-f01e56a4.entry.js.map +0 -1
- /package/dist/build/{p-f176e285.entry.js.map → p-0762dca2.entry.js.map} +0 -0
- /package/dist/build/{p-2c28248e.entry.js.map → p-13549fce.entry.js.map} +0 -0
- /package/dist/build/{p-598fae40.entry.js.map → p-168e8d5c.entry.js.map} +0 -0
- /package/dist/build/{p-4bf20920.entry.js.map → p-20f0202a.entry.js.map} +0 -0
- /package/dist/build/{p-a95d48a3.entry.js.map → p-23121a9f.entry.js.map} +0 -0
- /package/dist/build/{p-9fc838be.entry.js.map → p-250aa3a6.entry.js.map} +0 -0
- /package/dist/build/{p-c6738a74.entry.js.map → p-4e64a8b0.entry.js.map} +0 -0
- /package/dist/build/{p-8fb06c75.entry.js.map → p-54ab52ba.entry.js.map} +0 -0
- /package/dist/build/{p-12ceb286.entry.js.map → p-5fd4c545.entry.js.map} +0 -0
- /package/dist/build/{p-a5ee88a9.entry.js.map → p-60ce5cb1.entry.js.map} +0 -0
- /package/dist/build/{p-52cd6c94.entry.js.map → p-6604ead1.entry.js.map} +0 -0
- /package/dist/build/{p-06a613af.entry.js.map → p-6b1995b5.entry.js.map} +0 -0
- /package/dist/build/{p-b95d6845.entry.js.map → p-6bb570c5.entry.js.map} +0 -0
- /package/dist/build/{p-d4595315.entry.js.map → p-75cb9a59.entry.js.map} +0 -0
- /package/dist/build/{p-9ccfddf3.entry.js.map → p-77ea8989.entry.js.map} +0 -0
- /package/dist/build/{p-7cb05993.entry.js.map → p-7d4ba7b3.entry.js.map} +0 -0
- /package/dist/build/{p-3e5feb89.entry.js.map → p-80f058e5.entry.js.map} +0 -0
- /package/dist/build/{p-e350dc79.entry.js.map → p-8dd6fba3.entry.js.map} +0 -0
- /package/dist/build/{p-eacbe5ed.entry.js.map → p-95d812ef.entry.js.map} +0 -0
- /package/dist/build/{p-da90df50.entry.js.map → p-b03f7821.entry.js.map} +0 -0
- /package/dist/build/{p-7300fdce.entry.js.map → p-b2441c2e.entry.js.map} +0 -0
- /package/dist/build/{p-62bb5a15.entry.js.map → p-b6db4300.entry.js.map} +0 -0
- /package/dist/build/{p-7625a9fe.entry.js.map → p-bf24b57e.entry.js.map} +0 -0
- /package/dist/build/{p-621c658d.entry.js.map → p-bf91728e.entry.js.map} +0 -0
- /package/dist/build/{p-6fc33855.entry.js.map → p-bfaf3040.entry.js.map} +0 -0
- /package/dist/build/{p-d7f2601b.entry.js.map → p-caf60b01.entry.js.map} +0 -0
- /package/dist/build/{p-198d3d33.entry.js.map → p-e8d09f71.entry.js.map} +0 -0
- /package/dist/build/{p-630b821d.entry.js.map → p-ee8f4311.entry.js.map} +0 -0
- /package/dist/build/{p-aa03a9b1.entry.js.map → p-f56afec1.entry.js.map} +0 -0
- /package/dist/build/{p-09fbb0bb.entry.js.map → p-ff0dee5d.entry.js.map} +0 -0
- /package/dist/paperless/{p-f176e285.entry.js.map → p-0762dca2.entry.js.map} +0 -0
- /package/dist/paperless/{p-2c28248e.entry.js.map → p-13549fce.entry.js.map} +0 -0
- /package/dist/paperless/{p-598fae40.entry.js.map → p-168e8d5c.entry.js.map} +0 -0
- /package/dist/paperless/{p-4bf20920.entry.js.map → p-20f0202a.entry.js.map} +0 -0
- /package/dist/paperless/{p-a95d48a3.entry.js.map → p-23121a9f.entry.js.map} +0 -0
- /package/dist/paperless/{p-9fc838be.entry.js.map → p-250aa3a6.entry.js.map} +0 -0
- /package/dist/paperless/{p-c6738a74.entry.js.map → p-4e64a8b0.entry.js.map} +0 -0
- /package/dist/paperless/{p-8fb06c75.entry.js.map → p-54ab52ba.entry.js.map} +0 -0
- /package/dist/paperless/{p-12ceb286.entry.js.map → p-5fd4c545.entry.js.map} +0 -0
- /package/dist/paperless/{p-a5ee88a9.entry.js.map → p-60ce5cb1.entry.js.map} +0 -0
- /package/dist/paperless/{p-52cd6c94.entry.js.map → p-6604ead1.entry.js.map} +0 -0
- /package/dist/paperless/{p-06a613af.entry.js.map → p-6b1995b5.entry.js.map} +0 -0
- /package/dist/paperless/{p-b95d6845.entry.js.map → p-6bb570c5.entry.js.map} +0 -0
- /package/dist/paperless/{p-d4595315.entry.js.map → p-75cb9a59.entry.js.map} +0 -0
- /package/dist/paperless/{p-9ccfddf3.entry.js.map → p-77ea8989.entry.js.map} +0 -0
- /package/dist/paperless/{p-7cb05993.entry.js.map → p-7d4ba7b3.entry.js.map} +0 -0
- /package/dist/paperless/{p-3e5feb89.entry.js.map → p-80f058e5.entry.js.map} +0 -0
- /package/dist/paperless/{p-e350dc79.entry.js.map → p-8dd6fba3.entry.js.map} +0 -0
- /package/dist/paperless/{p-eacbe5ed.entry.js.map → p-95d812ef.entry.js.map} +0 -0
- /package/dist/paperless/{p-da90df50.entry.js.map → p-b03f7821.entry.js.map} +0 -0
- /package/dist/paperless/{p-7300fdce.entry.js.map → p-b2441c2e.entry.js.map} +0 -0
- /package/dist/paperless/{p-62bb5a15.entry.js.map → p-b6db4300.entry.js.map} +0 -0
- /package/dist/paperless/{p-7625a9fe.entry.js.map → p-bf24b57e.entry.js.map} +0 -0
- /package/dist/paperless/{p-621c658d.entry.js.map → p-bf91728e.entry.js.map} +0 -0
- /package/dist/paperless/{p-6fc33855.entry.js.map → p-bfaf3040.entry.js.map} +0 -0
- /package/dist/paperless/{p-d7f2601b.entry.js.map → p-caf60b01.entry.js.map} +0 -0
- /package/dist/paperless/{p-198d3d33.entry.js.map → p-e8d09f71.entry.js.map} +0 -0
- /package/dist/paperless/{p-630b821d.entry.js.map → p-ee8f4311.entry.js.map} +0 -0
- /package/dist/paperless/{p-aa03a9b1.entry.js.map → p-f56afec1.entry.js.map} +0 -0
- /package/dist/paperless/{p-09fbb0bb.entry.js.map → p-ff0dee5d.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst body = cva('bg-white dark:bg-hurricane-600 p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]',\n\t\t\tfalse: 'pb-4',\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: 'tablet:max-w-[20rem]',\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[41rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'xs' | 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={container({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n","","import { Component, h } from '@stencil/core';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class='flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600'>\n\t\t\t\t\t<p-divider class='mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' />\n\n\t\t\t\t\t<div class='flex flex-col gap-4 tablet:flex-row'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst header = cva([\n\t'w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1] max-h-28',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'w-[calc(100%-7rem)]',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'text-storm-500 dark:text-white text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class={header()}>\n\t\t\t\t\t<div class={content()}>\n\t\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-smile class='dark:text-hurricane-400' />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;;;;;;AAAA,MAAM,qBAAqB,GAAG,woCAAwoC;;ACItqC,MAAM,IAAI,GAAG,GAAG,CAAC,oCAAoC,EAAE;AACtD,IAAA,QAAQ,EAAE;AACT,QAAA,aAAa,EAAE;AACd,YAAA,IAAI,EAAE,qFAAqF;AAC3F,YAAA,KAAK,EAAE,MAAM;AACb,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,uCAAuC;AAC7C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;IAEnC,MAAM,GAAA;QACL,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC;gBACX,aAAa,EAAE,IAAI,CAAC,aAAa;gBACjC,UAAU,EAAE,IAAI,CAAC,UAAU;AAC3B,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACM;;;;;AC5ChB,MAAM,0BAA0B,GAAG,
|
|
1
|
+
{"version":3,"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst body = cva('bg-white dark:bg-hurricane-600 p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]',\n\t\t\tfalse: 'pb-4',\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\n\t\t'dark:border-hurricane-400 dark:border dark:border-solid',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: 'tablet:max-w-[20rem]',\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[41rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'xs' | 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={container({\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, h } from '@stencil/core';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class='flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600'>\n\t\t\t\t\t<p-divider class='mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' />\n\n\t\t\t\t\t<div class='flex flex-col gap-4 tablet:flex-row'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst header = cva([\n\t'w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1] max-h-28',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'w-[calc(100%-7rem)]',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'text-storm-500 dark:text-white text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class={header()}>\n\t\t\t\t\t<div class={content()}>\n\t\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-smile class='dark:text-hurricane-400' />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -40,7 +40,7 @@ const ModalBody = class {
|
|
|
40
40
|
};
|
|
41
41
|
ModalBody.style = modalBodyComponentCss;
|
|
42
42
|
|
|
43
|
-
const modalContainerComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.z-modal{z-index:600!important}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards!important}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards!important}.flex-col{flex-direction:column!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.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-\\[20rem\\]{max-width:20rem!important}.tablet\\:max-w-\\[35rem\\]{max-width:35rem!important}.tablet\\:max-w-\\[41rem\\]{max-width:41rem!important}.tablet\\:max-w-\\[45rem\\]{max-width:45rem!important}.tablet\\:max-w-\\[65rem\\]{max-width:65rem!important}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards!important}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards!important}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}";
|
|
43
|
+
const modalContainerComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.z-modal{z-index:600!important}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards!important}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards!important}.flex-col{flex-direction:column!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.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-\\[20rem\\]{max-width:20rem!important}.tablet\\:max-w-\\[35rem\\]{max-width:35rem!important}.tablet\\:max-w-\\[41rem\\]{max-width:41rem!important}.tablet\\:max-w-\\[45rem\\]{max-width:45rem!important}.tablet\\:max-w-\\[65rem\\]{max-width:65rem!important}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards!important}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards!important}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px!important}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid!important}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1!important;border-color:rgb(70 75 84/var(--tw-border-opacity,1))!important}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px!important}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid!important}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1!important;border-color:rgb(70 75 84/var(--tw-border-opacity,1))!important}";
|
|
44
44
|
|
|
45
45
|
const container = cva([
|
|
46
46
|
'flex-1 min-w-0 w-full',
|
|
@@ -48,6 +48,7 @@ const container = cva([
|
|
|
48
48
|
'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',
|
|
49
49
|
'max-h-[calc(100dvh-4rem)]',
|
|
50
50
|
'shadow-modal',
|
|
51
|
+
'dark:border-hurricane-400 dark:border dark:border-solid',
|
|
51
52
|
], {
|
|
52
53
|
variants: {
|
|
53
54
|
size: {
|
|
@@ -76,10 +77,10 @@ const ModalContainer = class {
|
|
|
76
77
|
*/
|
|
77
78
|
closing = false;
|
|
78
79
|
render() {
|
|
79
|
-
return (h("div", { key: '
|
|
80
|
+
return (h(ThemedHost, { key: '2bcc006cc69768f1d22cf8a838bc64ef8aad8ff4' }, h("div", { key: '77026114720c272f3f060abed2752014fc090613', class: container({
|
|
80
81
|
size: this.size,
|
|
81
82
|
closing: asBoolean(this.closing),
|
|
82
|
-
}) }, h("slot", { key: '
|
|
83
|
+
}) }, h("slot", { key: '03f281ef3802c57668bf424d8a17b58e5807f16f' }))));
|
|
83
84
|
}
|
|
84
85
|
};
|
|
85
86
|
ModalContainer.style = modalContainerComponentCss;
|
|
@@ -91,7 +92,7 @@ const ModalFooter = class {
|
|
|
91
92
|
registerInstance(this, hostRef);
|
|
92
93
|
}
|
|
93
94
|
render() {
|
|
94
|
-
return (h(ThemedHost, { key: '
|
|
95
|
+
return (h(ThemedHost, { key: '224d37e5b88f22c4d320ae2a6aaac9b5fa9c402f' }, h("div", { key: '49cc91268a85131d485b4fc739f84fd428932c72', class: 'flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600' }, h("p-divider", { key: '1b4adaada66a2bf0196d827ac5f71b62f53753eb', class: 'mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' }), h("div", { key: 'ddd3d26e3538b2d04169d78f0451c8e9e1777af6', class: 'flex flex-col gap-4 tablet:flex-row' }, h("slot", { key: 'f04c1d1f97ea47644de785f0a7e2bcccee0d916a' })))));
|
|
95
96
|
}
|
|
96
97
|
};
|
|
97
98
|
ModalFooter.style = modalFooterComponentCss;
|
|
@@ -123,7 +124,7 @@ const ModalHeader = class {
|
|
|
123
124
|
*/
|
|
124
125
|
close;
|
|
125
126
|
render() {
|
|
126
|
-
return (h(ThemedHost, { key: '
|
|
127
|
+
return (h(ThemedHost, { key: 'e1333b589d91aa287a238a6ec2247dc38d5fbc0d' }, h("div", { key: '93de864291d6bf6f881286b6ed2e70afb9b0b329', class: header() }, h("div", { key: '3b6b5600bb4541ac2b19928858044683f7139d1a', class: content() }, h("div", { key: '2e42d2f02647b97bf76f363805d76ed8805e0255', class: title() }, h("slot", { key: 'fa88c81de30529ca7d06c95abaf304104a90a584' })), this.showClose && (h("p-button", { key: '782517e9f144230ed3063278bbedb7eeb70a7b39', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: 'd30bd2d9c837fd0b49eaee7a32bbe62ddc07db19', class: 'dark:text-hurricane-400' }))));
|
|
127
128
|
}
|
|
128
129
|
};
|
|
129
130
|
ModalHeader.style = modalHeaderComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","mappings":";;;;;;;AAAA,MAAM,qBAAqB,GAAG,woCAAwoC;;ACItqC,MAAM,IAAI,GAAG,GAAG,CAAC,oCAAoC,EAAE;AACtD,IAAA,QAAQ,EAAE;AACT,QAAA,aAAa,EAAE;AACd,YAAA,IAAI,EAAE,qFAAqF;AAC3F,YAAA,KAAK,EAAE,MAAM;AACb,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,uCAAuC;AAC7C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;IAEnC,MAAM,GAAA;QACL,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC;gBACX,aAAa,EAAE,IAAI,CAAC,aAAa;gBACjC,UAAU,EAAE,IAAI,CAAC,UAAU;AAC3B,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACM;;;;;AC5ChB,MAAM,0BAA0B,GAAG,
|
|
1
|
+
{"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","mappings":";;;;;;;AAAA,MAAM,qBAAqB,GAAG,woCAAwoC;;ACItqC,MAAM,IAAI,GAAG,GAAG,CAAC,oCAAoC,EAAE;AACtD,IAAA,QAAQ,EAAE;AACT,QAAA,aAAa,EAAE;AACd,YAAA,IAAI,EAAE,qFAAqF;AAC3F,YAAA,KAAK,EAAE,MAAM;AACb,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,uCAAuC;AAC7C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;IAEnC,MAAM,GAAA;QACL,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC;gBACX,aAAa,EAAE,IAAI,CAAC,aAAa;gBACjC,UAAU,EAAE,IAAI,CAAC,UAAU;AAC3B,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACM;;;;;AC5ChB,MAAM,0BAA0B,GAAG,mxHAAmxH;;ACKtzH,MAAM,SAAS,GAAG,GAAG,CACpB;IACC,uBAAuB;IAEvB,uBAAuB;IACvB,uDAAuD;IAEvD,2BAA2B;IAE3B,cAAc;IAEd,yDAAyD;CACzD,EACD;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,IAAI,EAAE;AACL,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,IAAI,EAAE,sBAAsB;AAC5B,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,KAAK,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACR,YAAA,KAAK,EACJ,kEAAkE;AACnE,YAAA,IAAI,EAAE,wFAAwF;AAC9F,SAAA;AACD,KAAA;AACD,CAAA,CACD;MAOY,cAAc,GAAA,MAAA;;;;AAC1B;;AAEG;IACK,IAAI,GAAwC,MAAM;AAE1D;;AAEG;IACK,OAAO,GAAY,KAAK;IAEhC,MAAM,GAAA;QACL,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,SAAS,CAAC;gBAChB,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,gBAAA,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;AAChC,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACM;;;;;AC/DhB,MAAM,uBAAuB,GAAG,0gDAA0gD;;MCQ7hD,WAAW,GAAA,MAAA;;;;IACvB,MAAM,GAAA;AACL,QAAA,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uIAAuI,EAAA,EACjJ,CAAW,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,2EAA2E,EAAG,CAAA,EAE/F,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qCAAqC,EAAA,EAC/C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACD,CACM;;;;;ACnBhB,MAAM,uBAAuB,GAAG,g8EAAg8E;;ACIh+E,MAAM,MAAM,GAAG,GAAG,CAAC;IAClB,6FAA6F;IAC7F,mCAAmC;AACnC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAG,GAAG,CAAC,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,CAAC;AAEjE,MAAM,KAAK,GAAG,GAAG,CAAC;IACjB,oBAAoB;IACpB,qBAAqB;IACrB,6DAA6D;IAC7D,8DAA8D;AAC9D,CAAA,CAAC;MAOW,WAAW,GAAA,MAAA;;;;;AACvB;;AAEG;IACK,SAAS,GAAG,IAAI;AAExB;;AAEG;AAIH,IAAA,KAAK;IAEL,MAAM,GAAA;AACL,QAAA,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,MAAM,EAAE,EAAA,EACnB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAE,EAAA,EACpB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,KAAK,EAAE,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,EAEL,IAAI,CAAC,SAAS,KACd,iEACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAA,CACvB,CACZ,CACI,EAEN,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAS,KAAK,EAAC,yBAAyB,GAAG,CACtC,CACM;;;;;;;","names":[],"sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst body = cva('bg-white dark:bg-hurricane-600 p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]',\n\t\t\tfalse: 'pb-4',\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\n\t\t'dark:border-hurricane-400 dark:border dark:border-solid',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: 'tablet:max-w-[20rem]',\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[41rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'xs' | 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={container({\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, h } from '@stencil/core';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class='flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600'>\n\t\t\t\t\t<p-divider class='mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' />\n\n\t\t\t\t\t<div class='flex flex-col gap-4 tablet:flex-row'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst header = cva([\n\t'w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1] max-h-28',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'w-[calc(100%-7rem)]',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'text-storm-500 dark:text-white text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class={header()}>\n\t\t\t\t\t<div class={content()}>\n\t\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-smile class='dark:text-hurricane-400' />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -52,7 +52,7 @@ const Navbar = class {
|
|
|
52
52
|
}
|
|
53
53
|
_show = false;
|
|
54
54
|
render() {
|
|
55
|
-
return (h(ThemedHost, { key: '
|
|
55
|
+
return (h(ThemedHost, { key: 'f18236b1eecebb2364756c2ec45dd5547e5c2b8a' }, h("p-backdrop", { key: 'd6c6c3c6913c64801c3210b3f9356a7d2f88f685', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '26fa33772a4437faaec4d5bbce86f5fcf5e06f1d', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'c41a829e518a972b4c7030fb0500a1501fa3835b', class: 'flex w-full items-center justify-end layout-1280:hidden' }, h("p-button", { key: 'ee1d0e561764ddbf58797ca8ea6ca08bb726aa6d', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, onClick: () => (this._show = false) })), h("div", { key: '531559e69a4158a2271be6d63ab7537f866f8eaf', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '97b8397a519af90da71aa53ec90ffad88a723657', name: 'company' })), h("div", { key: '4c526a339ac703505b3dd2ac8a4959e3b4bc47ee', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '6047b39501d08754bcb7264142cf713297cf9e01', name: 'content' })), h("div", { key: '18cbd646cbefb9031e74f712afdc7075d8aec953', class: 'mt-auto hidden w-full flex-shrink-0 flex-col layout-1280:flex' }, h("slot", { key: '15cbd9e622dbda0c2e09e2353143ffd164a41cfc', name: 'user' }))), h("div", { key: 'f54474e0a0b298dd986be0b6e74c9fb0cff05945', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'a9cb10403323860b08a5131d928d19f9fdfb6afa', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', onClick: () => (this._show = true) }), h("slot", { key: 'ccfaa956eb493047a8ce2f0c3a1c89d62e47a0c3', name: 'topbar' }))));
|
|
56
56
|
}
|
|
57
57
|
handleCloseNavbar() {
|
|
58
58
|
this._show = false;
|
|
@@ -84,13 +84,13 @@ const NavigationItem = class {
|
|
|
84
84
|
render() {
|
|
85
85
|
const TagType = this.as;
|
|
86
86
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
87
|
-
return (h(ThemedHost, { key: '
|
|
87
|
+
return (h(ThemedHost, { key: '2d29f70e6ec2ba062b2ce4f2757f705cfad3ae12', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '04332bd09399e88de1e58218c7de4e56357d0836', class: navigationItem({
|
|
88
88
|
icon: !!this.icon,
|
|
89
89
|
active,
|
|
90
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
90
|
+
}), href: this.href, target: this.target }, h("div", { key: '9c054d73cdbc086f385899cec281cd8b5cae4d5a', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '1d06647840b67887bbb43eb6dbc632fd79a1aca2', variant: this.icon })), h("span", { key: 'a83535b05b7635bf4a5401ce27591fc98829ffc1', class: cn({
|
|
91
91
|
'has-counter': !!this.counter,
|
|
92
92
|
'w-full': this.applyFullWidth,
|
|
93
|
-
}) }, h("slot", { key: '
|
|
93
|
+
}) }, h("slot", { key: '5863363e5a23002347e28729d5919a8705b862e9' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '82b0eedf127b7b01237cff0833764c09ed612089' }, this.counter)), !!this.loading && h("p-loader", { key: 'd91a386bc9f56c02f06588a55af808a5a6888e59', class: 'ml-auto' }))));
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
NavigationItem.style = navigationItemComponentCss;
|
|
@@ -13,7 +13,7 @@ const NavigationSection = class {
|
|
|
13
13
|
*/
|
|
14
14
|
header;
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: '
|
|
16
|
+
return (h(ThemedHost, { key: '002ed7acb41410e679f8a58eb22a3abc8b558156', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: 'c2cb70e21a2b546f90cb7e7562798e33f7b57563' }, this.header)), h("div", { key: '30c52779d5d2c810a0c088efa6d023b433d63095', class: 'flex flex-col' }, h("slot", { key: 'a757faba94597f2476c2a1166c10170c4ed2d6c1' }))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
NavigationSection.style = navigationSectionComponentCss;
|
|
@@ -9,7 +9,7 @@ const NavigationTitle = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(ThemedHost, { key: '
|
|
12
|
+
return (h(ThemedHost, { key: '8bd3f47ac1320f48f32a095a9b956802c8ebe41b', class: 'text-xs font-medium text-storm-300 dark:text-hurricane-200' }, h("slot", { key: '10d0d20f74e93d280a5710acf968ba0ebfebe725' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NavigationTitle.style = navigationTitleComponentCss;
|
|
@@ -96,12 +96,12 @@ const PaginationPagesItem = class {
|
|
|
96
96
|
*/
|
|
97
97
|
disabled = false;
|
|
98
98
|
render() {
|
|
99
|
-
return (h(ThemedHost, { key: '
|
|
99
|
+
return (h(ThemedHost, { key: '555a0fa51eade8039be2c42060999de6117aaeb2' }, h("div", { key: '2406dbdf07c77775429beb5c30dac387ab22ee95', class: item({
|
|
100
100
|
variant: this.variant ?? 'default',
|
|
101
101
|
active: asBoolean(this.active),
|
|
102
102
|
hover: asBoolean(this.hover, true),
|
|
103
103
|
disabled: asBoolean(this.disabled),
|
|
104
|
-
}) }, h("slot", { key: '
|
|
104
|
+
}) }, h("slot", { key: 'bbbf3cbffbbe6464dbab35bcc4b09d12cd983984' }))));
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
PaginationPagesItem.style = paginationPagesItemComponentCss;
|
|
@@ -75,12 +75,12 @@ const Pagination = class {
|
|
|
75
75
|
_hasPaginationPages = true;
|
|
76
76
|
render() {
|
|
77
77
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
78
|
-
return (h(ThemedHost, { key: '
|
|
78
|
+
return (h(ThemedHost, { key: 'a559316eebf880454bea768eba343b67de16b5e7' }, h("div", { key: 'fbabe3134439dc52c661751a79039aecbbebe659', class: pagination$1({
|
|
79
79
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
80
80
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
81
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
81
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '2c862ee1c1c8ca70a26d040146f0da65d01d714a' }, h("p-pagination-size", { key: '1990fe2b9cbdc90846aacadbf4b73658c7a3064b', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
82
82
|
this.hideOnSinglePage &&
|
|
83
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
83
|
+
this._hasPaginationPages && (h("p-divider", { key: '17b9ef49c977fa90555dd98b0697ef9e056aeb3e', variant: 'vertical', class: 'mx-0 h-4 text-off-white-700 dark:text-hurricane-400' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: '3b06eace9b53c2901e93d35c88ae41b6a04cb7ec', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
84
84
|
this._hasPaginationPages = detail > 1;
|
|
85
85
|
this.pagesChange.emit(detail);
|
|
86
86
|
} })))));
|
|
@@ -141,7 +141,7 @@ const PaginationPages = class {
|
|
|
141
141
|
this._generate();
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
|
-
return (h(ThemedHost, { key: '
|
|
144
|
+
return (h(ThemedHost, { key: 'fac924cdf7545478c541427ebe8d888e19a01598' }, h("div", { key: '924356249ec8d6ba2ec4d215f122ce3d5f605a17', class: pagination({
|
|
145
145
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
146
146
|
}) }, this._set?.map(p => {
|
|
147
147
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -33,7 +33,7 @@ const Profile = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const content = this._getContent();
|
|
36
|
-
return (h(ThemedHost, { key: '
|
|
36
|
+
return (h(ThemedHost, { key: '9856f8b723b8c4e764ae8176ad16d1dc2241b934' }, this._hasDropdownSlot ? (h("p-dropdown", { strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
37
37
|
}
|
|
38
38
|
slotchange() {
|
|
39
39
|
this._checkDropdownSlot();
|
|
@@ -107,11 +107,11 @@ const Radio = class {
|
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
109
|
const id = this.id?.length ? this.id : this._nonce;
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: 'f9b9a3ad55850a67e2a286f3f761fb5d614025e9' }, h("label", { key: '0d00004f5c295b4e9505a6b695432f005324ba4e', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: 'c2bdcc86dcb8e9a37a72f9ddb3917de59b72757f', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '99a60dc75b42a201a7555262f6f5b25777b2d15b', class: radio({
|
|
111
111
|
disabled: asBoolean(this.disabled),
|
|
112
|
-
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
112
|
+
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: 'e42e2c008829fda3b56df89b3bff82c7b913a68e', class: circle({
|
|
113
113
|
disabled: asBoolean(this.disabled),
|
|
114
|
-
}) })), h("div", { key: '
|
|
114
|
+
}) })), h("div", { key: '48d408a5e1f2eb1eb6d84abf1d00a64c6a8887e0', class: 'flex-1 overflow-hidden text-ellipsis empty:hidden dark:text-white' }, h("slot", { key: 'afc723f6916b1b2ef2eaf7619b35190b60ecb85d' })))));
|
|
115
115
|
}
|
|
116
116
|
_onChange(ev) {
|
|
117
117
|
if (asBoolean(this.disabled)) {
|
|
@@ -31,13 +31,13 @@ const Range = class {
|
|
|
31
31
|
valueChange;
|
|
32
32
|
render() {
|
|
33
33
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
34
|
-
return (h(ThemedHost, { key: '
|
|
34
|
+
return (h(ThemedHost, { key: 'c937c22c26281de6e233d8cf8ab0cb13af1973b2' }, h("div", { key: '0eed98812f468dff396750ca4d1a804de945c8b3', class: 'flex w-inherit items-center gap-2 text-storm-300 dark:text-hurricane-200' }, h("p-icon", { key: '1e71cf8f4866f97dd1f3985e45d489e2ed6f4f0c', variant: 'minus' }), h("div", { key: '558f3fc8d5fd578e3510aab6c617a4a69ff9d19f', class: 'relative h-6 flex-1' }, h("input", { key: 'f61117e1cf805b58a274873c4bb062e827fd1ef2', type: 'range', min: this.min, max: this.max, step: this.step, value: this.value, onInput: ev => {
|
|
35
35
|
const value = ev.target.value;
|
|
36
36
|
this.value = parseFloat(value);
|
|
37
37
|
this.valueChange.emit(value);
|
|
38
|
-
} }), h("div", { key: '
|
|
38
|
+
} }), h("div", { key: '8c247df11ce56689438e3edf381972b95360f7cf', class: 'z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform bg-indigo-600', style: {
|
|
39
39
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
40
|
-
} })), h("p-icon", { key: '
|
|
40
|
+
} })), h("p-icon", { key: '10738ff8b64a0d3c0d354c166c80175876a1195b', variant: 'plus' }))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
Range.style = rangeComponentCss;
|
|
@@ -339,8 +339,8 @@ const Select = class {
|
|
|
339
339
|
if (this.error?.length) {
|
|
340
340
|
buttonIcon = 'warning';
|
|
341
341
|
}
|
|
342
|
-
return (h(ThemedHost, { key: '
|
|
343
|
-
this._selectedItem?.[this.iconClassKey], onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
342
|
+
return (h(ThemedHost, { key: 'c4ede01413b6ecc94698220e38612b7ee86cf4a2' }, h("p-field-container", { key: '8380ad89a6c1001832978455054c7d450306fea5', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, showOptional: this.showOptional, error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown }, h("p-dropdown", { key: 'd91a5985868814e2e24ee5cc912f87ea056f20d1', applyFullWidth: true, applyMaxWidth: false, slot: 'content', insideClick: true, manual: true, scrollable: this.enableAutocomplete ? 'large' : true, "disable-trigger-click": this.disabled, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), strategy: this.strategy }, h("p-button", { key: '0c68ef89ac2239a56144a284151112a57a02dc22', slot: 'trigger', class: 'w-full', variant: 'secondary', size: this.size, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, active: this._showDropdown, error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
343
|
+
this._selectedItem?.[this.iconClassKey], onClick: ev => this._onClick(ev) }, h("div", { key: '0c7ae720d59661f750f3b3f79cba40fe36a7de64', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
344
344
|
}
|
|
345
345
|
documentClickHandler(event) {
|
|
346
346
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -49,7 +49,7 @@ const Smile = class {
|
|
|
49
49
|
*/
|
|
50
50
|
variant = 'modal';
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '3064c59cec6290ebbed66c176b8cce2b40319b7e', class: smile({ variant: this.variant }) }, h("div", { key: '4cd443a43af0b3c95a449338261314587adcba9f', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
Smile.style = smileComponentCss;
|
|
@@ -143,19 +143,19 @@ const StepperItem = class {
|
|
|
143
143
|
*/
|
|
144
144
|
active = false;
|
|
145
145
|
render() {
|
|
146
|
-
return (h(ThemedHost, { key: '
|
|
146
|
+
return (h(ThemedHost, { key: 'a0cdb6170da994966fa0b5e974c6726ed79fedfe' }, h("div", { key: 'd044e8ff0e75e2b84701172b8ab009e67e852e42', class: item({
|
|
147
147
|
align: this.align,
|
|
148
148
|
contentPosition: this.contentPosition,
|
|
149
|
-
}) }, h("div", { key: '
|
|
149
|
+
}) }, h("div", { key: '3338b84b066d0914e7bc4a957978d67a7d5a0f71', class: circle({
|
|
150
150
|
align: this.align,
|
|
151
151
|
direction: this.direction,
|
|
152
152
|
active: asBoolean(this.active),
|
|
153
153
|
finished: asBoolean(this.finished),
|
|
154
|
-
}) }, this.number), h("div", { key: '
|
|
154
|
+
}) }, this.number), h("div", { key: '9d1bd3507e2d27eba1f72d719d17a7d823a9aac1', class: content({
|
|
155
155
|
active: asBoolean(this.active),
|
|
156
156
|
finished: asBoolean(this.finished),
|
|
157
157
|
direction: this.direction,
|
|
158
|
-
}) }, h("slot", { key: '
|
|
158
|
+
}) }, h("slot", { key: 'f38c3877088ec7ab48580292269e5d6462ac3d14' })))));
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
StepperItem.style = stepperItemComponentCss;
|
|
@@ -175,7 +175,7 @@ const StepperLine = class {
|
|
|
175
175
|
*/
|
|
176
176
|
direction = 'horizontal';
|
|
177
177
|
render() {
|
|
178
|
-
return h(ThemedHost, { key: '
|
|
178
|
+
return h(ThemedHost, { key: '2d5e91e9457c9dd485bb959fd8df29f9a3fed3d7' });
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
StepperLine.style = stepperLineComponentCss;
|
|
@@ -7,7 +7,7 @@ const TabContainer = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '53c12718391c1a31581beb5c3a4ffc9818fe454e', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: '26fba80da409da4c8c7def2a8f74752906b80140', class: 'scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto' }, h("slot", { key: '15204a9a43deb18eb87e68a523eb9a5db1c20051' })), h("p-divider", { key: 'd974d4dbf0e87f691911ba21a04f0b48bdc71abe', class: 'absolute bottom-0 left-0 m-0 w-full text-off-white-700 dark:text-hurricane-400' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
TabContainer.style = tabContainerComponentCss;
|
|
@@ -30,7 +30,7 @@ const TabItem = class {
|
|
|
30
30
|
*/
|
|
31
31
|
active = false;
|
|
32
32
|
render() {
|
|
33
|
-
return (h(ThemedHost, { key: '
|
|
33
|
+
return (h(ThemedHost, { key: 'fdf24e0ba395fe0b5ca7328403e51a3d3793fbba' }, h("div", { key: '6ef7c87520ffe3638c958140cf9c022016d8994f', class: item({ active: this.active }) }, h("slot", { key: '79e35cec4779852e59cbe8f36487fb7f0a349a3e' }))));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
TabItem.style = tabItemComponentCss;
|
|
@@ -41,9 +41,9 @@ const ToastContainer = class {
|
|
|
41
41
|
*/
|
|
42
42
|
placement = 'top-end';
|
|
43
43
|
render() {
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '6f60b82fbb98413ee5f1a790073051c1b5706d71', class: container({
|
|
45
45
|
placement: this.placement,
|
|
46
|
-
}) }, h("slot", { key: '
|
|
46
|
+
}) }, h("slot", { key: '871840af368ee9c8ebc9dd4f9af4ee64667d761a' })));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
ToastContainer.style = toastContainerComponentCss;
|
|
@@ -58,7 +58,7 @@ const Toast = class {
|
|
|
58
58
|
*/
|
|
59
59
|
action;
|
|
60
60
|
render() {
|
|
61
|
-
return (h(ThemedHost, { key: '
|
|
61
|
+
return (h(ThemedHost, { key: 'd0cacbaaf93bfb9f98061e16892ad1c9331f98e0' }, h("div", { key: '74cb104d0c07fbdbf47f8884737af64fc4e78faf', class: 'flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2 dark:border-hurricane-800 dark:bg-hurricane-800', onClick: () => this._onClick() }, h("div", { key: '92dbc67246e8cea086e66598a966b424c1783380', class: indicator({ variant: this.variant }) }), h("div", { key: 'c556f645622a403241fd30501b6e584659a1c28f', class: content() }, h("div", { key: '9d71be40edbbececfe7b2bf07fcf12e4dd2d0775', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '7c397d10916c460a72cc5ffb62d2db6551af00d5', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-storm-500 dark:text-white' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '7018743c217932aa4fb988511d482d8bf9b7b745', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-storm-300 dark:text-hurricane-200' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: 'a960ca7bb2e3530ce977536f0e6d7137bdd6ac70', class: 'flex-shrink-0 cursor-pointer p-2 text-storm-200 hover:text-storm-500 hover:text-white dark:text-hurricane-200' }, h("p-icon", { key: 'daf1bf85797180442d76fe75c261e21ddc4d15da', variant: this.actionIcon, flip: this.actionIconFlip, rotate: this.actionIconRotate })))))));
|
|
62
62
|
}
|
|
63
63
|
_onClick() {
|
|
64
64
|
if (this.enableAction) {
|
|
@@ -105,11 +105,11 @@ const Toggle = class {
|
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
107
|
const id = this.id?.length ? this.id : this._nonce;
|
|
108
|
-
return (h(ThemedHost, { key: '
|
|
108
|
+
return (h(ThemedHost, { key: 'e8210bb1bd56de350cb328034d548c82554382b8' }, h("label", { key: '908f4f6bd88c86f2196218d906c2738e43bd9d07', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: '116eeaf381ef72fc78a2b410f5e99984638d7118', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: '0949fc3652a55e3f3ff6900014b84ec7856d22e4', class: toggle({
|
|
109
109
|
disabled: asBoolean(this.disabled),
|
|
110
|
-
}), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
110
|
+
}), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '754521664780143c8e7cc801f382d948f1c44056', class: circle({
|
|
111
111
|
disabled: asBoolean(this.disabled),
|
|
112
|
-
}) })), h("div", { key: '
|
|
112
|
+
}) })), h("div", { key: 'a43f79a4dfab4e81829f5b74a8ce784645e750d0', class: 'flex-1 overflow-hidden text-ellipsis empty:hidden dark:text-white' }, h("slot", { key: 'f91641ae764a55fd924c24f109fbf07cb0ec023d' })))));
|
|
113
113
|
}
|
|
114
114
|
_onChange(ev) {
|
|
115
115
|
if (asBoolean(this.disabled)) {
|
package/dist/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-
|
|
1
|
+
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-006ce9e2.js"><link rel="modulepreload" href="/build/p-BIwGgs9f.js"><link rel="modulepreload" href="/build/p-C1iNEsnH.js"><link rel="modulepreload" href="/build/p-C5CTp9IA.js"><link rel="modulepreload" href="/build/p-CBWjHURv.js"><link rel="modulepreload" href="/build/p-CT54OXR2.js"><link rel="modulepreload" href="/build/p-ChV9xqsO.js"><link rel="modulepreload" href="/build/p-Dpmiv2da.js"><link rel="modulepreload" href="/build/p-XC2VDWby.js"><script type="module" src="/build/p-006ce9e2.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> <link rel="stylesheet" href="/build/p-1536d957.css"> </head> <body> <p-button>Test</p-button> <script data-build="2025-09-22T13:37:58">
|
|
2
2
|
if ('serviceWorker' in navigator && location.protocol !== 'file:') {
|
|
3
3
|
window.addEventListener('load', function() {
|
|
4
4
|
navigator.serviceWorker.register('/sw.js')
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as a,h as r}from"./p-Dpmiv2da.js";import{T as e}from"./p-C1iNEsnH.js";import{c as i}from"./p-CT54OXR2.js";import"./p-BIwGgs9f.js";import"./p-ChV9xqsO.js";const o="*{box-sizing:border-box}.static{position:static!important}.my-0{margin-bottom:0!important;margin-top:0!important}.mt-4{margin-top:1rem!important}.flex{display:flex!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.font-medium{font-weight:500!important}.text-hurricane-200{--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-500{color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.text-storm-500,.text-white{--tw-text-opacity:1!important}.text-white{color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const p=class{constructor(r){t(this,r);this.isOpen=a(this,"isOpen",3)}variant="primary";header;open=false;closeable=true;openable=true;isOpen;render(){return r(e,{key:"12fbff336768433948b9d384528d595808295fb9"},r("div",{key:"d49e477d32da230a91eda03f8d4ba2e56bf3daed",class:i("flex cursor-pointer items-center gap-2",{"text-storm-500 dark:text-white":this.variant==="primary","text-storm-300 dark:text-hurricane-200":this.variant==="secondary"}),onClick:()=>this._onClick()},r("p-icon",{key:"145e3327d49ae7b660175ca886b2248aba1c8054",class:"flex shrink-0",variant:"caret",rotate:this.open?0:-90}),r("p",{key:"ac26cc99a24c03c9dba432f737616bcfcab7b313",class:"my-0 shrink-0 whitespace-nowrap text-base font-medium"},this.header),r("p-divider",{key:"f99a5a61e0f1d8d06e4adcd1fad6860607162185",class:"flex-1"})),this.open&&r("div",{key:"1ea4d6ab9fb6991971c460b452b7d95a19f56b36",class:"mt-4"},r("slot",{key:"f126b1599886ccc3a6db40c15a2c8874bc62b012"})))}_onClick(){if(!this.closeable&&this.open){return}if(!this.openable&&!this.open){return}this.open=!this.open;this.isOpen.emit(this.open)}};p.style=o;export{p as p_accordion};
|
|
2
|
+
//# sourceMappingURL=p-0762dca2.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,g as i,h as e}from"./p-Dpmiv2da.js";import{c as s}from"./p-CT54OXR2.js";import"./p-ChV9xqsO.js";const n="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.gap-1{gap:.25rem!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}";const o=class{constructor(i){t(this,i)}get _el(){return i(this)}_generatedOnce=false;_generateTimeout;_resizeObserver;componentDidLoad(){this._resizeObserver=new ResizeObserver((()=>this._generateLinesOnce()));this._resizeObserver.observe(this._el)}disconnectCallback(){if(this._resizeObserver){this._resizeObserver.disconnect()}}render(){return e("div",{key:"
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,g as i,h as e}from"./p-Dpmiv2da.js";import{c as s}from"./p-CT54OXR2.js";import"./p-ChV9xqsO.js";const n="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.gap-1{gap:.25rem!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}";const o=class{constructor(i){t(this,i)}get _el(){return i(this)}_generatedOnce=false;_generateTimeout;_resizeObserver;componentDidLoad(){this._resizeObserver=new ResizeObserver((()=>this._generateLinesOnce()));this._resizeObserver.observe(this._el)}disconnectCallback(){if(this._resizeObserver){this._resizeObserver.disconnect()}}render(){return e("div",{key:"fa1711147b6dad9acbbd5b5a5fb798299e22bf2a",class:s("flex w-full flex-col flex-wrap items-start gap-1",{"opacity-100":this._generatedOnce,"opacity-0":!this._generatedOnce})},e("slot",{key:"8e3b03479567559ba00e7839e7f9555d142f520c",onSlotchange:()=>this._generateLinesOnce()}))}_generateLinesOnce(){if(this._generateTimeout){clearTimeout(this._generateTimeout);this._generateTimeout=null}this._generateTimeout=setTimeout((()=>this._generateLines()),20)}_generateLines(){if(!this._el){return}const t=this._el.querySelectorAll("p-listing-item");for(let i=0;i<t?.length;i++){const e=t.item(i);if(i<t.length-1){let t=e.nextElementSibling;if(t&&t.tagName.toLowerCase()==="p-listing-item"){const i=document.createElement("p-listing-line");this._el.insertBefore(i,t);this._setLineData(i,e,t);const s=i.previousElementSibling;if(s&&s.tagName.toLowerCase()==="p-listing-line"){s.remove()}continue}if(t&&t.tagName.toLowerCase()==="p-listing-line"){const i=t;t=t.nextElementSibling;if(t&&t.tagName.toLowerCase()==="p-listing-item"){this._setLineData(i,e,t)}}}}const i=this._el.querySelectorAll("p-listing-line:not(:has(+ p-listing-item)), p-listing-line:first-child");for(let t=i.length-1;t>=0;t--){const e=i.item(t);e.remove()}if(!this._generatedOnce){setTimeout((()=>this._generatedOnce=true),50)}}_setLineData(t,i,e){let s=(i.clientHeight-16)/2;let n=(e.clientHeight-16)/2;if(s>0){let i=s+n;t.style.marginTop=`-${s/16}rem`;t.style.marginBottom=`-${n/16}rem`;t.style.minHeight=`calc(1.5rem + ${(i-16)/16}rem)`}}};o.style=n;export{o as p_listing};
|
|
2
|
+
//# sourceMappingURL=p-13549fce.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as r,h as a}from"./p-Dpmiv2da.js";import{c as e}from"./p-CBWjHURv.js";import{T as o}from"./p-C1iNEsnH.js";import"./p-ChV9xqsO.js";import"./p-BIwGgs9f.js";const i="*{box-sizing:border-box}.static{position:static!important}.m-0{margin:0!important}.flex{display:flex!important}.h-9{height:2.25rem!important}.w-\\[2px\\]{width:2px!important}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-storm-100{--tw-border-opacity:1!important;border-color:rgb(209 210 212/var(--tw-border-opacity,1))!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))!important}.bg-indigo-800{--tw-bg-opacity:1!important;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))!important}.bg-negative-red-500{--tw-bg-opacity:1!important;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-positive-green-500{--tw-bg-opacity:1!important;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-storm-200{--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.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)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.hover\\:text-storm-500:hover{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.hover\\:text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:border-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1!important;border-color:rgb(24 30 41/var(--tw-border-opacity,1))!important}.dark\\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))!important}.dark\\:bg-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))!important}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:border-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1!important;border-color:rgb(24 30 41/var(--tw-border-opacity,1))!important}.dark\\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))!important}.dark\\:bg-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))!important}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const d=e("w-[2px] rounded-full h-9 flex-shrink-0",{variants:{variant:{neutral:"bg-indigo-800 dark:bg-indigo-400",positive:"bg-positive-green-500 dark:bg-positive-green-alternative",biased:"bg-amber-500 dark:bg-amber-alternative",negative:"bg-negative-red-500 dark:bg-negative-red-alternative"}}});const n=e(["flex justify-between items-center gap-2","w-[calc(100%-2px-0.5rem)]"]);const p=class{constructor(a){t(this,a);this.action=r(this,"action",3)}variant="positive";header;content;enableAction=true;actionIcon="negative";actionIconFlip;actionIconRotate;action;render(){return a(o,{key:"d0cacbaaf93bfb9f98061e16892ad1c9331f98e0"},a("div",{key:"74cb104d0c07fbdbf47f8884737af64fc4e78faf",class:"flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2 dark:border-hurricane-800 dark:bg-hurricane-800",onClick:()=>this._onClick()},a("div",{key:"92dbc67246e8cea086e66598a966b424c1783380",class:d({variant:this.variant})}),a("div",{key:"c556f645622a403241fd30501b6e584659a1c28f",class:n()},a("div",{key:"9d71be40edbbececfe7b2bf07fcf12e4dd2d0775",class:"flex w-full min-w-0 flex-col"},a("p",{key:"7c397d10916c460a72cc5ffb62d2db6551af00d5",class:"m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-storm-500 dark:text-white"},this.header?.length?this.header:a("slot",{name:"header"})),a("p",{key:"7018743c217932aa4fb988511d482d8bf9b7b745",class:"m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-storm-300 dark:text-hurricane-200"},this.content?.length?this.content:a("slot",{name:"content"}))),this.enableAction&&a("div",{key:"a960ca7bb2e3530ce977536f0e6d7137bdd6ac70",class:"flex-shrink-0 cursor-pointer p-2 text-storm-200 hover:text-storm-500 hover:text-white dark:text-hurricane-200"},a("p-icon",{key:"daf1bf85797180442d76fe75c261e21ddc4d15da",variant:this.actionIcon,flip:this.actionIconFlip,rotate:this.actionIconRotate})))))}_onClick(){if(this.enableAction){this.action.emit()}}};p.style=i;export{p as p_toast};
|
|
2
|
+
//# sourceMappingURL=p-168e8d5c.entry.js.map
|