@wix/himalaya-cli 0.1223.0 → 0.1224.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 (56) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/events/src/display.d.ts +3 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-events.mjs +3 -1
  3. package/guides/sdk-reference.json +1 -1
  4. package/package.json +2 -2
  5. package/templates/beauty-salon/dev/index.ts +5 -1
  6. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +15 -2
  7. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  8. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +15 -2
  9. package/templates/branded-lite/dev/index.ts +520 -274
  10. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +15 -2
  11. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  12. package/templates/community-club/dev/index.ts +518 -272
  13. package/templates/community-club/tier5-src/_shared/collection-contract.ts +15 -2
  14. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  15. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +15 -2
  16. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  17. package/templates/events-meetups/dev/index.ts +518 -272
  18. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +15 -2
  19. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  20. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +15 -2
  21. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  22. package/templates/gym-fitness/dev/index.ts +520 -274
  23. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +15 -2
  24. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  25. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +15 -2
  26. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  27. package/templates/nonprofit-cause/dev/index.ts +518 -272
  28. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +15 -2
  29. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  30. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +15 -2
  31. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  32. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +15 -2
  33. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +1 -0
  34. package/templates/podcast-creator/dev/index.ts +518 -272
  35. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +15 -2
  36. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  37. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +15 -2
  38. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  39. package/templates/portfolio-creative/dev/index.ts +520 -274
  40. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +15 -2
  41. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  42. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +15 -2
  43. package/templates/restaurant/dev/index.ts +518 -272
  44. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +15 -2
  45. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  46. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +15 -2
  47. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  48. package/templates/retail-store/dev/index.ts +5 -1
  49. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +15 -2
  50. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  51. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +15 -2
  52. package/templates/yoga-studio/dev/index.ts +518 -272
  53. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +15 -2
  54. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  55. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +15 -2
  56. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
