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