@wix/himalaya-cli 0.1378.0 → 0.1380.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 (176) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/app-info/src/index.d.ts +4 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/ecom/src/extensions.d.ts +113 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/app-info.mjs +2 -1
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap-checkout.mjs +2 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +2 -1
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +77 -0
  7. package/dist/cli.mjs +23 -24
  8. package/dist/preview-assets.generated.bin +0 -0
  9. package/guides/importable-sdks.md +1 -1
  10. package/guides/sdk-reference.json +128 -2
  11. package/guides/wix-api-usage.md +2 -0
  12. package/package.json +2 -2
  13. package/templates/beauty-salon/config.ts +23 -0
  14. package/templates/beauty-salon/dev/index.ts +2611 -1
  15. package/templates/beauty-salon/himalaya.content.json +9 -0
  16. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  17. package/templates/beauty-salon/tier5-src/_shared/member-access.ts +14 -0
  18. package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +43 -0
  19. package/templates/beauty-salon/tier5-src/_shared/member-address.ts +129 -0
  20. package/templates/beauty-salon/tier5-src/_shared/saved-card.ts +20 -0
  21. package/templates/beauty-salon/tier5-src/himi-branded-lite-address/index.ts +223 -0
  22. package/templates/beauty-salon/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  23. package/templates/beauty-salon/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  24. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +17 -0
  25. package/templates/beauty-salon-owner/dev/index.ts +5 -27
  26. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +99 -40
  27. package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  28. package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  29. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  30. package/templates/branded-lite/config.ts +23 -0
  31. package/templates/branded-lite/dev/index.ts +2614 -2
  32. package/templates/branded-lite/himalaya.content.json +9 -0
  33. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  34. package/templates/branded-lite/tier5-src/_shared/member-access.ts +14 -0
  35. package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +43 -0
  36. package/templates/branded-lite/tier5-src/_shared/member-address.ts +129 -0
  37. package/templates/branded-lite/tier5-src/_shared/saved-card.ts +20 -0
  38. package/templates/branded-lite/tier5-src/himi-branded-lite-address/index.ts +223 -0
  39. package/templates/branded-lite/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  40. package/templates/branded-lite/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  41. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +17 -0
  42. package/templates/community-club/dev/index.ts +3 -1
  43. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  44. package/templates/community-club/tier5-src/_shared/member-access.ts +14 -0
  45. package/templates/community-club/tier5-src/_shared/member-account-routes.ts +43 -0
  46. package/templates/community-club/tier5-src/himi-store-account/index.ts +17 -0
  47. package/templates/community-club-owner/dev/index.ts +5 -27
  48. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +99 -40
  49. package/templates/community-club-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  50. package/templates/community-club-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  51. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  52. package/templates/events-meetups/dev/index.ts +3 -1
  53. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  54. package/templates/events-meetups/tier5-src/_shared/member-access.ts +14 -0
  55. package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +43 -0
  56. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +17 -0
  57. package/templates/events-meetups-owner/dev/index.ts +5 -27
  58. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +99 -40
  59. package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  60. package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  61. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  62. package/templates/gym-fitness/config.ts +23 -0
  63. package/templates/gym-fitness/dev/index.ts +2611 -1
  64. package/templates/gym-fitness/himalaya.content.json +9 -0
  65. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  66. package/templates/gym-fitness/tier5-src/_shared/member-access.ts +14 -0
  67. package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +43 -0
  68. package/templates/gym-fitness/tier5-src/_shared/member-address.ts +129 -0
  69. package/templates/gym-fitness/tier5-src/_shared/saved-card.ts +20 -0
  70. package/templates/gym-fitness/tier5-src/himi-branded-lite-address/index.ts +223 -0
  71. package/templates/gym-fitness/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  72. package/templates/gym-fitness/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  73. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +17 -0
  74. package/templates/gym-fitness-owner/dev/index.ts +5 -27
  75. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +99 -40
  76. package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  77. package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  78. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  79. package/templates/nonprofit-cause/config.ts +7 -0
  80. package/templates/nonprofit-cause/dev/index.ts +762 -1
  81. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  82. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  83. package/templates/nonprofit-cause/tier5-src/_shared/member-access.ts +14 -0
  84. package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +43 -0
  85. package/templates/nonprofit-cause/tier5-src/_shared/saved-card.ts +20 -0
  86. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  87. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +17 -0
  88. package/templates/nonprofit-cause-owner/dev/index.ts +5 -27
  89. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +99 -40
  90. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  91. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  92. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  93. package/templates/owner-lite/dev/index.ts +5 -27
  94. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +99 -40
  95. package/templates/owner-lite/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  96. package/templates/owner-lite/tier5-src/_shared/aria-widget-view.ts +6 -0
  97. package/templates/owner-lite/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  98. package/templates/podcast-creator/config.ts +7 -0
  99. package/templates/podcast-creator/dev/index.ts +762 -1
  100. package/templates/podcast-creator/himalaya.content.json +3 -0
  101. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  102. package/templates/podcast-creator/tier5-src/_shared/member-access.ts +14 -0
  103. package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +43 -0
  104. package/templates/podcast-creator/tier5-src/_shared/saved-card.ts +20 -0
  105. package/templates/podcast-creator/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  106. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +17 -0
  107. package/templates/podcast-creator-owner/dev/index.ts +5 -27
  108. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +99 -40
  109. package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  110. package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  111. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  112. package/templates/portfolio-creative/config.ts +23 -0
  113. package/templates/portfolio-creative/dev/index.ts +2611 -1
  114. package/templates/portfolio-creative/himalaya.content.json +9 -0
  115. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  116. package/templates/portfolio-creative/tier5-src/_shared/member-access.ts +14 -0
  117. package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +43 -0
  118. package/templates/portfolio-creative/tier5-src/_shared/member-address.ts +129 -0
  119. package/templates/portfolio-creative/tier5-src/_shared/saved-card.ts +20 -0
  120. package/templates/portfolio-creative/tier5-src/himi-branded-lite-address/index.ts +223 -0
  121. package/templates/portfolio-creative/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  122. package/templates/portfolio-creative/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  123. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +17 -0
  124. package/templates/portfolio-creative-owner/dev/index.ts +5 -27
  125. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +99 -40
  126. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  127. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  128. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  129. package/templates/restaurant/config.ts +23 -0
  130. package/templates/restaurant/dev/index.ts +2611 -1
  131. package/templates/restaurant/himalaya.content.json +9 -0
  132. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  133. package/templates/restaurant/tier5-src/_shared/member-access.ts +14 -0
  134. package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +43 -0
  135. package/templates/restaurant/tier5-src/_shared/member-address.ts +129 -0
  136. package/templates/restaurant/tier5-src/_shared/saved-card.ts +20 -0
  137. package/templates/restaurant/tier5-src/himi-branded-lite-address/index.ts +223 -0
  138. package/templates/restaurant/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  139. package/templates/restaurant/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  140. package/templates/restaurant/tier5-src/himi-store-account/index.ts +17 -0
  141. package/templates/restaurant-owner/dev/index.ts +5 -27
  142. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +99 -40
  143. package/templates/restaurant-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  144. package/templates/restaurant-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  145. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  146. package/templates/retail-store/config.ts +23 -0
  147. package/templates/retail-store/dev/index.ts +2611 -1
  148. package/templates/retail-store/himalaya.content.json +9 -0
  149. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  150. package/templates/retail-store/tier5-src/_shared/member-access.ts +14 -0
  151. package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +43 -0
  152. package/templates/retail-store/tier5-src/_shared/member-address.ts +129 -0
  153. package/templates/retail-store/tier5-src/_shared/saved-card.ts +20 -0
  154. package/templates/retail-store/tier5-src/himi-branded-lite-address/index.ts +223 -0
  155. package/templates/retail-store/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  156. package/templates/retail-store/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  157. package/templates/retail-store/tier5-src/himi-store-account/index.ts +17 -0
  158. package/templates/retail-store-owner/dev/index.ts +5 -27
  159. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +99 -40
  160. package/templates/retail-store-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  161. package/templates/retail-store-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  162. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  163. package/templates/yoga-studio/config.ts +7 -0
  164. package/templates/yoga-studio/dev/index.ts +762 -1
  165. package/templates/yoga-studio/himalaya.content.json +3 -0
  166. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  167. package/templates/yoga-studio/tier5-src/_shared/member-access.ts +14 -0
  168. package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +43 -0
  169. package/templates/yoga-studio/tier5-src/_shared/saved-card.ts +20 -0
  170. package/templates/yoga-studio/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  171. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +17 -0
  172. package/templates/yoga-studio-owner/dev/index.ts +5 -27
  173. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +99 -40
  174. package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  175. package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  176. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
@@ -2730,6 +2730,184 @@ const SCREENS = runtimeSetting({
2730
2730
  "accessibilityLabel": "My food orders"
2731
2731
  }
2732
2732
  },
