smoothly 1.0.0-alpha.13 → 1.0.0-alpha.131

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 (416) hide show
  1. package/dist/cjs/{Listenable-63ea2d90.js → Data-e345d3cd.js} +74 -4
  2. package/dist/cjs/Data-e345d3cd.js.map +1 -0
  3. package/dist/cjs/Observers-6450f075.js +25 -0
  4. package/dist/cjs/Observers-6450f075.js.map +1 -0
  5. package/dist/cjs/{getLanguage-430ecf04.js → getLanguage-28ce96e4.js} +1111 -890
  6. package/dist/cjs/getLanguage-28ce96e4.js.map +1 -0
  7. package/dist/cjs/{index-8352a4e0.js → index-6ae370b4.js} +12 -43
  8. package/dist/cjs/index-6ae370b4.js.map +1 -0
  9. package/dist/cjs/index.cjs.js +386 -22
  10. package/dist/cjs/index.cjs.js.map +1 -1
  11. package/dist/cjs/loader.cjs.js +4 -3
  12. package/dist/cjs/loader.cjs.js.map +1 -1
  13. package/dist/cjs/redirect-2e5d4524.js +104 -0
  14. package/dist/cjs/redirect-2e5d4524.js.map +1 -0
  15. package/dist/cjs/smoothly-accordion_70.cjs.entry.js +17204 -0
  16. package/dist/cjs/smoothly-accordion_70.cjs.entry.js.map +1 -0
  17. package/dist/cjs/smoothly-address-display.cjs.entry.js +1 -1
  18. package/dist/cjs/smoothly-address.cjs.entry.js +1 -1
  19. package/dist/cjs/smoothly-addresses.cjs.entry.js +1 -1
  20. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  21. package/dist/cjs/smoothly-country.cjs.entry.js +9 -9
  22. package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
  23. package/dist/cjs/smoothly-display-date-time.cjs.entry.js +26 -0
  24. package/dist/cjs/smoothly-display-date-time.cjs.entry.js.map +1 -0
  25. package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
  26. package/dist/cjs/smoothly-radio-group.cjs.entry.js +1 -1
  27. package/dist/cjs/smoothly-reorder.cjs.entry.js +4 -4
  28. package/dist/cjs/smoothly-reorder.cjs.entry.js.map +1 -1
  29. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +4 -4
  30. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js.map +1 -1
  31. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +6 -6
  32. package/dist/cjs/smoothly-trigger-source.cjs.entry.js.map +1 -1
  33. package/dist/cjs/smoothly.cjs.js +4 -3
  34. package/dist/cjs/smoothly.cjs.js.map +1 -1
  35. package/dist/collection/collection-manifest.json +23 -12
  36. package/dist/collection/components/Button.js +16 -2
  37. package/dist/collection/components/Button.js.map +1 -1
  38. package/dist/collection/components/accordion/index.js +32 -12
  39. package/dist/collection/components/accordion/index.js.map +1 -1
  40. package/dist/collection/components/accordion-item/index.js +18 -25
  41. package/dist/collection/components/accordion-item/index.js.map +1 -1
  42. package/dist/collection/components/app/index.js +147 -1
  43. package/dist/collection/components/app/index.js.map +1 -1
  44. package/dist/collection/components/app/room/index.js +240 -0
  45. package/dist/collection/components/app/room/index.js.map +1 -0
  46. package/dist/collection/components/app/room/style.css +55 -0
  47. package/dist/collection/components/app/style.css +89 -101
  48. package/dist/collection/components/app-demo/index.js +5 -19
  49. package/dist/collection/components/app-demo/index.js.map +1 -1
  50. package/dist/collection/components/backtotop/index.js +3 -3
  51. package/dist/collection/components/backtotop/index.js.map +1 -1
  52. package/dist/collection/components/burger/index.js +174 -0
  53. package/dist/collection/components/burger/index.js.map +1 -0
  54. package/dist/collection/components/burger/style.css +22 -0
  55. package/dist/collection/components/button/index.js +10 -23
  56. package/dist/collection/components/button/index.js.map +1 -1
  57. package/dist/collection/components/button/style.css +13 -17
  58. package/dist/collection/components/button-demo/index.js +6 -2
  59. package/dist/collection/components/button-demo/index.js.map +1 -1
  60. package/dist/collection/components/button-demo/style.css +1 -0
  61. package/dist/collection/components/calendar/generate.js +1 -1
  62. package/dist/collection/components/calendar/generate.js.map +1 -1
  63. package/dist/collection/components/checkbox/index.js +25 -3
  64. package/dist/collection/components/checkbox/index.js.map +1 -1
  65. package/dist/collection/components/country/index.js +1 -1
  66. package/dist/collection/components/display/index.js +24 -3
  67. package/dist/collection/components/display/index.js.map +1 -1
  68. package/dist/collection/components/display-amount/index.js +1 -1
  69. package/dist/collection/components/display-demo/index.js +1 -1
  70. package/dist/collection/components/display-demo/index.js.map +1 -1
  71. package/dist/collection/components/filter/index.js +1 -1
  72. package/dist/collection/components/filter/index.js.map +1 -1
  73. package/dist/collection/components/filter/input/index.js +16 -9
  74. package/dist/collection/components/filter/input/index.js.map +1 -1
  75. package/dist/collection/components/form/index.js +132 -9
  76. package/dist/collection/components/form/index.js.map +1 -1
  77. package/dist/collection/components/form/style.css +9 -16
  78. package/dist/collection/components/frame/index.js +1 -2
  79. package/dist/collection/components/frame/index.js.map +1 -1
  80. package/dist/collection/components/icon/index.js +29 -38
  81. package/dist/collection/components/icon/index.js.map +1 -1
  82. package/dist/collection/components/icon-demo/index.js.map +1 -1
  83. package/dist/collection/components/icon-demo/style.css +1 -0
  84. package/dist/collection/components/input/Changeable.js +8 -0
  85. package/dist/collection/components/input/Changeable.js.map +1 -0
  86. package/dist/collection/components/input/Clearable.js.map +1 -0
  87. package/dist/collection/components/input/Input.js +2 -0
  88. package/dist/collection/components/input/Input.js.map +1 -0
  89. package/dist/collection/components/input/Looks.js +2 -0
  90. package/dist/collection/components/input/Looks.js.map +1 -0
  91. package/dist/collection/components/input/Submittable.js +8 -0
  92. package/dist/collection/components/input/Submittable.js.map +1 -0
  93. package/dist/collection/components/input/clear/index.js +237 -0
  94. package/dist/collection/components/input/clear/index.js.map +1 -0
  95. package/dist/collection/components/input/clear/style.css +254 -0
  96. package/dist/collection/components/{input-date → input/date}/index.js +160 -3
  97. package/dist/collection/components/input/date/index.js.map +1 -0
  98. package/dist/collection/components/{input-date-range → input/date/range}/index.js +161 -23
  99. package/dist/collection/components/input/date/range/index.js.map +1 -0
  100. package/dist/collection/components/input/date/range/style.css +69 -0
  101. package/dist/collection/components/input/date/style.css +58 -0
  102. package/dist/collection/components/input/demo/index.js +95 -0
  103. package/dist/collection/components/input/demo/index.js.map +1 -0
  104. package/dist/collection/components/{input-demo → input/demo}/style.css +1 -0
  105. package/dist/collection/components/input/file/index.js +305 -0
  106. package/dist/collection/components/input/file/index.js.map +1 -0
  107. package/dist/collection/components/input/file/style.css +85 -0
  108. package/dist/collection/components/input/index.js +131 -8
  109. package/dist/collection/components/input/index.js.map +1 -1
  110. package/dist/collection/components/{input-month → input/month}/index.js +5 -5
  111. package/dist/collection/components/input/month/index.js.map +1 -0
  112. package/dist/collection/components/{selector → input/select}/index.js +176 -5
  113. package/dist/collection/components/input/select/index.js.map +1 -0
  114. package/dist/collection/components/input/select/style.css +80 -0
  115. package/dist/collection/components/input/style.css +23 -8
  116. package/dist/collection/components/notification/index.js +45 -8
  117. package/dist/collection/components/notification/index.js.map +1 -1
  118. package/dist/collection/components/notification/style.css +25 -1
  119. package/dist/collection/components/notifier/style.css +1 -3
  120. package/dist/collection/components/picker/demo/index.js +91 -0
  121. package/dist/collection/components/picker/demo/index.js.map +1 -0
  122. package/dist/collection/components/picker/demo/style.css +26 -0
  123. package/dist/collection/components/picker/index.js +197 -396
  124. package/dist/collection/components/picker/index.js.map +1 -1
  125. package/dist/collection/components/picker/menu/index.js +422 -0
  126. package/dist/collection/components/picker/menu/index.js.map +1 -0
  127. package/dist/collection/components/picker/menu/style.css +44 -0
  128. package/dist/collection/components/picker/option/index.js +298 -0
  129. package/dist/collection/components/picker/option/index.js.map +1 -0
  130. package/dist/collection/components/picker/option/style.css +30 -0
  131. package/dist/collection/components/picker/slot-elements/index.js +109 -0
  132. package/dist/collection/components/picker/slot-elements/index.js.map +1 -0
  133. package/dist/collection/components/picker/slot-elements/style.css +3 -0
  134. package/dist/collection/components/picker/slotted-elements/index.js +84 -0
  135. package/dist/collection/components/picker/slotted-elements/index.js.map +1 -0
  136. package/dist/collection/components/picker/slotted-elements/style.css +3 -0
  137. package/dist/collection/components/picker/style.css +60 -144
  138. package/dist/collection/components/radio/index.js +4 -4
  139. package/dist/collection/components/radio/index.js.map +1 -1
  140. package/dist/collection/components/radio-button/index.js +35 -10
  141. package/dist/collection/components/radio-button/index.js.map +1 -1
  142. package/dist/collection/components/select-demo/index.js +0 -87
  143. package/dist/collection/components/select-demo/index.js.map +1 -1
  144. package/dist/collection/components/spinner/style.css +1 -0
  145. package/dist/collection/components/submit/index.js +64 -5
  146. package/dist/collection/components/submit/index.js.map +1 -1
  147. package/dist/collection/components/submit/style.css +224 -0
  148. package/dist/collection/components/summary/index.js +44 -1
  149. package/dist/collection/components/summary/index.js.map +1 -1
  150. package/dist/collection/components/svg/style.css +2 -2
  151. package/dist/collection/components/table/cell/index.js +1 -1
  152. package/dist/collection/components/table/cell/index.js.map +1 -1
  153. package/dist/collection/components/table/cell/style.css +19 -10
  154. package/dist/collection/components/table/demo/filtered/index.js +4 -3
  155. package/dist/collection/components/table/demo/filtered/index.js.map +1 -1
  156. package/dist/collection/components/table/demo/index.js +8 -2
  157. package/dist/collection/components/table/demo/index.js.map +1 -1
  158. package/dist/collection/components/table/demo/style.css +2 -0
  159. package/dist/collection/components/table/expandable/cell/index.js +14 -14
  160. package/dist/collection/components/table/expandable/cell/index.js.map +1 -1
  161. package/dist/collection/components/table/expandable/cell/style.css +32 -22
  162. package/dist/collection/components/table/expandable/row/index.js +9 -32
  163. package/dist/collection/components/table/expandable/row/index.js.map +1 -1
  164. package/dist/collection/components/table/expandable/row/style.css +32 -29
  165. package/dist/collection/components/table/footer/index.js +19 -0
  166. package/dist/collection/components/table/footer/index.js.map +1 -0
  167. package/dist/collection/components/table/footer/style.css +13 -0
  168. package/dist/collection/components/table/header/style.css +2 -2
  169. package/dist/collection/components/table/index.js +55 -12
  170. package/dist/collection/components/table/index.js.map +1 -1
  171. package/dist/collection/components/table/row/index.js +37 -5
  172. package/dist/collection/components/table/row/index.js.map +1 -1
  173. package/dist/collection/components/table/row/style.css +4 -1
  174. package/dist/collection/components/table/style.css +0 -2
  175. package/dist/collection/components/table/testing/data.js +28 -0
  176. package/dist/collection/components/table/testing/data.js.map +1 -0
  177. package/dist/collection/components/table/testing/index.js +28 -0
  178. package/dist/collection/components/table/testing/index.js.map +1 -0
  179. package/dist/collection/components/table/testing/style.css +22 -0
  180. package/dist/collection/components/theme/color/index.js +48 -0
  181. package/dist/collection/components/theme/color/index.js.map +1 -0
  182. package/dist/collection/components/theme/color/style.css +8 -0
  183. package/dist/collection/components/theme/color/variant/index.js +66 -0
  184. package/dist/collection/components/theme/color/variant/index.js.map +1 -0
  185. package/dist/collection/components/theme/color/variant/style.css +18 -0
  186. package/dist/collection/components/theme/colors/index.js +30 -0
  187. package/dist/collection/components/theme/colors/index.js.map +1 -0
  188. package/dist/collection/components/theme/colors/style.css +7 -0
  189. package/dist/collection/components/toggle-switch/index.js +69 -17
  190. package/dist/collection/components/toggle-switch/index.js.map +1 -1
  191. package/dist/collection/components/toggle-switch/style.css +19 -12
  192. package/dist/collection/components/trigger-source/index.js +3 -3
  193. package/dist/collection/components/trigger-source/index.js.map +1 -1
  194. package/dist/collection/global/Observers.js +22 -0
  195. package/dist/collection/global/Observers.js.map +1 -0
  196. package/dist/collection/global/index.js +5 -0
  197. package/dist/collection/global/index.js.map +1 -0
  198. package/dist/collection/index.js +2 -3
  199. package/dist/collection/index.js.map +1 -1
  200. package/dist/collection/model/Data.js.map +1 -0
  201. package/dist/collection/model/Icon.js +23 -0
  202. package/dist/collection/model/Icon.js.map +1 -0
  203. package/dist/collection/model/Listenable.js +2 -2
  204. package/dist/collection/model/Listenable.js.map +1 -1
  205. package/dist/collection/model/Notice.js +1 -1
  206. package/dist/collection/model/Notice.js.map +1 -1
  207. package/dist/collection/model/Option.js.map +1 -1
  208. package/dist/collection/model/index.js +3 -0
  209. package/dist/collection/model/index.js.map +1 -1
  210. package/dist/collection/model/redirect.js +8 -0
  211. package/dist/collection/model/redirect.js.map +1 -0
  212. package/dist/collection/smoothly.js +3 -0
  213. package/dist/collection/smoothly.js.map +1 -0
  214. package/dist/custom-elements/index.d.ts +94 -34
  215. package/dist/custom-elements/index.js +5360 -16302
  216. package/dist/custom-elements/index.js.map +1 -1
  217. package/dist/esm/{Listenable-fb6f4723.js → Data-37e7c0b9.js} +75 -5
  218. package/dist/esm/Data-37e7c0b9.js.map +1 -0
  219. package/dist/esm/Observers-5f08e828.js +25 -0
  220. package/dist/esm/Observers-5f08e828.js.map +1 -0
  221. package/dist/esm/{getLanguage-cccb8418.js → getLanguage-5233a597.js} +1111 -890
  222. package/dist/esm/getLanguage-5233a597.js.map +1 -0
  223. package/dist/esm/{index-7b57a52c.js → index-c196715a.js} +12 -42
  224. package/dist/esm/index-c196715a.js.map +1 -0
  225. package/dist/esm/index.js +388 -6
  226. package/dist/esm/index.js.map +1 -1
  227. package/dist/esm/loader.js +5 -4
  228. package/dist/esm/loader.js.map +1 -1
  229. package/dist/esm/redirect-b0f87e88.js +101 -0
  230. package/dist/esm/redirect-b0f87e88.js.map +1 -0
  231. package/dist/esm/smoothly-accordion_70.entry.js +17131 -0
  232. package/dist/esm/smoothly-accordion_70.entry.js.map +1 -0
  233. package/dist/esm/smoothly-address-display.entry.js +1 -1
  234. package/dist/esm/smoothly-address.entry.js +1 -1
  235. package/dist/esm/smoothly-addresses.entry.js +1 -1
  236. package/dist/esm/smoothly-color.entry.js +1 -1
  237. package/dist/esm/smoothly-country.entry.js +9 -9
  238. package/dist/esm/smoothly-country.entry.js.map +1 -1
  239. package/dist/esm/smoothly-display-date-time.entry.js +22 -0
  240. package/dist/esm/smoothly-display-date-time.entry.js.map +1 -0
  241. package/dist/esm/smoothly-google-font.entry.js +1 -1
  242. package/dist/esm/smoothly-radio-group.entry.js +1 -1
  243. package/dist/esm/smoothly-reorder.entry.js +2 -2
  244. package/dist/esm/smoothly-reorder.entry.js.map +1 -1
  245. package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
  246. package/dist/esm/smoothly-trigger-source.entry.js +4 -4
  247. package/dist/esm/smoothly-trigger-source.entry.js.map +1 -1
  248. package/dist/esm/smoothly.js +5 -4
  249. package/dist/esm/smoothly.js.map +1 -1
  250. package/dist/smoothly/index.esm.js +1 -1
  251. package/dist/smoothly/index.esm.js.map +1 -1
  252. package/dist/smoothly/{p-d4182274.entry.js → p-1efa3261.entry.js} +2 -2
  253. package/dist/smoothly/p-2a0c2387.js +2 -0
  254. package/dist/smoothly/p-2a0c2387.js.map +1 -0
  255. package/dist/smoothly/{p-e136b93e.entry.js → p-4d743f07.entry.js} +2 -2
  256. package/dist/smoothly/p-4ff439dd.entry.js +2 -0
  257. package/dist/smoothly/{p-5b28795c.entry.js.map → p-4ff439dd.entry.js.map} +1 -1
  258. package/dist/smoothly/{p-be2ff772.entry.js → p-5edb65c6.entry.js} +2 -2
  259. package/dist/smoothly/{p-c49d2094.entry.js → p-663ccbd0.entry.js} +2 -2
  260. package/dist/smoothly/p-73442332.entry.js +2 -0
  261. package/dist/smoothly/p-73442332.entry.js.map +1 -0
  262. package/dist/smoothly/{p-940af6d3.entry.js → p-9992c8c4.entry.js} +2 -2
  263. package/dist/smoothly/p-a6c4c2d4.entry.js +2 -0
  264. package/dist/smoothly/p-a6c4c2d4.entry.js.map +1 -0
  265. package/dist/smoothly/p-b9cb0514.js +2 -0
  266. package/dist/smoothly/p-b9cb0514.js.map +1 -0
  267. package/dist/smoothly/p-c833c402.js +2 -0
  268. package/dist/smoothly/p-c833c402.js.map +1 -0
  269. package/dist/smoothly/p-ce4e6f44.entry.js +2 -0
  270. package/dist/smoothly/p-ce4e6f44.entry.js.map +1 -0
  271. package/dist/smoothly/p-d0b8061e.js +3 -0
  272. package/dist/smoothly/p-d0b8061e.js.map +1 -0
  273. package/dist/smoothly/{p-79025273.entry.js → p-dbd1afa9.entry.js} +2 -2
  274. package/dist/smoothly/p-ede93d69.js +2 -0
  275. package/dist/smoothly/p-ede93d69.js.map +1 -0
  276. package/dist/smoothly/{p-712b362e.entry.js → p-f96e41aa.entry.js} +2 -2
  277. package/dist/smoothly/p-ff8acb9b.entry.js +2 -0
  278. package/dist/smoothly/p-ff8acb9b.entry.js.map +1 -0
  279. package/dist/smoothly/smoothly.esm.js +1 -1
  280. package/dist/smoothly/smoothly.esm.js.map +1 -1
  281. package/dist/types/components/Button.d.ts +1 -2
  282. package/dist/types/components/accordion/index.d.ts +1 -1
  283. package/dist/types/components/accordion-item/index.d.ts +5 -4
  284. package/dist/types/components/app/index.d.ts +25 -0
  285. package/dist/types/components/app/room/index.d.ts +25 -0
  286. package/dist/types/components/app-demo/index.d.ts +2 -0
  287. package/dist/types/components/backtotop/index.d.ts +1 -1
  288. package/dist/types/components/burger/index.d.ts +15 -0
  289. package/dist/types/components/button/index.d.ts +2 -2
  290. package/dist/types/components/checkbox/index.d.ts +4 -2
  291. package/dist/types/components/display/index.d.ts +1 -0
  292. package/dist/types/components/filter/input/index.d.ts +1 -1
  293. package/dist/types/components/form/index.d.ts +16 -3
  294. package/dist/types/components/frame/index.d.ts +1 -1
  295. package/dist/types/components/icon/index.d.ts +3 -9
  296. package/dist/types/components/input/Changeable.d.ts +7 -0
  297. package/dist/types/components/input/Input.d.ts +10 -0
  298. package/dist/types/components/input/Looks.d.ts +1 -0
  299. package/dist/types/components/input/Submittable.d.ts +6 -0
  300. package/dist/types/components/input/clear/index.d.ts +17 -0
  301. package/dist/types/components/input/date/index.d.ts +28 -0
  302. package/dist/types/components/input/date/range/index.d.ts +33 -0
  303. package/dist/types/components/input/demo/index.d.ts +8 -0
  304. package/dist/types/components/input/file/index.d.ts +24 -0
  305. package/dist/types/components/input/index.d.ts +17 -4
  306. package/dist/types/components/{input-month → input/month}/index.d.ts +1 -1
  307. package/dist/types/components/{selector → input/select}/index.d.ts +15 -3
  308. package/dist/types/components/notification/index.d.ts +3 -1
  309. package/dist/types/components/picker/demo/index.d.ts +18 -0
  310. package/dist/types/components/picker/index.d.ts +33 -45
  311. package/dist/types/components/picker/menu/index.d.ts +53 -0
  312. package/dist/types/components/picker/option/index.d.ts +23 -0
  313. package/dist/types/components/picker/slot-elements/index.d.ts +15 -0
  314. package/dist/types/components/picker/slotted-elements/index.d.ts +8 -0
  315. package/dist/types/components/radio/index.d.ts +1 -1
  316. package/dist/types/components/radio-button/index.d.ts +3 -5
  317. package/dist/types/components/select-demo/index.d.ts +0 -9
  318. package/dist/types/components/submit/index.d.ts +6 -1
  319. package/dist/types/components/summary/index.d.ts +4 -0
  320. package/dist/types/components/table/demo/filtered/index.d.ts +1 -1
  321. package/dist/types/components/table/expandable/cell/index.d.ts +4 -4
  322. package/dist/types/components/table/expandable/row/index.d.ts +3 -7
  323. package/dist/types/components/table/footer/index.d.ts +3 -0
  324. package/dist/types/components/table/index.d.ts +6 -3
  325. package/dist/types/components/table/row/index.d.ts +3 -1
  326. package/dist/types/components/table/testing/data.d.ts +5 -0
  327. package/dist/types/components/table/testing/index.d.ts +4 -0
  328. package/dist/types/components/theme/color/index.d.ts +5 -0
  329. package/dist/types/components/theme/color/variant/index.d.ts +6 -0
  330. package/dist/types/components/theme/colors/index.d.ts +3 -0
  331. package/dist/types/components/toggle-switch/index.d.ts +7 -2
  332. package/dist/types/components/trigger-source/index.d.ts +1 -1
  333. package/dist/types/components.d.ts +490 -226
  334. package/dist/types/global/Observers.d.ts +8 -0
  335. package/dist/types/global/index.d.ts +4 -0
  336. package/dist/types/index.d.ts +1 -4
  337. package/dist/types/model/Icon.d.ts +8 -0
  338. package/dist/types/model/Notice.d.ts +1 -1
  339. package/dist/types/model/Option.d.ts +24 -6
  340. package/dist/types/model/index.d.ts +4 -1
  341. package/dist/types/model/redirect.d.ts +1 -0
  342. package/dist/types/smoothly.d.ts +3 -0
  343. package/package.json +16 -16
  344. package/dist/cjs/Listenable-63ea2d90.js.map +0 -1
  345. package/dist/cjs/getLanguage-430ecf04.js.map +0 -1
  346. package/dist/cjs/index-8352a4e0.js.map +0 -1
  347. package/dist/cjs/index-b282ee83.js +0 -865
  348. package/dist/cjs/index-b282ee83.js.map +0 -1
  349. package/dist/cjs/smoothly-accordion_61.cjs.entry.js +0 -28113
  350. package/dist/cjs/smoothly-accordion_61.cjs.entry.js.map +0 -1
  351. package/dist/collection/components/App.js +0 -71
  352. package/dist/collection/components/App.js.map +0 -1
  353. package/dist/collection/components/form/Clearable.js.map +0 -1
  354. package/dist/collection/components/form/Data.js.map +0 -1
  355. package/dist/collection/components/input-date/index.js.map +0 -1
  356. package/dist/collection/components/input-date/style.css +0 -39
  357. package/dist/collection/components/input-date-range/index.js.map +0 -1
  358. package/dist/collection/components/input-date-range/style.css +0 -51
  359. package/dist/collection/components/input-demo/index.js +0 -45
  360. package/dist/collection/components/input-demo/index.js.map +0 -1
  361. package/dist/collection/components/input-month/index.js.map +0 -1
  362. package/dist/collection/components/menu-options/index.js +0 -413
  363. package/dist/collection/components/menu-options/index.js.map +0 -1
  364. package/dist/collection/components/menu-options/style.css +0 -18
  365. package/dist/collection/components/option/index.js +0 -270
  366. package/dist/collection/components/option/index.js.map +0 -1
  367. package/dist/collection/components/option/style.css +0 -42
  368. package/dist/collection/components/room/index.js +0 -90
  369. package/dist/collection/components/room/index.js.map +0 -1
  370. package/dist/collection/components/select/index.js +0 -108
  371. package/dist/collection/components/select/index.js.map +0 -1
  372. package/dist/collection/components/select/style.css +0 -20
  373. package/dist/collection/components/selector/index.js.map +0 -1
  374. package/dist/collection/components/selector/style.css +0 -46
  375. package/dist/esm/Listenable-fb6f4723.js.map +0 -1
  376. package/dist/esm/getLanguage-cccb8418.js.map +0 -1
  377. package/dist/esm/index-2e948fc3.js +0 -861
  378. package/dist/esm/index-2e948fc3.js.map +0 -1
  379. package/dist/esm/index-7b57a52c.js.map +0 -1
  380. package/dist/esm/smoothly-accordion_61.entry.js +0 -28049
  381. package/dist/esm/smoothly-accordion_61.entry.js.map +0 -1
  382. package/dist/smoothly/p-06337b89.js +0 -2
  383. package/dist/smoothly/p-06337b89.js.map +0 -1
  384. package/dist/smoothly/p-21341e18.entry.js +0 -2
  385. package/dist/smoothly/p-21341e18.entry.js.map +0 -1
  386. package/dist/smoothly/p-5b28795c.entry.js +0 -2
  387. package/dist/smoothly/p-5b6351f6.js +0 -2
  388. package/dist/smoothly/p-5b6351f6.js.map +0 -1
  389. package/dist/smoothly/p-70280a11.js +0 -2
  390. package/dist/smoothly/p-70280a11.js.map +0 -1
  391. package/dist/smoothly/p-b49664d8.entry.js +0 -2
  392. package/dist/smoothly/p-b49664d8.entry.js.map +0 -1
  393. package/dist/smoothly/p-b82efb2e.entry.js +0 -2
  394. package/dist/smoothly/p-b82efb2e.entry.js.map +0 -1
  395. package/dist/smoothly/p-c88ae468.js +0 -3
  396. package/dist/smoothly/p-c88ae468.js.map +0 -1
  397. package/dist/types/components/App.d.ts +0 -5
  398. package/dist/types/components/input-date/index.d.ts +0 -14
  399. package/dist/types/components/input-date-range/index.d.ts +0 -23
  400. package/dist/types/components/input-demo/index.d.ts +0 -3
  401. package/dist/types/components/menu-options/index.d.ts +0 -35
  402. package/dist/types/components/option/index.d.ts +0 -32
  403. package/dist/types/components/room/index.d.ts +0 -7
  404. package/dist/types/components/select/index.d.ts +0 -14
  405. /package/dist/collection/components/{form → input}/Clearable.js +0 -0
  406. /package/dist/collection/components/{input-month → input/month}/style.css +0 -0
  407. /package/dist/collection/{components/form → model}/Data.js +0 -0
  408. /package/dist/smoothly/{p-d4182274.entry.js.map → p-1efa3261.entry.js.map} +0 -0
  409. /package/dist/smoothly/{p-e136b93e.entry.js.map → p-4d743f07.entry.js.map} +0 -0
  410. /package/dist/smoothly/{p-be2ff772.entry.js.map → p-5edb65c6.entry.js.map} +0 -0
  411. /package/dist/smoothly/{p-c49d2094.entry.js.map → p-663ccbd0.entry.js.map} +0 -0
  412. /package/dist/smoothly/{p-940af6d3.entry.js.map → p-9992c8c4.entry.js.map} +0 -0
  413. /package/dist/smoothly/{p-79025273.entry.js.map → p-dbd1afa9.entry.js.map} +0 -0
  414. /package/dist/smoothly/{p-712b362e.entry.js.map → p-f96e41aa.entry.js.map} +0 -0
  415. /package/dist/types/components/{form → input}/Clearable.d.ts +0 -0
  416. /package/dist/types/{components/form → model}/Data.d.ts +0 -0
