smoothly 1.0.0-alpha.21 → 1.0.0-alpha.211

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 (549) hide show
  1. package/dist/cjs/{Listenable-63ea2d90.js → Data-ae713814.js} +523 -6
  2. package/dist/cjs/Data-ae713814.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/TimeZone-016ac7b0.js +6181 -0
  6. package/dist/cjs/TimeZone-016ac7b0.js.map +1 -0
  7. package/dist/cjs/getLanguage-49a534df.js +6118 -0
  8. package/dist/cjs/getLanguage-49a534df.js.map +1 -0
  9. package/dist/cjs/{index-8adc5c1b.js → index-43af753b.js} +55 -2
  10. package/dist/cjs/index-43af753b.js.map +1 -0
  11. package/dist/cjs/index.cjs.js +22 -17
  12. package/dist/cjs/index.cjs.js.map +1 -1
  13. package/dist/cjs/loader.cjs.js +4 -3
  14. package/dist/cjs/loader.cjs.js.map +1 -1
  15. package/dist/cjs/{Notice-88ba4c70.js → redirect-2e5d4524.js} +11 -2
  16. package/dist/cjs/redirect-2e5d4524.js.map +1 -0
  17. package/dist/cjs/smoothly-accordion-item.cjs.entry.js +61 -0
  18. package/dist/cjs/smoothly-accordion-item.cjs.entry.js.map +1 -0
  19. package/dist/cjs/smoothly-accordion.cjs.entry.js +58 -0
  20. package/dist/cjs/smoothly-accordion.cjs.entry.js.map +1 -0
  21. package/dist/cjs/smoothly-address-display.cjs.entry.js +1 -1
  22. package/dist/cjs/smoothly-address.cjs.entry.js +1 -1
  23. package/dist/cjs/smoothly-addresses.cjs.entry.js +1 -1
  24. package/dist/cjs/smoothly-app_80.cjs.entry.js +10897 -0
  25. package/dist/cjs/smoothly-app_80.cjs.entry.js.map +1 -0
  26. package/dist/cjs/smoothly-checkbox.cjs.entry.js +102 -0
  27. package/dist/cjs/smoothly-checkbox.cjs.entry.js.map +1 -0
  28. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  29. package/dist/cjs/smoothly-country.cjs.entry.js +56 -55
  30. package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
  31. package/dist/cjs/smoothly-display-date-time.cjs.entry.js +26 -0
  32. package/dist/cjs/smoothly-display-date-time.cjs.entry.js.map +1 -0
  33. package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
  34. package/dist/cjs/smoothly-reorder.cjs.entry.js +1 -1
  35. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +4 -4
  36. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js.map +1 -1
  37. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +6 -6
  38. package/dist/cjs/smoothly-trigger-source.cjs.entry.js.map +1 -1
  39. package/dist/cjs/smoothly.cjs.js +4 -3
  40. package/dist/cjs/smoothly.cjs.js.map +1 -1
  41. package/dist/collection/collection-manifest.json +37 -15
  42. package/dist/collection/components/Button.js +16 -2
  43. package/dist/collection/components/Button.js.map +1 -1
  44. package/dist/collection/components/accordion/index.js +32 -12
  45. package/dist/collection/components/accordion/index.js.map +1 -1
  46. package/dist/collection/components/accordion-item/index.js +18 -25
  47. package/dist/collection/components/accordion-item/index.js.map +1 -1
  48. package/dist/collection/components/app/index.js +99 -29
  49. package/dist/collection/components/app/index.js.map +1 -1
  50. package/dist/collection/components/app/room/index.js +134 -25
  51. package/dist/collection/components/app/room/index.js.map +1 -1
  52. package/dist/collection/components/app/room/style.css +39 -10
  53. package/dist/collection/components/app/style.css +104 -39
  54. package/dist/collection/components/app-demo/index.js +1 -1
  55. package/dist/collection/components/app-demo/index.js.map +1 -1
  56. package/dist/collection/components/backtotop/index.js +3 -3
  57. package/dist/collection/components/backtotop/index.js.map +1 -1
  58. package/dist/collection/components/burger/index.js +60 -14
  59. package/dist/collection/components/burger/index.js.map +1 -1
  60. package/dist/collection/components/burger/style.css +2 -2
  61. package/dist/collection/components/button/index.js +10 -23
  62. package/dist/collection/components/button/index.js.map +1 -1
  63. package/dist/collection/components/button/style.css +33 -35
  64. package/dist/collection/components/button-demo/index.js +4 -2
  65. package/dist/collection/components/button-demo/index.js.map +1 -1
  66. package/dist/collection/components/button-demo/style.css +1 -0
  67. package/dist/collection/components/calendar/generate.js +1 -1
  68. package/dist/collection/components/calendar/generate.js.map +1 -1
  69. package/dist/collection/components/calendar/index.js +16 -16
  70. package/dist/collection/components/calendar/index.js.map +1 -1
  71. package/dist/collection/components/checkbox/index.js +82 -29
  72. package/dist/collection/components/checkbox/index.js.map +1 -1
  73. package/dist/collection/components/checkbox/style.css +39 -42
  74. package/dist/collection/components/confirm/index.js +261 -0
  75. package/dist/collection/components/confirm/index.js.map +1 -0
  76. package/dist/collection/components/confirm/style.css +15 -0
  77. package/dist/collection/components/country/index.js +1 -1
  78. package/dist/collection/components/display/index.js +6 -3
  79. package/dist/collection/components/display/index.js.map +1 -1
  80. package/dist/collection/components/display-amount/index.js +1 -1
  81. package/dist/collection/components/display-demo/index.js +16 -1
  82. package/dist/collection/components/display-demo/index.js.map +1 -1
  83. package/dist/collection/components/filter/Filter.js +17 -0
  84. package/dist/collection/components/filter/Filter.js.map +1 -0
  85. package/dist/collection/components/filter/field/index.js +105 -0
  86. package/dist/collection/components/filter/field/index.js.map +1 -0
  87. package/dist/collection/components/filter/field/style.css +4 -0
  88. package/dist/collection/components/filter/index.js +55 -132
  89. package/dist/collection/components/filter/index.js.map +1 -1
  90. package/dist/collection/components/filter/input/index.js +64 -302
  91. package/dist/collection/components/filter/input/index.js.map +1 -1
  92. package/dist/collection/components/filter/picker/index.js +209 -0
  93. package/dist/collection/components/filter/picker/index.js.map +1 -0
  94. package/dist/collection/components/filter/picker/style.css +8 -0
  95. package/dist/collection/components/filter/style.css +56 -71
  96. package/dist/collection/components/filter/toggle/index.js +248 -0
  97. package/dist/collection/components/filter/toggle/index.js.map +1 -0
  98. package/dist/collection/components/filter/toggle/style.css +8 -0
  99. package/dist/collection/components/form/index.js +302 -35
  100. package/dist/collection/components/form/index.js.map +1 -1
  101. package/dist/collection/components/form/style.css +11 -17
  102. package/dist/collection/components/icon/index.js +29 -38
  103. package/dist/collection/components/icon/index.js.map +1 -1
  104. package/dist/collection/components/icon-demo/index.js +1 -1
  105. package/dist/collection/components/icon-demo/index.js.map +1 -1
  106. package/dist/collection/components/icon-demo/style.css +5 -6
  107. package/dist/collection/components/input/Clearable.js.map +1 -0
  108. package/dist/collection/components/input/Editable.js +18 -0
  109. package/dist/collection/components/input/Editable.js.map +1 -0
  110. package/dist/collection/components/input/Input.js +23 -0
  111. package/dist/collection/components/input/Input.js.map +1 -0
  112. package/dist/collection/components/input/Looks.js +8 -0
  113. package/dist/collection/components/input/Looks.js.map +1 -0
  114. package/dist/collection/components/input/Submittable.js +8 -0
  115. package/dist/collection/components/input/Submittable.js.map +1 -0
  116. package/dist/collection/components/input/checkbox/index.js +235 -0
  117. package/dist/collection/components/input/checkbox/index.js.map +1 -0
  118. package/dist/collection/components/input/checkbox/style.css +31 -0
  119. package/dist/collection/components/input/clear/index.js +242 -0
  120. package/dist/collection/components/input/clear/index.js.map +1 -0
  121. package/dist/collection/components/input/clear/style.css +256 -0
  122. package/dist/collection/components/input/color/index.js +226 -0
  123. package/dist/collection/components/input/color/index.js.map +1 -0
  124. package/dist/collection/components/input/color/style.css +15 -0
  125. package/dist/collection/components/{input-date-range → input/date}/index.js +153 -99
  126. package/dist/collection/components/input/date/index.js.map +1 -0
  127. package/dist/collection/components/input/date/range/index.js +443 -0
  128. package/dist/collection/components/input/date/range/index.js.map +1 -0
  129. package/dist/collection/components/input/date/range/style.css +94 -0
  130. package/dist/collection/components/input/date/style.css +83 -0
  131. package/dist/collection/components/input/demo/index.js +47 -0
  132. package/dist/collection/components/input/demo/index.js.map +1 -0
  133. package/dist/collection/components/input/demo/style.css +15 -0
  134. package/dist/collection/components/input/edit/index.js +231 -0
  135. package/dist/collection/components/input/edit/index.js.map +1 -0
  136. package/dist/collection/components/input/edit/style.css +239 -0
  137. package/dist/collection/components/input/file/index.js +305 -0
  138. package/dist/collection/components/input/file/index.js.map +1 -0
  139. package/dist/collection/components/input/file/style.css +107 -0
  140. package/dist/collection/components/input/index.js +329 -104
  141. package/dist/collection/components/input/index.js.map +1 -1
  142. package/dist/collection/components/{input-month → input/month}/index.js +8 -8
  143. package/dist/collection/components/input/month/index.js.map +1 -0
  144. package/dist/collection/components/input/radio/Selected.js +11 -0
  145. package/dist/collection/components/input/radio/Selected.js.map +1 -0
  146. package/dist/collection/components/input/radio/index.js +404 -0
  147. package/dist/collection/components/input/radio/index.js.map +1 -0
  148. package/dist/collection/components/input/radio/item/index.js +150 -0
  149. package/dist/collection/components/input/radio/item/index.js.map +1 -0
  150. package/dist/collection/components/input/radio/item/style.css +28 -0
  151. package/dist/collection/components/input/radio/style.css +66 -0
  152. package/dist/collection/components/input/range/index.js +305 -0
  153. package/dist/collection/components/input/range/index.js.map +1 -0
  154. package/dist/collection/components/input/range/style.css +154 -0
  155. package/dist/collection/components/input/reset/index.js +241 -0
  156. package/dist/collection/components/input/reset/index.js.map +1 -0
  157. package/dist/collection/components/input/reset/style.css +259 -0
  158. package/dist/collection/components/input/select/index.js +452 -0
  159. package/dist/collection/components/input/select/index.js.map +1 -0
  160. package/dist/collection/components/input/select/style.css +104 -0
  161. package/dist/collection/components/input/style.css +47 -10
  162. package/dist/collection/components/input/submit/index.js +232 -0
  163. package/dist/collection/components/input/submit/index.js.map +1 -0
  164. package/dist/collection/components/input/submit/style.css +236 -0
  165. package/dist/collection/components/item/index.js +5 -5
  166. package/dist/collection/components/item/index.js.map +1 -1
  167. package/dist/collection/components/label/index.js +81 -0
  168. package/dist/collection/components/label/index.js.map +1 -0
  169. package/dist/collection/components/label/style.css +15 -0
  170. package/dist/collection/components/lazy/index.js +73 -0
  171. package/dist/collection/components/lazy/index.js.map +1 -0
  172. package/dist/collection/components/{radio → load-more}/index.js +35 -46
  173. package/dist/collection/components/load-more/index.js.map +1 -0
  174. package/dist/collection/components/load-more/style.css +5 -0
  175. package/dist/collection/components/notification/index.js +45 -8
  176. package/dist/collection/components/notification/index.js.map +1 -1
  177. package/dist/collection/components/notification/style.css +25 -1
  178. package/dist/collection/components/notifier/style.css +1 -3
  179. package/dist/collection/components/picker/demo/index.js +91 -0
  180. package/dist/collection/components/picker/demo/index.js.map +1 -0
  181. package/dist/collection/components/picker/demo/style.css +30 -0
  182. package/dist/collection/components/picker/index.js +197 -396
  183. package/dist/collection/components/picker/index.js.map +1 -1
  184. package/dist/collection/components/picker/menu/index.js +429 -0
  185. package/dist/collection/components/picker/menu/index.js.map +1 -0
  186. package/dist/collection/components/picker/menu/style.css +44 -0
  187. package/dist/collection/components/picker/option/index.js +298 -0
  188. package/dist/collection/components/picker/option/index.js.map +1 -0
  189. package/dist/collection/components/picker/option/style.css +30 -0
  190. package/dist/collection/components/picker/slot-elements/index.js +109 -0
  191. package/dist/collection/components/picker/slot-elements/index.js.map +1 -0
  192. package/dist/collection/components/picker/slot-elements/style.css +3 -0
  193. package/dist/collection/components/picker/slotted-elements/index.js +84 -0
  194. package/dist/collection/components/picker/slotted-elements/index.js.map +1 -0
  195. package/dist/collection/components/picker/slotted-elements/style.css +3 -0
  196. package/dist/collection/components/picker/style.css +76 -136
  197. package/dist/collection/components/popup/index.js +5 -5
  198. package/dist/collection/components/popup/index.js.map +1 -1
  199. package/dist/collection/components/popup/style.css +4 -4
  200. package/dist/collection/components/select-demo/index.js +0 -87
  201. package/dist/collection/components/select-demo/index.js.map +1 -1
  202. package/dist/collection/components/spinner/style.css +1 -0
  203. package/dist/collection/components/submit/index.js +64 -5
  204. package/dist/collection/components/submit/index.js.map +1 -1
  205. package/dist/collection/components/submit/style.css +226 -0
  206. package/dist/collection/components/summary/index.js +46 -4
  207. package/dist/collection/components/summary/index.js.map +1 -1
  208. package/dist/collection/components/summary/style.css +25 -16
  209. package/dist/collection/components/svg/style.css +2 -2
  210. package/dist/collection/components/table/cell/index.js +1 -1
  211. package/dist/collection/components/table/cell/index.js.map +1 -1
  212. package/dist/collection/components/table/cell/style.css +18 -11
  213. package/dist/collection/components/table/demo/filtered/Root.js.map +1 -1
  214. package/dist/collection/components/table/demo/filtered/index.js +25 -18
  215. package/dist/collection/components/table/demo/filtered/index.js.map +1 -1
  216. package/dist/collection/components/table/demo/filtered/style.css +9 -0
  217. package/dist/collection/components/table/demo/index.js +2 -9
  218. package/dist/collection/components/table/demo/index.js.map +1 -1
  219. package/dist/collection/components/table/demo/style.css +7 -0
  220. package/dist/collection/components/table/demo/testing/data.js +28 -0
  221. package/dist/collection/components/table/demo/testing/data.js.map +1 -0
  222. package/dist/collection/components/table/demo/testing/index.js +28 -0
  223. package/dist/collection/components/table/demo/testing/index.js.map +1 -0
  224. package/dist/collection/components/table/demo/testing/style.css +32 -0
  225. package/dist/collection/components/table/expandable/cell/index.js +14 -33
  226. package/dist/collection/components/table/expandable/cell/index.js.map +1 -1
  227. package/dist/collection/components/table/expandable/cell/style.css +32 -25
  228. package/dist/collection/components/table/expandable/row/index.js +9 -51
  229. package/dist/collection/components/table/expandable/row/index.js.map +1 -1
  230. package/dist/collection/components/table/expandable/row/style.css +32 -29
  231. package/dist/collection/components/table/footer/index.js +19 -0
  232. package/dist/collection/components/table/footer/index.js.map +1 -0
  233. package/dist/collection/components/table/footer/style.css +10 -0
  234. package/dist/collection/components/table/header/style.css +2 -3
  235. package/dist/collection/components/table/index.js +55 -12
  236. package/dist/collection/components/table/index.js.map +1 -1
  237. package/dist/collection/components/table/row/index.js +37 -5
  238. package/dist/collection/components/table/row/index.js.map +1 -1
  239. package/dist/collection/components/table/row/style.css +4 -1
  240. package/dist/collection/components/table/style.css +0 -2
  241. package/dist/collection/components/theme/color/index.js +48 -0
  242. package/dist/collection/components/theme/color/index.js.map +1 -0
  243. package/dist/collection/components/theme/color/style.css +8 -0
  244. package/dist/collection/components/theme/color/variant/index.js +66 -0
  245. package/dist/collection/components/theme/color/variant/index.js.map +1 -0
  246. package/dist/collection/components/theme/color/variant/style.css +18 -0
  247. package/dist/collection/components/theme/colors/index.js +30 -0
  248. package/dist/collection/components/theme/colors/index.js.map +1 -0
  249. package/dist/collection/components/theme/colors/style.css +7 -0
  250. package/dist/collection/components/theme/picker/index.js +48 -0
  251. package/dist/collection/components/theme/picker/index.js.map +1 -0
  252. package/dist/collection/components/theme/picker/style.css +0 -0
  253. package/dist/collection/components/toggle-switch/index.js +69 -17
  254. package/dist/collection/components/toggle-switch/index.js.map +1 -1
  255. package/dist/collection/components/toggle-switch/style.css +19 -12
  256. package/dist/collection/components/trigger-source/index.js +3 -3
  257. package/dist/collection/components/trigger-source/index.js.map +1 -1
  258. package/dist/collection/global/Observers.js +22 -0
  259. package/dist/collection/global/Observers.js.map +1 -0
  260. package/dist/collection/global/index.js +5 -0
  261. package/dist/collection/global/index.js.map +1 -0
  262. package/dist/collection/index.js +2 -2
  263. package/dist/collection/index.js.map +1 -1
  264. package/dist/collection/model/Color.js +18 -1
  265. package/dist/collection/model/Color.js.map +1 -1
  266. package/dist/collection/{components/form → model}/Data.js +8 -1
  267. package/dist/collection/model/Data.js.map +1 -0
  268. package/dist/collection/model/Icon.js +23 -0
  269. package/dist/collection/model/Icon.js.map +1 -0
  270. package/dist/collection/model/Listenable.js +17 -4
  271. package/dist/collection/model/Listenable.js.map +1 -1
  272. package/dist/collection/model/Notice.js +1 -1
  273. package/dist/collection/model/Notice.js.map +1 -1
  274. package/dist/collection/model/Option.js.map +1 -1
  275. package/dist/collection/model/index.js +4 -0
  276. package/dist/collection/model/index.js.map +1 -1
  277. package/dist/collection/model/redirect.js +8 -0
  278. package/dist/collection/model/redirect.js.map +1 -0
  279. package/dist/collection/smoothly.js +3 -0
  280. package/dist/collection/smoothly.js.map +1 -0
  281. package/dist/custom-elements/index.d.ts +176 -50
  282. package/dist/custom-elements/index.js +13394 -29834
  283. package/dist/custom-elements/index.js.map +1 -1
  284. package/dist/esm/{Listenable-fb6f4723.js → Data-0390d600.js} +518 -7
  285. package/dist/esm/Data-0390d600.js.map +1 -0
  286. package/dist/esm/Observers-5f08e828.js +25 -0
  287. package/dist/esm/Observers-5f08e828.js.map +1 -0
  288. package/dist/esm/TimeZone-c8df4905.js +6181 -0
  289. package/dist/esm/TimeZone-c8df4905.js.map +1 -0
  290. package/dist/esm/getLanguage-1e9ec036.js +6116 -0
  291. package/dist/esm/getLanguage-1e9ec036.js.map +1 -0
  292. package/dist/esm/{index-6ac4212d.js → index-258984d3.js} +55 -2
  293. package/dist/esm/index-258984d3.js.map +1 -0
  294. package/dist/esm/index.js +20 -5
  295. package/dist/esm/index.js.map +1 -1
  296. package/dist/esm/loader.js +5 -4
  297. package/dist/esm/loader.js.map +1 -1
  298. package/dist/esm/{Notice-1fa17794.js → redirect-b0f87e88.js} +11 -3
  299. package/dist/esm/redirect-b0f87e88.js.map +1 -0
  300. package/dist/esm/smoothly-accordion-item.entry.js +57 -0
  301. package/dist/esm/smoothly-accordion-item.entry.js.map +1 -0
  302. package/dist/esm/smoothly-accordion.entry.js +54 -0
  303. package/dist/esm/smoothly-accordion.entry.js.map +1 -0
  304. package/dist/esm/smoothly-address-display.entry.js +1 -1
  305. package/dist/esm/smoothly-address.entry.js +1 -1
  306. package/dist/esm/smoothly-addresses.entry.js +1 -1
  307. package/dist/esm/smoothly-app_80.entry.js +10814 -0
  308. package/dist/esm/smoothly-app_80.entry.js.map +1 -0
  309. package/dist/esm/smoothly-checkbox.entry.js +98 -0
  310. package/dist/esm/smoothly-checkbox.entry.js.map +1 -0
  311. package/dist/esm/smoothly-color.entry.js +1 -1
  312. package/dist/esm/smoothly-country.entry.js +10 -9
  313. package/dist/esm/smoothly-country.entry.js.map +1 -1
  314. package/dist/esm/smoothly-display-date-time.entry.js +22 -0
  315. package/dist/esm/smoothly-display-date-time.entry.js.map +1 -0
  316. package/dist/esm/smoothly-google-font.entry.js +1 -1
  317. package/dist/esm/smoothly-reorder.entry.js +1 -1
  318. package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
  319. package/dist/esm/smoothly-trigger-source.entry.js +4 -4
  320. package/dist/esm/smoothly-trigger-source.entry.js.map +1 -1
  321. package/dist/esm/smoothly.js +5 -4
  322. package/dist/esm/smoothly.js.map +1 -1
  323. package/dist/smoothly/index.esm.js +1 -1
  324. package/dist/smoothly/index.esm.js.map +1 -1
  325. package/dist/smoothly/{p-04fb45e1.entry.js → p-12182a73.entry.js} +2 -2
  326. package/dist/smoothly/{p-5629e452.entry.js → p-127dcc56.entry.js} +2 -2
  327. package/dist/smoothly/p-21905b32.entry.js +2 -0
  328. package/dist/smoothly/p-21905b32.entry.js.map +1 -0
  329. package/dist/smoothly/p-312ef066.js +2 -0
  330. package/dist/smoothly/p-312ef066.js.map +1 -0
  331. package/dist/smoothly/p-47151a53.entry.js +2 -0
  332. package/dist/smoothly/p-5e387578.js +3 -0
  333. package/dist/smoothly/p-5e387578.js.map +1 -0
  334. package/dist/smoothly/{p-0fec28cc.entry.js → p-6aebb818.entry.js} +2 -2
  335. package/dist/smoothly/p-6e9aca2e.entry.js +2 -0
  336. package/dist/smoothly/p-6e9aca2e.entry.js.map +1 -0
  337. package/dist/smoothly/{p-ae467192.entry.js → p-7bf147bf.entry.js} +2 -2
  338. package/dist/smoothly/p-823e02b0.entry.js +2 -0
  339. package/dist/smoothly/p-823e02b0.entry.js.map +1 -0
  340. package/dist/smoothly/p-9b828bde.js +2 -0
  341. package/dist/smoothly/p-9b828bde.js.map +1 -0
  342. package/dist/smoothly/p-a0ebd646.entry.js +2 -0
  343. package/dist/smoothly/p-a0ebd646.entry.js.map +1 -0
  344. package/dist/smoothly/{p-b3eef141.entry.js → p-b3eac6af.entry.js} +2 -2
  345. package/dist/smoothly/p-b9165e1d.entry.js +2 -0
  346. package/dist/smoothly/p-b9165e1d.entry.js.map +1 -0
  347. package/dist/smoothly/p-c833c402.js +2 -0
  348. package/dist/smoothly/p-c833c402.js.map +1 -0
  349. package/dist/smoothly/{p-3a6873ed.entry.js → p-cb493516.entry.js} +2 -2
  350. package/dist/smoothly/p-ede93d69.js +2 -0
  351. package/dist/smoothly/p-ede93d69.js.map +1 -0
  352. package/dist/smoothly/p-eef1c80b.entry.js +2 -0
  353. package/dist/smoothly/p-eef1c80b.entry.js.map +1 -0
  354. package/dist/smoothly/p-f125610c.entry.js +2 -0
  355. package/dist/smoothly/p-f125610c.entry.js.map +1 -0
  356. package/dist/smoothly/p-fa664317.js +2 -0
  357. package/dist/smoothly/p-fa664317.js.map +1 -0
  358. package/dist/smoothly/smoothly.esm.js +1 -1
  359. package/dist/smoothly/smoothly.esm.js.map +1 -1
  360. package/dist/types/components/Button.d.ts +1 -2
  361. package/dist/types/components/accordion/index.d.ts +1 -1
  362. package/dist/types/components/accordion-item/index.d.ts +5 -4
  363. package/dist/types/components/app/index.d.ts +23 -10
  364. package/dist/types/components/app/room/index.d.ts +21 -7
  365. package/dist/types/components/app-demo/index.d.ts +1 -0
  366. package/dist/types/components/backtotop/index.d.ts +1 -1
  367. package/dist/types/components/burger/index.d.ts +7 -2
  368. package/dist/types/components/button/index.d.ts +2 -2
  369. package/dist/types/components/calendar/index.d.ts +5 -5
  370. package/dist/types/components/checkbox/index.d.ts +7 -3
  371. package/dist/types/components/confirm/index.d.ts +19 -0
  372. package/dist/types/components/filter/Filter.d.ts +21 -0
  373. package/dist/types/components/filter/field/index.d.ts +10 -0
  374. package/dist/types/components/filter/index.d.ts +13 -12
  375. package/dist/types/components/filter/input/index.d.ts +15 -23
  376. package/dist/types/components/filter/picker/index.d.ts +24 -0
  377. package/dist/types/components/filter/toggle/index.d.ts +22 -0
  378. package/dist/types/components/form/index.d.ts +23 -7
  379. package/dist/types/components/icon/index.d.ts +3 -9
  380. package/dist/types/components/input/Editable.d.ts +20 -0
  381. package/dist/types/components/input/Input.d.ts +22 -0
  382. package/dist/types/components/input/Looks.d.ts +7 -0
  383. package/dist/types/components/input/Submittable.d.ts +6 -0
  384. package/dist/types/components/input/checkbox/index.d.ts +20 -0
  385. package/dist/types/components/input/clear/index.d.ts +17 -0
  386. package/dist/types/components/input/color/index.d.ts +24 -0
  387. package/dist/types/components/input/date/index.d.ts +28 -0
  388. package/dist/types/components/input/date/range/index.d.ts +33 -0
  389. package/dist/types/components/input/demo/index.d.ts +6 -0
  390. package/dist/types/components/input/edit/index.d.ts +17 -0
  391. package/dist/types/components/input/file/index.d.ts +24 -0
  392. package/dist/types/components/input/index.d.ts +30 -11
  393. package/dist/types/components/{input-month → input/month}/index.d.ts +2 -2
  394. package/dist/types/components/input/radio/Selected.d.ts +10 -0
  395. package/dist/types/components/input/radio/index.d.ts +35 -0
  396. package/dist/types/components/input/radio/item/index.d.ts +15 -0
  397. package/dist/types/components/input/range/index.d.ts +24 -0
  398. package/dist/types/components/input/reset/index.d.ts +18 -0
  399. package/dist/types/components/input/select/index.d.ts +36 -0
  400. package/dist/types/components/input/submit/index.d.ts +17 -0
  401. package/dist/types/components/item/index.d.ts +1 -1
  402. package/dist/types/components/label/index.d.ts +6 -0
  403. package/dist/types/components/lazy/index.d.ts +7 -0
  404. package/dist/types/components/load-more/index.d.ts +11 -0
  405. package/dist/types/components/notification/index.d.ts +3 -1
  406. package/dist/types/components/picker/demo/index.d.ts +22 -0
  407. package/dist/types/components/picker/index.d.ts +33 -45
  408. package/dist/types/components/picker/menu/index.d.ts +54 -0
  409. package/dist/types/components/picker/option/index.d.ts +23 -0
  410. package/dist/types/components/picker/slot-elements/index.d.ts +15 -0
  411. package/dist/types/components/picker/slotted-elements/index.d.ts +8 -0
  412. package/dist/types/components/popup/index.d.ts +1 -1
  413. package/dist/types/components/select-demo/index.d.ts +0 -9
  414. package/dist/types/components/submit/index.d.ts +6 -1
  415. package/dist/types/components/summary/index.d.ts +4 -0
  416. package/dist/types/components/table/demo/filtered/Root.d.ts +2 -0
  417. package/dist/types/components/table/demo/filtered/index.d.ts +7 -7
  418. package/dist/types/components/table/demo/index.d.ts +1 -1
  419. package/dist/types/components/table/demo/testing/data.d.ts +5 -0
  420. package/dist/types/components/table/demo/testing/index.d.ts +4 -0
  421. package/dist/types/components/table/expandable/cell/index.d.ts +4 -5
  422. package/dist/types/components/table/expandable/row/index.d.ts +3 -8
  423. package/dist/types/components/table/footer/index.d.ts +3 -0
  424. package/dist/types/components/table/index.d.ts +6 -3
  425. package/dist/types/components/table/row/index.d.ts +3 -1
  426. package/dist/types/components/theme/color/index.d.ts +5 -0
  427. package/dist/types/components/theme/color/variant/index.d.ts +6 -0
  428. package/dist/types/components/theme/colors/index.d.ts +3 -0
  429. package/dist/types/components/theme/picker/index.d.ts +4 -0
  430. package/dist/types/components/toggle-switch/index.d.ts +7 -2
  431. package/dist/types/components/trigger-source/index.d.ts +1 -1
  432. package/dist/types/components.d.ts +914 -347
  433. package/dist/types/global/Observers.d.ts +8 -0
  434. package/dist/types/global/index.d.ts +4 -0
  435. package/dist/types/index.d.ts +1 -3
  436. package/dist/types/model/Color.d.ts +7 -1
  437. package/dist/types/{components/form → model}/Data.d.ts +4 -0
  438. package/dist/types/model/Icon.d.ts +8 -0
  439. package/dist/types/model/Listenable.d.ts +10 -1
  440. package/dist/types/model/Notice.d.ts +1 -1
  441. package/dist/types/model/Option.d.ts +24 -6
  442. package/dist/types/model/index.d.ts +3 -0
  443. package/dist/types/model/redirect.d.ts +1 -0
  444. package/dist/types/smoothly.d.ts +3 -0
  445. package/package.json +7 -6
  446. package/dist/cjs/Listenable-63ea2d90.js.map +0 -1
  447. package/dist/cjs/Notice-88ba4c70.js.map +0 -1
  448. package/dist/cjs/getLanguage-4f0a45d5.js +0 -12227
  449. package/dist/cjs/getLanguage-4f0a45d5.js.map +0 -1
  450. package/dist/cjs/index-8adc5c1b.js.map +0 -1
  451. package/dist/cjs/index-d16d46f4.js +0 -1224
  452. package/dist/cjs/index-d16d46f4.js.map +0 -1
  453. package/dist/cjs/smoothly-accordion_62.cjs.entry.js +0 -28199
  454. package/dist/cjs/smoothly-accordion_62.cjs.entry.js.map +0 -1
  455. package/dist/cjs/smoothly-radio-group.cjs.entry.js +0 -22
  456. package/dist/cjs/smoothly-radio-group.cjs.entry.js.map +0 -1
  457. package/dist/collection/components/filter/Clearable.js.map +0 -1
  458. package/dist/collection/components/form/Clearable.js +0 -8
  459. package/dist/collection/components/form/Clearable.js.map +0 -1
  460. package/dist/collection/components/form/Data.js.map +0 -1
  461. package/dist/collection/components/input-date/index.js +0 -206
  462. package/dist/collection/components/input-date/index.js.map +0 -1
  463. package/dist/collection/components/input-date/style.css +0 -40
  464. package/dist/collection/components/input-date-range/index.js.map +0 -1
  465. package/dist/collection/components/input-date-range/style.css +0 -51
  466. package/dist/collection/components/input-demo/index.js +0 -45
  467. package/dist/collection/components/input-demo/index.js.map +0 -1
  468. package/dist/collection/components/input-demo/style.css +0 -4
  469. package/dist/collection/components/input-month/index.js.map +0 -1
  470. package/dist/collection/components/menu-options/index.js +0 -413
  471. package/dist/collection/components/menu-options/index.js.map +0 -1
  472. package/dist/collection/components/menu-options/style.css +0 -18
  473. package/dist/collection/components/option/index.js +0 -270
  474. package/dist/collection/components/option/index.js.map +0 -1
  475. package/dist/collection/components/option/style.css +0 -42
  476. package/dist/collection/components/radio/index.js.map +0 -1
  477. package/dist/collection/components/radio/style.css +0 -31
  478. package/dist/collection/components/radio-button/Selected.js +0 -2
  479. package/dist/collection/components/radio-button/Selected.js.map +0 -1
  480. package/dist/collection/components/radio-button/index.js +0 -137
  481. package/dist/collection/components/radio-button/index.js.map +0 -1
  482. package/dist/collection/components/radio-button/item/index.js +0 -117
  483. package/dist/collection/components/radio-button/item/index.js.map +0 -1
  484. package/dist/collection/components/radio-button/item/style.css +0 -85
  485. package/dist/collection/components/radio-group/index.js +0 -43
  486. package/dist/collection/components/radio-group/index.js.map +0 -1
  487. package/dist/collection/components/radio-group/style.css +0 -36
  488. package/dist/collection/components/select/index.js +0 -108
  489. package/dist/collection/components/select/index.js.map +0 -1
  490. package/dist/collection/components/select/style.css +0 -20
  491. package/dist/collection/components/selector/index.js +0 -234
  492. package/dist/collection/components/selector/index.js.map +0 -1
  493. package/dist/collection/components/selector/style.css +0 -46
  494. package/dist/custom-elements/index2.js +0 -1222
  495. package/dist/custom-elements/index2.js.map +0 -1
  496. package/dist/esm/Listenable-fb6f4723.js.map +0 -1
  497. package/dist/esm/Notice-1fa17794.js.map +0 -1
  498. package/dist/esm/getLanguage-ffacd7b7.js +0 -12225
  499. package/dist/esm/getLanguage-ffacd7b7.js.map +0 -1
  500. package/dist/esm/index-6ac4212d.js.map +0 -1
  501. package/dist/esm/index-d5330059.js +0 -1222
  502. package/dist/esm/index-d5330059.js.map +0 -1
  503. package/dist/esm/smoothly-accordion_62.entry.js +0 -28134
  504. package/dist/esm/smoothly-accordion_62.entry.js.map +0 -1
  505. package/dist/esm/smoothly-radio-group.entry.js +0 -18
  506. package/dist/esm/smoothly-radio-group.entry.js.map +0 -1
  507. package/dist/smoothly/p-06337b89.js +0 -2
  508. package/dist/smoothly/p-06337b89.js.map +0 -1
  509. package/dist/smoothly/p-16cba662.entry.js +0 -2
  510. package/dist/smoothly/p-16cba662.entry.js.map +0 -1
  511. package/dist/smoothly/p-3ad51805.entry.js +0 -2
  512. package/dist/smoothly/p-3ad51805.entry.js.map +0 -1
  513. package/dist/smoothly/p-5e34795b.js +0 -2
  514. package/dist/smoothly/p-5e34795b.js.map +0 -1
  515. package/dist/smoothly/p-75373584.js +0 -2
  516. package/dist/smoothly/p-75373584.js.map +0 -1
  517. package/dist/smoothly/p-75452eb8.js +0 -2
  518. package/dist/smoothly/p-75452eb8.js.map +0 -1
  519. package/dist/smoothly/p-ae33d7e1.entry.js +0 -2
  520. package/dist/smoothly/p-ae33d7e1.entry.js.map +0 -1
  521. package/dist/smoothly/p-b98cd447.js +0 -3
  522. package/dist/smoothly/p-b98cd447.js.map +0 -1
  523. package/dist/smoothly/p-c109fc66.entry.js +0 -2
  524. package/dist/smoothly/p-c109fc66.entry.js.map +0 -1
  525. package/dist/smoothly/p-f29cc9ff.entry.js +0 -2
  526. package/dist/types/components/form/Clearable.d.ts +0 -6
  527. package/dist/types/components/input-date/index.d.ts +0 -14
  528. package/dist/types/components/input-date-range/index.d.ts +0 -23
  529. package/dist/types/components/input-demo/index.d.ts +0 -3
  530. package/dist/types/components/menu-options/index.d.ts +0 -35
  531. package/dist/types/components/option/index.d.ts +0 -32
  532. package/dist/types/components/radio/index.d.ts +0 -13
  533. package/dist/types/components/radio-button/Selected.d.ts +0 -5
  534. package/dist/types/components/radio-button/index.d.ts +0 -15
  535. package/dist/types/components/radio-button/item/index.d.ts +0 -12
  536. package/dist/types/components/radio-group/index.d.ts +0 -4
  537. package/dist/types/components/select/index.d.ts +0 -14
  538. package/dist/types/components/selector/index.d.ts +0 -23
  539. /package/dist/collection/components/{filter → input}/Clearable.js +0 -0
  540. /package/dist/collection/components/{input-month → input/month}/style.css +0 -0
  541. /package/dist/collection/components/{radio-button → lazy}/style.css +0 -0
  542. /package/dist/smoothly/{p-04fb45e1.entry.js.map → p-12182a73.entry.js.map} +0 -0
  543. /package/dist/smoothly/{p-5629e452.entry.js.map → p-127dcc56.entry.js.map} +0 -0
  544. /package/dist/smoothly/{p-f29cc9ff.entry.js.map → p-47151a53.entry.js.map} +0 -0
  545. /package/dist/smoothly/{p-0fec28cc.entry.js.map → p-6aebb818.entry.js.map} +0 -0
  546. /package/dist/smoothly/{p-ae467192.entry.js.map → p-7bf147bf.entry.js.map} +0 -0
  547. /package/dist/smoothly/{p-b3eef141.entry.js.map → p-b3eac6af.entry.js.map} +0 -0
  548. /package/dist/smoothly/{p-3a6873ed.entry.js.map → p-cb493516.entry.js.map} +0 -0
  549. /package/dist/types/components/{filter → input}/Clearable.d.ts +0 -0
