@dcloudio/uni-app-x 0.7.104 → 0.7.105

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.104",
3
+ "version": "0.7.105",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -56,6 +56,12 @@ declare global {
56
56
  * @internal
57
57
  */
58
58
  _resetFlags(): void
59
+ /**
60
+ * 设置数据对象的属性值,并触发响应式更新(目前仅kotlin使用)
61
+ * @param key
62
+ * @param value
63
+ */
64
+ _setData(key: string, value: any | null): void
59
65
  constructor(scope: UniSharedDataPage)
60
66
  }
61
67
 
@@ -141,19 +147,31 @@ declare global {
141
147
  callback: (result: Array<[string, any | null]>) => void
142
148
  }): Map<string, any | null>
143
149
  /**
144
- * 目前仅限 android 平台
150
+ * 目前仅限 android 平台,c 层方法
145
151
  * 创建文本布局(先缓存,后批量同步至kotlin层)
146
152
  * 接收三个参数:fid, eid, nodeId
147
153
  * @internal
148
154
  */
149
155
  _createTextLayout(fid: number, eid: number, nodeId: number): void
150
156
  /**
151
- * 由编译器动态生成的子类中的 Element 渲染器
157
+ * 批量创建文本布局,kotlin 层方法
158
+ * @internal
159
+ */
160
+ _createTextLayouts(ids: IntArray): void
161
+ /**
162
+ * 由编译器动态生成的子类中的 Element 渲染器,C层
152
163
  * @internal
153
164
  */
154
- abstract _renderElement(): UniElementBlock
165
+ _renderElement(): UniElementBlock
166
+
167
+ /**
168
+ * 由编译器动态生成的子类中的 Kotlin Element 渲染器,kt层
169
+ * @internal
170
+ */
171
+ _renderKotlinElement(): UniElementBlock
172
+
155
173
  /**
156
- * 由编译器动态生成的子类中的 NativeView 渲染器
174
+ * 由编译器动态生成的子类中的 NativeView 渲染器,android平台是kt层,其他平台是c层
157
175
  * @internal
158
176
  */
159
177
  abstract _renderNativeView(): UniNativeViewBlock