@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)]));
@@ -5124,6 +5126,95 @@ const SCREENS = runtimeSetting({
5124
5126
  "hiddenPath": "$service:himiStoreAccount.notMember"
5125
5127
  }
5126
5128
  },
5129
+ {
5130
+ "id": "himi_account.settings",
5131
+ "body": {
5132
+ "package": "himalaya",
5133
+ "type": "HStack",
5134
+ "props": {
5135
+ "spacing": 12,
5136
+ "children": [
5137
+ {
5138
+ "id": "",
5139
+ "body": {
5140
+ "package": "himalaya",
5141
+ "type": "Icon",
5142
+ "props": {
5143
+ "name": "settings",
5144
+ "size": 18,
5145
+ "tint": "accentPrimary"
5146
+ }
5147
+ },
5148
+ "modifiers": {
5149
+ "accessibilityRole": "decorative"
5150
+ }
5151
+ },
5152
+ {
5153
+ "id": "",
5154
+ "body": {
5155
+ "package": "himalaya",
5156
+ "type": "Text",
5157
+ "props": {
5158
+ "text": "My Account",
5159
+ "style": "bodyEmphasis"
5160
+ }
5161
+ }
5162
+ },
5163
+ {
5164
+ "id": "",
5165
+ "body": {
5166
+ "package": "himalaya",
5167
+ "type": "Spacer",
5168
+ "props": {}
5169
+ }
5170
+ },
5171
+ {
5172
+ "id": "",
5173
+ "body": {
5174
+ "package": "himalaya",
5175
+ "type": "Icon",
5176
+ "props": {
5177
+ "name": "chevron_right",
5178
+ "size": 16,
5179
+ "tint": "textTertiary"
5180
+ }
5181
+ },
5182
+ "modifiers": {
5183
+ "accessibilityRole": "decorative"
5184
+ }
5185
+ }
5186
+ ]
5187
+ }
5188
+ },
5189
+ "modifiers": {
5190
+ "background": {
5191
+ "token": "surfaceElevated"
5192
+ },
5193
+ "border": {
5194
+ "width": 1,
5195
+ "color": {
5196
+ "token": "border"
5197
+ }
5198
+ },
5199
+ "cornerRadius": 8,
5200
+ "padding": {
5201
+ "leading": 14,
5202
+ "trailing": 14,
5203
+ "top": 13,
5204
+ "bottom": 13
5205
+ },
5206
+ "onTap": {
5207
+ "actionId": "himi.open",
5208
+ "params": {
5209
+ "screenId": "himi_account_settings"
5210
+ }
5211
+ },
5212
+ "pressFeedback": "scale",
5213
+ "haptic": "light",
5214
+ "accessibilityLabel": "My Account",
5215
+ "hiddenPath": "$service:himiStoreAccount.notMember"
5216
+ }
5217
+ },
5127
5218
  {
5128
5219
  "id": "himi_account.subscriptions_guest",
5129
5220
  "body": {
@@ -5703,6 +5794,1665 @@ const SCREENS = runtimeSetting({
5703
5794
  "bundleVersion": "0.0.1"
5704
5795
  }
5705
5796
  },
5797
+ "himi_account_settings": {
5798
+ "screenId": "himi_account_settings",
5799
+ "renderer": "sdui_intent",
5800
+ "title": "",
5801
+ "schemaVersion": 1,
5802
+ "cacheControl": {
5803
+ "maxAge": 0,
5804
+ "staleWhileRevalidate": 0
5805
+ },
5806
+ "payload": {
5807
+ "id": "himi_account_settings.root",
5808
+ "body": {
5809
+ "package": "himalaya",
5810
+ "type": "VStack",
5811
+ "props": {
5812
+ "spacing": 16,
5813
+ "alignment": "leading",
5814
+ "children": [
5815
+ {
5816
+ "id": "himi_account_settings.title",
5817
+ "body": {
5818
+ "package": "himalaya",
5819
+ "type": "Text",
5820
+ "props": {
5821
+ "text": "My Account",
5822
+ "style": "title1"
5823
+ }
5824
+ }
5825
+ },
5826
+ {
5827
+ "id": "",
5828
+ "body": {
5829
+ "package": "himalaya",
5830
+ "type": "Text",
5831
+ "props": {
5832
+ "text": "Update the profile details connected to your member account.",
5833
+ "style": "body",
5834
+ "color": "textSecondary"
5835
+ }
5836
+ }
5837
+ },
5838
+ {
5839
+ "id": "himi_account_settings.loading",
5840
+ "body": {
5841
+ "package": "himalaya",
5842
+ "type": "Skeleton",
5843
+ "props": {
5844
+ "height": 72,
5845
+ "cornerRadius": 12,
5846
+ "count": 3
5847
+ }
5848
+ },
5849
+ "modifiers": {
5850
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
5851
+ }
5852
+ },
5853
+ {
5854
+ "id": "himi_account_settings.error",
5855
+ "body": {
5856
+ "package": "himalaya",
5857
+ "type": "VStack",
5858
+ "props": {
5859
+ "spacing": 8,
5860
+ "alignment": "leading",
5861
+ "children": [
5862
+ {
5863
+ "id": "",
5864
+ "body": {
5865
+ "package": "himalaya",
5866
+ "type": "Text",
5867
+ "props": {
5868
+ "text": "$service:himiBrandedAccountSettings.error",
5869
+ "style": "body",
5870
+ "collapseWhenEmpty": true
5871
+ }
5872
+ }
5873
+ },
5874
+ {
5875
+ "id": "himi_account_settings.retry",
5876
+ "body": {
5877
+ "package": "himalaya",
5878
+ "type": "Button",
5879
+ "props": {
5880
+ "title": "Try again",
5881
+ "style": "secondary",
5882
+ "action": {
5883
+ "actionId": "tier5.himiBrandedAccountSettings.load",
5884
+ "params": {
5885
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
5886
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
5887
+ }
5888
+ }
5889
+ }
5890
+ }
5891
+ },
5892
+ {
5893
+ "id": "himi_account_settings.sign_in",
5894
+ "body": {
5895
+ "package": "himalaya",
5896
+ "type": "Button",
5897
+ "props": {
5898
+ "title": "Sign in",
5899
+ "style": "primary",
5900
+ "action": {
5901
+ "actionId": "himi.open",
5902
+ "params": {
5903
+ "screenId": "himi_account",
5904
+ "returnScreenId": "himi_account_settings"
5905
+ }
5906
+ }
5907
+ }
5908
+ },
5909
+ "modifiers": {
5910
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
5911
+ }
5912
+ }
5913
+ ]
5914
+ }
5915
+ },
5916
+ "modifiers": {
5917
+ "background": {
5918
+ "token": "surfaceElevated"
5919
+ },
5920
+ "border": {
5921
+ "width": 1,
5922
+ "color": {
5923
+ "token": "border"
5924
+ }
5925
+ },
5926
+ "cornerRadius": 16,
5927
+ "padding": {
5928
+ "leading": 16,
5929
+ "trailing": 16,
5930
+ "top": 16,
5931
+ "bottom": 16
5932
+ },
5933
+ "hiddenPath": "$service:himiBrandedAccountSettings.notErrored"
5934
+ }
5935
+ },
5936
+ {
5937
+ "id": "",
5938
+ "body": {
5939
+ "package": "himalaya",
5940
+ "type": "VStack",
5941
+ "props": {
5942
+ "spacing": 18,
5943
+ "alignment": "leading",
5944
+ "children": [
5945
+ {
5946
+ "id": "",
5947
+ "body": {
5948
+ "package": "himalaya",
5949
+ "type": "Text",
5950
+ "props": {
5951
+ "text": "Display info",
5952
+ "style": "title2"
5953
+ }
5954
+ }
5955
+ },
5956
+ {
5957
+ "id": "himi_account_settings.photo_upload",
5958
+ "body": {
5959
+ "package": "himalaya",
5960
+ "type": "MediaField",
5961
+ "props": {
5962
+ "valuePath": "$service:himiBrandedAccountSettings.photoDisplayUrl",
5963
+ "uploadService": "himiBrandedAccountSettings",
5964
+ "label": "Choose a profile photo",
5965
+ "presentation": "avatar",
5966
+ "fallbackTextPath": "$service:himiBrandedAccountSettings.memberInitials",
5967
+ "heading": "Profile photo"
5968
+ }
5969
+ },
5970
+ "modifiers": {
5971
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
5972
+ }
5973
+ },
5974
+ {
5975
+ "id": "",
5976
+ "body": {
5977
+ "package": "himalaya",
5978
+ "type": "HStack",
5979
+ "props": {
5980
+ "spacing": 14,
5981
+ "children": [
5982
+ {
5983
+ "id": "himi_account_settings.read_only_avatar",
5984
+ "body": {
5985
+ "package": "himalaya",
5986
+ "type": "Image",
5987
+ "props": {
5988
+ "url": "$service:himiBrandedAccountSettings.memberImage",
5989
+ "width": 72,
5990
+ "height": 72,
5991
+ "contentMode": "fill",
5992
+ "shape": "circle",
5993
+ "contentDescription": "Profile photo"
5994
+ }
5995
+ },
5996
+ "modifiers": {
5997
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMemberImage"
5998
+ }
5999
+ },
6000
+ {
6001
+ "id": "",
6002
+ "body": {
6003
+ "package": "himalaya",
6004
+ "type": "ZStack",
6005
+ "props": {
6006
+ "alignment": "center",
6007
+ "children": [
6008
+ {
6009
+ "id": "",
6010
+ "body": {
6011
+ "package": "himalaya",
6012
+ "type": "Text",
6013
+ "props": {
6014
+ "text": "$service:himiBrandedAccountSettings.memberInitials",
6015
+ "style": "title2",
6016
+ "color": "textOnAccent"
6017
+ }
6018
+ }
6019
+ }
6020
+ ]
6021
+ }
6022
+ },
6023
+ "modifiers": {
6024
+ "width": 72,
6025
+ "height": 72,
6026
+ "background": {
6027
+ "token": "accentPrimary"
6028
+ },
6029
+ "cornerRadius": 36,
6030
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasMemberImage"
6031
+ }
6032
+ },
6033
+ {
6034
+ "id": "",
6035
+ "body": {
6036
+ "package": "himalaya",
6037
+ "type": "VStack",
6038
+ "props": {
6039
+ "spacing": 4,
6040
+ "alignment": "leading",
6041
+ "children": [
6042
+ {
6043
+ "id": "",
6044
+ "body": {
6045
+ "package": "himalaya",
6046
+ "type": "Text",
6047
+ "props": {
6048
+ "text": "Profile photo",
6049
+ "style": "body",
6050
+ "color": "textSecondary"
6051
+ }
6052
+ }
6053
+ },
6054
+ {
6055
+ "id": "",
6056
+ "body": {
6057
+ "package": "himalaya",
6058
+ "type": "Text",
6059
+ "props": {
6060
+ "text": "Your profile photo is managed on the Wix site.",
6061
+ "style": "footnote",
6062
+ "color": "textSecondary"
6063
+ }
6064
+ }
6065
+ }
6066
+ ]
6067
+ }
6068
+ }
6069
+ }
6070
+ ]
6071
+ }
6072
+ },
6073
+ "modifiers": {
6074
+ "hiddenPath": "$service:himiBrandedAccountSettings.photoUploadAvailable"
6075
+ }
6076
+ },
6077
+ {
6078
+ "id": "",
6079
+ "body": {
6080
+ "package": "himalaya",
6081
+ "type": "Text",
6082
+ "props": {
6083
+ "text": "Your photo is uploaded now and saved with Update info. Discard clears the selection.",
6084
+ "style": "footnote",
6085
+ "color": "textSecondary"
6086
+ }
6087
+ },
6088
+ "modifiers": {
6089
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
6090
+ }
6091
+ },
6092
+ {
6093
+ "id": "himi_account_settings.photo_upload_error",
6094
+ "body": {
6095
+ "package": "himalaya",
6096
+ "type": "Text",
6097
+ "props": {
6098
+ "text": "$service:himiBrandedAccountSettings.photoUploadError",
6099
+ "style": "footnote",
6100
+ "color": "danger",
6101
+ "collapseWhenEmpty": true
6102
+ }
6103
+ }
6104
+ },
6105
+ {
6106
+ "id": "",
6107
+ "body": {
6108
+ "package": "himalaya",
6109
+ "type": "VStack",
6110
+ "props": {
6111
+ "spacing": 5,
6112
+ "alignment": "leading",
6113
+ "children": [
6114
+ {
6115
+ "id": "",
6116
+ "body": {
6117
+ "package": "himalaya",
6118
+ "type": "Text",
6119
+ "props": {
6120
+ "text": "Display name",
6121
+ "style": "footnote",
6122
+ "color": "textSecondary"
6123
+ }
6124
+ }
6125
+ },
6126
+ {
6127
+ "id": "himi_account_settings.displayName",
6128
+ "body": {
6129
+ "package": "himalaya",
6130
+ "type": "TextField",
6131
+ "props": {
6132
+ "valuePath": "$service:himiBrandedAccountSettings.displayName",
6133
+ "placeholder": "Display name",
6134
+ "autoCapitalization": "words",
6135
+ "onChange": {
6136
+ "actionId": "tier5.himiBrandedAccountSettings.setDisplayName"
6137
+ },
6138
+ "validation": {
6139
+ "required": true
6140
+ },
6141
+ "errorPath": "$service:himiBrandedAccountSettings.displayNameError"
6142
+ }
6143
+ }
6144
+ }
6145
+ ]
6146
+ }
6147
+ }
6148
+ },
6149
+ {
6150
+ "id": "",
6151
+ "body": {
6152
+ "package": "himalaya",
6153
+ "type": "VStack",
6154
+ "props": {
6155
+ "spacing": 5,
6156
+ "alignment": "leading",
6157
+ "children": [
6158
+ {
6159
+ "id": "",
6160
+ "body": {
6161
+ "package": "himalaya",
6162
+ "type": "Text",
6163
+ "props": {
6164
+ "text": "Title",
6165
+ "style": "footnote",
6166
+ "color": "textSecondary"
6167
+ }
6168
+ }
6169
+ },
6170
+ {
6171
+ "id": "himi_account_settings.title",
6172
+ "body": {
6173
+ "package": "himalaya",
6174
+ "type": "TextField",
6175
+ "props": {
6176
+ "valuePath": "$service:himiBrandedAccountSettings.title",
6177
+ "placeholder": "Title",
6178
+ "autoCapitalization": "words",
6179
+ "onChange": {
6180
+ "actionId": "tier5.himiBrandedAccountSettings.setTitle"
6181
+ },
6182
+ "errorPath": "$service:himiBrandedAccountSettings.titleError"
6183
+ }
6184
+ }
6185
+ }
6186
+ ]
6187
+ }
6188
+ }
6189
+ },
6190
+ {
6191
+ "id": "",
6192
+ "body": {
6193
+ "package": "himalaya",
6194
+ "type": "Text",
6195
+ "props": {
6196
+ "text": "Personal info",
6197
+ "style": "title2"
6198
+ }
6199
+ }
6200
+ },
6201
+ {
6202
+ "id": "",
6203
+ "body": {
6204
+ "package": "himalaya",
6205
+ "type": "VStack",
6206
+ "props": {
6207
+ "spacing": 5,
6208
+ "alignment": "leading",
6209
+ "children": [
6210
+ {
6211
+ "id": "",
6212
+ "body": {
6213
+ "package": "himalaya",
6214
+ "type": "Text",
6215
+ "props": {
6216
+ "text": "First name",
6217
+ "style": "footnote",
6218
+ "color": "textSecondary"
6219
+ }
6220
+ }
6221
+ },
6222
+ {
6223
+ "id": "himi_account_settings.firstName",
6224
+ "body": {
6225
+ "package": "himalaya",
6226
+ "type": "TextField",
6227
+ "props": {
6228
+ "valuePath": "$service:himiBrandedAccountSettings.firstName",
6229
+ "placeholder": "First name",
6230
+ "autoCapitalization": "words",
6231
+ "onChange": {
6232
+ "actionId": "tier5.himiBrandedAccountSettings.setFirstName"
6233
+ },
6234
+ "errorPath": "$service:himiBrandedAccountSettings.firstNameError"
6235
+ }
6236
+ }
6237
+ }
6238
+ ]
6239
+ }
6240
+ }
6241
+ },
6242
+ {
6243
+ "id": "",
6244
+ "body": {
6245
+ "package": "himalaya",
6246
+ "type": "VStack",
6247
+ "props": {
6248
+ "spacing": 5,
6249
+ "alignment": "leading",
6250
+ "children": [
6251
+ {
6252
+ "id": "",
6253
+ "body": {
6254
+ "package": "himalaya",
6255
+ "type": "Text",
6256
+ "props": {
6257
+ "text": "Last name",
6258
+ "style": "footnote",
6259
+ "color": "textSecondary"
6260
+ }
6261
+ }
6262
+ },
6263
+ {
6264
+ "id": "himi_account_settings.lastName",
6265
+ "body": {
6266
+ "package": "himalaya",
6267
+ "type": "TextField",
6268
+ "props": {
6269
+ "valuePath": "$service:himiBrandedAccountSettings.lastName",
6270
+ "placeholder": "Last name",
6271
+ "autoCapitalization": "words",
6272
+ "onChange": {
6273
+ "actionId": "tier5.himiBrandedAccountSettings.setLastName"
6274
+ },
6275
+ "errorPath": "$service:himiBrandedAccountSettings.lastNameError"
6276
+ }
6277
+ }
6278
+ }
6279
+ ]
6280
+ }
6281
+ }
6282
+ },
6283
+ {
6284
+ "id": "",
6285
+ "body": {
6286
+ "package": "himalaya",
6287
+ "type": "VStack",
6288
+ "props": {
6289
+ "spacing": 5,
6290
+ "alignment": "leading",
6291
+ "children": [
6292
+ {
6293
+ "id": "",
6294
+ "body": {
6295
+ "package": "himalaya",
6296
+ "type": "Text",
6297
+ "props": {
6298
+ "text": "Phone",
6299
+ "style": "footnote",
6300
+ "color": "textSecondary"
6301
+ }
6302
+ }
6303
+ },
6304
+ {
6305
+ "id": "himi_account_settings.phone",
6306
+ "body": {
6307
+ "package": "himalaya",
6308
+ "type": "TextField",
6309
+ "props": {
6310
+ "valuePath": "$service:himiBrandedAccountSettings.phone",
6311
+ "placeholder": "Phone",
6312
+ "keyboard": "phone",
6313
+ "autoCapitalization": "words",
6314
+ "onChange": {
6315
+ "actionId": "tier5.himiBrandedAccountSettings.setPhone"
6316
+ },
6317
+ "errorPath": "$service:himiBrandedAccountSettings.phoneError"
6318
+ }
6319
+ }
6320
+ }
6321
+ ]
6322
+ }
6323
+ }
6324
+ },
6325
+ {
6326
+ "id": "",
6327
+ "body": {
6328
+ "package": "himalaya",
6329
+ "type": "Text",
6330
+ "props": {
6331
+ "text": "Clearing this field removes the primary phone number. Other saved numbers are kept.",
6332
+ "style": "caption",
6333
+ "color": "textSecondary"
6334
+ }
6335
+ }
6336
+ },
6337
+ {
6338
+ "id": "",
6339
+ "body": {
6340
+ "package": "himalaya",
6341
+ "type": "Text",
6342
+ "props": {
6343
+ "text": "Login info",
6344
+ "style": "title2"
6345
+ }
6346
+ }
6347
+ },
6348
+ {
6349
+ "id": "",
6350
+ "body": {
6351
+ "package": "himalaya",
6352
+ "type": "Text",
6353
+ "props": {
6354
+ "text": "Login email",
6355
+ "style": "footnote",
6356
+ "color": "textSecondary"
6357
+ }
6358
+ }
6359
+ },
6360
+ {
6361
+ "id": "himi_account_settings.login_email",
6362
+ "body": {
6363
+ "package": "himalaya",
6364
+ "type": "Text",
6365
+ "props": {
6366
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
6367
+ "style": "body"
6368
+ }
6369
+ }
6370
+ },
6371
+ {
6372
+ "id": "",
6373
+ "body": {
6374
+ "package": "himalaya",
6375
+ "type": "HStack",
6376
+ "props": {
6377
+ "spacing": 10,
6378
+ "children": [
6379
+ {
6380
+ "id": "himi_account_settings.change_email",
6381
+ "body": {
6382
+ "package": "himalaya",
6383
+ "type": "Button",
6384
+ "props": {
6385
+ "title": "Change email",
6386
+ "style": "secondary",
6387
+ "action": {
6388
+ "actionId": "tier5.himiBrandedAccountSettings.openEmailPanel"
6389
+ }
6390
+ }
6391
+ }
6392
+ },
6393
+ {
6394
+ "id": "himi_account_settings.change_password",
6395
+ "body": {
6396
+ "package": "himalaya",
6397
+ "type": "Button",
6398
+ "props": {
6399
+ "title": "Change password",
6400
+ "style": "primary",
6401
+ "action": {
6402
+ "actionId": "tier5.himiBrandedAccountSettings.openPasswordPanel"
6403
+ }
6404
+ }
6405
+ },
6406
+ "modifiers": {
6407
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPasswordCredentialSupport"
6408
+ }
6409
+ }
6410
+ ]
6411
+ }
6412
+ }
6413
+ },
6414
+ {
6415
+ "id": "",
6416
+ "body": {
6417
+ "package": "himalaya",
6418
+ "type": "VStack",
6419
+ "props": {
6420
+ "spacing": 8,
6421
+ "alignment": "leading",
6422
+ "children": [
6423
+ {
6424
+ "id": "",
6425
+ "body": {
6426
+ "package": "himalaya",
6427
+ "type": "Text",
6428
+ "props": {
6429
+ "text": "Update the app to change your password, or manage it on the website.",
6430
+ "style": "footnote",
6431
+ "color": "textSecondary"
6432
+ }
6433
+ },
6434
+ "modifiers": {
6435
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
6436
+ }
6437
+ },
6438
+ {
6439
+ "id": "",
6440
+ "body": {
6441
+ "package": "himalaya",
6442
+ "type": "Text",
6443
+ "props": {
6444
+ "text": "Update the app to change your password.",
6445
+ "style": "footnote",
6446
+ "color": "textSecondary"
6447
+ }
6448
+ },
6449
+ "modifiers": {
6450
+ "hiddenPath": "$service:himiBrandedAccountSettings.siteHandoff"
6451
+ }
6452
+ },
6453
+ {
6454
+ "id": "himi_account_settings.password_website",
6455
+ "body": {
6456
+ "package": "himalaya",
6457
+ "type": "Button",
6458
+ "props": {
6459
+ "title": "Visit website",
6460
+ "style": "secondary",
6461
+ "action": {
6462
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
6463
+ }
6464
+ }
6465
+ },
6466
+ "modifiers": {
6467
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
6468
+ }
6469
+ }
6470
+ ]
6471
+ }
6472
+ },
6473
+ "modifiers": {
6474
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordCredentialSupported"
6475
+ }
6476
+ },
6477
+ {
6478
+ "id": "",
6479
+ "body": {
6480
+ "package": "himalaya",
6481
+ "type": "Text",
6482
+ "props": {
6483
+ "text": "Profile URL",
6484
+ "style": "title2"
6485
+ }
6486
+ }
6487
+ },
6488
+ {
6489
+ "id": "himi_account_settings.profile_url",
6490
+ "body": {
6491
+ "package": "himalaya",
6492
+ "type": "Text",
6493
+ "props": {
6494
+ "text": "$service:himiBrandedAccountSettings.profileUrl",
6495
+ "style": "body",
6496
+ "collapseWhenEmpty": true
6497
+ }
6498
+ }
6499
+ },
6500
+ {
6501
+ "id": "",
6502
+ "body": {
6503
+ "package": "himalaya",
6504
+ "type": "Text",
6505
+ "props": {
6506
+ "text": "A public profile URL is not available for this site.",
6507
+ "style": "footnote",
6508
+ "color": "textSecondary"
6509
+ }
6510
+ },
6511
+ "modifiers": {
6512
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasProfileUrl"
6513
+ }
6514
+ },
6515
+ {
6516
+ "id": "",
6517
+ "body": {
6518
+ "package": "himalaya",
6519
+ "type": "VStack",
6520
+ "props": {
6521
+ "spacing": 5,
6522
+ "alignment": "leading",
6523
+ "children": [
6524
+ {
6525
+ "id": "",
6526
+ "body": {
6527
+ "package": "himalaya",
6528
+ "type": "Text",
6529
+ "props": {
6530
+ "text": "Profile URL name",
6531
+ "style": "footnote",
6532
+ "color": "textSecondary"
6533
+ }
6534
+ }
6535
+ },
6536
+ {
6537
+ "id": "himi_account_settings.slug",
6538
+ "body": {
6539
+ "package": "himalaya",
6540
+ "type": "TextField",
6541
+ "props": {
6542
+ "valuePath": "$service:himiBrandedAccountSettings.slug",
6543
+ "placeholder": "Profile URL name",
6544
+ "autoCapitalization": "words",
6545
+ "onChange": {
6546
+ "actionId": "tier5.himiBrandedAccountSettings.setSlug"
6547
+ }
6548
+ }
6549
+ }
6550
+ }
6551
+ ]
6552
+ }
6553
+ }
6554
+ },
6555
+ {
6556
+ "id": "himi_account_settings.save_slug",
6557
+ "body": {
6558
+ "package": "himalaya",
6559
+ "type": "Button",
6560
+ "props": {
6561
+ "title": "Update profile URL",
6562
+ "style": "secondary",
6563
+ "action": {
6564
+ "actionId": "tier5.himiBrandedAccountSettings.saveSlug"
6565
+ }
6566
+ }
6567
+ }
6568
+ },
6569
+ {
6570
+ "id": "himi_account_settings.slug_message",
6571
+ "body": {
6572
+ "package": "himalaya",
6573
+ "type": "Text",
6574
+ "props": {
6575
+ "text": "$service:himiBrandedAccountSettings.slugMessage",
6576
+ "style": "footnote",
6577
+ "collapseWhenEmpty": true
6578
+ }
6579
+ }
6580
+ },
6581
+ {
6582
+ "id": "",
6583
+ "body": {
6584
+ "package": "himalaya",
6585
+ "type": "Text",
6586
+ "props": {
6587
+ "text": "Profile privacy",
6588
+ "style": "title2"
6589
+ }
6590
+ }
6591
+ },
6592
+ {
6593
+ "id": "himi_account_settings.privacy_action",
6594
+ "body": {
6595
+ "package": "himalaya",
6596
+ "type": "Button",
6597
+ "props": {
6598
+ "title": "$service:himiBrandedAccountSettings.privacyActionLabel",
6599
+ "style": "secondary",
6600
+ "action": {
6601
+ "actionId": "tier5.himiBrandedAccountSettings.requestPrivacyChange"
6602
+ }
6603
+ }
6604
+ },
6605
+ "modifiers": {
6606
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacyControlsUnavailable"
6607
+ }
6608
+ },
6609
+ {
6610
+ "id": "",
6611
+ "body": {
6612
+ "package": "himalaya",
6613
+ "type": "Text",
6614
+ "props": {
6615
+ "text": "Profile privacy controls are unavailable for this member account.",
6616
+ "style": "footnote",
6617
+ "color": "textSecondary"
6618
+ }
6619
+ },
6620
+ "modifiers": {
6621
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacySupported"
6622
+ }
6623
+ },
6624
+ {
6625
+ "id": "himi_account_settings.privacy_confirmation",
6626
+ "body": {
6627
+ "package": "himalaya",
6628
+ "type": "VStack",
6629
+ "props": {
6630
+ "spacing": 8,
6631
+ "alignment": "leading",
6632
+ "children": [
6633
+ {
6634
+ "id": "",
6635
+ "body": {
6636
+ "package": "himalaya",
6637
+ "type": "Text",
6638
+ "props": {
6639
+ "text": "$service:himiBrandedAccountSettings.privacyPrompt",
6640
+ "style": "body"
6641
+ }
6642
+ }
6643
+ },
6644
+ {
6645
+ "id": "himi_account_settings.confirm_privacy",
6646
+ "body": {
6647
+ "package": "himalaya",
6648
+ "type": "Button",
6649
+ "props": {
6650
+ "title": "Confirm",
6651
+ "style": "primary",
6652
+ "action": {
6653
+ "actionId": "tier5.himiBrandedAccountSettings.setPrivate",
6654
+ "params": {
6655
+ "status": "$service:himiBrandedAccountSettings.pendingPrivacyStatus"
6656
+ }
6657
+ }
6658
+ }
6659
+ }
6660
+ },
6661
+ {
6662
+ "id": "himi_account_settings.cancel_privacy",
6663
+ "body": {
6664
+ "package": "himalaya",
6665
+ "type": "Button",
6666
+ "props": {
6667
+ "title": "Cancel",
6668
+ "style": "secondary",
6669
+ "action": {
6670
+ "actionId": "tier5.himiBrandedAccountSettings.cancelPrivacyChange"
6671
+ }
6672
+ }
6673
+ }
6674
+ }
6675
+ ]
6676
+ }
6677
+ },
6678
+ "modifiers": {
6679
+ "background": {
6680
+ "token": "surfaceElevated"
6681
+ },
6682
+ "border": {
6683
+ "width": 1,
6684
+ "color": {
6685
+ "token": "border"
6686
+ }
6687
+ },
6688
+ "cornerRadius": 16,
6689
+ "padding": {
6690
+ "leading": 16,
6691
+ "trailing": 16,
6692
+ "top": 16,
6693
+ "bottom": 16
6694
+ },
6695
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPrivacyConfirm"
6696
+ }
6697
+ },
6698
+ {
6699
+ "id": "",
6700
+ "body": {
6701
+ "package": "himalaya",
6702
+ "type": "VStack",
6703
+ "props": {
6704
+ "spacing": 10,
6705
+ "alignment": "leading",
6706
+ "children": [
6707
+ {
6708
+ "id": "himi_account_settings.blocked.title",
6709
+ "body": {
6710
+ "package": "himalaya",
6711
+ "type": "Text",
6712
+ "props": {
6713
+ "text": "Blocked members",
6714
+ "style": "title2"
6715
+ }
6716
+ }
6717
+ },
6718
+ {
6719
+ "id": "",
6720
+ "body": {
6721
+ "package": "himalaya",
6722
+ "type": "Text",
6723
+ "props": {
6724
+ "text": "Loading blocked members…",
6725
+ "style": "footnote",
6726
+ "color": "textSecondary"
6727
+ }
6728
+ },
6729
+ "modifiers": {
6730
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notLoading"
6731
+ }
6732
+ },
6733
+ {
6734
+ "id": "",
6735
+ "body": {
6736
+ "package": "himalaya",
6737
+ "type": "VStack",
6738
+ "props": {
6739
+ "spacing": 8,
6740
+ "children": [
6741
+ {
6742
+ "id": "",
6743
+ "body": {
6744
+ "package": "himalaya",
6745
+ "type": "Text",
6746
+ "props": {
6747
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
6748
+ "style": "footnote",
6749
+ "color": "textSecondary"
6750
+ }
6751
+ }
6752
+ },
6753
+ {
6754
+ "id": "btn_tier5_himibrandedaccountblockedmembers_load",
6755
+ "body": {
6756
+ "package": "himalaya",
6757
+ "type": "Button",
6758
+ "props": {
6759
+ "title": "Try again",
6760
+ "style": "secondary",
6761
+ "action": {
6762
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
6763
+ }
6764
+ }
6765
+ }
6766
+ }
6767
+ ]
6768
+ }
6769
+ },
6770
+ "modifiers": {
6771
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notErrored"
6772
+ }
6773
+ },
6774
+ {
6775
+ "id": "",
6776
+ "body": {
6777
+ "package": "himalaya",
6778
+ "type": "Text",
6779
+ "props": {
6780
+ "text": "You have no blocked members.",
6781
+ "style": "footnote",
6782
+ "color": "textSecondary"
6783
+ }
6784
+ },
6785
+ "modifiers": {
6786
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.hideEmpty"
6787
+ }
6788
+ },
6789
+ {
6790
+ "id": "",
6791
+ "body": {
6792
+ "package": "himalaya",
6793
+ "type": "LazyList",
6794
+ "props": {
6795
+ "spacing": 8,
6796
+ "itemsPath": "$service:himiBrandedAccountBlockedMembers.blockedMembers",
6797
+ "items": [
6798
+ {
6799
+ "id": "himi_account_settings.blocked.row.$item.memberId",
6800
+ "body": {
6801
+ "package": "himalaya",
6802
+ "type": "HStack",
6803
+ "props": {
6804
+ "spacing": 10,
6805
+ "children": [
6806
+ {
6807
+ "id": "",
6808
+ "body": {
6809
+ "package": "himalaya",
6810
+ "type": "Text",
6811
+ "props": {
6812
+ "text": "$item.label",
6813
+ "style": "body",
6814
+ "maxLines": 2
6815
+ }
6816
+ }
6817
+ },
6818
+ {
6819
+ "id": "btn_tier5_himibrandedaccountblockedmembers_requestunblock",
6820
+ "body": {
6821
+ "package": "himalaya",
6822
+ "type": "Button",
6823
+ "props": {
6824
+ "title": "Unblock",
6825
+ "style": "secondary",
6826
+ "action": {
6827
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.requestUnblock",
6828
+ "params": {
6829
+ "memberId": "$item.memberId"
6830
+ }
6831
+ }
6832
+ }
6833
+ }
6834
+ }
6835
+ ]
6836
+ }
6837
+ }
6838
+ }
6839
+ ]
6840
+ }
6841
+ },
6842
+ "modifiers": {
6843
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMembers"
6844
+ }
6845
+ },
6846
+ {
6847
+ "id": "himi_account_settings.blocked.load_more",
6848
+ "body": {
6849
+ "package": "himalaya",
6850
+ "type": "Button",
6851
+ "props": {
6852
+ "title": "Load more",
6853
+ "style": "secondary",
6854
+ "loading": false,
6855
+ "action": {
6856
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.loadMore"
6857
+ }
6858
+ }
6859
+ },
6860
+ "modifiers": {
6861
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMore"
6862
+ }
6863
+ },
6864
+ {
6865
+ "id": "",
6866
+ "body": {
6867
+ "package": "himalaya",
6868
+ "type": "Text",
6869
+ "props": {
6870
+ "text": "$service:himiBrandedAccountBlockedMembers.message",
6871
+ "style": "footnote",
6872
+ "color": "textSecondary",
6873
+ "collapseWhenEmpty": true
6874
+ }
6875
+ }
6876
+ },
6877
+ {
6878
+ "id": "himi_account_settings.blocked.confirm",
6879
+ "body": {
6880
+ "package": "himalaya",
6881
+ "type": "VStack",
6882
+ "props": {
6883
+ "spacing": 8,
6884
+ "alignment": "leading",
6885
+ "children": [
6886
+ {
6887
+ "id": "",
6888
+ "body": {
6889
+ "package": "himalaya",
6890
+ "type": "Text",
6891
+ "props": {
6892
+ "text": "Unblock this member? They may be able to interact with your profile again.",
6893
+ "style": "body"
6894
+ }
6895
+ }
6896
+ },
6897
+ {
6898
+ "id": "",
6899
+ "body": {
6900
+ "package": "himalaya",
6901
+ "type": "Text",
6902
+ "props": {
6903
+ "text": "$service:himiBrandedAccountBlockedMembers.confirmMemberId",
6904
+ "style": "footnote",
6905
+ "color": "textSecondary"
6906
+ }
6907
+ }
6908
+ },
6909
+ {
6910
+ "id": "",
6911
+ "body": {
6912
+ "package": "himalaya",
6913
+ "type": "Text",
6914
+ "props": {
6915
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
6916
+ "style": "footnote",
6917
+ "color": "textSecondary",
6918
+ "collapseWhenEmpty": true
6919
+ }
6920
+ }
6921
+ },
6922
+ {
6923
+ "id": "btn_tier5_himibrandedaccountblockedmembers_confirmunblock",
6924
+ "body": {
6925
+ "package": "himalaya",
6926
+ "type": "Button",
6927
+ "props": {
6928
+ "title": "Confirm unblock",
6929
+ "style": "primary",
6930
+ "action": {
6931
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.confirmUnblock"
6932
+ }
6933
+ }
6934
+ }
6935
+ },
6936
+ {
6937
+ "id": "btn_tier5_himibrandedaccountblockedmembers_cancelunblock",
6938
+ "body": {
6939
+ "package": "himalaya",
6940
+ "type": "Button",
6941
+ "props": {
6942
+ "title": "Cancel",
6943
+ "style": "secondary",
6944
+ "action": {
6945
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.cancelUnblock"
6946
+ }
6947
+ }
6948
+ }
6949
+ }
6950
+ ]
6951
+ }
6952
+ },
6953
+ "modifiers": {
6954
+ "background": {
6955
+ "token": "surfaceElevated"
6956
+ },
6957
+ "border": {
6958
+ "width": 1,
6959
+ "color": {
6960
+ "token": "border"
6961
+ }
6962
+ },
6963
+ "cornerRadius": 16,
6964
+ "padding": {
6965
+ "leading": 16,
6966
+ "trailing": 16,
6967
+ "top": 16,
6968
+ "bottom": 16
6969
+ },
6970
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noConfirm"
6971
+ }
6972
+ }
6973
+ ]
6974
+ }
6975
+ },
6976
+ "modifiers": {
6977
+ "onAppear": {
6978
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
6979
+ }
6980
+ }
6981
+ },
6982
+ {
6983
+ "id": "himi_account_settings.message",
6984
+ "body": {
6985
+ "package": "himalaya",
6986
+ "type": "Text",
6987
+ "props": {
6988
+ "text": "$service:himiBrandedAccountSettings.message",
6989
+ "style": "footnote",
6990
+ "color": "textSecondary",
6991
+ "collapseWhenEmpty": true
6992
+ }
6993
+ }
6994
+ },
6995
+ {
6996
+ "id": "",
6997
+ "body": {
6998
+ "package": "himalaya",
6999
+ "type": "HStack",
7000
+ "props": {
7001
+ "spacing": 10,
7002
+ "children": [
7003
+ {
7004
+ "id": "himi_account_settings.discard",
7005
+ "body": {
7006
+ "package": "himalaya",
7007
+ "type": "Button",
7008
+ "props": {
7009
+ "title": "Discard",
7010
+ "style": "secondary",
7011
+ "action": {
7012
+ "actionId": "tier5.himiBrandedAccountSettings.discard"
7013
+ }
7014
+ }
7015
+ }
7016
+ },
7017
+ {
7018
+ "id": "himi_account_settings.save",
7019
+ "body": {
7020
+ "package": "himalaya",
7021
+ "type": "Button",
7022
+ "props": {
7023
+ "title": "Update Info",
7024
+ "style": "primary",
7025
+ "disabledPath": "$service:himiBrandedAccountSettings.photoUploading",
7026
+ "action": {
7027
+ "actionId": "tier5.himiBrandedAccountSettings.save"
7028
+ }
7029
+ }
7030
+ }
7031
+ }
7032
+ ]
7033
+ }
7034
+ }
7035
+ },
7036
+ {
7037
+ "id": "himi_account_settings.password_sheet",
7038
+ "body": {
7039
+ "package": "himalaya",
7040
+ "type": "BottomSheet",
7041
+ "props": {
7042
+ "presentedPath": "$service:himiBrandedAccountSettings.passwordPanelOpen",
7043
+ "dismissible": true,
7044
+ "showGrabber": true,
7045
+ "onDismiss": {
7046
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
7047
+ },
7048
+ "content": {
7049
+ "id": "",
7050
+ "body": {
7051
+ "package": "himalaya",
7052
+ "type": "VStack",
7053
+ "props": {
7054
+ "spacing": 16,
7055
+ "alignment": "leading",
7056
+ "children": [
7057
+ {
7058
+ "id": "",
7059
+ "body": {
7060
+ "package": "himalaya",
7061
+ "type": "Text",
7062
+ "props": {
7063
+ "text": "Change password",
7064
+ "style": "title2"
7065
+ }
7066
+ }
7067
+ },
7068
+ {
7069
+ "id": "",
7070
+ "body": {
7071
+ "package": "himalaya",
7072
+ "type": "VStack",
7073
+ "props": {
7074
+ "spacing": 5,
7075
+ "alignment": "leading",
7076
+ "children": [
7077
+ {
7078
+ "id": "",
7079
+ "body": {
7080
+ "package": "himalaya",
7081
+ "type": "Text",
7082
+ "props": {
7083
+ "text": "Current password",
7084
+ "style": "footnote",
7085
+ "color": "textSecondary"
7086
+ }
7087
+ }
7088
+ },
7089
+ {
7090
+ "id": "himi_account_settings.passwordCurrent",
7091
+ "body": {
7092
+ "package": "himalaya",
7093
+ "type": "TextField",
7094
+ "props": {
7095
+ "valuePath": "$service:himiBrandedAccountSettings.passwordCurrent",
7096
+ "placeholder": "Current password",
7097
+ "secure": true,
7098
+ "autoCapitalization": "none",
7099
+ "onChange": {
7100
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordCurrent"
7101
+ }
7102
+ }
7103
+ }
7104
+ }
7105
+ ]
7106
+ }
7107
+ }
7108
+ },
7109
+ {
7110
+ "id": "",
7111
+ "body": {
7112
+ "package": "himalaya",
7113
+ "type": "VStack",
7114
+ "props": {
7115
+ "spacing": 5,
7116
+ "alignment": "leading",
7117
+ "children": [
7118
+ {
7119
+ "id": "",
7120
+ "body": {
7121
+ "package": "himalaya",
7122
+ "type": "Text",
7123
+ "props": {
7124
+ "text": "New password",
7125
+ "style": "footnote",
7126
+ "color": "textSecondary"
7127
+ }
7128
+ }
7129
+ },
7130
+ {
7131
+ "id": "himi_account_settings.passwordNew",
7132
+ "body": {
7133
+ "package": "himalaya",
7134
+ "type": "TextField",
7135
+ "props": {
7136
+ "valuePath": "$service:himiBrandedAccountSettings.passwordNew",
7137
+ "placeholder": "New password",
7138
+ "secure": true,
7139
+ "autoCapitalization": "none",
7140
+ "onChange": {
7141
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordNew"
7142
+ }
7143
+ }
7144
+ }
7145
+ }
7146
+ ]
7147
+ }
7148
+ }
7149
+ },
7150
+ {
7151
+ "id": "",
7152
+ "body": {
7153
+ "package": "himalaya",
7154
+ "type": "VStack",
7155
+ "props": {
7156
+ "spacing": 5,
7157
+ "alignment": "leading",
7158
+ "children": [
7159
+ {
7160
+ "id": "",
7161
+ "body": {
7162
+ "package": "himalaya",
7163
+ "type": "Text",
7164
+ "props": {
7165
+ "text": "Confirm new password",
7166
+ "style": "footnote",
7167
+ "color": "textSecondary"
7168
+ }
7169
+ }
7170
+ },
7171
+ {
7172
+ "id": "himi_account_settings.passwordConfirm",
7173
+ "body": {
7174
+ "package": "himalaya",
7175
+ "type": "TextField",
7176
+ "props": {
7177
+ "valuePath": "$service:himiBrandedAccountSettings.passwordConfirm",
7178
+ "placeholder": "Confirm new password",
7179
+ "secure": true,
7180
+ "autoCapitalization": "none",
7181
+ "onChange": {
7182
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordConfirm"
7183
+ }
7184
+ }
7185
+ }
7186
+ }
7187
+ ]
7188
+ }
7189
+ }
7190
+ },
7191
+ {
7192
+ "id": "",
7193
+ "body": {
7194
+ "package": "himalaya",
7195
+ "type": "Text",
7196
+ "props": {
7197
+ "text": "Changing password…",
7198
+ "style": "footnote",
7199
+ "color": "textSecondary"
7200
+ }
7201
+ },
7202
+ "modifiers": {
7203
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordChanging"
7204
+ }
7205
+ },
7206
+ {
7207
+ "id": "",
7208
+ "body": {
7209
+ "package": "himalaya",
7210
+ "type": "Text",
7211
+ "props": {
7212
+ "text": "Sending reset link…",
7213
+ "style": "footnote",
7214
+ "color": "textSecondary"
7215
+ }
7216
+ },
7217
+ "modifiers": {
7218
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordResetSending"
7219
+ }
7220
+ },
7221
+ {
7222
+ "id": "",
7223
+ "body": {
7224
+ "package": "himalaya",
7225
+ "type": "Text",
7226
+ "props": {
7227
+ "text": "$service:himiBrandedAccountSettings.passwordError",
7228
+ "style": "footnote",
7229
+ "color": "textSecondary"
7230
+ }
7231
+ },
7232
+ "modifiers": {
7233
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoError"
7234
+ }
7235
+ },
7236
+ {
7237
+ "id": "",
7238
+ "body": {
7239
+ "package": "himalaya",
7240
+ "type": "Text",
7241
+ "props": {
7242
+ "text": "$service:himiBrandedAccountSettings.passwordMessage",
7243
+ "style": "footnote",
7244
+ "color": "textSecondary"
7245
+ }
7246
+ },
7247
+ "modifiers": {
7248
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoMessage"
7249
+ }
7250
+ },
7251
+ {
7252
+ "id": "btn_tier5_himibrandedaccountsettings_changepassword",
7253
+ "body": {
7254
+ "package": "himalaya",
7255
+ "type": "Button",
7256
+ "props": {
7257
+ "title": "Change password",
7258
+ "style": "primary",
7259
+ "fullWidth": true,
7260
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
7261
+ "action": {
7262
+ "actionId": "tier5.himiBrandedAccountSettings.changePassword"
7263
+ }
7264
+ }
7265
+ }
7266
+ },
7267
+ {
7268
+ "id": "btn_tier5_himibrandedaccountsettings_resetpassword",
7269
+ "body": {
7270
+ "package": "himalaya",
7271
+ "type": "Button",
7272
+ "props": {
7273
+ "title": "Reset or create password by email",
7274
+ "style": "secondary",
7275
+ "fullWidth": true,
7276
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
7277
+ "action": {
7278
+ "actionId": "tier5.himiBrandedAccountSettings.resetPassword"
7279
+ }
7280
+ }
7281
+ }
7282
+ },
7283
+ {
7284
+ "id": "btn_tier5_himibrandedaccountsettings_closepasswordpanel",
7285
+ "body": {
7286
+ "package": "himalaya",
7287
+ "type": "Button",
7288
+ "props": {
7289
+ "title": "Cancel",
7290
+ "style": "plain",
7291
+ "action": {
7292
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
7293
+ }
7294
+ }
7295
+ }
7296
+ }
7297
+ ]
7298
+ }
7299
+ },
7300
+ "modifiers": {
7301
+ "padding": {
7302
+ "leading": 20,
7303
+ "trailing": 20,
7304
+ "top": 20,
7305
+ "bottom": 24
7306
+ }
7307
+ }
7308
+ }
7309
+ }
7310
+ }
7311
+ },
7312
+ {
7313
+ "id": "himi_account_settings.email_sheet",
7314
+ "body": {
7315
+ "package": "himalaya",
7316
+ "type": "BottomSheet",
7317
+ "props": {
7318
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
7319
+ "dismissible": true,
7320
+ "showGrabber": true,
7321
+ "onDismiss": {
7322
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
7323
+ },
7324
+ "content": {
7325
+ "id": "",
7326
+ "body": {
7327
+ "package": "himalaya",
7328
+ "type": "VStack",
7329
+ "props": {
7330
+ "spacing": 16,
7331
+ "alignment": "leading",
7332
+ "children": [
7333
+ {
7334
+ "id": "",
7335
+ "body": {
7336
+ "package": "himalaya",
7337
+ "type": "Text",
7338
+ "props": {
7339
+ "text": "Change login email",
7340
+ "style": "title2"
7341
+ }
7342
+ }
7343
+ },
7344
+ {
7345
+ "id": "",
7346
+ "body": {
7347
+ "package": "himalaya",
7348
+ "type": "Text",
7349
+ "props": {
7350
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
7351
+ "style": "bodyEmphasis"
7352
+ }
7353
+ }
7354
+ },
7355
+ {
7356
+ "id": "",
7357
+ "body": {
7358
+ "package": "himalaya",
7359
+ "type": "Text",
7360
+ "props": {
7361
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
7362
+ "style": "body",
7363
+ "color": "textSecondary"
7364
+ }
7365
+ }
7366
+ },
7367
+ {
7368
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
7369
+ "body": {
7370
+ "package": "himalaya",
7371
+ "type": "Button",
7372
+ "props": {
7373
+ "title": "Visit website",
7374
+ "style": "secondary",
7375
+ "fullWidth": true,
7376
+ "action": {
7377
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
7378
+ }
7379
+ }
7380
+ },
7381
+ "modifiers": {
7382
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
7383
+ }
7384
+ },
7385
+ {
7386
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
7387
+ "body": {
7388
+ "package": "himalaya",
7389
+ "type": "Button",
7390
+ "props": {
7391
+ "title": "Close",
7392
+ "style": "plain",
7393
+ "action": {
7394
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
7395
+ }
7396
+ }
7397
+ }
7398
+ }
7399
+ ]
7400
+ }
7401
+ },
7402
+ "modifiers": {
7403
+ "padding": {
7404
+ "leading": 20,
7405
+ "trailing": 20,
7406
+ "top": 20,
7407
+ "bottom": 24
7408
+ }
7409
+ }
7410
+ }
7411
+ }
7412
+ }
7413
+ }
7414
+ ]
7415
+ }
7416
+ },
7417
+ "modifiers": {
7418
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
7419
+ }
7420
+ }
7421
+ ]
7422
+ }
7423
+ },
7424
+ "modifiers": {
7425
+ "background": {
7426
+ "token": "surfacePrimary"
7427
+ },
7428
+ "padding": {
7429
+ "leading": 16,
7430
+ "trailing": 16,
7431
+ "top": 18,
7432
+ "bottom": 28
7433
+ },
7434
+ "onAppear": {
7435
+ "actionId": "tier5.himiBrandedAccountSettings.load",
7436
+ "params": {
7437
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
7438
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
7439
+ }
7440
+ }
7441
+ }
7442
+ },
7443
+ "logicBundle": {
7444
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
7445
+ "integrity": "",
7446
+ "contentType": "application/javascript+ts-bundle",
7447
+ "declaredCapabilities": [
7448
+ "wix_api",
7449
+ "app_info",
7450
+ "open_url"
7451
+ ],
7452
+ "minBinaryVersion": "0.1.0",
7453
+ "bundleVersion": "0.0.1"
7454
+ }
7455
+ },
5706
7456
  "himi_app_info": {
5707
7457
  "screenId": "himi_app_info",
5708
7458
  "renderer": "sdui_intent",