@wix/himalaya-cli 0.2045.0 → 0.2047.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 (305) hide show
  1. package/dist/cli.mjs +0 -2
  2. package/package.json +2 -2
  3. package/templates/beauty-salon/l10n/ar.json +5 -0
  4. package/templates/beauty-salon/l10n/cs.json +5 -0
  5. package/templates/beauty-salon/l10n/da.json +5 -0
  6. package/templates/beauty-salon/l10n/de.json +5 -0
  7. package/templates/beauty-salon/l10n/el.json +5 -0
  8. package/templates/beauty-salon/l10n/es.json +5 -0
  9. package/templates/beauty-salon/l10n/fi.json +5 -0
  10. package/templates/beauty-salon/l10n/fr.json +5 -0
  11. package/templates/beauty-salon/l10n/he.json +4 -0
  12. package/templates/beauty-salon/l10n/hu.json +5 -0
  13. package/templates/beauty-salon/l10n/id.json +5 -0
  14. package/templates/beauty-salon/l10n/it.json +5 -0
  15. package/templates/beauty-salon/l10n/ja.json +5 -0
  16. package/templates/beauty-salon/l10n/ko.json +5 -0
  17. package/templates/beauty-salon/l10n/lt.json +5 -0
  18. package/templates/beauty-salon/l10n/nl.json +5 -0
  19. package/templates/beauty-salon/l10n/no.json +5 -0
  20. package/templates/beauty-salon/l10n/pl.json +5 -0
  21. package/templates/beauty-salon/l10n/pt.json +5 -0
  22. package/templates/beauty-salon/l10n/ru.json +5 -0
  23. package/templates/beauty-salon/l10n/sv.json +5 -0
  24. package/templates/beauty-salon/l10n/th.json +5 -0
  25. package/templates/beauty-salon/l10n/tr.json +5 -0
  26. package/templates/beauty-salon/l10n/uk.json +5 -0
  27. package/templates/beauty-salon/l10n/vi.json +5 -0
  28. package/templates/beauty-salon/l10n/zh.json +5 -0
  29. package/templates/beauty-salon/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  30. package/templates/branded-lite/l10n/ar.json +5 -0
  31. package/templates/branded-lite/l10n/cs.json +5 -0
  32. package/templates/branded-lite/l10n/da.json +5 -0
  33. package/templates/branded-lite/l10n/de.json +5 -0
  34. package/templates/branded-lite/l10n/el.json +5 -0
  35. package/templates/branded-lite/l10n/es.json +5 -0
  36. package/templates/branded-lite/l10n/fi.json +5 -0
  37. package/templates/branded-lite/l10n/fr.json +5 -0
  38. package/templates/branded-lite/l10n/he.json +4 -0
  39. package/templates/branded-lite/l10n/hu.json +5 -0
  40. package/templates/branded-lite/l10n/id.json +5 -0
  41. package/templates/branded-lite/l10n/it.json +5 -0
  42. package/templates/branded-lite/l10n/ja.json +5 -0
  43. package/templates/branded-lite/l10n/ko.json +5 -0
  44. package/templates/branded-lite/l10n/lt.json +5 -0
  45. package/templates/branded-lite/l10n/nl.json +5 -0
  46. package/templates/branded-lite/l10n/no.json +5 -0
  47. package/templates/branded-lite/l10n/pl.json +5 -0
  48. package/templates/branded-lite/l10n/pt.json +5 -0
  49. package/templates/branded-lite/l10n/ru.json +5 -0
  50. package/templates/branded-lite/l10n/sv.json +5 -0
  51. package/templates/branded-lite/l10n/th.json +5 -0
  52. package/templates/branded-lite/l10n/tr.json +5 -0
  53. package/templates/branded-lite/l10n/uk.json +5 -0
  54. package/templates/branded-lite/l10n/vi.json +5 -0
  55. package/templates/branded-lite/l10n/zh.json +5 -0
  56. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  57. package/templates/brandy/config.ts +1 -0
  58. package/templates/brandy/dev/member-screens.ts +1619 -411
  59. package/templates/brandy/tier5-src/_shared/empty-flags.ts +33 -0
  60. package/templates/brandy/tier5-src/_shared/push-permission.ts +75 -0
  61. package/templates/brandy/tier5-src/himi-branded-lite-notifsettings/index.ts +455 -0
  62. package/templates/community-club/l10n/ar.json +5 -0
  63. package/templates/community-club/l10n/cs.json +5 -0
  64. package/templates/community-club/l10n/da.json +5 -0
  65. package/templates/community-club/l10n/de.json +5 -0
  66. package/templates/community-club/l10n/el.json +5 -0
  67. package/templates/community-club/l10n/es.json +5 -0
  68. package/templates/community-club/l10n/fi.json +5 -0
  69. package/templates/community-club/l10n/fr.json +5 -0
  70. package/templates/community-club/l10n/he.json +4 -0
  71. package/templates/community-club/l10n/hu.json +5 -0
  72. package/templates/community-club/l10n/id.json +5 -0
  73. package/templates/community-club/l10n/it.json +5 -0
  74. package/templates/community-club/l10n/ja.json +5 -0
  75. package/templates/community-club/l10n/ko.json +5 -0
  76. package/templates/community-club/l10n/lt.json +5 -0
  77. package/templates/community-club/l10n/nl.json +5 -0
  78. package/templates/community-club/l10n/no.json +5 -0
  79. package/templates/community-club/l10n/pl.json +5 -0
  80. package/templates/community-club/l10n/pt.json +5 -0
  81. package/templates/community-club/l10n/ru.json +5 -0
  82. package/templates/community-club/l10n/sv.json +5 -0
  83. package/templates/community-club/l10n/th.json +5 -0
  84. package/templates/community-club/l10n/tr.json +5 -0
  85. package/templates/community-club/l10n/uk.json +5 -0
  86. package/templates/community-club/l10n/vi.json +5 -0
  87. package/templates/community-club/l10n/zh.json +5 -0
  88. package/templates/community-club/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  89. package/templates/events-meetups/l10n/ar.json +5 -0
  90. package/templates/events-meetups/l10n/cs.json +5 -0
  91. package/templates/events-meetups/l10n/da.json +5 -0
  92. package/templates/events-meetups/l10n/de.json +5 -0
  93. package/templates/events-meetups/l10n/el.json +5 -0
  94. package/templates/events-meetups/l10n/es.json +5 -0
  95. package/templates/events-meetups/l10n/fi.json +5 -0
  96. package/templates/events-meetups/l10n/fr.json +5 -0
  97. package/templates/events-meetups/l10n/he.json +4 -0
  98. package/templates/events-meetups/l10n/hu.json +5 -0
  99. package/templates/events-meetups/l10n/id.json +5 -0
  100. package/templates/events-meetups/l10n/it.json +5 -0
  101. package/templates/events-meetups/l10n/ja.json +5 -0
  102. package/templates/events-meetups/l10n/ko.json +5 -0
  103. package/templates/events-meetups/l10n/lt.json +5 -0
  104. package/templates/events-meetups/l10n/nl.json +5 -0
  105. package/templates/events-meetups/l10n/no.json +5 -0
  106. package/templates/events-meetups/l10n/pl.json +5 -0
  107. package/templates/events-meetups/l10n/pt.json +5 -0
  108. package/templates/events-meetups/l10n/ru.json +5 -0
  109. package/templates/events-meetups/l10n/sv.json +5 -0
  110. package/templates/events-meetups/l10n/th.json +5 -0
  111. package/templates/events-meetups/l10n/tr.json +5 -0
  112. package/templates/events-meetups/l10n/uk.json +5 -0
  113. package/templates/events-meetups/l10n/vi.json +5 -0
  114. package/templates/events-meetups/l10n/zh.json +5 -0
  115. package/templates/events-meetups/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  116. package/templates/gym-fitness/l10n/ar.json +5 -0
  117. package/templates/gym-fitness/l10n/cs.json +5 -0
  118. package/templates/gym-fitness/l10n/da.json +5 -0
  119. package/templates/gym-fitness/l10n/de.json +5 -0
  120. package/templates/gym-fitness/l10n/el.json +5 -0
  121. package/templates/gym-fitness/l10n/es.json +5 -0
  122. package/templates/gym-fitness/l10n/fi.json +5 -0
  123. package/templates/gym-fitness/l10n/fr.json +5 -0
  124. package/templates/gym-fitness/l10n/he.json +4 -0
  125. package/templates/gym-fitness/l10n/hu.json +5 -0
  126. package/templates/gym-fitness/l10n/id.json +5 -0
  127. package/templates/gym-fitness/l10n/it.json +5 -0
  128. package/templates/gym-fitness/l10n/ja.json +5 -0
  129. package/templates/gym-fitness/l10n/ko.json +5 -0
  130. package/templates/gym-fitness/l10n/lt.json +5 -0
  131. package/templates/gym-fitness/l10n/nl.json +5 -0
  132. package/templates/gym-fitness/l10n/no.json +5 -0
  133. package/templates/gym-fitness/l10n/pl.json +5 -0
  134. package/templates/gym-fitness/l10n/pt.json +5 -0
  135. package/templates/gym-fitness/l10n/ru.json +5 -0
  136. package/templates/gym-fitness/l10n/sv.json +5 -0
  137. package/templates/gym-fitness/l10n/th.json +5 -0
  138. package/templates/gym-fitness/l10n/tr.json +5 -0
  139. package/templates/gym-fitness/l10n/uk.json +5 -0
  140. package/templates/gym-fitness/l10n/vi.json +5 -0
  141. package/templates/gym-fitness/l10n/zh.json +5 -0
  142. package/templates/gym-fitness/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  143. package/templates/nonprofit-cause/l10n/ar.json +5 -0
  144. package/templates/nonprofit-cause/l10n/cs.json +5 -0
  145. package/templates/nonprofit-cause/l10n/da.json +5 -0
  146. package/templates/nonprofit-cause/l10n/de.json +5 -0
  147. package/templates/nonprofit-cause/l10n/el.json +5 -0
  148. package/templates/nonprofit-cause/l10n/es.json +5 -0
  149. package/templates/nonprofit-cause/l10n/fi.json +5 -0
  150. package/templates/nonprofit-cause/l10n/fr.json +5 -0
  151. package/templates/nonprofit-cause/l10n/he.json +4 -0
  152. package/templates/nonprofit-cause/l10n/hu.json +5 -0
  153. package/templates/nonprofit-cause/l10n/id.json +5 -0
  154. package/templates/nonprofit-cause/l10n/it.json +5 -0
  155. package/templates/nonprofit-cause/l10n/ja.json +5 -0
  156. package/templates/nonprofit-cause/l10n/ko.json +5 -0
  157. package/templates/nonprofit-cause/l10n/lt.json +5 -0
  158. package/templates/nonprofit-cause/l10n/nl.json +5 -0
  159. package/templates/nonprofit-cause/l10n/no.json +5 -0
  160. package/templates/nonprofit-cause/l10n/pl.json +5 -0
  161. package/templates/nonprofit-cause/l10n/pt.json +5 -0
  162. package/templates/nonprofit-cause/l10n/ru.json +5 -0
  163. package/templates/nonprofit-cause/l10n/sv.json +5 -0
  164. package/templates/nonprofit-cause/l10n/th.json +5 -0
  165. package/templates/nonprofit-cause/l10n/tr.json +5 -0
  166. package/templates/nonprofit-cause/l10n/uk.json +5 -0
  167. package/templates/nonprofit-cause/l10n/vi.json +5 -0
  168. package/templates/nonprofit-cause/l10n/zh.json +5 -0
  169. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  170. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  171. package/templates/podcast-creator/l10n/ar.json +5 -0
  172. package/templates/podcast-creator/l10n/cs.json +5 -0
  173. package/templates/podcast-creator/l10n/da.json +5 -0
  174. package/templates/podcast-creator/l10n/de.json +5 -0
  175. package/templates/podcast-creator/l10n/el.json +5 -0
  176. package/templates/podcast-creator/l10n/es.json +5 -0
  177. package/templates/podcast-creator/l10n/fi.json +5 -0
  178. package/templates/podcast-creator/l10n/fr.json +5 -0
  179. package/templates/podcast-creator/l10n/he.json +4 -0
  180. package/templates/podcast-creator/l10n/hu.json +5 -0
  181. package/templates/podcast-creator/l10n/id.json +5 -0
  182. package/templates/podcast-creator/l10n/it.json +5 -0
  183. package/templates/podcast-creator/l10n/ja.json +5 -0
  184. package/templates/podcast-creator/l10n/ko.json +5 -0
  185. package/templates/podcast-creator/l10n/lt.json +5 -0
  186. package/templates/podcast-creator/l10n/nl.json +5 -0
  187. package/templates/podcast-creator/l10n/no.json +5 -0
  188. package/templates/podcast-creator/l10n/pl.json +5 -0
  189. package/templates/podcast-creator/l10n/pt.json +5 -0
  190. package/templates/podcast-creator/l10n/ru.json +5 -0
  191. package/templates/podcast-creator/l10n/sv.json +5 -0
  192. package/templates/podcast-creator/l10n/th.json +5 -0
  193. package/templates/podcast-creator/l10n/tr.json +5 -0
  194. package/templates/podcast-creator/l10n/uk.json +5 -0
  195. package/templates/podcast-creator/l10n/vi.json +5 -0
  196. package/templates/podcast-creator/l10n/zh.json +5 -0
  197. package/templates/podcast-creator/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  198. package/templates/portfolio-creative/l10n/ar.json +5 -0
  199. package/templates/portfolio-creative/l10n/cs.json +5 -0
  200. package/templates/portfolio-creative/l10n/da.json +5 -0
  201. package/templates/portfolio-creative/l10n/de.json +5 -0
  202. package/templates/portfolio-creative/l10n/el.json +5 -0
  203. package/templates/portfolio-creative/l10n/es.json +5 -0
  204. package/templates/portfolio-creative/l10n/fi.json +5 -0
  205. package/templates/portfolio-creative/l10n/fr.json +5 -0
  206. package/templates/portfolio-creative/l10n/he.json +4 -0
  207. package/templates/portfolio-creative/l10n/hu.json +5 -0
  208. package/templates/portfolio-creative/l10n/id.json +5 -0
  209. package/templates/portfolio-creative/l10n/it.json +5 -0
  210. package/templates/portfolio-creative/l10n/ja.json +5 -0
  211. package/templates/portfolio-creative/l10n/ko.json +5 -0
  212. package/templates/portfolio-creative/l10n/lt.json +5 -0
  213. package/templates/portfolio-creative/l10n/nl.json +5 -0
  214. package/templates/portfolio-creative/l10n/no.json +5 -0
  215. package/templates/portfolio-creative/l10n/pl.json +5 -0
  216. package/templates/portfolio-creative/l10n/pt.json +5 -0
  217. package/templates/portfolio-creative/l10n/ru.json +5 -0
  218. package/templates/portfolio-creative/l10n/sv.json +5 -0
  219. package/templates/portfolio-creative/l10n/th.json +5 -0
  220. package/templates/portfolio-creative/l10n/tr.json +5 -0
  221. package/templates/portfolio-creative/l10n/uk.json +5 -0
  222. package/templates/portfolio-creative/l10n/vi.json +5 -0
  223. package/templates/portfolio-creative/l10n/zh.json +5 -0
  224. package/templates/portfolio-creative/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  225. package/templates/restaurant/l10n/ar.json +5 -0
  226. package/templates/restaurant/l10n/cs.json +5 -0
  227. package/templates/restaurant/l10n/da.json +5 -0
  228. package/templates/restaurant/l10n/de.json +5 -0
  229. package/templates/restaurant/l10n/el.json +5 -0
  230. package/templates/restaurant/l10n/es.json +5 -0
  231. package/templates/restaurant/l10n/fi.json +5 -0
  232. package/templates/restaurant/l10n/fr.json +5 -0
  233. package/templates/restaurant/l10n/he.json +4 -0
  234. package/templates/restaurant/l10n/hu.json +5 -0
  235. package/templates/restaurant/l10n/id.json +5 -0
  236. package/templates/restaurant/l10n/it.json +5 -0
  237. package/templates/restaurant/l10n/ja.json +5 -0
  238. package/templates/restaurant/l10n/ko.json +5 -0
  239. package/templates/restaurant/l10n/lt.json +5 -0
  240. package/templates/restaurant/l10n/nl.json +5 -0
  241. package/templates/restaurant/l10n/no.json +5 -0
  242. package/templates/restaurant/l10n/pl.json +5 -0
  243. package/templates/restaurant/l10n/pt.json +5 -0
  244. package/templates/restaurant/l10n/ru.json +5 -0
  245. package/templates/restaurant/l10n/sv.json +5 -0
  246. package/templates/restaurant/l10n/th.json +5 -0
  247. package/templates/restaurant/l10n/tr.json +5 -0
  248. package/templates/restaurant/l10n/uk.json +5 -0
  249. package/templates/restaurant/l10n/vi.json +5 -0
  250. package/templates/restaurant/l10n/zh.json +5 -0
  251. package/templates/restaurant/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  252. package/templates/retail-store/l10n/ar.json +5 -0
  253. package/templates/retail-store/l10n/cs.json +5 -0
  254. package/templates/retail-store/l10n/da.json +5 -0
  255. package/templates/retail-store/l10n/de.json +5 -0
  256. package/templates/retail-store/l10n/el.json +5 -0
  257. package/templates/retail-store/l10n/es.json +5 -0
  258. package/templates/retail-store/l10n/fi.json +5 -0
  259. package/templates/retail-store/l10n/fr.json +5 -0
  260. package/templates/retail-store/l10n/he.json +4 -0
  261. package/templates/retail-store/l10n/hu.json +5 -0
  262. package/templates/retail-store/l10n/id.json +5 -0
  263. package/templates/retail-store/l10n/it.json +5 -0
  264. package/templates/retail-store/l10n/ja.json +5 -0
  265. package/templates/retail-store/l10n/ko.json +5 -0
  266. package/templates/retail-store/l10n/lt.json +5 -0
  267. package/templates/retail-store/l10n/nl.json +5 -0
  268. package/templates/retail-store/l10n/no.json +5 -0
  269. package/templates/retail-store/l10n/pl.json +5 -0
  270. package/templates/retail-store/l10n/pt.json +5 -0
  271. package/templates/retail-store/l10n/ru.json +5 -0
  272. package/templates/retail-store/l10n/sv.json +5 -0
  273. package/templates/retail-store/l10n/th.json +5 -0
  274. package/templates/retail-store/l10n/tr.json +5 -0
  275. package/templates/retail-store/l10n/uk.json +5 -0
  276. package/templates/retail-store/l10n/vi.json +5 -0
  277. package/templates/retail-store/l10n/zh.json +5 -0
  278. package/templates/retail-store/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
  279. package/templates/yoga-studio/l10n/ar.json +5 -0
  280. package/templates/yoga-studio/l10n/cs.json +5 -0
  281. package/templates/yoga-studio/l10n/da.json +5 -0
  282. package/templates/yoga-studio/l10n/de.json +5 -0
  283. package/templates/yoga-studio/l10n/el.json +5 -0
  284. package/templates/yoga-studio/l10n/es.json +5 -0
  285. package/templates/yoga-studio/l10n/fi.json +5 -0
  286. package/templates/yoga-studio/l10n/fr.json +5 -0
  287. package/templates/yoga-studio/l10n/he.json +4 -0
  288. package/templates/yoga-studio/l10n/hu.json +5 -0
  289. package/templates/yoga-studio/l10n/id.json +5 -0
  290. package/templates/yoga-studio/l10n/it.json +5 -0
  291. package/templates/yoga-studio/l10n/ja.json +5 -0
  292. package/templates/yoga-studio/l10n/ko.json +5 -0
  293. package/templates/yoga-studio/l10n/lt.json +5 -0
  294. package/templates/yoga-studio/l10n/nl.json +5 -0
  295. package/templates/yoga-studio/l10n/no.json +5 -0
  296. package/templates/yoga-studio/l10n/pl.json +5 -0
  297. package/templates/yoga-studio/l10n/pt.json +5 -0
  298. package/templates/yoga-studio/l10n/ru.json +5 -0
  299. package/templates/yoga-studio/l10n/sv.json +5 -0
  300. package/templates/yoga-studio/l10n/th.json +5 -0
  301. package/templates/yoga-studio/l10n/tr.json +5 -0
  302. package/templates/yoga-studio/l10n/uk.json +5 -0
  303. package/templates/yoga-studio/l10n/vi.json +5 -0
  304. package/templates/yoga-studio/l10n/zh.json +5 -0
  305. package/templates/yoga-studio/tier5-src/himi-branded-lite-notifsettings/index.ts +225 -45
