smoothly 1.0.0-alpha.99 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (456) hide show
  1. package/dist/cjs/Data-50d47740.js +589 -0
  2. package/dist/cjs/Data-50d47740.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-7e53766b.js → getLanguage-49a534df.js} +1 -5993
  8. package/dist/cjs/getLanguage-49a534df.js.map +1 -0
  9. package/dist/cjs/{index-6ae370b4.js → index-43af753b.js} +1 -4
  10. package/dist/cjs/index-43af753b.js.map +1 -0
  11. package/dist/cjs/index.cjs.js +3 -14
  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/smoothly-accordion-item.cjs.entry.js +61 -0
  16. package/dist/cjs/smoothly-accordion-item.cjs.entry.js.map +1 -0
  17. package/dist/cjs/smoothly-accordion.cjs.entry.js +58 -0
  18. package/dist/cjs/smoothly-accordion.cjs.entry.js.map +1 -0
  19. package/dist/cjs/smoothly-address-display.cjs.entry.js +1 -1
  20. package/dist/cjs/smoothly-address.cjs.entry.js +1 -1
  21. package/dist/cjs/smoothly-addresses.cjs.entry.js +1 -1
  22. package/dist/cjs/smoothly-app_80.cjs.entry.js +11148 -0
  23. package/dist/cjs/smoothly-app_80.cjs.entry.js.map +1 -0
  24. package/dist/cjs/smoothly-checkbox.cjs.entry.js +102 -0
  25. package/dist/cjs/smoothly-checkbox.cjs.entry.js.map +1 -0
  26. package/dist/cjs/smoothly-color.cjs.entry.js +1 -1
  27. package/dist/cjs/smoothly-country.cjs.entry.js +56 -55
  28. package/dist/cjs/smoothly-country.cjs.entry.js.map +1 -1
  29. package/dist/cjs/smoothly-display-date-time.cjs.entry.js +1 -1
  30. package/dist/cjs/smoothly-google-font.cjs.entry.js +1 -1
  31. package/dist/cjs/smoothly-reorder.cjs.entry.js +4 -4
  32. package/dist/cjs/smoothly-reorder.cjs.entry.js.map +1 -1
  33. package/dist/cjs/smoothly-trigger-sink.cjs.entry.js +2 -2
  34. package/dist/cjs/smoothly-trigger-source.cjs.entry.js +2 -2
  35. package/dist/cjs/smoothly.cjs.js +4 -3
  36. package/dist/cjs/smoothly.cjs.js.map +1 -1
  37. package/dist/collection/collection-manifest.json +24 -7
  38. package/dist/collection/components/Button.js +16 -2
  39. package/dist/collection/components/Button.js.map +1 -1
  40. package/dist/collection/components/app/index.js +53 -1
  41. package/dist/collection/components/app/index.js.map +1 -1
  42. package/dist/collection/components/app/room/index.js +45 -2
  43. package/dist/collection/components/app/room/index.js.map +1 -1
  44. package/dist/collection/components/app/room/style.css +23 -9
  45. package/dist/collection/components/app/style.css +57 -32
  46. package/dist/collection/components/app-demo/index.js +1 -2
  47. package/dist/collection/components/app-demo/index.js.map +1 -1
  48. package/dist/collection/components/burger/index.js +9 -9
  49. package/dist/collection/components/burger/index.js.map +1 -1
  50. package/dist/collection/components/button/index.js +9 -22
  51. package/dist/collection/components/button/index.js.map +1 -1
  52. package/dist/collection/components/button/style.css +23 -20
  53. package/dist/collection/components/button-demo/index.js +3 -1
  54. package/dist/collection/components/button-demo/index.js.map +1 -1
  55. package/dist/collection/components/button-demo/style.css +1 -0
  56. package/dist/collection/components/calendar/generate.js +1 -1
  57. package/dist/collection/components/calendar/generate.js.map +1 -1
  58. package/dist/collection/components/calendar/index.js +16 -16
  59. package/dist/collection/components/calendar/index.js.map +1 -1
  60. package/dist/collection/components/checkbox/index.js +60 -29
  61. package/dist/collection/components/checkbox/index.js.map +1 -1
  62. package/dist/collection/components/checkbox/style.css +39 -42
  63. package/dist/collection/components/confirm/index.js +261 -0
  64. package/dist/collection/components/confirm/index.js.map +1 -0
  65. package/dist/collection/components/confirm/style.css +15 -0
  66. package/dist/collection/components/display/index.js +4 -1
  67. package/dist/collection/components/display/index.js.map +1 -1
  68. package/dist/collection/components/display-demo/index.js +16 -1
  69. package/dist/collection/components/display-demo/index.js.map +1 -1
  70. package/dist/collection/components/filter/Filter.js +17 -0
  71. package/dist/collection/components/filter/Filter.js.map +1 -0
  72. package/dist/collection/components/filter/field/index.js +105 -0
  73. package/dist/collection/components/filter/field/index.js.map +1 -0
  74. package/dist/collection/components/filter/field/style.css +4 -0
  75. package/dist/collection/components/filter/index.js +55 -132
  76. package/dist/collection/components/filter/index.js.map +1 -1
  77. package/dist/collection/components/filter/input/index.js +84 -301
  78. package/dist/collection/components/filter/input/index.js.map +1 -1
  79. package/dist/collection/components/filter/picker/index.js +229 -0
  80. package/dist/collection/components/filter/picker/index.js.map +1 -0
  81. package/dist/collection/components/filter/picker/style.css +8 -0
  82. package/dist/collection/components/filter/style.css +56 -71
  83. package/dist/collection/components/filter/toggle/index.js +248 -0
  84. package/dist/collection/components/filter/toggle/index.js.map +1 -0
  85. package/dist/collection/components/filter/toggle/style.css +8 -0
  86. package/dist/collection/components/form/index.js +234 -66
  87. package/dist/collection/components/form/index.js.map +1 -1
  88. package/dist/collection/components/form/style.css +3 -1
  89. package/dist/collection/components/icon/index.js +60 -32
  90. package/dist/collection/components/icon/index.js.map +1 -1
  91. package/dist/collection/components/icon/style.css +15 -0
  92. package/dist/collection/components/icon-demo/index.js +3 -1
  93. package/dist/collection/components/icon-demo/index.js.map +1 -1
  94. package/dist/collection/components/icon-demo/style.css +5 -6
  95. package/dist/collection/components/input/Editable.js +19 -0
  96. package/dist/collection/components/input/Editable.js.map +1 -0
  97. package/dist/collection/components/input/Input.js +22 -1
  98. package/dist/collection/components/input/Input.js.map +1 -1
  99. package/dist/collection/components/input/Looks.js +7 -1
  100. package/dist/collection/components/input/Looks.js.map +1 -1
  101. package/dist/collection/components/input/Submittable.js.map +1 -1
  102. package/dist/collection/components/input/checkbox/index.js +382 -0
  103. package/dist/collection/components/input/checkbox/index.js.map +1 -0
  104. package/dist/collection/components/input/checkbox/style.css +75 -0
  105. package/dist/collection/components/input/clear/index.js +12 -7
  106. package/dist/collection/components/input/clear/index.js.map +1 -1
  107. package/dist/collection/components/input/clear/style.css +23 -20
  108. package/dist/collection/components/input/color/index.js +226 -0
  109. package/dist/collection/components/input/color/index.js.map +1 -0
  110. package/dist/collection/components/input/color/style.css +15 -0
  111. package/dist/collection/components/input/date/index.js +8 -8
  112. package/dist/collection/components/input/date/index.js.map +1 -1
  113. package/dist/collection/components/input/date/range/index.js +13 -17
  114. package/dist/collection/components/input/date/range/index.js.map +1 -1
  115. package/dist/collection/components/input/date/range/style.css +25 -0
  116. package/dist/collection/components/input/date/style.css +25 -0
  117. package/dist/collection/components/input/demo/index.js +28 -72
  118. package/dist/collection/components/input/demo/index.js.map +1 -1
  119. package/dist/collection/components/input/demo/style.css +15 -0
  120. package/dist/collection/components/input/edit/index.js +249 -0
  121. package/dist/collection/components/input/edit/index.js.map +1 -0
  122. package/dist/collection/components/input/edit/style.css +238 -0
  123. package/dist/collection/components/input/file/index.js +3 -3
  124. package/dist/collection/components/input/file/index.js.map +1 -1
  125. package/dist/collection/components/input/file/style.css +22 -0
  126. package/dist/collection/components/input/index.js +245 -110
  127. package/dist/collection/components/input/index.js.map +1 -1
  128. package/dist/collection/components/input/month/index.js +5 -5
  129. package/dist/collection/components/input/month/index.js.map +1 -1
  130. package/dist/collection/components/input/radio/Selected.js +11 -0
  131. package/dist/collection/components/input/radio/Selected.js.map +1 -0
  132. package/dist/collection/components/input/radio/index.js +426 -0
  133. package/dist/collection/components/input/radio/index.js.map +1 -0
  134. package/dist/collection/components/{radio-button → input/radio/item}/index.js +60 -72
  135. package/dist/collection/components/input/radio/item/index.js.map +1 -0
  136. package/dist/collection/components/input/radio/item/style.css +28 -0
  137. package/dist/collection/components/input/radio/style.css +66 -0
  138. package/dist/collection/components/input/range/index.js +440 -0
  139. package/dist/collection/components/input/range/index.js.map +1 -0
  140. package/dist/collection/components/input/range/style.css +154 -0
  141. package/dist/collection/components/input/reset/index.js +260 -0
  142. package/dist/collection/components/input/reset/index.js.map +1 -0
  143. package/dist/collection/components/input/reset/style.css +255 -0
  144. package/dist/collection/components/input/select/index.js +443 -95
  145. package/dist/collection/components/input/select/index.js.map +1 -1
  146. package/dist/collection/components/input/select/style.css +111 -23
  147. package/dist/collection/components/input/style.css +24 -2
  148. package/dist/collection/components/input/submit/index.js +269 -0
  149. package/dist/collection/components/input/submit/index.js.map +1 -0
  150. package/dist/collection/components/input/submit/style.css +11 -0
  151. package/dist/collection/components/item/Item.js +11 -0
  152. package/dist/collection/components/item/Item.js.map +1 -0
  153. package/dist/collection/components/item/index.js +69 -29
  154. package/dist/collection/components/item/index.js.map +1 -1
  155. package/dist/collection/components/item/style.css +1 -3
  156. package/dist/collection/components/label/index.js +81 -0
  157. package/dist/collection/components/label/index.js.map +1 -0
  158. package/dist/collection/components/label/style.css +15 -0
  159. package/dist/collection/components/lazy/index.js +73 -0
  160. package/dist/collection/components/lazy/index.js.map +1 -0
  161. package/dist/collection/components/{radio → load-more}/index.js +35 -46
  162. package/dist/collection/components/load-more/index.js.map +1 -0
  163. package/dist/collection/components/load-more/style.css +5 -0
  164. package/dist/collection/components/notification/index.js.map +1 -1
  165. package/dist/collection/components/picker/demo/index.js +17 -15
  166. package/dist/collection/components/picker/demo/index.js.map +1 -1
  167. package/dist/collection/components/picker/demo/style.css +24 -1
  168. package/dist/collection/components/picker/index.js +172 -7
  169. package/dist/collection/components/picker/index.js.map +1 -1
  170. package/dist/collection/components/picker/menu/index.js +74 -3
  171. package/dist/collection/components/picker/menu/index.js.map +1 -1
  172. package/dist/collection/components/picker/menu/style.css +16 -6
  173. package/dist/collection/components/picker/option/index.js +51 -3
  174. package/dist/collection/components/picker/option/index.js.map +1 -1
  175. package/dist/collection/components/picker/option/style.css +9 -4
  176. package/dist/collection/components/picker/style.css +28 -3
  177. package/dist/collection/components/popup/index.js +5 -5
  178. package/dist/collection/components/popup/index.js.map +1 -1
  179. package/dist/collection/components/popup/style.css +4 -4
  180. package/dist/collection/components/submit/index.js +0 -15
  181. package/dist/collection/components/submit/index.js.map +1 -1
  182. package/dist/collection/components/submit/style.css +23 -20
  183. package/dist/collection/components/summary/index.js +2 -3
  184. package/dist/collection/components/summary/index.js.map +1 -1
  185. package/dist/collection/components/summary/style.css +25 -16
  186. package/dist/collection/components/table/cell/style.css +3 -3
  187. package/dist/collection/components/table/demo/filtered/Root.js.map +1 -1
  188. package/dist/collection/components/table/demo/filtered/index.js +30 -15
  189. package/dist/collection/components/table/demo/filtered/index.js.map +1 -1
  190. package/dist/collection/components/table/demo/filtered/style.css +9 -0
  191. package/dist/collection/components/table/demo/index.js +2 -14
  192. package/dist/collection/components/table/demo/index.js.map +1 -1
  193. package/dist/collection/components/table/demo/style.css +5 -0
  194. package/dist/collection/components/table/demo/testing/data.js.map +1 -0
  195. package/dist/collection/components/table/demo/testing/index.js +28 -0
  196. package/dist/collection/components/table/demo/testing/index.js.map +1 -0
  197. package/dist/collection/components/table/demo/testing/style.css +32 -0
  198. package/dist/collection/components/table/expandable/cell/index.js +1 -20
  199. package/dist/collection/components/table/expandable/cell/index.js.map +1 -1
  200. package/dist/collection/components/table/expandable/cell/style.css +13 -13
  201. package/dist/collection/components/table/expandable/row/index.js +1 -20
  202. package/dist/collection/components/table/expandable/row/index.js.map +1 -1
  203. package/dist/collection/components/table/expandable/row/style.css +11 -11
  204. package/dist/collection/components/table/footer/index.js +19 -0
  205. package/dist/collection/components/table/footer/index.js.map +1 -0
  206. package/dist/collection/components/table/footer/style.css +10 -0
  207. package/dist/collection/components/table/header/style.css +2 -3
  208. package/dist/collection/components/table/index.js +24 -1
  209. package/dist/collection/components/table/index.js.map +1 -1
  210. package/dist/collection/components/theme/color/index.js +48 -0
  211. package/dist/collection/components/theme/color/index.js.map +1 -0
  212. package/dist/collection/components/theme/color/style.css +8 -0
  213. package/dist/collection/components/theme/color/variant/index.js +66 -0
  214. package/dist/collection/components/theme/color/variant/index.js.map +1 -0
  215. package/dist/collection/components/theme/color/variant/style.css +18 -0
  216. package/dist/collection/components/theme/colors/index.js +30 -0
  217. package/dist/collection/components/theme/colors/index.js.map +1 -0
  218. package/dist/collection/components/theme/colors/style.css +7 -0
  219. package/dist/collection/components/theme/picker/index.js +48 -0
  220. package/dist/collection/components/theme/picker/index.js.map +1 -0
  221. package/dist/collection/components/theme/picker/style.css +0 -0
  222. package/dist/collection/components/toggle-switch/index.js +69 -17
  223. package/dist/collection/components/toggle-switch/index.js.map +1 -1
  224. package/dist/collection/components/toggle-switch/style.css +19 -12
  225. package/dist/collection/global/Observers.js +22 -0
  226. package/dist/collection/global/Observers.js.map +1 -0
  227. package/dist/collection/global/index.js +5 -0
  228. package/dist/collection/global/index.js.map +1 -0
  229. package/dist/collection/model/Color.js +18 -1
  230. package/dist/collection/model/Color.js.map +1 -1
  231. package/dist/collection/model/Data.js +8 -1
  232. package/dist/collection/model/Data.js.map +1 -1
  233. package/dist/collection/model/Icon.js +23 -0
  234. package/dist/collection/model/Icon.js.map +1 -0
  235. package/dist/collection/model/Listenable.js +16 -3
  236. package/dist/collection/model/Listenable.js.map +1 -1
  237. package/dist/collection/model/Option.js.map +1 -1
  238. package/dist/collection/model/index.js +2 -1
  239. package/dist/collection/model/index.js.map +1 -1
  240. package/dist/collection/smoothly.js +1 -1
  241. package/dist/collection/smoothly.js.map +1 -1
  242. package/dist/custom-elements/index.d.ts +120 -24
  243. package/dist/custom-elements/index.js +15445 -33845
  244. package/dist/custom-elements/index.js.map +1 -1
  245. package/dist/esm/Data-c8093b5a.js +579 -0
  246. package/dist/esm/Data-c8093b5a.js.map +1 -0
  247. package/dist/esm/Observers-5f08e828.js +25 -0
  248. package/dist/esm/Observers-5f08e828.js.map +1 -0
  249. package/dist/esm/TimeZone-c8df4905.js +6181 -0
  250. package/dist/esm/TimeZone-c8df4905.js.map +1 -0
  251. package/dist/esm/{getLanguage-9c833eef.js → getLanguage-1e9ec036.js} +2 -5994
  252. package/dist/esm/getLanguage-1e9ec036.js.map +1 -0
  253. package/dist/esm/{index-c196715a.js → index-258984d3.js} +2 -4
  254. package/dist/esm/index-258984d3.js.map +1 -0
  255. package/dist/esm/index.js +3 -14
  256. package/dist/esm/index.js.map +1 -1
  257. package/dist/esm/loader.js +5 -4
  258. package/dist/esm/loader.js.map +1 -1
  259. package/dist/esm/smoothly-accordion-item.entry.js +57 -0
  260. package/dist/esm/smoothly-accordion-item.entry.js.map +1 -0
  261. package/dist/esm/smoothly-accordion.entry.js +54 -0
  262. package/dist/esm/smoothly-accordion.entry.js.map +1 -0
  263. package/dist/esm/smoothly-address-display.entry.js +1 -1
  264. package/dist/esm/smoothly-address.entry.js +1 -1
  265. package/dist/esm/smoothly-addresses.entry.js +1 -1
  266. package/dist/esm/smoothly-app_80.entry.js +11065 -0
  267. package/dist/esm/smoothly-app_80.entry.js.map +1 -0
  268. package/dist/esm/smoothly-checkbox.entry.js +98 -0
  269. package/dist/esm/smoothly-checkbox.entry.js.map +1 -0
  270. package/dist/esm/smoothly-color.entry.js +1 -1
  271. package/dist/esm/smoothly-country.entry.js +10 -9
  272. package/dist/esm/smoothly-country.entry.js.map +1 -1
  273. package/dist/esm/smoothly-display-date-time.entry.js +1 -1
  274. package/dist/esm/smoothly-google-font.entry.js +1 -1
  275. package/dist/esm/smoothly-reorder.entry.js +2 -2
  276. package/dist/esm/smoothly-reorder.entry.js.map +1 -1
  277. package/dist/esm/smoothly-trigger-sink.entry.js +2 -2
  278. package/dist/esm/smoothly-trigger-source.entry.js +2 -2
  279. package/dist/esm/smoothly.js +5 -4
  280. package/dist/esm/smoothly.js.map +1 -1
  281. package/dist/smoothly/index.esm.js +1 -1
  282. package/dist/smoothly/index.esm.js.map +1 -1
  283. package/dist/smoothly/{p-663ccbd0.entry.js → p-12182a73.entry.js} +2 -2
  284. package/dist/smoothly/p-21905b32.entry.js +2 -0
  285. package/dist/smoothly/p-21905b32.entry.js.map +1 -0
  286. package/dist/smoothly/p-2e986022.js +2 -0
  287. package/dist/smoothly/p-2e986022.js.map +1 -0
  288. package/dist/smoothly/p-303520d1.entry.js +2 -0
  289. package/dist/smoothly/p-303520d1.entry.js.map +1 -0
  290. package/dist/smoothly/p-312ef066.js +2 -0
  291. package/dist/smoothly/p-312ef066.js.map +1 -0
  292. package/dist/smoothly/{p-9992c8c4.entry.js → p-47151a53.entry.js} +2 -2
  293. package/dist/smoothly/{p-d0b8061e.js → p-5e387578.js} +3 -3
  294. package/dist/smoothly/p-5e387578.js.map +1 -0
  295. package/dist/smoothly/{p-b82ef190.entry.js → p-635c813e.entry.js} +2 -2
  296. package/dist/smoothly/{p-dbd1afa9.entry.js → p-6aebb818.entry.js} +2 -2
  297. package/dist/smoothly/p-6e9aca2e.entry.js +2 -0
  298. package/dist/smoothly/p-6e9aca2e.entry.js.map +1 -0
  299. package/dist/smoothly/{p-c4ffc15d.entry.js → p-7a69b43f.entry.js} +2 -2
  300. package/dist/smoothly/{p-4d743f07.entry.js → p-7bf147bf.entry.js} +2 -2
  301. package/dist/smoothly/p-823e02b0.entry.js +2 -0
  302. package/dist/smoothly/p-823e02b0.entry.js.map +1 -0
  303. package/dist/smoothly/p-b3eac6af.entry.js +2 -0
  304. package/dist/smoothly/{p-4ff439dd.entry.js.map → p-b3eac6af.entry.js.map} +1 -1
  305. package/dist/smoothly/{p-f96e41aa.entry.js → p-cb493516.entry.js} +2 -2
  306. package/dist/smoothly/p-ede93d69.js +2 -0
  307. package/dist/smoothly/p-ede93d69.js.map +1 -0
  308. package/dist/smoothly/{p-ce4e6f44.entry.js → p-eef1c80b.entry.js} +2 -2
  309. package/dist/smoothly/p-f125610c.entry.js +2 -0
  310. package/dist/smoothly/p-f125610c.entry.js.map +1 -0
  311. package/dist/smoothly/p-fa664317.js +2 -0
  312. package/dist/smoothly/p-fa664317.js.map +1 -0
  313. package/dist/smoothly/smoothly.esm.js +1 -1
  314. package/dist/smoothly/smoothly.esm.js.map +1 -1
  315. package/dist/types/components/Button.d.ts +1 -2
  316. package/dist/types/components/app/index.d.ts +3 -0
  317. package/dist/types/components/app/room/index.d.ts +4 -2
  318. package/dist/types/components/app-demo/index.d.ts +1 -0
  319. package/dist/types/components/burger/index.d.ts +2 -2
  320. package/dist/types/components/button/index.d.ts +2 -2
  321. package/dist/types/components/calendar/index.d.ts +5 -5
  322. package/dist/types/components/checkbox/index.d.ts +4 -2
  323. package/dist/types/components/confirm/index.d.ts +19 -0
  324. package/dist/types/components/filter/Filter.d.ts +21 -0
  325. package/dist/types/components/filter/field/index.d.ts +10 -0
  326. package/dist/types/components/filter/index.d.ts +13 -12
  327. package/dist/types/components/filter/input/index.d.ts +17 -23
  328. package/dist/types/components/filter/picker/index.d.ts +25 -0
  329. package/dist/types/components/filter/toggle/index.d.ts +22 -0
  330. package/dist/types/components/form/index.d.ts +22 -15
  331. package/dist/types/components/icon/index.d.ts +4 -6
  332. package/dist/types/components/input/Editable.d.ts +21 -0
  333. package/dist/types/components/input/Input.d.ts +19 -7
  334. package/dist/types/components/input/Looks.d.ts +7 -1
  335. package/dist/types/components/input/Submittable.d.ts +1 -1
  336. package/dist/types/components/input/checkbox/index.d.ts +30 -0
  337. package/dist/types/components/input/color/index.d.ts +24 -0
  338. package/dist/types/components/input/date/index.d.ts +1 -1
  339. package/dist/types/components/input/date/range/index.d.ts +2 -2
  340. package/dist/types/components/input/demo/index.d.ts +3 -6
  341. package/dist/types/components/input/edit/index.d.ts +18 -0
  342. package/dist/types/components/input/index.d.ts +30 -21
  343. package/dist/types/components/input/month/index.d.ts +1 -1
  344. package/dist/types/components/input/radio/Selected.d.ts +10 -0
  345. package/dist/types/components/input/radio/index.d.ts +36 -0
  346. package/dist/types/components/input/radio/item/index.d.ts +15 -0
  347. package/dist/types/components/input/range/index.d.ts +33 -0
  348. package/dist/types/components/input/reset/index.d.ts +19 -0
  349. package/dist/types/components/input/select/index.d.ts +41 -18
  350. package/dist/types/components/input/submit/index.d.ts +19 -0
  351. package/dist/types/components/item/Item.d.ts +10 -0
  352. package/dist/types/components/item/index.d.ts +8 -5
  353. package/dist/types/components/label/index.d.ts +6 -0
  354. package/dist/types/components/lazy/index.d.ts +7 -0
  355. package/dist/types/components/load-more/index.d.ts +11 -0
  356. package/dist/types/components/picker/demo/index.d.ts +7 -2
  357. package/dist/types/components/picker/index.d.ts +20 -6
  358. package/dist/types/components/picker/menu/index.d.ts +8 -0
  359. package/dist/types/components/picker/option/index.d.ts +2 -0
  360. package/dist/types/components/popup/index.d.ts +1 -1
  361. package/dist/types/components/submit/index.d.ts +0 -1
  362. package/dist/types/components/table/demo/filtered/Root.d.ts +2 -0
  363. package/dist/types/components/table/demo/filtered/index.d.ts +6 -6
  364. package/dist/types/components/table/demo/index.d.ts +1 -1
  365. package/dist/types/components/table/expandable/cell/index.d.ts +0 -1
  366. package/dist/types/components/table/expandable/row/index.d.ts +0 -1
  367. package/dist/types/components/table/footer/index.d.ts +3 -0
  368. package/dist/types/components/table/index.d.ts +2 -0
  369. package/dist/types/components/theme/color/index.d.ts +5 -0
  370. package/dist/types/components/theme/color/variant/index.d.ts +6 -0
  371. package/dist/types/components/theme/colors/index.d.ts +3 -0
  372. package/dist/types/components/theme/picker/index.d.ts +4 -0
  373. package/dist/types/components/toggle-switch/index.d.ts +7 -2
  374. package/dist/types/components.d.ts +658 -182
  375. package/dist/types/global/Observers.d.ts +8 -0
  376. package/dist/types/global/index.d.ts +4 -0
  377. package/dist/types/model/Color.d.ts +7 -1
  378. package/dist/types/model/Data.d.ts +4 -0
  379. package/dist/types/model/Icon.d.ts +8 -0
  380. package/dist/types/model/Listenable.d.ts +10 -1
  381. package/dist/types/model/Option.d.ts +2 -0
  382. package/dist/types/model/index.d.ts +1 -1
  383. package/dist/types/smoothly.d.ts +1 -1
  384. package/package.json +7 -11
  385. package/dist/cjs/Data-afbe461d.js +0 -807
  386. package/dist/cjs/Data-afbe461d.js.map +0 -1
  387. package/dist/cjs/getLanguage-7e53766b.js.map +0 -1
  388. package/dist/cjs/index-6ae370b4.js.map +0 -1
  389. package/dist/cjs/smoothly-accordion_66.cjs.entry.js +0 -29732
  390. package/dist/cjs/smoothly-accordion_66.cjs.entry.js.map +0 -1
  391. package/dist/cjs/smoothly-radio-group.cjs.entry.js +0 -22
  392. package/dist/cjs/smoothly-radio-group.cjs.entry.js.map +0 -1
  393. package/dist/collection/components/filter/Clearable.js +0 -8
  394. package/dist/collection/components/filter/Clearable.js.map +0 -1
  395. package/dist/collection/components/icon/Icon.js +0 -2
  396. package/dist/collection/components/icon/Icon.js.map +0 -1
  397. package/dist/collection/components/input/Changeable.js +0 -8
  398. package/dist/collection/components/input/Changeable.js.map +0 -1
  399. package/dist/collection/components/radio/index.js.map +0 -1
  400. package/dist/collection/components/radio/style.css +0 -31
  401. package/dist/collection/components/radio-button/Selected.js +0 -2
  402. package/dist/collection/components/radio-button/Selected.js.map +0 -1
  403. package/dist/collection/components/radio-button/index.js.map +0 -1
  404. package/dist/collection/components/radio-button/item/index.js +0 -117
  405. package/dist/collection/components/radio-button/item/index.js.map +0 -1
  406. package/dist/collection/components/radio-button/item/style.css +0 -85
  407. package/dist/collection/components/radio-group/index.js +0 -43
  408. package/dist/collection/components/radio-group/index.js.map +0 -1
  409. package/dist/collection/components/radio-group/style.css +0 -36
  410. package/dist/collection/components/table/testing/data.js.map +0 -1
  411. package/dist/collection/components/table/testing/index.js +0 -28
  412. package/dist/collection/components/table/testing/index.js.map +0 -1
  413. package/dist/collection/components/table/testing/style.css +0 -8
  414. package/dist/collection/model/ClientIdentifier.js +0 -13
  415. package/dist/collection/model/ClientIdentifier.js.map +0 -1
  416. package/dist/esm/Data-77d2bdbe.js +0 -803
  417. package/dist/esm/Data-77d2bdbe.js.map +0 -1
  418. package/dist/esm/getLanguage-9c833eef.js.map +0 -1
  419. package/dist/esm/index-c196715a.js.map +0 -1
  420. package/dist/esm/smoothly-accordion_66.entry.js +0 -29663
  421. package/dist/esm/smoothly-accordion_66.entry.js.map +0 -1
  422. package/dist/esm/smoothly-radio-group.entry.js +0 -18
  423. package/dist/esm/smoothly-radio-group.entry.js.map +0 -1
  424. package/dist/smoothly/p-1b714a63.js +0 -2
  425. package/dist/smoothly/p-1b714a63.js.map +0 -1
  426. package/dist/smoothly/p-1efa3261.entry.js +0 -2
  427. package/dist/smoothly/p-1efa3261.entry.js.map +0 -1
  428. package/dist/smoothly/p-4ff439dd.entry.js +0 -2
  429. package/dist/smoothly/p-74a3586c.js +0 -2
  430. package/dist/smoothly/p-74a3586c.js.map +0 -1
  431. package/dist/smoothly/p-8a45ae84.entry.js +0 -2
  432. package/dist/smoothly/p-8a45ae84.entry.js.map +0 -1
  433. package/dist/smoothly/p-90b340b4.entry.js +0 -2
  434. package/dist/smoothly/p-90b340b4.entry.js.map +0 -1
  435. package/dist/smoothly/p-d0b8061e.js.map +0 -1
  436. package/dist/types/components/filter/Clearable.d.ts +0 -6
  437. package/dist/types/components/icon/Icon.d.ts +0 -4
  438. package/dist/types/components/input/Changeable.d.ts +0 -7
  439. package/dist/types/components/radio/index.d.ts +0 -13
  440. package/dist/types/components/radio-button/Selected.d.ts +0 -5
  441. package/dist/types/components/radio-button/index.d.ts +0 -13
  442. package/dist/types/components/radio-button/item/index.d.ts +0 -12
  443. package/dist/types/components/radio-group/index.d.ts +0 -4
  444. package/dist/types/model/ClientIdentifier.d.ts +0 -5
  445. /package/dist/collection/components/{radio-button → lazy}/style.css +0 -0
  446. /package/dist/collection/components/table/{testing → demo/testing}/data.js +0 -0
  447. /package/dist/smoothly/{p-663ccbd0.entry.js.map → p-12182a73.entry.js.map} +0 -0
  448. /package/dist/smoothly/{p-9992c8c4.entry.js.map → p-47151a53.entry.js.map} +0 -0
  449. /package/dist/smoothly/{p-b82ef190.entry.js.map → p-635c813e.entry.js.map} +0 -0
  450. /package/dist/smoothly/{p-dbd1afa9.entry.js.map → p-6aebb818.entry.js.map} +0 -0
  451. /package/dist/smoothly/{p-c4ffc15d.entry.js.map → p-7a69b43f.entry.js.map} +0 -0
  452. /package/dist/smoothly/{p-4d743f07.entry.js.map → p-7bf147bf.entry.js.map} +0 -0
  453. /package/dist/smoothly/{p-f96e41aa.entry.js.map → p-cb493516.entry.js.map} +0 -0
  454. /package/dist/smoothly/{p-ce4e6f44.entry.js.map → p-eef1c80b.entry.js.map} +0 -0
  455. /package/dist/types/components/table/{testing → demo/testing}/data.d.ts +0 -0
  456. /package/dist/types/components/table/{testing → demo/testing}/index.d.ts +0 -0
