@mhmo91/schmancy 0.5.35 → 0.5.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/content-drawer.md +114 -140
- package/ai/navigation-bar.md +30 -4
- package/ai/navigation-rail.md +72 -0
- package/ai/theme.md +779 -716
- package/dist/ai/content-drawer.md +114 -140
- package/dist/ai/navigation-bar.md +30 -4
- package/dist/ai/navigation-rail.md +72 -0
- package/dist/ai/theme.md +779 -716
- package/dist/{animated-text-COvhr8E3.js → animated-text-Cfs1zx2e.js} +4 -3
- package/dist/{animated-text-COvhr8E3.js.map → animated-text-Cfs1zx2e.js.map} +1 -1
- package/dist/{animated-text-BZUrBdvN.cjs → animated-text-DoLx8YhT.cjs} +2 -2
- package/dist/{animated-text-BZUrBdvN.cjs.map → animated-text-DoLx8YhT.cjs.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-BHtBHWVt.js → area.component-A6Xw-dfF.js} +4 -3
- package/dist/{area.component-BHtBHWVt.js.map → area.component-A6Xw-dfF.js.map} +1 -1
- package/dist/area.component-DMRF1lD-.cjs +12 -0
- package/dist/{area.component-Ch2Eaa4i.cjs.map → area.component-DMRF1lD-.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-9RkU9LmA.js → autocomplete-C5DIxpTG.js} +18 -18
- package/dist/{autocomplete-9RkU9LmA.js.map → autocomplete-C5DIxpTG.js.map} +1 -1
- package/dist/{autocomplete-CenwFcT1.cjs → autocomplete-DkJqOYTg.cjs} +2 -2
- package/dist/{autocomplete-CenwFcT1.cjs.map → autocomplete-DkJqOYTg.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-CjjwZDsw.js → avatar-BDy0wAek.js} +144 -134
- package/dist/avatar-BDy0wAek.js.map +1 -0
- package/dist/avatar-BmcocEQ4.cjs +306 -0
- package/dist/avatar-BmcocEQ4.cjs.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/boat-CfIXRMn-.cjs +78 -0
- package/dist/boat-CfIXRMn-.cjs.map +1 -0
- package/dist/boat-DumUFcmT.js +276 -0
- package/dist/boat-DumUFcmT.js.map +1 -0
- 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-D6-WQeEk.js → checkbox-CHG-gT2P.js} +3 -2
- package/dist/{checkbox-D6-WQeEk.js.map → checkbox-CHG-gT2P.js.map} +1 -1
- package/dist/{checkbox-8djp_8NK.cjs → checkbox-CsMLbxBY.cjs} +2 -2
- package/dist/{checkbox-8djp_8NK.cjs.map → checkbox-CsMLbxBY.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-BFoEmN8y.cjs → code-preview-BgUU7bPR.cjs} +5 -5
- package/dist/{code-preview-BFoEmN8y.cjs.map → code-preview-BgUU7bPR.cjs.map} +1 -1
- package/dist/{code-preview-Z02-2suM.js → code-preview-Bp4OemTD.js} +8 -8
- package/dist/{code-preview-Z02-2suM.js.map → code-preview-Bp4OemTD.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/context-create-CA907mdD.cjs +2 -0
- package/dist/context-create-CA907mdD.cjs.map +1 -0
- package/dist/{context-object-BE1o2XB3.js → context-create-DCiujzV2.js} +262 -212
- package/dist/context-create-DCiujzV2.js.map +1 -0
- package/dist/{date-range-kFnTrnHN.js → date-range-BcJ0YN2n.js} +141 -140
- package/dist/{date-range-kFnTrnHN.js.map → date-range-BcJ0YN2n.js.map} +1 -1
- package/dist/{date-range-DoCtnpW6.cjs → date-range-D_DBil9n.cjs} +2 -2
- package/dist/{date-range-DoCtnpW6.cjs.map → date-range-D_DBil9n.cjs.map} +1 -1
- package/dist/date-range-inline-DQjOVUxD.cjs +44 -0
- package/dist/{date-range-inline-DNr7C5X-.cjs.map → date-range-inline-DQjOVUxD.cjs.map} +1 -1
- package/dist/{date-range-inline-BXeX6T7R.js → date-range-inline-Dqxqgu2s.js} +8 -7
- package/dist/{date-range-inline-BXeX6T7R.js.map → date-range-inline-Dqxqgu2s.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-CrdOikhP.cjs → delay-BbtlKEc4.cjs} +2 -2
- package/dist/{delay-CrdOikhP.cjs.map → delay-BbtlKEc4.cjs.map} +1 -1
- package/dist/{delay-Cz-9rZxi.js → delay-CC_14mn4.js} +2 -2
- package/dist/{delay-Cz-9rZxi.js.map → delay-CC_14mn4.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-CsqhGMjL.cjs → details-CTdm7rbG.cjs} +2 -2
- package/dist/{details-CsqhGMjL.cjs.map → details-CTdm7rbG.cjs.map} +1 -1
- package/dist/{details-DeBtsJlp.js → details-dk2hnRIp.js} +3 -2
- package/dist/{details-DeBtsJlp.js.map → details-dk2hnRIp.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-DTKdAF_l.js → dialog-content-BM-lfqHq.js} +4 -4
- package/dist/{dialog-content-DTKdAF_l.js.map → dialog-content-BM-lfqHq.js.map} +1 -1
- package/dist/{dialog-content-BzSQoM2J.cjs → dialog-content-BSZ5dwnP.cjs} +2 -2
- package/dist/{dialog-content-BzSQoM2J.cjs.map → dialog-content-BSZ5dwnP.cjs.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/discovery.cjs +2 -0
- package/dist/discovery.cjs.map +1 -0
- package/dist/discovery.js +6 -0
- package/dist/discovery.js.map +1 -0
- package/dist/discovery.service-BbYjU5x8.js +21 -0
- package/dist/discovery.service-BbYjU5x8.js.map +1 -0
- package/dist/discovery.service-BpGCuXPd.cjs +2 -0
- package/dist/discovery.service-BpGCuXPd.cjs.map +1 -0
- package/dist/{divider-7iyyEd8k.js → divider-BWVdeJm1.js} +4 -3
- package/dist/{divider-7iyyEd8k.js.map → divider-BWVdeJm1.js.map} +1 -1
- package/dist/divider-DgJXEKxB.cjs +2 -0
- package/dist/{divider-CNxOc8ep.cjs.map → divider-DgJXEKxB.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-_GMpqsNq.js → dropdown-content-BgLy9dwU.js} +4 -3
- package/dist/{dropdown-content-_GMpqsNq.js.map → dropdown-content-BgLy9dwU.js.map} +1 -1
- package/dist/{dropdown-content-De0OkNoq.cjs → dropdown-content-ZAB82v-h.cjs} +2 -2
- package/dist/{dropdown-content-De0OkNoq.cjs.map → dropdown-content-ZAB82v-h.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-CPZlUiRR.js → email-recipients-IXQLqBaI.js} +6 -5
- package/dist/{email-recipients-CPZlUiRR.js.map → email-recipients-IXQLqBaI.js.map} +1 -1
- package/dist/{email-recipients-DS01C3V3.cjs → email-recipients-R7jCXy_I.cjs} +2 -2
- package/dist/{email-recipients-DS01C3V3.cjs.map → email-recipients-R7jCXy_I.cjs.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-BeSoRNTu.js → flex-Cp1nomar.js} +3 -2
- package/dist/{flex-BeSoRNTu.js.map → flex-Cp1nomar.js.map} +1 -1
- package/dist/{flex-CHf9Gc5V.cjs → flex-sAQsXdsk.cjs} +2 -2
- package/dist/{flex-CHf9Gc5V.cjs.map → flex-sAQsXdsk.cjs.map} +1 -1
- package/dist/form-DHTbrnEl.cjs +2 -0
- package/dist/{form-DzDksPgv.cjs.map → form-DHTbrnEl.cjs.map} +1 -1
- package/dist/{form-DNeKagke.js → form-Dtc128QU.js} +3 -2
- package/dist/{form-DNeKagke.js.map → form-Dtc128QU.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-BNj75WQ4.js → formField.mixin-CCB_CKYb.js} +2 -2
- package/dist/{formField.mixin-BNj75WQ4.js.map → formField.mixin-CCB_CKYb.js.map} +1 -1
- package/dist/{formField.mixin-D5YAYIS1.cjs → formField.mixin-CZQ7alVs.cjs} +2 -2
- package/dist/{formField.mixin-D5YAYIS1.cjs.map → formField.mixin-CZQ7alVs.cjs.map} +1 -1
- package/dist/{icon-CCMpTJTp.js → icon-BHhOyVjB.js} +9 -9
- package/dist/{icon-CCMpTJTp.js.map → icon-BHhOyVjB.js.map} +1 -1
- package/dist/{icon-DebIySqv.cjs → icon-CocdSdlX.cjs} +3 -3
- package/dist/{icon-DebIySqv.cjs.map → icon-CocdSdlX.cjs.map} +1 -1
- package/dist/{icon-button-D6DH52j4.js → icon-button-CjSaBrg0.js} +4 -3
- package/dist/{icon-button-D6DH52j4.js.map → icon-button-CjSaBrg0.js.map} +1 -1
- package/dist/{icon-button-DwnnW2oj.cjs → icon-button-m8kXxOvS.cjs} +2 -2
- package/dist/{icon-button-DwnnW2oj.cjs.map → icon-button-m8kXxOvS.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +187 -182
- package/dist/index.js.map +1 -1
- package/dist/input-BuDPnk5e.cjs +51 -0
- package/dist/{input-C2Vz-51i.cjs.map → input-BuDPnk5e.cjs.map} +1 -1
- package/dist/{input-DtHPCCyd.js → input-D_gdNxxR.js} +4 -3
- package/dist/{input-DtHPCCyd.js.map → input-D_gdNxxR.js.map} +1 -1
- package/dist/{input-chip-B7ANrtLF.cjs → input-chip-CDLblIp9.cjs} +2 -2
- package/dist/{input-chip-B7ANrtLF.cjs.map → input-chip-CDLblIp9.cjs.map} +1 -1
- package/dist/{input-chip-DbIvSyvP.js → input-chip-CLnR4vSR.js} +2 -2
- package/dist/{input-chip-DbIvSyvP.js.map → input-chip-CLnR4vSR.js.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-BBo0--_Q.js → list-C069T9ey.js} +3 -2
- package/dist/{list-BBo0--_Q.js.map → list-C069T9ey.js.map} +1 -1
- package/dist/{list-BH8OJ3Rv.cjs → list-KCakyWxw.cjs} +2 -2
- package/dist/{list-BH8OJ3Rv.cjs.map → list-KCakyWxw.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-LplXbzd8.cjs → litElement.mixin-DoBMt4ia.cjs} +2 -2
- package/dist/{litElement.mixin-LplXbzd8.cjs.map → litElement.mixin-DoBMt4ia.cjs.map} +1 -1
- package/dist/{litElement.mixin-CzF0mNQd.js → litElement.mixin-Dp4mBSNw.js} +2 -2
- package/dist/{litElement.mixin-CzF0mNQd.js.map → litElement.mixin-Dp4mBSNw.js.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-DeiCBxMP.js → map-pn_6ziZf.js} +19 -19
- package/dist/{map-DeiCBxMP.js.map → map-pn_6ziZf.js.map} +1 -1
- package/dist/{map-C7lxYU4A.cjs → map-vNMrrat-.cjs} +2 -2
- package/dist/{map-C7lxYU4A.cjs.map → map-vNMrrat-.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-CsYVcfaX.cjs → media-CAtXPif3.cjs} +6 -6
- package/dist/{media-CsYVcfaX.cjs.map → media-CAtXPif3.cjs.map} +1 -1
- package/dist/{media-CEnaqjig.js → media-DC3r4y8-.js} +9 -8
- package/dist/{media-CEnaqjig.js.map → media-DC3r4y8-.js.map} +1 -1
- package/dist/{menu-wtkHGlyc.js → menu-BAs2snSu.js} +4 -3
- package/dist/{menu-wtkHGlyc.js.map → menu-BAs2snSu.js.map} +1 -1
- package/dist/{menu-Boqsyfmh.cjs → menu-C2ZKJe1g.cjs} +2 -2
- package/dist/{menu-Boqsyfmh.cjs.map → menu-C2ZKJe1g.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins/baseElement.ts +33 -1
- package/dist/mixins/discovery.service.ts +60 -0
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/{navigation-rail-6ONc-XE-.cjs → navigation-rail-B0zofile.cjs} +14 -11
- package/dist/navigation-rail-B0zofile.cjs.map +1 -0
- package/dist/{navigation-rail-D-lK9oVd.js → navigation-rail-KdVjbO1I.js} +43 -31
- package/dist/navigation-rail-KdVjbO1I.js.map +1 -0
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-service-ZiGUSd63.js → notification-service-BOCdK7B0.js} +7 -6
- package/dist/{notification-service-ZiGUSd63.js.map → notification-service-BOCdK7B0.js.map} +1 -1
- package/dist/{notification-service-9HXSKWcw.cjs → notification-service-DXsySIdG.cjs} +2 -2
- package/dist/{notification-service-9HXSKWcw.cjs.map → notification-service-DXsySIdG.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-DbfX6Z2P.js → notify-Cglpgay3.js} +2 -2
- package/dist/{notify-DbfX6Z2P.js.map → notify-Cglpgay3.js.map} +1 -1
- package/dist/{notify-W-NrP0cC.cjs → notify-CvDL-o79.cjs} +2 -2
- package/dist/{notify-W-NrP0cC.cjs.map → notify-CvDL-o79.cjs.map} +1 -1
- package/dist/{option-D2bxihLu.cjs → option-ezGy71aI.cjs} +2 -2
- package/dist/{option-D2bxihLu.cjs.map → option-ezGy71aI.cjs.map} +1 -1
- package/dist/{option-BFlWiCu0.js → option-tDU1Z_vP.js} +11 -10
- package/dist/{option-BFlWiCu0.js.map → option-tDU1Z_vP.js.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/payment-card-form-B5b-LA2Y.cjs +74 -0
- package/dist/{payment-card-form--v94EhJF.cjs.map → payment-card-form-B5b-LA2Y.cjs.map} +1 -1
- package/dist/{payment-card-form-DLRNX9NX.js → payment-card-form-CZpc-zfO.js} +4 -3
- package/dist/{payment-card-form-DLRNX9NX.js.map → payment-card-form-CZpc-zfO.js.map} +1 -1
- package/dist/{progress-BYohUvYO.js → progress-Bqih11TQ.js} +10 -9
- package/dist/{progress-BYohUvYO.js.map → progress-Bqih11TQ.js.map} +1 -1
- package/dist/{progress-CjkD8QBy.cjs → progress-OMGbiNv5.cjs} +2 -2
- package/dist/{progress-CjkD8QBy.cjs.map → progress-OMGbiNv5.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-CGmGOAil.cjs → radio-button-BuSpPTO4.cjs} +2 -2
- package/dist/{radio-button-CGmGOAil.cjs.map → radio-button-BuSpPTO4.cjs.map} +1 -1
- package/dist/{radio-button-BlxeCjdq.js → radio-button-mHT1573u.js} +4 -3
- package/dist/{radio-button-BlxeCjdq.js.map → radio-button-mHT1573u.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-CydL78yk.cjs → schmancy-steps-container-Bht_BlLU.cjs} +2 -2
- package/dist/{schmancy-steps-container-CydL78yk.cjs.map → schmancy-steps-container-Bht_BlLU.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-BtAHCm73.js → schmancy-steps-container-DDMiJJyw.js} +2 -2
- package/dist/{schmancy-steps-container-BtAHCm73.js.map → schmancy-steps-container-DDMiJJyw.js.map} +1 -1
- package/dist/{select-BiN334GN.js → select-CKtpFPTr.js} +13 -13
- package/dist/{select-BiN334GN.js.map → select-CKtpFPTr.js.map} +1 -1
- package/dist/{select-CrB02cIO.cjs → select-HPtumqyg.cjs} +2 -2
- package/dist/{select-CrB02cIO.cjs.map → select-HPtumqyg.cjs.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/selector-hook-BWMY8npH.cjs +2 -0
- package/dist/selector-hook-BWMY8npH.cjs.map +1 -0
- package/dist/selector-hook-CKeyK4K-.js +313 -0
- package/dist/selector-hook-CKeyK4K-.js.map +1 -0
- package/dist/{sheet-DpJv4DRi.js → sheet-B-vTiTi8.js} +4 -3
- package/dist/{sheet-DpJv4DRi.js.map → sheet-B-vTiTi8.js.map} +1 -1
- package/dist/{sheet-sgVoRMi1.cjs → sheet-DP7nFOEo.cjs} +2 -2
- package/dist/{sheet-sgVoRMi1.cjs.map → sheet-DP7nFOEo.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-D7qdxfvX.js → slider-Bu7kQ0_w.js} +9 -9
- package/dist/{slider-D7qdxfvX.js.map → slider-Bu7kQ0_w.js.map} +1 -1
- package/dist/{slider-Dd1L6oYm.cjs → slider-Diqgkt3E.cjs} +4 -4
- package/dist/{slider-Dd1L6oYm.cjs.map → slider-Diqgkt3E.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-CaXU45TV.cjs → spinner-b6hiAljR.cjs} +2 -2
- package/dist/{spinner-CaXU45TV.cjs.map → spinner-b6hiAljR.cjs.map} +1 -1
- package/dist/{spinner-XN4W5ihQ.js → spinner-paAzgY93.js} +3 -2
- package/dist/{spinner-XN4W5ihQ.js.map → spinner-paAzgY93.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.js +26 -26
- package/dist/{suggestion-chip-PI24Hc3s.cjs → suggestion-chip--FVeCUSI.cjs} +2 -2
- package/dist/{suggestion-chip-PI24Hc3s.cjs.map → suggestion-chip--FVeCUSI.cjs.map} +1 -1
- package/dist/{suggestion-chip-CdhoATv9.js → suggestion-chip-DnnfUAqx.js} +3 -3
- package/dist/{suggestion-chip-CdhoATv9.js.map → suggestion-chip-DnnfUAqx.js.map} +1 -1
- package/dist/{surface-CKrYJ58l.js → surface-BBhAIoZq.js} +2 -2
- package/dist/{surface-CKrYJ58l.js.map → surface-BBhAIoZq.js.map} +1 -1
- package/dist/{surface-Ax6I7ldp.cjs → surface-SICYUsoB.cjs} +2 -2
- package/dist/{surface-Ax6I7ldp.cjs.map → surface-SICYUsoB.cjs.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CP6_NkPm.js → table-CepjNGT6.js} +2 -2
- package/dist/{table-CP6_NkPm.js.map → table-CepjNGT6.js.map} +1 -1
- package/dist/{table-BlwUyf_4.cjs → table-yYKET4qQ.cjs} +2 -2
- package/dist/{table-BlwUyf_4.cjs.map → table-yYKET4qQ.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-CX0cIu_Y.cjs → tabs-compatibility-BWaRkr9s.cjs} +4 -4
- package/dist/{tabs-compatibility-CX0cIu_Y.cjs.map → tabs-compatibility-BWaRkr9s.cjs.map} +1 -1
- package/dist/{tabs-compatibility-7QKuXX4i.js → tabs-compatibility-BXdyrybs.js} +7 -6
- package/dist/{tabs-compatibility-7QKuXX4i.js.map → tabs-compatibility-BXdyrybs.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-CYhJgwwb.cjs +2 -0
- package/dist/tailwind.mixin-CYhJgwwb.cjs.map +1 -0
- package/dist/tailwind.mixin-Cn7vup-6.js +64 -0
- package/dist/tailwind.mixin-Cn7vup-6.js.map +1 -0
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-DHrDn-O6.js → textarea-BpNEwBP9.js} +3 -2
- package/dist/{textarea-DHrDn-O6.js.map → textarea-BpNEwBP9.js.map} +1 -1
- package/dist/textarea-Xgbs3rjA.cjs +44 -0
- package/dist/{textarea-qLA0vP78.cjs.map → textarea-Xgbs3rjA.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-BEUsbH5m.js → theme-button-77xbTIaH.js} +6 -5
- package/dist/{theme-button-BEUsbH5m.js.map → theme-button-77xbTIaH.js.map} +1 -1
- package/dist/theme-button-BsjsULjH.cjs +9 -0
- package/dist/{theme-button-D7fBEUGf.cjs.map → theme-button-BsjsULjH.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.controls-BeNS8iSM.cjs +67 -0
- package/dist/theme.controls-BeNS8iSM.cjs.map +1 -0
- package/dist/{theme.component-ByGua01V.js → theme.controls-DtcpHuz9.js} +367 -238
- package/dist/theme.controls-DtcpHuz9.js.map +1 -0
- package/dist/theme.js +13 -11
- package/dist/{timezone-BpDMR26D.js → timezone-CtH2a7Hw.js} +10 -9
- package/dist/{timezone-BpDMR26D.js.map → timezone-CtH2a7Hw.js.map} +1 -1
- package/dist/{timezone-Bw4EXBt7.cjs → timezone-D3kdUX6c.cjs} +2 -2
- package/dist/{timezone-Bw4EXBt7.cjs.map → timezone-D3kdUX6c.cjs.map} +1 -1
- package/dist/{tooltip-Dhs4HL3A.cjs → tooltip-BwZ_zIEI.cjs} +2 -2
- package/dist/{tooltip-Dhs4HL3A.cjs.map → tooltip-BwZ_zIEI.cjs.map} +1 -1
- package/dist/{tooltip-B1jynZOH.js → tooltip-DgGZouB5.js} +2 -2
- package/dist/{tooltip-B1jynZOH.js.map → tooltip-DgGZouB5.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-D-ezei_U.cjs → tree-B9fWtaGW.cjs} +4 -4
- package/dist/{tree-D-ezei_U.cjs.map → tree-B9fWtaGW.cjs.map} +1 -1
- package/dist/{tree-BH1qCJ_U.js → tree-BSENnhB2.js} +3 -2
- package/dist/{tree-BH1qCJ_U.js.map → tree-BSENnhB2.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-DQbpNPtY.js → typewriter-BCXtlffJ.js} +5 -4
- package/dist/{typewriter-DQbpNPtY.js.map → typewriter-BCXtlffJ.js.map} +1 -1
- package/dist/typewriter-DeNR2E_p.cjs +9 -0
- package/dist/{typewriter-CtPh4Pyj.cjs.map → typewriter-DeNR2E_p.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-BrIaOYmC.cjs → typography-Cm7pGqRe.cjs} +2 -2
- package/dist/{typography-BrIaOYmC.cjs.map → typography-Cm7pGqRe.cjs.map} +1 -1
- package/dist/{typography-D71cmr0R.js → typography-sxQLtA6a.js} +2 -2
- package/dist/{typography-D71cmr0R.js.map → typography-sxQLtA6a.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +1 -1
- package/types/mixins/baseElement.d.ts +2 -1
- package/types/mixins/discovery.service.d.ts +17 -0
- package/types/src/boat/boat.d.ts +10 -5
- package/types/src/discovery/discovery.service.d.ts +17 -0
- package/types/src/discovery/index.d.ts +1 -0
- package/types/src/index.d.ts +1 -0
- package/types/src/navigation-bar/navigation-bar.d.ts +15 -1
- package/types/src/navigation-rail/navigation-rail.d.ts +13 -0
- package/types/src/theme/index.d.ts +1 -0
- package/types/src/theme/theme.controls.d.ts +27 -0
- package/types/src/theme/theme.service.d.ts +58 -2
- package/dist/area.component-Ch2Eaa4i.cjs +0 -12
- package/dist/avatar-CjjwZDsw.js.map +0 -1
- package/dist/avatar-DlhBTIc8.cjs +0 -303
- package/dist/avatar-DlhBTIc8.cjs.map +0 -1
- package/dist/boat-CUsJXaLf.js +0 -240
- package/dist/boat-CUsJXaLf.js.map +0 -1
- package/dist/boat-Dfx9-P8c.cjs +0 -83
- package/dist/boat-Dfx9-P8c.cjs.map +0 -1
- package/dist/context-object-BE1o2XB3.js.map +0 -1
- package/dist/context-object-DA9DM9QJ.cjs +0 -2
- package/dist/context-object-DA9DM9QJ.cjs.map +0 -1
- package/dist/date-range-inline-DNr7C5X-.cjs +0 -44
- package/dist/divider-CNxOc8ep.cjs +0 -2
- package/dist/form-DzDksPgv.cjs +0 -2
- package/dist/input-C2Vz-51i.cjs +0 -51
- package/dist/navigation-rail-6ONc-XE-.cjs.map +0 -1
- package/dist/navigation-rail-D-lK9oVd.js.map +0 -1
- package/dist/payment-card-form--v94EhJF.cjs +0 -74
- package/dist/selector-hook-DOsvFxG2.js +0 -364
- package/dist/selector-hook-DOsvFxG2.js.map +0 -1
- package/dist/selector-hook-DQ9zoDM4.cjs +0 -2
- package/dist/selector-hook-DQ9zoDM4.cjs.map +0 -1
- package/dist/tailwind.mixin-BjDGMGbj.js +0 -43
- package/dist/tailwind.mixin-BjDGMGbj.js.map +0 -1
- package/dist/tailwind.mixin-ClfV2_Nh.cjs +0 -2
- package/dist/tailwind.mixin-ClfV2_Nh.cjs.map +0 -1
- package/dist/textarea-qLA0vP78.cjs +0 -44
- package/dist/theme-button-D7fBEUGf.cjs +0 -9
- package/dist/theme.component-ByGua01V.js.map +0 -1
- package/dist/theme.component-CQ1trrZB.cjs +0 -3
- package/dist/theme.component-CQ1trrZB.cjs.map +0 -1
- package/dist/typewriter-CtPh4Pyj.cjs +0 -9
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import { css as w, html as c, nothing as ft } from "lit";
|
|
2
2
|
import { property as l, customElement as p, state as h, queryAssignedElements as gt, query as tt } from "lit/decorators.js";
|
|
3
|
-
import { Subject as ot, merge as Q, fromEvent as d, startWith as Et, map as v, debounceTime as G, tap as
|
|
4
|
-
import "./animated-text-
|
|
5
|
-
import { a as ut, F as
|
|
6
|
-
import "./autocomplete-
|
|
3
|
+
import { Subject as ot, merge as Q, fromEvent as d, startWith as Et, map as v, debounceTime as G, tap as j, distinctUntilChanged as et, takeUntil as y, from as dt, of as J, Observable as It, BehaviorSubject as vt, timer as zt, zip as pt, filter as wt, take as Mt, timeout as jt, bufferTime as Pt, concatMap as Wt, interval as Ht, throwIfEmpty as Bt } from "rxjs";
|
|
4
|
+
import "./animated-text-Cfs1zx2e.js";
|
|
5
|
+
import { a as ut, F as Rt, H as Lt } from "./area.component-A6Xw-dfF.js";
|
|
6
|
+
import "./autocomplete-C5DIxpTG.js";
|
|
7
|
+
import { tap as L, takeUntil as M, filter as V, throttleTime as Nt, map as xt, pairwise as Tt, distinctUntilChanged as At, take as qt } from "rxjs/operators";
|
|
7
8
|
import "lit/directives/class-map.js";
|
|
8
9
|
import "lit/directives/style-map.js";
|
|
9
|
-
import { T as Z } from "./tailwind.mixin-
|
|
10
|
-
import { c as
|
|
10
|
+
import { T as Z } from "./tailwind.mixin-Cn7vup-6.js";
|
|
11
|
+
import { c as P, f as _t } from "./ripple-Cy-nvO8W.js";
|
|
11
12
|
import "lit/directives/guard.js";
|
|
12
|
-
import "./boat-
|
|
13
|
-
import "./spinner-
|
|
14
|
-
import "./icon-button-
|
|
15
|
-
import "./media-
|
|
16
|
-
import "./checkbox-
|
|
17
|
-
import "./suggestion-chip-
|
|
18
|
-
import "./input-chip-
|
|
19
|
-
import "./code-preview-
|
|
20
|
-
import "./payment-card-form-
|
|
13
|
+
import "./boat-DumUFcmT.js";
|
|
14
|
+
import "./spinner-paAzgY93.js";
|
|
15
|
+
import "./icon-button-CjSaBrg0.js";
|
|
16
|
+
import "./media-DC3r4y8-.js";
|
|
17
|
+
import "./checkbox-CHG-gT2P.js";
|
|
18
|
+
import "./suggestion-chip-DnnfUAqx.js";
|
|
19
|
+
import "./input-chip-CLnR4vSR.js";
|
|
20
|
+
import "./code-preview-Bp4OemTD.js";
|
|
21
|
+
import "./payment-card-form-CZpc-zfO.js";
|
|
21
22
|
import { SchmancyEvents as m } from "./types.js";
|
|
22
|
-
import { n as
|
|
23
|
-
import { $ as
|
|
23
|
+
import { n as N, e as R } from "./provide-tcktw8xB.js";
|
|
24
|
+
import { $ as W } from "./litElement.mixin-Dp4mBSNw.js";
|
|
24
25
|
import { c as u } from "./consume-5D1qfVWM.js";
|
|
25
|
-
import "./date-range-
|
|
26
|
-
import "./date-range-inline-
|
|
27
|
-
import "./delay-
|
|
28
|
-
import "./details-
|
|
29
|
-
import "./dialog-content-
|
|
26
|
+
import "./date-range-BcJ0YN2n.js";
|
|
27
|
+
import "./date-range-inline-Dqxqgu2s.js";
|
|
28
|
+
import "./delay-CC_14mn4.js";
|
|
29
|
+
import "./details-dk2hnRIp.js";
|
|
30
|
+
import "./dialog-content-BM-lfqHq.js";
|
|
30
31
|
import "./dialog-service-CyQzm5qE.js";
|
|
31
|
-
import "./divider-
|
|
32
|
-
import "./dropdown-content-
|
|
33
|
-
import "./timezone-
|
|
34
|
-
import "./form-
|
|
35
|
-
import "./icon-
|
|
36
|
-
import "./input-
|
|
37
|
-
import "./flex-
|
|
38
|
-
import "./list-
|
|
39
|
-
import "./email-recipients-
|
|
40
|
-
import "./map-
|
|
41
|
-
import "./menu-
|
|
32
|
+
import "./divider-BWVdeJm1.js";
|
|
33
|
+
import "./dropdown-content-BgLy9dwU.js";
|
|
34
|
+
import "./timezone-CtH2a7Hw.js";
|
|
35
|
+
import "./form-Dtc128QU.js";
|
|
36
|
+
import "./icon-BHhOyVjB.js";
|
|
37
|
+
import "./input-D_gdNxxR.js";
|
|
38
|
+
import "./flex-Cp1nomar.js";
|
|
39
|
+
import "./list-C069T9ey.js";
|
|
40
|
+
import "./email-recipients-IXQLqBaI.js";
|
|
41
|
+
import "./map-pn_6ziZf.js";
|
|
42
|
+
import "./menu-BAs2snSu.js";
|
|
42
43
|
import { when as st } from "lit/directives/when.js";
|
|
43
|
-
import "./navigation-rail-
|
|
44
|
-
import "./notification-service-
|
|
45
|
-
import "./option-
|
|
46
|
-
import "./progress-
|
|
47
|
-
import "./radio-button-
|
|
44
|
+
import "./navigation-rail-KdVjbO1I.js";
|
|
45
|
+
import "./notification-service-BOCdK7B0.js";
|
|
46
|
+
import "./option-tDU1Z_vP.js";
|
|
47
|
+
import "./progress-Bqih11TQ.js";
|
|
48
|
+
import "./radio-button-mHT1573u.js";
|
|
48
49
|
import "./index-CW6PhEkx.js";
|
|
49
|
-
import "./select-
|
|
50
|
-
import "./sheet-
|
|
50
|
+
import "./select-CKtpFPTr.js";
|
|
51
|
+
import "./sheet-B-vTiTi8.js";
|
|
51
52
|
import { s as it } from "./sheet.service-lXqUf6n5.js";
|
|
52
|
-
import "./slider-
|
|
53
|
-
import "./schmancy-steps-container-
|
|
54
|
-
import "./context-
|
|
55
|
-
import
|
|
56
|
-
import "./
|
|
57
|
-
import "./
|
|
58
|
-
import "./
|
|
59
|
-
import "./
|
|
60
|
-
import "./theme
|
|
61
|
-
import "./
|
|
62
|
-
import "./
|
|
63
|
-
import "./
|
|
64
|
-
import "./
|
|
65
|
-
import "./typography-D71cmr0R.js";
|
|
53
|
+
import "./slider-Bu7kQ0_w.js";
|
|
54
|
+
import "./schmancy-steps-container-DDMiJJyw.js";
|
|
55
|
+
import "./context-create-DCiujzV2.js";
|
|
56
|
+
import "./surface-BBhAIoZq.js";
|
|
57
|
+
import "./table-CepjNGT6.js";
|
|
58
|
+
import "./tabs-compatibility-BXdyrybs.js";
|
|
59
|
+
import "./textarea-BpNEwBP9.js";
|
|
60
|
+
import "./theme.controls-DtcpHuz9.js";
|
|
61
|
+
import "./theme-button-77xbTIaH.js";
|
|
62
|
+
import "./tooltip-DgGZouB5.js";
|
|
63
|
+
import "./tree-BSENnhB2.js";
|
|
64
|
+
import "./typewriter-BCXtlffJ.js";
|
|
65
|
+
import "./typography-sxQLtA6a.js";
|
|
66
66
|
import { S as r } from "./theme.interface-BLfE5J_1.js";
|
|
67
|
-
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor,
|
|
67
|
+
var Xt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, z = (t, e, s, o) => {
|
|
68
68
|
for (var n, i = o > 1 ? void 0 : o ? Ut(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
69
69
|
return o && i && Xt(e, s, i), i;
|
|
70
70
|
};
|
|
71
|
-
let
|
|
71
|
+
let k = class extends Z(w`
|
|
72
72
|
:host {
|
|
73
73
|
display: inline-flex;
|
|
74
74
|
}
|
|
@@ -138,7 +138,7 @@ let S = class extends Z(w`
|
|
|
138
138
|
part="badge"
|
|
139
139
|
class="${this.classMap(i)}"
|
|
140
140
|
style="${this.styleMap(a)}"
|
|
141
|
-
${
|
|
141
|
+
${P({ bgColor: s.bg, color: s.text })}
|
|
142
142
|
>
|
|
143
143
|
<!-- Icon slot or named icon -->
|
|
144
144
|
<slot name="icon">
|
|
@@ -157,10 +157,10 @@ let S = class extends Z(w`
|
|
|
157
157
|
`;
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
|
-
|
|
161
|
-
let mt = class extends
|
|
160
|
+
z([l({ type: String, reflect: !0 })], k.prototype, "color", 2), z([l({ type: String, reflect: !0 })], k.prototype, "size", 2), z([l({ type: String, reflect: !0 })], k.prototype, "shape", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "outlined", 2), z([l({ type: String })], k.prototype, "icon", 2), z([l({ type: Boolean, reflect: !0 })], k.prototype, "pulse", 2), k = z([p("schmancy-badge")], k);
|
|
161
|
+
let mt = class extends k {
|
|
162
162
|
};
|
|
163
|
-
mt =
|
|
163
|
+
mt = z([p("sch-badge")], mt);
|
|
164
164
|
const Ds = new class {
|
|
165
165
|
constructor() {
|
|
166
166
|
this.$drawer = new ot(), this.lastComponent = null, this.$drawer.pipe().subscribe((t) => {
|
|
@@ -191,12 +191,12 @@ const Ds = new class {
|
|
|
191
191
|
push(t) {
|
|
192
192
|
this.$drawer.next({ action: "push", ref: window, component: t });
|
|
193
193
|
}
|
|
194
|
-
}(), rt =
|
|
195
|
-
var Kt = Object.defineProperty,
|
|
196
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
194
|
+
}(), rt = N("push"), $t = N("close"), Ct = N(Math.floor(Math.random() * Date.now()).toString()), nt = N("100%"), at = N({});
|
|
195
|
+
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
|
|
196
|
+
for (var n, i = o > 1 ? void 0 : o ? Ft(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
197
197
|
return o && i && Kt(e, s, i), i;
|
|
198
198
|
};
|
|
199
|
-
let
|
|
199
|
+
let D = class extends W(w`
|
|
200
200
|
:host {
|
|
201
201
|
position: relative;
|
|
202
202
|
inset: 0;
|
|
@@ -208,15 +208,15 @@ let k = class extends j(w`
|
|
|
208
208
|
super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
|
|
209
209
|
}
|
|
210
210
|
firstUpdated() {
|
|
211
|
-
Q(d(window, "resize"), d(window, m.ContentDrawerResize)).pipe(Et(!0), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), G(100),
|
|
211
|
+
Q(d(window, "resize"), d(window, m.ContentDrawerResize)).pipe(Et(!0), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), G(100), j(() => {
|
|
212
212
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
213
213
|
}), et(), y(this.disconnecting)).subscribe((t) => {
|
|
214
214
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
215
|
-
}), d(window, m.ContentDrawerToggle).pipe(
|
|
215
|
+
}), d(window, m.ContentDrawerToggle).pipe(j((t) => {
|
|
216
216
|
t.stopPropagation();
|
|
217
217
|
}), v((t) => t.detail.state), y(this.disconnecting)).subscribe((t) => {
|
|
218
218
|
this.open = t;
|
|
219
|
-
}), d(window, "schmancy-content-drawer-render").pipe(
|
|
219
|
+
}), d(window, "schmancy-content-drawer-render").pipe(j((t) => {
|
|
220
220
|
t.stopPropagation();
|
|
221
221
|
}), v((t) => t.detail), y(this.disconnecting)).subscribe(({ component: t, title: e }) => {
|
|
222
222
|
this.mode === "push" ? (ut.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), ut.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && it.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
|
|
@@ -241,12 +241,12 @@ let k = class extends j(w`
|
|
|
241
241
|
` : ft;
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
|
-
|
|
245
|
-
var
|
|
244
|
+
H([R({ context: at })], D.prototype, "minWidth", 2), H([R({ context: $t }), l()], D.prototype, "open", 2), H([R({ context: rt }), h()], D.prototype, "mode", 2), H([R({ context: Ct })], D.prototype, "schmancyContentDrawerID", 2), H([R({ context: nt })], D.prototype, "maxHeight", 2), H([gt({ flatten: !0 })], D.prototype, "assignedElements", 2), D = H([p("schmancy-content-drawer")], D);
|
|
245
|
+
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, q = (t, e, s, o) => {
|
|
246
246
|
for (var n, i = o > 1 ? void 0 : o ? Vt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
247
|
-
return o && i &&
|
|
247
|
+
return o && i && Yt(e, s, i), i;
|
|
248
248
|
};
|
|
249
|
-
let T = class extends
|
|
249
|
+
let T = class extends W(w`
|
|
250
250
|
:host {
|
|
251
251
|
display: block;
|
|
252
252
|
overflow: hidden;
|
|
@@ -279,12 +279,12 @@ let T = class extends j(w`
|
|
|
279
279
|
`;
|
|
280
280
|
}
|
|
281
281
|
};
|
|
282
|
-
|
|
282
|
+
q([l({ type: Number })], T.prototype, "minWidth", 2), q([u({ context: at, subscribe: !0 })], T.prototype, "drawerMinWidth", 2), q([u({ context: rt, subscribe: !0 }), h()], T.prototype, "mode", 2), q([u({ context: nt, subscribe: !0 }), h()], T.prototype, "maxHeight", 2), T = q([p("schmancy-content-drawer-main")], T);
|
|
283
283
|
var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, x = (t, e, s, o) => {
|
|
284
284
|
for (var n, i = o > 1 ? void 0 : o ? Jt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
285
285
|
return o && i && Gt(e, s, i), i;
|
|
286
286
|
};
|
|
287
|
-
let b = class extends
|
|
287
|
+
let b = class extends W(w`
|
|
288
288
|
:host {
|
|
289
289
|
overflow: scroll;
|
|
290
290
|
}
|
|
@@ -302,7 +302,7 @@ let b = class extends j(w`
|
|
|
302
302
|
Q(dt(this.closeModalSheet()), dt(this.closeSheet())).pipe(y(this.disconnecting)).subscribe();
|
|
303
303
|
}
|
|
304
304
|
closeModalSheet() {
|
|
305
|
-
return J(!0).pipe(
|
|
305
|
+
return J(!0).pipe(j(() => it.dismiss(this.schmancyContentDrawerID)));
|
|
306
306
|
}
|
|
307
307
|
closeSheet() {
|
|
308
308
|
return new It((t) => {
|
|
@@ -335,12 +335,12 @@ const Qt = new class {
|
|
|
335
335
|
close(t) {
|
|
336
336
|
this.$drawer.next({ self: t, state: !1 });
|
|
337
337
|
}
|
|
338
|
-
}(), Os = Qt, lt =
|
|
338
|
+
}(), Os = Qt, lt = N("push"), ct = N("close");
|
|
339
339
|
var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, U = (t, e, s, o) => {
|
|
340
340
|
for (var n, i = o > 1 ? void 0 : o ? te(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
341
341
|
return o && i && Zt(e, s, i), i;
|
|
342
342
|
};
|
|
343
|
-
let
|
|
343
|
+
let _ = class extends Z(w`
|
|
344
344
|
:host {
|
|
345
345
|
display: block;
|
|
346
346
|
}
|
|
@@ -369,9 +369,9 @@ let B = class extends Z(w`
|
|
|
369
369
|
`;
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
|
-
U([u({ context: lt, subscribe: !0 }), h()],
|
|
372
|
+
U([u({ context: lt, subscribe: !0 }), h()], _.prototype, "sidebarMode", 2), U([u({ context: ct, subscribe: !0 }), h()], _.prototype, "sidebarOpen", 2), U([l({ type: Boolean })], _.prototype, "toggler", 2), _ = U([p("schmancy-nav-drawer-appbar")], _);
|
|
373
373
|
var ee = Object.getOwnPropertyDescriptor;
|
|
374
|
-
let yt = class extends
|
|
374
|
+
let yt = class extends W(w`
|
|
375
375
|
:host {
|
|
376
376
|
display: block;
|
|
377
377
|
position: relative;
|
|
@@ -396,7 +396,7 @@ var se = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, A = (t, e,
|
|
|
396
396
|
for (var n, i = o > 1 ? void 0 : o ? ie(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
397
397
|
return o && i && se(e, s, i), i;
|
|
398
398
|
};
|
|
399
|
-
let g = class extends
|
|
399
|
+
let g = class extends W(w`
|
|
400
400
|
:host {
|
|
401
401
|
display: flex;
|
|
402
402
|
flex-grow: 1;
|
|
@@ -415,7 +415,7 @@ let g = class extends j(w`
|
|
|
415
415
|
firstUpdated() {
|
|
416
416
|
this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), d(window, "resize").pipe(v((t) => t.target.innerWidth), v((t) => t >= g.BREAKPOINTS[this.breakpoint]), et(), G(100), y(this.disconnecting)).subscribe((t) => {
|
|
417
417
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
418
|
-
}), d(window, m.NavDrawer_toggle).pipe(
|
|
418
|
+
}), d(window, m.NavDrawer_toggle).pipe(j((t) => {
|
|
419
419
|
t.stopPropagation();
|
|
420
420
|
}), v((t) => t.detail.state), et(), y(this.disconnecting), G(10)).subscribe((t) => {
|
|
421
421
|
this.mode === "push" && t === "close" || (this.open = t);
|
|
@@ -433,7 +433,7 @@ let g = class extends j(w`
|
|
|
433
433
|
flow="col"
|
|
434
434
|
justify="stretch"
|
|
435
435
|
align="stretch"
|
|
436
|
-
${
|
|
436
|
+
${_t()}
|
|
437
437
|
>
|
|
438
438
|
<slot></slot>
|
|
439
439
|
</schmancy-grid>
|
|
@@ -441,12 +441,12 @@ let g = class extends j(w`
|
|
|
441
441
|
}
|
|
442
442
|
};
|
|
443
443
|
g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, A([l({ type: Boolean })], g.prototype, "fullscreen", 2), A([l({ type: String, attribute: "breakpoint" })], g.prototype, "breakpoint", 2), A([R({ context: lt }), h()], g.prototype, "mode", 2), A([R({ context: ct }), l()], g.prototype, "open", 2), A([h()], g.prototype, "_initialized", 2), g = A([p("schmancy-nav-drawer")], g);
|
|
444
|
-
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor,
|
|
444
|
+
var oe = Object.defineProperty, re = Object.getOwnPropertyDescriptor, B = (t, e, s, o) => {
|
|
445
445
|
for (var n, i = o > 1 ? void 0 : o ? re(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
446
446
|
return o && i && oe(e, s, i), i;
|
|
447
447
|
};
|
|
448
448
|
const K = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
449
|
-
let
|
|
449
|
+
let O = class extends W() {
|
|
450
450
|
constructor() {
|
|
451
451
|
super(...arguments), this.width = "220px", this._initialized = !1;
|
|
452
452
|
}
|
|
@@ -483,21 +483,21 @@ let D = class extends j() {
|
|
|
483
483
|
<nav
|
|
484
484
|
style=${this.styleMap(e)}
|
|
485
485
|
class="${this.classMap({ ...t })}"
|
|
486
|
-
${
|
|
486
|
+
${P({ bgColor: r.sys.color.surface.container })}
|
|
487
487
|
>
|
|
488
488
|
<slot></slot>
|
|
489
489
|
</nav>
|
|
490
490
|
<div
|
|
491
491
|
id="overlay"
|
|
492
|
-
${
|
|
492
|
+
${P({ bgColor: r.sys.color.scrim })}
|
|
493
493
|
@click=${this.handleOverlayClick}
|
|
494
494
|
class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
|
|
495
495
|
></div>
|
|
496
496
|
`;
|
|
497
497
|
}
|
|
498
498
|
};
|
|
499
|
-
|
|
500
|
-
var ne = Object.defineProperty, ae = Object.getOwnPropertyDescriptor,
|
|
499
|
+
B([u({ context: lt, subscribe: !0 }), h()], O.prototype, "mode", 2), B([u({ context: ct, subscribe: !0 }), h()], O.prototype, "drawerState", 2), B([tt("#overlay")], O.prototype, "overlay", 2), B([tt("nav")], O.prototype, "nav", 2), B([l({ type: String })], O.prototype, "width", 2), B([h()], O.prototype, "_initialized", 2), O = B([p("schmancy-nav-drawer-navbar")], O);
|
|
500
|
+
var ne = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, E = (t, e, s, o) => {
|
|
501
501
|
for (var n, i = o > 1 ? void 0 : o ? ae(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
502
502
|
return o && i && ne(e, s, i), i;
|
|
503
503
|
};
|
|
@@ -561,9 +561,9 @@ let $ = class extends Z(w`
|
|
|
561
561
|
const e = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
562
562
|
if (e) {
|
|
563
563
|
const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
|
|
564
|
-
this.ripples = [...this.ripples, o], zt(600).pipe(
|
|
564
|
+
this.ripples = [...this.ripples, o], zt(600).pipe(L(() => {
|
|
565
565
|
this.ripples = this.ripples.filter((n) => n.id !== o.id);
|
|
566
|
-
}),
|
|
566
|
+
}), M(this.disconnecting)).subscribe();
|
|
567
567
|
}
|
|
568
568
|
}, this.handleClick = (t) => {
|
|
569
569
|
if (this.disabled) return t.preventDefault(), void t.stopPropagation();
|
|
@@ -582,17 +582,17 @@ let $ = class extends Z(w`
|
|
|
582
582
|
this.active = t;
|
|
583
583
|
}
|
|
584
584
|
connectedCallback() {
|
|
585
|
-
super.connectedCallback(), this.active$.pipe(
|
|
585
|
+
super.connectedCallback(), this.active$.pipe(M(this.disconnecting)).subscribe(() => {
|
|
586
586
|
this.requestUpdate();
|
|
587
587
|
}), this.setupNavigationStream();
|
|
588
588
|
}
|
|
589
589
|
setupNavigationStream() {
|
|
590
590
|
const t = this.shadowRoot?.querySelector("button");
|
|
591
591
|
if (!t) return;
|
|
592
|
-
const e = d(t, "click").pipe(V(() => !this.disabled)), s = d(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "),
|
|
593
|
-
Q(e, s).pipe(
|
|
592
|
+
const e = d(t, "click").pipe(V(() => !this.disabled)), s = d(t, "keydown").pipe(V(() => !this.disabled), V((o) => o.key === "Enter" || o.key === " "), L((o) => o.preventDefault()));
|
|
593
|
+
Q(e, s).pipe(L(() => {
|
|
594
594
|
this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
|
|
595
|
-
}),
|
|
595
|
+
}), M(this.disconnecting)).subscribe();
|
|
596
596
|
}
|
|
597
597
|
formatBadge(t) {
|
|
598
598
|
const e = Number(t);
|
|
@@ -613,7 +613,7 @@ let $ = class extends Z(w`
|
|
|
613
613
|
aria-pressed=${this.active}
|
|
614
614
|
aria-label=${this.label || "Navigation item"}
|
|
615
615
|
style=${this.styleMap({ ...Ot, "outline-color": "var(--focus-color)" })}
|
|
616
|
-
${
|
|
616
|
+
${P(Dt)}
|
|
617
617
|
>
|
|
618
618
|
<!-- Icon with indicator background -->
|
|
619
619
|
<div class=${this.classMap(i)}>
|
|
@@ -647,7 +647,7 @@ let $ = class extends Z(w`
|
|
|
647
647
|
<span
|
|
648
648
|
class=${this.classMap(a)}
|
|
649
649
|
aria-label="${e} notifications"
|
|
650
|
-
${
|
|
650
|
+
${P({ bgColor: r.sys.color.error.default, color: r.sys.color.error.on })}
|
|
651
651
|
>
|
|
652
652
|
<span class="text-[10px] font-medium leading-none">${e}</span>
|
|
653
653
|
</span>
|
|
@@ -655,19 +655,19 @@ let $ = class extends Z(w`
|
|
|
655
655
|
<span
|
|
656
656
|
class=${this.classMap(a)}
|
|
657
657
|
aria-label="Has notifications"
|
|
658
|
-
${
|
|
658
|
+
${P({ bgColor: r.sys.color.error.default })}
|
|
659
659
|
></span>
|
|
660
660
|
` : ""}
|
|
661
661
|
</button>
|
|
662
662
|
`;
|
|
663
663
|
}
|
|
664
664
|
};
|
|
665
|
-
|
|
666
|
-
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor,
|
|
665
|
+
E([l({ type: String })], $.prototype, "icon", 2), E([l({ type: String })], $.prototype, "label", 2), E([l({ type: String })], $.prototype, "badge", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "active", 1), E([l({ type: Boolean, reflect: !0 })], $.prototype, "disabled", 2), E([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), E([h()], $.prototype, "ripples", 2), $ = E([p("schmancy-navigation-bar-item")], $);
|
|
666
|
+
var le = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
|
|
667
667
|
for (var n, i = o > 1 ? void 0 : o ? ce(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
668
668
|
return o && i && le(e, s, i), i;
|
|
669
669
|
};
|
|
670
|
-
let
|
|
670
|
+
let C = class extends Z(w`
|
|
671
671
|
:host {
|
|
672
672
|
display: block;
|
|
673
673
|
position: fixed;
|
|
@@ -695,7 +695,7 @@ let E = class extends Z(w`
|
|
|
695
695
|
}
|
|
696
696
|
`) {
|
|
697
697
|
constructor() {
|
|
698
|
-
super(...arguments), this.activeIndex$ = new vt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.
|
|
698
|
+
super(...arguments), this.activeIndex$ = new vt(-1), this.hideLabels = !1, this.elevation = 2, this.hideOnScroll = !1, this.focusedIndex = -1, this.isHiddenByScroll = !1, this.isFullscreen = !1, this.SCROLL_THRESHOLD = 10, this.handleItemClick = (t) => {
|
|
699
699
|
const e = this.getItems(), s = t.target, o = e.indexOf(s);
|
|
700
700
|
if (o !== -1 && this.activeIndex !== o) {
|
|
701
701
|
const n = this.activeIndex;
|
|
@@ -733,15 +733,18 @@ let E = class extends Z(w`
|
|
|
733
733
|
return t ? t.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
|
|
734
734
|
}
|
|
735
735
|
connectedCallback() {
|
|
736
|
-
super.connectedCallback(), d(this, "bar-item-click").pipe(
|
|
736
|
+
super.connectedCallback(), d(this, "bar-item-click").pipe(L((t) => this.handleItemClick(t)), M(this.disconnecting)).subscribe(), d(this, "keydown").pipe(L((t) => this.handleKeyDown(t)), M(this.disconnecting)).subscribe(), this.activeIndex$.pipe(M(this.disconnecting)).subscribe((t) => {
|
|
737
737
|
this.updateActiveStates(t);
|
|
738
|
-
}),
|
|
738
|
+
}), d(window, "fullscreen").pipe(L((t) => {
|
|
739
|
+
const e = t;
|
|
740
|
+
this.isFullscreen = e.detail;
|
|
741
|
+
}), M(this.disconnecting)).subscribe(), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
739
742
|
}
|
|
740
743
|
setupScrollListener() {
|
|
741
|
-
d(window, "scroll").pipe(
|
|
744
|
+
d(window, "scroll").pipe(Nt(100), xt(() => window.scrollY), Tt(), V(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), L(([t, e]) => {
|
|
742
745
|
const s = e < t;
|
|
743
|
-
e > t && !this.
|
|
744
|
-
}),
|
|
746
|
+
e > t && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : s && this.isHiddenByScroll && (this.isHiddenByScroll = !1), e <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1);
|
|
747
|
+
}), M(this.disconnecting)).subscribe();
|
|
745
748
|
}
|
|
746
749
|
focusItem(t) {
|
|
747
750
|
const e = this.getItems();
|
|
@@ -756,6 +759,13 @@ let E = class extends Z(w`
|
|
|
756
759
|
t.addEventListener("slotchange", e), e();
|
|
757
760
|
}
|
|
758
761
|
}
|
|
762
|
+
addBoatItem(t) {
|
|
763
|
+
const e = document.createElement("schmancy-navigation-bar-item");
|
|
764
|
+
e.setAttribute("value", t.id), e.innerHTML = `
|
|
765
|
+
<schmancy-icon>${t.icon || "widgets"}</schmancy-icon>
|
|
766
|
+
<span>${t.title}</span>
|
|
767
|
+
`, this.appendChild(e);
|
|
768
|
+
}
|
|
759
769
|
updateActiveStates(t) {
|
|
760
770
|
this.getItems().forEach((e, s) => {
|
|
761
771
|
const o = e;
|
|
@@ -763,28 +773,28 @@ let E = class extends Z(w`
|
|
|
763
773
|
});
|
|
764
774
|
}
|
|
765
775
|
updated(t) {
|
|
766
|
-
super.updated(t), t.has("hideLabels") && this.updateActiveStates(this.activeIndex), t.has("hideOnScroll") && (this.hideOnScroll && !t.get("hideOnScroll") ? this.setupScrollListener() : this.hideOnScroll || (this.
|
|
776
|
+
super.updated(t), t.has("hideLabels") && this.updateActiveStates(this.activeIndex), t.has("hideOnScroll") && (this.hideOnScroll && !t.get("hideOnScroll") ? this.setupScrollListener() : this.hideOnScroll || (this.isHiddenByScroll = !1));
|
|
767
777
|
}
|
|
768
778
|
render() {
|
|
769
|
-
const t = { "h-20": !0, "fixed bottom-0 left-0 right-0": !0, "flex items-center justify-around": !0, "px-2 py-3 box-border": !0, "transition-all duration-
|
|
779
|
+
const t = this.isFullscreen || this.isHiddenByScroll, e = { "h-20": !0, "fixed bottom-0 left-0 right-0": !0, "flex items-center justify-around": !0, "px-2 py-3 box-border": !0, "transition-all duration-300 ease-in-out": !0, "shadow-none": this.elevation === 0, "shadow-sm": this.elevation === 1, "shadow-md": this.elevation === 2, "shadow-lg": this.elevation === 3, "shadow-xl": this.elevation === 4, "shadow-2xl": this.elevation === 5 }, s = t ? "translateY(100%)" : "translateY(0)";
|
|
770
780
|
return c`
|
|
771
781
|
<nav
|
|
772
|
-
class=${this.classMap(
|
|
782
|
+
class=${this.classMap(e)}
|
|
773
783
|
role="navigation"
|
|
774
784
|
aria-label="Main navigation"
|
|
775
|
-
aria-hidden=${
|
|
776
|
-
style="transform: ${
|
|
777
|
-
${
|
|
785
|
+
aria-hidden=${t}
|
|
786
|
+
style="transform: ${s};"
|
|
787
|
+
${P({ bgColor: r.sys.color.surface.container, color: r.sys.color.surface.on })}
|
|
778
788
|
>
|
|
779
789
|
<slot></slot>
|
|
780
790
|
</nav>
|
|
781
791
|
`;
|
|
782
792
|
}
|
|
783
793
|
};
|
|
784
|
-
|
|
785
|
-
const St = "whereAreYouRicky", kt = "hereMorty",
|
|
794
|
+
I([l({ type: Number })], C.prototype, "activeIndex", 1), I([l({ type: Boolean, reflect: !0 })], C.prototype, "hideLabels", 2), I([l({ type: Number, reflect: !0 })], C.prototype, "elevation", 2), I([l({ type: Boolean, reflect: !0 })], C.prototype, "hideOnScroll", 2), I([h()], C.prototype, "focusedIndex", 2), I([h()], C.prototype, "isHiddenByScroll", 2), I([h()], C.prototype, "isFullscreen", 2), C = I([p("schmancy-navigation-bar")], C);
|
|
795
|
+
const St = "whereAreYouRicky", kt = "hereMorty", F = new class {
|
|
786
796
|
constructor() {
|
|
787
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([d(window, kt).pipe(wt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), Mt(1)), J(t).pipe(
|
|
797
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new ot(), this.find = (t) => pt([d(window, kt).pipe(wt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), Mt(1)), J(t).pipe(j(() => {
|
|
788
798
|
window.dispatchEvent(new CustomEvent(St, { detail: { id: t.id, callerID: t.uuid } }));
|
|
789
799
|
}))]).pipe(v(([e]) => e), jt(0)), this.flip = (t) => {
|
|
790
800
|
const { from: e, to: s } = t, o = s.element.style.zIndex;
|
|
@@ -797,13 +807,13 @@ const St = "whereAreYouRicky", kt = "hereMorty", Y = new class {
|
|
|
797
807
|
}
|
|
798
808
|
}();
|
|
799
809
|
function bt(t) {
|
|
800
|
-
return Ht(50).pipe(xt(() => t.getBoundingClientRect()),
|
|
810
|
+
return Ht(50).pipe(xt(() => t.getBoundingClientRect()), At((e, s) => e.width === s.width && e.height === s.height && e.top === s.top && e.right === s.right && e.bottom === s.bottom && e.left === s.left), qt(1));
|
|
801
811
|
}
|
|
802
|
-
var he = Object.defineProperty, de = Object.getOwnPropertyDescriptor,
|
|
812
|
+
var he = Object.defineProperty, de = Object.getOwnPropertyDescriptor, Y = (t, e, s, o) => {
|
|
803
813
|
for (var n, i = o > 1 ? void 0 : o ? de(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
804
814
|
return o && i && he(e, s, i), i;
|
|
805
815
|
};
|
|
806
|
-
let X = class extends
|
|
816
|
+
let X = class extends W(w``) {
|
|
807
817
|
constructor() {
|
|
808
818
|
super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
809
819
|
}
|
|
@@ -812,20 +822,20 @@ let X = class extends j(w``) {
|
|
|
812
822
|
}
|
|
813
823
|
connectedCallback() {
|
|
814
824
|
if (this.id === void 0) throw new Error("id is required");
|
|
815
|
-
super.connectedCallback(), Q(d(window,
|
|
825
|
+
super.connectedCallback(), Q(d(window, Rt).pipe(j({ next: () => {
|
|
816
826
|
this.dispatchEvent(new CustomEvent(Lt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
817
|
-
} })), d(window, St).pipe(
|
|
827
|
+
} })), d(window, St).pipe(j({ next: (t) => {
|
|
818
828
|
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(kt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
819
829
|
} }))).pipe(y(this.disconnecting)).subscribe();
|
|
820
830
|
}
|
|
821
831
|
async firstUpdated() {
|
|
822
|
-
J(
|
|
832
|
+
J(F.activeTeleportations.get(this.id)).pipe(wt((t) => !!t), y(this.disconnecting), Bt()).subscribe({ next: (t) => {
|
|
823
833
|
this.style.setProperty("visibility", "hidden"), bt(this).pipe(y(this.disconnecting)).subscribe({ next: (e) => {
|
|
824
|
-
|
|
834
|
+
F.activeTeleportations.set(this.id, e), F.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
825
835
|
} });
|
|
826
836
|
}, error: () => {
|
|
827
837
|
this.style.setProperty("visibility", "visible"), bt(this).pipe(y(this.disconnecting)).subscribe({ next: (t) => {
|
|
828
|
-
|
|
838
|
+
F.activeTeleportations.set(this.id, t);
|
|
829
839
|
} });
|
|
830
840
|
}, complete: () => {
|
|
831
841
|
} });
|
|
@@ -834,12 +844,12 @@ let X = class extends j(w``) {
|
|
|
834
844
|
return c`<slot></slot>`;
|
|
835
845
|
}
|
|
836
846
|
};
|
|
837
|
-
|
|
838
|
-
var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor,
|
|
847
|
+
Y([l({ type: Number, reflect: !0 })], X.prototype, "uuid", 2), Y([l({ type: String })], X.prototype, "id", 2), Y([l({ type: Number })], X.prototype, "delay", 2), X = Y([p("schmancy-teleport")], X);
|
|
848
|
+
var pe = Object.defineProperty, ue = Object.getOwnPropertyDescriptor, S = (t, e, s, o) => {
|
|
839
849
|
for (var n, i = o > 1 ? void 0 : o ? ue(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
840
850
|
return o && i && pe(e, s, i), i;
|
|
841
851
|
};
|
|
842
|
-
let f = class extends
|
|
852
|
+
let f = class extends W() {
|
|
843
853
|
constructor() {
|
|
844
854
|
super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
845
855
|
}
|
|
@@ -855,7 +865,7 @@ let f = class extends j() {
|
|
|
855
865
|
}
|
|
856
866
|
getColorAttributes() {
|
|
857
867
|
const t = { primary: { bgColor: r.sys.color.primary.container, color: r.sys.color.primary.onContainer }, secondary: { bgColor: r.sys.color.secondary.container, color: r.sys.color.secondary.onContainer }, tertiary: { bgColor: r.sys.color.tertiary.container, color: r.sys.color.tertiary.onContainer }, success: { bgColor: r.sys.color.success.container, color: r.sys.color.success.onContainer }, error: { bgColor: r.sys.color.error.container, color: r.sys.color.error.onContainer }, neutral: { bgColor: r.sys.color.surface.container, color: r.sys.color.surface.on } };
|
|
858
|
-
return
|
|
868
|
+
return P(t[this.color]);
|
|
859
869
|
}
|
|
860
870
|
renderStatusIndicator() {
|
|
861
871
|
const t = { online: r.sys.color.success.default, offline: r.sys.color.surface.onVariant, busy: r.sys.color.error.default, away: r.sys.color.tertiary.default }, e = { "absolute bottom-0 right-0 rounded-full border-2 border-surface-default": !0, [{ xs: "w-1.5 h-1.5", sm: "w-2 h-2", md: "w-2.5 h-2.5", lg: "w-3 h-3", xl: "w-4 h-4" }[this.size]]: !0 };
|
|
@@ -864,11 +874,11 @@ let f = class extends j() {
|
|
|
864
874
|
`;
|
|
865
875
|
}
|
|
866
876
|
};
|
|
867
|
-
|
|
877
|
+
S([l({ type: String })], f.prototype, "initials", 2), S([l({ type: String })], f.prototype, "src", 2), S([l({ type: String })], f.prototype, "icon", 2), S([l({ type: String })], f.prototype, "size", 2), S([l({ type: String })], f.prototype, "color", 2), S([l({ type: String })], f.prototype, "shape", 2), S([l({ type: Boolean })], f.prototype, "bordered", 2), S([l({ type: String })], f.prototype, "status", 2), f = S([p("schmancy-avatar")], f);
|
|
868
878
|
export {
|
|
869
879
|
Os as $,
|
|
870
880
|
kt as H,
|
|
871
|
-
S,
|
|
881
|
+
k as S,
|
|
872
882
|
St as W,
|
|
873
883
|
mt as a,
|
|
874
884
|
rt as b,
|
|
@@ -876,21 +886,21 @@ export {
|
|
|
876
886
|
Ct as d,
|
|
877
887
|
nt as e,
|
|
878
888
|
at as f,
|
|
879
|
-
|
|
889
|
+
D as g,
|
|
880
890
|
T as h,
|
|
881
891
|
b as i,
|
|
882
892
|
Qt as j,
|
|
883
|
-
|
|
893
|
+
_ as k,
|
|
884
894
|
yt as l,
|
|
885
895
|
lt as m,
|
|
886
896
|
ct as n,
|
|
887
897
|
g as o,
|
|
888
|
-
|
|
898
|
+
O as p,
|
|
889
899
|
$ as q,
|
|
890
|
-
|
|
900
|
+
C as r,
|
|
891
901
|
Ds as s,
|
|
892
902
|
X as t,
|
|
893
|
-
|
|
903
|
+
F as u,
|
|
894
904
|
f as v
|
|
895
905
|
};
|
|
896
|
-
//# sourceMappingURL=avatar-
|
|
906
|
+
//# sourceMappingURL=avatar-BDy0wAek.js.map
|