ranui 0.1.8 → 0.1.10-alpha-24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.zh-CN.md +192 -0
- package/dist/assets/image/failImage.d.ts +2 -0
- package/dist/button.js +7 -0
- package/dist/checkbox.js +7 -0
- package/dist/colorpicker.js +11 -0
- package/dist/components/button/index.d.ts +37 -1
- package/dist/components/checkbox/index.d.ts +30 -0
- package/dist/components/colorpicker/index.d.ts +120 -0
- package/dist/components/dropdown/index.d.ts +34 -0
- package/dist/components/input/index.d.ts +209 -1
- package/dist/components/loading/index.d.ts +76 -0
- package/dist/components/math/index.d.ts +16 -0
- package/dist/components/message/index.d.ts +10 -7
- package/dist/components/player/index.d.ts +218 -492
- package/dist/components/popover/content/index.d.ts +16 -0
- package/dist/components/popover/index.d.ts +91 -0
- package/dist/components/preview/constant.d.ts +5 -0
- package/dist/components/preview/index.d.ts +1 -4
- package/dist/components/preview/pdf.d.ts +51 -1
- package/dist/components/preview/types.d.ts +11 -0
- package/dist/components/progress/index.d.ts +12 -7
- package/dist/components/radar/index.d.ts +1 -1
- package/dist/components/scratch/index.d.ts +21 -0
- package/dist/components/select/dropdown-item/index.d.ts +23 -0
- package/dist/components/select/index.d.ts +25 -12
- package/dist/components/select/option/index.d.ts +2 -0
- package/dist/components/tab/index.d.ts +80 -59
- package/dist/components/tabpane/index.d.ts +73 -52
- package/dist/icon.js +6 -0
- package/dist/iconShadowless.js +6 -0
- package/dist/image.js +4 -0
- package/dist/{index-aea75a9f.js → index-BEm1a2pr.js} +3 -6
- package/dist/{index-b2be6bef.js → index-BSyn-jmY.js} +5492 -3716
- package/dist/index-BVD0qcjJ.js +656 -0
- package/dist/{index-b90299ca.js → index-Bb55l8nf.js} +2 -11
- package/dist/{index-48653b79.js → index-BbW0dxzy.js} +12 -16
- package/dist/index-BgUpm4LA.js +103 -0
- package/dist/{index-a1a53af6.js → index-C841uRgZ.js} +16 -51
- package/dist/{index-a43b144f.js → index-CUZna268.js} +41 -69
- package/dist/index-CiA5qRK3.js +381 -0
- package/dist/index-CoJMn8Jm.js +511 -0
- package/dist/{index-5975bbc0.js → index-DAxs7Dd2.js} +6 -13
- package/dist/index-D_cD4u43.js +70 -0
- package/dist/index-DgVgxN1s.js +309 -0
- package/dist/index-DghvN1MU.js +710 -0
- package/dist/index-DvSe_Ms7.js +494 -0
- package/dist/{index-7f513a14.js → index-W52VzrXL.js} +20 -49
- package/dist/index-gBy2cXLV.js +140 -0
- package/dist/index-hdtEL8P_.js +101 -0
- package/dist/index-jVKJoKXA.js +490 -0
- package/dist/index-ltt3w4zP.js +187 -0
- package/dist/index-n4X6wdwJ.js +156 -0
- package/dist/{index-0e7229ea.js → index-s0ioL3L2.js} +23 -43
- package/dist/index.d.ts +276 -14
- package/dist/index.js +24 -24
- package/dist/input.js +7 -0
- package/dist/inputShadowless.js +6 -0
- package/dist/katex-es-CGqSCDjs.js +14634 -0
- package/dist/loading-scene-BMc2wqKm.js +4 -0
- package/dist/loading.js +8 -0
- package/dist/math.js +7 -0
- package/dist/message.js +6 -0
- package/dist/modal.js +4 -0
- package/dist/more-2vsTDpcc.js +31 -0
- package/dist/pdf-Bis_tkvj.js +134 -0
- package/dist/player.js +8 -0
- package/dist/plus-DgJxWGlo.js +56799 -0
- package/dist/popover.js +9 -0
- package/dist/preview.js +7 -0
- package/dist/progress.js +7 -0
- package/dist/radar.js +6 -0
- package/dist/ranui.css +1 -0
- package/dist/search-BWdfjyP8.js +4 -0
- package/dist/select.js +10 -0
- package/dist/{index-f6d6982d.js → selectShadowless.js} +203 -159
- package/dist/{umd/components/form → shadowless/icon}/index.d.ts +1 -0
- package/dist/shadowless/input/index.d.ts +210 -0
- package/dist/{umd/components → shadowless}/select/index.d.ts +22 -15
- package/dist/shadowless/select/option/index.d.ts +2 -0
- package/dist/shadowless.d.ts +3 -0
- package/dist/shadowless.js +8 -0
- package/dist/skeleton.js +4 -0
- package/dist/sort-DWqiUONr.js +4 -0
- package/dist/sprite-CH2zLtZy.js +141 -0
- package/dist/tab.js +6 -0
- package/dist/tabpane.js +4 -0
- package/dist/tsconfig.json +31 -0
- package/dist/typings.d.ts +257 -0
- package/dist/umd/index.css +1 -0
- package/dist/umd/index.umd.cjs +1 -71
- package/dist/umd/shadowless/shadowless.css +1 -0
- package/dist/umd/shadowless/shadowless.umd.cjs +1 -0
- package/dist/utils/color.d.ts +52 -0
- package/dist/utils/image.d.ts +8 -1
- package/dist/utils/index.d.ts +20 -5
- package/dist/utils/math.d.ts +3 -3
- package/dist/vite.config.d.ts +1 -0
- package/dist/without-content-CdJw7vHM.js +4 -0
- package/package.json +115 -67
- package/readme.md +41 -57
- package/typings.d.ts +257 -0
- package/dist/colz-746223ab.js +0 -241
- package/dist/components/button/index.js +0 -7
- package/dist/components/icon/index.js +0 -6
- package/dist/components/image/index.js +0 -4
- package/dist/components/input/index.js +0 -5
- package/dist/components/message/index.js +0 -4
- package/dist/components/modal/index.js +0 -4
- package/dist/components/option/index.d.ts +0 -2
- package/dist/components/option/index.js +0 -95
- package/dist/components/player/index.js +0 -11
- package/dist/components/preview/colz.d.ts +0 -72
- package/dist/components/preview/docx.d.ts +0 -8
- package/dist/components/preview/excel/excel.d.ts +0 -2
- package/dist/components/preview/excel/index.d.ts +0 -1
- package/dist/components/preview/excel/media.d.ts +0 -37
- package/dist/components/preview/index.js +0 -8
- package/dist/components/preview/pptx/index.d.ts +0 -16
- package/dist/components/preview/pptx/process_pptx.d.ts +0 -23
- package/dist/components/preview/pptx/t_xml.d.ts +0 -1
- package/dist/components/preview/pptx/worker.d.ts +0 -1
- package/dist/components/progress/index.js +0 -8
- package/dist/components/radar/index.js +0 -7
- package/dist/components/select/index.js +0 -11
- package/dist/components/skeleton/index.js +0 -4
- package/dist/components/tab/index.js +0 -7
- package/dist/components/tabpane/index.js +0 -4
- package/dist/docx-c5d02d8c.js +0 -21
- package/dist/index-183517e7.js +0 -265
- package/dist/index-4d873a42.js +0 -195
- package/dist/index-57492b9b.js +0 -48
- package/dist/index-7b8840f9.js +0 -18690
- package/dist/index-a216f328.js +0 -662
- package/dist/index-d2d69b06.js +0 -225
- package/dist/index-ecaed5cc.js +0 -439
- package/dist/pdf-bdb7818a.js +0 -113
- package/dist/style.css +0 -1
- package/dist/umd/build/config.d.ts +0 -3
- package/dist/umd/build/config.umd.d.ts +0 -2
- package/dist/umd/components/button/index.d.ts +0 -2
- package/dist/umd/components/icon/index.d.ts +0 -2
- package/dist/umd/components/image/index.d.ts +0 -2
- package/dist/umd/components/input/index.d.ts +0 -2
- package/dist/umd/components/message/index.d.ts +0 -14
- package/dist/umd/components/modal/index.d.ts +0 -2
- package/dist/umd/components/option/index.d.ts +0 -2
- package/dist/umd/components/player/index.d.ts +0 -524
- package/dist/umd/components/preview/colz.d.ts +0 -72
- package/dist/umd/components/preview/docx.d.ts +0 -8
- package/dist/umd/components/preview/excel/excel.d.ts +0 -2
- package/dist/umd/components/preview/excel/index.d.ts +0 -1
- package/dist/umd/components/preview/excel/media.d.ts +0 -37
- package/dist/umd/components/preview/index.d.ts +0 -6
- package/dist/umd/components/preview/pdf.d.ts +0 -1
- package/dist/umd/components/preview/pptx/index.d.ts +0 -16
- package/dist/umd/components/preview/pptx/process_pptx.d.ts +0 -23
- package/dist/umd/components/preview/pptx/t_xml.d.ts +0 -1
- package/dist/umd/components/preview/pptx/worker.d.ts +0 -1
- package/dist/umd/components/progress/index.d.ts +0 -36
- package/dist/umd/components/radar/index.d.ts +0 -2
- package/dist/umd/components/skeleton/index.d.ts +0 -2
- package/dist/umd/components/tab/index.d.ts +0 -403
- package/dist/umd/components/tabpane/index.d.ts +0 -347
- package/dist/umd/index.d.ts +0 -14
- package/dist/umd/playwright.config.d.ts +0 -9
- package/dist/umd/plugins/auto-import-file.d.ts +0 -0
- package/dist/umd/plugins/load-style.d.ts +0 -6
- package/dist/umd/plugins/load-svg.d.ts +0 -9
- package/dist/umd/style.css +0 -1
- package/dist/umd/tests/button.spec.d.ts +0 -1
- package/dist/umd/utils/image.d.ts +0 -32
- package/dist/umd/utils/index.d.ts +0 -64
- package/dist/umd/utils/math.d.ts +0 -26
- package/dist/umd/utils/tween.d.ts +0 -21
- package/dist/umd/vite.config.d.ts +0 -6
- package/dist/vendor-f71e6f68.js +0 -92126
- /package/dist/{add-user-b2bed3e7.js → add-user-BN1JlY7e.js} +0 -0
- /package/dist/{book-b11a68eb.js → book-nTEFXU2x.js} +0 -0
- /package/dist/{umd/build/config.es.d.ts → build/config.sha.d.ts} +0 -0
- /package/dist/{check-circle-fill-dc284144.js → check-circle-fill-B_pd8ZSs.js} +0 -0
- /package/dist/{check-circle-74bd09c3.js → check-circle-szyAJiap.js} +0 -0
- /package/dist/{close-20925345.js → close-CFnkhudp.js} +0 -0
- /package/dist/{close-circle-720c18be.js → close-circle-CwmuN2C6.js} +0 -0
- /package/dist/{close-circle-fill-238a66b1.js → close-circle-fill-jSqPPw9i.js} +0 -0
- /package/dist/{eye-5e742329.js → eye-D_mEt17f.js} +0 -0
- /package/dist/{eye-close-3874f1ae.js → eye-close-BVr3NJtg.js} +0 -0
- /package/dist/{home-c4a05e8b.js → home-BUQ4USMk.js} +0 -0
- /package/dist/{index-8e1e2573.js → index-CQTJoWhb.js} +0 -0
- /package/dist/{info-circle-5826decc.js → info-circle-COnL5bTJ.js} +0 -0
- /package/dist/{info-circle-fill-90ec9aa9.js → info-circle-fill-DjI8gXS3.js} +0 -0
- /package/dist/{loading-09ca52df.js → loading-Dcc5RApI.js} +0 -0
- /package/dist/{lock-1d2487c9.js → lock-Cr7BnmWN.js} +0 -0
- /package/dist/{message-b2bfdea7.js → message-D36_Zo2l.js} +0 -0
- /package/dist/{power-off-6ade5a91.js → power-off-lQRbiBak.js} +0 -0
- /package/dist/{preview-b291aea8.js → preview-CJbz9GjO.js} +0 -0
- /package/dist/{setting-1e5ccb6d.js → setting-DemlgzVC.js} +0 -0
- /package/dist/{team-ca6a12e1.js → team-tl4NJXPC.js} +0 -0
- /package/dist/{unlock-f56086fd.js → unlock-CeU74z9n.js} +0 -0
- /package/dist/{user-5c01e665.js → user-B-eVXwuk.js} +0 -0
- /package/dist/{warning-circle-035e025c.js → warning-circle-DDUgEDIv.js} +0 -0
- /package/dist/{warning-circle-fill-d17c37c9.js → warning-circle-fill-lODUKz0i.js} +0 -0
|
@@ -13,20 +13,20 @@ declare const _default: {
|
|
|
13
13
|
active: string | null;
|
|
14
14
|
effect: string | null;
|
|
15
15
|
/**
|
|
16
|
-
* @description: 构建tabPane组件key值和index的映射,同时判断一个tabs下的tabPane key值不能重复
|
|
16
|
+
* @description: 构建 tabPane 组件 key 值和 index 的映射,同时判断一个 tabs 下的 tabPane key 值不能重复
|
|
17
17
|
* @param {string} key
|
|
18
18
|
* @param {number} index
|
|
19
19
|
*/
|
|
20
20
|
initTabHeaderKeyMapIndex: (key: string, index: number) => void;
|
|
21
21
|
/**
|
|
22
|
-
* @description: 根据传入的tabPane生成tabs的头部
|
|
22
|
+
* @description: 根据传入的 tabPane 生成 tabs 的头部
|
|
23
23
|
* @param {Element} tabPane
|
|
24
24
|
* @param {number} index
|
|
25
25
|
* @return {Element}
|
|
26
26
|
*/
|
|
27
27
|
createTabHeader(tabPane: Element, index: number): HTMLElement;
|
|
28
28
|
/**
|
|
29
|
-
* @description: 初始化tabLine的位置,主要是当tabs的align属性为center时需要处理
|
|
29
|
+
* @description: 初始化 tabLine 的位置,主要是当 tabs 的 align 属性为 center 时需要处理
|
|
30
30
|
*/
|
|
31
31
|
initTabLineAlignCenter: () => void;
|
|
32
32
|
/**
|
|
@@ -43,7 +43,7 @@ declare const _default: {
|
|
|
43
43
|
*/
|
|
44
44
|
setTabContent: (key: string) => void;
|
|
45
45
|
/**
|
|
46
|
-
* @description: 根据点击设置tabLine的位置
|
|
46
|
+
* @description: 根据点击设置 tabLine 的位置
|
|
47
47
|
* @param {Event} e
|
|
48
48
|
* @param {number} index
|
|
49
49
|
* @param {number} width
|
|
@@ -56,20 +56,20 @@ declare const _default: {
|
|
|
56
56
|
*/
|
|
57
57
|
updateAttribute: (key: string, attribute: string, value?: string | null) => void;
|
|
58
58
|
/**
|
|
59
|
-
* @description: 初始化tabs的active属性和tabLine,tabContent
|
|
59
|
+
* @description: 初始化 tabs 的 active 属性和 tabLine,tabContent
|
|
60
60
|
*/
|
|
61
61
|
initActive: () => void;
|
|
62
62
|
/**
|
|
63
|
-
* @description: 监听slot组件的添加/删除/替换操作,进行tabs初始化
|
|
63
|
+
* @description: 监听 slot 组件的添加/删除/替换操作,进行 tabs 初始化
|
|
64
64
|
* @return {*}
|
|
65
65
|
*/
|
|
66
66
|
listenSlotChange: () => void;
|
|
67
67
|
/**
|
|
68
|
-
* @description: 初始化tab
|
|
68
|
+
* @description: 初始化 tab
|
|
69
69
|
*/
|
|
70
70
|
initTab: () => void;
|
|
71
71
|
/**
|
|
72
|
-
* @description: 卸载tab
|
|
72
|
+
* @description: 卸载 tab
|
|
73
73
|
*/
|
|
74
74
|
unloadTab: () => void;
|
|
75
75
|
connectedCallback(): void;
|
|
@@ -94,30 +94,40 @@ declare const _default: {
|
|
|
94
94
|
spellcheck: boolean;
|
|
95
95
|
title: string;
|
|
96
96
|
translate: boolean;
|
|
97
|
+
writingSuggestions: string;
|
|
97
98
|
attachInternals(): ElementInternals;
|
|
98
99
|
click(): void;
|
|
99
100
|
hidePopover(): void;
|
|
100
101
|
showPopover(): void;
|
|
101
|
-
togglePopover(
|
|
102
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions
|
|
103
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions
|
|
104
|
-
removeEventListener<
|
|
105
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions
|
|
102
|
+
togglePopover(options?: boolean): boolean;
|
|
103
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
104
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
105
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
106
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
107
|
+
mozRequestFullScreen: (options?: FullscreenOptions) => Promise<void>;
|
|
108
|
+
msRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
109
|
+
oRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
110
|
+
webkitRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
111
|
+
webkitEnterFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
106
112
|
readonly attributes: NamedNodeMap;
|
|
107
|
-
|
|
113
|
+
get classList(): DOMTokenList;
|
|
114
|
+
set classList(value: string);
|
|
108
115
|
className: string;
|
|
109
116
|
readonly clientHeight: number;
|
|
110
117
|
readonly clientLeft: number;
|
|
111
118
|
readonly clientTop: number;
|
|
112
119
|
readonly clientWidth: number;
|
|
120
|
+
readonly currentCSSZoom: number;
|
|
113
121
|
id: string;
|
|
122
|
+
innerHTML: string;
|
|
114
123
|
readonly localName: string;
|
|
115
124
|
readonly namespaceURI: string | null;
|
|
116
125
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
117
126
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
118
127
|
outerHTML: string;
|
|
119
128
|
readonly ownerDocument: Document;
|
|
120
|
-
|
|
129
|
+
get part(): DOMTokenList;
|
|
130
|
+
set part(value: string);
|
|
121
131
|
readonly prefix: string | null;
|
|
122
132
|
readonly scrollHeight: number;
|
|
123
133
|
scrollLeft: number;
|
|
@@ -127,10 +137,10 @@ declare const _default: {
|
|
|
127
137
|
slot: string;
|
|
128
138
|
readonly tagName: string;
|
|
129
139
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
130
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
131
|
-
closest<
|
|
132
|
-
closest<
|
|
133
|
-
closest<
|
|
140
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
141
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
142
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
143
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
134
144
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
135
145
|
computedStyleMap(): StylePropertyMapReadOnly;
|
|
136
146
|
getAttribute(qualifiedName: string): string | null;
|
|
@@ -141,42 +151,44 @@ declare const _default: {
|
|
|
141
151
|
getBoundingClientRect(): DOMRect;
|
|
142
152
|
getClientRects(): DOMRectList;
|
|
143
153
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
144
|
-
getElementsByTagName<
|
|
145
|
-
getElementsByTagName<
|
|
146
|
-
getElementsByTagName<
|
|
147
|
-
getElementsByTagName<
|
|
154
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
155
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
156
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
157
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
148
158
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
149
159
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
150
160
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
151
161
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
152
162
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
163
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
153
164
|
hasAttribute(qualifiedName: string): boolean;
|
|
154
165
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
155
166
|
hasAttributes(): boolean;
|
|
156
167
|
hasPointerCapture(pointerId: number): boolean;
|
|
157
168
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
158
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
169
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
159
170
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
160
171
|
matches(selectors: string): boolean;
|
|
161
172
|
releasePointerCapture(pointerId: number): void;
|
|
162
173
|
removeAttribute(qualifiedName: string): void;
|
|
163
174
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
164
175
|
removeAttributeNode(attr: Attr): Attr;
|
|
165
|
-
requestFullscreen(options?: FullscreenOptions
|
|
166
|
-
requestPointerLock(): void
|
|
167
|
-
scroll(options?: ScrollToOptions
|
|
176
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
177
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
178
|
+
scroll(options?: ScrollToOptions): void;
|
|
168
179
|
scroll(x: number, y: number): void;
|
|
169
|
-
scrollBy(options?: ScrollToOptions
|
|
180
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
170
181
|
scrollBy(x: number, y: number): void;
|
|
171
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
172
|
-
scrollTo(options?: ScrollToOptions
|
|
182
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
183
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
173
184
|
scrollTo(x: number, y: number): void;
|
|
174
185
|
setAttribute(qualifiedName: string, value: string): void;
|
|
175
186
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
176
187
|
setAttributeNode(attr: Attr): Attr | null;
|
|
177
188
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
189
|
+
setHTMLUnsafe(html: string): void;
|
|
178
190
|
setPointerCapture(pointerId: number): void;
|
|
179
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
191
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
180
192
|
webkitMatchesSelector(selectors: string): boolean;
|
|
181
193
|
readonly baseURI: string;
|
|
182
194
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
@@ -192,20 +204,20 @@ declare const _default: {
|
|
|
192
204
|
readonly previousSibling: ChildNode | null;
|
|
193
205
|
textContent: string | null;
|
|
194
206
|
appendChild<T extends Node>(node: T): T;
|
|
195
|
-
cloneNode(
|
|
207
|
+
cloneNode(subtree?: boolean): Node;
|
|
196
208
|
compareDocumentPosition(other: Node): number;
|
|
197
209
|
contains(other: Node | null): boolean;
|
|
198
|
-
getRootNode(options?: GetRootNodeOptions
|
|
210
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
199
211
|
hasChildNodes(): boolean;
|
|
200
|
-
insertBefore<
|
|
212
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
201
213
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
202
214
|
isEqualNode(otherNode: Node | null): boolean;
|
|
203
215
|
isSameNode(otherNode: Node | null): boolean;
|
|
204
216
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
205
217
|
lookupPrefix(namespace: string | null): string | null;
|
|
206
218
|
normalize(): void;
|
|
207
|
-
removeChild<
|
|
208
|
-
replaceChild<
|
|
219
|
+
removeChild<T extends Node>(child: T): T;
|
|
220
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
209
221
|
readonly ELEMENT_NODE: 1;
|
|
210
222
|
readonly ATTRIBUTE_NODE: 2;
|
|
211
223
|
readonly TEXT_NODE: 3;
|
|
@@ -227,12 +239,16 @@ declare const _default: {
|
|
|
227
239
|
dispatchEvent(event: Event): boolean;
|
|
228
240
|
ariaAtomic: string | null;
|
|
229
241
|
ariaAutoComplete: string | null;
|
|
242
|
+
ariaBrailleLabel: string | null;
|
|
243
|
+
ariaBrailleRoleDescription: string | null;
|
|
230
244
|
ariaBusy: string | null;
|
|
231
245
|
ariaChecked: string | null;
|
|
232
246
|
ariaColCount: string | null;
|
|
233
247
|
ariaColIndex: string | null;
|
|
248
|
+
ariaColIndexText: string | null;
|
|
234
249
|
ariaColSpan: string | null;
|
|
235
250
|
ariaCurrent: string | null;
|
|
251
|
+
ariaDescription: string | null;
|
|
236
252
|
ariaDisabled: string | null;
|
|
237
253
|
ariaExpanded: string | null;
|
|
238
254
|
ariaHasPopup: string | null;
|
|
@@ -250,10 +266,12 @@ declare const _default: {
|
|
|
250
266
|
ariaPosInSet: string | null;
|
|
251
267
|
ariaPressed: string | null;
|
|
252
268
|
ariaReadOnly: string | null;
|
|
269
|
+
ariaRelevant: string | null;
|
|
253
270
|
ariaRequired: string | null;
|
|
254
271
|
ariaRoleDescription: string | null;
|
|
255
272
|
ariaRowCount: string | null;
|
|
256
273
|
ariaRowIndex: string | null;
|
|
274
|
+
ariaRowIndexText: string | null;
|
|
257
275
|
ariaRowSpan: string | null;
|
|
258
276
|
ariaSelected: string | null;
|
|
259
277
|
ariaSetSize: string | null;
|
|
@@ -263,35 +281,35 @@ declare const _default: {
|
|
|
263
281
|
ariaValueNow: string | null;
|
|
264
282
|
ariaValueText: string | null;
|
|
265
283
|
role: string | null;
|
|
266
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
267
|
-
getAnimations(options?: GetAnimationsOptions
|
|
268
|
-
after(...nodes: (
|
|
269
|
-
before(...nodes: (
|
|
284
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
285
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
286
|
+
after(...nodes: (Node | string)[]): void;
|
|
287
|
+
before(...nodes: (Node | string)[]): void;
|
|
270
288
|
remove(): void;
|
|
271
|
-
replaceWith(...nodes: (
|
|
272
|
-
innerHTML: string;
|
|
289
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
273
290
|
readonly nextElementSibling: Element | null;
|
|
274
291
|
readonly previousElementSibling: Element | null;
|
|
275
292
|
readonly childElementCount: number;
|
|
276
293
|
readonly children: HTMLCollection;
|
|
277
294
|
readonly firstElementChild: Element | null;
|
|
278
295
|
readonly lastElementChild: Element | null;
|
|
279
|
-
append(...nodes: (
|
|
280
|
-
prepend(...nodes: (
|
|
281
|
-
querySelector<
|
|
282
|
-
querySelector<
|
|
283
|
-
querySelector<
|
|
284
|
-
querySelector<
|
|
285
|
-
querySelector<
|
|
286
|
-
querySelectorAll<
|
|
287
|
-
querySelectorAll<
|
|
288
|
-
querySelectorAll<
|
|
289
|
-
querySelectorAll<
|
|
290
|
-
querySelectorAll<
|
|
291
|
-
replaceChildren(...nodes: (
|
|
296
|
+
append(...nodes: (Node | string)[]): void;
|
|
297
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
298
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
299
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
300
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
301
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
302
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
303
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
304
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
305
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
306
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
307
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
308
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
292
309
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
293
310
|
readonly attributeStyleMap: StylePropertyMap;
|
|
294
|
-
|
|
311
|
+
get style(): CSSStyleDeclaration;
|
|
312
|
+
set style(cssText: string);
|
|
295
313
|
contentEditable: string;
|
|
296
314
|
enterKeyHint: string;
|
|
297
315
|
inputMode: string;
|
|
@@ -303,6 +321,7 @@ declare const _default: {
|
|
|
303
321
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
304
322
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
305
323
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
324
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
306
325
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
307
326
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
327
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -310,7 +329,9 @@ declare const _default: {
|
|
|
310
329
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
311
330
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
312
331
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
313
333
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
334
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
314
335
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
315
336
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
337
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -358,7 +379,7 @@ declare const _default: {
|
|
|
358
379
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
359
380
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
360
381
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
361
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
382
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
362
383
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
363
384
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
364
385
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
@@ -393,10 +414,10 @@ declare const _default: {
|
|
|
393
414
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
394
415
|
autofocus: boolean;
|
|
395
416
|
readonly dataset: DOMStringMap;
|
|
396
|
-
nonce?: string
|
|
417
|
+
nonce?: string;
|
|
397
418
|
tabIndex: number;
|
|
398
419
|
blur(): void;
|
|
399
|
-
focus(options?: FocusOptions
|
|
420
|
+
focus(options?: FocusOptions): void;
|
|
400
421
|
};
|
|
401
422
|
readonly observedAttributes: string[];
|
|
402
423
|
} | undefined;
|
|
@@ -4,7 +4,7 @@ interface ExtendParentNode {
|
|
|
4
4
|
declare const _default: {
|
|
5
5
|
new (): {
|
|
6
6
|
_div: HTMLElement;
|
|
7
|
-
parent: (ParentNode & ExtendParentNode) |
|
|
7
|
+
parent: (ParentNode & ExtendParentNode) | undefined | null;
|
|
8
8
|
label: string;
|
|
9
9
|
icon: string | null;
|
|
10
10
|
iconSize: string | null;
|
|
@@ -38,30 +38,40 @@ declare const _default: {
|
|
|
38
38
|
spellcheck: boolean;
|
|
39
39
|
title: string;
|
|
40
40
|
translate: boolean;
|
|
41
|
+
writingSuggestions: string;
|
|
41
42
|
attachInternals(): ElementInternals;
|
|
42
43
|
click(): void;
|
|
43
44
|
hidePopover(): void;
|
|
44
45
|
showPopover(): void;
|
|
45
|
-
togglePopover(
|
|
46
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions
|
|
47
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions
|
|
48
|
-
removeEventListener<
|
|
49
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions
|
|
46
|
+
togglePopover(options?: boolean): boolean;
|
|
47
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
48
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
49
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
50
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
51
|
+
mozRequestFullScreen: (options?: FullscreenOptions) => Promise<void>;
|
|
52
|
+
msRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
53
|
+
oRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
54
|
+
webkitRequestFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
55
|
+
webkitEnterFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
50
56
|
readonly attributes: NamedNodeMap;
|
|
51
|
-
|
|
57
|
+
get classList(): DOMTokenList;
|
|
58
|
+
set classList(value: string);
|
|
52
59
|
className: string;
|
|
53
60
|
readonly clientHeight: number;
|
|
54
61
|
readonly clientLeft: number;
|
|
55
62
|
readonly clientTop: number;
|
|
56
63
|
readonly clientWidth: number;
|
|
64
|
+
readonly currentCSSZoom: number;
|
|
57
65
|
id: string;
|
|
66
|
+
innerHTML: string;
|
|
58
67
|
readonly localName: string;
|
|
59
68
|
readonly namespaceURI: string | null;
|
|
60
69
|
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
61
70
|
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
62
71
|
outerHTML: string;
|
|
63
72
|
readonly ownerDocument: Document;
|
|
64
|
-
|
|
73
|
+
get part(): DOMTokenList;
|
|
74
|
+
set part(value: string);
|
|
65
75
|
readonly prefix: string | null;
|
|
66
76
|
readonly scrollHeight: number;
|
|
67
77
|
scrollLeft: number;
|
|
@@ -71,10 +81,10 @@ declare const _default: {
|
|
|
71
81
|
slot: string;
|
|
72
82
|
readonly tagName: string;
|
|
73
83
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
74
|
-
checkVisibility(options?: CheckVisibilityOptions
|
|
75
|
-
closest<
|
|
76
|
-
closest<
|
|
77
|
-
closest<
|
|
84
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
85
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
86
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
87
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
78
88
|
closest<E extends Element = Element>(selectors: string): E | null;
|
|
79
89
|
computedStyleMap(): StylePropertyMapReadOnly;
|
|
80
90
|
getAttribute(qualifiedName: string): string | null;
|
|
@@ -85,42 +95,44 @@ declare const _default: {
|
|
|
85
95
|
getBoundingClientRect(): DOMRect;
|
|
86
96
|
getClientRects(): DOMRectList;
|
|
87
97
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
88
|
-
getElementsByTagName<
|
|
89
|
-
getElementsByTagName<
|
|
90
|
-
getElementsByTagName<
|
|
91
|
-
getElementsByTagName<
|
|
98
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
99
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
100
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
101
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
92
102
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
93
103
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
94
104
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
95
105
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
96
106
|
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
107
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
97
108
|
hasAttribute(qualifiedName: string): boolean;
|
|
98
109
|
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
99
110
|
hasAttributes(): boolean;
|
|
100
111
|
hasPointerCapture(pointerId: number): boolean;
|
|
101
112
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
102
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
113
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
103
114
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
104
115
|
matches(selectors: string): boolean;
|
|
105
116
|
releasePointerCapture(pointerId: number): void;
|
|
106
117
|
removeAttribute(qualifiedName: string): void;
|
|
107
118
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
108
119
|
removeAttributeNode(attr: Attr): Attr;
|
|
109
|
-
requestFullscreen(options?: FullscreenOptions
|
|
110
|
-
requestPointerLock(): void
|
|
111
|
-
scroll(options?: ScrollToOptions
|
|
120
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
121
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
122
|
+
scroll(options?: ScrollToOptions): void;
|
|
112
123
|
scroll(x: number, y: number): void;
|
|
113
|
-
scrollBy(options?: ScrollToOptions
|
|
124
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
114
125
|
scrollBy(x: number, y: number): void;
|
|
115
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions
|
|
116
|
-
scrollTo(options?: ScrollToOptions
|
|
126
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
127
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
117
128
|
scrollTo(x: number, y: number): void;
|
|
118
129
|
setAttribute(qualifiedName: string, value: string): void;
|
|
119
130
|
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
120
131
|
setAttributeNode(attr: Attr): Attr | null;
|
|
121
132
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
133
|
+
setHTMLUnsafe(html: string): void;
|
|
122
134
|
setPointerCapture(pointerId: number): void;
|
|
123
|
-
toggleAttribute(qualifiedName: string, force?: boolean
|
|
135
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
124
136
|
webkitMatchesSelector(selectors: string): boolean;
|
|
125
137
|
readonly baseURI: string;
|
|
126
138
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
@@ -136,20 +148,20 @@ declare const _default: {
|
|
|
136
148
|
readonly previousSibling: ChildNode | null;
|
|
137
149
|
textContent: string | null;
|
|
138
150
|
appendChild<T extends Node>(node: T): T;
|
|
139
|
-
cloneNode(
|
|
151
|
+
cloneNode(subtree?: boolean): Node;
|
|
140
152
|
compareDocumentPosition(other: Node): number;
|
|
141
153
|
contains(other: Node | null): boolean;
|
|
142
|
-
getRootNode(options?: GetRootNodeOptions
|
|
154
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
143
155
|
hasChildNodes(): boolean;
|
|
144
|
-
insertBefore<
|
|
156
|
+
insertBefore<T extends Node>(node: T, child: Node | null): T;
|
|
145
157
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
146
158
|
isEqualNode(otherNode: Node | null): boolean;
|
|
147
159
|
isSameNode(otherNode: Node | null): boolean;
|
|
148
160
|
lookupNamespaceURI(prefix: string | null): string | null;
|
|
149
161
|
lookupPrefix(namespace: string | null): string | null;
|
|
150
162
|
normalize(): void;
|
|
151
|
-
removeChild<
|
|
152
|
-
replaceChild<
|
|
163
|
+
removeChild<T extends Node>(child: T): T;
|
|
164
|
+
replaceChild<T extends Node>(node: Node, child: T): T;
|
|
153
165
|
readonly ELEMENT_NODE: 1;
|
|
154
166
|
readonly ATTRIBUTE_NODE: 2;
|
|
155
167
|
readonly TEXT_NODE: 3;
|
|
@@ -171,12 +183,16 @@ declare const _default: {
|
|
|
171
183
|
dispatchEvent(event: Event): boolean;
|
|
172
184
|
ariaAtomic: string | null;
|
|
173
185
|
ariaAutoComplete: string | null;
|
|
186
|
+
ariaBrailleLabel: string | null;
|
|
187
|
+
ariaBrailleRoleDescription: string | null;
|
|
174
188
|
ariaBusy: string | null;
|
|
175
189
|
ariaChecked: string | null;
|
|
176
190
|
ariaColCount: string | null;
|
|
177
191
|
ariaColIndex: string | null;
|
|
192
|
+
ariaColIndexText: string | null;
|
|
178
193
|
ariaColSpan: string | null;
|
|
179
194
|
ariaCurrent: string | null;
|
|
195
|
+
ariaDescription: string | null;
|
|
180
196
|
ariaDisabled: string | null;
|
|
181
197
|
ariaExpanded: string | null;
|
|
182
198
|
ariaHasPopup: string | null;
|
|
@@ -194,10 +210,12 @@ declare const _default: {
|
|
|
194
210
|
ariaPosInSet: string | null;
|
|
195
211
|
ariaPressed: string | null;
|
|
196
212
|
ariaReadOnly: string | null;
|
|
213
|
+
ariaRelevant: string | null;
|
|
197
214
|
ariaRequired: string | null;
|
|
198
215
|
ariaRoleDescription: string | null;
|
|
199
216
|
ariaRowCount: string | null;
|
|
200
217
|
ariaRowIndex: string | null;
|
|
218
|
+
ariaRowIndexText: string | null;
|
|
201
219
|
ariaRowSpan: string | null;
|
|
202
220
|
ariaSelected: string | null;
|
|
203
221
|
ariaSetSize: string | null;
|
|
@@ -207,35 +225,35 @@ declare const _default: {
|
|
|
207
225
|
ariaValueNow: string | null;
|
|
208
226
|
ariaValueText: string | null;
|
|
209
227
|
role: string | null;
|
|
210
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions
|
|
211
|
-
getAnimations(options?: GetAnimationsOptions
|
|
212
|
-
after(...nodes: (
|
|
213
|
-
before(...nodes: (
|
|
228
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
229
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
230
|
+
after(...nodes: (Node | string)[]): void;
|
|
231
|
+
before(...nodes: (Node | string)[]): void;
|
|
214
232
|
remove(): void;
|
|
215
|
-
replaceWith(...nodes: (
|
|
216
|
-
innerHTML: string;
|
|
233
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
217
234
|
readonly nextElementSibling: Element | null;
|
|
218
235
|
readonly previousElementSibling: Element | null;
|
|
219
236
|
readonly childElementCount: number;
|
|
220
237
|
readonly children: HTMLCollection;
|
|
221
238
|
readonly firstElementChild: Element | null;
|
|
222
239
|
readonly lastElementChild: Element | null;
|
|
223
|
-
append(...nodes: (
|
|
224
|
-
prepend(...nodes: (
|
|
225
|
-
querySelector<
|
|
226
|
-
querySelector<
|
|
227
|
-
querySelector<
|
|
228
|
-
querySelector<
|
|
229
|
-
querySelector<
|
|
230
|
-
querySelectorAll<
|
|
231
|
-
querySelectorAll<
|
|
232
|
-
querySelectorAll<
|
|
233
|
-
querySelectorAll<
|
|
234
|
-
querySelectorAll<
|
|
235
|
-
replaceChildren(...nodes: (
|
|
240
|
+
append(...nodes: (Node | string)[]): void;
|
|
241
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
242
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
243
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
244
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
245
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
246
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
247
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
248
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
249
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
250
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
251
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
252
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
236
253
|
readonly assignedSlot: HTMLSlotElement | null;
|
|
237
254
|
readonly attributeStyleMap: StylePropertyMap;
|
|
238
|
-
|
|
255
|
+
get style(): CSSStyleDeclaration;
|
|
256
|
+
set style(cssText: string);
|
|
239
257
|
contentEditable: string;
|
|
240
258
|
enterKeyHint: string;
|
|
241
259
|
inputMode: string;
|
|
@@ -247,6 +265,7 @@ declare const _default: {
|
|
|
247
265
|
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
248
266
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
249
267
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
268
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
250
269
|
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
251
270
|
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
252
271
|
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
@@ -254,7 +273,9 @@ declare const _default: {
|
|
|
254
273
|
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
255
274
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
256
275
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
257
277
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
278
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
258
279
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
259
280
|
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
260
281
|
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -302,7 +323,7 @@ declare const _default: {
|
|
|
302
323
|
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
303
324
|
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
304
325
|
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
305
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent
|
|
326
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
306
327
|
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
307
328
|
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
308
329
|
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
@@ -337,10 +358,10 @@ declare const _default: {
|
|
|
337
358
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
338
359
|
autofocus: boolean;
|
|
339
360
|
readonly dataset: DOMStringMap;
|
|
340
|
-
nonce?: string
|
|
361
|
+
nonce?: string;
|
|
341
362
|
tabIndex: number;
|
|
342
363
|
blur(): void;
|
|
343
|
-
focus(options?: FocusOptions
|
|
364
|
+
focus(options?: FocusOptions): void;
|
|
344
365
|
};
|
|
345
366
|
readonly observedAttributes: string[];
|
|
346
367
|
} | undefined;
|
package/dist/icon.js
ADDED
package/dist/image.js
ADDED