@mhmo91/schmancy 0.5.44 → 0.5.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{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-C6l64slz.js} +204 -195
- package/dist/avatar-C6l64slz.js.map +1 -0
- package/dist/{avatar-5cjrkZS5.cjs → avatar-wheGmG83.cjs} +39 -52
- package/dist/avatar-wheGmG83.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 +12 -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,70 +1,70 @@
|
|
|
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 Ot, debounceTime as G, map as g, distinctUntilChanged as et, tap as E, 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 Mt, timeout as zt, 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
|
-
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor,
|
|
67
|
+
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, z = (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);
|
|
69
69
|
return o && i && Xt(e, s, i), i;
|
|
70
70
|
};
|
|
@@ -157,46 +157,58 @@ let k = class extends Z(w`
|
|
|
157
157
|
`;
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
|
-
|
|
161
|
-
let
|
|
160
|
+
z([l({ type: String, reflect: !0 })], k.prototype, "color", 2), z([l({ type: String, reflect: !0 })], k.prototype, "size", 2), z([l({ type: String, reflect: !0 })], k.prototype, "shape", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "outlined", 2), z([l({ type: String })], k.prototype, "icon", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "pulse", 2), k = z([p("schmancy-badge")], k);
|
|
161
|
+
let ut = class extends k {
|
|
162
162
|
};
|
|
163
|
-
|
|
164
|
-
const
|
|
163
|
+
ut = z([p("sch-badge")], ut);
|
|
164
|
+
const Es = 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
|
-
|
|
190
|
-
}
|
|
191
|
-
push(t) {
|
|
192
|
-
this.$drawer.next({ action: "push", ref: window, component: t });
|
|
204
|
+
return null;
|
|
193
205
|
}
|
|
194
|
-
}(), rt =
|
|
195
|
-
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor,
|
|
206
|
+
}(), rt = T("push"), xt = T("close"), $t = T(Math.floor(Math.random() * Date.now()).toString()), nt = T("100%"), at = T({});
|
|
207
|
+
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, W = (t, e, s, o) => {
|
|
196
208
|
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
209
|
return o && i && Kt(e, s, i), i;
|
|
198
210
|
};
|
|
199
|
-
let O = class extends
|
|
211
|
+
let O = class extends R(w`
|
|
200
212
|
:host {
|
|
201
213
|
position: relative;
|
|
202
214
|
inset: 0;
|
|
@@ -208,45 +220,49 @@ let O = class extends W(w`
|
|
|
208
220
|
super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
209
221
|
}
|
|
210
222
|
firstUpdated() {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
223
|
+
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
224
|
+
}
|
|
225
|
+
setupResizeListener() {
|
|
226
|
+
Q(d(window, "resize"), d(window, v.ContentDrawerResize)).pipe(Ot(!0), G(100), g(() => this.clientWidth || window.innerWidth), g((t) => t >= this.minWidth.main + this.minWidth.sheet), et(), E(() => this.updateMaxHeight()), m(this.disconnecting)).subscribe((t) => this.updateMode(t));
|
|
227
|
+
}
|
|
228
|
+
setupToggleListener() {
|
|
229
|
+
d(window, v.ContentDrawerToggle).pipe(E((t) => t.stopPropagation()), g((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
|
|
218
230
|
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
231
|
});
|
|
224
232
|
}
|
|
233
|
+
setupRenderListener() {
|
|
234
|
+
d(window, "schmancy-content-drawer-render").pipe(E((t) => t.stopPropagation()), g((t) => t.detail), m(this.disconnecting)).subscribe((t) => this.handleRender(t));
|
|
235
|
+
}
|
|
236
|
+
updateMaxHeight() {
|
|
237
|
+
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
238
|
+
}
|
|
239
|
+
updateMode(t) {
|
|
240
|
+
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
241
|
+
}
|
|
242
|
+
handleRender(t) {
|
|
243
|
+
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 });
|
|
244
|
+
}
|
|
225
245
|
getOffsetTop(t) {
|
|
226
246
|
let e = 0;
|
|
227
247
|
for (; t; ) e += t.offsetTop, t = t.offsetParent;
|
|
228
248
|
return e;
|
|
229
249
|
}
|
|
230
250
|
render() {
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
flow="col"
|
|
236
|
-
justify="stretch"
|
|
237
|
-
align="stretch"
|
|
238
|
-
>
|
|
251
|
+
if (!this.mode || !this.open) return bt;
|
|
252
|
+
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(" ");
|
|
253
|
+
return c`
|
|
254
|
+
<div class=${t}>
|
|
239
255
|
<slot></slot>
|
|
240
|
-
</
|
|
241
|
-
|
|
256
|
+
</div>
|
|
257
|
+
`;
|
|
242
258
|
}
|
|
243
259
|
};
|
|
244
|
-
|
|
245
|
-
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor,
|
|
260
|
+
W([L({ context: at })], O.prototype, "minWidth", 2), W([L({ context: xt }), l()], O.prototype, "open", 2), W([L({ context: rt }), h()], O.prototype, "mode", 2), W([L({ context: $t })], O.prototype, "schmancyContentDrawerID", 2), W([L({ context: nt })], O.prototype, "maxHeight", 2), W([ft({ flatten: !0 })], O.prototype, "assignedElements", 2), O = W([p("schmancy-content-drawer")], O);
|
|
261
|
+
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, _ = (t, e, s, o) => {
|
|
246
262
|
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
263
|
return o && i && Yt(e, s, i), i;
|
|
248
264
|
};
|
|
249
|
-
let
|
|
265
|
+
let N = class extends R(w`
|
|
250
266
|
:host {
|
|
251
267
|
display: block;
|
|
252
268
|
overflow: hidden;
|
|
@@ -256,35 +272,28 @@ let T = class extends W(w`
|
|
|
256
272
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
|
|
257
273
|
}
|
|
258
274
|
update(t) {
|
|
259
|
-
super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
275
|
+
super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(v.ContentDrawerResize, { bubbles: !0, composed: !0 })));
|
|
260
276
|
}
|
|
261
277
|
render() {
|
|
262
|
-
const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
|
|
278
|
+
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
279
|
return c`
|
|
264
280
|
<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
|
-
>
|
|
281
|
+
<div class=${e}>
|
|
273
282
|
<section style=${this.styleMap(t)}>
|
|
274
283
|
<slot></slot>
|
|
275
284
|
</section>
|
|
276
|
-
</
|
|
285
|
+
</div>
|
|
277
286
|
${st(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
278
287
|
</section>
|
|
279
288
|
`;
|
|
280
289
|
}
|
|
281
290
|
};
|
|
282
|
-
|
|
291
|
+
_([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
292
|
var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, x = (t, e, s, o) => {
|
|
284
293
|
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
294
|
return o && i && Gt(e, s, i), i;
|
|
286
295
|
};
|
|
287
|
-
let
|
|
296
|
+
let y = class extends R(w`
|
|
288
297
|
:host {
|
|
289
298
|
overflow: scroll;
|
|
290
299
|
}
|
|
@@ -293,19 +302,19 @@ let b = class extends W(w`
|
|
|
293
302
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
294
303
|
}
|
|
295
304
|
updated(t) {
|
|
296
|
-
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
305
|
+
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
306
|
}
|
|
298
307
|
open() {
|
|
299
308
|
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
309
|
}
|
|
301
310
|
closeAll() {
|
|
302
|
-
Q(
|
|
311
|
+
Q(ht(this.closeModalSheet()), ht(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
|
|
303
312
|
}
|
|
304
313
|
closeModalSheet() {
|
|
305
|
-
return J(!0).pipe(
|
|
314
|
+
return J(!0).pipe(E(() => it.dismiss(this.schmancyContentDrawerID)));
|
|
306
315
|
}
|
|
307
316
|
closeSheet() {
|
|
308
|
-
return new
|
|
317
|
+
return new Dt((t) => {
|
|
309
318
|
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
319
|
this.sheet.style.display = "none", t.next(), t.complete();
|
|
311
320
|
};
|
|
@@ -322,11 +331,11 @@ let b = class extends W(w`
|
|
|
322
331
|
`;
|
|
323
332
|
}
|
|
324
333
|
};
|
|
325
|
-
x([l({ type: Number })],
|
|
334
|
+
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
335
|
const Qt = new class {
|
|
327
336
|
constructor() {
|
|
328
337
|
this.$drawer = new ot(), this.$drawer.pipe(G(10)).subscribe((t) => {
|
|
329
|
-
t.state ? window.dispatchEvent(new CustomEvent(
|
|
338
|
+
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
339
|
});
|
|
331
340
|
}
|
|
332
341
|
open(t) {
|
|
@@ -335,12 +344,12 @@ const Qt = new class {
|
|
|
335
344
|
close(t) {
|
|
336
345
|
this.$drawer.next({ self: t, state: !1 });
|
|
337
346
|
}
|
|
338
|
-
}(), Os = Qt, lt =
|
|
347
|
+
}(), Os = Qt, lt = T("push"), ct = T("close");
|
|
339
348
|
var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, U = (t, e, s, o) => {
|
|
340
349
|
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
350
|
return o && i && Zt(e, s, i), i;
|
|
342
351
|
};
|
|
343
|
-
let
|
|
352
|
+
let q = class extends Z(w`
|
|
344
353
|
:host {
|
|
345
354
|
display: block;
|
|
346
355
|
}
|
|
@@ -356,7 +365,7 @@ let _ = class extends Z(w`
|
|
|
356
365
|
<div class="${this.classMap(t)}">
|
|
357
366
|
<schmancy-icon-button
|
|
358
367
|
@click=${() => {
|
|
359
|
-
this.dispatchEvent(new CustomEvent(
|
|
368
|
+
this.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
|
|
360
369
|
}}
|
|
361
370
|
>
|
|
362
371
|
${st(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
|
|
@@ -369,9 +378,9 @@ let _ = class extends Z(w`
|
|
|
369
378
|
`;
|
|
370
379
|
}
|
|
371
380
|
};
|
|
372
|
-
U([u({ context: lt, subscribe: !0 }),
|
|
381
|
+
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
382
|
var ee = Object.getOwnPropertyDescriptor;
|
|
374
|
-
let
|
|
383
|
+
let mt = class extends R(w`
|
|
375
384
|
:host {
|
|
376
385
|
display: block;
|
|
377
386
|
position: relative;
|
|
@@ -380,7 +389,7 @@ let yt = class extends W(w`
|
|
|
380
389
|
}
|
|
381
390
|
`) {
|
|
382
391
|
connectedCallback() {
|
|
383
|
-
super.connectedCallback(),
|
|
392
|
+
super.connectedCallback(), d(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
|
|
384
393
|
this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
|
|
385
394
|
});
|
|
386
395
|
}
|
|
@@ -388,15 +397,15 @@ let yt = class extends W(w`
|
|
|
388
397
|
return c` <slot></slot> `;
|
|
389
398
|
}
|
|
390
399
|
};
|
|
391
|
-
|
|
400
|
+
mt = ((t, e, s, o) => {
|
|
392
401
|
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
402
|
return i;
|
|
394
|
-
})([p("schmancy-nav-drawer-content")],
|
|
403
|
+
})([p("schmancy-nav-drawer-content")], mt);
|
|
395
404
|
var se = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, A = (t, e, s, o) => {
|
|
396
405
|
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
406
|
return o && i && se(e, s, i), i;
|
|
398
407
|
};
|
|
399
|
-
let
|
|
408
|
+
let f = class extends R(w`
|
|
400
409
|
:host {
|
|
401
410
|
display: flex;
|
|
402
411
|
flex-grow: 1;
|
|
@@ -413,19 +422,19 @@ let g = class extends W(w`
|
|
|
413
422
|
super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
|
|
414
423
|
}
|
|
415
424
|
firstUpdated() {
|
|
416
|
-
this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""),
|
|
425
|
+
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
426
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
418
|
-
}),
|
|
427
|
+
}), d(window, "fullscreen").pipe(E((t) => {
|
|
419
428
|
const e = t;
|
|
420
429
|
this.fullscreen = e.detail;
|
|
421
|
-
}), m(this.disconnecting)).subscribe(),
|
|
430
|
+
}), m(this.disconnecting)).subscribe(), d(window, v.NavDrawer_toggle).pipe(E((t) => {
|
|
422
431
|
t.stopPropagation();
|
|
423
|
-
}),
|
|
432
|
+
}), g((t) => t.detail.state), et(), m(this.disconnecting), G(10)).subscribe((t) => {
|
|
424
433
|
this.mode === "push" && t === "close" || (this.open = t);
|
|
425
434
|
});
|
|
426
435
|
}
|
|
427
436
|
updateState(t) {
|
|
428
|
-
const e = t >=
|
|
437
|
+
const e = t >= f.BREAKPOINTS[this.breakpoint];
|
|
429
438
|
this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
|
|
430
439
|
}
|
|
431
440
|
render() {
|
|
@@ -436,20 +445,20 @@ let g = class extends W(w`
|
|
|
436
445
|
flow="col"
|
|
437
446
|
justify="stretch"
|
|
438
447
|
align="stretch"
|
|
439
|
-
${
|
|
448
|
+
${qt()}
|
|
440
449
|
>
|
|
441
450
|
<slot></slot>
|
|
442
451
|
</schmancy-grid>
|
|
443
|
-
` :
|
|
452
|
+
` : bt;
|
|
444
453
|
}
|
|
445
454
|
};
|
|
446
|
-
|
|
447
|
-
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor,
|
|
455
|
+
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);
|
|
456
|
+
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
|
|
448
457
|
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
458
|
return o && i && oe(e, s, i), i;
|
|
450
459
|
};
|
|
451
460
|
const K = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
452
|
-
let
|
|
461
|
+
let D = class extends R() {
|
|
453
462
|
constructor() {
|
|
454
463
|
super(...arguments), this.width = "220px", this._initialized = !1;
|
|
455
464
|
}
|
|
@@ -478,7 +487,7 @@ let E = class extends W() {
|
|
|
478
487
|
};
|
|
479
488
|
}
|
|
480
489
|
handleOverlayClick() {
|
|
481
|
-
window.dispatchEvent(new CustomEvent(
|
|
490
|
+
window.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
482
491
|
}
|
|
483
492
|
render() {
|
|
484
493
|
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 +508,7 @@ let E = class extends W() {
|
|
|
499
508
|
`;
|
|
500
509
|
}
|
|
501
510
|
};
|
|
502
|
-
|
|
511
|
+
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
512
|
var ne = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
|
|
504
513
|
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
514
|
return o && i && ne(e, s, i), i;
|
|
@@ -559,12 +568,12 @@ let $ = class extends Z(w`
|
|
|
559
568
|
}
|
|
560
569
|
`) {
|
|
561
570
|
constructor() {
|
|
562
|
-
super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new
|
|
571
|
+
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
572
|
if (this.disabled) return;
|
|
564
573
|
const e = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
565
574
|
if (e) {
|
|
566
575
|
const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
|
|
567
|
-
this.ripples = [...this.ripples, o],
|
|
576
|
+
this.ripples = [...this.ripples, o], It(600).pipe(B(() => {
|
|
568
577
|
this.ripples = this.ripples.filter((n) => n.id !== o.id);
|
|
569
578
|
}), j(this.disconnecting)).subscribe();
|
|
570
579
|
}
|
|
@@ -592,8 +601,8 @@ let $ = class extends Z(w`
|
|
|
592
601
|
setupNavigationStream() {
|
|
593
602
|
const t = this.shadowRoot?.querySelector("button");
|
|
594
603
|
if (!t) return;
|
|
595
|
-
const e =
|
|
596
|
-
Q(e, s).pipe(
|
|
604
|
+
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()));
|
|
605
|
+
Q(e, s).pipe(B(() => {
|
|
597
606
|
this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
|
|
598
607
|
}), j(this.disconnecting)).subscribe();
|
|
599
608
|
}
|
|
@@ -605,7 +614,7 @@ let $ = class extends Z(w`
|
|
|
605
614
|
this.setupNavigationStream();
|
|
606
615
|
}
|
|
607
616
|
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 },
|
|
617
|
+
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 }, Et = { "--focus-color": r.sys.color.primary.default };
|
|
609
618
|
return c`
|
|
610
619
|
<button
|
|
611
620
|
type="button"
|
|
@@ -615,16 +624,16 @@ let $ = class extends Z(w`
|
|
|
615
624
|
?disabled=${this.disabled}
|
|
616
625
|
aria-pressed=${this.active}
|
|
617
626
|
aria-label=${this.label || "Navigation item"}
|
|
618
|
-
style=${this.styleMap({ ...
|
|
619
|
-
${P(
|
|
627
|
+
style=${this.styleMap({ ...Et, "outline-color": "var(--focus-color)" })}
|
|
628
|
+
${P(kt)}
|
|
620
629
|
>
|
|
621
630
|
<!-- Icon with indicator background -->
|
|
622
631
|
<div class=${this.classMap(i)}>
|
|
623
632
|
<!-- Ripple effects -->
|
|
624
|
-
${this.ripples.map((
|
|
633
|
+
${this.ripples.map((dt) => c`
|
|
625
634
|
<span
|
|
626
635
|
class="ripple-effect"
|
|
627
|
-
style=${this.styleMap({ left: `${
|
|
636
|
+
style=${this.styleMap({ left: `${dt.x}px`, top: `${dt.y}px`, transform: "translate(-50%, -50%)" })}
|
|
628
637
|
></span>
|
|
629
638
|
`)}
|
|
630
639
|
|
|
@@ -665,8 +674,8 @@ let $ = class extends Z(w`
|
|
|
665
674
|
`;
|
|
666
675
|
}
|
|
667
676
|
};
|
|
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([
|
|
669
|
-
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor,
|
|
677
|
+
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")], $);
|
|
678
|
+
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, M = (t, e, s, o) => {
|
|
670
679
|
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
680
|
return o && i && le(e, s, i), i;
|
|
672
681
|
};
|
|
@@ -698,7 +707,7 @@ let C = class extends Z(w`
|
|
|
698
707
|
}
|
|
699
708
|
`) {
|
|
700
709
|
constructor() {
|
|
701
|
-
super(...arguments), this.activeIndex$ = new
|
|
710
|
+
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
711
|
const e = this.getItems(), s = t.target, o = e.indexOf(s);
|
|
703
712
|
if (o !== -1 && this.activeIndex !== o) {
|
|
704
713
|
const n = this.activeIndex;
|
|
@@ -736,15 +745,15 @@ let C = class extends Z(w`
|
|
|
736
745
|
return t ? t.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
|
|
737
746
|
}
|
|
738
747
|
connectedCallback() {
|
|
739
|
-
super.connectedCallback(),
|
|
748
|
+
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
749
|
this.updateActiveStates(t);
|
|
741
|
-
}),
|
|
750
|
+
}), d(window, "fullscreen").pipe(B((t) => {
|
|
742
751
|
const e = t;
|
|
743
752
|
this.isFullscreen = e.detail;
|
|
744
753
|
}), j(this.disconnecting)).subscribe(), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
745
754
|
}
|
|
746
755
|
setupScrollListener() {
|
|
747
|
-
|
|
756
|
+
d(window, "scroll").pipe(Tt(100), wt(() => window.scrollY), Nt(), V(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), B(([t, e]) => {
|
|
748
757
|
const s = e < t;
|
|
749
758
|
e > t && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : s && this.isHiddenByScroll && (this.isHiddenByScroll = !1), e <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1);
|
|
750
759
|
}), j(this.disconnecting)).subscribe();
|
|
@@ -796,29 +805,29 @@ let C = class extends Z(w`
|
|
|
796
805
|
`;
|
|
797
806
|
}
|
|
798
807
|
};
|
|
799
|
-
|
|
800
|
-
const
|
|
808
|
+
M([l({ type: Number })], C.prototype, "activeIndex", 1), M([l({ type: Boolean, reflect: !0 })], C.prototype, "hideLabels", 2), M([l({ type: Number, reflect: !0 })], C.prototype, "elevation", 2), M([l({ type: Boolean, reflect: !0 })], C.prototype, "hideOnScroll", 2), M([h()], C.prototype, "focusedIndex", 2), M([h()], C.prototype, "isHiddenByScroll", 2), M([h()], C.prototype, "isFullscreen", 2), C = M([p("schmancy-navigation-bar")], C);
|
|
809
|
+
const Ct = "whereAreYouRicky", St = "hereMorty", F = new class {
|
|
801
810
|
constructor() {
|
|
802
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([
|
|
803
|
-
window.dispatchEvent(new CustomEvent(
|
|
804
|
-
}))]).pipe(
|
|
811
|
+
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), Mt(1)), J(t).pipe(E(() => {
|
|
812
|
+
window.dispatchEvent(new CustomEvent(Ct, { detail: { id: t.id, callerID: t.uuid } }));
|
|
813
|
+
}))]).pipe(g(([e]) => e), zt(0)), this.flip = (t) => {
|
|
805
814
|
const { from: e, to: s } = t, o = s.element.style.zIndex;
|
|
806
815
|
s.element.style.transformOrigin = "top left", s.element.style.setProperty("visibility", "visible"), s.element.style.zIndex = "1000";
|
|
807
816
|
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
817
|
s.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
|
|
809
818
|
s.element.style.zIndex = o, s.element.style.transformOrigin = "";
|
|
810
819
|
};
|
|
811
|
-
}, this.flipRequests.pipe(
|
|
820
|
+
}, 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
821
|
}
|
|
813
822
|
}();
|
|
814
|
-
function
|
|
815
|
-
return
|
|
823
|
+
function yt(t) {
|
|
824
|
+
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
825
|
}
|
|
817
|
-
var
|
|
818
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
819
|
-
return o && i &&
|
|
826
|
+
var de = Object.defineProperty, he = Object.getOwnPropertyDescriptor, Y = (t, e, s, o) => {
|
|
827
|
+
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);
|
|
828
|
+
return o && i && de(e, s, i), i;
|
|
820
829
|
};
|
|
821
|
-
let X = class extends
|
|
830
|
+
let X = class extends R(w``) {
|
|
822
831
|
constructor() {
|
|
823
832
|
super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
824
833
|
}
|
|
@@ -827,19 +836,19 @@ let X = class extends W(w``) {
|
|
|
827
836
|
}
|
|
828
837
|
connectedCallback() {
|
|
829
838
|
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(
|
|
839
|
+
super.connectedCallback(), Q(d(window, Lt).pipe(E({ next: () => {
|
|
840
|
+
this.dispatchEvent(new CustomEvent(Bt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
841
|
+
} })), d(window, Ct).pipe(E({ next: (t) => {
|
|
842
|
+
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
843
|
} }))).pipe(m(this.disconnecting)).subscribe();
|
|
835
844
|
}
|
|
836
845
|
async firstUpdated() {
|
|
837
|
-
J(F.activeTeleportations.get(this.id)).pipe(
|
|
838
|
-
this.style.setProperty("visibility", "hidden"),
|
|
846
|
+
J(F.activeTeleportations.get(this.id)).pipe(vt((t) => !!t), m(this.disconnecting), Wt()).subscribe({ next: (t) => {
|
|
847
|
+
this.style.setProperty("visibility", "hidden"), yt(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
|
|
839
848
|
F.activeTeleportations.set(this.id, e), F.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
840
849
|
} });
|
|
841
850
|
}, error: () => {
|
|
842
|
-
this.style.setProperty("visibility", "visible"),
|
|
851
|
+
this.style.setProperty("visibility", "visible"), yt(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
|
|
843
852
|
F.activeTeleportations.set(this.id, t);
|
|
844
853
|
} });
|
|
845
854
|
}, complete: () => {
|
|
@@ -854,7 +863,7 @@ var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, S = (t, e,
|
|
|
854
863
|
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
864
|
return o && i && pe(e, s, i), i;
|
|
856
865
|
};
|
|
857
|
-
let
|
|
866
|
+
let b = class extends R() {
|
|
858
867
|
constructor() {
|
|
859
868
|
super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
860
869
|
}
|
|
@@ -879,33 +888,33 @@ let f = class extends W() {
|
|
|
879
888
|
`;
|
|
880
889
|
}
|
|
881
890
|
};
|
|
882
|
-
S([l({ type: String })],
|
|
891
|
+
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
892
|
export {
|
|
884
893
|
Os as $,
|
|
885
|
-
|
|
894
|
+
St as H,
|
|
886
895
|
k as S,
|
|
887
|
-
|
|
888
|
-
|
|
896
|
+
Ct as W,
|
|
897
|
+
ut as a,
|
|
889
898
|
rt as b,
|
|
890
|
-
|
|
891
|
-
|
|
899
|
+
xt as c,
|
|
900
|
+
$t as d,
|
|
892
901
|
nt as e,
|
|
893
902
|
at as f,
|
|
894
903
|
O as g,
|
|
895
|
-
|
|
896
|
-
|
|
904
|
+
N as h,
|
|
905
|
+
y as i,
|
|
897
906
|
Qt as j,
|
|
898
|
-
|
|
899
|
-
|
|
907
|
+
q as k,
|
|
908
|
+
mt as l,
|
|
900
909
|
lt as m,
|
|
901
910
|
ct as n,
|
|
902
|
-
|
|
903
|
-
|
|
911
|
+
f as o,
|
|
912
|
+
D as p,
|
|
904
913
|
$ as q,
|
|
905
914
|
C as r,
|
|
906
|
-
|
|
915
|
+
Es as s,
|
|
907
916
|
X as t,
|
|
908
917
|
F as u,
|
|
909
|
-
|
|
918
|
+
b as v
|
|
910
919
|
};
|
|
911
|
-
//# sourceMappingURL=avatar-
|
|
920
|
+
//# sourceMappingURL=avatar-C6l64slz.js.map
|