@wix/himalaya-cli 0.1310.0 → 0.1312.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 (189) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/iap/src/wix-payments-contract.d.ts +20 -1
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +13 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/iap.mjs +8 -0
  4. package/dist/cli.mjs +1321 -692
  5. package/dist/preview-assets.generated.bin +0 -0
  6. package/guides/himi-json-output.md +29 -1
  7. package/guides/iap-products.md +51 -2
  8. package/guides/sdk-reference.json +19 -1
  9. package/guides/web-page-native-sdk.md +18 -8
  10. package/guides/webview-page-sdk.md +9 -3
  11. package/package.json +2 -2
  12. package/templates/beauty-salon/dev/index.ts +25 -25
  13. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +10 -0
  14. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +3 -1
  15. package/templates/beauty-salon-owner/dev/index.ts +844 -510
  16. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +10 -0
  17. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +3 -1
  18. package/templates/beauty-salon-owner/tier5-src/_shared/detail-facts.ts +26 -0
  19. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  20. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  21. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  22. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  23. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  24. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  25. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  26. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  27. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  28. package/templates/branded-lite/dev/index.ts +120 -120
  29. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +10 -0
  30. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +3 -1
  31. package/templates/community-club/dev/index.ts +20 -20
  32. package/templates/community-club/tier5-src/_shared/collection-contract.ts +10 -0
  33. package/templates/community-club/tier5-src/_shared/collection-service.ts +3 -1
  34. package/templates/community-club-owner/dev/index.ts +957 -595
  35. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +10 -0
  36. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +3 -1
  37. package/templates/community-club-owner/tier5-src/_shared/detail-facts.ts +26 -0
  38. package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  39. package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  40. package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  41. package/templates/community-club-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  42. package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  43. package/templates/community-club-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  44. package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  45. package/templates/community-club-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  46. package/templates/community-club-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  47. package/templates/events-meetups/dev/index.ts +15 -15
  48. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +10 -0
  49. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +3 -1
  50. package/templates/events-meetups-owner/dev/index.ts +726 -433
  51. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +10 -0
  52. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +3 -1
  53. package/templates/events-meetups-owner/tier5-src/_shared/detail-facts.ts +26 -0
  54. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  55. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  56. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  57. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  58. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  59. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  60. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  61. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  62. package/templates/gym-fitness/dev/index.ts +30 -30
  63. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +10 -0
  64. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +3 -1
  65. package/templates/gym-fitness-owner/dev/index.ts +1041 -644
  66. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +10 -0
  67. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +3 -1
  68. package/templates/gym-fitness-owner/tier5-src/_shared/detail-facts.ts +26 -0
  69. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  70. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  71. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  72. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  73. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  74. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  75. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  76. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  77. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  78. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  79. package/templates/nonprofit-cause/dev/index.ts +20 -20
  80. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +10 -0
  81. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +3 -1
  82. package/templates/nonprofit-cause-owner/dev/index.ts +810 -482
  83. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +10 -0
  84. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +3 -1
  85. package/templates/nonprofit-cause-owner/tier5-src/_shared/detail-facts.ts +26 -0
  86. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  87. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  88. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  89. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  90. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  91. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  92. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  93. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  94. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  95. package/templates/owner-lite/dev/index.ts +1066 -648
  96. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +10 -0
  97. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +3 -1
  98. package/templates/owner-lite/tier5-src/_shared/detail-facts.ts +26 -0
  99. package/templates/owner-lite/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  100. package/templates/owner-lite/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  101. package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +10 -0
  102. package/templates/owner-lite/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  103. package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +10 -0
  104. package/templates/owner-lite/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  105. package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +10 -0
  106. package/templates/owner-lite/tier5-src/himi-owner-lite-search/index.ts +6 -0
  107. package/templates/owner-lite/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  108. package/templates/owner-lite/tier5-src/himi-owner-lite-service/index.ts +10 -0
  109. package/templates/podcast-creator/dev/index.ts +20 -20
  110. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +10 -0
  111. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +3 -1
  112. package/templates/podcast-creator-owner/dev/index.ts +957 -595
  113. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +10 -0
  114. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +3 -1
  115. package/templates/podcast-creator-owner/tier5-src/_shared/detail-facts.ts +26 -0
  116. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  117. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  118. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  119. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  120. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  121. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  122. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  123. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  124. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  125. package/templates/portfolio-creative/dev/index.ts +20 -20
  126. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +10 -0
  127. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +3 -1
  128. package/templates/portfolio-creative-owner/dev/index.ts +844 -510
  129. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +10 -0
  130. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +3 -1
  131. package/templates/portfolio-creative-owner/tier5-src/_shared/detail-facts.ts +26 -0
  132. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  133. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  134. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  135. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  136. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  137. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  138. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  139. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  140. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  141. package/templates/restaurant/dev/index.ts +15 -15
  142. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +10 -0
  143. package/templates/restaurant/tier5-src/_shared/collection-service.ts +3 -1
  144. package/templates/restaurant-owner/dev/index.ts +1041 -644
  145. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +10 -0
  146. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +3 -1
  147. package/templates/restaurant-owner/tier5-src/_shared/detail-facts.ts +26 -0
  148. package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  149. package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  150. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  151. package/templates/restaurant-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  152. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  153. package/templates/restaurant-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  154. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  155. package/templates/restaurant-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  156. package/templates/restaurant-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  157. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  158. package/templates/retail-store/dev/index.ts +10 -10
  159. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +10 -0
  160. package/templates/retail-store/tier5-src/_shared/collection-service.ts +3 -1
  161. package/templates/retail-store-owner/dev/index.ts +760 -461
  162. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +10 -0
  163. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +3 -1
  164. package/templates/retail-store-owner/tier5-src/_shared/detail-facts.ts +26 -0
  165. package/templates/retail-store-owner/tier5-src/_shared/offset-page.ts +10 -0
  166. package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  167. package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  168. package/templates/retail-store-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  169. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  170. package/templates/retail-store-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  171. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  172. package/templates/retail-store-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  173. package/templates/retail-store-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  174. package/templates/yoga-studio/dev/index.ts +30 -30
  175. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +10 -0
  176. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +3 -1
  177. package/templates/yoga-studio-owner/dev/index.ts +810 -482
  178. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +10 -0
  179. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +3 -1
  180. package/templates/yoga-studio-owner/tier5-src/_shared/detail-facts.ts +26 -0
  181. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  182. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  183. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  184. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  185. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  186. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  187. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  188. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  189. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
