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.
- package/README.md +76 -85
- package/package.json +29 -33
- package/tsconfig.json +4 -3
- package/packages/core/package.json +0 -32
- package/packages/core/src/env.browser.ts +0 -21
- package/packages/core/src/env.node.ts +0 -21
- package/packages/core/src/global.ts +0 -18
- package/packages/core/src/index.ts +0 -96
- package/packages/core/src/lib/assignNodeProperties.ts +0 -11
- package/packages/core/src/lib/assignProperties.ts +0 -57
- package/packages/core/src/lib/chain.ts +0 -17
- package/packages/core/src/lib/dom.ts +0 -20
- package/packages/core/src/main.ts +0 -4
- package/packages/core/src/node/$Element.ts +0 -366
- package/packages/core/src/node/$EventTarget.ts +0 -48
- package/packages/core/src/node/$HTMLElement.ts +0 -99
- package/packages/core/src/node/$Node.ts +0 -201
- package/packages/core/src/node/$Virtual.ts +0 -65
- package/packages/css/README.md +0 -128
- package/packages/css/package.json +0 -17
- package/packages/css/src/ext/colors/amber.ts +0 -25
- package/packages/css/src/ext/colors/blackwhite.ts +0 -13
- package/packages/css/src/ext/colors/blue.ts +0 -25
- package/packages/css/src/ext/colors/cyan.ts +0 -25
- package/packages/css/src/ext/colors/emerald.ts +0 -25
- package/packages/css/src/ext/colors/fuchsia.ts +0 -25
- package/packages/css/src/ext/colors/gray.ts +0 -25
- package/packages/css/src/ext/colors/green.ts +0 -25
- package/packages/css/src/ext/colors/indigo.ts +0 -25
- package/packages/css/src/ext/colors/lime.ts +0 -25
- package/packages/css/src/ext/colors/neutral.ts +0 -25
- package/packages/css/src/ext/colors/orange.ts +0 -25
- package/packages/css/src/ext/colors/pink.ts +0 -25
- package/packages/css/src/ext/colors/purple.ts +0 -25
- package/packages/css/src/ext/colors/red.ts +0 -25
- package/packages/css/src/ext/colors/rose.ts +0 -25
- package/packages/css/src/ext/colors/sky.ts +0 -25
- package/packages/css/src/ext/colors/slate.ts +0 -25
- package/packages/css/src/ext/colors/stone.ts +0 -25
- package/packages/css/src/ext/colors/teal.ts +0 -25
- package/packages/css/src/ext/colors/violet.ts +0 -25
- package/packages/css/src/ext/colors/yellow.ts +0 -25
- package/packages/css/src/ext/colors/zinc.ts +0 -25
- package/packages/css/src/ext/colors.ts +0 -23
- package/packages/css/src/ext/container.ts +0 -32
- package/packages/css/src/ext/keyframes.ts +0 -54
- package/packages/css/src/ext/media.ts +0 -32
- package/packages/css/src/ext/property.ts +0 -48
- package/packages/css/src/ext/variable.ts +0 -51
- package/packages/css/src/index.ts +0 -436
- package/packages/css/src/lib/colorAssign.ts +0 -6
- package/packages/css/src/lib/utils.ts +0 -11
- package/packages/css/src/structure/$CSSContainerRule.ts +0 -13
- package/packages/css/src/structure/$CSSDeclaration.ts +0 -16
- package/packages/css/src/structure/$CSSKeyframesRule.ts +0 -13
- package/packages/css/src/structure/$CSSMediaRule.ts +0 -10
- package/packages/css/src/structure/$CSSProperty.ts +0 -19
- package/packages/css/src/structure/$CSSRule.ts +0 -13
- package/packages/css/src/structure/$CSSStyleRule.ts +0 -14
- package/packages/css/src/structure/$CSSVariable.ts +0 -30
- package/packages/dom/package.json +0 -20
- package/packages/dom/src/lib/HTMLElementMap.ts +0 -213
- package/packages/dom/src/lib/assignAttributes.ts +0 -16
- package/packages/dom/src/structure/CSS.ts +0 -7
- package/packages/dom/src/structure/CSSStyleSheet.ts +0 -10
- package/packages/dom/src/structure/DOMTokenList.ts +0 -19
- package/packages/dom/src/structure/Document.ts +0 -36
- package/packages/dom/src/structure/Element.ts +0 -106
- package/packages/dom/src/structure/HTMLElement.ts +0 -34
- package/packages/dom/src/structure/History.ts +0 -11
- package/packages/dom/src/structure/Location.ts +0 -9
- package/packages/dom/src/structure/Node.ts +0 -51
- package/packages/dom/src/structure/NodeList.ts +0 -10
- package/packages/dom/src/structure/Storage.ts +0 -8
- package/packages/dom/src/structure/Text.ts +0 -20
- package/packages/dom/src/structure/Window.ts +0 -14
- package/packages/dom/src/structure/html/HTMLAbbrElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLAddressElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLAnchorElement.ts +0 -25
- package/packages/dom/src/structure/html/HTMLAreaElement.ts +0 -26
- package/packages/dom/src/structure/html/HTMLArticleElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLAsideElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLAudioElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLBDIElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLBDOElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLBElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLBRElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLBaseElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLBodyElement.ts +0 -22
- package/packages/dom/src/structure/html/HTMLButtonElement.ts +0 -26
- package/packages/dom/src/structure/html/HTMLCanvasElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLCiteElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLCodeElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLDDElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLDFNElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLDListElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLDTElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLDataElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLDataListElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLDetailsElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLDialogElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLDivElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLEMElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLEmbedElement.ts +0 -20
- package/packages/dom/src/structure/html/HTMLFieldSetElement.ts +0 -19
- package/packages/dom/src/structure/html/HTMLFigCaptionElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLFigureElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLFooterElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLFormElement.ts +0 -24
- package/packages/dom/src/structure/html/HTMLHGroupElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLHRElement.ts +0 -21
- package/packages/dom/src/structure/html/HTMLHeadElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLHeaderElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLHeadingElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLHtmlElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLIElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLIFrameElement.ts +0 -31
- package/packages/dom/src/structure/html/HTMLImageElement.ts +0 -38
- package/packages/dom/src/structure/html/HTMLInputElement.ts +0 -55
- package/packages/dom/src/structure/html/HTMLKBDElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLLIElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLLabelElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLLegendElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLLinkElement.ts +0 -31
- package/packages/dom/src/structure/html/HTMLMainElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLMapElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLMarkElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLMediaElement.ts +0 -48
- package/packages/dom/src/structure/html/HTMLMenuElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLMetaElement.ts +0 -22
- package/packages/dom/src/structure/html/HTMLMeterElement.ts +0 -23
- package/packages/dom/src/structure/html/HTMLModElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLNavElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLNoscriptElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLOListElement.ts +0 -20
- package/packages/dom/src/structure/html/HTMLObjectElement.ts +0 -34
- package/packages/dom/src/structure/html/HTMLOptGroupElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLOptionElement.ts +0 -20
- package/packages/dom/src/structure/html/HTMLOutputElement.ts +0 -20
- package/packages/dom/src/structure/html/HTMLParagraphElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLPictureElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLPreElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLProgressElement.ts +0 -19
- package/packages/dom/src/structure/html/HTMLQuoteElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLRPElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLRTElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLRubyElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLSElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLSampElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLScriptElement.ts +0 -27
- package/packages/dom/src/structure/html/HTMLSectionElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLSelectElement.ts +0 -27
- package/packages/dom/src/structure/html/HTMLSlotElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLSmallElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLSourceElement.ts +0 -21
- package/packages/dom/src/structure/html/HTMLSpanElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLStrongElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLStyleElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLSubElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLSummaryElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLSupElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLTableCaptionElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLTableCellElement.ts +0 -31
- package/packages/dom/src/structure/html/HTMLTableColElement.ts +0 -23
- package/packages/dom/src/structure/html/HTMLTableElement.ts +0 -26
- package/packages/dom/src/structure/html/HTMLTableRowElement.ts +0 -23
- package/packages/dom/src/structure/html/HTMLTableSectionElement.ts +0 -20
- package/packages/dom/src/structure/html/HTMLTemplateElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLTextAreaElement.ts +0 -33
- package/packages/dom/src/structure/html/HTMLTimeElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLTitleElement.ts +0 -17
- package/packages/dom/src/structure/html/HTMLTrackElement.ts +0 -21
- package/packages/dom/src/structure/html/HTMLUElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLUListElement.ts +0 -18
- package/packages/dom/src/structure/html/HTMLVarElement.ts +0 -16
- package/packages/dom/src/structure/html/HTMLVideoElement.ts +0 -22
- package/packages/dom/src/structure/html/HTMLWBRElement.ts +0 -16
- package/packages/html/package.json +0 -18
- package/packages/html/src/index.ts +0 -13
- package/packages/html/src/node/$Anchor.ts +0 -49
- package/packages/html/src/node/$Canvas.ts +0 -38
- package/packages/html/src/node/$Dialog.ts +0 -16
- package/packages/html/src/node/$Form.ts +0 -16
- package/packages/html/src/node/$Image.ts +0 -72
- package/packages/html/src/node/$Input.ts +0 -193
- package/packages/html/src/node/$Label.ts +0 -25
- package/packages/html/src/node/$Media.ts +0 -16
- package/packages/html/src/node/$OptGroup.ts +0 -23
- package/packages/html/src/node/$Option.ts +0 -40
- package/packages/html/src/node/$Select.ts +0 -76
- package/packages/html/src/node/$TextArea.ts +0 -16
- package/packages/i18n/README.md +0 -73
- package/packages/i18n/package.json +0 -19
- package/packages/i18n/src/index.ts +0 -140
- package/packages/i18n/src/structure/I18n.ts +0 -44
- package/packages/i18n/src/structure/I18nDictionary.ts +0 -31
- package/packages/i18n/src/structure/I18nTranslation.ts +0 -41
- package/packages/idb/README.md +0 -127
- package/packages/idb/package.json +0 -19
- package/packages/idb/src/core.ts +0 -6
- package/packages/idb/src/index.ts +0 -17
- package/packages/idb/src/lib/$IDBRequest.ts +0 -8
- package/packages/idb/src/structure/$IDB.ts +0 -63
- package/packages/idb/src/structure/$IDBCursor.ts +0 -34
- package/packages/idb/src/structure/$IDBIndex.ts +0 -48
- package/packages/idb/src/structure/$IDBStore.ts +0 -103
- package/packages/idb/src/structure/$IDBStoreBase.ts +0 -30
- package/packages/idb/src/structure/$IDBTransaction.ts +0 -38
- package/packages/idb/src/structure/builder/$IDBBuilder.ts +0 -229
- package/packages/idb/src/structure/builder/$IDBStoreBuilder.ts +0 -100
- package/packages/markdown/README.md +0 -53
- package/packages/markdown/package.json +0 -19
- package/packages/markdown/src/index.ts +0 -3
- package/packages/markdown/src/lib/type.ts +0 -26
- package/packages/markdown/src/lib/util.ts +0 -21
- package/packages/markdown/src/structure/Markdown.ts +0 -54
- package/packages/markdown/src/structure/MarkdownLexer.ts +0 -111
- package/packages/markdown/src/structure/MarkdownParser.ts +0 -34
- package/packages/markdown/src/syntax/alert.ts +0 -46
- package/packages/markdown/src/syntax/blockquote.ts +0 -35
- package/packages/markdown/src/syntax/bold.ts +0 -11
- package/packages/markdown/src/syntax/code.ts +0 -11
- package/packages/markdown/src/syntax/codeblock.ts +0 -44
- package/packages/markdown/src/syntax/heading.ts +0 -14
- package/packages/markdown/src/syntax/horizontalRule.ts +0 -11
- package/packages/markdown/src/syntax/image.ts +0 -23
- package/packages/markdown/src/syntax/italic.ts +0 -11
- package/packages/markdown/src/syntax/link.ts +0 -46
- package/packages/markdown/src/syntax/list.ts +0 -121
- package/packages/markdown/src/syntax/table.ts +0 -67
- package/packages/markdown/src/syntax/text.ts +0 -19
- package/packages/router/README.md +0 -175
- package/packages/router/package.json +0 -19
- package/packages/router/src/index.ts +0 -68
- package/packages/router/src/node/Page.ts +0 -38
- package/packages/router/src/node/Router.ts +0 -212
- package/packages/router/src/node/RouterAnchor.ts +0 -24
- package/packages/router/src/structure/PageBuilder.ts +0 -24
- package/packages/router/src/structure/Route.ts +0 -105
- package/packages/signal/README.md +0 -93
- package/packages/signal/package.json +0 -18
- package/packages/signal/src/index.ts +0 -221
- package/packages/signal/src/structure/Signal.ts +0 -38
- package/packages/ui/lib/VirtualScroll.ts +0 -25
- package/packages/ui/node/Accordian.ts +0 -97
- package/packages/ui/node/Carousel.ts +0 -20
- package/packages/ui/node/Form.ts +0 -54
- package/packages/ui/node/Grid.ts +0 -0
- package/packages/ui/node/Modal.ts +0 -45
- package/packages/ui/node/Table.ts +0 -43
- package/packages/ui/node/Tabs.ts +0 -129
- package/packages/ui/node/Toast.ts +0 -16
- package/packages/ui/node/Waterfall.ts +0 -94
- package/packages/ui/package.json +0 -21
- package/packages/utils/package.json +0 -17
- package/packages/utils/src/global.ts +0 -25
- 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 HTMLIElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super('i')
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
assignAttributes(HTMLIElement, HTMLIElement.defaultAttributes)
|
|
16
|
-
_Object_assign(globalThis, { HTMLIElement })
|
|
@@ -1,31 +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 HTMLIFrameElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
allow: '',
|
|
9
|
-
allowFullscreen: false,
|
|
10
|
-
allowUserMedia: false,
|
|
11
|
-
cSP: '',
|
|
12
|
-
frameBorder: '1',
|
|
13
|
-
height: '',
|
|
14
|
-
loading: 'auto',
|
|
15
|
-
marginHeight: '',
|
|
16
|
-
marginWidth: '',
|
|
17
|
-
name: '',
|
|
18
|
-
referrerPolicy: '',
|
|
19
|
-
sandbox: '',
|
|
20
|
-
scrolling: 'auto',
|
|
21
|
-
src: '',
|
|
22
|
-
srcDoc: ''
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
constructor() {
|
|
26
|
-
super('iframe')
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
assignAttributes(HTMLIFrameElement, HTMLIFrameElement.defaultAttributes)
|
|
31
|
-
_Object_assign(globalThis, { HTMLIFrameElement })
|
|
@@ -1,38 +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 HTMLImageElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
alt: '',
|
|
9
|
-
border: '',
|
|
10
|
-
complete: false,
|
|
11
|
-
crossOrigin: '',
|
|
12
|
-
currentSrc: '',
|
|
13
|
-
decoding: 'auto',
|
|
14
|
-
fetchPriority: 'auto',
|
|
15
|
-
height: '',
|
|
16
|
-
isMap: false,
|
|
17
|
-
loading: 'eager',
|
|
18
|
-
longDesc: '',
|
|
19
|
-
name: '',
|
|
20
|
-
naturalHeight: 0,
|
|
21
|
-
naturalWidth: 0,
|
|
22
|
-
referrerPolicy: '',
|
|
23
|
-
sizes: '',
|
|
24
|
-
src: '',
|
|
25
|
-
srcSet: '',
|
|
26
|
-
useMap: '',
|
|
27
|
-
width: '',
|
|
28
|
-
x: 0,
|
|
29
|
-
y: 0
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
constructor() {
|
|
33
|
-
super('img')
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
assignAttributes(HTMLImageElement, HTMLImageElement.defaultAttributes)
|
|
38
|
-
_Object_assign(globalThis, { HTMLImageElement })
|
|
@@ -1,55 +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 HTMLInputElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
accept: '',
|
|
9
|
-
alt: '',
|
|
10
|
-
autocomplete: '',
|
|
11
|
-
autofocus: false,
|
|
12
|
-
capture: false,
|
|
13
|
-
checked: false,
|
|
14
|
-
defaultChecked: false,
|
|
15
|
-
defaultValue: '',
|
|
16
|
-
dirName: '',
|
|
17
|
-
disabled: false,
|
|
18
|
-
form: '',
|
|
19
|
-
formAction: '',
|
|
20
|
-
formEncType: '',
|
|
21
|
-
formMethod: '',
|
|
22
|
-
formNoValidate: false,
|
|
23
|
-
height: '',
|
|
24
|
-
indeterminate: false,
|
|
25
|
-
list: '',
|
|
26
|
-
max: '',
|
|
27
|
-
maxLength: -1,
|
|
28
|
-
min: '',
|
|
29
|
-
minLength: -1,
|
|
30
|
-
multiple: false,
|
|
31
|
-
name: '',
|
|
32
|
-
pattern: '',
|
|
33
|
-
placeholder: '',
|
|
34
|
-
readOnly: false,
|
|
35
|
-
required: false,
|
|
36
|
-
size: 20,
|
|
37
|
-
src: '',
|
|
38
|
-
step: '',
|
|
39
|
-
type: 'text',
|
|
40
|
-
useMap: '',
|
|
41
|
-
value: '',
|
|
42
|
-
valueAsDate: null,
|
|
43
|
-
valueAsNumber: NaN,
|
|
44
|
-
width: '',
|
|
45
|
-
webkitEntries: '',
|
|
46
|
-
webkitDirectories: false
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
constructor() {
|
|
50
|
-
super('input')
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
assignAttributes(HTMLInputElement, HTMLInputElement.defaultAttributes)
|
|
55
|
-
_Object_assign(globalThis, { HTMLInputElement })
|
|
@@ -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 HTMLKBDElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super('kbd')
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
assignAttributes(HTMLKBDElement, HTMLKBDElement.defaultAttributes)
|
|
16
|
-
_Object_assign(globalThis, { HTMLKBDElement })
|
|
@@ -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 HTMLLIElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
type: '',
|
|
9
|
-
value: 0
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
constructor() {
|
|
13
|
-
super('li')
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
assignAttributes(HTMLLIElement, HTMLLIElement.defaultAttributes)
|
|
18
|
-
_Object_assign(globalThis, { HTMLLIElement })
|
|
@@ -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 HTMLLabelElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
form: '',
|
|
9
|
-
htmlFor: ''
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
constructor() {
|
|
13
|
-
super('label')
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
assignAttributes(HTMLLabelElement, HTMLLabelElement.defaultAttributes)
|
|
18
|
-
_Object_assign(globalThis, { HTMLLabelElement })
|
|
@@ -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 HTMLLegendElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
align: ''
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
constructor() {
|
|
12
|
-
super('legend')
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
assignAttributes(HTMLLegendElement, HTMLLegendElement.defaultAttributes)
|
|
17
|
-
_Object_assign(globalThis, { HTMLLegendElement })
|
|
@@ -1,31 +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 HTMLLinkElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
as: '',
|
|
9
|
-
charset: '',
|
|
10
|
-
crossOrigin: '',
|
|
11
|
-
disabled: false,
|
|
12
|
-
fetchPriority: 'auto',
|
|
13
|
-
href: '',
|
|
14
|
-
hrefLang: '',
|
|
15
|
-
integrity: '',
|
|
16
|
-
media: '',
|
|
17
|
-
referrerPolicy: '',
|
|
18
|
-
rel: '',
|
|
19
|
-
rev: '',
|
|
20
|
-
sizes: '',
|
|
21
|
-
target: '',
|
|
22
|
-
type: ''
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
constructor() {
|
|
26
|
-
super('link')
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
assignAttributes(HTMLLinkElement, HTMLLinkElement.defaultAttributes)
|
|
31
|
-
_Object_assign(globalThis, { HTMLLinkElement })
|
|
@@ -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 HTMLMainElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super('main')
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
assignAttributes(HTMLMainElement, HTMLMainElement.defaultAttributes)
|
|
16
|
-
_Object_assign(globalThis, { HTMLMainElement })
|
|
@@ -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 HTMLMapElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
name: ''
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
constructor() {
|
|
12
|
-
super('map')
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
assignAttributes(HTMLMapElement, HTMLMapElement.defaultAttributes)
|
|
17
|
-
_Object_assign(globalThis, { HTMLMapElement })
|
|
@@ -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 HTMLMarkElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super('mark')
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
assignAttributes(HTMLMarkElement, HTMLMarkElement.defaultAttributes)
|
|
16
|
-
_Object_assign(globalThis, { HTMLMarkElement })
|
|
@@ -1,48 +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 HTMLMediaElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
autoplay: false,
|
|
9
|
-
buffered: '',
|
|
10
|
-
controls: false,
|
|
11
|
-
controlsList: '',
|
|
12
|
-
crossOrigin: '',
|
|
13
|
-
currentSrc: '',
|
|
14
|
-
currentTime: 0,
|
|
15
|
-
defaultMuted: false,
|
|
16
|
-
defaultPlaybackRate: 1,
|
|
17
|
-
disableRemotePlayback: false,
|
|
18
|
-
duration: NaN,
|
|
19
|
-
ended: false,
|
|
20
|
-
error: null,
|
|
21
|
-
loop: false,
|
|
22
|
-
mediaKeys: null,
|
|
23
|
-
muted: false,
|
|
24
|
-
networkState: 0,
|
|
25
|
-
paused: true,
|
|
26
|
-
playbackRate: 1,
|
|
27
|
-
played: '',
|
|
28
|
-
preload: 'metadata',
|
|
29
|
-
preservesPitch: true,
|
|
30
|
-
readyState: 0,
|
|
31
|
-
remote: null,
|
|
32
|
-
seekable: '',
|
|
33
|
-
seeking: false,
|
|
34
|
-
sinkId: '',
|
|
35
|
-
src: '',
|
|
36
|
-
srcObject: null,
|
|
37
|
-
textTracks: null,
|
|
38
|
-
videoTracks: null,
|
|
39
|
-
volume: 1
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
constructor(tag: string = 'audio') {
|
|
43
|
-
super(tag)
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
assignAttributes(HTMLMediaElement, HTMLMediaElement.defaultAttributes)
|
|
48
|
-
_Object_assign(globalThis, { HTMLMediaElement })
|
|
@@ -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 HTMLMenuElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
compact: false,
|
|
9
|
-
label: ''
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
constructor() {
|
|
13
|
-
super('menu')
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
assignAttributes(HTMLMenuElement, HTMLMenuElement.defaultAttributes)
|
|
18
|
-
_Object_assign(globalThis, { HTMLMenuElement })
|
|
@@ -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 HTMLMetaElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
charset: '',
|
|
9
|
-
content: '',
|
|
10
|
-
httpEquiv: '',
|
|
11
|
-
media: '',
|
|
12
|
-
name: '',
|
|
13
|
-
scheme: ''
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
constructor() {
|
|
17
|
-
super('meta')
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
assignAttributes(HTMLMetaElement, HTMLMetaElement.defaultAttributes)
|
|
22
|
-
_Object_assign(globalThis, { HTMLMetaElement })
|
|
@@ -1,23 +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 HTMLMeterElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
form: '',
|
|
9
|
-
high: '',
|
|
10
|
-
low: '',
|
|
11
|
-
max: '1',
|
|
12
|
-
min: '0',
|
|
13
|
-
optimum: '',
|
|
14
|
-
value: ''
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
constructor() {
|
|
18
|
-
super('meter')
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
assignAttributes(HTMLMeterElement, HTMLMeterElement.defaultAttributes)
|
|
23
|
-
_Object_assign(globalThis, { HTMLMeterElement })
|
|
@@ -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 HTMLModElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
cite: '',
|
|
9
|
-
dateTime: ''
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
constructor(tag: string = 'del') {
|
|
13
|
-
super(tag)
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
assignAttributes(HTMLModElement, HTMLModElement.defaultAttributes)
|
|
18
|
-
_Object_assign(globalThis, { HTMLModElement })
|
|
@@ -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 HTMLNavElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super('nav')
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
assignAttributes(HTMLNavElement, HTMLNavElement.defaultAttributes)
|
|
16
|
-
_Object_assign(globalThis, { HTMLNavElement })
|
|
@@ -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 HTMLNoscriptElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super('noscript')
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
assignAttributes(HTMLNoscriptElement, HTMLNoscriptElement.defaultAttributes)
|
|
16
|
-
_Object_assign(globalThis, { HTMLNoscriptElement })
|
|
@@ -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 HTMLOListElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
compact: false,
|
|
9
|
-
reversed: false,
|
|
10
|
-
start: 1,
|
|
11
|
-
type: ''
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
constructor() {
|
|
15
|
-
super('ol')
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
assignAttributes(HTMLOListElement, HTMLOListElement.defaultAttributes)
|
|
20
|
-
_Object_assign(globalThis, { HTMLOListElement })
|
|
@@ -1,34 +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 HTMLObjectElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
align: '',
|
|
9
|
-
archive: '',
|
|
10
|
-
border: '',
|
|
11
|
-
classID: '',
|
|
12
|
-
code: '',
|
|
13
|
-
codeBase: '',
|
|
14
|
-
codeType: '',
|
|
15
|
-
data: '',
|
|
16
|
-
declare: false,
|
|
17
|
-
form: '',
|
|
18
|
-
height: '',
|
|
19
|
-
hspace: '',
|
|
20
|
-
name: '',
|
|
21
|
-
standby: '',
|
|
22
|
-
type: '',
|
|
23
|
-
useMap: '',
|
|
24
|
-
vspace: '',
|
|
25
|
-
width: ''
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
constructor() {
|
|
29
|
-
super('object')
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
assignAttributes(HTMLObjectElement, HTMLObjectElement.defaultAttributes)
|
|
34
|
-
_Object_assign(globalThis, { HTMLObjectElement })
|
|
@@ -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 HTMLOptGroupElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
disabled: false,
|
|
9
|
-
label: ''
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
constructor() {
|
|
13
|
-
super('optgroup')
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
assignAttributes(HTMLOptGroupElement, HTMLOptGroupElement.defaultAttributes)
|
|
18
|
-
_Object_assign(globalThis, { HTMLOptGroupElement })
|
|
@@ -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 HTMLOptionElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
disabled: false,
|
|
9
|
-
label: '',
|
|
10
|
-
selected: false,
|
|
11
|
-
value: ''
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
constructor() {
|
|
15
|
-
super('option')
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
assignAttributes(HTMLOptionElement, HTMLOptionElement.defaultAttributes)
|
|
20
|
-
_Object_assign(globalThis, { HTMLOptionElement: HTMLOptionElement })
|
|
@@ -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 HTMLOutputElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
form: '',
|
|
9
|
-
htmlFor: '',
|
|
10
|
-
name: '',
|
|
11
|
-
value: ''
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
constructor() {
|
|
15
|
-
super('output')
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
assignAttributes(HTMLOutputElement, HTMLOutputElement.defaultAttributes)
|
|
20
|
-
_Object_assign(globalThis, { HTMLOutputElement })
|
|
@@ -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 HTMLParagraphElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
align: ''
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
constructor() {
|
|
12
|
-
super('p')
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
assignAttributes(HTMLParagraphElement, HTMLParagraphElement.defaultAttributes)
|
|
17
|
-
_Object_assign(globalThis, { HTMLParagraphElement })
|
|
@@ -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 HTMLPictureElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super('picture')
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
assignAttributes(HTMLPictureElement, HTMLPictureElement.defaultAttributes)
|
|
16
|
-
_Object_assign(globalThis, { HTMLPictureElement })
|
|
@@ -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 HTMLPreElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
width: ''
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
constructor() {
|
|
12
|
-
super('pre')
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
assignAttributes(HTMLPreElement, HTMLPreElement.defaultAttributes)
|
|
17
|
-
_Object_assign(globalThis, { HTMLPreElement })
|
|
@@ -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 HTMLProgressElement extends HTMLElement {
|
|
6
|
-
static defaultAttributes = {
|
|
7
|
-
...HTMLElement.defaultAttributes,
|
|
8
|
-
form: '',
|
|
9
|
-
max: 1,
|
|
10
|
-
value: 0
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
constructor() {
|
|
14
|
-
super('progress')
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
assignAttributes(HTMLProgressElement, HTMLProgressElement.defaultAttributes)
|
|
19
|
-
_Object_assign(globalThis, { HTMLProgressElement })
|