@mhmo91/schmancy 0.4.92 → 0.4.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/ai/area.md +181 -968
  2. package/dist/ai/area.md +181 -968
  3. package/dist/{animated-text-CM1zqBki.cjs → animated-text-Dqrad7cv.cjs} +2 -2
  4. package/dist/{animated-text-CM1zqBki.cjs.map → animated-text-Dqrad7cv.cjs.map} +1 -1
  5. package/dist/{animated-text-CUFCt7Zg.js → animated-text-mNos9Gw8.js} +3 -3
  6. package/dist/{animated-text-CUFCt7Zg.js.map → animated-text-mNos9Gw8.js.map} +1 -1
  7. package/dist/animated-text.cjs +1 -1
  8. package/dist/animated-text.js +1 -1
  9. package/dist/area.cjs +1 -1
  10. package/dist/area.js +1 -1
  11. package/dist/{autocomplete-09_SfjsP.js → autocomplete-CMxXFeC_.js} +35 -35
  12. package/dist/autocomplete-CMxXFeC_.js.map +1 -0
  13. package/dist/{autocomplete-CFREt7Vm.cjs → autocomplete-CzYbBt-K.cjs} +6 -6
  14. package/dist/autocomplete-CzYbBt-K.cjs.map +1 -0
  15. package/dist/autocomplete.cjs +1 -1
  16. package/dist/autocomplete.js +1 -1
  17. package/dist/{avatar-C8PC_n9i.cjs → avatar-CGGPvamo.cjs} +21 -69
  18. package/dist/avatar-CGGPvamo.cjs.map +1 -0
  19. package/dist/{avatar-CKp3Ukk4.js → avatar-CH-EctMv.js} +152 -200
  20. package/dist/avatar-CH-EctMv.js.map +1 -0
  21. package/dist/badge.cjs +1 -1
  22. package/dist/badge.js +1 -1
  23. package/dist/{boat-Ddi4PegB.cjs → boat-feSRWu7P.cjs} +2 -2
  24. package/dist/{boat-Ddi4PegB.cjs.map → boat-feSRWu7P.cjs.map} +1 -1
  25. package/dist/{boat-DDJK4CS4.js → boat-xekVVZab.js} +2 -2
  26. package/dist/{boat-DDJK4CS4.js.map → boat-xekVVZab.js.map} +1 -1
  27. package/dist/boat.cjs +1 -1
  28. package/dist/boat.js +1 -1
  29. package/dist/busy.cjs +1 -1
  30. package/dist/busy.js +1 -1
  31. package/dist/button.cjs +1 -1
  32. package/dist/button.js +1 -1
  33. package/dist/card.cjs +1 -1
  34. package/dist/card.js +1 -1
  35. package/dist/{checkbox-BU1x0W8U.js → checkbox-DTfIF2XH.js} +2 -2
  36. package/dist/{checkbox-BU1x0W8U.js.map → checkbox-DTfIF2XH.js.map} +1 -1
  37. package/dist/{checkbox-TclkD2h5.cjs → checkbox-DwBANLb6.cjs} +2 -2
  38. package/dist/{checkbox-TclkD2h5.cjs.map → checkbox-DwBANLb6.cjs.map} +1 -1
  39. package/dist/checkbox.cjs +1 -1
  40. package/dist/checkbox.js +1 -1
  41. package/dist/{chips-Bxsoq1vm.js → chips-7TbOS1By.js} +56 -67
  42. package/dist/{chips-Bxsoq1vm.js.map → chips-7TbOS1By.js.map} +1 -1
  43. package/dist/{chips-DQBHJNSu.cjs → chips-DORDPg5b.cjs} +10 -21
  44. package/dist/{chips-DQBHJNSu.cjs.map → chips-DORDPg5b.cjs.map} +1 -1
  45. package/dist/chips.cjs +1 -1
  46. package/dist/chips.js +1 -1
  47. package/dist/code-highlight.cjs +1 -1
  48. package/dist/code-highlight.js +1 -1
  49. package/dist/{code-preview-DnUM87ZB.js → code-preview-DWDE2pUe.js} +2 -2
  50. package/dist/{code-preview-DnUM87ZB.js.map → code-preview-DWDE2pUe.js.map} +1 -1
  51. package/dist/{code-preview-C9Imx-RX.cjs → code-preview-DqFuxCjV.cjs} +2 -2
  52. package/dist/{code-preview-C9Imx-RX.cjs.map → code-preview-DqFuxCjV.cjs.map} +1 -1
  53. package/dist/components.cjs +1 -1
  54. package/dist/components.js +1 -1
  55. package/dist/content-drawer.cjs +1 -1
  56. package/dist/content-drawer.js +1 -1
  57. package/dist/{date-range-D1A1Xrmw.cjs → date-range-DwdO0vNv.cjs} +2 -2
  58. package/dist/{date-range-D1A1Xrmw.cjs.map → date-range-DwdO0vNv.cjs.map} +1 -1
  59. package/dist/{date-range-inline-CwLJLOe1.cjs → date-range-inline-B1WaAPY6.cjs} +2 -2
  60. package/dist/{date-range-inline-CwLJLOe1.cjs.map → date-range-inline-B1WaAPY6.cjs.map} +1 -1
  61. package/dist/{date-range-inline-Ca4DPfeR.js → date-range-inline-yYh4Uw-k.js} +3 -3
  62. package/dist/{date-range-inline-Ca4DPfeR.js.map → date-range-inline-yYh4Uw-k.js.map} +1 -1
  63. package/dist/date-range-inline.cjs +1 -1
  64. package/dist/date-range-inline.js +1 -1
  65. package/dist/{date-range-DF7MnRi3.js → date-range-s2EHTGQM.js} +4 -4
  66. package/dist/{date-range-DF7MnRi3.js.map → date-range-s2EHTGQM.js.map} +1 -1
  67. package/dist/date-range.cjs +1 -1
  68. package/dist/date-range.js +1 -1
  69. package/dist/{delay-hXu_bFxW.js → delay-D19Mpit_.js} +2 -2
  70. package/dist/{delay-hXu_bFxW.js.map → delay-D19Mpit_.js.map} +1 -1
  71. package/dist/{delay-DQKt6VVn.cjs → delay-l2gPaJoH.cjs} +2 -2
  72. package/dist/{delay-DQKt6VVn.cjs.map → delay-l2gPaJoH.cjs.map} +1 -1
  73. package/dist/delay.cjs +1 -1
  74. package/dist/delay.js +1 -1
  75. package/dist/{details-Ci0XXz0g.js → details-CEu4oDP7.js} +2 -2
  76. package/dist/{details-Ci0XXz0g.js.map → details-CEu4oDP7.js.map} +1 -1
  77. package/dist/{details-Ft0ivj0F.cjs → details-LNuoItTO.cjs} +2 -2
  78. package/dist/{details-Ft0ivj0F.cjs.map → details-LNuoItTO.cjs.map} +1 -1
  79. package/dist/details.cjs +1 -1
  80. package/dist/details.js +1 -1
  81. package/dist/{dialog-content-7tFlrTFn.cjs → dialog-content-6wVlm9RL.cjs} +2 -2
  82. package/dist/{dialog-content-7tFlrTFn.cjs.map → dialog-content-6wVlm9RL.cjs.map} +1 -1
  83. package/dist/{dialog-content-DXnLwUtv.js → dialog-content-CQ3Xi4_b.js} +4 -4
  84. package/dist/{dialog-content-DXnLwUtv.js.map → dialog-content-CQ3Xi4_b.js.map} +1 -1
  85. package/dist/dialog-service-CgJH8clD.cjs +2 -0
  86. package/dist/dialog-service-CgJH8clD.cjs.map +1 -0
  87. package/dist/{dialog-service-DwhuICgc.js → dialog-service-PQ9ssbsY.js} +53 -47
  88. package/dist/dialog-service-PQ9ssbsY.js.map +1 -0
  89. package/dist/dialog.cjs +1 -1
  90. package/dist/dialog.js +2 -2
  91. package/dist/directives.cjs +1 -1
  92. package/dist/directives.js +1 -1
  93. package/dist/divider-5OCZNBJ7.js +22 -0
  94. package/dist/divider-5OCZNBJ7.js.map +1 -0
  95. package/dist/divider-auzbAyaR.cjs +2 -0
  96. package/dist/divider-auzbAyaR.cjs.map +1 -0
  97. package/dist/divider.cjs +1 -1
  98. package/dist/divider.js +1 -1
  99. package/dist/{dropdown-content-CXxTjA0j.cjs → dropdown-content-BI541LSK.cjs} +5 -10
  100. package/dist/dropdown-content-BI541LSK.cjs.map +1 -0
  101. package/dist/{dropdown-content-BCk2WbXc.js → dropdown-content-BLZviV1z.js} +40 -41
  102. package/dist/dropdown-content-BLZviV1z.js.map +1 -0
  103. package/dist/dropdown.cjs +1 -1
  104. package/dist/dropdown.js +1 -1
  105. package/dist/{email-recipients-BWIYYwA8.cjs → email-recipients-DizBUcJ2.cjs} +24 -24
  106. package/dist/email-recipients-DizBUcJ2.cjs.map +1 -0
  107. package/dist/{email-recipients-BT3xPoBN.js → email-recipients-JeGKXcBj.js} +141 -144
  108. package/dist/email-recipients-JeGKXcBj.js.map +1 -0
  109. package/dist/extra.cjs +1 -1
  110. package/dist/extra.js +1 -1
  111. package/dist/{flex-DflXFgVs.cjs → flex-BN7HdoGW.cjs} +2 -2
  112. package/dist/{flex-DflXFgVs.cjs.map → flex-BN7HdoGW.cjs.map} +1 -1
  113. package/dist/{flex-DJEZ1DdQ.js → flex-ro_7y02P.js} +2 -2
  114. package/dist/{flex-DJEZ1DdQ.js.map → flex-ro_7y02P.js.map} +1 -1
  115. package/dist/{form-7OiDtJT4.js → form-BqGTSZpr.js} +11 -23
  116. package/dist/form-BqGTSZpr.js.map +1 -0
  117. package/dist/form-DT6f2KNH.cjs +2 -0
  118. package/dist/form-DT6f2KNH.cjs.map +1 -0
  119. package/dist/form.cjs +1 -1
  120. package/dist/form.js +1 -1
  121. package/dist/{formField.mixin-B1vJlhmI.cjs → formField.mixin-CSy0dZ7Q.cjs} +2 -2
  122. package/dist/{formField.mixin-B1vJlhmI.cjs.map → formField.mixin-CSy0dZ7Q.cjs.map} +1 -1
  123. package/dist/{formField.mixin-3i7VOHMH.js → formField.mixin-DtegNyKv.js} +2 -2
  124. package/dist/{formField.mixin-3i7VOHMH.js.map → formField.mixin-DtegNyKv.js.map} +1 -1
  125. package/dist/{icon-BMhWh8Ib.js → icon-CSxxuGxN.js} +2 -2
  126. package/dist/{icon-BMhWh8Ib.js.map → icon-CSxxuGxN.js.map} +1 -1
  127. package/dist/{icon-TPLdDnCq.cjs → icon-GaL2G_1M.cjs} +2 -2
  128. package/dist/{icon-TPLdDnCq.cjs.map → icon-GaL2G_1M.cjs.map} +1 -1
  129. package/dist/{icon-button-DOZuY9x8.js → icon-button-B0jLowAy.js} +5 -5
  130. package/dist/icon-button-B0jLowAy.js.map +1 -0
  131. package/dist/{icon-button-CLDy5tUS.cjs → icon-button-DkvwZOHF.cjs} +4 -4
  132. package/dist/icon-button-DkvwZOHF.cjs.map +1 -0
  133. package/dist/icons.cjs +1 -1
  134. package/dist/icons.js +1 -1
  135. package/dist/index.cjs +1 -1
  136. package/dist/index.js +49 -49
  137. package/dist/{input-Dre3bMuF.js → input-D0c-WhDi.js} +40 -44
  138. package/dist/input-D0c-WhDi.js.map +1 -0
  139. package/dist/input-fPWOjQgP.cjs +51 -0
  140. package/dist/input-fPWOjQgP.cjs.map +1 -0
  141. package/dist/input.cjs +1 -1
  142. package/dist/input.js +1 -1
  143. package/dist/layout.cjs +1 -1
  144. package/dist/layout.js +1 -1
  145. package/dist/lazy-DObpkuL6.cjs.map +1 -1
  146. package/dist/lazy-E2LCDm7n.js.map +1 -1
  147. package/dist/{list-2mBZmMCP.js → list-3Ity7MFT.js} +2 -2
  148. package/dist/{list-2mBZmMCP.js.map → list-3Ity7MFT.js.map} +1 -1
  149. package/dist/{list-DZ43cTnR.cjs → list-CbXXjBUM.cjs} +2 -2
  150. package/dist/{list-DZ43cTnR.cjs.map → list-CbXXjBUM.cjs.map} +1 -1
  151. package/dist/list.cjs +1 -1
  152. package/dist/list.js +1 -1
  153. package/dist/{litElement.mixin-CjRG_9tZ.cjs → litElement.mixin-DFG5Ckp7.cjs} +2 -2
  154. package/dist/{litElement.mixin-CjRG_9tZ.cjs.map → litElement.mixin-DFG5Ckp7.cjs.map} +1 -1
  155. package/dist/{litElement.mixin-Bj0zv3lK.js → litElement.mixin-Efwm8boA.js} +2 -2
  156. package/dist/{litElement.mixin-Bj0zv3lK.js.map → litElement.mixin-Efwm8boA.js.map} +1 -1
  157. package/dist/mailbox.cjs +1 -1
  158. package/dist/mailbox.js +1 -1
  159. package/dist/{map-sSS6ACVH.js → map-BCQwFMpm.js} +2 -2
  160. package/dist/{map-sSS6ACVH.js.map → map-BCQwFMpm.js.map} +1 -1
  161. package/dist/{map-D69SEPpf.cjs → map-DeRVVjHa.cjs} +2 -2
  162. package/dist/{map-D69SEPpf.cjs.map → map-DeRVVjHa.cjs.map} +1 -1
  163. package/dist/map.cjs +1 -1
  164. package/dist/map.js +1 -1
  165. package/dist/media-CL9LNHic.cjs +226 -0
  166. package/dist/media-CL9LNHic.cjs.map +1 -0
  167. package/dist/media-nVQjNoX7.js +307 -0
  168. package/dist/media-nVQjNoX7.js.map +1 -0
  169. package/dist/{menu-CATzB9tA.js → menu-CusvB2dY.js} +3 -3
  170. package/dist/{menu-CATzB9tA.js.map → menu-CusvB2dY.js.map} +1 -1
  171. package/dist/{menu-BOeTdvk_.cjs → menu-Delwe6al.cjs} +2 -2
  172. package/dist/{menu-BOeTdvk_.cjs.map → menu-Delwe6al.cjs.map} +1 -1
  173. package/dist/menu.cjs +1 -1
  174. package/dist/menu.js +1 -1
  175. package/dist/nav-drawer.cjs +1 -1
  176. package/dist/nav-drawer.js +1 -1
  177. package/dist/{notification-service-LnNx5EDh.cjs → notification-service-BwcUY8O5.cjs} +7 -7
  178. package/dist/notification-service-BwcUY8O5.cjs.map +1 -0
  179. package/dist/{notification-service-DrwmIgoR.js → notification-service-DiTgelcm.js} +62 -58
  180. package/dist/notification-service-DiTgelcm.js.map +1 -0
  181. package/dist/notification.cjs +1 -1
  182. package/dist/notification.js +2 -2
  183. package/dist/{notify-DQMcgjgZ.cjs → notify-C81e8flx.cjs} +2 -2
  184. package/dist/{notify-DQMcgjgZ.cjs.map → notify-C81e8flx.cjs.map} +1 -1
  185. package/dist/{notify-C41nYdUf.js → notify-JNbirYT5.js} +2 -2
  186. package/dist/{notify-C41nYdUf.js.map → notify-JNbirYT5.js.map} +1 -1
  187. package/dist/{option-BNKGfKgL.cjs → option-D4XcuvRK.cjs} +5 -5
  188. package/dist/option-D4XcuvRK.cjs.map +1 -0
  189. package/dist/{option-DbBr0StZ.js → option-dihFw6qv.js} +12 -12
  190. package/dist/option-dihFw6qv.js.map +1 -0
  191. package/dist/option.cjs +1 -1
  192. package/dist/option.js +1 -1
  193. package/dist/{payment-card-form-ByWbYHhd.cjs → payment-card-form-CIm57Nfa.cjs} +2 -2
  194. package/dist/{payment-card-form-ByWbYHhd.cjs.map → payment-card-form-CIm57Nfa.cjs.map} +1 -1
  195. package/dist/{payment-card-form-_jHodv7G.js → payment-card-form-pDuTrWgZ.js} +3 -3
  196. package/dist/{payment-card-form-_jHodv7G.js.map → payment-card-form-pDuTrWgZ.js.map} +1 -1
  197. package/dist/{progress-BY7K7Etz.cjs → progress-BETtTl0y.cjs} +2 -2
  198. package/dist/{progress-BY7K7Etz.cjs.map → progress-BETtTl0y.cjs.map} +1 -1
  199. package/dist/{progress-Cix7Mu1p.js → progress-C4o_zWvg.js} +2 -2
  200. package/dist/{progress-Cix7Mu1p.js.map → progress-C4o_zWvg.js.map} +1 -1
  201. package/dist/progress.cjs +1 -1
  202. package/dist/progress.js +1 -1
  203. package/dist/{radio-button-BNmjg-i9.js → radio-button-DaSKbB-Z.js} +27 -27
  204. package/dist/radio-button-DaSKbB-Z.js.map +1 -0
  205. package/dist/radio-button-h6y0tWJQ.cjs +41 -0
  206. package/dist/radio-button-h6y0tWJQ.cjs.map +1 -0
  207. package/dist/radio-group.cjs +1 -1
  208. package/dist/radio-group.js +1 -1
  209. package/dist/{ripple-BumgqsDT.js → ripple-Cy-nvO8W.js} +24 -22
  210. package/dist/ripple-Cy-nvO8W.js.map +1 -0
  211. package/dist/ripple-DqQrvaTe.cjs +16 -0
  212. package/dist/ripple-DqQrvaTe.cjs.map +1 -0
  213. package/dist/route.component-BaefEO15.js +320 -0
  214. package/dist/route.component-BaefEO15.js.map +1 -0
  215. package/dist/route.component-DzBfI9eE.cjs +12 -0
  216. package/dist/route.component-DzBfI9eE.cjs.map +1 -0
  217. package/dist/{schmancy-steps-container-D69TfC2I.cjs → schmancy-steps-container-DpM5Kvt3.cjs} +2 -2
  218. package/dist/{schmancy-steps-container-D69TfC2I.cjs.map → schmancy-steps-container-DpM5Kvt3.cjs.map} +1 -1
  219. package/dist/{schmancy-steps-container-BUE4fG8_.js → schmancy-steps-container-uRaJiCZE.js} +2 -2
  220. package/dist/{schmancy-steps-container-BUE4fG8_.js.map → schmancy-steps-container-uRaJiCZE.js.map} +1 -1
  221. package/dist/select-ClFVeWZA.cjs +57 -0
  222. package/dist/select-ClFVeWZA.cjs.map +1 -0
  223. package/dist/{select-Bspcrc-h.js → select-uQ5xnOKn.js} +16 -16
  224. package/dist/select-uQ5xnOKn.js.map +1 -0
  225. package/dist/select.cjs +1 -1
  226. package/dist/select.js +1 -1
  227. package/dist/{sheet-CuE9tUeo.cjs → sheet-CEcMgg-2.cjs} +2 -2
  228. package/dist/{sheet-CuE9tUeo.cjs.map → sheet-CEcMgg-2.cjs.map} +1 -1
  229. package/dist/{sheet-BxOGSGJ0.js → sheet-CvvdxIUZ.js} +3 -3
  230. package/dist/{sheet-BxOGSGJ0.js.map → sheet-CvvdxIUZ.js.map} +1 -1
  231. package/dist/sheet.cjs +1 -1
  232. package/dist/sheet.js +1 -1
  233. package/dist/{slider-ChQVbnYO.js → slider-DyxIZ-hn.js} +3 -3
  234. package/dist/{slider-ChQVbnYO.js.map → slider-DyxIZ-hn.js.map} +1 -1
  235. package/dist/{slider-DeKwZONn.cjs → slider-T8sYw1p-.cjs} +2 -2
  236. package/dist/{slider-DeKwZONn.cjs.map → slider-T8sYw1p-.cjs.map} +1 -1
  237. package/dist/slider.cjs +1 -1
  238. package/dist/slider.js +1 -1
  239. package/dist/{spinner-y1dPMTQp.js → spinner-D9fC8P3H.js} +2 -2
  240. package/dist/{spinner-y1dPMTQp.js.map → spinner-D9fC8P3H.js.map} +1 -1
  241. package/dist/{spinner-C5tMQys5.cjs → spinner-DJviKuwJ.cjs} +2 -2
  242. package/dist/{spinner-C5tMQys5.cjs.map → spinner-DJviKuwJ.cjs.map} +1 -1
  243. package/dist/steps.cjs +1 -1
  244. package/dist/steps.js +1 -1
  245. package/dist/{surface-4MzhEaru.cjs → surface-B_SGQ1f7.cjs} +2 -2
  246. package/dist/{surface-4MzhEaru.cjs.map → surface-B_SGQ1f7.cjs.map} +1 -1
  247. package/dist/{surface-BYmdH754.js → surface-CUyYCpFl.js} +2 -2
  248. package/dist/{surface-BYmdH754.js.map → surface-CUyYCpFl.js.map} +1 -1
  249. package/dist/surface.cjs +1 -1
  250. package/dist/surface.js +1 -1
  251. package/dist/{table-J5EVvpXy.cjs → table-C-sWuoAy.cjs} +2 -2
  252. package/dist/{table-J5EVvpXy.cjs.map → table-C-sWuoAy.cjs.map} +1 -1
  253. package/dist/{table-YBHaxQzQ.js → table-D7p7a-Ag.js} +2 -2
  254. package/dist/{table-YBHaxQzQ.js.map → table-D7p7a-Ag.js.map} +1 -1
  255. package/dist/table.cjs +1 -1
  256. package/dist/table.js +1 -1
  257. package/dist/{tabs-compatibility-ezB19WI8.js → tabs-compatibility-Dn8bSEvA.js} +2 -2
  258. package/dist/{tabs-compatibility-ezB19WI8.js.map → tabs-compatibility-Dn8bSEvA.js.map} +1 -1
  259. package/dist/{tabs-compatibility-JMTsaND_.cjs → tabs-compatibility-XoF2vpv5.cjs} +2 -2
  260. package/dist/{tabs-compatibility-JMTsaND_.cjs.map → tabs-compatibility-XoF2vpv5.cjs.map} +1 -1
  261. package/dist/tabs.cjs +1 -1
  262. package/dist/tabs.js +1 -1
  263. package/dist/tailwind.mixin-C13RR5x6.js +43 -0
  264. package/dist/{tailwind.mixin-Cwbr8x57.js.map → tailwind.mixin-C13RR5x6.js.map} +1 -1
  265. package/dist/tailwind.mixin-O9jmUJ7m.cjs +2 -0
  266. package/dist/{tailwind.mixin-B-VcpMHn.cjs.map → tailwind.mixin-O9jmUJ7m.cjs.map} +1 -1
  267. package/dist/teleport.cjs +1 -1
  268. package/dist/teleport.js +1 -1
  269. package/dist/{textarea-B3nWhCra.cjs → textarea-9rSwC34M.cjs} +2 -2
  270. package/dist/{textarea-B3nWhCra.cjs.map → textarea-9rSwC34M.cjs.map} +1 -1
  271. package/dist/{textarea-yn7IFbnu.js → textarea-Dsqg9ted.js} +3 -3
  272. package/dist/{textarea-yn7IFbnu.js.map → textarea-Dsqg9ted.js.map} +1 -1
  273. package/dist/textarea.cjs +1 -1
  274. package/dist/textarea.js +1 -1
  275. package/dist/{theme-button-I_c1ZWWV.cjs → theme-button-BTH2A59w.cjs} +2 -2
  276. package/dist/{theme-button-I_c1ZWWV.cjs.map → theme-button-BTH2A59w.cjs.map} +1 -1
  277. package/dist/{theme-button-CGArg1pu.js → theme-button-pfkAwkvY.js} +2 -2
  278. package/dist/{theme-button-CGArg1pu.js.map → theme-button-pfkAwkvY.js.map} +1 -1
  279. package/dist/theme-button.cjs +1 -1
  280. package/dist/theme-button.js +1 -1
  281. package/dist/theme.cjs +1 -1
  282. package/dist/{theme.component-CdSDaeU0.cjs → theme.component-BvoZuM2h.cjs} +3 -3
  283. package/dist/{theme.component-CdSDaeU0.cjs.map → theme.component-BvoZuM2h.cjs.map} +1 -1
  284. package/dist/{theme.component-B5zp-4OG.js → theme.component-C3G_OrjE.js} +168 -168
  285. package/dist/{theme.component-B5zp-4OG.js.map → theme.component-C3G_OrjE.js.map} +1 -1
  286. package/dist/theme.js +1 -1
  287. package/dist/{timezone-DRBf5biI.cjs → timezone-BKBME7Gq.cjs} +2 -2
  288. package/dist/{timezone-DRBf5biI.cjs.map → timezone-BKBME7Gq.cjs.map} +1 -1
  289. package/dist/{timezone-CepyC8kw.js → timezone-mQeoU0_O.js} +3 -3
  290. package/dist/{timezone-CepyC8kw.js.map → timezone-mQeoU0_O.js.map} +1 -1
  291. package/dist/tooltip-Bcun7m0S.cjs +7 -0
  292. package/dist/tooltip-Bcun7m0S.cjs.map +1 -0
  293. package/dist/{tooltip-C6HlAqs2.js → tooltip-Doh_evJW.js} +55 -55
  294. package/dist/tooltip-Doh_evJW.js.map +1 -0
  295. package/dist/tooltip.cjs +1 -1
  296. package/dist/tooltip.js +1 -1
  297. package/dist/{tree-CpqWMdfb.cjs → tree-DpKb9Q-1.cjs} +2 -2
  298. package/dist/{tree-CpqWMdfb.cjs.map → tree-DpKb9Q-1.cjs.map} +1 -1
  299. package/dist/{tree-CxJAr7G3.js → tree-cl3PdPTy.js} +2 -2
  300. package/dist/{tree-CxJAr7G3.js.map → tree-cl3PdPTy.js.map} +1 -1
  301. package/dist/tree.cjs +1 -1
  302. package/dist/tree.js +1 -1
  303. package/dist/{typewriter-BWg7Otk8.cjs → typewriter-QSd_xI9j.cjs} +3 -15
  304. package/dist/typewriter-QSd_xI9j.cjs.map +1 -0
  305. package/dist/{typewriter-D3QLAVdz.js → typewriter-peuqmq9f.js} +64 -76
  306. package/dist/typewriter-peuqmq9f.js.map +1 -0
  307. package/dist/typewriter.cjs +1 -1
  308. package/dist/typewriter.js +1 -1
  309. package/dist/{typography-C8NCP_rr.js → typography-BkuzOZ0g.js} +2 -2
  310. package/dist/{typography-C8NCP_rr.js.map → typography-BkuzOZ0g.js.map} +1 -1
  311. package/dist/{typography-DGOOlbC1.cjs → typography-BoI8HgTE.cjs} +2 -2
  312. package/dist/{typography-DGOOlbC1.cjs.map → typography-BoI8HgTE.cjs.map} +1 -1
  313. package/dist/typography.cjs +1 -1
  314. package/dist/typography.js +1 -1
  315. package/package.json +1 -1
  316. package/types/src/area/area.component.d.ts +8 -3
  317. package/types/src/area/area.service.d.ts +1 -0
  318. package/types/src/area/route.component.d.ts +4 -5
  319. package/types/src/area/utils.d.ts +2 -1
  320. package/types/src/card/card.d.ts +55 -3
  321. package/types/src/directives/ripple.d.ts +2 -1
  322. package/types/src/dropdown/dropdown-component.d.ts +1 -0
  323. package/types/src/form/form-v2.d.ts +0 -1
  324. package/types/src/form/form.d.ts +0 -1
  325. package/types/src/mailbox/email-editor.d.ts +1 -2
  326. package/types/src/notification/notification-audio.d.ts +9 -0
  327. package/types/src/notification/notification-container.d.ts +1 -0
  328. package/dist/autocomplete-09_SfjsP.js.map +0 -1
  329. package/dist/autocomplete-CFREt7Vm.cjs.map +0 -1
  330. package/dist/avatar-C8PC_n9i.cjs.map +0 -1
  331. package/dist/avatar-CKp3Ukk4.js.map +0 -1
  332. package/dist/dialog-service-DwhuICgc.js.map +0 -1
  333. package/dist/dialog-service-juvsgc5X.cjs +0 -2
  334. package/dist/dialog-service-juvsgc5X.cjs.map +0 -1
  335. package/dist/divider-BG9uDpUp.js +0 -103
  336. package/dist/divider-BG9uDpUp.js.map +0 -1
  337. package/dist/divider-CWnAg2p-.cjs +0 -83
  338. package/dist/divider-CWnAg2p-.cjs.map +0 -1
  339. package/dist/dropdown-content-BCk2WbXc.js.map +0 -1
  340. package/dist/dropdown-content-CXxTjA0j.cjs.map +0 -1
  341. package/dist/email-recipients-BT3xPoBN.js.map +0 -1
  342. package/dist/email-recipients-BWIYYwA8.cjs.map +0 -1
  343. package/dist/form-7OiDtJT4.js.map +0 -1
  344. package/dist/form-nHwPpyhJ.cjs +0 -14
  345. package/dist/form-nHwPpyhJ.cjs.map +0 -1
  346. package/dist/icon-button-CLDy5tUS.cjs.map +0 -1
  347. package/dist/icon-button-DOZuY9x8.js.map +0 -1
  348. package/dist/input-CqLneJhz.cjs +0 -51
  349. package/dist/input-CqLneJhz.cjs.map +0 -1
  350. package/dist/input-Dre3bMuF.js.map +0 -1
  351. package/dist/media-B-VIbSH_.js +0 -151
  352. package/dist/media-B-VIbSH_.js.map +0 -1
  353. package/dist/media-Cew1Mxkj.cjs +0 -100
  354. package/dist/media-Cew1Mxkj.cjs.map +0 -1
  355. package/dist/notification-service-DrwmIgoR.js.map +0 -1
  356. package/dist/notification-service-LnNx5EDh.cjs.map +0 -1
  357. package/dist/option-BNKGfKgL.cjs.map +0 -1
  358. package/dist/option-DbBr0StZ.js.map +0 -1
  359. package/dist/radio-button-BNmjg-i9.js.map +0 -1
  360. package/dist/radio-button-CYq6qTSb.cjs +0 -41
  361. package/dist/radio-button-CYq6qTSb.cjs.map +0 -1
  362. package/dist/ripple-BumgqsDT.js.map +0 -1
  363. package/dist/ripple-C2BHbhcS.cjs +0 -16
  364. package/dist/ripple-C2BHbhcS.cjs.map +0 -1
  365. package/dist/route.component-CzCd2fMa.cjs +0 -12
  366. package/dist/route.component-CzCd2fMa.cjs.map +0 -1
  367. package/dist/route.component-Q3rCkryr.js +0 -321
  368. package/dist/route.component-Q3rCkryr.js.map +0 -1
  369. package/dist/select-B-yc3JB7.cjs +0 -57
  370. package/dist/select-B-yc3JB7.cjs.map +0 -1
  371. package/dist/select-Bspcrc-h.js.map +0 -1
  372. package/dist/tailwind.mixin-B-VcpMHn.cjs +0 -2
  373. package/dist/tailwind.mixin-Cwbr8x57.js +0 -43
  374. package/dist/tooltip-C6HlAqs2.js.map +0 -1
  375. package/dist/tooltip-CCX8PidC.cjs +0 -7
  376. package/dist/tooltip-CCX8PidC.cjs.map +0 -1
  377. package/dist/typewriter-BWg7Otk8.cjs.map +0 -1
  378. package/dist/typewriter-D3QLAVdz.js.map +0 -1
