@wix/himalaya-cli 0.1311.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.
- package/dist/cli.mjs +55 -34
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/web-page-native-sdk.md +18 -8
- package/guides/webview-page-sdk.md +9 -3
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +25 -25
- package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/beauty-salon-owner/dev/index.ts +844 -510
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
- package/templates/branded-lite/dev/index.ts +120 -120
- package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/community-club/dev/index.ts +20 -20
- package/templates/community-club/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/community-club-owner/dev/index.ts +957 -595
- package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/community-club-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/community-club-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/community-club-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/community-club-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/events-meetups/dev/index.ts +15 -15
- package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/events-meetups-owner/dev/index.ts +726 -433
- package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/events-meetups-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/gym-fitness/dev/index.ts +30 -30
- package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/gym-fitness-owner/dev/index.ts +1041 -644
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
- package/templates/nonprofit-cause/dev/index.ts +20 -20
- package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/nonprofit-cause-owner/dev/index.ts +810 -482
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
- package/templates/owner-lite/dev/index.ts +1066 -648
- package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/owner-lite/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/owner-lite/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/owner-lite/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/owner-lite/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-service/index.ts +10 -0
- package/templates/podcast-creator/dev/index.ts +20 -20
- package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/podcast-creator-owner/dev/index.ts +957 -595
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/portfolio-creative/dev/index.ts +20 -20
- package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/portfolio-creative-owner/dev/index.ts +844 -510
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
- package/templates/restaurant/dev/index.ts +15 -15
- package/templates/restaurant/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/restaurant-owner/dev/index.ts +1041 -644
- package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/restaurant-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
- package/templates/retail-store/dev/index.ts +10 -10
- package/templates/retail-store/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/retail-store-owner/dev/index.ts +760 -461
- package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/retail-store-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/retail-store-owner/tier5-src/_shared/offset-page.ts +10 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-product/index.ts +10 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/yoga-studio/dev/index.ts +30 -30
- package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/yoga-studio-owner/dev/index.ts +810 -482
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +10 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +3 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/detail-facts.ts +26 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/blocks.ts +7 -3
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-ask/index.ts +2 -2
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-event/index.ts +10 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-manage/logic.ts +3 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +10 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-posts/index.ts +21 -2
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-search/index.ts +6 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-search/vertical-sources.ts +178 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-service/index.ts +10 -0
|
@@ -10262,7 +10262,7 @@ const SCREENS = runtimeSetting({
|
|
|
10262
10262
|
"modifiers": {
|
|
10263
10263
|
"width": 44,
|
|
10264
10264
|
"height": 44,
|
|
10265
|
-
"accessibilityLabel": "
|
|
10265
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
10266
10266
|
}
|
|
10267
10267
|
},
|
|
10268
10268
|
"items": [
|
|
@@ -10542,7 +10542,7 @@ const SCREENS = runtimeSetting({
|
|
|
10542
10542
|
"modifiers": {
|
|
10543
10543
|
"width": 44,
|
|
10544
10544
|
"height": 44,
|
|
10545
|
-
"accessibilityLabel": "
|
|
10545
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
10546
10546
|
}
|
|
10547
10547
|
},
|
|
10548
10548
|
"items": [
|
|
@@ -10832,7 +10832,7 @@ const SCREENS = runtimeSetting({
|
|
|
10832
10832
|
"modifiers": {
|
|
10833
10833
|
"width": 44,
|
|
10834
10834
|
"height": 44,
|
|
10835
|
-
"accessibilityLabel": "
|
|
10835
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
10836
10836
|
}
|
|
10837
10837
|
},
|
|
10838
10838
|
"items": [
|
|
@@ -11112,7 +11112,7 @@ const SCREENS = runtimeSetting({
|
|
|
11112
11112
|
"modifiers": {
|
|
11113
11113
|
"width": 44,
|
|
11114
11114
|
"height": 44,
|
|
11115
|
-
"accessibilityLabel": "
|
|
11115
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
11116
11116
|
}
|
|
11117
11117
|
},
|
|
11118
11118
|
"items": [
|
|
@@ -11717,7 +11717,7 @@ const SCREENS = runtimeSetting({
|
|
|
11717
11717
|
"modifiers": {
|
|
11718
11718
|
"width": 44,
|
|
11719
11719
|
"height": 44,
|
|
11720
|
-
"accessibilityLabel": "
|
|
11720
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
11721
11721
|
}
|
|
11722
11722
|
},
|
|
11723
11723
|
"items": [
|
|
@@ -12829,7 +12829,7 @@ const SCREENS = runtimeSetting({
|
|
|
12829
12829
|
"modifiers": {
|
|
12830
12830
|
"width": 44,
|
|
12831
12831
|
"height": 44,
|
|
12832
|
-
"accessibilityLabel": "
|
|
12832
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
12833
12833
|
}
|
|
12834
12834
|
},
|
|
12835
12835
|
"items": [
|
|
@@ -13185,7 +13185,7 @@ const SCREENS = runtimeSetting({
|
|
|
13185
13185
|
"modifiers": {
|
|
13186
13186
|
"width": 44,
|
|
13187
13187
|
"height": 44,
|
|
13188
|
-
"accessibilityLabel": "
|
|
13188
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
13189
13189
|
}
|
|
13190
13190
|
},
|
|
13191
13191
|
"items": [
|
|
@@ -13504,7 +13504,7 @@ const SCREENS = runtimeSetting({
|
|
|
13504
13504
|
"modifiers": {
|
|
13505
13505
|
"width": 44,
|
|
13506
13506
|
"height": 44,
|
|
13507
|
-
"accessibilityLabel": "
|
|
13507
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
13508
13508
|
}
|
|
13509
13509
|
},
|
|
13510
13510
|
"items": [
|
|
@@ -13860,7 +13860,7 @@ const SCREENS = runtimeSetting({
|
|
|
13860
13860
|
"modifiers": {
|
|
13861
13861
|
"width": 44,
|
|
13862
13862
|
"height": 44,
|
|
13863
|
-
"accessibilityLabel": "
|
|
13863
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
13864
13864
|
}
|
|
13865
13865
|
},
|
|
13866
13866
|
"items": [
|
|
@@ -14520,7 +14520,7 @@ const SCREENS = runtimeSetting({
|
|
|
14520
14520
|
"modifiers": {
|
|
14521
14521
|
"width": 44,
|
|
14522
14522
|
"height": 44,
|
|
14523
|
-
"accessibilityLabel": "
|
|
14523
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
14524
14524
|
}
|
|
14525
14525
|
},
|
|
14526
14526
|
"items": [
|
|
@@ -15822,7 +15822,7 @@ const SCREENS = runtimeSetting({
|
|
|
15822
15822
|
"modifiers": {
|
|
15823
15823
|
"width": 44,
|
|
15824
15824
|
"height": 44,
|
|
15825
|
-
"accessibilityLabel": "
|
|
15825
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
15826
15826
|
}
|
|
15827
15827
|
},
|
|
15828
15828
|
"items": [
|
|
@@ -16163,7 +16163,7 @@ const SCREENS = runtimeSetting({
|
|
|
16163
16163
|
"modifiers": {
|
|
16164
16164
|
"width": 44,
|
|
16165
16165
|
"height": 44,
|
|
16166
|
-
"accessibilityLabel": "
|
|
16166
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
16167
16167
|
}
|
|
16168
16168
|
},
|
|
16169
16169
|
"items": [
|
|
@@ -16434,7 +16434,7 @@ const SCREENS = runtimeSetting({
|
|
|
16434
16434
|
"modifiers": {
|
|
16435
16435
|
"width": 44,
|
|
16436
16436
|
"height": 44,
|
|
16437
|
-
"accessibilityLabel": "
|
|
16437
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
16438
16438
|
}
|
|
16439
16439
|
},
|
|
16440
16440
|
"items": [
|
|
@@ -16775,7 +16775,7 @@ const SCREENS = runtimeSetting({
|
|
|
16775
16775
|
"modifiers": {
|
|
16776
16776
|
"width": 44,
|
|
16777
16777
|
"height": 44,
|
|
16778
|
-
"accessibilityLabel": "
|
|
16778
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
16779
16779
|
}
|
|
16780
16780
|
},
|
|
16781
16781
|
"items": [
|
|
@@ -17401,7 +17401,7 @@ const SCREENS = runtimeSetting({
|
|
|
17401
17401
|
"modifiers": {
|
|
17402
17402
|
"width": 44,
|
|
17403
17403
|
"height": 44,
|
|
17404
|
-
"accessibilityLabel": "
|
|
17404
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
17405
17405
|
}
|
|
17406
17406
|
},
|
|
17407
17407
|
"items": [
|
|
@@ -18618,7 +18618,7 @@ const SCREENS = runtimeSetting({
|
|
|
18618
18618
|
"modifiers": {
|
|
18619
18619
|
"width": 44,
|
|
18620
18620
|
"height": 44,
|
|
18621
|
-
"accessibilityLabel": "
|
|
18621
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
18622
18622
|
}
|
|
18623
18623
|
},
|
|
18624
18624
|
"items": [
|
|
@@ -18972,7 +18972,7 @@ const SCREENS = runtimeSetting({
|
|
|
18972
18972
|
"modifiers": {
|
|
18973
18973
|
"width": 44,
|
|
18974
18974
|
"height": 44,
|
|
18975
|
-
"accessibilityLabel": "
|
|
18975
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
18976
18976
|
}
|
|
18977
18977
|
},
|
|
18978
18978
|
"items": [
|
|
@@ -19246,7 +19246,7 @@ const SCREENS = runtimeSetting({
|
|
|
19246
19246
|
"modifiers": {
|
|
19247
19247
|
"width": 44,
|
|
19248
19248
|
"height": 44,
|
|
19249
|
-
"accessibilityLabel": "
|
|
19249
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
19250
19250
|
}
|
|
19251
19251
|
},
|
|
19252
19252
|
"items": [
|
|
@@ -19600,7 +19600,7 @@ const SCREENS = runtimeSetting({
|
|
|
19600
19600
|
"modifiers": {
|
|
19601
19601
|
"width": 44,
|
|
19602
19602
|
"height": 44,
|
|
19603
|
-
"accessibilityLabel": "
|
|
19603
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
19604
19604
|
}
|
|
19605
19605
|
},
|
|
19606
19606
|
"items": [
|
|
@@ -20199,7 +20199,7 @@ const SCREENS = runtimeSetting({
|
|
|
20199
20199
|
"modifiers": {
|
|
20200
20200
|
"width": 44,
|
|
20201
20201
|
"height": 44,
|
|
20202
|
-
"accessibilityLabel": "
|
|
20202
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
20203
20203
|
}
|
|
20204
20204
|
},
|
|
20205
20205
|
"items": [
|
|
@@ -22223,7 +22223,7 @@ const SCREENS = runtimeSetting({
|
|
|
22223
22223
|
"modifiers": {
|
|
22224
22224
|
"width": 44,
|
|
22225
22225
|
"height": 44,
|
|
22226
|
-
"accessibilityLabel": "
|
|
22226
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
22227
22227
|
}
|
|
22228
22228
|
},
|
|
22229
22229
|
"items": [
|
|
@@ -22631,7 +22631,7 @@ const SCREENS = runtimeSetting({
|
|
|
22631
22631
|
"modifiers": {
|
|
22632
22632
|
"width": 44,
|
|
22633
22633
|
"height": 44,
|
|
22634
|
-
"accessibilityLabel": "
|
|
22634
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
22635
22635
|
}
|
|
22636
22636
|
},
|
|
22637
22637
|
"items": [
|
|
@@ -22991,7 +22991,7 @@ const SCREENS = runtimeSetting({
|
|
|
22991
22991
|
"modifiers": {
|
|
22992
22992
|
"width": 44,
|
|
22993
22993
|
"height": 44,
|
|
22994
|
-
"accessibilityLabel": "
|
|
22994
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
22995
22995
|
}
|
|
22996
22996
|
},
|
|
22997
22997
|
"items": [
|
|
@@ -23399,7 +23399,7 @@ const SCREENS = runtimeSetting({
|
|
|
23399
23399
|
"modifiers": {
|
|
23400
23400
|
"width": 44,
|
|
23401
23401
|
"height": 44,
|
|
23402
|
-
"accessibilityLabel": "
|
|
23402
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
23403
23403
|
}
|
|
23404
23404
|
},
|
|
23405
23405
|
"items": [
|
|
@@ -24146,7 +24146,7 @@ const SCREENS = runtimeSetting({
|
|
|
24146
24146
|
"modifiers": {
|
|
24147
24147
|
"width": 44,
|
|
24148
24148
|
"height": 44,
|
|
24149
|
-
"accessibilityLabel": "
|
|
24149
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
24150
24150
|
}
|
|
24151
24151
|
},
|
|
24152
24152
|
"items": [
|
|
@@ -25696,7 +25696,7 @@ const SCREENS = runtimeSetting({
|
|
|
25696
25696
|
"modifiers": {
|
|
25697
25697
|
"width": 44,
|
|
25698
25698
|
"height": 44,
|
|
25699
|
-
"accessibilityLabel": "
|
|
25699
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
25700
25700
|
}
|
|
25701
25701
|
},
|
|
25702
25702
|
"items": [
|
|
@@ -26043,7 +26043,7 @@ const SCREENS = runtimeSetting({
|
|
|
26043
26043
|
"modifiers": {
|
|
26044
26044
|
"width": 44,
|
|
26045
26045
|
"height": 44,
|
|
26046
|
-
"accessibilityLabel": "
|
|
26046
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
26047
26047
|
}
|
|
26048
26048
|
},
|
|
26049
26049
|
"items": [
|
|
@@ -26333,7 +26333,7 @@ const SCREENS = runtimeSetting({
|
|
|
26333
26333
|
"modifiers": {
|
|
26334
26334
|
"width": 44,
|
|
26335
26335
|
"height": 44,
|
|
26336
|
-
"accessibilityLabel": "
|
|
26336
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
26337
26337
|
}
|
|
26338
26338
|
},
|
|
26339
26339
|
"items": [
|
|
@@ -26680,7 +26680,7 @@ const SCREENS = runtimeSetting({
|
|
|
26680
26680
|
"modifiers": {
|
|
26681
26681
|
"width": 44,
|
|
26682
26682
|
"height": 44,
|
|
26683
|
-
"accessibilityLabel": "
|
|
26683
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
26684
26684
|
}
|
|
26685
26685
|
},
|
|
26686
26686
|
"items": [
|
|
@@ -27321,7 +27321,7 @@ const SCREENS = runtimeSetting({
|
|
|
27321
27321
|
"modifiers": {
|
|
27322
27322
|
"width": 44,
|
|
27323
27323
|
"height": 44,
|
|
27324
|
-
"accessibilityLabel": "
|
|
27324
|
+
"accessibilityLabel": "$item.collectionActionsLabel"
|
|
27325
27325
|
}
|
|
27326
27326
|
},
|
|
27327
27327
|
"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') },
|