smoothly 1.115.0 → 1.117.0

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 (536) hide show
  1. package/dist/cjs/{Notice-Xc7J_4o_.js → Notice-ML9TNa7n.js} +15 -14
  2. package/dist/cjs/Notice-ML9TNa7n.js.map +1 -0
  3. package/dist/cjs/{Scrollable-BJioYHxN.js → Scrollable-C_6-3ED9.js} +14 -4
  4. package/dist/cjs/Scrollable-C_6-3ED9.js.map +1 -0
  5. package/dist/cjs/{Submittable-PpSv5NRW.js → Submittable-DmhpDQHI.js} +3 -3
  6. package/dist/cjs/{Submittable-PpSv5NRW.js.map → Submittable-DmhpDQHI.js.map} +1 -1
  7. package/dist/cjs/index.cjs.js +2 -2
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/{smoothly-app_98.cjs.entry.js → smoothly-app_99.cjs.entry.js} +165 -151
  10. package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -0
  11. package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
  12. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  13. package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
  14. package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
  15. package/dist/cjs/smoothly-submit.cjs.entry.js +3 -3
  16. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -2
  17. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
  18. package/dist/cjs/smoothly.cjs.js +1 -1
  19. package/dist/collection/collection-manifest.json +1 -0
  20. package/dist/collection/components/app/demo/index.js +1 -1
  21. package/dist/collection/components/app/demo/index.js.map +1 -1
  22. package/dist/collection/components/app/room/index.js +1 -1
  23. package/dist/collection/components/back-to-top/index.js +2 -2
  24. package/dist/collection/components/burger/index.js +1 -1
  25. package/dist/collection/components/button/demo/index.js +1 -1
  26. package/dist/collection/components/button/demo/standard/index.js +2 -2
  27. package/dist/collection/components/button/index.js +1 -1
  28. package/dist/collection/components/calendar/index.js +2 -2
  29. package/dist/collection/components/checkbox/index.js +2 -2
  30. package/dist/collection/components/color/index.js +1 -1
  31. package/dist/collection/components/confirm/index.js +1 -1
  32. package/dist/collection/components/country/index.js +1 -1
  33. package/dist/collection/components/dialog/demo/index.js +1 -1
  34. package/dist/collection/components/dialog/index.js +1 -1
  35. package/dist/collection/components/display/demo/index.js +10 -10
  36. package/dist/collection/components/display/demo/json/index.js +1 -1
  37. package/dist/collection/components/display/index.js +3 -3
  38. package/dist/collection/components/display/json/index.js +1 -1
  39. package/dist/collection/components/display/json/object/index.js +2 -2
  40. package/dist/collection/components/display/json/object/key/index.js +1 -1
  41. package/dist/collection/components/display/json/primitive/index.js +1 -1
  42. package/dist/collection/components/form/demo/all/index.js +2 -2
  43. package/dist/collection/components/form/demo/card/index.js +1 -1
  44. package/dist/collection/components/form/demo/controlled/index.js +1 -1
  45. package/dist/collection/components/form/demo/date/index.js +1 -1
  46. package/dist/collection/components/form/demo/date-range/index.js +1 -1
  47. package/dist/collection/components/form/demo/index.js +1 -1
  48. package/dist/collection/components/form/demo/login/index.js +1 -1
  49. package/dist/collection/components/form/demo/pet/index.js +2 -2
  50. package/dist/collection/components/form/demo/prices/index.js +1 -1
  51. package/dist/collection/components/form/demo/schedule/index.js +1 -1
  52. package/dist/collection/components/form/demo/transparent/index.js +1 -1
  53. package/dist/collection/components/form/demo/typed/index.js +1 -1
  54. package/dist/collection/components/icon/demo/index.js +5 -5
  55. package/dist/collection/components/icon/index.js +1 -1
  56. package/dist/collection/components/input/checkbox/demo/index.js +1 -1
  57. package/dist/collection/components/input/checkbox/index.js +2 -2
  58. package/dist/collection/components/input/clear/index.js +1 -1
  59. package/dist/collection/components/input/color/demo/index.js +1 -1
  60. package/dist/collection/components/input/color/index.js +2 -2
  61. package/dist/collection/components/input/date/index.js +1 -1
  62. package/dist/collection/components/input/date/range/index.js +3 -3
  63. package/dist/collection/components/input/date/text/index.js +1 -1
  64. package/dist/collection/components/input/date/time/index.js +5 -5
  65. package/dist/collection/components/input/demo/date/index.js +1 -1
  66. package/dist/collection/components/input/demo/index.js +4 -4
  67. package/dist/collection/components/input/demo/price/index.js +1 -1
  68. package/dist/collection/components/input/demo/radio/index.js +1 -1
  69. package/dist/collection/components/input/demo/standard/index.js +1 -1
  70. package/dist/collection/components/input/demo/user-input/index.js +3 -3
  71. package/dist/collection/components/input/edit/index.js +1 -1
  72. package/dist/collection/components/input/file/index.js +1 -1
  73. package/dist/collection/components/input/index.js +2 -2
  74. package/dist/collection/components/input/month/index.js +4 -4
  75. package/dist/collection/components/input/radio/item/index.js +1 -1
  76. package/dist/collection/components/input/range/demo/index.js +1 -1
  77. package/dist/collection/components/input/range/index.js +4 -4
  78. package/dist/collection/components/input/reset/index.js +1 -1
  79. package/dist/collection/components/input/select/index.js +2 -2
  80. package/dist/collection/components/input/submit/index.js +1 -1
  81. package/dist/collection/components/item/index.js +1 -1
  82. package/dist/collection/components/label/index.js +2 -2
  83. package/dist/collection/components/lazy/index.js +1 -1
  84. package/dist/collection/components/load-more/index.js +1 -1
  85. package/dist/collection/components/modal/index.js +2 -2
  86. package/dist/collection/components/notification/index.js +1 -1
  87. package/dist/collection/components/notifier/demo/index.js +37 -0
  88. package/dist/collection/components/notifier/demo/index.js.map +1 -0
  89. package/dist/collection/components/notifier/index.js +1 -1
  90. package/dist/collection/components/spinner/index.js +2 -2
  91. package/dist/collection/components/submit/index.js +1 -1
  92. package/dist/collection/components/summary/index.js +1 -1
  93. package/dist/collection/components/table/body/index.js +1 -1
  94. package/dist/collection/components/table/cell/index.js +1 -1
  95. package/dist/collection/components/table/demo/colspan/index.js +1 -1
  96. package/dist/collection/components/table/demo/filler-row/index.js +1 -1
  97. package/dist/collection/components/table/demo/group/index.js +1 -1
  98. package/dist/collection/components/table/demo/index.js +1 -1
  99. package/dist/collection/components/table/demo/nested-no-cell/index.js +2 -2
  100. package/dist/collection/components/table/demo/nested-no-cell/inner/index.js +1 -1
  101. package/dist/collection/components/table/demo/simple/simple.js +1 -1
  102. package/dist/collection/components/table/expandable/cell/index.js +1 -1
  103. package/dist/collection/components/table/expandable/row/index.js +1 -1
  104. package/dist/collection/components/table/filler-row/index.js +1 -1
  105. package/dist/collection/components/table/foot/index.js +1 -1
  106. package/dist/collection/components/table/group/index.js +1 -1
  107. package/dist/collection/components/table/head/index.js +2 -2
  108. package/dist/collection/components/table/index.js +1 -1
  109. package/dist/collection/components/table/row/index.js +1 -1
  110. package/dist/collection/components/tabs/demo/index.js +1 -1
  111. package/dist/collection/components/tabs/tab/index.js +1 -1
  112. package/dist/collection/components/theme/color/index.js +1 -1
  113. package/dist/collection/components/theme/demo/index.js +1 -1
  114. package/dist/collection/components/theme/guide/index.js +8 -8
  115. package/dist/collection/components/theme/picker/index.js +2 -2
  116. package/dist/collection/components/toggle-switch/demo/index.js +1 -1
  117. package/dist/collection/components/toggle-switch/index.js +1 -1
  118. package/dist/collection/components/trigger/index.js +1 -1
  119. package/dist/collection/components/trigger/sink/index.js +1 -1
  120. package/dist/collection/components/trigger/source/index.js +1 -1
  121. package/dist/collection/model/Icon.js +12 -2
  122. package/dist/collection/model/Icon.js.map +1 -1
  123. package/dist/collection/model/Notice.js +13 -12
  124. package/dist/collection/model/Notice.js.map +1 -1
  125. package/dist/components/index.js +1 -1
  126. package/dist/components/{p-C2xjUTYO.js → p-5Z_db2DH.js} +2 -2
  127. package/dist/components/{p-nFLcvugJ.js → p-5ac0hPYS.js} +2 -2
  128. package/dist/components/{p-NFd9Dxr1.js → p-5l1ov6SU.js} +2 -2
  129. package/dist/components/p-7UXKt7wZ.js +2 -0
  130. package/dist/components/{p-CrKwvG9J.js → p-B-jhX7aN.js} +2 -2
  131. package/dist/components/p-B37ZIkLI.js +2 -0
  132. package/dist/components/p-B8I-Yh5P.js +2 -0
  133. package/dist/components/p-BAMlbqpU.js +2 -0
  134. package/dist/components/{p-dBpTpVs8.js → p-BCwizh6U.js} +2 -2
  135. package/dist/components/p-BDuUY4CB.js +2 -0
  136. package/dist/components/{p-CooymHn6.js.map → p-BDuUY4CB.js.map} +1 -1
  137. package/dist/components/{p-Ww5QjB3D.js → p-BHTAR2x1.js} +2 -2
  138. package/dist/components/p-BJCnnn2u.js +2 -0
  139. package/dist/components/p-BLIeXp8k.js +2 -0
  140. package/dist/components/p-BOrYTTXf.js +2 -0
  141. package/dist/components/p-BOwhmPm8.js +2 -0
  142. package/dist/components/{p-4pGbxojU.js → p-BOzzNfNj.js} +2 -2
  143. package/dist/components/{p-BpV6GXd7.js → p-BTjay9Fy.js} +2 -2
  144. package/dist/components/p-BUo_O_Bt.js +2 -0
  145. package/dist/components/{p-C02MtoAQ.js → p-BWT1q2tN.js} +2 -2
  146. package/dist/components/{p-NGbZCAH9.js → p-BcEDrfmP.js} +2 -2
  147. package/dist/components/{p-6PsJb2Ez.js → p-BdYr9Wou.js} +2 -2
  148. package/dist/components/{p-CgCEK6Lc.js → p-BnJAC2Zf.js} +2 -2
  149. package/dist/components/{p-BfwEfI7H.js → p-Bo1NnbuT.js} +2 -2
  150. package/dist/components/p-Bq3C8g8G.js +2 -0
  151. package/dist/components/p-Bq3C8g8G.js.map +1 -0
  152. package/dist/components/p-Br0kWrBT.js +2 -0
  153. package/dist/components/p-Br0kWrBT.js.map +1 -0
  154. package/dist/components/{p-BEHuPmXt.js → p-Bt-mtf0k.js} +2 -2
  155. package/dist/components/p-Bv6ll-a-.js +2 -0
  156. package/dist/components/p-BvTs7KUn.js +2 -0
  157. package/dist/components/{p-fnKrPnzp.js → p-ByRyVRgY.js} +2 -2
  158. package/dist/components/{p-Bes8H54c.js → p-C77C00Ii.js} +2 -2
  159. package/dist/components/p-C7PxdEtX.js +2 -0
  160. package/dist/components/p-C7rAw-Sf.js +2 -0
  161. package/dist/components/p-C8r10chB.js +2 -0
  162. package/dist/components/{p-D5dkLuTD.js → p-CCaI37_s.js} +2 -2
  163. package/dist/components/{p-CrkBYYf-.js → p-CDzU4-Ri.js} +2 -2
  164. package/dist/components/{p-DHj4bfJ8.js → p-CE-IZkWY.js} +2 -2
  165. package/dist/components/{p-CFgT9iMG.js → p-CFwdTUm-.js} +2 -2
  166. package/dist/components/p-CIXMGKGQ.js +2 -0
  167. package/dist/components/{p-CCExK0R5.js → p-CKGlbozb.js} +2 -2
  168. package/dist/components/{p-BUa0wBSK.js → p-CLqKhHZ8.js} +2 -2
  169. package/dist/components/p-CN3iME9d.js +2 -0
  170. package/dist/components/{p-C-zr_dP8.js → p-CNEHa0dN.js} +2 -2
  171. package/dist/components/{p-BHcHgI_e.js → p-CTvqaqVm.js} +2 -2
  172. package/dist/components/p-CUmpHIzY.js +2 -0
  173. package/dist/components/p-CUmpHIzY.js.map +1 -0
  174. package/dist/components/{p-BuKk-s9A.js → p-CY71xgKe.js} +2 -2
  175. package/dist/components/p-CZERsWDV.js +2 -0
  176. package/dist/components/{p-CAgJrhiy.js.map → p-CZERsWDV.js.map} +1 -1
  177. package/dist/components/{p-CJEV2v84.js → p-CZIRwPwA.js} +2 -2
  178. package/dist/components/{p-Bpc6uh0M.js → p-CmUug44L.js} +2 -2
  179. package/dist/components/{p-1j2KmcfQ.js → p-CmV6S6tx.js} +2 -2
  180. package/dist/components/p-Cppqe_PV.js +2 -0
  181. package/dist/components/{p-D5WTwmc6.js.map → p-Cppqe_PV.js.map} +1 -1
  182. package/dist/components/{p-CoJyQegK.js → p-Cu0ProBU.js} +2 -2
  183. package/dist/components/{p-CL7fW_Oh.js → p-Cuq_eaHi.js} +2 -2
  184. package/dist/components/p-CwhGUug6.js +2 -0
  185. package/dist/components/{p-DIz1nEPY.js → p-D2AakJMz.js} +2 -2
  186. package/dist/components/p-D2dYkSrN.js +2 -0
  187. package/dist/components/p-D7FCA_AJ.js +2 -0
  188. package/dist/components/p-DA7cE1vV.js +2 -0
  189. package/dist/components/{p-CqMnH54Q.js → p-DAwAJIiX.js} +2 -2
  190. package/dist/components/{p-BiQsRsV4.js → p-DDYB8QLF.js} +2 -2
  191. package/dist/components/{p-BEHgXDtQ.js → p-DDtRlhit.js} +2 -2
  192. package/dist/components/{p-CmPHR3tf.js → p-DFPMixk-.js} +2 -2
  193. package/dist/components/{p-CR3Ni_o7.js → p-DG2pfnCV.js} +2 -2
  194. package/dist/components/{p-CtuuZV3u.js → p-DIy2lHMf.js} +2 -2
  195. package/dist/components/{p-xkRxEiC8.js → p-DJ-iHxJr.js} +2 -2
  196. package/dist/components/{p-DIhqNc1G.js → p-DPlYDxyJ.js} +2 -2
  197. package/dist/components/p-DUZEz-6n.js +2 -0
  198. package/dist/components/{p-Cv-uvD7X.js.map → p-DUZEz-6n.js.map} +1 -1
  199. package/dist/components/p-DXfFWsRb.js +2 -0
  200. package/dist/components/{p-_o_lUhve.js → p-Dk4OvZyQ.js} +2 -2
  201. package/dist/components/{p-BFJL6rrU.js → p-DkiBtdrU.js} +2 -2
  202. package/dist/components/{p-AX8gOGUr.js → p-DnvyyAaF.js} +2 -2
  203. package/dist/components/{p-CTdXhHGF.js → p-Dq8EU803.js} +2 -2
  204. package/dist/components/p-DsVjTKwJ.js +2 -0
  205. package/dist/components/p-DvMoIxws.js +2 -0
  206. package/dist/components/{p-Ud7Qhkgt.js → p-DvZK__s-.js} +2 -2
  207. package/dist/components/p-Dw1KwhCp.js +2 -0
  208. package/dist/components/p-F8qX8ZuL.js +2 -0
  209. package/dist/components/p-HdZxIc2m.js +2 -0
  210. package/dist/components/{p-D-mAUrbR.js → p-Iph4bHku.js} +2 -2
  211. package/dist/components/p-KtTME3nN.js +2 -0
  212. package/dist/components/{p-CcXqouEO.js → p-KzfbLe_L.js} +2 -2
  213. package/dist/components/{p-CUdZx76u.js → p-M0gzpGV-.js} +2 -2
  214. package/dist/components/{p-DX3KKRD9.js → p-MHAaISnU.js} +2 -2
  215. package/dist/components/p-O5TMvOSH.js +2 -0
  216. package/dist/components/{p-Dz8Bblye.js.map → p-O5TMvOSH.js.map} +1 -1
  217. package/dist/components/p-UNw22e3G.js +2 -0
  218. package/dist/components/{p-BRoShuOu.js → p-UqPFIGlg.js} +2 -2
  219. package/dist/components/p-UyMXVF_R.js +2 -0
  220. package/dist/components/p-VQuZJp8X.js +2 -0
  221. package/dist/components/p-WiBL-FFH.js +2 -0
  222. package/dist/components/p-e7wZ4-5T.js +2 -0
  223. package/dist/components/p-gq882NJF.js +2 -0
  224. package/dist/components/{p-DFXJvHuL.js → p-iQDU7l2c.js} +2 -2
  225. package/dist/components/p-jSrgQO7o.js +2 -0
  226. package/dist/components/{p-BHsrC9Oh.js.map → p-jSrgQO7o.js.map} +1 -1
  227. package/dist/components/{p-CPnXAdGI.js → p-l818BCpp.js} +2 -2
  228. package/dist/components/{p-D_uKY0yY.js → p-mgqCIR9Q.js} +2 -2
  229. package/dist/components/{p-BHEtq3Ue.js → p-mmAi00ak.js} +2 -2
  230. package/dist/components/{p-B-l1S16Z.js → p-uFR5K4vd.js} +2 -2
  231. package/dist/components/{p-CqXSfYre.js → p-vB-efyHR.js} +2 -2
  232. package/dist/components/p-w1uPMi4U.js +2 -0
  233. package/dist/components/{p-CqyGm3oe.js → p-ycoVDLCD.js} +2 -2
  234. package/dist/components/{p-BoHJT9bR.js → p-zLhQ1mMe.js} +2 -2
  235. package/dist/components/smoothly-app-demo.js +1 -1
  236. package/dist/components/smoothly-app-demo.js.map +1 -1
  237. package/dist/components/smoothly-app-room.js +1 -1
  238. package/dist/components/smoothly-app.js +1 -1
  239. package/dist/components/smoothly-back-to-top.js +1 -1
  240. package/dist/components/smoothly-burger.js +1 -1
  241. package/dist/components/smoothly-button-confirm.js +1 -1
  242. package/dist/components/smoothly-button-demo-standard.js +1 -1
  243. package/dist/components/smoothly-button-demo.js +1 -1
  244. package/dist/components/smoothly-button.js +1 -1
  245. package/dist/components/smoothly-calendar.js +1 -1
  246. package/dist/components/smoothly-checkbox.js +1 -1
  247. package/dist/components/smoothly-color.js +1 -1
  248. package/dist/components/smoothly-country.js +1 -1
  249. package/dist/components/smoothly-date-text.js +1 -1
  250. package/dist/components/smoothly-dialog-demo.js +1 -1
  251. package/dist/components/smoothly-dialog.js +1 -1
  252. package/dist/components/smoothly-display-demo-json.js +1 -1
  253. package/dist/components/smoothly-display-demo.js +1 -1
  254. package/dist/components/smoothly-display-json-object.js +1 -1
  255. package/dist/components/smoothly-display-json-primitive.js +1 -1
  256. package/dist/components/smoothly-display-json-record-key.js +1 -1
  257. package/dist/components/smoothly-display-json.js +1 -1
  258. package/dist/components/smoothly-display.js +1 -1
  259. package/dist/components/smoothly-form-demo-all.js +1 -1
  260. package/dist/components/smoothly-form-demo-card.js +1 -1
  261. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  262. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  263. package/dist/components/smoothly-form-demo-date.js +1 -1
  264. package/dist/components/smoothly-form-demo-login.js +1 -1
  265. package/dist/components/smoothly-form-demo-pet.js +1 -1
  266. package/dist/components/smoothly-form-demo-prices.js +1 -1
  267. package/dist/components/smoothly-form-demo-schedule.js +1 -1
  268. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  269. package/dist/components/smoothly-form-demo-typed.js +1 -1
  270. package/dist/components/smoothly-form-demo.js +1 -1
  271. package/dist/components/smoothly-form.js +1 -1
  272. package/dist/components/smoothly-frame.js +1 -1
  273. package/dist/components/smoothly-icon-demo.js +1 -1
  274. package/dist/components/smoothly-icon.js +1 -1
  275. package/dist/components/smoothly-input-checkbox-demo.js +1 -1
  276. package/dist/components/smoothly-input-checkbox.js +1 -1
  277. package/dist/components/smoothly-input-clear.js +1 -1
  278. package/dist/components/smoothly-input-color-demo.js +1 -1
  279. package/dist/components/smoothly-input-color.js +1 -1
  280. package/dist/components/smoothly-input-date-demo.js +1 -1
  281. package/dist/components/smoothly-input-date-range.js +1 -1
  282. package/dist/components/smoothly-input-date-time.js +1 -1
  283. package/dist/components/smoothly-input-date.js +1 -1
  284. package/dist/components/smoothly-input-demo-radio.js +1 -1
  285. package/dist/components/smoothly-input-demo-standard.js +1 -1
  286. package/dist/components/smoothly-input-demo-user-input.js +1 -1
  287. package/dist/components/smoothly-input-demo.js +1 -1
  288. package/dist/components/smoothly-input-edit.js +1 -1
  289. package/dist/components/smoothly-input-file.js +1 -1
  290. package/dist/components/smoothly-input-month.js +1 -1
  291. package/dist/components/smoothly-input-price-demo.js +1 -1
  292. package/dist/components/smoothly-input-radio-item.js +1 -1
  293. package/dist/components/smoothly-input-radio.js +1 -1
  294. package/dist/components/smoothly-input-range-demo.js +1 -1
  295. package/dist/components/smoothly-input-range.js +1 -1
  296. package/dist/components/smoothly-input-reset.js +1 -1
  297. package/dist/components/smoothly-input-select.js +1 -1
  298. package/dist/components/smoothly-input-submit.js +1 -1
  299. package/dist/components/smoothly-input.js +1 -1
  300. package/dist/components/smoothly-item.js +1 -1
  301. package/dist/components/smoothly-label.js +1 -1
  302. package/dist/components/smoothly-lazy.js +1 -1
  303. package/dist/components/smoothly-load-more.js +1 -1
  304. package/dist/components/smoothly-modal.js +1 -1
  305. package/dist/components/smoothly-notification.js +1 -1
  306. package/dist/components/smoothly-notifier-demo.d.ts +11 -0
  307. package/dist/components/smoothly-notifier-demo.js +2 -0
  308. package/dist/components/smoothly-notifier-demo.js.map +1 -0
  309. package/dist/components/smoothly-notifier.js +1 -1
  310. package/dist/components/smoothly-spinner.js +1 -1
  311. package/dist/components/smoothly-submit.js +1 -1
  312. package/dist/components/smoothly-summary.js +1 -1
  313. package/dist/components/smoothly-tab.js +1 -1
  314. package/dist/components/smoothly-table-body.js +1 -1
  315. package/dist/components/smoothly-table-cell.js +1 -1
  316. package/dist/components/smoothly-table-demo-colspan.js +1 -1
  317. package/dist/components/smoothly-table-demo-filler-row.js +1 -1
  318. package/dist/components/smoothly-table-demo-group.js +1 -1
  319. package/dist/components/smoothly-table-demo-nested-no-cell-inner.js +1 -1
  320. package/dist/components/smoothly-table-demo-nested-no-cell.js +1 -1
  321. package/dist/components/smoothly-table-demo-simple.js +1 -1
  322. package/dist/components/smoothly-table-demo.js +1 -1
  323. package/dist/components/smoothly-table-expandable-cell.js +1 -1
  324. package/dist/components/smoothly-table-expandable-row.js +1 -1
  325. package/dist/components/smoothly-table-filler-row.js +1 -1
  326. package/dist/components/smoothly-table-foot.js +1 -1
  327. package/dist/components/smoothly-table-head.js +1 -1
  328. package/dist/components/smoothly-table-row-group.js +1 -1
  329. package/dist/components/smoothly-table-row.js +1 -1
  330. package/dist/components/smoothly-table.js +1 -1
  331. package/dist/components/smoothly-tabs-demo.js +1 -1
  332. package/dist/components/smoothly-theme-color.js +1 -1
  333. package/dist/components/smoothly-theme-colors.js +1 -1
  334. package/dist/components/smoothly-theme-demo.js +1 -1
  335. package/dist/components/smoothly-theme-guide.js +1 -1
  336. package/dist/components/smoothly-theme-picker.js +1 -1
  337. package/dist/components/smoothly-toggle-switch-demo.js +1 -1
  338. package/dist/components/smoothly-toggle-switch.js +1 -1
  339. package/dist/components/smoothly-trigger-sink.js +1 -1
  340. package/dist/components/smoothly-trigger-source.js +1 -1
  341. package/dist/components/smoothly-trigger.js +1 -1
  342. package/dist/esm/{Notice-C6lWCoIT.js → Notice-Bq3C8g8G.js} +15 -14
  343. package/dist/esm/Notice-Bq3C8g8G.js.map +1 -0
  344. package/dist/esm/{Scrollable-B1D3P7eJ.js → Scrollable-CbMKpwBI.js} +14 -4
  345. package/dist/esm/Scrollable-CbMKpwBI.js.map +1 -0
  346. package/dist/esm/{Submittable-D4FaRzPA.js → Submittable-NFA7UIyM.js} +3 -3
  347. package/dist/esm/{Submittable-D4FaRzPA.js.map → Submittable-NFA7UIyM.js.map} +1 -1
  348. package/dist/esm/index.js +2 -2
  349. package/dist/esm/loader.js +1 -1
  350. package/dist/esm/{smoothly-app_98.entry.js → smoothly-app_99.entry.js} +165 -152
  351. package/dist/esm/smoothly-app_99.entry.js.map +1 -0
  352. package/dist/esm/smoothly-checkbox.entry.js +2 -2
  353. package/dist/esm/smoothly-color.entry.js +1 -1
  354. package/dist/esm/smoothly-country.entry.js +1 -1
  355. package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
  356. package/dist/esm/smoothly-submit.entry.js +3 -3
  357. package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
  358. package/dist/esm/smoothly-trigger-source.entry.js +2 -2
  359. package/dist/esm/smoothly.js +1 -1
  360. package/dist/smoothly/index.esm.js +1 -1
  361. package/dist/smoothly/p-17170ef1.entry.js +2 -0
  362. package/dist/smoothly/{p-be43737e.entry.js → p-36966f71.entry.js} +2 -2
  363. package/dist/smoothly/p-43e4b703.entry.js +2 -0
  364. package/dist/smoothly/p-43e4b703.entry.js.map +1 -0
  365. package/dist/smoothly/{p-7da124ca.entry.js → p-77ef4a4c.entry.js} +2 -2
  366. package/dist/smoothly/p-7a9308b9.entry.js +2 -0
  367. package/dist/smoothly/p-Bq3C8g8G.js +2 -0
  368. package/dist/smoothly/p-Bq3C8g8G.js.map +1 -0
  369. package/dist/smoothly/p-CbMKpwBI.js +2 -0
  370. package/dist/smoothly/p-CbMKpwBI.js.map +1 -0
  371. package/dist/smoothly/{p-rhMhTGHt.js → p-DZSl4MD1.js} +2 -2
  372. package/dist/smoothly/{p-rhMhTGHt.js.map → p-DZSl4MD1.js.map} +1 -1
  373. package/dist/smoothly/{p-d4dad5a8.entry.js → p-ac2162c3.entry.js} +2 -2
  374. package/dist/smoothly/{p-acfa35c3.entry.js → p-bd4c289b.entry.js} +2 -2
  375. package/dist/smoothly/{p-05059140.entry.js → p-eb434b94.entry.js} +2 -2
  376. package/dist/smoothly/smoothly.esm.js +1 -1
  377. package/dist/types/components/notifier/demo/index.d.ts +7 -0
  378. package/dist/types/components.d.ts +29 -0
  379. package/dist/types/model/Notice.d.ts +6 -5
  380. package/package.json +1 -1
  381. package/dist/cjs/Notice-Xc7J_4o_.js.map +0 -1
  382. package/dist/cjs/Scrollable-BJioYHxN.js.map +0 -1
  383. package/dist/cjs/smoothly-app_98.cjs.entry.js.map +0 -1
  384. package/dist/components/p-67RlLkJb.js +0 -2
  385. package/dist/components/p-B0kZrKne.js +0 -2
  386. package/dist/components/p-B2MMqcTF.js +0 -2
  387. package/dist/components/p-B6sHuEsq.js +0 -2
  388. package/dist/components/p-BGBbdXaw.js +0 -2
  389. package/dist/components/p-BGzrO9CQ.js +0 -2
  390. package/dist/components/p-BHsrC9Oh.js +0 -2
  391. package/dist/components/p-BXoBluZQ.js +0 -2
  392. package/dist/components/p-B_z5-Hf8.js +0 -2
  393. package/dist/components/p-BanWK6rV.js +0 -2
  394. package/dist/components/p-Bn7CZqdz.js +0 -2
  395. package/dist/components/p-Bq5YEPPT.js +0 -2
  396. package/dist/components/p-BulPH2Jo.js +0 -2
  397. package/dist/components/p-C3FORjes.js +0 -2
  398. package/dist/components/p-C6T0ZB2C.js +0 -2
  399. package/dist/components/p-C6lWCoIT.js +0 -2
  400. package/dist/components/p-C6lWCoIT.js.map +0 -1
  401. package/dist/components/p-CAgJrhiy.js +0 -2
  402. package/dist/components/p-CApTrLt_.js +0 -2
  403. package/dist/components/p-CKlr_F9h.js +0 -2
  404. package/dist/components/p-COK__8-d.js +0 -2
  405. package/dist/components/p-CSXWpZjy.js +0 -2
  406. package/dist/components/p-CVNSeOlg.js +0 -2
  407. package/dist/components/p-CkXes5c-.js +0 -2
  408. package/dist/components/p-CkXes5c-.js.map +0 -1
  409. package/dist/components/p-CooymHn6.js +0 -2
  410. package/dist/components/p-CqSiLhUe.js +0 -2
  411. package/dist/components/p-Cv-uvD7X.js +0 -2
  412. package/dist/components/p-Cw_sHLuu.js +0 -2
  413. package/dist/components/p-D5WTwmc6.js +0 -2
  414. package/dist/components/p-DGa_QPb9.js +0 -2
  415. package/dist/components/p-DIf6-Fvg.js +0 -2
  416. package/dist/components/p-DLBMEh0f.js +0 -2
  417. package/dist/components/p-DM3PMEgb.js +0 -2
  418. package/dist/components/p-DM5CKilY.js +0 -2
  419. package/dist/components/p-DS66Mn9S.js +0 -2
  420. package/dist/components/p-DYNjCosy.js +0 -2
  421. package/dist/components/p-DiXjCPyE.js +0 -2
  422. package/dist/components/p-DkhX1qsg.js +0 -2
  423. package/dist/components/p-Dz8Bblye.js +0 -2
  424. package/dist/components/p-He4KDK9-.js +0 -2
  425. package/dist/components/p-N-UYdc5h.js +0 -2
  426. package/dist/components/p-Qv-IgIvL.js +0 -2
  427. package/dist/components/p-d26Fb7IS.js +0 -2
  428. package/dist/esm/Notice-C6lWCoIT.js.map +0 -1
  429. package/dist/esm/Scrollable-B1D3P7eJ.js.map +0 -1
  430. package/dist/esm/smoothly-app_98.entry.js.map +0 -1
  431. package/dist/smoothly/p-7d6c72eb.entry.js +0 -2
  432. package/dist/smoothly/p-94d091cd.entry.js +0 -2
  433. package/dist/smoothly/p-B1D3P7eJ.js +0 -2
  434. package/dist/smoothly/p-B1D3P7eJ.js.map +0 -1
  435. package/dist/smoothly/p-C6lWCoIT.js +0 -2
  436. package/dist/smoothly/p-C6lWCoIT.js.map +0 -1
  437. package/dist/smoothly/p-b7ac3c88.entry.js +0 -2
  438. package/dist/smoothly/p-b7ac3c88.entry.js.map +0 -1
  439. /package/dist/components/{p-C2xjUTYO.js.map → p-5Z_db2DH.js.map} +0 -0
  440. /package/dist/components/{p-nFLcvugJ.js.map → p-5ac0hPYS.js.map} +0 -0
  441. /package/dist/components/{p-NFd9Dxr1.js.map → p-5l1ov6SU.js.map} +0 -0
  442. /package/dist/components/{p-COK__8-d.js.map → p-7UXKt7wZ.js.map} +0 -0
  443. /package/dist/components/{p-CrKwvG9J.js.map → p-B-jhX7aN.js.map} +0 -0
  444. /package/dist/components/{p-Qv-IgIvL.js.map → p-B37ZIkLI.js.map} +0 -0
  445. /package/dist/components/{p-B0kZrKne.js.map → p-B8I-Yh5P.js.map} +0 -0
  446. /package/dist/components/{p-Bq5YEPPT.js.map → p-BAMlbqpU.js.map} +0 -0
  447. /package/dist/components/{p-dBpTpVs8.js.map → p-BCwizh6U.js.map} +0 -0
  448. /package/dist/components/{p-Ww5QjB3D.js.map → p-BHTAR2x1.js.map} +0 -0
  449. /package/dist/components/{p-BXoBluZQ.js.map → p-BJCnnn2u.js.map} +0 -0
  450. /package/dist/components/{p-BanWK6rV.js.map → p-BLIeXp8k.js.map} +0 -0
  451. /package/dist/components/{p-DM3PMEgb.js.map → p-BOrYTTXf.js.map} +0 -0
  452. /package/dist/components/{p-DLBMEh0f.js.map → p-BOwhmPm8.js.map} +0 -0
  453. /package/dist/components/{p-4pGbxojU.js.map → p-BOzzNfNj.js.map} +0 -0
  454. /package/dist/components/{p-BpV6GXd7.js.map → p-BTjay9Fy.js.map} +0 -0
  455. /package/dist/components/{p-B_z5-Hf8.js.map → p-BUo_O_Bt.js.map} +0 -0
  456. /package/dist/components/{p-C02MtoAQ.js.map → p-BWT1q2tN.js.map} +0 -0
  457. /package/dist/components/{p-NGbZCAH9.js.map → p-BcEDrfmP.js.map} +0 -0
  458. /package/dist/components/{p-6PsJb2Ez.js.map → p-BdYr9Wou.js.map} +0 -0
  459. /package/dist/components/{p-CgCEK6Lc.js.map → p-BnJAC2Zf.js.map} +0 -0
  460. /package/dist/components/{p-BfwEfI7H.js.map → p-Bo1NnbuT.js.map} +0 -0
  461. /package/dist/components/{p-BEHuPmXt.js.map → p-Bt-mtf0k.js.map} +0 -0
  462. /package/dist/components/{p-CApTrLt_.js.map → p-Bv6ll-a-.js.map} +0 -0
  463. /package/dist/components/{p-B2MMqcTF.js.map → p-BvTs7KUn.js.map} +0 -0
  464. /package/dist/components/{p-fnKrPnzp.js.map → p-ByRyVRgY.js.map} +0 -0
  465. /package/dist/components/{p-Bes8H54c.js.map → p-C77C00Ii.js.map} +0 -0
  466. /package/dist/components/{p-BulPH2Jo.js.map → p-C7PxdEtX.js.map} +0 -0
  467. /package/dist/components/{p-DS66Mn9S.js.map → p-C7rAw-Sf.js.map} +0 -0
  468. /package/dist/components/{p-d26Fb7IS.js.map → p-C8r10chB.js.map} +0 -0
  469. /package/dist/components/{p-D5dkLuTD.js.map → p-CCaI37_s.js.map} +0 -0
  470. /package/dist/components/{p-CrkBYYf-.js.map → p-CDzU4-Ri.js.map} +0 -0
  471. /package/dist/components/{p-DHj4bfJ8.js.map → p-CE-IZkWY.js.map} +0 -0
  472. /package/dist/components/{p-CFgT9iMG.js.map → p-CFwdTUm-.js.map} +0 -0
  473. /package/dist/components/{p-Cw_sHLuu.js.map → p-CIXMGKGQ.js.map} +0 -0
  474. /package/dist/components/{p-CCExK0R5.js.map → p-CKGlbozb.js.map} +0 -0
  475. /package/dist/components/{p-BUa0wBSK.js.map → p-CLqKhHZ8.js.map} +0 -0
  476. /package/dist/components/{p-DM5CKilY.js.map → p-CN3iME9d.js.map} +0 -0
  477. /package/dist/components/{p-C-zr_dP8.js.map → p-CNEHa0dN.js.map} +0 -0
  478. /package/dist/components/{p-BHcHgI_e.js.map → p-CTvqaqVm.js.map} +0 -0
  479. /package/dist/components/{p-BuKk-s9A.js.map → p-CY71xgKe.js.map} +0 -0
  480. /package/dist/components/{p-CJEV2v84.js.map → p-CZIRwPwA.js.map} +0 -0
  481. /package/dist/components/{p-Bpc6uh0M.js.map → p-CmUug44L.js.map} +0 -0
  482. /package/dist/components/{p-1j2KmcfQ.js.map → p-CmV6S6tx.js.map} +0 -0
  483. /package/dist/components/{p-CoJyQegK.js.map → p-Cu0ProBU.js.map} +0 -0
  484. /package/dist/components/{p-CL7fW_Oh.js.map → p-Cuq_eaHi.js.map} +0 -0
  485. /package/dist/components/{p-CSXWpZjy.js.map → p-CwhGUug6.js.map} +0 -0
  486. /package/dist/components/{p-DIz1nEPY.js.map → p-D2AakJMz.js.map} +0 -0
  487. /package/dist/components/{p-CVNSeOlg.js.map → p-D2dYkSrN.js.map} +0 -0
  488. /package/dist/components/{p-DiXjCPyE.js.map → p-D7FCA_AJ.js.map} +0 -0
  489. /package/dist/components/{p-67RlLkJb.js.map → p-DA7cE1vV.js.map} +0 -0
  490. /package/dist/components/{p-CqMnH54Q.js.map → p-DAwAJIiX.js.map} +0 -0
  491. /package/dist/components/{p-BiQsRsV4.js.map → p-DDYB8QLF.js.map} +0 -0
  492. /package/dist/components/{p-BEHgXDtQ.js.map → p-DDtRlhit.js.map} +0 -0
  493. /package/dist/components/{p-CmPHR3tf.js.map → p-DFPMixk-.js.map} +0 -0
  494. /package/dist/components/{p-CR3Ni_o7.js.map → p-DG2pfnCV.js.map} +0 -0
  495. /package/dist/components/{p-CtuuZV3u.js.map → p-DIy2lHMf.js.map} +0 -0
  496. /package/dist/components/{p-xkRxEiC8.js.map → p-DJ-iHxJr.js.map} +0 -0
  497. /package/dist/components/{p-DIhqNc1G.js.map → p-DPlYDxyJ.js.map} +0 -0
  498. /package/dist/components/{p-B6sHuEsq.js.map → p-DXfFWsRb.js.map} +0 -0
  499. /package/dist/components/{p-_o_lUhve.js.map → p-Dk4OvZyQ.js.map} +0 -0
  500. /package/dist/components/{p-BFJL6rrU.js.map → p-DkiBtdrU.js.map} +0 -0
  501. /package/dist/components/{p-AX8gOGUr.js.map → p-DnvyyAaF.js.map} +0 -0
  502. /package/dist/components/{p-CTdXhHGF.js.map → p-Dq8EU803.js.map} +0 -0
  503. /package/dist/components/{p-C6T0ZB2C.js.map → p-DsVjTKwJ.js.map} +0 -0
  504. /package/dist/components/{p-BGBbdXaw.js.map → p-DvMoIxws.js.map} +0 -0
  505. /package/dist/components/{p-Ud7Qhkgt.js.map → p-DvZK__s-.js.map} +0 -0
  506. /package/dist/components/{p-DYNjCosy.js.map → p-Dw1KwhCp.js.map} +0 -0
  507. /package/dist/components/{p-C3FORjes.js.map → p-F8qX8ZuL.js.map} +0 -0
  508. /package/dist/components/{p-CqSiLhUe.js.map → p-HdZxIc2m.js.map} +0 -0
  509. /package/dist/components/{p-D-mAUrbR.js.map → p-Iph4bHku.js.map} +0 -0
  510. /package/dist/components/{p-CKlr_F9h.js.map → p-KtTME3nN.js.map} +0 -0
  511. /package/dist/components/{p-CcXqouEO.js.map → p-KzfbLe_L.js.map} +0 -0
  512. /package/dist/components/{p-CUdZx76u.js.map → p-M0gzpGV-.js.map} +0 -0
  513. /package/dist/components/{p-DX3KKRD9.js.map → p-MHAaISnU.js.map} +0 -0
  514. /package/dist/components/{p-Bn7CZqdz.js.map → p-UNw22e3G.js.map} +0 -0
  515. /package/dist/components/{p-BRoShuOu.js.map → p-UqPFIGlg.js.map} +0 -0
  516. /package/dist/components/{p-DGa_QPb9.js.map → p-UyMXVF_R.js.map} +0 -0
  517. /package/dist/components/{p-DkhX1qsg.js.map → p-VQuZJp8X.js.map} +0 -0
  518. /package/dist/components/{p-N-UYdc5h.js.map → p-WiBL-FFH.js.map} +0 -0
  519. /package/dist/components/{p-He4KDK9-.js.map → p-e7wZ4-5T.js.map} +0 -0
  520. /package/dist/components/{p-DIf6-Fvg.js.map → p-gq882NJF.js.map} +0 -0
  521. /package/dist/components/{p-DFXJvHuL.js.map → p-iQDU7l2c.js.map} +0 -0
  522. /package/dist/components/{p-CPnXAdGI.js.map → p-l818BCpp.js.map} +0 -0
  523. /package/dist/components/{p-D_uKY0yY.js.map → p-mgqCIR9Q.js.map} +0 -0
  524. /package/dist/components/{p-BHEtq3Ue.js.map → p-mmAi00ak.js.map} +0 -0
  525. /package/dist/components/{p-B-l1S16Z.js.map → p-uFR5K4vd.js.map} +0 -0
  526. /package/dist/components/{p-CqXSfYre.js.map → p-vB-efyHR.js.map} +0 -0
  527. /package/dist/components/{p-BGzrO9CQ.js.map → p-w1uPMi4U.js.map} +0 -0
  528. /package/dist/components/{p-CqyGm3oe.js.map → p-ycoVDLCD.js.map} +0 -0
  529. /package/dist/components/{p-BoHJT9bR.js.map → p-zLhQ1mMe.js.map} +0 -0
  530. /package/dist/smoothly/{p-7d6c72eb.entry.js.map → p-17170ef1.entry.js.map} +0 -0
  531. /package/dist/smoothly/{p-be43737e.entry.js.map → p-36966f71.entry.js.map} +0 -0
  532. /package/dist/smoothly/{p-7da124ca.entry.js.map → p-77ef4a4c.entry.js.map} +0 -0
  533. /package/dist/smoothly/{p-94d091cd.entry.js.map → p-7a9308b9.entry.js.map} +0 -0
  534. /package/dist/smoothly/{p-d4dad5a8.entry.js.map → p-ac2162c3.entry.js.map} +0 -0
  535. /package/dist/smoothly/{p-acfa35c3.entry.js.map → p-bd4c289b.entry.js.map} +0 -0
  536. /package/dist/smoothly/{p-05059140.entry.js.map → p-eb434b94.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{p as o,H as t,c as s,h as i,d as l,t as e}from"./p-BsZrGTcp.js";import{E as n}from"./p-DFXJvHuL.js";import{d as r}from"./p-BHEtq3Ue.js";import{d as h}from"./p-BiQsRsV4.js";const m=()=>`[color=default].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-input-edit-h{--smoothly-button-border-radius:0.5rem;display:inline-flex;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);font-size:var(--smoothly-button-font-size, 1rem);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-input-edit-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-input-edit-h{display:inline}[disabled].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit{font-weight:400;background-color:transparent}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-size:var(--smoothly-button-font-size);border:1px solid transparent;outline:none;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-weight:bold;justify-content:center;width:100%;align-items:center;border-radius:var(--smoothly-button-border-radius);padding-inline:var(--smoothly-button-padding-inline, 1rem)}.sc-smoothly-input-edit-h{min-height:var(--smoothly-button-height, 2.5rem)}.sc-smoothly-input-edit-h:has(>a:empty),.sc-smoothly-input-edit-h:has(>button:empty),.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit:empty,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit:empty{border-width:0;min-height:0;padding-inline:0}[size=small].sc-smoothly-input-edit-h{--smoothly-button-height:2rem;--smoothly-button-padding-inline:0.75rem;--smoothly-button-font-size:0.875rem;--smoothly-icon-size:1.4rem}[size=large].sc-smoothly-input-edit-h{--smoothly-button-height:3rem;--smoothly-button-padding-inline:1.25rem;--smoothly-button-font-size:1.125rem}.sc-smoothly-input-edit-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-input-edit{min-width:8rem}[size=icon].sc-smoothly-input-edit-h{--smoothly-icon-size:1.4rem}[size=icon].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-height:var(--smoothly-button-height, 2.5rem);min-width:var(--smoothly-button-height, 2.5rem);padding:0}.sc-smoothly-input-edit-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-input-edit-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center}[size=flexible].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-input-edit-h{width:100%}[expand=full].sc-smoothly-input-edit-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-input-edit-h:not([fill=clear]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-visible,[fill=outline].sc-smoothly-input-edit-h:not([disabled]):active>button.sc-smoothly-input-edit::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:hover::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-within::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:active::before{content:"";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:focus-visible,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit,.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>smoothly-icon,.sc-smoothly-input-edit-h .sc-smoothly-input-edit-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-input-edit-h{display:none}.sc-smoothly-input-edit-h:not([display]){display:none}[editable].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h[type="input"].sc-smoothly-input-edit-s>smoothly-button>button{cursor:pointer;filter:opacity(60%);--smoothly-button-foreground:var(--smoothly-input-foreground);background-color:transparent}.sc-smoothly-input-edit-h smoothly-icon.default.sc-smoothly-input-edit{transform:translate(.1em, -.1em)}.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>button>*+smoothly-icon{display:none}`;const d=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyInputLoad=s(this,"smoothlyInputLoad");this.color="tertiary";this.disabled=false;this.display=true;this.type="input";this.tooltip="Edit"}componentWillLoad(){this.smoothlyInputLoad.emit((o=>{if(n.type.is(o)){this.parent=o;o.listen((async o=>{this.display=o.readonly}))}}))}clickHandler(){var o;(o=this.parent)===null||o===void 0?void 0:o.edit(true)}render(){var o;return i(l,{key:"3fa8bd92acf77d574acfe3bd36d305e043376237",title:this.tooltip},i("smoothly-button",{key:"758777db051b7ed16e62e11c01c74d718cfefea7",disabled:this.disabled,size:this.size,type:"button",shape:this.shape,expand:this.expand,color:this.color,fill:(o=this.fill)!==null&&o!==void 0?o:this.type=="input"?"clear":undefined},i("slot",{key:"15d7fef684aa41d04a1a5e11ffa18480ae6aeee8"}),i("smoothly-icon",{key:"d47e6290709546c917d2b15ad60e30fa1df11410",class:"default",name:"create-outline",size:"tiny"})))}static get style(){return m()}},[262,"smoothly-input-edit",{color:[1],expand:[513],fill:[513],disabled:[1540],display:[1540],shape:[513],type:[513],size:[513],tooltip:[1]},[[0,"click","clickHandler"]]]);function a(){if(typeof customElements==="undefined"){return}const o=["smoothly-input-edit","smoothly-button","smoothly-icon"];o.forEach((o=>{switch(o){case"smoothly-input-edit":if(!customElements.get(e(o))){customElements.define(e(o),d)}break;case"smoothly-button":if(!customElements.get(e(o))){r()}break;case"smoothly-icon":if(!customElements.get(e(o))){h()}break}}))}a();export{d as S,a as d};
