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