smoothly 1.3.0 → 1.5.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 (460) hide show
  1. package/dist/cjs/loader.cjs.js +1 -1
  2. package/dist/cjs/smoothly-app_99.cjs.entry.js +154 -152
  3. package/dist/cjs/smoothly-app_99.cjs.entry.js.map +1 -1
  4. package/dist/cjs/smoothly-checkbox.cjs.entry.js +2 -2
  5. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  6. package/dist/cjs/smoothly-country.cjs.entry.js +1 -1
  7. package/dist/cjs/smoothly-input-checkbox-demo.cjs.entry.js +1 -1
  8. package/dist/cjs/smoothly-submit.cjs.entry.js +1 -1
  9. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +1 -1
  10. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +1 -1
  11. package/dist/cjs/smoothly.cjs.js +1 -1
  12. package/dist/collection/components/app/demo/index.js +1 -1
  13. package/dist/collection/components/app/demo/index.js.map +1 -1
  14. package/dist/collection/components/app/room/index.js +1 -1
  15. package/dist/collection/components/back-to-top/index.js +2 -2
  16. package/dist/collection/components/burger/index.js +1 -1
  17. package/dist/collection/components/button/demo/index.js +3 -3
  18. package/dist/collection/components/button/index.js +1 -1
  19. package/dist/collection/components/calendar/index.js +2 -2
  20. package/dist/collection/components/checkbox/index.js +2 -2
  21. package/dist/collection/components/color/index.js +1 -1
  22. package/dist/collection/components/confirm/index.js +1 -1
  23. package/dist/collection/components/country/index.js +1 -1
  24. package/dist/collection/components/dialog/demo/index.js +1 -1
  25. package/dist/collection/components/dialog/index.js +1 -1
  26. package/dist/collection/components/display/demo/index.js +10 -10
  27. package/dist/collection/components/display/demo/json/index.js +1 -1
  28. package/dist/collection/components/display/index.js +3 -3
  29. package/dist/collection/components/display/json/index.js +1 -1
  30. package/dist/collection/components/display/json/object/index.js +2 -2
  31. package/dist/collection/components/display/json/object/key/index.js +1 -1
  32. package/dist/collection/components/display/json/primitive/index.js +1 -1
  33. package/dist/collection/components/filter/field/index.js +1 -1
  34. package/dist/collection/components/filter/index.js +3 -3
  35. package/dist/collection/components/filter/input/index.js +1 -1
  36. package/dist/collection/components/filter/select/index.js +1 -1
  37. package/dist/collection/components/filter/toggle/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/form/index.js +1 -1
  51. package/dist/collection/components/icon/demo/index.js +1 -1
  52. package/dist/collection/components/icon/index.js +1 -1
  53. package/dist/collection/components/input/checkbox/demo/index.js +1 -1
  54. package/dist/collection/components/input/checkbox/index.js +1 -1
  55. package/dist/collection/components/input/clear/index.js +1 -1
  56. package/dist/collection/components/input/color/demo/index.js +1 -1
  57. package/dist/collection/components/input/color/index.js +2 -2
  58. package/dist/collection/components/input/date/index.js +3 -3
  59. package/dist/collection/components/input/date/range/index.js +2 -2
  60. package/dist/collection/components/input/date/time/index.js +5 -5
  61. package/dist/collection/components/input/demo/index.js +4 -4
  62. package/dist/collection/components/input/demo/price/index.js +1 -1
  63. package/dist/collection/components/input/demo/standard/index.js +1 -1
  64. package/dist/collection/components/input/edit/index.js +1 -1
  65. package/dist/collection/components/input/file/index.js +1 -1
  66. package/dist/collection/components/input/index.js +2 -2
  67. package/dist/collection/components/input/month/index.js +2 -2
  68. package/dist/collection/components/input/radio/index.js +1 -1
  69. package/dist/collection/components/input/radio/item/index.js +1 -1
  70. package/dist/collection/components/input/range/demo/index.js +1 -1
  71. package/dist/collection/components/input/range/index.js +4 -4
  72. package/dist/collection/components/input/reset/index.js +1 -1
  73. package/dist/collection/components/input/select/index.js +3 -3
  74. package/dist/collection/components/input/submit/index.js +1 -1
  75. package/dist/collection/components/item/index.js +1 -1
  76. package/dist/collection/components/label/index.js +2 -2
  77. package/dist/collection/components/lazy/index.js +1 -1
  78. package/dist/collection/components/load-more/index.js +1 -1
  79. package/dist/collection/components/modal/index.js +1 -1
  80. package/dist/collection/components/notification/index.js +1 -1
  81. package/dist/collection/components/notifier/index.js +1 -1
  82. package/dist/collection/components/spinner/index.js +2 -2
  83. package/dist/collection/components/submit/index.js +1 -1
  84. package/dist/collection/components/summary/index.js +1 -1
  85. package/dist/collection/components/table/body/index.js +1 -1
  86. package/dist/collection/components/table/cell/index.js +1 -1
  87. package/dist/collection/components/table/demo/colspan/index.js +1 -1
  88. package/dist/collection/components/table/demo/filler-row/index.js +1 -1
  89. package/dist/collection/components/table/demo/filtered/index.js +5 -5
  90. package/dist/collection/components/table/demo/group/index.js +1 -1
  91. package/dist/collection/components/table/demo/index.js +1 -1
  92. package/dist/collection/components/table/demo/nested/index.js +1 -1
  93. package/dist/collection/components/table/demo/nested/inner/index.js +1 -1
  94. package/dist/collection/components/table/demo/simple/simple.js +1 -1
  95. package/dist/collection/components/table/expandable/cell/index.js +1 -1
  96. package/dist/collection/components/table/expandable/row/index.js +1 -1
  97. package/dist/collection/components/table/filler-row/index.js +1 -1
  98. package/dist/collection/components/table/foot/index.js +1 -1
  99. package/dist/collection/components/table/group/index.js +1 -1
  100. package/dist/collection/components/table/head/index.js +1 -1
  101. package/dist/collection/components/table/index.js +1 -1
  102. package/dist/collection/components/table/row/index.js +1 -1
  103. package/dist/collection/components/tabs/demo/index.js +10 -2
  104. package/dist/collection/components/tabs/demo/index.js.map +1 -1
  105. package/dist/collection/components/tabs/demo/style.css +7 -0
  106. package/dist/collection/components/tabs/index.js +28 -5
  107. package/dist/collection/components/tabs/index.js.map +1 -1
  108. package/dist/collection/components/tabs/style.css +3 -0
  109. package/dist/collection/components/tabs/tab/index.js +1 -1
  110. package/dist/collection/components/theme/color/index.js +1 -1
  111. package/dist/collection/components/theme/demo/index.js +1 -1
  112. package/dist/collection/components/theme/guide/index.js +8 -8
  113. package/dist/collection/components/theme/picker/index.js +2 -2
  114. package/dist/collection/components/toggle-switch/demo/index.js +1 -1
  115. package/dist/collection/components/toggle-switch/index.js +1 -1
  116. package/dist/collection/components/trigger/index.js +1 -1
  117. package/dist/collection/components/trigger/sink/index.js +1 -1
  118. package/dist/collection/components/trigger/source/index.js +1 -1
  119. package/dist/components/{p-5cbcfb4d.js → p-00e29131.js} +4 -4
  120. package/dist/components/{p-5cbcfb4d.js.map → p-00e29131.js.map} +1 -1
  121. package/dist/components/{p-3a1f5e8b.js → p-03be2708.js} +10 -10
  122. package/dist/components/{p-3a1f5e8b.js.map → p-03be2708.js.map} +1 -1
  123. package/dist/components/{p-0ce90bf9.js → p-03c91070.js} +9 -7
  124. package/dist/components/p-03c91070.js.map +1 -0
  125. package/dist/components/{p-11cc925c.js → p-065cbcf5.js} +8 -8
  126. package/dist/components/{p-11cc925c.js.map → p-065cbcf5.js.map} +1 -1
  127. package/dist/components/{p-e2ff40ce.js → p-07d9e68a.js} +2 -2
  128. package/dist/components/{p-e2ff40ce.js.map → p-07d9e68a.js.map} +1 -1
  129. package/dist/components/{p-df5f3329.js → p-0b8373df.js} +2 -2
  130. package/dist/components/{p-df5f3329.js.map → p-0b8373df.js.map} +1 -1
  131. package/dist/components/{p-49deb5fc.js → p-115371b7.js} +3 -3
  132. package/dist/components/{p-49deb5fc.js.map → p-115371b7.js.map} +1 -1
  133. package/dist/components/p-14ea6e65.js +244 -0
  134. package/dist/components/{p-586da201.js.map → p-14ea6e65.js.map} +1 -1
  135. package/dist/components/{p-f21f43d1.js → p-18451fa9.js} +3 -3
  136. package/dist/components/{p-f21f43d1.js.map → p-18451fa9.js.map} +1 -1
  137. package/dist/components/{p-a74a5a51.js → p-18e35dd4.js} +3 -3
  138. package/dist/components/{p-a74a5a51.js.map → p-18e35dd4.js.map} +1 -1
  139. package/dist/components/p-1d36d047.js +123 -0
  140. package/dist/components/{p-a95bab7d.js.map → p-1d36d047.js.map} +1 -1
  141. package/dist/components/{p-95439799.js → p-1e8fa07d.js} +5 -5
  142. package/dist/components/{p-95439799.js.map → p-1e8fa07d.js.map} +1 -1
  143. package/dist/components/{p-940e5b8e.js → p-1eab7079.js} +4 -4
  144. package/dist/components/{p-940e5b8e.js.map → p-1eab7079.js.map} +1 -1
  145. package/dist/components/{p-d0935bef.js → p-28dac8ac.js} +3 -3
  146. package/dist/components/{p-d0935bef.js.map → p-28dac8ac.js.map} +1 -1
  147. package/dist/components/{p-04799383.js → p-2bbb8f53.js} +2 -2
  148. package/dist/components/{p-04799383.js.map → p-2bbb8f53.js.map} +1 -1
  149. package/dist/components/{p-97254dfe.js → p-2c9a8b37.js} +11 -11
  150. package/dist/components/{p-97254dfe.js.map → p-2c9a8b37.js.map} +1 -1
  151. package/dist/components/{p-8f6b490b.js → p-2f17a8e0.js} +14 -14
  152. package/dist/components/{p-8f6b490b.js.map → p-2f17a8e0.js.map} +1 -1
  153. package/dist/components/{p-a91db04a.js → p-3024abfc.js} +4 -4
  154. package/dist/components/{p-a91db04a.js.map → p-3024abfc.js.map} +1 -1
  155. package/dist/components/{p-d209231e.js → p-347162c4.js} +10 -10
  156. package/dist/components/{p-d209231e.js.map → p-347162c4.js.map} +1 -1
  157. package/dist/components/{p-4d18f37f.js → p-35d30b5f.js} +14 -14
  158. package/dist/components/{p-4d18f37f.js.map → p-35d30b5f.js.map} +1 -1
  159. package/dist/components/{p-7b8d9ec5.js → p-3609c2f0.js} +13 -13
  160. package/dist/components/{p-7b8d9ec5.js.map → p-3609c2f0.js.map} +1 -1
  161. package/dist/components/{p-c5f2b7e2.js → p-382b5857.js} +6 -6
  162. package/dist/components/{p-c5f2b7e2.js.map → p-382b5857.js.map} +1 -1
  163. package/dist/components/{p-67370f30.js → p-38ec49fa.js} +3 -3
  164. package/dist/components/{p-67370f30.js.map → p-38ec49fa.js.map} +1 -1
  165. package/dist/components/{p-9184ede6.js → p-3989ef69.js} +3 -3
  166. package/dist/components/{p-9184ede6.js.map → p-3989ef69.js.map} +1 -1
  167. package/dist/components/{p-0f1944b8.js → p-3b06b8a0.js} +27 -27
  168. package/dist/components/{p-0f1944b8.js.map → p-3b06b8a0.js.map} +1 -1
  169. package/dist/components/{p-33cdc807.js → p-3b26fe6c.js} +5 -5
  170. package/dist/components/{p-33cdc807.js.map → p-3b26fe6c.js.map} +1 -1
  171. package/dist/components/{p-33f636a1.js → p-3f7a437a.js} +15 -15
  172. package/dist/components/{p-33f636a1.js.map → p-3f7a437a.js.map} +1 -1
  173. package/dist/components/{p-24d81cac.js → p-4139620f.js} +14 -14
  174. package/dist/components/{p-24d81cac.js.map → p-4139620f.js.map} +1 -1
  175. package/dist/components/{p-2de92429.js → p-49837ba2.js} +2 -2
  176. package/dist/components/{p-2de92429.js.map → p-49837ba2.js.map} +1 -1
  177. package/dist/components/{p-f0e08ba3.js → p-4fbdcaa4.js} +4 -4
  178. package/dist/components/{p-f0e08ba3.js.map → p-4fbdcaa4.js.map} +1 -1
  179. package/dist/components/{p-18ba7524.js → p-5083f036.js} +2 -2
  180. package/dist/components/{p-18ba7524.js.map → p-5083f036.js.map} +1 -1
  181. package/dist/components/{p-eba2af2b.js → p-50847f24.js} +13 -13
  182. package/dist/components/{p-eba2af2b.js.map → p-50847f24.js.map} +1 -1
  183. package/dist/components/{p-83de27af.js → p-52ba5546.js} +5 -5
  184. package/dist/components/{p-83de27af.js.map → p-52ba5546.js.map} +1 -1
  185. package/dist/components/{p-b8107946.js → p-565f1d48.js} +7 -7
  186. package/dist/components/{p-b8107946.js.map → p-565f1d48.js.map} +1 -1
  187. package/dist/components/{p-8ac400d5.js → p-56fc01bf.js} +5 -5
  188. package/dist/components/{p-8ac400d5.js.map → p-56fc01bf.js.map} +1 -1
  189. package/dist/components/{p-37363a06.js → p-5bb38e6d.js} +8 -8
  190. package/dist/components/{p-37363a06.js.map → p-5bb38e6d.js.map} +1 -1
  191. package/dist/components/{p-21601376.js → p-5bf78c75.js} +2 -2
  192. package/dist/components/{p-21601376.js.map → p-5bf78c75.js.map} +1 -1
  193. package/dist/components/{p-cf692cc2.js → p-5e242cbd.js} +3 -3
  194. package/dist/components/{p-cf692cc2.js.map → p-5e242cbd.js.map} +1 -1
  195. package/dist/components/{p-671e09bf.js → p-627c3fc7.js} +8 -8
  196. package/dist/components/{p-671e09bf.js.map → p-627c3fc7.js.map} +1 -1
  197. package/dist/components/{p-183f3712.js → p-6396cebd.js} +12 -12
  198. package/dist/components/{p-183f3712.js.map → p-6396cebd.js.map} +1 -1
  199. package/dist/components/{p-065742a9.js → p-68c91da3.js} +4 -4
  200. package/dist/components/{p-065742a9.js.map → p-68c91da3.js.map} +1 -1
  201. package/dist/components/p-72b6a817.js +54 -0
  202. package/dist/components/p-72b6a817.js.map +1 -0
  203. package/dist/components/{p-047f6a2c.js → p-7b0de261.js} +6 -6
  204. package/dist/components/{p-047f6a2c.js.map → p-7b0de261.js.map} +1 -1
  205. package/dist/components/{p-10e9b56f.js → p-7b9c60c5.js} +16 -16
  206. package/dist/components/{p-10e9b56f.js.map → p-7b9c60c5.js.map} +1 -1
  207. package/dist/components/{p-ecbadf51.js → p-840a2e6c.js} +32 -32
  208. package/dist/components/{p-ecbadf51.js.map → p-840a2e6c.js.map} +1 -1
  209. package/dist/components/{p-06279029.js → p-8a0d18a0.js} +15 -15
  210. package/dist/components/{p-06279029.js.map → p-8a0d18a0.js.map} +1 -1
  211. package/dist/components/{p-f0f3ed83.js → p-8a92424a.js} +37 -37
  212. package/dist/components/{p-f0f3ed83.js.map → p-8a92424a.js.map} +1 -1
  213. package/dist/components/{p-7995e164.js → p-8c0ab6b7.js} +15 -15
  214. package/dist/components/{p-7995e164.js.map → p-8c0ab6b7.js.map} +1 -1
  215. package/dist/components/{p-8309d8d7.js → p-8dedb4ea.js} +7 -7
  216. package/dist/components/{p-8309d8d7.js.map → p-8dedb4ea.js.map} +1 -1
  217. package/dist/components/{p-a0930b47.js → p-94091007.js} +6 -6
  218. package/dist/components/{p-a0930b47.js.map → p-94091007.js.map} +1 -1
  219. package/dist/components/p-97b63ea3.js +176 -0
  220. package/dist/components/{p-42fba537.js.map → p-97b63ea3.js.map} +1 -1
  221. package/dist/components/{p-28a3024e.js → p-98440131.js} +2 -2
  222. package/dist/components/{p-28a3024e.js.map → p-98440131.js.map} +1 -1
  223. package/dist/components/{p-8ce2b17b.js → p-9bc7b378.js} +15 -15
  224. package/dist/components/{p-8ce2b17b.js.map → p-9bc7b378.js.map} +1 -1
  225. package/dist/components/{p-76b9e403.js → p-9d5f7dde.js} +15 -15
  226. package/dist/components/{p-76b9e403.js.map → p-9d5f7dde.js.map} +1 -1
  227. package/dist/components/{p-8b2f08c5.js → p-9e3806ff.js} +7 -7
  228. package/dist/components/{p-8b2f08c5.js.map → p-9e3806ff.js.map} +1 -1
  229. package/dist/components/{p-e6eca6ea.js → p-a09be6d8.js} +2 -2
  230. package/dist/components/{p-e6eca6ea.js.map → p-a09be6d8.js.map} +1 -1
  231. package/dist/components/{p-6ce1475e.js → p-a50f622f.js} +5 -5
  232. package/dist/components/{p-6ce1475e.js.map → p-a50f622f.js.map} +1 -1
  233. package/dist/components/{p-182310f5.js → p-a57e7345.js} +7 -7
  234. package/dist/components/{p-182310f5.js.map → p-a57e7345.js.map} +1 -1
  235. package/dist/components/{p-125e9845.js → p-a765eaaa.js} +5 -5
  236. package/dist/components/{p-125e9845.js.map → p-a765eaaa.js.map} +1 -1
  237. package/dist/components/{p-a9bd3ecf.js → p-a966d505.js} +16 -16
  238. package/dist/components/{p-a9bd3ecf.js.map → p-a966d505.js.map} +1 -1
  239. package/dist/components/{p-d4e83a45.js → p-b121c0da.js} +2 -2
  240. package/dist/components/{p-d4e83a45.js.map → p-b121c0da.js.map} +1 -1
  241. package/dist/components/{p-ff99dcde.js → p-b235b5aa.js} +5 -5
  242. package/dist/components/{p-ff99dcde.js.map → p-b235b5aa.js.map} +1 -1
  243. package/dist/components/{p-3062590d.js → p-b3cfa9a5.js} +13 -13
  244. package/dist/components/{p-3062590d.js.map → p-b3cfa9a5.js.map} +1 -1
  245. package/dist/components/{p-b0806e7f.js → p-b5f48ead.js} +28 -28
  246. package/dist/components/{p-b0806e7f.js.map → p-b5f48ead.js.map} +1 -1
  247. package/dist/components/{p-a6abef9e.js → p-b74838fd.js} +2 -2
  248. package/dist/components/{p-a6abef9e.js.map → p-b74838fd.js.map} +1 -1
  249. package/dist/components/p-ba16f7d3.js +45 -0
  250. package/dist/components/{p-90b3c187.js.map → p-ba16f7d3.js.map} +1 -1
  251. package/dist/components/{p-3217c7b5.js → p-ba76192d.js} +3 -3
  252. package/dist/components/{p-3217c7b5.js.map → p-ba76192d.js.map} +1 -1
  253. package/dist/components/p-bbc6eae6.js +175 -0
  254. package/dist/components/{p-f26d6e24.js.map → p-bbc6eae6.js.map} +1 -1
  255. package/dist/components/{p-77aa479d.js → p-c131480d.js} +4 -4
  256. package/dist/components/{p-77aa479d.js.map → p-c131480d.js.map} +1 -1
  257. package/dist/components/{p-559c35a3.js → p-c31cce0c.js} +14 -14
  258. package/dist/components/{p-559c35a3.js.map → p-c31cce0c.js.map} +1 -1
  259. package/dist/components/{p-b1d28f3f.js → p-c3d52c12.js} +7 -7
  260. package/dist/components/{p-b1d28f3f.js.map → p-c3d52c12.js.map} +1 -1
  261. package/dist/components/{p-8677ee6e.js → p-c5f249a3.js} +14 -14
  262. package/dist/components/{p-8677ee6e.js.map → p-c5f249a3.js.map} +1 -1
  263. package/dist/components/{p-675c3d3e.js → p-c9619231.js} +12 -12
  264. package/dist/components/{p-675c3d3e.js.map → p-c9619231.js.map} +1 -1
  265. package/dist/components/{p-0eacf5f4.js → p-c98922f4.js} +2 -2
  266. package/dist/components/{p-0eacf5f4.js.map → p-c98922f4.js.map} +1 -1
  267. package/dist/components/{p-1f5357e1.js → p-ca85bc1d.js} +2 -2
  268. package/dist/components/{p-1f5357e1.js.map → p-ca85bc1d.js.map} +1 -1
  269. package/dist/components/{p-495023df.js → p-cbf3c133.js} +45 -45
  270. package/dist/components/{p-495023df.js.map → p-cbf3c133.js.map} +1 -1
  271. package/dist/components/{p-0fb1eac0.js → p-cef759f2.js} +5 -5
  272. package/dist/components/{p-0fb1eac0.js.map → p-cef759f2.js.map} +1 -1
  273. package/dist/components/{p-9253f214.js → p-d0953a9e.js} +4 -4
  274. package/dist/components/{p-9253f214.js.map → p-d0953a9e.js.map} +1 -1
  275. package/dist/components/{p-194c03be.js → p-d1462fc3.js} +3 -3
  276. package/dist/components/{p-194c03be.js.map → p-d1462fc3.js.map} +1 -1
  277. package/dist/components/{p-fd158b77.js → p-d1dcafa9.js} +4 -4
  278. package/dist/components/{p-fd158b77.js.map → p-d1dcafa9.js.map} +1 -1
  279. package/dist/components/{p-51cb1946.js → p-d3c8be66.js} +5 -5
  280. package/dist/components/{p-51cb1946.js.map → p-d3c8be66.js.map} +1 -1
  281. package/dist/components/{p-fd1daa5a.js → p-d5fe813a.js} +2 -2
  282. package/dist/components/{p-fd1daa5a.js.map → p-d5fe813a.js.map} +1 -1
  283. package/dist/components/{p-f3e69915.js → p-d693d5de.js} +9 -9
  284. package/dist/components/{p-f3e69915.js.map → p-d693d5de.js.map} +1 -1
  285. package/dist/components/{p-5a0e167d.js → p-d81a3a84.js} +3 -3
  286. package/dist/components/{p-5a0e167d.js.map → p-d81a3a84.js.map} +1 -1
  287. package/dist/components/{p-d9989605.js → p-d8bd7cc0.js} +2 -2
  288. package/dist/components/{p-d9989605.js.map → p-d8bd7cc0.js.map} +1 -1
  289. package/dist/components/{p-b52b18ec.js → p-d969fa64.js} +2 -2
  290. package/dist/components/{p-b52b18ec.js.map → p-d969fa64.js.map} +1 -1
  291. package/dist/components/{p-90d81e79.js → p-da4c10d0.js} +2 -2
  292. package/dist/components/{p-90d81e79.js.map → p-da4c10d0.js.map} +1 -1
  293. package/dist/components/{p-aac94573.js → p-dd3b21a0.js} +10 -10
  294. package/dist/components/{p-aac94573.js.map → p-dd3b21a0.js.map} +1 -1
  295. package/dist/components/p-e4b92c84.js +73 -0
  296. package/dist/components/{p-10ecc565.js.map → p-e4b92c84.js.map} +1 -1
  297. package/dist/components/{p-a4614623.js → p-e5627b06.js} +4 -4
  298. package/dist/components/{p-a4614623.js.map → p-e5627b06.js.map} +1 -1
  299. package/dist/components/{p-5bee4bdc.js → p-e9e71692.js} +5 -5
  300. package/dist/components/{p-5bee4bdc.js.map → p-e9e71692.js.map} +1 -1
  301. package/dist/components/{p-e87aacc3.js → p-ea4cee14.js} +15 -15
  302. package/dist/components/{p-e87aacc3.js.map → p-ea4cee14.js.map} +1 -1
  303. package/dist/components/{p-758edf83.js → p-ec3b9004.js} +4 -4
  304. package/dist/components/{p-758edf83.js.map → p-ec3b9004.js.map} +1 -1
  305. package/dist/components/{p-16c06f14.js → p-ed1e7da4.js} +3 -3
  306. package/dist/components/{p-16c06f14.js.map → p-ed1e7da4.js.map} +1 -1
  307. package/dist/components/{p-270e635e.js → p-f2969db7.js} +2 -2
  308. package/dist/components/{p-270e635e.js.map → p-f2969db7.js.map} +1 -1
  309. package/dist/components/{p-33087585.js → p-fec4d798.js} +2 -2
  310. package/dist/components/{p-33087585.js.map → p-fec4d798.js.map} +1 -1
  311. package/dist/components/smoothly-app-demo.js +97 -97
  312. package/dist/components/smoothly-app-demo.js.map +1 -1
  313. package/dist/components/smoothly-app-room.js +1 -1
  314. package/dist/components/smoothly-app.js +1 -1
  315. package/dist/components/smoothly-back-to-top.js +1 -1
  316. package/dist/components/smoothly-burger.js +1 -1
  317. package/dist/components/smoothly-button-confirm.js +1 -1
  318. package/dist/components/smoothly-button-demo.js +1 -1
  319. package/dist/components/smoothly-button.js +1 -1
  320. package/dist/components/smoothly-calendar.js +1 -1
  321. package/dist/components/smoothly-checkbox.js +3 -3
  322. package/dist/components/smoothly-color.js +1 -1
  323. package/dist/components/smoothly-country.js +1 -1
  324. package/dist/components/smoothly-dialog-demo.js +1 -1
  325. package/dist/components/smoothly-dialog.js +1 -1
  326. package/dist/components/smoothly-display-demo-json.js +1 -1
  327. package/dist/components/smoothly-display-demo.js +1 -1
  328. package/dist/components/smoothly-display-json-object.js +1 -1
  329. package/dist/components/smoothly-display-json-primitive.js +1 -1
  330. package/dist/components/smoothly-display-json-record-key.js +1 -1
  331. package/dist/components/smoothly-display-json.js +1 -1
  332. package/dist/components/smoothly-display.js +1 -1
  333. package/dist/components/smoothly-filter-field.js +1 -1
  334. package/dist/components/smoothly-filter-input.js +1 -1
  335. package/dist/components/smoothly-filter-select.js +1 -1
  336. package/dist/components/smoothly-filter-toggle.js +1 -1
  337. package/dist/components/smoothly-filter.js +1 -1
  338. package/dist/components/smoothly-form-demo-all.js +1 -1
  339. package/dist/components/smoothly-form-demo-card.js +1 -1
  340. package/dist/components/smoothly-form-demo-controlled.js +1 -1
  341. package/dist/components/smoothly-form-demo-date-range.js +1 -1
  342. package/dist/components/smoothly-form-demo-date.js +1 -1
  343. package/dist/components/smoothly-form-demo-login.js +1 -1
  344. package/dist/components/smoothly-form-demo-pet.js +1 -1
  345. package/dist/components/smoothly-form-demo-prices.js +1 -1
  346. package/dist/components/smoothly-form-demo-schedule.js +1 -1
  347. package/dist/components/smoothly-form-demo-transparent.js +1 -1
  348. package/dist/components/smoothly-form-demo-typed.js +1 -1
  349. package/dist/components/smoothly-form-demo.js +1 -1
  350. package/dist/components/smoothly-form.js +1 -1
  351. package/dist/components/smoothly-icon-demo.js +1 -1
  352. package/dist/components/smoothly-icon.js +1 -1
  353. package/dist/components/smoothly-input-checkbox-demo.js +29 -29
  354. package/dist/components/smoothly-input-checkbox.js +1 -1
  355. package/dist/components/smoothly-input-clear.js +1 -1
  356. package/dist/components/smoothly-input-color-demo.js +1 -1
  357. package/dist/components/smoothly-input-color.js +1 -1
  358. package/dist/components/smoothly-input-date-range.js +1 -1
  359. package/dist/components/smoothly-input-date-time.js +1 -1
  360. package/dist/components/smoothly-input-date.js +1 -1
  361. package/dist/components/smoothly-input-demo-standard.js +1 -1
  362. package/dist/components/smoothly-input-demo.js +1 -1
  363. package/dist/components/smoothly-input-edit.js +1 -1
  364. package/dist/components/smoothly-input-file.js +1 -1
  365. package/dist/components/smoothly-input-month.js +1 -1
  366. package/dist/components/smoothly-input-price-demo.js +1 -1
  367. package/dist/components/smoothly-input-radio-item.js +1 -1
  368. package/dist/components/smoothly-input-radio.js +1 -1
  369. package/dist/components/smoothly-input-range-demo.js +1 -1
  370. package/dist/components/smoothly-input-range.js +1 -1
  371. package/dist/components/smoothly-input-reset.js +1 -1
  372. package/dist/components/smoothly-input-select.js +1 -1
  373. package/dist/components/smoothly-input-submit.js +1 -1
  374. package/dist/components/smoothly-input.js +1 -1
  375. package/dist/components/smoothly-item.js +1 -1
  376. package/dist/components/smoothly-label.js +1 -1
  377. package/dist/components/smoothly-lazy.js +1 -1
  378. package/dist/components/smoothly-load-more.js +1 -1
  379. package/dist/components/smoothly-modal.js +1 -1
  380. package/dist/components/smoothly-notification.js +1 -1
  381. package/dist/components/smoothly-notifier.js +1 -1
  382. package/dist/components/smoothly-spinner.js +1 -1
  383. package/dist/components/smoothly-submit.js +1 -1
  384. package/dist/components/smoothly-summary.js +1 -1
  385. package/dist/components/smoothly-tab.js +1 -1
  386. package/dist/components/smoothly-table-body.js +1 -1
  387. package/dist/components/smoothly-table-cell.js +1 -1
  388. package/dist/components/smoothly-table-demo-colspan.js +1 -1
  389. package/dist/components/smoothly-table-demo-filler-row.js +1 -1
  390. package/dist/components/smoothly-table-demo-filtered.js +1 -1
  391. package/dist/components/smoothly-table-demo-group.js +1 -1
  392. package/dist/components/smoothly-table-demo-nested-inner.js +1 -1
  393. package/dist/components/smoothly-table-demo-nested.js +1 -1
  394. package/dist/components/smoothly-table-demo-simple.js +1 -1
  395. package/dist/components/smoothly-table-demo.js +1 -1
  396. package/dist/components/smoothly-table-expandable-cell.js +1 -1
  397. package/dist/components/smoothly-table-expandable-row.js +1 -1
  398. package/dist/components/smoothly-table-filler-row.js +1 -1
  399. package/dist/components/smoothly-table-foot.js +1 -1
  400. package/dist/components/smoothly-table-head.js +1 -1
  401. package/dist/components/smoothly-table-row-group.js +1 -1
  402. package/dist/components/smoothly-table-row.js +1 -1
  403. package/dist/components/smoothly-table.js +1 -1
  404. package/dist/components/smoothly-tabs-demo.js +1 -1
  405. package/dist/components/smoothly-tabs.js +1 -1
  406. package/dist/components/smoothly-theme-color.js +1 -1
  407. package/dist/components/smoothly-theme-colors.js +1 -1
  408. package/dist/components/smoothly-theme-demo.js +1 -1
  409. package/dist/components/smoothly-theme-guide.js +1 -1
  410. package/dist/components/smoothly-theme-picker.js +1 -1
  411. package/dist/components/smoothly-toggle-switch-demo.js +1 -1
  412. package/dist/components/smoothly-toggle-switch.js +1 -1
  413. package/dist/components/smoothly-trigger-sink.js +1 -1
  414. package/dist/components/smoothly-trigger-source.js +1 -1
  415. package/dist/components/smoothly-trigger.js +1 -1
  416. package/dist/esm/loader.js +1 -1
  417. package/dist/esm/smoothly-app_99.entry.js +154 -152
  418. package/dist/esm/smoothly-app_99.entry.js.map +1 -1
  419. package/dist/esm/smoothly-checkbox.entry.js +2 -2
  420. package/dist/esm/smoothly-color.entry.js +1 -1
  421. package/dist/esm/smoothly-country.entry.js +1 -1
  422. package/dist/esm/smoothly-input-checkbox-demo.entry.js +1 -1
  423. package/dist/esm/smoothly-submit.entry.js +1 -1
  424. package/dist/esm/smoothly-trigger-sink.entry.js +1 -1
  425. package/dist/esm/smoothly-trigger-source.entry.js +1 -1
  426. package/dist/esm/smoothly.js +1 -1
  427. package/dist/smoothly/{p-ad856966.entry.js → p-0e2084ab.entry.js} +2 -2
  428. package/dist/smoothly/p-2f754778.entry.js +2 -0
  429. package/dist/smoothly/p-2f754778.entry.js.map +1 -0
  430. package/dist/smoothly/{p-2f60a07e.entry.js → p-451b0f1f.entry.js} +2 -2
  431. package/dist/smoothly/p-542e6f79.entry.js +2 -0
  432. package/dist/smoothly/{p-cdb8913e.entry.js → p-87b8d337.entry.js} +2 -2
  433. package/dist/smoothly/{p-018e3f3c.entry.js → p-884217fa.entry.js} +2 -2
  434. package/dist/smoothly/{p-44bafff1.entry.js → p-d4de2329.entry.js} +2 -2
  435. package/dist/smoothly/{p-944059f1.entry.js → p-d52851a6.entry.js} +2 -2
  436. package/dist/smoothly/smoothly.esm.js +1 -1
  437. package/dist/smoothly/smoothly.esm.js.map +1 -1
  438. package/dist/types/components/tabs/demo/index.d.ts +1 -0
  439. package/dist/types/components/tabs/index.d.ts +2 -1
  440. package/dist/types/components.d.ts +2 -0
  441. package/package.json +1 -1
  442. package/dist/components/p-0ce90bf9.js.map +0 -1
  443. package/dist/components/p-10ecc565.js +0 -73
  444. package/dist/components/p-42fba537.js +0 -176
  445. package/dist/components/p-586da201.js +0 -244
  446. package/dist/components/p-7eba212a.js +0 -45
  447. package/dist/components/p-7eba212a.js.map +0 -1
  448. package/dist/components/p-90b3c187.js +0 -45
  449. package/dist/components/p-a95bab7d.js +0 -123
  450. package/dist/components/p-f26d6e24.js +0 -175
  451. package/dist/smoothly/p-7be14d99.entry.js +0 -2
  452. package/dist/smoothly/p-7be14d99.entry.js.map +0 -1
  453. package/dist/smoothly/p-ec1809c5.entry.js +0 -2
  454. /package/dist/smoothly/{p-ad856966.entry.js.map → p-0e2084ab.entry.js.map} +0 -0
  455. /package/dist/smoothly/{p-2f60a07e.entry.js.map → p-451b0f1f.entry.js.map} +0 -0
  456. /package/dist/smoothly/{p-ec1809c5.entry.js.map → p-542e6f79.entry.js.map} +0 -0
  457. /package/dist/smoothly/{p-cdb8913e.entry.js.map → p-87b8d337.entry.js.map} +0 -0
  458. /package/dist/smoothly/{p-018e3f3c.entry.js.map → p-884217fa.entry.js.map} +0 -0
  459. /package/dist/smoothly/{p-44bafff1.entry.js.map → p-d4de2329.entry.js.map} +0 -0
  460. /package/dist/smoothly/{p-944059f1.entry.js.map → p-d52851a6.entry.js.map} +0 -0
