@wix/himalaya-cli 0.1404.0 → 0.1406.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 (107) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +1 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +3 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +88 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +350 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/extensions.d.ts +10 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ai-site-chat/src/index.d.ts +102 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +82 -1
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +83 -1
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ai-site-chat.mjs +70 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  12. package/dist/cli.mjs +250 -40
  13. package/dist/preview-assets.generated.bin +0 -0
  14. package/fixtures/wix-canned.json +3 -0
  15. package/guides/component-reference.json +3 -2
  16. package/guides/component-reference.md +7 -1
  17. package/guides/importable-sdks.md +1 -0
  18. package/guides/sdk-reference.json +133 -2
  19. package/package.json +2 -2
  20. package/templates/beauty-salon/config.ts +7 -0
  21. package/templates/beauty-salon/dev/index.ts +1750 -0
  22. package/templates/beauty-salon/himalaya.content.json +3 -0
  23. package/templates/beauty-salon/site-functions/README.md +37 -0
  24. package/templates/beauty-salon/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  25. package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +11 -3
  26. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  27. package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  28. package/templates/branded-lite/config.ts +7 -0
  29. package/templates/branded-lite/dev/index.ts +1750 -0
  30. package/templates/branded-lite/himalaya.content.json +3 -0
  31. package/templates/branded-lite/site-functions/README.md +37 -0
  32. package/templates/branded-lite/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  33. package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +11 -3
  34. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  35. package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  36. package/templates/community-club/config.ts +7 -0
  37. package/templates/community-club/dev/index.ts +1750 -0
  38. package/templates/community-club/himalaya.content.json +3 -0
  39. package/templates/community-club/site-functions/README.md +37 -0
  40. package/templates/community-club/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  41. package/templates/community-club/tier5-src/_shared/member-account-routes.ts +11 -3
  42. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  43. package/templates/community-club/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  44. package/templates/events-meetups/config.ts +7 -0
  45. package/templates/events-meetups/dev/index.ts +1750 -0
  46. package/templates/events-meetups/himalaya.content.json +3 -0
  47. package/templates/events-meetups/site-functions/README.md +37 -0
  48. package/templates/events-meetups/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  49. package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +11 -3
  50. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  51. package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  52. package/templates/gym-fitness/config.ts +7 -0
  53. package/templates/gym-fitness/dev/index.ts +1750 -0
  54. package/templates/gym-fitness/himalaya.content.json +3 -0
  55. package/templates/gym-fitness/site-functions/README.md +37 -0
  56. package/templates/gym-fitness/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  57. package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +11 -3
  58. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  59. package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  60. package/templates/nonprofit-cause/config.ts +7 -0
  61. package/templates/nonprofit-cause/dev/index.ts +1750 -0
  62. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  63. package/templates/nonprofit-cause/site-functions/README.md +37 -0
  64. package/templates/nonprofit-cause/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  65. package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +11 -3
  66. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  67. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  68. package/templates/podcast-creator/config.ts +7 -0
  69. package/templates/podcast-creator/dev/index.ts +1750 -0
  70. package/templates/podcast-creator/himalaya.content.json +3 -0
  71. package/templates/podcast-creator/site-functions/README.md +37 -0
  72. package/templates/podcast-creator/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  73. package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +11 -3
  74. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  75. package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  76. package/templates/portfolio-creative/config.ts +7 -0
  77. package/templates/portfolio-creative/dev/index.ts +1750 -0
  78. package/templates/portfolio-creative/himalaya.content.json +3 -0
  79. package/templates/portfolio-creative/site-functions/README.md +37 -0
  80. package/templates/portfolio-creative/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  81. package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +11 -3
  82. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  83. package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  84. package/templates/restaurant/config.ts +7 -0
  85. package/templates/restaurant/dev/index.ts +1750 -0
  86. package/templates/restaurant/himalaya.content.json +3 -0
  87. package/templates/restaurant/site-functions/README.md +37 -0
  88. package/templates/restaurant/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  89. package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +11 -3
  90. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  91. package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  92. package/templates/retail-store/config.ts +7 -0
  93. package/templates/retail-store/dev/index.ts +1750 -0
  94. package/templates/retail-store/himalaya.content.json +3 -0
  95. package/templates/retail-store/site-functions/README.md +37 -0
  96. package/templates/retail-store/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  97. package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +11 -3
  98. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  99. package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/index.ts +1091 -0
  100. package/templates/yoga-studio/config.ts +7 -0
  101. package/templates/yoga-studio/dev/index.ts +1750 -0
  102. package/templates/yoga-studio/himalaya.content.json +3 -0
  103. package/templates/yoga-studio/site-functions/README.md +37 -0
  104. package/templates/yoga-studio/site-functions/himiMemberPhotoUploadUrl.js +90 -0
  105. package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +11 -3
  106. package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +242 -0
  107. 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)]));
@@ -3605,6 +3607,95 @@ const SCREENS = runtimeSetting({
3605
3607
  "hiddenPath": "$service:himiStoreAccount.notMember"
3606
3608
  }
3607
3609
  },
