@dcloudio/uni-app-x 0.7.108 → 0.7.111

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.108",
3
+ "version": "0.7.111",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -150,6 +150,9 @@ declare global {
150
150
  * 目前仅限 android 平台,c 层方法
151
151
  * 创建文本布局(先缓存,后批量同步至kotlin层)
152
152
  * 接收三个参数:fid, eid, nodeId
153
+ * 需要将接收到的数据存储到 scope 的 _textLayouts 上边(可以考虑先临时存储成二维数组,最后传递给kt时,格式化成一维的IntArray)
154
+ * [len1, vueId, fid, eid, nodeId..., len2, vueId, fid, eid, nodeId..., ...]
155
+ * 每组数据前有一个 len,表示该组数据的元素个数(不含 len 本身)
153
156
  * @internal
154
157
  */
155
158
  _createTextLayout(fid: number, eid: number, nodeId: number): void
@@ -157,7 +160,7 @@ declare global {
157
160
  * 批量创建文本布局,kotlin 层方法
158
161
  * @internal
159
162
  */
160
- _createTextLayouts(ids: IntArray): void
163
+ _createTextLayouts(data: IntArray, offset: Int, len: Int): void
161
164
  /**
162
165
  * 由编译器动态生成的子类中的 Element 渲染器,C层
163
166
  * @internal
@@ -202,10 +205,10 @@ declare global {
202
205
  /**
203
206
  * 目前仅限 android 平台
204
207
  * 文本布局缓存数组
205
- * [[vueId, fid, eid, nodeId, nodeId]]
208
+ * [len1, vueId, fid, eid, nodeId..., len2, vueId, fid, eid, nodeId..., ...]
206
209
  * @internal
207
210
  */
208
- _textLayouts: Array<Array<number>>
211
+ _textLayouts: IntArray
209
212
 
210
213
  constructor(pageIdOrScope: number | UniSharedDataPage, options: UniSharedDataComponentOptions)
211
214
  /**