@@ -0,0 +1,8 @@
1
+ declare const observers: WeakMap<HTMLElement, IntersectionObserver>;
2
+ export declare namespace Observers {
3
+ function get(...parameters: Parameters<typeof observers.get>): ReturnType<typeof observers.get>;
4
+ function set(...parameters: Parameters<typeof observers.set>): typeof Observers;
5
+ function remove(...parameters: Parameters<typeof observers.delete>): ReturnType<typeof observers.delete>;
6
+ function has(...parameters: Parameters<typeof observers.has>): ReturnType<typeof observers.has>;
7
+ }
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Observers } from "./Observers";
2
+ export default function (): {
3
+ Observers: typeof Observers;
4
+ };
@@ -1,3 +1 @@
1
- export { Components, JSX } from "./components";
2
- export { Autocomplete, ClientIdentifier, Color, Fill, GoogleFont, Message, Notice, Trigger, Option, Listenable, HasListenable, WithListenable, CanBeListenable, StateBase, } from "./model";
3
- export { Cosmetic } from "./utilities";
1
+ export * as smoothly from "./smoothly";
@@ -1 +1,7 @@
1
- export type Color = "default" | "primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "medium" | "dark";
1
+ import { isly } from "isly";
2
+ export type Color = typeof Color.types[number];
3
+ export declare namespace Color {
4
+ const types: readonly ["default", "primary", "secondary", "tertiary", "success", "warning", "danger", "light", "medium", "dark"];
5
+ const type: isly.Type<"success" | "default" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "medium" | "dark">;
6
+ const is: isly.Type.IsFunction<"success" | "default" | "primary" | "secondary" | "tertiary" | "warning" | "danger" | "light" | "medium" | "dark">;
7
+ }
@@ -1,9 +1,13 @@
1
+ import { isly } from "isly";
1
2
  type Value = string | number | boolean | Blob | undefined;