@@ -1,54 +1,56 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { Language, Locale } from "isoly";
3
- import { Action, get, StateEditor } from "tidily";
2
+ import { isoly } from "isoly";
3
+ import { tidily } from "tidily";
4
4
  export class SmoothlyInput {
5
5
  constructor() {
6
6
  this.keepFocusOnReRender = false;
7
+ this.uneditable = this.readonly;
7
8
  this.listener = {};
8
9
  this.color = undefined;
10
+ this.delay = 0;
9
11
  this.looks = "plain";
10
12
  this.name = undefined;
11
13
  this.value = undefined;
12
14
  this.type = "text";
13
15
  this.required = false;
14
- this.minLength = 0;
15
16
  this.showLabel = true;
16
- this.maxLength = Number.POSITIVE_INFINITY;
17
17
  this.autocomplete = true;
18
- this.pattern = undefined;
19
18
  this.placeholder = undefined;
20
19
  this.disabled = false;
21
20
  this.readonly = false;
22
21
  this.currency = undefined;
23
- this.initialValue = undefined;
24
22
  this.changed = false;
23
+ this.formatter = undefined;
24
+ this.initialValue = undefined;
25
25
  }
26
- listen(property, listener) {
26
+ async listen(property, listener) {
27
27
  this.listener[property] = listener;
28
28
  listener(this);
29
29
  }
30
30
  async SmoothlyInputLoadHandler(event) {
31
- event.stopPropagation();
32
- event.detail(this);
31
+ if (!(event.target && "name" in event.target && event.target.name == this.name)) {
32
+ event.stopPropagation();
33
+ event.detail(this);
34
+ }
33
35
  }
34
- get formatter() {
36
+ typeChange() {
35
37
  let result;
36
38
  switch (this.type) {
37
39
  case "price":
38
- result = get("price", this.currency);
40
+ result = tidily.get("price", this.currency);
39
41
  break;
40
42
  default:
41
- result = get(this.type, getLocale());
43
+ result = tidily.get(this.type, getLocale());
42
44
  break;
43
45
  }
44
- return result || get("text");
46
+ this.formatter = result || tidily.get("text");
45
47
  }
46
48
  newState(state) {
47
- const formatter = this.formatter;
48
- return formatter.format(StateEditor.copy(formatter.unformat(StateEditor.copy(state))));
49
+ return this.formatter.format(tidily.StateEditor.copy(this.formatter.unformat(tidily.StateEditor.copy(state))));
49
50
  }
50
51
  valueWatcher(value, before) {
51
52
  var _a, _b;
53
+ this.changed = this.initialValue !== this.value;
52
54
  if (this.lastValue != value) {
53
55
  this.lastValue = value;
54
56
  this.state = Object.assign(Object.assign({}, this.state), { value: this.newState({ value: this.formatter.toString(value), selection: this.state.selection }).value });
@@ -56,22 +58,45 @@ export class SmoothlyInput {
56
58
  if (value != before) {
57
59
  if (typeof value == "string")
58
60
  value = value.trim();
59
- this.smoothlyInput.emit({ [this.name]: value });
61
+ this.smoothlyInputEmit(value);
60
62
  }
61
- this.changed = Boolean(this.value);
63
+ (_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
64
+ }
65
+ async smoothlyInputEmit(value) {
66
+ var _a;
67
+ (_a = this.abortInputEvent) === null || _a === void 0 ? void 0 : _a.call(this);
68
+ const timeout = window.setTimeout(() => {
69
+ this.abortInputEvent = undefined;
70
+ this.smoothlyInput.emit({ [this.name]: value });
71
+ }, this.delay * 1000);
72
+ this.abortInputEvent = () => {
73
+ this.abortInputEvent = undefined;
74
+ window.clearTimeout(timeout);
75
+ };
76
+ }
77
+ watchingReadonly() {
78
+ var _a, _b;
62
79
  (_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
63
80
  }
64
81
  onCurrency() {
65
82
  this.state = Object.assign(Object.assign({}, this.state), { value: this.newState({ value: this.formatter.toString(this.value), selection: this.state.selection }).value, pattern: this.newState({ value: this.formatter.toString(this.value), selection: this.state.selection }).pattern });
66
83
  }
67
84
  componentWillLoad() {
85
+ var _a, _b;
86
+ this.typeChange();
68
87
  const value = this.formatter.toString(this.value) || "";
88
+ this.lastValue = this.initialValue = this.value;
69
89
  const start = value.length;
70
90
  this.state = this.newState({
71
91
  value,
72
92
  selection: { start, end: start, direction: "none" },
73
93
  });
74
94
  this.smoothlyInputLooks.emit((looks, color) => ((this.looks = looks), !this.color && (this.color = color)));
95
+ this.smoothlyInputLoad.emit(() => {
96
+ return;
97
+ });
98
+ !this.readonly && this.smoothlyFormDisable.emit(readonly => (this.readonly = readonly));
99
+ (_b = (_a = this.listener).changed) === null || _b === void 0 ? void 0 : _b.call(_a, this);
75
100
  }
76
101
  componentDidRender() {
77
102
  if (this.keepFocusOnReRender) {
@@ -80,7 +105,18 @@ export class SmoothlyInput {
80
105
  }
81
106
  }
82
107
  async clear() {
83
- this.value = undefined;
108
+ !this.uneditable && (this.value = undefined);
109
+ }
110
+ async edit(editable) {
111
+ !this.uneditable && (this.readonly = !editable);
112
+ }
113
+ async reset() {
114
+ !this.uneditable && (this.value = this.initialValue);
115
+ }
116
+ async setInitialValue() {
117
+ this.changed = false;
118
+ this.initialValue = this.value;
119
+ this.smoothlyInput.emit({ [this.name]: this.value });
84
120
  }
85
121
  async getFormData(name) {
86
122
  const result = {};
@@ -108,39 +144,44 @@ export class SmoothlyInput {
108
144
  this.keepFocusOnReRender = keepFocus;
109
145
  }
110
146
  async setSelectionRange(start, end, direction) {
111
- this.state = this.newState(Object.assign(Object.assign({}, this.state), { selection: { start, end, direction: direction != undefined ? direction : this.state.selection.direction } }));
112
- const after = this.formatter.format(StateEditor.copy(this.formatter.unformat(StateEditor.copy(Object.assign({}, this.state)))));
147
+ this.state = this.newState(Object.assign(Object.assign({}, this.state), { selection: { start, end, direction: direction !== null && direction !== void 0 ? direction : this.state.selection.direction } }));
148
+ const after = this.formatter.format(tidily.StateEditor.copy(this.formatter.unformat(tidily.StateEditor.copy(Object.assign({}, this.state)))));
113
149
  this.updateBackend(after, this.inputElement);
114
150
  }
115
151
  onBlur(event) {
116
152
  this.smoothlyBlur.emit();
153
+ if (this.abortInputEvent) {
154
+ this.abortInputEvent();
155
+ const value = typeof this.value == "string" ? this.value.trim() : this.value;
156
+ this.smoothlyInput.emit({ [this.name]: value });
157
+ }
117
158
  if (this.initialValue != this.value)
118
159
  this.smoothlyChange.emit({ [this.name]: this.value });
119
- this.initialValue = undefined;
120
160
  }
121
161
  onFocus(event) {
122
- this.initialValue = this.value;
123
- const after = this.formatter.format(StateEditor.copy(this.formatter.unformat(StateEditor.copy(Object.assign({}, this.state)))));
162
+ const after = this.formatter.format(tidily.StateEditor.copy(this.formatter.unformat(tidily.StateEditor.copy(Object.assign({}, this.state)))));
124
163
  if (event.target)
125
- this.updateBackend(after, event.target);
164
+ this.updateBackend(after, event.target, false);
126
165
  }
127
166
  onClick(event) {
167
+ var _a, _b, _c;
128
168
  const backend = event.target;
129
169
  this.state = Object.assign(Object.assign({}, this.state), { value: backend.value, selection: {
130
- start: backend.selectionStart != undefined ? backend.selectionStart : backend.value.length,
131
- end: backend.selectionEnd != undefined ? backend.selectionEnd : backend.value.length,
132
- direction: backend.selectionDirection ? backend.selectionDirection : "none",
170
+ start: (_a = backend.selectionStart) !== null && _a !== void 0 ? _a : backend.value.length,
171
+ end: (_b = backend.selectionEnd) !== null && _b !== void 0 ? _b : backend.value.length,
172
+ direction: (_c = backend.selectionDirection) !== null && _c !== void 0 ? _c : "none",
133
173
  } });
134
174
  const after = this.newState(Object.assign({}, this.state));
135
175
  this.updateBackend(after, backend);
136
176
  }
137
177
  onKeyDown(event) {
178
+ var _a, _b, _c;
138
179
  if (event.key && !(event.key == "Unidentified")) {
139
180
  const backend = event.target;
140
181
  this.state = Object.assign(Object.assign({}, this.state), { value: backend.value, selection: {
141
- start: backend.selectionStart != undefined ? backend.selectionStart : backend.value.length,
142
- end: backend.selectionEnd != undefined ? backend.selectionEnd : backend.value.length,
143
- direction: backend.selectionDirection ? backend.selectionDirection : "none",
182
+ start: (_a = backend.selectionStart) !== null && _a !== void 0 ? _a : backend.value.length,
183
+ end: (_b = backend.selectionEnd) !== null && _b !== void 0 ? _b : backend.value.length,
184
+ direction: (_c = backend.selectionDirection) !== null && _c !== void 0 ? _c : "none",
144
185
  } });
145
186
  if ((!((event.ctrlKey || event.metaKey) && (event.key == "v" || event.key == "x" || event.key == "c")) &&
146
187
  event.key.length == 1) ||
@@ -162,8 +203,7 @@ export class SmoothlyInput {
162
203
  let pasted = event.clipboardData ? event.clipboardData.getData("text") : "";
163
204
  const backend = event.target;
164
205
  pasted = this.expiresAutocompleteFix(backend, pasted);
165
- for (const letter of pasted)
166
- this.processKey({ key: letter }, backend);
206
+ this.processPaste(pasted, backend);
167
207
  }
168
208
  onInput(event) {
169
209
  var _a;
@@ -195,22 +235,31 @@ export class SmoothlyInput {
195
235
  : value;
196
236
  return value;
197
237
  }
238
+ processPaste(pasted, backend) {
239
+ if (!this.readonly) {
240
+ const after = tidily.Action.paste(this.formatter, this.state, pasted);
241
+ this.updateBackend(after, backend);
242
+ }
243
+ }
198
244
  processKey(event, backend) {
199
245
  if (!this.readonly) {
200
- const after = Action.apply(this.formatter, this.state, event);
246
+ const after = tidily.Action.apply(this.formatter, this.state, event);
201
247
  this.updateBackend(after, backend);
202
248
  }
203
249
  }
204
- updateBackend(after, backend) {
250
+ updateBackend(after, backend, setSelection = true) {
251
+ var _a;
205
252
  if (after.value != backend.value)
206
253
  backend.value = after.value;
207
- if (backend.selectionStart != undefined && after.selection.start != backend.selectionStart)
208
- backend.selectionStart = after.selection.start;
209
- if (backend.selectionEnd != undefined && after.selection.end != backend.selectionEnd)
210
- backend.selectionEnd = after.selection.end;
211
- backend.selectionDirection = after.selection.direction ? after.selection.direction : backend.selectionDirection;
254
+ if (setSelection) {
255
+ if (backend.selectionStart != undefined && after.selection.start != backend.selectionStart)
256
+ backend.selectionStart = after.selection.start;
257
+ if (backend.selectionEnd != undefined && after.selection.end != backend.selectionEnd)
258
+ backend.selectionEnd = after.selection.end;
259
+ backend.selectionDirection = (_a = after.selection.direction) !== null && _a !== void 0 ? _a : backend.selectionDirection;
260
+ }
212
261
  this.state = after;
213
- this.value = this.lastValue = this.formatter.fromString(this.formatter.unformat(StateEditor.copy(Object.assign({}, this.state))).value);
262
+ this.value = this.lastValue = this.formatter.fromString(this.formatter.unformat(tidily.StateEditor.copy(Object.assign({}, this.state))).value);
214
263
  }
215
264
  render() {
216
265
  var _a, _b, _c, _d, _e, _f, _g;
@@ -252,12 +301,30 @@ export class SmoothlyInput {
252
301
  "attribute": "color",
253
302
  "reflect": true
254
303
  },
304
+ "delay": {
305
+ "type": "number",
306
+ "mutable": false,
307
+ "complexType": {
308
+ "original": "number",
309
+ "resolved": "number",
310
+ "references": {}
311
+ },
312
+ "required": false,
313
+ "optional": false,
314
+ "docs": {
315
+ "tags": [],
316
+ "text": ""
317
+ },
318
+ "attribute": "delay",
319
+ "reflect": false,
320
+ "defaultValue": "0"
321
+ },
255
322
  "looks": {
256
323
  "type": "string",
257
324
  "mutable": true,
258
325
  "complexType": {
259
326
  "original": "Looks",
260
- "resolved": "\"border\" | \"grid\" | \"line\" | \"plain\"",
327
+ "resolved": "\"border\" | \"grid\" | \"line\" | \"plain\" | \"transparent\"",
261
328
  "references": {
262
329
  "Looks": {
263
330
  "location": "import",
@@ -313,9 +380,14 @@ export class SmoothlyInput {
313
380
  "type": "string",
314
381
  "mutable": false,
315
382
  "complexType": {
316
- "original": "string",
317
- "resolved": "string",
318
- "references": {}
383
+ "original": "tidily.Type",
384
+ "resolved": "\"text\" | \"divisor\" | \"card-csc\" | \"card-expires\" | \"card-number\" | \"date\" | \"date-time\" | \"duration\" | \"email\" | \"identifier-code\" | \"identifier-pascal\" | \"identifier-snake\" | \"identifier-camel\" | \"identifier-attribute\" | \"identity-number\" | \"integer\" | \"password\" | \"percent\" | \"phone\" | \"postal-code\" | \"price\"",
385
+ "references": {
386
+ "tidily": {
387
+ "location": "import",
388
+ "path": "tidily"
389
+ }
390
+ }
319
391
  },
320
392
  "required": false,
321
393
  "optional": false,
@@ -329,7 +401,7 @@ export class SmoothlyInput {
329
401
  },
330
402
  "required": {
331
403
  "type": "boolean",
332
- "mutable": true,
404
+ "mutable": false,
333
405
  "complexType": {
334
406
  "original": "boolean",
335
407
  "resolved": "boolean",
@@ -345,24 +417,6 @@ export class SmoothlyInput {
345
417
  "reflect": true,
346
418
  "defaultValue": "false"
347
419
  },
348
- "minLength": {
349
- "type": "number",
350
- "mutable": true,
351
- "complexType": {
352
- "original": "number",
353
- "resolved": "number",
354
- "references": {}
355
- },
356
- "required": false,
357
- "optional": false,
358
- "docs": {
359
- "tags": [],
360
- "text": ""
361
- },
362
- "attribute": "min-length",
363
- "reflect": false,
364
- "defaultValue": "0"
365
- },
366
420
  "showLabel": {
367
421
  "type": "boolean",
368
422
  "mutable": false,
@@ -381,27 +435,9 @@ export class SmoothlyInput {
381
435
  "reflect": true,
382
436
  "defaultValue": "true"
383
437
  },
384
- "maxLength": {
385
- "type": "number",
386
- "mutable": true,
387
- "complexType": {
388
- "original": "number",
389
- "resolved": "number",
390
- "references": {}
391
- },
392
- "required": false,
393
- "optional": false,
394
- "docs": {
395
- "tags": [],
396
- "text": ""
397
- },
398
- "attribute": "max-length",
399
- "reflect": false,
400
- "defaultValue": "Number.POSITIVE_INFINITY"
401
- },
402
438
  "autocomplete": {
403
439
  "type": "boolean",
404
- "mutable": true,
440
+ "mutable": false,
405
441
  "complexType": {
406
442
  "original": "boolean",
407
443
  "resolved": "boolean",
@@ -417,28 +453,9 @@ export class SmoothlyInput {
417
453
  "reflect": false,
418
454
  "defaultValue": "true"
419
455
  },
420
- "pattern": {
421
- "type": "unknown",
422
- "mutable": true,
423
- "complexType": {
424
- "original": "RegExp | undefined",
425
- "resolved": "RegExp | undefined",
426
- "references": {
427
- "RegExp": {
428
- "location": "global"
429
- }
430
- }
431
- },
432
- "required": false,
433
- "optional": false,
434
- "docs": {
435
- "tags": [],
436
- "text": ""
437
- }
438
- },
439
456
  "placeholder": {
440
457
  "type": "string",
441
- "mutable": true,
458
+ "mutable": false,
442
459
  "complexType": {
443
460
  "original": "string | undefined",
444
461
  "resolved": "string | undefined",
@@ -455,7 +472,7 @@ export class SmoothlyInput {
455
472
  },
456
473
  "disabled": {
457
474
  "type": "boolean",
458
- "mutable": true,
475
+ "mutable": false,
459
476
  "complexType": {
460
477
  "original": "boolean",
461
478
  "resolved": "boolean",
@@ -493,10 +510,10 @@ export class SmoothlyInput {
493
510
  "type": "string",
494
511
  "mutable": false,
495
512
  "complexType": {
496
- "original": "Currency",
513
+ "original": "isoly.Currency",
497
514
  "resolved": "\"BTN\" | \"CHE\" | \"MKD\" | \"AED\" | \"AFN\" | \"ALL\" | \"AMD\" | \"ANG\" | \"AOA\" | \"ARS\" | \"AUD\" | \"AWG\" | \"AZN\" | \"BAM\" | \"BBD\" | \"BDT\" | \"BGN\" | \"BHD\" | \"BIF\" | \"BMD\" | \"BND\" | \"BOB\" | \"BOV\" | \"BRL\" | \"BSD\" | \"BWP\" | \"BYN\" | \"BZD\" | \"CAD\" | \"CDF\" | \"CHF\" | \"CHW\" | \"CLF\" | \"CLP\" | \"CNY\" | \"COP\" | \"COU\" | \"CRC\" | \"CUC\" | \"CUP\" | \"CVE\" | \"CZK\" | \"DJF\" | \"DKK\" | \"DOP\" | \"DZD\" | \"EGP\" | \"ERN\" | \"ETB\" | \"EUR\" | \"FJD\" | \"FKP\" | \"GBP\" | \"GEL\" | \"GHS\" | \"GIP\" | \"GMD\" | \"GNF\" | \"GTQ\" | \"GYD\" | \"HKD\" | \"HNL\" | \"HRK\" | \"HTG\" | \"HUF\" | \"IDR\" | \"ILS\" | \"INR\" | \"IQD\" | \"IRR\" | \"ISK\" | \"JMD\" | \"JOD\" | \"JPY\" | \"KES\" | \"KGS\" | \"KHR\" | \"KMF\" | \"KPW\" | \"KRW\" | \"KWD\" | \"KYD\" | \"KZT\" | \"LAK\" | \"LBP\" | \"LKR\" | \"LRD\" | \"LSL\" | \"LYD\" | \"MAD\" | \"MDL\" | \"MGA\" | \"MMK\" | \"MNT\" | \"MOP\" | \"MRU\" | \"MUR\" | \"MVR\" | \"MWK\" | \"MXN\" | \"MXV\" | \"MYR\" | \"MZN\" | \"NAD\" | \"NGN\" | \"NIO\" | \"NOK\" | \"NPR\" | \"NZD\" | \"OMR\" | \"PAB\" | \"PEN\" | \"PGK\" | \"PHP\" | \"PKR\" | \"PLN\" | \"PYG\" | \"QAR\" | \"RON\" | \"RSD\" | \"RUB\" | \"RWF\" | \"SAR\" | \"SBD\" | \"SCR\" | \"SDG\" | \"SEK\" | \"SGD\" | \"SHP\" | \"SLL\" | \"SOS\" | \"SRD\" | \"SSP\" | \"STN\" | \"SVC\" | \"SYP\" | \"SZL\" | \"THB\" | \"TJS\" | \"TMT\" | \"TND\" | \"TOP\" | \"TRY\" | \"TTD\" | \"TWD\" | \"TZS\" | \"UAH\" | \"UGX\" | \"USD\" | \"USN\" | \"UYI\" | \"UYU\" | \"UYW\" | \"UZS\" | \"VES\" | \"VND\" | \"VUV\" | \"WST\" | \"XAF\" | \"XAG\" | \"XAU\" | \"XBA\" | \"XBB\" | \"XBC\" | \"XBD\" | \"XCD\" | \"XDR\" | \"XOF\" | \"XPD\" | \"XPF\" | \"XPT\" | \"XSU\" | \"XTS\" | \"XUA\" | \"XXX\" | \"YER\" | \"ZAR\" | \"ZMW\" | \"ZWL\" | undefined",
498
515
  "references": {
499
- "Currency": {
516
+ "isoly": {
500
517
  "location": "import",
501
518
  "path": "isoly"
502
519
  }
@@ -526,13 +543,14 @@ export class SmoothlyInput {
526
543
  "text": ""
527
544
  },
528
545
  "attribute": "changed",
529
- "reflect": true,
546
+ "reflect": false,
530
547
  "defaultValue": "false"
531
548
  }
532
549
  };
533
550
  }
534
551
  static get states() {
535
552
  return {
553
+ "formatter": {},
536
554
  "initialValue": {}
537
555
  };
538
556
  }
@@ -549,7 +567,7 @@ export class SmoothlyInput {
549
567
  },
550
568
  "complexType": {
551
569
  "original": "(looks: Looks, color: Color) => void",
552
- "resolved": "(looks: Looks, color: Color) => void",
570
+ "resolved": "(looks: \"line\" | \"grid\" | \"plain\" | \"border\" | \"transparent\", color: \"success\" | \"default\" | \"primary\" | \"secondary\" | \"tertiary\" | \"warning\" | \"danger\" | \"light\" | \"medium\" | \"dark\") => void",
553
571
  "references": {
554
572
  "Looks": {
555
573
  "location": "import",
@@ -561,6 +579,40 @@ export class SmoothlyInput {
561
579
  }
562
580
  }
563
581
  }
582
+ }, {
583
+ "method": "smoothlyInputLoad",
584
+ "name": "smoothlyInputLoad",
585
+ "bubbles": true,
586
+ "cancelable": true,
587
+ "composed": true,
588
+ "docs": {
589
+ "tags": [],
590
+ "text": ""
591
+ },
592
+ "complexType": {
593
+ "original": "(parent: HTMLElement) => void",
594
+ "resolved": "(parent: HTMLElement) => void",
595
+ "references": {
596
+ "HTMLElement": {
597
+ "location": "global"
598
+ }
599
+ }
600
+ }
601
+ }, {
602
+ "method": "smoothlyFormDisable",
603
+ "name": "smoothlyFormDisable",
604
+ "bubbles": true,
605
+ "cancelable": true,
606
+ "composed": true,
607
+ "docs": {
608
+ "tags": [],
609
+ "text": ""
610
+ },
611
+ "complexType": {
612
+ "original": "(disabled: boolean) => void",
613
+ "resolved": "(disabled: boolean) => void",
614
+ "references": {}
615
+ }
564
616
  }, {
565
617
  "method": "smoothlyBlur",
566
618
  "name": "smoothlyBlur",
@@ -618,6 +670,32 @@ export class SmoothlyInput {
618
670
  }
619
671
  static get methods() {
620
672
  return {
673
+ "listen": {
674
+ "complexType": {
675
+ "signature": "(property: \"changed\", listener: (parent: Editable) => Promise<void>) => Promise<void>",
676
+ "parameters": [{
677
+ "tags": [],
678
+ "text": ""
679
+ }, {
680
+ "tags": [],
681
+ "text": ""
682
+ }],
683
+ "references": {
684
+ "Promise": {
685
+ "location": "global"
686
+ },
687
+ "Editable": {
688
+ "location": "import",
689
+ "path": "./Editable"
690
+ }
691
+ },
692
+ "return": "Promise<void>"
693
+ },
694
+ "docs": {
695
+ "text": "",
696
+ "tags": []
697
+ }
698
+ },
621
699
  "clear": {
622
700
  "complexType": {
623
701
  "signature": "() => Promise<void>",
@@ -634,6 +712,57 @@ export class SmoothlyInput {
634
712
  "tags": []
635
713
  }
636
714
  },
715
+ "edit": {
716
+ "complexType": {
717
+ "signature": "(editable: boolean) => Promise<void>",
718
+ "parameters": [{
719
+ "tags": [],
720
+ "text": ""
721
+ }],
722
+ "references": {
723
+ "Promise": {
724
+ "location": "global"
725
+ }
726
+ },
727
+ "return": "Promise<void>"
728
+ },
729
+ "docs": {
730
+ "text": "",
731
+ "tags": []
732
+ }
733
+ },
734
+ "reset": {
735
+ "complexType": {
736
+ "signature": "() => Promise<void>",
737
+ "parameters": [],
738
+ "references": {
739
+ "Promise": {
740
+ "location": "global"
741
+ }
742
+ },
743
+ "return": "Promise<void>"
744
+ },
745
+ "docs": {
746
+ "text": "",
747
+ "tags": []
748
+ }
749
+ },
750
+ "setInitialValue": {
751
+ "complexType": {
752
+ "signature": "() => Promise<void>",
753
+ "parameters": [],
754
+ "references": {
755
+ "Promise": {
756
+ "location": "global"
757
+ }
758
+ },
759
+ "return": "Promise<void>"
760
+ },
761
+ "docs": {
762
+ "text": "",
763
+ "tags": []
764
+ }
765
+ },
637
766
  "getFormData": {
638
767
  "complexType": {
639
768
  "signature": "(name: string) => Promise<Record<string, any>>",
@@ -677,7 +806,7 @@ export class SmoothlyInput {
677
806
  },
678
807
  "setSelectionRange": {
679
808
  "complexType": {
680
- "signature": "(start: number, end: number, direction?: Direction) => Promise<void>",
809
+ "signature": "(start: number, end: number, direction?: tidily.Direction) => Promise<void>",
681
810
  "parameters": [{
682
811
  "tags": [],
683
812
  "text": ""
@@ -692,7 +821,7 @@ export class SmoothlyInput {
692
821
  "Promise": {
693
822
  "location": "global"
694
823
  },
695
- "Direction": {
824
+ "tidily": {
696
825
  "location": "import",
697
826
  "path": "tidily"
698
827
  }
@@ -708,8 +837,14 @@ export class SmoothlyInput {
708
837
  }
709
838
  static get watchers() {
710
839
  return [{
840
+ "propName": "type",
841
+ "methodName": "typeChange"
842
+ }, {
711
843
  "propName": "value",
712
844
  "methodName": "valueWatcher"
845
+ }, {
846
+ "propName": "readonly",
847
+ "methodName": "watchingReadonly"
713
848
  }, {
714
849
  "propName": "currency",
715
850
  "methodName": "onCurrency"
@@ -727,6 +862,6 @@ export class SmoothlyInput {
727
862
  }
728
863
  function getLocale() {
729
864
  const result = navigator.language;
730
- return Locale.is(result) ? result : Language.is(result) ? Locale.toLocale(result) : undefined;
865
+ return isoly.Locale.is(result) ? result : isoly.Language.is(result) ? isoly.Locale.toLocale(result) : undefined;
731
866
  }
732
867
  //# sourceMappingURL=index.js.map