package/dist/icons.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";require("./icon-TPLdDnCq.cjs");
1
+ "use strict";require("./icon-GaL2G_1M.cjs");
2
2
  //# sourceMappingURL=icons.cjs.map
package/dist/icons.js CHANGED
@@ -1,2 +1,2 @@
1
- import "./icon-BMhWh8Ib.js";
1
+ import "./icon-CSxxuGxN.js";
2
2
  //# sourceMappingURL=icons.js.map
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("./animated-text-CM1zqBki.cjs");const c=require("./route.component-CzCd2fMa.cjs"),t=require("./lazy-DObpkuL6.cjs");require("./autocomplete-CFREt7Vm.cjs");const r=require("./avatar-C8PC_n9i.cjs"),R=require("./boat-Ddi4PegB.cjs");require("./spinner-C5tMQys5.cjs");const g=require("./icon-button-CLDy5tUS.cjs");require("./media-Cew1Mxkj.cjs");const A=require("./checkbox-TclkD2h5.cjs"),n=require("./chips-DQBHJNSu.cjs"),h=require("./code-preview-C9Imx-RX.cjs"),N=require("./payment-card-form-ByWbYHhd.cjs"),d=require("./date-range-D1A1Xrmw.cjs"),v=require("./date-range-inline-CwLJLOe1.cjs"),s=require("./delay-DQKt6VVn.cjs"),E=require("./details-Ft0ivj0F.cjs"),u=require("./dialog-content-7tFlrTFn.cjs"),f=require("./dialog-service-juvsgc5X.cjs"),b=require("./ripple-C2BHbhcS.cjs"),x=require("lit/directives/guard.js");require("./divider-CWnAg2p-.cjs");const C=require("./dropdown-content-CXxTjA0j.cjs"),O=require("./timezone-DRBf5biI.cjs");require("./form-nHwPpyhJ.cjs"),require("./icon-TPLdDnCq.cjs");const P=require("./input-CqLneJhz.cjs"),i=require("./flex-DflXFgVs.cjs"),p=require("./list-DZ43cTnR.cjs"),o=require("./email-recipients-BWIYYwA8.cjs"),F=require("./map-D69SEPpf.cjs");require("./menu-BOeTdvk_.cjs");const m=require("./notification-service-LnNx5EDh.cjs"),j=require("./notify-DQMcgjgZ.cjs");require("./option-BNKGfKgL.cjs"),require("./progress-BY7K7Etz.cjs");const D=require("./radio-button-CYq6qTSb.cjs"),H=require("./rxjs-utils.cjs");require("rxjs"),require("./index-CCi1otmh.cjs");const B=require("./select-B-yc3JB7.cjs");require("./sheet-CuE9tUeo.cjs");const y=require("./sheet.service-BxvWBGsJ.cjs"),q=require("./slider-DeKwZONn.cjs"),S=require("./schmancy-steps-container-D69TfC2I.cjs"),a=require("./context-object-bNADqf9U.cjs"),e=require("./selector-hook-cqmAutda.cjs"),w=require("./surface-4MzhEaru.cjs"),T=require("./table-J5EVvpXy.cjs");require("./tabs-compatibility-JMTsaND_.cjs"),require("./textarea-B3nWhCra.cjs");const l=require("./theme.component-CdSDaeU0.cjs"),M=require("./theme.events-Car6U_SQ.cjs"),V=require("./theme.interface-Xg5Zi46a.cjs");require("./theme-button-I_c1ZWWV.cjs");const I=require("./tooltip-CCX8PidC.cjs"),Y=require("./tree-CpqWMdfb.cjs"),z=require("./types.cjs"),L=require("./typewriter-BWg7Otk8.cjs"),G=require("./typography-DGOOlbC1.cjs"),W=require("./intersection-CVvaDv96.cjs"),$=require("./number-B7aCRYnH.cjs"),k=require("./search-DWW8IoOp.cjs");exports.FINDING_MORTIES=c.FINDING_MORTIES,exports.HERE_RICKY=c.HERE_RICKY,exports.HISTORY_STRATEGY=c.HISTORY_STRATEGY,Object.defineProperty(exports,"SchmancyArea",{enumerable:!0,get:()=>c.SchmancyArea}),Object.defineProperty(exports,"SchmancyRoute",{enumerable:!0,get:()=>c.SchmancyRoute}),exports.area=c.area,exports.routerHistory=c.routerHistory,exports.buildQueryString=t.buildQueryString,exports.compareActiveRoutes=t.compareActiveRoutes,exports.compareCustomElementConstructors=t.compareCustomElementConstructors,exports.compareRouteActions=t.compareRouteActions,exports.createRouteCacheKey=t.createRouteCacheKey,exports.debounce=t.debounce,exports.decodeRouteState=t.decodeRouteState,exports.deepMerge=t.deepMerge,exports.encodeRouteState=t.encodeRouteState,exports.extractQueryParams=t.extractQueryParams,exports.getTagName=t.getTagName,exports.isObject=t.isObject,exports.lazy=t.lazy,exports.normalizeTagName=t.normalizeTagName,exports.sanitizeRouteState=t.sanitizeRouteState,exports.$drawer=r.$drawer,exports.HereMorty=r.HereMorty,Object.defineProperty(exports,"ScBadgeV2",{enumerable:!0,get:()=>r.ScBadgeV2}),Object.defineProperty(exports,"SchmancyAvatar",{enumerable:!0,get:()=>r.SchmancyAvatar}),Object.defineProperty(exports,"SchmancyBadgeV2",{enumerable:!0,get:()=>r.SchmancyBadgeV2}),Object.defineProperty(exports,"SchmancyContentDrawer",{enumerable:!0,get:()=>r.SchmancyContentDrawer}),exports.SchmancyContentDrawerID=r.SchmancyContentDrawerID,Object.defineProperty(exports,"SchmancyContentDrawerMain",{enumerable:!0,get:()=>r.SchmancyContentDrawerMain}),exports.SchmancyContentDrawerMaxHeight=r.SchmancyContentDrawerMaxHeight,exports.SchmancyContentDrawerMinWidth=r.SchmancyContentDrawerMinWidth,Object.defineProperty(exports,"SchmancyContentDrawerSheet",{enumerable:!0,get:()=>r.SchmancyContentDrawerSheet}),exports.SchmancyContentDrawerSheetMode=r.SchmancyContentDrawerSheetMode,exports.SchmancyContentDrawerSheetState=r.SchmancyContentDrawerSheetState,Object.defineProperty(exports,"SchmancyDrawerAppbar",{enumerable:!0,get:()=>r.SchmancyDrawerAppbar}),exports.SchmancyDrawerNavbarMode=r.SchmancyDrawerNavbarMode,exports.SchmancyDrawerNavbarState=r.SchmancyDrawerNavbarState,Object.defineProperty(exports,"SchmancyNavigationDrawer",{enumerable:!0,get:()=>r.SchmancyNavigationDrawer}),Object.defineProperty(exports,"SchmancyNavigationDrawerContent",{enumerable:!0,get:()=>r.SchmancyNavigationDrawerContent}),Object.defineProperty(exports,"SchmancyNavigationDrawerSidebar",{enumerable:!0,get:()=>r.SchmancyNavigationDrawerSidebar}),Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>r.SchmancyTeleportation}),exports.WhereAreYouRicky=r.WhereAreYouRicky,exports.schmancyContentDrawer=r.schmancyContentDrawer,exports.schmancyNavDrawer=r.schmancyNavDrawer,exports.teleport=r.teleport,Object.defineProperty(exports,"SchmancyBoat",{enumerable:!0,get:()=>R.SchmancyBoat}),Object.defineProperty(exports,"SchmancyButton",{enumerable:!0,get:()=>g.SchmancyButton}),Object.defineProperty(exports,"SchmnacyIconButton",{enumerable:!0,get:()=>g.SchmnacyIconButton}),Object.defineProperty(exports,"SchmancyCheckbox",{enumerable:!0,get:()=>A.SchmancyCheckboxElement}),Object.defineProperty(exports,"SchmancyAssistChip",{enumerable:!0,get:()=>n.SchmancyAssistChip}),exports.SchmancyChip=n.SchmancyFilterChip,Object.defineProperty(exports,"SchmancyChips",{enumerable:!0,get:()=>n.SchmancyChips}),exports.SchmancyFilterChip=n.SchmancyFilterChip,Object.defineProperty(exports,"SchmancyInputChip",{enumerable:!0,get:()=>n.SchmancyInputChip}),Object.defineProperty(exports,"SchmancySuggestionChip",{enumerable:!0,get:()=>n.SchmancySuggestionChip}),Object.defineProperty(exports,"SchmancyCode",{enumerable:!0,get:()=>h.SchmancyCode}),Object.defineProperty(exports,"SchmancyCodeHighlight",{enumerable:!0,get:()=>h.SchmancyCode}),Object.defineProperty(exports,"SchmancyCodePreview",{enumerable:!0,get:()=>h.SchmancyCodePreview}),Object.defineProperty(exports,"SchmancyPaymentCardForm",{enumerable:!0,get:()=>N.SchmancyPaymentCardForm}),Object.defineProperty(exports,"SchmancyDateRange",{enumerable:!0,get:()=>d.SchmancyDateRange}),exports.validateInitialDateRange=d.validateInitialDateRange,Object.defineProperty(exports,"SchmancyDateRangeInline",{enumerable:!0,get:()=>v.SchmancyDateRangeInline}),Object.defineProperty(exports,"SchmancyDelay",{enumerable:!0,get:()=>s.SchmancyDelay}),exports.delayContext=s.delayContext,Object.defineProperty(exports,"SchmancyDetails",{enumerable:!0,get:()=>E.SchmancyDetails}),Object.defineProperty(exports,"ConfirmDialog",{enumerable:!0,get:()=>u.ConfirmDialog}),Object.defineProperty(exports,"SchmancyDialog",{enumerable:!0,get:()=>u.SchmancyDialog}),Object.defineProperty(exports,"SchmancyDialogContent",{enumerable:!0,get:()=>u.SchmancyDialogContent}),exports.$dialog=f.$dialog,exports.DialogService=f.DialogService,exports.color=b.color,exports.fullHeight=b.fullHeight,exports.ripple=b.ripple,Object.defineProperty(exports,"guard",{enumerable:!0,get:()=>x.guard}),Object.defineProperty(exports,"SchmancyDropdown",{enumerable:!0,get:()=>C.SchmancyDropdown}),Object.defineProperty(exports,"SchmancyDropdownContent",{enumerable:!0,get:()=>C.SchmancyDropdownContent}),Object.defineProperty(exports,"SchmancyCountriesSelect",{enumerable:!0,get:()=>O.SchmancyCountriesSelect}),Object.defineProperty(exports,"SchmancyTimezonesSelect",{enumerable:!0,get:()=>O.SchmancyTimezonesSelect}),Object.defineProperty(exports,"SchmancyInput",{enumerable:!0,get:()=>P.SchmancyInput}),Object.defineProperty(exports,"SchmancyInputCompat",{enumerable:!0,get:()=>P.SchmancyInputCompat}),Object.defineProperty(exports,"SchmancyFlex",{enumerable:!0,get:()=>i.SchmancyFlex}),Object.defineProperty(exports,"SchmancyFlexV2",{enumerable:!0,get:()=>i.SchmancyFlexV2}),Object.defineProperty(exports,"SchmancyGrid",{enumerable:!0,get:()=>i.SchmancyGrid}),Object.defineProperty(exports,"SchmancyScroll",{enumerable:!0,get:()=>i.SchmancyScroll}),Object.defineProperty(exports,"List",{enumerable:!0,get:()=>p.List}),Object.defineProperty(exports,"SchmancyListItem",{enumerable:!0,get:()=>p.SchmancyListItem}),exports.SchmancyListTypeContext=p.SchmancyListTypeContext,Object.defineProperty(exports,"SchmancyEmailEditor",{enumerable:!0,get:()=>o.SchmancyEmailEditor}),Object.defineProperty(exports,"SchmancyEmailLayoutSelector",{enumerable:!0,get:()=>o.SchmancyEmailLayoutSelector}),Object.defineProperty(exports,"SchmancyEmailRecipients",{enumerable:!0,get:()=>o.SchmancyEmailRecipients}),Object.defineProperty(exports,"SchmancyEmailViewer",{enumerable:!0,get:()=>o.SchmancyEmailViewer}),Object.defineProperty(exports,"SchmancyMailbox",{enumerable:!0,get:()=>o.SchmancyMailbox}),Object.defineProperty(exports,"SchmancyMap",{enumerable:!0,get:()=>F.SchmancyMap}),exports.$notify=m.$notify,exports.NotificationAudioService=m.NotificationAudioService,Object.defineProperty(exports,"SchmancyNotification",{enumerable:!0,get:()=>m.SchmancyNotification}),Object.defineProperty(exports,"SchmancyNotificationContainer",{enumerable:!0,get:()=>m.SchmancyNotificationContainer}),exports.notify=j.notify,exports.notifyProgress=j.notifyProgress,Object.defineProperty(exports,"RadioButton",{enumerable:!0,get:()=>D.RadioButton}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:()=>D.RadioGroup}),exports.mutationObserver=H.mutationObserver,Object.defineProperty(exports,"SchmancySelect",{enumerable:!0,get:()=>B.SchmancySelect}),exports.SchmancySheetPosition=y.SchmancySheetPosition,exports.SheetHereMorty=y.SheetHereMorty,exports.SheetWhereAreYouRicky=y.SheetWhereAreYouRicky,exports.sheet=y.sheet,Object.defineProperty(exports,"SchmancySlide",{enumerable:!0,get:()=>q.SchmancySlide}),Object.defineProperty(exports,"SchmancySlider",{enumerable:!0,get:()=>q.SchmancySlider}),Object.defineProperty(exports,"SchmancyStep",{enumerable:!0,get:()=>S.SchmancyStep}),Object.defineProperty(exports,"SchmancyStepsContainer",{enumerable:!0,get:()=>S.SchmancyStepsContainer}),exports.StepsController=S.StepsController,exports.stepsContext=S.stepsContext,exports.BaseStore=a.BaseStore,exports.IndexedDBStorageManager=a.IndexedDBStorageManager,exports.LocalStorageManager=a.LocalStorageManager,exports.MemoryStorageManager=a.MemoryStorageManager,exports.SchmancyArrayStore=a.SchmancyArrayStore,exports.SchmancyStoreObject=a.SchmancyStoreObject,exports.SessionStorageManager=a.SessionStorageManager,exports.StoreError=a.StoreError,exports.createStorageManager=a.createStorageManager,exports.compareValues=e.compareValues,exports.createArrayContext=e.createArrayContext,exports.createCollectionSelector=e.createCollectionSelector,exports.createCompoundSelector=e.createCompoundSelector,exports.createContext=e.createContext,exports.createCountSelector=e.createCountSelector,exports.createEntriesSelector=e.createEntriesSelector,exports.createFilterSelector=e.createFilterSelector,exports.createFindSelector=e.createFindSelector,exports.createItemSelector=e.createItemSelector,exports.createItemsSelector=e.createItemsSelector,exports.createKeysSelector=e.createKeysSelector,exports.createMapSelector=e.createMapSelector,exports.createOptimizedSelector=e.createOptimizedSelector,exports.createSelector=e.createSelector,exports.createSortSelector=e.createSortSelector,exports.createTestArrayContext=e.createTestArrayContext,exports.filterArray=e.filterArray,exports.filterArrayItems=e.filterArrayItems,exports.filterMap=e.filterMap,exports.filterMapItems=e.filterMapItems,exports.getFieldValue=e.getFieldValue,exports.isArray=e.isArray,exports.isDate=e.isDate,exports.isIterable=e.isIterable,exports.isMap=e.isMap,exports.isNil=e.isNil,exports.isNumber=e.isNumber,exports.isPlainObject=e.isPlainObject,exports.isSet=e.isSet,exports.isString=e.isString,exports.select=e.select,exports.selectItem=e.selectItem,Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>w.SchmancySurface}),exports.SchmancySurfaceTypeContext=w.SchmancySurfaceTypeContext,Object.defineProperty(exports,"SchmancyDataTable",{enumerable:!0,get:()=>T.SchmancyDataTable}),Object.defineProperty(exports,"SchmancyTableRow",{enumerable:!0,get:()=>T.SchmancyTableRow}),Object.defineProperty(exports,"SchmancyThemeComponent",{enumerable:!0,get:()=>l.SchmancyThemeComponent}),exports.formateTheme=l.formateTheme,exports.tailwindStyles=l.tailwindStyles,exports.theme=l.theme,exports.ThemeHereIAm=M.ThemeHereIAm,exports.ThemeWhereAreYou=M.ThemeWhereAreYou,exports.SchmancyTheme=V.SchmancyTheme,Object.defineProperty(exports,"SchmancyTooltip",{enumerable:!0,get:()=>I.SchmancyTooltip}),exports.tooltip=I.tooltip,Object.defineProperty(exports,"SchmancyTree",{enumerable:!0,get:()=>Y.SchmancyTree}),exports.SchmancyEvents=z.SchmancyEvents,Object.defineProperty(exports,"TypewriterElement",{enumerable:!0,get:()=>L.TypewriterElement}),Object.defineProperty(exports,"SchmancyTypography",{enumerable:!0,get:()=>G.SchmancyTypography}),exports.intersection$=W.intersection$,exports.Numbers=$.Numbers,exports.similarity=k.similarity;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("./animated-text-Dqrad7cv.cjs");const c=require("./route.component-DzBfI9eE.cjs"),t=require("./lazy-DObpkuL6.cjs");require("./autocomplete-CzYbBt-K.cjs");const r=require("./avatar-CGGPvamo.cjs"),R=require("./boat-feSRWu7P.cjs");require("./spinner-DJviKuwJ.cjs");const g=require("./icon-button-DkvwZOHF.cjs");require("./media-CL9LNHic.cjs");const A=require("./checkbox-DwBANLb6.cjs"),n=require("./chips-DORDPg5b.cjs"),h=require("./code-preview-DqFuxCjV.cjs"),N=require("./payment-card-form-CIm57Nfa.cjs"),d=require("./date-range-DwdO0vNv.cjs"),v=require("./date-range-inline-B1WaAPY6.cjs"),s=require("./delay-l2gPaJoH.cjs"),E=require("./details-LNuoItTO.cjs"),u=require("./dialog-content-6wVlm9RL.cjs"),f=require("./dialog-service-CgJH8clD.cjs"),b=require("./ripple-DqQrvaTe.cjs"),x=require("lit/directives/guard.js");require("./divider-auzbAyaR.cjs");const C=require("./dropdown-content-BI541LSK.cjs"),O=require("./timezone-BKBME7Gq.cjs");require("./form-DT6f2KNH.cjs"),require("./icon-GaL2G_1M.cjs");const P=require("./input-fPWOjQgP.cjs"),i=require("./flex-BN7HdoGW.cjs"),p=require("./list-CbXXjBUM.cjs"),o=require("./email-recipients-DizBUcJ2.cjs"),F=require("./map-DeRVVjHa.cjs");require("./menu-Delwe6al.cjs");const m=require("./notification-service-BwcUY8O5.cjs"),j=require("./notify-C81e8flx.cjs");require("./option-D4XcuvRK.cjs"),require("./progress-BETtTl0y.cjs");const D=require("./radio-button-h6y0tWJQ.cjs"),H=require("./rxjs-utils.cjs");require("rxjs"),require("./index-CCi1otmh.cjs");const B=require("./select-ClFVeWZA.cjs");require("./sheet-CEcMgg-2.cjs");const y=require("./sheet.service-BxvWBGsJ.cjs"),q=require("./slider-T8sYw1p-.cjs"),S=require("./schmancy-steps-container-DpM5Kvt3.cjs"),a=require("./context-object-bNADqf9U.cjs"),e=require("./selector-hook-cqmAutda.cjs"),w=require("./surface-B_SGQ1f7.cjs"),T=require("./table-C-sWuoAy.cjs");require("./tabs-compatibility-XoF2vpv5.cjs"),require("./textarea-9rSwC34M.cjs");const l=require("./theme.component-BvoZuM2h.cjs"),M=require("./theme.events-Car6U_SQ.cjs"),V=require("./theme.interface-Xg5Zi46a.cjs");require("./theme-button-BTH2A59w.cjs");const I=require("./tooltip-Bcun7m0S.cjs"),Y=require("./tree-DpKb9Q-1.cjs"),z=require("./types.cjs"),L=require("./typewriter-QSd_xI9j.cjs"),G=require("./typography-BoI8HgTE.cjs"),W=require("./intersection-CVvaDv96.cjs"),$=require("./number-B7aCRYnH.cjs"),k=require("./search-DWW8IoOp.cjs");exports.FINDING_MORTIES=c.FINDING_MORTIES,exports.HERE_RICKY=c.HERE_RICKY,exports.HISTORY_STRATEGY=c.HISTORY_STRATEGY,Object.defineProperty(exports,"SchmancyArea",{enumerable:!0,get:()=>c.SchmancyArea}),Object.defineProperty(exports,"SchmancyRoute",{enumerable:!0,get:()=>c.SchmancyRoute}),exports.area=c.area,exports.routerHistory=c.routerHistory,exports.buildQueryString=t.buildQueryString,exports.compareActiveRoutes=t.compareActiveRoutes,exports.compareCustomElementConstructors=t.compareCustomElementConstructors,exports.compareRouteActions=t.compareRouteActions,exports.createRouteCacheKey=t.createRouteCacheKey,exports.debounce=t.debounce,exports.decodeRouteState=t.decodeRouteState,exports.deepMerge=t.deepMerge,exports.encodeRouteState=t.encodeRouteState,exports.extractQueryParams=t.extractQueryParams,exports.getTagName=t.getTagName,exports.isObject=t.isObject,exports.lazy=t.lazy,exports.normalizeTagName=t.normalizeTagName,exports.sanitizeRouteState=t.sanitizeRouteState,exports.$drawer=r.$drawer,exports.HereMorty=r.HereMorty,Object.defineProperty(exports,"ScBadgeV2",{enumerable:!0,get:()=>r.ScBadgeV2}),Object.defineProperty(exports,"SchmancyAvatar",{enumerable:!0,get:()=>r.SchmancyAvatar}),Object.defineProperty(exports,"SchmancyBadgeV2",{enumerable:!0,get:()=>r.SchmancyBadgeV2}),Object.defineProperty(exports,"SchmancyContentDrawer",{enumerable:!0,get:()=>r.SchmancyContentDrawer}),exports.SchmancyContentDrawerID=r.SchmancyContentDrawerID,Object.defineProperty(exports,"SchmancyContentDrawerMain",{enumerable:!0,get:()=>r.SchmancyContentDrawerMain}),exports.SchmancyContentDrawerMaxHeight=r.SchmancyContentDrawerMaxHeight,exports.SchmancyContentDrawerMinWidth=r.SchmancyContentDrawerMinWidth,Object.defineProperty(exports,"SchmancyContentDrawerSheet",{enumerable:!0,get:()=>r.SchmancyContentDrawerSheet}),exports.SchmancyContentDrawerSheetMode=r.SchmancyContentDrawerSheetMode,exports.SchmancyContentDrawerSheetState=r.SchmancyContentDrawerSheetState,Object.defineProperty(exports,"SchmancyDrawerAppbar",{enumerable:!0,get:()=>r.SchmancyDrawerAppbar}),exports.SchmancyDrawerNavbarMode=r.SchmancyDrawerNavbarMode,exports.SchmancyDrawerNavbarState=r.SchmancyDrawerNavbarState,Object.defineProperty(exports,"SchmancyNavigationDrawer",{enumerable:!0,get:()=>r.SchmancyNavigationDrawer}),Object.defineProperty(exports,"SchmancyNavigationDrawerContent",{enumerable:!0,get:()=>r.SchmancyNavigationDrawerContent}),Object.defineProperty(exports,"SchmancyNavigationDrawerSidebar",{enumerable:!0,get:()=>r.SchmancyNavigationDrawerSidebar}),Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>r.SchmancyTeleportation}),exports.WhereAreYouRicky=r.WhereAreYouRicky,exports.schmancyContentDrawer=r.schmancyContentDrawer,exports.schmancyNavDrawer=r.schmancyNavDrawer,exports.teleport=r.teleport,Object.defineProperty(exports,"SchmancyBoat",{enumerable:!0,get:()=>R.SchmancyBoat}),Object.defineProperty(exports,"SchmancyButton",{enumerable:!0,get:()=>g.SchmancyButton}),Object.defineProperty(exports,"SchmnacyIconButton",{enumerable:!0,get:()=>g.SchmnacyIconButton}),Object.defineProperty(exports,"SchmancyCheckbox",{enumerable:!0,get:()=>A.SchmancyCheckboxElement}),Object.defineProperty(exports,"SchmancyAssistChip",{enumerable:!0,get:()=>n.SchmancyAssistChip}),exports.SchmancyChip=n.SchmancyFilterChip,Object.defineProperty(exports,"SchmancyChips",{enumerable:!0,get:()=>n.SchmancyChips}),exports.SchmancyFilterChip=n.SchmancyFilterChip,Object.defineProperty(exports,"SchmancyInputChip",{enumerable:!0,get:()=>n.SchmancyInputChip}),Object.defineProperty(exports,"SchmancySuggestionChip",{enumerable:!0,get:()=>n.SchmancySuggestionChip}),Object.defineProperty(exports,"SchmancyCode",{enumerable:!0,get:()=>h.SchmancyCode}),Object.defineProperty(exports,"SchmancyCodeHighlight",{enumerable:!0,get:()=>h.SchmancyCode}),Object.defineProperty(exports,"SchmancyCodePreview",{enumerable:!0,get:()=>h.SchmancyCodePreview}),Object.defineProperty(exports,"SchmancyPaymentCardForm",{enumerable:!0,get:()=>N.SchmancyPaymentCardForm}),Object.defineProperty(exports,"SchmancyDateRange",{enumerable:!0,get:()=>d.SchmancyDateRange}),exports.validateInitialDateRange=d.validateInitialDateRange,Object.defineProperty(exports,"SchmancyDateRangeInline",{enumerable:!0,get:()=>v.SchmancyDateRangeInline}),Object.defineProperty(exports,"SchmancyDelay",{enumerable:!0,get:()=>s.SchmancyDelay}),exports.delayContext=s.delayContext,Object.defineProperty(exports,"SchmancyDetails",{enumerable:!0,get:()=>E.SchmancyDetails}),Object.defineProperty(exports,"ConfirmDialog",{enumerable:!0,get:()=>u.ConfirmDialog}),Object.defineProperty(exports,"SchmancyDialog",{enumerable:!0,get:()=>u.SchmancyDialog}),Object.defineProperty(exports,"SchmancyDialogContent",{enumerable:!0,get:()=>u.SchmancyDialogContent}),exports.$dialog=f.$dialog,exports.DialogService=f.DialogService,exports.color=b.color,exports.fullHeight=b.fullHeight,exports.ripple=b.ripple,Object.defineProperty(exports,"guard",{enumerable:!0,get:()=>x.guard}),Object.defineProperty(exports,"SchmancyDropdown",{enumerable:!0,get:()=>C.SchmancyDropdown}),Object.defineProperty(exports,"SchmancyDropdownContent",{enumerable:!0,get:()=>C.SchmancyDropdownContent}),Object.defineProperty(exports,"SchmancyCountriesSelect",{enumerable:!0,get:()=>O.SchmancyCountriesSelect}),Object.defineProperty(exports,"SchmancyTimezonesSelect",{enumerable:!0,get:()=>O.SchmancyTimezonesSelect}),Object.defineProperty(exports,"SchmancyInput",{enumerable:!0,get:()=>P.SchmancyInput}),Object.defineProperty(exports,"SchmancyInputCompat",{enumerable:!0,get:()=>P.SchmancyInputCompat}),Object.defineProperty(exports,"SchmancyFlex",{enumerable:!0,get:()=>i.SchmancyFlex}),Object.defineProperty(exports,"SchmancyFlexV2",{enumerable:!0,get:()=>i.SchmancyFlexV2}),Object.defineProperty(exports,"SchmancyGrid",{enumerable:!0,get:()=>i.SchmancyGrid}),Object.defineProperty(exports,"SchmancyScroll",{enumerable:!0,get:()=>i.SchmancyScroll}),Object.defineProperty(exports,"List",{enumerable:!0,get:()=>p.List}),Object.defineProperty(exports,"SchmancyListItem",{enumerable:!0,get:()=>p.SchmancyListItem}),exports.SchmancyListTypeContext=p.SchmancyListTypeContext,Object.defineProperty(exports,"SchmancyEmailEditor",{enumerable:!0,get:()=>o.SchmancyEmailEditor}),Object.defineProperty(exports,"SchmancyEmailLayoutSelector",{enumerable:!0,get:()=>o.SchmancyEmailLayoutSelector}),Object.defineProperty(exports,"SchmancyEmailRecipients",{enumerable:!0,get:()=>o.SchmancyEmailRecipients}),Object.defineProperty(exports,"SchmancyEmailViewer",{enumerable:!0,get:()=>o.SchmancyEmailViewer}),Object.defineProperty(exports,"SchmancyMailbox",{enumerable:!0,get:()=>o.SchmancyMailbox}),Object.defineProperty(exports,"SchmancyMap",{enumerable:!0,get:()=>F.SchmancyMap}),exports.$notify=m.$notify,exports.NotificationAudioService=m.NotificationAudioService,Object.defineProperty(exports,"SchmancyNotification",{enumerable:!0,get:()=>m.SchmancyNotification}),Object.defineProperty(exports,"SchmancyNotificationContainer",{enumerable:!0,get:()=>m.SchmancyNotificationContainer}),exports.notify=j.notify,exports.notifyProgress=j.notifyProgress,Object.defineProperty(exports,"RadioButton",{enumerable:!0,get:()=>D.RadioButton}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:()=>D.RadioGroup}),exports.mutationObserver=H.mutationObserver,Object.defineProperty(exports,"SchmancySelect",{enumerable:!0,get:()=>B.SchmancySelect}),exports.SchmancySheetPosition=y.SchmancySheetPosition,exports.SheetHereMorty=y.SheetHereMorty,exports.SheetWhereAreYouRicky=y.SheetWhereAreYouRicky,exports.sheet=y.sheet,Object.defineProperty(exports,"SchmancySlide",{enumerable:!0,get:()=>q.SchmancySlide}),Object.defineProperty(exports,"SchmancySlider",{enumerable:!0,get:()=>q.SchmancySlider}),Object.defineProperty(exports,"SchmancyStep",{enumerable:!0,get:()=>S.SchmancyStep}),Object.defineProperty(exports,"SchmancyStepsContainer",{enumerable:!0,get:()=>S.SchmancyStepsContainer}),exports.StepsController=S.StepsController,exports.stepsContext=S.stepsContext,exports.BaseStore=a.BaseStore,exports.IndexedDBStorageManager=a.IndexedDBStorageManager,exports.LocalStorageManager=a.LocalStorageManager,exports.MemoryStorageManager=a.MemoryStorageManager,exports.SchmancyArrayStore=a.SchmancyArrayStore,exports.SchmancyStoreObject=a.SchmancyStoreObject,exports.SessionStorageManager=a.SessionStorageManager,exports.StoreError=a.StoreError,exports.createStorageManager=a.createStorageManager,exports.compareValues=e.compareValues,exports.createArrayContext=e.createArrayContext,exports.createCollectionSelector=e.createCollectionSelector,exports.createCompoundSelector=e.createCompoundSelector,exports.createContext=e.createContext,exports.createCountSelector=e.createCountSelector,exports.createEntriesSelector=e.createEntriesSelector,exports.createFilterSelector=e.createFilterSelector,exports.createFindSelector=e.createFindSelector,exports.createItemSelector=e.createItemSelector,exports.createItemsSelector=e.createItemsSelector,exports.createKeysSelector=e.createKeysSelector,exports.createMapSelector=e.createMapSelector,exports.createOptimizedSelector=e.createOptimizedSelector,exports.createSelector=e.createSelector,exports.createSortSelector=e.createSortSelector,exports.createTestArrayContext=e.createTestArrayContext,exports.filterArray=e.filterArray,exports.filterArrayItems=e.filterArrayItems,exports.filterMap=e.filterMap,exports.filterMapItems=e.filterMapItems,exports.getFieldValue=e.getFieldValue,exports.isArray=e.isArray,exports.isDate=e.isDate,exports.isIterable=e.isIterable,exports.isMap=e.isMap,exports.isNil=e.isNil,exports.isNumber=e.isNumber,exports.isPlainObject=e.isPlainObject,exports.isSet=e.isSet,exports.isString=e.isString,exports.select=e.select,exports.selectItem=e.selectItem,Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>w.SchmancySurface}),exports.SchmancySurfaceTypeContext=w.SchmancySurfaceTypeContext,Object.defineProperty(exports,"SchmancyDataTable",{enumerable:!0,get:()=>T.SchmancyDataTable}),Object.defineProperty(exports,"SchmancyTableRow",{enumerable:!0,get:()=>T.SchmancyTableRow}),Object.defineProperty(exports,"SchmancyThemeComponent",{enumerable:!0,get:()=>l.SchmancyThemeComponent}),exports.formateTheme=l.formateTheme,exports.tailwindStyles=l.tailwindStyles,exports.theme=l.theme,exports.ThemeHereIAm=M.ThemeHereIAm,exports.ThemeWhereAreYou=M.ThemeWhereAreYou,exports.SchmancyTheme=V.SchmancyTheme,Object.defineProperty(exports,"SchmancyTooltip",{enumerable:!0,get:()=>I.SchmancyTooltip}),exports.tooltip=I.tooltip,Object.defineProperty(exports,"SchmancyTree",{enumerable:!0,get:()=>Y.SchmancyTree}),exports.SchmancyEvents=z.SchmancyEvents,Object.defineProperty(exports,"TypewriterElement",{enumerable:!0,get:()=>L.TypewriterElement}),Object.defineProperty(exports,"SchmancyTypography",{enumerable:!0,get:()=>G.SchmancyTypography}),exports.intersection$=W.intersection$,exports.Numbers=$.Numbers,exports.similarity=k.similarity;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,63 +1,63 @@
1
- import "./animated-text-CUFCt7Zg.js";
2
- import { F as d, H as g, c as u, S as D, a as b, b as w, r as T } from "./route.component-Q3rCkryr.js";
1
+ import "./animated-text-mNos9Gw8.js";
2
+ import { F as d, H as g, c as u, S as D, a as b, b as w, r as T } from "./route.component-BaefEO15.js";
3
3
  import { l as M, h as R, c as A, f as N, j as v, a as E, b as H, d as B, e as F, k as L, g as O, i as $, m as j, n as k, s as z } from "./lazy-E2LCDm7n.js";
