@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)]));
@@ -2946,6 +2948,95 @@ const SCREENS = runtimeSetting({
2946
2948
  "hiddenPath": "$service:himiStoreAccount.notMember"
2947
2949
  }
2948
2950
  },
2951
+ {
2952
+ "id": "himi_account.settings",
2953
+ "body": {
2954
+ "package": "himalaya",
2955
+ "type": "HStack",
2956
+ "props": {
2957
+ "spacing": 12,
2958
+ "children": [
2959
+ {
2960
+ "id": "",
2961
+ "body": {
2962
+ "package": "himalaya",
2963
+ "type": "Icon",
2964
+ "props": {
2965
+ "name": "settings",
2966
+ "size": 18,
2967
+ "tint": "accentPrimary"
2968
+ }
2969
+ },
2970
+ "modifiers": {
2971
+ "accessibilityRole": "decorative"
2972
+ }
2973
+ },
2974
+ {
2975
+ "id": "",
2976
+ "body": {
2977
+ "package": "himalaya",
2978
+ "type": "Text",
2979
+ "props": {
2980
+ "text": "My Account",
2981
+ "style": "bodyEmphasis"
2982
+ }
2983
+ }
2984
+ },
2985
+ {
2986
+ "id": "",
2987
+ "body": {
2988
+ "package": "himalaya",
2989
+ "type": "Spacer",
2990
+ "props": {}
2991
+ }
2992
+ },
2993
+ {
2994
+ "id": "",
2995
+ "body": {
2996
+ "package": "himalaya",
2997
+ "type": "Icon",
2998
+ "props": {
2999
+ "name": "chevron_right",
3000
+ "size": 16,
3001
+ "tint": "textTertiary"
3002
+ }
3003
+ },
3004
+ "modifiers": {
3005
+ "accessibilityRole": "decorative"
3006
+ }
3007
+ }
3008
+ ]
3009
+ }
3010
+ },
3011
+ "modifiers": {
3012
+ "background": {
3013
+ "token": "surfaceElevated"
3014
+ },
3015
+ "border": {
3016
+ "width": 1,
3017
+ "color": {
3018
+ "token": "border"
3019
+ }
3020
+ },
3021
+ "cornerRadius": 8,
3022
+ "padding": {
3023
+ "leading": 14,
3024
+ "trailing": 14,
3025
+ "top": 13,
3026
+ "bottom": 13
3027
+ },
3028
+ "onTap": {
3029
+ "actionId": "himi.open",
3030
+ "params": {
3031
+ "screenId": "himi_account_settings"
3032
+ }
3033
+ },
3034
+ "pressFeedback": "scale",
3035
+ "haptic": "light",
3036
+ "accessibilityLabel": "My Account",
3037
+ "hiddenPath": "$service:himiStoreAccount.notMember"
3038
+ }
3039
+ },
2949
3040
  {
2950
3041
  "id": "",
2951
3042
  "body": {
@@ -3437,6 +3528,1665 @@ const SCREENS = runtimeSetting({
3437
3528
  "bundleVersion": "0.0.1"
3438
3529
  }
3439
3530
  },
3531
+ "himi_account_settings": {
3532
+ "screenId": "himi_account_settings",
3533
+ "renderer": "sdui_intent",
3534
+ "title": "",
3535
+ "schemaVersion": 1,
3536
+ "cacheControl": {
3537
+ "maxAge": 0,
3538
+ "staleWhileRevalidate": 0
3539
+ },
3540
+ "payload": {
3541
+ "id": "himi_account_settings.root",
3542
+ "body": {
3543
+ "package": "himalaya",
3544
+ "type": "VStack",
3545
+ "props": {
3546
+ "spacing": 16,
3547
+ "alignment": "leading",
3548
+ "children": [
3549
+ {
3550
+ "id": "himi_account_settings.title",
3551
+ "body": {
3552
+ "package": "himalaya",
3553
+ "type": "Text",
3554
+ "props": {
3555
+ "text": "My Account",
3556
+ "style": "title1"
3557
+ }
3558
+ }
3559
+ },
3560
+ {
3561
+ "id": "",
3562
+ "body": {
3563
+ "package": "himalaya",
3564
+ "type": "Text",
3565
+ "props": {
3566
+ "text": "Update the profile details connected to your member account.",
3567
+ "style": "body",
3568
+ "color": "textSecondary"
3569
+ }
3570
+ }
3571
+ },
3572
+ {
3573
+ "id": "himi_account_settings.loading",
3574
+ "body": {
3575
+ "package": "himalaya",
3576
+ "type": "Skeleton",
3577
+ "props": {
3578
+ "height": 72,
3579
+ "cornerRadius": 12,
3580
+ "count": 3
3581
+ }
3582
+ },
3583
+ "modifiers": {
3584
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
3585
+ }
3586
+ },
3587
+ {
3588
+ "id": "himi_account_settings.error",
3589
+ "body": {
3590
+ "package": "himalaya",
3591
+ "type": "VStack",
3592
+ "props": {
3593
+ "spacing": 8,
3594
+ "alignment": "leading",
3595
+ "children": [
3596
+ {
3597
+ "id": "",
3598
+ "body": {
3599
+ "package": "himalaya",
3600
+ "type": "Text",
3601
+ "props": {
3602
+ "text": "$service:himiBrandedAccountSettings.error",
3603
+ "style": "body",
3604
+ "collapseWhenEmpty": true
3605
+ }
3606
+ }
3607
+ },
3608
+ {
3609
+ "id": "himi_account_settings.retry",
3610
+ "body": {
3611
+ "package": "himalaya",
3612
+ "type": "Button",
3613
+ "props": {
3614
+ "title": "Try again",
3615
+ "style": "secondary",
3616
+ "action": {
3617
+ "actionId": "tier5.himiBrandedAccountSettings.load",
3618
+ "params": {
3619
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
3620
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
3621
+ }
3622
+ }
3623
+ }
3624
+ }
3625
+ },
3626
+ {
3627
+ "id": "himi_account_settings.sign_in",
3628
+ "body": {
3629
+ "package": "himalaya",
3630
+ "type": "Button",
3631
+ "props": {
3632
+ "title": "Sign in",
3633
+ "style": "primary",
3634
+ "action": {
3635
+ "actionId": "himi.open",
3636
+ "params": {
3637
+ "screenId": "himi_account",
3638
+ "returnScreenId": "himi_account_settings"
3639
+ }
3640
+ }
3641
+ }
3642
+ },
3643
+ "modifiers": {
3644
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
3645
+ }
3646
+ }
3647
+ ]
3648
+ }
3649
+ },
3650
+ "modifiers": {
3651
+ "background": {
3652
+ "token": "surfaceElevated"
3653
+ },
3654
+ "border": {
3655
+ "width": 1,
3656
+ "color": {
3657
+ "token": "border"
3658
+ }
3659
+ },
3660
+ "cornerRadius": 16,
3661
+ "padding": {
3662
+ "leading": 16,
3663
+ "trailing": 16,
3664
+ "top": 16,
3665
+ "bottom": 16
3666
+ },
3667
+ "hiddenPath": "$service:himiBrandedAccountSettings.notErrored"
3668
+ }
3669
+ },
3670
+ {
3671
+ "id": "",
3672
+ "body": {
3673
+ "package": "himalaya",
3674
+ "type": "VStack",
3675
+ "props": {
3676
+ "spacing": 18,
3677
+ "alignment": "leading",
3678
+ "children": [
3679
+ {
3680
+ "id": "",
3681
+ "body": {
3682
+ "package": "himalaya",
3683
+ "type": "Text",
3684
+ "props": {
3685
+ "text": "Display info",
3686
+ "style": "title2"
3687
+ }
3688
+ }
3689
+ },
3690
+ {
3691
+ "id": "himi_account_settings.photo_upload",
3692
+ "body": {
3693
+ "package": "himalaya",
3694
+ "type": "MediaField",
3695
+ "props": {
3696
+ "valuePath": "$service:himiBrandedAccountSettings.photoDisplayUrl",
3697
+ "uploadService": "himiBrandedAccountSettings",
3698
+ "label": "Choose a profile photo",
3699
+ "presentation": "avatar",
3700
+ "fallbackTextPath": "$service:himiBrandedAccountSettings.memberInitials",
3701
+ "heading": "Profile photo"
3702
+ }
3703
+ },
3704
+ "modifiers": {
3705
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
3706
+ }
3707
+ },
3708
+ {
3709
+ "id": "",
3710
+ "body": {
3711
+ "package": "himalaya",
3712
+ "type": "HStack",
3713
+ "props": {
3714
+ "spacing": 14,
3715
+ "children": [
3716
+ {
3717
+ "id": "himi_account_settings.read_only_avatar",
3718
+ "body": {
3719
+ "package": "himalaya",
3720
+ "type": "Image",
3721
+ "props": {
3722
+ "url": "$service:himiBrandedAccountSettings.memberImage",
3723
+ "width": 72,
3724
+ "height": 72,
3725
+ "contentMode": "fill",
3726
+ "shape": "circle",
3727
+ "contentDescription": "Profile photo"
3728
+ }
3729
+ },
3730
+ "modifiers": {
3731
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMemberImage"
3732
+ }
3733
+ },
3734
+ {
3735
+ "id": "",
3736
+ "body": {
3737
+ "package": "himalaya",
3738
+ "type": "ZStack",
3739
+ "props": {
3740
+ "alignment": "center",
3741
+ "children": [
3742
+ {
3743
+ "id": "",
3744
+ "body": {
3745
+ "package": "himalaya",
3746
+ "type": "Text",
3747
+ "props": {
3748
+ "text": "$service:himiBrandedAccountSettings.memberInitials",
3749
+ "style": "title2",
3750
+ "color": "textOnAccent"
3751
+ }
3752
+ }
3753
+ }
3754
+ ]
3755
+ }
3756
+ },
3757
+ "modifiers": {
3758
+ "width": 72,
3759
+ "height": 72,
3760
+ "background": {
3761
+ "token": "accentPrimary"
3762
+ },
3763
+ "cornerRadius": 36,
3764
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasMemberImage"
3765
+ }
3766
+ },
3767
+ {
3768
+ "id": "",
3769
+ "body": {
3770
+ "package": "himalaya",
3771
+ "type": "VStack",
3772
+ "props": {
3773
+ "spacing": 4,
3774
+ "alignment": "leading",
3775
+ "children": [
3776
+ {
3777
+ "id": "",
3778
+ "body": {
3779
+ "package": "himalaya",
3780
+ "type": "Text",
3781
+ "props": {
3782
+ "text": "Profile photo",
3783
+ "style": "body",
3784
+ "color": "textSecondary"
3785
+ }
3786
+ }
3787
+ },
3788
+ {
3789
+ "id": "",
3790
+ "body": {
3791
+ "package": "himalaya",
3792
+ "type": "Text",
3793
+ "props": {
3794
+ "text": "Your profile photo is managed on the Wix site.",
3795
+ "style": "footnote",
3796
+ "color": "textSecondary"
3797
+ }
3798
+ }
3799
+ }
3800
+ ]
3801
+ }
3802
+ }
3803
+ }
3804
+ ]
3805
+ }
3806
+ },
3807
+ "modifiers": {
3808
+ "hiddenPath": "$service:himiBrandedAccountSettings.photoUploadAvailable"
3809
+ }
3810
+ },
3811
+ {
3812
+ "id": "",
3813
+ "body": {
3814
+ "package": "himalaya",
3815
+ "type": "Text",
3816
+ "props": {
3817
+ "text": "Your photo is uploaded now and saved with Update info. Discard clears the selection.",
3818
+ "style": "footnote",
3819
+ "color": "textSecondary"
3820
+ }
3821
+ },
3822
+ "modifiers": {
3823
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
3824
+ }
3825
+ },
3826
+ {
3827
+ "id": "himi_account_settings.photo_upload_error",
3828
+ "body": {
3829
+ "package": "himalaya",
3830
+ "type": "Text",
3831
+ "props": {
3832
+ "text": "$service:himiBrandedAccountSettings.photoUploadError",
3833
+ "style": "footnote",
3834
+ "color": "danger",
3835
+ "collapseWhenEmpty": true
3836
+ }
3837
+ }
3838
+ },
3839
+ {
3840
+ "id": "",
3841
+ "body": {
3842
+ "package": "himalaya",
3843
+ "type": "VStack",
3844
+ "props": {
3845
+ "spacing": 5,
3846
+ "alignment": "leading",
3847
+ "children": [
3848
+ {
3849
+ "id": "",
3850
+ "body": {
3851
+ "package": "himalaya",
3852
+ "type": "Text",
3853
+ "props": {
3854
+ "text": "Display name",
3855
+ "style": "footnote",
3856
+ "color": "textSecondary"
3857
+ }
3858
+ }
3859
+ },
3860
+ {
3861
+ "id": "himi_account_settings.displayName",
3862
+ "body": {
3863
+ "package": "himalaya",
3864
+ "type": "TextField",
3865
+ "props": {
3866
+ "valuePath": "$service:himiBrandedAccountSettings.displayName",
3867
+ "placeholder": "Display name",
3868
+ "autoCapitalization": "words",
3869
+ "onChange": {
3870
+ "actionId": "tier5.himiBrandedAccountSettings.setDisplayName"
3871
+ },
3872
+ "validation": {
3873
+ "required": true
3874
+ },
3875
+ "errorPath": "$service:himiBrandedAccountSettings.displayNameError"
3876
+ }
3877
+ }
3878
+ }
3879
+ ]
3880
+ }
3881
+ }
3882
+ },
3883
+ {
3884
+ "id": "",
3885
+ "body": {
3886
+ "package": "himalaya",
3887
+ "type": "VStack",
3888
+ "props": {
3889
+ "spacing": 5,
3890
+ "alignment": "leading",
3891
+ "children": [
3892
+ {
3893
+ "id": "",
3894
+ "body": {
3895
+ "package": "himalaya",
3896
+ "type": "Text",
3897
+ "props": {
3898
+ "text": "Title",
3899
+ "style": "footnote",
3900
+ "color": "textSecondary"
3901
+ }
3902
+ }
3903
+ },
3904
+ {
3905
+ "id": "himi_account_settings.title",
3906
+ "body": {
3907
+ "package": "himalaya",
3908
+ "type": "TextField",
3909
+ "props": {
3910
+ "valuePath": "$service:himiBrandedAccountSettings.title",
3911
+ "placeholder": "Title",
3912
+ "autoCapitalization": "words",
3913
+ "onChange": {
3914
+ "actionId": "tier5.himiBrandedAccountSettings.setTitle"
3915
+ },
3916
+ "errorPath": "$service:himiBrandedAccountSettings.titleError"
3917
+ }
3918
+ }
3919
+ }
3920
+ ]
3921
+ }
3922
+ }
3923
+ },
3924
+ {
3925
+ "id": "",
3926
+ "body": {
3927
+ "package": "himalaya",
3928
+ "type": "Text",
3929
+ "props": {
3930
+ "text": "Personal info",
3931
+ "style": "title2"
3932
+ }
3933
+ }
3934
+ },
3935
+ {
3936
+ "id": "",
3937
+ "body": {
3938
+ "package": "himalaya",
3939
+ "type": "VStack",
3940
+ "props": {
3941
+ "spacing": 5,
3942
+ "alignment": "leading",
3943
+ "children": [
3944
+ {
3945
+ "id": "",
3946
+ "body": {
3947
+ "package": "himalaya",
3948
+ "type": "Text",
3949
+ "props": {
3950
+ "text": "First name",
3951
+ "style": "footnote",
3952
+ "color": "textSecondary"
3953
+ }
3954
+ }
3955
+ },
3956
+ {
3957
+ "id": "himi_account_settings.firstName",
3958
+ "body": {
3959
+ "package": "himalaya",
3960
+ "type": "TextField",
3961
+ "props": {
3962
+ "valuePath": "$service:himiBrandedAccountSettings.firstName",
3963
+ "placeholder": "First name",
3964
+ "autoCapitalization": "words",
3965
+ "onChange": {
3966
+ "actionId": "tier5.himiBrandedAccountSettings.setFirstName"
3967
+ },
3968
+ "errorPath": "$service:himiBrandedAccountSettings.firstNameError"
3969
+ }
3970
+ }
3971
+ }
3972
+ ]
3973
+ }
3974
+ }
3975
+ },
3976
+ {
3977
+ "id": "",
3978
+ "body": {
3979
+ "package": "himalaya",
3980
+ "type": "VStack",
3981
+ "props": {
3982
+ "spacing": 5,
3983
+ "alignment": "leading",
3984
+ "children": [
3985
+ {
3986
+ "id": "",
3987
+ "body": {
3988
+ "package": "himalaya",
3989
+ "type": "Text",
3990
+ "props": {
3991
+ "text": "Last name",
3992
+ "style": "footnote",
3993
+ "color": "textSecondary"
3994
+ }
3995
+ }
3996
+ },
3997
+ {
3998
+ "id": "himi_account_settings.lastName",
3999
+ "body": {
4000
+ "package": "himalaya",
4001
+ "type": "TextField",
4002
+ "props": {
4003
+ "valuePath": "$service:himiBrandedAccountSettings.lastName",
4004
+ "placeholder": "Last name",
4005
+ "autoCapitalization": "words",
4006
+ "onChange": {
4007
+ "actionId": "tier5.himiBrandedAccountSettings.setLastName"
4008
+ },
4009
+ "errorPath": "$service:himiBrandedAccountSettings.lastNameError"
4010
+ }
4011
+ }
4012
+ }
4013
+ ]
4014
+ }
4015
+ }
4016
+ },
4017
+ {
4018
+ "id": "",
4019
+ "body": {
4020
+ "package": "himalaya",
4021
+ "type": "VStack",
4022
+ "props": {
4023
+ "spacing": 5,
4024
+ "alignment": "leading",
4025
+ "children": [
4026
+ {
4027
+ "id": "",
4028
+ "body": {
4029
+ "package": "himalaya",
4030
+ "type": "Text",
4031
+ "props": {
4032
+ "text": "Phone",
4033
+ "style": "footnote",
4034
+ "color": "textSecondary"
4035
+ }
4036
+ }
4037
+ },
4038
+ {
4039
+ "id": "himi_account_settings.phone",
4040
+ "body": {
4041
+ "package": "himalaya",
4042
+ "type": "TextField",
4043
+ "props": {
4044
+ "valuePath": "$service:himiBrandedAccountSettings.phone",
4045
+ "placeholder": "Phone",
4046
+ "keyboard": "phone",
4047
+ "autoCapitalization": "words",
4048
+ "onChange": {
4049
+ "actionId": "tier5.himiBrandedAccountSettings.setPhone"
4050
+ },
4051
+ "errorPath": "$service:himiBrandedAccountSettings.phoneError"
4052
+ }
4053
+ }
4054
+ }
4055
+ ]
4056
+ }
4057
+ }
4058
+ },
4059
+ {
4060
+ "id": "",
4061
+ "body": {
4062
+ "package": "himalaya",
4063
+ "type": "Text",
4064
+ "props": {
4065
+ "text": "Clearing this field removes the primary phone number. Other saved numbers are kept.",
4066
+ "style": "caption",
4067
+ "color": "textSecondary"
4068
+ }
4069
+ }
4070
+ },
4071
+ {
4072
+ "id": "",
4073
+ "body": {
4074
+ "package": "himalaya",
4075
+ "type": "Text",
4076
+ "props": {
4077
+ "text": "Login info",
4078
+ "style": "title2"
4079
+ }
4080
+ }
4081
+ },
4082
+ {
4083
+ "id": "",
4084
+ "body": {
4085
+ "package": "himalaya",
4086
+ "type": "Text",
4087
+ "props": {
4088
+ "text": "Login email",
4089
+ "style": "footnote",
4090
+ "color": "textSecondary"
4091
+ }
4092
+ }
4093
+ },
4094
+ {
4095
+ "id": "himi_account_settings.login_email",
4096
+ "body": {
4097
+ "package": "himalaya",
4098
+ "type": "Text",
4099
+ "props": {
4100
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
4101
+ "style": "body"
4102
+ }
4103
+ }
4104
+ },
4105
+ {
4106
+ "id": "",
4107
+ "body": {
4108
+ "package": "himalaya",
4109
+ "type": "HStack",
4110
+ "props": {
4111
+ "spacing": 10,
4112
+ "children": [
4113
+ {
4114
+ "id": "himi_account_settings.change_email",
4115
+ "body": {
4116
+ "package": "himalaya",
4117
+ "type": "Button",
4118
+ "props": {
4119
+ "title": "Change email",
4120
+ "style": "secondary",
4121
+ "action": {
4122
+ "actionId": "tier5.himiBrandedAccountSettings.openEmailPanel"
4123
+ }
4124
+ }
4125
+ }
4126
+ },
4127
+ {
4128
+ "id": "himi_account_settings.change_password",
4129
+ "body": {
4130
+ "package": "himalaya",
4131
+ "type": "Button",
4132
+ "props": {
4133
+ "title": "Change password",
4134
+ "style": "primary",
4135
+ "action": {
4136
+ "actionId": "tier5.himiBrandedAccountSettings.openPasswordPanel"
4137
+ }
4138
+ }
4139
+ },
4140
+ "modifiers": {
4141
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPasswordCredentialSupport"
4142
+ }
4143
+ }
4144
+ ]
4145
+ }
4146
+ }
4147
+ },
4148
+ {
4149
+ "id": "",
4150
+ "body": {
4151
+ "package": "himalaya",
4152
+ "type": "VStack",
4153
+ "props": {
4154
+ "spacing": 8,
4155
+ "alignment": "leading",
4156
+ "children": [
4157
+ {
4158
+ "id": "",
4159
+ "body": {
4160
+ "package": "himalaya",
4161
+ "type": "Text",
4162
+ "props": {
4163
+ "text": "Update the app to change your password, or manage it on the website.",
4164
+ "style": "footnote",
4165
+ "color": "textSecondary"
4166
+ }
4167
+ },
4168
+ "modifiers": {
4169
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4170
+ }
4171
+ },
4172
+ {
4173
+ "id": "",
4174
+ "body": {
4175
+ "package": "himalaya",
4176
+ "type": "Text",
4177
+ "props": {
4178
+ "text": "Update the app to change your password.",
4179
+ "style": "footnote",
4180
+ "color": "textSecondary"
4181
+ }
4182
+ },
4183
+ "modifiers": {
4184
+ "hiddenPath": "$service:himiBrandedAccountSettings.siteHandoff"
4185
+ }
4186
+ },
4187
+ {
4188
+ "id": "himi_account_settings.password_website",
4189
+ "body": {
4190
+ "package": "himalaya",
4191
+ "type": "Button",
4192
+ "props": {
4193
+ "title": "Visit website",
4194
+ "style": "secondary",
4195
+ "action": {
4196
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
4197
+ }
4198
+ }
4199
+ },
4200
+ "modifiers": {
4201
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4202
+ }
4203
+ }
4204
+ ]
4205
+ }
4206
+ },
4207
+ "modifiers": {
4208
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordCredentialSupported"
4209
+ }
4210
+ },
4211
+ {
4212
+ "id": "",
4213
+ "body": {
4214
+ "package": "himalaya",
4215
+ "type": "Text",
4216
+ "props": {
4217
+ "text": "Profile URL",
4218
+ "style": "title2"
4219
+ }
4220
+ }
4221
+ },
4222
+ {
4223
+ "id": "himi_account_settings.profile_url",
4224
+ "body": {
4225
+ "package": "himalaya",
4226
+ "type": "Text",
4227
+ "props": {
4228
+ "text": "$service:himiBrandedAccountSettings.profileUrl",
4229
+ "style": "body",
4230
+ "collapseWhenEmpty": true
4231
+ }
4232
+ }
4233
+ },
4234
+ {
4235
+ "id": "",
4236
+ "body": {
4237
+ "package": "himalaya",
4238
+ "type": "Text",
4239
+ "props": {
4240
+ "text": "A public profile URL is not available for this site.",
4241
+ "style": "footnote",
4242
+ "color": "textSecondary"
4243
+ }
4244
+ },
4245
+ "modifiers": {
4246
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasProfileUrl"
4247
+ }
4248
+ },
4249
+ {
4250
+ "id": "",
4251
+ "body": {
4252
+ "package": "himalaya",
4253
+ "type": "VStack",
4254
+ "props": {
4255
+ "spacing": 5,
4256
+ "alignment": "leading",
4257
+ "children": [
4258
+ {
4259
+ "id": "",
4260
+ "body": {
4261
+ "package": "himalaya",
4262
+ "type": "Text",
4263
+ "props": {
4264
+ "text": "Profile URL name",
4265
+ "style": "footnote",
4266
+ "color": "textSecondary"
4267
+ }
4268
+ }
4269
+ },
4270
+ {
4271
+ "id": "himi_account_settings.slug",
4272
+ "body": {
4273
+ "package": "himalaya",
4274
+ "type": "TextField",
4275
+ "props": {
4276
+ "valuePath": "$service:himiBrandedAccountSettings.slug",
4277
+ "placeholder": "Profile URL name",
4278
+ "autoCapitalization": "words",
4279
+ "onChange": {
4280
+ "actionId": "tier5.himiBrandedAccountSettings.setSlug"
4281
+ }
4282
+ }
4283
+ }
4284
+ }
4285
+ ]
4286
+ }
4287
+ }
4288
+ },
4289
+ {
4290
+ "id": "himi_account_settings.save_slug",
4291
+ "body": {
4292
+ "package": "himalaya",
4293
+ "type": "Button",
4294
+ "props": {
4295
+ "title": "Update profile URL",
4296
+ "style": "secondary",
4297
+ "action": {
4298
+ "actionId": "tier5.himiBrandedAccountSettings.saveSlug"
4299
+ }
4300
+ }
4301
+ }
4302
+ },
4303
+ {
4304
+ "id": "himi_account_settings.slug_message",
4305
+ "body": {
4306
+ "package": "himalaya",
4307
+ "type": "Text",
4308
+ "props": {
4309
+ "text": "$service:himiBrandedAccountSettings.slugMessage",
4310
+ "style": "footnote",
4311
+ "collapseWhenEmpty": true
4312
+ }
4313
+ }
4314
+ },
4315
+ {
4316
+ "id": "",
4317
+ "body": {
4318
+ "package": "himalaya",
4319
+ "type": "Text",
4320
+ "props": {
4321
+ "text": "Profile privacy",
4322
+ "style": "title2"
4323
+ }
4324
+ }
4325
+ },
4326
+ {
4327
+ "id": "himi_account_settings.privacy_action",
4328
+ "body": {
4329
+ "package": "himalaya",
4330
+ "type": "Button",
4331
+ "props": {
4332
+ "title": "$service:himiBrandedAccountSettings.privacyActionLabel",
4333
+ "style": "secondary",
4334
+ "action": {
4335
+ "actionId": "tier5.himiBrandedAccountSettings.requestPrivacyChange"
4336
+ }
4337
+ }
4338
+ },
4339
+ "modifiers": {
4340
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacyControlsUnavailable"
4341
+ }
4342
+ },
4343
+ {
4344
+ "id": "",
4345
+ "body": {
4346
+ "package": "himalaya",
4347
+ "type": "Text",
4348
+ "props": {
4349
+ "text": "Profile privacy controls are unavailable for this member account.",
4350
+ "style": "footnote",
4351
+ "color": "textSecondary"
4352
+ }
4353
+ },
4354
+ "modifiers": {
4355
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacySupported"
4356
+ }
4357
+ },
4358
+ {
4359
+ "id": "himi_account_settings.privacy_confirmation",
4360
+ "body": {
4361
+ "package": "himalaya",
4362
+ "type": "VStack",
4363
+ "props": {
4364
+ "spacing": 8,
4365
+ "alignment": "leading",
4366
+ "children": [
4367
+ {
4368
+ "id": "",
4369
+ "body": {
4370
+ "package": "himalaya",
4371
+ "type": "Text",
4372
+ "props": {
4373
+ "text": "$service:himiBrandedAccountSettings.privacyPrompt",
4374
+ "style": "body"
4375
+ }
4376
+ }
4377
+ },
4378
+ {
4379
+ "id": "himi_account_settings.confirm_privacy",
4380
+ "body": {
4381
+ "package": "himalaya",
4382
+ "type": "Button",
4383
+ "props": {
4384
+ "title": "Confirm",
4385
+ "style": "primary",
4386
+ "action": {
4387
+ "actionId": "tier5.himiBrandedAccountSettings.setPrivate",
4388
+ "params": {
4389
+ "status": "$service:himiBrandedAccountSettings.pendingPrivacyStatus"
4390
+ }
4391
+ }
4392
+ }
4393
+ }
4394
+ },
4395
+ {
4396
+ "id": "himi_account_settings.cancel_privacy",
4397
+ "body": {
4398
+ "package": "himalaya",
4399
+ "type": "Button",
4400
+ "props": {
4401
+ "title": "Cancel",
4402
+ "style": "secondary",
4403
+ "action": {
4404
+ "actionId": "tier5.himiBrandedAccountSettings.cancelPrivacyChange"
4405
+ }
4406
+ }
4407
+ }
4408
+ }
4409
+ ]
4410
+ }
4411
+ },
4412
+ "modifiers": {
4413
+ "background": {
4414
+ "token": "surfaceElevated"
4415
+ },
4416
+ "border": {
4417
+ "width": 1,
4418
+ "color": {
4419
+ "token": "border"
4420
+ }
4421
+ },
4422
+ "cornerRadius": 16,
4423
+ "padding": {
4424
+ "leading": 16,
4425
+ "trailing": 16,
4426
+ "top": 16,
4427
+ "bottom": 16
4428
+ },
4429
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPrivacyConfirm"
4430
+ }
4431
+ },
4432
+ {
4433
+ "id": "",
4434
+ "body": {
4435
+ "package": "himalaya",
4436
+ "type": "VStack",
4437
+ "props": {
4438
+ "spacing": 10,
4439
+ "alignment": "leading",
4440
+ "children": [
4441
+ {
4442
+ "id": "himi_account_settings.blocked.title",
4443
+ "body": {
4444
+ "package": "himalaya",
4445
+ "type": "Text",
4446
+ "props": {
4447
+ "text": "Blocked members",
4448
+ "style": "title2"
4449
+ }
4450
+ }
4451
+ },
4452
+ {
4453
+ "id": "",
4454
+ "body": {
4455
+ "package": "himalaya",
4456
+ "type": "Text",
4457
+ "props": {
4458
+ "text": "Loading blocked members…",
4459
+ "style": "footnote",
4460
+ "color": "textSecondary"
4461
+ }
4462
+ },
4463
+ "modifiers": {
4464
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notLoading"
4465
+ }
4466
+ },
4467
+ {
4468
+ "id": "",
4469
+ "body": {
4470
+ "package": "himalaya",
4471
+ "type": "VStack",
4472
+ "props": {
4473
+ "spacing": 8,
4474
+ "children": [
4475
+ {
4476
+ "id": "",
4477
+ "body": {
4478
+ "package": "himalaya",
4479
+ "type": "Text",
4480
+ "props": {
4481
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
4482
+ "style": "footnote",
4483
+ "color": "textSecondary"
4484
+ }
4485
+ }
4486
+ },
4487
+ {
4488
+ "id": "btn_tier5_himibrandedaccountblockedmembers_load",
4489
+ "body": {
4490
+ "package": "himalaya",
4491
+ "type": "Button",
4492
+ "props": {
4493
+ "title": "Try again",
4494
+ "style": "secondary",
4495
+ "action": {
4496
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
4497
+ }
4498
+ }
4499
+ }
4500
+ }
4501
+ ]
4502
+ }
4503
+ },
4504
+ "modifiers": {
4505
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notErrored"
4506
+ }
4507
+ },
4508
+ {
4509
+ "id": "",
4510
+ "body": {
4511
+ "package": "himalaya",
4512
+ "type": "Text",
4513
+ "props": {
4514
+ "text": "You have no blocked members.",
4515
+ "style": "footnote",
4516
+ "color": "textSecondary"
4517
+ }
4518
+ },
4519
+ "modifiers": {
4520
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.hideEmpty"
4521
+ }
4522
+ },
4523
+ {
4524
+ "id": "",
4525
+ "body": {
4526
+ "package": "himalaya",
4527
+ "type": "LazyList",
4528
+ "props": {
4529
+ "spacing": 8,
4530
+ "itemsPath": "$service:himiBrandedAccountBlockedMembers.blockedMembers",
4531
+ "items": [
4532
+ {
4533
+ "id": "himi_account_settings.blocked.row.$item.memberId",
4534
+ "body": {
4535
+ "package": "himalaya",
4536
+ "type": "HStack",
4537
+ "props": {
4538
+ "spacing": 10,
4539
+ "children": [
4540
+ {
4541
+ "id": "",
4542
+ "body": {
4543
+ "package": "himalaya",
4544
+ "type": "Text",
4545
+ "props": {
4546
+ "text": "$item.label",
4547
+ "style": "body",
4548
+ "maxLines": 2
4549
+ }
4550
+ }
4551
+ },
4552
+ {
4553
+ "id": "btn_tier5_himibrandedaccountblockedmembers_requestunblock",
4554
+ "body": {
4555
+ "package": "himalaya",
4556
+ "type": "Button",
4557
+ "props": {
4558
+ "title": "Unblock",
4559
+ "style": "secondary",
4560
+ "action": {
4561
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.requestUnblock",
4562
+ "params": {
4563
+ "memberId": "$item.memberId"
4564
+ }
4565
+ }
4566
+ }
4567
+ }
4568
+ }
4569
+ ]
4570
+ }
4571
+ }
4572
+ }
4573
+ ]
4574
+ }
4575
+ },
4576
+ "modifiers": {
4577
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMembers"
4578
+ }
4579
+ },
4580
+ {
4581
+ "id": "himi_account_settings.blocked.load_more",
4582
+ "body": {
4583
+ "package": "himalaya",
4584
+ "type": "Button",
4585
+ "props": {
4586
+ "title": "Load more",
4587
+ "style": "secondary",
4588
+ "loading": false,
4589
+ "action": {
4590
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.loadMore"
4591
+ }
4592
+ }
4593
+ },
4594
+ "modifiers": {
4595
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMore"
4596
+ }
4597
+ },
4598
+ {
4599
+ "id": "",
4600
+ "body": {
4601
+ "package": "himalaya",
4602
+ "type": "Text",
4603
+ "props": {
4604
+ "text": "$service:himiBrandedAccountBlockedMembers.message",
4605
+ "style": "footnote",
4606
+ "color": "textSecondary",
4607
+ "collapseWhenEmpty": true
4608
+ }
4609
+ }
4610
+ },
4611
+ {
4612
+ "id": "himi_account_settings.blocked.confirm",
4613
+ "body": {
4614
+ "package": "himalaya",
4615
+ "type": "VStack",
4616
+ "props": {
4617
+ "spacing": 8,
4618
+ "alignment": "leading",
4619
+ "children": [
4620
+ {
4621
+ "id": "",
4622
+ "body": {
4623
+ "package": "himalaya",
4624
+ "type": "Text",
4625
+ "props": {
4626
+ "text": "Unblock this member? They may be able to interact with your profile again.",
4627
+ "style": "body"
4628
+ }
4629
+ }
4630
+ },
4631
+ {
4632
+ "id": "",
4633
+ "body": {
4634
+ "package": "himalaya",
4635
+ "type": "Text",
4636
+ "props": {
4637
+ "text": "$service:himiBrandedAccountBlockedMembers.confirmMemberId",
4638
+ "style": "footnote",
4639
+ "color": "textSecondary"
4640
+ }
4641
+ }
4642
+ },
4643
+ {
4644
+ "id": "",
4645
+ "body": {
4646
+ "package": "himalaya",
4647
+ "type": "Text",
4648
+ "props": {
4649
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
4650
+ "style": "footnote",
4651
+ "color": "textSecondary",
4652
+ "collapseWhenEmpty": true
4653
+ }
4654
+ }
4655
+ },
4656
+ {
4657
+ "id": "btn_tier5_himibrandedaccountblockedmembers_confirmunblock",
4658
+ "body": {
4659
+ "package": "himalaya",
4660
+ "type": "Button",
4661
+ "props": {
4662
+ "title": "Confirm unblock",
4663
+ "style": "primary",
4664
+ "action": {
4665
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.confirmUnblock"
4666
+ }
4667
+ }
4668
+ }
4669
+ },
4670
+ {
4671
+ "id": "btn_tier5_himibrandedaccountblockedmembers_cancelunblock",
4672
+ "body": {
4673
+ "package": "himalaya",
4674
+ "type": "Button",
4675
+ "props": {
4676
+ "title": "Cancel",
4677
+ "style": "secondary",
4678
+ "action": {
4679
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.cancelUnblock"
4680
+ }
4681
+ }
4682
+ }
4683
+ }
4684
+ ]
4685
+ }
4686
+ },
4687
+ "modifiers": {
4688
+ "background": {
4689
+ "token": "surfaceElevated"
4690
+ },
4691
+ "border": {
4692
+ "width": 1,
4693
+ "color": {
4694
+ "token": "border"
4695
+ }
4696
+ },
4697
+ "cornerRadius": 16,
4698
+ "padding": {
4699
+ "leading": 16,
4700
+ "trailing": 16,
4701
+ "top": 16,
4702
+ "bottom": 16
4703
+ },
4704
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noConfirm"
4705
+ }
4706
+ }
4707
+ ]
4708
+ }
4709
+ },
4710
+ "modifiers": {
4711
+ "onAppear": {
4712
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
4713
+ }
4714
+ }
4715
+ },
4716
+ {
4717
+ "id": "himi_account_settings.message",
4718
+ "body": {
4719
+ "package": "himalaya",
4720
+ "type": "Text",
4721
+ "props": {
4722
+ "text": "$service:himiBrandedAccountSettings.message",
4723
+ "style": "footnote",
4724
+ "color": "textSecondary",
4725
+ "collapseWhenEmpty": true
4726
+ }
4727
+ }
4728
+ },
4729
+ {
4730
+ "id": "",
4731
+ "body": {
4732
+ "package": "himalaya",
4733
+ "type": "HStack",
4734
+ "props": {
4735
+ "spacing": 10,
4736
+ "children": [
4737
+ {
4738
+ "id": "himi_account_settings.discard",
4739
+ "body": {
4740
+ "package": "himalaya",
4741
+ "type": "Button",
4742
+ "props": {
4743
+ "title": "Discard",
4744
+ "style": "secondary",
4745
+ "action": {
4746
+ "actionId": "tier5.himiBrandedAccountSettings.discard"
4747
+ }
4748
+ }
4749
+ }
4750
+ },
4751
+ {
4752
+ "id": "himi_account_settings.save",
4753
+ "body": {
4754
+ "package": "himalaya",
4755
+ "type": "Button",
4756
+ "props": {
4757
+ "title": "Update Info",
4758
+ "style": "primary",
4759
+ "disabledPath": "$service:himiBrandedAccountSettings.photoUploading",
4760
+ "action": {
4761
+ "actionId": "tier5.himiBrandedAccountSettings.save"
4762
+ }
4763
+ }
4764
+ }
4765
+ }
4766
+ ]
4767
+ }
4768
+ }
4769
+ },
4770
+ {
4771
+ "id": "himi_account_settings.password_sheet",
4772
+ "body": {
4773
+ "package": "himalaya",
4774
+ "type": "BottomSheet",
4775
+ "props": {
4776
+ "presentedPath": "$service:himiBrandedAccountSettings.passwordPanelOpen",
4777
+ "dismissible": true,
4778
+ "showGrabber": true,
4779
+ "onDismiss": {
4780
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
4781
+ },
4782
+ "content": {
4783
+ "id": "",
4784
+ "body": {
4785
+ "package": "himalaya",
4786
+ "type": "VStack",
4787
+ "props": {
4788
+ "spacing": 16,
4789
+ "alignment": "leading",
4790
+ "children": [
4791
+ {
4792
+ "id": "",
4793
+ "body": {
4794
+ "package": "himalaya",
4795
+ "type": "Text",
4796
+ "props": {
4797
+ "text": "Change password",
4798
+ "style": "title2"
4799
+ }
4800
+ }
4801
+ },
4802
+ {
4803
+ "id": "",
4804
+ "body": {
4805
+ "package": "himalaya",
4806
+ "type": "VStack",
4807
+ "props": {
4808
+ "spacing": 5,
4809
+ "alignment": "leading",
4810
+ "children": [
4811
+ {
4812
+ "id": "",
4813
+ "body": {
4814
+ "package": "himalaya",
4815
+ "type": "Text",
4816
+ "props": {
4817
+ "text": "Current password",
4818
+ "style": "footnote",
4819
+ "color": "textSecondary"
4820
+ }
4821
+ }
4822
+ },
4823
+ {
4824
+ "id": "himi_account_settings.passwordCurrent",
4825
+ "body": {
4826
+ "package": "himalaya",
4827
+ "type": "TextField",
4828
+ "props": {
4829
+ "valuePath": "$service:himiBrandedAccountSettings.passwordCurrent",
4830
+ "placeholder": "Current password",
4831
+ "secure": true,
4832
+ "autoCapitalization": "none",
4833
+ "onChange": {
4834
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordCurrent"
4835
+ }
4836
+ }
4837
+ }
4838
+ }
4839
+ ]
4840
+ }
4841
+ }
4842
+ },
4843
+ {
4844
+ "id": "",
4845
+ "body": {
4846
+ "package": "himalaya",
4847
+ "type": "VStack",
4848
+ "props": {
4849
+ "spacing": 5,
4850
+ "alignment": "leading",
4851
+ "children": [
4852
+ {
4853
+ "id": "",
4854
+ "body": {
4855
+ "package": "himalaya",
4856
+ "type": "Text",
4857
+ "props": {
4858
+ "text": "New password",
4859
+ "style": "footnote",
4860
+ "color": "textSecondary"
4861
+ }
4862
+ }
4863
+ },
4864
+ {
4865
+ "id": "himi_account_settings.passwordNew",
4866
+ "body": {
4867
+ "package": "himalaya",
4868
+ "type": "TextField",
4869
+ "props": {
4870
+ "valuePath": "$service:himiBrandedAccountSettings.passwordNew",
4871
+ "placeholder": "New password",
4872
+ "secure": true,
4873
+ "autoCapitalization": "none",
4874
+ "onChange": {
4875
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordNew"
4876
+ }
4877
+ }
4878
+ }
4879
+ }
4880
+ ]
4881
+ }
4882
+ }
4883
+ },
4884
+ {
4885
+ "id": "",
4886
+ "body": {
4887
+ "package": "himalaya",
4888
+ "type": "VStack",
4889
+ "props": {
4890
+ "spacing": 5,
4891
+ "alignment": "leading",
4892
+ "children": [
4893
+ {
4894
+ "id": "",
4895
+ "body": {
4896
+ "package": "himalaya",
4897
+ "type": "Text",
4898
+ "props": {
4899
+ "text": "Confirm new password",
4900
+ "style": "footnote",
4901
+ "color": "textSecondary"
4902
+ }
4903
+ }
4904
+ },
4905
+ {
4906
+ "id": "himi_account_settings.passwordConfirm",
4907
+ "body": {
4908
+ "package": "himalaya",
4909
+ "type": "TextField",
4910
+ "props": {
4911
+ "valuePath": "$service:himiBrandedAccountSettings.passwordConfirm",
4912
+ "placeholder": "Confirm new password",
4913
+ "secure": true,
4914
+ "autoCapitalization": "none",
4915
+ "onChange": {
4916
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordConfirm"
4917
+ }
4918
+ }
4919
+ }
4920
+ }
4921
+ ]
4922
+ }
4923
+ }
4924
+ },
4925
+ {
4926
+ "id": "",
4927
+ "body": {
4928
+ "package": "himalaya",
4929
+ "type": "Text",
4930
+ "props": {
4931
+ "text": "Changing password…",
4932
+ "style": "footnote",
4933
+ "color": "textSecondary"
4934
+ }
4935
+ },
4936
+ "modifiers": {
4937
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordChanging"
4938
+ }
4939
+ },
4940
+ {
4941
+ "id": "",
4942
+ "body": {
4943
+ "package": "himalaya",
4944
+ "type": "Text",
4945
+ "props": {
4946
+ "text": "Sending reset link…",
4947
+ "style": "footnote",
4948
+ "color": "textSecondary"
4949
+ }
4950
+ },
4951
+ "modifiers": {
4952
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordResetSending"
4953
+ }
4954
+ },
4955
+ {
4956
+ "id": "",
4957
+ "body": {
4958
+ "package": "himalaya",
4959
+ "type": "Text",
4960
+ "props": {
4961
+ "text": "$service:himiBrandedAccountSettings.passwordError",
4962
+ "style": "footnote",
4963
+ "color": "textSecondary"
4964
+ }
4965
+ },
4966
+ "modifiers": {
4967
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoError"
4968
+ }
4969
+ },
4970
+ {
4971
+ "id": "",
4972
+ "body": {
4973
+ "package": "himalaya",
4974
+ "type": "Text",
4975
+ "props": {
4976
+ "text": "$service:himiBrandedAccountSettings.passwordMessage",
4977
+ "style": "footnote",
4978
+ "color": "textSecondary"
4979
+ }
4980
+ },
4981
+ "modifiers": {
4982
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoMessage"
4983
+ }
4984
+ },
4985
+ {
4986
+ "id": "btn_tier5_himibrandedaccountsettings_changepassword",
4987
+ "body": {
4988
+ "package": "himalaya",
4989
+ "type": "Button",
4990
+ "props": {
4991
+ "title": "Change password",
4992
+ "style": "primary",
4993
+ "fullWidth": true,
4994
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
4995
+ "action": {
4996
+ "actionId": "tier5.himiBrandedAccountSettings.changePassword"
4997
+ }
4998
+ }
4999
+ }
5000
+ },
5001
+ {
5002
+ "id": "btn_tier5_himibrandedaccountsettings_resetpassword",
5003
+ "body": {
5004
+ "package": "himalaya",
5005
+ "type": "Button",
5006
+ "props": {
5007
+ "title": "Reset or create password by email",
5008
+ "style": "secondary",
5009
+ "fullWidth": true,
5010
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
5011
+ "action": {
5012
+ "actionId": "tier5.himiBrandedAccountSettings.resetPassword"
5013
+ }
5014
+ }
5015
+ }
5016
+ },
5017
+ {
5018
+ "id": "btn_tier5_himibrandedaccountsettings_closepasswordpanel",
5019
+ "body": {
5020
+ "package": "himalaya",
5021
+ "type": "Button",
5022
+ "props": {
5023
+ "title": "Cancel",
5024
+ "style": "plain",
5025
+ "action": {
5026
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5027
+ }
5028
+ }
5029
+ }
5030
+ }
5031
+ ]
5032
+ }
5033
+ },
5034
+ "modifiers": {
5035
+ "padding": {
5036
+ "leading": 20,
5037
+ "trailing": 20,
5038
+ "top": 20,
5039
+ "bottom": 24
5040
+ }
5041
+ }
5042
+ }
5043
+ }
5044
+ }
5045
+ },
5046
+ {
5047
+ "id": "himi_account_settings.email_sheet",
5048
+ "body": {
5049
+ "package": "himalaya",
5050
+ "type": "BottomSheet",
5051
+ "props": {
5052
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
5053
+ "dismissible": true,
5054
+ "showGrabber": true,
5055
+ "onDismiss": {
5056
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5057
+ },
5058
+ "content": {
5059
+ "id": "",
5060
+ "body": {
5061
+ "package": "himalaya",
5062
+ "type": "VStack",
5063
+ "props": {
5064
+ "spacing": 16,
5065
+ "alignment": "leading",
5066
+ "children": [
5067
+ {
5068
+ "id": "",
5069
+ "body": {
5070
+ "package": "himalaya",
5071
+ "type": "Text",
5072
+ "props": {
5073
+ "text": "Change login email",
5074
+ "style": "title2"
5075
+ }
5076
+ }
5077
+ },
5078
+ {
5079
+ "id": "",
5080
+ "body": {
5081
+ "package": "himalaya",
5082
+ "type": "Text",
5083
+ "props": {
5084
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
5085
+ "style": "bodyEmphasis"
5086
+ }
5087
+ }
5088
+ },
5089
+ {
5090
+ "id": "",
5091
+ "body": {
5092
+ "package": "himalaya",
5093
+ "type": "Text",
5094
+ "props": {
5095
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
5096
+ "style": "body",
5097
+ "color": "textSecondary"
5098
+ }
5099
+ }
5100
+ },
5101
+ {
5102
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
5103
+ "body": {
5104
+ "package": "himalaya",
5105
+ "type": "Button",
5106
+ "props": {
5107
+ "title": "Visit website",
5108
+ "style": "secondary",
5109
+ "fullWidth": true,
5110
+ "action": {
5111
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
5112
+ }
5113
+ }
5114
+ },
5115
+ "modifiers": {
5116
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5117
+ }
5118
+ },
5119
+ {
5120
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
5121
+ "body": {
5122
+ "package": "himalaya",
5123
+ "type": "Button",
5124
+ "props": {
5125
+ "title": "Close",
5126
+ "style": "plain",
5127
+ "action": {
5128
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5129
+ }
5130
+ }
5131
+ }
5132
+ }
5133
+ ]
5134
+ }
5135
+ },
5136
+ "modifiers": {
5137
+ "padding": {
5138
+ "leading": 20,
5139
+ "trailing": 20,
5140
+ "top": 20,
5141
+ "bottom": 24
5142
+ }
5143
+ }
5144
+ }
5145
+ }
5146
+ }
5147
+ }
5148
+ ]
5149
+ }
5150
+ },
5151
+ "modifiers": {
5152
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
5153
+ }
5154
+ }
5155
+ ]
5156
+ }
5157
+ },
5158
+ "modifiers": {
5159
+ "background": {
5160
+ "token": "surfacePrimary"
5161
+ },
5162
+ "padding": {
5163
+ "leading": 16,
5164
+ "trailing": 16,
5165
+ "top": 18,
5166
+ "bottom": 28
5167
+ },
5168
+ "onAppear": {
5169
+ "actionId": "tier5.himiBrandedAccountSettings.load",
5170
+ "params": {
5171
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
5172
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
5173
+ }
5174
+ }
5175
+ }
5176
+ },
5177
+ "logicBundle": {
5178
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
5179
+ "integrity": "",
5180
+ "contentType": "application/javascript+ts-bundle",
5181
+ "declaredCapabilities": [
5182
+ "wix_api",
5183
+ "app_info",
5184
+ "open_url"
5185
+ ],
5186
+ "minBinaryVersion": "0.1.0",
5187
+ "bundleVersion": "0.0.1"
5188
+ }
5189
+ },
3440
5190
  "himi_app_info": {
3441
5191
  "screenId": "himi_app_info",
3442
5192
  "renderer": "sdui_intent",