@fugood/bricks-project 2.23.0-beta.41 → 2.23.0-beta.42
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 +2 -2
- package/types/bricks/WebView.ts +7 -1
- package/utils/event-props.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.42",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "bun scripts/build.js"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"lodash": "^4.17.4",
|
|
15
15
|
"uuid": "^8.3.1"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "f5b6cdd736782df9ff1389eac650f738496f309f"
|
|
18
18
|
}
|
package/types/bricks/WebView.ts
CHANGED
|
@@ -69,7 +69,9 @@ Default property:
|
|
|
69
69
|
"cacheEnabled": true,
|
|
70
70
|
"geolocationEnabled": true,
|
|
71
71
|
"thirdPartyCookiesEnabled": true,
|
|
72
|
-
"javaScriptEnabled": true
|
|
72
|
+
"javaScriptEnabled": true,
|
|
73
|
+
"scrollEnabled": true,
|
|
74
|
+
"nestedScrollEnabled": true
|
|
73
75
|
}
|
|
74
76
|
*/
|
|
75
77
|
property?: BrickBasicProperty & {
|
|
@@ -113,6 +115,10 @@ Default property:
|
|
|
113
115
|
forMainFrameOnly?: boolean | DataLink
|
|
114
116
|
/* Inject JavaScript code before content loaded for main frame only (only `YES` supported for Android) */
|
|
115
117
|
beforeContentLoadedForMainFrameOnly?: boolean | DataLink
|
|
118
|
+
/* Enable scroll in WebView */
|
|
119
|
+
scrollEnabled?: boolean | DataLink
|
|
120
|
+
/* Enable nested scroll in WebView (Android only) */
|
|
121
|
+
nestedScrollEnabled?: boolean | DataLink
|
|
116
122
|
}
|
|
117
123
|
events?: BrickBasicEvents & {
|
|
118
124
|
/* Event of the WebView on load */
|
package/utils/event-props.ts
CHANGED
|
@@ -967,6 +967,7 @@ export const templateEventPropsMap = {
|
|
|
967
967
|
'GENERATOR_ASSISTANT_MESSAGES', // type: array
|
|
968
968
|
'GENERATOR_ASSISTANT_LAST_MESSAGE', // type: object
|
|
969
969
|
'GENERATOR_ASSISTANT_IS_ERROR', // type: bool
|
|
970
|
+
'GENERATOR_ASSISTANT_FINISH_REASON', // type: string
|
|
970
971
|
],
|
|
971
972
|
},
|
|
972
973
|
GENERATOR_VECTOR_STORE: {
|