diff --git a/packages/action-sheet/README.md b/packages/action-sheet/README.md
index 8ba9a082..d6e91fef 100644
--- a/packages/action-sheet/README.md
+++ b/packages/action-sheet/README.md
@@ -179,6 +179,7 @@ Page({
| bind:contact | 客服消息回调,openType="contact"时有效 | - |
| bind:getphonenumber | 获取用户手机号回调,openType="getPhoneNumber"时有效 | - |
| bind:getrealtimephonenumber `v1.10.21` | 获取手机号实时验证回调,openType="getRealtimePhoneNumber"时有效 | - |
+| bind:agreeprivacyauthorization `v1.10.24` | 同意隐私协议回调,openType="agreePrivacyAuthorization"时有效 | - |
| bind:error | 当使用开放能力时,发生错误的回调,openType="launchApp"时有效 | - |
| bind:launchapp | 打开 APP 成功的回调,openType="launchApp"时有效 | - |
| bind:opensetting | 在打开授权设置页后回调,openType="openSetting"时有效 | - |
diff --git a/packages/action-sheet/test/__snapshots__/demo.spec.ts.snap b/packages/action-sheet/test/__snapshots__/demo.spec.ts.snap
index 26969114..b3fde23e 100644
--- a/packages/action-sheet/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/action-sheet/test/__snapshots__/demo.spec.ts.snap
@@ -31,6 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -97,6 +98,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -163,6 +165,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -229,6 +232,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -295,6 +299,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -361,6 +366,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/button/README.md b/packages/button/README.md
index 292250a5..79a8d737 100644
--- a/packages/button/README.md
+++ b/packages/button/README.md
@@ -157,6 +157,7 @@
| bind:contact | 客服消息回调 | - |
| bind:getphonenumber | 获取用户手机号回调 | - |
| bind:getrealtimephonenumber `v1.10.21` | 获取手机号实时验证回调,open-type=getRealtimePhoneNumber 时有效 | - |
+| bind:agreeprivacyauthorization `v1.10.24` | 同意隐私协议回调,openType="agreePrivacyAuthorization"时有效 | - |
| bind:error | 当使用开放能力时,发生错误的回调 | - |
| bind:opensetting | 在打开授权设置页后回调 | - |
| bind:chooseavatar | 当 open-type 的值为 chooseAvatar 时,选择头像之后的回调 |
diff --git a/packages/button/index.wxml b/packages/button/index.wxml
index b87b9b8f..bfe8bce8 100644
--- a/packages/button/index.wxml
+++ b/packages/button/index.wxml
@@ -23,6 +23,7 @@
bindcontact="onContact"
bindgetphonenumber="onGetPhoneNumber"
bindgetrealtimephonenumber="onGetRealTimePhoneNumber"
+ bindagreeprivacyauthorization="onAgreePrivacyAuthorization"
binderror="onError"
bindlaunchapp="onLaunchApp"
bindopensetting="onOpenSetting"
diff --git a/packages/button/test/__snapshots__/demo.spec.ts.snap b/packages/button/test/__snapshots__/demo.spec.ts.snap
index b3f065cc..8e563a55 100644
--- a/packages/button/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/button/test/__snapshots__/demo.spec.ts.snap
@@ -34,6 +34,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -71,6 +72,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -108,6 +110,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -146,6 +149,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -181,6 +185,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -229,6 +234,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -264,6 +270,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -312,6 +319,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -347,6 +355,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -395,6 +404,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -430,6 +440,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -478,6 +489,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -526,6 +538,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -609,6 +622,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -675,6 +689,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -710,6 +725,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -758,6 +774,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -802,6 +819,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -846,6 +864,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -909,6 +928,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -946,6 +966,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -983,6 +1004,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1018,6 +1040,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1066,6 +1089,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1101,6 +1125,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1149,6 +1174,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#fff;background:#7232dd;border-color:#7232dd"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1186,6 +1212,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#7232dd;border-color:#7232dd"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1221,6 +1248,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#fff;background:linear-gradient(to right, #4bb0ff, #6149f6);border:0"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/card/test/__snapshots__/demo.spec.ts.snap b/packages/card/test/__snapshots__/demo.spec.ts.snap
index 8dd9bfcc..034cce96 100644
--- a/packages/card/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/card/test/__snapshots__/demo.spec.ts.snap
@@ -218,6 +218,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -253,6 +254,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/config-provider/test/__snapshots__/demo.spec.ts.snap b/packages/config-provider/test/__snapshots__/demo.spec.ts.snap
index 05005b9f..ba0aeba0 100644
--- a/packages/config-provider/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/config-provider/test/__snapshots__/demo.spec.ts.snap
@@ -337,6 +337,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -697,6 +698,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/dialog/README.md b/packages/dialog/README.md
index 5c926b1a..ee238f44 100644
--- a/packages/dialog/README.md
+++ b/packages/dialog/README.md
@@ -292,6 +292,7 @@ Page({
| bind:contact | 客服消息回调 | - |
| bind:getphonenumber | 获取用户手机号回调 | - |
| bind:getrealtimephonenumber `v1.10.21` | 获取手机号实时验证回调,open-type=getRealtimePhoneNumber 时有效 | - |
+| bind:agreeprivacyauthorization `v1.10.24` | 同意隐私协议回调,openType="agreePrivacyAuthorization"时有效 | - |
| bind:error | 当使用开放能力时,发生错误的回调 | - |
| bind:opensetting | 在打开授权设置页后回调 | - |
diff --git a/packages/empty/test/__snapshots__/demo.spec.ts.snap b/packages/empty/test/__snapshots__/demo.spec.ts.snap
index 2b01e426..46ff706d 100644
--- a/packages/empty/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/empty/test/__snapshots__/demo.spec.ts.snap
@@ -304,6 +304,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/field/test/__snapshots__/demo.spec.ts.snap b/packages/field/test/__snapshots__/demo.spec.ts.snap
index f366c163..0d5526f5 100644
--- a/packages/field/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/field/test/__snapshots__/demo.spec.ts.snap
@@ -844,6 +844,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/goods-action/test/__snapshots__/demo.spec.ts.snap b/packages/goods-action/test/__snapshots__/demo.spec.ts.snap
index c0f9a51b..d67c246d 100644
--- a/packages/goods-action/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/goods-action/test/__snapshots__/demo.spec.ts.snap
@@ -45,6 +45,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -112,6 +113,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -180,6 +182,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -231,6 +234,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -298,6 +302,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -370,6 +375,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -442,6 +448,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -508,6 +515,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -557,6 +565,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -624,6 +633,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -689,6 +699,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -755,6 +766,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#fff;background:#be99ff;border-color:#be99ff"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -804,6 +816,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#fff;background:#7232dd;border-color:#7232dd"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -871,6 +884,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -936,6 +950,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1002,6 +1017,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#fff;background:#7232dd;border-color:#7232dd"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -1051,6 +1067,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="color:#7232dd;border-color:#7232dd"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/mixins/button.ts b/packages/mixins/button.ts
index 2bc8fdc0..c4e6bd9e 100644
--- a/packages/mixins/button.ts
+++ b/packages/mixins/button.ts
@@ -51,6 +51,10 @@ export const button = Behavior({
this.triggerEvent('opensetting', event.detail);
},
+ onAgreePrivacyAuthorization(event) {
+ this.triggerEvent('agreeprivacyauthorization', event.detail);
+ },
+
onChooseAvatar(
event: WechatMiniprogram.CustomEvent<
WechatMiniprogram.GeneralCallbackResult & { avatarUrl: string }
diff --git a/packages/notify/test/__snapshots__/demo.spec.ts.snap b/packages/notify/test/__snapshots__/demo.spec.ts.snap
index aec67c44..3e6f9ed8 100644
--- a/packages/notify/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/notify/test/__snapshots__/demo.spec.ts.snap
@@ -31,6 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -84,6 +85,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -122,6 +124,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -165,6 +168,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -203,6 +207,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -253,6 +258,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -290,6 +296,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -339,6 +346,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/overlay/test/__snapshots__/demo.spec.ts.snap b/packages/overlay/test/__snapshots__/demo.spec.ts.snap
index 606f63a8..3545acf2 100644
--- a/packages/overlay/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/overlay/test/__snapshots__/demo.spec.ts.snap
@@ -31,6 +31,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -90,6 +91,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/panel/test/__snapshots__/demo.spec.ts.snap b/packages/panel/test/__snapshots__/demo.spec.ts.snap
index 7c12a709..1240c27b 100644
--- a/packages/panel/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/panel/test/__snapshots__/demo.spec.ts.snap
@@ -140,6 +140,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -175,6 +176,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/steps/test/__snapshots__/demo.spec.ts.snap b/packages/steps/test/__snapshots__/demo.spec.ts.snap
index e9e9a5ef..4406f9f0 100644
--- a/packages/steps/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/steps/test/__snapshots__/demo.spec.ts.snap
@@ -174,6 +174,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/sticky/test/__snapshots__/demo.spec.ts.snap b/packages/sticky/test/__snapshots__/demo.spec.ts.snap
index 4fc14aa5..42278583 100644
--- a/packages/sticky/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/sticky/test/__snapshots__/demo.spec.ts.snap
@@ -38,6 +38,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="margin-left: 15px"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -98,6 +99,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="margin-left: 115px"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -162,6 +164,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="margin-left: 215px;"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -232,6 +235,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/submit-bar/test/__snapshots__/demo.spec.ts.snap b/packages/submit-bar/test/__snapshots__/demo.spec.ts.snap
index 6c96e446..0326b264 100644
--- a/packages/submit-bar/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/submit-bar/test/__snapshots__/demo.spec.ts.snap
@@ -75,6 +75,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="width: 100%;"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -189,6 +190,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="width: 100%;"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -286,6 +288,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="width: 100%;"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -416,6 +419,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style="width: 100%;"
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/toast/test/__snapshots__/demo.spec.ts.snap b/packages/toast/test/__snapshots__/demo.spec.ts.snap
index 410ba12c..462ee2c6 100644
--- a/packages/toast/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/toast/test/__snapshots__/demo.spec.ts.snap
@@ -32,6 +32,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -69,6 +70,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -118,6 +120,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -155,6 +158,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -204,6 +208,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -241,6 +246,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -289,6 +295,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
diff --git a/packages/uploader/test/__snapshots__/demo.spec.ts.snap b/packages/uploader/test/__snapshots__/demo.spec.ts.snap
index c7caba4c..80945da0 100644
--- a/packages/uploader/test/__snapshots__/demo.spec.ts.snap
+++ b/packages/uploader/test/__snapshots__/demo.spec.ts.snap
@@ -527,6 +527,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"
@@ -685,6 +686,7 @@ exports[`should render demo and match snapshot 1`] = `
sessionFrom=""
showMessageCard="{{false}}"
style=""
+ bind:agreeprivacyauthorization="onAgreePrivacyAuthorization"
bind:chooseavatar="onChooseAvatar"
bind:contact="onContact"
bind:error="onError"