@@ -17291,6 +17291,7 @@ const SCREENS = runtimeSetting({
17291
17291
  "props": {
17292
17292
  "id": "title",
17293
17293
  "label": "Title",
17294
+ "required": true,
17294
17295
  "kind": "text",
17295
17296
  "text": {
17296
17297
  "placeholder": "Add a title",
@@ -17338,7 +17339,10 @@ const SCREENS = runtimeSetting({
17338
17339
  "style": "primary",
17339
17340
  "fullWidth": true,
17340
17341
  "action": {
17341
- "actionId": "tier5.spacesCreatePost.submit"
17342
+ "actionId": "tier5.spacesCreatePost.submit",
17343
+ "params": {
17344
+ "postScreenId": "himi_blog_post"
17345
+ }
17342
17346
  }
17343
17347
  }
17344
17348
  }
@@ -18156,21 +18160,58 @@ const SCREENS = runtimeSetting({
18156
18160
  }
18157
18161
  },
18158
18162
  {
18159
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
18163
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
18160
18164
  "body": {
18161
18165
  "package": "himalaya",
18162
- "type": "Button",
18166
+ "type": "HStack",
18163
18167
  "props": {
18164
- "title": "Register",
18165
- "style": "secondary",
18166
- "fullWidth": false,
18167
- "action": {
18168
- "actionId": "himi.open",
18169
- "params": {
18170
- "screenId": "$item.detailScreenId",
18171
- "id": "$item.id"
18168
+ "spacing": 0,
18169
+ "children": [
18170
+ {
18171
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
18172
+ "body": {
18173
+ "package": "himalaya",
18174
+ "type": "Button",
18175
+ "props": {
18176
+ "title": "Register",
18177
+ "style": "secondary",
18178
+ "fullWidth": false,
18179
+ "action": {
18180
+ "actionId": "himi.open",
18181
+ "params": {
18182
+ "screenId": "$item.detailScreenId",
18183
+ "id": "$item.id"
18184
+ }
18185
+ }
18186
+ }
18187
+ },
18188
+ "modifiers": {
18189
+ "hiddenPath": "$item.collectionEnded"
18190
+ }
18191
+ },
18192
+ {
18193
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
18194
+ "body": {
18195
+ "package": "himalaya",
18196
+ "type": "Button",
18197
+ "props": {
18198
+ "title": "View details",
18199
+ "style": "secondary",
18200
+ "fullWidth": false,
18201
+ "action": {
18202
+ "actionId": "himi.open",
18203
+ "params": {
18204
+ "screenId": "$item.detailScreenId",
18205
+ "id": "$item.id"
18206
+ }
18207
+ }
18208
+ }
18209
+ },
18210
+ "modifiers": {
18211
+ "hiddenPath": "$item.collectionNotEnded"
18212
+ }
18172
18213
  }
18173
- }
18214
+ ]
18174
18215
  }
18175
18216
  }
18176
18217
  },
@@ -18478,125 +18519,181 @@ const SCREENS = runtimeSetting({
18478
18519
  "id": "",
18479
18520
  "body": {
18480
18521
  "package": "himalaya",
18481
- "type": "HStack",
18522
+ "type": "VStack",
18482
18523
  "props": {
18483
- "spacing": 8,
18524
+ "spacing": 0,
18525
+ "alignment": "leading",
18484
18526
  "children": [
18485
18527
  {
18486
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
18528
+ "id": "",
18487
18529
  "body": {
18488
18530
  "package": "himalaya",
18489
- "type": "Button",
18531
+ "type": "VStack",
18490
18532
  "props": {
18491
- "title": "$item.collectionSelectLabel",
18492
- "style": "plain",
18493
- "fullWidth": false,
18494
- "action": {
18495
- "actionId": "tier5.himiEvents.collectionSelect",
18496
- "params": {
18497
- "id": "$item.collectionId"
18533
+ "spacing": 0,
18534
+ "children": [
18535
+ {
18536
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
18537
+ "body": {
18538
+ "package": "himalaya",
18539
+ "type": "Button",
18540
+ "props": {
18541
+ "title": "View details",
18542
+ "style": "secondary",
18543
+ "fullWidth": true,
18544
+ "action": {
18545
+ "actionId": "himi.open",
18546
+ "params": {
18547
+ "screenId": "$item.detailScreenId",
18548
+ "id": "$item.id"
18549
+ }
18550
+ }
18551
+ }
18552
+ },
18553
+ "modifiers": {
18554
+ "hiddenPath": "$item.collectionNotEnded",
18555
+ "padding": {
18556
+ "bottom": 8
18557
+ }
18558
+ }
18498
18559
  }
18499
- }
18560
+ ]
18500
18561
  }
18501
18562
  },
18502
18563
  "modifiers": {
18503
- "hiddenPath": "$service:himiEvents.collection.noSelection"
18504
- }
18505
- },
18506
- {
18507
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
18508
- "body": {
18509
- "package": "himalaya",
18510
- "type": "Button",
18511
- "props": {
18512
- "title": "Register",
18513
- "style": "secondary",
18514
- "fullWidth": false,
18515
- "action": {
18516
- "actionId": "himi.open",
18517
- "params": {
18518
- "screenId": "$item.detailScreenId",
18519
- "id": "$item.id"
18520
- }
18521
- }
18522
- }
18564
+ "hiddenPath": "$item.collectionNoIdentity"
18523
18565
  }
18524
18566
  },
18525
18567
  {
18526
18568
  "id": "",
18527
18569
  "body": {
18528
18570
  "package": "himalaya",
18529
- "type": "Spacer",
18530
- "props": {}
18531
- }
18532
- },
18533
- {
18534
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
18535
- "body": {
18536
- "package": "himalaya",
18537
- "type": "Menu",
18571
+ "type": "HStack",
18538
18572
  "props": {
18539
- "style": "dropdown",
18540
- "anchor": {
18541
- "id": "",
18542
- "body": {
18543
- "package": "himalaya",
18544
- "type": "Icon",
18545
- "props": {
18546
- "name": "ellipsis",
18547
- "size": 20
18573
+ "spacing": 8,
18574
+ "children": [
18575
+ {
18576
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
18577
+ "body": {
18578
+ "package": "himalaya",
18579
+ "type": "Button",
18580
+ "props": {
18581
+ "title": "$item.collectionSelectLabel",
18582
+ "style": "plain",
18583
+ "fullWidth": false,
18584
+ "action": {
18585
+ "actionId": "tier5.himiEvents.collectionSelect",
18586
+ "params": {
18587
+ "id": "$item.collectionId"
18588
+ }
18589
+ }
18590
+ }
18591
+ },
18592
+ "modifiers": {
18593
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
18548
18594
  }
18549
18595
  },
18550
- "modifiers": {
18551
- "width": 44,
18552
- "height": 44,
18553
- "accessibilityLabel": "Item actions"
18554
- }
18555
- },
18556
- "items": [
18557
18596
  {
18558
- "id": "preview",
18559
- "label": "Quick preview",
18560
- "icon": "search",
18561
- "action": {
18562
- "actionId": "tier5.himiEvents.collectionPreview",
18563
- "params": {
18564
- "id": "$item.collectionId"
18597
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
18598
+ "body": {
18599
+ "package": "himalaya",
18600
+ "type": "Button",
18601
+ "props": {
18602
+ "title": "Register",
18603
+ "style": "secondary",
18604
+ "fullWidth": false,
18605
+ "action": {
18606
+ "actionId": "himi.open",
18607
+ "params": {
18608
+ "screenId": "$item.detailScreenId",
18609
+ "id": "$item.id"
18610
+ }
18611
+ }
18565
18612
  }
18613
+ },
18614
+ "modifiers": {
18615
+ "hiddenPath": "$item.collectionEnded"
18566
18616
  }
18567
18617
  },
18568
18618
  {
18569
- "id": "save",
18570
- "label": "$item.collectionSaveLabel",
18571
- "icon": "bookmark",
18572
- "action": {
18573
- "actionId": "tier5.himiEvents.collectionSave",
18574
- "params": {
18575
- "id": "$item.collectionId"
18576
- }
18619
+ "id": "",
18620
+ "body": {
18621
+ "package": "himalaya",
18622
+ "type": "Spacer",
18623
+ "props": {}
18577
18624
  }
18578
18625
  },
18579
18626
  {
18580
- "id": "open",
18581
- "label": "Open details",
18582
- "icon": "chevron_right",
18583
- "action": {
18584
- "actionId": "himi.open",
18585
- "params": {
18586
- "screenId": "$item.detailScreenId",
18587
- "id": "$item.id"
18627
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
18628
+ "body": {
18629
+ "package": "himalaya",
18630
+ "type": "Menu",
18631
+ "props": {
18632
+ "style": "dropdown",
18633
+ "anchor": {
18634
+ "id": "",
18635
+ "body": {
18636
+ "package": "himalaya",
18637
+ "type": "Icon",
18638
+ "props": {
18639
+ "name": "ellipsis",
18640
+ "size": 20
18641
+ }
18642
+ },
18643
+ "modifiers": {
18644
+ "width": 44,
18645
+ "height": 44,
18646
+ "accessibilityLabel": "Item actions"
18647
+ }
18648
+ },
18649
+ "items": [
18650
+ {
18651
+ "id": "preview",
18652
+ "label": "Quick preview",
18653
+ "icon": "search",
18654
+ "action": {
18655
+ "actionId": "tier5.himiEvents.collectionPreview",
18656
+ "params": {
18657
+ "id": "$item.collectionId"
18658
+ }
18659
+ }
18660
+ },
18661
+ {
18662
+ "id": "save",
18663
+ "label": "$item.collectionSaveLabel",
18664
+ "icon": "bookmark",
18665
+ "action": {
18666
+ "actionId": "tier5.himiEvents.collectionSave",
18667
+ "params": {
18668
+ "id": "$item.collectionId"
18669
+ }
18670
+ }
18671
+ },
18672
+ {
18673
+ "id": "open",
18674
+ "label": "Open details",
18675
+ "icon": "chevron_right",
18676
+ "action": {
18677
+ "actionId": "himi.open",
18678
+ "params": {
18679
+ "screenId": "$item.detailScreenId",
18680
+ "id": "$item.id"
18681
+ }
18682
+ }
18683
+ }
18684
+ ]
18588
18685
  }
18589
18686
  }
18590
18687
  }
18591
18688
  ]
18592
18689
  }
18690
+ },
18691
+ "modifiers": {
18692
+ "hiddenPath": "$item.collectionNoIdentity"
18593
18693
  }
18594
18694
  }
18595
18695
  ]
18596
18696
  }
18597
- },
18598
- "modifiers": {
18599
- "hiddenPath": "$item.collectionNoIdentity"
18600
18697
  }
18601
18698
  }
18602
18699
  ]
@@ -18831,21 +18928,58 @@ const SCREENS = runtimeSetting({
18831
18928
  }
18832
18929
  },
18833
18930
  {
18834
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
18931
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
18835
18932
  "body": {
18836
18933
  "package": "himalaya",
18837
- "type": "Button",
18934
+ "type": "HStack",
18838
18935
  "props": {
18839
- "title": "Register",
18840
- "style": "secondary",
18841
- "fullWidth": false,
18842
- "action": {
18843
- "actionId": "himi.open",
18844
- "params": {
18845
- "screenId": "$item.detailScreenId",
18846
- "id": "$item.id"
18936
+ "spacing": 0,
18937
+ "children": [
18938
+ {
18939
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
18940
+ "body": {
18941
+ "package": "himalaya",
18942
+ "type": "Button",
18943
+ "props": {
18944
+ "title": "Register",
18945
+ "style": "secondary",
18946
+ "fullWidth": false,
18947
+ "action": {
18948
+ "actionId": "himi.open",
18949
+ "params": {
18950
+ "screenId": "$item.detailScreenId",
18951
+ "id": "$item.id"
18952
+ }
18953
+ }
18954
+ }
18955
+ },
18956
+ "modifiers": {
18957
+ "hiddenPath": "$item.collectionEnded"
18958
+ }
18959
+ },
18960
+ {
18961
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
18962
+ "body": {
18963
+ "package": "himalaya",
18964
+ "type": "Button",
18965
+ "props": {
18966
+ "title": "View details",
18967
+ "style": "secondary",
18968
+ "fullWidth": false,
18969
+ "action": {
18970
+ "actionId": "himi.open",
18971
+ "params": {
18972
+ "screenId": "$item.detailScreenId",
18973
+ "id": "$item.id"
18974
+ }
18975
+ }
18976
+ }
18977
+ },
18978
+ "modifiers": {
18979
+ "hiddenPath": "$item.collectionNotEnded"
18980
+ }
18847
18981
  }
18848
- }
18982
+ ]
18849
18983
  }
18850
18984
  }
18851
18985
  },
@@ -19153,125 +19287,181 @@ const SCREENS = runtimeSetting({
19153
19287
  "id": "",
19154
19288
  "body": {
19155
19289
  "package": "himalaya",
19156
- "type": "HStack",
19290
+ "type": "VStack",
19157
19291
  "props": {
19158
- "spacing": 8,
19292
+ "spacing": 0,
19293
+ "alignment": "leading",
19159
19294
  "children": [
19160
19295
  {
19161
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
19296
+ "id": "",
19162
19297
  "body": {
19163
19298
  "package": "himalaya",
19164
- "type": "Button",
19299
+ "type": "VStack",
19165
19300
  "props": {
19166
- "title": "$item.collectionSelectLabel",
19167
- "style": "plain",
19168
- "fullWidth": false,
19169
- "action": {
19170
- "actionId": "tier5.himiEvents.collectionSelect",
19171
- "params": {
19172
- "id": "$item.collectionId"
19301
+ "spacing": 0,
19302
+ "children": [
19303
+ {
19304
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
19305
+ "body": {
19306
+ "package": "himalaya",
19307
+ "type": "Button",
19308
+ "props": {
19309
+ "title": "View details",
19310
+ "style": "secondary",
19311
+ "fullWidth": true,
19312
+ "action": {
19313
+ "actionId": "himi.open",
19314
+ "params": {
19315
+ "screenId": "$item.detailScreenId",
19316
+ "id": "$item.id"
19317
+ }
19318
+ }
19319
+ }
19320
+ },
19321
+ "modifiers": {
19322
+ "hiddenPath": "$item.collectionNotEnded",
19323
+ "padding": {
19324
+ "bottom": 8
19325
+ }
19326
+ }
19173
19327
  }
19174
- }
19328
+ ]
19175
19329
  }
19176
19330
  },
19177
19331
  "modifiers": {
19178
- "hiddenPath": "$service:himiEvents.collection.noSelection"
19179
- }
19180
- },
19181
- {
19182
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
19183
- "body": {
19184
- "package": "himalaya",
19185
- "type": "Button",
19186
- "props": {
19187
- "title": "Register",
19188
- "style": "secondary",
19189
- "fullWidth": false,
19190
- "action": {
19191
- "actionId": "himi.open",
19192
- "params": {
19193
- "screenId": "$item.detailScreenId",
19194
- "id": "$item.id"
19195
- }
19196
- }
19197
- }
19332
+ "hiddenPath": "$item.collectionNoIdentity"
19198
19333
  }
19199
19334
  },
19200
19335
  {
19201
19336
  "id": "",
19202
19337
  "body": {
19203
19338
  "package": "himalaya",
19204
- "type": "Spacer",
19205
- "props": {}
19206
- }
19207
- },
19208
- {
19209
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
19210
- "body": {
19211
- "package": "himalaya",
19212
- "type": "Menu",
19339
+ "type": "HStack",
19213
19340
  "props": {
19214
- "style": "dropdown",
19215
- "anchor": {
19216
- "id": "",
19217
- "body": {
19218
- "package": "himalaya",
19219
- "type": "Icon",
19220
- "props": {
19221
- "name": "ellipsis",
19222
- "size": 20
19341
+ "spacing": 8,
19342
+ "children": [
19343
+ {
19344
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
19345
+ "body": {
19346
+ "package": "himalaya",
19347
+ "type": "Button",
19348
+ "props": {
19349
+ "title": "$item.collectionSelectLabel",
19350
+ "style": "plain",
19351
+ "fullWidth": false,
19352
+ "action": {
19353
+ "actionId": "tier5.himiEvents.collectionSelect",
19354
+ "params": {
19355
+ "id": "$item.collectionId"
19356
+ }
19357
+ }
19358
+ }
19359
+ },
19360
+ "modifiers": {
19361
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
19223
19362
  }
19224
19363
  },
19225
- "modifiers": {
19226
- "width": 44,
19227
- "height": 44,
19228
- "accessibilityLabel": "Item actions"
19229
- }
19230
- },
19231
- "items": [
19232
19364
  {
19233
- "id": "preview",
19234
- "label": "Quick preview",
19235
- "icon": "search",
19236
- "action": {
19237
- "actionId": "tier5.himiEvents.collectionPreview",
19238
- "params": {
19239
- "id": "$item.collectionId"
19365
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
19366
+ "body": {
19367
+ "package": "himalaya",
19368
+ "type": "Button",
19369
+ "props": {
19370
+ "title": "Register",
19371
+ "style": "secondary",
19372
+ "fullWidth": false,
19373
+ "action": {
19374
+ "actionId": "himi.open",
19375
+ "params": {
19376
+ "screenId": "$item.detailScreenId",
19377
+ "id": "$item.id"
19378
+ }
19379
+ }
19240
19380
  }
19381
+ },
19382
+ "modifiers": {
19383
+ "hiddenPath": "$item.collectionEnded"
19241
19384
  }
19242
19385
  },
19243
19386
  {
19244
- "id": "save",
19245
- "label": "$item.collectionSaveLabel",
19246
- "icon": "bookmark",
19247
- "action": {
19248
- "actionId": "tier5.himiEvents.collectionSave",
19249
- "params": {
19250
- "id": "$item.collectionId"
19251
- }
19387
+ "id": "",
19388
+ "body": {
19389
+ "package": "himalaya",
19390
+ "type": "Spacer",
19391
+ "props": {}
19252
19392
  }
19253
19393
  },
19254
19394
  {
19255
- "id": "open",
19256
- "label": "Open details",
19257
- "icon": "chevron_right",
19258
- "action": {
19259
- "actionId": "himi.open",
19260
- "params": {
19261
- "screenId": "$item.detailScreenId",
19262
- "id": "$item.id"
19395
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
19396
+ "body": {
19397
+ "package": "himalaya",
19398
+ "type": "Menu",
19399
+ "props": {
19400
+ "style": "dropdown",
19401
+ "anchor": {
19402
+ "id": "",
19403
+ "body": {
19404
+ "package": "himalaya",
19405
+ "type": "Icon",
19406
+ "props": {
19407
+ "name": "ellipsis",
19408
+ "size": 20
19409
+ }
19410
+ },
19411
+ "modifiers": {
19412
+ "width": 44,
19413
+ "height": 44,
19414
+ "accessibilityLabel": "Item actions"
19415
+ }
19416
+ },
19417
+ "items": [
19418
+ {
19419
+ "id": "preview",
19420
+ "label": "Quick preview",
19421
+ "icon": "search",
19422
+ "action": {
19423
+ "actionId": "tier5.himiEvents.collectionPreview",
19424
+ "params": {
19425
+ "id": "$item.collectionId"
19426
+ }
19427
+ }
19428
+ },
19429
+ {
19430
+ "id": "save",
19431
+ "label": "$item.collectionSaveLabel",
19432
+ "icon": "bookmark",
19433
+ "action": {
19434
+ "actionId": "tier5.himiEvents.collectionSave",
19435
+ "params": {
19436
+ "id": "$item.collectionId"
19437
+ }
19438
+ }
19439
+ },
19440
+ {
19441
+ "id": "open",
19442
+ "label": "Open details",
19443
+ "icon": "chevron_right",
19444
+ "action": {
19445
+ "actionId": "himi.open",
19446
+ "params": {
19447
+ "screenId": "$item.detailScreenId",
19448
+ "id": "$item.id"
19449
+ }
19450
+ }
19451
+ }
19452
+ ]
19263
19453
  }
19264
19454
  }
19265
19455
  }
19266
19456
  ]
19267
19457
  }
19458
+ },
19459
+ "modifiers": {
19460
+ "hiddenPath": "$item.collectionNoIdentity"
19268
19461
  }
19269
19462
  }
19270
19463
  ]
19271
19464
  }
19272
- },
19273
- "modifiers": {
19274
- "hiddenPath": "$item.collectionNoIdentity"
19275
19465
  }
19276
19466
  }
19277
19467
  ]
@@ -19844,125 +20034,181 @@ const SCREENS = runtimeSetting({
19844
20034
  "id": "",
19845
20035
  "body": {
19846
20036
  "package": "himalaya",
19847
- "type": "HStack",
20037
+ "type": "VStack",
19848
20038
  "props": {
19849
- "spacing": 8,
20039
+ "spacing": 0,
20040
+ "alignment": "leading",
19850
20041
  "children": [
19851
20042
  {
19852
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
20043
+ "id": "",
19853
20044
  "body": {
19854
20045
  "package": "himalaya",
19855
- "type": "Button",
20046
+ "type": "VStack",
19856
20047
  "props": {
19857
- "title": "$item.collectionSelectLabel",
19858
- "style": "plain",
19859
- "fullWidth": false,
19860
- "action": {
19861
- "actionId": "tier5.himiEvents.collectionSelect",
19862
- "params": {
19863
- "id": "$item.collectionId"
20048
+ "spacing": 0,
20049
+ "children": [
20050
+ {
20051
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
20052
+ "body": {
20053
+ "package": "himalaya",
20054
+ "type": "Button",
20055
+ "props": {
20056
+ "title": "View details",
20057
+ "style": "secondary",
20058
+ "fullWidth": true,
20059
+ "action": {
20060
+ "actionId": "himi.open",
20061
+ "params": {
20062
+ "screenId": "$item.detailScreenId",
20063
+ "id": "$item.id"
20064
+ }
20065
+ }
20066
+ }
20067
+ },
20068
+ "modifiers": {
20069
+ "hiddenPath": "$item.collectionNotEnded",
20070
+ "padding": {
20071
+ "bottom": 8
20072
+ }
20073
+ }
19864
20074
  }
19865
- }
20075
+ ]
19866
20076
  }
19867
20077
  },
19868
20078
  "modifiers": {
19869
- "hiddenPath": "$service:himiEvents.collection.noSelection"
19870
- }
19871
- },
19872
- {
19873
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
19874
- "body": {
19875
- "package": "himalaya",
19876
- "type": "Button",
19877
- "props": {
19878
- "title": "Register",
19879
- "style": "secondary",
19880
- "fullWidth": false,
19881
- "action": {
19882
- "actionId": "himi.open",
19883
- "params": {
19884
- "screenId": "$item.detailScreenId",
19885
- "id": "$item.id"
19886
- }
19887
- }
19888
- }
20079
+ "hiddenPath": "$item.collectionNoIdentity"
19889
20080
  }
19890
20081
  },
19891
20082
  {
19892
20083
  "id": "",
19893
20084
  "body": {
19894
20085
  "package": "himalaya",
19895
- "type": "Spacer",
19896
- "props": {}
19897
- }
19898
- },
19899
- {
19900
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
19901
- "body": {
19902
- "package": "himalaya",
19903
- "type": "Menu",
20086
+ "type": "HStack",
19904
20087
  "props": {
19905
- "style": "dropdown",
19906
- "anchor": {
19907
- "id": "",
19908
- "body": {
19909
- "package": "himalaya",
19910
- "type": "Icon",
19911
- "props": {
19912
- "name": "ellipsis",
19913
- "size": 20
20088
+ "spacing": 8,
20089
+ "children": [
20090
+ {
20091
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
20092
+ "body": {
20093
+ "package": "himalaya",
20094
+ "type": "Button",
20095
+ "props": {
20096
+ "title": "$item.collectionSelectLabel",
20097
+ "style": "plain",
20098
+ "fullWidth": false,
20099
+ "action": {
20100
+ "actionId": "tier5.himiEvents.collectionSelect",
20101
+ "params": {
20102
+ "id": "$item.collectionId"
20103
+ }
20104
+ }
20105
+ }
20106
+ },
20107
+ "modifiers": {
20108
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
19914
20109
  }
19915
20110
  },
19916
- "modifiers": {
19917
- "width": 44,
19918
- "height": 44,
19919
- "accessibilityLabel": "Item actions"
19920
- }
19921
- },
19922
- "items": [
19923
20111
  {
19924
- "id": "preview",
19925
- "label": "Quick preview",
19926
- "icon": "search",
19927
- "action": {
19928
- "actionId": "tier5.himiEvents.collectionPreview",
19929
- "params": {
19930
- "id": "$item.collectionId"
20112
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
20113
+ "body": {
20114
+ "package": "himalaya",
20115
+ "type": "Button",
20116
+ "props": {
20117
+ "title": "Register",
20118
+ "style": "secondary",
20119
+ "fullWidth": false,
20120
+ "action": {
20121
+ "actionId": "himi.open",
20122
+ "params": {
20123
+ "screenId": "$item.detailScreenId",
20124
+ "id": "$item.id"
20125
+ }
20126
+ }
19931
20127
  }
20128
+ },
20129
+ "modifiers": {
20130
+ "hiddenPath": "$item.collectionEnded"
19932
20131
  }
19933
20132
  },
19934
20133
  {
19935
- "id": "save",
19936
- "label": "$item.collectionSaveLabel",
19937
- "icon": "bookmark",
19938
- "action": {
19939
- "actionId": "tier5.himiEvents.collectionSave",
19940
- "params": {
19941
- "id": "$item.collectionId"
19942
- }
20134
+ "id": "",
20135
+ "body": {
20136
+ "package": "himalaya",
20137
+ "type": "Spacer",
20138
+ "props": {}
19943
20139
  }
19944
20140
  },
19945
20141
  {
19946
- "id": "open",
19947
- "label": "Open details",
19948
- "icon": "chevron_right",
19949
- "action": {
19950
- "actionId": "himi.open",
19951
- "params": {
19952
- "screenId": "$item.detailScreenId",
19953
- "id": "$item.id"
20142
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
20143
+ "body": {
20144
+ "package": "himalaya",
20145
+ "type": "Menu",
20146
+ "props": {
20147
+ "style": "dropdown",
20148
+ "anchor": {
20149
+ "id": "",
20150
+ "body": {
20151
+ "package": "himalaya",
20152
+ "type": "Icon",
20153
+ "props": {
20154
+ "name": "ellipsis",
20155
+ "size": 20
20156
+ }
20157
+ },
20158
+ "modifiers": {
20159
+ "width": 44,
20160
+ "height": 44,
20161
+ "accessibilityLabel": "Item actions"
20162
+ }
20163
+ },
20164
+ "items": [
20165
+ {
20166
+ "id": "preview",
20167
+ "label": "Quick preview",
20168
+ "icon": "search",
20169
+ "action": {
20170
+ "actionId": "tier5.himiEvents.collectionPreview",
20171
+ "params": {
20172
+ "id": "$item.collectionId"
20173
+ }
20174
+ }
20175
+ },
20176
+ {
20177
+ "id": "save",
20178
+ "label": "$item.collectionSaveLabel",
20179
+ "icon": "bookmark",
20180
+ "action": {
20181
+ "actionId": "tier5.himiEvents.collectionSave",
20182
+ "params": {
20183
+ "id": "$item.collectionId"
20184
+ }
20185
+ }
20186
+ },
20187
+ {
20188
+ "id": "open",
20189
+ "label": "Open details",
20190
+ "icon": "chevron_right",
20191
+ "action": {
20192
+ "actionId": "himi.open",
20193
+ "params": {
20194
+ "screenId": "$item.detailScreenId",
20195
+ "id": "$item.id"
20196
+ }
20197
+ }
20198
+ }
20199
+ ]
19954
20200
  }
19955
20201
  }
19956
20202
  }
19957
20203
  ]
19958
20204
  }
20205
+ },
20206
+ "modifiers": {
20207
+ "hiddenPath": "$item.collectionNoIdentity"
19959
20208
  }
19960
20209
  }
19961
20210
  ]
19962
20211
  }
19963
- },
19964
- "modifiers": {
19965
- "hiddenPath": "$item.collectionNoIdentity"
19966
20212
  }
19967
20213
  }
19968
20214
  ]