@@ -0,0 +1,22 @@
1
+ import { r as registerInstance } from './index-c196715a.js';
2
+
3
+ const styleCss = ".sc-smoothly-display-date-time-h{display:block}[hidden].sc-smoothly-display-date-time-h{display:none}";
4
+
5
+ const SmoothlyDisplayDateTime = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.datetime = undefined;
9
+ }
10
+ componentWillLoad() {
11
+ console.warn('Component <smoothly-display-date-time> is deprecated, use <smoothly-display type="date-time">.');
12
+ }
13
+ render() {
14
+ const datetime = this.datetime.split("T");
15
+ return [datetime[0], " ", datetime[1]];
16
+ }
17
+ };
18
+ SmoothlyDisplayDateTime.style = styleCss;
19
+
20
+ export { SmoothlyDisplayDateTime as smoothly_display_date_time };
21
+
22
+ //# sourceMappingURL=smoothly-display-date-time.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"smoothly-display-date-time.entry.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,uGAAuG;;MCW3G,uBAAuB;;;;;EAGnC,iBAAiB;IAChB,OAAO,CAAC,IAAI,CAAC,gGAAgG,CAAC,CAAA;GAC9G;EACD,MAAM;IACL,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAEzC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;GACtC;;;;;;","names":[],"sources":["./src/components/display-date-time/style.css?tag=smoothly-display-date-time&encapsulation=scoped","./src/components/display-date-time/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n}\n:host[hidden] {\n\tdisplay: none;\n}\n","import { Component, ComponentWillLoad, Prop } from \"@stencil/core\"\nimport { DateTime } from \"isoly\"\n\n/**\n * DEPRECATED, use <smoothly-display type=\"date-time\">\n */\n@Component({\n\ttag: \"smoothly-display-date-time\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyDisplayDateTime implements ComponentWillLoad {\n\t@Prop() datetime: DateTime\n\n\tcomponentWillLoad(): void | Promise<void> {\n\t\tconsole.warn('Component <smoothly-display-date-time> is deprecated, use <smoothly-display type=\"date-time\">.')\n\t}\n\trender() {\n\t\tconst datetime = this.datetime.split(\"T\")\n\n\t\treturn [datetime[0], \" \", datetime[1]]\n\t}\n}\n"],"version":3}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-7b57a52c.js';
1
+ import { r as registerInstance, h } from './index-c196715a.js';
2
2
  import { G as GoogleFont } from './GoogleFont-8474516b.js';
