@wix/himalaya-cli 0.1404.0 → 0.1405.0

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.
Files changed (102) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +6 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/extensions.d.ts +10 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/index.d.ts +102 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ai-site-chat.mjs +70 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  7. package/dist/cli.mjs +95 -37
  8. package/dist/preview-assets.generated.bin +0 -0
  9. package/fixtures/wix-canned.json +3 -0
  10. package/guides/component-reference.json +3 -2
  11. package/guides/component-reference.md +7 -1
  12. package/guides/importable-sdks.md +1 -0
  13. package/guides/sdk-reference.json +107 -0
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/config.ts +7 -0
  16. package/templates/beauty-salon/dev/index.ts +1750 -0
  17. package/templates/beauty-salon/himalaya.content.json +3 -0
  18. package/templates/beauty-salon/site-functions/README.md +37 -0
  19. package/templates/beauty-salon/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  20. package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +11 -3
  21. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  22. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  23. package/templates/branded-lite/config.ts +7 -0
  24. package/templates/branded-lite/dev/index.ts +1750 -0
  25. package/templates/branded-lite/himalaya.content.json +3 -0
  26. package/templates/branded-lite/site-functions/README.md +37 -0
  27. package/templates/branded-lite/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  28. package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +11 -3
  29. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  30. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  31. package/templates/community-club/config.ts +7 -0
  32. package/templates/community-club/dev/index.ts +1750 -0
  33. package/templates/community-club/himalaya.content.json +3 -0
  34. package/templates/community-club/site-functions/README.md +37 -0
  35. package/templates/community-club/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  36. package/templates/community-club/tier5-src/_shared/member-account-routes.ts +11 -3
  37. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  38. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  39. package/templates/events-meetups/config.ts +7 -0
  40. package/templates/events-meetups/dev/index.ts +1750 -0
  41. package/templates/events-meetups/himalaya.content.json +3 -0
  42. package/templates/events-meetups/site-functions/README.md +37 -0
  43. package/templates/events-meetups/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  44. package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +11 -3
  45. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  46. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  47. package/templates/gym-fitness/config.ts +7 -0
  48. package/templates/gym-fitness/dev/index.ts +1750 -0
  49. package/templates/gym-fitness/himalaya.content.json +3 -0
  50. package/templates/gym-fitness/site-functions/README.md +37 -0
  51. package/templates/gym-fitness/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  52. package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +11 -3
  53. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  54. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  55. package/templates/nonprofit-cause/config.ts +7 -0
  56. package/templates/nonprofit-cause/dev/index.ts +1750 -0
  57. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  58. package/templates/nonprofit-cause/site-functions/README.md +37 -0
  59. package/templates/nonprofit-cause/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  60. package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +11 -3
  61. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  62. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  63. package/templates/podcast-creator/config.ts +7 -0
  64. package/templates/podcast-creator/dev/index.ts +1750 -0
  65. package/templates/podcast-creator/himalaya.content.json +3 -0
  66. package/templates/podcast-creator/site-functions/README.md +37 -0
  67. package/templates/podcast-creator/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  68. package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +11 -3
  69. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  70. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  71. package/templates/portfolio-creative/config.ts +7 -0
  72. package/templates/portfolio-creative/dev/index.ts +1750 -0
  73. package/templates/portfolio-creative/himalaya.content.json +3 -0
  74. package/templates/portfolio-creative/site-functions/README.md +37 -0
  75. package/templates/portfolio-creative/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  76. package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +11 -3
  77. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  78. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  79. package/templates/restaurant/config.ts +7 -0
  80. package/templates/restaurant/dev/index.ts +1750 -0
  81. package/templates/restaurant/himalaya.content.json +3 -0
  82. package/templates/restaurant/site-functions/README.md +37 -0
  83. package/templates/restaurant/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  84. package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +11 -3
  85. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  86. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  87. package/templates/retail-store/config.ts +7 -0
  88. package/templates/retail-store/dev/index.ts +1750 -0
  89. package/templates/retail-store/himalaya.content.json +3 -0
  90. package/templates/retail-store/site-functions/README.md +37 -0
  91. package/templates/retail-store/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  92. package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +11 -3
  93. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  94. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  95. package/templates/yoga-studio/config.ts +7 -0
  96. package/templates/yoga-studio/dev/index.ts +1750 -0
  97. package/templates/yoga-studio/himalaya.content.json +3 -0
  98. package/templates/yoga-studio/site-functions/README.md +37 -0
  99. package/templates/yoga-studio/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  100. package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +11 -3
  101. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  102. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
@@ -5,6 +5,8 @@ import config from "../config.js";
5
5
 
