typecomposer 0.0.18 → 0.0.20
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/dist/cjs/core/decorators/RegisterComponent.d.ts +1 -0
- package/dist/cjs/core/decorators/RegisterComponent.js.map +1 -1
- package/dist/cjs/core/decorators/index.d.ts +1 -0
- package/dist/cjs/core/decorators/index.js +3 -1
- package/dist/cjs/core/decorators/index.js.map +1 -1
- package/dist/cjs/core/element/action/ListElement.js +2 -0
- package/dist/cjs/core/element/action/ListElement.js.map +1 -1
- package/dist/cjs/core/element/action/TabItem.d.ts +3 -3
- package/dist/cjs/core/element/action/TabItem.js.map +1 -1
- package/dist/cjs/core/element/base/Elements.d.ts +4 -236
- package/dist/cjs/core/element/base/Elements.js +2 -684
- package/dist/cjs/core/element/base/Elements.js.map +1 -1
- package/dist/cjs/core/router/Router.d.ts +2 -0
- package/dist/cjs/core/router/Router.js +24 -6
- package/dist/cjs/core/router/Router.js.map +1 -1
- package/dist/cjs/global/global.d.ts +13 -1
- package/dist/cjs/global/global.js +46 -5
- package/dist/cjs/global/global.js.map +1 -1
- package/dist/esm/core/decorators/RegisterComponent.d.ts +1 -0
- package/dist/esm/core/decorators/RegisterComponent.js.map +1 -1
- package/dist/esm/core/decorators/index.d.ts +1 -0
- package/dist/esm/core/decorators/index.js +1 -0
- package/dist/esm/core/decorators/index.js.map +1 -1
- package/dist/esm/core/element/action/ListElement.js +2 -0
- package/dist/esm/core/element/action/ListElement.js.map +1 -1
- package/dist/esm/core/element/action/TabItem.d.ts +3 -3
- package/dist/esm/core/element/action/TabItem.js.map +1 -1
- package/dist/esm/core/element/base/Elements.d.ts +4 -236
- package/dist/esm/core/element/base/Elements.js +2 -684
- package/dist/esm/core/element/base/Elements.js.map +1 -1
- package/dist/esm/core/router/Router.d.ts +2 -0
- package/dist/esm/core/router/Router.js +24 -6
- package/dist/esm/core/router/Router.js.map +1 -1
- package/dist/esm/global/global.d.ts +13 -1
- package/dist/esm/global/global.js +43 -2
- package/dist/esm/global/global.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegisterComponent.js","sourceRoot":"","sources":["../../../../src/core/decorators/RegisterComponent.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"RegisterComponent.js","sourceRoot":"","sources":["../../../../src/core/decorators/RegisterComponent.ts"],"names":[],"mappings":";;;AAOA,aAAa;AACb,SAAgB,QAAQ,CAAC,OAAoC;IAC3D,OAAO,UAAU,WAAqC,IAAG,CAAC,CAAC;AAC7D,CAAC;AAFD,4BAEC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StyleLink = exports.Register = void 0;
|
|
3
|
+
exports.scoped = exports.StyleLink = exports.Register = void 0;
|
|
4
4
|
var RegisterComponent_1 = require("./RegisterComponent");
|
|
5
5
|
Object.defineProperty(exports, "Register", { enumerable: true, get: function () { return RegisterComponent_1.Register; } });
|
|
6
6
|
var StyleLink_1 = require("./StyleLink");
|
|
7
7
|
Object.defineProperty(exports, "StyleLink", { enumerable: true, get: function () { return StyleLink_1.StyleLink; } });
|
|
8
|
+
function scoped(target) { }
|
|
9
|
+
exports.scoped = scoped;
|
|
8
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/decorators/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+C;AAAtC,6GAAA,QAAQ,OAAA;AAEjB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/core/decorators/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+C;AAAtC,6GAAA,QAAQ,OAAA;AAEjB,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAElB,SAAgB,MAAM,CAAC,MAAW,IAAG,CAAC;AAAtC,wBAAsC"}
|
|
@@ -51,6 +51,8 @@ class ListElement extends __1.Component {
|
|
|
51
51
|
if (this.itemSelected?.parent != parent) {
|
|
52
52
|
parent.classList.add("list-element-item-selected");
|
|
53
53
|
this.onSelectItem(child);
|
|
54
|
+
if (parent instanceof __1.ListItemElement)
|
|
55
|
+
parent.onSelect();
|
|
54
56
|
this.itemSelected = { parent, child };
|
|
55
57
|
}
|
|
56
58
|
else
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListElement.js","sourceRoot":"","sources":["../../../../../src/core/element/action/ListElement.ts"],"names":[],"mappings":";;;AAAA,0BAAkF;AAElF,MAAa,WAAqB,SAAQ,aAAS;IACzC,YAAY,GAGT,IAAI,CAAC;IAER,UAAU,GAAiB,IAAI,gBAAY,EAAE,CAAC;IAEtD,YAAY,QAAwB;QAClC,KAAK,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC;QACxC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC/B,CAAC;IAED,IAAW,SAAS;QAClB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAEM,WAAW,CAAiB,IAAwB;QACzD,IAAI,IAAI,YAAY,cAAc,EAAE,CAAC;YACnC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACrC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;gBAC1B,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,YAAY,WAAW;oBAAE,IAAI,CAAC,OAAO,CAAC,IAAW,CAAC,CAAC;YAClF,CAAC;QACH,CAAC;aAAM,IAAI,IAAI,YAAY,WAAW,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,g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OAAO,OAAO,IAAI,QAAQ,IAAI,KAAK,CAAC,SAAS,IAAI,OAAO;oBAAE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;qBAC3F,IAAI,KAAK,IAAI,OAAO;oBAAE,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;gBAC7D,MAAM;YACR,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,CAAC,GAAG,KAAwB;QAChC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC;IAClC,CAAC;IAEM,YAAY,GAAsB,GAAG,EAAE,GAAE,CAAC,CAAC;IAC3C,cAAc,GAAsB,GAAG,EAAE,GAAE,CAAC,CAAC;CACrD;AA5ED,kCA4EC;AACD,aAAa;AACb,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, IconElement } from "..";
|
|
2
2
|
export declare class TabItem extends Component {
|
|
3
3
|
title: string;
|
|
4
4
|
private __closeable;
|
|
@@ -6,10 +6,10 @@ export declare class TabItem extends Component {
|
|
|
6
6
|
private displayContent;
|
|
7
7
|
private _content;
|
|
8
8
|
private closeIcon;
|
|
9
|
-
constructor(title: string, content:
|
|
9
|
+
constructor(title: string, content: HTMLElement, icon: IconElement | null, closeable?: boolean);
|
|
10
10
|
get closeable(): boolean;
|
|
11
11
|
set closeable(value: boolean);
|
|
12
12
|
select(): void;
|
|
13
13
|
unselect(): void;
|
|
14
|
-
get content():
|
|
14
|
+
get content(): HTMLElement;
|
|
15
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabItem.js","sourceRoot":"","sources":["../../../../../src/core/element/action/TabItem.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"TabItem.js","sourceRoot":"","sources":["../../../../../src/core/element/action/TabItem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AAC,CAAC"}
|
|
@@ -13,21 +13,15 @@ export interface IElement {
|
|
|
13
13
|
}
|
|
14
14
|
export interface IComponent extends HTMLElement {
|
|
15
15
|
onInit(): void;
|
|
16
|
-
unmount
|
|
16
|
+
unmount(): void;
|
|
17
17
|
addClasName(...names: string[]): void;
|
|
18
18
|
get style(): CSSStyleDeclarationRef;
|
|
19
19
|
set innerHTML(value: string | ref<string> | any);
|
|
20
20
|
}
|
|
21
21
|
export declare class Component extends HTMLElement implements IComponent {
|
|
22
|
-
private _styleref;
|
|
23
22
|
constructor(optional?: StyleOptional);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
addClasName(...names: string[]): void;
|
|
27
|
-
setStyle(optional: StyleOptional): void;
|
|
28
|
-
get style(): CSSStyleDeclarationRef;
|
|
29
|
-
static applyDate<T extends IComponent>(data: StyleOptional | undefined, element: T): void;
|
|
30
|
-
static applyStyleOrAttribute<T extends IComponent>(data: CSSStyleDeclarationOptional, element: T): void;
|
|
23
|
+
static applyDate<T extends HTMLElement>(data: StyleOptional | undefined, element: T): void;
|
|
24
|
+
static applyStyleOrAttribute<T extends HTMLElement>(data: CSSStyleDeclarationOptional, element: T): void;
|
|
31
25
|
static setVariant(element: HTMLElement, variant: Variant | undefined): void;
|
|
32
26
|
onEvent(type: string, listener: EventHandler, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
33
27
|
createEvent(type: string, ...data: any[]): boolean;
|
|
@@ -40,19 +34,10 @@ export declare class Component extends HTMLElement implements IComponent {
|
|
|
40
34
|
deleteEvent(type: string): void;
|
|
41
35
|
}
|
|
42
36
|
export declare class DivElement extends HTMLDivElement implements IComponent {
|
|
43
|
-
private _styleref;
|
|
44
|
-
Test: string;
|
|
45
37
|
constructor(optional?: StyleOptional);
|
|
46
|
-
onInit(): void;
|
|
47
|
-
addClasName(...names: string[]): void;
|
|
48
|
-
get style(): CSSStyleDeclarationRef;
|
|
49
38
|
}
|
|
50
39
|
export declare class ParagraphElement extends HTMLParagraphElement implements IComponent {
|
|
51
|
-
private _styleref;
|
|
52
40
|
constructor(optional?: StyleOptional);
|
|
53
|
-
onInit(): void;
|
|
54
|
-
addClasName(...names: string[]): void;
|
|
55
|
-
get style(): CSSStyleDeclarationRef;
|
|
56
41
|
}
|
|
57
42
|
export interface DataAnchorElement extends StyleOptional {
|
|
58
43
|
href?: string;
|
|
@@ -60,7 +45,6 @@ export interface DataAnchorElement extends StyleOptional {
|
|
|
60
45
|
target?: string;
|
|
61
46
|
}
|
|
62
47
|
export declare class AnchorElement extends HTMLAnchorElement implements IComponent {
|
|
63
|
-
private _styleref;
|
|
64
48
|
private _rlink;
|
|
65
49
|
constructor(optional?: StyleOptional & {
|
|
66
50
|
download?: string;
|
|
@@ -74,23 +58,15 @@ export declare class AnchorElement extends HTMLAnchorElement implements ICompone
|
|
|
74
58
|
type?: string;
|
|
75
59
|
rlink?: string;
|
|
76
60
|
});
|
|
77
|
-
onInit(): void;
|
|
78
|
-
addClasName(...names: string[]): void;
|
|
79
|
-
get style(): CSSStyleDeclarationRef;
|
|
80
61
|
set rlink(link: string);
|
|
81
62
|
get rlink(): string;
|
|
82
63
|
}
|
|
83
64
|
export declare class AbbreviationElement extends HTMLElement implements IComponent {
|
|
84
|
-
private _styleref;
|
|
85
65
|
constructor(optional?: StyleOptional & {
|
|
86
66
|
title?: string;
|
|
87
67
|
});
|
|
88
|
-
onInit(): void;
|
|
89
|
-
addClasName(...names: string[]): void;
|
|
90
|
-
get style(): CSSStyleDeclarationRef;
|
|
91
68
|
}
|
|
92
69
|
export declare class AreaElement extends HTMLAreaElement implements IComponent {
|
|
93
|
-
private _styleref;
|
|
94
70
|
constructor(optional?: StyleOptional & {
|
|
95
71
|
alt?: string;
|
|
96
72
|
coords?: string;
|
|
@@ -105,104 +81,52 @@ export declare class AreaElement extends HTMLAreaElement implements IComponent {
|
|
|
105
81
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
106
82
|
type?: string;
|
|
107
83
|
});
|
|
108
|
-
onInit(): void;
|
|
109
|
-
addClasName(...names: string[]): void;
|
|
110
|
-
get style(): CSSStyleDeclarationRef;
|
|
111
84
|
}
|
|
112
85
|
export interface DataImageElement extends StyleOptional {
|
|
113
86
|
src?: string;
|
|
114
87
|
alt?: string;
|
|
115
88
|
}
|
|
116
89
|
export declare class ImageElement extends HTMLImageElement implements IComponent {
|
|
117
|
-
private _styleref;
|
|
118
90
|
constructor(optional?: DataImageElement);
|
|
119
|
-
onInit(): void;
|
|
120
|
-
addClasName(...names: string[]): void;
|
|
121
|
-
get style(): CSSStyleDeclarationRef;
|
|
122
91
|
}
|
|
123
92
|
export declare class UListElement extends HTMLUListElement implements IComponent {
|
|
124
|
-
private _styleref;
|
|
125
93
|
constructor(optional?: StyleOptional);
|
|
126
|
-
onInit(): void;
|
|
127
|
-
addClasName(...names: string[]): void;
|
|
128
|
-
get style(): CSSStyleDeclarationRef;
|
|
129
94
|
}
|
|
130
95
|
export declare class OrderedListElement extends HTMLOListElement implements IComponent {
|
|
131
|
-
private _styleref;
|
|
132
96
|
constructor(optional?: StyleOptional);
|
|
133
|
-
onInit(): void;
|
|
134
|
-
addClasName(...names: string[]): void;
|
|
135
|
-
get style(): CSSStyleDeclarationRef;
|
|
136
97
|
}
|
|
137
98
|
export declare class ListItemElement extends HTMLLIElement implements IComponent {
|
|
138
|
-
private _styleref;
|
|
139
99
|
constructor(optional?: StyleOptional);
|
|
140
|
-
|
|
141
|
-
addClasName(...names: string[]): void;
|
|
142
|
-
get style(): CSSStyleDeclarationRef;
|
|
100
|
+
onSelect(): void;
|
|
143
101
|
}
|
|
144
102
|
export declare class MainElement extends HTMLElement implements IComponent {
|
|
145
|
-
private _styleref;
|
|
146
103
|
constructor(optional?: StyleOptional);
|
|
147
|
-
onInit(): void;
|
|
148
|
-
addClasName(...names: string[]): void;
|
|
149
|
-
get style(): CSSStyleDeclarationRef;
|
|
150
104
|
}
|
|
151
105
|
export declare class SpanElement extends HTMLSpanElement implements IComponent {
|
|
152
|
-
private _styleref;
|
|
153
106
|
constructor(optional?: StyleOptional);
|
|
154
|
-
onInit(): void;
|
|
155
|
-
addClasName(...names: string[]): void;
|
|
156
|
-
get style(): CSSStyleDeclarationRef;
|
|
157
107
|
}
|
|
158
108
|
export declare class StrongElement extends HTMLSpanElement implements IComponent {
|
|
159
|
-
private _styleref;
|
|
160
109
|
constructor(optional?: StyleOptional);
|
|
161
|
-
onInit(): void;
|
|
162
|
-
addClasName(...names: string[]): void;
|
|
163
|
-
get style(): CSSStyleDeclarationRef;
|
|
164
110
|
}
|
|
165
111
|
export declare class EmElement extends HTMLEmbedElement implements IComponent {
|
|
166
|
-
private _styleref;
|
|
167
112
|
constructor(optional?: StyleOptional);
|
|
168
|
-
onInit(): void;
|
|
169
|
-
addClasName(...names: string[]): void;
|
|
170
|
-
get style(): CSSStyleDeclarationRef;
|
|
171
113
|
}
|
|
172
114
|
export declare class BreakElement extends HTMLBRElement implements IComponent {
|
|
173
|
-
private _styleref;
|
|
174
115
|
constructor(optional?: StyleOptional);
|
|
175
|
-
onInit(): void;
|
|
176
|
-
addClasName(...names: string[]): void;
|
|
177
|
-
get style(): CSSStyleDeclarationRef;
|
|
178
116
|
}
|
|
179
117
|
export declare class TableElement extends HTMLTableElement implements IComponent {
|
|
180
|
-
private _styleref;
|
|
181
118
|
constructor(optional?: StyleOptional);
|
|
182
|
-
onInit(): void;
|
|
183
|
-
addClasName(...names: string[]): void;
|
|
184
119
|
addRow(...rows: TableRowElement[]): void;
|
|
185
|
-
get style(): CSSStyleDeclarationRef;
|
|
186
120
|
}
|
|
187
121
|
export declare class TableRowElement extends HTMLTableRowElement implements IComponent {
|
|
188
|
-
private _styleref;
|
|
189
122
|
constructor(optional?: StyleOptional);
|
|
190
|
-
onInit(): void;
|
|
191
|
-
addClasName(...names: string[]): void;
|
|
192
|
-
get style(): CSSStyleDeclarationRef;
|
|
193
123
|
addCell(...cells: TableCellElement[]): void;
|
|
194
124
|
}
|
|
195
125
|
export declare class TableCellElement extends HTMLTableCellElement implements IComponent {
|
|
196
|
-
private _styleref;
|
|
197
126
|
constructor(optional?: StyleOptional);
|
|
198
|
-
onInit(): void;
|
|
199
|
-
append(...childs: any[]): void;
|
|
200
|
-
addClasName(...names: string[]): void;
|
|
201
|
-
get style(): CSSStyleDeclarationRef;
|
|
202
127
|
}
|
|
203
128
|
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";
|
|
204
129
|
export declare class InputElement extends HTMLInputElement implements IComponent {
|
|
205
|
-
private _styleref;
|
|
206
130
|
constructor(optional?: StyleOptional & {
|
|
207
131
|
id?: string;
|
|
208
132
|
type?: InputType;
|
|
@@ -210,12 +134,8 @@ export declare class InputElement extends HTMLInputElement implements IComponent
|
|
|
210
134
|
value?: string | ref<string>;
|
|
211
135
|
placeholder?: string;
|
|
212
136
|
});
|
|
213
|
-
onInit(): void;
|
|
214
|
-
addClasName(...names: string[]): void;
|
|
215
|
-
get style(): CSSStyleDeclarationRef;
|
|
216
137
|
}
|
|
217
138
|
export declare class ButtonElement extends HTMLButtonElement implements IComponent {
|
|
218
|
-
private _styleref;
|
|
219
139
|
constructor(optional?: StyleOptional & {
|
|
220
140
|
autofocus?: boolean;
|
|
221
141
|
disabled?: boolean;
|
|
@@ -235,37 +155,21 @@ export declare class ButtonElement extends HTMLButtonElement implements ICompone
|
|
|
235
155
|
onclick?: (event: MouseEvent) => void;
|
|
236
156
|
onfile?: (fileList: FileList) => void;
|
|
237
157
|
});
|
|
238
|
-
onInit(): void;
|
|
239
|
-
addClasName(...names: string[]): void;
|
|
240
|
-
get style(): CSSStyleDeclarationRef;
|
|
241
158
|
set type(value: "submit" | "reset" | "button" | "file");
|
|
242
159
|
}
|
|
243
160
|
export declare class TextAreaElement extends HTMLTextAreaElement implements IComponent {
|
|
244
|
-
private _styleref;
|
|
245
161
|
constructor(optional?: StyleOptional);
|
|
246
|
-
onInit(): void;
|
|
247
|
-
addClasName(...names: string[]): void;
|
|
248
|
-
get style(): CSSStyleDeclarationRef;
|
|
249
162
|
}
|
|
250
163
|
export declare class LabelElement extends HTMLLabelElement implements IComponent {
|
|
251
|
-
private _styleref;
|
|
252
164
|
constructor(optional?: StyleOptional & {
|
|
253
165
|
for?: string;
|
|
254
166
|
text?: string;
|
|
255
167
|
});
|
|
256
|
-
onInit(): void;
|
|
257
|
-
addClasName(...names: string[]): void;
|
|
258
|
-
get style(): CSSStyleDeclarationRef;
|
|
259
168
|
}
|
|
260
169
|
export declare class SelectElement extends HTMLSelectElement implements IComponent {
|
|
261
|
-
private _styleref;
|
|
262
170
|
constructor(optional?: StyleOptional);
|
|
263
|
-
onInit(): void;
|
|
264
|
-
addClasName(...names: string[]): void;
|
|
265
|
-
get style(): CSSStyleDeclarationRef;
|
|
266
171
|
}
|
|
267
172
|
export declare class AudioElement extends HTMLAudioElement implements IComponent {
|
|
268
|
-
private _styleref;
|
|
269
173
|
constructor(optional?: StyleOptional & {
|
|
270
174
|
autoplay?: boolean;
|
|
271
175
|
controls?: boolean;
|
|
@@ -274,173 +178,93 @@ export declare class AudioElement extends HTMLAudioElement implements IComponent
|
|
|
274
178
|
preload?: "auto" | "metadata" | "none";
|
|
275
179
|
src?: string;
|
|
276
180
|
});
|
|
277
|
-
onInit(): void;
|
|
278
|
-
addClasName(...names: string[]): void;
|
|
279
|
-
get style(): CSSStyleDeclarationRef;
|
|
280
181
|
}
|
|
281
182
|
export declare class BoldElement extends HTMLElement implements IComponent {
|
|
282
|
-
private _styleref;
|
|
283
183
|
constructor(optional?: StyleOptional);
|
|
284
|
-
onInit(): void;
|
|
285
|
-
addClasName(...names: string[]): void;
|
|
286
|
-
get style(): CSSStyleDeclarationRef;
|
|
287
184
|
}
|
|
288
185
|
export declare class BaseElement extends HTMLElement implements IComponent {
|
|
289
|
-
private _styleref;
|
|
290
186
|
constructor(optional?: StyleOptional & {
|
|
291
187
|
href?: string;
|
|
292
188
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
293
189
|
});
|
|
294
|
-
onInit(): void;
|
|
295
|
-
addClasName(...names: string[]): void;
|
|
296
|
-
get style(): CSSStyleDeclarationRef;
|
|
297
190
|
}
|
|
298
191
|
export declare class BodyElement extends HTMLBodyElement implements IComponent {
|
|
299
|
-
private _styleref;
|
|
300
192
|
constructor(optional?: StyleOptional);
|
|
301
|
-
onInit(): void;
|
|
302
|
-
addClasName(...names: string[]): void;
|
|
303
|
-
get style(): CSSStyleDeclarationRef;
|
|
304
193
|
}
|
|
305
194
|
export declare class VideoElement extends HTMLVideoElement implements IComponent {
|
|
306
|
-
private _styleref;
|
|
307
195
|
constructor(optional?: StyleOptional);
|
|
308
|
-
onInit(): void;
|
|
309
|
-
addClasName(...names: string[]): void;
|
|
310
|
-
get style(): CSSStyleDeclarationRef;
|
|
311
196
|
}
|
|
312
197
|
export declare class CanvasElement extends HTMLCanvasElement implements IComponent {
|
|
313
|
-
private _styleref;
|
|
314
198
|
constructor(optional?: StyleOptional & {
|
|
315
199
|
width?: number;
|
|
316
200
|
height?: number;
|
|
317
201
|
});
|
|
318
|
-
onInit(): void;
|
|
319
|
-
addClasName(...names: string[]): void;
|
|
320
|
-
get style(): CSSStyleDeclarationRef;
|
|
321
202
|
}
|
|
322
203
|
export declare class CaptionElement extends HTMLTableCaptionElement implements IComponent {
|
|
323
|
-
private _styleref;
|
|
324
204
|
constructor(optional?: StyleOptional);
|
|
325
|
-
onInit(): void;
|
|
326
|
-
addClasName(...names: string[]): void;
|
|
327
|
-
get style(): CSSStyleDeclarationRef;
|
|
328
205
|
}
|
|
329
206
|
export declare class CiteElement extends HTMLElement implements IComponent {
|
|
330
|
-
private _styleref;
|
|
331
207
|
constructor(optional?: StyleOptional);
|
|
332
|
-
onInit(): void;
|
|
333
|
-
addClasName(...names: string[]): void;
|
|
334
|
-
get style(): CSSStyleDeclarationRef;
|
|
335
208
|
}
|
|
336
209
|
export declare class CodeElement extends HTMLElement implements IComponent {
|
|
337
|
-
private _styleref;
|
|
338
210
|
constructor(optional?: StyleOptional);
|
|
339
|
-
onInit(): void;
|
|
340
|
-
addClasName(...names: string[]): void;
|
|
341
|
-
get style(): CSSStyleDeclarationRef;
|
|
342
211
|
}
|
|
343
212
|
export declare class TableColElement extends HTMLTableColElement implements IComponent {
|
|
344
|
-
private _styleref;
|
|
345
213
|
constructor(optional?: StyleOptional & {
|
|
346
214
|
span?: number;
|
|
347
215
|
});
|
|
348
|
-
onInit(): void;
|
|
349
|
-
addClasName(...names: string[]): void;
|
|
350
|
-
get style(): CSSStyleDeclarationRef;
|
|
351
216
|
}
|
|
352
217
|
export declare class TableColGroupElement extends HTMLTableColElement implements IComponent {
|
|
353
|
-
private _styleref;
|
|
354
218
|
constructor(optional?: StyleOptional & {
|
|
355
219
|
span?: number;
|
|
356
220
|
});
|
|
357
|
-
onInit(): void;
|
|
358
|
-
addClasName(...names: string[]): void;
|
|
359
|
-
get style(): CSSStyleDeclarationRef;
|
|
360
221
|
}
|
|
361
222
|
export declare class DataListElement extends HTMLDataListElement implements IComponent {
|
|
362
|
-
private _styleref;
|
|
363
223
|
constructor(optional?: StyleOptional);
|
|
364
|
-
onInit(): void;
|
|
365
|
-
addClasName(...names: string[]): void;
|
|
366
|
-
get style(): CSSStyleDeclarationRef;
|
|
367
224
|
}
|
|
368
225
|
export declare class DefinitionDescriptionElement extends HTMLElement implements IComponent {
|
|
369
|
-
private _styleref;
|
|
370
226
|
constructor(optional?: StyleOptional);
|
|
371
|
-
onInit(): void;
|
|
372
|
-
addClasName(...names: string[]): void;
|
|
373
|
-
get style(): CSSStyleDeclarationRef;
|
|
374
227
|
}
|
|
375
228
|
export declare class DeletedTextElement extends HTMLModElement implements IComponent {
|
|
376
|
-
private _styleref;
|
|
377
229
|
constructor(optional?: StyleOptional & {
|
|
378
230
|
cite?: string;
|
|
379
231
|
});
|
|
380
|
-
onInit(): void;
|
|
381
|
-
addClasName(...names: string[]): void;
|
|
382
|
-
get style(): CSSStyleDeclarationRef;
|
|
383
232
|
}
|
|
384
233
|
export declare class DetailsElement extends HTMLDetailsElement implements IComponent {
|
|
385
|
-
private _styleref;
|
|
386
234
|
constructor(optional?: StyleOptional & {
|
|
387
235
|
open?: boolean;
|
|
388
236
|
summary?: string | SummaryElement;
|
|
389
237
|
});
|
|
390
|
-
onInit(): void;
|
|
391
|
-
addClasName(...names: string[]): void;
|
|
392
|
-
get style(): CSSStyleDeclarationRef;
|
|
393
238
|
setSummary(summary: SummaryElement): void;
|
|
394
239
|
}
|
|
395
240
|
export declare class DefinitionElement extends HTMLElement implements IComponent {
|
|
396
|
-
private _styleref;
|
|
397
241
|
constructor(optional?: StyleOptional);
|
|
398
|
-
onInit(): void;
|
|
399
|
-
addClasName(...names: string[]): void;
|
|
400
|
-
get style(): CSSStyleDeclarationRef;
|
|
401
242
|
}
|
|
402
243
|
export declare class DialogElement extends HTMLDialogElement implements IComponent {
|
|
403
|
-
private _styleref;
|
|
404
244
|
constructor(optional?: StyleOptional & {
|
|
405
245
|
open?: boolean;
|
|
406
246
|
});
|
|
407
|
-
onInit(): void;
|
|
408
|
-
addClasName(...names: string[]): void;
|
|
409
|
-
get style(): CSSStyleDeclarationRef;
|
|
410
247
|
}
|
|
411
248
|
export declare class EmbedElement extends HTMLEmbedElement implements IComponent {
|
|
412
|
-
private _styleref;
|
|
413
249
|
constructor(optional?: StyleOptional & {
|
|
414
250
|
height?: number;
|
|
415
251
|
src?: string;
|
|
416
252
|
type?: string;
|
|
417
253
|
width?: number;
|
|
418
254
|
});
|
|
419
|
-
onInit(): void;
|
|
420
|
-
addClasName(...names: string[]): void;
|
|
421
|
-
get style(): CSSStyleDeclarationRef;
|
|
422
255
|
}
|
|
423
256
|
export declare class FieldSetElement extends HTMLFieldSetElement implements IComponent {
|
|
424
|
-
private _styleref;
|
|
425
257
|
constructor(optional?: StyleOptional & {
|
|
426
258
|
disabled?: boolean;
|
|
427
259
|
name?: string;
|
|
428
260
|
legend?: string | LegendElement;
|
|
429
261
|
});
|
|
430
|
-
onInit(): void;
|
|
431
|
-
addClasName(...names: string[]): void;
|
|
432
|
-
get style(): CSSStyleDeclarationRef;
|
|
433
262
|
setLegend(legend: LegendElement): void;
|
|
434
263
|
}
|
|
435
264
|
export declare class FooterElement extends HTMLElement implements IComponent {
|
|
436
|
-
private _styleref;
|
|
437
265
|
constructor(optional?: StyleOptional);
|
|
438
|
-
onInit(): void;
|
|
439
|
-
addClasName(...names: string[]): void;
|
|
440
|
-
get style(): CSSStyleDeclarationRef;
|
|
441
266
|
}
|
|
442
267
|
export declare class FormElement extends HTMLFormElement implements IComponent {
|
|
443
|
-
private _styleref;
|
|
444
268
|
constructor(optional?: StyleOptional & {
|
|
445
269
|
acceptCharset?: string;
|
|
446
270
|
action?: string;
|
|
@@ -451,32 +275,17 @@ export declare class FormElement extends HTMLFormElement implements IComponent {
|
|
|
451
275
|
rel?: "external" | "help" | "license" | "next" | "nofollow" | "noopener" | "noreferrer" | "opener" | "prev" | "search";
|
|
452
276
|
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
453
277
|
});
|
|
454
|
-
onInit(): void;
|
|
455
|
-
addClasName(...names: string[]): void;
|
|
456
|
-
get style(): CSSStyleDeclarationRef;
|
|
457
278
|
}
|
|
458
279
|
export declare class H1Element extends HTMLHeadingElement implements IComponent {
|
|
459
|
-
private _styleref;
|
|
460
280
|
constructor(optional?: StyleOptional);
|
|
461
|
-
onInit(): void;
|
|
462
|
-
addClasName(...names: string[]): void;
|
|
463
|
-
get style(): CSSStyleDeclarationRef;
|
|
464
281
|
}
|
|
465
282
|
export declare class H2Element extends HTMLHeadingElement implements IComponent {
|
|
466
|
-
private _styleref;
|
|
467
283
|
constructor(optional?: StyleOptional);
|
|
468
|
-
onInit(): void;
|
|
469
|
-
addClasName(...names: string[]): void;
|
|
470
|
-
get style(): CSSStyleDeclarationRef;
|
|
471
284
|
}
|
|
472
285
|
export declare class H3Element extends HTMLHeadingElement implements IComponent {
|
|
473
|
-
private _styleref;
|
|
474
286
|
constructor(optional?: StyleOptional);
|
|
475
287
|
get text(): string;
|
|
476
288
|
set text(value: string | ref<string>);
|
|
477
|
-
onInit(): void;
|
|
478
|
-
addClasName(...names: string[]): void;
|
|
479
|
-
get style(): CSSStyleDeclarationRef;
|
|
480
289
|
}
|
|
481
290
|
export declare class H4Element extends H3Element implements IComponent {
|
|
482
291
|
constructor(optional?: StyleOptional);
|
|
@@ -494,39 +303,22 @@ export declare class H6Element extends H3Element implements IComponent {
|
|
|
494
303
|
addClasName(...names: string[]): void;
|
|
495
304
|
}
|
|
496
305
|
export declare class HeadElement extends HTMLHeadElement implements IComponent {
|
|
497
|
-
private _styleref;
|
|
498
306
|
constructor(optional?: StyleOptional);
|
|
499
|
-
onInit(): void;
|
|
500
|
-
addClasName(...names: string[]): void;
|
|
501
|
-
get style(): CSSStyleDeclarationRef;
|
|
502
307
|
}
|
|
503
308
|
export declare class HeaderElement extends HTMLElement implements IComponent {
|
|
504
|
-
private _styleref;
|
|
505
309
|
constructor(optional?: StyleOptional);
|
|
506
|
-
onInit(): void;
|
|
507
|
-
addClasName(...names: string[]): void;
|
|
508
|
-
get style(): CSSStyleDeclarationRef;
|
|
509
310
|
}
|
|
510
311
|
export declare class HorizontalRuleElement extends HTMLHRElement implements IComponent {
|
|
511
|
-
private _styleref;
|
|
512
312
|
constructor(optional?: StyleOptional);
|
|
513
|
-
onInit(): void;
|
|
514
|
-
addClasName(...names: string[]): void;
|
|
515
|
-
get style(): CSSStyleDeclarationRef;
|
|
516
313
|
}
|
|
517
314
|
export declare class HtmlElement extends HTMLHtmlElement implements IComponent {
|
|
518
|
-
private _styleref;
|
|
519
315
|
constructor(optional?: StyleOptional & {
|
|
520
316
|
manifest?: string;
|
|
521
317
|
});
|
|
522
|
-
onInit(): void;
|
|
523
|
-
addClasName(...names: string[]): void;
|
|
524
318
|
set manifest(value: string);
|
|
525
319
|
get manifest(): string;
|
|
526
|
-
get style(): CSSStyleDeclarationRef;
|
|
527
320
|
}
|
|
528
321
|
export declare class IFrameElement extends HTMLIFrameElement implements IComponent {
|
|
529
|
-
private _styleref;
|
|
530
322
|
constructor(optional?: StyleOptional & {
|
|
531
323
|
allow?: string;
|
|
532
324
|
allowfullscreen?: boolean;
|
|
@@ -551,54 +343,30 @@ export declare class IFrameElement extends HTMLIFrameElement implements ICompone
|
|
|
551
343
|
get importance(): "auto" | "high" | "low";
|
|
552
344
|
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");
|
|
553
345
|
get referrerpolicy(): string;
|
|
554
|
-
onInit(): void;
|
|
555
|
-
addClasName(...names: string[]): void;
|
|
556
|
-
get style(): CSSStyleDeclarationRef;
|
|
557
346
|
}
|
|
558
347
|
export declare class LegendElement extends HTMLLegendElement implements IComponent {
|
|
559
|
-
private _styleref;
|
|
560
348
|
constructor(optional?: StyleOptional & {
|
|
561
349
|
value?: number;
|
|
562
350
|
});
|
|
563
|
-
onInit(): void;
|
|
564
|
-
addClasName(...names: string[]): void;
|
|
565
|
-
get style(): CSSStyleDeclarationRef;
|
|
566
351
|
}
|
|
567
352
|
export declare class SvgElement extends HTMLObjectElement implements IComponent {
|
|
568
353
|
constructor(optional?: StyleOptional & {
|
|
569
354
|
data?: string;
|
|
570
355
|
});
|
|
571
|
-
onInit(): void;
|
|
572
|
-
unmount?(): void;
|
|
573
|
-
addClasName(...names: string[]): void;
|
|
574
356
|
set color(value: string);
|
|
575
357
|
get color(): string;
|
|
576
358
|
}
|
|
577
359
|
export declare class NavElement extends HTMLElement implements IComponent {
|
|
578
|
-
private _styleref;
|
|
579
360
|
constructor(optional?: StyleOptional);
|
|
580
|
-
onInit(): void;
|
|
581
|
-
addClasName(...names: string[]): void;
|
|
582
|
-
get style(): CSSStyleDeclarationRef;
|
|
583
361
|
}
|
|
584
362
|
export declare class SectionElement extends HTMLElement implements IComponent {
|
|
585
|
-
private _styleref;
|
|
586
363
|
constructor(optional?: StyleOptional);
|
|
587
|
-
onInit(): void;
|
|
588
|
-
addClasName(...names: string[]): void;
|
|
589
|
-
get style(): CSSStyleDeclarationRef;
|
|
590
364
|
}
|
|
591
365
|
export declare class ArticleElement extends HTMLElement implements IComponent {
|
|
592
|
-
private _styleref;
|
|
593
366
|
constructor(optional?: StyleOptional);
|
|
594
|
-
onInit(): void;
|
|
595
|
-
addClasName(...names: string[]): void;
|
|
596
|
-
get style(): CSSStyleDeclarationRef;
|
|
597
367
|
}
|
|
598
368
|
export declare class SummaryElement extends HTMLElement implements IComponent {
|
|
599
369
|
constructor(optional?: StyleOptional);
|
|
600
|
-
onInit(): void;
|
|
601
|
-
addClasName(...names: string[]): void;
|
|
602
370
|
}
|
|
603
371
|
export declare class ILayout extends Component {
|
|
604
372
|
constructor(optional?: StyleOptional);
|