4
- import "./autocomplete-09_SfjsP.js";
5
- import { $ as V, H as Y, a as G, r as W, S as K, g as _, d as q, h as Q, e as J, f as U, i as X, b as Z, c as aa, k as ea, m as ra, n as ta, o as oa, l as ca, p as sa, q as ma, W as na, s as Sa, j as ia, t as ha } from "./avatar-CKp3Ukk4.js";
6
- import { S as pa } from "./boat-DDJK4CS4.js";
7
- import "./spinner-y1dPMTQp.js";
8
- import { S as fa, a as xa } from "./icon-button-DOZuY9x8.js";
9
- import "./media-B-VIbSH_.js";
10
- import { S as da } from "./checkbox-BU1x0W8U.js";
11
- import { a as ua, S as Da, d as ba, S as wa, b as Ta, c as Ia } from "./chips-Bxsoq1vm.js";
12
- import { S as Ra, S as Aa, a as Na } from "./code-preview-DnUM87ZB.js";
13
- import { S as Ea } from "./payment-card-form-_jHodv7G.js";
14
- import { S as Ba, v as Fa } from "./date-range-DF7MnRi3.js";
15
- import { S as Oa } from "./date-range-inline-Ca4DPfeR.js";
16
- import { S as ja, d as ka } from "./delay-hXu_bFxW.js";
17
- import { S as Pa } from "./details-Ci0XXz0g.js";
18
- import { C as Ya, S as Ga, a as Wa } from "./dialog-content-DXnLwUtv.js";
19
- import { $ as _a, D as qa } from "./dialog-service-DwhuICgc.js";
20
- import { c as Ja, f as Ua, r as Xa } from "./ripple-BumgqsDT.js";
4
+ import "./autocomplete-CMxXFeC_.js";
5
+ import { $ as V, H as Y, a as G, r as W, S as K, g as _, d as q, h as Q, e as J, f as U, i as X, b as Z, c as aa, k as ea, m as ra, n as ta, o as oa, l as ca, p as sa, q as ma, W as na, s as Sa, j as ia, t as ha } from "./avatar-CH-EctMv.js";
6
+ import { S as pa } from "./boat-xekVVZab.js";
7
+ import "./spinner-D9fC8P3H.js";
8
+ import { S as fa, a as xa } from "./icon-button-B0jLowAy.js";
9
+ import "./media-nVQjNoX7.js";
10
+ import { S as da } from "./checkbox-DTfIF2XH.js";
11
+ import { a as ua, S as Da, d as ba, S as wa, b as Ta, c as Ia } from "./chips-7TbOS1By.js";
12
+ import { S as Ra, S as Aa, a as Na } from "./code-preview-DWDE2pUe.js";
13
+ import { S as Ea } from "./payment-card-form-pDuTrWgZ.js";
14
+ import { S as Ba, v as Fa } from "./date-range-s2EHTGQM.js";
15
+ import { S as Oa } from "./date-range-inline-yYh4Uw-k.js";
16
+ import { S as ja, d as ka } from "./delay-D19Mpit_.js";
17
+ import { S as Pa } from "./details-CEu4oDP7.js";
18
+ import { C as Ya, S as Ga, a as Wa } from "./dialog-content-CQ3Xi4_b.js";
19
+ import { $ as _a, D as qa } from "./dialog-service-PQ9ssbsY.js";
20
+ import { c as Ja, f as Ua, r as Xa } from "./ripple-Cy-nvO8W.js";
21
21
  import { guard as ae } from "lit/directives/guard.js";
