godown 2.5.0 → 2.6.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 (500) hide show
  1. package/README.md +1 -1
  2. package/alert-item.d.ts +2 -0
  3. package/alert-item.d.ts.map +1 -0
  4. package/alert-item.js +2 -0
  5. package/alert-item.js.map +1 -0
  6. package/avatar-a.d.ts +2 -0
  7. package/avatar-a.d.ts.map +1 -0
  8. package/avatar-a.js +2 -0
  9. package/avatar-a.js.map +1 -0
  10. package/avatar-group.d.ts +2 -0
  11. package/avatar-group.d.ts.map +1 -0
  12. package/avatar-group.js +2 -0
  13. package/avatar-group.js.map +1 -0
  14. package/base-button.d.ts +2 -0
  15. package/base-button.d.ts.map +1 -0
  16. package/base-button.js +2 -0
  17. package/base-button.js.map +1 -0
  18. package/base-form.d.ts +2 -0
  19. package/base-form.d.ts.map +1 -0
  20. package/base-form.js +2 -0
  21. package/base-form.js.map +1 -0
  22. package/base-input.d.ts +2 -0
  23. package/base-input.d.ts.map +1 -0
  24. package/base-input.js +2 -0
  25. package/base-input.js.map +1 -0
  26. package/card-item.d.ts +2 -0
  27. package/card-item.d.ts.map +1 -0
  28. package/card-item.js +2 -0
  29. package/card-item.js.map +1 -0
  30. package/carousel-slider.d.ts +2 -0
  31. package/carousel-slider.d.ts.map +1 -0
  32. package/carousel-slider.js +2 -0
  33. package/carousel-slider.js.map +1 -0
  34. package/clip-text.d.ts +2 -0
  35. package/clip-text.d.ts.map +1 -0
  36. package/clip-text.js +2 -0
  37. package/clip-text.js.map +1 -0
  38. package/conf.d.ts +43 -3
  39. package/conf.d.ts.map +1 -1
  40. package/conf.js +14 -11
  41. package/conf.js.map +1 -1
  42. package/deps.d.ts +4 -3
  43. package/deps.d.ts.map +1 -1
  44. package/deps.js +4 -3
  45. package/deps.js.map +1 -1
  46. package/details-group.d.ts +2 -0
  47. package/details-group.d.ts.map +1 -0
  48. package/details-group.js +2 -0
  49. package/details-group.js.map +1 -0
  50. package/divider-line.d.ts +2 -0
  51. package/divider-line.d.ts.map +1 -0
  52. package/divider-line.js +2 -0
  53. package/divider-line.js.map +1 -0
  54. package/drag-box.d.ts +2 -0
  55. package/drag-box.d.ts.map +1 -0
  56. package/drag-box.js +2 -0
  57. package/drag-box.js.map +1 -0
  58. package/flex-flow.d.ts +2 -0
  59. package/flex-flow.d.ts.map +1 -0
  60. package/flex-flow.js +2 -0
  61. package/flex-flow.js.map +1 -0
  62. package/godown-element.d.ts +2 -2
  63. package/godown-element.d.ts.map +1 -1
  64. package/godown-element.js +1 -1
  65. package/godown-element.js.map +1 -1
  66. package/index.d.ts +2 -6
  67. package/index.d.ts.map +1 -1
  68. package/index.js +2 -6
  69. package/index.js.map +1 -1
  70. package/label-input.d.ts +2 -0
  71. package/label-input.d.ts.map +1 -0
  72. package/label-input.js +2 -0
  73. package/label-input.js.map +1 -0
  74. package/lib/directives.d.ts.map +1 -1
  75. package/lib/directives.js.map +1 -1
  76. package/lib/event-collection.d.ts +1 -1
  77. package/lib/event-collection.d.ts.map +1 -1
  78. package/lib/event-collection.js.map +1 -1
  79. package/lib/route-tree.d.ts.map +1 -1
  80. package/lib/route-tree.js.map +1 -1
  81. package/lib/templates.d.ts.map +1 -1
  82. package/lib/templates.js.map +1 -1
  83. package/lib/utils.d.ts.map +1 -1
  84. package/lib/utils.js +2 -2
  85. package/lib/utils.js.map +1 -1
  86. package/link-a.d.ts +2 -0
  87. package/link-a.d.ts.map +1 -0
  88. package/link-a.js +2 -0
  89. package/link-a.js.map +1 -0
  90. package/loading-progress.d.ts +2 -0
  91. package/loading-progress.d.ts.map +1 -0
  92. package/loading-progress.js +2 -0
  93. package/loading-progress.js.map +1 -0
  94. package/nav-aside.d.ts +2 -0
  95. package/nav-aside.d.ts.map +1 -0
  96. package/nav-aside.js +2 -0
  97. package/nav-aside.js.map +1 -0
  98. package/nav-layout.d.ts +2 -0
  99. package/nav-layout.d.ts.map +1 -0
  100. package/nav-layout.js +2 -0
  101. package/nav-layout.js.map +1 -0
  102. package/open-details.d.ts +2 -0
  103. package/open-details.d.ts.map +1 -0
  104. package/open-details.js +2 -0
  105. package/open-details.js.map +1 -0
  106. package/open-dialog.d.ts +2 -0
  107. package/open-dialog.d.ts.map +1 -0
  108. package/open-dialog.js +2 -0
  109. package/open-dialog.js.map +1 -0
  110. package/open-list.d.ts +2 -0
  111. package/open-list.d.ts.map +1 -0
  112. package/open-list.js +2 -0
  113. package/open-list.js.map +1 -0
  114. package/open-offset.d.ts +2 -0
  115. package/open-offset.d.ts.map +1 -0
  116. package/open-offset.js +2 -0
  117. package/open-offset.js.map +1 -0
  118. package/open-tooltip.d.ts +2 -0
  119. package/open-tooltip.d.ts.map +1 -0
  120. package/open-tooltip.js +2 -0
  121. package/open-tooltip.js.map +1 -0
  122. package/overbreath-text.d.ts +2 -0
  123. package/overbreath-text.d.ts.map +1 -0
  124. package/overbreath-text.js +2 -0
  125. package/overbreath-text.js.map +1 -0
  126. package/package.json +57 -10
  127. package/react/create.d.ts.map +1 -1
  128. package/react/create.js.map +1 -1
  129. package/react/index.d.ts +37 -7
  130. package/react/index.d.ts.map +1 -1
  131. package/react/index.js +114 -7
  132. package/react/index.js.map +1 -1
  133. package/root.d.ts.map +1 -1
  134. package/root.js +3 -2
  135. package/root.js.map +1 -1
  136. package/route-view.d.ts +2 -0
  137. package/route-view.d.ts.map +1 -0
  138. package/route-view.js +2 -0
  139. package/route-view.js.map +1 -0
  140. package/scroll-x.d.ts +2 -0
  141. package/scroll-x.d.ts.map +1 -0
  142. package/scroll-x.js +2 -0
  143. package/scroll-x.js.map +1 -0
  144. package/search-input.d.ts +2 -0
  145. package/search-input.d.ts.map +1 -0
  146. package/search-input.js +2 -0
  147. package/search-input.js.map +1 -0
  148. package/select-input.d.ts +2 -0
  149. package/select-input.d.ts.map +1 -0
  150. package/select-input.js +2 -0
  151. package/select-input.js.map +1 -0
  152. package/sign-form.d.ts +2 -0
  153. package/sign-form.d.ts.map +1 -0
  154. package/sign-form.js +2 -0
  155. package/sign-form.js.map +1 -0
  156. package/skeleton-screen.d.ts +2 -0
  157. package/skeleton-screen.d.ts.map +1 -0
  158. package/skeleton-screen.js +2 -0
  159. package/skeleton-screen.js.map +1 -0
  160. package/split-input.d.ts +2 -0
  161. package/split-input.d.ts.map +1 -0
  162. package/split-input.js +2 -0
  163. package/split-input.js.map +1 -0
  164. package/super-a.d.ts +2 -0
  165. package/super-a.d.ts.map +1 -0
  166. package/super-a.js +2 -0
  167. package/super-a.js.map +1 -0
  168. package/switch-input.d.ts +2 -0
  169. package/switch-input.d.ts.map +1 -0
  170. package/switch-input.js +2 -0
  171. package/switch-input.js.map +1 -0
  172. package/tab-group.d.ts +2 -0
  173. package/tab-group.d.ts.map +1 -0
  174. package/tab-group.js +2 -0
  175. package/tab-group.js.map +1 -0
  176. package/time-bar.d.ts +2 -0
  177. package/time-bar.d.ts.map +1 -0
  178. package/time-bar.js +2 -0
  179. package/time-bar.js.map +1 -0
  180. package/typewriter-text.d.ts +2 -0
  181. package/typewriter-text.d.ts.map +1 -0
  182. package/typewriter-text.js +2 -0
  183. package/typewriter-text.js.map +1 -0
  184. package/{items → web-components/a}/avatar-a.d.ts +7 -7
  185. package/web-components/a/avatar-a.d.ts.map +1 -0
  186. package/{items → web-components/a}/avatar-a.js +57 -62
  187. package/web-components/a/avatar-a.js.map +1 -0
  188. package/{items → web-components/a}/link-a.d.ts +6 -6
  189. package/web-components/a/link-a.d.ts.map +1 -0
  190. package/{items → web-components/a}/link-a.js +16 -21
  191. package/web-components/a/link-a.js.map +1 -0
  192. package/{items → web-components/a}/super-a.d.ts +5 -5
  193. package/web-components/a/super-a.d.ts.map +1 -0
  194. package/{items → web-components/a}/super-a.js +34 -40
  195. package/web-components/a/super-a.js.map +1 -0
  196. package/{items → web-components/button}/base-button.d.ts +3 -3
  197. package/web-components/button/base-button.d.ts.map +1 -0
  198. package/{items → web-components/button}/base-button.js +100 -106
  199. package/web-components/button/base-button.js.map +1 -0
  200. package/{view/rotation-pool.d.ts → web-components/carousel/carousel-slider.d.ts} +7 -7
  201. package/web-components/carousel/carousel-slider.d.ts.map +1 -0
  202. package/{view/rotation-pool.js → web-components/carousel/carousel-slider.js} +87 -92
  203. package/web-components/carousel/carousel-slider.js.map +1 -0
  204. package/{input-form/sign-form.d.ts → web-components/form/base-form.d.ts} +9 -18
  205. package/web-components/form/base-form.d.ts.map +1 -0
  206. package/{input-form/sign-form.js → web-components/form/base-form.js} +32 -40
  207. package/web-components/form/base-form.js.map +1 -0
  208. package/web-components/form/sign-form.d.ts +19 -0
  209. package/web-components/form/sign-form.d.ts.map +1 -0
  210. package/web-components/form/sign-form.js +16 -0
  211. package/web-components/form/sign-form.js.map +1 -0
  212. package/{group → web-components/group}/avatar-group.d.ts +6 -6
  213. package/web-components/group/avatar-group.d.ts.map +1 -0
  214. package/{group → web-components/group}/avatar-group.js +24 -30
  215. package/web-components/group/avatar-group.js.map +1 -0
  216. package/{group → web-components/group}/details-group.d.ts +3 -3
  217. package/web-components/group/details-group.d.ts.map +1 -0
  218. package/{group → web-components/group}/details-group.js +12 -18
  219. package/web-components/group/details-group.js.map +1 -0
  220. package/{group → web-components/group}/tab-group.d.ts +4 -4
  221. package/web-components/group/tab-group.d.ts.map +1 -0
  222. package/{group → web-components/group}/tab-group.js +50 -56
  223. package/web-components/group/tab-group.js.map +1 -0
  224. package/web-components/index.d.ts +38 -0
  225. package/web-components/index.d.ts.map +1 -0
  226. package/web-components/index.js +39 -0
  227. package/web-components/index.js.map +1 -0
  228. package/{input-form → web-components/input}/base-input.d.ts +4 -4
  229. package/web-components/input/base-input.d.ts.map +1 -0
  230. package/{input-form → web-components/input}/base-input.js +80 -85
  231. package/web-components/input/base-input.js.map +1 -0
  232. package/{input-form/std.d.ts → web-components/input/input.d.ts} +4 -16
  233. package/web-components/input/input.d.ts.map +1 -0
  234. package/{input-form/std.js → web-components/input/input.js} +27 -54
  235. package/web-components/input/input.js.map +1 -0
  236. package/{input-form → web-components/input}/label-input.d.ts +4 -4
  237. package/web-components/input/label-input.d.ts.map +1 -0
  238. package/{input-form → web-components/input}/label-input.js +56 -61
  239. package/web-components/input/label-input.js.map +1 -0
  240. package/{input-form → web-components/input}/search-input.d.ts +4 -4
  241. package/web-components/input/search-input.d.ts.map +1 -0
  242. package/{input-form → web-components/input}/search-input.js +64 -69
  243. package/web-components/input/search-input.js.map +1 -0
  244. package/{input-form → web-components/input}/select-input.d.ts +4 -4
  245. package/web-components/input/select-input.d.ts.map +1 -0
  246. package/{input-form → web-components/input}/select-input.js +97 -101
  247. package/web-components/input/select-input.js.map +1 -0
  248. package/{input-form → web-components/input}/split-input.d.ts +4 -4
  249. package/web-components/input/split-input.d.ts.map +1 -0
  250. package/{input-form → web-components/input}/split-input.js +56 -61
  251. package/web-components/input/split-input.js.map +1 -0
  252. package/{input-form → web-components/input}/switch-input.d.ts +4 -4
  253. package/web-components/input/switch-input.d.ts.map +1 -0
  254. package/{input-form → web-components/input}/switch-input.js +42 -47
  255. package/web-components/input/switch-input.js.map +1 -0
  256. package/{items → web-components/items}/alert-item.d.ts +3 -3
  257. package/web-components/items/alert-item.d.ts.map +1 -0
  258. package/{items → web-components/items}/alert-item.js +38 -43
  259. package/web-components/items/alert-item.js.map +1 -0
  260. package/{items → web-components/items}/card-item.d.ts +4 -4
  261. package/web-components/items/card-item.d.ts.map +1 -0
  262. package/{items → web-components/items}/card-item.js +57 -63
  263. package/web-components/items/card-item.js.map +1 -0
  264. package/{layout → web-components/items}/drag-box.d.ts +3 -3
  265. package/web-components/items/drag-box.d.ts.map +1 -0
  266. package/{layout → web-components/items}/drag-box.js +13 -19
  267. package/web-components/items/drag-box.js.map +1 -0
  268. package/web-components/items/index.d.ts +5 -0
  269. package/web-components/items/index.d.ts.map +1 -0
  270. package/web-components/items/index.js +6 -0
  271. package/web-components/items/index.js.map +1 -0
  272. package/{items → web-components/items}/time-bar.d.ts +3 -3
  273. package/web-components/items/time-bar.d.ts.map +1 -0
  274. package/{items → web-components/items}/time-bar.js +12 -17
  275. package/web-components/items/time-bar.js.map +1 -0
  276. package/web-components/layout/divider-line.d.ts +20 -0
  277. package/web-components/layout/divider-line.d.ts.map +1 -0
  278. package/{layout/div-line.js → web-components/layout/divider-line.js} +24 -30
  279. package/web-components/layout/divider-line.js.map +1 -0
  280. package/{layout → web-components/layout}/flex-flow.d.ts +3 -3
  281. package/web-components/layout/flex-flow.d.ts.map +1 -0
  282. package/{layout → web-components/layout}/flex-flow.js +12 -18
  283. package/web-components/layout/flex-flow.js.map +1 -0
  284. package/web-components/layout/index.d.ts +5 -0
  285. package/web-components/layout/index.d.ts.map +1 -0
  286. package/web-components/layout/index.js +6 -0
  287. package/web-components/layout/index.js.map +1 -0
  288. package/{layout → web-components/layout}/nav-aside.d.ts +4 -4
  289. package/web-components/layout/nav-aside.d.ts.map +1 -0
  290. package/{layout → web-components/layout}/nav-aside.js +19 -25
  291. package/web-components/layout/nav-aside.js.map +1 -0
  292. package/{layout → web-components/layout}/nav-layout.d.ts +4 -4
  293. package/web-components/layout/nav-layout.d.ts.map +1 -0
  294. package/{layout → web-components/layout}/nav-layout.js +31 -37
  295. package/web-components/layout/nav-layout.js.map +1 -0
  296. package/{items/load-progress.d.ts → web-components/loading/loading-progress.d.ts} +7 -7
  297. package/web-components/loading/loading-progress.d.ts.map +1 -0
  298. package/{items/load-progress.js → web-components/loading/loading-progress.js} +41 -47
  299. package/web-components/loading/loading-progress.js.map +1 -0
  300. package/{layout → web-components/loading}/skeleton-screen.d.ts +4 -4
  301. package/web-components/loading/skeleton-screen.d.ts.map +1 -0
  302. package/{layout → web-components/loading}/skeleton-screen.js +24 -30
  303. package/web-components/loading/skeleton-screen.js.map +1 -0
  304. package/{view/details-expand.d.ts → web-components/open/open-details.d.ts} +8 -8
  305. package/web-components/open/open-details.d.ts.map +1 -0
  306. package/{view/details-expand.js → web-components/open/open-details.js} +35 -40
  307. package/web-components/open/open-details.js.map +1 -0
  308. package/{items/dialog-item.d.ts → web-components/open/open-dialog.d.ts} +8 -8
  309. package/web-components/open/open-dialog.d.ts.map +1 -0
  310. package/{items/dialog-item.js → web-components/open/open-dialog.js} +83 -89
  311. package/web-components/open/open-dialog.js.map +1 -0
  312. package/web-components/open/open-list.d.ts +20 -0
  313. package/web-components/open/open-list.d.ts.map +1 -0
  314. package/web-components/open/open-list.js +71 -0
  315. package/web-components/open/open-list.js.map +1 -0
  316. package/{view/offset-expand.d.ts → web-components/open/open-offset.d.ts} +8 -8
  317. package/web-components/open/open-offset.d.ts.map +1 -0
  318. package/{view/offset-expand.js → web-components/open/open-offset.js} +66 -71
  319. package/web-components/open/open-offset.js.map +1 -0
  320. package/web-components/open/open-tooltip.d.ts +24 -0
  321. package/web-components/open/open-tooltip.d.ts.map +1 -0
  322. package/{view/tool-tip.js → web-components/open/open-tooltip.js} +28 -33
  323. package/web-components/open/open-tooltip.js.map +1 -0
  324. package/{view/std.d.ts → web-components/open/open.d.ts} +6 -6
  325. package/web-components/open/open.d.ts.map +1 -0
  326. package/{view/std.js → web-components/open/open.js} +35 -40
  327. package/web-components/open/open.js.map +1 -0
  328. package/{effect → web-components/text}/clip-text.d.ts +4 -4
  329. package/web-components/text/clip-text.d.ts.map +1 -0
  330. package/web-components/text/clip-text.js +44 -0
  331. package/web-components/text/clip-text.js.map +1 -0
  332. package/{effect → web-components/text}/overbreath-text.d.ts +4 -4
  333. package/web-components/text/overbreath-text.d.ts.map +1 -0
  334. package/{effect → web-components/text}/overbreath-text.js +21 -27
  335. package/web-components/text/overbreath-text.js.map +1 -0
  336. package/{effect → web-components/text}/typewriter-text.d.ts +4 -4
  337. package/web-components/text/typewriter-text.d.ts.map +1 -0
  338. package/{effect → web-components/text}/typewriter-text.js +38 -44
  339. package/web-components/text/typewriter-text.js.map +1 -0
  340. package/{view → web-components/view}/route-view.d.ts +4 -4
  341. package/web-components/view/route-view.d.ts.map +1 -0
  342. package/{view → web-components/view}/route-view.js +16 -21
  343. package/web-components/view/route-view.js.map +1 -0
  344. package/{view → web-components/view}/scroll-x.d.ts +2 -2
  345. package/web-components/view/scroll-x.d.ts.map +1 -0
  346. package/{view → web-components/view}/scroll-x.js +35 -40
  347. package/web-components/view/scroll-x.js.map +1 -0
  348. package/{view/with-wrap.d.ts → web-components/view/wrap-view.d.ts} +7 -7
  349. package/web-components/view/wrap-view.d.ts.map +1 -0
  350. package/{view/with-wrap.js → web-components/view/wrap-view.js} +29 -34
  351. package/web-components/view/wrap-view.js.map +1 -0
  352. package/wrap-view.d.ts +2 -0
  353. package/wrap-view.d.ts.map +1 -0
  354. package/wrap-view.js +2 -0
  355. package/wrap-view.js.map +1 -0
  356. package/effect/clip-text.d.ts.map +0 -1
  357. package/effect/clip-text.js +0 -50
  358. package/effect/clip-text.js.map +0 -1
  359. package/effect/index.d.ts +0 -4
  360. package/effect/index.d.ts.map +0 -1
  361. package/effect/index.js +0 -4
  362. package/effect/index.js.map +0 -1
  363. package/effect/overbreath-text.d.ts.map +0 -1
  364. package/effect/overbreath-text.js.map +0 -1
  365. package/effect/std.d.ts +0 -4
  366. package/effect/std.d.ts.map +0 -1
  367. package/effect/std.js +0 -4
  368. package/effect/std.js.map +0 -1
  369. package/effect/typewriter-text.d.ts.map +0 -1
  370. package/effect/typewriter-text.js.map +0 -1
  371. package/group/avatar-group.d.ts.map +0 -1
  372. package/group/avatar-group.js.map +0 -1
  373. package/group/details-group.d.ts.map +0 -1
  374. package/group/details-group.js.map +0 -1
  375. package/group/index.d.ts +0 -4
  376. package/group/index.d.ts.map +0 -1
  377. package/group/index.js +0 -4
  378. package/group/index.js.map +0 -1
  379. package/group/std.d.ts +0 -4
  380. package/group/std.d.ts.map +0 -1
  381. package/group/std.js +0 -4
  382. package/group/std.js.map +0 -1
  383. package/group/tab-group.d.ts.map +0 -1
  384. package/group/tab-group.js.map +0 -1
  385. package/input-form/base-input.d.ts.map +0 -1
  386. package/input-form/base-input.js.map +0 -1
  387. package/input-form/index.d.ts +0 -8
  388. package/input-form/index.d.ts.map +0 -1
  389. package/input-form/index.js +0 -8
  390. package/input-form/index.js.map +0 -1
  391. package/input-form/label-input.d.ts.map +0 -1
  392. package/input-form/label-input.js.map +0 -1
  393. package/input-form/search-input.d.ts.map +0 -1
  394. package/input-form/search-input.js.map +0 -1
  395. package/input-form/select-input.d.ts.map +0 -1
  396. package/input-form/select-input.js.map +0 -1
  397. package/input-form/sign-form.d.ts.map +0 -1
  398. package/input-form/sign-form.js.map +0 -1
  399. package/input-form/split-input.d.ts.map +0 -1
  400. package/input-form/split-input.js.map +0 -1
  401. package/input-form/std.d.ts.map +0 -1
  402. package/input-form/std.js.map +0 -1
  403. package/input-form/switch-input.d.ts.map +0 -1
  404. package/input-form/switch-input.js.map +0 -1
  405. package/items/alert-item.d.ts.map +0 -1
  406. package/items/alert-item.js.map +0 -1
  407. package/items/avatar-a.d.ts.map +0 -1
  408. package/items/avatar-a.js.map +0 -1
  409. package/items/base-button.d.ts.map +0 -1
  410. package/items/base-button.js.map +0 -1
  411. package/items/card-item.d.ts.map +0 -1
  412. package/items/card-item.js.map +0 -1
  413. package/items/dialog-item.d.ts.map +0 -1
  414. package/items/dialog-item.js.map +0 -1
  415. package/items/index.d.ts +0 -10
  416. package/items/index.d.ts.map +0 -1
  417. package/items/index.js +0 -10
  418. package/items/index.js.map +0 -1
  419. package/items/link-a.d.ts.map +0 -1
  420. package/items/link-a.js.map +0 -1
  421. package/items/load-progress.d.ts.map +0 -1
  422. package/items/load-progress.js.map +0 -1
  423. package/items/std.d.ts +0 -4
  424. package/items/std.d.ts.map +0 -1
  425. package/items/std.js +0 -4
  426. package/items/std.js.map +0 -1
  427. package/items/super-a.d.ts.map +0 -1
  428. package/items/super-a.js.map +0 -1
  429. package/items/time-bar.d.ts.map +0 -1
  430. package/items/time-bar.js.map +0 -1
  431. package/layout/div-line.d.ts +0 -20
  432. package/layout/div-line.d.ts.map +0 -1
  433. package/layout/div-line.js.map +0 -1
  434. package/layout/drag-box.d.ts.map +0 -1
  435. package/layout/drag-box.js.map +0 -1
  436. package/layout/flex-flow.d.ts.map +0 -1
  437. package/layout/flex-flow.js.map +0 -1
  438. package/layout/index.d.ts +0 -7
  439. package/layout/index.d.ts.map +0 -1
  440. package/layout/index.js +0 -7
  441. package/layout/index.js.map +0 -1
  442. package/layout/nav-aside.d.ts.map +0 -1
  443. package/layout/nav-aside.js.map +0 -1
  444. package/layout/nav-layout.d.ts.map +0 -1
  445. package/layout/nav-layout.js.map +0 -1
  446. package/layout/skeleton-screen.d.ts.map +0 -1
  447. package/layout/skeleton-screen.js.map +0 -1
  448. package/layout/std.d.ts +0 -4
  449. package/layout/std.d.ts.map +0 -1
  450. package/layout/std.js +0 -4
  451. package/layout/std.js.map +0 -1
  452. package/react/effect.d.ts +0 -5
  453. package/react/effect.d.ts.map +0 -1
  454. package/react/effect.js +0 -13
  455. package/react/effect.js.map +0 -1
  456. package/react/group.d.ts +0 -5
  457. package/react/group.d.ts.map +0 -1
  458. package/react/group.js +0 -13
  459. package/react/group.js.map +0 -1
  460. package/react/input-form.d.ts +0 -28
  461. package/react/input-form.d.ts.map +0 -1
  462. package/react/input-form.js +0 -38
  463. package/react/input-form.js.map +0 -1
  464. package/react/items.d.ts +0 -11
  465. package/react/items.d.ts.map +0 -1
  466. package/react/items.js +0 -31
  467. package/react/items.js.map +0 -1
  468. package/react/layout.d.ts +0 -8
  469. package/react/layout.d.ts.map +0 -1
  470. package/react/layout.js +0 -22
  471. package/react/layout.js.map +0 -1
  472. package/react/view.d.ts +0 -10
  473. package/react/view.d.ts.map +0 -1
  474. package/react/view.js +0 -28
  475. package/react/view.js.map +0 -1
  476. package/view/details-expand.d.ts.map +0 -1
  477. package/view/details-expand.js.map +0 -1
  478. package/view/index.d.ts +0 -9
  479. package/view/index.d.ts.map +0 -1
  480. package/view/index.js +0 -9
  481. package/view/index.js.map +0 -1
  482. package/view/menu-list.d.ts +0 -20
  483. package/view/menu-list.d.ts.map +0 -1
  484. package/view/menu-list.js +0 -76
  485. package/view/menu-list.js.map +0 -1
  486. package/view/offset-expand.d.ts.map +0 -1
  487. package/view/offset-expand.js.map +0 -1
  488. package/view/rotation-pool.d.ts.map +0 -1
  489. package/view/rotation-pool.js.map +0 -1
  490. package/view/route-view.d.ts.map +0 -1
  491. package/view/route-view.js.map +0 -1
  492. package/view/scroll-x.d.ts.map +0 -1
  493. package/view/scroll-x.js.map +0 -1
  494. package/view/std.d.ts.map +0 -1
  495. package/view/std.js.map +0 -1
  496. package/view/tool-tip.d.ts +0 -24
  497. package/view/tool-tip.d.ts.map +0 -1
  498. package/view/tool-tip.js.map +0 -1
  499. package/view/with-wrap.d.ts.map +0 -1
  500. package/view/with-wrap.js.map +0 -1