2733
+ {
2734
+ "id": "himi_account.addresses",
2735
+ "body": {
2736
+ "package": "himalaya",
2737
+ "type": "HStack",
2738
+ "props": {
2739
+ "spacing": 12,
2740
+ "children": [
2741
+ {
2742
+ "id": "",
2743
+ "body": {
2744
+ "package": "himalaya",
2745
+ "type": "Icon",
2746
+ "props": {
2747
+ "name": "location",
2748
+ "size": 18,
2749
+ "tint": "accentPrimary"
2750
+ }
2751
+ },
2752
+ "modifiers": {
2753
+ "accessibilityRole": "decorative"
2754
+ }
2755
+ },
2756
+ {
2757
+ "id": "",
2758
+ "body": {
2759
+ "package": "himalaya",
2760
+ "type": "Text",
2761
+ "props": {
2762
+ "text": "My addresses",
2763
+ "style": "bodyEmphasis"
2764
+ }
2765
+ }
2766
+ },
2767
+ {
2768
+ "id": "",
2769
+ "body": {
2770
+ "package": "himalaya",
2771
+ "type": "Spacer",
2772
+ "props": {}
2773
+ }
2774
+ },
2775
+ {
2776
+ "id": "",
2777
+ "body": {
2778
+ "package": "himalaya",
2779
+ "type": "Icon",
2780
+ "props": {
2781
+ "name": "chevron_right",
2782
+ "size": 16,
2783
+ "tint": "textTertiary"
2784
+ }
2785
+ },
2786
+ "modifiers": {
2787
+ "accessibilityRole": "decorative"
2788
+ }
2789
+ }
2790
+ ]
2791
+ }
2792
+ },
2793
+ "modifiers": {
2794
+ "background": {
2795
+ "token": "surfaceElevated"
2796
+ },
2797
+ "border": {
2798
+ "width": 1,
2799
+ "color": {
2800
+ "token": "border"
2801
+ }
2802
+ },
2803
+ "cornerRadius": 8,
2804
+ "padding": {
2805
+ "leading": 14,
2806
+ "trailing": 14,
2807
+ "top": 13,
2808
+ "bottom": 13
2809
+ },
2810
+ "onTap": {
2811
+ "actionId": "himi.open",
2812
+ "params": {
2813
+ "screenId": "himi_addresses"
2814
+ }
2815
+ },
2816
+ "pressFeedback": "scale",
2817
+ "haptic": "light",
2818
+ "accessibilityLabel": "My addresses",
2819
+ "hiddenPath": "$service:himiStoreAccount.noMemberAddresses"
2820
+ }
2821
+ },
2822
+ {
2823
+ "id": "himi_account.wallet",
2824
+ "body": {
2825
+ "package": "himalaya",
2826
+ "type": "HStack",
2827
+ "props": {
2828
+ "spacing": 12,
2829
+ "children": [
2830
+ {
2831
+ "id": "",
2832
+ "body": {
2833
+ "package": "himalaya",
2834
+ "type": "Icon",
2835
+ "props": {
2836
+ "name": "lock",
2837
+ "size": 18,
2838
+ "tint": "accentPrimary"
2839
+ }
2840
+ },
2841
+ "modifiers": {
2842
+ "accessibilityRole": "decorative"
2843
+ }
2844
+ },
2845
+ {
2846
+ "id": "",
2847
+ "body": {
2848
+ "package": "himalaya",
2849
+ "type": "Text",
2850
+ "props": {
2851
+ "text": "My wallet",
2852
+ "style": "bodyEmphasis"
2853
+ }
2854
+ }
2855
+ },
2856
+ {
2857
+ "id": "",
2858
+ "body": {
2859
+ "package": "himalaya",
2860
+ "type": "Spacer",
2861
+ "props": {}
2862
+ }
2863
+ },
2864
+ {
2865
+ "id": "",
2866
+ "body": {
2867
+ "package": "himalaya",
2868
+ "type": "Icon",
2869
+ "props": {
2870
+ "name": "chevron_right",
2871
+ "size": 16,
2872
+ "tint": "textTertiary"
2873
+ }
2874
+ },
2875
+ "modifiers": {
2876
+ "accessibilityRole": "decorative"
2877
+ }
2878
+ }
2879
+ ]
2880
+ }
2881
+ },
2882
+ "modifiers": {
2883
+ "background": {
2884
+ "token": "surfaceElevated"
2885
+ },
2886
+ "border": {
2887
+ "width": 1,
2888
+ "color": {
2889
+ "token": "border"
2890
+ }
2891
+ },
2892
+ "cornerRadius": 8,
2893
+ "padding": {
2894
+ "leading": 14,
2895
+ "trailing": 14,
2896
+ "top": 13,
2897
+ "bottom": 13
2898
+ },
2899
+ "onTap": {
2900
+ "actionId": "himi.open",
2901
+ "params": {
2902
+ "screenId": "himi_wallet"
2903
+ }
2904
+ },
2905
+ "pressFeedback": "scale",
2906
+ "haptic": "light",
2907
+ "accessibilityLabel": "My wallet",
2908
+ "hiddenPath": "$service:himiStoreAccount.noMemberWallet"
2909
+ }
2910
+ },
2733
2911
  {
2734
2912
  "id": "himi_account.view_profile",
2735
2913
  "body": {
@@ -3260,6 +3438,7 @@ const SCREENS = runtimeSetting({
3260
3438
  "onAppear": {
3261
3439
  "actionId": "tier5.himiStoreAccount.refresh",
3262
3440
  "params": {
3441
+ "memberAccountLinks": "1",
3263
3442
  "copy": "{\"account.subtitle\":\"Reservations, RSVPs and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — reservations and RSVPs stay with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — reservations and RSVPs stay with you.\"}"
3264
3443
  }
3265
3444
  }
@@ -3270,7 +3449,8 @@ const SCREENS = runtimeSetting({
3270
3449
  "integrity": "",
3271
3450
  "contentType": "application/javascript+ts-bundle",
3272
3451
  "declaredCapabilities": [
3273
- "wix_api"
3452
+ "wix_api",
3453
+ "app_info"
3274
3454
  ],
3275
3455
  "minBinaryVersion": "0.2.0",
3276
3456
  "bundleVersion": "0.0.1"
@@ -4664,6 +4844,2436 @@ const SCREENS = runtimeSetting({
4664
4844
  "bundleVersion": "0.0.1"
4665
4845
  }
4666
4846
  },
4847
+ "himi_addresses": {
4848
+ "screenId": "himi_addresses",
4849
+ "renderer": "sdui_intent",
4850
+ "title": "",
4851
+ "schemaVersion": 1,
4852
+ "cacheControl": {
4853
+ "maxAge": 0,
4854
+ "staleWhileRevalidate": 0
4855
+ },
4856
+ "payload": {
4857
+ "id": "himi_addresses.root",
4858
+ "body": {
4859
+ "package": "himalaya",
4860
+ "type": "VStack",
4861
+ "props": {
4862
+ "spacing": 16,
4863
+ "alignment": "leading",
4864
+ "children": [
4865
+ {
4866
+ "id": "himi_addresses.title",
4867
+ "body": {
4868
+ "package": "himalaya",
4869
+ "type": "Text",
4870
+ "props": {
4871
+ "text": "My addresses",
4872
+ "style": "title1"
4873
+ }
4874
+ }
4875
+ },
4876
+ {
4877
+ "id": "",
4878
+ "body": {
4879
+ "package": "himalaya",
4880
+ "type": "Text",
4881
+ "props": {
4882
+ "text": "Saved for checkout and delivery.",
4883
+ "style": "body",
4884
+ "color": "textSecondary"
4885
+ }
4886
+ }
4887
+ },
4888
+ {
4889
+ "id": "himi_addresses.loading",
4890
+ "body": {
4891
+ "package": "himalaya",
4892
+ "type": "VStack",
4893
+ "props": {
4894
+ "spacing": 8,
4895
+ "alignment": "leading",
4896
+ "children": [
4897
+ {
4898
+ "id": "",
4899
+ "body": {
4900
+ "package": "himalaya",
4901
+ "type": "Text",
4902
+ "props": {
4903
+ "text": "Loading your addresses...",
4904
+ "style": "body",
4905
+ "color": "textSecondary"
4906
+ }
4907
+ }
4908
+ }
4909
+ ]
4910
+ }
4911
+ },
4912
+ "modifiers": {
4913
+ "background": {
4914
+ "token": "surfaceElevated"
4915
+ },
4916
+ "border": {
4917
+ "width": 1,
4918
+ "color": {
4919
+ "token": "border"
4920
+ }
4921
+ },
4922
+ "cornerRadius": 16,
4923
+ "padding": {
4924
+ "leading": 16,
4925
+ "trailing": 16,
4926
+ "top": 16,
4927
+ "bottom": 16
4928
+ },
4929
+ "hiddenPath": "$service:himiBrandedAddresses.notLoading"
4930
+ }
4931
+ },
4932
+ {
4933
+ "id": "himi_addresses.error",
4934
+ "body": {
4935
+ "package": "himalaya",
4936
+ "type": "VStack",
4937
+ "props": {
4938
+ "spacing": 8,
4939
+ "alignment": "leading",
4940
+ "children": [
4941
+ {
4942
+ "id": "",
4943
+ "body": {
4944
+ "package": "himalaya",
4945
+ "type": "Text",
4946
+ "props": {
4947
+ "text": "$service:himiBrandedAddresses.errorText",
4948
+ "style": "bodyEmphasis",
4949
+ "collapseWhenEmpty": true
4950
+ }
4951
+ }
4952
+ },
4953
+ {
4954
+ "id": "himi_addresses.retry",
4955
+ "body": {
4956
+ "package": "himalaya",
4957
+ "type": "Button",
4958
+ "props": {
4959
+ "title": "Try again",
4960
+ "style": "secondary",
4961
+ "action": {
4962
+ "actionId": "tier5.himiBrandedAddresses.retry"
4963
+ }
4964
+ }
4965
+ }
4966
+ }
4967
+ ]
4968
+ }
4969
+ },
4970
+ "modifiers": {
4971
+ "background": {
4972
+ "token": "surfaceElevated"
4973
+ },
4974
+ "border": {
4975
+ "width": 1,
4976
+ "color": {
4977
+ "token": "border"
4978
+ }
4979
+ },
4980
+ "cornerRadius": 16,
4981
+ "padding": {
4982
+ "leading": 16,
4983
+ "trailing": 16,
4984
+ "top": 16,
4985
+ "bottom": 16
4986
+ },
4987
+ "hiddenPath": "$service:himiBrandedAddresses.notErrored"
4988
+ }
4989
+ },
4990
+ {
4991
+ "id": "himi_addresses.message",
4992
+ "body": {
4993
+ "package": "himalaya",
4994
+ "type": "Text",
4995
+ "props": {
4996
+ "text": "$service:himiBrandedAddresses.message",
4997
+ "style": "footnote",
4998
+ "color": "textPrimary",
4999
+ "collapseWhenEmpty": true
5000
+ }
5001
+ }
5002
+ },
5003
+ {
5004
+ "id": "himi_addresses.list",
5005
+ "body": {
5006
+ "package": "himalaya",
5007
+ "type": "Grid",
5008
+ "props": {
5009
+ "columns": 1,
5010
+ "spacing": 10,
5011
+ "itemsPath": "$service:himiBrandedAddresses.rows",
5012
+ "items": [
5013
+ {
5014
+ "id": "",
5015
+ "body": {
5016
+ "package": "himalaya",
5017
+ "type": "VStack",
5018
+ "props": {
5019
+ "spacing": 6,
5020
+ "alignment": "leading",
5021
+ "children": [
5022
+ {
5023
+ "id": "",
5024
+ "body": {
5025
+ "package": "himalaya",
5026
+ "type": "HStack",
5027
+ "props": {
5028
+ "spacing": 8,
5029
+ "children": [
5030
+ {
5031
+ "id": "",
5032
+ "body": {
5033
+ "package": "himalaya",
5034
+ "type": "Text",
5035
+ "props": {
5036
+ "text": "$item.name",
5037
+ "style": "bodyEmphasis",
5038
+ "maxLines": 1
5039
+ }
5040
+ }
5041
+ },
5042
+ {
5043
+ "id": "",
5044
+ "body": {
5045
+ "package": "himalaya",
5046
+ "type": "Spacer",
5047
+ "props": {}
5048
+ }
5049
+ },
5050
+ {
5051
+ "id": "",
5052
+ "body": {
5053
+ "package": "himalaya",
5054
+ "type": "Text",
5055
+ "props": {
5056
+ "text": "Default",
5057
+ "style": "caption",
5058
+ "color": "accentPrimary"
5059
+ }
5060
+ },
5061
+ "modifiers": {
5062
+ "hiddenPath": "$item.notDefault"
5063
+ }
5064
+ }
5065
+ ]
5066
+ }
5067
+ }
5068
+ },
5069
+ {
5070
+ "id": "",
5071
+ "body": {
5072
+ "package": "himalaya",
5073
+ "type": "Text",
5074
+ "props": {
5075
+ "text": "$item.lines",
5076
+ "style": "body",
5077
+ "color": "textSecondary"
5078
+ }
5079
+ }
5080
+ },
5081
+ {
5082
+ "id": "",
5083
+ "body": {
5084
+ "package": "himalaya",
5085
+ "type": "Text",
5086
+ "props": {
5087
+ "text": "$item.phone",
5088
+ "style": "footnote",
5089
+ "color": "textSecondary",
5090
+ "collapseWhenEmpty": true
5091
+ }
5092
+ }
5093
+ },
5094
+ {
5095
+ "id": "",
5096
+ "body": {
5097
+ "package": "himalaya",
5098
+ "type": "HStack",
5099
+ "props": {
5100
+ "spacing": 8,
5101
+ "children": [
5102
+ {
5103
+ "id": "himi_addresses.edit",
5104
+ "body": {
5105
+ "package": "himalaya",
5106
+ "type": "Button",
5107
+ "props": {
5108
+ "title": "Edit",
5109
+ "style": "secondary",
5110
+ "size": "sm",
5111
+ "action": {
5112
+ "actionId": "tier5.himiBrandedAddresses.edit",
5113
+ "params": {
5114
+ "id": "$item.id"
5115
+ }
5116
+ }
5117
+ }
5118
+ }
5119
+ },
5120
+ {
5121
+ "id": "himi_addresses.set_default",
5122
+ "body": {
5123
+ "package": "himalaya",
5124
+ "type": "Button",
5125
+ "props": {
5126
+ "title": "Set as default",
5127
+ "style": "secondary",
5128
+ "size": "sm",
5129
+ "action": {
5130
+ "actionId": "tier5.himiBrandedAddresses.setDefault",
5131
+ "params": {
5132
+ "id": "$item.id"
5133
+ }
5134
+ }
5135
+ }
5136
+ },
5137
+ "modifiers": {
5138
+ "hiddenPath": "$item.isDefault"
5139
+ }
5140
+ },
5141
+ {
5142
+ "id": "himi_addresses.remove",
5143
+ "body": {
5144
+ "package": "himalaya",
5145
+ "type": "Button",
5146
+ "props": {
5147
+ "title": "Remove",
5148
+ "style": "secondary",
5149
+ "size": "sm",
5150
+ "action": {
5151
+ "actionId": "tier5.himiBrandedAddresses.askRemove",
5152
+ "params": {
5153
+ "id": "$item.id"
5154
+ }
5155
+ }
5156
+ }
5157
+ }
5158
+ }
5159
+ ]
5160
+ }
5161
+ },
5162
+ "modifiers": {
5163
+ "hiddenPath": "$item.hideActions"
5164
+ }
5165
+ },
5166
+ {
5167
+ "id": "",
5168
+ "body": {
5169
+ "package": "himalaya",
5170
+ "type": "VStack",
5171
+ "props": {
5172
+ "spacing": 8,
5173
+ "alignment": "leading",
5174
+ "children": [
5175
+ {
5176
+ "id": "",
5177
+ "body": {
5178
+ "package": "himalaya",
5179
+ "type": "Text",
5180
+ "props": {
5181
+ "text": "Remove this address?",
5182
+ "style": "footnote",
5183
+ "color": "textPrimary"
5184
+ }
5185
+ }
5186
+ },
5187
+ {
5188
+ "id": "",
5189
+ "body": {
5190
+ "package": "himalaya",
5191
+ "type": "HStack",
5192
+ "props": {
5193
+ "spacing": 8,
5194
+ "children": [
5195
+ {
5196
+ "id": "himi_addresses.remove_confirm",
5197
+ "body": {
5198
+ "package": "himalaya",
5199
+ "type": "Button",
5200
+ "props": {
5201
+ "title": "Remove",
5202
+ "style": "destructive",
5203
+ "size": "sm",
5204
+ "action": {
5205
+ "actionId": "tier5.himiBrandedAddresses.remove",
5206
+ "params": {
5207
+ "id": "$item.id"
5208
+ }
5209
+ }
5210
+ }
5211
+ }
5212
+ },
5213
+ {
5214
+ "id": "himi_addresses.keep",
5215
+ "body": {
5216
+ "package": "himalaya",
5217
+ "type": "Button",
5218
+ "props": {
5219
+ "title": "Keep",
5220
+ "style": "secondary",
5221
+ "size": "sm",
5222
+ "action": {
5223
+ "actionId": "tier5.himiBrandedAddresses.keep"
5224
+ }
5225
+ }
5226
+ }
5227
+ }
5228
+ ]
5229
+ }
5230
+ }
5231
+ }
5232
+ ]
5233
+ }
5234
+ },
5235
+ "modifiers": {
5236
+ "hiddenPath": "$item.notConfirming"
5237
+ }
5238
+ }
5239
+ ]
5240
+ }
5241
+ },
5242
+ "modifiers": {
5243
+ "background": {
5244
+ "token": "surfaceElevated"
5245
+ },
5246
+ "border": {
5247
+ "width": 1,
5248
+ "color": {
5249
+ "token": "border"
5250
+ }
5251
+ },
5252
+ "cornerRadius": 8,
5253
+ "padding": {
5254
+ "leading": 14,
5255
+ "trailing": 14,
5256
+ "top": 14,
5257
+ "bottom": 14
5258
+ },
5259
+ "fillMaxWidth": true
5260
+ }
5261
+ }
5262
+ ]
5263
+ }
5264
+ },
5265
+ "modifiers": {
5266
+ "hiddenPath": "$service:himiBrandedAddresses.hideList"
5267
+ }
5268
+ },
5269
+ {
5270
+ "id": "himi_addresses.empty",
5271
+ "body": {
5272
+ "package": "himalaya",
5273
+ "type": "VStack",
5274
+ "props": {
5275
+ "spacing": 8,
5276
+ "alignment": "leading",
5277
+ "children": [
5278
+ {
5279
+ "id": "",
5280
+ "body": {
5281
+ "package": "himalaya",
5282
+ "type": "Icon",
5283
+ "props": {
5284
+ "name": "location",
5285
+ "size": 28,
5286
+ "tint": "textTertiary"
5287
+ }
5288
+ },
5289
+ "modifiers": {
5290
+ "accessibilityRole": "decorative"
5291
+ }
5292
+ },
5293
+ {
5294
+ "id": "",
5295
+ "body": {
5296
+ "package": "himalaya",
5297
+ "type": "Text",
5298
+ "props": {
5299
+ "text": "No saved addresses yet",
5300
+ "style": "bodyEmphasis"
5301
+ }
5302
+ }
5303
+ },
5304
+ {
5305
+ "id": "",
5306
+ "body": {
5307
+ "package": "himalaya",
5308
+ "type": "Text",
5309
+ "props": {
5310
+ "text": "Add an address to check out faster.",
5311
+ "style": "footnote",
5312
+ "color": "textSecondary"
5313
+ }
5314
+ }
5315
+ }
5316
+ ]
5317
+ }
5318
+ },
5319
+ "modifiers": {
5320
+ "background": {
5321
+ "token": "surfaceElevated"
5322
+ },
5323
+ "border": {
5324
+ "width": 1,
5325
+ "color": {
5326
+ "token": "border"
5327
+ }
5328
+ },
5329
+ "cornerRadius": 16,
5330
+ "padding": {
5331
+ "leading": 16,
5332
+ "trailing": 16,
5333
+ "top": 16,
5334
+ "bottom": 16
5335
+ },
5336
+ "fillMaxWidth": true,
5337
+ "hiddenPath": "$service:himiBrandedAddresses.noEmpty"
5338
+ }
5339
+ },
5340
+ {
5341
+ "id": "himi_addresses.add",
5342
+ "body": {
5343
+ "package": "himalaya",
5344
+ "type": "Button",
5345
+ "props": {
5346
+ "title": "Add address",
5347
+ "style": "primary",
5348
+ "fullWidth": true,
5349
+ "leadingIcon": "plus",
5350
+ "action": {
5351
+ "actionId": "tier5.himiBrandedAddresses.add"
5352
+ }
5353
+ }
5354
+ },
5355
+ "modifiers": {
5356
+ "hiddenPath": "$service:himiBrandedAddresses.hideAdd"
5357
+ }
5358
+ },
5359
+ {
5360
+ "id": "himi_addresses.member_gate",
5361
+ "body": {
5362
+ "package": "himalaya",
5363
+ "type": "VStack",
5364
+ "props": {
5365
+ "spacing": 10,
5366
+ "alignment": "center",
5367
+ "children": [
5368
+ {
5369
+ "id": "",
5370
+ "body": {
5371
+ "package": "himalaya",
5372
+ "type": "Icon",
5373
+ "props": {
5374
+ "name": "person",
5375
+ "size": 28,
5376
+ "tint": "accentPrimary"
5377
+ }
5378
+ },
5379
+ "modifiers": {
5380
+ "accessibilityRole": "decorative"
5381
+ }
5382
+ },
5383
+ {
5384
+ "id": "himi_addresses.member_gate_title",
5385
+ "body": {
5386
+ "package": "himalaya",
5387
+ "type": "Text",
5388
+ "props": {
5389
+ "text": "Sign in to see your addresses",
5390
+ "style": "bodyEmphasis"
5391
+ }
5392
+ }
5393
+ },
5394
+ {
5395
+ "id": "",
5396
+ "body": {
5397
+ "package": "himalaya",
5398
+ "type": "Text",
5399
+ "props": {
5400
+ "text": "Your saved addresses appear here after you sign in.",
5401
+ "style": "footnote",
5402
+ "color": "textSecondary"
5403
+ }
5404
+ }
5405
+ },
5406
+ {
5407
+ "id": "himi_addresses.member_gate_signin",
5408
+ "body": {
5409
+ "package": "himalaya",
5410
+ "type": "Button",
5411
+ "props": {
5412
+ "title": "Sign in",
5413
+ "style": "primary",
5414
+ "fullWidth": true,
5415
+ "action": {
5416
+ "actionId": "himi.open",
5417
+ "params": {
5418
+ "screenId": "himi_account",
5419
+ "intent": "addresses",
5420
+ "returnScreenId": "himi_addresses"
5421
+ }
5422
+ }
5423
+ }
5424
+ }
5425
+ }
5426
+ ]
5427
+ }
5428
+ },
5429
+ "modifiers": {
5430
+ "background": {
5431
+ "token": "surfaceElevated"
5432
+ },
5433
+ "border": {
5434
+ "width": 1,
5435
+ "color": {
5436
+ "token": "border"
5437
+ }
5438
+ },
5439
+ "cornerRadius": 16,
5440
+ "padding": {
5441
+ "leading": 16,
5442
+ "trailing": 16,
5443
+ "top": 20,
5444
+ "bottom": 20
5445
+ },
5446
+ "fillMaxWidth": true,
5447
+ "hiddenPath": "$service:himiBrandedAddresses.noSignIn"
5448
+ }
5449
+ },
5450
+ {
5451
+ "id": "himi_addresses.unavailable",
5452
+ "body": {
5453
+ "package": "himalaya",
5454
+ "type": "VStack",
5455
+ "props": {
5456
+ "spacing": 8,
5457
+ "alignment": "leading",
5458
+ "children": [
5459
+ {
5460
+ "id": "",
5461
+ "body": {
5462
+ "package": "himalaya",
5463
+ "type": "Icon",
5464
+ "props": {
5465
+ "name": "location",
5466
+ "size": 28,
5467
+ "tint": "textTertiary"
5468
+ }
5469
+ },
5470
+ "modifiers": {
5471
+ "accessibilityRole": "decorative"
5472
+ }
5473
+ },
5474
+ {
5475
+ "id": "",
5476
+ "body": {
5477
+ "package": "himalaya",
5478
+ "type": "Text",
5479
+ "props": {
5480
+ "text": "Manage your addresses in the app",
5481
+ "style": "bodyEmphasis"
5482
+ }
5483
+ }
5484
+ },
5485
+ {
5486
+ "id": "",
5487
+ "body": {
5488
+ "package": "himalaya",
5489
+ "type": "Text",
5490
+ "props": {
5491
+ "text": "Your saved addresses are available in the mobile app.",
5492
+ "style": "footnote",
5493
+ "color": "textSecondary"
5494
+ }
5495
+ }
5496
+ }
5497
+ ]
5498
+ }
5499
+ },
5500
+ "modifiers": {
5501
+ "background": {
5502
+ "token": "surfaceElevated"
5503
+ },
5504
+ "border": {
5505
+ "width": 1,
5506
+ "color": {
5507
+ "token": "border"
5508
+ }
5509
+ },
5510
+ "cornerRadius": 16,
5511
+ "padding": {
5512
+ "leading": 16,
5513
+ "trailing": 16,
5514
+ "top": 16,
5515
+ "bottom": 16
5516
+ },
5517
+ "fillMaxWidth": true,
5518
+ "hiddenPath": "$service:himiBrandedAddresses.noUnavailable"
5519
+ }
5520
+ }
5521
+ ]
5522
+ }
5523
+ },
5524
+ "modifiers": {
5525
+ "background": {
5526
+ "token": "surfacePrimary"
5527
+ },
5528
+ "padding": {
5529
+ "leading": 16,
5530
+ "trailing": 16,
5531
+ "top": 18,
5532
+ "bottom": 28
5533
+ },
5534
+ "onAppear": {
5535
+ "actionId": "tier5.himiBrandedAddresses.load"
5536
+ }
5537
+ }
5538
+ },
5539
+ "logicBundle": {
5540
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-addresses?integrity=",
5541
+ "integrity": "",
5542
+ "contentType": "application/javascript+ts-bundle",
5543
+ "declaredCapabilities": [
5544
+ "wix_api",
5545
+ "app_info"
5546
+ ],
5547
+ "minBinaryVersion": "0.1.0",
5548
+ "bundleVersion": "0.0.1"
5549
+ }
5550
+ },
5551
+ "himi_address": {
5552
+ "screenId": "himi_address",
5553
+ "renderer": "sdui_intent",
5554
+ "title": "",
5555
+ "schemaVersion": 1,
5556
+ "cacheControl": {
5557
+ "maxAge": 0,
5558
+ "staleWhileRevalidate": 0
5559
+ },
5560
+ "payload": {
5561
+ "id": "himi_address.root",
5562
+ "body": {
5563
+ "package": "himalaya",
5564
+ "type": "VStack",
5565
+ "props": {
5566
+ "spacing": 16,
5567
+ "alignment": "leading",
5568
+ "children": [
5569
+ {
5570
+ "id": "himi_address.title",
5571
+ "body": {
5572
+ "package": "himalaya",
5573
+ "type": "Text",
5574
+ "props": {
5575
+ "text": "$service:himiBrandedAddress.title",
5576
+ "style": "title1"
5577
+ }
5578
+ }
5579
+ },
5580
+ {
5581
+ "id": "himi_address.loading",
5582
+ "body": {
5583
+ "package": "himalaya",
5584
+ "type": "VStack",
5585
+ "props": {
5586
+ "spacing": 8,
5587
+ "alignment": "leading",
5588
+ "children": [
5589
+ {
5590
+ "id": "",
5591
+ "body": {
5592
+ "package": "himalaya",
5593
+ "type": "Text",
5594
+ "props": {
5595
+ "text": "Loading address...",
5596
+ "style": "body",
5597
+ "color": "textSecondary"
5598
+ }
5599
+ }
5600
+ }
5601
+ ]
5602
+ }
5603
+ },
5604
+ "modifiers": {
5605
+ "background": {
5606
+ "token": "surfaceElevated"
5607
+ },
5608
+ "border": {
5609
+ "width": 1,
5610
+ "color": {
5611
+ "token": "border"
5612
+ }
5613
+ },
5614
+ "cornerRadius": 16,
5615
+ "padding": {
5616
+ "leading": 16,
5617
+ "trailing": 16,
5618
+ "top": 16,
5619
+ "bottom": 16
5620
+ },
5621
+ "hiddenPath": "$service:himiBrandedAddress.notLoading"
5622
+ }
5623
+ },
5624
+ {
5625
+ "id": "himi_address.error",
5626
+ "body": {
5627
+ "package": "himalaya",
5628
+ "type": "VStack",
5629
+ "props": {
5630
+ "spacing": 8,
5631
+ "alignment": "leading",
5632
+ "children": [
5633
+ {
5634
+ "id": "",
5635
+ "body": {
5636
+ "package": "himalaya",
5637
+ "type": "Text",
5638
+ "props": {
5639
+ "text": "$service:himiBrandedAddress.message",
5640
+ "style": "bodyEmphasis",
5641
+ "collapseWhenEmpty": true
5642
+ }
5643
+ }
5644
+ },
5645
+ {
5646
+ "id": "himi_address.retry",
5647
+ "body": {
5648
+ "package": "himalaya",
5649
+ "type": "Button",
5650
+ "props": {
5651
+ "title": "Try again",
5652
+ "style": "secondary",
5653
+ "action": {
5654
+ "actionId": "tier5.himiBrandedAddress.retry"
5655
+ }
5656
+ }
5657
+ }
5658
+ }
5659
+ ]
5660
+ }
5661
+ },
5662
+ "modifiers": {
5663
+ "background": {
5664
+ "token": "surfaceElevated"
5665
+ },
5666
+ "border": {
5667
+ "width": 1,
5668
+ "color": {
5669
+ "token": "border"
5670
+ }
5671
+ },
5672
+ "cornerRadius": 16,
5673
+ "padding": {
5674
+ "leading": 16,
5675
+ "trailing": 16,
5676
+ "top": 16,
5677
+ "bottom": 16
5678
+ },
5679
+ "hiddenPath": "$service:himiBrandedAddress.notErrored"
5680
+ }
5681
+ },
5682
+ {
5683
+ "id": "",
5684
+ "body": {
5685
+ "package": "himalaya",
5686
+ "type": "VStack",
5687
+ "props": {
5688
+ "spacing": 12,
5689
+ "alignment": "leading",
5690
+ "children": [
5691
+ {
5692
+ "id": "himi_address.recipient",
5693
+ "body": {
5694
+ "package": "himalaya",
5695
+ "type": "VStack",
5696
+ "props": {
5697
+ "spacing": 8,
5698
+ "alignment": "leading",
5699
+ "children": [
5700
+ {
5701
+ "id": "",
5702
+ "body": {
5703
+ "package": "himalaya",
5704
+ "type": "VStack",
5705
+ "props": {
5706
+ "spacing": 4,
5707
+ "alignment": "leading",
5708
+ "children": [
5709
+ {
5710
+ "id": "",
5711
+ "body": {
5712
+ "package": "himalaya",
5713
+ "type": "Text",
5714
+ "props": {
5715
+ "text": "First name",
5716
+ "style": "caption",
5717
+ "color": "textSecondary"
5718
+ }
5719
+ }
5720
+ },
5721
+ {
5722
+ "id": "himi_address.firstName",
5723
+ "body": {
5724
+ "package": "himalaya",
5725
+ "type": "TextField",
5726
+ "props": {
5727
+ "valuePath": "$service:himiBrandedAddress.firstName",
5728
+ "autoCapitalization": "words",
5729
+ "onChange": {
5730
+ "actionId": "tier5.himiBrandedAddress.setFirstName"
5731
+ }
5732
+ }
5733
+ },
5734
+ "modifiers": {
5735
+ "accessibilityLabel": "First name"
5736
+ }
5737
+ }
5738
+ ]
5739
+ }
5740
+ }
5741
+ },
5742
+ {
5743
+ "id": "",
5744
+ "body": {
5745
+ "package": "himalaya",
5746
+ "type": "VStack",
5747
+ "props": {
5748
+ "spacing": 4,
5749
+ "alignment": "leading",
5750
+ "children": [
5751
+ {
5752
+ "id": "",
5753
+ "body": {
5754
+ "package": "himalaya",
5755
+ "type": "Text",
5756
+ "props": {
5757
+ "text": "Last name",
5758
+ "style": "caption",
5759
+ "color": "textSecondary"
5760
+ }
5761
+ }
5762
+ },
5763
+ {
5764
+ "id": "himi_address.lastName",
5765
+ "body": {
5766
+ "package": "himalaya",
5767
+ "type": "TextField",
5768
+ "props": {
5769
+ "valuePath": "$service:himiBrandedAddress.lastName",
5770
+ "autoCapitalization": "words",
5771
+ "onChange": {
5772
+ "actionId": "tier5.himiBrandedAddress.setLastName"
5773
+ }
5774
+ }
5775
+ },
5776
+ "modifiers": {
5777
+ "accessibilityLabel": "Last name"
5778
+ }
5779
+ }
5780
+ ]
5781
+ }
5782
+ }
5783
+ },
5784
+ {
5785
+ "id": "",
5786
+ "body": {
5787
+ "package": "himalaya",
5788
+ "type": "VStack",
5789
+ "props": {
5790
+ "spacing": 4,
5791
+ "alignment": "leading",
5792
+ "children": [
5793
+ {
5794
+ "id": "",
5795
+ "body": {
5796
+ "package": "himalaya",
5797
+ "type": "Text",
5798
+ "props": {
5799
+ "text": "Company",
5800
+ "style": "caption",
5801
+ "color": "textSecondary"
5802
+ }
5803
+ }
5804
+ },
5805
+ {
5806
+ "id": "himi_address.company",
5807
+ "body": {
5808
+ "package": "himalaya",
5809
+ "type": "TextField",
5810
+ "props": {
5811
+ "placeholder": "Optional",
5812
+ "valuePath": "$service:himiBrandedAddress.company",
5813
+ "autoCapitalization": "words",
5814
+ "onChange": {
5815
+ "actionId": "tier5.himiBrandedAddress.setCompany"
5816
+ }
5817
+ }
5818
+ },
5819
+ "modifiers": {
5820
+ "accessibilityLabel": "Company"
5821
+ }
5822
+ }
5823
+ ]
5824
+ }
5825
+ }
5826
+ },
5827
+ {
5828
+ "id": "",
5829
+ "body": {
5830
+ "package": "himalaya",
5831
+ "type": "VStack",
5832
+ "props": {
5833
+ "spacing": 4,
5834
+ "alignment": "leading",
5835
+ "children": [
5836
+ {
5837
+ "id": "",
5838
+ "body": {
5839
+ "package": "himalaya",
5840
+ "type": "Text",
5841
+ "props": {
5842
+ "text": "Phone",
5843
+ "style": "caption",
5844
+ "color": "textSecondary"
5845
+ }
5846
+ }
5847
+ },
5848
+ {
5849
+ "id": "himi_address.phoneNumber",
5850
+ "body": {
5851
+ "package": "himalaya",
5852
+ "type": "TextField",
5853
+ "props": {
5854
+ "placeholder": "Optional",
5855
+ "valuePath": "$service:himiBrandedAddress.phoneNumber",
5856
+ "autoCapitalization": "none",
5857
+ "keyboard": "phone",
5858
+ "onChange": {
5859
+ "actionId": "tier5.himiBrandedAddress.setPhoneNumber"
5860
+ }
5861
+ }
5862
+ },
5863
+ "modifiers": {
5864
+ "accessibilityLabel": "Phone"
5865
+ }
5866
+ }
5867
+ ]
5868
+ }
5869
+ }
5870
+ }
5871
+ ]
5872
+ }
5873
+ },
5874
+ "modifiers": {
5875
+ "background": {
5876
+ "token": "surfaceElevated"
5877
+ },
5878
+ "border": {
5879
+ "width": 1,
5880
+ "color": {
5881
+ "token": "border"
5882
+ }
5883
+ },
5884
+ "cornerRadius": 16,
5885
+ "padding": {
5886
+ "leading": 16,
5887
+ "trailing": 16,
5888
+ "top": 16,
5889
+ "bottom": 16
5890
+ },
5891
+ "fillMaxWidth": true
5892
+ }
5893
+ },
5894
+ {
5895
+ "id": "himi_address.postal",
5896
+ "body": {
5897
+ "package": "himalaya",
5898
+ "type": "VStack",
5899
+ "props": {
5900
+ "spacing": 8,
5901
+ "alignment": "leading",
5902
+ "children": [
5903
+ {
5904
+ "id": "",
5905
+ "body": {
5906
+ "package": "himalaya",
5907
+ "type": "VStack",
5908
+ "props": {
5909
+ "spacing": 4,
5910
+ "alignment": "leading",
5911
+ "children": [
5912
+ {
5913
+ "id": "",
5914
+ "body": {
5915
+ "package": "himalaya",
5916
+ "type": "Text",
5917
+ "props": {
5918
+ "text": "Address",
5919
+ "style": "caption",
5920
+ "color": "textSecondary"
5921
+ }
5922
+ }
5923
+ },
5924
+ {
5925
+ "id": "himi_address.addressLine1",
5926
+ "body": {
5927
+ "package": "himalaya",
5928
+ "type": "TextField",
5929
+ "props": {
5930
+ "placeholder": "Street and number",
5931
+ "valuePath": "$service:himiBrandedAddress.addressLine1",
5932
+ "autoCapitalization": "words",
5933
+ "onChange": {
5934
+ "actionId": "tier5.himiBrandedAddress.setAddressLine1"
5935
+ }
5936
+ }
5937
+ },
5938
+ "modifiers": {
5939
+ "accessibilityLabel": "Address"
5940
+ }
5941
+ }
5942
+ ]
5943
+ }
5944
+ }
5945
+ },
5946
+ {
5947
+ "id": "",
5948
+ "body": {
5949
+ "package": "himalaya",
5950
+ "type": "VStack",
5951
+ "props": {
5952
+ "spacing": 4,
5953
+ "alignment": "leading",
5954
+ "children": [
5955
+ {
5956
+ "id": "",
5957
+ "body": {
5958
+ "package": "himalaya",
5959
+ "type": "Text",
5960
+ "props": {
5961
+ "text": "Apartment, suite, etc.",
5962
+ "style": "caption",
5963
+ "color": "textSecondary"
5964
+ }
5965
+ }
5966
+ },
5967
+ {
5968
+ "id": "himi_address.addressLine2",
5969
+ "body": {
5970
+ "package": "himalaya",
5971
+ "type": "TextField",
5972
+ "props": {
5973
+ "placeholder": "Optional",
5974
+ "valuePath": "$service:himiBrandedAddress.addressLine2",
5975
+ "autoCapitalization": "words",
5976
+ "onChange": {
5977
+ "actionId": "tier5.himiBrandedAddress.setAddressLine2"
5978
+ }
5979
+ }
5980
+ },
5981
+ "modifiers": {
5982
+ "accessibilityLabel": "Apartment, suite, etc."
5983
+ }
5984
+ }
5985
+ ]
5986
+ }
5987
+ }
5988
+ },
5989
+ {
5990
+ "id": "",
5991
+ "body": {
5992
+ "package": "himalaya",
5993
+ "type": "VStack",
5994
+ "props": {
5995
+ "spacing": 4,
5996
+ "alignment": "leading",
5997
+ "children": [
5998
+ {
5999
+ "id": "",
6000
+ "body": {
6001
+ "package": "himalaya",
6002
+ "type": "Text",
6003
+ "props": {
6004
+ "text": "City",
6005
+ "style": "caption",
6006
+ "color": "textSecondary"
6007
+ }
6008
+ }
6009
+ },
6010
+ {
6011
+ "id": "himi_address.city",
6012
+ "body": {
6013
+ "package": "himalaya",
6014
+ "type": "TextField",
6015
+ "props": {
6016
+ "valuePath": "$service:himiBrandedAddress.city",
6017
+ "autoCapitalization": "words",
6018
+ "onChange": {
6019
+ "actionId": "tier5.himiBrandedAddress.setCity"
6020
+ }
6021
+ }
6022
+ },
6023
+ "modifiers": {
6024
+ "accessibilityLabel": "City"
6025
+ }
6026
+ }
6027
+ ]
6028
+ }
6029
+ }
6030
+ },
6031
+ {
6032
+ "id": "",
6033
+ "body": {
6034
+ "package": "himalaya",
6035
+ "type": "VStack",
6036
+ "props": {
6037
+ "spacing": 4,
6038
+ "alignment": "leading",
6039
+ "children": [
6040
+ {
6041
+ "id": "",
6042
+ "body": {
6043
+ "package": "himalaya",
6044
+ "type": "Text",
6045
+ "props": {
6046
+ "text": "State / region",
6047
+ "style": "caption",
6048
+ "color": "textSecondary"
6049
+ }
6050
+ }
6051
+ },
6052
+ {
6053
+ "id": "himi_address.subdivision",
6054
+ "body": {
6055
+ "package": "himalaya",
6056
+ "type": "TextField",
6057
+ "props": {
6058
+ "placeholder": "For example, NY",
6059
+ "valuePath": "$service:himiBrandedAddress.subdivision",
6060
+ "autoCapitalization": "characters",
6061
+ "onChange": {
6062
+ "actionId": "tier5.himiBrandedAddress.setSubdivision"
6063
+ }
6064
+ }
6065
+ },
6066
+ "modifiers": {
6067
+ "accessibilityLabel": "State / region"
6068
+ }
6069
+ }
6070
+ ]
6071
+ }
6072
+ }
6073
+ },
6074
+ {
6075
+ "id": "",
6076
+ "body": {
6077
+ "package": "himalaya",
6078
+ "type": "VStack",
6079
+ "props": {
6080
+ "spacing": 4,
6081
+ "alignment": "leading",
6082
+ "children": [
6083
+ {
6084
+ "id": "",
6085
+ "body": {
6086
+ "package": "himalaya",
6087
+ "type": "Text",
6088
+ "props": {
6089
+ "text": "ZIP / postal code",
6090
+ "style": "caption",
6091
+ "color": "textSecondary"
6092
+ }
6093
+ }
6094
+ },
6095
+ {
6096
+ "id": "himi_address.zipCode",
6097
+ "body": {
6098
+ "package": "himalaya",
6099
+ "type": "TextField",
6100
+ "props": {
6101
+ "valuePath": "$service:himiBrandedAddress.zipCode",
6102
+ "autoCapitalization": "characters",
6103
+ "onChange": {
6104
+ "actionId": "tier5.himiBrandedAddress.setZipCode"
6105
+ }
6106
+ }
6107
+ },
6108
+ "modifiers": {
6109
+ "accessibilityLabel": "ZIP / postal code"
6110
+ }
6111
+ }
6112
+ ]
6113
+ }
6114
+ }
6115
+ },
6116
+ {
6117
+ "id": "",
6118
+ "body": {
6119
+ "package": "himalaya",
6120
+ "type": "VStack",
6121
+ "props": {
6122
+ "spacing": 4,
6123
+ "alignment": "leading",
6124
+ "children": [
6125
+ {
6126
+ "id": "",
6127
+ "body": {
6128
+ "package": "himalaya",
6129
+ "type": "Text",
6130
+ "props": {
6131
+ "text": "Country code",
6132
+ "style": "caption",
6133
+ "color": "textSecondary"
6134
+ }
6135
+ }
6136
+ },
6137
+ {
6138
+ "id": "himi_address.country",
6139
+ "body": {
6140
+ "package": "himalaya",
6141
+ "type": "TextField",
6142
+ "props": {
6143
+ "placeholder": "For example, US",
6144
+ "valuePath": "$service:himiBrandedAddress.country",
6145
+ "autoCapitalization": "characters",
6146
+ "onChange": {
6147
+ "actionId": "tier5.himiBrandedAddress.setCountry"
6148
+ }
6149
+ }
6150
+ },
6151
+ "modifiers": {
6152
+ "accessibilityLabel": "Country code"
6153
+ }
6154
+ }
6155
+ ]
6156
+ }
6157
+ }
6158
+ }
6159
+ ]
6160
+ }
6161
+ },
6162
+ "modifiers": {
6163
+ "background": {
6164
+ "token": "surfaceElevated"
6165
+ },
6166
+ "border": {
6167
+ "width": 1,
6168
+ "color": {
6169
+ "token": "border"
6170
+ }
6171
+ },
6172
+ "cornerRadius": 16,
6173
+ "padding": {
6174
+ "leading": 16,
6175
+ "trailing": 16,
6176
+ "top": 16,
6177
+ "bottom": 16
6178
+ },
6179
+ "fillMaxWidth": true
6180
+ }
6181
+ },
6182
+ {
6183
+ "id": "himi_address.make_default",
6184
+ "body": {
6185
+ "package": "himalaya",
6186
+ "type": "Toggle",
6187
+ "props": {
6188
+ "label": "Use as my default address",
6189
+ "valuePath": "$service:himiBrandedAddress.makeDefault",
6190
+ "onChange": {
6191
+ "actionId": "tier5.himiBrandedAddress.setMakeDefault"
6192
+ }
6193
+ }
6194
+ },
6195
+ "modifiers": {
6196
+ "hiddenPath": "$service:himiBrandedAddress.hideDefaultToggle"
6197
+ }
6198
+ },
6199
+ {
6200
+ "id": "himi_address.message",
6201
+ "body": {
6202
+ "package": "himalaya",
6203
+ "type": "Text",
6204
+ "props": {
6205
+ "text": "$service:himiBrandedAddress.message",
6206
+ "style": "footnote",
6207
+ "color": "textPrimary",
6208
+ "collapseWhenEmpty": true
6209
+ }
6210
+ }
6211
+ },
6212
+ {
6213
+ "id": "himi_address.save",
6214
+ "body": {
6215
+ "package": "himalaya",
6216
+ "type": "Button",
6217
+ "props": {
6218
+ "title": "Save address",
6219
+ "style": "primary",
6220
+ "fullWidth": true,
6221
+ "action": {
6222
+ "actionId": "tier5.himiBrandedAddress.save"
6223
+ }
6224
+ }
6225
+ }
6226
+ },
6227
+ {
6228
+ "id": "himi_address.remove",
6229
+ "body": {
6230
+ "package": "himalaya",
6231
+ "type": "Button",
6232
+ "props": {
6233
+ "title": "Remove address",
6234
+ "style": "secondary",
6235
+ "fullWidth": true,
6236
+ "action": {
6237
+ "actionId": "tier5.himiBrandedAddress.askRemove"
6238
+ }
6239
+ }
6240
+ },
6241
+ "modifiers": {
6242
+ "hiddenPath": "$service:himiBrandedAddress.hideRemove"
6243
+ }
6244
+ },
6245
+ {
6246
+ "id": "himi_address.remove_card",
6247
+ "body": {
6248
+ "package": "himalaya",
6249
+ "type": "VStack",
6250
+ "props": {
6251
+ "spacing": 8,
6252
+ "alignment": "leading",
6253
+ "children": [
6254
+ {
6255
+ "id": "",
6256
+ "body": {
6257
+ "package": "himalaya",
6258
+ "type": "Text",
6259
+ "props": {
6260
+ "text": "Remove this address?",
6261
+ "style": "bodyEmphasis"
6262
+ }
6263
+ }
6264
+ },
6265
+ {
6266
+ "id": "himi_address.remove_confirm",
6267
+ "body": {
6268
+ "package": "himalaya",
6269
+ "type": "Button",
6270
+ "props": {
6271
+ "title": "Remove address",
6272
+ "style": "destructive",
6273
+ "fullWidth": true,
6274
+ "action": {
6275
+ "actionId": "tier5.himiBrandedAddress.remove"
6276
+ }
6277
+ }
6278
+ }
6279
+ },
6280
+ {
6281
+ "id": "himi_address.keep",
6282
+ "body": {
6283
+ "package": "himalaya",
6284
+ "type": "Button",
6285
+ "props": {
6286
+ "title": "Keep",
6287
+ "style": "secondary",
6288
+ "fullWidth": true,
6289
+ "action": {
6290
+ "actionId": "tier5.himiBrandedAddress.keep"
6291
+ }
6292
+ }
6293
+ }
6294
+ }
6295
+ ]
6296
+ }
6297
+ },
6298
+ "modifiers": {
6299
+ "background": {
6300
+ "token": "surfaceElevated"
6301
+ },
6302
+ "border": {
6303
+ "width": 1,
6304
+ "color": {
6305
+ "token": "border"
6306
+ }
6307
+ },
6308
+ "cornerRadius": 16,
6309
+ "padding": {
6310
+ "leading": 16,
6311
+ "trailing": 16,
6312
+ "top": 16,
6313
+ "bottom": 16
6314
+ },
6315
+ "fillMaxWidth": true,
6316
+ "hiddenPath": "$service:himiBrandedAddress.hideRemoveConfirm"
6317
+ }
6318
+ }
6319
+ ]
6320
+ }
6321
+ },
6322
+ "modifiers": {
6323
+ "hiddenPath": "$service:himiBrandedAddress.hideForm"
6324
+ }
6325
+ },
6326
+ {
6327
+ "id": "himi_address.not_found",
6328
+ "body": {
6329
+ "package": "himalaya",
6330
+ "type": "VStack",
6331
+ "props": {
6332
+ "spacing": 10,
6333
+ "alignment": "center",
6334
+ "children": [
6335
+ {
6336
+ "id": "",
6337
+ "body": {
6338
+ "package": "himalaya",
6339
+ "type": "Icon",
6340
+ "props": {
6341
+ "name": "location",
6342
+ "size": 32,
6343
+ "tint": "textTertiary"
6344
+ }
6345
+ },
6346
+ "modifiers": {
6347
+ "accessibilityRole": "decorative"
6348
+ }
6349
+ },
6350
+ {
6351
+ "id": "himi_address.not_found_title",
6352
+ "body": {
6353
+ "package": "himalaya",
6354
+ "type": "Text",
6355
+ "props": {
6356
+ "text": "Address not found",
6357
+ "style": "title3"
6358
+ }
6359
+ }
6360
+ },
6361
+ {
6362
+ "id": "",
6363
+ "body": {
6364
+ "package": "himalaya",
6365
+ "type": "Text",
6366
+ "props": {
6367
+ "text": "It may have been removed.",
6368
+ "style": "body",
6369
+ "color": "textSecondary"
6370
+ }
6371
+ }
6372
+ },
6373
+ {
6374
+ "id": "himi_address.not_found_back",
6375
+ "body": {
6376
+ "package": "himalaya",
6377
+ "type": "Button",
6378
+ "props": {
6379
+ "title": "Back to addresses",
6380
+ "style": "primary",
6381
+ "fullWidth": true,
6382
+ "action": {
6383
+ "actionId": "himi.open",
6384
+ "params": {
6385
+ "screenId": "himi_addresses"
6386
+ }
6387
+ }
6388
+ }
6389
+ }
6390
+ }
6391
+ ]
6392
+ }
6393
+ },
6394
+ "modifiers": {
6395
+ "background": {
6396
+ "token": "surfaceElevated"
6397
+ },
6398
+ "border": {
6399
+ "width": 1,
6400
+ "color": {
6401
+ "token": "border"
6402
+ }
6403
+ },
6404
+ "cornerRadius": 16,
6405
+ "padding": {
6406
+ "leading": 16,
6407
+ "trailing": 16,
6408
+ "top": 20,
6409
+ "bottom": 20
6410
+ },
6411
+ "fillMaxWidth": true,
6412
+ "hiddenPath": "$service:himiBrandedAddress.hideNotFound"
6413
+ }
6414
+ },
6415
+ {
6416
+ "id": "himi_address.member_gate",
6417
+ "body": {
6418
+ "package": "himalaya",
6419
+ "type": "VStack",
6420
+ "props": {
6421
+ "spacing": 10,
6422
+ "alignment": "center",
6423
+ "children": [
6424
+ {
6425
+ "id": "",
6426
+ "body": {
6427
+ "package": "himalaya",
6428
+ "type": "Icon",
6429
+ "props": {
6430
+ "name": "person",
6431
+ "size": 28,
6432
+ "tint": "accentPrimary"
6433
+ }
6434
+ },
6435
+ "modifiers": {
6436
+ "accessibilityRole": "decorative"
6437
+ }
6438
+ },
6439
+ {
6440
+ "id": "himi_address.member_gate_title",
6441
+ "body": {
6442
+ "package": "himalaya",
6443
+ "type": "Text",
6444
+ "props": {
6445
+ "text": "Sign in to see your addresses",
6446
+ "style": "bodyEmphasis"
6447
+ }
6448
+ }
6449
+ },
6450
+ {
6451
+ "id": "",
6452
+ "body": {
6453
+ "package": "himalaya",
6454
+ "type": "Text",
6455
+ "props": {
6456
+ "text": "Your saved addresses appear here after you sign in.",
6457
+ "style": "footnote",
6458
+ "color": "textSecondary"
6459
+ }
6460
+ }
6461
+ },
6462
+ {
6463
+ "id": "himi_address.member_gate_signin",
6464
+ "body": {
6465
+ "package": "himalaya",
6466
+ "type": "Button",
6467
+ "props": {
6468
+ "title": "Sign in",
6469
+ "style": "primary",
6470
+ "fullWidth": true,
6471
+ "action": {
6472
+ "actionId": "himi.open",
6473
+ "params": {
6474
+ "screenId": "himi_account",
6475
+ "intent": "addresses",
6476
+ "returnScreenId": "himi_address"
6477
+ }
6478
+ }
6479
+ }
6480
+ }
6481
+ }
6482
+ ]
6483
+ }
6484
+ },
6485
+ "modifiers": {
6486
+ "background": {
6487
+ "token": "surfaceElevated"
6488
+ },
6489
+ "border": {
6490
+ "width": 1,
6491
+ "color": {
6492
+ "token": "border"
6493
+ }
6494
+ },
6495
+ "cornerRadius": 16,
6496
+ "padding": {
6497
+ "leading": 16,
6498
+ "trailing": 16,
6499
+ "top": 20,
6500
+ "bottom": 20
6501
+ },
6502
+ "fillMaxWidth": true,
6503
+ "hiddenPath": "$service:himiBrandedAddress.noSignIn"
6504
+ }
6505
+ },
6506
+ {
6507
+ "id": "himi_address.unavailable",
6508
+ "body": {
6509
+ "package": "himalaya",
6510
+ "type": "VStack",
6511
+ "props": {
6512
+ "spacing": 8,
6513
+ "alignment": "leading",
6514
+ "children": [
6515
+ {
6516
+ "id": "",
6517
+ "body": {
6518
+ "package": "himalaya",
6519
+ "type": "Icon",
6520
+ "props": {
6521
+ "name": "location",
6522
+ "size": 28,
6523
+ "tint": "textTertiary"
6524
+ }
6525
+ },
6526
+ "modifiers": {
6527
+ "accessibilityRole": "decorative"
6528
+ }
6529
+ },
6530
+ {
6531
+ "id": "",
6532
+ "body": {
6533
+ "package": "himalaya",
6534
+ "type": "Text",
6535
+ "props": {
6536
+ "text": "Manage your addresses in the app",
6537
+ "style": "bodyEmphasis"
6538
+ }
6539
+ }
6540
+ },
6541
+ {
6542
+ "id": "",
6543
+ "body": {
6544
+ "package": "himalaya",
6545
+ "type": "Text",
6546
+ "props": {
6547
+ "text": "Your saved addresses are available in the mobile app.",
6548
+ "style": "footnote",
6549
+ "color": "textSecondary"
6550
+ }
6551
+ }
6552
+ }
6553
+ ]
6554
+ }
6555
+ },
6556
+ "modifiers": {
6557
+ "background": {
6558
+ "token": "surfaceElevated"
6559
+ },
6560
+ "border": {
6561
+ "width": 1,
6562
+ "color": {
6563
+ "token": "border"
6564
+ }
6565
+ },
6566
+ "cornerRadius": 16,
6567
+ "padding": {
6568
+ "leading": 16,
6569
+ "trailing": 16,
6570
+ "top": 16,
6571
+ "bottom": 16
6572
+ },
6573
+ "fillMaxWidth": true,
6574
+ "hiddenPath": "$service:himiBrandedAddress.noUnavailable"
6575
+ }
6576
+ }
6577
+ ]
6578
+ }
6579
+ },
6580
+ "modifiers": {
6581
+ "background": {
6582
+ "token": "surfacePrimary"
6583
+ },
6584
+ "padding": {
6585
+ "leading": 16,
6586
+ "trailing": 16,
6587
+ "top": 18,
6588
+ "bottom": 28
6589
+ },
6590
+ "onAppear": {
6591
+ "actionId": "tier5.himiBrandedAddress.load"
6592
+ }
6593
+ }
6594
+ },
6595
+ "logicBundle": {
6596
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-address?integrity=",
6597
+ "integrity": "",
6598
+ "contentType": "application/javascript+ts-bundle",
6599
+ "declaredCapabilities": [
6600
+ "wix_api",
6601
+ "app_info"
6602
+ ],
6603
+ "minBinaryVersion": "0.1.0",
6604
+ "bundleVersion": "0.0.1"
6605
+ }
6606
+ },
6607
+ "himi_wallet": {
6608
+ "screenId": "himi_wallet",
6609
+ "renderer": "sdui_intent",
6610
+ "title": "",
6611
+ "schemaVersion": 1,
6612
+ "cacheControl": {
6613
+ "maxAge": 0,
6614
+ "staleWhileRevalidate": 0
6615
+ },
6616
+ "payload": {
6617
+ "id": "himi_wallet.root",
6618
+ "body": {
6619
+ "package": "himalaya",
6620
+ "type": "VStack",
6621
+ "props": {
6622
+ "spacing": 16,
6623
+ "alignment": "leading",
6624
+ "children": [
6625
+ {
6626
+ "id": "himi_wallet.title",
6627
+ "body": {
6628
+ "package": "himalaya",
6629
+ "type": "Text",
6630
+ "props": {
6631
+ "text": "My wallet",
6632
+ "style": "title1"
6633
+ }
6634
+ }
6635
+ },
6636
+ {
6637
+ "id": "",
6638
+ "body": {
6639
+ "package": "himalaya",
6640
+ "type": "Text",
6641
+ "props": {
6642
+ "text": "Cards you saved at checkout.",
6643
+ "style": "body",
6644
+ "color": "textSecondary"
6645
+ }
6646
+ }
6647
+ },
6648
+ {
6649
+ "id": "himi_wallet.loading",
6650
+ "body": {
6651
+ "package": "himalaya",
6652
+ "type": "VStack",
6653
+ "props": {
6654
+ "spacing": 8,
6655
+ "alignment": "leading",
6656
+ "children": [
6657
+ {
6658
+ "id": "",
6659
+ "body": {
6660
+ "package": "himalaya",
6661
+ "type": "Text",
6662
+ "props": {
6663
+ "text": "Loading your saved cards...",
6664
+ "style": "body",
6665
+ "color": "textSecondary"
6666
+ }
6667
+ }
6668
+ }
6669
+ ]
6670
+ }
6671
+ },
6672
+ "modifiers": {
6673
+ "background": {
6674
+ "token": "surfaceElevated"
6675
+ },
6676
+ "border": {
6677
+ "width": 1,
6678
+ "color": {
6679
+ "token": "border"
6680
+ }
6681
+ },
6682
+ "cornerRadius": 16,
6683
+ "padding": {
6684
+ "leading": 16,
6685
+ "trailing": 16,
6686
+ "top": 16,
6687
+ "bottom": 16
6688
+ },
6689
+ "hiddenPath": "$service:himiBrandedWallet.notLoading"
6690
+ }
6691
+ },
6692
+ {
6693
+ "id": "himi_wallet.error",
6694
+ "body": {
6695
+ "package": "himalaya",
6696
+ "type": "VStack",
6697
+ "props": {
6698
+ "spacing": 8,
6699
+ "alignment": "leading",
6700
+ "children": [
6701
+ {
6702
+ "id": "",
6703
+ "body": {
6704
+ "package": "himalaya",
6705
+ "type": "Text",
6706
+ "props": {
6707
+ "text": "$service:himiBrandedWallet.errorText",
6708
+ "style": "bodyEmphasis",
6709
+ "collapseWhenEmpty": true
6710
+ }
6711
+ }
6712
+ },
6713
+ {
6714
+ "id": "himi_wallet.retry",
6715
+ "body": {
6716
+ "package": "himalaya",
6717
+ "type": "Button",
6718
+ "props": {
6719
+ "title": "Try again",
6720
+ "style": "secondary",
6721
+ "action": {
6722
+ "actionId": "tier5.himiBrandedWallet.retry"
6723
+ }
6724
+ }
6725
+ }
6726
+ }
6727
+ ]
6728
+ }
6729
+ },
6730
+ "modifiers": {
6731
+ "background": {
6732
+ "token": "surfaceElevated"
6733
+ },
6734
+ "border": {
6735
+ "width": 1,
6736
+ "color": {
6737
+ "token": "border"
6738
+ }
6739
+ },
6740
+ "cornerRadius": 16,
6741
+ "padding": {
6742
+ "leading": 16,
6743
+ "trailing": 16,
6744
+ "top": 16,
6745
+ "bottom": 16
6746
+ },
6747
+ "hiddenPath": "$service:himiBrandedWallet.notErrored"
6748
+ }
6749
+ },
6750
+ {
6751
+ "id": "himi_wallet.message",
6752
+ "body": {
6753
+ "package": "himalaya",
6754
+ "type": "Text",
6755
+ "props": {
6756
+ "text": "$service:himiBrandedWallet.message",
6757
+ "style": "footnote",
6758
+ "color": "textPrimary",
6759
+ "collapseWhenEmpty": true
6760
+ }
6761
+ }
6762
+ },
6763
+ {
6764
+ "id": "himi_wallet.list",
6765
+ "body": {
6766
+ "package": "himalaya",
6767
+ "type": "Grid",
6768
+ "props": {
6769
+ "columns": 1,
6770
+ "spacing": 10,
6771
+ "itemsPath": "$service:himiBrandedWallet.rows",
6772
+ "items": [
6773
+ {
6774
+ "id": "",
6775
+ "body": {
6776
+ "package": "himalaya",
6777
+ "type": "VStack",
6778
+ "props": {
6779
+ "spacing": 6,
6780
+ "alignment": "leading",
6781
+ "children": [
6782
+ {
6783
+ "id": "",
6784
+ "body": {
6785
+ "package": "himalaya",
6786
+ "type": "HStack",
6787
+ "props": {
6788
+ "spacing": 8,
6789
+ "children": [
6790
+ {
6791
+ "id": "",
6792
+ "body": {
6793
+ "package": "himalaya",
6794
+ "type": "Icon",
6795
+ "props": {
6796
+ "name": "lock",
6797
+ "size": 18,
6798
+ "tint": "accentPrimary"
6799
+ }
6800
+ },
6801
+ "modifiers": {
6802
+ "accessibilityRole": "decorative"
6803
+ }
6804
+ },
6805
+ {
6806
+ "id": "",
6807
+ "body": {
6808
+ "package": "himalaya",
6809
+ "type": "Text",
6810
+ "props": {
6811
+ "text": "$item.title",
6812
+ "style": "bodyEmphasis",
6813
+ "maxLines": 1
6814
+ }
6815
+ }
6816
+ },
6817
+ {
6818
+ "id": "",
6819
+ "body": {
6820
+ "package": "himalaya",
6821
+ "type": "Spacer",
6822
+ "props": {}
6823
+ }
6824
+ },
6825
+ {
6826
+ "id": "",
6827
+ "body": {
6828
+ "package": "himalaya",
6829
+ "type": "Text",
6830
+ "props": {
6831
+ "text": "Default",
6832
+ "style": "caption",
6833
+ "color": "accentPrimary"
6834
+ }
6835
+ },
6836
+ "modifiers": {
6837
+ "hiddenPath": "$item.notPrimary"
6838
+ }
6839
+ }
6840
+ ]
6841
+ }
6842
+ }
6843
+ },
6844
+ {
6845
+ "id": "",
6846
+ "body": {
6847
+ "package": "himalaya",
6848
+ "type": "Text",
6849
+ "props": {
6850
+ "text": "$item.detail",
6851
+ "style": "footnote",
6852
+ "color": "textSecondary",
6853
+ "collapseWhenEmpty": true
6854
+ }
6855
+ }
6856
+ },
6857
+ {
6858
+ "id": "",
6859
+ "body": {
6860
+ "package": "himalaya",
6861
+ "type": "HStack",
6862
+ "props": {
6863
+ "spacing": 8,
6864
+ "children": [
6865
+ {
6866
+ "id": "himi_wallet.set_default",
6867
+ "body": {
6868
+ "package": "himalaya",
6869
+ "type": "Button",
6870
+ "props": {
6871
+ "title": "Set as default",
6872
+ "style": "secondary",
6873
+ "size": "sm",
6874
+ "action": {
6875
+ "actionId": "tier5.himiBrandedWallet.setPrimary",
6876
+ "params": {
6877
+ "id": "$item.id"
6878
+ }
6879
+ }
6880
+ }
6881
+ },
6882
+ "modifiers": {
6883
+ "hiddenPath": "$item.isPrimary"
6884
+ }
6885
+ },
6886
+ {
6887
+ "id": "himi_wallet.remove",
6888
+ "body": {
6889
+ "package": "himalaya",
6890
+ "type": "Button",
6891
+ "props": {
6892
+ "title": "Remove",
6893
+ "style": "secondary",
6894
+ "size": "sm",
6895
+ "action": {
6896
+ "actionId": "tier5.himiBrandedWallet.askRemove",
6897
+ "params": {
6898
+ "id": "$item.id"
6899
+ }
6900
+ }
6901
+ }
6902
+ }
6903
+ }
6904
+ ]
6905
+ }
6906
+ },
6907
+ "modifiers": {
6908
+ "hiddenPath": "$item.hideActions"
6909
+ }
6910
+ },
6911
+ {
6912
+ "id": "",
6913
+ "body": {
6914
+ "package": "himalaya",
6915
+ "type": "VStack",
6916
+ "props": {
6917
+ "spacing": 8,
6918
+ "alignment": "leading",
6919
+ "children": [
6920
+ {
6921
+ "id": "",
6922
+ "body": {
6923
+ "package": "himalaya",
6924
+ "type": "Text",
6925
+ "props": {
6926
+ "text": "Remove this card?",
6927
+ "style": "footnote",
6928
+ "color": "textPrimary"
6929
+ }
6930
+ }
6931
+ },
6932
+ {
6933
+ "id": "",
6934
+ "body": {
6935
+ "package": "himalaya",
6936
+ "type": "HStack",
6937
+ "props": {
6938
+ "spacing": 8,
6939
+ "children": [
6940
+ {
6941
+ "id": "himi_wallet.remove_confirm",
6942
+ "body": {
6943
+ "package": "himalaya",
6944
+ "type": "Button",
6945
+ "props": {
6946
+ "title": "Remove",
6947
+ "style": "destructive",
6948
+ "size": "sm",
6949
+ "action": {
6950
+ "actionId": "tier5.himiBrandedWallet.remove",
6951
+ "params": {
6952
+ "id": "$item.id"
6953
+ }
6954
+ }
6955
+ }
6956
+ }
6957
+ },
6958
+ {
6959
+ "id": "himi_wallet.keep",
6960
+ "body": {
6961
+ "package": "himalaya",
6962
+ "type": "Button",
6963
+ "props": {
6964
+ "title": "Keep",
6965
+ "style": "secondary",
6966
+ "size": "sm",
6967
+ "action": {
6968
+ "actionId": "tier5.himiBrandedWallet.keep"
6969
+ }
6970
+ }
6971
+ }
6972
+ }
6973
+ ]
6974
+ }
6975
+ }
6976
+ }
6977
+ ]
6978
+ }
6979
+ },
6980
+ "modifiers": {
6981
+ "hiddenPath": "$item.notConfirming"
6982
+ }
6983
+ }
6984
+ ]
6985
+ }
6986
+ },
6987
+ "modifiers": {
6988
+ "background": {
6989
+ "token": "surfaceElevated"
6990
+ },
6991
+ "border": {
6992
+ "width": 1,
6993
+ "color": {
6994
+ "token": "border"
6995
+ }
6996
+ },
6997
+ "cornerRadius": 8,
6998
+ "padding": {
6999
+ "leading": 14,
7000
+ "trailing": 14,
7001
+ "top": 14,
7002
+ "bottom": 14
7003
+ },
7004
+ "fillMaxWidth": true
7005
+ }
7006
+ }
7007
+ ]
7008
+ }
7009
+ },
7010
+ "modifiers": {
7011
+ "hiddenPath": "$service:himiBrandedWallet.hideList"
7012
+ }
7013
+ },
7014
+ {
7015
+ "id": "himi_wallet.empty",
7016
+ "body": {
7017
+ "package": "himalaya",
7018
+ "type": "VStack",
7019
+ "props": {
7020
+ "spacing": 8,
7021
+ "alignment": "leading",
7022
+ "children": [
7023
+ {
7024
+ "id": "",
7025
+ "body": {
7026
+ "package": "himalaya",
7027
+ "type": "Icon",
7028
+ "props": {
7029
+ "name": "lock",
7030
+ "size": 28,
7031
+ "tint": "textTertiary"
7032
+ }
7033
+ },
7034
+ "modifiers": {
7035
+ "accessibilityRole": "decorative"
7036
+ }
7037
+ },
7038
+ {
7039
+ "id": "",
7040
+ "body": {
7041
+ "package": "himalaya",
7042
+ "type": "Text",
7043
+ "props": {
7044
+ "text": "No saved cards",
7045
+ "style": "bodyEmphasis"
7046
+ }
7047
+ }
7048
+ },
7049
+ {
7050
+ "id": "",
7051
+ "body": {
7052
+ "package": "himalaya",
7053
+ "type": "Text",
7054
+ "props": {
7055
+ "text": "When you pay, you can choose to save your card for next time.",
7056
+ "style": "footnote",
7057
+ "color": "textSecondary"
7058
+ }
7059
+ }
7060
+ }
7061
+ ]
7062
+ }
7063
+ },
7064
+ "modifiers": {
7065
+ "background": {
7066
+ "token": "surfaceElevated"
7067
+ },
7068
+ "border": {
7069
+ "width": 1,
7070
+ "color": {
7071
+ "token": "border"
7072
+ }
7073
+ },
7074
+ "cornerRadius": 16,
7075
+ "padding": {
7076
+ "leading": 16,
7077
+ "trailing": 16,
7078
+ "top": 16,
7079
+ "bottom": 16
7080
+ },
7081
+ "fillMaxWidth": true,
7082
+ "hiddenPath": "$service:himiBrandedWallet.noEmpty"
7083
+ }
7084
+ },
7085
+ {
7086
+ "id": "himi_wallet.member_gate",
7087
+ "body": {
7088
+ "package": "himalaya",
7089
+ "type": "VStack",
7090
+ "props": {
7091
+ "spacing": 10,
7092
+ "alignment": "center",
7093
+ "children": [
7094
+ {
7095
+ "id": "",
7096
+ "body": {
7097
+ "package": "himalaya",
7098
+ "type": "Icon",
7099
+ "props": {
7100
+ "name": "person",
7101
+ "size": 28,
7102
+ "tint": "accentPrimary"
7103
+ }
7104
+ },
7105
+ "modifiers": {
7106
+ "accessibilityRole": "decorative"
7107
+ }
7108
+ },
7109
+ {
7110
+ "id": "himi_wallet.member_gate_title",
7111
+ "body": {
7112
+ "package": "himalaya",
7113
+ "type": "Text",
7114
+ "props": {
7115
+ "text": "Sign in to see your saved cards",
7116
+ "style": "bodyEmphasis"
7117
+ }
7118
+ }
7119
+ },
7120
+ {
7121
+ "id": "",
7122
+ "body": {
7123
+ "package": "himalaya",
7124
+ "type": "Text",
7125
+ "props": {
7126
+ "text": "Your saved cards appear here after you sign in.",
7127
+ "style": "footnote",
7128
+ "color": "textSecondary"
7129
+ }
7130
+ }
7131
+ },
7132
+ {
7133
+ "id": "himi_wallet.member_gate_signin",
7134
+ "body": {
7135
+ "package": "himalaya",
7136
+ "type": "Button",
7137
+ "props": {
7138
+ "title": "Sign in",
7139
+ "style": "primary",
7140
+ "fullWidth": true,
7141
+ "action": {
7142
+ "actionId": "himi.open",
7143
+ "params": {
7144
+ "screenId": "himi_account",
7145
+ "intent": "wallet",
7146
+ "returnScreenId": "himi_wallet"
7147
+ }
7148
+ }
7149
+ }
7150
+ }
7151
+ }
7152
+ ]
7153
+ }
7154
+ },
7155
+ "modifiers": {
7156
+ "background": {
7157
+ "token": "surfaceElevated"
7158
+ },
7159
+ "border": {
7160
+ "width": 1,
7161
+ "color": {
7162
+ "token": "border"
7163
+ }
7164
+ },
7165
+ "cornerRadius": 16,
7166
+ "padding": {
7167
+ "leading": 16,
7168
+ "trailing": 16,
7169
+ "top": 20,
7170
+ "bottom": 20
7171
+ },
7172
+ "fillMaxWidth": true,
7173
+ "hiddenPath": "$service:himiBrandedWallet.noSignIn"
7174
+ }
7175
+ },
7176
+ {
7177
+ "id": "himi_wallet.unavailable",
7178
+ "body": {
7179
+ "package": "himalaya",
7180
+ "type": "VStack",
7181
+ "props": {
7182
+ "spacing": 8,
7183
+ "alignment": "leading",
7184
+ "children": [
7185
+ {
7186
+ "id": "",
7187
+ "body": {
7188
+ "package": "himalaya",
7189
+ "type": "Icon",
7190
+ "props": {
7191
+ "name": "lock",
7192
+ "size": 28,
7193
+ "tint": "textTertiary"
7194
+ }
7195
+ },
7196
+ "modifiers": {
7197
+ "accessibilityRole": "decorative"
7198
+ }
7199
+ },
7200
+ {
7201
+ "id": "",
7202
+ "body": {
7203
+ "package": "himalaya",
7204
+ "type": "Text",
7205
+ "props": {
7206
+ "text": "Manage your cards in the app",
7207
+ "style": "bodyEmphasis"
7208
+ }
7209
+ }
7210
+ },
7211
+ {
7212
+ "id": "",
7213
+ "body": {
7214
+ "package": "himalaya",
7215
+ "type": "Text",
7216
+ "props": {
7217
+ "text": "Your saved cards are available in the mobile app.",
7218
+ "style": "footnote",
7219
+ "color": "textSecondary"
7220
+ }
7221
+ }
7222
+ }
7223
+ ]
7224
+ }
7225
+ },
7226
+ "modifiers": {
7227
+ "background": {
7228
+ "token": "surfaceElevated"
7229
+ },
7230
+ "border": {
7231
+ "width": 1,
7232
+ "color": {
7233
+ "token": "border"
7234
+ }
7235
+ },
7236
+ "cornerRadius": 16,
7237
+ "padding": {
7238
+ "leading": 16,
7239
+ "trailing": 16,
7240
+ "top": 16,
7241
+ "bottom": 16
7242
+ },
7243
+ "fillMaxWidth": true,
7244
+ "hiddenPath": "$service:himiBrandedWallet.noUnavailable"
7245
+ }
7246
+ }
7247
+ ]
7248
+ }
7249
+ },
7250
+ "modifiers": {
7251
+ "background": {
7252
+ "token": "surfacePrimary"
7253
+ },
7254
+ "padding": {
7255
+ "leading": 16,
7256
+ "trailing": 16,
7257
+ "top": 18,
7258
+ "bottom": 28
7259
+ },
7260
+ "onAppear": {
7261
+ "actionId": "tier5.himiBrandedWallet.load"
7262
+ }
7263
+ }
7264
+ },
7265
+ "logicBundle": {
7266
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-wallet?integrity=",
7267
+ "integrity": "",
7268
+ "contentType": "application/javascript+ts-bundle",
7269
+ "declaredCapabilities": [
7270
+ "wix_api",
7271
+ "app_info"
7272
+ ],
7273
+ "minBinaryVersion": "0.1.0",
7274
+ "bundleVersion": "0.0.1"
7275
+ }
7276
+ },
4667
7277
  "himi_menu": {
4668
7278
  "screenId": "himi_menu",
4669
7279
  "renderer": "sdui_intent",