@@ -13139,413 +13139,767 @@ export const MEMBER_SCREENS: Record<string, unknown> = {
13139
13139
  "subtitle": "__HIMI_APP_NAME__",
13140
13140
  "subtitlePath": "$service:himiBrandedAccountSettings.businessName"
13141
13141
  }
13142
- }
13143
- };
13144
-
13145
- /** The order detail My orders opens (`himi_order[_{id}]`), built for no id. */
13146
- export const ORDER_SCREEN: Record<string, unknown> = {
13147
- "screenId": "himi_order",
13148
- "renderer": "sdui_intent",
13149
- "title": "",
13150
- "schemaVersion": 1,
13151
- "cacheControl": {
13152
- "maxAge": 0,
13153
- "staleWhileRevalidate": 0
13154
13142
  },
13155
- "payload": {
13156
- "id": "himi_order.root",
13157
- "body": {
13158
- "package": "himalaya",
13159
- "type": "VStack",
13160
- "props": {
13161
- "spacing": 16,
13162
- "alignment": "leading",
13163
- "children": [
13164
- {
13165
- "id": "himi_order.title",
13166
- "body": {
13167
- "package": "himalaya",
13168
- "type": "Text",
13169
- "props": {
13170
- "text": "Order details",
13171
- "style": "title2"
13143
+ "himi_notif_settings": {
13144
+ "screenId": "himi_notif_settings",
13145
+ "renderer": "sdui_intent",
13146
+ "title": "",
13147
+ "schemaVersion": 1,
13148
+ "cacheControl": {
13149
+ "maxAge": 0,
13150
+ "staleWhileRevalidate": 0
13151
+ },
13152
+ "payload": {
13153
+ "id": "himi_notif_settings.root",
13154
+ "body": {
13155
+ "package": "himalaya",
13156
+ "type": "VStack",
13157
+ "props": {
13158
+ "spacing": 16,
13159
+ "alignment": "leading",
13160
+ "children": [
13161
+ {
13162
+ "id": "himi_notif_settings.title",
13163
+ "body": {
13164
+ "package": "himalaya",
13165
+ "type": "Text",
13166
+ "props": {
13167
+ "text": "Notification Settings",
13168
+ "style": "title1"
13169
+ }
13172
13170
  }
13173
13171
  },
13174
- "modifiers": {
13175
- "padding": {
13176
- "leading": 20,
13177
- "trailing": 20,
13178
- "top": 18,
13179
- "bottom": 0
13172
+ {
13173
+ "id": "",
13174
+ "body": {
13175
+ "package": "himalaya",
13176
+ "type": "Text",
13177
+ "props": {
13178
+ "text": "Your site notification preferences — tap a topic to mute or enable.",
13179
+ "style": "body",
13180
+ "color": "textSecondary"
13181
+ }
13182
+ },
13183
+ "modifiers": {
13184
+ "hiddenPath": "$service:himiBrandedNotifSettings.isMock"
13180
13185
  }
13181
- }
13182
- },
13183
- {
13184
- "id": "himi_order.loading",
13185
- "body": {
13186
- "package": "himalaya",
13187
- "type": "VStack",
13188
- "props": {
13189
- "spacing": 16,
13190
- "children": [
13191
- {
13192
- "id": "himi_order.skeleton_header",
13193
- "body": {
13194
- "package": "himalaya",
13195
- "type": "Skeleton",
13196
- "props": {
13197
- "height": 96,
13198
- "cornerRadius": 8
13186
+ },
13187
+ {
13188
+ "id": "",
13189
+ "body": {
13190
+ "package": "himalaya",
13191
+ "type": "Text",
13192
+ "props": {
13193
+ "text": "Example topics — your notification preferences will appear here.",
13194
+ "style": "body",
13195
+ "color": "textSecondary"
13196
+ }
13197
+ },
13198
+ "modifiers": {
13199
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMock"
13200
+ }
13201
+ },
13202
+ {
13203
+ "id": "himi_notif_settings.sample_banner",
13204
+ "body": {
13205
+ "package": "himalaya",
13206
+ "type": "Banner",
13207
+ "props": {
13208
+ "severity": "warning",
13209
+ "title": "Sample content",
13210
+ "message": "These are example settings — none are configured yet."
13211
+ }
13212
+ },
13213
+ "modifiers": {
13214
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockEmpty"
13215
+ }
13216
+ },
13217
+ {
13218
+ "id": "himi_notif_settings.unavailable_banner",
13219
+ "body": {
13220
+ "package": "himalaya",
13221
+ "type": "Banner",
13222
+ "props": {
13223
+ "severity": "warning",
13224
+ "title": "Sample content",
13225
+ "message": "Your notification settings couldn't be loaded."
13226
+ }
13227
+ },
13228
+ "modifiers": {
13229
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockUnavailable"
13230
+ }
13231
+ },
13232
+ {
13233
+ "id": "himi_notif_settings.push_off",
13234
+ "body": {
13235
+ "package": "himalaya",
13236
+ "type": "VStack",
13237
+ "props": {
13238
+ "spacing": 10,
13239
+ "alignment": "leading",
13240
+ "children": [
13241
+ {
13242
+ "id": "",
13243
+ "body": {
13244
+ "package": "himalaya",
13245
+ "type": "Banner",
13246
+ "props": {
13247
+ "severity": "warning",
13248
+ "title": "Notifications are off on this phone",
13249
+ "message": "Your choices below are saved, but nothing arrives until notifications are allowed on this phone."
13250
+ }
13199
13251
  }
13200
13252
  },
13201
- "modifiers": {
13202
- "height": 96,
13203
- "background": {
13204
- "token": "surfaceSecondary"
13253
+ {
13254
+ "id": "himi_notif_settings.open_settings",
13255
+ "body": {
13256
+ "package": "himalaya",
13257
+ "type": "Button",
13258
+ "props": {
13259
+ "title": "Open Settings",
13260
+ "style": "primary",
13261
+ "fullWidth": true,
13262
+ "action": {
13263
+ "actionId": "tier5.himiBrandedNotifSettings.openPushSettings"
13264
+ }
13265
+ }
13205
13266
  },
13206
- "cornerRadius": 8,
13207
- "accessibilityRole": "decorative"
13208
- }
13209
- },
13210
- {
13211
- "id": "himi_order.skeleton_items",
13212
- "body": {
13213
- "package": "himalaya",
13214
- "type": "Skeleton",
13215
- "props": {
13216
- "height": 160,
13217
- "cornerRadius": 8
13267
+ "modifiers": {
13268
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideOffSettingsCta"
13218
13269
  }
13219
13270
  },
13220
- "modifiers": {
13221
- "height": 160,
13222
- "background": {
13223
- "token": "surfaceSecondary"
13271
+ {
13272
+ "id": "himi_notif_settings.off_turn_on",
13273
+ "body": {
13274
+ "package": "himalaya",
13275
+ "type": "Button",
13276
+ "props": {
13277
+ "title": "Turn on notifications",
13278
+ "style": "primary",
13279
+ "fullWidth": true,
13280
+ "action": {
13281
+ "actionId": "tier5.himiBrandedNotifSettings.openPushSettings"
13282
+ }
13283
+ }
13224
13284
  },
13225
- "cornerRadius": 8,
13226
- "accessibilityRole": "decorative"
13285
+ "modifiers": {
13286
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideOffTurnOnCta"
13287
+ }
13227
13288
  }
13228
- },
13229
- {
13230
- "id": "himi_order.skeleton_summary",
13231
- "body": {
13232
- "package": "himalaya",
13233
- "type": "Skeleton",
13234
- "props": {
13235
- "height": 120,
13236
- "cornerRadius": 8
13289
+ ]
13290
+ }
13291
+ },
13292
+ "modifiers": {
13293
+ "fillMaxWidth": true,
13294
+ "hiddenPath": "$service:himiBrandedNotifSettings.hidePushOff"
13295
+ }
13296
+ },
13297
+ {
13298
+ "id": "himi_notif_settings.push_ask",
13299
+ "body": {
13300
+ "package": "himalaya",
13301
+ "type": "VStack",
13302
+ "props": {
13303
+ "spacing": 10,
13304
+ "alignment": "leading",
13305
+ "children": [
13306
+ {
13307
+ "id": "",
13308
+ "body": {
13309
+ "package": "himalaya",
13310
+ "type": "Banner",
13311
+ "props": {
13312
+ "severity": "info",
13313
+ "title": "Notifications aren't on yet",
13314
+ "message": "Allow notifications on this phone to get the updates you choose below."
13315
+ }
13237
13316
  }
13238
13317
  },
13239
- "modifiers": {
13240
- "height": 120,
13241
- "background": {
13242
- "token": "surfaceSecondary"
13318
+ {
13319
+ "id": "himi_notif_settings.turn_on",
13320
+ "body": {
13321
+ "package": "himalaya",
13322
+ "type": "Button",
13323
+ "props": {
13324
+ "title": "Turn on notifications",
13325
+ "style": "primary",
13326
+ "fullWidth": true,
13327
+ "action": {
13328
+ "actionId": "tier5.himiBrandedNotifSettings.enablePush"
13329
+ }
13330
+ }
13243
13331
  },
13244
- "cornerRadius": 8,
13245
- "accessibilityRole": "decorative"
13332
+ "modifiers": {
13333
+ "hiddenPath": "$service:himiBrandedNotifSettings.hidePushAsk"
13334
+ }
13246
13335
  }
13247
- }
13248
- ]
13249
- }
13250
- },
13251
- "modifiers": {
13252
- "hiddenPath": "$service:himiBrandedOrder.notLoading"
13253
- }
13254
- },
13255
- {
13256
- "id": "himi_order.error",
13257
- "body": {
13258
- "package": "himalaya",
13259
- "type": "ErrorState",
13260
- "props": {
13261
- "title": "Order details could not be loaded.",
13262
- "placement": "section",
13263
- "ctaLabel": "Try again",
13264
- "cta": {
13265
- "actionId": "tier5.himiBrandedOrder.retry"
13336
+ ]
13266
13337
  }
13338
+ },
13339
+ "modifiers": {
13340
+ "fillMaxWidth": true,
13341
+ "hiddenPath": "$service:himiBrandedNotifSettings.hidePushAsk"
13267
13342
  }
13268
13343
  },
13269
- "modifiers": {
13270
- "hiddenPath": "$service:himiBrandedOrder.hideLoadError"
13271
- }
13272
- },
13273
- {
13274
- "id": "himi_order.permission",
13275
- "body": {
13276
- "package": "himalaya",
13277
- "type": "ErrorState",
13278
- "props": {
13279
- "variant": "permission",
13280
- "body": "Order details are unavailable for this account.",
13281
- "placement": "section"
13344
+ {
13345
+ "id": "himi_notif_settings.push_message",
13346
+ "body": {
13347
+ "package": "himalaya",
13348
+ "type": "Text",
13349
+ "props": {
13350
+ "text": "$service:himiBrandedNotifSettings.pushMessage",
13351
+ "style": "body",
13352
+ "color": "textSecondary",
13353
+ "collapseWhenEmpty": true
13354
+ }
13282
13355
  }
13283
13356
  },
13284
- "modifiers": {
13285
- "hiddenPath": "$service:himiBrandedOrder.hidePermissionError"
13286
- }
13287
- },
13288
- {
13289
- "id": "",
13290
- "body": {
13291
- "package": "himalaya",
13292
- "type": "VStack",
13293
- "props": {
13294
- "spacing": 0,
13295
- "alignment": "leading",
13296
- "children": [
13297
- {
13298
- "id": "himi_order.header",
13299
- "body": {
13300
- "package": "himalaya",
13301
- "type": "VStack",
13302
- "props": {
13303
- "spacing": 0,
13304
- "alignment": "leading",
13305
- "children": [
13306
- {
13307
- "id": "",
13308
- "body": {
13309
- "package": "himalaya",
13310
- "type": "VStack",
13311
- "props": {
13312
- "spacing": 20,
13313
- "alignment": "leading",
13314
- "children": [
13315
- {
13316
- "id": "",
13317
- "body": {
13318
- "package": "himalaya",
13319
- "type": "Text",
13320
- "props": {
13321
- "text": "$service:himiBrandedOrder.title",
13322
- "style": "title2",
13323
- "collapseWhenEmpty": true
13324
- }
13325
- }
13326
- },
13327
- {
13328
- "id": "",
13329
- "body": {
13330
- "package": "himalaya",
13331
- "type": "Text",
13332
- "props": {
13333
- "text": "$service:himiBrandedOrder.emptyText",
13334
- "style": "footnote",
13335
- "color": "textSecondary",
13336
- "collapseWhenEmpty": true
13337
- }
13357
+ {
13358
+ "id": "himi_notif_settings.action_message",
13359
+ "body": {
13360
+ "package": "himalaya",
13361
+ "type": "Text",
13362
+ "props": {
13363
+ "text": "$service:himiBrandedNotifSettings.actionMessage",
13364
+ "style": "body",
13365
+ "color": "textSecondary",
13366
+ "collapseWhenEmpty": true
13367
+ }
13368
+ }
13369
+ },
13370
+ {
13371
+ "id": "himi_notif_settings.channels",
13372
+ "body": {
13373
+ "package": "himalaya",
13374
+ "type": "SegmentedControl",
13375
+ "props": {
13376
+ "options": [
13377
+ {
13378
+ "id": "push",
13379
+ "label": "Push"
13380
+ },
13381
+ {
13382
+ "id": "email",
13383
+ "label": "Email"
13384
+ }
13385
+ ],
13386
+ "selectedId": "$service:himiBrandedNotifSettings.channel",
13387
+ "onChange": {
13388
+ "actionId": "tier5.himiBrandedNotifSettings.setChannel"
13389
+ }
13390
+ }
13391
+ },
13392
+ "modifiers": {
13393
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideChannels"
13394
+ }
13395
+ },
13396
+ {
13397
+ "id": "himi_notif_settings.loading",
13398
+ "body": {
13399
+ "package": "himalaya",
13400
+ "type": "Skeleton",
13401
+ "props": {
13402
+ "height": 72,
13403
+ "cornerRadius": 12,
13404
+ "count": 3
13405
+ }
13406
+ },
13407
+ "modifiers": {
13408
+ "hiddenPath": "$service:himiBrandedNotifSettings.notLoading"
13409
+ }
13410
+ },
13411
+ {
13412
+ "id": "himi_notif_settings.error",
13413
+ "body": {
13414
+ "package": "himalaya",
13415
+ "type": "VStack",
13416
+ "props": {
13417
+ "spacing": 8,
13418
+ "alignment": "leading",
13419
+ "children": [
13420
+ {
13421
+ "id": "",
13422
+ "body": {
13423
+ "package": "himalaya",
13424
+ "type": "Text",
13425
+ "props": {
13426
+ "text": "$service:himiBrandedNotifSettings.error",
13427
+ "style": "bodyEmphasis",
13428
+ "collapseWhenEmpty": true
13429
+ }
13430
+ }
13431
+ },
13432
+ {
13433
+ "id": "himi_notif_settings.retry",
13434
+ "body": {
13435
+ "package": "himalaya",
13436
+ "type": "Button",
13437
+ "props": {
13438
+ "title": "Try again",
13439
+ "style": "secondary",
13440
+ "action": {
13441
+ "actionId": "tier5.himiBrandedNotifSettings.load"
13442
+ }
13443
+ }
13444
+ },
13445
+ "modifiers": {
13446
+ "hiddenPath": "$service:himiBrandedNotifSettings.signInRequired"
13447
+ }
13448
+ },
13449
+ {
13450
+ "id": "himi_notif_settings.sign_in",
13451
+ "body": {
13452
+ "package": "himalaya",
13453
+ "type": "Button",
13454
+ "props": {
13455
+ "title": "Sign in",
13456
+ "style": "primary",
13457
+ "leadingIcon": "person",
13458
+ "action": {
13459
+ "actionId": "himi.open",
13460
+ "params": {
13461
+ "screenId": "himi_sign_in",
13462
+ "returnScreenId": "himi_notif_settings"
13463
+ }
13464
+ }
13465
+ }
13466
+ },
13467
+ "modifiers": {
13468
+ "hiddenPath": "$service:himiBrandedNotifSettings.noSignIn"
13469
+ }
13470
+ }
13471
+ ]
13472
+ }
13473
+ },
13474
+ "modifiers": {
13475
+ "background": {
13476
+ "token": "surfaceElevated"
13477
+ },
13478
+ "border": {
13479
+ "width": 1,
13480
+ "color": {
13481
+ "token": "border"
13482
+ }
13483
+ },
13484
+ "cornerRadius": 4,
13485
+ "padding": {
13486
+ "leading": 16,
13487
+ "trailing": 16,
13488
+ "top": 16,
13489
+ "bottom": 16
13490
+ },
13491
+ "hiddenPath": "$service:himiBrandedNotifSettings.notErrored"
13492
+ }
13493
+ },
13494
+ {
13495
+ "id": "himi_notif_settings.allow_all",
13496
+ "body": {
13497
+ "package": "himalaya",
13498
+ "type": "Toggle",
13499
+ "props": {
13500
+ "label": "Allow all push notifications",
13501
+ "valuePath": "$service:himiBrandedNotifSettings.allOn",
13502
+ "onChange": {
13503
+ "actionId": "tier5.himiBrandedNotifSettings.toggleAll"
13504
+ }
13505
+ }
13506
+ },
13507
+ "modifiers": {
13508
+ "background": {
13509
+ "token": "surfaceElevated"
13510
+ },
13511
+ "border": {
13512
+ "width": 1,
13513
+ "color": {
13514
+ "token": "border"
13515
+ }
13516
+ },
13517
+ "cornerRadius": 8,
13518
+ "padding": {
13519
+ "leading": 14,
13520
+ "trailing": 14,
13521
+ "top": 12,
13522
+ "bottom": 12
13523
+ },
13524
+ "opacityPath": "$service:himiBrandedNotifSettings.topicsOpacity",
13525
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideAllowAllPush"
13526
+ }
13527
+ },
13528
+ {
13529
+ "id": "himi_notif_settings.allow_all_email",
13530
+ "body": {
13531
+ "package": "himalaya",
13532
+ "type": "Toggle",
13533
+ "props": {
13534
+ "label": "Allow all email notifications",
13535
+ "valuePath": "$service:himiBrandedNotifSettings.allOn",
13536
+ "onChange": {
13537
+ "actionId": "tier5.himiBrandedNotifSettings.toggleAll"
13538
+ }
13539
+ }
13540
+ },
13541
+ "modifiers": {
13542
+ "background": {
13543
+ "token": "surfaceElevated"
13544
+ },
13545
+ "border": {
13546
+ "width": 1,
13547
+ "color": {
13548
+ "token": "border"
13549
+ }
13550
+ },
13551
+ "cornerRadius": 8,
13552
+ "padding": {
13553
+ "leading": 14,
13554
+ "trailing": 14,
13555
+ "top": 12,
13556
+ "bottom": 12
13557
+ },
13558
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideAllowAllEmail"
13559
+ }
13560
+ },
13561
+ {
13562
+ "id": "himi_notif_settings.rows",
13563
+ "body": {
13564
+ "package": "himalaya",
13565
+ "type": "Grid",
13566
+ "props": {
13567
+ "columns": 1,
13568
+ "spacing": 10,
13569
+ "itemsPath": "$service:himiBrandedNotifSettings.topics",
13570
+ "items": [
13571
+ {
13572
+ "id": "",
13573
+ "body": {
13574
+ "package": "himalaya",
13575
+ "type": "VStack",
13576
+ "props": {
13577
+ "spacing": 2,
13578
+ "alignment": "leading",
13579
+ "children": [
13580
+ {
13581
+ "id": "himi_notif_settings.topic.$item.id",
13582
+ "body": {
13583
+ "package": "himalaya",
13584
+ "type": "Toggle",
13585
+ "props": {
13586
+ "label": "$item.name",
13587
+ "valuePath": "$item.on",
13588
+ "onChange": {
13589
+ "actionId": "tier5.himiBrandedNotifSettings.toggle",
13590
+ "params": {
13591
+ "id": "$item.id"
13338
13592
  }
13339
- },
13340
- {
13341
- "id": "",
13342
- "body": {
13343
- "package": "himalaya",
13344
- "type": "HStack",
13345
- "props": {
13346
- "spacing": 8,
13347
- "children": [
13348
- {
13349
- "id": "",
13350
- "body": {
13351
- "package": "himalaya",
13352
- "type": "Text",
13353
- "props": {
13354
- "text": "$service:himiBrandedOrder.placedAt",
13355
- "style": "footnote",
13356
- "collapseWhenEmpty": true
13357
- }
13358
- }
13359
- },
13360
- {
13361
- "id": "",
13362
- "body": {
13363
- "package": "himalaya",
13364
- "type": "Spacer",
13365
- "props": {}
13366
- }
13367
- },
13368
- {
13369
- "id": "",
13370
- "body": {
13371
- "package": "himalaya",
13372
- "type": "Text",
13373
- "props": {
13374
- "text": "$service:himiBrandedOrder.fulfillmentStatus",
13375
- "style": "caption",
13376
- "color": "accentPrimary",
13377
- "collapseWhenEmpty": true
13378
- }
13379
- }
13380
- }
13381
- ]
13593
+ }
13594
+ }
13595
+ },
13596
+ "modifiers": {
13597
+ "hiddenPath": "$item.locked"
13598
+ }
13599
+ },
13600
+ {
13601
+ "id": "himi_notif_settings.locked_topic.$item.id",
13602
+ "body": {
13603
+ "package": "himalaya",
13604
+ "type": "HStack",
13605
+ "props": {
13606
+ "spacing": 12,
13607
+ "children": [
13608
+ {
13609
+ "id": "",
13610
+ "body": {
13611
+ "package": "himalaya",
13612
+ "type": "Text",
13613
+ "props": {
13614
+ "text": "$item.name",
13615
+ "style": "body",
13616
+ "maxLines": 2
13617
+ }
13382
13618
  }
13383
- }
13384
- },
13385
- {
13386
- "id": "",
13387
- "body": {
13388
- "package": "himalaya",
13389
- "type": "Text",
13390
- "props": {
13391
- "text": "Order summary",
13392
- "style": "title3"
13619
+ },
13620
+ {
13621
+ "id": "",
13622
+ "body": {
13623
+ "package": "himalaya",
13624
+ "type": "Spacer",
13625
+ "props": {}
13393
13626
  }
13394
- }
13395
- },
13396
- {
13397
- "id": "himi_order.items",
13398
- "body": {
13399
- "package": "himalaya",
13400
- "type": "Grid",
13401
- "props": {
13402
- "columns": 1,
13403
- "spacing": 10,
13404
- "itemsPath": "$service:himiBrandedOrder.rows",
13405
- "items": [
13406
- {
13407
- "id": "himi_order.line",
13408
- "body": {
13409
- "package": "himalaya",
13410
- "type": "HStack",
13411
- "props": {
13412
- "spacing": 10,
13413
- "children": [
13414
- {
13415
- "id": "himi_order.line_media",
13416
- "body": {
13417
- "package": "himalaya",
13418
- "type": "Image",
13419
- "props": {
13420
- "url": "$item.image",
13421
- "width": 42,
13422
- "height": 48,
13423
- "contentMode": "fill",
13424
- "icon": "photo",
13425
- "contentDescription": "$item.name"
13426
- }
13427
- },
13428
- "modifiers": {
13429
- "cornerRadius": 4,
13430
- "background": {
13431
- "token": "surfaceSecondary"
13432
- }
13433
- }
13434
- },
13435
- {
13436
- "id": "",
13437
- "body": {
13438
- "package": "himalaya",
13439
- "type": "VStack",
13440
- "props": {
13441
- "spacing": 3,
13442
- "alignment": "leading",
13443
- "children": [
13444
- {
13445
- "id": "",
13446
- "body": {
13447
- "package": "himalaya",
13448
- "type": "Text",
13449
- "props": {
13450
- "text": "$item.name",
13451
- "style": "bodyEmphasis",
13452
- "maxLines": 2
13453
- }
13454
- }
13455
- },
13456
- {
13457
- "id": "",
13458
- "body": {
13459
- "package": "himalaya",
13460
- "type": "Text",
13461
- "props": {
13462
- "text": "$item.options",
13463
- "style": "footnote",
13464
- "color": "textSecondary",
13465
- "collapseWhenEmpty": true
13466
- }
13467
- }
13468
- },
13469
- {
13470
- "id": "",
13471
- "body": {
13472
- "package": "himalaya",
13473
- "type": "Text",
13474
- "props": {
13475
- "text": "$item.quantity",
13476
- "style": "footnote",
13477
- "color": "textSecondary"
13478
- }
13479
- }
13480
- }
13481
- ]
13482
- }
13483
- },
13484
- "modifiers": {
13485
- "weight": 1
13486
- }
13487
- },
13488
- {
13489
- "id": "",
13490
- "body": {
13491
- "package": "himalaya",
13492
- "type": "Text",
13493
- "props": {
13494
- "text": "$item.price",
13495
- "style": "bodyEmphasis",
13496
- "maxLines": 1,
13497
- "collapseWhenEmpty": true
13498
- }
13499
- },
13500
- "modifiers": {
13501
- "width": 76
13502
- }
13503
- }
13504
- ]
13505
- }
13506
- }
13507
- }
13508
- ]
13627
+ },
13628
+ {
13629
+ "id": "",
13630
+ "body": {
13631
+ "package": "himalaya",
13632
+ "type": "Text",
13633
+ "props": {
13634
+ "text": "$item.stateLabel",
13635
+ "style": "footnote",
13636
+ "color": "textSecondary",
13637
+ "maxLines": 1
13638
+ }
13509
13639
  }
13510
13640
  }
13511
- }
13512
- ]
13513
- }
13514
- },
13515
- "modifiers": {
13516
- "padding": {
13517
- "leading": 20,
13518
- "trailing": 20,
13519
- "top": 24,
13520
- "bottom": 24
13641
+ ]
13642
+ }
13521
13643
  },
13522
- "fillMaxWidth": true
13523
- }
13524
- },
13525
- {
13526
- "id": "",
13527
- "body": {
13528
- "package": "himalaya",
13529
- "type": "VStack",
13530
- "props": {
13531
- "spacing": 0,
13532
- "children": []
13644
+ "modifiers": {
13645
+ "hiddenPath": "$item.notLocked"
13533
13646
  }
13534
13647
  },
13535
- "modifiers": {
13536
- "height": 8,
13537
- "fillMaxWidth": true,
13538
- "background": {
13539
- "token": "surfaceSecondary"
13648
+ {
13649
+ "id": "",
13650
+ "body": {
13651
+ "package": "himalaya",
13652
+ "type": "Text",
13653
+ "props": {
13654
+ "text": "$item.note",
13655
+ "style": "footnote",
13656
+ "color": "textSecondary",
13657
+ "collapseWhenEmpty": true
13658
+ }
13540
13659
  }
13541
13660
  }
13661
+ ]
13662
+ }
13663
+ },
13664
+ "modifiers": {
13665
+ "background": {
13666
+ "token": "surfaceElevated"
13667
+ },
13668
+ "border": {
13669
+ "width": 1,
13670
+ "color": {
13671
+ "token": "border"
13542
13672
  }
13543
- ]
13544
- }
13545
- }
13546
- },
13673
+ },
13674
+ "cornerRadius": 8,
13675
+ "padding": {
13676
+ "leading": 14,
13677
+ "trailing": 14,
13678
+ "top": 12,
13679
+ "bottom": 12
13680
+ }
13681
+ }
13682
+ }
13683
+ ]
13684
+ }
13685
+ },
13686
+ "modifiers": {
13687
+ "opacityPath": "$service:himiBrandedNotifSettings.topicsOpacity",
13688
+ "hiddenPath": "$service:himiBrandedNotifSettings.noTopics"
13689
+ }
13690
+ },
13691
+ {
13692
+ "id": "",
13693
+ "body": {
13694
+ "package": "himalaya",
13695
+ "type": "Text",
13696
+ "props": {
13697
+ "text": "$service:himiBrandedNotifSettings.emptyText",
13698
+ "style": "body",
13699
+ "color": "textSecondary",
13700
+ "collapseWhenEmpty": true
13701
+ }
13702
+ },
13703
+ "modifiers": {
13704
+ "padding": {
13705
+ "leading": 8,
13706
+ "trailing": 8,
13707
+ "top": 8,
13708
+ "bottom": 0
13709
+ }
13710
+ }
13711
+ }
13712
+ ]
13713
+ }
13714
+ },
13715
+ "modifiers": {
13716
+ "background": {
13717
+ "token": "surfacePrimary"
13718
+ },
13719
+ "padding": {
13720
+ "leading": 16,
13721
+ "trailing": 16,
13722
+ "top": 18,
13723
+ "bottom": 28
13724
+ },
13725
+ "onAppear": {
13726
+ "actionId": "tier5.himiBrandedNotifSettings.load",
13727
+ "params": {
13728
+ "channels": "1",
13729
+ "allowAll": "1"
13730
+ }
13731
+ }
13732
+ }
13733
+ },
13734
+ "logicBundle": {
13735
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-notifsettings?integrity=",
13736
+ "integrity": "",
13737
+ "contentType": "application/javascript+ts-bundle",
13738
+ "declaredCapabilities": [
13739
+ "wix_api",
13740
+ "push",
13741
+ "app_info"
13742
+ ],
13743
+ "minBinaryVersion": "0.1.0",
13744
+ "bundleVersion": "0.0.1"
13745
+ }
13746
+ }
13747
+ };
13748
+
13749
+ /** The order detail My orders opens (`himi_order[_{id}]`), built for no id. */
13750
+ export const ORDER_SCREEN: Record<string, unknown> = {
13751
+ "screenId": "himi_order",
13752
+ "renderer": "sdui_intent",
13753
+ "title": "",
13754
+ "schemaVersion": 1,
13755
+ "cacheControl": {
13756
+ "maxAge": 0,
13757
+ "staleWhileRevalidate": 0
13758
+ },
13759
+ "payload": {
13760
+ "id": "himi_order.root",
13761
+ "body": {
13762
+ "package": "himalaya",
13763
+ "type": "VStack",
13764
+ "props": {
13765
+ "spacing": 16,
13766
+ "alignment": "leading",
13767
+ "children": [
13768
+ {
13769
+ "id": "himi_order.title",
13770
+ "body": {
13771
+ "package": "himalaya",
13772
+ "type": "Text",
13773
+ "props": {
13774
+ "text": "Order details",
13775
+ "style": "title2"
13776
+ }
13777
+ },
13778
+ "modifiers": {
13779
+ "padding": {
13780
+ "leading": 20,
13781
+ "trailing": 20,
13782
+ "top": 18,
13783
+ "bottom": 0
13784
+ }
13785
+ }
13786
+ },
13787
+ {
13788
+ "id": "himi_order.loading",
13789
+ "body": {
13790
+ "package": "himalaya",
13791
+ "type": "VStack",
13792
+ "props": {
13793
+ "spacing": 16,
13794
+ "children": [
13547
13795
  {
13548
- "id": "himi_order.delivery",
13796
+ "id": "himi_order.skeleton_header",
13797
+ "body": {
13798
+ "package": "himalaya",
13799
+ "type": "Skeleton",
13800
+ "props": {
13801
+ "height": 96,
13802
+ "cornerRadius": 8
13803
+ }
13804
+ },
13805
+ "modifiers": {
13806
+ "height": 96,
13807
+ "background": {
13808
+ "token": "surfaceSecondary"
13809
+ },
13810
+ "cornerRadius": 8,
13811
+ "accessibilityRole": "decorative"
13812
+ }
13813
+ },
13814
+ {
13815
+ "id": "himi_order.skeleton_items",
13816
+ "body": {
13817
+ "package": "himalaya",
13818
+ "type": "Skeleton",
13819
+ "props": {
13820
+ "height": 160,
13821
+ "cornerRadius": 8
13822
+ }
13823
+ },
13824
+ "modifiers": {
13825
+ "height": 160,
13826
+ "background": {
13827
+ "token": "surfaceSecondary"
13828
+ },
13829
+ "cornerRadius": 8,
13830
+ "accessibilityRole": "decorative"
13831
+ }
13832
+ },
13833
+ {
13834
+ "id": "himi_order.skeleton_summary",
13835
+ "body": {
13836
+ "package": "himalaya",
13837
+ "type": "Skeleton",
13838
+ "props": {
13839
+ "height": 120,
13840
+ "cornerRadius": 8
13841
+ }
13842
+ },
13843
+ "modifiers": {
13844
+ "height": 120,
13845
+ "background": {
13846
+ "token": "surfaceSecondary"
13847
+ },
13848
+ "cornerRadius": 8,
13849
+ "accessibilityRole": "decorative"
13850
+ }
13851
+ }
13852
+ ]
13853
+ }
13854
+ },
13855
+ "modifiers": {
13856
+ "hiddenPath": "$service:himiBrandedOrder.notLoading"
13857
+ }
13858
+ },
13859
+ {
13860
+ "id": "himi_order.error",
13861
+ "body": {
13862
+ "package": "himalaya",
13863
+ "type": "ErrorState",
13864
+ "props": {
13865
+ "title": "Order details could not be loaded.",
13866
+ "placement": "section",
13867
+ "ctaLabel": "Try again",
13868
+ "cta": {
13869
+ "actionId": "tier5.himiBrandedOrder.retry"
13870
+ }
13871
+ }
13872
+ },
13873
+ "modifiers": {
13874
+ "hiddenPath": "$service:himiBrandedOrder.hideLoadError"
13875
+ }
13876
+ },
13877
+ {
13878
+ "id": "himi_order.permission",
13879
+ "body": {
13880
+ "package": "himalaya",
13881
+ "type": "ErrorState",
13882
+ "props": {
13883
+ "variant": "permission",
13884
+ "body": "Order details are unavailable for this account.",
13885
+ "placement": "section"
13886
+ }
13887
+ },
13888
+ "modifiers": {
13889
+ "hiddenPath": "$service:himiBrandedOrder.hidePermissionError"
13890
+ }
13891
+ },
13892
+ {
13893
+ "id": "",
13894
+ "body": {
13895
+ "package": "himalaya",
13896
+ "type": "VStack",
13897
+ "props": {
13898
+ "spacing": 0,
13899
+ "alignment": "leading",
13900
+ "children": [
13901
+ {
13902
+ "id": "himi_order.header",
13549
13903
  "body": {
13550
13904
  "package": "himalaya",
13551
13905
  "type": "VStack",
@@ -13568,8 +13922,9 @@ export const ORDER_SCREEN: Record<string, unknown> = {
13568
13922
  "package": "himalaya",
13569
13923
  "type": "Text",
13570
13924
  "props": {
13571
- "text": "$service:himiBrandedOrder.deliveryTitle",
13572
- "style": "title3"
13925
+ "text": "$service:himiBrandedOrder.title",
13926
+ "style": "title2",
13927
+ "collapseWhenEmpty": true
13573
13928
  }
13574
13929
  }
13575
13930
  },
@@ -13577,10 +13932,22 @@ export const ORDER_SCREEN: Record<string, unknown> = {
13577
13932
  "id": "",
13578
13933
  "body": {
13579
13934
  "package": "himalaya",
13580
- "type": "VStack",
13935
+ "type": "Text",
13581
13936
  "props": {
13582
- "spacing": 6,
13583
- "alignment": "leading",
13937
+ "text": "$service:himiBrandedOrder.emptyText",
13938
+ "style": "footnote",
13939
+ "color": "textSecondary",
13940
+ "collapseWhenEmpty": true
13941
+ }
13942
+ }
13943
+ },
13944
+ {
13945
+ "id": "",
13946
+ "body": {
13947
+ "package": "himalaya",
13948
+ "type": "HStack",
13949
+ "props": {
13950
+ "spacing": 8,
13584
13951
  "children": [
13585
13952
  {
13586
13953
  "id": "",
@@ -13588,8 +13955,9 @@ export const ORDER_SCREEN: Record<string, unknown> = {
13588
13955
  "package": "himalaya",
13589
13956
  "type": "Text",
13590
13957
  "props": {
13591
- "text": "Delivery method",
13592
- "style": "bodyEmphasis"
13958
+ "text": "$service:himiBrandedOrder.placedAt",
13959
+ "style": "footnote",
13960
+ "collapseWhenEmpty": true
13593
13961
  }
13594
13962
  }
13595
13963
  },
@@ -13597,12 +13965,248 @@ export const ORDER_SCREEN: Record<string, unknown> = {
13597
13965
  "id": "",
13598
13966
  "body": {
13599
13967
  "package": "himalaya",
13600
- "type": "Text",
13601
- "props": {
13602
- "text": "$service:himiBrandedOrder.deliveryMethod",
13603
- "style": "footnote",
13604
- "color": "textSecondary"
13605
- }
13968
+ "type": "Spacer",
13969
+ "props": {}
13970
+ }
13971
+ },
13972
+ {
13973
+ "id": "",
13974
+ "body": {
13975
+ "package": "himalaya",
13976
+ "type": "Text",
13977
+ "props": {
13978
+ "text": "$service:himiBrandedOrder.fulfillmentStatus",
13979
+ "style": "caption",
13980
+ "color": "accentPrimary",
13981
+ "collapseWhenEmpty": true
13982
+ }
13983
+ }
13984
+ }
13985
+ ]
13986
+ }
13987
+ }
13988
+ },
13989
+ {
13990
+ "id": "",
13991
+ "body": {
13992
+ "package": "himalaya",
13993
+ "type": "Text",
13994
+ "props": {
13995
+ "text": "Order summary",
13996
+ "style": "title3"
13997
+ }
13998
+ }
13999
+ },
14000
+ {
14001
+ "id": "himi_order.items",
14002
+ "body": {
14003
+ "package": "himalaya",
14004
+ "type": "Grid",
14005
+ "props": {
14006
+ "columns": 1,
14007
+ "spacing": 10,
14008
+ "itemsPath": "$service:himiBrandedOrder.rows",
14009
+ "items": [
14010
+ {
14011
+ "id": "himi_order.line",
14012
+ "body": {
14013
+ "package": "himalaya",
14014
+ "type": "HStack",
14015
+ "props": {
14016
+ "spacing": 10,
14017
+ "children": [
14018
+ {
14019
+ "id": "himi_order.line_media",
14020
+ "body": {
14021
+ "package": "himalaya",
14022
+ "type": "Image",
14023
+ "props": {
14024
+ "url": "$item.image",
14025
+ "width": 42,
14026
+ "height": 48,
14027
+ "contentMode": "fill",
14028
+ "icon": "photo",
14029
+ "contentDescription": "$item.name"
14030
+ }
14031
+ },
14032
+ "modifiers": {
14033
+ "cornerRadius": 4,
14034
+ "background": {
14035
+ "token": "surfaceSecondary"
14036
+ }
14037
+ }
14038
+ },
14039
+ {
14040
+ "id": "",
14041
+ "body": {
14042
+ "package": "himalaya",
14043
+ "type": "VStack",
14044
+ "props": {
14045
+ "spacing": 3,
14046
+ "alignment": "leading",
14047
+ "children": [
14048
+ {
14049
+ "id": "",
14050
+ "body": {
14051
+ "package": "himalaya",
14052
+ "type": "Text",
14053
+ "props": {
14054
+ "text": "$item.name",
14055
+ "style": "bodyEmphasis",
14056
+ "maxLines": 2
14057
+ }
14058
+ }
14059
+ },
14060
+ {
14061
+ "id": "",
14062
+ "body": {
14063
+ "package": "himalaya",
14064
+ "type": "Text",
14065
+ "props": {
14066
+ "text": "$item.options",
14067
+ "style": "footnote",
14068
+ "color": "textSecondary",
14069
+ "collapseWhenEmpty": true
14070
+ }
14071
+ }
14072
+ },
14073
+ {
14074
+ "id": "",
14075
+ "body": {
14076
+ "package": "himalaya",
14077
+ "type": "Text",
14078
+ "props": {
14079
+ "text": "$item.quantity",
14080
+ "style": "footnote",
14081
+ "color": "textSecondary"
14082
+ }
14083
+ }
14084
+ }
14085
+ ]
14086
+ }
14087
+ },
14088
+ "modifiers": {
14089
+ "weight": 1
14090
+ }
14091
+ },
14092
+ {
14093
+ "id": "",
14094
+ "body": {
14095
+ "package": "himalaya",
14096
+ "type": "Text",
14097
+ "props": {
14098
+ "text": "$item.price",
14099
+ "style": "bodyEmphasis",
14100
+ "maxLines": 1,
14101
+ "collapseWhenEmpty": true
14102
+ }
14103
+ },
14104
+ "modifiers": {
14105
+ "width": 76
14106
+ }
14107
+ }
14108
+ ]
14109
+ }
14110
+ }
14111
+ }
14112
+ ]
14113
+ }
14114
+ }
14115
+ }
14116
+ ]
14117
+ }
14118
+ },
14119
+ "modifiers": {
14120
+ "padding": {
14121
+ "leading": 20,
14122
+ "trailing": 20,
14123
+ "top": 24,
14124
+ "bottom": 24
14125
+ },
14126
+ "fillMaxWidth": true
14127
+ }
14128
+ },
14129
+ {
14130
+ "id": "",
14131
+ "body": {
14132
+ "package": "himalaya",
14133
+ "type": "VStack",
14134
+ "props": {
14135
+ "spacing": 0,
14136
+ "children": []
14137
+ }
14138
+ },
14139
+ "modifiers": {
14140
+ "height": 8,
14141
+ "fillMaxWidth": true,
14142
+ "background": {
14143
+ "token": "surfaceSecondary"
14144
+ }
14145
+ }
14146
+ }
14147
+ ]
14148
+ }
14149
+ }
14150
+ },
14151
+ {
14152
+ "id": "himi_order.delivery",
14153
+ "body": {
14154
+ "package": "himalaya",
14155
+ "type": "VStack",
14156
+ "props": {
14157
+ "spacing": 0,
14158
+ "alignment": "leading",
14159
+ "children": [
14160
+ {
14161
+ "id": "",
14162
+ "body": {
14163
+ "package": "himalaya",
14164
+ "type": "VStack",
14165
+ "props": {
14166
+ "spacing": 20,
14167
+ "alignment": "leading",
14168
+ "children": [
14169
+ {
14170
+ "id": "",
14171
+ "body": {
14172
+ "package": "himalaya",
14173
+ "type": "Text",
14174
+ "props": {
14175
+ "text": "$service:himiBrandedOrder.deliveryTitle",
14176
+ "style": "title3"
14177
+ }
14178
+ }
14179
+ },
14180
+ {
14181
+ "id": "",
14182
+ "body": {
14183
+ "package": "himalaya",
14184
+ "type": "VStack",
14185
+ "props": {
14186
+ "spacing": 6,
14187
+ "alignment": "leading",
14188
+ "children": [
14189
+ {
14190
+ "id": "",
14191
+ "body": {
14192
+ "package": "himalaya",
14193
+ "type": "Text",
14194
+ "props": {
14195
+ "text": "Delivery method",
14196
+ "style": "bodyEmphasis"
14197
+ }
14198
+ }
14199
+ },
14200
+ {
14201
+ "id": "",
14202
+ "body": {
14203
+ "package": "himalaya",
14204
+ "type": "Text",
14205
+ "props": {
14206
+ "text": "$service:himiBrandedOrder.deliveryMethod",
14207
+ "style": "footnote",
14208
+ "color": "textSecondary"
14209
+ }
13606
14210
  }
13607
14211
  }
13608
14212
  ]
@@ -25197,26 +25801,631 @@ export const MEMBER_SEED: Record<string, unknown> = {
25197
25801
  "fillMaxWidth": true
25198
25802
  }
25199
25803
  }
25200
- ]
25201
- }
25202
- },
25203
- "modifiers": {
25204
- "fillMaxWidth": true,
25205
- "padding": {
25206
- "leading": 16,
25207
- "trailing": 16,
25208
- "top": 24,
25209
- "bottom": 24
25210
- }
25804
+ ]
25805
+ }
25806
+ },
25807
+ "modifiers": {
25808
+ "fillMaxWidth": true,
25809
+ "padding": {
25810
+ "leading": 16,
25811
+ "trailing": 16,
25812
+ "top": 24,
25813
+ "bottom": 24
25814
+ }
25815
+ }
25816
+ }
25817
+ ]
25818
+ }
25819
+ }
25820
+ }
25821
+ }
25822
+ ]
25823
+ }
25824
+ }
25825
+ }
25826
+ ]
25827
+ }
25828
+ },
25829
+ "modifiers": {
25830
+ "background": {
25831
+ "token": "surfacePrimary"
25832
+ },
25833
+ "padding": {
25834
+ "bottom": 32
25835
+ },
25836
+ "onAppear": {
25837
+ "actionId": "tier5.himiBrandedAccountPrivacy.load",
25838
+ "params": {
25839
+ "businessName": "__HIMI_APP_NAME__"
25840
+ }
25841
+ }
25842
+ }
25843
+ },
25844
+ "logicBundle": {
25845
+ "url": "/v1/bundles/himi-branded-lite-account-settings?integrity=",
25846
+ "integrity": "",
25847
+ "contentType": "application/javascript+ts-bundle",
25848
+ "declaredCapabilities": [
25849
+ "wix_api",
25850
+ "app_info",
25851
+ "ui",
25852
+ "open_url"
25853
+ ],
25854
+ "minBinaryVersion": "0.1.0",
25855
+ "bundleVersion": "0.0.1"
25856
+ },
25857
+ "topBar": {
25858
+ "subtitle": "__HIMI_APP_NAME__",
25859
+ "subtitlePath": "$service:himiBrandedAccountSettings.businessName"
25860
+ }
25861
+ },
25862
+ "himi_notif_settings": {
25863
+ "screenId": "himi_notif_settings",
25864
+ "renderer": "sdui_intent",
25865
+ "title": "",
25866
+ "schemaVersion": 1,
25867
+ "cacheControl": {
25868
+ "maxAge": 0,
25869
+ "staleWhileRevalidate": 0
25870
+ },
25871
+ "payload": {
25872
+ "id": "himi_notif_settings.root",
25873
+ "body": {
25874
+ "package": "himalaya",
25875
+ "type": "VStack",
25876
+ "props": {
25877
+ "spacing": 16,
25878
+ "alignment": "leading",
25879
+ "children": [
25880
+ {
25881
+ "id": "himi_notif_settings.title",
25882
+ "body": {
25883
+ "package": "himalaya",
25884
+ "type": "Text",
25885
+ "props": {
25886
+ "text": "Notification Settings",
25887
+ "style": "title1"
25888
+ }
25889
+ }
25890
+ },
25891
+ {
25892
+ "id": "",
25893
+ "body": {
25894
+ "package": "himalaya",
25895
+ "type": "Text",
25896
+ "props": {
25897
+ "text": "Your site notification preferences — tap a topic to mute or enable.",
25898
+ "style": "body",
25899
+ "color": "textSecondary"
25900
+ }
25901
+ },
25902
+ "modifiers": {
25903
+ "hiddenPath": "$service:himiBrandedNotifSettings.isMock"
25904
+ }
25905
+ },
25906
+ {
25907
+ "id": "",
25908
+ "body": {
25909
+ "package": "himalaya",
25910
+ "type": "Text",
25911
+ "props": {
25912
+ "text": "Example topics — your notification preferences will appear here.",
25913
+ "style": "body",
25914
+ "color": "textSecondary"
25915
+ }
25916
+ },
25917
+ "modifiers": {
25918
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMock"
25919
+ }
25920
+ },
25921
+ {
25922
+ "id": "himi_notif_settings.sample_banner",
25923
+ "body": {
25924
+ "package": "himalaya",
25925
+ "type": "Banner",
25926
+ "props": {
25927
+ "severity": "warning",
25928
+ "title": "Sample content",
25929
+ "message": "These are example settings — none are configured yet."
25930
+ }
25931
+ },
25932
+ "modifiers": {
25933
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockEmpty"
25934
+ }
25935
+ },
25936
+ {
25937
+ "id": "himi_notif_settings.unavailable_banner",
25938
+ "body": {
25939
+ "package": "himalaya",
25940
+ "type": "Banner",
25941
+ "props": {
25942
+ "severity": "warning",
25943
+ "title": "Sample content",
25944
+ "message": "Your notification settings couldn't be loaded."
25945
+ }
25946
+ },
25947
+ "modifiers": {
25948
+ "hiddenPath": "$service:himiBrandedNotifSettings.notMockUnavailable"
25949
+ }
25950
+ },
25951
+ {
25952
+ "id": "himi_notif_settings.push_off",
25953
+ "body": {
25954
+ "package": "himalaya",
25955
+ "type": "VStack",
25956
+ "props": {
25957
+ "spacing": 10,
25958
+ "alignment": "leading",
25959
+ "children": [
25960
+ {
25961
+ "id": "",
25962
+ "body": {
25963
+ "package": "himalaya",
25964
+ "type": "Banner",
25965
+ "props": {
25966
+ "severity": "warning",
25967
+ "title": "Notifications are off on this phone",
25968
+ "message": "Your choices below are saved, but nothing arrives until notifications are allowed on this phone."
25969
+ }
25970
+ }
25971
+ },
25972
+ {
25973
+ "id": "himi_notif_settings.open_settings",
25974
+ "body": {
25975
+ "package": "himalaya",
25976
+ "type": "Button",
25977
+ "props": {
25978
+ "title": "Open Settings",
25979
+ "style": "primary",
25980
+ "fullWidth": true,
25981
+ "action": {
25982
+ "actionId": "tier5.himiBrandedNotifSettings.openPushSettings"
25983
+ }
25984
+ }
25985
+ },
25986
+ "modifiers": {
25987
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideOffSettingsCta"
25988
+ }
25989
+ },
25990
+ {
25991
+ "id": "himi_notif_settings.off_turn_on",
25992
+ "body": {
25993
+ "package": "himalaya",
25994
+ "type": "Button",
25995
+ "props": {
25996
+ "title": "Turn on notifications",
25997
+ "style": "primary",
25998
+ "fullWidth": true,
25999
+ "action": {
26000
+ "actionId": "tier5.himiBrandedNotifSettings.openPushSettings"
26001
+ }
26002
+ }
26003
+ },
26004
+ "modifiers": {
26005
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideOffTurnOnCta"
26006
+ }
26007
+ }
26008
+ ]
26009
+ }
26010
+ },
26011
+ "modifiers": {
26012
+ "fillMaxWidth": true,
26013
+ "hiddenPath": "$service:himiBrandedNotifSettings.hidePushOff"
26014
+ }
26015
+ },
26016
+ {
26017
+ "id": "himi_notif_settings.push_ask",
26018
+ "body": {
26019
+ "package": "himalaya",
26020
+ "type": "VStack",
26021
+ "props": {
26022
+ "spacing": 10,
26023
+ "alignment": "leading",
26024
+ "children": [
26025
+ {
26026
+ "id": "",
26027
+ "body": {
26028
+ "package": "himalaya",
26029
+ "type": "Banner",
26030
+ "props": {
26031
+ "severity": "info",
26032
+ "title": "Notifications aren't on yet",
26033
+ "message": "Allow notifications on this phone to get the updates you choose below."
26034
+ }
26035
+ }
26036
+ },
26037
+ {
26038
+ "id": "himi_notif_settings.turn_on",
26039
+ "body": {
26040
+ "package": "himalaya",
26041
+ "type": "Button",
26042
+ "props": {
26043
+ "title": "Turn on notifications",
26044
+ "style": "primary",
26045
+ "fullWidth": true,
26046
+ "action": {
26047
+ "actionId": "tier5.himiBrandedNotifSettings.enablePush"
26048
+ }
26049
+ }
26050
+ },
26051
+ "modifiers": {
26052
+ "hiddenPath": "$service:himiBrandedNotifSettings.hidePushAsk"
26053
+ }
26054
+ }
26055
+ ]
26056
+ }
26057
+ },
26058
+ "modifiers": {
26059
+ "fillMaxWidth": true,
26060
+ "hiddenPath": "$service:himiBrandedNotifSettings.hidePushAsk"
26061
+ }
26062
+ },
26063
+ {
26064
+ "id": "himi_notif_settings.push_message",
26065
+ "body": {
26066
+ "package": "himalaya",
26067
+ "type": "Text",
26068
+ "props": {
26069
+ "text": "$service:himiBrandedNotifSettings.pushMessage",
26070
+ "style": "body",
26071
+ "color": "textSecondary",
26072
+ "collapseWhenEmpty": true
26073
+ }
26074
+ }
26075
+ },
26076
+ {
26077
+ "id": "himi_notif_settings.action_message",
26078
+ "body": {
26079
+ "package": "himalaya",
26080
+ "type": "Text",
26081
+ "props": {
26082
+ "text": "$service:himiBrandedNotifSettings.actionMessage",
26083
+ "style": "body",
26084
+ "color": "textSecondary",
26085
+ "collapseWhenEmpty": true
26086
+ }
26087
+ }
26088
+ },
26089
+ {
26090
+ "id": "himi_notif_settings.channels",
26091
+ "body": {
26092
+ "package": "himalaya",
26093
+ "type": "SegmentedControl",
26094
+ "props": {
26095
+ "options": [
26096
+ {
26097
+ "id": "push",
26098
+ "label": "Push"
26099
+ },
26100
+ {
26101
+ "id": "email",
26102
+ "label": "Email"
26103
+ }
26104
+ ],
26105
+ "selectedId": "$service:himiBrandedNotifSettings.channel",
26106
+ "onChange": {
26107
+ "actionId": "tier5.himiBrandedNotifSettings.setChannel"
26108
+ }
26109
+ }
26110
+ },
26111
+ "modifiers": {
26112
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideChannels"
26113
+ }
26114
+ },
26115
+ {
26116
+ "id": "himi_notif_settings.loading",
26117
+ "body": {
26118
+ "package": "himalaya",
26119
+ "type": "Skeleton",
26120
+ "props": {
26121
+ "height": 72,
26122
+ "cornerRadius": 12,
26123
+ "count": 3
26124
+ }
26125
+ },
26126
+ "modifiers": {
26127
+ "hiddenPath": "$service:himiBrandedNotifSettings.notLoading"
26128
+ }
26129
+ },
26130
+ {
26131
+ "id": "himi_notif_settings.error",
26132
+ "body": {
26133
+ "package": "himalaya",
26134
+ "type": "VStack",
26135
+ "props": {
26136
+ "spacing": 8,
26137
+ "alignment": "leading",
26138
+ "children": [
26139
+ {
26140
+ "id": "",
26141
+ "body": {
26142
+ "package": "himalaya",
26143
+ "type": "Text",
26144
+ "props": {
26145
+ "text": "$service:himiBrandedNotifSettings.error",
26146
+ "style": "bodyEmphasis",
26147
+ "collapseWhenEmpty": true
26148
+ }
26149
+ }
26150
+ },
26151
+ {
26152
+ "id": "himi_notif_settings.retry",
26153
+ "body": {
26154
+ "package": "himalaya",
26155
+ "type": "Button",
26156
+ "props": {
26157
+ "title": "Try again",
26158
+ "style": "secondary",
26159
+ "action": {
26160
+ "actionId": "tier5.himiBrandedNotifSettings.load"
26161
+ }
26162
+ }
26163
+ },
26164
+ "modifiers": {
26165
+ "hiddenPath": "$service:himiBrandedNotifSettings.signInRequired"
26166
+ }
26167
+ },
26168
+ {
26169
+ "id": "himi_notif_settings.sign_in",
26170
+ "body": {
26171
+ "package": "himalaya",
26172
+ "type": "Button",
26173
+ "props": {
26174
+ "title": "Sign in",
26175
+ "style": "primary",
26176
+ "leadingIcon": "person",
26177
+ "action": {
26178
+ "actionId": "himi.open",
26179
+ "params": {
26180
+ "screenId": "himi_sign_in",
26181
+ "returnScreenId": "himi_notif_settings"
26182
+ }
26183
+ }
26184
+ }
26185
+ },
26186
+ "modifiers": {
26187
+ "hiddenPath": "$service:himiBrandedNotifSettings.noSignIn"
26188
+ }
26189
+ }
26190
+ ]
26191
+ }
26192
+ },
26193
+ "modifiers": {
26194
+ "background": {
26195
+ "token": "surfaceElevated"
26196
+ },
26197
+ "border": {
26198
+ "width": 1,
26199
+ "color": {
26200
+ "token": "border"
26201
+ }
26202
+ },
26203
+ "cornerRadius": 4,
26204
+ "padding": {
26205
+ "leading": 16,
26206
+ "trailing": 16,
26207
+ "top": 16,
26208
+ "bottom": 16
26209
+ },
26210
+ "hiddenPath": "$service:himiBrandedNotifSettings.notErrored"
26211
+ }
26212
+ },
26213
+ {
26214
+ "id": "himi_notif_settings.allow_all",
26215
+ "body": {
26216
+ "package": "himalaya",
26217
+ "type": "Toggle",
26218
+ "props": {
26219
+ "label": "Allow all push notifications",
26220
+ "valuePath": "$service:himiBrandedNotifSettings.allOn",
26221
+ "onChange": {
26222
+ "actionId": "tier5.himiBrandedNotifSettings.toggleAll"
26223
+ }
26224
+ }
26225
+ },
26226
+ "modifiers": {
26227
+ "background": {
26228
+ "token": "surfaceElevated"
26229
+ },
26230
+ "border": {
26231
+ "width": 1,
26232
+ "color": {
26233
+ "token": "border"
26234
+ }
26235
+ },
26236
+ "cornerRadius": 8,
26237
+ "padding": {
26238
+ "leading": 14,
26239
+ "trailing": 14,
26240
+ "top": 12,
26241
+ "bottom": 12
26242
+ },
26243
+ "opacityPath": "$service:himiBrandedNotifSettings.topicsOpacity",
26244
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideAllowAllPush"
26245
+ }
26246
+ },
26247
+ {
26248
+ "id": "himi_notif_settings.allow_all_email",
26249
+ "body": {
26250
+ "package": "himalaya",
26251
+ "type": "Toggle",
26252
+ "props": {
26253
+ "label": "Allow all email notifications",
26254
+ "valuePath": "$service:himiBrandedNotifSettings.allOn",
26255
+ "onChange": {
26256
+ "actionId": "tier5.himiBrandedNotifSettings.toggleAll"
26257
+ }
26258
+ }
26259
+ },
26260
+ "modifiers": {
26261
+ "background": {
26262
+ "token": "surfaceElevated"
26263
+ },
26264
+ "border": {
26265
+ "width": 1,
26266
+ "color": {
26267
+ "token": "border"
26268
+ }
26269
+ },
26270
+ "cornerRadius": 8,
26271
+ "padding": {
26272
+ "leading": 14,
26273
+ "trailing": 14,
26274
+ "top": 12,
26275
+ "bottom": 12
26276
+ },
26277
+ "hiddenPath": "$service:himiBrandedNotifSettings.hideAllowAllEmail"
26278
+ }
26279
+ },
26280
+ {
26281
+ "id": "himi_notif_settings.rows",
26282
+ "body": {
26283
+ "package": "himalaya",
26284
+ "type": "Grid",
26285
+ "props": {
26286
+ "columns": 1,
26287
+ "spacing": 10,
26288
+ "itemsPath": "$service:himiBrandedNotifSettings.topics",
26289
+ "items": [
26290
+ {
26291
+ "id": "",
26292
+ "body": {
26293
+ "package": "himalaya",
26294
+ "type": "VStack",
26295
+ "props": {
26296
+ "spacing": 2,
26297
+ "alignment": "leading",
26298
+ "children": [
26299
+ {
26300
+ "id": "himi_notif_settings.topic.$item.id",
26301
+ "body": {
26302
+ "package": "himalaya",
26303
+ "type": "Toggle",
26304
+ "props": {
26305
+ "label": "$item.name",
26306
+ "valuePath": "$item.on",
26307
+ "onChange": {
26308
+ "actionId": "tier5.himiBrandedNotifSettings.toggle",
26309
+ "params": {
26310
+ "id": "$item.id"
26311
+ }
26312
+ }
26313
+ }
26314
+ },
26315
+ "modifiers": {
26316
+ "hiddenPath": "$item.locked"
26317
+ }
26318
+ },
26319
+ {
26320
+ "id": "himi_notif_settings.locked_topic.$item.id",
26321
+ "body": {
26322
+ "package": "himalaya",
26323
+ "type": "HStack",
26324
+ "props": {
26325
+ "spacing": 12,
26326
+ "children": [
26327
+ {
26328
+ "id": "",
26329
+ "body": {
26330
+ "package": "himalaya",
26331
+ "type": "Text",
26332
+ "props": {
26333
+ "text": "$item.name",
26334
+ "style": "body",
26335
+ "maxLines": 2
26336
+ }
26337
+ }
26338
+ },
26339
+ {
26340
+ "id": "",
26341
+ "body": {
26342
+ "package": "himalaya",
26343
+ "type": "Spacer",
26344
+ "props": {}
26345
+ }
26346
+ },
26347
+ {
26348
+ "id": "",
26349
+ "body": {
26350
+ "package": "himalaya",
26351
+ "type": "Text",
26352
+ "props": {
26353
+ "text": "$item.stateLabel",
26354
+ "style": "footnote",
26355
+ "color": "textSecondary",
26356
+ "maxLines": 1
26357
+ }
26358
+ }
26359
+ }
26360
+ ]
25211
26361
  }
26362
+ },
26363
+ "modifiers": {
26364
+ "hiddenPath": "$item.notLocked"
25212
26365
  }
25213
- ]
26366
+ },
26367
+ {
26368
+ "id": "",
26369
+ "body": {
26370
+ "package": "himalaya",
26371
+ "type": "Text",
26372
+ "props": {
26373
+ "text": "$item.note",
26374
+ "style": "footnote",
26375
+ "color": "textSecondary",
26376
+ "collapseWhenEmpty": true
26377
+ }
26378
+ }
26379
+ }
26380
+ ]
26381
+ }
26382
+ },
26383
+ "modifiers": {
26384
+ "background": {
26385
+ "token": "surfaceElevated"
26386
+ },
26387
+ "border": {
26388
+ "width": 1,
26389
+ "color": {
26390
+ "token": "border"
25214
26391
  }
26392
+ },
26393
+ "cornerRadius": 8,
26394
+ "padding": {
26395
+ "leading": 14,
26396
+ "trailing": 14,
26397
+ "top": 12,
26398
+ "bottom": 12
25215
26399
  }
25216
26400
  }
25217
26401
  }
25218
26402
  ]
25219
26403
  }
26404
+ },
26405
+ "modifiers": {
26406
+ "opacityPath": "$service:himiBrandedNotifSettings.topicsOpacity",
26407
+ "hiddenPath": "$service:himiBrandedNotifSettings.noTopics"
26408
+ }
26409
+ },
26410
+ {
26411
+ "id": "",
26412
+ "body": {
26413
+ "package": "himalaya",
26414
+ "type": "Text",
26415
+ "props": {
26416
+ "text": "$service:himiBrandedNotifSettings.emptyText",
26417
+ "style": "body",
26418
+ "color": "textSecondary",
26419
+ "collapseWhenEmpty": true
26420
+ }
26421
+ },
26422
+ "modifiers": {
26423
+ "padding": {
26424
+ "leading": 8,
26425
+ "trailing": 8,
26426
+ "top": 8,
26427
+ "bottom": 0
26428
+ }
25220
26429
  }
25221
26430
  }
25222
26431
  ]
@@ -25227,32 +26436,31 @@ export const MEMBER_SEED: Record<string, unknown> = {
25227
26436
  "token": "surfacePrimary"
25228
26437
  },
25229
26438
  "padding": {
25230
- "bottom": 32
26439
+ "leading": 16,
26440
+ "trailing": 16,
26441
+ "top": 18,
26442
+ "bottom": 28
25231
26443
  },
25232
26444
  "onAppear": {
25233
- "actionId": "tier5.himiBrandedAccountPrivacy.load",
26445
+ "actionId": "tier5.himiBrandedNotifSettings.load",
25234
26446
  "params": {
25235
- "businessName": "__HIMI_APP_NAME__"
26447
+ "channels": "1",
26448
+ "allowAll": "1"
25236
26449
  }
25237
26450
  }
25238
26451
  }
25239
26452
  },
25240
26453
  "logicBundle": {
25241
- "url": "/v1/bundles/himi-branded-lite-account-settings?integrity=",
26454
+ "url": "/v1/bundles/himi-branded-lite-notifsettings?integrity=",
25242
26455
  "integrity": "",
25243
26456
  "contentType": "application/javascript+ts-bundle",
25244
26457
  "declaredCapabilities": [
25245
26458
  "wix_api",
25246
- "app_info",
25247
- "ui",
25248
- "open_url"
26459
+ "push",
26460
+ "app_info"
25249
26461
  ],
25250
26462
  "minBinaryVersion": "0.1.0",
25251
26463
  "bundleVersion": "0.0.1"
25252
- },
25253
- "topBar": {
25254
- "subtitle": "__HIMI_APP_NAME__",
25255
- "subtitlePath": "$service:himiBrandedAccountSettings.businessName"
25256
26464
  }
25257
26465
  }
25258
26466
  };