smoothly 1.116.0 → 1.118.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 (506) 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/index.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/{smoothly-app_98.cjs.entry.js → smoothly-app_99.cjs.entry.js} +164 -150
  6. package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -0
  7. package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
  8. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  9. package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
  10. package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
  11. package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
  12. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
  13. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
  14. package/dist/cjs/smoothly.cjs.js +1 -1
  15. package/dist/collection/collection-manifest.json +1 -0
  16. package/dist/collection/components/app/demo/index.js +1 -1
  17. package/dist/collection/components/app/demo/index.js.map +1 -1
  18. package/dist/collection/components/app/room/index.js +1 -1
  19. package/dist/collection/components/back-to-top/index.js +2 -2
  20. package/dist/collection/components/burger/index.js +1 -1
  21. package/dist/collection/components/button/demo/index.js +1 -1
  22. package/dist/collection/components/button/demo/standard/index.js +2 -2
  23. package/dist/collection/components/button/index.js +1 -1
  24. package/dist/collection/components/calendar/index.js +2 -2
  25. package/dist/collection/components/checkbox/index.js +2 -2
  26. package/dist/collection/components/color/index.js +1 -1
  27. package/dist/collection/components/confirm/index.js +1 -1
  28. package/dist/collection/components/country/index.js +1 -1
  29. package/dist/collection/components/dialog/demo/index.js +1 -1
  30. package/dist/collection/components/dialog/index.js +1 -1
  31. package/dist/collection/components/display/demo/index.js +10 -10
  32. package/dist/collection/components/display/demo/json/index.js +1 -1
  33. package/dist/collection/components/display/index.js +3 -3
  34. package/dist/collection/components/display/json/index.js +1 -1
  35. package/dist/collection/components/display/json/object/index.js +2 -2
  36. package/dist/collection/components/display/json/object/key/index.js +1 -1
  37. package/dist/collection/components/display/json/primitive/index.js +1 -1
  38. package/dist/collection/components/form/demo/all/index.js +2 -2
  39. package/dist/collection/components/form/demo/card/index.js +1 -1
  40. package/dist/collection/components/form/demo/controlled/index.js +1 -1
  41. package/dist/collection/components/form/demo/date/index.js +1 -1
  42. package/dist/collection/components/form/demo/date-range/index.js +1 -1
  43. package/dist/collection/components/form/demo/index.js +1 -1
  44. package/dist/collection/components/form/demo/login/index.js +1 -1
  45. package/dist/collection/components/form/demo/pet/index.js +2 -2
  46. package/dist/collection/components/form/demo/prices/index.js +1 -1
  47. package/dist/collection/components/form/demo/schedule/index.js +1 -1
  48. package/dist/collection/components/form/demo/transparent/index.js +1 -1
  49. package/dist/collection/components/form/demo/typed/index.js +1 -1
  50. package/dist/collection/components/icon/demo/index.js +5 -5
  51. package/dist/collection/components/icon/index.js +1 -1
  52. package/dist/collection/components/input/checkbox/demo/index.js +1 -1
  53. package/dist/collection/components/input/checkbox/index.js +2 -2
  54. package/dist/collection/components/input/clear/index.js +1 -1
  55. package/dist/collection/components/input/color/demo/index.js +1 -1
  56. package/dist/collection/components/input/color/index.js +2 -2
  57. package/dist/collection/components/input/date/index.js +1 -1
  58. package/dist/collection/components/input/date/range/index.js +3 -3
  59. package/dist/collection/components/input/date/text/index.js +1 -1
  60. package/dist/collection/components/input/date/time/index.js +5 -5
  61. package/dist/collection/components/input/demo/date/index.js +1 -1
  62. package/dist/collection/components/input/demo/index.js +4 -4
  63. package/dist/collection/components/input/demo/price/index.js +1 -1
  64. package/dist/collection/components/input/demo/radio/index.js +1 -1
  65. package/dist/collection/components/input/demo/standard/index.js +1 -1
  66. package/dist/collection/components/input/demo/user-input/index.js +3 -3
  67. package/dist/collection/components/input/edit/index.js +1 -1
  68. package/dist/collection/components/input/file/index.js +1 -1
  69. package/dist/collection/components/input/index.js +2 -2
  70. package/dist/collection/components/input/month/index.js +4 -4
  71. package/dist/collection/components/input/radio/item/index.js +1 -1
  72. package/dist/collection/components/input/radio/item/style.css +0 -1
  73. package/dist/collection/components/input/range/demo/index.js +1 -1
  74. package/dist/collection/components/input/range/index.js +4 -4
  75. package/dist/collection/components/input/reset/index.js +1 -1
  76. package/dist/collection/components/input/select/index.js +2 -2
  77. package/dist/collection/components/input/submit/index.js +1 -1
  78. package/dist/collection/components/item/index.js +1 -1
  79. package/dist/collection/components/label/index.js +2 -2
  80. package/dist/collection/components/lazy/index.js +1 -1
  81. package/dist/collection/components/load-more/index.js +1 -1
  82. package/dist/collection/components/modal/index.js +2 -2
  83. package/dist/collection/components/notification/index.js +1 -1
  84. package/dist/collection/components/notifier/demo/index.js +37 -0
  85. package/dist/collection/components/notifier/demo/index.js.map +1 -0
  86. package/dist/collection/components/notifier/index.js +1 -1
  87. package/dist/collection/components/spinner/index.js +2 -2
  88. package/dist/collection/components/submit/index.js +1 -1
  89. package/dist/collection/components/summary/index.js +1 -1
  90. package/dist/collection/components/table/body/index.js +1 -1
  91. package/dist/collection/components/table/cell/index.js +1 -1
  92. package/dist/collection/components/table/demo/colspan/index.js +1 -1
  93. package/dist/collection/components/table/demo/filler-row/index.js +1 -1
  94. package/dist/collection/components/table/demo/group/index.js +1 -1
  95. package/dist/collection/components/table/demo/index.js +1 -1
  96. package/dist/collection/components/table/demo/nested-no-cell/index.js +2 -2
  97. package/dist/collection/components/table/demo/nested-no-cell/inner/index.js +1 -1
  98. package/dist/collection/components/table/demo/simple/simple.js +1 -1
  99. package/dist/collection/components/table/expandable/cell/index.js +1 -1
  100. package/dist/collection/components/table/expandable/row/index.js +1 -1
  101. package/dist/collection/components/table/filler-row/index.js +1 -1
  102. package/dist/collection/components/table/foot/index.js +1 -1
  103. package/dist/collection/components/table/group/index.js +1 -1
  104. package/dist/collection/components/table/head/index.js +2 -2
  105. package/dist/collection/components/table/index.js +1 -1
  106. package/dist/collection/components/table/row/index.js +1 -1
  107. package/dist/collection/components/tabs/demo/index.js +1 -1
  108. package/dist/collection/components/tabs/tab/index.js +1 -1
  109. package/dist/collection/components/theme/color/index.js +1 -1
  110. package/dist/collection/components/theme/demo/index.js +1 -1
  111. package/dist/collection/components/theme/guide/index.js +8 -8
  112. package/dist/collection/components/theme/picker/index.js +2 -2
  113. package/dist/collection/components/toggle-switch/demo/index.js +1 -1
  114. package/dist/collection/components/toggle-switch/index.js +1 -1
  115. package/dist/collection/components/trigger/index.js +1 -1
  116. package/dist/collection/components/trigger/sink/index.js +1 -1
  117. package/dist/collection/components/trigger/source/index.js +1 -1
  118. package/dist/collection/model/Notice.js +13 -12
  119. package/dist/collection/model/Notice.js.map +1 -1
  120. package/dist/components/index.js +1 -1
  121. package/dist/components/p-0WCHC4VI.js +2 -0
  122. package/dist/components/{p-B5fLCjIP.js → p-5Z_db2DH.js} +2 -2
  123. package/dist/components/{p-C9W3k6wS.js → p-5l1ov6SU.js} +2 -2
  124. package/dist/components/p-7UXKt7wZ.js +2 -0
  125. package/dist/components/p-9Fd6-bL0.js +2 -0
  126. package/dist/components/{p-D83NzhAZ.js → p-B-jhX7aN.js} +2 -2
  127. package/dist/components/p-B8I-Yh5P.js +2 -0
  128. package/dist/components/p-BAMlbqpU.js +2 -0
  129. package/dist/components/{p-DqGZ9Vzy.js → p-BCwizh6U.js} +2 -2
  130. package/dist/components/p-BDuUY4CB.js +2 -0
  131. package/dist/components/{p-AgqVCLBX.js.map → p-BDuUY4CB.js.map} +1 -1
  132. package/dist/components/{p-DuVAEZcg.js → p-BHTAR2x1.js} +2 -2
  133. package/dist/components/p-BLIeXp8k.js +2 -0
  134. package/dist/components/{p-DVb0lxbZ.js → p-BOzzNfNj.js} +2 -2
  135. package/dist/components/p-BQOdxeHU.js +2 -0
  136. package/dist/components/p-BQOdxeHU.js.map +1 -0
  137. package/dist/components/{p-BpV6GXd7.js → p-BTjay9Fy.js} +2 -2
  138. package/dist/components/p-BUo_O_Bt.js +2 -0
  139. package/dist/components/{p-C02MtoAQ.js → p-BWT1q2tN.js} +2 -2
  140. package/dist/components/{p-kRSq8qa0.js → p-BcEDrfmP.js} +2 -2
  141. package/dist/components/{p-BFsrI2_x.js → p-BdYr9Wou.js} +2 -2
  142. package/dist/components/{p-B5HCjRvr.js → p-Bo1NnbuT.js} +2 -2
  143. package/dist/components/p-Bq3C8g8G.js +2 -0
  144. package/dist/components/p-Bq3C8g8G.js.map +1 -0
  145. package/dist/components/p-Bv6ll-a-.js +2 -0
  146. package/dist/components/p-BvTs7KUn.js +2 -0
  147. package/dist/components/{p-fnKrPnzp.js → p-ByRyVRgY.js} +2 -2
  148. package/dist/components/{p-Bes8H54c.js → p-C77C00Ii.js} +2 -2
  149. package/dist/components/p-C7PxdEtX.js +2 -0
  150. package/dist/components/p-C7rAw-Sf.js +2 -0
  151. package/dist/components/{p-CKfiAXG_.js → p-CCaI37_s.js} +2 -2
  152. package/dist/components/{p-BJ1QHaKC.js → p-CDzU4-Ri.js} +2 -2
  153. package/dist/components/{p-C1OHc_IH.js → p-CE-IZkWY.js} +2 -2
  154. package/dist/components/{p-CFgT9iMG.js → p-CFwdTUm-.js} +2 -2
  155. package/dist/components/p-CIXMGKGQ.js +2 -0
  156. package/dist/components/{p-QhNiluOP.js → p-CKGlbozb.js} +2 -2
  157. package/dist/components/{p-DxpX6YuH.js → p-CLqKhHZ8.js} +2 -2
  158. package/dist/components/p-CMMaSJvr.js +2 -0
  159. package/dist/components/{p-C5zlJTUx.js → p-CN3iME9d.js} +2 -2
  160. package/dist/components/{p-D6L21sGE.js → p-CNEHa0dN.js} +2 -2
  161. package/dist/components/{p-BHcHgI_e.js → p-CTvqaqVm.js} +2 -2
  162. package/dist/components/p-CUmpHIzY.js +2 -0
  163. package/dist/components/p-CUmpHIzY.js.map +1 -0
  164. package/dist/components/{p-CxsaIxQ8.js → p-CY71xgKe.js} +2 -2
  165. package/dist/components/p-CZERsWDV.js +2 -0
  166. package/dist/components/{p-neYuyhok.js.map → p-CZERsWDV.js.map} +1 -1
  167. package/dist/components/{p-GOrXJdjK.js → p-CZIRwPwA.js} +2 -2
  168. package/dist/components/{p-Bpc6uh0M.js → p-CmUug44L.js} +2 -2
  169. package/dist/components/{p-DmRiznt_.js → p-CmV6S6tx.js} +2 -2
  170. package/dist/components/p-Cppqe_PV.js +2 -0
  171. package/dist/components/{p-BQwTK156.js.map → p-Cppqe_PV.js.map} +1 -1
  172. package/dist/components/{p-CoJyQegK.js → p-Cu0ProBU.js} +2 -2
  173. package/dist/components/{p-CL7fW_Oh.js → p-Cuq_eaHi.js} +2 -2
  174. package/dist/components/p-CwhGUug6.js +2 -0
  175. package/dist/components/{p-Z0pkj6lv.js → p-D2AakJMz.js} +2 -2
  176. package/dist/components/p-D2dYkSrN.js +2 -0
  177. package/dist/components/p-DAwAJIiX.js +2 -0
  178. package/dist/components/{p-lxR7rA3k.js → p-DDYB8QLF.js} +2 -2
  179. package/dist/components/{p-BEHgXDtQ.js → p-DDtRlhit.js} +2 -2
  180. package/dist/components/{p-CmPHR3tf.js → p-DFPMixk-.js} +2 -2
  181. package/dist/components/{p-CR3Ni_o7.js → p-DG2pfnCV.js} +2 -2
  182. package/dist/components/{p-DuAHxRQq.js → p-DGTXEwvN.js} +2 -2
  183. package/dist/components/{p-DlfphBOA.js → p-DIy2lHMf.js} +2 -2
  184. package/dist/components/{p-Cw6jE38W.js → p-DJ-iHxJr.js} +2 -2
  185. package/dist/components/{p-476P3lCN.js → p-DPlYDxyJ.js} +2 -2
  186. package/dist/components/p-DUZEz-6n.js +2 -0
  187. package/dist/components/{p-Dj4jb_55.js.map → p-DUZEz-6n.js.map} +1 -1
  188. package/dist/components/p-DXfFWsRb.js +2 -0
  189. package/dist/components/{p-5IpBMfCQ.js → p-Dh6ItMz4.js} +2 -2
  190. package/dist/components/{p-BhLDGQhC.js → p-Dk4OvZyQ.js} +2 -2
  191. package/dist/components/{p-BApNLqiy.js → p-DkiBtdrU.js} +2 -2
  192. package/dist/components/{p-DvKyYKhJ.js → p-DnvyyAaF.js} +2 -2
  193. package/dist/components/{p-B7tRoQDk.js → p-Dq8EU803.js} +2 -2
  194. package/dist/components/p-DrVm8NNB.js +2 -0
  195. package/dist/components/p-DsVjTKwJ.js +2 -0
  196. package/dist/components/{p-19XTl7bT.js → p-DukbAK5F.js} +2 -2
  197. package/dist/components/p-DvMoIxws.js +2 -0
  198. package/dist/components/{p-Ud7Qhkgt.js → p-DvZK__s-.js} +2 -2
  199. package/dist/components/p-Dw1KwhCp.js +2 -0
  200. package/dist/components/{p-DNwlLHgl.js.map → p-Dw1KwhCp.js.map} +1 -1
  201. package/dist/components/p-F8qX8ZuL.js +2 -0
  202. package/dist/components/{p-BSCQl0rf.js → p-Iph4bHku.js} +2 -2
  203. package/dist/components/{p-BZjEcsXh.js → p-KzfbLe_L.js} +2 -2
  204. package/dist/components/{p-tYcvbWv5.js → p-M0gzpGV-.js} +2 -2
  205. package/dist/components/{p-BZPBFs15.js → p-MHAaISnU.js} +2 -2
  206. package/dist/components/p-UNw22e3G.js +2 -0
  207. package/dist/components/{p-BmIb4zsg.js → p-UqPFIGlg.js} +2 -2
  208. package/dist/components/p-UyMXVF_R.js +2 -0
  209. package/dist/components/p-VQuZJp8X.js +2 -0
  210. package/dist/components/p-VpeNK8XH.js +2 -0
  211. package/dist/components/p-WiBL-FFH.js +2 -0
  212. package/dist/components/p-e7wZ4-5T.js +2 -0
  213. package/dist/components/p-g3poxXoz.js +2 -0
  214. package/dist/components/p-gq882NJF.js +2 -0
  215. package/dist/components/p-jSrgQO7o.js +2 -0
  216. package/dist/components/{p-B1h-3Bk6.js.map → p-jSrgQO7o.js.map} +1 -1
  217. package/dist/components/{p-CPnXAdGI.js → p-l818BCpp.js} +2 -2
  218. package/dist/components/{p-D_uKY0yY.js → p-mgqCIR9Q.js} +2 -2
  219. package/dist/components/{p-BygBViit.js → p-mmAi00ak.js} +2 -2
  220. package/dist/components/p-mpg1V-Em.js +2 -0
  221. package/dist/components/{p-56MQxIOz.js.map → p-mpg1V-Em.js.map} +1 -1
  222. package/dist/components/{p-B-l1S16Z.js → p-uFR5K4vd.js} +2 -2
  223. package/dist/components/{p-DtlLyiQE.js → p-vB-efyHR.js} +2 -2
  224. package/dist/components/p-w1uPMi4U.js +2 -0
  225. package/dist/components/{p-B3b5oz3b.js → p-ycoVDLCD.js} +2 -2
  226. package/dist/components/{p-B2HeWzUx.js → p-zLhQ1mMe.js} +2 -2
  227. package/dist/components/smoothly-app-demo.js +1 -1
  228. package/dist/components/smoothly-app-demo.js.map +1 -1
  229. package/dist/components/smoothly-app-room.js +1 -1
  230. package/dist/components/smoothly-app.js +1 -1
  231. package/dist/components/smoothly-back-to-top.js +1 -1
  232. package/dist/components/smoothly-burger.js +1 -1
  233. package/dist/components/smoothly-button-confirm.js +1 -1
  234. package/dist/components/smoothly-button-demo-standard.js +1 -1
  235. package/dist/components/smoothly-button-demo.js +1 -1
  236. package/dist/components/smoothly-button.js +1 -1
  237. package/dist/components/smoothly-calendar.js +1 -1
  238. package/dist/components/smoothly-checkbox.js +1 -1
  239. package/dist/components/smoothly-color.js +1 -1
  240. package/dist/components/smoothly-country.js +1 -1
  241. package/dist/components/smoothly-date-text.js +1 -1
  242. package/dist/components/smoothly-dialog-demo.js +1 -1
  243. package/dist/components/smoothly-dialog.js +1 -1
  244. package/dist/components/smoothly-display-demo-json.js +1 -1
  245. package/dist/components/smoothly-display-demo.js +1 -1
  246. package/dist/components/smoothly-display-json-object.js +1 -1
  247. package/dist/components/smoothly-display-json-primitive.js +1 -1
  248. package/dist/components/smoothly-display-json-record-key.js +1 -1
  249. package/dist/components/smoothly-display-json.js +1 -1
  250. package/dist/components/smoothly-display.js +1 -1
  251. package/dist/components/smoothly-form-demo-all.js +1 -1
  252. package/dist/components/smoothly-form-demo-card.js +1 -1
  253. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  254. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  255. package/dist/components/smoothly-form-demo-date.js +1 -1
  256. package/dist/components/smoothly-form-demo-login.js +1 -1
  257. package/dist/components/smoothly-form-demo-pet.js +1 -1
  258. package/dist/components/smoothly-form-demo-prices.js +1 -1
  259. package/dist/components/smoothly-form-demo-schedule.js +1 -1
  260. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  261. package/dist/components/smoothly-form-demo-typed.js +1 -1
  262. package/dist/components/smoothly-form-demo.js +1 -1
  263. package/dist/components/smoothly-form.js +1 -1
  264. package/dist/components/smoothly-icon-demo.js +1 -1
  265. package/dist/components/smoothly-icon.js +1 -1
  266. package/dist/components/smoothly-input-checkbox-demo.js +1 -1
  267. package/dist/components/smoothly-input-checkbox.js +1 -1
  268. package/dist/components/smoothly-input-clear.js +1 -1
  269. package/dist/components/smoothly-input-color-demo.js +1 -1
  270. package/dist/components/smoothly-input-color.js +1 -1
  271. package/dist/components/smoothly-input-date-demo.js +1 -1
  272. package/dist/components/smoothly-input-date-range.js +1 -1
  273. package/dist/components/smoothly-input-date-time.js +1 -1
  274. package/dist/components/smoothly-input-date.js +1 -1
  275. package/dist/components/smoothly-input-demo-radio.js +1 -1
  276. package/dist/components/smoothly-input-demo-standard.js +1 -1
  277. package/dist/components/smoothly-input-demo-user-input.js +1 -1
  278. package/dist/components/smoothly-input-demo.js +1 -1
  279. package/dist/components/smoothly-input-edit.js +1 -1
  280. package/dist/components/smoothly-input-file.js +1 -1
  281. package/dist/components/smoothly-input-month.js +1 -1
  282. package/dist/components/smoothly-input-price-demo.js +1 -1
  283. package/dist/components/smoothly-input-radio-item.js +1 -1
  284. package/dist/components/smoothly-input-radio.js +1 -1
  285. package/dist/components/smoothly-input-range-demo.js +1 -1
  286. package/dist/components/smoothly-input-range.js +1 -1
  287. package/dist/components/smoothly-input-reset.js +1 -1
  288. package/dist/components/smoothly-input-select.js +1 -1
  289. package/dist/components/smoothly-input-submit.js +1 -1
  290. package/dist/components/smoothly-input.js +1 -1
  291. package/dist/components/smoothly-item.js +1 -1
  292. package/dist/components/smoothly-label.js +1 -1
  293. package/dist/components/smoothly-lazy.js +1 -1
  294. package/dist/components/smoothly-load-more.js +1 -1
  295. package/dist/components/smoothly-modal.js +1 -1
  296. package/dist/components/smoothly-notification.js +1 -1
  297. package/dist/components/smoothly-notifier-demo.d.ts +11 -0
  298. package/dist/components/smoothly-notifier-demo.js +2 -0
  299. package/dist/components/smoothly-notifier-demo.js.map +1 -0
  300. package/dist/components/smoothly-notifier.js +1 -1
  301. package/dist/components/smoothly-spinner.js +1 -1
  302. package/dist/components/smoothly-submit.js +1 -1
  303. package/dist/components/smoothly-summary.js +1 -1
  304. package/dist/components/smoothly-tab.js +1 -1
  305. package/dist/components/smoothly-table-body.js +1 -1
  306. package/dist/components/smoothly-table-cell.js +1 -1
  307. package/dist/components/smoothly-table-demo-colspan.js +1 -1
  308. package/dist/components/smoothly-table-demo-filler-row.js +1 -1
  309. package/dist/components/smoothly-table-demo-group.js +1 -1
  310. package/dist/components/smoothly-table-demo-nested-no-cell-inner.js +1 -1
  311. package/dist/components/smoothly-table-demo-nested-no-cell.js +1 -1
  312. package/dist/components/smoothly-table-demo-simple.js +1 -1
  313. package/dist/components/smoothly-table-demo.js +1 -1
  314. package/dist/components/smoothly-table-expandable-cell.js +1 -1
  315. package/dist/components/smoothly-table-expandable-row.js +1 -1
  316. package/dist/components/smoothly-table-filler-row.js +1 -1
  317. package/dist/components/smoothly-table-foot.js +1 -1
  318. package/dist/components/smoothly-table-head.js +1 -1
  319. package/dist/components/smoothly-table-row-group.js +1 -1
  320. package/dist/components/smoothly-table-row.js +1 -1
  321. package/dist/components/smoothly-table.js +1 -1
  322. package/dist/components/smoothly-tabs-demo.js +1 -1
  323. package/dist/components/smoothly-theme-color.js +1 -1
  324. package/dist/components/smoothly-theme-colors.js +1 -1
  325. package/dist/components/smoothly-theme-demo.js +1 -1
  326. package/dist/components/smoothly-theme-guide.js +1 -1
  327. package/dist/components/smoothly-theme-picker.js +1 -1
  328. package/dist/components/smoothly-toggle-switch-demo.js +1 -1
  329. package/dist/components/smoothly-toggle-switch.js +1 -1
  330. package/dist/components/smoothly-trigger-sink.js +1 -1
  331. package/dist/components/smoothly-trigger-source.js +1 -1
  332. package/dist/components/smoothly-trigger.js +1 -1
  333. package/dist/esm/{Notice-C6lWCoIT.js → Notice-Bq3C8g8G.js} +15 -14
  334. package/dist/esm/Notice-Bq3C8g8G.js.map +1 -0
  335. package/dist/esm/index.js +1 -1
  336. package/dist/esm/loader.js +1 -1
  337. package/dist/esm/{smoothly-app_98.entry.js → smoothly-app_99.entry.js} +164 -151
  338. package/dist/esm/smoothly-app_99.entry.js.map +1 -0
  339. package/dist/esm/smoothly-checkbox.entry.js +2 -2
  340. package/dist/esm/smoothly-color.entry.js +1 -1
  341. package/dist/esm/smoothly-country.entry.js +1 -1
  342. package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
  343. package/dist/esm/smoothly-submit.entry.js +1 -1
  344. package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
  345. package/dist/esm/smoothly-trigger-source.entry.js +1 -1
  346. package/dist/esm/smoothly.js +1 -1
  347. package/dist/smoothly/index.esm.js +1 -1
  348. package/dist/smoothly/p-17170ef1.entry.js +2 -0
  349. package/dist/smoothly/p-1a5f9b87.entry.js +2 -0
  350. package/dist/smoothly/p-1a5f9b87.entry.js.map +1 -0
  351. package/dist/smoothly/{p-1786667d.entry.js → p-36966f71.entry.js} +2 -2
  352. package/dist/smoothly/{p-7da124ca.entry.js → p-77ef4a4c.entry.js} +2 -2
  353. package/dist/smoothly/{p-03e85253.entry.js → p-7a9308b9.entry.js} +2 -2
  354. package/dist/smoothly/p-Bq3C8g8G.js +2 -0
  355. package/dist/smoothly/p-Bq3C8g8G.js.map +1 -0
  356. package/dist/smoothly/{p-d684139e.entry.js → p-ac2162c3.entry.js} +2 -2
  357. package/dist/smoothly/{p-acfa35c3.entry.js → p-bd4c289b.entry.js} +2 -2
  358. package/dist/smoothly/{p-05059140.entry.js → p-eb434b94.entry.js} +2 -2
  359. package/dist/smoothly/smoothly.esm.js +1 -1
  360. package/dist/types/components/notifier/demo/index.d.ts +7 -0
  361. package/dist/types/components.d.ts +29 -0
  362. package/dist/types/model/Notice.d.ts +6 -5
  363. package/package.json +1 -1
  364. package/dist/cjs/Notice-Xc7J_4o_.js.map +0 -1
  365. package/dist/cjs/smoothly-app_98.cjs.entry.js.map +0 -1
  366. package/dist/components/p-56MQxIOz.js +0 -2
  367. package/dist/components/p-AP_j6gIy.js +0 -2
  368. package/dist/components/p-AgqVCLBX.js +0 -2
  369. package/dist/components/p-B1h-3Bk6.js +0 -2
  370. package/dist/components/p-B33zAR8E.js +0 -2
  371. package/dist/components/p-B6iaWskB.js +0 -2
  372. package/dist/components/p-BFgOju1b.js +0 -2
  373. package/dist/components/p-BGBbdXaw.js +0 -2
  374. package/dist/components/p-BQKG49PI.js +0 -2
  375. package/dist/components/p-BQwTK156.js +0 -2
  376. package/dist/components/p-BeaRYlDR.js +0 -2
  377. package/dist/components/p-BmpDO3IP.js +0 -2
  378. package/dist/components/p-BulPH2Jo.js +0 -2
  379. package/dist/components/p-BuxDaqmj.js +0 -2
  380. package/dist/components/p-C0oU5Cfy.js +0 -2
  381. package/dist/components/p-C0oU5Cfy.js.map +0 -1
  382. package/dist/components/p-C1gwyfdx.js +0 -2
  383. package/dist/components/p-C3FORjes.js +0 -2
  384. package/dist/components/p-C6lWCoIT.js +0 -2
  385. package/dist/components/p-C6lWCoIT.js.map +0 -1
  386. package/dist/components/p-C8Dz7m3K.js +0 -2
  387. package/dist/components/p-CApTrLt_.js +0 -2
  388. package/dist/components/p-CWqwLjht.js +0 -2
  389. package/dist/components/p-CjLb45eA.js +0 -2
  390. package/dist/components/p-Cud80xdU.js +0 -2
  391. package/dist/components/p-CxgByuap.js +0 -2
  392. package/dist/components/p-DHHuTk1C.js +0 -2
  393. package/dist/components/p-DLekIjaq.js +0 -2
  394. package/dist/components/p-DNwlLHgl.js +0 -2
  395. package/dist/components/p-DP2lfWFG.js +0 -2
  396. package/dist/components/p-Dj4jb_55.js +0 -2
  397. package/dist/components/p-DkhX1qsg.js +0 -2
  398. package/dist/components/p-Dmp9jVbi.js +0 -2
  399. package/dist/components/p-Dn5brtiA.js +0 -2
  400. package/dist/components/p-SAYWxZnn.js +0 -2
  401. package/dist/components/p-X22HVbOR.js +0 -2
  402. package/dist/components/p-diHpl72F.js +0 -2
  403. package/dist/components/p-neYuyhok.js +0 -2
  404. package/dist/components/p-rKh5fDrR.js +0 -2
  405. package/dist/components/p-tXifYvLV.js +0 -2
  406. package/dist/components/p-z-IEAPIC.js +0 -2
  407. package/dist/esm/Notice-C6lWCoIT.js.map +0 -1
  408. package/dist/esm/smoothly-app_98.entry.js.map +0 -1
  409. package/dist/smoothly/p-793c7f9d.entry.js +0 -2
  410. package/dist/smoothly/p-793c7f9d.entry.js.map +0 -1
  411. package/dist/smoothly/p-7d6c72eb.entry.js +0 -2
  412. package/dist/smoothly/p-C6lWCoIT.js +0 -2
  413. package/dist/smoothly/p-C6lWCoIT.js.map +0 -1
  414. /package/dist/components/{p-X22HVbOR.js.map → p-0WCHC4VI.js.map} +0 -0
  415. /package/dist/components/{p-B5fLCjIP.js.map → p-5Z_db2DH.js.map} +0 -0
  416. /package/dist/components/{p-C9W3k6wS.js.map → p-5l1ov6SU.js.map} +0 -0
  417. /package/dist/components/{p-BmpDO3IP.js.map → p-7UXKt7wZ.js.map} +0 -0
  418. /package/dist/components/{p-Dn5brtiA.js.map → p-9Fd6-bL0.js.map} +0 -0
  419. /package/dist/components/{p-D83NzhAZ.js.map → p-B-jhX7aN.js.map} +0 -0
  420. /package/dist/components/{p-SAYWxZnn.js.map → p-B8I-Yh5P.js.map} +0 -0
  421. /package/dist/components/{p-BuxDaqmj.js.map → p-BAMlbqpU.js.map} +0 -0
  422. /package/dist/components/{p-DqGZ9Vzy.js.map → p-BCwizh6U.js.map} +0 -0
  423. /package/dist/components/{p-DuVAEZcg.js.map → p-BHTAR2x1.js.map} +0 -0
  424. /package/dist/components/{p-DLekIjaq.js.map → p-BLIeXp8k.js.map} +0 -0
  425. /package/dist/components/{p-DVb0lxbZ.js.map → p-BOzzNfNj.js.map} +0 -0
  426. /package/dist/components/{p-BpV6GXd7.js.map → p-BTjay9Fy.js.map} +0 -0
  427. /package/dist/components/{p-DHHuTk1C.js.map → p-BUo_O_Bt.js.map} +0 -0
  428. /package/dist/components/{p-C02MtoAQ.js.map → p-BWT1q2tN.js.map} +0 -0
  429. /package/dist/components/{p-kRSq8qa0.js.map → p-BcEDrfmP.js.map} +0 -0
  430. /package/dist/components/{p-BFsrI2_x.js.map → p-BdYr9Wou.js.map} +0 -0
  431. /package/dist/components/{p-B5HCjRvr.js.map → p-Bo1NnbuT.js.map} +0 -0
  432. /package/dist/components/{p-CApTrLt_.js.map → p-Bv6ll-a-.js.map} +0 -0
  433. /package/dist/components/{p-CxgByuap.js.map → p-BvTs7KUn.js.map} +0 -0
  434. /package/dist/components/{p-fnKrPnzp.js.map → p-ByRyVRgY.js.map} +0 -0
  435. /package/dist/components/{p-Bes8H54c.js.map → p-C77C00Ii.js.map} +0 -0
  436. /package/dist/components/{p-BulPH2Jo.js.map → p-C7PxdEtX.js.map} +0 -0
  437. /package/dist/components/{p-B6iaWskB.js.map → p-C7rAw-Sf.js.map} +0 -0
  438. /package/dist/components/{p-CKfiAXG_.js.map → p-CCaI37_s.js.map} +0 -0
  439. /package/dist/components/{p-BJ1QHaKC.js.map → p-CDzU4-Ri.js.map} +0 -0
  440. /package/dist/components/{p-C1OHc_IH.js.map → p-CE-IZkWY.js.map} +0 -0
  441. /package/dist/components/{p-CFgT9iMG.js.map → p-CFwdTUm-.js.map} +0 -0
  442. /package/dist/components/{p-CWqwLjht.js.map → p-CIXMGKGQ.js.map} +0 -0
  443. /package/dist/components/{p-QhNiluOP.js.map → p-CKGlbozb.js.map} +0 -0
  444. /package/dist/components/{p-DxpX6YuH.js.map → p-CLqKhHZ8.js.map} +0 -0
  445. /package/dist/components/{p-DP2lfWFG.js.map → p-CMMaSJvr.js.map} +0 -0
  446. /package/dist/components/{p-C5zlJTUx.js.map → p-CN3iME9d.js.map} +0 -0
  447. /package/dist/components/{p-D6L21sGE.js.map → p-CNEHa0dN.js.map} +0 -0
  448. /package/dist/components/{p-BHcHgI_e.js.map → p-CTvqaqVm.js.map} +0 -0
  449. /package/dist/components/{p-CxsaIxQ8.js.map → p-CY71xgKe.js.map} +0 -0
  450. /package/dist/components/{p-GOrXJdjK.js.map → p-CZIRwPwA.js.map} +0 -0
  451. /package/dist/components/{p-Bpc6uh0M.js.map → p-CmUug44L.js.map} +0 -0
  452. /package/dist/components/{p-DmRiznt_.js.map → p-CmV6S6tx.js.map} +0 -0
  453. /package/dist/components/{p-CoJyQegK.js.map → p-Cu0ProBU.js.map} +0 -0
  454. /package/dist/components/{p-CL7fW_Oh.js.map → p-Cuq_eaHi.js.map} +0 -0
  455. /package/dist/components/{p-C1gwyfdx.js.map → p-CwhGUug6.js.map} +0 -0
  456. /package/dist/components/{p-Z0pkj6lv.js.map → p-D2AakJMz.js.map} +0 -0
  457. /package/dist/components/{p-B33zAR8E.js.map → p-D2dYkSrN.js.map} +0 -0
  458. /package/dist/components/{p-BeaRYlDR.js.map → p-DAwAJIiX.js.map} +0 -0
  459. /package/dist/components/{p-lxR7rA3k.js.map → p-DDYB8QLF.js.map} +0 -0
  460. /package/dist/components/{p-BEHgXDtQ.js.map → p-DDtRlhit.js.map} +0 -0
  461. /package/dist/components/{p-CmPHR3tf.js.map → p-DFPMixk-.js.map} +0 -0
  462. /package/dist/components/{p-CR3Ni_o7.js.map → p-DG2pfnCV.js.map} +0 -0
  463. /package/dist/components/{p-DuAHxRQq.js.map → p-DGTXEwvN.js.map} +0 -0
  464. /package/dist/components/{p-DlfphBOA.js.map → p-DIy2lHMf.js.map} +0 -0
  465. /package/dist/components/{p-Cw6jE38W.js.map → p-DJ-iHxJr.js.map} +0 -0
  466. /package/dist/components/{p-476P3lCN.js.map → p-DPlYDxyJ.js.map} +0 -0
  467. /package/dist/components/{p-Dmp9jVbi.js.map → p-DXfFWsRb.js.map} +0 -0
  468. /package/dist/components/{p-5IpBMfCQ.js.map → p-Dh6ItMz4.js.map} +0 -0
  469. /package/dist/components/{p-BhLDGQhC.js.map → p-Dk4OvZyQ.js.map} +0 -0
  470. /package/dist/components/{p-BApNLqiy.js.map → p-DkiBtdrU.js.map} +0 -0
  471. /package/dist/components/{p-DvKyYKhJ.js.map → p-DnvyyAaF.js.map} +0 -0
  472. /package/dist/components/{p-B7tRoQDk.js.map → p-Dq8EU803.js.map} +0 -0
  473. /package/dist/components/{p-tXifYvLV.js.map → p-DrVm8NNB.js.map} +0 -0
  474. /package/dist/components/{p-CjLb45eA.js.map → p-DsVjTKwJ.js.map} +0 -0
  475. /package/dist/components/{p-19XTl7bT.js.map → p-DukbAK5F.js.map} +0 -0
  476. /package/dist/components/{p-BGBbdXaw.js.map → p-DvMoIxws.js.map} +0 -0
  477. /package/dist/components/{p-Ud7Qhkgt.js.map → p-DvZK__s-.js.map} +0 -0
  478. /package/dist/components/{p-C3FORjes.js.map → p-F8qX8ZuL.js.map} +0 -0
  479. /package/dist/components/{p-BSCQl0rf.js.map → p-Iph4bHku.js.map} +0 -0
  480. /package/dist/components/{p-BZjEcsXh.js.map → p-KzfbLe_L.js.map} +0 -0
  481. /package/dist/components/{p-tYcvbWv5.js.map → p-M0gzpGV-.js.map} +0 -0
  482. /package/dist/components/{p-BZPBFs15.js.map → p-MHAaISnU.js.map} +0 -0
  483. /package/dist/components/{p-rKh5fDrR.js.map → p-UNw22e3G.js.map} +0 -0
  484. /package/dist/components/{p-BmIb4zsg.js.map → p-UqPFIGlg.js.map} +0 -0
  485. /package/dist/components/{p-Cud80xdU.js.map → p-UyMXVF_R.js.map} +0 -0
  486. /package/dist/components/{p-DkhX1qsg.js.map → p-VQuZJp8X.js.map} +0 -0
  487. /package/dist/components/{p-AP_j6gIy.js.map → p-VpeNK8XH.js.map} +0 -0
  488. /package/dist/components/{p-C8Dz7m3K.js.map → p-WiBL-FFH.js.map} +0 -0
  489. /package/dist/components/{p-z-IEAPIC.js.map → p-e7wZ4-5T.js.map} +0 -0
  490. /package/dist/components/{p-diHpl72F.js.map → p-g3poxXoz.js.map} +0 -0
  491. /package/dist/components/{p-BQKG49PI.js.map → p-gq882NJF.js.map} +0 -0
  492. /package/dist/components/{p-CPnXAdGI.js.map → p-l818BCpp.js.map} +0 -0
  493. /package/dist/components/{p-D_uKY0yY.js.map → p-mgqCIR9Q.js.map} +0 -0
  494. /package/dist/components/{p-BygBViit.js.map → p-mmAi00ak.js.map} +0 -0
  495. /package/dist/components/{p-B-l1S16Z.js.map → p-uFR5K4vd.js.map} +0 -0
  496. /package/dist/components/{p-DtlLyiQE.js.map → p-vB-efyHR.js.map} +0 -0
  497. /package/dist/components/{p-BFgOju1b.js.map → p-w1uPMi4U.js.map} +0 -0
  498. /package/dist/components/{p-B3b5oz3b.js.map → p-ycoVDLCD.js.map} +0 -0
  499. /package/dist/components/{p-B2HeWzUx.js.map → p-zLhQ1mMe.js.map} +0 -0
  500. /package/dist/smoothly/{p-7d6c72eb.entry.js.map → p-17170ef1.entry.js.map} +0 -0
  501. /package/dist/smoothly/{p-1786667d.entry.js.map → p-36966f71.entry.js.map} +0 -0
  502. /package/dist/smoothly/{p-7da124ca.entry.js.map → p-77ef4a4c.entry.js.map} +0 -0
  503. /package/dist/smoothly/{p-03e85253.entry.js.map → p-7a9308b9.entry.js.map} +0 -0
  504. /package/dist/smoothly/{p-d684139e.entry.js.map → p-ac2162c3.entry.js.map} +0 -0
  505. /package/dist/smoothly/{p-acfa35c3.entry.js.map → p-bd4c289b.entry.js.map} +0 -0
  506. /package/dist/smoothly/{p-05059140.entry.js.map → p-eb434b94.entry.js.map} +0 -0
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyTableDemoNestedNoCellInner {
3
3
  render() {
4
4
  var _a;
5
- return (h(Host, { key: '9150c28b151e6567c9d4d385068702f600fcb2f1' }, h("smoothly-table", { key: '7261ea2339bc05332c0bb2e8d43a9362bbe13d3a', columns: 4 }, h("smoothly-table-head", { key: 'd800c29461ff8bc75f0ac1265e50640c0138d211' }, h("smoothly-table-row", { key: '56bb549fe6154737b01ad2564df4c58a6e5f8c52' }, h("div", { key: 'e6e3a1c445d93d2c814c7cb6057643124c132de2', class: "smoothly-table-cell" }, "Id"), h("div", { key: 'c92d18120e36c54139713090f821a605ad42e3fc', class: "smoothly-table-cell" }, "Name"), h("div", { key: '2fc4f2987f92840727806f222a300bf463990917', class: "smoothly-table-cell" }, "Age"), h("div", { key: '4c5f4888480ac4afdc2a7ea0ea1223f019ac342f', class: "smoothly-table-cell" }, "Balance"))), h("smoothly-table-body", { key: 'ea1511197b149bc2963a00345c5cde47378c7f26' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (h("smoothly-table-expandable-row", null, h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance))))))));
5
+ return (h(Host, { key: '979ac258e43562eb1d3ec213533ed762b0637958' }, h("smoothly-table", { key: '359ecbb755ebb1119ecc4d60901a52508094fa7f', columns: 4 }, h("smoothly-table-head", { key: '688c8cecdac166cd9ce2865ecbf3002811a2ef5f' }, h("smoothly-table-row", { key: '7f8b10a9205258b5cad319c0cb6a2ae6f0609da9' }, h("div", { key: '8310e2fdaefb1c5d6a686d238bf2c118e9eacbac', class: "smoothly-table-cell" }, "Id"), h("div", { key: 'daaeb0da6571b0dde9d6e80ac35142aa666a1ba5', class: "smoothly-table-cell" }, "Name"), h("div", { key: 'abca17f20bd0491dcf05dc81ba11d801b4933a6c', class: "smoothly-table-cell" }, "Age"), h("div", { key: '346be426720be1a8c9578a50e6dacc2dddc5493a', class: "smoothly-table-cell" }, "Balance"))), h("smoothly-table-body", { key: 'd2d182cae581d3f5bc8abae108a6626b20b9451a' }, (_a = this.data) === null || _a === void 0 ? void 0 : _a.map(entry => (h("smoothly-table-expandable-row", null, h("div", { class: "smoothly-table-cell" }, entry.id), h("div", { class: "smoothly-table-cell" }, entry.name), h("div", { class: "smoothly-table-cell" }, entry.age), h("div", { class: "smoothly-table-cell" }, entry.balance))))))));
6
6
  }
