@mhmo91/schmancy 0.2.174 → 0.2.176

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.
Files changed (260) hide show
  1. package/dist/{animated-text-DnpEmzG6.cjs → animated-text-BrDkqFTI.cjs} +2 -2
  2. package/dist/{animated-text-DnpEmzG6.cjs.map → animated-text-BrDkqFTI.cjs.map} +1 -1
  3. package/dist/{animated-text-CuzUjLrt.js → animated-text-s9T0FPzu.js} +3 -3
  4. package/dist/{animated-text-CuzUjLrt.js.map → animated-text-s9T0FPzu.js.map} +1 -1
  5. package/dist/animated-text.cjs +1 -1
  6. package/dist/animated-text.js +1 -1
  7. package/dist/area.cjs +1 -1
  8. package/dist/{area.component-yPcYESCN.js → area.component-DGr6ZdvQ.js} +3 -3
  9. package/dist/{area.component-yPcYESCN.js.map → area.component-DGr6ZdvQ.js.map} +1 -1
  10. package/dist/{area.component-BScAAi9b.cjs → area.component-RZA2bq-D.cjs} +2 -2
  11. package/dist/{area.component-BScAAi9b.cjs.map → area.component-RZA2bq-D.cjs.map} +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-DzN6JlKD.js → autocomplete-1gZeSbnf.js} +3 -3
  14. package/dist/{autocomplete-DzN6JlKD.js.map → autocomplete-1gZeSbnf.js.map} +1 -1
  15. package/dist/{autocomplete-BAblB5US.cjs → autocomplete-CuuHN9km.cjs} +2 -2
  16. package/dist/{autocomplete-BAblB5US.cjs.map → autocomplete-CuuHN9km.cjs.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/{teleport.component-bQFYfK94.js → avatar-CrxW01Pl.js} +235 -204
  20. package/dist/avatar-CrxW01Pl.js.map +1 -0
  21. package/dist/avatar-D0VOHKSQ.cjs +212 -0
  22. package/dist/avatar-D0VOHKSQ.cjs.map +1 -0
  23. package/dist/badge.cjs +1 -1
  24. package/dist/badge.js +1 -1
  25. package/dist/busy.cjs +1 -1
  26. package/dist/busy.js +1 -1
  27. package/dist/button.cjs +1 -1
  28. package/dist/button.js +1 -1
  29. package/dist/card.cjs +1 -1
  30. package/dist/card.js +1 -1
  31. package/dist/{checkbox-CKwb-uFj.js → checkbox-DFYmSAah.js} +2 -2
  32. package/dist/{checkbox-CKwb-uFj.js.map → checkbox-DFYmSAah.js.map} +1 -1
  33. package/dist/{checkbox-j-8nzAvA.cjs → checkbox-DQd9Azq2.cjs} +2 -2
  34. package/dist/{checkbox-j-8nzAvA.cjs.map → checkbox-DQd9Azq2.cjs.map} +1 -1
  35. package/dist/checkbox.cjs +1 -1
  36. package/dist/checkbox.js +1 -1
  37. package/dist/{chips-DkIA91MS.js → chips-3gE4mmTU.js} +3 -3
  38. package/dist/{chips-DkIA91MS.js.map → chips-3gE4mmTU.js.map} +1 -1
  39. package/dist/{chips-COn9_IpC.cjs → chips-CkZAEsJp.cjs} +2 -2
  40. package/dist/{chips-COn9_IpC.cjs.map → chips-CkZAEsJp.cjs.map} +1 -1
  41. package/dist/chips.cjs +1 -1
  42. package/dist/chips.js +1 -1
  43. package/dist/components.cjs +1 -1
  44. package/dist/components.js +1 -1
  45. package/dist/content-drawer.cjs +1 -1
  46. package/dist/content-drawer.js +1 -1
  47. package/dist/{date-range-c5unYbcG.cjs → date-range-BZlbUc_n.cjs} +2 -2
  48. package/dist/{date-range-c5unYbcG.cjs.map → date-range-BZlbUc_n.cjs.map} +1 -1
  49. package/dist/{date-range-BPWhrUmb.js → date-range-CLgoit8H.js} +3 -3
  50. package/dist/{date-range-BPWhrUmb.js.map → date-range-CLgoit8H.js.map} +1 -1
  51. package/dist/date-range.cjs +1 -1
  52. package/dist/date-range.js +1 -1
  53. package/dist/{delay-BoVPkUxV.js → delay-BS7AcXYg.js} +2 -2
  54. package/dist/{delay-BoVPkUxV.js.map → delay-BS7AcXYg.js.map} +1 -1
  55. package/dist/{delay-dM9FOKCv.cjs → delay-C0xLB5YE.cjs} +2 -2
  56. package/dist/{delay-dM9FOKCv.cjs.map → delay-C0xLB5YE.cjs.map} +1 -1
  57. package/dist/delay.cjs +1 -1
  58. package/dist/delay.js +1 -1
  59. package/dist/{dialog-service--MB2Ciko.js → dialog-service-B9Pp1DY4.js} +19 -14
  60. package/dist/dialog-service-B9Pp1DY4.js.map +1 -0
  61. package/dist/dialog-service-BiNwFtwm.cjs +65 -0
  62. package/dist/dialog-service-BiNwFtwm.cjs.map +1 -0
  63. package/dist/dialog.cjs +1 -1
  64. package/dist/dialog.js +1 -1
  65. package/dist/{divider-BDG7M6Ye.js → divider-B5CC311v.js} +3 -3
  66. package/dist/{divider-BDG7M6Ye.js.map → divider-B5CC311v.js.map} +1 -1
  67. package/dist/{divider-B2lNC0Hi.cjs → divider-xPhgMgau.cjs} +2 -2
  68. package/dist/{divider-B2lNC0Hi.cjs.map → divider-xPhgMgau.cjs.map} +1 -1
  69. package/dist/divider.cjs +1 -1
  70. package/dist/divider.js +1 -1
  71. package/dist/{dropdown-content--sqK901p.cjs → dropdown-content-Bwjmh6uS.cjs} +2 -2
  72. package/dist/{dropdown-content--sqK901p.cjs.map → dropdown-content-Bwjmh6uS.cjs.map} +1 -1
  73. package/dist/{dropdown-content-Ctq1JVzp.js → dropdown-content-Cnk_HWWq.js} +3 -3
  74. package/dist/{dropdown-content-Ctq1JVzp.js.map → dropdown-content-Cnk_HWWq.js.map} +1 -1
  75. package/dist/dropdown.cjs +1 -1
  76. package/dist/dropdown.js +1 -1
  77. package/dist/extra.cjs +1 -1
  78. package/dist/extra.js +1 -1
  79. package/dist/{flex-c0NHmPAm.js → flex-C9UL4tmR.js} +2 -2
  80. package/dist/{flex-c0NHmPAm.js.map → flex-C9UL4tmR.js.map} +1 -1
  81. package/dist/{flex-Bt5rjiJc.cjs → flex-COQaEZmU.cjs} +2 -2
  82. package/dist/{flex-Bt5rjiJc.cjs.map → flex-COQaEZmU.cjs.map} +1 -1
  83. package/dist/{form-DBe9nCyD.cjs → form-BG9KH92a.cjs} +2 -2
  84. package/dist/{form-DBe9nCyD.cjs.map → form-BG9KH92a.cjs.map} +1 -1
  85. package/dist/{form-UMB7mWaN.js → form-YcKpLew8.js} +2 -2
  86. package/dist/{form-UMB7mWaN.js.map → form-YcKpLew8.js.map} +1 -1
  87. package/dist/form.cjs +1 -1
  88. package/dist/form.js +1 -1
  89. package/dist/{icon-ClqiTwLk.cjs → icon-CIY_VPoc.cjs} +2 -2
  90. package/dist/{icon-ClqiTwLk.cjs.map → icon-CIY_VPoc.cjs.map} +1 -1
  91. package/dist/{icon-BaUginFZ.js → icon-DyZGNskE.js} +3 -3
  92. package/dist/{icon-BaUginFZ.js.map → icon-DyZGNskE.js.map} +1 -1
  93. package/dist/{icon-button-D15DCKEh.js → icon-button-BMbFb3-e.js} +3 -3
  94. package/dist/{icon-button-D15DCKEh.js.map → icon-button-BMbFb3-e.js.map} +1 -1
  95. package/dist/{icon-button-BuQaHhHo.cjs → icon-button-D1627KoB.cjs} +2 -2
  96. package/dist/{icon-button-BuQaHhHo.cjs.map → icon-button-D1627KoB.cjs.map} +1 -1
  97. package/dist/icons.cjs +1 -1
  98. package/dist/icons.js +1 -1
  99. package/dist/index.cjs +1 -1
  100. package/dist/index.js +158 -157
  101. package/dist/{input-C6sT1ZaK.js → input-BQF_Yvo3.js} +2 -2
  102. package/dist/{input-C6sT1ZaK.js.map → input-BQF_Yvo3.js.map} +1 -1
  103. package/dist/{input-BUwEVCui.cjs → input-VTxTwAen.cjs} +2 -2
  104. package/dist/{input-BUwEVCui.cjs.map → input-VTxTwAen.cjs.map} +1 -1
  105. package/dist/input.cjs +1 -1
  106. package/dist/input.js +1 -1
  107. package/dist/layout.cjs +1 -1
  108. package/dist/layout.js +1 -1
  109. package/dist/{list-B2aWxkkk.cjs → list-Df47IR-i.cjs} +2 -2
  110. package/dist/{list-B2aWxkkk.cjs.map → list-Df47IR-i.cjs.map} +1 -1
  111. package/dist/{list-BL2o6M7R.js → list-m-K1zYJm.js} +2 -2
  112. package/dist/{list-BL2o6M7R.js.map → list-m-K1zYJm.js.map} +1 -1
  113. package/dist/list.cjs +1 -1
  114. package/dist/list.js +1 -1
  115. package/dist/{litElement.mixin-hg90OkNF.js → litElement.mixin-DJC1EaoO.js} +2 -2
  116. package/dist/{litElement.mixin-hg90OkNF.js.map → litElement.mixin-DJC1EaoO.js.map} +1 -1
  117. package/dist/{litElement.mixin-DqMWf6Rp.cjs → litElement.mixin-DcVBwo9t.cjs} +2 -2
  118. package/dist/{litElement.mixin-DqMWf6Rp.cjs.map → litElement.mixin-DcVBwo9t.cjs.map} +1 -1
  119. package/dist/{menu-CYU7-A6s.cjs → menu-BmdOK-Gh.cjs} +2 -2
  120. package/dist/{menu-CYU7-A6s.cjs.map → menu-BmdOK-Gh.cjs.map} +1 -1
  121. package/dist/{menu-DLdGFJSB.js → menu-CQA4Qp2Y.js} +3 -3
  122. package/dist/{menu-DLdGFJSB.js.map → menu-CQA4Qp2Y.js.map} +1 -1
  123. package/dist/menu.cjs +1 -1
  124. package/dist/menu.js +1 -1
  125. package/dist/nav-drawer.cjs +1 -1
  126. package/dist/nav-drawer.js +1 -1
  127. package/dist/{notification-service-Y81cuyI1.cjs → notification-service-DOGtyP8q.cjs} +2 -2
  128. package/dist/{notification-service-Y81cuyI1.cjs.map → notification-service-DOGtyP8q.cjs.map} +1 -1
  129. package/dist/{notification-service-B--dZyDk.js → notification-service-f8ZFvvbw.js} +3 -3
  130. package/dist/{notification-service-B--dZyDk.js.map → notification-service-f8ZFvvbw.js.map} +1 -1
  131. package/dist/notification.cjs +1 -1
  132. package/dist/notification.js +1 -1
  133. package/dist/{option-Y52lFc0k.cjs → option-BR_cajUP.cjs} +2 -2
  134. package/dist/{option-Y52lFc0k.cjs.map → option-BR_cajUP.cjs.map} +1 -1
  135. package/dist/{option-Jf25Ua_q.js → option-Cpedd_4h.js} +2 -2
  136. package/dist/{option-Jf25Ua_q.js.map → option-Cpedd_4h.js.map} +1 -1
  137. package/dist/option.cjs +1 -1
  138. package/dist/option.js +1 -1
  139. package/dist/{payment-card-form-Bzx839eL.js → payment-card-form-68K9Fcg4.js} +3 -3
  140. package/dist/{payment-card-form-Bzx839eL.js.map → payment-card-form-68K9Fcg4.js.map} +1 -1
  141. package/dist/{payment-card-form-CeW7v8C6.cjs → payment-card-form-CdrMcc5c.cjs} +2 -2
  142. package/dist/{payment-card-form-CeW7v8C6.cjs.map → payment-card-form-CdrMcc5c.cjs.map} +1 -1
  143. package/dist/{radio-group-D0lUCZoy.js → radio-group-Ci86SQ4t.js} +2 -2
  144. package/dist/{radio-group-D0lUCZoy.js.map → radio-group-Ci86SQ4t.js.map} +1 -1
  145. package/dist/{radio-group-DaIoovBv.cjs → radio-group-FInGxSDU.cjs} +2 -2
  146. package/dist/{radio-group-DaIoovBv.cjs.map → radio-group-FInGxSDU.cjs.map} +1 -1
  147. package/dist/radio-group.cjs +1 -1
  148. package/dist/radio-group.js +1 -1
  149. package/dist/{schmancy-steps-container-DN_2r-CO.js → schmancy-steps-container-fi5g1HML.js} +2 -2
  150. package/dist/{schmancy-steps-container-DN_2r-CO.js.map → schmancy-steps-container-fi5g1HML.js.map} +1 -1
  151. package/dist/{schmancy-steps-container-CTGyq1in.cjs → schmancy-steps-container-iHTmuKkc.cjs} +2 -2
  152. package/dist/{schmancy-steps-container-CTGyq1in.cjs.map → schmancy-steps-container-iHTmuKkc.cjs.map} +1 -1
  153. package/dist/{select-ChfaG1oV.js → select-4Mzh9N-F.js} +3 -3
  154. package/dist/{select-ChfaG1oV.js.map → select-4Mzh9N-F.js.map} +1 -1
  155. package/dist/{select-F73s56La.cjs → select-DfzEP7n4.cjs} +2 -2
  156. package/dist/{select-F73s56La.cjs.map → select-DfzEP7n4.cjs.map} +1 -1
  157. package/dist/select.cjs +1 -1
  158. package/dist/select.js +1 -1
  159. package/dist/{sheet-BMv294LB.cjs → sheet-DfHOLchM.cjs} +2 -2
  160. package/dist/{sheet-BMv294LB.cjs.map → sheet-DfHOLchM.cjs.map} +1 -1
  161. package/dist/{sheet-D_sv4wbj.js → sheet-GOrA8B2u.js} +3 -3
  162. package/dist/{sheet-D_sv4wbj.js.map → sheet-GOrA8B2u.js.map} +1 -1
  163. package/dist/sheet.cjs +1 -1
  164. package/dist/sheet.js +1 -1
  165. package/dist/{slider-CJXXfzVG.js → slider--xxBzPJ6.js} +3 -3
  166. package/dist/{slider-CJXXfzVG.js.map → slider--xxBzPJ6.js.map} +1 -1
  167. package/dist/{slider-d4pNWdNo.cjs → slider-YyZnXMOX.cjs} +2 -2
  168. package/dist/{slider-d4pNWdNo.cjs.map → slider-YyZnXMOX.cjs.map} +1 -1
  169. package/dist/slider.cjs +1 -1
  170. package/dist/slider.js +1 -1
  171. package/dist/{spinner-DFyG-_vp.js → spinner-Bd1aWVNB.js} +3 -3
  172. package/dist/{spinner-DFyG-_vp.js.map → spinner-Bd1aWVNB.js.map} +1 -1
  173. package/dist/{spinner-Cyoa6FUg.cjs → spinner-D35seXuq.cjs} +2 -2
  174. package/dist/{spinner-Cyoa6FUg.cjs.map → spinner-D35seXuq.cjs.map} +1 -1
  175. package/dist/steps.cjs +1 -1
  176. package/dist/steps.js +1 -1
  177. package/dist/{surface-CnL6po0z.js → surface-CkiumzDj.js} +2 -2
  178. package/dist/{surface-CnL6po0z.js.map → surface-CkiumzDj.js.map} +1 -1
  179. package/dist/{surface-BiwDfTwH.cjs → surface-u3lOyjll.cjs} +2 -2
  180. package/dist/{surface-BiwDfTwH.cjs.map → surface-u3lOyjll.cjs.map} +1 -1
  181. package/dist/surface.cjs +1 -1
  182. package/dist/surface.js +1 -1
  183. package/dist/{table-DY3znSpx.cjs → table-Cfe1Zloe.cjs} +2 -2
  184. package/dist/{table-DY3znSpx.cjs.map → table-Cfe1Zloe.cjs.map} +1 -1
  185. package/dist/{table-DuGCm_ZT.js → table-DPXzmJkJ.js} +2 -2
  186. package/dist/{table-DuGCm_ZT.js.map → table-DPXzmJkJ.js.map} +1 -1
  187. package/dist/table.cjs +1 -1
  188. package/dist/table.js +1 -1
  189. package/dist/{tabs-group-DNIr9bXC.js → tabs-group-CBXEoVBr.js} +2 -2
  190. package/dist/{tabs-group-DNIr9bXC.js.map → tabs-group-CBXEoVBr.js.map} +1 -1
  191. package/dist/{tabs-group-CLoDXsPN.cjs → tabs-group-MGpxSLVK.cjs} +2 -2
  192. package/dist/{tabs-group-CLoDXsPN.cjs.map → tabs-group-MGpxSLVK.cjs.map} +1 -1
  193. package/dist/tabs.cjs +1 -1
  194. package/dist/tabs.js +1 -1
  195. package/dist/tailwind.mixin-B9QsShMd.cjs +2 -0
  196. package/dist/{tailwind.mixin-C-SZB7Or.cjs.map → tailwind.mixin-B9QsShMd.cjs.map} +1 -1
  197. package/dist/tailwind.mixin-DxW0KQ-d.js +43 -0
  198. package/dist/{tailwind.mixin-PpOEXUY6.js.map → tailwind.mixin-DxW0KQ-d.js.map} +1 -1
  199. package/dist/teleport.cjs +1 -1
  200. package/dist/teleport.js +1 -1
  201. package/dist/{textarea-CxKPwLNT.js → textarea-BkXQqdc4.js} +2 -2
  202. package/dist/{textarea-CxKPwLNT.js.map → textarea-BkXQqdc4.js.map} +1 -1
  203. package/dist/{textarea-Dbn8e_6U.cjs → textarea-CylQCLpW.cjs} +2 -2
  204. package/dist/{textarea-Dbn8e_6U.cjs.map → textarea-CylQCLpW.cjs.map} +1 -1
  205. package/dist/textarea.cjs +1 -1
  206. package/dist/textarea.js +1 -1
  207. package/dist/{theme-button-BWLSsLkw.js → theme-button-BLSsCZni.js} +2 -2
  208. package/dist/{theme-button-BWLSsLkw.js.map → theme-button-BLSsCZni.js.map} +1 -1
  209. package/dist/{theme-button-D9peR8Hg.cjs → theme-button-BSpshrnu.cjs} +2 -2
  210. package/dist/{theme-button-D9peR8Hg.cjs.map → theme-button-BSpshrnu.cjs.map} +1 -1
  211. package/dist/theme-button.cjs +1 -1
  212. package/dist/theme-button.js +1 -1
  213. package/dist/theme.cjs +1 -1
  214. package/dist/{theme.component-BZz_gSfx.js → theme.component-B6OPvX11.js} +2 -2
  215. package/dist/{theme.component-BZz_gSfx.js.map → theme.component-B6OPvX11.js.map} +1 -1
  216. package/dist/{theme.component-BQhUaquX.cjs → theme.component-Cbjb7vBh.cjs} +2 -2
  217. package/dist/{theme.component-BQhUaquX.cjs.map → theme.component-Cbjb7vBh.cjs.map} +1 -1
  218. package/dist/theme.js +1 -1
  219. package/dist/{timezone-CvRTvxiu.js → timezone-B_UNEVCu.js} +3 -3
  220. package/dist/{timezone-CvRTvxiu.js.map → timezone-B_UNEVCu.js.map} +1 -1
  221. package/dist/{timezone-B4sTteJT.cjs → timezone-BydmQhke.cjs} +2 -2
  222. package/dist/{timezone-B4sTteJT.cjs.map → timezone-BydmQhke.cjs.map} +1 -1
  223. package/dist/{tooltip-BvlP4LLw.js → tooltip-3phi-zvc.js} +2 -2
  224. package/dist/{tooltip-BvlP4LLw.js.map → tooltip-3phi-zvc.js.map} +1 -1
  225. package/dist/{tooltip-CKmoUynJ.cjs → tooltip-Bs1R5e8R.cjs} +2 -2
  226. package/dist/{tooltip-CKmoUynJ.cjs.map → tooltip-Bs1R5e8R.cjs.map} +1 -1
  227. package/dist/tooltip.cjs +1 -1
  228. package/dist/tooltip.js +1 -1
  229. package/dist/{tree-Pa4t5MHy.cjs → tree-C68UrNiC.cjs} +2 -2
  230. package/dist/{tree-Pa4t5MHy.cjs.map → tree-C68UrNiC.cjs.map} +1 -1
  231. package/dist/{tree-UFPk4UJM.js → tree-DSeadYt9.js} +2 -2
  232. package/dist/{tree-UFPk4UJM.js.map → tree-DSeadYt9.js.map} +1 -1
  233. package/dist/tree.cjs +1 -1
  234. package/dist/tree.js +1 -1
  235. package/dist/{typewriter-DXYFRAAl.cjs → typewriter-CFgNAfJm.cjs} +2 -2
  236. package/dist/{typewriter-DXYFRAAl.cjs.map → typewriter-CFgNAfJm.cjs.map} +1 -1
  237. package/dist/{typewriter-CEFN5I2Z.js → typewriter-Ckxnim4-.js} +4 -4
  238. package/dist/{typewriter-CEFN5I2Z.js.map → typewriter-Ckxnim4-.js.map} +1 -1
  239. package/dist/typewriter.cjs +1 -1
  240. package/dist/typewriter.js +1 -1
  241. package/dist/{typography-CF76Gm8m.cjs → typography-B7lbxH4O.cjs} +2 -2
  242. package/dist/{typography-CF76Gm8m.cjs.map → typography-B7lbxH4O.cjs.map} +1 -1
  243. package/dist/{typography-DG3juvGV.js → typography-xqI7xXeK.js} +2 -2
  244. package/dist/{typography-DG3juvGV.js.map → typography-xqI7xXeK.js.map} +1 -1
  245. package/dist/typography.cjs +1 -1
  246. package/dist/typography.js +1 -1
  247. package/package.json +1 -1
  248. package/types/src/avatar.d.ts +46 -0
  249. package/types/src/content-drawer/drawer.d.ts +1 -1
  250. package/types/src/dialog/dialog-service.d.ts +11 -0
  251. package/types/src/index.d.ts +1 -0
  252. package/types/src/nav-drawer/drawer.d.ts +1 -1
  253. package/dist/dialog-service--MB2Ciko.js.map +0 -1
  254. package/dist/dialog-service-DdNIazJU.cjs +0 -65
  255. package/dist/dialog-service-DdNIazJU.cjs.map +0 -1
  256. package/dist/tailwind.mixin-C-SZB7Or.cjs +0 -2
  257. package/dist/tailwind.mixin-PpOEXUY6.js +0 -43
  258. package/dist/teleport.component-DX75dmIp.cjs +0 -206
  259. package/dist/teleport.component-DX75dmIp.cjs.map +0 -1
  260. package/dist/teleport.component-bQFYfK94.js.map +0 -1
@@ -1,61 +1,61 @@
1
- import { css as v, html as l, nothing as pt } from "lit";
2
- import { property as c, customElement as h, state as d, queryAssignedElements as mt, query as Y } from "lit/decorators.js";
3
- import { Subject as Q, merge as Z, fromEvent as g, startWith as vt, tap as x, map as f, debounceTime as U, distinctUntilChanged as G, takeUntil as m, from as ot, of as K, Observable as wt, zip as nt, filter as yt, take as xt, timeout as Ct, bufferTime as Ot, concatMap as Dt, interval as $t, throwIfEmpty as St } from "rxjs";
4
- import "./animated-text-CuzUjLrt.js";
5
- import { a as at, F as Et, H as jt } from "./area.component-yPcYESCN.js";
6
- import "./autocomplete-DzN6JlKD.js";
1
+ import { css as w, html as l, nothing as mt } from "lit";
2
+ import { property as c, customElement as h, state as d, queryAssignedElements as ut, query as J } from "lit/decorators.js";
3
+ import { Subject as tt, merge as et, fromEvent as f, startWith as xt, tap as $, map as v, debounceTime as V, distinctUntilChanged as L, takeUntil as y, from as at, of as F, Observable as Ct, zip as ct, filter as bt, take as $t, timeout as Ot, bufferTime as St, concatMap as Dt, interval as jt, throwIfEmpty as Et } from "rxjs";
4
+ import "./animated-text-s9T0FPzu.js";
5
+ import { a as lt, F as zt, H as kt } from "./area.component-DGr6ZdvQ.js";
6
+ import "./autocomplete-1gZeSbnf.js";
7
7
  import "lit/directives/class-map.js";
8
8
  import "lit/directives/style-map.js";
9
- import { T as I } from "./tailwind.mixin-PpOEXUY6.js";
10
- import { c as P, f as kt } from "./ripple-BumgqsDT.js";
11
- import "./spinner-DFyG-_vp.js";
12
- import "./icon-button-D15DCKEh.js";
9
+ import { T } from "./tailwind.mixin-DxW0KQ-d.js";
10
+ import { c as W, f as Mt } from "./ripple-BumgqsDT.js";
11
+ import "./spinner-Bd1aWVNB.js";
12
+ import "./icon-button-BMbFb3-e.js";
13
13
  import { S as a } from "./theme.interface-C5Kj6WjD.js";
14
- import "./checkbox-CKwb-uFj.js";
15
- import "./chips-DkIA91MS.js";
16
- import "./payment-card-form-Bzx839eL.js";
17
- import { SchmancyEvents as y } from "./types.js";
18
- import { n as k, e as j } from "./provide-hwQSumt-.js";
19
- import { $ as z } from "./litElement.mixin-hg90OkNF.js";
14
+ import "./checkbox-DFYmSAah.js";
15
+ import "./chips-3gE4mmTU.js";
16
+ import "./payment-card-form-68K9Fcg4.js";
17
+ import { SchmancyEvents as m } from "./types.js";
18
+ import { n as P, e as M } from "./provide-hwQSumt-.js";
19
+ import { $ as j } from "./litElement.mixin-DJC1EaoO.js";
20
20
  import { c as p } from "./consume-B05Dd6qy.js";
21
- import "./date-range-BPWhrUmb.js";
22
- import "./delay-BoVPkUxV.js";
23
- import "./divider-BDG7M6Ye.js";
24
- import "./timezone-CvRTvxiu.js";
25
- import "./form-UMB7mWaN.js";
26
- import "./icon-BaUginFZ.js";
27
- import "./input-C6sT1ZaK.js";
28
- import "./flex-c0NHmPAm.js";
29
- import "./list-BL2o6M7R.js";
30
- import "./menu-DLdGFJSB.js";
31
- import { when as J } from "lit/directives/when.js";
32
- import "./notification-service-B--dZyDk.js";
33
- import "./option-Jf25Ua_q.js";
34
- import "./radio-group-D0lUCZoy.js";
21
+ import "./date-range-CLgoit8H.js";
22
+ import "./delay-BS7AcXYg.js";
23
+ import "./divider-B5CC311v.js";
24
+ import "./timezone-B_UNEVCu.js";
25
+ import "./form-YcKpLew8.js";
26
+ import "./icon-DyZGNskE.js";
27
+ import "./input-BQF_Yvo3.js";
28
+ import "./flex-C9UL4tmR.js";
29
+ import "./list-m-K1zYJm.js";
30
+ import "./menu-CQA4Qp2Y.js";
31
+ import { when as Q } from "lit/directives/when.js";
32
+ import "./notification-service-f8ZFvvbw.js";
33
+ import "./option-Cpedd_4h.js";
34
+ import "./radio-group-Ci86SQ4t.js";
35
35
  import "./index-CuY8m6ta.js";
36
- import "./select-ChfaG1oV.js";
37
- import { s as L } from "./sheet-D_sv4wbj.js";
38
- import "./slider-CJXXfzVG.js";
39
- import "./schmancy-steps-container-DN_2r-CO.js";
36
+ import "./select-4Mzh9N-F.js";
37
+ import { s as Z } from "./sheet-GOrA8B2u.js";
38
+ import "./slider--xxBzPJ6.js";
39
+ import "./schmancy-steps-container-fi5g1HML.js";
40
40
  import "./context-object-CISes2bD.js";
41
- import { map as zt, distinctUntilChanged as Mt, take as Wt } from "rxjs/operators";
42
- import "./surface-CnL6po0z.js";
43
- import "./table-DuGCm_ZT.js";
44
- import "./tabs-group-DNIr9bXC.js";
45
- import "./textarea-CxKPwLNT.js";
46
- import "./theme.component-BZz_gSfx.js";
47
- import "./theme-button-BWLSsLkw.js";
48
- import "./tooltip-BvlP4LLw.js";
49
- import "./tree-UFPk4UJM.js";
50
- import "./typewriter-CEFN5I2Z.js";
51
- import "./typography-DG3juvGV.js";
52
- import "./dropdown-content-Ctq1JVzp.js";
53
- import "./dialog-service--MB2Ciko.js";
54
- var Pt = Object.defineProperty, It = Object.getOwnPropertyDescriptor, $ = (t, e, i, r) => {
55
- for (var o, s = r > 1 ? void 0 : r ? It(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
56
- return r && s && Pt(e, i, s), s;
41
+ import { map as Wt, distinctUntilChanged as Pt, take as It } from "rxjs/operators";
42
+ import "./surface-CkiumzDj.js";
43
+ import "./table-DPXzmJkJ.js";
44
+ import "./tabs-group-CBXEoVBr.js";
45
+ import "./textarea-BkXQqdc4.js";
46
+ import "./theme.component-B6OPvX11.js";
47
+ import "./theme-button-BLSsCZni.js";
48
+ import "./tooltip-3phi-zvc.js";
49
+ import "./tree-DSeadYt9.js";
50
+ import "./typewriter-Ckxnim4-.js";
51
+ import "./typography-xqI7xXeK.js";
52
+ import "./dropdown-content-Cnk_HWWq.js";
53
+ import "./dialog-service-B9Pp1DY4.js";
54
+ var Nt = Object.defineProperty, Tt = Object.getOwnPropertyDescriptor, E = (t, e, r, i) => {
55
+ for (var o, s = i > 1 ? void 0 : i ? Tt(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
56
+ return i && s && Nt(e, r, s), s;
57
57
  };
58
- let C = class extends I(v`
58
+ let O = class extends T(w`
59
59
  :host {
60
60
  display: inline-flex;
61
61
  }
@@ -136,19 +136,19 @@ let C = class extends I(v`
136
136
  return { primary: { bg: this.outlined ? "transparent" : a.sys.color.primary.container, text: this.outlined ? a.sys.color.primary.default : a.sys.color.primary.onContainer, border: this.outlined ? a.sys.color.primary.default : void 0 }, secondary: { bg: this.outlined ? "transparent" : a.sys.color.secondary.container, text: this.outlined ? a.sys.color.secondary.default : a.sys.color.secondary.onContainer, border: this.outlined ? a.sys.color.secondary.default : void 0 }, tertiary: { bg: this.outlined ? "transparent" : a.sys.color.tertiary.container, text: this.outlined ? a.sys.color.tertiary.default : a.sys.color.tertiary.onContainer, border: this.outlined ? a.sys.color.tertiary.default : void 0 }, success: { bg: this.outlined ? "transparent" : a.sys.color.success.container, text: this.outlined ? a.sys.color.success.default : a.sys.color.success.onContainer, border: this.outlined ? a.sys.color.success.default : void 0 }, warning: { bg: this.outlined ? "transparent" : a.sys.color.tertiary.container, text: this.outlined ? a.sys.color.tertiary.default : a.sys.color.tertiary.onContainer, border: this.outlined ? a.sys.color.tertiary.default : void 0 }, error: { bg: this.outlined ? "transparent" : a.sys.color.error.container, text: this.outlined ? a.sys.color.error.default : a.sys.color.error.onContainer, border: this.outlined ? a.sys.color.error.default : void 0 }, neutral: { bg: this.outlined ? "transparent" : a.sys.color.surface.high, text: (this.outlined, a.sys.color.surface.on), border: this.outlined ? a.sys.color.outline : void 0 } }[this.color];
137
137
  }
138
138
  render() {
139
- const t = this.getSizeClasses(), e = this.getShapeClasses(), i = this.getColorStyles(), r = this.getIconSize(), o = this.getExoticStyles(), s = { "inline-flex items-center justify-center font-medium": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size !== "xs" }, n = { borderColor: i.border, ...o };
139
+ const t = this.getSizeClasses(), e = this.getShapeClasses(), r = this.getColorStyles(), i = this.getIconSize(), o = this.getExoticStyles(), s = { "inline-flex items-center justify-center font-medium": !0, [t]: !0, [e]: !0, "animate-pulse": this.pulse, "border border-solid": this.outlined, "shadow-sm": !this.outlined && this.size !== "xs" }, n = { borderColor: r.border, ...o };
140
140
  return l`
141
141
  <div
142
142
  part="badge"
143
143
  class="${this.classMap(s)}"
144
144
  style="${this.styleMap(n)}"
145
- ${P({ bgColor: i.bg, color: i.text })}
145
+ ${W({ bgColor: r.bg, color: r.text })}
146
146
  >
147
147
  <!-- Icon slot or named icon -->
148
148
  <slot name="icon">
149
149
  ${this.icon ? l`
150
150
  <div part="icon" class="icon-container flex-shrink-0 flex items-center justify-center">
151
- <schmancy-icon .size=${r} class="flex items-center">${this.icon}</schmancy-icon>
151
+ <schmancy-icon .size=${i} class="flex items-center">${this.icon}</schmancy-icon>
152
152
  </div>
153
153
  ` : ""}
154
154
  </slot>
@@ -161,9 +161,9 @@ let C = class extends I(v`
161
161
  `;
162
162
  }
163
163
  };
164
- $([c({ type: String, reflect: !0 })], C.prototype, "color", 2), $([c({ type: String, reflect: !0 })], C.prototype, "size", 2), $([c({ type: String, reflect: !0 })], C.prototype, "shape", 2), $([c({ type: Boolean, reflect: !0 })], C.prototype, "outlined", 2), $([c({ type: String })], C.prototype, "icon", 2), $([c({ type: Boolean, reflect: !0 })], C.prototype, "pulse", 2), C = $([h("sch-badge")], C);
165
- var Nt = Object.getOwnPropertyDescriptor;
166
- let ct = class extends I(v`
164
+ E([c({ type: String, reflect: !0 })], O.prototype, "color", 2), E([c({ type: String, reflect: !0 })], O.prototype, "size", 2), E([c({ type: String, reflect: !0 })], O.prototype, "shape", 2), E([c({ type: Boolean, reflect: !0 })], O.prototype, "outlined", 2), E([c({ type: String })], O.prototype, "icon", 2), E([c({ type: Boolean, reflect: !0 })], O.prototype, "pulse", 2), O = E([h("sch-badge")], O);
165
+ var Xt = Object.getOwnPropertyDescriptor;
166
+ let ht = class extends T(w`
167
167
  :host {
168
168
  display: block;
169
169
  }
@@ -172,15 +172,15 @@ let ct = class extends I(v`
172
172
  return l` <section class="pb-4 px-4"><slot> </slot></section> `;
173
173
  }
174
174
  };
175
- ct = ((t, e, i, r) => {
176
- for (var o, s = r > 1 ? void 0 : r ? Nt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = o(s) || s);
175
+ ht = ((t, e, r, i) => {
176
+ for (var o, s = i > 1 ? void 0 : i ? Xt(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = o(s) || s);
177
177
  return s;
178
- })([h("schmancy-card-action")], ct);
179
- var Tt = Object.defineProperty, Xt = Object.getOwnPropertyDescriptor, V = (t, e, i, r) => {
180
- for (var o, s = r > 1 ? void 0 : r ? Xt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
181
- return r && s && Tt(e, i, s), s;
178
+ })([h("schmancy-card-action")], ht);
179
+ var _t = Object.defineProperty, At = Object.getOwnPropertyDescriptor, Y = (t, e, r, i) => {
180
+ for (var o, s = i > 1 ? void 0 : i ? At(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
181
+ return i && s && _t(e, r, s), s;
182
182
  };
183
- let _ = class extends I() {
183
+ let H = class extends T() {
184
184
  constructor() {
185
185
  super(...arguments), this.type = "elevated", this.elevation = 0;
186
186
  }
@@ -191,43 +191,43 @@ let _ = class extends I() {
191
191
  </div>`;
192
192
  }
193
193
  };
194
- V([c()], _.prototype, "type", 2), V([c({ type: Number })], _.prototype, "elevation", 2), _ = V([h("schmancy-card")], _);
195
- var _t = Object.getOwnPropertyDescriptor;
196
- let lt = class extends I() {
194
+ Y([c()], H.prototype, "type", 2), Y([c({ type: Number })], H.prototype, "elevation", 2), H = Y([h("schmancy-card")], H);
195
+ var Ht = Object.getOwnPropertyDescriptor;
196
+ let dt = class extends T() {
197
197
  render() {
198
198
  const t = a.sys.color.surface.on, e = a.sys.color.surface.onVariant;
199
199
  return l`<schmancy-grid gap="md" class="${this.classMap({ "px-[16px] py-[24px]": !0 })}">
200
200
  <schmancy-grid gap="xs">
201
201
  <schmancy-typography
202
- ${P({ color: t })}
202
+ ${W({ color: t })}
203
203
  type="body"
204
204
  token="lg"
205
205
  ><slot name="headline"> </slot
206
206
  ></schmancy-typography>
207
207
  <schmancy-typography
208
- ${P({ color: e })}
208
+ ${W({ color: e })}
209
209
  type="body"
210
210
  ><slot name="subhead"></slot>
211
211
  </schmancy-typography>
212
212
  </schmancy-grid>
213
213
  <schmancy-typography
214
214
  type="body"
215
- ${P({ color: e })}
215
+ ${W({ color: e })}
216
216
  >
217
217
  <slot></slot>
218
218
  </schmancy-typography>
219
219
  </schmancy-grid>`;
220
220
  }
221
221
  };
222
- lt = ((t, e, i, r) => {
223
- for (var o, s = r > 1 ? void 0 : r ? _t(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = o(s) || s);
222
+ dt = ((t, e, r, i) => {
223
+ for (var o, s = i > 1 ? void 0 : i ? Ht(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = o(s) || s);
224
224
  return s;
225
- })([h("schmancy-card-content")], lt);
226
- var Ht = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, F = (t, e, i, r) => {
227
- for (var o, s = r > 1 ? void 0 : r ? Rt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
228
- return r && s && Ht(e, i, s), s;
225
+ })([h("schmancy-card-content")], dt);
226
+ var Rt = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, G = (t, e, r, i) => {
227
+ for (var o, s = i > 1 ? void 0 : i ? qt(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
228
+ return i && s && Rt(e, r, s), s;
229
229
  };
230
- let H = class extends I(v`
230
+ let R = class extends T(w`
231
231
  :host {
232
232
  display: block;
233
233
  }
@@ -242,25 +242,25 @@ let H = class extends I(v`
242
242
  </schmancy-grid>`;
243
243
  }
244
244
  };
245
- F([c({ type: String, reflect: !0 })], H.prototype, "src", 2), F([c({ type: String })], H.prototype, "fit", 2), H = F([h("schmancy-card-media")], H);
246
- const ss = new class {
245
+ G([c({ type: String, reflect: !0 })], R.prototype, "src", 2), G([c({ type: String })], R.prototype, "fit", 2), R = G([h("schmancy-card-media")], R);
246
+ const ns = new class {
247
247
  constructor() {
248
- this.$drawer = new Q(), this.$drawer.pipe().subscribe((t) => {
249
- t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(y.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" && (t.ref.dispatchEvent(new CustomEvent(y.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 })));
248
+ this.$drawer = new tt(), this.$drawer.pipe().subscribe((t) => {
249
+ t.action === "dismiss" ? t.ref.dispatchEvent(new CustomEvent(m.ContentDrawerToggle, { detail: { state: "close" }, bubbles: !0, composed: !0 })) : t.action === "render" && (t.ref.dispatchEvent(new CustomEvent(m.ContentDrawerToggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })), t.ref.dispatchEvent(new CustomEvent("schmancy-content-drawer-render", { detail: { component: t.component, title: t.title }, bubbles: !0, composed: !0 })));
250
250
  });
251
251
  }
252
252
  dimiss(t) {
253
253
  this.$drawer.next({ action: "dismiss", ref: t });
254
254
  }
255
- render(t, e, i) {
256
- t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: i });
255
+ render(t, e, r) {
256
+ t.dispatchEvent(new CustomEvent("custom-event")), this.$drawer.next({ action: "render", ref: t, component: e, title: r });
257
257
  }
258
- }(), tt = k("push"), ut = k("close"), bt = k(Math.floor(Math.random() * Date.now()).toString()), et = k("100%"), st = k({});
259
- var At = Object.defineProperty, qt = Object.getOwnPropertyDescriptor, S = (t, e, i, r) => {
260
- for (var o, s = r > 1 ? void 0 : r ? qt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
261
- return r && s && At(e, i, s), s;
258
+ }(), st = P("push"), gt = P("close"), ft = P(Math.floor(Math.random() * Date.now()).toString()), rt = P("100%"), it = P({});
259
+ var Bt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, z = (t, e, r, i) => {
260
+ for (var o, s = i > 1 ? void 0 : i ? Ut(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
261
+ return i && s && Bt(e, r, s), s;
262
262
  };
263
- let O = class extends z(v`
263
+ let S = class extends j(w`
264
264
  :host {
265
265
  position: relative;
266
266
  inset: 0;
@@ -272,19 +272,19 @@ let O = class extends z(v`
272
272
  super(...arguments), this.minWidth = { main: 360, sheet: 576 }, this.schmancyContentDrawerID = Math.floor(Math.random() * Date.now()).toString(), this.maxHeight = "100%";
273
273
  }
274
274
  firstUpdated() {
275
- Z(g(window, "resize"), g(window, y.ContentDrawerResize)).pipe(vt(!0), x(() => {
276
- }), f(() => this.clientWidth ? this.clientWidth : window.innerWidth), f((t) => t >= this.minWidth.main + this.minWidth.sheet), U(100), x(() => {
275
+ et(f(window, "resize"), f(window, m.ContentDrawerResize)).pipe(xt(!0), $(() => {
276
+ }), v(() => this.clientWidth ? this.clientWidth : window.innerWidth), v((t) => t >= this.minWidth.main + this.minWidth.sheet), V(100), $(() => {
277
277
  this.maxHeight = window.innerHeight - this.getOffsetTop(this) - 32 + "px", this.style.setProperty("max-height", this.maxHeight);
278
- }), G(), m(this.disconnecting)).subscribe((t) => {
278
+ }), L(), y(this.disconnecting)).subscribe((t) => {
279
279
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
280
- }), g(window, y.ContentDrawerToggle).pipe(x((t) => {
280
+ }), f(window, m.ContentDrawerToggle).pipe($((t) => {
281
281
  t.stopPropagation();
282
- }), f((t) => t.detail.state), m(this.disconnecting)).subscribe((t) => {
282
+ }), v((t) => t.detail.state), y(this.disconnecting)).subscribe((t) => {
283
283
  this.open = t;
284
- }), g(window, "schmancy-content-drawer-render").pipe(x((t) => {
284
+ }), f(window, "schmancy-content-drawer-render").pipe($((t) => {
285
285
  t.stopPropagation();
286
- }), f((t) => t.detail), m(this.disconnecting)).subscribe(({ component: t, title: e }) => {
287
- this.mode === "push" ? (at.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), at.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && L.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
286
+ }), v((t) => t.detail), y(this.disconnecting)).subscribe(({ component: t, title: e }) => {
287
+ this.mode === "push" ? (lt.push({ area: this.schmancyContentDrawerID, component: "empty", historyStrategy: "silent" }), lt.push({ area: this.schmancyContentDrawerID, component: t, historyStrategy: "silent" })) : (this.mode = "overlay") && Z.open({ component: t, uid: this.schmancyContentDrawerID, title: e });
288
288
  });
289
289
  }
290
290
  getOffsetTop(t) {
@@ -303,15 +303,15 @@ let O = class extends z(v`
303
303
  >
304
304
  <slot></slot>
305
305
  </schmancy-grid>
306
- ` : pt;
306
+ ` : mt;
307
307
  }
308
308
  };
309
- S([j({ context: st })], O.prototype, "minWidth", 2), S([j({ context: ut }), c()], O.prototype, "open", 2), S([j({ context: tt }), d()], O.prototype, "mode", 2), S([j({ context: bt })], O.prototype, "schmancyContentDrawerID", 2), S([j({ context: et })], O.prototype, "maxHeight", 2), S([mt({ flatten: !0 })], O.prototype, "assignedElements", 2), O = S([h("schmancy-content-drawer")], O);
310
- var Bt = Object.defineProperty, Ut = Object.getOwnPropertyDescriptor, N = (t, e, i, r) => {
311
- for (var o, s = r > 1 ? void 0 : r ? Ut(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
312
- return r && s && Bt(e, i, s), s;
309
+ z([M({ context: it })], S.prototype, "minWidth", 2), z([M({ context: gt }), c()], S.prototype, "open", 2), z([M({ context: st }), d()], S.prototype, "mode", 2), z([M({ context: ft })], S.prototype, "schmancyContentDrawerID", 2), z([M({ context: rt })], S.prototype, "maxHeight", 2), z([ut({ flatten: !0 })], S.prototype, "assignedElements", 2), S = z([h("schmancy-content-drawer")], S);
310
+ var Kt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, X = (t, e, r, i) => {
311
+ for (var o, s = i > 1 ? void 0 : i ? Vt(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
312
+ return i && s && Kt(e, r, s), s;
313
313
  };
314
- let M = class extends z(v`
314
+ let I = class extends j(w`
315
315
  :host {
316
316
  display: block;
317
317
  overflow: hidden;
@@ -321,7 +321,7 @@ let M = class extends z(v`
321
321
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.main = this.minWidth : this.minWidth = this.drawerMinWidth.main;
322
322
  }
323
323
  update(t) {
324
- super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(y.ContentDrawerResize, { bubbles: !0, composed: !0 })));
324
+ super.update(t), t.has("minWidth") && this.minWidth && (this.drawerMinWidth.main = this.minWidth, this.dispatchEvent(new CustomEvent(m.ContentDrawerResize, { bubbles: !0, composed: !0 })));
325
325
  }
326
326
  render() {
327
327
  const t = { minWidth: `${this.minWidth}px`, maxHeight: this.maxHeight };
@@ -339,17 +339,17 @@ let M = class extends z(v`
339
339
  <slot></slot>
340
340
  </section>
341
341
  </schmancy-grid>
342
- ${J(this.mode === "push", () => l` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
342
+ ${Q(this.mode === "push", () => l` <schmancy-divider class="absolute right-0 top-0" orientation="vertical"></schmancy-divider>`)}
343
343
  </section>
344
344
  `;
345
345
  }
346
346
  };
347
- N([c({ type: Number })], M.prototype, "minWidth", 2), N([p({ context: st, subscribe: !0 })], M.prototype, "drawerMinWidth", 2), N([p({ context: tt, subscribe: !0 }), d()], M.prototype, "mode", 2), N([p({ context: et, subscribe: !0 }), d()], M.prototype, "maxHeight", 2), M = N([h("schmancy-content-drawer-main")], M);
348
- var Kt = Object.defineProperty, Vt = Object.getOwnPropertyDescriptor, w = (t, e, i, r) => {
349
- for (var o, s = r > 1 ? void 0 : r ? Vt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
350
- return r && s && Kt(e, i, s), s;
347
+ X([c({ type: Number })], I.prototype, "minWidth", 2), X([p({ context: it, subscribe: !0 })], I.prototype, "drawerMinWidth", 2), X([p({ context: st, subscribe: !0 }), d()], I.prototype, "mode", 2), X([p({ context: rt, subscribe: !0 }), d()], I.prototype, "maxHeight", 2), I = X([h("schmancy-content-drawer-main")], I);
348
+ var Ft = Object.defineProperty, Yt = Object.getOwnPropertyDescriptor, x = (t, e, r, i) => {
349
+ for (var o, s = i > 1 ? void 0 : i ? Yt(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
350
+ return i && s && Ft(e, r, s), s;
351
351
  };
352
- let u = class extends z(v`
352
+ let u = class extends j(w`
353
353
  :host {
354
354
  overflow: scroll;
355
355
  }
@@ -358,19 +358,19 @@ let u = class extends z(v`
358
358
  super.connectedCallback(), this.minWidth ? this.drawerMinWidth.sheet = this.minWidth : this.minWidth = this.drawerMinWidth.sheet;
359
359
  }
360
360
  updated(t) {
361
- super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(y.ContentDrawerResize, { bubbles: !0, composed: !0 }))) : (t.has("state") || t.has("mode")) && (this.mode === "overlay" ? this.state === "close" ? this.closeAll() : this.state : this.mode === "push" && (L.dismiss(this.schmancyContentDrawerID), this.state === "close" ? this.closeAll() : this.state === "open" && this.open()));
361
+ super.updated(t), t.has("minWidth") && this.minWidth ? (this.drawerMinWidth.sheet = this.minWidth, this.dispatchEvent(new CustomEvent(m.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()));
362
362
  }
363
363
  open() {
364
364
  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)" });
365
365
  }
366
366
  closeAll() {
367
- Z(ot(this.closeModalSheet()), ot(this.closeSheet())).pipe(m(this.disconnecting)).subscribe();
367
+ et(at(this.closeModalSheet()), at(this.closeSheet())).pipe(y(this.disconnecting)).subscribe();
368
368
  }
369
369
  closeModalSheet() {
370
- return K(!0).pipe(x(() => L.dismiss(this.schmancyContentDrawerID)));
370
+ return F(!0).pipe($(() => Z.dismiss(this.schmancyContentDrawerID)));
371
371
  }
372
372
  closeSheet() {
373
- return new wt((t) => {
373
+ return new Ct((t) => {
374
374
  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 = () => {
375
375
  this.sheet.style.display = "none", t.next(), t.complete();
376
376
  };
@@ -387,11 +387,11 @@ let u = class extends z(v`
387
387
  `;
388
388
  }
389
389
  };
390
- w([c({ type: Number })], u.prototype, "minWidth", 2), w([p({ context: tt, subscribe: !0 }), d()], u.prototype, "mode", 2), w([p({ context: ut, subscribe: !0 }), d()], u.prototype, "state", 2), w([p({ context: bt })], u.prototype, "schmancyContentDrawerID", 2), w([Y("#sheet")], u.prototype, "sheet", 2), w([mt({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), w([p({ context: st, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), w([p({ context: et, subscribe: !0 }), d()], u.prototype, "maxHeight", 2), u = w([h("schmancy-content-drawer-sheet")], u);
391
- const Ft = new class {
390
+ x([c({ type: Number })], u.prototype, "minWidth", 2), x([p({ context: st, subscribe: !0 }), d()], u.prototype, "mode", 2), x([p({ context: gt, subscribe: !0 }), d()], u.prototype, "state", 2), x([p({ context: ft })], u.prototype, "schmancyContentDrawerID", 2), x([J("#sheet")], u.prototype, "sheet", 2), x([ut({ flatten: !0, slot: void 0 })], u.prototype, "defaultSlot", 2), x([p({ context: it, subscribe: !0 })], u.prototype, "drawerMinWidth", 2), x([p({ context: rt, subscribe: !0 }), d()], u.prototype, "maxHeight", 2), u = x([h("schmancy-content-drawer-sheet")], u);
391
+ const Gt = new class {
392
392
  constructor() {
393
- this.$drawer = new Q(), this.$drawer.pipe(U(10)).subscribe((t) => {
394
- t.state ? window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
393
+ this.$drawer = new tt(), this.$drawer.pipe(V(10)).subscribe((t) => {
394
+ t.state ? window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "open" }, bubbles: !0, composed: !0 })) : window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
395
395
  });
396
396
  }
397
397
  open(t) {
@@ -400,12 +400,12 @@ const Ft = new class {
400
400
  close(t) {
401
401
  this.$drawer.next({ self: t, state: !1 });
402
402
  }
403
- }(), is = Ft, it = k("push"), rt = k("close");
404
- var Yt = Object.defineProperty, Gt = Object.getOwnPropertyDescriptor, R = (t, e, i, r) => {
405
- for (var o, s = r > 1 ? void 0 : r ? Gt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
406
- return r && s && Yt(e, i, s), s;
403
+ }(), as = Gt, ot = P("push"), nt = P("close");
404
+ var Jt = Object.defineProperty, Lt = Object.getOwnPropertyDescriptor, q = (t, e, r, i) => {
405
+ for (var o, s = i > 1 ? void 0 : i ? Lt(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
406
+ return i && s && Jt(e, r, s), s;
407
407
  };
408
- let T = class extends I(v`
408
+ let _ = class extends T(w`
409
409
  :host {
410
410
  display: block;
411
411
  }
@@ -423,14 +423,14 @@ let T = class extends I(v`
423
423
  gap="sm"
424
424
  align="center"
425
425
  >
426
- ${J(this.sidebarMode === "overlay" && this.toggler, () => l`<slot name="toggler">
426
+ ${Q(this.sidebarMode === "overlay" && this.toggler, () => l`<slot name="toggler">
427
427
  <div class="${this.classMap(t)}">
428
428
  <schmancy-icon-button
429
429
  @click=${() => {
430
- this.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
430
+ this.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: this.sidebarOpen === "open" ? "close" : "open" }, bubbles: !0, composed: !0 }));
431
431
  }}
432
432
  >
433
- ${J(this.sidebarOpen === "close", () => l`menu`, () => l`menu_open`)}
433
+ ${Q(this.sidebarOpen === "close", () => l`menu`, () => l`menu_open`)}
434
434
  </schmancy-icon-button>
435
435
  </div>
436
436
  </slot>`)}
@@ -440,9 +440,9 @@ let T = class extends I(v`
440
440
  `;
441
441
  }
442
442
  };
443
- R([p({ context: it, subscribe: !0 }), d()], T.prototype, "sidebarMode", 2), R([p({ context: rt, subscribe: !0 }), d()], T.prototype, "sidebarOpen", 2), R([c({ type: Boolean })], T.prototype, "toggler", 2), T = R([h("schmancy-nav-drawer-appbar")], T);
444
- var Jt = Object.getOwnPropertyDescriptor;
445
- let dt = class extends z(v`
443
+ q([p({ context: ot, subscribe: !0 }), d()], _.prototype, "sidebarMode", 2), q([p({ context: nt, subscribe: !0 }), d()], _.prototype, "sidebarOpen", 2), q([c({ type: Boolean })], _.prototype, "toggler", 2), _ = q([h("schmancy-nav-drawer-appbar")], _);
444
+ var Qt = Object.getOwnPropertyDescriptor;
445
+ let pt = class extends j(w`
446
446
  :host {
447
447
  display: block;
448
448
  position: relative;
@@ -451,7 +451,7 @@ let dt = class extends z(v`
451
451
  }
452
452
  `) {
453
453
  connectedCallback() {
454
- super.connectedCallback(), g(this, "scroll").pipe(m(this.disconnecting)).subscribe((t) => {
454
+ super.connectedCallback(), f(this, "scroll").pipe(y(this.disconnecting)).subscribe((t) => {
455
455
  this.parentElement.dispatchEvent(new CustomEvent("scroll", { detail: t, bubbles: !0, composed: !0 }));
456
456
  });
457
457
  }
@@ -459,15 +459,15 @@ let dt = class extends z(v`
459
459
  return l` <slot></slot> `;
460
460
  }
461
461
  };
462
- dt = ((t, e, i, r) => {
463
- for (var o, s = r > 1 ? void 0 : r ? Jt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = o(s) || s);
462
+ pt = ((t, e, r, i) => {
463
+ for (var o, s = i > 1 ? void 0 : i ? Qt(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = o(s) || s);
464
464
  return s;
465
- })([h("schmancy-nav-drawer-content")], dt);
466
- var Lt = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, W = (t, e, i, r) => {
467
- for (var o, s = r > 1 ? void 0 : r ? Qt(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
468
- return r && s && Lt(e, i, s), s;
465
+ })([h("schmancy-nav-drawer-content")], pt);
466
+ var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, N = (t, e, r, i) => {
467
+ for (var o, s = i > 1 ? void 0 : i ? te(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
468
+ return i && s && Zt(e, r, s), s;
469
469
  };
470
- let b = class extends z(v`
470
+ let g = class extends j(w`
471
471
  :host {
472
472
  display: flex;
473
473
  flex-grow: 1;
@@ -484,16 +484,16 @@ let b = class extends z(v`
484
484
  super(...arguments), this.fullscreen = !1, this.breakpoint = "md", this._initialized = !1;
485
485
  }
486
486
  firstUpdated() {
487
- this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), g(window, "resize").pipe(f((t) => t.target.innerWidth), f((t) => t >= b.BREAKPOINTS[this.breakpoint]), G(), U(100), m(this.disconnecting)).subscribe((t) => {
487
+ this.updateState(window.innerWidth), this._initialized = !0, this.setAttribute("data-ready", ""), f(window, "resize").pipe(v((t) => t.target.innerWidth), v((t) => t >= g.BREAKPOINTS[this.breakpoint]), L(), V(100), y(this.disconnecting)).subscribe((t) => {
488
488
  t ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
489
- }), g(window, y.NavDrawer_toggle).pipe(x((t) => {
489
+ }), f(window, m.NavDrawer_toggle).pipe($((t) => {
490
490
  t.stopPropagation();
491
- }), f((t) => t.detail.state), G(), m(this.disconnecting), U(10)).subscribe((t) => {
491
+ }), v((t) => t.detail.state), L(), y(this.disconnecting), V(10)).subscribe((t) => {
492
492
  this.mode === "push" && t === "close" || (this.open = t);
493
493
  });
494
494
  }
495
495
  updateState(t) {
496
- const e = t >= b.BREAKPOINTS[this.breakpoint];
496
+ const e = t >= g.BREAKPOINTS[this.breakpoint];
497
497
  this.mode = e ? "push" : "overlay", this.open = e ? "open" : "close";
498
498
  }
499
499
  render() {
@@ -504,20 +504,20 @@ let b = class extends z(v`
504
504
  flow="col"
505
505
  justify="stretch"
506
506
  align="stretch"
507
- ${kt()}
507
+ ${Mt()}
508
508
  >
509
509
  <slot></slot>
510
510
  </schmancy-grid>
511
- ` : pt;
511
+ ` : mt;
512
512
  }
513
513
  };
514
- b.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, W([c({ type: Boolean })], b.prototype, "fullscreen", 2), W([c({ type: String, attribute: "breakpoint" })], b.prototype, "breakpoint", 2), W([j({ context: it }), d()], b.prototype, "mode", 2), W([j({ context: rt }), c()], b.prototype, "open", 2), W([d()], b.prototype, "_initialized", 2), b = W([h("schmancy-nav-drawer")], b);
515
- var Zt = Object.defineProperty, te = Object.getOwnPropertyDescriptor, E = (t, e, i, r) => {
516
- for (var o, s = r > 1 ? void 0 : r ? te(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
517
- return r && s && Zt(e, i, s), s;
514
+ g.BREAKPOINTS = { sm: 640, md: 768, lg: 1024, xl: 1280 }, N([c({ type: Boolean })], g.prototype, "fullscreen", 2), N([c({ type: String, attribute: "breakpoint" })], g.prototype, "breakpoint", 2), N([M({ context: ot }), d()], g.prototype, "mode", 2), N([M({ context: nt }), c()], g.prototype, "open", 2), N([d()], g.prototype, "_initialized", 2), g = N([h("schmancy-nav-drawer")], g);
515
+ var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, k = (t, e, r, i) => {
516
+ for (var o, s = i > 1 ? void 0 : i ? se(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
517
+ return i && s && ee(e, r, s), s;
518
518
  };
519
- const A = "cubic-bezier(0.5, 0.01, 0.25, 1)";
520
- let D = class extends z() {
519
+ const B = "cubic-bezier(0.5, 0.01, 0.25, 1)";
520
+ let D = class extends j() {
521
521
  constructor() {
522
522
  super(...arguments), this.width = "320px", this._initialized = !1;
523
523
  }
@@ -528,25 +528,25 @@ let D = class extends z() {
528
528
  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()));
529
529
  }
530
530
  openOverlay() {
531
- this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: A, fill: "forwards" });
531
+ this.overlay.style.display = "block", this.overlay.animate([{ opacity: 0 }, { opacity: 0.4 }], { duration: 200, easing: B, fill: "forwards" });
532
532
  }
533
533
  closeOverlay() {
534
- this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: A, fill: "forwards" }).onfinish = () => {
534
+ this.overlay.animate([{ opacity: 0.4 }, { opacity: 0 }], { duration: 150, easing: B, fill: "forwards" }).onfinish = () => {
535
535
  this.overlay.style.display = "none";
536
536
  };
537
537
  }
538
538
  showNavDrawer() {
539
- this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: A, fill: "forwards" }).onfinish = () => {
539
+ this.nav.animate([{ transform: "translateX(-100%)" }, { transform: "translateX(0)" }], { duration: 200, easing: B, fill: "forwards" }).onfinish = () => {
540
540
  this.nav.style.transform = "translateX(0)";
541
541
  };
542
542
  }
543
543
  hideNavDrawer() {
544
- this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: A, fill: "forwards" }).onfinish = () => {
544
+ this.nav.animate([{ transform: "translateX(0)" }, { transform: "translateX(-100%)" }], { duration: 200, easing: B, fill: "forwards" }).onfinish = () => {
545
545
  this.nav.style.transform = "translateX(-100%)";
546
546
  };
547
547
  }
548
548
  handleOverlayClick() {
549
- window.dispatchEvent(new CustomEvent(y.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
549
+ window.dispatchEvent(new CustomEvent(m.NavDrawer_toggle, { detail: { state: "close" }, bubbles: !0, composed: !0 }));
550
550
  }
551
551
  render() {
552
552
  const t = { "p-[16px] 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 };
@@ -554,42 +554,42 @@ let D = class extends z() {
554
554
  <nav
555
555
  style=${this.styleMap(e)}
556
556
  class="${this.classMap({ ...t })}"
557
- ${P({ bgColor: a.sys.color.surface.container })}
557
+ ${W({ bgColor: a.sys.color.surface.container })}
558
558
  >
559
559
  <slot></slot>
560
560
  </nav>
561
561
  <div
562
562
  id="overlay"
563
- ${P({ bgColor: a.sys.color.scrim })}
563
+ ${W({ bgColor: a.sys.color.scrim })}
564
564
  @click=${this.handleOverlayClick}
565
565
  class="${this.classMap({ "fixed inset-0 z-49 hidden": !0 })}"
566
566
  ></div>
567
567
  `;
568
568
  }
569
569
  };
570
- E([p({ context: it, subscribe: !0 }), d()], D.prototype, "mode", 2), E([p({ context: rt, subscribe: !0 }), d()], D.prototype, "drawerState", 2), E([Y("#overlay")], D.prototype, "overlay", 2), E([Y("nav")], D.prototype, "nav", 2), E([c({ type: String })], D.prototype, "width", 2), E([d()], D.prototype, "_initialized", 2), D = E([h("schmancy-nav-drawer-navbar")], D);
571
- const gt = "whereAreYouRicky", ft = "hereMorty", q = new class {
570
+ k([p({ context: ot, subscribe: !0 }), d()], D.prototype, "mode", 2), k([p({ context: nt, subscribe: !0 }), d()], D.prototype, "drawerState", 2), k([J("#overlay")], D.prototype, "overlay", 2), k([J("nav")], D.prototype, "nav", 2), k([c({ type: String })], D.prototype, "width", 2), k([d()], D.prototype, "_initialized", 2), D = k([h("schmancy-nav-drawer-navbar")], D);
571
+ const vt = "whereAreYouRicky", wt = "hereMorty", U = new class {
572
572
  constructor() {
573
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new Q(), this.find = (t) => nt([g(window, ft).pipe(yt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), f((e) => e.detail.component), xt(1)), K(t).pipe(x(() => {
574
- window.dispatchEvent(new CustomEvent(gt, { detail: { id: t.id, callerID: t.uuid } }));
575
- }))]).pipe(f(([e]) => e), Ct(0)), this.flip = (t) => {
576
- const { from: e, to: i } = t, r = i.element.style.zIndex;
577
- i.element.style.transformOrigin = "top left", i.element.style.setProperty("visibility", "visible"), i.element.style.zIndex = "1000";
578
- const o = [{ transform: `translate(${e.rect.left - i.rect.left}px, ${e.rect.top - i.rect.top}px) scale(${e.rect.width / i.rect.width}, ${e.rect.height / i.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
579
- i.element.animate(o, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
580
- i.element.style.zIndex = r, i.element.style.transformOrigin = "";
573
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new tt(), this.find = (t) => ct([f(window, wt).pipe(bt((e) => !!e.detail.component.uuid && !!t.id && e.detail.component.id === t.id && e.detail.component.uuid !== t.uuid), v((e) => e.detail.component), $t(1)), F(t).pipe($(() => {
574
+ window.dispatchEvent(new CustomEvent(vt, { detail: { id: t.id, callerID: t.uuid } }));
575
+ }))]).pipe(v(([e]) => e), Ot(0)), this.flip = (t) => {
576
+ const { from: e, to: r } = t, i = r.element.style.zIndex;
577
+ r.element.style.transformOrigin = "top left", r.element.style.setProperty("visibility", "visible"), r.element.style.zIndex = "1000";
578
+ const o = [{ transform: `translate(${e.rect.left - r.rect.left}px, ${e.rect.top - r.rect.top}px) scale(${e.rect.width / r.rect.width}, ${e.rect.height / r.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
579
+ r.element.animate(o, { duration: 250, delay: 10, easing: "cubic-bezier(0.455, 0.03, 0.515, 0.955)" }).onfinish = () => {
580
+ r.element.style.zIndex = i, r.element.style.transformOrigin = "";
581
581
  };
582
- }, this.flipRequests.pipe(Ot(1), f((t) => t.map(({ from: e, to: i, host: r }, o) => ({ from: e, to: i, host: r, i: o }))), Dt((t) => nt(t.map((e) => K(this.flip(e)))))).subscribe();
582
+ }, this.flipRequests.pipe(St(1), v((t) => t.map(({ from: e, to: r, host: i }, o) => ({ from: e, to: r, host: i, i: o }))), Dt((t) => ct(t.map((e) => F(this.flip(e)))))).subscribe();
583
583
  }
584
584
  }();
585
- function ht(t) {
586
- return $t(50).pipe(zt(() => t.getBoundingClientRect()), Mt((e, i) => e.width === i.width && e.height === i.height && e.top === i.top && e.right === i.right && e.bottom === i.bottom && e.left === i.left), Wt(1));
585
+ function yt(t) {
586
+ return jt(50).pipe(Wt(() => t.getBoundingClientRect()), Pt((e, r) => e.width === r.width && e.height === r.height && e.top === r.top && e.right === r.right && e.bottom === r.bottom && e.left === r.left), It(1));
587
587
  }
588
- var ee = Object.defineProperty, se = Object.getOwnPropertyDescriptor, B = (t, e, i, r) => {
589
- for (var o, s = r > 1 ? void 0 : r ? se(e, i) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (r ? o(e, i, s) : o(s)) || s);
590
- return r && s && ee(e, i, s), s;
588
+ var re = Object.defineProperty, ie = Object.getOwnPropertyDescriptor, K = (t, e, r, i) => {
589
+ for (var o, s = i > 1 ? void 0 : i ? ie(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
590
+ return i && s && re(e, r, s), s;
591
591
  };
592
- let X = class extends z(v``) {
592
+ let A = class extends j(w``) {
593
593
  constructor() {
594
594
  super(...arguments), this.uuid = Math.floor(Math.random() * Date.now()), this.delay = 0, this.debugging = !1;
595
595
  }
@@ -598,20 +598,20 @@ let X = class extends z(v``) {
598
598
  }
599
599
  connectedCallback() {
600
600
  if (this.id === void 0) throw new Error("id is required");
601
- super.connectedCallback(), Z(g(window, Et).pipe(x({ next: () => {
602
- this.dispatchEvent(new CustomEvent(jt, { detail: { component: this }, bubbles: !0, composed: !0 }));
603
- } })), g(window, gt).pipe(x({ next: (t) => {
604
- t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(ft, { detail: { component: this }, bubbles: !0, composed: !0 }));
605
- } }))).pipe(m(this.disconnecting)).subscribe();
601
+ super.connectedCallback(), et(f(window, zt).pipe($({ next: () => {
602
+ this.dispatchEvent(new CustomEvent(kt, { detail: { component: this }, bubbles: !0, composed: !0 }));
603
+ } })), f(window, vt).pipe($({ next: (t) => {
604
+ t.detail.id === this.id && this.uuid && t.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(wt, { detail: { component: this }, bubbles: !0, composed: !0 }));
605
+ } }))).pipe(y(this.disconnecting)).subscribe();
606
606
  }
607
607
  async firstUpdated() {
608
- K(q.activeTeleportations.get(this.id)).pipe(yt((t) => !!t), m(this.disconnecting), St()).subscribe({ next: (t) => {
609
- this.style.setProperty("visibility", "hidden"), ht(this).pipe(m(this.disconnecting)).subscribe({ next: (e) => {
610
- q.activeTeleportations.set(this.id, e), q.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
608
+ F(U.activeTeleportations.get(this.id)).pipe(bt((t) => !!t), y(this.disconnecting), Et()).subscribe({ next: (t) => {
609
+ this.style.setProperty("visibility", "hidden"), yt(this).pipe(y(this.disconnecting)).subscribe({ next: (e) => {
610
+ U.activeTeleportations.set(this.id, e), U.flipRequests.next({ from: { rect: t }, to: { rect: e, element: this._slottedChildren[0] }, host: this });
611
611
  } });
612
612
  }, error: () => {
613
- this.style.setProperty("visibility", "visible"), ht(this).pipe(m(this.disconnecting)).subscribe({ next: (t) => {
614
- q.activeTeleportations.set(this.id, t);
613
+ this.style.setProperty("visibility", "visible"), yt(this).pipe(y(this.disconnecting)).subscribe({ next: (t) => {
614
+ U.activeTeleportations.set(this.id, t);
615
615
  } });
616
616
  }, complete: () => {
617
617
  } });
@@ -620,29 +620,60 @@ let X = class extends z(v``) {
620
620
  return l`<slot></slot>`;
621
621
  }
622
622
  };
623
- B([c({ type: Number, reflect: !0 })], X.prototype, "uuid", 2), B([c({ type: String })], X.prototype, "id", 2), B([c({ type: Number })], X.prototype, "delay", 2), X = B([h("schmancy-teleport")], X);
623
+ K([c({ type: Number, reflect: !0 })], A.prototype, "uuid", 2), K([c({ type: String })], A.prototype, "id", 2), K([c({ type: Number })], A.prototype, "delay", 2), A = K([h("schmancy-teleport")], A);
624
+ var oe = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, C = (t, e, r, i) => {
625
+ for (var o, s = i > 1 ? void 0 : i ? ne(e, r) : e, n = t.length - 1; n >= 0; n--) (o = t[n]) && (s = (i ? o(e, r, s) : o(s)) || s);
626
+ return i && s && oe(e, r, s), s;
627
+ };
628
+ let b = class extends j() {
629
+ constructor() {
630
+ super(...arguments), this.initials = "", this.src = "", this.icon = "", this.size = "md", this.color = "primary", this.shape = "circle", this.bordered = !1, this.status = "none";
631
+ }
632
+ render() {
633
+ let t;
634
+ t = this.src ? l`<img class="w-full h-full object-cover" src="${this.src}" alt="Avatar" />` : this.initials ? l`<span class="text-center font-medium">${this.initials.substring(0, 2).toUpperCase()}</span>` : this.icon ? l`<schmancy-icon>${this.icon}</schmancy-icon>` : l`<schmancy-icon>person</schmancy-icon>`;
635
+ const e = { "relative flex items-center justify-center overflow-hidden": !0, [{ xs: "w-6 h-6 text-xs", sm: "w-8 h-8 text-sm", md: "w-10 h-10 text-base", lg: "w-12 h-12 text-lg", xl: "w-16 h-16 text-xl" }[this.size]]: !0, [{ circle: "rounded-full", square: "rounded-md" }[this.shape]]: !0, "border-2 border-surface-container": this.bordered }, r = this.getColorAttributes();
636
+ return l`
637
+ <div class="${this.classMap(e)}" ${r}>
638
+ ${t} ${this.status !== "none" ? this.renderStatusIndicator() : ""}
639
+ </div>
640
+ `;
641
+ }
642
+ getColorAttributes() {
643
+ const t = { primary: { bgColor: a.sys.color.primary.container, color: a.sys.color.primary.onContainer }, secondary: { bgColor: a.sys.color.secondary.container, color: a.sys.color.secondary.onContainer }, tertiary: { bgColor: a.sys.color.tertiary.container, color: a.sys.color.tertiary.onContainer }, success: { bgColor: a.sys.color.success.container, color: a.sys.color.success.onContainer }, error: { bgColor: a.sys.color.error.container, color: a.sys.color.error.onContainer }, neutral: { bgColor: a.sys.color.surface.container, color: a.sys.color.surface.on } };
644
+ return W(t[this.color]);
645
+ }
646
+ renderStatusIndicator() {
647
+ const t = { online: a.sys.color.success.default, offline: a.sys.color.surface.onVariant, busy: a.sys.color.error.default, away: a.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 };
648
+ return l`
649
+ <div class="${this.classMap(e)}" style="background-color: ${t[this.status]};"></div>
650
+ `;
651
+ }
652
+ };
653
+ C([c({ type: String })], b.prototype, "initials", 2), C([c({ type: String })], b.prototype, "src", 2), C([c({ type: String })], b.prototype, "icon", 2), C([c({ type: String })], b.prototype, "size", 2), C([c({ type: String })], b.prototype, "color", 2), C([c({ type: String })], b.prototype, "shape", 2), C([c({ type: Boolean })], b.prototype, "bordered", 2), C([c({ type: String })], b.prototype, "status", 2), b = C([h("schmancy-avatar")], b);
624
654
  export {
625
- is as $,
626
- ft as H,
627
- C as S,
628
- gt as W,
629
- tt as a,
630
- ut as b,
631
- bt as c,
632
- et as d,
633
- st as e,
634
- O as f,
635
- M as g,
655
+ as as $,
656
+ wt as H,
657
+ O as S,
658
+ vt as W,
659
+ st as a,
660
+ gt as b,
661
+ ft as c,
662
+ rt as d,
663
+ it as e,
664
+ S as f,
665
+ I as g,
636
666
  u as h,
637
- Ft as i,
638
- T as j,
639
- dt as k,
640
- it as l,
641
- rt as m,
642
- b as n,
667
+ Gt as i,
668
+ _ as j,
669
+ pt as k,
670
+ ot as l,
671
+ nt as m,
672
+ g as n,
643
673
  D as o,
644
- X as p,
645
- ss as s,
646
- q as t
674
+ A as p,
675
+ b as q,
676
+ ns as s,
677
+ U as t
647
678
  };
648
- //# sourceMappingURL=teleport.component-bQFYfK94.js.map
679
+ //# sourceMappingURL=avatar-CrxW01Pl.js.map