@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
@@ -2865,6 +2865,95 @@ const SCREENS = runtimeSetting({
2865
2865
  "accessibilityLabel": "My subscriptions"
2866
2866
  }
2867
2867
  },
2868
+ {
2869
+ "id": "himi_account.wallet",
2870
+ "body": {
2871
+ "package": "himalaya",
2872
+ "type": "HStack",
2873
+ "props": {
2874
+ "spacing": 12,
2875
+ "children": [
2876
+ {
2877
+ "id": "",
2878
+ "body": {
2879
+ "package": "himalaya",
2880
+ "type": "Icon",
2881
+ "props": {
2882
+ "name": "lock",
2883
+ "size": 18,
2884
+ "tint": "accentPrimary"
2885
+ }
2886
+ },
2887
+ "modifiers": {
2888
+ "accessibilityRole": "decorative"
2889
+ }
2890
+ },
2891
+ {
2892
+ "id": "",
2893
+ "body": {
2894
+ "package": "himalaya",
2895
+ "type": "Text",
2896
+ "props": {
2897
+ "text": "My wallet",
2898
+ "style": "bodyEmphasis"
2899
+ }
2900
+ }
2901
+ },
2902
+ {
2903
+ "id": "",
2904
+ "body": {
2905
+ "package": "himalaya",
2906
+ "type": "Spacer",
2907
+ "props": {}
2908
+ }
2909
+ },
2910
+ {
2911
+ "id": "",
2912
+ "body": {
2913
+ "package": "himalaya",
2914
+ "type": "Icon",
2915
+ "props": {
2916
+ "name": "chevron_right",
2917
+ "size": 16,
2918
+ "tint": "textTertiary"
2919
+ }
2920
+ },
2921
+ "modifiers": {
2922
+ "accessibilityRole": "decorative"
2923
+ }
2924
+ }
2925
+ ]
2926
+ }
2927
+ },
2928
+ "modifiers": {
2929
+ "background": {
2930
+ "token": "surfaceElevated"
2931
+ },
2932
+ "border": {
2933
+ "width": 1,
2934
+ "color": {
2935
+ "token": "border"
2936
+ }
2937
+ },
2938
+ "cornerRadius": 8,
2939
+ "padding": {
2940
+ "leading": 14,
2941
+ "trailing": 14,
2942
+ "top": 13,
2943
+ "bottom": 13
2944
+ },
2945
+ "onTap": {
2946
+ "actionId": "himi.open",
2947
+ "params": {
2948
+ "screenId": "himi_wallet"
2949
+ }
2950
+ },
2951
+ "pressFeedback": "scale",
2952
+ "haptic": "light",
2953
+ "accessibilityLabel": "My wallet",
2954
+ "hiddenPath": "$service:himiStoreAccount.noMemberWallet"
2955
+ }
2956
+ },
2868
2957
  {
2869
2958
  "id": "himi_account.view_profile",
2870
2959
  "body": {
@@ -3484,6 +3573,7 @@ const SCREENS = runtimeSetting({
3484
3573
  "onAppear": {
3485
3574
  "actionId": "tier5.himiStoreAccount.refresh",
3486
3575
  "params": {
3576
+ "memberAccountLinks": "1",
3487
3577
  "copy": "{\"account.subtitle\":\"RSVPs, memberships, groups and saved content in one place.\",\"storeAccount.authBody\":\"Sign in to continue — RSVPs, memberships and groups stay with you.\",\"storeAccount.authBodyRegister\":\"Create a member account to continue — RSVPs, memberships and groups stay with you.\"}"
3488
3578
  }
3489
3579
  }
@@ -3494,7 +3584,8 @@ const SCREENS = runtimeSetting({
3494
3584
  "integrity": "",
3495
3585
  "contentType": "application/javascript+ts-bundle",
3496
3586
  "declaredCapabilities": [
3497
- "wix_api"
3587
+ "wix_api",
3588
+ "app_info"
3498
3589
  ],
3499
3590
  "minBinaryVersion": "0.2.0",
3500
3591
  "bundleVersion": "0.0.1"
@@ -4888,6 +4979,676 @@ const SCREENS = runtimeSetting({
4888
4979
  "bundleVersion": "0.0.1"
4889
4980
  }
4890
4981
  },
4982
+ "himi_wallet": {
4983
+ "screenId": "himi_wallet",
4984
+ "renderer": "sdui_intent",
4985
+ "title": "",
4986
+ "schemaVersion": 1,
4987
+ "cacheControl": {
4988
+ "maxAge": 0,
4989
+ "staleWhileRevalidate": 0
4990
+ },
4991
+ "payload": {
4992
+ "id": "himi_wallet.root",
4993
+ "body": {
4994
+ "package": "himalaya",
4995
+ "type": "VStack",
4996
+ "props": {
4997
+ "spacing": 16,
4998
+ "alignment": "leading",
4999
+ "children": [
5000
+ {
5001
+ "id": "himi_wallet.title",
5002
+ "body": {
5003
+ "package": "himalaya",
5004
+ "type": "Text",
5005
+ "props": {
5006
+ "text": "My wallet",
5007
+ "style": "title1"
5008
+ }
5009
+ }
5010
+ },
5011
+ {
5012
+ "id": "",
5013
+ "body": {
5014
+ "package": "himalaya",
5015
+ "type": "Text",
5016
+ "props": {
5017
+ "text": "Cards you saved at checkout.",
5018
+ "style": "body",
5019
+ "color": "textSecondary"
5020
+ }
5021
+ }
5022
+ },
5023
+ {
5024
+ "id": "himi_wallet.loading",
5025
+ "body": {
5026
+ "package": "himalaya",
5027
+ "type": "VStack",
5028
+ "props": {
5029
+ "spacing": 8,
5030
+ "alignment": "leading",
5031
+ "children": [
5032
+ {
5033
+ "id": "",
5034
+ "body": {
5035
+ "package": "himalaya",
5036
+ "type": "Text",
5037
+ "props": {
5038
+ "text": "Loading your saved cards...",
5039
+ "style": "body",
5040
+ "color": "textSecondary"
5041
+ }
5042
+ }
5043
+ }
5044
+ ]
5045
+ }
5046
+ },
5047
+ "modifiers": {
5048
+ "background": {
5049
+ "token": "surfaceElevated"
5050
+ },
5051
+ "border": {
5052
+ "width": 1,
5053
+ "color": {
5054
+ "token": "border"
5055
+ }
5056
+ },
5057
+ "cornerRadius": 16,
5058
+ "padding": {
5059
+ "leading": 16,
5060
+ "trailing": 16,
5061
+ "top": 16,
5062
+ "bottom": 16
5063
+ },
5064
+ "hiddenPath": "$service:himiBrandedWallet.notLoading"
5065
+ }
5066
+ },
5067
+ {
5068
+ "id": "himi_wallet.error",
5069
+ "body": {
5070
+ "package": "himalaya",
5071
+ "type": "VStack",
5072
+ "props": {
5073
+ "spacing": 8,
5074
+ "alignment": "leading",
5075
+ "children": [
5076
+ {
5077
+ "id": "",
5078
+ "body": {
5079
+ "package": "himalaya",
5080
+ "type": "Text",
5081
+ "props": {
5082
+ "text": "$service:himiBrandedWallet.errorText",
5083
+ "style": "bodyEmphasis",
5084
+ "collapseWhenEmpty": true
5085
+ }
5086
+ }
5087
+ },
5088
+ {
5089
+ "id": "himi_wallet.retry",
5090
+ "body": {
5091
+ "package": "himalaya",
5092
+ "type": "Button",
5093
+ "props": {
5094
+ "title": "Try again",
5095
+ "style": "secondary",
5096
+ "action": {
5097
+ "actionId": "tier5.himiBrandedWallet.retry"
5098
+ }
5099
+ }
5100
+ }
5101
+ }
5102
+ ]
5103
+ }
5104
+ },
5105
+ "modifiers": {
5106
+ "background": {
5107
+ "token": "surfaceElevated"
5108
+ },
5109
+ "border": {
5110
+ "width": 1,
5111
+ "color": {
5112
+ "token": "border"
5113
+ }
5114
+ },
5115
+ "cornerRadius": 16,
5116
+ "padding": {
5117
+ "leading": 16,
5118
+ "trailing": 16,
5119
+ "top": 16,
5120
+ "bottom": 16
5121
+ },
5122
+ "hiddenPath": "$service:himiBrandedWallet.notErrored"
5123
+ }
5124
+ },
5125
+ {
5126
+ "id": "himi_wallet.message",
5127
+ "body": {
5128
+ "package": "himalaya",
5129
+ "type": "Text",
5130
+ "props": {
5131
+ "text": "$service:himiBrandedWallet.message",
5132
+ "style": "footnote",
5133
+ "color": "textPrimary",
5134
+ "collapseWhenEmpty": true
5135
+ }
5136
+ }
5137
+ },
5138
+ {
5139
+ "id": "himi_wallet.list",
5140
+ "body": {
5141
+ "package": "himalaya",
5142
+ "type": "Grid",
5143
+ "props": {
5144
+ "columns": 1,
5145
+ "spacing": 10,
5146
+ "itemsPath": "$service:himiBrandedWallet.rows",
5147
+ "items": [
5148
+ {
5149
+ "id": "",
5150
+ "body": {
5151
+ "package": "himalaya",
5152
+ "type": "VStack",
5153
+ "props": {
5154
+ "spacing": 6,
5155
+ "alignment": "leading",
5156
+ "children": [
5157
+ {
5158
+ "id": "",
5159
+ "body": {
5160
+ "package": "himalaya",
5161
+ "type": "HStack",
5162
+ "props": {
5163
+ "spacing": 8,
5164
+ "children": [
5165
+ {
5166
+ "id": "",
5167
+ "body": {
5168
+ "package": "himalaya",
5169
+ "type": "Icon",
5170
+ "props": {
5171
+ "name": "lock",
5172
+ "size": 18,
5173
+ "tint": "accentPrimary"
5174
+ }
5175
+ },
5176
+ "modifiers": {
5177
+ "accessibilityRole": "decorative"
5178
+ }
5179
+ },
5180
+ {
5181
+ "id": "",
5182
+ "body": {
5183
+ "package": "himalaya",
5184
+ "type": "Text",
5185
+ "props": {
5186
+ "text": "$item.title",
5187
+ "style": "bodyEmphasis",
5188
+ "maxLines": 1
5189
+ }
5190
+ }
5191
+ },
5192
+ {
5193
+ "id": "",
5194
+ "body": {
5195
+ "package": "himalaya",
5196
+ "type": "Spacer",
5197
+ "props": {}
5198
+ }
5199
+ },
5200
+ {
5201
+ "id": "",
5202
+ "body": {
5203
+ "package": "himalaya",
5204
+ "type": "Text",
5205
+ "props": {
5206
+ "text": "Default",
5207
+ "style": "caption",
5208
+ "color": "accentPrimary"
5209
+ }
5210
+ },
5211
+ "modifiers": {
5212
+ "hiddenPath": "$item.notPrimary"
5213
+ }
5214
+ }
5215
+ ]
5216
+ }
5217
+ }
5218
+ },
5219
+ {
5220
+ "id": "",
5221
+ "body": {
5222
+ "package": "himalaya",
5223
+ "type": "Text",
5224
+ "props": {
5225
+ "text": "$item.detail",
5226
+ "style": "footnote",
5227
+ "color": "textSecondary",
5228
+ "collapseWhenEmpty": true
5229
+ }
5230
+ }
5231
+ },
5232
+ {
5233
+ "id": "",
5234
+ "body": {
5235
+ "package": "himalaya",
5236
+ "type": "HStack",
5237
+ "props": {
5238
+ "spacing": 8,
5239
+ "children": [
5240
+ {
5241
+ "id": "himi_wallet.set_default",
5242
+ "body": {
5243
+ "package": "himalaya",
5244
+ "type": "Button",
5245
+ "props": {
5246
+ "title": "Set as default",
5247
+ "style": "secondary",
5248
+ "size": "sm",
5249
+ "action": {
5250
+ "actionId": "tier5.himiBrandedWallet.setPrimary",
5251
+ "params": {
5252
+ "id": "$item.id"
5253
+ }
5254
+ }
5255
+ }
5256
+ },
5257
+ "modifiers": {
5258
+ "hiddenPath": "$item.isPrimary"
5259
+ }
5260
+ },
5261
+ {
5262
+ "id": "himi_wallet.remove",
5263
+ "body": {
5264
+ "package": "himalaya",
5265
+ "type": "Button",
5266
+ "props": {
5267
+ "title": "Remove",
5268
+ "style": "secondary",
5269
+ "size": "sm",
5270
+ "action": {
5271
+ "actionId": "tier5.himiBrandedWallet.askRemove",
5272
+ "params": {
5273
+ "id": "$item.id"
5274
+ }
5275
+ }
5276
+ }
5277
+ }
5278
+ }
5279
+ ]
5280
+ }
5281
+ },
5282
+ "modifiers": {
5283
+ "hiddenPath": "$item.hideActions"
5284
+ }
5285
+ },
5286
+ {
5287
+ "id": "",
5288
+ "body": {
5289
+ "package": "himalaya",
5290
+ "type": "VStack",
5291
+ "props": {
5292
+ "spacing": 8,
5293
+ "alignment": "leading",
5294
+ "children": [
5295
+ {
5296
+ "id": "",
5297
+ "body": {
5298
+ "package": "himalaya",
5299
+ "type": "Text",
5300
+ "props": {
5301
+ "text": "Remove this card?",
5302
+ "style": "footnote",
5303
+ "color": "textPrimary"
5304
+ }
5305
+ }
5306
+ },
5307
+ {
5308
+ "id": "",
5309
+ "body": {
5310
+ "package": "himalaya",
5311
+ "type": "HStack",
5312
+ "props": {
5313
+ "spacing": 8,
5314
+ "children": [
5315
+ {
5316
+ "id": "himi_wallet.remove_confirm",
5317
+ "body": {
5318
+ "package": "himalaya",
5319
+ "type": "Button",
5320
+ "props": {
5321
+ "title": "Remove",
5322
+ "style": "destructive",
5323
+ "size": "sm",
5324
+ "action": {
5325
+ "actionId": "tier5.himiBrandedWallet.remove",
5326
+ "params": {
5327
+ "id": "$item.id"
5328
+ }
5329
+ }
5330
+ }
5331
+ }
5332
+ },
5333
+ {
5334
+ "id": "himi_wallet.keep",
5335
+ "body": {
5336
+ "package": "himalaya",
5337
+ "type": "Button",
5338
+ "props": {
5339
+ "title": "Keep",
5340
+ "style": "secondary",
5341
+ "size": "sm",
5342
+ "action": {
5343
+ "actionId": "tier5.himiBrandedWallet.keep"
5344
+ }
5345
+ }
5346
+ }
5347
+ }
5348
+ ]
5349
+ }
5350
+ }
5351
+ }
5352
+ ]
5353
+ }
5354
+ },
5355
+ "modifiers": {
5356
+ "hiddenPath": "$item.notConfirming"
5357
+ }
5358
+ }
5359
+ ]
5360
+ }
5361
+ },
5362
+ "modifiers": {
5363
+ "background": {
5364
+ "token": "surfaceElevated"
5365
+ },
5366
+ "border": {
5367
+ "width": 1,
5368
+ "color": {
5369
+ "token": "border"
5370
+ }
5371
+ },
5372
+ "cornerRadius": 8,
5373
+ "padding": {
5374
+ "leading": 14,
5375
+ "trailing": 14,
5376
+ "top": 14,
5377
+ "bottom": 14
5378
+ },
5379
+ "fillMaxWidth": true
5380
+ }
5381
+ }
5382
+ ]
5383
+ }
5384
+ },
5385
+ "modifiers": {
5386
+ "hiddenPath": "$service:himiBrandedWallet.hideList"
5387
+ }
5388
+ },
5389
+ {
5390
+ "id": "himi_wallet.empty",
5391
+ "body": {
5392
+ "package": "himalaya",
5393
+ "type": "VStack",
5394
+ "props": {
5395
+ "spacing": 8,
5396
+ "alignment": "leading",
5397
+ "children": [
5398
+ {
5399
+ "id": "",
5400
+ "body": {
5401
+ "package": "himalaya",
5402
+ "type": "Icon",
5403
+ "props": {
5404
+ "name": "lock",
5405
+ "size": 28,
5406
+ "tint": "textTertiary"
5407
+ }
5408
+ },
5409
+ "modifiers": {
5410
+ "accessibilityRole": "decorative"
5411
+ }
5412
+ },
5413
+ {
5414
+ "id": "",
5415
+ "body": {
5416
+ "package": "himalaya",
5417
+ "type": "Text",
5418
+ "props": {
5419
+ "text": "No saved cards",
5420
+ "style": "bodyEmphasis"
5421
+ }
5422
+ }
5423
+ },
5424
+ {
5425
+ "id": "",
5426
+ "body": {
5427
+ "package": "himalaya",
5428
+ "type": "Text",
5429
+ "props": {
5430
+ "text": "When you pay, you can choose to save your card for next time.",
5431
+ "style": "footnote",
5432
+ "color": "textSecondary"
5433
+ }
5434
+ }
5435
+ }
5436
+ ]
5437
+ }
5438
+ },
5439
+ "modifiers": {
5440
+ "background": {
5441
+ "token": "surfaceElevated"
5442
+ },
5443
+ "border": {
5444
+ "width": 1,
5445
+ "color": {
5446
+ "token": "border"
5447
+ }
5448
+ },
5449
+ "cornerRadius": 16,
5450
+ "padding": {
5451
+ "leading": 16,
5452
+ "trailing": 16,
5453
+ "top": 16,
5454
+ "bottom": 16
5455
+ },
5456
+ "fillMaxWidth": true,
5457
+ "hiddenPath": "$service:himiBrandedWallet.noEmpty"
5458
+ }
5459
+ },
5460
+ {
5461
+ "id": "himi_wallet.member_gate",
5462
+ "body": {
5463
+ "package": "himalaya",
5464
+ "type": "VStack",
5465
+ "props": {
5466
+ "spacing": 10,
5467
+ "alignment": "center",
5468
+ "children": [
5469
+ {
5470
+ "id": "",
5471
+ "body": {
5472
+ "package": "himalaya",
5473
+ "type": "Icon",
5474
+ "props": {
5475
+ "name": "person",
5476
+ "size": 28,
5477
+ "tint": "accentPrimary"
5478
+ }
5479
+ },
5480
+ "modifiers": {
5481
+ "accessibilityRole": "decorative"
5482
+ }
5483
+ },
5484
+ {
5485
+ "id": "himi_wallet.member_gate_title",
5486
+ "body": {
5487
+ "package": "himalaya",
5488
+ "type": "Text",
5489
+ "props": {
5490
+ "text": "Sign in to see your saved cards",
5491
+ "style": "bodyEmphasis"
5492
+ }
5493
+ }
5494
+ },
5495
+ {
5496
+ "id": "",
5497
+ "body": {
5498
+ "package": "himalaya",
5499
+ "type": "Text",
5500
+ "props": {
5501
+ "text": "Your saved cards appear here after you sign in.",
5502
+ "style": "footnote",
5503
+ "color": "textSecondary"
5504
+ }
5505
+ }
5506
+ },
5507
+ {
5508
+ "id": "himi_wallet.member_gate_signin",
5509
+ "body": {
5510
+ "package": "himalaya",
5511
+ "type": "Button",
5512
+ "props": {
5513
+ "title": "Sign in",
5514
+ "style": "primary",
5515
+ "fullWidth": true,
5516
+ "action": {
5517
+ "actionId": "himi.open",
5518
+ "params": {
5519
+ "screenId": "himi_account",
5520
+ "intent": "wallet",
5521
+ "returnScreenId": "himi_wallet"
5522
+ }
5523
+ }
5524
+ }
5525
+ }
5526
+ }
5527
+ ]
5528
+ }
5529
+ },
5530
+ "modifiers": {
5531
+ "background": {
5532
+ "token": "surfaceElevated"
5533
+ },
5534
+ "border": {
5535
+ "width": 1,
5536
+ "color": {
5537
+ "token": "border"
5538
+ }
5539
+ },
5540
+ "cornerRadius": 16,
5541
+ "padding": {
5542
+ "leading": 16,
5543
+ "trailing": 16,
5544
+ "top": 20,
5545
+ "bottom": 20
5546
+ },
5547
+ "fillMaxWidth": true,
5548
+ "hiddenPath": "$service:himiBrandedWallet.noSignIn"
5549
+ }
5550
+ },
5551
+ {
5552
+ "id": "himi_wallet.unavailable",
5553
+ "body": {
5554
+ "package": "himalaya",
5555
+ "type": "VStack",
5556
+ "props": {
5557
+ "spacing": 8,
5558
+ "alignment": "leading",
5559
+ "children": [
5560
+ {
5561
+ "id": "",
5562
+ "body": {
5563
+ "package": "himalaya",
5564
+ "type": "Icon",
5565
+ "props": {
5566
+ "name": "lock",
5567
+ "size": 28,
5568
+ "tint": "textTertiary"
5569
+ }
5570
+ },
5571
+ "modifiers": {
5572
+ "accessibilityRole": "decorative"
5573
+ }
5574
+ },
5575
+ {
5576
+ "id": "",
5577
+ "body": {
5578
+ "package": "himalaya",
5579
+ "type": "Text",
5580
+ "props": {
5581
+ "text": "Manage your cards in the app",
5582
+ "style": "bodyEmphasis"
5583
+ }
5584
+ }
5585
+ },
5586
+ {
5587
+ "id": "",
5588
+ "body": {
5589
+ "package": "himalaya",
5590
+ "type": "Text",
5591
+ "props": {
5592
+ "text": "Your saved cards are available in the mobile app.",
5593
+ "style": "footnote",
5594
+ "color": "textSecondary"
5595
+ }
5596
+ }
5597
+ }
5598
+ ]
5599
+ }
5600
+ },
5601
+ "modifiers": {
5602
+ "background": {
5603
+ "token": "surfaceElevated"
5604
+ },
5605
+ "border": {
5606
+ "width": 1,
5607
+ "color": {
5608
+ "token": "border"
5609
+ }
5610
+ },
5611
+ "cornerRadius": 16,
5612
+ "padding": {
5613
+ "leading": 16,
5614
+ "trailing": 16,
5615
+ "top": 16,
5616
+ "bottom": 16
5617
+ },
5618
+ "fillMaxWidth": true,
5619
+ "hiddenPath": "$service:himiBrandedWallet.noUnavailable"
5620
+ }
5621
+ }
5622
+ ]
5623
+ }
5624
+ },
5625
+ "modifiers": {
5626
+ "background": {
5627
+ "token": "surfacePrimary"
5628
+ },
5629
+ "padding": {
5630
+ "leading": 16,
5631
+ "trailing": 16,
5632
+ "top": 18,
5633
+ "bottom": 28
5634
+ },
5635
+ "onAppear": {
5636
+ "actionId": "tier5.himiBrandedWallet.load"
5637
+ }
5638
+ }
5639
+ },
5640
+ "logicBundle": {
5641
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-wallet?integrity=",
5642
+ "integrity": "",
5643
+ "contentType": "application/javascript+ts-bundle",
5644
+ "declaredCapabilities": [
5645
+ "wix_api",
5646
+ "app_info"
5647
+ ],
5648
+ "minBinaryVersion": "0.1.0",
5649
+ "bundleVersion": "0.0.1"
5650
+ }
5651
+ },
4891
5652
  "himi_plans": {
4892
5653
  "screenId": "himi_plans",
4893
5654
  "renderer": "sdui_intent",