7
7
  static get is() { return "smoothly-table-demo-nested-no-cell-inner"; }
8
8
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyTableDemoSimple {
3
3
  render() {
4
- return (h(Host, { key: 'fa0ee8dabad78b4e11466c08476a7b7bab777bcf' }, h("smoothly-display", { key: 'f1929229c708243f89969fb865281c87cdea3974', type: "text", value: "Simple" }), h("smoothly-table", { key: 'a74ccd3d2757769582a1640cd03f275040258979', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '3740997a15cd0be3f576a5ccd325dedbcf7ecf57' }, h("smoothly-table-row", { key: '173e8a0edf3ca6131dbfd5fd2e23bf5e818de068' }, h("smoothly-table-cell", { key: '6ccc98fe385d936d3fc18a0802aa171c9e4833f0' }, "Breed"), h("smoothly-table-cell", { key: 'f12b6543b4b7be9f4d26610d2a90b900951e7f52' }, "Coat"))), h("smoothly-table-body", { key: '2cc82f1d8659f303f29352fa4cce8961fa698fab' }, cats.map(cat => (h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, cat.breed, h("div", { slot: "detail" }, "Country:", h("br", null), cat.country)), h("smoothly-table-expandable-cell", null, cat.coat, h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), h("smoothly-table-row", { key: '9548adc12d9a485c5e973deeb2fe4abf22119809' }, h("smoothly-table-cell", { key: '502907286ab36ee5358c143d8d5613bb0685fa29' }, "Cell5"), h("smoothly-table-expandable-cell", { key: '4ed0239f7262bfb76e8dbfd94b4b76e992dbf1af' }, "Expandable Cell", h("div", { key: 'f576406602ee34bf67621939ff7fe2c57c4b66be', slot: "detail" }, "Content of the expandable cell"))), h("smoothly-table-row", { key: '54e2ecd8dcb9c666930d9005ba31a3f64e25aabc' }, h("smoothly-table-expandable-cell", { key: '88b51a8cf477ca4de13d0735a491c30fe28870c6' }, "Expandable Cell 1", h("div", { key: 'd0ddd7d5489dc8e9df88b52315d61e97d9c6434d', slot: "detail" }, "Content of the expandable cell 1")), h("smoothly-table-expandable-cell", { key: 'ee707b238f569e36eb9bdbaca1c82fc7a0f830bc' }, "Expandable Cell 2", h("div", { key: 'bbdaab7554b86deee81fea4697afc013909cb218', slot: "detail" }, "Content of the expandable cell 2")))), h("smoothly-table-foot", { key: '936f27ddd1dbc6b3b1f8fa5cbe9887898c1b3688' }, h("smoothly-table-row", { key: '161b992762fa4617785cd6c6c83d957a7d5f976c' }, h("smoothly-table-cell", { key: '158fc3ac159fe7eeac086fdde980b1f39c9d79db' }, "Footer Cell"), h("smoothly-table-cell", { key: '3a6ff2185ab3ff1306655498582ea9bfff4d7099' }, "Footer Cell"))))));
4
+ return (h(Host, { key: '80449d99f9dd0f1b3ccc6fe1ca76f81c383b0b73' }, h("smoothly-display", { key: 'a8a925063304469fd491d875aac3ca41262c2654', type: "text", value: "Simple" }), h("smoothly-table", { key: 'c73c0af22285cf5769b7aae1bc619e681425059c', color: "primary", columns: 2 }, h("smoothly-table-head", { key: '55a6fa56086f9ecf4c5ad6e937c672164e4ec329' }, h("smoothly-table-row", { key: 'c130d923b09c92b269da5f16ea18e3ee895cab52' }, h("smoothly-table-cell", { key: 'b937e3114409fa9e58e16333d00367839bc74d15' }, "Breed"), h("smoothly-table-cell", { key: '9aba71f6c1a20a762e89500ca5efa3a82d7cbd89' }, "Coat"))), h("smoothly-table-body", { key: 'b79c14240246a1d441fc2bfb2cf0857834121312' }, cats.map(cat => (h("smoothly-table-row", null, h("smoothly-table-expandable-cell", null, cat.breed, h("div", { slot: "detail" }, "Country:", h("br", null), cat.country)), h("smoothly-table-expandable-cell", null, cat.coat, h("div", { slot: "detail" }, "Pattern: ", cat.pattern))))), h("smoothly-table-row", { key: 'b3897b89193457cc34ef8a636ee70eb440b09923' }, h("smoothly-table-cell", { key: 'd3ff9b985f616112a698ad7c3d1154ae7ca3b17a' }, "Cell5"), h("smoothly-table-expandable-cell", { key: 'ed7165825d15f3025231a21aead04f6bcd048872' }, "Expandable Cell", h("div", { key: 'b5ffac563fce0a0a5027706cf4f83ec8825ad037', slot: "detail" }, "Content of the expandable cell"))), h("smoothly-table-row", { key: '3a6eb6e10fb590b9036d329307a22393958f6aaa' }, h("smoothly-table-expandable-cell", { key: '43570c5844b23b46572678bd5229d325c26b677f' }, "Expandable Cell 1", h("div", { key: '2c643f6a728b5967d7e42c47d657ce07ef295c78', slot: "detail" }, "Content of the expandable cell 1")), h("smoothly-table-expandable-cell", { key: '1d9f1e32259d590d5f0a7c043c56424f30019e6e' }, "Expandable Cell 2", h("div", { key: 'ea45ab8f26e3a2b7bd4d012b3dec1899836620b6', slot: "detail" }, "Content of the expandable cell 2")))), h("smoothly-table-foot", { key: '99a7c70b238c32203143077e8e1a3c58ee82adf7' }, h("smoothly-table-row", { key: '2abe5c4e633f55dd722f21263ab6647018b7319b' }, h("smoothly-table-cell", { key: '805be40c4d87dd23a8ab71017453b6340adf200e' }, "Footer Cell"), h("smoothly-table-cell", { key: '1137748f294d4199d08de20a8316588df635bfb2' }, "Footer Cell"))))));
5
5
  }
6
6
  static get is() { return "smoothly-table-demo-simple"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -25,7 +25,7 @@ export class SmoothlyTableExpandableCell {
25
25
  }
26
26
  render() {
27
27
  var _a;
28
- return (h(Host, { key: '1c27ff4e5c10ad504e0c8307be3bfb1243afc5d9', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) }, onClick: (e) => this.clickHandler(e) }, h("div", { key: '9df957e7d9f55f6687adbdfc550b3cfa6a8d3dea', class: "content" }, h("slot", { key: '505b6a8964feb91d4d0256b6ea3f27519742ef6c' })), h("div", { key: '9054849f559fc9f02c7ba5c9c95cabf1e741f417', class: "smoothly-table-detail", ref: (el) => (this.detailElement = el) }, h("slot", { key: '0feb5288d454fc6b606ad4585706f40ec3789443', name: "detail" }))));
28
+ return (h(Host, { key: '624fcbc59506d5a4c9c3a63a8c72e5dacc381c88', style: { "--smoothly-table-cell-span": (_a = this.span) === null || _a === void 0 ? void 0 : _a.toString(10) }, onClick: (e) => this.clickHandler(e) }, h("div", { key: '53a96ed671c80e1ecac6e34051c91e9a947b2fe9', class: "content" }, h("slot", { key: '3a3576002c26476a9a64113b36245e1befb1b032' })), h("div", { key: '39a6657696c643342205d451e12f7ce43b9059ad', class: "smoothly-table-detail", ref: (el) => (this.detailElement = el) }, h("slot", { key: 'b9e027e1fe622d4a20fffb508ac66bc1bbd2f06b', name: "detail" }))));
29
29
  }
