amateras 0.7.4 → 0.10.1

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 (257) hide show
  1. package/README.md +76 -85
  2. package/package.json +29 -33
  3. package/tsconfig.json +4 -3
  4. package/packages/core/package.json +0 -32
  5. package/packages/core/src/env.browser.ts +0 -21
  6. package/packages/core/src/env.node.ts +0 -21
  7. package/packages/core/src/global.ts +0 -18
  8. package/packages/core/src/index.ts +0 -96
  9. package/packages/core/src/lib/assignNodeProperties.ts +0 -11
  10. package/packages/core/src/lib/assignProperties.ts +0 -57
  11. package/packages/core/src/lib/chain.ts +0 -17
  12. package/packages/core/src/lib/dom.ts +0 -20
  13. package/packages/core/src/main.ts +0 -4
  14. package/packages/core/src/node/$Element.ts +0 -366
  15. package/packages/core/src/node/$EventTarget.ts +0 -48
  16. package/packages/core/src/node/$HTMLElement.ts +0 -99
  17. package/packages/core/src/node/$Node.ts +0 -201
  18. package/packages/core/src/node/$Virtual.ts +0 -65
  19. package/packages/css/README.md +0 -128
  20. package/packages/css/package.json +0 -17
  21. package/packages/css/src/ext/colors/amber.ts +0 -25
  22. package/packages/css/src/ext/colors/blackwhite.ts +0 -13
  23. package/packages/css/src/ext/colors/blue.ts +0 -25
  24. package/packages/css/src/ext/colors/cyan.ts +0 -25
  25. package/packages/css/src/ext/colors/emerald.ts +0 -25
  26. package/packages/css/src/ext/colors/fuchsia.ts +0 -25
  27. package/packages/css/src/ext/colors/gray.ts +0 -25
  28. package/packages/css/src/ext/colors/green.ts +0 -25
  29. package/packages/css/src/ext/colors/indigo.ts +0 -25
  30. package/packages/css/src/ext/colors/lime.ts +0 -25
  31. package/packages/css/src/ext/colors/neutral.ts +0 -25
  32. package/packages/css/src/ext/colors/orange.ts +0 -25
  33. package/packages/css/src/ext/colors/pink.ts +0 -25
  34. package/packages/css/src/ext/colors/purple.ts +0 -25
  35. package/packages/css/src/ext/colors/red.ts +0 -25
  36. package/packages/css/src/ext/colors/rose.ts +0 -25
  37. package/packages/css/src/ext/colors/sky.ts +0 -25
  38. package/packages/css/src/ext/colors/slate.ts +0 -25
  39. package/packages/css/src/ext/colors/stone.ts +0 -25
  40. package/packages/css/src/ext/colors/teal.ts +0 -25
  41. package/packages/css/src/ext/colors/violet.ts +0 -25
  42. package/packages/css/src/ext/colors/yellow.ts +0 -25
  43. package/packages/css/src/ext/colors/zinc.ts +0 -25
  44. package/packages/css/src/ext/colors.ts +0 -23
  45. package/packages/css/src/ext/container.ts +0 -32
  46. package/packages/css/src/ext/keyframes.ts +0 -54
  47. package/packages/css/src/ext/media.ts +0 -32
  48. package/packages/css/src/ext/property.ts +0 -48
  49. package/packages/css/src/ext/variable.ts +0 -51
  50. package/packages/css/src/index.ts +0 -436
  51. package/packages/css/src/lib/colorAssign.ts +0 -6
  52. package/packages/css/src/lib/utils.ts +0 -11
  53. package/packages/css/src/structure/$CSSContainerRule.ts +0 -13
  54. package/packages/css/src/structure/$CSSDeclaration.ts +0 -16
  55. package/packages/css/src/structure/$CSSKeyframesRule.ts +0 -13
  56. package/packages/css/src/structure/$CSSMediaRule.ts +0 -10
  57. package/packages/css/src/structure/$CSSProperty.ts +0 -19
  58. package/packages/css/src/structure/$CSSRule.ts +0 -13
  59. package/packages/css/src/structure/$CSSStyleRule.ts +0 -14
  60. package/packages/css/src/structure/$CSSVariable.ts +0 -30
  61. package/packages/dom/package.json +0 -20
  62. package/packages/dom/src/lib/HTMLElementMap.ts +0 -213
  63. package/packages/dom/src/lib/assignAttributes.ts +0 -16
  64. package/packages/dom/src/structure/CSS.ts +0 -7
  65. package/packages/dom/src/structure/CSSStyleSheet.ts +0 -10
  66. package/packages/dom/src/structure/DOMTokenList.ts +0 -19
  67. package/packages/dom/src/structure/Document.ts +0 -36
  68. package/packages/dom/src/structure/Element.ts +0 -106
  69. package/packages/dom/src/structure/HTMLElement.ts +0 -34
  70. package/packages/dom/src/structure/History.ts +0 -11
  71. package/packages/dom/src/structure/Location.ts +0 -9
  72. package/packages/dom/src/structure/Node.ts +0 -51
  73. package/packages/dom/src/structure/NodeList.ts +0 -10
  74. package/packages/dom/src/structure/Storage.ts +0 -8
  75. package/packages/dom/src/structure/Text.ts +0 -20
  76. package/packages/dom/src/structure/Window.ts +0 -14
  77. package/packages/dom/src/structure/html/HTMLAbbrElement.ts +0 -16
  78. package/packages/dom/src/structure/html/HTMLAddressElement.ts +0 -16
  79. package/packages/dom/src/structure/html/HTMLAnchorElement.ts +0 -25
  80. package/packages/dom/src/structure/html/HTMLAreaElement.ts +0 -26
  81. package/packages/dom/src/structure/html/HTMLArticleElement.ts +0 -16
  82. package/packages/dom/src/structure/html/HTMLAsideElement.ts +0 -16
  83. package/packages/dom/src/structure/html/HTMLAudioElement.ts +0 -16
  84. package/packages/dom/src/structure/html/HTMLBDIElement.ts +0 -16
  85. package/packages/dom/src/structure/html/HTMLBDOElement.ts +0 -16
  86. package/packages/dom/src/structure/html/HTMLBElement.ts +0 -16
  87. package/packages/dom/src/structure/html/HTMLBRElement.ts +0 -17
  88. package/packages/dom/src/structure/html/HTMLBaseElement.ts +0 -18
  89. package/packages/dom/src/structure/html/HTMLBodyElement.ts +0 -22
  90. package/packages/dom/src/structure/html/HTMLButtonElement.ts +0 -26
  91. package/packages/dom/src/structure/html/HTMLCanvasElement.ts +0 -18
  92. package/packages/dom/src/structure/html/HTMLCiteElement.ts +0 -16
  93. package/packages/dom/src/structure/html/HTMLCodeElement.ts +0 -16
  94. package/packages/dom/src/structure/html/HTMLDDElement.ts +0 -16
  95. package/packages/dom/src/structure/html/HTMLDFNElement.ts +0 -16
  96. package/packages/dom/src/structure/html/HTMLDListElement.ts +0 -17
  97. package/packages/dom/src/structure/html/HTMLDTElement.ts +0 -16
  98. package/packages/dom/src/structure/html/HTMLDataElement.ts +0 -17
  99. package/packages/dom/src/structure/html/HTMLDataListElement.ts +0 -16
  100. package/packages/dom/src/structure/html/HTMLDetailsElement.ts +0 -17
  101. package/packages/dom/src/structure/html/HTMLDialogElement.ts +0 -18
  102. package/packages/dom/src/structure/html/HTMLDivElement.ts +0 -17
  103. package/packages/dom/src/structure/html/HTMLEMElement.ts +0 -16
  104. package/packages/dom/src/structure/html/HTMLEmbedElement.ts +0 -20
  105. package/packages/dom/src/structure/html/HTMLFieldSetElement.ts +0 -19
  106. package/packages/dom/src/structure/html/HTMLFigCaptionElement.ts +0 -16
  107. package/packages/dom/src/structure/html/HTMLFigureElement.ts +0 -16
  108. package/packages/dom/src/structure/html/HTMLFooterElement.ts +0 -16
  109. package/packages/dom/src/structure/html/HTMLFormElement.ts +0 -24
  110. package/packages/dom/src/structure/html/HTMLHGroupElement.ts +0 -16
  111. package/packages/dom/src/structure/html/HTMLHRElement.ts +0 -21
  112. package/packages/dom/src/structure/html/HTMLHeadElement.ts +0 -16
  113. package/packages/dom/src/structure/html/HTMLHeaderElement.ts +0 -16
  114. package/packages/dom/src/structure/html/HTMLHeadingElement.ts +0 -17
  115. package/packages/dom/src/structure/html/HTMLHtmlElement.ts +0 -18
  116. package/packages/dom/src/structure/html/HTMLIElement.ts +0 -16
  117. package/packages/dom/src/structure/html/HTMLIFrameElement.ts +0 -31
  118. package/packages/dom/src/structure/html/HTMLImageElement.ts +0 -38
  119. package/packages/dom/src/structure/html/HTMLInputElement.ts +0 -55
  120. package/packages/dom/src/structure/html/HTMLKBDElement.ts +0 -16
  121. package/packages/dom/src/structure/html/HTMLLIElement.ts +0 -18
  122. package/packages/dom/src/structure/html/HTMLLabelElement.ts +0 -18
  123. package/packages/dom/src/structure/html/HTMLLegendElement.ts +0 -17
  124. package/packages/dom/src/structure/html/HTMLLinkElement.ts +0 -31
  125. package/packages/dom/src/structure/html/HTMLMainElement.ts +0 -16
  126. package/packages/dom/src/structure/html/HTMLMapElement.ts +0 -17
  127. package/packages/dom/src/structure/html/HTMLMarkElement.ts +0 -16
  128. package/packages/dom/src/structure/html/HTMLMediaElement.ts +0 -48
  129. package/packages/dom/src/structure/html/HTMLMenuElement.ts +0 -18
  130. package/packages/dom/src/structure/html/HTMLMetaElement.ts +0 -22
  131. package/packages/dom/src/structure/html/HTMLMeterElement.ts +0 -23
  132. package/packages/dom/src/structure/html/HTMLModElement.ts +0 -18
  133. package/packages/dom/src/structure/html/HTMLNavElement.ts +0 -16
  134. package/packages/dom/src/structure/html/HTMLNoscriptElement.ts +0 -16
  135. package/packages/dom/src/structure/html/HTMLOListElement.ts +0 -20
  136. package/packages/dom/src/structure/html/HTMLObjectElement.ts +0 -34
  137. package/packages/dom/src/structure/html/HTMLOptGroupElement.ts +0 -18
  138. package/packages/dom/src/structure/html/HTMLOptionElement.ts +0 -20
  139. package/packages/dom/src/structure/html/HTMLOutputElement.ts +0 -20
  140. package/packages/dom/src/structure/html/HTMLParagraphElement.ts +0 -17
  141. package/packages/dom/src/structure/html/HTMLPictureElement.ts +0 -16
  142. package/packages/dom/src/structure/html/HTMLPreElement.ts +0 -17
  143. package/packages/dom/src/structure/html/HTMLProgressElement.ts +0 -19
  144. package/packages/dom/src/structure/html/HTMLQuoteElement.ts +0 -17
  145. package/packages/dom/src/structure/html/HTMLRPElement.ts +0 -16
  146. package/packages/dom/src/structure/html/HTMLRTElement.ts +0 -16
  147. package/packages/dom/src/structure/html/HTMLRubyElement.ts +0 -16
  148. package/packages/dom/src/structure/html/HTMLSElement.ts +0 -16
  149. package/packages/dom/src/structure/html/HTMLSampElement.ts +0 -16
  150. package/packages/dom/src/structure/html/HTMLScriptElement.ts +0 -27
  151. package/packages/dom/src/structure/html/HTMLSectionElement.ts +0 -16
  152. package/packages/dom/src/structure/html/HTMLSelectElement.ts +0 -27
  153. package/packages/dom/src/structure/html/HTMLSlotElement.ts +0 -17
  154. package/packages/dom/src/structure/html/HTMLSmallElement.ts +0 -16
  155. package/packages/dom/src/structure/html/HTMLSourceElement.ts +0 -21
  156. package/packages/dom/src/structure/html/HTMLSpanElement.ts +0 -16
  157. package/packages/dom/src/structure/html/HTMLStrongElement.ts +0 -16
  158. package/packages/dom/src/structure/html/HTMLStyleElement.ts +0 -18
  159. package/packages/dom/src/structure/html/HTMLSubElement.ts +0 -16
  160. package/packages/dom/src/structure/html/HTMLSummaryElement.ts +0 -16
  161. package/packages/dom/src/structure/html/HTMLSupElement.ts +0 -16
  162. package/packages/dom/src/structure/html/HTMLTableCaptionElement.ts +0 -17
  163. package/packages/dom/src/structure/html/HTMLTableCellElement.ts +0 -31
  164. package/packages/dom/src/structure/html/HTMLTableColElement.ts +0 -23
  165. package/packages/dom/src/structure/html/HTMLTableElement.ts +0 -26
  166. package/packages/dom/src/structure/html/HTMLTableRowElement.ts +0 -23
  167. package/packages/dom/src/structure/html/HTMLTableSectionElement.ts +0 -20
  168. package/packages/dom/src/structure/html/HTMLTemplateElement.ts +0 -17
  169. package/packages/dom/src/structure/html/HTMLTextAreaElement.ts +0 -33
  170. package/packages/dom/src/structure/html/HTMLTimeElement.ts +0 -17
  171. package/packages/dom/src/structure/html/HTMLTitleElement.ts +0 -17
  172. package/packages/dom/src/structure/html/HTMLTrackElement.ts +0 -21
  173. package/packages/dom/src/structure/html/HTMLUElement.ts +0 -16
  174. package/packages/dom/src/structure/html/HTMLUListElement.ts +0 -18
  175. package/packages/dom/src/structure/html/HTMLVarElement.ts +0 -16
  176. package/packages/dom/src/structure/html/HTMLVideoElement.ts +0 -22
  177. package/packages/dom/src/structure/html/HTMLWBRElement.ts +0 -16
  178. package/packages/html/package.json +0 -18
  179. package/packages/html/src/index.ts +0 -13
  180. package/packages/html/src/node/$Anchor.ts +0 -49
  181. package/packages/html/src/node/$Canvas.ts +0 -38
  182. package/packages/html/src/node/$Dialog.ts +0 -16
  183. package/packages/html/src/node/$Form.ts +0 -16
  184. package/packages/html/src/node/$Image.ts +0 -72
  185. package/packages/html/src/node/$Input.ts +0 -193
  186. package/packages/html/src/node/$Label.ts +0 -25
  187. package/packages/html/src/node/$Media.ts +0 -16
  188. package/packages/html/src/node/$OptGroup.ts +0 -23
  189. package/packages/html/src/node/$Option.ts +0 -40
  190. package/packages/html/src/node/$Select.ts +0 -76
  191. package/packages/html/src/node/$TextArea.ts +0 -16
  192. package/packages/i18n/README.md +0 -73
  193. package/packages/i18n/package.json +0 -19
  194. package/packages/i18n/src/index.ts +0 -140
  195. package/packages/i18n/src/structure/I18n.ts +0 -44
  196. package/packages/i18n/src/structure/I18nDictionary.ts +0 -31
  197. package/packages/i18n/src/structure/I18nTranslation.ts +0 -41
  198. package/packages/idb/README.md +0 -127
  199. package/packages/idb/package.json +0 -19
  200. package/packages/idb/src/core.ts +0 -6
  201. package/packages/idb/src/index.ts +0 -17
  202. package/packages/idb/src/lib/$IDBRequest.ts +0 -8
  203. package/packages/idb/src/structure/$IDB.ts +0 -63
  204. package/packages/idb/src/structure/$IDBCursor.ts +0 -34
  205. package/packages/idb/src/structure/$IDBIndex.ts +0 -48
  206. package/packages/idb/src/structure/$IDBStore.ts +0 -103
  207. package/packages/idb/src/structure/$IDBStoreBase.ts +0 -30
  208. package/packages/idb/src/structure/$IDBTransaction.ts +0 -38
  209. package/packages/idb/src/structure/builder/$IDBBuilder.ts +0 -229
  210. package/packages/idb/src/structure/builder/$IDBStoreBuilder.ts +0 -100
  211. package/packages/markdown/README.md +0 -53
  212. package/packages/markdown/package.json +0 -19
  213. package/packages/markdown/src/index.ts +0 -3
  214. package/packages/markdown/src/lib/type.ts +0 -26
  215. package/packages/markdown/src/lib/util.ts +0 -21
  216. package/packages/markdown/src/structure/Markdown.ts +0 -54
  217. package/packages/markdown/src/structure/MarkdownLexer.ts +0 -111
  218. package/packages/markdown/src/structure/MarkdownParser.ts +0 -34
  219. package/packages/markdown/src/syntax/alert.ts +0 -46
  220. package/packages/markdown/src/syntax/blockquote.ts +0 -35
  221. package/packages/markdown/src/syntax/bold.ts +0 -11
  222. package/packages/markdown/src/syntax/code.ts +0 -11
  223. package/packages/markdown/src/syntax/codeblock.ts +0 -44
  224. package/packages/markdown/src/syntax/heading.ts +0 -14
  225. package/packages/markdown/src/syntax/horizontalRule.ts +0 -11
  226. package/packages/markdown/src/syntax/image.ts +0 -23
  227. package/packages/markdown/src/syntax/italic.ts +0 -11
  228. package/packages/markdown/src/syntax/link.ts +0 -46
  229. package/packages/markdown/src/syntax/list.ts +0 -121
  230. package/packages/markdown/src/syntax/table.ts +0 -67
  231. package/packages/markdown/src/syntax/text.ts +0 -19
  232. package/packages/router/README.md +0 -175
  233. package/packages/router/package.json +0 -19
  234. package/packages/router/src/index.ts +0 -68
  235. package/packages/router/src/node/Page.ts +0 -38
  236. package/packages/router/src/node/Router.ts +0 -212
  237. package/packages/router/src/node/RouterAnchor.ts +0 -24
  238. package/packages/router/src/structure/PageBuilder.ts +0 -24
  239. package/packages/router/src/structure/Route.ts +0 -105
  240. package/packages/signal/README.md +0 -93
  241. package/packages/signal/package.json +0 -18
  242. package/packages/signal/src/index.ts +0 -221
  243. package/packages/signal/src/structure/Signal.ts +0 -38
  244. package/packages/ui/lib/VirtualScroll.ts +0 -25
  245. package/packages/ui/node/Accordian.ts +0 -97
  246. package/packages/ui/node/Carousel.ts +0 -20
  247. package/packages/ui/node/Form.ts +0 -54
  248. package/packages/ui/node/Grid.ts +0 -0
  249. package/packages/ui/node/Modal.ts +0 -45
  250. package/packages/ui/node/Table.ts +0 -43
  251. package/packages/ui/node/Tabs.ts +0 -129
  252. package/packages/ui/node/Toast.ts +0 -16
  253. package/packages/ui/node/Waterfall.ts +0 -94
  254. package/packages/ui/package.json +0 -21
  255. package/packages/utils/package.json +0 -17
  256. package/packages/utils/src/global.ts +0 -25
  257. package/packages/utils/src/index.ts +0 -90
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLArticleElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('article')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLArticleElement, HTMLArticleElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLArticleElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLAsideElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('aside')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLAsideElement, HTMLAsideElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLAsideElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLMediaElement } from "#structure/html/HTMLMediaElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLAudioElement extends HTMLMediaElement {
6
- static defaultAttributes = {
7
- ...HTMLMediaElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('audio')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLAudioElement, HTMLAudioElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLAudioElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLBDIElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('bdi')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLBDIElement, HTMLBDIElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLBDIElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLBDOElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('bdo')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLBDOElement, HTMLBDOElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLBDOElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLBElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('b')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLBElement, HTMLBElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLBElement })
@@ -1,17 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLBRElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- clear: ''
9
- }
10
-
11
- constructor() {
12
- super('br')
13
- }
14
- }
15
-
16
- assignAttributes(HTMLBRElement, HTMLBRElement.defaultAttributes)
17
- _Object_assign(globalThis, { HTMLBRElement })
@@ -1,18 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLBaseElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- href: '',
9
- target: ''
10
- }
11
-
12
- constructor() {
13
- super('base')
14
- }
15
- }
16
-
17
- assignAttributes(HTMLBaseElement, HTMLBaseElement.defaultAttributes)
18
- _Object_assign(globalThis, { HTMLBaseElement })
@@ -1,22 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLBodyElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- aLink: '',
9
- background: '',
10
- bgColor: '',
11
- link: '',
12
- text: '',
13
- vLink: ''
14
- }
15
-
16
- constructor() {
17
- super('body')
18
- }
19
- }
20
-
21
- assignAttributes(HTMLBodyElement, HTMLBodyElement.defaultAttributes)
22
- _Object_assign(globalThis, { HTMLBodyElement })
@@ -1,26 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLButtonElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- autofocus: false,
9
- disabled: false,
10
- form: '',
11
- formAction: '',
12
- formEncType: '',
13
- formMethod: '',
14
- formNoValidate: false,
15
- name: '',
16
- type: 'submit',
17
- value: ''
18
- }
19
-
20
- constructor() {
21
- super('button')
22
- }
23
- }
24
-
25
- assignAttributes(HTMLButtonElement, HTMLButtonElement.defaultAttributes)
26
- _Object_assign(globalThis, { HTMLButtonElement })
@@ -1,18 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLCanvasElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- height: 150,
9
- width: 300
10
- }
11
-
12
- constructor() {
13
- super('canvas')
14
- }
15
- }
16
-
17
- assignAttributes(HTMLCanvasElement, HTMLCanvasElement.defaultAttributes)
18
- _Object_assign(globalThis, { HTMLCanvasElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLCiteElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('cite')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLCiteElement, HTMLCiteElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLCiteElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLCodeElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('code')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLCodeElement, HTMLCodeElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLCodeElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDDElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('dd')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLDDElement, HTMLDDElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLDDElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDFNElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('dfn')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLDFNElement, HTMLDFNElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLDFNElement })
@@ -1,17 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDListElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- compact: false
9
- }
10
-
11
- constructor() {
12
- super('dl')
13
- }
14
- }
15
-
16
- assignAttributes(HTMLDListElement, HTMLDListElement.defaultAttributes)
17
- _Object_assign(globalThis, { HTMLDListElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDTElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('dt')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLDTElement, HTMLDTElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLDTElement })
@@ -1,17 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDataElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- value: ''
9
- }
10
-
11
- constructor() {
12
- super('data')
13
- }
14
- }
15
-
16
- assignAttributes(HTMLDataElement, HTMLDataElement.defaultAttributes)
17
- _Object_assign(globalThis, { HTMLDataElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDataListElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('datalist')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLDataListElement, HTMLDataListElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLDataListElement })
@@ -1,17 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDetailsElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- open: false
9
- }
10
-
11
- constructor() {
12
- super('details')
13
- }
14
- }
15
-
16
- assignAttributes(HTMLDetailsElement, HTMLDetailsElement.defaultAttributes)
17
- _Object_assign(globalThis, { HTMLDetailsElement })
@@ -1,18 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDialogElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- open: false,
9
- returnValue: ''
10
- }
11
-
12
- constructor() {
13
- super('dialog')
14
- }
15
- }
16
-
17
- assignAttributes(HTMLDialogElement, HTMLDialogElement.defaultAttributes)
18
- _Object_assign(globalThis, { HTMLDialogElement })
@@ -1,17 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLDivElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- align: ''
9
- }
10
-
11
- constructor() {
12
- super('div')
13
- }
14
- }
15
-
16
- assignAttributes(HTMLDivElement, HTMLDivElement.defaultAttributes)
17
- _Object_assign(globalThis, { HTMLDivElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLEMElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('em')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLEMElement, HTMLEMElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLEMElement })
@@ -1,20 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLEmbedElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- height: '',
9
- src: '',
10
- type: '',
11
- width: ''
12
- }
13
-
14
- constructor() {
15
- super('embed')
16
- }
17
- }
18
-
19
- assignAttributes(HTMLEmbedElement, HTMLEmbedElement.defaultAttributes)
20
- _Object_assign(globalThis, { HTMLEmbedElement })
@@ -1,19 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLFieldSetElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- disabled: false,
9
- form: '',
10
- name: ''
11
- }
12
-
13
- constructor() {
14
- super('fieldset')
15
- }
16
- }
17
-
18
- assignAttributes(HTMLFieldSetElement, HTMLFieldSetElement.defaultAttributes)
19
- _Object_assign(globalThis, { HTMLFieldSetElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLFigCaptionElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('figcaption')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLFigCaptionElement, HTMLFigCaptionElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLFigCaptionElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLFigureElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('figure')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLFigureElement, HTMLFigureElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLFigureElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLFooterElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('footer')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLFooterElement, HTMLFooterElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLFooterElement })
@@ -1,24 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLFormElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- acceptCharset: '',
9
- action: '',
10
- autocomplete: 'on',
11
- encType: 'application/x-www-form-urlencoded',
12
- method: 'get',
13
- name: '',
14
- noValidate: false,
15
- target: ''
16
- }
17
-
18
- constructor() {
19
- super('form')
20
- }
21
- }
22
-
23
- assignAttributes(HTMLFormElement, HTMLFormElement.defaultAttributes)
24
- _Object_assign(globalThis, { HTMLFormElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLHGroupElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('hgroup')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLHGroupElement, HTMLHGroupElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLHGroupElement })
@@ -1,21 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLHRElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- align: '',
9
- color: '',
10
- noShade: false,
11
- size: '',
12
- width: ''
13
- }
14
-
15
- constructor() {
16
- super('hr')
17
- }
18
- }
19
-
20
- assignAttributes(HTMLHRElement, HTMLHRElement.defaultAttributes)
21
- _Object_assign(globalThis, { HTMLHRElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLHeadElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('head')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLHeadElement, HTMLHeadElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLHeadElement })
@@ -1,16 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLHeaderElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes
8
- }
9
-
10
- constructor() {
11
- super('header')
12
- }
13
- }
14
-
15
- assignAttributes(HTMLHeaderElement, HTMLHeaderElement.defaultAttributes)
16
- _Object_assign(globalThis, { HTMLHeaderElement })
@@ -1,17 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLHeadingElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- align: ''
9
- }
10
-
11
- constructor(tag: string = 'h1') {
12
- super(tag)
13
- }
14
- }
15
-
16
- assignAttributes(HTMLHeadingElement, HTMLHeadingElement.defaultAttributes)
17
- _Object_assign(globalThis, { HTMLHeadingElement })
@@ -1,18 +0,0 @@
1
- import { assignAttributes } from "#lib/assignAttributes";
2
- import { HTMLElement } from "#structure/HTMLElement";
3
- import { _Object_assign } from "@amateras/utils";
4
-
5
- export class HTMLHtmlElement extends HTMLElement {
6
- static defaultAttributes = {
7
- ...HTMLElement.defaultAttributes,
8
- manifest: '',
9
- version: ''
10
- }
11
-
12
- constructor() {
13
- super('html')
14
- }
15
- }
16
-
17
- assignAttributes(HTMLHtmlElement, HTMLHtmlElement.defaultAttributes)
18
- _Object_assign(globalThis, { HTMLHtmlElement })