@vandenberghinc/volt 1.1.4 → 1.1.6
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/backend/dist/cjs/database.d.ts +41 -68
- package/backend/dist/cjs/database.js +136 -78
- package/backend/dist/cjs/endpoint.d.ts +23 -9
- package/backend/dist/cjs/endpoint.js +98 -21
- package/backend/dist/cjs/file_watcher.js +2 -2
- package/backend/dist/cjs/frontend.d.ts +0 -2
- package/backend/dist/cjs/frontend.js +9 -9
- package/backend/dist/cjs/image_endpoint.d.ts +3 -1
- package/backend/dist/cjs/image_endpoint.js +2 -1
- package/backend/dist/cjs/payments/paddle.js +10 -2
- package/backend/dist/cjs/plugins/css.d.ts +6 -5
- package/backend/dist/cjs/plugins/css.js +32 -7
- package/backend/dist/cjs/plugins/ts/compiler.d.ts +6 -1
- package/backend/dist/cjs/plugins/ts/compiler.js +26 -2
- package/backend/dist/cjs/plugins/ts/preprocessing.js +5 -3
- package/backend/dist/cjs/server.d.ts +7 -13
- package/backend/dist/cjs/server.js +184 -303
- package/backend/dist/cjs/status.d.ts +1 -0
- package/backend/dist/cjs/status.js +2 -1
- package/backend/dist/cjs/stream.d.ts +5 -3
- package/backend/dist/cjs/stream.js +13 -4
- package/backend/dist/cjs/users.d.ts +1 -1
- package/backend/dist/cjs/users.js +87 -72
- package/backend/dist/cjs/utils.d.ts +17 -9
- package/backend/dist/cjs/utils.js +22 -64
- package/backend/dist/cjs/view.d.ts +2 -2
- package/backend/dist/cjs/view.js +38 -40
- package/backend/dist/cjs/volt.d.ts +3 -2
- package/backend/dist/cjs/volt.js +2 -2
- package/backend/dist/css/volt.css +5 -0
- package/backend/dist/esm/database.d.ts +41 -68
- package/backend/dist/esm/database.js +137 -79
- package/backend/dist/esm/endpoint.d.ts +23 -9
- package/backend/dist/esm/endpoint.js +99 -22
- package/backend/dist/esm/file_watcher.js +2 -2
- package/backend/dist/esm/frontend.d.ts +0 -2
- package/backend/dist/esm/frontend.js +9 -9
- package/backend/dist/esm/image_endpoint.d.ts +3 -1
- package/backend/dist/esm/image_endpoint.js +2 -1
- package/backend/dist/esm/payments/paddle.js +11 -3
- package/backend/dist/esm/plugins/css.d.ts +6 -5
- package/backend/dist/esm/plugins/css.js +32 -6
- package/backend/dist/esm/plugins/ts/compiler.d.ts +6 -1
- package/backend/dist/esm/plugins/ts/compiler.js +26 -2
- package/backend/dist/esm/plugins/ts/preprocessing.js +5 -3
- package/backend/dist/esm/server.d.ts +7 -13
- package/backend/dist/esm/server.js +182 -301
- package/backend/dist/esm/status.d.ts +1 -0
- package/backend/dist/esm/status.js +1 -0
- package/backend/dist/esm/stream.d.ts +5 -3
- package/backend/dist/esm/stream.js +13 -4
- package/backend/dist/esm/users.d.ts +1 -1
- package/backend/dist/esm/users.js +87 -72
- package/backend/dist/esm/utils.d.ts +17 -9
- package/backend/dist/esm/utils.js +21 -62
- package/backend/dist/esm/view.d.ts +2 -2
- package/backend/dist/esm/view.js +38 -40
- package/backend/dist/esm/volt.d.ts +3 -2
- package/backend/dist/esm/volt.js +2 -1
- package/backend/dist/esm-dev/blacklist.js +1 -1
- package/backend/dist/esm-dev/cli.js +2 -2
- package/backend/dist/esm-dev/database.d.ts +41 -68
- package/backend/dist/esm-dev/database.js +138 -80
- package/backend/dist/esm-dev/endpoint.d.ts +23 -9
- package/backend/dist/esm-dev/endpoint.js +100 -23
- package/backend/dist/esm-dev/file_watcher.js +3 -3
- package/backend/dist/esm-dev/frontend.d.ts +0 -2
- package/backend/dist/esm-dev/frontend.js +9 -9
- package/backend/dist/esm-dev/image_endpoint.d.ts +3 -1
- package/backend/dist/esm-dev/image_endpoint.js +2 -1
- package/backend/dist/esm-dev/logger.js +1 -1
- package/backend/dist/esm-dev/payments/paddle.js +12 -4
- package/backend/dist/esm-dev/plugins/css.d.ts +6 -5
- package/backend/dist/esm-dev/plugins/css.js +33 -7
- package/backend/dist/esm-dev/plugins/ts/compiler.d.ts +6 -1
- package/backend/dist/esm-dev/plugins/ts/compiler.js +27 -3
- package/backend/dist/esm-dev/plugins/ts/preprocessing.js +7 -5
- package/backend/dist/esm-dev/rate_limit.js +1 -1
- package/backend/dist/esm-dev/server.d.ts +7 -13
- package/backend/dist/esm-dev/server.js +184 -303
- package/backend/dist/esm-dev/status.d.ts +1 -0
- package/backend/dist/esm-dev/status.js +1 -0
- package/backend/dist/esm-dev/stream.d.ts +5 -3
- package/backend/dist/esm-dev/stream.js +13 -4
- package/backend/dist/esm-dev/users.d.ts +1 -1
- package/backend/dist/esm-dev/users.js +88 -73
- package/backend/dist/esm-dev/utils.d.ts +17 -9
- package/backend/dist/esm-dev/utils.js +22 -63
- package/backend/dist/esm-dev/view.d.ts +2 -2
- package/backend/dist/esm-dev/view.js +39 -41
- package/backend/dist/esm-dev/volt.d.ts +3 -2
- package/backend/dist/esm-dev/volt.js +2 -1
- package/backend/src/database.ts +173 -155
- package/backend/src/endpoint.ts +123 -31
- package/backend/src/file_watcher.ts +2 -2
- package/backend/src/frontend.ts +9 -8
- package/backend/src/image_endpoint.ts +4 -0
- package/backend/src/payments/paddle.ts +11 -3
- package/backend/src/plugins/css.ts +36 -8
- package/backend/src/plugins/ts/compiler.ts +37 -1
- package/backend/src/plugins/ts/preprocessing.ts +5 -3
- package/backend/src/server.ts +167 -306
- package/backend/src/status.ts +1 -0
- package/backend/src/stream.ts +28 -8
- package/backend/src/users.ts +87 -72
- package/backend/src/utils.ts +58 -25
- package/backend/src/view.ts +30 -28
- package/backend/src/{volt.js → volt.ts} +2 -1
- package/backend/tsconfig.cjs.json +3 -3
- package/backend/tsconfig.esm.json +3 -3
- package/frontend/dist/elements/base.d.ts +414 -432
- package/frontend/dist/elements/base.js +566 -329
- package/frontend/dist/elements/module.d.ts +26 -12
- package/frontend/dist/elements/module.js +69 -32
- package/frontend/dist/elements/register_element.d.ts +3 -0
- package/frontend/dist/elements/register_element.js +22 -0
- package/frontend/dist/modules/auth.d.ts +1 -0
- package/frontend/dist/modules/auth.js +6 -5
- package/frontend/dist/modules/color.d.ts +159 -0
- package/frontend/dist/modules/color.js +315 -0
- package/frontend/dist/modules/colors.d.ts +1 -26
- package/frontend/dist/modules/colors.js +417 -340
- package/frontend/dist/modules/cookies.d.ts +1 -0
- package/frontend/dist/modules/cookies.js +1 -0
- package/frontend/dist/modules/events.d.ts +1 -0
- package/frontend/dist/modules/events.js +1 -0
- package/frontend/dist/modules/google.d.ts +1 -0
- package/frontend/dist/modules/google.js +1 -0
- package/frontend/dist/modules/meta.d.ts +1 -0
- package/frontend/dist/modules/meta.js +1 -0
- package/frontend/dist/modules/mutex.d.ts +1 -2
- package/frontend/dist/modules/mutex.js +3 -4
- package/frontend/dist/modules/paddle.d.ts +1 -0
- package/frontend/dist/modules/paddle.js +14 -13
- package/frontend/dist/modules/scheme.d.ts +1 -0
- package/frontend/dist/modules/scheme.js +5 -3
- package/frontend/dist/modules/statics.d.ts +1 -0
- package/frontend/dist/modules/statics.js +1 -0
- package/frontend/dist/modules/support.d.ts +1 -0
- package/frontend/dist/modules/support.js +3 -2
- package/frontend/dist/modules/theme.d.ts +56 -0
- package/frontend/dist/{ui → modules}/theme.js +186 -75
- package/frontend/dist/modules/themes.d.ts +1 -1
- package/frontend/dist/modules/themes.js +1 -0
- package/frontend/dist/modules/user.d.ts +1 -0
- package/frontend/dist/modules/user.js +11 -10
- package/frontend/dist/modules/utils.d.ts +23 -2
- package/frontend/dist/modules/utils.js +93 -1
- package/frontend/dist/types/gradient.js +4 -0
- package/frontend/dist/ui/border_button.d.ts +0 -25
- package/frontend/dist/ui/border_button.js +50 -51
- package/frontend/dist/ui/button.d.ts +0 -21
- package/frontend/dist/ui/button.js +41 -46
- package/frontend/dist/ui/canvas.js +15 -15
- package/frontend/dist/ui/checkbox.d.ts +3 -17
- package/frontend/dist/ui/checkbox.js +36 -30
- package/frontend/dist/ui/code.d.ts +15 -82
- package/frontend/dist/ui/code.js +150 -125
- package/frontend/dist/ui/color.d.ts +0 -1
- package/frontend/dist/ui/color.js +1 -1
- package/frontend/dist/ui/context_menu.d.ts +4 -2
- package/frontend/dist/ui/context_menu.js +16 -17
- package/frontend/dist/ui/css.js +2 -0
- package/frontend/dist/ui/divider.d.ts +0 -7
- package/frontend/dist/ui/divider.js +21 -25
- package/frontend/dist/ui/dropdown.d.ts +13 -7
- package/frontend/dist/ui/dropdown.js +65 -30
- package/frontend/dist/ui/for_each.d.ts +0 -5
- package/frontend/dist/ui/for_each.js +17 -22
- package/frontend/dist/ui/form.d.ts +17 -12
- package/frontend/dist/ui/form.js +21 -18
- package/frontend/dist/ui/frame_modes.d.ts +9 -12
- package/frontend/dist/ui/frame_modes.js +8 -10
- package/frontend/dist/ui/google_map.d.ts +0 -11
- package/frontend/dist/ui/google_map.js +23 -28
- package/frontend/dist/ui/gradient.d.ts +0 -5
- package/frontend/dist/ui/gradient.js +17 -22
- package/frontend/dist/ui/image.d.ts +27 -58
- package/frontend/dist/ui/image.js +99 -93
- package/frontend/dist/ui/input.d.ts +20 -97
- package/frontend/dist/ui/input.js +192 -170
- package/frontend/dist/ui/link.d.ts +0 -18
- package/frontend/dist/ui/link.js +42 -48
- package/frontend/dist/ui/list.js +36 -37
- package/frontend/dist/ui/loader_button.d.ts +4 -19
- package/frontend/dist/ui/loader_button.js +35 -37
- package/frontend/dist/ui/loaders.d.ts +0 -8
- package/frontend/dist/ui/loaders.js +20 -25
- package/frontend/dist/ui/popup.d.ts +11 -8
- package/frontend/dist/ui/popup.js +183 -24
- package/frontend/dist/ui/pseudo.d.ts +3 -3
- package/frontend/dist/ui/pseudo.js +14 -17
- package/frontend/dist/ui/scroller.d.ts +10 -48
- package/frontend/dist/ui/scroller.js +306 -300
- package/frontend/dist/ui/slider.d.ts +9 -3
- package/frontend/dist/ui/slider.js +31 -17
- package/frontend/dist/ui/spacer.d.ts +0 -9
- package/frontend/dist/ui/spacer.js +21 -26
- package/frontend/dist/ui/span.js +13 -15
- package/frontend/dist/ui/stack.d.ts +14 -75
- package/frontend/dist/ui/stack.js +166 -169
- package/frontend/dist/ui/steps.d.ts +10 -23
- package/frontend/dist/ui/steps.js +47 -34
- package/frontend/dist/ui/style.d.ts +4 -3
- package/frontend/dist/ui/style.js +13 -18
- package/frontend/dist/ui/switch.d.ts +10 -4
- package/frontend/dist/ui/switch.js +24 -16
- package/frontend/dist/ui/table.d.ts +0 -23
- package/frontend/dist/ui/table.js +113 -119
- package/frontend/dist/ui/tabs.d.ts +3 -19
- package/frontend/dist/ui/tabs.js +35 -29
- package/frontend/dist/ui/text.d.ts +0 -8
- package/frontend/dist/ui/text.js +20 -25
- package/frontend/dist/ui/title.d.ts +0 -15
- package/frontend/dist/ui/title.js +39 -45
- package/frontend/dist/ui/ui.d.ts +0 -2
- package/frontend/dist/ui/ui.js +0 -2
- package/frontend/dist/ui/view.d.ts +3 -17
- package/frontend/dist/ui/view.js +27 -32
- package/frontend/dist/volt.d.ts +2 -1
- package/frontend/dist/volt.js +3 -1
- package/frontend/examples/dashboard/dashboard.ts +774 -0
- package/frontend/examples/theme/theme.ts +58 -0
- package/frontend/src/css/volt.css +5 -0
- package/frontend/src/elements/base.ts +767 -545
- package/frontend/src/elements/module.ts +90 -29
- package/frontend/src/elements/register_element.ts +24 -0
- package/frontend/src/modules/auth.ts +7 -6
- package/frontend/src/modules/color.ts +348 -0
- package/frontend/src/modules/colors.ts +468 -449
- package/frontend/src/modules/cookies.ts +1 -0
- package/frontend/src/modules/events.ts +1 -0
- package/frontend/src/modules/google.ts +1 -0
- package/frontend/src/modules/meta.ts +2 -1
- package/frontend/src/modules/mutex.ts +2 -4
- package/frontend/src/modules/paddle.ts +21 -20
- package/frontend/src/modules/scheme.ts +5 -4
- package/frontend/src/modules/statics.ts +2 -1
- package/frontend/src/modules/support.ts +3 -2
- package/frontend/src/modules/theme.ts +413 -0
- package/frontend/src/modules/themes.ts +2 -1
- package/frontend/src/modules/user.ts +12 -11
- package/frontend/src/modules/utils.ts +125 -2
- package/frontend/src/ui/border_button.ts +41 -37
- package/frontend/src/ui/button.ts +33 -32
- package/frontend/src/ui/canvas.ts +5 -2
- package/frontend/src/ui/checkbox.ts +21 -22
- package/frontend/src/ui/code.ts +92 -86
- package/frontend/src/ui/context_menu.ts +7 -5
- package/frontend/src/ui/css.ts +1 -1
- package/frontend/src/ui/divider.ts +15 -10
- package/frontend/src/ui/dropdown.ts +38 -21
- package/frontend/src/ui/for_each.ts +9 -8
- package/frontend/src/ui/form.ts +26 -21
- package/frontend/src/ui/frame_modes.ts +13 -17
- package/frontend/src/ui/google_map.ts +15 -13
- package/frontend/src/ui/gradient.ts +9 -8
- package/frontend/src/ui/image.ts +108 -86
- package/frontend/src/ui/input.ts +145 -144
- package/frontend/src/ui/link.ts +25 -23
- package/frontend/src/ui/list.ts +12 -6
- package/frontend/src/ui/loader_button.ts +26 -25
- package/frontend/src/ui/loaders.ts +12 -11
- package/frontend/src/ui/popup.ts +168 -14
- package/frontend/src/ui/pseudo.ts +5 -3
- package/frontend/src/ui/scroller.ts +303 -294
- package/frontend/src/ui/slider.ts +15 -10
- package/frontend/src/ui/spacer.ts +14 -11
- package/frontend/src/ui/span.ts +6 -2
- package/frontend/src/ui/stack.ts +196 -183
- package/frontend/src/ui/steps.ts +38 -22
- package/frontend/src/ui/style.ts +7 -4
- package/frontend/src/ui/switch.ts +16 -11
- package/frontend/src/ui/table.ts +42 -34
- package/frontend/src/ui/tabs.ts +20 -19
- package/frontend/src/ui/text.ts +12 -11
- package/frontend/src/ui/title.ts +22 -20
- package/frontend/src/ui/ui.ts +0 -2
- package/frontend/src/ui/view.ts +20 -19
- package/frontend/src/volt.ts +3 -1
- package/frontend/{compile.js → tools/compile.old.js} +2 -2
- package/frontend/tools/embed_scripts.js +69 -0
- package/frontend/tsconfig.json +26 -0
- package/package.json +7 -6
- package/frontend/dist/ui/theme.d.ts +0 -25
- package/frontend/exports.json +0 -1340
- package/frontend/src/modules/date.js +0 -535
- package/frontend/src/ui/color.ts +0 -117
- package/frontend/src/ui/theme.ts +0 -279
- /package/backend/src/{vinc.dev.js → vinc.dev.ts} +0 -0
|
@@ -11,6 +11,7 @@ import { Events } from "../modules/events.js";
|
|
|
11
11
|
import { Themes } from "../modules/themes.js";
|
|
12
12
|
import { GradientType } from "../types/gradient.js";
|
|
13
13
|
import { Statics } from "../modules/statics.js";
|
|
14
|
+
import { register_element } from "./register_element.js";
|
|
14
15
|
// Vars.
|
|
15
16
|
const elements_with_width_attribute = [
|
|
16
17
|
'canvas',
|
|
@@ -29,9 +30,6 @@ const element_href_descriptor = Object.getOwnPropertyDescriptor(HTMLAnchorElemen
|
|
|
29
30
|
const element_src_descriptor = Object.getOwnPropertyDescriptor(HTMLImageElement.prototype, 'src'); // gives full URL
|
|
30
31
|
const element_id_descriptor = Object.getOwnPropertyDescriptor(Element.prototype, 'id'); // instead of getAttribute("id")
|
|
31
32
|
const element_value_descriptor = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value');
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
// export interface VBaseElementInterface extends HTMLElement, HTMLCanvasElement, HTMLFormElement, HTMLInputElement, HTMLImageElement, VElementExtensions {}
|
|
34
|
-
// export interface VBaseElementInterface {}
|
|
35
33
|
// Base element.
|
|
36
34
|
// @note: this.tagName can not be used since they have different values on safari and other browsers.
|
|
37
35
|
/* @docs:
|
|
@@ -42,33 +40,80 @@ const element_value_descriptor = Object.getOwnPropertyDescriptor(HTMLInputElemen
|
|
|
42
40
|
*/
|
|
43
41
|
// export class VElement extends (HTMLElement as {new(): VBaseElementInterface, prototype: VBaseElementInterface}) {
|
|
44
42
|
export class VElement extends HTMLElement {
|
|
43
|
+
// ---------------------------------------------------------
|
|
44
|
+
// Attributes.
|
|
45
|
+
// @warning do not use default values since they will be put inside the constructor, which should remain empty, define them in _init_velement() instead.
|
|
46
|
+
__is_velement = true;
|
|
47
|
+
static element_tag = ""; // must also be static.
|
|
48
|
+
static default_style = {};
|
|
49
|
+
static default_attributes = {};
|
|
50
|
+
static default_events = {};
|
|
51
|
+
rendered;
|
|
52
|
+
element_name;
|
|
53
|
+
base_element_name;
|
|
54
|
+
remove_focus;
|
|
55
|
+
_v_children;
|
|
56
|
+
_element_display;
|
|
57
|
+
_is_connected;
|
|
58
|
+
_on_append_callback;
|
|
59
|
+
_assign_to_parent_as;
|
|
60
|
+
_parent;
|
|
61
|
+
_side_by_side_basis;
|
|
62
|
+
_animate_timeout;
|
|
63
|
+
_is_button_disabled;
|
|
64
|
+
_timeouts;
|
|
65
|
+
_on_window_resize_timer;
|
|
66
|
+
_abs_parent;
|
|
67
|
+
_pseudo_stylesheets;
|
|
68
|
+
_on_resize_rule_evals;
|
|
69
|
+
_observing_on_resize;
|
|
70
|
+
_observing_on_render;
|
|
71
|
+
_on_resize_callbacks;
|
|
72
|
+
_on_render_callbacks;
|
|
73
|
+
_on_theme_updates;
|
|
74
|
+
_on_mouse_leave_callback;
|
|
75
|
+
_on_mouse_enter_callback;
|
|
76
|
+
_on_shortcut_time;
|
|
77
|
+
_on_shortcut_key;
|
|
78
|
+
_on_shortcut_keycode;
|
|
79
|
+
_on_keypress_set;
|
|
80
|
+
_on_enter_callback;
|
|
81
|
+
_on_escape_callback;
|
|
82
|
+
_on_appear_callbacks;
|
|
83
|
+
// public _context_menu?: ContextMenuElement;
|
|
84
|
+
_media_queries;
|
|
85
|
+
_checked; // {get(x: any): void, set(x: any, y: any): void};
|
|
86
|
+
_disabled; // {get(x: any): void, set(x: any, y: any): void};
|
|
87
|
+
_selected; // {get(x: any): void, set(x: any, y: any): void};
|
|
88
|
+
_href; // {get(x: any): void, set(x: any, y: any): void};
|
|
89
|
+
_src; // {get(x: any): void, set(x: any, y: any): void};
|
|
90
|
+
_id; // {get(x: any): void, set(x: any, y: any): void};
|
|
91
|
+
_value; // {get(x: any): void, set(x: any, y: any): void};
|
|
45
92
|
// ---------------------------------------------------------
|
|
46
93
|
// Constructor.
|
|
47
94
|
constructor() {
|
|
48
95
|
// @warning do not use the constructor to define any member props, use _init_velement() instead.
|
|
49
96
|
super();
|
|
50
|
-
// Macros
|
|
51
|
-
// ---------------------------------------------------------
|
|
52
|
-
// Attributes.
|
|
53
|
-
// @warning do not use default values since they will be put inside the constructor, which should remain empty, define them in _init_velement() instead.
|
|
54
|
-
this.__is_velement = true;
|
|
55
97
|
}
|
|
56
|
-
|
|
57
|
-
|
|
98
|
+
/**
|
|
99
|
+
* @warning This method should only be used by the direct types declared in this file e.g. VSpanElement.
|
|
100
|
+
* @note This method is always called in the constructor of the base elements defined in VElementTagMap.
|
|
101
|
+
*/
|
|
102
|
+
_init_sys_velement(args) {
|
|
58
103
|
// Errs.
|
|
59
|
-
if (
|
|
60
|
-
throw new Error("
|
|
61
|
-
}
|
|
62
|
-
else if (args.name == null) {
|
|
63
|
-
args.name = args.derived.name.slice(0, -7);
|
|
104
|
+
if (!args.derived || !args.derived.element_name) {
|
|
105
|
+
throw new Error("Static element attribute 'args.derived.element_name' should always be defined, create static attribute \"element_name: string\" and assign the name of the class to this attribute.");
|
|
64
106
|
}
|
|
107
|
+
// if (!args.name) {
|
|
108
|
+
// throw new Error("Attribute 'args.name' should always be defined.")
|
|
109
|
+
// }
|
|
65
110
|
// Attributes.
|
|
66
111
|
this._is_connected = false;
|
|
67
112
|
// Defaults.
|
|
68
113
|
this.__is_velement = true;
|
|
69
114
|
this.rendered = false;
|
|
70
|
-
this.
|
|
71
|
-
this.
|
|
115
|
+
this.element_name = args.derived.element_name;
|
|
116
|
+
this.base_element_name = args.derived.element_name;
|
|
72
117
|
this.remove_focus = super.blur;
|
|
73
118
|
this._v_children = [];
|
|
74
119
|
this._element_display = "block";
|
|
@@ -144,17 +189,24 @@ export class VElement extends HTMLElement {
|
|
|
144
189
|
}
|
|
145
190
|
}
|
|
146
191
|
}
|
|
147
|
-
|
|
148
|
-
|
|
192
|
+
/**
|
|
193
|
+
* @warning Any VElement (a derived class of VElementTagMap) must call this method in its constructor.
|
|
194
|
+
*/
|
|
195
|
+
_init(args) {
|
|
149
196
|
// Set name.
|
|
150
|
-
if (args.
|
|
151
|
-
throw new Error("
|
|
152
|
-
}
|
|
153
|
-
else if (args.name == null) {
|
|
154
|
-
args.name = args.derived.name.slice(0, -7);
|
|
197
|
+
if (!args.derived || !args.derived.element_name) {
|
|
198
|
+
throw new Error("Static element attribute 'args.derived.element_name' should always be defined, create static attribute \"element_name: string\" and assign the name of the class to this attribute.");
|
|
155
199
|
}
|
|
200
|
+
// if (!args.name) {
|
|
201
|
+
// throw new Error("Attribute 'args.name' should always be defined.")
|
|
202
|
+
// }
|
|
203
|
+
// if (args.name == null && !args.derived.name.endsWith("Element")) {
|
|
204
|
+
// throw new Error("Attribute 'args.name' should be defined when the derived class name does not end with 'Element'.")
|
|
205
|
+
// } else if (args.name == null) {
|
|
206
|
+
// args.name = args.derived.name.slice(0, -7);
|
|
207
|
+
// }
|
|
156
208
|
// Set type/name, keep base type the same.
|
|
157
|
-
this.
|
|
209
|
+
this.element_name = args.derived.element_name;
|
|
158
210
|
// Constructed by html code.
|
|
159
211
|
if (this.hasAttribute !== undefined && this.hasAttribute("created_by_html")) {
|
|
160
212
|
}
|
|
@@ -221,7 +273,7 @@ export class VElement extends HTMLElement {
|
|
|
221
273
|
clone(clone_children = true) {
|
|
222
274
|
// @ts-ignore
|
|
223
275
|
const clone = new this.constructor();
|
|
224
|
-
if (clone.
|
|
276
|
+
if (clone.element_name != null) {
|
|
225
277
|
clone.inner_html("");
|
|
226
278
|
}
|
|
227
279
|
const styles = window.getComputedStyle(this);
|
|
@@ -254,7 +306,7 @@ export class VElement extends HTMLElement {
|
|
|
254
306
|
if (clone_children && this.childNodes != undefined) {
|
|
255
307
|
for (let i = 0; i < this.childNodes.length; i++) {
|
|
256
308
|
const child = this.childNodes[i];
|
|
257
|
-
if (isVElement(child) && child.
|
|
309
|
+
if (isVElement(child) && child.element_name != null) {
|
|
258
310
|
clone.appendChild(child.clone());
|
|
259
311
|
}
|
|
260
312
|
else {
|
|
@@ -324,9 +376,10 @@ export class VElement extends HTMLElement {
|
|
|
324
376
|
* @return:
|
|
325
377
|
* @description Returns the modified filter string or null if the input filter was null.
|
|
326
378
|
*/
|
|
327
|
-
edit_filter_wrapper(filter, type, to =
|
|
379
|
+
edit_filter_wrapper(filter, type, to = undefined) {
|
|
380
|
+
const to_str = (typeof to === "number") ? to.toString() : (to ?? "");
|
|
328
381
|
if (filter == null) {
|
|
329
|
-
return
|
|
382
|
+
return to_str;
|
|
330
383
|
}
|
|
331
384
|
const pattern = new RegExp(`${type}\\([^)]*\\)\\s*`, "g");
|
|
332
385
|
if (pattern.test(filter)) {
|
|
@@ -334,11 +387,11 @@ export class VElement extends HTMLElement {
|
|
|
334
387
|
return pattern[1];
|
|
335
388
|
}
|
|
336
389
|
else {
|
|
337
|
-
return filter.replace(pattern,
|
|
390
|
+
return filter.replace(pattern, to_str);
|
|
338
391
|
}
|
|
339
392
|
}
|
|
340
393
|
else if (to != null) {
|
|
341
|
-
return `${filter} ${
|
|
394
|
+
return `${filter} ${to_str}`;
|
|
342
395
|
}
|
|
343
396
|
return filter;
|
|
344
397
|
}
|
|
@@ -421,10 +474,8 @@ export class VElement extends HTMLElement {
|
|
|
421
474
|
this.append(...child);
|
|
422
475
|
}
|
|
423
476
|
// VWeb element.
|
|
424
|
-
else if (isVElement(child) && child.
|
|
425
|
-
if (child.
|
|
426
|
-
child.element_type == "If" ||
|
|
427
|
-
child.element_type == "IfDeviceWith") {
|
|
477
|
+
else if (isVElement(child) && child.element_name != null) {
|
|
478
|
+
if (child.element_name == "ForEachElement") {
|
|
428
479
|
child.append_children_to(this, this._on_append_callback);
|
|
429
480
|
}
|
|
430
481
|
else {
|
|
@@ -484,11 +535,9 @@ export class VElement extends HTMLElement {
|
|
|
484
535
|
this.zstack_append(...child);
|
|
485
536
|
}
|
|
486
537
|
// VWeb element.
|
|
487
|
-
else if (isVElement(child) && child.
|
|
538
|
+
else if (isVElement(child) && child.element_name != null) {
|
|
488
539
|
child.style.gridArea = "1 / 1 / 2 / 2";
|
|
489
|
-
if (child.
|
|
490
|
-
child.element_type == "If" ||
|
|
491
|
-
child.element_type == "IfDeviceWith") {
|
|
540
|
+
if (child.element_name == "ForEachElement") {
|
|
492
541
|
child.append_children_to(this, this._on_append_callback);
|
|
493
542
|
}
|
|
494
543
|
else {
|
|
@@ -507,7 +556,7 @@ export class VElement extends HTMLElement {
|
|
|
507
556
|
this.append(child(this));
|
|
508
557
|
}
|
|
509
558
|
// Node element.
|
|
510
|
-
else if (child instanceof Node || child instanceof HTMLElement) {
|
|
559
|
+
else if ((child instanceof Node) || child instanceof HTMLElement) {
|
|
511
560
|
if (child instanceof HTMLElement) {
|
|
512
561
|
child.style.gridArea = "1 / 1 / 2 / 2";
|
|
513
562
|
}
|
|
@@ -566,7 +615,7 @@ export class VElement extends HTMLElement {
|
|
|
566
615
|
* @description Returns the instance of the element for chaining.
|
|
567
616
|
*/
|
|
568
617
|
append_children_to(parent, on_append_callback) {
|
|
569
|
-
if (isVElement(parent) && this.
|
|
618
|
+
if (isVElement(parent) && this.base_element_name === "VirtualScrollerElement") {
|
|
570
619
|
for (let i = 0; i < parent.children.length; i++) {
|
|
571
620
|
parent._v_children.push(parent.children[i]);
|
|
572
621
|
}
|
|
@@ -598,7 +647,7 @@ export class VElement extends HTMLElement {
|
|
|
598
647
|
* @description Returns the instance of the element for chaining.
|
|
599
648
|
*/
|
|
600
649
|
remove_child(child) {
|
|
601
|
-
if (isVElement(child) && child.
|
|
650
|
+
if (isVElement(child) && child.element_name != null) {
|
|
602
651
|
this.removeChild(child);
|
|
603
652
|
}
|
|
604
653
|
else if (child instanceof Node) {
|
|
@@ -686,6 +735,8 @@ export class VElement extends HTMLElement {
|
|
|
686
735
|
}
|
|
687
736
|
return this;
|
|
688
737
|
}
|
|
738
|
+
/** Simple wrapper for .width("fit-content") */
|
|
739
|
+
fit_content() { return this.width("fit-content"); }
|
|
689
740
|
fixed_width(value) {
|
|
690
741
|
if (value == null) {
|
|
691
742
|
return this._try_parse_float(this.style.width);
|
|
@@ -947,6 +998,54 @@ export class VElement extends HTMLElement {
|
|
|
947
998
|
this.overflow(overflow);
|
|
948
999
|
return response;
|
|
949
1000
|
}
|
|
1001
|
+
// Sync height from another node.
|
|
1002
|
+
sync_height_from(node, process) {
|
|
1003
|
+
if (node._sync_height_info === undefined) {
|
|
1004
|
+
node._sync_height_info = {
|
|
1005
|
+
sync_to: [this],
|
|
1006
|
+
on_resize(e) {
|
|
1007
|
+
for (const to_node of node._sync_height_info.sync_to) {
|
|
1008
|
+
to_node.height(process === undefined ? node.clientHeight : process(node.clientHeight));
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
};
|
|
1012
|
+
node.on_resize(node._sync_height_info.on_resize);
|
|
1013
|
+
}
|
|
1014
|
+
else {
|
|
1015
|
+
node._sync_height_info.sync_to.push(this);
|
|
1016
|
+
}
|
|
1017
|
+
return this;
|
|
1018
|
+
}
|
|
1019
|
+
sync_height_to(node, process) {
|
|
1020
|
+
if (Array.isArray(node)) {
|
|
1021
|
+
for (const n of node) {
|
|
1022
|
+
this.sync_height_to(n, process);
|
|
1023
|
+
}
|
|
1024
|
+
return this;
|
|
1025
|
+
}
|
|
1026
|
+
if (this._sync_height_info === undefined) {
|
|
1027
|
+
this._sync_height_info = {
|
|
1028
|
+
sync_to: [node],
|
|
1029
|
+
on_resize: (e) => {
|
|
1030
|
+
for (const to_node of this._sync_height_info.sync_to) {
|
|
1031
|
+
to_node.height(process === undefined ? this.clientHeight : process(this.clientHeight));
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
};
|
|
1035
|
+
this.on_resize(this._sync_height_info.on_resize);
|
|
1036
|
+
}
|
|
1037
|
+
else {
|
|
1038
|
+
this._sync_height_info.sync_to.push(this);
|
|
1039
|
+
}
|
|
1040
|
+
return this;
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* Set a square frame width and height.
|
|
1044
|
+
*/
|
|
1045
|
+
square(size) {
|
|
1046
|
+
this.flex(0).fixed_frame(size, size);
|
|
1047
|
+
return this;
|
|
1048
|
+
}
|
|
950
1049
|
// padding(...values: [] | [undefstrnr] | [undefstrnr, undefstrnr] | [undefstrnr, undefstrnr, undefstrnr, undefstrnr]): string | this {
|
|
951
1050
|
// padding(...values: any[]): string | this {
|
|
952
1051
|
padding(...values) {
|
|
@@ -1206,7 +1305,7 @@ export class VElement extends HTMLElement {
|
|
|
1206
1305
|
*/
|
|
1207
1306
|
side_by_side(options) {
|
|
1208
1307
|
const { columns = 2, hspacing = 10, vspacing = 10, stretch = true, hide_dividers = false, } = options;
|
|
1209
|
-
if (this.
|
|
1308
|
+
if (this.element_name !== "HStackElement" && this.element_name !== "AnchorHStackElement") {
|
|
1210
1309
|
throw Error("This function is only supported for element \"HStackElement\".");
|
|
1211
1310
|
}
|
|
1212
1311
|
// Vars.
|
|
@@ -1256,7 +1355,7 @@ export class VElement extends HTMLElement {
|
|
|
1256
1355
|
if (child.nextElementSibling == null) {
|
|
1257
1356
|
return true;
|
|
1258
1357
|
}
|
|
1259
|
-
else if (child.nextElementSibling.
|
|
1358
|
+
else if (child.nextElementSibling.element_name !== "DividerElement") {
|
|
1260
1359
|
return false;
|
|
1261
1360
|
}
|
|
1262
1361
|
else {
|
|
@@ -1266,7 +1365,7 @@ export class VElement extends HTMLElement {
|
|
|
1266
1365
|
// Iterate children.
|
|
1267
1366
|
this.iterate((child) => {
|
|
1268
1367
|
// Divider element.
|
|
1269
|
-
if (child.
|
|
1368
|
+
if (child.element_name === "DividerElement") {
|
|
1270
1369
|
if (col_children.length > 0 && hide_dividers) {
|
|
1271
1370
|
child.hide();
|
|
1272
1371
|
}
|
|
@@ -1369,10 +1468,10 @@ export class VElement extends HTMLElement {
|
|
|
1369
1468
|
}
|
|
1370
1469
|
// @ts-ignore
|
|
1371
1470
|
align(value) {
|
|
1372
|
-
switch (this.
|
|
1373
|
-
case "
|
|
1374
|
-
case "
|
|
1375
|
-
case "
|
|
1471
|
+
switch (this.base_element_name) {
|
|
1472
|
+
case "HStackElement":
|
|
1473
|
+
case "AnchorHStackElement":
|
|
1474
|
+
case "ZStackElement":
|
|
1376
1475
|
if (value == null) {
|
|
1377
1476
|
return this.style.justifyContent;
|
|
1378
1477
|
}
|
|
@@ -1383,14 +1482,14 @@ export class VElement extends HTMLElement {
|
|
|
1383
1482
|
this.style.justifyContent = value ?? "";
|
|
1384
1483
|
}
|
|
1385
1484
|
return this;
|
|
1386
|
-
case "
|
|
1485
|
+
case "FrameElement":
|
|
1387
1486
|
this.style.display = "flex";
|
|
1388
1487
|
this.style.flexDirection = "column";
|
|
1389
1488
|
// fallthrough.
|
|
1390
|
-
case "
|
|
1391
|
-
case "
|
|
1392
|
-
case "
|
|
1393
|
-
case "
|
|
1489
|
+
case "VStackElement":
|
|
1490
|
+
case "AnchorVStackElement":
|
|
1491
|
+
case "ScrollerElement":
|
|
1492
|
+
case "ViewElement":
|
|
1394
1493
|
if (value == null) {
|
|
1395
1494
|
return this.style.alignItems;
|
|
1396
1495
|
}
|
|
@@ -1445,10 +1544,10 @@ export class VElement extends HTMLElement {
|
|
|
1445
1544
|
return this.align("end");
|
|
1446
1545
|
}
|
|
1447
1546
|
align_vertical(value) {
|
|
1448
|
-
switch (this.
|
|
1449
|
-
case "
|
|
1450
|
-
case "
|
|
1451
|
-
case "
|
|
1547
|
+
switch (this.base_element_name) {
|
|
1548
|
+
case "HStackElement":
|
|
1549
|
+
case "AnchorHStackElement":
|
|
1550
|
+
case "ZStackElement":
|
|
1452
1551
|
if (value == null) {
|
|
1453
1552
|
return this.style.alignItems;
|
|
1454
1553
|
}
|
|
@@ -1459,14 +1558,14 @@ export class VElement extends HTMLElement {
|
|
|
1459
1558
|
this.style.alignItems = value ?? "";
|
|
1460
1559
|
}
|
|
1461
1560
|
return this;
|
|
1462
|
-
case "
|
|
1561
|
+
case "FrameElement":
|
|
1463
1562
|
this.style.display = "flex";
|
|
1464
1563
|
this.style.flexDirection = "column";
|
|
1465
1564
|
// fallthrough.
|
|
1466
|
-
case "
|
|
1467
|
-
case "
|
|
1468
|
-
case "
|
|
1469
|
-
case "
|
|
1565
|
+
case "VStackElement":
|
|
1566
|
+
case "AnchorVStackElement":
|
|
1567
|
+
case "ScrollerElement":
|
|
1568
|
+
case "ViewElement":
|
|
1470
1569
|
if (value == null) {
|
|
1471
1570
|
return this.style.justifyContent;
|
|
1472
1571
|
}
|
|
@@ -1477,7 +1576,7 @@ export class VElement extends HTMLElement {
|
|
|
1477
1576
|
this.style.justifyContent = value ?? "";
|
|
1478
1577
|
}
|
|
1479
1578
|
return this;
|
|
1480
|
-
case "
|
|
1579
|
+
case "TextElement":
|
|
1481
1580
|
if (value == null) {
|
|
1482
1581
|
return this.style.alignItems;
|
|
1483
1582
|
}
|
|
@@ -1783,8 +1882,8 @@ export class VElement extends HTMLElement {
|
|
|
1783
1882
|
}
|
|
1784
1883
|
}
|
|
1785
1884
|
opacity(value) {
|
|
1786
|
-
switch (this.
|
|
1787
|
-
case "
|
|
1885
|
+
switch (this.base_element_name) {
|
|
1886
|
+
case "StyleElement":
|
|
1788
1887
|
if (value == null) {
|
|
1789
1888
|
return this._try_parse_float(this.filter(this.edit_filter_wrapper(this.style.filter, "opacity", value)), 1);
|
|
1790
1889
|
}
|
|
@@ -2100,7 +2199,7 @@ export class VElement extends HTMLElement {
|
|
|
2100
2199
|
}
|
|
2101
2200
|
}
|
|
2102
2201
|
// When the object is a style object it does not seem to work correctly.
|
|
2103
|
-
else if (this.
|
|
2202
|
+
else if (this.element_name === "StyleElement") {
|
|
2104
2203
|
dict[property] = value;
|
|
2105
2204
|
}
|
|
2106
2205
|
}
|
|
@@ -2235,6 +2334,67 @@ export class VElement extends HTMLElement {
|
|
|
2235
2334
|
return this.onmousedown != null;
|
|
2236
2335
|
}
|
|
2237
2336
|
}
|
|
2337
|
+
/**
|
|
2338
|
+
* Apply on hover transitions.
|
|
2339
|
+
* @note This function also automatically sets the `transition` property for the target element. However, only when the transition attribute hasnt been set yet.
|
|
2340
|
+
* @param target The target node of which to apply
|
|
2341
|
+
* @param methods The methods to call and pass the `selected` value as arg to.
|
|
2342
|
+
* @param selected The selected hover argument value of the selected `methods`.
|
|
2343
|
+
* @param unselected The default non hover argument value of the selected `methods`.
|
|
2344
|
+
* @param methods The methods to call and pass the `selected` value as arg to.
|
|
2345
|
+
*/
|
|
2346
|
+
hover_transitions(items) {
|
|
2347
|
+
// Set transitions.
|
|
2348
|
+
for (let item of items) {
|
|
2349
|
+
if (item.target === "this" || item.target === "self") {
|
|
2350
|
+
item.target = this;
|
|
2351
|
+
}
|
|
2352
|
+
if (!item.target.transition()) {
|
|
2353
|
+
let transition = "";
|
|
2354
|
+
let transition_mask = false;
|
|
2355
|
+
for (let m = 0; m < item.methods.length; m++) {
|
|
2356
|
+
let css_name = item.methods[m].replaceAll("_", "-");
|
|
2357
|
+
if (item.target.element_name.includes("ImageMask")) {
|
|
2358
|
+
if (css_name === "color") {
|
|
2359
|
+
// revert image mask css call to background color.
|
|
2360
|
+
css_name = "background";
|
|
2361
|
+
}
|
|
2362
|
+
transition_mask = true;
|
|
2363
|
+
}
|
|
2364
|
+
transition += `${css_name} ${item.duration || 300}ms ${item.easing || "ease-in-out"}${m < item.methods.length - 1 ? ", " : ""}`;
|
|
2365
|
+
}
|
|
2366
|
+
;
|
|
2367
|
+
if (transition_mask) {
|
|
2368
|
+
item.target.transition_mask(transition);
|
|
2369
|
+
}
|
|
2370
|
+
else {
|
|
2371
|
+
item.target.transition(transition);
|
|
2372
|
+
}
|
|
2373
|
+
}
|
|
2374
|
+
}
|
|
2375
|
+
// Set hover.
|
|
2376
|
+
this.on_mouse_over(() => {
|
|
2377
|
+
if (!this._is_button_disabled) {
|
|
2378
|
+
for (let item of items) {
|
|
2379
|
+
for (const method of item.methods) {
|
|
2380
|
+
item.target[method](item.selected);
|
|
2381
|
+
}
|
|
2382
|
+
;
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
});
|
|
2386
|
+
this.on_mouse_out(() => {
|
|
2387
|
+
if (!this._is_button_disabled) {
|
|
2388
|
+
for (let item of items) {
|
|
2389
|
+
for (const method of item.methods) {
|
|
2390
|
+
item.target[method](item.unselected);
|
|
2391
|
+
}
|
|
2392
|
+
;
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
});
|
|
2396
|
+
return this;
|
|
2397
|
+
}
|
|
2238
2398
|
text_width(text) {
|
|
2239
2399
|
const width_measurer = document.createElement("canvas").getContext("2d");
|
|
2240
2400
|
if (width_measurer == null) {
|
|
@@ -2949,6 +3109,7 @@ export class VElement extends HTMLElement {
|
|
|
2949
3109
|
clearTimeout(this._timeouts[id]);
|
|
2950
3110
|
return this;
|
|
2951
3111
|
}
|
|
3112
|
+
_disabled_cursor;
|
|
2952
3113
|
/**
|
|
2953
3114
|
* @docs:
|
|
2954
3115
|
* @title: Disable Button
|
|
@@ -2957,6 +3118,8 @@ export class VElement extends HTMLElement {
|
|
|
2957
3118
|
* @description Returns the instance of the element for chaining.
|
|
2958
3119
|
*/
|
|
2959
3120
|
disable() {
|
|
3121
|
+
this._disabled_cursor = this.style.cursor;
|
|
3122
|
+
this.style.cursor = "not-allowed";
|
|
2960
3123
|
this._is_button_disabled = true;
|
|
2961
3124
|
return this;
|
|
2962
3125
|
}
|
|
@@ -2968,6 +3131,9 @@ export class VElement extends HTMLElement {
|
|
|
2968
3131
|
* @description Returns the instance of the element for chaining.
|
|
2969
3132
|
*/
|
|
2970
3133
|
enable() {
|
|
3134
|
+
if (this._disabled_cursor) {
|
|
3135
|
+
this.style.cursor = this._disabled_cursor;
|
|
3136
|
+
}
|
|
2971
3137
|
this._is_button_disabled = false;
|
|
2972
3138
|
return this;
|
|
2973
3139
|
}
|
|
@@ -3009,7 +3175,7 @@ export class VElement extends HTMLElement {
|
|
|
3009
3175
|
}
|
|
3010
3176
|
};
|
|
3011
3177
|
// deprecated, buttons now use <button>
|
|
3012
|
-
// if (this.
|
|
3178
|
+
// if (this.element_name === "ButtonElement" || this.element_name === "LoaderButtonElement" || this.element_name === "BorderButtonElement") {
|
|
3013
3179
|
// this.attr("rel", "noopener noreferrer"); // for seo.
|
|
3014
3180
|
// }
|
|
3015
3181
|
return this;
|
|
@@ -4194,7 +4360,7 @@ export class VElement extends HTMLElement {
|
|
|
4194
4360
|
* @descr: The parent node from which to calculate the offset.
|
|
4195
4361
|
* @return:
|
|
4196
4362
|
* @description Returns the accumulated vertical offset from the current node to the parent node, or null if the parent wasn't found.
|
|
4197
|
-
*
|
|
4363
|
+
* @deprecated: true
|
|
4198
4364
|
*/
|
|
4199
4365
|
get_y_offset_from_parent(parent) {
|
|
4200
4366
|
let offset = 0;
|
|
@@ -7414,7 +7580,11 @@ export class VElement extends HTMLElement {
|
|
|
7414
7580
|
return this.onmouseout ?? undefined;
|
|
7415
7581
|
}
|
|
7416
7582
|
const e = this;
|
|
7417
|
-
this.onmouseout = (t) =>
|
|
7583
|
+
this.onmouseout = (t) => {
|
|
7584
|
+
if (!this._is_button_disabled) {
|
|
7585
|
+
callback(e, t);
|
|
7586
|
+
}
|
|
7587
|
+
};
|
|
7418
7588
|
return this;
|
|
7419
7589
|
}
|
|
7420
7590
|
on_mouse_over(callback) {
|
|
@@ -7422,7 +7592,11 @@ export class VElement extends HTMLElement {
|
|
|
7422
7592
|
return this.onmouseover ?? undefined;
|
|
7423
7593
|
}
|
|
7424
7594
|
const e = this;
|
|
7425
|
-
this.onmouseover = (t) =>
|
|
7595
|
+
this.onmouseover = (t) => {
|
|
7596
|
+
if (!this._is_button_disabled) {
|
|
7597
|
+
callback(e, t);
|
|
7598
|
+
}
|
|
7599
|
+
};
|
|
7426
7600
|
return this;
|
|
7427
7601
|
}
|
|
7428
7602
|
on_mouse_up(callback) {
|
|
@@ -7714,10 +7888,6 @@ export class VElement extends HTMLElement {
|
|
|
7714
7888
|
return this;
|
|
7715
7889
|
}
|
|
7716
7890
|
}
|
|
7717
|
-
VElement.element_tag = ""; // must also be static.
|
|
7718
|
-
VElement.default_style = {};
|
|
7719
|
-
VElement.default_attributes = {};
|
|
7720
|
-
VElement.default_events = {};
|
|
7721
7891
|
;
|
|
7722
7892
|
// @test
|
|
7723
7893
|
// new VElement().myexect(); // should throw error.
|
|
@@ -7785,56 +7955,10 @@ export function extend(extension) {
|
|
|
7785
7955
|
});
|
|
7786
7956
|
}
|
|
7787
7957
|
;
|
|
7788
|
-
// type ExtendFunction =
|
|
7789
|
-
// ((this: VElement, ...args: any[]) => any) |
|
|
7790
|
-
// ((this: VElement, ...args: any[]) => VElement) |
|
|
7791
|
-
// any
|
|
7792
|
-
// export function extend<T extends Record<string, ExtendFunction>>(extension: T) {
|
|
7793
|
-
// Object.assign(VElement.prototype, extension);
|
|
7794
|
-
// mixed_classes.forEach(instance => {
|
|
7795
|
-
// Object.assign(instance.prototype, extension);
|
|
7796
|
-
// });
|
|
7797
|
-
// };
|
|
7798
|
-
// export function extend<T extends VElement>(extension: T) {
|
|
7799
|
-
// Object.assign(VElement.prototype, extension);
|
|
7800
|
-
// mixed_classes.forEach(instance => {
|
|
7801
|
-
// Object.assign(instance.prototype, extension);
|
|
7802
|
-
// });
|
|
7803
|
-
// };
|
|
7804
|
-
// export function extend<T extends Record<keyof T, (this: ThisType<VElement>, ...args: any[]) => any>>(extension: T) {
|
|
7805
|
-
// Object.assign(VElement.prototype, extension);
|
|
7806
|
-
// mixed_classes.forEach(instance => {
|
|
7807
|
-
// Object.assign(instance.prototype, extension);
|
|
7808
|
-
// });
|
|
7809
|
-
// };
|
|
7810
|
-
// export function extend<T extends Record<keyof T, (this: ThisType<VElement>, ...args: any[]) => ThisType<VElement>>>(extension: T) {
|
|
7811
|
-
// Object.assign(VElement.prototype, extension);
|
|
7812
|
-
// mixed_classes.forEach(instance => {
|
|
7813
|
-
// Object.assign(instance.prototype, extension);
|
|
7814
|
-
// });
|
|
7815
|
-
// };
|
|
7816
|
-
// export function extend<T extends Record<keyof T, (this: VElement & ThisType<VElement>, ...args: any[]) => any>>(extension: T) {
|
|
7817
|
-
// Object.assign(VElement.prototype, extension);
|
|
7818
|
-
// mixed_classes.forEach(instance => {
|
|
7819
|
-
// Object.assign(instance.prototype, extension);
|
|
7820
|
-
// });
|
|
7821
|
-
// };
|
|
7822
|
-
// Register element.
|
|
7823
|
-
function register_type(type, tag) {
|
|
7824
|
-
type._is_registered = true;
|
|
7825
|
-
// customElements.define(type.name, type, { extends: tag ?? (type as any).element_tag });
|
|
7826
|
-
if (tag === null) {
|
|
7827
|
-
customElements.define("v-" + type.name.toLowerCase(), type);
|
|
7828
|
-
}
|
|
7829
|
-
else {
|
|
7830
|
-
customElements.define("v-" + type.name.toLowerCase(), type, { extends: tag ?? type.element_tag });
|
|
7831
|
-
}
|
|
7832
|
-
}
|
|
7833
|
-
// register_type(VElement);
|
|
7834
7958
|
// Post process velement.
|
|
7835
|
-
function postprocess(type
|
|
7959
|
+
function postprocess(type) {
|
|
7836
7960
|
mixin(type);
|
|
7837
|
-
|
|
7961
|
+
register_element(type);
|
|
7838
7962
|
}
|
|
7839
7963
|
// Create a constructor wrapper.
|
|
7840
7964
|
export function wrapper(constructor) {
|
|
@@ -7850,905 +7974,1019 @@ export function create_null(target_class) {
|
|
|
7850
7974
|
return instance;
|
|
7851
7975
|
};
|
|
7852
7976
|
}
|
|
7977
|
+
// type _SafeVBaseElement = typeof VElement & typeof HTMLElement & {
|
|
7978
|
+
// new(): VElement & HTMLElement & VElementExtensions,
|
|
7979
|
+
// prototype: VElement & HTMLElement & VElementExtensions,
|
|
7980
|
+
// }
|
|
7853
7981
|
// ---
|
|
7854
7982
|
// generated by dev/automate_types.js:
|
|
7855
7983
|
// Base class VHTMLElement derived from HTMLElement.
|
|
7856
7984
|
// @ts-ignore
|
|
7857
7985
|
export class VHTMLElement extends HTMLElement {
|
|
7986
|
+
static element_name = "VHTMLElement";
|
|
7858
7987
|
constructor(args = {}) {
|
|
7859
7988
|
super();
|
|
7860
7989
|
args.derived ??= VHTMLElement;
|
|
7861
|
-
this.
|
|
7990
|
+
this._init_sys_velement(args);
|
|
7862
7991
|
}
|
|
7863
7992
|
}
|
|
7864
|
-
|
|
7865
|
-
|
|
7993
|
+
// @ts-ignore
|
|
7994
|
+
// export interface VHTMLElement extends HTMLElement, VElement, VElementExtensions {};
|
|
7995
|
+
postprocess(VHTMLElement);
|
|
7866
7996
|
export const VHTML = wrapper(VHTMLElement);
|
|
7867
7997
|
export const NullVHTML = create_null(VHTMLElement);
|
|
7868
7998
|
// Base class VAnchorElement derived from HTMLAnchorElement.
|
|
7869
7999
|
// @ts-ignore
|
|
7870
8000
|
export class VAnchorElement extends HTMLAnchorElement {
|
|
8001
|
+
static element_name = "VAnchorElement";
|
|
8002
|
+
static element_tag = "a";
|
|
7871
8003
|
constructor(args = {}) {
|
|
7872
8004
|
super();
|
|
7873
8005
|
args.derived ??= VAnchorElement;
|
|
7874
|
-
this.
|
|
8006
|
+
this._init_sys_velement(args);
|
|
7875
8007
|
}
|
|
7876
8008
|
}
|
|
7877
|
-
|
|
7878
|
-
;
|
|
8009
|
+
// @ts-ignore
|
|
8010
|
+
// export interface VAnchorElement extends HTMLAnchorElement, VElement, VElementExtensions {};
|
|
7879
8011
|
postprocess(VAnchorElement);
|
|
7880
8012
|
export const VAnchor = wrapper(VAnchorElement);
|
|
7881
8013
|
export const NullVAnchor = create_null(VAnchorElement);
|
|
7882
8014
|
// Base class VAreaElement derived from HTMLAreaElement.
|
|
7883
8015
|
// @ts-ignore
|
|
7884
8016
|
export class VAreaElement extends HTMLAreaElement {
|
|
8017
|
+
static element_name = "VAreaElement";
|
|
8018
|
+
static element_tag = "area";
|
|
7885
8019
|
constructor(args = {}) {
|
|
7886
8020
|
super();
|
|
7887
8021
|
args.derived ??= VAreaElement;
|
|
7888
|
-
this.
|
|
8022
|
+
this._init_sys_velement(args);
|
|
7889
8023
|
}
|
|
7890
8024
|
}
|
|
7891
|
-
|
|
7892
|
-
;
|
|
8025
|
+
// @ts-ignore
|
|
8026
|
+
// export interface VAreaElement extends HTMLAreaElement, VElement, VElementExtensions {};
|
|
7893
8027
|
postprocess(VAreaElement);
|
|
7894
8028
|
export const VArea = wrapper(VAreaElement);
|
|
7895
8029
|
export const NullVArea = create_null(VAreaElement);
|
|
7896
8030
|
// Base class VAudioElement derived from HTMLAudioElement.
|
|
7897
8031
|
// @ts-ignore
|
|
7898
8032
|
export class VAudioElement extends HTMLAudioElement {
|
|
8033
|
+
static element_name = "VAudioElement";
|
|
8034
|
+
static element_tag = "audio";
|
|
7899
8035
|
constructor(args = {}) {
|
|
7900
8036
|
super();
|
|
7901
8037
|
args.derived ??= VAudioElement;
|
|
7902
|
-
this.
|
|
8038
|
+
this._init_sys_velement(args);
|
|
7903
8039
|
}
|
|
7904
8040
|
}
|
|
7905
|
-
|
|
7906
|
-
;
|
|
8041
|
+
// @ts-ignore
|
|
8042
|
+
// export interface VAudioElement extends HTMLAudioElement, VElement, VElementExtensions {};
|
|
7907
8043
|
postprocess(VAudioElement);
|
|
7908
8044
|
export const VAudio = wrapper(VAudioElement);
|
|
7909
8045
|
export const NullVAudio = create_null(VAudioElement);
|
|
7910
8046
|
// Base class VBlockQuoteElement derived from HTMLQuoteElement.
|
|
7911
8047
|
// @ts-ignore
|
|
7912
8048
|
export class VBlockQuoteElement extends HTMLQuoteElement {
|
|
8049
|
+
static element_name = "VBlockQuoteElement";
|
|
8050
|
+
static element_tag = "blockquote";
|
|
7913
8051
|
constructor(args = {}) {
|
|
7914
8052
|
super();
|
|
7915
8053
|
args.derived ??= VBlockQuoteElement;
|
|
7916
|
-
this.
|
|
8054
|
+
this._init_sys_velement(args);
|
|
7917
8055
|
}
|
|
7918
8056
|
}
|
|
7919
|
-
|
|
7920
|
-
;
|
|
8057
|
+
// @ts-ignore
|
|
8058
|
+
// export interface VBlockQuoteElement extends HTMLQuoteElement, VElement, VElementExtensions {};
|
|
7921
8059
|
postprocess(VBlockQuoteElement);
|
|
7922
8060
|
export const VBlockQuote = wrapper(VBlockQuoteElement);
|
|
7923
8061
|
export const NullVBlockQuote = create_null(VBlockQuoteElement);
|
|
7924
8062
|
// Base class VBodyElement derived from HTMLBodyElement.
|
|
7925
8063
|
// @ts-ignore
|
|
7926
8064
|
export class VBodyElement extends HTMLBodyElement {
|
|
8065
|
+
static element_name = "VBodyElement";
|
|
8066
|
+
static element_tag = "body";
|
|
7927
8067
|
constructor(args = {}) {
|
|
7928
8068
|
super();
|
|
7929
8069
|
args.derived ??= VBodyElement;
|
|
7930
|
-
this.
|
|
8070
|
+
this._init_sys_velement(args);
|
|
7931
8071
|
}
|
|
7932
8072
|
}
|
|
7933
|
-
|
|
7934
|
-
;
|
|
8073
|
+
// @ts-ignore
|
|
8074
|
+
// export interface VBodyElement extends HTMLBodyElement, VElement, VElementExtensions {};
|
|
7935
8075
|
postprocess(VBodyElement);
|
|
7936
8076
|
export const VBody = wrapper(VBodyElement);
|
|
7937
8077
|
export const NullVBody = create_null(VBodyElement);
|
|
7938
8078
|
// Base class VBRElement derived from HTMLBRElement.
|
|
7939
8079
|
// @ts-ignore
|
|
7940
8080
|
export class VBRElement extends HTMLBRElement {
|
|
8081
|
+
static element_name = "VBRElement";
|
|
8082
|
+
static element_tag = "br";
|
|
7941
8083
|
constructor(args = {}) {
|
|
7942
8084
|
super();
|
|
7943
8085
|
args.derived ??= VBRElement;
|
|
7944
|
-
this.
|
|
8086
|
+
this._init_sys_velement(args);
|
|
7945
8087
|
}
|
|
7946
8088
|
}
|
|
7947
|
-
|
|
7948
|
-
;
|
|
8089
|
+
// @ts-ignore
|
|
8090
|
+
// export interface VBRElement extends HTMLBRElement, VElement, VElementExtensions {};
|
|
7949
8091
|
postprocess(VBRElement);
|
|
7950
8092
|
export const VBR = wrapper(VBRElement);
|
|
7951
8093
|
export const NullVBR = create_null(VBRElement);
|
|
7952
8094
|
// Base class VButtonElement derived from HTMLButtonElement.
|
|
7953
8095
|
// @ts-ignore
|
|
7954
8096
|
export class VButtonElement extends HTMLButtonElement {
|
|
8097
|
+
static element_name = "VButtonElement";
|
|
8098
|
+
static element_tag = "button";
|
|
7955
8099
|
constructor(args = {}) {
|
|
7956
8100
|
super();
|
|
7957
8101
|
args.derived ??= VButtonElement;
|
|
7958
|
-
this.
|
|
8102
|
+
this._init_sys_velement(args);
|
|
7959
8103
|
}
|
|
7960
8104
|
}
|
|
7961
|
-
|
|
7962
|
-
;
|
|
8105
|
+
// @ts-ignore
|
|
8106
|
+
// export interface VButtonElement extends HTMLButtonElement, VElement, VElementExtensions {};
|
|
7963
8107
|
postprocess(VButtonElement);
|
|
7964
8108
|
export const VButton = wrapper(VButtonElement);
|
|
7965
8109
|
export const NullVButton = create_null(VButtonElement);
|
|
7966
8110
|
// Base class VCanvasElement derived from HTMLCanvasElement.
|
|
7967
8111
|
// @ts-ignore
|
|
7968
8112
|
export class VCanvasElement extends HTMLCanvasElement {
|
|
8113
|
+
static element_name = "VCanvasElement";
|
|
8114
|
+
static element_tag = "canvas";
|
|
7969
8115
|
constructor(args = {}) {
|
|
7970
8116
|
super();
|
|
7971
8117
|
args.derived ??= VCanvasElement;
|
|
7972
|
-
this.
|
|
8118
|
+
this._init_sys_velement(args);
|
|
7973
8119
|
}
|
|
7974
8120
|
}
|
|
7975
|
-
|
|
7976
|
-
;
|
|
8121
|
+
// @ts-ignore
|
|
8122
|
+
// export interface VCanvasElement extends HTMLCanvasElement, VElement, VElementExtensions {};
|
|
7977
8123
|
postprocess(VCanvasElement);
|
|
7978
8124
|
export const VCanvas = wrapper(VCanvasElement);
|
|
7979
8125
|
export const NullVCanvas = create_null(VCanvasElement);
|
|
7980
8126
|
// Base class VTableCaptionElement derived from HTMLTableCaptionElement.
|
|
7981
8127
|
// @ts-ignore
|
|
7982
8128
|
export class VTableCaptionElement extends HTMLTableCaptionElement {
|
|
8129
|
+
static element_name = "VTableCaptionElement";
|
|
8130
|
+
static element_tag = "caption";
|
|
7983
8131
|
constructor(args = {}) {
|
|
7984
8132
|
super();
|
|
7985
8133
|
args.derived ??= VTableCaptionElement;
|
|
7986
|
-
this.
|
|
8134
|
+
this._init_sys_velement(args);
|
|
7987
8135
|
}
|
|
7988
8136
|
}
|
|
7989
|
-
|
|
7990
|
-
;
|
|
8137
|
+
// @ts-ignore
|
|
8138
|
+
// export interface VTableCaptionElement extends HTMLTableCaptionElement, VElement, VElementExtensions {};
|
|
7991
8139
|
postprocess(VTableCaptionElement);
|
|
7992
8140
|
export const VTableCaption = wrapper(VTableCaptionElement);
|
|
7993
8141
|
export const NullVTableCaption = create_null(VTableCaptionElement);
|
|
7994
8142
|
// Base class VTableColElement derived from HTMLTableColElement.
|
|
7995
8143
|
// @ts-ignore
|
|
7996
8144
|
export class VTableColElement extends HTMLTableColElement {
|
|
8145
|
+
static element_name = "VTableColElement";
|
|
8146
|
+
static element_tag = "col";
|
|
7997
8147
|
constructor(args = {}) {
|
|
7998
8148
|
super();
|
|
7999
8149
|
args.derived ??= VTableColElement;
|
|
8000
|
-
this.
|
|
8150
|
+
this._init_sys_velement(args);
|
|
8001
8151
|
}
|
|
8002
8152
|
}
|
|
8003
|
-
|
|
8004
|
-
;
|
|
8153
|
+
// @ts-ignore
|
|
8154
|
+
// export interface VTableColElement extends HTMLTableColElement, VElement, VElementExtensions {};
|
|
8005
8155
|
postprocess(VTableColElement);
|
|
8006
8156
|
export const VTableCol = wrapper(VTableColElement);
|
|
8007
8157
|
export const NullVTableCol = create_null(VTableColElement);
|
|
8008
8158
|
// Base class VDataElement derived from HTMLDataElement.
|
|
8009
8159
|
// @ts-ignore
|
|
8010
8160
|
export class VDataElement extends HTMLDataElement {
|
|
8161
|
+
static element_name = "VDataElement";
|
|
8162
|
+
static element_tag = "data";
|
|
8011
8163
|
constructor(args = {}) {
|
|
8012
8164
|
super();
|
|
8013
8165
|
args.derived ??= VDataElement;
|
|
8014
|
-
this.
|
|
8166
|
+
this._init_sys_velement(args);
|
|
8015
8167
|
}
|
|
8016
8168
|
}
|
|
8017
|
-
|
|
8018
|
-
;
|
|
8169
|
+
// @ts-ignore
|
|
8170
|
+
// export interface VDataElement extends HTMLDataElement, VElement, VElementExtensions {};
|
|
8019
8171
|
postprocess(VDataElement);
|
|
8020
8172
|
export const VData = wrapper(VDataElement);
|
|
8021
8173
|
export const NullVData = create_null(VDataElement);
|
|
8022
8174
|
// Base class VDataListElement derived from HTMLDataListElement.
|
|
8023
8175
|
// @ts-ignore
|
|
8024
8176
|
export class VDataListElement extends HTMLDataListElement {
|
|
8177
|
+
static element_name = "VDataListElement";
|
|
8178
|
+
static element_tag = "datalist";
|
|
8025
8179
|
constructor(args = {}) {
|
|
8026
8180
|
super();
|
|
8027
8181
|
args.derived ??= VDataListElement;
|
|
8028
|
-
this.
|
|
8182
|
+
this._init_sys_velement(args);
|
|
8029
8183
|
}
|
|
8030
8184
|
}
|
|
8031
|
-
|
|
8032
|
-
;
|
|
8185
|
+
// @ts-ignore
|
|
8186
|
+
// export interface VDataListElement extends HTMLDataListElement, VElement, VElementExtensions {};
|
|
8033
8187
|
postprocess(VDataListElement);
|
|
8034
8188
|
export const VDataList = wrapper(VDataListElement);
|
|
8035
8189
|
export const NullVDataList = create_null(VDataListElement);
|
|
8036
8190
|
// Base class VDListElement derived from HTMLDListElement.
|
|
8037
8191
|
// @ts-ignore
|
|
8038
8192
|
export class VDListElement extends HTMLDListElement {
|
|
8193
|
+
static element_name = "VDListElement";
|
|
8194
|
+
static element_tag = "dl";
|
|
8039
8195
|
constructor(args = {}) {
|
|
8040
8196
|
super();
|
|
8041
8197
|
args.derived ??= VDListElement;
|
|
8042
|
-
this.
|
|
8198
|
+
this._init_sys_velement(args);
|
|
8043
8199
|
}
|
|
8044
8200
|
}
|
|
8045
|
-
|
|
8046
|
-
;
|
|
8201
|
+
// @ts-ignore
|
|
8202
|
+
// export interface VDListElement extends HTMLDListElement, VElement, VElementExtensions {};
|
|
8047
8203
|
postprocess(VDListElement);
|
|
8048
8204
|
export const VDList = wrapper(VDListElement);
|
|
8049
8205
|
export const NullVDList = create_null(VDListElement);
|
|
8050
8206
|
// Base class VDirectoryElement derived from HTMLDirectoryElement.
|
|
8051
8207
|
// @ts-ignore
|
|
8052
8208
|
export class VDirectoryElement extends HTMLDirectoryElement {
|
|
8209
|
+
static element_name = "VDirectoryElement";
|
|
8210
|
+
static element_tag = "dir";
|
|
8053
8211
|
constructor(args = {}) {
|
|
8054
8212
|
super();
|
|
8055
8213
|
args.derived ??= VDirectoryElement;
|
|
8056
|
-
this.
|
|
8214
|
+
this._init_sys_velement(args);
|
|
8057
8215
|
}
|
|
8058
8216
|
}
|
|
8059
|
-
|
|
8060
|
-
;
|
|
8217
|
+
// @ts-ignore
|
|
8218
|
+
// export interface VDirectoryElement extends HTMLDirectoryElement, VElement, VElementExtensions {};
|
|
8061
8219
|
postprocess(VDirectoryElement);
|
|
8062
8220
|
export const VDirectory = wrapper(VDirectoryElement);
|
|
8063
8221
|
export const NullVDirectory = create_null(VDirectoryElement);
|
|
8064
8222
|
// Base class VDivElement derived from HTMLDivElement.
|
|
8065
8223
|
// @ts-ignore
|
|
8066
8224
|
export class VDivElement extends HTMLDivElement {
|
|
8225
|
+
static element_name = "VDivElement";
|
|
8226
|
+
static element_tag = "div";
|
|
8067
8227
|
constructor(args = {}) {
|
|
8068
8228
|
super();
|
|
8069
8229
|
args.derived ??= VDivElement;
|
|
8070
|
-
this.
|
|
8230
|
+
this._init_sys_velement(args);
|
|
8071
8231
|
}
|
|
8072
8232
|
}
|
|
8073
|
-
|
|
8074
|
-
;
|
|
8233
|
+
// @ts-ignore
|
|
8234
|
+
// export interface VDivElement extends HTMLDivElement, VElement, VElementExtensions {};
|
|
8075
8235
|
postprocess(VDivElement);
|
|
8076
8236
|
export const VDiv = wrapper(VDivElement);
|
|
8077
8237
|
export const NullVDiv = create_null(VDivElement);
|
|
8078
8238
|
// Base class VEmbedElement derived from HTMLEmbedElement.
|
|
8079
8239
|
// @ts-ignore
|
|
8080
8240
|
export class VEmbedElement extends HTMLEmbedElement {
|
|
8241
|
+
static element_name = "VEmbedElement";
|
|
8242
|
+
static element_tag = "embed";
|
|
8081
8243
|
constructor(args = {}) {
|
|
8082
8244
|
super();
|
|
8083
8245
|
args.derived ??= VEmbedElement;
|
|
8084
|
-
this.
|
|
8246
|
+
this._init_sys_velement(args);
|
|
8085
8247
|
}
|
|
8086
8248
|
}
|
|
8087
|
-
|
|
8088
|
-
;
|
|
8249
|
+
// @ts-ignore
|
|
8250
|
+
// export interface VEmbedElement extends HTMLEmbedElement, VElement, VElementExtensions {};
|
|
8089
8251
|
postprocess(VEmbedElement);
|
|
8090
8252
|
export const VEmbed = wrapper(VEmbedElement);
|
|
8091
8253
|
export const NullVEmbed = create_null(VEmbedElement);
|
|
8092
8254
|
// Base class VFieldSetElement derived from HTMLFieldSetElement.
|
|
8093
8255
|
// @ts-ignore
|
|
8094
8256
|
export class VFieldSetElement extends HTMLFieldSetElement {
|
|
8257
|
+
static element_name = "VFieldSetElement";
|
|
8258
|
+
static element_tag = "fieldset";
|
|
8095
8259
|
constructor(args = {}) {
|
|
8096
8260
|
super();
|
|
8097
8261
|
args.derived ??= VFieldSetElement;
|
|
8098
|
-
this.
|
|
8262
|
+
this._init_sys_velement(args);
|
|
8099
8263
|
}
|
|
8100
8264
|
}
|
|
8101
|
-
|
|
8102
|
-
;
|
|
8265
|
+
// @ts-ignore
|
|
8266
|
+
// export interface VFieldSetElement extends HTMLFieldSetElement, VElement, VElementExtensions {};
|
|
8103
8267
|
postprocess(VFieldSetElement);
|
|
8104
8268
|
export const VFieldSet = wrapper(VFieldSetElement);
|
|
8105
8269
|
export const NullVFieldSet = create_null(VFieldSetElement);
|
|
8106
8270
|
// Base class VFormElement derived from HTMLFormElement.
|
|
8107
8271
|
// @ts-ignore
|
|
8108
8272
|
export class VFormElement extends HTMLFormElement {
|
|
8273
|
+
static element_name = "VFormElement";
|
|
8274
|
+
static element_tag = "form";
|
|
8109
8275
|
constructor(args = {}) {
|
|
8110
8276
|
super();
|
|
8111
8277
|
args.derived ??= VFormElement;
|
|
8112
|
-
this.
|
|
8278
|
+
this._init_sys_velement(args);
|
|
8113
8279
|
}
|
|
8114
8280
|
}
|
|
8115
|
-
|
|
8116
|
-
;
|
|
8281
|
+
// @ts-ignore
|
|
8282
|
+
// export interface VFormElement extends HTMLFormElement, VElement, VElementExtensions {};
|
|
8117
8283
|
postprocess(VFormElement);
|
|
8118
8284
|
export const VForm = wrapper(VFormElement);
|
|
8119
8285
|
export const NullVForm = create_null(VFormElement);
|
|
8120
8286
|
// Base class VHeadingElement derived from HTMLHeadingElement.
|
|
8121
8287
|
// @ts-ignore
|
|
8122
8288
|
export class VHeadingElement extends HTMLHeadingElement {
|
|
8289
|
+
static element_name = "VHeadingElement";
|
|
8290
|
+
static element_tag = "h1";
|
|
8123
8291
|
constructor(args = {}) {
|
|
8124
8292
|
super();
|
|
8125
8293
|
args.derived ??= VHeadingElement;
|
|
8126
|
-
this.
|
|
8294
|
+
this._init_sys_velement(args);
|
|
8127
8295
|
}
|
|
8128
8296
|
}
|
|
8129
|
-
|
|
8130
|
-
;
|
|
8297
|
+
// @ts-ignore
|
|
8298
|
+
// export interface VHeadingElement extends HTMLHeadingElement, VElement, VElementExtensions {};
|
|
8131
8299
|
postprocess(VHeadingElement);
|
|
8132
8300
|
export const VHeading = wrapper(VHeadingElement);
|
|
8133
8301
|
export const NullVHeading = create_null(VHeadingElement);
|
|
8134
8302
|
// Base class VHeadElement derived from HTMLHeadElement.
|
|
8135
8303
|
// @ts-ignore
|
|
8136
8304
|
export class VHeadElement extends HTMLHeadElement {
|
|
8305
|
+
static element_name = "VHeadElement";
|
|
8306
|
+
static element_tag = "head";
|
|
8137
8307
|
constructor(args = {}) {
|
|
8138
8308
|
super();
|
|
8139
8309
|
args.derived ??= VHeadElement;
|
|
8140
|
-
this.
|
|
8310
|
+
this._init_sys_velement(args);
|
|
8141
8311
|
}
|
|
8142
8312
|
}
|
|
8143
|
-
|
|
8144
|
-
;
|
|
8313
|
+
// @ts-ignore
|
|
8314
|
+
// export interface VHeadElement extends HTMLHeadElement, VElement, VElementExtensions {};
|
|
8145
8315
|
postprocess(VHeadElement);
|
|
8146
8316
|
export const VHead = wrapper(VHeadElement);
|
|
8147
8317
|
export const NullVHead = create_null(VHeadElement);
|
|
8148
8318
|
// Base class VHRElement derived from HTMLHRElement.
|
|
8149
8319
|
// @ts-ignore
|
|
8150
8320
|
export class VHRElement extends HTMLHRElement {
|
|
8321
|
+
static element_name = "VHRElement";
|
|
8322
|
+
static element_tag = "hr";
|
|
8151
8323
|
constructor(args = {}) {
|
|
8152
8324
|
super();
|
|
8153
8325
|
args.derived ??= VHRElement;
|
|
8154
|
-
this.
|
|
8326
|
+
this._init_sys_velement(args);
|
|
8155
8327
|
}
|
|
8156
8328
|
}
|
|
8157
|
-
|
|
8158
|
-
;
|
|
8329
|
+
// @ts-ignore
|
|
8330
|
+
// export interface VHRElement extends HTMLHRElement, VElement, VElementExtensions {};
|
|
8159
8331
|
postprocess(VHRElement);
|
|
8160
8332
|
export const VHR = wrapper(VHRElement);
|
|
8161
8333
|
export const NullVHR = create_null(VHRElement);
|
|
8162
8334
|
// Base class VImageElement derived from HTMLImageElement.
|
|
8163
8335
|
// @ts-ignore
|
|
8164
8336
|
export class VImageElement extends HTMLImageElement {
|
|
8337
|
+
static element_name = "VImageElement";
|
|
8338
|
+
static element_tag = "img";
|
|
8165
8339
|
constructor(args = {}) {
|
|
8166
8340
|
super();
|
|
8167
8341
|
args.derived ??= VImageElement;
|
|
8168
|
-
this.
|
|
8342
|
+
this._init_sys_velement(args);
|
|
8169
8343
|
}
|
|
8170
8344
|
}
|
|
8171
|
-
|
|
8172
|
-
;
|
|
8345
|
+
// @ts-ignore
|
|
8346
|
+
// export interface VImageElement extends HTMLImageElement, VElement, VElementExtensions {};
|
|
8173
8347
|
postprocess(VImageElement);
|
|
8174
8348
|
export const VImage = wrapper(VImageElement);
|
|
8175
8349
|
export const NullVImage = create_null(VImageElement);
|
|
8176
8350
|
// Base class VInputElement derived from HTMLInputElement.
|
|
8177
8351
|
// @ts-ignore
|
|
8178
8352
|
export class VInputElement extends HTMLInputElement {
|
|
8353
|
+
static element_name = "VInputElement";
|
|
8354
|
+
static element_tag = "input";
|
|
8179
8355
|
constructor(args = {}) {
|
|
8180
8356
|
super();
|
|
8181
8357
|
args.derived ??= VInputElement;
|
|
8182
|
-
this.
|
|
8358
|
+
this._init_sys_velement(args);
|
|
8183
8359
|
}
|
|
8184
8360
|
}
|
|
8185
|
-
|
|
8186
|
-
;
|
|
8361
|
+
// @ts-ignore
|
|
8362
|
+
// export interface VInputElement extends HTMLInputElement, VElement, VElementExtensions {};
|
|
8187
8363
|
postprocess(VInputElement);
|
|
8188
8364
|
export const VInput = wrapper(VInputElement);
|
|
8189
8365
|
export const NullVInput = create_null(VInputElement);
|
|
8190
8366
|
// Base class VModElement derived from HTMLModElement.
|
|
8191
8367
|
// @ts-ignore
|
|
8192
8368
|
export class VModElement extends HTMLModElement {
|
|
8369
|
+
static element_name = "VModElement";
|
|
8370
|
+
static element_tag = "ins";
|
|
8193
8371
|
constructor(args = {}) {
|
|
8194
8372
|
super();
|
|
8195
8373
|
args.derived ??= VModElement;
|
|
8196
|
-
this.
|
|
8374
|
+
this._init_sys_velement(args);
|
|
8197
8375
|
}
|
|
8198
8376
|
}
|
|
8199
|
-
|
|
8200
|
-
;
|
|
8377
|
+
// @ts-ignore
|
|
8378
|
+
// export interface VModElement extends HTMLModElement, VElement, VElementExtensions {};
|
|
8201
8379
|
postprocess(VModElement);
|
|
8202
8380
|
export const VMod = wrapper(VModElement);
|
|
8203
8381
|
export const NullVMod = create_null(VModElement);
|
|
8204
8382
|
// Base class VLabelElement derived from HTMLLabelElement.
|
|
8205
8383
|
// @ts-ignore
|
|
8206
8384
|
export class VLabelElement extends HTMLLabelElement {
|
|
8385
|
+
static element_name = "VLabelElement";
|
|
8386
|
+
static element_tag = "label";
|
|
8207
8387
|
constructor(args = {}) {
|
|
8208
8388
|
super();
|
|
8209
8389
|
args.derived ??= VLabelElement;
|
|
8210
|
-
this.
|
|
8390
|
+
this._init_sys_velement(args);
|
|
8211
8391
|
}
|
|
8212
8392
|
}
|
|
8213
|
-
|
|
8214
|
-
;
|
|
8393
|
+
// @ts-ignore
|
|
8394
|
+
// export interface VLabelElement extends HTMLLabelElement, VElement, VElementExtensions {};
|
|
8215
8395
|
postprocess(VLabelElement);
|
|
8216
8396
|
export const VLabel = wrapper(VLabelElement);
|
|
8217
8397
|
export const NullVLabel = create_null(VLabelElement);
|
|
8218
8398
|
// Base class VLegendElement derived from HTMLLegendElement.
|
|
8219
8399
|
// @ts-ignore
|
|
8220
8400
|
export class VLegendElement extends HTMLLegendElement {
|
|
8401
|
+
static element_name = "VLegendElement";
|
|
8402
|
+
static element_tag = "legend";
|
|
8221
8403
|
constructor(args = {}) {
|
|
8222
8404
|
super();
|
|
8223
8405
|
args.derived ??= VLegendElement;
|
|
8224
|
-
this.
|
|
8406
|
+
this._init_sys_velement(args);
|
|
8225
8407
|
}
|
|
8226
8408
|
}
|
|
8227
|
-
|
|
8228
|
-
;
|
|
8409
|
+
// @ts-ignore
|
|
8410
|
+
// export interface VLegendElement extends HTMLLegendElement, VElement, VElementExtensions {};
|
|
8229
8411
|
postprocess(VLegendElement);
|
|
8230
8412
|
export const VLegend = wrapper(VLegendElement);
|
|
8231
8413
|
export const NullVLegend = create_null(VLegendElement);
|
|
8232
8414
|
// Base class VLIElement derived from HTMLLIElement.
|
|
8233
8415
|
// @ts-ignore
|
|
8234
8416
|
export class VLIElement extends HTMLLIElement {
|
|
8417
|
+
static element_name = "VLIElement";
|
|
8418
|
+
static element_tag = "li";
|
|
8235
8419
|
constructor(args = {}) {
|
|
8236
8420
|
super();
|
|
8237
8421
|
args.derived ??= VLIElement;
|
|
8238
|
-
this.
|
|
8422
|
+
this._init_sys_velement(args);
|
|
8239
8423
|
}
|
|
8240
8424
|
}
|
|
8241
|
-
|
|
8242
|
-
;
|
|
8425
|
+
// @ts-ignore
|
|
8426
|
+
// export interface VLIElement extends HTMLLIElement, VElement, VElementExtensions {};
|
|
8243
8427
|
postprocess(VLIElement);
|
|
8244
8428
|
export const VLI = wrapper(VLIElement);
|
|
8245
8429
|
export const NullVLI = create_null(VLIElement);
|
|
8246
8430
|
// Base class VLinkElement derived from HTMLLinkElement.
|
|
8247
8431
|
// @ts-ignore
|
|
8248
8432
|
export class VLinkElement extends HTMLLinkElement {
|
|
8433
|
+
static element_name = "VLinkElement";
|
|
8434
|
+
static element_tag = "link";
|
|
8249
8435
|
constructor(args = {}) {
|
|
8250
8436
|
super();
|
|
8251
8437
|
args.derived ??= VLinkElement;
|
|
8252
|
-
this.
|
|
8438
|
+
this._init_sys_velement(args);
|
|
8253
8439
|
}
|
|
8254
8440
|
}
|
|
8255
|
-
|
|
8256
|
-
;
|
|
8441
|
+
// @ts-ignore
|
|
8442
|
+
// export interface VLinkElement extends HTMLLinkElement, VElement, VElementExtensions {};
|
|
8257
8443
|
postprocess(VLinkElement);
|
|
8258
8444
|
export const VLink = wrapper(VLinkElement);
|
|
8259
8445
|
export const NullVLink = create_null(VLinkElement);
|
|
8260
8446
|
// Base class VMapElement derived from HTMLMapElement.
|
|
8261
8447
|
// @ts-ignore
|
|
8262
8448
|
export class VMapElement extends HTMLMapElement {
|
|
8449
|
+
static element_name = "VMapElement";
|
|
8450
|
+
static element_tag = "map";
|
|
8263
8451
|
constructor(args = {}) {
|
|
8264
8452
|
super();
|
|
8265
8453
|
args.derived ??= VMapElement;
|
|
8266
|
-
this.
|
|
8454
|
+
this._init_sys_velement(args);
|
|
8267
8455
|
}
|
|
8268
8456
|
}
|
|
8269
|
-
|
|
8270
|
-
;
|
|
8457
|
+
// @ts-ignore
|
|
8458
|
+
// export interface VMapElement extends HTMLMapElement, VElement, VElementExtensions {};
|
|
8271
8459
|
postprocess(VMapElement);
|
|
8272
8460
|
export const VMap = wrapper(VMapElement);
|
|
8273
8461
|
export const NullVMap = create_null(VMapElement);
|
|
8274
8462
|
// Base class VMetaElement derived from HTMLMetaElement.
|
|
8275
8463
|
// @ts-ignore
|
|
8276
8464
|
export class VMetaElement extends HTMLMetaElement {
|
|
8465
|
+
static element_name = "VMetaElement";
|
|
8466
|
+
static element_tag = "meta";
|
|
8277
8467
|
constructor(args = {}) {
|
|
8278
8468
|
super();
|
|
8279
8469
|
args.derived ??= VMetaElement;
|
|
8280
|
-
this.
|
|
8470
|
+
this._init_sys_velement(args);
|
|
8281
8471
|
}
|
|
8282
8472
|
}
|
|
8283
|
-
|
|
8284
|
-
;
|
|
8473
|
+
// @ts-ignore
|
|
8474
|
+
// export interface VMetaElement extends HTMLMetaElement, VElement, VElementExtensions {};
|
|
8285
8475
|
postprocess(VMetaElement);
|
|
8286
8476
|
export const VMeta = wrapper(VMetaElement);
|
|
8287
8477
|
export const NullVMeta = create_null(VMetaElement);
|
|
8288
8478
|
// Base class VMeterElement derived from HTMLMeterElement.
|
|
8289
8479
|
// @ts-ignore
|
|
8290
8480
|
export class VMeterElement extends HTMLMeterElement {
|
|
8481
|
+
static element_name = "VMeterElement";
|
|
8482
|
+
static element_tag = "meter";
|
|
8291
8483
|
constructor(args = {}) {
|
|
8292
8484
|
super();
|
|
8293
8485
|
args.derived ??= VMeterElement;
|
|
8294
|
-
this.
|
|
8486
|
+
this._init_sys_velement(args);
|
|
8295
8487
|
}
|
|
8296
8488
|
}
|
|
8297
|
-
|
|
8298
|
-
;
|
|
8489
|
+
// @ts-ignore
|
|
8490
|
+
// export interface VMeterElement extends HTMLMeterElement, VElement, VElementExtensions {};
|
|
8299
8491
|
postprocess(VMeterElement);
|
|
8300
8492
|
export const VMeter = wrapper(VMeterElement);
|
|
8301
8493
|
export const NullVMeter = create_null(VMeterElement);
|
|
8302
8494
|
// Base class VObjectElement derived from HTMLObjectElement.
|
|
8303
8495
|
// @ts-ignore
|
|
8304
8496
|
export class VObjectElement extends HTMLObjectElement {
|
|
8497
|
+
static element_name = "VObjectElement";
|
|
8498
|
+
static element_tag = "object";
|
|
8305
8499
|
constructor(args = {}) {
|
|
8306
8500
|
super();
|
|
8307
8501
|
args.derived ??= VObjectElement;
|
|
8308
|
-
this.
|
|
8502
|
+
this._init_sys_velement(args);
|
|
8309
8503
|
}
|
|
8310
8504
|
}
|
|
8311
|
-
|
|
8312
|
-
;
|
|
8505
|
+
// @ts-ignore
|
|
8506
|
+
// export interface VObjectElement extends HTMLObjectElement, VElement, VElementExtensions {};
|
|
8313
8507
|
postprocess(VObjectElement);
|
|
8314
8508
|
export const VObject = wrapper(VObjectElement);
|
|
8315
8509
|
export const NullVObject = create_null(VObjectElement);
|
|
8316
8510
|
// Base class VOListElement derived from HTMLOListElement.
|
|
8317
8511
|
// @ts-ignore
|
|
8318
8512
|
export class VOListElement extends HTMLOListElement {
|
|
8513
|
+
static element_name = "VOListElement";
|
|
8514
|
+
static element_tag = "ol";
|
|
8319
8515
|
constructor(args = {}) {
|
|
8320
8516
|
super();
|
|
8321
8517
|
args.derived ??= VOListElement;
|
|
8322
|
-
this.
|
|
8518
|
+
this._init_sys_velement(args);
|
|
8323
8519
|
}
|
|
8324
8520
|
}
|
|
8325
|
-
|
|
8326
|
-
;
|
|
8521
|
+
// @ts-ignore
|
|
8522
|
+
// export interface VOListElement extends HTMLOListElement, VElement, VElementExtensions {};
|
|
8327
8523
|
postprocess(VOListElement);
|
|
8328
8524
|
export const VOList = wrapper(VOListElement);
|
|
8329
8525
|
export const NullVOList = create_null(VOListElement);
|
|
8330
8526
|
// Base class VOptGroupElement derived from HTMLOptGroupElement.
|
|
8331
8527
|
// @ts-ignore
|
|
8332
8528
|
export class VOptGroupElement extends HTMLOptGroupElement {
|
|
8529
|
+
static element_name = "VOptGroupElement";
|
|
8530
|
+
static element_tag = "optgroup";
|
|
8333
8531
|
constructor(args = {}) {
|
|
8334
8532
|
super();
|
|
8335
8533
|
args.derived ??= VOptGroupElement;
|
|
8336
|
-
this.
|
|
8534
|
+
this._init_sys_velement(args);
|
|
8337
8535
|
}
|
|
8338
8536
|
}
|
|
8339
|
-
|
|
8340
|
-
;
|
|
8537
|
+
// @ts-ignore
|
|
8538
|
+
// export interface VOptGroupElement extends HTMLOptGroupElement, VElement, VElementExtensions {};
|
|
8341
8539
|
postprocess(VOptGroupElement);
|
|
8342
8540
|
export const VOptGroup = wrapper(VOptGroupElement);
|
|
8343
8541
|
export const NullVOptGroup = create_null(VOptGroupElement);
|
|
8344
8542
|
// Base class VOptionElement derived from HTMLOptionElement.
|
|
8345
8543
|
// @ts-ignore
|
|
8346
8544
|
export class VOptionElement extends HTMLOptionElement {
|
|
8545
|
+
static element_name = "VOptionElement";
|
|
8546
|
+
static element_tag = "option";
|
|
8347
8547
|
constructor(args = {}) {
|
|
8348
8548
|
super();
|
|
8349
8549
|
args.derived ??= VOptionElement;
|
|
8350
|
-
this.
|
|
8550
|
+
this._init_sys_velement(args);
|
|
8351
8551
|
}
|
|
8352
8552
|
}
|
|
8353
|
-
|
|
8354
|
-
;
|
|
8553
|
+
// @ts-ignore
|
|
8554
|
+
// export interface VOptionElement extends HTMLOptionElement, VElement, VElementExtensions {};
|
|
8355
8555
|
postprocess(VOptionElement);
|
|
8356
8556
|
export const VOption = wrapper(VOptionElement);
|
|
8357
8557
|
export const NullVOption = create_null(VOptionElement);
|
|
8358
8558
|
// Base class VOutputElement derived from HTMLOutputElement.
|
|
8359
8559
|
// @ts-ignore
|
|
8360
8560
|
export class VOutputElement extends HTMLOutputElement {
|
|
8561
|
+
static element_name = "VOutputElement";
|
|
8562
|
+
static element_tag = "output";
|
|
8361
8563
|
constructor(args = {}) {
|
|
8362
8564
|
super();
|
|
8363
8565
|
args.derived ??= VOutputElement;
|
|
8364
|
-
this.
|
|
8566
|
+
this._init_sys_velement(args);
|
|
8365
8567
|
}
|
|
8366
8568
|
}
|
|
8367
|
-
|
|
8368
|
-
;
|
|
8569
|
+
// @ts-ignore
|
|
8570
|
+
// export interface VOutputElement extends HTMLOutputElement, VElement, VElementExtensions {};
|
|
8369
8571
|
postprocess(VOutputElement);
|
|
8370
8572
|
export const VOutput = wrapper(VOutputElement);
|
|
8371
8573
|
export const NullVOutput = create_null(VOutputElement);
|
|
8372
8574
|
// Base class VParagraphElement derived from HTMLParagraphElement.
|
|
8373
8575
|
// @ts-ignore
|
|
8374
8576
|
export class VParagraphElement extends HTMLParagraphElement {
|
|
8577
|
+
static element_name = "VParagraphElement";
|
|
8578
|
+
static element_tag = "p";
|
|
8375
8579
|
constructor(args = {}) {
|
|
8376
8580
|
super();
|
|
8377
8581
|
args.derived ??= VParagraphElement;
|
|
8378
|
-
this.
|
|
8582
|
+
this._init_sys_velement(args);
|
|
8379
8583
|
}
|
|
8380
8584
|
}
|
|
8381
|
-
|
|
8382
|
-
;
|
|
8585
|
+
// @ts-ignore
|
|
8586
|
+
// export interface VParagraphElement extends HTMLParagraphElement, VElement, VElementExtensions {};
|
|
8383
8587
|
postprocess(VParagraphElement);
|
|
8384
8588
|
export const VParagraph = wrapper(VParagraphElement);
|
|
8385
8589
|
export const NullVParagraph = create_null(VParagraphElement);
|
|
8386
8590
|
// Base class VParamElement derived from HTMLParamElement.
|
|
8387
8591
|
// @ts-ignore
|
|
8388
8592
|
export class VParamElement extends HTMLParamElement {
|
|
8593
|
+
static element_name = "VParamElement";
|
|
8594
|
+
static element_tag = "param";
|
|
8389
8595
|
constructor(args = {}) {
|
|
8390
8596
|
super();
|
|
8391
8597
|
args.derived ??= VParamElement;
|
|
8392
|
-
this.
|
|
8598
|
+
this._init_sys_velement(args);
|
|
8393
8599
|
}
|
|
8394
8600
|
}
|
|
8395
|
-
|
|
8396
|
-
;
|
|
8601
|
+
// @ts-ignore
|
|
8602
|
+
// export interface VParamElement extends HTMLParamElement, VElement, VElementExtensions {};
|
|
8397
8603
|
postprocess(VParamElement);
|
|
8398
8604
|
export const VParam = wrapper(VParamElement);
|
|
8399
8605
|
export const NullVParam = create_null(VParamElement);
|
|
8400
8606
|
// Base class VPictureElement derived from HTMLPictureElement.
|
|
8401
8607
|
// @ts-ignore
|
|
8402
8608
|
export class VPictureElement extends HTMLPictureElement {
|
|
8609
|
+
static element_name = "VPictureElement";
|
|
8610
|
+
static element_tag = "picture";
|
|
8403
8611
|
constructor(args = {}) {
|
|
8404
8612
|
super();
|
|
8405
8613
|
args.derived ??= VPictureElement;
|
|
8406
|
-
this.
|
|
8614
|
+
this._init_sys_velement(args);
|
|
8407
8615
|
}
|
|
8408
8616
|
}
|
|
8409
|
-
|
|
8410
|
-
;
|
|
8617
|
+
// @ts-ignore
|
|
8618
|
+
// export interface VPictureElement extends HTMLPictureElement, VElement, VElementExtensions {};
|
|
8411
8619
|
postprocess(VPictureElement);
|
|
8412
8620
|
export const VPicture = wrapper(VPictureElement);
|
|
8413
8621
|
export const NullVPicture = create_null(VPictureElement);
|
|
8414
8622
|
// Base class VPreElement derived from HTMLPreElement.
|
|
8415
8623
|
// @ts-ignore
|
|
8416
8624
|
export class VPreElement extends HTMLPreElement {
|
|
8625
|
+
static element_name = "VPreElement";
|
|
8626
|
+
static element_tag = "pre";
|
|
8417
8627
|
constructor(args = {}) {
|
|
8418
8628
|
super();
|
|
8419
8629
|
args.derived ??= VPreElement;
|
|
8420
|
-
this.
|
|
8630
|
+
this._init_sys_velement(args);
|
|
8421
8631
|
}
|
|
8422
8632
|
}
|
|
8423
|
-
|
|
8424
|
-
;
|
|
8633
|
+
// @ts-ignore
|
|
8634
|
+
// export interface VPreElement extends HTMLPreElement, VElement, VElementExtensions {};
|
|
8425
8635
|
postprocess(VPreElement);
|
|
8426
8636
|
export const VPre = wrapper(VPreElement);
|
|
8427
8637
|
export const NullVPre = create_null(VPreElement);
|
|
8428
8638
|
// Base class VProgressElement derived from HTMLProgressElement.
|
|
8429
8639
|
// @ts-ignore
|
|
8430
8640
|
export class VProgressElement extends HTMLProgressElement {
|
|
8641
|
+
static element_name = "VProgressElement";
|
|
8642
|
+
static element_tag = "progress";
|
|
8431
8643
|
constructor(args = {}) {
|
|
8432
8644
|
super();
|
|
8433
8645
|
args.derived ??= VProgressElement;
|
|
8434
|
-
this.
|
|
8646
|
+
this._init_sys_velement(args);
|
|
8435
8647
|
}
|
|
8436
8648
|
}
|
|
8437
|
-
|
|
8438
|
-
;
|
|
8649
|
+
// @ts-ignore
|
|
8650
|
+
// export interface VProgressElement extends HTMLProgressElement, VElement, VElementExtensions {};
|
|
8439
8651
|
postprocess(VProgressElement);
|
|
8440
8652
|
export const VProgress = wrapper(VProgressElement);
|
|
8441
8653
|
export const NullVProgress = create_null(VProgressElement);
|
|
8442
8654
|
// Base class VScriptElement derived from HTMLScriptElement.
|
|
8443
8655
|
// @ts-ignore
|
|
8444
8656
|
export class VScriptElement extends HTMLScriptElement {
|
|
8657
|
+
static element_name = "VScriptElement";
|
|
8658
|
+
static element_tag = "script";
|
|
8445
8659
|
constructor(args = {}) {
|
|
8446
8660
|
super();
|
|
8447
8661
|
args.derived ??= VScriptElement;
|
|
8448
|
-
this.
|
|
8662
|
+
this._init_sys_velement(args);
|
|
8449
8663
|
}
|
|
8450
8664
|
}
|
|
8451
|
-
|
|
8452
|
-
;
|
|
8665
|
+
// @ts-ignore
|
|
8666
|
+
// export interface VScriptElement extends HTMLScriptElement, VElement, VElementExtensions {};
|
|
8453
8667
|
postprocess(VScriptElement);
|
|
8454
8668
|
export const VScript = wrapper(VScriptElement);
|
|
8455
8669
|
export const NullVScript = create_null(VScriptElement);
|
|
8456
8670
|
// Base class VSelectElement derived from HTMLSelectElement.
|
|
8457
8671
|
// @ts-ignore
|
|
8458
8672
|
export class VSelectElement extends HTMLSelectElement {
|
|
8673
|
+
static element_name = "VSelectElement";
|
|
8674
|
+
static element_tag = "select";
|
|
8459
8675
|
constructor(args = {}) {
|
|
8460
8676
|
super();
|
|
8461
8677
|
args.derived ??= VSelectElement;
|
|
8462
|
-
this.
|
|
8678
|
+
this._init_sys_velement(args);
|
|
8463
8679
|
}
|
|
8464
8680
|
}
|
|
8465
|
-
|
|
8466
|
-
;
|
|
8681
|
+
// @ts-ignore
|
|
8682
|
+
// export interface VSelectElement extends HTMLSelectElement, VElement, VElementExtensions {};
|
|
8467
8683
|
postprocess(VSelectElement);
|
|
8468
8684
|
export const VSelect = wrapper(VSelectElement);
|
|
8469
8685
|
export const NullVSelect = create_null(VSelectElement);
|
|
8470
8686
|
// Base class VSlotElement derived from HTMLSlotElement.
|
|
8471
8687
|
// @ts-ignore
|
|
8472
8688
|
export class VSlotElement extends HTMLSlotElement {
|
|
8689
|
+
static element_name = "VSlotElement";
|
|
8690
|
+
static element_tag = "slot";
|
|
8473
8691
|
constructor(args = {}) {
|
|
8474
8692
|
super();
|
|
8475
8693
|
args.derived ??= VSlotElement;
|
|
8476
|
-
this.
|
|
8694
|
+
this._init_sys_velement(args);
|
|
8477
8695
|
}
|
|
8478
8696
|
}
|
|
8479
|
-
|
|
8480
|
-
;
|
|
8697
|
+
// @ts-ignore
|
|
8698
|
+
// export interface VSlotElement extends HTMLSlotElement, VElement, VElementExtensions {};
|
|
8481
8699
|
postprocess(VSlotElement);
|
|
8482
8700
|
export const VSlot = wrapper(VSlotElement);
|
|
8483
8701
|
export const NullVSlot = create_null(VSlotElement);
|
|
8484
8702
|
// Base class VSourceElement derived from HTMLSourceElement.
|
|
8485
8703
|
// @ts-ignore
|
|
8486
8704
|
export class VSourceElement extends HTMLSourceElement {
|
|
8705
|
+
static element_name = "VSourceElement";
|
|
8706
|
+
static element_tag = "source";
|
|
8487
8707
|
constructor(args = {}) {
|
|
8488
8708
|
super();
|
|
8489
8709
|
args.derived ??= VSourceElement;
|
|
8490
|
-
this.
|
|
8710
|
+
this._init_sys_velement(args);
|
|
8491
8711
|
}
|
|
8492
8712
|
}
|
|
8493
|
-
|
|
8494
|
-
;
|
|
8713
|
+
// @ts-ignore
|
|
8714
|
+
// export interface VSourceElement extends HTMLSourceElement, VElement, VElementExtensions {};
|
|
8495
8715
|
postprocess(VSourceElement);
|
|
8496
8716
|
export const VSource = wrapper(VSourceElement);
|
|
8497
8717
|
export const NullVSource = create_null(VSourceElement);
|
|
8498
8718
|
// Base class VSpanElement derived from HTMLSpanElement.
|
|
8499
8719
|
// @ts-ignore
|
|
8500
8720
|
export class VSpanElement extends HTMLSpanElement {
|
|
8721
|
+
static element_name = "VSpanElement";
|
|
8722
|
+
static element_tag = "span";
|
|
8501
8723
|
constructor(args = {}) {
|
|
8502
8724
|
super();
|
|
8503
8725
|
args.derived ??= VSpanElement;
|
|
8504
|
-
this.
|
|
8726
|
+
this._init_sys_velement(args);
|
|
8505
8727
|
}
|
|
8506
8728
|
}
|
|
8507
|
-
|
|
8508
|
-
;
|
|
8729
|
+
// @ts-ignore
|
|
8730
|
+
// export interface VSpanElement extends HTMLSpanElement, VElement, VElementExtensions {};
|
|
8509
8731
|
postprocess(VSpanElement);
|
|
8510
8732
|
export const VSpan = wrapper(VSpanElement);
|
|
8511
8733
|
export const NullVSpan = create_null(VSpanElement);
|
|
8512
8734
|
// Base class VTableElement derived from HTMLTableElement.
|
|
8513
8735
|
// @ts-ignore
|
|
8514
8736
|
export class VTableElement extends HTMLTableElement {
|
|
8737
|
+
static element_name = "VTableElement";
|
|
8738
|
+
static element_tag = "table";
|
|
8515
8739
|
constructor(args = {}) {
|
|
8516
8740
|
super();
|
|
8517
8741
|
args.derived ??= VTableElement;
|
|
8518
|
-
this.
|
|
8742
|
+
this._init_sys_velement(args);
|
|
8519
8743
|
}
|
|
8520
8744
|
}
|
|
8521
|
-
|
|
8522
|
-
;
|
|
8745
|
+
// @ts-ignore
|
|
8746
|
+
// export interface VTableElement extends HTMLTableElement, VElement, VElementExtensions {};
|
|
8523
8747
|
postprocess(VTableElement);
|
|
8524
8748
|
export const VTable = wrapper(VTableElement);
|
|
8525
8749
|
export const NullVTable = create_null(VTableElement);
|
|
8526
8750
|
// Base class VTHeadElement derived from HTMLTableSectionElement.
|
|
8527
8751
|
// @ts-ignore
|
|
8528
8752
|
export class VTHeadElement extends HTMLTableSectionElement {
|
|
8753
|
+
static element_name = "VTHeadElement";
|
|
8754
|
+
static element_tag = "thead";
|
|
8529
8755
|
constructor(args = {}) {
|
|
8530
8756
|
super();
|
|
8531
8757
|
args.derived ??= VTHeadElement;
|
|
8532
|
-
this.
|
|
8758
|
+
this._init_sys_velement(args);
|
|
8533
8759
|
}
|
|
8534
8760
|
}
|
|
8535
|
-
|
|
8536
|
-
;
|
|
8761
|
+
// @ts-ignore
|
|
8762
|
+
// export interface VTHeadElement extends HTMLTableSectionElement, VElement, VElementExtensions {};
|
|
8537
8763
|
postprocess(VTHeadElement);
|
|
8538
8764
|
export const VTHead = wrapper(VTHeadElement);
|
|
8539
8765
|
export const NullVTHead = create_null(VTHeadElement);
|
|
8540
8766
|
// Base class VTBodyElement derived from HTMLTableSectionElement.
|
|
8541
8767
|
// @ts-ignore
|
|
8542
8768
|
export class VTBodyElement extends HTMLTableSectionElement {
|
|
8769
|
+
static element_name = "VTBodyElement";
|
|
8770
|
+
static element_tag = "tbody";
|
|
8543
8771
|
constructor(args = {}) {
|
|
8544
8772
|
super();
|
|
8545
8773
|
args.derived ??= VTBodyElement;
|
|
8546
|
-
this.
|
|
8774
|
+
this._init_sys_velement(args);
|
|
8547
8775
|
}
|
|
8548
8776
|
}
|
|
8549
|
-
|
|
8550
|
-
;
|
|
8777
|
+
// @ts-ignore
|
|
8778
|
+
// export interface VTBodyElement extends HTMLTableSectionElement, VElement, VElementExtensions {};
|
|
8551
8779
|
postprocess(VTBodyElement);
|
|
8552
8780
|
export const VTBody = wrapper(VTBodyElement);
|
|
8553
8781
|
export const NullVTBody = create_null(VTBodyElement);
|
|
8554
8782
|
// Base class VTFootElement derived from HTMLTableSectionElement.
|
|
8555
8783
|
// @ts-ignore
|
|
8556
8784
|
export class VTFootElement extends HTMLTableSectionElement {
|
|
8785
|
+
static element_name = "VTFootElement";
|
|
8786
|
+
static element_tag = "tfoot";
|
|
8557
8787
|
constructor(args = {}) {
|
|
8558
8788
|
super();
|
|
8559
8789
|
args.derived ??= VTFootElement;
|
|
8560
|
-
this.
|
|
8790
|
+
this._init_sys_velement(args);
|
|
8561
8791
|
}
|
|
8562
8792
|
}
|
|
8563
|
-
|
|
8564
|
-
;
|
|
8793
|
+
// @ts-ignore
|
|
8794
|
+
// export interface VTFootElement extends HTMLTableSectionElement, VElement, VElementExtensions {};
|
|
8565
8795
|
postprocess(VTFootElement);
|
|
8566
8796
|
export const VTFoot = wrapper(VTFootElement);
|
|
8567
8797
|
export const NullVTFoot = create_null(VTFootElement);
|
|
8568
8798
|
// Base class VTHElement derived from HTMLTableCellElement.
|
|
8569
8799
|
// @ts-ignore
|
|
8570
8800
|
export class VTHElement extends HTMLTableCellElement {
|
|
8801
|
+
static element_name = "VTHElement";
|
|
8802
|
+
static element_tag = "th";
|
|
8571
8803
|
constructor(args = {}) {
|
|
8572
8804
|
super();
|
|
8573
8805
|
args.derived ??= VTHElement;
|
|
8574
|
-
this.
|
|
8806
|
+
this._init_sys_velement(args);
|
|
8575
8807
|
}
|
|
8576
8808
|
}
|
|
8577
|
-
|
|
8578
|
-
;
|
|
8809
|
+
// @ts-ignore
|
|
8810
|
+
// export interface VTHElement extends HTMLTableCellElement, VElement, VElementExtensions {};
|
|
8579
8811
|
postprocess(VTHElement);
|
|
8580
8812
|
export const VTH = wrapper(VTHElement);
|
|
8581
8813
|
export const NullVTH = create_null(VTHElement);
|
|
8582
8814
|
// Base class VTDElement derived from HTMLTableCellElement.
|
|
8583
8815
|
// @ts-ignore
|
|
8584
8816
|
export class VTDElement extends HTMLTableCellElement {
|
|
8817
|
+
static element_name = "VTDElement";
|
|
8818
|
+
static element_tag = "td";
|
|
8585
8819
|
constructor(args = {}) {
|
|
8586
8820
|
super();
|
|
8587
8821
|
args.derived ??= VTDElement;
|
|
8588
|
-
this.
|
|
8822
|
+
this._init_sys_velement(args);
|
|
8589
8823
|
}
|
|
8590
8824
|
}
|
|
8591
|
-
|
|
8592
|
-
;
|
|
8825
|
+
// @ts-ignore
|
|
8826
|
+
// export interface VTDElement extends HTMLTableCellElement, VElement, VElementExtensions {};
|
|
8593
8827
|
postprocess(VTDElement);
|
|
8594
8828
|
export const VTD = wrapper(VTDElement);
|
|
8595
8829
|
export const NullVTD = create_null(VTDElement);
|
|
8596
8830
|
// Base class VTemplateElement derived from HTMLTemplateElement.
|
|
8597
8831
|
// @ts-ignore
|
|
8598
8832
|
export class VTemplateElement extends HTMLTemplateElement {
|
|
8833
|
+
static element_name = "VTemplateElement";
|
|
8834
|
+
static element_tag = "template";
|
|
8599
8835
|
constructor(args = {}) {
|
|
8600
8836
|
super();
|
|
8601
8837
|
args.derived ??= VTemplateElement;
|
|
8602
|
-
this.
|
|
8838
|
+
this._init_sys_velement(args);
|
|
8603
8839
|
}
|
|
8604
8840
|
}
|
|
8605
|
-
|
|
8606
|
-
;
|
|
8841
|
+
// @ts-ignore
|
|
8842
|
+
// export interface VTemplateElement extends HTMLTemplateElement, VElement, VElementExtensions {};
|
|
8607
8843
|
postprocess(VTemplateElement);
|
|
8608
8844
|
export const VTemplate = wrapper(VTemplateElement);
|
|
8609
8845
|
export const NullVTemplate = create_null(VTemplateElement);
|
|
8610
8846
|
// Base class VTextAreaElement derived from HTMLTextAreaElement.
|
|
8611
8847
|
// @ts-ignore
|
|
8612
8848
|
export class VTextAreaElement extends HTMLTextAreaElement {
|
|
8849
|
+
static element_name = "VTextAreaElement";
|
|
8850
|
+
static element_tag = "textarea";
|
|
8613
8851
|
constructor(args = {}) {
|
|
8614
8852
|
super();
|
|
8615
8853
|
args.derived ??= VTextAreaElement;
|
|
8616
|
-
this.
|
|
8854
|
+
this._init_sys_velement(args);
|
|
8617
8855
|
}
|
|
8618
8856
|
}
|
|
8619
|
-
|
|
8620
|
-
;
|
|
8857
|
+
// @ts-ignore
|
|
8858
|
+
// export interface VTextAreaElement extends HTMLTextAreaElement, VElement, VElementExtensions {};
|
|
8621
8859
|
postprocess(VTextAreaElement);
|
|
8622
8860
|
export const VTextArea = wrapper(VTextAreaElement);
|
|
8623
8861
|
export const NullVTextArea = create_null(VTextAreaElement);
|
|
8624
8862
|
// Base class VTimeElement derived from HTMLTimeElement.
|
|
8625
8863
|
// @ts-ignore
|
|
8626
8864
|
export class VTimeElement extends HTMLTimeElement {
|
|
8865
|
+
static element_name = "VTimeElement";
|
|
8866
|
+
static element_tag = "time";
|
|
8627
8867
|
constructor(args = {}) {
|
|
8628
8868
|
super();
|
|
8629
8869
|
args.derived ??= VTimeElement;
|
|
8630
|
-
this.
|
|
8870
|
+
this._init_sys_velement(args);
|
|
8631
8871
|
}
|
|
8632
8872
|
}
|
|
8633
|
-
|
|
8634
|
-
;
|
|
8873
|
+
// @ts-ignore
|
|
8874
|
+
// export interface VTimeElement extends HTMLTimeElement, VElement, VElementExtensions {};
|
|
8635
8875
|
postprocess(VTimeElement);
|
|
8636
8876
|
export const VTime = wrapper(VTimeElement);
|
|
8637
8877
|
export const NullVTime = create_null(VTimeElement);
|
|
8638
8878
|
// Base class VTitleElement derived from HTMLTitleElement.
|
|
8639
8879
|
// @ts-ignore
|
|
8640
8880
|
export class VTitleElement extends HTMLTitleElement {
|
|
8881
|
+
static element_name = "VTitleElement";
|
|
8882
|
+
static element_tag = "title";
|
|
8641
8883
|
constructor(args = {}) {
|
|
8642
8884
|
super();
|
|
8643
8885
|
args.derived ??= VTitleElement;
|
|
8644
|
-
this.
|
|
8886
|
+
this._init_sys_velement(args);
|
|
8645
8887
|
}
|
|
8646
8888
|
}
|
|
8647
|
-
|
|
8648
|
-
;
|
|
8889
|
+
// @ts-ignore
|
|
8890
|
+
// export interface VTitleElement extends HTMLTitleElement, VElement, VElementExtensions {};
|
|
8649
8891
|
postprocess(VTitleElement);
|
|
8650
8892
|
export const VTitle = wrapper(VTitleElement);
|
|
8651
8893
|
export const NullVTitle = create_null(VTitleElement);
|
|
8652
8894
|
// Base class VTableRowElement derived from HTMLTableRowElement.
|
|
8653
8895
|
// @ts-ignore
|
|
8654
8896
|
export class VTableRowElement extends HTMLTableRowElement {
|
|
8897
|
+
static element_name = "VTableRowElement";
|
|
8898
|
+
static element_tag = "tr";
|
|
8655
8899
|
constructor(args = {}) {
|
|
8656
8900
|
super();
|
|
8657
8901
|
args.derived ??= VTableRowElement;
|
|
8658
|
-
this.
|
|
8902
|
+
this._init_sys_velement(args);
|
|
8659
8903
|
}
|
|
8660
8904
|
}
|
|
8661
|
-
|
|
8662
|
-
;
|
|
8905
|
+
// @ts-ignore
|
|
8906
|
+
// export interface VTableRowElement extends HTMLTableRowElement, VElement, VElementExtensions {};
|
|
8663
8907
|
postprocess(VTableRowElement);
|
|
8664
8908
|
export const VTableRow = wrapper(VTableRowElement);
|
|
8665
8909
|
export const NullVTableRow = create_null(VTableRowElement);
|
|
8666
8910
|
// Base class VTrackElement derived from HTMLTrackElement.
|
|
8667
8911
|
// @ts-ignore
|
|
8668
8912
|
export class VTrackElement extends HTMLTrackElement {
|
|
8913
|
+
static element_name = "VTrackElement";
|
|
8914
|
+
static element_tag = "track";
|
|
8669
8915
|
constructor(args = {}) {
|
|
8670
8916
|
super();
|
|
8671
8917
|
args.derived ??= VTrackElement;
|
|
8672
|
-
this.
|
|
8918
|
+
this._init_sys_velement(args);
|
|
8673
8919
|
}
|
|
8674
8920
|
}
|
|
8675
|
-
|
|
8676
|
-
;
|
|
8921
|
+
// @ts-ignore
|
|
8922
|
+
// export interface VTrackElement extends HTMLTrackElement, VElement, VElementExtensions {};
|
|
8677
8923
|
postprocess(VTrackElement);
|
|
8678
8924
|
export const VTrack = wrapper(VTrackElement);
|
|
8679
8925
|
export const NullVTrack = create_null(VTrackElement);
|
|
8680
8926
|
// Base class VUListElement derived from HTMLUListElement.
|
|
8681
8927
|
// @ts-ignore
|
|
8682
8928
|
export class VUListElement extends HTMLUListElement {
|
|
8929
|
+
static element_name = "VUListElement";
|
|
8930
|
+
static element_tag = "ul";
|
|
8683
8931
|
constructor(args = {}) {
|
|
8684
8932
|
super();
|
|
8685
8933
|
args.derived ??= VUListElement;
|
|
8686
|
-
this.
|
|
8934
|
+
this._init_sys_velement(args);
|
|
8687
8935
|
}
|
|
8688
8936
|
}
|
|
8689
|
-
|
|
8690
|
-
;
|
|
8937
|
+
// @ts-ignore
|
|
8938
|
+
// export interface VUListElement extends HTMLUListElement, VElement, VElementExtensions {};
|
|
8691
8939
|
postprocess(VUListElement);
|
|
8692
8940
|
export const VUList = wrapper(VUListElement);
|
|
8693
8941
|
export const NullVUList = create_null(VUListElement);
|
|
8694
8942
|
// Base class VIFrameElement derived from HTMLIFrameElement.
|
|
8695
8943
|
// @ts-ignore
|
|
8696
8944
|
export class VIFrameElement extends HTMLIFrameElement {
|
|
8945
|
+
static element_name = "VIFrameElement";
|
|
8946
|
+
static element_tag = "iframe";
|
|
8697
8947
|
constructor(args = {}) {
|
|
8698
8948
|
super();
|
|
8699
8949
|
args.derived ??= VIFrameElement;
|
|
8700
|
-
this.
|
|
8950
|
+
this._init_sys_velement(args);
|
|
8701
8951
|
}
|
|
8702
8952
|
}
|
|
8703
|
-
|
|
8704
|
-
;
|
|
8953
|
+
// @ts-ignore
|
|
8954
|
+
// export interface VIFrameElement extends HTMLIFrameElement, VElement, VElementExtensions {};
|
|
8705
8955
|
postprocess(VIFrameElement);
|
|
8706
8956
|
export const VIFrame = wrapper(VIFrameElement);
|
|
8707
8957
|
export const NullVIFrame = create_null(VIFrameElement);
|
|
8708
8958
|
// Base class VCodeElement derived from HTMLElement.
|
|
8709
8959
|
// @ts-ignore
|
|
8710
8960
|
export class VCodeElement extends HTMLElement {
|
|
8961
|
+
static element_name = "VCodeElement";
|
|
8962
|
+
static element_tag = "code";
|
|
8711
8963
|
constructor(args = {}) {
|
|
8712
8964
|
super();
|
|
8713
8965
|
args.derived ??= VCodeElement;
|
|
8714
|
-
this.
|
|
8966
|
+
this._init_sys_velement(args);
|
|
8715
8967
|
}
|
|
8716
8968
|
}
|
|
8717
|
-
|
|
8718
|
-
;
|
|
8969
|
+
// @ts-ignore
|
|
8970
|
+
// export interface VCodeElement extends HTMLElement, VElement, VElementExtensions {};
|
|
8719
8971
|
postprocess(VCodeElement);
|
|
8720
8972
|
export const VCode = wrapper(VCodeElement);
|
|
8721
8973
|
export const NullVCode = create_null(VCodeElement);
|
|
8722
8974
|
// Base class VSectionElement derived from HTMLElement.
|
|
8723
8975
|
// @ts-ignore
|
|
8724
8976
|
export class VSectionElement extends HTMLElement {
|
|
8977
|
+
static element_name = "VSectionElement";
|
|
8978
|
+
static element_tag = "section";
|
|
8725
8979
|
constructor(args = {}) {
|
|
8726
8980
|
super();
|
|
8727
8981
|
args.derived ??= VSectionElement;
|
|
8728
|
-
this.
|
|
8982
|
+
this._init_sys_velement(args);
|
|
8729
8983
|
}
|
|
8730
8984
|
}
|
|
8731
|
-
|
|
8732
|
-
;
|
|
8985
|
+
// @ts-ignore
|
|
8986
|
+
// export interface VSectionElement extends HTMLElement, VElement, VElementExtensions {};
|
|
8733
8987
|
postprocess(VSectionElement);
|
|
8734
8988
|
export const VSection = wrapper(VSectionElement);
|
|
8735
8989
|
export const NullVSection = create_null(VSectionElement);
|
|
8736
|
-
// Base class VDefaultElement derived from HTMLElement.
|
|
8737
|
-
// @ts-ignore
|
|
8738
|
-
// export class VDefaultElement extends (HTMLElement as unknown as _SafeVBaseElement) {
|
|
8739
|
-
// static element_tag = "default";
|
|
8740
|
-
// constructor(args: DerivedConstructorOptions = {}) {
|
|
8741
|
-
// super();
|
|
8742
|
-
// args.derived ??= VDefaultElement;
|
|
8743
|
-
// this._init_velement(args as VBaseElementOptions);
|
|
8744
|
-
// }
|
|
8745
|
-
// }
|
|
8746
|
-
// // @ts-ignore
|
|
8747
|
-
// export interface VDefaultElement extends HTMLElement, VBaseElement, VElementExtensions {};
|
|
8748
|
-
// postprocess(VDefaultElement);
|
|
8749
|
-
// export const VDefault = wrapper(VDefaultElement);
|
|
8750
|
-
// export const NullVDefault = create_null(VDefaultElement);
|
|
8751
|
-
// declare module '../ui/any_element.d.ts' { interface AnyElementMap { VDefaultElement: VDefaultElement }}
|
|
8752
8990
|
// The VElement map per html tag.
|
|
8753
8991
|
export const VElementTagMap = {
|
|
8754
8992
|
_base: VHTMLElement,
|
|
@@ -8814,5 +9052,4 @@ export const VElementTagMap = {
|
|
|
8814
9052
|
iframe: VIFrameElement,
|
|
8815
9053
|
code: VCodeElement,
|
|
8816
9054
|
section: VSectionElement,
|
|
8817
|
-
// default: VDefaultElement,
|
|
8818
9055
|
};
|