@mhmo91/schmancy 0.4.91 → 0.4.93
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/area.md +181 -968
- package/dist/ai/area.md +181 -968
- package/dist/{animated-text-xlSXYbRY.cjs → animated-text-Dqrad7cv.cjs} +2 -2
- package/dist/{animated-text-xlSXYbRY.cjs.map → animated-text-Dqrad7cv.cjs.map} +1 -1
- package/dist/{animated-text-CE25uxIq.js → animated-text-mNos9Gw8.js} +3 -3
- package/dist/{animated-text-CE25uxIq.js.map → animated-text-mNos9Gw8.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.js +1 -1
- package/dist/{autocomplete-BrcVARei.js → autocomplete-CMxXFeC_.js} +35 -35
- package/dist/autocomplete-CMxXFeC_.js.map +1 -0
- package/dist/{autocomplete-BJKuzyUg.cjs → autocomplete-CzYbBt-K.cjs} +6 -6
- package/dist/autocomplete-CzYbBt-K.cjs.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-CH6xAiaz.cjs → avatar-CGGPvamo.cjs} +21 -69
- package/dist/avatar-CGGPvamo.cjs.map +1 -0
- package/dist/{avatar-2XjX7xHh.js → avatar-CH-EctMv.js} +156 -203
- package/dist/avatar-CH-EctMv.js.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-pedGlD9G.cjs → boat-feSRWu7P.cjs} +2 -2
- package/dist/{boat-pedGlD9G.cjs.map → boat-feSRWu7P.cjs.map} +1 -1
- package/dist/{boat-DjkboEvz.js → boat-xekVVZab.js} +2 -2
- package/dist/{boat-DjkboEvz.js.map → boat-xekVVZab.js.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-tC2o2KPO.js → checkbox-DTfIF2XH.js} +2 -2
- package/dist/{checkbox-tC2o2KPO.js.map → checkbox-DTfIF2XH.js.map} +1 -1
- package/dist/{checkbox-BFsHGpGO.cjs → checkbox-DwBANLb6.cjs} +2 -2
- package/dist/{checkbox-BFsHGpGO.cjs.map → checkbox-DwBANLb6.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-CaQfMLUC.js → chips-7TbOS1By.js} +56 -67
- package/dist/{chips-CaQfMLUC.js.map → chips-7TbOS1By.js.map} +1 -1
- package/dist/{chips-BUDd-Se_.cjs → chips-DORDPg5b.cjs} +10 -21
- package/dist/{chips-BUDd-Se_.cjs.map → chips-DORDPg5b.cjs.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-dFXCzXKx.js → code-preview-DWDE2pUe.js} +2 -2
- package/dist/{code-preview-dFXCzXKx.js.map → code-preview-DWDE2pUe.js.map} +1 -1
- package/dist/{code-preview-DpoxEUM7.cjs → code-preview-DqFuxCjV.cjs} +2 -2
- package/dist/{code-preview-DpoxEUM7.cjs.map → code-preview-DqFuxCjV.cjs.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-BMlo50YP.cjs → date-range-DwdO0vNv.cjs} +2 -2
- package/dist/{date-range-BMlo50YP.cjs.map → date-range-DwdO0vNv.cjs.map} +1 -1
- package/dist/{date-range-inline-FIDbZiar.cjs → date-range-inline-B1WaAPY6.cjs} +2 -2
- package/dist/{date-range-inline-FIDbZiar.cjs.map → date-range-inline-B1WaAPY6.cjs.map} +1 -1
- package/dist/{date-range-inline-BX0qnRUj.js → date-range-inline-yYh4Uw-k.js} +3 -3
- package/dist/{date-range-inline-BX0qnRUj.js.map → date-range-inline-yYh4Uw-k.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/{date-range-DDr3pL_X.js → date-range-s2EHTGQM.js} +4 -4
- package/dist/{date-range-DDr3pL_X.js.map → date-range-s2EHTGQM.js.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-CGWe8yFV.js → delay-D19Mpit_.js} +2 -2
- package/dist/{delay-CGWe8yFV.js.map → delay-D19Mpit_.js.map} +1 -1
- package/dist/{delay-xtpIck-Z.cjs → delay-l2gPaJoH.cjs} +2 -2
- package/dist/{delay-xtpIck-Z.cjs.map → delay-l2gPaJoH.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-DcxMoj1H.js → details-CEu4oDP7.js} +2 -2
- package/dist/{details-DcxMoj1H.js.map → details-CEu4oDP7.js.map} +1 -1
- package/dist/{details-4QmeW0uP.cjs → details-LNuoItTO.cjs} +2 -2
- package/dist/{details-4QmeW0uP.cjs.map → details-LNuoItTO.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-CusT_84B.cjs → dialog-content-6wVlm9RL.cjs} +2 -2
- package/dist/{dialog-content-CusT_84B.cjs.map → dialog-content-6wVlm9RL.cjs.map} +1 -1
- package/dist/{dialog-content-BfaVybIp.js → dialog-content-CQ3Xi4_b.js} +4 -4
- package/dist/{dialog-content-BfaVybIp.js.map → dialog-content-CQ3Xi4_b.js.map} +1 -1
- package/dist/dialog-service-CgJH8clD.cjs +2 -0
- package/dist/dialog-service-CgJH8clD.cjs.map +1 -0
- package/dist/{dialog-service-DwhuICgc.js → dialog-service-PQ9ssbsY.js} +53 -47
- package/dist/dialog-service-PQ9ssbsY.js.map +1 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +2 -2
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +6 -4
- package/dist/directives.js.map +1 -1
- package/dist/divider-5OCZNBJ7.js +22 -0
- package/dist/divider-5OCZNBJ7.js.map +1 -0
- package/dist/divider-auzbAyaR.cjs +2 -0
- package/dist/divider-auzbAyaR.cjs.map +1 -0
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-CDAX41cX.cjs → dropdown-content-BI541LSK.cjs} +5 -10
- package/dist/dropdown-content-BI541LSK.cjs.map +1 -0
- package/dist/{dropdown-content-DA6wal4A.js → dropdown-content-BLZviV1z.js} +40 -41
- package/dist/dropdown-content-BLZviV1z.js.map +1 -0
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-OBogh7Uo.cjs → email-recipients-DizBUcJ2.cjs} +24 -24
- package/dist/email-recipients-DizBUcJ2.cjs.map +1 -0
- package/dist/{email-recipients-BFhkzOzI.js → email-recipients-JeGKXcBj.js} +141 -144
- package/dist/email-recipients-JeGKXcBj.js.map +1 -0
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-B7tsIv60.cjs → flex-BN7HdoGW.cjs} +2 -2
- package/dist/{flex-B7tsIv60.cjs.map → flex-BN7HdoGW.cjs.map} +1 -1
- package/dist/{flex-C2ER0I8V.js → flex-ro_7y02P.js} +2 -2
- package/dist/{flex-C2ER0I8V.js.map → flex-ro_7y02P.js.map} +1 -1
- package/dist/{form-Bkg6Q_f5.js → form-BqGTSZpr.js} +11 -23
- package/dist/form-BqGTSZpr.js.map +1 -0
- package/dist/form-DT6f2KNH.cjs +2 -0
- package/dist/form-DT6f2KNH.cjs.map +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-Bp77n7z6.cjs → formField.mixin-CSy0dZ7Q.cjs} +2 -2
- package/dist/{formField.mixin-Bp77n7z6.cjs.map → formField.mixin-CSy0dZ7Q.cjs.map} +1 -1
- package/dist/{formField.mixin-as1q6J0T.js → formField.mixin-DtegNyKv.js} +2 -2
- package/dist/{formField.mixin-as1q6J0T.js.map → formField.mixin-DtegNyKv.js.map} +1 -1
- package/dist/{icon-CLzd6U7v.js → icon-CSxxuGxN.js} +2 -2
- package/dist/{icon-CLzd6U7v.js.map → icon-CSxxuGxN.js.map} +1 -1
- package/dist/{icon-BYd5Gta6.cjs → icon-GaL2G_1M.cjs} +2 -2
- package/dist/{icon-BYd5Gta6.cjs.map → icon-GaL2G_1M.cjs.map} +1 -1
- package/dist/{icon-button-U9gN6pT3.js → icon-button-B0jLowAy.js} +5 -5
- package/dist/icon-button-B0jLowAy.js.map +1 -0
- package/dist/{icon-button-DNg0mA1P.cjs → icon-button-DkvwZOHF.cjs} +4 -4
- package/dist/icon-button-DkvwZOHF.cjs.map +1 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +162 -160
- package/dist/index.js.map +1 -1
- package/dist/{input-CX1jyK-P.js → input-D0c-WhDi.js} +40 -44
- package/dist/input-D0c-WhDi.js.map +1 -0
- package/dist/input-fPWOjQgP.cjs +51 -0
- package/dist/input-fPWOjQgP.cjs.map +1 -0
- 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/lazy-DObpkuL6.cjs.map +1 -1
- package/dist/lazy-E2LCDm7n.js.map +1 -1
- package/dist/{list-BMR8QRo0.js → list-3Ity7MFT.js} +2 -2
- package/dist/{list-BMR8QRo0.js.map → list-3Ity7MFT.js.map} +1 -1
- package/dist/{list-DZPMOfrH.cjs → list-CbXXjBUM.cjs} +2 -2
- package/dist/{list-DZPMOfrH.cjs.map → list-CbXXjBUM.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-De6F4bUs.cjs → litElement.mixin-DFG5Ckp7.cjs} +2 -2
- package/dist/{litElement.mixin-De6F4bUs.cjs.map → litElement.mixin-DFG5Ckp7.cjs.map} +1 -1
- package/dist/{litElement.mixin-C9e4ffot.js → litElement.mixin-Efwm8boA.js} +2 -2
- package/dist/{litElement.mixin-C9e4ffot.js.map → litElement.mixin-Efwm8boA.js.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-E2MqAGzQ.js → map-BCQwFMpm.js} +2 -2
- package/dist/{map-E2MqAGzQ.js.map → map-BCQwFMpm.js.map} +1 -1
- package/dist/{map-ORYWFuxx.cjs → map-DeRVVjHa.cjs} +2 -2
- package/dist/{map-ORYWFuxx.cjs.map → map-DeRVVjHa.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/media-CL9LNHic.cjs +226 -0
- package/dist/media-CL9LNHic.cjs.map +1 -0
- package/dist/media-nVQjNoX7.js +307 -0
- package/dist/media-nVQjNoX7.js.map +1 -0
- package/dist/{menu-Cm1jwIsB.js → menu-CusvB2dY.js} +3 -3
- package/dist/{menu-Cm1jwIsB.js.map → menu-CusvB2dY.js.map} +1 -1
- package/dist/{menu-DJuRr_aL.cjs → menu-Delwe6al.cjs} +2 -2
- package/dist/{menu-DJuRr_aL.cjs.map → menu-Delwe6al.cjs.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/{notification-service-CTlTTCbP.cjs → notification-service-BwcUY8O5.cjs} +7 -7
- package/dist/notification-service-BwcUY8O5.cjs.map +1 -0
- package/dist/{notification-service-CiE9ITno.js → notification-service-DiTgelcm.js} +65 -60
- package/dist/notification-service-DiTgelcm.js.map +1 -0
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-Da9oU7Jf.cjs → notify-C81e8flx.cjs} +2 -2
- package/dist/{notify-Da9oU7Jf.cjs.map → notify-C81e8flx.cjs.map} +1 -1
- package/dist/{notify-DA2N7Zvr.js → notify-JNbirYT5.js} +2 -2
- package/dist/{notify-DA2N7Zvr.js.map → notify-JNbirYT5.js.map} +1 -1
- package/dist/{option-D8BWjBZV.cjs → option-D4XcuvRK.cjs} +5 -5
- package/dist/option-D4XcuvRK.cjs.map +1 -0
- package/dist/{option-svgZq3Hw.js → option-dihFw6qv.js} +12 -12
- package/dist/option-dihFw6qv.js.map +1 -0
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-18_ZqMt5.cjs → payment-card-form-CIm57Nfa.cjs} +2 -2
- package/dist/{payment-card-form-18_ZqMt5.cjs.map → payment-card-form-CIm57Nfa.cjs.map} +1 -1
- package/dist/{payment-card-form-BU57CRS3.js → payment-card-form-pDuTrWgZ.js} +3 -3
- package/dist/{payment-card-form-BU57CRS3.js.map → payment-card-form-pDuTrWgZ.js.map} +1 -1
- package/dist/{progress-B3-p0pjn.cjs → progress-BETtTl0y.cjs} +2 -2
- package/dist/{progress-B3-p0pjn.cjs.map → progress-BETtTl0y.cjs.map} +1 -1
- package/dist/{progress-y5p1ltND.js → progress-C4o_zWvg.js} +2 -2
- package/dist/{progress-y5p1ltND.js.map → progress-C4o_zWvg.js.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-DINgMpZS.js → radio-button-DaSKbB-Z.js} +27 -27
- package/dist/radio-button-DaSKbB-Z.js.map +1 -0
- package/dist/radio-button-h6y0tWJQ.cjs +41 -0
- package/dist/radio-button-h6y0tWJQ.cjs.map +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{ripple-BumgqsDT.js → ripple-Cy-nvO8W.js} +24 -22
- package/dist/ripple-Cy-nvO8W.js.map +1 -0
- package/dist/ripple-DqQrvaTe.cjs +16 -0
- package/dist/ripple-DqQrvaTe.cjs.map +1 -0
- package/dist/route.component-BaefEO15.js +320 -0
- package/dist/route.component-BaefEO15.js.map +1 -0
- package/dist/route.component-DzBfI9eE.cjs +12 -0
- package/dist/route.component-DzBfI9eE.cjs.map +1 -0
- package/dist/{schmancy-steps-container-DLHL9mKo.cjs → schmancy-steps-container-DpM5Kvt3.cjs} +2 -2
- package/dist/{schmancy-steps-container-DLHL9mKo.cjs.map → schmancy-steps-container-DpM5Kvt3.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-Dhq8V1Jy.js → schmancy-steps-container-uRaJiCZE.js} +2 -2
- package/dist/{schmancy-steps-container-Dhq8V1Jy.js.map → schmancy-steps-container-uRaJiCZE.js.map} +1 -1
- package/dist/select-ClFVeWZA.cjs +57 -0
- package/dist/select-ClFVeWZA.cjs.map +1 -0
- package/dist/{select-DXcdeHjY.js → select-uQ5xnOKn.js} +17 -16
- package/dist/select-uQ5xnOKn.js.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-BJ_P15Uh.cjs → sheet-CEcMgg-2.cjs} +2 -2
- package/dist/{sheet-BJ_P15Uh.cjs.map → sheet-CEcMgg-2.cjs.map} +1 -1
- package/dist/{sheet-DFY331sa.js → sheet-CvvdxIUZ.js} +3 -3
- package/dist/{sheet-DFY331sa.js.map → sheet-CvvdxIUZ.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-6VTsJJth.js → slider-DyxIZ-hn.js} +3 -3
- package/dist/{slider-6VTsJJth.js.map → slider-DyxIZ-hn.js.map} +1 -1
- package/dist/{slider-C8YC6MCP.cjs → slider-T8sYw1p-.cjs} +2 -2
- package/dist/{slider-C8YC6MCP.cjs.map → slider-T8sYw1p-.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-B4DEcQwc.js → spinner-D9fC8P3H.js} +2 -2
- package/dist/{spinner-B4DEcQwc.js.map → spinner-D9fC8P3H.js.map} +1 -1
- package/dist/{spinner-BCCCQMeS.cjs → spinner-DJviKuwJ.cjs} +2 -2
- package/dist/{spinner-BCCCQMeS.cjs.map → spinner-DJviKuwJ.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-CrfGHJEt.cjs → surface-B_SGQ1f7.cjs} +2 -2
- package/dist/{surface-CrfGHJEt.cjs.map → surface-B_SGQ1f7.cjs.map} +1 -1
- package/dist/{surface-B9w3VOkr.js → surface-CUyYCpFl.js} +2 -2
- package/dist/{surface-B9w3VOkr.js.map → surface-CUyYCpFl.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-ClOXrs2P.cjs → table-C-sWuoAy.cjs} +2 -2
- package/dist/{table-ClOXrs2P.cjs.map → table-C-sWuoAy.cjs.map} +1 -1
- package/dist/{table-pJ6NI0tm.js → table-D7p7a-Ag.js} +2 -2
- package/dist/{table-pJ6NI0tm.js.map → table-D7p7a-Ag.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-Cv0h7xqj.js → tabs-compatibility-Dn8bSEvA.js} +2 -2
- package/dist/{tabs-compatibility-Cv0h7xqj.js.map → tabs-compatibility-Dn8bSEvA.js.map} +1 -1
- package/dist/{tabs-compatibility-BgtRf8jN.cjs → tabs-compatibility-XoF2vpv5.cjs} +2 -2
- package/dist/{tabs-compatibility-BgtRf8jN.cjs.map → tabs-compatibility-XoF2vpv5.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-C13RR5x6.js +43 -0
- package/dist/{tailwind.mixin-CUBQFucF.js.map → tailwind.mixin-C13RR5x6.js.map} +1 -1
- package/dist/tailwind.mixin-O9jmUJ7m.cjs +2 -0
- package/dist/{tailwind.mixin-tQzjJi1o.cjs.map → tailwind.mixin-O9jmUJ7m.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/textarea-9rSwC34M.cjs +44 -0
- package/dist/{textarea-DsfpxxrR.cjs.map → textarea-9rSwC34M.cjs.map} +1 -1
- package/dist/{textarea-VzUmYJ8k.js → textarea-Dsqg9ted.js} +4 -3
- package/dist/{textarea-VzUmYJ8k.js.map → textarea-Dsqg9ted.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-Cc8uLdST.cjs → theme-button-BTH2A59w.cjs} +2 -2
- package/dist/{theme-button-Cc8uLdST.cjs.map → theme-button-BTH2A59w.cjs.map} +1 -1
- package/dist/{theme-button-Dv0mFIy1.js → theme-button-pfkAwkvY.js} +2 -2
- package/dist/{theme-button-Dv0mFIy1.js.map → theme-button-pfkAwkvY.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-CBQMtIWn.cjs → theme.component-BvoZuM2h.cjs} +3 -3
- package/dist/{theme.component-CBQMtIWn.cjs.map → theme.component-BvoZuM2h.cjs.map} +1 -1
- package/dist/{theme.component-BJkqP8OJ.js → theme.component-C3G_OrjE.js} +66 -66
- package/dist/{theme.component-BJkqP8OJ.js.map → theme.component-C3G_OrjE.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-Cidrq38O.cjs → timezone-BKBME7Gq.cjs} +2 -2
- package/dist/{timezone-Cidrq38O.cjs.map → timezone-BKBME7Gq.cjs.map} +1 -1
- package/dist/{timezone-s8dLt1Tp.js → timezone-mQeoU0_O.js} +3 -3
- package/dist/{timezone-s8dLt1Tp.js.map → timezone-mQeoU0_O.js.map} +1 -1
- package/dist/tooltip-Bcun7m0S.cjs +7 -0
- package/dist/tooltip-Bcun7m0S.cjs.map +1 -0
- package/dist/{tooltip-CbKaR_7c.js → tooltip-Doh_evJW.js} +55 -55
- package/dist/tooltip-Doh_evJW.js.map +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-BncfGRKE.cjs → tree-DpKb9Q-1.cjs} +2 -2
- package/dist/{tree-BncfGRKE.cjs.map → tree-DpKb9Q-1.cjs.map} +1 -1
- package/dist/{tree-BalOrz7r.js → tree-cl3PdPTy.js} +2 -2
- package/dist/{tree-BalOrz7r.js.map → tree-cl3PdPTy.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-C3nBx8M1.cjs → typewriter-QSd_xI9j.cjs} +3 -15
- package/dist/typewriter-QSd_xI9j.cjs.map +1 -0
- package/dist/{typewriter-CdsU7g5m.js → typewriter-peuqmq9f.js} +64 -76
- package/dist/typewriter-peuqmq9f.js.map +1 -0
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-D-unaqtW.js → typography-BkuzOZ0g.js} +2 -2
- package/dist/{typography-D-unaqtW.js.map → typography-BkuzOZ0g.js.map} +1 -1
- package/dist/{typography-C2kzFuZS.cjs → typography-BoI8HgTE.cjs} +2 -2
- package/dist/{typography-C2kzFuZS.cjs.map → typography-BoI8HgTE.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/src/area/area.component.d.ts +8 -3
- package/types/src/area/area.service.d.ts +1 -0
- package/types/src/area/route.component.d.ts +4 -5
- package/types/src/area/utils.d.ts +2 -1
- package/types/src/card/card.d.ts +55 -3
- package/types/src/directives/guard.d.ts +1 -0
- package/types/src/directives/index.d.ts +1 -0
- package/types/src/directives/ripple.d.ts +2 -1
- package/types/src/dropdown/dropdown-component.d.ts +1 -0
- package/types/src/form/form-v2.d.ts +0 -1
- package/types/src/form/form.d.ts +0 -1
- package/types/src/mailbox/email-editor.d.ts +1 -2
- package/types/src/notification/notification-audio.d.ts +9 -0
- package/types/src/notification/notification-container.d.ts +1 -0
- package/dist/autocomplete-BJKuzyUg.cjs.map +0 -1
- package/dist/autocomplete-BrcVARei.js.map +0 -1
- package/dist/avatar-2XjX7xHh.js.map +0 -1
- package/dist/avatar-CH6xAiaz.cjs.map +0 -1
- package/dist/dialog-service-DwhuICgc.js.map +0 -1
- package/dist/dialog-service-juvsgc5X.cjs +0 -2
- package/dist/dialog-service-juvsgc5X.cjs.map +0 -1
- package/dist/divider-BHA8zjDr.js +0 -103
- package/dist/divider-BHA8zjDr.js.map +0 -1
- package/dist/divider-C-kmaW3d.cjs +0 -83
- package/dist/divider-C-kmaW3d.cjs.map +0 -1
- package/dist/dropdown-content-CDAX41cX.cjs.map +0 -1
- package/dist/dropdown-content-DA6wal4A.js.map +0 -1
- package/dist/email-recipients-BFhkzOzI.js.map +0 -1
- package/dist/email-recipients-OBogh7Uo.cjs.map +0 -1
- package/dist/form-Bkg6Q_f5.js.map +0 -1
- package/dist/form-yJc1T0GI.cjs +0 -14
- package/dist/form-yJc1T0GI.cjs.map +0 -1
- package/dist/icon-button-DNg0mA1P.cjs.map +0 -1
- package/dist/icon-button-U9gN6pT3.js.map +0 -1
- package/dist/input-CX1jyK-P.js.map +0 -1
- package/dist/input-DYp4wudB.cjs +0 -51
- package/dist/input-DYp4wudB.cjs.map +0 -1
- package/dist/media-BmSmYaBR.cjs +0 -100
- package/dist/media-BmSmYaBR.cjs.map +0 -1
- package/dist/media-CRKWL-3S.js +0 -151
- package/dist/media-CRKWL-3S.js.map +0 -1
- package/dist/notification-service-CTlTTCbP.cjs.map +0 -1
- package/dist/notification-service-CiE9ITno.js.map +0 -1
- package/dist/option-D8BWjBZV.cjs.map +0 -1
- package/dist/option-svgZq3Hw.js.map +0 -1
- package/dist/radio-button-DINgMpZS.js.map +0 -1
- package/dist/radio-button-Yzy01Adt.cjs +0 -41
- package/dist/radio-button-Yzy01Adt.cjs.map +0 -1
- package/dist/ripple-BumgqsDT.js.map +0 -1
- package/dist/ripple-C2BHbhcS.cjs +0 -16
- package/dist/ripple-C2BHbhcS.cjs.map +0 -1
- package/dist/route.component-C_OoXIgy.cjs +0 -12
- package/dist/route.component-C_OoXIgy.cjs.map +0 -1
- package/dist/route.component-Cfz1lAvS.js +0 -321
- package/dist/route.component-Cfz1lAvS.js.map +0 -1
- package/dist/select-DXcdeHjY.js.map +0 -1
- package/dist/select-JFsojOGZ.cjs +0 -57
- package/dist/select-JFsojOGZ.cjs.map +0 -1
- package/dist/tailwind.mixin-CUBQFucF.js +0 -43
- package/dist/tailwind.mixin-tQzjJi1o.cjs +0 -2
- package/dist/textarea-DsfpxxrR.cjs +0 -44
- package/dist/tooltip-CKhGU64R.cjs +0 -7
- package/dist/tooltip-CKhGU64R.cjs.map +0 -1
- package/dist/tooltip-CbKaR_7c.js.map +0 -1
- package/dist/typewriter-C3nBx8M1.cjs.map +0 -1
- package/dist/typewriter-CdsU7g5m.js.map +0 -1
|
@@ -1,123 +1,76 @@
|
|
|
1
1
|
import { css as O, html as c, nothing as lt } from "lit";
|
|
2
|
-
import { property as l, customElement as y, state as
|
|
3
|
-
import { Subject as
|
|
4
|
-
import "./animated-text-
|
|
5
|
-
import { b as
|
|
6
|
-
import "./autocomplete-
|
|
2
|
+
import { property as l, customElement as y, state as h, queryAssignedElements as ct, query as F } from "lit/decorators.js";
|
|
3
|
+
import { Subject as Y, merge as G, fromEvent as g, startWith as bt, map as w, debounceTime as R, tap as E, distinctUntilChanged as K, takeUntil as m, from as st, of as U, Observable as ft, zip as rt, filter as ht, take as gt, timeout as wt, bufferTime as vt, concatMap as xt, interval as $t, throwIfEmpty as Ct } from "rxjs";
|
|
4
|
+
import "./animated-text-mNos9Gw8.js";
|
|
5
|
+
import { b as it, F as St, H as Dt } from "./route.component-BaefEO15.js";
|
|
6
|
+
import "./autocomplete-CMxXFeC_.js";
|
|
7
7
|
import "lit/directives/class-map.js";
|
|
8
8
|
import "lit/directives/style-map.js";
|
|
9
|
-
import { T as
|
|
10
|
-
import { c as B, f as
|
|
11
|
-
import "
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
9
|
+
import { T as dt } from "./tailwind.mixin-C13RR5x6.js";
|
|
10
|
+
import { c as B, f as Et } from "./ripple-Cy-nvO8W.js";
|
|
11
|
+
import "lit/directives/guard.js";
|
|
12
|
+
import "./boat-xekVVZab.js";
|
|
13
|
+
import "./spinner-D9fC8P3H.js";
|
|
14
|
+
import "./icon-button-B0jLowAy.js";
|
|
15
|
+
import "./media-nVQjNoX7.js";
|
|
16
|
+
import "./checkbox-DTfIF2XH.js";
|
|
17
|
+
import "./chips-7TbOS1By.js";
|
|
18
|
+
import "./code-preview-DWDE2pUe.js";
|
|
19
|
+
import "./payment-card-form-pDuTrWgZ.js";
|
|
19
20
|
import { SchmancyEvents as p } from "./types.js";
|
|
20
|
-
import { n as
|
|
21
|
-
import { $ as z } from "./litElement.mixin-
|
|
22
|
-
import { c as
|
|
23
|
-
import "./date-range-
|
|
24
|
-
import "./date-range-inline-
|
|
25
|
-
import "./delay-
|
|
26
|
-
import "./details-
|
|
27
|
-
import "./dialog-content-
|
|
28
|
-
import "./dialog-service-
|
|
29
|
-
import "./divider-
|
|
30
|
-
import "./dropdown-content-
|
|
31
|
-
import "./timezone-
|
|
32
|
-
import "./form-
|
|
33
|
-
import "./icon-
|
|
34
|
-
import "./input-
|
|
35
|
-
import "./flex-
|
|
36
|
-
import "./list-
|
|
37
|
-
import "./email-recipients-
|
|
38
|
-
import "./map-
|
|
39
|
-
import "./menu-
|
|
21
|
+
import { n as P, e as W } from "./provide-tcktw8xB.js";
|
|
22
|
+
import { $ as z } from "./litElement.mixin-Efwm8boA.js";
|
|
23
|
+
import { c as d } from "./consume-5D1qfVWM.js";
|
|
24
|
+
import "./date-range-s2EHTGQM.js";
|
|
25
|
+
import "./date-range-inline-yYh4Uw-k.js";
|
|
26
|
+
import "./delay-D19Mpit_.js";
|
|
27
|
+
import "./details-CEu4oDP7.js";
|
|
28
|
+
import "./dialog-content-CQ3Xi4_b.js";
|
|
29
|
+
import "./dialog-service-PQ9ssbsY.js";
|
|
30
|
+
import "./divider-5OCZNBJ7.js";
|
|
31
|
+
import "./dropdown-content-BLZviV1z.js";
|
|
32
|
+
import "./timezone-mQeoU0_O.js";
|
|
33
|
+
import "./form-BqGTSZpr.js";
|
|
34
|
+
import "./icon-CSxxuGxN.js";
|
|
35
|
+
import "./input-D0c-WhDi.js";
|
|
36
|
+
import "./flex-ro_7y02P.js";
|
|
37
|
+
import "./list-3Ity7MFT.js";
|
|
38
|
+
import "./email-recipients-JeGKXcBj.js";
|
|
39
|
+
import "./map-BCQwFMpm.js";
|
|
40
|
+
import "./menu-CusvB2dY.js";
|
|
40
41
|
import { when as L } from "lit/directives/when.js";
|
|
41
|
-
import "./notification-service-
|
|
42
|
-
import "./option-
|
|
43
|
-
import "./progress-
|
|
44
|
-
import "./radio-button-
|
|
42
|
+
import "./notification-service-DiTgelcm.js";
|
|
43
|
+
import "./option-dihFw6qv.js";
|
|
44
|
+
import "./progress-C4o_zWvg.js";
|
|
45
|
+
import "./radio-button-DaSKbB-Z.js";
|
|
45
46
|
import "./index-CW6PhEkx.js";
|
|
46
|
-
import "./select-
|
|
47
|
-
import "./sheet-
|
|
48
|
-
import { s as
|
|
49
|
-
import "./slider-
|
|
50
|
-
import "./schmancy-steps-container-
|
|
47
|
+
import "./select-uQ5xnOKn.js";
|
|
48
|
+
import "./sheet-CvvdxIUZ.js";
|
|
49
|
+
import { s as V } from "./sheet.service-lXqUf6n5.js";
|
|
50
|
+
import "./slider-DyxIZ-hn.js";
|
|
51
|
+
import "./schmancy-steps-container-uRaJiCZE.js";
|
|
51
52
|
import "./context-object-u5gBaozZ.js";
|
|
52
53
|
import { map as Ot, distinctUntilChanged as zt, take as kt } from "rxjs/operators";
|
|
53
|
-
import "./surface-
|
|
54
|
-
import "./table-
|
|
55
|
-
import "./tabs-compatibility-
|
|
56
|
-
import "./textarea-
|
|
57
|
-
import "./theme.component-
|
|
58
|
-
import "./theme-button-
|
|
59
|
-
import "./tooltip-
|
|
60
|
-
import "./tree-
|
|
61
|
-
import "./typewriter-
|
|
62
|
-
import "./typography-
|
|
54
|
+
import "./surface-CUyYCpFl.js";
|
|
55
|
+
import "./table-D7p7a-Ag.js";
|
|
56
|
+
import "./tabs-compatibility-Dn8bSEvA.js";
|
|
57
|
+
import "./textarea-Dsqg9ted.js";
|
|
58
|
+
import "./theme.component-C3G_OrjE.js";
|
|
59
|
+
import "./theme-button-pfkAwkvY.js";
|
|
60
|
+
import "./tooltip-Doh_evJW.js";
|
|
61
|
+
import "./tree-cl3PdPTy.js";
|
|
62
|
+
import "./typewriter-peuqmq9f.js";
|
|
63
|
+
import "./typography-BkuzOZ0g.js";
|
|
63
64
|
import { S as o } from "./theme.interface-C5Kj6WjD.js";
|
|
64
|
-
var Mt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor,
|
|
65
|
-
for (var n, s =
|
|
66
|
-
return
|
|
65
|
+
var Mt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor, D = (t, e, r, i) => {
|
|
66
|
+
for (var n, s = i > 1 ? void 0 : i ? Wt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
67
|
+
return i && s && Mt(e, r, s), s;
|
|
67
68
|
};
|
|
68
|
-
let $ = class extends
|
|
69
|
+
let $ = class extends dt(O`
|
|
69
70
|
:host {
|
|
70
71
|
display: inline-flex;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
.badge-content {
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
line-height: 1;
|
|
77
|
-
letter-spacing: 0.01em;
|
|
78
|
-
font-kerning: normal;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* Improved vertical alignment for icon and text */
|
|
82
|
-
::slotted(*) {
|
|
83
|
-
vertical-align: middle;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/* Add space between icon and text */
|
|
87
|
-
.icon-container {
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
justify-content: center;
|
|
91
|
-
line-height: 1;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/* Icon spacing adjustments - based on golden ratio principles */
|
|
95
|
-
.icon-container + .badge-content {
|
|
96
|
-
margin-left: 0.38em; /* Approximately 1/1.618 of 0.618em */
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* Ensure the icon is properly centered */
|
|
100
|
-
schmancy-icon {
|
|
101
|
-
display: flex;
|
|
102
|
-
align-items: center;
|
|
103
|
-
justify-content: center;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
/* Elegant hover effect for better interactivity */
|
|
107
|
-
:host([outlined]) div[part="badge"] {
|
|
108
|
-
transition: all 0.2s ease;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
:host([outlined]) div[part="badge"]:hover {
|
|
112
|
-
filter: brightness(0.95);
|
|
113
|
-
transform: translateY(-1px);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/* Non-outlined badges get subtle hover effects */
|
|
117
|
-
:host(:not([outlined])) div[part="badge"]:hover {
|
|
118
|
-
filter: brightness(0.98);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
74
|
/* Enhanced pulse animation for better attention-getting */
|
|
122
75
|
@keyframes elegant-pulse {
|
|
123
76
|
0%, 100% {
|
|
@@ -177,69 +130,69 @@ let $ = class extends ht(O`
|
|
|
177
130
|
return { primary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.primary.container} 92%, ${o.sys.color.primary.default} 8%)`, text: this.outlined ? o.sys.color.primary.default : o.sys.color.primary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.primary.default} 90%, ${o.sys.color.surface.highest} 10%)` : void 0 }, secondary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.secondary.container} 95%, ${o.sys.color.secondary.default} 5%)`, text: this.outlined ? o.sys.color.secondary.default : o.sys.color.secondary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.secondary.default} 85%, ${o.sys.color.surface.highest} 15%)` : void 0 }, tertiary: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.tertiary.container} 94%, ${o.sys.color.tertiary.default} 6%)`, text: this.outlined ? o.sys.color.tertiary.default : o.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.tertiary.default} 88%, ${o.sys.color.surface.highest} 12%)` : void 0 }, success: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.success.container} 90%, ${o.sys.color.success.default} 10%)`, text: this.outlined ? o.sys.color.success.default : o.sys.color.success.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.success.default} 85%, ${o.sys.color.surface.bright} 15%)` : void 0 }, warning: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.tertiary.container} 85%, ${o.sys.color.tertiary.default} 15%)`, text: this.outlined ? o.sys.color.tertiary.default : o.sys.color.tertiary.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.tertiary.default} 90%, ${o.sys.color.surface.highest} 10%)` : void 0 }, error: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.error.container} 92%, ${o.sys.color.error.default} 8%)`, text: this.outlined ? o.sys.color.error.default : o.sys.color.error.onContainer, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.error.default} 88%, ${o.sys.color.surface.bright} 12%)` : void 0 }, neutral: { bg: this.outlined ? "transparent" : `color-mix(in srgb, ${o.sys.color.surface.high} 95%, ${o.sys.color.outline} 5%)`, text: this.outlined ? `color-mix(in srgb, ${o.sys.color.surface.on} 95%, ${o.sys.color.surface.default} 5%)` : o.sys.color.surface.on, border: this.outlined ? `color-mix(in srgb, ${o.sys.color.outline} 85%, ${o.sys.color.surface.highest} 15%)` : void 0 } }[this.color];
|
|
178
131
|
}
|
|
179
132
|
render() {
|
|
180
|
-
const t = this.getSizeClasses(), e = this.getShapeClasses(),
|
|
133
|
+
const t = this.getSizeClasses(), e = this.getShapeClasses(), r = this.getColorStyles(), i = this.getIconSize(), n = this.getExoticStyles(), s = { "inline-flex items-center justify-center font-medium": !0, "transition-all duration-200 ease-in-out": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size === "sm", shadow: !this.outlined && this.size === "md", "shadow-md": !this.outlined && this.size === "lg", "hover:brightness-95 hover:-translate-y-px": this.outlined, "hover:brightness-[0.98]": !this.outlined }, a = { borderColor: r.border, ...this.outlined ? { backdropFilter: "blur(4px)" } : {}, ...this.size !== "lg" || this.outlined ? {} : { boxShadow: "0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1)" }, ...n };
|
|
181
134
|
return c`
|
|
182
135
|
<div
|
|
183
136
|
part="badge"
|
|
184
137
|
class="${this.classMap(s)}"
|
|
185
138
|
style="${this.styleMap(a)}"
|
|
186
|
-
${B({ bgColor:
|
|
139
|
+
${B({ bgColor: r.bg, color: r.text })}
|
|
187
140
|
>
|
|
188
141
|
<!-- Icon slot or named icon -->
|
|
189
142
|
<slot name="icon">
|
|
190
143
|
${this.icon ? c`
|
|
191
|
-
<div part="icon" class="
|
|
192
|
-
<schmancy-icon .size=${
|
|
144
|
+
<div part="icon" class="flex-shrink-0 flex items-center justify-center leading-none">
|
|
145
|
+
<schmancy-icon .size=${i} class="flex items-center justify-center">${this.icon}</schmancy-icon>
|
|
193
146
|
</div>
|
|
194
147
|
` : ""}
|
|
195
148
|
</slot>
|
|
196
149
|
|
|
197
|
-
<!-- Content -->
|
|
198
|
-
<div part="content" class="
|
|
150
|
+
<!-- Content with proper spacing from icon -->
|
|
151
|
+
<div part="content" class="flex items-center leading-none tracking-[0.01em] ${this.icon ? "ml-[0.38em]" : ""}">
|
|
199
152
|
<slot></slot>
|
|
200
153
|
</div>
|
|
201
154
|
</div>
|
|
202
155
|
`;
|
|
203
156
|
}
|
|
204
157
|
};
|
|
205
|
-
|
|
158
|
+
D([l({ type: String, reflect: !0 })], $.prototype, "color", 2), D([l({ type: String, reflect: !0 })], $.prototype, "size", 2), D([l({ type: String, reflect: !0 })], $.prototype, "shape", 2), D([l({ type: Boolean, reflect: !0 })], $.prototype, "outlined", 2), D([l({ type: String })], $.prototype, "icon", 2), D([l({ type: Boolean, reflect: !0 })], $.prototype, "pulse", 2), $ = D([y("schmancy-badge")], $);
|
|
206
159
|
let ot = class extends $ {
|
|
207
160
|
};
|
|
208
|
-
ot =
|
|
209
|
-
const
|
|
161
|
+
ot = D([y("sch-badge")], ot);
|
|
162
|
+
const ns = new class {
|
|
210
163
|
constructor() {
|
|
211
|
-
this.$drawer = new
|
|
164
|
+
this.$drawer = new Y(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
|
|
212
165
|
t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" ? (t.ref.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 }))) : t.action === "push" && this.handlePush(t.ref, t.component);
|
|
213
166
|
});
|
|
214
167
|
}
|
|
215
168
|
dimiss(t) {
|
|
216
169
|
this.$drawer.next({ action: "dismiss", ref: t });
|
|
217
170
|
}
|
|
218
|
-
render(t, e,
|
|
219
|
-
t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title:
|
|
171
|
+
render(t, e, r) {
|
|
172
|
+
t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: r });
|
|
220
173
|
}
|
|
221
174
|
async handlePush(t, e) {
|
|
222
|
-
let
|
|
223
|
-
if (typeof e == "string")
|
|
224
|
-
else if (e instanceof HTMLElement)
|
|
175
|
+
let r;
|
|
176
|
+
if (typeof e == "string") r = document.createElement(e);
|
|
177
|
+
else if (e instanceof HTMLElement) r = e;
|
|
225
178
|
else {
|
|
226
179
|
if (typeof e != "function") return;
|
|
227
180
|
try {
|
|
228
|
-
const
|
|
229
|
-
|
|
181
|
+
const i = await e();
|
|
182
|
+
i && typeof i == "object" && "default" in i ? r = new i.default() : r = i instanceof HTMLElement ? i : new i();
|
|
230
183
|
} catch {
|
|
231
184
|
return;
|
|
232
185
|
}
|
|
233
186
|
}
|
|
234
|
-
this.lastComponent ===
|
|
187
|
+
this.lastComponent === r && "requestUpdate" in r && r.requestUpdate(), this.lastComponent = r, t.dispatchEvent(new CustomEvent(p.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: r }, bubbles: !0, composed: !0 }));
|
|
235
188
|
}
|
|
236
189
|
push(t) {
|
|
237
190
|
this.$drawer.next({ action: "push", ref: window, component: t });
|
|
238
191
|
}
|
|
239
|
-
}(), J =
|
|
240
|
-
var
|
|
241
|
-
for (var n, s =
|
|
242
|
-
return
|
|
192
|
+
}(), J = P("push"), pt = P("close"), mt = P(Math.floor(Math.random() * Date.now()).toString()), Q = P("100%"), Z = P({});
|
|
193
|
+
var Pt = Object.defineProperty, jt = Object.getOwnPropertyDescriptor, k = (t, e, r, i) => {
|
|
194
|
+
for (var n, s = i > 1 ? void 0 : i ? jt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
195
|
+
return i && s && Pt(e, r, s), s;
|
|
243
196
|
};
|
|
244
197
|
let C = class extends z(O`
|
|
245
198
|
:host {
|
|
@@ -253,18 +206,18 @@ let C = class extends z(O`
|
|
|
253
206
|
super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
254
207
|
}
|
|
255
208
|
firstUpdated() {
|
|
256
|
-
G(
|
|
209
|
+
G(g(window, "resize"), g(window, p.ContentDrawerResize)).pipe(bt(!0), w(() => this.clientWidth ? this.clientWidth : window.innerWidth), w((t) => t >= this.minWidth.main + this.minWidth.sheet), R(100), E(() => {
|
|
257
210
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
258
211
|
}), K(), m(this.disconnecting)).subscribe((t) => {
|
|
259
212
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
260
|
-
}),
|
|
213
|
+
}), g(window, p.ContentDrawerToggle).pipe(E((t) => {
|
|
261
214
|
t.stopPropagation();
|
|
262
|
-
}),
|
|
215
|
+
}), w((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
|
|
263
216
|
this.open = t;
|
|
264
|
-
}),
|
|
217
|
+
}), g(window, "schmancy-content-drawer-render").pipe(E((t) => {
|
|
265
218
|
t.stopPropagation();
|
|
266
|
-
}),
|
|
267
|
-
this.mode === "push" ? (
|
|
219
|
+
}), w((t) => t.detail), m(this.disconnecting)).subscribe(({ component: t, title: e }) => {
|
|
220
|
+
this.mode === "push" ? (it.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), it.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && V.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
|
|
268
221
|
});
|
|
269
222
|
}
|
|
270
223
|
getOffsetTop(t) {
|
|
@@ -286,12 +239,12 @@ let C = class extends z(O`
|
|
|
286
239
|
` : lt;
|
|
287
240
|
}
|
|
288
241
|
};
|
|
289
|
-
k([W({ context: Z })], C.prototype, "minWidth", 2), k([W({ context: pt }), l()], C.prototype, "open", 2), k([W({ context: J }),
|
|
290
|
-
var It = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, T = (t, e,
|
|
291
|
-
for (var n, s =
|
|
292
|
-
return
|
|
242
|
+
k([W({ context: Z })], C.prototype, "minWidth", 2), k([W({ context: pt }), l()], C.prototype, "open", 2), k([W({ context: J }), h()], C.prototype, "mode", 2), k([W({ context: mt })], C.prototype, "schmancyContentDrawerID", 2), k([W({ context: Q })], C.prototype, "maxHeight", 2), k([ct({ flatten: !0 })], C.prototype, "assignedElements", 2), C = k([y("schmancy-content-drawer")], C);
|
|
243
|
+
var It = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, T = (t, e, r, i) => {
|
|
244
|
+
for (var n, s = i > 1 ? void 0 : i ? Tt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
245
|
+
return i && s && It(e, r, s), s;
|
|
293
246
|
};
|
|
294
|
-
let
|
|
247
|
+
let j = class extends z(O`
|
|
295
248
|
:host {
|
|
296
249
|
display: block;
|
|
297
250
|
overflow: hidden;
|
|
@@ -324,10 +277,10 @@ let P = class extends z(O`
|
|
|
324
277
|
`;
|
|
325
278
|
}
|
|
326
279
|
};
|
|
327
|
-
T([l({ type: Number })],
|
|
328
|
-
var Nt = Object.defineProperty, _t = Object.getOwnPropertyDescriptor,
|
|
329
|
-
for (var n, s =
|
|
330
|
-
return
|
|
280
|
+
T([l({ type: Number })], j.prototype, "minWidth", 2), T([d({ context: Z, subscribe: !0 })], j.prototype, "drawerMinWidth", 2), T([d({ context: J, subscribe: !0 }), h()], j.prototype, "mode", 2), T([d({ context: Q, subscribe: !0 }), h()], j.prototype, "maxHeight", 2), j = T([y("schmancy-content-drawer-main")], j);
|
|
281
|
+
var Nt = Object.defineProperty, _t = Object.getOwnPropertyDescriptor, v = (t, e, r, i) => {
|
|
282
|
+
for (var n, s = i > 1 ? void 0 : i ? _t(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
283
|
+
return i && s && Nt(e, r, s), s;
|
|
331
284
|
};
|
|
332
285
|
let u = class extends z(O`
|
|
333
286
|
:host {
|
|
@@ -338,7 +291,7 @@ let u = class extends z(O`
|
|
|
338
291
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
339
292
|
}
|
|
340
293
|
updated(t) {
|
|
341
|
-
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(p.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (
|
|
294
|
+
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(p.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (V.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
|
|
342
295
|
}
|
|
343
296
|
open() {
|
|
344
297
|
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)" });
|
|
@@ -347,10 +300,10 @@ let u = class extends z(O`
|
|
|
347
300
|
G(st(this.closeModalSheet()), st(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
|
|
348
301
|
}
|
|
349
302
|
closeModalSheet() {
|
|
350
|
-
return U(!0).pipe(
|
|
303
|
+
return U(!0).pipe(E(() => V.dismiss(this.schmancyContentDrawerID)));
|
|
351
304
|
}
|
|
352
305
|
closeSheet() {
|
|
353
|
-
return new
|
|
306
|
+
return new ft((t) => {
|
|
354
307
|
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 = () => {
|
|
355
308
|
this.sheet.style.display = "none", t.next(), t.complete();
|
|
356
309
|
};
|
|
@@ -367,10 +320,10 @@ let u = class extends z(O`
|
|
|
367
320
|
`;
|
|
368
321
|
}
|
|
369
322
|
};
|
|
370
|
-
|
|
323
|
+
v([l({ type: Number })], u.prototype, "minWidth", 2), v([d({ context: J, subscribe: !0 }), h()], u.prototype, "mode", 2), v([d({ context: pt, subscribe: !0 }), h()], u.prototype, "state", 2), v([d({ context: mt })], u.prototype, "schmancyContentDrawerID", 2), v([F("#sheet")], u.prototype, "sheet", 2), v([ct({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), v([d({ context: Z, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), v([d({ context: Q, subscribe: !0 }), h()], u.prototype, "maxHeight", 2), u = v([y("schmancy-content-drawer-sheet")], u);
|
|
371
324
|
const Xt = new class {
|
|
372
325
|
constructor() {
|
|
373
|
-
this.$drawer = new
|
|
326
|
+
this.$drawer = new Y(), this.$drawer.pipe(R(10)).subscribe((t) => {
|
|
374
327
|
t.state ? window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(p.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
375
328
|
});
|
|
376
329
|
}
|
|
@@ -380,12 +333,12 @@ const Xt = new class {
|
|
|
380
333
|
close(t) {
|
|
381
334
|
this.$drawer.next({ self: t, state: !1 });
|
|
382
335
|
}
|
|
383
|
-
}(),
|
|
384
|
-
var Ht = Object.defineProperty,
|
|
385
|
-
for (var n, s =
|
|
386
|
-
return
|
|
336
|
+
}(), as = Xt, tt = P("push"), et = P("close");
|
|
337
|
+
var Ht = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, X = (t, e, r, i) => {
|
|
338
|
+
for (var n, s = i > 1 ? void 0 : i ? qt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
339
|
+
return i && s && Ht(e, r, s), s;
|
|
387
340
|
};
|
|
388
|
-
let N = class extends
|
|
341
|
+
let N = class extends dt(O`
|
|
389
342
|
:host {
|
|
390
343
|
display: block;
|
|
391
344
|
}
|
|
@@ -414,8 +367,8 @@ let N = class extends ht(O`
|
|
|
414
367
|
`;
|
|
415
368
|
}
|
|
416
369
|
};
|
|
417
|
-
X([
|
|
418
|
-
var
|
|
370
|
+
X([d({ context: tt, subscribe: !0 }), h()], N.prototype, "sidebarMode", 2), X([d({ context: et, subscribe: !0 }), h()], N.prototype, "sidebarOpen", 2), X([l({ type: Boolean })], N.prototype, "toggler", 2), N = X([y("schmancy-nav-drawer-appbar")], N);
|
|
371
|
+
var At = Object.getOwnPropertyDescriptor;
|
|
419
372
|
let nt = class extends z(O`
|
|
420
373
|
:host {
|
|
421
374
|
display: block;
|
|
@@ -425,7 +378,7 @@ let nt = class extends z(O`
|
|
|
425
378
|
}
|
|
426
379
|
`) {
|
|
427
380
|
connectedCallback() {
|
|
428
|
-
super.connectedCallback(),
|
|
381
|
+
super.connectedCallback(), g(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
|
|
429
382
|
this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
|
|
430
383
|
});
|
|
431
384
|
}
|
|
@@ -433,15 +386,15 @@ let nt = class extends z(O`
|
|
|
433
386
|
return c` <slot></slot> `;
|
|
434
387
|
}
|
|
435
388
|
};
|
|
436
|
-
nt = ((t, e,
|
|
437
|
-
for (var n, s =
|
|
389
|
+
nt = ((t, e, r, i) => {
|
|
390
|
+
for (var n, s = i > 1 ? void 0 : i ? At(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = n(s) || s);
|
|
438
391
|
return s;
|
|
439
392
|
})([y("schmancy-nav-drawer-content")], nt);
|
|
440
|
-
var Rt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, I = (t, e,
|
|
441
|
-
for (var n, s =
|
|
442
|
-
return
|
|
393
|
+
var Rt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, I = (t, e, r, i) => {
|
|
394
|
+
for (var n, s = i > 1 ? void 0 : i ? Ut(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
395
|
+
return i && s && Rt(e, r, s), s;
|
|
443
396
|
};
|
|
444
|
-
let
|
|
397
|
+
let f = class extends z(O`
|
|
445
398
|
:host {
|
|
446
399
|
display: flex;
|
|
447
400
|
flex-grow: 1;
|
|
@@ -458,16 +411,16 @@ let g = class extends z(O`
|
|
|
458
411
|
super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
|
|
459
412
|
}
|
|
460
413
|
firstUpdated() {
|
|
461
|
-
this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""),
|
|
414
|
+
this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), g(window, "resize").pipe(w((t) => t.target.innerWidth), w((t) => t >= f.BREAKPOINTS[this.breakpoint]), K(), R(100), m(this.disconnecting)).subscribe((t) => {
|
|
462
415
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
463
|
-
}),
|
|
416
|
+
}), g(window, p.NavDrawer_toggle).pipe(E((t) => {
|
|
464
417
|
t.stopPropagation();
|
|
465
|
-
}),
|
|
418
|
+
}), w((t) => t.detail.state), K(), m(this.disconnecting), R(10)).subscribe((t) => {
|
|
466
419
|
this.mode === "push" && t === "close" || (this.open = t);
|
|
467
420
|
});
|
|
468
421
|
}
|
|
469
422
|
updateState(t) {
|
|
470
|
-
const e = t >=
|
|
423
|
+
const e = t >= f.BREAKPOINTS[this.breakpoint];
|
|
471
424
|
this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
|
|
472
425
|
}
|
|
473
426
|
render() {
|
|
@@ -478,17 +431,17 @@ let g = class extends z(O`
|
|
|
478
431
|
flow="col"
|
|
479
432
|
justify="stretch"
|
|
480
433
|
align="stretch"
|
|
481
|
-
${
|
|
434
|
+
${Et()}
|
|
482
435
|
>
|
|
483
436
|
<slot></slot>
|
|
484
437
|
</schmancy-grid>
|
|
485
438
|
` : lt;
|
|
486
439
|
}
|
|
487
440
|
};
|
|
488
|
-
|
|
489
|
-
var Bt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, M = (t, e,
|
|
490
|
-
for (var n, s =
|
|
491
|
-
return
|
|
441
|
+
f.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, I([l({ type: Boolean })], f.prototype, "fullscreen", 2), I([l({ type: String, attribute: "breakpoint" })], f.prototype, "breakpoint", 2), I([W({ context: tt }), h()], f.prototype, "mode", 2), I([W({ context: et }), l()], f.prototype, "open", 2), I([h()], f.prototype, "_initialized", 2), f = I([y("schmancy-nav-drawer")], f);
|
|
442
|
+
var Bt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, M = (t, e, r, i) => {
|
|
443
|
+
for (var n, s = i > 1 ? void 0 : i ? Ft(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
444
|
+
return i && s && Bt(e, r, s), s;
|
|
492
445
|
};
|
|
493
446
|
const H = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
494
447
|
let S = class extends z() {
|
|
@@ -541,27 +494,27 @@ let S = class extends z() {
|
|
|
541
494
|
`;
|
|
542
495
|
}
|
|
543
496
|
};
|
|
544
|
-
M([
|
|
545
|
-
const yt = "whereAreYouRicky", ut = "hereMorty",
|
|
497
|
+
M([d({ context: tt, subscribe: !0 }), h()], S.prototype, "mode", 2), M([d({ context: et, subscribe: !0 }), h()], S.prototype, "drawerState", 2), M([F("#overlay")], S.prototype, "overlay", 2), M([F("nav")], S.prototype, "nav", 2), M([l({ type: String })], S.prototype, "width", 2), M([h()], S.prototype, "_initialized", 2), S = M([y("schmancy-nav-drawer-navbar")], S);
|
|
498
|
+
const yt = "whereAreYouRicky", ut = "hereMorty", q = new class {
|
|
546
499
|
constructor() {
|
|
547
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new
|
|
500
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new Y(), this.find = (t) => rt([g(window, ut).pipe(ht((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), w((e) => e.detail.component), gt(1)), U(t).pipe(E(() => {
|
|
548
501
|
window.dispatchEvent(new CustomEvent(yt, { detail: { id: t.id, callerID: t.uuid } }));
|
|
549
|
-
}))]).pipe(
|
|
550
|
-
const { from: e, to:
|
|
551
|
-
|
|
552
|
-
const n = [{ transform: `translate(${e.rect.left -
|
|
553
|
-
|
|
554
|
-
|
|
502
|
+
}))]).pipe(w(([e]) => e), wt(0)), this.flip = (t) => {
|
|
503
|
+
const { from: e, to: r } = t, i = r.element.style.zIndex;
|
|
504
|
+
r.element.style.transformOrigin = "top left", r.element.style.setProperty("visibility", "visible"), r.element.style.zIndex = "1000";
|
|
505
|
+
const n = [{ transform: `translate(${e.rect.left - r.rect.left}px, ${e.rect.top - r.rect.top}px) scale(${e.rect.width / r.rect.width}, ${e.rect.height / r.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
|
|
506
|
+
r.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
|
|
507
|
+
r.element.style.zIndex = i, r.element.style.transformOrigin = "";
|
|
555
508
|
};
|
|
556
|
-
}, this.flipRequests.pipe(
|
|
509
|
+
}, this.flipRequests.pipe(vt(1), w((t) => t.map(({ from: e, to: r, host: i }, n) => ({ from: e, to: r, host: i, i: n }))), xt((t) => rt(t.map((e) => U(this.flip(e)))))).subscribe();
|
|
557
510
|
}
|
|
558
511
|
}();
|
|
559
512
|
function at(t) {
|
|
560
|
-
return $t(50).pipe(Ot(() => t.getBoundingClientRect()), zt((e,
|
|
513
|
+
return $t(50).pipe(Ot(() => t.getBoundingClientRect()), zt((e, r) => e.width === r.width && e.height === r.height && e.top === r.top && e.right === r.right && e.bottom === r.bottom && e.left === r.left), kt(1));
|
|
561
514
|
}
|
|
562
|
-
var Kt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor,
|
|
563
|
-
for (var n, s =
|
|
564
|
-
return
|
|
515
|
+
var Kt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, A = (t, e, r, i) => {
|
|
516
|
+
for (var n, s = i > 1 ? void 0 : i ? Lt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
517
|
+
return i && s && Kt(e, r, s), s;
|
|
565
518
|
};
|
|
566
519
|
let _ = class extends z(O``) {
|
|
567
520
|
constructor() {
|
|
@@ -572,20 +525,20 @@ let _ = class extends z(O``) {
|
|
|
572
525
|
}
|
|
573
526
|
connectedCallback() {
|
|
574
527
|
if (this.id === void 0) throw new Error("id is required");
|
|
575
|
-
super.connectedCallback(), G(
|
|
576
|
-
this.dispatchEvent(new CustomEvent(
|
|
577
|
-
} })),
|
|
528
|
+
super.connectedCallback(), G(g(window, St).pipe(E({ next: () => {
|
|
529
|
+
this.dispatchEvent(new CustomEvent(Dt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
530
|
+
} })), g(window, yt).pipe(E({ next: (t) => {
|
|
578
531
|
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(ut, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
579
532
|
} }))).pipe(m(this.disconnecting)).subscribe();
|
|
580
533
|
}
|
|
581
534
|
async firstUpdated() {
|
|
582
|
-
U(
|
|
535
|
+
U(q.activeTeleportations.get(this.id)).pipe(ht((t) => !!t), m(this.disconnecting), Ct()).subscribe({ next: (t) => {
|
|
583
536
|
this.style.setProperty("visibility", "hidden"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
|
|
584
|
-
|
|
537
|
+
q.activeTeleportations.set(this.id, e), q.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
585
538
|
} });
|
|
586
539
|
}, error: () => {
|
|
587
540
|
this.style.setProperty("visibility", "visible"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
|
|
588
|
-
|
|
541
|
+
q.activeTeleportations.set(this.id, t);
|
|
589
542
|
} });
|
|
590
543
|
}, complete: () => {
|
|
591
544
|
} });
|
|
@@ -594,10 +547,10 @@ let _ = class extends z(O``) {
|
|
|
594
547
|
return c`<slot></slot>`;
|
|
595
548
|
}
|
|
596
549
|
};
|
|
597
|
-
|
|
598
|
-
var
|
|
599
|
-
for (var n, s =
|
|
600
|
-
return
|
|
550
|
+
A([l({ type: Number, reflect: !0 })], _.prototype, "uuid", 2), A([l({ type: String })], _.prototype, "id", 2), A([l({ type: Number })], _.prototype, "delay", 2), _ = A([y("schmancy-teleport")], _);
|
|
551
|
+
var Vt = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, x = (t, e, r, i) => {
|
|
552
|
+
for (var n, s = i > 1 ? void 0 : i ? Yt(e, r) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (s = (i ? n(e, r, s) : n(s)) || s);
|
|
553
|
+
return i && s && Vt(e, r, s), s;
|
|
601
554
|
};
|
|
602
555
|
let b = class extends z() {
|
|
603
556
|
constructor() {
|
|
@@ -606,9 +559,9 @@ let b = class extends z() {
|
|
|
606
559
|
render() {
|
|
607
560
|
let t;
|
|
608
561
|
t = this.src ? c`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? c`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? c`<schmancy-icon>${this.icon}</schmancy-icon>` : c`<schmancy-icon>person</schmancy-icon>`;
|
|
609
|
-
const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered },
|
|
562
|
+
const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered }, r = this.getColorAttributes();
|
|
610
563
|
return c`
|
|
611
|
-
<div class="${this.classMap(e)}" ${
|
|
564
|
+
<div class="${this.classMap(e)}" ${r}>
|
|
612
565
|
${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
|
|
613
566
|
</div>
|
|
614
567
|
`;
|
|
@@ -626,7 +579,7 @@ let b = class extends z() {
|
|
|
626
579
|
};
|
|
627
580
|
x([l({ type: String })], b.prototype, "initials", 2), x([l({ type: String })], b.prototype, "src", 2), x([l({ type: String })], b.prototype, "icon", 2), x([l({ type: String })], b.prototype, "size", 2), x([l({ type: String })], b.prototype, "color", 2), x([l({ type: String })], b.prototype, "shape", 2), x([l({ type: Boolean })], b.prototype, "bordered", 2), x([l({ type: String })], b.prototype, "status", 2), b = x([y("schmancy-avatar")], b);
|
|
628
581
|
export {
|
|
629
|
-
|
|
582
|
+
as as $,
|
|
630
583
|
ut as H,
|
|
631
584
|
$ as S,
|
|
632
585
|
yt as W,
|
|
@@ -637,18 +590,18 @@ export {
|
|
|
637
590
|
Q as e,
|
|
638
591
|
Z as f,
|
|
639
592
|
C as g,
|
|
640
|
-
|
|
593
|
+
j as h,
|
|
641
594
|
u as i,
|
|
642
595
|
Xt as j,
|
|
643
596
|
N as k,
|
|
644
597
|
nt as l,
|
|
645
598
|
tt as m,
|
|
646
599
|
et as n,
|
|
647
|
-
|
|
600
|
+
f as o,
|
|
648
601
|
S as p,
|
|
649
602
|
_ as q,
|
|
650
603
|
b as r,
|
|
651
|
-
|
|
652
|
-
|
|
604
|
+
ns as s,
|
|
605
|
+
q as t
|
|
653
606
|
};
|
|
654
|
-
//# sourceMappingURL=avatar-
|
|
607
|
+
//# sourceMappingURL=avatar-CH-EctMv.js.map
|