2
3
  export type Data = {
3
4
  [name: string]: Data | Value;
4
5
  };
5
6
  export declare namespace Data {
7
+ const valueType: isly.Type<Value>;
8
+ const type: isly.Type<Data>;
6
9
  function set(data: Data, [head, ...tail]: string[], value: Value): Data;
7
10
  function deepen(data: Record<string, Value>): Data;
11
+ function merge(data: Data, changes: Record<string, any>): Data;
8
12
  }
9
13
  export {};
@@ -0,0 +1,8 @@
1
+ type Name = "accessibility" | "add-circle" | "add" | "airplane" | "alarm" | "albums" | "alert-circle" | "alert" | "american-football" | "analytics" | "aperture" | "apps" | "archive" | "arrow-back-circle" | "arrow-back" | "arrow-down-circle" | "arrow-down" | "arrow-forward-circle" | "arrow-forward" | "arrow-redo-circle" | "arrow-redo" | "arrow-undo-circle" | "arrow-undo" | "arrow-up-circle" | "arrow-up" | "at-circle" | "at" | "attach" | "backspace" | "bag" | "bag-add" | "bag-check" | "bag-handle" | "balloon" | "ban" | "bandage" | "barbell" | "bar-chart" | "barcode" | "baseball" | "basketball" | "basket" | "battery-charging" | "battery-dead" | "battery-full" | "battery-half" | "beaker" | "bed" | "beer" | "bicycle" | "bluetooth" | "boat" | "body" | "bonfire" | "bowling-ball" | "bookmarks" | "bookmark" | "book" | "briefcase" | "browsers" | "brush" | "bug" | "build" | "bulb" | "business" | "bus" | "cafe" | "calculator" | "calendar" | "calendar-clear" | "calendar-number" | "call" | "camera-reverse" | "camera" | "card" | "caret-back-circle" | "caret-back" | "caret-down-circle" | "caret-down" | "caret-forward-circle" | "caret-forward" | "caret-up-circle" | "caret-up" | "car-sport" | "car" | "cart" | "cash" | "cellular" | "chatbox-ellipses" | "chatbox" | "chatbubble-ellipses" | "chatbubbles" | "chatbubble" | "checkbox" | "checkmark-circle" | "checkmark-done-circle" | "checkmark-done" | "checkmark" | "chevron-back-circle" | "chevron-back" | "chevron-down-circle" | "chevron-down" | "chevron-forward-circle" | "chevron-forward" | "chevron-up-circle" | "chevron-up" | "clipboard" | "close-circle" | "close" | "cloud-circle" | "cloud-done" | "cloud-download" | "cloud-offline" | "cloud" | "cloud-upload" | "cloudy-night" | "cloudy" | "code-download" | "code-slash" | "code" | "code-working" | "cog" | "color-fill" | "color-filter" | "color-palette" | "color-wand" | "compass" | "construct" | "contract" | "contrast" | "copy" | "create" | "crop" | "cube" | "cut" | "desktop" | "diamond" | "dice" | "disc" | "document-attach" | "document-lock" | "documents" | "document" | "document-text" | "download" | "duplicate" | "ear" | "earth" | "easel" | "egg" | "ellipse" | "ellipsis-horizontal-circle" | "ellipsis-horizontal" | "ellipsis-vertical-circle" | "ellipsis-vertical" | "enter" | "exit" | "expand" | "eyedrop" | "eye-off" | "eye" | "fast-food" | "female" | "file-tray-full" | "file-tray-stacked" | "file-tray" | "film" | "filter" | "filter-circle" | "finger-print" | "fish" | "fitness" | "flag" | "flame" | "flashlight" | "flash-off" | "flash" | "flask" | "flower" | "folder-open" | "folder" | "football" | "footsteps" | "funnel" | "game-controller" | "gift" | "git-branch" | "git-commit" | "git-compare" | "git-merge" | "git-network" | "git-pull-request" | "glasses" | "globe" | "golf" | "grid" | "hammer" | "hand-left" | "hand-right" | "happy" | "hardware-chip" | "headset" | "heart-circle" | "heart-dislike-circle" | "heart-dislike" | "heart-half" | "heart" | "help-buoy" | "help-circle" | "help" | "home" | "hourglass" | "ice-cream" | "id-card" | "images" | "image" | "infinite" | "information-circle" | "information" | "journal" | "invert-mode" | "keypad" | "key" | "language" | "laptop" | "layers" | "leaf" | "library" | "link" | "list-circle" | "list" | "locate" | "location" | "lock-closed" | "lock-open" | "log-in" | "logo-alipay" | "logo-amazon" | "logo-amplify" | "logo-android" | "logo-angular" | "logo-apple-appstore" | "logo-apple" | "logo-apple-ar" | "logo-behance" | "logo-bitbucket" | "logo-bitcoin" | "logo-buffer" | "logo-capacitor" | "logo-chrome" | "logo-closed-captioning" | "logo-codepen" | "logo-css3" | "logo-designernews" | "logo-deviantart" | "logo-discord" | "logo-docker" | "logo-dribbble" | "logo-dropbox" | "logo-edge" | "logo-electron" | "logo-euro" | "logo-facebook" | "logo-firebase" | "logo-firefox" | "logo-flickr" | "logo-foursquare" | "logo-github" | "logo-gitlab" | "logo-google-playstore" | "logo-google" | "logo-hackernews" | "logo-html5" | "logo-instagram" | "logo-ionic" | "logo-ionitron" | "logo-javascript" | "logo-laravel" | "logo-linkedin" | "logo-markdown" | "logo-mastodon" | "logo-medium" | "logo-microsoft" | "logo-nodejs" | "logo-no-smoking" | "logo-npm" | "logo-octocat" | "logo-paypal" | "logo-pinterest" | "logo-playstation" | "logo-pwa" | "logo-python" | "logo-react" | "logo-reddit" | "logo-rss" | "logo-sass" | "logo-skype" | "logo-slack" | "logo-snapchat" | "logo-soundcloud" | "logo-stackoverflow" | "logo-steam" | "logo-stencil" | "logo-tableau" | "logo-tiktok" | "logo-tumblr" | "logo-tux" | "logo-twitch" | "logo-twitter" | "logo-usd" | "log-out" | "logo-web-component" | "logo-venmo" | "logo-whatsapp" | "logo-vercel" | "logo-vimeo" | "logo-windows" | "logo-vk" | "logo-wordpress" | "logo-vue" | "logo-xbox" | "logo-xing" | "logo-yahoo" | "logo-yen" | "logo-youtube" | "magnet" | "mail-open" | "mail" | "mail-unread" | "male-female" | "male" | "man" | "map" | "medal" | "medical" | "medkit" | "megaphone" | "menu" | "mic-circle" | "mic-off-circle" | "mic-off" | "mic" | "moon" | "move" | "musical-notes" | "musical-note" | "navigate-circle" | "navigate" | "newspaper" | "notifications-circle" | "notifications-off-circle" | "notifications-off" | "notifications" | "nuclear" | "nutrition" | "open" | "options" | "paper-plane" | "partly-sunny" | "pause-circle" | "pause" | "paw" | "pencil" | "people-circle" | "people" | "person-add" | "person-circle" | "person-remove" | "person" | "phone-landscape" | "phone-portrait" | "pie-chart" | "pin" | "pint" | "pizza" | "planet" | "play-back-circle" | "play-back" | "play-circle" | "play-forward-circle" | "play-forward" | "play-skip-back-circle" | "play-skip-back" | "play-skip-forward-circle" | "play-skip-forward" | "play" | "podium" | "power" | "pricetags" | "prism" | "pricetag" | "print" | "pulse" | "push" | "qr-code" | "radio-button-off" | "radio-button-on" | "radio" | "rainy" | "reader" | "receipt" | "recording" | "refresh-circle" | "refresh" | "reload-circle" | "reload" | "remove-circle" | "remove" | "reorder-four" | "reorder-three" | "reorder-two" | "repeat" | "resize" | "restaurant" | "return-down-back" | "return-down-forward" | "return-up-back" | "return-up-forward" | "ribbon" | "rocket" | "rose" | "sad" | "save" | "scan-circle" | "scale" | "scan" | "school" | "search-circle" | "search" | "send" | "server" | "settings" | "shapes" | "share-social" | "share" | "shield-checkmark" | "shield-half" | "shield" | "shirt" | "shuffle" | "skull" | "snow" | "sparkles" | "speedometer" | "square" | "star-half" | "star" | "stats-chart" | "stop-circle" | "stop" | "stopwatch" | "storefront" | "subway" | "sunny" | "swap-horizontal" | "swap-vertical" | "sync-circle" | "sync" | "tablet-landscape" | "tablet-portrait" | "telescope" | "tennisball" | "terminal" | "text" | "thermometer" | "thumbs-down" | "thumbs-up" | "thunderstorm" | "ticket" | "timer" | "time" | "today" | "toggle" | "trail-sign" | "train" | "transgender" | "trash-bin" | "trash" | "trending-down" | "trending-up" | "triangle" | "trophy" | "tv" | "umbrella" | "unlink" | "videocam-off" | "walk" | "wallet" | "warning" | "watch" | "water" | "videocam" | "wifi" | "wine" | "volume-high" | "volume-low" | "volume-medium" | "volume-mute" | "volume-off" | "woman";
2
+ type Variants = "outline" | "sharp";
3
+ export type Icon = Name | `${Name}-${Variants}`;
4
+ export declare namespace Icon {
5
+ function load(name: string): Promise<string | undefined>;
6
+ function add(url: string, ...name: string[]): void;
7
+ }
8
+ export {};
@@ -5,8 +5,14 @@ export interface HasListenable<T extends CanBeListenable> {
5
5
  }