3
3
 
4
4
  const SmoothlyGoogleFont = class {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-7b57a52c.js';
1
+ import { r as registerInstance, h } from './index-c196715a.js';
2
2
 
3
3
  const styleCss = "smoothly-radio-group{display:flex;position:relative;color:none !important;background:none !important;margin:0.5em 0}smoothly-radio-group[hidden]{display:none}smoothly-radio-group[orientation=vertical] *:not(:first-of-type)>input[type=radio]~label{border-top:none}smoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type)>input[type=radio]~label{border-left:none}smoothly-radio-group[orientation=vertical]{flex-direction:column}smoothly-radio-group[orientation=vertical] :first-of-type>input[type=radio]~label{border-radius:4px 4px 0 0}smoothly-radio-group[orientation=vertical] :last-of-type>input[type=radio]~label{border-radius:0 0 4px 4px}smoothly-radio-group:not([orientation=vertical]){flex-direction:row}smoothly-radio-group:not([orientation=vertical]) :first-of-type>input[type=radio]~label{border-radius:4px 0 0 4px}smoothly-radio-group:not([orientation=vertical]) :last-of-type>input[type=radio]~label{border-radius:0 4px 4px 0}";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, a as getElement } from './index-7b57a52c.js';
1
+ import { r as registerInstance, c as createEvent, a as H, g as getElement } from './index-c196715a.js';
2
2
 
3
3
  const styleCss = "smoothly-reorder>*{cursor:move;transition:transform 0.3s}smoothly-reorder>*.dragging{transition:none;box-shadow:0 0 10px rgba(var(--smoothly-dark-color));z-index:1;user-select:none}";
4
4
 
