ranui 0.1.8 → 0.1.10-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_commonjs-dynamic-modules-DLbDWi6a.js +12 -0
- package/dist/arrow-down-C9jBUUt3.js +30 -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 +13 -0
- package/dist/{colz-746223ab.js → colz-CRDozfZA.js} +1 -5
- package/dist/components/button/index.d.ts +38 -1
- package/dist/components/checkbox/index.d.ts +27 -0
- package/dist/components/colorpicker/index.d.ts +122 -0
- package/dist/components/content/index.d.ts +15 -0
- package/dist/components/input/index.d.ts +208 -1
- package/dist/components/message/index.d.ts +2 -0
- package/dist/components/option/index.d.ts +2 -1
- package/dist/components/player/index.d.ts +207 -493
- package/dist/components/popover/index.d.ts +39 -0
- package/dist/components/preview/docx.d.ts +1 -1
- package/dist/components/preview/index.d.ts +2 -0
- package/dist/components/preview/pptx/process_pptx.d.ts +1 -1
- package/dist/components/progress/index.d.ts +11 -5
- package/dist/components/radar/index.d.ts +1 -1
- package/dist/components/scratch/index.d.ts +23 -0
- package/dist/components/select/index.d.ts +18 -6
- package/dist/components/tab/index.d.ts +5 -0
- package/dist/components/tabpane/index.d.ts +5 -0
- package/dist/content.js +6 -0
- package/dist/docx-ajDUtnbM.js +3665 -0
- package/dist/global-DOfcrQ2N.js +4 -0
- package/dist/icon.js +6 -0
- package/dist/iconShadowless.js +6 -0
- package/dist/image.js +4 -0
- package/dist/index-0fvHQjmN.js +298 -0
- package/dist/{index-f6d6982d.js → index-BLepXisd.js} +101 -84
- package/dist/{index-b2be6bef.js → index-BOoNI-Al.js} +904 -1078
- package/dist/index-BPBRPxND.js +195 -0
- package/dist/{index-b90299ca.js → index-BpOERe9M.js} +1 -1
- package/dist/index-Bv6Z6rIe.js +498 -0
- package/dist/index-ByJ7zZdQ.js +65641 -0
- package/dist/{index-5975bbc0.js → index-C1x9Popy.js} +1 -1
- package/dist/index-CCNK5H8T.js +103 -0
- package/dist/{index-a1a53af6.js → index-CD09p_mF.js} +7 -31
- package/dist/index-CFnsLnrb.js +496 -0
- package/dist/{index-a43b144f.js → index-CJZp9lE4.js} +29 -50
- package/dist/{index-57492b9b.js → index-CSnBqUsQ.js} +48 -1
- package/dist/index-CWWI8SHO.js +206 -0
- package/dist/{index-7b8840f9.js → index-CZlEoE62.js} +220 -1010
- package/dist/index-CbyMC6Yz.js +59 -0
- package/dist/index-CiBVH-oH.js +258 -0
- package/dist/{index-0e7229ea.js → index-DUMmFdJ7.js} +9 -21
- package/dist/{index-aea75a9f.js → index-Du-Biu-I.js} +1 -1
- package/dist/index-EnzWG8R0.js +521 -0
- package/dist/index-F2RO3OU4.js +501 -0
- package/dist/{index-7f513a14.js → index-GavQwMDL.js} +11 -29
- package/dist/{index-48653b79.js → index-suip9eAw.js} +2 -2
- package/dist/index.d.ts +18 -14
- package/dist/index.js +23 -19
- package/dist/info-circle-fill-CFeVMdci.js +4 -0
- package/dist/input.js +6 -0
- package/dist/inputShadowless.js +6 -0
- package/dist/jszip.min-Ca6PjkYs.js +2674 -0
- package/dist/message.js +5 -0
- package/dist/modal.js +4 -0
- package/dist/{components/option/index.js → option.js} +3 -6
- package/dist/{pdf-bdb7818a.js → pdf-B2a6ll8f.js} +1 -1
- package/dist/player.js +8 -0
- package/dist/popover.js +6 -0
- package/dist/preview.js +7 -0
- package/dist/progress.js +7 -0
- package/dist/radar.js +6 -0
- package/dist/select.js +10 -0
- package/dist/selectShadowless.js +10 -0
- package/dist/{umd/components/image → 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 +19 -11
- package/dist/shadowless/shadowless/index.js +14 -0
- package/dist/shadowless.d.ts +3 -0
- package/dist/skeleton.js +4 -0
- package/dist/sprite-CH2zLtZy.js +141 -0
- package/dist/style.css +1 -1
- package/dist/tab.js +6 -0
- package/dist/tabpane.js +4 -0
- package/dist/tsconfig.json +29 -0
- package/dist/umd/index.umd.cjs +21 -32
- package/dist/umd/shadowless/shadowless.umd.cjs +1 -0
- package/dist/umd/shadowless/style.css +1 -0
- package/dist/umd/style.css +1 -1
- package/dist/utils/color.d.ts +52 -0
- package/dist/utils/index.d.ts +9 -1
- package/dist/utils-BMBEcoPj.js +356 -0
- package/dist/vite.config.d.ts +1 -0
- package/package.json +61 -39
- package/readme.md +14 -14
- package/typings.d.ts +101 -0
- 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/player/index.js +0 -11
- package/dist/components/preview/index.js +0 -8
- 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-a216f328.js +0 -662
- package/dist/index-d2d69b06.js +0 -225
- package/dist/index-ecaed5cc.js +0 -439
- package/dist/info-circle-fill-90ec9aa9.js +0 -14
- 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/form/index.d.ts +0 -2
- package/dist/umd/components/icon/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/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/{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
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const message: {
|
|
2
|
-
info: (options: Ran.Prompt | string | undefined | null) => void;
|
|
3
|
-
success: (options: Ran.Prompt | string | undefined | null) => void;
|
|
4
|
-
error: (options: Ran.Prompt | string | undefined | null) => void;
|
|
5
|
-
warning: (options: Ran.Prompt | string | undefined | null) => void;
|
|
6
|
-
toast: (options: Ran.Prompt | string | undefined | null) => void;
|
|
7
|
-
} | {
|
|
8
|
-
info?: undefined;
|
|
9
|
-
success?: undefined;
|
|
10
|
-
error?: undefined;
|
|
11
|
-
warning?: undefined;
|
|
12
|
-
toast?: undefined;
|
|
13
|
-
};
|
|
14
|
-
export default message;
|
|
@@ -1,524 +0,0 @@
|
|
|
1
|
-
import { SyncHook } from 'ranuts';
|
|
2
|
-
import type { Progress } from '../progress';
|
|
3
|
-
export interface HlsPlayer {
|
|
4
|
-
startLoad(): () => void;
|
|
5
|
-
off: (s: string, f: Function) => void;
|
|
6
|
-
on: (s: string, f: Function) => void;
|
|
7
|
-
loadSource: (s: string) => void;
|
|
8
|
-
attachMedia: (v: HTMLVideoElement) => void;
|
|
9
|
-
destroy: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface Level {
|
|
12
|
-
audioCodec: string;
|
|
13
|
-
bitrate: number;
|
|
14
|
-
height: number;
|
|
15
|
-
width: number;
|
|
16
|
-
name: string;
|
|
17
|
-
url: string;
|
|
18
|
-
videoCodec: string;
|
|
19
|
-
}
|
|
20
|
-
export interface Context {
|
|
21
|
-
action: SyncHook;
|
|
22
|
-
currentState: string;
|
|
23
|
-
duration: number;
|
|
24
|
-
currentTime: number;
|
|
25
|
-
volume: number;
|
|
26
|
-
playbackRate: number;
|
|
27
|
-
fullScreen: boolean;
|
|
28
|
-
levels: Partial<Level>[];
|
|
29
|
-
url: string;
|
|
30
|
-
levelMap: Map<string, string>;
|
|
31
|
-
clarity: string;
|
|
32
|
-
}
|
|
33
|
-
declare const _default: {
|
|
34
|
-
new (): {
|
|
35
|
-
ctx: Context;
|
|
36
|
-
_player: HTMLDivElement;
|
|
37
|
-
_container: HTMLDivElement;
|
|
38
|
-
_slot: HTMLSlotElement;
|
|
39
|
-
_playerController: HTMLDivElement;
|
|
40
|
-
_playerBtn: HTMLDivElement;
|
|
41
|
-
_progress: HTMLDivElement;
|
|
42
|
-
_progressDot: HTMLDivElement;
|
|
43
|
-
_progressWrap: HTMLDivElement;
|
|
44
|
-
_progressWrapValue: HTMLDivElement;
|
|
45
|
-
requestAnimationFrameId?: number | undefined;
|
|
46
|
-
moveProgress: {
|
|
47
|
-
percentage: number;
|
|
48
|
-
mouseDown: boolean;
|
|
49
|
-
};
|
|
50
|
-
_playerControllerBottom: HTMLDivElement;
|
|
51
|
-
_playerControllerBottomRight: HTMLDivElement;
|
|
52
|
-
_playerControllerBottomLeft: HTMLDivElement;
|
|
53
|
-
_playerControllerBottomPlayBtn: HTMLDivElement;
|
|
54
|
-
_playerControllerBottomTimeCurrent: HTMLDivElement;
|
|
55
|
-
_playerControllerBottomTimeDuration: HTMLDivElement;
|
|
56
|
-
_playerControllerBottomTimeDivide: HTMLDivElement;
|
|
57
|
-
_playControllerBottomClarity: HTMLElement;
|
|
58
|
-
_playControllerBottomSpeed: HTMLDivElement;
|
|
59
|
-
_playControllerBottomSpeedIcon: HTMLDivElement;
|
|
60
|
-
_playControllerBottomVolumeProgress: Progress;
|
|
61
|
-
_playControllerBottomRightFullScreen: HTMLDivElement;
|
|
62
|
-
_playControllerBottomVolume: HTMLDivElement;
|
|
63
|
-
_playControllerBottomSpeedPopover: HTMLElement;
|
|
64
|
-
controllerBarTimeId?: NodeJS.Timeout | undefined;
|
|
65
|
-
_playerTip: HTMLDivElement;
|
|
66
|
-
_playerTipTime: HTMLDivElement;
|
|
67
|
-
_playerTipText: HTMLDivElement;
|
|
68
|
-
_volume?: number | undefined;
|
|
69
|
-
_video?: HTMLVideoElement | undefined;
|
|
70
|
-
_hls?: HlsPlayer | undefined;
|
|
71
|
-
src: string;
|
|
72
|
-
volume: string;
|
|
73
|
-
currentTime: string;
|
|
74
|
-
playbackRate: string;
|
|
75
|
-
changeClarityToSetVideo: () => void;
|
|
76
|
-
changeClarity: (e: Event) => void;
|
|
77
|
-
createClaritySelect: () => void;
|
|
78
|
-
manifestLoaded: (type: string, data: {
|
|
79
|
-
levels: Level[];
|
|
80
|
-
url: string;
|
|
81
|
-
}) => void;
|
|
82
|
-
/**
|
|
83
|
-
* @description: 初始化 video 和更新 video 方法
|
|
84
|
-
* @return {*}
|
|
85
|
-
*/
|
|
86
|
-
updatePlayer: () => void;
|
|
87
|
-
change: (name: string, value: unknown) => void;
|
|
88
|
-
onCanplay: (e: Event) => void;
|
|
89
|
-
onCanplaythrough: (e: Event) => void;
|
|
90
|
-
onComplete: (e: Event) => void;
|
|
91
|
-
onDurationchange: (e: Event) => void;
|
|
92
|
-
onEmptied: (e: Event) => void;
|
|
93
|
-
onEnded: (e: Event) => void;
|
|
94
|
-
onError: (e: Event) => void;
|
|
95
|
-
onLoadedmetadata: (e: Event) => void;
|
|
96
|
-
onLoadstart: (e: Event) => void;
|
|
97
|
-
onProgress: (e: Event) => void;
|
|
98
|
-
onRatechange: (e: Event) => void;
|
|
99
|
-
onSeeked: (e: Event) => void;
|
|
100
|
-
onSeeking: (e: Event) => void;
|
|
101
|
-
onStalled: (e: Event) => void;
|
|
102
|
-
onSuspend: (e: Event) => void;
|
|
103
|
-
onLoadeddata: (e: Event) => void;
|
|
104
|
-
onTimeupdate: (e: Event) => void;
|
|
105
|
-
onVolumechange: (e: Event) => void;
|
|
106
|
-
onWaiting: (e: Event) => void;
|
|
107
|
-
onPlay: (e: Event) => void;
|
|
108
|
-
onPlaying: (e: Event) => void;
|
|
109
|
-
onPause: (e: Event) => void;
|
|
110
|
-
clearListenerEvent: () => void;
|
|
111
|
-
/**
|
|
112
|
-
* @description: 用户行为和 video 之间的交互
|
|
113
|
-
* @return {*}
|
|
114
|
-
*/
|
|
115
|
-
listenEvent: () => void;
|
|
116
|
-
showControllerBar: (e?: MouseEvent | undefined) => void;
|
|
117
|
-
/**
|
|
118
|
-
* @description: 进度条点击事件
|
|
119
|
-
* @param {MouseEvent} e
|
|
120
|
-
* @return {*}
|
|
121
|
-
*/
|
|
122
|
-
progressClick: (e: MouseEvent) => void;
|
|
123
|
-
/**
|
|
124
|
-
* @description: 进度条鼠标按下事件
|
|
125
|
-
* @param {MouseEvent} e
|
|
126
|
-
* @return {*}
|
|
127
|
-
*/
|
|
128
|
-
progressDotMouseDown: (e: MouseEvent) => void;
|
|
129
|
-
/**
|
|
130
|
-
* @description: 进度条鼠标移动事件
|
|
131
|
-
* @param {MouseEvent} e
|
|
132
|
-
* @return {*}
|
|
133
|
-
*/
|
|
134
|
-
progressDotMouseMove: (e: MouseEvent) => void;
|
|
135
|
-
/**
|
|
136
|
-
* @description: 进度条鼠标松开事件
|
|
137
|
-
* @param {MouseEvent} e
|
|
138
|
-
* @return {*}
|
|
139
|
-
*/
|
|
140
|
-
progressDotMouseUp: () => void;
|
|
141
|
-
/**
|
|
142
|
-
* @description: 更新页面样式
|
|
143
|
-
* @param {Function} fn
|
|
144
|
-
* @return {*}
|
|
145
|
-
*/
|
|
146
|
-
requestAnimationFrame: (fn: Function) => void;
|
|
147
|
-
/**
|
|
148
|
-
* @description: 取消页面动画
|
|
149
|
-
* @param {Function} fn
|
|
150
|
-
* @return {*}
|
|
151
|
-
*/
|
|
152
|
-
cancelAnimationFrame: () => void;
|
|
153
|
-
/**
|
|
154
|
-
* @description: 更新进度条
|
|
155
|
-
* @param {*} void
|
|
156
|
-
* @return {*}
|
|
157
|
-
*/
|
|
158
|
-
updateCurrentProgress: () => void;
|
|
159
|
-
changeAttribute: (k: string, o: string, n: string, attribute: string, callback: Function) => void;
|
|
160
|
-
/**
|
|
161
|
-
* @description: 点击整个视频时,触发的事件
|
|
162
|
-
* @param {*} void
|
|
163
|
-
* @return {*}
|
|
164
|
-
*/
|
|
165
|
-
dispatchClickPlayerContainerAction: (e: Event) => void;
|
|
166
|
-
/**
|
|
167
|
-
* @description: 空格事件
|
|
168
|
-
* @param {KeyboardEvent} e
|
|
169
|
-
* @return {*}
|
|
170
|
-
*/
|
|
171
|
-
SpaceKeyDown: (e: KeyboardEvent) => void;
|
|
172
|
-
/**
|
|
173
|
-
* @description: 点击player-btn,触发的事件
|
|
174
|
-
* @param {*} void
|
|
175
|
-
* @return {*}
|
|
176
|
-
*/
|
|
177
|
-
dispatchClickPlayerBtnAction: (e: Event) => void;
|
|
178
|
-
changeVolumeProgress: (e: Event) => void;
|
|
179
|
-
openFullScreen: () => void;
|
|
180
|
-
changeSpeed: (e: Event) => void;
|
|
181
|
-
progressMouseEnter: (e: MouseEvent) => void;
|
|
182
|
-
progressMouseLeave: (e: MouseEvent) => void;
|
|
183
|
-
progressMouseMove: (e: MouseEvent) => void;
|
|
184
|
-
changePlayerVolume: () => void;
|
|
185
|
-
resize: () => void;
|
|
186
|
-
fullScreenChange: () => void;
|
|
187
|
-
getPlaybackRate: () => number;
|
|
188
|
-
setPlaybackRate: (n: number) => number;
|
|
189
|
-
setVolume: (n: number) => number;
|
|
190
|
-
getVolume: () => number;
|
|
191
|
-
setCurrentTime: (n: number) => number;
|
|
192
|
-
getCurrentTime: () => number;
|
|
193
|
-
getTotalTime: () => number;
|
|
194
|
-
play: (n?: number | undefined) => void;
|
|
195
|
-
pause: () => void;
|
|
196
|
-
connectedCallback(): void;
|
|
197
|
-
disconnectCallback(): void;
|
|
198
|
-
attributeChangedCallback(k: string, o: string, n: string): void;
|
|
199
|
-
accessKey: string;
|
|
200
|
-
readonly accessKeyLabel: string;
|
|
201
|
-
autocapitalize: string;
|
|
202
|
-
dir: string;
|
|
203
|
-
draggable: boolean;
|
|
204
|
-
hidden: boolean;
|
|
205
|
-
inert: boolean;
|
|
206
|
-
innerText: string;
|
|
207
|
-
lang: string;
|
|
208
|
-
readonly offsetHeight: number;
|
|
209
|
-
readonly offsetLeft: number;
|
|
210
|
-
readonly offsetParent: Element | null;
|
|
211
|
-
readonly offsetTop: number;
|
|
212
|
-
readonly offsetWidth: number;
|
|
213
|
-
outerText: string;
|
|
214
|
-
popover: string | null;
|
|
215
|
-
spellcheck: boolean;
|
|
216
|
-
title: string;
|
|
217
|
-
translate: boolean;
|
|
218
|
-
attachInternals(): ElementInternals;
|
|
219
|
-
click(): void;
|
|
220
|
-
hidePopover(): void;
|
|
221
|
-
showPopover(): void;
|
|
222
|
-
togglePopover(force?: boolean | undefined): void;
|
|
223
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
224
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
225
|
-
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
226
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
227
|
-
readonly attributes: NamedNodeMap;
|
|
228
|
-
readonly classList: DOMTokenList;
|
|
229
|
-
className: string;
|
|
230
|
-
readonly clientHeight: number;
|
|
231
|
-
readonly clientLeft: number;
|
|
232
|
-
readonly clientTop: number;
|
|
233
|
-
readonly clientWidth: number;
|
|
234
|
-
id: string;
|
|
235
|
-
readonly localName: string;
|
|
236
|
-
readonly namespaceURI: string | null;
|
|
237
|
-
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
238
|
-
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
239
|
-
outerHTML: string;
|
|
240
|
-
readonly ownerDocument: Document;
|
|
241
|
-
readonly part: DOMTokenList;
|
|
242
|
-
readonly prefix: string | null;
|
|
243
|
-
readonly scrollHeight: number;
|
|
244
|
-
scrollLeft: number;
|
|
245
|
-
scrollTop: number;
|
|
246
|
-
readonly scrollWidth: number;
|
|
247
|
-
readonly shadowRoot: ShadowRoot | null;
|
|
248
|
-
slot: string;
|
|
249
|
-
readonly tagName: string;
|
|
250
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
251
|
-
checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
|
|
252
|
-
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
253
|
-
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
254
|
-
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
|
|
255
|
-
closest<E extends Element = Element>(selectors: string): E | null;
|
|
256
|
-
computedStyleMap(): StylePropertyMapReadOnly;
|
|
257
|
-
getAttribute(qualifiedName: string): string | null;
|
|
258
|
-
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
259
|
-
getAttributeNames(): string[];
|
|
260
|
-
getAttributeNode(qualifiedName: string): Attr | null;
|
|
261
|
-
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
262
|
-
getBoundingClientRect(): DOMRect;
|
|
263
|
-
getClientRects(): DOMRectList;
|
|
264
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
265
|
-
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
266
|
-
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
267
|
-
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
268
|
-
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
269
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
270
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
271
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
272
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
273
|
-
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
274
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
275
|
-
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
276
|
-
hasAttributes(): boolean;
|
|
277
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
278
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
279
|
-
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
280
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
281
|
-
matches(selectors: string): boolean;
|
|
282
|
-
releasePointerCapture(pointerId: number): void;
|
|
283
|
-
removeAttribute(qualifiedName: string): void;
|
|
284
|
-
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
285
|
-
removeAttributeNode(attr: Attr): Attr;
|
|
286
|
-
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
287
|
-
requestPointerLock(): void;
|
|
288
|
-
scroll(options?: ScrollToOptions | undefined): void;
|
|
289
|
-
scroll(x: number, y: number): void;
|
|
290
|
-
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
291
|
-
scrollBy(x: number, y: number): void;
|
|
292
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
293
|
-
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
294
|
-
scrollTo(x: number, y: number): void;
|
|
295
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
296
|
-
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
297
|
-
setAttributeNode(attr: Attr): Attr | null;
|
|
298
|
-
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
299
|
-
setPointerCapture(pointerId: number): void;
|
|
300
|
-
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
301
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
302
|
-
readonly baseURI: string;
|
|
303
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
304
|
-
readonly firstChild: ChildNode | null;
|
|
305
|
-
readonly isConnected: boolean;
|
|
306
|
-
readonly lastChild: ChildNode | null;
|
|
307
|
-
readonly nextSibling: ChildNode | null;
|
|
308
|
-
readonly nodeName: string;
|
|
309
|
-
readonly nodeType: number;
|
|
310
|
-
nodeValue: string | null;
|
|
311
|
-
readonly parentElement: HTMLElement | null;
|
|
312
|
-
readonly parentNode: ParentNode | null;
|
|
313
|
-
readonly previousSibling: ChildNode | null;
|
|
314
|
-
textContent: string | null;
|
|
315
|
-
appendChild<T extends Node>(node: T): T;
|
|
316
|
-
cloneNode(deep?: boolean | undefined): Node;
|
|
317
|
-
compareDocumentPosition(other: Node): number;
|
|
318
|
-
contains(other: Node | null): boolean;
|
|
319
|
-
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
320
|
-
hasChildNodes(): boolean;
|
|
321
|
-
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
322
|
-
isDefaultNamespace(namespace: string | null): boolean;
|
|
323
|
-
isEqualNode(otherNode: Node | null): boolean;
|
|
324
|
-
isSameNode(otherNode: Node | null): boolean;
|
|
325
|
-
lookupNamespaceURI(prefix: string | null): string | null;
|
|
326
|
-
lookupPrefix(namespace: string | null): string | null;
|
|
327
|
-
normalize(): void;
|
|
328
|
-
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
329
|
-
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
330
|
-
readonly ELEMENT_NODE: 1;
|
|
331
|
-
readonly ATTRIBUTE_NODE: 2;
|
|
332
|
-
readonly TEXT_NODE: 3;
|
|
333
|
-
readonly CDATA_SECTION_NODE: 4;
|
|
334
|
-
readonly ENTITY_REFERENCE_NODE: 5;
|
|
335
|
-
readonly ENTITY_NODE: 6;
|
|
336
|
-
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
337
|
-
readonly COMMENT_NODE: 8;
|
|
338
|
-
readonly DOCUMENT_NODE: 9;
|
|
339
|
-
readonly DOCUMENT_TYPE_NODE: 10;
|
|
340
|
-
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
341
|
-
readonly NOTATION_NODE: 12;
|
|
342
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
343
|
-
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
344
|
-
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
345
|
-
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
346
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
347
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
348
|
-
dispatchEvent(event: Event): boolean;
|
|
349
|
-
ariaAtomic: string | null;
|
|
350
|
-
ariaAutoComplete: string | null;
|
|
351
|
-
ariaBusy: string | null;
|
|
352
|
-
ariaChecked: string | null;
|
|
353
|
-
ariaColCount: string | null;
|
|
354
|
-
ariaColIndex: string | null;
|
|
355
|
-
ariaColSpan: string | null;
|
|
356
|
-
ariaCurrent: string | null;
|
|
357
|
-
ariaDisabled: string | null;
|
|
358
|
-
ariaExpanded: string | null;
|
|
359
|
-
ariaHasPopup: string | null;
|
|
360
|
-
ariaHidden: string | null;
|
|
361
|
-
ariaInvalid: string | null;
|
|
362
|
-
ariaKeyShortcuts: string | null;
|
|
363
|
-
ariaLabel: string | null;
|
|
364
|
-
ariaLevel: string | null;
|
|
365
|
-
ariaLive: string | null;
|
|
366
|
-
ariaModal: string | null;
|
|
367
|
-
ariaMultiLine: string | null;
|
|
368
|
-
ariaMultiSelectable: string | null;
|
|
369
|
-
ariaOrientation: string | null;
|
|
370
|
-
ariaPlaceholder: string | null;
|
|
371
|
-
ariaPosInSet: string | null;
|
|
372
|
-
ariaPressed: string | null;
|
|
373
|
-
ariaReadOnly: string | null;
|
|
374
|
-
ariaRequired: string | null;
|
|
375
|
-
ariaRoleDescription: string | null;
|
|
376
|
-
ariaRowCount: string | null;
|
|
377
|
-
ariaRowIndex: string | null;
|
|
378
|
-
ariaRowSpan: string | null;
|
|
379
|
-
ariaSelected: string | null;
|
|
380
|
-
ariaSetSize: string | null;
|
|
381
|
-
ariaSort: string | null;
|
|
382
|
-
ariaValueMax: string | null;
|
|
383
|
-
ariaValueMin: string | null;
|
|
384
|
-
ariaValueNow: string | null;
|
|
385
|
-
ariaValueText: string | null;
|
|
386
|
-
role: string | null;
|
|
387
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
388
|
-
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
389
|
-
after(...nodes: (string | Node)[]): void;
|
|
390
|
-
before(...nodes: (string | Node)[]): void;
|
|
391
|
-
remove(): void;
|
|
392
|
-
replaceWith(...nodes: (string | Node)[]): void;
|
|
393
|
-
innerHTML: string;
|
|
394
|
-
readonly nextElementSibling: Element | null;
|
|
395
|
-
readonly previousElementSibling: Element | null;
|
|
396
|
-
readonly childElementCount: number;
|
|
397
|
-
readonly children: HTMLCollection;
|
|
398
|
-
readonly firstElementChild: Element | null;
|
|
399
|
-
readonly lastElementChild: Element | null;
|
|
400
|
-
append(...nodes: (string | Node)[]): void;
|
|
401
|
-
prepend(...nodes: (string | Node)[]): void;
|
|
402
|
-
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
|
|
403
|
-
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
|
|
404
|
-
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
|
|
405
|
-
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
|
|
406
|
-
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
407
|
-
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
408
|
-
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
409
|
-
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
410
|
-
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
411
|
-
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
412
|
-
replaceChildren(...nodes: (string | Node)[]): void;
|
|
413
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
414
|
-
readonly attributeStyleMap: StylePropertyMap;
|
|
415
|
-
readonly style: CSSStyleDeclaration;
|
|
416
|
-
contentEditable: string;
|
|
417
|
-
enterKeyHint: string;
|
|
418
|
-
inputMode: string;
|
|
419
|
-
readonly isContentEditable: boolean;
|
|
420
|
-
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
421
|
-
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
422
|
-
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
423
|
-
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
424
|
-
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
425
|
-
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
426
|
-
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
427
|
-
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
428
|
-
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
429
|
-
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
430
|
-
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
431
|
-
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
432
|
-
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
433
|
-
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
434
|
-
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
435
|
-
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
436
|
-
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
437
|
-
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
438
|
-
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
439
|
-
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
440
|
-
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
441
|
-
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
442
|
-
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
443
|
-
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
444
|
-
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
445
|
-
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
446
|
-
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
447
|
-
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
448
|
-
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
449
|
-
onerror: OnErrorEventHandler;
|
|
450
|
-
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
451
|
-
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
452
|
-
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
453
|
-
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
454
|
-
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
455
|
-
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
456
|
-
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
457
|
-
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
458
|
-
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
459
|
-
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
460
|
-
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
461
|
-
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
462
|
-
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
463
|
-
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
464
|
-
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
465
|
-
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
466
|
-
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
467
|
-
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
468
|
-
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
469
|
-
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
470
|
-
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
471
|
-
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
472
|
-
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
473
|
-
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
474
|
-
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
475
|
-
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
476
|
-
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
477
|
-
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
478
|
-
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
479
|
-
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
480
|
-
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
481
|
-
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
482
|
-
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
483
|
-
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
484
|
-
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
485
|
-
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
486
|
-
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
487
|
-
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
488
|
-
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
489
|
-
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
490
|
-
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
491
|
-
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
492
|
-
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
493
|
-
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
494
|
-
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
495
|
-
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
496
|
-
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
497
|
-
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
498
|
-
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
499
|
-
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
500
|
-
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
501
|
-
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
502
|
-
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
503
|
-
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
504
|
-
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
505
|
-
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
506
|
-
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
507
|
-
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
508
|
-
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
509
|
-
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
510
|
-
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
511
|
-
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
512
|
-
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
513
|
-
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
514
|
-
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
515
|
-
autofocus: boolean;
|
|
516
|
-
readonly dataset: DOMStringMap;
|
|
517
|
-
nonce?: string | undefined;
|
|
518
|
-
tabIndex: number;
|
|
519
|
-
blur(): void;
|
|
520
|
-
focus(options?: FocusOptions | undefined): void;
|
|
521
|
-
};
|
|
522
|
-
readonly observedAttributes: string[];
|
|
523
|
-
} | undefined;
|
|
524
|
-
export default _default;
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
type ColorVal = (string | number)[];
|
|
2
|
-
export declare class Rgb {
|
|
3
|
-
r: string | number;
|
|
4
|
-
g: string | number;
|
|
5
|
-
b: string | number;
|
|
6
|
-
constructor(col: Array<string | number>);
|
|
7
|
-
toString(): string;
|
|
8
|
-
}
|
|
9
|
-
export declare class Rgba extends Rgb {
|
|
10
|
-
a: string | number;
|
|
11
|
-
constructor(col: Array<string | number>);
|
|
12
|
-
toString(): string;
|
|
13
|
-
}
|
|
14
|
-
export declare class Hsl {
|
|
15
|
-
h: string | number;
|
|
16
|
-
s: string | number;
|
|
17
|
-
l: string | number;
|
|
18
|
-
constructor(col: Array<string | number>);
|
|
19
|
-
toString(): string;
|
|
20
|
-
}
|
|
21
|
-
export declare class Hsla extends Hsl {
|
|
22
|
-
a: string | number;
|
|
23
|
-
constructor(col: Array<string | number>);
|
|
24
|
-
toString(): string;
|
|
25
|
-
}
|
|
26
|
-
export declare class Color {
|
|
27
|
-
r: string | number;
|
|
28
|
-
g: string | number;
|
|
29
|
-
b: string | number;
|
|
30
|
-
a: string | number;
|
|
31
|
-
rgb: Rgb;
|
|
32
|
-
rgba: Rgba;
|
|
33
|
-
hex: string;
|
|
34
|
-
hsl: Hsl;
|
|
35
|
-
hsla: Hsla;
|
|
36
|
-
h: string | number;
|
|
37
|
-
s: string | number;
|
|
38
|
-
l: string | number;
|
|
39
|
-
constructor(r: string | number | Array<string | number>, g?: string | number, b?: string | number, a?: string | number);
|
|
40
|
-
setHue(newHue: string | number): void;
|
|
41
|
-
setSat(newSat: string | number): void;
|
|
42
|
-
setLum(newLum: number): void;
|
|
43
|
-
setAlpha(newAlpha: string | number): void;
|
|
44
|
-
updateFromHsl(): void;
|
|
45
|
-
}
|
|
46
|
-
export declare const randomColor: () => Color;
|
|
47
|
-
export declare const hexToRgb: (hex: string) => RegExpExecArray | null | Array<number>;
|
|
48
|
-
export declare const getDarkColor: (color: string, level: number) => string;
|
|
49
|
-
export declare function getLightColor(color: string, level: number): string;
|
|
50
|
-
export declare const componentToHex: (c: string | number) => string;
|
|
51
|
-
export declare const rgbToHex: (r: string | number | Array<string | number>, g?: string | number, b?: string | number) => string;
|
|
52
|
-
export declare const rgbToHsl: (r: number | number[], g?: number, b?: number) => Array<number>;
|
|
53
|
-
export declare const hue2rgb: (p: number, q: number, t: number) => number;
|
|
54
|
-
export declare const hslToRgb: (h: number | string | number[], s: number | string, l: number | string) => Array<number>;
|
|
55
|
-
export declare const rgbToHsb: (r: number, g: number, b: number) => number[];
|
|
56
|
-
export declare const hsbToRgb: (h: number, s: number, v: number) => number[];
|
|
57
|
-
export declare const hsvToRgb: (h: number, s: number, v: number) => number[];
|
|
58
|
-
export declare const hsbToHsl: (h: any, s: any, b: any) => number[];
|
|
59
|
-
export declare const hsvToHsl: (h: any, s: any, b: any) => number[];
|
|
60
|
-
export declare class ColorScheme {
|
|
61
|
-
palette: Color[];
|
|
62
|
-
constructor(colorVal: (string | number)[], angleArray: number[]);
|
|
63
|
-
createFromColors(colorVal: (string | number)[]): Color[];
|
|
64
|
-
createFromAngles(colorVal: string | number | (string | number)[], angleArray: number[]): Color[];
|
|
65
|
-
static Compl(colorVal: ColorVal): ColorScheme;
|
|
66
|
-
static Triad(colorVal: ColorVal): ColorScheme;
|
|
67
|
-
static Tetrad(colorVal: ColorVal): ColorScheme;
|
|
68
|
-
static Analog(colorVal: ColorVal): ColorScheme;
|
|
69
|
-
static Split(colorVal: ColorVal): ColorScheme;
|
|
70
|
-
static Accent(colorVal: ColorVal): ColorScheme;
|
|
71
|
-
}
|
|
72
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface DocxOptions {
|
|
2
|
-
bodyContainer?: HTMLElement | null;
|
|
3
|
-
styleContainer?: HTMLElement;
|
|
4
|
-
buffer: Blob;
|
|
5
|
-
docxOptions?: Partial<Record<string, string | boolean>>;
|
|
6
|
-
}
|
|
7
|
-
export declare const renderDocx: (options: DocxOptions) => Promise<void> | undefined;
|
|
8
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const renderExcel: (file: File, dom?: HTMLElement) => Promise<void>;
|