@wix/himalaya-cli 0.1377.0 → 0.1379.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 (178) 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 +24 -23
  8. package/dist/preview-assets.generated.bin +0 -0
  9. package/guides/importable-sdks.md +1 -1
  10. package/guides/index.json +6 -0
  11. package/guides/sdk-reference.json +128 -2
  12. package/guides/wix-api-usage.md +7 -5
  13. package/guides/wix-pro-gallery.md +145 -0
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/config.ts +23 -0
  16. package/templates/beauty-salon/dev/index.ts +2611 -1
  17. package/templates/beauty-salon/himalaya.content.json +9 -0
  18. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  19. package/templates/beauty-salon/tier5-src/_shared/member-access.ts +14 -0
  20. package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +43 -0
  21. package/templates/beauty-salon/tier5-src/_shared/member-address.ts +129 -0
  22. package/templates/beauty-salon/tier5-src/_shared/saved-card.ts +20 -0
  23. package/templates/beauty-salon/tier5-src/himi-branded-lite-address/index.ts +223 -0
  24. package/templates/beauty-salon/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  25. package/templates/beauty-salon/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  26. package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +17 -0
  27. package/templates/beauty-salon-owner/dev/index.ts +5 -27
  28. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +99 -40
  29. package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  30. package/templates/beauty-salon-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  31. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  32. package/templates/branded-lite/config.ts +23 -0
  33. package/templates/branded-lite/dev/index.ts +2614 -2
  34. package/templates/branded-lite/himalaya.content.json +9 -0
  35. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  36. package/templates/branded-lite/tier5-src/_shared/member-access.ts +14 -0
  37. package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +43 -0
  38. package/templates/branded-lite/tier5-src/_shared/member-address.ts +129 -0
  39. package/templates/branded-lite/tier5-src/_shared/saved-card.ts +20 -0
  40. package/templates/branded-lite/tier5-src/himi-branded-lite-address/index.ts +223 -0
  41. package/templates/branded-lite/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  42. package/templates/branded-lite/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  43. package/templates/branded-lite/tier5-src/himi-store-account/index.ts +17 -0
  44. package/templates/community-club/dev/index.ts +3 -1
  45. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  46. package/templates/community-club/tier5-src/_shared/member-access.ts +14 -0
  47. package/templates/community-club/tier5-src/_shared/member-account-routes.ts +43 -0
  48. package/templates/community-club/tier5-src/himi-store-account/index.ts +17 -0
  49. package/templates/community-club-owner/dev/index.ts +5 -27
  50. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +99 -40
  51. package/templates/community-club-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  52. package/templates/community-club-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  53. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  54. package/templates/events-meetups/dev/index.ts +3 -1
  55. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  56. package/templates/events-meetups/tier5-src/_shared/member-access.ts +14 -0
  57. package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +43 -0
  58. package/templates/events-meetups/tier5-src/himi-store-account/index.ts +17 -0
  59. package/templates/events-meetups-owner/dev/index.ts +5 -27
  60. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +99 -40
  61. package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  62. package/templates/events-meetups-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  63. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  64. package/templates/gym-fitness/config.ts +23 -0
  65. package/templates/gym-fitness/dev/index.ts +2611 -1
  66. package/templates/gym-fitness/himalaya.content.json +9 -0
  67. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  68. package/templates/gym-fitness/tier5-src/_shared/member-access.ts +14 -0
  69. package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +43 -0
  70. package/templates/gym-fitness/tier5-src/_shared/member-address.ts +129 -0
  71. package/templates/gym-fitness/tier5-src/_shared/saved-card.ts +20 -0
  72. package/templates/gym-fitness/tier5-src/himi-branded-lite-address/index.ts +223 -0
  73. package/templates/gym-fitness/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  74. package/templates/gym-fitness/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  75. package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +17 -0
  76. package/templates/gym-fitness-owner/dev/index.ts +5 -27
  77. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +99 -40
  78. package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  79. package/templates/gym-fitness-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  80. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  81. package/templates/nonprofit-cause/config.ts +7 -0
  82. package/templates/nonprofit-cause/dev/index.ts +762 -1
  83. package/templates/nonprofit-cause/himalaya.content.json +3 -0
  84. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  85. package/templates/nonprofit-cause/tier5-src/_shared/member-access.ts +14 -0
  86. package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +43 -0
  87. package/templates/nonprofit-cause/tier5-src/_shared/saved-card.ts +20 -0
  88. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  89. package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +17 -0
  90. package/templates/nonprofit-cause-owner/dev/index.ts +5 -27
  91. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +99 -40
  92. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  93. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  94. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  95. package/templates/owner-lite/dev/index.ts +5 -27
  96. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +99 -40
  97. package/templates/owner-lite/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  98. package/templates/owner-lite/tier5-src/_shared/aria-widget-view.ts +6 -0
  99. package/templates/owner-lite/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  100. package/templates/podcast-creator/config.ts +7 -0
  101. package/templates/podcast-creator/dev/index.ts +762 -1
  102. package/templates/podcast-creator/himalaya.content.json +3 -0
  103. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  104. package/templates/podcast-creator/tier5-src/_shared/member-access.ts +14 -0
  105. package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +43 -0
  106. package/templates/podcast-creator/tier5-src/_shared/saved-card.ts +20 -0
  107. package/templates/podcast-creator/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  108. package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +17 -0
  109. package/templates/podcast-creator-owner/dev/index.ts +5 -27
  110. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +99 -40
  111. package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  112. package/templates/podcast-creator-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  113. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  114. package/templates/portfolio-creative/config.ts +23 -0
  115. package/templates/portfolio-creative/dev/index.ts +2611 -1
  116. package/templates/portfolio-creative/himalaya.content.json +9 -0
  117. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  118. package/templates/portfolio-creative/tier5-src/_shared/member-access.ts +14 -0
  119. package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +43 -0
  120. package/templates/portfolio-creative/tier5-src/_shared/member-address.ts +129 -0
  121. package/templates/portfolio-creative/tier5-src/_shared/saved-card.ts +20 -0
  122. package/templates/portfolio-creative/tier5-src/himi-branded-lite-address/index.ts +223 -0
  123. package/templates/portfolio-creative/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  124. package/templates/portfolio-creative/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  125. package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +17 -0
  126. package/templates/portfolio-creative-owner/dev/index.ts +5 -27
  127. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +99 -40
  128. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  129. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  130. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  131. package/templates/restaurant/config.ts +23 -0
  132. package/templates/restaurant/dev/index.ts +2611 -1
  133. package/templates/restaurant/himalaya.content.json +9 -0
  134. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  135. package/templates/restaurant/tier5-src/_shared/member-access.ts +14 -0
  136. package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +43 -0
  137. package/templates/restaurant/tier5-src/_shared/member-address.ts +129 -0
  138. package/templates/restaurant/tier5-src/_shared/saved-card.ts +20 -0
  139. package/templates/restaurant/tier5-src/himi-branded-lite-address/index.ts +223 -0
  140. package/templates/restaurant/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  141. package/templates/restaurant/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  142. package/templates/restaurant/tier5-src/himi-store-account/index.ts +17 -0
  143. package/templates/restaurant-owner/dev/index.ts +5 -27
  144. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +99 -40
  145. package/templates/restaurant-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  146. package/templates/restaurant-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  147. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  148. package/templates/retail-store/config.ts +23 -0
  149. package/templates/retail-store/dev/index.ts +2611 -1
  150. package/templates/retail-store/himalaya.content.json +9 -0
  151. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  152. package/templates/retail-store/tier5-src/_shared/member-access.ts +14 -0
  153. package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +43 -0
  154. package/templates/retail-store/tier5-src/_shared/member-address.ts +129 -0
  155. package/templates/retail-store/tier5-src/_shared/saved-card.ts +20 -0
  156. package/templates/retail-store/tier5-src/himi-branded-lite-address/index.ts +223 -0
  157. package/templates/retail-store/tier5-src/himi-branded-lite-addresses/index.ts +202 -0
  158. package/templates/retail-store/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  159. package/templates/retail-store/tier5-src/himi-store-account/index.ts +17 -0
  160. package/templates/retail-store-owner/dev/index.ts +5 -27
  161. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +99 -40
  162. package/templates/retail-store-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  163. package/templates/retail-store-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  164. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
  165. package/templates/yoga-studio/config.ts +7 -0
  166. package/templates/yoga-studio/dev/index.ts +762 -1
  167. package/templates/yoga-studio/himalaya.content.json +3 -0
  168. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +3 -0
  169. package/templates/yoga-studio/tier5-src/_shared/member-access.ts +14 -0
  170. package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +43 -0
  171. package/templates/yoga-studio/tier5-src/_shared/saved-card.ts +20 -0
  172. package/templates/yoga-studio/tier5-src/himi-branded-lite-wallet/index.ts +217 -0
  173. package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +17 -0
  174. package/templates/yoga-studio-owner/dev/index.ts +5 -27
  175. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +99 -40
  176. package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-oauth.ts +42 -0
  177. package/templates/yoga-studio-owner/tier5-src/_shared/aria-widget-view.ts +6 -0
  178. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria/index.ts +12 -1
