@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)]));
@@ -2675,6 +2677,95 @@ const SCREENS = runtimeSetting({
2675
2677
  "hiddenPath": "$service:himiStoreAccount.notMember"
2676
2678
  }
2677
2679
  },
2680
+ {
2681
+ "id": "himi_account.settings",
2682
+ "body": {
2683
+ "package": "himalaya",
2684
+ "type": "HStack",
2685
+ "props": {
2686
+ "spacing": 12,
2687
+ "children": [
2688
+ {
2689
+ "id": "",
2690
+ "body": {
2691
+ "package": "himalaya",
2692
+ "type": "Icon",
2693
+ "props": {
2694
+ "name": "settings",
2695
+ "size": 18,
2696
+ "tint": "accentPrimary"
2697
+ }
2698
+ },
2699
+ "modifiers": {
2700
+ "accessibilityRole": "decorative"
2701
+ }
2702
+ },
2703
+ {
2704
+ "id": "",
2705
+ "body": {
2706
+ "package": "himalaya",
2707
+ "type": "Text",
2708
+ "props": {
2709
+ "text": "My Account",
2710
+ "style": "bodyEmphasis"
2711
+ }
2712
+ }
2713
+ },
2714
+ {
2715
+ "id": "",
2716
+ "body": {
2717
+ "package": "himalaya",
2718
+ "type": "Spacer",
2719
+ "props": {}
2720
+ }
2721
+ },
2722
+ {
2723
+ "id": "",
2724
+ "body": {
2725
+ "package": "himalaya",
2726
+ "type": "Icon",
2727
+ "props": {
2728
+ "name": "chevron_right",
2729
+ "size": 16,
2730
+ "tint": "textTertiary"
2731
+ }
2732
+ },
2733
+ "modifiers": {
2734
+ "accessibilityRole": "decorative"
2735
+ }
2736
+ }
2737
+ ]
2738
+ }
2739
+ },
2740
+ "modifiers": {
2741
+ "background": {
2742
+ "token": "surfaceElevated"
2743
+ },
2744
+ "border": {
2745
+ "width": 1,
2746
+ "color": {
2747
+ "token": "border"
2748
+ }
2749
+ },
2750
+ "cornerRadius": 8,
2751
+ "padding": {
2752
+ "leading": 14,
2753
+ "trailing": 14,
2754
+ "top": 13,
2755
+ "bottom": 13
2756
+ },
2757
+ "onTap": {
2758
+ "actionId": "himi.open",
2759
+ "params": {
2760
+ "screenId": "himi_account_settings"
2761
+ }
2762
+ },
2763
+ "pressFeedback": "scale",
2764
+ "haptic": "light",
2765
+ "accessibilityLabel": "My Account",
2766
+ "hiddenPath": "$service:himiStoreAccount.notMember"
2767
+ }
2768
+ },
2678
2769
  {
2679
2770
  "id": "",
2680
2771
  "body": {
@@ -3166,6 +3257,1665 @@ const SCREENS = runtimeSetting({
3166
3257
  "bundleVersion": "0.0.1"
3167
3258
  }
3168
3259
  },
3260
+ "himi_account_settings": {
3261
+ "screenId": "himi_account_settings",
3262
+ "renderer": "sdui_intent",
3263
+ "title": "",
3264
+ "schemaVersion": 1,
3265
+ "cacheControl": {
3266
+ "maxAge": 0,
3267
+ "staleWhileRevalidate": 0
3268
+ },
3269
+ "payload": {
3270
+ "id": "himi_account_settings.root",
3271
+ "body": {
3272
+ "package": "himalaya",
3273
+ "type": "VStack",
3274
+ "props": {
3275
+ "spacing": 16,
3276
+ "alignment": "leading",
3277
+ "children": [
3278
+ {
3279
+ "id": "himi_account_settings.title",
3280
+ "body": {
3281
+ "package": "himalaya",
3282
+ "type": "Text",
3283
+ "props": {
3284
+ "text": "My Account",
3285
+ "style": "title1"
3286
+ }
3287
+ }
3288
+ },
3289
+ {
3290
+ "id": "",
3291
+ "body": {
3292
+ "package": "himalaya",
3293
+ "type": "Text",
3294
+ "props": {
3295
+ "text": "Update the profile details connected to your member account.",
3296
+ "style": "body",
3297
+ "color": "textSecondary"
3298
+ }
3299
+ }
3300
+ },
3301
+ {
3302
+ "id": "himi_account_settings.loading",
3303
+ "body": {
3304
+ "package": "himalaya",
3305
+ "type": "Skeleton",
3306
+ "props": {
3307
+ "height": 72,
3308
+ "cornerRadius": 12,
3309
+ "count": 3
3310
+ }
3311
+ },
3312
+ "modifiers": {
3313
+ "hiddenPath": "$service:himiBrandedAccountSettings.notLoading"
3314
+ }
3315
+ },
3316
+ {
3317
+ "id": "himi_account_settings.error",
3318
+ "body": {
3319
+ "package": "himalaya",
3320
+ "type": "VStack",
3321
+ "props": {
3322
+ "spacing": 8,
3323
+ "alignment": "leading",
3324
+ "children": [
3325
+ {
3326
+ "id": "",
3327
+ "body": {
3328
+ "package": "himalaya",
3329
+ "type": "Text",
3330
+ "props": {
3331
+ "text": "$service:himiBrandedAccountSettings.error",
3332
+ "style": "body",
3333
+ "collapseWhenEmpty": true
3334
+ }
3335
+ }
3336
+ },
3337
+ {
3338
+ "id": "himi_account_settings.retry",
3339
+ "body": {
3340
+ "package": "himalaya",
3341
+ "type": "Button",
3342
+ "props": {
3343
+ "title": "Try again",
3344
+ "style": "secondary",
3345
+ "action": {
3346
+ "actionId": "tier5.himiBrandedAccountSettings.load",
3347
+ "params": {
3348
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
3349
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
3350
+ }
3351
+ }
3352
+ }
3353
+ }
3354
+ },
3355
+ {
3356
+ "id": "himi_account_settings.sign_in",
3357
+ "body": {
3358
+ "package": "himalaya",
3359
+ "type": "Button",
3360
+ "props": {
3361
+ "title": "Sign in",
3362
+ "style": "primary",
3363
+ "action": {
3364
+ "actionId": "himi.open",
3365
+ "params": {
3366
+ "screenId": "himi_account",
3367
+ "returnScreenId": "himi_account_settings"
3368
+ }
3369
+ }
3370
+ }
3371
+ },
3372
+ "modifiers": {
3373
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSignIn"
3374
+ }
3375
+ }
3376
+ ]
3377
+ }
3378
+ },
3379
+ "modifiers": {
3380
+ "background": {
3381
+ "token": "surfaceElevated"
3382
+ },
3383
+ "border": {
3384
+ "width": 1,
3385
+ "color": {
3386
+ "token": "border"
3387
+ }
3388
+ },
3389
+ "cornerRadius": 16,
3390
+ "padding": {
3391
+ "leading": 16,
3392
+ "trailing": 16,
3393
+ "top": 16,
3394
+ "bottom": 16
3395
+ },
3396
+ "hiddenPath": "$service:himiBrandedAccountSettings.notErrored"
3397
+ }
3398
+ },
3399
+ {
3400
+ "id": "",
3401
+ "body": {
3402
+ "package": "himalaya",
3403
+ "type": "VStack",
3404
+ "props": {
3405
+ "spacing": 18,
3406
+ "alignment": "leading",
3407
+ "children": [
3408
+ {
3409
+ "id": "",
3410
+ "body": {
3411
+ "package": "himalaya",
3412
+ "type": "Text",
3413
+ "props": {
3414
+ "text": "Display info",
3415
+ "style": "title2"
3416
+ }
3417
+ }
3418
+ },
3419
+ {
3420
+ "id": "himi_account_settings.photo_upload",
3421
+ "body": {
3422
+ "package": "himalaya",
3423
+ "type": "MediaField",
3424
+ "props": {
3425
+ "valuePath": "$service:himiBrandedAccountSettings.photoDisplayUrl",
3426
+ "uploadService": "himiBrandedAccountSettings",
3427
+ "label": "Choose a profile photo",
3428
+ "presentation": "avatar",
3429
+ "fallbackTextPath": "$service:himiBrandedAccountSettings.memberInitials",
3430
+ "heading": "Profile photo"
3431
+ }
3432
+ },
3433
+ "modifiers": {
3434
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
3435
+ }
3436
+ },
3437
+ {
3438
+ "id": "",
3439
+ "body": {
3440
+ "package": "himalaya",
3441
+ "type": "HStack",
3442
+ "props": {
3443
+ "spacing": 14,
3444
+ "children": [
3445
+ {
3446
+ "id": "himi_account_settings.read_only_avatar",
3447
+ "body": {
3448
+ "package": "himalaya",
3449
+ "type": "Image",
3450
+ "props": {
3451
+ "url": "$service:himiBrandedAccountSettings.memberImage",
3452
+ "width": 72,
3453
+ "height": 72,
3454
+ "contentMode": "fill",
3455
+ "shape": "circle",
3456
+ "contentDescription": "Profile photo"
3457
+ }
3458
+ },
3459
+ "modifiers": {
3460
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMemberImage"
3461
+ }
3462
+ },
3463
+ {
3464
+ "id": "",
3465
+ "body": {
3466
+ "package": "himalaya",
3467
+ "type": "ZStack",
3468
+ "props": {
3469
+ "alignment": "center",
3470
+ "children": [
3471
+ {
3472
+ "id": "",
3473
+ "body": {
3474
+ "package": "himalaya",
3475
+ "type": "Text",
3476
+ "props": {
3477
+ "text": "$service:himiBrandedAccountSettings.memberInitials",
3478
+ "style": "title2",
3479
+ "color": "textOnAccent"
3480
+ }
3481
+ }
3482
+ }
3483
+ ]
3484
+ }
3485
+ },
3486
+ "modifiers": {
3487
+ "width": 72,
3488
+ "height": 72,
3489
+ "background": {
3490
+ "token": "accentPrimary"
3491
+ },
3492
+ "cornerRadius": 36,
3493
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasMemberImage"
3494
+ }
3495
+ },
3496
+ {
3497
+ "id": "",
3498
+ "body": {
3499
+ "package": "himalaya",
3500
+ "type": "VStack",
3501
+ "props": {
3502
+ "spacing": 4,
3503
+ "alignment": "leading",
3504
+ "children": [
3505
+ {
3506
+ "id": "",
3507
+ "body": {
3508
+ "package": "himalaya",
3509
+ "type": "Text",
3510
+ "props": {
3511
+ "text": "Profile photo",
3512
+ "style": "body",
3513
+ "color": "textSecondary"
3514
+ }
3515
+ }
3516
+ },
3517
+ {
3518
+ "id": "",
3519
+ "body": {
3520
+ "package": "himalaya",
3521
+ "type": "Text",
3522
+ "props": {
3523
+ "text": "Your profile photo is managed on the Wix site.",
3524
+ "style": "footnote",
3525
+ "color": "textSecondary"
3526
+ }
3527
+ }
3528
+ }
3529
+ ]
3530
+ }
3531
+ }
3532
+ }
3533
+ ]
3534
+ }
3535
+ },
3536
+ "modifiers": {
3537
+ "hiddenPath": "$service:himiBrandedAccountSettings.photoUploadAvailable"
3538
+ }
3539
+ },
3540
+ {
3541
+ "id": "",
3542
+ "body": {
3543
+ "package": "himalaya",
3544
+ "type": "Text",
3545
+ "props": {
3546
+ "text": "Your photo is uploaded now and saved with Update info. Discard clears the selection.",
3547
+ "style": "footnote",
3548
+ "color": "textSecondary"
3549
+ }
3550
+ },
3551
+ "modifiers": {
3552
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPhotoUploadAvailable"
3553
+ }
3554
+ },
3555
+ {
3556
+ "id": "himi_account_settings.photo_upload_error",
3557
+ "body": {
3558
+ "package": "himalaya",
3559
+ "type": "Text",
3560
+ "props": {
3561
+ "text": "$service:himiBrandedAccountSettings.photoUploadError",
3562
+ "style": "footnote",
3563
+ "color": "danger",
3564
+ "collapseWhenEmpty": true
3565
+ }
3566
+ }
3567
+ },
3568
+ {
3569
+ "id": "",
3570
+ "body": {
3571
+ "package": "himalaya",
3572
+ "type": "VStack",
3573
+ "props": {
3574
+ "spacing": 5,
3575
+ "alignment": "leading",
3576
+ "children": [
3577
+ {
3578
+ "id": "",
3579
+ "body": {
3580
+ "package": "himalaya",
3581
+ "type": "Text",
3582
+ "props": {
3583
+ "text": "Display name",
3584
+ "style": "footnote",
3585
+ "color": "textSecondary"
3586
+ }
3587
+ }
3588
+ },
3589
+ {
3590
+ "id": "himi_account_settings.displayName",
3591
+ "body": {
3592
+ "package": "himalaya",
3593
+ "type": "TextField",
3594
+ "props": {
3595
+ "valuePath": "$service:himiBrandedAccountSettings.displayName",
3596
+ "placeholder": "Display name",
3597
+ "autoCapitalization": "words",
3598
+ "onChange": {
3599
+ "actionId": "tier5.himiBrandedAccountSettings.setDisplayName"
3600
+ },
3601
+ "validation": {
3602
+ "required": true
3603
+ },
3604
+ "errorPath": "$service:himiBrandedAccountSettings.displayNameError"
3605
+ }
3606
+ }
3607
+ }
3608
+ ]
3609
+ }
3610
+ }
3611
+ },
3612
+ {
3613
+ "id": "",
3614
+ "body": {
3615
+ "package": "himalaya",
3616
+ "type": "VStack",
3617
+ "props": {
3618
+ "spacing": 5,
3619
+ "alignment": "leading",
3620
+ "children": [
3621
+ {
3622
+ "id": "",
3623
+ "body": {
3624
+ "package": "himalaya",
3625
+ "type": "Text",
3626
+ "props": {
3627
+ "text": "Title",
3628
+ "style": "footnote",
3629
+ "color": "textSecondary"
3630
+ }
3631
+ }
3632
+ },
3633
+ {
3634
+ "id": "himi_account_settings.title",
3635
+ "body": {
3636
+ "package": "himalaya",
3637
+ "type": "TextField",
3638
+ "props": {
3639
+ "valuePath": "$service:himiBrandedAccountSettings.title",
3640
+ "placeholder": "Title",
3641
+ "autoCapitalization": "words",
3642
+ "onChange": {
3643
+ "actionId": "tier5.himiBrandedAccountSettings.setTitle"
3644
+ },
3645
+ "errorPath": "$service:himiBrandedAccountSettings.titleError"
3646
+ }
3647
+ }
3648
+ }
3649
+ ]
3650
+ }
3651
+ }
3652
+ },
3653
+ {
3654
+ "id": "",
3655
+ "body": {
3656
+ "package": "himalaya",
3657
+ "type": "Text",
3658
+ "props": {
3659
+ "text": "Personal info",
3660
+ "style": "title2"
3661
+ }
3662
+ }
3663
+ },
3664
+ {
3665
+ "id": "",
3666
+ "body": {
3667
+ "package": "himalaya",
3668
+ "type": "VStack",
3669
+ "props": {
3670
+ "spacing": 5,
3671
+ "alignment": "leading",
3672
+ "children": [
3673
+ {
3674
+ "id": "",
3675
+ "body": {
3676
+ "package": "himalaya",
3677
+ "type": "Text",
3678
+ "props": {
3679
+ "text": "First name",
3680
+ "style": "footnote",
3681
+ "color": "textSecondary"
3682
+ }
3683
+ }
3684
+ },
3685
+ {
3686
+ "id": "himi_account_settings.firstName",
3687
+ "body": {
3688
+ "package": "himalaya",
3689
+ "type": "TextField",
3690
+ "props": {
3691
+ "valuePath": "$service:himiBrandedAccountSettings.firstName",
3692
+ "placeholder": "First name",
3693
+ "autoCapitalization": "words",
3694
+ "onChange": {
3695
+ "actionId": "tier5.himiBrandedAccountSettings.setFirstName"
3696
+ },
3697
+ "errorPath": "$service:himiBrandedAccountSettings.firstNameError"
3698
+ }
3699
+ }
3700
+ }
3701
+ ]
3702
+ }
3703
+ }
3704
+ },
3705
+ {
3706
+ "id": "",
3707
+ "body": {
3708
+ "package": "himalaya",
3709
+ "type": "VStack",
3710
+ "props": {
3711
+ "spacing": 5,
3712
+ "alignment": "leading",
3713
+ "children": [
3714
+ {
3715
+ "id": "",
3716
+ "body": {
3717
+ "package": "himalaya",
3718
+ "type": "Text",
3719
+ "props": {
3720
+ "text": "Last name",
3721
+ "style": "footnote",
3722
+ "color": "textSecondary"
3723
+ }
3724
+ }
3725
+ },
3726
+ {
3727
+ "id": "himi_account_settings.lastName",
3728
+ "body": {
3729
+ "package": "himalaya",
3730
+ "type": "TextField",
3731
+ "props": {
3732
+ "valuePath": "$service:himiBrandedAccountSettings.lastName",
3733
+ "placeholder": "Last name",
3734
+ "autoCapitalization": "words",
3735
+ "onChange": {
3736
+ "actionId": "tier5.himiBrandedAccountSettings.setLastName"
3737
+ },
3738
+ "errorPath": "$service:himiBrandedAccountSettings.lastNameError"
3739
+ }
3740
+ }
3741
+ }
3742
+ ]
3743
+ }
3744
+ }
3745
+ },
3746
+ {
3747
+ "id": "",
3748
+ "body": {
3749
+ "package": "himalaya",
3750
+ "type": "VStack",
3751
+ "props": {
3752
+ "spacing": 5,
3753
+ "alignment": "leading",
3754
+ "children": [
3755
+ {
3756
+ "id": "",
3757
+ "body": {
3758
+ "package": "himalaya",
3759
+ "type": "Text",
3760
+ "props": {
3761
+ "text": "Phone",
3762
+ "style": "footnote",
3763
+ "color": "textSecondary"
3764
+ }
3765
+ }
3766
+ },
3767
+ {
3768
+ "id": "himi_account_settings.phone",
3769
+ "body": {
3770
+ "package": "himalaya",
3771
+ "type": "TextField",
3772
+ "props": {
3773
+ "valuePath": "$service:himiBrandedAccountSettings.phone",
3774
+ "placeholder": "Phone",
3775
+ "keyboard": "phone",
3776
+ "autoCapitalization": "words",
3777
+ "onChange": {
3778
+ "actionId": "tier5.himiBrandedAccountSettings.setPhone"
3779
+ },
3780
+ "errorPath": "$service:himiBrandedAccountSettings.phoneError"
3781
+ }
3782
+ }
3783
+ }
3784
+ ]
3785
+ }
3786
+ }
3787
+ },
3788
+ {
3789
+ "id": "",
3790
+ "body": {
3791
+ "package": "himalaya",
3792
+ "type": "Text",
3793
+ "props": {
3794
+ "text": "Clearing this field removes the primary phone number. Other saved numbers are kept.",
3795
+ "style": "caption",
3796
+ "color": "textSecondary"
3797
+ }
3798
+ }
3799
+ },
3800
+ {
3801
+ "id": "",
3802
+ "body": {
3803
+ "package": "himalaya",
3804
+ "type": "Text",
3805
+ "props": {
3806
+ "text": "Login info",
3807
+ "style": "title2"
3808
+ }
3809
+ }
3810
+ },
3811
+ {
3812
+ "id": "",
3813
+ "body": {
3814
+ "package": "himalaya",
3815
+ "type": "Text",
3816
+ "props": {
3817
+ "text": "Login email",
3818
+ "style": "footnote",
3819
+ "color": "textSecondary"
3820
+ }
3821
+ }
3822
+ },
3823
+ {
3824
+ "id": "himi_account_settings.login_email",
3825
+ "body": {
3826
+ "package": "himalaya",
3827
+ "type": "Text",
3828
+ "props": {
3829
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
3830
+ "style": "body"
3831
+ }
3832
+ }
3833
+ },
3834
+ {
3835
+ "id": "",
3836
+ "body": {
3837
+ "package": "himalaya",
3838
+ "type": "HStack",
3839
+ "props": {
3840
+ "spacing": 10,
3841
+ "children": [
3842
+ {
3843
+ "id": "himi_account_settings.change_email",
3844
+ "body": {
3845
+ "package": "himalaya",
3846
+ "type": "Button",
3847
+ "props": {
3848
+ "title": "Change email",
3849
+ "style": "secondary",
3850
+ "action": {
3851
+ "actionId": "tier5.himiBrandedAccountSettings.openEmailPanel"
3852
+ }
3853
+ }
3854
+ }
3855
+ },
3856
+ {
3857
+ "id": "himi_account_settings.change_password",
3858
+ "body": {
3859
+ "package": "himalaya",
3860
+ "type": "Button",
3861
+ "props": {
3862
+ "title": "Change password",
3863
+ "style": "primary",
3864
+ "action": {
3865
+ "actionId": "tier5.himiBrandedAccountSettings.openPasswordPanel"
3866
+ }
3867
+ }
3868
+ },
3869
+ "modifiers": {
3870
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPasswordCredentialSupport"
3871
+ }
3872
+ }
3873
+ ]
3874
+ }
3875
+ }
3876
+ },
3877
+ {
3878
+ "id": "",
3879
+ "body": {
3880
+ "package": "himalaya",
3881
+ "type": "VStack",
3882
+ "props": {
3883
+ "spacing": 8,
3884
+ "alignment": "leading",
3885
+ "children": [
3886
+ {
3887
+ "id": "",
3888
+ "body": {
3889
+ "package": "himalaya",
3890
+ "type": "Text",
3891
+ "props": {
3892
+ "text": "Update the app to change your password, or manage it on the website.",
3893
+ "style": "footnote",
3894
+ "color": "textSecondary"
3895
+ }
3896
+ },
3897
+ "modifiers": {
3898
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
3899
+ }
3900
+ },
3901
+ {
3902
+ "id": "",
3903
+ "body": {
3904
+ "package": "himalaya",
3905
+ "type": "Text",
3906
+ "props": {
3907
+ "text": "Update the app to change your password.",
3908
+ "style": "footnote",
3909
+ "color": "textSecondary"
3910
+ }
3911
+ },
3912
+ "modifiers": {
3913
+ "hiddenPath": "$service:himiBrandedAccountSettings.siteHandoff"
3914
+ }
3915
+ },
3916
+ {
3917
+ "id": "himi_account_settings.password_website",
3918
+ "body": {
3919
+ "package": "himalaya",
3920
+ "type": "Button",
3921
+ "props": {
3922
+ "title": "Visit website",
3923
+ "style": "secondary",
3924
+ "action": {
3925
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
3926
+ }
3927
+ }
3928
+ },
3929
+ "modifiers": {
3930
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
3931
+ }
3932
+ }
3933
+ ]
3934
+ }
3935
+ },
3936
+ "modifiers": {
3937
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordCredentialSupported"
3938
+ }
3939
+ },
3940
+ {
3941
+ "id": "",
3942
+ "body": {
3943
+ "package": "himalaya",
3944
+ "type": "Text",
3945
+ "props": {
3946
+ "text": "Profile URL",
3947
+ "style": "title2"
3948
+ }
3949
+ }
3950
+ },
3951
+ {
3952
+ "id": "himi_account_settings.profile_url",
3953
+ "body": {
3954
+ "package": "himalaya",
3955
+ "type": "Text",
3956
+ "props": {
3957
+ "text": "$service:himiBrandedAccountSettings.profileUrl",
3958
+ "style": "body",
3959
+ "collapseWhenEmpty": true
3960
+ }
3961
+ }
3962
+ },
3963
+ {
3964
+ "id": "",
3965
+ "body": {
3966
+ "package": "himalaya",
3967
+ "type": "Text",
3968
+ "props": {
3969
+ "text": "A public profile URL is not available for this site.",
3970
+ "style": "footnote",
3971
+ "color": "textSecondary"
3972
+ }
3973
+ },
3974
+ "modifiers": {
3975
+ "hiddenPath": "$service:himiBrandedAccountSettings.hasProfileUrl"
3976
+ }
3977
+ },
3978
+ {
3979
+ "id": "",
3980
+ "body": {
3981
+ "package": "himalaya",
3982
+ "type": "VStack",
3983
+ "props": {
3984
+ "spacing": 5,
3985
+ "alignment": "leading",
3986
+ "children": [
3987
+ {
3988
+ "id": "",
3989
+ "body": {
3990
+ "package": "himalaya",
3991
+ "type": "Text",
3992
+ "props": {
3993
+ "text": "Profile URL name",
3994
+ "style": "footnote",
3995
+ "color": "textSecondary"
3996
+ }
3997
+ }
3998
+ },
3999
+ {
4000
+ "id": "himi_account_settings.slug",
4001
+ "body": {
4002
+ "package": "himalaya",
4003
+ "type": "TextField",
4004
+ "props": {
4005
+ "valuePath": "$service:himiBrandedAccountSettings.slug",
4006
+ "placeholder": "Profile URL name",
4007
+ "autoCapitalization": "words",
4008
+ "onChange": {
4009
+ "actionId": "tier5.himiBrandedAccountSettings.setSlug"
4010
+ }
4011
+ }
4012
+ }
4013
+ }
4014
+ ]
4015
+ }
4016
+ }
4017
+ },
4018
+ {
4019
+ "id": "himi_account_settings.save_slug",
4020
+ "body": {
4021
+ "package": "himalaya",
4022
+ "type": "Button",
4023
+ "props": {
4024
+ "title": "Update profile URL",
4025
+ "style": "secondary",
4026
+ "action": {
4027
+ "actionId": "tier5.himiBrandedAccountSettings.saveSlug"
4028
+ }
4029
+ }
4030
+ }
4031
+ },
4032
+ {
4033
+ "id": "himi_account_settings.slug_message",
4034
+ "body": {
4035
+ "package": "himalaya",
4036
+ "type": "Text",
4037
+ "props": {
4038
+ "text": "$service:himiBrandedAccountSettings.slugMessage",
4039
+ "style": "footnote",
4040
+ "collapseWhenEmpty": true
4041
+ }
4042
+ }
4043
+ },
4044
+ {
4045
+ "id": "",
4046
+ "body": {
4047
+ "package": "himalaya",
4048
+ "type": "Text",
4049
+ "props": {
4050
+ "text": "Profile privacy",
4051
+ "style": "title2"
4052
+ }
4053
+ }
4054
+ },
4055
+ {
4056
+ "id": "himi_account_settings.privacy_action",
4057
+ "body": {
4058
+ "package": "himalaya",
4059
+ "type": "Button",
4060
+ "props": {
4061
+ "title": "$service:himiBrandedAccountSettings.privacyActionLabel",
4062
+ "style": "secondary",
4063
+ "action": {
4064
+ "actionId": "tier5.himiBrandedAccountSettings.requestPrivacyChange"
4065
+ }
4066
+ }
4067
+ },
4068
+ "modifiers": {
4069
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacyControlsUnavailable"
4070
+ }
4071
+ },
4072
+ {
4073
+ "id": "",
4074
+ "body": {
4075
+ "package": "himalaya",
4076
+ "type": "Text",
4077
+ "props": {
4078
+ "text": "Profile privacy controls are unavailable for this member account.",
4079
+ "style": "footnote",
4080
+ "color": "textSecondary"
4081
+ }
4082
+ },
4083
+ "modifiers": {
4084
+ "hiddenPath": "$service:himiBrandedAccountSettings.privacySupported"
4085
+ }
4086
+ },
4087
+ {
4088
+ "id": "himi_account_settings.privacy_confirmation",
4089
+ "body": {
4090
+ "package": "himalaya",
4091
+ "type": "VStack",
4092
+ "props": {
4093
+ "spacing": 8,
4094
+ "alignment": "leading",
4095
+ "children": [
4096
+ {
4097
+ "id": "",
4098
+ "body": {
4099
+ "package": "himalaya",
4100
+ "type": "Text",
4101
+ "props": {
4102
+ "text": "$service:himiBrandedAccountSettings.privacyPrompt",
4103
+ "style": "body"
4104
+ }
4105
+ }
4106
+ },
4107
+ {
4108
+ "id": "himi_account_settings.confirm_privacy",
4109
+ "body": {
4110
+ "package": "himalaya",
4111
+ "type": "Button",
4112
+ "props": {
4113
+ "title": "Confirm",
4114
+ "style": "primary",
4115
+ "action": {
4116
+ "actionId": "tier5.himiBrandedAccountSettings.setPrivate",
4117
+ "params": {
4118
+ "status": "$service:himiBrandedAccountSettings.pendingPrivacyStatus"
4119
+ }
4120
+ }
4121
+ }
4122
+ }
4123
+ },
4124
+ {
4125
+ "id": "himi_account_settings.cancel_privacy",
4126
+ "body": {
4127
+ "package": "himalaya",
4128
+ "type": "Button",
4129
+ "props": {
4130
+ "title": "Cancel",
4131
+ "style": "secondary",
4132
+ "action": {
4133
+ "actionId": "tier5.himiBrandedAccountSettings.cancelPrivacyChange"
4134
+ }
4135
+ }
4136
+ }
4137
+ }
4138
+ ]
4139
+ }
4140
+ },
4141
+ "modifiers": {
4142
+ "background": {
4143
+ "token": "surfaceElevated"
4144
+ },
4145
+ "border": {
4146
+ "width": 1,
4147
+ "color": {
4148
+ "token": "border"
4149
+ }
4150
+ },
4151
+ "cornerRadius": 16,
4152
+ "padding": {
4153
+ "leading": 16,
4154
+ "trailing": 16,
4155
+ "top": 16,
4156
+ "bottom": 16
4157
+ },
4158
+ "hiddenPath": "$service:himiBrandedAccountSettings.noPrivacyConfirm"
4159
+ }
4160
+ },
4161
+ {
4162
+ "id": "",
4163
+ "body": {
4164
+ "package": "himalaya",
4165
+ "type": "VStack",
4166
+ "props": {
4167
+ "spacing": 10,
4168
+ "alignment": "leading",
4169
+ "children": [
4170
+ {
4171
+ "id": "himi_account_settings.blocked.title",
4172
+ "body": {
4173
+ "package": "himalaya",
4174
+ "type": "Text",
4175
+ "props": {
4176
+ "text": "Blocked members",
4177
+ "style": "title2"
4178
+ }
4179
+ }
4180
+ },
4181
+ {
4182
+ "id": "",
4183
+ "body": {
4184
+ "package": "himalaya",
4185
+ "type": "Text",
4186
+ "props": {
4187
+ "text": "Loading blocked members…",
4188
+ "style": "footnote",
4189
+ "color": "textSecondary"
4190
+ }
4191
+ },
4192
+ "modifiers": {
4193
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notLoading"
4194
+ }
4195
+ },
4196
+ {
4197
+ "id": "",
4198
+ "body": {
4199
+ "package": "himalaya",
4200
+ "type": "VStack",
4201
+ "props": {
4202
+ "spacing": 8,
4203
+ "children": [
4204
+ {
4205
+ "id": "",
4206
+ "body": {
4207
+ "package": "himalaya",
4208
+ "type": "Text",
4209
+ "props": {
4210
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
4211
+ "style": "footnote",
4212
+ "color": "textSecondary"
4213
+ }
4214
+ }
4215
+ },
4216
+ {
4217
+ "id": "btn_tier5_himibrandedaccountblockedmembers_load",
4218
+ "body": {
4219
+ "package": "himalaya",
4220
+ "type": "Button",
4221
+ "props": {
4222
+ "title": "Try again",
4223
+ "style": "secondary",
4224
+ "action": {
4225
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
4226
+ }
4227
+ }
4228
+ }
4229
+ }
4230
+ ]
4231
+ }
4232
+ },
4233
+ "modifiers": {
4234
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.notErrored"
4235
+ }
4236
+ },
4237
+ {
4238
+ "id": "",
4239
+ "body": {
4240
+ "package": "himalaya",
4241
+ "type": "Text",
4242
+ "props": {
4243
+ "text": "You have no blocked members.",
4244
+ "style": "footnote",
4245
+ "color": "textSecondary"
4246
+ }
4247
+ },
4248
+ "modifiers": {
4249
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.hideEmpty"
4250
+ }
4251
+ },
4252
+ {
4253
+ "id": "",
4254
+ "body": {
4255
+ "package": "himalaya",
4256
+ "type": "LazyList",
4257
+ "props": {
4258
+ "spacing": 8,
4259
+ "itemsPath": "$service:himiBrandedAccountBlockedMembers.blockedMembers",
4260
+ "items": [
4261
+ {
4262
+ "id": "himi_account_settings.blocked.row.$item.memberId",
4263
+ "body": {
4264
+ "package": "himalaya",
4265
+ "type": "HStack",
4266
+ "props": {
4267
+ "spacing": 10,
4268
+ "children": [
4269
+ {
4270
+ "id": "",
4271
+ "body": {
4272
+ "package": "himalaya",
4273
+ "type": "Text",
4274
+ "props": {
4275
+ "text": "$item.label",
4276
+ "style": "body",
4277
+ "maxLines": 2
4278
+ }
4279
+ }
4280
+ },
4281
+ {
4282
+ "id": "btn_tier5_himibrandedaccountblockedmembers_requestunblock",
4283
+ "body": {
4284
+ "package": "himalaya",
4285
+ "type": "Button",
4286
+ "props": {
4287
+ "title": "Unblock",
4288
+ "style": "secondary",
4289
+ "action": {
4290
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.requestUnblock",
4291
+ "params": {
4292
+ "memberId": "$item.memberId"
4293
+ }
4294
+ }
4295
+ }
4296
+ }
4297
+ }
4298
+ ]
4299
+ }
4300
+ }
4301
+ }
4302
+ ]
4303
+ }
4304
+ },
4305
+ "modifiers": {
4306
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMembers"
4307
+ }
4308
+ },
4309
+ {
4310
+ "id": "himi_account_settings.blocked.load_more",
4311
+ "body": {
4312
+ "package": "himalaya",
4313
+ "type": "Button",
4314
+ "props": {
4315
+ "title": "Load more",
4316
+ "style": "secondary",
4317
+ "loading": false,
4318
+ "action": {
4319
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.loadMore"
4320
+ }
4321
+ }
4322
+ },
4323
+ "modifiers": {
4324
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noMore"
4325
+ }
4326
+ },
4327
+ {
4328
+ "id": "",
4329
+ "body": {
4330
+ "package": "himalaya",
4331
+ "type": "Text",
4332
+ "props": {
4333
+ "text": "$service:himiBrandedAccountBlockedMembers.message",
4334
+ "style": "footnote",
4335
+ "color": "textSecondary",
4336
+ "collapseWhenEmpty": true
4337
+ }
4338
+ }
4339
+ },
4340
+ {
4341
+ "id": "himi_account_settings.blocked.confirm",
4342
+ "body": {
4343
+ "package": "himalaya",
4344
+ "type": "VStack",
4345
+ "props": {
4346
+ "spacing": 8,
4347
+ "alignment": "leading",
4348
+ "children": [
4349
+ {
4350
+ "id": "",
4351
+ "body": {
4352
+ "package": "himalaya",
4353
+ "type": "Text",
4354
+ "props": {
4355
+ "text": "Unblock this member? They may be able to interact with your profile again.",
4356
+ "style": "body"
4357
+ }
4358
+ }
4359
+ },
4360
+ {
4361
+ "id": "",
4362
+ "body": {
4363
+ "package": "himalaya",
4364
+ "type": "Text",
4365
+ "props": {
4366
+ "text": "$service:himiBrandedAccountBlockedMembers.confirmMemberId",
4367
+ "style": "footnote",
4368
+ "color": "textSecondary"
4369
+ }
4370
+ }
4371
+ },
4372
+ {
4373
+ "id": "",
4374
+ "body": {
4375
+ "package": "himalaya",
4376
+ "type": "Text",
4377
+ "props": {
4378
+ "text": "$service:himiBrandedAccountBlockedMembers.errorText",
4379
+ "style": "footnote",
4380
+ "color": "textSecondary",
4381
+ "collapseWhenEmpty": true
4382
+ }
4383
+ }
4384
+ },
4385
+ {
4386
+ "id": "btn_tier5_himibrandedaccountblockedmembers_confirmunblock",
4387
+ "body": {
4388
+ "package": "himalaya",
4389
+ "type": "Button",
4390
+ "props": {
4391
+ "title": "Confirm unblock",
4392
+ "style": "primary",
4393
+ "action": {
4394
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.confirmUnblock"
4395
+ }
4396
+ }
4397
+ }
4398
+ },
4399
+ {
4400
+ "id": "btn_tier5_himibrandedaccountblockedmembers_cancelunblock",
4401
+ "body": {
4402
+ "package": "himalaya",
4403
+ "type": "Button",
4404
+ "props": {
4405
+ "title": "Cancel",
4406
+ "style": "secondary",
4407
+ "action": {
4408
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.cancelUnblock"
4409
+ }
4410
+ }
4411
+ }
4412
+ }
4413
+ ]
4414
+ }
4415
+ },
4416
+ "modifiers": {
4417
+ "background": {
4418
+ "token": "surfaceElevated"
4419
+ },
4420
+ "border": {
4421
+ "width": 1,
4422
+ "color": {
4423
+ "token": "border"
4424
+ }
4425
+ },
4426
+ "cornerRadius": 16,
4427
+ "padding": {
4428
+ "leading": 16,
4429
+ "trailing": 16,
4430
+ "top": 16,
4431
+ "bottom": 16
4432
+ },
4433
+ "hiddenPath": "$service:himiBrandedAccountBlockedMembers.noConfirm"
4434
+ }
4435
+ }
4436
+ ]
4437
+ }
4438
+ },
4439
+ "modifiers": {
4440
+ "onAppear": {
4441
+ "actionId": "tier5.himiBrandedAccountBlockedMembers.load"
4442
+ }
4443
+ }
4444
+ },
4445
+ {
4446
+ "id": "himi_account_settings.message",
4447
+ "body": {
4448
+ "package": "himalaya",
4449
+ "type": "Text",
4450
+ "props": {
4451
+ "text": "$service:himiBrandedAccountSettings.message",
4452
+ "style": "footnote",
4453
+ "color": "textSecondary",
4454
+ "collapseWhenEmpty": true
4455
+ }
4456
+ }
4457
+ },
4458
+ {
4459
+ "id": "",
4460
+ "body": {
4461
+ "package": "himalaya",
4462
+ "type": "HStack",
4463
+ "props": {
4464
+ "spacing": 10,
4465
+ "children": [
4466
+ {
4467
+ "id": "himi_account_settings.discard",
4468
+ "body": {
4469
+ "package": "himalaya",
4470
+ "type": "Button",
4471
+ "props": {
4472
+ "title": "Discard",
4473
+ "style": "secondary",
4474
+ "action": {
4475
+ "actionId": "tier5.himiBrandedAccountSettings.discard"
4476
+ }
4477
+ }
4478
+ }
4479
+ },
4480
+ {
4481
+ "id": "himi_account_settings.save",
4482
+ "body": {
4483
+ "package": "himalaya",
4484
+ "type": "Button",
4485
+ "props": {
4486
+ "title": "Update Info",
4487
+ "style": "primary",
4488
+ "disabledPath": "$service:himiBrandedAccountSettings.photoUploading",
4489
+ "action": {
4490
+ "actionId": "tier5.himiBrandedAccountSettings.save"
4491
+ }
4492
+ }
4493
+ }
4494
+ }
4495
+ ]
4496
+ }
4497
+ }
4498
+ },
4499
+ {
4500
+ "id": "himi_account_settings.password_sheet",
4501
+ "body": {
4502
+ "package": "himalaya",
4503
+ "type": "BottomSheet",
4504
+ "props": {
4505
+ "presentedPath": "$service:himiBrandedAccountSettings.passwordPanelOpen",
4506
+ "dismissible": true,
4507
+ "showGrabber": true,
4508
+ "onDismiss": {
4509
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
4510
+ },
4511
+ "content": {
4512
+ "id": "",
4513
+ "body": {
4514
+ "package": "himalaya",
4515
+ "type": "VStack",
4516
+ "props": {
4517
+ "spacing": 16,
4518
+ "alignment": "leading",
4519
+ "children": [
4520
+ {
4521
+ "id": "",
4522
+ "body": {
4523
+ "package": "himalaya",
4524
+ "type": "Text",
4525
+ "props": {
4526
+ "text": "Change password",
4527
+ "style": "title2"
4528
+ }
4529
+ }
4530
+ },
4531
+ {
4532
+ "id": "",
4533
+ "body": {
4534
+ "package": "himalaya",
4535
+ "type": "VStack",
4536
+ "props": {
4537
+ "spacing": 5,
4538
+ "alignment": "leading",
4539
+ "children": [
4540
+ {
4541
+ "id": "",
4542
+ "body": {
4543
+ "package": "himalaya",
4544
+ "type": "Text",
4545
+ "props": {
4546
+ "text": "Current password",
4547
+ "style": "footnote",
4548
+ "color": "textSecondary"
4549
+ }
4550
+ }
4551
+ },
4552
+ {
4553
+ "id": "himi_account_settings.passwordCurrent",
4554
+ "body": {
4555
+ "package": "himalaya",
4556
+ "type": "TextField",
4557
+ "props": {
4558
+ "valuePath": "$service:himiBrandedAccountSettings.passwordCurrent",
4559
+ "placeholder": "Current password",
4560
+ "secure": true,
4561
+ "autoCapitalization": "none",
4562
+ "onChange": {
4563
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordCurrent"
4564
+ }
4565
+ }
4566
+ }
4567
+ }
4568
+ ]
4569
+ }
4570
+ }
4571
+ },
4572
+ {
4573
+ "id": "",
4574
+ "body": {
4575
+ "package": "himalaya",
4576
+ "type": "VStack",
4577
+ "props": {
4578
+ "spacing": 5,
4579
+ "alignment": "leading",
4580
+ "children": [
4581
+ {
4582
+ "id": "",
4583
+ "body": {
4584
+ "package": "himalaya",
4585
+ "type": "Text",
4586
+ "props": {
4587
+ "text": "New password",
4588
+ "style": "footnote",
4589
+ "color": "textSecondary"
4590
+ }
4591
+ }
4592
+ },
4593
+ {
4594
+ "id": "himi_account_settings.passwordNew",
4595
+ "body": {
4596
+ "package": "himalaya",
4597
+ "type": "TextField",
4598
+ "props": {
4599
+ "valuePath": "$service:himiBrandedAccountSettings.passwordNew",
4600
+ "placeholder": "New password",
4601
+ "secure": true,
4602
+ "autoCapitalization": "none",
4603
+ "onChange": {
4604
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordNew"
4605
+ }
4606
+ }
4607
+ }
4608
+ }
4609
+ ]
4610
+ }
4611
+ }
4612
+ },
4613
+ {
4614
+ "id": "",
4615
+ "body": {
4616
+ "package": "himalaya",
4617
+ "type": "VStack",
4618
+ "props": {
4619
+ "spacing": 5,
4620
+ "alignment": "leading",
4621
+ "children": [
4622
+ {
4623
+ "id": "",
4624
+ "body": {
4625
+ "package": "himalaya",
4626
+ "type": "Text",
4627
+ "props": {
4628
+ "text": "Confirm new password",
4629
+ "style": "footnote",
4630
+ "color": "textSecondary"
4631
+ }
4632
+ }
4633
+ },
4634
+ {
4635
+ "id": "himi_account_settings.passwordConfirm",
4636
+ "body": {
4637
+ "package": "himalaya",
4638
+ "type": "TextField",
4639
+ "props": {
4640
+ "valuePath": "$service:himiBrandedAccountSettings.passwordConfirm",
4641
+ "placeholder": "Confirm new password",
4642
+ "secure": true,
4643
+ "autoCapitalization": "none",
4644
+ "onChange": {
4645
+ "actionId": "tier5.himiBrandedAccountSettings.setPasswordConfirm"
4646
+ }
4647
+ }
4648
+ }
4649
+ }
4650
+ ]
4651
+ }
4652
+ }
4653
+ },
4654
+ {
4655
+ "id": "",
4656
+ "body": {
4657
+ "package": "himalaya",
4658
+ "type": "Text",
4659
+ "props": {
4660
+ "text": "Changing password…",
4661
+ "style": "footnote",
4662
+ "color": "textSecondary"
4663
+ }
4664
+ },
4665
+ "modifiers": {
4666
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordChanging"
4667
+ }
4668
+ },
4669
+ {
4670
+ "id": "",
4671
+ "body": {
4672
+ "package": "himalaya",
4673
+ "type": "Text",
4674
+ "props": {
4675
+ "text": "Sending reset link…",
4676
+ "style": "footnote",
4677
+ "color": "textSecondary"
4678
+ }
4679
+ },
4680
+ "modifiers": {
4681
+ "hiddenPath": "$service:himiBrandedAccountSettings.notPasswordResetSending"
4682
+ }
4683
+ },
4684
+ {
4685
+ "id": "",
4686
+ "body": {
4687
+ "package": "himalaya",
4688
+ "type": "Text",
4689
+ "props": {
4690
+ "text": "$service:himiBrandedAccountSettings.passwordError",
4691
+ "style": "footnote",
4692
+ "color": "textSecondary"
4693
+ }
4694
+ },
4695
+ "modifiers": {
4696
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoError"
4697
+ }
4698
+ },
4699
+ {
4700
+ "id": "",
4701
+ "body": {
4702
+ "package": "himalaya",
4703
+ "type": "Text",
4704
+ "props": {
4705
+ "text": "$service:himiBrandedAccountSettings.passwordMessage",
4706
+ "style": "footnote",
4707
+ "color": "textSecondary"
4708
+ }
4709
+ },
4710
+ "modifiers": {
4711
+ "hiddenPath": "$service:himiBrandedAccountSettings.passwordNoMessage"
4712
+ }
4713
+ },
4714
+ {
4715
+ "id": "btn_tier5_himibrandedaccountsettings_changepassword",
4716
+ "body": {
4717
+ "package": "himalaya",
4718
+ "type": "Button",
4719
+ "props": {
4720
+ "title": "Change password",
4721
+ "style": "primary",
4722
+ "fullWidth": true,
4723
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
4724
+ "action": {
4725
+ "actionId": "tier5.himiBrandedAccountSettings.changePassword"
4726
+ }
4727
+ }
4728
+ }
4729
+ },
4730
+ {
4731
+ "id": "btn_tier5_himibrandedaccountsettings_resetpassword",
4732
+ "body": {
4733
+ "package": "himalaya",
4734
+ "type": "Button",
4735
+ "props": {
4736
+ "title": "Reset or create password by email",
4737
+ "style": "secondary",
4738
+ "fullWidth": true,
4739
+ "disabledPath": "$service:himiBrandedAccountSettings.passwordSaving",
4740
+ "action": {
4741
+ "actionId": "tier5.himiBrandedAccountSettings.resetPassword"
4742
+ }
4743
+ }
4744
+ }
4745
+ },
4746
+ {
4747
+ "id": "btn_tier5_himibrandedaccountsettings_closepasswordpanel",
4748
+ "body": {
4749
+ "package": "himalaya",
4750
+ "type": "Button",
4751
+ "props": {
4752
+ "title": "Cancel",
4753
+ "style": "plain",
4754
+ "action": {
4755
+ "actionId": "tier5.himiBrandedAccountSettings.closePasswordPanel"
4756
+ }
4757
+ }
4758
+ }
4759
+ }
4760
+ ]
4761
+ }
4762
+ },
4763
+ "modifiers": {
4764
+ "padding": {
4765
+ "leading": 20,
4766
+ "trailing": 20,
4767
+ "top": 20,
4768
+ "bottom": 24
4769
+ }
4770
+ }
4771
+ }
4772
+ }
4773
+ }
4774
+ },
4775
+ {
4776
+ "id": "himi_account_settings.email_sheet",
4777
+ "body": {
4778
+ "package": "himalaya",
4779
+ "type": "BottomSheet",
4780
+ "props": {
4781
+ "presentedPath": "$service:himiBrandedAccountSettings.emailPanelOpen",
4782
+ "dismissible": true,
4783
+ "showGrabber": true,
4784
+ "onDismiss": {
4785
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
4786
+ },
4787
+ "content": {
4788
+ "id": "",
4789
+ "body": {
4790
+ "package": "himalaya",
4791
+ "type": "VStack",
4792
+ "props": {
4793
+ "spacing": 16,
4794
+ "alignment": "leading",
4795
+ "children": [
4796
+ {
4797
+ "id": "",
4798
+ "body": {
4799
+ "package": "himalaya",
4800
+ "type": "Text",
4801
+ "props": {
4802
+ "text": "Change login email",
4803
+ "style": "title2"
4804
+ }
4805
+ }
4806
+ },
4807
+ {
4808
+ "id": "",
4809
+ "body": {
4810
+ "package": "himalaya",
4811
+ "type": "Text",
4812
+ "props": {
4813
+ "text": "$service:himiBrandedAccountSettings.loginEmail",
4814
+ "style": "bodyEmphasis"
4815
+ }
4816
+ }
4817
+ },
4818
+ {
4819
+ "id": "",
4820
+ "body": {
4821
+ "package": "himalaya",
4822
+ "type": "Text",
4823
+ "props": {
4824
+ "text": "Login email changes are not available in this app yet. Use your site's account management page to change it.",
4825
+ "style": "body",
4826
+ "color": "textSecondary"
4827
+ }
4828
+ }
4829
+ },
4830
+ {
4831
+ "id": "btn_tier5_himibrandedaccountsettings_opensite",
4832
+ "body": {
4833
+ "package": "himalaya",
4834
+ "type": "Button",
4835
+ "props": {
4836
+ "title": "Visit website",
4837
+ "style": "secondary",
4838
+ "fullWidth": true,
4839
+ "action": {
4840
+ "actionId": "tier5.himiBrandedAccountSettings.openSite"
4841
+ }
4842
+ }
4843
+ },
4844
+ "modifiers": {
4845
+ "hiddenPath": "$service:himiBrandedAccountSettings.noSiteHandoff"
4846
+ }
4847
+ },
4848
+ {
4849
+ "id": "btn_tier5_himibrandedaccountsettings_closeemailpanel",
4850
+ "body": {
4851
+ "package": "himalaya",
4852
+ "type": "Button",
4853
+ "props": {
4854
+ "title": "Close",
4855
+ "style": "plain",
4856
+ "action": {
4857
+ "actionId": "tier5.himiBrandedAccountSettings.closeEmailPanel"
4858
+ }
4859
+ }
4860
+ }
4861
+ }
4862
+ ]
4863
+ }
4864
+ },
4865
+ "modifiers": {
4866
+ "padding": {
4867
+ "leading": 20,
4868
+ "trailing": 20,
4869
+ "top": 20,
4870
+ "bottom": 24
4871
+ }
4872
+ }
4873
+ }
4874
+ }
4875
+ }
4876
+ }
4877
+ ]
4878
+ }
4879
+ },
4880
+ "modifiers": {
4881
+ "hiddenPath": "$service:himiBrandedAccountSettings.noMember"
4882
+ }
4883
+ }
4884
+ ]
4885
+ }
4886
+ },
4887
+ "modifiers": {
4888
+ "background": {
4889
+ "token": "surfacePrimary"
4890
+ },
4891
+ "padding": {
4892
+ "leading": 16,
4893
+ "trailing": 16,
4894
+ "top": 18,
4895
+ "bottom": 28
4896
+ },
4897
+ "onAppear": {
4898
+ "actionId": "tier5.himiBrandedAccountSettings.load",
4899
+ "params": {
4900
+ "siteUrl": "__HIMI_MEMBER_SITE_URL__",
4901
+ "photoUploadFunctionName": "__HIMI_MEMBER_PHOTO_UPLOAD_FUNCTION__"
4902
+ }
4903
+ }
4904
+ }
4905
+ },
4906
+ "logicBundle": {
4907
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-account-settings?integrity=",
4908
+ "integrity": "",
4909
+ "contentType": "application/javascript+ts-bundle",
4910
+ "declaredCapabilities": [
4911
+ "wix_api",
4912
+ "app_info",
4913
+ "open_url"
4914
+ ],
4915
+ "minBinaryVersion": "0.1.0",
4916
+ "bundleVersion": "0.0.1"
4917
+ }
4918
+ },
3169
4919
  "himi_app_info": {
3170
4920
  "screenId": "himi_app_info",
3171
4921
  "renderer": "sdui_intent",