@wix/himalaya-cli 0.1311.0 → 0.1313.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 (185) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/auth-providers/wix/src/index.d.ts +8 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-auth.mjs +4 -2
  3. package/dist/cli.mjs +54 -34
  4. package/dist/preview-assets.generated.bin +0 -0
  5. package/guides/web-page-native-sdk.md +18 -8
  6. package/guides/webview-page-sdk.md +9 -3
  7. package/package.json +2 -2
  8. package/templates/beauty-salon/dev/index.ts +25 -25
  9. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +10 -0
  10. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +3 -1
  11. package/templates/beauty-salon-owner/dev/index.ts +844 -510
  12. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +10 -0
  13. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +3 -1
  14. package/templates/beauty-salon-owner/tier5-src/_shared/detail-facts.ts +26 -0
  15. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  16. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  17. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  18. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  19. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  20. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  21. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  22. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  23. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  24. package/templates/branded-lite/dev/index.ts +120 -120
  25. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +10 -0
  26. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +3 -1
  27. package/templates/community-club/dev/index.ts +20 -20
  28. package/templates/community-club/tier5-src/_shared/collection-contract.ts +10 -0
  29. package/templates/community-club/tier5-src/_shared/collection-service.ts +3 -1
  30. package/templates/community-club-owner/dev/index.ts +957 -595
  31. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +10 -0
  32. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +3 -1
  33. package/templates/community-club-owner/tier5-src/_shared/detail-facts.ts +26 -0
  34. package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  35. package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  36. package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  37. package/templates/community-club-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  38. package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  39. package/templates/community-club-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  40. package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  41. package/templates/community-club-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  42. package/templates/community-club-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  43. package/templates/events-meetups/dev/index.ts +15 -15
  44. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +10 -0
  45. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +3 -1
  46. package/templates/events-meetups-owner/dev/index.ts +726 -433
  47. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +10 -0
  48. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +3 -1
  49. package/templates/events-meetups-owner/tier5-src/_shared/detail-facts.ts +26 -0
  50. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  51. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  52. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  53. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  54. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  55. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  56. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  57. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  58. package/templates/gym-fitness/dev/index.ts +30 -30
  59. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +10 -0
  60. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +3 -1
  61. package/templates/gym-fitness-owner/dev/index.ts +1041 -644
  62. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +10 -0
  63. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +3 -1
  64. package/templates/gym-fitness-owner/tier5-src/_shared/detail-facts.ts +26 -0
  65. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  66. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  67. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  68. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  69. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  70. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  71. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  72. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  73. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  74. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  75. package/templates/nonprofit-cause/dev/index.ts +20 -20
  76. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +10 -0
  77. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +3 -1
  78. package/templates/nonprofit-cause-owner/dev/index.ts +810 -482
  79. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +10 -0
  80. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +3 -1
  81. package/templates/nonprofit-cause-owner/tier5-src/_shared/detail-facts.ts +26 -0
  82. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  83. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  84. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  85. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  86. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  87. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  88. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  89. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  90. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  91. package/templates/owner-lite/dev/index.ts +1066 -648
  92. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +10 -0
  93. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +3 -1
  94. package/templates/owner-lite/tier5-src/_shared/detail-facts.ts +26 -0
  95. package/templates/owner-lite/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  96. package/templates/owner-lite/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  97. package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +10 -0
  98. package/templates/owner-lite/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  99. package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +10 -0
  100. package/templates/owner-lite/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  101. package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +10 -0
  102. package/templates/owner-lite/tier5-src/himi-owner-lite-search/index.ts +6 -0
  103. package/templates/owner-lite/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  104. package/templates/owner-lite/tier5-src/himi-owner-lite-service/index.ts +10 -0
  105. package/templates/podcast-creator/dev/index.ts +20 -20
  106. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +10 -0
  107. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +3 -1
  108. package/templates/podcast-creator-owner/dev/index.ts +957 -595
  109. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +10 -0
  110. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +3 -1
  111. package/templates/podcast-creator-owner/tier5-src/_shared/detail-facts.ts +26 -0
  112. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  113. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  114. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  115. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  116. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  117. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  118. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  119. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  120. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  121. package/templates/portfolio-creative/dev/index.ts +20 -20
  122. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +10 -0
  123. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +3 -1
  124. package/templates/portfolio-creative-owner/dev/index.ts +844 -510
  125. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +10 -0
  126. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +3 -1
  127. package/templates/portfolio-creative-owner/tier5-src/_shared/detail-facts.ts +26 -0
  128. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  129. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  130. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  131. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  132. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  133. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  134. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  135. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  136. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  137. package/templates/restaurant/dev/index.ts +15 -15
  138. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +10 -0
  139. package/templates/restaurant/tier5-src/_shared/collection-service.ts +3 -1
  140. package/templates/restaurant-owner/dev/index.ts +1041 -644
  141. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +10 -0
  142. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +3 -1
  143. package/templates/restaurant-owner/tier5-src/_shared/detail-facts.ts +26 -0
  144. package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  145. package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  146. package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  147. package/templates/restaurant-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  148. package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  149. package/templates/restaurant-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  150. package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  151. package/templates/restaurant-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  152. package/templates/restaurant-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  153. package/templates/restaurant-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
  154. package/templates/retail-store/dev/index.ts +10 -10
  155. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +10 -0
  156. package/templates/retail-store/tier5-src/_shared/collection-service.ts +3 -1
  157. package/templates/retail-store-owner/dev/index.ts +760 -461
  158. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +10 -0
  159. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +3 -1
  160. package/templates/retail-store-owner/tier5-src/_shared/detail-facts.ts +26 -0
  161. package/templates/retail-store-owner/tier5-src/_shared/offset-page.ts +10 -0
  162. package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  163. package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  164. package/templates/retail-store-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  165. package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  166. package/templates/retail-store-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  167. package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
  168. package/templates/retail-store-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  169. package/templates/retail-store-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  170. package/templates/yoga-studio/dev/index.ts +30 -30
  171. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +10 -0
  172. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +3 -1
  173. package/templates/yoga-studio-owner/dev/index.ts +810 -482
  174. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +10 -0
  175. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +3 -1
  176. package/templates/yoga-studio-owner/tier5-src/_shared/detail-facts.ts +26 -0
  177. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
  178. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
  179. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
  180. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
  181. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
  182. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
  183. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
  184. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
  185. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