@@ -2803,6 +2803,95 @@ const SCREENS = runtimeSetting({
2803
2803
  "accessibilityLabel": "My subscriptions"
2804
2804
  }
2805
2805
  },
2806
+ {
2807
+ "id": "himi_account.wallet",
2808
+ "body": {
2809
+ "package": "himalaya",
2810
+ "type": "HStack",
2811
+ "props": {
2812
+ "spacing": 12,
2813
+ "children": [
2814
+ {
2815
+ "id": "",
2816
+ "body": {
2817
+ "package": "himalaya",
2818
+ "type": "Icon",
2819
+ "props": {
2820
+ "name": "lock",
2821
+ "size": 18,
2822
+ "tint": "accentPrimary"
2823
+ }
2824
+ },
2825
+ "modifiers": {
2826
+ "accessibilityRole": "decorative"
2827
+ }
2828
+ },
2829
+ {
2830
+ "id": "",
2831
+ "body": {
2832
+ "package": "himalaya",
2833
+ "type": "Text",
2834
+ "props": {
2835
+ "text": "My wallet",
2836
+ "style": "bodyEmphasis"
2837
+ }
2838
+ }
2839
+ },
2840
+ {
2841
+ "id": "",
2842
+ "body": {
2843
+ "package": "himalaya",
2844
+ "type": "Spacer",
2845
+ "props": {}
2846
+ }
2847
+ },
2848
+ {
2849
+ "id": "",
2850
+ "body": {
2851
+ "package": "himalaya",
2852
+ "type": "Icon",
2853
+ "props": {
2854
+ "name": "chevron_right",
2855
+ "size": 16,
2856
+ "tint": "textTertiary"
2857
+ }
2858
+ },
2859
+ "modifiers": {
2860
+ "accessibilityRole": "decorative"
2861
+ }
2862
+ }
2863
+ ]
2864
+ }
2865
+ },
2866
+ "modifiers": {
2867
+ "background": {
2868
+ "token": "surfaceElevated"
2869
+ },
2870
+ "border": {
2871
+ "width": 1,
2872
+ "color": {
2873
+ "token": "border"
2874
+ }
2875
+ },
2876
+ "cornerRadius": 8,
2877
+ "padding": {
2878
+ "leading": 14,
2879
+ "trailing": 14,
2880
+ "top": 13,
2881
+ "bottom": 13
2882
+ },
2883
+ "onTap": {
2884
+ "actionId": "himi.open",
2885
+ "params": {
2886
+ "screenId": "himi_wallet"
2887
+ }
2888
+ },
2889
+ "pressFeedback": "scale",
2890
+ "haptic": "light",
2891
+ "accessibilityLabel": "My wallet",
2892
+ "hiddenPath": "$service:himiStoreAccount.noMemberWallet"
2893
+ }
2894
+ },
2806
2895
  {
2807
2896
  "id": "himi_account.view_profile",
2808
2897
  "body": {
@@ -3422,6 +3511,7 @@ const SCREENS = runtimeSetting({
3422
3511
  "onAppear": {
3423
3512
  "actionId": "tier5.himiStoreAccount.refresh",
3424
3513
  "params": {
3514
+ "memberAccountLinks": "1",
3425
3515
  "copy": "{\"account.subtitle\":\"RSVPs, memberships and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — RSVPs and memberships stay with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — RSVPs and memberships stay with you.\"}"
3426
3516
  }
3427
3517
  }
@@ -3432,7 +3522,8 @@ const SCREENS = runtimeSetting({
3432
3522
  "integrity": "",
3433
3523
  "contentType": "application/javascript+ts-bundle",
3434
3524
  "declaredCapabilities": [
3435
- "wix_api"
3525
+ "wix_api",
3526
+ "app_info"
3436
3527
  ],
3437
3528
  "minBinaryVersion": "0.2.0",
3438
3529
  "bundleVersion": "0.0.1"
@@ -4826,6 +4917,676 @@ const SCREENS = runtimeSetting({
4826
4917
  "bundleVersion": "0.0.1"
4827
4918
  }
4828
4919
  },
4920
+ "himi_wallet": {
4921
+ "screenId": "himi_wallet",
4922
+ "renderer": "sdui_intent",
4923
+ "title": "",
4924
+ "schemaVersion": 1,
4925
+ "cacheControl": {
4926
+ "maxAge": 0,
4927
+ "staleWhileRevalidate": 0
4928
+ },
4929
+ "payload": {
4930
+ "id": "himi_wallet.root",
4931
+ "body": {
4932
+ "package": "himalaya",
4933
+ "type": "VStack",
4934
+ "props": {
4935
+ "spacing": 16,
4936
+ "alignment": "leading",
4937
+ "children": [
4938
+ {
4939
+ "id": "himi_wallet.title",
4940
+ "body": {
4941
+ "package": "himalaya",
4942
+ "type": "Text",
4943
+ "props": {
4944
+ "text": "My wallet",
4945
+ "style": "title1"
4946
+ }
4947
+ }
4948
+ },
4949
+ {
4950
+ "id": "",
4951
+ "body": {
4952
+ "package": "himalaya",
4953
+ "type": "Text",
4954
+ "props": {
4955
+ "text": "Cards you saved at checkout.",
4956
+ "style": "body",
4957
+ "color": "textSecondary"
4958
+ }
4959
+ }
4960
+ },
4961
+ {
4962
+ "id": "himi_wallet.loading",
4963
+ "body": {
4964
+ "package": "himalaya",
4965
+ "type": "VStack",
4966
+ "props": {
4967
+ "spacing": 8,
4968
+ "alignment": "leading",
4969
+ "children": [
4970
+ {
4971
+ "id": "",
4972
+ "body": {
4973
+ "package": "himalaya",
4974
+ "type": "Text",
4975
+ "props": {
4976
+ "text": "Loading your saved cards...",
4977
+ "style": "body",
4978
+ "color": "textSecondary"
4979
+ }
4980
+ }
4981
+ }
4982
+ ]
4983
+ }
4984
+ },
4985
+ "modifiers": {
4986
+ "background": {
4987
+ "token": "surfaceElevated"
4988
+ },
4989
+ "border": {
4990
+ "width": 1,
4991
+ "color": {
4992
+ "token": "border"
4993
+ }
4994
+ },
4995
+ "cornerRadius": 16,
4996
+ "padding": {
4997
+ "leading": 16,
4998
+ "trailing": 16,
4999
+ "top": 16,
5000
+ "bottom": 16
5001
+ },
5002
+ "hiddenPath": "$service:himiBrandedWallet.notLoading"
5003
+ }
5004
+ },
5005
+ {
5006
+ "id": "himi_wallet.error",
5007
+ "body": {
5008
+ "package": "himalaya",
5009
+ "type": "VStack",
5010
+ "props": {
5011
+ "spacing": 8,
5012
+ "alignment": "leading",
5013
+ "children": [
5014
+ {
5015
+ "id": "",
5016
+ "body": {
5017
+ "package": "himalaya",
5018
+ "type": "Text",
5019
+ "props": {
5020
+ "text": "$service:himiBrandedWallet.errorText",
5021
+ "style": "bodyEmphasis",
5022
+ "collapseWhenEmpty": true
5023
+ }
5024
+ }
5025
+ },
5026
+ {
5027
+ "id": "himi_wallet.retry",
5028
+ "body": {
5029
+ "package": "himalaya",
5030
+ "type": "Button",
5031
+ "props": {
5032
+ "title": "Try again",
5033
+ "style": "secondary",
5034
+ "action": {
5035
+ "actionId": "tier5.himiBrandedWallet.retry"
5036
+ }
5037
+ }
5038
+ }
5039
+ }
5040
+ ]
5041
+ }
5042
+ },
5043
+ "modifiers": {
5044
+ "background": {
5045
+ "token": "surfaceElevated"
5046
+ },
5047
+ "border": {
5048
+ "width": 1,
5049
+ "color": {
5050
+ "token": "border"
5051
+ }
5052
+ },
5053
+ "cornerRadius": 16,
5054
+ "padding": {
5055
+ "leading": 16,
5056
+ "trailing": 16,
5057
+ "top": 16,
5058
+ "bottom": 16
5059
+ },
5060
+ "hiddenPath": "$service:himiBrandedWallet.notErrored"
5061
+ }
5062
+ },
5063
+ {
5064
+ "id": "himi_wallet.message",
5065
+ "body": {
5066
+ "package": "himalaya",
5067
+ "type": "Text",
5068
+ "props": {
5069
+ "text": "$service:himiBrandedWallet.message",
5070
+ "style": "footnote",
5071
+ "color": "textPrimary",
5072
+ "collapseWhenEmpty": true
5073
+ }
5074
+ }
5075
+ },
5076
+ {
5077
+ "id": "himi_wallet.list",
5078
+ "body": {
5079
+ "package": "himalaya",
5080
+ "type": "Grid",
5081
+ "props": {
5082
+ "columns": 1,
5083
+ "spacing": 10,
5084
+ "itemsPath": "$service:himiBrandedWallet.rows",
5085
+ "items": [
5086
+ {
5087
+ "id": "",
5088
+ "body": {
5089
+ "package": "himalaya",
5090
+ "type": "VStack",
5091
+ "props": {
5092
+ "spacing": 6,
5093
+ "alignment": "leading",
5094
+ "children": [
5095
+ {
5096
+ "id": "",
5097
+ "body": {
5098
+ "package": "himalaya",
5099
+ "type": "HStack",
5100
+ "props": {
5101
+ "spacing": 8,
5102
+ "children": [
5103
+ {
5104
+ "id": "",
5105
+ "body": {
5106
+ "package": "himalaya",
5107
+ "type": "Icon",
5108
+ "props": {
5109
+ "name": "lock",
5110
+ "size": 18,
5111
+ "tint": "accentPrimary"
5112
+ }
5113
+ },
5114
+ "modifiers": {
5115
+ "accessibilityRole": "decorative"
5116
+ }
5117
+ },
5118
+ {
5119
+ "id": "",
5120
+ "body": {
5121
+ "package": "himalaya",
5122
+ "type": "Text",
5123
+ "props": {
5124
+ "text": "$item.title",
5125
+ "style": "bodyEmphasis",
5126
+ "maxLines": 1
5127
+ }
5128
+ }
5129
+ },
5130
+ {
5131
+ "id": "",
5132
+ "body": {
5133
+ "package": "himalaya",
5134
+ "type": "Spacer",
5135
+ "props": {}
5136
+ }
5137
+ },
5138
+ {
5139
+ "id": "",
5140
+ "body": {
5141
+ "package": "himalaya",
5142
+ "type": "Text",
5143
+ "props": {
5144
+ "text": "Default",
5145
+ "style": "caption",
5146
+ "color": "accentPrimary"
5147
+ }
5148
+ },
5149
+ "modifiers": {
5150
+ "hiddenPath": "$item.notPrimary"
5151
+ }
5152
+ }
5153
+ ]
5154
+ }
5155
+ }
5156
+ },
5157
+ {
5158
+ "id": "",
5159
+ "body": {
5160
+ "package": "himalaya",
5161
+ "type": "Text",
5162
+ "props": {
5163
+ "text": "$item.detail",
5164
+ "style": "footnote",
5165
+ "color": "textSecondary",
5166
+ "collapseWhenEmpty": true
5167
+ }
5168
+ }
5169
+ },
5170
+ {
5171
+ "id": "",
5172
+ "body": {
5173
+ "package": "himalaya",
5174
+ "type": "HStack",
5175
+ "props": {
5176
+ "spacing": 8,
5177
+ "children": [
5178
+ {
5179
+ "id": "himi_wallet.set_default",
5180
+ "body": {
5181
+ "package": "himalaya",
5182
+ "type": "Button",
5183
+ "props": {
5184
+ "title": "Set as default",
5185
+ "style": "secondary",
5186
+ "size": "sm",
5187
+ "action": {
5188
+ "actionId": "tier5.himiBrandedWallet.setPrimary",
5189
+ "params": {
5190
+ "id": "$item.id"
5191
+ }
5192
+ }
5193
+ }
5194
+ },
5195
+ "modifiers": {
5196
+ "hiddenPath": "$item.isPrimary"
5197
+ }
5198
+ },
5199
+ {
5200
+ "id": "himi_wallet.remove",
5201
+ "body": {
5202
+ "package": "himalaya",
5203
+ "type": "Button",
5204
+ "props": {
5205
+ "title": "Remove",
5206
+ "style": "secondary",
5207
+ "size": "sm",
5208
+ "action": {
5209
+ "actionId": "tier5.himiBrandedWallet.askRemove",
5210
+ "params": {
5211
+ "id": "$item.id"
5212
+ }
5213
+ }
5214
+ }
5215
+ }
5216
+ }
5217
+ ]
5218
+ }
5219
+ },
5220
+ "modifiers": {
5221
+ "hiddenPath": "$item.hideActions"
5222
+ }
5223
+ },
5224
+ {
5225
+ "id": "",
5226
+ "body": {
5227
+ "package": "himalaya",
5228
+ "type": "VStack",
5229
+ "props": {
5230
+ "spacing": 8,
5231
+ "alignment": "leading",
5232
+ "children": [
5233
+ {
5234
+ "id": "",
5235
+ "body": {
5236
+ "package": "himalaya",
5237
+ "type": "Text",
5238
+ "props": {
5239
+ "text": "Remove this card?",
5240
+ "style": "footnote",
5241
+ "color": "textPrimary"
5242
+ }
5243
+ }
5244
+ },
5245
+ {
5246
+ "id": "",
5247
+ "body": {
5248
+ "package": "himalaya",
5249
+ "type": "HStack",
5250
+ "props": {
5251
+ "spacing": 8,
5252
+ "children": [
5253
+ {
5254
+ "id": "himi_wallet.remove_confirm",
5255
+ "body": {
5256
+ "package": "himalaya",
5257
+ "type": "Button",
5258
+ "props": {
5259
+ "title": "Remove",
5260
+ "style": "destructive",
5261
+ "size": "sm",
5262
+ "action": {
5263
+ "actionId": "tier5.himiBrandedWallet.remove",
5264
+ "params": {
5265
+ "id": "$item.id"
5266
+ }
5267
+ }
5268
+ }
5269
+ }
5270
+ },
5271
+ {
5272
+ "id": "himi_wallet.keep",
5273
+ "body": {
5274
+ "package": "himalaya",
5275
+ "type": "Button",
5276
+ "props": {
5277
+ "title": "Keep",
5278
+ "style": "secondary",
5279
+ "size": "sm",
5280
+ "action": {
5281
+ "actionId": "tier5.himiBrandedWallet.keep"
5282
+ }
5283
+ }
5284
+ }
5285
+ }
5286
+ ]
5287
+ }
5288
+ }
5289
+ }
5290
+ ]
5291
+ }
5292
+ },
5293
+ "modifiers": {
5294
+ "hiddenPath": "$item.notConfirming"
5295
+ }
5296
+ }
5297
+ ]
5298
+ }
5299
+ },
5300
+ "modifiers": {
5301
+ "background": {
5302
+ "token": "surfaceElevated"
5303
+ },
5304
+ "border": {
5305
+ "width": 1,
5306
+ "color": {
5307
+ "token": "border"
5308
+ }
5309
+ },
5310
+ "cornerRadius": 8,
5311
+ "padding": {
5312
+ "leading": 14,
5313
+ "trailing": 14,
5314
+ "top": 14,
5315
+ "bottom": 14
5316
+ },
5317
+ "fillMaxWidth": true
5318
+ }
5319
+ }
5320
+ ]
5321
+ }
5322
+ },
5323
+ "modifiers": {
5324
+ "hiddenPath": "$service:himiBrandedWallet.hideList"
5325
+ }
5326
+ },
5327
+ {
5328
+ "id": "himi_wallet.empty",
5329
+ "body": {
5330
+ "package": "himalaya",
5331
+ "type": "VStack",
5332
+ "props": {
5333
+ "spacing": 8,
5334
+ "alignment": "leading",
5335
+ "children": [
5336
+ {
5337
+ "id": "",
5338
+ "body": {
5339
+ "package": "himalaya",
5340
+ "type": "Icon",
5341
+ "props": {
5342
+ "name": "lock",
5343
+ "size": 28,
5344
+ "tint": "textTertiary"
5345
+ }
5346
+ },
5347
+ "modifiers": {
5348
+ "accessibilityRole": "decorative"
5349
+ }
5350
+ },
5351
+ {
5352
+ "id": "",
5353
+ "body": {
5354
+ "package": "himalaya",
5355
+ "type": "Text",
5356
+ "props": {
5357
+ "text": "No saved cards",
5358
+ "style": "bodyEmphasis"
5359
+ }
5360
+ }
5361
+ },
5362
+ {
5363
+ "id": "",
5364
+ "body": {
5365
+ "package": "himalaya",
5366
+ "type": "Text",
5367
+ "props": {
5368
+ "text": "When you pay, you can choose to save your card for next time.",
5369
+ "style": "footnote",
5370
+ "color": "textSecondary"
5371
+ }
5372
+ }
5373
+ }
5374
+ ]
5375
+ }
5376
+ },
5377
+ "modifiers": {
5378
+ "background": {
5379
+ "token": "surfaceElevated"
5380
+ },
5381
+ "border": {
5382
+ "width": 1,
5383
+ "color": {
5384
+ "token": "border"
5385
+ }
5386
+ },
5387
+ "cornerRadius": 16,
5388
+ "padding": {
5389
+ "leading": 16,
5390
+ "trailing": 16,
5391
+ "top": 16,
5392
+ "bottom": 16
5393
+ },
5394
+ "fillMaxWidth": true,
5395
+ "hiddenPath": "$service:himiBrandedWallet.noEmpty"
5396
+ }
5397
+ },
5398
+ {
5399
+ "id": "himi_wallet.member_gate",
5400
+ "body": {
5401
+ "package": "himalaya",
5402
+ "type": "VStack",
5403
+ "props": {
5404
+ "spacing": 10,
5405
+ "alignment": "center",
5406
+ "children": [
5407
+ {
5408
+ "id": "",
5409
+ "body": {
5410
+ "package": "himalaya",
5411
+ "type": "Icon",
5412
+ "props": {
5413
+ "name": "person",
5414
+ "size": 28,
5415
+ "tint": "accentPrimary"
5416
+ }
5417
+ },
5418
+ "modifiers": {
5419
+ "accessibilityRole": "decorative"
5420
+ }
5421
+ },
5422
+ {
5423
+ "id": "himi_wallet.member_gate_title",
5424
+ "body": {
5425
+ "package": "himalaya",
5426
+ "type": "Text",
5427
+ "props": {
5428
+ "text": "Sign in to see your saved cards",
5429
+ "style": "bodyEmphasis"
5430
+ }
5431
+ }
5432
+ },
5433
+ {
5434
+ "id": "",
5435
+ "body": {
5436
+ "package": "himalaya",
5437
+ "type": "Text",
5438
+ "props": {
5439
+ "text": "Your saved cards appear here after you sign in.",
5440
+ "style": "footnote",
5441
+ "color": "textSecondary"
5442
+ }
5443
+ }
5444
+ },
5445
+ {
5446
+ "id": "himi_wallet.member_gate_signin",
5447
+ "body": {
5448
+ "package": "himalaya",
5449
+ "type": "Button",
5450
+ "props": {
5451
+ "title": "Sign in",
5452
+ "style": "primary",
5453
+ "fullWidth": true,
5454
+ "action": {
5455
+ "actionId": "himi.open",
5456
+ "params": {
5457
+ "screenId": "himi_account",
5458
+ "intent": "wallet",
5459
+ "returnScreenId": "himi_wallet"
5460
+ }
5461
+ }
5462
+ }
5463
+ }
5464
+ }
5465
+ ]
5466
+ }
5467
+ },
5468
+ "modifiers": {
5469
+ "background": {
5470
+ "token": "surfaceElevated"
5471
+ },
5472
+ "border": {
5473
+ "width": 1,
5474
+ "color": {
5475
+ "token": "border"
5476
+ }
5477
+ },
5478
+ "cornerRadius": 16,
5479
+ "padding": {
5480
+ "leading": 16,
5481
+ "trailing": 16,
5482
+ "top": 20,
5483
+ "bottom": 20
5484
+ },
5485
+ "fillMaxWidth": true,
5486
+ "hiddenPath": "$service:himiBrandedWallet.noSignIn"
5487
+ }
5488
+ },
5489
+ {
5490
+ "id": "himi_wallet.unavailable",
5491
+ "body": {
5492
+ "package": "himalaya",
5493
+ "type": "VStack",
5494
+ "props": {
5495
+ "spacing": 8,
5496
+ "alignment": "leading",
5497
+ "children": [
5498
+ {
5499
+ "id": "",
5500
+ "body": {
5501
+ "package": "himalaya",
5502
+ "type": "Icon",
5503
+ "props": {
5504
+ "name": "lock",
5505
+ "size": 28,
5506
+ "tint": "textTertiary"
5507
+ }
5508
+ },
5509
+ "modifiers": {
5510
+ "accessibilityRole": "decorative"
5511
+ }
5512
+ },
5513
+ {
5514
+ "id": "",
5515
+ "body": {
5516
+ "package": "himalaya",
5517
+ "type": "Text",
5518
+ "props": {
5519
+ "text": "Manage your cards in the app",
5520
+ "style": "bodyEmphasis"
5521
+ }
5522
+ }
5523
+ },
5524
+ {
5525
+ "id": "",
5526
+ "body": {
5527
+ "package": "himalaya",
5528
+ "type": "Text",
5529
+ "props": {
5530
+ "text": "Your saved cards are available in the mobile app.",
5531
+ "style": "footnote",
5532
+ "color": "textSecondary"
5533
+ }
5534
+ }
5535
+ }
5536
+ ]
5537
+ }
5538
+ },
5539
+ "modifiers": {
5540
+ "background": {
5541
+ "token": "surfaceElevated"
5542
+ },
5543
+ "border": {
5544
+ "width": 1,
5545
+ "color": {
5546
+ "token": "border"
5547
+ }
5548
+ },
5549
+ "cornerRadius": 16,
5550
+ "padding": {
5551
+ "leading": 16,
5552
+ "trailing": 16,
5553
+ "top": 16,
5554
+ "bottom": 16
5555
+ },
5556
+ "fillMaxWidth": true,
5557
+ "hiddenPath": "$service:himiBrandedWallet.noUnavailable"
5558
+ }
5559
+ }
5560
+ ]
5561
+ }
5562
+ },
5563
+ "modifiers": {
5564
+ "background": {
5565
+ "token": "surfacePrimary"
5566
+ },
5567
+ "padding": {
5568
+ "leading": 16,
5569
+ "trailing": 16,
5570
+ "top": 18,
5571
+ "bottom": 28
5572
+ },
5573
+ "onAppear": {
5574
+ "actionId": "tier5.himiBrandedWallet.load"
5575
+ }
5576
+ }
5577
+ },
5578
+ "logicBundle": {
5579
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-wallet?integrity=",
5580
+ "integrity": "",
5581
+ "contentType": "application/javascript+ts-bundle",
5582
+ "declaredCapabilities": [
5583
+ "wix_api",
5584
+ "app_info"
5585
+ ],
5586
+ "minBinaryVersion": "0.1.0",
5587
+ "bundleVersion": "0.0.1"
5588
+ }
5589
+ },
4829
5590
  "himi_plans": {
4830
5591
  "screenId": "himi_plans",
4831
5592
  "renderer": "sdui_intent",