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