@wix/himalaya-cli 0.1039.0 → 0.1041.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 (202) hide show
  1. package/dist/cli.mjs +31 -19
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/package.json +2 -2
  4. package/templates/beauty-salon/dev/index.ts +42 -42
  5. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +2 -0
  6. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +6 -1
  7. package/templates/beauty-salon-owner/config.ts +2 -2
  8. package/templates/beauty-salon-owner/dev/index.ts +794 -295
  9. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +237 -4
  10. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +2 -0
  11. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +6 -1
  12. package/templates/beauty-salon-owner/tier5-src/_shared/owner-account.ts +45 -0
  13. package/templates/beauty-salon-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  14. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  15. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  16. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  17. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  18. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  19. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  20. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  21. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
  22. package/templates/branded-lite/dev/index.ts +175 -175
  23. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +2 -0
  24. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +6 -1
  25. package/templates/community-club/dev/index.ts +28 -28
  26. package/templates/community-club/tier5-src/_shared/collection-contract.ts +2 -0
  27. package/templates/community-club/tier5-src/_shared/collection-service.ts +6 -1
  28. package/templates/community-club-owner/config.ts +2 -2
  29. package/templates/community-club-owner/dev/index.ts +794 -295
  30. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +237 -4
  31. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +2 -0
  32. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +6 -1
  33. package/templates/community-club-owner/tier5-src/_shared/owner-account.ts +45 -0
  34. package/templates/community-club-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  35. package/templates/community-club-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  36. package/templates/community-club-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  37. package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  38. package/templates/community-club-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  39. package/templates/community-club-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  40. package/templates/community-club-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  41. package/templates/community-club-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  42. package/templates/community-club-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  43. package/templates/events-meetups/dev/index.ts +21 -21
  44. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +2 -0
  45. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +6 -1
  46. package/templates/events-meetups-owner/config.ts +2 -2
  47. package/templates/events-meetups-owner/dev/index.ts +766 -243
  48. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +237 -4
  49. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +2 -0
  50. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +6 -1
  51. package/templates/events-meetups-owner/tier5-src/_shared/owner-account.ts +45 -0
  52. package/templates/events-meetups-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  53. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  54. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  55. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  56. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  57. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  58. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  59. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  60. package/templates/gym-fitness/dev/index.ts +49 -49
  61. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +2 -0
  62. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +6 -1
  63. package/templates/gym-fitness-owner/config.ts +2 -2
  64. package/templates/gym-fitness-owner/dev/index.ts +801 -320
  65. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +237 -4
  66. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +2 -0
  67. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +6 -1
  68. package/templates/gym-fitness-owner/tier5-src/_shared/owner-account.ts +45 -0
  69. package/templates/gym-fitness-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  70. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  71. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  72. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  73. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  74. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  75. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  76. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  77. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  78. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
  79. package/templates/nonprofit-cause/dev/index.ts +28 -28
  80. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +2 -0
  81. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +6 -1
  82. package/templates/nonprofit-cause-owner/config.ts +2 -2
  83. package/templates/nonprofit-cause-owner/dev/index.ts +773 -268
  84. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +237 -4
  85. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +2 -0
  86. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +6 -1
  87. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-account.ts +45 -0
  88. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  89. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  90. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  91. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  92. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  93. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  94. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  95. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  96. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
  97. package/templates/owner-lite/config.ts +2 -2
  98. package/templates/owner-lite/dev/index.ts +802 -322
  99. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +237 -4
  100. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +2 -0
  101. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +6 -1
  102. package/templates/owner-lite/tier5-src/_shared/owner-account.ts +45 -0
  103. package/templates/owner-lite/tier5-src/_shared/owner-preview-demo.ts +21 -0
  104. package/templates/owner-lite/tier5-src/himi-owner-lite-account/index.ts +68 -0
  105. package/templates/owner-lite/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  106. package/templates/owner-lite/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  107. package/templates/owner-lite/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  108. package/templates/owner-lite/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  109. package/templates/owner-lite/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  110. package/templates/owner-lite/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  111. package/templates/owner-lite/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  112. package/templates/owner-lite/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
  113. package/templates/podcast-creator/dev/index.ts +28 -28
  114. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +2 -0
  115. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +6 -1
  116. package/templates/podcast-creator-owner/config.ts +2 -2
  117. package/templates/podcast-creator-owner/dev/index.ts +794 -295
  118. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +237 -4
  119. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +2 -0
  120. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +6 -1
  121. package/templates/podcast-creator-owner/tier5-src/_shared/owner-account.ts +45 -0
  122. package/templates/podcast-creator-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  123. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  124. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  125. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  126. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  127. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  128. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  129. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  130. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  131. package/templates/portfolio-creative/dev/index.ts +35 -35
  132. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +2 -0
  133. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +6 -1
  134. package/templates/portfolio-creative-owner/config.ts +2 -2
  135. package/templates/portfolio-creative-owner/dev/index.ts +794 -295
  136. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +237 -4
  137. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +2 -0
  138. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +6 -1
  139. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-account.ts +45 -0
  140. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  141. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  142. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  143. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  144. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  145. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  146. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  147. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  148. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
  149. package/templates/restaurant/dev/index.ts +21 -21
  150. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +2 -0
  151. package/templates/restaurant/tier5-src/_shared/collection-service.ts +6 -1
  152. package/templates/restaurant-owner/config.ts +2 -2
  153. package/templates/restaurant-owner/dev/index.ts +801 -320
  154. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +237 -4
  155. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +2 -0
  156. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +6 -1
  157. package/templates/restaurant-owner/tier5-src/_shared/owner-account.ts +45 -0
  158. package/templates/restaurant-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  159. package/templates/restaurant-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  160. package/templates/restaurant-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  161. package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  162. package/templates/restaurant-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  163. package/templates/restaurant-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  164. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  165. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  166. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  167. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
  168. package/templates/retail-store/dev/index.ts +21 -21
  169. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +2 -0
  170. package/templates/retail-store/tier5-src/_shared/collection-service.ts +6 -1
  171. package/templates/retail-store-owner/config.ts +2 -2
  172. package/templates/retail-store-owner/dev/index.ts +787 -270
  173. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +237 -4
  174. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +2 -0
  175. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +6 -1
  176. package/templates/retail-store-owner/tier5-src/_shared/owner-account.ts +45 -0
  177. package/templates/retail-store-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  178. package/templates/retail-store-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  179. package/templates/retail-store-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  180. package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  181. package/templates/retail-store-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  182. package/templates/retail-store-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  183. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  184. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product-form/index.ts +29 -13
  185. package/templates/yoga-studio/dev/index.ts +42 -42
  186. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +2 -0
  187. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +6 -1
  188. package/templates/yoga-studio-owner/config.ts +2 -2
  189. package/templates/yoga-studio-owner/dev/index.ts +773 -268
  190. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +237 -4
  191. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +2 -0
  192. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +6 -1
  193. package/templates/yoga-studio-owner/tier5-src/_shared/owner-account.ts +45 -0
  194. package/templates/yoga-studio-owner/tier5-src/_shared/owner-preview-demo.ts +21 -0
  195. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-account/index.ts +68 -0
  196. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-aria/index.ts +28 -0
  197. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/index.ts +4 -3
  198. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-drawer/index.ts +34 -48
  199. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-drawer/logic.ts +102 -0
  200. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event-form/index.ts +9 -3
  201. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post-form/index.ts +10 -4
  202. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service-form/index.ts +9 -3