@@ -0,0 +1,2 @@
1
+ import{r as e,h as a,H as t}from"./p-ad674a4e.js";import{D as o}from"./p-34d144e8.js";const c=class{constructor(a){e(this,a)}render(){return a(t,{key:"91aae95177fd66ee9dc504cb57d386fa64ca7040"},a("h2",{key:"547a7c8dc8708b0c08462a9f094a4d00c13be893"},"All inputs"),a("smoothly-form",{key:"545379cf0d32f3d8df9d4252defb8b03367e1152",looks:"grid",readonly:true,action:"https://api.toiletapi.com/6b12fd2f-e896-46f9-b38f-25cf42cee4b4"},a("smoothly-input",{key:"dd85a0e169803a854c9b87deebc38b0bcb8fdd03",readonly:true,name:"First Name",value:"John"},"First name"),a("smoothly-input",{key:"b6e0a378f7a6ebb3b5954c75009bf62c2f726d8b",name:"Last name",value:"Doe"},"Last name",a("smoothly-input-clear",{key:"f8640634f0dbce9a7c1658ebda0b0ca565f9ae71",size:"icon",slot:"end"})),a("smoothly-input",{key:"844dd7e60dc606b2fec43f09a33a92d75ca81551",type:"phone",name:"Phone",value:"777888999"},"Phone",a("smoothly-input-reset",{key:"ee73bc11318cc9a3104b6de348283317366f3026",size:"icon",slot:"end"})),a("smoothly-input-radio",{key:"71f68a1faff55301c55d9b55411a4a3b46b33f5d",clearable:true,name:"radioFirstInput"},a("p",{key:"e43c3414f050d967beb80c674f727dbf334f521f",slot:"label"},"Clearable"),a("smoothly-input-radio-item",{key:"979c3266c584360d348b1df32e183f4639fd21fa",slot:"options",value:"first"},"Label 1"),a("smoothly-input-radio-item",{key:"1b57765ee6f4d76ba4f954c4ac027f46fac88cd4",selected:true,slot:"options",value:"second"},"Label 2"),a("smoothly-input-radio-item",{key:"461f02a8de919a4a170902e03efd20170e3c8292",slot:"options",value:"third"},"Label 3")),a("smoothly-input-color",{key:"4b00fc5b50ff3e395ebbf337c6384f59cc6e30a6",name:"color",value:"#479f56",output:"rgb"},"Color"),a("smoothly-input-select",{key:"f750afb8e0c685341d32dfed36a6d148500e3c51",menuHeight:"7.5items",placeholder:"Select...",multiple:true,name:"select-month"},a("label",{key:"f8d4ce6c694403434040a0fb57c776197c6a9f7c",slot:"label"},"Month"),a("smoothly-item",{key:"6c5ee08a2fceb2ef7d53bb4dfbc683af05f232b8",value:"1"},"January"),a("smoothly-item",{key:"aeb84ed01dab144064d2b7e3bd73472957bd55d5",value:"2"},"February"),a("smoothly-item",{key:"c2d1acd2d5fd87d7dbfd919ae2436bc203782f3c",value:"3"},"March"),a("smoothly-item",{key:"656defac4961f91f8ba929d9e1dd61d5b1678371",value:"4"},"April"),a("smoothly-item",{key:"6c42b3107d92018c4d76ed644e73746121457c75",value:"5"},"May"),a("smoothly-item",{key:"dfe2c31b55df3d489f4a3d867c7d0c4f4355f4d2",value:"6"},"June"),a("smoothly-item",{key:"0501cf1ae04a6091cddb9648bb9efe0be01b13c2",value:"7"},"July"),a("smoothly-item",{key:"40924977dae0a1c7a8b3a1c009da7030cbacbd46",value:"8"},"August"),a("smoothly-item",{key:"3fb03182f8cfec98a323b2f0479c300efa69d1cd",value:"9"},"September"),a("smoothly-item",{key:"cfd122f81a69e9bd553b3f348c824a65ba1d4a26",value:"10"},"October"),a("smoothly-item",{key:"798f2cdfe7a10d7c84fe98050dfbfe1253b77455",value:"11"},"November"),a("smoothly-item",{key:"6405f3a207aa6007a1f09faa3f123ae963b9c668",value:"12"},"December"),a("smoothly-input-clear",{key:"a7932851dc2b636fe60a5b0f19e4d3f6d56b550a",size:"icon",slot:"end"})),a("smoothly-input-select",{key:"24a486638f146e93ada5a565213cad60522ae9d8",name:"select-icon",clearable:false,showSelected:false},a("smoothly-item",{key:"80ff1a66b7b223df530461c76e8796bcaa1c0ca5",value:"folder",selected:true},a("smoothly-icon",{key:"98ec06c58f59573e7d103b358b7bc76e7fd13842",size:"small",name:"folder-outline"})),a("smoothly-item",{key:"45c37d51acc6ed792235dde20061c8dbb0a85a90",value:"camera"},a("smoothly-icon",{key:"96e067296ec269ebdad600d7f20ff3d49ac8ee14",size:"small",name:"camera-outline"}))),a("smoothly-input-checkbox",{key:"8094ad4c5a0430bdb12eb24884fa8c97a765ae0d",name:"checkbox"},"Check the box"),a("smoothly-input-checkbox",{key:"584f5ea10a0d2f35f32b74cecedb3a747e688ab6",name:"checkbox2",checked:true},"Check the box 2"),a("smoothly-input-date-range",{key:"d3b9c0e9eac0dba1315431fbd2ad38baf37b816c",start:o.now(),end:o.now()}),a("smoothly-input-date",{key:"9ecbafb403dd2515af8a13853779874847b94abf",name:"date"},"Date",a("smoothly-input-clear",{key:"5872d15da2f85bbdacbb498ed93d9973cb342151",slot:"end"})),a("smoothly-input-range",{key:"47182ac0465fbc3f367902ef29c7c12bb3eb141f",step:1,name:"range3",value:2e4},"Select"),a("smoothly-input",{key:"768f9ce146e78d7f746fae5691e61291272df971",name:"pets.0.name"},"First Pet's Name"),a("smoothly-input-range",{key:"b9bcdc0ad7807b1ebc32fe576b1ad71ace42f16a",name:"pets.0.age",max:100,step:1},"First Pet's Age"),a("smoothly-input",{key:"9d294d8afebdc66a09334bfcabac1645aaf6064b",name:"pets.1.name"},"Second Pet's Name"),a("smoothly-input-range",{key:"e9f7f610645eff1bdc7fec78a2a520962a06501a",name:"pets.1.age",max:100,step:1},"Second Pet's Age"),a("smoothly-input",{key:"8582f324a887225c858b4c625441fa582119f5b2",name:"pets.2.name"},"Third Pet's Name"),a("smoothly-input-range",{key:"f8dded9f292f22968029d5a279087fc2c68fc630",name:"pets.2.age",max:100,step:1},"Third Pet's Age"),a("smoothly-input-file",{key:"b9feb7d182e47fd3116165f9c6da7632465e2624",name:"profile",placeholder:"Click or drag your profile picture here..."},a("span",{key:"ad92fc48130c51c722dded0a4c8496233fc3fc47",slot:"label"},"Profile"),a("smoothly-icon",{key:"a907b28bd000235eb96bc744cb874a12b4fff3f0",slot:"button",name:"person-circle-outline",size:"tiny",fill:"default"})),a("smoothly-input-clear",{key:"9c1c365c9d595640400f21fd250fb6f6f02ee99c",fill:"default",type:"form",color:"warning",slot:"clear",size:"icon",shape:"rounded"}),a("smoothly-input-edit",{key:"f2cb34fec34d9f7066371604366a97aaf8fe1a01",fill:"default",type:"form",color:"tertiary",slot:"edit",size:"icon",shape:"rounded"}),a("smoothly-input-reset",{key:"7c205877ee9ddba670e62b047d422a2449334053",fill:"default",type:"form",color:"warning",slot:"reset",size:"icon",shape:"rounded"}),a("smoothly-input-submit",{key:"f75c093be0a6c7b868138f4e5c2fc0a86ed02466",delete:true,slot:"delete",color:"danger",size:"icon",shape:"rounded"}),a("smoothly-input-submit",{key:"85e5bced4e5b2036a06fd7364346f015c2462b5a",fill:"default",color:"success",slot:"submit",size:"icon",shape:"rounded"})))}};export{c as smoothly_input_checkbox_demo};
2
+ //# sourceMappingURL=p-542e6f79.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,h as t}from"./p-ad674a4e.js";const r="[color=default].sc-smoothly-color{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-color{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-color{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-color{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-color{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-color{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-color{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-color{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-color{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-color{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}";const l=r;const s=class{constructor(t){o(this,t);this.color=undefined}render(){return t("slot",{key:"4577e626b5c5b43ac2c3b5af750ae8158519f936"})}};s.style=l;export{s as smoothly_color};
2
- //# sourceMappingURL=p-cdb8913e.entry.js.map
1
+ import{r as o,h as t}from"./p-ad674a4e.js";const r="[color=default].sc-smoothly-color{--smoothly-color:var(--smoothly-default-color);--smoothly-color-contrast:var(--smoothly-default-contrast);--smoothly-color-shade:var(--smoothly-default-shade);--smoothly-color-tint:var(--smoothly-default-tint)}[color=primary].sc-smoothly-color{--smoothly-color:var(--smoothly-primary-color);--smoothly-color-contrast:var(--smoothly-primary-contrast);--smoothly-color-shade:var(--smoothly-primary-shade);--smoothly-color-tint:var(--smoothly-primary-tint)}[color=secondary].sc-smoothly-color{--smoothly-color:var(--smoothly-secondary-color);--smoothly-color-contrast:var(--smoothly-secondary-contrast);--smoothly-color-shade:var(--smoothly-secondary-shade);--smoothly-color-tint:var(--smoothly-secondary-tint)}[color=tertiary].sc-smoothly-color{--smoothly-color:var(--smoothly-tertiary-color);--smoothly-color-contrast:var(--smoothly-tertiary-contrast);--smoothly-color-shade:var(--smoothly-tertiary-shade);--smoothly-color-tint:var(--smoothly-tertiary-tint)}[color=success].sc-smoothly-color{--smoothly-color:var(--smoothly-success-color);--smoothly-color-contrast:var(--smoothly-success-contrast);--smoothly-color-shade:var(--smoothly-success-shade);--smoothly-color-tint:var(--smoothly-success-tint)}[color=warning].sc-smoothly-color{--smoothly-color:var(--smoothly-warning-color);--smoothly-color-contrast:var(--smoothly-warning-contrast);--smoothly-color-shade:var(--smoothly-warning-shade);--smoothly-color-tint:var(--smoothly-warning-tint)}[color=danger].sc-smoothly-color{--smoothly-color:var(--smoothly-danger-color);--smoothly-color-contrast:var(--smoothly-danger-contrast);--smoothly-color-shade:var(--smoothly-danger-shade);--smoothly-color-tint:var(--smoothly-danger-tint)}[color=light].sc-smoothly-color{--smoothly-color:var(--smoothly-light-color);--smoothly-color-contrast:var(--smoothly-light-contrast);--smoothly-color-shade:var(--smoothly-light-shade);--smoothly-color-tint:var(--smoothly-light-tint)}[color=medium].sc-smoothly-color{--smoothly-color:var(--smoothly-medium-color);--smoothly-color-contrast:var(--smoothly-medium-contrast);--smoothly-color-shade:var(--smoothly-medium-shade);--smoothly-color-tint:var(--smoothly-medium-tint)}[color=dark].sc-smoothly-color{--smoothly-color:var(--smoothly-dark-color);--smoothly-color-contrast:var(--smoothly-dark-contrast);--smoothly-color-shade:var(--smoothly-dark-shade);--smoothly-color-tint:var(--smoothly-dark-tint)}";const l=r;const s=class{constructor(t){o(this,t);this.color=undefined}render(){return t("slot",{key:"e22958a82e15edad2bdaeaec98bfce4282f78094"})}};s.style=l;export{s as smoothly_color};
2
+ //# sourceMappingURL=p-87b8d337.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as o,c as e,h as s,H as c,g as t}from"./p-ad674a4e.js";import{L as h,g as l}from"./p-cb504992.js";function i(o,e){let s;if(!e){const e=o;s=(o,...s)=>{const c=e[o];return!c?a(o,...s):typeof c=="function"?c(...s):s.length>0?a(c,...s):c}}else{if(!h.is(e))e=l(e);const c=e&&o[e];s=c?i(c):a}return s}function a(o,...e){return e.length>0?e.reduce(((o,e,s)=>o.replace("$"+s,e)),o):o}const n={"Select all":"Markera alla","Deselect all":"Avmarkera alla",Select:"Markera",Deselect:"Avmarkera"};function r(o){return i({sv:n},o)}const b='*.sc-smoothly-checkbox{box-sizing:border-box}.sc-smoothly-checkbox-h{display:grid;width:fit-content;grid-template-columns:auto 1fr;row-gap:0.5rem;align-items:center}.sc-smoothly-checkbox-h>label.sc-smoothly-checkbox:empty{display:none}.sc-smoothly-checkbox-h>label.sc-smoothly-checkbox{grid-column:2;margin-left:0.2rem}.sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox{grid-column:1;line-height:0;border:1px solid rgb(var(--smoothly-color-contrast))}.sc-smoothly-checkbox-h:not([disabled]):not([unavailable])>smoothly-icon.sc-smoothly-checkbox{cursor:pointer}[disabled].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox,[unavailable].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox{border-color:rgb(var(--smoothly-color-contrast), 0.3)}[disabled].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox,[unavailable].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox{opacity:0.7}.sc-smoothly-checkbox-h:not([checked])>smoothly-icon.sc-smoothly-checkbox,.sc-smoothly-checkbox-h:not([intermediate])>smoothly-icon .sc-smoothly-checkbox:not([unavailable]){stroke:rgb(var(--smoothly-color-contrast))}.sc-smoothly-checkbox-h>div.expansion.sc-smoothly-checkbox{position:relative;grid-column-start:2;background-color:rgb(var(--smoothly-secondary-color));color:rgb(var(--smoothly-secondary-contrast));padding:0.5rem;border-radius:5px}.sc-smoothly-checkbox-h:not([checked])>div.expansion.sc-smoothly-checkbox,.sc-smoothly-checkbox-h>div.expansion.sc-smoothly-checkbox:empty{display:none}.sc-smoothly-checkbox-h>div.expansion.sc-smoothly-checkbox::before{content:"\\25B2";position:absolute;bottom:calc(100% + 0.5rem - 0.3rem );line-height:0;left:0.5rem;color:rgb(var(--smoothly-secondary-color))}';const m=b;const y=class{constructor(s){o(this,s);this.smoothlyInput=e(this,"smoothlyInput",7);this.size="tiny";this.checked=false;this.intermediate=false;this.unavailable=false;this.disabled=false;this.name=undefined;this.value=undefined;this.t=undefined}componentWillLoad(){this.t=r(this.element)}unavailableChanged(){if(this.unavailable&&this.checked)this.smoothlyInput.emit({[this.name]:undefined})}async toggle(){if(!this.disabled&&!this.unavailable){const o=this.intermediate||this.checked==false;this.smoothlyInput.emit({[this.name]:o?this.value:undefined});this.checked=o}}async clear(){this.checked=false;this.smoothlyInput.emit({[this.name]:undefined})}render(){return s(c,{key:"face01fc07b26eaf527a0f9d7559953354e34992"},s("smoothly-icon",{key:"b93038d3020b625e687c6da87a7e36f1e594c66f",toolTip:this.t(!this.checked?"Select":"De-select"),onClick:()=>this.toggle(),size:this.size,name:this.unavailable?"close-outline":this.intermediate&&!this.checked?"remove-outline":this.checked&&!this.intermediate?"checkmark-outline":"empty"}),s("label",{key:"c503a44c24490a86019aef9cae8e7ae7ec84f7ff",htmlFor:this.name},s("slot",{key:"d7be72b4300bdb3ba32d327bc5e0cc302b45e4b2"})),s("div",{key:"84981ab79d0b95528abe9f66231bbfdaf859b994",class:"expansion"},s("slot",{key:"5b54e125312338abb6cde3df313211e7aee45771",name:"expansion"})))}get element(){return t(this)}static get watchers(){return{checked:["unavailableChanged"],unavailable:["unavailableChanged"]}}};y.style=m;export{y as smoothly_checkbox};
2
- //# sourceMappingURL=p-018e3f3c.entry.js.map
1
+ import{r as o,c as e,h as s,H as c,g as t}from"./p-ad674a4e.js";import{L as h,g as l}from"./p-cb504992.js";function i(o,e){let s;if(!e){const e=o;s=(o,...s)=>{const c=e[o];return!c?a(o,...s):typeof c=="function"?c(...s):s.length>0?a(c,...s):c}}else{if(!h.is(e))e=l(e);const c=e&&o[e];s=c?i(c):a}return s}function a(o,...e){return e.length>0?e.reduce(((o,e,s)=>o.replace("$"+s,e)),o):o}const n={"Select all":"Markera alla","Deselect all":"Avmarkera alla",Select:"Markera",Deselect:"Avmarkera"};function r(o){return i({sv:n},o)}const b='*.sc-smoothly-checkbox{box-sizing:border-box}.sc-smoothly-checkbox-h{display:grid;width:fit-content;grid-template-columns:auto 1fr;row-gap:0.5rem;align-items:center}.sc-smoothly-checkbox-h>label.sc-smoothly-checkbox:empty{display:none}.sc-smoothly-checkbox-h>label.sc-smoothly-checkbox{grid-column:2;margin-left:0.2rem}.sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox{grid-column:1;line-height:0;border:1px solid rgb(var(--smoothly-color-contrast))}.sc-smoothly-checkbox-h:not([disabled]):not([unavailable])>smoothly-icon.sc-smoothly-checkbox{cursor:pointer}[disabled].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox,[unavailable].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox{border-color:rgb(var(--smoothly-color-contrast), 0.3)}[disabled].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox,[unavailable].sc-smoothly-checkbox-h>smoothly-icon.sc-smoothly-checkbox{opacity:0.7}.sc-smoothly-checkbox-h:not([checked])>smoothly-icon.sc-smoothly-checkbox,.sc-smoothly-checkbox-h:not([intermediate])>smoothly-icon .sc-smoothly-checkbox:not([unavailable]){stroke:rgb(var(--smoothly-color-contrast))}.sc-smoothly-checkbox-h>div.expansion.sc-smoothly-checkbox{position:relative;grid-column-start:2;background-color:rgb(var(--smoothly-secondary-color));color:rgb(var(--smoothly-secondary-contrast));padding:0.5rem;border-radius:5px}.sc-smoothly-checkbox-h:not([checked])>div.expansion.sc-smoothly-checkbox,.sc-smoothly-checkbox-h>div.expansion.sc-smoothly-checkbox:empty{display:none}.sc-smoothly-checkbox-h>div.expansion.sc-smoothly-checkbox::before{content:"\\25B2";position:absolute;bottom:calc(100% + 0.5rem - 0.3rem );line-height:0;left:0.5rem;color:rgb(var(--smoothly-secondary-color))}';const m=b;const d=class{constructor(s){o(this,s);this.smoothlyInput=e(this,"smoothlyInput",7);this.size="tiny";this.checked=false;this.intermediate=false;this.unavailable=false;this.disabled=false;this.name=undefined;this.value=undefined;this.t=undefined}componentWillLoad(){this.t=r(this.element)}unavailableChanged(){if(this.unavailable&&this.checked)this.smoothlyInput.emit({[this.name]:undefined})}async toggle(){if(!this.disabled&&!this.unavailable){const o=this.intermediate||this.checked==false;this.smoothlyInput.emit({[this.name]:o?this.value:undefined});this.checked=o}}async clear(){this.checked=false;this.smoothlyInput.emit({[this.name]:undefined})}render(){return s(c,{key:"323988d0a6cc134bf5b7b81ff72781dd18d3f961"},s("smoothly-icon",{key:"b391cfbb2f85b7104f50bf7dbe4c65333d8ec2e1",toolTip:this.t(!this.checked?"Select":"De-select"),onClick:()=>this.toggle(),size:this.size,name:this.unavailable?"close-outline":this.intermediate&&!this.checked?"remove-outline":this.checked&&!this.intermediate?"checkmark-outline":"empty"}),s("label",{key:"66d4db27f21ba2fa6028e86f74f2fe1144173a1c",htmlFor:this.name},s("slot",{key:"770aa4d341f3c8eab9c30c425f5d4238486514bb"})),s("div",{key:"5ca14b89e54eaf8d9cf71eaaf4044de455465e7c",class:"expansion"},s("slot",{key:"0bd41245edcfb83a91cdec2d008663f7c18d750d",name:"expansion"})))}get element(){return t(this)}static get watchers(){return{checked:["unavailableChanged"],unavailable:["unavailableChanged"]}}};d.style=m;export{d as smoothly_checkbox};
2
+ //# sourceMappingURL=p-884217fa.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as s,h as i}from"./p-ad674a4e.js";import{T as t,M as e}from"./p-cdac3cf4.js";import"./p-34d144e8.js";const r=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";const n=r;const o=class{constructor(i){s(this,i);this.context=undefined;this.destination=undefined;this.filter=undefined}get filters(){if(!this.filtersValue)this.filtersValue=this.filter?this.filter.split(" "):[];return this.filtersValue}TriggerListener(s){if(t.is(s.detail)&&this.filters.some((i=>i==s.detail.name))){e.send(this.destination,s.detail,this.context||window);s.preventDefault();s.stopPropagation()}}render(){return i("slot",{key:"3d3187b06b51c4428ca8b2ed1359868a57da9422"})}};o.style=n;export{o as smoothly_trigger_sink};
2
- //# sourceMappingURL=p-44bafff1.entry.js.map
1
+ import{r as s,h as i}from"./p-ad674a4e.js";import{T as t,M as e}from"./p-cdac3cf4.js";import"./p-34d144e8.js";const r=".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";const n=r;const o=class{constructor(i){s(this,i);this.context=undefined;this.destination=undefined;this.filter=undefined}get filters(){if(!this.filtersValue)this.filtersValue=this.filter?this.filter.split(" "):[];return this.filtersValue}TriggerListener(s){if(t.is(s.detail)&&this.filters.some((i=>i==s.detail.name))){e.send(this.destination,s.detail,this.context||window);s.preventDefault();s.stopPropagation()}}render(){return i("slot",{key:"4b6b495d4132d07c8cd19cb21ce2d02b6ab36f20"})}};o.style=n;export{o as smoothly_trigger_sink};
2
+ //# sourceMappingURL=p-d4de2329.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as s,c as t,h as e,g as o}from"./p-ad674a4e.js";import{M as i,T as r}from"./p-cdac3cf4.js";import"./p-34d144e8.js";const c=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";const n=c;const a=class{constructor(e){s(this,e);this.trigger=t(this,"trigger",7);this.smoothlyMessage=t(this,"smoothlyMessage",7);this.listen=undefined}componentDidLoad(){i.listen(this.listen,((s,t)=>{if(r.is(t))this.trigger.emit(t);else this.smoothlyMessage.emit({destination:s,content:t})}),window)}render(){return e("slot",{key:"294742e975eba763f94cf2e0c8c496ed0631efaf"})}get element(){return o(this)}};a.style=n;export{a as smoothly_trigger_source};
2
- //# sourceMappingURL=p-944059f1.entry.js.map
1
+ import{r as s,c as t,h as e,g as o}from"./p-ad674a4e.js";import{M as i,T as r}from"./p-cdac3cf4.js";import"./p-34d144e8.js";const n=".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";const c=n;const d=class{constructor(e){s(this,e);this.trigger=t(this,"trigger",7);this.smoothlyMessage=t(this,"smoothlyMessage",7);this.listen=undefined}componentDidLoad(){i.listen(this.listen,((s,t)=>{if(r.is(t))this.trigger.emit(t);else this.smoothlyMessage.emit({destination:s,content:t})}),window)}render(){return e("slot",{key:"b2857d9f71f40fe78b08a1b5408f43dd6331f4c8"})}get element(){return o(this)}};d.style=c;export{d as smoothly_trigger_source};
2
+ //# sourceMappingURL=p-d52851a6.entry.js.map
@@ -1,2 +1,2 @@
1
- import{p as e,b as o}from"./p-ad674a4e.js";export{s as setNonce}from"./p-ad674a4e.js";import{g as l}from"./p-72539472.js";var t=()=>{const o=import.meta.url;const l={};if(o!==""){l.resourcesUrl=new URL(".",o).href}return e(l)};t().then((async e=>{await l();return o(JSON.parse('[["p-7be14d99",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}],[2,"smoothly-form-demo"],[2,"smoothly-table-demo"],[2,"smoothly-input-demo",{"duration":[32],"alphanumeric":[32]}],[2,"smoothly-icon-demo",{"display":[32],"props":[32]}],[2,"smoothly-theme-demo"],[0,"smoothly-display-demo",{"downloadingSpinner":[32]}],[2,"smoothly-dialog-demo",{"openModal":[32],"openTallModal":[32],"showFrame":[32]}],[0,"smoothly-button-demo"],[4,"smoothly-app",{"label":[513],"color":[1],"home":[1],"menuOpen":[1540,"menu-open"],"selected":[32],"selectRoom":[64]},[[8,"popstate","locationChangeHandler"],[0,"smoothlyRoomSelect","roomSelectedHandler"],[0,"smoothlyRoomLoad","roomLoadedHandler"],[8,"click","clickHandler"]],{"selected":["selectedChanged"]}],[6,"smoothly-app-room",{"label":[513],"icon":[513],"disabled":[516],"path":[1],"selected":[1540],"content":[16],"getContent":[64],"setSelected":[64]}],[2,"smoothly-tabs-demo"],[2,"smoothly-form-demo-pet",{"hasOwner":[32],"owner":[32],"value":[32]}],[2,"smoothly-input-demo-standard",{"duration":[32],"options":[32]}],[2,"smoothly-form-demo-all"],[2,"smoothly-table-demo-filtered",{"criteria":[32],"cats":[32],"selector":[32]},[[0,"smoothlyFilter","onFilterUpdate"],[0,"smoothlyInput","smoothlyInputHandler"]]],[2,"smoothly-table-demo-group"],[2,"smoothly-form-demo-transparent"],[2,"smoothly-form-demo-schedule"],[2,"smoothly-form-demo-typed"],[2,"smoothly-table-demo-colspan"],[2,"smoothly-table-demo-nested"],[2,"smoothly-table-demo-simple"],[2,"smoothly-form-demo-controlled",{"name":[32],"currency":[32],"date":[32]},null,{"name":["nameChanged"]}],[2,"smoothly-form-demo-date"],[2,"smoothly-form-demo-date-range"],[2,"smoothly-table-demo-filler-row",{"cats":[32]}],[0,"smoothly-input-color-demo"],[0,"smoothly-input-range-demo"],[2,"smoothly-form-demo-login"],[2,"smoothly-form-demo-prices"],[2,"smoothly-form-demo-card"],[0,"smoothly-display-demo-json"],[2,"smoothly-theme-guide"],[2,"smoothly-input-price-demo",{"currencies":[32],"currency":[32]}],[6,"smoothly-notifier",{"icon":[4],"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[6,"smoothly-theme-picker",{"element":[1]}],[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-theme-colors"],[2,"smoothly-toggle-switch-demo"],[2,"smoothly-burger",{"visible":[1540],"open":[1540],"mediaQuery":[513,"media-query"],"history":[32]},[[0,"click","clickHandler"],[9,"resize","resizeHandler"]],{"open":["openChanged"]}],[6,"smoothly-modal",{"open":[1540],"closable":[516],"align":[513]},null,{"open":["openChanged"]}],[2,"smoothly-frame",{"url":[1],"name":[513],"origin":[1],"send":[64]}],[6,"smoothly-label",{"hue":[2],"description":[1],"shape":[513]}],[2,"smoothly-table-demo-nested-inner",{"data":[16]}],[6,"smoothly-filter",{"detailChildren":[32],"criteria":[32],"expanded":[32]},[[0,"smoothlyFilterUpdate","updateHandler"],[0,"smoothlyFilterManipulate","manipulateHandler"],[0,"smoothlyFilterField","filterFieldHandler"]]],[6,"smoothly-filter-select",{"label":[1],"property":[1],"menuHeight":[1,"menu-height"],"multiple":[4],"type":[1],"looks":[1025]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"]]],[6,"smoothly-filter-input",{"label":[1],"property":[1],"placeholder":[1],"needle":[32]}],[2,"smoothly-notification",{"notice":[16],"closable":[4],"icon":[4],"tick":[32]},[[0,"trigger","onTrigger"]],{"notice":["onUpdatedNotice"]}],[6,"smoothly-table-filler-row"],[2,"smoothly-back-to-top",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}],[2,"smoothly-filter-toggle",{"icon":[1],"properties":[16],"toolTip":[1,"tool-tip"],"not":[4],"flip":[516],"active":[1028]}],[2,"smoothly-theme-color",{"color":[1]}],[6,"smoothly-table-row-group",{"align":[516],"open":[1540]}],[2,"smoothly-filter-field",{"criteria":[8],"clear":[64]}],[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"],[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]],{"open":["openHandler"]}],[6,"smoothly-tabs",{"tabs":[32],"selectedElement":[32]},[[0,"smoothlyTabLoad","onInputLoad"],[0,"smoothlyTabOpen","openChanged"]],{"selectedElement":["onSelectedChange"]}],[2,"smoothly-theme-color-variant",{"color":[513],"variant":[513]}],[6,"smoothly-input-date-time",{"color":[1537],"looks":[1537],"name":[513],"changed":[1028],"readonly":[1540],"invalid":[516],"errorMessage":[513,"error-message"],"value":[1025],"open":[1028],"showLabel":[516,"show-label"],"min":[1],"max":[1],"date":[32],"hour":[32],"minute":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"date":["handleChange"],"hour":["handleChange"],"minute":["handleChange"],"value":["valueChange"]}],[6,"smoothly-input-edit",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"toolTip":[1,"tool-tip"]},[[0,"click","clickHandler"]]],[6,"smoothly-lazy",{"show":[1028],"content":[16]}],[6,"smoothly-summary",{"open":[1540],"color":[1],"fill":[1],"size":[1]},[[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]]],[6,"smoothly-table-foot"],[2,"smoothly-load-more",{"triggerMode":[1,"trigger-mode"],"name":[1],"multiple":[4],"inView":[32]}],[6,"smoothly-table-expandable-cell",{"span":[514],"open":[1540],"close":[64]},null,{"open":["openChange"]}],[6,"smoothly-table-expandable-row",{"open":[1540]},null,{"open":["openChange"]}],[6,"smoothly-trigger",{"color":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[6,"smoothly-input-checkbox",{"name":[513],"changed":[1028],"readonly":[1540],"checked":[1028],"value":[4],"looks":[1537],"color":[1537],"disabled":[516],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},null,{"checked":["elementCheck"]}],[6,"smoothly-input-color",{"value":[1025],"looks":[1537],"color":[1537],"changed":[1028],"readonly":[1540],"output":[1],"name":[513],"showLabel":[516,"show-label"],"open":[32],"sliderMode":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"value":["valueChanged"]}],[6,"smoothly-input-date-range",{"name":[513],"color":[1537],"looks":[1537],"readonly":[1540],"showLabel":[516,"show-label"],"start":[1025],"end":[1025],"placeholder":[1],"invalid":[4],"max":[1],"min":[1],"changed":[1028],"value":[32],"open":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"clear":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[8,"click","onWindowClick"]],{"start":["updateValue"],"end":["updateValue"],"value":["valueChanged"]}],[6,"smoothly-input-clear",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[6,"smoothly-input-file",{"changed":[1028],"readonly":[1540],"accept":[1],"color":[1537],"looks":[1537],"camera":[513],"name":[513],"showLabel":[516,"show-label"],"value":[1040],"placeholder":[1537],"dragging":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"binary":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"value":["valueChanged"]}],[6,"smoothly-input-radio-item",{"value":[1032],"selected":[1540],"looks":[1537],"name":[1025]}],[6,"smoothly-input-radio",{"changed":[1028],"value":[1032],"looks":[1537],"color":[1537],"clearable":[4],"readonly":[1540],"name":[513],"showLabel":[516,"show-label"],"listen":[64],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyRadioItemRegister","handleRegister"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlySelect","smoothlyRadioInputHandler"]],{"value":["valueChanged"],"readonly":["watchingReadonly"]}],[6,"smoothly-table-body"],[6,"smoothly-table",{"columns":[2]},[[0,"smoothlyTableExpandableRowChange","smoothlyTableExpandableRowChange"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChange"]]],[6,"smoothly-table-head",{"scrolled":[32]}],[6,"smoothly-input-date",{"color":[1537],"looks":[1537],"name":[513],"changed":[1028],"readonly":[1540],"invalid":[4],"errorMessage":[513,"error-message"],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"showLabel":[516,"show-label"],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyDateSet","dateSetHandler"]],{"value":["onStart"]}],[6,"smoothly-input-reset",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[6,"smoothly-table-cell",{"span":[514]}],[6,"smoothly-table-row",null,[[0,"smoothlyTableExpandableCellRegister","smoothlyTableExpandableCellRegisterHandler"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChangeHandler"]]],[6,"smoothly-input-range",{"value":[1026],"looks":[1537],"color":[1537],"changed":[1028],"defined":[1028],"readonly":[1540],"type":[1],"min":[2],"max":[2],"name":[513],"step":[2],"outputSide":[1,"output-side"],"label":[1],"showInput":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"]],{"value":["valueChanged"]}],[2,"smoothly-toggle-switch",{"checkmark":[516],"selected":[1540],"disabled":[516],"size":[513],"color":[513],"fill":[513]}],[6,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]},null,{"start":["onStart"],"end":["onEnd"]}],[6,"smoothly-input-submit",{"delete":[516],"color":[1],"icon":[8],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"size":[513],"toolTip":[1,"tool-tip"]}],[6,"smoothly-input-month",{"readonly":[1540],"color":[513],"looks":[1537],"name":[513],"value":[1025],"max":[1025],"min":[1025],"next":[516],"previous":[516],"inCalendar":[516,"in-calendar"],"showLabel":[516,"show-label"],"allowPreviousMonth":[32],"allowNextMonth":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"value":["valueChanged","setAllowPreviousMonth","setAllowNextMonth"],"min":["setAllowPreviousMonth"],"max":["setAllowNextMonth"]}],[6,"smoothly-button-confirm",{"color":[1],"name":[513],"doubleClickTime":[2,"double-click-time"],"expand":[513],"fill":[1],"disabled":[516],"shape":[1],"size":[1],"clickTimeStamp":[32]}],[4,"smoothly-form",{"color":[1537],"value":[1040],"action":[1],"validator":[16],"type":[1],"readonly":[1028],"looks":[513],"name":[513],"prevent":[4],"changed":[1028],"processing":[1040],"removeInput":[64],"listen":[64],"submit":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyKeydown","smoothlyKeydownHandler"],[8,"smoothlyFormSubmit","windowSubmitHandler"],[0,"smoothlyFormSubmit","submitHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyFormDisable","smoothlyFormDisableHandler"]],{"value":["watchValue"],"readonly":["watchReadonly"]}],[2,"smoothly-spinner",{"size":[513],"overlay":[516]}],[2,"smoothly-display",{"type":[1],"label":[1],"value":[8],"collapseDepth":[2,"collapse-depth"],"toInteger":[4,"to-integer"],"currency":[1],"country":[1],"format":[16]}],[2,"smoothly-display-json",{"value":[8],"collapseDepth":[2,"collapse-depth"]}],[6,"smoothly-input-select",{"invalid":[516],"errorMessage":[513,"error-message"],"name":[513],"color":[1537],"looks":[1537],"showLabel":[516,"show-label"],"showSelected":[1540,"show-selected"],"readonly":[1540],"inCalendar":[516,"in-calendar"],"ordered":[516],"multiple":[4],"clearable":[4],"changed":[1028],"defined":[1028],"placeholder":[520],"menuHeight":[1,"menu-height"],"required":[4],"searchDisabled":[4,"search-disabled"],"mutable":[4],"open":[32],"selected":[32],"filter":[32],"addedItems":[32],"register":[64],"unregister":[64],"getValue":[64],"getItems":[64],"listen":[64],"reset":[64],"clear":[64],"edit":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyItemSelect","onItemSelect"],[0,"keydown","onKeyDown"]],{"selected":["onSelectedChange"],"required":["onRequiredChange"],"filter":["onFilterChange"],"readonly":["watchingReadonly"],"open":["onClosed"]}],[6,"smoothly-item",{"value":[8],"selected":[1540],"marked":[1540],"disabled":[516],"deselectable":[4],"filter":[64]},[[0,"click","clickHandler"]],{"selected":["selectedWatcher"]}],[2,"smoothly-display-json-object",{"value":[16],"collapseDepth":[2,"collapse-depth"],"open":[32],"empty":[32]}],[2,"smoothly-display-json-primitive",{"value":[8]}],[2,"smoothly-display-json-record-key",{"value":[8]}],[6,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"link":[1]}],[6,"smoothly-input",{"color":[1537],"looks":[1537],"name":[513],"value":[1032],"type":[513],"required":[516],"showLabel":[516,"show-label"],"autocomplete":[1],"placeholder":[513],"disabled":[4],"readonly":[1540],"toInteger":[4,"to-integer"],"currency":[513],"min":[2],"max":[2],"invalid":[516],"changed":[1028],"errorMessage":[513,"error-message"],"initialValue":[32],"state":[32],"getValue":[64],"setValue":[64],"setFocus":[64],"setSelection":[64],"listen":[64],"register":[64],"unregister":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"setCustomInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"input","onEvent"],[0,"beforeinput","onEvent"]],{"currency":["typeChange"],"type":["typeChange"],"state":["stateChange"],"value":["valueChange"],"readonly":["readonlyChange"]}],[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[513],"size":[513],"rotate":[514],"flip":[513],"toolTip":[1,"tool-tip"],"latestPromise":[32],"document":[32]},null,{"toolTip":["nameChanged"],"name":["nameChanged"]}]]],["p-ec1809c5",[[2,"smoothly-input-checkbox-demo"]]],["p-018e3f3c",[[6,"smoothly-checkbox",{"size":[1],"checked":[1540],"intermediate":[1540],"unavailable":[516],"disabled":[516],"name":[513],"value":[8],"t":[32],"toggle":[64],"clear":[64]},null,{"checked":["unavailableChanged"],"unavailable":["unavailableChanged"]}]]],["p-cdb8913e",[[6,"smoothly-color",{"color":[513]}]]],["p-2f60a07e",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["p-ad856966",[[6,"smoothly-submit",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"prevent":[4]},[[0,"click","clickHandler"]]]]],["p-44bafff1",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["p-944059f1",[[6,"smoothly-trigger-source",{"listen":[1]}]]]]'),e)}));
1
+ import{p as e,b as o}from"./p-ad674a4e.js";export{s as setNonce}from"./p-ad674a4e.js";import{g as l}from"./p-72539472.js";var t=()=>{const o=import.meta.url;const l={};if(o!==""){l.resourcesUrl=new URL(".",o).href}return e(l)};t().then((async e=>{await l();return o(JSON.parse('[["p-2f754778",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}],[2,"smoothly-form-demo"],[2,"smoothly-table-demo"],[2,"smoothly-input-demo",{"duration":[32],"alphanumeric":[32]}],[2,"smoothly-icon-demo",{"display":[32],"props":[32]}],[2,"smoothly-theme-demo"],[0,"smoothly-display-demo",{"downloadingSpinner":[32]}],[2,"smoothly-dialog-demo",{"openModal":[32],"openTallModal":[32],"showFrame":[32]}],[0,"smoothly-button-demo"],[4,"smoothly-app",{"label":[513],"color":[1],"home":[1],"menuOpen":[1540,"menu-open"],"selected":[32],"selectRoom":[64]},[[8,"popstate","locationChangeHandler"],[0,"smoothlyRoomSelect","roomSelectedHandler"],[0,"smoothlyRoomLoad","roomLoadedHandler"],[8,"click","clickHandler"]],{"selected":["selectedChanged"]}],[6,"smoothly-app-room",{"label":[513],"icon":[513],"disabled":[516],"path":[1],"selected":[1540],"content":[16],"getContent":[64],"setSelected":[64]}],[2,"smoothly-tabs-demo",{"extraTab":[32]}],[2,"smoothly-form-demo-pet",{"hasOwner":[32],"owner":[32],"value":[32]}],[2,"smoothly-input-demo-standard",{"duration":[32],"options":[32]}],[2,"smoothly-form-demo-all"],[2,"smoothly-table-demo-filtered",{"criteria":[32],"cats":[32],"selector":[32]},[[0,"smoothlyFilter","onFilterUpdate"],[0,"smoothlyInput","smoothlyInputHandler"]]],[2,"smoothly-table-demo-group"],[2,"smoothly-form-demo-transparent"],[2,"smoothly-form-demo-schedule"],[2,"smoothly-form-demo-typed"],[2,"smoothly-table-demo-colspan"],[2,"smoothly-table-demo-nested"],[2,"smoothly-table-demo-simple"],[2,"smoothly-form-demo-controlled",{"name":[32],"currency":[32],"date":[32]},null,{"name":["nameChanged"]}],[2,"smoothly-form-demo-date"],[2,"smoothly-form-demo-date-range"],[2,"smoothly-table-demo-filler-row",{"cats":[32]}],[0,"smoothly-input-color-demo"],[0,"smoothly-input-range-demo"],[2,"smoothly-form-demo-login"],[2,"smoothly-form-demo-prices"],[2,"smoothly-form-demo-card"],[0,"smoothly-display-demo-json"],[2,"smoothly-theme-guide"],[2,"smoothly-input-price-demo",{"currencies":[32],"currency":[32]}],[6,"smoothly-notifier",{"icon":[4],"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[6,"smoothly-theme-picker",{"element":[1]}],[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[2,"smoothly-theme-colors"],[2,"smoothly-toggle-switch-demo"],[2,"smoothly-burger",{"visible":[1540],"open":[1540],"mediaQuery":[513,"media-query"],"history":[32]},[[0,"click","clickHandler"],[9,"resize","resizeHandler"]],{"open":["openChanged"]}],[6,"smoothly-modal",{"open":[1540],"closable":[516],"align":[513]},null,{"open":["openChanged"]}],[2,"smoothly-frame",{"url":[1],"name":[513],"origin":[1],"send":[64]}],[6,"smoothly-label",{"hue":[2],"description":[1],"shape":[513]}],[2,"smoothly-table-demo-nested-inner",{"data":[16]}],[6,"smoothly-filter",{"detailChildren":[32],"criteria":[32],"expanded":[32]},[[0,"smoothlyFilterUpdate","updateHandler"],[0,"smoothlyFilterManipulate","manipulateHandler"],[0,"smoothlyFilterField","filterFieldHandler"]]],[6,"smoothly-filter-select",{"label":[1],"property":[1],"menuHeight":[1,"menu-height"],"multiple":[4],"type":[1],"looks":[1025]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"]]],[6,"smoothly-filter-input",{"label":[1],"property":[1],"placeholder":[1],"needle":[32]}],[2,"smoothly-notification",{"notice":[16],"closable":[4],"icon":[4],"tick":[32]},[[0,"trigger","onTrigger"]],{"notice":["onUpdatedNotice"]}],[6,"smoothly-table-filler-row"],[2,"smoothly-back-to-top",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}],[2,"smoothly-filter-toggle",{"icon":[1],"properties":[16],"toolTip":[1,"tool-tip"],"not":[4],"flip":[516],"active":[1028]}],[2,"smoothly-theme-color",{"color":[1]}],[6,"smoothly-table-row-group",{"align":[516],"open":[1540]}],[2,"smoothly-filter-field",{"criteria":[8],"clear":[64]}],[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"],[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]],{"open":["openHandler"]}],[6,"smoothly-tabs",{"tabs":[513],"tabElements":[32],"selectedElement":[32]},[[0,"smoothlyTabLoad","onInputLoad"],[0,"smoothlyTabOpen","openChanged"]],{"selectedElement":["onSelectedChange"]}],[2,"smoothly-theme-color-variant",{"color":[513],"variant":[513]}],[6,"smoothly-input-date-time",{"color":[1537],"looks":[1537],"name":[513],"changed":[1028],"readonly":[1540],"invalid":[516],"errorMessage":[513,"error-message"],"value":[1025],"open":[1028],"showLabel":[516,"show-label"],"min":[1],"max":[1],"date":[32],"hour":[32],"minute":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"date":["handleChange"],"hour":["handleChange"],"minute":["handleChange"],"value":["valueChange"]}],[6,"smoothly-input-edit",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"type":[513],"size":[513],"toolTip":[1,"tool-tip"]},[[0,"click","clickHandler"]]],[6,"smoothly-lazy",{"show":[1028],"content":[16]}],[6,"smoothly-summary",{"open":[1540],"color":[1],"fill":[1],"size":[1]},[[0,"smoothlyInputLoad","onInputLoad"],[0,"smoothlyInput","onInputLoad"]]],[6,"smoothly-table-foot"],[2,"smoothly-load-more",{"triggerMode":[1,"trigger-mode"],"name":[1],"multiple":[4],"inView":[32]}],[6,"smoothly-table-expandable-cell",{"span":[514],"open":[1540],"close":[64]},null,{"open":["openChange"]}],[6,"smoothly-table-expandable-row",{"open":[1540]},null,{"open":["openChange"]}],[6,"smoothly-trigger",{"color":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[6,"smoothly-input-checkbox",{"name":[513],"changed":[1028],"readonly":[1540],"checked":[1028],"value":[4],"looks":[1537],"color":[1537],"disabled":[516],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},null,{"checked":["elementCheck"]}],[6,"smoothly-input-color",{"value":[1025],"looks":[1537],"color":[1537],"changed":[1028],"readonly":[1540],"output":[1],"name":[513],"showLabel":[516,"show-label"],"open":[32],"sliderMode":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"]],{"value":["valueChanged"]}],[6,"smoothly-input-date-range",{"name":[513],"color":[1537],"looks":[1537],"readonly":[1540],"showLabel":[516,"show-label"],"start":[1025],"end":[1025],"placeholder":[1],"invalid":[4],"max":[1],"min":[1],"changed":[1028],"value":[32],"open":[32],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"clear":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[8,"click","onWindowClick"]],{"start":["updateValue"],"end":["updateValue"],"value":["valueChanged"]}],[6,"smoothly-input-clear",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[6,"smoothly-input-file",{"changed":[1028],"readonly":[1540],"accept":[1],"color":[1537],"looks":[1537],"camera":[513],"name":[513],"showLabel":[516,"show-label"],"value":[1040],"placeholder":[1537],"dragging":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"binary":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"value":["valueChanged"]}],[6,"smoothly-input-radio-item",{"value":[1032],"selected":[1540],"looks":[1537],"name":[1025]}],[6,"smoothly-input-radio",{"changed":[1028],"value":[1032],"looks":[1537],"color":[1537],"clearable":[4],"readonly":[1540],"name":[513],"showLabel":[516,"show-label"],"listen":[64],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyRadioItemRegister","handleRegister"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlySelect","smoothlyRadioInputHandler"]],{"value":["valueChanged"],"readonly":["watchingReadonly"]}],[6,"smoothly-table-body"],[6,"smoothly-table",{"columns":[2]},[[0,"smoothlyTableExpandableRowChange","smoothlyTableExpandableRowChange"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChange"]]],[6,"smoothly-table-head",{"scrolled":[32]}],[6,"smoothly-input-date",{"color":[1537],"looks":[1537],"name":[513],"changed":[1028],"readonly":[1540],"invalid":[4],"errorMessage":[513,"error-message"],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"showLabel":[516,"show-label"],"register":[64],"unregister":[64],"getValue":[64],"listen":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyDateSet","dateSetHandler"]],{"value":["onStart"]}],[6,"smoothly-input-reset",{"color":[1],"expand":[513],"fill":[513],"disabled":[1540],"size":[513],"shape":[513],"display":[1540],"type":[513],"tooltip":[1]},[[0,"click","clickHandler"]]],[6,"smoothly-table-cell",{"span":[514]}],[6,"smoothly-table-row",null,[[0,"smoothlyTableExpandableCellRegister","smoothlyTableExpandableCellRegisterHandler"],[0,"smoothlyTableExpandableCellChange","smoothlyTableExpandableCellChangeHandler"]]],[6,"smoothly-input-range",{"value":[1026],"looks":[1537],"color":[1537],"changed":[1028],"defined":[1028],"readonly":[1540],"type":[1],"min":[2],"max":[2],"name":[513],"step":[2],"outputSide":[1,"output-side"],"label":[1],"showInput":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyInputLooks","smoothlyInputLooksHandler"]],{"value":["valueChanged"]}],[2,"smoothly-toggle-switch",{"checkmark":[516],"selected":[1540],"disabled":[516],"size":[513],"color":[513],"fill":[513]}],[6,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]},null,{"start":["onStart"],"end":["onEnd"]}],[6,"smoothly-input-submit",{"delete":[516],"color":[1],"icon":[8],"expand":[513],"fill":[513],"disabled":[1540],"display":[1540],"shape":[513],"size":[513],"toolTip":[1,"tool-tip"]}],[6,"smoothly-input-month",{"readonly":[1540],"color":[513],"looks":[1537],"name":[513],"value":[1025],"max":[1025],"min":[1025],"next":[516],"previous":[516],"inCalendar":[516,"in-calendar"],"showLabel":[516,"show-label"],"allowPreviousMonth":[32],"allowNextMonth":[32],"register":[64],"unregister":[64],"getValue":[64],"clear":[64],"listen":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"]],{"value":["valueChanged","setAllowPreviousMonth","setAllowNextMonth"],"min":["setAllowPreviousMonth"],"max":["setAllowNextMonth"]}],[6,"smoothly-button-confirm",{"color":[1],"name":[513],"doubleClickTime":[2,"double-click-time"],"expand":[513],"fill":[1],"disabled":[516],"shape":[1],"size":[1],"clickTimeStamp":[32]}],[4,"smoothly-form",{"color":[1537],"value":[1040],"action":[1],"validator":[16],"type":[1],"readonly":[1028],"looks":[513],"name":[513],"prevent":[4],"changed":[1028],"processing":[1040],"removeInput":[64],"listen":[64],"submit":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64]},[[0,"smoothlyInputLooks","smoothlyInputLooksHandler"],[0,"smoothlyInput","smoothlyInputHandler"],[0,"smoothlyKeydown","smoothlyKeydownHandler"],[8,"smoothlyFormSubmit","windowSubmitHandler"],[0,"smoothlyFormSubmit","submitHandler"],[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"smoothlyFormDisable","smoothlyFormDisableHandler"]],{"value":["watchValue"],"readonly":["watchReadonly"]}],[2,"smoothly-spinner",{"size":[513],"overlay":[516]}],[2,"smoothly-display",{"type":[1],"label":[1],"value":[8],"collapseDepth":[2,"collapse-depth"],"toInteger":[4,"to-integer"],"currency":[1],"country":[1],"format":[16]}],[2,"smoothly-display-json",{"value":[8],"collapseDepth":[2,"collapse-depth"]}],[6,"smoothly-input-select",{"invalid":[516],"errorMessage":[513,"error-message"],"name":[513],"color":[1537],"looks":[1537],"showLabel":[516,"show-label"],"showSelected":[1540,"show-selected"],"readonly":[1540],"inCalendar":[516,"in-calendar"],"ordered":[516],"multiple":[4],"clearable":[4],"changed":[1028],"defined":[1028],"placeholder":[520],"menuHeight":[1,"menu-height"],"required":[4],"searchDisabled":[4,"search-disabled"],"mutable":[4],"open":[32],"selected":[32],"filter":[32],"addedItems":[32],"register":[64],"unregister":[64],"getValue":[64],"getItems":[64],"listen":[64],"reset":[64],"clear":[64],"edit":[64],"setInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[8,"click","onWindowClick"],[0,"smoothlyItemSelect","onItemSelect"],[0,"keydown","onKeyDown"]],{"selected":["onSelectedChange"],"required":["onRequiredChange"],"filter":["onFilterChange"],"readonly":["watchingReadonly"],"open":["onClosed"]}],[6,"smoothly-item",{"value":[8],"selected":[1540],"marked":[1540],"disabled":[516],"deselectable":[4],"filter":[64]},[[0,"click","clickHandler"]],{"selected":["selectedWatcher"]}],[2,"smoothly-display-json-object",{"value":[16],"collapseDepth":[2,"collapse-depth"],"open":[32],"empty":[32]}],[2,"smoothly-display-json-primitive",{"value":[8]}],[2,"smoothly-display-json-record-key",{"value":[8]}],[6,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"link":[1]}],[6,"smoothly-input",{"color":[1537],"looks":[1537],"name":[513],"value":[1032],"type":[513],"required":[516],"showLabel":[516,"show-label"],"autocomplete":[1],"placeholder":[513],"disabled":[4],"readonly":[1540],"toInteger":[4,"to-integer"],"currency":[513],"min":[2],"max":[2],"invalid":[516],"changed":[1028],"errorMessage":[513,"error-message"],"initialValue":[32],"state":[32],"getValue":[64],"setValue":[64],"setFocus":[64],"setSelection":[64],"listen":[64],"register":[64],"unregister":[64],"clear":[64],"edit":[64],"reset":[64],"setInitialValue":[64],"setCustomInitialValue":[64]},[[0,"smoothlyInputLoad","smoothlyInputLoadHandler"],[0,"input","onEvent"],[0,"beforeinput","onEvent"]],{"currency":["typeChange"],"type":["typeChange"],"state":["stateChange"],"value":["valueChange"],"readonly":["readonlyChange"]}],[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[513],"size":[513],"rotate":[514],"flip":[513],"toolTip":[1,"tool-tip"],"latestPromise":[32],"document":[32]},null,{"toolTip":["nameChanged"],"name":["nameChanged"]}]]],["p-542e6f79",[[2,"smoothly-input-checkbox-demo"]]],["p-884217fa",[[6,"smoothly-checkbox",{"size":[1],"checked":[1540],"intermediate":[1540],"unavailable":[516],"disabled":[516],"name":[513],"value":[8],"t":[32],"toggle":[64],"clear":[64]},null,{"checked":["unavailableChanged"],"unavailable":["unavailableChanged"]}]]],["p-87b8d337",[[6,"smoothly-color",{"color":[513]}]]],["p-451b0f1f",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["p-0e2084ab",[[6,"smoothly-submit",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"prevent":[4]},[[0,"click","clickHandler"]]]]],["p-d4de2329",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["p-d52851a6",[[6,"smoothly-trigger-source",{"listen":[1]}]]]]'),e)}));
2
2
  //# sourceMappingURL=smoothly.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAOA,IAAIA,EAAe,KAUjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EClB7BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,wgfAAuCJ,EAAA","ignoreList":[]}
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, doc, H, promiseResolve } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? Array.from(doc.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAOA,IAAIA,EAAe,KAUjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EClB7BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,8ifAAuCJ,EAAA","ignoreList":[]}
@@ -1,3 +1,4 @@
1
1
  export declare class SmoothlyTabsDemo {
2
+ extraTab: boolean;
2
3
  render(): any;
3
4
  }
@@ -1,7 +1,8 @@
1
1
  import { EventEmitter } from "../../stencil-public-runtime";
2
2
  export declare class SmoothlyTabs {
3
3
  element: HTMLSmoothlyTabsElement;
4
- tabs: HTMLElement[];
4
+ tabs: "always" | "multiple";
5
+ tabElements: HTMLElement[];
5
6
  selectedElement: HTMLSmoothlyTabElement;
6
7
  smoothlyTabOpen: EventEmitter<string>;
7
8
  onInputLoad(event: CustomEvent): void;
@@ -655,6 +655,7 @@ export namespace Components {
655
655
  "open": boolean;
656
656
  }
657
657
  interface SmoothlyTabs {
658
+ "tabs": "always" | "multiple";
658
659
  }
659
660
  interface SmoothlyTabsDemo {
660
661
  }
@@ -2817,6 +2818,7 @@ declare namespace LocalJSX {
2817
2818
  }
2818
2819
  interface SmoothlyTabs {
2819
2820
  "onSmoothlyTabOpen"?: (event: SmoothlyTabsCustomEvent<string>) => void;
2821
+ "tabs"?: "always" | "multiple";
2820
2822
  }
2821
2823
  interface SmoothlyTabsDemo {
2822
2824
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoothly",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Web component library written in Stencil.",
5
5
  "author": "Utily",
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- {"file":"p-0ce90bf9.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,gHAAgH,CAAC;AAClI,2BAAe,QAAQ;;MCMV,YAAY;;;;;oBAEO,EAAE;;;IAKjC,WAAW,CAAC,KAAkB;QAC7B,IAAI,KAAK,CAAC,MAAM,YAAYA,CAAW,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;YAC7E,IAAI,CAAC,IAAI,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;SACxC;KACD;IAGD,WAAW,CAAC,KAAkB;QAC7B,IAAI,KAAK,CAAC,MAAM,IAAI,IAAI,CAAC,OAAO,EAAE;YACjC,KAAK,CAAC,eAAe,EAAE,CAAA;YACvB,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,MAAgC,CAAA;YAC7D,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;SACvC;KACD;IAED,gBAAgB,CAAC,KAA6B,EAAE,GAA2B;QAC1E,IAAI,GAAG;YACN,GAAG,CAAC,IAAI,GAAG,KAAK,CAAA;KACjB;IAED,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,IAC/C,8DAAQ,CACF,EACP;KACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["HTMLElement"],"sources":["src/components/tabs/style.css?tag=smoothly-tabs&encapsulation=scoped","src/components/tabs/index.tsx"],"sourcesContent":[":host {\n\tdisplay: grid;\n\tgrid-template-columns: repeat(var(--tabs), auto);\n\tgrid-template-rows: auto auto;\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Listen, State, Watch } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-tabs\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyTabs {\n\t@Element() element: HTMLSmoothlyTabsElement\n\t@State() tabs: HTMLElement[] = []\n\t@State() selectedElement: HTMLSmoothlyTabElement\n\t@Event() smoothlyTabOpen: EventEmitter<string>\n\n\t@Listen(\"smoothlyTabLoad\")\n\tonInputLoad(event: CustomEvent) {\n\t\tif (event.target instanceof HTMLElement && !this.tabs.includes(event.target)) {\n\t\t\tthis.tabs = [...this.tabs, event.target]\n\t\t}\n\t}\n\n\t@Listen(\"smoothlyTabOpen\")\n\topenChanged(event: CustomEvent) {\n\t\tif (event.target != this.element) {\n\t\t\tevent.stopPropagation()\n\t\t\tthis.selectedElement = event.target as HTMLSmoothlyTabElement\n\t\t\tthis.smoothlyTabOpen.emit(event.detail)\n\t\t}\n\t}\n\t@Watch(\"selectedElement\")\n\tonSelectedChange(value: HTMLSmoothlyTabElement, old: HTMLSmoothlyTabElement) {\n\t\tif (old)\n\t\t\told.open = false\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host style={{ \"--tabs\": `${this.tabs.length}` }}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t)\n\t}\n}\n"],"version":3}
@@ -1,73 +0,0 @@
1
- import { p as proxyCustomElement, H, h } from './p-f765921a.js';
2
- import { d as defineCustomElement$6 } from './p-758edf83.js';
3
- import { d as defineCustomElement$5 } from './p-0eacf5f4.js';
4
- import { d as defineCustomElement$4 } from './p-a4614623.js';
5
- import { d as defineCustomElement$3 } from './p-e6eca6ea.js';
6
- import { d as defineCustomElement$2 } from './p-194c03be.js';
7
- import { d as defineCustomElement$1 } from './p-90b3c187.js';
8
-
9
- const styleCss = "smoothly-button-demo{display:block;margin:1rem}smoothly-button-demo>section>div{display:flex;align-items:center}smoothly-button-demo smoothly-button{margin:.2em .5em}";
10
- const SmoothlyButtonDemoStyle0 = styleCss;
11
-
12
- const SmoothlyButtonDemo = proxyCustomElement(class SmoothlyButtonDemo extends H {
13
- constructor() {
14
- super();
15
- this.__registerHost();
16
- }
17
- render() {
18
- return [
19
- h("h2", { key: 'bddbcdcb9ce5d83b6bfa7b6ecfdc6aa39a2eb566' }, "Buttons"),
20
- h("section", { key: '1a68d5f5e150439e623fa625432c0b76d84cb4da' }, h("h4", { key: 'ce297567bb70f6f61cb5c9adfce457b96a727dee' }, "Confirm button (two clicks)"), h("div", { key: '6b8561f4fe3001800c5a058e01a023361e8ff5fc' }, h("smoothly-button-confirm", { key: 'c26ec515d6e59142694394336d6c408f9d77d5c2', name: "confirm", shape: "rounded", color: "danger", size: "large" }, "Delete"), h("smoothly-button-confirm", { key: 'bc1fe30703e9469b80851611286309c2465b6708', name: "confirm-icon", shape: "rounded", color: "success", size: "icon" }, h("smoothly-icon", { key: '2c5ad6e48b66c4aac2b85dc8ea27b292b9229054', name: "checkmark-outline", size: "tiny" })), h("smoothly-button-confirm", { key: 'b00eff042a7e4ad8d84dbd5928499dfe93e0aade', name: "confirm-icon", shape: "rounded", color: "danger", size: "icon", fill: "outline" }, h("smoothly-icon", { key: '180734788ed2a6bf6dd7b833ec6e2bb8c8aa4d65', name: "trash-outline", size: "tiny", fill: "outline" }))), h("smoothly-toggle-switch-demo", { key: '05f0025358df19ae26c50e988f75488f41da289d' }), h("h4", { key: 'a9d8bcaea4a0f4faefb18091126dbcdf41f310d9' }, "Links with icons"), h("smoothly-button", { key: '167bbb5902842ca9bffce2c147d628d56e400190', type: "link" }, h("smoothly-icon", { key: 'd072acb7417bacbe2f7ecdc46aabda39cbdbfc06', name: "checkmark-circle", slot: "start" }), "type link"), h("smoothly-button", { key: '009968c3ec3174984ea7d2d0f8583283dac79cd7', type: "button", color: "warning", fill: "default" }, h("smoothly-icon", { key: 'a006bec82e32c090679bf672067786ad20ee1a1c', name: "call", slot: "start" }), h("a", { key: 'f07b7790a97c5ee46d0f9b2208c7adc6be83b578', href: "https://google.com" }, "link")), h("smoothly-button", { key: '6bc40589a121c17134918def9047a9f4c5849d92', link: "https://google.com", type: "link" }, h("smoothly-icon", { key: '7fe282e07c20828f9d3370fc652212dbfbffeb22', name: "arrow-forward", slot: "end" }), "link + type link"), h("h4", { key: '8ba8336502afd8345f6fb4e4fab960482ae518a8' }, "Size and Color test"), h("smoothly-button", { key: '8853f3af8f2a529da7b4e852bb97b683b83305df', color: "primary", fill: "solid", size: "small", shape: "rounded" }, "Color Primary + Small"), h("smoothly-button", { key: '58bacfecc8658277fce79ca8c92b09269d98dd9a', color: "secondary", fill: "solid", shape: "rounded" }, "Color Secondary + Default"), h("smoothly-button", { key: 'ad0d74e0a69340b75589a4758a09aac2dcb76f00', color: "warning", fill: "solid", size: "large" }, "Color Warning + Large"), h("smoothly-button", { key: '440876e5df141e0c8ac44027661f8e575921699f', color: "danger", fill: "solid", size: "small", shape: "rounded" }, "Color Danger + Small"), h("smoothly-button", { key: '2c7792f5eab260fc72dea8d02a69f870e017c461', color: "success", fill: "solid", size: "small", shape: "rounded" }, "Color Success + Small"), h("smoothly-button", { key: 'e6a5713a3f4c683442c44c7dce5d4b14d5ed137b', color: "tertiary", fill: "solid", size: "small", shape: "rounded" }, "Color Tertiary + Small"), h("smoothly-button", { key: '9344764b926c4b7620a116f7811c569e2825440d', color: "dark", fill: "solid", size: "small", shape: "rounded" }, "Color Dark + Small"), h("smoothly-button", { key: '47ee717243171483731ddb1645c4769dc02386e8', color: "medium", fill: "solid", size: "small", shape: "rounded" }, "Color Medium + Small"), h("smoothly-button", { key: 'fcb45ba51f2efd49e3bb1601213d3e7ad020fbbd', color: "light", fill: "solid", size: "small", shape: "rounded" }, "Color Light + Small"), h("h4", { key: '2445eacd62ea0749ed0bdcd7a624fc9d0003b69e' }, "Expand examples"), h("smoothly-button", { key: '9cdb6cfac5d2806e522c2764aaf4f3f8b24bd81c', color: "secondary", fill: "solid", expand: "full" }, "Color Secondary + Default"), h("smoothly-button", { key: '72c233f139b871a57202f29cc3f2d26bd45900a2', color: "warning", fill: "solid", expand: "block" }, "Color Warning + Large"), h("h4", { key: 'b6912697d2018ba136133d3d21349c8fade175fb' }, "Fill examples"), h("div", { key: 'e4095adae1b21cac1437407a4b032ebf2b5857fb' }, h("smoothly-button", { key: '537fb2c0df80f137e082ff7b0cfd3fd6dd0dbe46', shape: "rounded", color: "primary", fill: "solid" }, h("smoothly-icon", { key: '9982e7b95ca149470e6d5b34967f46cad195a35f', name: "checkmark-circle", slot: "start" }), "Fill Solid"), h("smoothly-button", { key: '9a7021a7c1743c2c46a8a67159d2cda23e4579c2', shape: "rounded", color: "secondary", fill: "outline" }, h("smoothly-icon", { key: '469608b3bfc55b192d773f42ef70e567795ca455', name: "checkmark-circle", slot: "start" }), "Fill Outline"), h("smoothly-button", { key: '52a5d266726a031d6b66b3a1180ad37623dd74c9', shape: "rounded", color: "tertiary", fill: "clear" }, h("smoothly-icon", { key: '94e036929040b6ac859a055bde8ad09e804ad1fd', name: "checkmark-circle", slot: "start" }), "Fill Clear"), h("smoothly-button", { key: 'f48dfdc3b4151689bfe7c3f069156b8e97ccd485', size: "icon", shape: "rounded", color: "success", fill: "solid" }, h("smoothly-icon", { key: '729e24c3f27ee5ee5d9ac91a872d0ebaf232ef06', name: "basketball" }))), h("h4", { key: 'f6925e64d522c3049c3df03ae5572e7cb79b91aa' }, "Buttons with Icon in \"start\""), h("div", { key: '4caf500f1fc1e0bc4fdefbada8053ec53d919859' }, h("smoothly-button", { key: '69248dd64f9f1e6bd2eb72d9bb060d2adc95230e', shape: "rounded", fill: "solid", color: "warning" }, h("smoothly-icon", { key: '326c813748e85699bf9378ae903f82c3a94a99fe', name: "checkmark-circle", slot: "start" }), "Check"), h("smoothly-button", { key: 'e32f179237d11e7168f6b9d86584a941e7c132ba', shape: "rounded", fill: "solid", color: "secondary" }, h("smoothly-icon", { key: 'ac60c8faa7ee073a8193a670c1f4195331930f43', name: "basketball", slot: "start" }), "Check"), h("smoothly-button", { key: '19388cc01865030341d6e481e17f2b8201f7e2a2', shape: "rounded", fill: "solid", color: "success" }, h("smoothly-icon", { key: '9ef487e2d5ee74050fb1d544d2cd38cba4e031ff', name: "call", slot: "start" }), "Check"), h("smoothly-button", { key: '551d64ac42aff595a46024e330dd09db0985f958', size: "icon", fill: "solid", shape: "rounded", color: "success" }, h("smoothly-icon", { key: 'c834b6e258f7a992a28349103b8029384fde8a60', name: "call" })), h("smoothly-button", { key: '747732c4f71779e75dd1e28f1279afbb5ca9977f', size: "flexible", fill: "solid", color: "success" }, h("smoothly-icon", { key: '39095a422a92dae1516d70fc6cd307886dd44f8d', name: "airplane" }))), h("h4", { key: 'bbbc29959dfe655b2d9cce283dea0fb02429a834' }, "Buttons with Icon in \"end\""), h("smoothly-button", { key: '24d19a5ecc1208b8a918027a8e32b7148554380e', fill: "solid", color: "light" }, "Go Forward", h("smoothly-icon", { key: '263940589ee234ba91a0ee6d80474b3df208a27f', name: "arrow-forward", slot: "end" })), h("h4", { key: '94736445a17a3cf6880880463e181f50b41e919a' }, "Test for icon button"), h("div", { key: '445605a6a79169dff7f1d8fc06afe4aa71279fc5' }, h("smoothly-button", { key: 'e2bf3d70b09f51ef033160538ee894ed7e5a5704', size: "icon", fill: "solid", shape: "rounded", color: "success" }, h("smoothly-icon", { key: 'bb6eeb8eefa8c9ded0804b62976fa3dea30e6f04', name: "call" })), h("smoothly-button", { key: '0dc78ad3f658c896c2f1094dbb378319ce081b7e', size: "icon", shape: "rounded", color: "warning", fill: "solid" }, h("smoothly-icon", { key: 'a07d3a8a103b9ce19b11b91f2464b8e7089d1337', name: "search-outline" })), h("smoothly-button", { key: '0408dea25ae083f2427cf347677914478426dbbc', size: "icon", shape: "rounded", color: "secondary" }, h("smoothly-icon", { key: '38337dd0de50a5dcfe4d1ccd070826cfc0cd6124', name: "checkmark-circle" }))), h("h4", { key: '15e4d907e44d0c9191acf970a7ffa718b0baf537' }, "Link examples"), h("div", { key: 'f966263b0a25dd27dc146a28ba03774813c6469a' }, h("smoothly-button", { key: 'b1a65a0fd62273af3cb6d982ee98c7a1c565fb20', type: "link" }, "type link"), h("smoothly-button", { key: '2b19c2d53a823dcc74426b12309e6854d3a4923d', type: "button", fill: "clear" }, h("a", { key: '45c4ce410828bfb775464872aaa7e6ab6e0e800e', href: "https://google.com" }, "link")), h("smoothly-button", { key: 'c98b71da6960956e031b99d23e53cc5a123341a3', link: "https://google.com", type: "link" }, "link + type link")), h("h4", { key: '559ef66961156a0c954e7a6009283a8328a4dd48' }, "Disabled buttons"), h("div", { key: '5856c23cde78acfc84c73b78aaa5c1b1f1e82c43' }, h("smoothly-button", { key: '6da6041b5d6b51adc0cc19ecf074412d7183fe7b', disabled: true, fill: "solid", color: "secondary" }, "Disabled"), h("smoothly-button", { key: '57e28f82cf722df8dc9ecfb0bff304a345e27018', type: "link", link: "https://google.com", disabled: true }, "Disabled link"))),
21
- h("smoothly-back-to-top", { key: 'a1d78b61fcc3da58bd3f8683fbeccb34bbcb3ef3' }),
22
- ];
23
- }
24
- static get style() { return SmoothlyButtonDemoStyle0; }
25
- }, [0, "smoothly-button-demo"]);
26
- function defineCustomElement() {
27
- if (typeof customElements === "undefined") {
28
- return;
29
- }
30
- const components = ["smoothly-button-demo", "smoothly-back-to-top", "smoothly-button", "smoothly-button-confirm", "smoothly-icon", "smoothly-toggle-switch", "smoothly-toggle-switch-demo"];
31
- components.forEach(tagName => { switch (tagName) {
32
- case "smoothly-button-demo":
33
- if (!customElements.get(tagName)) {
34
- customElements.define(tagName, SmoothlyButtonDemo);
35
- }
36
- break;
37
- case "smoothly-back-to-top":
38
- if (!customElements.get(tagName)) {
39
- defineCustomElement$6();
40
- }
41
- break;
42
- case "smoothly-button":
43
- if (!customElements.get(tagName)) {
44
- defineCustomElement$5();
45
- }
46
- break;
47
- case "smoothly-button-confirm":
48
- if (!customElements.get(tagName)) {
49
- defineCustomElement$4();
50
- }
51
- break;
52
- case "smoothly-icon":
53
- if (!customElements.get(tagName)) {
54
- defineCustomElement$3();
55
- }
56
- break;
57
- case "smoothly-toggle-switch":
58
- if (!customElements.get(tagName)) {
59
- defineCustomElement$2();
60
- }
61
- break;
62
- case "smoothly-toggle-switch-demo":
63
- if (!customElements.get(tagName)) {
64
- defineCustomElement$1();
65
- }
66
- break;
67
- } });
68
- }
69
- defineCustomElement();
70
-
71
- export { SmoothlyButtonDemo as S, defineCustomElement as d };
72
-
73
- //# sourceMappingURL=p-10ecc565.js.map
@@ -1,176 +0,0 @@
1
- import { p as proxyCustomElement, H, c as createEvent, h } from './p-f765921a.js';
2
- import { D as Date } from './p-390767c7.js';
3
- import { C as Color } from './p-57ac5d1b.js';
4
- import { N as Notice } from './p-ef01331e.js';
5
- import './p-47ea6b68.js';
6
- import { d as defineCustomElement$b } from './p-0eacf5f4.js';
7
- import { d as defineCustomElement$a } from './p-11cc925c.js';
8
- import { d as defineCustomElement$9 } from './p-b8107946.js';
9
- import { d as defineCustomElement$8 } from './p-ff99dcde.js';
10
- import { d as defineCustomElement$7 } from './p-51cb1946.js';
11
- import { d as defineCustomElement$6 } from './p-21601376.js';
12
- import { d as defineCustomElement$5 } from './p-d9989605.js';
13
- import { d as defineCustomElement$4 } from './p-e6eca6ea.js';
14
- import { d as defineCustomElement$3 } from './p-67370f30.js';
15
- import { d as defineCustomElement$2 } from './p-f21f43d1.js';
16
- import { d as defineCustomElement$1 } from './p-a91db04a.js';
17
-
18
- const SmoothlyDisplayDemo = proxyCustomElement(class SmoothlyDisplayDemo extends H {
19
- constructor() {
20
- super();
21
- this.__registerHost();
22
- this.notice = createEvent(this, "notice", 7);
23
- this.downloadingSpinner = undefined;
24
- }
25
- noticeWarning(notice) {
26
- console.log("emit", notice);
27
- this.notice.emit(notice);
28
- }
29
- render() {
30
- return [
31
- h("main", { key: '21fb2b79f1e444d11b25150a336ce64e74f94386' }, h("fieldset", { key: '8b8ef87a351e4cb8754f44f74ad31185db62b0cb' }, h("h2", { key: 'e466ccf59ad1f4e2a41c8dd1b1d85da6b37c8f95' }, "Smoothly display"), h("dl", { key: 'acb593cb9a73566cc3defcc55eede3a7710a42b0' }, h("dt", { key: '9ccdcb7f5e3f55ea39d78b8ed6e75edb5f4a4c96' }, "Duration"), h("dd", { key: 'b7c93ccc874874faabe5e313ba204795a19adfc0' }, h("div", { key: 'd6e3d99849191e6d8effae216348bd634a4114b2' }, h("div", { key: 'bb64f8e9518218a499d0e52b5df759b31093e0e0' }, h("smoothly-display", { key: '151b7ca20847a1e41701d3c93ad780a222f990fb', style: { display: "inline" }, type: "duration", value: { hours: 13, minutes: 100 } }), " h"), h("div", { key: '72035e5cab01fd9a06d2782ba1255c2f86cbfdac' }, h("smoothly-display", { key: '0f4723aac6e41aa4a7e29b0456e4661066b28985', style: { display: "inline" }, type: "duration", value: { hours: 8 } }), " h"), h("div", { key: '1346fe1098e87dab09ae4268fab19f7eb18cd949' }, h("smoothly-display", { key: '5e70c627fe2dc9e1d65cfec40fa63a36d419466f', style: { display: "inline" }, type: "duration", value: { minutes: 3 } }), " h"), h("div", { key: '24beed45ab0c2cb2703d97ddecb72b767f19d989' }, h("smoothly-display", { key: 'a57ee2a431537bffe6d8a630c2466e342a10f089', style: { display: "inline" }, type: "duration", value: { hours: -13, minutes: 100 } }), " h"), h("div", { key: '44f65151109d00905e996e9205d71588ecabaea3' }, h("smoothly-display", { key: '5c0a01aca2d99cb82c66701d4c7d7de26043d987', style: { display: "inline" }, type: "duration", value: { hours: -8 } }), " h"), h("div", { key: '18cbc082f3d8f71f3ba6c6b7eb3a977b13d45268' }, h("smoothly-display", { key: 'a5bbf74186f51ce22f6eceb8396f215e7b0fc297', style: { display: "inline" }, type: "duration", value: {} }), " h"), h("div", { key: '1d2361cec57f38f40636641702f92100ebcd9122' }, h("smoothly-display", { key: 'a561ef92252a23064e7f7f7ffca3314a099329f2', style: { display: "inline" }, type: "duration", value: { minutes: -3 } }), " h"))), h("dt", { key: 'ab7b23c9c2ad57ceb6a2ce75d8f0a4e93439e610' }, "text"), h("dd", { key: '8913158f3f3a5c4012ae94a3f1b38442fcb5aff2' }, h("smoothly-display", { key: '13d54b85dcf178d480c8c834c79c47231c785aa6', type: "text", value: "text" })), h("dt", { key: 'e3c43484f7cc87eb9bf67d6474bc9552dbd643bd' }, "postal code"), h("dd", { key: '0df2d428a7847b3ddf436d2e9db2fe367f41df80' }, h("smoothly-display", { key: '8550c5ee46cc4e0c1bb956b2dbf8a62c452aee30', type: "postal-code", value: "752 31" })), h("dt", { key: '1b06810c083306938ce8d25b5582a15cb066b085' }, "password"), h("dd", { key: 'b078c56b5a9d62e23b9d9b8ab6cd4d10798aa726' }, h("smoothly-display", { key: '773204df4456963fbcc5cc26416c40f8111e43d0', type: "password", value: "password" })), h("dt", { key: '38c93b73ae2830ef7995f9c6d93d62c1ba019680' }, "email"), h("dd", { key: '3f822f17d630c3388155a66e97e0bbb6fb7c3951' }, h("smoothly-display", { key: 'f31678fe3df819cdc266876c54a1d810e9fbf9e8', type: "email", value: "test@example.com" })), h("dt", { key: '9abf27aa6b2a6ffc035f14adc1204e620d8061ce' }, "price"), h("dd", { key: '15a0e06145971b2c14abb0250cbb7edcea81483b' }, h("smoothly-display", { key: '256922cd4e8c86be1707c1ddc9d9e8550fe7b5b3', type: "price", value: "13.37", currency: "SEK" })), h("dt", { key: '84e0e9b898c72e2390a5b50cc2445a988a845a60' }, "price without decimals"), h("dd", { key: '3979f33c43640eb1376a533755cc39ac1a8c17b3' }, h("smoothly-display", { key: '04afd00d763536c5b1faa310074726f346914114', type: "price", value: 200, currency: "SEK", toInteger: true })), h("dt", { key: '28c9ddc91d2ceb52a7bd60577570a0ece1ef1704' }, "price with decimals if they are set, otherwise no decimal"), h("dd", { key: 'e2ae34d84db38387ee3d81b474a606b7b3d40742' }, h("smoothly-display", { key: 'a8c053147e77e15ba5a6a7d372d24d0948d67bd0', type: "price", value: 200.2, currency: "SEK", toInteger: true })), h("dt", { key: 'a42173872dac85db0f822c70e69baef5a244b4ef' }, "price with decimals"), h("dd", { key: '4034e3ca1bde5f9ba3f5cdca710d3757b7e12955' }, h("smoothly-display", { key: '0a07c33c6bf9b14aeafcbbff3e9f6d2817eb7230', type: "price", value: 200.2, currency: "SEK" })), h("dt", { key: '701bee2385a94b38bf90f58b3dc4fb65458188e6' }, "percent"), h("dd", { key: 'e1b856b2059122d2c80e5c242bb95429bca4caeb' }, h("smoothly-display", { key: '2682ebd78e2753fc2b1d558e00cf10eec0449c83', type: "percent", value: "42" })), h("dt", { key: 'd6504232e42d7bd6fb239b24f8065677bfe7f5ce' }, "phone"), h("dd", { key: '3b2cf4c53cf6b6fba8687ab994d6ded634d60046' }, h("smoothly-display", { key: '1cb2c5406dfbec1db57c05be5f59f828b005cb17', type: "phone", value: "0101881108" })), h("dt", { key: '94ee7083b2d5eef22e7ff0e15c460f6fd863db9e' }, "card number"), h("dd", { key: '97954e5e4d12f6be04096006d51ea6c9ac3e7fa3' }, h("smoothly-display", { key: '027c2522274e6e23f6cda08da141b24432671837', type: "card-number", value: "4111111111111111" })), h("dt", { key: '77cda0ed14b7a75ef02966d1b29bf94b6d5fe6ef' }, "card expires"), h("dd", { key: 'e2c1cbe5353efc0bea8435181499188bcdf8d051' }, h("smoothly-display", { key: '4aab5bf769fb89cadd2bf3fbb279a219e668c85d', type: "card-expires", value: "7/22" })), h("dt", { key: 'ecb64258605dbce40b3b6b8f51ec1922046ecd44' }, "card csc"), h("dd", { key: 'b37ef76653942f81a110df017f26c4c5699f32ad' }, h("smoothly-display", { key: 'e9cb2787e18d88f2cde4559c90f8ad9d45889d51', type: "card-csc", value: "987" })), h("dt", { key: 'f028f598bc51de708361494c66264047b8ab777e' }, "date"), h("dd", { key: '8900bb90156489b4cc9d22c663c9a2f5f80b1062' }, h("smoothly-display", { key: 'c31d4cf0631bf5495c9286bcc87a37c056ac6308', type: "date", value: "2022-07-07" })), h("dt", { key: 'a9df319e34d74e6ec9ef36e9f9128cda2df9043b' }, "date time"), h("dd", { key: 'f57d07c19738d28a60e0138cc827218a0f1ef7af' }, h("smoothly-display", { key: '663d9cfa4235e90f6a8231b9c7c7d6d0bd4beb4b', type: "date-time", format: {
32
- year: "numeric",
33
- month: "short",
34
- day: "numeric",
35
- hour: "numeric",
36
- minute: "numeric",
37
- second: "numeric",
38
- }, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '664a74d91f65917bff18734fd100347533fb9b4e' }, h("smoothly-display", { key: '456469ffdc5ccdea880ad86f92b9a29c183dcdba', type: "date-time", format: {
39
- year: "2-digit",
40
- month: "long",
41
- day: "2-digit",
42
- hour: "2-digit",
43
- minute: "2-digit",
44
- second: "2-digit",
45
- }, value: "2022-07-07T02:02:02Z" })), h("dd", { key: '6714499c457900dee5e2cd5bedbba3ef7083b749' }, h("smoothly-display", { key: '4fea3c22e9402170205a5019a17850576fbb06f7', type: "date-time", format: {
46
- year: "numeric",
47
- month: "2-digit",
48
- day: "2-digit",
49
- hour: "numeric",
50
- minute: "numeric",
51
- second: "numeric",
52
- }, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '79c14cffa0634ab2af6fd3ba014d081e28e38319' }, h("smoothly-display", { key: 'd5559326f39e2f5bc8311135176b5eedb4ed2870', type: "date-time", format: {
53
- year: "numeric",
54
- month: "numeric",
55
- day: "numeric",
56
- hour: "numeric",
57
- minute: "numeric",
58
- second: "numeric",
59
- }, value: "2022-07-07T12:22:24Z" })), h("dd", { key: '419b427db910e49fd541de31e95c7dd3dbd2811e' }, h("smoothly-display", { key: 'ebd569c36dd017c14523ee1efc8925c622f7747e', type: "date-time", format: { year: "numeric", month: "short", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: '6df381d322a21b50ad70fc41fee8800721ca0889' }, h("smoothly-display", { key: '1ace79e51e8285e5124158f567a73508833bdcb4', type: "date-time", format: { year: "2-digit", month: "numeric", day: "numeric" }, value: "2022-07-07T00:00+02:00" })), h("dd", { key: 'dbdc1a002cab9e951678621ad394c1237e91f3f1' }, h("smoothly-display", { key: '529e5cd2b7f4bde6b06dfb51832cb4cb498c3447', type: "date-time", format: {
60
- year: "2-digit",
61
- month: "numeric",
62
- day: "numeric",
63
- hour: "2-digit",
64
- minute: "2-digit",
65
- second: "2-digit",
66
- timeZone: "Europe/Stockholm",
67
- }, value: "2022-07-07T12:15Z" })), h("dt", { key: 'd7b788672f67fbf1d0528f604ef1e77673d2e69f' }, "Display JSON"), h("dd", { key: '87a892e6845db8618efd46d571e8a90f30ce1e6d' }, h("smoothly-display-demo-json", { key: 'f66473975507a01af105282f01f640c1baaa88ae' })))), h("h2", { key: '084965cafe76cf10bac4804c82ea460c0960f7da' }, "With labels"), h("dd", { key: '395e03618fc767dcca6b12386286a97c83882686' }, h("smoothly-display", { key: 'd5f90cfeaad01ea046ed543f54e70b089c91463d', label: "Today", type: "date", value: Date.now() }), h("smoothly-display", { key: '3333769695dd0b7e0d54fd729f2b3b59dc34737c', label: "Total amount", type: "price", currency: "SEK", value: 6789 }), h("smoothly-display", { key: '57070580aa9096b1d273bb7cb51a6ac82e22f9ca', label: "Total amount", type: "price", currency: "GBP", value: 678.9 }), h("smoothly-display", { key: 'b4af7875200f61caf1c51f969c61362af7b3d402', label: "Logs", type: "json", value: [
68
- { type: "trace", message: "Hello" },
69
- { type: "error", message: "Oh no!" },
70
- ] })), h("fieldset", { key: '411e5133a5c4bf2d36ad1c6b00cf549e769d7665' }, h("h2", { key: '536dd0526204b6d389c670c576f32bca45c3630e' }, "Test of different kinds of notifier"), h("button", { key: '2faebb0bcea77262e0a18b5e8a375bef7b5de11b', onClick: () => this.noticeWarning(Notice.warn("This is a test warning notice.")) }, "warning"), h("button", { key: '21181f519f1bfe818fcc084596be2317fe541968', onClick: () => this.noticeWarning(Notice.succeeded("This is a test success notice.")) }, "success"), h("button", { key: 'c67c4056842c761165115333bb079165609208f1', onClick: () => this.noticeWarning(Notice.failed("This is a test danger notice.")) }, "danger"), h("button", { key: 'a42b0b8a77b40fa6ddea705306634489abaec09b', onClick: () => this.noticeWarning(Notice.execute("This is a test execute notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "execute"), h("button", { key: 'd651ea26abb9ce9dd336b45ded8849fc4a00c56a', onClick: () => this.noticeWarning(Notice.delay("This is a test delay notice.", () => new Promise(resolve => window.setTimeout(() => resolve([true, "This went great"]), 3000)))) }, "delay")), h("fieldset", { key: '91b1d46f457a5261ddff3a1bc67db822190f0591' }, h("h2", { key: 'd46c2765def7f55a8bd225dbd9f1c5379029878b' }, "Smoothly spinner"), h("div", { key: 'efb40135dbbbd78e6ba4c9927ff212178a3da9eb', style: { width: "fit-content" } }, "Large", h("smoothly-spinner", { key: '70616018eb896ff0bd28744b504fec5c416f1b45', size: "large", style: {
71
- "--spinner-background": "200,255,200",
72
- "--spinner-background-opacity": "0.2",
73
- "--spinner-color": "0,130,0",
74
- } })), h("div", { key: '585aff079f29aaeb3319268ebcf3857bec165942', style: { width: "fit-content" } }, "Medium", h("smoothly-spinner", { key: 'd46336b4e6fe98d2d2958c3047747b07d7999fe8', size: "medium" })), h("div", { key: '47db1735399b1b59e582b94229c4fdc51389b51d', style: { width: "fit-content" } }, "Small", h("smoothly-spinner", { key: '8292ad153260c3cd3d26ad597effa2356e913ca9', size: "small" })), h("div", { key: '45ed5bea68185714286757dfa56d14b5987c3a19' }, "Icon sized spinner on button", Color.values.map(color => (h("smoothly-button", { size: "icon", color: color, shape: "rounded", onClick: () => {
75
- this.downloadingSpinner = true;
76
- setTimeout(() => (this.downloadingSpinner = false), 3000);
77
- } }, !this.downloadingSpinner && h("smoothly-icon", { name: "download-outline" }), this.downloadingSpinner && (h("smoothly-spinner", { size: "icon", style: { "--spinner-background-opacity": "0" } })))))), h("h3", { key: 'f4f8637fd7928426d61b262cb5b286903d5a9edc' }, "Spinner with overlay"), h("div", { key: '11880b67e3425ca7b1aa96fe1f0be53613cadce6', style: { position: "relative", height: "10em" } }, "Large Overlay Spinner", h("smoothly-spinner", { key: '26d08b7f6d5c14f03643521e41d399d57567c2a0', overlay: true, size: "large", style: {
78
- "--spinner-background": "255,200,255",
79
- "--spinner-background-opacity": "0.5",
80
- "--spinner-color": "0,130,0",
81
- } })), h("div", { key: '2092cd92eb0a8797cf30e05692e632c0b9a3a09e', style: { position: "relative", height: "10em" } }, "Medium Overlay Spinner", h("smoothly-spinner", { key: 'bf7a3539c259ad7a1e84ce233dd6e3840436c834', overlay: true, color: "secondary", size: "medium" })), h("div", { key: '21f2f4a511fab1672bf573336403dd6a073c3b2a', style: { position: "relative", height: "10em" } }, "Small Overlay Spinner", h("smoothly-spinner", { key: '9d1e787b73a9158de842d116ef1b9367a43658f7', overlay: true, size: "small" }))), h("fieldset", { key: 'c69bac882a363b3de75857289acde3ee240de84b' }, h("h2", { key: '48f6bba196c4a8ac79b6de5563fcdabe176f9a09' }, "Smoothly summary"), h("smoothly-summary", { key: 'e127119ddebe9ac42d447384a277f8f3785d0bd2' }, h("p", { key: '38fcd455229b895a477b8d6a0f608492c19be7d1', slot: "summary" }, "Some title"), h("p", { key: '1da7ba6e1a5c72e29bcd42c5d1e2469bb38c0e24', slot: "content" }, "Some content")), h("smoothly-summary", { key: '8cd4afa538a5ad269741acf3cffe3730e7613c41', size: "large" }, h("p", { key: '751fe6f320fdccd799a43f9a6b4c82a6e4e4c075', slot: "summary" }, "Some title"), h("p", { key: 'e7549c895b88cf20bf368c66f5e126a9c3407677', slot: "content" }, "Some content")), h("smoothly-summary", { key: 'ab35b1c6a284eb8f3b913f31726b0fbc88132915', color: "danger", fill: "clear" }, h("div", { key: '40b066f48899e2bab7e5a0601f18f02ede99aaca', slot: "summary", style: { display: "flex", gap: "0.3rem" } }, h("span", { key: '877b910238083ce23c9b6130438b1db664200158' }, "Person"), h("smoothly-icon", { key: '653ab4903ed6b6631ff9edeab0db9a98626644e3', name: "person", color: "light", fill: "clear", size: "tiny" })), h("p", { key: 'b6a604da7924a87bea1e2615cd5d13634e214daf', slot: "content" }, "Some person information.")), h("smoothly-summary", { key: 'e2333f4c0ae45eaaa8f36bf06a0304080560811e', color: "danger", fill: "clear", open: true }, h("p", { key: 'f1f8a5c4fbcc13754598489d36ec5867106e851f', slot: "summary" }, "Some other title"), h("p", { key: 'd24ba7bf492e8630ddd5d08644f74783908792ae', slot: "content" }, "A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please.A lot more content, yes please. A lot more content, yes please. A lot more content, yes please. A lot more content, yes please.")), h("h2", { key: 'cad39175e8ad87abb419ff9aa9bbc6ff281b6055' }, "Label"), labels.map(l => (h("smoothly-label", { hue: l.hue, description: l.description, shape: "rectangle" }, l.name))), h("smoothly-label", { key: '4e1ef4a7f3d2dacc84cdd6520b2e39ed66249745', color: "primary", description: "Using colors", shape: "rectangle" }, "Primary"))),
82
- ];
83
- }
84
- }, [0, "smoothly-display-demo", {
85
- "downloadingSpinner": [32]
86
- }]);
87
- const labels = [
88
- {
89
- name: "2fa",
90
- hue: 120,
91
- description: "User has two factor authentication enabled.",
92
- },
93
- {
94
- name: "expired",
95
- hue: 240,
96
- description: "User's password has expired.",
97
- },
98
- {
99
- name: "inactive",
100
- hue: 60,
101
- description: "User is inactive.",
102
- },
103
- ];
104
- function defineCustomElement() {
105
- if (typeof customElements === "undefined") {
106
- return;
107
- }
108
- const components = ["smoothly-display-demo", "smoothly-button", "smoothly-display", "smoothly-display-demo-json", "smoothly-display-json", "smoothly-display-json-object", "smoothly-display-json-primitive", "smoothly-display-json-record-key", "smoothly-icon", "smoothly-label", "smoothly-spinner", "smoothly-summary"];
109
- components.forEach(tagName => { switch (tagName) {
110
- case "smoothly-display-demo":
111
- if (!customElements.get(tagName)) {
112
- customElements.define(tagName, SmoothlyDisplayDemo);
113
- }
114
- break;
115
- case "smoothly-button":
116
- if (!customElements.get(tagName)) {
117
- defineCustomElement$b();
118
- }
119
- break;
120
- case "smoothly-display":
121
- if (!customElements.get(tagName)) {
122
- defineCustomElement$a();
123
- }
124
- break;
125
- case "smoothly-display-demo-json":
126
- if (!customElements.get(tagName)) {
127
- defineCustomElement$9();
128
- }
129
- break;
130
- case "smoothly-display-json":
131
- if (!customElements.get(tagName)) {
132
- defineCustomElement$8();
133
- }
134
- break;
135
- case "smoothly-display-json-object":
136
- if (!customElements.get(tagName)) {
137
- defineCustomElement$7();
138
- }
139
- break;
140
- case "smoothly-display-json-primitive":
141
- if (!customElements.get(tagName)) {
142
- defineCustomElement$6();
143
- }
144
- break;
145
- case "smoothly-display-json-record-key":
146
- if (!customElements.get(tagName)) {
147
- defineCustomElement$5();
148
- }
149
- break;
150
- case "smoothly-icon":
151
- if (!customElements.get(tagName)) {
152
- defineCustomElement$4();
153
- }
154
- break;
155
- case "smoothly-label":
156
- if (!customElements.get(tagName)) {
157
- defineCustomElement$3();
158
- }
159
- break;
160
- case "smoothly-spinner":
161
- if (!customElements.get(tagName)) {
162
- defineCustomElement$2();
163
- }
164
- break;
165
- case "smoothly-summary":
166
- if (!customElements.get(tagName)) {
167
- defineCustomElement$1();
168
- }
169
- break;
170
- } });
171
- }
172
- defineCustomElement();
173
-
174
- export { SmoothlyDisplayDemo as S, defineCustomElement as d };
175
-
176
- //# sourceMappingURL=p-42fba537.js.map