@mhmo91/schmancy 0.10.4 → 0.10.5
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/custom-elements.json +17 -220
- package/dist/agent/schmancy.agent.js +3770 -4600
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/agent/schmancy.manifest.json +6 -211
- package/dist/{area-ZupIezvU.cjs → area-CSQdhCBF.cjs} +1 -1
- package/dist/{area-ZupIezvU.cjs.map → area-CSQdhCBF.cjs.map} +1 -1
- package/dist/{area-DHVANBbr.js → area-D5haQE-J.js} +1 -1
- package/dist/{area-DHVANBbr.js.map → area-D5haQE-J.js.map} +1 -1
- package/dist/area.cjs +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-Bn525CTp.cjs → autocomplete-B_bJXUjm.cjs} +1 -1
- package/dist/{autocomplete-Bn525CTp.cjs.map → autocomplete-B_bJXUjm.cjs.map} +1 -1
- package/dist/{autocomplete-pHvsyfbH.js → autocomplete-DtyjZJ1E.js} +2 -2
- package/dist/{autocomplete-pHvsyfbH.js.map → autocomplete-DtyjZJ1E.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.js +2 -2
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-IyEtsNI4.cjs → boat-BJLCp-Hv.cjs} +1 -1
- package/dist/{boat-IyEtsNI4.cjs.map → boat-BJLCp-Hv.cjs.map} +1 -1
- package/dist/{boat-_Yv3M6YM.js → boat-MT8bRT8u.js} +2 -2
- package/dist/{boat-_Yv3M6YM.js.map → boat-MT8bRT8u.js.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/{busy-Ck2IXJ4r.js → busy-6BqWGryX.js} +1 -1
- package/dist/{busy-Ck2IXJ4r.js.map → busy-6BqWGryX.js.map} +1 -1
- package/dist/{busy-CjM39APN.cjs → busy-DSF2E-zy.cjs} +1 -1
- package/dist/{busy-CjM39APN.cjs.map → busy-DSF2E-zy.cjs.map} +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +3 -3
- package/dist/{card-DUWZmMHc.js → card-CvuVha-W.js} +1 -1
- package/dist/{card-DUWZmMHc.js.map → card-CvuVha-W.js.map} +1 -1
- package/dist/{card-DIxDuuth.cjs → card-DnKnaHzf.cjs} +1 -1
- package/dist/{card-DIxDuuth.cjs.map → card-DnKnaHzf.cjs.map} +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/charts.cjs +1 -1
- package/dist/charts.js +1 -1
- package/dist/{checkbox-CGdFXuWQ.cjs → checkbox-D3u8Wm9r.cjs} +1 -1
- package/dist/{checkbox-CGdFXuWQ.cjs.map → checkbox-D3u8Wm9r.cjs.map} +1 -1
- package/dist/{checkbox-DPS1mWG-.js → checkbox-QDRsE8cp.js} +1 -1
- package/dist/{checkbox-DPS1mWG-.js.map → checkbox-QDRsE8cp.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-UoFbwmlG.cjs → chips-CMoQzop1.cjs} +1 -1
- package/dist/{chips-UoFbwmlG.cjs.map → chips-CMoQzop1.cjs.map} +1 -1
- package/dist/{chips-BnnXQSA-.js → chips-Dy9vx8JS.js} +4 -4
- package/dist/{chips-BnnXQSA-.js.map → chips-Dy9vx8JS.js.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/{code-highlight-CMilN0B8.cjs → code-highlight-Ddp0oZnm.cjs} +1 -1
- package/dist/{code-highlight-CMilN0B8.cjs.map → code-highlight-Ddp0oZnm.cjs.map} +1 -1
- package/dist/{code-highlight-kFUJ1Eet.js → code-highlight-DtE2-ObF.js} +1 -1
- package/dist/{code-highlight-kFUJ1Eet.js.map → code-highlight-DtE2-ObF.js.map} +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/connectivity.cjs +1 -1
- package/dist/connectivity.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{context-daN5G6HS.cjs.map → context-BpCETidA.cjs.map} +1 -1
- package/dist/{context-Bdu1xt0W.js.map → context-DJTJnSK4.js.map} +1 -1
- package/dist/date-range-B2NuihKA.cjs +131 -0
- package/dist/date-range-B2NuihKA.cjs.map +1 -0
- package/dist/{date-range-DOstCIg8.js → date-range-Boesjlic.js} +99 -113
- package/dist/date-range-Boesjlic.js.map +1 -0
- package/dist/{date-range-inline-4P7zqeVe.cjs → date-range-inline-BI6_4Ahl.cjs} +1 -1
- package/dist/{date-range-inline-4P7zqeVe.cjs.map → date-range-inline-BI6_4Ahl.cjs.map} +1 -1
- package/dist/{date-range-inline-BVycTWLb.js → date-range-inline-DBuND2pc.js} +1 -1
- package/dist/{date-range-inline-BVycTWLb.js.map → date-range-inline-DBuND2pc.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +2 -2
- package/dist/{details-BJBbZOO6.cjs → details-BRs_z5-k.cjs} +1 -1
- package/dist/{details-BJBbZOO6.cjs.map → details-BRs_z5-k.cjs.map} +1 -1
- package/dist/{details-DPc5GxPa.js → details-BrGrUTGC.js} +2 -2
- package/dist/{details-DPc5GxPa.js.map → details-BrGrUTGC.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +2 -2
- package/dist/{divider-DPT3XnG5.cjs → divider-BOxQ2T9h.cjs} +1 -1
- package/dist/{divider-DPT3XnG5.cjs.map → divider-BOxQ2T9h.cjs.map} +1 -1
- package/dist/{divider-BvJsmSPH.js → divider-W3TiDasp.js} +1 -1
- package/dist/{divider-BvJsmSPH.js.map → divider-W3TiDasp.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{expand-CTqBWVXo.cjs → expand-CnccBF91.cjs} +1 -1
- package/dist/{expand-CTqBWVXo.cjs.map → expand-CnccBF91.cjs.map} +1 -1
- package/dist/{expand-BMzocdtj.js → expand-Pu8fZ0jZ.js} +2 -2
- package/dist/{expand-BMzocdtj.js.map → expand-Pu8fZ0jZ.js.map} +1 -1
- package/dist/expand.cjs +1 -1
- package/dist/expand.js +1 -1
- package/dist/{extra-h_cuxRII.cjs → extra-B8IPs6gG.cjs} +1 -1
- package/dist/{extra-h_cuxRII.cjs.map → extra-B8IPs6gG.cjs.map} +1 -1
- package/dist/{extra-BeHlUhzv.js → extra-DxEWs41z.js} +1 -1
- package/dist/{extra-BeHlUhzv.js.map → extra-DxEWs41z.js.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{float-CwVBs11k.cjs → float-BRKa-P6Z.cjs} +1 -1
- package/dist/{float-CwVBs11k.cjs.map → float-BRKa-P6Z.cjs.map} +1 -1
- package/dist/{float-CTc1xxqH.js → float-WCVdp3um.js} +1 -1
- package/dist/{float-CTc1xxqH.js.map → float-WCVdp3um.js.map} +1 -1
- package/dist/float.cjs +1 -1
- package/dist/float.js +1 -1
- package/dist/{form-CSJp687X.cjs.map → form-B2qudx_q.cjs.map} +1 -1
- package/dist/{form-BtwOBMZ9.js.map → form-CI59gad4.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/{hashContent-1ARKIsx9.js.map → hashContent-a8uVr3xs.js.map} +1 -1
- package/dist/{hashContent-Bp5S6T4U.cjs.map → hashContent-ejkBgDnN.cjs.map} +1 -1
- package/dist/{icons-BbCVrcas.js → icons-C0ufCcdp.js} +2 -2
- package/dist/{icons-BbCVrcas.js.map → icons-C0ufCcdp.js.map} +1 -1
- package/dist/{icons-qEQW4pjM.cjs → icons-DXEbmg-O.cjs} +1 -1
- package/dist/{icons-qEQW4pjM.cjs.map → icons-DXEbmg-O.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/{iframe-D6HTruav.cjs → iframe-C6RVODkW.cjs} +1 -1
- package/dist/{iframe-D6HTruav.cjs.map → iframe-C6RVODkW.cjs.map} +1 -1
- package/dist/{iframe-BJfDIEJf.js → iframe-c9lGxw7x.js} +1 -1
- package/dist/{iframe-BJfDIEJf.js.map → iframe-c9lGxw7x.js.map} +1 -1
- package/dist/iframe.cjs +1 -1
- package/dist/iframe.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +72 -76
- package/dist/{input-U26axtcs.cjs → input-B4HM-9-H.cjs} +1 -1
- package/dist/{input-U26axtcs.cjs.map → input-B4HM-9-H.cjs.map} +1 -1
- package/dist/{input-LTK3cctF.js → input-Pmj_bH37.js} +1 -1
- package/dist/{input-LTK3cctF.js.map → input-Pmj_bH37.js.map} +1 -1
- package/dist/{input-chip-Ch-aCs3c.js → input-chip-BIGgd_7w.js} +1 -1
- package/dist/{input-chip-Ch-aCs3c.js.map → input-chip-BIGgd_7w.js.map} +1 -1
- package/dist/{input-chip-CADXt0X5.cjs → input-chip-BoDisY6c.cjs} +1 -1
- package/dist/{input-chip-CADXt0X5.cjs.map → input-chip-BoDisY6c.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/json.cjs +1 -1
- package/dist/json.js +2 -2
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.js +1 -1
- package/dist/{layout-C4xmnU4n.js → layout-CXPNsUIo.js} +1 -1
- package/dist/{layout-C4xmnU4n.js.map → layout-CXPNsUIo.js.map} +1 -1
- package/dist/{layout-Dmh6fxh0.cjs → layout-Zhe7wSZ_.cjs} +1 -1
- package/dist/{layout-Dmh6fxh0.cjs.map → layout-Zhe7wSZ_.cjs.map} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{lightbox-DbYUSfVl.cjs → lightbox-DK1vDKm3.cjs} +1 -1
- package/dist/{lightbox-DbYUSfVl.cjs.map → lightbox-DK1vDKm3.cjs.map} +1 -1
- package/dist/{lightbox-DqG2z3Cn.js → lightbox-K1eJTYXP.js} +2 -2
- package/dist/{lightbox-DqG2z3Cn.js.map → lightbox-K1eJTYXP.js.map} +1 -1
- package/dist/lightbox.cjs +1 -1
- package/dist/lightbox.js +1 -1
- package/dist/{list-CLX4sSAw.cjs → list-CEuVqAxN.cjs} +1 -1
- package/dist/{list-CLX4sSAw.cjs.map → list-CEuVqAxN.cjs.map} +1 -1
- package/dist/{list-D6-_E5ZD.js → list-Ds0Nv1y5.js} +1 -1
- package/dist/{list-D6-_E5ZD.js.map → list-Ds0Nv1y5.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{magnetic-BH0TsofV.cjs.map → magnetic-BJgB1dVi.cjs.map} +1 -1
- package/dist/{magnetic-BZGFxAWG.js.map → magnetic-YwCNvtbB.js.map} +1 -1
- package/dist/{mailbox-Ct6iYe-4.cjs → mailbox-CDWqbVvZ.cjs} +58 -58
- package/dist/mailbox-CDWqbVvZ.cjs.map +1 -0
- package/dist/{mailbox-DsPII8HR.js → mailbox-DD2How0H.js} +112 -101
- package/dist/mailbox-DD2How0H.js.map +1 -0
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-Dhy3ta9v.js → map-1uwxxvBa.js} +1 -1
- package/dist/{map-Dhy3ta9v.js.map → map-1uwxxvBa.js.map} +1 -1
- package/dist/{map-WXeVkx2K.cjs → map-BrBSrIqg.cjs} +1 -1
- package/dist/{map-WXeVkx2K.cjs.map → map-BrBSrIqg.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/menu-Bly30Nje.cjs +23 -0
- package/dist/menu-Bly30Nje.cjs.map +1 -0
- package/dist/menu-L8MK1ma5.js +62 -0
- package/dist/menu-L8MK1ma5.js.map +1 -0
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins-B34UxxCe.js +627 -0
- package/dist/{mixins-CcIWET41.js.map → mixins-B34UxxCe.js.map} +1 -1
- package/dist/mixins-CAb0b03r.cjs +298 -0
- package/dist/{mixins-De3xfjrm.cjs.map → mixins-CAb0b03r.cjs.map} +1 -1
- package/dist/mixins.cjs +1 -1
- package/dist/mixins.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-D_PQjBSf.cjs → notification-7fSbk8hm.cjs} +1 -1
- package/dist/{notification-D_PQjBSf.cjs.map → notification-7fSbk8hm.cjs.map} +1 -1
- package/dist/{notification-CVLqQ8c_.js → notification-DB25M-qo.js} +2 -2
- package/dist/{notification-CVLqQ8c_.js.map → notification-DB25M-qo.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-rm4HebVs.js → option-DDHa25k5.js} +1 -1
- package/dist/{option-rm4HebVs.js.map → option-DDHa25k5.js.map} +1 -1
- package/dist/{option-DDU_goh1.cjs → option-HF9Xqbuq.cjs} +1 -1
- package/dist/{option-DDU_goh1.cjs.map → option-HF9Xqbuq.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{overlay-stack-CAQno0CK.js.map → overlay-stack-CCiTaf_C.js.map} +1 -1
- package/dist/{overlay-stack-BprhAE9a.cjs.map → overlay-stack-CFGiYf34.cjs.map} +1 -1
- package/dist/overlay.cjs +5 -53
- package/dist/overlay.cjs.map +1 -1
- package/dist/overlay.confirm-body-BDG94R0x.js +104 -0
- package/dist/overlay.confirm-body-BDG94R0x.js.map +1 -0
- package/dist/overlay.confirm-body-b4Nx_OVf.cjs +49 -0
- package/dist/overlay.confirm-body-b4Nx_OVf.cjs.map +1 -0
- package/dist/overlay.js +120 -360
- package/dist/overlay.js.map +1 -1
- package/dist/overlay.service-BUCuZa6V.js +146 -0
- package/dist/overlay.service-BUCuZa6V.js.map +1 -0
- package/dist/overlay.service-CRHZZY9F.cjs +1 -0
- package/dist/overlay.service-CRHZZY9F.cjs.map +1 -0
- package/dist/page.cjs +1 -1
- package/dist/page.js +4 -4
- package/dist/{payment-card-form-C0dHYZIv.js → payment-card-form-C4jb-OdM.js} +1 -1
- package/dist/{payment-card-form-C0dHYZIv.js.map → payment-card-form-C4jb-OdM.js.map} +1 -1
- package/dist/{payment-card-form-DNvmZxs4.cjs → payment-card-form-WEx4CscR.cjs} +1 -1
- package/dist/{payment-card-form-DNvmZxs4.cjs.map → payment-card-form-WEx4CscR.cjs.map} +1 -1
- package/dist/payment-card-form.cjs +1 -1
- package/dist/payment-card-form.js +1 -1
- package/dist/{progress-U3LQkpM2.cjs → progress-54R4QRgW.cjs} +1 -1
- package/dist/{progress-U3LQkpM2.cjs.map → progress-54R4QRgW.cjs.map} +1 -1
- package/dist/{progress-BRerM5Bn.js → progress-CqOyMM4i.js} +1 -1
- package/dist/{progress-BRerM5Bn.js.map → progress-CqOyMM4i.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/qr-scanner.cjs +1 -1
- package/dist/qr-scanner.js +1 -1
- package/dist/{radio-group-BZ2WoOXJ.js → radio-group-B4zbBIZF.js} +1 -1
- package/dist/{radio-group-BZ2WoOXJ.js.map → radio-group-B4zbBIZF.js.map} +1 -1
- package/dist/{radio-group-D7mm-yvJ.cjs → radio-group-BJqZpYVy.cjs} +1 -1
- package/dist/{radio-group-D7mm-yvJ.cjs.map → radio-group-BJqZpYVy.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/range.cjs +1 -1
- package/dist/range.js +1 -1
- package/dist/{rxjs-utils-d-ivVN84.js.map → rxjs-utils-BXpvHN4-.js.map} +1 -1
- package/dist/{rxjs-utils-Csnks202.cjs.map → rxjs-utils-CaC-tdot.cjs.map} +1 -1
- package/dist/rxjs-utils.cjs +1 -1
- package/dist/rxjs-utils.js +1 -1
- package/dist/{scroll-qL-HkMdP.js → scroll-CYm6Krus.js} +1 -1
- package/dist/{scroll-qL-HkMdP.js.map → scroll-CYm6Krus.js.map} +1 -1
- package/dist/{scroll-DJTjNIT_.cjs → scroll-iSRovYYt.cjs} +1 -1
- package/dist/{scroll-DJTjNIT_.cjs.map → scroll-iSRovYYt.cjs.map} +1 -1
- package/dist/{select-CnPXUeSf.js → select-1WHseXP6.js} +2 -2
- package/dist/{select-CnPXUeSf.js.map → select-1WHseXP6.js.map} +1 -1
- package/dist/{select-BvA7v-gL.cjs → select-DiQHtQJN.cjs} +1 -1
- package/dist/{select-BvA7v-gL.cjs.map → select-DiQHtQJN.cjs.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/skills/INDEX.md +2 -2
- package/dist/skills/SKILL.md +13 -9
- package/dist/skills/schmancy/INDEX.md +2 -2
- package/dist/skills/schmancy/SKILL.md +13 -9
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{splash-screen-C8JCqX5L.js → splash-screen-BwvtKMdN.js} +1 -1
- package/dist/{splash-screen-C8JCqX5L.js.map → splash-screen-BwvtKMdN.js.map} +1 -1
- package/dist/{splash-screen-BDt4PInk.cjs → splash-screen-CJL8DGDe.cjs} +1 -1
- package/dist/{splash-screen-BDt4PInk.cjs.map → splash-screen-CJL8DGDe.cjs.map} +1 -1
- package/dist/splash-screen.cjs +1 -1
- package/dist/splash-screen.js +1 -1
- package/dist/{src-CpRNClhg.cjs → src-Bwr2NR0A.cjs} +13 -13
- package/dist/src-Bwr2NR0A.cjs.map +1 -0
- package/dist/{src-CqdnWGgr.js → src-UaZeROcW.js} +164 -162
- package/dist/src-UaZeROcW.js.map +1 -0
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-Du2Y4vXd.cjs → surface-DE5iuI8e.cjs} +1 -1
- package/dist/{surface-Du2Y4vXd.cjs.map → surface-DE5iuI8e.cjs.map} +1 -1
- package/dist/{surface-C8jQy8Ym.js → surface-DPUkQ3OL.js} +1 -1
- package/dist/{surface-C8jQy8Ym.js.map → surface-DPUkQ3OL.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/switch.cjs +1 -1
- package/dist/switch.js +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-Cyahh9Q6.js → tabs-B2XEQPQl.js} +1 -1
- package/dist/{tabs-Cyahh9Q6.js.map → tabs-B2XEQPQl.js.map} +1 -1
- package/dist/{tabs-0RfeCa00.cjs → tabs-CsDQ72Qk.cjs} +1 -1
- package/dist/{tabs-0RfeCa00.cjs.map → tabs-CsDQ72Qk.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-CXCcTVnf.js → textarea-C_ps0lL-.js} +1 -1
- package/dist/{textarea-CXCcTVnf.js.map → textarea-C_ps0lL-.js.map} +1 -1
- package/dist/{textarea-jqRrLxmo.cjs → textarea-aeAP9cDG.cjs} +1 -1
- package/dist/{textarea-jqRrLxmo.cjs.map → textarea-aeAP9cDG.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/theme-DAYTVw13.cjs +181 -0
- package/dist/{theme-Hjz9sCN-.cjs.map → theme-DAYTVw13.cjs.map} +1 -1
- package/dist/{theme-2KZW2Rfs.js → theme-DAx1iRNr.js} +3 -4
- package/dist/{theme-2KZW2Rfs.js.map → theme-DAx1iRNr.js.map} +1 -1
- package/dist/{theme-button-9uF1eoHz.js → theme-button-BrHkzCtj.js} +1 -1
- package/dist/{theme-button-9uF1eoHz.js.map → theme-button-BrHkzCtj.js.map} +1 -1
- package/dist/{theme-button-C7QIbke1.cjs → theme-button-LsMKY_N_.cjs} +1 -1
- package/dist/{theme-button-C7QIbke1.cjs.map → theme-button-LsMKY_N_.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.interface-DnVNre4O.js.map → theme.interface-C_034TxG.js.map} +1 -1
- package/dist/{theme.interface-D9l33b-M.cjs.map → theme.interface-DESopuZS.cjs.map} +1 -1
- package/dist/theme.js +5 -6
- package/dist/theme.service-Cfk88qHK.cjs +1 -0
- package/dist/theme.service-Cfk88qHK.cjs.map +1 -0
- package/dist/{theme.service-CmbOGMA8.js → theme.service-DIUo1mBP.js} +13 -14
- package/dist/theme.service-DIUo1mBP.js.map +1 -0
- package/dist/timeline.cjs +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/dist/{utils-hp-DnFf5.js → utils-BzFQfaIr.js} +1 -1
- package/dist/{utils-hp-DnFf5.js.map → utils-BzFQfaIr.js.map} +1 -1
- package/dist/{utils-Cr-YO4Np.cjs → utils-oLBkMvor.cjs} +1 -1
- package/dist/{utils-Cr-YO4Np.cjs.map → utils-oLBkMvor.cjs.map} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +2 -2
- package/dist/visually-hidden.cjs +1 -1
- package/dist/visually-hidden.js +1 -1
- package/dist/{window-DtUOWiAj.cjs → window-BJrKS6Zr.cjs} +1 -1
- package/dist/{window-DtUOWiAj.cjs.map → window-BJrKS6Zr.cjs.map} +1 -1
- package/dist/{window-C7yY9yp5.js → window-CyDuTN80.js} +3 -3
- package/dist/{window-C7yY9yp5.js.map → window-CyDuTN80.js.map} +1 -1
- package/dist/window.cjs +1 -1
- package/dist/window.js +1 -1
- package/package.json +1 -1
- package/skills/schmancy/INDEX.md +2 -2
- package/skills/schmancy/SKILL.md +13 -9
- package/src/content-drawer/drawer.ts +24 -7
- package/src/content-drawer/events.ts +6 -0
- package/src/content-drawer/sheet.ts +13 -12
- package/src/date-range/date-range-dialog.ts +4 -4
- package/src/date-range/date-range.ts +35 -53
- package/src/index.ts +0 -2
- package/src/mailbox/email-editor.ts +17 -18
- package/src/mailbox/email-template-picker.ts +19 -13
- package/src/menu/menu-item.ts +7 -2
- package/src/menu/menu.ts +24 -20
- package/types/src/content-drawer/drawer.d.ts +2 -0
- package/types/src/content-drawer/events.d.ts +6 -0
- package/types/src/content-drawer/sheet.d.ts +6 -5
- package/types/src/date-range/date-range.d.ts +1 -5
- package/types/src/index.d.ts +0 -2
- package/types/src/mailbox/email-template-picker.d.ts +7 -7
- package/types/src/menu/menu-item.d.ts +1 -0
- package/types/src/menu/menu.d.ts +9 -7
- package/dist/date-range-BIyrzTRZ.cjs +0 -131
- package/dist/date-range-BIyrzTRZ.cjs.map +0 -1
- package/dist/date-range-DOstCIg8.js.map +0 -1
- package/dist/dialog-service-DI9PPy4H.js +0 -193
- package/dist/dialog-service-DI9PPy4H.js.map +0 -1
- package/dist/dialog-service-DJd5L0f5.cjs +0 -1
- package/dist/dialog-service-DJd5L0f5.cjs.map +0 -1
- package/dist/dialog.cjs +0 -89
- package/dist/dialog.cjs.map +0 -1
- package/dist/dialog.js +0 -419
- package/dist/dialog.js.map +0 -1
- package/dist/mailbox-Ct6iYe-4.cjs.map +0 -1
- package/dist/mailbox-DsPII8HR.js.map +0 -1
- package/dist/menu-Bhd3EapX.js +0 -56
- package/dist/menu-Bhd3EapX.js.map +0 -1
- package/dist/menu-Cg2aaDjs.cjs +0 -23
- package/dist/menu-Cg2aaDjs.cjs.map +0 -1
- package/dist/mixins-CcIWET41.js +0 -627
- package/dist/mixins-De3xfjrm.cjs +0 -298
- package/dist/sheet-BRL07BB4.js +0 -170
- package/dist/sheet-BRL07BB4.js.map +0 -1
- package/dist/sheet-BYQJAHQn.cjs +0 -35
- package/dist/sheet-BYQJAHQn.cjs.map +0 -1
- package/dist/sheet.cjs +0 -1
- package/dist/sheet.js +0 -3
- package/dist/sheet.service-B25bsrYG.cjs +0 -1
- package/dist/sheet.service-B25bsrYG.cjs.map +0 -1
- package/dist/sheet.service-SPQ8oLCi.js +0 -86
- package/dist/sheet.service-SPQ8oLCi.js.map +0 -1
- package/dist/skills/dialog.md +0 -69
- package/dist/skills/schmancy/dialog.md +0 -69
- package/dist/skills/schmancy/sheet.md +0 -76
- package/dist/skills/sheet.md +0 -76
- package/dist/src-CpRNClhg.cjs.map +0 -1
- package/dist/src-CqdnWGgr.js.map +0 -1
- package/dist/theme-Hjz9sCN-.cjs +0 -181
- package/dist/theme.events-Cv7N4Toe.js +0 -2
- package/dist/theme.events-Cv7N4Toe.js.map +0 -1
- package/dist/theme.events-DM4H5F2d.cjs +0 -1
- package/dist/theme.events-DM4H5F2d.cjs.map +0 -1
- package/dist/theme.service-BrUbGoeQ.cjs +0 -1
- package/dist/theme.service-BrUbGoeQ.cjs.map +0 -1
- package/dist/theme.service-CmbOGMA8.js.map +0 -1
- package/skills/schmancy/dialog.md +0 -69
- package/skills/schmancy/sheet.md +0 -76
- package/src/dialog/dialog-base.mixin.ts +0 -576
- package/src/dialog/dialog-events.ts +0 -17
- package/src/dialog/dialog-service.ts +0 -494
- package/src/dialog/dialog.component.ts +0 -414
- package/src/dialog/index.ts +0 -3
- package/src/sheet/hook.ts +0 -40
- package/src/sheet/index.ts +0 -2
- package/src/sheet/sheet.service.ts +0 -245
- package/src/sheet/sheet.ts +0 -238
- package/types/src/dialog/dialog-base.mixin.d.ts +0 -30
- package/types/src/dialog/dialog-events.d.ts +0 -13
- package/types/src/dialog/dialog-service.d.ts +0 -91
- package/types/src/dialog/dialog.component.d.ts +0 -150
- package/types/src/dialog/index.d.ts +0 -3
- package/types/src/sheet/hook.d.ts +0 -5
- package/types/src/sheet/index.d.ts +0 -2
- package/types/src/sheet/sheet.d.ts +0 -29
- package/types/src/sheet/sheet.service.d.ts +0 -65
- /package/dist/{context-daN5G6HS.cjs → context-BpCETidA.cjs} +0 -0
- /package/dist/{context-Bdu1xt0W.js → context-DJTJnSK4.js} +0 -0
- /package/dist/{form-CSJp687X.cjs → form-B2qudx_q.cjs} +0 -0
- /package/dist/{form-BtwOBMZ9.js → form-CI59gad4.js} +0 -0
- /package/dist/{hashContent-1ARKIsx9.js → hashContent-a8uVr3xs.js} +0 -0
- /package/dist/{hashContent-Bp5S6T4U.cjs → hashContent-ejkBgDnN.cjs} +0 -0
- /package/dist/{magnetic-BH0TsofV.cjs → magnetic-BJgB1dVi.cjs} +0 -0
- /package/dist/{magnetic-BZGFxAWG.js → magnetic-YwCNvtbB.js} +0 -0
- /package/dist/{overlay-stack-CAQno0CK.js → overlay-stack-CCiTaf_C.js} +0 -0
- /package/dist/{overlay-stack-BprhAE9a.cjs → overlay-stack-CFGiYf34.cjs} +0 -0
- /package/dist/{rxjs-utils-d-ivVN84.js → rxjs-utils-BXpvHN4-.js} +0 -0
- /package/dist/{rxjs-utils-Csnks202.cjs → rxjs-utils-CaC-tdot.cjs} +0 -0
- /package/dist/{theme.interface-DnVNre4O.js → theme.interface-C_034TxG.js} +0 -0
- /package/dist/{theme.interface-D9l33b-M.cjs → theme.interface-DESopuZS.cjs} +0 -0
|
@@ -1,91 +1,89 @@
|
|
|
1
|
-
import { s as e } from "./mixins-
|
|
1
|
+
import { s as e } from "./mixins-B34UxxCe.js";
|
|
2
2
|
import { t } from "./decorate-23nYs4Le.js";
|
|
3
|
-
import { S as n, b as r, x as i } from "./area-
|
|
3
|
+
import { S as n, b as r, x as i } from "./area-D5haQE-J.js";
|
|
4
4
|
import "./state-BusMG6sM.js";
|
|
5
5
|
import "./audio-DcXphulJ.js";
|
|
6
|
-
import "./autocomplete-
|
|
7
|
-
import { n as a } from "./theme.service-
|
|
6
|
+
import "./autocomplete-DtyjZJ1E.js";
|
|
7
|
+
import { n as a } from "./theme.service-DIUo1mBP.js";
|
|
8
8
|
import { color as o } from "./directives.js";
|
|
9
|
-
import "./boat-
|
|
10
|
-
import "./busy-
|
|
9
|
+
import "./boat-MT8bRT8u.js";
|
|
10
|
+
import "./busy-6BqWGryX.js";
|
|
11
11
|
import "./button.js";
|
|
12
|
-
import "./card-
|
|
12
|
+
import "./card-CvuVha-W.js";
|
|
13
13
|
import "./charts.js";
|
|
14
|
-
import "./checkbox-
|
|
15
|
-
import "./chips-
|
|
16
|
-
import "./code-highlight-
|
|
14
|
+
import "./checkbox-QDRsE8cp.js";
|
|
15
|
+
import "./chips-Dy9vx8JS.js";
|
|
16
|
+
import "./code-highlight-DtE2-ObF.js";
|
|
17
17
|
import "./connectivity.js";
|
|
18
|
-
import "./
|
|
19
|
-
import
|
|
20
|
-
import "./date-range-inline-
|
|
18
|
+
import { o as s } from "./overlay.service-BUCuZa6V.js";
|
|
19
|
+
import "./date-range-Boesjlic.js";
|
|
20
|
+
import "./date-range-inline-DBuND2pc.js";
|
|
21
21
|
import "./delay.js";
|
|
22
|
-
import "./details-
|
|
23
|
-
import "./dialog.js";
|
|
22
|
+
import "./details-BrGrUTGC.js";
|
|
24
23
|
import "./discovery.js";
|
|
25
|
-
import "./divider-
|
|
24
|
+
import "./divider-W3TiDasp.js";
|
|
26
25
|
import "./dropdown.js";
|
|
27
|
-
import "./expand-
|
|
28
|
-
import "./float-
|
|
26
|
+
import "./expand-Pu8fZ0jZ.js";
|
|
27
|
+
import "./float-WCVdp3um.js";
|
|
29
28
|
import "./window.js";
|
|
30
|
-
import "./extra-
|
|
31
|
-
import "./form-
|
|
32
|
-
import "./icons-
|
|
33
|
-
import "./iframe-
|
|
34
|
-
import "./input-
|
|
35
|
-
import "./notification-
|
|
29
|
+
import "./extra-DxEWs41z.js";
|
|
30
|
+
import "./form-CI59gad4.js";
|
|
31
|
+
import "./icons-C0ufCcdp.js";
|
|
32
|
+
import "./iframe-c9lGxw7x.js";
|
|
33
|
+
import "./input-Pmj_bH37.js";
|
|
34
|
+
import "./notification-DB25M-qo.js";
|
|
36
35
|
import "./json.js";
|
|
37
36
|
import "./layout.js";
|
|
38
|
-
import "./lightbox-
|
|
39
|
-
import "./list-
|
|
40
|
-
import "./mailbox-
|
|
41
|
-
import "./map-
|
|
42
|
-
import "./menu-
|
|
37
|
+
import "./lightbox-K1eJTYXP.js";
|
|
38
|
+
import "./list-Ds0Nv1y5.js";
|
|
39
|
+
import "./mailbox-DD2How0H.js";
|
|
40
|
+
import "./map-1uwxxvBa.js";
|
|
41
|
+
import "./menu-L8MK1ma5.js";
|
|
43
42
|
import "./navigation-rail.js";
|
|
44
|
-
import "./option-
|
|
43
|
+
import "./option-DDHa25k5.js";
|
|
45
44
|
import "./page.js";
|
|
46
|
-
import "./payment-card-form-
|
|
45
|
+
import "./payment-card-form-C4jb-OdM.js";
|
|
47
46
|
import "./progress.js";
|
|
48
47
|
import "./qr-scanner.js";
|
|
49
|
-
import "./radio-group-
|
|
48
|
+
import "./radio-group-B4zbBIZF.js";
|
|
50
49
|
import "./range.js";
|
|
51
|
-
import "./rxjs-utils-
|
|
52
|
-
import { t as c } from "./theme.interface-
|
|
53
|
-
import "./select-
|
|
54
|
-
import "./sheet-BRL07BB4.js";
|
|
50
|
+
import "./rxjs-utils-BXpvHN4-.js";
|
|
51
|
+
import { t as c } from "./theme.interface-C_034TxG.js";
|
|
52
|
+
import "./select-1WHseXP6.js";
|
|
55
53
|
import "./slider.js";
|
|
56
54
|
import "./steps.js";
|
|
57
55
|
import "./surface.js";
|
|
58
56
|
import "./table.js";
|
|
59
|
-
import "./tabs-
|
|
60
|
-
import "./textarea-
|
|
61
|
-
import "./theme-
|
|
62
|
-
import "./theme-button-
|
|
57
|
+
import "./tabs-B2XEQPQl.js";
|
|
58
|
+
import "./textarea-C_ps0lL-.js";
|
|
59
|
+
import "./theme-DAx1iRNr.js";
|
|
60
|
+
import "./theme-button-BrHkzCtj.js";
|
|
63
61
|
import "./timeline.js";
|
|
64
62
|
import "./tooltip.js";
|
|
65
63
|
import "./tree.js";
|
|
66
64
|
import { SchmancyEvents as l } from "./types.js";
|
|
67
65
|
import "./typewriter.js";
|
|
68
66
|
import "./typography.js";
|
|
69
|
-
import "./utils-
|
|
67
|
+
import "./utils-BzFQfaIr.js";
|
|
70
68
|
import "./avatar.js";
|
|
71
69
|
import "./breadcrumb.js";
|
|
72
70
|
import "./kbd.js";
|
|
73
71
|
import "./skeleton.js";
|
|
74
|
-
import "./splash-screen-
|
|
72
|
+
import "./splash-screen-BwvtKMdN.js";
|
|
75
73
|
import "./switch.js";
|
|
76
74
|
import "./visually-hidden.js";
|
|
77
|
-
import { BehaviorSubject as u, Observable as ee, Subject as d, bufferTime as te, concatMap as ne, debounceTime as f, delay as re, distinctUntilChanged as ie, filter as ae,
|
|
78
|
-
import { distinctUntilChanged as
|
|
75
|
+
import { BehaviorSubject as u, Observable as ee, Subject as d, bufferTime as te, concatMap as ne, debounceTime as f, delay as re, distinctUntilChanged as ie, filter as ae, fromEvent as p, interval as oe, map as m, merge as h, of as g, startWith as se, take as ce, takeUntil as _, tap as v, throwIfEmpty as le, timeout as ue, timer as de, zip as fe } from "rxjs";
|
|
76
|
+
import { distinctUntilChanged as pe, filter as y, map as me, pairwise as he, take as ge, takeUntil as b, tap as x, throttleTime as _e } from "rxjs/operators";
|
|
79
77
|
import { consume as S, createContext as C, provide as w } from "@lit/context";
|
|
80
|
-
import { customElement as T, property as E, query as
|
|
81
|
-
import { css as
|
|
82
|
-
import { when as
|
|
83
|
-
var
|
|
78
|
+
import { customElement as T, property as E, query as D, queryAssignedElements as ve, state as O } from "lit/decorators.js";
|
|
79
|
+
import { css as k, html as A, nothing as ye } from "lit";
|
|
80
|
+
import { when as be } from "lit/directives/when.js";
|
|
81
|
+
var j = class extends e {
|
|
84
82
|
constructor(...e) {
|
|
85
83
|
super(...e), this.color = "primary", this.size = "md", this.shape = "pill", this.outlined = !1, this.icon = "", this.pulse = !1;
|
|
86
84
|
}
|
|
87
85
|
static {
|
|
88
|
-
this.styles = [
|
|
86
|
+
this.styles = [k`
|
|
89
87
|
:host {
|
|
90
88
|
display: inline-flex;
|
|
91
89
|
width: fit-content;
|
|
@@ -196,7 +194,7 @@ var A = class extends e {
|
|
|
196
194
|
boxShadow: this.size !== "lg" || this.outlined ? void 0 : "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)",
|
|
197
195
|
...i
|
|
198
196
|
};
|
|
199
|
-
return
|
|
197
|
+
return A`
|
|
200
198
|
<div
|
|
201
199
|
part="badge"
|
|
202
200
|
class="${this.classMap(a)}"
|
|
@@ -208,7 +206,7 @@ var A = class extends e {
|
|
|
208
206
|
>
|
|
209
207
|
<!-- Icon slot or named icon -->
|
|
210
208
|
<slot name="icon">
|
|
211
|
-
${this.icon ?
|
|
209
|
+
${this.icon ? A`
|
|
212
210
|
<div part="icon" class="shrink-0 flex items-center justify-center leading-none">
|
|
213
211
|
<schmancy-icon .size=${r} class="flex items-center justify-center">${this.icon}</schmancy-icon>
|
|
214
212
|
</div>
|
|
@@ -226,22 +224,22 @@ var A = class extends e {
|
|
|
226
224
|
t([E({
|
|
227
225
|
type: String,
|
|
228
226
|
reflect: !0
|
|
229
|
-
})],
|
|
227
|
+
})], j.prototype, "color", void 0), t([E({
|
|
230
228
|
type: String,
|
|
231
229
|
reflect: !0
|
|
232
|
-
})],
|
|
230
|
+
})], j.prototype, "size", void 0), t([E({
|
|
233
231
|
type: String,
|
|
234
232
|
reflect: !0
|
|
235
|
-
})],
|
|
233
|
+
})], j.prototype, "shape", void 0), t([E({
|
|
236
234
|
type: Boolean,
|
|
237
235
|
reflect: !0
|
|
238
|
-
})],
|
|
236
|
+
})], j.prototype, "outlined", void 0), t([E({ type: String })], j.prototype, "icon", void 0), t([E({
|
|
239
237
|
type: Boolean,
|
|
240
238
|
reflect: !0
|
|
241
|
-
})],
|
|
242
|
-
var
|
|
243
|
-
|
|
244
|
-
var
|
|
239
|
+
})], j.prototype, "pulse", void 0), j = t([T("schmancy-badge")], j);
|
|
240
|
+
var M = class extends j {};
|
|
241
|
+
M = t([T("sch-badge")], M);
|
|
242
|
+
var xe = new class {
|
|
245
243
|
constructor() {
|
|
246
244
|
this.$drawer = new d(), this.pushCounter = 0, this.isDismissing$ = new u(!1), this.$drawer.pipe(ne((e) => {
|
|
247
245
|
switch (e.action) {
|
|
@@ -304,15 +302,15 @@ var Ce = new class {
|
|
|
304
302
|
...e
|
|
305
303
|
});
|
|
306
304
|
}
|
|
307
|
-
}(),
|
|
305
|
+
}(), N = C("push"), P = C("close"), F = C(Math.floor(Math.random() * Date.now()).toString()), I = C("100%"), L = C({}), Se = "schmancy-content-drawer-overlay-dismiss", R = class extends e {
|
|
308
306
|
constructor(...e) {
|
|
309
307
|
super(...e), this.minWidth = {
|
|
310
308
|
main: 360,
|
|
311
309
|
sheet: 576
|
|
312
|
-
}, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
310
|
+
}, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%", this._overlaySubscription = null;
|
|
313
311
|
}
|
|
314
312
|
static {
|
|
315
|
-
this.styles = [
|
|
313
|
+
this.styles = [k`
|
|
316
314
|
:host {
|
|
317
315
|
position: relative;
|
|
318
316
|
inset: 0;
|
|
@@ -325,7 +323,7 @@ var Ce = new class {
|
|
|
325
323
|
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
326
324
|
}
|
|
327
325
|
setupResizeListener() {
|
|
328
|
-
h(p(window, "resize"), p(window, l.ContentDrawerResize)).pipe(
|
|
326
|
+
h(p(window, "resize"), p(window, l.ContentDrawerResize)).pipe(se(!0), f(100), m(() => this.clientWidth || window.innerWidth), m((e) => e >= this.minWidth.main + this.minWidth.sheet), ie(), v(() => this.updateMaxHeight()), _(this.disconnecting)).subscribe((e) => this.updateMode(e));
|
|
329
327
|
}
|
|
330
328
|
setupToggleListener() {
|
|
331
329
|
p(window, l.ContentDrawerToggle).pipe(v((e) => e.stopPropagation()), m((e) => e.detail.state), _(this.disconnecting)).subscribe((e) => {
|
|
@@ -333,7 +331,7 @@ var Ce = new class {
|
|
|
333
331
|
});
|
|
334
332
|
}
|
|
335
333
|
setupRenderListener() {
|
|
336
|
-
p(window, "schmancy-content-drawer-render").pipe(v((e) => e.stopPropagation()), m((e) => e.detail), _(this.disconnecting)).subscribe((e) => this.handleRender(e));
|
|
334
|
+
p(window, "schmancy-content-drawer-render").pipe(v((e) => e.stopPropagation()), m((e) => e.detail), _(this.disconnecting)).subscribe((e) => this.handleRender(e)), p(this, Se).pipe(_(this.disconnecting)).subscribe(() => this.dismissOverlay());
|
|
337
335
|
}
|
|
338
336
|
updateMaxHeight() {
|
|
339
337
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
@@ -349,11 +347,12 @@ var Ce = new class {
|
|
|
349
347
|
state: e.state,
|
|
350
348
|
params: e.params,
|
|
351
349
|
props: e.props
|
|
352
|
-
}) : this.mode === "overlay" && s.
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
350
|
+
}) : this.mode === "overlay" && (this._overlaySubscription?.unsubscribe(), this._overlaySubscription = s(e.component, { props: e.props }).pipe(_(this.disconnecting)).subscribe({ complete: () => {
|
|
351
|
+
this._overlaySubscription = null;
|
|
352
|
+
} }));
|
|
353
|
+
}
|
|
354
|
+
dismissOverlay() {
|
|
355
|
+
this._overlaySubscription?.unsubscribe(), this._overlaySubscription = null;
|
|
357
356
|
}
|
|
358
357
|
getOffsetTop(e) {
|
|
359
358
|
let t = 0;
|
|
@@ -361,7 +360,7 @@ var Ce = new class {
|
|
|
361
360
|
return t;
|
|
362
361
|
}
|
|
363
362
|
render() {
|
|
364
|
-
return this.mode && this.open ?
|
|
363
|
+
return this.mode && this.open ? A`
|
|
365
364
|
<div class=${[
|
|
366
365
|
"grid h-full",
|
|
367
366
|
"grid-flow-col auto-cols-max",
|
|
@@ -371,13 +370,13 @@ var Ce = new class {
|
|
|
371
370
|
].join(" ")}>
|
|
372
371
|
<slot></slot>
|
|
373
372
|
</div>
|
|
374
|
-
` :
|
|
373
|
+
` : ye;
|
|
375
374
|
}
|
|
376
375
|
};
|
|
377
|
-
t([w({ context:
|
|
378
|
-
var
|
|
376
|
+
t([w({ context: L })], R.prototype, "minWidth", void 0), t([w({ context: P }), E()], R.prototype, "open", void 0), t([w({ context: N }), O()], R.prototype, "mode", void 0), t([w({ context: F })], R.prototype, "schmancyContentDrawerID", void 0), t([w({ context: I })], R.prototype, "maxHeight", void 0), t([ve({ flatten: !0 })], R.prototype, "assignedElements", void 0), R = t([T("schmancy-content-drawer")], R);
|
|
377
|
+
var z = class extends e {
|
|
379
378
|
static {
|
|
380
|
-
this.styles = [
|
|
379
|
+
this.styles = [k`
|
|
381
380
|
:host {
|
|
382
381
|
display: block;
|
|
383
382
|
overflow: hidden;
|
|
@@ -398,7 +397,7 @@ var R = class extends e {
|
|
|
398
397
|
minWidth: `${this.minWidth}px`,
|
|
399
398
|
maxHeight: this.maxHeight
|
|
400
399
|
};
|
|
401
|
-
return
|
|
400
|
+
return A`
|
|
402
401
|
<section class="relative inset-0 h-full">
|
|
403
402
|
<div class=${[
|
|
404
403
|
"grid h-full relative overflow-scroll",
|
|
@@ -411,24 +410,24 @@ var R = class extends e {
|
|
|
411
410
|
<slot></slot>
|
|
412
411
|
</section>
|
|
413
412
|
</div>
|
|
414
|
-
${
|
|
413
|
+
${be(this.mode === "push", () => A` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
415
414
|
</section>
|
|
416
415
|
`;
|
|
417
416
|
}
|
|
418
417
|
};
|
|
419
|
-
t([E({ type: Number })],
|
|
420
|
-
context:
|
|
418
|
+
t([E({ type: Number })], z.prototype, "minWidth", void 0), t([S({
|
|
419
|
+
context: L,
|
|
421
420
|
subscribe: !0
|
|
422
|
-
})],
|
|
423
|
-
context:
|
|
421
|
+
})], z.prototype, "drawerMinWidth", void 0), t([S({
|
|
422
|
+
context: N,
|
|
424
423
|
subscribe: !0
|
|
425
|
-
}),
|
|
426
|
-
context:
|
|
424
|
+
}), O()], z.prototype, "mode", void 0), t([S({
|
|
425
|
+
context: I,
|
|
427
426
|
subscribe: !0
|
|
428
|
-
}),
|
|
429
|
-
var
|
|
427
|
+
}), O()], z.prototype, "maxHeight", void 0), z = t([T("schmancy-content-drawer-main")], z);
|
|
428
|
+
var B = class extends e {
|
|
430
429
|
static {
|
|
431
|
-
this.styles = [
|
|
430
|
+
this.styles = [k`
|
|
432
431
|
:host {
|
|
433
432
|
overflow: scroll;
|
|
434
433
|
}
|
|
@@ -441,7 +440,7 @@ var z = class extends e {
|
|
|
441
440
|
super.updated(e), e.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(l.ContentDrawerResize, {
|
|
442
441
|
bubbles: !0,
|
|
443
442
|
composed: !0
|
|
444
|
-
}))) : (e.has("state") || e.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (
|
|
443
|
+
}))) : (e.has("state") || e.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (this.requestOverlayDismiss(), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
|
|
445
444
|
}
|
|
446
445
|
open() {
|
|
447
446
|
this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{
|
|
@@ -455,11 +454,14 @@ var z = class extends e {
|
|
|
455
454
|
easing: "cubic-bezier(0.5, 0.01, 0.25, 1)"
|
|
456
455
|
});
|
|
457
456
|
}
|
|
458
|
-
|
|
459
|
-
|
|
457
|
+
requestOverlayDismiss() {
|
|
458
|
+
this.dispatchEvent(new CustomEvent(Se, {
|
|
459
|
+
bubbles: !0,
|
|
460
|
+
composed: !0
|
|
461
|
+
}));
|
|
460
462
|
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
+
closeAll() {
|
|
464
|
+
this.requestOverlayDismiss(), this.closeSheet().pipe(_(this.disconnecting)).subscribe();
|
|
463
465
|
}
|
|
464
466
|
closeSheet() {
|
|
465
467
|
return new ee((e) => {
|
|
@@ -486,7 +488,7 @@ var z = class extends e {
|
|
|
486
488
|
minWidth: `${this.minWidth}px`,
|
|
487
489
|
maxHeight: this.maxHeight
|
|
488
490
|
};
|
|
489
|
-
return
|
|
491
|
+
return A`
|
|
490
492
|
<section id="sheet" class="${this.classMap(e)}" style=${this.styleMap(t)}>
|
|
491
493
|
<schmancy-area class="h-full w-full" name="${this.schmancyContentDrawerID}">
|
|
492
494
|
<slot name="placeholder"></slot>
|
|
@@ -495,23 +497,23 @@ var z = class extends e {
|
|
|
495
497
|
`;
|
|
496
498
|
}
|
|
497
499
|
};
|
|
498
|
-
t([E({ type: Number })],
|
|
499
|
-
context: M,
|
|
500
|
-
subscribe: !0
|
|
501
|
-
}), D()], z.prototype, "mode", void 0), t([S({
|
|
500
|
+
t([E({ type: Number })], B.prototype, "minWidth", void 0), t([S({
|
|
502
501
|
context: N,
|
|
503
502
|
subscribe: !0
|
|
504
|
-
}),
|
|
503
|
+
}), O()], B.prototype, "mode", void 0), t([S({
|
|
504
|
+
context: P,
|
|
505
|
+
subscribe: !0
|
|
506
|
+
}), O()], B.prototype, "state", void 0), t([S({ context: F })], B.prototype, "schmancyContentDrawerID", void 0), t([D("#sheet")], B.prototype, "sheet", void 0), t([ve({
|
|
505
507
|
flatten: !0,
|
|
506
508
|
slot: void 0
|
|
507
|
-
})],
|
|
508
|
-
context:
|
|
509
|
+
})], B.prototype, "defaultSlot", void 0), t([S({
|
|
510
|
+
context: L,
|
|
509
511
|
subscribe: !0
|
|
510
|
-
})],
|
|
511
|
-
context:
|
|
512
|
+
})], B.prototype, "drawerMinWidth", void 0), t([S({
|
|
513
|
+
context: I,
|
|
512
514
|
subscribe: !0
|
|
513
|
-
}),
|
|
514
|
-
var
|
|
515
|
+
}), O()], B.prototype, "maxHeight", void 0), B = t([T("schmancy-content-drawer-sheet")], B);
|
|
516
|
+
var Ce = new class {
|
|
515
517
|
constructor() {
|
|
516
518
|
this.$drawer = new d(), this.$drawer.pipe(f(10)).subscribe((e) => {
|
|
517
519
|
e.state ? window.dispatchEvent(new CustomEvent(l.NavDrawer_toggle, {
|
|
@@ -537,9 +539,9 @@ var we = new class {
|
|
|
537
539
|
state: !1
|
|
538
540
|
});
|
|
539
541
|
}
|
|
540
|
-
}(),
|
|
542
|
+
}(), we = Ce, V = class extends e {
|
|
541
543
|
static {
|
|
542
|
-
this.styles = [
|
|
544
|
+
this.styles = [k`
|
|
543
545
|
:host {
|
|
544
546
|
display: block;
|
|
545
547
|
width: 100%;
|
|
@@ -548,13 +550,13 @@ var we = new class {
|
|
|
548
550
|
`];
|
|
549
551
|
}
|
|
550
552
|
render() {
|
|
551
|
-
return
|
|
553
|
+
return A`<slot></slot>`;
|
|
552
554
|
}
|
|
553
555
|
};
|
|
554
|
-
|
|
555
|
-
var
|
|
556
|
+
V = t([T("schmancy-nav-drawer-appbar")], V);
|
|
557
|
+
var H = class extends e {
|
|
556
558
|
static {
|
|
557
|
-
this.styles = [
|
|
559
|
+
this.styles = [k`
|
|
558
560
|
:host {
|
|
559
561
|
display: block;
|
|
560
562
|
position: relative;
|
|
@@ -573,19 +575,19 @@ var V = class extends e {
|
|
|
573
575
|
});
|
|
574
576
|
}
|
|
575
577
|
render() {
|
|
576
|
-
return
|
|
578
|
+
return A` <slot></slot> `;
|
|
577
579
|
}
|
|
578
580
|
};
|
|
579
|
-
|
|
580
|
-
var
|
|
581
|
+
H = t([T("schmancy-nav-drawer-content")], H);
|
|
582
|
+
var U, W = C("push"), G = C("close"), K = class extends e {
|
|
581
583
|
static {
|
|
582
|
-
|
|
584
|
+
U = this;
|
|
583
585
|
}
|
|
584
586
|
constructor(...e) {
|
|
585
587
|
super(...e), this.fullscreen = !1, this.breakpoint = "md";
|
|
586
588
|
}
|
|
587
589
|
static {
|
|
588
|
-
this.styles = [
|
|
590
|
+
this.styles = [k`
|
|
589
591
|
:host {
|
|
590
592
|
display: grid;
|
|
591
593
|
grid-template-columns: auto 1fr;
|
|
@@ -615,7 +617,7 @@ var H, U = C("push"), W = C("close"), G = class extends e {
|
|
|
615
617
|
};
|
|
616
618
|
}
|
|
617
619
|
firstUpdated() {
|
|
618
|
-
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), p(window, "resize").pipe(m((e) => e.target.innerWidth), m((e) => e >=
|
|
620
|
+
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), p(window, "resize").pipe(m((e) => e.target.innerWidth), m((e) => e >= U.BREAKPOINTS[this.breakpoint]), ie(), f(100), _(this.disconnecting)).subscribe((e) => {
|
|
619
621
|
e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
620
622
|
}), p(window, "fullscreen").pipe(v((e) => {
|
|
621
623
|
let t = e;
|
|
@@ -627,21 +629,21 @@ var H, U = C("push"), W = C("close"), G = class extends e {
|
|
|
627
629
|
});
|
|
628
630
|
}
|
|
629
631
|
updateState(e) {
|
|
630
|
-
let t = e >=
|
|
632
|
+
let t = e >= U.BREAKPOINTS[this.breakpoint];
|
|
631
633
|
this.mode = t ? "push" : "overlay", this.open = t ? "open" : "close";
|
|
632
634
|
}
|
|
633
635
|
render() {
|
|
634
|
-
return
|
|
636
|
+
return A`<slot></slot>`;
|
|
635
637
|
}
|
|
636
638
|
};
|
|
637
639
|
t([E({
|
|
638
640
|
type: Boolean,
|
|
639
641
|
reflect: !0
|
|
640
|
-
})],
|
|
642
|
+
})], K.prototype, "fullscreen", void 0), t([E({
|
|
641
643
|
type: String,
|
|
642
644
|
attribute: "breakpoint"
|
|
643
|
-
})],
|
|
644
|
-
var
|
|
645
|
+
})], K.prototype, "breakpoint", void 0), t([w({ context: W }), O()], K.prototype, "mode", void 0), t([w({ context: G }), E()], K.prototype, "open", void 0), K = U = t([T("schmancy-nav-drawer")], K);
|
|
646
|
+
var q = "cubic-bezier(0.5, 0.01, 0.25, 1)", J = class extends e {
|
|
645
647
|
constructor(...e) {
|
|
646
648
|
super(...e), this.width = "220px", this._initialized = !1;
|
|
647
649
|
}
|
|
@@ -654,14 +656,14 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
654
656
|
openOverlay() {
|
|
655
657
|
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: .4 }], {
|
|
656
658
|
duration: 200,
|
|
657
|
-
easing:
|
|
659
|
+
easing: q,
|
|
658
660
|
fill: "forwards"
|
|
659
661
|
});
|
|
660
662
|
}
|
|
661
663
|
closeOverlay() {
|
|
662
664
|
this.overlay.animate([{ opacity: .4 }, { opacity: 0 }], {
|
|
663
665
|
duration: 150,
|
|
664
|
-
easing:
|
|
666
|
+
easing: q,
|
|
665
667
|
fill: "forwards"
|
|
666
668
|
}).onfinish = () => {
|
|
667
669
|
this.overlay.style.display = "none";
|
|
@@ -670,7 +672,7 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
670
672
|
showNavDrawer() {
|
|
671
673
|
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], {
|
|
672
674
|
duration: 200,
|
|
673
|
-
easing:
|
|
675
|
+
easing: q,
|
|
674
676
|
fill: "forwards"
|
|
675
677
|
}).onfinish = () => {
|
|
676
678
|
this.nav.style.transform = "translateX(0)";
|
|
@@ -679,7 +681,7 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
679
681
|
hideNavDrawer() {
|
|
680
682
|
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], {
|
|
681
683
|
duration: 200,
|
|
682
|
-
easing:
|
|
684
|
+
easing: q,
|
|
683
685
|
fill: "forwards"
|
|
684
686
|
}).onfinish = () => {
|
|
685
687
|
this.nav.style.transform = "translateX(-100%)";
|
|
@@ -698,7 +700,7 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
698
700
|
block: this.mode === "push",
|
|
699
701
|
"fixed inset-0 z-50": this.mode === "overlay"
|
|
700
702
|
}, t = { width: this.width };
|
|
701
|
-
return
|
|
703
|
+
return A`
|
|
702
704
|
<nav
|
|
703
705
|
style=${this.styleMap(t)}
|
|
704
706
|
class="${this.classMap({ ...e })}"
|
|
@@ -716,13 +718,13 @@ var K = "cubic-bezier(0.5, 0.01, 0.25, 1)", q = class extends e {
|
|
|
716
718
|
}
|
|
717
719
|
};
|
|
718
720
|
t([S({
|
|
719
|
-
context: U,
|
|
720
|
-
subscribe: !0
|
|
721
|
-
}), D()], q.prototype, "mode", void 0), t([S({
|
|
722
721
|
context: W,
|
|
723
722
|
subscribe: !0
|
|
724
|
-
}),
|
|
725
|
-
|
|
723
|
+
}), O()], J.prototype, "mode", void 0), t([S({
|
|
724
|
+
context: G,
|
|
725
|
+
subscribe: !0
|
|
726
|
+
}), O()], J.prototype, "drawerState", void 0), t([D("#overlay")], J.prototype, "overlay", void 0), t([D("nav")], J.prototype, "nav", void 0), t([E({ type: String })], J.prototype, "width", void 0), t([O()], J.prototype, "_initialized", void 0), J = t([T("schmancy-nav-drawer-navbar")], J);
|
|
727
|
+
var Y = class extends e {
|
|
726
728
|
constructor(...e) {
|
|
727
729
|
super(...e), this.icon = "", this.label = "", this.badge = "", this.active$ = new u(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (e) => {
|
|
728
730
|
if (this.disabled) return;
|
|
@@ -733,7 +735,7 @@ var J = class extends e {
|
|
|
733
735
|
y: e.clientY - n.top,
|
|
734
736
|
id: Date.now()
|
|
735
737
|
};
|
|
736
|
-
this.ripples = [...this.ripples, r],
|
|
738
|
+
this.ripples = [...this.ripples, r], de(600).pipe(x(() => {
|
|
737
739
|
this.ripples = this.ripples.filter((e) => e.id !== r.id);
|
|
738
740
|
}), b(this.disconnecting)).subscribe();
|
|
739
741
|
}
|
|
@@ -745,7 +747,7 @@ var J = class extends e {
|
|
|
745
747
|
};
|
|
746
748
|
}
|
|
747
749
|
static {
|
|
748
|
-
this.styles = [
|
|
750
|
+
this.styles = [k`
|
|
749
751
|
:host {
|
|
750
752
|
display: flex;
|
|
751
753
|
flex: 1;
|
|
@@ -863,7 +865,7 @@ var J = class extends e {
|
|
|
863
865
|
"transition-all duration-200": !0,
|
|
864
866
|
"z-10": !0
|
|
865
867
|
}, l = this.active ? { color: c.sys.color.secondary.onContainer } : { color: c.sys.color.surface.onVariant }, u = { "--focus-color": c.sys.color.primary.default };
|
|
866
|
-
return
|
|
868
|
+
return A`
|
|
867
869
|
<button
|
|
868
870
|
type="button"
|
|
869
871
|
class=${this.classMap(i)}
|
|
@@ -881,7 +883,7 @@ var J = class extends e {
|
|
|
881
883
|
<!-- Icon with indicator background -->
|
|
882
884
|
<div class=${this.classMap(a)}>
|
|
883
885
|
<!-- Ripple effects -->
|
|
884
|
-
${this.ripples.map((e) =>
|
|
886
|
+
${this.ripples.map((e) => A`
|
|
885
887
|
<span
|
|
886
888
|
class="ripple-effect"
|
|
887
889
|
style=${this.styleMap({
|
|
@@ -892,7 +894,7 @@ var J = class extends e {
|
|
|
892
894
|
></span>
|
|
893
895
|
`)}
|
|
894
896
|
|
|
895
|
-
${r ?
|
|
897
|
+
${r ? A`<slot name="icon"></slot>` : this.icon ? A`
|
|
896
898
|
<schmancy-icon
|
|
897
899
|
.fill=${+!!this.active}
|
|
898
900
|
class="relative z-10 flex items-center justify-center transition-all duration-200"
|
|
@@ -901,11 +903,11 @@ var J = class extends e {
|
|
|
901
903
|
>
|
|
902
904
|
${this.icon}
|
|
903
905
|
</schmancy-icon>
|
|
904
|
-
` : e ?
|
|
906
|
+
` : e ? A`<slot></slot>` : ""}
|
|
905
907
|
</div>
|
|
906
908
|
|
|
907
909
|
<!-- Label below icon -->
|
|
908
|
-
${!this.hideLabels && this.label ?
|
|
910
|
+
${!this.hideLabels && this.label ? A`
|
|
909
911
|
<span class=${this.classMap({
|
|
910
912
|
"text-xs font-medium leading-4 mt-1": !0,
|
|
911
913
|
"text-center max-w-full": !0,
|
|
@@ -915,7 +917,7 @@ var J = class extends e {
|
|
|
915
917
|
` : ""}
|
|
916
918
|
|
|
917
919
|
<!-- Badge -->
|
|
918
|
-
${n ?
|
|
920
|
+
${n ? A`
|
|
919
921
|
<span
|
|
920
922
|
class=${this.classMap(s)}
|
|
921
923
|
aria-label="${t} notifications"
|
|
@@ -926,7 +928,7 @@ var J = class extends e {
|
|
|
926
928
|
>
|
|
927
929
|
<span class="text-[10px] font-medium leading-none">${t}</span>
|
|
928
930
|
</span>
|
|
929
|
-
` : this.badge ?
|
|
931
|
+
` : this.badge ? A`
|
|
930
932
|
<span
|
|
931
933
|
class=${this.classMap(s)}
|
|
932
934
|
aria-label="Has notifications"
|
|
@@ -937,17 +939,17 @@ var J = class extends e {
|
|
|
937
939
|
`;
|
|
938
940
|
}
|
|
939
941
|
};
|
|
940
|
-
t([E({ type: String })],
|
|
942
|
+
t([E({ type: String })], Y.prototype, "icon", void 0), t([E({ type: String })], Y.prototype, "label", void 0), t([E({ type: String })], Y.prototype, "badge", void 0), t([E({
|
|
941
943
|
type: Boolean,
|
|
942
944
|
reflect: !0
|
|
943
|
-
})],
|
|
945
|
+
})], Y.prototype, "active", null), t([E({
|
|
944
946
|
type: Boolean,
|
|
945
947
|
reflect: !0
|
|
946
|
-
})],
|
|
948
|
+
})], Y.prototype, "disabled", void 0), t([E({
|
|
947
949
|
type: Boolean,
|
|
948
950
|
reflect: !0
|
|
949
|
-
})],
|
|
950
|
-
var
|
|
951
|
+
})], Y.prototype, "hideLabels", void 0), t([O()], Y.prototype, "ripples", void 0), Y = t([T("schmancy-navigation-bar-item")], Y);
|
|
952
|
+
var X = class extends e {
|
|
951
953
|
constructor(...e) {
|
|
952
954
|
super(...e), this.activeIndex$ = new u(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.mobileMediaQuery = null, this.visibility$ = new d(), this.handleItemClick = (e) => {
|
|
953
955
|
let t = this.getItems(), n = e.target, r = t.findIndex((e) => e === n);
|
|
@@ -988,7 +990,7 @@ var Y = class extends e {
|
|
|
988
990
|
};
|
|
989
991
|
}
|
|
990
992
|
static {
|
|
991
|
-
this.styles = [
|
|
993
|
+
this.styles = [k`
|
|
992
994
|
:host {
|
|
993
995
|
display: block;
|
|
994
996
|
transition: transform 0.3s ease-in-out;
|
|
@@ -1039,7 +1041,7 @@ var Y = class extends e {
|
|
|
1039
1041
|
super.disconnectedCallback(), a.setBottomOffset(0), this.mobileMediaQuery = null;
|
|
1040
1042
|
}
|
|
1041
1043
|
setupScrollListener() {
|
|
1042
|
-
p(window, "scroll").pipe(
|
|
1044
|
+
p(window, "scroll").pipe(_e(100), me(() => window.scrollY), he(), y(([e, t]) => Math.abs(t - e) > this.SCROLL_THRESHOLD), x(([e, t]) => {
|
|
1043
1045
|
let n = t > e, r = t < e, i = this.isHiddenByScroll;
|
|
1044
1046
|
n && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : r && this.isHiddenByScroll && (this.isHiddenByScroll = !1), t <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1), i !== this.isHiddenByScroll && this.visibility$.next(!this.isHiddenByScroll && !this.isFullscreen);
|
|
1045
1047
|
}), b(this.disconnecting)).subscribe();
|
|
@@ -1085,7 +1087,7 @@ var Y = class extends e {
|
|
|
1085
1087
|
"shadow-xl": this.elevation === 4,
|
|
1086
1088
|
"shadow-2xl": this.elevation === 5
|
|
1087
1089
|
}, n = e ? "translateY(100%)" : "translateY(0)";
|
|
1088
|
-
return
|
|
1090
|
+
return A`
|
|
1089
1091
|
<nav
|
|
1090
1092
|
class=${this.classMap(t)}
|
|
1091
1093
|
role="navigation"
|
|
@@ -1102,24 +1104,24 @@ var Y = class extends e {
|
|
|
1102
1104
|
`;
|
|
1103
1105
|
}
|
|
1104
1106
|
};
|
|
1105
|
-
t([E({ type: Number })],
|
|
1107
|
+
t([E({ type: Number })], X.prototype, "activeIndex", null), t([E({
|
|
1106
1108
|
type: Boolean,
|
|
1107
1109
|
reflect: !0
|
|
1108
|
-
})],
|
|
1110
|
+
})], X.prototype, "hideLabels", void 0), t([E({
|
|
1109
1111
|
type: Number,
|
|
1110
1112
|
reflect: !0
|
|
1111
|
-
})],
|
|
1113
|
+
})], X.prototype, "elevation", void 0), t([E({
|
|
1112
1114
|
type: Boolean,
|
|
1113
1115
|
reflect: !0
|
|
1114
|
-
})],
|
|
1115
|
-
var
|
|
1116
|
+
})], X.prototype, "hideOnScroll", void 0), t([O()], X.prototype, "focusedIndex", void 0), t([O()], X.prototype, "isHiddenByScroll", void 0), t([O()], X.prototype, "isFullscreen", void 0), X = t([T("schmancy-navigation-bar")], X);
|
|
1117
|
+
var Z = "whereAreYouRicky", Te = "hereMorty", Q = new class {
|
|
1116
1118
|
constructor() {
|
|
1117
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new d(), this.find = (e) =>
|
|
1118
|
-
window.dispatchEvent(new CustomEvent(
|
|
1119
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new d(), this.find = (e) => fe([p(window, Te).pipe(ae((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), m((e) => e.detail.component), ce(1)), g(e).pipe(v(() => {
|
|
1120
|
+
window.dispatchEvent(new CustomEvent(Z, { detail: {
|
|
1119
1121
|
id: e.id,
|
|
1120
1122
|
callerID: e.uuid
|
|
1121
1123
|
} }));
|
|
1122
|
-
}))]).pipe(m(([e]) => e),
|
|
1124
|
+
}))]).pipe(m(([e]) => e), ue(0)), this.flip = (e) => {
|
|
1123
1125
|
let { from: t, to: n } = e, r = n.element.style.zIndex;
|
|
1124
1126
|
n.element.style.transformOrigin = "top left", n.element.style.setProperty("visibility", "visible"), n.element.style.zIndex = "1000";
|
|
1125
1127
|
let i = [{ transform: `translate(${t.rect.left - n.rect.left}px, ${t.rect.top - n.rect.top}px) scale(${t.rect.width / n.rect.width}, ${t.rect.height / n.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
|
|
@@ -1135,18 +1137,18 @@ var X = "whereAreYouRicky", Z = "hereMorty", Q = new class {
|
|
|
1135
1137
|
to: t,
|
|
1136
1138
|
host: n,
|
|
1137
1139
|
i: r
|
|
1138
|
-
}))), ne((e) =>
|
|
1140
|
+
}))), ne((e) => fe(e.map((e) => g(this.flip(e)))))).subscribe();
|
|
1139
1141
|
}
|
|
1140
1142
|
}();
|
|
1141
1143
|
function Ee(e) {
|
|
1142
|
-
return
|
|
1144
|
+
return oe(50).pipe(me(() => e.getBoundingClientRect()), pe((e, t) => e.width === t.width && e.height === t.height && e.top === t.top && e.right === t.right && e.bottom === t.bottom && e.left === t.left), ge(1));
|
|
1143
1145
|
}
|
|
1144
1146
|
var $ = class extends e {
|
|
1145
1147
|
constructor(...e) {
|
|
1146
1148
|
super(...e), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
1147
1149
|
}
|
|
1148
1150
|
static {
|
|
1149
|
-
this.styles = [
|
|
1151
|
+
this.styles = [k``];
|
|
1150
1152
|
}
|
|
1151
1153
|
get _slottedChildren() {
|
|
1152
1154
|
return this.shadowRoot.querySelector("slot").assignedElements({ flatten: !0 });
|
|
@@ -1159,8 +1161,8 @@ var $ = class extends e {
|
|
|
1159
1161
|
bubbles: !0,
|
|
1160
1162
|
composed: !0
|
|
1161
1163
|
}));
|
|
1162
|
-
} })), p(window,
|
|
1163
|
-
e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(
|
|
1164
|
+
} })), p(window, Z).pipe(v({ next: (e) => {
|
|
1165
|
+
e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(Te, {
|
|
1164
1166
|
detail: { component: this },
|
|
1165
1167
|
bubbles: !0,
|
|
1166
1168
|
composed: !0
|
|
@@ -1168,7 +1170,7 @@ var $ = class extends e {
|
|
|
1168
1170
|
} }))).pipe(_(this.disconnecting)).subscribe();
|
|
1169
1171
|
}
|
|
1170
1172
|
async firstUpdated() {
|
|
1171
|
-
g(Q.activeTeleportations.get(this.id)).pipe(ae((e) => !!e), _(this.disconnecting),
|
|
1173
|
+
g(Q.activeTeleportations.get(this.id)).pipe(ae((e) => !!e), _(this.disconnecting), le()).subscribe({
|
|
1172
1174
|
next: (e) => {
|
|
1173
1175
|
this.style.setProperty("visibility", "hidden"), Ee(this).pipe(_(this.disconnecting)).subscribe({ next: (t) => {
|
|
1174
1176
|
Q.activeTeleportations.set(this.id, t), Q.flipRequests.next({
|
|
@@ -1190,11 +1192,11 @@ var $ = class extends e {
|
|
|
1190
1192
|
});
|
|
1191
1193
|
}
|
|
1192
1194
|
render() {
|
|
1193
|
-
return
|
|
1195
|
+
return A`<slot></slot>`;
|
|
1194
1196
|
}
|
|
1195
1197
|
};
|
|
1196
1198
|
t([E({
|
|
1197
1199
|
type: Number,
|
|
1198
1200
|
reflect: !0
|
|
1199
1201
|
})], $.prototype, "uuid", void 0), t([E({ type: String })], $.prototype, "id", void 0), t([E({ type: Number })], $.prototype, "delay", void 0), $ = t([T("schmancy-teleport")], $);
|
|
1200
|
-
export {
|
|
1202
|
+
export { xe as C, P as S, j as T, R as _, X as a, L as b, K as c, H as d, V as f, z as g, B as h, Q as i, W as l, Ce as m, Te as n, Y as o, we as p, Z as r, J as s, $ as t, G as u, F as v, M as w, N as x, I as y };
|