@mhmo91/schmancy 0.7.6 → 0.8.3
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/audio.md +241 -0
- package/ai/content-drawer.md +163 -70
- package/ai/details.md +309 -44
- package/ai/lightbox.md +381 -0
- package/ai/typography.md +75 -49
- package/dist/ai/audio.md +241 -0
- package/dist/ai/content-drawer.md +163 -70
- package/dist/ai/details.md +309 -44
- package/dist/ai/lightbox.md +381 -0
- package/dist/ai/typography.md +75 -49
- package/dist/{animated-text-1FDC-OTA.cjs → animated-text-Bc3qyXjp.cjs} +2 -2
- package/dist/{animated-text-1FDC-OTA.cjs.map → animated-text-Bc3qyXjp.cjs.map} +1 -1
- package/dist/{animated-text-1_latidd.js → animated-text-CNx6Pmlo.js} +3 -3
- package/dist/{animated-text-1_latidd.js.map → animated-text-CNx6Pmlo.js.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-CQq-Mh0Z.js → area.component-7mWxekxE.js} +104 -98
- package/dist/area.component-7mWxekxE.js.map +1 -0
- package/dist/area.component-CS_gSutH.cjs +12 -0
- package/dist/area.component-CS_gSutH.cjs.map +1 -0
- package/dist/area.js +1 -1
- package/dist/audio.cjs +2 -0
- package/dist/audio.cjs.map +1 -0
- package/dist/audio.js +9 -0
- package/dist/audio.js.map +1 -0
- package/dist/{autocomplete-DT9MFPEG.js → autocomplete-Ci4jo3Ur.js} +4 -4
- package/dist/{autocomplete-DT9MFPEG.js.map → autocomplete-Ci4jo3Ur.js.map} +1 -1
- package/dist/{autocomplete-auTO_M_w.cjs → autocomplete-y-IyzH4r.cjs} +2 -2
- package/dist/{autocomplete-auTO_M_w.cjs.map → autocomplete-y-IyzH4r.cjs.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar-Dm_qg-n1.js → avatar-BdyuuIk7.js} +243 -258
- package/dist/avatar-BdyuuIk7.js.map +1 -0
- package/dist/avatar-DBfJucB9.cjs +273 -0
- package/dist/avatar-DBfJucB9.cjs.map +1 -0
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-RNCKlx8b.js → boat-CowHieO2.js} +6 -6
- package/dist/{boat-RNCKlx8b.js.map → boat-CowHieO2.js.map} +1 -1
- package/dist/{boat-98He5-K8.cjs → boat-DkNUc1UO.cjs} +5 -5
- package/dist/{boat-98He5-K8.cjs.map → boat-DkNUc1UO.cjs.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/charts.cjs +2 -0
- package/dist/charts.cjs.map +1 -0
- package/dist/charts.js +9 -0
- package/dist/charts.js.map +1 -0
- package/dist/{checkbox-Bdn1_WJg.js → checkbox-BY4Sn8F2.js} +6 -6
- package/dist/{checkbox-Bdn1_WJg.js.map → checkbox-BY4Sn8F2.js.map} +1 -1
- package/dist/{checkbox-Dj06r6MD.cjs → checkbox-BvWcABPr.cjs} +2 -2
- package/dist/{checkbox-Dj06r6MD.cjs.map → checkbox-BvWcABPr.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-ByxcwPma.cjs → code-preview-BIFIJigy.cjs} +2 -2
- package/dist/{code-preview-ByxcwPma.cjs.map → code-preview-BIFIJigy.cjs.map} +1 -1
- package/dist/{code-preview-Br7zBkyM.js → code-preview-CYjmAxfs.js} +3 -3
- package/dist/{code-preview-Br7zBkyM.js.map → code-preview-CYjmAxfs.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-BvxbWTgj.js → context-create-B_S-sD5B.js} +69 -57
- package/dist/context-create-B_S-sD5B.js.map +1 -0
- package/dist/context-create-DTybDbZp.cjs +2 -0
- package/dist/context-create-DTybDbZp.cjs.map +1 -0
- package/dist/date-range-B80Ummtv.cjs +119 -0
- package/dist/date-range-B80Ummtv.cjs.map +1 -0
- package/dist/date-range-BdIqI7LC.js +639 -0
- package/dist/date-range-BdIqI7LC.js.map +1 -0
- package/dist/{date-range-inline-l2G48xTX.js → date-range-inline-Cnhs9atd.js} +3 -3
- package/dist/{date-range-inline-l2G48xTX.js.map → date-range-inline-Cnhs9atd.js.map} +1 -1
- package/dist/{date-range-inline-kbokz03Z.cjs → date-range-inline-Df8u6Ecy.cjs} +2 -2
- package/dist/{date-range-inline-kbokz03Z.cjs.map → date-range-inline-Df8u6Ecy.cjs.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-CCreUpYu.cjs → delay-BWsVHQib.cjs} +2 -2
- package/dist/delay-BWsVHQib.cjs.map +1 -0
- package/dist/{delay-Nu7RVtYd.js → delay-CCa9nN4A.js} +45 -45
- package/dist/delay-CCa9nN4A.js.map +1 -0
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/details-Bee5ya0L.js +100 -0
- package/dist/details-Bee5ya0L.js.map +1 -0
- package/dist/details-oaVHXU7U.cjs +55 -0
- package/dist/details-oaVHXU7U.cjs.map +1 -0
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/dialog-service-C86xTS8q.cjs +2 -0
- package/dist/dialog-service-C86xTS8q.cjs.map +1 -0
- package/dist/dialog-service-D9E3jLAR.js +118 -0
- package/dist/dialog-service-D9E3jLAR.js.map +1 -0
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.component-BriB-kFi.cjs +48 -0
- package/dist/dialog.component-BriB-kFi.cjs.map +1 -0
- package/dist/dialog.component-CMUoCC7O.js +145 -0
- package/dist/dialog.component-CMUoCC7O.js.map +1 -0
- package/dist/dialog.js +7 -7
- package/dist/directives.cjs +1 -1
- package/dist/directives.js +11 -10
- package/dist/directives.js.map +1 -1
- package/dist/{divider-CqyzFfn1.js → divider-B7DBbYFI.js} +3 -3
- package/dist/{divider-CqyzFfn1.js.map → divider-B7DBbYFI.js.map} +1 -1
- package/dist/{divider-0yHQS8kR.cjs → divider-Dl4TToQZ.cjs} +2 -2
- package/dist/{divider-0yHQS8kR.cjs.map → divider-Dl4TToQZ.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-BmHQE5-P.cjs → dropdown-content-C2W7OttQ.cjs} +2 -2
- package/dist/{dropdown-content-BmHQE5-P.cjs.map → dropdown-content-C2W7OttQ.cjs.map} +1 -1
- package/dist/{dropdown-content-iFlLupVo.js → dropdown-content-DzhOtilY.js} +3 -3
- package/dist/{dropdown-content-iFlLupVo.js.map → dropdown-content-DzhOtilY.js.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-CmAEJDMC.js → email-recipients-BWqZKo3m.js} +8 -7
- package/dist/{email-recipients-CmAEJDMC.js.map → email-recipients-BWqZKo3m.js.map} +1 -1
- package/dist/{email-recipients-Cioc3U0Z.cjs → email-recipients-Bh5VC0rc.cjs} +2 -2
- package/dist/{email-recipients-Cioc3U0Z.cjs.map → email-recipients-Bh5VC0rc.cjs.map} +1 -1
- package/dist/emotional-sounds-BRnFhww6.js +234 -0
- package/dist/emotional-sounds-BRnFhww6.js.map +1 -0
- package/dist/emotional-sounds-DVGhmoZf.cjs +2 -0
- package/dist/emotional-sounds-DVGhmoZf.cjs.map +1 -0
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/flex-53G-PJx7.js +183 -0
- package/dist/flex-53G-PJx7.js.map +1 -0
- package/dist/flex-DFSIy0t4.cjs +18 -0
- package/dist/flex-DFSIy0t4.cjs.map +1 -0
- package/dist/{form-CxrvY530.js → form-BtRK9bnp.js} +2 -2
- package/dist/{form-CxrvY530.js.map → form-BtRK9bnp.js.map} +1 -1
- package/dist/{form-DFDTspmH.cjs → form-Zq7g2JS8.cjs} +2 -2
- package/dist/{form-DFDTspmH.cjs.map → form-Zq7g2JS8.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-hZ2qP4iG.js → formField.mixin-2jSL7WF_.js} +2 -2
- package/dist/{formField.mixin-hZ2qP4iG.js.map → formField.mixin-2jSL7WF_.js.map} +1 -1
- package/dist/{formField.mixin-C7H5DaEl.cjs → formField.mixin-DkN2ufR_.cjs} +2 -2
- package/dist/{formField.mixin-C7H5DaEl.cjs.map → formField.mixin-DkN2ufR_.cjs.map} +1 -1
- package/dist/height-CfECBO2j.js +44 -0
- package/dist/height-CfECBO2j.js.map +1 -0
- package/dist/height-Z70qJYJK.cjs +2 -0
- package/dist/height-Z70qJYJK.cjs.map +1 -0
- package/dist/{icon-D0FAI5uJ.js → icon-B5qeYrDu.js} +17 -17
- package/dist/icon-B5qeYrDu.js.map +1 -0
- package/dist/icon-button-BpmGFjaR.cjs +70 -0
- package/dist/icon-button-BpmGFjaR.cjs.map +1 -0
- package/dist/icon-button-HSYaQBNF.js +164 -0
- package/dist/icon-button-HSYaQBNF.js.map +1 -0
- package/dist/icon-pU_cfmpD.cjs +49 -0
- package/dist/icon-pU_cfmpD.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 +275 -250
- package/dist/index.js.map +1 -1
- package/dist/input-8G9YY9qv.cjs +51 -0
- package/dist/input-8G9YY9qv.cjs.map +1 -0
- package/dist/{input-DLnKAj3B.js → input-BJMF5Fyk.js} +35 -31
- package/dist/input-BJMF5Fyk.js.map +1 -0
- package/dist/{input-chip-C3EPsHcP.cjs → input-chip-CocdqTzr.cjs} +2 -2
- package/dist/{input-chip-C3EPsHcP.cjs.map → input-chip-CocdqTzr.cjs.map} +1 -1
- package/dist/{input-chip-dmqYCExV.js → input-chip-tbrw56ix.js} +2 -2
- package/dist/{input-chip-dmqYCExV.js.map → input-chip-tbrw56ix.js.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/json-CvcloKQv.js +51 -0
- package/dist/json-CvcloKQv.js.map +1 -0
- package/dist/json-DPnyOA3K.cjs +12 -0
- package/dist/json-DPnyOA3K.cjs.map +1 -0
- package/dist/json.cjs +2 -0
- package/dist/json.cjs.map +1 -0
- package/dist/json.js +5 -0
- package/dist/json.js.map +1 -0
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +4 -3
- package/dist/layout.js.map +1 -1
- package/dist/lightbox-service-3mHqBKEh.cjs +202 -0
- package/dist/lightbox-service-3mHqBKEh.cjs.map +1 -0
- package/dist/lightbox-service-DxbYZAuv.js +458 -0
- package/dist/lightbox-service-DxbYZAuv.js.map +1 -0
- package/dist/lightbox.cjs +2 -0
- package/dist/lightbox.cjs.map +1 -0
- package/dist/lightbox.js +8 -0
- package/dist/lightbox.js.map +1 -0
- package/dist/{list-BegNkhOn.js → list-FWXmY-eQ.js} +2 -2
- package/dist/{list-BegNkhOn.js.map → list-FWXmY-eQ.js.map} +1 -1
- package/dist/{list-CLKiZ6lk.cjs → list-JjR7WOrd.cjs} +2 -2
- package/dist/{list-CLKiZ6lk.cjs.map → list-JjR7WOrd.cjs.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-CPQYJnK_.cjs → litElement.mixin-BVBdv0GP.cjs} +2 -2
- package/dist/{litElement.mixin-CPQYJnK_.cjs.map → litElement.mixin-BVBdv0GP.cjs.map} +1 -1
- package/dist/{litElement.mixin-DWDPaNoc.js → litElement.mixin-Wcu4yIIs.js} +2 -2
- package/dist/{litElement.mixin-DWDPaNoc.js.map → litElement.mixin-Wcu4yIIs.js.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-CUKZ6LrR.js → map-Br6xJFxG.js} +2 -2
- package/dist/{map-CUKZ6LrR.js.map → map-Br6xJFxG.js.map} +1 -1
- package/dist/{map-w4Kdtycx.cjs → map-D9R3OCne.cjs} +2 -2
- package/dist/{map-w4Kdtycx.cjs.map → map-D9R3OCne.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-CjdCchz8.js → media-BV_1DfcW.js} +2 -2
- package/dist/{media-CjdCchz8.js.map → media-BV_1DfcW.js.map} +1 -1
- package/dist/{media-DDNmuoV0.cjs → media-DibPwAjJ.cjs} +2 -2
- package/dist/{media-DDNmuoV0.cjs.map → media-DibPwAjJ.cjs.map} +1 -1
- package/dist/menu-HKqlq99V.js +60 -0
- package/dist/{menu-ofiPDY2a.js.map → menu-HKqlq99V.js.map} +1 -1
- package/dist/{menu-D9-9vipn.cjs → menu-vNrV-Nuq.cjs} +4 -6
- package/dist/{menu-D9-9vipn.cjs.map → menu-vNrV-Nuq.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/mixins.cjs +1 -1
- package/dist/mixins.js +3 -3
- 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-CEDLJTrH.cjs → navigation-rail-D1o3qDe_.cjs} +15 -17
- package/dist/navigation-rail-D1o3qDe_.cjs.map +1 -0
- package/dist/{navigation-rail-weSW6BCv.js → navigation-rail-DKXumnmt.js} +30 -32
- package/dist/navigation-rail-DKXumnmt.js.map +1 -0
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/notification-service-B5ljba4P.js +155 -0
- package/dist/notification-service-B5ljba4P.js.map +1 -0
- package/dist/notification-service-ICRT05L0.cjs +19 -0
- package/dist/notification-service-ICRT05L0.cjs.map +1 -0
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +6 -8
- package/dist/{notify-Ci0HrUIo.js → notify-B9CpO1Ru.js} +2 -2
- package/dist/notify-B9CpO1Ru.js.map +1 -0
- package/dist/{notify-aasSKQGA.cjs → notify-NX-dl60E.cjs} +2 -2
- package/dist/notify-NX-dl60E.cjs.map +1 -0
- package/dist/{option-Cs4e3CzF.js → option-B4JKMrLg.js} +2 -2
- package/dist/{option-Cs4e3CzF.js.map → option-B4JKMrLg.js.map} +1 -1
- package/dist/{option-Uze_q9Ef.cjs → option-epyXLWoY.cjs} +2 -2
- package/dist/{option-Uze_q9Ef.cjs.map → option-epyXLWoY.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/page-Bmi1QHtq.cjs +20 -0
- package/dist/page-Bmi1QHtq.cjs.map +1 -0
- package/dist/page-BpygEntU.js +48 -0
- package/dist/page-BpygEntU.js.map +1 -0
- package/dist/page.cjs +2 -0
- package/dist/page.cjs.map +1 -0
- package/dist/page.js +5 -0
- package/dist/page.js.map +1 -0
- package/dist/{payment-card-form-rJCPUtWE.cjs → payment-card-form-3kAXDbXf.cjs} +2 -2
- package/dist/{payment-card-form-rJCPUtWE.cjs.map → payment-card-form-3kAXDbXf.cjs.map} +1 -1
- package/dist/{payment-card-form-BLoUTYiB.js → payment-card-form-BxkHuSls.js} +3 -3
- package/dist/{payment-card-form-BLoUTYiB.js.map → payment-card-form-BxkHuSls.js.map} +1 -1
- package/dist/pills-C3fIvfn8.js +346 -0
- package/dist/pills-C3fIvfn8.js.map +1 -0
- package/dist/pills-MmHyBGQu.cjs +113 -0
- package/dist/pills-MmHyBGQu.cjs.map +1 -0
- package/dist/progress-0POmJs5o.js +59 -0
- package/dist/progress-0POmJs5o.js.map +1 -0
- package/dist/progress-qx8jtrOA.cjs +35 -0
- package/dist/progress-qx8jtrOA.cjs.map +1 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/qr-scanner-DQq-WLyo.cjs +29 -0
- package/dist/qr-scanner-DQq-WLyo.cjs.map +1 -0
- package/dist/qr-scanner-jwOSrD0N.js +743 -0
- package/dist/qr-scanner-jwOSrD0N.js.map +1 -0
- package/dist/qr-scanner.cjs +2 -0
- package/dist/qr-scanner.cjs.map +1 -0
- package/dist/qr-scanner.js +5 -0
- package/dist/qr-scanner.js.map +1 -0
- package/dist/{radio-button-CaDaw5VH.js → radio-button-B0EUK_wg.js} +3 -3
- package/dist/{radio-button-CaDaw5VH.js.map → radio-button-B0EUK_wg.js.map} +1 -1
- package/dist/{radio-button-BAS7gKmA.cjs → radio-button-DraEYR2R.cjs} +2 -2
- package/dist/{radio-button-BAS7gKmA.cjs.map → radio-button-DraEYR2R.cjs.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/ripple-BgJXbNSP.js +124 -0
- package/dist/ripple-BgJXbNSP.js.map +1 -0
- package/dist/ripple-x6sTX02K.cjs +16 -0
- package/dist/ripple-x6sTX02K.cjs.map +1 -0
- package/dist/{schmancy-steps-container-wQsksygx.cjs → schmancy-steps-container-B5aiqgMA.cjs} +2 -2
- package/dist/{schmancy-steps-container-wQsksygx.cjs.map → schmancy-steps-container-B5aiqgMA.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-BInNput3.js → schmancy-steps-container-C2StAA5K.js} +3 -3
- package/dist/{schmancy-steps-container-BInNput3.js.map → schmancy-steps-container-C2StAA5K.js.map} +1 -1
- package/dist/scroll-BqT7bvhu.cjs +27 -0
- package/dist/scroll-BqT7bvhu.cjs.map +1 -0
- package/dist/scroll-Bu-vAg3d.js +87 -0
- package/dist/scroll-Bu-vAg3d.js.map +1 -0
- package/dist/{select-_2Ag_znm.cjs → select-HiEGJvOX.cjs} +2 -2
- package/dist/select-HiEGJvOX.cjs.map +1 -0
- package/dist/{select-ApLZefMf.js → select-i-uKur-W.js} +5 -4
- package/dist/select-i-uKur-W.js.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{selector-hook-Cok22ifx.cjs → selector-hook-9w2auh2O.cjs} +2 -2
- package/dist/{selector-hook-Cok22ifx.cjs.map → selector-hook-9w2auh2O.cjs.map} +1 -1
- package/dist/{selector-hook-l2fe2UO5.js → selector-hook-CHV4kDMd.js} +3 -3
- package/dist/{selector-hook-l2fe2UO5.js.map → selector-hook-CHV4kDMd.js.map} +1 -1
- package/dist/{sheet-DovyNsok.js → sheet-B1g7E4dQ.js} +5 -5
- package/dist/{sheet-DovyNsok.js.map → sheet-B1g7E4dQ.js.map} +1 -1
- package/dist/{sheet-wjDOQ8Hs.cjs → sheet-BbrRW0S5.cjs} +2 -2
- package/dist/{sheet-wjDOQ8Hs.cjs.map → sheet-BbrRW0S5.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +2 -2
- package/dist/{sheet.service-BvOiOFMm.js → sheet.service-4etIM-p6.js} +20 -18
- package/dist/sheet.service-4etIM-p6.js.map +1 -0
- package/dist/sheet.service-BiRZjCdN.cjs +2 -0
- package/dist/sheet.service-BiRZjCdN.cjs.map +1 -0
- package/dist/{slider-CeVgx4pL.js → slider-8E3Wad0t.js} +3 -3
- package/dist/{slider-CeVgx4pL.js.map → slider-8E3Wad0t.js.map} +1 -1
- package/dist/{slider-BgJccHrg.cjs → slider-VYnbIRH2.cjs} +2 -2
- package/dist/{slider-BgJccHrg.cjs.map → slider-VYnbIRH2.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/sound.service-Nza4c6wv.js +102 -0
- package/dist/sound.service-Nza4c6wv.js.map +1 -0
- package/dist/sound.service-eRirZw59.cjs +2 -0
- package/dist/sound.service-eRirZw59.cjs.map +1 -0
- package/dist/{spinner-Brq1TenP.js → spinner-CKm13CKN.js} +15 -12
- package/dist/spinner-CKm13CKN.js.map +1 -0
- package/dist/{spinner-BKeA2bdB.cjs → spinner-DJgcI5wr.cjs} +9 -9
- package/dist/spinner-DJgcI5wr.cjs.map +1 -0
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.js +2 -2
- package/dist/{suggestion-chip-CWBSzu7C.js → suggestion-chip-6njXvvHm.js} +50 -46
- package/dist/suggestion-chip-6njXvvHm.js.map +1 -0
- package/dist/{suggestion-chip-dq20NKWy.cjs → suggestion-chip-DdLfqk7o.cjs} +18 -23
- package/dist/suggestion-chip-DdLfqk7o.cjs.map +1 -0
- package/dist/{surface-Bf8pvmdG.js → surface-BYU3l_Q2.js} +12 -11
- package/dist/surface-BYU3l_Q2.js.map +1 -0
- package/dist/{surface-fEPJ-cuu.cjs → surface-DcqbWGub.cjs} +5 -4
- package/dist/surface-DcqbWGub.cjs.map +1 -0
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-DEnB9_Rf.cjs → table-C9fzDjjk.cjs} +2 -2
- package/dist/{table-DEnB9_Rf.cjs.map → table-C9fzDjjk.cjs.map} +1 -1
- package/dist/{table-MLd3oXm6.js → table-Dq12ollZ.js} +3 -3
- package/dist/{table-MLd3oXm6.js.map → table-Dq12ollZ.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-CXVHOR5X.cjs → tabs-compatibility-Dwtjfkcf.cjs} +2 -2
- package/dist/{tabs-compatibility-CXVHOR5X.cjs.map → tabs-compatibility-Dwtjfkcf.cjs.map} +1 -1
- package/dist/{tabs-compatibility-KWKzYolX.js → tabs-compatibility-wnzlHtln.js} +2 -2
- package/dist/{tabs-compatibility-KWKzYolX.js.map → tabs-compatibility-wnzlHtln.js.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-Ddt05Frc.js +67 -0
- package/dist/{tailwind.mixin-DIW0B_of.js.map → tailwind.mixin-Ddt05Frc.js.map} +1 -1
- package/dist/tailwind.mixin-UijsBrYW.cjs +2 -0
- package/dist/{tailwind.mixin-3TPVvhYf.cjs.map → tailwind.mixin-UijsBrYW.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/textarea-DGmsw1B_.cjs +44 -0
- package/dist/{textarea-B7arkA7y.cjs.map → textarea-DGmsw1B_.cjs.map} +1 -1
- package/dist/{textarea-BK1m_CFR.js → textarea-Vd3zayJZ.js} +4 -3
- package/dist/{textarea-BK1m_CFR.js.map → textarea-Vd3zayJZ.js.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-BTKwL3oC.cjs → theme-button-DG_Xwg9H.cjs} +2 -2
- package/dist/{theme-button-BTKwL3oC.cjs.map → theme-button-DG_Xwg9H.cjs.map} +1 -1
- package/dist/{theme-button-C6kk8bay.js → theme-button-rGpEW_xS.js} +2 -2
- package/dist/{theme-button-C6kk8bay.js.map → theme-button-rGpEW_xS.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/{theme-controller-boat-BK59LqH9.js → theme-controller-boat-B1fjcqJI.js} +420 -228
- package/dist/theme-controller-boat-B1fjcqJI.js.map +1 -0
- package/dist/theme-controller-boat-pLzK5zxL.cjs +178 -0
- package/dist/theme-controller-boat-pLzK5zxL.cjs.map +1 -0
- package/dist/theme.cjs +1 -1
- package/dist/theme.js +13 -11
- package/dist/{timezone-nbn0o5GC.cjs → timezone-BhUaIAV7.cjs} +2 -2
- package/dist/{timezone-nbn0o5GC.cjs.map → timezone-BhUaIAV7.cjs.map} +1 -1
- package/dist/{timezone-D_skWX6Z.js → timezone-IQkwr6Oh.js} +3 -3
- package/dist/{timezone-D_skWX6Z.js.map → timezone-IQkwr6Oh.js.map} +1 -1
- package/dist/{tooltip-Btl0IKYC.js → tooltip-CwaiZC8f.js} +2 -2
- package/dist/{tooltip-Btl0IKYC.js.map → tooltip-CwaiZC8f.js.map} +1 -1
- package/dist/{tooltip-DyuMJEjL.cjs → tooltip-iEvxKg8g.cjs} +2 -2
- package/dist/{tooltip-DyuMJEjL.cjs.map → tooltip-iEvxKg8g.cjs.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-N4Y6MoQe.cjs → tree-Bclu6uvv.cjs} +2 -2
- package/dist/{tree-N4Y6MoQe.cjs.map → tree-Bclu6uvv.cjs.map} +1 -1
- package/dist/{tree-B_2eIFQi.js → tree-D9EbEsxn.js} +2 -2
- package/dist/{tree-B_2eIFQi.js.map → tree-D9EbEsxn.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-Blyrk_4c.js → typewriter-BjDPgRlj.js} +5 -5
- package/dist/{typewriter-Blyrk_4c.js.map → typewriter-BjDPgRlj.js.map} +1 -1
- package/dist/{typewriter-CFQAeOaw.cjs → typewriter-Bscwd-36.cjs} +4 -4
- package/dist/{typewriter-CFQAeOaw.cjs.map → typewriter-Bscwd-36.cjs.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-DjGWK58I.js → typography-CConBBFH.js} +13 -53
- package/dist/typography-CConBBFH.js.map +1 -0
- package/dist/{typography-DsIU0TGe.cjs → typography-DLGT3DGz.cjs} +3 -46
- package/dist/typography-DLGT3DGz.cjs.map +1 -0
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/mixins/tailwind.css +37 -6
- package/package.json +21 -20
- package/types/src/area/area.service.d.ts +1 -1
- package/types/src/area/router.types.d.ts +1 -0
- package/types/src/audio/emotional-sounds.d.ts +122 -0
- package/types/src/audio/index.d.ts +30 -0
- package/types/src/audio/sound.service.d.ts +111 -0
- package/types/src/avatar.d.ts +10 -1
- package/types/src/busy/spinner.d.ts +6 -1
- package/types/src/button/button.d.ts +15 -2
- package/types/src/button/icon-button.d.ts +1 -1
- package/types/src/charts/area-chart.d.ts +58 -0
- package/types/src/charts/index.d.ts +4 -0
- package/types/src/charts/pills.d.ts +51 -0
- package/types/src/charts/types.d.ts +62 -0
- package/types/src/charts/utils.d.ts +28 -0
- package/types/src/checkbox/checkbox.d.ts +3 -2
- package/types/src/chips/chips.d.ts +2 -0
- package/types/src/content-drawer/drawer.service.d.ts +1 -7
- package/types/src/date-range/date-range-dialog.d.ts +16 -0
- package/types/src/date-range/date-range.d.ts +1 -1
- package/types/src/details/details.d.ts +8 -3
- package/types/src/dialog/dailog.d.ts +1 -5
- package/types/src/dialog/dialog-base.mixin.d.ts +26 -0
- package/types/src/dialog/dialog-service.d.ts +3 -66
- package/types/src/dialog/dialog.component.d.ts +63 -30
- package/types/src/dialog/index.d.ts +1 -3
- package/types/src/directives/height.d.ts +11 -6
- package/types/src/icons/icon.d.ts +17 -0
- package/types/src/index.d.ts +6 -0
- package/types/src/input/input.d.ts +13 -9
- package/types/src/json/index.d.ts +1 -0
- package/types/src/json/json.d.ts +15 -0
- package/types/src/lightbox/flip-directive.d.ts +29 -0
- package/types/src/lightbox/flip.directive.d.ts +22 -0
- package/types/src/lightbox/index.d.ts +4 -0
- package/types/src/lightbox/lightbox-service.d.ts +24 -0
- package/types/src/lightbox/lightbox.d.ts +34 -0
- package/types/src/lightbox/lightbox.directive.d.ts +30 -0
- package/types/src/nav-drawer/appbar.d.ts +0 -5
- package/types/src/nav-drawer/drawer.d.ts +1 -32
- package/types/src/notification/index.d.ts +1 -3
- package/types/src/notification/notification-service.d.ts +13 -1
- package/types/src/notification/notification.d.ts +13 -12
- package/types/src/notification/notify.d.ts +1 -1
- package/types/src/page/index.d.ts +1 -0
- package/types/src/page/page.d.ts +31 -0
- package/types/src/progress/progress.d.ts +2 -2
- package/types/src/qr-scanner/index.d.ts +1 -0
- package/types/src/qr-scanner/qr-scanner.d.ts +26 -0
- package/types/src/select/select.d.ts +1 -1
- package/types/src/theme/index.d.ts +1 -0
- package/types/src/theme/theme-audio-player.d.ts +100 -0
- package/types/src/theme/theme-controller-boat.d.ts +1 -0
- package/types/src/theme/theme.component.d.ts +1 -1
- package/types/src/types/index.d.ts +1 -0
- package/types/src/types/mood-audio.types.d.ts +173 -0
- package/types/src/typography/typography.d.ts +1 -0
- package/dist/area.component-CQq-Mh0Z.js.map +0 -1
- package/dist/area.component-Ciw7vGsx.cjs +0 -12
- package/dist/area.component-Ciw7vGsx.cjs.map +0 -1
- package/dist/avatar-Bo8kRnA-.cjs +0 -288
- package/dist/avatar-Bo8kRnA-.cjs.map +0 -1
- package/dist/avatar-Dm_qg-n1.js.map +0 -1
- package/dist/context-create-BJkkLr1D.cjs +0 -2
- package/dist/context-create-BJkkLr1D.cjs.map +0 -1
- package/dist/context-create-BvxbWTgj.js.map +0 -1
- package/dist/date-range-VkIMcQdT.js +0 -664
- package/dist/date-range-VkIMcQdT.js.map +0 -1
- package/dist/date-range-xYUr_KKx.cjs +0 -134
- package/dist/date-range-xYUr_KKx.cjs.map +0 -1
- package/dist/delay-CCreUpYu.cjs.map +0 -1
- package/dist/delay-Nu7RVtYd.js.map +0 -1
- package/dist/details-CjQrqBli.cjs +0 -98
- package/dist/details-CjQrqBli.cjs.map +0 -1
- package/dist/details-DVIWpEsI.js +0 -137
- package/dist/details-DVIWpEsI.js.map +0 -1
- package/dist/dialog-content-BgxKi73O.js +0 -256
- package/dist/dialog-content-BgxKi73O.js.map +0 -1
- package/dist/dialog-content-CM3-RXQQ.cjs +0 -85
- package/dist/dialog-content-CM3-RXQQ.cjs.map +0 -1
- package/dist/dialog-service-B4nR8Em5.cjs +0 -2
- package/dist/dialog-service-B4nR8Em5.cjs.map +0 -1
- package/dist/dialog-service-Bege4HF4.js +0 -140
- package/dist/dialog-service-Bege4HF4.js.map +0 -1
- package/dist/flex-BEB1yuMF.cjs +0 -43
- package/dist/flex-BEB1yuMF.cjs.map +0 -1
- package/dist/flex-BgcbHlPo.js +0 -260
- package/dist/flex-BgcbHlPo.js.map +0 -1
- package/dist/icon-D0FAI5uJ.js.map +0 -1
- package/dist/icon-DJnGMAQ2.cjs +0 -49
- package/dist/icon-DJnGMAQ2.cjs.map +0 -1
- package/dist/icon-button-CSZtSmOy.cjs +0 -65
- package/dist/icon-button-CSZtSmOy.cjs.map +0 -1
- package/dist/icon-button-CbgQp3AL.js +0 -156
- package/dist/icon-button-CbgQp3AL.js.map +0 -1
- package/dist/input-DLnKAj3B.js.map +0 -1
- package/dist/input-wZ6ORWru.cjs +0 -51
- package/dist/input-wZ6ORWru.cjs.map +0 -1
- package/dist/menu-ofiPDY2a.js +0 -61
- package/dist/navigation-rail-CEDLJTrH.cjs.map +0 -1
- package/dist/navigation-rail-weSW6BCv.js.map +0 -1
- package/dist/notification-service-B4nvP2Jc.js +0 -532
- package/dist/notification-service-B4nvP2Jc.js.map +0 -1
- package/dist/notification-service-B_pa74hl.cjs +0 -143
- package/dist/notification-service-B_pa74hl.cjs.map +0 -1
- package/dist/notify-Ci0HrUIo.js.map +0 -1
- package/dist/notify-aasSKQGA.cjs.map +0 -1
- package/dist/progress-B1f3y-Mf.js +0 -58
- package/dist/progress-B1f3y-Mf.js.map +0 -1
- package/dist/progress-DdBHNIMT.cjs +0 -35
- package/dist/progress-DdBHNIMT.cjs.map +0 -1
- package/dist/ripple-QoNZUUw_.js +0 -148
- package/dist/ripple-QoNZUUw_.js.map +0 -1
- package/dist/ripple-Ujq_REH4.cjs +0 -16
- package/dist/ripple-Ujq_REH4.cjs.map +0 -1
- package/dist/select-ApLZefMf.js.map +0 -1
- package/dist/select-_2Ag_znm.cjs.map +0 -1
- package/dist/sheet.service-BvOiOFMm.js.map +0 -1
- package/dist/sheet.service-DfHrOxyc.cjs +0 -2
- package/dist/sheet.service-DfHrOxyc.cjs.map +0 -1
- package/dist/spinner-BKeA2bdB.cjs.map +0 -1
- package/dist/spinner-Brq1TenP.js.map +0 -1
- package/dist/suggestion-chip-CWBSzu7C.js.map +0 -1
- package/dist/suggestion-chip-dq20NKWy.cjs.map +0 -1
- package/dist/surface-Bf8pvmdG.js.map +0 -1
- package/dist/surface-fEPJ-cuu.cjs.map +0 -1
- package/dist/tailwind.mixin-3TPVvhYf.cjs +0 -2
- package/dist/tailwind.mixin-DIW0B_of.js +0 -67
- package/dist/textarea-B7arkA7y.cjs +0 -44
- package/dist/theme-controller-boat-BK59LqH9.js.map +0 -1
- package/dist/theme-controller-boat-Y5QXwJxW.cjs +0 -64
- package/dist/theme-controller-boat-Y5QXwJxW.cjs.map +0 -1
- package/dist/typography-DjGWK58I.js.map +0 -1
- package/dist/typography-DsIU0TGe.cjs.map +0 -1
- package/types/src/notification/notification-audio-generator.d.ts +0 -45
- package/types/src/notification/notification-audio.d.ts +0 -79
- package/types/src/notification/notification-container.d.ts +0 -48
|
@@ -1,76 +1,86 @@
|
|
|
1
|
-
import { css as
|
|
2
|
-
import { property as l, customElement as p, state as
|
|
3
|
-
import { Subject as
|
|
4
|
-
import "./animated-text-
|
|
5
|
-
import { a as
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
1
|
+
import { css as v, html as c, nothing as Ct } from "lit";
|
|
2
|
+
import { property as l, customElement as p, state as d, queryAssignedElements as dt, query as Q } from "lit/decorators.js";
|
|
3
|
+
import { Subject as tt, merge as G, fromEvent as h, startWith as kt, debounceTime as Y, map as f, distinctUntilChanged as pt, tap as E, takeUntil as u, from as rt, of as V, Observable as Et, BehaviorSubject as ut, timer as Dt, zip as nt, filter as mt, take as Ot, timeout as It, bufferTime as zt, concatMap as Mt, interval as jt, throwIfEmpty as Pt } from "rxjs";
|
|
4
|
+
import "./animated-text-CNx6Pmlo.js";
|
|
5
|
+
import { a as Rt, F as Wt, H as Ht } from "./area.component-7mWxekxE.js";
|
|
6
|
+
import "./sound.service-Nza4c6wv.js";
|
|
7
|
+
import "./autocomplete-Ci4jo3Ur.js";
|
|
8
|
+
import { tap as B, takeUntil as j, filter as F, throttleTime as Lt, map as yt, pairwise as Bt, distinctUntilChanged as Nt, take as Tt } from "rxjs/operators";
|
|
8
9
|
import "lit/directives/class-map.js";
|
|
9
10
|
import "lit/directives/style-map.js";
|
|
10
|
-
import { T as
|
|
11
|
-
import { c as P
|
|
11
|
+
import { T as J } from "./tailwind.mixin-Ddt05Frc.js";
|
|
12
|
+
import { c as P } from "./ripple-BgJXbNSP.js";
|
|
12
13
|
import "lit/directives/guard.js";
|
|
13
|
-
import "./
|
|
14
|
-
import "./
|
|
15
|
-
import "./
|
|
16
|
-
import "./
|
|
17
|
-
import "./
|
|
18
|
-
import "./
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import
|
|
14
|
+
import "./height-CfECBO2j.js";
|
|
15
|
+
import "./boat-CowHieO2.js";
|
|
16
|
+
import "./spinner-CKm13CKN.js";
|
|
17
|
+
import "./icon-button-HSYaQBNF.js";
|
|
18
|
+
import "./media-BV_1DfcW.js";
|
|
19
|
+
import "./pills-C3fIvfn8.js";
|
|
20
|
+
import "./checkbox-BY4Sn8F2.js";
|
|
21
|
+
import "./suggestion-chip-6njXvvHm.js";
|
|
22
|
+
import "./input-chip-tbrw56ix.js";
|
|
23
|
+
import "./code-preview-CYjmAxfs.js";
|
|
24
|
+
import "./payment-card-form-BxkHuSls.js";
|
|
25
|
+
import { SchmancyEvents as g } from "./types.js";
|
|
23
26
|
import { n as N, e as L } from "./provide-tcktw8xB.js";
|
|
24
|
-
import { $ as R } from "./litElement.mixin-
|
|
25
|
-
import { c as
|
|
26
|
-
import "./date-range-
|
|
27
|
-
import "./date-range-inline-
|
|
28
|
-
import "./delay-
|
|
29
|
-
import "./details-
|
|
30
|
-
import "./dialog-
|
|
31
|
-
import "./dialog-
|
|
32
|
-
import "
|
|
33
|
-
import "./
|
|
34
|
-
import "./
|
|
35
|
-
import "./
|
|
36
|
-
import "./
|
|
37
|
-
import "./
|
|
38
|
-
import "./
|
|
39
|
-
import "./
|
|
40
|
-
import "./
|
|
41
|
-
import "./
|
|
42
|
-
import "./
|
|
43
|
-
import
|
|
44
|
-
import "./
|
|
45
|
-
import "./
|
|
46
|
-
import "./
|
|
47
|
-
import "./
|
|
48
|
-
import "./
|
|
27
|
+
import { $ as R } from "./litElement.mixin-Wcu4yIIs.js";
|
|
28
|
+
import { c as b } from "./consume-5D1qfVWM.js";
|
|
29
|
+
import "./date-range-BdIqI7LC.js";
|
|
30
|
+
import "./date-range-inline-Cnhs9atd.js";
|
|
31
|
+
import "./delay-CCa9nN4A.js";
|
|
32
|
+
import "./details-Bee5ya0L.js";
|
|
33
|
+
import "./dialog-service-D9E3jLAR.js";
|
|
34
|
+
import "./dialog.component-CMUoCC7O.js";
|
|
35
|
+
import "@floating-ui/dom";
|
|
36
|
+
import "./divider-B7DBbYFI.js";
|
|
37
|
+
import "./dropdown-content-DzhOtilY.js";
|
|
38
|
+
import "./timezone-IQkwr6Oh.js";
|
|
39
|
+
import "./form-BtRK9bnp.js";
|
|
40
|
+
import "./icon-B5qeYrDu.js";
|
|
41
|
+
import "./input-BJMF5Fyk.js";
|
|
42
|
+
import "./json-CvcloKQv.js";
|
|
43
|
+
import "./flex-53G-PJx7.js";
|
|
44
|
+
import "./scroll-Bu-vAg3d.js";
|
|
45
|
+
import "./lightbox-service-DxbYZAuv.js";
|
|
46
|
+
import "./list-FWXmY-eQ.js";
|
|
47
|
+
import "./email-recipients-BWqZKo3m.js";
|
|
48
|
+
import "./map-Br6xJFxG.js";
|
|
49
|
+
import "./menu-HKqlq99V.js";
|
|
50
|
+
import "./navigation-rail-DKXumnmt.js";
|
|
51
|
+
import "./notification-service-B5ljba4P.js";
|
|
52
|
+
import "./option-B4JKMrLg.js";
|
|
53
|
+
import "./page-BpygEntU.js";
|
|
54
|
+
import "./progress-0POmJs5o.js";
|
|
55
|
+
import "./qr-scanner-jwOSrD0N.js";
|
|
56
|
+
import "./radio-button-B0EUK_wg.js";
|
|
49
57
|
import "./index-CW6PhEkx.js";
|
|
50
|
-
import "./select-
|
|
51
|
-
import { s as
|
|
52
|
-
import "./sheet-
|
|
53
|
-
import "./slider-
|
|
54
|
-
import "./schmancy-steps-container-
|
|
55
|
-
import "./context-create-
|
|
56
|
-
import "./surface-
|
|
57
|
-
import "./table-
|
|
58
|
-
import "./tabs-compatibility-
|
|
59
|
-
import "./textarea-
|
|
60
|
-
import "./theme-controller-boat-
|
|
61
|
-
import "./theme-button-
|
|
62
|
-
import "./tooltip-
|
|
63
|
-
import "./tree-
|
|
64
|
-
import "./typewriter-
|
|
65
|
-
import "./typography-
|
|
58
|
+
import "./select-i-uKur-W.js";
|
|
59
|
+
import { s as Z } from "./sheet.service-4etIM-p6.js";
|
|
60
|
+
import "./sheet-B1g7E4dQ.js";
|
|
61
|
+
import "./slider-8E3Wad0t.js";
|
|
62
|
+
import "./schmancy-steps-container-C2StAA5K.js";
|
|
63
|
+
import "./context-create-B_S-sD5B.js";
|
|
64
|
+
import "./surface-BYU3l_Q2.js";
|
|
65
|
+
import "./table-Dq12ollZ.js";
|
|
66
|
+
import "./tabs-compatibility-wnzlHtln.js";
|
|
67
|
+
import "./textarea-Vd3zayJZ.js";
|
|
68
|
+
import "./theme-controller-boat-B1fjcqJI.js";
|
|
69
|
+
import "./theme-button-rGpEW_xS.js";
|
|
70
|
+
import "./tooltip-CwaiZC8f.js";
|
|
71
|
+
import "./tree-D9EbEsxn.js";
|
|
72
|
+
import "./typewriter-BjDPgRlj.js";
|
|
73
|
+
import "./typography-CConBBFH.js";
|
|
66
74
|
import { S as r } from "./theme.interface-BLfE5J_1.js";
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
75
|
+
import { when as At } from "lit/directives/when.js";
|
|
76
|
+
var qt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, M = (t, e, s, o) => {
|
|
77
|
+
for (var n, i = o > 1 ? void 0 : o ? Xt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
78
|
+
return o && i && qt(e, s, i), i;
|
|
70
79
|
};
|
|
71
|
-
let
|
|
80
|
+
let C = class extends J(v`
|
|
72
81
|
:host {
|
|
73
82
|
display: inline-flex;
|
|
83
|
+
width: fit-content;
|
|
74
84
|
}
|
|
75
85
|
|
|
76
86
|
/* Enhanced pulse animation for better attention-getting */
|
|
@@ -157,13 +167,13 @@ let k = class extends Z(w`
|
|
|
157
167
|
`;
|
|
158
168
|
}
|
|
159
169
|
};
|
|
160
|
-
M([l({ type: String, reflect: !0 })],
|
|
161
|
-
let
|
|
170
|
+
M([l({ type: String, reflect: !0 })], C.prototype, "color", 2), M([l({ type: String, reflect: !0 })], C.prototype, "size", 2), M([l({ type: String, reflect: !0 })], C.prototype, "shape", 2), M([l({ type: Boolean, reflect: !0 })], C.prototype, "outlined", 2), M([l({ type: String })], C.prototype, "icon", 2), M([l({ type: Boolean, reflect: !0 })], C.prototype, "pulse", 2), C = M([p("schmancy-badge")], C);
|
|
171
|
+
let at = class extends C {
|
|
162
172
|
};
|
|
163
|
-
|
|
164
|
-
const
|
|
173
|
+
at = M([p("sch-badge")], at);
|
|
174
|
+
const js = new class {
|
|
165
175
|
constructor() {
|
|
166
|
-
this.$drawer = new
|
|
176
|
+
this.$drawer = new tt(), this.$drawer.pipe().subscribe((t) => {
|
|
167
177
|
switch (t.action) {
|
|
168
178
|
case "dismiss":
|
|
169
179
|
this.dispatchToggleEvent(t.ref, "close");
|
|
@@ -177,7 +187,7 @@ const Os = new class {
|
|
|
177
187
|
});
|
|
178
188
|
}
|
|
179
189
|
dispatchToggleEvent(t, e) {
|
|
180
|
-
t.dispatchEvent(new CustomEvent(
|
|
190
|
+
t.dispatchEvent(new CustomEvent(g.ContentDrawerToggle, { detail: { state: e }, bubbles: !0, composed: !0 }));
|
|
181
191
|
}
|
|
182
192
|
dispatchRenderEvent(t, e, s, o, n, i) {
|
|
183
193
|
t.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: e, title: s, state: o, params: n, props: i }, bubbles: !0, composed: !0 }));
|
|
@@ -192,18 +202,14 @@ const Os = new class {
|
|
|
192
202
|
this.dispatchToggleEvent(t, "open"), this.dispatchRenderEvent(t, e, void 0, s, o, n);
|
|
193
203
|
}
|
|
194
204
|
push(t) {
|
|
195
|
-
|
|
196
|
-
this.$drawer.next({ action: "push", ref: window, ...e });
|
|
197
|
-
}
|
|
198
|
-
normalizeOptions(t) {
|
|
199
|
-
return typeof t == "object" && t !== null && "component" in t ? t : { component: t };
|
|
205
|
+
this.$drawer.next({ action: "push", ref: window, ...t });
|
|
200
206
|
}
|
|
201
|
-
}(),
|
|
202
|
-
var
|
|
203
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
204
|
-
return o && i &&
|
|
207
|
+
}(), et = N("push"), bt = N("close"), ft = N(Math.floor(Math.random() * Date.now()).toString()), st = N("100%"), it = N({});
|
|
208
|
+
var _t = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, W = (t, e, s, o) => {
|
|
209
|
+
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);
|
|
210
|
+
return o && i && _t(e, s, i), i;
|
|
205
211
|
};
|
|
206
|
-
let
|
|
212
|
+
let D = class extends R(v`
|
|
207
213
|
:host {
|
|
208
214
|
position: relative;
|
|
209
215
|
inset: 0;
|
|
@@ -218,15 +224,15 @@ let E = class extends R(w`
|
|
|
218
224
|
this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
|
|
219
225
|
}
|
|
220
226
|
setupResizeListener() {
|
|
221
|
-
|
|
227
|
+
G(h(window, "resize"), h(window, g.ContentDrawerResize)).pipe(kt(!0), Y(100), f(() => this.clientWidth || window.innerWidth), f((t) => t >= this.minWidth.main + this.minWidth.sheet), pt(), E(() => this.updateMaxHeight()), u(this.disconnecting)).subscribe((t) => this.updateMode(t));
|
|
222
228
|
}
|
|
223
229
|
setupToggleListener() {
|
|
224
|
-
|
|
230
|
+
h(window, g.ContentDrawerToggle).pipe(E((t) => t.stopPropagation()), f((t) => t.detail.state), u(this.disconnecting)).subscribe((t) => {
|
|
225
231
|
this.open = t;
|
|
226
232
|
});
|
|
227
233
|
}
|
|
228
234
|
setupRenderListener() {
|
|
229
|
-
|
|
235
|
+
h(window, "schmancy-content-drawer-render").pipe(E((t) => t.stopPropagation()), f((t) => t.detail), u(this.disconnecting)).subscribe((t) => this.handleRender(t));
|
|
230
236
|
}
|
|
231
237
|
updateMaxHeight() {
|
|
232
238
|
this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
|
|
@@ -235,7 +241,7 @@ let E = class extends R(w`
|
|
|
235
241
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
236
242
|
}
|
|
237
243
|
handleRender(t) {
|
|
238
|
-
this.mode === "push" ?
|
|
244
|
+
this.mode === "push" ? Rt.push({ area: this.schmancyContentDrawerID, component: t.component, historyStrategy: "silent", state: t.state, params: t.params, props: t.props }) : this.mode === "overlay" && Z.open({ component: t.component, uid: this.schmancyContentDrawerID, props: t.props });
|
|
239
245
|
}
|
|
240
246
|
getOffsetTop(t) {
|
|
241
247
|
let e = 0;
|
|
@@ -243,7 +249,7 @@ let E = class extends R(w`
|
|
|
243
249
|
return e;
|
|
244
250
|
}
|
|
245
251
|
render() {
|
|
246
|
-
if (!this.mode || !this.open) return
|
|
252
|
+
if (!this.mode || !this.open) return Ct;
|
|
247
253
|
const t = ["grid h-full", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "justify-items-stretch items-stretch", this.mode === "overlay" ? "grid-cols-[1fr]" : "grid-cols-[auto_1fr]"].join(" ");
|
|
248
254
|
return c`
|
|
249
255
|
<div class=${t}>
|
|
@@ -252,12 +258,12 @@ let E = class extends R(w`
|
|
|
252
258
|
`;
|
|
253
259
|
}
|
|
254
260
|
};
|
|
255
|
-
W([L({ context:
|
|
256
|
-
var
|
|
257
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
258
|
-
return o && i &&
|
|
261
|
+
W([L({ context: it })], D.prototype, "minWidth", 2), W([L({ context: bt }), l()], D.prototype, "open", 2), W([L({ context: et }), d()], D.prototype, "mode", 2), W([L({ context: ft })], D.prototype, "schmancyContentDrawerID", 2), W([L({ context: st })], D.prototype, "maxHeight", 2), W([dt({ flatten: !0 })], D.prototype, "assignedElements", 2), D = W([p("schmancy-content-drawer")], D);
|
|
262
|
+
var Kt = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, A = (t, e, s, o) => {
|
|
263
|
+
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);
|
|
264
|
+
return o && i && Kt(e, s, i), i;
|
|
259
265
|
};
|
|
260
|
-
let T = class extends R(
|
|
266
|
+
let T = class extends R(v`
|
|
261
267
|
:host {
|
|
262
268
|
display: block;
|
|
263
269
|
overflow: hidden;
|
|
@@ -267,7 +273,7 @@ let T = class extends R(w`
|
|
|
267
273
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
|
|
268
274
|
}
|
|
269
275
|
update(t) {
|
|
270
|
-
super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
276
|
+
super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(g.ContentDrawerResize, { bubbles: !0, composed: !0 })));
|
|
271
277
|
}
|
|
272
278
|
render() {
|
|
273
279
|
const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight }, e = ["grid h-full relative overflow-scroll", "grid-flow-col auto-cols-max", "grid-rows-[1fr]", "items-stretch justify-items-stretch", this.mode === "push" ? "grid-cols-[auto_1fr]" : "grid-cols-[1fr]"].join(" ");
|
|
@@ -278,17 +284,17 @@ let T = class extends R(w`
|
|
|
278
284
|
<slot></slot>
|
|
279
285
|
</section>
|
|
280
286
|
</div>
|
|
281
|
-
${
|
|
287
|
+
${At(this.mode === "push", () => c` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
|
|
282
288
|
</section>
|
|
283
289
|
`;
|
|
284
290
|
}
|
|
285
291
|
};
|
|
286
|
-
|
|
287
|
-
var
|
|
288
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
289
|
-
return o && i &&
|
|
292
|
+
A([l({ type: Number })], T.prototype, "minWidth", 2), A([b({ context: it, subscribe: !0 })], T.prototype, "drawerMinWidth", 2), A([b({ context: et, subscribe: !0 }), d()], T.prototype, "mode", 2), A([b({ context: st, subscribe: !0 }), d()], T.prototype, "maxHeight", 2), T = A([p("schmancy-content-drawer-main")], T);
|
|
293
|
+
var Yt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, w = (t, e, s, o) => {
|
|
294
|
+
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);
|
|
295
|
+
return o && i && Yt(e, s, i), i;
|
|
290
296
|
};
|
|
291
|
-
let
|
|
297
|
+
let m = class extends R(v`
|
|
292
298
|
:host {
|
|
293
299
|
overflow: scroll;
|
|
294
300
|
}
|
|
@@ -297,19 +303,19 @@ let y = class extends R(w`
|
|
|
297
303
|
super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
|
|
298
304
|
}
|
|
299
305
|
updated(t) {
|
|
300
|
-
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(
|
|
306
|
+
super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(g.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (Z.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
|
|
301
307
|
}
|
|
302
308
|
open() {
|
|
303
309
|
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)" });
|
|
304
310
|
}
|
|
305
311
|
closeAll() {
|
|
306
|
-
|
|
312
|
+
G(rt(this.closeModalSheet()), rt(this.closeSheet())).pipe(u(this.disconnecting)).subscribe();
|
|
307
313
|
}
|
|
308
314
|
closeModalSheet() {
|
|
309
|
-
return
|
|
315
|
+
return V(!0).pipe(E(() => Z.dismiss(this.schmancyContentDrawerID)));
|
|
310
316
|
}
|
|
311
317
|
closeSheet() {
|
|
312
|
-
return new
|
|
318
|
+
return new Et((t) => {
|
|
313
319
|
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 = () => {
|
|
314
320
|
this.sheet.style.display = "none", t.next(), t.complete();
|
|
315
321
|
};
|
|
@@ -326,11 +332,11 @@ let y = class extends R(w`
|
|
|
326
332
|
`;
|
|
327
333
|
}
|
|
328
334
|
};
|
|
329
|
-
|
|
330
|
-
const
|
|
335
|
+
w([l({ type: Number })], m.prototype, "minWidth", 2), w([b({ context: et, subscribe: !0 }), d()], m.prototype, "mode", 2), w([b({ context: bt, subscribe: !0 }), d()], m.prototype, "state", 2), w([b({ context: ft })], m.prototype, "schmancyContentDrawerID", 2), w([Q("#sheet")], m.prototype, "sheet", 2), w([dt({ flatten: !0, slot: void 0 })], m.prototype, "defaultSlot", 2), w([b({ context: it, subscribe: !0 })], m.prototype, "drawerMinWidth", 2), w([b({ context: st, subscribe: !0 }), d()], m.prototype, "maxHeight", 2), m = w([p("schmancy-content-drawer-sheet")], m);
|
|
336
|
+
const Gt = new class {
|
|
331
337
|
constructor() {
|
|
332
|
-
this.$drawer = new
|
|
333
|
-
t.state ? window.dispatchEvent(new CustomEvent(
|
|
338
|
+
this.$drawer = new tt(), this.$drawer.pipe(Y(10)).subscribe((t) => {
|
|
339
|
+
t.state ? window.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
334
340
|
});
|
|
335
341
|
}
|
|
336
342
|
open(t) {
|
|
@@ -339,43 +345,25 @@ const Qt = new class {
|
|
|
339
345
|
close(t) {
|
|
340
346
|
this.$drawer.next({ self: t, state: !1 });
|
|
341
347
|
}
|
|
342
|
-
}(),
|
|
343
|
-
var
|
|
344
|
-
|
|
345
|
-
return o && i && Zt(e, s, i), i;
|
|
346
|
-
};
|
|
347
|
-
let q = class extends Z(w`
|
|
348
|
+
}(), Ps = Gt;
|
|
349
|
+
var Jt = Object.getOwnPropertyDescriptor;
|
|
350
|
+
let lt = class extends J(v`
|
|
348
351
|
:host {
|
|
349
352
|
display: block;
|
|
353
|
+
width: 100%;
|
|
354
|
+
min-width: 0;
|
|
350
355
|
}
|
|
351
356
|
`) {
|
|
352
|
-
constructor() {
|
|
353
|
-
super(...arguments), this.toggler = !0;
|
|
354
|
-
}
|
|
355
357
|
render() {
|
|
356
|
-
|
|
357
|
-
return c`
|
|
358
|
-
<div class=${this.classMap(e)}>
|
|
359
|
-
${st(this.sidebarMode === "overlay" && this.toggler, () => c`<slot name="toggler">
|
|
360
|
-
<div class="${this.classMap(t)}">
|
|
361
|
-
<schmancy-icon-button
|
|
362
|
-
@click=${() => {
|
|
363
|
-
this.dispatchEvent(new CustomEvent(v.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
|
|
364
|
-
}}
|
|
365
|
-
>
|
|
366
|
-
${st(this.sidebarOpen === "close", () => c`menu`, () => c`menu_open`)}
|
|
367
|
-
</schmancy-icon-button>
|
|
368
|
-
</div>
|
|
369
|
-
</slot>`)}
|
|
370
|
-
|
|
371
|
-
<slot> </slot>
|
|
372
|
-
</div>
|
|
373
|
-
`;
|
|
358
|
+
return c`<slot></slot>`;
|
|
374
359
|
}
|
|
375
360
|
};
|
|
376
|
-
|
|
377
|
-
var
|
|
378
|
-
|
|
361
|
+
lt = ((t, e, s, o) => {
|
|
362
|
+
for (var n, i = o > 1 ? void 0 : o ? Jt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = n(i) || i);
|
|
363
|
+
return i;
|
|
364
|
+
})([p("schmancy-nav-drawer-appbar")], lt);
|
|
365
|
+
var Qt = Object.getOwnPropertyDescriptor;
|
|
366
|
+
let ct = class extends R(v`
|
|
379
367
|
:host {
|
|
380
368
|
display: block;
|
|
381
369
|
position: relative;
|
|
@@ -384,7 +372,7 @@ let mt = class extends R(w`
|
|
|
384
372
|
}
|
|
385
373
|
`) {
|
|
386
374
|
connectedCallback() {
|
|
387
|
-
super.connectedCallback(),
|
|
375
|
+
super.connectedCallback(), h(this, "scroll").pipe(u(this.disconnecting)).subscribe((t) => {
|
|
388
376
|
this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
|
|
389
377
|
});
|
|
390
378
|
}
|
|
@@ -392,68 +380,65 @@ let mt = class extends R(w`
|
|
|
392
380
|
return c` <slot></slot> `;
|
|
393
381
|
}
|
|
394
382
|
};
|
|
395
|
-
|
|
396
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
383
|
+
ct = ((t, e, s, o) => {
|
|
384
|
+
for (var n, i = o > 1 ? void 0 : o ? Qt(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = n(i) || i);
|
|
397
385
|
return i;
|
|
398
|
-
})([p("schmancy-nav-drawer-content")],
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
386
|
+
})([p("schmancy-nav-drawer-content")], ct);
|
|
387
|
+
const gt = N("push"), vt = N("close");
|
|
388
|
+
var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, q = (t, e, s, o) => {
|
|
389
|
+
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);
|
|
390
|
+
return o && i && Zt(e, s, i), i;
|
|
402
391
|
};
|
|
403
|
-
let
|
|
392
|
+
let k = class extends R(v`
|
|
404
393
|
:host {
|
|
405
|
-
display:
|
|
394
|
+
display: grid;
|
|
395
|
+
grid-template-columns: auto 1fr;
|
|
396
|
+
grid-template-rows: 1fr;
|
|
406
397
|
flex-grow: 1;
|
|
398
|
+
height: 100%;
|
|
407
399
|
overflow: hidden;
|
|
408
|
-
/* Initially hide the component until it
|
|
400
|
+
/* Initially hide the component until it's ready */
|
|
409
401
|
visibility: hidden;
|
|
410
402
|
}
|
|
411
|
-
|
|
403
|
+
|
|
412
404
|
:host([data-ready]) {
|
|
413
405
|
visibility: visible;
|
|
414
406
|
}
|
|
407
|
+
|
|
408
|
+
:host([fullscreen]) {
|
|
409
|
+
grid-template-columns: 1fr;
|
|
410
|
+
}
|
|
415
411
|
`) {
|
|
416
412
|
constructor() {
|
|
417
|
-
super(...arguments), this.fullscreen = !1, this.breakpoint = "md"
|
|
413
|
+
super(...arguments), this.fullscreen = !1, this.breakpoint = "md";
|
|
418
414
|
}
|
|
419
415
|
firstUpdated() {
|
|
420
|
-
this.updateState(window.innerWidth), this.
|
|
416
|
+
this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), h(window, "resize").pipe(f((t) => t.target.innerWidth), f((t) => t >= k.BREAKPOINTS[this.breakpoint]), pt(), Y(100), u(this.disconnecting)).subscribe((t) => {
|
|
421
417
|
t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
|
|
422
|
-
}),
|
|
418
|
+
}), h(window, "fullscreen").pipe(E((t) => {
|
|
423
419
|
const e = t;
|
|
424
420
|
this.fullscreen = e.detail;
|
|
425
|
-
}),
|
|
421
|
+
}), u(this.disconnecting)).subscribe(), h(window, g.NavDrawer_toggle).pipe(E((t) => {
|
|
426
422
|
t.stopPropagation();
|
|
427
|
-
}),
|
|
428
|
-
this.mode === "push" && t === "close" || (this.open = t);
|
|
423
|
+
}), f((t) => t.detail.state), u(this.disconnecting), Y(10)).subscribe((t) => {
|
|
424
|
+
t === "toggle" && (t = this.open === "open" ? "close" : "open"), this.mode === "push" && t === "close" || (this.open = t);
|
|
429
425
|
});
|
|
430
426
|
}
|
|
431
427
|
updateState(t) {
|
|
432
|
-
const e = t >=
|
|
428
|
+
const e = t >= k.BREAKPOINTS[this.breakpoint];
|
|
433
429
|
this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
|
|
434
430
|
}
|
|
435
431
|
render() {
|
|
436
|
-
return
|
|
437
|
-
<schmancy-grid
|
|
438
|
-
cols=${this.fullscreen ? "1fr" : "auto 1fr"}
|
|
439
|
-
rows="1fr"
|
|
440
|
-
flow="col"
|
|
441
|
-
justify="stretch"
|
|
442
|
-
align="stretch"
|
|
443
|
-
${qt()}
|
|
444
|
-
>
|
|
445
|
-
<slot></slot>
|
|
446
|
-
</schmancy-grid>
|
|
447
|
-
` : bt;
|
|
432
|
+
return c`<slot></slot>`;
|
|
448
433
|
}
|
|
449
434
|
};
|
|
450
|
-
|
|
451
|
-
var
|
|
452
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
453
|
-
return o && i &&
|
|
435
|
+
k.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, q([l({ type: Boolean, reflect: !0 })], k.prototype, "fullscreen", 2), q([l({ type: String, attribute: "breakpoint" })], k.prototype, "breakpoint", 2), q([L({ context: gt }), d()], k.prototype, "mode", 2), q([L({ context: vt }), l()], k.prototype, "open", 2), k = q([p("schmancy-nav-drawer")], k);
|
|
436
|
+
var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, H = (t, e, s, o) => {
|
|
437
|
+
for (var n, i = o > 1 ? void 0 : o ? se(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
438
|
+
return o && i && ee(e, s, i), i;
|
|
454
439
|
};
|
|
455
|
-
const
|
|
456
|
-
let
|
|
440
|
+
const _ = "cubic-bezier(0.5, 0.01, 0.25, 1)";
|
|
441
|
+
let O = class extends R() {
|
|
457
442
|
constructor() {
|
|
458
443
|
super(...arguments), this.width = "220px", this._initialized = !1;
|
|
459
444
|
}
|
|
@@ -464,25 +449,25 @@ let D = class extends R() {
|
|
|
464
449
|
this._initialized && (t.has("drawerState") || t.has("mode")) && (this.mode === "overlay" ? this.drawerState === "open" ? this.nav.style.transform !== "translateX(0)" && (this.openOverlay(), this.showNavDrawer()) : this.drawerState === "close" && this.nav.style.transform !== "translateX(-100%)" && (this.hideNavDrawer(), this.closeOverlay()) : this.mode === "push" && (this.nav.style.transform !== "translateX(0)" && this.showNavDrawer(), this.overlay.style.display !== "none" && this.closeOverlay()));
|
|
465
450
|
}
|
|
466
451
|
openOverlay() {
|
|
467
|
-
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing:
|
|
452
|
+
this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: _, fill: "forwards" });
|
|
468
453
|
}
|
|
469
454
|
closeOverlay() {
|
|
470
|
-
this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing:
|
|
455
|
+
this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: _, fill: "forwards" }).onfinish = () => {
|
|
471
456
|
this.overlay.style.display = "none";
|
|
472
457
|
};
|
|
473
458
|
}
|
|
474
459
|
showNavDrawer() {
|
|
475
|
-
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing:
|
|
460
|
+
this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: _, fill: "forwards" }).onfinish = () => {
|
|
476
461
|
this.nav.style.transform = "translateX(0)";
|
|
477
462
|
};
|
|
478
463
|
}
|
|
479
464
|
hideNavDrawer() {
|
|
480
|
-
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing:
|
|
465
|
+
this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: _, fill: "forwards" }).onfinish = () => {
|
|
481
466
|
this.nav.style.transform = "translateX(-100%)";
|
|
482
467
|
};
|
|
483
468
|
}
|
|
484
469
|
handleOverlayClick() {
|
|
485
|
-
window.dispatchEvent(new CustomEvent(
|
|
470
|
+
window.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
|
|
486
471
|
}
|
|
487
472
|
render() {
|
|
488
473
|
const t = { "p-2 max-w-[360px] w-fit h-full overflow-auto": !0, block: this.mode === "push", "fixed inset-0 z-50": this.mode === "overlay" }, e = { width: this.width };
|
|
@@ -503,12 +488,12 @@ let D = class extends R() {
|
|
|
503
488
|
`;
|
|
504
489
|
}
|
|
505
490
|
};
|
|
506
|
-
H([
|
|
507
|
-
var
|
|
508
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
509
|
-
return o && i &&
|
|
491
|
+
H([b({ context: gt, subscribe: !0 }), d()], O.prototype, "mode", 2), H([b({ context: vt, subscribe: !0 }), d()], O.prototype, "drawerState", 2), H([Q("#overlay")], O.prototype, "overlay", 2), H([Q("nav")], O.prototype, "nav", 2), H([l({ type: String })], O.prototype, "width", 2), H([d()], O.prototype, "_initialized", 2), O = H([p("schmancy-nav-drawer-navbar")], O);
|
|
492
|
+
var ie = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, I = (t, e, s, o) => {
|
|
493
|
+
for (var n, i = o > 1 ? void 0 : o ? oe(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
494
|
+
return o && i && ie(e, s, i), i;
|
|
510
495
|
};
|
|
511
|
-
let
|
|
496
|
+
let x = class extends J(v`
|
|
512
497
|
:host {
|
|
513
498
|
display: flex;
|
|
514
499
|
flex: 1;
|
|
@@ -563,12 +548,12 @@ let $ = class extends Z(w`
|
|
|
563
548
|
}
|
|
564
549
|
`) {
|
|
565
550
|
constructor() {
|
|
566
|
-
super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new
|
|
551
|
+
super(...arguments), this.icon = "", this.label = "", this.badge = "", this.active$ = new ut(!1), this.disabled = !1, this.hideLabels = !1, this.ripples = [], this.addRippleEffect = (t) => {
|
|
567
552
|
if (this.disabled) return;
|
|
568
553
|
const e = this.shadowRoot?.querySelector(".w-16.h-8");
|
|
569
554
|
if (e) {
|
|
570
555
|
const s = e.getBoundingClientRect(), o = { x: t.clientX - s.left, y: t.clientY - s.top, id: Date.now() };
|
|
571
|
-
this.ripples = [...this.ripples, o],
|
|
556
|
+
this.ripples = [...this.ripples, o], Dt(600).pipe(B(() => {
|
|
572
557
|
this.ripples = this.ripples.filter((n) => n.id !== o.id);
|
|
573
558
|
}), j(this.disconnecting)).subscribe();
|
|
574
559
|
}
|
|
@@ -596,8 +581,8 @@ let $ = class extends Z(w`
|
|
|
596
581
|
setupNavigationStream() {
|
|
597
582
|
const t = this.shadowRoot?.querySelector("button");
|
|
598
583
|
if (!t) return;
|
|
599
|
-
const e =
|
|
600
|
-
|
|
584
|
+
const e = h(t, "click").pipe(F(() => !this.disabled)), s = h(t, "keydown").pipe(F(() => !this.disabled), F((o) => o.key === "Enter" || o.key === " "), B((o) => o.preventDefault()));
|
|
585
|
+
G(e, s).pipe(B(() => {
|
|
601
586
|
this.dispatchEvent(new CustomEvent("bar-item-click", { detail: { icon: this.icon, label: this.label, active: this.active }, bubbles: !0, composed: !0 }));
|
|
602
587
|
}), j(this.disconnecting)).subscribe();
|
|
603
588
|
}
|
|
@@ -609,7 +594,7 @@ let $ = class extends Z(w`
|
|
|
609
594
|
this.setupNavigationStream();
|
|
610
595
|
}
|
|
611
596
|
render() {
|
|
612
|
-
const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 },
|
|
597
|
+
const t = this.querySelector("[slot]") || this.textContent?.trim() && !this.label, e = this.badge ? this.formatBadge(this.badge) : "", s = e && e !== "0", o = this.querySelector('[slot="icon"]'), n = { "relative flex flex-col items-center justify-center": !0, "flex-1 min-w-[48px] max-w-[168px]": !0, "py-2 px-1 cursor-pointer": !this.disabled, "transition-all duration-200": !0, "hover:bg-surface-container-high": !this.disabled && !this.active, "cursor-not-allowed opacity-38": this.disabled, "outline-none": !0, "focus-visible:outline-2 focus-visible:outline-offset-2": !0 }, i = { "w-16 h-8 rounded-2xl": !0, "flex items-center justify-center": !0, "transition-all duration-200": !0, "bg-secondary-container": this.active, "group-hover:bg-surface-container-highest": !this.active && !this.disabled, "relative overflow-hidden": !0 }, a = { "absolute top-0 right-3": !0, "min-w-[6px] h-1.5": !s, "min-w-[16px] h-4": s, "rounded-full": !s, "rounded-lg": s, "flex items-center justify-center": s, "px-1": s, "transition-all duration-200": !0, "z-10": !0 }, $t = this.active ? { color: r.sys.color.secondary.onContainer } : { color: r.sys.color.surface.onVariant }, St = { "--focus-color": r.sys.color.primary.default };
|
|
613
598
|
return c`
|
|
614
599
|
<button
|
|
615
600
|
type="button"
|
|
@@ -619,16 +604,16 @@ let $ = class extends Z(w`
|
|
|
619
604
|
?disabled=${this.disabled}
|
|
620
605
|
aria-pressed=${this.active}
|
|
621
606
|
aria-label=${this.label || "Navigation item"}
|
|
622
|
-
style=${this.styleMap({ ...
|
|
623
|
-
${P(
|
|
607
|
+
style=${this.styleMap({ ...St, "outline-color": "var(--focus-color)" })}
|
|
608
|
+
${P($t)}
|
|
624
609
|
>
|
|
625
610
|
<!-- Icon with indicator background -->
|
|
626
611
|
<div class=${this.classMap(i)}>
|
|
627
612
|
<!-- Ripple effects -->
|
|
628
|
-
${this.ripples.map((
|
|
613
|
+
${this.ripples.map((ot) => c`
|
|
629
614
|
<span
|
|
630
615
|
class="ripple-effect"
|
|
631
|
-
style=${this.styleMap({ left: `${
|
|
616
|
+
style=${this.styleMap({ left: `${ot.x}px`, top: `${ot.y}px`, transform: "translate(-50%, -50%)" })}
|
|
632
617
|
></span>
|
|
633
618
|
`)}
|
|
634
619
|
|
|
@@ -669,12 +654,12 @@ let $ = class extends Z(w`
|
|
|
669
654
|
`;
|
|
670
655
|
}
|
|
671
656
|
};
|
|
672
|
-
I([l({ type: String })],
|
|
673
|
-
var
|
|
674
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
675
|
-
return o && i &&
|
|
657
|
+
I([l({ type: String })], x.prototype, "icon", 2), I([l({ type: String })], x.prototype, "label", 2), I([l({ type: String })], x.prototype, "badge", 2), I([l({ type: Boolean, reflect: !0 })], x.prototype, "active", 1), I([l({ type: Boolean, reflect: !0 })], x.prototype, "disabled", 2), I([l({ type: Boolean, reflect: !0 })], x.prototype, "hideLabels", 2), I([d()], x.prototype, "ripples", 2), x = I([p("schmancy-navigation-bar-item")], x);
|
|
658
|
+
var re = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, z = (t, e, s, o) => {
|
|
659
|
+
for (var n, i = o > 1 ? void 0 : o ? ne(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
660
|
+
return o && i && re(e, s, i), i;
|
|
676
661
|
};
|
|
677
|
-
let
|
|
662
|
+
let $ = class extends J(v`
|
|
678
663
|
:host {
|
|
679
664
|
display: block;
|
|
680
665
|
transition: transform 0.3s ease-in-out;
|
|
@@ -697,12 +682,12 @@ let S = class extends Z(w`
|
|
|
697
682
|
}
|
|
698
683
|
`) {
|
|
699
684
|
constructor() {
|
|
700
|
-
super(...arguments), this.activeIndex$ = new
|
|
685
|
+
super(...arguments), this.activeIndex$ = new ut(-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) => {
|
|
701
686
|
const e = this.getItems(), s = t.target, o = e.indexOf(s);
|
|
702
|
-
if (o
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
}
|
|
687
|
+
if (o === -1) return;
|
|
688
|
+
if (this.activeIndex === o) return void this.dispatchEvent(new CustomEvent(g.NavDrawer_toggle, { detail: { state: "toggle" }, bubbles: !0, composed: !0 }));
|
|
689
|
+
const n = this.activeIndex;
|
|
690
|
+
this.activeIndex = o, this.dispatchEvent(new CustomEvent("navigation-change", { detail: { oldIndex: n, newIndex: o, item: s }, bubbles: !0, composed: !0 }));
|
|
706
691
|
}, this.handleKeyDown = (t) => {
|
|
707
692
|
const e = this.getItems(), s = this.focusedIndex === -1 ? this.activeIndex : this.focusedIndex;
|
|
708
693
|
switch (t.key) {
|
|
@@ -735,15 +720,15 @@ let S = class extends Z(w`
|
|
|
735
720
|
return t ? t.assignedElements({ flatten: !0 }).filter((e) => e.tagName.toLowerCase() === "schmancy-navigation-bar-item") : [];
|
|
736
721
|
}
|
|
737
722
|
connectedCallback() {
|
|
738
|
-
super.connectedCallback(),
|
|
723
|
+
super.connectedCallback(), h(this, "bar-item-click").pipe(B((t) => this.handleItemClick(t)), j(this.disconnecting)).subscribe(), h(this, "keydown").pipe(B((t) => this.handleKeyDown(t)), j(this.disconnecting)).subscribe(), this.activeIndex$.pipe(j(this.disconnecting)).subscribe((t) => {
|
|
739
724
|
this.updateActiveStates(t);
|
|
740
|
-
}),
|
|
725
|
+
}), h(window, "fullscreen").pipe(B((t) => {
|
|
741
726
|
const e = t;
|
|
742
727
|
this.isFullscreen = e.detail;
|
|
743
728
|
}), j(this.disconnecting)).subscribe(), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
|
|
744
729
|
}
|
|
745
730
|
setupScrollListener() {
|
|
746
|
-
|
|
731
|
+
h(window, "scroll").pipe(Lt(100), yt(() => window.scrollY), Bt(), F(([t, e]) => Math.abs(e - t) > this.SCROLL_THRESHOLD), B(([t, e]) => {
|
|
747
732
|
const s = e < t;
|
|
748
733
|
e > t && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : s && this.isHiddenByScroll && (this.isHiddenByScroll = !1), e <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1);
|
|
749
734
|
}), j(this.disconnecting)).subscribe();
|
|
@@ -795,29 +780,29 @@ let S = class extends Z(w`
|
|
|
795
780
|
`;
|
|
796
781
|
}
|
|
797
782
|
};
|
|
798
|
-
z([l({ type: Number })],
|
|
799
|
-
const
|
|
783
|
+
z([l({ type: Number })], $.prototype, "activeIndex", 1), z([l({ type: Boolean, reflect: !0 })], $.prototype, "hideLabels", 2), z([l({ type: Number, reflect: !0 })], $.prototype, "elevation", 2), z([l({ type: Boolean, reflect: !0 })], $.prototype, "hideOnScroll", 2), z([d()], $.prototype, "focusedIndex", 2), z([d()], $.prototype, "isHiddenByScroll", 2), z([d()], $.prototype, "isFullscreen", 2), $ = z([p("schmancy-navigation-bar")], $);
|
|
784
|
+
const wt = "whereAreYouRicky", xt = "hereMorty", U = new class {
|
|
800
785
|
constructor() {
|
|
801
|
-
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new
|
|
802
|
-
window.dispatchEvent(new CustomEvent(
|
|
803
|
-
}))]).pipe(
|
|
786
|
+
this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new tt(), this.find = (t) => nt([h(window, xt).pipe(mt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), f((e) => e.detail.component), Ot(1)), V(t).pipe(E(() => {
|
|
787
|
+
window.dispatchEvent(new CustomEvent(wt, { detail: { id: t.id, callerID: t.uuid } }));
|
|
788
|
+
}))]).pipe(f(([e]) => e), It(0)), this.flip = (t) => {
|
|
804
789
|
const { from: e, to: s } = t, o = s.element.style.zIndex;
|
|
805
790
|
s.element.style.transformOrigin = "top left", s.element.style.setProperty("visibility", "visible"), s.element.style.zIndex = "1000";
|
|
806
791
|
const n = [{ transform: `translate(${e.rect.left - s.rect.left}px, ${e.rect.top - s.rect.top}px) scale(${e.rect.width / s.rect.width}, ${e.rect.height / s.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
|
|
807
792
|
s.element.animate(n, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
|
|
808
793
|
s.element.style.zIndex = o, s.element.style.transformOrigin = "";
|
|
809
794
|
};
|
|
810
|
-
}, this.flipRequests.pipe(
|
|
795
|
+
}, this.flipRequests.pipe(zt(1), f((t) => t.map(({ from: e, to: s, host: o }, n) => ({ from: e, to: s, host: o, i: n }))), Mt((t) => nt(t.map((e) => V(this.flip(e)))))).subscribe();
|
|
811
796
|
}
|
|
812
797
|
}();
|
|
813
|
-
function
|
|
814
|
-
return
|
|
798
|
+
function ht(t) {
|
|
799
|
+
return jt(50).pipe(yt(() => t.getBoundingClientRect()), Nt((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), Tt(1));
|
|
815
800
|
}
|
|
816
|
-
var
|
|
817
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
818
|
-
return o && i &&
|
|
801
|
+
var ae = Object.defineProperty, le = Object.getOwnPropertyDescriptor, K = (t, e, s, o) => {
|
|
802
|
+
for (var n, i = o > 1 ? void 0 : o ? le(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
803
|
+
return o && i && ae(e, s, i), i;
|
|
819
804
|
};
|
|
820
|
-
let X = class extends R(
|
|
805
|
+
let X = class extends R(v``) {
|
|
821
806
|
constructor() {
|
|
822
807
|
super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
|
|
823
808
|
}
|
|
@@ -826,20 +811,20 @@ let X = class extends R(w``) {
|
|
|
826
811
|
}
|
|
827
812
|
connectedCallback() {
|
|
828
813
|
if (this.id === void 0) throw new Error("id is required");
|
|
829
|
-
super.connectedCallback(),
|
|
830
|
-
this.dispatchEvent(new CustomEvent(
|
|
831
|
-
} })),
|
|
832
|
-
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(
|
|
833
|
-
} }))).pipe(
|
|
814
|
+
super.connectedCallback(), G(h(window, Wt).pipe(E({ next: () => {
|
|
815
|
+
this.dispatchEvent(new CustomEvent(Ht, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
816
|
+
} })), h(window, wt).pipe(E({ next: (t) => {
|
|
817
|
+
t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(xt, { detail: { component: this }, bubbles: !0, composed: !0 }));
|
|
818
|
+
} }))).pipe(u(this.disconnecting)).subscribe();
|
|
834
819
|
}
|
|
835
820
|
async firstUpdated() {
|
|
836
|
-
|
|
837
|
-
this.style.setProperty("visibility", "hidden"),
|
|
838
|
-
|
|
821
|
+
V(U.activeTeleportations.get(this.id)).pipe(mt((t) => !!t), u(this.disconnecting), Pt()).subscribe({ next: (t) => {
|
|
822
|
+
this.style.setProperty("visibility", "hidden"), ht(this).pipe(u(this.disconnecting)).subscribe({ next: (e) => {
|
|
823
|
+
U.activeTeleportations.set(this.id, e), U.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
|
|
839
824
|
} });
|
|
840
825
|
}, error: () => {
|
|
841
|
-
this.style.setProperty("visibility", "visible"),
|
|
842
|
-
|
|
826
|
+
this.style.setProperty("visibility", "visible"), ht(this).pipe(u(this.disconnecting)).subscribe({ next: (t) => {
|
|
827
|
+
U.activeTeleportations.set(this.id, t);
|
|
843
828
|
} });
|
|
844
829
|
}, complete: () => {
|
|
845
830
|
} });
|
|
@@ -848,19 +833,19 @@ let X = class extends R(w``) {
|
|
|
848
833
|
return c`<slot></slot>`;
|
|
849
834
|
}
|
|
850
835
|
};
|
|
851
|
-
|
|
852
|
-
var
|
|
853
|
-
for (var n, i = o > 1 ? void 0 : o ?
|
|
854
|
-
return o && i &&
|
|
836
|
+
K([l({ type: Number, reflect: !0 })], X.prototype, "uuid", 2), K([l({ type: String })], X.prototype, "id", 2), K([l({ type: Number })], X.prototype, "delay", 2), X = K([p("schmancy-teleport")], X);
|
|
837
|
+
var ce = Object.defineProperty, he = Object.getOwnPropertyDescriptor, S = (t, e, s, o) => {
|
|
838
|
+
for (var n, i = o > 1 ? void 0 : o ? he(e, s) : e, a = t.length - 1; a >= 0; a--) (n = t[a]) && (i = (o ? n(e, s, i) : n(i)) || i);
|
|
839
|
+
return o && i && ce(e, s, i), i;
|
|
855
840
|
};
|
|
856
|
-
let
|
|
841
|
+
let y = class extends R() {
|
|
857
842
|
constructor() {
|
|
858
843
|
super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
|
|
859
844
|
}
|
|
860
845
|
render() {
|
|
861
846
|
let t;
|
|
862
847
|
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>`;
|
|
863
|
-
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 }, s = this.getColorAttributes();
|
|
848
|
+
const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xxs: "w-5 h-5 text-[8px]", 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 }, s = this.getColorAttributes();
|
|
864
849
|
return c`
|
|
865
850
|
<div class="${this.classMap(e)}" ${s}>
|
|
866
851
|
${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
|
|
@@ -872,39 +857,39 @@ let b = class extends R() {
|
|
|
872
857
|
return P(t[this.color]);
|
|
873
858
|
}
|
|
874
859
|
renderStatusIndicator() {
|
|
875
|
-
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 };
|
|
860
|
+
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, [{ xxs: "w-1 h-1", 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 };
|
|
876
861
|
return c`
|
|
877
862
|
<div class="${this.classMap(e)}" style="background-color: ${t[this.status]};"></div>
|
|
878
863
|
`;
|
|
879
864
|
}
|
|
880
865
|
};
|
|
881
|
-
|
|
866
|
+
S([l({ type: String })], y.prototype, "initials", 2), S([l({ type: String })], y.prototype, "src", 2), S([l({ type: String })], y.prototype, "icon", 2), S([l({ type: String })], y.prototype, "size", 2), S([l({ type: String })], y.prototype, "color", 2), S([l({ type: String })], y.prototype, "shape", 2), S([l({ type: Boolean })], y.prototype, "bordered", 2), S([l({ type: String })], y.prototype, "status", 2), y = S([p("schmancy-avatar")], y);
|
|
882
867
|
export {
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
868
|
+
Ps as $,
|
|
869
|
+
xt as H,
|
|
870
|
+
C as S,
|
|
871
|
+
wt as W,
|
|
872
|
+
at as a,
|
|
873
|
+
et as b,
|
|
874
|
+
bt as c,
|
|
875
|
+
ft as d,
|
|
876
|
+
st as e,
|
|
877
|
+
it as f,
|
|
878
|
+
D as g,
|
|
894
879
|
T as h,
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
880
|
+
m as i,
|
|
881
|
+
Gt as j,
|
|
882
|
+
lt as k,
|
|
883
|
+
ct as l,
|
|
884
|
+
gt as m,
|
|
885
|
+
vt as n,
|
|
886
|
+
k as o,
|
|
887
|
+
O as p,
|
|
888
|
+
x as q,
|
|
889
|
+
$ as r,
|
|
890
|
+
js as s,
|
|
906
891
|
X as t,
|
|
907
|
-
|
|
908
|
-
|
|
892
|
+
U as u,
|
|
893
|
+
y as v
|
|
909
894
|
};
|
|
910
|
-
//# sourceMappingURL=avatar-
|
|
895
|
+
//# sourceMappingURL=avatar-BdyuuIk7.js.map
|