@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
@@ -5495,7 +5495,7 @@ const SCREENS = runtimeSetting({
5495
5495
  "modifiers": {
5496
5496
  "width": 44,
5497
5497
  "height": 44,
5498
- "accessibilityLabel": "Item actions"
5498
+ "accessibilityLabel": "$item.collectionActionsLabel"
5499
5499
  }
5500
5500
  },
5501
5501
  "items": [
@@ -5849,7 +5849,7 @@ const SCREENS = runtimeSetting({
5849
5849
  "modifiers": {
5850
5850
  "width": 44,
5851
5851
  "height": 44,
5852
- "accessibilityLabel": "Item actions"
5852
+ "accessibilityLabel": "$item.collectionActionsLabel"
5853
5853
  }
5854
5854
  },
5855
5855
  "items": [
@@ -6123,7 +6123,7 @@ const SCREENS = runtimeSetting({
6123
6123
  "modifiers": {
6124
6124
  "width": 44,
6125
6125
  "height": 44,
6126
- "accessibilityLabel": "Item actions"
6126
+ "accessibilityLabel": "$item.collectionActionsLabel"
6127
6127
  }
6128
6128
  },
6129
6129
  "items": [
@@ -6477,7 +6477,7 @@ const SCREENS = runtimeSetting({
6477
6477
  "modifiers": {
6478
6478
  "width": 44,
6479
6479
  "height": 44,
6480
- "accessibilityLabel": "Item actions"
6480
+ "accessibilityLabel": "$item.collectionActionsLabel"
6481
6481
  }
6482
6482
  },
6483
6483
  "items": [
@@ -7076,7 +7076,7 @@ const SCREENS = runtimeSetting({
7076
7076
  "modifiers": {
7077
7077
  "width": 44,
7078
7078
  "height": 44,
7079
- "accessibilityLabel": "Item actions"
7079
+ "accessibilityLabel": "$item.collectionActionsLabel"
7080
7080
  }
7081
7081
  },
7082
7082
  "items": [
@@ -9832,7 +9832,7 @@ const SCREENS = runtimeSetting({
9832
9832
  "modifiers": {
9833
9833
  "width": 44,
9834
9834
  "height": 44,
9835
- "accessibilityLabel": "Item actions"
9835
+ "accessibilityLabel": "$item.collectionActionsLabel"
9836
9836
  }
9837
9837
  },
9838
9838
  "items": [
@@ -10240,7 +10240,7 @@ const SCREENS = runtimeSetting({
10240
10240
  "modifiers": {
10241
10241
  "width": 44,
10242
10242
  "height": 44,
10243
- "accessibilityLabel": "Item actions"
10243
+ "accessibilityLabel": "$item.collectionActionsLabel"
10244
10244
  }
10245
10245
  },
10246
10246
  "items": [
@@ -10600,7 +10600,7 @@ const SCREENS = runtimeSetting({
10600
10600
  "modifiers": {
10601
10601
  "width": 44,
10602
10602
  "height": 44,
10603
- "accessibilityLabel": "Item actions"
10603
+ "accessibilityLabel": "$item.collectionActionsLabel"
10604
10604
  }
10605
10605
  },
10606
10606
  "items": [
@@ -11008,7 +11008,7 @@ const SCREENS = runtimeSetting({
11008
11008
  "modifiers": {
11009
11009
  "width": 44,
11010
11010
  "height": 44,
11011
- "accessibilityLabel": "Item actions"
11011
+ "accessibilityLabel": "$item.collectionActionsLabel"
11012
11012
  }
11013
11013
  },
11014
11014
  "items": [
@@ -11755,7 +11755,7 @@ const SCREENS = runtimeSetting({
11755
11755
  "modifiers": {
11756
11756
  "width": 44,
11757
11757
  "height": 44,
11758
- "accessibilityLabel": "Item actions"
11758
+ "accessibilityLabel": "$item.collectionActionsLabel"
11759
11759
  }
11760
11760
  },
11761
11761
  "items": [
@@ -13305,7 +13305,7 @@ const SCREENS = runtimeSetting({
13305
13305
  "modifiers": {
13306
13306
  "width": 44,
13307
13307
  "height": 44,
13308
- "accessibilityLabel": "Item actions"
13308
+ "accessibilityLabel": "$item.collectionActionsLabel"
13309
13309
  }
13310
13310
  },
13311
13311
  "items": [
@@ -13652,7 +13652,7 @@ const SCREENS = runtimeSetting({
13652
13652
  "modifiers": {
13653
13653
  "width": 44,
13654
13654
  "height": 44,
13655
- "accessibilityLabel": "Item actions"
13655
+ "accessibilityLabel": "$item.collectionActionsLabel"
13656
13656
  }
13657
13657
  },
13658
13658
  "items": [
@@ -13942,7 +13942,7 @@ const SCREENS = runtimeSetting({
13942
13942
  "modifiers": {
13943
13943
  "width": 44,
13944
13944
  "height": 44,
13945
- "accessibilityLabel": "Item actions"
13945
+ "accessibilityLabel": "$item.collectionActionsLabel"
13946
13946
  }
13947
13947
  },
13948
13948
  "items": [
@@ -14289,7 +14289,7 @@ const SCREENS = runtimeSetting({
14289
14289
  "modifiers": {
14290
14290
  "width": 44,
14291
14291
  "height": 44,
14292
- "accessibilityLabel": "Item actions"
14292
+ "accessibilityLabel": "$item.collectionActionsLabel"
14293
14293
  }
14294
14294
  },
14295
14295
  "items": [
@@ -14930,7 +14930,7 @@ const SCREENS = runtimeSetting({
14930
14930
  "modifiers": {
14931
14931
  "width": 44,
14932
14932
  "height": 44,
14933
- "accessibilityLabel": "Item actions"
14933
+ "accessibilityLabel": "$item.collectionActionsLabel"
14934
14934
  }
14935
14935
  },
14936
14936
  "items": [
@@ -16315,7 +16315,7 @@ const SCREENS = runtimeSetting({
16315
16315
  "modifiers": {
16316
16316
  "width": 44,
16317
16317
  "height": 44,
16318
- "accessibilityLabel": "Item actions"
16318
+ "accessibilityLabel": "$item.collectionActionsLabel"
16319
16319
  }
16320
16320
  },
16321
16321
  "items": [
@@ -16722,7 +16722,7 @@ const SCREENS = runtimeSetting({
16722
16722
  "modifiers": {
16723
16723
  "width": 44,
16724
16724
  "height": 44,
16725
- "accessibilityLabel": "Item actions"
16725
+ "accessibilityLabel": "$item.collectionActionsLabel"
16726
16726
  }
16727
16727
  },
16728
16728
  "items": [
@@ -16994,7 +16994,7 @@ const SCREENS = runtimeSetting({
16994
16994
  "modifiers": {
16995
16995
  "width": 44,
16996
16996
  "height": 44,
16997
- "accessibilityLabel": "Item actions"
16997
+ "accessibilityLabel": "$item.collectionActionsLabel"
16998
16998
  }
16999
16999
  },
17000
17000
  "items": [
@@ -17401,7 +17401,7 @@ const SCREENS = runtimeSetting({
17401
17401
  "modifiers": {
17402
17402
  "width": 44,
17403
17403
  "height": 44,
17404
- "accessibilityLabel": "Item actions"
17404
+ "accessibilityLabel": "$item.collectionActionsLabel"
17405
17405
  }
17406
17406
  },
17407
17407
  "items": [
@@ -18059,7 +18059,7 @@ const SCREENS = runtimeSetting({
18059
18059
  "modifiers": {
18060
18060
  "width": 44,
18061
18061
  "height": 44,
18062
- "accessibilityLabel": "Item actions"
18062
+ "accessibilityLabel": "$item.collectionActionsLabel"
18063
18063
  }
18064
18064
  },
18065
18065
  "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') },