6
6
  const runtimeSetting = (value: unknown): unknown => {
7
7
  if (value === "__HIMI_PODCAST_FEED_URL__") return process.env.PODCAST_FEED_URL?.trim() || "";
8
+ if (value === "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__") return process.env.HIMI_BRANDED_LITE_MEMBER_PHOTO_UPLOAD_FUNCTION?.trim() || "";
9
+ if (value === "__HIMI_MEMBER_SITE_URL__") return String((config as { auth?: { config?: { siteUrl?: unknown } } }).auth?.config?.siteUrl ?? "").trim();
8
10
  if (Array.isArray(value)) return value.map(runtimeSetting);
9
11
  if (!value || typeof value !== "object") return value;
10
12
  return Object.fromEntries(Object.entries(value).map(([key, child]) => [key, runtimeSetting(child)]));
@@ -3181,6 +3183,95 @@ const SCREENS = runtimeSetting({
3181
3183
  "hiddenPath": "$service:himiStoreAccount.notMember"
3182
3184
  }
3183
3185
  },
3186
+ {
3187
+ "id": "himi_account.settings",
3188
+ "body": {
3189
+ "package": "himalaya",
3190
+ "type": "HStack",
3191
+ "props": {
3192
+ "spacing": 12,
3193
+ "children": [
3194
+ {
3195
+ "id": "",
3196
+ "body": {
3197
+ "package": "himalaya",
3198
+ "type": "Icon",
3199
+ "props": {
3200
+ "name": "settings",
3201
+ "size": 18,
3202
+ "tint": "accentPrimary"
3203
+ }
3204
+ },
3205
+ "modifiers": {
3206
+ "accessibilityRole": "decorative"
3207
+ }
3208
+ },
3209
+ {
3210
+ "id": "",
3211
+ "body": {
3212
+ "package": "himalaya",
3213
+ "type": "Text",
3214
+ "props": {
3215
+ "text": "My Account",
3216
+ "style": "bodyEmphasis"
3217
+ }
3218
+ }
3219
+ },
3220
+ {
3221
+ "id": "",
3222
+ "body": {
3223
+ "package": "himalaya",
3224
+ "type": "Spacer",
3225
+ "props": {}
3226
+ }
3227
+ },
3228
+ {
3229
+ "id": "",
3230
+ "body": {
3231
+ "package": "himalaya",
3232
+ "type": "Icon",
3233
+ "props": {
3234
+ "name": "chevron_right",
3235
+ "size": 16,
3236
+ "tint": "textTertiary"
3237
+ }
3238
+ },
3239
+ "modifiers": {
3240
+ "accessibilityRole": "decorative"
3241
+ }
3242
+ }
3243
+ ]
3244
+ }
3245
+ },
3246
+ "modifiers": {
3247
+ "background": {
3248
+ "token": "surfaceElevated"
3249
+ },
3250
+ "border": {
3251
+ "width": 1,
3252
+ "color": {
3253
+ "token": "border"
3254
+ }
3255
+ },
3256
+ "cornerRadius": 8,
3257
+ "padding": {
3258
+ "leading": 14,
3259
+ "trailing": 14,
3260
+ "top": 13,
3261
+ "bottom": 13
3262
+ },
3263
+ "onTap": {
3264
+ "actionId": "himi.open",
3265
+ "params": {
3266
+ "screenId": "himi_account_settings"
3267
+ }
3268
+ },
3269
+ "pressFeedback": "scale",
3270
+ "haptic": "light",
3271
+ "accessibilityLabel": "My Account",
3272
+ "hiddenPath": "$service:himiStoreAccount.notMember"
3273
+ }
3274
+ },
3184
3275
  {
3185
3276
  "id": "himi_account.subscriptions_guest",
3186
3277
  "body": {
@@ -3761,6 +3852,1665 @@ const SCREENS = runtimeSetting({
3761
3852
  "bundleVersion": "0.0.1"
3762
3853
  }
3763
3854
  },
3855
+ "himi_account_settings": {
3856
+ "screenId": "himi_account_settings",
3857
+ "renderer": "sdui_intent",
3858
+ "title": "",
3859
+ "schemaVersion": 1,
3860
+ "cacheControl": {
3861
+ "maxAge": 0,
3862
+ "staleWhileRevalidate": 0
3863
+ },
3864
+ "payload": {
3865
+ "id": "himi_account_settings.root",
3866
+ "body": {
3867
+ "package": "himalaya",
3868
+ "type": "VStack",
3869
+ "props": {
3870
+ "spacing": 16,
3871
+ "alignment": "leading",
3872
+ "children": [
3873
+ {
3874
+ "id": "himi_account_settings.title",
3875
+ "body": {
3876
+ "package": "himalaya",
3877
+ "type": "Text",
3878
+ "props": {
3879
+ "text": "My Account",
3880
+ "style": "title1"
3881
+ }
3882
+ }
3883
+ },
3884
+ {
3885
+ "id": "",
3886
+ "body": {
3887
+ "package": "himalaya",
3888
+ "type": "Text",
3889
+ "props": {
3890
+ "text": "Update the profile details connected to your member account.",
3891
+ "style": "body",
3892
+ "color": "textSecondary"
3893
+ }
3894
+ }
3895
+ },
3896
+ {
3897
+ "id": "himi_account_settings.loading",
3898
+ "body": {
3899
+ "package": "himalaya",
3900
+ "type": "Skeleton",
3901
+ "props": {
3902
+ "height": 72,
3903
+ "cornerRadius": 12,
3904
+ "count": 3
3905
+ }
3906
+ },
3907
+ "modifiers": {
3908
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
3909
+ }
3910
+ },
3911
+ {
3912
+ "id": "himi_account_settings.error",
3913
+ "body": {
3914
+ "package": "himalaya",
3915
+ "type": "VStack",
3916
+ "props": {
3917
+ "spacing": 8,
3918
+ "alignment": "leading",
3919
+ "children": [
3920
+ {
3921
+ "id": "",
3922
+ "body": {
3923
+ "package": "himalaya",
3924
+ "type": "Text",
3925
+ "props": {
3926
+ "text": "$service:himiBrandedAccountSettings.error",
3927
+ "style": "body",
3928
+ "collapseWhenEmpty": true
3929
+ }
3930
+ }
3931
+ },
3932
+ {
3933
+ "id": "himi_account_settings.retry",
3934
+ "body": {
3935
+ "package": "himalaya",
3936
+ "type": "Button",
3937
+ "props": {
3938
+ "title": "Try again",
3939
+ "style": "secondary",
3940
+ "action": {
3941
+ "actionId": "tier5.himiBrandedAccountSettings.load",
3942
+ "params": {
3943
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
3944
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
3945
+ }
3946
+ }
3947
+ }
3948
+ }
3949
+ },
3950
+ {
3951
+ "id": "himi_account_settings.sign_in",
3952
+ "body": {
3953
+ "package": "himalaya",
3954
+ "type": "Button",
3955
+ "props": {
3956
+ "title": "Sign in",
3957
+ "style": "primary",
3958
+ "action": {
3959
+ "actionId": "himi.open",
3960
+ "params": {
3961
+ "screenId": "himi_account",
3962
+ "returnScreenId": "himi_account_settings"
3963
+ }
3964
+ }
3965
+ }
3966
+ },
3967
+ "modifiers": {
3968
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
3969
+ }
3970
+ }
3971
+ ]
3972
+ }
3973
+ },
3974
+ "modifiers": {
3975
+ "background": {
3976
+ "token": "surfaceElevated"
3977
+ },
3978
+ "border": {
3979
+ "width": 1,
3980
+ "color": {
3981
+ "token": "border"
3982
+ }
3983
+ },
3984
+ "cornerRadius": 16,
3985
+ "padding": {
3986
+ "leading": 16,
3987
+ "trailing": 16,
3988
+ "top": 16,
3989
+ "bottom": 16
3990
+ },
3991
+ "hiddenPath": "$service:himiBrandedAccountSettings.notErrored"
3992
+ }
3993
+ },
3994
+ {
3995
+ "id": "",
3996
+ "body": {
3997
+ "package": "himalaya",
3998
+ "type": "VStack",
3999
+ "props": {
4000
+ "spacing": 18,
4001
+ "alignment": "leading",
4002
+ "children": [
4003
+ {
4004
+ "id": "",
4005
+ "body": {
4006
+ "package": "himalaya",
4007
+ "type": "Text",
4008
+ "props": {
4009
+ "text": "Display info",
4010
+ "style": "title2"
4011
+ }
4012
+ }
4013
+ },
4014
+ {
4015
+ "id": "himi_account_settings.photo_upload",
4016
+ "body": {
4017
+ "package": "himalaya",
4018
+ "type": "MediaField",
4019
+ "props": {
4020
+ "valuePath": "$service:himiBrandedAccountSettings.photoDisplayUrl",
4021
+ "uploadService": "himiBrandedAccountSettings",
4022
+ "label": "Choose a profile photo",
4023
+ "presentation": "avatar",
4024
+ "fallbackTextPath": "$service:himiBrandedAccountSettings.memberInitials",
4025
+ "heading": "Profile photo"
4026
+ }
4027
+ },
4028
+ "modifiers": {
4029
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4030
+ }
4031
+ },
4032
+ {
4033
+ "id": "",
4034
+ "body": {
4035
+ "package": "himalaya",
4036
+ "type": "HStack",
4037
+ "props": {
4038
+ "spacing": 14,
4039
+ "children": [
4040
+ {
4041
+ "id": "himi_account_settings.read_only_avatar",
4042
+ "body": {
4043
+ "package": "himalaya",
4044
+ "type": "Image",
4045
+ "props": {
4046
+ "url": "$service:himiBrandedAccountSettings.memberImage",
4047
+ "width": 72,
4048
+ "height": 72,
4049
+ "contentMode": "fill",
4050
+ "shape": "circle",
4051
+ "contentDescription": "Profile photo"
4052
+ }
4053
+ },
4054
+ "modifiers": {
4055
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMemberImage"
4056
+ }
4057
+ },
4058
+ {
4059
+ "id": "",
4060
+ "body": {
4061
+ "package": "himalaya",
4062
+ "type": "ZStack",
4063
+ "props": {
4064
+ "alignment": "center",
4065
+ "children": [
4066
+ {
4067
+ "id": "",
4068
+ "body": {
4069
+ "package": "himalaya",
4070
+ "type": "Text",
4071
+ "props": {
4072
+ "text": "$service:himiBrandedAccountSettings.memberInitials",
4073
+ "style": "title2",
4074
+ "color": "textOnAccent"
4075
+ }
4076
+ }
4077
+ }
4078
+ ]
4079
+ }
4080
+ },
4081
+ "modifiers": {
4082
+ "width": 72,
4083
+ "height": 72,
4084
+ "background": {
4085
+ "token": "accentPrimary"
4086
+ },
4087
+ "cornerRadius": 36,
4088
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasMemberImage"
4089
+ }
4090
+ },
4091
+ {
4092
+ "id": "",
4093
+ "body": {
4094
+ "package": "himalaya",
4095
+ "type": "VStack",
4096
+ "props": {
4097
+ "spacing": 4,
4098
+ "alignment": "leading",
4099
+ "children": [
4100
+ {
4101
+ "id": "",
4102
+ "body": {
4103
+ "package": "himalaya",
4104
+ "type": "Text",
4105
+ "props": {
4106
+ "text": "Profile photo",
4107
+ "style": "body",
4108
+ "color": "textSecondary"
4109
+ }
4110
+ }
4111
+ },
4112
+ {
4113
+ "id": "",
4114
+ "body": {
4115
+ "package": "himalaya",
4116
+ "type": "Text",
4117
+ "props": {
4118
+ "text": "Your profile photo is managed on the Wix site.",
4119
+ "style": "footnote",
4120
+ "color": "textSecondary"
4121
+ }
4122
+ }
4123
+ }
4124
+ ]
4125
+ }
4126
+ }
4127
+ }
4128
+ ]
4129
+ }
4130
+ },
4131
+ "modifiers": {
4132
+ "hiddenPath": "$service:himiBrandedAccountSettings.photoUploadAvailable"
4133
+ }
4134
+ },
4135
+ {
4136
+ "id": "",
4137
+ "body": {
4138
+ "package": "himalaya",
4139
+ "type": "Text",
4140
+ "props": {
4141
+ "text": "Your photo is uploaded now and saved with Update info. Discard clears the selection.",
4142
+ "style": "footnote",
4143
+ "color": "textSecondary"
4144
+ }
4145
+ },
4146
+ "modifiers": {
4147
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4148
+ }
4149
+ },
4150
+ {
4151
+ "id": "himi_account_settings.photo_upload_error",
4152
+ "body": {
4153
+ "package": "himalaya",
4154
+ "type": "Text",
4155
+ "props": {
4156
+ "text": "$service:himiBrandedAccountSettings.photoUploadError",
4157
+ "style": "footnote",
4158
+ "color": "danger",
4159
+ "collapseWhenEmpty": true
4160
+ }
4161
+ }
4162
+ },
4163
+ {
4164
+ "id": "",
4165
+ "body": {
4166
+ "package": "himalaya",
4167
+ "type": "VStack",
4168
+ "props": {
4169
+ "spacing": 5,
4170
+ "alignment": "leading",
4171
+ "children": [
4172
+ {
4173
+ "id": "",
4174
+ "body": {
4175
+ "package": "himalaya",
4176
+ "type": "Text",
4177
+ "props": {
4178
+ "text": "Display name",
4179
+ "style": "footnote",
4180
+ "color": "textSecondary"
4181
+ }
4182
+ }
4183
+ },
4184
+ {
4185
+ "id": "himi_account_settings.displayName",
4186
+ "body": {
4187
+ "package": "himalaya",
4188
+ "type": "TextField",
4189
+ "props": {
4190
+ "valuePath": "$service:himiBrandedAccountSettings.displayName",
4191
+ "placeholder": "Display name",
4192
+ "autoCapitalization": "words",
4193
+ "onChange": {
4194
+ "actionId": "tier5.himiBrandedAccountSettings.setDisplayName"
4195
+ },
4196
+ "validation": {
4197
+ "required": true
4198
+ },
4199
+ "errorPath": "$service:himiBrandedAccountSettings.displayNameError"
4200
+ }
4201
+ }
4202
+ }
4203
+ ]
4204
+ }
4205
+ }
4206
+ },
4207
+ {
4208
+ "id": "",
4209
+ "body": {
4210
+ "package": "himalaya",
4211
+ "type": "VStack",
4212
+ "props": {
4213
+ "spacing": 5,
4214
+ "alignment": "leading",
4215
+ "children": [
4216
+ {
4217
+ "id": "",
4218
+ "body": {
4219
+ "package": "himalaya",
4220
+ "type": "Text",
4221
+ "props": {
4222
+ "text": "Title",
4223
+ "style": "footnote",
4224
+ "color": "textSecondary"
4225
+ }
4226
+ }
4227
+ },
4228
+ {
4229
+ "id": "himi_account_settings.title",
4230
+ "body": {
4231
+ "package": "himalaya",
4232
+ "type": "TextField",
4233
+ "props": {
4234
+ "valuePath": "$service:himiBrandedAccountSettings.title",
4235
+ "placeholder": "Title",
4236
+ "autoCapitalization": "words",
4237
+ "onChange": {
4238
+ "actionId": "tier5.himiBrandedAccountSettings.setTitle"
4239
+ },
4240
+ "errorPath": "$service:himiBrandedAccountSettings.titleError"
4241
+ }
4242
+ }
4243
+ }
4244
+ ]
4245
+ }
4246
+ }
4247
+ },
4248
+ {
4249
+ "id": "",
4250
+ "body": {
4251
+ "package": "himalaya",
4252
+ "type": "Text",
4253
+ "props": {
4254
+ "text": "Personal info",
4255
+ "style": "title2"
4256
+ }
4257
+ }
4258
+ },
4259
+ {
4260
+ "id": "",
4261
+ "body": {
4262
+ "package": "himalaya",
4263
+ "type": "VStack",
4264
+ "props": {
4265
+ "spacing": 5,
4266
+ "alignment": "leading",
4267
+ "children": [
4268
+ {
4269
+ "id": "",
4270
+ "body": {
4271
+ "package": "himalaya",
4272
+ "type": "Text",
4273
+ "props": {
4274
+ "text": "First name",
4275
+ "style": "footnote",
4276
+ "color": "textSecondary"
4277
+ }
4278
+ }
4279
+ },
4280
+ {
4281
+ "id": "himi_account_settings.firstName",
4282
+ "body": {
4283
+ "package": "himalaya",
4284
+ "type": "TextField",
4285
+ "props": {
4286
+ "valuePath": "$service:himiBrandedAccountSettings.firstName",
4287
+ "placeholder": "First name",
4288
+ "autoCapitalization": "words",
4289
+ "onChange": {
4290
+ "actionId": "tier5.himiBrandedAccountSettings.setFirstName"
4291
+ },
4292
+ "errorPath": "$service:himiBrandedAccountSettings.firstNameError"
4293
+ }
4294
+ }
4295
+ }
4296
+ ]
4297
+ }
4298
+ }
4299
+ },
4300
+ {
4301
+ "id": "",
4302
+ "body": {
4303
+ "package": "himalaya",
4304
+ "type": "VStack",
4305
+ "props": {
4306
+ "spacing": 5,
4307
+ "alignment": "leading",
4308
+ "children": [
4309
+ {
4310
+ "id": "",
4311
+ "body": {
4312
+ "package": "himalaya",
4313
+ "type": "Text",
4314
+ "props": {
4315
+ "text": "Last name",
4316
+ "style": "footnote",
4317
+ "color": "textSecondary"
4318
+ }
4319
+ }
4320
+ },
4321
+ {
4322
+ "id": "himi_account_settings.lastName",
4323
+ "body": {
4324
+ "package": "himalaya",
4325
+ "type": "TextField",
4326
+ "props": {
4327
+ "valuePath": "$service:himiBrandedAccountSettings.lastName",
4328
+ "placeholder": "Last name",
4329
+ "autoCapitalization": "words",
4330
+ "onChange": {
4331
+ "actionId": "tier5.himiBrandedAccountSettings.setLastName"
4332
+ },
4333
+ "errorPath": "$service:himiBrandedAccountSettings.lastNameError"
4334
+ }
4335
+ }
4336
+ }
4337
+ ]
4338
+ }
4339
+ }
4340
+ },
4341
+ {
4342
+ "id": "",
4343
+ "body": {
4344
+ "package": "himalaya",
4345
+ "type": "VStack",
4346
+ "props": {
4347
+ "spacing": 5,
4348
+ "alignment": "leading",
4349
+ "children": [
4350
+ {
4351
+ "id": "",
4352
+ "body": {
4353
+ "package": "himalaya",
4354
+ "type": "Text",
4355
+ "props": {
4356
+ "text": "Phone",
4357
+ "style": "footnote",
4358
+ "color": "textSecondary"
4359
+ }
4360
+ }
4361
+ },
4362
+ {
4363
+ "id": "himi_account_settings.phone",
4364
+ "body": {
4365
+ "package": "himalaya",
4366
+ "type": "TextField",
4367
+ "props": {
4368
+ "valuePath": "$service:himiBrandedAccountSettings.phone",
4369
+ "placeholder": "Phone",
4370
+ "keyboard": "phone",
4371
+ "autoCapitalization": "words",
4372
+ "onChange": {
4373
+ "actionId": "tier5.himiBrandedAccountSettings.setPhone"
4374
+ },
4375
+ "errorPath": "$service:himiBrandedAccountSettings.phoneError"
4376
+ }
4377
+ }
4378
+ }
4379
+ ]
4380
+ }
4381
+ }
4382
+ },
4383
+ {
4384
+ "id": "",
4385
+ "body": {
4386
+ "package": "himalaya",
4387
+ "type": "Text",
4388
+ "props": {
4389
+ "text": "Clearing this field removes the primary phone number. Other saved numbers are kept.",
4390
+ "style": "caption",
4391
+ "color": "textSecondary"
4392
+ }
4393
+ }
4394
+ },
4395
+ {
4396
+ "id": "",
4397
+ "body": {
4398
+ "package": "himalaya",
4399
+ "type": "Text",
4400
+ "props": {
4401
+ "text": "Login info",
4402
+ "style": "title2"
4403
+ }
4404
+ }
4405
+ },
4406
+ {
4407
+ "id": "",
4408
+ "body": {
4409
+ "package": "himalaya",
4410
+ "type": "Text",
4411
+ "props": {
4412
+ "text": "Login email",
4413
+ "style": "footnote",
4414
+ "color": "textSecondary"
4415
+ }
4416
+ }
4417
+ },
4418
+ {
4419
+ "id": "himi_account_settings.login_email",
4420
+ "body": {
4421
+ "package": "himalaya",
4422
+ "type": "Text",
4423
+ "props": {
4424
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
4425
+ "style": "body"
4426
+ }
4427
+ }
4428
+ },
4429
+ {
4430
+ "id": "",
4431
+ "body": {
4432
+ "package": "himalaya",
4433
+ "type": "HStack",
4434
+ "props": {
4435
+ "spacing": 10,
4436
+ "children": [
4437
+ {
4438
+ "id": "himi_account_settings.change_email",
4439
+ "body": {
4440
+ "package": "himalaya",
4441
+ "type": "Button",
4442
+ "props": {
4443
+ "title": "Change email",
4444
+ "style": "secondary",
4445
+ "action": {
4446
+ "actionId": "tier5.himiBrandedAccountSettings.openEmailPanel"
4447
+ }
4448
+ }
4449
+ }
4450
+ },
4451
+ {
4452
+ "id": "himi_account_settings.change_password",
4453
+ "body": {
4454
+ "package": "himalaya",
4455
+ "type": "Button",
4456
+ "props": {
4457
+ "title": "Change password",
4458
+ "style": "primary",
4459
+ "action": {
4460
+ "actionId": "tier5.himiBrandedAccountSettings.openPasswordPanel"
4461
+ }
4462
+ }
4463
+ },
4464
+ "modifiers": {
4465
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPasswordCredentialSupport"
4466
+ }
4467
+ }
4468
+ ]
4469
+ }
4470
+ }
4471
+ },
4472
+ {
4473
+ "id": "",
4474
+ "body": {
4475
+ "package": "himalaya",
4476
+ "type": "VStack",
4477
+ "props": {
4478
+ "spacing": 8,
4479
+ "alignment": "leading",
4480
+ "children": [
4481
+ {
4482
+ "id": "",
4483
+ "body": {
4484
+ "package": "himalaya",
4485
+ "type": "Text",
4486
+ "props": {
4487
+ "text": "Update the app to change your password, or manage it on the website.",
4488
+ "style": "footnote",
4489
+ "color": "textSecondary"
4490
+ }
4491
+ },
4492
+ "modifiers": {
4493
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4494
+ }
4495
+ },
4496
+ {
4497
+ "id": "",
4498
+ "body": {
4499
+ "package": "himalaya",
4500
+ "type": "Text",
4501
+ "props": {
4502
+ "text": "Update the app to change your password.",
4503
+ "style": "footnote",
4504
+ "color": "textSecondary"
4505
+ }
4506
+ },
4507
+ "modifiers": {
4508
+ "hiddenPath": "$service:himiBrandedAccountSettings.siteHandoff"
4509
+ }
4510
+ },
4511
+ {
4512
+ "id": "himi_account_settings.password_website",
4513
+ "body": {
4514
+ "package": "himalaya",
4515
+ "type": "Button",
4516
+ "props": {
4517
+ "title": "Visit website",
4518
+ "style": "secondary",
4519
+ "action": {
4520
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
4521
+ }
4522
+ }
4523
+ },
4524
+ "modifiers": {
4525
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4526
+ }
4527
+ }
4528
+ ]
4529
+ }
4530
+ },
4531
+ "modifiers": {
4532
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordCredentialSupported"
4533
+ }
4534
+ },
4535
+ {
4536
+ "id": "",
4537
+ "body": {
4538
+ "package": "himalaya",
4539
+ "type": "Text",
4540
+ "props": {
4541
+ "text": "Profile URL",
4542
+ "style": "title2"
4543
+ }
4544
+ }
4545
+ },
4546
+ {
4547
+ "id": "himi_account_settings.profile_url",
4548
+ "body": {
4549
+ "package": "himalaya",
4550
+ "type": "Text",
4551
+ "props": {
4552
+ "text": "$service:himiBrandedAccountSettings.profileUrl",
4553
+ "style": "body",
4554
+ "collapseWhenEmpty": true
4555
+ }
4556
+ }
4557
+ },
4558
+ {
4559
+ "id": "",
4560
+ "body": {
4561
+ "package": "himalaya",
4562
+ "type": "Text",
4563
+ "props": {
4564
+ "text": "A public profile URL is not available for this site.",
4565
+ "style": "footnote",
4566
+ "color": "textSecondary"
4567
+ }
4568
+ },
4569
+ "modifiers": {
4570
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasProfileUrl"
4571
+ }
4572
+ },
4573
+ {
4574
+ "id": "",
4575
+ "body": {
4576
+ "package": "himalaya",
4577
+ "type": "VStack",
4578
+ "props": {
4579
+ "spacing": 5,
4580
+ "alignment": "leading",
4581
+ "children": [
4582
+ {
4583
+ "id": "",
4584
+ "body": {
4585
+ "package": "himalaya",
4586
+ "type": "Text",
4587
+ "props": {
4588
+ "text": "Profile URL name",
4589
+ "style": "footnote",
4590
+ "color": "textSecondary"
4591
+ }
4592
+ }
4593
+ },
4594
+ {
4595
+ "id": "himi_account_settings.slug",
4596
+ "body": {
4597
+ "package": "himalaya",
4598
+ "type": "TextField",
4599
+ "props": {
4600
+ "valuePath": "$service:himiBrandedAccountSettings.slug",
4601
+ "placeholder": "Profile URL name",
4602
+ "autoCapitalization": "words",
4603
+ "onChange": {
4604
+ "actionId": "tier5.himiBrandedAccountSettings.setSlug"
4605
+ }
4606
+ }
4607
+ }
4608
+ }
4609
+ ]
4610
+ }
4611
+ }
4612
+ },
4613
+ {
4614
+ "id": "himi_account_settings.save_slug",
4615
+ "body": {
4616
+ "package": "himalaya",
4617
+ "type": "Button",
4618
+ "props": {
4619
+ "title": "Update profile URL",
4620
+ "style": "secondary",
4621
+ "action": {
4622
+ "actionId": "tier5.himiBrandedAccountSettings.saveSlug"
4623
+ }
4624
+ }
4625
+ }
4626
+ },
4627
+ {
4628
+ "id": "himi_account_settings.slug_message",
4629
+ "body": {
4630
+ "package": "himalaya",
4631
+ "type": "Text",
4632
+ "props": {
4633
+ "text": "$service:himiBrandedAccountSettings.slugMessage",
4634
+ "style": "footnote",
4635
+ "collapseWhenEmpty": true
4636
+ }
4637
+ }
4638
+ },
4639
+ {
4640
+ "id": "",
4641
+ "body": {
4642
+ "package": "himalaya",
4643
+ "type": "Text",
4644
+ "props": {
4645
+ "text": "Profile privacy",
4646
+ "style": "title2"
4647
+ }
4648
+ }
4649
+ },
4650
+ {
4651
+ "id": "himi_account_settings.privacy_action",
4652
+ "body": {
4653
+ "package": "himalaya",
4654
+ "type": "Button",
4655
+ "props": {
4656
+ "title": "$service:himiBrandedAccountSettings.privacyActionLabel",
4657
+ "style": "secondary",
4658
+ "action": {
4659
+ "actionId": "tier5.himiBrandedAccountSettings.requestPrivacyChange"
4660
+ }
4661
+ }
4662
+ },
4663
+ "modifiers": {
4664
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacyControlsUnavailable"
4665
+ }
4666
+ },
4667
+ {
4668
+ "id": "",
4669
+ "body": {
4670
+ "package": "himalaya",
4671
+ "type": "Text",
4672
+ "props": {
4673
+ "text": "Profile privacy controls are unavailable for this member account.",
4674
+ "style": "footnote",
4675
+ "color": "textSecondary"
4676
+ }
4677
+ },
4678
+ "modifiers": {
4679
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacySupported"
4680
+ }
4681
+ },
4682
+ {
4683
+ "id": "himi_account_settings.privacy_confirmation",
4684
+ "body": {
4685
+ "package": "himalaya",
4686
+ "type": "VStack",
4687
+ "props": {
4688
+ "spacing": 8,
4689
+ "alignment": "leading",
4690
+ "children": [
4691
+ {
4692
+ "id": "",
4693
+ "body": {
4694
+ "package": "himalaya",
4695
+ "type": "Text",
4696
+ "props": {
4697
+ "text": "$service:himiBrandedAccountSettings.privacyPrompt",
4698
+ "style": "body"
4699
+ }
4700
+ }
4701
+ },
4702
+ {
4703
+ "id": "himi_account_settings.confirm_privacy",
4704
+ "body": {
4705
+ "package": "himalaya",
4706
+ "type": "Button",
4707
+ "props": {
4708
+ "title": "Confirm",
4709
+ "style": "primary",
4710
+ "action": {
4711
+ "actionId": "tier5.himiBrandedAccountSettings.setPrivate",
4712
+ "params": {
4713
+ "status": "$service:himiBrandedAccountSettings.pendingPrivacyStatus"
4714
+ }
4715
+ }
4716
+ }
4717
+ }
4718
+ },
4719
+ {
4720
+ "id": "himi_account_settings.cancel_privacy",
4721
+ "body": {
4722
+ "package": "himalaya",
4723
+ "type": "Button",
4724
+ "props": {
4725
+ "title": "Cancel",
4726
+ "style": "secondary",
4727
+ "action": {
4728
+ "actionId": "tier5.himiBrandedAccountSettings.cancelPrivacyChange"
4729
+ }
4730
+ }
4731
+ }
4732
+ }
4733
+ ]
4734
+ }
4735
+ },
4736
+ "modifiers": {
4737
+ "background": {
4738
+ "token": "surfaceElevated"
4739
+ },
4740
+ "border": {
4741
+ "width": 1,
4742
+ "color": {
4743
+ "token": "border"
4744
+ }
4745
+ },
4746
+ "cornerRadius": 16,
4747
+ "padding": {
4748
+ "leading": 16,
4749
+ "trailing": 16,
4750
+ "top": 16,
4751
+ "bottom": 16
4752
+ },
4753
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPrivacyConfirm"
4754
+ }
4755
+ },
4756
+ {
4757
+ "id": "",
4758
+ "body": {
4759
+ "package": "himalaya",
4760
+ "type": "VStack",
4761
+ "props": {
4762
+ "spacing": 10,
4763
+ "alignment": "leading",
4764
+ "children": [
4765
+ {
4766
+ "id": "himi_account_settings.blocked.title",
4767
+ "body": {
4768
+ "package": "himalaya",
4769
+ "type": "Text",
4770
+ "props": {
4771
+ "text": "Blocked members",
4772
+ "style": "title2"
4773
+ }
4774
+ }
4775
+ },
4776
+ {
4777
+ "id": "",
4778
+ "body": {
4779
+ "package": "himalaya",
4780
+ "type": "Text",
4781
+ "props": {
4782
+ "text": "Loading blocked members…",
4783
+ "style": "footnote",
4784
+ "color": "textSecondary"
4785
+ }
4786
+ },
4787
+ "modifiers": {
4788
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notLoading"
4789
+ }
4790
+ },
4791
+ {
4792
+ "id": "",
4793
+ "body": {
4794
+ "package": "himalaya",
4795
+ "type": "VStack",
4796
+ "props": {
4797
+ "spacing": 8,
4798
+ "children": [
4799
+ {
4800
+ "id": "",
4801
+ "body": {
4802
+ "package": "himalaya",
4803
+ "type": "Text",
4804
+ "props": {
4805
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
4806
+ "style": "footnote",
4807
+ "color": "textSecondary"
4808
+ }
4809
+ }
4810
+ },
4811
+ {
4812
+ "id": "btn_tier5_himibrandedaccountblockedmembers_load",
4813
+ "body": {
4814
+ "package": "himalaya",
4815
+ "type": "Button",
4816
+ "props": {
4817
+ "title": "Try again",
4818
+ "style": "secondary",
4819
+ "action": {
4820
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
4821
+ }
4822
+ }
4823
+ }
4824
+ }
4825
+ ]
4826
+ }
4827
+ },
4828
+ "modifiers": {
4829
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notErrored"
4830
+ }
4831
+ },
4832
+ {
4833
+ "id": "",
4834
+ "body": {
4835
+ "package": "himalaya",
4836
+ "type": "Text",
4837
+ "props": {
4838
+ "text": "You have no blocked members.",
4839
+ "style": "footnote",
4840
+ "color": "textSecondary"
4841
+ }
4842
+ },
4843
+ "modifiers": {
4844
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.hideEmpty"
4845
+ }
4846
+ },
4847
+ {
4848
+ "id": "",
4849
+ "body": {
4850
+ "package": "himalaya",
4851
+ "type": "LazyList",
4852
+ "props": {
4853
+ "spacing": 8,
4854
+ "itemsPath": "$service:himiBrandedAccountBlockedMembers.blockedMembers",
4855
+ "items": [
4856
+ {
4857
+ "id": "himi_account_settings.blocked.row.$item.memberId",
4858
+ "body": {
4859
+ "package": "himalaya",
4860
+ "type": "HStack",
4861
+ "props": {
4862
+ "spacing": 10,
4863
+ "children": [
4864
+ {
4865
+ "id": "",
4866
+ "body": {
4867
+ "package": "himalaya",
4868
+ "type": "Text",
4869
+ "props": {
4870
+ "text": "$item.label",
4871
+ "style": "body",
4872
+ "maxLines": 2
4873
+ }
4874
+ }
4875
+ },
4876
+ {
4877
+ "id": "btn_tier5_himibrandedaccountblockedmembers_requestunblock",
4878
+ "body": {
4879
+ "package": "himalaya",
4880
+ "type": "Button",
4881
+ "props": {
4882
+ "title": "Unblock",
4883
+ "style": "secondary",
4884
+ "action": {
4885
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.requestUnblock",
4886
+ "params": {
4887
+ "memberId": "$item.memberId"
4888
+ }
4889
+ }
4890
+ }
4891
+ }
4892
+ }
4893
+ ]
4894
+ }
4895
+ }
4896
+ }
4897
+ ]
4898
+ }
4899
+ },
4900
+ "modifiers": {
4901
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMembers"
4902
+ }
4903
+ },
4904
+ {
4905
+ "id": "himi_account_settings.blocked.load_more",
4906
+ "body": {
4907
+ "package": "himalaya",
4908
+ "type": "Button",
4909
+ "props": {
4910
+ "title": "Load more",
4911
+ "style": "secondary",
4912
+ "loading": false,
4913
+ "action": {
4914
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.loadMore"
4915
+ }
4916
+ }
4917
+ },
4918
+ "modifiers": {
4919
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMore"
4920
+ }
4921
+ },
4922
+ {
4923
+ "id": "",
4924
+ "body": {
4925
+ "package": "himalaya",
4926
+ "type": "Text",
4927
+ "props": {
4928
+ "text": "$service:himiBrandedAccountBlockedMembers.message",
4929
+ "style": "footnote",
4930
+ "color": "textSecondary",
4931
+ "collapseWhenEmpty": true
4932
+ }
4933
+ }
4934
+ },
4935
+ {
4936
+ "id": "himi_account_settings.blocked.confirm",
4937
+ "body": {
4938
+ "package": "himalaya",
4939
+ "type": "VStack",
4940
+ "props": {
4941
+ "spacing": 8,
4942
+ "alignment": "leading",
4943
+ "children": [
4944
+ {
4945
+ "id": "",
4946
+ "body": {
4947
+ "package": "himalaya",
4948
+ "type": "Text",
4949
+ "props": {
4950
+ "text": "Unblock this member? They may be able to interact with your profile again.",
4951
+ "style": "body"
4952
+ }
4953
+ }
4954
+ },
4955
+ {
4956
+ "id": "",
4957
+ "body": {
4958
+ "package": "himalaya",
4959
+ "type": "Text",
4960
+ "props": {
4961
+ "text": "$service:himiBrandedAccountBlockedMembers.confirmMemberId",
4962
+ "style": "footnote",
4963
+ "color": "textSecondary"
4964
+ }
4965
+ }
4966
+ },
4967
+ {
4968
+ "id": "",
4969
+ "body": {
4970
+ "package": "himalaya",
4971
+ "type": "Text",
4972
+ "props": {
4973
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
4974
+ "style": "footnote",
4975
+ "color": "textSecondary",
4976
+ "collapseWhenEmpty": true
4977
+ }
4978
+ }
4979
+ },
4980
+ {
4981
+ "id": "btn_tier5_himibrandedaccountblockedmembers_confirmunblock",
4982
+ "body": {
4983
+ "package": "himalaya",
4984
+ "type": "Button",
4985
+ "props": {
4986
+ "title": "Confirm unblock",
4987
+ "style": "primary",
4988
+ "action": {
4989
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.confirmUnblock"
4990
+ }
4991
+ }
4992
+ }
4993
+ },
4994
+ {
4995
+ "id": "btn_tier5_himibrandedaccountblockedmembers_cancelunblock",
4996
+ "body": {
4997
+ "package": "himalaya",
4998
+ "type": "Button",
4999
+ "props": {
5000
+ "title": "Cancel",
5001
+ "style": "secondary",
5002
+ "action": {
5003
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.cancelUnblock"
5004
+ }
5005
+ }
5006
+ }
5007
+ }
5008
+ ]
5009
+ }
5010
+ },
5011
+ "modifiers": {
5012
+ "background": {
5013
+ "token": "surfaceElevated"
5014
+ },
5015
+ "border": {
5016
+ "width": 1,
5017
+ "color": {
5018
+ "token": "border"
5019
+ }
5020
+ },
5021
+ "cornerRadius": 16,
5022
+ "padding": {
5023
+ "leading": 16,
5024
+ "trailing": 16,
5025
+ "top": 16,
5026
+ "bottom": 16
5027
+ },
5028
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noConfirm"
5029
+ }
5030
+ }
5031
+ ]
5032
+ }
5033
+ },
5034
+ "modifiers": {
5035
+ "onAppear": {
5036
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
5037
+ }
5038
+ }
5039
+ },
5040
+ {
5041
+ "id": "himi_account_settings.message",
5042
+ "body": {
5043
+ "package": "himalaya",
5044
+ "type": "Text",
5045
+ "props": {
5046
+ "text": "$service:himiBrandedAccountSettings.message",
5047
+ "style": "footnote",
5048
+ "color": "textSecondary",
5049
+ "collapseWhenEmpty": true
5050
+ }
5051
+ }
5052
+ },
5053
+ {
5054
+ "id": "",
5055
+ "body": {
5056
+ "package": "himalaya",
5057
+ "type": "HStack",
5058
+ "props": {
5059
+ "spacing": 10,
5060
+ "children": [
5061
+ {
5062
+ "id": "himi_account_settings.discard",
5063
+ "body": {
5064
+ "package": "himalaya",
5065
+ "type": "Button",
5066
+ "props": {
5067
+ "title": "Discard",
5068
+ "style": "secondary",
5069
+ "action": {
5070
+ "actionId": "tier5.himiBrandedAccountSettings.discard"
5071
+ }
5072
+ }
5073
+ }
5074
+ },
5075
+ {
5076
+ "id": "himi_account_settings.save",
5077
+ "body": {
5078
+ "package": "himalaya",
5079
+ "type": "Button",
5080
+ "props": {
5081
+ "title": "Update Info",
5082
+ "style": "primary",
5083
+ "disabledPath": "$service:himiBrandedAccountSettings.photoUploading",
5084
+ "action": {
5085
+ "actionId": "tier5.himiBrandedAccountSettings.save"
5086
+ }
5087
+ }
5088
+ }
5089
+ }
5090
+ ]
5091
+ }
5092
+ }
5093
+ },
5094
+ {
5095
+ "id": "himi_account_settings.password_sheet",
5096
+ "body": {
5097
+ "package": "himalaya",
5098
+ "type": "BottomSheet",
5099
+ "props": {
5100
+ "presentedPath": "$service:himiBrandedAccountSettings.passwordPanelOpen",
5101
+ "dismissible": true,
5102
+ "showGrabber": true,
5103
+ "onDismiss": {
5104
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5105
+ },
5106
+ "content": {
5107
+ "id": "",
5108
+ "body": {
5109
+ "package": "himalaya",
5110
+ "type": "VStack",
5111
+ "props": {
5112
+ "spacing": 16,
5113
+ "alignment": "leading",
5114
+ "children": [
5115
+ {
5116
+ "id": "",
5117
+ "body": {
5118
+ "package": "himalaya",
5119
+ "type": "Text",
5120
+ "props": {
5121
+ "text": "Change password",
5122
+ "style": "title2"
5123
+ }
5124
+ }
5125
+ },
5126
+ {
5127
+ "id": "",
5128
+ "body": {
5129
+ "package": "himalaya",
5130
+ "type": "VStack",
5131
+ "props": {
5132
+ "spacing": 5,
5133
+ "alignment": "leading",
5134
+ "children": [
5135
+ {
5136
+ "id": "",
5137
+ "body": {
5138
+ "package": "himalaya",
5139
+ "type": "Text",
5140
+ "props": {
5141
+ "text": "Current password",
5142
+ "style": "footnote",
5143
+ "color": "textSecondary"
5144
+ }
5145
+ }
5146
+ },
5147
+ {
5148
+ "id": "himi_account_settings.passwordCurrent",
5149
+ "body": {
5150
+ "package": "himalaya",
5151
+ "type": "TextField",
5152
+ "props": {
5153
+ "valuePath": "$service:himiBrandedAccountSettings.passwordCurrent",
5154
+ "placeholder": "Current password",
5155
+ "secure": true,
5156
+ "autoCapitalization": "none",
5157
+ "onChange": {
5158
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordCurrent"
5159
+ }
5160
+ }
5161
+ }
5162
+ }
5163
+ ]
5164
+ }
5165
+ }
5166
+ },
5167
+ {
5168
+ "id": "",
5169
+ "body": {
5170
+ "package": "himalaya",
5171
+ "type": "VStack",
5172
+ "props": {
5173
+ "spacing": 5,
5174
+ "alignment": "leading",
5175
+ "children": [
5176
+ {
5177
+ "id": "",
5178
+ "body": {
5179
+ "package": "himalaya",
5180
+ "type": "Text",
5181
+ "props": {
5182
+ "text": "New password",
5183
+ "style": "footnote",
5184
+ "color": "textSecondary"
5185
+ }
5186
+ }
5187
+ },
5188
+ {
5189
+ "id": "himi_account_settings.passwordNew",
5190
+ "body": {
5191
+ "package": "himalaya",
5192
+ "type": "TextField",
5193
+ "props": {
5194
+ "valuePath": "$service:himiBrandedAccountSettings.passwordNew",
5195
+ "placeholder": "New password",
5196
+ "secure": true,
5197
+ "autoCapitalization": "none",
5198
+ "onChange": {
5199
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordNew"
5200
+ }
5201
+ }
5202
+ }
5203
+ }
5204
+ ]
5205
+ }
5206
+ }
5207
+ },
5208
+ {
5209
+ "id": "",
5210
+ "body": {
5211
+ "package": "himalaya",
5212
+ "type": "VStack",
5213
+ "props": {
5214
+ "spacing": 5,
5215
+ "alignment": "leading",
5216
+ "children": [
5217
+ {
5218
+ "id": "",
5219
+ "body": {
5220
+ "package": "himalaya",
5221
+ "type": "Text",
5222
+ "props": {
5223
+ "text": "Confirm new password",
5224
+ "style": "footnote",
5225
+ "color": "textSecondary"
5226
+ }
5227
+ }
5228
+ },
5229
+ {
5230
+ "id": "himi_account_settings.passwordConfirm",
5231
+ "body": {
5232
+ "package": "himalaya",
5233
+ "type": "TextField",
5234
+ "props": {
5235
+ "valuePath": "$service:himiBrandedAccountSettings.passwordConfirm",
5236
+ "placeholder": "Confirm new password",
5237
+ "secure": true,
5238
+ "autoCapitalization": "none",
5239
+ "onChange": {
5240
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordConfirm"
5241
+ }
5242
+ }
5243
+ }
5244
+ }
5245
+ ]
5246
+ }
5247
+ }
5248
+ },
5249
+ {
5250
+ "id": "",
5251
+ "body": {
5252
+ "package": "himalaya",
5253
+ "type": "Text",
5254
+ "props": {
5255
+ "text": "Changing password…",
5256
+ "style": "footnote",
5257
+ "color": "textSecondary"
5258
+ }
5259
+ },
5260
+ "modifiers": {
5261
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordChanging"
5262
+ }
5263
+ },
5264
+ {
5265
+ "id": "",
5266
+ "body": {
5267
+ "package": "himalaya",
5268
+ "type": "Text",
5269
+ "props": {
5270
+ "text": "Sending reset link…",
5271
+ "style": "footnote",
5272
+ "color": "textSecondary"
5273
+ }
5274
+ },
5275
+ "modifiers": {
5276
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordResetSending"
5277
+ }
5278
+ },
5279
+ {
5280
+ "id": "",
5281
+ "body": {
5282
+ "package": "himalaya",
5283
+ "type": "Text",
5284
+ "props": {
5285
+ "text": "$service:himiBrandedAccountSettings.passwordError",
5286
+ "style": "footnote",
5287
+ "color": "textSecondary"
5288
+ }
5289
+ },
5290
+ "modifiers": {
5291
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoError"
5292
+ }
5293
+ },
5294
+ {
5295
+ "id": "",
5296
+ "body": {
5297
+ "package": "himalaya",
5298
+ "type": "Text",
5299
+ "props": {
5300
+ "text": "$service:himiBrandedAccountSettings.passwordMessage",
5301
+ "style": "footnote",
5302
+ "color": "textSecondary"
5303
+ }
5304
+ },
5305
+ "modifiers": {
5306
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoMessage"
5307
+ }
5308
+ },
5309
+ {
5310
+ "id": "btn_tier5_himibrandedaccountsettings_changepassword",
5311
+ "body": {
5312
+ "package": "himalaya",
5313
+ "type": "Button",
5314
+ "props": {
5315
+ "title": "Change password",
5316
+ "style": "primary",
5317
+ "fullWidth": true,
5318
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
5319
+ "action": {
5320
+ "actionId": "tier5.himiBrandedAccountSettings.changePassword"
5321
+ }
5322
+ }
5323
+ }
5324
+ },
5325
+ {
5326
+ "id": "btn_tier5_himibrandedaccountsettings_resetpassword",
5327
+ "body": {
5328
+ "package": "himalaya",
5329
+ "type": "Button",
5330
+ "props": {
5331
+ "title": "Reset or create password by email",
5332
+ "style": "secondary",
5333
+ "fullWidth": true,
5334
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
5335
+ "action": {
5336
+ "actionId": "tier5.himiBrandedAccountSettings.resetPassword"
5337
+ }
5338
+ }
5339
+ }
5340
+ },
5341
+ {
5342
+ "id": "btn_tier5_himibrandedaccountsettings_closepasswordpanel",
5343
+ "body": {
5344
+ "package": "himalaya",
5345
+ "type": "Button",
5346
+ "props": {
5347
+ "title": "Cancel",
5348
+ "style": "plain",
5349
+ "action": {
5350
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5351
+ }
5352
+ }
5353
+ }
5354
+ }
5355
+ ]
5356
+ }
5357
+ },
5358
+ "modifiers": {
5359
+ "padding": {
5360
+ "leading": 20,
5361
+ "trailing": 20,
5362
+ "top": 20,
5363
+ "bottom": 24
5364
+ }
5365
+ }
5366
+ }
5367
+ }
5368
+ }
5369
+ },
5370
+ {
5371
+ "id": "himi_account_settings.email_sheet",
5372
+ "body": {
5373
+ "package": "himalaya",
5374
+ "type": "BottomSheet",
5375
+ "props": {
5376
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
5377
+ "dismissible": true,
5378
+ "showGrabber": true,
5379
+ "onDismiss": {
5380
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5381
+ },
5382
+ "content": {
5383
+ "id": "",
5384
+ "body": {
5385
+ "package": "himalaya",
5386
+ "type": "VStack",
5387
+ "props": {
5388
+ "spacing": 16,
5389
+ "alignment": "leading",
5390
+ "children": [
5391
+ {
5392
+ "id": "",
5393
+ "body": {
5394
+ "package": "himalaya",
5395
+ "type": "Text",
5396
+ "props": {
5397
+ "text": "Change login email",
5398
+ "style": "title2"
5399
+ }
5400
+ }
5401
+ },
5402
+ {
5403
+ "id": "",
5404
+ "body": {
5405
+ "package": "himalaya",
5406
+ "type": "Text",
5407
+ "props": {
5408
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
5409
+ "style": "bodyEmphasis"
5410
+ }
5411
+ }
5412
+ },
5413
+ {
5414
+ "id": "",
5415
+ "body": {
5416
+ "package": "himalaya",
5417
+ "type": "Text",
5418
+ "props": {
5419
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
5420
+ "style": "body",
5421
+ "color": "textSecondary"
5422
+ }
5423
+ }
5424
+ },
5425
+ {
5426
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
5427
+ "body": {
5428
+ "package": "himalaya",
5429
+ "type": "Button",
5430
+ "props": {
5431
+ "title": "Visit website",
5432
+ "style": "secondary",
5433
+ "fullWidth": true,
5434
+ "action": {
5435
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
5436
+ }
5437
+ }
5438
+ },
5439
+ "modifiers": {
5440
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5441
+ }
5442
+ },
5443
+ {
5444
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
5445
+ "body": {
5446
+ "package": "himalaya",
5447
+ "type": "Button",
5448
+ "props": {
5449
+ "title": "Close",
5450
+ "style": "plain",
5451
+ "action": {
5452
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5453
+ }
5454
+ }
5455
+ }
5456
+ }
5457
+ ]
5458
+ }
5459
+ },
5460
+ "modifiers": {
5461
+ "padding": {
5462
+ "leading": 20,
5463
+ "trailing": 20,
5464
+ "top": 20,
5465
+ "bottom": 24
5466
+ }
5467
+ }
5468
+ }
5469
+ }
5470
+ }
5471
+ }
5472
+ ]
5473
+ }
5474
+ },
5475
+ "modifiers": {
5476
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
5477
+ }
5478
+ }
5479
+ ]
5480
+ }
5481
+ },
5482
+ "modifiers": {
5483
+ "background": {
5484
+ "token": "surfacePrimary"
5485
+ },
5486
+ "padding": {
5487
+ "leading": 16,
5488
+ "trailing": 16,
5489
+ "top": 18,
5490
+ "bottom": 28
5491
+ },
5492
+ "onAppear": {
5493
+ "actionId": "tier5.himiBrandedAccountSettings.load",
5494
+ "params": {
5495
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
5496
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
5497
+ }
5498
+ }
5499
+ }
5500
+ },
5501
+ "logicBundle": {
5502
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
5503
+ "integrity": "",
5504
+ "contentType": "application/javascript+ts-bundle",
5505
+ "declaredCapabilities": [
5506
+ "wix_api",
5507
+ "app_info",
5508
+ "open_url"
5509
+ ],
5510
+ "minBinaryVersion": "0.1.0",
5511
+ "bundleVersion": "0.0.1"
5512
+ }
5513
+ },
3764
5514
  "himi_app_info": {
3765
5515
  "screenId": "himi_app_info",
3766
5516
  "renderer": "sdui_intent",