ranui 0.1.1-alpha.2 → 0.1.1-alpha.4
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/LICENSE +21 -0
- package/dist/_commonjs-dynamic-modules.8823314d.js +31 -0
- package/dist/_commonjs-dynamic-modules.8823314d.js.map +1 -0
- package/dist/assets/image/failImage.d.ts +2 -0
- package/dist/close.9954c08c.js +5 -0
- package/dist/close.9954c08c.js.map +1 -0
- package/dist/components/button/index.d.ts +328 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/input/index.d.ts +436 -0
- package/dist/components/message/index.d.ts +8 -0
- package/dist/components/preview/index.d.ts +2 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/tabpane/index.d.ts +326 -0
- package/dist/components/tabs/index.d.ts +383 -0
- package/dist/components/video/index.d.ts +393 -0
- package/dist/docx.9c82eaaf.js +2643 -0
- package/dist/docx.9c82eaaf.js.map +1 -0
- package/dist/index.26f69227.js +15110 -0
- package/dist/index.26f69227.js.map +1 -0
- package/dist/index.965c8d86.js +1513 -0
- package/dist/index.965c8d86.js.map +1 -0
- package/dist/index.js +1 -1123
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +12 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/jszip.min.263da606.js +2656 -0
- package/dist/jszip.min.263da606.js.map +1 -0
- package/dist/pdf.5dd28052.js +74510 -0
- package/dist/pdf.5dd28052.js.map +1 -0
- package/dist/preview.de4d53cc.js +5 -0
- package/dist/preview.de4d53cc.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/typings.d.ts +46 -0
- package/dist/utils/docx.d.ts +8 -0
- package/dist/utils/index.d.ts +23 -0
- package/dist/utils/pdf.d.ts +1 -0
- package/dist/utils/pptx/colz.d.ts +70 -0
- package/dist/utils/pptx/index.d.ts +16 -0
- package/dist/utils/pptx/process_pptx.d.ts +23 -0
- package/dist/utils/pptx/t_xml.d.ts +1 -0
- package/package.json +33 -16
- package/base.less +0 -17
- package/component.ts +0 -7
- package/test/button.test.ts +0 -12
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 chaxus
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
2
|
+
function getAugmentedNamespace(n) {
|
|
3
|
+
var f = n.default;
|
|
4
|
+
if (typeof f == "function") {
|
|
5
|
+
var a = function() {
|
|
6
|
+
return f.apply(this, arguments);
|
|
7
|
+
};
|
|
8
|
+
a.prototype = f.prototype;
|
|
9
|
+
} else
|
|
10
|
+
a = {};
|
|
11
|
+
Object.defineProperty(a, "__esModule", { value: true });
|
|
12
|
+
Object.keys(n).forEach(function(k) {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
14
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function() {
|
|
17
|
+
return n[k];
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
return a;
|
|
22
|
+
}
|
|
23
|
+
function commonjsRequire(path) {
|
|
24
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
commonjsRequire as a,
|
|
28
|
+
commonjsGlobal as c,
|
|
29
|
+
getAugmentedNamespace as g
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=_commonjs-dynamic-modules.8823314d.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_commonjs-dynamic-modules.8823314d.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const failImage = "\n data:image/png;base64,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\n";
|
|
2
|
+
export default failImage;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const close = { "_identification": true, "data": '<svg t="1688378016663" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2608" width="128" height="128"><path d="M568 515.008l254.016-255.008q12-11.008 12-27.488t-11.488-28-28-11.488-27.488 12l-255.008 254.016-255.008-254.016q-11.008-12-27.488-12t-28 11.488-11.488 28 12 27.488l254.016 255.008-254.016 255.008q-12 11.008-12 27.488t11.488 28 28 11.488 27.488-12l255.008-255.008 255.008 255.008q11.008 12 27.488 12t28-11.488 11.488-28-12-27.488z" p-id="2609" ></path></svg>' };
|
|
2
|
+
export {
|
|
3
|
+
close as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=close.9954c08c.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"close.9954c08c.js","sources":["../assets/icons/close.svg"],"sourcesContent":["export default {\"_identification\":true,\"data\":\"<svg t=\\\"1688378016663\\\" class=\\\"icon\\\" viewBox=\\\"0 0 1024 1024\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" p-id=\\\"2608\\\" width=\\\"128\\\" height=\\\"128\\\"><path d=\\\"M568 515.008l254.016-255.008q12-11.008 12-27.488t-11.488-28-28-11.488-27.488 12l-255.008 254.016-255.008-254.016q-11.008-12-27.488-12t-28 11.488-11.488 28 12 27.488l254.016 255.008-254.016 255.008q-12 11.008-12 27.488t11.488 28 28 11.488 27.488-12l255.008-255.008 255.008 255.008q11.008 12 27.488 12t28-11.488 11.488-28-12-27.488z\\\" p-id=\\\"2609\\\" ></path></svg>\"}"],"names":[],"mappings":"AAAA,MAAA,QAAe,EAAC,mBAAkB,MAAK,QAAO,ogBAAuhB;"}
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
declare class CustomError {
|
|
2
|
+
message: string;
|
|
3
|
+
constructor(message?: string);
|
|
4
|
+
}
|
|
5
|
+
declare const _default: typeof CustomError | {
|
|
6
|
+
new (): {
|
|
7
|
+
_btn: HTMLDivElement;
|
|
8
|
+
_iconElement?: HTMLElement | undefined;
|
|
9
|
+
_slot: HTMLSlotElement;
|
|
10
|
+
disabled: string | boolean | null | undefined;
|
|
11
|
+
icon: string | null;
|
|
12
|
+
effect: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* @description: 设置button的icon
|
|
15
|
+
* @return {*}
|
|
16
|
+
*/
|
|
17
|
+
setIcon: () => void;
|
|
18
|
+
mousedown: (event: MouseEvent) => void;
|
|
19
|
+
mouseLeave: () => void;
|
|
20
|
+
connectedCallback(): void;
|
|
21
|
+
disconnectCallback(): void;
|
|
22
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
23
|
+
accessKey: string;
|
|
24
|
+
readonly accessKeyLabel: string;
|
|
25
|
+
autocapitalize: string;
|
|
26
|
+
dir: string;
|
|
27
|
+
draggable: boolean;
|
|
28
|
+
hidden: boolean;
|
|
29
|
+
inert: boolean;
|
|
30
|
+
innerText: string;
|
|
31
|
+
lang: string;
|
|
32
|
+
readonly offsetHeight: number;
|
|
33
|
+
readonly offsetLeft: number;
|
|
34
|
+
readonly offsetParent: Element | null;
|
|
35
|
+
readonly offsetTop: number;
|
|
36
|
+
readonly offsetWidth: number;
|
|
37
|
+
outerText: string;
|
|
38
|
+
spellcheck: boolean;
|
|
39
|
+
title: string;
|
|
40
|
+
translate: boolean;
|
|
41
|
+
attachInternals(): ElementInternals;
|
|
42
|
+
click(): void;
|
|
43
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
44
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
45
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
46
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
47
|
+
readonly attributes: NamedNodeMap;
|
|
48
|
+
readonly classList: DOMTokenList;
|
|
49
|
+
className: string;
|
|
50
|
+
readonly clientHeight: number;
|
|
51
|
+
readonly clientLeft: number;
|
|
52
|
+
readonly clientTop: number;
|
|
53
|
+
readonly clientWidth: number;
|
|
54
|
+
id: string;
|
|
55
|
+
readonly localName: string;
|
|
56
|
+
readonly namespaceURI: string | null;
|
|
57
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
58
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
59
|
+
outerHTML: string;
|
|
60
|
+
readonly ownerDocument: Document;
|
|
61
|
+
readonly part: DOMTokenList;
|
|
62
|
+
readonly prefix: string | null;
|
|
63
|
+
readonly scrollHeight: number;
|
|
64
|
+
scrollLeft: number;
|
|
65
|
+
scrollTop: number;
|
|
66
|
+
readonly scrollWidth: number;
|
|
67
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
68
|
+
slot: string;
|
|
69
|
+
readonly tagName: string;
|
|
70
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
71
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
72
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
73
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
74
|
+
getAttribute(qualifiedName: string): string | null;
|
|
75
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
76
|
+
getAttributeNames(): string[];
|
|
77
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
78
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
79
|
+
getBoundingClientRect(): DOMRect;
|
|
80
|
+
getClientRects(): DOMRectList;
|
|
81
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
82
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
83
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
84
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
85
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
86
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
87
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
88
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
89
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
90
|
+
hasAttributes(): boolean;
|
|
91
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
92
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
93
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
94
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
95
|
+
matches(selectors: string): boolean;
|
|
96
|
+
releasePointerCapture(pointerId: number): void;
|
|
97
|
+
removeAttribute(qualifiedName: string): void;
|
|
98
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
99
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
100
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
101
|
+
requestPointerLock(): void;
|
|
102
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
103
|
+
scroll(x: number, y: number): void;
|
|
104
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
105
|
+
scrollBy(x: number, y: number): void;
|
|
106
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
107
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
108
|
+
scrollTo(x: number, y: number): void;
|
|
109
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
110
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
111
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
112
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
113
|
+
setPointerCapture(pointerId: number): void;
|
|
114
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
115
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
116
|
+
readonly baseURI: string;
|
|
117
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
118
|
+
readonly firstChild: ChildNode | null;
|
|
119
|
+
readonly isConnected: boolean;
|
|
120
|
+
readonly lastChild: ChildNode | null;
|
|
121
|
+
readonly nextSibling: ChildNode | null;
|
|
122
|
+
readonly nodeName: string;
|
|
123
|
+
readonly nodeType: number;
|
|
124
|
+
nodeValue: string | null;
|
|
125
|
+
readonly parentElement: HTMLElement | null;
|
|
126
|
+
readonly parentNode: ParentNode | null;
|
|
127
|
+
readonly previousSibling: ChildNode | null;
|
|
128
|
+
textContent: string | null;
|
|
129
|
+
appendChild<T extends Node>(node: T): T;
|
|
130
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
131
|
+
compareDocumentPosition(other: Node): number;
|
|
132
|
+
contains(other: Node | null): boolean;
|
|
133
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
134
|
+
hasChildNodes(): boolean;
|
|
135
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
136
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
137
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
138
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
139
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
140
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
141
|
+
normalize(): void;
|
|
142
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
143
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
144
|
+
readonly ATTRIBUTE_NODE: number;
|
|
145
|
+
readonly CDATA_SECTION_NODE: number;
|
|
146
|
+
readonly COMMENT_NODE: number;
|
|
147
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
148
|
+
readonly DOCUMENT_NODE: number;
|
|
149
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
150
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
151
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
152
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
153
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
154
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
155
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
156
|
+
readonly ELEMENT_NODE: number;
|
|
157
|
+
readonly ENTITY_NODE: number;
|
|
158
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
159
|
+
readonly NOTATION_NODE: number;
|
|
160
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
161
|
+
readonly TEXT_NODE: number;
|
|
162
|
+
dispatchEvent(event: Event): boolean;
|
|
163
|
+
ariaAtomic: string | null;
|
|
164
|
+
ariaAutoComplete: string | null;
|
|
165
|
+
ariaBusy: string | null;
|
|
166
|
+
ariaChecked: string | null;
|
|
167
|
+
ariaColCount: string | null;
|
|
168
|
+
ariaColIndex: string | null;
|
|
169
|
+
ariaColSpan: string | null;
|
|
170
|
+
ariaCurrent: string | null;
|
|
171
|
+
ariaDisabled: string | null;
|
|
172
|
+
ariaExpanded: string | null;
|
|
173
|
+
ariaHasPopup: string | null;
|
|
174
|
+
ariaHidden: string | null;
|
|
175
|
+
ariaKeyShortcuts: string | null;
|
|
176
|
+
ariaLabel: string | null;
|
|
177
|
+
ariaLevel: string | null;
|
|
178
|
+
ariaLive: string | null;
|
|
179
|
+
ariaModal: string | null;
|
|
180
|
+
ariaMultiLine: string | null;
|
|
181
|
+
ariaMultiSelectable: string | null;
|
|
182
|
+
ariaOrientation: string | null;
|
|
183
|
+
ariaPlaceholder: string | null;
|
|
184
|
+
ariaPosInSet: string | null;
|
|
185
|
+
ariaPressed: string | null;
|
|
186
|
+
ariaReadOnly: string | null;
|
|
187
|
+
ariaRequired: string | null;
|
|
188
|
+
ariaRoleDescription: string | null;
|
|
189
|
+
ariaRowCount: string | null;
|
|
190
|
+
ariaRowIndex: string | null;
|
|
191
|
+
ariaRowSpan: string | null;
|
|
192
|
+
ariaSelected: string | null;
|
|
193
|
+
ariaSetSize: string | null;
|
|
194
|
+
ariaSort: string | null;
|
|
195
|
+
ariaValueMax: string | null;
|
|
196
|
+
ariaValueMin: string | null;
|
|
197
|
+
ariaValueNow: string | null;
|
|
198
|
+
ariaValueText: string | null;
|
|
199
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
200
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
201
|
+
after(...nodes: (string | Node)[]): void;
|
|
202
|
+
before(...nodes: (string | Node)[]): void;
|
|
203
|
+
remove(): void;
|
|
204
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
205
|
+
innerHTML: string;
|
|
206
|
+
readonly nextElementSibling: Element | null;
|
|
207
|
+
readonly previousElementSibling: Element | null;
|
|
208
|
+
readonly childElementCount: number;
|
|
209
|
+
readonly children: HTMLCollection;
|
|
210
|
+
readonly firstElementChild: Element | null;
|
|
211
|
+
readonly lastElementChild: Element | null;
|
|
212
|
+
append(...nodes: (string | Node)[]): void;
|
|
213
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
214
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
|
|
215
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
|
|
216
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
217
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
218
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
219
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
220
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
221
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
222
|
+
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
223
|
+
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
224
|
+
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
225
|
+
readonly style: CSSStyleDeclaration;
|
|
226
|
+
contentEditable: string;
|
|
227
|
+
enterKeyHint: string;
|
|
228
|
+
inputMode: string;
|
|
229
|
+
readonly isContentEditable: boolean;
|
|
230
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
231
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
232
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
233
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
234
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
235
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
236
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
237
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
238
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
239
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
240
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
241
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
242
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
243
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
244
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
245
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
246
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
247
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
248
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
249
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
250
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
251
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
252
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
253
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
254
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
|
+
onerror: OnErrorEventHandler;
|
|
256
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
257
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
258
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
259
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
261
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
262
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
263
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
264
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
265
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
266
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
268
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
269
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
270
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
271
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
272
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
273
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
274
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
275
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
276
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
277
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
279
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
280
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
281
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
282
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
283
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
284
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
285
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
286
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
287
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
288
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
289
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
291
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
293
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
294
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
295
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
296
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
299
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
300
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
301
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
305
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
306
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
307
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
308
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
309
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
310
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
311
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
312
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
318
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
319
|
+
autofocus: boolean;
|
|
320
|
+
readonly dataset: DOMStringMap;
|
|
321
|
+
nonce?: string | undefined;
|
|
322
|
+
tabIndex: number;
|
|
323
|
+
blur(): void;
|
|
324
|
+
focus(options?: FocusOptions | undefined): void;
|
|
325
|
+
};
|
|
326
|
+
readonly observedAttributes: string[];
|
|
327
|
+
};
|
|
328
|
+
export default _default;
|