@dcloudio/uni-app-x 0.7.113 → 0.7.115

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 (153) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniCSSPropertyId.d.ts +356 -351
  3. package/types/dom2-internal/sharedData.d.ts +221 -2
  4. package/types/node_modules/.package-lock.json +20 -0
  5. package/types/node_modules/typescript/LICENSE.txt +55 -0
  6. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  7. package/types/node_modules/typescript/bin/tsc +2 -0
  8. package/types/node_modules/typescript/bin/tsserver +2 -0
  9. package/types/node_modules/typescript/lib/cancellationToken.js +90 -0
  10. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +1880 -0
  11. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +1880 -0
  12. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +1880 -0
  13. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +1880 -0
  14. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +1880 -0
  15. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +1880 -0
  16. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +1880 -0
  17. package/types/node_modules/typescript/lib/lib.d.ts +22 -0
  18. package/types/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
  19. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  20. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +33 -0
  21. package/types/node_modules/typescript/lib/lib.dom.d.ts +28596 -0
  22. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +475 -0
  23. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  24. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  25. package/types/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  26. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  27. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +495 -0
  28. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  29. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  30. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  31. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  32. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  33. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  34. package/types/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  35. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  36. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  37. package/types/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
  38. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  39. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  40. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  41. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  42. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  43. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  44. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  45. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  46. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +43 -0
  47. package/types/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  48. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  49. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  50. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  51. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  52. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  53. package/types/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  54. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  55. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  56. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  57. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  58. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  59. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
  60. package/types/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  61. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  62. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  63. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  64. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  65. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  66. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  67. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  68. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +37 -0
  69. package/types/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  70. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  71. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  72. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  73. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  74. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  75. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  76. package/types/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
  77. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  78. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  79. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +117 -0
  80. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  81. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  82. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
  83. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  84. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  85. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  86. package/types/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  87. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  88. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  89. package/types/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
  90. package/types/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  91. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  92. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
  93. package/types/node_modules/typescript/lib/lib.esnext.d.ts +28 -0
  94. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  95. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
  96. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  97. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  98. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
  99. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
  100. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
  101. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
  102. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  103. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +33 -0
  104. package/types/node_modules/typescript/lib/lib.webworker.d.ts +9431 -0
  105. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  106. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +276 -0
  107. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +1880 -0
  108. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +1880 -0
  109. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +1880 -0
  110. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +1880 -0
  111. package/types/node_modules/typescript/lib/tsc.js +129741 -0
  112. package/types/node_modules/typescript/lib/tsserver.js +621 -0
  113. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  114. package/types/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  115. package/types/node_modules/typescript/lib/typesMap.json +497 -0
  116. package/types/node_modules/typescript/lib/typescript.d.ts +11240 -0
  117. package/types/node_modules/typescript/lib/typescript.js +194910 -0
  118. package/types/node_modules/typescript/lib/typingsInstaller.js +236 -0
  119. package/types/node_modules/typescript/lib/watchGuard.js +53 -0
  120. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +1880 -0
  121. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +1880 -0
  122. package/types/node_modules/typescript/package.json +116 -0
  123. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +2 -3
  124. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +2 -3
  125. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +0 -1155
  126. package/types/uni/uts-plugin-component/.temp/uni-camera.d.ts +0 -38
  127. package/types/uni/uts-plugin-component/.temp/uni-camera.ts +0 -52
  128. package/types/uni/uts-plugin-component/.temp/uni-canvas/utssdk/interface.uts +0 -976
  129. package/types/uni/uts-plugin-component/.temp/uni-canvas-dom2/utssdk/interface.uts +0 -976
  130. package/types/uni/uts-plugin-component/.temp/uni-editor.d.ts +0 -171
  131. package/types/uni/uts-plugin-component/.temp/uni-editor.ts +0 -237
  132. package/types/uni/uts-plugin-component/.temp/uni-form.d.ts +0 -2
  133. package/types/uni/uts-plugin-component/.temp/uni-form.ts +0 -1
  134. package/types/uni/uts-plugin-component/.temp/uni-input/utssdk/interface.uts +0 -0
  135. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.d.ts +0 -56
  136. package/types/uni/uts-plugin-component/.temp/uni-map-tencent.ts +0 -88
  137. package/types/uni/uts-plugin-component/.temp/uni-match-media.d.ts +0 -2
  138. package/types/uni/uts-plugin-component/.temp/uni-match-media.ts +0 -2
  139. package/types/uni/uts-plugin-component/.temp/uni-navigator.d.ts +0 -2
  140. package/types/uni/uts-plugin-component/.temp/uni-navigator.ts +0 -1
  141. package/types/uni/uts-plugin-component/.temp/uni-page-container.d.ts +0 -0
  142. package/types/uni/uts-plugin-component/.temp/uni-page-container.ts +0 -2
  143. package/types/uni/uts-plugin-component/.temp/uni-progress.d.ts +0 -2
  144. package/types/uni/uts-plugin-component/.temp/uni-progress.ts +0 -1
  145. package/types/uni/uts-plugin-component/.temp/uni-rich-text.d.ts +0 -7
  146. package/types/uni/uts-plugin-component/.temp/uni-rich-text.ts +0 -12
  147. package/types/uni/uts-plugin-component/.temp/uni-textarea/utssdk/interface.uts +0 -0
  148. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +0 -936
  149. package/types/uni/uts-plugin-component/.temp/uni-video.d.ts +0 -134
  150. package/types/uni/uts-plugin-component/.temp/uni-video.ts +0 -180
  151. package/types/uni/uts-plugin-component/.temp/uni-web-view/utssdk/interface.uts +0 -452
  152. package/types/uni/uts-plugin-component/.temp/uni-web-view.d.ts +0 -51
  153. package/types/uni/uts-plugin-component/.temp/uni-web-view.ts +0 -86