@@ -14,7 +14,7 @@ const SmoothlyReorder = class {
14
14
  else {
15
15
  for (let index = 0; index < this.element.children.length; index++) {
16
16
  const element = this.element.children[index];
17
- if (element instanceof HTMLElement) {
17
+ if (element instanceof H) {
18
18
  const bounds = element.getBoundingClientRect();
19
19
  result.push({
20
20
  top: bounds.top,
@@ -1 +1 @@
1
- {"file":"smoothly-reorder.entry.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,uLAAuL;;MCM3L,eAAe;;;;;EAK3B,IAAY,QAAQ;IACnB,IAAI,MAAM,GAAgB,EAAE,CAAA;IAC5B,IAAI,IAAI,CAAC,aAAa;MACrB,MAAM,GAAG,IAAI,CAAC,aAAa,CAAA;SACvB;MACJ,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;QAClE,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;QAC5C,IAAI,OAAO,YAAY,WAAW,EAAE;UACnC,MAAM,MAAM,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAA;UAC9C,MAAM,CAAC,IAAI,CAAC;YACX,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,MAAM,EAAE,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC;YACtC,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,OAAO,EAAE,OAAO;WAChB,CAAC,CAAA;SACF;OACD;MACD,IAAI,CAAC,aAAa,GAAG,MAAM,CAAA;KAC3B;IACD,OAAO,MAAM,CAAA;GACb;EAIO,WAAW,CAAC,KAAiB;IACpC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,MAA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CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK;MACpC,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAa,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;MAC3E,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAa,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;MAC3E,KAAK,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAa,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;KACvE,CAAC,CAAA;GACF;;;;;;;","names":[],"sources":["./src/components/reorder/style.css?tag=smoothly-reorder","./src/components/reorder/index.tsx"],"sourcesContent":["smoothly-reorder > * {\n\tcursor: move;\n\ttransition: transform 0.3s;\n}\nsmoothly-reorder > *.dragging {\n\ttransition: none;\n\tbox-shadow: 0 0 10px rgba(var(--smoothly-dark-color));\n\tz-index: 1;\n\tuser-select: none;\n}\n","import { Component, Element, Event, EventEmitter } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-reorder\",\n\tstyleUrl: \"style.css\",\n})\nexport class SmoothlyReorder {\n\t@Event() reorder: EventEmitter<[number, number]>\n\t@Element() element: HTMLSmoothlyReorderElement\n\tprivate bounds?: DOMRect\n\tprivate childrenCache?: Draggable[]\n\tprivate get children(): Draggable[] {\n\t\tlet result: Draggable[] = []\n\t\tif (this.childrenCache)\n\t\t\tresult = this.childrenCache\n\t\telse {\n\t\t\tfor (let index = 0; index < this.element.children.length; index++) {\n\t\t\t\tconst element = this.element.children[index]\n\t\t\t\tif (element instanceof HTMLElement) {\n\t\t\t\t\tconst bounds = element.getBoundingClientRect()\n\t\t\t\t\tresult.push({\n\t\t\t\t\t\ttop: bounds.top,\n\t\t\t\t\t\tmiddle: bounds.top + bounds.height / 2,\n\t\t\t\t\t\tbottom: bounds.bottom,\n\t\t\t\t\t\telement: element,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.childrenCache = result\n\t\t}\n\t\treturn result\n\t}\n\tprivate dragged?: Dragged\n\tprivate move?: { from: number; to: number }\n\n\tprivate onMouseDown(event: MouseEvent) {\n\t\tif (!this.move && this.element.children.length > 1) {\n\t\t\tthis.bounds = this.element.getBoundingClientRect()\n\t\t\tthis.childrenCache = undefined\n\t\t\tconst index = this.getCurrentIndex(event.clientY)\n\t\t\tthis.dragged = {\n\t\t\t\t...this.children[index],\n\t\t\t\tstartY: event.clientY,\n\t\t\t\toffsetY: event.clientY - this.children[index].middle,\n\t\t\t\tindex,\n\t\t\t\theight:\n\t\t\t\t\tindex < this.children.length - 1\n\t\t\t\t\t\t? this.children[index + 1].top - this.children[index].top\n\t\t\t\t\t\t: this.children[index].bottom - this.children[index - 1].bottom,\n\t\t\t}\n\t\t\tthis.dragged.element.className += \" dragging\"\n\t\t}\n\t}\n\n\tprivate onMouseMove(event: MouseEvent) {\n\t\tif (this.dragged && this.bounds && event.clientY >= this.bounds.top && event.clientY <= this.bounds.bottom) {\n\t\t\tconst currentIndex = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, currentIndex, event.clientY - this.dragged.startY)\n\t\t}\n\t}\n\n\tprivate onMouseUp(event: MouseEvent) {\n\t\tif (this.dragged) {\n\t\t\tthis.dragged.element.className = this.dragged.element.className.replace(\" dragging\", \"\")\n\t\t\tconst index = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, index, this.children[index].top - this.dragged.top)\n\t\t\tthis.move = { from: this.dragged.index, to: index }\n\t\t\tthis.dragged = undefined\n\n\t\t\twindow.setTimeout(() => {\n\t\t\t\tif (this.move) {\n\t\t\t\t\tconst children = [...this.children.map(c => c.element)]\n\t\t\t\t\tconst e = children.splice(this.move.from, 1)\n\t\t\t\t\tchildren.splice(this.move.to, 0, ...e)\n\t\t\t\t\tchildren.forEach(child => this.element.removeChild(child))\n\t\t\t\t\tchildren.forEach(child => {\n\t\t\t\t\t\tchild.style.transform = \"\"\n\t\t\t\t\t\tthis.element.appendChild(child)\n\t\t\t\t\t})\n\t\t\t\t\tthis.reorder.emit([this.move.from, this.move.to])\n\t\t\t\t\tthis.move = undefined\n\t\t\t\t}\n\t\t\t}, 500)\n\t\t}\n\t}\n\n\tprivate translate(fromIndex: number, toIndex: number, y: number) {\n\t\tfor (let index = 0; index < this.children.length; index++) {\n\t\t\tlet value: number\n\t\t\tif (this.dragged) {\n\t\t\t\tif (fromIndex < toIndex && index > fromIndex && index <= toIndex)\n\t\t\t\t\tvalue = -this.dragged.height\n\t\t\t\telse if (fromIndex > toIndex && index < fromIndex && index >= toIndex)\n\t\t\t\t\tvalue = this.dragged.height\n\t\t\t\telse\n\t\t\t\t\tvalue = index == fromIndex ? y : 0\n\n\t\t\t\tthis.children[index].element.style.transform = `translateY(${value}px)`\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate getCurrentIndex(y: number): number {\n\t\treturn this.children.findIndex(c => y < c.bottom)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.element.childNodes.forEach(child => {\n\t\t\tchild.addEventListener(\"mousedown\", (e: MouseEvent) => this.onMouseDown(e))\n\t\t\tchild.addEventListener(\"mousemove\", (e: MouseEvent) => this.onMouseMove(e))\n\t\t\tchild.addEventListener(\"mouseup\", (e: MouseEvent) => this.onMouseUp(e))\n\t\t})\n\t}\n}\n"],"version":3}
1
+ {"file":"smoothly-reorder.entry.js","mappings":";;AAAA,MAAM,QAAQ,GAAG,uLAAuL;;MCM3L,eAAe;;;;;EAK3B,IAAY,QAAQ;IACnB,IAAI,MAAM,GAAgB,EAAE,CAAA;IAC5B,IAAI,IAAI,CAAC,aAAa;MACrB,MAAM,GAAG,IAAI,CAAC,aAAa,CAAA;SACvB;MACJ,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,M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SAAS,GAAG,OAAO,IAAI,KAAK,GAAG,SAAS,IAAI,KAAK,IAAI,OAAO;UAC/D,KAAK,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAA;aACxB,IAAI,SAAS,GAAG,OAAO,IAAI,KAAK,GAAG,SAAS,IAAI,KAAK,IAAI,OAAO;UACpE,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAA;;UAE3B,KAAK,GAAG,KAAK,IAAI,SAAS,GAAG,CAAC,GAAG,CAAC,CAAA;QAEnC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,GAAG,cAAc,KAAK,KAAK,CAAA;OACvE;KACD;GACD;EAEO,eAAe,CAAC,CAAS;IAChC,OAAO,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAA;GACjD;EAED,gBAAgB;IACf,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK;MACpC,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAa,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;MAC3E,KAAK,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAa,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAA;MAC3E,KAAK,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAAa,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;KACvE,CAAC,CAAA;GACF;;;;;;;","names":["HTMLElement"],"sources":["./src/components/reorder/style.css?tag=smoothly-reorder","./src/components/reorder/index.tsx"],"sourcesContent":["smoothly-reorder > * {\n\tcursor: move;\n\ttransition: transform 0.3s;\n}\nsmoothly-reorder > *.dragging {\n\ttransition: none;\n\tbox-shadow: 0 0 10px rgba(var(--smoothly-dark-color));\n\tz-index: 1;\n\tuser-select: none;\n}\n","import { Component, Element, Event, EventEmitter } from \"@stencil/core\"\n\n@Component({\n\ttag: \"smoothly-reorder\",\n\tstyleUrl: \"style.css\",\n})\nexport class SmoothlyReorder {\n\t@Event() reorder: EventEmitter<[number, number]>\n\t@Element() element: HTMLSmoothlyReorderElement\n\tprivate bounds?: DOMRect\n\tprivate childrenCache?: Draggable[]\n\tprivate get children(): Draggable[] {\n\t\tlet result: Draggable[] = []\n\t\tif (this.childrenCache)\n\t\t\tresult = this.childrenCache\n\t\telse {\n\t\t\tfor (let index = 0; index < this.element.children.length; index++) {\n\t\t\t\tconst element = this.element.children[index]\n\t\t\t\tif (element instanceof HTMLElement) {\n\t\t\t\t\tconst bounds = element.getBoundingClientRect()\n\t\t\t\t\tresult.push({\n\t\t\t\t\t\ttop: bounds.top,\n\t\t\t\t\t\tmiddle: bounds.top + bounds.height / 2,\n\t\t\t\t\t\tbottom: bounds.bottom,\n\t\t\t\t\t\telement: element,\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.childrenCache = result\n\t\t}\n\t\treturn result\n\t}\n\tprivate dragged?: Dragged\n\tprivate move?: { from: number; to: number }\n\n\tprivate onMouseDown(event: MouseEvent) {\n\t\tif (!this.move && this.element.children.length > 1) {\n\t\t\tthis.bounds = this.element.getBoundingClientRect()\n\t\t\tthis.childrenCache = undefined\n\t\t\tconst index = this.getCurrentIndex(event.clientY)\n\t\t\tthis.dragged = {\n\t\t\t\t...this.children[index],\n\t\t\t\tstartY: event.clientY,\n\t\t\t\toffsetY: event.clientY - this.children[index].middle,\n\t\t\t\tindex,\n\t\t\t\theight:\n\t\t\t\t\tindex < this.children.length - 1\n\t\t\t\t\t\t? this.children[index + 1].top - this.children[index].top\n\t\t\t\t\t\t: this.children[index].bottom - this.children[index - 1].bottom,\n\t\t\t}\n\t\t\tthis.dragged.element.className += \" dragging\"\n\t\t}\n\t}\n\n\tprivate onMouseMove(event: MouseEvent) {\n\t\tif (this.dragged && this.bounds && event.clientY >= this.bounds.top && event.clientY <= this.bounds.bottom) {\n\t\t\tconst currentIndex = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, currentIndex, event.clientY - this.dragged.startY)\n\t\t}\n\t}\n\n\tprivate onMouseUp(event: MouseEvent) {\n\t\tif (this.dragged) {\n\t\t\tthis.dragged.element.className = this.dragged.element.className.replace(\" dragging\", \"\")\n\t\t\tconst index = this.getCurrentIndex(event.clientY - this.dragged.offsetY)\n\t\t\tthis.translate(this.dragged.index, index, this.children[index].top - this.dragged.top)\n\t\t\tthis.move = { from: this.dragged.index, to: index }\n\t\t\tthis.dragged = undefined\n\n\t\t\twindow.setTimeout(() => {\n\t\t\t\tif (this.move) {\n\t\t\t\t\tconst children = [...this.children.map(c => c.element)]\n\t\t\t\t\tconst e = children.splice(this.move.from, 1)\n\t\t\t\t\tchildren.splice(this.move.to, 0, ...e)\n\t\t\t\t\tchildren.forEach(child => this.element.removeChild(child))\n\t\t\t\t\tchildren.forEach(child => {\n\t\t\t\t\t\tchild.style.transform = \"\"\n\t\t\t\t\t\tthis.element.appendChild(child)\n\t\t\t\t\t})\n\t\t\t\t\tthis.reorder.emit([this.move.from, this.move.to])\n\t\t\t\t\tthis.move = undefined\n\t\t\t\t}\n\t\t\t}, 500)\n\t\t}\n\t}\n\n\tprivate translate(fromIndex: number, toIndex: number, y: number) {\n\t\tfor (let index = 0; index < this.children.length; index++) {\n\t\t\tlet value: number\n\t\t\tif (this.dragged) {\n\t\t\t\tif (fromIndex < toIndex && index > fromIndex && index <= toIndex)\n\t\t\t\t\tvalue = -this.dragged.height\n\t\t\t\telse if (fromIndex > toIndex && index < fromIndex && index >= toIndex)\n\t\t\t\t\tvalue = this.dragged.height\n\t\t\t\telse\n\t\t\t\t\tvalue = index == fromIndex ? y : 0\n\n\t\t\t\tthis.children[index].element.style.transform = `translateY(${value}px)`\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate getCurrentIndex(y: number): number {\n\t\treturn this.children.findIndex(c => y < c.bottom)\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis.element.childNodes.forEach(child => {\n\t\t\tchild.addEventListener(\"mousedown\", (e: MouseEvent) => this.onMouseDown(e))\n\t\t\tchild.addEventListener(\"mousemove\", (e: MouseEvent) => this.onMouseMove(e))\n\t\t\tchild.addEventListener(\"mouseup\", (e: MouseEvent) => this.onMouseUp(e))\n\t\t})\n\t}\n}\n"],"version":3}
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, h } from './index-7b57a52c.js';
2
- import { T as Trigger, M as Message } from './Listenable-fb6f4723.js';
1
+ import { r as registerInstance, h } from './index-c196715a.js';
2
+ import { T as Trigger, M as Message } from './Data-37e7c0b9.js';
3
3
  import './GoogleFont-8474516b.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-trigger-sink-h{display:block}[hidden].sc-smoothly-trigger-sink-h{display:none}";
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-7b57a52c.js';
2
- import { M as Message, T as Trigger } from './Listenable-fb6f4723.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-c196715a.js';
2
+ import { M as Message, T as Trigger } from './Data-37e7c0b9.js';
3
3
  import './GoogleFont-8474516b.js';
4
4
 
5
5
  const styleCss = ".sc-smoothly-trigger-source-h{display:block}[hidden].sc-smoothly-trigger-source-h{display:none}";
@@ -8,7 +8,7 @@ const SmoothlyTriggerSource = class {
8
8
  constructor(hostRef) {
9
9
  registerInstance(this, hostRef);
10
10
  this.trigger = createEvent(this, "trigger", 7);
11
- this.message = createEvent(this, "message", 7);
11
+ this.smoothlyMessage = createEvent(this, "smoothlyMessage", 7);
12
12
  this.listen = undefined;
13
13
  }
14
14
  componentDidLoad() {
@@ -16,7 +16,7 @@ const SmoothlyTriggerSource = class {
16
16
  if (Trigger.is(content))
17
17
  this.trigger.emit(content);
18
18
  else
19
- this.message.emit({ destination, content });
19
+ this.smoothlyMessage.emit({ destination, content });
20
20
  }, window);
21
21
  }
22
22
  render() {
@@ -1 +1 @@
1
- {"file":"smoothly-trigger-source.entry.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,iGAAiG;;MCQrG,qBAAqB;;;;;;;EAKjC,gBAAgB;IACf,OAAO,CAAC,MAAM,CACb,IAAI,CAAC,MAAM,EACX,CAAC,WAAW,EAAE,OAAO;MACpB,IAAI,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;;QAE1B,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAA;KAC5C,EACD,MAAM,CACN,CAAA;GACD;EACD,MAAM;IACL,OAAO,eAAa,CAAA;GACpB;;;;;;;","names":[],"sources":["./src/components/trigger-source/style.css?tag=smoothly-trigger-source&encapsulation=scoped","./src/components/trigger-source/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n}\n:host[hidden] {\n\tdisplay: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Prop } from \"@stencil/core\"\nimport { Message, Trigger } from \"../../model\"\n\n@Component({\n\ttag: \"smoothly-trigger-source\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyTriggerSource {\n\t@Prop() listen: string\n\t@Event() trigger: EventEmitter<Trigger>\n\t@Event() message: EventEmitter<Message<any>>\n\t@Element() element?: HTMLElement\n\tcomponentDidLoad() {\n\t\tMessage.listen(\n\t\t\tthis.listen,\n\t\t\t(destination, content) => {\n\t\t\t\tif (Trigger.is(content))\n\t\t\t\t\tthis.trigger.emit(content)\n\t\t\t\telse\n\t\t\t\t\tthis.message.emit({ destination, content })\n\t\t\t},\n\t\t\twindow\n\t\t)\n\t}\n\trender() {\n\t\treturn <slot></slot>\n\t}\n}\n"],"version":3}
1
+ {"file":"smoothly-trigger-source.entry.js","mappings":";;;;AAAA,MAAM,QAAQ,GAAG,iGAAiG;;MCQrG,qBAAqB;;;;;;;EAKjC,gBAAgB;IACf,OAAO,CAAC,MAAM,CACb,IAAI,CAAC,MAAM,EACX,CAAC,WAAW,EAAE,OAAO;MACpB,IAAI,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;;QAE1B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAA;KACpD,EACD,MAAM,CACN,CAAA;GACD;EACD,MAAM;IACL,OAAO,eAAa,CAAA;GACpB;;;;;;;","names":[],"sources":["./src/components/trigger-source/style.css?tag=smoothly-trigger-source&encapsulation=scoped","./src/components/trigger-source/index.tsx"],"sourcesContent":[":host {\n\tdisplay: block;\n}\n:host[hidden] {\n\tdisplay: none;\n}\n","import { Component, Element, Event, EventEmitter, h, Prop } from \"@stencil/core\"\nimport { Message, Trigger } from \"../../model\"\n\n@Component({\n\ttag: \"smoothly-trigger-source\",\n\tstyleUrl: \"style.css\",\n\tscoped: true,\n})\nexport class SmoothlyTriggerSource {\n\t@Prop() listen: string\n\t@Event() trigger: EventEmitter<Trigger>\n\t@Event() smoothlyMessage: EventEmitter<Message<any>>\n\t@Element() element?: HTMLElement\n\tcomponentDidLoad() {\n\t\tMessage.listen(\n\t\t\tthis.listen,\n\t\t\t(destination, content) => {\n\t\t\t\tif (Trigger.is(content))\n\t\t\t\t\tthis.trigger.emit(content)\n\t\t\t\telse\n\t\t\t\t\tthis.smoothlyMessage.emit({ destination, content })\n\t\t\t},\n\t\t\twindow\n\t\t)\n\t}\n\trender() {\n\t\treturn <slot></slot>\n\t}\n}\n"],"version":3}
@@ -1,8 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-7b57a52c.js';
2
- export { s as setNonce } from './index-7b57a52c.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-c196715a.js';
2
+ export { s as setNonce } from './index-c196715a.js';
3
+ import './Observers-5f08e828.js';
3
4
 
4
5
  /*
5
- Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
6
7
  */
7
8
  const patchBrowser = () => {
8
9
  const importMeta = import.meta.url;
@@ -14,7 +15,7 @@ const patchBrowser = () => {
14
15
  };
15
16
 
16
17
  patchBrowser().then(options => {
17
- return bootstrapLazy([["smoothly-accordion_61",[[0,"smoothly-app-demo",{"baseUrl":[1,"base-url"]}],[0,"smoothly-input-demo"],[2,"smoothly-table-demo"],[2,"smoothly-select-demo",null,[[0,"selectionChanged","handleSelectionChanged"]]],[0,"smoothly-display-demo"],[0,"smoothly-button-demo"],[4,"smoothly-app",{"color":[1]}],[0,"smoothly-dialog-demo"],[2,"smoothly-icon-demo"],[4,"smoothly-room",{"label":[1],"icon":[1],"path":[1],"to":[1]}],[2,"smoothly-table-demo-filtered",{"criteria":[32],"data":[32],"selector":[32]},[[0,"filters","onFilterUpdate"],[2,"smoothlyChecked","smoothlyCheckedHandler"]]],[2,"smoothly-input-date-range",{"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"open":[1028],"showLabel":[516,"show-label"],"labelStart":[1,"label-start"],"labelEnd":[1,"label-end"]},[[0,"startChanged","onStartChanged"],[0,"endChanged","onEndChanged"],[0,"dateRangeSet","onDateRangeSet"]]],[1,"smoothly-picker",{"disabled":[516],"readonly":[516],"maxMenuHeight":[1,"max-menu-height"],"maxHeight":[1,"max-height"],"emptyMenuLabel":[1025,"empty-menu-label"],"multiple":[516],"mutable":[4],"optionStyle":[8,"option-style"],"options":[1040],"labelSetting":[513,"label-setting"],"label":[513],"selections":[1040],"selectNoneName":[1025,"select-none-name"],"selectAllName":[1025,"select-all-name"],"selectionName":[1025,"selection-name"],"newOptionLabel":[1025,"new-option-label"],"valueValidator":[16],"isOpen":[32],"empty":[32]},[[0,"optionSelect","optionSelectHandler"],[0,"optionUnselect","optionSelectHandler"],[0,"optionAdd","optionAddHandler"],[0,"menuEmpty","emptyHandler"]]],[6,"smoothly-notifier",{"notices":[32]},[[0,"notice","onNotice"],[0,"remove","onRemove"]]],[6,"smoothly-dialog",{"color":[513],"open":[1540],"closable":[516],"header":[513]},[[0,"trigger","TriggerListener"]]],[6,"smoothly-checkbox",{"size":[1],"checked":[1540],"intermediate":[1540],"name":[1],"value":[8],"disabled":[516],"t":[32],"toggle":[64]}],[6,"smoothly-radio-button-item",{"value":[8],"selected":[1540],"color":[513]}],[6,"smoothly-summary",{"color":[1],"fill":[1],"size":[1]}],[1,"smoothly-toggle-switch",{"selected":[1540],"disabled":[516],"size":[513],"name":[1],"value":[8]}],[0,"smoothly-urlencoded",{"data":[1]}],[6,"smoothly-accordion",{"value":[1025]},[[0,"smoothlyOpen","handleOpenClose"],[0,"smoothlyClose","handleOpenClose"],[0,"smoothlyAccordionItemDidLoad","onAccordionItemDidLoad"],[0,"smoothlyAccordionItemDidUnload","onAccordionItemDidUnload"]]],[6,"smoothly-accordion-item",{"name":[1],"brand":[1],"open":[1540]}],[2,"smoothly-display",{"type":[1],"value":[8],"currency":[1],"country":[1],"format":[16]}],[2,"smoothly-display-amount",{"amount":[8],"currency":[1],"toInteger":[4,"to-integer"]}],[2,"smoothly-display-date-time",{"datetime":[1]}],[2,"smoothly-frame",{"url":[1],"name":[1],"origin":[1],"send":[64]}],[6,"smoothly-popup",{"visible":[1540],"direction":[1537],"cssVariables":[32]}],[6,"smoothly-radio",{"name":[1],"value":[1],"checked":[1540],"tabIndex":[2,"tab-index"]}],[6,"smoothly-radio-button",{"name":[1],"value":[1032],"deselectable":[516],"decoration":[513]},[[2,"radioItemSelectInternal","radioSelectHandler"]]],[6,"smoothly-select",{"identifier":[1],"background":[513],"value":[1025]}],[2,"smoothly-skeleton",{"widths":[16],"width":[1025],"color":[1],"period":[2],"distance":[1],"align":[513]}],[6,"smoothly-submit",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513]}],[2,"smoothly-svg",{"url":[513],"size":[513],"color":[1]}],[6,"smoothly-table-expandable-row",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[6,"smoothly-toggle",{"selected":[1540],"shape":[513],"disabled":[516],"name":[1],"value":[8]},[[0,"click","onClick"]]],[1,"smoothly-filter",{"placeholder":[1025],"criteria":[1040],"inputValue":[1032,"input-value"],"expanded":[32],"freeSearchValue":[32],"clear":[64]},[[0,"filter","filterHandler"]]],[6,"smoothly-input-date",{"name":[513],"value":[1025],"open":[1028],"max":[1025],"min":[1025],"disabled":[1028]},[[0,"dateSet","dateSetHandler"]]],[1,"smoothly-menu-options",{"toggle":[4],"emptyMenuLabel":[1025,"empty-menu-label"],"newOptionLabel":[1,"new-option-label"],"maxMenuHeight":[1,"max-menu-height"],"order":[4],"optionStyle":[8,"option-style"],"options":[1040],"resetHighlightOnOptionsChange":[1028,"reset-highlight-on-options-change"],"mutable":[4],"filteredOptions":[32],"highlightIndex":[32],"keyword":[32],"moveHighlight":[64],"setHighlight":[64],"getHighlighted":[64],"filterOptions":[64]},[[0,"optionHover","optionHoverHandler"]]],[1,"smoothly-filter-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[2,"min-length"],"showLabel":[516,"show-label"],"maxLength":[2,"max-length"],"autocomplete":[4],"pattern":[16],"placeholder":[1],"disabled":[4],"readonly":[4],"currency":[513],"comparison":[1],"criteria":[32],"clear":[64]}],[2,"smoothly-backtotop",{"opacity":[1],"bottom":[1],"right":[1],"visible":[32]}],[6,"smoothly-table-cell"],[6,"smoothly-table-expandable-cell",{"align":[1],"open":[1540],"allowSpotlight":[32],"spotlight":[32]},[[0,"click","onClick"],[0,"tableLoad","handleTableLoaded"]]],[6,"smoothly-tab",{"label":[1],"open":[1540]},[[0,"click","onClick"]]],[6,"smoothly-tab-switch",{"selectedElement":[32]},[[0,"expansionOpen","openChanged"]]],[6,"smoothly-table",{"root":[1540],"align":[513]},[[0,"expandableLoad","handleExpandableLoaded"],[0,"expandableChange","handleExpandableState"],[0,"spotlightChange","handleSpotlightState"],[0,"smoothlyNestedTable","handleNestedTable"],[0,"expansionLoad","handleEvents"],[0,"expansionOpen","handleEvents"]]],[6,"smoothly-table-header",{"name":[1]}],[6,"smoothly-table-row",null,[[0,"expansionLoad","onExpansionLoad"],[0,"expansionOpen","onExpansionOpen"]]],[0,"smoothly-tuple",{"tuple":[16]}],[1,"smoothly-option",{"aliases":[513],"dataHighlight":[1540,"data-highlight"],"name":[1537],"value":[1537],"divider":[1540],"checkbox":[4],"new":[4],"toggle":[4],"checked":[1028]}],[2,"smoothly-calendar",{"month":[1025],"value":[1025],"start":[1025],"end":[1025],"max":[1025],"min":[1025],"doubleInput":[516,"double-input"],"firstSelected":[32]}],[4,"smoothly-form",{"looks":[513],"name":[1],"method":[1],"action":[1],"processing":[1540],"notice":[32],"submit":[64],"clear":[64]},[[2,"smoothlyInput","smoothlyInputHandler"],[2,"smoothlySubmit","smoothlySubmitHandler"]]],[1,"smoothly-button",{"color":[513],"expand":[513],"fill":[513],"disabled":[516],"type":[513],"size":[513],"shape":[513],"link":[1],"download":[4]}],[2,"smoothly-input-month",{"value":[1025]}],[6,"smoothly-quiet",{"color":[1]}],[6,"smoothly-selector",{"initialPrompt":[1,"initial-prompt"],"opened":[32],"selectedElement":[32],"missing":[32],"filter":[32],"reset":[64]},[[0,"click","onClick"],[0,"itemSelected","onItemSelected"],[0,"keydown","onKeyDown"]]],[6,"smoothly-item",{"value":[8],"selected":[1540],"marked":[1540],"filter":[64]},[[0,"click","onClick"]]],[2,"smoothly-spinner",{"active":[516],"size":[513]}],[2,"smoothly-notification",{"notice":[16],"tick":[32]},[[0,"trigger","onTrigger"]]],[6,"smoothly-trigger",{"color":[513],"fill":[513],"disabled":[516],"type":[513],"name":[1],"value":[8]},[[0,"click","onClick"]]],[6,"smoothly-input",{"name":[513],"value":[1032],"type":[513],"required":[1540],"minLength":[1026,"min-length"],"showLabel":[516,"show-label"],"maxLength":[1026,"max-length"],"autocomplete":[1028],"pattern":[1040],"placeholder":[1537],"disabled":[1028],"readonly":[1028],"currency":[513],"initialValue":[32],"clear":[64],"getFormData":[64],"setKeepFocusOnReRender":[64],"setSelectionRange":[64]}],[2,"smoothly-icon",{"color":[513],"fill":[513],"name":[1],"size":[513],"toolTip":[1,"tool-tip"],"document":[32]}]]],["smoothly-addresses",[[2,"smoothly-addresses",{"value":[16],"editable":[16]}]]],["smoothly-color",[[6,"smoothly-color",{"color":[513]}]]],["smoothly-country",[[2,"smoothly-country",{"value":[1],"text":[1],"language":[32]}]]],["smoothly-google-font",[[2,"smoothly-google-font",{"value":[1]}]]],["smoothly-radio-group",[[4,"smoothly-radio-group",{"orientation":[513]}]]],["smoothly-reorder",[[0,"smoothly-reorder"]]],["smoothly-trigger-sink",[[6,"smoothly-trigger-sink",{"context":[16],"destination":[1],"filter":[1]},[[0,"trigger","TriggerListener"]]]]],["smoothly-trigger-source",[[6,"smoothly-trigger-source",{"listen":[1]}]]],["smoothly-address-display",[[2,"smoothly-address-display",{"value":[16],"editable":[4]}]]],["smoothly-address",[[2,"smoothly-address",{"value":[16],"editable":[4]}]]]], options);
18
+ return bootstrapLazy(JSON.parse("[[\"smoothly-accordion_70\",[[0,\"smoothly-app-demo\",{\"baseUrl\":[1,\"base-url\"]}],[0,\"smoothly-input-demo\",null,[[0,\"selectionChanged\",\"handleSelectionChanged\"]]],[2,\"smoothly-table-demo\"],[0,\"smoothly-display-demo\"],[0,\"smoothly-button-demo\"],[4,\"smoothly-app\",{\"label\":[1],\"color\":[1],\"menuOpen\":[1540,\"menu-open\"],\"selected\":[32],\"selectRoom\":[64]},[[8,\"popstate\",\"locationChangeHandler\"],[0,\"smoothlyRoomSelected\",\"roomSelectedHandler\"],[0,\"smoothlyRoomLoaded\",\"roomLoadedHandler\"],[8,\"click\",\"clickHandler\"]]],[0,\"smoothly-dialog-demo\"],[2,\"smoothly-select-demo\"],[6,\"smoothly-app-room\",{\"label\":[513],\"icon\":[513],\"disabled\":[516],\"path\":[1],\"to\":[1],\"selected\":[1540],\"getContent\":[64],\"setSelected\":[64]}],[2,\"smoothly-icon-demo\"],[2,\"smoothly-table-testing\",{\"counter\":[32]}],[2,\"smoothly-picker-demo\",{\"counter\":[32],\"data\":[32],\"change\":[32]},[[0,\"smoothlyFormSubmit\",\"submitHandler\"]]],[2,\"smoothly-table-demo-filtered\",{\"criteria\":[32],\"data\":[32],\"selector\":[32]},[[0,\"filters\",\"onFilterUpdate\"],[2,\"smoothlyInput\",\"smoothlyInputHandler\"]]],[6,\"smoothly-input-date\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"open\":[1028],\"max\":[1025],\"min\":[1025],\"showLabel\":[516,\"show-label\"],\"disabled\":[1028],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"dateSet\",\"dateSetHandler\"]]],[2,\"smoothly-input-date-range\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"open\":[1028],\"showLabel\":[516,\"show-label\"],\"labelStart\":[1,\"label-start\"],\"labelEnd\":[1,\"label-end\"],\"clear\":[64]},[[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"startChanged\",\"onStartChanged\"],[0,\"endChanged\",\"onEndChanged\"],[0,\"dateRangeSet\",\"onDateRangeSet\"]]],[6,\"smoothly-notifier\",{\"notices\":[32]},[[0,\"notice\",\"onNotice\"],[0,\"remove\",\"onRemove\"]]],[6,\"smoothly-dialog\",{\"color\":[513],\"open\":[1540],\"closable\":[516],\"header\":[513]},[[0,\"trigger\",\"TriggerListener\"]]],[2,\"smoothly-theme-colors\"],[2,\"smoothly-burger\",{\"visible\":[1540],\"open\":[1540],\"mediaQuery\":[513,\"media-query\"],\"history\":[32]},[[0,\"click\",\"clickHandler\"],[9,\"resize\",\"resizeHandler\"]]],[6,\"smoothly-checkbox\",{\"size\":[1],\"checked\":[1540],\"intermediate\":[1540],\"name\":[1],\"value\":[8],\"disabled\":[516],\"t\":[32],\"toggle\":[64],\"clear\":[64]}],[6,\"smoothly-input-file\",{\"accept\":[1],\"color\":[1537],\"looks\":[1537],\"camera\":[513],\"name\":[513],\"showLabel\":[516,\"show-label\"],\"value\":[1040],\"placeholder\":[1537],\"dragging\":[32],\"clear\":[64]}],[6,\"smoothly-radio-button-item\",{\"value\":[8],\"selected\":[1540],\"color\":[513]}],[6,\"smoothly-summary\",{\"open\":[1540],\"color\":[1],\"fill\":[1],\"size\":[1]}],[1,\"smoothly-toggle-switch\",{\"checkmark\":[516],\"selected\":[1540],\"disabled\":[516],\"size\":[513],\"color\":[513],\"fill\":[513]}],[0,\"smoothly-urlencoded\",{\"data\":[1]}],[6,\"smoothly-accordion\",{\"value\":[1025],\"removeItem\":[64]},[[0,\"smoothlyOpen\",\"handleOpenClose\"],[0,\"smoothlyClose\",\"handleOpenClose\"],[0,\"smoothlyAccordionItemWillLoad\",\"onAccordionItemDidLoad\"]]],[6,\"smoothly-accordion-item\",{\"name\":[1],\"brand\":[1],\"open\":[1540]}],[2,\"smoothly-display-amount\",{\"amount\":[8],\"currency\":[1],\"toInteger\":[4,\"to-integer\"]}],[2,\"smoothly-frame\",{\"url\":[1],\"name\":[1],\"origin\":[1],\"send\":[64]}],[6,\"smoothly-popup\",{\"visible\":[1540],\"direction\":[1537],\"cssVariables\":[32]}],[6,\"smoothly-quiet\",{\"color\":[1]}],[6,\"smoothly-radio\",{\"name\":[1],\"value\":[1],\"checked\":[1540],\"tab\":[2]}],[6,\"smoothly-radio-button\",{\"name\":[1],\"value\":[1032],\"deselectable\":[516],\"decoration\":[513]},[[2,\"radioItemSelectInternal\",\"radioSelectHandler\"]]],[2,\"smoothly-skeleton\",{\"widths\":[16],\"width\":[1025],\"color\":[1],\"period\":[2],\"distance\":[1],\"align\":[513]}],[2,\"smoothly-svg\",{\"url\":[513],\"size\":[513],\"color\":[1]}],[6,\"smoothly-toggle\",{\"selected\":[1540],\"shape\":[513],\"disabled\":[516],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[1,\"smoothly-filter\",{\"placeholder\":[1025],\"criteria\":[1040],\"inputValue\":[1032,\"input-value\"],\"expanded\":[32],\"freeSearchValue\":[32],\"clear\":[64]},[[0,\"filter\",\"filterHandler\"]]],[6,\"smoothly-picker\",{\"looks\":[1537],\"name\":[513],\"open\":[1540],\"mutable\":[516],\"multiple\":[516],\"readonly\":[516],\"validator\":[16],\"selected\":[32],\"display\":[32],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyPickerMenuLoaded\",\"menuLoadedHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[8,\"click\",\"clickHandler\"],[8,\"focusin\",\"focusHandler\"]]],[1,\"smoothly-filter-input\",{\"name\":[513],\"value\":[1025],\"type\":[513],\"required\":[1540],\"minLength\":[2,\"min-length\"],\"showLabel\":[516,\"show-label\"],\"maxLength\":[2,\"max-length\"],\"autocomplete\":[4],\"pattern\":[16],\"placeholder\":[1],\"disabled\":[4],\"readonly\":[516],\"currency\":[513],\"comparison\":[1],\"criteria\":[32],\"clear\":[64]}],[2,\"smoothly-back-to-top\",{\"opacity\":[1],\"bottom\":[1],\"right\":[1],\"visible\":[32]}],[2,\"smoothly-theme-color\",{\"color\":[1]}],[6,\"smoothly-input-clear\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[1540],\"size\":[513],\"shape\":[513],\"display\":[1540],\"type\":[513]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-tab\",{\"label\":[1],\"open\":[1540]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-tab-switch\",{\"selectedElement\":[32]},[[0,\"expansionOpen\",\"openChanged\"]]],[6,\"smoothly-table-expandable-row\",{\"align\":[1],\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[6,\"smoothly-table-footer\"],[0,\"smoothly-tuple\",{\"tuple\":[16]}],[6,\"smoothly-picker-menu\",{\"looks\":[1],\"open\":[516],\"multiple\":[516],\"mutable\":[516],\"readonly\":[516],\"validator\":[16],\"backend\":[32],\"options\":[32],\"created\":[32],\"search\":[32],\"valid\":[32],\"display\":[32],\"flip\":[32],\"flipChecked\":[32]},[[9,\"scroll\",\"scrollHandler\"],[0,\"smoothlyPickerOptionLoad\",\"optionLoadHandler\"],[0,\"smoothlyPickerOptionLoaded\",\"optionLoadedHandler\"],[0,\"smoothlyPickerOptionChange\",\"optionChangeHandler\"],[0,\"smoothlySlotEmpty\",\"emptyDisplayHandler\"]]],[2,\"smoothly-calendar\",{\"month\":[1025],\"value\":[1025],\"start\":[1025],\"end\":[1025],\"max\":[1025],\"min\":[1025],\"doubleInput\":[516,\"double-input\"],\"firstSelected\":[32]}],[6,\"smoothly-table-cell\"],[6,\"smoothly-table-expandable-cell\",{\"align\":[1],\"open\":[1540],\"allowSpotlight\":[32],\"spotlight\":[32]},[[0,\"click\",\"onClick\"],[0,\"smoothlyTableLoad\",\"handleTableLoaded\"]]],[2,\"smoothly-display\",{\"type\":[1],\"value\":[8],\"currency\":[1],\"country\":[1],\"format\":[16],\"unit\":[1]}],[6,\"smoothly-table\",{\"root\":[1540],\"color\":[1537],\"align\":[513],\"open\":[1540]},[[0,\"smoothlyExpandableLoad\",\"handleExpandableLoaded\"],[0,\"smoothlyExpandableChange\",\"handleExpandableState\"],[0,\"smoothlySpotlightChange\",\"handleSpotlightState\"],[0,\"smoothlyNestedTable\",\"handleNestedTable\"],[0,\"smoothlyExpansionLoad\",\"handleEvents\"],[0,\"smoothlyExpansionOpen\",\"handleEvents\"]]],[6,\"smoothly-table-header\",{\"name\":[1]}],[6,\"smoothly-table-row\",{\"open\":[1540]},[[0,\"smoothlyExpansionLoad\",\"onExpansionLoad\"],[0,\"smoothlyExpandableChange\",\"onExpansionChange\"],[0,\"smoothlyExpansionOpen\",\"onExpansionOpen\"]]],[2,\"smoothly-theme-color-variant\",{\"color\":[513],\"variant\":[513]}],[2,\"smoothly-input-month\",{\"value\":[1025]}],[1,\"smoothly-picker-option\",{\"selected\":[1540],\"visible\":[1540],\"value\":[1032],\"search\":[1040],\"position\":[514],\"required\":[516],\"readonly\":[32],\"slotted\":[32],\"clickHandler\":[64]}],[6,\"smoothly-slot-elements\",{\"clone\":[4],\"nodes\":[1040]}],[6,\"smoothly-submit\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"prevent\":[4]},[[0,\"click\",\"clickHandler\"]]],[6,\"smoothly-input-select\",{\"name\":[1],\"color\":[1537],\"looks\":[1537],\"type\":[1537],\"showSelected\":[1540,\"show-selected\"],\"initialPrompt\":[1,\"initial-prompt\"],\"initialValue\":[8,\"initial-value\"],\"opened\":[32],\"selectedElement\":[32],\"missing\":[32],\"filter\":[32],\"reset\":[64]},[[0,\"click\",\"onClick\"],[0,\"itemSelected\",\"onItemSelected\"],[0,\"keydown\",\"onKeyDown\"]]],[6,\"smoothly-item\",{\"value\":[8],\"selected\":[1540],\"marked\":[1540],\"filter\":[64]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-slotted-elements\",{\"clone\":[4]}],[4,\"smoothly-form\",{\"color\":[1537],\"value\":[1040],\"looks\":[513],\"name\":[1],\"method\":[1],\"action\":[1],\"processing\":[1540],\"prevent\":[4],\"changed\":[1540],\"notice\":[32],\"submit\":[64],\"clear\":[64]},[[0,\"smoothlyInputLooks\",\"smoothlyInputLooksHandler\"],[0,\"smoothlyInput\",\"smoothlyInputHandler\"],[0,\"smoothlySubmit\",\"smoothlySubmitHandler\"],[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[6,\"smoothly-button\",{\"color\":[513],\"expand\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"size\":[513],\"shape\":[513],\"link\":[1]}],[2,\"smoothly-spinner\",{\"active\":[516],\"size\":[513]}],[2,\"smoothly-notification\",{\"notice\":[16],\"closable\":[4],\"icon\":[4],\"tick\":[32]},[[0,\"trigger\",\"onTrigger\"]]],[6,\"smoothly-trigger\",{\"color\":[513],\"fill\":[513],\"disabled\":[516],\"type\":[513],\"name\":[1],\"value\":[8]},[[0,\"click\",\"onClick\"]]],[6,\"smoothly-input\",{\"color\":[1537],\"looks\":[1537],\"name\":[513],\"value\":[1032],\"type\":[513],\"required\":[1540],\"minLength\":[1026,\"min-length\"],\"showLabel\":[516,\"show-label\"],\"maxLength\":[1026,\"max-length\"],\"autocomplete\":[1028],\"pattern\":[1040],\"placeholder\":[1537],\"disabled\":[1028],\"readonly\":[1540],\"currency\":[513],\"changed\":[1540],\"formatter\":[32],\"initialValue\":[32],\"clear\":[64],\"getFormData\":[64],\"setKeepFocusOnReRender\":[64],\"setSelectionRange\":[64]},[[0,\"smoothlyInputLoad\",\"SmoothlyInputLoadHandler\"]]],[2,\"smoothly-icon\",{\"color\":[513],\"fill\":[513],\"name\":[513],\"size\":[513],\"toolTip\":[1,\"tool-tip\"],\"document\":[32]}]]],[\"smoothly-addresses\",[[2,\"smoothly-addresses\",{\"value\":[16],\"editable\":[16]}]]],[\"smoothly-color\",[[6,\"smoothly-color\",{\"color\":[513]}]]],[\"smoothly-country\",[[2,\"smoothly-country\",{\"value\":[1],\"text\":[1],\"language\":[32]}]]],[\"smoothly-display-date-time\",[[2,\"smoothly-display-date-time\",{\"datetime\":[1]}]]],[\"smoothly-google-font\",[[2,\"smoothly-google-font\",{\"value\":[1]}]]],[\"smoothly-radio-group\",[[4,\"smoothly-radio-group\",{\"orientation\":[513]}]]],[\"smoothly-reorder\",[[0,\"smoothly-reorder\"]]],[\"smoothly-trigger-sink\",[[6,\"smoothly-trigger-sink\",{\"context\":[16],\"destination\":[1],\"filter\":[1]},[[0,\"trigger\",\"TriggerListener\"]]]]],[\"smoothly-trigger-source\",[[6,\"smoothly-trigger-source\",{\"listen\":[1]}]]],[\"smoothly-address-display\",[[2,\"smoothly-address-display\",{\"value\":[16],\"editable\":[4]}]]],[\"smoothly-address\",[[2,\"smoothly-address\",{\"value\":[16],\"editable\":[4]}]]]]"), options);
18
19
  });
19
20
 
20
21
  //# sourceMappingURL=smoothly.js.map
@@ -1 +1 @@
1
- {"file":"smoothly.js","mappings":";;;AAAA;AACA;AACA;AAgBA,MAAM,YAAY,GAAG,MAAM;AA6B3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAyD,EAAE,CAAC;AAe1E,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAWK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;AC1ED,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v2.22.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst 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 // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\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(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
1
+ {"file":"smoothly.js","mappings":";;;;AAAA;AACA;AACA;AAgBA,MAAM,YAAY,GAAG,MAAM;AA6B3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAyD,EAAE,CAAC;AAe1E,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAWK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;AC1ED,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cssVarShim) {\n // shim css vars\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst 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 // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\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(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
@@ -1,2 +1,2 @@
1
- export{A as App,C as Cosmetic,N as Notice,r as redirect}from"./p-70280a11.js";import{I as e,L as s}from"./p-06337b89.js";export{L as Listenable,M as Message,T as Trigger}from"./p-06337b89.js";export{G as GoogleFont}from"./p-bd478a53.js";import"./p-c88ae468.js";class t{constructor(){}static get value(){t.valueCache=localStorage.getItem("clientIdentifier")||undefined;if(!t.valueCache){t.valueCache=e.generate(12);localStorage.setItem("clientIdentifier",t.valueCache)}return t.valueCache}}class a{constructor(...e){this.listenable=new s;this.client=e.length==1?e[0]:undefined}}export{t as ClientIdentifier,a as StateBase};
1
+ import{I as e,L as f,M as r,T as n,D as t}from"./p-b9cb0514.js";import{G as a}from"./p-bd478a53.js";import{N as i,r as o}from"./p-c833c402.js";class d{constructor(){}static get value(){d.valueCache=localStorage.getItem("clientIdentifier")||undefined;if(!d.valueCache){d.valueCache=e.generate(12);localStorage.setItem("clientIdentifier",d.valueCache)}return d.valueCache}}class l{constructor(...e){this.listenable=new f;this.client=e.length==1?e[0]:undefined}}var u;(function(e){function f(e){const f=typeof e=="string"&&e.match(/[0-9a-fA-F]/g)||undefined;return typeof e=="string"&&e.length>3&&e[0]=="#"&&((f===null||f===void 0?void 0:f.length)==3||(f===null||f===void 0?void 0:f.length)==6)}e.is=f})(u||(u={}));var c;(function(e){function f(e){const f=typeof e=="string"&&e.length>11?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>11&&e.substr(0,4)=="hsl("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every(((e,f)=>{var r,n;let t=false;if(f==0)t=!Number.isNaN(e)&&((r=e.match(/[0-9]/g))===null||r===void 0?void 0:r.length)==e.length&&Number(e)>=0&&Number(e)<=360;else{const f=e.substr(0,e.length-1);t=e[e.length-1]=="%"&&!Number.isNaN(f)&&((n=f.match(/[0-9]/g))===null||n===void 0?void 0:n.length)==f.length&&Number(f)>=0&&Number(f)<=100}return t}))}e.is=f})(c||(c={}));const s={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var b;(function(e){e.types=()=>Object.keys(s);function f(f){return typeof f=="string"&&e.types().includes(f.toLowerCase())}e.is=f})(b||(b={}));var g;(function(e){function f(e){const f=typeof e=="string"&&e.length>9?e.substring(4,e.length-1).split(","):[];return typeof e=="string"&&e.length>9&&e.substr(0,4)=="rgb("&&e.substr(e.length-1,1)==")"&&f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f})(g||(g={}));var m;(function(e){function f(e){const f=typeof e=="string"?e.split(","):[];return f.length==3&&f.every((e=>{var f;return!Number.isNaN(e)&&((f=e.match(/[0-9]/g))===null||f===void 0?void 0:f.length)==e.length&&Number(e)>=0&&Number(e)<=255}))}e.is=f;function r(f){let r;const i=typeof f=="string"?f.replace(/ /g,"").toLowerCase():undefined;if(!i)r=undefined;else if(e.is(i))r=i;else if(u.is(i))r=n(i);else if(g.is(i))r=t(i);else if(b.is(i))r=n(s[i]);else if(c.is(i))r=a(i);return r}e.from=r;function n(e){let f="0,0,0";if(e.length==7)f=`${parseInt(e.substr(1,2),16)},${parseInt(e.substr(3,2),16)},${parseInt(e.substr(5,2),16)}`;else if(e.length==4)f=n(`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`);return f}e.fromHex=n;function t(e){return e.substring(4,e.length-1)}e.fromRgb=t;function a(e){let f="";let r,n,t;let a,o,d;const l=e.substring(4,e.length-1).split(",").map(((e,f)=>Number(f==0?e:e.substr(0,e.length-1))));if(l.length==3){r=l[0]/360;n=l[1]/100;t=l[2]/100;if(n==0)a=o=d=t;else{const e=t<.5?t*(1+n):t+n-t*n;const f=2*t-e;a=i(f,e,r+1/3);o=i(f,e,r);d=i(f,e,r-1/3)}f=`${Math.round(255*a)},${Math.round(255*o)},${Math.round(255*d)}`}return f}e.fromHsl=a;function i(e,f,r){let n=e;if(r<0)r+=1;if(r>1)r-=1;if(r<1/6)n=e+(f-e)*6*r;else if(r<1/2)n=f;else if(r<2/3)n=e+(f-e)*(2/3-r)*6;return n}})(m||(m={}));var p;(function(e){function f(e){return typeof e=="string"&&(m.is(e)||u.is(e)||c.is(e)||b.is(e)||g.is(e))}e.is=f;function r(e){return f(e)?e:undefined}e.from=r;e.Names=s;e.Name=b;e.CommaRgb=m;e.Rgb=g;e.Hex=u;e.Hsl=c})(p||(p={}));function y(e,f){return e.reduce(((e,r)=>typeof f=="object"&&f!=null&&typeof f[r]=="string"?Object.assign(Object.assign({},e),{[r]:f[r]}):e),{})}var h;(function(e){e.types=e;function f(e){let f={};if(typeof e=="object"&&e){f={text:y(["background","color"],e.text),border:y(["background","color","style","radius","width"],e.border),gap:typeof e.gap=="string"?e.gap:undefined,dangerColor:typeof e.dangerColor=="string"?e.dangerColor:typeof e.danger_color=="string"?e.danger_color:undefined,fontFamily:typeof e.fontFamily=="string"?e.fontFamily:typeof e.font_family=="string"?e.font_family:undefined,background:typeof e.background=="string"?e.background:undefined};Object.keys(f).forEach((e=>{var r;if(f[e]==undefined||typeof f[e]=="object"&&f[e]&&Object.keys((r=f[e])!==null&&r!==void 0?r:{}).length==0){delete f[e]}}))}return f}e.from=f;e.Color=p})(h||(h={}));const v=Object.freeze({__proto__:null,ClientIdentifier:d,get GoogleFont(){return a},Message:r,Notice:i,Trigger:n,Listenable:f,StateBase:l,get Data(){return t},redirect:o,get Cosmetic(){return h}});export{v as smoothly};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["ClientIdentifier","constructor","value","valueCache","localStorage","getItem","undefined","Identifier","generate","setItem","StateBase","parameters","this","listenable","Listenable","client","length"],"sources":["./src/model/ClientIdentifier.ts","./src/model/StateBase.ts"],"sourcesContent":["import { Identifier } from \"authly\"\n\nexport abstract class ClientIdentifier {\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\n\tprivate constructor() {}\n\tprivate static valueCache?: string\n\tstatic get value(): string {\n\t\tClientIdentifier.valueCache = localStorage.getItem(\"clientIdentifier\") || undefined\n\t\tif (!ClientIdentifier.valueCache) {\n\t\t\tClientIdentifier.valueCache = Identifier.generate(12)\n\t\t\tlocalStorage.setItem(\"clientIdentifier\", ClientIdentifier.valueCache)\n\t\t}\n\t\treturn ClientIdentifier.valueCache\n\t}\n}\n","import { HasListenable, Listenable, WithListenable } from \"./Listenable\"\n\nexport abstract class StateBase<T extends StateBase<any, any>, C = undefined> implements HasListenable<T> {\n\tpublic readonly listenable = new Listenable() as WithListenable<T>\n\tprotected readonly client: C\n\t// 2 different signatures depending on if C i set to a type.\n\tprotected constructor(...parameters: C extends undefined ? [] : [client: C]) {\n\t\tthis.client = parameters.length == 1 ? parameters[0] : (undefined as C)\n\t}\n}\n"],"mappings":"2QAEsBA,EAErBC,cAAA,CAEWC,mBACVF,EAAiBG,WAAaC,aAAaC,QAAQ,qBAAuBC,UAC1E,IAAKN,EAAiBG,WAAY,CACjCH,EAAiBG,WAAaI,EAAWC,SAAS,IAClDJ,aAAaK,QAAQ,mBAAoBT,EAAiBG,W,CAE3D,OAAOH,EAAiBG,U,QCVJO,EAIrBT,eAAyBU,GAHTC,KAAAC,WAAa,IAAIC,EAIhCF,KAAKG,OAASJ,EAAWK,QAAU,EAAIL,EAAW,GAAML,S"}
1
+ {"version":3,"names":["ClientIdentifier","constructor","value","valueCache","localStorage","getItem","undefined","Identifier","generate","setItem","StateBase","parameters","this","listenable","Listenable","client","length","Hex","is","matchArray","match","Hsl","values","substring","split","substr","every","single","index","result","Number","isNaN","_a","number","_b","Names","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","goldenrod","gold","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavenderblush","lavender","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","Name","types","Object","keys","includes","toLowerCase","Rgb","CommaRgb","from","color","colorWithoutSpace","replace","fromHex","fromRgb","ColorName","fromHsl","hex","parseInt","rgb","hsl","h","s","l","r","g","b","HSL","map","q","p","hue2rgb","Math","round","t","Color","ColorCommaRgb","ColorHex","ColorHsl","ColorRgb","ColorNames","reduce","c","Cosmetic","text","border","gap","dangerColor","danger_color","fontFamily","font_family","background","forEach","key","CosmeticColor"],"sources":["./src/model/ClientIdentifier.ts","./src/model/StateBase.ts","./src/utilities/Cosmetic/Color/Hex.ts","./src/utilities/Cosmetic/Color/Hsl.ts","./src/utilities/Cosmetic/Color/Name.ts","./src/utilities/Cosmetic/Color/Rgb.ts","./src/utilities/Cosmetic/Color/CommaRgb.ts","./src/utilities/Cosmetic/Color/index.ts","./src/utilities/Cosmetic/index.ts"],"sourcesContent":["import { Identifier } from \"authly\"\n\nexport abstract class ClientIdentifier {\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\n\tprivate constructor() {}\n\tprivate static valueCache?: string\n\tstatic get value(): string {\n\t\tClientIdentifier.valueCache = localStorage.getItem(\"clientIdentifier\") || undefined\n\t\tif (!ClientIdentifier.valueCache) {\n\t\t\tClientIdentifier.valueCache = Identifier.generate(12)\n\t\t\tlocalStorage.setItem(\"clientIdentifier\", ClientIdentifier.valueCache)\n\t\t}\n\t\treturn ClientIdentifier.valueCache\n\t}\n}\n","import { HasListenable, Listenable, WithListenable } from \"./Listenable\"\n\nexport abstract class StateBase<T extends StateBase<any, any>, C = undefined> implements HasListenable<T> {\n\tpublic readonly listenable = new Listenable() as WithListenable<T>\n\tprotected readonly client: C\n\t// 2 different signatures depending on if C i set to a type.\n\tprotected constructor(...parameters: C extends undefined ? [] : [client: C]) {\n\t\tthis.client = parameters.length == 1 ? parameters[0] : (undefined as C)\n\t}\n}\n","/**\n * Hex formated as \"#xxxxxx\" or \"#xxx\" where x is 0-9, or a-f or A-F\n */\nexport type Hex = string\nexport namespace Hex {\n\texport function is(value: any | Hex): value is Hex {\n\t\tconst matchArray = (typeof value == \"string\" && value.match(/[0-9a-fA-F]/g)) || undefined\n\t\treturn (\n\t\t\ttypeof value == \"string\" &&\n\t\t\tvalue.length > 3 &&\n\t\t\tvalue[0] == \"#\" &&\n\t\t\t(matchArray?.length == 3 || matchArray?.length == 6)\n\t\t)\n\t}\n}\n","/**\n * Hsl formated as \"hsl(H,S%,L%)\" with no spaces included\n * \t\twith limit: 0 <= H <= 360\n * \t\twith limit: 0 <= S,L <= 100\n */\nexport type Hsl = string\nexport namespace Hsl {\n\texport function is(value: any | Hsl): value is Hsl {\n\t\tconst values = typeof value == \"string\" && value.length > 11 ? value.substring(4, value.length - 1).split(\",\") : []\n\t\treturn (\n\t\t\ttypeof value == \"string\" &&\n\t\t\tvalue.length > 11 &&\n\t\t\tvalue.substr(0, 4) == \"hsl(\" &&\n\t\t\tvalue.substr(value.length - 1, 1) == \")\" &&\n\t\t\tvalues.length == 3 &&\n\t\t\tvalues.every((single: string, index: number) => {\n\t\t\t\tlet result = false\n\t\t\t\tif (index == 0)\n\t\t\t\t\tresult =\n\t\t\t\t\t\t!Number.isNaN(single) &&\n\t\t\t\t\t\tsingle.match(/[0-9]/g)?.length == single.length &&\n\t\t\t\t\t\tNumber(single) >= 0 &&\n\t\t\t\t\t\tNumber(single) <= 360\n\t\t\t\telse {\n\t\t\t\t\tconst number: string = single.substr(0, single.length - 1)\n\t\t\t\t\tresult =\n\t\t\t\t\t\tsingle[single.length - 1] == \"%\" &&\n\t\t\t\t\t\t!Number.isNaN(number) &&\n\t\t\t\t\t\tnumber.match(/[0-9]/g)?.length == number.length &&\n\t\t\t\t\t\tNumber(number) >= 0 &&\n\t\t\t\t\t\tNumber(number) <= 100\n\t\t\t\t}\n\t\t\t\treturn result\n\t\t\t})\n\t\t)\n\t}\n}\n","export const Names = <const>{\n\taliceblue: \"#f0f8ff\",\n\tantiquewhite: \"#faebd7\",\n\taqua: \"#00ffff\",\n\taquamarine: \"#7fffd4\",\n\tazure: \"#f0ffff\",\n\tbeige: \"#f5f5dc\",\n\tbisque: \"#ffe4c4\",\n\tblack: \"#000000\",\n\tblanchedalmond: \"#ffebcd\",\n\tblue: \"#0000ff\",\n\tblueviolet: \"#8a2be2\",\n\tbrown: \"#a52a2a\",\n\tburlywood: \"#deb887\",\n\tcadetblue: \"#5f9ea0\",\n\tchartreuse: \"#7fff00\",\n\tchocolate: \"#d2691e\",\n\tcoral: \"#ff7f50\",\n\tcornflowerblue: \"#6495ed\",\n\tcornsilk: \"#fff8dc\",\n\tcrimson: \"#dc143c\",\n\tcyan: \"#00ffff\",\n\tdarkblue: \"#00008b\",\n\tdarkcyan: \"#008b8b\",\n\tdarkgoldenrod: \"#b8860b\",\n\tdarkgray: \"#a9a9a9\",\n\tdarkgreen: \"#006400\",\n\tdarkgrey: \"#a9a9a9\",\n\tdarkkhaki: \"#bdb76b\",\n\tdarkmagenta: \"#8b008b\",\n\tdarkolivegreen: \"#556b2f\",\n\tdarkorange: \"#ff8c00\",\n\tdarkorchid: \"#9932cc\",\n\tdarkred: \"#8b0000\",\n\tdarksalmon: \"#e9967a\",\n\tdarkseagreen: \"#8fbc8f\",\n\tdarkslateblue: \"#483d8b\",\n\tdarkslategray: \"#2f4f4f\",\n\tdarkslategrey: \"#2f4f4f\",\n\tdarkturquoise: \"#00ced1\",\n\tdarkviolet: \"#9400d3\",\n\tdeeppink: \"#ff1493\",\n\tdeepskyblue: \"#00bfff\",\n\tdimgray: \"#696969\",\n\tdimgrey: \"#696969\",\n\tdodgerblue: \"#1e90ff\",\n\tfirebrick: \"#b22222\",\n\tfloralwhite: \"#fffaf0\",\n\tforestgreen: \"#228b22\",\n\tfuchsia: \"#ff00ff\",\n\tgainsboro: \"#dcdcdc\",\n\tghostwhite: \"#f8f8ff\",\n\tgoldenrod: \"#daa520\",\n\tgold: \"#ffd700\",\n\tgray: \"#808080\",\n\tgreen: \"#008000\",\n\tgreenyellow: \"#adff2f\",\n\tgrey: \"#808080\",\n\thoneydew: \"#f0fff0\",\n\thotpink: \"#ff69b4\",\n\tindianred: \"#cd5c5c\",\n\tindigo: \"#4b0082\",\n\tivory: \"#fffff0\",\n\tkhaki: \"#f0e68c\",\n\tlavenderblush: \"#fff0f5\",\n\tlavender: \"#e6e6fa\",\n\tlawngreen: \"#7cfc00\",\n\tlemonchiffon: \"#fffacd\",\n\tlightblue: \"#add8e6\",\n\tlightcoral: \"#f08080\",\n\tlightcyan: \"#e0ffff\",\n\tlightgoldenrodyellow: \"#fafad2\",\n\tlightgray: \"#d3d3d3\",\n\tlightgreen: \"#90ee90\",\n\tlightgrey: \"#d3d3d3\",\n\tlightpink: \"#ffb6c1\",\n\tlightsalmon: \"#ffa07a\",\n\tlightseagreen: \"#20b2aa\",\n\tlightskyblue: \"#87cefa\",\n\tlightslategray: \"#778899\",\n\tlightslategrey: \"#778899\",\n\tlightsteelblue: \"#b0c4de\",\n\tlightyellow: \"#ffffe0\",\n\tlime: \"#00ff00\",\n\tlimegreen: \"#32cd32\",\n\tlinen: \"#faf0e6\",\n\tmagenta: \"#ff00ff\",\n\tmaroon: \"#800000\",\n\tmediumaquamarine: \"#66cdaa\",\n\tmediumblue: \"#0000cd\",\n\tmediumorchid: \"#ba55d3\",\n\tmediumpurple: \"#9370db\",\n\tmediumseagreen: \"#3cb371\",\n\tmediumslateblue: \"#7b68ee\",\n\tmediumspringgreen: \"#00fa9a\",\n\tmediumturquoise: \"#48d1cc\",\n\tmediumvioletred: \"#c71585\",\n\tmidnightblue: \"#191970\",\n\tmintcream: \"#f5fffa\",\n\tmistyrose: \"#ffe4e1\",\n\tmoccasin: \"#ffe4b5\",\n\tnavajowhite: \"#ffdead\",\n\tnavy: \"#000080\",\n\toldlace: \"#fdf5e6\",\n\tolive: \"#808000\",\n\tolivedrab: \"#6b8e23\",\n\torange: \"#ffa500\",\n\torangered: \"#ff4500\",\n\torchid: \"#da70d6\",\n\tpalegoldenrod: \"#eee8aa\",\n\tpalegreen: \"#98fb98\",\n\tpaleturquoise: \"#afeeee\",\n\tpalevioletred: \"#db7093\",\n\tpapayawhip: \"#ffefd5\",\n\tpeachpuff: \"#ffdab9\",\n\tperu: \"#cd853f\",\n\tpink: \"#ffc0cb\",\n\tplum: \"#dda0dd\",\n\tpowderblue: \"#b0e0e6\",\n\tpurple: \"#800080\",\n\trebeccapurple: \"#663399\",\n\tred: \"#ff0000\",\n\trosybrown: \"#bc8f8f\",\n\troyalblue: \"#4169e1\",\n\tsaddlebrown: \"#8b4513\",\n\tsalmon: \"#fa8072\",\n\tsandybrown: \"#f4a460\",\n\tseagreen: \"#2e8b57\",\n\tseashell: \"#fff5ee\",\n\tsienna: \"#a0522d\",\n\tsilver: \"#c0c0c0\",\n\tskyblue: \"#87ceeb\",\n\tslateblue: \"#6a5acd\",\n\tslategray: \"#708090\",\n\tslategrey: \"#708090\",\n\tsnow: \"#fffafa\",\n\tspringgreen: \"#00ff7f\",\n\tsteelblue: \"#4682b4\",\n\ttan: \"#d2b48c\",\n\tteal: \"#008080\",\n\tthistle: \"#d8bfd8\",\n\ttomato: \"#ff6347\",\n\tturquoise: \"#40e0d0\",\n\tviolet: \"#ee82ee\",\n\twheat: \"#f5deb3\",\n\twhite: \"#ffffff\",\n\twhitesmoke: \"#f5f5f5\",\n\tyellow: \"#ffff00\",\n\tyellowgreen: \"#9acd32\",\n}\nexport type Name = keyof typeof Names\nexport namespace Name {\n\texport const types = () => Object.keys(Names)\n\texport function is(value: any | Name): value is Name {\n\t\treturn typeof value == \"string\" && types().includes(value.toLowerCase())\n\t}\n}\n","/**\n * Formated as \"rgb(r,g,b)\", with no spaces included\n */\nexport type Rgb = string\nexport namespace Rgb {\n\texport function is(value: any | Rgb): value is Rgb {\n\t\tconst values = typeof value == \"string\" && value.length > 9 ? value.substring(4, value.length - 1).split(\",\") : []\n\t\treturn (\n\t\t\ttypeof value == \"string\" &&\n\t\t\tvalue.length > 9 &&\n\t\t\tvalue.substr(0, 4) == \"rgb(\" &&\n\t\t\tvalue.substr(value.length - 1, 1) == \")\" &&\n\t\t\tvalues.length == 3 &&\n\t\t\tvalues.every(\n\t\t\t\t(value: string) =>\n\t\t\t\t\t!Number.isNaN(value) &&\n\t\t\t\t\tvalue.match(/[0-9]/g)?.length == value.length &&\n\t\t\t\t\tNumber(value) >= 0 &&\n\t\t\t\t\tNumber(value) <= 255\n\t\t\t)\n\t\t)\n\t}\n}\n","import { Hex } from \"./Hex\"\nimport { Hsl } from \"./Hsl\"\nimport { Name as ColorName, Names } from \"./Name\"\nimport { Rgb } from \"./Rgb\"\n\n/**\n * Formated as \"r,g,b\", with no spaces included\n */\nexport type CommaRgb = string\nexport namespace CommaRgb {\n\texport function is(value: any | CommaRgb): value is CommaRgb {\n\t\tconst values = typeof value == \"string\" ? value.split(\",\") : []\n\t\treturn (\n\t\t\tvalues.length == 3 &&\n\t\t\tvalues.every(\n\t\t\t\t(value: string) =>\n\t\t\t\t\t!Number.isNaN(value) &&\n\t\t\t\t\tvalue.match(/[0-9]/g)?.length == value.length &&\n\t\t\t\t\tNumber(value) >= 0 &&\n\t\t\t\t\tNumber(value) <= 255\n\t\t\t)\n\t\t)\n\t}\n\texport function from(color: any): CommaRgb | undefined {\n\t\tlet result: CommaRgb | undefined\n\t\tconst colorWithoutSpace: CommaRgb | undefined =\n\t\t\ttypeof color == \"string\" ? color.replace(/ /g, \"\").toLowerCase() : undefined\n\t\tif (!colorWithoutSpace)\n\t\t\tresult = undefined\n\t\telse if (CommaRgb.is(colorWithoutSpace))\n\t\t\tresult = colorWithoutSpace\n\t\telse if (Hex.is(colorWithoutSpace))\n\t\t\tresult = fromHex(colorWithoutSpace)\n\t\telse if (Rgb.is(colorWithoutSpace))\n\t\t\tresult = fromRgb(colorWithoutSpace)\n\t\telse if (ColorName.is(colorWithoutSpace))\n\t\t\tresult = fromHex(Names[colorWithoutSpace])\n\t\telse if (Hsl.is(colorWithoutSpace))\n\t\t\tresult = fromHsl(colorWithoutSpace)\n\t\treturn result\n\t}\n\texport function fromHex(hex: Hex): CommaRgb {\n\t\tlet result: CommaRgb = \"0,0,0\"\n\t\tif (hex.length == 7)\n\t\t\tresult = `${parseInt(hex.substr(1, 2), 16)},${parseInt(hex.substr(3, 2), 16)},${parseInt(hex.substr(5, 2), 16)}`\n\t\telse if (hex.length == 4)\n\t\t\tresult = fromHex(`#${hex[1]}${hex[1]}${hex[2]}${hex[2]}${hex[3]}${hex[3]}`)\n\t\treturn result\n\t}\n\texport function fromRgb(rgb: Rgb): CommaRgb {\n\t\treturn rgb.substring(4, rgb.length - 1)\n\t}\n\texport function fromHsl(hsl: Hsl): CommaRgb {\n\t\tlet result: CommaRgb = \"\"\n\t\tlet h, s, l: number\n\t\tlet r, g, b: number\n\t\tconst HSL: number[] = hsl\n\t\t\t.substring(4, hsl.length - 1)\n\t\t\t.split(\",\")\n\t\t\t.map((value, index) => Number(index == 0 ? value : value.substr(0, value.length - 1)))\n\t\tif (HSL.length == 3) {\n\t\t\th = HSL[0] / 360\n\t\t\ts = HSL[1] / 100\n\t\t\tl = HSL[2] / 100\n\t\t\tif (s == 0)\n\t\t\t\tr = g = b = l\n\t\t\telse {\n\t\t\t\tconst q = l < 0.5 ? l * (1 + s) : l + s - l * s\n\t\t\t\tconst p = 2 * l - q\n\t\t\t\tr = hue2rgb(p, q, h + 1 / 3)\n\t\t\t\tg = hue2rgb(p, q, h)\n\t\t\t\tb = hue2rgb(p, q, h - 1 / 3)\n\t\t\t}\n\t\t\tresult = `${Math.round(255 * r)},${Math.round(255 * g)},${Math.round(255 * b)}`\n\t\t}\n\t\treturn result\n\t}\n\tfunction hue2rgb(p: number, q: number, t: number): number {\n\t\tlet result = p\n\t\tif (t < 0)\n\t\t\tt += 1\n\t\tif (t > 1)\n\t\t\tt -= 1\n\t\tif (t < 1 / 6)\n\t\t\tresult = p + (q - p) * 6 * t\n\t\telse if (t < 1 / 2)\n\t\t\tresult = q\n\t\telse if (t < 2 / 3)\n\t\t\tresult = p + (q - p) * (2 / 3 - t) * 6\n\t\treturn result\n\t}\n}\n","import { CommaRgb as ColorCommaRgb } from \"./CommaRgb\"\nimport { Hex as ColorHex } from \"./Hex\"\nimport { Hsl as ColorHsl } from \"./Hsl\"\nimport { Name as ColorName, Names as ColorNames } from \"./Name\"\nimport { Rgb as ColorRgb } from \"./Rgb\"\n\nexport type Color = ColorCommaRgb | ColorHex | ColorHsl | ColorName | ColorRgb\nexport namespace Color {\n\texport function is(value: any | Color): value is Color {\n\t\treturn (\n\t\t\ttypeof value == \"string\" &&\n\t\t\t(ColorCommaRgb.is(value) || ColorHex.is(value) || ColorHsl.is(value) || ColorName.is(value) || ColorRgb.is(value))\n\t\t)\n\t}\n\texport function from(value: any | Color): Color | undefined {\n\t\treturn is(value) ? value : undefined\n\t}\n\texport const Names = ColorNames\n\texport type Name = ColorName\n\texport const Name = ColorName\n\texport type CommaRgb = ColorCommaRgb\n\texport const CommaRgb = ColorCommaRgb\n\texport type Rgb = ColorRgb\n\texport const Rgb = ColorRgb\n\texport type Hex = ColorHex\n\texport const Hex = ColorHex\n\texport type Hsl = ColorHsl\n\texport const Hsl = ColorHsl\n}\n","import { Color as CosmeticColor } from \"./Color\"\n\nexport type Cosmetic = {\n\ttext?: { background?: string; color?: string }\n\tborder?: {\n\t\tcolor?: string\n\t\tstyle?: string\n\t\tradius?: string\n\t\twidth?: string\n\t}\n\tgap?: string\n\tdangerColor?: string\n\tfontFamily?: string\n\tbackground?: string\n}\n\nfunction reduce(types: string[], value: Record<string, string>) {\n\treturn types.reduce(\n\t\t(r, c) =>\n\t\t\ttypeof value == \"object\" && value != null && typeof value[c] == \"string\"\n\t\t\t\t? {\n\t\t\t\t\t\t...r,\n\t\t\t\t\t\t[c]: value[c],\n\t\t\t\t }\n\t\t\t\t: r,\n\t\t{}\n\t)\n}\nexport namespace Cosmetic {\n\texport const types = Cosmetic\n\texport function from(value: any | Cosmetic): Cosmetic {\n\t\tlet result: Cosmetic = {}\n\t\tif (typeof value == \"object\" && value) {\n\t\t\tresult = {\n\t\t\t\ttext: reduce([\"background\", \"color\"], value.text),\n\t\t\t\tborder: reduce([\"background\", \"color\", \"style\", \"radius\", \"width\"], value.border),\n\t\t\t\tgap: typeof value.gap == \"string\" ? value.gap : undefined,\n\t\t\t\tdangerColor:\n\t\t\t\t\ttypeof value.dangerColor == \"string\"\n\t\t\t\t\t\t? value.dangerColor\n\t\t\t\t\t\t: typeof value.danger_color == \"string\"\n\t\t\t\t\t\t? value.danger_color\n\t\t\t\t\t\t: undefined,\n\t\t\t\tfontFamily:\n\t\t\t\t\ttypeof value.fontFamily == \"string\"\n\t\t\t\t\t\t? value.fontFamily\n\t\t\t\t\t\t: typeof value.font_family == \"string\"\n\t\t\t\t\t\t? value.font_family\n\t\t\t\t\t\t: undefined,\n\t\t\t\tbackground: typeof value.background == \"string\" ? value.background : undefined,\n\t\t\t}\n\t\t\tObject.keys(result).forEach((key: \"text\" | \"border\" | \"gap\" | \"dangerColor\" | \"fontFamily\" | \"background\") => {\n\t\t\t\tif (\n\t\t\t\t\tresult[key] == undefined ||\n\t\t\t\t\t(typeof result[key] == \"object\" && result[key] && Object.keys(result[key] ?? {}).length == 0)\n\t\t\t\t) {\n\t\t\t\t\tdelete result[key]\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\t\treturn result\n\t}\n\texport type Color = CosmeticColor\n\texport const Color = CosmeticColor\n}\n"],"mappings":"qJAEsBA,EAErBC,cAAA,CAEWC,mBACVF,EAAiBG,WAAaC,aAAaC,QAAQ,qBAAuBC,UAC1E,IAAKN,EAAiBG,WAAY,CACjCH,EAAiBG,WAAaI,EAAWC,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,SACzBpO,EAAMoO,mBACCpO,EAAMqO,cAAgB,SAC7BrO,EAAMqO,aACNjO,UACJkO,kBACQtO,EAAMsO,YAAc,SACxBtO,EAAMsO,kBACCtO,EAAMuO,aAAe,SAC5BvO,EAAMuO,YACNnO,UACJoO,kBAAmBxO,EAAMwO,YAAc,SAAWxO,EAAMwO,WAAapO,WAEtEoL,OAAOC,KAAK9J,GAAQ8M,SAASC,I,MAC5B,GACC/M,EAAO+M,IAAQtO,kBACPuB,EAAO+M,IAAQ,UAAY/M,EAAO+M,IAAQlD,OAAOC,MAAK3J,EAAAH,EAAO+M,MAAI,MAAA5M,SAAA,EAAAA,EAAI,IAAIhB,QAAU,EAC1F,QACMa,EAAO+M,E,KAIjB,OAAO/M,C,CA9BQqM,EAAAlC,KAAIA,EAiCPkC,EAAAR,MAAQmB,CACrB,EApCD,CAAiBX,MAAQ,K"}
@@ -1,2 +1,2 @@
1
- import{r as o,h as t}from"./p-c88ae468.js";const r="smoothly-radio-group{display:flex;position:relative;color:none !important;background:none !important;margin:0.5em 0}smoothly-radio-group[hidden]{display:none}smoothly-radio-group[orientation=vertical] *:not(:first-of-type)>input[type=radio]~label{border-top:none}smoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type)>input[type=radio]~label{border-left:none}smoothly-radio-group[orientation=vertical]{flex-direction:column}smoothly-radio-group[orientation=vertical] :first-of-type>input[type=radio]~label{border-radius:4px 4px 0 0}smoothly-radio-group[orientation=vertical] :last-of-type>input[type=radio]~label{border-radius:0 0 4px 4px}smoothly-radio-group:not([orientation=vertical]){flex-direction:row}smoothly-radio-group:not([orientation=vertical]) :first-of-type>input[type=radio]~label{border-radius:4px 0 0 4px}smoothly-radio-group:not([orientation=vertical]) :last-of-type>input[type=radio]~label{border-radius:0 4px 4px 0}";const i=class{constructor(t){o(this,t);this.orientation="horizontal"}render(){return t("slot",null)}};i.style=r;export{i as smoothly_radio_group};
2
- //# sourceMappingURL=p-d4182274.entry.js.map
1
+ import{r as o,h as t}from"./p-d0b8061e.js";const r="smoothly-radio-group{display:flex;position:relative;color:none !important;background:none !important;margin:0.5em 0}smoothly-radio-group[hidden]{display:none}smoothly-radio-group[orientation=vertical] *:not(:first-of-type)>input[type=radio]~label{border-top:none}smoothly-radio-group:not([orientation=vertical]) *:not(:first-of-type)>input[type=radio]~label{border-left:none}smoothly-radio-group[orientation=vertical]{flex-direction:column}smoothly-radio-group[orientation=vertical] :first-of-type>input[type=radio]~label{border-radius:4px 4px 0 0}smoothly-radio-group[orientation=vertical] :last-of-type>input[type=radio]~label{border-radius:0 0 4px 4px}smoothly-radio-group:not([orientation=vertical]){flex-direction:row}smoothly-radio-group:not([orientation=vertical]) :first-of-type>input[type=radio]~label{border-radius:4px 0 0 4px}smoothly-radio-group:not([orientation=vertical]) :last-of-type>input[type=radio]~label{border-radius:0 4px 4px 0}";const i=class{constructor(t){o(this,t);this.orientation="horizontal"}render(){return t("slot",null)}};i.style=r;export{i as smoothly_radio_group};
2
+ //# sourceMappingURL=p-1efa3261.entry.js.map