6
6
  export declare class Listenable<T extends CanBeListenable> {
7
7
  #private;
8
- listen<K extends keyof ListenableProperties<T>>(this: T & Listenable<T>, property: K, listener: Listener<T[K]>): void;
8
+ listen<K extends keyof ListenableProperties<T>>(this: T & Listenable<T>, property: K, listener: Listener<T[K]>, options?: {
9
+ lazy?: boolean;
10
+ }): void;
9
11
  unlisten<K extends keyof ListenableProperties<T>>(property: K, listener: Listener<T[K]>): void;
12
+ batchListen(this: T & Listenable<T>, listeners: ListenerBatch<T>, options?: {
13
+ lazy?: boolean;
14
+ }): void;
15
+ batchUnlisten(listeners: ListenerBatch<T>): void;
10
16
  static load<T extends HasListenable<CanBeListenable>>(backend: T): WithListenable<T>;
11
17
  }
12
18
  type ListenableProperties<T> = {
@@ -16,4 +22,7 @@ export type Listener<V> = (value: V) => void;
16
22
  export type Listeners<T> = {
17
23
  [K in keyof T]?: Listener<T[K]>[];
18
24
  };
25
+ export type ListenerBatch<T> = {
26
+ [K in keyof ListenableProperties<T>]?: Listener<T[K]>;
27
+ };
19
28
  export {};
@@ -18,7 +18,7 @@ export declare class Notice {
18
18
  private clearTimer;
19
19
  static delay(message: string, task: Notice.Task): Notice;
20
20
  static execute(message: string, task: Notice.Task): Notice;
21
- static succeded(message: string): Notice;
21
+ static succeeded(message: string): Notice;
22
22
  static failed(message: string): Notice;
23
23
  static warn(message: string): Notice;
24
24
  }
@@ -1,7 +1,25 @@
1
- export type Option = {
1
+ export interface Option {
2
+ element: HTMLSmoothlyPickerOptionElement;
3
+ selected: boolean;
4
+ readonly: boolean;
5
+ required: boolean;
6
+ visible: boolean;
7
+ search: string[];
2
8
  value: any;
3
- name: string;
4
- hint?: string;
5
- aliases?: string[];
6
- divider?: boolean;
7
- };
9
+ slotted: Node[];
10
+ position: number;
11
+ set: {
12
+ selected: (selected: boolean) => void;
13
+ visible: (visible: boolean) => void;
14
+ readonly: (readonly: boolean) => void;
15
+ search: (search: string[]) => void;
16
+ value: (value: any) => void;
17
+ };
18
+ }
19
+ export declare namespace Option {
20
+ type Load = Omit<Option, "slotted">;
21
+ interface Created {
22
+ value: string;
23
+ selected: boolean;
24
+ }
25
+ }
@@ -3,9 +3,12 @@ export { ClientIdentifier } from "./ClientIdentifier";
3
3
  export { Color } from "./Color";
4
4
  export { Fill } from "./Fill";
5
5
  export { GoogleFont } from "./GoogleFont";
6
+ export { Icon } from "./Icon";
6
7
  export { Message } from "./Message";
7
8
  export { Notice } from "./Notice";
8
9
  export { Option } from "./Option";
9
10
  export { Trigger } from "./Trigger";
10
11
  export { Listenable, HasListenable, WithListenable, CanBeListenable } from "./Listenable";
11
12
  export { StateBase } from "./StateBase";
13
+ export { redirect } from "./redirect";
14
+ export { Data } from "./Data";
@@ -0,0 +1 @@
1
+ export declare function redirect(path: string): void;
@@ -0,0 +1,3 @@
1
+ export { Components, JSX } from "./components";
2
+ export { Autocomplete, ClientIdentifier, Color, Fill, GoogleFont, Message, Notice, Trigger, Option, Listenable, HasListenable, WithListenable, CanBeListenable, Icon, StateBase, Data, redirect, } from "./model";
3
+ export { Cosmetic } from "./utilities";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoothly",
3
- "version": "1.0.0-alpha.21",
3
+ "version": "1.0.0-alpha.211",
4
4
  "description": "Web component library written in Stencil.",
5
5
  "author": "PayFunc",
6
6
  "license": "MIT",
@@ -68,13 +68,14 @@
68
68
  "clean": "rm -rf .stencil/ dist/ node_modules/ loader/ www/"
69
69
  },