22
- import "./divider-BG9uDpUp.js";
23
- import { S as re, a as te } from "./dropdown-content-BCk2WbXc.js";
24
- import { S as ce, a as se } from "./timezone-CepyC8kw.js";
25
- import "./form-7OiDtJT4.js";
26
- import "./icon-BMhWh8Ib.js";
27
- import { S as ne, a as Se } from "./input-Dre3bMuF.js";
28
- import { S as he, c as ye, a as pe, b as le } from "./flex-DJEZ1DdQ.js";
29
- import { L as xe, a as Ce, S as de } from "./list-2mBZmMCP.js";
30
- import { a as ue, d as De, c as be, b as we, S as Te } from "./email-recipients-BT3xPoBN.js";
31
- import { S as Me } from "./map-sSS6ACVH.js";
32
- import "./menu-CATzB9tA.js";
33
- import { $ as Ae, N as Ne, S as ve, a as Ee } from "./notification-service-DrwmIgoR.js";
34
- import { n as Be, a as Fe } from "./notify-C41nYdUf.js";
35
- import "./option-DbBr0StZ.js";
36
- import "./progress-Cix7Mu1p.js";
37
- import { a as Oe, R as $e } from "./radio-button-BNmjg-i9.js";
22
+ import "./divider-5OCZNBJ7.js";
23
+ import { S as re, a as te } from "./dropdown-content-BLZviV1z.js";
24
+ import { S as ce, a as se } from "./timezone-mQeoU0_O.js";
25
+ import "./form-BqGTSZpr.js";
26
+ import "./icon-CSxxuGxN.js";
27
+ import { S as ne, a as Se } from "./input-D0c-WhDi.js";
28
+ import { S as he, c as ye, a as pe, b as le } from "./flex-ro_7y02P.js";
29
+ import { L as xe, a as Ce, S as de } from "./list-3Ity7MFT.js";
30
+ import { a as ue, d as De, c as be, b as we, S as Te } from "./email-recipients-JeGKXcBj.js";
31
+ import { S as Me } from "./map-BCQwFMpm.js";
32
+ import "./menu-CusvB2dY.js";
33
+ import { $ as Ae, N as Ne, S as ve, a as Ee } from "./notification-service-DiTgelcm.js";
34
+ import { n as Be, a as Fe } from "./notify-JNbirYT5.js";
35
+ import "./option-dihFw6qv.js";
36
+ import "./progress-C4o_zWvg.js";
37
+ import { a as Oe, R as $e } from "./radio-button-DaSKbB-Z.js";
38
38
  import { mutationObserver as ke } from "./rxjs-utils.js";
