@dcloudio/uni-app-x 0.7.101 → 0.7.102

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.101",
3
+ "version": "0.7.102",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -140,30 +140,13 @@ declare global {
140
140
  filterProperties?: boolean | null
141
141
  callback: (result: Array<[string, any | null]>) => void
142
142
  }): Map<string, any | null>
143
- /**
144
- * 目前仅限 android 平台
145
- * 文本布局缓存数组
146
- * @internal
147
- */
148
- _textLayouts: Array<[number, number, number]>
149
143
  /**
150
144
  * 目前仅限 android 平台
151
145
  * 创建文本布局(先缓存,后批量同步至kotlin层)
152
- * 接收三个参数:nodeId, fid, eid
153
- * 内部存储为数组解构_textLayouts[[nodeId, fid, eid]]
154
- * 应该统一存储在scope中(即页面上)
155
- * @internal
156
- */
157
- _createTextLayout(nodeId: number, fid: number, eid: number): void
158
- /**
159
- * 目前仅限 android 平台
160
- * 批量同步文本布局至kotlin层,kotlin层会根据_textLayouts数组进行处理(编译器生成指定函数switch执行具体的创建逻辑)
161
- * 需要确保调用时机(确保在排版之前同步触发):
162
- * 当页面首次渲染时,在调用c层renderElement之后同步调用
163
- * 当页面二次更新时,在flushJobs中所有element jobs执行完之后调用
146
+ * 接收三个参数:fid, eid, nodeId
164
147
  * @internal
165
148
  */
166
- _flushTextLayouts(): void
149
+ _createTextLayout(fid: number, eid: number, nodeId: number): void
167
150
  /**
168
151
  * 由编译器动态生成的子类中的 Element 渲染器
169
152
  * @internal
@@ -198,6 +181,13 @@ declare global {
198
181
  * @internal
199
182
  */
200
183
  _nativeViewJobs: Array<ReactiveEffect<any | null>>
184
+ /**
185
+ * 目前仅限 android 平台
186
+ * 文本布局缓存数组
187
+ * [[vueId, fid, eid, nodeId, nodeId]]
188
+ * @internal
189
+ */
190
+ _textLayouts: Array<Array<number>>
201
191
 
202
192
  constructor(pageId: number, options: UniSharedDataComponentOptions)
203
193
  /**
@@ -213,6 +203,15 @@ declare global {
213
203
  * @internal
214
204
  */
215
205
  _render: () => Promise<void>
206
+ /**
207
+ * 目前仅限 android 平台
208
+ * 批量同步文本布局至kotlin层,kotlin层会根据_textLayouts数组进行处理(编译器生成指定函数switch执行具体的创建逻辑)
209
+ * 需要确保调用时机(确保在排版之前同步触发):
210
+ * 当页面首次渲染时,在调用c层renderElement之后同步调用
211
+ * 当页面二次更新时,在flushJobs中所有element jobs执行完之后调用
212
+ * @internal
213
+ */
214
+ _flushTextLayouts(): void
216
215
  }
217
216
 
218
217
  abstract class UniSharedDataApp extends UniSharedData {
@@ -714,7 +714,7 @@ export interface Uni {
714
714
  * "osVer": "3.0",
715
715
  * "uniVer": "4.23",
716
716
  * "unixVer": "4.61",
717
- * "unixvVer": "x"
717
+ * "unixvVer": "5.0"
718
718
  * }
719
719
  * },
720
720
  * "mp": {
@@ -1,2 +1,2 @@
1
- export class UniPageContainerElement extends UniVueElement {
1
+ export class UniPageContainerElement extends UniElementImpl {
2
2
  }