package/react/index.js CHANGED
@@ -1,8 +1,115 @@
1
- export { create } from "./create.js";
2
- export * from "./effect.js";
3
- export * from "./group.js";
4
- export * from "./input-form.js";
5
- export * from "./items.js";
6
- export * from "./layout.js";
7
- export * from "./view.js";
1
+ /// script generated
2
+ "use client";
3
+ import { create } from "./create.js";
4
+ export const AvatarA = create({
5
+ elementClass: (await import("../web-components/a/avatar-a.js")).default,
6
+ });
7
+ export const LinkA = create({
8
+ elementClass: (await import("../web-components/a/link-a.js")).default,
9
+ });
10
+ export const SuperA = create({
11
+ elementClass: (await import("../web-components/a/super-a.js")).default,
12
+ });
13
+ export const BaseButton = create({
14
+ elementClass: (await import("../web-components/button/base-button.js")).default,
15
+ });
16
+ export const CarouselSlider = create({
17
+ elementClass: (await import("../web-components/carousel/carousel-slider.js")).default,
18
+ });
19
+ export const BaseForm = create({
20
+ elementClass: (await import("../web-components/form/base-form.js")).default,
21
+ });
22
+ export const SignForm = create({
23
+ elementClass: (await import("../web-components/form/sign-form.js")).default,
24
+ });
25
+ export const AvatarGroup = create({
26
+ elementClass: (await import("../web-components/group/avatar-group.js")).default,
27
+ });
28
+ export const DetailsGroup = create({
29
+ elementClass: (await import("../web-components/group/details-group.js")).default,
30
+ });
31
+ export const TabGroup = create({
32
+ elementClass: (await import("../web-components/group/tab-group.js")).default,
33
+ });
34
+ export const BaseInput = create({
35
+ elementClass: (await import("../web-components/input/base-input.js")).default,
36
+ });
37
+ export const LabelInput = create({
38
+ elementClass: (await import("../web-components/input/label-input.js")).default,
39
+ });
40
+ export const SearchInput = create({
41
+ elementClass: (await import("../web-components/input/search-input.js")).default,
42
+ });
43
+ export const SelectInput = create({
44
+ elementClass: (await import("../web-components/input/select-input.js")).default,
45
+ });
46
+ export const SplitInput = create({
47
+ elementClass: (await import("../web-components/input/split-input.js")).default,
48
+ });
49
+ export const SwitchInput = create({
50
+ elementClass: (await import("../web-components/input/switch-input.js")).default,
51
+ });
52
+ export const AlertItem = create({
53
+ elementClass: (await import("../web-components/items/alert-item.js")).default,
54
+ });
55
+ export const CardItem = create({
56
+ elementClass: (await import("../web-components/items/card-item.js")).default,
57
+ });
58
+ export const DragBox = create({
59
+ elementClass: (await import("../web-components/items/drag-box.js")).default,
60
+ });
61
+ export const TimeBar = create({
62
+ elementClass: (await import("../web-components/items/time-bar.js")).default,
63
+ });
64
+ export const DividerLine = create({
65
+ elementClass: (await import("../web-components/layout/divider-line.js")).default,
66
+ });
67
+ export const FlexFlow = create({
68
+ elementClass: (await import("../web-components/layout/flex-flow.js")).default,
69
+ });
70
+ export const NavAside = create({
71
+ elementClass: (await import("../web-components/layout/nav-aside.js")).default,
72
+ });
73
+ export const NavLayout = create({
74
+ elementClass: (await import("../web-components/layout/nav-layout.js")).default,
75
+ });
76
+ export const LoadingProgress = create({
77
+ elementClass: (await import("../web-components/loading/loading-progress.js")).default,
78
+ });
79
+ export const SkeletonScreen = create({
80
+ elementClass: (await import("../web-components/loading/skeleton-screen.js")).default,
81
+ });
82
+ export const OpenDetails = create({
83
+ elementClass: (await import("../web-components/open/open-details.js")).default,
84
+ });
85
+ export const OpenDialog = create({
86
+ elementClass: (await import("../web-components/open/open-dialog.js")).default,
87
+ });
88
+ export const OpenList = create({
89
+ elementClass: (await import("../web-components/open/open-list.js")).default,
90
+ });
91
+ export const OpenOffset = create({
92
+ elementClass: (await import("../web-components/open/open-offset.js")).default,
93
+ });
94
+ export const OpenTooltip = create({
95
+ elementClass: (await import("../web-components/open/open-tooltip.js")).default,
96
+ });
97
+ export const ClipText = create({
98
+ elementClass: (await import("../web-components/text/clip-text.js")).default,
99
+ });
100
+ export const OverbreathText = create({
101
+ elementClass: (await import("../web-components/text/overbreath-text.js")).default,
102
+ });
103
+ export const TypewriterText = create({
104
+ elementClass: (await import("../web-components/text/typewriter-text.js")).default,
105
+ });
106
+ export const RouteView = create({
107
+ elementClass: (await import("../web-components/view/route-view.js")).default,
108
+ });
109
+ export const ScrollX = create({
110
+ elementClass: (await import("../web-components/view/scroll-x.js")).default,
111
+ });
112
+ export const WrapView = create({
113
+ elementClass: (await import("../web-components/view/wrap-view.js")).default,
114
+ });
8
115
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["react/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,YAAY,CAAC;AACb,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC;IAC5B,YAAY,EAAE,CAAC,MAAM,MAAM,CAAC,iCAAiC,CAAC,CAAC,CAAC,OAAO;CACxE,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC;IAC1B,YAAY,EAAE,CAAC,MAAM,MAAM,CAAC,+BAA+B,CAAC,CAAC,CAAC,OAAO;CACtE,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AAC,MAAM,MAAM,CAAC,qCAAqC,CAAC,CAAC,CAAC,OAAO;CAC5E,CAAC,CAAC","sourcesContent":["/// script generated\n\"use client\";\nimport { create } from \"./create.js\";\n\nexport const AvatarA = create({\n elementClass: (await import(\"../web-components/a/avatar-a.js\")).default,\n});\n\nexport const LinkA = create({\n elementClass: (await import(\"../web-components/a/link-a.js\")).default,\n});\n\nexport const SuperA = create({\n elementClass: (await import(\"../web-components/a/super-a.js\")).default,\n});\n\nexport const BaseButton = create({\n elementClass: (await import(\"../web-components/button/base-button.js\")).default,\n});\n\nexport const CarouselSlider = create({\n elementClass: (await import(\"../web-components/carousel/carousel-slider.js\")).default,\n});\n\nexport const BaseForm = create({\n elementClass: (await import(\"../web-components/form/base-form.js\")).default,\n});\n\nexport const SignForm = create({\n elementClass: (await import(\"../web-components/form/sign-form.js\")).default,\n});\n\nexport const AvatarGroup = create({\n elementClass: (await import(\"../web-components/group/avatar-group.js\")).default,\n});\n\nexport const DetailsGroup = create({\n elementClass: (await import(\"../web-components/group/details-group.js\")).default,\n});\n\nexport const TabGroup = create({\n elementClass: (await import(\"../web-components/group/tab-group.js\")).default,\n});\n\nexport const BaseInput = create({\n elementClass: (await import(\"../web-components/input/base-input.js\")).default,\n});\n\nexport const LabelInput = create({\n elementClass: (await import(\"../web-components/input/label-input.js\")).default,\n});\n\nexport const SearchInput = create({\n elementClass: (await import(\"../web-components/input/search-input.js\")).default,\n});\n\nexport const SelectInput = create({\n elementClass: (await import(\"../web-components/input/select-input.js\")).default,\n});\n\nexport const SplitInput = create({\n elementClass: (await import(\"../web-components/input/split-input.js\")).default,\n});\n\nexport const SwitchInput = create({\n elementClass: (await import(\"../web-components/input/switch-input.js\")).default,\n});\n\nexport const AlertItem = create({\n elementClass: (await import(\"../web-components/items/alert-item.js\")).default,\n});\n\nexport const CardItem = create({\n elementClass: (await import(\"../web-components/items/card-item.js\")).default,\n});\n\nexport const DragBox = create({\n elementClass: (await import(\"../web-components/items/drag-box.js\")).default,\n});\n\nexport const TimeBar = create({\n elementClass: (await import(\"../web-components/items/time-bar.js\")).default,\n});\n\nexport const DividerLine = create({\n elementClass: (await import(\"../web-components/layout/divider-line.js\")).default,\n});\n\nexport const FlexFlow = create({\n elementClass: (await import(\"../web-components/layout/flex-flow.js\")).default,\n});\n\nexport const NavAside = create({\n elementClass: (await import(\"../web-components/layout/nav-aside.js\")).default,\n});\n\nexport const NavLayout = create({\n elementClass: (await import(\"../web-components/layout/nav-layout.js\")).default,\n});\n\nexport const LoadingProgress = create({\n elementClass: (await import(\"../web-components/loading/loading-progress.js\")).default,\n});\n\nexport const SkeletonScreen = create({\n elementClass: (await import(\"../web-components/loading/skeleton-screen.js\")).default,\n});\n\nexport const OpenDetails = create({\n elementClass: (await import(\"../web-components/open/open-details.js\")).default,\n});\n\nexport const OpenDialog = create({\n elementClass: (await import(\"../web-components/open/open-dialog.js\")).default,\n});\n\nexport const OpenList = create({\n elementClass: (await import(\"../web-components/open/open-list.js\")).default,\n});\n\nexport const OpenOffset = create({\n elementClass: (await import(\"../web-components/open/open-offset.js\")).default,\n});\n\nexport const OpenTooltip = create({\n elementClass: (await import(\"../web-components/open/open-tooltip.js\")).default,\n});\n\nexport const ClipText = create({\n elementClass: (await import(\"../web-components/text/clip-text.js\")).default,\n});\n\nexport const OverbreathText = create({\n elementClass: (await import(\"../web-components/text/overbreath-text.js\")).default,\n});\n\nexport const TypewriterText = create({\n elementClass: (await import(\"../web-components/text/typewriter-text.js\")).default,\n});\n\nexport const RouteView = create({\n elementClass: (await import(\"../web-components/view/route-view.js\")).default,\n});\n\nexport const ScrollX = create({\n elementClass: (await import(\"../web-components/view/scroll-x.js\")).default,\n});\n\nexport const WrapView = create({\n elementClass: (await import(\"../web-components/view/wrap-view.js\")).default,\n});\n"]}
package/root.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../src/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,SAAS,EAAkC,MAAM,KAAK,CAAC;AAE1E,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,MAAM,UAAW,MAAM,YAAY,wBAAwB,mBAAmB,wBAAwB,SAElH,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,WAAgE,CAAC;AAEpF,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAEpD;AAMD,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAwDF,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"root.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,SAAS,EAAkC,MAAM,KAAK,CAAC;AAG1E,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAEhD;;;;GAIG;AACH,eAAO,MAAM,MAAM,UAAW,MAAM,YAAY,wBAAwB,mBAAmB,wBAAwB,SAElH,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,MAAM,WAAuE,CAAC;AAE3F,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAEpD;AAMD,eAAO,MAAM,YAAY;;;;;;;CAOxB,CAAC;AAwDF,OAAO,EAAE,aAAa,EAAE,CAAC"}
package/root.js CHANGED
@@ -9,15 +9,16 @@ import GodownElement from "./godown-element.js";
9
9
  export const define = (name, options) => (constructor) => {
10
10
  conf.define(name, constructor, options);
11
11
  };