30
30
  static get is() { return "smoothly-table-expandable-cell"; }
31
31
  static get encapsulation() { return "scoped"; }
@@ -17,7 +17,7 @@ export class SmoothlyTableExpandableRow {
17
17
  this.smoothlyTableExpandableRowChange.emit(this.open);
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '21d040e883e73f9415ee1a3e7055fa5ce9adc57b', onClick: (e) => this.clickHandler(e) }, h("slot", { key: '9c42a350c5e00b6b24f7c746cc801588df69c14f' }), h("div", { key: '0c5c8a4e231018e1f96e09348447c876051540cf', class: "smoothly-table-detail", ref: e => (this.div = e) }, h("slot", { key: '263395e4d57775e72e510071245261a23097175f', name: "detail" }))));
20
+ return (h(Host, { key: '3007de001a37cd97b19055f2300d0c4200714da4', onClick: (e) => this.clickHandler(e) }, h("slot", { key: '8eec771831b3e72481baaa792403fd6f28ce23b2' }), h("div", { key: 'f4a0071effd34729d812fdc02023f55c29c61da2', class: "smoothly-table-detail", ref: e => (this.div = e) }, h("slot", { key: 'e9eae5eaddd3886cb39a8086bba97a177791378d', name: "detail" }))));
21
21
  }
