@wix/himalaya-cli 0.1403.0 → 0.1405.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +6 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/extensions.d.ts +10 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/index.d.ts +102 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/chat-web/src/index.d.ts +115 -21
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ai-site-chat.mjs +70 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-chat-web.mjs +207 -38
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  9. package/dist/cli.mjs +95 -38
  10. package/dist/preview-assets.generated.bin +0 -0
  11. package/fixtures/wix-canned.json +3 -0
  12. package/guides/component-reference.json +3 -2
  13. package/guides/component-reference.md +7 -1
  14. package/guides/importable-sdks.md +1 -0
  15. package/guides/sdk-reference.json +217 -14
  16. package/package.json +2 -2
  17. package/templates/beauty-salon/config.ts +7 -0
  18. package/templates/beauty-salon/dev/index.ts +1750 -0
  19. package/templates/beauty-salon/himalaya.content.json +3 -0
  20. package/templates/beauty-salon/site-functions/README.md +37 -0
  21. package/templates/beauty-salon/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  22. package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +11 -3
  23. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  24. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  25. package/templates/branded-lite/config.ts +7 -0
  26. package/templates/branded-lite/dev/index.ts +1750 -0
  27. package/templates/branded-lite/himalaya.content.json +3 -0
  28. package/templates/branded-lite/site-functions/README.md +37 -0
  29. package/templates/branded-lite/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  30. package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +11 -3
  31. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  32. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  33. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +2 -2
  34. package/templates/community-club/config.ts +7 -0
  35. package/templates/community-club/dev/index.ts +1750 -0
  36. package/templates/community-club/himalaya.content.json +3 -0
  37. package/templates/community-club/site-functions/README.md +37 -0
  38. package/templates/community-club/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  39. package/templates/community-club/tier5-src/_shared/member-account-routes.ts +11 -3
  40. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  41. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  42. package/templates/events-meetups/config.ts +7 -0
  43. package/templates/events-meetups/dev/index.ts +1750 -0
  44. package/templates/events-meetups/himalaya.content.json +3 -0
  45. package/templates/events-meetups/site-functions/README.md +37 -0
  46. package/templates/events-meetups/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  47. package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +11 -3
  48. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  49. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  50. package/templates/gym-fitness/config.ts +7 -0
  51. package/templates/gym-fitness/dev/index.ts +1750 -0
  52. package/templates/gym-fitness/himalaya.content.json +3 -0
  53. package/templates/gym-fitness/site-functions/README.md +37 -0
  54. package/templates/gym-fitness/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  55. package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +11 -3
  56. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  57. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  58. package/templates/nonprofit-cause/config.ts +7 -0
  59. package/templates/nonprofit-cause/dev/index.ts +1750 -0
  60. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  61. package/templates/nonprofit-cause/site-functions/README.md +37 -0
  62. package/templates/nonprofit-cause/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  63. package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +11 -3
  64. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  65. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  66. package/templates/podcast-creator/config.ts +7 -0
  67. package/templates/podcast-creator/dev/index.ts +1750 -0
  68. package/templates/podcast-creator/himalaya.content.json +3 -0
  69. package/templates/podcast-creator/site-functions/README.md +37 -0
  70. package/templates/podcast-creator/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  71. package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +11 -3
  72. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  73. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  74. package/templates/portfolio-creative/config.ts +7 -0
  75. package/templates/portfolio-creative/dev/index.ts +1750 -0
  76. package/templates/portfolio-creative/himalaya.content.json +3 -0
  77. package/templates/portfolio-creative/site-functions/README.md +37 -0
  78. package/templates/portfolio-creative/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  79. package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +11 -3
  80. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  81. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  82. package/templates/restaurant/config.ts +7 -0
  83. package/templates/restaurant/dev/index.ts +1750 -0
  84. package/templates/restaurant/himalaya.content.json +3 -0
  85. package/templates/restaurant/site-functions/README.md +37 -0
  86. package/templates/restaurant/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  87. package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +11 -3
  88. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  89. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  90. package/templates/retail-store/config.ts +7 -0
  91. package/templates/retail-store/dev/index.ts +1750 -0
  92. package/templates/retail-store/himalaya.content.json +3 -0
  93. package/templates/retail-store/site-functions/README.md +37 -0
  94. package/templates/retail-store/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  95. package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +11 -3
  96. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  97. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  98. package/templates/yoga-studio/config.ts +7 -0
  99. package/templates/yoga-studio/dev/index.ts +1750 -0
  100. package/templates/yoga-studio/himalaya.content.json +3 -0
  101. package/templates/yoga-studio/site-functions/README.md +37 -0
  102. package/templates/yoga-studio/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  103. package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +11 -3
  104. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  105. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
@@ -5,6 +5,8 @@ import config from "../config.js";
5
5
 