12
+ const scopeString = "--";
12
13
  /**
13
14
  * Custom CSS variable prefix, join with "--".
14
15
  */
15
- export const cssvar = unsafeCSS("--" + conf.cssvar.replace(/[^a-zA-Z0-9\\-]/g, ""));
16
+ export const cssvar = unsafeCSS(scopeString + conf.cssvar.replace(/[^a-zA-Z0-9\\-]/g, ""));
16
17
  export function createScope(scope) {
17
18
  return joinScope(conf.tag(scope));
18
19
  }
19
20
  function joinScope(s) {
20
- return unsafeCSS(`${cssvar}--${s}`);
21
+ return unsafeCSS(cssvar + scopeString + s);
21
22
  }
22
23
  export const cssvarValues = {
23
24
  cssvar,
package/root.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"root.js","sourceRoot":"","sources":["../src/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAuC,SAAS,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,aAAa,MAAM,qBAAqB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAa,EAAE,OAAkC,EAAE,EAAE,CAAC,CAAC,WAAqC,EAAE,EAAE;IACrH,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;AAC1C,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC,CAAC;AAEpF,MAAM,UAAU,WAAW,CAAC,KAAa;IACvC,OAAO,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,CAAS;IAC1B,OAAO,SAAS,CAAC,GAAG,MAAM,KAAK,CAAC,EAAE,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,MAAM;IACN,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC;IACzB,IAAI,EAAE,SAAS,CAAC,YAAY,CAAC;IAC7B,IAAI,EAAE,SAAS,CAAC,YAAY,CAAC;IAC7B,OAAO,EAAE,SAAS,CAAC,gBAAgB,CAAC;IACpC,OAAO,EAAE,SAAS,CAAC,gBAAgB,CAAC;CACrC,CAAC;AAEF,aAAa,CAAC,IAAI,GAAG,IAAI,CA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KAAK,qBAAqB,YAAY,CAAC,IAAI;QACxD,YAAY,CAAC,KAAK;QAClB,YAAY,CAAC,KAAK;QAClB,YAAY,CAAC,KAAK,iBAAiB,YAAY,CAAC,IAAI;QACpD,YAAY,CAAC,KAAK,uBAAuB,YAAY,CAAC,KAAK;QAC3D,YAAY,CAAC,KAAK,wBAAwB,MAAM;QAChD,YAAY,CAAC,KAAK;QAClB,YAAY,CAAC,KAAK;QAClB,YAAY,CAAC,KAAK,kBAAkB,YAAY,CAAC,KAAK,yBAAyB,YAAY,CAAC,KAAK,wBAAwB,YAAY,CAAC,KAAK;QAC3I,YAAY,CAAC,KAAK;;GAEvB;IACD,GAAG,CAAA;;;;;;;;;;;;;QAaG,MAAM;QACN,MAAM;mBACK,MAAM;wBACD,MAAM;;GAE3B;CACgB,CAAC;AAEpB,aAAa,CAAC,cAAc,EAAE,CAAC,kBAAkB,CAAC,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAE,CAAC","sourcesContent":["import { css, type CSSResult, type CSSResultGroup, unsafeCSS } from \"lit\";\n\nimport { conf } from \"./conf.js\";\nimport GodownElement from \"./godown-element.js\";\n\n/**\n * {@linkcode conf.define} a custom element.\n * @param name Name for the new custom element. Must be a valid custom element name.\n * @param options Object that controls how the element is defined.\n */\nexport const define = (name?: string, options?: ElementDefinitionOptions) => (constructor: CustomElementConstructor) => {\n conf.define(name, constructor, options);\n};\n\nconst scopeString = \"--\";\n\n/**\n * Custom CSS variable prefix, join with \"--\".\n */\nexport const cssvar = unsafeCSS(scopeString + conf.cssvar.replace(/[^a-zA-Z0-9\\\\-]/g, \"\"));\n\nexport function createScope(scope: string): CSSResult {\n return joinScope(conf.tag(scope));\n}\n\nfunction joinScope(s: string) {\n return unsafeCSS(cssvar + scopeString + s);\n}\n\nexport const cssvarValues = {\n cssvar,\n input: joinScope(\"input\"),\n main: joinScope(\"background\"),\n text: joinScope(\"foreground\"),\n mainRGB: joinScope(\"background-rgb\"),\n textRGB: joinScope(\"foreground-rgb\"),\n};\n\nGodownElement.conf = conf;\n\nGodownElement.styles = [\n css`\n :host {\n ${cssvar}--background-rgb: 12 12 12;\n ${cssvar}--background: rgb(var(${cssvarValues.mainRGB}));\n ${cssvar}--foreground-rgb: 240 240 240;\n ${cssvar}--foreground: rgb(var(${cssvarValues.textRGB}));\n ${cssvar}--clip-background:linear-gradient(180deg, var(${cssvarValues.text}), rgb(var(${cssvarValues.textRGB}) / 68%));\n ${cssvar}--size: 100%;\n ${cssvar}--accept: rgb(25 130 180);\n font-size: var(${cssvar}--size);\n }\n `,\n css`\n :host {\n ${cssvarValues.input}--width: 10em;\n ${cssvarValues.input}--height: 1.6em;\n ${cssvarValues.input}--background: var(${cssvarValues.main});\n ${cssvarValues.input}--true: rgb(48 132 240);\n ${cssvarValues.input}--false: rgb(198 198 198);\n ${cssvarValues.input}--control:var(${cssvarValues.text});\n ${cssvarValues.input}--control-edge: var(${cssvarValues.input}--true);\n ${cssvarValues.input}--outline-color: var(${cssvar}--accept);\n ${cssvarValues.input}--outline-width: .15em;\n ${cssvarValues.input}--outline-style: solid;\n ${cssvarValues.input}--outline: var(${cssvarValues.input}--outline-width) var(${cssvarValues.input}--outline-style) var(${cssvarValues.input}--outline-color);\n ${cssvarValues.input}--radius: 0.2em;\n }\n `,\n css`\n * {\n font-size: 100%;\n font-style: normal;\n color: inherit;\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n }\n\n ::selection {\n ${cssvar}--text-selection--color: inherit;\n ${cssvar}--text-selection--background: none;\n color: var(${cssvar}--text-selection--color);\n background: var(${cssvar}--text-selection--background);\n }\n `,\n] as CSSResultGroup;\n\nGodownElement.disableWarning?.(\"change-in-update\");\n\nexport { GodownElement };\n"]}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/view/route-view.js";
2
+ //# sourceMappingURL=route-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-view.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["route-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC"}
package/route-view.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/view/route-view.js";
2
+ //# sourceMappingURL=route-view.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-view.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["route-view.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC","sourcesContent":["export { default } from \"./web-components/view/route-view.js\";"]}
package/scroll-x.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/view/scroll-x.js";
2
+ //# sourceMappingURL=scroll-x.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-x.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["scroll-x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC"}
package/scroll-x.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/view/scroll-x.js";
2
+ //# sourceMappingURL=scroll-x.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-x.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["scroll-x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC","sourcesContent":["export { default } from \"./web-components/view/scroll-x.js\";"]}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/search-input.js";
2
+ //# sourceMappingURL=search-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-input.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["search-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/search-input.js";
2
+ //# sourceMappingURL=search-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search-input.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["search-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC","sourcesContent":["export { default } from \"./web-components/input/search-input.js\";"]}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/select-input.js";
2
+ //# sourceMappingURL=select-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-input.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["select-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/select-input.js";
2
+ //# sourceMappingURL=select-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select-input.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["select-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC","sourcesContent":["export { default } from \"./web-components/input/select-input.js\";"]}
package/sign-form.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/form/sign-form.js";
2
+ //# sourceMappingURL=sign-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sign-form.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["sign-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC"}
package/sign-form.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/form/sign-form.js";
2
+ //# sourceMappingURL=sign-form.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sign-form.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["sign-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC","sourcesContent":["export { default } from \"./web-components/form/sign-form.js\";"]}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/loading/skeleton-screen.js";
2
+ //# sourceMappingURL=skeleton-screen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton-screen.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["skeleton-screen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6CAA6C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/loading/skeleton-screen.js";
2
+ //# sourceMappingURL=skeleton-screen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton-screen.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["skeleton-screen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,6CAA6C,CAAC","sourcesContent":["export { default } from \"./web-components/loading/skeleton-screen.js\";"]}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/split-input.js";
2
+ //# sourceMappingURL=split-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-input.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["split-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC"}
package/split-input.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/split-input.js";
2
+ //# sourceMappingURL=split-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"split-input.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["split-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC","sourcesContent":["export { default } from \"./web-components/input/split-input.js\";"]}
package/super-a.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/a/super-a.js";
2
+ //# sourceMappingURL=super-a.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"super-a.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["super-a.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC"}
package/super-a.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/a/super-a.js";
2
+ //# sourceMappingURL=super-a.js.map
package/super-a.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"super-a.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["super-a.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { default } from \"./web-components/a/super-a.js\";"]}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/switch-input.js";
2
+ //# sourceMappingURL=switch-input.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-input.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["switch-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/input/switch-input.js";
2
+ //# sourceMappingURL=switch-input.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-input.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["switch-input.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,wCAAwC,CAAC","sourcesContent":["export { default } from \"./web-components/input/switch-input.js\";"]}
package/tab-group.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/group/tab-group.js";
2
+ //# sourceMappingURL=tab-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-group.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["tab-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC"}
package/tab-group.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/group/tab-group.js";
2
+ //# sourceMappingURL=tab-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-group.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["tab-group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC","sourcesContent":["export { default } from \"./web-components/group/tab-group.js\";"]}
package/time-bar.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/items/time-bar.js";
2
+ //# sourceMappingURL=time-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-bar.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["time-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC"}
package/time-bar.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/items/time-bar.js";
2
+ //# sourceMappingURL=time-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-bar.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["time-bar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC","sourcesContent":["export { default } from \"./web-components/items/time-bar.js\";"]}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/text/typewriter-text.js";
2
+ //# sourceMappingURL=typewriter-text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typewriter-text.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["typewriter-text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default } from "./web-components/text/typewriter-text.js";
2
+ //# sourceMappingURL=typewriter-text.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typewriter-text.js","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["typewriter-text.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC","sourcesContent":["export { default } from \"./web-components/text/typewriter-text.js\";"]}
@@ -1,9 +1,9 @@
1
- import { type HTMLTemplate } from "../lib/templates.js";
2
- import ItemsSTD from "./std.js";
1
+ import { type HTMLTemplate } from "../../lib/templates.js";
2
+ import SuperA from "./super-a.js";
3
3
  /**
4
4
  * AvatarAnchor renders the avatar or name and has a href.
5
5
  */