39
39
  import "rxjs";
40
40
  import "./index-CW6PhEkx.js";
41
- import { S as Pe } from "./select-Bspcrc-h.js";
42
- import "./sheet-BxOGSGJ0.js";
41
+ import { S as Pe } from "./select-uQ5xnOKn.js";
42
+ import "./sheet-CvvdxIUZ.js";
43
43
  import { S as Ye, b as Ge, a as We, s as Ke } from "./sheet.service-lXqUf6n5.js";
44
- import { S as qe, a as Qe } from "./slider-ChQVbnYO.js";
45
- import { S as Ue, a as Xe, b as Ze, s as ar } from "./schmancy-steps-container-BUE4fG8_.js";
44
+ import { S as qe, a as Qe } from "./slider-DyxIZ-hn.js";
45
+ import { S as Ue, a as Xe, b as Ze, s as ar } from "./schmancy-steps-container-uRaJiCZE.js";
46
46
  import { B as rr, I as tr, L as or, M as cr, S as sr, a as mr, b as nr, d as Sr, c as ir } from "./context-object-u5gBaozZ.js";
47
47
  import { p as yr, a as pr, v as lr, G as fr, c as xr, E as Cr, z as dr, C as gr, B as ur, x as Dr, w as br, y as wr, D as Tr, F as Ir, u as Mr, A as Rr, b as Ar, r as Nr, d as vr, q as Er, f as Hr, g as Br, i as Fr, j as Lr, k as Or, l as $r, o as jr, h as kr, n as zr, m as Pr, e as Vr, s as Yr, t as Gr } from "./selector-hook-ChImS_JT.js";
48
- import { a as Kr, S as _r } from "./surface-BYmdH754.js";
49
- import { a as Qr, S as Jr } from "./table-YBHaxQzQ.js";
50
- import "./tabs-compatibility-ezB19WI8.js";
51
- import "./textarea-yn7IFbnu.js";
52
- import { S as Xr, f as Zr, t as at, a as et } from "./theme.component-B5zp-4OG.js";
48
+ import { a as Kr, S as _r } from "./surface-CUyYCpFl.js";
49
+ import { a as Qr, S as Jr } from "./table-D7p7a-Ag.js";
50
+ import "./tabs-compatibility-Dn8bSEvA.js";
51
+ import "./textarea-Dsqg9ted.js";
52
+ import { S as Xr, f as Zr, t as at, a as et } from "./theme.component-C3G_OrjE.js";
53
53
  import { a as tt, T as ot } from "./theme.events-CPSLaOlR.js";
54
54
  import { S as st } from "./theme.interface-C5Kj6WjD.js";
55
- import "./theme-button-CGArg1pu.js";
56
- import { S as nt, t as St } from "./tooltip-C6HlAqs2.js";
57
- import { S as ht } from "./tree-CxJAr7G3.js";
55
+ import "./theme-button-pfkAwkvY.js";
56
+ import { S as nt, t as St } from "./tooltip-Doh_evJW.js";
57
+ import { S as ht } from "./tree-cl3PdPTy.js";
58
58
  import { SchmancyEvents as pt } from "./types.js";
59
- import { T as ft } from "./typewriter-D3QLAVdz.js";
60
- import { S as Ct } from "./typography-C8NCP_rr.js";
59
+ import { T as ft } from "./typewriter-peuqmq9f.js";
60
+ import { S as Ct } from "./typography-BkuzOZ0g.js";
61
61
  import { i as gt } from "./intersection-CJxzz8c-.js";
62
62
  import { N as Dt } from "./number-BhTiptLA.js";
63
63
  import { s as wt } from "./search-6Hr7K1gh.js";
@@ -1,18 +1,18 @@
1
- import { nothing as b, html as m, LitElement as x } from "lit";
1
+ import { nothing as f, html as m, LitElement as x } from "lit";
2
2
  import { property as a, query as k, state as c, customElement as w } from "lit/decorators.js";
3
- import { ifDefined as o } from "lit/directives/if-defined.js";
3
+ import { ifDefined as u } from "lit/directives/if-defined.js";
4
4
  import { createRef as E, ref as $ } from "lit/directives/ref.js";
5
5
  import { when as y } from "lit/directives/when.js";
6
- import { fromEvent as p, map as v, takeUntil as d, distinctUntilChanged as R, filter as f } from "rxjs";
6
+ import { fromEvent as l, takeUntil as o, map as g, distinctUntilChanged as R, filter as b } from "rxjs";
7
7
  import "lit/directives/class-map.js";
8
8
  import "lit/directives/style-map.js";
