typecomposer 0.1.46 → 0.1.49

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 (410) hide show
  1. package/{core → dist/core}/index.d.ts +0 -3
  2. package/{core → dist/core}/index.js +0 -3
  3. package/dist/core/index.js.map +1 -0
  4. package/{core → dist/core}/styles/index.d.ts +3 -3
  5. package/{core → dist/core}/styles/index.js +0 -8
  6. package/{core → dist/core}/styles/index.js.map +1 -1
  7. package/{global → dist/global}/index.d.ts +10 -4
  8. package/{global → dist/global}/index.js +387 -322
  9. package/dist/global/index.js.map +1 -0
  10. package/dist/index.d.ts +3 -0
  11. package/{index.d.ts → dist/index.js} +1 -0
  12. package/dist/index.js.map +1 -0
  13. package/package.json +35 -10
  14. package/styles/style.scss +2 -23
  15. package/typings/index.d.ts +58 -66
  16. package/core/app/Validate.d.ts +0 -61
  17. package/core/app/Validate.js +0 -2
  18. package/core/app/Validate.js.map +0 -1
  19. package/core/app/index.d.ts +0 -40
  20. package/core/app/index.js +0 -181
  21. package/core/app/index.js.map +0 -1
  22. package/core/components/AlertPanel.d.ts +0 -32
  23. package/core/components/AlertPanel.js +0 -75
  24. package/core/components/AlertPanel.js.map +0 -1
  25. package/core/components/AvatarPanel.d.ts +0 -21
  26. package/core/components/AvatarPanel.js +0 -62
  27. package/core/components/AvatarPanel.js.map +0 -1
  28. package/core/components/BorderPanel.d.ts +0 -28
  29. package/core/components/BorderPanel.js +0 -90
  30. package/core/components/BorderPanel.js.map +0 -1
  31. package/core/components/CardPanel.d.ts +0 -5
  32. package/core/components/CardPanel.js +0 -11
  33. package/core/components/CardPanel.js.map +0 -1
  34. package/core/components/CheckBox.d.ts +0 -36
  35. package/core/components/CheckBox.js +0 -109
  36. package/core/components/CheckBox.js.map +0 -1
  37. package/core/components/ColorPicker.d.ts +0 -10
  38. package/core/components/ColorPicker.js +0 -36
  39. package/core/components/ColorPicker.js.map +0 -1
  40. package/core/components/ContextMenu.d.ts +0 -16
  41. package/core/components/ContextMenu.js +0 -64
  42. package/core/components/ContextMenu.js.map +0 -1
  43. package/core/components/DialogPanel.d.ts +0 -15
  44. package/core/components/DialogPanel.js +0 -62
  45. package/core/components/DialogPanel.js.map +0 -1
  46. package/core/components/DropDown.d.ts +0 -54
  47. package/core/components/DropDown.js +0 -231
  48. package/core/components/DropDown.js.map +0 -1
  49. package/core/components/FlowPanel.d.ts +0 -11
  50. package/core/components/FlowPanel.js +0 -40
  51. package/core/components/FlowPanel.js.map +0 -1
  52. package/core/components/ForEach.d.ts +0 -11
  53. package/core/components/ForEach.js +0 -88
  54. package/core/components/ForEach.js.map +0 -1
  55. package/core/components/GridPanel.d.ts +0 -10
  56. package/core/components/GridPanel.js +0 -30
  57. package/core/components/GridPanel.js.map +0 -1
  58. package/core/components/HBox.d.ts +0 -5
  59. package/core/components/HBox.js +0 -10
  60. package/core/components/HBox.js.map +0 -1
  61. package/core/components/LazyLoading.d.ts +0 -19
  62. package/core/components/LazyLoading.js +0 -36
  63. package/core/components/LazyLoading.js.map +0 -1
  64. package/core/components/ListPanel.d.ts +0 -27
  65. package/core/components/ListPanel.js +0 -153
  66. package/core/components/ListPanel.js.map +0 -1
  67. package/core/components/PopUpButton.d.ts +0 -18
  68. package/core/components/PopUpButton.js +0 -57
  69. package/core/components/PopUpButton.js.map +0 -1
  70. package/core/components/ScrollPanel.d.ts +0 -14
  71. package/core/components/ScrollPanel.js +0 -35
  72. package/core/components/ScrollPanel.js.map +0 -1
  73. package/core/components/SliderPanel.d.ts +0 -7
  74. package/core/components/SliderPanel.js +0 -135
  75. package/core/components/SliderPanel.js.map +0 -1
  76. package/core/components/StackPanel.d.ts +0 -5
  77. package/core/components/StackPanel.js +0 -10
  78. package/core/components/StackPanel.js.map +0 -1
  79. package/core/components/TabItem.d.ts +0 -19
  80. package/core/components/TabItem.js +0 -84
  81. package/core/components/TabItem.js.map +0 -1
  82. package/core/components/TabPanel.d.ts +0 -25
  83. package/core/components/TabPanel.js +0 -96
  84. package/core/components/TabPanel.js.map +0 -1
  85. package/core/components/TablePanel.d.ts +0 -34
  86. package/core/components/TablePanel.js +0 -127
  87. package/core/components/TablePanel.js.map +0 -1
  88. package/core/components/TextEdit.d.ts +0 -32
  89. package/core/components/TextEdit.js +0 -174
  90. package/core/components/TextEdit.js.map +0 -1
  91. package/core/components/TextField.d.ts +0 -34
  92. package/core/components/TextField.js +0 -140
  93. package/core/components/TextField.js.map +0 -1
  94. package/core/components/ToggleButton.d.ts +0 -7
  95. package/core/components/ToggleButton.js +0 -20
  96. package/core/components/ToggleButton.js.map +0 -1
  97. package/core/components/Tooltip.d.ts +0 -10
  98. package/core/components/Tooltip.js +0 -14
  99. package/core/components/Tooltip.js.map +0 -1
  100. package/core/components/VBox.d.ts +0 -5
  101. package/core/components/VBox.js +0 -10
  102. package/core/components/VBox.js.map +0 -1
  103. package/core/components/VirtualScroll copy 2.d.ts +0 -24
  104. package/core/components/VirtualScroll copy 2.js +0 -92
  105. package/core/components/VirtualScroll copy 2.js.map +0 -1
  106. package/core/components/VirtualScroll.d.ts +0 -20
  107. package/core/components/VirtualScroll.js +0 -47
  108. package/core/components/VirtualScroll.js.map +0 -1
  109. package/core/components/index.d.ts +0 -28
  110. package/core/components/index.js +0 -30
  111. package/core/components/index.js.map +0 -1
  112. package/core/decorators/RegisterComponent.d.ts +0 -8
  113. package/core/decorators/RegisterComponent.js +0 -20
  114. package/core/decorators/RegisterComponent.js.map +0 -1
  115. package/core/decorators/StyleLink.d.ts +0 -1
  116. package/core/decorators/StyleLink.js +0 -13
  117. package/core/decorators/StyleLink.js.map +0 -1
  118. package/core/decorators/index.d.ts +0 -4
  119. package/core/decorators/index.js +0 -6
  120. package/core/decorators/index.js.map +0 -1
  121. package/core/element/AbbreviationElement.d.ts +0 -7
  122. package/core/element/AbbreviationElement.js +0 -10
  123. package/core/element/AbbreviationElement.js.map +0 -1
  124. package/core/element/AnchorElement.d.ts +0 -24
  125. package/core/element/AnchorElement.js +0 -31
  126. package/core/element/AnchorElement.js.map +0 -1
  127. package/core/element/AreaElement.d.ts +0 -18
  128. package/core/element/AreaElement.js +0 -11
  129. package/core/element/AreaElement.js.map +0 -1
  130. package/core/element/ArticleElement.d.ts +0 -5
  131. package/core/element/ArticleElement.js +0 -12
  132. package/core/element/ArticleElement.js.map +0 -1
  133. package/core/element/AudioElement.d.ts +0 -12
  134. package/core/element/AudioElement.js +0 -10
  135. package/core/element/AudioElement.js.map +0 -1
  136. package/core/element/BaseElement.d.ts +0 -8
  137. package/core/element/BaseElement.js +0 -11
  138. package/core/element/BaseElement.js.map +0 -1
  139. package/core/element/BodyElement.d.ts +0 -5
  140. package/core/element/BodyElement.js +0 -11
  141. package/core/element/BodyElement.js.map +0 -1
  142. package/core/element/BoldElement.d.ts +0 -5
  143. package/core/element/BoldElement.js +0 -10
  144. package/core/element/BoldElement.js.map +0 -1
  145. package/core/element/BreakElement.d.ts +0 -5
  146. package/core/element/BreakElement.js +0 -10
  147. package/core/element/BreakElement.js.map +0 -1
  148. package/core/element/ButtonElement.d.ts +0 -26
  149. package/core/element/ButtonElement.js +0 -47
  150. package/core/element/ButtonElement.js.map +0 -1
  151. package/core/element/CanvasElement.d.ts +0 -5
  152. package/core/element/CanvasElement.js +0 -14
  153. package/core/element/CanvasElement.js.map +0 -1
  154. package/core/element/CaptionElement.d.ts +0 -5
  155. package/core/element/CaptionElement.js +0 -13
  156. package/core/element/CaptionElement.js.map +0 -1
  157. package/core/element/CiteElement.d.ts +0 -5
  158. package/core/element/CiteElement.js +0 -11
  159. package/core/element/CiteElement.js.map +0 -1
  160. package/core/element/CodeElement.d.ts +0 -7
  161. package/core/element/CodeElement.js +0 -13
  162. package/core/element/CodeElement.js.map +0 -1
  163. package/core/element/DataListElement.d.ts +0 -5
  164. package/core/element/DataListElement.js +0 -13
  165. package/core/element/DataListElement.js.map +0 -1
  166. package/core/element/DefinitionDescriptionElement.d.ts +0 -5
  167. package/core/element/DefinitionDescriptionElement.js +0 -13
  168. package/core/element/DefinitionDescriptionElement.js.map +0 -1
  169. package/core/element/DefinitionElement.d.ts +0 -5
  170. package/core/element/DefinitionElement.js +0 -13
  171. package/core/element/DefinitionElement.js.map +0 -1
  172. package/core/element/DeletedTextElement.d.ts +0 -7
  173. package/core/element/DeletedTextElement.js +0 -15
  174. package/core/element/DeletedTextElement.js.map +0 -1
  175. package/core/element/DetailsElement.d.ts +0 -9
  176. package/core/element/DetailsElement.js +0 -28
  177. package/core/element/DetailsElement.js.map +0 -1
  178. package/core/element/DialogElement.d.ts +0 -7
  179. package/core/element/DialogElement.js +0 -14
  180. package/core/element/DialogElement.js.map +0 -1
  181. package/core/element/DivElement.d.ts +0 -5
  182. package/core/element/DivElement.js +0 -10
  183. package/core/element/DivElement.js.map +0 -1
  184. package/core/element/EmElement.d.ts +0 -5
  185. package/core/element/EmElement.js +0 -10
  186. package/core/element/EmElement.js.map +0 -1
  187. package/core/element/EmbedElement.d.ts +0 -10
  188. package/core/element/EmbedElement.js +0 -19
  189. package/core/element/EmbedElement.js.map +0 -1
  190. package/core/element/FieldSetElement.d.ts +0 -9
  191. package/core/element/FieldSetElement.js +0 -34
  192. package/core/element/FieldSetElement.js.map +0 -1
  193. package/core/element/FooterElement.d.ts +0 -5
  194. package/core/element/FooterElement.js +0 -13
  195. package/core/element/FooterElement.js.map +0 -1
  196. package/core/element/FormElement.d.ts +0 -20
  197. package/core/element/FormElement.js +0 -36
  198. package/core/element/FormElement.js.map +0 -1
  199. package/core/element/Fragment.d.ts +0 -32
  200. package/core/element/Fragment.js +0 -103
  201. package/core/element/Fragment.js.map +0 -1
  202. package/core/element/H1Element.d.ts +0 -5
  203. package/core/element/H1Element.js +0 -10
  204. package/core/element/H1Element.js.map +0 -1
  205. package/core/element/H2Element.d.ts +0 -5
  206. package/core/element/H2Element.js +0 -10
  207. package/core/element/H2Element.js.map +0 -1
  208. package/core/element/H3Element.d.ts +0 -5
  209. package/core/element/H3Element.js +0 -10
  210. package/core/element/H3Element.js.map +0 -1
  211. package/core/element/H4Element.d.ts +0 -5
  212. package/core/element/H4Element.js +0 -10
  213. package/core/element/H4Element.js.map +0 -1
  214. package/core/element/H5Element.d.ts +0 -5
  215. package/core/element/H5Element.js +0 -10
  216. package/core/element/H5Element.js.map +0 -1
  217. package/core/element/H6Element.d.ts +0 -5
  218. package/core/element/H6Element.js +0 -10
  219. package/core/element/H6Element.js.map +0 -1
  220. package/core/element/HeadElement.d.ts +0 -5
  221. package/core/element/HeadElement.js +0 -11
  222. package/core/element/HeadElement.js.map +0 -1
  223. package/core/element/HeaderElement.d.ts +0 -5
  224. package/core/element/HeaderElement.js +0 -13
  225. package/core/element/HeaderElement.js.map +0 -1
  226. package/core/element/HorizontalRuleElement.d.ts +0 -5
  227. package/core/element/HorizontalRuleElement.js +0 -13
  228. package/core/element/HorizontalRuleElement.js.map +0 -1
  229. package/core/element/HtmlElement.d.ts +0 -9
  230. package/core/element/HtmlElement.js +0 -19
  231. package/core/element/HtmlElement.js.map +0 -1
  232. package/core/element/IFrameElement.d.ts +0 -28
  233. package/core/element/IFrameElement.js +0 -67
  234. package/core/element/IFrameElement.js.map +0 -1
  235. package/core/element/ILayout.d.ts +0 -5
  236. package/core/element/ILayout.js +0 -9
  237. package/core/element/ILayout.js.map +0 -1
  238. package/core/element/IconElement.d.ts +0 -14
  239. package/core/element/IconElement.js +0 -32
  240. package/core/element/IconElement.js.map +0 -1
  241. package/core/element/IdiomaticElement.d.ts +0 -4
  242. package/core/element/IdiomaticElement.js +0 -6
  243. package/core/element/IdiomaticElement.js.map +0 -1
  244. package/core/element/ImageElement.d.ts +0 -19
  245. package/core/element/ImageElement.js +0 -17
  246. package/core/element/ImageElement.js.map +0 -1
  247. package/core/element/InputElement.d.ts +0 -19
  248. package/core/element/InputElement.js +0 -81
  249. package/core/element/InputElement.js.map +0 -1
  250. package/core/element/LabelElement.d.ts +0 -8
  251. package/core/element/LabelElement.js +0 -10
  252. package/core/element/LabelElement.js.map +0 -1
  253. package/core/element/LegendElement.d.ts +0 -7
  254. package/core/element/LegendElement.js +0 -15
  255. package/core/element/LegendElement.js.map +0 -1
  256. package/core/element/ListItemElement.d.ts +0 -12
  257. package/core/element/ListItemElement.js +0 -28
  258. package/core/element/ListItemElement.js.map +0 -1
  259. package/core/element/MainElement.d.ts +0 -5
  260. package/core/element/MainElement.js +0 -10
  261. package/core/element/MainElement.js.map +0 -1
  262. package/core/element/NavElement.d.ts +0 -5
  263. package/core/element/NavElement.js +0 -10
  264. package/core/element/NavElement.js.map +0 -1
  265. package/core/element/OrderedListElement.d.ts +0 -5
  266. package/core/element/OrderedListElement.js +0 -10
  267. package/core/element/OrderedListElement.js.map +0 -1
  268. package/core/element/ParagraphElement.d.ts +0 -5
  269. package/core/element/ParagraphElement.js +0 -10
  270. package/core/element/ParagraphElement.js.map +0 -1
  271. package/core/element/PreElement.d.ts +0 -5
  272. package/core/element/PreElement.js +0 -10
  273. package/core/element/PreElement.js.map +0 -1
  274. package/core/element/SectionElement.d.ts +0 -5
  275. package/core/element/SectionElement.js +0 -12
  276. package/core/element/SectionElement.js.map +0 -1
  277. package/core/element/SelectElement.d.ts +0 -5
  278. package/core/element/SelectElement.js +0 -12
  279. package/core/element/SelectElement.js.map +0 -1
  280. package/core/element/SourceElement.d.ts +0 -8
  281. package/core/element/SourceElement.js +0 -14
  282. package/core/element/SourceElement.js.map +0 -1
  283. package/core/element/SpanElement.d.ts +0 -5
  284. package/core/element/SpanElement.js +0 -10
  285. package/core/element/SpanElement.js.map +0 -1
  286. package/core/element/StrongElement.d.ts +0 -5
  287. package/core/element/StrongElement.js +0 -12
  288. package/core/element/StrongElement.js.map +0 -1
  289. package/core/element/StyleElement.d.ts +0 -5
  290. package/core/element/StyleElement.js +0 -10
  291. package/core/element/StyleElement.js.map +0 -1
  292. package/core/element/SummaryElement.d.ts +0 -5
  293. package/core/element/SummaryElement.js +0 -12
  294. package/core/element/SummaryElement.js.map +0 -1
  295. package/core/element/SvgElement.d.ts +0 -18
  296. package/core/element/SvgElement.js +0 -151
  297. package/core/element/SvgElement.js.map +0 -1
  298. package/core/element/TableBodyElement.d.ts +0 -5
  299. package/core/element/TableBodyElement.js +0 -10
  300. package/core/element/TableBodyElement.js.map +0 -1
  301. package/core/element/TableCellElement.d.ts +0 -10
  302. package/core/element/TableCellElement.js +0 -25
  303. package/core/element/TableCellElement.js.map +0 -1
  304. package/core/element/TableColElement.d.ts +0 -7
  305. package/core/element/TableColElement.js +0 -13
  306. package/core/element/TableColElement.js.map +0 -1
  307. package/core/element/TableColGroupElement.d.ts +0 -7
  308. package/core/element/TableColGroupElement.js +0 -15
  309. package/core/element/TableColGroupElement.js.map +0 -1
  310. package/core/element/TableElement.d.ts +0 -45
  311. package/core/element/TableElement.js +0 -228
  312. package/core/element/TableElement.js.map +0 -1
  313. package/core/element/TableFootElement.d.ts +0 -5
  314. package/core/element/TableFootElement.js +0 -10
  315. package/core/element/TableFootElement.js.map +0 -1
  316. package/core/element/TableFootRowElement.d.ts +0 -9
  317. package/core/element/TableFootRowElement.js +0 -23
  318. package/core/element/TableFootRowElement.js.map +0 -1
  319. package/core/element/TableHeadCellElement.d.ts +0 -10
  320. package/core/element/TableHeadCellElement.js +0 -24
  321. package/core/element/TableHeadCellElement.js.map +0 -1
  322. package/core/element/TableHeadElement.d.ts +0 -5
  323. package/core/element/TableHeadElement.js +0 -10
  324. package/core/element/TableHeadElement.js.map +0 -1
  325. package/core/element/TableHeadRowElement.d.ts +0 -11
  326. package/core/element/TableHeadRowElement.js +0 -29
  327. package/core/element/TableHeadRowElement.js.map +0 -1
  328. package/core/element/TableRowElement.d.ts +0 -11
  329. package/core/element/TableRowElement.js +0 -29
  330. package/core/element/TableRowElement.js.map +0 -1
  331. package/core/element/TextAreaElement.d.ts +0 -7
  332. package/core/element/TextAreaElement.js +0 -10
  333. package/core/element/TextAreaElement.js.map +0 -1
  334. package/core/element/UListElement.d.ts +0 -5
  335. package/core/element/UListElement.js +0 -10
  336. package/core/element/UListElement.js.map +0 -1
  337. package/core/element/VideoElement.d.ts +0 -13
  338. package/core/element/VideoElement.js +0 -16
  339. package/core/element/VideoElement.js.map +0 -1
  340. package/core/element/index.d.ts +0 -72
  341. package/core/element/index.js +0 -73
  342. package/core/element/index.js.map +0 -1
  343. package/core/event/index.d.ts +0 -16
  344. package/core/event/index.js +0 -75
  345. package/core/event/index.js.map +0 -1
  346. package/core/index.js.map +0 -1
  347. package/core/ref/Computed.d.ts +0 -3
  348. package/core/ref/Computed.js +0 -75
  349. package/core/ref/Computed.js.map +0 -1
  350. package/core/ref/RefBoolean.d.ts +0 -91
  351. package/core/ref/RefBoolean.js +0 -119
  352. package/core/ref/RefBoolean.js.map +0 -1
  353. package/core/ref/RefContainer.d.ts +0 -28
  354. package/core/ref/RefContainer.js +0 -114
  355. package/core/ref/RefContainer.js.map +0 -1
  356. package/core/ref/RefList.d.ts +0 -120
  357. package/core/ref/RefList.js +0 -240
  358. package/core/ref/RefList.js.map +0 -1
  359. package/core/ref/RefMap.d.ts +0 -100
  360. package/core/ref/RefMap.js +0 -149
  361. package/core/ref/RefMap.js.map +0 -1
  362. package/core/ref/RefNumber.d.ts +0 -118
  363. package/core/ref/RefNumber.js +0 -157
  364. package/core/ref/RefNumber.js.map +0 -1
  365. package/core/ref/RefObject copy.d.ts +0 -124
  366. package/core/ref/RefObject copy.js +0 -271
  367. package/core/ref/RefObject copy.js.map +0 -1
  368. package/core/ref/RefObject.d.ts +0 -120
  369. package/core/ref/RefObject.js +0 -265
  370. package/core/ref/RefObject.js.map +0 -1
  371. package/core/ref/RefProperty.d.ts +0 -3
  372. package/core/ref/RefProperty.js +0 -46
  373. package/core/ref/RefProperty.js.map +0 -1
  374. package/core/ref/RefSet.d.ts +0 -99
  375. package/core/ref/RefSet.js +0 -148
  376. package/core/ref/RefSet.js.map +0 -1
  377. package/core/ref/RefState.d.ts +0 -25
  378. package/core/ref/RefState.js +0 -89
  379. package/core/ref/RefState.js.map +0 -1
  380. package/core/ref/RefString.d.ts +0 -148
  381. package/core/ref/RefString.js +0 -179
  382. package/core/ref/RefString.js.map +0 -1
  383. package/core/ref/index.d.ts +0 -23
  384. package/core/ref/index.js +0 -71
  385. package/core/ref/index.js.map +0 -1
  386. package/core/router/RouteView.d.ts +0 -20
  387. package/core/router/RouteView.js +0 -84
  388. package/core/router/RouteView.js.map +0 -1
  389. package/core/router/Router.d.ts +0 -78
  390. package/core/router/Router.js +0 -307
  391. package/core/router/Router.js.map +0 -1
  392. package/core/router/RouterEvent.d.ts +0 -36
  393. package/core/router/RouterEvent.js +0 -43
  394. package/core/router/RouterEvent.js.map +0 -1
  395. package/core/router/RouterGuard.d.ts +0 -12
  396. package/core/router/RouterGuard.js +0 -3
  397. package/core/router/RouterGuard.js.map +0 -1
  398. package/core/router/index.d.ts +0 -4
  399. package/core/router/index.js +0 -5
  400. package/core/router/index.js.map +0 -1
  401. package/global/index.js.map +0 -1
  402. package/global/safari-polyfill.d.ts +0 -0
  403. package/global/safari-polyfill.js +0 -234
  404. package/global/safari-polyfill.js.map +0 -1
  405. package/index.js +0 -4
  406. package/index.js.map +0 -1
  407. package/translation/index.d.ts +0 -0
  408. /package/{assets → dist/assets}/index.d.ts +0 -0
  409. /package/{assets → dist/assets}/index.js +0 -0
  410. /package/{assets → dist/assets}/index.js.map +0 -0