@@ -1,171 +0,0 @@
1
- declare class UniCustomEvent<T> {
2
- detail: T;
3
- constructor(type: string, detail: T);
4
- }
5
- export type UniEditorFocusEventDetail = {
6
- html: string;
7
- text: string;
8
- delta: any;
9
- };
10
- export declare class UniEditorFocusEvent extends UniCustomEvent<UniEditorFocusEventDetail> {
11
- constructor(html: string, text: string, delta: any);
12
- }
13
- export type UniEditorBlurEventDetail = {
14
- html: string;
15
- text: string;
16
- delta: any;
17
- };
18
- export declare class UniEditorBlurEvent extends UniCustomEvent<UniEditorBlurEventDetail> {
19
- constructor(html: string, text: string, delta: any);
20
- }
21
- export type UniEditorInputEventDetail = {
22
- html: string;
23
- text: string;
24
- delta: any;
25
- };
26
- export declare class UniEditorInputEvent extends UniCustomEvent<UniEditorInputEventDetail> {
27
- constructor(html: string, text: string, delta: any);
28
- }
29
- export type UniEditorStatusChangeEventDetail = {
30
- bold?: boolean;
31
- italic?: boolean;
32
- underline?: boolean;
33
- strike?: boolean;
34
- align?: string;
35
- lineHeight?: boolean;
36
- letterSpacing?: boolean;
37
- marginTop?: boolean;
38
- marginBottom?: boolean;
39
- fontFamily?: boolean;
40
- fontSize?: string;
41
- color?: string;
42
- backgroundColor?: string;
43
- list?: string;
44
- header?: number;
45
- script?: string;
46
- direction?: string;
47
- };
48
- export declare class UniEditorStatusChangeEvent extends UniCustomEvent<UniEditorStatusChangeEventDetail> {
49
- constructor(formats: UniEditorStatusChangeEventDetail);
50
- }
51
- declare class UniVueElement extends HTMLElement {
52
- }
53
- type OptionsSuccessRes = {
54
- errMsg: string;
55
- };
56
- type OptionsFailRes = {
57
- errMsg: string;
58
- };
59
- type OptionsCompleteRes = {
60
- errMsg: string;
61
- };
62
- type Options = {
63
- success: (res: OptionsSuccessRes) => void;
64
- fail: (res: OptionsFailRes) => void;
65
- complete: (res: OptionsCompleteRes) => void;
66
- };
67
- type InsertImageOptions = {
68
- src?: string | null;
69
- alt?: string | null;
70
- width?: string | null;
71
- height?: string | null;
72
- extClass?: string | null;
73
- data?: any;
74
- success: (res: OptionsSuccessRes) => void;
75
- fail: (res: OptionsFailRes) => void;
76
- complete: (res: OptionsCompleteRes) => void;
77
- };
78
- type InsertTextOptions = {
79
- text?: string | null;
80
- success: (res: OptionsSuccessRes) => void;
81
- fail: (res: OptionsFailRes) => void;
82
- complete: (res: OptionsCompleteRes) => void;
83
- };
84
- type SetContentsOptions = {
85
- delta?: any;
86
- html?: string | null;
87
- success: (res: OptionsSuccessRes) => void;
88
- fail: (res: OptionsFailRes) => void;
89
- complete: (res: OptionsCompleteRes) => void;
90
- };
91
- type GetSelectionTextOptionsRes = {
92
- text: string;
93
- };
94
- type GetSelectionTextOptions = {
95
- success: (res: GetSelectionTextOptionsRes) => void;
96
- fail: (res: OptionsFailRes) => void;
97
- complete: (res: OptionsCompleteRes) => void;
98
- };
99
- export declare class UniEditorElement extends UniVueElement {
100
- tagName: string;
101
- nodeName: string;
102
- /**
103
- * 格式化文本
104
- * @param name format name
105
- * @param value format value, optional, default is null
106
- */
107
- format(name: string, value?: string | number | null): void;
108
- /**
109
- * 插入分割线
110
- * @param options 回调选项 { success, fail, complete }
111
- */
112
- insertDivider(options: Options | null): void;
113
- /**
114
- * 插入图片
115
- * @param options 图片选项 { src, alt, width, height, extClass, data, success, fail, complete }
116
- */
117
- insertImage(options: InsertImageOptions | null): void;
118
- /**
119
- * 插入文本
120
- * @param options 文本选项 { text, success, fail, complete }
121
- */
122
- insertText(options: InsertTextOptions | null): void;
123
- /**
124
- * 设置内容
125
- * @param options 内容选项 { delta, html, success, fail, complete }
126
- */
127
- setContents(options: SetContentsOptions | null): void;
128
- /**
129
- * 获取内容
130
- * @param options 回调选项 { success, fail, complete }
131
- * @returns 在 success 回调中返回 { html, text, delta }
132
- */
133
- getContents(options: Options | null): void;
134
- /**
135
- * 清空内容
136
- * @param options 回调选项 { success, fail, complete }
137
- */
138
- clear(options: Options | null): void;
139
- /**
140
- * 移除格式
141
- * @param options 回调选项 { success, fail, complete }
142
- */
143
- removeFormat(options: Options | null): void;
144
- /**
145
- * 撤销
146
- * @param options 回调选项 { success, fail, complete }
147
- */
148
- undo(options: Options | null): void;
149
- /**
150
- * 重做
151
- * @param options 回调选项 { success, fail, complete }
152
- */
153
- redo(options: Options | null): void;
154
- /**
155
- * 失去焦点
156
- * @param options 回调选项 { success, fail, complete }
157
- */
158
- blur(options: Options | null): void;
159
- /**
160
- * 获取选中文本
161
- * @param options 回调选项 { success, fail, complete }
162
- * @returns 在 success 回调中返回 { text }
163
- */
164
- getSelectionText(options: GetSelectionTextOptions | null): void;
165
- /**
166
- * 滚动到可视区域
167
- * @param options 回调选项 { success, fail, complete }
168
- */
169
- scrollIntoView(options: Options | null): void;
170
- }
171
- export {};
@@ -1,237 +0,0 @@
1
- class UniCustomEvent<T> {
2
- detail : T
3
- constructor(type : string, detail : T) {
4
- // this.type = type
5
- this.detail = detail
6
- }
7
- }
8
-
9
-
10
- export type UniEditorFocusEventDetail = {
11
- html : string,
12
- text : string,
13
- delta : any
14
- }
15
- export class UniEditorFocusEvent extends UniCustomEvent<UniEditorFocusEventDetail> {
16
- constructor(html : string, text : string, delta : any) {
17
- super('focus', { html, text, delta } as UniEditorFocusEventDetail)
18
- }
19
- }
20
-
21
- export type UniEditorBlurEventDetail = {
22
- html : string,
23
- text : string,
24
- delta : any
25
- }
26
- export class UniEditorBlurEvent extends UniCustomEvent<UniEditorBlurEventDetail> {
27
- constructor(html : string, text : string, delta : any) {
28
- super('blur', { html, text, delta } as UniEditorBlurEventDetail)
29
- }
30
- }
31
-
32
- export type UniEditorInputEventDetail = {
33
- html : string,
34
- text : string,
35
- delta : any
36
- }
37
- export class UniEditorInputEvent extends UniCustomEvent<UniEditorInputEventDetail> {
38
- constructor(html : string, text : string, delta : any) {
39
- super('input', { html, text, delta } as UniEditorInputEventDetail)
40
- }
41
- }
42
-
43
- export type UniEditorStatusChangeEventDetail = {
44
- bold?: boolean
45
- italic?: boolean
46
- underline?: boolean
47
- strike?: boolean
48
- align?: string
49
- lineHeight?: boolean
50
- letterSpacing?: boolean
51
- marginTop?: boolean
52
- marginBottom?: boolean
53
- fontFamily?: boolean
54
- fontSize?: string
55
- color?: string
56
- backgroundColor?: string
57
- list?: string
58
- header?: number
59
- script?: string
60
- direction?: string
61
- }
62
- export class UniEditorStatusChangeEvent extends UniCustomEvent<UniEditorStatusChangeEventDetail> {
63
- constructor(formats: UniEditorStatusChangeEventDetail) {
64
- super('statuschange', formats as UniEditorStatusChangeEventDetail)
65
- }
66
- }
67
-
68
- // vapor 临时处理
69
- class UniVueElement extends HTMLElement { }
70
-
71
-
72
-
73
-
74
- type OptionsSuccessRes = {
75
- errMsg: string
76
- }
77
- type OptionsFailRes = {
78
- errMsg: string
79
- }
80
- type OptionsCompleteRes = {
81
- errMsg: string
82
- }
83
-
84
- type Options = {
85
- success: (res: OptionsSuccessRes) => void
86
- fail: (res: OptionsFailRes) => void
87
- complete: (res: OptionsCompleteRes) => void
88
- }
89
-
90
- type InsertImageOptions = {
91
- src?: string | null,
92
- alt?: string | null,
93
- width?: string | null,
94
- height?: string | null,
95
- extClass?: string | null,
96
- data?: any,
97
- success: (res: OptionsSuccessRes) => void
98
- fail: (res: OptionsFailRes) => void
99
- complete: (res: OptionsCompleteRes) => void
100
- }
101
-
102
- type InsertTextOptions = {
103
- text?: string | null,
104
- success: (res: OptionsSuccessRes) => void
105
- fail: (res: OptionsFailRes) => void
106
- complete: (res: OptionsCompleteRes) => void
107
- }
108
-
109
- type SetContentsOptions = {
110
- delta?: any,
111
- html?: string | null,
112
- success: (res: OptionsSuccessRes) => void
113
- fail: (res: OptionsFailRes) => void
114
- complete: (res: OptionsCompleteRes) => void
115
- }
116
-
117
- type GetSelectionTextOptionsRes = {
118
- text: string
119
- }
120
-
121
- type GetSelectionTextOptions = {
122
- success: (res: GetSelectionTextOptionsRes) => void
123
- fail: (res: OptionsFailRes) => void
124
- complete: (res: OptionsCompleteRes) => void
125
- }
126
-
127
- export class UniEditorElement extends UniVueElement {
128
- override tagName : string = 'EDITOR'
129
- override nodeName : string = 'EDITOR'
130
-
131
- /**
132
- * 格式化文本
133
- * @param name format name
134
- * @param value format value, optional, default is null
135
- */
136
- format(name: string, value: string | number | null = null) : void {
137
- this.vm?.format(name, value)
138
- }
139
-
140
- /**
141
- * 插入分割线
142
- * @param options 回调选项 { success, fail, complete }
143
- */
144
- insertDivider(options : Options | null) : void {
145
- this.vm?.insertDivider(options)
146
- }
147
-
148
- /**
149
- * 插入图片
150
- * @param options 图片选项 { src, alt, width, height, extClass, data, success, fail, complete }
151
- */
152
- insertImage(options : InsertImageOptions | null) : void {
153
- this.vm?.insertImage(options)
154
- }
155
-
156
- /**
157
- * 插入文本
158
- * @param options 文本选项 { text, success, fail, complete }
159
- */
160
- insertText(options : InsertTextOptions | null) : void {
161
- this.vm?.insertText(options)
162
- }
163
-
164
- /**
165
- * 设置内容
166
- * @param options 内容选项 { delta, html, success, fail, complete }
167
- */
168
- setContents(options : SetContentsOptions | null) : void {
169
- this.vm?.setContents(options)
170
- }
171
-
172
- /**
173
- * 获取内容
174
- * @param options 回调选项 { success, fail, complete }
175
- * @returns 在 success 回调中返回 { html, text, delta }
176
- */
177
- getContents(options : Options | null) : void {
178
- this.vm?.getContents(options)
179
- }
180
-
181
- /**
182
- * 清空内容
183
- * @param options 回调选项 { success, fail, complete }
184
- */
185
- clear(options : Options | null) : void {
186
- this.vm?.clear(options)
187
- }
188
-
189
- /**
190
- * 移除格式
191
- * @param options 回调选项 { success, fail, complete }
192
- */
193
- removeFormat(options : Options | null) : void {
194
- this.vm?.removeFormat(options)
195
- }
196
-
197
- /**
198
- * 撤销
199
- * @param options 回调选项 { success, fail, complete }
200
- */
201
- undo(options : Options | null) : void {
202
- this.vm?.undo(options)
203
- }
204
-
205
- /**
206
- * 重做
207
- * @param options 回调选项 { success, fail, complete }
208
- */
209
- redo(options : Options | null) : void {
210
- this.vm?.redo(options)
211
- }
212
-
213
- /**
214
- * 失去焦点
215
- * @param options 回调选项 { success, fail, complete }
216
- */
217
- override blur(options : Options | null) : void {
218
- this.vm?.blur(options)
219
- }
220
-
221
- /**
222
- * 获取选中文本
223
- * @param options 回调选项 { success, fail, complete }
224
- * @returns 在 success 回调中返回 { text }
225
- */
226
- getSelectionText(options : GetSelectionTextOptions | null) : void {
227
- this.vm?.getSelectionText(options)
228
- }
229
-
230
- /**
231
- * 滚动到可视区域
232
- * @param options 回调选项 { success, fail, complete }
233
- */
234
- scrollIntoView(options : Options | null) : void {
235
- this.vm?.scrollIntoView(options)
236
- }
237
- }
@@ -1,2 +0,0 @@
1
- export declare class UniButtonElement extends UniVueElement {
2
- }
@@ -1 +0,0 @@
1
- export class UniButtonElement extends UniVueElement {}
@@ -1,56 +0,0 @@
1
- export type UniMapUpdatedEventDetail = {};
2
- export declare class UniMapUpdatedEvent extends UniCustomEvent<UniMapUpdatedEventDetail> {
3
- constructor(type: string, detail: UniMapUpdatedEventDetail);
4
- }
5
- export type UniMapTapEventDetail = {
6
- latitude: number | null;
7
- longitude: number | null;
8
- };
9
- export declare class UniMapTapEvent extends UniPointerEvent {
10
- detail?: UniMapTapEventDetail;
11
- constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
12
- }
13
- export type UniMapRegionChangeEventDetail = {
14
- skew: number | null;
15
- rotate: number | null;
16
- };
17
- export declare class UniMapRegionChangeEvent extends UniCustomEvent<UniMapRegionChangeEventDetail | null> {
18
- causedBy?: string | null;
19
- constructor(type: string, detail: UniMapRegionChangeEventDetail | null);
20
- }
21
- export type UniMapMarkerTapEventDetail = {
22
- markerId: number | null;
23
- };
24
- export declare class UniMapMarkerTapEvent extends UniPointerEvent {
25
- detail?: UniMapMarkerTapEventDetail;
26
- constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
27
- }
28
- export type UniMapControlTapEventDetail = {
29
- controlId: number | null;
30
- };
31
- export declare class UniMapControlTapEvent extends UniCustomEvent<UniMapControlTapEventDetail> {
32
- constructor(type: string, detail: UniMapControlTapEventDetail);
33
- }
34
- export type UniMapAnchorPointTapEventDetail = {
35
- latitude: number | null;
36
- longitude: number | null;
37
- };
38
- export declare class UniMapAnchorPointTapEvent extends UniPointerEvent {
39
- detail?: UniMapAnchorPointTapEventDetail;
40
- constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
41
- }
42
- export type UniMapPoiTapEventDetail = {
43
- latitude: number | null;
44
- longitude: number | null;
45
- name: string | null;
46
- };
47
- export declare class UniMapPoiTapEvent extends UniPointerEvent {
48
- detail?: UniMapPoiTapEventDetail;
49
- constructor(type: string, x: number, y: number, clientX: number, clientY: number, pageX: number, pageY: number, screenX: number, screenY: number);
50
- }
51
- export type UniMapCalloutTapEventDetail = {
52
- markerId: number | null;
53
- };
54
- export declare class UniMapCalloutTapEvent extends UniCustomEvent<UniMapCalloutTapEventDetail> {
55
- constructor(type: string, detail: UniMapCalloutTapEventDetail);
56
- }
@@ -1,88 +0,0 @@
1
- export type UniMapUpdatedEventDetail = {}
2
- export class UniMapUpdatedEvent extends UniCustomEvent<UniMapUpdatedEventDetail> {
3
- constructor(type : string, detail : UniMapUpdatedEventDetail) {
4
- super(type, detail)
5
- }
6
- }
7
-
8
- export type UniMapTapEventDetail = {
9
- latitude : number | null;
10
- longitude : number | null;
11
- }
12
-
13
-
14
- export class UniMapTapEvent extends UniPointerEvent {
15
- detail ?: UniMapTapEventDetail = null
16
- constructor(type : string, x : number, y : number, clientX : number, clientY : number, pageX : number, pageY : number, screenX : number, screenY : number) {
17
- super(type, x, y, clientX, clientY, pageX, pageY, screenX, screenY)
18
- }
19
-
20
- }
21
-
22
- export type UniMapRegionChangeEventDetail = {
23
- skew : number | null;
24
- rotate : number | null;
25
- }
26
- export class UniMapRegionChangeEvent extends UniCustomEvent<UniMapRegionChangeEventDetail | null> {
27
- causedBy ?: string | null = null;
28
- constructor(type : string, detail : UniMapRegionChangeEventDetail | null) {
29
- super(type, detail)
30
- }
31
- }
32
-
33
- export type UniMapMarkerTapEventDetail = {
34
- markerId : number | null;
35
- }
36
- export class UniMapMarkerTapEvent extends UniPointerEvent {
37
-
38
- detail ?: UniMapMarkerTapEventDetail = null
39
- constructor(type : string, x : number, y : number, clientX : number, clientY : number, pageX : number, pageY : number, screenX : number, screenY : number) {
40
- super(type, x, y, clientX, clientY, pageX, pageY, screenX, screenY)
41
- }
42
-
43
- }
44
-
45
- export type UniMapControlTapEventDetail = {
46
- controlId : number | null;
47
- }
48
- export class UniMapControlTapEvent extends UniCustomEvent<UniMapControlTapEventDetail> {
49
- constructor(type : string, detail : UniMapControlTapEventDetail) {
50
- super(type, detail)
51
- }
52
- }
53
-
54
- export type UniMapAnchorPointTapEventDetail = {
55
- latitude : number | null;
56
- longitude : number | null;
57
- }
58
-
59
- export class UniMapAnchorPointTapEvent extends UniPointerEvent {
60
- detail ?: UniMapAnchorPointTapEventDetail = null
61
- constructor(type : string, x : number, y : number, clientX : number, clientY : number, pageX : number, pageY : number, screenX : number, screenY : number) {
62
- super(type, x, y, clientX, clientY, pageX, pageY, screenX, screenY)
63
- }
64
-
65
- }
66
-
67
- export type UniMapPoiTapEventDetail = {
68
- latitude : number | null;
69
- longitude : number | null;
70
- name : string | null;
71
- }
72
-
73
- export class UniMapPoiTapEvent extends UniPointerEvent {
74
- detail ?: UniMapPoiTapEventDetail = null
75
- constructor(type : string, x : number, y : number, clientX : number, clientY : number, pageX : number, pageY : number, screenX : number, screenY : number) {
76
- super(type, x, y, clientX, clientY, pageX, pageY, screenX, screenY)
77
- }
78
-
79
- }
80
-
81
- export type UniMapCalloutTapEventDetail = {
82
- markerId : number | null;
83
- }
84
- export class UniMapCalloutTapEvent extends UniCustomEvent<UniMapCalloutTapEventDetail> {
85
- constructor(type : string, detail : UniMapCalloutTapEventDetail) {
86
- super(type, detail)
87
- }
88
- }
@@ -1,2 +0,0 @@
1
- export declare class UniMatchMediaElement extends UniElementImpl {
2
- }
@@ -1,2 +0,0 @@
1
-
2
- export class UniMatchMediaElement extends UniElementImpl {}
@@ -1,2 +0,0 @@
1
- export declare class UniNavigatorElement extends UniVueElement {
2
- }
@@ -1 +0,0 @@
1
- export class UniNavigatorElement extends UniVueElement {}
@@ -1,2 +0,0 @@
1
- export declare class UniProgressElement extends UniVueElement {
2
- }
@@ -1 +0,0 @@
1
- export class UniProgressElement extends UniVueElement {}
@@ -1,7 +0,0 @@
1
- export type UniRichTextItemClickEventDetail = {
2
- src: string | null;
3
- href: string | null;
4
- };
5
- export declare class UniRichTextItemClickEvent extends UniCustomEvent<UniRichTextItemClickEventDetail> {
6
- constructor(type: string, detail: UniRichTextItemClickEventDetail);
7
- }
@@ -1,12 +0,0 @@
1
-
2
- export type UniRichTextItemClickEventDetail = {
3
- src : string | null
4
- href : string | null
5
- }
6
-
7
- export class UniRichTextItemClickEvent extends UniCustomEvent<UniRichTextItemClickEventDetail> {
8
- constructor(type : string, detail : UniRichTextItemClickEventDetail) {
9
- super(type, detail)
10
- }
11
- }
12
-