@mhmo91/schmancy 0.5.44 → 0.5.46
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/ai/content-drawer.md +90 -160
- package/dist/ai/content-drawer.md +90 -160
- package/dist/{animated-text-Dr32Ckh7.cjs → animated-text-2eNprXDV.cjs} +2 -2
- package/dist/{animated-text-Dr32Ckh7.cjs.map → animated-text-2eNprXDV.cjs.map} +1 -1
- package/dist/{animated-text-CPA937x-.js → animated-text-CCfSintu.js} +3 -3
- package/dist/{animated-text-CPA937x-.js.map → animated-text-CCfSintu.js.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/area.component-DAPQYHtN.cjs +12 -0
- package/dist/area.component-DAPQYHtN.cjs.map +1 -0
- package/dist/{area.component-CgAISzZ3.js → area.component-DUGxsL2-.js} +38 -38
- package/dist/area.component-DUGxsL2-.js.map +1 -0
- package/dist/area.js +1 -1
- package/dist/autocomplete-CbsmZ0p6.cjs +112 -0
- package/dist/autocomplete-CbsmZ0p6.cjs.map +1 -0
- package/dist/{autocomplete--0ZoSIp0.js → autocomplete-Dcw5go_X.js} +47 -46
- package/dist/autocomplete-Dcw5go_X.js.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-BixWcgH7.js → avatar-CcHlQTbR.js} +207 -191
- package/dist/avatar-CcHlQTbR.js.map +1 -0
- package/dist/{avatar-5cjrkZS5.cjs → avatar-D93Sjal-.cjs} +39 -52
- package/dist/avatar-D93Sjal-.cjs.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-Bou0hRnM.js → boat-Ct95p20s.js} +3 -3
- package/dist/{boat-Bou0hRnM.js.map → boat-Ct95p20s.js.map} +1 -1
- package/dist/{boat-CkkEmZcE.cjs → boat-pwsR3UrD.cjs} +2 -2
- package/dist/{boat-CkkEmZcE.cjs.map → boat-pwsR3UrD.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-DODyS0zq.cjs → checkbox-BXpnd4MJ.cjs} +2 -2
- package/dist/{checkbox-DODyS0zq.cjs.map → checkbox-BXpnd4MJ.cjs.map} +1 -1
- package/dist/{checkbox-D8ZJSnVa.js → checkbox-DedHgVWe.js} +2 -2
- package/dist/{checkbox-D8ZJSnVa.js.map → checkbox-DedHgVWe.js.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-BZmBRwu-.cjs → code-preview-DC1nnjD6.cjs} +2 -2
- package/dist/{code-preview-BZmBRwu-.cjs.map → code-preview-DC1nnjD6.cjs.map} +1 -1
- package/dist/{code-preview-CTnFGeWr.js → code-preview-DmYqwM0J.js} +2 -2
- package/dist/{code-preview-CTnFGeWr.js.map → code-preview-DmYqwM0J.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-CoETNfZb.cjs → date-range-B1l0Wnyd.cjs} +2 -2
- package/dist/{date-range-CoETNfZb.cjs.map → date-range-B1l0Wnyd.cjs.map} +1 -1
- package/dist/{date-range-ClsaySUj.js → date-range-D5kBOyG0.js} +3 -3
- package/dist/{date-range-ClsaySUj.js.map → date-range-D5kBOyG0.js.map} +1 -1
- package/dist/{date-range-inline-DANhDNYe.cjs → date-range-inline-BbTCdiL0.cjs} +2 -2
- package/dist/{date-range-inline-DANhDNYe.cjs.map → date-range-inline-BbTCdiL0.cjs.map} +1 -1
- package/dist/{date-range-inline-DGlKBtNK.js → date-range-inline-Curj100b.js} +3 -3
- package/dist/{date-range-inline-DGlKBtNK.js.map → date-range-inline-Curj100b.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-BYgsZZlo.js → delay-B8D9ePlX.js} +2 -2
- package/dist/{delay-BYgsZZlo.js.map → delay-B8D9ePlX.js.map} +1 -1
- package/dist/{delay-C_eK0GWj.cjs → delay-BR6cMb_F.cjs} +2 -2
- package/dist/{delay-C_eK0GWj.cjs.map → delay-BR6cMb_F.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-YOyqdGM4.js → details-CpuplvIM.js} +2 -2
- package/dist/{details-YOyqdGM4.js.map → details-CpuplvIM.js.map} +1 -1
- package/dist/{details-CRLG7_Rx.cjs → details-DCzexjYw.cjs} +2 -2
- package/dist/{details-CRLG7_Rx.cjs.map → details-DCzexjYw.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-Bm8humI-.cjs → dialog-content-DUnSEoaA.cjs} +2 -2
- package/dist/{dialog-content-Bm8humI-.cjs.map → dialog-content-DUnSEoaA.cjs.map} +1 -1
- package/dist/{dialog-content-CXshnL4t.js → dialog-content-wcZn95Gx.js} +3 -3
- package/dist/{dialog-content-CXshnL4t.js.map → dialog-content-wcZn95Gx.js.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-BD7cCM-N.js → divider-C4d0QNQU.js} +3 -3
- package/dist/{divider-BD7cCM-N.js.map → divider-C4d0QNQU.js.map} +1 -1
- package/dist/{divider-W9uJ8C3q.cjs → divider-nVB0kEMZ.cjs} +2 -2
- package/dist/{divider-W9uJ8C3q.cjs.map → divider-nVB0kEMZ.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-DnWgB8CR.cjs → dropdown-content-CNc79RjI.cjs} +2 -2
- package/dist/{dropdown-content-DnWgB8CR.cjs.map → dropdown-content-CNc79RjI.cjs.map} +1 -1
- package/dist/{dropdown-content-C7b_9CMw.js → dropdown-content-D2GCSD5Z.js} +3 -3
- package/dist/{dropdown-content-C7b_9CMw.js.map → dropdown-content-D2GCSD5Z.js.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-CyIXLoSh.js → email-recipients-C-5ER5TU.js} +5 -5
- package/dist/{email-recipients-CyIXLoSh.js.map → email-recipients-C-5ER5TU.js.map} +1 -1
- package/dist/{email-recipients-whsZqIpA.cjs → email-recipients-DRxGI7gT.cjs} +2 -2
- package/dist/{email-recipients-whsZqIpA.cjs.map → email-recipients-DRxGI7gT.cjs.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-DvZKaAtN.js → flex-BeghKdy8.js} +2 -2
- package/dist/{flex-DvZKaAtN.js.map → flex-BeghKdy8.js.map} +1 -1
- package/dist/{flex-C0O9O1yV.cjs → flex-C66W_bVN.cjs} +2 -2
- package/dist/{flex-C0O9O1yV.cjs.map → flex-C66W_bVN.cjs.map} +1 -1
- package/dist/{form-D4AZek8y.cjs → form-BLnfpLCB.cjs} +2 -2
- package/dist/{form-D4AZek8y.cjs.map → form-BLnfpLCB.cjs.map} +1 -1
- package/dist/{form-BsI5Sk-R.js → form-CzSXaOL2.js} +2 -2
- package/dist/{form-BsI5Sk-R.js.map → form-CzSXaOL2.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-DfxR1FzZ.cjs → formField.mixin-DdQvbwbp.cjs} +2 -2
- package/dist/{formField.mixin-DfxR1FzZ.cjs.map → formField.mixin-DdQvbwbp.cjs.map} +1 -1
- package/dist/{formField.mixin-C_a5Hccx.js → formField.mixin-SU-0UQ6O.js} +2 -2
- package/dist/{formField.mixin-C_a5Hccx.js.map → formField.mixin-SU-0UQ6O.js.map} +1 -1
- package/dist/{icon-J11blFZq.cjs → icon-B38Atn5F.cjs} +2 -2
- package/dist/{icon-J11blFZq.cjs.map → icon-B38Atn5F.cjs.map} +1 -1
- package/dist/{icon-5LbOG-V0.js → icon-BAE9GvxI.js} +2 -2
- package/dist/{icon-5LbOG-V0.js.map → icon-BAE9GvxI.js.map} +1 -1
- package/dist/{icon-button-DjfEYUdj.cjs → icon-button-D24NUFs7.cjs} +2 -2
- package/dist/{icon-button-DjfEYUdj.cjs.map → icon-button-D24NUFs7.cjs.map} +1 -1
- package/dist/{icon-button-Cwm3vcDO.js → icon-button-gNZEaDU2.js} +3 -3
- package/dist/{icon-button-Cwm3vcDO.js.map → icon-button-gNZEaDU2.js.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +49 -49
- package/dist/{input-DbzpwrUh.cjs → input-B-87Y5m2.cjs} +2 -2
- package/dist/{input-DbzpwrUh.cjs.map → input-B-87Y5m2.cjs.map} +1 -1
- package/dist/{input-DO5pS6fE.js → input-Db0akZJI.js} +3 -3
- package/dist/{input-DO5pS6fE.js.map → input-Db0akZJI.js.map} +1 -1
- package/dist/{input-chip-CXZTmfwT.js → input-chip-DT7Zln32.js} +2 -2
- package/dist/{input-chip-CXZTmfwT.js.map → input-chip-DT7Zln32.js.map} +1 -1
- package/dist/{input-chip-CBJxQ2MI.cjs → input-chip-Y6Umqn68.cjs} +2 -2
- package/dist/{input-chip-CBJxQ2MI.cjs.map → input-chip-Y6Umqn68.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-C7wTsdkZ.cjs → list-Bx4nE-9X.cjs} +2 -2
- package/dist/{list-C7wTsdkZ.cjs.map → list-Bx4nE-9X.cjs.map} +1 -1
- package/dist/{list-Cbrv1Y7B.js → list-D5CL0Hmr.js} +2 -2
- package/dist/{list-Cbrv1Y7B.js.map → list-D5CL0Hmr.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-DwXXrxwO.js → litElement.mixin-DLWHaMp5.js} +2 -2
- package/dist/{litElement.mixin-DwXXrxwO.js.map → litElement.mixin-DLWHaMp5.js.map} +1 -1
- package/dist/{litElement.mixin-Dlq4PNEh.cjs → litElement.mixin-vtpQghkf.cjs} +2 -2
- package/dist/{litElement.mixin-Dlq4PNEh.cjs.map → litElement.mixin-vtpQghkf.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-6p1rwGq_.js → map-BgWSgSOf.js} +2 -2
- package/dist/{map-6p1rwGq_.js.map → map-BgWSgSOf.js.map} +1 -1
- package/dist/{map-B3Ond3EJ.cjs → map-ChhBWqG-.cjs} +2 -2
- package/dist/{map-B3Ond3EJ.cjs.map → map-ChhBWqG-.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-8qL5J_9U.js → media-DnpRpbFQ.js} +2 -2
- package/dist/{media-8qL5J_9U.js.map → media-DnpRpbFQ.js.map} +1 -1
- package/dist/{media-urvTQuhG.cjs → media-hFrznC-7.cjs} +2 -2
- package/dist/{media-urvTQuhG.cjs.map → media-hFrznC-7.cjs.map} +1 -1
- package/dist/{menu-CAqcdA-t.cjs → menu-DkRVRYp4.cjs} +2 -2
- package/dist/{menu-CAqcdA-t.cjs.map → menu-DkRVRYp4.cjs.map} +1 -1
- package/dist/{menu-DqPjhh0F.js → menu-DqRauRjT.js} +3 -3
- package/dist/{menu-DqPjhh0F.js.map → menu-DqRauRjT.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.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-G9DFyu8b.cjs → navigation-rail-CBhirMNF.cjs} +3 -3
- package/dist/{navigation-rail-G9DFyu8b.cjs.map → navigation-rail-CBhirMNF.cjs.map} +1 -1
- package/dist/{navigation-rail-B1JZU-E_.js → navigation-rail-Ncy6rBEj.js} +4 -4
- package/dist/{navigation-rail-B1JZU-E_.js.map → navigation-rail-Ncy6rBEj.js.map} +1 -1
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-service-D2iAqL5y.cjs → notification-service-BcrHAzSN.cjs} +2 -2
- package/dist/{notification-service-D2iAqL5y.cjs.map → notification-service-BcrHAzSN.cjs.map} +1 -1
- package/dist/{notification-service-C2FCNL6K.js → notification-service-CRAcOFSD.js} +4 -4
- package/dist/{notification-service-C2FCNL6K.js.map → notification-service-CRAcOFSD.js.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-CGUpuJK_.cjs → notify-BZLGxTpL.cjs} +2 -2
- package/dist/{notify-CGUpuJK_.cjs.map → notify-BZLGxTpL.cjs.map} +1 -1
- package/dist/{notify-CXgvep0J.js → notify-zBmyDMjt.js} +2 -2
- package/dist/{notify-CXgvep0J.js.map → notify-zBmyDMjt.js.map} +1 -1
- package/dist/{option-CWqav-ae.js → option-BOs02M9F.js} +2 -2
- package/dist/{option-CWqav-ae.js.map → option-BOs02M9F.js.map} +1 -1
- package/dist/{option-D8qnpwBr.cjs → option-CJZFrYDI.cjs} +2 -2
- package/dist/{option-D8qnpwBr.cjs.map → option-CJZFrYDI.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-pQBAeXvc.cjs → payment-card-form-C3RKAyE-.cjs} +2 -2
- package/dist/{payment-card-form-pQBAeXvc.cjs.map → payment-card-form-C3RKAyE-.cjs.map} +1 -1
- package/dist/{payment-card-form-09YuBc3U.js → payment-card-form-S9DUk7kb.js} +3 -3
- package/dist/{payment-card-form-09YuBc3U.js.map → payment-card-form-S9DUk7kb.js.map} +1 -1
- package/dist/{progress-nWFc1Ixd.cjs → progress-C36hgIf5.cjs} +2 -2
- package/dist/{progress-nWFc1Ixd.cjs.map → progress-C36hgIf5.cjs.map} +1 -1
- package/dist/{progress-BLRwJ_un.js → progress-DtJc6jWJ.js} +2 -2
- package/dist/{progress-BLRwJ_un.js.map → progress-DtJc6jWJ.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-DIjkirPr.cjs → radio-button-BEoY5yRc.cjs} +2 -2
- package/dist/{radio-button-DIjkirPr.cjs.map → radio-button-BEoY5yRc.cjs.map} +1 -1
- package/dist/{radio-button-BC0Of2-G.js → radio-button-aKwgu1bt.js} +3 -3
- package/dist/{radio-button-BC0Of2-G.js.map → radio-button-aKwgu1bt.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-Sf8RjF0N.js → schmancy-steps-container-D5sbskLl.js} +2 -2
- package/dist/{schmancy-steps-container-Sf8RjF0N.js.map → schmancy-steps-container-D5sbskLl.js.map} +1 -1
- package/dist/{schmancy-steps-container-B8B2ZnTB.cjs → schmancy-steps-container-DINAsJgP.cjs} +2 -2
- package/dist/{schmancy-steps-container-B8B2ZnTB.cjs.map → schmancy-steps-container-DINAsJgP.cjs.map} +1 -1
- package/dist/{select-C6QlML9m.js → select-Bq_CyEe1.js} +3 -3
- package/dist/{select-C6QlML9m.js.map → select-Bq_CyEe1.js.map} +1 -1
- package/dist/{select-CqlN3vWr.cjs → select-C0gf-GTX.cjs} +2 -2
- package/dist/{select-CqlN3vWr.cjs.map → select-C0gf-GTX.cjs.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-Dxx7iH9V.js → sheet-PXddkPIR.js} +3 -3
- package/dist/{sheet-Dxx7iH9V.js.map → sheet-PXddkPIR.js.map} +1 -1
- package/dist/{sheet-D6yxukD7.cjs → sheet-vJ5lJw8A.cjs} +2 -2
- package/dist/{sheet-D6yxukD7.cjs.map → sheet-vJ5lJw8A.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-BIjiRBMB.js → slider-CSC7AOPU.js} +3 -3
- package/dist/{slider-BIjiRBMB.js.map → slider-CSC7AOPU.js.map} +1 -1
- package/dist/{slider-BGgXG44k.cjs → slider-In_OE4B9.cjs} +2 -2
- package/dist/{slider-BGgXG44k.cjs.map → slider-In_OE4B9.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-D8IKqMrW.js → spinner-Db7i3EZh.js} +2 -2
- package/dist/{spinner-D8IKqMrW.js.map → spinner-Db7i3EZh.js.map} +1 -1
- package/dist/{spinner-CFx3p13n.cjs → spinner-DpIB845r.cjs} +2 -2
- package/dist/{spinner-CFx3p13n.cjs.map → spinner-DpIB845r.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{suggestion-chip-DHpWcimf.js → suggestion-chip-CJygiEf_.js} +3 -3
- package/dist/{suggestion-chip-DHpWcimf.js.map → suggestion-chip-CJygiEf_.js.map} +1 -1
- package/dist/{suggestion-chip-KkPIwkYP.cjs → suggestion-chip-DgwbXrI1.cjs} +2 -2
- package/dist/{suggestion-chip-KkPIwkYP.cjs.map → suggestion-chip-DgwbXrI1.cjs.map} +1 -1
- package/dist/{surface-pMQpuZWM.cjs → surface-Do6Jvjgs.cjs} +2 -2
- package/dist/{surface-pMQpuZWM.cjs.map → surface-Do6Jvjgs.cjs.map} +1 -1
- package/dist/{surface-CkSAxbh2.js → surface-OK-98YMi.js} +2 -2
- package/dist/{surface-CkSAxbh2.js.map → surface-OK-98YMi.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CVHtS_w_.cjs → table-CJAjGdP2.cjs} +2 -2
- package/dist/{table-CVHtS_w_.cjs.map → table-CJAjGdP2.cjs.map} +1 -1
- package/dist/{table-BgQCOk5g.js → table-IX2oy6pR.js} +2 -2
- package/dist/{table-BgQCOk5g.js.map → table-IX2oy6pR.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-BCtEpyN5.js → tabs-compatibility-BcjBZAcx.js} +2 -2
- package/dist/{tabs-compatibility-BCtEpyN5.js.map → tabs-compatibility-BcjBZAcx.js.map} +1 -1
- package/dist/{tabs-compatibility-w2lmMs2h.cjs → tabs-compatibility-DRL9DJHu.cjs} +2 -2
- package/dist/{tabs-compatibility-w2lmMs2h.cjs.map → tabs-compatibility-DRL9DJHu.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-CfBr6oca.cjs +2 -0
- package/dist/{tailwind.mixin-Bz_Bv8SX.cjs.map → tailwind.mixin-CfBr6oca.cjs.map} +1 -1
- package/dist/tailwind.mixin-Cx1vOdFr.js +64 -0
- package/dist/{tailwind.mixin-Be9DoonS.js.map → tailwind.mixin-Cx1vOdFr.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-BRI0tufi.cjs → textarea-D6tLCvgH.cjs} +2 -2
- package/dist/{textarea-BRI0tufi.cjs.map → textarea-D6tLCvgH.cjs.map} +1 -1
- package/dist/{textarea-DBc8Uh7D.js → textarea-DOdMuK9D.js} +2 -2
- package/dist/{textarea-DBc8Uh7D.js.map → textarea-DOdMuK9D.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-DXCpzc5c.cjs → theme-button-BygpnNZP.cjs} +2 -2
- package/dist/{theme-button-DXCpzc5c.cjs.map → theme-button-BygpnNZP.cjs.map} +1 -1
- package/dist/{theme-button-DCYQYmF-.js → theme-button-Mtmrrq0s.js} +2 -2
- package/dist/{theme-button-DCYQYmF-.js.map → theme-button-Mtmrrq0s.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/{theme-controller-boat-HDnVrCW1.cjs → theme-controller-boat-6PcxsUUQ.cjs} +2 -2
- package/dist/{theme-controller-boat-HDnVrCW1.cjs.map → theme-controller-boat-6PcxsUUQ.cjs.map} +1 -1
- package/dist/{theme-controller-boat-C_6tVWSS.js → theme-controller-boat-CFWhF7oJ.js} +3 -3
- package/dist/{theme-controller-boat-C_6tVWSS.js.map → theme-controller-boat-CFWhF7oJ.js.map} +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-Atm5Dy-B.js → timezone-CZ3y_y_n.js} +3 -3
- package/dist/{timezone-Atm5Dy-B.js.map → timezone-CZ3y_y_n.js.map} +1 -1
- package/dist/{timezone-BQaIFLiV.cjs → timezone-GffBsJxM.cjs} +2 -2
- package/dist/{timezone-BQaIFLiV.cjs.map → timezone-GffBsJxM.cjs.map} +1 -1
- package/dist/{tooltip-C-PhMMvT.js → tooltip-BlwQ_fIF.js} +2 -2
- package/dist/{tooltip-C-PhMMvT.js.map → tooltip-BlwQ_fIF.js.map} +1 -1
- package/dist/{tooltip-SBsMu8ZQ.cjs → tooltip-PI0IE4wA.cjs} +2 -2
- package/dist/{tooltip-SBsMu8ZQ.cjs.map → tooltip-PI0IE4wA.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-BagJ6dD2.js → tree-Cum3Na-a.js} +2 -2
- package/dist/{tree-BagJ6dD2.js.map → tree-Cum3Na-a.js.map} +1 -1
- package/dist/{tree-j0lH3CZh.cjs → tree-Cxfl4yJv.cjs} +2 -2
- package/dist/{tree-j0lH3CZh.cjs.map → tree-Cxfl4yJv.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-BawsYtHa.cjs → typewriter-BaiAOEvZ.cjs} +2 -2
- package/dist/{typewriter-BawsYtHa.cjs.map → typewriter-BaiAOEvZ.cjs.map} +1 -1
- package/dist/{typewriter-BjiolWBJ.js → typewriter-DTcmDBnt.js} +4 -4
- package/dist/{typewriter-BjiolWBJ.js.map → typewriter-DTcmDBnt.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-CyDDUJ9J.js → typography-BLHV8e7O.js} +2 -2
- package/dist/{typography-CyDDUJ9J.js.map → typography-BLHV8e7O.js.map} +1 -1
- package/dist/{typography-Bk9jOEtx.cjs → typography-CtesPGRT.cjs} +2 -2
- package/dist/{typography-Bk9jOEtx.cjs.map → typography-CtesPGRT.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/autocomplete/autocomplete.d.ts +1 -1
- package/types/src/content-drawer/drawer.d.ts +6 -0
- package/types/src/content-drawer/drawer.service.d.ts +28 -1
- package/types/src/content-drawer/main.d.ts +2 -2
- package/dist/area.component-C3uCk-c1.cjs +0 -12
- package/dist/area.component-C3uCk-c1.cjs.map +0 -1
- package/dist/area.component-CgAISzZ3.js.map +0 -1
- package/dist/autocomplete--0ZoSIp0.js.map +0 -1
- package/dist/autocomplete-CpCXamUl.cjs +0 -112
- package/dist/autocomplete-CpCXamUl.cjs.map +0 -1
- package/dist/avatar-5cjrkZS5.cjs.map +0 -1
- package/dist/avatar-BixWcgH7.js.map +0 -1
- package/dist/tailwind.mixin-Be9DoonS.js +0 -64
- package/dist/tailwind.mixin-Bz_Bv8SX.cjs +0 -2
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { css as w, html as c, nothing as
|
|
2
|
-
import { property as l, customElement as p, state as
|
|
3
|
-
import { Subject as ot, merge as Q, fromEvent as
|
|
4
|
-
import "./animated-text-
|
|
5
|
-
import { a as
|
|
6
|
-
import "./autocomplete
|
|
7
|
-
import { tap as
|
|
1
|
+
import { css as w, html as c, nothing as bt } from "lit";
|
|
2
|
+
import { property as l, customElement as p, state as h, queryAssignedElements as ft, query as tt } from "lit/decorators.js";
|
|
3
|
+
import { Subject as ot, merge as Q, fromEvent as d, startWith as Et, debounceTime as G, map as g, distinctUntilChanged as et, tap as O, takeUntil as m, from as ht, of as J, Observable as Dt, BehaviorSubject as gt, timer as It, zip as pt, filter as vt, take as zt, timeout as Mt, bufferTime as jt, concatMap as Pt, interval as Rt, throwIfEmpty as Wt } from "rxjs";
|
|
4
|
+
import "./animated-text-CCfSintu.js";
|
|
5
|
+
import { a as Ht, F as Lt, H as Bt } from "./area.component-DUGxsL2-.js";
|
|
6
|
+
import "./autocomplete-Dcw5go_X.js";
|
|
7
|
+
import { tap as B, takeUntil as j, filter as V, throttleTime as Tt, map as wt, pairwise as Nt, distinctUntilChanged as At, take as _t } from "rxjs/operators";
|
|
8
8
|
import "lit/directives/class-map.js";
|
|
9
9
|
import "lit/directives/style-map.js";
|
|
10
|
-
import { T as Z } from "./tailwind.mixin-
|
|
11
|
-
import { c as P, f as
|
|
10
|
+
import { T as Z } from "./tailwind.mixin-Cx1vOdFr.js";
|
|
11
|
+
import { c as P, f as qt } from "./ripple-Cy-nvO8W.js";
|
|
12
12
|
import "lit/directives/guard.js";
|
|
13
|
-
import "./boat-
|
|
14
|
-
import "./spinner-
|
|
15
|
-
import "./icon-button-
|
|
16
|
-
import "./media-
|
|
17
|
-
import "./checkbox-
|
|
18
|
-
import "./suggestion-chip-
|
|
19
|
-
import "./input-chip-
|
|
20
|
-
import "./code-preview-
|
|
21
|
-
import "./payment-card-form-
|
|
22
|
-
import { SchmancyEvents as
|
|
23
|
-
import { n as
|
|
24
|
-
import { $ as
|
|
13
|
+
import "./boat-Ct95p20s.js";
|
|
14
|
+
import "./spinner-Db7i3EZh.js";
|
|
15
|
+
import "./icon-button-gNZEaDU2.js";
|
|
16
|
+
import "./media-DnpRpbFQ.js";
|
|
17
|
+
import "./checkbox-DedHgVWe.js";
|
|
18
|
+
import "./suggestion-chip-CJygiEf_.js";
|
|
19
|
+
import "./input-chip-DT7Zln32.js";
|
|
20
|
+
import "./code-preview-DmYqwM0J.js";
|
|
21
|
+
import "./payment-card-form-S9DUk7kb.js";
|
|
22
|
+
import { SchmancyEvents as v } from "./types.js";
|
|
23
|
+
import { n as T, e as L } from "./provide-tcktw8xB.js";
|
|
24
|
+
import { $ as R } from "./litElement.mixin-DLWHaMp5.js";
|
|
25
25
|
import { c as u } from "./consume-5D1qfVWM.js";
|
|
26
|
-
import "./date-range-
|
|
27
|
-
import "./date-range-inline-
|
|
28
|
-
import "./delay-
|
|
29
|
-
import "./details-
|
|
30
|
-
import "./dialog-content-
|
|
26
|
+
import "./date-range-D5kBOyG0.js";
|
|
27
|
+
import "./date-range-inline-Curj100b.js";
|
|
28
|
+
import "./delay-B8D9ePlX.js";
|
|
29
|
+
import "./details-CpuplvIM.js";
|
|
30
|
+
import "./dialog-content-wcZn95Gx.js";
|
|
31
31
|
import "./dialog-service-CyQzm5qE.js";
|
|
32
|
-
import "./divider-
|
|
33
|
-
import "./dropdown-content-
|
|
34
|
-
import "./timezone-
|
|
35
|
-
import "./form-
|
|
36
|
-
import "./icon-
|
|
37
|
-
import "./input-
|
|
38
|
-
import "./flex-
|
|
39
|
-
import "./list-
|
|
40
|
-
import "./email-recipients-
|
|
41
|
-
import "./map-
|
|
42
|
-
import "./menu-
|
|
32
|
+
import "./divider-C4d0QNQU.js";
|
|
33
|
+
import "./dropdown-content-D2GCSD5Z.js";
|
|
34
|
+
import "./timezone-CZ3y_y_n.js";
|
|
35
|
+
import "./form-CzSXaOL2.js";
|
|
36
|
+
import "./icon-BAE9GvxI.js";
|
|
37
|
+
import "./input-Db0akZJI.js";
|
|
38
|
+
import "./flex-BeghKdy8.js";
|
|
39
|
+
import "./list-D5CL0Hmr.js";
|
|
40
|
+
import "./email-recipients-C-5ER5TU.js";
|
|
41
|
+
import "./map-BgWSgSOf.js";
|
|
42
|
+
import "./menu-DqRauRjT.js";
|
|
43
43
|
import { when as st } from "lit/directives/when.js";
|
|
44
|
-
import "./navigation-rail-
|
|
45
|
-
import "./notification-service-
|
|
46
|
-
import "./option-
|
|
47
|
-
import "./progress-
|
|
48
|
-
import "./radio-button-
|
|
44
|
+
import "./navigation-rail-Ncy6rBEj.js";
|
|
45
|
+
import "./notification-service-CRAcOFSD.js";
|
|
46
|
+
import "./option-BOs02M9F.js";
|
|
47
|
+
import "./progress-DtJc6jWJ.js";
|
|
48
|
+
import "./radio-button-aKwgu1bt.js";
|
|
49
49
|
import "./index-CW6PhEkx.js";
|
|
50
|
-
import "./select-
|
|
51
|
-
import "./sheet-
|
|
50
|
+
import "./select-Bq_CyEe1.js";
|
|
51
|
+
import "./sheet-PXddkPIR.js";
|
|
52
52
|
import { s as it } from "./sheet.service-lXqUf6n5.js";
|
|
53
|
-
import "./slider-
|
|
54
|
-
import "./schmancy-steps-container-
|
|
53
|
+
import "./slider-CSC7AOPU.js";
|
|
54
|
+
import "./schmancy-steps-container-D5sbskLl.js";
|
|
55
55
|
import "./context-create-DCiujzV2.js";
|
|
56
|
-
import "./surface-
|
|
57
|
-
import "./table-
|
|
58
|
-
import "./tabs-compatibility-
|
|
59
|
-
import "./textarea-
|
|
60
|
-
import "./theme-controller-boat-
|
|
61
|
-
import "./theme-button-
|
|
62
|
-
import "./tooltip-
|
|
63
|
-
import "./tree-
|
|
64
|
-
import "./typewriter-
|
|
65
|
-
import "./typography-
|
|
56
|
+
import "./surface-OK-98YMi.js";
|
|
57
|
+
import "./table-IX2oy6pR.js";
|
|
58
|
+
import "./tabs-compatibility-BcjBZAcx.js";
|
|
59
|
+
import "./textarea-DOdMuK9D.js";
|
|
60
|
+
import "./theme-controller-boat-CFWhF7oJ.js";
|
|
61
|
+
import "./theme-button-Mtmrrq0s.js";
|
|
62
|
+
import "./tooltip-BlwQ_fIF.js";
|
|
63
|
+
import "./tree-Cum3Na-a.js";
|
|
64
|
+
import "./typewriter-DTcmDBnt.js";
|
|
65
|
+
import "./typography-BLHV8e7O.js";
|
|
66
66
|
import { S as r } from "./theme.interface-BLfE5J_1.js";
|
|
67
67
|
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, M = (t, e, s, o) => {
|
|
68
68
|
for (var n, i = o > 1 ? void 0 : o ? Ut(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
@@ -158,45 +158,64 @@ let k = class extends Z(w`
|
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
M([l({ type: String, reflect: !0 })], k.prototype, "color", 2), M([l({ type: String, reflect: !0 })], k.prototype, "size", 2), M([l({ type: String, reflect: !0 })], k.prototype, "shape", 2), M([l({ type: Boolean, reflect: !0 })], k.prototype, "outlined", 2), M([l({ type: String })], k.prototype, "icon", 2), M([l({ type: Boolean, reflect: !0 })], k.prototype, "pulse", 2), k = M([p("schmancy-badge")], k);
|
|
161
|
-
let
|
|
161
|
+
let ut = class extends k {
|
|
162
162
|
};
|
|
163
|
-
|
|
164
|
-
const
|
|
163
|
+
ut = M([p("sch-badge")], ut);
|
|
164
|
+
const Os = new class {
|
|
165
165
|
constructor() {
|
|
166
166
|
this.$drawer = new ot(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
|
|
167
|
-
|
|
167
|
+
switch (t.action) {
|
|
168
|
+
case "dismiss":
|
|
169
|
+
this.dispatchToggleEvent(t.ref, "close");
|
|
170
|
+
break;
|
|
171
|
+
case "render":
|
|
172
|
+
this.dispatchToggleEvent(t.ref, "open"), this.dispatchRenderEvent(t.ref, t.component, t.title);
|
|
173
|
+
break;
|
|
174
|
+
case "push":
|
|
175
|
+
this.handlePush(t.ref, t.component, t.state, t.params, t.props);
|
|
176
|
+
}
|
|
168
177
|
});
|
|
169
178
|
}
|
|
179
|
+
dispatchToggleEvent(t, e) {
|
|
180
|
+
t.dispatchEvent(new CustomEvent(v.ContentDrawerToggle, { detail: { state: e }, bubbles: !0, composed: !0 }));
|
|
181
|
+
}
|
|
182
|
+
dispatchRenderEvent(t, e, s, o, n, i) {
|
|
183
|
+
t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: e, title: s, state: o, params: n, props: i }, bubbles: !0, composed: !0 }));
|
|
184
|
+
}
|
|
170
185
|
dimiss(t) {
|
|
171
186
|
this.$drawer.next({ action: "dismiss", ref: t });
|
|
172
187
|
}
|
|
173
188
|
render(t, e, s) {
|
|
174
189
|
t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: s });
|
|
175
190
|
}
|
|
176
|
-
async handlePush(t, e) {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
191
|
+
async handlePush(t, e, s, o, n) {
|
|
192
|
+
const i = await this.resolveComponent(e);
|
|
193
|
+
i && (this.lastComponent === i && "requestUpdate" in i && i.requestUpdate(), this.lastComponent = i, this.dispatchToggleEvent(t, "open"), this.dispatchRenderEvent(t, i, void 0, s, o, n));
|
|
194
|
+
}
|
|
195
|
+
async resolveComponent(t) {
|
|
196
|
+
if (typeof t == "string") return document.createElement(t);
|
|
197
|
+
if (t instanceof HTMLElement) return t;
|
|
198
|
+
if (typeof t == "function") try {
|
|
199
|
+
const e = await t();
|
|
200
|
+
return e && typeof e == "object" && "default" in e ? new e.default() : e instanceof HTMLElement ? e : new e();
|
|
201
|
+
} catch {
|
|
202
|
+
return null;
|
|
188
203
|
}
|
|
189
|
-
|
|
204
|
+
return null;
|
|
190
205
|
}
|
|
191
206
|
push(t) {
|
|
192
|
-
this
|
|
207
|
+
const e = this.normalizeOptions(t);
|
|
208
|
+
this.$drawer.next({ action: "push", ref: window, ...e });
|
|
209
|
+
}
|
|
210
|
+
normalizeOptions(t) {
|
|
211
|
+
return typeof t == "object" && t !== null && "component" in t ? t : { component: t };
|
|
193
212
|
}
|
|
194
|
-
}(), rt =
|
|
195
|
-
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor,
|
|
213
|
+
}(), rt = T("push"), xt = T("close"), $t = T(Math.floor(Math.random() * Date.now()).toString()), nt = T("100%"), at = T({});
|
|
214
|
+
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, W = (t, e, s, o) => {
|
|
196
215
|
for (var n, i = o > 1 ? void 0 : o ? Ft(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
197
216
|
return o && i && Kt(e, s, i), i;
|
|
198
217
|
};
|
|
199
|
-
let
|
|
218
|
+
let E = class extends R(w`
|
|
200
219
|
:host {
|
|
201
220
|
position: relative;
|
|
202
221
|
inset: 0;
|
|
@@ -208,45 +227,49 @@ let O = class extends W(w`
|
|
|
208
227
|
super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
209
228
|
}
|
|
210
229
|
firstUpdated() {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
230
|
+
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
231
|
+
}
|
|
232
|
+
setupResizeListener() {
|
|
233
|
+
Q(d(window, "resize"), d(window, v.ContentDrawerResize)).pipe(Et(!0), G(100), g(() => this.clientWidth || window.innerWidth), g((t) => t >= this.minWidth.main + this.minWidth.sheet), et(), O(() => this.updateMaxHeight()), m(this.disconnecting)).subscribe((t) => this.updateMode(t));
|
|
234
|
+
}
|
|
235
|
+
setupToggleListener() {
|
|
236
|
+
d(window, v.ContentDrawerToggle).pipe(O((t) => t.stopPropagation()), g((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
|
|
218
237
|
this.open = t;
|
|
219
|
-
}), h(window, "schmancy-content-drawer-render").pipe(D((t) => {
|
|
220
|
-
t.stopPropagation();
|
|
221
|
-
}), v((t) => t.detail), m(this.disconnecting)).subscribe(({ component: t, title: e }) => {
|
|
222
|
-
this.mode === "push" ? (ut.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), ut.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && it.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
|
|
223
238
|
});
|
|
224
239
|
}
|
|
240
|
+
setupRenderListener() {
|
|
241
|
+
d(window, "schmancy-content-drawer-render").pipe(O((t) => t.stopPropagation()), g((t) => t.detail), m(this.disconnecting)).subscribe((t) => this.handleRender(t));
|
|
242
|
+
}
|
|
243
|
+
updateMaxHeight() {
|
|
244
|
+
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
245
|
+
}
|
|
246
|
+
updateMode(t) {
|
|
247
|
+
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
248
|
+
}
|
|
249
|
+
handleRender(t) {
|
|
250
|
+
this.mode === "push" ? Ht.push({ area: this.schmancyContentDrawerID, component: t.component, historyStrategy: "silent", state: t.state, params: t.params, props: t.props }) : this.mode === "overlay" && it.open({ component: t.component, uid: this.schmancyContentDrawerID, title: t.title });
|
|
251
|
+
}
|
|
225
252
|
getOffsetTop(t) {
|
|
226
253
|
let e = 0;
|
|
227
254
|
for (; t; ) e += t.offsetTop, t = t.offsetParent;
|
|
228
255
|
return e;
|
|
229
256
|
}
|
|
230
257
|
render() {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
flow="col"
|
|
236
|
-
justify="stretch"
|
|
237
|
-
align="stretch"
|
|
238
|
-
>
|
|
258
|
+
if (!this.mode || !this.open) return bt;
|
|
259
|
+
const t = ["grid h-full", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "justify-items-stretch items-stretch", this.mode === "overlay" ? "grid-cols-[1fr]" : "grid-cols-[auto_1fr]"].join(" ");
|
|
260
|
+
return c`
|
|
261
|
+
<div class=${t}>
|
|
239
262
|
<slot></slot>
|
|
240
|
-
</
|
|
241
|
-
|
|
263
|
+
</div>
|
|
264
|
+
`;
|
|
242
265
|
}
|
|
243
266
|
};
|
|
244
|
-
|
|
245
|
-
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor,
|
|
267
|
+
W([L({ context: at })], E.prototype, "minWidth", 2), W([L({ context: xt }), l()], E.prototype, "open", 2), W([L({ context: rt }), h()], E.prototype, "mode", 2), W([L({ context: $t })], E.prototype, "schmancyContentDrawerID", 2), W([L({ context: nt })], E.prototype, "maxHeight", 2), W([ft({ flatten: !0 })], E.prototype, "assignedElements", 2), E = W([p("schmancy-content-drawer")], E);
|
|
268
|
+
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, _ = (t, e, s, o) => {
|
|
246
269
|
for (var n, i = o > 1 ? void 0 : o ? Vt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
247
270
|
return o && i && Yt(e, s, i), i;
|
|
248
271
|
};
|
|
249
|
-
let
|
|
272
|
+
let N = class extends R(w`
|
|
250
273
|
:host {
|
|
251
274
|
display: block;
|
|
252
275
|
overflow: hidden;
|
|
@@ -256,35 +279,28 @@ let T = class extends W(w`
|
|
|
256
279
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
|
|
257
280
|
}
|
|
258
281
|
update(t) {
|
|
259
|
-
super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
282
|
+
super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(v.ContentDrawerResize, { bubbles: !0, composed: !0 })));
|
|
260
283
|
}
|
|
261
284
|
render() {
|
|
262
|
-
const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
|
|
285
|
+
const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight }, e = ["grid h-full relative overflow-scroll", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "items-stretch justify-items-stretch", this.mode === "push" ? "grid-cols-[auto_1fr]" : "grid-cols-[1fr]"].join(" ");
|
|
263
286
|
return c`
|
|
264
287
|
<section class="relative inset-0 h-full">
|
|
265
|
-
<
|
|
266
|
-
class="h-full relative overflow-scroll"
|
|
267
|
-
cols="${this.mode === "push" ? "auto 1fr" : "1fr"}"
|
|
268
|
-
rows="1fr"
|
|
269
|
-
flow="col"
|
|
270
|
-
align="stretch"
|
|
271
|
-
justify="stretch"
|
|
272
|
-
>
|
|
288
|
+
<div class=${e}>
|
|
273
289
|
<section style=${this.styleMap(t)}>
|
|
274
290
|
<slot></slot>
|
|
275
291
|
</section>
|
|
276
|
-
</
|
|
292
|
+
</div>
|
|
277
293
|
${st(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
278
294
|
</section>
|
|
279
295
|
`;
|
|
280
296
|
}
|
|
281
297
|
};
|
|
282
|
-
|
|
298
|
+
_([l({ type: Number })], N.prototype, "minWidth", 2), _([u({ context: at, subscribe: !0 })], N.prototype, "drawerMinWidth", 2), _([u({ context: rt, subscribe: !0 }), h()], N.prototype, "mode", 2), _([u({ context: nt, subscribe: !0 }), h()], N.prototype, "maxHeight", 2), N = _([p("schmancy-content-drawer-main")], N);
|
|
283
299
|
var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, x = (t, e, s, o) => {
|
|
284
300
|
for (var n, i = o > 1 ? void 0 : o ? Jt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
285
301
|
return o && i && Gt(e, s, i), i;
|
|
286
302
|
};
|
|
287
|
-
let
|
|
303
|
+
let y = class extends R(w`
|
|
288
304
|
:host {
|
|
289
305
|
overflow: scroll;
|
|
290
306
|
}
|
|
@@ -293,19 +309,19 @@ let b = class extends W(w`
|
|
|
293
309
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
294
310
|
}
|
|
295
311
|
updated(t) {
|
|
296
|
-
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
312
|
+
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(v.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (it.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
|
|
297
313
|
}
|
|
298
314
|
open() {
|
|
299
315
|
this.mode === "overlay" ? this.sheet.style.position = "fixed" : this.sheet.style.position = "relative", this.sheet.style.display = "block", this.sheet.animate([{ opacity: 0, transform: "translateX(100%)" }, { opacity: 1, transform: "translateX(0%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" });
|
|
300
316
|
}
|
|
301
317
|
closeAll() {
|
|
302
|
-
Q(
|
|
318
|
+
Q(ht(this.closeModalSheet()), ht(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
|
|
303
319
|
}
|
|
304
320
|
closeModalSheet() {
|
|
305
|
-
return J(!0).pipe(
|
|
321
|
+
return J(!0).pipe(O(() => it.dismiss(this.schmancyContentDrawerID)));
|
|
306
322
|
}
|
|
307
323
|
closeSheet() {
|
|
308
|
-
return new
|
|
324
|
+
return new Dt((t) => {
|
|
309
325
|
this.sheet.animate([{ opacity: 1, transform: "translateX(0%)" }, { opacity: 1, transform: "translateX(100%)" }], { duration: 500, easing: "cubic-bezier(0.5, 0.01, 0.25, 1)" }).onfinish = () => {
|
|
310
326
|
this.sheet.style.display = "none", t.next(), t.complete();
|
|
311
327
|
};
|
|
@@ -322,11 +338,11 @@ let b = class extends W(w`
|
|
|
322
338
|
`;
|
|
323
339
|
}
|
|
324
340
|
};
|
|
325
|
-
x([l({ type: Number })],
|
|
341
|
+
x([l({ type: Number })], y.prototype, "minWidth", 2), x([u({ context: rt, subscribe: !0 }), h()], y.prototype, "mode", 2), x([u({ context: xt, subscribe: !0 }), h()], y.prototype, "state", 2), x([u({ context: $t })], y.prototype, "schmancyContentDrawerID", 2), x([tt("#sheet")], y.prototype, "sheet", 2), x([ft({ flatten: !0, slot: void 0 })], y.prototype, "defaultSlot", 2), x([u({ context: at, subscribe: !0 })], y.prototype, "drawerMinWidth", 2), x([u({ context: nt, subscribe: !0 }), h()], y.prototype, "maxHeight", 2), y = x([p("schmancy-content-drawer-sheet")], y);
|
|
326
342
|
const Qt = new class {
|
|
327
343
|
constructor() {
|
|
328
344
|
this.$drawer = new ot(), this.$drawer.pipe(G(10)).subscribe((t) => {
|
|
329
|
-
t.state ? window.dispatchEvent(new CustomEvent(
|
|
345
|
+
t.state ? window.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
330
346
|
});
|
|
331
347
|
}
|
|
332
348
|
open(t) {
|
|
@@ -335,12 +351,12 @@ const Qt = new class {
|
|
|
335
351
|
close(t) {
|
|
336
352
|
this.$drawer.next({ self: t, state: !1 });
|
|
337
353
|
}
|
|
338
|
-
}(),
|
|
354
|
+
}(), Es = Qt, lt = T("push"), ct = T("close");
|
|
339
355
|
var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, U = (t, e, s, o) => {
|
|
340
356
|
for (var n, i = o > 1 ? void 0 : o ? te(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
341
357
|
return o && i && Zt(e, s, i), i;
|
|
342
358
|
};
|
|
343
|
-
let
|
|
359
|
+
let q = class extends Z(w`
|
|
344
360
|
:host {
|
|
345
361
|
display: block;
|
|
346
362
|
}
|
|
@@ -356,7 +372,7 @@ let _ = class extends Z(w`
|
|
|
356
372
|
<div class="${this.classMap(t)}">
|
|
357
373
|
<schmancy-icon-button
|
|
358
374
|
@click=${() => {
|
|
359
|
-
this.dispatchEvent(new CustomEvent(
|
|
375
|
+
this.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
|
|
360
376
|
}}
|
|
361
377
|
>
|
|
362
378
|
${st(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
|
|
@@ -369,9 +385,9 @@ let _ = class extends Z(w`
|
|
|
369
385
|
`;
|
|
370
386
|
}
|
|
371
387
|
};
|
|
372
|
-
U([u({ context: lt, subscribe: !0 }),
|
|
388
|
+
U([u({ context: lt, subscribe: !0 }), h()], q.prototype, "sidebarMode", 2), U([u({ context: ct, subscribe: !0 }), h()], q.prototype, "sidebarOpen", 2), U([l({ type: Boolean })], q.prototype, "toggler", 2), q = U([p("schmancy-nav-drawer-appbar")], q);
|
|
373
389
|
var ee = Object.getOwnPropertyDescriptor;
|
|
374
|
-
let
|
|
390
|
+
let mt = class extends R(w`
|
|
375
391
|
:host {
|
|
376
392
|
display: block;
|
|
377
393
|
position: relative;
|
|
@@ -380,7 +396,7 @@ let yt = class extends W(w`
|
|
|
380
396
|
}
|
|
381
397
|
`) {
|
|
382
398
|
connectedCallback() {
|
|
383
|
-
super.connectedCallback(),
|
|
399
|
+
super.connectedCallback(), d(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
|
|
384
400
|
this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
|
|
385
401
|
});
|
|
386
402
|
}
|
|
@@ -388,15 +404,15 @@ let yt = class extends W(w`
|
|
|
388
404
|
return c` <slot></slot> `;
|
|
389
405
|
}
|
|
390
406
|
};
|
|
391
|
-
|
|
407
|
+
mt = ((t, e, s, o) => {
|
|
392
408
|
for (var n, i = o > 1 ? void 0 : o ? ee(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = n(i) || i);
|
|
393
409
|
return i;
|
|
394
|
-
})([p("schmancy-nav-drawer-content")],
|
|
410
|
+
})([p("schmancy-nav-drawer-content")], mt);
|
|
395
411
|
var se = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, A = (t, e, s, o) => {
|
|
396
412
|
for (var n, i = o > 1 ? void 0 : o ? ie(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
397
413
|
return o && i && se(e, s, i), i;
|
|
398
414
|
};
|
|
399
|
-
let
|
|
415
|
+
let f = class extends R(w`
|
|
400
416
|
:host {
|
|
401
417
|
display: flex;
|
|
402
418
|
flex-grow: 1;
|
|
@@ -413,19 +429,19 @@ let g = class extends W(w`
|
|
|
413
429
|
super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
|
|
414
430
|
}
|
|
415
431
|
firstUpdated() {
|
|
416
|
-
this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""),
|
|
432
|
+
this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), d(window, "resize").pipe(g((t) => t.target.innerWidth), g((t) => t >= f.BREAKPOINTS[this.breakpoint]), et(), G(100), m(this.disconnecting)).subscribe((t) => {
|
|
417
433
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
418
|
-
}),
|
|
434
|
+
}), d(window, "fullscreen").pipe(O((t) => {
|
|
419
435
|
const e = t;
|
|
420
436
|
this.fullscreen = e.detail;
|
|
421
|
-
}), m(this.disconnecting)).subscribe(),
|
|
437
|
+
}), m(this.disconnecting)).subscribe(), d(window, v.NavDrawer_toggle).pipe(O((t) => {
|
|
422
438
|
t.stopPropagation();
|
|
423
|
-
}),
|
|
439
|
+
}), g((t) => t.detail.state), et(), m(this.disconnecting), G(10)).subscribe((t) => {
|
|
424
440
|
this.mode === "push" && t === "close" || (this.open = t);
|
|
425
441
|
});
|
|
426
442
|
}
|
|
427
443
|
updateState(t) {
|
|
428
|
-
const e = t >=
|
|
444
|
+
const e = t >= f.BREAKPOINTS[this.breakpoint];
|
|
429
445
|
this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
|
|
430
446
|
}
|
|
431
447
|
render() {
|
|
@@ -436,20 +452,20 @@ let g = class extends W(w`
|
|
|
436
452
|
flow="col"
|
|
437
453
|
justify="stretch"
|
|
438
454
|
align="stretch"
|
|
439
|
-
${
|
|
455
|
+
${qt()}
|
|
440
456
|
>
|
|
441
457
|
<slot></slot>
|
|
442
458
|
</schmancy-grid>
|
|
443
|
-
` :
|
|
459
|
+
` : bt;
|
|
444
460
|
}
|
|
445
461
|
};
|
|
446
|
-
|
|
447
|
-
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor,
|
|
462
|
+
f.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, A([l({ type: Boolean })], f.prototype, "fullscreen", 2), A([l({ type: String, attribute: "breakpoint" })], f.prototype, "breakpoint", 2), A([L({ context: lt }), h()], f.prototype, "mode", 2), A([L({ context: ct }), l()], f.prototype, "open", 2), A([h()], f.prototype, "_initialized", 2), f = A([p("schmancy-nav-drawer")], f);
|
|
463
|
+
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
|
|
448
464
|
for (var n, i = o > 1 ? void 0 : o ? re(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
449
465
|
return o && i && oe(e, s, i), i;
|
|
450
466
|
};
|
|
451
467
|
const K = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
452
|
-
let
|
|
468
|
+
let D = class extends R() {
|
|
453
469
|
constructor() {
|
|
454
470
|
super(...arguments), this.width = "220px", this._initialized = !1;
|
|
455
471
|
}
|
|
@@ -478,7 +494,7 @@ let E = class extends W() {
|
|
|
478
494
|
};
|
|
479
495
|
}
|
|
480
496
|
handleOverlayClick() {
|
|
481
|
-
window.dispatchEvent(new CustomEvent(
|
|
497
|
+
window.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
482
498
|
}
|
|
483
499
|
render() {
|
|
484
500
|
const t = { "p-2 max-w-[360px] w-fit h-full overflow-auto": !0, block: this.mode === "push", "fixed inset-0 z-50": this.mode === "overlay" }, e = { width: this.width };
|
|
@@ -499,7 +515,7 @@ let E = class extends W() {
|
|
|
499
515
|
`;
|
|
500
516
|
}
|
|
501
517
|
};
|
|
502
|
-
|
|
518
|
+
H([u({ context: lt, subscribe: !0 }), h()], D.prototype, "mode", 2), H([u({ context: ct, subscribe: !0 }), h()], D.prototype, "drawerState", 2), H([tt("#overlay")], D.prototype, "overlay", 2), H([tt("nav")], D.prototype, "nav", 2), H([l({ type: String })], D.prototype, "width", 2), H([h()], D.prototype, "_initialized", 2), D = H([p("schmancy-nav-drawer-navbar")], D);
|
|
503
519
|
var ne = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
|
|
504
520
|
for (var n, i = o > 1 ? void 0 : o ? ae(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
505
521
|
return o && i && ne(e, s, i), i;
|
|
@@ -559,12 +575,12 @@ let $ = class extends Z(w`
|
|
|
559
575
|
}
|
|
560
576
|
`) {
|
|
561
577
|
constructor() {
|
|
562
|
-
super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new
|
|
578
|
+
super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new gt(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (t) => {
|
|
563
579
|
if (this.disabled) return;
|
|
564
580
|
const e = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
565
581
|
if (e) {
|
|
566
582
|
const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
|
|
567
|
-
this.ripples = [...this.ripples, o],
|
|
583
|
+
this.ripples = [...this.ripples, o], It(600).pipe(B(() => {
|
|
568
584
|
this.ripples = this.ripples.filter((n) => n.id !== o.id);
|
|
569
585
|
}), j(this.disconnecting)).subscribe();
|
|
570
586
|
}
|
|
@@ -592,8 +608,8 @@ let $ = class extends Z(w`
|
|
|
592
608
|
setupNavigationStream() {
|
|
593
609
|
const t = this.shadowRoot?.querySelector("button");
|
|
594
610
|
if (!t) return;
|
|
595
|
-
const e =
|
|
596
|
-
Q(e, s).pipe(
|
|
611
|
+
const e = d(t, "click").pipe(V(() => !this.disabled)), s = d(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "), B((o) => o.preventDefault()));
|
|
612
|
+
Q(e, s).pipe(B(() => {
|
|
597
613
|
this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
|
|
598
614
|
}), j(this.disconnecting)).subscribe();
|
|
599
615
|
}
|
|
@@ -605,7 +621,7 @@ let $ = class extends Z(w`
|
|
|
605
621
|
this.setupNavigationStream();
|
|
606
622
|
}
|
|
607
623
|
render() {
|
|
608
|
-
const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 },
|
|
624
|
+
const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 }, kt = this.active ? { color: r.sys.color.secondary.onContainer } : { color: r.sys.color.surface.onVariant }, Ot = { "--focus-color": r.sys.color.primary.default };
|
|
609
625
|
return c`
|
|
610
626
|
<button
|
|
611
627
|
type="button"
|
|
@@ -616,15 +632,15 @@ let $ = class extends Z(w`
|
|
|
616
632
|
aria-pressed=${this.active}
|
|
617
633
|
aria-label=${this.label || "Navigation item"}
|
|
618
634
|
style=${this.styleMap({ ...Ot, "outline-color": "var(--focus-color)" })}
|
|
619
|
-
${P(
|
|
635
|
+
${P(kt)}
|
|
620
636
|
>
|
|
621
637
|
<!-- Icon with indicator background -->
|
|
622
638
|
<div class=${this.classMap(i)}>
|
|
623
639
|
<!-- Ripple effects -->
|
|
624
|
-
${this.ripples.map((
|
|
640
|
+
${this.ripples.map((dt) => c`
|
|
625
641
|
<span
|
|
626
642
|
class="ripple-effect"
|
|
627
|
-
style=${this.styleMap({ left: `${
|
|
643
|
+
style=${this.styleMap({ left: `${dt.x}px`, top: `${dt.y}px`, transform: "translate(-50%, -50%)" })}
|
|
628
644
|
></span>
|
|
629
645
|
`)}
|
|
630
646
|
|
|
@@ -665,7 +681,7 @@ let $ = class extends Z(w`
|
|
|
665
681
|
`;
|
|
666
682
|
}
|
|
667
683
|
};
|
|
668
|
-
I([l({ type: String })], $.prototype, "icon", 2), I([l({ type: String })], $.prototype, "label", 2), I([l({ type: String })], $.prototype, "badge", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "active", 1), I([l({ type: Boolean, reflect: !0 })], $.prototype, "disabled", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), I([
|
|
684
|
+
I([l({ type: String })], $.prototype, "icon", 2), I([l({ type: String })], $.prototype, "label", 2), I([l({ type: String })], $.prototype, "badge", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "active", 1), I([l({ type: Boolean, reflect: !0 })], $.prototype, "disabled", 2), I([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), I([h()], $.prototype, "ripples", 2), $ = I([p("schmancy-navigation-bar-item")], $);
|
|
669
685
|
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, z = (t, e, s, o) => {
|
|
670
686
|
for (var n, i = o > 1 ? void 0 : o ? ce(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
671
687
|
return o && i && le(e, s, i), i;
|
|
@@ -698,7 +714,7 @@ let C = class extends Z(w`
|
|
|
698
714
|
}
|
|
699
715
|
`) {
|
|
700
716
|
constructor() {
|
|
701
|
-
super(...arguments), this.activeIndex$ = new
|
|
717
|
+
super(...arguments), this.activeIndex$ = new gt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.handleItemClick = (t) => {
|
|
702
718
|
const e = this.getItems(), s = t.target, o = e.indexOf(s);
|
|
703
719
|
if (o !== -1 && this.activeIndex !== o) {
|
|
704
720
|
const n = this.activeIndex;
|
|
@@ -736,15 +752,15 @@ let C = class extends Z(w`
|
|
|
736
752
|
return t ? t.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
|
|
737
753
|
}
|
|
738
754
|
connectedCallback() {
|
|
739
|
-
super.connectedCallback(),
|
|
755
|
+
super.connectedCallback(), d(this, "bar-item-click").pipe(B((t) => this.handleItemClick(t)), j(this.disconnecting)).subscribe(), d(this, "keydown").pipe(B((t) => this.handleKeyDown(t)), j(this.disconnecting)).subscribe(), this.activeIndex$.pipe(j(this.disconnecting)).subscribe((t) => {
|
|
740
756
|
this.updateActiveStates(t);
|
|
741
|
-
}),
|
|
757
|
+
}), d(window, "fullscreen").pipe(B((t) => {
|
|
742
758
|
const e = t;
|
|
743
759
|
this.isFullscreen = e.detail;
|
|
744
760
|
}), j(this.disconnecting)).subscribe(), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
745
761
|
}
|
|
746
762
|
setupScrollListener() {
|
|
747
|
-
|
|
763
|
+
d(window, "scroll").pipe(Tt(100), wt(() => window.scrollY), Nt(), V(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), B(([t, e]) => {
|
|
748
764
|
const s = e < t;
|
|
749
765
|
e > t && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : s && this.isHiddenByScroll && (this.isHiddenByScroll = !1), e <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1);
|
|
750
766
|
}), j(this.disconnecting)).subscribe();
|
|
@@ -796,29 +812,29 @@ let C = class extends Z(w`
|
|
|
796
812
|
`;
|
|
797
813
|
}
|
|
798
814
|
};
|
|
799
|
-
z([l({ type: Number })], C.prototype, "activeIndex", 1), z([l({ type: Boolean, reflect: !0 })], C.prototype, "hideLabels", 2), z([l({ type: Number, reflect: !0 })], C.prototype, "elevation", 2), z([l({ type: Boolean, reflect: !0 })], C.prototype, "hideOnScroll", 2), z([
|
|
800
|
-
const
|
|
815
|
+
z([l({ type: Number })], C.prototype, "activeIndex", 1), z([l({ type: Boolean, reflect: !0 })], C.prototype, "hideLabels", 2), z([l({ type: Number, reflect: !0 })], C.prototype, "elevation", 2), z([l({ type: Boolean, reflect: !0 })], C.prototype, "hideOnScroll", 2), z([h()], C.prototype, "focusedIndex", 2), z([h()], C.prototype, "isHiddenByScroll", 2), z([h()], C.prototype, "isFullscreen", 2), C = z([p("schmancy-navigation-bar")], C);
|
|
816
|
+
const Ct = "whereAreYouRicky", St = "hereMorty", F = new class {
|
|
801
817
|
constructor() {
|
|
802
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([
|
|
803
|
-
window.dispatchEvent(new CustomEvent(
|
|
804
|
-
}))]).pipe(
|
|
818
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([d(window, St).pipe(vt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), g((e) => e.detail.component), zt(1)), J(t).pipe(O(() => {
|
|
819
|
+
window.dispatchEvent(new CustomEvent(Ct, { detail: { id: t.id, callerID: t.uuid } }));
|
|
820
|
+
}))]).pipe(g(([e]) => e), Mt(0)), this.flip = (t) => {
|
|
805
821
|
const { from: e, to: s } = t, o = s.element.style.zIndex;
|
|
806
822
|
s.element.style.transformOrigin = "top left", s.element.style.setProperty("visibility", "visible"), s.element.style.zIndex = "1000";
|
|
807
823
|
const n = [{ transform: `translate(${e.rect.left - s.rect.left}px, ${e.rect.top - s.rect.top}px) scale(${e.rect.width / s.rect.width}, ${e.rect.height / s.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
|
|
808
824
|
s.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
|
|
809
825
|
s.element.style.zIndex = o, s.element.style.transformOrigin = "";
|
|
810
826
|
};
|
|
811
|
-
}, this.flipRequests.pipe(
|
|
827
|
+
}, this.flipRequests.pipe(jt(1), g((t) => t.map(({ from: e, to: s, host: o }, n) => ({ from: e, to: s, host: o, i: n }))), Pt((t) => pt(t.map((e) => J(this.flip(e)))))).subscribe();
|
|
812
828
|
}
|
|
813
829
|
}();
|
|
814
|
-
function
|
|
815
|
-
return
|
|
830
|
+
function yt(t) {
|
|
831
|
+
return Rt(50).pipe(wt(() => t.getBoundingClientRect()), At((e, s) => e.width === s.width && e.height === s.height && e.top === s.top && e.right === s.right && e.bottom === s.bottom && e.left === s.left), _t(1));
|
|
816
832
|
}
|
|
817
|
-
var
|
|
818
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
819
|
-
return o && i &&
|
|
833
|
+
var de = Object.defineProperty, he = Object.getOwnPropertyDescriptor, Y = (t, e, s, o) => {
|
|
834
|
+
for (var n, i = o > 1 ? void 0 : o ? he(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
835
|
+
return o && i && de(e, s, i), i;
|
|
820
836
|
};
|
|
821
|
-
let X = class extends
|
|
837
|
+
let X = class extends R(w``) {
|
|
822
838
|
constructor() {
|
|
823
839
|
super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
824
840
|
}
|
|
@@ -827,19 +843,19 @@ let X = class extends W(w``) {
|
|
|
827
843
|
}
|
|
828
844
|
connectedCallback() {
|
|
829
845
|
if (this.id === void 0) throw new Error("id is required");
|
|
830
|
-
super.connectedCallback(), Q(
|
|
831
|
-
this.dispatchEvent(new CustomEvent(
|
|
832
|
-
} })),
|
|
833
|
-
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(
|
|
846
|
+
super.connectedCallback(), Q(d(window, Lt).pipe(O({ next: () => {
|
|
847
|
+
this.dispatchEvent(new CustomEvent(Bt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
848
|
+
} })), d(window, Ct).pipe(O({ next: (t) => {
|
|
849
|
+
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(St, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
834
850
|
} }))).pipe(m(this.disconnecting)).subscribe();
|
|
835
851
|
}
|
|
836
852
|
async firstUpdated() {
|
|
837
|
-
J(F.activeTeleportations.get(this.id)).pipe(
|
|
838
|
-
this.style.setProperty("visibility", "hidden"),
|
|
853
|
+
J(F.activeTeleportations.get(this.id)).pipe(vt((t) => !!t), m(this.disconnecting), Wt()).subscribe({ next: (t) => {
|
|
854
|
+
this.style.setProperty("visibility", "hidden"), yt(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
|
|
839
855
|
F.activeTeleportations.set(this.id, e), F.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
840
856
|
} });
|
|
841
857
|
}, error: () => {
|
|
842
|
-
this.style.setProperty("visibility", "visible"),
|
|
858
|
+
this.style.setProperty("visibility", "visible"), yt(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
|
|
843
859
|
F.activeTeleportations.set(this.id, t);
|
|
844
860
|
} });
|
|
845
861
|
}, complete: () => {
|
|
@@ -854,7 +870,7 @@ var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, S = (t, e,
|
|
|
854
870
|
for (var n, i = o > 1 ? void 0 : o ? ue(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
855
871
|
return o && i && pe(e, s, i), i;
|
|
856
872
|
};
|
|
857
|
-
let
|
|
873
|
+
let b = class extends R() {
|
|
858
874
|
constructor() {
|
|
859
875
|
super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
860
876
|
}
|
|
@@ -879,33 +895,33 @@ let f = class extends W() {
|
|
|
879
895
|
`;
|
|
880
896
|
}
|
|
881
897
|
};
|
|
882
|
-
S([l({ type: String })],
|
|
898
|
+
S([l({ type: String })], b.prototype, "initials", 2), S([l({ type: String })], b.prototype, "src", 2), S([l({ type: String })], b.prototype, "icon", 2), S([l({ type: String })], b.prototype, "size", 2), S([l({ type: String })], b.prototype, "color", 2), S([l({ type: String })], b.prototype, "shape", 2), S([l({ type: Boolean })], b.prototype, "bordered", 2), S([l({ type: String })], b.prototype, "status", 2), b = S([p("schmancy-avatar")], b);
|
|
883
899
|
export {
|
|
884
|
-
|
|
885
|
-
|
|
900
|
+
Es as $,
|
|
901
|
+
St as H,
|
|
886
902
|
k as S,
|
|
887
|
-
|
|
888
|
-
|
|
903
|
+
Ct as W,
|
|
904
|
+
ut as a,
|
|
889
905
|
rt as b,
|
|
890
|
-
|
|
891
|
-
|
|
906
|
+
xt as c,
|
|
907
|
+
$t as d,
|
|
892
908
|
nt as e,
|
|
893
909
|
at as f,
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
910
|
+
E as g,
|
|
911
|
+
N as h,
|
|
912
|
+
y as i,
|
|
897
913
|
Qt as j,
|
|
898
|
-
|
|
899
|
-
|
|
914
|
+
q as k,
|
|
915
|
+
mt as l,
|
|
900
916
|
lt as m,
|
|
901
917
|
ct as n,
|
|
902
|
-
|
|
903
|
-
|
|
918
|
+
f as o,
|
|
919
|
+
D as p,
|
|
904
920
|
$ as q,
|
|
905
921
|
C as r,
|
|
906
|
-
|
|
922
|
+
Os as s,
|
|
907
923
|
X as t,
|
|
908
924
|
F as u,
|
|
909
|
-
|
|
925
|
+
b as v
|
|
910
926
|
};
|
|
911
|
-
//# sourceMappingURL=avatar-
|
|
927
|
+
//# sourceMappingURL=avatar-CcHlQTbR.js.map
|