6
6
  const runtimeSetting = (value: unknown): unknown => {
7
7
  if (value === "__HIMI_PODCAST_FEED_URL__") return process.env.PODCAST_FEED_URL?.trim() || "";
8
+ if (value === "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__") return process.env.HIMI_BRANDED_LITE_MEMBER_PHOTO_UPLOAD_FUNCTION?.trim() || "";
9
+ if (value === "__HIMI_MEMBER_SITE_URL__") return String((config as { auth?: { config?: { siteUrl?: unknown } } }).auth?.config?.siteUrl ?? "").trim();
8
10
  if (Array.isArray(value)) return value.map(runtimeSetting);
9
11
  if (!value || typeof value !== "object") return value;
10
12
  return Object.fromEntries(Object.entries(value).map(([key, child]) => [key, runtimeSetting(child)]));
@@ -3767,6 +3769,95 @@ const SCREENS = runtimeSetting({
3767
3769
  "hiddenPath": "$service:himiStoreAccount.notMember"
3768
3770
  }
3769
3771
  },
3772
+ {
3773
+ "id": "himi_account.settings",
3774
+ "body": {
3775
+ "package": "himalaya",
3776
+ "type": "HStack",
3777
+ "props": {
3778
+ "spacing": 12,
3779
+ "children": [
3780
+ {
3781
+ "id": "",
3782
+ "body": {
3783
+ "package": "himalaya",
3784
+ "type": "Icon",
3785
+ "props": {
3786
+ "name": "settings",
3787
+ "size": 18,
3788
+ "tint": "accentPrimary"
3789
+ }
3790
+ },
3791
+ "modifiers": {
3792
+ "accessibilityRole": "decorative"
3793
+ }
3794
+ },
3795
+ {
3796
+ "id": "",
3797
+ "body": {
3798
+ "package": "himalaya",
3799
+ "type": "Text",
3800
+ "props": {
3801
+ "text": "My Account",
3802
+ "style": "bodyEmphasis"
3803
+ }
3804
+ }
3805
+ },
3806
+ {
3807
+ "id": "",
3808
+ "body": {
3809
+ "package": "himalaya",
3810
+ "type": "Spacer",
3811
+ "props": {}
3812
+ }
3813
+ },
3814
+ {
3815
+ "id": "",
3816
+ "body": {
3817
+ "package": "himalaya",
3818
+ "type": "Icon",
3819
+ "props": {
3820
+ "name": "chevron_right",
3821
+ "size": 16,
3822
+ "tint": "textTertiary"
3823
+ }
3824
+ },
3825
+ "modifiers": {
3826
+ "accessibilityRole": "decorative"
3827
+ }
3828
+ }
3829
+ ]
3830
+ }
3831
+ },
3832
+ "modifiers": {
3833
+ "background": {
3834
+ "token": "surfaceElevated"
3835
+ },
3836
+ "border": {
3837
+ "width": 1,
3838
+ "color": {
3839
+ "token": "border"
3840
+ }
3841
+ },
3842
+ "cornerRadius": 8,
3843
+ "padding": {
3844
+ "leading": 14,
3845
+ "trailing": 14,
3846
+ "top": 13,
3847
+ "bottom": 13
3848
+ },
3849
+ "onTap": {
3850
+ "actionId": "himi.open",
3851
+ "params": {
3852
+ "screenId": "himi_account_settings"
3853
+ }
3854
+ },
3855
+ "pressFeedback": "scale",
3856
+ "haptic": "light",
3857
+ "accessibilityLabel": "My Account",
3858
+ "hiddenPath": "$service:himiStoreAccount.notMember"
3859
+ }
3860
+ },
3770
3861
  {
3771
3862
  "id": "himi_account.subscriptions_guest",
3772
3863
  "body": {
@@ -4347,6 +4438,1665 @@ const SCREENS = runtimeSetting({
4347
4438
  "bundleVersion": "0.0.1"
4348
4439
  }
4349
4440
  },
4441
+ "himi_account_settings": {
4442
+ "screenId": "himi_account_settings",
4443
+ "renderer": "sdui_intent",
4444
+ "title": "",
4445
+ "schemaVersion": 1,
4446
+ "cacheControl": {
4447
+ "maxAge": 0,
4448
+ "staleWhileRevalidate": 0
4449
+ },
4450
+ "payload": {
4451
+ "id": "himi_account_settings.root",
4452
+ "body": {
4453
+ "package": "himalaya",
4454
+ "type": "VStack",
4455
+ "props": {
4456
+ "spacing": 16,
4457
+ "alignment": "leading",
4458
+ "children": [
4459
+ {
4460
+ "id": "himi_account_settings.title",
4461
+ "body": {
4462
+ "package": "himalaya",
4463
+ "type": "Text",
4464
+ "props": {
4465
+ "text": "My Account",
4466
+ "style": "title1"
4467
+ }
4468
+ }
4469
+ },
4470
+ {
4471
+ "id": "",
4472
+ "body": {
4473
+ "package": "himalaya",
4474
+ "type": "Text",
4475
+ "props": {
4476
+ "text": "Update the profile details connected to your member account.",
4477
+ "style": "body",
4478
+ "color": "textSecondary"
4479
+ }
4480
+ }
4481
+ },
4482
+ {
4483
+ "id": "himi_account_settings.loading",
4484
+ "body": {
4485
+ "package": "himalaya",
4486
+ "type": "Skeleton",
4487
+ "props": {
4488
+ "height": 72,
4489
+ "cornerRadius": 12,
4490
+ "count": 3
4491
+ }
4492
+ },
4493
+ "modifiers": {
4494
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
4495
+ }
4496
+ },
4497
+ {
4498
+ "id": "himi_account_settings.error",
4499
+ "body": {
4500
+ "package": "himalaya",
4501
+ "type": "VStack",
4502
+ "props": {
4503
+ "spacing": 8,
4504
+ "alignment": "leading",
4505
+ "children": [
4506
+ {
4507
+ "id": "",
4508
+ "body": {
4509
+ "package": "himalaya",
4510
+ "type": "Text",
4511
+ "props": {
4512
+ "text": "$service:himiBrandedAccountSettings.error",
4513
+ "style": "body",
4514
+ "collapseWhenEmpty": true
4515
+ }
4516
+ }
4517
+ },
4518
+ {
4519
+ "id": "himi_account_settings.retry",
4520
+ "body": {
4521
+ "package": "himalaya",
4522
+ "type": "Button",
4523
+ "props": {
4524
+ "title": "Try again",
4525
+ "style": "secondary",
4526
+ "action": {
4527
+ "actionId": "tier5.himiBrandedAccountSettings.load",
4528
+ "params": {
4529
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
4530
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
4531
+ }
4532
+ }
4533
+ }
4534
+ }
4535
+ },
4536
+ {
4537
+ "id": "himi_account_settings.sign_in",
4538
+ "body": {
4539
+ "package": "himalaya",
4540
+ "type": "Button",
4541
+ "props": {
4542
+ "title": "Sign in",
4543
+ "style": "primary",
4544
+ "action": {
4545
+ "actionId": "himi.open",
4546
+ "params": {
4547
+ "screenId": "himi_account",
4548
+ "returnScreenId": "himi_account_settings"
4549
+ }
4550
+ }
4551
+ }
4552
+ },
4553
+ "modifiers": {
4554
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
4555
+ }
4556
+ }
4557
+ ]
4558
+ }
4559
+ },
4560
+ "modifiers": {
4561
+ "background": {
4562
+ "token": "surfaceElevated"
4563
+ },
4564
+ "border": {
4565
+ "width": 1,
4566
+ "color": {
4567
+ "token": "border"
4568
+ }
4569
+ },
4570
+ "cornerRadius": 16,
4571
+ "padding": {
4572
+ "leading": 16,
4573
+ "trailing": 16,
4574
+ "top": 16,
4575
+ "bottom": 16
4576
+ },
4577
+ "hiddenPath": "$service:himiBrandedAccountSettings.notErrored"
4578
+ }
4579
+ },
4580
+ {
4581
+ "id": "",
4582
+ "body": {
4583
+ "package": "himalaya",
4584
+ "type": "VStack",
4585
+ "props": {
4586
+ "spacing": 18,
4587
+ "alignment": "leading",
4588
+ "children": [
4589
+ {
4590
+ "id": "",
4591
+ "body": {
4592
+ "package": "himalaya",
4593
+ "type": "Text",
4594
+ "props": {
4595
+ "text": "Display info",
4596
+ "style": "title2"
4597
+ }
4598
+ }
4599
+ },
4600
+ {
4601
+ "id": "himi_account_settings.photo_upload",
4602
+ "body": {
4603
+ "package": "himalaya",
4604
+ "type": "MediaField",
4605
+ "props": {
4606
+ "valuePath": "$service:himiBrandedAccountSettings.photoDisplayUrl",
4607
+ "uploadService": "himiBrandedAccountSettings",
4608
+ "label": "Choose a profile photo",
4609
+ "presentation": "avatar",
4610
+ "fallbackTextPath": "$service:himiBrandedAccountSettings.memberInitials",
4611
+ "heading": "Profile photo"
4612
+ }
4613
+ },
4614
+ "modifiers": {
4615
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4616
+ }
4617
+ },
4618
+ {
4619
+ "id": "",
4620
+ "body": {
4621
+ "package": "himalaya",
4622
+ "type": "HStack",
4623
+ "props": {
4624
+ "spacing": 14,
4625
+ "children": [
4626
+ {
4627
+ "id": "himi_account_settings.read_only_avatar",
4628
+ "body": {
4629
+ "package": "himalaya",
4630
+ "type": "Image",
4631
+ "props": {
4632
+ "url": "$service:himiBrandedAccountSettings.memberImage",
4633
+ "width": 72,
4634
+ "height": 72,
4635
+ "contentMode": "fill",
4636
+ "shape": "circle",
4637
+ "contentDescription": "Profile photo"
4638
+ }
4639
+ },
4640
+ "modifiers": {
4641
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMemberImage"
4642
+ }
4643
+ },
4644
+ {
4645
+ "id": "",
4646
+ "body": {
4647
+ "package": "himalaya",
4648
+ "type": "ZStack",
4649
+ "props": {
4650
+ "alignment": "center",
4651
+ "children": [
4652
+ {
4653
+ "id": "",
4654
+ "body": {
4655
+ "package": "himalaya",
4656
+ "type": "Text",
4657
+ "props": {
4658
+ "text": "$service:himiBrandedAccountSettings.memberInitials",
4659
+ "style": "title2",
4660
+ "color": "textOnAccent"
4661
+ }
4662
+ }
4663
+ }
4664
+ ]
4665
+ }
4666
+ },
4667
+ "modifiers": {
4668
+ "width": 72,
4669
+ "height": 72,
4670
+ "background": {
4671
+ "token": "accentPrimary"
4672
+ },
4673
+ "cornerRadius": 36,
4674
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasMemberImage"
4675
+ }
4676
+ },
4677
+ {
4678
+ "id": "",
4679
+ "body": {
4680
+ "package": "himalaya",
4681
+ "type": "VStack",
4682
+ "props": {
4683
+ "spacing": 4,
4684
+ "alignment": "leading",
4685
+ "children": [
4686
+ {
4687
+ "id": "",
4688
+ "body": {
4689
+ "package": "himalaya",
4690
+ "type": "Text",
4691
+ "props": {
4692
+ "text": "Profile photo",
4693
+ "style": "body",
4694
+ "color": "textSecondary"
4695
+ }
4696
+ }
4697
+ },
4698
+ {
4699
+ "id": "",
4700
+ "body": {
4701
+ "package": "himalaya",
4702
+ "type": "Text",
4703
+ "props": {
4704
+ "text": "Your profile photo is managed on the Wix site.",
4705
+ "style": "footnote",
4706
+ "color": "textSecondary"
4707
+ }
4708
+ }
4709
+ }
4710
+ ]
4711
+ }
4712
+ }
4713
+ }
4714
+ ]
4715
+ }
4716
+ },
4717
+ "modifiers": {
4718
+ "hiddenPath": "$service:himiBrandedAccountSettings.photoUploadAvailable"
4719
+ }
4720
+ },
4721
+ {
4722
+ "id": "",
4723
+ "body": {
4724
+ "package": "himalaya",
4725
+ "type": "Text",
4726
+ "props": {
4727
+ "text": "Your photo is uploaded now and saved with Update info. Discard clears the selection.",
4728
+ "style": "footnote",
4729
+ "color": "textSecondary"
4730
+ }
4731
+ },
4732
+ "modifiers": {
4733
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4734
+ }
4735
+ },
4736
+ {
4737
+ "id": "himi_account_settings.photo_upload_error",
4738
+ "body": {
4739
+ "package": "himalaya",
4740
+ "type": "Text",
4741
+ "props": {
4742
+ "text": "$service:himiBrandedAccountSettings.photoUploadError",
4743
+ "style": "footnote",
4744
+ "color": "danger",
4745
+ "collapseWhenEmpty": true
4746
+ }
4747
+ }
4748
+ },
4749
+ {
4750
+ "id": "",
4751
+ "body": {
4752
+ "package": "himalaya",
4753
+ "type": "VStack",
4754
+ "props": {
4755
+ "spacing": 5,
4756
+ "alignment": "leading",
4757
+ "children": [
4758
+ {
4759
+ "id": "",
4760
+ "body": {
4761
+ "package": "himalaya",
4762
+ "type": "Text",
4763
+ "props": {
4764
+ "text": "Display name",
4765
+ "style": "footnote",
4766
+ "color": "textSecondary"
4767
+ }
4768
+ }
4769
+ },
4770
+ {
4771
+ "id": "himi_account_settings.displayName",
4772
+ "body": {
4773
+ "package": "himalaya",
4774
+ "type": "TextField",
4775
+ "props": {
4776
+ "valuePath": "$service:himiBrandedAccountSettings.displayName",
4777
+ "placeholder": "Display name",
4778
+ "autoCapitalization": "words",
4779
+ "onChange": {
4780
+ "actionId": "tier5.himiBrandedAccountSettings.setDisplayName"
4781
+ },
4782
+ "validation": {
4783
+ "required": true
4784
+ },
4785
+ "errorPath": "$service:himiBrandedAccountSettings.displayNameError"
4786
+ }
4787
+ }
4788
+ }
4789
+ ]
4790
+ }
4791
+ }
4792
+ },
4793
+ {
4794
+ "id": "",
4795
+ "body": {
4796
+ "package": "himalaya",
4797
+ "type": "VStack",
4798
+ "props": {
4799
+ "spacing": 5,
4800
+ "alignment": "leading",
4801
+ "children": [
4802
+ {
4803
+ "id": "",
4804
+ "body": {
4805
+ "package": "himalaya",
4806
+ "type": "Text",
4807
+ "props": {
4808
+ "text": "Title",
4809
+ "style": "footnote",
4810
+ "color": "textSecondary"
4811
+ }
4812
+ }
4813
+ },
4814
+ {
4815
+ "id": "himi_account_settings.title",
4816
+ "body": {
4817
+ "package": "himalaya",
4818
+ "type": "TextField",
4819
+ "props": {
4820
+ "valuePath": "$service:himiBrandedAccountSettings.title",
4821
+ "placeholder": "Title",
4822
+ "autoCapitalization": "words",
4823
+ "onChange": {
4824
+ "actionId": "tier5.himiBrandedAccountSettings.setTitle"
4825
+ },
4826
+ "errorPath": "$service:himiBrandedAccountSettings.titleError"
4827
+ }
4828
+ }
4829
+ }
4830
+ ]
4831
+ }
4832
+ }
4833
+ },
4834
+ {
4835
+ "id": "",
4836
+ "body": {
4837
+ "package": "himalaya",
4838
+ "type": "Text",
4839
+ "props": {
4840
+ "text": "Personal info",
4841
+ "style": "title2"
4842
+ }
4843
+ }
4844
+ },
4845
+ {
4846
+ "id": "",
4847
+ "body": {
4848
+ "package": "himalaya",
4849
+ "type": "VStack",
4850
+ "props": {
4851
+ "spacing": 5,
4852
+ "alignment": "leading",
4853
+ "children": [
4854
+ {
4855
+ "id": "",
4856
+ "body": {
4857
+ "package": "himalaya",
4858
+ "type": "Text",
4859
+ "props": {
4860
+ "text": "First name",
4861
+ "style": "footnote",
4862
+ "color": "textSecondary"
4863
+ }
4864
+ }
4865
+ },
4866
+ {
4867
+ "id": "himi_account_settings.firstName",
4868
+ "body": {
4869
+ "package": "himalaya",
4870
+ "type": "TextField",
4871
+ "props": {
4872
+ "valuePath": "$service:himiBrandedAccountSettings.firstName",
4873
+ "placeholder": "First name",
4874
+ "autoCapitalization": "words",
4875
+ "onChange": {
4876
+ "actionId": "tier5.himiBrandedAccountSettings.setFirstName"
4877
+ },
4878
+ "errorPath": "$service:himiBrandedAccountSettings.firstNameError"
4879
+ }
4880
+ }
4881
+ }
4882
+ ]
4883
+ }
4884
+ }
4885
+ },
4886
+ {
4887
+ "id": "",
4888
+ "body": {
4889
+ "package": "himalaya",
4890
+ "type": "VStack",
4891
+ "props": {
4892
+ "spacing": 5,
4893
+ "alignment": "leading",
4894
+ "children": [
4895
+ {
4896
+ "id": "",
4897
+ "body": {
4898
+ "package": "himalaya",
4899
+ "type": "Text",
4900
+ "props": {
4901
+ "text": "Last name",
4902
+ "style": "footnote",
4903
+ "color": "textSecondary"
4904
+ }
4905
+ }
4906
+ },
4907
+ {
4908
+ "id": "himi_account_settings.lastName",
4909
+ "body": {
4910
+ "package": "himalaya",
4911
+ "type": "TextField",
4912
+ "props": {
4913
+ "valuePath": "$service:himiBrandedAccountSettings.lastName",
4914
+ "placeholder": "Last name",
4915
+ "autoCapitalization": "words",
4916
+ "onChange": {
4917
+ "actionId": "tier5.himiBrandedAccountSettings.setLastName"
4918
+ },
4919
+ "errorPath": "$service:himiBrandedAccountSettings.lastNameError"
4920
+ }
4921
+ }
4922
+ }
4923
+ ]
4924
+ }
4925
+ }
4926
+ },
4927
+ {
4928
+ "id": "",
4929
+ "body": {
4930
+ "package": "himalaya",
4931
+ "type": "VStack",
4932
+ "props": {
4933
+ "spacing": 5,
4934
+ "alignment": "leading",
4935
+ "children": [
4936
+ {
4937
+ "id": "",
4938
+ "body": {
4939
+ "package": "himalaya",
4940
+ "type": "Text",
4941
+ "props": {
4942
+ "text": "Phone",
4943
+ "style": "footnote",
4944
+ "color": "textSecondary"
4945
+ }
4946
+ }
4947
+ },
4948
+ {
4949
+ "id": "himi_account_settings.phone",
4950
+ "body": {
4951
+ "package": "himalaya",
4952
+ "type": "TextField",
4953
+ "props": {
4954
+ "valuePath": "$service:himiBrandedAccountSettings.phone",
4955
+ "placeholder": "Phone",
4956
+ "keyboard": "phone",
4957
+ "autoCapitalization": "words",
4958
+ "onChange": {
4959
+ "actionId": "tier5.himiBrandedAccountSettings.setPhone"
4960
+ },
4961
+ "errorPath": "$service:himiBrandedAccountSettings.phoneError"
4962
+ }
4963
+ }
4964
+ }
4965
+ ]
4966
+ }
4967
+ }
4968
+ },
4969
+ {
4970
+ "id": "",
4971
+ "body": {
4972
+ "package": "himalaya",
4973
+ "type": "Text",
4974
+ "props": {
4975
+ "text": "Clearing this field removes the primary phone number. Other saved numbers are kept.",
4976
+ "style": "caption",
4977
+ "color": "textSecondary"
4978
+ }
4979
+ }
4980
+ },
4981
+ {
4982
+ "id": "",
4983
+ "body": {
4984
+ "package": "himalaya",
4985
+ "type": "Text",
4986
+ "props": {
4987
+ "text": "Login info",
4988
+ "style": "title2"
4989
+ }
4990
+ }
4991
+ },
4992
+ {
4993
+ "id": "",
4994
+ "body": {
4995
+ "package": "himalaya",
4996
+ "type": "Text",
4997
+ "props": {
4998
+ "text": "Login email",
4999
+ "style": "footnote",
5000
+ "color": "textSecondary"
5001
+ }
5002
+ }
5003
+ },
5004
+ {
5005
+ "id": "himi_account_settings.login_email",
5006
+ "body": {
5007
+ "package": "himalaya",
5008
+ "type": "Text",
5009
+ "props": {
5010
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
5011
+ "style": "body"
5012
+ }
5013
+ }
5014
+ },
5015
+ {
5016
+ "id": "",
5017
+ "body": {
5018
+ "package": "himalaya",
5019
+ "type": "HStack",
5020
+ "props": {
5021
+ "spacing": 10,
5022
+ "children": [
5023
+ {
5024
+ "id": "himi_account_settings.change_email",
5025
+ "body": {
5026
+ "package": "himalaya",
5027
+ "type": "Button",
5028
+ "props": {
5029
+ "title": "Change email",
5030
+ "style": "secondary",
5031
+ "action": {
5032
+ "actionId": "tier5.himiBrandedAccountSettings.openEmailPanel"
5033
+ }
5034
+ }
5035
+ }
5036
+ },
5037
+ {
5038
+ "id": "himi_account_settings.change_password",
5039
+ "body": {
5040
+ "package": "himalaya",
5041
+ "type": "Button",
5042
+ "props": {
5043
+ "title": "Change password",
5044
+ "style": "primary",
5045
+ "action": {
5046
+ "actionId": "tier5.himiBrandedAccountSettings.openPasswordPanel"
5047
+ }
5048
+ }
5049
+ },
5050
+ "modifiers": {
5051
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPasswordCredentialSupport"
5052
+ }
5053
+ }
5054
+ ]
5055
+ }
5056
+ }
5057
+ },
5058
+ {
5059
+ "id": "",
5060
+ "body": {
5061
+ "package": "himalaya",
5062
+ "type": "VStack",
5063
+ "props": {
5064
+ "spacing": 8,
5065
+ "alignment": "leading",
5066
+ "children": [
5067
+ {
5068
+ "id": "",
5069
+ "body": {
5070
+ "package": "himalaya",
5071
+ "type": "Text",
5072
+ "props": {
5073
+ "text": "Update the app to change your password, or manage it on the website.",
5074
+ "style": "footnote",
5075
+ "color": "textSecondary"
5076
+ }
5077
+ },
5078
+ "modifiers": {
5079
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5080
+ }
5081
+ },
5082
+ {
5083
+ "id": "",
5084
+ "body": {
5085
+ "package": "himalaya",
5086
+ "type": "Text",
5087
+ "props": {
5088
+ "text": "Update the app to change your password.",
5089
+ "style": "footnote",
5090
+ "color": "textSecondary"
5091
+ }
5092
+ },
5093
+ "modifiers": {
5094
+ "hiddenPath": "$service:himiBrandedAccountSettings.siteHandoff"
5095
+ }
5096
+ },
5097
+ {
5098
+ "id": "himi_account_settings.password_website",
5099
+ "body": {
5100
+ "package": "himalaya",
5101
+ "type": "Button",
5102
+ "props": {
5103
+ "title": "Visit website",
5104
+ "style": "secondary",
5105
+ "action": {
5106
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
5107
+ }
5108
+ }
5109
+ },
5110
+ "modifiers": {
5111
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5112
+ }
5113
+ }
5114
+ ]
5115
+ }
5116
+ },
5117
+ "modifiers": {
5118
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordCredentialSupported"
5119
+ }
5120
+ },
5121
+ {
5122
+ "id": "",
5123
+ "body": {
5124
+ "package": "himalaya",
5125
+ "type": "Text",
5126
+ "props": {
5127
+ "text": "Profile URL",
5128
+ "style": "title2"
5129
+ }
5130
+ }
5131
+ },
5132
+ {
5133
+ "id": "himi_account_settings.profile_url",
5134
+ "body": {
5135
+ "package": "himalaya",
5136
+ "type": "Text",
5137
+ "props": {
5138
+ "text": "$service:himiBrandedAccountSettings.profileUrl",
5139
+ "style": "body",
5140
+ "collapseWhenEmpty": true
5141
+ }
5142
+ }
5143
+ },
5144
+ {
5145
+ "id": "",
5146
+ "body": {
5147
+ "package": "himalaya",
5148
+ "type": "Text",
5149
+ "props": {
5150
+ "text": "A public profile URL is not available for this site.",
5151
+ "style": "footnote",
5152
+ "color": "textSecondary"
5153
+ }
5154
+ },
5155
+ "modifiers": {
5156
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasProfileUrl"
5157
+ }
5158
+ },
5159
+ {
5160
+ "id": "",
5161
+ "body": {
5162
+ "package": "himalaya",
5163
+ "type": "VStack",
5164
+ "props": {
5165
+ "spacing": 5,
5166
+ "alignment": "leading",
5167
+ "children": [
5168
+ {
5169
+ "id": "",
5170
+ "body": {
5171
+ "package": "himalaya",
5172
+ "type": "Text",
5173
+ "props": {
5174
+ "text": "Profile URL name",
5175
+ "style": "footnote",
5176
+ "color": "textSecondary"
5177
+ }
5178
+ }
5179
+ },
5180
+ {
5181
+ "id": "himi_account_settings.slug",
5182
+ "body": {
5183
+ "package": "himalaya",
5184
+ "type": "TextField",
5185
+ "props": {
5186
+ "valuePath": "$service:himiBrandedAccountSettings.slug",
5187
+ "placeholder": "Profile URL name",
5188
+ "autoCapitalization": "words",
5189
+ "onChange": {
5190
+ "actionId": "tier5.himiBrandedAccountSettings.setSlug"
5191
+ }
5192
+ }
5193
+ }
5194
+ }
5195
+ ]
5196
+ }
5197
+ }
5198
+ },
5199
+ {
5200
+ "id": "himi_account_settings.save_slug",
5201
+ "body": {
5202
+ "package": "himalaya",
5203
+ "type": "Button",
5204
+ "props": {
5205
+ "title": "Update profile URL",
5206
+ "style": "secondary",
5207
+ "action": {
5208
+ "actionId": "tier5.himiBrandedAccountSettings.saveSlug"
5209
+ }
5210
+ }
5211
+ }
5212
+ },
5213
+ {
5214
+ "id": "himi_account_settings.slug_message",
5215
+ "body": {
5216
+ "package": "himalaya",
5217
+ "type": "Text",
5218
+ "props": {
5219
+ "text": "$service:himiBrandedAccountSettings.slugMessage",
5220
+ "style": "footnote",
5221
+ "collapseWhenEmpty": true
5222
+ }
5223
+ }
5224
+ },
5225
+ {
5226
+ "id": "",
5227
+ "body": {
5228
+ "package": "himalaya",
5229
+ "type": "Text",
5230
+ "props": {
5231
+ "text": "Profile privacy",
5232
+ "style": "title2"
5233
+ }
5234
+ }
5235
+ },
5236
+ {
5237
+ "id": "himi_account_settings.privacy_action",
5238
+ "body": {
5239
+ "package": "himalaya",
5240
+ "type": "Button",
5241
+ "props": {
5242
+ "title": "$service:himiBrandedAccountSettings.privacyActionLabel",
5243
+ "style": "secondary",
5244
+ "action": {
5245
+ "actionId": "tier5.himiBrandedAccountSettings.requestPrivacyChange"
5246
+ }
5247
+ }
5248
+ },
5249
+ "modifiers": {
5250
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacyControlsUnavailable"
5251
+ }
5252
+ },
5253
+ {
5254
+ "id": "",
5255
+ "body": {
5256
+ "package": "himalaya",
5257
+ "type": "Text",
5258
+ "props": {
5259
+ "text": "Profile privacy controls are unavailable for this member account.",
5260
+ "style": "footnote",
5261
+ "color": "textSecondary"
5262
+ }
5263
+ },
5264
+ "modifiers": {
5265
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacySupported"
5266
+ }
5267
+ },
5268
+ {
5269
+ "id": "himi_account_settings.privacy_confirmation",
5270
+ "body": {
5271
+ "package": "himalaya",
5272
+ "type": "VStack",
5273
+ "props": {
5274
+ "spacing": 8,
5275
+ "alignment": "leading",
5276
+ "children": [
5277
+ {
5278
+ "id": "",
5279
+ "body": {
5280
+ "package": "himalaya",
5281
+ "type": "Text",
5282
+ "props": {
5283
+ "text": "$service:himiBrandedAccountSettings.privacyPrompt",
5284
+ "style": "body"
5285
+ }
5286
+ }
5287
+ },
5288
+ {
5289
+ "id": "himi_account_settings.confirm_privacy",
5290
+ "body": {
5291
+ "package": "himalaya",
5292
+ "type": "Button",
5293
+ "props": {
5294
+ "title": "Confirm",
5295
+ "style": "primary",
5296
+ "action": {
5297
+ "actionId": "tier5.himiBrandedAccountSettings.setPrivate",
5298
+ "params": {
5299
+ "status": "$service:himiBrandedAccountSettings.pendingPrivacyStatus"
5300
+ }
5301
+ }
5302
+ }
5303
+ }
5304
+ },
5305
+ {
5306
+ "id": "himi_account_settings.cancel_privacy",
5307
+ "body": {
5308
+ "package": "himalaya",
5309
+ "type": "Button",
5310
+ "props": {
5311
+ "title": "Cancel",
5312
+ "style": "secondary",
5313
+ "action": {
5314
+ "actionId": "tier5.himiBrandedAccountSettings.cancelPrivacyChange"
5315
+ }
5316
+ }
5317
+ }
5318
+ }
5319
+ ]
5320
+ }
5321
+ },
5322
+ "modifiers": {
5323
+ "background": {
5324
+ "token": "surfaceElevated"
5325
+ },
5326
+ "border": {
5327
+ "width": 1,
5328
+ "color": {
5329
+ "token": "border"
5330
+ }
5331
+ },
5332
+ "cornerRadius": 16,
5333
+ "padding": {
5334
+ "leading": 16,
5335
+ "trailing": 16,
5336
+ "top": 16,
5337
+ "bottom": 16
5338
+ },
5339
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPrivacyConfirm"
5340
+ }
5341
+ },
5342
+ {
5343
+ "id": "",
5344
+ "body": {
5345
+ "package": "himalaya",
5346
+ "type": "VStack",
5347
+ "props": {
5348
+ "spacing": 10,
5349
+ "alignment": "leading",
5350
+ "children": [
5351
+ {
5352
+ "id": "himi_account_settings.blocked.title",
5353
+ "body": {
5354
+ "package": "himalaya",
5355
+ "type": "Text",
5356
+ "props": {
5357
+ "text": "Blocked members",
5358
+ "style": "title2"
5359
+ }
5360
+ }
5361
+ },
5362
+ {
5363
+ "id": "",
5364
+ "body": {
5365
+ "package": "himalaya",
5366
+ "type": "Text",
5367
+ "props": {
5368
+ "text": "Loading blocked members…",
5369
+ "style": "footnote",
5370
+ "color": "textSecondary"
5371
+ }
5372
+ },
5373
+ "modifiers": {
5374
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notLoading"
5375
+ }
5376
+ },
5377
+ {
5378
+ "id": "",
5379
+ "body": {
5380
+ "package": "himalaya",
5381
+ "type": "VStack",
5382
+ "props": {
5383
+ "spacing": 8,
5384
+ "children": [
5385
+ {
5386
+ "id": "",
5387
+ "body": {
5388
+ "package": "himalaya",
5389
+ "type": "Text",
5390
+ "props": {
5391
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
5392
+ "style": "footnote",
5393
+ "color": "textSecondary"
5394
+ }
5395
+ }
5396
+ },
5397
+ {
5398
+ "id": "btn_tier5_himibrandedaccountblockedmembers_load",
5399
+ "body": {
5400
+ "package": "himalaya",
5401
+ "type": "Button",
5402
+ "props": {
5403
+ "title": "Try again",
5404
+ "style": "secondary",
5405
+ "action": {
5406
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
5407
+ }
5408
+ }
5409
+ }
5410
+ }
5411
+ ]
5412
+ }
5413
+ },
5414
+ "modifiers": {
5415
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notErrored"
5416
+ }
5417
+ },
5418
+ {
5419
+ "id": "",
5420
+ "body": {
5421
+ "package": "himalaya",
5422
+ "type": "Text",
5423
+ "props": {
5424
+ "text": "You have no blocked members.",
5425
+ "style": "footnote",
5426
+ "color": "textSecondary"
5427
+ }
5428
+ },
5429
+ "modifiers": {
5430
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.hideEmpty"
5431
+ }
5432
+ },
5433
+ {
5434
+ "id": "",
5435
+ "body": {
5436
+ "package": "himalaya",
5437
+ "type": "LazyList",
5438
+ "props": {
5439
+ "spacing": 8,
5440
+ "itemsPath": "$service:himiBrandedAccountBlockedMembers.blockedMembers",
5441
+ "items": [
5442
+ {
5443
+ "id": "himi_account_settings.blocked.row.$item.memberId",
5444
+ "body": {
5445
+ "package": "himalaya",
5446
+ "type": "HStack",
5447
+ "props": {
5448
+ "spacing": 10,
5449
+ "children": [
5450
+ {
5451
+ "id": "",
5452
+ "body": {
5453
+ "package": "himalaya",
5454
+ "type": "Text",
5455
+ "props": {
5456
+ "text": "$item.label",
5457
+ "style": "body",
5458
+ "maxLines": 2
5459
+ }
5460
+ }
5461
+ },
5462
+ {
5463
+ "id": "btn_tier5_himibrandedaccountblockedmembers_requestunblock",
5464
+ "body": {
5465
+ "package": "himalaya",
5466
+ "type": "Button",
5467
+ "props": {
5468
+ "title": "Unblock",
5469
+ "style": "secondary",
5470
+ "action": {
5471
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.requestUnblock",
5472
+ "params": {
5473
+ "memberId": "$item.memberId"
5474
+ }
5475
+ }
5476
+ }
5477
+ }
5478
+ }
5479
+ ]
5480
+ }
5481
+ }
5482
+ }
5483
+ ]
5484
+ }
5485
+ },
5486
+ "modifiers": {
5487
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMembers"
5488
+ }
5489
+ },
5490
+ {
5491
+ "id": "himi_account_settings.blocked.load_more",
5492
+ "body": {
5493
+ "package": "himalaya",
5494
+ "type": "Button",
5495
+ "props": {
5496
+ "title": "Load more",
5497
+ "style": "secondary",
5498
+ "loading": false,
5499
+ "action": {
5500
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.loadMore"
5501
+ }
5502
+ }
5503
+ },
5504
+ "modifiers": {
5505
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMore"
5506
+ }
5507
+ },
5508
+ {
5509
+ "id": "",
5510
+ "body": {
5511
+ "package": "himalaya",
5512
+ "type": "Text",
5513
+ "props": {
5514
+ "text": "$service:himiBrandedAccountBlockedMembers.message",
5515
+ "style": "footnote",
5516
+ "color": "textSecondary",
5517
+ "collapseWhenEmpty": true
5518
+ }
5519
+ }
5520
+ },
5521
+ {
5522
+ "id": "himi_account_settings.blocked.confirm",
5523
+ "body": {
5524
+ "package": "himalaya",
5525
+ "type": "VStack",
5526
+ "props": {
5527
+ "spacing": 8,
5528
+ "alignment": "leading",
5529
+ "children": [
5530
+ {
5531
+ "id": "",
5532
+ "body": {
5533
+ "package": "himalaya",
5534
+ "type": "Text",
5535
+ "props": {
5536
+ "text": "Unblock this member? They may be able to interact with your profile again.",
5537
+ "style": "body"
5538
+ }
5539
+ }
5540
+ },
5541
+ {
5542
+ "id": "",
5543
+ "body": {
5544
+ "package": "himalaya",
5545
+ "type": "Text",
5546
+ "props": {
5547
+ "text": "$service:himiBrandedAccountBlockedMembers.confirmMemberId",
5548
+ "style": "footnote",
5549
+ "color": "textSecondary"
5550
+ }
5551
+ }
5552
+ },
5553
+ {
5554
+ "id": "",
5555
+ "body": {
5556
+ "package": "himalaya",
5557
+ "type": "Text",
5558
+ "props": {
5559
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
5560
+ "style": "footnote",
5561
+ "color": "textSecondary",
5562
+ "collapseWhenEmpty": true
5563
+ }
5564
+ }
5565
+ },
5566
+ {
5567
+ "id": "btn_tier5_himibrandedaccountblockedmembers_confirmunblock",
5568
+ "body": {
5569
+ "package": "himalaya",
5570
+ "type": "Button",
5571
+ "props": {
5572
+ "title": "Confirm unblock",
5573
+ "style": "primary",
5574
+ "action": {
5575
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.confirmUnblock"
5576
+ }
5577
+ }
5578
+ }
5579
+ },
5580
+ {
5581
+ "id": "btn_tier5_himibrandedaccountblockedmembers_cancelunblock",
5582
+ "body": {
5583
+ "package": "himalaya",
5584
+ "type": "Button",
5585
+ "props": {
5586
+ "title": "Cancel",
5587
+ "style": "secondary",
5588
+ "action": {
5589
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.cancelUnblock"
5590
+ }
5591
+ }
5592
+ }
5593
+ }
5594
+ ]
5595
+ }
5596
+ },
5597
+ "modifiers": {
5598
+ "background": {
5599
+ "token": "surfaceElevated"
5600
+ },
5601
+ "border": {
5602
+ "width": 1,
5603
+ "color": {
5604
+ "token": "border"
5605
+ }
5606
+ },
5607
+ "cornerRadius": 16,
5608
+ "padding": {
5609
+ "leading": 16,
5610
+ "trailing": 16,
5611
+ "top": 16,
5612
+ "bottom": 16
5613
+ },
5614
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noConfirm"
5615
+ }
5616
+ }
5617
+ ]
5618
+ }
5619
+ },
5620
+ "modifiers": {
5621
+ "onAppear": {
5622
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
5623
+ }
5624
+ }
5625
+ },
5626
+ {
5627
+ "id": "himi_account_settings.message",
5628
+ "body": {
5629
+ "package": "himalaya",
5630
+ "type": "Text",
5631
+ "props": {
5632
+ "text": "$service:himiBrandedAccountSettings.message",
5633
+ "style": "footnote",
5634
+ "color": "textSecondary",
5635
+ "collapseWhenEmpty": true
5636
+ }
5637
+ }
5638
+ },
5639
+ {
5640
+ "id": "",
5641
+ "body": {
5642
+ "package": "himalaya",
5643
+ "type": "HStack",
5644
+ "props": {
5645
+ "spacing": 10,
5646
+ "children": [
5647
+ {
5648
+ "id": "himi_account_settings.discard",
5649
+ "body": {
5650
+ "package": "himalaya",
5651
+ "type": "Button",
5652
+ "props": {
5653
+ "title": "Discard",
5654
+ "style": "secondary",
5655
+ "action": {
5656
+ "actionId": "tier5.himiBrandedAccountSettings.discard"
5657
+ }
5658
+ }
5659
+ }
5660
+ },
5661
+ {
5662
+ "id": "himi_account_settings.save",
5663
+ "body": {
5664
+ "package": "himalaya",
5665
+ "type": "Button",
5666
+ "props": {
5667
+ "title": "Update Info",
5668
+ "style": "primary",
5669
+ "disabledPath": "$service:himiBrandedAccountSettings.photoUploading",
5670
+ "action": {
5671
+ "actionId": "tier5.himiBrandedAccountSettings.save"
5672
+ }
5673
+ }
5674
+ }
5675
+ }
5676
+ ]
5677
+ }
5678
+ }
5679
+ },
5680
+ {
5681
+ "id": "himi_account_settings.password_sheet",
5682
+ "body": {
5683
+ "package": "himalaya",
5684
+ "type": "BottomSheet",
5685
+ "props": {
5686
+ "presentedPath": "$service:himiBrandedAccountSettings.passwordPanelOpen",
5687
+ "dismissible": true,
5688
+ "showGrabber": true,
5689
+ "onDismiss": {
5690
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5691
+ },
5692
+ "content": {
5693
+ "id": "",
5694
+ "body": {
5695
+ "package": "himalaya",
5696
+ "type": "VStack",
5697
+ "props": {
5698
+ "spacing": 16,
5699
+ "alignment": "leading",
5700
+ "children": [
5701
+ {
5702
+ "id": "",
5703
+ "body": {
5704
+ "package": "himalaya",
5705
+ "type": "Text",
5706
+ "props": {
5707
+ "text": "Change password",
5708
+ "style": "title2"
5709
+ }
5710
+ }
5711
+ },
5712
+ {
5713
+ "id": "",
5714
+ "body": {
5715
+ "package": "himalaya",
5716
+ "type": "VStack",
5717
+ "props": {
5718
+ "spacing": 5,
5719
+ "alignment": "leading",
5720
+ "children": [
5721
+ {
5722
+ "id": "",
5723
+ "body": {
5724
+ "package": "himalaya",
5725
+ "type": "Text",
5726
+ "props": {
5727
+ "text": "Current password",
5728
+ "style": "footnote",
5729
+ "color": "textSecondary"
5730
+ }
5731
+ }
5732
+ },
5733
+ {
5734
+ "id": "himi_account_settings.passwordCurrent",
5735
+ "body": {
5736
+ "package": "himalaya",
5737
+ "type": "TextField",
5738
+ "props": {
5739
+ "valuePath": "$service:himiBrandedAccountSettings.passwordCurrent",
5740
+ "placeholder": "Current password",
5741
+ "secure": true,
5742
+ "autoCapitalization": "none",
5743
+ "onChange": {
5744
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordCurrent"
5745
+ }
5746
+ }
5747
+ }
5748
+ }
5749
+ ]
5750
+ }
5751
+ }
5752
+ },
5753
+ {
5754
+ "id": "",
5755
+ "body": {
5756
+ "package": "himalaya",
5757
+ "type": "VStack",
5758
+ "props": {
5759
+ "spacing": 5,
5760
+ "alignment": "leading",
5761
+ "children": [
5762
+ {
5763
+ "id": "",
5764
+ "body": {
5765
+ "package": "himalaya",
5766
+ "type": "Text",
5767
+ "props": {
5768
+ "text": "New password",
5769
+ "style": "footnote",
5770
+ "color": "textSecondary"
5771
+ }
5772
+ }
5773
+ },
5774
+ {
5775
+ "id": "himi_account_settings.passwordNew",
5776
+ "body": {
5777
+ "package": "himalaya",
5778
+ "type": "TextField",
5779
+ "props": {
5780
+ "valuePath": "$service:himiBrandedAccountSettings.passwordNew",
5781
+ "placeholder": "New password",
5782
+ "secure": true,
5783
+ "autoCapitalization": "none",
5784
+ "onChange": {
5785
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordNew"
5786
+ }
5787
+ }
5788
+ }
5789
+ }
5790
+ ]
5791
+ }
5792
+ }
5793
+ },
5794
+ {
5795
+ "id": "",
5796
+ "body": {
5797
+ "package": "himalaya",
5798
+ "type": "VStack",
5799
+ "props": {
5800
+ "spacing": 5,
5801
+ "alignment": "leading",
5802
+ "children": [
5803
+ {
5804
+ "id": "",
5805
+ "body": {
5806
+ "package": "himalaya",
5807
+ "type": "Text",
5808
+ "props": {
5809
+ "text": "Confirm new password",
5810
+ "style": "footnote",
5811
+ "color": "textSecondary"
5812
+ }
5813
+ }
5814
+ },
5815
+ {
5816
+ "id": "himi_account_settings.passwordConfirm",
5817
+ "body": {
5818
+ "package": "himalaya",
5819
+ "type": "TextField",
5820
+ "props": {
5821
+ "valuePath": "$service:himiBrandedAccountSettings.passwordConfirm",
5822
+ "placeholder": "Confirm new password",
5823
+ "secure": true,
5824
+ "autoCapitalization": "none",
5825
+ "onChange": {
5826
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordConfirm"
5827
+ }
5828
+ }
5829
+ }
5830
+ }
5831
+ ]
5832
+ }
5833
+ }
5834
+ },
5835
+ {
5836
+ "id": "",
5837
+ "body": {
5838
+ "package": "himalaya",
5839
+ "type": "Text",
5840
+ "props": {
5841
+ "text": "Changing password…",
5842
+ "style": "footnote",
5843
+ "color": "textSecondary"
5844
+ }
5845
+ },
5846
+ "modifiers": {
5847
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordChanging"
5848
+ }
5849
+ },
5850
+ {
5851
+ "id": "",
5852
+ "body": {
5853
+ "package": "himalaya",
5854
+ "type": "Text",
5855
+ "props": {
5856
+ "text": "Sending reset link…",
5857
+ "style": "footnote",
5858
+ "color": "textSecondary"
5859
+ }
5860
+ },
5861
+ "modifiers": {
5862
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordResetSending"
5863
+ }
5864
+ },
5865
+ {
5866
+ "id": "",
5867
+ "body": {
5868
+ "package": "himalaya",
5869
+ "type": "Text",
5870
+ "props": {
5871
+ "text": "$service:himiBrandedAccountSettings.passwordError",
5872
+ "style": "footnote",
5873
+ "color": "textSecondary"
5874
+ }
5875
+ },
5876
+ "modifiers": {
5877
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoError"
5878
+ }
5879
+ },
5880
+ {
5881
+ "id": "",
5882
+ "body": {
5883
+ "package": "himalaya",
5884
+ "type": "Text",
5885
+ "props": {
5886
+ "text": "$service:himiBrandedAccountSettings.passwordMessage",
5887
+ "style": "footnote",
5888
+ "color": "textSecondary"
5889
+ }
5890
+ },
5891
+ "modifiers": {
5892
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoMessage"
5893
+ }
5894
+ },
5895
+ {
5896
+ "id": "btn_tier5_himibrandedaccountsettings_changepassword",
5897
+ "body": {
5898
+ "package": "himalaya",
5899
+ "type": "Button",
5900
+ "props": {
5901
+ "title": "Change password",
5902
+ "style": "primary",
5903
+ "fullWidth": true,
5904
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
5905
+ "action": {
5906
+ "actionId": "tier5.himiBrandedAccountSettings.changePassword"
5907
+ }
5908
+ }
5909
+ }
5910
+ },
5911
+ {
5912
+ "id": "btn_tier5_himibrandedaccountsettings_resetpassword",
5913
+ "body": {
5914
+ "package": "himalaya",
5915
+ "type": "Button",
5916
+ "props": {
5917
+ "title": "Reset or create password by email",
5918
+ "style": "secondary",
5919
+ "fullWidth": true,
5920
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
5921
+ "action": {
5922
+ "actionId": "tier5.himiBrandedAccountSettings.resetPassword"
5923
+ }
5924
+ }
5925
+ }
5926
+ },
5927
+ {
5928
+ "id": "btn_tier5_himibrandedaccountsettings_closepasswordpanel",
5929
+ "body": {
5930
+ "package": "himalaya",
5931
+ "type": "Button",
5932
+ "props": {
5933
+ "title": "Cancel",
5934
+ "style": "plain",
5935
+ "action": {
5936
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5937
+ }
5938
+ }
5939
+ }
5940
+ }
5941
+ ]
5942
+ }
5943
+ },
5944
+ "modifiers": {
5945
+ "padding": {
5946
+ "leading": 20,
5947
+ "trailing": 20,
5948
+ "top": 20,
5949
+ "bottom": 24
5950
+ }
5951
+ }
5952
+ }
5953
+ }
5954
+ }
5955
+ },
5956
+ {
5957
+ "id": "himi_account_settings.email_sheet",
5958
+ "body": {
5959
+ "package": "himalaya",
5960
+ "type": "BottomSheet",
5961
+ "props": {
5962
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
5963
+ "dismissible": true,
5964
+ "showGrabber": true,
5965
+ "onDismiss": {
5966
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5967
+ },
5968
+ "content": {
5969
+ "id": "",
5970
+ "body": {
5971
+ "package": "himalaya",
5972
+ "type": "VStack",
5973
+ "props": {
5974
+ "spacing": 16,
5975
+ "alignment": "leading",
5976
+ "children": [
5977
+ {
5978
+ "id": "",
5979
+ "body": {
5980
+ "package": "himalaya",
5981
+ "type": "Text",
5982
+ "props": {
5983
+ "text": "Change login email",
5984
+ "style": "title2"
5985
+ }
5986
+ }
5987
+ },
5988
+ {
5989
+ "id": "",
5990
+ "body": {
5991
+ "package": "himalaya",
5992
+ "type": "Text",
5993
+ "props": {
5994
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
5995
+ "style": "bodyEmphasis"
5996
+ }
5997
+ }
5998
+ },
5999
+ {
6000
+ "id": "",
6001
+ "body": {
6002
+ "package": "himalaya",
6003
+ "type": "Text",
6004
+ "props": {
6005
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
6006
+ "style": "body",
6007
+ "color": "textSecondary"
6008
+ }
6009
+ }
6010
+ },
6011
+ {
6012
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
6013
+ "body": {
6014
+ "package": "himalaya",
6015
+ "type": "Button",
6016
+ "props": {
6017
+ "title": "Visit website",
6018
+ "style": "secondary",
6019
+ "fullWidth": true,
6020
+ "action": {
6021
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
6022
+ }
6023
+ }
6024
+ },
6025
+ "modifiers": {
6026
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
6027
+ }
6028
+ },
6029
+ {
6030
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
6031
+ "body": {
6032
+ "package": "himalaya",
6033
+ "type": "Button",
6034
+ "props": {
6035
+ "title": "Close",
6036
+ "style": "plain",
6037
+ "action": {
6038
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
6039
+ }
6040
+ }
6041
+ }
6042
+ }
6043
+ ]
6044
+ }
6045
+ },
6046
+ "modifiers": {
6047
+ "padding": {
6048
+ "leading": 20,
6049
+ "trailing": 20,
6050
+ "top": 20,
6051
+ "bottom": 24
6052
+ }
6053
+ }
6054
+ }
6055
+ }
6056
+ }
6057
+ }
6058
+ ]
6059
+ }
6060
+ },
6061
+ "modifiers": {
6062
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
6063
+ }
6064
+ }
6065
+ ]
6066
+ }
6067
+ },
6068
+ "modifiers": {
6069
+ "background": {
6070
+ "token": "surfacePrimary"
6071
+ },
6072
+ "padding": {
6073
+ "leading": 16,
6074
+ "trailing": 16,
6075
+ "top": 18,
6076
+ "bottom": 28
6077
+ },
6078
+ "onAppear": {
6079
+ "actionId": "tier5.himiBrandedAccountSettings.load",
6080
+ "params": {
6081
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
6082
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
6083
+ }
6084
+ }
6085
+ }
6086
+ },
6087
+ "logicBundle": {
6088
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
6089
+ "integrity": "",
6090
+ "contentType": "application/javascript+ts-bundle",
6091
+ "declaredCapabilities": [
6092
+ "wix_api",
6093
+ "app_info",
6094
+ "open_url"
6095
+ ],
6096
+ "minBinaryVersion": "0.1.0",
6097
+ "bundleVersion": "0.0.1"
6098
+ }
6099
+ },
4350
6100
  "himi_app_info": {
4351
6101
  "screenId": "himi_app_info",
4352
6102
  "renderer": "sdui_intent",