3610
+ {
3611
+ "id": "himi_account.settings",
3612
+ "body": {
3613
+ "package": "himalaya",
3614
+ "type": "HStack",
3615
+ "props": {
3616
+ "spacing": 12,
3617
+ "children": [
3618
+ {
3619
+ "id": "",
3620
+ "body": {
3621
+ "package": "himalaya",
3622
+ "type": "Icon",
3623
+ "props": {
3624
+ "name": "settings",
3625
+ "size": 18,
3626
+ "tint": "accentPrimary"
3627
+ }
3628
+ },
3629
+ "modifiers": {
3630
+ "accessibilityRole": "decorative"
3631
+ }
3632
+ },
3633
+ {
3634
+ "id": "",
3635
+ "body": {
3636
+ "package": "himalaya",
3637
+ "type": "Text",
3638
+ "props": {
3639
+ "text": "My Account",
3640
+ "style": "bodyEmphasis"
3641
+ }
3642
+ }
3643
+ },
3644
+ {
3645
+ "id": "",
3646
+ "body": {
3647
+ "package": "himalaya",
3648
+ "type": "Spacer",
3649
+ "props": {}
3650
+ }
3651
+ },
3652
+ {
3653
+ "id": "",
3654
+ "body": {
3655
+ "package": "himalaya",
3656
+ "type": "Icon",
3657
+ "props": {
3658
+ "name": "chevron_right",
3659
+ "size": 16,
3660
+ "tint": "textTertiary"
3661
+ }
3662
+ },
3663
+ "modifiers": {
3664
+ "accessibilityRole": "decorative"
3665
+ }
3666
+ }
3667
+ ]
3668
+ }
3669
+ },
3670
+ "modifiers": {
3671
+ "background": {
3672
+ "token": "surfaceElevated"
3673
+ },
3674
+ "border": {
3675
+ "width": 1,
3676
+ "color": {
3677
+ "token": "border"
3678
+ }
3679
+ },
3680
+ "cornerRadius": 8,
3681
+ "padding": {
3682
+ "leading": 14,
3683
+ "trailing": 14,
3684
+ "top": 13,
3685
+ "bottom": 13
3686
+ },
3687
+ "onTap": {
3688
+ "actionId": "himi.open",
3689
+ "params": {
3690
+ "screenId": "himi_account_settings"
3691
+ }
3692
+ },
3693
+ "pressFeedback": "scale",
3694
+ "haptic": "light",
3695
+ "accessibilityLabel": "My Account",
3696
+ "hiddenPath": "$service:himiStoreAccount.notMember"
3697
+ }
3698
+ },
3608
3699
  {
3609
3700
  "id": "himi_account.subscriptions_guest",
3610
3701
  "body": {
@@ -4185,6 +4276,1665 @@ const SCREENS = runtimeSetting({
4185
4276
  "bundleVersion": "0.0.1"
4186
4277
  }
4187
4278
  },
4279
+ "himi_account_settings": {
4280
+ "screenId": "himi_account_settings",
4281
+ "renderer": "sdui_intent",
4282
+ "title": "",
4283
+ "schemaVersion": 1,
4284
+ "cacheControl": {
4285
+ "maxAge": 0,
4286
+ "staleWhileRevalidate": 0
4287
+ },
4288
+ "payload": {
4289
+ "id": "himi_account_settings.root",
4290
+ "body": {
4291
+ "package": "himalaya",
4292
+ "type": "VStack",
4293
+ "props": {
4294
+ "spacing": 16,
4295
+ "alignment": "leading",
4296
+ "children": [
4297
+ {
4298
+ "id": "himi_account_settings.title",
4299
+ "body": {
4300
+ "package": "himalaya",
4301
+ "type": "Text",
4302
+ "props": {
4303
+ "text": "My Account",
4304
+ "style": "title1"
4305
+ }
4306
+ }
4307
+ },
4308
+ {
4309
+ "id": "",
4310
+ "body": {
4311
+ "package": "himalaya",
4312
+ "type": "Text",
4313
+ "props": {
4314
+ "text": "Update the profile details connected to your member account.",
4315
+ "style": "body",
4316
+ "color": "textSecondary"
4317
+ }
4318
+ }
4319
+ },
4320
+ {
4321
+ "id": "himi_account_settings.loading",
4322
+ "body": {
4323
+ "package": "himalaya",
4324
+ "type": "Skeleton",
4325
+ "props": {
4326
+ "height": 72,
4327
+ "cornerRadius": 12,
4328
+ "count": 3
4329
+ }
4330
+ },
4331
+ "modifiers": {
4332
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
4333
+ }
4334
+ },
4335
+ {
4336
+ "id": "himi_account_settings.error",
4337
+ "body": {
4338
+ "package": "himalaya",
4339
+ "type": "VStack",
4340
+ "props": {
4341
+ "spacing": 8,
4342
+ "alignment": "leading",
4343
+ "children": [
4344
+ {
4345
+ "id": "",
4346
+ "body": {
4347
+ "package": "himalaya",
4348
+ "type": "Text",
4349
+ "props": {
4350
+ "text": "$service:himiBrandedAccountSettings.error",
4351
+ "style": "body",
4352
+ "collapseWhenEmpty": true
4353
+ }
4354
+ }
4355
+ },
4356
+ {
4357
+ "id": "himi_account_settings.retry",
4358
+ "body": {
4359
+ "package": "himalaya",
4360
+ "type": "Button",
4361
+ "props": {
4362
+ "title": "Try again",
4363
+ "style": "secondary",
4364
+ "action": {
4365
+ "actionId": "tier5.himiBrandedAccountSettings.load",
4366
+ "params": {
4367
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
4368
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
4369
+ }
4370
+ }
4371
+ }
4372
+ }
4373
+ },
4374
+ {
4375
+ "id": "himi_account_settings.sign_in",
4376
+ "body": {
4377
+ "package": "himalaya",
4378
+ "type": "Button",
4379
+ "props": {
4380
+ "title": "Sign in",
4381
+ "style": "primary",
4382
+ "action": {
4383
+ "actionId": "himi.open",
4384
+ "params": {
4385
+ "screenId": "himi_account",
4386
+ "returnScreenId": "himi_account_settings"
4387
+ }
4388
+ }
4389
+ }
4390
+ },
4391
+ "modifiers": {
4392
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
4393
+ }
4394
+ }
4395
+ ]
4396
+ }
4397
+ },
4398
+ "modifiers": {
4399
+ "background": {
4400
+ "token": "surfaceElevated"
4401
+ },
4402
+ "border": {
4403
+ "width": 1,
4404
+ "color": {
4405
+ "token": "border"
4406
+ }
4407
+ },
4408
+ "cornerRadius": 16,
4409
+ "padding": {
4410
+ "leading": 16,
4411
+ "trailing": 16,
4412
+ "top": 16,
4413
+ "bottom": 16
4414
+ },
4415
+ "hiddenPath": "$service:himiBrandedAccountSettings.notErrored"
4416
+ }
4417
+ },
4418
+ {
4419
+ "id": "",
4420
+ "body": {
4421
+ "package": "himalaya",
4422
+ "type": "VStack",
4423
+ "props": {
4424
+ "spacing": 18,
4425
+ "alignment": "leading",
4426
+ "children": [
4427
+ {
4428
+ "id": "",
4429
+ "body": {
4430
+ "package": "himalaya",
4431
+ "type": "Text",
4432
+ "props": {
4433
+ "text": "Display info",
4434
+ "style": "title2"
4435
+ }
4436
+ }
4437
+ },
4438
+ {
4439
+ "id": "himi_account_settings.photo_upload",
4440
+ "body": {
4441
+ "package": "himalaya",
4442
+ "type": "MediaField",
4443
+ "props": {
4444
+ "valuePath": "$service:himiBrandedAccountSettings.photoDisplayUrl",
4445
+ "uploadService": "himiBrandedAccountSettings",
4446
+ "label": "Choose a profile photo",
4447
+ "presentation": "avatar",
4448
+ "fallbackTextPath": "$service:himiBrandedAccountSettings.memberInitials",
4449
+ "heading": "Profile photo"
4450
+ }
4451
+ },
4452
+ "modifiers": {
4453
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4454
+ }
4455
+ },
4456
+ {
4457
+ "id": "",
4458
+ "body": {
4459
+ "package": "himalaya",
4460
+ "type": "HStack",
4461
+ "props": {
4462
+ "spacing": 14,
4463
+ "children": [
4464
+ {
4465
+ "id": "himi_account_settings.read_only_avatar",
4466
+ "body": {
4467
+ "package": "himalaya",
4468
+ "type": "Image",
4469
+ "props": {
4470
+ "url": "$service:himiBrandedAccountSettings.memberImage",
4471
+ "width": 72,
4472
+ "height": 72,
4473
+ "contentMode": "fill",
4474
+ "shape": "circle",
4475
+ "contentDescription": "Profile photo"
4476
+ }
4477
+ },
4478
+ "modifiers": {
4479
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMemberImage"
4480
+ }
4481
+ },
4482
+ {
4483
+ "id": "",
4484
+ "body": {
4485
+ "package": "himalaya",
4486
+ "type": "ZStack",
4487
+ "props": {
4488
+ "alignment": "center",
4489
+ "children": [
4490
+ {
4491
+ "id": "",
4492
+ "body": {
4493
+ "package": "himalaya",
4494
+ "type": "Text",
4495
+ "props": {
4496
+ "text": "$service:himiBrandedAccountSettings.memberInitials",
4497
+ "style": "title2",
4498
+ "color": "textOnAccent"
4499
+ }
4500
+ }
4501
+ }
4502
+ ]
4503
+ }
4504
+ },
4505
+ "modifiers": {
4506
+ "width": 72,
4507
+ "height": 72,
4508
+ "background": {
4509
+ "token": "accentPrimary"
4510
+ },
4511
+ "cornerRadius": 36,
4512
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasMemberImage"
4513
+ }
4514
+ },
4515
+ {
4516
+ "id": "",
4517
+ "body": {
4518
+ "package": "himalaya",
4519
+ "type": "VStack",
4520
+ "props": {
4521
+ "spacing": 4,
4522
+ "alignment": "leading",
4523
+ "children": [
4524
+ {
4525
+ "id": "",
4526
+ "body": {
4527
+ "package": "himalaya",
4528
+ "type": "Text",
4529
+ "props": {
4530
+ "text": "Profile photo",
4531
+ "style": "body",
4532
+ "color": "textSecondary"
4533
+ }
4534
+ }
4535
+ },
4536
+ {
4537
+ "id": "",
4538
+ "body": {
4539
+ "package": "himalaya",
4540
+ "type": "Text",
4541
+ "props": {
4542
+ "text": "Your profile photo is managed on the Wix site.",
4543
+ "style": "footnote",
4544
+ "color": "textSecondary"
4545
+ }
4546
+ }
4547
+ }
4548
+ ]
4549
+ }
4550
+ }
4551
+ }
4552
+ ]
4553
+ }
4554
+ },
4555
+ "modifiers": {
4556
+ "hiddenPath": "$service:himiBrandedAccountSettings.photoUploadAvailable"
4557
+ }
4558
+ },
4559
+ {
4560
+ "id": "",
4561
+ "body": {
4562
+ "package": "himalaya",
4563
+ "type": "Text",
4564
+ "props": {
4565
+ "text": "Your photo is uploaded now and saved with Update info. Discard clears the selection.",
4566
+ "style": "footnote",
4567
+ "color": "textSecondary"
4568
+ }
4569
+ },
4570
+ "modifiers": {
4571
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
4572
+ }
4573
+ },
4574
+ {
4575
+ "id": "himi_account_settings.photo_upload_error",
4576
+ "body": {
4577
+ "package": "himalaya",
4578
+ "type": "Text",
4579
+ "props": {
4580
+ "text": "$service:himiBrandedAccountSettings.photoUploadError",
4581
+ "style": "footnote",
4582
+ "color": "danger",
4583
+ "collapseWhenEmpty": true
4584
+ }
4585
+ }
4586
+ },
4587
+ {
4588
+ "id": "",
4589
+ "body": {
4590
+ "package": "himalaya",
4591
+ "type": "VStack",
4592
+ "props": {
4593
+ "spacing": 5,
4594
+ "alignment": "leading",
4595
+ "children": [
4596
+ {
4597
+ "id": "",
4598
+ "body": {
4599
+ "package": "himalaya",
4600
+ "type": "Text",
4601
+ "props": {
4602
+ "text": "Display name",
4603
+ "style": "footnote",
4604
+ "color": "textSecondary"
4605
+ }
4606
+ }
4607
+ },
4608
+ {
4609
+ "id": "himi_account_settings.displayName",
4610
+ "body": {
4611
+ "package": "himalaya",
4612
+ "type": "TextField",
4613
+ "props": {
4614
+ "valuePath": "$service:himiBrandedAccountSettings.displayName",
4615
+ "placeholder": "Display name",
4616
+ "autoCapitalization": "words",
4617
+ "onChange": {
4618
+ "actionId": "tier5.himiBrandedAccountSettings.setDisplayName"
4619
+ },
4620
+ "validation": {
4621
+ "required": true
4622
+ },
4623
+ "errorPath": "$service:himiBrandedAccountSettings.displayNameError"
4624
+ }
4625
+ }
4626
+ }
4627
+ ]
4628
+ }
4629
+ }
4630
+ },
4631
+ {
4632
+ "id": "",
4633
+ "body": {
4634
+ "package": "himalaya",
4635
+ "type": "VStack",
4636
+ "props": {
4637
+ "spacing": 5,
4638
+ "alignment": "leading",
4639
+ "children": [
4640
+ {
4641
+ "id": "",
4642
+ "body": {
4643
+ "package": "himalaya",
4644
+ "type": "Text",
4645
+ "props": {
4646
+ "text": "Title",
4647
+ "style": "footnote",
4648
+ "color": "textSecondary"
4649
+ }
4650
+ }
4651
+ },
4652
+ {
4653
+ "id": "himi_account_settings.title",
4654
+ "body": {
4655
+ "package": "himalaya",
4656
+ "type": "TextField",
4657
+ "props": {
4658
+ "valuePath": "$service:himiBrandedAccountSettings.title",
4659
+ "placeholder": "Title",
4660
+ "autoCapitalization": "words",
4661
+ "onChange": {
4662
+ "actionId": "tier5.himiBrandedAccountSettings.setTitle"
4663
+ },
4664
+ "errorPath": "$service:himiBrandedAccountSettings.titleError"
4665
+ }
4666
+ }
4667
+ }
4668
+ ]
4669
+ }
4670
+ }
4671
+ },
4672
+ {
4673
+ "id": "",
4674
+ "body": {
4675
+ "package": "himalaya",
4676
+ "type": "Text",
4677
+ "props": {
4678
+ "text": "Personal info",
4679
+ "style": "title2"
4680
+ }
4681
+ }
4682
+ },
4683
+ {
4684
+ "id": "",
4685
+ "body": {
4686
+ "package": "himalaya",
4687
+ "type": "VStack",
4688
+ "props": {
4689
+ "spacing": 5,
4690
+ "alignment": "leading",
4691
+ "children": [
4692
+ {
4693
+ "id": "",
4694
+ "body": {
4695
+ "package": "himalaya",
4696
+ "type": "Text",
4697
+ "props": {
4698
+ "text": "First name",
4699
+ "style": "footnote",
4700
+ "color": "textSecondary"
4701
+ }
4702
+ }
4703
+ },
4704
+ {
4705
+ "id": "himi_account_settings.firstName",
4706
+ "body": {
4707
+ "package": "himalaya",
4708
+ "type": "TextField",
4709
+ "props": {
4710
+ "valuePath": "$service:himiBrandedAccountSettings.firstName",
4711
+ "placeholder": "First name",
4712
+ "autoCapitalization": "words",
4713
+ "onChange": {
4714
+ "actionId": "tier5.himiBrandedAccountSettings.setFirstName"
4715
+ },
4716
+ "errorPath": "$service:himiBrandedAccountSettings.firstNameError"
4717
+ }
4718
+ }
4719
+ }
4720
+ ]
4721
+ }
4722
+ }
4723
+ },
4724
+ {
4725
+ "id": "",
4726
+ "body": {
4727
+ "package": "himalaya",
4728
+ "type": "VStack",
4729
+ "props": {
4730
+ "spacing": 5,
4731
+ "alignment": "leading",
4732
+ "children": [
4733
+ {
4734
+ "id": "",
4735
+ "body": {
4736
+ "package": "himalaya",
4737
+ "type": "Text",
4738
+ "props": {
4739
+ "text": "Last name",
4740
+ "style": "footnote",
4741
+ "color": "textSecondary"
4742
+ }
4743
+ }
4744
+ },
4745
+ {
4746
+ "id": "himi_account_settings.lastName",
4747
+ "body": {
4748
+ "package": "himalaya",
4749
+ "type": "TextField",
4750
+ "props": {
4751
+ "valuePath": "$service:himiBrandedAccountSettings.lastName",
4752
+ "placeholder": "Last name",
4753
+ "autoCapitalization": "words",
4754
+ "onChange": {
4755
+ "actionId": "tier5.himiBrandedAccountSettings.setLastName"
4756
+ },
4757
+ "errorPath": "$service:himiBrandedAccountSettings.lastNameError"
4758
+ }
4759
+ }
4760
+ }
4761
+ ]
4762
+ }
4763
+ }
4764
+ },
4765
+ {
4766
+ "id": "",
4767
+ "body": {
4768
+ "package": "himalaya",
4769
+ "type": "VStack",
4770
+ "props": {
4771
+ "spacing": 5,
4772
+ "alignment": "leading",
4773
+ "children": [
4774
+ {
4775
+ "id": "",
4776
+ "body": {
4777
+ "package": "himalaya",
4778
+ "type": "Text",
4779
+ "props": {
4780
+ "text": "Phone",
4781
+ "style": "footnote",
4782
+ "color": "textSecondary"
4783
+ }
4784
+ }
4785
+ },
4786
+ {
4787
+ "id": "himi_account_settings.phone",
4788
+ "body": {
4789
+ "package": "himalaya",
4790
+ "type": "TextField",
4791
+ "props": {
4792
+ "valuePath": "$service:himiBrandedAccountSettings.phone",
4793
+ "placeholder": "Phone",
4794
+ "keyboard": "phone",
4795
+ "autoCapitalization": "words",
4796
+ "onChange": {
4797
+ "actionId": "tier5.himiBrandedAccountSettings.setPhone"
4798
+ },
4799
+ "errorPath": "$service:himiBrandedAccountSettings.phoneError"
4800
+ }
4801
+ }
4802
+ }
4803
+ ]
4804
+ }
4805
+ }
4806
+ },
4807
+ {
4808
+ "id": "",
4809
+ "body": {
4810
+ "package": "himalaya",
4811
+ "type": "Text",
4812
+ "props": {
4813
+ "text": "Clearing this field removes the primary phone number. Other saved numbers are kept.",
4814
+ "style": "caption",
4815
+ "color": "textSecondary"
4816
+ }
4817
+ }
4818
+ },
4819
+ {
4820
+ "id": "",
4821
+ "body": {
4822
+ "package": "himalaya",
4823
+ "type": "Text",
4824
+ "props": {
4825
+ "text": "Login info",
4826
+ "style": "title2"
4827
+ }
4828
+ }
4829
+ },
4830
+ {
4831
+ "id": "",
4832
+ "body": {
4833
+ "package": "himalaya",
4834
+ "type": "Text",
4835
+ "props": {
4836
+ "text": "Login email",
4837
+ "style": "footnote",
4838
+ "color": "textSecondary"
4839
+ }
4840
+ }
4841
+ },
4842
+ {
4843
+ "id": "himi_account_settings.login_email",
4844
+ "body": {
4845
+ "package": "himalaya",
4846
+ "type": "Text",
4847
+ "props": {
4848
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
4849
+ "style": "body"
4850
+ }
4851
+ }
4852
+ },
4853
+ {
4854
+ "id": "",
4855
+ "body": {
4856
+ "package": "himalaya",
4857
+ "type": "HStack",
4858
+ "props": {
4859
+ "spacing": 10,
4860
+ "children": [
4861
+ {
4862
+ "id": "himi_account_settings.change_email",
4863
+ "body": {
4864
+ "package": "himalaya",
4865
+ "type": "Button",
4866
+ "props": {
4867
+ "title": "Change email",
4868
+ "style": "secondary",
4869
+ "action": {
4870
+ "actionId": "tier5.himiBrandedAccountSettings.openEmailPanel"
4871
+ }
4872
+ }
4873
+ }
4874
+ },
4875
+ {
4876
+ "id": "himi_account_settings.change_password",
4877
+ "body": {
4878
+ "package": "himalaya",
4879
+ "type": "Button",
4880
+ "props": {
4881
+ "title": "Change password",
4882
+ "style": "primary",
4883
+ "action": {
4884
+ "actionId": "tier5.himiBrandedAccountSettings.openPasswordPanel"
4885
+ }
4886
+ }
4887
+ },
4888
+ "modifiers": {
4889
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPasswordCredentialSupport"
4890
+ }
4891
+ }
4892
+ ]
4893
+ }
4894
+ }
4895
+ },
4896
+ {
4897
+ "id": "",
4898
+ "body": {
4899
+ "package": "himalaya",
4900
+ "type": "VStack",
4901
+ "props": {
4902
+ "spacing": 8,
4903
+ "alignment": "leading",
4904
+ "children": [
4905
+ {
4906
+ "id": "",
4907
+ "body": {
4908
+ "package": "himalaya",
4909
+ "type": "Text",
4910
+ "props": {
4911
+ "text": "Update the app to change your password, or manage it on the website.",
4912
+ "style": "footnote",
4913
+ "color": "textSecondary"
4914
+ }
4915
+ },
4916
+ "modifiers": {
4917
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4918
+ }
4919
+ },
4920
+ {
4921
+ "id": "",
4922
+ "body": {
4923
+ "package": "himalaya",
4924
+ "type": "Text",
4925
+ "props": {
4926
+ "text": "Update the app to change your password.",
4927
+ "style": "footnote",
4928
+ "color": "textSecondary"
4929
+ }
4930
+ },
4931
+ "modifiers": {
4932
+ "hiddenPath": "$service:himiBrandedAccountSettings.siteHandoff"
4933
+ }
4934
+ },
4935
+ {
4936
+ "id": "himi_account_settings.password_website",
4937
+ "body": {
4938
+ "package": "himalaya",
4939
+ "type": "Button",
4940
+ "props": {
4941
+ "title": "Visit website",
4942
+ "style": "secondary",
4943
+ "action": {
4944
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
4945
+ }
4946
+ }
4947
+ },
4948
+ "modifiers": {
4949
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4950
+ }
4951
+ }
4952
+ ]
4953
+ }
4954
+ },
4955
+ "modifiers": {
4956
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordCredentialSupported"
4957
+ }
4958
+ },
4959
+ {
4960
+ "id": "",
4961
+ "body": {
4962
+ "package": "himalaya",
4963
+ "type": "Text",
4964
+ "props": {
4965
+ "text": "Profile URL",
4966
+ "style": "title2"
4967
+ }
4968
+ }
4969
+ },
4970
+ {
4971
+ "id": "himi_account_settings.profile_url",
4972
+ "body": {
4973
+ "package": "himalaya",
4974
+ "type": "Text",
4975
+ "props": {
4976
+ "text": "$service:himiBrandedAccountSettings.profileUrl",
4977
+ "style": "body",
4978
+ "collapseWhenEmpty": true
4979
+ }
4980
+ }
4981
+ },
4982
+ {
4983
+ "id": "",
4984
+ "body": {
4985
+ "package": "himalaya",
4986
+ "type": "Text",
4987
+ "props": {
4988
+ "text": "A public profile URL is not available for this site.",
4989
+ "style": "footnote",
4990
+ "color": "textSecondary"
4991
+ }
4992
+ },
4993
+ "modifiers": {
4994
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasProfileUrl"
4995
+ }
4996
+ },
4997
+ {
4998
+ "id": "",
4999
+ "body": {
5000
+ "package": "himalaya",
5001
+ "type": "VStack",
5002
+ "props": {
5003
+ "spacing": 5,
5004
+ "alignment": "leading",
5005
+ "children": [
5006
+ {
5007
+ "id": "",
5008
+ "body": {
5009
+ "package": "himalaya",
5010
+ "type": "Text",
5011
+ "props": {
5012
+ "text": "Profile URL name",
5013
+ "style": "footnote",
5014
+ "color": "textSecondary"
5015
+ }
5016
+ }
5017
+ },
5018
+ {
5019
+ "id": "himi_account_settings.slug",
5020
+ "body": {
5021
+ "package": "himalaya",
5022
+ "type": "TextField",
5023
+ "props": {
5024
+ "valuePath": "$service:himiBrandedAccountSettings.slug",
5025
+ "placeholder": "Profile URL name",
5026
+ "autoCapitalization": "words",
5027
+ "onChange": {
5028
+ "actionId": "tier5.himiBrandedAccountSettings.setSlug"
5029
+ }
5030
+ }
5031
+ }
5032
+ }
5033
+ ]
5034
+ }
5035
+ }
5036
+ },
5037
+ {
5038
+ "id": "himi_account_settings.save_slug",
5039
+ "body": {
5040
+ "package": "himalaya",
5041
+ "type": "Button",
5042
+ "props": {
5043
+ "title": "Update profile URL",
5044
+ "style": "secondary",
5045
+ "action": {
5046
+ "actionId": "tier5.himiBrandedAccountSettings.saveSlug"
5047
+ }
5048
+ }
5049
+ }
5050
+ },
5051
+ {
5052
+ "id": "himi_account_settings.slug_message",
5053
+ "body": {
5054
+ "package": "himalaya",
5055
+ "type": "Text",
5056
+ "props": {
5057
+ "text": "$service:himiBrandedAccountSettings.slugMessage",
5058
+ "style": "footnote",
5059
+ "collapseWhenEmpty": true
5060
+ }
5061
+ }
5062
+ },
5063
+ {
5064
+ "id": "",
5065
+ "body": {
5066
+ "package": "himalaya",
5067
+ "type": "Text",
5068
+ "props": {
5069
+ "text": "Profile privacy",
5070
+ "style": "title2"
5071
+ }
5072
+ }
5073
+ },
5074
+ {
5075
+ "id": "himi_account_settings.privacy_action",
5076
+ "body": {
5077
+ "package": "himalaya",
5078
+ "type": "Button",
5079
+ "props": {
5080
+ "title": "$service:himiBrandedAccountSettings.privacyActionLabel",
5081
+ "style": "secondary",
5082
+ "action": {
5083
+ "actionId": "tier5.himiBrandedAccountSettings.requestPrivacyChange"
5084
+ }
5085
+ }
5086
+ },
5087
+ "modifiers": {
5088
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacyControlsUnavailable"
5089
+ }
5090
+ },
5091
+ {
5092
+ "id": "",
5093
+ "body": {
5094
+ "package": "himalaya",
5095
+ "type": "Text",
5096
+ "props": {
5097
+ "text": "Profile privacy controls are unavailable for this member account.",
5098
+ "style": "footnote",
5099
+ "color": "textSecondary"
5100
+ }
5101
+ },
5102
+ "modifiers": {
5103
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacySupported"
5104
+ }
5105
+ },
5106
+ {
5107
+ "id": "himi_account_settings.privacy_confirmation",
5108
+ "body": {
5109
+ "package": "himalaya",
5110
+ "type": "VStack",
5111
+ "props": {
5112
+ "spacing": 8,
5113
+ "alignment": "leading",
5114
+ "children": [
5115
+ {
5116
+ "id": "",
5117
+ "body": {
5118
+ "package": "himalaya",
5119
+ "type": "Text",
5120
+ "props": {
5121
+ "text": "$service:himiBrandedAccountSettings.privacyPrompt",
5122
+ "style": "body"
5123
+ }
5124
+ }
5125
+ },
5126
+ {
5127
+ "id": "himi_account_settings.confirm_privacy",
5128
+ "body": {
5129
+ "package": "himalaya",
5130
+ "type": "Button",
5131
+ "props": {
5132
+ "title": "Confirm",
5133
+ "style": "primary",
5134
+ "action": {
5135
+ "actionId": "tier5.himiBrandedAccountSettings.setPrivate",
5136
+ "params": {
5137
+ "status": "$service:himiBrandedAccountSettings.pendingPrivacyStatus"
5138
+ }
5139
+ }
5140
+ }
5141
+ }
5142
+ },
5143
+ {
5144
+ "id": "himi_account_settings.cancel_privacy",
5145
+ "body": {
5146
+ "package": "himalaya",
5147
+ "type": "Button",
5148
+ "props": {
5149
+ "title": "Cancel",
5150
+ "style": "secondary",
5151
+ "action": {
5152
+ "actionId": "tier5.himiBrandedAccountSettings.cancelPrivacyChange"
5153
+ }
5154
+ }
5155
+ }
5156
+ }
5157
+ ]
5158
+ }
5159
+ },
5160
+ "modifiers": {
5161
+ "background": {
5162
+ "token": "surfaceElevated"
5163
+ },
5164
+ "border": {
5165
+ "width": 1,
5166
+ "color": {
5167
+ "token": "border"
5168
+ }
5169
+ },
5170
+ "cornerRadius": 16,
5171
+ "padding": {
5172
+ "leading": 16,
5173
+ "trailing": 16,
5174
+ "top": 16,
5175
+ "bottom": 16
5176
+ },
5177
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPrivacyConfirm"
5178
+ }
5179
+ },
5180
+ {
5181
+ "id": "",
5182
+ "body": {
5183
+ "package": "himalaya",
5184
+ "type": "VStack",
5185
+ "props": {
5186
+ "spacing": 10,
5187
+ "alignment": "leading",
5188
+ "children": [
5189
+ {
5190
+ "id": "himi_account_settings.blocked.title",
5191
+ "body": {
5192
+ "package": "himalaya",
5193
+ "type": "Text",
5194
+ "props": {
5195
+ "text": "Blocked members",
5196
+ "style": "title2"
5197
+ }
5198
+ }
5199
+ },
5200
+ {
5201
+ "id": "",
5202
+ "body": {
5203
+ "package": "himalaya",
5204
+ "type": "Text",
5205
+ "props": {
5206
+ "text": "Loading blocked members…",
5207
+ "style": "footnote",
5208
+ "color": "textSecondary"
5209
+ }
5210
+ },
5211
+ "modifiers": {
5212
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notLoading"
5213
+ }
5214
+ },
5215
+ {
5216
+ "id": "",
5217
+ "body": {
5218
+ "package": "himalaya",
5219
+ "type": "VStack",
5220
+ "props": {
5221
+ "spacing": 8,
5222
+ "children": [
5223
+ {
5224
+ "id": "",
5225
+ "body": {
5226
+ "package": "himalaya",
5227
+ "type": "Text",
5228
+ "props": {
5229
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
5230
+ "style": "footnote",
5231
+ "color": "textSecondary"
5232
+ }
5233
+ }
5234
+ },
5235
+ {
5236
+ "id": "btn_tier5_himibrandedaccountblockedmembers_load",
5237
+ "body": {
5238
+ "package": "himalaya",
5239
+ "type": "Button",
5240
+ "props": {
5241
+ "title": "Try again",
5242
+ "style": "secondary",
5243
+ "action": {
5244
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
5245
+ }
5246
+ }
5247
+ }
5248
+ }
5249
+ ]
5250
+ }
5251
+ },
5252
+ "modifiers": {
5253
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notErrored"
5254
+ }
5255
+ },
5256
+ {
5257
+ "id": "",
5258
+ "body": {
5259
+ "package": "himalaya",
5260
+ "type": "Text",
5261
+ "props": {
5262
+ "text": "You have no blocked members.",
5263
+ "style": "footnote",
5264
+ "color": "textSecondary"
5265
+ }
5266
+ },
5267
+ "modifiers": {
5268
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.hideEmpty"
5269
+ }
5270
+ },
5271
+ {
5272
+ "id": "",
5273
+ "body": {
5274
+ "package": "himalaya",
5275
+ "type": "LazyList",
5276
+ "props": {
5277
+ "spacing": 8,
5278
+ "itemsPath": "$service:himiBrandedAccountBlockedMembers.blockedMembers",
5279
+ "items": [
5280
+ {
5281
+ "id": "himi_account_settings.blocked.row.$item.memberId",
5282
+ "body": {
5283
+ "package": "himalaya",
5284
+ "type": "HStack",
5285
+ "props": {
5286
+ "spacing": 10,
5287
+ "children": [
5288
+ {
5289
+ "id": "",
5290
+ "body": {
5291
+ "package": "himalaya",
5292
+ "type": "Text",
5293
+ "props": {
5294
+ "text": "$item.label",
5295
+ "style": "body",
5296
+ "maxLines": 2
5297
+ }
5298
+ }
5299
+ },
5300
+ {
5301
+ "id": "btn_tier5_himibrandedaccountblockedmembers_requestunblock",
5302
+ "body": {
5303
+ "package": "himalaya",
5304
+ "type": "Button",
5305
+ "props": {
5306
+ "title": "Unblock",
5307
+ "style": "secondary",
5308
+ "action": {
5309
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.requestUnblock",
5310
+ "params": {
5311
+ "memberId": "$item.memberId"
5312
+ }
5313
+ }
5314
+ }
5315
+ }
5316
+ }
5317
+ ]
5318
+ }
5319
+ }
5320
+ }
5321
+ ]
5322
+ }
5323
+ },
5324
+ "modifiers": {
5325
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMembers"
5326
+ }
5327
+ },
5328
+ {
5329
+ "id": "himi_account_settings.blocked.load_more",
5330
+ "body": {
5331
+ "package": "himalaya",
5332
+ "type": "Button",
5333
+ "props": {
5334
+ "title": "Load more",
5335
+ "style": "secondary",
5336
+ "loading": false,
5337
+ "action": {
5338
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.loadMore"
5339
+ }
5340
+ }
5341
+ },
5342
+ "modifiers": {
5343
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMore"
5344
+ }
5345
+ },
5346
+ {
5347
+ "id": "",
5348
+ "body": {
5349
+ "package": "himalaya",
5350
+ "type": "Text",
5351
+ "props": {
5352
+ "text": "$service:himiBrandedAccountBlockedMembers.message",
5353
+ "style": "footnote",
5354
+ "color": "textSecondary",
5355
+ "collapseWhenEmpty": true
5356
+ }
5357
+ }
5358
+ },
5359
+ {
5360
+ "id": "himi_account_settings.blocked.confirm",
5361
+ "body": {
5362
+ "package": "himalaya",
5363
+ "type": "VStack",
5364
+ "props": {
5365
+ "spacing": 8,
5366
+ "alignment": "leading",
5367
+ "children": [
5368
+ {
5369
+ "id": "",
5370
+ "body": {
5371
+ "package": "himalaya",
5372
+ "type": "Text",
5373
+ "props": {
5374
+ "text": "Unblock this member? They may be able to interact with your profile again.",
5375
+ "style": "body"
5376
+ }
5377
+ }
5378
+ },
5379
+ {
5380
+ "id": "",
5381
+ "body": {
5382
+ "package": "himalaya",
5383
+ "type": "Text",
5384
+ "props": {
5385
+ "text": "$service:himiBrandedAccountBlockedMembers.confirmMemberId",
5386
+ "style": "footnote",
5387
+ "color": "textSecondary"
5388
+ }
5389
+ }
5390
+ },
5391
+ {
5392
+ "id": "",
5393
+ "body": {
5394
+ "package": "himalaya",
5395
+ "type": "Text",
5396
+ "props": {
5397
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
5398
+ "style": "footnote",
5399
+ "color": "textSecondary",
5400
+ "collapseWhenEmpty": true
5401
+ }
5402
+ }
5403
+ },
5404
+ {
5405
+ "id": "btn_tier5_himibrandedaccountblockedmembers_confirmunblock",
5406
+ "body": {
5407
+ "package": "himalaya",
5408
+ "type": "Button",
5409
+ "props": {
5410
+ "title": "Confirm unblock",
5411
+ "style": "primary",
5412
+ "action": {
5413
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.confirmUnblock"
5414
+ }
5415
+ }
5416
+ }
5417
+ },
5418
+ {
5419
+ "id": "btn_tier5_himibrandedaccountblockedmembers_cancelunblock",
5420
+ "body": {
5421
+ "package": "himalaya",
5422
+ "type": "Button",
5423
+ "props": {
5424
+ "title": "Cancel",
5425
+ "style": "secondary",
5426
+ "action": {
5427
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.cancelUnblock"
5428
+ }
5429
+ }
5430
+ }
5431
+ }
5432
+ ]
5433
+ }
5434
+ },
5435
+ "modifiers": {
5436
+ "background": {
5437
+ "token": "surfaceElevated"
5438
+ },
5439
+ "border": {
5440
+ "width": 1,
5441
+ "color": {
5442
+ "token": "border"
5443
+ }
5444
+ },
5445
+ "cornerRadius": 16,
5446
+ "padding": {
5447
+ "leading": 16,
5448
+ "trailing": 16,
5449
+ "top": 16,
5450
+ "bottom": 16
5451
+ },
5452
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noConfirm"
5453
+ }
5454
+ }
5455
+ ]
5456
+ }
5457
+ },
5458
+ "modifiers": {
5459
+ "onAppear": {
5460
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
5461
+ }
5462
+ }
5463
+ },
5464
+ {
5465
+ "id": "himi_account_settings.message",
5466
+ "body": {
5467
+ "package": "himalaya",
5468
+ "type": "Text",
5469
+ "props": {
5470
+ "text": "$service:himiBrandedAccountSettings.message",
5471
+ "style": "footnote",
5472
+ "color": "textSecondary",
5473
+ "collapseWhenEmpty": true
5474
+ }
5475
+ }
5476
+ },
5477
+ {
5478
+ "id": "",
5479
+ "body": {
5480
+ "package": "himalaya",
5481
+ "type": "HStack",
5482
+ "props": {
5483
+ "spacing": 10,
5484
+ "children": [
5485
+ {
5486
+ "id": "himi_account_settings.discard",
5487
+ "body": {
5488
+ "package": "himalaya",
5489
+ "type": "Button",
5490
+ "props": {
5491
+ "title": "Discard",
5492
+ "style": "secondary",
5493
+ "action": {
5494
+ "actionId": "tier5.himiBrandedAccountSettings.discard"
5495
+ }
5496
+ }
5497
+ }
5498
+ },
5499
+ {
5500
+ "id": "himi_account_settings.save",
5501
+ "body": {
5502
+ "package": "himalaya",
5503
+ "type": "Button",
5504
+ "props": {
5505
+ "title": "Update Info",
5506
+ "style": "primary",
5507
+ "disabledPath": "$service:himiBrandedAccountSettings.photoUploading",
5508
+ "action": {
5509
+ "actionId": "tier5.himiBrandedAccountSettings.save"
5510
+ }
5511
+ }
5512
+ }
5513
+ }
5514
+ ]
5515
+ }
5516
+ }
5517
+ },
5518
+ {
5519
+ "id": "himi_account_settings.password_sheet",
5520
+ "body": {
5521
+ "package": "himalaya",
5522
+ "type": "BottomSheet",
5523
+ "props": {
5524
+ "presentedPath": "$service:himiBrandedAccountSettings.passwordPanelOpen",
5525
+ "dismissible": true,
5526
+ "showGrabber": true,
5527
+ "onDismiss": {
5528
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5529
+ },
5530
+ "content": {
5531
+ "id": "",
5532
+ "body": {
5533
+ "package": "himalaya",
5534
+ "type": "VStack",
5535
+ "props": {
5536
+ "spacing": 16,
5537
+ "alignment": "leading",
5538
+ "children": [
5539
+ {
5540
+ "id": "",
5541
+ "body": {
5542
+ "package": "himalaya",
5543
+ "type": "Text",
5544
+ "props": {
5545
+ "text": "Change password",
5546
+ "style": "title2"
5547
+ }
5548
+ }
5549
+ },
5550
+ {
5551
+ "id": "",
5552
+ "body": {
5553
+ "package": "himalaya",
5554
+ "type": "VStack",
5555
+ "props": {
5556
+ "spacing": 5,
5557
+ "alignment": "leading",
5558
+ "children": [
5559
+ {
5560
+ "id": "",
5561
+ "body": {
5562
+ "package": "himalaya",
5563
+ "type": "Text",
5564
+ "props": {
5565
+ "text": "Current password",
5566
+ "style": "footnote",
5567
+ "color": "textSecondary"
5568
+ }
5569
+ }
5570
+ },
5571
+ {
5572
+ "id": "himi_account_settings.passwordCurrent",
5573
+ "body": {
5574
+ "package": "himalaya",
5575
+ "type": "TextField",
5576
+ "props": {
5577
+ "valuePath": "$service:himiBrandedAccountSettings.passwordCurrent",
5578
+ "placeholder": "Current password",
5579
+ "secure": true,
5580
+ "autoCapitalization": "none",
5581
+ "onChange": {
5582
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordCurrent"
5583
+ }
5584
+ }
5585
+ }
5586
+ }
5587
+ ]
5588
+ }
5589
+ }
5590
+ },
5591
+ {
5592
+ "id": "",
5593
+ "body": {
5594
+ "package": "himalaya",
5595
+ "type": "VStack",
5596
+ "props": {
5597
+ "spacing": 5,
5598
+ "alignment": "leading",
5599
+ "children": [
5600
+ {
5601
+ "id": "",
5602
+ "body": {
5603
+ "package": "himalaya",
5604
+ "type": "Text",
5605
+ "props": {
5606
+ "text": "New password",
5607
+ "style": "footnote",
5608
+ "color": "textSecondary"
5609
+ }
5610
+ }
5611
+ },
5612
+ {
5613
+ "id": "himi_account_settings.passwordNew",
5614
+ "body": {
5615
+ "package": "himalaya",
5616
+ "type": "TextField",
5617
+ "props": {
5618
+ "valuePath": "$service:himiBrandedAccountSettings.passwordNew",
5619
+ "placeholder": "New password",
5620
+ "secure": true,
5621
+ "autoCapitalization": "none",
5622
+ "onChange": {
5623
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordNew"
5624
+ }
5625
+ }
5626
+ }
5627
+ }
5628
+ ]
5629
+ }
5630
+ }
5631
+ },
5632
+ {
5633
+ "id": "",
5634
+ "body": {
5635
+ "package": "himalaya",
5636
+ "type": "VStack",
5637
+ "props": {
5638
+ "spacing": 5,
5639
+ "alignment": "leading",
5640
+ "children": [
5641
+ {
5642
+ "id": "",
5643
+ "body": {
5644
+ "package": "himalaya",
5645
+ "type": "Text",
5646
+ "props": {
5647
+ "text": "Confirm new password",
5648
+ "style": "footnote",
5649
+ "color": "textSecondary"
5650
+ }
5651
+ }
5652
+ },
5653
+ {
5654
+ "id": "himi_account_settings.passwordConfirm",
5655
+ "body": {
5656
+ "package": "himalaya",
5657
+ "type": "TextField",
5658
+ "props": {
5659
+ "valuePath": "$service:himiBrandedAccountSettings.passwordConfirm",
5660
+ "placeholder": "Confirm new password",
5661
+ "secure": true,
5662
+ "autoCapitalization": "none",
5663
+ "onChange": {
5664
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordConfirm"
5665
+ }
5666
+ }
5667
+ }
5668
+ }
5669
+ ]
5670
+ }
5671
+ }
5672
+ },
5673
+ {
5674
+ "id": "",
5675
+ "body": {
5676
+ "package": "himalaya",
5677
+ "type": "Text",
5678
+ "props": {
5679
+ "text": "Changing password…",
5680
+ "style": "footnote",
5681
+ "color": "textSecondary"
5682
+ }
5683
+ },
5684
+ "modifiers": {
5685
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordChanging"
5686
+ }
5687
+ },
5688
+ {
5689
+ "id": "",
5690
+ "body": {
5691
+ "package": "himalaya",
5692
+ "type": "Text",
5693
+ "props": {
5694
+ "text": "Sending reset link…",
5695
+ "style": "footnote",
5696
+ "color": "textSecondary"
5697
+ }
5698
+ },
5699
+ "modifiers": {
5700
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordResetSending"
5701
+ }
5702
+ },
5703
+ {
5704
+ "id": "",
5705
+ "body": {
5706
+ "package": "himalaya",
5707
+ "type": "Text",
5708
+ "props": {
5709
+ "text": "$service:himiBrandedAccountSettings.passwordError",
5710
+ "style": "footnote",
5711
+ "color": "textSecondary"
5712
+ }
5713
+ },
5714
+ "modifiers": {
5715
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoError"
5716
+ }
5717
+ },
5718
+ {
5719
+ "id": "",
5720
+ "body": {
5721
+ "package": "himalaya",
5722
+ "type": "Text",
5723
+ "props": {
5724
+ "text": "$service:himiBrandedAccountSettings.passwordMessage",
5725
+ "style": "footnote",
5726
+ "color": "textSecondary"
5727
+ }
5728
+ },
5729
+ "modifiers": {
5730
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoMessage"
5731
+ }
5732
+ },
5733
+ {
5734
+ "id": "btn_tier5_himibrandedaccountsettings_changepassword",
5735
+ "body": {
5736
+ "package": "himalaya",
5737
+ "type": "Button",
5738
+ "props": {
5739
+ "title": "Change password",
5740
+ "style": "primary",
5741
+ "fullWidth": true,
5742
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
5743
+ "action": {
5744
+ "actionId": "tier5.himiBrandedAccountSettings.changePassword"
5745
+ }
5746
+ }
5747
+ }
5748
+ },
5749
+ {
5750
+ "id": "btn_tier5_himibrandedaccountsettings_resetpassword",
5751
+ "body": {
5752
+ "package": "himalaya",
5753
+ "type": "Button",
5754
+ "props": {
5755
+ "title": "Reset or create password by email",
5756
+ "style": "secondary",
5757
+ "fullWidth": true,
5758
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
5759
+ "action": {
5760
+ "actionId": "tier5.himiBrandedAccountSettings.resetPassword"
5761
+ }
5762
+ }
5763
+ }
5764
+ },
5765
+ {
5766
+ "id": "btn_tier5_himibrandedaccountsettings_closepasswordpanel",
5767
+ "body": {
5768
+ "package": "himalaya",
5769
+ "type": "Button",
5770
+ "props": {
5771
+ "title": "Cancel",
5772
+ "style": "plain",
5773
+ "action": {
5774
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
5775
+ }
5776
+ }
5777
+ }
5778
+ }
5779
+ ]
5780
+ }
5781
+ },
5782
+ "modifiers": {
5783
+ "padding": {
5784
+ "leading": 20,
5785
+ "trailing": 20,
5786
+ "top": 20,
5787
+ "bottom": 24
5788
+ }
5789
+ }
5790
+ }
5791
+ }
5792
+ }
5793
+ },
5794
+ {
5795
+ "id": "himi_account_settings.email_sheet",
5796
+ "body": {
5797
+ "package": "himalaya",
5798
+ "type": "BottomSheet",
5799
+ "props": {
5800
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
5801
+ "dismissible": true,
5802
+ "showGrabber": true,
5803
+ "onDismiss": {
5804
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5805
+ },
5806
+ "content": {
5807
+ "id": "",
5808
+ "body": {
5809
+ "package": "himalaya",
5810
+ "type": "VStack",
5811
+ "props": {
5812
+ "spacing": 16,
5813
+ "alignment": "leading",
5814
+ "children": [
5815
+ {
5816
+ "id": "",
5817
+ "body": {
5818
+ "package": "himalaya",
5819
+ "type": "Text",
5820
+ "props": {
5821
+ "text": "Change login email",
5822
+ "style": "title2"
5823
+ }
5824
+ }
5825
+ },
5826
+ {
5827
+ "id": "",
5828
+ "body": {
5829
+ "package": "himalaya",
5830
+ "type": "Text",
5831
+ "props": {
5832
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
5833
+ "style": "bodyEmphasis"
5834
+ }
5835
+ }
5836
+ },
5837
+ {
5838
+ "id": "",
5839
+ "body": {
5840
+ "package": "himalaya",
5841
+ "type": "Text",
5842
+ "props": {
5843
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
5844
+ "style": "body",
5845
+ "color": "textSecondary"
5846
+ }
5847
+ }
5848
+ },
5849
+ {
5850
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
5851
+ "body": {
5852
+ "package": "himalaya",
5853
+ "type": "Button",
5854
+ "props": {
5855
+ "title": "Visit website",
5856
+ "style": "secondary",
5857
+ "fullWidth": true,
5858
+ "action": {
5859
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
5860
+ }
5861
+ }
5862
+ },
5863
+ "modifiers": {
5864
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
5865
+ }
5866
+ },
5867
+ {
5868
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
5869
+ "body": {
5870
+ "package": "himalaya",
5871
+ "type": "Button",
5872
+ "props": {
5873
+ "title": "Close",
5874
+ "style": "plain",
5875
+ "action": {
5876
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
5877
+ }
5878
+ }
5879
+ }
5880
+ }
5881
+ ]
5882
+ }
5883
+ },
5884
+ "modifiers": {
5885
+ "padding": {
5886
+ "leading": 20,
5887
+ "trailing": 20,
5888
+ "top": 20,
5889
+ "bottom": 24
5890
+ }
5891
+ }
5892
+ }
5893
+ }
5894
+ }
5895
+ }
5896
+ ]
5897
+ }
5898
+ },
5899
+ "modifiers": {
5900
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
5901
+ }
5902
+ }
5903
+ ]
5904
+ }
5905
+ },
5906
+ "modifiers": {
5907
+ "background": {
5908
+ "token": "surfacePrimary"
5909
+ },
5910
+ "padding": {
5911
+ "leading": 16,
5912
+ "trailing": 16,
5913
+ "top": 18,
5914
+ "bottom": 28
5915
+ },
5916
+ "onAppear": {
5917
+ "actionId": "tier5.himiBrandedAccountSettings.load",
5918
+ "params": {
5919
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
5920
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
5921
+ }
5922
+ }
5923
+ }
5924
+ },
5925
+ "logicBundle": {
5926
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
5927
+ "integrity": "",
5928
+ "contentType": "application/javascript+ts-bundle",
5929
+ "declaredCapabilities": [
5930
+ "wix_api",
5931
+ "app_info",
5932
+ "open_url"
5933
+ ],
5934
+ "minBinaryVersion": "0.1.0",
5935
+ "bundleVersion": "0.0.1"
5936
+ }
5937
+ },
4188
5938
  "himi_app_info": {
4189
5939
  "screenId": "himi_app_info",
4190
5940
  "renderer": "sdui_intent",