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,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class H3Element extends HTMLHeadingElement {
3
- static TAG = "tc-h3-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(H3Element.TAG, H3Element, { extends: "h3" });
10
- //# sourceMappingURL=H3Element.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"H3Element.js","sourceRoot":"","sources":["../../../src/core/element/H3Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,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,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class H4Element extends HTMLHeadingElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class H4Element extends HTMLHeadingElement {
3
- static TAG = "tc-h4-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(H4Element.TAG, H4Element, { extends: "h4" });
10
- //# sourceMappingURL=H4Element.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"H4Element.js","sourceRoot":"","sources":["../../../src/core/element/H4Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,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,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class H5Element extends HTMLHeadingElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class H5Element extends HTMLHeadingElement {
3
- static TAG = "tc-h5-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(H5Element.TAG, H5Element, { extends: "h5" });
10
- //# sourceMappingURL=H5Element.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"H5Element.js","sourceRoot":"","sources":["../../../src/core/element/H5Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,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,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class H6Element extends HTMLHeadingElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class H6Element extends HTMLHeadingElement {
3
- static TAG = "tc-h6-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(H6Element.TAG, H6Element, { extends: "h6" });
10
- //# sourceMappingURL=H6Element.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"H6Element.js","sourceRoot":"","sources":["../../../src/core/element/H6Element.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,SAAU,SAAQ,kBAAkB;IAChD,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,SAAS,CAAC,GAAG,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class HeadElement extends HTMLHeadElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,11 +0,0 @@
1
- import { Component } from "../../";
2
- // <head>
3
- export class HeadElement extends HTMLHeadElement {
4
- static TAG = "tc-head-element";
5
- constructor(props) {
6
- super();
7
- Component.applyProps(this, props);
8
- }
9
- }
10
- TypeComposer.defineElement(HeadElement.TAG, HeadElement, { extends: "head" });
11
- //# sourceMappingURL=HeadElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeadElement.js","sourceRoot":"","sources":["../../../src/core/element/HeadElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,SAAS;AACT,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IAChD,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class HeaderElement extends HTMLElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,13 +0,0 @@
1
- import { Component } from "../../";
2
- // <header>
3
- export class HeaderElement extends HTMLElement {
4
- static TAG = "tc-header-element";
5
- constructor(props) {
6
- super();
7
- Component.applyProps(this, props);
8
- }
9
- }
10
- TypeComposer.defineElement(HeaderElement.TAG, HeaderElement, {
11
- extends: "header",
12
- });
13
- //# sourceMappingURL=HeaderElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HeaderElement.js","sourceRoot":"","sources":["../../../src/core/element/HeaderElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC7C,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,YAAY,KAAoB;QAC/B,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE;IAC5D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class HorizontalRuleElement extends HTMLHRElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,13 +0,0 @@
1
- import { Component } from "../../";
2
- // <hr>
3
- export class HorizontalRuleElement extends HTMLHRElement {
4
- static TAG = "tc-hr-element";
5
- constructor(props) {
6
- super();
7
- Component.applyProps(this, props);
8
- }
9
- }
10
- TypeComposer.defineElement(HorizontalRuleElement.TAG, HorizontalRuleElement, {
11
- extends: "hr",
12
- });
13
- //# sourceMappingURL=HorizontalRuleElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HorizontalRuleElement.js","sourceRoot":"","sources":["../../../src/core/element/HorizontalRuleElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,OAAO;AACP,MAAM,OAAO,qBAAsB,SAAQ,aAAa;IACvD,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,qBAAqB,CAAC,GAAG,EAAE,qBAAqB,EAAE;IAC5E,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class HtmlElement extends HTMLHtmlElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- manifest?: string;
6
- });
7
- set manifest(value: string);
8
- get manifest(): string;
9
- }
@@ -1,19 +0,0 @@
1
- import { Component } from "../../";
2
- // <html>
3
- export class HtmlElement extends HTMLHtmlElement {
4
- static TAG = "tc-html-element";
5
- constructor(props) {
6
- super();
7
- if (props?.manifest)
8
- this.manifest = props.manifest;
9
- Component.applyProps(this, props);
10
- }
11
- set manifest(value) {
12
- this.setAttribute("manifest", value);
13
- }
14
- get manifest() {
15
- return this.getAttribute("manifest");
16
- }
17
- }
18
- TypeComposer.defineElement(HtmlElement.TAG, HtmlElement, { extends: "html" });
19
- //# sourceMappingURL=HtmlElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HtmlElement.js","sourceRoot":"","sources":["../../../src/core/element/HtmlElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AACjD,SAAS;AAET,MAAM,OAAO,WAAY,SAAQ,eAAe;IAC/C,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IAChD,YACC,KAEC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,QAAQ;YAAE,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAe,CAAC;QAC3D,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IACD,IAAI,QAAQ,CAAC,KAAa;QACzB,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC;IACtC,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;IACtC,CAAC;;AAEF,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC"}
@@ -1,28 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class IFrameElement extends HTMLIFrameElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- allow?: string;
6
- allowfullscreen?: boolean;
7
- allowpaymentrequest?: boolean;
8
- csp?: string;
9
- height?: number;
10
- importance?: "auto" | "high" | "low";
11
- loading?: "eager" | "lazy";
12
- name?: string;
13
- referrerpolicy?: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
14
- src?: string;
15
- srcdoc?: string;
16
- width?: number;
17
- });
18
- set allowfullscreen(value: boolean);
19
- get allowfullscreen(): boolean;
20
- set allowpaymentrequest(value: boolean);
21
- get allowpaymentrequest(): boolean;
22
- set csp(value: string);
23
- get csp(): string;
24
- set importance(value: "auto" | "high" | "low");
25
- get importance(): "auto" | "high" | "low";
26
- set referrerpolicy(value: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url");
27
- get referrerpolicy(): string;
28
- }
@@ -1,67 +0,0 @@
1
- import { Component } from "../../";
2
- // <iframe>
3
- export class IFrameElement extends HTMLIFrameElement {
4
- static TAG = "tc-iframe-element";
5
- constructor(props) {
6
- super();
7
- if (props?.allow)
8
- this.allow = props.allow;
9
- if (props?.allowfullscreen)
10
- this.allowfullscreen = props.allowfullscreen;
11
- if (props?.allowpaymentrequest)
12
- this.allowpaymentrequest = props.allowpaymentrequest;
13
- if (props?.csp)
14
- this.csp = props.csp;
15
- if (props?.height)
16
- this.height = props.height;
17
- if (props?.importance)
18
- this.importance = props.importance;
19
- if (props?.loading)
20
- this.loading = props.loading;
21
- if (props?.name)
22
- this.name = props.name;
23
- if (props?.referrerpolicy)
24
- this.referrerpolicy = props.referrerpolicy;
25
- if (props?.src)
26
- this.src = props.src;
27
- if (props?.srcdoc)
28
- this.srcdoc = props.srcdoc;
29
- if (props?.width)
30
- this.width = props.width;
31
- Component.applyProps(this, props);
32
- }
33
- set allowfullscreen(value) {
34
- this.setAttribute("allowfullscreen", value.toString());
35
- }
36
- get allowfullscreen() {
37
- return this.getAttribute("allowfullscreen") == "true";
38
- }
39
- set allowpaymentrequest(value) {
40
- this.setAttribute("allowpaymentrequest", value.toString());
41
- }
42
- get allowpaymentrequest() {
43
- return this.getAttribute("allowpaymentrequest") == "true";
44
- }
45
- set csp(value) {
46
- this.setAttribute("csp", value);
47
- }
48
- get csp() {
49
- return this.getAttribute("csp");
50
- }
51
- set importance(value) {
52
- this.setAttribute("importance", value);
53
- }
54
- get importance() {
55
- return this.getAttribute("importance");
56
- }
57
- set referrerpolicy(value) {
58
- this.setAttribute("referrerpolicy", value);
59
- }
60
- get referrerpolicy() {
61
- return this.getAttribute("referrerpolicy");
62
- }
63
- }
64
- TypeComposer.defineElement(IFrameElement.TAG, IFrameElement, {
65
- extends: "iframe",
66
- });
67
- //# sourceMappingURL=IFrameElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IFrameElement.js","sourceRoot":"","sources":["../../../src/core/element/IFrameElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IACnD,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,YACC,KAqBC;QAED,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,KAAK;YAAE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,KAAY,CAAC;QAClD,IAAI,KAAK,EAAE,eAAe;Y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Ac;QAC5C,IAAI,CAAC,YAAY,CAAC,qBAAqB,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED,IAAW,mBAAmB;QAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,qBAAqB,CAAC,IAAI,MAAM,CAAC;IAC3D,CAAC;IAED,IAAW,GAAG,CAAC,KAAa;QAC3B,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACjC,CAAC;IAED,IAAW,GAAG;QACb,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IACjC,CAAC;IAED,IAAW,UAAU,CAAC,KAA8B;QACnD,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;IACxC,CAAC;IAED,IAAW,UAAU;QACpB,OAAO,IAAI,CAAC,YAAY,CAAC,YAAY,CAAQ,CAAC;IAC/C,CAAC;IAED,IAAW,cAAc,CACxB,KAQe;QAEf,IAAI,CAAC,YAAY,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;IAED,IAAW,cAAc;QACxB,OAAO,IAAI,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE;IAC5D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import { ElementProps, Component } from "../../";
2
- export declare class ILayout extends Component {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps);
5
- }
@@ -1,9 +0,0 @@
1
- import { Component } from "../../";
2
- export class ILayout extends Component {
3
- static TAG = "tc-layout-element";
4
- constructor(props) {
5
- super(props);
6
- }
7
- }
8
- TypeComposer.defineElement(ILayout.TAG, ILayout);
9
- //# sourceMappingURL=ILayout.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ILayout.js","sourceRoot":"","sources":["../../../src/core/element/ILayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,OAAQ,SAAQ,SAAS;IACrC,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,YAAY,KAAoB;QAC/B,KAAK,CAAC,KAAK,CAAC,CAAC;IACd,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC"}
@@ -1,14 +0,0 @@
1
- import { Component, ElementProps, refString } from "../..";
2
- export declare class IconElement extends Component {
3
- static readonly TAG: string;
4
- private _icon;
5
- constructor(props?: ElementProps & {
6
- icon?: refString;
7
- src?: string;
8
- alt?: string;
9
- });
10
- get icon(): string;
11
- set icon(value: refString);
12
- get color(): string;
13
- set color(value: refString);
14
- }
@@ -1,32 +0,0 @@
1
- import { Component, ref } from "../..";
2
- export class IconElement extends Component {
3
- static TAG = "tc-icon-element";
4
- _icon = ref("");
5
- constructor(props) {
6
- super(props);
7
- if (props != undefined && props.icon != undefined)
8
- this.icon = props.icon;
9
- }
10
- get icon() {
11
- return this._icon.value;
12
- }
13
- set icon(value) {
14
- if (typeof value !== "string")
15
- this["_styleref"].appendStyleref("icon", this, value);
16
- else {
17
- const splice = value.split(" ");
18
- splice.forEach((v) => {
19
- this.addClassName(v);
20
- });
21
- }
22
- }
23
- get color() {
24
- // @ts-ignore
25
- return this.style.color;
26
- }
27
- set color(value) {
28
- this.style.color = value;
29
- }
30
- }
31
- TypeComposer.defineElement(IconElement.TAG, IconElement);
32
- //# sourceMappingURL=IconElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconElement.js","sourceRoot":"","sources":["../../../src/core/element/IconElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgB,GAAG,EAAa,MAAM,OAAO,CAAC;AAEhE,MAAM,OAAO,WAAY,SAAQ,SAAS;IACxC,MAAM,CAAU,GAAG,GAAW,iBAAiB,CAAC;IACxC,KAAK,GAAG,GAAG,CAAC,EAAE,CAAC,CAAC;IAExB,YACE,KAIC;QAED,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,CAAC,IAAI,IAAI,SAAS;YAAE,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;IAC5E,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC1B,CAAC;IAED,IAAI,IAAI,CAAC,KAAgB;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ;YAAE,IAAI,CAAC,WAAW,CAAC,CAAC,cAAc,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;aAChF,CAAC;YACJ,MAAM,MAAM,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAChC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;gBACnB,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;YACvB,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,IAAI,KAAK;QACP,aAAa;QACb,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;IAC1B,CAAC;IAED,IAAI,KAAK,CAAC,KAAgB;QACxB,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,KAAK,CAAC;IAC3B,CAAC;;AAEH,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { Component } from "../..";
2
- export declare class IdiomaticElement extends Component {
3
- static readonly TAG: string;
4
- }
@@ -1,6 +0,0 @@
1
- import { Component } from "../..";
2
- export class IdiomaticElement extends Component {
3
- static TAG = "tc-i-element";
4
- }
5
- TypeComposer.defineElement(IdiomaticElement.TAG, IdiomaticElement, { extends: "i" });
6
- //# sourceMappingURL=IdiomaticElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IdiomaticElement.js","sourceRoot":"","sources":["../../../src/core/element/IdiomaticElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC3C,MAAM,CAAU,GAAG,GAAW,cAAc,CAAC;;AAEjD,YAAY,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,EAAE,gBAAgB,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC"}
@@ -1,19 +0,0 @@
1
- import { ElementProps, refString, refNumber } from "../../";
2
- export declare class ImageElement extends HTMLImageElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- src?: string | refString;
6
- alt?: string | refString;
7
- lazy?: boolean;
8
- loading?: "eager" | "lazy" | "auto";
9
- decoding?: "sync" | "async" | "auto";
10
- sizes?: string;
11
- srcset?: string;
12
- crossOrigin?: "anonymous" | "use-credentials";
13
- width?: number | refNumber | string | refString;
14
- height?: number | refNumber | string | refString;
15
- referrerPolicy?: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
16
- importance?: "auto" | "high" | "low" | "none";
17
- referrerpolicy?: "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
18
- });
19
- }
@@ -1,17 +0,0 @@
1
- import { Component } from "../../";
2
- export class ImageElement extends HTMLImageElement {
3
- static TAG = "tc-img-element";
4
- constructor(props) {
5
- super();
6
- this.className = "image-element";
7
- const src = props?.src;
8
- delete props?.src;
9
- Component.applyProps(this, props);
10
- // @ts-ignore
11
- if (src)
12
- this.src = src;
13
- this.onload;
14
- }
15
- }
16
- TypeComposer.defineElement(ImageElement.TAG, ImageElement, { extends: "img" });
17
- //# sourceMappingURL=ImageElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImageElement.js","sourceRoot":"","sources":["../../../src/core/element/ImageElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAwB,MAAM,QAAQ,CAAC;AAEvE,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,gBAAgB,CAAC;IAC/C,YAAY,KAYX;QACA,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,SAAS,GAAG,eAAe,CAAC;QACjC,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC;QACvB,OAAO,KAAK,EAAE,GAAG,CAAC;QAClB,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,aAAa;QACb,IAAI,GAAG;YAAE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACxB,IAAI,CAAC,MAAM,CAAC;IACb,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC"}
@@ -1,19 +0,0 @@
1
- import { ElementProps, refString, refNumber, ref } from "../../";
2
- import { RegisterOptions } from "../app/Validate";
3
- export type InputType = "text" | "password" | "checkbox" | "radio" | "submit" | "reset" | "file" | "hidden" | "image" | "button" | "color" | "date" | "datetime-local" | "email" | "month" | "number" | "range" | "search" | "tel" | "time" | "url" | "week";
4
- export interface InputElementProps extends ElementProps<HTMLInputElement, "checked" | "value"> {
5
- type?: InputType;
6
- checked?: boolean | ref<boolean>;
7
- value?: string | number | refString | refNumber;
8
- delay?: number;
9
- validation?: RegisterOptions;
10
- oninputDelay?: (value: string) => void;
11
- }
12
- export declare class InputElement extends HTMLInputElement implements IComponent {
13
- #private;
14
- static readonly TAG: string;
15
- constructor(props?: InputElementProps);
16
- get validation(): RegisterOptions | undefined;
17
- set validation(value: RegisterOptions | undefined);
18
- private __checkValidity;
19
- }
@@ -1,81 +0,0 @@
1
- import { Component } from "../../";
2
- export class InputElement extends HTMLInputElement {
3
- static TAG = "tc-input-element";
4
- #validation;
5
- #checkValidity;
6
- constructor(props) {
7
- super();
8
- if (props?.accept)
9
- this.accept = props.accept;
10
- this.multiple = props?.multiple || false;
11
- // @ts-ignore
12
- this.readOnly = props?.readOnly || false;
13
- Component.applyProps(this, props);
14
- if (props?.oninputDelay) {
15
- const delay = props.delay ?? 250;
16
- let timeoutId;
17
- this.addEventListener("input", () => {
18
- clearTimeout(timeoutId);
19
- timeoutId = window.setTimeout(() => {
20
- props.oninputDelay?.(this.value);
21
- }, delay);
22
- });
23
- }
24
- if (props?.maxLength !== undefined)
25
- this.maxLength = props?.maxLength.valueOf();
26
- if (props?.minLength !== undefined)
27
- this.minLength = props?.minLength;
28
- if (props?.min !== undefined)
29
- this.min = props?.min;
30
- if (props?.max !== undefined)
31
- this.max = props?.max;
32
- if (props?.pattern)
33
- this.pattern = props?.pattern;
34
- if (props?.required)
35
- this.required = props?.required || false;
36
- }
37
- get validation() {
38
- return this.#validation;
39
- }
40
- set validation(value) {
41
- this.#validation = value;
42
- if (this.#checkValidity)
43
- this.removeEventListener("input", this.#checkValidity);
44
- this.#checkValidity = undefined;
45
- if (value) {
46
- this.#checkValidity = this.__checkValidity.bind(this);
47
- this.addEventListener("input", this.#checkValidity);
48
- }
49
- }
50
- __checkValidity() {
51
- if (!this.validation)
52
- return;
53
- let validationMessage = this.validationMessage;
54
- if (this.validation.required && !this.value) {
55
- validationMessage = "Required field";
56
- }
57
- else if (this.validation.minLength !== undefined && this.value.length < this.validation.minLength) {
58
- validationMessage = `Minimum length is ${this.validation.minLength}`;
59
- }
60
- else if (this.validation.maxLength !== undefined && this.value.length > this.validation.maxLength) {
61
- validationMessage = `Maximum length is ${this.validation.maxLength}`;
62
- }
63
- else if (this.validation.min !== undefined && Number(this.value.toString()) < Number(this.validation.min)) {
64
- validationMessage = `Minimum value is ${this.validation.min}`;
65
- }
66
- else if (this.validation.max !== undefined && Number(this.value) > Number(this.validation.max)) {
67
- validationMessage = `Maximum value is ${this.validation.max}`;
68
- }
69
- else if (this.validation.pattern && !this.validation.pattern.test(this.value)) {
70
- validationMessage = "Invalid value";
71
- }
72
- else
73
- validationMessage = "";
74
- if (validationMessage !== this.validationMessage) {
75
- this.setCustomValidity(validationMessage);
76
- this.reportValidity();
77
- }
78
- }
79
- }
80
- TypeComposer.defineElement(InputElement.TAG, InputElement, { extends: "input" });
81
- //# sourceMappingURL=InputElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputElement.js","sourceRoot":"","sources":["../../../src/core/element/InputElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAA6B,MAAM,QAAQ,CAAC;AA4C5E,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,WAAW,CAAmB;IAC9B,cAAc,CAAC;IACf,YAAY,KAAyB;QACpC,KAAK,EAAE,CAAC;QACR,IAAI,KAAK,EAAE,MAAM;YAAE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC9C,IAAI,CAAC,QAAQ,GAAG,KAAK,EAAE,QAAQ,IAAI,KAAK,CAAC;QACzC,aAAa;QACb,IAAI,CAAC,QAAQ,GAAG,KAAK,EAAE,QAAQ,IAAI,KAAK,CAAC;QACzC,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,EAAE,YAAY,EAAE,CAAC;YACzB,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,IAAI,GAAG,CAAC;YACjC,IAAI,SAAiB,CAAC;YACtB,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,GAAG,EAAE;gBACnC,YAAY,CAAC,SAAS,CAAC,CAAC;gBACxB,SAAS,GAAG,MAAM,CAAC,UAAU,CAAC,GAAG,EAAE;oBAClC,KAAK,CAAC,YAAY,EAAE,CAAC,IAAI,CA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CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YACjF,iBAAiB,GAAG,eAAe,CAAC;QACrC,CAAC;;YACA,iBAAiB,GAAG,EAAE,CAAC;QACxB,IAAI,iBAAiB,KAAK,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAClD,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;YAC1C,IAAI,CAAC,cAAc,EAAE,CAAC;QACvB,CAAC;IACF,CAAC;;AAKF,YAAY,CAAC,aAAa,CAAC,YAAY,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,CAAC"}
@@ -1,8 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class LabelElement extends HTMLLabelElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- for?: string;
6
- text?: string;
7
- });
8
- }
@@ -1,10 +0,0 @@
1
- import { Component } from "../../";
2
- export class LabelElement extends HTMLLabelElement {
3
- static TAG = "tc-label-element";
4
- constructor(props) {
5
- super();
6
- Component.applyProps(this, props);
7
- }
8
- }
9
- TypeComposer.defineElement(LabelElement.TAG, LabelElement, { extends: "label" });
10
- //# sourceMappingURL=LabelElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LabelElement.js","sourceRoot":"","sources":["../../../src/core/element/LabelElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEjD,MAAM,OAAO,YAAa,SAAQ,gBAAgB;IACjD,MAAM,CAAU,GAAG,GAAW,kBAAkB,CAAC;IACjD,YAAY,KAAsD;QACjE,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,OAAO,EAAE,CAAC,CAAC"}
@@ -1,7 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class LegendElement extends HTMLLegendElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- value?: number;
6
- });
7
- }
@@ -1,15 +0,0 @@
1
- import { Component } from "../../";
2
- // <legend>
3
- export class LegendElement extends HTMLLegendElement {
4
- static TAG = "tc-legend-element";
5
- constructor(props) {
6
- super();
7
- Component.applyProps(this, props);
8
- if (props?.value)
9
- this.innerHTML = props.value;
10
- }
11
- }
12
- TypeComposer.defineElement(LegendElement.TAG, LegendElement, {
13
- extends: "legend",
14
- });
15
- //# sourceMappingURL=LegendElement.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LegendElement.js","sourceRoot":"","sources":["../../../src/core/element/LegendElement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,SAAS,EAAE,MAAM,QAAQ,CAAC;AACjD,WAAW;AACX,MAAM,OAAO,aAAc,SAAQ,iBAAiB;IACnD,MAAM,CAAU,GAAG,GAAW,mBAAmB,CAAC;IAClD,YACC,KAEC;QAED,KAAK,EAAE,CAAC;QACR,SAAS,CAAC,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAClC,IAAI,KAAK,EAAE,KAAK;YAAE,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,KAAY,CAAC;IACvD,CAAC;;AAGF,YAAY,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,EAAE,aAAa,EAAE;IAC5D,OAAO,EAAE,QAAQ;CACjB,CAAC,CAAC"}
@@ -1,12 +0,0 @@
1
- import { ElementProps } from "../../";
2
- export declare class ListItemElement<T = any> extends HTMLLIElement implements IComponent {
3
- static readonly TAG: string;
4
- constructor(props?: ElementProps & {
5
- draggable?: boolean;
6
- });
7
- item: T | undefined;
8
- removeItem(): void;
9
- set draggable(value: boolean);
10
- get draggable(): boolean;
11
- onSelect(): void;
12
- }