9
- import { S } from "./formField.mixin-3i7VOHMH.js";
10
- import "./tailwind.mixin-Cwbr8x57.js";
11
- var C = Object.defineProperty, V = Object.getOwnPropertyDescriptor, s = (t, e, n, r) => {
12
- for (var u, l = r > 1 ? void 0 : r ? V(e, n) : e, h = t.length - 1; h >= 0; h--) (u = t[h]) && (l = (r ? u(e, n, l) : u(l)) || l);
13
- return r && l && C(e, n, l), l;
9
+ import { S as C } from "./formField.mixin-DtegNyKv.js";
10
+ import "./tailwind.mixin-C13RR5x6.js";
11
+ var S = Object.defineProperty, V = Object.getOwnPropertyDescriptor, s = (t, e, n, r) => {
12
+ for (var d, p = r > 1 ? void 0 : r ? V(e, n) : e, h = t.length - 1; h >= 0; h--) (d = t[h]) && (p = (r ? d(e, n, p) : d(p)) || p);
13
+ return r && p && S(e, n, p), p;
14
14
  };
15
- let i = class extends S("/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */:host{width:100%;min-width:calc(var(--spacing,.25rem)*0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem)*0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem)*0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest)inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}") {
15
+ let i = class extends C("/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */:host{width:100%;min-width:calc(var(--spacing,.25rem)*0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem)*0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem)*0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest)inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}") {
16
16
  constructor() {
17
17
  super(...arguments), this.value = "", this.type = "text", this.placeholder = "", this.clickable = !1, this.spellcheck = !1, this.align = "left", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.size = "md", this.validateOn = "touched", this.inputRef = E(), this.isAutofilled = !1, this.touched = !1, this.dirty = !1, this.submitted = !1, this.defaultValue = "";
18
18
  }
@@ -28,9 +28,9 @@ let i = class extends S("/*! tailwindcss v4.1.11 | MIT License | https://tailwin
28
28
  setupFormIntegration() {
29
29
  this.form && (this.formResetObserver = new MutationObserver((t) => {
30
30
  for (const e of t) e.type === "attributes" && e.attributeName === "reset" && this.resetToDefault();
31
- }), this.formResetObserver.observe(this.form, { attributes: !0, childList: !1, subtree: !1 }), this.form.addEventListener("reset", () => {
31
+ }), this.formResetObserver.observe(this.form, { attributes: !0, childList: !1, subtree: !1 }), l(this.form, "reset").pipe(o(this.disconnecting)).subscribe(() => {
32
32
  this.resetToDefault();
33
- }), this.form.addEventListener("submit", () => {
33
+ }), l(this.form, "submit").pipe(o(this.disconnecting)).subscribe(() => {
34
34
  this.submitted = !0, this.validateInput(!0);
35
35
  }));
36
36
  }
@@ -38,20 +38,16 @@ let i = class extends S("/*! tailwindcss v4.1.11 | MIT License | https://tailwin
38
38
  if (this.id) {
39
39
  const t = () => {
40
40
  document.querySelectorAll(`label[for="${this.id}"]`).forEach((e) => {
41
- e.addEventListener("click", () => {
41
+ l(e, "click").pipe(o(this.disconnecting)).subscribe(() => {
42
42
  this.focus();
43
43
  });
44
44
  });
45
45
  };
46
- document.readyState === "complete" ? t() : document.addEventListener("DOMContentLoaded", t);
46
+ document.readyState === "complete" ? t() : l(document, "DOMContentLoaded").pipe(o(this.disconnecting)).subscribe(t);
47
47
  }
48
48
  }
49
49
  disconnectedCallback() {
50
- super.disconnectedCallback(), this.formResetObserver && this.formResetObserver.disconnect(), this.id && document.querySelectorAll(`label[for="${this.id}"]`).forEach((t) => {
51
- t.removeEventListener("click", () => {
52
- this.focus();
53
- });
54
- });
50
+ super.disconnectedCallback(), this.formResetObserver && this.formResetObserver.disconnect();
55
51
  }
56
52
  resetToDefault() {
57
53
  this.value = this.defaultValue, this.touched = !1, this.dirty = !1, this.submitted = !1, this.error = !1, this.validationMessage = "", this.dispatchEvent(new CustomEvent("reset", { bubbles: !0 }));
@@ -95,37 +91,37 @@ let i = class extends S("/*! tailwindcss v4.1.11 | MIT License | https://tailwin
95
91
  }, 0), this.setupInputEvents(), this.setupFocusBlurEvents(), this.setupAutofillDetection(), this.setupEnterKeyEvents();
96
92
  }
97
93
  setupInputEvents() {
98
- p(this.inputElement, "input").pipe(v((t) => {
94
+ l(this.inputElement, "input").pipe(g((t) => {
99
95
  const e = t;
100
96
  return { value: t.target.value, inputType: e.inputType, data: e.data, isComposing: e.isComposing, originalEvent: t };
101
- }), d(this.disconnecting)).subscribe((t) => {
97
+ }), o(this.disconnecting)).subscribe((t) => {
102
98
  this.value = t.value, this.dirty = this.value !== this.defaultValue;
103
99
  const e = new CustomEvent("input", { detail: { value: t.value }, bubbles: !0, composed: !0 });
104
100
  Object.defineProperties(e, { inputType: { value: t.inputType }, data: { value: t.data }, isComposing: { value: t.isComposing } }), this.dispatchEvent(e), this.validateInput();
105
- }), p(this.inputElement, "change").pipe(v((t) => t.target.value), R(), d(this.disconnecting)).subscribe((t) => {
101
+ }), l(this.inputElement, "change").pipe(g((t) => t.target.value), R(), o(this.disconnecting)).subscribe((t) => {
106
102
  this.value = t, this.dirty = this.value !== this.defaultValue, this.emitChange({ value: t }), this.validateInput();
107
103
  });
108
104
  }
109
105
  setupFocusBlurEvents() {
110
- p(this.inputElement, "focus").pipe(d(this.disconnecting)).subscribe((t) => {
106
+ l(this.inputElement, "focus").pipe(o(this.disconnecting)).subscribe((t) => {
111
107
  const e = new CustomEvent("focus", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
112
108
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
113
- }), p(this.inputElement, "blur").pipe(d(this.disconnecting)).subscribe((t) => {
109
+ }), l(this.inputElement, "blur").pipe(o(this.disconnecting)).subscribe((t) => {
114
110
  this.touched = !0, this.disabled || this.validateInput();
115
111
  const e = new CustomEvent("blur", { bubbles: t.bubbles, cancelable: t.cancelable, composed: t.composed });
116
112
  Object.defineProperties(e, { relatedTarget: { value: t.relatedTarget } }), this.dispatchEvent(e);
117
113
  });
118
114
  }
119
115
  setupAutofillDetection() {
120
- p(this.inputElement, "animationstart").pipe(f((t) => t.animationName === "onAutoFillStart"), d(this.disconnecting)).subscribe((t) => {
116
+ l(this.inputElement, "animationstart").pipe(b((t) => t.animationName === "onAutoFillStart"), o(this.disconnecting)).subscribe((t) => {
121
117
  const { value: e } = t.target;
122
118
  this.value = e, this.isAutofilled = !0, this.dirty = this.value !== this.defaultValue, this.dispatchEvent(new CustomEvent("autofill", { detail: { value: e }, bubbles: !0, composed: !0 })), this.emitChange({ value: e });
123
- }), p(this.inputElement, "animationstart").pipe(f((t) => t.animationName === "onAutoFillCancel"), d(this.disconnecting)).subscribe(() => {
119
+ }), l(this.inputElement, "animationstart").pipe(b((t) => t.animationName === "onAutoFillCancel"), o(this.disconnecting)).subscribe(() => {
124
120
  this.isAutofilled = !1;
125
121
  });
126
122
  }
127
123
  setupEnterKeyEvents() {
128
- p(this.inputElement, "keydown").pipe(f((t) => t.key === "Enter"), d(this.disconnecting)).subscribe((t) => {
124
+ l(this.inputElement, "keydown").pipe(b((t) => t.key === "Enter"), o(this.disconnecting)).subscribe((t) => {
129
125
  const { value: e } = t.target;
130
126
  this.value !== e && (this.value = e, this.dirty = this.value !== this.defaultValue), this.inputElement.blur();
131
127
  const n = new CustomEvent("enter", { detail: { value: this.value }, bubbles: !0, composed: !0 });
@@ -172,13 +168,13 @@ let i = class extends S("/*! tailwindcss v4.1.11 | MIT License | https://tailwin
172
168
  default:
173
169
  return { height: "50px", padding: "0 16px", fontSize: "1rem" };
174
170
  }
175
- })(), r = ["date", "datetime-local", "time", "month", "week"].includes(this.type), u = { "block w-full min-w-0 rounded-[8px] border-0 bg-surface-highest text-surface-on": !0, "outline-secondary-default focus:outline-1": !0, "disabled:opacity-40 disabled:cursor-not-allowed": !0, "placeholder:text-muted": !0, "ring-0 ring-inset focus:ring-1 focus:ring-inset": !0, "ring-secondary-default ring-outline focus:ring-secondary-default": !this.error, "ring-error-default focus:ring-error-default": this.error, "caret-transparent focus:outline-hidden cursor-pointer select-none": this.readonly, "cursor-pointer": this.clickable, "text-left": this.align === "left" || r, "text-center": this.align === "center" && !r, "text-right": this.align === "right" && !r, autofilled: this.isAutofilled }, l = { "block mb-1 font-medium": !0, "opacity-40": this.disabled, "text-sm": this.size === "sm", "text-base": this.size === "md", "text-lg": this.size === "lg", "text-primary-default": !this.error, "text-error-default": this.error }, h = { height: t, padding: e, fontSize: n, lineHeight: t };
171
+ })(), r = ["date", "datetime-local", "time", "month", "week"].includes(this.type), d = { "block w-full min-w-0 rounded-[8px] border-0 bg-surface-highest text-surface-on": !0, "outline-secondary-default focus:outline-1": !0, "disabled:opacity-40 disabled:cursor-not-allowed": !0, "placeholder:text-muted": !0, "ring-0 ring-inset focus:ring-1 focus:ring-inset": !0, "ring-secondary-default ring-outline focus:ring-secondary-default": !this.error, "ring-error-default focus:ring-error-default": this.error, "caret-transparent focus:outline-hidden cursor-pointer select-none": this.readonly, "cursor-pointer": this.clickable, "text-left": this.align === "left" || r, "text-center": this.align === "center" && !r, "text-right": this.align === "right" && !r, autofilled: this.isAutofilled }, p = { "block mb-1 font-medium": !0, "opacity-40": this.disabled, "text-sm": this.size === "sm", "text-base": this.size === "md", "text-lg": this.size === "lg", "text-primary-default": !this.error, "text-error-default": this.error }, h = { height: t, padding: e, fontSize: n, lineHeight: t };
176
172
  return m`
177
173
  <div class="w-full min-w-0 ${r ? "date-input-container" : ""}">
178
174
  ${y(this.label, () => m`
179
175
  <label
180
176
  for=${this.id}
181
- class=${this.classMap(l)}
177
+ class=${this.classMap(p)}
182
178
  >
183
179
  ${this.label}
184
180
  </label>
@@ -188,29 +184,29 @@ let i = class extends S("/*! tailwindcss v4.1.11 | MIT License | https://tailwin
188
184
  ${$(this.inputRef)}
189
185
  id=${this.id}
190
186
  name=${this.name}
191
- class=${this.classMap(u)}
187
+ class=${this.classMap(d)}
192
188
  style=${this.styleMap(h)}
193
189
  .value=${this.value}
194
190
  .type=${this.type}
195
191
  .autocomplete=${this.autocomplete}
196
192
  .spellcheck=${this.spellcheck}
197
193
  placeholder=${this.placeholder}
198
- inputmode=${o(this.inputmode)}
199
- pattern=${o(this.pattern)}
200
- step=${o(this.step)}
201
- minlength=${o(this.minlength)}
202
- maxlength=${o(this.maxlength)}
203
- min=${o(this.min)}
204
- max=${o(this.max)}
205
- list=${o(this.list)}
194
+ inputmode=${u(this.inputmode)}
195
+ pattern=${u(this.pattern)}
196
+ step=${u(this.step)}
197
+ minlength=${u(this.minlength)}
198
+ maxlength=${u(this.maxlength)}
199
+ min=${u(this.min)}
200
+ max=${u(this.max)}
201
+ list=${u(this.list)}
206
202
  ?required=${this.required}
207
203
  ?disabled=${this.disabled}
208
204
  ?readonly=${this.readonly}
209
205
  aria-invalid=${this.error ? "true" : "false"}
210
206
  aria-required=${this.required ? "true" : "false"}
211
- aria-labelledby=${this.label ? `label-${this.id}` : b}
212
- aria-describedby=${this.hint || this.validationMessage ? `hint-${this.id}` : b}
213
- aria-label=${o(this.label ? void 0 : this.placeholder || "Input")}
207
+ aria-labelledby=${this.label ? `label-${this.id}` : f}
208
+ aria-describedby=${this.hint || this.validationMessage ? `hint-${this.id}` : f}
209
+ aria-label=${u(this.label ? void 0 : this.placeholder || "Input")}
214
210
  />
215
211
 
216
212
  ${y(this.hint || this.error && this.validationMessage, () => m`
@@ -226,11 +222,11 @@ let i = class extends S("/*! tailwindcss v4.1.11 | MIT License | https://tailwin
226
222
  }
227
223
  };
228
224
  i._idCounter = 0, i.shadowRootOptions = { ...x.shadowRootOptions, delegatesFocus: !0 }, s([a({ type: String, reflect: !0 })], i.prototype, "value", 2), s([a({ reflect: !0 })], i.prototype, "type", 2), s([a()], i.prototype, "placeholder", 2), s([a({ type: String, reflect: !0 })], i.prototype, "pattern", 2), s([a({ type: Boolean, reflect: !0 })], i.prototype, "clickable", 2), s([a({ type: Boolean, reflect: !0 })], i.prototype, "spellcheck", 2), s([a({ type: String, reflect: !0 })], i.prototype, "align", 2), s([a()], i.prototype, "inputmode", 2), s([a({ type: Number, reflect: !0 })], i.prototype, "minlength", 2), s([a({ type: Number })], i.prototype, "maxlength", 2), s([a()], i.prototype, "min", 2), s([a()], i.prototype, "max", 2), s([a({ type: Number, reflect: !0 })], i.prototype, "step", 2), s([a({ type: Boolean })], i.prototype, "autofocus", 2), s([a({ type: String, reflect: !0 })], i.prototype, "autocomplete", 2), s([a({ type: Number, reflect: !0 })], i.prototype, "tabIndex", 2), s([a({ type: String, reflect: !0 })], i.prototype, "size", 2), s([a({ type: String })], i.prototype, "validateOn", 2), s([a({ type: String })], i.prototype, "list", 2), s([k("input")], i.prototype, "inputElement", 2), s([c()], i.prototype, "isAutofilled", 2), s([c()], i.prototype, "touched", 2), s([c()], i.prototype, "dirty", 2), s([c()], i.prototype, "submitted", 2), s([c()], i.prototype, "defaultValue", 2), i = s([w("schmancy-input")], i);
229
- let g = class extends i {
225
+ let v = class extends i {
230
226
  };
231
- g = s([w("sch-input")], g);
227
+ v = s([w("sch-input")], v);
232
228
  export {
233
229
  i as S,
234
- g as a
230
+ v as a
235
231
  };
236
- //# sourceMappingURL=input-Dre3bMuF.js.map
232
+ //# sourceMappingURL=input-D0c-WhDi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input-D0c-WhDi.js","sources":["../src/input/input.ts"],"sourcesContent":["import { html, LitElement, nothing, PropertyValueMap } from 'lit'\nimport { customElement, property, query, state } from 'lit/decorators.js'\nimport { ifDefined } from 'lit/directives/if-defined.js'\nimport { createRef, ref } from 'lit/directives/ref.js'\nimport { when } from 'lit/directives/when.js'\nimport { distinctUntilChanged, filter, fromEvent, map, takeUntil } from 'rxjs'\n\nimport { SchmancyFormField } from '@mixins/index'\n\n// Import styles\nimport style from './input.scss?inline'\n\n// If you want to be form-associated, define the type on `ElementInternals`.\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-input': SchmancyInput\n\t\t'sch-input': SchmancyInput\n\t}\n}\n\ntype EventDetails = {\n\tvalue: string\n}\n\n/**\n * Custom events the component may emit:\n * - 'input': on every keystroke\n * - 'change': on native blur/change\n * - 'enter': specifically when user presses Enter\n */\nexport type SchmancyInputInputEvent = CustomEvent<EventDetails>\nexport type SchmancyInputChangeEvent = CustomEvent<EventDetails>\nexport type SchmancyInputEnterEvent = CustomEvent<EventDetails>\n\n/**\n * Size variants for the input.\n * - sm: Small, compact input (40px height)\n * - md: Medium input (50px height, default)\n * - lg: Large, spacious input (60px height)\n */\nexport type InputSize = 'sm' | 'md' | 'lg'\n\n/**\n * Enhanced version of the SchmancyInput component with improved form integration\n * and compatibility with legacy API.\n *\n * This component uses the native form association API and maintains parity with\n * native input behaviors while providing a stylish, accessible interface.\n * \n * @prop {string} label - Label text for the form field (inherited from FormFieldMixin)\n * @prop {boolean} required - Whether the field is required (inherited from FormFieldMixin)\n * @prop {boolean} disabled - Whether the field is disabled (inherited from FormFieldMixin)\n * @prop {boolean} readonly - Whether the field is read-only (inherited from FormFieldMixin)\n * @prop {boolean} error - Whether the field is in an error state (inherited from FormFieldMixin)\n * @prop {string} validationMessage - The validation message to display (inherited from FormFieldMixin)\n * @prop {string} hint - Optional hint text to display below the field (inherited from FormFieldMixin)\n */\n@customElement('schmancy-input')\nexport default class SchmancyInput extends SchmancyFormField(style) {\n\t// ----------------------------\n\t// A) Public properties\n\t// ----------------------------\n\n\t/** Auto-incrementing counter for generating unique IDs */\n\tstatic _idCounter = 0\n\n\t/** Override value to be string only for input element */\n\t@property({ type: String, reflect: true })\n\tpublic override value = ''\n\n\n\t/**\n\t * The type of input. (e.g. 'text', 'password', 'email', etc.)\n\t */\n\t@property({ reflect: true })\n\tpublic type: HTMLInputElement['type'] = 'text'\n\n\n\t@property()\n\tpublic placeholder = ''\n\n\n\t/** Pattern validation attribute. */\n\t@property({ type: String, reflect: true })\n\tpublic pattern?: string\n\n\n\t/** If true, we visually show a pointer cursor even if readOnly. */\n\t@property({ type: Boolean, reflect: true }) public clickable = false\n\n\t/** Whether browser spellcheck is enabled. */\n\t@property({ type: Boolean, reflect: true })\n\tpublic spellcheck = false\n\n\t/**\n\t * Text alignment within the input.\n\t * - 'left' | 'center' | 'right'\n\t */\n\t@property({ type: String, reflect: true })\n\tpublic align: 'left' | 'center' | 'right' = 'left'\n\n\t/** inputmode attribute (affects on-screen keyboards in mobile). */\n\t@property()\n\tpublic inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url'\n\n\t@property({ type: Number, reflect: true })\n\tpublic minlength?: number\n\n\t@property({ type: Number })\n\tpublic maxlength?: number\n\n\t@property()\n\tpublic min?: string\n\n\t@property()\n\tpublic max?: string\n\n\t@property({ type: Number, reflect: true })\n\tpublic step?: number\n\n\t/** If true, auto-focus this input on first render. */\n\t@property({ type: Boolean })\n\tpublic autofocus = false\n\n\t/** Autocomplete/autofill hints. */\n\t@property({ type: String, reflect: true })\n\tpublic autocomplete: AutoFill = 'on'\n\n\t/**\n\t * tabIndex for focusing by tab key. Typically 0 or -1.\n\t */\n\t@property({ type: Number, reflect: true })\n\tpublic override tabIndex = 0\n\n\n\t/**\n\t * The size of the input.\n\t * - 'sm': Small, compact size\n\t * - 'md': Medium size (default)\n\t * - 'lg': Large size\n\t */\n\t@property({ type: String, reflect: true })\n\tpublic size: InputSize = 'md'\n\n\t/**\n\t * Controls when validation should show.\n\t * - 'always' - Always show validation\n\t * - 'touched' - Only show after field has been focused and then blurred\n\t * - 'dirty' - Only show after value has changed\n\t * - 'submitted' - Only show after form submission\n\t */\n\t@property({ type: String })\n\tpublic validateOn: 'always' | 'touched' | 'dirty' | 'submitted' = 'touched'\n\n\t/**\n\t * For datalist support\n\t */\n\t@property({ type: String })\n\tpublic list?: string\n\n\n\t// ----------------------------\n\t// B) Queries & Refs\n\t// ----------------------------\n\t@query('input') private inputElement!: HTMLInputElement\n\tprivate inputRef = createRef<HTMLInputElement>()\n\n\t// ----------------------------\n\t// C) Internal States\n\t// ----------------------------\n\n\t/**\n\t * For integration with browser's autofill support\n\t */\n\t@state()\n\tprivate isAutofilled = false\n\n\t/**\n\t * Track user interaction state for validation\n\t */\n\t@state()\n\tprivate touched = false\n\n\t@state()\n\tprivate dirty = false\n\n\t@state()\n\tprivate submitted = false\n\n\t/**\n\t * Store the default value for reset behavior\n\t */\n\t@state()\n\tprivate defaultValue = ''\n\n\t// ----------------------------\n\t// D) Form-associated logic\n\t// ----------------------------\n\tprotected static shadowRootOptions = {\n\t\t...LitElement.shadowRootOptions,\n\t\tdelegatesFocus: true, // so focus() goes to <input>\n\t}\n\n\tprivate formResetObserver?: MutationObserver\n\n\t/**\n\t * If user did not provide an ID, auto-generate one so <label for=\"...\">\n\t * and various aria-* attributes can reference it.\n\t */\n\tprotected override willUpdate(changedProps: PropertyValueMap<any> | Map<PropertyKey, unknown>) {\n\t\tif (!this.id) {\n\t\t\tthis.id = `sch-input-${SchmancyInput._idCounter++}`\n\t\t}\n\t\tsuper.willUpdate(changedProps)\n\t}\n\n\n\tprotected override updated(changedProps: Map<string, unknown>) {\n\t\tsuper.updated(changedProps)\n\n\t\t// Handle value changes\n\t\tif (changedProps.has('value')) {\n\t\t\t// If value changes from original default, mark as dirty\n\t\t\tif (this.value !== this.defaultValue) {\n\t\t\t\tthis.dirty = true\n\t\t\t}\n\n\t\t\t// Update validation state when value changes\n\t\t\tthis.validateInput()\n\t\t}\n\n\t\t// Store default value if this is the first update\n\t\tif (!this.hasUpdated && changedProps.has('value')) {\n\t\t\tthis.defaultValue = this.value\n\t\t}\n\t}\n\n\t/**\n\t * Connect to the closest form element and set up form integration\n\t */\n\tconnectedCallback() {\n\t\tsuper.connectedCallback()\n\n\t\t// Store initial default value for form reset\n\t\tthis.defaultValue = this.value\n\n\t\t// Set up form integration\n\t\tthis.setupFormIntegration()\n\n\t\t// Setup for external label association\n\t\tthis.setupExternalLabelAssociation()\n\t}\n\n\t/**\n\t * Set up form integration with ElementInternals\n\t */\n\tprivate setupFormIntegration() {\n\t\tif (this.form) {\n\t\t\t// Listen for form reset events\n\t\t\tthis.formResetObserver = new MutationObserver(mutations => {\n\t\t\t\tfor (const mutation of mutations) {\n\t\t\t\t\tif (mutation.type === 'attributes' && mutation.attributeName === 'reset') {\n\t\t\t\t\t\tthis.resetToDefault()\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})\n\n\t\t\t// Observe the form for reset events\n\t\t\tthis.formResetObserver.observe(this.form, {\n\t\t\t\tattributes: true,\n\t\t\t\tchildList: false,\n\t\t\t\tsubtree: false,\n\t\t\t})\n\n\t\t\t// Use RxJS for form reset events\n\t\t\tfromEvent(this.form, 'reset')\n\t\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t\t.subscribe(() => {\n\t\t\t\t\tthis.resetToDefault()\n\t\t\t\t})\n\n\t\t\t// Use RxJS for form submit events to mark field as submitted\n\t\t\tfromEvent(this.form, 'submit')\n\t\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t\t.subscribe(() => {\n\t\t\t\t\tthis.submitted = true\n\t\t\t\t\t// Validate on form submission\n\t\t\t\t\tthis.validateInput(true)\n\t\t\t\t})\n\t\t}\n\t}\n\n\t/**\n\t * Set up external label association for native HTML label support\n\t */\n\tprivate setupExternalLabelAssociation() {\n\t\tif (this.id) {\n\t\t\tconst setupLabelClickListener = () => {\n\t\t\t\tconst labels = document.querySelectorAll(`label[for=\"${this.id}\"]`)\n\t\t\t\tlabels.forEach(label => {\n\t\t\t\t\t// Use RxJS for label click events\n\t\t\t\t\tfromEvent(label, 'click')\n\t\t\t\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t\t\t\t.subscribe(() => {\n\t\t\t\t\t\t\tthis.focus()\n\t\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t}\n\n\t\t\t// Initialize after DOM is ready\n\t\t\tif (document.readyState === 'complete') {\n\t\t\t\tsetupLabelClickListener()\n\t\t\t} else {\n\t\t\t\t// Use RxJS for DOMContentLoaded event\n\t\t\t\tfromEvent(document, 'DOMContentLoaded')\n\t\t\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t\t\t.subscribe(setupLabelClickListener)\n\t\t\t}\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tsuper.disconnectedCallback()\n\n\t\t// Clean up the form observer\n\t\tif (this.formResetObserver) {\n\t\t\tthis.formResetObserver.disconnect()\n\t\t}\n\n\t\t// Note: RxJS subscriptions are automatically cleaned up via takeUntil(this.disconnecting)\n\t\t// No manual removeEventListener calls needed for RxJS-managed events\n\t}\n\n\t/**\n\t * Reset the input to its default state\n\t */\n\tprivate resetToDefault() {\n\t\tthis.value = this.defaultValue\n\t\tthis.touched = false\n\t\tthis.dirty = false\n\t\tthis.submitted = false\n\t\tthis.error = false\n\t\tthis.validationMessage = ''\n\t\tthis.dispatchEvent(new CustomEvent('reset', { bubbles: true }))\n\t}\n\n\t/**\n\t * Determines if validation errors should be shown based on current state\n\t * and validation strategy\n\t */\n\tprivate shouldShowValidation(forceValidation = false): boolean {\n\t\tif (forceValidation) return true\n\n\t\tswitch (this.validateOn) {\n\t\t\tcase 'always':\n\t\t\t\treturn true\n\t\t\tcase 'touched':\n\t\t\t\treturn this.touched\n\t\t\tcase 'dirty':\n\t\t\t\treturn this.dirty\n\t\t\tcase 'submitted':\n\t\t\t\treturn this.submitted\n\t\t\tdefault:\n\t\t\t\treturn this.touched\n\t\t}\n\t}\n\n\n\t/**\n\t * Validate input based on required, pattern, etc.\n\t * This mimics native validation behavior\n\t */\n\tprivate validateInput(forceValidation = false) {\n\t\t// Skip validation for disabled inputs\n\t\tif (this.disabled) return\n\n\t\t// Only show validation errors if we should based on the validation strategy\n\t\tconst shouldValidate = this.shouldShowValidation(forceValidation)\n\n\t\t// Get validity state from internal input if available\n\t\tconst validity: ValidityState = this.inputElement?.validity ?? {\n\t\t\tbadInput: false,\n\t\t\tcustomError: false,\n\t\t\tpatternMismatch: false,\n\t\t\trangeOverflow: false,\n\t\t\trangeUnderflow: false,\n\t\t\tstepMismatch: false,\n\t\t\ttooLong: false,\n\t\t\ttooShort: false,\n\t\t\ttypeMismatch: false,\n\t\t\tvalid: true,\n\t\t\tvalueMissing: false,\n\t\t}\n\n\t\t// Check if the input has an actual validation error (not a custom error)\n\t\tconst hasError = !validity.valid && !validity.customError\n\n\t\tif (shouldValidate && hasError) {\n\t\t\t// There's an error and we should show it\n\t\t\tthis.error = true\n\t\t\tthis.validationMessage = this.inputElement?.validationMessage || ''\n\t\t} else if (validity.valid) {\n\t\t\t// Input is valid, so clear the error state\n\t\t\tthis.error = false\n\n\t\t\t// Only clear validation message if there's no custom error\n\t\t\tif (!validity.customError) {\n\t\t\t\tthis.validationMessage = ''\n\t\t\t}\n\t\t} else if (!shouldValidate) {\n\t\t\t// We shouldn't show validation yet, so clear visual error state\n\t\t\tthis.error = false\n\t\t}\n\n\t\t// The mixin will handle updating internals based on error state\n\t}\n\n\t/**\n\t * Check validity without showing validation UI\n\t */\n\tpublic override checkValidity() {\n\t\t// Check internal input first\n\t\tconst inputValid = this.inputRef.value?.checkValidity() ?? true\n\n\t\t// Call parent implementation for basic validation\n\t\tconst parentValid = super.checkValidity()\n\n\t\treturn inputValid && parentValid\n\t}\n\n\t/**\n\t * Show validation UI and check validity\n\t */\n\tpublic override reportValidity() {\n\t\t// Mark as touched and submitted to show validation\n\t\tthis.touched = true\n\t\tthis.submitted = true\n\n\t\t// First check using native input\n\t\tconst inputValid = this.inputRef.value?.reportValidity() ?? true\n\n\t\t// Update our component's validation state with force=true\n\t\tthis.validateInput(true)\n\n\t\t// Call parent implementation\n\t\tconst parentValid = super.reportValidity()\n\n\t\treturn inputValid && parentValid\n\t}\n\n\t/**\n\t * Set a custom validation error message\n\t */\n\tpublic override setCustomValidity(message: string) {\n\t\t// Set on the native input\n\t\tif (this.inputRef.value) {\n\t\t\tthis.inputRef.value.setCustomValidity(message)\n\t\t}\n\n\t\t// Call parent implementation\n\t\tsuper.setCustomValidity(message)\n\t\t\n\t\t// Update error state based on validation strategy\n\t\tthis.error = message !== '' && this.shouldShowValidation()\n\t}\n\n\t// ----------------------------\n\t// E) Lifecycle Hooks & Event Handlers\n\t// ----------------------------\n\tfirstUpdated() {\n\t\t// Autofocus if desired\n\t\tif (this.autofocus) {\n\t\t\t// Use setTimeout to match browser behavior - autofocus happens after initial rendering\n\t\t\tsetTimeout(() => {\n\t\t\t\tthis.focus()\n\t\t\t}, 0)\n\t\t}\n\n\t\t// Subscribe to input events\n\t\tthis.setupInputEvents()\n\t\tthis.setupFocusBlurEvents()\n\t\tthis.setupAutofillDetection()\n\t\tthis.setupEnterKeyEvents()\n\t}\n\n\t/**\n\t * Set up input event handling for value changes\n\t */\n\tprivate setupInputEvents() {\n\t\tfromEvent<InputEvent>(this.inputElement, 'input')\n\t\t\t.pipe(\n\t\t\t\tmap(ev => {\n\t\t\t\t\t// Capture all input event properties for complete event forwarding\n\t\t\t\t\tconst inputEvent = ev as InputEvent\n\t\t\t\t\tconst target = ev.target as HTMLInputElement\n\t\t\t\t\treturn {\n\t\t\t\t\t\tvalue: target.value,\n\t\t\t\t\t\tinputType: inputEvent.inputType,\n\t\t\t\t\t\tdata: inputEvent.data,\n\t\t\t\t\t\tisComposing: inputEvent.isComposing,\n\t\t\t\t\t\toriginalEvent: ev,\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t)\n\t\t\t.subscribe(eventData => {\n\t\t\t\t// Update component value\n\t\t\t\tthis.value = eventData.value\n\n\t\t\t\t// Mark as dirty when user types\n\t\t\t\tthis.dirty = this.value !== this.defaultValue\n\n\t\t\t\t// Fire custom 'input' event with extended details\n\t\t\t\tconst customEvent = new CustomEvent<EventDetails>('input', {\n\t\t\t\t\tdetail: { value: eventData.value },\n\t\t\t\t\tbubbles: true,\n\t\t\t\t\tcomposed: true,\n\t\t\t\t})\n\n\t\t\t\t// Add additional properties to match native events more closely\n\t\t\t\tObject.defineProperties(customEvent, {\n\t\t\t\t\tinputType: { value: eventData.inputType },\n\t\t\t\t\tdata: { value: eventData.data },\n\t\t\t\t\tisComposing: { value: eventData.isComposing },\n\t\t\t\t})\n\n\t\t\t\tthis.dispatchEvent(customEvent)\n\n\t\t\t\t// REMOVED: Duplicate change event dispatch that was here\n\t\t\t\t// Run validation like native inputs do on input, but respect the validation strategy\n\t\t\t\tthis.validateInput()\n\t\t\t})\n\n\t\t// Subscribe to native change events (usually on blur)\n\t\tfromEvent<Event>(this.inputElement, 'change')\n\t\t\t.pipe(\n\t\t\t\tmap(ev => (ev.target as HTMLInputElement).value),\n\t\t\t\tdistinctUntilChanged(),\n\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t)\n\t\t\t.subscribe(value => {\n\t\t\t\tthis.value = value\n\t\t\t\tthis.dirty = this.value !== this.defaultValue\n\n\t\t\t\t// Fire regular change event using mixin helper\n\t\t\t\tthis.emitChange({ value })\n\n\t\t\t\t// Run validation on change like native inputs\n\t\t\t\tthis.validateInput()\n\t\t\t})\n\t}\n\n\t/**\n\t * Set up focus/blur event handling\n\t */\n\tprivate setupFocusBlurEvents() {\n\t\tfromEvent<FocusEvent>(this.inputElement, 'focus')\n\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t.subscribe(ev => {\n\t\t\t\t// Create a custom focus event that includes standard props\n\t\t\t\tconst focusEvent = new CustomEvent('focus', {\n\t\t\t\t\tbubbles: ev.bubbles,\n\t\t\t\t\tcancelable: ev.cancelable,\n\t\t\t\t\tcomposed: ev.composed,\n\t\t\t\t})\n\n\t\t\t\t// Add focus-specific properties\n\t\t\t\tObject.defineProperties(focusEvent, {\n\t\t\t\t\trelatedTarget: { value: ev.relatedTarget },\n\t\t\t\t})\n\n\t\t\t\tthis.dispatchEvent(focusEvent)\n\t\t\t})\n\n\t\tfromEvent<FocusEvent>(this.inputElement, 'blur')\n\t\t\t.pipe(takeUntil(this.disconnecting))\n\t\t\t.subscribe(ev => {\n\t\t\t\t// Mark as touched when field loses focus\n\t\t\t\tthis.touched = true\n\n\t\t\t\t// Run validation on blur like native inputs, respecting validation strategy\n\t\t\t\tif (!this.disabled) {\n\t\t\t\t\tthis.validateInput()\n\t\t\t\t}\n\n\t\t\t\t// Create a custom blur event that includes standard props\n\t\t\t\tconst blurEvent = new CustomEvent('blur', {\n\t\t\t\t\tbubbles: ev.bubbles,\n\t\t\t\t\tcancelable: ev.cancelable,\n\t\t\t\t\tcomposed: ev.composed,\n\t\t\t\t})\n\n\t\t\t\t// Add blur-specific properties\n\t\t\t\tObject.defineProperties(blurEvent, {\n\t\t\t\t\trelatedTarget: { value: ev.relatedTarget },\n\t\t\t\t})\n\n\t\t\t\tthis.dispatchEvent(blurEvent)\n\t\t\t})\n\t}\n\n\t/**\n\t * Set up autofill detection\n\t */\n\tprivate setupAutofillDetection() {\n\t\t// Detect autofill animation (Chrome, etc.)\n\t\tfromEvent<AnimationEvent>(this.inputElement, 'animationstart')\n\t\t\t.pipe(\n\t\t\t\tfilter(ev => ev.animationName === 'onAutoFillStart'),\n\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t)\n\t\t\t.subscribe(ev => {\n\t\t\t\tconst { value } = ev.target as HTMLInputElement\n\t\t\t\tthis.value = value\n\t\t\t\tthis.isAutofilled = true\n\t\t\t\tthis.dirty = this.value !== this.defaultValue\n\n\t\t\t\t// Dispatch autofill event for integration with autofill systems\n\t\t\t\tthis.dispatchEvent(\n\t\t\t\t\tnew CustomEvent('autofill', {\n\t\t\t\t\t\tdetail: { value },\n\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\tcomposed: true,\n\t\t\t\t\t}),\n\t\t\t\t)\n\n\t\t\t\t// Also propagate as a change event like browsers do\n\t\t\t\tthis.emitChange({ value })\n\t\t\t})\n\n\t\t// Detect end of autofill (Chrome)\n\t\tfromEvent<AnimationEvent>(this.inputElement, 'animationstart')\n\t\t\t.pipe(\n\t\t\t\tfilter(ev => ev.animationName === 'onAutoFillCancel'),\n\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t)\n\t\t\t.subscribe(() => {\n\t\t\t\tthis.isAutofilled = false\n\t\t\t})\n\t}\n\n\t/**\n\t * Set up enter key event handling\n\t */\n\tprivate setupEnterKeyEvents() {\n\t\t// Listen for Enter on keydown\n\t\tfromEvent<KeyboardEvent>(this.inputElement, 'keydown')\n\t\t\t.pipe(\n\t\t\t\tfilter(ev => ev.key === 'Enter'),\n\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t)\n\t\t\t.subscribe(ev => {\n\t\t\t\tconst { value } = ev.target as HTMLInputElement\n\t\t\t\t\n\t\t\t\t// Update value if changed\n\t\t\t\tif (this.value !== value) {\n\t\t\t\t\tthis.value = value\n\t\t\t\t\tthis.dirty = this.value !== this.defaultValue\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\t// Blur the input to trigger change event naturally\n\t\t\t\t// This mimics what happens when you tab out of the field\n\t\t\t\tthis.inputElement.blur()\n\n\t\t\t\t// Dispatch enhanced enter event\n\t\t\t\tconst enterEvent = new CustomEvent<EventDetails>('enter', {\n\t\t\t\t\tdetail: { value: this.value },\n\t\t\t\t\tbubbles: true,\n\t\t\t\t\tcomposed: true,\n\t\t\t\t})\n\n\t\t\t\t// Add extra keyboard event props\n\t\t\t\tObject.defineProperties(enterEvent, {\n\t\t\t\t\tkey: { value: 'Enter' },\n\t\t\t\t\tcode: { value: 'Enter' },\n\t\t\t\t\tkeyCode: { value: 13 },\n\t\t\t\t\twhich: { value: 13 },\n\t\t\t\t})\n\n\t\t\t\tthis.dispatchEvent(enterEvent)\n\t\t\t})\n\t}\n\n\t// ----------------------------\n\t// F) Utility Methods\n\t// ----------------------------\n\t/** Selects all text within the input. */\n\tpublic select() {\n\t\treturn this.inputRef.value?.select()\n\t}\n\n\t/** Returns the native validity state of the inner <input>. */\n\tpublic getValidity(): ValidityState | undefined {\n\t\treturn this.inputRef.value?.validity\n\t}\n\n\t/**\n\t * Sets the selection range. Mirrors native input.setSelectionRange\n\t */\n\tpublic setSelectionRange(start: number, end: number, direction?: 'forward' | 'backward' | 'none') {\n\t\tthis.inputRef.value?.setSelectionRange(start, end, direction)\n\t}\n\n\t/**\n\t * Returns the selected text within the input (start position)\n\t */\n\tpublic get selectionStart(): number | null {\n\t\treturn this.inputRef.value?.selectionStart ?? null\n\t}\n\n\t/**\n\t * Returns the selected text within the input (end position)\n\t */\n\tpublic get selectionEnd(): number | null {\n\t\treturn this.inputRef.value?.selectionEnd ?? null\n\t}\n\n\t/**\n\t * Returns the direction of selection\n\t */\n\tpublic get selectionDirection(): 'forward' | 'backward' | 'none' | null {\n\t\treturn this.inputRef.value?.selectionDirection ?? null\n\t}\n\n\t/**\n\t * Sets the range of text to be selected.\n\t */\n\tpublic setRangeText(\n\t\treplacement: string,\n\t\tstart?: number,\n\t\tend?: number,\n\t\tselectMode?: 'select' | 'start' | 'end' | 'preserve',\n\t) {\n\t\tif (start !== undefined && end !== undefined) {\n\t\t\tthis.inputRef.value?.setRangeText(replacement, start, end, selectMode)\n\t\t} else {\n\t\t\tthis.inputRef.value?.setRangeText(replacement)\n\t\t}\n\t}\n\n\t/**\n\t * Override to forward focus to the internal <input>.\n\t * Also dispatch a 'focus' event for external listeners.\n\t */\n\tpublic override focus(options?: FocusOptions) {\n\t\tthis.inputRef.value?.focus(options)\n\t\tthis.dispatchEvent(new Event('focus'))\n\t}\n\n\t/**\n\t * Override to forward clicks to the internal <input>.\n\t * Also dispatch a 'click' event for external listeners.\n\t */\n\tpublic override click() {\n\t\tthis.inputRef.value?.click()\n\t\tthis.dispatchEvent(new Event('click'))\n\t}\n\n\t/** Forward blur to the internal <input>. */\n\tpublic override blur() {\n\t\tthis.inputRef.value?.blur()\n\t\tthis.dispatchEvent(new Event('blur'))\n\t}\n\n\t// ----------------------------\n\t// G) Rendering\n\t// ----------------------------\n\tprotected override render() {\n\t\t// Determine height and padding based on size\n\t\tconst getHeightAndPadding = () => {\n\t\t\tswitch (this.size) {\n\t\t\t\tcase 'sm':\n\t\t\t\t\treturn {\n\t\t\t\t\t\theight: '40px',\n\t\t\t\t\t\tpadding: '0 8px',\n\t\t\t\t\t\tfontSize: '0.875rem', // 14px\n\t\t\t\t\t}\n\t\t\t\tcase 'lg':\n\t\t\t\t\treturn {\n\t\t\t\t\t\theight: '60px',\n\t\t\t\t\t\tpadding: '0 20px',\n\t\t\t\t\t\tfontSize: '1.125rem', // 18px\n\t\t\t\t\t}\n\t\t\t\tcase 'md':\n\t\t\t\tdefault:\n\t\t\t\t\treturn {\n\t\t\t\t\t\theight: '50px',\n\t\t\t\t\t\tpadding: '0 16px',\n\t\t\t\t\t\tfontSize: '1rem', // 16px\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst { height, padding, fontSize } = getHeightAndPadding()\n\n\t\t// Check if it's a date-type input\n\t\tconst isDateType = ['date', 'datetime-local', 'time', 'month', 'week'].includes(this.type)\n\n\t\tconst inputClasses = {\n\t\t\t// Base styles\n\t\t\t'block w-full min-w-0 rounded-[8px] border-0 bg-surface-highest text-surface-on': true,\n\t\t\t// Focus styles\n\t\t\t'outline-secondary-default focus:outline-1': true,\n\t\t\t// Disabled styles\n\t\t\t'disabled:opacity-40 disabled:cursor-not-allowed': true,\n\t\t\t// Placeholder\n\t\t\t'placeholder:text-muted': true,\n\t\t\t// Ring styles\n\t\t\t'ring-0 ring-inset focus:ring-1 focus:ring-inset': true,\n\t\t\t// Ring colors based on error state\n\t\t\t'ring-secondary-default ring-outline focus:ring-secondary-default': !this.error,\n\t\t\t'ring-error-default focus:ring-error-default': this.error,\n\t\t\t// Readonly styles\n\t\t\t'caret-transparent focus:outline-hidden cursor-pointer select-none': this.readonly,\n\t\t\t'cursor-pointer': this.clickable,\n\t\t\t// Text alignment (date inputs always left-aligned)\n\t\t\t'text-left': this.align === 'left' || isDateType,\n\t\t\t'text-center': this.align === 'center' && !isDateType,\n\t\t\t'text-right': this.align === 'right' && !isDateType,\n\t\t\t// Autofill\n\t\t\tautofilled: this.isAutofilled,\n\t\t}\n\n\t\tconst labelClasses = {\n\t\t\t'block mb-1 font-medium': true,\n\t\t\t'opacity-40': this.disabled,\n\t\t\t'text-sm': this.size === 'sm',\n\t\t\t'text-base': this.size === 'md',\n\t\t\t'text-lg': this.size === 'lg',\n\t\t\t'text-primary-default': !this.error,\n\t\t\t'text-error-default': this.error,\n\t\t}\n\n\t\tconst styles = {\n\t\t\theight,\n\t\t\tpadding,\n\t\t\tfontSize,\n\t\t\t// Ensure vertical centering for all input types\n\t\t\tlineHeight: height,\n\t\t}\n\n\t\t/**\n\t\t * - If `this.label` is present, we render a proper `<label for=\"${this.id}\">`.\n\t\t * - If not, we add an aria-label to the <input> for better accessibility.\n\t\t * - If there's a `hint`, we reference it via aria-describedby.\n\t\t * - If there's an error, we set aria-invalid and could set aria-errormessage.\n\t\t */\n\t\treturn html`\n\t\t\t<div class=\"w-full min-w-0 ${isDateType ? 'date-input-container' : ''}\">\n\t\t\t\t${when(\n\t\t\t\t\tthis.label,\n\t\t\t\t\t() => html`\n\t\t\t\t\t\t<label\n\t\t\t\t\t\t\tfor=${this.id}\n\t\t\t\t\t\t\tclass=${this.classMap(labelClasses)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${this.label}\n\t\t\t\t\t\t</label>\n\t\t\t\t\t`,\n\t\t\t\t)}\n\n\t\t\t\t<input\n\t\t\t\t\t${ref(this.inputRef)}\n\t\t\t\t\tid=${this.id}\n\t\t\t\t\tname=${this.name}\n\t\t\t\t\tclass=${this.classMap(inputClasses)}\n\t\t\t\t\tstyle=${this.styleMap(styles)}\n\t\t\t\t\t.value=${this.value}\n\t\t\t\t\t.type=${this.type}\n\t\t\t\t\t.autocomplete=${this.autocomplete}\n\t\t\t\t\t.spellcheck=${this.spellcheck}\n\t\t\t\t\tplaceholder=${this.placeholder}\n\t\t\t\t\tinputmode=${ifDefined(this.inputmode)}\n\t\t\t\t\tpattern=${ifDefined(this.pattern)}\n\t\t\t\t\tstep=${ifDefined(this.step)}\n\t\t\t\t\tminlength=${ifDefined(this.minlength)}\n\t\t\t\t\tmaxlength=${ifDefined(this.maxlength)}\n\t\t\t\t\tmin=${ifDefined(this.min)}\n\t\t\t\t\tmax=${ifDefined(this.max)}\n\t\t\t\t\tlist=${ifDefined(this.list)}\n\t\t\t\t\t?required=${this.required}\n\t\t\t\t\t?disabled=${this.disabled}\n\t\t\t\t\t?readonly=${this.readonly}\n\t\t\t\t\taria-invalid=${this.error ? 'true' : 'false'}\n\t\t\t\t\taria-required=${this.required ? 'true' : 'false'}\n\t\t\t\t\taria-labelledby=${this.label ? `label-${this.id}` : nothing}\n\t\t\t\t\taria-describedby=${this.hint || this.validationMessage ? `hint-${this.id}` : nothing}\n\t\t\t\t\taria-label=${ifDefined(!this.label ? this.placeholder || 'Input' : undefined)}\n\t\t\t\t/>\n\n\t\t\t\t${when(\n\t\t\t\t\tthis.hint || (this.error && this.validationMessage),\n\t\t\t\t\t() => html`\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tid=\"hint-${this.id}\"\n\t\t\t\t\t\t\tclass=\"mt-1 text-sm ${this.error ? 'text-error-default' : 'text-surface-onVariant'}\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t${this.error && this.validationMessage ? this.validationMessage : this.hint}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t`,\n\t\t\t\t)}\n\t\t\t</div>\n\t\t`\n\t}\n}\n\n/**\n * Register the component with the legacy tag name for backward compatibility\n * @prop {string} label - Label text for the form field (inherited from FormFieldMixin)\n * @prop {boolean} required - Whether the field is required (inherited from FormFieldMixin)\n * @prop {boolean} disabled - Whether the field is disabled (inherited from FormFieldMixin)\n * @prop {boolean} readonly - Whether the field is read-only (inherited from FormFieldMixin)\n * @prop {boolean} error - Whether the field is in an error state (inherited from FormFieldMixin)\n * @prop {string} validationMessage - The validation message to display (inherited from FormFieldMixin)\n * @prop {string} hint - Optional hint text to display below the field (inherited from FormFieldMixin)\n */\n@customElement('sch-input')\nexport class SchmancyInputCompat extends SchmancyInput {}\n"],"names":["SchmancyInput","SchmancyFormField","constructor","super","arguments","this","value","type","placeholder","clickable","spellcheck","align","autofocus","autocomplete","tabIndex","size","validateOn","inputRef","createRef","isAutofilled","touched","dirty","submitted","defaultValue","changedProps","id","_idCounter","willUpdate","updated","has","validateInput","hasUpdated","connectedCallback","setupFormIntegration","setupExternalLabelAssociation","form","formResetObserver","MutationObserver","mutations","mutation","attributeName","resetToDefault","observe","attributes","childList","subtree","fromEvent","pipe","takeUntil","disconnecting","subscribe","setupLabelClickListener","document","querySelectorAll","forEach","label","focus","readyState","disconnectedCallback","disconnect","error","validationMessage","dispatchEvent","CustomEvent","bubbles","forceValidation","disabled","shouldValidate","shouldShowValidation","validity","inputElement","customError","valid","hasError","checkValidity","inputValid","parentValid","reportValidity","message","setCustomValidity","firstUpdated","setTimeout","setupInputEvents","setupFocusBlurEvents","setupAutofillDetection","setupEnterKeyEvents","map","ev","inputEvent","target","inputType","data","isComposing","originalEvent","eventData","customEvent","detail","composed","Object","defineProperties","distinctUntilChanged","emitChange","focusEvent","cancelable","relatedTarget","blurEvent","filter","animationName","key","blur","enterEvent","code","keyCode","which","select","getValidity","start","end","direction","setSelectionRange","selectionStart","selectionEnd","selectionDirection","replacement","selectMode","setRangeText","options","Event","click","render","height","padding","fontSize","getHeightAndPadding","isDateType","includes","inputClasses","readonly","autofilled","labelClasses","styles","lineHeight","html","when","classMap","ref","name","styleMap","ifDefined","inputmode","pattern","step","minlength","maxlength","min","max","list","required","nothing","hint","shadowRootOptions","LitElement","delegatesFocus","__decorateClass","property","String","reflect","prototype","Boolean","Number","query","state","customElement","SchmancyInputCompat"],"mappings":";;;;;;;;;;;;;;AA0DA,IAAqBA,IAArB,cAA2CC;EAA3C,cAAAC;AAAAC,UAAAA,GAAAC,SAAAA,GAUCC,KAAgBC,QAAQ,IAOxBD,KAAOE,OAAiC,QAIxCF,KAAOG,cAAc,IASuBH,KAAOI,gBAInDJ,KAAOK,aAAAA,IAOPL,KAAOM,QAAqC,QAuB5CN,KAAOO,YAAAA,IAIPP,KAAOQ,eAAyB,MAMhCR,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@@ -0,0 +1,51 @@
1
+ "use strict";const l=require("lit"),n=require("lit/decorators.js"),o=require("lit/directives/if-defined.js"),d=require("lit/directives/ref.js"),h=require("lit/directives/when.js"),i=require("rxjs");require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const m=require("./formField.mixin-CSy0dZ7Q.cjs");require("./tailwind.mixin-O9jmUJ7m.cjs");var y=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a=(t,e,s,r)=>{for(var u,p=r>1?void 0:r?f(e,s):e,c=t.length-1;c>=0;c--)(u=t[c])&&(p=(r?u(e,s,p):u(p))||p);return r&&p&&y(e,s,p),p};exports.SchmancyInput=class extends m.SchmancyFormField("/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */:host{width:100%;min-width:calc(var(--spacing,.25rem)*0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem)*0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem)*0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest)inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}"){constructor(){super(...arguments),this.value="",this.type="text",this.placeholder="",this.clickable=!1,this.spellcheck=!1,this.align="left",this.autofocus=!1,this.autocomplete="on",this.tabIndex=0,this.size="md",this.validateOn="touched",this.inputRef=d.createRef(),this.isAutofilled=!1,this.touched=!1,this.dirty=!1,this.submitted=!1,this.defaultValue=""}willUpdate(t){this.id||(this.id="sch-input-"+exports.SchmancyInput._idCounter++),super.willUpdate(t)}updated(t){super.updated(t),t.has("value")&&(this.value!==this.defaultValue&&(this.dirty=!0),this.validateInput()),!this.hasUpdated&&t.has("value")&&(this.defaultValue=this.value)}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value,this.setupFormIntegration(),this.setupExternalLabelAssociation()}setupFormIntegration(){this.form&&(this.formResetObserver=new MutationObserver(t=>{for(const e of t)e.type==="attributes"&&e.attributeName==="reset"&&this.resetToDefault()}),this.formResetObserver.observe(this.form,{attributes:!0,childList:!1,subtree:!1}),i.fromEvent(this.form,"reset").pipe(i.takeUntil(this.disconnecting)).subscribe(()=>{this.resetToDefault()}),i.fromEvent(this.form,"submit").pipe(i.takeUntil(this.disconnecting)).subscribe(()=>{this.submitted=!0,this.validateInput(!0)}))}setupExternalLabelAssociation(){if(this.id){const t=()=>{document.querySelectorAll(`label[for="${this.id}"]`).forEach(e=>{i.fromEvent(e,"click").pipe(i.takeUntil(this.disconnecting)).subscribe(()=>{this.focus()})})};document.readyState==="complete"?t():i.fromEvent(document,"DOMContentLoaded").pipe(i.takeUntil(this.disconnecting)).subscribe(t)}}disconnectedCallback(){super.disconnectedCallback(),this.formResetObserver&&this.formResetObserver.disconnect()}resetToDefault(){this.value=this.defaultValue,this.touched=!1,this.dirty=!1,this.submitted=!1,this.error=!1,this.validationMessage="",this.dispatchEvent(new CustomEvent("reset",{bubbles:!0}))}shouldShowValidation(t=!1){if(t)return!0;switch(this.validateOn){case"always":return!0;case"touched":default:return this.touched;case"dirty":return this.dirty;case"submitted":return this.submitted}}validateInput(t=!1){if(this.disabled)return;const e=this.shouldShowValidation(t),s=this.inputElement?.validity??{customError:!1,valid:!0},r=!s.valid&&!s.customError;e&&r?(this.error=!0,this.validationMessage=this.inputElement?.validationMessage||""):s.valid?(this.error=!1,s.customError||(this.validationMessage="")):e||(this.error=!1)}checkValidity(){const t=this.inputRef.value?.checkValidity()??!0,e=super.checkValidity();return t&&e}reportValidity(){this.touched=!0,this.submitted=!0;const t=this.inputRef.value?.reportValidity()??!0;this.validateInput(!0);const e=super.reportValidity();return t&&e}setCustomValidity(t){this.inputRef.value&&this.inputRef.value.setCustomValidity(t),super.setCustomValidity(t),this.error=t!==""&&this.shouldShowValidation()}firstUpdated(){this.autofocus&&setTimeout(()=>{this.focus()},0),this.setupInputEvents(),this.setupFocusBlurEvents(),this.setupAutofillDetection(),this.setupEnterKeyEvents()}setupInputEvents(){i.fromEvent(this.inputElement,"input").pipe(i.map(t=>{const e=t;return{value:t.target.value,inputType:e.inputType,data:e.data,isComposing:e.isComposing,originalEvent:t}}),i.takeUntil(this.disconnecting)).subscribe(t=>{this.value=t.value,this.dirty=this.value!==this.defaultValue;const e=new CustomEvent("input",{detail:{value:t.value},bubbles:!0,composed:!0});Object.defineProperties(e,{inputType:{value:t.inputType},data:{value:t.data},isComposing:{value:t.isComposing}}),this.dispatchEvent(e),this.validateInput()}),i.fromEvent(this.inputElement,"change").pipe(i.map(t=>t.target.value),i.distinctUntilChanged(),i.takeUntil(this.disconnecting)).subscribe(t=>{this.value=t,this.dirty=this.value!==this.defaultValue,this.emitChange({value:t}),this.validateInput()})}setupFocusBlurEvents(){i.fromEvent(this.inputElement,"focus").pipe(i.takeUntil(this.disconnecting)).subscribe(t=>{const e=new CustomEvent("focus",{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed});Object.defineProperties(e,{relatedTarget:{value:t.relatedTarget}}),this.dispatchEvent(e)}),i.fromEvent(this.inputElement,"blur").pipe(i.takeUntil(this.disconnecting)).subscribe(t=>{this.touched=!0,this.disabled||this.validateInput();const e=new CustomEvent("blur",{bubbles:t.bubbles,cancelable:t.cancelable,composed:t.composed});Object.defineProperties(e,{relatedTarget:{value:t.relatedTarget}}),this.dispatchEvent(e)})}setupAutofillDetection(){i.fromEvent(this.inputElement,"animationstart").pipe(i.filter(t=>t.animationName==="onAutoFillStart"),i.takeUntil(this.disconnecting)).subscribe(t=>{const{value:e}=t.target;this.value=e,this.isAutofilled=!0,this.dirty=this.value!==this.defaultValue,this.dispatchEvent(new CustomEvent("autofill",{detail:{value:e},bubbles:!0,composed:!0})),this.emitChange({value:e})}),i.fromEvent(this.inputElement,"animationstart").pipe(i.filter(t=>t.animationName==="onAutoFillCancel"),i.takeUntil(this.disconnecting)).subscribe(()=>{this.isAutofilled=!1})}setupEnterKeyEvents(){i.fromEvent(this.inputElement,"keydown").pipe(i.filter(t=>t.key==="Enter"),i.takeUntil(this.disconnecting)).subscribe(t=>{const{value:e}=t.target;this.value!==e&&(this.value=e,this.dirty=this.value!==this.defaultValue),this.inputElement.blur();const s=new CustomEvent("enter",{detail:{value:this.value},bubbles:!0,composed:!0});Object.defineProperties(s,{key:{value:"Enter"},code:{value:"Enter"},keyCode:{value:13},which:{value:13}}),this.dispatchEvent(s)})}select(){return this.inputRef.value?.select()}getValidity(){return this.inputRef.value?.validity}setSelectionRange(t,e,s){this.inputRef.value?.setSelectionRange(t,e,s)}get selectionStart(){return this.inputRef.value?.selectionStart??null}get selectionEnd(){return this.inputRef.value?.selectionEnd??null}get selectionDirection(){return this.inputRef.value?.selectionDirection??null}setRangeText(t,e,s,r){e!==void 0&&s!==void 0?this.inputRef.value?.setRangeText(t,e,s,r):this.inputRef.value?.setRangeText(t)}focus(t){this.inputRef.value?.focus(t),this.dispatchEvent(new Event("focus"))}click(){this.inputRef.value?.click(),this.dispatchEvent(new Event("click"))}blur(){this.inputRef.value?.blur(),this.dispatchEvent(new Event("blur"))}render(){const{height:t,padding:e,fontSize:s}=(()=>{switch(this.size){case"sm":return{height:"40px",padding:"0 8px",fontSize:"0.875rem"};case"lg":return{height:"60px",padding:"0 20px",fontSize:"1.125rem"};default:return{height:"50px",padding:"0 16px",fontSize:"1rem"}}})(),r=["date","datetime-local","time","month","week"].includes(this.type),u={"block w-full min-w-0 rounded-[8px] border-0 bg-surface-highest text-surface-on":!0,"outline-secondary-default focus:outline-1":!0,"disabled:opacity-40 disabled:cursor-not-allowed":!0,"placeholder:text-muted":!0,"ring-0 ring-inset focus:ring-1 focus:ring-inset":!0,"ring-secondary-default ring-outline focus:ring-secondary-default":!this.error,"ring-error-default focus:ring-error-default":this.error,"caret-transparent focus:outline-hidden cursor-pointer select-none":this.readonly,"cursor-pointer":this.clickable,"text-left":this.align==="left"||r,"text-center":this.align==="center"&&!r,"text-right":this.align==="right"&&!r,autofilled:this.isAutofilled},p={"block mb-1 font-medium":!0,"opacity-40":this.disabled,"text-sm":this.size==="sm","text-base":this.size==="md","text-lg":this.size==="lg","text-primary-default":!this.error,"text-error-default":this.error},c={height:t,padding:e,fontSize:s,lineHeight:t};return l.html`
2
+ <div class="w-full min-w-0 ${r?"date-input-container":""}">
3
+ ${h.when(this.label,()=>l.html`
4
+ <label
5
+ for=${this.id}
6
+ class=${this.classMap(p)}
7
+ >
8
+ ${this.label}
9
+ </label>
10
+ `)}
11
+
12
+ <input
13
+ ${d.ref(this.inputRef)}
14
+ id=${this.id}
15
+ name=${this.name}
16
+ class=${this.classMap(u)}
17
+ style=${this.styleMap(c)}
18
+ .value=${this.value}
19
+ .type=${this.type}
20
+ .autocomplete=${this.autocomplete}
21
+ .spellcheck=${this.spellcheck}
22
+ placeholder=${this.placeholder}
23
+ inputmode=${o.ifDefined(this.inputmode)}
24
+ pattern=${o.ifDefined(this.pattern)}
25
+ step=${o.ifDefined(this.step)}
26
+ minlength=${o.ifDefined(this.minlength)}
27
+ maxlength=${o.ifDefined(this.maxlength)}
28
+ min=${o.ifDefined(this.min)}
29
+ max=${o.ifDefined(this.max)}
30
+ list=${o.ifDefined(this.list)}
31
+ ?required=${this.required}
32
+ ?disabled=${this.disabled}
33
+ ?readonly=${this.readonly}
34
+ aria-invalid=${this.error?"true":"false"}
35
+ aria-required=${this.required?"true":"false"}
36
+ aria-labelledby=${this.label?`label-${this.id}`:l.nothing}
37
+ aria-describedby=${this.hint||this.validationMessage?`hint-${this.id}`:l.nothing}
38
+ aria-label=${o.ifDefined(this.label?void 0:this.placeholder||"Input")}
39
+ />
40
+
41
+ ${h.when(this.hint||this.error&&this.validationMessage,()=>l.html`
42
+ <div
43
+ id="hint-${this.id}"
44
+ class="mt-1 text-sm ${this.error?"text-error-default":"text-surface-onVariant"}"
45
+ >
46
+ ${this.error&&this.validationMessage?this.validationMessage:this.hint}
47
+ </div>
48
+ `)}
49
+ </div>
50
+ `}},exports.SchmancyInput._idCounter=0,exports.SchmancyInput.shadowRootOptions={...l.LitElement.shadowRootOptions,delegatesFocus:!0},a([n.property({type:String,reflect:!0})],exports.SchmancyInput.prototype,"value",2),a([n.property({reflect:!0})],exports.SchmancyInput.prototype,"type",2),a([n.property()],exports.SchmancyInput.prototype,"placeholder",2),a([n.property({type:String,reflect:!0})],exports.SchmancyInput.prototype,"pattern",2),a([n.property({type:Boolean,reflect:!0})],exports.SchmancyInput.prototype,"clickable",2),a([n.property({type:Boolean,reflect:!0})],exports.SchmancyInput.prototype,"spellcheck",2),a([n.property({type:String,reflect:!0})],exports.SchmancyInput.prototype,"align",2),a([n.property()],exports.SchmancyInput.prototype,"inputmode",2),a([n.property({type:Number,reflect:!0})],exports.SchmancyInput.prototype,"minlength",2),a([n.property({type:Number})],exports.SchmancyInput.prototype,"maxlength",2),a([n.property()],exports.SchmancyInput.prototype,"min",2),a([n.property()],exports.SchmancyInput.prototype,"max",2),a([n.property({type:Number,reflect:!0})],exports.SchmancyInput.prototype,"step",2),a([n.property({type:Boolean})],exports.SchmancyInput.prototype,"autofocus",2),a([n.property({type:String,reflect:!0})],exports.SchmancyInput.prototype,"autocomplete",2),a([n.property({type:Number,reflect:!0})],exports.SchmancyInput.prototype,"tabIndex",2),a([n.property({type:String,reflect:!0})],exports.SchmancyInput.prototype,"size",2),a([n.property({type:String})],exports.SchmancyInput.prototype,"validateOn",2),a([n.property({type:String})],exports.SchmancyInput.prototype,"list",2),a([n.query("input")],exports.SchmancyInput.prototype,"inputElement",2),a([n.state()],exports.SchmancyInput.prototype,"isAutofilled",2),a([n.state()],exports.SchmancyInput.prototype,"touched",2),a([n.state()],exports.SchmancyInput.prototype,"dirty",2),a([n.state()],exports.SchmancyInput.prototype,"submitted",2),a([n.state()],exports.SchmancyInput.prototype,"defaultValue",2),exports.SchmancyInput=a([n.customElement("schmancy-input")],exports.SchmancyInput),exports.SchmancyInputCompat=class extends exports.SchmancyInput{},exports.SchmancyInputCompat=a([n.customElement("sch-input")],exports.SchmancyInputCompat);
51
+ //# sourceMappingURL=input-fPWOjQgP.cjs.map