@@ -5557,7 +5557,7 @@ const SCREENS = runtimeSetting({
5557
5557
  "modifiers": {
5558
5558
  "width": 44,
5559
5559
  "height": 44,
5560
- "accessibilityLabel": "Item actions"
5560
+ "accessibilityLabel": "$item.collectionActionsLabel"
5561
5561
  }
5562
5562
  },
5563
5563
  "items": [
@@ -5911,7 +5911,7 @@ const SCREENS = runtimeSetting({
5911
5911
  "modifiers": {
5912
5912
  "width": 44,
5913
5913
  "height": 44,
5914
- "accessibilityLabel": "Item actions"
5914
+ "accessibilityLabel": "$item.collectionActionsLabel"
5915
5915
  }
5916
5916
  },
5917
5917
  "items": [
@@ -6185,7 +6185,7 @@ const SCREENS = runtimeSetting({
6185
6185
  "modifiers": {
6186
6186
  "width": 44,
6187
6187
  "height": 44,
6188
- "accessibilityLabel": "Item actions"
6188
+ "accessibilityLabel": "$item.collectionActionsLabel"
6189
6189
  }
6190
6190
  },
6191
6191
  "items": [
@@ -6539,7 +6539,7 @@ const SCREENS = runtimeSetting({
6539
6539
  "modifiers": {
6540
6540
  "width": 44,
6541
6541
  "height": 44,
6542
- "accessibilityLabel": "Item actions"
6542
+ "accessibilityLabel": "$item.collectionActionsLabel"
6543
6543
  }
6544
6544
  },
6545
6545
  "items": [
@@ -7138,7 +7138,7 @@ const SCREENS = runtimeSetting({
7138
7138
  "modifiers": {
7139
7139
  "width": 44,
7140
7140
  "height": 44,
7141
- "accessibilityLabel": "Item actions"
7141
+ "accessibilityLabel": "$item.collectionActionsLabel"
7142
7142
  }
7143
7143
  },
7144
7144
  "items": [
@@ -9894,7 +9894,7 @@ const SCREENS = runtimeSetting({
9894
9894
  "modifiers": {
9895
9895
  "width": 44,
9896
9896
  "height": 44,
9897
- "accessibilityLabel": "Item actions"
9897
+ "accessibilityLabel": "$item.collectionActionsLabel"
9898
9898
  }
9899
9899
  },
9900
9900
  "items": [
@@ -10302,7 +10302,7 @@ const SCREENS = runtimeSetting({
10302
10302
  "modifiers": {
10303
10303
  "width": 44,
10304
10304
  "height": 44,
10305
- "accessibilityLabel": "Item actions"
10305
+ "accessibilityLabel": "$item.collectionActionsLabel"
10306
10306
  }
10307
10307
  },
10308
10308
  "items": [
@@ -10662,7 +10662,7 @@ const SCREENS = runtimeSetting({
10662
10662
  "modifiers": {
10663
10663
  "width": 44,
10664
10664
  "height": 44,
10665
- "accessibilityLabel": "Item actions"
10665
+ "accessibilityLabel": "$item.collectionActionsLabel"
10666
10666
  }
10667
10667
  },
10668
10668
  "items": [
@@ -11070,7 +11070,7 @@ const SCREENS = runtimeSetting({
11070
11070
  "modifiers": {
11071
11071
  "width": 44,
11072
11072
  "height": 44,
11073
- "accessibilityLabel": "Item actions"
11073
+ "accessibilityLabel": "$item.collectionActionsLabel"
11074
11074
  }
11075
11075
  },
11076
11076
  "items": [
@@ -11817,7 +11817,7 @@ const SCREENS = runtimeSetting({
11817
11817
  "modifiers": {
11818
11818
  "width": 44,
11819
11819
  "height": 44,
11820
- "accessibilityLabel": "Item actions"
11820
+ "accessibilityLabel": "$item.collectionActionsLabel"
11821
11821
  }
11822
11822
  },
11823
11823
  "items": [
@@ -13367,7 +13367,7 @@ const SCREENS = runtimeSetting({
13367
13367
  "modifiers": {
13368
13368
  "width": 44,
13369
13369
  "height": 44,
13370
- "accessibilityLabel": "Item actions"
13370
+ "accessibilityLabel": "$item.collectionActionsLabel"
13371
13371
  }
13372
13372
  },
13373
13373
  "items": [
@@ -13714,7 +13714,7 @@ const SCREENS = runtimeSetting({
13714
13714
  "modifiers": {
13715
13715
  "width": 44,
13716
13716
  "height": 44,
13717
- "accessibilityLabel": "Item actions"
13717
+ "accessibilityLabel": "$item.collectionActionsLabel"
13718
13718
  }
13719
13719
  },
13720
13720
  "items": [
@@ -14004,7 +14004,7 @@ const SCREENS = runtimeSetting({
14004
14004
  "modifiers": {
14005
14005
  "width": 44,
14006
14006
  "height": 44,
14007
- "accessibilityLabel": "Item actions"
14007
+ "accessibilityLabel": "$item.collectionActionsLabel"
14008
14008
  }
14009
14009
  },
14010
14010
  "items": [
@@ -14351,7 +14351,7 @@ const SCREENS = runtimeSetting({
14351
14351
  "modifiers": {
14352
14352
  "width": 44,
14353
14353
  "height": 44,
14354
- "accessibilityLabel": "Item actions"
14354
+ "accessibilityLabel": "$item.collectionActionsLabel"
14355
14355
  }
14356
14356
  },
14357
14357
  "items": [
@@ -14992,7 +14992,7 @@ const SCREENS = runtimeSetting({
14992
14992
  "modifiers": {
14993
14993
  "width": 44,
14994
14994
  "height": 44,
14995
- "accessibilityLabel": "Item actions"
14995
+ "accessibilityLabel": "$item.collectionActionsLabel"
14996
14996
  }
14997
14997
  },
14998
14998
  "items": [
@@ -16427,7 +16427,7 @@ const SCREENS = runtimeSetting({
16427
16427
  "modifiers": {
16428
16428
  "width": 44,
16429
16429
  "height": 44,
16430
- "accessibilityLabel": "Item actions"
16430
+ "accessibilityLabel": "$item.collectionActionsLabel"
16431
16431
  }
16432
16432
  },
16433
16433
  "items": [
@@ -16764,7 +16764,7 @@ const SCREENS = runtimeSetting({
16764
16764
  "modifiers": {
16765
16765
  "width": 44,
16766
16766
  "height": 44,
16767
- "accessibilityLabel": "Item actions"
16767
+ "accessibilityLabel": "$item.collectionActionsLabel"
16768
16768
  }
16769
16769
  },
16770
16770
  "items": [
@@ -17038,7 +17038,7 @@ const SCREENS = runtimeSetting({
17038
17038
  "modifiers": {
17039
17039
  "width": 44,
17040
17040
  "height": 44,
17041
- "accessibilityLabel": "Item actions"
17041
+ "accessibilityLabel": "$item.collectionActionsLabel"
17042
17042
  }
17043
17043
  },
17044
17044
  "items": [
@@ -17375,7 +17375,7 @@ const SCREENS = runtimeSetting({
17375
17375
  "modifiers": {
17376
17376
  "width": 44,
17377
17377
  "height": 44,
17378
- "accessibilityLabel": "Item actions"
17378
+ "accessibilityLabel": "$item.collectionActionsLabel"
17379
17379
  }
17380
17380
  },
17381
17381
  "items": [
@@ -17999,7 +17999,7 @@ const SCREENS = runtimeSetting({
17999
17999
  "modifiers": {
18000
18000
  "width": 44,
18001
18001
  "height": 44,
18002
- "accessibilityLabel": "Item actions"
18002
+ "accessibilityLabel": "$item.collectionActionsLabel"
18003
18003
  }
18004
18004
  },
18005
18005
  "items": [
@@ -58,6 +58,13 @@ export interface CollectionConfig {
58
58
  /** At or below this many records, with no query/filter narrowing them and no further
59
59
  * page, the list/grid toggle, Refine, chips, search and count are noise. */
60
60
  export const COLLECTION_CHROME_MIN_ITEMS = 4;
61
+ /** The accessible name of a row's overflow menu: `template` with `{title}` filled, or the
62
+ * generic `fallback` for a record with no title. */
63
+ export function collectionActionsLabel(title: string, template: string, fallback: string): string {
64
+ const t = title.trim();
65
+ return t ? template.replace('{title}', () => t) : fallback;
66
+ }
67
+
61
68
  export const COLLECTIONS: Record<string, CollectionConfig> = {
62
69
  himiStoreShop: { rows: 'results', title: 'name', subtitle: 'subtitle', image: 'image', view: 'grid', backendQuery: true, countNoun: ['product', 'products'], favoriteToggle: true },
63
70
  himiBookingServices: { rows: 'results', title: 'name', subtitle: 'subtitle', image: 'image', filter: 'category', view: 'grid', backendQuery: true, searchPlaceholder: 'Search services', countNoun: ['service', 'services'], primaryVerb: { label: 'Book', screenId: 'himi_time' } },
@@ -184,6 +191,9 @@ export function projectCollection(source: CollectionRow[], config: CollectionCon
184
191
  collectionSelectLabel: prefs.selectedIds.includes(collectionId(row)) ? 'Selected' : 'Select',
185
192
  // The save toggle names the action it WILL take (the service localizes it).
186
193
  collectionSaveLabel: prefs.savedIds.includes(collectionId(row)) ? 'Remove from saved' : 'Save',
194
+ // The row's overflow menu, named for its record: out of context (a rotor, a voice
195
+ // command) a list of identical "Item actions" cannot be told apart.
196
+ collectionActionsLabel: collectionActionsLabel(collectionTitle(row, config), 'Actions for {title}', 'Item actions'),
187
197
  collectionSubtitle: scalar(row[config.subtitle ?? '']) || scalar(row.subtitle) || scalar(row.description) || scalar(row.meta),
188
198
  collectionImage: scalar(row[config.image ?? '']), collectionNoImage: !scalar(row[config.image ?? '']), collectionHasImage: !!scalar(row[config.image ?? '']),
189
199
  collectionSaved: prefs.savedIds.includes(collectionId(row)), collectionNotSaved: !prefs.savedIds.includes(collectionId(row)), collectionSelected: prefs.selectedIds.includes(collectionId(row)),
@@ -1,5 +1,5 @@
1
1
  import { defineService as register, type ServiceDefinition } from '@himalaya/state';
2
- import { COLLECTIONS, COLLECTION_CHROME_MIN_ITEMS, initialCollection, normalizeCollection, projectCollection, collectionId, type CollectionRow } from './collection-contract.js';
2
+ import { COLLECTIONS, COLLECTION_CHROME_MIN_ITEMS, initialCollection, normalizeCollection, projectCollection, collectionId, collectionActionsLabel, type CollectionRow } from './collection-contract.js';
3
3
  import { localPreferences, type PreferenceRuntime } from './local-preferences.js';
4
4
  import { copyParam, stashCopy } from './himi-copy.js';
5
5
  import { createCollectionQuery, type CollectionQuerySource, type CollectionQueryState } from './collection-query.js';
@@ -130,6 +130,8 @@ export function decorateCollection(name: string, def: { state: State; actions?:
130
130
  // the save toggle names the action it WILL take for this row. The
131
131
  // old static "Save / unsave" made the owner work out the row's state.
132
132
  row.collectionSaveLabel = row.collectionSaved ? copyParam('collection.unsave', 'Remove from saved') : copyParam('collection.save', 'Save');
133
+ row.collectionActionsLabel = collectionActionsLabel(String(row.collectionTitle ?? ''),
134
+ copyParam('collection.itemActionsFor', 'Actions for {title}'), copyParam('collection.itemActions', 'Item actions'));
133
135
  });
134
136
  if (previewId && !rows.some(row => collectionId(row) === previewId)) previewId = '';
135
137
  const filterChoices = [{ id: 'all', label: copyParam('collection.all', 'All') }, { id: 'saved', label: copyParam('collection.saved', 'Saved') },