ranui 0.1.1-alpha → 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/add-user.98b805f1.js +5 -0
- package/dist/add-user.98b805f1.js.map +1 -0
- package/dist/assets/image/failImage.d.ts +2 -0
- package/dist/book.c3235430.js +5 -0
- package/dist/book.c3235430.js.map +1 -0
- package/dist/check-circle-fill.0a9e8a28.js +5 -0
- package/dist/check-circle-fill.0a9e8a28.js.map +1 -0
- package/dist/check-circle.711c4f31.js +5 -0
- package/dist/check-circle.711c4f31.js.map +1 -0
- package/dist/close-circle-fill.726bf59c.js +5 -0
- package/dist/close-circle-fill.726bf59c.js.map +1 -0
- package/dist/close-circle.dda355df.js +5 -0
- package/dist/close-circle.dda355df.js.map +1 -0
- package/dist/close.9954c08c.js +5 -0
- package/dist/close.9954c08c.js.map +1 -0
- package/dist/component.d.ts +0 -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/eye-close.a954b46e.js +5 -0
- package/dist/eye-close.a954b46e.js.map +1 -0
- package/dist/eye.c904f80b.js +5 -0
- package/dist/eye.c904f80b.js.map +1 -0
- package/dist/home.f5970edc.js +5 -0
- package/dist/home.f5970edc.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 -676
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +12 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/info-circle-fill.9dfc3b5e.js +5 -0
- package/dist/info-circle-fill.9dfc3b5e.js.map +1 -0
- package/dist/info-circle.718e6ac4.js +5 -0
- package/dist/info-circle.718e6ac4.js.map +1 -0
- package/dist/jszip.min.263da606.js +2656 -0
- package/dist/jszip.min.263da606.js.map +1 -0
- package/dist/loading.876d0293.js +5 -0
- package/dist/loading.876d0293.js.map +1 -0
- package/dist/lock.26244026.js +5 -0
- package/dist/lock.26244026.js.map +1 -0
- package/dist/message.5379338a.js +5 -0
- package/dist/message.5379338a.js.map +1 -0
- package/dist/pdf.5dd28052.js +74510 -0
- package/dist/pdf.5dd28052.js.map +1 -0
- package/dist/power-off.050e4c26.js +5 -0
- package/dist/power-off.050e4c26.js.map +1 -0
- package/dist/preview.de4d53cc.js +5 -0
- package/dist/preview.de4d53cc.js.map +1 -0
- package/dist/setting.7917f3b2.js +5 -0
- package/dist/setting.7917f3b2.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/team.b3a3196b.js +5 -0
- package/dist/team.b3a3196b.js.map +1 -0
- package/dist/typings.d.ts +46 -0
- package/dist/unlock.1e7bed93.js +5 -0
- package/dist/unlock.1e7bed93.js.map +1 -0
- package/dist/user.21cfbfa6.js +5 -0
- package/dist/user.21cfbfa6.js.map +1 -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/dist/warning-circle-fill.b87fec04.js +5 -0
- package/dist/warning-circle-fill.b87fec04.js.map +1 -0
- package/dist/warning-circle.b1792bd4.js +5 -0
- package/dist/warning-circle.b1792bd4.js.map +1 -0
- package/package.json +43 -11
- package/.vitepress/config.ts +0 -26
- package/index.md +0 -1
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
declare class CustomError {
|
|
2
|
+
message: string;
|
|
3
|
+
constructor(message?: string);
|
|
4
|
+
}
|
|
5
|
+
declare const _default: typeof CustomError | {
|
|
6
|
+
new (): {
|
|
7
|
+
_container: HTMLDivElement;
|
|
8
|
+
_label: HTMLLabelElement | undefined;
|
|
9
|
+
_input: HTMLInputElement;
|
|
10
|
+
_icon: HTMLElement | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @description: 获取input的值
|
|
13
|
+
* @return {String}
|
|
14
|
+
*/
|
|
15
|
+
value: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* @description: 获取input的占位字符
|
|
18
|
+
* @return {String}
|
|
19
|
+
*/
|
|
20
|
+
placeholder: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* @description: input是否为必选
|
|
23
|
+
* @return {String}
|
|
24
|
+
*/
|
|
25
|
+
required: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* @description: 获取input上disabled属性
|
|
28
|
+
* @return {String | null}
|
|
29
|
+
*/
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @description: 获取类似于Metiral Design的输入体验。
|
|
33
|
+
*/
|
|
34
|
+
label: string;
|
|
35
|
+
/**
|
|
36
|
+
* @description: 获取input框的状态
|
|
37
|
+
*/
|
|
38
|
+
status: string;
|
|
39
|
+
/**
|
|
40
|
+
* @description: 与form组件联动时,收集的属性名
|
|
41
|
+
* @return {String}
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
/**
|
|
45
|
+
* @description: 当input类型为number类型时,可以获取min属性
|
|
46
|
+
* @return {String}
|
|
47
|
+
*/
|
|
48
|
+
min: string;
|
|
49
|
+
/**
|
|
50
|
+
* @description: 当input类型为number类型时,可以获取max属性
|
|
51
|
+
* @return {String}
|
|
52
|
+
*/
|
|
53
|
+
max: string;
|
|
54
|
+
/**
|
|
55
|
+
* @description: 当input类型为number类型时,可以获取step属性
|
|
56
|
+
* @return {String}
|
|
57
|
+
*/
|
|
58
|
+
step: string;
|
|
59
|
+
/**
|
|
60
|
+
* @description: 获取一个icon
|
|
61
|
+
* @return {String}
|
|
62
|
+
*/
|
|
63
|
+
icon: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* @description: 获取input的类型
|
|
66
|
+
* @return {string|null}
|
|
67
|
+
*/
|
|
68
|
+
type: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* @description: 原生的input方法
|
|
71
|
+
* @param {Event} event
|
|
72
|
+
*/
|
|
73
|
+
inputValue: (event: Event) => void;
|
|
74
|
+
/**
|
|
75
|
+
* @description: 增加change方法
|
|
76
|
+
*/
|
|
77
|
+
change: () => void;
|
|
78
|
+
/**
|
|
79
|
+
* @description: 增加focus方法
|
|
80
|
+
*/
|
|
81
|
+
focus: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* @description: 监听placeholder属性函数
|
|
84
|
+
* @param {string} name
|
|
85
|
+
* @param {string} value
|
|
86
|
+
*/
|
|
87
|
+
listenPlaceholder(name: string, value: string): void;
|
|
88
|
+
/**
|
|
89
|
+
* @description: 监听label属性函数
|
|
90
|
+
* @param {string} name
|
|
91
|
+
* @param {string} value
|
|
92
|
+
*/
|
|
93
|
+
listenLabel(name: string, value: string): void;
|
|
94
|
+
/**
|
|
95
|
+
* @description: 监听type属性
|
|
96
|
+
* @param {string} name
|
|
97
|
+
* @param {string} value
|
|
98
|
+
*/
|
|
99
|
+
listenType(name: string, value: string): void;
|
|
100
|
+
/**
|
|
101
|
+
* @description: 监听status属性
|
|
102
|
+
* @param {string} name
|
|
103
|
+
* @param {string} value
|
|
104
|
+
*/
|
|
105
|
+
listenStatus(name: string, value: string): void;
|
|
106
|
+
/**
|
|
107
|
+
* @description: 监听disabled属性
|
|
108
|
+
* @param {string} name
|
|
109
|
+
* @param {string} value
|
|
110
|
+
*/
|
|
111
|
+
listenDisabled(name: string, value: string): void;
|
|
112
|
+
/**
|
|
113
|
+
* @description: 监听icon属性
|
|
114
|
+
* @param {string} name
|
|
115
|
+
* @param {string} value
|
|
116
|
+
*/
|
|
117
|
+
listenIcon(name: string, value: string, oldValue: string): void;
|
|
118
|
+
/**
|
|
119
|
+
* @description: 处理icon属性的问题
|
|
120
|
+
*/
|
|
121
|
+
dealIcon: () => void;
|
|
122
|
+
/**
|
|
123
|
+
* @description: 聚合监听事件
|
|
124
|
+
* @param {string} name
|
|
125
|
+
* @param {string} oldValue
|
|
126
|
+
* @param {string} newValue
|
|
127
|
+
*/
|
|
128
|
+
listenEvent(name: string, oldValue: string, newValue: string): void;
|
|
129
|
+
connectedCallback(): void;
|
|
130
|
+
disconnectCallback(): void;
|
|
131
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
132
|
+
accessKey: string;
|
|
133
|
+
readonly accessKeyLabel: string;
|
|
134
|
+
autocapitalize: string;
|
|
135
|
+
dir: string;
|
|
136
|
+
draggable: boolean;
|
|
137
|
+
hidden: boolean;
|
|
138
|
+
inert: boolean;
|
|
139
|
+
innerText: string;
|
|
140
|
+
lang: string;
|
|
141
|
+
readonly offsetHeight: number;
|
|
142
|
+
readonly offsetLeft: number;
|
|
143
|
+
readonly offsetParent: Element | null;
|
|
144
|
+
readonly offsetTop: number;
|
|
145
|
+
readonly offsetWidth: number;
|
|
146
|
+
outerText: string;
|
|
147
|
+
spellcheck: boolean;
|
|
148
|
+
title: string;
|
|
149
|
+
translate: boolean;
|
|
150
|
+
attachInternals(): ElementInternals;
|
|
151
|
+
click(): void;
|
|
152
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
153
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
154
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
155
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
156
|
+
readonly attributes: NamedNodeMap;
|
|
157
|
+
readonly classList: DOMTokenList;
|
|
158
|
+
className: string;
|
|
159
|
+
readonly clientHeight: number;
|
|
160
|
+
readonly clientLeft: number;
|
|
161
|
+
readonly clientTop: number;
|
|
162
|
+
readonly clientWidth: number;
|
|
163
|
+
id: string;
|
|
164
|
+
readonly localName: string;
|
|
165
|
+
readonly namespaceURI: string | null;
|
|
166
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
167
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
168
|
+
outerHTML: string;
|
|
169
|
+
readonly ownerDocument: Document;
|
|
170
|
+
readonly part: DOMTokenList;
|
|
171
|
+
readonly prefix: string | null;
|
|
172
|
+
readonly scrollHeight: number;
|
|
173
|
+
scrollLeft: number;
|
|
174
|
+
scrollTop: number;
|
|
175
|
+
readonly scrollWidth: number;
|
|
176
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
177
|
+
slot: string;
|
|
178
|
+
readonly tagName: string;
|
|
179
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
180
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
181
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
182
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
183
|
+
getAttribute(qualifiedName: string): string | null;
|
|
184
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
185
|
+
getAttributeNames(): string[];
|
|
186
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
187
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
188
|
+
getBoundingClientRect(): DOMRect;
|
|
189
|
+
getClientRects(): DOMRectList;
|
|
190
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
191
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
192
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
193
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
194
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
195
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
196
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
197
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
198
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
199
|
+
hasAttributes(): boolean;
|
|
200
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
201
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
202
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
203
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
204
|
+
matches(selectors: string): boolean;
|
|
205
|
+
releasePointerCapture(pointerId: number): void;
|
|
206
|
+
removeAttribute(qualifiedName: string): void;
|
|
207
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
208
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
209
|
+
requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
|
|
210
|
+
requestPointerLock(): void;
|
|
211
|
+
scroll(options?: ScrollToOptions | undefined): void;
|
|
212
|
+
scroll(x: number, y: number): void;
|
|
213
|
+
scrollBy(options?: ScrollToOptions | undefined): void;
|
|
214
|
+
scrollBy(x: number, y: number): void;
|
|
215
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
|
|
216
|
+
scrollTo(options?: ScrollToOptions | undefined): void;
|
|
217
|
+
scrollTo(x: number, y: number): void;
|
|
218
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
219
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
220
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
221
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
222
|
+
setPointerCapture(pointerId: number): void;
|
|
223
|
+
toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
|
|
224
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
225
|
+
readonly baseURI: string;
|
|
226
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
227
|
+
readonly firstChild: ChildNode | null;
|
|
228
|
+
readonly isConnected: boolean;
|
|
229
|
+
readonly lastChild: ChildNode | null;
|
|
230
|
+
readonly nextSibling: ChildNode | null;
|
|
231
|
+
readonly nodeName: string;
|
|
232
|
+
readonly nodeType: number;
|
|
233
|
+
nodeValue: string | null;
|
|
234
|
+
readonly parentElement: HTMLElement | null;
|
|
235
|
+
readonly parentNode: ParentNode | null;
|
|
236
|
+
readonly previousSibling: ChildNode | null;
|
|
237
|
+
textContent: string | null;
|
|
238
|
+
appendChild<T extends Node>(node: T): T;
|
|
239
|
+
cloneNode(deep?: boolean | undefined): Node;
|
|
240
|
+
compareDocumentPosition(other: Node): number;
|
|
241
|
+
contains(other: Node | null): boolean;
|
|
242
|
+
getRootNode(options?: GetRootNodeOptions | undefined): Node;
|
|
243
|
+
hasChildNodes(): boolean;
|
|
244
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
245
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
246
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
247
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
248
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
249
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
250
|
+
normalize(): void;
|
|
251
|
+
removeChild<T_2 extends Node>(child: T_2): T_2;
|
|
252
|
+
replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
|
|
253
|
+
readonly ATTRIBUTE_NODE: number;
|
|
254
|
+
readonly CDATA_SECTION_NODE: number;
|
|
255
|
+
readonly COMMENT_NODE: number;
|
|
256
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
257
|
+
readonly DOCUMENT_NODE: number;
|
|
258
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
259
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
260
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
261
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
262
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
263
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
264
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
265
|
+
readonly ELEMENT_NODE: number;
|
|
266
|
+
readonly ENTITY_NODE: number;
|
|
267
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
268
|
+
readonly NOTATION_NODE: number;
|
|
269
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
270
|
+
readonly TEXT_NODE: number;
|
|
271
|
+
dispatchEvent(event: Event): boolean;
|
|
272
|
+
ariaAtomic: string | null;
|
|
273
|
+
ariaAutoComplete: string | null;
|
|
274
|
+
ariaBusy: string | null;
|
|
275
|
+
ariaChecked: string | null;
|
|
276
|
+
ariaColCount: string | null;
|
|
277
|
+
ariaColIndex: string | null;
|
|
278
|
+
ariaColSpan: string | null;
|
|
279
|
+
ariaCurrent: string | null;
|
|
280
|
+
ariaDisabled: string | null;
|
|
281
|
+
ariaExpanded: string | null;
|
|
282
|
+
ariaHasPopup: string | null;
|
|
283
|
+
ariaHidden: string | null;
|
|
284
|
+
ariaKeyShortcuts: string | null;
|
|
285
|
+
ariaLabel: string | null;
|
|
286
|
+
ariaLevel: string | null;
|
|
287
|
+
ariaLive: string | null;
|
|
288
|
+
ariaModal: string | null;
|
|
289
|
+
ariaMultiLine: string | null;
|
|
290
|
+
ariaMultiSelectable: string | null;
|
|
291
|
+
ariaOrientation: string | null;
|
|
292
|
+
ariaPlaceholder: string | null;
|
|
293
|
+
ariaPosInSet: string | null;
|
|
294
|
+
ariaPressed: string | null;
|
|
295
|
+
ariaReadOnly: string | null;
|
|
296
|
+
ariaRequired: string | null;
|
|
297
|
+
ariaRoleDescription: string | null;
|
|
298
|
+
ariaRowCount: string | null;
|
|
299
|
+
ariaRowIndex: string | null;
|
|
300
|
+
ariaRowSpan: string | null;
|
|
301
|
+
ariaSelected: string | null;
|
|
302
|
+
ariaSetSize: string | null;
|
|
303
|
+
ariaSort: string | null;
|
|
304
|
+
ariaValueMax: string | null;
|
|
305
|
+
ariaValueMin: string | null;
|
|
306
|
+
ariaValueNow: string | null;
|
|
307
|
+
ariaValueText: string | null;
|
|
308
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
|
|
309
|
+
getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
|
|
310
|
+
after(...nodes: (string | Node)[]): void;
|
|
311
|
+
before(...nodes: (string | Node)[]): void;
|
|
312
|
+
remove(): void;
|
|
313
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
314
|
+
innerHTML: string;
|
|
315
|
+
readonly nextElementSibling: Element | null;
|
|
316
|
+
readonly previousElementSibling: Element | null;
|
|
317
|
+
readonly childElementCount: number;
|
|
318
|
+
readonly children: HTMLCollection;
|
|
319
|
+
readonly firstElementChild: Element | null;
|
|
320
|
+
readonly lastElementChild: Element | null;
|
|
321
|
+
append(...nodes: (string | Node)[]): void;
|
|
322
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
323
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
|
|
324
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
|
|
325
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
326
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
327
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
328
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
329
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
330
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
331
|
+
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
332
|
+
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
333
|
+
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
334
|
+
readonly style: CSSStyleDeclaration;
|
|
335
|
+
contentEditable: string;
|
|
336
|
+
enterKeyHint: string;
|
|
337
|
+
inputMode: string;
|
|
338
|
+
readonly isContentEditable: boolean;
|
|
339
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
340
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
341
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
342
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
343
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
344
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
345
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
346
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
347
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
348
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
349
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
350
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
351
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
352
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
353
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
354
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
355
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
356
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
357
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
358
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
359
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
360
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
361
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
362
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
363
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
364
|
+
onerror: OnErrorEventHandler;
|
|
365
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
366
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
367
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
368
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
369
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
370
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
371
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
372
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
373
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
374
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
375
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
376
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
377
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
378
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
379
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
380
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
381
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
382
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
383
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
384
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
385
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
386
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
387
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
388
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
389
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
390
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
391
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
392
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
393
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
394
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
395
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
396
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
397
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
398
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
399
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
400
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
401
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
402
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
403
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
404
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
405
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
406
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
407
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
408
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
409
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
410
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
411
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
412
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
413
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
414
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
415
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
416
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
417
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
418
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
419
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
420
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
421
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
422
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
423
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
424
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
425
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
426
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
427
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
428
|
+
autofocus: boolean;
|
|
429
|
+
readonly dataset: DOMStringMap;
|
|
430
|
+
nonce?: string | undefined;
|
|
431
|
+
tabIndex: number;
|
|
432
|
+
blur(): void;
|
|
433
|
+
};
|
|
434
|
+
readonly observedAttributes: string[];
|
|
435
|
+
};
|
|
436
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare const message: {
|
|
2
|
+
info: (options: Ran.Prompt | string) => void;
|
|
3
|
+
success: (options: Ran.Prompt | string) => void;
|
|
4
|
+
error: (options: Ran.Prompt | string) => void;
|
|
5
|
+
warning: (options: Ran.Prompt | string) => void;
|
|
6
|
+
toast: (options: Ran.Prompt | string) => void;
|
|
7
|
+
} | undefined;
|
|
8
|
+
export default message;
|