@mhmo91/schmancy 0.4.92 → 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-CM1zqBki.cjs → animated-text-Dqrad7cv.cjs} +2 -2
- package/dist/{animated-text-CM1zqBki.cjs.map → animated-text-Dqrad7cv.cjs.map} +1 -1
- package/dist/{animated-text-CUFCt7Zg.js → animated-text-mNos9Gw8.js} +3 -3
- package/dist/{animated-text-CUFCt7Zg.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-09_SfjsP.js → autocomplete-CMxXFeC_.js} +35 -35
- package/dist/autocomplete-CMxXFeC_.js.map +1 -0
- package/dist/{autocomplete-CFREt7Vm.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-C8PC_n9i.cjs → avatar-CGGPvamo.cjs} +21 -69
- package/dist/avatar-CGGPvamo.cjs.map +1 -0
- package/dist/{avatar-CKp3Ukk4.js → avatar-CH-EctMv.js} +152 -200
- package/dist/avatar-CH-EctMv.js.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-Ddi4PegB.cjs → boat-feSRWu7P.cjs} +2 -2
- package/dist/{boat-Ddi4PegB.cjs.map → boat-feSRWu7P.cjs.map} +1 -1
- package/dist/{boat-DDJK4CS4.js → boat-xekVVZab.js} +2 -2
- package/dist/{boat-DDJK4CS4.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-BU1x0W8U.js → checkbox-DTfIF2XH.js} +2 -2
- package/dist/{checkbox-BU1x0W8U.js.map → checkbox-DTfIF2XH.js.map} +1 -1
- package/dist/{checkbox-TclkD2h5.cjs → checkbox-DwBANLb6.cjs} +2 -2
- package/dist/{checkbox-TclkD2h5.cjs.map → checkbox-DwBANLb6.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-Bxsoq1vm.js → chips-7TbOS1By.js} +56 -67
- package/dist/{chips-Bxsoq1vm.js.map → chips-7TbOS1By.js.map} +1 -1
- package/dist/{chips-DQBHJNSu.cjs → chips-DORDPg5b.cjs} +10 -21
- package/dist/{chips-DQBHJNSu.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-DnUM87ZB.js → code-preview-DWDE2pUe.js} +2 -2
- package/dist/{code-preview-DnUM87ZB.js.map → code-preview-DWDE2pUe.js.map} +1 -1
- package/dist/{code-preview-C9Imx-RX.cjs → code-preview-DqFuxCjV.cjs} +2 -2
- package/dist/{code-preview-C9Imx-RX.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-D1A1Xrmw.cjs → date-range-DwdO0vNv.cjs} +2 -2
- package/dist/{date-range-D1A1Xrmw.cjs.map → date-range-DwdO0vNv.cjs.map} +1 -1
- package/dist/{date-range-inline-CwLJLOe1.cjs → date-range-inline-B1WaAPY6.cjs} +2 -2
- package/dist/{date-range-inline-CwLJLOe1.cjs.map → date-range-inline-B1WaAPY6.cjs.map} +1 -1
- package/dist/{date-range-inline-Ca4DPfeR.js → date-range-inline-yYh4Uw-k.js} +3 -3
- package/dist/{date-range-inline-Ca4DPfeR.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-DF7MnRi3.js → date-range-s2EHTGQM.js} +4 -4
- package/dist/{date-range-DF7MnRi3.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-hXu_bFxW.js → delay-D19Mpit_.js} +2 -2
- package/dist/{delay-hXu_bFxW.js.map → delay-D19Mpit_.js.map} +1 -1
- package/dist/{delay-DQKt6VVn.cjs → delay-l2gPaJoH.cjs} +2 -2
- package/dist/{delay-DQKt6VVn.cjs.map → delay-l2gPaJoH.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-Ci0XXz0g.js → details-CEu4oDP7.js} +2 -2
- package/dist/{details-Ci0XXz0g.js.map → details-CEu4oDP7.js.map} +1 -1
- package/dist/{details-Ft0ivj0F.cjs → details-LNuoItTO.cjs} +2 -2
- package/dist/{details-Ft0ivj0F.cjs.map → details-LNuoItTO.cjs.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-7tFlrTFn.cjs → dialog-content-6wVlm9RL.cjs} +2 -2
- package/dist/{dialog-content-7tFlrTFn.cjs.map → dialog-content-6wVlm9RL.cjs.map} +1 -1
- package/dist/{dialog-content-DXnLwUtv.js → dialog-content-CQ3Xi4_b.js} +4 -4
- package/dist/{dialog-content-DXnLwUtv.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 +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-CXxTjA0j.cjs → dropdown-content-BI541LSK.cjs} +5 -10
- package/dist/dropdown-content-BI541LSK.cjs.map +1 -0
- package/dist/{dropdown-content-BCk2WbXc.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-BWIYYwA8.cjs → email-recipients-DizBUcJ2.cjs} +24 -24
- package/dist/email-recipients-DizBUcJ2.cjs.map +1 -0
- package/dist/{email-recipients-BT3xPoBN.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-DflXFgVs.cjs → flex-BN7HdoGW.cjs} +2 -2
- package/dist/{flex-DflXFgVs.cjs.map → flex-BN7HdoGW.cjs.map} +1 -1
- package/dist/{flex-DJEZ1DdQ.js → flex-ro_7y02P.js} +2 -2
- package/dist/{flex-DJEZ1DdQ.js.map → flex-ro_7y02P.js.map} +1 -1
- package/dist/{form-7OiDtJT4.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-B1vJlhmI.cjs → formField.mixin-CSy0dZ7Q.cjs} +2 -2
- package/dist/{formField.mixin-B1vJlhmI.cjs.map → formField.mixin-CSy0dZ7Q.cjs.map} +1 -1
- package/dist/{formField.mixin-3i7VOHMH.js → formField.mixin-DtegNyKv.js} +2 -2
- package/dist/{formField.mixin-3i7VOHMH.js.map → formField.mixin-DtegNyKv.js.map} +1 -1
- package/dist/{icon-BMhWh8Ib.js → icon-CSxxuGxN.js} +2 -2
- package/dist/{icon-BMhWh8Ib.js.map → icon-CSxxuGxN.js.map} +1 -1
- package/dist/{icon-TPLdDnCq.cjs → icon-GaL2G_1M.cjs} +2 -2
- package/dist/{icon-TPLdDnCq.cjs.map → icon-GaL2G_1M.cjs.map} +1 -1
- package/dist/{icon-button-DOZuY9x8.js → icon-button-B0jLowAy.js} +5 -5
- package/dist/icon-button-B0jLowAy.js.map +1 -0
- package/dist/{icon-button-CLDy5tUS.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 +49 -49
- package/dist/{input-Dre3bMuF.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-2mBZmMCP.js → list-3Ity7MFT.js} +2 -2
- package/dist/{list-2mBZmMCP.js.map → list-3Ity7MFT.js.map} +1 -1
- package/dist/{list-DZ43cTnR.cjs → list-CbXXjBUM.cjs} +2 -2
- package/dist/{list-DZ43cTnR.cjs.map → list-CbXXjBUM.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-CjRG_9tZ.cjs → litElement.mixin-DFG5Ckp7.cjs} +2 -2
- package/dist/{litElement.mixin-CjRG_9tZ.cjs.map → litElement.mixin-DFG5Ckp7.cjs.map} +1 -1
- package/dist/{litElement.mixin-Bj0zv3lK.js → litElement.mixin-Efwm8boA.js} +2 -2
- package/dist/{litElement.mixin-Bj0zv3lK.js.map → litElement.mixin-Efwm8boA.js.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-sSS6ACVH.js → map-BCQwFMpm.js} +2 -2
- package/dist/{map-sSS6ACVH.js.map → map-BCQwFMpm.js.map} +1 -1
- package/dist/{map-D69SEPpf.cjs → map-DeRVVjHa.cjs} +2 -2
- package/dist/{map-D69SEPpf.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-CATzB9tA.js → menu-CusvB2dY.js} +3 -3
- package/dist/{menu-CATzB9tA.js.map → menu-CusvB2dY.js.map} +1 -1
- package/dist/{menu-BOeTdvk_.cjs → menu-Delwe6al.cjs} +2 -2
- package/dist/{menu-BOeTdvk_.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-LnNx5EDh.cjs → notification-service-BwcUY8O5.cjs} +7 -7
- package/dist/notification-service-BwcUY8O5.cjs.map +1 -0
- package/dist/{notification-service-DrwmIgoR.js → notification-service-DiTgelcm.js} +62 -58
- package/dist/notification-service-DiTgelcm.js.map +1 -0
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-DQMcgjgZ.cjs → notify-C81e8flx.cjs} +2 -2
- package/dist/{notify-DQMcgjgZ.cjs.map → notify-C81e8flx.cjs.map} +1 -1
- package/dist/{notify-C41nYdUf.js → notify-JNbirYT5.js} +2 -2
- package/dist/{notify-C41nYdUf.js.map → notify-JNbirYT5.js.map} +1 -1
- package/dist/{option-BNKGfKgL.cjs → option-D4XcuvRK.cjs} +5 -5
- package/dist/option-D4XcuvRK.cjs.map +1 -0
- package/dist/{option-DbBr0StZ.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-ByWbYHhd.cjs → payment-card-form-CIm57Nfa.cjs} +2 -2
- package/dist/{payment-card-form-ByWbYHhd.cjs.map → payment-card-form-CIm57Nfa.cjs.map} +1 -1
- package/dist/{payment-card-form-_jHodv7G.js → payment-card-form-pDuTrWgZ.js} +3 -3
- package/dist/{payment-card-form-_jHodv7G.js.map → payment-card-form-pDuTrWgZ.js.map} +1 -1
- package/dist/{progress-BY7K7Etz.cjs → progress-BETtTl0y.cjs} +2 -2
- package/dist/{progress-BY7K7Etz.cjs.map → progress-BETtTl0y.cjs.map} +1 -1
- package/dist/{progress-Cix7Mu1p.js → progress-C4o_zWvg.js} +2 -2
- package/dist/{progress-Cix7Mu1p.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-BNmjg-i9.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-D69TfC2I.cjs → schmancy-steps-container-DpM5Kvt3.cjs} +2 -2
- package/dist/{schmancy-steps-container-D69TfC2I.cjs.map → schmancy-steps-container-DpM5Kvt3.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-BUE4fG8_.js → schmancy-steps-container-uRaJiCZE.js} +2 -2
- package/dist/{schmancy-steps-container-BUE4fG8_.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-Bspcrc-h.js → select-uQ5xnOKn.js} +16 -16
- package/dist/select-uQ5xnOKn.js.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-CuE9tUeo.cjs → sheet-CEcMgg-2.cjs} +2 -2
- package/dist/{sheet-CuE9tUeo.cjs.map → sheet-CEcMgg-2.cjs.map} +1 -1
- package/dist/{sheet-BxOGSGJ0.js → sheet-CvvdxIUZ.js} +3 -3
- package/dist/{sheet-BxOGSGJ0.js.map → sheet-CvvdxIUZ.js.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-ChQVbnYO.js → slider-DyxIZ-hn.js} +3 -3
- package/dist/{slider-ChQVbnYO.js.map → slider-DyxIZ-hn.js.map} +1 -1
- package/dist/{slider-DeKwZONn.cjs → slider-T8sYw1p-.cjs} +2 -2
- package/dist/{slider-DeKwZONn.cjs.map → slider-T8sYw1p-.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-y1dPMTQp.js → spinner-D9fC8P3H.js} +2 -2
- package/dist/{spinner-y1dPMTQp.js.map → spinner-D9fC8P3H.js.map} +1 -1
- package/dist/{spinner-C5tMQys5.cjs → spinner-DJviKuwJ.cjs} +2 -2
- package/dist/{spinner-C5tMQys5.cjs.map → spinner-DJviKuwJ.cjs.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-4MzhEaru.cjs → surface-B_SGQ1f7.cjs} +2 -2
- package/dist/{surface-4MzhEaru.cjs.map → surface-B_SGQ1f7.cjs.map} +1 -1
- package/dist/{surface-BYmdH754.js → surface-CUyYCpFl.js} +2 -2
- package/dist/{surface-BYmdH754.js.map → surface-CUyYCpFl.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-J5EVvpXy.cjs → table-C-sWuoAy.cjs} +2 -2
- package/dist/{table-J5EVvpXy.cjs.map → table-C-sWuoAy.cjs.map} +1 -1
- package/dist/{table-YBHaxQzQ.js → table-D7p7a-Ag.js} +2 -2
- package/dist/{table-YBHaxQzQ.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-ezB19WI8.js → tabs-compatibility-Dn8bSEvA.js} +2 -2
- package/dist/{tabs-compatibility-ezB19WI8.js.map → tabs-compatibility-Dn8bSEvA.js.map} +1 -1
- package/dist/{tabs-compatibility-JMTsaND_.cjs → tabs-compatibility-XoF2vpv5.cjs} +2 -2
- package/dist/{tabs-compatibility-JMTsaND_.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-Cwbr8x57.js.map → tailwind.mixin-C13RR5x6.js.map} +1 -1
- package/dist/tailwind.mixin-O9jmUJ7m.cjs +2 -0
- package/dist/{tailwind.mixin-B-VcpMHn.cjs.map → tailwind.mixin-O9jmUJ7m.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-B3nWhCra.cjs → textarea-9rSwC34M.cjs} +2 -2
- package/dist/{textarea-B3nWhCra.cjs.map → textarea-9rSwC34M.cjs.map} +1 -1
- package/dist/{textarea-yn7IFbnu.js → textarea-Dsqg9ted.js} +3 -3
- package/dist/{textarea-yn7IFbnu.js.map → textarea-Dsqg9ted.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-I_c1ZWWV.cjs → theme-button-BTH2A59w.cjs} +2 -2
- package/dist/{theme-button-I_c1ZWWV.cjs.map → theme-button-BTH2A59w.cjs.map} +1 -1
- package/dist/{theme-button-CGArg1pu.js → theme-button-pfkAwkvY.js} +2 -2
- package/dist/{theme-button-CGArg1pu.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-CdSDaeU0.cjs → theme.component-BvoZuM2h.cjs} +3 -3
- package/dist/{theme.component-CdSDaeU0.cjs.map → theme.component-BvoZuM2h.cjs.map} +1 -1
- package/dist/{theme.component-B5zp-4OG.js → theme.component-C3G_OrjE.js} +168 -168
- package/dist/{theme.component-B5zp-4OG.js.map → theme.component-C3G_OrjE.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-DRBf5biI.cjs → timezone-BKBME7Gq.cjs} +2 -2
- package/dist/{timezone-DRBf5biI.cjs.map → timezone-BKBME7Gq.cjs.map} +1 -1
- package/dist/{timezone-CepyC8kw.js → timezone-mQeoU0_O.js} +3 -3
- package/dist/{timezone-CepyC8kw.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-C6HlAqs2.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-CpqWMdfb.cjs → tree-DpKb9Q-1.cjs} +2 -2
- package/dist/{tree-CpqWMdfb.cjs.map → tree-DpKb9Q-1.cjs.map} +1 -1
- package/dist/{tree-CxJAr7G3.js → tree-cl3PdPTy.js} +2 -2
- package/dist/{tree-CxJAr7G3.js.map → tree-cl3PdPTy.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-BWg7Otk8.cjs → typewriter-QSd_xI9j.cjs} +3 -15
- package/dist/typewriter-QSd_xI9j.cjs.map +1 -0
- package/dist/{typewriter-D3QLAVdz.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-C8NCP_rr.js → typography-BkuzOZ0g.js} +2 -2
- package/dist/{typography-C8NCP_rr.js.map → typography-BkuzOZ0g.js.map} +1 -1
- package/dist/{typography-DGOOlbC1.cjs → typography-BoI8HgTE.cjs} +2 -2
- package/dist/{typography-DGOOlbC1.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/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-09_SfjsP.js.map +0 -1
- package/dist/autocomplete-CFREt7Vm.cjs.map +0 -1
- package/dist/avatar-C8PC_n9i.cjs.map +0 -1
- package/dist/avatar-CKp3Ukk4.js.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-BG9uDpUp.js +0 -103
- package/dist/divider-BG9uDpUp.js.map +0 -1
- package/dist/divider-CWnAg2p-.cjs +0 -83
- package/dist/divider-CWnAg2p-.cjs.map +0 -1
- package/dist/dropdown-content-BCk2WbXc.js.map +0 -1
- package/dist/dropdown-content-CXxTjA0j.cjs.map +0 -1
- package/dist/email-recipients-BT3xPoBN.js.map +0 -1
- package/dist/email-recipients-BWIYYwA8.cjs.map +0 -1
- package/dist/form-7OiDtJT4.js.map +0 -1
- package/dist/form-nHwPpyhJ.cjs +0 -14
- package/dist/form-nHwPpyhJ.cjs.map +0 -1
- package/dist/icon-button-CLDy5tUS.cjs.map +0 -1
- package/dist/icon-button-DOZuY9x8.js.map +0 -1
- package/dist/input-CqLneJhz.cjs +0 -51
- package/dist/input-CqLneJhz.cjs.map +0 -1
- package/dist/input-Dre3bMuF.js.map +0 -1
- package/dist/media-B-VIbSH_.js +0 -151
- package/dist/media-B-VIbSH_.js.map +0 -1
- package/dist/media-Cew1Mxkj.cjs +0 -100
- package/dist/media-Cew1Mxkj.cjs.map +0 -1
- package/dist/notification-service-DrwmIgoR.js.map +0 -1
- package/dist/notification-service-LnNx5EDh.cjs.map +0 -1
- package/dist/option-BNKGfKgL.cjs.map +0 -1
- package/dist/option-DbBr0StZ.js.map +0 -1
- package/dist/radio-button-BNmjg-i9.js.map +0 -1
- package/dist/radio-button-CYq6qTSb.cjs +0 -41
- package/dist/radio-button-CYq6qTSb.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-CzCd2fMa.cjs +0 -12
- package/dist/route.component-CzCd2fMa.cjs.map +0 -1
- package/dist/route.component-Q3rCkryr.js +0 -321
- package/dist/route.component-Q3rCkryr.js.map +0 -1
- package/dist/select-B-yc3JB7.cjs +0 -57
- package/dist/select-B-yc3JB7.cjs.map +0 -1
- package/dist/select-Bspcrc-h.js.map +0 -1
- package/dist/tailwind.mixin-B-VcpMHn.cjs +0 -2
- package/dist/tailwind.mixin-Cwbr8x57.js +0 -43
- package/dist/tooltip-C6HlAqs2.js.map +0 -1
- package/dist/tooltip-CCX8PidC.cjs +0 -7
- package/dist/tooltip-CCX8PidC.cjs.map +0 -1
- package/dist/typewriter-BWg7Otk8.cjs.map +0 -1
- package/dist/typewriter-D3QLAVdz.js.map +0 -1
|
@@ -1,124 +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
|
|
9
|
+
import { T as dt } from "./tailwind.mixin-C13RR5x6.js";
|
|
10
|
+
import { c as B, f as Et } from "./ripple-Cy-nvO8W.js";
|
|
11
11
|
import "lit/directives/guard.js";
|
|
12
|
-
import "./boat-
|
|
13
|
-
import "./spinner-
|
|
14
|
-
import "./icon-button-
|
|
15
|
-
import "./media-
|
|
16
|
-
import "./checkbox-
|
|
17
|
-
import "./chips-
|
|
18
|
-
import "./code-preview-
|
|
19
|
-
import "./payment-card-form-
|
|
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";
|
|
20
20
|
import { SchmancyEvents as p } from "./types.js";
|
|
21
|
-
import { n as
|
|
22
|
-
import { $ as z } from "./litElement.mixin-
|
|
23
|
-
import { c as
|
|
24
|
-
import "./date-range-
|
|
25
|
-
import "./date-range-inline-
|
|
26
|
-
import "./delay-
|
|
27
|
-
import "./details-
|
|
28
|
-
import "./dialog-content-
|
|
29
|
-
import "./dialog-service-
|
|
30
|
-
import "./divider-
|
|
31
|
-
import "./dropdown-content-
|
|
32
|
-
import "./timezone-
|
|
33
|
-
import "./form-
|
|
34
|
-
import "./icon-
|
|
35
|
-
import "./input-
|
|
36
|
-
import "./flex-
|
|
37
|
-
import "./list-
|
|
38
|
-
import "./email-recipients-
|
|
39
|
-
import "./map-
|
|
40
|
-
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";
|
|
41
41
|
import { when as L } from "lit/directives/when.js";
|
|
42
|
-
import "./notification-service-
|
|
43
|
-
import "./option-
|
|
44
|
-
import "./progress-
|
|
45
|
-
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";
|
|
46
46
|
import "./index-CW6PhEkx.js";
|
|
47
|
-
import "./select-
|
|
48
|
-
import "./sheet-
|
|
49
|
-
import { s as
|
|
50
|
-
import "./slider-
|
|
51
|
-
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";
|
|
52
52
|
import "./context-object-u5gBaozZ.js";
|
|
53
53
|
import { map as Ot, distinctUntilChanged as zt, take as kt } from "rxjs/operators";
|
|
54
|
-
import "./surface-
|
|
55
|
-
import "./table-
|
|
56
|
-
import "./tabs-compatibility-
|
|
57
|
-
import "./textarea-
|
|
58
|
-
import "./theme.component-
|
|
59
|
-
import "./theme-button-
|
|
60
|
-
import "./tooltip-
|
|
61
|
-
import "./tree-
|
|
62
|
-
import "./typewriter-
|
|
63
|
-
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";
|
|
64
64
|
import { S as o } from "./theme.interface-C5Kj6WjD.js";
|
|
65
|
-
var Mt = Object.defineProperty, Wt = Object.getOwnPropertyDescriptor,
|
|
66
|
-
for (var n, s =
|
|
67
|
-
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;
|
|
68
68
|
};
|
|
69
|
-
let $ = class extends
|
|
69
|
+
let $ = class extends dt(O`
|
|
70
70
|
:host {
|
|
71
71
|
display: inline-flex;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.badge-content {
|
|
75
|
-
display: flex;
|
|
76
|
-
align-items: center;
|
|
77
|
-
line-height: 1;
|
|
78
|
-
letter-spacing: 0.01em;
|
|
79
|
-
font-kerning: normal;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
/* Improved vertical alignment for icon and text */
|
|
83
|
-
::slotted(*) {
|
|
84
|
-
vertical-align: middle;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* Add space between icon and text */
|
|
88
|
-
.icon-container {
|
|
89
|
-
display: flex;
|
|
90
|
-
align-items: center;
|
|
91
|
-
justify-content: center;
|
|
92
|
-
line-height: 1;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* Icon spacing adjustments - based on golden ratio principles */
|
|
96
|
-
.icon-container + .badge-content {
|
|
97
|
-
margin-left: 0.38em; /* Approximately 1/1.618 of 0.618em */
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/* Ensure the icon is properly centered */
|
|
101
|
-
schmancy-icon {
|
|
102
|
-
display: flex;
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: center;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* Elegant hover effect for better interactivity */
|
|
108
|
-
:host([outlined]) div[part="badge"] {
|
|
109
|
-
transition: all 0.2s ease;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
:host([outlined]) div[part="badge"]:hover {
|
|
113
|
-
filter: brightness(0.95);
|
|
114
|
-
transform: translateY(-1px);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/* Non-outlined badges get subtle hover effects */
|
|
118
|
-
:host(:not([outlined])) div[part="badge"]:hover {
|
|
119
|
-
filter: brightness(0.98);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
74
|
/* Enhanced pulse animation for better attention-getting */
|
|
123
75
|
@keyframes elegant-pulse {
|
|
124
76
|
0%, 100% {
|
|
@@ -178,69 +130,69 @@ let $ = class extends ht(O`
|
|
|
178
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];
|
|
179
131
|
}
|
|
180
132
|
render() {
|
|
181
|
-
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 };
|
|
182
134
|
return c`
|
|
183
135
|
<div
|
|
184
136
|
part="badge"
|
|
185
137
|
class="${this.classMap(s)}"
|
|
186
138
|
style="${this.styleMap(a)}"
|
|
187
|
-
${B({ bgColor:
|
|
139
|
+
${B({ bgColor: r.bg, color: r.text })}
|
|
188
140
|
>
|
|
189
141
|
<!-- Icon slot or named icon -->
|
|
190
142
|
<slot name="icon">
|
|
191
143
|
${this.icon ? c`
|
|
192
|
-
<div part="icon" class="
|
|
193
|
-
<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>
|
|
194
146
|
</div>
|
|
195
147
|
` : ""}
|
|
196
148
|
</slot>
|
|
197
149
|
|
|
198
|
-
<!-- Content -->
|
|
199
|
-
<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]" : ""}">
|
|
200
152
|
<slot></slot>
|
|
201
153
|
</div>
|
|
202
154
|
</div>
|
|
203
155
|
`;
|
|
204
156
|
}
|
|
205
157
|
};
|
|
206
|
-
|
|
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")], $);
|
|
207
159
|
let ot = class extends $ {
|
|
208
160
|
};
|
|
209
|
-
ot =
|
|
161
|
+
ot = D([y("sch-badge")], ot);
|
|
210
162
|
const ns = new class {
|
|
211
163
|
constructor() {
|
|
212
|
-
this.$drawer = new
|
|
164
|
+
this.$drawer = new Y(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
|
|
213
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);
|
|
214
166
|
});
|
|
215
167
|
}
|
|
216
168
|
dimiss(t) {
|
|
217
169
|
this.$drawer.next({ action: "dismiss", ref: t });
|
|
218
170
|
}
|
|
219
|
-
render(t, e,
|
|
220
|
-
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 });
|
|
221
173
|
}
|
|
222
174
|
async handlePush(t, e) {
|
|
223
|
-
let
|
|
224
|
-
if (typeof e == "string")
|
|
225
|
-
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;
|
|
226
178
|
else {
|
|
227
179
|
if (typeof e != "function") return;
|
|
228
180
|
try {
|
|
229
|
-
const
|
|
230
|
-
|
|
181
|
+
const i = await e();
|
|
182
|
+
i && typeof i == "object" && "default" in i ? r = new i.default() : r = i instanceof HTMLElement ? i : new i();
|
|
231
183
|
} catch {
|
|
232
184
|
return;
|
|
233
185
|
}
|
|
234
186
|
}
|
|
235
|
-
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 }));
|
|
236
188
|
}
|
|
237
189
|
push(t) {
|
|
238
190
|
this.$drawer.next({ action: "push", ref: window, component: t });
|
|
239
191
|
}
|
|
240
|
-
}(), J =
|
|
241
|
-
var
|
|
242
|
-
for (var n, s =
|
|
243
|
-
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;
|
|
244
196
|
};
|
|
245
197
|
let C = class extends z(O`
|
|
246
198
|
:host {
|
|
@@ -254,18 +206,18 @@ let C = class extends z(O`
|
|
|
254
206
|
super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
255
207
|
}
|
|
256
208
|
firstUpdated() {
|
|
257
|
-
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(() => {
|
|
258
210
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
259
211
|
}), K(), m(this.disconnecting)).subscribe((t) => {
|
|
260
212
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
261
|
-
}),
|
|
213
|
+
}), g(window, p.ContentDrawerToggle).pipe(E((t) => {
|
|
262
214
|
t.stopPropagation();
|
|
263
|
-
}),
|
|
215
|
+
}), w((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
|
|
264
216
|
this.open = t;
|
|
265
|
-
}),
|
|
217
|
+
}), g(window, "schmancy-content-drawer-render").pipe(E((t) => {
|
|
266
218
|
t.stopPropagation();
|
|
267
|
-
}),
|
|
268
|
-
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 });
|
|
269
221
|
});
|
|
270
222
|
}
|
|
271
223
|
getOffsetTop(t) {
|
|
@@ -287,12 +239,12 @@ let C = class extends z(O`
|
|
|
287
239
|
` : lt;
|
|
288
240
|
}
|
|
289
241
|
};
|
|
290
|
-
k([W({ context: Z })], C.prototype, "minWidth", 2), k([W({ context: pt }), l()], C.prototype, "open", 2), k([W({ context: J }),
|
|
291
|
-
var It = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, T = (t, e,
|
|
292
|
-
for (var n, s =
|
|
293
|
-
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;
|
|
294
246
|
};
|
|
295
|
-
let
|
|
247
|
+
let j = class extends z(O`
|
|
296
248
|
:host {
|
|
297
249
|
display: block;
|
|
298
250
|
overflow: hidden;
|
|
@@ -325,10 +277,10 @@ let P = class extends z(O`
|
|
|
325
277
|
`;
|
|
326
278
|
}
|
|
327
279
|
};
|
|
328
|
-
T([l({ type: Number })],
|
|
329
|
-
var Nt = Object.defineProperty, _t = Object.getOwnPropertyDescriptor,
|
|
330
|
-
for (var n, s =
|
|
331
|
-
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;
|
|
332
284
|
};
|
|
333
285
|
let u = class extends z(O`
|
|
334
286
|
:host {
|
|
@@ -339,7 +291,7 @@ let u = class extends z(O`
|
|
|
339
291
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
340
292
|
}
|
|
341
293
|
updated(t) {
|
|
342
|
-
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()));
|
|
343
295
|
}
|
|
344
296
|
open() {
|
|
345
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)" });
|
|
@@ -348,10 +300,10 @@ let u = class extends z(O`
|
|
|
348
300
|
G(st(this.closeModalSheet()), st(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
|
|
349
301
|
}
|
|
350
302
|
closeModalSheet() {
|
|
351
|
-
return U(!0).pipe(
|
|
303
|
+
return U(!0).pipe(E(() => V.dismiss(this.schmancyContentDrawerID)));
|
|
352
304
|
}
|
|
353
305
|
closeSheet() {
|
|
354
|
-
return new
|
|
306
|
+
return new ft((t) => {
|
|
355
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 = () => {
|
|
356
308
|
this.sheet.style.display = "none", t.next(), t.complete();
|
|
357
309
|
};
|
|
@@ -368,10 +320,10 @@ let u = class extends z(O`
|
|
|
368
320
|
`;
|
|
369
321
|
}
|
|
370
322
|
};
|
|
371
|
-
|
|
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);
|
|
372
324
|
const Xt = new class {
|
|
373
325
|
constructor() {
|
|
374
|
-
this.$drawer = new
|
|
326
|
+
this.$drawer = new Y(), this.$drawer.pipe(R(10)).subscribe((t) => {
|
|
375
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 }));
|
|
376
328
|
});
|
|
377
329
|
}
|
|
@@ -381,12 +333,12 @@ const Xt = new class {
|
|
|
381
333
|
close(t) {
|
|
382
334
|
this.$drawer.next({ self: t, state: !1 });
|
|
383
335
|
}
|
|
384
|
-
}(), as = Xt, tt =
|
|
385
|
-
var Ht = Object.defineProperty,
|
|
386
|
-
for (var n, s =
|
|
387
|
-
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;
|
|
388
340
|
};
|
|
389
|
-
let N = class extends
|
|
341
|
+
let N = class extends dt(O`
|
|
390
342
|
:host {
|
|
391
343
|
display: block;
|
|
392
344
|
}
|
|
@@ -415,8 +367,8 @@ let N = class extends ht(O`
|
|
|
415
367
|
`;
|
|
416
368
|
}
|
|
417
369
|
};
|
|
418
|
-
X([
|
|
419
|
-
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;
|
|
420
372
|
let nt = class extends z(O`
|
|
421
373
|
:host {
|
|
422
374
|
display: block;
|
|
@@ -426,7 +378,7 @@ let nt = class extends z(O`
|
|
|
426
378
|
}
|
|
427
379
|
`) {
|
|
428
380
|
connectedCallback() {
|
|
429
|
-
super.connectedCallback(),
|
|
381
|
+
super.connectedCallback(), g(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
|
|
430
382
|
this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
|
|
431
383
|
});
|
|
432
384
|
}
|
|
@@ -434,15 +386,15 @@ let nt = class extends z(O`
|
|
|
434
386
|
return c` <slot></slot> `;
|
|
435
387
|
}
|
|
436
388
|
};
|
|
437
|
-
nt = ((t, e,
|
|
438
|
-
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);
|
|
439
391
|
return s;
|
|
440
392
|
})([y("schmancy-nav-drawer-content")], nt);
|
|
441
|
-
var Rt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, I = (t, e,
|
|
442
|
-
for (var n, s =
|
|
443
|
-
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;
|
|
444
396
|
};
|
|
445
|
-
let
|
|
397
|
+
let f = class extends z(O`
|
|
446
398
|
:host {
|
|
447
399
|
display: flex;
|
|
448
400
|
flex-grow: 1;
|
|
@@ -459,16 +411,16 @@ let g = class extends z(O`
|
|
|
459
411
|
super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
|
|
460
412
|
}
|
|
461
413
|
firstUpdated() {
|
|
462
|
-
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) => {
|
|
463
415
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
464
|
-
}),
|
|
416
|
+
}), g(window, p.NavDrawer_toggle).pipe(E((t) => {
|
|
465
417
|
t.stopPropagation();
|
|
466
|
-
}),
|
|
418
|
+
}), w((t) => t.detail.state), K(), m(this.disconnecting), R(10)).subscribe((t) => {
|
|
467
419
|
this.mode === "push" && t === "close" || (this.open = t);
|
|
468
420
|
});
|
|
469
421
|
}
|
|
470
422
|
updateState(t) {
|
|
471
|
-
const e = t >=
|
|
423
|
+
const e = t >= f.BREAKPOINTS[this.breakpoint];
|
|
472
424
|
this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
|
|
473
425
|
}
|
|
474
426
|
render() {
|
|
@@ -479,17 +431,17 @@ let g = class extends z(O`
|
|
|
479
431
|
flow="col"
|
|
480
432
|
justify="stretch"
|
|
481
433
|
align="stretch"
|
|
482
|
-
${
|
|
434
|
+
${Et()}
|
|
483
435
|
>
|
|
484
436
|
<slot></slot>
|
|
485
437
|
</schmancy-grid>
|
|
486
438
|
` : lt;
|
|
487
439
|
}
|
|
488
440
|
};
|
|
489
|
-
|
|
490
|
-
var Bt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, M = (t, e,
|
|
491
|
-
for (var n, s =
|
|
492
|
-
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;
|
|
493
445
|
};
|
|
494
446
|
const H = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
495
447
|
let S = class extends z() {
|
|
@@ -542,27 +494,27 @@ let S = class extends z() {
|
|
|
542
494
|
`;
|
|
543
495
|
}
|
|
544
496
|
};
|
|
545
|
-
M([
|
|
546
|
-
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 {
|
|
547
499
|
constructor() {
|
|
548
|
-
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(() => {
|
|
549
501
|
window.dispatchEvent(new CustomEvent(yt, { detail: { id: t.id, callerID: t.uuid } }));
|
|
550
|
-
}))]).pipe(
|
|
551
|
-
const { from: e, to:
|
|
552
|
-
|
|
553
|
-
const n = [{ transform: `translate(${e.rect.left -
|
|
554
|
-
|
|
555
|
-
|
|
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 = "";
|
|
556
508
|
};
|
|
557
|
-
}, 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();
|
|
558
510
|
}
|
|
559
511
|
}();
|
|
560
512
|
function at(t) {
|
|
561
|
-
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));
|
|
562
514
|
}
|
|
563
|
-
var Kt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor,
|
|
564
|
-
for (var n, s =
|
|
565
|
-
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;
|
|
566
518
|
};
|
|
567
519
|
let _ = class extends z(O``) {
|
|
568
520
|
constructor() {
|
|
@@ -573,20 +525,20 @@ let _ = class extends z(O``) {
|
|
|
573
525
|
}
|
|
574
526
|
connectedCallback() {
|
|
575
527
|
if (this.id === void 0) throw new Error("id is required");
|
|
576
|
-
super.connectedCallback(), G(
|
|
577
|
-
this.dispatchEvent(new CustomEvent(
|
|
578
|
-
} })),
|
|
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) => {
|
|
579
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 }));
|
|
580
532
|
} }))).pipe(m(this.disconnecting)).subscribe();
|
|
581
533
|
}
|
|
582
534
|
async firstUpdated() {
|
|
583
|
-
U(
|
|
535
|
+
U(q.activeTeleportations.get(this.id)).pipe(ht((t) => !!t), m(this.disconnecting), Ct()).subscribe({ next: (t) => {
|
|
584
536
|
this.style.setProperty("visibility", "hidden"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
|
|
585
|
-
|
|
537
|
+
q.activeTeleportations.set(this.id, e), q.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
586
538
|
} });
|
|
587
539
|
}, error: () => {
|
|
588
540
|
this.style.setProperty("visibility", "visible"), at(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
|
|
589
|
-
|
|
541
|
+
q.activeTeleportations.set(this.id, t);
|
|
590
542
|
} });
|
|
591
543
|
}, complete: () => {
|
|
592
544
|
} });
|
|
@@ -595,10 +547,10 @@ let _ = class extends z(O``) {
|
|
|
595
547
|
return c`<slot></slot>`;
|
|
596
548
|
}
|
|
597
549
|
};
|
|
598
|
-
|
|
599
|
-
var
|
|
600
|
-
for (var n, s =
|
|
601
|
-
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;
|
|
602
554
|
};
|
|
603
555
|
let b = class extends z() {
|
|
604
556
|
constructor() {
|
|
@@ -607,9 +559,9 @@ let b = class extends z() {
|
|
|
607
559
|
render() {
|
|
608
560
|
let t;
|
|
609
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>`;
|
|
610
|
-
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();
|
|
611
563
|
return c`
|
|
612
|
-
<div class="${this.classMap(e)}" ${
|
|
564
|
+
<div class="${this.classMap(e)}" ${r}>
|
|
613
565
|
${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
|
|
614
566
|
</div>
|
|
615
567
|
`;
|
|
@@ -638,18 +590,18 @@ export {
|
|
|
638
590
|
Q as e,
|
|
639
591
|
Z as f,
|
|
640
592
|
C as g,
|
|
641
|
-
|
|
593
|
+
j as h,
|
|
642
594
|
u as i,
|
|
643
595
|
Xt as j,
|
|
644
596
|
N as k,
|
|
645
597
|
nt as l,
|
|
646
598
|
tt as m,
|
|
647
599
|
et as n,
|
|
648
|
-
|
|
600
|
+
f as o,
|
|
649
601
|
S as p,
|
|
650
602
|
_ as q,
|
|
651
603
|
b as r,
|
|
652
604
|
ns as s,
|
|
653
|
-
|
|
605
|
+
q as t
|
|
654
606
|
};
|
|
655
|
-
//# sourceMappingURL=avatar-
|
|
607
|
+
//# sourceMappingURL=avatar-CH-EctMv.js.map
|