22
22
  static get is() { return "smoothly-table-expandable-row"; }
23
23
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class SmoothlyTableFillerRow {
3
3
  render() {
4
- return (h("smoothly-table-row", { key: '7561aa3596121beb8d1fa3af10d14ed9be08f7f2' }, h("smoothly-table-cell", { key: '04c9c851fb31ec6a246b2bc82cdbc7293478a0e3' }, h("slot", { key: 'f0db97bf64c0979fbca0c6f5ab4296684f743a70' }))));
4
+ return (h("smoothly-table-row", { key: '4925aa29f641ac932dd2686bdfb285dfbba27008' }, h("smoothly-table-cell", { key: '8aebd5713c716392a50afae52b1aed1c091c15f8' }, h("slot", { key: '822bc6ecef95836f099ac8c122a0b6c00999abe2' }))));
5
5
  }
6
6
  static get is() { return "smoothly-table-filler-row"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyTableFoot {
3
3
  render() {
4
- return (h(Host, { key: 'fa6bc933396023c1d84d01460a4ff641c53136a1' }, h("slot", { key: '7aaddf60b15f344866dce0847441bec4dc739ae0' })));
4
+ return (h(Host, { key: '491e31a72bf7cf753be9722c5f9ffd189b75beae' }, h("slot", { key: '717637b20804c096f1daac46183047b2f7570569' })));
5
5
  }
6
6
  static get is() { return "smoothly-table-foot"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -13,7 +13,7 @@ export class SmoothlyTableRowGroup {
13
13
  }
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '8407e47bd79c00425a93bbf78bfaa234417e6730' }, h("div", { key: '80a4d3121142f72cecf08afee5083fc3f00e8772', onClick: () => this.clickHandler() }, h("div", { key: 'ae02eb813ffb3951e41363c41b89e16f8cf93199' }, h("slot", { key: '5020efcd50f6b9349c05c93c90c7b0499ebaa5f6', name: "start" })), h("div", { key: '081546adcccc771440f2f5e681dfc15712579fb3' }, h("slot", { key: 'd05a5dff9ba8473a329e3cb00bedc0732cbed6f9', name: "end" }))), h("div", { key: '26e75848ce1b7f8c889fb7376f5c65c9a1f95ef8' }, h("slot", { key: '0d1687ebc94faafddea6b096c26ce5fdd408ff7f' }))));
16
+ return (h(Host, { key: '76fef86fb057d3a38a48176ae86e9d0acd8cbd3e' }, h("div", { key: 'd4c4ce1a498d4ad36ea115c59513a7127526a654', onClick: () => this.clickHandler() }, h("div", { key: '66b75a4c40238ef265054ee334252f301dc6d136' }, h("slot", { key: 'e4438e7a0a62ae369526bc341d9ca38f0661f719', name: "start" })), h("div", { key: 'e242813ad448fe97141372e0d58f9cee9315b42d' }, h("slot", { key: '32ea0ec41821bca492f088f8e905183a70b97d58', name: "end" }))), h("div", { key: '3dadc2ae7fdde5bd4cbee29da00dd23e544c5d59' }, h("slot", { key: 'd7d82c8713ace989d6eaa9c354fff5bc5f8da797' }))));
17
17
  }
18
18
  static get is() { return "smoothly-table-row-group"; }
19
19
  static get encapsulation() { return "scoped"; }
@@ -38,10 +38,10 @@ export class SmoothlyTableHead {
38
38
  (_a = this.scrollParent) === null || _a === void 0 ? void 0 : _a.removeEventListener("scroll", this.onScroll);
39
39
  }
40
40
  render() {
41
- return (h(Host, { key: 'a892578836b416a7ca7dcecf5436988fcd9c33d1', class: { scrolled: !!this.scrolled }, style: {
41
+ return (h(Host, { key: 'a543c06de129e8ee177a6e98e31e7e6de42edff6', class: { scrolled: !!this.scrolled }, style: {
42
42
  "--top": `calc(${this.depth} * var(--smoothly-table-cell-min-height))`,
43
43
  "--z-index": `${10 - this.depth}`,
44
- } }, h("slot", { key: '6905eb9cae9ac8411ff90d83de4ff7a2a5fd5f12' })));
44
+ } }, h("slot", { key: 'a937f04e674b9eb19534395494741f87e7f2df49' })));
45
45
  }
46
46
  static get is() { return "smoothly-table-head"; }
47
47
  static get encapsulation() { return "scoped"; }
@@ -10,7 +10,7 @@ export class SmoothlyTable {
10
10
  event.stopPropagation();
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'e1e0fc478ebf90003f156eddb44e1de2213cf4e0', style: { "--columns": this.columns.toString() } }, h("slot", { key: '10e080ed0213084a43750f73df364993b30f72b4' })));
13
+ return (h(Host, { key: 'f875112f3c3c917be64b0874106e35a318b3ded5', style: { "--columns": this.columns.toString() } }, h("slot", { key: 'f84673ca127c951381152b7e5b70b3d0d16f584a' })));
14
14
  }
15
15
  static get is() { return "smoothly-table"; }
16
16
  static get encapsulation() { return "scoped"; }
@@ -15,7 +15,7 @@ export class SmoothlyTableRow {
15
15
  }
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: '213964e8d2239419bb9dd5751e00096a922ab084' }, h("slot", { key: '37b92c81dff5ba150141d0d060f7d1eb17c414d2' })));
18
+ return (h(Host, { key: 'a7150d8e85573818c5253287f7a16af0726cd566' }, h("slot", { key: '11a1f41ac92bfdfbbe55a5d56998395ffbe7f1df' })));
19
19
  }
20
20
  static get is() { return "smoothly-table-row"; }