70
70
  "dependencies": {
71
- "authly": "3.0.1",
71
+ "authly": "3.0.5",
72
72
  "cloudly-http": "^0.1.2",
73
- "isoly": "^2.0.14",
73
+ "isly": "^0.1.13",
74
+ "isoly": "^2.3.6",
74
75
  "langly": "2.0.3",
75
76
  "normalize.css": "^8.0.1",
76
77
  "selectively": "^2.0.4",
77
- "tidily": "0.0.53",
78
+ "tidily": "^0.1.1",
78
79
  "urlpattern-polyfill": "^6.0.2"
79
80
  },
80
81
  "devDependencies": {
@@ -85,12 +86,12 @@
85
86
  "@typescript-eslint/eslint-plugin": "^5.51.0",
86
87
  "@typescript-eslint/parser": "^5.51.0",
87
88
  "eslint": "^8.34.0",
88
- "eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20221229",
89
+ "eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20231004",
89
90
  "eslint-plugin-simple-import-sort": "^10.0.0",
90
91
  "jest": "^27.0.3",
91
92
  "jest-cli": "^27.4.5",
92
93
  "prettier": "^2.8.4",
93
- "prettierx": "github:utily/prettierx#utily-20221229",
94
+ "prettierx": "github:utily/prettierx#utily-20231004",
94
95
  "puppeteer": "^17.0.0",
95
96
  "typescript": "^4.9.5",
96
97
  "web-file-polyfill": "^1.0.4"
@@ -1 +0,0 @@
1
- {"file":"Listenable-63ea2d90.js","mappings":";;AAAO,MAAM,WAAW,CAAC;AACzB,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;AAChC,KAAK;AACL,IAAI,MAAM,CAAC,IAAI,EAAE;AACjB,QAAQ,OAAO,UAAU,CAAC,IAAI,CAAC,QAAQ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AAa,CAAC,OAAY;MAClC,OAAO,MAAM,CAAC,WAAW,CAEvB,MAAM,CAAC,OAAO,iCACV,MAAM,CAAC,yBAAyB,CAAC,OAAO,CAAC,GACzC,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,EAEpE,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK;QAC7B,IAAI;QACJ,OAAO,UAAU,CAAC,KAAK,IAAI,UAAU;YAClC;YACA,GAAG;cACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;aAClC;WACA;YACD,UAAU,CAAC,QAAQ,IAAI,UAAU,CAAC,GAAG;cACrC;cACA,GAAG;gBACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAA;eACpB;cACD,GAAG,CAAC,KAAU;;gBACb,OAAO,CAAC,IAAI,CAAC,GAAG,KAAK,CAAA;gBACrB,MAAA,uBAAA,MAAM,6BAAW,CAAC,IAAI,CAAC,0CAAE,OAAO,CAAC,QAAQ,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAA;eAC7D;aACA;cACD;cACA,GAAG;gBACF,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;eAClC;aACA;OACJ,CAAC,CACF,CAAA;KACD;GACD;CACD;;;;;;;","names":["Identifier","Base64.encode","Base64.decode","Algorithm","Symmetric","SignerAlgorithm","Hash","SignerHash","CCrypto","CConverter","CRenamer","Converter","Crypto","Renamer","NameSymmetric","NameAsymmetric","Asymmetric","this","Name","AlgorithmName"],"sources":["./node_modules/cryptly/dist/TextEncoder.js","./node_modules/cryptly/dist/Base64.js","./node_modules/cryptly/dist/crypto.browser.js","./node_modules/cryptly/dist/Algorithms.js","./node_modules/cryptly/dist/Encrypted.js","./node_modules/cryptly/dist/Identifier.js","./node_modules/cryptly/dist/Password.js","./node_modules/cryptly/dist/RandomValue.js","./node_modules/cryptly/dist/Signer/Algorithm.js","./node_modules/cryptly/dist/Signer/Base.js","./node_modules/cryptly/dist/Signer/ECDSA.js","./node_modules/cryptly/dist/Signer/Hash.js","./node_modules/cryptly/dist/Signer/Symmetric.js","./node_modules/cryptly/dist/Signer/HMAC.js","./node_modules/cryptly/dist/Signer/None.js","./node_modules/cryptly/dist/Signer/Rsa.js","./node_modules/cryptly/dist/Signer/index.js","./node_modules/authly/dist/shim/TypedArray-from.js","./node_modules/authly/dist/Property/Creatable/Converter.js","./node_modules/authly/dist/Property/Creatable/Crypto.js","./node_modules/authly/dist/Property/Creatable/Renamer.js","./node_modules/authly/dist/Property/Creatable/index.js","./node_modules/authly/dist/Property/Transformer.js","./node_modules/authly/dist/Algorithm/Name/Asymmetric.js","./node_modules/authly/dist/Algorithm/Name/Symmetric.js","./node_modules/authly/dist/Algorithm/Name/index.js","./node_modules/authly/dist/Algorithm/index.js","./node_modules/authly/dist/Token.js","./src/model/Message.ts","./src/model/Trigger.ts","./src/model/Listenable.ts"],"sourcesContent":["export class TextEncoder {\n constructor() {\n this.encoding = \"utf-8\";\n }\n encode(data) {\n return Uint8Array.from(unescape(encodeURIComponent(data)).split(\"\"), c => c.charCodeAt(0));\n }\n}\n//# sourceMappingURL=TextEncoder.js.map","import { TextEncoder } from \"./TextEncoder\";\nconst tables = {\n standard: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",\n url: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_\",\n};\nexport function encode(value, standard = \"standard\", padding = \"\") {\n if (typeof value == \"string\")\n value = new TextEncoder().encode(value);\n const table = tables[standard];\n const result = [];\n for (let c = 0; c < value.length; c += 3) {\n const c0 = value[c];\n const c1 = c + 1 < value.length ? value[c + 1] : 0;\n const c2 = c + 2 < value.length ? value[c + 2] : 0;\n result.push(table[c0 >>> 2]);\n result.push(table[((c0 & 3) << 4) | (c1 >>> 4)]);\n result.push(table[((c1 & 15) << 2) | (c2 >>> 6)]);\n result.push(table[c2 & 63]);\n }\n const length = Math.ceil((value.length / 3) * 4);\n return result.join(\"\").substr(0, length) + padding.repeat(result.length - length);\n}\nexport function decode(value, standard = \"standard\") {\n while (value.endsWith(\"=\") && value.length > 0)\n value = value.substr(0, value.length - 1);\n const table = tables[standard];\n const data = value.split(\"\").map(c => table.indexOf(c));\n const result = new Uint8Array(Math.floor((data.length / 4) * 3));\n for (let c = 0; c < result.length; c += 3) {\n const d0 = data.shift() || 0;\n const d1 = data.shift() || 0;\n const d2 = data.shift() || 0;\n const d3 = data.shift() || 0;\n result[c] = (d0 << 2) | (d1 >>> 4);\n result[c + 1] = ((d1 & 15) << 4) | (d2 >>> 2);\n result[c + 2] = ((d2 & 3) << 6) | d3;\n }\n return result;\n}\n//# sourceMappingURL=Base64.js.map","export const crypto = typeof window != \"undefined\"\n ? window.crypto || window.msCrypto\n : self.crypto || self.msCrypto;\n//# sourceMappingURL=crypto.browser.js.map","export var Algorithms;\n(function (Algorithms) {\n function create(create, current, ...secrets) {\n const [first, ...remainder] = isStringArray(secrets)\n ? secrets.map(part => Object.fromEntries(part.split(\",\").map(secret => secret.split(\":\", 2).map(item => item.trim()))))\n : secrets;\n const result = Object.assign({}, ...Object.entries(first)\n .map(([name, secret]) => [\n name,\n [secret, ...remainder.map(part => part[name]).filter(part => part)],\n ])\n .map(([name, secrets]) => ({\n get [name]() {\n return Object.assign(create(secrets), { name });\n },\n })));\n return { current: result[current], ...result };\n }\n Algorithms.create = create;\n})(Algorithms || (Algorithms = {}));\nfunction isStringArray(value) {\n return Array.isArray(value) && value.length > 0 && typeof value[0] == \"string\";\n}\n//# sourceMappingURL=Algorithms.js.map","export var Encrypted;\n(function (Encrypted) {\n function is(value) {\n return (typeof value == \"object\" &&\n (value.key == undefined || typeof value.key == \"string\") &&\n typeof value.value == \"string\" &&\n typeof value.salt == \"string\");\n }\n Encrypted.is = is;\n function stringify(encrypted) {\n encrypted.key = encrypted.key && encrypted.key.length != 4 ? encrypted.key.slice(-2) : encrypted.key;\n return [encrypted.key, encrypted.salt, encrypted.value].join(\".\");\n }\n Encrypted.stringify = stringify;\n function parse(encryptedString) {\n const splitted = encryptedString.split(\".\");\n const encrypted = { key: splitted[0], salt: splitted[1], value: splitted[2] };\n return Encrypted.is(encrypted) ? encrypted : undefined;\n }\n Encrypted.parse = parse;\n})(Encrypted || (Encrypted = {}));\n//# sourceMappingURL=Encrypted.js.map","import * as Base64 from \"./Base64\";\nimport { crypto } from \"./crypto\";\nexport var Identifier;\n(function (Identifier) {\n function is(value, length) {\n return (typeof value == \"string\" &&\n (length == undefined || value.length == length) &&\n Array.from(value).every(c => (c >= \"0\" && c <= \"9\") || (c >= \"A\" && c <= \"Z\") || (c >= \"a\" && c <= \"z\") || c == \"-\" || c == \"_\"));\n }\n Identifier.is = is;\n function fromUint24(value) {\n return fromHexadecimal(value.toString(16).padStart(6, \"0\"));\n }\n Identifier.fromUint24 = fromUint24;\n function toUint24(identifier) {\n return Number.parseInt(toHexadecimal(identifier, 6), 16);\n }\n Identifier.toUint24 = toUint24;\n function fromUint48(value) {\n return fromHexadecimal(value.toString(16).padStart(12, \"0\"));\n }\n Identifier.fromUint48 = fromUint48;\n function toUint48(identifier) {\n return Number.parseInt(toHexadecimal(identifier, 12), 16);\n }\n Identifier.toUint48 = toUint48;\n function fromBinary(identifier) {\n return Base64.encode(identifier, \"url\");\n }\n Identifier.fromBinary = fromBinary;\n function toBinary(identifier) {\n return Base64.decode(identifier, \"url\");\n }\n Identifier.toBinary = toBinary;\n function generate(length) {\n return fromBinary(crypto.getRandomValues(new Uint8Array((length / 4) * 3)));\n }\n Identifier.generate = generate;\n function fromHexadecimal(identifier) {\n if (identifier.length % 2 == 1)\n identifier += \"0\";\n const result = new Uint8Array(identifier.length / 2);\n for (let index = 0; index < result.length; index++)\n result[index] = Number.parseInt(identifier[index * 2], 16) * 16 + Number.parseInt(identifier[index * 2 + 1], 16);\n return fromBinary(result);\n }\n Identifier.fromHexadecimal = fromHexadecimal;\n function toHexadecimal(identifier, length) {\n const data = Base64.decode(identifier, \"url\");\n let result = [];\n for (const d of data)\n result.push(Math.floor(d / 16).toString(16), (d % 16).toString(16));\n if (length)\n result = result.slice(0, length);\n return result.join(\"\");\n }\n Identifier.toHexadecimal = toHexadecimal;\n Identifier.length = [\n 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112,\n 116, 120, 124, 128,\n ];\n let Length;\n (function (Length) {\n function is(value) {\n return typeof value == \"number\" && value >= 4 && value <= 128 && (value & 252) == value;\n }\n Length.is = is;\n })(Length = Identifier.Length || (Identifier.Length = {}));\n})(Identifier || (Identifier = {}));\n//# sourceMappingURL=Identifier.js.map","import * as Base64 from \"./Base64\";\nimport { crypto } from \"./crypto\";\nexport var Password;\n(function (Password) {\n function is(value) {\n return (typeof value == \"string\" ||\n (typeof value == \"object\" && typeof value.hash == \"string\" && typeof value.salt == \"string\"));\n }\n Password.is = is;\n async function hash(algorithm, password, salt) {\n if (!salt)\n salt = Base64.encode(crypto.getRandomValues(new Uint8Array(64)));\n return {\n hash: await algorithm.sign(salt + password),\n salt,\n };\n }\n Password.hash = hash;\n async function verify(algorithm, hash, password) {\n return (await Password.hash(algorithm, password, hash.salt)).hash == hash.hash;\n }\n Password.verify = verify;\n let Hashed;\n (function (Hashed) {\n function is(value) {\n return typeof value == \"object\" && typeof value.hash == \"string\" && typeof value.salt == \"string\";\n }\n Hashed.is = is;\n })(Hashed = Password.Hashed || (Password.Hashed = {}));\n})(Password || (Password = {}));\n//# sourceMappingURL=Password.js.map","import { crypto } from \"./crypto\";\nexport var RandomValue;\n(function (RandomValue) {\n function generate(array) {\n return crypto.getRandomValues(array);\n }\n RandomValue.generate = generate;\n})(RandomValue || (RandomValue = {}));\n//# sourceMappingURL=RandomValue.js.map","export var Algorithm;\n(function (Algorithm) {\n function is(value) {\n return value == \"HMAC\" || value == \"RSA\" || value == \"ECDSA\" || value == \"RSA-PSS\";\n }\n Algorithm.is = is;\n})(Algorithm || (Algorithm = {}));\n//# sourceMappingURL=Algorithm.js.map","import * as Base64 from \"../Base64\";\nimport { TextEncoder } from \"../TextEncoder\";\nexport class Base {\n async sign(data) {\n return typeof data == \"string\"\n ? Base64.encode(await this.signBinary(new TextEncoder().encode(data)), \"url\")\n : this.signBinary(data);\n }\n verify(data, signature) {\n if (typeof signature == \"string\")\n signature = Base64.decode(signature, \"url\");\n return typeof data == \"string\"\n ? this.verifyBinary(new TextEncoder().encode(data), signature)\n : this.verifyBinary(data, signature);\n }\n}\n//# sourceMappingURL=Base.js.map","import * as Base64 from \"../Base64\";\nimport { crypto } from \"../crypto\";\nimport { Base } from \"./Base\";\nexport class ECDSA extends Base {\n constructor(hash, publicKey, privateKey) {\n super();\n this.hash = hash;\n if (publicKey) {\n if (typeof publicKey == \"string\")\n publicKey = Base64.decode(publicKey);\n this.publicKey = crypto.subtle.importKey(\"spki\", publicKey, { name: \"ECDSA\", namedCurve: hash.replace(\"SHA\", \"P\") == \"P-512\" ? \"P-521\" : hash.replace(\"SHA\", \"P\") }, false, [\"verify\"]);\n }\n if (privateKey) {\n if (typeof privateKey == \"string\")\n privateKey = Base64.decode(privateKey);\n this.privateKey = crypto.subtle.importKey(\"pkcs8\", privateKey, { name: \"ECDSA\", namedCurve: hash.replace(\"SHA\", \"P\") == \"P-512\" ? \"P-521\" : hash.replace(\"SHA\", \"P\") }, true, [\"sign\", \"verify\"]);\n }\n }\n async signBinary(data) {\n return new Uint8Array(await crypto.subtle.sign({ name: \"ECDSA\", hash: { name: this.hash } }, await this.privateKey, data));\n }\n async verifyBinary(data, signature) {\n return crypto.subtle.verify({ name: \"ECDSA\", hash: { name: this.hash } }, await this.publicKey, signature, data);\n }\n}\n//# sourceMappingURL=ECDSA.js.map","export var Hash;\n(function (Hash) {\n function is(value) {\n return value == \"SHA-1\" || value == \"SHA-256\" || value == \"SHA-384\" || value == \"SHA-512\";\n }\n Hash.is = is;\n})(Hash || (Hash = {}));\n//# sourceMappingURL=Hash.js.map","import * as Base64 from \"../Base64\";\nimport { Base } from \"./Base\";\nexport class Symmetric extends Base {\n async verifyBinary(data, signature) {\n return Base64.encode(await this.signBinary(data), \"url\") == Base64.encode(signature, \"url\");\n }\n}\n//# sourceMappingURL=Symmetric.js.map","import * as Base64 from \"../Base64\";\nimport { crypto } from \"../crypto\";\nimport { Symmetric } from \"./Symmetric\";\nexport class HMAC extends Symmetric {\n constructor(hash, key) {\n super();\n this.hash = hash;\n if (typeof key == \"string\")\n key = Base64.decode(key, \"url\");\n this.key = crypto.subtle.importKey(\"raw\", key, { name: \"HMAC\", hash: { name: hash } }, false, [\"sign\", \"verify\"]);\n }\n async signBinary(data) {\n return new Uint8Array(await crypto.subtle.sign(\"HMAC\", await this.key, data));\n }\n}\n//# sourceMappingURL=HMAC.js.map","import { Symmetric } from \"./Symmetric\";\nexport class None extends Symmetric {\n signBinary(_) {\n return Promise.resolve(new Uint8Array(0));\n }\n}\n//# sourceMappingURL=None.js.map","import * as Base64 from \"../Base64\";\nimport { crypto } from \"../crypto\";\nimport { Base } from \"./Base\";\nexport class Rsa extends Base {\n constructor(variant, publicKey, privateKey) {\n super();\n this.variant = variant;\n this.publicKey = publicKey;\n this.privateKey = privateKey;\n }\n get parameters() {\n return getParameters(this.variant);\n }\n async signBinary(data) {\n return this.privateKey\n ? new Uint8Array(await crypto.subtle.sign(this.parameters, await this.privateKey, data))\n : new Uint8Array(0);\n }\n async verifyBinary(data, signature) {\n return !!this.publicKey && crypto.subtle.verify(this.parameters, await this.publicKey, signature, data);\n }\n async export(type, format = \"base64\") {\n const key = await (type == \"private\" ? this.privateKey : this.publicKey);\n let result;\n if (key)\n switch (format) {\n case \"jwk\":\n result = await crypto.subtle.exportKey(\"jwk\", key);\n break;\n case \"buffer\":\n result = await crypto.subtle.exportKey(type == \"private\" ? \"pkcs8\" : \"spki\", key);\n break;\n case \"base64\":\n {\n const data = await this.export(type, \"buffer\");\n result = data && Base64.encode(new Uint8Array(data), \"standard\", \"=\");\n }\n break;\n case \"pem\":\n {\n const data = await this.export(type, \"base64\");\n result =\n data &&\n [\n `-----BEGIN ${type.toUpperCase()} KEY-----`,\n ...slice(data, 64),\n `-----END ${type.toUpperCase()} KEY-----`,\n ].join(\"\\n\");\n }\n break;\n }\n return result;\n }\n static import(variant, hash, publicKey, privateKey) {\n return new Rsa(variant, Rsa.importHelper(variant, hash, \"public\", publicKey), Rsa.importHelper(variant, hash, \"private\", privateKey));\n }\n static importHelper(variant, hash, type, key) {\n if (typeof key == \"string\")\n key = Base64.decode(key);\n return (key &&\n crypto.subtle.importKey(type == \"private\" ? \"pkcs8\" : \"spki\", key, { name: getParameters(variant).name, hash: { name: hash } }, true, [type == \"private\" ? \"sign\" : \"verify\"]));\n }\n static generate(variant, hash, length) {\n const keyPair = crypto.subtle.generateKey({\n name: getParameters(variant).name,\n modulusLength: length,\n publicExponent: new Uint8Array([1, 0, 1]),\n hash,\n }, true, [\"sign\", \"verify\"]);\n return new Rsa(variant, keyPair.then(value => value.publicKey), keyPair.then(value => value.privateKey));\n }\n}\nfunction* slice(data, length) {\n let start = 0;\n while (start < data.length)\n yield data.slice(start, (start = start + length));\n}\nfunction getParameters(variant) {\n return variant == \"PSS\" ? { name: \"RSA-PSS\", saltLength: 128 } : { name: \"RSASSA-PKCS1-v1_5\" };\n}\n//# sourceMappingURL=Rsa.js.map","import { Algorithm as SignerAlgorithm } from \"./Algorithm\";\nimport { ECDSA } from \"./ECDSA\";\nimport { Hash as SignerHash } from \"./Hash\";\nimport { HMAC } from \"./HMAC\";\nimport { None } from \"./None\";\nimport { Rsa } from \"./Rsa\";\nexport var Signer;\n(function (Signer) {\n let Algorithm;\n (function (Algorithm) {\n Algorithm.is = SignerAlgorithm.is;\n })(Algorithm = Signer.Algorithm || (Signer.Algorithm = {}));\n let Hash;\n (function (Hash) {\n Hash.is = SignerHash.is;\n })(Hash = Signer.Hash || (Signer.Hash = {}));\n function generate(algorithm, hash, length) {\n let result;\n switch (algorithm) {\n case \"RSA\":\n result = Rsa.generate(\"SSA\", hash, length);\n break;\n case \"RSA-PSS\":\n result = Rsa.generate(\"PSS\", hash, length);\n break;\n }\n return result;\n }\n Signer.generate = generate;\n function create(algorithm, hash, ...keys) {\n let result;\n if (hash != undefined)\n switch (algorithm) {\n case \"HMAC\":\n result = new HMAC(hash, keys[0]);\n break;\n case \"RSA\":\n result = Rsa.import(\"SSA\", hash, keys[0], keys[1]);\n break;\n case \"RSA-PSS\":\n result = Rsa.import(\"PSS\", hash, keys[0], keys[1]);\n break;\n case \"ECDSA\":\n result = new ECDSA(hash, keys[0], keys[1]);\n break;\n }\n else if (algorithm == \"None\")\n result = new None();\n return result;\n }\n Signer.create = create;\n})(Signer || (Signer = {}));\n//# sourceMappingURL=index.js.map","if (!Uint8Array.__proto__.from) {\n ;\n (() => {\n Uint8Array.__proto__.from = function (object, theFunction, thisObject) {\n const typedArrayClass = Uint8Array.__proto__;\n if (typeof this !== \"function\") {\n throw new TypeError(\"# is not a constructor\");\n }\n if (this.__proto__ !== typedArrayClass) {\n throw new TypeError(\"this is not a typed array.\");\n }\n theFunction = theFunction || (element => element);\n if (typeof theFunction !== \"function\") {\n throw new TypeError(\"specified argument is not a function\");\n }\n object = Object(object);\n if (!object.length) {\n return new this(0);\n }\n let copyData = [];\n for (const data of copyData) {\n copyData.push(data);\n }\n copyData = copyData.map(theFunction, thisObject);\n const typedArray = new this(copyData.length);\n for (let i = 0; i < typedArray.length; i++) {\n typedArray[i] = copyData[i];\n }\n return typedArray;\n };\n })();\n}\n//# sourceMappingURL=TypedArray-from.js.map","export var Converter;\n(function (Converter) {\n function is(value) {\n return typeof value == \"object\" && Object.entries(value).every(v => typeof v == \"function\");\n }\n Converter.is = is;\n})(Converter || (Converter = {}));\n//# sourceMappingURL=Converter.js.map","export var Crypto;\n(function (Crypto) {\n function is(value) {\n return Array.isArray(value) && value.every(v => typeof v == \"string\");\n }\n Crypto.is = is;\n})(Crypto || (Crypto = {}));\n//# sourceMappingURL=Crypto.js.map","export var Renamer;\n(function (Renamer) {\n function is(value) {\n return typeof value == \"object\" && Object.entries(value).every(thing => typeof thing[1] == \"string\");\n }\n Renamer.is = is;\n})(Renamer || (Renamer = {}));\n//# sourceMappingURL=Renamer.js.map","import { Converter as CConverter } from \"./Converter\";\nimport { Crypto as CCrypto } from \"./Crypto\";\nimport { Renamer as CRenamer } from \"./Renamer\";\nexport var Creatable;\n(function (Creatable) {\n function is(value) {\n return CCrypto.is(value) || CConverter.is(value) || CRenamer.is(value);\n }\n Creatable.is = is;\n let Converter;\n (function (Converter) {\n Converter.is = CConverter.is;\n })(Converter = Creatable.Converter || (Creatable.Converter = {}));\n let Crypto;\n (function (Crypto) {\n Crypto.is = CCrypto.is;\n })(Crypto = Creatable.Crypto || (Creatable.Crypto = {}));\n let Renamer;\n (function (Renamer) {\n Renamer.is = CRenamer.is;\n })(Renamer = Creatable.Renamer || (Creatable.Renamer = {}));\n})(Creatable || (Creatable = {}));\n//# sourceMappingURL=index.js.map","export var Transformer;\n(function (Transformer) {\n function is(value) {\n return typeof value == \"object\" && typeof value.apply == \"function\" && typeof value.reverse == \"function\";\n }\n Transformer.is = is;\n function create(transformer) {\n return {\n apply: transformer.apply ? transformer.apply : (v) => v,\n reverse: transformer.reverse ? transformer.reverse : (v) => v,\n };\n }\n Transformer.create = create;\n})(Transformer || (Transformer = {}));\n//# sourceMappingURL=Transformer.js.map","export var Asymmetric;\n(function (Asymmetric) {\n function is(value) {\n return (value == \"RS256\" ||\n value == \"RS384\" ||\n value == \"RS512\" ||\n value == \"ES256\" ||\n value == \"ES384\" ||\n value == \"ES512\" ||\n value == \"PS256\" ||\n value == \"PS384\" ||\n value == \"PS512\");\n }\n Asymmetric.is = is;\n})(Asymmetric || (Asymmetric = {}));\n//# sourceMappingURL=Asymmetric.js.map","export var Symmetric;\n(function (Symmetric) {\n function is(value) {\n return value == \"HS256\" || value == \"HS384\" || value == \"HS512\";\n }\n Symmetric.is = is;\n})(Symmetric || (Symmetric = {}));\n//# sourceMappingURL=Symmetric.js.map","import { Asymmetric as NameAsymmetric } from \"./Asymmetric\";\nimport { Symmetric as NameSymmetric } from \"./Symmetric\";\nexport var Name;\n(function (Name) {\n function is(value) {\n return value == \"none\" || NameSymmetric.is(value) || NameAsymmetric.is(value);\n }\n Name.is = is;\n let Symmetric;\n (function (Symmetric) {\n Symmetric.is = NameSymmetric.is;\n })(Symmetric = Name.Symmetric || (Name.Symmetric = {}));\n let Asymmetric;\n (function (Asymmetric) {\n Asymmetric.is = NameAsymmetric.is;\n })(Asymmetric = Name.Asymmetric || (Name.Asymmetric = {}));\n})(Name || (Name = {}));\n//# sourceMappingURL=index.js.map","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { Signer } from \"cryptly\";\nimport { Name as AlgorithmName } from \"./Name\";\nexport class Algorithm {\n constructor(name, signer) {\n this.name = name;\n this.signer = signer;\n }\n sign(data) {\n return __awaiter(this, void 0, void 0, function* () {\n return typeof data == \"string\" ? this.signer.sign(data) : this.signer.sign(data);\n });\n }\n verify(data, signature) {\n return this.signer.verify(data, signature);\n }\n static create(name, ...keys) {\n let result;\n switch (name) {\n case \"ES256\":\n result = Signer.create(\"ECDSA\", \"SHA-256\", keys[0], keys[1]);\n break;\n case \"ES384\":\n result = Signer.create(\"ECDSA\", \"SHA-384\", keys[0], keys[1]);\n break;\n case \"ES512\":\n result = Signer.create(\"ECDSA\", \"SHA-512\", keys[0], keys[1]);\n break;\n case \"PS256\":\n result = Signer.create(\"RSA-PSS\", \"SHA-256\", keys[0], keys[1]);\n break;\n case \"PS384\":\n result = Signer.create(\"RSA-PSS\", \"SHA-384\", keys[0], keys[1]);\n break;\n case \"PS512\":\n result = Signer.create(\"RSA-PSS\", \"SHA-512\", keys[0], keys[1]);\n break;\n case \"HS256\":\n result = Signer.create(\"HMAC\", \"SHA-256\", keys[0]);\n break;\n case \"HS384\":\n result = Signer.create(\"HMAC\", \"SHA-384\", keys[0]);\n break;\n case \"HS512\":\n result = Signer.create(\"HMAC\", \"SHA-512\", keys[0]);\n break;\n case \"RS256\":\n result = Signer.create(\"RSA\", \"SHA-256\", keys[0], keys[1]);\n break;\n case \"RS384\":\n result = Signer.create(\"RSA\", \"SHA-384\", keys[0], keys[1]);\n break;\n case \"RS512\":\n result = Signer.create(\"RSA\", \"SHA-512\", keys[0], keys[1]);\n break;\n case \"none\":\n result = Signer.create(\"None\");\n break;\n }\n return result && new Algorithm(name, result);\n }\n static none() {\n return Algorithm.create(\"none\");\n }\n static HS256(key) {\n return Algorithm.create(\"HS256\", key);\n }\n static HS384(key) {\n return Algorithm.create(\"HS384\", key);\n }\n static HS512(key) {\n return Algorithm.create(\"HS512\", key);\n }\n static RS256(publicKey, privateKey) {\n return Algorithm.create(\"RS256\", publicKey, privateKey);\n }\n static RS384(publicKey, privateKey) {\n return Algorithm.create(\"RS384\", publicKey, privateKey);\n }\n static RS512(publicKey, privateKey) {\n return Algorithm.create(\"RS512\", publicKey, privateKey);\n }\n static ES256(publicKey, privateKey) {\n return Algorithm.create(\"ES256\", publicKey, privateKey);\n }\n static ES384(publicKey, privateKey) {\n return Algorithm.create(\"ES384\", publicKey, privateKey);\n }\n static ES512(publicKey, privateKey) {\n return Algorithm.create(\"ES512\", publicKey, privateKey);\n }\n static PS256(publicKey, privateKey) {\n return Algorithm.create(\"PS256\", publicKey, privateKey);\n }\n static PS384(publicKey, privateKey) {\n return Algorithm.create(\"PS384\", publicKey, privateKey);\n }\n static PS512(publicKey, privateKey) {\n return Algorithm.create(\"PS512\", publicKey, privateKey);\n }\n}\n(function (Algorithm) {\n let Name;\n (function (Name) {\n Name.is = AlgorithmName.is;\n let Symmetric;\n (function (Symmetric) {\n Symmetric.is = AlgorithmName.Symmetric.is;\n })(Symmetric = Name.Symmetric || (Name.Symmetric = {}));\n let Asymmetric;\n (function (Asymmetric) {\n Asymmetric.is = AlgorithmName.Asymmetric.is;\n })(Asymmetric = Name.Asymmetric || (Name.Asymmetric = {}));\n })(Name = Algorithm.Name || (Algorithm.Name = {}));\n})(Algorithm || (Algorithm = {}));\n//# sourceMappingURL=index.js.map","export var Token;\n(function (Token) {\n function is(value) {\n return typeof value == \"string\" && /^[A-Za-z0-9-_=]+\\.[A-Za-z0-9-_=]+\\.?[A-Za-z0-9-_.+/=]*$/.test(value);\n }\n Token.is = is;\n})(Token || (Token = {}));\n//# sourceMappingURL=Token.js.map","export interface Message<T> {\n\tdestination: string\n\tcontent: T\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport class Message<T> {\n\tstatic is(value: Message<any> | any): value is Message<any> {\n\t\treturn typeof value == \"object\" && typeof value.destination == \"string\" && value.content != undefined\n\t}\n\tstatic send(message: Message<any>, context?: Window): void\n\tstatic send(destination: string, content: any, context?: Window): void\n\tstatic send(message: string | Message<any>, content?: any | Window, context?: Window): void {\n\t\tif (Message.is(message) && context == undefined) {\n\t\t\tcontext = content as Window\n\t\t\tif (!context)\n\t\t\t\tcontext = window\n\t\t\tconst destination = message.destination.split(\"#\", 2)\n\t\t\tmessage = { destination: destination[1], content: message.content }\n\t\t\tcontext.postMessage(message, destination[0])\n\t\t} else if (typeof context != \"string\") {\n\t\t\tif (!context)\n\t\t\t\tcontext = window\n\t\t\tif (typeof message == \"string\")\n\t\t\t\tMessage.send({ destination: message, content }, context)\n\t\t}\n\t}\n\tstatic listen(origin: string, handle: (destination: string, content: any) => void, context?: Window): void {\n\t\tconst splitted = origin.split(\"#\", 2)\n\t\tlet destination = \"\"\n\t\tif (splitted.length == 2) {\n\t\t\torigin = splitted[0]\n\t\t\tdestination = splitted[1]\n\t\t}\n\t\t;(context || window).addEventListener(\"message\", (e: MessageEvent) => {\n\t\t\tconst message = e.data\n\t\t\tif (\n\t\t\t\tMessage.is(message) &&\n\t\t\t\t(origin == \"*\" || e.origin == origin) &&\n\t\t\t\t(destination == \"\" || message.destination == destination)\n\t\t\t)\n\t\t\t\thandle(message.destination, message.content)\n\t\t})\n\t}\n}\n","export interface Trigger {\n\tname: string\n\tvalue?: any\n}\nexport class Trigger {\n\tstatic is(value: Trigger | any): value is Trigger {\n\t\treturn typeof value == \"object\" && typeof value.name == \"string\"\n\t}\n}\n","export type WithListenable<T extends Record<string, any>> = T & Listenable<T>\n\nexport type CanBeListenable = Record<string, any>\n\nexport interface HasListenable<T extends CanBeListenable> {\n\treadonly listenable: WithListenable<T>\n}\n\nexport class Listenable<T extends CanBeListenable> {\n\t#listeners: Listeners<ListenableProperties<T>> = {}\n\tlisten<K extends keyof ListenableProperties<T>>(\n\t\tthis: T & Listenable<T>,\n\t\tproperty: K,\n\t\tlistener: Listener<T[K]>\n\t): void {\n\t\tthis.#listeners[property]?.push(listener) ?? (this.#listeners[property] = [listener])\n\t\tlistener(this[property])\n\t}\n\tunlisten<K extends keyof ListenableProperties<T>>(property: K, listener: Listener<T[K]>): void {\n\t\tconst index = this.#listeners[property]?.indexOf(listener)\n\t\tindex != undefined && index >= 0 && this.#listeners[property]?.splice(index, 1)\n\t}\n\n\tstatic load<T extends HasListenable<CanBeListenable>>(backend: T): WithListenable<T> {\n\t\tconst result = backend.listenable\n\n\t\treturn Object.defineProperties(result, getProperties(backend)) as WithListenable<T>\n\n\t\tfunction getProperties(backend: any) {\n\t\t\treturn Object.fromEntries(\n\t\t\t\t(\n\t\t\t\t\tObject.entries({\n\t\t\t\t\t\t...Object.getOwnPropertyDescriptors(backend),\n\t\t\t\t\t\t...Object.getOwnPropertyDescriptors(Object.getPrototypeOf(backend)),\n\t\t\t\t\t}) as [keyof T, PropertyDescriptor][]\n\t\t\t\t).map(([name, descriptor]) => [\n\t\t\t\t\tname,\n\t\t\t\t\ttypeof descriptor.value == \"function\"\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\treturn backend[name].bind(backend)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: descriptor.writable || descriptor.set\n\t\t\t\t\t\t? {\n\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\treturn backend[name]\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tset(value: any) {\n\t\t\t\t\t\t\t\t\tbackend[name] = value\n\t\t\t\t\t\t\t\t\tresult.#listeners[name]?.forEach(listener => listener(value))\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t }\n\t\t\t\t\t\t: {\n\t\t\t\t\t\t\t\tget() {\n\t\t\t\t\t\t\t\t\treturn backend[name].bind(backend)\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t },\n\t\t\t\t])\n\t\t\t)\n\t\t}\n\t}\n}\ntype ListenableProperties<T> = {\n\t// eslint-disable-next-line @typescript-eslint/ban-types\n\t[P in keyof T as T[P] extends Function ? never : P]: T[P]\n}\n\nexport type Listener<V> = (value: V) => void\nexport type Listeners<T> = {\n\t[K in keyof T]?: Listener<T[K]>[]\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"Notice-88ba4c70.js","mappings":";;MAAa,MAAM;EAElB,IAAI,KAAK;IACR,OAAO,IAAI,CAAC,UAAU,CAAA;GACtB;EACD,IAAI,KAAK,CAAC,KAAmB;IAC5B,IAAI,IAAI,CAAC,UAAU,IAAI,KAAK,EAAE;MAC7B,IAAI,CAAC,UAAU,GAAG,KAAK,CAAA;MACvB,IAAI,CAAC,IAAI,EAAE,CAAA;KACX;GACD;EAGD,IAAI,OAAO;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: number\n\tget state(): Notice.State {\n\t\treturn this.stateValue\n\t}\n\tset state(value: Notice.State) {\n\t\tif (this.stateValue != value) {\n\t\t\tthis.stateValue = value\n\t\t\tthis.emit()\n\t\t}\n\t}\n\n\tprivate listeners: Notice.Listener[] = []\n\tget message(): string {\n\t\treturn this.messageValue\n\t}\n\tset message(value: string) {\n\t\tif (this.messageValue != value) {\n\t\t\tthis.messageValue = value\n\t\t\tthis.emit()\n\t\t}\n\t}\n\tprivate constructor(private stateValue: Notice.State, private messageValue: string, private task?: Notice.Task) {\n\t\tswitch (stateValue) {\n\t\t\tcase \"delayed\":\n\t\t\t\tthis.timer = window.setTimeout(() => this.execute(), 5000)\n\t\t\t\tbreak\n\t\t\tcase \"executing\":\n\t\t\t\tthis.execute()\n\t\t\t\tbreak\n\t\t\tcase \"success\":\n\t\t\tcase \"warning\":\n\t\t\tcase \"failed\":\n\t\t\t\tthis.startCloseTimer()\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tbreak\n\t\t}\n\t}\n\tlisten(listener: Notice.Listener) {\n\t\tthis.listeners.push(listener)\n\t}\n\tunlisten(listener: Notice.Listener) {\n\t\tthis.listeners.filter(l => l != listener)\n\t}\n\tprivate emit() {\n\t\tthis.listeners.forEach(l => l(this))\n\t}\n\tprivate execute() {\n\t\tthis.clearTimer()\n\t\tif (this.task) {\n\t\t\tthis.state = \"executing\"\n\t\t\tthis.task(this).then(r => {\n\t\t\t\tthis.messageValue = r[1] // emit is triggered by the state change below\n\t\t\t\tthis.state = r[0] ? \"success\" : \"failed\"\n\t\t\t\tthis.startCloseTimer()\n\t\t\t})\n\t\t} else\n\t\t\tthis.state = \"failed\"\n\t}\n\tprivate startCloseTimer() {\n\t\tthis.timer = window.setTimeout(() => this.close(), 15000)\n\t}\n\n\tclose() {\n\t\tthis.clearTimer()\n\t\tthis.state = \"closed\"\n\t}\n\tprivate clearTimer() {\n\t\tif (this.timer) {\n\t\t\twindow.clearTimeout(this.timer)\n\t\t\tthis.timer = undefined\n\t\t}\n\t}\n\n\tstatic delay(message: string, task: Notice.Task): Notice {\n\t\treturn new Notice(\"delayed\", message, task)\n\t}\n\tstatic execute(message: string, task: Notice.Task): Notice {\n\t\treturn new Notice(\"executing\", message, task)\n\t}\n\tstatic succeded(message: string): Notice {\n\t\treturn new Notice(\"success\", message)\n\t}\n\tstatic failed(message: string): Notice {\n\t\treturn new Notice(\"failed\", message)\n\t}\n\tstatic warn(message: string): Notice {\n\t\treturn new Notice(\"warning\", message)\n\t}\n}\nexport namespace Notice {\n\texport type State = \"delayed\" | \"executing\" | \"success\" | \"warning\" | \"failed\" | \"closed\"\n\texport type Listener = (notice: Notice) => void\n\texport type Task = (notice: Notice) => Promise<[boolean, string]>\n}\n"],"version":3}