@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
@@ -5360,7 +5360,7 @@ const SCREENS = runtimeSetting({
5360
5360
  },
5361
5361
  {
5362
5362
  "id": "save",
5363
- "label": "Save / unsave",
5363
+ "label": "$item.collectionSaveLabel",
5364
5364
  "icon": "bookmark",
5365
5365
  "action": {
5366
5366
  "actionId": "tier5.himiStoreShop.collectionSave",
@@ -5442,7 +5442,7 @@ const SCREENS = runtimeSetting({
5442
5442
  "rowSwipeActions": {
5443
5443
  "trailing": [
5444
5444
  {
5445
- "label": "Save / unsave",
5445
+ "label": "$item.collectionSaveLabel",
5446
5446
  "icon": "bookmark",
5447
5447
  "action": {
5448
5448
  "actionId": "tier5.himiStoreShop.collectionSave",
@@ -5707,7 +5707,7 @@ const SCREENS = runtimeSetting({
5707
5707
  },
5708
5708
  {
5709
5709
  "id": "save",
5710
- "label": "Save / unsave",
5710
+ "label": "$item.collectionSaveLabel",
5711
5711
  "icon": "bookmark",
5712
5712
  "action": {
5713
5713
  "actionId": "tier5.himiStoreShop.collectionSave",
@@ -5997,7 +5997,7 @@ const SCREENS = runtimeSetting({
5997
5997
  },
5998
5998
  {
5999
5999
  "id": "save",
6000
- "label": "Save / unsave",
6000
+ "label": "$item.collectionSaveLabel",
6001
6001
  "icon": "bookmark",
6002
6002
  "action": {
6003
6003
  "actionId": "tier5.himiStoreShop.collectionSave",
@@ -6079,7 +6079,7 @@ const SCREENS = runtimeSetting({
6079
6079
  "rowSwipeActions": {
6080
6080
  "trailing": [
6081
6081
  {
6082
- "label": "Save / unsave",
6082
+ "label": "$item.collectionSaveLabel",
6083
6083
  "icon": "bookmark",
6084
6084
  "action": {
6085
6085
  "actionId": "tier5.himiStoreShop.collectionSave",
@@ -6344,7 +6344,7 @@ const SCREENS = runtimeSetting({
6344
6344
  },
6345
6345
  {
6346
6346
  "id": "save",
6347
- "label": "Save / unsave",
6347
+ "label": "$item.collectionSaveLabel",
6348
6348
  "icon": "bookmark",
6349
6349
  "action": {
6350
6350
  "actionId": "tier5.himiStoreShop.collectionSave",
@@ -6985,7 +6985,7 @@ const SCREENS = runtimeSetting({
6985
6985
  },
6986
6986
  {
6987
6987
  "id": "save",
6988
- "label": "Save / unsave",
6988
+ "label": "$item.collectionSaveLabel",
6989
6989
  "icon": "bookmark",
6990
6990
  "action": {
6991
6991
  "actionId": "tier5.himiStoreShop.collectionSave",
@@ -9392,7 +9392,7 @@ const SCREENS = runtimeSetting({
9392
9392
  },
9393
9393
  {
9394
9394
  "id": "save",
9395
- "label": "Save / unsave",
9395
+ "label": "$item.collectionSaveLabel",
9396
9396
  "icon": "bookmark",
9397
9397
  "action": {
9398
9398
  "actionId": "tier5.himiBrandedOrders.collectionSave",
@@ -9474,7 +9474,7 @@ const SCREENS = runtimeSetting({
9474
9474
  "rowSwipeActions": {
9475
9475
  "trailing": [
9476
9476
  {
9477
- "label": "Save / unsave",
9477
+ "label": "$item.collectionSaveLabel",
9478
9478
  "icon": "bookmark",
9479
9479
  "action": {
9480
9480
  "actionId": "tier5.himiBrandedOrders.collectionSave",
@@ -9672,7 +9672,7 @@ const SCREENS = runtimeSetting({
9672
9672
  },
9673
9673
  {
9674
9674
  "id": "save",
9675
- "label": "Save / unsave",
9675
+ "label": "$item.collectionSaveLabel",
9676
9676
  "icon": "bookmark",
9677
9677
  "action": {
9678
9678
  "actionId": "tier5.himiBrandedOrders.collectionSave",
@@ -9962,7 +9962,7 @@ const SCREENS = runtimeSetting({
9962
9962
  },
9963
9963
  {
9964
9964
  "id": "save",
9965
- "label": "Save / unsave",
9965
+ "label": "$item.collectionSaveLabel",
9966
9966
  "icon": "bookmark",
9967
9967
  "action": {
9968
9968
  "actionId": "tier5.himiBrandedOrders.collectionSave",
@@ -10044,7 +10044,7 @@ const SCREENS = runtimeSetting({
10044
10044
  "rowSwipeActions": {
10045
10045
  "trailing": [
10046
10046
  {
10047
- "label": "Save / unsave",
10047
+ "label": "$item.collectionSaveLabel",
10048
10048
  "icon": "bookmark",
10049
10049
  "action": {
10050
10050
  "actionId": "tier5.himiBrandedOrders.collectionSave",
@@ -10242,7 +10242,7 @@ const SCREENS = runtimeSetting({
10242
10242
  },
10243
10243
  {
10244
10244
  "id": "save",
10245
- "label": "Save / unsave",
10245
+ "label": "$item.collectionSaveLabel",
10246
10246
  "icon": "bookmark",
10247
10247
  "action": {
10248
10248
  "actionId": "tier5.himiBrandedOrders.collectionSave",
@@ -10847,7 +10847,7 @@ const SCREENS = runtimeSetting({
10847
10847
  },
10848
10848
  {
10849
10849
  "id": "save",
10850
- "label": "Save / unsave",
10850
+ "label": "$item.collectionSaveLabel",
10851
10851
  "icon": "bookmark",
10852
10852
  "action": {
10853
10853
  "actionId": "tier5.himiBrandedOrders.collectionSave",
@@ -12115,7 +12115,7 @@ const SCREENS = runtimeSetting({
12115
12115
  },
12116
12116
  {
12117
12117
  "id": "save",
12118
- "label": "Save / unsave",
12118
+ "label": "$item.collectionSaveLabel",
12119
12119
  "icon": "bookmark",
12120
12120
  "action": {
12121
12121
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -12197,7 +12197,7 @@ const SCREENS = runtimeSetting({
12197
12197
  "rowSwipeActions": {
12198
12198
  "trailing": [
12199
12199
  {
12200
- "label": "Save / unsave",
12200
+ "label": "$item.collectionSaveLabel",
12201
12201
  "icon": "bookmark",
12202
12202
  "action": {
12203
12203
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -12462,7 +12462,7 @@ const SCREENS = runtimeSetting({
12462
12462
  },
12463
12463
  {
12464
12464
  "id": "save",
12465
- "label": "Save / unsave",
12465
+ "label": "$item.collectionSaveLabel",
12466
12466
  "icon": "bookmark",
12467
12467
  "action": {
12468
12468
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -12752,7 +12752,7 @@ const SCREENS = runtimeSetting({
12752
12752
  },
12753
12753
  {
12754
12754
  "id": "save",
12755
- "label": "Save / unsave",
12755
+ "label": "$item.collectionSaveLabel",
12756
12756
  "icon": "bookmark",
12757
12757
  "action": {
12758
12758
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -12834,7 +12834,7 @@ const SCREENS = runtimeSetting({
12834
12834
  "rowSwipeActions": {
12835
12835
  "trailing": [
12836
12836
  {
12837
- "label": "Save / unsave",
12837
+ "label": "$item.collectionSaveLabel",
12838
12838
  "icon": "bookmark",
12839
12839
  "action": {
12840
12840
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -13099,7 +13099,7 @@ const SCREENS = runtimeSetting({
13099
13099
  },
13100
13100
  {
13101
13101
  "id": "save",
13102
- "label": "Save / unsave",
13102
+ "label": "$item.collectionSaveLabel",
13103
13103
  "icon": "bookmark",
13104
13104
  "action": {
13105
13105
  "actionId": "tier5.himiBlogFeed.collectionSave",
@@ -13740,7 +13740,7 @@ const SCREENS = runtimeSetting({
13740
13740
  },
13741
13741
  {
13742
13742
  "id": "save",
13743
- "label": "Save / unsave",
13743
+ "label": "$item.collectionSaveLabel",
13744
13744
  "icon": "bookmark",
13745
13745
  "action": {
13746
13746
  "actionId": "tier5.himiBlogFeed.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",
@@ -547,7 +547,7 @@ export default defineApp({
547
547
  "actions": [
548
548
  {
549
549
  "id": "himi_owner_lite.topbar_ask",
550
- "icon": "search",
550
+ "icon": "ai",
551
551
  "accessibilityLabel": "Ask about the shop",
552
552
  "onTap": {
553
553
  "actionId": "himi.open",