21
21
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyTabsDemo {
3
3
  render() {
4
- return (h(Host, { key: 'e5afcbf69dade2bfdfbccdb5ebef98067703e03e' }, h("div", { key: '720708cebe6311006737245ba3bfd2ce495fddd4' }, h("smoothly-button", { key: '9cc479c1ca7de47f611071bc020640509ec55f13', color: "primary", onClick: () => (this.extraTab1 = !this.extraTab1) }, this.extraTab1 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '5e91c482c3f8d282c48630216797762712fbd088', tabs: "multiple" }, h("smoothly-tab", { key: '30fd2e83a0ad2e4ef4363b2471d5ef3a8f508e79', label: "Single Tab", open: true }, h("strong", { key: '46b7eb4a05793c23e1235026732d599ad7cd8acf' }, "Single Tab content here."), " If only one tab is available setting ", h("code", { key: '7f0e856a9e3b6f922c9a872e303f8ef2af92fe68' }, "tabs"), " to", " ", h("code", { key: 'b8398697b2d6c2757cd0a9a6216b1ca9b1680053' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly."), this.extraTab1 && (h("smoothly-tab", { key: 'd52047652788873a578d9f071e07e7a0ade65ea9', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), h("div", { key: '4ce9bdf4953f65e8296e45fc63ea4eef285010bd' }, h("smoothly-button", { key: '68c65012a5382c124b140c26442bbbf00e09b94c', color: "primary", onClick: () => (this.extraTab2 = !this.extraTab2) }, this.extraTab2 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '7afa233b048274a8966859485ebbe28c76e6b87b' }, h("smoothly-tab", { key: '390d8492e788d1f8748090a43e57b12f0ce88107', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"), h("smoothly-tab", { key: 'f3e74d731d6b3fcd9d188a5653beaec79fc179ee', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), h("smoothly-tab", { key: '6de96abf84eb6fb72065cdcc97691257cd0ced76', label: "test2" }, "this is a test message!"), this.extraTab2 && h("smoothly-tab", { key: '01fba3e8e1ad1ed22b3458bd5240f4f4192f3145', label: "test-extra" }, "this is a test message!"))));
4
+ return (h(Host, { key: '667daa4673c8e0045b0b9bb673fa25d577234bcd' }, h("div", { key: '53bc7758593ff652cd66571751d44f215b96f3e2' }, h("smoothly-button", { key: '9152b373e992825a1e7a5daad5fdb8454f0e72fa', color: "primary", onClick: () => (this.extraTab1 = !this.extraTab1) }, this.extraTab1 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '45e823f55772be61f25d6b48688524dc98d052c9', tabs: "multiple" }, h("smoothly-tab", { key: 'ecb21ddc688927084d739e1f0e0590c83d773577', label: "Single Tab", open: true }, h("strong", { key: '8364c0c2e1afa1d729f6caa372e6864c37720b10' }, "Single Tab content here."), " If only one tab is available setting ", h("code", { key: '654811a94f174badec1416c90842741a49f202bd' }, "tabs"), " to", " ", h("code", { key: '5083b020fd3619e8deaf83044537e92423557e80' }, "\"multiple\""), " will hide the tab navigation and display the single tab's content directly."), this.extraTab1 && (h("smoothly-tab", { key: '3c0d1ccc9c611be2d80ab6495d1c82d4670f21f5', label: "Extra tab" }, "When there are more then one tab, the tab navigation will show."))), h("div", { key: '939a6f264018acc6532aec79aa35c8bec9e15982' }, h("smoothly-button", { key: 'b40612b706c471876d98f92665a76a5cc6d71564', color: "primary", onClick: () => (this.extraTab2 = !this.extraTab2) }, this.extraTab2 ? "Remove" : "Add", " tab")), h("smoothly-tabs", { key: '7950a34808a55e1c2ff8dc75eb73826270295763' }, h("smoothly-tab", { key: '30e6c350d870d9e2b2de98ee1a5e8441e33187e9', label: "Disabled tab", tooltip: "Tooltip for test3", disabled: true }, "this is a test message again!"), h("smoothly-tab", { key: 'db66384d6fc370218db0f63c57bf1334b3496672', label: "test1", tooltip: "Tooltip for test1", open: true }, "Hello world!"), h("smoothly-tab", { key: '863e0927c3c0d5d3513f9bcb4aa36c5df4d479b2', label: "test2" }, "this is a test message!"), this.extraTab2 && h("smoothly-tab", { key: '42f481c9e506f49267b289b8ed89d6c157ee34ce', label: "test-extra" }, "this is a test message!"))));
5
5
  }
6
6
  static get is() { return "smoothly-tabs-demo"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -35,7 +35,7 @@ export class SmoothlyTab {
35
35
  }
36
36
  }
37
37
  render() {
38
- return (h(Host, { key: 'dd61170ab95f4c9ceaca14bea3f9a232960a6d9d' }, h("div", { key: 'cfc1188d6c8c405c46a234ad9ac98eb81fd65ec8', onClick: () => !this.disabled && (this.open = true) }, h("label", { key: '25b8c5b4de124f5e597a524aa086a54f3f65ba56', "data-smoothly-tooltip": this.tooltip }, this.label)), h("div", { key: 'd9931e625c2f70c92b8c6ac0efa66f28ae7f4d62', hidden: !this.open }, h("slot", { key: '5811a6f791ceddbf1ef12a80913357fabbc53e5e' }))));
38
+ return (h(Host, { key: 'ae035e66fbacdf7ce232ec1be2d73b2573bea978' }, h("div", { key: '8b16f293f91934e88ac5d41a837f83506ea50737', onClick: () => !this.disabled && (this.open = true) }, h("label", { key: '3d2d6e324ad8bcfe438e5ed9000271c04840f3ea', "data-smoothly-tooltip": this.tooltip }, this.label)), h("div", { key: '3b041ece9f6bd5931bef85b1b3d8f50ea1200e1e', hidden: !this.open }, h("slot", { key: '157b5ecc4ace4e1318629b12a34d9e7b52d20af4' }))));
39
39
  }
40
40
  static get is() { return "smoothly-tab"; }
41
41
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyThemeColor {
3
3
  render() {
4
- return (h(Host, { key: '2ffa9ed25b646e14b48d6da53a3afd3a9f897468' }, this.color, ["tint", "color", "shade"].map(variant => (h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
4
+ return (h(Host, { key: 'a5e578a10c7a46c0abd3ca72b8247a7ca74cd0c4' }, this.color, ["tint", "color", "shade"].map(variant => (h("smoothly-theme-color-variant", { title: `${this.color} ${variant}`, color: this.color, variant: variant })))));
5
5
  }
6
6
  static get is() { return "smoothly-theme-color"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyThemeDemo {
3
3
  render() {
4
- return (h(Host, { key: '259010889b682573bbfb69b7711dcf03f972b06f' }, h("h2", { key: 'fe4330363bc1b6322e015569a02662077907cca8' }, "Theme"), h("smoothly-theme-picker", { key: '6df264adb5b90050418224f373e927dc33373d3f' }, h("smoothly-item", { key: 'ac79f3b604c3b6bffe8e1cd19e7b24b03960bf14', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), h("smoothly-item", { key: '4ca9bad0897a7a216a56aa0db0004a6e14b6f272', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), h("smoothly-item", { key: '2e71be7455105d37aa039c6347e4aa24dab3c15a', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), h("smoothly-item", { key: '235223f83245bb7cc3455f2102237a8923c5cf22', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), h("smoothly-item", { key: '43153d498cde19b3a97ea93036be8dabb90c86d7', value: "https://test.dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), h("smoothly-item", { key: 'e5e1e6079b7b20cfe8a62c5572f1fa48c6365a90', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), h("smoothly-item", { key: '26b2f21f376a927f788771a32292d3fb13d7380e', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), h("smoothly-item", { key: 'c36d493ae4ba1b8152c3bb8f41b086b08437f600', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), h("smoothly-item", { key: '1dab38f02ffadd2e2160f99f6209f72e294ac874', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), h("div", { key: 'f542097bfc16f9214244cfb7bcc1e2a2e31704e8' }, h("smoothly-theme-colors", { key: 'a363e1e7ba2164cd58bc1fa03d5b9d13c8e81c10' }), h("smoothly-theme-guide", { key: 'bedcda407b6d30d538176e1c32112d455feddcfd' })), h("smoothly-button", { key: 'aeb9185b1efeb83db2e4359b733c8bad207adb2b', type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { key: '761c81b4c4724e61a6d7bb96f44ef3d241b86ee1', type: "link", link: "/redirect" }, "To /redirect"), h("smoothly-button", { key: 'a45adb52d81652f71a997c9f1c81466822e3da4e', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), h("smoothly-button", { key: '0ad5ce583e40ea790411d756bcc0d9ebb118452c', type: "link", link: "redirect/nested" }, "To redirect nested")));
4
+ return (h(Host, { key: '3e505cbc2317099fa9c7a8ce39eb009f2c3024ca' }, h("h2", { key: '5cf6837bdc6d17642828e4328265929512384435' }, "Theme"), h("smoothly-theme-picker", { key: 'be136a3fae2657ac4e26ad1fbd3aaeb25645a8d5' }, h("smoothly-item", { key: 'fa5fc77333513622192574123bf36506e52e3269', selected: true, value: "assets/style/smoothly.css" }, "Smoothly"), h("smoothly-item", { key: '2961c2261191e11a1c592906b80da6145bd404fd', value: "https://app.issuefab.com/assets/style/index.css" }, "Issuefab"), h("smoothly-item", { key: 'dd127647b610afd4840859d7c8c10ff451dc2b56', value: "https://app.proquse.com/assets/style/index.css" }, "Proquse"), h("smoothly-item", { key: '5e8ad2191b20cd08d6d1cb35816dc0454611fd71', value: "https://app.weekmeter.com/assets/style/index.css" }, "Weekmeter"), h("smoothly-item", { key: '24410b3ba716c13887406e39d8269ad0f5623434', value: "https://test.dash.pax2pay.app/p2pdash.css" }, "Pax2Pay Dashboard"), h("smoothly-item", { key: '0aeb4c24f7610227b1ddcd85c4a6768fac6169ab', value: "https://ui.pax2pay.app/assets/style/pax2pay.css" }, "Pax2Pay Portal"), h("smoothly-item", { key: '54ab7e4db39f5011d1575b08a7454edd3c8c0afa', value: "https://theme.payfunc.com/intergiro/index.css" }, "Intergiro Monitor"), h("smoothly-item", { key: '8f80758dacf77044e05035ad32620cd62129e9b5', value: "https://theme.payfunc.com/light/index.css" }, "Payfunc Light"), h("smoothly-item", { key: 'd505ed591e6379bc67fc3958361c4895a57e1ee9', value: "https://theme.payfunc.com/dark/index.css" }, "Payfunc Dark")), h("div", { key: 'b9419547eb4bbda394e480e58b7dff8dc0ebcb1d' }, h("smoothly-theme-colors", { key: '3bf0624cac39fbcb490bc7992dfa530f3043122b' }), h("smoothly-theme-guide", { key: '388b8841be3ddfd0a42a5ecbe098b512210ad26a' })), h("smoothly-button", { key: '3a56e3439212da68889c98cfe64141730732aefa', type: "link", link: "/redirect" }, "To redirect"), h("smoothly-button", { key: '56add7b4f875bb0521b32e34719c703591e21961', type: "link", link: "/redirect" }, "To /redirect"), h("smoothly-button", { key: '6319b234d80bb29370f55225bae9fef3278dee83', type: "link", link: new URL("/redirect", window.location.origin).href }, "To new URL(\"redirect\")"), h("smoothly-button", { key: 'a842d75971928d0a6d0738009da122244d7b95a0', type: "link", link: "redirect/nested" }, "To redirect nested")));
5
5
  }
6
6
  static get is() { return "smoothly-theme-demo"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -2,14 +2,14 @@ import { h } from "@stencil/core";
2
2
  export class SmoothlyThemeColors {
3
3
  render() {
4
4
  return [
5
- h("smoothly-display", { key: '9d9ac39e30705ec8aa0175a54771ab32d88f70cb' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
6
- h("br", { key: '704a1265d7bb3ec33ab58b3f997df5afdf0707a5' }),
7
- h("smoothly-display", { key: '2335c861ac8cb203da8e68ee536565bc2a90174f' }, "Color is used as a normal background or as a background to show that something is selected, for example a selected item in the select menu."),
8
- h("br", { key: '02804573e827624e8eebec30f835679c1ecf2fd3' }),
9
- h("smoothly-display", { key: '75dfb78b730a334347ff3b5d305df980fa8f41aa' }, "Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),
10
- h("br", { key: '988cfafb48a6f100c7eca395e6a4ac5be3e9d329' }),
11
- h("smoothly-display", { key: '2bf7c0cdc1be980a3ff5b0e360a8ffbad6553980' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
12
- h("br", { key: 'c6dbc6a33cf896d8be26a3c8c08641b9de7ade17' }),
5
+ h("smoothly-display", { key: '504bfdf471aa62a566cb5ac96654b9e00d88e292' }, "Tint is used as background to highlight, for example hovering an item in the select menu."),
6
+ h("br", { key: '9eb11da56a43e89a690df6872cb34900f565ff75' }),
7
+ h("smoothly-display", { key: '1955543920f4ea9c106d44a2d795fe2bde0df1f5' }, "Color is used as a normal background or as a background to show that something is selected, for example a selected item in the select menu."),
8
+ h("br", { key: 'cc09a61f2e021b2782fd63734b07c21973e4cd56' }),
9
+ h("smoothly-display", { key: '9e26806ea2d6f725073f674a9f19c8d9b916c223' }, "Shade is used as border and for symbols in buttons. It works as a semi-low contrast against color and tint."),
10
+ h("br", { key: '1e0130f07d2a001fc206190d93c660f117596899' }),
11
+ h("smoothly-display", { key: '4c7cdf267964d06803f03ff567ab0cb881b709b8' }, "One can use the ", "<smoothly-color>", " component to switch between what color set is used.", " "),
12
+ h("br", { key: 'b2abb2ebff2bf2a5f329e5665f9bcf7c11b65bfc' }),
13
13
  ];
14
14
  }
15
15
  static get is() { return "smoothly-theme-guide"; }
@@ -4,12 +4,12 @@ export class SmoothlyThemePicker {
4
4
  this.element = "smoothly-css";
5
5
  }
6
6
  render() {
7
- return (h(Host, { key: '6b397ed31434037a5f53640cd677e4bf9f680671' }, h("smoothly-input-select", { key: 'e89de311276c516112329aa634ec4fa372eeeda7', name: "theme", looks: "border", onSmoothlyInput: e => {
7
+ return (h(Host, { key: '70e3737e113724291c1decf423e6cd39733763a7' }, h("smoothly-input-select", { key: 'eed6362c4c845f26fe45ab80a36261a851146a32', name: "theme", looks: "border", onSmoothlyInput: e => {
8
8
  const element = document.querySelector(`#${this.element}`);
9
9
  if (element instanceof HTMLLinkElement && typeof e.detail.theme == "string") {
10
10
  element.href = e.detail.theme;
11
11
  }
12
- } }, h("label", { key: '185ea02a7eeda366e8290a3b2855e287eb62e91d', slot: "label" }, "Select theme"), h("slot", { key: '3844628b22bfe87cebc35c2ab396accc02cf48dc' }))));
12
+ } }, h("label", { key: '39e4c5e3793f19cc007f3a8b96988922a09109cf', slot: "label" }, "Select theme"), h("slot", { key: 'ea07c5aaee7e847991b27358eef479edb0105f91' }))));
13
13
  }
14
14
  static get is() { return "smoothly-theme-picker"; }
15
15
  static get encapsulation() { return "scoped"; }
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class SmoothlyToggleSwitchDemo {
3
3
  render() {
4
- return (h(Host, { key: '427648c217c445ff9bfcbc15897305cd8cc7a1fb' }, h("h4", { key: 'de6459b36d5a11ca5ef125e7be6fd47b6a7eb938' }, "Toggle switches"), h("div", { key: '544de9cabe5fa1da5a303b3ac4cb21f46d4e773a' }, h("p", { key: '3e464b80ef1bd8fe1ab43b29a1dffd8fb328df7d' }, "Checkmark"), h("span", { key: '3439d69cae6f0d7e5a6df6132050abe5c344b187' }, h("p", { key: 'fc9499fddd3bc798c7c52b614cec7bcb6bf52b65' }, "Tiny"), h("smoothly-toggle-switch", { key: '34bdc859582b47fbbb74341becc0e6087072eba5', disabled: false, size: "tiny" })), h("span", { key: 'a58d98e68a782423c12f4b8df8e80857e03dc139' }, h("p", { key: '9034c32dc86c0efdf5a8ab6fff641c09ad43a1a4' }, "Small"), h("smoothly-toggle-switch", { key: 'db605c265143f36a67891e7ed45351e36621df13', disabled: false, size: "small" })), h("span", { key: 'bebf928abd8c347d8022255de8e889dc85c09c77' }, h("p", { key: 'e860772082f263847681a239953580e86e29c399' }, "Standard"), h("smoothly-toggle-switch", { key: '79f4366d8b1862858afb468219c75ecb7018789c', disabled: false })), h("span", { key: 'f4ad70d60ecc85f2814d3e87dfdc7a236e7fef13' }, h("p", { key: 'fb93088b1c7482580821322ee74aaf6e9d3cf87e' }, "Large"), h("smoothly-toggle-switch", { key: '694db2c0cfc2fc9fa5ab37934891c3df9a7cbcff', disabled: false, size: "large" })), h("p", { key: '367eeb72e8cdd2c16e456e425c152e8a68976e06' }, "Colors checkmark"), h("span", { key: '9aea20656b1cb4223c036b138790c0fa46182bcd' }, h("p", { key: '861904268f1d9f131fc12de30419576dd4e03ca4' }, "Danger"), h("smoothly-toggle-switch", { key: 'f3e7eb843fa01e958c29dcb055bf121fae011348', color: "danger", disabled: false, size: "small" })), h("span", { key: 'ad94d89305156111da3908a7f4b07dd157e0fcd5' }, h("p", { key: '7c23b1a9151d430b267b66f21430da94b8492acd' }, "Primary color"), h("smoothly-toggle-switch", { key: '50fd4aaa9762a92c9b2f2607d61ed30c8350ce1e', color: "primary", disabled: false, size: "small" })), h("span", { key: '8a8fa2fdf036938a89b0cee770199aadae78b6b0' }, h("p", { key: '581928f8b5a88a15ad840b1ed0c43487cbb58465' }, "Secondary color"), h("smoothly-toggle-switch", { key: '833d19dfc2a929777ec935e69314588883bf153e', color: "secondary", disabled: false, size: "small" })), h("p", { key: 'b36bd1756c7911a71c17b48857c89e41efd497ef' }), h("p", { key: '911b6241ac22a6b6987014b86afa7bae155bad70' }, "Colors no checkmark"), h("span", { key: '6136db79afe7390f27a70286b2b7af2c85f360bb' }, h("p", { key: 'bc5fb4108a80a40d247464b44131eba9dd7613cb' }, "Danger"), h("smoothly-toggle-switch", { key: 'ab1d1ac99e8871dbfe8bffe0d71f1ab3b3542f5a', checkmark: false, color: "danger", disabled: false, size: "small" })), h("span", { key: '2876aa64a40c492e295f7e24d5812ea8d790c405' }, h("p", { key: 'fd59cd462154da9215c9aa80b026319baa021582' }, "Primary color"), h("smoothly-toggle-switch", { key: '50cc57021cc9aaddaf0d1053ce1e9c73ed02813d', checkmark: false, color: "primary", disabled: false, size: "small" })), h("span", { key: '1608427985a0e07188d5566c7f3709a347864b9a' }, h("p", { key: '23050dbf5fb9e8cc76120818921a3fbbfef4d21d' }, "Secondary color"), h("smoothly-toggle-switch", { key: '5c8152a8d52d9fd778aea9f84f3b36b49acf9869', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
4
+ return (h(Host, { key: '470464d6d37e40e5f340822febb85cfb8d287267' }, h("h4", { key: 'fdb67153afb84fa7d734bf1f701def5b647f6ce7' }, "Toggle switches"), h("div", { key: 'bc4bf67807f2bba85c1bc42e7c5376eee516995e' }, h("p", { key: '07fda130d51c52347d2ac0680b2044f25f0fa994' }, "Checkmark"), h("span", { key: '1c444c3c73daf0130db447e44cb031f24abd01f8' }, h("p", { key: 'cdd900d00acb877aa76c9ae55c5cb083049abb43' }, "Tiny"), h("smoothly-toggle-switch", { key: 'a37f5af8a756a3b31a04ab5935a4b8a0bfbef243', disabled: false, size: "tiny" })), h("span", { key: '0b0dc28ca00a27fd8b234b89ae71ea293f84df65' }, h("p", { key: '14076ac015952db2b5ebe528085c5ca9c6c383b8' }, "Small"), h("smoothly-toggle-switch", { key: 'ea50543c67201c279a5f4a2807ba8b23d2ebff13', disabled: false, size: "small" })), h("span", { key: 'd45cf2681dfdbf26f6acc66dab5bcf37ab051d0b' }, h("p", { key: 'a3ca4cf338454d0276e4b4caddad85225ce41676' }, "Standard"), h("smoothly-toggle-switch", { key: '99a061952aa9c18b40f40cb6e5bfaaac0ee9e016', disabled: false })), h("span", { key: '451ea07c909458ae1033a3362d07d0f5974dc3e6' }, h("p", { key: 'b60a09266e15ce4ae54ca1c9bf05aceca06aed05' }, "Large"), h("smoothly-toggle-switch", { key: 'eb7f4deceae4b69ec5bcc8fb5a140d76be1fe4cd', disabled: false, size: "large" })), h("p", { key: 'ad75b8c6bddd9f59246a42d78056c51a8231713d' }, "Colors checkmark"), h("span", { key: '633ebf151c353aa20662b9cc0c6fc7ef2d27f659' }, h("p", { key: '0ecb5da92182163deb10667fb1cfbeeeb91a4f95' }, "Danger"), h("smoothly-toggle-switch", { key: '9f8b43c2fbdb0f1d56d564ba936740c56cd19615', color: "danger", disabled: false, size: "small" })), h("span", { key: '29eba3b1395741d2cd8821725ab2720f8c2bfc65' }, h("p", { key: '4de96be58373d873576be6ab6b8244444795cd88' }, "Primary color"), h("smoothly-toggle-switch", { key: '1268bb9b2081aeff88bdb4ed657d7ea05f10fb69', color: "primary", disabled: false, size: "small" })), h("span", { key: '40baf7b8cf63b0b401107ad780246da0192468e5' }, h("p", { key: 'efa762aff61e90aa7a9e5be8290c84e8c8ec570d' }, "Secondary color"), h("smoothly-toggle-switch", { key: 'a648aa6596da331b42a06917bf5e69ce92efc6d6', color: "secondary", disabled: false, size: "small" })), h("p", { key: '8b105d3cfa1bc78a0f818a7661240ebbf6475ca4' }), h("p", { key: '274e9e35dcb487642858cbe7d6f73dd61ab6f865' }, "Colors no checkmark"), h("span", { key: '3e919b9d7b34da5733153911758268b52678c9fb' }, h("p", { key: '500fc3bde72ce1af1a0cda2027a98f5568a029e0' }, "Danger"), h("smoothly-toggle-switch", { key: '2292abd9acac252aa8633ffb1427a6961c6a9928', checkmark: false, color: "danger", disabled: false, size: "small" })), h("span", { key: '47516027ff4083165416e71475e262d1e6f3aed8' }, h("p", { key: 'e345a770b485052b082ed2d88ba3dce0099da701' }, "Primary color"), h("smoothly-toggle-switch", { key: '79896d7ff3091c6af545a3352668c7daaf8491cb', checkmark: false, color: "primary", disabled: false, size: "small" })), h("span", { key: 'afc9c9d03135b7cebfa6866cccb8ab993f1fa5f4' }, h("p", { key: '39b9563fd95bd730a05ecda2e0ddb3db96503d08' }, "Secondary color"), h("smoothly-toggle-switch", { key: '02623b5220ccb3d547dda23d2eae0216ca20fd77', checkmark: false, color: "secondary", disabled: false, size: "small" })))));
5
5
  }
6
6
  static get is() { return "smoothly-toggle-switch-demo"; }
7
7
  static get encapsulation() { return "scoped"; }
@@ -13,7 +13,7 @@ export class SmoothlyToggleSwitch {
13
13
  this.smoothlyToggleSwitchChange.emit(this.selected);
14
14
  }
15
15
  render() {
16
- return (h(Host, { key: '8fe4ea1f46f6c01c92b57819809602946c96c06f' }, h("button", { key: 'd9bfcb5daac769bbd7ef5aaa7839737e4711d76a', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, h("smoothly-icon", { key: '270b37fed4a32ba6ce9226af559a6aaa23aae7de', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
16
+ return (h(Host, { key: '0291d49b2ab1c542e752a3a694b5e15f446be27c' }, h("button", { key: '2be03163917c089e2a81404556996c93befeafa3', type: "button", disabled: this.disabled, onClick: () => this.handleClick() }, h("smoothly-icon", { key: 'a261b04197599fa3c80fedc502a532043e943bbe', color: this.color, name: !this.checkmark ? "ellipse" : this.selected ? "checkmark-circle" : "close-circle", fill: "clear", class: { selected: this.selected } }))));
17
17
  }
18
18
  static get is() { return "smoothly-toggle-switch"; }
19
19
  static get encapsulation() { return "scoped"; }
@@ -16,7 +16,7 @@ export class SmoothlyTrigger {
16
16
  result = this.disabled ? (h("slot", null)) : (h("a", { onClick: e => this.onClick(e) }, h("slot", null)));
17
17
  break;
18
18
  case "button":
19
- result = (h("button", { key: 'a8277d3521475192961463b4867553aacea5f8e3', disabled: this.disabled, name: this.name }, h("slot", { key: '6998482165ff6a73d87eb079235f88741353a1ce' })));
19
+ result = (h("button", { key: '3df0af31da21f4eeb53048b22a0a1fe9f37b608d', disabled: this.disabled, name: this.name }, h("slot", { key: '9566f4ff09d80a9b4c1d9d79acef49609cd3a425' })));
20
20
  break;
21
21
  }
22
22
  return result;
@@ -15,7 +15,7 @@ export class SmoothlyTriggerSink {
15
15
  }
16
16
  }
17
17
  render() {
18
- return h("slot", { key: '46aea3defd44d2a9b5038aacb56f734bc99857f4' });
18
+ return h("slot", { key: '50c905abcea9a6a8ad47134a44b837ca5f328f77' });
19
19
  }
20
20
  static get is() { return "smoothly-trigger-sink"; }
21
21
  static get encapsulation() { return "scoped"; }
@@ -12,7 +12,7 @@ export class SmoothlyTriggerSource {
12
12
  }, window);
13
13
  }
14
14
  render() {
15
- return h("slot", { key: 'f92141efaa40e81b8bc0614af2dd7095fa316a88' });
15
+ return h("slot", { key: 'a802c3a97c5523f4b16160e3c54f05ea27acbd81' });
16
16
  }
17
17
  static get is() { return "smoothly-trigger-source"; }
18
18
  static get encapsulation() { return "scoped"; }
@@ -17,10 +17,11 @@ export class Notice {
17
17
  this.emit();
18
18
  }
19
19
  }
20
- constructor(stateValue, messageValue, task) {
20
+ constructor(stateValue, messageValue, task, lifetime = 15000) {
21
21
  this.stateValue = stateValue;
22
22
  this.messageValue = messageValue;
23
23
  this.task = task;
24
+ this.lifetime = lifetime;
24
25
  this.listeners = [];
25
26
  switch (stateValue) {
26
27
  case "delayed":
@@ -61,7 +62,7 @@ export class Notice {
61
62
  this.state = "failed";
62
63
  }
63
64
  startCloseTimer() {
64
- this.timer = window.setTimeout(() => this.close(), 15000);
65
+ this.timer = window.setTimeout(() => this.close(), this.lifetime);
65
66
  }
66
67
  close() {
67
68
  this.clearTimer();
@@ -73,20 +74,20 @@ export class Notice {
73
74
  this.timer = undefined;
74
75
  }
75
76
  }
76
- static delay(message, task) {
77
- return new Notice("delayed", message, task);
77
+ static delay(message, task, lifetime) {
78
+ return new Notice("delayed", message, task, lifetime);
78
79
  }
79
- static execute(message, task) {
80
- return new Notice("executing", message, task);
80
+ static execute(message, task, lifetime) {
81
+ return new Notice("executing", message, task, lifetime);
81
82
  }
82
- static succeeded(message) {
83
- return new Notice("success", message);
83
+ static succeeded(message, lifetime) {
84
+ return new Notice("success", message, undefined, lifetime);
84
85
  }
85
- static failed(message) {
86
- return new Notice("failed", message);
86
+ static failed(message, lifetime) {
87
+ return new Notice("failed", message, undefined, lifetime);
87
88
  }
88
- static warn(message) {
89
- return new Notice("warning", message);
89
+ static warn(message, lifetime) {
90
+ return new Notice("warning", message, undefined, lifetime);
90
91
  }
91
92
  }
92
93
  //# sourceMappingURL=Notice.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notice.js","sourceRoot":"","sources":["../../src/model/Notice.ts"],"names":[],"mappings":"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","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) {\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(), 15000)\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): Notice {\n\t\treturn new Notice(\"delayed\", message, task)\n\t}\n\tstatic execute(message: string, task: Notice.Task): Notice {\n\t\treturn new Notice(\"executing\", message, task)\n\t}\n\tstatic succeeded(message: string): Notice {\n\t\treturn new Notice(\"success\", message)\n\t}\n\tstatic failed(message: string): Notice {\n\t\treturn new Notice(\"failed\", message)\n\t}\n\tstatic warn(message: string): Notice {\n\t\treturn new Notice(\"warning\", message)\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"]}
1
+ {"version":3,"file":"Notice.js","sourceRoot":"","sources":["../../src/model/Notice.ts"],"names":[],"mappings":"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","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"]}
@@ -1,2 +1,2 @@
1
- export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-BsZrGTcp.js";import{L as e,C as f,D as t,F as n,I as i,M as o,S as d,T as l}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import{N as u}from"./p-C6lWCoIT.js";import{r as c}from"./p-D0tCcwtl.js";import{S as m}from"./p-DoFURPl2.js";class p{constructor(...f){this.listenable=new e;this.client=f.length==1?f[0]:undefined}}var y;(function(e){function f(e){const f=typeof e=="string"&&e.match(/[0-9a-fA-F]/g)||undefined;return typeof e=="string"&&e.length>3&&e[0]=="#"&&((f===null||f===void 0?void 0:f.length)==3||(f===null||f===void 0?void 0:f.length)==6)}e.is=f})(y||(y={}));var h;(function(e){function f(e){const f=typeof e=="string"&&e.length>11?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>11&&e.substr(0,4)=="hsl("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every(((e,f)=>{var r,t;let a=false;if(f==0){a=!Number.isNaN(e)&&((r=e.match(/[0-9]/g))===null||r===void 0?void 0:r.length)==e.length&&Number(e)>=0&&Number(e)<=360}else{const f=e.substr(0,e.length-1);a=e[e.length-1]=="%"&&!Number.isNaN(f)&&((t=f.match(/[0-9]/g))===null||t===void 0?void 0:t.length)==f.length&&Number(f)>=0&&Number(f)<=100}return a}))}e.is=f})(h||(h={}));const v={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var k;(function(e){e.types=()=>Object.keys(v);function f(f){return typeof f=="string"&&e.types().includes(f.toLowerCase())}e.is=f})(k||(k={}));var w;(function(e){function f(e){const f=typeof e=="string"&&e.length>9?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>9&&e.substr(0,4)=="rgb("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f})(w||(w={}));var j;(function(e){function f(e){const f=typeof e=="string"?e.split(","):[];return f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f;function r(f){let r;const i=typeof f=="string"?f.replace(/ /g,"").toLowerCase():undefined;if(!i){r=undefined}else if(e.is(i)){r=i}else if(y.is(i)){r=t(i)}else if(w.is(i)){r=a(i)}else if(k.is(i)){r=t(v[i])}else if(h.is(i)){r=n(i)}return r}e.from=r;function t(e){let f="0,0,0";if(e.length==7){f=`${parseInt(e.substr(1,2),16)},${parseInt(e.substr(3,2),16)},${parseInt(e.substr(5,2),16)}`}else if(e.length==4){f=t(`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`)}return f}e.fromHex=t;function a(e){return e.substring(4,e.length-1)}e.fromRgb=a;function n(e){let f="";let r,t,a;let n,o,d;const l=e.substring(4,e.length-1).split(",").map(((e,f)=>Number(f==0?e:e.substr(0,e.length-1))));if(l.length==3){r=l[0]/360;t=l[1]/100;a=l[2]/100;if(t==0){n=o=d=a}else{const e=a<.5?a*(1+t):a+t-a*t;const f=2*a-e;n=i(f,e,r+1/3);o=i(f,e,r);d=i(f,e,r-1/3)}f=`${Math.round(255*n)},${Math.round(255*o)},${Math.round(255*d)}`}return f}e.fromHsl=n;function i(e,f,r){let t=e;if(r<0){r+=1}if(r>1){r-=1}if(r<1/6){t=e+(f-e)*6*r}else if(r<1/2){t=f}else if(r<2/3){t=e+(f-e)*(2/3-r)*6}return t}})(j||(j={}));var N;(function(e){function f(e){return typeof e=="string"&&(j.is(e)||y.is(e)||h.is(e)||k.is(e)||w.is(e))}e.is=f;function r(e){return f(e)?e:undefined}e.from=r;e.Names=v;e.Name=k;e.CommaRgb=j;e.Rgb=w;e.Hex=y;e.Hsl=h})(N||(N={}));function $(e,f){return e.reduce(((e,r)=>typeof f=="object"&&f!=null&&typeof f[r]=="string"?Object.assign(Object.assign({},e),{[r]:f[r]}):e),{})}var q;(function(e){e.types=e;function f(e){let f={};if(typeof e=="object"&&e){f={text:$(["background","color"],e.text),border:$(["background","color","style","radius","width"],e.border),gap:typeof e.gap=="string"?e.gap:undefined,dangerColor:typeof e.dangerColor=="string"?e.dangerColor:typeof e.danger_color=="string"?e.danger_color:undefined,fontFamily:typeof e.fontFamily=="string"?e.fontFamily:typeof e.font_family=="string"?e.font_family:undefined,background:typeof e.background=="string"?e.background:undefined};Object.keys(f).forEach((e=>{var r;if(f[e]==undefined||typeof f[e]=="object"&&f[e]&&Object.keys((r=f[e])!==null&&r!==void 0?r:{}).length==0){delete f[e]}}))}return f}e.from=f;e.Color=N})(q||(q={}));var C=Object.freeze({__proto__:null,get Color(){return f},get Cosmetic(){return q},get Data(){return t},get Fill(){return n},get Icon(){return i},Listenable:e,get Message(){return o},Notice:u,get Scrollable(){return m},StateBase:p,get Submit(){return d},get Trigger(){return l},redirect:c});export{C as smoothly};
1
+ export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-BsZrGTcp.js";import{L as e,C as f,D as t,F as n,I as i,M as o,S as d,T as l}from"./p-Br0kWrBT.js";import"./p-BVKhAhsB.js";import{N as u}from"./p-Bq3C8g8G.js";import{r as c}from"./p-D0tCcwtl.js";import{S as m}from"./p-DoFURPl2.js";class p{constructor(...f){this.listenable=new e;this.client=f.length==1?f[0]:undefined}}var y;(function(e){function f(e){const f=typeof e=="string"&&e.match(/[0-9a-fA-F]/g)||undefined;return typeof e=="string"&&e.length>3&&e[0]=="#"&&((f===null||f===void 0?void 0:f.length)==3||(f===null||f===void 0?void 0:f.length)==6)}e.is=f})(y||(y={}));var h;(function(e){function f(e){const f=typeof e=="string"&&e.length>11?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>11&&e.substr(0,4)=="hsl("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every(((e,f)=>{var r,t;let a=false;if(f==0){a=!Number.isNaN(e)&&((r=e.match(/[0-9]/g))===null||r===void 0?void 0:r.length)==e.length&&Number(e)>=0&&Number(e)<=360}else{const f=e.substr(0,e.length-1);a=e[e.length-1]=="%"&&!Number.isNaN(f)&&((t=f.match(/[0-9]/g))===null||t===void 0?void 0:t.length)==f.length&&Number(f)>=0&&Number(f)<=100}return a}))}e.is=f})(h||(h={}));const v={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var k;(function(e){e.types=()=>Object.keys(v);function f(f){return typeof f=="string"&&e.types().includes(f.toLowerCase())}e.is=f})(k||(k={}));var w;(function(e){function f(e){const f=typeof e=="string"&&e.length>9?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>9&&e.substr(0,4)=="rgb("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f})(w||(w={}));var j;(function(e){function f(e){const f=typeof e=="string"?e.split(","):[];return f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f;function r(f){let r;const i=typeof f=="string"?f.replace(/ /g,"").toLowerCase():undefined;if(!i){r=undefined}else if(e.is(i)){r=i}else if(y.is(i)){r=t(i)}else if(w.is(i)){r=a(i)}else if(k.is(i)){r=t(v[i])}else if(h.is(i)){r=n(i)}return r}e.from=r;function t(e){let f="0,0,0";if(e.length==7){f=`${parseInt(e.substr(1,2),16)},${parseInt(e.substr(3,2),16)},${parseInt(e.substr(5,2),16)}`}else if(e.length==4){f=t(`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`)}return f}e.fromHex=t;function a(e){return e.substring(4,e.length-1)}e.fromRgb=a;function n(e){let f="";let r,t,a;let n,o,d;const l=e.substring(4,e.length-1).split(",").map(((e,f)=>Number(f==0?e:e.substr(0,e.length-1))));if(l.length==3){r=l[0]/360;t=l[1]/100;a=l[2]/100;if(t==0){n=o=d=a}else{const e=a<.5?a*(1+t):a+t-a*t;const f=2*a-e;n=i(f,e,r+1/3);o=i(f,e,r);d=i(f,e,r-1/3)}f=`${Math.round(255*n)},${Math.round(255*o)},${Math.round(255*d)}`}return f}e.fromHsl=n;function i(e,f,r){let t=e;if(r<0){r+=1}if(r>1){r-=1}if(r<1/6){t=e+(f-e)*6*r}else if(r<1/2){t=f}else if(r<2/3){t=e+(f-e)*(2/3-r)*6}return t}})(j||(j={}));var N;(function(e){function f(e){return typeof e=="string"&&(j.is(e)||y.is(e)||h.is(e)||k.is(e)||w.is(e))}e.is=f;function r(e){return f(e)?e:undefined}e.from=r;e.Names=v;e.Name=k;e.CommaRgb=j;e.Rgb=w;e.Hex=y;e.Hsl=h})(N||(N={}));function $(e,f){return e.reduce(((e,r)=>typeof f=="object"&&f!=null&&typeof f[r]=="string"?Object.assign(Object.assign({},e),{[r]:f[r]}):e),{})}var q;(function(e){e.types=e;function f(e){let f={};if(typeof e=="object"&&e){f={text:$(["background","color"],e.text),border:$(["background","color","style","radius","width"],e.border),gap:typeof e.gap=="string"?e.gap:undefined,dangerColor:typeof e.dangerColor=="string"?e.dangerColor:typeof e.danger_color=="string"?e.danger_color:undefined,fontFamily:typeof e.fontFamily=="string"?e.fontFamily:typeof e.font_family=="string"?e.font_family:undefined,background:typeof e.background=="string"?e.background:undefined};Object.keys(f).forEach((e=>{var r;if(f[e]==undefined||typeof f[e]=="object"&&f[e]&&Object.keys((r=f[e])!==null&&r!==void 0?r:{}).length==0){delete f[e]}}))}return f}e.from=f;e.Color=N})(q||(q={}));var B=Object.freeze({__proto__:null,get Color(){return f},get Cosmetic(){return q},get Data(){return t},get Fill(){return n},get Icon(){return i},Listenable:e,get Message(){return o},Notice:u,get Scrollable(){return m},StateBase:p,get Submit(){return d},get Trigger(){return l},redirect:c});export{B as smoothly};
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ import{p as e,H as t,c as a,h as o,d as s,t as c}from"./p-BsZrGTcp.js";import{i as m}from"./p-BVKhAhsB.js";import{d}from"./p-zLhQ1mMe.js";import{d as l}from"./p-mmAi00ak.js";import{d as i}from"./p-MHAaISnU.js";import{d as f}from"./p-CmV6S6tx.js";import{d as b}from"./p-DnvyyAaF.js";import{d as n}from"./p-CN3iME9d.js";import{d as y}from"./p-DG2pfnCV.js";import{d as r}from"./p-uFR5K4vd.js";import{d as u}from"./p-DvZK__s-.js";import{d as h}from"./p-F8qX8ZuL.js";import{d as p}from"./p-DPlYDxyJ.js";import{d as k}from"./p-DDYB8QLF.js";import{d as v}from"./p-BHTAR2x1.js";import{d as g}from"./p-B-jhX7aN.js";import{d as j}from"./p-Dk4OvZyQ.js";import{d as E}from"./p-CDzU4-Ri.js";import{d as x}from"./p-CIXMGKGQ.js";import{d as D}from"./p-DJ-iHxJr.js";import{d as w}from"./p-gq882NJF.js";import{d as S}from"./p-5l1ov6SU.js";import{d as C}from"./p-DkiBtdrU.js";import{d as L}from"./p-DGTXEwvN.js";import{d as z}from"./p-9Fd6-bL0.js";import{d as I}from"./p-Dh6ItMz4.js";import{d as M}from"./p-UqPFIGlg.js";import{d as A}from"./p-DIy2lHMf.js";import{d as B}from"./p-CMMaSJvr.js";import{d as F}from"./p-Bo1NnbuT.js";import{d as N}from"./p-BQOdxeHU.js";import{d as U}from"./p-Dq8EU803.js";import{d as H}from"./p-Cppqe_PV.js";import{d as J}from"./p-CLqKhHZ8.js";import{d as R}from"./p-CZIRwPwA.js";import{d as Q}from"./p-ycoVDLCD.js";import{d as Z}from"./p-ByRyVRgY.js";import{d as q}from"./p-CmUug44L.js";import{d as G}from"./p-BcEDrfmP.js";import{d as P}from"./p-2Y5tLcQ1.js";import{d as T}from"./p-BCwizh6U.js";const V=()=>`.sc-smoothly-input-demo-h{display:flex;flex-direction:column;margin-top:2em;margin-bottom:10rem}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo{display:flex}.sc-smoothly-input-demo-h .select-div-row.sc-smoothly-input-demo smoothly-input.sc-smoothly-input-demo{flex:1}smoothly-input-demo-standard.sc-smoothly-input-demo{margin-bottom:2rem}div.inputs.sc-smoothly-input-demo{max-width:min(calc(100% - 2rem), 56rem);margin:auto}div.inputs.sc-smoothly-input-demo>h2.sc-smoothly-input-demo:not(:first-child){padding-top:3em;margin-top:3em;border-top:1px solid black}.checkbox-group.sc-smoothly-input-demo{display:flex;gap:1.5em;align-items:center;background-color:rgb(var(--smoothly-input-background))}.select-div.sc-smoothly-input-demo{display:flex;gap:1em;flex-wrap:wrap}.select-div.sc-smoothly-input-demo>*.sc-smoothly-input-demo{flex-grow:1;min-width:min(100%, var(--smoothly-form-input-min-width, 18rem));flex-basis:40%}`;const K=e(class e extends t{constructor(e){super();if(e!==false){this.__registerHost()}this.smoothlyUrlUpdate=a(this,"smoothlyUrlUpdate");this.duration={hours:8};this.alphanumeric="!@##";this.numbers=[1,2,3,4,5,6,7,8,9]}render(){return o(s,{key:"ef33e129690f3cd0a771a1b12dcb8f9c79fa566e"},o("smoothly-input-demo-standard",{key:"5e12871414915755af5fb0e896b2ae9cbaeec449"}),o("smoothly-input-date-demo",{key:"cd9a7179d6d78b58c64a37329d170dafa3c4d4ee"}),o("smoothly-input-demo-user-input",{key:"1dc3897e7c1bb3de9b45084c880745abfadb568c"}),o("smoothly-input-demo-radio",{key:"3a6b7c1417ea8a91a62d4c911562175ba623c1e5"}),o("div",{key:"d218e51f2785f7caed4318ea33aaab6dca63d05e",class:"inputs"},o("h2",{key:"53ac6e802dd3e3581ad3dc2feb629537dbeaf9b6"},"Calendar"),o("smoothly-input-date",{key:"25127e4d56c34404d0dc25d63b7cc96c5e8c3645",name:"some-date"},"Calendar"),o("smoothly-input-date-time",{key:"e3025c6634241fa1347c7b2c93a918288a2371d6",name:"someDateTime",value:m.DateTime.now()},"DateTime"),o("h2",{key:"6db99859de7c13e9d6d40aa5c7cbdc25cddffd14"},"Date Range"),o("smoothly-input-date-range",{key:"c56da60bdb19ea3c0305d1881180845f848cb625",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-01",max:"2025-01-31"}),o("smoothly-input-date-range",{key:"556c9c8b45219b64f966252c9ea23b8a02bf78a2",name:"testing",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2024-12-30"},o("smoothly-input-reset",{key:"d6e08652074753d81334f6f26872f16a4ad27120",slot:"end",size:"icon"})),o("smoothly-input-date-range",{key:"65bffbaab83f117517cd37087c028d1ed2b4936c",looks:"grid",start:m.Date.now(),end:m.Date.nextMonth(m.Date.now()),min:"2021-10-10",max:"2025-12-30",showLabel:false,style:{"--smoothly-input-border-radius":"0.5rem"}},o("smoothly-input-clear",{key:"e61e9737c489a68b612e38490fa4b2f95de72a6a",slot:"end",size:"icon"})),o("h2",{key:"d7f0223de99a710561a28daf86ceb69d7aef1da1"},"Date"),o("smoothly-input-date",{key:"2cf84ece02042c92ac3754379268a94ef536c91a"},"Date"),o("smoothly-input-date",{key:"b1b465843e3562c30e589af11004a09bf2b6157a",showLabel:false,value:"2021-10-28",max:"2021-12-30",min:"2021-10-10"},"Date"),o("smoothly-input-date",{key:"5810635fbfd26dd8735f8abd2c2e58f30affd61c",value:"2021-10-28"},"Date",o("smoothly-input-reset",{key:"d63d51b77f52243dfa9f13fe2754e53919d21c06",slot:"end",size:"icon"})),o("smoothly-input-date",{key:"7815c1afc2b1d38d3263630d8ef8d5a4cfa0a096",value:"2021-10-28"},"Date",o("smoothly-input-clear",{key:"cf8b725f54894024063bb6735e17ed692195c994",slot:"end",size:"icon"})),o("h2",{key:"db2776f12559673b653e4671f92c578471e65a7a"},"Select"),o("div",{key:"64ef6bd07f27d07cf6ea6dd23ae434503fdcc740",class:"select-div"},o("smoothly-input-select",{key:"0a0f832b86bdb2fc7aeb964d52f320a6d76cf40d",name:"select-dessert",looks:"border"},o("label",{key:"d95e443f3df2398ca64bd6bcd64d6cdd629d0a8d",slot:"label"},"Select with clear button"),o("smoothly-item",{key:"c081a219a330aac151711e87423b474037b79628",value:"1"},"Ice cream"),o("smoothly-item",{key:"c168ee280c6dea09c54d86ae72fe2c79e134d448",value:"2"},"Sponge cake"),o("smoothly-item",{key:"cfea0b38d63995c108f0277ca248647725d22a60",value:"3",disabled:true},"Disabled Item"),o("smoothly-item",{key:"b93622e1a391c980d0c0371a0918dfca7ae7b456",value:"4"},"Cookie"),o("smoothly-item",{key:"e8733a8a51b09cea7ee31e4017f58152b58f5827",value:"5"},"Croissant"),o("smoothly-item",{key:"90731e217754cb6c096cc190fb8b0c56c2bac593",value:"6"},"Chocolate fondue"),o("smoothly-input-clear",{key:"0129f30c20777f9a37fc19ee8051e377507c9368",size:"icon",slot:"end"})),o("smoothly-input-select",{key:"94d3b7ca28b5fe5f9c9a3c587d995c65c8be45ad",multiple:true,name:"select-dessert-multiple",looks:"border"},o("label",{key:"2d935f7418f8db300bf20412c4dd15934da5c0d3",slot:"label"},"Select multiple with reset button"),o("smoothly-item",{key:"3c2579bffcde279703cfc041b315560a6dcc098e",value:"ice cream"},"Ice cream"),o("smoothly-item",{key:"a49fcce300b665b0de07fe67b5ea798e2fa94626",value:"sponge cake"},"Sponge cake"),o("smoothly-item",{key:"4678f38edab9f88113c056ff820df2bd07e2fe33",selected:true,value:"cookie"},"Cookie"),o("smoothly-item",{key:"fdcf2ecd485fe75a35ca96ed89352a343819b770",value:"croissant"},"Croissant"),o("smoothly-item",{key:"f5cafb0e4b020489c72db9cd2362936449826dbd",selected:true,value:"chocolate fondue"},"Chocolate fondue"),o("smoothly-input-reset",{key:"8c49833f66cee2e2ebac320c67ee5452a77636f7",size:"icon",slot:"end"})),o("smoothly-input-select",{key:"146806189c90cecb94e0bc9a01c713695689a2bc",name:"spirit-animals",looks:"border",mutable:true},o("label",{key:"56bc9c8ef474ce79b1af47086b65847877d6a03c",slot:"label"},"Select or add new options"),o("smoothly-item",{key:"b13d4158fadfb725ff6c1ca236f4724ba95936df",value:"manatee"},"Manatee"),o("smoothly-item",{key:"85d95f128731e5fd3ec1c1f3df672d98ff3a199a",selected:true,value:"cthulu"},"Cthulu")),o("smoothly-input-select",{key:"3bffa0bfbce0ab015208bdff0d648bf8f6d497bf",name:"select-icon",clearable:false,showSelected:false},o("smoothly-item",{key:"05d80d05561b9a716ea94d8e3fb3e3d5afc66c4c",value:"folder",selected:true},o("smoothly-icon",{key:"f86490ab381f59ed6fcdacb1d7441697fe645fd8",size:"small",name:"folder-outline"})),o("smoothly-item",{key:"ec29517ce6ee5b7353bc20fc3c4365751815bfc6",value:"camera"},o("smoothly-icon",{key:"75c27c69a18c0c37a6d989a2268ed9fa7ffb6daf",size:"small",name:"camera-outline"}))),o("smoothly-input-select",{key:"7ff7efc5b6f7a47da43fbd859a0c20cfb013c1c3",ordered:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},o("label",{key:"3eb848081a594d164a7144ac8fe91719c11dd950",slot:"label"},"Alphabet ordered select"),Array.from({length:26}).map(((e,t)=>String.fromCharCode(t+65))).map((e=>o("smoothly-item",{value:e,selected:e=="H"},e)))),o("smoothly-input-select",{key:"36db6fdd61728c21488000fb0e588858726de95d",multiple:true,menuHeight:"7.5items",placeholder:"Select...",name:"select-month"},o("label",{key:"b3a93c5d2b02f5c5ca50e2041db860082432ba0f",slot:"label"},"Month multiple select"),o("smoothly-item",{key:"5b3f4d4dda6ca6bac04d3d58e14b1bc6808a515d",value:"1"},"January"),o("smoothly-item",{key:"2137f933a08f0bff7661ef7eedb566ef0613b2c0",value:"2"},"February"),o("smoothly-item",{key:"2b60b2706c7a4e560dc61969fe8bff8bae2ee3b4",value:"3"},"March"),o("smoothly-item",{key:"10f7a805783997893080eba61a3a293901273b7e",value:"4"},"April"),o("smoothly-item",{key:"fbb81488473ab771ba92650e7f6c0d1e385a5486",value:"5"},"May"),o("smoothly-item",{key:"bb9a696e13859137773158b219807224c9e456d5",value:"6"},"June"),o("smoothly-item",{key:"cb9cb347df1ab4551d11a6104fea41e53646f7fe",value:"7"},"July"),o("smoothly-item",{key:"f636d5874c7b810b59d9aea7454ee060093946ff",value:"8"},"August"),o("smoothly-item",{key:"d7882ebaf8e4b13216201b04201f19d0152c7997",value:"9"},"September"),o("smoothly-item",{key:"30815b5d8ae477d52a6896083f58d5e913fc6ec9",value:"10"},"October"),o("smoothly-item",{key:"70658c05936d61c7e4faf8ab265d5e7ae448774a",value:"11"},"November"),o("smoothly-item",{key:"c737ec283e42443c75334f925d7fab3df2527a4f",value:"12"},"December")),o("div",{key:"a149cf4a6ebc5828e095c10e9d6d57abbc43c359",class:"select-div-row"},o("smoothly-input-select",{key:"0b32d71db9eb24afd885c46ea5f414be1e55133c",name:"select-icon",clearable:false,showSelected:false},o("smoothly-item",{key:"1c4fb8eeb730b8cfe6e4818ca16c565014a159a7",value:"folder",selected:true},o("smoothly-icon",{key:"082d0bba96283c4bceb9f92c3e772bd3fd8b7011",size:"small",name:"folder-outline"})),o("smoothly-item",{key:"ea4df02bbe52f26a1888b2f74ed587beb09890fe",value:"camera"},o("smoothly-icon",{key:"166ec449cff9acf04d866ac4786ba9f30b2a3b42",size:"small",name:"camera-outline"})),o("smoothly-item",{key:"65aa76f7da4c5677b031fe45a5a86fca0a3d29ee",value:"boat"},o("smoothly-icon",{key:"32d5688b2e74006e65131f11ee06890d8d52b5dd",size:"small",name:"boat-outline"}))),o("smoothly-input-select",{key:"fccc2a0bad4e53a6fee2a5ceca85a59b91d70090",name:"select-number",clearable:false},this.numbers.map((e=>o("smoothly-item",{value:"number",selected:e===3},e)))),o("smoothly-input",{key:"f8a91a3e5d64b5058bb91a50dde94d3eb128f7b5",name:"name",value:"Sten Qvist"},"Name"))),o("h2",{key:"012a2aeb69da69b0ab9cff4b761500892f2c9aba"},"Duration"),o("smoothly-input",{key:"55df5644b13c507f13d0efec711da4c3ae59dc95",name:"duration",type:"duration",placeholder:"hh:mm",value:this.duration,onSmoothlyInput:e=>this.duration=e.detail.duration},"Duration"),o("smoothly-input",{key:"4aa5fe278bfd9e37e3a625b67304cadb164bdd78",name:"duration",type:"duration",value:this.duration,placeholder:"-hh:mm",onSmoothlyInput:e=>{const t=e.detail.duration;this.duration=t}},"Duration"),o("h2",{key:"bb855c65c4b59aef87c9d4d18ac6db6b6d21bdec"},"Integer with Min/Max"),o("smoothly-input",{key:"1a5e0092eb5330cc384aafce47e1438abca4a590",name:"days",type:"integer",min:0,max:365},"Days per year (0-365)"),o("smoothly-input",{key:"359faaba1e62172b0224c8d8ec58e49cb5a81f09",name:"hour",type:"integer",min:0,max:23},"Hours per day (0-23)"),o("smoothly-input",{key:"6ce0655a6b0134ce4175d65f80792287e48eefbe",name:"minute",type:"integer",min:0,max:59},"Minutes per hour (0-59)"),o("smoothly-input",{key:"3ce841cda01cbb2c4f346009648faa281831a4b2",name:"minute",type:"integer",min:18,max:120},"Age (18-120)"),o("h2",{key:"e63ebb0b5996cbf653c6b6c969df48d635e28c30"},"Invalid text with warning icon and tooltip"),o("smoothly-input",{key:"62873bd1d9eadab148e0502f44fdbc779aa5a789",copyable:true,name:"alphanumeric",invalid:!/^[a-zA-Z0-9]+$/.test(this.alphanumeric),errorMessage:"Only alphanumeric allowed",value:this.alphanumeric,onSmoothlyInput:e=>this.alphanumeric=e.detail.alphanumeric},"Alphanumeric"),o("h2",{key:"04dffd24a3af57da6ae369a8fbe9372893e6e380"},"Identifiers"),o("smoothly-input",{key:"3d18b596880f98b84a07742cb9778d0095719294",type:"identifier-code"},"Code"),o("smoothly-input",{key:"190651f4f4263eaacd8b80f90f4074fef28da183",type:"identifier-attribute"},"Attribute"),o("smoothly-input",{key:"3a8802a9a173f518f975717cbe23cd1150316fc5",type:"identifier-snake"},"Snake"),o("smoothly-input",{key:"00ec5419cd67a7217d23f95513f451f2c8e98f8e",type:"identifier-pascal"},"Pascal"),o("smoothly-input",{key:"93eac4cce148e22640908d0d2f7c19a04b66d3f9",type:"identifier-camel"},"Camel"),o("h2",{key:"98b93a5cb9daf216199adb5fa089ddd84bc96c61"},"Input Alternatives"),o("smoothly-input",{key:"a031c081e8531bad8400469ae449757958d7324a",type:"text",name:"name.last"},o("smoothly-icon",{key:"bf00331aeef0f1046c5505911d7db6ba845e636c",name:"checkmark-circle",slot:"start"}),"First Name"),o("smoothly-input",{key:"7824cf3b501d802ff40e4a750dd46defa9cac8b6",type:"text",name:"name.first"},"Last Name",o("smoothly-icon",{key:"497b0417f5e7b0714753b0e5d78a78ab18130007",name:"checkmark-circle",slot:"end"})),o("smoothly-input",{key:"ba93dadda8140d398c1d350f98c53d2a08c440db",type:"text",name:"name.first",placeholder:"Smith"},"Last Name",o("smoothly-icon",{key:"28e8478b908bb51c6c5949e986c69930d1b10cb5",name:"checkmark-circle",slot:"end"})),o("smoothly-input",{key:"fcb8531d6fe4129585e9a6d6e641022f2f14cb94",placeholder:"test"}),o("smoothly-input-submit",{key:"97a4d319d250ecd00ede7a5beb2c06b077e8e82c",slot:"submit",fill:"solid",onSubmit:e=>alert(e),color:"success"}),o("h4",{key:"50579aad1a91b0c728a127076a37be38273b3635"},"Smoothly checkboxes"),o("div",{key:"ceee0a83b7626132ac6323dfd894d8ece7ea2f69",class:"checkbox-group"},o("smoothly-input-checkbox",{key:"0eab1d5ac670458ab57af847c9996fcf874fd985",disabled:true,name:"first-checkbox"},o("smoothly-icon",{key:"aa4259b0bc0193a0e31b2bdc2f9550d1e7a9cd66",name:"checkmark-circle",slot:"start",size:"tiny"}),"First"),o("smoothly-input-checkbox",{key:"38fe8ffc98f95b0a81aba7dadb0a46f876ec09f4",name:"second-checkbox",checked:true},o("smoothly-icon",{key:"40b2451d7fb2f705251abfb2158bc91a31ae9d3d",name:"checkmark-circle",slot:"start",size:"tiny"}),"second",o("smoothly-input-clear",{key:"34675173c8447131c978ca934fdde0d8764f44a8",size:"icon",slot:"end"})),o("smoothly-input-checkbox",{key:"42c6dd2f0fd6bb72d8ce31158f0451c5f500fe2b",name:"third-checkbox"},"3rd")),o("h4",{key:"94ddf8048c28f947c3d20a2440c49e9340448c58"},"Smoothly Radio Buttons"),o("smoothly-input-radio",{key:"0e308b17b5783bb23ce817cb30fbb9237a1b5b65",clearable:true,name:"radioFirstInput"},o("smoothly-icon",{key:"61ab423d103c3f04fbaae7d02d0a1685d576fcfe",name:"checkmark-circle",slot:"start"}),o("label",{key:"f75b6164630e97ad5f1174c08afe841e7321fe28",slot:"label"},"Clearable"),o("smoothly-input-radio-item",{key:"fd4284b27663aed055dce8671b46881789ba7dfb",value:"first"},"Label 1"),o("smoothly-input-radio-item",{key:"9554d37989867953cefb248a039d1c6217ea0c4f",selected:true,value:"second"},"Label 2"),o("smoothly-input-radio-item",{key:"7643fa634aa9693163de7926468ea47ea99d232f",value:"third"},"Label 3"),o("smoothly-input-clear",{key:"ef750494dee99f5bf962f93f143a80a540834f20",size:"icon",slot:"end"})),o("smoothly-input-radio",{key:"3cf94704be4ce872a79a97abb4dc1828ade9ad71",name:"radioSecondInput"},o("label",{key:"d3feeed0e6debeaba6e95eec7c6effa4e3aa0484",slot:"label"},"Not clearable"),o("smoothly-input-radio-item",{key:"ed5bc06f71277cc4ad5e644d4b07c42c80dd1027",value:"first"},"Label 1"),o("smoothly-input-radio-item",{key:"944215e958076b552f4ee8e5728897f63e88657c",value:"second"},"Label 2"),o("smoothly-input-radio-item",{key:"273705d445c5b1c1c01f6cea30bf8ad4036f932a",value:"third"},"Label 3"),o("smoothly-input-radio-item",{key:"c16dee456ac64f1aa945dcf6934ff6734c63e597",value:"fourth"},"Label 4"),o("smoothly-input-radio-item",{key:"d9795190e66042dedd027a4780900e2a32548ebc",value:"fifth"},"Label 5"),o("smoothly-input-radio-item",{key:"985a353d4d42885a3597807d9b3a1d6fe2692520",value:"sixth"},"Label 6")),o("smoothly-input-range-demo",{key:"011666bd072c688123437302f21ef556b9bc45cf"}),o("smoothly-input-color-demo",{key:"a7e2fedb5277f19eee2c670bf88c1089ead1eb92"}),o("smoothly-input-price-demo",{key:"3e2f3d6d9e0e368ad4b8c7f3294bbc8cb19d3358"}),o("smoothly-back-to-top",{key:"c2ecc189b026a4eae72d521e4cdffcfbd58ddbd9"})))}static get style(){return V()}},[2,"smoothly-input-demo",{duration:[32],alphanumeric:[32]}]);function O(){if(typeof customElements==="undefined"){return}const e=["smoothly-input-demo","smoothly-back-to-top","smoothly-button","smoothly-button-confirm","smoothly-calendar","smoothly-date-text","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-form","smoothly-icon","smoothly-input","smoothly-input-checkbox","smoothly-input-clear","smoothly-input-color","smoothly-input-color-demo","smoothly-input-date","smoothly-input-date-demo","smoothly-input-date-range","smoothly-input-date-time","smoothly-input-demo-radio","smoothly-input-demo-standard","smoothly-input-demo-user-input","smoothly-input-file","smoothly-input-month","smoothly-input-price-demo","smoothly-input-radio","smoothly-input-radio-item","smoothly-input-range","smoothly-input-range-demo","smoothly-input-reset","smoothly-input-select","smoothly-input-submit","smoothly-item","smoothly-spinner","smoothly-tab","smoothly-tabs","smoothly-toggle-switch"];e.forEach((e=>{switch(e){case"smoothly-input-demo":if(!customElements.get(c(e))){customElements.define(c(e),K)}break;case"smoothly-back-to-top":if(!customElements.get(c(e))){d()}break;case"smoothly-button":if(!customElements.get(c(e))){l()}break;case"smoothly-button-confirm":if(!customElements.get(c(e))){i()}break;case"smoothly-calendar":if(!customElements.get(c(e))){f()}break;case"smoothly-date-text":if(!customElements.get(c(e))){b()}break;case"smoothly-display":if(!customElements.get(c(e))){n()}break;case"smoothly-display-json":if(!customElements.get(c(e))){y()}break;case"smoothly-display-json-object":if(!customElements.get(c(e))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(c(e))){u()}break;case"smoothly-display-json-record-key":if(!customElements.get(c(e))){h()}break;case"smoothly-form":if(!customElements.get(c(e))){p()}break;case"smoothly-icon":if(!customElements.get(c(e))){k()}break;case"smoothly-input":if(!customElements.get(c(e))){v()}break;case"smoothly-input-checkbox":if(!customElements.get(c(e))){g()}break;case"smoothly-input-clear":if(!customElements.get(c(e))){j()}break;case"smoothly-input-color":if(!customElements.get(c(e))){E()}break;case"smoothly-input-color-demo":if(!customElements.get(c(e))){x()}break;case"smoothly-input-date":if(!customElements.get(c(e))){D()}break;case"smoothly-input-date-demo":if(!customElements.get(c(e))){w()}break;case"smoothly-input-date-range":if(!customElements.get(c(e))){S()}break;case"smoothly-input-date-time":if(!customElements.get(c(e))){C()}break;case"smoothly-input-demo-radio":if(!customElements.get(c(e))){L()}break;case"smoothly-input-demo-standard":if(!customElements.get(c(e))){z()}break;case"smoothly-input-demo-user-input":if(!customElements.get(c(e))){I()}break;case"smoothly-input-file":if(!customElements.get(c(e))){M()}break;case"smoothly-input-month":if(!customElements.get(c(e))){A()}break;case"smoothly-input-price-demo":if(!customElements.get(c(e))){B()}break;case"smoothly-input-radio":if(!customElements.get(c(e))){F()}break;case"smoothly-input-radio-item":if(!customElements.get(c(e))){N()}break;case"smoothly-input-range":if(!customElements.get(c(e))){U()}break;case"smoothly-input-range-demo":if(!customElements.get(c(e))){H()}break;case"smoothly-input-reset":if(!customElements.get(c(e))){J()}break;case"smoothly-input-select":if(!customElements.get(c(e))){R()}break;case"smoothly-input-submit":if(!customElements.get(c(e))){Q()}break;case"smoothly-item":if(!customElements.get(c(e))){Z()}break;case"smoothly-spinner":if(!customElements.get(c(e))){q()}break;case"smoothly-tab":if(!customElements.get(c(e))){G()}break;case"smoothly-tabs":if(!customElements.get(c(e))){P()}break;case"smoothly-toggle-switch":if(!customElements.get(c(e))){T()}break}}))}O();export{K as S,O as d};
2
+ //# sourceMappingURL=p-0WCHC4VI.js.map
@@ -1,2 +1,2 @@
1
- import{p as o,H as e,h as s,d as l,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-C5zlJTUx.js";import{d as m}from"./p-CR3Ni_o7.js";import{d as r}from"./p-B-l1S16Z.js";import{d as c}from"./p-Ud7Qhkgt.js";import{d as i}from"./p-C3FORjes.js";import{d}from"./p-Bpc6uh0M.js";import{d as b}from"./p-Bes8H54c.js";import{d as y}from"./p-BGBbdXaw.js";import{d as f}from"./p-CPnXAdGI.js";import{d as h}from"./p-CoJyQegK.js";import{d as n}from"./p-BSCQl0rf.js";import{d as p}from"./p-C02MtoAQ.js";const u=()=>`.sc-smoothly-table-demo-filler-row-h{display:block}.sc-smoothly-table-demo-filler-row-h>smoothly-display.sc-smoothly-table-demo-filler-row{font-size:2em}.sc-smoothly-table-demo-filler-row-h>*.sc-smoothly-table-demo-filler-row{margin-bottom:2rem}`;const k=o(class o extends e{constructor(o){super();if(o!==false){this.__registerHost()}this.cats=[]}async componentDidLoad(){window.setTimeout((()=>{this.cats=undefined}),3e3)}render(){return s(l,{key:"38d70dda60dda3debcf93c39712447b147f1f8aa"},s("smoothly-display",{key:"184a415c969fe7f8067d39b8bca1c60e2cdc525c",type:"text",value:"Filler row"}),s("smoothly-table",{key:"c25e191ff3a0d83771c8c4057a391af7d29f3aeb",color:"primary",columns:4},s("smoothly-table-head",{key:"6a0abb3c6732c84bbf349fa5564d27d3b0189f36"},s("smoothly-table-row",{key:"2f91fa838939f85bee7d2fc07bbcf66f19e31af0"},s("smoothly-table-cell",{key:"b50f41f05faeb8105905c2d2bc694ceba0291b11"},"Breed"),s("smoothly-table-cell",{key:"1165986b307056c5356dad70b6ce04059aaebdd1"},"Country"),s("smoothly-table-cell",{key:"348327ae0225c33862c65c536b31bbab5bd706d9"},"Coat"),s("smoothly-table-cell",{key:"449b076a7ccb0922362af57fa66bbf081fe73c1d"},"Origin"))),s("smoothly-table-body",{key:"7b4d12422054f92287036881aaba5156de8adc87"},this.cats===undefined?s("smoothly-table-filler-row",null,"No data to display"):this.cats.length===0?s("smoothly-table-filler-row",null,s("smoothly-spinner",{style:{margin:"auto"},color:"default",size:"small"})):this.cats.map((o=>s("smoothly-table-row",null,s("div",{class:"smoothly-table-cell"},o.breed),s("div",{class:"smoothly-table-cell"},o.country),s("div",{class:"smoothly-table-cell"},o.coat),s("div",{class:"smoothly-table-cell"},o.origin)))))))}static get style(){return u()}},[2,"smoothly-table-demo-filler-row",{cats:[32]}]);function j(){if(typeof customElements==="undefined"){return}const o=["smoothly-table-demo-filler-row","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-spinner","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-filler-row","smoothly-table-head","smoothly-table-row"];o.forEach((o=>{switch(o){case"smoothly-table-demo-filler-row":if(!customElements.get(t(o))){customElements.define(t(o),k)}break;case"smoothly-display":if(!customElements.get(t(o))){a()}break;case"smoothly-display-json":if(!customElements.get(t(o))){m()}break;case"smoothly-display-json-object":if(!customElements.get(t(o))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(t(o))){c()}break;case"smoothly-display-json-record-key":if(!customElements.get(t(o))){i()}break;case"smoothly-spinner":if(!customElements.get(t(o))){d()}break;case"smoothly-table":if(!customElements.get(t(o))){b()}break;case"smoothly-table-body":if(!customElements.get(t(o))){y()}break;case"smoothly-table-cell":if(!customElements.get(t(o))){f()}break;case"smoothly-table-filler-row":if(!customElements.get(t(o))){h()}break;case"smoothly-table-head":if(!customElements.get(t(o))){n()}break;case"smoothly-table-row":if(!customElements.get(t(o))){p()}break}}))}j();export{k as S,j as d};
2
- //# sourceMappingURL=p-B5fLCjIP.js.map
1
+ import{p as o,H as e,h as s,d as l,t}from"./p-BsZrGTcp.js";import{d as a}from"./p-CN3iME9d.js";import{d as m}from"./p-DG2pfnCV.js";import{d as r}from"./p-uFR5K4vd.js";import{d as c}from"./p-DvZK__s-.js";import{d as i}from"./p-F8qX8ZuL.js";import{d}from"./p-CmUug44L.js";import{d as y}from"./p-C77C00Ii.js";import{d as b}from"./p-DvMoIxws.js";import{d as f}from"./p-l818BCpp.js";import{d as h}from"./p-Cu0ProBU.js";import{d as n}from"./p-Iph4bHku.js";import{d as p}from"./p-BWT1q2tN.js";const u=()=>`.sc-smoothly-table-demo-filler-row-h{display:block}.sc-smoothly-table-demo-filler-row-h>smoothly-display.sc-smoothly-table-demo-filler-row{font-size:2em}.sc-smoothly-table-demo-filler-row-h>*.sc-smoothly-table-demo-filler-row{margin-bottom:2rem}`;const k=o(class o extends e{constructor(o){super();if(o!==false){this.__registerHost()}this.cats=[]}async componentDidLoad(){window.setTimeout((()=>{this.cats=undefined}),3e3)}render(){return s(l,{key:"557f61c2ccd69af2aefa39306df1aad555ff0744"},s("smoothly-display",{key:"7ab6ad735601adb00416b7e36c0cd8815ad61ef8",type:"text",value:"Filler row"}),s("smoothly-table",{key:"5a4a96a7e7eefb555c293a59fa4549566c4e3d37",color:"primary",columns:4},s("smoothly-table-head",{key:"6552d25cd1b2655207fd58a8b193125c5489e44a"},s("smoothly-table-row",{key:"713cc7a78a8375c1559e6dd612e91012d95d94e9"},s("smoothly-table-cell",{key:"6916664b0ccc30759af2b01eecbb0720a293e5e1"},"Breed"),s("smoothly-table-cell",{key:"23ebe72dbbfbb68993ce024cd574a80c78fedf97"},"Country"),s("smoothly-table-cell",{key:"56dc58c22a7fbc62a5a33d88e11e3198d76cce8b"},"Coat"),s("smoothly-table-cell",{key:"1b17e1b9e961951228b9134a979e154650a5692f"},"Origin"))),s("smoothly-table-body",{key:"e9cabfd3b379487e2f47c4e292f61f219dd1a170"},this.cats===undefined?s("smoothly-table-filler-row",null,"No data to display"):this.cats.length===0?s("smoothly-table-filler-row",null,s("smoothly-spinner",{style:{margin:"auto"},color:"default",size:"small"})):this.cats.map((o=>s("smoothly-table-row",null,s("div",{class:"smoothly-table-cell"},o.breed),s("div",{class:"smoothly-table-cell"},o.country),s("div",{class:"smoothly-table-cell"},o.coat),s("div",{class:"smoothly-table-cell"},o.origin)))))))}static get style(){return u()}},[2,"smoothly-table-demo-filler-row",{cats:[32]}]);function j(){if(typeof customElements==="undefined"){return}const o=["smoothly-table-demo-filler-row","smoothly-display","smoothly-display-json","smoothly-display-json-object","smoothly-display-json-primitive","smoothly-display-json-record-key","smoothly-spinner","smoothly-table","smoothly-table-body","smoothly-table-cell","smoothly-table-filler-row","smoothly-table-head","smoothly-table-row"];o.forEach((o=>{switch(o){case"smoothly-table-demo-filler-row":if(!customElements.get(t(o))){customElements.define(t(o),k)}break;case"smoothly-display":if(!customElements.get(t(o))){a()}break;case"smoothly-display-json":if(!customElements.get(t(o))){m()}break;case"smoothly-display-json-object":if(!customElements.get(t(o))){r()}break;case"smoothly-display-json-primitive":if(!customElements.get(t(o))){c()}break;case"smoothly-display-json-record-key":if(!customElements.get(t(o))){i()}break;case"smoothly-spinner":if(!customElements.get(t(o))){d()}break;case"smoothly-table":if(!customElements.get(t(o))){y()}break;case"smoothly-table-body":if(!customElements.get(t(o))){b()}break;case"smoothly-table-cell":if(!customElements.get(t(o))){f()}break;case"smoothly-table-filler-row":if(!customElements.get(t(o))){h()}break;case"smoothly-table-head":if(!customElements.get(t(o))){n()}break;case"smoothly-table-row":if(!customElements.get(t(o))){p()}break}}))}j();export{k as S,j as d};
2
+ //# sourceMappingURL=p-5Z_db2DH.js.map