@@ -5931,7 +5931,7 @@ const SCREENS = runtimeSetting({
5931
5931
  },
5932
5932
  {
5933
5933
  "id": "save",
5934
- "label": "Save / unsave",
5934
+ "label": "$item.collectionSaveLabel",
5935
5935
  "icon": "bookmark",
5936
5936
  "action": {
5937
5937
  "actionId": "tier5.himiBrandedPlans.collectionSave",
@@ -6045,7 +6045,7 @@ const SCREENS = runtimeSetting({
6045
6045
  "rowSwipeActions": {
6046
6046
  "trailing": [
6047
6047
  {
6048
- "label": "Save / unsave",
6048
+ "label": "$item.collectionSaveLabel",
6049
6049
  "icon": "bookmark",
6050
6050
  "action": {
6051
6051
  "actionId": "tier5.himiBrandedPlans.collectionSave",
@@ -6285,7 +6285,7 @@ const SCREENS = runtimeSetting({
6285
6285
  },
6286
6286
  {
6287
6287
  "id": "save",
6288
- "label": "Save / unsave",
6288
+ "label": "$item.collectionSaveLabel",
6289
6289
  "icon": "bookmark",
6290
6290
  "action": {
6291
6291
  "actionId": "tier5.himiBrandedPlans.collectionSave",
@@ -6559,7 +6559,7 @@ const SCREENS = runtimeSetting({
6559
6559
  },
6560
6560
  {
6561
6561
  "id": "save",
6562
- "label": "Save / unsave",
6562
+ "label": "$item.collectionSaveLabel",
6563
6563
  "icon": "bookmark",
6564
6564
  "action": {
6565
6565
  "actionId": "tier5.himiBrandedPlans.collectionSave",
@@ -6673,7 +6673,7 @@ const SCREENS = runtimeSetting({
6673
6673
  "rowSwipeActions": {
6674
6674
  "trailing": [
6675
6675
  {
6676
- "label": "Save / unsave",
6676
+ "label": "$item.collectionSaveLabel",
6677
6677
  "icon": "bookmark",
6678
6678
  "action": {
6679
6679
  "actionId": "tier5.himiBrandedPlans.collectionSave",
@@ -6913,7 +6913,7 @@ const SCREENS = runtimeSetting({
6913
6913
  },
6914
6914
  {
6915
6915
  "id": "save",
6916
- "label": "Save / unsave",
6916
+ "label": "$item.collectionSaveLabel",
6917
6917
  "icon": "bookmark",
6918
6918
  "action": {
6919
6919
  "actionId": "tier5.himiBrandedPlans.collectionSave",
@@ -7512,7 +7512,7 @@ const SCREENS = runtimeSetting({
7512
7512
  },
7513
7513
  {
7514
7514
  "id": "save",
7515
- "label": "Save / unsave",
7515
+ "label": "$item.collectionSaveLabel",
7516
7516
  "icon": "bookmark",
7517
7517
  "action": {
7518
7518
  "actionId": "tier5.himiBrandedPlans.collectionSave",
@@ -10175,7 +10175,7 @@ const SCREENS = runtimeSetting({
10175
10175
  },
10176
10176
  {
10177
10177
  "id": "save",
10178
- "label": "Save / unsave",
10178
+ "label": "$item.collectionSaveLabel",
10179
10179
  "icon": "bookmark",
10180
10180
  "action": {
10181
10181
  "actionId": "tier5.himiEvents.collectionSave",
@@ -10247,7 +10247,7 @@ const SCREENS = runtimeSetting({
10247
10247
  "rowSwipeActions": {
10248
10248
  "trailing": [
10249
10249
  {
10250
- "label": "Save / unsave",
10250
+ "label": "$item.collectionSaveLabel",
10251
10251
  "icon": "bookmark",
10252
10252
  "action": {
10253
10253
  "actionId": "tier5.himiEvents.collectionSave",
@@ -10531,7 +10531,7 @@ const SCREENS = runtimeSetting({
10531
10531
  },
10532
10532
  {
10533
10533
  "id": "save",
10534
- "label": "Save / unsave",
10534
+ "label": "$item.collectionSaveLabel",
10535
10535
  "icon": "bookmark",
10536
10536
  "action": {
10537
10537
  "actionId": "tier5.himiEvents.collectionSave",
@@ -10850,7 +10850,7 @@ const SCREENS = runtimeSetting({
10850
10850
  },
10851
10851
  {
10852
10852
  "id": "save",
10853
- "label": "Save / unsave",
10853
+ "label": "$item.collectionSaveLabel",
10854
10854
  "icon": "bookmark",
10855
10855
  "action": {
10856
10856
  "actionId": "tier5.himiEvents.collectionSave",
@@ -10922,7 +10922,7 @@ const SCREENS = runtimeSetting({
10922
10922
  "rowSwipeActions": {
10923
10923
  "trailing": [
10924
10924
  {
10925
- "label": "Save / unsave",
10925
+ "label": "$item.collectionSaveLabel",
10926
10926
  "icon": "bookmark",
10927
10927
  "action": {
10928
10928
  "actionId": "tier5.himiEvents.collectionSave",
@@ -11206,7 +11206,7 @@ const SCREENS = runtimeSetting({
11206
11206
  },
11207
11207
  {
11208
11208
  "id": "save",
11209
- "label": "Save / unsave",
11209
+ "label": "$item.collectionSaveLabel",
11210
11210
  "icon": "bookmark",
11211
11211
  "action": {
11212
11212
  "actionId": "tier5.himiEvents.collectionSave",
@@ -11897,7 +11897,7 @@ const SCREENS = runtimeSetting({
11897
11897
  },
11898
11898
  {
11899
11899
  "id": "save",
11900
- "label": "Save / unsave",
11900
+ "label": "$item.collectionSaveLabel",
11901
11901
  "icon": "bookmark",
11902
11902
  "action": {
11903
11903
  "actionId": "tier5.himiEvents.collectionSave",
@@ -13443,7 +13443,7 @@ const SCREENS = runtimeSetting({
13443
13443
  },
13444
13444
  {
13445
13445
  "id": "save",
13446
- "label": "Save / unsave",
13446
+ "label": "$item.collectionSaveLabel",
13447
13447
  "icon": "bookmark",
13448
13448
  "action": {
13449
13449
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -13525,7 +13525,7 @@ const SCREENS = runtimeSetting({
13525
13525
  "rowSwipeActions": {
13526
13526
  "trailing": [
13527
13527
  {
13528
- "label": "Save / unsave",
13528
+ "label": "$item.collectionSaveLabel",
13529
13529
  "icon": "bookmark",
13530
13530
  "action": {
13531
13531
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -13790,7 +13790,7 @@ const SCREENS = runtimeSetting({
13790
13790
  },
13791
13791
  {
13792
13792
  "id": "save",
13793
- "label": "Save / unsave",
13793
+ "label": "$item.collectionSaveLabel",
13794
13794
  "icon": "bookmark",
13795
13795
  "action": {
13796
13796
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -14080,7 +14080,7 @@ const SCREENS = runtimeSetting({
14080
14080
  },
14081
14081
  {
14082
14082
  "id": "save",
14083
- "label": "Save / unsave",
14083
+ "label": "$item.collectionSaveLabel",
14084
14084
  "icon": "bookmark",
14085
14085
  "action": {
14086
14086
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -14162,7 +14162,7 @@ const SCREENS = runtimeSetting({
14162
14162
  "rowSwipeActions": {
14163
14163
  "trailing": [
14164
14164
  {
14165
- "label": "Save / unsave",
14165
+ "label": "$item.collectionSaveLabel",
14166
14166
  "icon": "bookmark",
14167
14167
  "action": {
14168
14168
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -14427,7 +14427,7 @@ const SCREENS = runtimeSetting({
14427
14427
  },
14428
14428
  {
14429
14429
  "id": "save",
14430
- "label": "Save / unsave",
14430
+ "label": "$item.collectionSaveLabel",
14431
14431
  "icon": "bookmark",
14432
14432
  "action": {
14433
14433
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -15068,7 +15068,7 @@ const SCREENS = runtimeSetting({
15068
15068
  },
15069
15069
  {
15070
15070
  "id": "save",
15071
- "label": "Save / unsave",
15071
+ "label": "$item.collectionSaveLabel",
15072
15072
  "icon": "bookmark",
15073
15073
  "action": {
15074
15074
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -16503,7 +16503,7 @@ const SCREENS = runtimeSetting({
16503
16503
  },
16504
16504
  {
16505
16505
  "id": "save",
16506
- "label": "Save / unsave",
16506
+ "label": "$item.collectionSaveLabel",
16507
16507
  "icon": "bookmark",
16508
16508
  "action": {
16509
16509
  "actionId": "tier5.himiBrandedGroups.collectionSave",
@@ -16575,7 +16575,7 @@ const SCREENS = runtimeSetting({
16575
16575
  "rowSwipeActions": {
16576
16576
  "trailing": [
16577
16577
  {
16578
- "label": "Save / unsave",
16578
+ "label": "$item.collectionSaveLabel",
16579
16579
  "icon": "bookmark",
16580
16580
  "action": {
16581
16581
  "actionId": "tier5.himiBrandedGroups.collectionSave",
@@ -16840,7 +16840,7 @@ const SCREENS = runtimeSetting({
16840
16840
  },
16841
16841
  {
16842
16842
  "id": "save",
16843
- "label": "Save / unsave",
16843
+ "label": "$item.collectionSaveLabel",
16844
16844
  "icon": "bookmark",
16845
16845
  "action": {
16846
16846
  "actionId": "tier5.himiBrandedGroups.collectionSave",
@@ -17114,7 +17114,7 @@ const SCREENS = runtimeSetting({
17114
17114
  },
17115
17115
  {
17116
17116
  "id": "save",
17117
- "label": "Save / unsave",
17117
+ "label": "$item.collectionSaveLabel",
17118
17118
  "icon": "bookmark",
17119
17119
  "action": {
17120
17120
  "actionId": "tier5.himiBrandedGroups.collectionSave",
@@ -17186,7 +17186,7 @@ const SCREENS = runtimeSetting({
17186
17186
  "rowSwipeActions": {
17187
17187
  "trailing": [
17188
17188
  {
17189
- "label": "Save / unsave",
17189
+ "label": "$item.collectionSaveLabel",
17190
17190
  "icon": "bookmark",
17191
17191
  "action": {
17192
17192
  "actionId": "tier5.himiBrandedGroups.collectionSave",
@@ -17451,7 +17451,7 @@ const SCREENS = runtimeSetting({
17451
17451
  },
17452
17452
  {
17453
17453
  "id": "save",
17454
- "label": "Save / unsave",
17454
+ "label": "$item.collectionSaveLabel",
17455
17455
  "icon": "bookmark",
17456
17456
  "action": {
17457
17457
  "actionId": "tier5.himiBrandedGroups.collectionSave",
@@ -18075,7 +18075,7 @@ const SCREENS = runtimeSetting({
18075
18075
  },
18076
18076
  {
18077
18077
  "id": "save",
18078
- "label": "Save / unsave",
18078
+ "label": "$item.collectionSaveLabel",
18079
18079
  "icon": "bookmark",
18080
18080
  "action": {
18081
18081
  "actionId": "tier5.himiBrandedGroups.collectionSave",
@@ -168,6 +168,8 @@ export function projectCollection(source: CollectionRow[], config: CollectionCon
168
168
  items: visible.map(row => ({ ...row, collectionId: collectionId(row), collectionTitle: collectionTitle(row, config),
169
169
  collectionMeta: [...new Set((config.metadata ?? ['total', 'statusLabel', 'price', 'priceLine', 'dateLine', 'meta']).filter(key => key !== config.subtitle).map(key => scalar(row[key])).filter(Boolean))].join(' · '),
170
170
  collectionSelectLabel: prefs.selectedIds.includes(collectionId(row)) ? 'Selected' : 'Select',
171
+ // The save toggle names the action it WILL take (the service localizes it).
172
+ collectionSaveLabel: prefs.savedIds.includes(collectionId(row)) ? 'Remove from saved' : 'Save',
171
173
  collectionSubtitle: scalar(row[config.subtitle ?? '']) || scalar(row.subtitle) || scalar(row.description) || scalar(row.meta),
172
174
  collectionImage: scalar(row[config.image ?? '']), collectionNoImage: !scalar(row[config.image ?? '']), collectionHasImage: !!scalar(row[config.image ?? '']),
173
175
  collectionSaved: prefs.savedIds.includes(collectionId(row)), collectionNotSaved: !prefs.savedIds.includes(collectionId(row)), collectionSelected: prefs.selectedIds.includes(collectionId(row)),
@@ -123,7 +123,12 @@ export function decorateCollection(name: string, def: { state: State; actions?:
123
123
  pendingFilter = '';
124
124
  }
125
125
  const projected = projectCollection(rows, config, prefs, !!backend && config.backendQuery === true, known);
126
- projected.items.forEach(row => { row.collectionSelectLabel = row.collectionSelected ? copyParam('collection.selected', 'Selected') : copyParam('collection.select', 'Select'); });
126
+ projected.items.forEach(row => {
127
+ row.collectionSelectLabel = row.collectionSelected ? copyParam('collection.selected', 'Selected') : copyParam('collection.select', 'Select');
128
+ // the save toggle names the action it WILL take for this row. The
129
+ // old static "Save / unsave" made the owner work out the row's state.
130
+ row.collectionSaveLabel = row.collectionSaved ? copyParam('collection.unsave', 'Remove from saved') : copyParam('collection.save', 'Save');
131
+ });
127
132
  if (previewId && !rows.some(row => collectionId(row) === previewId)) previewId = '';
128
133
  const filterChoices = [{ id: 'all', label: copyParam('collection.all', 'All') }, { id: 'saved', label: copyParam('collection.saved', 'Saved') },
129
134
  ...projected.filters.map(label => ({ id: `value:${label}`, label: copyParam(`collection.filter.${label}`, label) }))];
@@ -37,7 +37,7 @@ export default defineApp({
37
37
  actions: "http://localhost:8190/v1/actions",
38
38
  sync: "http://localhost:8190/v1/sync",
39
39
  },
40
- capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","clipboard","ui","camera","presigned_upload"],
40
+ capabilities: ["live_activity","push","share","secure_storage","open_url","local_database","clipboard","ui","speech","camera","presigned_upload","app_info"],
41
41
  designTokensPath: "./tokens.json",
42
42
  navigation: {
43
43
  "navKind": "responsive",
@@ -563,7 +563,7 @@ export default defineApp({
563
563
  "actions": [
564
564
  {
565
565
  "id": "himi_owner_lite.topbar_ask",
566
- "icon": "search",
566
+ "icon": "ai",
567
567
  "accessibilityLabel": "Ask about the cause",
568
568
  "onTap": {
569
569
  "actionId": "himi.open",