@wix/himalaya-cli 0.1404.0 → 0.1405.0

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