@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)]));
@@ -3944,6 +3946,95 @@ const SCREENS = runtimeSetting({
3944
3946
  "hiddenPath": "$service:himiStoreAccount.notMember"
3945
3947
  }
3946
3948
  },
3949
+ {
3950
+ "id": "himi_account.settings",
3951
+ "body": {
3952
+ "package": "himalaya",
3953
+ "type": "HStack",
3954
+ "props": {
3955
+ "spacing": 12,
3956
+ "children": [
3957
+ {
3958
+ "id": "",
3959
+ "body": {
3960
+ "package": "himalaya",
3961
+ "type": "Icon",
3962
+ "props": {
3963
+ "name": "settings",
3964
+ "size": 18,
3965
+ "tint": "accentPrimary"
3966
+ }
3967
+ },
3968
+ "modifiers": {
3969
+ "accessibilityRole": "decorative"
3970
+ }
3971
+ },
3972
+ {
3973
+ "id": "",
3974
+ "body": {
3975
+ "package": "himalaya",
3976
+ "type": "Text",
3977
+ "props": {
3978
+ "text": "My Account",
3979
+ "style": "bodyEmphasis"
3980
+ }
3981
+ }
3982
+ },
3983
+ {
3984
+ "id": "",
3985
+ "body": {
3986
+ "package": "himalaya",
3987
+ "type": "Spacer",
3988
+ "props": {}
3989
+ }
3990
+ },
3991
+ {
3992
+ "id": "",
3993
+ "body": {
3994
+ "package": "himalaya",
3995
+ "type": "Icon",
3996
+ "props": {
3997
+ "name": "chevron_right",
3998
+ "size": 16,
3999
+ "tint": "textTertiary"
4000
+ }
4001
+ },
4002
+ "modifiers": {
4003
+ "accessibilityRole": "decorative"
4004
+ }
4005
+ }
4006
+ ]
4007
+ }
4008
+ },
4009
+ "modifiers": {
4010
+ "background": {
4011
+ "token": "surfaceElevated"
4012
+ },
4013
+ "border": {
4014
+ "width": 1,
4015
+ "color": {
4016
+ "token": "border"
4017
+ }
4018
+ },
4019
+ "cornerRadius": 8,
4020
+ "padding": {
4021
+ "leading": 14,
4022
+ "trailing": 14,
4023
+ "top": 13,
4024
+ "bottom": 13
4025
+ },
4026
+ "onTap": {
4027
+ "actionId": "himi.open",
4028
+ "params": {
4029
+ "screenId": "himi_account_settings"
4030
+ }
4031
+ },
4032
+ "pressFeedback": "scale",
4033
+ "haptic": "light",
4034
+ "accessibilityLabel": "My Account",
4035
+ "hiddenPath": "$service:himiStoreAccount.notMember"
4036
+ }
4037
+ },
3947
4038
  {
3948
4039
  "id": "himi_account.subscriptions_guest",
3949
4040
  "body": {
@@ -4524,6 +4615,1665 @@ const SCREENS = runtimeSetting({
4524
4615
  "bundleVersion": "0.0.1"
4525
4616
  }
4526
4617
  },
4618
+ "himi_account_settings": {
4619
+ "screenId": "himi_account_settings",
4620
+ "renderer": "sdui_intent",
4621
+ "title": "",
4622
+ "schemaVersion": 1,
4623
+ "cacheControl": {
4624
+ "maxAge": 0,
4625
+ "staleWhileRevalidate": 0
4626
+ },
4627
+ "payload": {
4628
+ "id": "himi_account_settings.root",
4629
+ "body": {
4630
+ "package": "himalaya",
4631
+ "type": "VStack",
4632
+ "props": {
4633
+ "spacing": 16,
4634
+ "alignment": "leading",
4635
+ "children": [
4636
+ {
4637
+ "id": "himi_account_settings.title",
4638
+ "body": {
4639
+ "package": "himalaya",
4640
+ "type": "Text",
4641
+ "props": {
4642
+ "text": "My Account",
4643
+ "style": "title1"
4644
+ }
4645
+ }
4646
+ },
4647
+ {
4648
+ "id": "",
4649
+ "body": {
4650
+ "package": "himalaya",
4651
+ "type": "Text",
4652
+ "props": {
4653
+ "text": "Update the profile details connected to your member account.",
4654
+ "style": "body",
4655
+ "color": "textSecondary"
4656
+ }
4657
+ }
4658
+ },
4659
+ {
4660
+ "id": "himi_account_settings.loading",
4661
+ "body": {
4662
+ "package": "himalaya",
4663
+ "type": "Skeleton",
4664
+ "props": {
4665
+ "height": 72,
4666
+ "cornerRadius": 12,
4667
+ "count": 3
4668
+ }
4669
+ },
4670
+ "modifiers": {
4671
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
4672
+ }
4673
+ },
4674
+ {
4675
+ "id": "himi_account_settings.error",
4676
+ "body": {
4677
+ "package": "himalaya",
4678
+ "type": "VStack",
4679
+ "props": {
4680
+ "spacing": 8,
4681
+ "alignment": "leading",
4682
+ "children": [
4683
+ {
4684
+ "id": "",
4685
+ "body": {
4686
+ "package": "himalaya",
4687
+ "type": "Text",
4688
+ "props": {
4689
+ "text": "$service:himiBrandedAccountSettings.error",
4690
+ "style": "body",
4691
+ "collapseWhenEmpty": true
4692
+ }
4693
+ }
4694
+ },
4695
+ {
4696
+ "id": "himi_account_settings.retry",
4697
+ "body": {
4698
+ "package": "himalaya",
4699
+ "type": "Button",
4700
+ "props": {
4701
+ "title": "Try again",
4702
+ "style": "secondary",
4703
+ "action": {
4704
+ "actionId": "tier5.himiBrandedAccountSettings.load",
4705
+ "params": {
4706
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
4707
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
4708
+ }
4709
+ }
4710
+ }
4711
+ }
4712
+ },
4713
+ {
4714
+ "id": "himi_account_settings.sign_in",
4715
+ "body": {
4716
+ "package": "himalaya",
4717
+ "type": "Button",
4718
+ "props": {
4719
+ "title": "Sign in",
4720
+ "style": "primary",
4721
+ "action": {
4722
+ "actionId": "himi.open",
4723
+ "params": {
4724
+ "screenId": "himi_account",
4725
+ "returnScreenId": "himi_account_settings"
4726
+ }
4727
+ }
4728
+ }
4729
+ },
4730
+ "modifiers": {
4731
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
4732
+ }
4733
+ }
4734
+ ]
4735
+ }
4736
+ },
4737
+ "modifiers": {
4738
+ "background": {
4739
+ "token": "surfaceElevated"
4740
+ },
4741
+ "border": {
4742
+ "width": 1,
4743
+ "color": {
4744
+ "token": "border"
4745
+ }
4746
+ },
4747
+ "cornerRadius": 16,
4748
+ "padding": {
4749
+ "leading": 16,
4750
+ "trailing": 16,
4751
+ "top": 16,
4752
+ "bottom": 16
4753
+ },
4754
+ "hiddenPath": "$service:himiBrandedAccountSettings.notErrored"
4755
+ }
4756
+ },
4757
+ {
4758
+ "id": "",
4759
+ "body": {
4760
+ "package": "himalaya",
4761
+ "type": "VStack",
4762
+ "props": {
4763
+ "spacing": 18,
4764
+ "alignment": "leading",
4765
+ "children": [
4766
+ {
4767
+ "id": "",
4768
+ "body": {
4769
+ "package": "himalaya",
4770
+ "type": "Text",
4771
+ "props": {
4772
+ "text": "Display info",
4773
+ "style": "title2"
4774
+ }
4775
+ }
4776
+ },
4777
+ {
4778
+ "id": "himi_account_settings.photo_upload",
4779
+ "body": {
4780
+ "package": "himalaya",
4781
+ "type": "MediaField",
4782
+ "props": {
4783
+ "valuePath": "$service:himiBrandedAccountSettings.photoDisplayUrl",
4784
+ "uploadService": "himiBrandedAccountSettings",
4785
+ "label": "Choose a profile photo",
4786
+ "presentation": "avatar",
4787
+ "fallbackTextPath": "$service:himiBrandedAccountSettings.memberInitials",
4788
+ "heading": "Profile photo"
4789
+ }
4790
+ },
4791
+ "modifiers": {
4792
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4793
+ }
4794
+ },
4795
+ {
4796
+ "id": "",
4797
+ "body": {
4798
+ "package": "himalaya",
4799
+ "type": "HStack",
4800
+ "props": {
4801
+ "spacing": 14,
4802
+ "children": [
4803
+ {
4804
+ "id": "himi_account_settings.read_only_avatar",
4805
+ "body": {
4806
+ "package": "himalaya",
4807
+ "type": "Image",
4808
+ "props": {
4809
+ "url": "$service:himiBrandedAccountSettings.memberImage",
4810
+ "width": 72,
4811
+ "height": 72,
4812
+ "contentMode": "fill",
4813
+ "shape": "circle",
4814
+ "contentDescription": "Profile photo"
4815
+ }
4816
+ },
4817
+ "modifiers": {
4818
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMemberImage"
4819
+ }
4820
+ },
4821
+ {
4822
+ "id": "",
4823
+ "body": {
4824
+ "package": "himalaya",
4825
+ "type": "ZStack",
4826
+ "props": {
4827
+ "alignment": "center",
4828
+ "children": [
4829
+ {
4830
+ "id": "",
4831
+ "body": {
4832
+ "package": "himalaya",
4833
+ "type": "Text",
4834
+ "props": {
4835
+ "text": "$service:himiBrandedAccountSettings.memberInitials",
4836
+ "style": "title2",
4837
+ "color": "textOnAccent"
4838
+ }
4839
+ }
4840
+ }
4841
+ ]
4842
+ }
4843
+ },
4844
+ "modifiers": {
4845
+ "width": 72,
4846
+ "height": 72,
4847
+ "background": {
4848
+ "token": "accentPrimary"
4849
+ },
4850
+ "cornerRadius": 36,
4851
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasMemberImage"
4852
+ }
4853
+ },
4854
+ {
4855
+ "id": "",
4856
+ "body": {
4857
+ "package": "himalaya",
4858
+ "type": "VStack",
4859
+ "props": {
4860
+ "spacing": 4,
4861
+ "alignment": "leading",
4862
+ "children": [
4863
+ {
4864
+ "id": "",
4865
+ "body": {
4866
+ "package": "himalaya",
4867
+ "type": "Text",
4868
+ "props": {
4869
+ "text": "Profile photo",
4870
+ "style": "body",
4871
+ "color": "textSecondary"
4872
+ }
4873
+ }
4874
+ },
4875
+ {
4876
+ "id": "",
4877
+ "body": {
4878
+ "package": "himalaya",
4879
+ "type": "Text",
4880
+ "props": {
4881
+ "text": "Your profile photo is managed on the Wix site.",
4882
+ "style": "footnote",
4883
+ "color": "textSecondary"
4884
+ }
4885
+ }
4886
+ }
4887
+ ]
4888
+ }
4889
+ }
4890
+ }
4891
+ ]
4892
+ }
4893
+ },
4894
+ "modifiers": {
4895
+ "hiddenPath": "$service:himiBrandedAccountSettings.photoUploadAvailable"
4896
+ }
4897
+ },
4898
+ {
4899
+ "id": "",
4900
+ "body": {
4901
+ "package": "himalaya",
4902
+ "type": "Text",
4903
+ "props": {
4904
+ "text": "Your photo is uploaded now and saved with Update info. Discard clears the selection.",
4905
+ "style": "footnote",
4906
+ "color": "textSecondary"
4907
+ }
4908
+ },
4909
+ "modifiers": {
4910
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4911
+ }
4912
+ },
4913
+ {
4914
+ "id": "himi_account_settings.photo_upload_error",
4915
+ "body": {
4916
+ "package": "himalaya",
4917
+ "type": "Text",
4918
+ "props": {
4919
+ "text": "$service:himiBrandedAccountSettings.photoUploadError",
4920
+ "style": "footnote",
4921
+ "color": "danger",
4922
+ "collapseWhenEmpty": true
4923
+ }
4924
+ }
4925
+ },
4926
+ {
4927
+ "id": "",
4928
+ "body": {
4929
+ "package": "himalaya",
4930
+ "type": "VStack",
4931
+ "props": {
4932
+ "spacing": 5,
4933
+ "alignment": "leading",
4934
+ "children": [
4935
+ {
4936
+ "id": "",
4937
+ "body": {
4938
+ "package": "himalaya",
4939
+ "type": "Text",
4940
+ "props": {
4941
+ "text": "Display name",
4942
+ "style": "footnote",
4943
+ "color": "textSecondary"
4944
+ }
4945
+ }
4946
+ },
4947
+ {
4948
+ "id": "himi_account_settings.displayName",
4949
+ "body": {
4950
+ "package": "himalaya",
4951
+ "type": "TextField",
4952
+ "props": {
4953
+ "valuePath": "$service:himiBrandedAccountSettings.displayName",
4954
+ "placeholder": "Display name",
4955
+ "autoCapitalization": "words",
4956
+ "onChange": {
4957
+ "actionId": "tier5.himiBrandedAccountSettings.setDisplayName"
4958
+ },
4959
+ "validation": {
4960
+ "required": true
4961
+ },
4962
+ "errorPath": "$service:himiBrandedAccountSettings.displayNameError"
4963
+ }
4964
+ }
4965
+ }
4966
+ ]
4967
+ }
4968
+ }
4969
+ },
4970
+ {
4971
+ "id": "",
4972
+ "body": {
4973
+ "package": "himalaya",
4974
+ "type": "VStack",
4975
+ "props": {
4976
+ "spacing": 5,
4977
+ "alignment": "leading",
4978
+ "children": [
4979
+ {
4980
+ "id": "",
4981
+ "body": {
4982
+ "package": "himalaya",
4983
+ "type": "Text",
4984
+ "props": {
4985
+ "text": "Title",
4986
+ "style": "footnote",
4987
+ "color": "textSecondary"
4988
+ }
4989
+ }
4990
+ },
4991
+ {
4992
+ "id": "himi_account_settings.title",
4993
+ "body": {
4994
+ "package": "himalaya",
4995
+ "type": "TextField",
4996
+ "props": {
4997
+ "valuePath": "$service:himiBrandedAccountSettings.title",
4998
+ "placeholder": "Title",
4999
+ "autoCapitalization": "words",
5000
+ "onChange": {
5001
+ "actionId": "tier5.himiBrandedAccountSettings.setTitle"
5002
+ },
5003
+ "errorPath": "$service:himiBrandedAccountSettings.titleError"
5004
+ }
5005
+ }
5006
+ }
5007
+ ]
5008
+ }
5009
+ }
5010
+ },
5011
+ {
5012
+ "id": "",
5013
+ "body": {
5014
+ "package": "himalaya",
5015
+ "type": "Text",
5016
+ "props": {
5017
+ "text": "Personal info",
5018
+ "style": "title2"
5019
+ }
5020
+ }
5021
+ },
5022
+ {
5023
+ "id": "",
5024
+ "body": {
5025
+ "package": "himalaya",
5026
+ "type": "VStack",
5027
+ "props": {
5028
+ "spacing": 5,
5029
+ "alignment": "leading",
5030
+ "children": [
5031
+ {
5032
+ "id": "",
5033
+ "body": {
5034
+ "package": "himalaya",
5035
+ "type": "Text",
5036
+ "props": {
5037
+ "text": "First name",
5038
+ "style": "footnote",
5039
+ "color": "textSecondary"
5040
+ }
5041
+ }
5042
+ },
5043
+ {
5044
+ "id": "himi_account_settings.firstName",
5045
+ "body": {
5046
+ "package": "himalaya",
5047
+ "type": "TextField",
5048
+ "props": {
5049
+ "valuePath": "$service:himiBrandedAccountSettings.firstName",
5050
+ "placeholder": "First name",
5051
+ "autoCapitalization": "words",
5052
+ "onChange": {
5053
+ "actionId": "tier5.himiBrandedAccountSettings.setFirstName"
5054
+ },
5055
+ "errorPath": "$service:himiBrandedAccountSettings.firstNameError"
5056
+ }
5057
+ }
5058
+ }
5059
+ ]
5060
+ }
5061
+ }
5062
+ },
5063
+ {
5064
+ "id": "",
5065
+ "body": {
5066
+ "package": "himalaya",
5067
+ "type": "VStack",
5068
+ "props": {
5069
+ "spacing": 5,
5070
+ "alignment": "leading",
5071
+ "children": [
5072
+ {
5073
+ "id": "",
5074
+ "body": {
5075
+ "package": "himalaya",
5076
+ "type": "Text",
5077
+ "props": {
5078
+ "text": "Last name",
5079
+ "style": "footnote",
5080
+ "color": "textSecondary"
5081
+ }
5082
+ }
5083
+ },
5084
+ {
5085
+ "id": "himi_account_settings.lastName",
5086
+ "body": {
5087
+ "package": "himalaya",
5088
+ "type": "TextField",
5089
+ "props": {
5090
+ "valuePath": "$service:himiBrandedAccountSettings.lastName",
5091
+ "placeholder": "Last name",
5092
+ "autoCapitalization": "words",
5093
+ "onChange": {
5094
+ "actionId": "tier5.himiBrandedAccountSettings.setLastName"
5095
+ },
5096
+ "errorPath": "$service:himiBrandedAccountSettings.lastNameError"
5097
+ }
5098
+ }
5099
+ }
5100
+ ]
5101
+ }
5102
+ }
5103
+ },
5104
+ {
5105
+ "id": "",
5106
+ "body": {
5107
+ "package": "himalaya",
5108
+ "type": "VStack",
5109
+ "props": {
5110
+ "spacing": 5,
5111
+ "alignment": "leading",
5112
+ "children": [
5113
+ {
5114
+ "id": "",
5115
+ "body": {
5116
+ "package": "himalaya",
5117
+ "type": "Text",
5118
+ "props": {
5119
+ "text": "Phone",
5120
+ "style": "footnote",
5121
+ "color": "textSecondary"
5122
+ }
5123
+ }
5124
+ },
5125
+ {
5126
+ "id": "himi_account_settings.phone",
5127
+ "body": {
5128
+ "package": "himalaya",
5129
+ "type": "TextField",
5130
+ "props": {
5131
+ "valuePath": "$service:himiBrandedAccountSettings.phone",
5132
+ "placeholder": "Phone",
5133
+ "keyboard": "phone",
5134
+ "autoCapitalization": "words",
5135
+ "onChange": {
5136
+ "actionId": "tier5.himiBrandedAccountSettings.setPhone"
5137
+ },
5138
+ "errorPath": "$service:himiBrandedAccountSettings.phoneError"
5139
+ }
5140
+ }
5141
+ }
5142
+ ]
5143
+ }
5144
+ }
5145
+ },
5146
+ {
5147
+ "id": "",
5148
+ "body": {
5149
+ "package": "himalaya",
5150
+ "type": "Text",
5151
+ "props": {
5152
+ "text": "Clearing this field removes the primary phone number. Other saved numbers are kept.",
5153
+ "style": "caption",
5154
+ "color": "textSecondary"
5155
+ }
5156
+ }
5157
+ },
5158
+ {
5159
+ "id": "",
5160
+ "body": {
5161
+ "package": "himalaya",
5162
+ "type": "Text",
5163
+ "props": {
5164
+ "text": "Login info",
5165
+ "style": "title2"
5166
+ }
5167
+ }
5168
+ },
5169
+ {
5170
+ "id": "",
5171
+ "body": {
5172
+ "package": "himalaya",
5173
+ "type": "Text",
5174
+ "props": {
5175
+ "text": "Login email",
5176
+ "style": "footnote",
5177
+ "color": "textSecondary"
5178
+ }
5179
+ }
5180
+ },
5181
+ {
5182
+ "id": "himi_account_settings.login_email",
5183
+ "body": {
5184
+ "package": "himalaya",
5185
+ "type": "Text",
5186
+ "props": {
5187
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
5188
+ "style": "body"
5189
+ }
5190
+ }
5191
+ },
5192
+ {
5193
+ "id": "",
5194
+ "body": {
5195
+ "package": "himalaya",
5196
+ "type": "HStack",
5197
+ "props": {
5198
+ "spacing": 10,
5199
+ "children": [
5200
+ {
5201
+ "id": "himi_account_settings.change_email",
5202
+ "body": {
5203
+ "package": "himalaya",
5204
+ "type": "Button",
5205
+ "props": {
5206
+ "title": "Change email",
5207
+ "style": "secondary",
5208
+ "action": {
5209
+ "actionId": "tier5.himiBrandedAccountSettings.openEmailPanel"
5210
+ }
5211
+ }
5212
+ }
5213
+ },
5214
+ {
5215
+ "id": "himi_account_settings.change_password",
5216
+ "body": {
5217
+ "package": "himalaya",
5218
+ "type": "Button",
5219
+ "props": {
5220
+ "title": "Change password",
5221
+ "style": "primary",
5222
+ "action": {
5223
+ "actionId": "tier5.himiBrandedAccountSettings.openPasswordPanel"
5224
+ }
5225
+ }
5226
+ },
5227
+ "modifiers": {
5228
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPasswordCredentialSupport"
5229
+ }
5230
+ }
5231
+ ]
5232
+ }
5233
+ }
5234
+ },
5235
+ {
5236
+ "id": "",
5237
+ "body": {
5238
+ "package": "himalaya",
5239
+ "type": "VStack",
5240
+ "props": {
5241
+ "spacing": 8,
5242
+ "alignment": "leading",
5243
+ "children": [
5244
+ {
5245
+ "id": "",
5246
+ "body": {
5247
+ "package": "himalaya",
5248
+ "type": "Text",
5249
+ "props": {
5250
+ "text": "Update the app to change your password, or manage it on the website.",
5251
+ "style": "footnote",
5252
+ "color": "textSecondary"
5253
+ }
5254
+ },
5255
+ "modifiers": {
5256
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5257
+ }
5258
+ },
5259
+ {
5260
+ "id": "",
5261
+ "body": {
5262
+ "package": "himalaya",
5263
+ "type": "Text",
5264
+ "props": {
5265
+ "text": "Update the app to change your password.",
5266
+ "style": "footnote",
5267
+ "color": "textSecondary"
5268
+ }
5269
+ },
5270
+ "modifiers": {
5271
+ "hiddenPath": "$service:himiBrandedAccountSettings.siteHandoff"
5272
+ }
5273
+ },
5274
+ {
5275
+ "id": "himi_account_settings.password_website",
5276
+ "body": {
5277
+ "package": "himalaya",
5278
+ "type": "Button",
5279
+ "props": {
5280
+ "title": "Visit website",
5281
+ "style": "secondary",
5282
+ "action": {
5283
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
5284
+ }
5285
+ }
5286
+ },
5287
+ "modifiers": {
5288
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5289
+ }
5290
+ }
5291
+ ]
5292
+ }
5293
+ },
5294
+ "modifiers": {
5295
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordCredentialSupported"
5296
+ }
5297
+ },
5298
+ {
5299
+ "id": "",
5300
+ "body": {
5301
+ "package": "himalaya",
5302
+ "type": "Text",
5303
+ "props": {
5304
+ "text": "Profile URL",
5305
+ "style": "title2"
5306
+ }
5307
+ }
5308
+ },
5309
+ {
5310
+ "id": "himi_account_settings.profile_url",
5311
+ "body": {
5312
+ "package": "himalaya",
5313
+ "type": "Text",
5314
+ "props": {
5315
+ "text": "$service:himiBrandedAccountSettings.profileUrl",
5316
+ "style": "body",
5317
+ "collapseWhenEmpty": true
5318
+ }
5319
+ }
5320
+ },
5321
+ {
5322
+ "id": "",
5323
+ "body": {
5324
+ "package": "himalaya",
5325
+ "type": "Text",
5326
+ "props": {
5327
+ "text": "A public profile URL is not available for this site.",
5328
+ "style": "footnote",
5329
+ "color": "textSecondary"
5330
+ }
5331
+ },
5332
+ "modifiers": {
5333
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasProfileUrl"
5334
+ }
5335
+ },
5336
+ {
5337
+ "id": "",
5338
+ "body": {
5339
+ "package": "himalaya",
5340
+ "type": "VStack",
5341
+ "props": {
5342
+ "spacing": 5,
5343
+ "alignment": "leading",
5344
+ "children": [
5345
+ {
5346
+ "id": "",
5347
+ "body": {
5348
+ "package": "himalaya",
5349
+ "type": "Text",
5350
+ "props": {
5351
+ "text": "Profile URL name",
5352
+ "style": "footnote",
5353
+ "color": "textSecondary"
5354
+ }
5355
+ }
5356
+ },
5357
+ {
5358
+ "id": "himi_account_settings.slug",
5359
+ "body": {
5360
+ "package": "himalaya",
5361
+ "type": "TextField",
5362
+ "props": {
5363
+ "valuePath": "$service:himiBrandedAccountSettings.slug",
5364
+ "placeholder": "Profile URL name",
5365
+ "autoCapitalization": "words",
5366
+ "onChange": {
5367
+ "actionId": "tier5.himiBrandedAccountSettings.setSlug"
5368
+ }
5369
+ }
5370
+ }
5371
+ }
5372
+ ]
5373
+ }
5374
+ }
5375
+ },
5376
+ {
5377
+ "id": "himi_account_settings.save_slug",
5378
+ "body": {
5379
+ "package": "himalaya",
5380
+ "type": "Button",
5381
+ "props": {
5382
+ "title": "Update profile URL",
5383
+ "style": "secondary",
5384
+ "action": {
5385
+ "actionId": "tier5.himiBrandedAccountSettings.saveSlug"
5386
+ }
5387
+ }
5388
+ }
5389
+ },
5390
+ {
5391
+ "id": "himi_account_settings.slug_message",
5392
+ "body": {
5393
+ "package": "himalaya",
5394
+ "type": "Text",
5395
+ "props": {
5396
+ "text": "$service:himiBrandedAccountSettings.slugMessage",
5397
+ "style": "footnote",
5398
+ "collapseWhenEmpty": true
5399
+ }
5400
+ }
5401
+ },
5402
+ {
5403
+ "id": "",
5404
+ "body": {
5405
+ "package": "himalaya",
5406
+ "type": "Text",
5407
+ "props": {
5408
+ "text": "Profile privacy",
5409
+ "style": "title2"
5410
+ }
5411
+ }
5412
+ },
5413
+ {
5414
+ "id": "himi_account_settings.privacy_action",
5415
+ "body": {
5416
+ "package": "himalaya",
5417
+ "type": "Button",
5418
+ "props": {
5419
+ "title": "$service:himiBrandedAccountSettings.privacyActionLabel",
5420
+ "style": "secondary",
5421
+ "action": {
5422
+ "actionId": "tier5.himiBrandedAccountSettings.requestPrivacyChange"
5423
+ }
5424
+ }
5425
+ },
5426
+ "modifiers": {
5427
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacyControlsUnavailable"
5428
+ }
5429
+ },
5430
+ {
5431
+ "id": "",
5432
+ "body": {
5433
+ "package": "himalaya",
5434
+ "type": "Text",
5435
+ "props": {
5436
+ "text": "Profile privacy controls are unavailable for this member account.",
5437
+ "style": "footnote",
5438
+ "color": "textSecondary"
5439
+ }
5440
+ },
5441
+ "modifiers": {
5442
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacySupported"
5443
+ }
5444
+ },
5445
+ {
5446
+ "id": "himi_account_settings.privacy_confirmation",
5447
+ "body": {
5448
+ "package": "himalaya",
5449
+ "type": "VStack",
5450
+ "props": {
5451
+ "spacing": 8,
5452
+ "alignment": "leading",
5453
+ "children": [
5454
+ {
5455
+ "id": "",
5456
+ "body": {
5457
+ "package": "himalaya",
5458
+ "type": "Text",
5459
+ "props": {
5460
+ "text": "$service:himiBrandedAccountSettings.privacyPrompt",
5461
+ "style": "body"
5462
+ }
5463
+ }
5464
+ },
5465
+ {
5466
+ "id": "himi_account_settings.confirm_privacy",
5467
+ "body": {
5468
+ "package": "himalaya",
5469
+ "type": "Button",
5470
+ "props": {
5471
+ "title": "Confirm",
5472
+ "style": "primary",
5473
+ "action": {
5474
+ "actionId": "tier5.himiBrandedAccountSettings.setPrivate",
5475
+ "params": {
5476
+ "status": "$service:himiBrandedAccountSettings.pendingPrivacyStatus"
5477
+ }
5478
+ }
5479
+ }
5480
+ }
5481
+ },
5482
+ {
5483
+ "id": "himi_account_settings.cancel_privacy",
5484
+ "body": {
5485
+ "package": "himalaya",
5486
+ "type": "Button",
5487
+ "props": {
5488
+ "title": "Cancel",
5489
+ "style": "secondary",
5490
+ "action": {
5491
+ "actionId": "tier5.himiBrandedAccountSettings.cancelPrivacyChange"
5492
+ }
5493
+ }
5494
+ }
5495
+ }
5496
+ ]
5497
+ }
5498
+ },
5499
+ "modifiers": {
5500
+ "background": {
5501
+ "token": "surfaceElevated"
5502
+ },
5503
+ "border": {
5504
+ "width": 1,
5505
+ "color": {
5506
+ "token": "border"
5507
+ }
5508
+ },
5509
+ "cornerRadius": 16,
5510
+ "padding": {
5511
+ "leading": 16,
5512
+ "trailing": 16,
5513
+ "top": 16,
5514
+ "bottom": 16
5515
+ },
5516
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPrivacyConfirm"
5517
+ }
5518
+ },
5519
+ {
5520
+ "id": "",
5521
+ "body": {
5522
+ "package": "himalaya",
5523
+ "type": "VStack",
5524
+ "props": {
5525
+ "spacing": 10,
5526
+ "alignment": "leading",
5527
+ "children": [
5528
+ {
5529
+ "id": "himi_account_settings.blocked.title",
5530
+ "body": {
5531
+ "package": "himalaya",
5532
+ "type": "Text",
5533
+ "props": {
5534
+ "text": "Blocked members",
5535
+ "style": "title2"
5536
+ }
5537
+ }
5538
+ },
5539
+ {
5540
+ "id": "",
5541
+ "body": {
5542
+ "package": "himalaya",
5543
+ "type": "Text",
5544
+ "props": {
5545
+ "text": "Loading blocked members…",
5546
+ "style": "footnote",
5547
+ "color": "textSecondary"
5548
+ }
5549
+ },
5550
+ "modifiers": {
5551
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notLoading"
5552
+ }
5553
+ },
5554
+ {
5555
+ "id": "",
5556
+ "body": {
5557
+ "package": "himalaya",
5558
+ "type": "VStack",
5559
+ "props": {
5560
+ "spacing": 8,
5561
+ "children": [
5562
+ {
5563
+ "id": "",
5564
+ "body": {
5565
+ "package": "himalaya",
5566
+ "type": "Text",
5567
+ "props": {
5568
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
5569
+ "style": "footnote",
5570
+ "color": "textSecondary"
5571
+ }
5572
+ }
5573
+ },
5574
+ {
5575
+ "id": "btn_tier5_himibrandedaccountblockedmembers_load",
5576
+ "body": {
5577
+ "package": "himalaya",
5578
+ "type": "Button",
5579
+ "props": {
5580
+ "title": "Try again",
5581
+ "style": "secondary",
5582
+ "action": {
5583
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
5584
+ }
5585
+ }
5586
+ }
5587
+ }
5588
+ ]
5589
+ }
5590
+ },
5591
+ "modifiers": {
5592
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notErrored"
5593
+ }
5594
+ },
5595
+ {
5596
+ "id": "",
5597
+ "body": {
5598
+ "package": "himalaya",
5599
+ "type": "Text",
5600
+ "props": {
5601
+ "text": "You have no blocked members.",
5602
+ "style": "footnote",
5603
+ "color": "textSecondary"
5604
+ }
5605
+ },
5606
+ "modifiers": {
5607
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.hideEmpty"
5608
+ }
5609
+ },
5610
+ {
5611
+ "id": "",
5612
+ "body": {
5613
+ "package": "himalaya",
5614
+ "type": "LazyList",
5615
+ "props": {
5616
+ "spacing": 8,
5617
+ "itemsPath": "$service:himiBrandedAccountBlockedMembers.blockedMembers",
5618
+ "items": [
5619
+ {
5620
+ "id": "himi_account_settings.blocked.row.$item.memberId",
5621
+ "body": {
5622
+ "package": "himalaya",
5623
+ "type": "HStack",
5624
+ "props": {
5625
+ "spacing": 10,
5626
+ "children": [
5627
+ {
5628
+ "id": "",
5629
+ "body": {
5630
+ "package": "himalaya",
5631
+ "type": "Text",
5632
+ "props": {
5633
+ "text": "$item.label",
5634
+ "style": "body",
5635
+ "maxLines": 2
5636
+ }
5637
+ }
5638
+ },
5639
+ {
5640
+ "id": "btn_tier5_himibrandedaccountblockedmembers_requestunblock",
5641
+ "body": {
5642
+ "package": "himalaya",
5643
+ "type": "Button",
5644
+ "props": {
5645
+ "title": "Unblock",
5646
+ "style": "secondary",
5647
+ "action": {
5648
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.requestUnblock",
5649
+ "params": {
5650
+ "memberId": "$item.memberId"
5651
+ }
5652
+ }
5653
+ }
5654
+ }
5655
+ }
5656
+ ]
5657
+ }
5658
+ }
5659
+ }
5660
+ ]
5661
+ }
5662
+ },
5663
+ "modifiers": {
5664
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMembers"
5665
+ }
5666
+ },
5667
+ {
5668
+ "id": "himi_account_settings.blocked.load_more",
5669
+ "body": {
5670
+ "package": "himalaya",
5671
+ "type": "Button",
5672
+ "props": {
5673
+ "title": "Load more",
5674
+ "style": "secondary",
5675
+ "loading": false,
5676
+ "action": {
5677
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.loadMore"
5678
+ }
5679
+ }
5680
+ },
5681
+ "modifiers": {
5682
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMore"
5683
+ }
5684
+ },
5685
+ {
5686
+ "id": "",
5687
+ "body": {
5688
+ "package": "himalaya",
5689
+ "type": "Text",
5690
+ "props": {
5691
+ "text": "$service:himiBrandedAccountBlockedMembers.message",
5692
+ "style": "footnote",
5693
+ "color": "textSecondary",
5694
+ "collapseWhenEmpty": true
5695
+ }
5696
+ }
5697
+ },
5698
+ {
5699
+ "id": "himi_account_settings.blocked.confirm",
5700
+ "body": {
5701
+ "package": "himalaya",
5702
+ "type": "VStack",
5703
+ "props": {
5704
+ "spacing": 8,
5705
+ "alignment": "leading",
5706
+ "children": [
5707
+ {
5708
+ "id": "",
5709
+ "body": {
5710
+ "package": "himalaya",
5711
+ "type": "Text",
5712
+ "props": {
5713
+ "text": "Unblock this member? They may be able to interact with your profile again.",
5714
+ "style": "body"
5715
+ }
5716
+ }
5717
+ },
5718
+ {
5719
+ "id": "",
5720
+ "body": {
5721
+ "package": "himalaya",
5722
+ "type": "Text",
5723
+ "props": {
5724
+ "text": "$service:himiBrandedAccountBlockedMembers.confirmMemberId",
5725
+ "style": "footnote",
5726
+ "color": "textSecondary"
5727
+ }
5728
+ }
5729
+ },
5730
+ {
5731
+ "id": "",
5732
+ "body": {
5733
+ "package": "himalaya",
5734
+ "type": "Text",
5735
+ "props": {
5736
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
5737
+ "style": "footnote",
5738
+ "color": "textSecondary",
5739
+ "collapseWhenEmpty": true
5740
+ }
5741
+ }
5742
+ },
5743
+ {
5744
+ "id": "btn_tier5_himibrandedaccountblockedmembers_confirmunblock",
5745
+ "body": {
5746
+ "package": "himalaya",
5747
+ "type": "Button",
5748
+ "props": {
5749
+ "title": "Confirm unblock",
5750
+ "style": "primary",
5751
+ "action": {
5752
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.confirmUnblock"
5753
+ }
5754
+ }
5755
+ }
5756
+ },
5757
+ {
5758
+ "id": "btn_tier5_himibrandedaccountblockedmembers_cancelunblock",
5759
+ "body": {
5760
+ "package": "himalaya",
5761
+ "type": "Button",
5762
+ "props": {
5763
+ "title": "Cancel",
5764
+ "style": "secondary",
5765
+ "action": {
5766
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.cancelUnblock"
5767
+ }
5768
+ }
5769
+ }
5770
+ }
5771
+ ]
5772
+ }
5773
+ },
5774
+ "modifiers": {
5775
+ "background": {
5776
+ "token": "surfaceElevated"
5777
+ },
5778
+ "border": {
5779
+ "width": 1,
5780
+ "color": {
5781
+ "token": "border"
5782
+ }
5783
+ },
5784
+ "cornerRadius": 16,
5785
+ "padding": {
5786
+ "leading": 16,
5787
+ "trailing": 16,
5788
+ "top": 16,
5789
+ "bottom": 16
5790
+ },
5791
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noConfirm"
5792
+ }
5793
+ }
5794
+ ]
5795
+ }
5796
+ },
5797
+ "modifiers": {
5798
+ "onAppear": {
5799
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
5800
+ }
5801
+ }
5802
+ },
5803
+ {
5804
+ "id": "himi_account_settings.message",
5805
+ "body": {
5806
+ "package": "himalaya",
5807
+ "type": "Text",
5808
+ "props": {
5809
+ "text": "$service:himiBrandedAccountSettings.message",
5810
+ "style": "footnote",
5811
+ "color": "textSecondary",
5812
+ "collapseWhenEmpty": true
5813
+ }
5814
+ }
5815
+ },
5816
+ {
5817
+ "id": "",
5818
+ "body": {
5819
+ "package": "himalaya",
5820
+ "type": "HStack",
5821
+ "props": {
5822
+ "spacing": 10,
5823
+ "children": [
5824
+ {
5825
+ "id": "himi_account_settings.discard",
5826
+ "body": {
5827
+ "package": "himalaya",
5828
+ "type": "Button",
5829
+ "props": {
5830
+ "title": "Discard",
5831
+ "style": "secondary",
5832
+ "action": {
5833
+ "actionId": "tier5.himiBrandedAccountSettings.discard"
5834
+ }
5835
+ }
5836
+ }
5837
+ },
5838
+ {
5839
+ "id": "himi_account_settings.save",
5840
+ "body": {
5841
+ "package": "himalaya",
5842
+ "type": "Button",
5843
+ "props": {
5844
+ "title": "Update Info",
5845
+ "style": "primary",
5846
+ "disabledPath": "$service:himiBrandedAccountSettings.photoUploading",
5847
+ "action": {
5848
+ "actionId": "tier5.himiBrandedAccountSettings.save"
5849
+ }
5850
+ }
5851
+ }
5852
+ }
5853
+ ]
5854
+ }
5855
+ }
5856
+ },
5857
+ {
5858
+ "id": "himi_account_settings.password_sheet",
5859
+ "body": {
5860
+ "package": "himalaya",
5861
+ "type": "BottomSheet",
5862
+ "props": {
5863
+ "presentedPath": "$service:himiBrandedAccountSettings.passwordPanelOpen",
5864
+ "dismissible": true,
5865
+ "showGrabber": true,
5866
+ "onDismiss": {
5867
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5868
+ },
5869
+ "content": {
5870
+ "id": "",
5871
+ "body": {
5872
+ "package": "himalaya",
5873
+ "type": "VStack",
5874
+ "props": {
5875
+ "spacing": 16,
5876
+ "alignment": "leading",
5877
+ "children": [
5878
+ {
5879
+ "id": "",
5880
+ "body": {
5881
+ "package": "himalaya",
5882
+ "type": "Text",
5883
+ "props": {
5884
+ "text": "Change password",
5885
+ "style": "title2"
5886
+ }
5887
+ }
5888
+ },
5889
+ {
5890
+ "id": "",
5891
+ "body": {
5892
+ "package": "himalaya",
5893
+ "type": "VStack",
5894
+ "props": {
5895
+ "spacing": 5,
5896
+ "alignment": "leading",
5897
+ "children": [
5898
+ {
5899
+ "id": "",
5900
+ "body": {
5901
+ "package": "himalaya",
5902
+ "type": "Text",
5903
+ "props": {
5904
+ "text": "Current password",
5905
+ "style": "footnote",
5906
+ "color": "textSecondary"
5907
+ }
5908
+ }
5909
+ },
5910
+ {
5911
+ "id": "himi_account_settings.passwordCurrent",
5912
+ "body": {
5913
+ "package": "himalaya",
5914
+ "type": "TextField",
5915
+ "props": {
5916
+ "valuePath": "$service:himiBrandedAccountSettings.passwordCurrent",
5917
+ "placeholder": "Current password",
5918
+ "secure": true,
5919
+ "autoCapitalization": "none",
5920
+ "onChange": {
5921
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordCurrent"
5922
+ }
5923
+ }
5924
+ }
5925
+ }
5926
+ ]
5927
+ }
5928
+ }
5929
+ },
5930
+ {
5931
+ "id": "",
5932
+ "body": {
5933
+ "package": "himalaya",
5934
+ "type": "VStack",
5935
+ "props": {
5936
+ "spacing": 5,
5937
+ "alignment": "leading",
5938
+ "children": [
5939
+ {
5940
+ "id": "",
5941
+ "body": {
5942
+ "package": "himalaya",
5943
+ "type": "Text",
5944
+ "props": {
5945
+ "text": "New password",
5946
+ "style": "footnote",
5947
+ "color": "textSecondary"
5948
+ }
5949
+ }
5950
+ },
5951
+ {
5952
+ "id": "himi_account_settings.passwordNew",
5953
+ "body": {
5954
+ "package": "himalaya",
5955
+ "type": "TextField",
5956
+ "props": {
5957
+ "valuePath": "$service:himiBrandedAccountSettings.passwordNew",
5958
+ "placeholder": "New password",
5959
+ "secure": true,
5960
+ "autoCapitalization": "none",
5961
+ "onChange": {
5962
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordNew"
5963
+ }
5964
+ }
5965
+ }
5966
+ }
5967
+ ]
5968
+ }
5969
+ }
5970
+ },
5971
+ {
5972
+ "id": "",
5973
+ "body": {
5974
+ "package": "himalaya",
5975
+ "type": "VStack",
5976
+ "props": {
5977
+ "spacing": 5,
5978
+ "alignment": "leading",
5979
+ "children": [
5980
+ {
5981
+ "id": "",
5982
+ "body": {
5983
+ "package": "himalaya",
5984
+ "type": "Text",
5985
+ "props": {
5986
+ "text": "Confirm new password",
5987
+ "style": "footnote",
5988
+ "color": "textSecondary"
5989
+ }
5990
+ }
5991
+ },
5992
+ {
5993
+ "id": "himi_account_settings.passwordConfirm",
5994
+ "body": {
5995
+ "package": "himalaya",
5996
+ "type": "TextField",
5997
+ "props": {
5998
+ "valuePath": "$service:himiBrandedAccountSettings.passwordConfirm",
5999
+ "placeholder": "Confirm new password",
6000
+ "secure": true,
6001
+ "autoCapitalization": "none",
6002
+ "onChange": {
6003
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordConfirm"
6004
+ }
6005
+ }
6006
+ }
6007
+ }
6008
+ ]
6009
+ }
6010
+ }
6011
+ },
6012
+ {
6013
+ "id": "",
6014
+ "body": {
6015
+ "package": "himalaya",
6016
+ "type": "Text",
6017
+ "props": {
6018
+ "text": "Changing password…",
6019
+ "style": "footnote",
6020
+ "color": "textSecondary"
6021
+ }
6022
+ },
6023
+ "modifiers": {
6024
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordChanging"
6025
+ }
6026
+ },
6027
+ {
6028
+ "id": "",
6029
+ "body": {
6030
+ "package": "himalaya",
6031
+ "type": "Text",
6032
+ "props": {
6033
+ "text": "Sending reset link…",
6034
+ "style": "footnote",
6035
+ "color": "textSecondary"
6036
+ }
6037
+ },
6038
+ "modifiers": {
6039
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordResetSending"
6040
+ }
6041
+ },
6042
+ {
6043
+ "id": "",
6044
+ "body": {
6045
+ "package": "himalaya",
6046
+ "type": "Text",
6047
+ "props": {
6048
+ "text": "$service:himiBrandedAccountSettings.passwordError",
6049
+ "style": "footnote",
6050
+ "color": "textSecondary"
6051
+ }
6052
+ },
6053
+ "modifiers": {
6054
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoError"
6055
+ }
6056
+ },
6057
+ {
6058
+ "id": "",
6059
+ "body": {
6060
+ "package": "himalaya",
6061
+ "type": "Text",
6062
+ "props": {
6063
+ "text": "$service:himiBrandedAccountSettings.passwordMessage",
6064
+ "style": "footnote",
6065
+ "color": "textSecondary"
6066
+ }
6067
+ },
6068
+ "modifiers": {
6069
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoMessage"
6070
+ }
6071
+ },
6072
+ {
6073
+ "id": "btn_tier5_himibrandedaccountsettings_changepassword",
6074
+ "body": {
6075
+ "package": "himalaya",
6076
+ "type": "Button",
6077
+ "props": {
6078
+ "title": "Change password",
6079
+ "style": "primary",
6080
+ "fullWidth": true,
6081
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
6082
+ "action": {
6083
+ "actionId": "tier5.himiBrandedAccountSettings.changePassword"
6084
+ }
6085
+ }
6086
+ }
6087
+ },
6088
+ {
6089
+ "id": "btn_tier5_himibrandedaccountsettings_resetpassword",
6090
+ "body": {
6091
+ "package": "himalaya",
6092
+ "type": "Button",
6093
+ "props": {
6094
+ "title": "Reset or create password by email",
6095
+ "style": "secondary",
6096
+ "fullWidth": true,
6097
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
6098
+ "action": {
6099
+ "actionId": "tier5.himiBrandedAccountSettings.resetPassword"
6100
+ }
6101
+ }
6102
+ }
6103
+ },
6104
+ {
6105
+ "id": "btn_tier5_himibrandedaccountsettings_closepasswordpanel",
6106
+ "body": {
6107
+ "package": "himalaya",
6108
+ "type": "Button",
6109
+ "props": {
6110
+ "title": "Cancel",
6111
+ "style": "plain",
6112
+ "action": {
6113
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
6114
+ }
6115
+ }
6116
+ }
6117
+ }
6118
+ ]
6119
+ }
6120
+ },
6121
+ "modifiers": {
6122
+ "padding": {
6123
+ "leading": 20,
6124
+ "trailing": 20,
6125
+ "top": 20,
6126
+ "bottom": 24
6127
+ }
6128
+ }
6129
+ }
6130
+ }
6131
+ }
6132
+ },
6133
+ {
6134
+ "id": "himi_account_settings.email_sheet",
6135
+ "body": {
6136
+ "package": "himalaya",
6137
+ "type": "BottomSheet",
6138
+ "props": {
6139
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
6140
+ "dismissible": true,
6141
+ "showGrabber": true,
6142
+ "onDismiss": {
6143
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
6144
+ },
6145
+ "content": {
6146
+ "id": "",
6147
+ "body": {
6148
+ "package": "himalaya",
6149
+ "type": "VStack",
6150
+ "props": {
6151
+ "spacing": 16,
6152
+ "alignment": "leading",
6153
+ "children": [
6154
+ {
6155
+ "id": "",
6156
+ "body": {
6157
+ "package": "himalaya",
6158
+ "type": "Text",
6159
+ "props": {
6160
+ "text": "Change login email",
6161
+ "style": "title2"
6162
+ }
6163
+ }
6164
+ },
6165
+ {
6166
+ "id": "",
6167
+ "body": {
6168
+ "package": "himalaya",
6169
+ "type": "Text",
6170
+ "props": {
6171
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
6172
+ "style": "bodyEmphasis"
6173
+ }
6174
+ }
6175
+ },
6176
+ {
6177
+ "id": "",
6178
+ "body": {
6179
+ "package": "himalaya",
6180
+ "type": "Text",
6181
+ "props": {
6182
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
6183
+ "style": "body",
6184
+ "color": "textSecondary"
6185
+ }
6186
+ }
6187
+ },
6188
+ {
6189
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
6190
+ "body": {
6191
+ "package": "himalaya",
6192
+ "type": "Button",
6193
+ "props": {
6194
+ "title": "Visit website",
6195
+ "style": "secondary",
6196
+ "fullWidth": true,
6197
+ "action": {
6198
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
6199
+ }
6200
+ }
6201
+ },
6202
+ "modifiers": {
6203
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
6204
+ }
6205
+ },
6206
+ {
6207
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
6208
+ "body": {
6209
+ "package": "himalaya",
6210
+ "type": "Button",
6211
+ "props": {
6212
+ "title": "Close",
6213
+ "style": "plain",
6214
+ "action": {
6215
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
6216
+ }
6217
+ }
6218
+ }
6219
+ }
6220
+ ]
6221
+ }
6222
+ },
6223
+ "modifiers": {
6224
+ "padding": {
6225
+ "leading": 20,
6226
+ "trailing": 20,
6227
+ "top": 20,
6228
+ "bottom": 24
6229
+ }
6230
+ }
6231
+ }
6232
+ }
6233
+ }
6234
+ }
6235
+ ]
6236
+ }
6237
+ },
6238
+ "modifiers": {
6239
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
6240
+ }
6241
+ }
6242
+ ]
6243
+ }
6244
+ },
6245
+ "modifiers": {
6246
+ "background": {
6247
+ "token": "surfacePrimary"
6248
+ },
6249
+ "padding": {
6250
+ "leading": 16,
6251
+ "trailing": 16,
6252
+ "top": 18,
6253
+ "bottom": 28
6254
+ },
6255
+ "onAppear": {
6256
+ "actionId": "tier5.himiBrandedAccountSettings.load",
6257
+ "params": {
6258
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
6259
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
6260
+ }
6261
+ }
6262
+ }
6263
+ },
6264
+ "logicBundle": {
6265
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
6266
+ "integrity": "",
6267
+ "contentType": "application/javascript+ts-bundle",
6268
+ "declaredCapabilities": [
6269
+ "wix_api",
6270
+ "app_info",
6271
+ "open_url"
6272
+ ],
6273
+ "minBinaryVersion": "0.1.0",
6274
+ "bundleVersion": "0.0.1"
6275
+ }
6276
+ },
4527
6277
  "himi_app_info": {
4528
6278
  "screenId": "himi_app_info",
4529
6279
  "renderer": "sdui_intent",