@@ -9458,7 +9458,7 @@ const SCREENS = runtimeSetting({
9458
9458
  "modifiers": {
9459
9459
  "width": 44,
9460
9460
  "height": 44,
9461
- "accessibilityLabel": "Item actions"
9461
+ "accessibilityLabel": "$item.collectionActionsLabel"
9462
9462
  }
9463
9463
  },
9464
9464
  "items": [
@@ -9738,7 +9738,7 @@ const SCREENS = runtimeSetting({
9738
9738
  "modifiers": {
9739
9739
  "width": 44,
9740
9740
  "height": 44,
9741
- "accessibilityLabel": "Item actions"
9741
+ "accessibilityLabel": "$item.collectionActionsLabel"
9742
9742
  }
9743
9743
  },
9744
9744
  "items": [
@@ -10028,7 +10028,7 @@ const SCREENS = runtimeSetting({
10028
10028
  "modifiers": {
10029
10029
  "width": 44,
10030
10030
  "height": 44,
10031
- "accessibilityLabel": "Item actions"
10031
+ "accessibilityLabel": "$item.collectionActionsLabel"
10032
10032
  }
10033
10033
  },
10034
10034
  "items": [
@@ -10308,7 +10308,7 @@ const SCREENS = runtimeSetting({
10308
10308
  "modifiers": {
10309
10309
  "width": 44,
10310
10310
  "height": 44,
10311
- "accessibilityLabel": "Item actions"
10311
+ "accessibilityLabel": "$item.collectionActionsLabel"
10312
10312
  }
10313
10313
  },
10314
10314
  "items": [
@@ -10913,7 +10913,7 @@ const SCREENS = runtimeSetting({
10913
10913
  "modifiers": {
10914
10914
  "width": 44,
10915
10915
  "height": 44,
10916
- "accessibilityLabel": "Item actions"
10916
+ "accessibilityLabel": "$item.collectionActionsLabel"
10917
10917
  }
10918
10918
  },
10919
10919
  "items": [
@@ -11834,7 +11834,7 @@ const SCREENS = runtimeSetting({
11834
11834
  "modifiers": {
11835
11835
  "width": 44,
11836
11836
  "height": 44,
11837
- "accessibilityLabel": "Item actions"
11837
+ "accessibilityLabel": "$item.collectionActionsLabel"
11838
11838
  }
11839
11839
  },
11840
11840
  "items": [
@@ -12175,7 +12175,7 @@ const SCREENS = runtimeSetting({
12175
12175
  "modifiers": {
12176
12176
  "width": 44,
12177
12177
  "height": 44,
12178
- "accessibilityLabel": "Item actions"
12178
+ "accessibilityLabel": "$item.collectionActionsLabel"
12179
12179
  }
12180
12180
  },
12181
12181
  "items": [
@@ -12454,7 +12454,7 @@ const SCREENS = runtimeSetting({
12454
12454
  "modifiers": {
12455
12455
  "width": 44,
12456
12456
  "height": 44,
12457
- "accessibilityLabel": "Item actions"
12457
+ "accessibilityLabel": "$item.collectionActionsLabel"
12458
12458
  }
12459
12459
  },
12460
12460
  "items": [
@@ -12795,7 +12795,7 @@ const SCREENS = runtimeSetting({
12795
12795
  "modifiers": {
12796
12796
  "width": 44,
12797
12797
  "height": 44,
12798
- "accessibilityLabel": "Item actions"
12798
+ "accessibilityLabel": "$item.collectionActionsLabel"
12799
12799
  }
12800
12800
  },
12801
12801
  "items": [
@@ -13423,7 +13423,7 @@ const SCREENS = runtimeSetting({
13423
13423
  "modifiers": {
13424
13424
  "width": 44,
13425
13425
  "height": 44,
13426
- "accessibilityLabel": "Item actions"
13426
+ "accessibilityLabel": "$item.collectionActionsLabel"
13427
13427
  }
13428
13428
  },
13429
13429
  "items": [
@@ -15159,7 +15159,7 @@ const SCREENS = runtimeSetting({
15159
15159
  "modifiers": {
15160
15160
  "width": 44,
15161
15161
  "height": 44,
15162
- "accessibilityLabel": "Item actions"
15162
+ "accessibilityLabel": "$item.collectionActionsLabel"
15163
15163
  }
15164
15164
  },
15165
15165
  "items": [
@@ -15567,7 +15567,7 @@ const SCREENS = runtimeSetting({
15567
15567
  "modifiers": {
15568
15568
  "width": 44,
15569
15569
  "height": 44,
15570
- "accessibilityLabel": "Item actions"
15570
+ "accessibilityLabel": "$item.collectionActionsLabel"
15571
15571
  }
15572
15572
  },
15573
15573
  "items": [
@@ -15927,7 +15927,7 @@ const SCREENS = runtimeSetting({
15927
15927
  "modifiers": {
15928
15928
  "width": 44,
15929
15929
  "height": 44,
15930
- "accessibilityLabel": "Item actions"
15930
+ "accessibilityLabel": "$item.collectionActionsLabel"
15931
15931
  }
15932
15932
  },
15933
15933
  "items": [
@@ -16335,7 +16335,7 @@ const SCREENS = runtimeSetting({
16335
16335
  "modifiers": {
16336
16336
  "width": 44,
16337
16337
  "height": 44,
16338
- "accessibilityLabel": "Item actions"
16338
+ "accessibilityLabel": "$item.collectionActionsLabel"
16339
16339
  }
16340
16340
  },
16341
16341
  "items": [
@@ -17082,7 +17082,7 @@ const SCREENS = runtimeSetting({
17082
17082
  "modifiers": {
17083
17083
  "width": 44,
17084
17084
  "height": 44,
17085
- "accessibilityLabel": "Item actions"
17085
+ "accessibilityLabel": "$item.collectionActionsLabel"
17086
17086
  }
17087
17087
  },
17088
17088
  "items": [
@@ -18632,7 +18632,7 @@ const SCREENS = runtimeSetting({
18632
18632
  "modifiers": {
18633
18633
  "width": 44,
18634
18634
  "height": 44,
18635
- "accessibilityLabel": "Item actions"
18635
+ "accessibilityLabel": "$item.collectionActionsLabel"
18636
18636
  }
18637
18637
  },
18638
18638
  "items": [
@@ -18979,7 +18979,7 @@ const SCREENS = runtimeSetting({
18979
18979
  "modifiers": {
18980
18980
  "width": 44,
18981
18981
  "height": 44,
18982
- "accessibilityLabel": "Item actions"
18982
+ "accessibilityLabel": "$item.collectionActionsLabel"
18983
18983
  }
18984
18984
  },
18985
18985
  "items": [
@@ -19269,7 +19269,7 @@ const SCREENS = runtimeSetting({
19269
19269
  "modifiers": {
19270
19270
  "width": 44,
19271
19271
  "height": 44,
19272
- "accessibilityLabel": "Item actions"
19272
+ "accessibilityLabel": "$item.collectionActionsLabel"
19273
19273
  }
19274
19274
  },
19275
19275
  "items": [
@@ -19616,7 +19616,7 @@ const SCREENS = runtimeSetting({
19616
19616
  "modifiers": {
19617
19617
  "width": 44,
19618
19618
  "height": 44,
19619
- "accessibilityLabel": "Item actions"
19619
+ "accessibilityLabel": "$item.collectionActionsLabel"
19620
19620
  }
19621
19621
  },
19622
19622
  "items": [
@@ -20257,7 +20257,7 @@ const SCREENS = runtimeSetting({
20257
20257
  "modifiers": {
20258
20258
  "width": 44,
20259
20259
  "height": 44,
20260
- "accessibilityLabel": "Item actions"
20260
+ "accessibilityLabel": "$item.collectionActionsLabel"
20261
20261
  }
20262
20262
  },
20263
20263
  "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') },