@@ -1,45 +0,0 @@
1
- import { TableRowElement, TableCellElement } from "../..";
2
- import { ElementProps, refList } from "../../";
3
- export interface TableElementProps extends ElementProps {
4
- headers?: any[];
5
- rows?: any[][] | refList<any[]>;
6
- rowFilter?: (value: any[], index: number, array: any[][]) => boolean;
7
- formatRow?: (row: TableRowElement, value: any[], index?: number) => TableRowElement;
8
- lazyLoad?: boolean;
9
- chunkSize?: number;
10
- }
11
- export declare class TableElement extends HTMLTableElement implements IComponent {
12
- #private;
13
- static readonly TAG: string;
14
- chunkSize: number;
15
- constructor(props?: TableElementProps);
16
- onUpdateValues?: (values: any[][]) => void;
17
- private updateValues;
18
- setRowFilter(filter: (value: any[], index: number, array: any[][]) => boolean): void;
19
- updateRowFilter(): void;
20
- removeRowFilter(): void;
21
- getRows(): HTMLTableRowElement[];
22
- getRow(row: number): TableRowElement | undefined;
23
- getCellsByColumn(column: number): TableCellElement[];
24
- getCellsByRow(row: number): TableCellElement[];
25
- getCell(row: number, column: number): TableCellElement | undefined;
26
- getHeadRows(): TableRowElement[];
27
- getHeadRow(row: number): TableRowElement | undefined;
28
- getHeadCellsByRow(row: number): TableCellElement[];
29
- getHeadCellsByColumn(column: number): TableCellElement[];
30
- getHeadCell(row: number, column: number): TableCellElement | undefined;
31
- addHeadRows(...rows: TableRowElement[]): void;
32
- addHeadRow(row: TableRowElement): TableRowElement;
33
- removeHeadRow(row: number | TableRowElement): void;
34
- removeHeadRows(): void;
35
- addFootRows(...rows: TableRowElement[]): void;
36
- addFootRow(row: TableRowElement): TableRowElement;
37
- removeFootRow(row: number | TableRowElement): void;
38
- removeFootRows(): void;
39
- addRows(...rows: TableRowElement[]): void;
40
- addRow(row: TableRowElement): TableRowElement;
41
- removeRow(row: number | TableRowElement): void;
42
- removeRows(): void;
43
- removeColumn(column: number): void;
44
- get values(): any[][];
45
- }
@@ -1,228 +0,0 @@
1
- import { TableHeadElement, TableBodyElement, TableFootElement, TableRowElement, TableHeadRowElement, TableHeadCellElement, LazyLoading } from "../..";
2
- import { RefList, Component, ref } from "../../";
3
- export class TableElement extends HTMLTableElement {
4
- static TAG = "tc-table-element";
5
- #head;
6
- #body;
7
- #foot;
8
- #formatRow;
9
- #rows = [];
10
- #rowFilter;
11
- #values = [];
12
- #lazyLoad;
13
- chunkSize = 50;
14
- constructor(props) {
15
- super();
16
- this.role = "presentation";
17
- if (props?.rowFilter) {
18
- this.setRowFilter(props.rowFilter);
19
- }
20
- if (props?.chunkSize)
21
- this.chunkSize = props.chunkSize;
22
- this.#lazyLoad = props?.lazyLoad;
23
- this.#formatRow = props?.formatRow;
24
- Component.applyProps(this, props);
25
- if (props?.headers) {
26
- const headRow = new TableHeadRowElement({
27
- cells: props.headers.map(header => header instanceof TableHeadCellElement ? header : new TableHeadCellElement({ value: header }))
28
- });
29
- this.addHeadRow(headRow);
30
- }
31
- if (props?.rows instanceof ref) {
32
- this.addEventListener("onConnected", () => {
33
- props.rows.subscribe(this, "updateValues");
34
- });
35
- this.addEventListener("onDisconnected", () => {
36
- props.rows.unsubscribe(this, "updateValues");
37
- });
38
- }
39
- else if (props?.rows) {
40
- this.updateValues(props.rows);
41
- }
42
- }
43
- onUpdateValues;
44
- updateValues = (values, isUpdateValue = true) => {
45
- if (!this.#body) {
46
- this.#body = this.appendChild(new TableBodyElement());
47
- }
48
- if (isUpdateValue) {
49
- this.#values = values;
50
- }
51
- const newOrder = [];
52
- const chunkSize = this.chunkSize;
53
- let index = 0;
54
- if (this.#rowFilter) {
55
- values = values.filter(this.#rowFilter);
56
- }
57
- const processChunk = () => {
58
- const end = Math.min(index + chunkSize, values.length);
59
- for (let i = index; i < end; i++) {
60
- const value = values[i];
61
- let row = value instanceof TableRowElement
62
- ? value
63
- : this.#rows.find(r => r.value == value);
64
- if (!row) {
65
- row = this.#formatRow
66
- ? this.#formatRow(new TableRowElement(), value, i)
67
- : new TableRowElement({ value: value });
68
- }
69
- row.value = value;
70
- newOrder.push(row);
71
- }
72
- index += chunkSize;
73
- if (index < values.length) {
74
- if (this.#lazyLoad) {
75
- newOrder.push(new LazyLoading({
76
- onintersect: () => {
77
- newOrder.pop();
78
- setTimeout(processChunk, 0);
79
- }
80
- }));
81
- }
82
- else
83
- setTimeout(processChunk, 0);
84
- }
85
- else {
86
- this.#rows = newOrder.filter(row => row instanceof TableRowElement);
87
- }
88
- RefList.syncComponentWithList(newOrder, this.#body);
89
- };
90
- processChunk();
91
- this.onUpdateValues?.(values);
92
- };
93
- setRowFilter(filter) {
94
- this.#rowFilter = filter;
95
- }
96
- updateRowFilter() {
97
- if (this.#rowFilter) {
98
- this.updateValues(this.#values, false);
99
- }
100
- }
101
- removeRowFilter() {
102
- this.#rowFilter = undefined;
103
- }
104
- getRows() {
105
- return Array.from(this.rows);
106
- }
107
- getRow(row) {
108
- return this.getRows()[row];
109
- }
110
- getCellsByColumn(column) {
111
- return this.getRows().map(row => row.cells[column]);
112
- }
113
- getCellsByRow(row) {
114
- return Array.from(this.getRow(row)?.cells || []);
115
- }
116
- getCell(row, column) {
117
- return this.getCellsByRow(row)[column];
118
- }
119
- getHeadRows() {
120
- return this.#head ? Array.from(this.#head.rows) : [];
121
- }
122
- getHeadRow(row) {
123
- return this.getHeadRows()[row];
124
- }
125
- getHeadCellsByRow(row) {
126
- return Array.from(this.getHeadRow(row)?.cells || []);
127
- }
128
- getHeadCellsByColumn(column) {
129
- return this.getHeadRows().map(row => row.cells[column]);
130
- }
131
- getHeadCell(row, column) {
132
- return this.getHeadCellsByRow(row)[column];
133
- }
134
- addHeadRows(...rows) {
135
- if (!this.#head) {
136
- this.#head = this.appendChild(new TableHeadElement());
137
- }
138
- rows.forEach(row => {
139
- this.#head.appendChild(row);
140
- });
141
- }
142
- addHeadRow(row) {
143
- this.addHeadRows(row);
144
- return row;
145
- }
146
- removeHeadRow(row) {
147
- if (!this.#head)
148
- return;
149
- if (typeof row === "number") {
150
- this.#head.removeChild(this.#head.children[row]);
151
- }
152
- else {
153
- this.#head.removeChild(row);
154
- }
155
- }
156
- removeHeadRows() {
157
- if (!this.#head)
158
- return;
159
- this.#head.innerHTML = "";
160
- }
161
- addFootRows(...rows) {
162
- if (!this.#foot) {
163
- this.#foot = this.appendChild(new TableFootElement());
164
- }
165
- rows.forEach(row => {
166
- this.#foot.appendChild(row);
167
- });
168
- }
169
- addFootRow(row) {
170
- this.addFootRows(row);
171
- return row;
172
- }
173
- removeFootRow(row) {
174
- if (!this.#foot)
175
- return;
176
- if (typeof row === "number") {
177
- this.#foot.removeChild(this.#foot.children[row]);
178
- }
179
- else {
180
- this.#foot.removeChild(row);
181
- }
182
- }
183
- removeFootRows() {
184
- if (!this.#foot)
185
- return;
186
- this.#foot.innerHTML = "";
187
- }
188
- addRows(...rows) {
189
- rows.forEach(row => {
190
- this.addRow(row);
191
- });
192
- }
193
- addRow(row) {
194
- if (!row)
195
- return row;
196
- if (!this.#body) {
197
- this.#body = this.appendChild(new TableBodyElement());
198
- }
199
- this.#rows.push(row);
200
- this.#values.push(row.value);
201
- return row;
202
- }
203
- removeRow(row) {
204
- if (!this.#body)
205
- return;
206
- if (typeof row === "number") {
207
- this.#body.removeChild(this.#body.children[row]);
208
- }
209
- else {
210
- this.#body.removeChild(row);
211
- }
212
- }
213
- removeRows() {
214
- if (!this.#body)
215
- return;
216
- this.#body.innerHTML = "";
217
- }
218
- removeColumn(column) {
219
- Array.from(this.rows).forEach(row => {
220
- row.removeChild(row.children[column]);
221
- });
222
- }
223
- get values() {
224
- return this.#values;
225
- }
226
- }
227
- TypeComposer.defineElement(TableElement.TAG, TableElement, { extends: "table" });
228
- //# sourceMappingURL=TableElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableElement.js","sourceRoot":"","sources":["../../../src/core/element/TableElement.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EAEpB,WAAW,EACX,MAAM,OAAO,CAAC;AACf,OAAO,EAAgB,OAAO,EAAE,SAAS,EAAW,GAAG,EAAE,MAAM,QAAQ,CAAC;AAWxE,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,KAAK,CAAoB;IACzB,KAAK,CAAoB;IACzB,KAAK,CAAoB;IACzB,UAAU,CAA2E;IACrF,KAAK,GAAsB,EAAE,CAAC;IAC9B,UAAU,CAA4D;IACtE,OAAO,GAAY,EAAE,CAAC;IACtB,SAAS,CAAW;IACpB,SAAS,GAAW,EAAE,CAAC;IAEvB,YAAY,KAAyB;QACpC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;Q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G,KAAK,QAAQ,EAAE,CAAC;YAC7B,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;QAClD,CAAC;aAAM,CAAC;YACP,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC7B,CAAC;IACF,CAAC;IAED,UAAU;QACT,IAAI,CAAC,IAAI,CAAC,KAAK;YAAE,OAAO;QACxB,IAAI,CAAC,KAAK,CAAC,SAAS,GAAG,EAAE,CAAC;IAC3B,CAAC;IAED,YAAY,CAAC,MAAc;QAC1B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACnC,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM;QACT,OAAO,IAAI,CAAC,OAAO,CAAC;IACrB,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class TableFootElement extends HTMLTableSectionElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class TableFootElement extends HTMLTableSectionElement {
3
- static TAG = "tc-tfoot-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(TableFootElement.TAG, TableFootElement, { extends: "tfoot" });
10
- //# sourceMappingURL=TableFootElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableFootElement.js","sourceRoot":"","sources":["../../../src/core/element/TableFootElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,gBAAiB,SAAQ,uBAAuB;IAC5D,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { ElementProps, TableCellElement } from "../../";
2
- export declare class TableFootRowElement extends HTMLTableRowElement {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- cells?: TableCellElement[];
6
- });
7
- addCells(...cells: TableCellElement[]): void;
8
- addCell(cell: TableCellElement): TableCellElement;
9
- }
@@ -1,23 +0,0 @@
1
- import { Component } from "../../";
2
- export class TableFootRowElement extends HTMLTableRowElement {
3
- static TAG = "tc-tfoot-row-element";
4
- constructor(props) {
5
- super();
6
- if (props?.cells) {
7
- this.addCells(...props.cells);
8
- }
9
- delete props?.cells;
10
- Component.applyProps(this, props);
11
- }
12
- addCells(...cells) {
13
- cells.forEach((cell) => {
14
- this.appendChild(cell);
15
- });
16
- }
17
- addCell(cell) {
18
- this.appendChild(cell);
19
- return cell;
20
- }
21
- }
22
- TypeComposer.defineElement(TableFootRowElement.TAG, TableFootRowElement, { extends: "tr" });
23
- //# sourceMappingURL=TableFootRowElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableFootRowElement.js","sourceRoot":"","sources":["../../../src/core/element/TableFootRowElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAoB,MAAM,QAAQ,CAAC;AAEnE,MAAM,OAAO,mBAAoB,SAAQ,mBAAmB;IAC3D,MAAM,CAAU,GAAG,GAAW,sBAAsB,CAAC;IACrD,YACC,KAEC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QACD,OAAO,KAAK,EAAE,KAAK,CAAC;QACpB,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IACD,QAAQ,CAAC,GAAG,KAAyB;QACpC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,IAAsB;QAC7B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACvB,OAAO,IAAI,CAAC;IACb,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class TableHeadCellElement extends HTMLTableCellElement {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- colspan?: number;
6
- rowspan?: number;
7
- child?: HTMLElement;
8
- value?: string | number | HTMLElement;
9
- });
10
- }
@@ -1,24 +0,0 @@
1
- import { Component } from "../../";
2
- export class TableHeadCellElement extends HTMLTableCellElement {
3
- static TAG = "tc-th-cell-element";
4
- constructor(props) {
5
- super();
6
- if (props?.colspan)
7
- this.colSpan = props.colspan;
8
- if (props?.rowspan)
9
- this.rowSpan = props.rowspan;
10
- if (props?.value) {
11
- if (props.value instanceof HTMLElement)
12
- this.appendChild(props.value);
13
- else
14
- this.innerHTML = props.value.toString();
15
- }
16
- if (props?.child)
17
- this.appendChild(props.child);
18
- delete props?.child;
19
- delete props?.value;
20
- Component.applyProps(this, props);
21
- }
22
- }
23
- TypeComposer.defineElement(TableHeadCellElement.TAG, TableHeadCellElement, { extends: "th" });
24
- //# sourceMappingURL=TableHeadCellElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableHeadCellElement.js","sourceRoot":"","sources":["../../../src/core/element/TableHeadCellElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,oBAAqB,SAAQ,oBAAoB;IAC7D,MAAM,CAAU,GAAG,GAAW,oBAAoB,CAAC;IACnD,YACC,KAKC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,OAAO;YAAE,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;QACjD,IAAI,KAAK,EAAE,OAAO;YAAE,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;QACjD,IAAI,KAAK,EAAE,KAAK,EAAE,CAAC;YAClB,IAAI,KAAK,CAAC,KAAK,YAAY,WAAW;gBAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;;gBACjE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;QAC9C,CAAC;QACD,IAAI,KAAK,EAAE,KAAK;YAAE,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAChD,OAAO,KAAK,EAAE,KAAK,CAAC;QACpB,OAAO,KAAK,EAAE,KAAK,CAAC;QACpB,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAEF,YAAY,CAAC,aAAa,CAAC,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class TableHeadElement extends HTMLTableSectionElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class TableHeadElement extends HTMLTableSectionElement {
3
- static TAG = "tc-thead-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(TableHeadElement.TAG, TableHeadElement, { extends: "thead" });
10
- //# sourceMappingURL=TableHeadElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableHeadElement.js","sourceRoot":"","sources":["../../../src/core/element/TableHeadElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,gBAAiB,SAAQ,uBAAuB;IAC5D,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- import { ElementProps, TableCellElement } from "../../";
2
- export declare class TableHeadRowElement extends HTMLTableRowElement {
3
- static readonly TAG: string;
4
- value: any[] | undefined;
5
- constructor(props?: ElementProps & {
6
- cells?: TableCellElement[];
7
- value?: any[];
8
- });
9
- addCells(...cells: TableCellElement[]): void;
10
- addCell(cell: TableCellElement): TableCellElement;
11
- }
@@ -1,29 +0,0 @@
1
- import { Component, TableCellElement } from "../../";
2
- export class TableHeadRowElement extends HTMLTableRowElement {
3
- static TAG = "tc-th-row-element";
4
- value;
5
- constructor(props) {
6
- super();
7
- this.value = props?.value;
8
- if (props?.cells) {
9
- this.addCells(...props.cells);
10
- }
11
- else if (this.value) {
12
- this.addCells(...this.value.map((cell) => cell instanceof TableCellElement ? cell : new TableCellElement({ value: cell })));
13
- }
14
- delete props?.cells;
15
- delete props?.value;
16
- Component.applyProps(this, props);
17
- }
18
- addCells(...cells) {
19
- cells.forEach((cell) => {
20
- this.appendChild(cell);
21
- });
22
- }
23
- addCell(cell) {
24
- this.appendChild(cell);
25
- return cell;
26
- }
27
- }
28
- TypeComposer.defineElement(TableHeadRowElement.TAG, TableHeadRowElement, { extends: "tr" });
29
- //# sourceMappingURL=TableHeadRowElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableHeadRowElement.js","sourceRoot":"","sources":["../../../src/core/element/TableHeadRowElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAEnE,MAAM,OAAO,mBAAoB,SAAQ,mBAAmB;IAC3D,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,KAAK,CAAoB;IACzB,YACC,KAGC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,EAAE,KAAK,CAAC;QAC1B,IAAI,KAAK,EAAE,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;aAAM,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACvB,IAAI,CAAC,QAAQ,CAAC,GAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,YAAY,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9H,CAAC;QAED,OAAO,KAAK,EAAE,KAAK,CAAC;QACpB,OAAO,KAAK,EAAE,KAAK,CAAC;QACpB,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IACD,QAAQ,CAAC,GAAG,KAAyB;QACpC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,IAAsB;QAC7B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACvB,OAAO,IAAI,CAAC;IACb,CAAC;;AAEF,YAAY,CAAC,aAAa,CAAC,mBAAmB,CAAC,GAAG,EAAE,mBAAmB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,11 +0,0 @@
1
- import { ElementProps, TableCellElement } from "../../";
2
- export declare class TableRowElement extends HTMLTableRowElement implements IComponent {
3
- static readonly TAG: string;
4
- value: any[] | undefined;
5
- constructor(props?: ElementProps & {
6
- cells?: TableCellElement[];
7
- value?: any[];
8
- });
9
- addCells(...cells: any[]): void;
10
- addCell(cell: any): any;
11
- }
@@ -1,29 +0,0 @@
1
- import { Component, TableCellElement } from "../../";
2
- export class TableRowElement extends HTMLTableRowElement {
3
- static TAG = "tc-tr-element";
4
- value;
5
- constructor(props) {
6
- super();
7
- this.value = props?.value;
8
- if (props?.cells) {
9
- this.addCells(...props.cells);
10
- }
11
- else if (this.value) {
12
- this.addCells(...this.value.map((cell) => cell instanceof TableCellElement ? cell : new TableCellElement({ value: cell })));
13
- }
14
- delete props?.cells;
15
- delete props?.value;
16
- Component.applyProps(this, props);
17
- }
18
- addCells(...cells) {
19
- cells.forEach((cell) => {
20
- this.appendChild(cell);
21
- });
22
- }
23
- addCell(cell) {
24
- this.appendChild(cell);
25
- return cell;
26
- }
27
- }
28
- TypeComposer.defineElement(TableRowElement.TAG, TableRowElement, { extends: "tr" });
29
- //# sourceMappingURL=TableRowElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableRowElement.js","sourceRoot":"","sources":["../../../src/core/element/TableRowElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAEnE,MAAM,OAAO,eAAgB,SAAQ,mBAAmB;IACvD,MAAM,CAAU,GAAG,GAAW,eAAe,CAAC;IAC9C,KAAK,CAAoB;IACzB,YACC,KAGC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,KAAK,GAAG,KAAK,EAAE,KAAK,CAAC;QAC1B,IAAI,KAAK,EAAE,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;aAAM,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACvB,IAAI,CAAC,QAAQ,CAAC,GAAI,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,YAAY,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9H,CAAC;QACD,OAAO,KAAK,EAAE,KAAK,CAAC;QACpB,OAAO,KAAK,EAAE,KAAK,CAAC;QACpB,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IACD,QAAQ,CAAC,GAAG,KAAK;QAChB,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACtB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACxB,CAAC,CAAC,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,IAAI;QACX,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;QACvB,OAAO,IAAI,CAAC;IACb,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,eAAe,CAAC,GAAG,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import { ElementProps, refString } from "../../";
2
- export declare class TextAreaElement extends HTMLTextAreaElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- value?: refString;
6
- });
7
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class TextAreaElement extends HTMLTextAreaElement {
3
- static TAG = "tc-textarea-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(TextAreaElement.TAG, TextAreaElement, { extends: "textarea" });
10
- //# sourceMappingURL=TextAreaElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextAreaElement.js","sourceRoot":"","sources":["../../../src/core/element/TextAreaElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAa,MAAM,QAAQ,CAAC;AAE5D,MAAM,OAAO,eAAgB,SAAQ,mBAAmB;IACvD,MAAM,CAAU,GAAG,GAAW,qBAAqB,CAAC;IACpD,YAAY,KAA4C;QACvD,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,eAAe,CAAC,GAAG,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class UListElement extends HTMLUListElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class UListElement extends HTMLUListElement {
3
- static TAG = "tc-ul-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(UListElement.TAG, UListElement, { extends: "ul" });
10
- //# sourceMappingURL=UListElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UListElement.js","sourceRoot":"","sources":["../../../src/core/element/UListElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,eAAe,CAAC;IAC9C,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,13 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class VideoElement extends HTMLVideoElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- autoplay?: boolean;
6
- controls?: boolean;
7
- loop?: boolean;
8
- muted?: boolean;
9
- poster?: string;
10
- preload?: "auto" | "metadata" | "none";
11
- src?: string;
12
- });
13
- }
@@ -1,16 +0,0 @@
1
- import { Component, SourceElement } from "../../";
2
- // <video>
3
- export class VideoElement extends HTMLVideoElement {
4
- static TAG = "tc-video-element";
5
- constructor(props) {
6
- super();
7
- const src = props?.src;
8
- delete props?.src;
9
- if (src) {
10
- this.appendChild(new SourceElement({ src: src }));
11
- }
12
- Component.applyProps(this, props);
13
- }
14
- }
15
- TypeComposer.defineElement(VideoElement.TAG, VideoElement, { extends: "video" });
16
- //# sourceMappingURL=VideoElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VideoElement.js","sourceRoot":"","sources":["../../../src/core/element/VideoElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAChE,UAAU;AACV,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,YACC,KAQC;QAED,KAAK,EAAE,CAAC;QACR,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC;QACvB,OAAO,KAAK,EAAE,GAAG,CAAC;QAClB,IAAI,GAAG,EAAE,CAAC;YACT,IAAI,CAAC,WAAW,CAAC,IAAI,aAAa,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;QACnD,CAAC;QACD,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC"}