ranui 0.1.9 → 0.1.10-alpha.2

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.
Files changed (193) hide show
  1. package/dist/_commonjs-dynamic-modules-DLbDWi6a.js +12 -0
  2. package/dist/arrow-down-D4qr4m33.js +30 -0
  3. package/dist/button.js +7 -0
  4. package/dist/checkbox.js +7 -0
  5. package/dist/colorpicker.js +13 -0
  6. package/dist/{colz-746223ab.js → colz-CRDozfZA.js} +1 -5
  7. package/dist/content.js +6 -0
  8. package/dist/docx-CChZ5Ycr.js +3665 -0
  9. package/dist/global-DOOKQmNv.js +4 -0
  10. package/dist/icon.js +6 -0
  11. package/dist/iconShadowless.js +6 -0
  12. package/dist/image.js +4 -0
  13. package/dist/index-01Qfd9QI.js +207 -0
  14. package/dist/{index-2d16a084.js → index-B2yRe66F.js} +8 -10
  15. package/dist/{index-3cf72afd.js → index-B4bfIbdI.js} +9 -23
  16. package/dist/{index-458debf7.js → index-BF8tJ6rR.js} +7 -31
  17. package/dist/{index-7b8840f9.js → index-BHmWrPCW.js} +223 -1011
  18. package/dist/{index-e03d23e7.js → index-BpOERe9M.js} +1 -1
  19. package/dist/{index-e2e5d725.js → index-ByBbFhvo.js} +123 -323
  20. package/dist/index-C-p_Wpit.js +103 -0
  21. package/dist/{index-b7790662.js → index-C1x9Popy.js} +1 -1
  22. package/dist/index-C6wPL-2Y.js +298 -0
  23. package/dist/{index-1048a998.js → index-CFnsLnrb.js} +68 -19
  24. package/dist/{index-57492b9b.js → index-CSnBqUsQ.js} +48 -1
  25. package/dist/index-CWWI8SHO.js +206 -0
  26. package/dist/index-Cbp6LrE5.js +501 -0
  27. package/dist/index-CbyMC6Yz.js +59 -0
  28. package/dist/index-Cr9AYoGT.js +498 -0
  29. package/dist/index-DLB8VOy7.js +281 -0
  30. package/dist/index-DRWOSfdF.js +521 -0
  31. package/dist/{index-4443363f.js → index-DRi1ylHx.js} +29 -50
  32. package/dist/index-Dapt713u.js +65624 -0
  33. package/dist/{index-7216d6b0.js → index-DqtzBqPN.js} +11 -29
  34. package/dist/{index-1b73beee.js → index-DsIUhdNt.js} +55 -90
  35. package/dist/{index-01b17e26.js → index-Du-Biu-I.js} +1 -1
  36. package/dist/{index-0d5b9435.js → index-DytfjwBV.js} +2 -2
  37. package/dist/index.js +25 -19
  38. package/dist/info-circle-fill-CFeVMdci.js +4 -0
  39. package/dist/input.js +6 -0
  40. package/dist/inputShadowless.js +6 -0
  41. package/dist/jszip.min-DD9Dc6z4.js +2674 -0
  42. package/dist/loading.js +6 -0
  43. package/dist/message.js +5 -0
  44. package/dist/modal.js +4 -0
  45. package/dist/{components/option/index.js → option.js} +3 -6
  46. package/dist/{pdf-bdb7818a.js → pdf-DpNqCylD.js} +12 -4
  47. package/dist/player.js +8 -0
  48. package/dist/popover.js +6 -0
  49. package/dist/preview.js +7 -0
  50. package/dist/progress.js +7 -0
  51. package/dist/radar.js +6 -0
  52. package/dist/select.js +10 -0
  53. package/dist/selectShadowless.js +10 -0
  54. package/dist/shadowless/shadowless/index.js +14 -0
  55. package/dist/skeleton.js +4 -0
  56. package/dist/sprite-CH2zLtZy.js +141 -0
  57. package/dist/style.css +1 -1
  58. package/dist/tab.js +6 -0
  59. package/dist/tabpane.js +4 -0
  60. package/dist/tsconfig.json +29 -0
  61. package/dist/umd/index.umd.cjs +21 -32
  62. package/dist/umd/shadowless/shadowless.umd.cjs +1 -0
  63. package/dist/umd/shadowless/style.css +1 -0
  64. package/dist/umd/style.css +1 -1
  65. package/dist/utils-74Icp-PI.js +541 -0
  66. package/package.json +54 -24
  67. package/readme.md +18 -14
  68. package/typings.d.ts +101 -0
  69. package/dist/build/config.d.ts +0 -3
  70. package/dist/build/config.es.d.ts +0 -2
  71. package/dist/build/config.umd.d.ts +0 -2
  72. package/dist/components/button/index.d.ts +0 -35
  73. package/dist/components/button/index.js +0 -8
  74. package/dist/components/form/index.d.ts +0 -2
  75. package/dist/components/icon/index.d.ts +0 -2
  76. package/dist/components/icon/index.js +0 -6
  77. package/dist/components/image/index.d.ts +0 -2
  78. package/dist/components/image/index.js +0 -4
  79. package/dist/components/input/index.d.ts +0 -185
  80. package/dist/components/input/index.js +0 -6
  81. package/dist/components/message/index.d.ts +0 -14
  82. package/dist/components/message/index.js +0 -4
  83. package/dist/components/modal/index.d.ts +0 -2
  84. package/dist/components/modal/index.js +0 -4
  85. package/dist/components/option/index.d.ts +0 -2
  86. package/dist/components/player/index.d.ts +0 -213
  87. package/dist/components/player/index.js +0 -12
  88. package/dist/components/preview/colz.d.ts +0 -72
  89. package/dist/components/preview/docx.d.ts +0 -8
  90. package/dist/components/preview/excel/excel.d.ts +0 -2
  91. package/dist/components/preview/excel/index.d.ts +0 -1
  92. package/dist/components/preview/excel/media.d.ts +0 -37
  93. package/dist/components/preview/index.d.ts +0 -6
  94. package/dist/components/preview/index.js +0 -8
  95. package/dist/components/preview/pdf.d.ts +0 -1
  96. package/dist/components/preview/pptx/index.d.ts +0 -16
  97. package/dist/components/preview/pptx/process_pptx.d.ts +0 -23
  98. package/dist/components/preview/pptx/t_xml.d.ts +0 -1
  99. package/dist/components/preview/pptx/worker.d.ts +0 -1
  100. package/dist/components/progress/index.d.ts +0 -36
  101. package/dist/components/progress/index.js +0 -8
  102. package/dist/components/radar/index.d.ts +0 -2
  103. package/dist/components/radar/index.js +0 -7
  104. package/dist/components/scratch/index.d.ts +0 -19
  105. package/dist/components/select/index.d.ts +0 -105
  106. package/dist/components/select/index.js +0 -11
  107. package/dist/components/skeleton/index.d.ts +0 -2
  108. package/dist/components/skeleton/index.js +0 -4
  109. package/dist/components/tab/index.d.ts +0 -408
  110. package/dist/components/tab/index.js +0 -7
  111. package/dist/components/tabpane/index.d.ts +0 -352
  112. package/dist/components/tabpane/index.js +0 -4
  113. package/dist/docx-c5d02d8c.js +0 -21
  114. package/dist/index-73ce455b.js +0 -264
  115. package/dist/index-7913ec46.js +0 -239
  116. package/dist/index-c14450a9.js +0 -662
  117. package/dist/index.d.ts +0 -14
  118. package/dist/info-circle-fill-90ec9aa9.js +0 -14
  119. package/dist/playwright.config.d.ts +0 -9
  120. package/dist/plugins/auto-import-file.d.ts +0 -0
  121. package/dist/plugins/load-style.d.ts +0 -6
  122. package/dist/plugins/load-svg.d.ts +0 -9
  123. package/dist/tests/button.spec.d.ts +0 -1
  124. package/dist/umd/build/config.d.ts +0 -3
  125. package/dist/umd/build/config.es.d.ts +0 -2
  126. package/dist/umd/build/config.umd.d.ts +0 -2
  127. package/dist/umd/components/button/index.d.ts +0 -35
  128. package/dist/umd/components/form/index.d.ts +0 -2
  129. package/dist/umd/components/icon/index.d.ts +0 -2
  130. package/dist/umd/components/image/index.d.ts +0 -2
  131. package/dist/umd/components/input/index.d.ts +0 -185
  132. package/dist/umd/components/message/index.d.ts +0 -14
  133. package/dist/umd/components/modal/index.d.ts +0 -2
  134. package/dist/umd/components/option/index.d.ts +0 -2
  135. package/dist/umd/components/player/index.d.ts +0 -213
  136. package/dist/umd/components/preview/colz.d.ts +0 -72
  137. package/dist/umd/components/preview/docx.d.ts +0 -8
  138. package/dist/umd/components/preview/excel/excel.d.ts +0 -2
  139. package/dist/umd/components/preview/excel/index.d.ts +0 -1
  140. package/dist/umd/components/preview/excel/media.d.ts +0 -37
  141. package/dist/umd/components/preview/index.d.ts +0 -6
  142. package/dist/umd/components/preview/pdf.d.ts +0 -1
  143. package/dist/umd/components/preview/pptx/index.d.ts +0 -16
  144. package/dist/umd/components/preview/pptx/process_pptx.d.ts +0 -23
  145. package/dist/umd/components/preview/pptx/t_xml.d.ts +0 -1
  146. package/dist/umd/components/preview/pptx/worker.d.ts +0 -1
  147. package/dist/umd/components/progress/index.d.ts +0 -36
  148. package/dist/umd/components/radar/index.d.ts +0 -2
  149. package/dist/umd/components/scratch/index.d.ts +0 -19
  150. package/dist/umd/components/select/index.d.ts +0 -105
  151. package/dist/umd/components/skeleton/index.d.ts +0 -2
  152. package/dist/umd/components/tab/index.d.ts +0 -408
  153. package/dist/umd/components/tabpane/index.d.ts +0 -352
  154. package/dist/umd/index.d.ts +0 -14
  155. package/dist/umd/playwright.config.d.ts +0 -9
  156. package/dist/umd/plugins/auto-import-file.d.ts +0 -0
  157. package/dist/umd/plugins/load-style.d.ts +0 -6
  158. package/dist/umd/plugins/load-svg.d.ts +0 -9
  159. package/dist/umd/tests/button.spec.d.ts +0 -1
  160. package/dist/umd/utils/image.d.ts +0 -32
  161. package/dist/umd/utils/index.d.ts +0 -64
  162. package/dist/umd/utils/math.d.ts +0 -26
  163. package/dist/umd/utils/tween.d.ts +0 -21
  164. package/dist/umd/vite.config.d.ts +0 -6
  165. package/dist/utils/image.d.ts +0 -32
  166. package/dist/utils/index.d.ts +0 -64
  167. package/dist/utils/math.d.ts +0 -26
  168. package/dist/utils/tween.d.ts +0 -21
  169. package/dist/vendor-f71e6f68.js +0 -92126
  170. package/dist/vite.config.d.ts +0 -6
  171. /package/dist/{add-user-b2bed3e7.js → add-user-BN1JlY7e.js} +0 -0
  172. /package/dist/{book-b11a68eb.js → book-nTEFXU2x.js} +0 -0
  173. /package/dist/{check-circle-fill-dc284144.js → check-circle-fill-B_pd8ZSs.js} +0 -0
  174. /package/dist/{check-circle-74bd09c3.js → check-circle-szyAJiap.js} +0 -0
  175. /package/dist/{close-20925345.js → close-CFnkhudp.js} +0 -0
  176. /package/dist/{close-circle-720c18be.js → close-circle-CwmuN2C6.js} +0 -0
  177. /package/dist/{close-circle-fill-238a66b1.js → close-circle-fill-jSqPPw9i.js} +0 -0
  178. /package/dist/{eye-5e742329.js → eye-D_mEt17f.js} +0 -0
  179. /package/dist/{eye-close-3874f1ae.js → eye-close-BVr3NJtg.js} +0 -0
  180. /package/dist/{home-c4a05e8b.js → home-BUQ4USMk.js} +0 -0
  181. /package/dist/{index-8e1e2573.js → index-CQTJoWhb.js} +0 -0
  182. /package/dist/{info-circle-5826decc.js → info-circle-COnL5bTJ.js} +0 -0
  183. /package/dist/{loading-09ca52df.js → loading-Dcc5RApI.js} +0 -0
  184. /package/dist/{lock-1d2487c9.js → lock-Cr7BnmWN.js} +0 -0
  185. /package/dist/{message-b2bfdea7.js → message-D36_Zo2l.js} +0 -0
  186. /package/dist/{power-off-6ade5a91.js → power-off-lQRbiBak.js} +0 -0
  187. /package/dist/{preview-b291aea8.js → preview-CJbz9GjO.js} +0 -0
  188. /package/dist/{setting-1e5ccb6d.js → setting-DemlgzVC.js} +0 -0
  189. /package/dist/{team-ca6a12e1.js → team-tl4NJXPC.js} +0 -0
  190. /package/dist/{unlock-f56086fd.js → unlock-CeU74z9n.js} +0 -0
  191. /package/dist/{user-5c01e665.js → user-B-eVXwuk.js} +0 -0
  192. /package/dist/{warning-circle-035e025c.js → warning-circle-DDUgEDIv.js} +0 -0
  193. /package/dist/{warning-circle-fill-d17c37c9.js → warning-circle-fill-lODUKz0i.js} +0 -0