6
- export declare class AvatarAnchor extends ItemsSTD {
6
+ export declare class AvatarA extends SuperA {
7
7
  /**
8
8
  * Image src.
9
9
  */
@@ -17,11 +17,11 @@ export declare class AvatarAnchor extends ItemsSTD {
17
17
  */
18
18
  href: any;
19
19
  /**
20
- * If the image is not available, the {@linkcode AvatarAnchor.avaName} will be displayed.
20
+ * If the image is not available, the {@linkcode AvatarA.avaName} will be displayed.
21
21
  */
22
22
  name: string;
23
23
  /**
24
- * If there is a value, the {@linkcode AvatarAnchor.avaMore} will be displayed.
24
+ * If there is a value, the {@linkcode AvatarA.avaMore} will be displayed.
25
25
  */
26
26
  more: number;
27
27
  static styles: import("lit").CSSResult[];
@@ -31,10 +31,10 @@ export declare class AvatarAnchor extends ItemsSTD {
31
31
  avaName(): string;
32
32
  imgOnError(e: ErrorEvent): void;
33
33
  }
34
- export default AvatarAnchor;
34
+ export default AvatarA;
35
35
  declare global {
36
36
  interface HTMLElementTagNameMap {
37
- "avatar-a": AvatarAnchor;
37
+ "avatar-a": AvatarA;
38
38
  }
39
39
  }
40
40
  //# sourceMappingURL=avatar-a.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar-a.d.ts","sourceRoot":"https://github.com/startracex/godown/tree/main/src/","sources":["web-components/a/avatar-a.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,KAAK,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,MAAM,MAAM,cAAc,CAAC;AAKlC;;GAEG;AACH,qBACa,OAAQ,SAAQ,MAAM;IACjC;;OAEG;IACS,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAAM;IAChD;;OAEG;IACS,GAAG,EAAE,MAAM,CAAa;IACpC;;OAEG;IACS,IAAI,MAAa;IAC7B;;OAEG;IACS,IAAI,SAAM;IACtB;;OAEG;IACyB,IAAI,SAAK;IAErC,MAAM,CAAC,MAAM,4BAyCX;IAEF,SAAS,CAAC,MAAM,IAAI,YAAY;IAOhC,OAAO,CAAC,SAAS;IAajB,OAAO,IAAI,MAAM,GAAG,MAAM;IAO1B,OAAO,IAAI,MAAM;IAKjB,UAAU,CAAC,CAAC,EAAE,UAAU;CAOzB;AAED,eAAe,OAAO,CAAC;AAEvB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
@@ -1,19 +1,14 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- import { createScope, define } from "../root.js";
8
- import { css, html, ifDefined, property } from "../deps.js";
9
- import { htmlSlot } from "../lib/templates.js";
10
- import ItemsSTD from "./std.js";
1
+ import { __decorate } from "tslib";
2
+ import { css, html, ifDefined, property } from "../../deps.js";
3
+ import { htmlSlot } from "../../lib/templates.js";
4
+ import { createScope, define } from "../../root.js";
5
+ import SuperA from "./super-a.js";
11
6
  const defineName = "avatar-a";
12
7
  const cssvarScope = createScope(defineName);
13
8
  /**
14
9
  * AvatarAnchor renders the avatar or name and has a href.
15
10
  */
16
- let AvatarAnchor = class AvatarAnchor extends ItemsSTD {
11
+ let AvatarA = class AvatarA extends SuperA {
17
12
  constructor() {
18
13
  super(...arguments);
19
14
  /**
@@ -29,53 +24,16 @@ let AvatarAnchor = class AvatarAnchor extends ItemsSTD {
29
24
  */
30
25
  this.href = undefined;
31
26
  /**
32
- * If the image is not available, the {@linkcode AvatarAnchor.avaName} will be displayed.
27
+ * If the image is not available, the {@linkcode AvatarA.avaName} will be displayed.
33
28
  */
34
29
  this.name = "";
35
30
  /**
36
- * If there is a value, the {@linkcode AvatarAnchor.avaMore} will be displayed.
31
+ * If there is a value, the {@linkcode AvatarA.avaMore} will be displayed.
37
32
  */
38
33
  this.more = 0;
39
34
  }
40
- render() {
41
- return html `
42
- <a href="${ifDefined(this.href)}"> ${this.renderAva()} ${htmlSlot("mask")} </a>
43
- ${htmlSlot()}
44
- `;
45
- }
46
- renderAva() {
47
- if (this.more) {
48
- return html `<span>${this.avaMore()}</span>`;
49
- }
50
- if (this.src) {
51
- return html `<img src="${this.src}" @error=${this.imgOnError} alt="" />`;
52
- }
53
- if (this.name) {
54
- return html `<span>${this.avaName()}</span>`;
55
- }
56
- return htmlSlot("avatar");
57
- }
58
- avaMore() {
59
- if (this.more < 0) {
60
- return "+";
61
- }
62
- return (this.more > 99 ? "99" : this.more) + "+";
63
- }
64
- avaName() {
65
- const name = this.name.slice(0, 2);
66
- return name[0].toUpperCase() + name.slice(1);
67
- }
68
- imgOnError(e) {
69
- if (this.def) {
70
- e.target.src = this.def;
71
- }
72
- else {
73
- this.src = undefined;
74
- }
75
- }
76
- };
77
- AvatarAnchor.styles = [
78
- css `
35
+ static { this.styles = [
36
+ css `
79
37
  :host {
80
38
  ${cssvarScope}--ava: 1.5em;
81
39
  display: inline-flex;
@@ -115,25 +73,62 @@ AvatarAnchor.styles = [
115
73
  justify-content: center;
116
74
  }
117
75
  `,
118
- ];
76
+ ]; }
77
+ render() {
78
+ return html `
79
+ <a href="${ifDefined(this.href)}"> ${this.renderAva()} ${htmlSlot("mask")} </a>
80
+ ${htmlSlot()}
81
+ `;
82
+ }
83
+ renderAva() {
84
+ if (this.more) {
85
+ return html `<span>${this.avaMore()}</span>`;
86
+ }
87
+ if (this.src) {
88
+ return html `<img src="${this.src}" @error=${this.imgOnError} alt="" />`;
89
+ }
90
+ if (this.name) {
91
+ return html `<span>${this.avaName()}</span>`;
92
+ }
93
+ return htmlSlot("avatar");
94
+ }
95
+ avaMore() {
96
+ if (this.more < 0) {
97
+ return "+";
98
+ }
99
+ return (this.more > 99 ? "99" : this.more) + "+";
100
+ }
101
+ avaName() {
102
+ const name = this.name.slice(0, 2);
103
+ return name[0].toUpperCase() + name.slice(1);
104
+ }
105
+ imgOnError(e) {
106
+ if (this.def) {
107
+ e.target.src = this.def;
108
+ }
109
+ else {
110
+ this.src = undefined;
111
+ }
112
+ }
113
+ };
119
114
  __decorate([
120
115
  property()
121
- ], AvatarAnchor.prototype, "src", void 0);
116
+ ], AvatarA.prototype, "src", void 0);
122
117
  __decorate([
123
118
  property()
124
- ], AvatarAnchor.prototype, "def", void 0);
119
+ ], AvatarA.prototype, "def", void 0);
125
120
  __decorate([
126
121
  property()
127
- ], AvatarAnchor.prototype, "href", void 0);
122
+ ], AvatarA.prototype, "href", void 0);
128
123
  __decorate([
129
124
  property()
130
- ], AvatarAnchor.prototype, "name", void 0);
125
+ ], AvatarA.prototype, "name", void 0);
131
126
  __decorate([
132
127
  property({ type: Number })
133
- ], AvatarAnchor.prototype, "more", void 0);
134
- AvatarAnchor = __decorate([
128
+ ], AvatarA.prototype, "more", void 0);
129
+ AvatarA = __decorate([
135
130
  define(defineName)
136
- ], AvatarAnchor);
137
- export { AvatarAnchor };
138
- export default AvatarAnchor;
131
+ ], AvatarA);
132
+ export { AvatarA };
133
+ export default AvatarA;
139
134
  //# sourceMappingURL=avatar-a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar-a.js","sourceRoot":"https://github.com/startracex/godown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port { htmlSlot, type HTMLTemplate } from \"../../lib/templates.js\";\nimport { createScope, define } from \"../../root.js\";\nimport SuperA from \"./super-a.js\";\n\nconst defineName = \"avatar-a\";\nconst cssvarScope = createScope(defineName);\n\n/**\n * AvatarAnchor renders the avatar or name and has a href.\n */\n@define(defineName)\nexport class AvatarA extends SuperA {\n /**\n * Image src.\n */\n @property() src: string | undefined | null = \"\";\n /**\n * Default image src.\n */\n @property() def: string = undefined;\n /**\n * Link href.\n */\n @property() href = undefined;\n /**\n * If the image is not available, the {@linkcode AvatarA.avaName} will be displayed.\n */\n @property() name = \"\";\n /**\n * If there is a value, the {@linkcode AvatarA.avaMore} will be displayed.\n */\n @property({ type: Number }) more = 0;\n\n static styles = [\n css`\n :host {\n ${cssvarScope}--ava: 1.5em;\n display: inline-flex;\n align-items: center;\n }\n\n * {\n border-radius: inherit;\n }\n\n img {\n width: 100%;\n height: 100%;\n }\n\n a {\n height: var(${cssvarScope}--ava);\n width: var(${cssvarScope}--ava);\n color: inherit;\n display: flex;\n position: relative;\n align-items: inherit;\n }\n\n span {\n position: absolute;\n width: 100%;\n text-align: center;\n }\n\n slot[name=\"mask\"] {\n position: absolute;\n display: flex;\n width: 100%;\n height: 100%;\n align-items: center;\n justify-content: center;\n }\n `,\n ];\n\n protected render(): HTMLTemplate {\n return html`\n <a href=\"${ifDefined(this.href)}\"> ${this.renderAva()} ${htmlSlot(\"mask\")} </a>\n ${htmlSlot()}\n `;\n }\n\n private renderAva(): HTMLTemplate {\n if (this.more) {\n return html`<span>${this.avaMore()}</span>`;\n }\n if (this.src) {\n return html`<img src=\"${this.src}\" @error=${this.imgOnError} alt=\"\" />`;\n }\n if (this.name) {\n return html`<span>${this.avaName()}</span>`;\n }\n return htmlSlot(\"avatar\");\n }\n\n avaMore(): string | number {\n if (this.more < 0) {\n return \"+\";\n }\n return (this.more > 99 ? \"99\" : this.more) + \"+\";\n }\n\n avaName(): string {\n const name = this.name.slice(0, 2);\n return name[0].toUpperCase() + name.slice(1);\n }\n\n imgOnError(e: ErrorEvent) {\n if (this.def) {\n (e.target as HTMLImageElement).src = this.def;\n } else {\n this.src = undefined;\n }\n }\n}\n\nexport default AvatarA;\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"avatar-a\": AvatarA;\n }\n}\n"]}