2
- //# sourceMappingURL=p-4pGbxojU.js.map
1
+ import{p as o,H as t,c as s,h as i,d as l,t as e}from"./p-BsZrGTcp.js";import{E as n}from"./p-iQDU7l2c.js";import{d as r}from"./p-mmAi00ak.js";import{d as h}from"./p-DDYB8QLF.js";const m=()=>`[color=default].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-input-edit{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}.sc-smoothly-input-edit-h{--smoothly-button-border-radius:0.5rem;display:inline-flex;box-sizing:border-box;border-radius:var(--smoothly-button-border-radius);font-size:var(--smoothly-button-font-size, 1rem);cursor:pointer;border:none;outline:none;position:relative}[shape=rounded].sc-smoothly-input-edit-h{--smoothly-button-border-radius:2rem}[type=link].sc-smoothly-input-edit-h{display:inline}[disabled].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit{font-weight:400;background-color:transparent}.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-size:var(--smoothly-button-font-size);border:1px solid transparent;outline:none;cursor:pointer;display:inline-flex;gap:0.5rem;box-sizing:border-box}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{font-weight:bold;justify-content:center;width:100%;align-items:center;border-radius:var(--smoothly-button-border-radius);padding-inline:var(--smoothly-button-padding-inline, 1rem)}.sc-smoothly-input-edit-h{min-height:var(--smoothly-button-height, 2.5rem)}.sc-smoothly-input-edit-h:has(>a:empty),.sc-smoothly-input-edit-h:has(>button:empty),.sc-smoothly-input-edit-h>a.sc-smoothly-input-edit:empty,.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit:empty{border-width:0;min-height:0;padding-inline:0}[size=small].sc-smoothly-input-edit-h{--smoothly-button-height:2rem;--smoothly-button-padding-inline:0.75rem;--smoothly-button-font-size:0.875rem;--smoothly-icon-size:1.4rem}[size=large].sc-smoothly-input-edit-h{--smoothly-button-height:3rem;--smoothly-button-padding-inline:1.25rem;--smoothly-button-font-size:1.125rem}.sc-smoothly-input-edit-h:not([size=icon]):not([size=flexible])>button.sc-smoothly-input-edit{min-width:8rem}[size=icon].sc-smoothly-input-edit-h{--smoothly-icon-size:1.4rem}[size=icon].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-height:var(--smoothly-button-height, 2.5rem);min-width:var(--smoothly-button-height, 2.5rem);padding:0}.sc-smoothly-input-edit-h:not([size=icon]){min-width:8em}[size=flexible].sc-smoothly-input-edit-h{min-width:unset;padding:0;margin:0;display:flex;justify-content:center}[size=flexible].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{min-width:unset;padding:0;margin:0}[expand].sc-smoothly-input-edit-h{width:100%}[expand=full].sc-smoothly-input-edit-h{border-left:none;border-right:none;--smoothly-button-border-radius:0}[fill=outline].sc-smoothly-input-edit-h>button.sc-smoothly-input-edit{background-color:transparent;color:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));border-color:rgb(var(--smoothly-button-foreground))}.sc-smoothly-input-edit-h:not([fill=clear]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-visible,[fill=outline].sc-smoothly-input-edit-h:not([disabled]):active>button.sc-smoothly-input-edit::before{border-color:rgb(var(--smoothly-button-focus-color))}[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:hover::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:focus-within::before,[fill=outline].sc-smoothly-input-edit-h:not([disabled])>button.sc-smoothly-input-edit:active::before{content:"";position:absolute;border:2px solid rgb(var(--smoothly-button-focus-border));inset:-1px;border-radius:var(--smoothly-button-border-radius)}.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:hover,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:focus-visible,.sc-smoothly-input-edit-h:not([fill=clear]):not([fill=outline]):not([disabled])>button.sc-smoothly-input-edit:active{background:rgb(var(--smoothly-button-hover-background))}.sc-smoothly-input-edit-h>button.sc-smoothly-input-edit,.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>smoothly-icon,.sc-smoothly-input-edit-h .sc-smoothly-input-edit-s>smoothly-icon{color:rgb(var(--smoothly-button-foreground));stroke:rgb(var(--smoothly-button-foreground));fill:rgb(var(--smoothly-button-foreground))}[hidden].sc-smoothly-input-edit-h{display:none}.sc-smoothly-input-edit-h:not([display]){display:none}[editable].sc-smoothly-input-edit-h{opacity:0.5}.sc-smoothly-input-edit-h[type="input"].sc-smoothly-input-edit-s>smoothly-button>button{cursor:pointer;filter:opacity(60%);--smoothly-button-foreground:var(--smoothly-input-foreground);background-color:transparent}.sc-smoothly-input-edit-h smoothly-icon.default.sc-smoothly-input-edit{transform:translate(.1em, -.1em)}.sc-smoothly-input-edit-h.sc-smoothly-input-edit-s>button>*+smoothly-icon{display:none}`;const d=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyInputLoad=s(this,"smoothlyInputLoad");this.color="tertiary";this.disabled=false;this.display=true;this.type="input";this.tooltip="Edit"}componentWillLoad(){this.smoothlyInputLoad.emit((o=>{if(n.type.is(o)){this.parent=o;o.listen((async o=>{this.display=o.readonly}))}}))}clickHandler(){var o;(o=this.parent)===null||o===void 0?void 0:o.edit(true)}render(){var o;return i(l,{key:"9a5ec7132b415604c425c43a2ac7c460c6ca784b",title:this.tooltip},i("smoothly-button",{key:"68711cee29eb01755e85b9acb21bd153ef88f2df",disabled:this.disabled,size:this.size,type:"button",shape:this.shape,expand:this.expand,color:this.color,fill:(o=this.fill)!==null&&o!==void 0?o:this.type=="input"?"clear":undefined},i("slot",{key:"73063df194c9194a5d06dc2c1d0fee8d03d0cdfa"}),i("smoothly-icon",{key:"39b4f6d6a588feeedfd6610777e323dc0da34f32",class:"default",name:"create-outline",size:"tiny"})))}static get style(){return m()}},[262,"smoothly-input-edit",{color:[1],expand:[513],fill:[513],disabled:[1540],display:[1540],shape:[513],type:[513],size:[513],tooltip:[1]},[[0,"click","clickHandler"]]]);function c(){if(typeof customElements==="undefined"){return}const o=["smoothly-input-edit","smoothly-button","smoothly-icon"];o.forEach((o=>{switch(o){case"smoothly-input-edit":if(!customElements.get(e(o))){customElements.define(e(o),d)}break;case"smoothly-button":if(!customElements.get(e(o))){r()}break;case"smoothly-icon":if(!customElements.get(e(o))){h()}break}}))}c();export{d as S,c as d};
2
+ //# sourceMappingURL=p-BOzzNfNj.js.map
@@ -1,2 +1,2 @@
1
- import{p as t,H as o,h as e,d as s,t as r}from"./p-BsZrGTcp.js";import{d as c}from"./p-BnYCDLp0.js";const l=()=>`.sc-smoothly-theme-color-h{display:flex;flex-direction:column;align-items:center}.sc-smoothly-theme-color-h>.sc-smoothly-theme-color:first-child{margin-top:0.2rem}`;const m=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}}render(){return e(s,{key:"2ffa9ed25b646e14b48d6da53a3afd3a9f897468"},this.color,["tint","color","shade"].map((t=>e("smoothly-theme-color-variant",{title:`${this.color} ${t}`,color:this.color,variant:t}))))}static get style(){return l()}},[2,"smoothly-theme-color",{color:[1]}]);function a(){if(typeof customElements==="undefined"){return}const t=["smoothly-theme-color","smoothly-theme-color-variant"];t.forEach((t=>{switch(t){case"smoothly-theme-color":if(!customElements.get(r(t))){customElements.define(r(t),m)}break;case"smoothly-theme-color-variant":if(!customElements.get(r(t))){c()}break}}))}a();export{m as S,a as d};
2
- //# sourceMappingURL=p-BpV6GXd7.js.map
1
+ import{p as t,H as o,h as e,d as s,t as c}from"./p-BsZrGTcp.js";import{d as r}from"./p-BnYCDLp0.js";const l=()=>`.sc-smoothly-theme-color-h{display:flex;flex-direction:column;align-items:center}.sc-smoothly-theme-color-h>.sc-smoothly-theme-color:first-child{margin-top:0.2rem}`;const m=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}}render(){return e(s,{key:"a5e578a10c7a46c0abd3ca72b8247a7ca74cd0c4"},this.color,["tint","color","shade"].map((t=>e("smoothly-theme-color-variant",{title:`${this.color} ${t}`,color:this.color,variant:t}))))}static get style(){return l()}},[2,"smoothly-theme-color",{color:[1]}]);function a(){if(typeof customElements==="undefined"){return}const t=["smoothly-theme-color","smoothly-theme-color-variant"];t.forEach((t=>{switch(t){case"smoothly-theme-color":if(!customElements.get(c(t))){customElements.define(c(t),m)}break;case"smoothly-theme-color-variant":if(!customElements.get(c(t))){r()}break}}))}a();export{m as S,a as d};
2
+ //# sourceMappingURL=p-BTjay9Fy.js.map
@@ -0,0 +1,2 @@
1
+ import{p as o,H as t,c as s,h as e,d as m,t as a}from"./p-BsZrGTcp.js";import{i as r}from"./p-BVKhAhsB.js";import{o as i}from"./p-Dr7iZPxA.js";import{f as n}from"./p-Br0kWrBT.js";import{N as c}from"./p-Bq3C8g8G.js";import"./p-DoFURPl2.js";import{d as l}from"./p-mmAi00ak.js";import{d as p}from"./p-MHAaISnU.js";import{d as f}from"./p-CmV6S6tx.js";import{d as y}from"./p-DnvyyAaF.js";import{d as h}from"./p-DPlYDxyJ.js";import{d as b}from"./p-DDYB8QLF.js";import{d}from"./p-5l1ov6SU.js";import{d as u}from"./p-DIy2lHMf.js";import{d as k}from"./p-CZIRwPwA.js";import{d as j}from"./p-ycoVDLCD.js";import{d as g}from"./p-ByRyVRgY.js";import{d as E}from"./p-CmUug44L.js";const D=()=>`.sc-smoothly-form-demo-date-range-h{display:block}`;const B=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.notice=s(this,"notice");this.validator=i({range:n("isoly.DateRange",r.DateRange.is)})}async submitHandler(o){o.stopPropagation();if(!this.validator.is(o.detail.value)){console.error(`Type is incomplete.`);this.notice.emit(c.failed(`Type is incomplete.`))}else{this.notice.emit(c.succeeded(`Type is complete!`));o.detail.result(true)}o.detail.result(false)}render(){return e(m,{key:"3833e26bb2993e1c9e34f9ae0e769667be96068f"},e("h2",{key:"22a384e50f46467bcbafa7be795461024c25b8b0"},"Date-range input"),e("smoothly-form",{key:"201517c3e9cd58a086d978da2b80d94cbb4b7a36",looks:"border",type:"create",validator:this.validator,onSmoothlyFormSubmit:o=>this.submitHandler(o)},e("smoothly-input-date-range",{key:"6cb457ad45877b3e36c60cba1c8f364133648478",name:"range"},"Range"),e("smoothly-input-submit",{key:"91e289602933e30ee845516efc85094ff03c453d",slot:"submit"},e("smoothly-icon",{key:"93d0acb0034106aeadfb8727cb2bb7e6b1bad52a",name:"checkmark-outline"}))))}static get style(){return D()}},[2,"smoothly-form-demo-date-range"]);function x(){if(typeof customElements==="undefined"){return}const o=["smoothly-form-demo-date-range","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-form","smoothly-icon","smoothly-input-date-range","smoothly-input-month","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner"];o.forEach((o=>{switch(o){case"smoothly-form-demo-date-range":if(!customElements.get(a(o))){customElements.define(a(o),B)}break;case"smoothly-button":if(!customElements.get(a(o))){l()}break;case"smoothly-button-confirm":if(!customElements.get(a(o))){p()}break;case"smoothly-calendar":if(!customElements.get(a(o))){f()}break;case"smoothly-date-text":if(!customElements.get(a(o))){y()}break;case"smoothly-form":if(!customElements.get(a(o))){h()}break;case"smoothly-icon":if(!customElements.get(a(o))){b()}break;case"smoothly-input-date-range":if(!customElements.get(a(o))){d()}break;case"smoothly-input-month":if(!customElements.get(a(o))){u()}break;case"smoothly-input-select":if(!customElements.get(a(o))){k()}break;case"smoothly-input-submit":if(!customElements.get(a(o))){j()}break;case"smoothly-item":if(!customElements.get(a(o))){g()}break;case"smoothly-spinner":if(!customElements.get(a(o))){E()}break}}))}x();export{B as S,x as d};
2
+ //# sourceMappingURL=p-BUo_O_Bt.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,H as l,h as o,d as t,t as a}from"./p-BsZrGTcp.js";const s=()=>`.sc-smoothly-table-row-h{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;box-sizing:border-box;box-shadow:0px 1px 1px -1px rgb(var(--smoothly-table-border))}.sc-smoothly-table-row-h .smoothly-table-cell.sc-smoothly-table-row,.sc-smoothly-table-row-h.sc-smoothly-table-row-s>.smoothly-table-cell{display:flex;grid-column:span var(--smoothly-table-cell-span, 1);align-items:center;padding-inline:var(--smoothly-table-cell-padding-inline, 1.1rem);min-height:var(--smoothly-table-cell-min-height, 2.75rem);white-space:nowrap}.sc-smoothly-table-row-h:has(smoothly-table-expandable-cell){grid-template-rows:auto 0fr 0fr}.sc-smoothly-table-row-h:has(smoothly-table-expandable-cell[open]){grid-template-rows:auto 1fr 0fr}`;const r=e(class e extends l{constructor(e){super();if(e!==false){this.__registerHost()}this.expandableCells=new Set}smoothlyTableExpandableCellRegisterHandler(e){e.stopPropagation();this.expandableCells.add(e.target)}smoothlyTableExpandableCellChangeHandler(e){if(e.detail){for(const l of this.expandableCells){e.target!=l&&l.close()}}}render(){return o(t,{key:"213964e8d2239419bb9dd5751e00096a922ab084"},o("slot",{key:"37b92c81dff5ba150141d0d060f7d1eb17c414d2"}))}static get style(){return s()}},[262,"smoothly-table-row",undefined,[[0,"smoothlyTableExpandableCellRegister","smoothlyTableExpandableCellRegisterHandler"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChangeHandler"]]]);function n(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-row"];e.forEach((e=>{switch(e){case"smoothly-table-row":if(!customElements.get(a(e))){customElements.define(a(e),r)}break}}))}n();export{r as S,n as d};
2
- //# sourceMappingURL=p-C02MtoAQ.js.map
1
+ import{p as e,H as l,h as o,d as t,t as a}from"./p-BsZrGTcp.js";const s=()=>`.sc-smoothly-table-row-h{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;box-sizing:border-box;box-shadow:0px 1px 1px -1px rgb(var(--smoothly-table-border))}.sc-smoothly-table-row-h .smoothly-table-cell.sc-smoothly-table-row,.sc-smoothly-table-row-h.sc-smoothly-table-row-s>.smoothly-table-cell{display:flex;grid-column:span var(--smoothly-table-cell-span, 1);align-items:center;padding-inline:var(--smoothly-table-cell-padding-inline, 1.1rem);min-height:var(--smoothly-table-cell-min-height, 2.75rem);white-space:nowrap}.sc-smoothly-table-row-h:has(smoothly-table-expandable-cell){grid-template-rows:auto 0fr 0fr}.sc-smoothly-table-row-h:has(smoothly-table-expandable-cell[open]){grid-template-rows:auto 1fr 0fr}`;const r=e(class e extends l{constructor(e){super();if(e!==false){this.__registerHost()}this.expandableCells=new Set}smoothlyTableExpandableCellRegisterHandler(e){e.stopPropagation();this.expandableCells.add(e.target)}smoothlyTableExpandableCellChangeHandler(e){if(e.detail){for(const l of this.expandableCells){e.target!=l&&l.close()}}}render(){return o(t,{key:"a7150d8e85573818c5253287f7a16af0726cd566"},o("slot",{key:"11a1f41ac92bfdfbbe55a5d56998395ffbe7f1df"}))}static get style(){return s()}},[262,"smoothly-table-row",undefined,[[0,"smoothlyTableExpandableCellRegister","smoothlyTableExpandableCellRegisterHandler"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChangeHandler"]]]);function n(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-row"];e.forEach((e=>{switch(e){case"smoothly-table-row":if(!customElements.get(a(e))){customElements.define(a(e),r)}break}}))}n();export{r as S,n as d};
2
+ //# sourceMappingURL=p-BWT1q2tN.js.map
@@ -1,2 +1,2 @@
1
- import{p as t,H as o,c as s,h as a,d as e,t as i}from"./p-BsZrGTcp.js";import{I as l}from"./p-DIhqNc1G.js";const r=()=>`.sc-smoothly-tab-h{display:contents;--smoothly-tab-line-width:2px;--smoothly-tab-line-width-active:5px}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{grid-column:span 1;background-color:transparent;border-bottom-color:rgb(var(--smoothly-default-shade));border-bottom-width:var(--smoothly-tab-line-width);border-bottom-style:solid}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{color:rgba(var(--smoothly-default-contrast), 0.6)}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{cursor:not-allowed}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{display:flex;justify-content:center;padding:0.5rem 1rem;width:fit-content;border-radius:0.5rem 0.5rem 0 0;margin:auto;cursor:pointer;position:relative}.sc-smoothly-tab-h:not([disabled])>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab:hover{background-color:rgb(var(--smoothly-tab-hover-background, var(--smoothly-default-shade)))}[open].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{font-weight:bold}[open].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab::before{content:'';position:absolute;height:var(--smoothly-tab-line-width-active);background-color:rgb(var(--smoothly-tab-active-line, var(--smoothly-primary-color)));inset-inline:0;bottom:calc(-1 * var(--smoothly-tab-line-width))}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label[data-smoothly-tooltip].sc-smoothly-tab:hover::after{content:attr(data-smoothly-tooltip);font-size:0.9rem;position:absolute;top:calc(100% + 0.25rem);padding:0.5rem 0.75rem;border-radius:0.5rem;background-color:rgb(var(--smoothly-medium-color));color:rgb(var(--smoothly-medium-contrast));white-space:nowrap;z-index:1}.sc-smoothly-tab-h>div.sc-smoothly-tab:nth-child(2){grid-row:2 / 3;grid-column:1 / -1}`;const c=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyTabOpen=s(this,"smoothlyTabOpen");this.smoothlyTabLoad=s(this,"smoothlyTabLoad");this.inputs={}}async openHandler(){if(this.open){this.smoothlyTabOpen.emit(this.name)}this.open?await Promise.all(Object.values(this.inputs).map((t=>t.register()))):await Promise.all(Object.values(this.inputs).map((t=>t.unregister())))}connectedCallback(){this.smoothlyTabLoad.emit((t=>{var o;(o=this.smoothlyTabs)===null||o===void 0?void 0:o.removeTab(this.element);this.smoothlyTabs=t}))}disconnectedCallback(){var t;(t=this.smoothlyTabs)===null||t===void 0?void 0:t.removeTab(this.element)}async componentDidLoad(){await this.openHandler()}onInputLoad(t){if(l.Element.is(t.target)){this.inputs[t.target.name]=t.target;if(!this.open){t.stopPropagation()}}}render(){return a(e,{key:"dd61170ab95f4c9ceaca14bea3f9a232960a6d9d"},a("div",{key:"cfc1188d6c8c405c46a234ad9ac98eb81fd65ec8",onClick:()=>!this.disabled&&(this.open=true)},a("label",{key:"25b8c5b4de124f5e597a524aa086a54f3f65ba56","data-smoothly-tooltip":this.tooltip},this.label)),a("div",{key:"d9931e625c2f70c92b8c6ac0efa66f28ae7f4d62",hidden:!this.open},a("slot",{key:"5811a6f791ceddbf1ef12a80913357fabbc53e5e"})))}get element(){return this}static get watchers(){return{open:[{openHandler:0}]}}static get style(){return r()}},[262,"smoothly-tab",{label:[1],name:[1],tooltip:[1],open:[1540],disabled:[516]},[[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]],{open:[{openHandler:0}]}]);function h(){if(typeof customElements==="undefined"){return}const t=["smoothly-tab"];t.forEach((t=>{switch(t){case"smoothly-tab":if(!customElements.get(i(t))){customElements.define(i(t),c)}break}}))}h();export{c as S,h as d};
2
- //# sourceMappingURL=p-NGbZCAH9.js.map
1
+ import{p as t,H as o,c as s,h as e,d as a,t as i}from"./p-BsZrGTcp.js";import{I as l}from"./p-DPlYDxyJ.js";const r=()=>`.sc-smoothly-tab-h{display:contents;--smoothly-tab-line-width:2px;--smoothly-tab-line-width-active:5px}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{grid-column:span 1;background-color:transparent;border-bottom-color:rgb(var(--smoothly-default-shade));border-bottom-width:var(--smoothly-tab-line-width);border-bottom-style:solid}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child{color:rgba(var(--smoothly-default-contrast), 0.6)}[disabled].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{cursor:not-allowed}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{display:flex;justify-content:center;padding:0.5rem 1rem;width:fit-content;border-radius:0.5rem 0.5rem 0 0;margin:auto;cursor:pointer;position:relative}.sc-smoothly-tab-h:not([disabled])>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab:hover{background-color:rgb(var(--smoothly-tab-hover-background, var(--smoothly-default-shade)))}[open].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab{font-weight:bold}[open].sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label.sc-smoothly-tab::before{content:'';position:absolute;height:var(--smoothly-tab-line-width-active);background-color:rgb(var(--smoothly-tab-active-line, var(--smoothly-primary-color)));inset-inline:0;bottom:calc(-1 * var(--smoothly-tab-line-width))}.sc-smoothly-tab-h>div.sc-smoothly-tab:first-child>label[data-smoothly-tooltip].sc-smoothly-tab:hover::after{content:attr(data-smoothly-tooltip);font-size:0.9rem;position:absolute;top:calc(100% + 0.25rem);padding:0.5rem 0.75rem;border-radius:0.5rem;background-color:rgb(var(--smoothly-medium-color));color:rgb(var(--smoothly-medium-contrast));white-space:nowrap;z-index:1}.sc-smoothly-tab-h>div.sc-smoothly-tab:nth-child(2){grid-row:2 / 3;grid-column:1 / -1}`;const h=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyTabOpen=s(this,"smoothlyTabOpen");this.smoothlyTabLoad=s(this,"smoothlyTabLoad");this.inputs={}}async openHandler(){if(this.open){this.smoothlyTabOpen.emit(this.name)}this.open?await Promise.all(Object.values(this.inputs).map((t=>t.register()))):await Promise.all(Object.values(this.inputs).map((t=>t.unregister())))}connectedCallback(){this.smoothlyTabLoad.emit((t=>{var o;(o=this.smoothlyTabs)===null||o===void 0?void 0:o.removeTab(this.element);this.smoothlyTabs=t}))}disconnectedCallback(){var t;(t=this.smoothlyTabs)===null||t===void 0?void 0:t.removeTab(this.element)}async componentDidLoad(){await this.openHandler()}onInputLoad(t){if(l.Element.is(t.target)){this.inputs[t.target.name]=t.target;if(!this.open){t.stopPropagation()}}}render(){return e(a,{key:"ae035e66fbacdf7ce232ec1be2d73b2573bea978"},e("div",{key:"8b16f293f91934e88ac5d41a837f83506ea50737",onClick:()=>!this.disabled&&(this.open=true)},e("label",{key:"3d2d6e324ad8bcfe438e5ed9000271c04840f3ea","data-smoothly-tooltip":this.tooltip},this.label)),e("div",{key:"3b041ece9f6bd5931bef85b1b3d8f50ea1200e1e",hidden:!this.open},e("slot",{key:"157b5ecc4ace4e1318629b12a34d9e7b52d20af4"})))}get element(){return this}static get watchers(){return{open:[{openHandler:0}]}}static get style(){return r()}},[262,"smoothly-tab",{label:[1],name:[1],tooltip:[1],open:[1540],disabled:[516]},[[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]],{open:[{openHandler:0}]}]);function c(){if(typeof customElements==="undefined"){return}const t=["smoothly-tab"];t.forEach((t=>{switch(t){case"smoothly-tab":if(!customElements.get(i(t))){customElements.define(i(t),h)}break}}))}c();export{h as S,c as d};
2
+ //# sourceMappingURL=p-BcEDrfmP.js.map
@@ -1,2 +1,2 @@
1
- import{p as o,H as t,h as e,d as s,t as i}from"./p-BsZrGTcp.js";import{d as n}from"./p-BiQsRsV4.js";import{d as c}from"./p-D5dkLuTD.js";import{d as r}from"./p-CmPHR3tf.js";const m=()=>`.sc-smoothly-notifier-h{display:block}[hidden].sc-smoothly-notifier-h{display:none}.sc-smoothly-notifier-h>.smoothly-notifier-wrapper.sc-smoothly-notifier{pointer-events:none;display:flex;flex-wrap:wrap-reverse;align-content:stretch;position:fixed;bottom:3rem;left:0;text-align:center;z-index:100}.sc-smoothly-notifier-h>.smoothly-notifier-wrapper.sc-smoothly-notifier>smoothly-notification.sc-smoothly-notifier{pointer-events:all}`;const l=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.icon=false;this.notices=[]}onNotice(o){this.notices=[...this.notices,o.detail]}onRemove(o){this.notices=[...this.notices.filter((t=>t!=o.detail))]}render(){return e(s,{key:"00187e7d82c05944c3e4ed5ce6ae2367b113e2fb"},e("slot",{key:"ce3b80b8e40d1a745cf910126cde0fa97a16cdc4"}),e("div",{key:"2b8faa5193ebf47c4cb7a8602c3821d44c46dbcb",class:"smoothly-notifier-wrapper"},this.notices.map((o=>e("smoothly-notification",{notice:o,icon:this.icon})))))}static get style(){return m()}},[262,"smoothly-notifier",{icon:[4],notices:[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]);function a(){if(typeof customElements==="undefined"){return}const o=["smoothly-notifier","smoothly-icon","smoothly-notification","smoothly-trigger"];o.forEach((o=>{switch(o){case"smoothly-notifier":if(!customElements.get(i(o))){customElements.define(i(o),l)}break;case"smoothly-icon":if(!customElements.get(i(o))){n()}break;case"smoothly-notification":if(!customElements.get(i(o))){c()}break;case"smoothly-trigger":if(!customElements.get(i(o))){r()}break}}))}a();export{l as N,a as d};
2
- //# sourceMappingURL=p-6PsJb2Ez.js.map
1
+ import{p as o,H as t,h as e,d as s,t as i}from"./p-BsZrGTcp.js";import{d as n}from"./p-DDYB8QLF.js";import{d as r}from"./p-CCaI37_s.js";import{d as c}from"./p-DFPMixk-.js";const m=()=>`.sc-smoothly-notifier-h{display:block}[hidden].sc-smoothly-notifier-h{display:none}.sc-smoothly-notifier-h>.smoothly-notifier-wrapper.sc-smoothly-notifier{pointer-events:none;display:flex;flex-wrap:wrap-reverse;align-content:stretch;position:fixed;bottom:3rem;left:0;text-align:center;z-index:100}.sc-smoothly-notifier-h>.smoothly-notifier-wrapper.sc-smoothly-notifier>smoothly-notification.sc-smoothly-notifier{pointer-events:all}`;const l=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.icon=false;this.notices=[]}onNotice(o){this.notices=[...this.notices,o.detail]}onRemove(o){this.notices=[...this.notices.filter((t=>t!=o.detail))]}render(){return e(s,{key:"4e003f931f925f8b9b7bf025a30ed5637d1883f6"},e("slot",{key:"24474dce23d51652d402faf096be33cbd2356a53"}),e("div",{key:"23d8511a4e84d13e2e19a623ebadcc7957881221",class:"smoothly-notifier-wrapper"},this.notices.map((o=>e("smoothly-notification",{notice:o,icon:this.icon})))))}static get style(){return m()}},[262,"smoothly-notifier",{icon:[4],notices:[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]]);function a(){if(typeof customElements==="undefined"){return}const o=["smoothly-notifier","smoothly-icon","smoothly-notification","smoothly-trigger"];o.forEach((o=>{switch(o){case"smoothly-notifier":if(!customElements.get(i(o))){customElements.define(i(o),l)}break;case"smoothly-icon":if(!customElements.get(i(o))){n()}break;case"smoothly-notification":if(!customElements.get(i(o))){r()}break;case"smoothly-trigger":if(!customElements.get(i(o))){c()}break}}))}a();export{l as N,a as d};
2
+ //# sourceMappingURL=p-BdYr9Wou.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,H as t,h as o,d as s,t as a}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{d as m}from"./p-BHEtq3Ue.js";import{d as n}from"./p-1j2KmcfQ.js";import{d as r}from"./p-AX8gOGUr.js";import{d as l}from"./p-DM5CKilY.js";import{d}from"./p-CR3Ni_o7.js";import{d as c}from"./p-B-l1S16Z.js";import{d as h}from"./p-Ud7Qhkgt.js";import{d as u}from"./p-C3FORjes.js";import{d as f}from"./p-BiQsRsV4.js";import{d as p}from"./p-Ww5QjB3D.js";import{d as y}from"./p-CrKwvG9J.js";import{d as b}from"./p-CrkBYYf-.js";import{d as k}from"./p-xkRxEiC8.js";import{d as j}from"./p-NFd9Dxr1.js";import{d as g}from"./p-BFJL6rrU.js";import{d as x}from"./p-CtuuZV3u.js";import{d as E}from"./p-BfwEfI7H.js";import{d as v}from"./p-nFLcvugJ.js";import{d as C}from"./p-CTdXhHGF.js";import{d as I}from"./p-CJEV2v84.js";import{d as U}from"./p-fnKrPnzp.js";import{d as w}from"./p-dBpTpVs8.js";const S=()=>`.sc-smoothly-input-demo-user-input-h{max-width:min(100%, 56rem);margin-inline:auto;display:grid;grid-template-columns:12rem 1fr;gap:1rem}.sc-smoothly-input-demo-user-input-h>div.sc-smoothly-input-demo-user-input{grid-column:1 / -1}@media (max-width: 48rem){.sc-smoothly-input-demo-user-input-h{grid-template-columns:1fr}}`;const B=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.values=["zero","one","two","three","four","five"];this.colors=["#ff0000","#00ff00","#0000ff","#ffff00","#00ffff","#ff00ff"]}increment(e){return e===undefined?0:(e+1)%this.values.length}render(){var e,t;return o(s,{key:"eab36e7674fb973f979c4aaed34abadae7576fe0"},o("div",{key:"8225faa4114dc00127534d7a4400b1d9b23f4ae7"},o("h2",{key:"a6e84f195de0a08ef8ea173615663417db7cb4fb"},"User Input Event"),o("p",{key:"e6aad349cb3b67654e5eb4499aa0088367862ceb"},"These inputs demonstrate how user input is handled. The ",o("code",{key:"ca92dbe2b5834d176ee33651b5d4287ece6d585c"},"smoothlyUserInput")," event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).",o("br",{key:"96cfdda6ccf73450ce38e886fbb26681c17667ea"}),"Check the console to see the details of each ",o("code",{key:"13af94b46758e72141f7ba0da21f93f2ef70a052"},"smoothlyUserInput")," event.")),o("smoothly-button",{key:"5f3eadf13479a585b26f63bbd14d5a06d4efd82e",color:"tertiary",onClick:()=>this.textIndex=this.increment(this.textIndex)},"Change text"),o("smoothly-input",{key:"18606ed8401bc0a7a9146ab7b8da848b9f155971",looks:"border",name:"demo-user-input-text",value:this.textIndex===undefined?"":this.values[this.textIndex],onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Text input"),o("smoothly-button",{key:"89d848edf493f23af859f999c62788cd58f89b9e",onClick:()=>this.selectIndex=this.increment(this.selectIndex),color:"tertiary"},"Next select item"),o("smoothly-input-select",{key:"223ebf76fcfd12bb61cf78cdafb7cc2a6f9ab95a",looks:"border",name:"demo-user-input-select",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"1bb540b065fdf0f3571482e0c8a3417a4d9be70a",slot:"label"},"Select input"),this.values.map(((e,t)=>o("smoothly-item",{value:t,selected:t==this.selectIndex},e)))),o("smoothly-button",{key:"c8759cf4029e8910db9eca83c856bbcd203721ae",color:"tertiary",onClick:()=>this.checkboxChecked=!this.checkboxChecked},"Toggle checkbox"),o("smoothly-input-checkbox",{key:"a613696a09d76a9410d66e4fc51833db30a8acd6",looks:"border",name:"demo-user-input-checkbox",checked:this.checkboxChecked,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Checkbox input"),o("smoothly-button",{key:"552e86df8bca79435198c9d18258d89471c17f2f",color:"tertiary",onClick:()=>this.radioIndex=this.increment(this.radioIndex)},"Next radio item"),o("smoothly-input-radio",{key:"83d0d370cfb15750bfec897741493bf51352409e",looks:"border",name:"demo-user-input-radio",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"205e6dc2498d0ae6b95a119aba4d19c75cefabea",slot:"label"},"Radio input"),this.values.map(((e,t)=>o("smoothly-input-radio-item",{value:e,selected:t==this.radioIndex},e)))),o("smoothly-button",{key:"13bc5121320b0982bdcf65c0ea5454841783ef24",color:"tertiary",onClick:()=>this.rangeValue=this.increment(this.rangeValue)},"Next range value"),o("smoothly-input-range",{key:"c6097f9351a54aefda3b9f51694c71d4faa803a5",looks:"border",name:"demo-user-input-range",step:1,min:0,max:this.values.length,value:this.rangeValue,label:"Range Input",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)}),o("smoothly-button",{key:"5356c9d3d1ebd1edc281d0802deee76cd098ed7d",color:"tertiary",onClick:()=>this.colorIndex=this.increment(this.colorIndex)},"Next color"),o("smoothly-input-color",{key:"18d6651482ef0254f9c1dd1cdefd2127c4d67dc1",looks:"border",name:"demo-user-input-color",value:typeof this.colorIndex=="number"?this.colors[this.colorIndex]:undefined,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Color input"),o("smoothly-button",{key:"3da5ff4f15a19d39a1537fc0f3f738bc840b17c4",color:"tertiary",onClick:()=>this.dateValue=this.dateValue?i.Date.next(this.dateValue):i.Date.now()},"Next day"),o("smoothly-input-date",{key:"c20a4edf0546a89bcbd55a1f67840ffb6ca6a98a",looks:"border",name:"demo-user-input-date",value:this.dateValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date input"),o("smoothly-button",{key:"0ab185dd19fabc2ded8387b5d08b1580d47726c9",color:"tertiary",onClick:()=>this.datetimeValue=this.datetimeValue?i.DateTime.nextDay(this.datetimeValue):i.DateTime.now()},"Next date time"),o("smoothly-input-date-time",{key:"402a80aa4b3b25a460d2acec85964446350501fa",looks:"border",name:"demo-user-input-datetime",value:this.datetimeValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date time input"),o("smoothly-button",{key:"89b12f184e5f3c2953b3882fca43dbea273f5178",color:"tertiary",onClick:()=>this.dateRangeValue=this.dateRangeValue?{start:i.Date.next(this.dateRangeValue.start),end:i.Date.next(this.dateRangeValue.end)}:{start:i.Date.now(),end:i.Date.next(i.Date.now(),10)}},"Next date range"),o("smoothly-input-date-range",{key:"7c2c3867bb8465daf5da9496c70e717bdfd2616c",looks:"border",name:"demo-user-input-daterange",start:(e=this.dateRangeValue)===null||e===void 0?void 0:e.start,end:(t=this.dateRangeValue)===null||t===void 0?void 0:t.end,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date range input"))}static get style(){return S()}},[2,"smoothly-input-demo-user-input",{textIndex:[32],selectIndex:[32],checkboxChecked:[32],radioIndex:[32],rangeValue:[32],colorIndex:[32],dateValue:[32],datetimeValue:[32],dateRangeValue:[32]}]);function N(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo-user-input","smoothly-button","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-select","smoothly-item","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo-user-input":if(!customElements.get(a(e))){customElements.define(a(e),B)}break;case"smoothly-button":if(!customElements.get(a(e))){m()}break;case"smoothly-calendar":if(!customElements.get(a(e))){n()}break;case"smoothly-date-text":if(!customElements.get(a(e))){r()}break;case"smoothly-display":if(!customElements.get(a(e))){l()}break;case"smoothly-display-json":if(!customElements.get(a(e))){d()}break;case"smoothly-display-json-object":if(!customElements.get(a(e))){c()}break;case"smoothly-display-json-primitive":if(!customElements.get(a(e))){h()}break;case"smoothly-display-json-record-key":if(!customElements.get(a(e))){u()}break;case"smoothly-icon":if(!customElements.get(a(e))){f()}break;case"smoothly-input":if(!customElements.get(a(e))){p()}break;case"smoothly-input-checkbox":if(!customElements.get(a(e))){y()}break;case"smoothly-input-color":if(!customElements.get(a(e))){b()}break;case"smoothly-input-date":if(!customElements.get(a(e))){k()}break;case"smoothly-input-date-range":if(!customElements.get(a(e))){j()}break;case"smoothly-input-date-time":if(!customElements.get(a(e))){g()}break;case"smoothly-input-month":if(!customElements.get(a(e))){x()}break;case"smoothly-input-radio":if(!customElements.get(a(e))){E()}break;case"smoothly-input-radio-item":if(!customElements.get(a(e))){v()}break;case"smoothly-input-range":if(!customElements.get(a(e))){C()}break;case"smoothly-input-select":if(!customElements.get(a(e))){I()}break;case"smoothly-item":if(!customElements.get(a(e))){U()}break;case"smoothly-toggle-switch":if(!customElements.get(a(e))){w()}break}}))}N();export{B as S,N as d};
2
- //# sourceMappingURL=p-CgCEK6Lc.js.map
1
+ import{p as e,H as t,h as o,d as s,t as a}from"./p-BsZrGTcp.js";import{i}from"./p-BVKhAhsB.js";import{d as m}from"./p-mmAi00ak.js";import{d as n}from"./p-CmV6S6tx.js";import{d as r}from"./p-DnvyyAaF.js";import{d as l}from"./p-CN3iME9d.js";import{d as c}from"./p-DG2pfnCV.js";import{d}from"./p-uFR5K4vd.js";import{d as h}from"./p-DvZK__s-.js";import{d as u}from"./p-F8qX8ZuL.js";import{d as p}from"./p-DDYB8QLF.js";import{d as f}from"./p-BHTAR2x1.js";import{d as y}from"./p-B-jhX7aN.js";import{d as b}from"./p-CDzU4-Ri.js";import{d as k}from"./p-DJ-iHxJr.js";import{d as j}from"./p-5l1ov6SU.js";import{d as g}from"./p-DkiBtdrU.js";import{d as x}from"./p-DIy2lHMf.js";import{d as E}from"./p-Bo1NnbuT.js";import{d as v}from"./p-5ac0hPYS.js";import{d as C}from"./p-Dq8EU803.js";import{d as I}from"./p-CZIRwPwA.js";import{d as U}from"./p-ByRyVRgY.js";import{d as S}from"./p-BCwizh6U.js";const w=()=>`.sc-smoothly-input-demo-user-input-h{max-width:min(100%, 56rem);margin-inline:auto;display:grid;grid-template-columns:12rem 1fr;gap:1rem}.sc-smoothly-input-demo-user-input-h>div.sc-smoothly-input-demo-user-input{grid-column:1 / -1}@media (max-width: 48rem){.sc-smoothly-input-demo-user-input-h{grid-template-columns:1fr}}`;const D=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.values=["zero","one","two","three","four","five"];this.colors=["#ff0000","#00ff00","#0000ff","#ffff00","#00ffff","#ff00ff"]}increment(e){return e===undefined?0:(e+1)%this.values.length}render(){var e,t;return o(s,{key:"3707001c9bf5406f3770f566924f8983d4444e18"},o("div",{key:"6970bb763108f56a34284bb1f3cb73545f2dba2c"},o("h2",{key:"e5f96a2b6c360e8f9a81dd90d148822758719850"},"User Input Event"),o("p",{key:"e1fb246660c29ddb2791f4dc6f9779ed5f1c18a7"},"These inputs demonstrate how user input is handled. The ",o("code",{key:"5a9145c2d8517baff49e70fd4aeed1f38600ba7f"},"smoothlyUserInput")," event fires only when the user interacts with an input, not when its value is changed programmatically (such as by clicking the buttons above).",o("br",{key:"15459234d2bf75b83479ff0786a20d2433e2dec3"}),"Check the console to see the details of each ",o("code",{key:"bc857f9996667580c4ba88a74eca429fbc0d9c83"},"smoothlyUserInput")," event.")),o("smoothly-button",{key:"66a1190b2266b0650ba087572545780f93d86ac0",color:"tertiary",onClick:()=>this.textIndex=this.increment(this.textIndex)},"Change text"),o("smoothly-input",{key:"a8630cec4bbada0c7084172822b3eeef576066ce",looks:"border",name:"demo-user-input-text",value:this.textIndex===undefined?"":this.values[this.textIndex],onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Text input"),o("smoothly-button",{key:"74fe6cc20fa495f2d6c79d13bb016bc76cada1bc",onClick:()=>this.selectIndex=this.increment(this.selectIndex),color:"tertiary"},"Next select item"),o("smoothly-input-select",{key:"5f1ad8448db267de3fc98b820be7aca9b64c2a9e",looks:"border",name:"demo-user-input-select",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"507fcecb4e27938be38144991221dfe3603c0667",slot:"label"},"Select input"),this.values.map(((e,t)=>o("smoothly-item",{value:t,selected:t==this.selectIndex},e)))),o("smoothly-button",{key:"883f987123234566bdfd192ebd71605b078434ab",color:"tertiary",onClick:()=>this.checkboxChecked=!this.checkboxChecked},"Toggle checkbox"),o("smoothly-input-checkbox",{key:"26a326a43a44339392cca252cace5148c55305d9",looks:"border",name:"demo-user-input-checkbox",checked:this.checkboxChecked,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Checkbox input"),o("smoothly-button",{key:"39dfbc581f8468c49969d5186c9a39304c8b805c",color:"tertiary",onClick:()=>this.radioIndex=this.increment(this.radioIndex)},"Next radio item"),o("smoothly-input-radio",{key:"f26209ed69e401cacbf6ea0094c1e3c8c6640181",looks:"border",name:"demo-user-input-radio",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},o("span",{key:"30b7f2d96d68bbeef6578e5c3fa07d5c56e8131e",slot:"label"},"Radio input"),this.values.map(((e,t)=>o("smoothly-input-radio-item",{value:e,selected:t==this.radioIndex},e)))),o("smoothly-button",{key:"7d1e0c7d7175bae2453a2392e47a84e21faaa4ea",color:"tertiary",onClick:()=>this.rangeValue=this.increment(this.rangeValue)},"Next range value"),o("smoothly-input-range",{key:"0d90079afa3c0beaf9562af7b6db39c0a2795008",looks:"border",name:"demo-user-input-range",step:1,min:0,max:this.values.length,value:this.rangeValue,label:"Range Input",onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)}),o("smoothly-button",{key:"2161ee4b978c2c37049cfc3d1bfd6ea5de6e16ea",color:"tertiary",onClick:()=>this.colorIndex=this.increment(this.colorIndex)},"Next color"),o("smoothly-input-color",{key:"271b3aaeba445473425259990276cf6803eeba55",looks:"border",name:"demo-user-input-color",value:typeof this.colorIndex=="number"?this.colors[this.colorIndex]:undefined,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Color input"),o("smoothly-button",{key:"5d21c601bdd2b921e6d6cd6596e871fe0ce0d486",color:"tertiary",onClick:()=>this.dateValue=this.dateValue?i.Date.next(this.dateValue):i.Date.now()},"Next day"),o("smoothly-input-date",{key:"176fda15f938f2b90134e186c75869db175621a3",looks:"border",name:"demo-user-input-date",value:this.dateValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date input"),o("smoothly-button",{key:"50ee6d7e90187eca79dea958e43fe4d38bb4e544",color:"tertiary",onClick:()=>this.datetimeValue=this.datetimeValue?i.DateTime.nextDay(this.datetimeValue):i.DateTime.now()},"Next date time"),o("smoothly-input-date-time",{key:"b688a44b6ae626c27a5e3e26d4c9be570d0f59f1",looks:"border",name:"demo-user-input-datetime",value:this.datetimeValue,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date time input"),o("smoothly-button",{key:"9172cca5a258985cda5f244d38d56b692ea75e00",color:"tertiary",onClick:()=>this.dateRangeValue=this.dateRangeValue?{start:i.Date.next(this.dateRangeValue.start),end:i.Date.next(this.dateRangeValue.end)}:{start:i.Date.now(),end:i.Date.next(i.Date.now(),10)}},"Next date range"),o("smoothly-input-date-range",{key:"4ee747fb66efa022a9e31fda59f4ca839e4b0c5d",looks:"border",name:"demo-user-input-daterange",start:(e=this.dateRangeValue)===null||e===void 0?void 0:e.start,end:(t=this.dateRangeValue)===null||t===void 0?void 0:t.end,onSmoothlyUserInput:e=>console.debug(e.type,e.detail.name,e.detail.value)},"Date range input"))}static get style(){return w()}},[2,"smoothly-input-demo-user-input",{textIndex:[32],selectIndex:[32],checkboxChecked:[32],radioIndex:[32],rangeValue:[32],colorIndex:[32],dateValue:[32],datetimeValue:[32],dateRangeValue:[32]}]);function B(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo-user-input","smoothly-button","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-color","smoothly-input-date","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-month","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-select","smoothly-item","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo-user-input":if(!customElements.get(a(e))){customElements.define(a(e),D)}break;case"smoothly-button":if(!customElements.get(a(e))){m()}break;case"smoothly-calendar":if(!customElements.get(a(e))){n()}break;case"smoothly-date-text":if(!customElements.get(a(e))){r()}break;case"smoothly-display":if(!customElements.get(a(e))){l()}break;case"smoothly-display-json":if(!customElements.get(a(e))){c()}break;case"smoothly-display-json-object":if(!customElements.get(a(e))){d()}break;case"smoothly-display-json-primitive":if(!customElements.get(a(e))){h()}break;case"smoothly-display-json-record-key":if(!customElements.get(a(e))){u()}break;case"smoothly-icon":if(!customElements.get(a(e))){p()}break;case"smoothly-input":if(!customElements.get(a(e))){f()}break;case"smoothly-input-checkbox":if(!customElements.get(a(e))){y()}break;case"smoothly-input-color":if(!customElements.get(a(e))){b()}break;case"smoothly-input-date":if(!customElements.get(a(e))){k()}break;case"smoothly-input-date-range":if(!customElements.get(a(e))){j()}break;case"smoothly-input-date-time":if(!customElements.get(a(e))){g()}break;case"smoothly-input-month":if(!customElements.get(a(e))){x()}break;case"smoothly-input-radio":if(!customElements.get(a(e))){E()}break;case"smoothly-input-radio-item":if(!customElements.get(a(e))){v()}break;case"smoothly-input-range":if(!customElements.get(a(e))){C()}break;case"smoothly-input-select":if(!customElements.get(a(e))){I()}break;case"smoothly-item":if(!customElements.get(a(e))){U()}break;case"smoothly-toggle-switch":if(!customElements.get(a(e))){S()}break}}))}B();export{D as S,B as d};
2
+ //# sourceMappingURL=p-BnJAC2Zf.js.map
@@ -1,2 +1,2 @@
1
- import{p as o,H as t,c as s,h as i,d as a,t as l}from"./p-BsZrGTcp.js";import{E as n}from"./p-DFXJvHuL.js";import{I as e}from"./p-DIhqNc1G.js";const r=()=>`.sc-smoothly-input-radio-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks="border"].sc-smoothly-input-radio-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks="border"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks="border"][readonly].sc-smoothly-input-radio-h{border:transparent solid 1px}[looks="line"].sc-smoothly-input-radio-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks="line"][readonly].sc-smoothly-input-radio-h{border-bottom:transparent solid 1px}[looks="line"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within::before{content:"";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks="grid"].sc-smoothly-input-radio-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks="grid"][readonly].sc-smoothly-input-radio-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks="grid"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks="transparent"].sc-smoothly-input-radio-h{border:none}[looks="transparent"][readonly].sc-smoothly-input-radio-h,[looks="transparent"].sc-smoothly-input-radio-h:not(:focus-within){background-color:transparent}[looks="transparent"][readonly].sc-smoothly-input-radio-h>input.sc-smoothly-input-radio,[looks="transparent"].sc-smoothly-input-radio-h:not(:focus-within)>input.sc-smoothly-input-radio{background-color:transparent}[looks="transparent"].sc-smoothly-input-radio-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-radio-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-radio-h.floating-label.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.floating-label .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder] .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly] .sc-smoothly-input-radio-s>[slot=label],.floating-label.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-value.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-text.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[placeholder].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[readonly].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.sc-smoothly-input-radio-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-radio{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-radio-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-radio{display:none}.sc-smoothly-input-radio-h smoothly-icon.smoothly-invalid.sc-smoothly-input-radio{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-radio-h{background-color:rgb(var(--smoothly-input-background));display:flex;align-items:center;padding-left:var(--input-padding-side);box-sizing:border-box}[show-label].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio{position:relative;padding-block:var(--input-value-padding-top) var(--input-value-padding-bottom)}.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio,.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{display:flex;gap:1.5rem;width:100%}[direction=column].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{flex-direction:column}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=end]{margin-right:0;margin-left:auto}[disabled].sc-smoothly-input-radio-h smoothly-input-radio-item.sc-smoothly-input-radio *.sc-smoothly-input-radio{cursor:not-allowed}`;const h=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyInputLooks=s(this,"smoothlyInputLooks");this.smoothlyInput=s(this,"smoothlyInput");this.smoothlyUserInput=s(this,"smoothlyUserInput");this.smoothlyInputLoad=s(this,"smoothlyInputLoad");this.smoothlyFormDisable=s(this,"smoothlyFormDisable");this.isDifferentFromInitial=false;this.valueReceivedOnLoad=false;this.observer=n.Observer.create(this);this.value=undefined;this.readonly=false;this.showLabel=true}componentWillLoad(){this.smoothlyInputLooks.emit(((o,t)=>{var s;return this.looks=(s=this.looks)!==null&&s!==void 0?s:o,this.color=t}));!this.readonly&&this.smoothlyFormDisable.emit((o=>this.readonly=o));this.observer.publish()}componentDidLoad(){!this.valueReceivedOnLoad&&this.smoothlyInput.emit({[this.name]:this.value});this.smoothlyInputLoad.emit((o=>this.parent=o));this.initialValue=this.active}handleRegister(o){o.stopPropagation();o.detail(this)}smoothlyInputLoadHandler(o){e.registerSubAction(this,o)}smoothlyRadioInputHandler(o){var t,s,i;o.stopPropagation();if(!this.readonly&&!this.disabled||!this.valueReceivedOnLoad){if(this.clearable&&((t=this.active)===null||t===void 0?void 0:t.value)===o.detail.value){this.clear()}else if(((s=this.active)===null||s===void 0?void 0:s.value)!==o.detail.value){(i=this.active)===null||i===void 0?void 0:i.select(false);this.active=o.detail;this.value=this.active.value;this.active.select(true)}}if(o.detail.userInitiated){this.smoothlyUserInput.emit({name:this.name,value:this.value})}!this.valueReceivedOnLoad&&(this.valueReceivedOnLoad=!this.valueReceivedOnLoad)}async listen(o){this.observer.subscribe(o)}async disconnectedCallback(){if(!this.element.isConnected){await this.unregister()}}nameChange(o,t){e.formRename(this,t)}async register(){e.formAdd(this)}async unregister(){e.formRemove(this)}async getValue(){return this.value}async clear(){var o;if(this.clearable){(o=this.active)===null||o===void 0?void 0:o.select(false);this.active=undefined;this.value=undefined}}async edit(o){this.readonly=!o}async reset(){var o,t,s;(o=this.active)===null||o===void 0?void 0:o.select(false);this.active=this.initialValue;this.value=(t=this.initialValue)===null||t===void 0?void 0:t.value;(s=this.active)===null||s===void 0?void 0:s.select(true)}async setInitialValue(){this.initialValue=this.active;this.valueChanged()}async valueChanged(){var o;this.valueReceivedOnLoad&&(this.isDifferentFromInitial=((o=this.initialValue)===null||o===void 0?void 0:o.value)!==this.value);this.smoothlyInput.emit({[this.name]:await this.getValue()});this.observer.publish()}watchingReadonly(){this.observer.publish()}render(){return i(a,{key:"9fc1e8e96700c712be6093737a8fe0b1ac85b78f",class:"floating-label"},i("slot",{key:"5a15933d73444cd550b51374b441c1da91671ec1",name:"start"}),i("div",{key:"cc7434af11b658917d8f7505b6575627a832ca13"},i("slot",{key:"2f9427184a5c285cb7f0201a5782eae9631df43a",name:"label"}),i("div",{key:"021d9fe6508e9726a8a80da21c5d0245e091cd06",class:"options"},i("slot",{key:"3e683b89f8cfb733fc8fb42cc2c7269e4317a2a8"}))),i("slot",{key:"197ca8b9be9417179baee6f4d558e4afcd4f4a76",name:"end"}))}get element(){return this}static get watchers(){return{name:[{nameChange:0}],value:[{valueChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}]}}static get style(){return r()}},[262,"smoothly-input-radio",{value:[1032],looks:[1537],color:[1537],direction:[513],clearable:[4],readonly:[1540],disabled:[516],name:[513],showLabel:[516,"show-label"],listen:[64],register:[64],unregister:[64],getValue:[64],clear:[64],edit:[64],reset:[64],setInitialValue:[64]},[[0,"smoothlyRadioItemRegister","handleRegister"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyRadioItemSelect","smoothlyRadioInputHandler"]],{name:[{nameChange:0}],value:[{valueChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}]}]);function d(){if(typeof customElements==="undefined"){return}const o=["smoothly-input-radio"];o.forEach((o=>{switch(o){case"smoothly-input-radio":if(!customElements.get(l(o))){customElements.define(l(o),h)}break}}))}d();export{h as S,d};
2
- //# sourceMappingURL=p-BfwEfI7H.js.map
1
+ import{p as o,H as t,c as s,h as i,d as a,t as l}from"./p-BsZrGTcp.js";import{E as n}from"./p-iQDU7l2c.js";import{I as e}from"./p-DPlYDxyJ.js";const r=()=>`.sc-smoothly-input-radio-h{--input-padding-side:.5rem;--input-value-padding-top:1.25rem;--input-value-padding-bottom:.25rem;--input-min-height:3rem;min-height:var(--input-min-height);box-sizing:border-box;border-radius:var(--smoothly-input-border-radius)}[looks="border"].sc-smoothly-input-radio-h{border:rgb(var(--smoothly-input-border)) solid 1px}[looks="border"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{outline:2px solid rgb(var(--smoothly-input-border-focus))}[looks="border"][readonly].sc-smoothly-input-radio-h{border:transparent solid 1px}[looks="line"].sc-smoothly-input-radio-h{border-bottom:rgb(var(--smoothly-input-border)) solid 1px;position:relative}[looks="line"][readonly].sc-smoothly-input-radio-h{border-bottom:transparent solid 1px}[looks="line"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within::before{content:"";position:absolute;inset:0;pointer-events:none;border-bottom:2px solid rgb(var(--smoothly-input-border-focus));z-index:10}[looks="grid"].sc-smoothly-input-radio-h{flex-grow:1;flex-basis:40%;box-shadow:0px 0px 0px 1px rgb(var(--smoothly-input-border));border:none}[looks="grid"][readonly].sc-smoothly-input-radio-h{box-shadow:0px 0px 0px 1px rgba(var(--smoothly-input-border-readonly))}[looks="grid"].sc-smoothly-input-radio-h:not([readonly]):not([disabled]):focus-within{position:relative;box-shadow:0px 0px 0px 2px rgb(var(--smoothly-input-border-focus));outline:none;z-index:10}[looks="transparent"].sc-smoothly-input-radio-h{border:none}[looks="transparent"][readonly].sc-smoothly-input-radio-h,[looks="transparent"].sc-smoothly-input-radio-h:not(:focus-within){background-color:transparent}[looks="transparent"][readonly].sc-smoothly-input-radio-h>input.sc-smoothly-input-radio,[looks="transparent"].sc-smoothly-input-radio-h:not(:focus-within)>input.sc-smoothly-input-radio{background-color:transparent}[looks="transparent"].sc-smoothly-input-radio-h:not([readonly]):focus-within{outline:1px solid rgb(var(--smoothly-input-border))}[disabled].sc-smoothly-input-radio-h{cursor:not-allowed;--smoothly-input-foreground:var(--smoothly-input-disabled-foreground);--smoothly-input-background:var(--smoothly-input-disabled-background);--smoothly-input-border:var(--smoothly-input-disabled-border)}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio{position:absolute;top:.6rem;opacity:0.8;user-select:none;cursor:inherit;transform-origin:top left;transition:transform 100ms ease}.sc-smoothly-input-radio-h.floating-label.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.floating-label .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value.sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h.has-value .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[placeholder] .sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly].sc-smoothly-input-radio-s>[slot=label],.sc-smoothly-input-radio-h[readonly] .sc-smoothly-input-radio-s>[slot=label],.floating-label.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-value.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.has-text.sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[placeholder].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,[readonly].sc-smoothly-input-radio-h .label.sc-smoothly-input-radio,.sc-smoothly-input-radio-h:not([readonly]):focus-within .label.float-on-focus.sc-smoothly-input-radio{top:.2rem;transform:scale(0.8)}.sc-smoothly-input-radio-h:not([show-label]):not(.show-label) .label.sc-smoothly-input-radio{display:none}.sc-smoothly-input-radio-h smoothly-icon.smoothly-invalid.sc-smoothly-input-radio{fill:rgb(var(--smoothly-input-invalid-icon, var(--smoothly-danger-color)))}.sc-smoothly-input-radio-h{background-color:rgb(var(--smoothly-input-background));display:flex;align-items:center;padding-left:var(--input-padding-side);box-sizing:border-box}[show-label].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio{position:relative;padding-block:var(--input-value-padding-top) var(--input-value-padding-bottom)}.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio,.sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{display:flex;gap:1.5rem;width:100%}[direction=column].sc-smoothly-input-radio-h>div.sc-smoothly-input-radio>div.options.sc-smoothly-input-radio{flex-direction:column}.sc-smoothly-input-radio-h.sc-smoothly-input-radio-s>[slot=end]{margin-right:0;margin-left:auto}[disabled].sc-smoothly-input-radio-h smoothly-input-radio-item.sc-smoothly-input-radio *.sc-smoothly-input-radio{cursor:not-allowed}`;const h=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}this.smoothlyInputLooks=s(this,"smoothlyInputLooks");this.smoothlyInput=s(this,"smoothlyInput");this.smoothlyUserInput=s(this,"smoothlyUserInput");this.smoothlyInputLoad=s(this,"smoothlyInputLoad");this.smoothlyFormDisable=s(this,"smoothlyFormDisable");this.isDifferentFromInitial=false;this.valueReceivedOnLoad=false;this.observer=n.Observer.create(this);this.value=undefined;this.readonly=false;this.showLabel=true}componentWillLoad(){this.smoothlyInputLooks.emit(((o,t)=>{var s;return this.looks=(s=this.looks)!==null&&s!==void 0?s:o,this.color=t}));!this.readonly&&this.smoothlyFormDisable.emit((o=>this.readonly=o));this.observer.publish()}componentDidLoad(){!this.valueReceivedOnLoad&&this.smoothlyInput.emit({[this.name]:this.value});this.smoothlyInputLoad.emit((o=>this.parent=o));this.initialValue=this.active}handleRegister(o){o.stopPropagation();o.detail(this)}smoothlyInputLoadHandler(o){e.registerSubAction(this,o)}smoothlyRadioInputHandler(o){var t,s,i;o.stopPropagation();if(!this.readonly&&!this.disabled||!this.valueReceivedOnLoad){if(this.clearable&&((t=this.active)===null||t===void 0?void 0:t.value)===o.detail.value){this.clear()}else if(((s=this.active)===null||s===void 0?void 0:s.value)!==o.detail.value){(i=this.active)===null||i===void 0?void 0:i.select(false);this.active=o.detail;this.value=this.active.value;this.active.select(true)}}if(o.detail.userInitiated){this.smoothlyUserInput.emit({name:this.name,value:this.value})}!this.valueReceivedOnLoad&&(this.valueReceivedOnLoad=!this.valueReceivedOnLoad)}async listen(o){this.observer.subscribe(o)}async disconnectedCallback(){if(!this.element.isConnected){await this.unregister()}}nameChange(o,t){e.formRename(this,t)}async register(){e.formAdd(this)}async unregister(){e.formRemove(this)}async getValue(){return this.value}async clear(){var o;if(this.clearable){(o=this.active)===null||o===void 0?void 0:o.select(false);this.active=undefined;this.value=undefined}}async edit(o){this.readonly=!o}async reset(){var o,t,s;(o=this.active)===null||o===void 0?void 0:o.select(false);this.active=this.initialValue;this.value=(t=this.initialValue)===null||t===void 0?void 0:t.value;(s=this.active)===null||s===void 0?void 0:s.select(true)}async setInitialValue(){this.initialValue=this.active;this.valueChanged()}async valueChanged(){var o;this.valueReceivedOnLoad&&(this.isDifferentFromInitial=((o=this.initialValue)===null||o===void 0?void 0:o.value)!==this.value);this.smoothlyInput.emit({[this.name]:await this.getValue()});this.observer.publish()}watchingReadonly(){this.observer.publish()}render(){return i(a,{key:"9fc1e8e96700c712be6093737a8fe0b1ac85b78f",class:"floating-label"},i("slot",{key:"5a15933d73444cd550b51374b441c1da91671ec1",name:"start"}),i("div",{key:"cc7434af11b658917d8f7505b6575627a832ca13"},i("slot",{key:"2f9427184a5c285cb7f0201a5782eae9631df43a",name:"label"}),i("div",{key:"021d9fe6508e9726a8a80da21c5d0245e091cd06",class:"options"},i("slot",{key:"3e683b89f8cfb733fc8fb42cc2c7269e4317a2a8"}))),i("slot",{key:"197ca8b9be9417179baee6f4d558e4afcd4f4a76",name:"end"}))}get element(){return this}static get watchers(){return{name:[{nameChange:0}],value:[{valueChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}]}}static get style(){return r()}},[262,"smoothly-input-radio",{value:[1032],looks:[1537],color:[1537],direction:[513],clearable:[4],readonly:[1540],disabled:[516],name:[513],showLabel:[516,"show-label"],listen:[64],register:[64],unregister:[64],getValue:[64],clear:[64],edit:[64],reset:[64],setInitialValue:[64]},[[0,"smoothlyRadioItemRegister","handleRegister"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyRadioItemSelect","smoothlyRadioInputHandler"]],{name:[{nameChange:0}],value:[{valueChanged:0}],disabled:[{watchingReadonly:0}],readonly:[{watchingReadonly:0}]}]);function d(){if(typeof customElements==="undefined"){return}const o=["smoothly-input-radio"];o.forEach((o=>{switch(o){case"smoothly-input-radio":if(!customElements.get(l(o))){customElements.define(l(o),h)}break}}))}d();export{h as S,d};
2
+ //# sourceMappingURL=p-Bo1NnbuT.js.map
@@ -0,0 +1,2 @@
1
+ class e{get state(){return this.stateValue}set state(e){if(this.stateValue!=e){this.stateValue=e;this.emit()}}get message(){return this.messageValue}set message(e){if(this.messageValue!=e){this.messageValue=e;this.emit()}}constructor(e,s,t,i=15e3){this.stateValue=e;this.messageValue=s;this.task=t;this.lifetime=i;this.listeners=[];switch(e){case"delayed":this.timer=window.setTimeout((()=>this.execute()),5e3);break;case"executing":this.execute();break;case"success":case"warning":case"failed":this.startCloseTimer();break}}listen(e){this.listeners.push(e)}unlisten(e){this.listeners.filter((s=>s!=e))}emit(){this.listeners.forEach((e=>e(this)))}execute(){this.clearTimer();if(this.task){this.state="executing";this.task(this).then((e=>{this.messageValue=e[1];this.state=e[0]?"success":"failed";this.startCloseTimer()}))}else this.state="failed"}startCloseTimer(){this.timer=window.setTimeout((()=>this.close()),this.lifetime)}close(){this.clearTimer();this.state="closed"}clearTimer(){if(this.timer){window.clearTimeout(this.timer);this.timer=undefined}}static delay(s,t,i){return new e("delayed",s,t,i)}static execute(s,t,i){return new e("executing",s,t,i)}static succeeded(s,t){return new e("success",s,undefined,t)}static failed(s,t){return new e("failed",s,undefined,t)}static warn(s,t){return new e("warning",s,undefined,t)}}export{e as N};
2
+ //# sourceMappingURL=p-Bq3C8g8G.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Notice","state","this","stateValue","value","emit","message","messageValue","constructor","task","lifetime","listeners","timer","window","setTimeout","execute","startCloseTimer","listen","listener","push","unlisten","filter","l","forEach","clearTimer","then","r","close","clearTimeout","undefined","delay","succeeded","failed","warn"],"sources":["src/model/Notice.ts"],"sourcesContent":["export class Notice {\n\tprivate timer?: number\n\tget state(): Notice.State {\n\t\treturn this.stateValue\n\t}\n\tset state(value: Notice.State) {\n\t\tif (this.stateValue != value) {\n\t\t\tthis.stateValue = value\n\t\t\tthis.emit()\n\t\t}\n\t}\n\n\tprivate listeners: Notice.Listener[] = []\n\tget message(): string {\n\t\treturn this.messageValue\n\t}\n\tset message(value: string) {\n\t\tif (this.messageValue != value) {\n\t\t\tthis.messageValue = value\n\t\t\tthis.emit()\n\t\t}\n\t}\n\tprivate constructor(private stateValue: Notice.State, private messageValue: string, private task?: Notice.Task, private lifetime = 15000) {\n\t\tswitch (stateValue) {\n\t\t\tcase \"delayed\":\n\t\t\t\tthis.timer = window.setTimeout(() => this.execute(), 5000)\n\t\t\t\tbreak\n\t\t\tcase \"executing\":\n\t\t\t\tthis.execute()\n\t\t\t\tbreak\n\t\t\tcase \"success\":\n\t\t\tcase \"warning\":\n\t\t\tcase \"failed\":\n\t\t\t\tthis.startCloseTimer()\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tbreak\n\t\t}\n\t}\n\tlisten(listener: Notice.Listener) {\n\t\tthis.listeners.push(listener)\n\t}\n\tunlisten(listener: Notice.Listener) {\n\t\tthis.listeners.filter(l => l != listener)\n\t}\n\tprivate emit() {\n\t\tthis.listeners.forEach(l => l(this))\n\t}\n\tprivate execute() {\n\t\tthis.clearTimer()\n\t\tif (this.task) {\n\t\t\tthis.state = \"executing\"\n\t\t\tthis.task(this).then(r => {\n\t\t\t\tthis.messageValue = r[1] // emit is triggered by the state change below\n\t\t\t\tthis.state = r[0] ? \"success\" : \"failed\"\n\t\t\t\tthis.startCloseTimer()\n\t\t\t})\n\t\t} else\n\t\t\tthis.state = \"failed\"\n\t}\n\tprivate startCloseTimer() {\n\t\tthis.timer = window.setTimeout(() => this.close(), this.lifetime)\n\t}\n\n\tclose() {\n\t\tthis.clearTimer()\n\t\tthis.state = \"closed\"\n\t}\n\tprivate clearTimer() {\n\t\tif (this.timer) {\n\t\t\twindow.clearTimeout(this.timer)\n\t\t\tthis.timer = undefined\n\t\t}\n\t}\n\n\tstatic delay(message: string, task: Notice.Task, lifetime?: number): Notice {\n\t\treturn new Notice(\"delayed\", message, task, lifetime)\n\t}\n\tstatic execute(message: string, task: Notice.Task, lifetime?: number): Notice {\n\t\treturn new Notice(\"executing\", message, task, lifetime)\n\t}\n\tstatic succeeded(message: string, lifetime?: number): Notice {\n\t\treturn new Notice(\"success\", message, undefined, lifetime)\n\t}\n\tstatic failed(message: string, lifetime?: number): Notice {\n\t\treturn new Notice(\"failed\", message, undefined, lifetime)\n\t}\n\tstatic warn(message: string, lifetime?: number): Notice {\n\t\treturn new Notice(\"warning\", message, undefined, lifetime)\n\t}\n}\nexport namespace Notice {\n\texport type State = \"delayed\" | \"executing\" | \"success\" | \"warning\" | \"failed\" | \"closed\"\n\texport type Listener = (notice: Notice) => void\n\texport type Task = (notice: Notice) => Promise<[boolean, string]>\n}\n"],"mappings":"MAAaA,EAEZ,SAAIC,GACH,OAAOC,KAAKC,U,CAEb,SAAIF,CAAMG,GACT,GAAIF,KAAKC,YAAcC,EAAO,CAC7BF,KAAKC,WAAaC,EAClBF,KAAKG,M,EAKP,WAAIC,GACH,OAAOJ,KAAKK,Y,CAEb,WAAID,CAAQF,GACX,GAAIF,KAAKK,cAAgBH,EAAO,CAC/BF,KAAKK,aAAeH,EACpBF,KAAKG,M,EAGP,WAAAG,CAA4BL,EAAkCI,EAA8BE,EAA4BC,EAAW,MAAvGR,KAAAC,aAAkCD,KAAAK,eAA8BL,KAAAO,OAA4BP,KAAAQ,WAVhHR,KAAAS,UAA+B,GAWtC,OAAQR,GACP,IAAK,UACJD,KAAKU,MAAQC,OAAOC,YAAW,IAAMZ,KAAKa,WAAW,KACrD,MACD,IAAK,YACJb,KAAKa,UACL,MACD,IAAK,UACL,IAAK,UACL,IAAK,SACJb,KAAKc,kBACL,M,CAKH,MAAAC,CAAOC,GACNhB,KAAKS,UAAUQ,KAAKD,E,CAErB,QAAAE,CAASF,GACRhB,KAAKS,UAAUU,QAAOC,GAAKA,GAAKJ,G,CAEzB,IAAAb,GACPH,KAAKS,UAAUY,SAAQD,GAAKA,EAAEpB,O,CAEvB,OAAAa,GACPb,KAAKsB,aACL,GAAItB,KAAKO,KAAM,CACdP,KAAKD,MAAQ,YACbC,KAAKO,KAAKP,MAAMuB,MAAKC,IACpBxB,KAAKK,aAAemB,EAAE,GACtBxB,KAAKD,MAAQyB,EAAE,GAAK,UAAY,SAChCxB,KAAKc,iBAAiB,G,MAGvBd,KAAKD,MAAQ,Q,CAEP,eAAAe,GACPd,KAAKU,MAAQC,OAAOC,YAAW,IAAMZ,KAAKyB,SAASzB,KAAKQ,S,CAGzD,KAAAiB,GACCzB,KAAKsB,aACLtB,KAAKD,MAAQ,Q,CAEN,UAAAuB,GACP,GAAItB,KAAKU,MAAO,CACfC,OAAOe,aAAa1B,KAAKU,OACzBV,KAAKU,MAAQiB,S,EAIf,YAAOC,CAAMxB,EAAiBG,EAAmBC,GAChD,OAAO,IAAIV,EAAO,UAAWM,EAASG,EAAMC,E,CAE7C,cAAOK,CAAQT,EAAiBG,EAAmBC,GAClD,OAAO,IAAIV,EAAO,YAAaM,EAASG,EAAMC,E,CAE/C,gBAAOqB,CAAUzB,EAAiBI,GACjC,OAAO,IAAIV,EAAO,UAAWM,EAASuB,UAAWnB,E,CAElD,aAAOsB,CAAO1B,EAAiBI,GAC9B,OAAO,IAAIV,EAAO,SAAUM,EAASuB,UAAWnB,E,CAEjD,WAAOuB,CAAK3B,EAAiBI,GAC5B,OAAO,IAAIV,EAAO,UAAWM,EAASuB,UAAWnB,E","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{T as e,s as o,o as t,b as r,l as n}from"./p-Dr7iZPxA.js";function a(...e){return new c(...e)}class c extends e{class="union";types;constructor(...e){super((()=>e.map((e=>e.name)).join(" | ")));this.types=e}is=e=>this.types.some((o=>o.is(e)));createFlaw(e){return{flaws:this.types.map((o=>o.flaw(e))).filter((e=>e))}}getValue(e){return this.types.find((o=>o.is(e)))?.get(e)}}const l={positive:{is:e=>e>0,condition:"> 0"},negative:{is:e=>e<0,condition:"< 0"},integer:{is:e=>Number.isInteger(e),condition:"Number.isInteger"}};function i(e){const[o,t]=e==undefined?[undefined,undefined]:s(e);return new u(o,t)}function s(e){return typeof e=="number"?[o=>o==e," == "+e.toString()]:(e=>Array.isArray(e)&&e.every((e=>typeof e=="number")))(e)?[o=>e.map(s).some((e=>e[0](o))),e.join(" | ")]:(e=>Array.isArray(e)&&e.every((e=>typeof e=="string"&&e in l)))(e)?[o=>e.map(s).every((e=>e[0](o))),e.map(s).map((e=>e[1])).join(" & ")]:typeof e==="function"?[e,"custom"]:e in l?[l[e].is,l[e].condition]:[()=>false,"Unknown criteria"]}class u extends e{isFunction;class="number";constructor(e,o){super("number",o);this.isFunction=e}is=e=>typeof e=="number"&&!Number.isNaN(e-e)&&(!this.isFunction||this.isFunction(e))}function d(e,o){return new f(e,o)}class f extends e{isFunction;class="fromIs";constructor(e,o){super(e);this.isFunction=o}is=e=>this.isFunction(e)}function p(){return new g}class g extends e{class="function";constructor(){super("function")}is=e=>!!(e&&typeof e=="function")}function b(e,o){return new h(e,o)}class h extends e{keyType;valueType;class="record";constructor(e,o){super((()=>`Record<${e.name}, ${o.name}>`));this.keyType=e;this.valueType=o}is=e=>!!(e&&typeof e=="object"&&!globalThis.Array.isArray(e)&&globalThis.Object.entries(e).every((([e,o])=>this.keyType.is(this.keyType.name=="number"&&`${+e}`==e?+e:e)&&this.valueType.is(o))));createFlaw(e){return{flaws:e&&typeof e=="object"&&!globalThis.Array.isArray(e)&&globalThis.Object.entries(e).flatMap((([e,o])=>[this.keyType.flaw(this.keyType.name=="number"&&`${+e}`==e?+e:e),this.valueType.flaw(o)].map(((o,t)=>(o.isFlaw??true)&&{property:e+` (${["key","value"][t]})`,...o})).filter(Boolean)))}}getValue(e){return globalThis.Object.fromEntries(globalThis.Object.entries(e).map((([e,o])=>[e,this.valueType.get(o)])))}}function m(e){return new w("undefined")}class w extends e{class="undefined";is=e=>e===undefined}var y;(function(e){e.type=o(new RegExp(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i));function t(e){e=e.replace(/^#/,"");if(e.length===3){e=e.split("").map((e=>e+e)).join("")}const o=parseInt(e,16);const t=o>>16&255;const r=o>>8&255;const n=o&255;return{r:t,g:r,b:n}}e.toRGB=t})(y||(y={}));var v;(function(e){e.type=t({h:i().optional(),s:i().optional(),l:i().optional()});function o({h:e,s:o,l:t}){let r=0;let n=0;let a=0;if(e!==undefined&&o!==undefined&&t!==undefined){o/=100;t/=100;const c=(1-Math.abs(2*t-1))*o;const l=c*(1-Math.abs(e/60%2-1));const i=t-c/2;if(0<=e&&e<60){r=c;n=l;a=0}else if(60<=e&&e<120){r=l;n=c;a=0}else if(120<=e&&e<180){r=0;n=c;a=l}else if(180<=e&&e<240){r=0;n=l;a=c}else if(240<=e&&e<300){r=l;n=0;a=c}else if(300<=e&&e<360){r=c;n=0;a=l}r=(r+i)*255;n=(n+i)*255;a=(a+i)*255}return{r,g:n,b:a}}e.toRGB=o})(v||(v={}));var k;(function(e){e.type=t({r:i().optional(),g:i().optional(),b:i().optional()});function o(e){let o="";for(const t of Object.values(e)){if(t===0){o+="00"}else if(t&&t>=0&&t<=255){const e=Math.round(t).toString(16);o+=e.length===1?"0"+e:e}}const t=[o.slice(0,2),o.slice(2,4),o.slice(4,6)];t.every((e=>e[0]===e[1]))&&(o=t.map((e=>e[0])).join(""));return"#"+o}e.toHex=o;function r({r:e,g:o,b:t}){let r,n,a;if(e!==undefined&&o!==undefined&&t!==undefined){e/=255;o/=255;t/=255;const c=Math.max(e,o,t);const l=Math.min(e,o,t);a=(c+l)/2;if(c===l){r=n=0}else{const i=c-l;n=a>.5?i/(2-c-l):i/(c+l);switch(c){case e:r=(o-t)/i+(o<t?6:0);break;case o:r=(t-e)/i+2;break;case t:r=(e-o)/i+4;break;default:r=0}r/=6}r=r*360;n=n*100;a=a*100}return{h:r,s:n,l:a}}e.toHSL=r})(k||(k={}));var j;(function(e){e.Hex=y;e.HSL=v;e.RGB=k;e.values=["default","primary","secondary","tertiary","success","warning","danger","light","medium","dark"];e.type=o(e.values);e.is=e.type.is})(j||(j={}));var x;(function(e){e.values=["clear","default","outline","solid"];e.type=o(e.values)})(x||(x={}));var O;(function(e){const o={"*":"https://ionicons.pages.dev/svg/${name}.svg"};const t={};async function r(e){try{const o=await globalThis.fetch(e);if(!o.ok){console.warn(`Icon failed to load: ${e} (Status: ${o.status})`);return undefined}return await o.text()}catch(o){console.error(`Network error while fetching icon: ${e}`,o);return undefined}}async function n(e){var n,a;const c=((n=o[e])!==null&&n!==void 0?n:o["*"]).replace("${name}",e);return(a=t[c])!==null&&a!==void 0?a:t[c]=r(c)}e.load=n;function a(e,...t){for(const r of t){o[r]=e}}e.add=a;(function(e){e.values=["accessibility","add-circle","add","airplane","alarm","albums","alert-circle","alert","american-football","analytics","aperture","apps","archive","arrow-back-circle","arrow-back","arrow-down-circle","arrow-down","arrow-forward-circle","arrow-forward","arrow-redo-circle","arrow-redo","arrow-undo-circle","arrow-undo","arrow-up-circle","arrow-up","at-circle","at","attach","backspace","bag","bag-add","bag-check","bag-handle","balloon","ban","bandage","barbell","bar-chart","barcode","baseball","basketball","basket","battery-charging","battery-dead","battery-full","battery-half","beaker","bed","beer","bicycle","bluetooth","boat","body","bonfire","bowling-ball","bookmarks","bookmark","book","briefcase","browsers","brush","bug","build","bulb","business","bus","cafe","calculator","calendar","calendar-clear","calendar-number","call","camera-reverse","camera","card","caret-back-circle","caret-back","caret-down-circle","caret-down","caret-forward-circle","caret-forward","caret-up-circle","caret-up","car-sport","car","cart","cash","cellular","chatbox-ellipses","chatbox","chatbubble-ellipses","chatbubbles","chatbubble","checkbox","checkmark-circle","checkmark-done-circle","checkmark-done","checkmark","chevron-back-circle","chevron-back","chevron-collapse","chevron-down-circle","chevron-down","chevron-expand","chevron-forward-circle","chevron-forward","chevron-up-circle","chevron-up","clipboard","close-circle","close","cloud-circle","cloud-done","cloud-download","cloud-offline","cloud","cloud-upload","cloudy-night","cloudy","code-download","code-slash","code","code-working","cog","color-fill","color-filter","color-palette","color-wand","compass","construct","contract","contrast","copy","create","crop","cube","cut","desktop","diamond","dice","disc","document-attach","document-lock","documents","document","document-text","download","duplicate","ear","earth","easel","egg","ellipse","ellipsis-horizontal-circle","ellipsis-horizontal","ellipsis-vertical-circle","ellipsis-vertical","enter","exit","expand","eyedrop","eye-off","eye","fast-food","female","file-tray-full","file-tray-stacked","file-tray","film","filter","filter-circle","finger-print","fish","fitness","flag","flame","flashlight","flash-off","flash","flask","flower","folder-open","folder","football","footsteps","funnel","game-controller","gift","git-branch","git-commit","git-compare","git-merge","git-network","git-pull-request","glasses","globe","golf","grid","hammer","hand-left","hand-right","happy","hardware-chip","headset","heart-circle","heart-dislike-circle","heart-dislike","heart-half","heart","help-buoy","help-circle","help","home","hourglass","ice-cream","id-card","images","image","infinite","information-circle","information","journal","invert-mode","keypad","key","language","laptop","layers","leaf","library","link","list-circle","list","locate","location","lock-closed","lock-open","log-in","log-out","magnet","mail-open","mail","mail-unread","male-female","male","man","map","medal","medical","medkit","megaphone","menu","mic-circle","mic-off-circle","mic-off","mic","moon","move","musical-notes","musical-note","navigate-circle","navigate","newspaper","notifications-circle","notifications-off-circle","notifications-off","notifications","nuclear","nutrition","open","options","paper-plane","partly-sunny","pause-circle","pause","paw","pencil","people-circle","people","person-add","person-circle","person-remove","person","phone-landscape","phone-portrait","pie-chart","pin","pint","pizza","planet","play-back-circle","play-back","play-circle","play-forward-circle","play-forward","play-skip-back-circle","play-skip-back","play-skip-forward-circle","play-skip-forward","play","podium","power","pricetags","prism","pricetag","print","pulse","push","qr-code","radio-button-off","radio-button-on","radio","rainy","reader","receipt","recording","refresh-circle","refresh","reload-circle","reload","remove-circle","remove","reorder-four","reorder-three","reorder-two","repeat","resize","restaurant","return-down-back","return-down-forward","return-up-back","return-up-forward","ribbon","rocket","rose","sad","save","scan-circle","scale","scan","school","search-circle","search","send","server","settings","shapes","share-social","share","shield-checkmark","shield-half","shield","shirt","shuffle","skull","snow","sparkles","speedometer","square","star-half","star","stats-chart","stop-circle","stop","stopwatch","storefront","subway","sunny","swap-horizontal","swap-vertical","sync-circle","sync","tablet-landscape","tablet-portrait","telescope","tennisball","terminal","text","thermometer","thumbs-down","thumbs-up","thunderstorm","ticket","timer","time","today","toggle","trail-sign","train","transgender","trash-bin","trash","trending-down","trending-up","triangle","trophy","tv","umbrella","unlink","videocam-off","walk","wallet","warning","watch","water","videocam","wifi","wine","volume-high","volume-low","volume-medium","volume-mute","volume-off","woman"]})(e.Name||(e.Name={}));(function(e){e.values=["logo-alipay","logo-amazon","logo-amplify","logo-android","logo-angular","logo-apple-appstore","logo-apple","logo-apple-ar","logo-behance","logo-bitbucket","logo-bitcoin","logo-buffer","logo-capacitor","logo-chrome","logo-closed-captioning","logo-codepen","logo-css3","logo-designernews","logo-deviantart","logo-discord","logo-docker","logo-dribbble","logo-dropbox","logo-edge","logo-electron","logo-euro","logo-facebook","logo-firebase","logo-firefox","logo-flickr","logo-foursquare","logo-github","logo-gitlab","logo-google-playstore","logo-google","logo-hackernews","logo-html5","logo-instagram","logo-ionic","logo-ionitron","logo-javascript","logo-laravel","logo-linkedin","logo-markdown","logo-mastodon","logo-medium","logo-microsoft","logo-nodejs","logo-no-smoking","logo-npm","logo-octocat","logo-paypal","logo-pinterest","logo-playstation","logo-pwa","logo-python","logo-react","logo-reddit","logo-rss","logo-sass","logo-skype","logo-slack","logo-snapchat","logo-soundcloud","logo-stackoverflow","logo-steam","logo-stencil","logo-tableau","logo-tiktok","logo-tumblr","logo-tux","logo-twitch","logo-twitter","logo-usd","logo-web-component","logo-venmo","logo-whatsapp","logo-vercel","logo-vimeo","logo-windows","logo-vk","logo-wordpress","logo-vue","logo-xbox","logo-xing","logo-yahoo","logo-yen","logo-youtube"]})(e.Logo||(e.Logo={}))})(O||(O={}));var T;(function(e){function o(e){return typeof e=="object"&&typeof e.destination=="string"&&e.content!=undefined}e.is=o;function t(o,t,r){if(e.is(o)&&r==undefined){r=t;if(!r){r=window}const e=o.destination.split("#",2);o={destination:e[1],content:o.content};r.postMessage(o,e[0])}else if(typeof r!="string"){if(!r){r=window}if(typeof o=="string"){e.send({destination:o,content:t},r)}}}e.send=t;function r(o,t,r){const n=o.split("#",2);let a="";if(n.length==2){o=n[0];a=n[1]}(r||window).addEventListener("message",(r=>{const n=r.data;if(e.is(n)&&(o=="*"||r.origin==o)&&(a==""||n.destination==a)){t(n.destination,n.content)}}))}e.listen=r})(T||(T={}));var $;(function(e){function o(e){return typeof e=="object"&&typeof e.name=="string"}e.is=o})($||($={}));var z=undefined&&undefined.__classPrivateFieldGet||function(e,o,t,r){if(t==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof o==="function"?e!==o||!r:!o.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?r:t==="a"?r.call(e):r?r.value:o.get(e)};var M;class F{constructor(){M.set(this,{})}listen(e,o,t){var r,n;(n=(r=z(this,M,"f")[e])===null||r===void 0?void 0:r.push(o))!==null&&n!==void 0?n:z(this,M,"f")[e]=[o];if(!(t===null||t===void 0?void 0:t.lazy)){o(this[e])}}unlisten(e,o){var t,r;const n=(t=z(this,M,"f")[e])===null||t===void 0?void 0:t.indexOf(o);n!=undefined&&n>=0&&((r=z(this,M,"f")[e])===null||r===void 0?void 0:r.splice(n,1))}batchListen(e,o){for(const t in e){const r=e[t];r&&this.listen(t,r,o)}}batchUnlisten(e){for(const o in e){const t=e[o];t&&this.unlisten(o,t)}}static load(e){const o=e.listenable;return Object.defineProperties(o,t(e));function t(e){return Object.fromEntries(Object.entries(Object.assign(Object.assign({},Object.getOwnPropertyDescriptors(e)),Object.getOwnPropertyDescriptors(Object.getPrototypeOf(e)))).map((([t,r])=>[t,typeof r.value=="function"?{get(){return e[t].bind(e)}}:r.writable||r.set?{get(){return e[t]},set(r){var n;e[t]=r;(n=z(o,M,"f")[t])===null||n===void 0?void 0:n.forEach((o=>o(e[t])))}}:{get(){return e[t]}}])))}}}M=new WeakMap;var I;(function(e){e.valueType=a(o(),i(),r(),d("Blob",(e=>e instanceof Blob)),m());e.type=b(o(),a(n((()=>e.type),"Data"),e.valueType));function c(e,[o,...t],r){const n=e[o!==null&&o!==void 0?o:""];return Object.assign(Object.assign({},e),{[o!==null&&o!==void 0?o:""]:!t.length?r:c(typeof n=="object"&&!Array.isArray(n)&&!(n instanceof Blob)?n:{},t,r)})}e.set=c;function l(e){return f({},e)}e.deepen=l;function s(e){return t().is(e)&&(e=>!!e.length&&e.every((e=>parseInt(e).toString()==e)))(Object.keys(e))}function u(e){return s(e)?Object.entries(e).reduce(((e,[o,t])=>{e[o]=u(t);return e}),[]):t().is(e)&&!(e instanceof Blob||e instanceof File)?Object.fromEntries(Object.entries(e).map((([e,o])=>[e,u(o)]))):e}e.convertArrays=u;function f(e,o){return Object.entries(o).reduce(((e,[o,t])=>c(e,o.split("."),t)),e)}e.merge=f;function p(e,o){const t=o.split(".");g(e,t);return e}e.remove=p;function g(e,[o,...t]){if(t.length===0){if(typeof e==="object"&&o in e){delete e[o]}}else if(typeof e==="object"&&o in e){g(e[o],t);if(h(e[o])){delete e[o]}}}function h(e){return typeof e==="object"&&Object.keys(e).length===0}})(I||(I={}));var B;(function(e){e.values=["update","change","fetch","create","remove"];e.type=t({type:o(e.values).optional(),result:p(),value:I.type});e.is=e.type.is;e.flaw=e.type.flaw})(B||(B={}));export{j as C,I as D,x as F,O as I,F as L,T as M,k as R,B as S,$ as T,d as f,p as i,i as n};
2
+ //# sourceMappingURL=p-Br0kWrBT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["union","types","IslyUnion","Type","class","constructor","super","map","type","name","join","this","is","value","some","createFlaw","flaws","flaw","filter","getValue","find","get","criteriaFunctions","positive","condition","negative","integer","Number","isInteger","number","criteria","isFunction","undefined","fromCriteria","IslyNumber","toString","c","Array","isArray","every","isNaN","fromIs","IslyFromIs","islyFunction","IslyFunction","record","keyType","valueType","IslyRecord","globalThis","Object","entries","key","flatMap","propertyValue","index","isFlaw","property","Boolean","fromEntries","islyUndefined","IslyUndefined","Hex","isly.string","RegExp","toRGB","hex","replace","length","split","char","bigint","parseInt","r","g","b","HSL","isly.object","h","isly.number","optional","s","l","Math","abs","x","m","RGB","toHex","rgb","component","values","temp","round","hexPairs","slice","pair","toHSL","max","min","d","Color","ColorHex","ColorHSL","ColorRGB","Fill","Icon","names","cache","async","fetch","url","response","ok","console","warn","status","text","error","load","_a","_b","add","n","Name","Logo","Message","destination","content","send","message","context","window","postMessage","listen","origin","handle","splitted","addEventListener","e","data","Trigger","Listenable","_Listenable_listeners","set","listener","options","__classPrivateFieldGet","push","lazy","unlisten","indexOf","splice","batchListen","listeners","batchUnlisten","backend","result","listenable","defineProperties","getProperties","assign","getOwnPropertyDescriptors","getPrototypeOf","descriptor","bind","writable","forEach","Data","isly.union","isly.boolean","isly.fromIs","Blob","isly.undefined","isly.record","isly.lazy","head","tail","current","deepen","merge","isArrayRecord","keys","k","convertArrays","reduce","arr","v","File","changes","remove","removeKey","isEmpty","Submit","isly.function"],"sources":["node_modules/isly/dist/mjs/union/index.js","node_modules/isly/dist/mjs/number/index.js","node_modules/isly/dist/mjs/fromIs/index.js","node_modules/isly/dist/mjs/function/index.js","node_modules/isly/dist/mjs/record/index.js","node_modules/isly/dist/mjs/undefined/index.js","src/model/Color/Hex.ts","src/model/Color/HSL.ts","src/model/Color/RGB.ts","src/model/Color/index.ts","src/model/Fill.ts","src/model/Icon.ts","src/model/Message.ts","src/model/Trigger.ts","src/model/Listenable.ts","src/model/Data.ts","src/model/Submit.ts"],"sourcesContent":["import { Type } from \"../Type\";\nexport function union(...types) {\n return new IslyUnion(...types);\n}\nexport class IslyUnion extends Type {\n class = \"union\";\n types;\n constructor(...types) {\n super(() => types.map(type => type.name).join(\" | \"));\n this.types = types;\n }\n is = (value) => this.types.some(type => type.is(value));\n createFlaw(value) {\n return {\n flaws: this.types.map(type => type.flaw(value)).filter(flaw => flaw),\n };\n }\n getValue(value) {\n return this.types.find(type => type.is(value))?.get(value);\n }\n}\n//# sourceMappingURL=index.js.map","import { Type } from \"../Type\";\nconst criteriaFunctions = {\n positive: {\n is: (value) => value > 0,\n condition: \"> 0\",\n },\n negative: {\n is: (value) => value < 0,\n condition: \"< 0\",\n },\n integer: {\n is: (value) => Number.isInteger(value),\n condition: \"Number.isInteger\",\n },\n};\nexport function number(criteria) {\n const [isFunction, condition] = criteria == undefined ? [undefined, undefined] : fromCriteria(criteria);\n return new IslyNumber(isFunction, condition);\n}\nfunction fromCriteria(criteria) {\n return typeof criteria == \"number\"\n ? [value => value == criteria, \" == \" + criteria.toString()]\n :\n ((c) => Array.isArray(c) && c.every(c => typeof c == \"number\"))(criteria)\n ? [value => criteria.map(fromCriteria).some(c => c[0](value)), criteria.join(\" | \")]\n :\n ((c) => Array.isArray(c) && c.every(c => typeof c == \"string\" && c in criteriaFunctions))(criteria)\n ? [\n value => criteria.map(fromCriteria).every(c => c[0](value)),\n criteria\n .map(fromCriteria)\n .map(c => c[1])\n .join(\" & \"),\n ]\n :\n typeof criteria === \"function\"\n ? [criteria, \"custom\"]\n :\n criteria in criteriaFunctions\n ? [criteriaFunctions[criteria].is, criteriaFunctions[criteria].condition]\n :\n [() => false, \"Unknown criteria\"];\n}\nexport class IslyNumber extends Type {\n isFunction;\n class = \"number\";\n constructor(isFunction, condition) {\n super(\"number\", condition);\n this.isFunction = isFunction;\n }\n is = (value) => typeof value == \"number\" &&\n !Number.isNaN(value - value) &&\n (!this.isFunction || this.isFunction(value));\n}\n//# sourceMappingURL=index.js.map","import { Type } from \"../Type\";\nexport function fromIs(name, is) {\n return new IslyFromIs(name, is);\n}\nexport class IslyFromIs extends Type {\n isFunction;\n class = \"fromIs\";\n constructor(name, isFunction) {\n super(name);\n this.isFunction = isFunction;\n }\n is = (value) => this.isFunction(value);\n}\n//# sourceMappingURL=index.js.map","import { Type } from \"../Type\";\nexport function islyFunction() {\n return new IslyFunction();\n}\nexport class IslyFunction extends Type {\n class = \"function\";\n constructor() {\n super(\"function\");\n }\n is = (value) => !!(value && typeof value == \"function\");\n}\n//# sourceMappingURL=index.js.map","import { Type } from \"../Type\";\nexport function record(keyType, valueType) {\n return new IslyRecord(keyType, valueType);\n}\nexport class IslyRecord extends Type {\n keyType;\n valueType;\n class = \"record\";\n constructor(keyType, valueType) {\n super(() => `Record<${keyType.name}, ${valueType.name}>`);\n this.keyType = keyType;\n this.valueType = valueType;\n }\n is = (value) => !!(value &&\n typeof value == \"object\" &&\n !globalThis.Array.isArray(value) &&\n globalThis.Object.entries(value).every(([key, value]) => this.keyType.is(this.keyType.name == \"number\" && `${+key}` == key ? +key : key) && this.valueType.is(value)));\n createFlaw(value) {\n return {\n flaws: value &&\n typeof value == \"object\" &&\n !globalThis.Array.isArray(value) &&\n globalThis.Object.entries(value).flatMap(([key, propertyValue]) => [\n this.keyType.flaw(this.keyType.name == \"number\" && `${+key}` == key ? +key : key),\n this.valueType.flaw(propertyValue),\n ]\n .map((flaw, index) => (flaw.isFlaw ?? true) && { property: key + ` (${[\"key\", \"value\"][index]})`, ...flaw })\n .filter(Boolean)),\n };\n }\n getValue(value) {\n return globalThis.Object.fromEntries(globalThis.Object.entries(value).map(([key, value]) => [key, this.valueType.get(value)]));\n }\n}\n//# sourceMappingURL=index.js.map","import { Type } from \"../Type\";\nexport function islyUndefined(name) {\n return new IslyUndefined(name ?? \"undefined\");\n}\nexport class IslyUndefined extends Type {\n class = \"undefined\";\n is = (value) => value === undefined;\n}\n//# sourceMappingURL=index.js.map","import { isly } from \"isly\"\nimport type { RGB } from \"./RGB\"\n\nexport type Hex = string\nexport namespace Hex {\n\texport const type = isly.string(new RegExp(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i))\n\texport function toRGB(hex: string): RGB {\n\t\thex = hex.replace(/^#/, \"\")\n\t\tif (hex.length === 3) {\n\t\t\thex = hex\n\t\t\t\t.split(\"\")\n\t\t\t\t.map(char => char + char)\n\t\t\t\t.join(\"\")\n\t\t}\n\t\tconst bigint = parseInt(hex, 16)\n\t\tconst r = (bigint >> 16) & 255\n\t\tconst g = (bigint >> 8) & 255\n\t\tconst b = bigint & 255\n\t\treturn { r, g, b }\n\t}\n}\n","import { isly } from \"isly\"\nimport type { RGB } from \"./RGB\"\n\nexport type HSL = {\n\th: number | undefined\n\ts: number | undefined\n\tl: number | undefined\n}\nexport namespace HSL {\n\texport const type = isly.object<HSL>({\n\t\th: isly.number().optional(),\n\t\ts: isly.number().optional(),\n\t\tl: isly.number().optional(),\n\t})\n\texport function toRGB({ h, s, l }: HSL): RGB {\n\t\tlet r = 0\n\t\tlet g = 0\n\t\tlet b = 0\n\t\tif (h !== undefined && s !== undefined && l !== undefined) {\n\t\t\ts /= 100\n\t\t\tl /= 100\n\t\t\tconst c = (1 - Math.abs(2 * l - 1)) * s\n\t\t\tconst x = c * (1 - Math.abs(((h / 60) % 2) - 1))\n\t\t\tconst m = l - c / 2\n\t\t\tif (0 <= h && h < 60) {\n\t\t\t\tr = c\n\t\t\t\tg = x\n\t\t\t\tb = 0\n\t\t\t} else if (60 <= h && h < 120) {\n\t\t\t\tr = x\n\t\t\t\tg = c\n\t\t\t\tb = 0\n\t\t\t} else if (120 <= h && h < 180) {\n\t\t\t\tr = 0\n\t\t\t\tg = c\n\t\t\t\tb = x\n\t\t\t} else if (180 <= h && h < 240) {\n\t\t\t\tr = 0\n\t\t\t\tg = x\n\t\t\t\tb = c\n\t\t\t} else if (240 <= h && h < 300) {\n\t\t\t\tr = x\n\t\t\t\tg = 0\n\t\t\t\tb = c\n\t\t\t} else if (300 <= h && h < 360) {\n\t\t\t\tr = c\n\t\t\t\tg = 0\n\t\t\t\tb = x\n\t\t\t}\n\t\t\tr = (r + m) * 255\n\t\t\tg = (g + m) * 255\n\t\t\tb = (b + m) * 255\n\t\t}\n\t\treturn { r, g, b }\n\t}\n}\n","import { isly } from \"isly\"\nimport type { Hex } from \"./Hex\"\nimport type { HSL } from \"./HSL\"\n\nexport type RGB = {\n\tr: number | undefined\n\tg: number | undefined\n\tb: number | undefined\n}\nexport namespace RGB {\n\texport const type = isly.object<RGB>({\n\t\tr: isly.number().optional(),\n\t\tg: isly.number().optional(),\n\t\tb: isly.number().optional(),\n\t})\n\texport function toHex(rgb: RGB): Hex {\n\t\tlet hex = \"\"\n\t\tfor (const component of Object.values(rgb)) {\n\t\t\tif (component === 0) {\n\t\t\t\thex += \"00\"\n\t\t\t} else if (component && component >= 0 && component <= 255) {\n\t\t\t\tconst temp = Math.round(component).toString(16)\n\t\t\t\thex += temp.length === 1 ? \"0\" + temp : temp\n\t\t\t}\n\t\t}\n\t\tconst hexPairs = [hex.slice(0, 2), hex.slice(2, 4), hex.slice(4, 6)]\n\t\thexPairs.every(pair => pair[0] === pair[1]) && (hex = hexPairs.map(pair => pair[0]).join(\"\"))\n\t\treturn \"#\" + hex\n\t}\n\texport function toHSL({ r, g, b }: RGB): HSL {\n\t\tlet h: number | undefined, s: number | undefined, l: number | undefined\n\t\tif (r !== undefined && g !== undefined && b !== undefined) {\n\t\t\tr /= 255\n\t\t\tg /= 255\n\t\t\tb /= 255\n\t\t\tconst max = Math.max(r, g, b)\n\t\t\tconst min = Math.min(r, g, b)\n\t\t\tl = (max + min) / 2\n\t\t\tif (max === min) {\n\t\t\t\th = s = 0\n\t\t\t} else {\n\t\t\t\tconst d = max - min\n\t\t\t\ts = l > 0.5 ? d / (2 - max - min) : d / (max + min)\n\t\t\t\tswitch (max) {\n\t\t\t\t\tcase r:\n\t\t\t\t\t\th = (g - b) / d + (g < b ? 6 : 0)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tcase g:\n\t\t\t\t\t\th = (b - r) / d + 2\n\t\t\t\t\t\tbreak\n\t\t\t\t\tcase b:\n\t\t\t\t\t\th = (r - g) / d + 4\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\th = 0\n\t\t\t\t}\n\t\t\t\th /= 6\n\t\t\t}\n\t\t\th = h * 360\n\t\t\ts = s * 100\n\t\t\tl = l * 100\n\t\t}\n\t\treturn { h, s, l }\n\t}\n}\n","import { isly } from \"isly\"\nimport { Hex as ColorHex } from \"./Hex\"\nimport { HSL as ColorHSL } from \"./HSL\"\nimport { RGB as ColorRGB } from \"./RGB\"\n\nexport type Color = (typeof Color.values)[number]\n\nexport namespace Color {\n\texport import Hex = ColorHex\n\texport import HSL = ColorHSL\n\texport import RGB = ColorRGB\n\texport const values = [\n\t\t\"default\",\n\t\t\"primary\",\n\t\t\"secondary\",\n\t\t\"tertiary\",\n\t\t\"success\",\n\t\t\"warning\",\n\t\t\"danger\",\n\t\t\"light\",\n\t\t\"medium\",\n\t\t\"dark\",\n\t] as const\n\texport const type = isly.string(values)\n\texport const is = type.is\n}\n","import { isly } from \"isly\"\n\nexport type Fill = (typeof Fill.values)[number]\n\nexport namespace Fill {\n\texport const values = [\"clear\", \"default\", \"outline\", \"solid\"] as const\n\texport const type = isly.string(values)\n}\n","type Variants = \"outline\" | \"sharp\"\nexport type Icon = Icon.Name | `${Icon.Name}-${Variants}` | Icon.Logo\n\nexport namespace Icon {\n\tconst names: Record<string, string | undefined> & { \"*\": string } = {\n\t\t\"*\": \"https://ionicons.pages.dev/svg/${name}.svg\",\n\t}\n\tconst cache: { [url: string]: Promise<string | undefined> | undefined } = {}\n\tasync function fetch(url: string): Promise<string | undefined> {\n\t\ttry {\n\t\t\tconst response = await globalThis.fetch(url)\n\t\t\tif (!response.ok) {\n\t\t\t\tconsole.warn(`Icon failed to load: ${url} (Status: ${response.status})`)\n\t\t\t\treturn undefined\n\t\t\t}\n\t\t\treturn await response.text()\n\t\t} catch (error) {\n\t\t\tconsole.error(`Network error while fetching icon: ${url}`, error)\n\t\t\treturn undefined\n\t\t}\n\t}\n\texport async function load(name: string): Promise<string | undefined> {\n\t\tconst url = (names[name] ?? names[\"*\"]).replace(\"${name}\", name)\n\t\treturn cache[url] ?? (cache[url] = fetch(url))\n\t}\n\texport function add(url: string, ...name: string[]): void {\n\t\tfor (const n of name) {\n\t\t\tnames[n] = url\n\t\t}\n\t}\n\n\texport type Name = (typeof Name.values)[number]\n\texport namespace Name {\n\t\texport const values = [\n\t\t\t\"accessibility\",\n\t\t\t\"add-circle\",\n\t\t\t\"add\",\n\t\t\t\"airplane\",\n\t\t\t\"alarm\",\n\t\t\t\"albums\",\n\t\t\t\"alert-circle\",\n\t\t\t\"alert\",\n\t\t\t\"american-football\",\n\t\t\t\"analytics\",\n\t\t\t\"aperture\",\n\t\t\t\"apps\",\n\t\t\t\"archive\",\n\t\t\t\"arrow-back-circle\",\n\t\t\t\"arrow-back\",\n\t\t\t\"arrow-down-circle\",\n\t\t\t\"arrow-down\",\n\t\t\t\"arrow-forward-circle\",\n\t\t\t\"arrow-forward\",\n\t\t\t\"arrow-redo-circle\",\n\t\t\t\"arrow-redo\",\n\t\t\t\"arrow-undo-circle\",\n\t\t\t\"arrow-undo\",\n\t\t\t\"arrow-up-circle\",\n\t\t\t\"arrow-up\",\n\t\t\t\"at-circle\",\n\t\t\t\"at\",\n\t\t\t\"attach\",\n\t\t\t\"backspace\",\n\t\t\t\"bag\",\n\t\t\t\"bag-add\",\n\t\t\t\"bag-check\",\n\t\t\t\"bag-handle\",\n\t\t\t\"balloon\",\n\t\t\t\"ban\",\n\t\t\t\"bandage\",\n\t\t\t\"barbell\",\n\t\t\t\"bar-chart\",\n\t\t\t\"barcode\",\n\t\t\t\"baseball\",\n\t\t\t\"basketball\",\n\t\t\t\"basket\",\n\t\t\t\"battery-charging\",\n\t\t\t\"battery-dead\",\n\t\t\t\"battery-full\",\n\t\t\t\"battery-half\",\n\t\t\t\"beaker\",\n\t\t\t\"bed\",\n\t\t\t\"beer\",\n\t\t\t\"bicycle\",\n\t\t\t\"bluetooth\",\n\t\t\t\"boat\",\n\t\t\t\"body\",\n\t\t\t\"bonfire\",\n\t\t\t\"bowling-ball\",\n\t\t\t\"bookmarks\",\n\t\t\t\"bookmark\",\n\t\t\t\"book\",\n\t\t\t\"briefcase\",\n\t\t\t\"browsers\",\n\t\t\t\"brush\",\n\t\t\t\"bug\",\n\t\t\t\"build\",\n\t\t\t\"bulb\",\n\t\t\t\"business\",\n\t\t\t\"bus\",\n\t\t\t\"cafe\",\n\t\t\t\"calculator\",\n\t\t\t\"calendar\",\n\t\t\t\"calendar-clear\",\n\t\t\t\"calendar-number\",\n\t\t\t\"call\",\n\t\t\t\"camera-reverse\",\n\t\t\t\"camera\",\n\t\t\t\"card\",\n\t\t\t\"caret-back-circle\",\n\t\t\t\"caret-back\",\n\t\t\t\"caret-down-circle\",\n\t\t\t\"caret-down\",\n\t\t\t\"caret-forward-circle\",\n\t\t\t\"caret-forward\",\n\t\t\t\"caret-up-circle\",\n\t\t\t\"caret-up\",\n\t\t\t\"car-sport\",\n\t\t\t\"car\",\n\t\t\t\"cart\",\n\t\t\t\"cash\",\n\t\t\t\"cellular\",\n\t\t\t\"chatbox-ellipses\",\n\t\t\t\"chatbox\",\n\t\t\t\"chatbubble-ellipses\",\n\t\t\t\"chatbubbles\",\n\t\t\t\"chatbubble\",\n\t\t\t\"checkbox\",\n\t\t\t\"checkmark-circle\",\n\t\t\t\"checkmark-done-circle\",\n\t\t\t\"checkmark-done\",\n\t\t\t\"checkmark\",\n\t\t\t\"chevron-back-circle\",\n\t\t\t\"chevron-back\",\n\t\t\t\"chevron-collapse\",\n\t\t\t\"chevron-down-circle\",\n\t\t\t\"chevron-down\",\n\t\t\t\"chevron-expand\",\n\t\t\t\"chevron-forward-circle\",\n\t\t\t\"chevron-forward\",\n\t\t\t\"chevron-up-circle\",\n\t\t\t\"chevron-up\",\n\t\t\t\"clipboard\",\n\t\t\t\"close-circle\",\n\t\t\t\"close\",\n\t\t\t\"cloud-circle\",\n\t\t\t\"cloud-done\",\n\t\t\t\"cloud-download\",\n\t\t\t\"cloud-offline\",\n\t\t\t\"cloud\",\n\t\t\t\"cloud-upload\",\n\t\t\t\"cloudy-night\",\n\t\t\t\"cloudy\",\n\t\t\t\"code-download\",\n\t\t\t\"code-slash\",\n\t\t\t\"code\",\n\t\t\t\"code-working\",\n\t\t\t\"cog\",\n\t\t\t\"color-fill\",\n\t\t\t\"color-filter\",\n\t\t\t\"color-palette\",\n\t\t\t\"color-wand\",\n\t\t\t\"compass\",\n\t\t\t\"construct\",\n\t\t\t\"contract\",\n\t\t\t\"contrast\",\n\t\t\t\"copy\",\n\t\t\t\"create\",\n\t\t\t\"crop\",\n\t\t\t\"cube\",\n\t\t\t\"cut\",\n\t\t\t\"desktop\",\n\t\t\t\"diamond\",\n\t\t\t\"dice\",\n\t\t\t\"disc\",\n\t\t\t\"document-attach\",\n\t\t\t\"document-lock\",\n\t\t\t\"documents\",\n\t\t\t\"document\",\n\t\t\t\"document-text\",\n\t\t\t\"download\",\n\t\t\t\"duplicate\",\n\t\t\t\"ear\",\n\t\t\t\"earth\",\n\t\t\t\"easel\",\n\t\t\t\"egg\",\n\t\t\t\"ellipse\",\n\t\t\t\"ellipsis-horizontal-circle\",\n\t\t\t\"ellipsis-horizontal\",\n\t\t\t\"ellipsis-vertical-circle\",\n\t\t\t\"ellipsis-vertical\",\n\t\t\t\"enter\",\n\t\t\t\"exit\",\n\t\t\t\"expand\",\n\t\t\t\"eyedrop\",\n\t\t\t\"eye-off\",\n\t\t\t\"eye\",\n\t\t\t\"fast-food\",\n\t\t\t\"female\",\n\t\t\t\"file-tray-full\",\n\t\t\t\"file-tray-stacked\",\n\t\t\t\"file-tray\",\n\t\t\t\"film\",\n\t\t\t\"filter\",\n\t\t\t\"filter-circle\",\n\t\t\t\"finger-print\",\n\t\t\t\"fish\",\n\t\t\t\"fitness\",\n\t\t\t\"flag\",\n\t\t\t\"flame\",\n\t\t\t\"flashlight\",\n\t\t\t\"flash-off\",\n\t\t\t\"flash\",\n\t\t\t\"flask\",\n\t\t\t\"flower\",\n\t\t\t\"folder-open\",\n\t\t\t\"folder\",\n\t\t\t\"football\",\n\t\t\t\"footsteps\",\n\t\t\t\"funnel\",\n\t\t\t\"game-controller\",\n\t\t\t\"gift\",\n\t\t\t\"git-branch\",\n\t\t\t\"git-commit\",\n\t\t\t\"git-compare\",\n\t\t\t\"git-merge\",\n\t\t\t\"git-network\",\n\t\t\t\"git-pull-request\",\n\t\t\t\"glasses\",\n\t\t\t\"globe\",\n\t\t\t\"golf\",\n\t\t\t\"grid\",\n\t\t\t\"hammer\",\n\t\t\t\"hand-left\",\n\t\t\t\"hand-right\",\n\t\t\t\"happy\",\n\t\t\t\"hardware-chip\",\n\t\t\t\"headset\",\n\t\t\t\"heart-circle\",\n\t\t\t\"heart-dislike-circle\",\n\t\t\t\"heart-dislike\",\n\t\t\t\"heart-half\",\n\t\t\t\"heart\",\n\t\t\t\"help-buoy\",\n\t\t\t\"help-circle\",\n\t\t\t\"help\",\n\t\t\t\"home\",\n\t\t\t\"hourglass\",\n\t\t\t\"ice-cream\",\n\t\t\t\"id-card\",\n\t\t\t\"images\",\n\t\t\t\"image\",\n\t\t\t\"infinite\",\n\t\t\t\"information-circle\",\n\t\t\t\"information\",\n\t\t\t\"journal\",\n\t\t\t\"invert-mode\",\n\t\t\t\"keypad\",\n\t\t\t\"key\",\n\t\t\t\"language\",\n\t\t\t\"laptop\",\n\t\t\t\"layers\",\n\t\t\t\"leaf\",\n\t\t\t\"library\",\n\t\t\t\"link\",\n\t\t\t\"list-circle\",\n\t\t\t\"list\",\n\t\t\t\"locate\",\n\t\t\t\"location\",\n\t\t\t\"lock-closed\",\n\t\t\t\"lock-open\",\n\t\t\t\"log-in\",\n\t\t\t\"log-out\",\n\t\t\t\"magnet\",\n\t\t\t\"mail-open\",\n\t\t\t\"mail\",\n\t\t\t\"mail-unread\",\n\t\t\t\"male-female\",\n\t\t\t\"male\",\n\t\t\t\"man\",\n\t\t\t\"map\",\n\t\t\t\"medal\",\n\t\t\t\"medical\",\n\t\t\t\"medkit\",\n\t\t\t\"megaphone\",\n\t\t\t\"menu\",\n\t\t\t\"mic-circle\",\n\t\t\t\"mic-off-circle\",\n\t\t\t\"mic-off\",\n\t\t\t\"mic\",\n\t\t\t\"moon\",\n\t\t\t\"move\",\n\t\t\t\"musical-notes\",\n\t\t\t\"musical-note\",\n\t\t\t\"navigate-circle\",\n\t\t\t\"navigate\",\n\t\t\t\"newspaper\",\n\t\t\t\"notifications-circle\",\n\t\t\t\"notifications-off-circle\",\n\t\t\t\"notifications-off\",\n\t\t\t\"notifications\",\n\t\t\t\"nuclear\",\n\t\t\t\"nutrition\",\n\t\t\t\"open\",\n\t\t\t\"options\",\n\t\t\t\"paper-plane\",\n\t\t\t\"partly-sunny\",\n\t\t\t\"pause-circle\",\n\t\t\t\"pause\",\n\t\t\t\"paw\",\n\t\t\t\"pencil\",\n\t\t\t\"people-circle\",\n\t\t\t\"people\",\n\t\t\t\"person-add\",\n\t\t\t\"person-circle\",\n\t\t\t\"person-remove\",\n\t\t\t\"person\",\n\t\t\t\"phone-landscape\",\n\t\t\t\"phone-portrait\",\n\t\t\t\"pie-chart\",\n\t\t\t\"pin\",\n\t\t\t\"pint\",\n\t\t\t\"pizza\",\n\t\t\t\"planet\",\n\t\t\t\"play-back-circle\",\n\t\t\t\"play-back\",\n\t\t\t\"play-circle\",\n\t\t\t\"play-forward-circle\",\n\t\t\t\"play-forward\",\n\t\t\t\"play-skip-back-circle\",\n\t\t\t\"play-skip-back\",\n\t\t\t\"play-skip-forward-circle\",\n\t\t\t\"play-skip-forward\",\n\t\t\t\"play\",\n\t\t\t\"podium\",\n\t\t\t\"power\",\n\t\t\t\"pricetags\",\n\t\t\t\"prism\",\n\t\t\t\"pricetag\",\n\t\t\t\"print\",\n\t\t\t\"pulse\",\n\t\t\t\"push\",\n\t\t\t\"qr-code\",\n\t\t\t\"radio-button-off\",\n\t\t\t\"radio-button-on\",\n\t\t\t\"radio\",\n\t\t\t\"rainy\",\n\t\t\t\"reader\",\n\t\t\t\"receipt\",\n\t\t\t\"recording\",\n\t\t\t\"refresh-circle\",\n\t\t\t\"refresh\",\n\t\t\t\"reload-circle\",\n\t\t\t\"reload\",\n\t\t\t\"remove-circle\",\n\t\t\t\"remove\",\n\t\t\t\"reorder-four\",\n\t\t\t\"reorder-three\",\n\t\t\t\"reorder-two\",\n\t\t\t\"repeat\",\n\t\t\t\"resize\",\n\t\t\t\"restaurant\",\n\t\t\t\"return-down-back\",\n\t\t\t\"return-down-forward\",\n\t\t\t\"return-up-back\",\n\t\t\t\"return-up-forward\",\n\t\t\t\"ribbon\",\n\t\t\t\"rocket\",\n\t\t\t\"rose\",\n\t\t\t\"sad\",\n\t\t\t\"save\",\n\t\t\t\"scan-circle\",\n\t\t\t\"scale\",\n\t\t\t\"scan\",\n\t\t\t\"school\",\n\t\t\t\"search-circle\",\n\t\t\t\"search\",\n\t\t\t\"send\",\n\t\t\t\"server\",\n\t\t\t\"settings\",\n\t\t\t\"shapes\",\n\t\t\t\"share-social\",\n\t\t\t\"share\",\n\t\t\t\"shield-checkmark\",\n\t\t\t\"shield-half\",\n\t\t\t\"shield\",\n\t\t\t\"shirt\",\n\t\t\t\"shuffle\",\n\t\t\t\"skull\",\n\t\t\t\"snow\",\n\t\t\t\"sparkles\",\n\t\t\t\"speedometer\",\n\t\t\t\"square\",\n\t\t\t\"star-half\",\n\t\t\t\"star\",\n\t\t\t\"stats-chart\",\n\t\t\t\"stop-circle\",\n\t\t\t\"stop\",\n\t\t\t\"stopwatch\",\n\t\t\t\"storefront\",\n\t\t\t\"subway\",\n\t\t\t\"sunny\",\n\t\t\t\"swap-horizontal\",\n\t\t\t\"swap-vertical\",\n\t\t\t\"sync-circle\",\n\t\t\t\"sync\",\n\t\t\t\"tablet-landscape\",\n\t\t\t\"tablet-portrait\",\n\t\t\t\"telescope\",\n\t\t\t\"tennisball\",\n\t\t\t\"terminal\",\n\t\t\t\"text\",\n\t\t\t\"thermometer\",\n\t\t\t\"thumbs-down\",\n\t\t\t\"thumbs-up\",\n\t\t\t\"thunderstorm\",\n\t\t\t\"ticket\",\n\t\t\t\"timer\",\n\t\t\t\"time\",\n\t\t\t\"today\",\n\t\t\t\"toggle\",\n\t\t\t\"trail-sign\",\n\t\t\t\"train\",\n\t\t\t\"transgender\",\n\t\t\t\"trash-bin\",\n\t\t\t\"trash\",\n\t\t\t\"trending-down\",\n\t\t\t\"trending-up\",\n\t\t\t\"triangle\",\n\t\t\t\"trophy\",\n\t\t\t\"tv\",\n\t\t\t\"umbrella\",\n\t\t\t\"unlink\",\n\t\t\t\"videocam-off\",\n\t\t\t\"walk\",\n\t\t\t\"wallet\",\n\t\t\t\"warning\",\n\t\t\t\"watch\",\n\t\t\t\"water\",\n\t\t\t\"videocam\",\n\t\t\t\"wifi\",\n\t\t\t\"wine\",\n\t\t\t\"volume-high\",\n\t\t\t\"volume-low\",\n\t\t\t\"volume-medium\",\n\t\t\t\"volume-mute\",\n\t\t\t\"volume-off\",\n\t\t\t\"woman\",\n\t\t] as const\n\t}\n\texport type Logo = (typeof Logo.values)[number]\n\texport namespace Logo {\n\t\texport const values = [\n\t\t\t\"logo-alipay\",\n\t\t\t\"logo-amazon\",\n\t\t\t\"logo-amplify\",\n\t\t\t\"logo-android\",\n\t\t\t\"logo-angular\",\n\t\t\t\"logo-apple-appstore\",\n\t\t\t\"logo-apple\",\n\t\t\t\"logo-apple-ar\",\n\t\t\t\"logo-behance\",\n\t\t\t\"logo-bitbucket\",\n\t\t\t\"logo-bitcoin\",\n\t\t\t\"logo-buffer\",\n\t\t\t\"logo-capacitor\",\n\t\t\t\"logo-chrome\",\n\t\t\t\"logo-closed-captioning\",\n\t\t\t\"logo-codepen\",\n\t\t\t\"logo-css3\",\n\t\t\t\"logo-designernews\",\n\t\t\t\"logo-deviantart\",\n\t\t\t\"logo-discord\",\n\t\t\t\"logo-docker\",\n\t\t\t\"logo-dribbble\",\n\t\t\t\"logo-dropbox\",\n\t\t\t\"logo-edge\",\n\t\t\t\"logo-electron\",\n\t\t\t\"logo-euro\",\n\t\t\t\"logo-facebook\",\n\t\t\t\"logo-firebase\",\n\t\t\t\"logo-firefox\",\n\t\t\t\"logo-flickr\",\n\t\t\t\"logo-foursquare\",\n\t\t\t\"logo-github\",\n\t\t\t\"logo-gitlab\",\n\t\t\t\"logo-google-playstore\",\n\t\t\t\"logo-google\",\n\t\t\t\"logo-hackernews\",\n\t\t\t\"logo-html5\",\n\t\t\t\"logo-instagram\",\n\t\t\t\"logo-ionic\",\n\t\t\t\"logo-ionitron\",\n\t\t\t\"logo-javascript\",\n\t\t\t\"logo-laravel\",\n\t\t\t\"logo-linkedin\",\n\t\t\t\"logo-markdown\",\n\t\t\t\"logo-mastodon\",\n\t\t\t\"logo-medium\",\n\t\t\t\"logo-microsoft\",\n\t\t\t\"logo-nodejs\",\n\t\t\t\"logo-no-smoking\",\n\t\t\t\"logo-npm\",\n\t\t\t\"logo-octocat\",\n\t\t\t\"logo-paypal\",\n\t\t\t\"logo-pinterest\",\n\t\t\t\"logo-playstation\",\n\t\t\t\"logo-pwa\",\n\t\t\t\"logo-python\",\n\t\t\t\"logo-react\",\n\t\t\t\"logo-reddit\",\n\t\t\t\"logo-rss\",\n\t\t\t\"logo-sass\",\n\t\t\t\"logo-skype\",\n\t\t\t\"logo-slack\",\n\t\t\t\"logo-snapchat\",\n\t\t\t\"logo-soundcloud\",\n\t\t\t\"logo-stackoverflow\",\n\t\t\t\"logo-steam\",\n\t\t\t\"logo-stencil\",\n\t\t\t\"logo-tableau\",\n\t\t\t\"logo-tiktok\",\n\t\t\t\"logo-tumblr\",\n\t\t\t\"logo-tux\",\n\t\t\t\"logo-twitch\",\n\t\t\t\"logo-twitter\",\n\t\t\t\"logo-usd\",\n\t\t\t\"logo-web-component\",\n\t\t\t\"logo-venmo\",\n\t\t\t\"logo-whatsapp\",\n\t\t\t\"logo-vercel\",\n\t\t\t\"logo-vimeo\",\n\t\t\t\"logo-windows\",\n\t\t\t\"logo-vk\",\n\t\t\t\"logo-wordpress\",\n\t\t\t\"logo-vue\",\n\t\t\t\"logo-xbox\",\n\t\t\t\"logo-xing\",\n\t\t\t\"logo-yahoo\",\n\t\t\t\"logo-yen\",\n\t\t\t\"logo-youtube\",\n\t\t] as const\n\t}\n}\n","export interface Message<T> {\n\tdestination: string\n\tcontent: T\n}\n\nexport namespace Message {\n\texport function is(value: Message<any> | any): value is Message<any> {\n\t\treturn typeof value == \"object\" && typeof value.destination == \"string\" && value.content != undefined\n\t}\n\texport function send(message: Message<any>, context?: Window): void\n\texport function send(destination: string, content: any, context?: Window): void\n\texport function send(message: string | Message<any>, content?: any | Window, context?: Window): void {\n\t\tif (Message.is(message) && context == undefined) {\n\t\t\tcontext = content as Window\n\t\t\tif (!context) {\n\t\t\t\tcontext = window\n\t\t\t}\n\t\t\tconst destination = message.destination.split(\"#\", 2)\n\t\t\tmessage = { destination: destination[1], content: message.content }\n\t\t\tcontext.postMessage(message, destination[0])\n\t\t} else if (typeof context != \"string\") {\n\t\t\tif (!context) {\n\t\t\t\tcontext = window\n\t\t\t}\n\t\t\tif (typeof message == \"string\") {\n\t\t\t\tMessage.send({ destination: message, content }, context)\n\t\t\t}\n\t\t}\n\t}\n\texport function listen(origin: string, handle: (destination: string, content: any) => void, context?: Window): void {\n\t\tconst splitted = origin.split(\"#\", 2)\n\t\tlet destination = \"\"\n\t\tif (splitted.length == 2) {\n\t\t\torigin = splitted[0]\n\t\t\tdestination = splitted[1]\n\t\t}\n\t\t;(context || window).addEventListener(\"message\", (e: MessageEvent) => {\n\t\t\tconst message = e.data\n\t\t\tif (\n\t\t\t\tMessage.is(message) &&\n\t\t\t\t(origin == \"*\" || e.origin == origin) &&\n\t\t\t\t(destination == \"\" || message.destination == destination)\n\t\t\t) {\n\t\t\t\thandle(message.destination, message.content)\n\t\t\t}\n\t\t})\n\t}\n}\n","export interface Trigger {\n\tname: string\n\tvalue?: any\n}\nexport namespace Trigger {\n\texport function is(value: Trigger | any): value is Trigger {\n\t\treturn typeof value == \"object\" && typeof value.name == \"string\"\n\t}\n}\n","export type WithListenable<T extends Record<string, any>> = T & Listenable<T>\n\nexport type CanBeListenable = Record<string, any>\n\nexport interface HasListenable<T extends CanBeListenable> {\n\treadonly listenable: WithListenable<T>\n}\n\nexport class Listenable<T extends CanBeListenable> {\n\t#listeners: Listeners<ListenableProperties<T>> = {}\n\tlisten<K extends keyof ListenableProperties<T>>(\n\t\tthis: T & Listenable<T>,\n\t\tproperty: K,\n\t\tlistener: Listener<T[K]>,\n\t\toptions?: { lazy?: boolean }\n\t): void {\n\t\tthis.#listeners[property]?.push(listener) ?? (this.#listeners[property] = [listener])\n\t\tif (!options?.lazy) {\n\t\t\tlistener(this[property])\n\t\t}\n\t}\n\tunlisten<K extends keyof ListenableProperties<T>>(property: K, listener: Listener<T[K]>): void {\n\t\tconst index = this.#listeners[property]?.indexOf(listener)\n\t\tindex != undefined && index >= 0 && this.#listeners[property]?.splice(index, 1)\n\t}\n\tbatchListen(this: T & Listenable<T>, listeners: ListenerBatch<T>, options?: { lazy?: boolean }) {\n\t\tfor (const key in listeners) {\n\t\t\tconst listener = listeners[key]\n\t\t\tlistener && this.listen(key, listener, options)\n\t\t}\n\t}\n\tbatchUnlisten(listeners: ListenerBatch<T>) {\n\t\tfor (const key in listeners) {\n\t\t\tconst listener = listeners[key]\n\t\t\tlistener && this.unlisten(key, listener)\n\t\t}\n\t}\n\n\tstatic load<T extends HasListenable<CanBeListenable>>(backend: T): WithListenable<T> {\n\t\tconst result = backend.listenable\n\n\t\treturn Object.defineProperties(result, getProperties(backend)) as WithListenable<T>\n\n\t\tfunction getProperties(backend: any) {\n\t\t\treturn Object.fromEntries(\n\t\t\t\t(\n\t\t\t\t\tObject.entries({\n\t\t\t\t\t\t...Object.getOwnPropertyDescriptors(backend),\n\t\t\t\t\t\t...Object.getOwnPropertyDescriptors(Object.getPrototypeOf(backend)),\n\t\t\t\t\t}) as [keyof T, PropertyDescriptor][]\n\t\t\t\t).map(([name, descriptor]) => [\n\t\t\t\t\tname,\n\t\t\t\t\ttypeof descriptor.value == \"function\"\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\treturn backend[name].bind(backend)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t: descriptor.writable || descriptor.set\n\t\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\t\treturn backend[name]\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tset(value: any) {\n\t\t\t\t\t\t\t\t\t\tbackend[name] = value\n\t\t\t\t\t\t\t\t\t\tresult.#listeners[name]?.forEach(listener => listener(backend[name]))\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\t\treturn backend[name]\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t},\n\t\t\t\t])\n\t\t\t)\n\t\t}\n\t}\n}\ntype ListenableProperties<T> = {\n\t// eslint-disable-next-line @typescript-eslint/ban-types\n\t[P in keyof T as T[P] extends Function ? never : P]: T[P]\n}\n\nexport type Listener<V> = (value: V) => void\nexport type Listeners<T> = {\n\t[K in keyof T]?: Listener<T[K]>[]\n}\n\nexport type ListenerBatch<T> = { [K in keyof ListenableProperties<T>]?: Listener<T[K]> }\n","import { isly } from \"isly\"\n\ntype Value = string | number | boolean | Blob | undefined\nexport type Data = { [name: string]: Data | Data[] | Value | Value[] }\nexport namespace Data {\n\texport const valueType = isly.union<Value, string, number, boolean, Blob, undefined>(\n\t\tisly.string(),\n\t\tisly.number(),\n\t\tisly.boolean(),\n\t\tisly.fromIs(\"Blob\", value => value instanceof Blob),\n\t\tisly.undefined()\n\t)\n\texport const type: isly.Type<Data> = isly.record<Data>(\n\t\tisly.string(),\n\t\tisly.union(\n\t\t\tisly.lazy(() => type, \"Data\"),\n\t\t\tvalueType\n\t\t)\n\t)\n\n\texport function set(data: Data, [head, ...tail]: string[], value: Value): Data {\n\t\tconst current = data[head ?? \"\"]\n\t\treturn {\n\t\t\t...data,\n\t\t\t[head ?? \"\"]: !tail.length\n\t\t\t\t? value\n\t\t\t\t: set(\n\t\t\t\t\t\ttypeof current == \"object\" && !Array.isArray(current) && !(current instanceof Blob) ? current : {},\n\t\t\t\t\t\ttail,\n\t\t\t\t\t\tvalue\n\t\t\t\t\t),\n\t\t}\n\t}\n\texport function deepen(data: Record<string, Value>): Data {\n\t\treturn merge({}, data)\n\t}\n\tfunction isArrayRecord(d: any): d is Record<`${number}`, any> {\n\t\treturn (\n\t\t\tisly.object().is(d) && (keys => !!keys.length && keys.every(k => parseInt(k).toString() == k))(Object.keys(d))\n\t\t)\n\t}\n\texport function convertArrays(data: any): Data {\n\t\treturn isArrayRecord(data)\n\t\t\t? (Object.entries(data).reduce((arr: Data[], [k, v]: [`${number}`, any]) => {\n\t\t\t\t\tarr[k] = convertArrays(v)\n\t\t\t\t\treturn arr\n\t\t\t\t}, []) as any)\n\t\t\t: isly.object().is(data) && !(data instanceof Blob || data instanceof File)\n\t\t\t\t? Object.fromEntries(Object.entries(data).map(([k, v]) => [k, convertArrays(v)]))\n\t\t\t\t: data\n\t}\n\texport function merge(data: Data, changes: Record<string, any>): Data {\n\t\treturn Object.entries(changes).reduce((r, [name, value]) => set(r, name.split(\".\"), value), data)\n\t}\n\texport function remove(data: Data, name: string): any {\n\t\tconst keys = name.split(\".\")\n\t\tremoveKey(data, keys)\n\t\treturn data\n\t}\n\tfunction removeKey(current: any, [head, ...tail]: string[]) {\n\t\tif (tail.length === 0) {\n\t\t\tif (typeof current === \"object\" && head in current) {\n\t\t\t\tdelete current[head]\n\t\t\t}\n\t\t} else if (typeof current === \"object\" && head in current) {\n\t\t\tremoveKey(current[head], tail)\n\t\t\tif (isEmpty(current[head])) {\n\t\t\t\tdelete current[head]\n\t\t\t}\n\t\t}\n\t}\n\tfunction isEmpty(current: any): boolean {\n\t\treturn typeof current === \"object\" && Object.keys(current).length === 0\n\t}\n}\n","import { isly } from \"isly\"\nimport { Data } from \"./Data\"\n\nexport interface Submit<D extends Data = Data> {\n\ttype?: (typeof Submit.values)[number]\n\tresult: (result: boolean) => void\n\tvalue: D\n}\nexport namespace Submit {\n\texport const values = [\"update\", \"change\", \"fetch\", \"create\", \"remove\"] as const\n\texport const type = isly.object<Submit>({\n\t\ttype: isly.string(values).optional(),\n\t\tresult: isly.function(),\n\t\tvalue: Data.type,\n\t})\n\texport const is = type.is\n\texport const flaw = type.flaw\n}\n"],"mappings":"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CACjBC,QAAQC,KAAK,wBAAwBJ,cAAgBC,EAASI,WAC9D,OAAOpF,S,CAER,aAAagF,EAASK,M,CACrB,MAAOC,GACRJ,QAAQI,MAAM,sCAAsCP,IAAOO,GAC3D,OAAOtF,S,EAGF6E,eAAeU,EAAK9G,G,QAC1B,MAAMsG,IAAOS,EAAAb,EAAMlG,MAAK,MAAA+G,SAAA,EAAAA,EAAIb,EAAM,MAAMxC,QAAQ,UAAW1D,GAC3D,OAAOgH,EAAAb,EAAMG,MAAI,MAAAU,SAAA,EAAAA,EAAKb,EAAMG,GAAOD,EAAMC,E,CAFpBL,EAAAa,KAAIA,EAI1B,SAAgBG,EAAIX,KAAgBtG,GACnC,IAAK,MAAMkH,KAAKlH,EAAM,CACrBkG,EAAMgB,GAAKZ,C,EAFGL,EAAAgB,IAAGA,GAOnB,SAAiBE,GACHA,EAAAjC,OAAS,CACrB,gBACA,aACA,MACA,WACA,QACA,SACA,eACA,QACA,oBACA,YACA,WACA,OACA,UACA,oBACA,aACA,oBACA,aACA,uBACA,gBACA,oBACA,aACA,oBACA,aACA,kBACA,WACA,YACA,KACA,SACA,YACA,MACA,UACA,YACA,aACA,UACA,MACA,UACA,UACA,YACA,UACA,WACA,aACA,SACA,mBACA,eACA,eACA,eACA,SACA,MACA,OACA,UACA,YACA,OACA,OACA,UACA,eACA,YACA,WACA,OACA,YACA,WACA,QACA,MACA,QACA,OACA,WACA,MACA,OACA,aACA,WACA,iBACA,kBACA,OACA,iBACA,SACA,OACA,oBACA,aACA,oBACA,aACA,uBACA,gBACA,kBACA,WACA,YACA,MACA,OACA,OACA,WACA,mBACA,UACA,sBACA,cACA,aACA,WACA,mBACA,wBACA,iBACA,YACA,sBACA,eACA,mBACA,sBACA,eACA,iBACA,yBACA,kBACA,oBACA,aACA,YACA,eACA,QACA,eACA,aACA,iBACA,gBACA,QACA,eACA,eACA,SACA,gBACA,aACA,OACA,eACA,MACA,aACA,eACA,gBACA,aACA,UACA,YACA,WACA,WACA,OACA,SACA,OACA,OACA,MACA,UACA,UACA,OACA,OACA,kBACA,gBACA,YACA,WACA,gBACA,WACA,YACA,MACA,QACA,QACA,MACA,UACA,6BACA,sBACA,2BACA,oBACA,QACA,OACA,SACA,UACA,UACA,MACA,YACA,SACA,iBACA,oBACA,YACA,OACA,SACA,gBACA,eACA,OACA,UACA,OACA,QACA,aACA,YACA,QACA,QACA,SACA,cACA,SACA,WACA,YACA,SACA,kBACA,OACA,aACA,aACA,cACA,YACA,cACA,mBACA,UACA,QACA,OACA,OACA,SACA,YACA,aACA,QACA,gBACA,UACA,eACA,uBACA,gBACA,aACA,QACA,YACA,cACA,OACA,OACA,YACA,YACA,UACA,SACA,QACA,WACA,qBACA,cACA,UACA,cACA,SACA,MACA,WACA,SACA,SACA,OACA,UACA,OACA,cACA,OACA,SACA,WACA,cACA,YACA,SACA,UACA,SACA,YACA,OACA,cACA,cACA,OACA,MACA,MACA,QACA,UACA,SACA,YACA,OACA,aACA,iBACA,UACA,MACA,OACA,OACA,gBACA,eACA,kBACA,WACA,YACA,uBACA,2BACA,oBACA,gBACA,UACA,YACA,OACA,UACA,cACA,eACA,eACA,QACA,MACA,SACA,gBACA,SACA,aACA,gBACA,gBACA,SACA,kBACA,iBACA,YACA,MACA,OACA,QACA,SACA,mBACA,YACA,cACA,sBACA,eACA,wBACA,iBACA,2BACA,oBACA,OACA,SACA,QACA,YACA,QACA,WACA,QACA,QACA,OACA,UACA,mBACA,kBACA,QACA,QACA,SACA,UACA,YACA,iBACA,UACA,gBACA,SACA,gBACA,SACA,eACA,gBACA,cACA,SACA,SACA,aACA,mBACA,sBACA,iBACA,oBACA,SACA,SACA,OACA,MACA,OACA,cACA,QACA,OACA,SACA,gBACA,SACA,OACA,SACA,WACA,SACA,eACA,QACA,mBACA,cACA,SACA,QACA,UACA,QACA,OACA,WACA,cACA,SACA,YACA,OACA,cACA,cACA,OACA,YACA,aACA,SACA,QACA,kBACA,gBACA,cACA,OACA,mBACA,kBACA,YACA,aACA,WACA,OACA,cACA,cACA,YACA,eACA,SACA,QACA,OACA,QACA,SACA,aACA,QACA,cACA,YACA,QACA,gBACA,cACA,WACA,SACA,KACA,WACA,SACA,eACA,OACA,SACA,UACA,QACA,QACA,WACA,OACA,OACA,cACA,aACA,gBACA,cACA,aACA,QAED,EAjaD,CAAiBe,EAAAkB,OAAAlB,EAAAkB,KAAI,MAmarB,SAAiBC,GACHA,EAAAlC,OAAS,CACrB,cACA,cACA,eACA,eACA,eACA,sBACA,aACA,gBACA,eACA,iBACA,eACA,cACA,iBACA,cACA,yBACA,eACA,YACA,oBACA,kBACA,eACA,cACA,gBACA,eACA,YACA,gBACA,YACA,gBACA,gBACA,eACA,cACA,kBACA,cACA,cACA,wBACA,cACA,kBACA,aACA,iBACA,aACA,gBACA,kBACA,eACA,gBACA,gBACA,gBACA,cACA,iBACA,cACA,kBACA,WACA,eACA,cACA,iBACA,mBACA,WACA,cACA,aACA,cACA,WACA,YACA,aACA,aACA,gBACA,kBACA,qBACA,aACA,eACA,eACA,cACA,cACA,WACA,cACA,eACA,WACA,qBACA,aACA,gBACA,cACA,aACA,eACA,UACA,iBACA,WACA,YACA,YACA,aACA,WACA,eAED,EA3FD,CAAiBe,EAAAmB,OAAAnB,EAAAmB,KAAI,IA4FrB,EA5hBD,CAAiBnB,MAAI,KCEf,IAAWoB,GAAjB,SAAiBA,GAChB,SAAgBlH,EAAGC,GAClB,cAAcA,GAAS,iBAAmBA,EAAMkH,aAAe,UAAYlH,EAAMmH,SAAWhG,S,CAD7E8F,EAAAlH,GAAEA,EAKlB,SAAgBqH,EAAKC,EAAgCF,EAAwBG,GAC5E,GAAIL,EAAQlH,GAAGsH,IAAYC,GAAWnG,UAAW,CAChDmG,EAAUH,EACV,IAAKG,EAAS,CACbA,EAAUC,M,CAEX,MAAML,EAAcG,EAAQH,YAAY1D,MAAM,IAAK,GACnD6D,EAAU,CAAEH,YAAaA,EAAY,GAAIC,QAASE,EAAQF,SAC1DG,EAAQE,YAAYH,EAASH,EAA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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{p as t,H as s,c as e,t as i}from"./p-BsZrGTcp.js";import{M as n,T as o}from"./p-CkXes5c-.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";const r=()=>`.sc-smoothly-frame-h{display:block;width:100%;height:100%}[hidden].sc-smoothly-frame-h{display:none}.sc-smoothly-frame-h>iframe.sc-smoothly-frame{border:none;padding:none;margin:none}`;const h=t(class t extends s{constructor(t){super();if(t!==false){this.__registerHost()}this.trigger=e(this,"trigger");this.message2=e(this,"message2")}get contentWindow(){const t=this.element&&this.element.firstElementChild?this.element.firstElementChild:undefined;return t&&t.contentWindow||undefined}get defaultOrigin(){const t=this.url.match(/^(([a-z]+\+)*[a-z]+:\/\/)?[^/^\n]+/);return t?t[0]:"*"}componentDidLoad(){var t;if(this.contentWindow){n.listen((t=this.origin)!==null&&t!==void 0?t:this.defaultOrigin,((t,s)=>{if(t==this.name){if(o.is(s)){this.trigger.emit(s)}else{this.message2.emit({destination:t,content:s})}}}),window)}}async send(t,s){var e,i;if(typeof t=="string"){n.send(((e=this.origin)!==null&&e!==void 0?e:this.defaultOrigin)+"#"+t,s,this.contentWindow)}else if(n.is(t)&&this.contentWindow){n.send({destination:((i=this.origin)!==null&&i!==void 0?i:this.defaultOrigin)+"#"+t.destination,content:t.destination},this.contentWindow)}}render(){return[]}get element(){return this}static get style(){return r()}},[2,"smoothly-frame",{url:[1],name:[513],origin:[1],send:[64]}]);function a(){if(typeof customElements==="undefined"){return}const t=["smoothly-frame"];t.forEach((t=>{switch(t){case"smoothly-frame":if(!customElements.get(i(t))){customElements.define(i(t),h)}break}}))}a();export{h as S,a as d};
2
- //# sourceMappingURL=p-BEHuPmXt.js.map
1
+ import{p as t,H as s,c as e,t as i}from"./p-BsZrGTcp.js";import{M as n,T as o}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";const r=()=>`.sc-smoothly-frame-h{display:block;width:100%;height:100%}[hidden].sc-smoothly-frame-h{display:none}.sc-smoothly-frame-h>iframe.sc-smoothly-frame{border:none;padding:none;margin:none}`;const h=t(class t extends s{constructor(t){super();if(t!==false){this.__registerHost()}this.trigger=e(this,"trigger");this.message2=e(this,"message2")}get contentWindow(){const t=this.element&&this.element.firstElementChild?this.element.firstElementChild:undefined;return t&&t.contentWindow||undefined}get defaultOrigin(){const t=this.url.match(/^(([a-z]+\+)*[a-z]+:\/\/)?[^/^\n]+/);return t?t[0]:"*"}componentDidLoad(){var t;if(this.contentWindow){n.listen((t=this.origin)!==null&&t!==void 0?t:this.defaultOrigin,((t,s)=>{if(t==this.name){if(o.is(s)){this.trigger.emit(s)}else{this.message2.emit({destination:t,content:s})}}}),window)}}async send(t,s){var e,i;if(typeof t=="string"){n.send(((e=this.origin)!==null&&e!==void 0?e:this.defaultOrigin)+"#"+t,s,this.contentWindow)}else if(n.is(t)&&this.contentWindow){n.send({destination:((i=this.origin)!==null&&i!==void 0?i:this.defaultOrigin)+"#"+t.destination,content:t.destination},this.contentWindow)}}render(){return[]}get element(){return this}static get style(){return r()}},[2,"smoothly-frame",{url:[1],name:[513],origin:[1],send:[64]}]);function a(){if(typeof customElements==="undefined"){return}const t=["smoothly-frame"];t.forEach((t=>{switch(t){case"smoothly-frame":if(!customElements.get(i(t))){customElements.define(i(t),h)}break}}))}a();export{h as S,a as d};
2
+ //# sourceMappingURL=p-Bt-mtf0k.js.map
@@ -0,0 +1,2 @@
1
+ import{p as t,H as e,h as s,d as o,t as a}from"./p-BsZrGTcp.js";import{d as l}from"./p-DDtRlhit.js";const c=()=>`.sc-smoothly-lazy-h{display:block}`;const r=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.show=false}loadMoreHandler(t){t.stopPropagation();this.show=true}render(){return s(o,{key:"ba06250ac8a325c3b51801b09999efdbd0c552f6"},s("slot",{key:"89e3aa0b677038bac4a999c3aba63e8f86f3e9ea",name:"before"}),s("smoothly-load-more",{key:"4d817981ffa9f3231972a3eb153339ca805c05e3",onSmoothlyLoadMore:t=>this.loadMoreHandler(t)}),this.show&&(typeof this.content=="function"?s(this.content,null):this.content),s("slot",{key:"55ab66fb5706d1bb40350a5b545b97ddb5787eab"}))}static get style(){return c()}},[262,"smoothly-lazy",{show:[1028],content:[16]}]);function n(){if(typeof customElements==="undefined"){return}const t=["smoothly-lazy","smoothly-load-more"];t.forEach((t=>{switch(t){case"smoothly-lazy":if(!customElements.get(a(t))){customElements.define(a(t),r)}break;case"smoothly-load-more":if(!customElements.get(a(t))){l()}break}}))}n();export{r as S,n as d};
2
+ //# sourceMappingURL=p-Bv6ll-a-.js.map
@@ -0,0 +1,2 @@
1
+ import{p as e,H as t,h as o,d as a,t as l}from"./p-BsZrGTcp.js";import{d as s}from"./p-CN3iME9d.js";import{d as r}from"./p-DG2pfnCV.js";import{d}from"./p-uFR5K4vd.js";import{d as c}from"./p-DvZK__s-.js";import{d as m}from"./p-F8qX8ZuL.js";import{d as i}from"./p-C77C00Ii.js";import{d as b}from"./p-DvMoIxws.js";import{d as n}from"./p-l818BCpp.js";import{d as y}from"./p-Cuq_eaHi.js";import{d as p}from"./p-C7PxdEtX.js";import{d as f}from"./p-Iph4bHku.js";import{d as h}from"./p-BWT1q2tN.js";const u=()=>`.sc-smoothly-table-demo-simple-h{display:block}.sc-smoothly-table-demo-simple-h>smoothly-display.sc-smoothly-table-demo-simple{font-size:2em}.sc-smoothly-table-demo-simple-h>*.sc-smoothly-table-demo-simple{margin-bottom:2rem}`;const k=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}}render(){return o(a,{key:"80449d99f9dd0f1b3ccc6fe1ca76f81c383b0b73"},o("smoothly-display",{key:"a8a925063304469fd491d875aac3ca41262c2654",type:"text",value:"Simple"}),o("smoothly-table",{key:"c73c0af22285cf5769b7aae1bc619e681425059c",color:"primary",columns:2},o("smoothly-table-head",{key:"55a6fa56086f9ecf4c5ad6e937c672164e4ec329"},o("smoothly-table-row",{key:"c130d923b09c92b269da5f16ea18e3ee895cab52"},o("smoothly-table-cell",{key:"b937e3114409fa9e58e16333d00367839bc74d15"},"Breed"),o("smoothly-table-cell",{key:"9aba71f6c1a20a762e89500ca5efa3a82d7cbd89"},"Coat"))),o("smoothly-table-body",{key:"b79c14240246a1d441fc2bfb2cf0857834121312"},j.map((e=>o("smoothly-table-row",null,o("smoothly-table-expandable-cell",null,e.breed,o("div",{slot:"detail"},"Country:",o("br",null),e.country)),o("smoothly-table-expandable-cell",null,e.coat,o("div",{slot:"detail"},"Pattern: ",e.pattern))))),o("smoothly-table-row",{key:"b3897b89193457cc34ef8a636ee70eb440b09923"},o("smoothly-table-cell",{key:"d3ff9b985f616112a698ad7c3d1154ae7ca3b17a"},"Cell5"),o("smoothly-table-expandable-cell",{key:"ed7165825d15f3025231a21aead04f6bcd048872"},"Expandable Cell",o("div",{key:"b5ffac563fce0a0a5027706cf4f83ec8825ad037",slot:"detail"},"Content of the expandable cell"))),o("smoothly-table-row",{key:"3a6eb6e10fb590b9036d329307a22393958f6aaa"},o("smoothly-table-expandable-cell",{key:"43570c5844b23b46572678bd5229d325c26b677f"},"Expandable Cell 1",o("div",{key:"2c643f6a728b5967d7e42c47d657ce07ef295c78",slot:"detail"},"Content of the expandable cell 1")),o("smoothly-table-expandable-cell",{key:"1d9f1e32259d590d5f0a7c043c56424f30019e6e"},"Expandable Cell 2",o("div",{key:"ea45ab8f26e3a2b7bd4d012b3dec1899836620b6",slot:"detail"},"Content of the expandable cell 2")))),o("smoothly-table-foot",{key:"99a7c70b238c32203143077e8e1a3c58ee82adf7"},o("smoothly-table-row",{key:"2abe5c4e633f55dd722f21263ab6647018b7319b"},o("smoothly-table-cell",{key:"805be40c4d87dd23a8ab71017453b6340adf200e"},"Footer Cell"),o("smoothly-table-cell",{key:"1137748f294d4199d08de20a8316588df635bfb2"},"Footer Cell")))))}static get style(){return u()}},[2,"smoothly-table-demo-simple"]);const j=[{breed:"Abyssinian",country:"Ethiopia",origin:"Natural/Standard",coat:"Short",pattern:"Ticked"},{breed:"Aegean",country:"Greece",origin:"Natural/Standard",coat:"Semi-long",pattern:"Bi- or tri-colored"},{breed:"American Curl",country:"United States",origin:"Mutation",coat:"Short/Long",pattern:"All"},{breed:"American Bobtail",country:"United States",origin:"Mutation",coat:"Short/Long",pattern:"All"},{breed:"American Shorthair",country:"United States",origin:"Natural",coat:"Short",pattern:"All but colorpoint"},{breed:"American Wirehair",country:"United States",origin:"Mutation",coat:"Rex",pattern:"All but colorpoint"},{breed:"Arabian Mau",country:"Arabian Peninsula",origin:"Natural",coat:"Short",pattern:""},{breed:"Australian Mist",country:"Australia",origin:"Crossbreed",coat:"Short",pattern:"Spotted and Classic tabby"},{breed:"Asian",country:"developed in the United Kingdom (founding stock from Asia)",origin:"",coat:"Short",pattern:"Evenly solid"},{breed:"Asian Semi-longhair",country:"United Kingdom",origin:"Crossbreed",coat:"Semi-long",pattern:"Solid"}];function C(){if(typeof customElements==="undefined"){return}const e=["smoothly-table-demo-simple","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-expandable-cell","smoothly-table-foot","smoothly-table-head","smoothly-table-row"];e.forEach((e=>{switch(e){case"smoothly-table-demo-simple":if(!customElements.get(l(e))){customElements.define(l(e),k)}break;case"smoothly-display":if(!customElements.get(l(e))){s()}break;case"smoothly-display-json":if(!customElements.get(l(e))){r()}break;case"smoothly-display-json-object":if(!customElements.get(l(e))){d()}break;case"smoothly-display-json-primitive":if(!customElements.get(l(e))){c()}break;case"smoothly-display-json-record-key":if(!customElements.get(l(e))){m()}break;case"smoothly-table":if(!customElements.get(l(e))){i()}break;case"smoothly-table-body":if(!customElements.get(l(e))){b()}break;case"smoothly-table-cell":if(!customElements.get(l(e))){n()}break;case"smoothly-table-expandable-cell":if(!customElements.get(l(e))){y()}break;case"smoothly-table-foot":if(!customElements.get(l(e))){p()}break;case"smoothly-table-head":if(!customElements.get(l(e))){f()}break;case"smoothly-table-row":if(!customElements.get(l(e))){h()}break}}))}C();export{k as S,C as d};
2
+ //# sourceMappingURL=p-BvTs7KUn.js.map
@@ -1,2 +1,2 @@
1
- import{p as t,H as e,c as o,h as s,d as r,t as i}from"./p-BsZrGTcp.js";const l=()=>`[selected].sc-smoothly-item-h{background-color:rgb(var(--smoothly-item-selected-background));color:rgb(var(--smoothly-item-selected-foreground));border-left:.3em solid rgb(var(--smoothly-item-selected-border))}[disabled].sc-smoothly-item-h,.sc-smoothly-item-h[disabled].sc-smoothly-item-s>*{background-color:rgb(var(--smoothly-item-disabled-background));color:rgb(var(--smoothly-item-disabled-foreground));opacity:var(--smoothly-item-disabled-opacity);cursor:not-allowed}.sc-smoothly-item-h:not([hidden]){display:flex;align-items:center;padding:0.5em;cursor:pointer;border-left:.3em solid transparent;color:rgb(var(--smoothly-item-foreground));fill:rgb(var(--smoothly-item-foreground));stroke:rgb(var(--smoothly-item-foreground));box-sizing:border-box;min-height:3rem}.sc-smoothly-item-h.sc-smoothly-item-s>*{color:rgb(var(--smoothly-item-foreground));fill:rgb(var(--smoothly-item-foreground));stroke:rgb(var(--smoothly-item-foreground))}.sc-smoothly-item-h:not([disabled])[marked],.sc-smoothly-item-h:not([disabled]):hover,.sc-smoothly-item-h:not([disabled])[marked].sc-smoothly-item-s>*,.sc-smoothly-item-h:not([disabled]):hover.sc-smoothly-item-s>*{background-color:rgb(var(--smoothly-item-hover-background));color:rgb(var(--smoothly-item-hover-foreground));fill:rgb(var(--smoothly-item-hover-foreground));stroke:rgb(var(--smoothly-item-hover-foreground))}`;const h=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyItemSelect=o(this,"smoothlyItemSelect");this.smoothlyInputLoad=o(this,"smoothlyInputLoad");this.smoothlyItemDOMChange=o(this,"smoothlyItemDOMChange");this.userInitiated=false;this.selected=false;this.disabled=false;this.deselectable=true}clickHandler(){if(!this.disabled&&(!this.selected||this.deselectable)){this.userInitiated=true;this.selected=!this.selected}}selectedWatcher(){this.smoothlyItemSelect.emit({userInitiated:this.userInitiated,item:this.element});this.userInitiated=false}componentWillLoad(){this.smoothlyInputLoad.emit((()=>{}))}componentDidLoad(){this.mutationObserver=new MutationObserver((()=>this.smoothlyItemDOMChange.emit()));this.mutationObserver.observe(this.element,{childList:true,subtree:true,characterData:true});if(this.selected&&!this.disabled){this.smoothlyItemSelect.emit({userInitiated:false,item:this.element})}}async filter(t){var e;const o=typeof this.value==="string"?this.value:JSON.stringify((e=this.value)!==null&&e!==void 0?e:"");this.element.hidden=t?!(o.includes(t)||this.element.innerText.toLowerCase().includes(t)):false}render(){return s(r,{key:"a7ee995ec37b480a02715fb95c885152560cc0c1",tabIndex:-1},s("slot",{key:"dcc2403a2253a7059dc88b4658c17c6533876a9f"}))}get element(){return this}static get watchers(){return{selected:[{selectedWatcher:0}]}}static get style(){return l()}},[262,"smoothly-item",{value:[8],selected:[1540],marked:[1540],disabled:[516],deselectable:[4],filter:[64]},[[0,"click","clickHandler"]],{selected:[{selectedWatcher:0}]}]);function m(){if(typeof customElements==="undefined"){return}const t=["smoothly-item"];t.forEach((t=>{switch(t){case"smoothly-item":if(!customElements.get(i(t))){customElements.define(i(t),h)}break}}))}m();export{h as S,m as d};
2
- //# sourceMappingURL=p-fnKrPnzp.js.map
1
+ import{p as t,H as e,c as o,h as s,d as r,t as i}from"./p-BsZrGTcp.js";const l=()=>`[selected].sc-smoothly-item-h{background-color:rgb(var(--smoothly-item-selected-background));color:rgb(var(--smoothly-item-selected-foreground));border-left:.3em solid rgb(var(--smoothly-item-selected-border))}[disabled].sc-smoothly-item-h,.sc-smoothly-item-h[disabled].sc-smoothly-item-s>*{background-color:rgb(var(--smoothly-item-disabled-background));color:rgb(var(--smoothly-item-disabled-foreground));opacity:var(--smoothly-item-disabled-opacity);cursor:not-allowed}.sc-smoothly-item-h:not([hidden]){display:flex;align-items:center;padding:0.5em;cursor:pointer;border-left:.3em solid transparent;color:rgb(var(--smoothly-item-foreground));fill:rgb(var(--smoothly-item-foreground));stroke:rgb(var(--smoothly-item-foreground));box-sizing:border-box;min-height:3rem}.sc-smoothly-item-h.sc-smoothly-item-s>*{color:rgb(var(--smoothly-item-foreground));fill:rgb(var(--smoothly-item-foreground));stroke:rgb(var(--smoothly-item-foreground))}.sc-smoothly-item-h:not([disabled])[marked],.sc-smoothly-item-h:not([disabled]):hover,.sc-smoothly-item-h:not([disabled])[marked].sc-smoothly-item-s>*,.sc-smoothly-item-h:not([disabled]):hover.sc-smoothly-item-s>*{background-color:rgb(var(--smoothly-item-hover-background));color:rgb(var(--smoothly-item-hover-foreground));fill:rgb(var(--smoothly-item-hover-foreground));stroke:rgb(var(--smoothly-item-hover-foreground))}`;const h=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.smoothlyItemSelect=o(this,"smoothlyItemSelect");this.smoothlyInputLoad=o(this,"smoothlyInputLoad");this.smoothlyItemDOMChange=o(this,"smoothlyItemDOMChange");this.userInitiated=false;this.selected=false;this.disabled=false;this.deselectable=true}clickHandler(){if(!this.disabled&&(!this.selected||this.deselectable)){this.userInitiated=true;this.selected=!this.selected}}selectedWatcher(){this.smoothlyItemSelect.emit({userInitiated:this.userInitiated,item:this.element});this.userInitiated=false}componentWillLoad(){this.smoothlyInputLoad.emit((()=>{}))}componentDidLoad(){this.mutationObserver=new MutationObserver((()=>this.smoothlyItemDOMChange.emit()));this.mutationObserver.observe(this.element,{childList:true,subtree:true,characterData:true});if(this.selected&&!this.disabled){this.smoothlyItemSelect.emit({userInitiated:false,item:this.element})}}async filter(t){var e;const o=typeof this.value==="string"?this.value:JSON.stringify((e=this.value)!==null&&e!==void 0?e:"");this.element.hidden=t?!(o.includes(t)||this.element.innerText.toLowerCase().includes(t)):false}render(){return s(r,{key:"f86c77b9ed66eeca4f9521883517fea9a8ce3292",tabIndex:-1},s("slot",{key:"9a72363e41c726d78c213179afcebafcafa48abc"}))}get element(){return this}static get watchers(){return{selected:[{selectedWatcher:0}]}}static get style(){return l()}},[262,"smoothly-item",{value:[8],selected:[1540],marked:[1540],disabled:[516],deselectable:[4],filter:[64]},[[0,"click","clickHandler"]],{selected:[{selectedWatcher:0}]}]);function a(){if(typeof customElements==="undefined"){return}const t=["smoothly-item"];t.forEach((t=>{switch(t){case"smoothly-item":if(!customElements.get(i(t))){customElements.define(i(t),h)}break}}))}a();export{h as S,a as d};
2
+ //# sourceMappingURL=p-ByRyVRgY.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,H as o,h as l,d as t,t as s}from"./p-BsZrGTcp.js";const a=()=>`.sc-smoothly-table-h{display:grid;grid-template-columns:repeat(var(--columns), auto);color:rgb(var(--smoothly-table-foreground));stroke:rgb(var(--smoothly-table-foreground));fill:rgb(var(--smoothly-table-foreground))}`;const n=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}this.columns=1}smoothlyTableExpandableRowChange(e){e.stopPropagation()}smoothlyTableExpandableCellChange(e){e.stopPropagation()}render(){return l(t,{key:"e1e0fc478ebf90003f156eddb44e1de2213cf4e0",style:{"--columns":this.columns.toString()}},l("slot",{key:"10e080ed0213084a43750f73df364993b30f72b4"}))}static get style(){return a()}},[262,"smoothly-table",{columns:[2]},[[0,"smoothlyTableExpandableRowChange","smoothlyTableExpandableRowChange"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChange"]]]);function r(){if(typeof customElements==="undefined"){return}const e=["smoothly-table"];e.forEach((e=>{switch(e){case"smoothly-table":if(!customElements.get(s(e))){customElements.define(s(e),n)}break}}))}r();export{n as S,r as d};
2
- //# sourceMappingURL=p-Bes8H54c.js.map
1
+ import{p as e,H as o,h as l,d as t,t as a}from"./p-BsZrGTcp.js";const s=()=>`.sc-smoothly-table-h{display:grid;grid-template-columns:repeat(var(--columns), auto);color:rgb(var(--smoothly-table-foreground));stroke:rgb(var(--smoothly-table-foreground));fill:rgb(var(--smoothly-table-foreground))}`;const n=e(class e extends o{constructor(e){super();if(e!==false){this.__registerHost()}this.columns=1}smoothlyTableExpandableRowChange(e){e.stopPropagation()}smoothlyTableExpandableCellChange(e){e.stopPropagation()}render(){return l(t,{key:"f875112f3c3c917be64b0874106e35a318b3ded5",style:{"--columns":this.columns.toString()}},l("slot",{key:"f84673ca127c951381152b7e5b70b3d0d16f584a"}))}static get style(){return s()}},[262,"smoothly-table",{columns:[2]},[[0,"smoothlyTableExpandableRowChange","smoothlyTableExpandableRowChange"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChange"]]]);function r(){if(typeof customElements==="undefined"){return}const e=["smoothly-table"];e.forEach((e=>{switch(e){case"smoothly-table":if(!customElements.get(a(e))){customElements.define(a(e),n)}break}}))}r();export{n as S,r as d};
2
+ //# sourceMappingURL=p-C77C00Ii.js.map
@@ -0,0 +1,2 @@
1
+ import{p as o,H as t,h as e,d as r,t as s}from"./p-BsZrGTcp.js";const l=()=>`.sc-smoothly-table-foot-h{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;position:sticky;z-index:1;bottom:0;background-color:rgb(var(--smoothly-table-footer-background));color:rgb(var(--smoothly-table-footer-foreground));stroke:rgb(var(--smoothly-table-footer-foreground));fill:rgb(var(--smoothly-table-footer-foreground))}`;const a=o(class o extends t{constructor(o){super();if(o!==false){this.__registerHost()}}render(){return e(r,{key:"491e31a72bf7cf753be9722c5f9ffd189b75beae"},e("slot",{key:"717637b20804c096f1daac46183047b2f7570569"}))}static get style(){return l()}},[262,"smoothly-table-foot"]);function f(){if(typeof customElements==="undefined"){return}const o=["smoothly-table-foot"];o.forEach((o=>{switch(o){case"smoothly-table-foot":if(!customElements.get(s(o))){customElements.define(s(o),a)}break}}))}f();export{a as S,f as d};
2
+ //# sourceMappingURL=p-C7PxdEtX.js.map
@@ -0,0 +1,2 @@
1
+ import{p as o,H as e,h as t,d as a,t as s}from"./p-BsZrGTcp.js";import{d as l}from"./p-mmAi00ak.js";import{d as i}from"./p-vB-efyHR.js";import{d as m}from"./p-Bt-mtf0k.js";import{d as c}from"./p-DDYB8QLF.js";import{d}from"./p-jSrgQO7o.js";import{d as r}from"./p-M0gzpGV-.js";import{d as n}from"./p-DFPMixk-.js";const f=()=>`.sc-smoothly-dialog-demo-h>smoothly-button.sc-smoothly-dialog-demo{display:block;margin-block:2rem}`;const b=o(class o extends e{constructor(o){super();if(o!==false){this.__registerHost()}this.openModal=false;this.openTallModal=false;this.showFrame=false}render(){return t(a,{key:"0d1ca7f9bc049064eb1680cc807bd49bafab0e7e"},t("smoothly-button",{key:"33683c13b2f666aea6d3306056b74b694cb88654",fill:"solid",color:"light",onClick:()=>this.openModal=true},"Open Modal"),t("smoothly-button",{key:"46de03312dfa5a28f164aacd442a7074148d6390",fill:"solid",color:"light",onClick:()=>this.openTallModal=true},"Open Modal with long text and top-aligned."),t("smoothly-button",{key:"ea629cfa5afabb8151f230b4916d9eb13849a4d7",fill:"solid",color:"light",onClick:()=>this.showFrame=!this.showFrame},"Show Frame"),t("smoothly-modal",{key:"45b7313f8539478b1418298a7e086e506b18cf79",closable:true,open:this.openModal,onSmoothlyModalChange:o=>this.openModal=o.detail},t("h2",{key:"005f8f44463bd4f5048582f4d59b8792a02321e4",slot:"header"},"Modal"),t("span",{key:"8bdae975d32f862fe1b2da1b75c1cdd8e0596e19"},"Are you sure you want to confirm this action?"),t("smoothly-button",{key:"7a4fc7fbeb273ddaf66723c022c0408d7d5e6cc0",slot:"actions",color:"success"},"Confirm"),t("smoothly-button",{key:"c41f548b2f249ab1d04d180c6a8745f0be0c3180",slot:"actions",color:"light",fill:"outline",onClick:()=>this.openModal=false},"Cancel")),t("smoothly-modal",{key:"9b8efe1c92dae88afeb60053efcc19c89fcb53f6",closable:true,open:this.openTallModal,onSmoothlyModalChange:o=>this.openTallModal=o.detail,align:"top"},t("h2",{key:"0c7b0382250669ac142152a49f24214180b75c11",slot:"header"},"Modal"),t("smoothly-summary",{key:"ccb69953bda0af96ba9e6679d0492770e1face22"},t("div",{key:"95d44ba81eec2106d470f4f84c0857aab8f9b6c5",slot:"summary"},"Lorem ipsum"),t("div",{key:"73a8c397c891af87ebb019bdb3ace838ab40ee24",slot:"content"},Array.from({length:10}).map((()=>t("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."))))),t("smoothly-button",{key:"61c0e81f6b49ff91d58cc3536c516e25afe9ee71",slot:"actions",color:"light",fill:"outline",onClick:()=>this.openTallModal=false},"Cancel")),this.showFrame&&t("smoothly-dialog",{key:"c0315ea0fbf1a253fe4fbc7aa9e01f7b21e49293",closable:true},t("smoothly-frame",{key:"1469ba8f2d229d42329627b12e2a4bd4028a2273",url:"https://www.wikipedia.org/",name:"parent",style:{height:"80vh"}})))}static get style(){return f()}},[2,"smoothly-dialog-demo",{openModal:[32],openTallModal:[32],showFrame:[32]}]);function u(){if(typeof customElements==="undefined"){return}const o=["smoothly-dialog-demo","smoothly-button","smoothly-dialog","smoothly-frame","smoothly-icon","smoothly-modal","smoothly-summary","smoothly-trigger"];o.forEach((o=>{switch(o){case"smoothly-dialog-demo":if(!customElements.get(s(o))){customElements.define(s(o),b)}break;case"smoothly-button":if(!customElements.get(s(o))){l()}break;case"smoothly-dialog":if(!customElements.get(s(o))){i()}break;case"smoothly-frame":if(!customElements.get(s(o))){m()}break;case"smoothly-icon":if(!customElements.get(s(o))){c()}break;case"smoothly-modal":if(!customElements.get(s(o))){d()}break;case"smoothly-summary":if(!customElements.get(s(o))){r()}break;case"smoothly-trigger":if(!customElements.get(s(o))){n()}break}}))}u();export{b as S,u as d};
2
+ //# sourceMappingURL=p-C7rAw-Sf.js.map
@@ -0,0 +1,2 @@
1
+ import{p as t,H as e,h as o,d as s,t as a}from"./p-BsZrGTcp.js";import{C as l,F as d,I as m}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import"./p-DoFURPl2.js";import{d as n}from"./p-mmAi00ak.js";import{d as c}from"./p-DPlYDxyJ.js";import{d as i}from"./p-DDYB8QLF.js";import{d as b}from"./p-BHTAR2x1.js";import{d as r}from"./p-B-jhX7aN.js";import{d as u}from"./p-Dk4OvZyQ.js";import{d as h}from"./p-Bo1NnbuT.js";import{d as y}from"./p-5ac0hPYS.js";import{d as p}from"./p-CZIRwPwA.js";import{d as f}from"./p-ByRyVRgY.js";import{d as k}from"./p-CmUug44L.js";const x=()=>`.sc-smoothly-button-demo-standard-h smoothly-input-select.sc-smoothly-button-demo-standard smoothly-item.sc-smoothly-button-demo-standard{display:flex}.sc-smoothly-button-demo-standard-h .buttons.sc-smoothly-button-demo-standard{display:flex;flex-wrap:wrap;gap:0.5rem}.sc-smoothly-button-demo-standard-h .buttons.sc-smoothly-button-demo-standard>smoothly-button.sc-smoothly-button-demo-standard{margin-block:0}.sc-smoothly-button-demo-standard-h .height-text.sc-smoothly-button-demo-standard{border-left:3px dotted rgb(var(--smoothly-default-contrast));padding-inline:1rem;align-content:center}`;const g=t(class t extends e{constructor(t){super();if(t!==false){this.__registerHost()}this.props={};this.heightText=""}updateInputHeightText(){setTimeout((()=>{const t=Number(getComputedStyle(document.documentElement).fontSize.replace("px",""));if(this.lastButton){const e=this.lastButton.clientHeight;this.heightText=`${e/t}rem (${e}px)`}}),100)}render(){return o(s,{key:"d6e6ca6091ae99e7203ec3d88a00d4b486f5f3bd"},o("h2",{key:"b62fd377ec00749b0f0f7b8cff1e2e2fdceb318d"},"Button Standard"),o("smoothly-form",{key:"c9c1113d5c7073b66d0cfbd90bfa552ca3104d37",onSmoothlyFormInput:t=>this.props=t.detail,looks:"grid"},o("smoothly-input-checkbox",{key:"0666c152084c24ec1596ab16d09b04da4f885752",name:"text.useColor",checked:true},"Use Color as Text"),o("smoothly-input-select",{key:"77fa423c1bed60c446bad2fee6ef4927610ac8af",name:"size"},o("span",{key:"d5cd74d1252542454a5fb6441d2099da14a53023",slot:"label"},"Size"),["small","large","icon","flexible"].map((t=>o("smoothly-item",{value:t,key:t},t)))),o("smoothly-input",{key:"b6df255a745261b34ef164f04c5458c77a9c286b",name:"text.value",value:"Button"},"Text",o("smoothly-input-clear",{key:"0ee5dff1bd206c5db7d1928773cef6890fb2ed80",slot:"end"})),o("smoothly-input-radio",{key:"f6f3027ea26fc6c6d077b79bbb228b6cd0809e54",name:"expand",clearable:true},o("span",{key:"33436d08686b4714e0cfdb0cea7ba6b082b666ed",slot:"label"},"Expand"),o("smoothly-input-radio-item",{key:"be55407c3191954aca07baf6aa027ac6bbe9d106",value:"block"},"block"),o("smoothly-input-radio-item",{key:"1e94daa9639011bf686019ba4883524f0073fae6",value:"full"},"full"),o("smoothly-input-clear",{key:"3b51e51710dbac5a260d3396546285234f55ad9e",slot:"end"})),o("smoothly-input-select",{key:"73b66b593f926e9035e4502bb8978deac7675d76",name:"fill"},o("span",{key:"5b143acb8c018f8c37d50788d77c8935fb5e014f",slot:"label"},"Fill"),d.values.map((t=>o("smoothly-item",{value:t,key:t},t)))),o("smoothly-input-checkbox",{key:"ef134a75c0dc58a8ef42ab5f382132eb8163452a",name:"disabled"},"Disabled"),o("smoothly-input-select",{key:"ad79838c8c83d40eeb08b1c5b83d6e82a9b6c87c",name:"type"},o("span",{key:"1581c9346c7c2443324996f8e2b79d03f31241da",slot:"label"},"Type"),["button","submit","reset","link"].map((t=>o("smoothly-item",{value:t,key:t},t)))),o("smoothly-input-checkbox",{key:"05a368b01328adf76df30553a714934b582c16f6",name:"rounded"},"Rounded"),o("smoothly-input-select",{key:"a8298ce4893589cdef6de8b311d393e1d4d7bd1d",name:"icon",menuHeight:"8items"},o("span",{key:"f0a06face2985f21d7159adb1ce523483268644a",slot:"label"},"Icon"),m.Name.values.map((t=>o("smoothly-item",{value:t,key:t},o("smoothly-icon",{name:t,size:"small",tooltip:t})))),o("smoothly-input-clear",{key:"5791bab3057dac0dfcbd69b3c593b331878b4ed0",slot:"end"})),o("smoothly-input",{key:"8c650a560e278a4aac4040ee101e4e1346ca3a54",name:"tooltip",value:"Tooltip"},"Tooltip",o("smoothly-input-clear",{key:"e67bfad19b0bc374f025055140a689bb45ec4dbb",slot:"end"}))),o("div",{key:"0c312b6d27ddb2a1a80c04661345c703b2622414",class:"buttons"},l.values.map(((t,e,s)=>{var a,l;return o("smoothly-button",{onClick:e=>console.log(`Clicked button with color: ${t}`,e),tooltip:this.props.tooltip,ref:t=>s.length-1==e&&(this.lastButton=t),color:t,expand:this.props.expand,fill:this.props.fill,disabled:this.props.disabled,shape:this.props.rounded?"rounded":undefined,size:this.props.size,type:this.props.type,key:t},this.props.icon?o("smoothly-icon",{name:this.props.icon}):undefined,((a=this.props.text)===null||a===void 0?void 0:a.useColor)?t:(l=this.props.text)===null||l===void 0?void 0:l.value)})),o("div",{key:"638acf6f59bd885acb4262f43e377afc22e35b79",class:"height-text"},this.heightText)))}static get watchers(){return{props:[{updateInputHeightText:0}]}}static get style(){return x()}},[2,"smoothly-button-demo-standard",{props:[32],heightText:[32],lastButton:[32]},undefined,{props:[{updateInputHeightText:0}]}]);function v(){if(typeof customElements==="undefined"){return}const t=["smoothly-button-demo-standard","smoothly-button","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-select","smoothly-item","smoothly-spinner"];t.forEach((t=>{switch(t){case"smoothly-button-demo-standard":if(!customElements.get(a(t))){customElements.define(a(t),g)}break;case"smoothly-button":if(!customElements.get(a(t))){n()}break;case"smoothly-form":if(!customElements.get(a(t))){c()}break;case"smoothly-icon":if(!customElements.get(a(t))){i()}break;case"smoothly-input":if(!customElements.get(a(t))){b()}break;case"smoothly-input-checkbox":if(!customElements.get(a(t))){r()}break;case"smoothly-input-clear":if(!customElements.get(a(t))){u()}break;case"smoothly-input-radio":if(!customElements.get(a(t))){h()}break;case"smoothly-input-radio-item":if(!customElements.get(a(t))){y()}break;case"smoothly-input-select":if(!customElements.get(a(t))){p()}break;case"smoothly-item":if(!customElements.get(a(t))){f()}break;case"smoothly-spinner":if(!customElements.get(a(t))){k()}break}}))}v();export{g as S,v as d};
2
+ //# sourceMappingURL=p-C8r10chB.js.map
@@ -1,2 +1,2 @@
1
- import{p as t,H as o,c as i,h as s,d as e,t as c}from"./p-BsZrGTcp.js";import{d as n}from"./p-BiQsRsV4.js";import{d as a}from"./p-CmPHR3tf.js";const l=()=>`.sc-smoothly-notification-h{display:block;position:relative;min-width:min(calc(100% - 1rem), 30rem);min-height:3rem;border-radius:5px;margin:0.5rem}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification>smoothly-icon.sc-smoothly-notification,.sc-smoothly-notification-h>span.clean.sc-smoothly-notification{display:flex;justify-content:center;align-self:center}.sc-smoothly-notification-h>span.sc-smoothly-notification{margin-inline:1rem 2rem}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification{display:flex;width:100%;justify-content:center}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification>p.sc-smoothly-notification{padding-right:1em}.sc-smoothly-notification-h>span.sc-smoothly-notification>p.sc-smoothly-notification{text-align:left}[hidden].sc-smoothly-notification-h{display:none}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification>smoothly-icon.sc-smoothly-notification{margin:0 0.5rem}.sc-smoothly-notification-h>smoothly-trigger.sc-smoothly-notification{--smoothly-icon-size:1.6rem;position:absolute;right:0}`;const r=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.remove=i(this,"remove");this.closable=true;this.tick={};this.listener=t=>{if(t.state=="closed"){this.remove.emit(t)}else{this.tick={}}}}get properties(){let t;switch(this.notice.state){case"delayed":case"warning":t=["warning","warning-outline"];break;case"success":t=["success","checkmark-circle"];break;case"executing":t=["light","hourglass-outline"];break;case"failed":t=["danger","alert-circle"];break;default:t=["light",undefined];break}return t}onTrigger(t){if(t.detail.name=="close"){t.stopPropagation();this.notice.close()}}onUpdatedNotice(t,o){if(o){o.unlisten(this.listener)}t.listen(this.listener)}componentDidLoad(){this.onUpdatedNotice(this.notice)}render(){return s(e,{key:"6c91fd348be22152c98396a00e0f333901e7edb3",color:this.properties[0],fill:"solid"},this.closable&&s("smoothly-trigger",{key:"dfb962471e36cd4b2b063d81470dd2500c5f52ab",fill:"clear",name:"close"},s("smoothly-icon",{key:"0552e3732cdc2371b430c565b7bc243a6b855446",name:"close-circle-outline"})),s("span",{key:"c7df2fc46e03a56f937d3fcddce3ee9a9a199b88",class:this.icon?"icon":"clean"},this.icon&&s("smoothly-icon",{key:"8662182866050fc3aaeeb51b0d79529c0a57e10b",name:this.properties[1]}),s("p",{key:"0f539660c5267a748ba9fc514abdd33429b9042d"},this.notice.message)))}static get watchers(){return{notice:[{onUpdatedNotice:0}]}}static get style(){return l()}},[2,"smoothly-notification",{notice:[16],closable:[4],icon:[4],tick:[32]},[[0,"trigger","onTrigger"]],{notice:[{onUpdatedNotice:0}]}]);function h(){if(typeof customElements==="undefined"){return}const t=["smoothly-notification","smoothly-icon","smoothly-trigger"];t.forEach((t=>{switch(t){case"smoothly-notification":if(!customElements.get(c(t))){customElements.define(c(t),r)}break;case"smoothly-icon":if(!customElements.get(c(t))){n()}break;case"smoothly-trigger":if(!customElements.get(c(t))){a()}break}}))}h();export{r as N,h as d};
2
- //# sourceMappingURL=p-D5dkLuTD.js.map
1
+ import{p as t,H as o,c as i,h as s,d as e,t as c}from"./p-BsZrGTcp.js";import{d as n}from"./p-DDYB8QLF.js";import{d as a}from"./p-DFPMixk-.js";const l=()=>`.sc-smoothly-notification-h{display:block;position:relative;min-width:min(calc(100% - 1rem), 30rem);min-height:3rem;border-radius:5px;margin:0.5rem}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification>smoothly-icon.sc-smoothly-notification,.sc-smoothly-notification-h>span.clean.sc-smoothly-notification{display:flex;justify-content:center;align-self:center}.sc-smoothly-notification-h>span.sc-smoothly-notification{margin-inline:1rem 2rem}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification{display:flex;width:100%;justify-content:center}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification>p.sc-smoothly-notification{padding-right:1em}.sc-smoothly-notification-h>span.sc-smoothly-notification>p.sc-smoothly-notification{text-align:left}[hidden].sc-smoothly-notification-h{display:none}.sc-smoothly-notification-h>span.icon.sc-smoothly-notification>smoothly-icon.sc-smoothly-notification{margin:0 0.5rem}.sc-smoothly-notification-h>smoothly-trigger.sc-smoothly-notification{--smoothly-icon-size:1.6rem;position:absolute;right:0}`;const r=t(class t extends o{constructor(t){super();if(t!==false){this.__registerHost()}this.remove=i(this,"remove");this.closable=true;this.tick={};this.listener=t=>{if(t.state=="closed"){this.remove.emit(t)}else{this.tick={}}}}get properties(){let t;switch(this.notice.state){case"delayed":case"warning":t=["warning","warning-outline"];break;case"success":t=["success","checkmark-circle"];break;case"executing":t=["light","hourglass-outline"];break;case"failed":t=["danger","alert-circle"];break;default:t=["light",undefined];break}return t}onTrigger(t){if(t.detail.name=="close"){t.stopPropagation();this.notice.close()}}onUpdatedNotice(t,o){if(o){o.unlisten(this.listener)}t.listen(this.listener)}componentDidLoad(){this.onUpdatedNotice(this.notice)}render(){return s(e,{key:"73f1ac93fe920e40d0045cf9ae2c756ffe451d66",color:this.properties[0],fill:"solid"},this.closable&&s("smoothly-trigger",{key:"c044dec06d857487dbdb8a17d20c6d07c6b7e370",fill:"clear",name:"close"},s("smoothly-icon",{key:"d33fb56efc3ff17f1ba41c16ffd4ed214b98bc57",name:"close-circle-outline"})),s("span",{key:"d2554c0a86856c3f8f760d8e71f9761b619ddf41",class:this.icon?"icon":"clean"},this.icon&&s("smoothly-icon",{key:"f4466028e87356a50f0cdb08ba23dbd1d65d5689",name:this.properties[1]}),s("p",{key:"6de62c145781c1127b7ea762a371f7a142bc324f"},this.notice.message)))}static get watchers(){return{notice:[{onUpdatedNotice:0}]}}static get style(){return l()}},[2,"smoothly-notification",{notice:[16],closable:[4],icon:[4],tick:[32]},[[0,"trigger","onTrigger"]],{notice:[{onUpdatedNotice:0}]}]);function h(){if(typeof customElements==="undefined"){return}const t=["smoothly-notification","smoothly-icon","smoothly-trigger"];t.forEach((t=>{switch(t){case"smoothly-notification":if(!customElements.get(c(t))){customElements.define(c(t),r)}break;case"smoothly-icon":if(!customElements.get(c(t))){n()}break;case"smoothly-trigger":if(!customElements.get(c(t))){a()}break}}))}h();export{r as N,h as d};
2
+ //# sourceMappingURL=p-CCaI37_s.js.map