@@ -1 +0,0 @@
1
- export {};
@@ -1,36 +0,0 @@
1
- export declare class Progress extends HTMLElement {
2
- _progress: HTMLDivElement;
3
- _progressWrap: HTMLDivElement;
4
- _progressWrapValue: HTMLDivElement;
5
- _progressDot: HTMLDivElement;
6
- moveProgress: {
7
- mouseDown: boolean;
8
- };
9
- constructor();
10
- static get observedAttributes(): string[];
11
- get percent(): number;
12
- set percent(value: number);
13
- get total(): number;
14
- set total(value: string);
15
- get type(): string;
16
- set type(value: string);
17
- get animation(): string;
18
- set animation(value: string);
19
- get dot(): string;
20
- set dot(value: string);
21
- progressClick: (e: MouseEvent) => void;
22
- progressDotMouseDown: () => void;
23
- progressDotMouseMove: (e: MouseEvent) => void;
24
- progressDotMouseUp: (e: MouseEvent) => void;
25
- change: () => void;
26
- appendProgressDot: () => void;
27
- updateCurrentProgress: () => void;
28
- dragEvent: () => void;
29
- createProgress: () => void;
30
- private resize;
31
- connectedCallback(): void;
32
- disconnectCallback(): void;
33
- attributeChangedCallback(k: string, o: string, n: string): void;
34
- }
35
- declare const _default: import('../../utils/index').CustomErrorType | undefined;
36
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('../../utils/index').CustomErrorType;
2
- export default _default;
@@ -1,19 +0,0 @@
1
- declare class ScratchTicket extends HTMLElement {
2
- scratchTicketContainer: HTMLDivElement;
3
- scratchTicket: HTMLCanvasElement;
4
- state: {
5
- touchStart: boolean;
6
- scratchArea: number;
7
- };
8
- scratchAward: HTMLDivElement;
9
- static get observedAttributes(): string[];
10
- constructor();
11
- touchStartScratch: (e: TouchEvent) => void;
12
- touchMoveScratch: (e: TouchEvent) => void;
13
- touchEndScratch: () => void;
14
- drawScratchTicket: () => void;
15
- connectedCallback(): void;
16
- disconnectCallback(): void;
17
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
18
- }
19
- export default ScratchTicket;
@@ -1,105 +0,0 @@
1
- /// <reference types="node" />
2
- import type { Input } from '../input';
3
- interface Option {
4
- label: string | number;
5
- value: string | number;
6
- }
7
- export declare class Select extends HTMLElement {
8
- removeTimeId?: NodeJS.Timeout;
9
- _slot: HTMLSlotElement;
10
- _shadowDom: ShadowRoot;
11
- _select: HTMLDivElement;
12
- _selection: HTMLDivElement;
13
- _search: Input;
14
- _icon: HTMLElement;
15
- _selectDropdown?: HTMLDivElement;
16
- _selectionDropdown?: HTMLDivElement;
17
- _selectDropDownInTimeId?: NodeJS.Timeout;
18
- _selectDropDownOutTimeId?: NodeJS.Timeout;
19
- _optionList: Option[];
20
- _optionLabelMapValue: Map<string, string>;
21
- _optionValueMapLabel: Map<string, string>;
22
- _activeOption?: HTMLElement;
23
- _text: HTMLSpanElement;
24
- _selector: HTMLDivElement;
25
- onSearch: any;
26
- static get observedAttributes(): string[];
27
- constructor();
28
- get value(): string;
29
- set value(value: string);
30
- get defaultValue(): string;
31
- set defaultValue(value: string);
32
- get showSearch(): string;
33
- set showSearch(value: string);
34
- get type(): string;
35
- set type(value: string);
36
- get placement(): string;
37
- set placement(value: string);
38
- get sheet(): string;
39
- set sheet(value: string);
40
- get getPopupContainerId(): string;
41
- set getPopupContainerId(value: string);
42
- get dropdownclass(): string;
43
- set dropdownclass(value: string);
44
- get action(): string;
45
- set action(value: string);
46
- get disabled(): boolean;
47
- set disabled(value: boolean | string | undefined | null);
48
- handlerExternalCss(): void;
49
- /**
50
- * @description: 移除 select dropdown
51
- * @return {*}
52
- */
53
- setSelectDropdownDisplayNone: () => void;
54
- /**
55
- * @description: 添加 select dropdown
56
- * @return {*}
57
- */
58
- setSelectDropdownDisplayBlock: () => void;
59
- placementPosition: () => void;
60
- /**
61
- * @description: 设置下拉框
62
- * @return {*}
63
- */
64
- selectMouseDown: () => void;
65
- removeDropDownTimeId: () => void;
66
- /**
67
- * @description: 焦点移除的情况,需要移除select 下拉框
68
- * @return {*}
69
- */
70
- selectBlur: () => void;
71
- /**
72
- * @description: 选中一个选项的情况
73
- * @param {MouseEvent} e
74
- * @return {*}
75
- */
76
- clickOption: (e: MouseEvent) => void;
77
- /**
78
- * @description: 初始化创建选项下拉框
79
- * @return {*}
80
- */
81
- createOption: () => void;
82
- /**
83
- * @description: 移除选项下拉框
84
- * @return {*}
85
- */
86
- removeSelectDropdown: () => void;
87
- /**
88
- * @description: 当select中有option元素的时候,给dropdown添加元素
89
- * @return {*}
90
- */
91
- addOptionToSlot: () => void;
92
- createSelectDropdownContent: (options?: Option[]) => void;
93
- setDefaultValue: () => void;
94
- changeSearch: (e: Event) => void;
95
- setShowSearch: () => void;
96
- removeShowSearch: () => void;
97
- listenSlotChange: () => void;
98
- removeListenSlotChange: () => void;
99
- listenActionEvent: () => void;
100
- connectedCallback(): void;
101
- disconnectCallback(): void;
102
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
103
- }
104
- declare const _default: import('../../utils/index').CustomErrorType;
105
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: void;
2
- export default _default;
@@ -1,408 +0,0 @@
1
- declare const _default: {
2
- new (): {
3
- _container: HTMLDivElement;
4
- _header: HTMLDivElement;
5
- _nav: HTMLDivElement;
6
- _line: HTMLDivElement;
7
- _content: HTMLDivElement;
8
- _wrap: HTMLDivElement;
9
- _slot: HTMLSlotElement;
10
- tabHeaderKeyMapIndex: Record<string, number>;
11
- align: string;
12
- type: string;
13
- active: string | null;
14
- effect: string | null;
15
- /**
16
- * @description: 构建tabPane组件key值和index的映射,同时判断一个tabs下的tabPane key值不能重复
17
- * @param {string} key
18
- * @param {number} index
19
- */
20
- initTabHeaderKeyMapIndex: (key: string, index: number) => void;
21
- /**
22
- * @description: 根据传入的tabPane生成tabs的头部
23
- * @param {Element} tabPane
24
- * @param {number} index
25
- * @return {Element}
26
- */
27
- createTabHeader(tabPane: Element, index: number): HTMLElement;
28
- /**
29
- * @description: 初始化tabLine的位置,主要是当tabs的align属性为center时需要处理
30
- */
31
- initTabLineAlignCenter: () => void;
32
- /**
33
- * @description: 初始化tabLine的位置,主要是当tabs的align属性为end时需要处理
34
- */
35
- initTabLineAlignEnd: () => void;
36
- /**
37
- * @description: 通过key值设置tabLine的位置
38
- * @param {string} key
39
- */
40
- setTabLine: (key: string) => void;
41
- /**
42
- * @description: 通过传入的key值设置tabContent
43
- */
44
- setTabContent: (key: string) => void;
45
- /**
46
- * @description: 根据点击设置tabLine的位置
47
- * @param {Event} e
48
- * @param {number} index
49
- * @param {number} width
50
- */
51
- clickTabHead: (e: Event) => void;
52
- /**
53
- * @description: tabPane 设置属性,需要在 tabs 上展示时触发
54
- * @param {string} key
55
- * @param {string} value
56
- */
57
- updateAttribute: (key: string, attribute: string, value?: string | null) => void;
58
- /**
59
- * @description: 初始化tabs的active属性和tabLine,tabContent
60
- */
61
- initActive: () => void;
62
- /**
63
- * @description: 监听slot组件的添加/删除/替换操作,进行tabs初始化
64
- * @return {*}
65
- */
66
- listenSlotChange: () => void;
67
- /**
68
- * @description: 初始化tab
69
- */
70
- initTab: () => void;
71
- /**
72
- * @description: 卸载tab
73
- */
74
- unloadTab: () => void;
75
- connectedCallback(): void;
76
- disconnectCallback(): void;
77
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
78
- accessKey: string;
79
- readonly accessKeyLabel: string;
80
- autocapitalize: string;
81
- dir: string;
82
- draggable: boolean;
83
- hidden: boolean;
84
- inert: boolean;
85
- innerText: string;
86
- lang: string;
87
- readonly offsetHeight: number;
88
- readonly offsetLeft: number;
89
- readonly offsetParent: Element | null;
90
- readonly offsetTop: number;
91
- readonly offsetWidth: number;
92
- outerText: string;
93
- popover: string | null;
94
- spellcheck: boolean;
95
- title: string;
96
- translate: boolean;
97
- attachInternals(): ElementInternals;
98
- click(): void;
99
- hidePopover(): void;
100
- showPopover(): void;
101
- togglePopover(force?: boolean | undefined): void;
102
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
103
- addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
104
- removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
105
- removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
106
- mozRequestFullScreen: (options?: FullscreenOptions | undefined) => Promise<void>;
107
- msRequestFullscreen: (options?: FullscreenOptions | undefined) => Promise<void>;
108
- oRequestFullscreen: (options?: FullscreenOptions | undefined) => Promise<void>;
109
- webkitRequestFullscreen: (options?: FullscreenOptions | undefined) => Promise<void>;
110
- webkitEnterFullscreen: (options?: FullscreenOptions | undefined) => Promise<void>;
111
- readonly attributes: NamedNodeMap;
112
- readonly classList: DOMTokenList;
113
- className: string;
114
- readonly clientHeight: number;
115
- readonly clientLeft: number;
116
- readonly clientTop: number;
117
- readonly clientWidth: number;
118
- id: string;
119
- readonly localName: string;
120
- readonly namespaceURI: string | null;
121
- onfullscreenchange: ((this: Element, ev: Event) => any) | null;
122
- onfullscreenerror: ((this: Element, ev: Event) => any) | null;
123
- outerHTML: string;
124
- readonly ownerDocument: Document;
125
- readonly part: DOMTokenList;
126
- readonly prefix: string | null;
127
- readonly scrollHeight: number;
128
- scrollLeft: number;
129
- scrollTop: number;
130
- readonly scrollWidth: number;
131
- readonly shadowRoot: ShadowRoot | null;
132
- slot: string;
133
- readonly tagName: string;
134
- attachShadow(init: ShadowRootInit): ShadowRoot;
135
- checkVisibility(options?: CheckVisibilityOptions | undefined): boolean;
136
- closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
137
- closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
138
- closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4] | null;
139
- closest<E extends Element = Element>(selectors: string): E | null;
140
- computedStyleMap(): StylePropertyMapReadOnly;
141
- getAttribute(qualifiedName: string): string | null;
142
- getAttributeNS(namespace: string | null, localName: string): string | null;
143
- getAttributeNames(): string[];
144
- getAttributeNode(qualifiedName: string): Attr | null;
145
- getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
146
- getBoundingClientRect(): DOMRect;
147
- getClientRects(): DOMRectList;
148
- getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
149
- getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
150
- getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
151
- getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
152
- getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
153
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
154
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
155
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
156
- getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
157
- getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
158
- hasAttribute(qualifiedName: string): boolean;
159
- hasAttributeNS(namespace: string | null, localName: string): boolean;
160
- hasAttributes(): boolean;
161
- hasPointerCapture(pointerId: number): boolean;
162
- insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
163
- insertAdjacentHTML(position: InsertPosition, text: string): void;
164
- insertAdjacentText(where: InsertPosition, data: string): void;
165
- matches(selectors: string): boolean;
166
- releasePointerCapture(pointerId: number): void;
167
- removeAttribute(qualifiedName: string): void;
168
- removeAttributeNS(namespace: string | null, localName: string): void;
169
- removeAttributeNode(attr: Attr): Attr;
170
- requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
171
- requestPointerLock(): void;
172
- scroll(options?: ScrollToOptions | undefined): void;
173
- scroll(x: number, y: number): void;
174
- scrollBy(options?: ScrollToOptions | undefined): void;
175
- scrollBy(x: number, y: number): void;
176
- scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
177
- scrollTo(options?: ScrollToOptions | undefined): void;
178
- scrollTo(x: number, y: number): void;
179
- setAttribute(qualifiedName: string, value: string): void;
180
- setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
181
- setAttributeNode(attr: Attr): Attr | null;
182
- setAttributeNodeNS(attr: Attr): Attr | null;
183
- setPointerCapture(pointerId: number): void;
184
- toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
185
- webkitMatchesSelector(selectors: string): boolean;
186
- readonly baseURI: string;
187
- readonly childNodes: NodeListOf<ChildNode>;
188
- readonly firstChild: ChildNode | null;
189
- readonly isConnected: boolean;
190
- readonly lastChild: ChildNode | null;
191
- readonly nextSibling: ChildNode | null;
192
- readonly nodeName: string;
193
- readonly nodeType: number;
194
- nodeValue: string | null;
195
- readonly parentElement: HTMLElement | null;
196
- readonly parentNode: ParentNode | null;
197
- readonly previousSibling: ChildNode | null;
198
- textContent: string | null;
199
- appendChild<T extends Node>(node: T): T;
200
- cloneNode(deep?: boolean | undefined): Node;
201
- compareDocumentPosition(other: Node): number;
202
- contains(other: Node | null): boolean;
203
- getRootNode(options?: GetRootNodeOptions | undefined): Node;
204
- hasChildNodes(): boolean;
205
- insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
206
- isDefaultNamespace(namespace: string | null): boolean;
207
- isEqualNode(otherNode: Node | null): boolean;
208
- isSameNode(otherNode: Node | null): boolean;
209
- lookupNamespaceURI(prefix: string | null): string | null;
210
- lookupPrefix(namespace: string | null): string | null;
211
- normalize(): void;
212
- removeChild<T_2 extends Node>(child: T_2): T_2;
213
- replaceChild<T_3 extends Node>(node: Node, child: T_3): T_3;
214
- readonly ELEMENT_NODE: 1;
215
- readonly ATTRIBUTE_NODE: 2;
216
- readonly TEXT_NODE: 3;
217
- readonly CDATA_SECTION_NODE: 4;
218
- readonly ENTITY_REFERENCE_NODE: 5;
219
- readonly ENTITY_NODE: 6;
220
- readonly PROCESSING_INSTRUCTION_NODE: 7;
221
- readonly COMMENT_NODE: 8;
222
- readonly DOCUMENT_NODE: 9;
223
- readonly DOCUMENT_TYPE_NODE: 10;
224
- readonly DOCUMENT_FRAGMENT_NODE: 11;
225
- readonly NOTATION_NODE: 12;
226
- readonly DOCUMENT_POSITION_DISCONNECTED: 1;
227
- readonly DOCUMENT_POSITION_PRECEDING: 2;
228
- readonly DOCUMENT_POSITION_FOLLOWING: 4;
229
- readonly DOCUMENT_POSITION_CONTAINS: 8;
230
- readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
231
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
232
- dispatchEvent(event: Event): boolean;
233
- ariaAtomic: string | null;
234
- ariaAutoComplete: string | null;
235
- ariaBusy: string | null;
236
- ariaChecked: string | null;
237
- ariaColCount: string | null;
238
- ariaColIndex: string | null;
239
- ariaColSpan: string | null;
240
- ariaCurrent: string | null;
241
- ariaDisabled: string | null;
242
- ariaExpanded: string | null;
243
- ariaHasPopup: string | null;
244
- ariaHidden: string | null;
245
- ariaInvalid: string | null;
246
- ariaKeyShortcuts: string | null;
247
- ariaLabel: string | null;
248
- ariaLevel: string | null;
249
- ariaLive: string | null;
250
- ariaModal: string | null;
251
- ariaMultiLine: string | null;
252
- ariaMultiSelectable: string | null;
253
- ariaOrientation: string | null;
254
- ariaPlaceholder: string | null;
255
- ariaPosInSet: string | null;
256
- ariaPressed: string | null;
257
- ariaReadOnly: string | null;
258
- ariaRequired: string | null;
259
- ariaRoleDescription: string | null;
260
- ariaRowCount: string | null;
261
- ariaRowIndex: string | null;
262
- ariaRowSpan: string | null;
263
- ariaSelected: string | null;
264
- ariaSetSize: string | null;
265
- ariaSort: string | null;
266
- ariaValueMax: string | null;
267
- ariaValueMin: string | null;
268
- ariaValueNow: string | null;
269
- ariaValueText: string | null;
270
- role: string | null;
271
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
272
- getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
273
- after(...nodes: (string | Node)[]): void;
274
- before(...nodes: (string | Node)[]): void;
275
- remove(): void;
276
- replaceWith(...nodes: (string | Node)[]): void;
277
- innerHTML: string;
278
- readonly nextElementSibling: Element | null;
279
- readonly previousElementSibling: Element | null;
280
- readonly childElementCount: number;
281
- readonly children: HTMLCollection;
282
- readonly firstElementChild: Element | null;
283
- readonly lastElementChild: Element | null;
284
- append(...nodes: (string | Node)[]): void;
285
- prepend(...nodes: (string | Node)[]): void;
286
- querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9] | null;
287
- querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10] | null;
288
- querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11] | null;
289
- querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12] | null;
290
- querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
291
- querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
292
- querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
293
- querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
294
- querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
295
- querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
296
- replaceChildren(...nodes: (string | Node)[]): void;
297
- readonly assignedSlot: HTMLSlotElement | null;
298
- readonly attributeStyleMap: StylePropertyMap;
299
- readonly style: CSSStyleDeclaration;
300
- contentEditable: string;
301
- enterKeyHint: string;
302
- inputMode: string;
303
- readonly isContentEditable: boolean;
304
- onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
305
- onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
306
- onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
307
- onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
308
- onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
309
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
310
- onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
311
- onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
312
- oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
- oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
- oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
- onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
316
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
- onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
318
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
319
- oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
320
- oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
321
- oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
322
- ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
323
- ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
324
- ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
325
- ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
326
- ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
327
- ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
328
- ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
329
- ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
330
- ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
331
- onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
332
- onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
333
- onerror: OnErrorEventHandler;
334
- onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
335
- onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
336
- ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
337
- oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
- oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
- onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
340
- onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
341
- onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
342
- onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
- onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
- onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
- onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
- onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
347
- onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
348
- onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
349
- onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
350
- onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
351
- onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
352
- onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
353
- onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
354
- onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
355
- onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
356
- onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
357
- onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
358
- onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
359
- onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
360
- onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
361
- onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
362
- onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
363
- onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
364
- onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
365
- onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
366
- onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
367
- onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
368
- onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
369
- onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
370
- onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
371
- onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
372
- onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
373
- onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
374
- onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
375
- onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
376
- onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
377
- onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
378
- onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
379
- onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
380
- onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
381
- onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
382
- ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
383
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
384
- ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
385
- ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
386
- ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
387
- ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
388
- ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
389
- ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
390
- ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
391
- ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
392
- onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
393
- onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
394
- onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
395
- onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
396
- onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
397
- onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
398
- onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
399
- autofocus: boolean;
400
- readonly dataset: DOMStringMap;
401
- nonce?: string | undefined;
402
- tabIndex: number;
403
- blur(): void;
404
- focus(options?: FocusOptions | undefined): void;
405
- };
406
- readonly observedAttributes: string[];
407
- } | undefined;
408
- export default _default;