@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
@@ -9307,6 +9307,7 @@ const SCREENS = runtimeSetting({
9307
9307
  "props": {
9308
9308
  "id": "title",
9309
9309
  "label": "Title",
9310
+ "required": true,
9310
9311
  "kind": "text",
9311
9312
  "text": {
9312
9313
  "placeholder": "Add a title",
@@ -9354,7 +9355,10 @@ const SCREENS = runtimeSetting({
9354
9355
  "style": "primary",
9355
9356
  "fullWidth": true,
9356
9357
  "action": {
9357
- "actionId": "tier5.spacesCreatePost.submit"
9358
+ "actionId": "tier5.spacesCreatePost.submit",
9359
+ "params": {
9360
+ "postScreenId": "himi_blog_post"
9361
+ }
9358
9362
  }
9359
9363
  }
9360
9364
  }
@@ -10172,21 +10176,58 @@ const SCREENS = runtimeSetting({
10172
10176
  }
10173
10177
  },
10174
10178
  {
10175
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
10179
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
10176
10180
  "body": {
10177
10181
  "package": "himalaya",
10178
- "type": "Button",
10182
+ "type": "HStack",
10179
10183
  "props": {
10180
- "title": "Register",
10181
- "style": "secondary",
10182
- "fullWidth": false,
10183
- "action": {
10184
- "actionId": "himi.open",
10185
- "params": {
10186
- "screenId": "$item.detailScreenId",
10187
- "id": "$item.id"
10184
+ "spacing": 0,
10185
+ "children": [
10186
+ {
10187
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
10188
+ "body": {
10189
+ "package": "himalaya",
10190
+ "type": "Button",
10191
+ "props": {
10192
+ "title": "Register",
10193
+ "style": "secondary",
10194
+ "fullWidth": false,
10195
+ "action": {
10196
+ "actionId": "himi.open",
10197
+ "params": {
10198
+ "screenId": "$item.detailScreenId",
10199
+ "id": "$item.id"
10200
+ }
10201
+ }
10202
+ }
10203
+ },
10204
+ "modifiers": {
10205
+ "hiddenPath": "$item.collectionEnded"
10206
+ }
10207
+ },
10208
+ {
10209
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
10210
+ "body": {
10211
+ "package": "himalaya",
10212
+ "type": "Button",
10213
+ "props": {
10214
+ "title": "View details",
10215
+ "style": "secondary",
10216
+ "fullWidth": false,
10217
+ "action": {
10218
+ "actionId": "himi.open",
10219
+ "params": {
10220
+ "screenId": "$item.detailScreenId",
10221
+ "id": "$item.id"
10222
+ }
10223
+ }
10224
+ }
10225
+ },
10226
+ "modifiers": {
10227
+ "hiddenPath": "$item.collectionNotEnded"
10228
+ }
10188
10229
  }
10189
- }
10230
+ ]
10190
10231
  }
10191
10232
  }
10192
10233
  },
@@ -10494,125 +10535,181 @@ const SCREENS = runtimeSetting({
10494
10535
  "id": "",
10495
10536
  "body": {
10496
10537
  "package": "himalaya",
10497
- "type": "HStack",
10538
+ "type": "VStack",
10498
10539
  "props": {
10499
- "spacing": 8,
10540
+ "spacing": 0,
10541
+ "alignment": "leading",
10500
10542
  "children": [
10501
10543
  {
10502
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
10544
+ "id": "",
10503
10545
  "body": {
10504
10546
  "package": "himalaya",
10505
- "type": "Button",
10547
+ "type": "VStack",
10506
10548
  "props": {
10507
- "title": "$item.collectionSelectLabel",
10508
- "style": "plain",
10509
- "fullWidth": false,
10510
- "action": {
10511
- "actionId": "tier5.himiEvents.collectionSelect",
10512
- "params": {
10513
- "id": "$item.collectionId"
10549
+ "spacing": 0,
10550
+ "children": [
10551
+ {
10552
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
10553
+ "body": {
10554
+ "package": "himalaya",
10555
+ "type": "Button",
10556
+ "props": {
10557
+ "title": "View details",
10558
+ "style": "secondary",
10559
+ "fullWidth": true,
10560
+ "action": {
10561
+ "actionId": "himi.open",
10562
+ "params": {
10563
+ "screenId": "$item.detailScreenId",
10564
+ "id": "$item.id"
10565
+ }
10566
+ }
10567
+ }
10568
+ },
10569
+ "modifiers": {
10570
+ "hiddenPath": "$item.collectionNotEnded",
10571
+ "padding": {
10572
+ "bottom": 8
10573
+ }
10574
+ }
10514
10575
  }
10515
- }
10576
+ ]
10516
10577
  }
10517
10578
  },
10518
10579
  "modifiers": {
10519
- "hiddenPath": "$service:himiEvents.collection.noSelection"
10520
- }
10521
- },
10522
- {
10523
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
10524
- "body": {
10525
- "package": "himalaya",
10526
- "type": "Button",
10527
- "props": {
10528
- "title": "Register",
10529
- "style": "secondary",
10530
- "fullWidth": false,
10531
- "action": {
10532
- "actionId": "himi.open",
10533
- "params": {
10534
- "screenId": "$item.detailScreenId",
10535
- "id": "$item.id"
10536
- }
10537
- }
10538
- }
10580
+ "hiddenPath": "$item.collectionNoIdentity"
10539
10581
  }
10540
10582
  },
10541
10583
  {
10542
10584
  "id": "",
10543
10585
  "body": {
10544
10586
  "package": "himalaya",
10545
- "type": "Spacer",
10546
- "props": {}
10547
- }
10548
- },
10549
- {
10550
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
10551
- "body": {
10552
- "package": "himalaya",
10553
- "type": "Menu",
10587
+ "type": "HStack",
10554
10588
  "props": {
10555
- "style": "dropdown",
10556
- "anchor": {
10557
- "id": "",
10558
- "body": {
10559
- "package": "himalaya",
10560
- "type": "Icon",
10561
- "props": {
10562
- "name": "ellipsis",
10563
- "size": 20
10589
+ "spacing": 8,
10590
+ "children": [
10591
+ {
10592
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
10593
+ "body": {
10594
+ "package": "himalaya",
10595
+ "type": "Button",
10596
+ "props": {
10597
+ "title": "$item.collectionSelectLabel",
10598
+ "style": "plain",
10599
+ "fullWidth": false,
10600
+ "action": {
10601
+ "actionId": "tier5.himiEvents.collectionSelect",
10602
+ "params": {
10603
+ "id": "$item.collectionId"
10604
+ }
10605
+ }
10606
+ }
10607
+ },
10608
+ "modifiers": {
10609
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
10564
10610
  }
10565
10611
  },
10566
- "modifiers": {
10567
- "width": 44,
10568
- "height": 44,
10569
- "accessibilityLabel": "Item actions"
10570
- }
10571
- },
10572
- "items": [
10573
10612
  {
10574
- "id": "preview",
10575
- "label": "Quick preview",
10576
- "icon": "search",
10577
- "action": {
10578
- "actionId": "tier5.himiEvents.collectionPreview",
10579
- "params": {
10580
- "id": "$item.collectionId"
10613
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
10614
+ "body": {
10615
+ "package": "himalaya",
10616
+ "type": "Button",
10617
+ "props": {
10618
+ "title": "Register",
10619
+ "style": "secondary",
10620
+ "fullWidth": false,
10621
+ "action": {
10622
+ "actionId": "himi.open",
10623
+ "params": {
10624
+ "screenId": "$item.detailScreenId",
10625
+ "id": "$item.id"
10626
+ }
10627
+ }
10581
10628
  }
10629
+ },
10630
+ "modifiers": {
10631
+ "hiddenPath": "$item.collectionEnded"
10582
10632
  }
10583
10633
  },
10584
10634
  {
10585
- "id": "save",
10586
- "label": "$item.collectionSaveLabel",
10587
- "icon": "bookmark",
10588
- "action": {
10589
- "actionId": "tier5.himiEvents.collectionSave",
10590
- "params": {
10591
- "id": "$item.collectionId"
10592
- }
10635
+ "id": "",
10636
+ "body": {
10637
+ "package": "himalaya",
10638
+ "type": "Spacer",
10639
+ "props": {}
10593
10640
  }
10594
10641
  },
10595
10642
  {
10596
- "id": "open",
10597
- "label": "Open details",
10598
- "icon": "chevron_right",
10599
- "action": {
10600
- "actionId": "himi.open",
10601
- "params": {
10602
- "screenId": "$item.detailScreenId",
10603
- "id": "$item.id"
10643
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
10644
+ "body": {
10645
+ "package": "himalaya",
10646
+ "type": "Menu",
10647
+ "props": {
10648
+ "style": "dropdown",
10649
+ "anchor": {
10650
+ "id": "",
10651
+ "body": {
10652
+ "package": "himalaya",
10653
+ "type": "Icon",
10654
+ "props": {
10655
+ "name": "ellipsis",
10656
+ "size": 20
10657
+ }
10658
+ },
10659
+ "modifiers": {
10660
+ "width": 44,
10661
+ "height": 44,
10662
+ "accessibilityLabel": "Item actions"
10663
+ }
10664
+ },
10665
+ "items": [
10666
+ {
10667
+ "id": "preview",
10668
+ "label": "Quick preview",
10669
+ "icon": "search",
10670
+ "action": {
10671
+ "actionId": "tier5.himiEvents.collectionPreview",
10672
+ "params": {
10673
+ "id": "$item.collectionId"
10674
+ }
10675
+ }
10676
+ },
10677
+ {
10678
+ "id": "save",
10679
+ "label": "$item.collectionSaveLabel",
10680
+ "icon": "bookmark",
10681
+ "action": {
10682
+ "actionId": "tier5.himiEvents.collectionSave",
10683
+ "params": {
10684
+ "id": "$item.collectionId"
10685
+ }
10686
+ }
10687
+ },
10688
+ {
10689
+ "id": "open",
10690
+ "label": "Open details",
10691
+ "icon": "chevron_right",
10692
+ "action": {
10693
+ "actionId": "himi.open",
10694
+ "params": {
10695
+ "screenId": "$item.detailScreenId",
10696
+ "id": "$item.id"
10697
+ }
10698
+ }
10699
+ }
10700
+ ]
10604
10701
  }
10605
10702
  }
10606
10703
  }
10607
10704
  ]
10608
10705
  }
10706
+ },
10707
+ "modifiers": {
10708
+ "hiddenPath": "$item.collectionNoIdentity"
10609
10709
  }
10610
10710
  }
10611
10711
  ]
10612
10712
  }
10613
- },
10614
- "modifiers": {
10615
- "hiddenPath": "$item.collectionNoIdentity"
10616
10713
  }
10617
10714
  }
10618
10715
  ]
@@ -10847,21 +10944,58 @@ const SCREENS = runtimeSetting({
10847
10944
  }
10848
10945
  },
10849
10946
  {
10850
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
10947
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
10851
10948
  "body": {
10852
10949
  "package": "himalaya",
10853
- "type": "Button",
10950
+ "type": "HStack",
10854
10951
  "props": {
10855
- "title": "Register",
10856
- "style": "secondary",
10857
- "fullWidth": false,
10858
- "action": {
10859
- "actionId": "himi.open",
10860
- "params": {
10861
- "screenId": "$item.detailScreenId",
10862
- "id": "$item.id"
10952
+ "spacing": 0,
10953
+ "children": [
10954
+ {
10955
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
10956
+ "body": {
10957
+ "package": "himalaya",
10958
+ "type": "Button",
10959
+ "props": {
10960
+ "title": "Register",
10961
+ "style": "secondary",
10962
+ "fullWidth": false,
10963
+ "action": {
10964
+ "actionId": "himi.open",
10965
+ "params": {
10966
+ "screenId": "$item.detailScreenId",
10967
+ "id": "$item.id"
10968
+ }
10969
+ }
10970
+ }
10971
+ },
10972
+ "modifiers": {
10973
+ "hiddenPath": "$item.collectionEnded"
10974
+ }
10975
+ },
10976
+ {
10977
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
10978
+ "body": {
10979
+ "package": "himalaya",
10980
+ "type": "Button",
10981
+ "props": {
10982
+ "title": "View details",
10983
+ "style": "secondary",
10984
+ "fullWidth": false,
10985
+ "action": {
10986
+ "actionId": "himi.open",
10987
+ "params": {
10988
+ "screenId": "$item.detailScreenId",
10989
+ "id": "$item.id"
10990
+ }
10991
+ }
10992
+ }
10993
+ },
10994
+ "modifiers": {
10995
+ "hiddenPath": "$item.collectionNotEnded"
10996
+ }
10863
10997
  }
10864
- }
10998
+ ]
10865
10999
  }
10866
11000
  }
10867
11001
  },
@@ -11169,125 +11303,181 @@ const SCREENS = runtimeSetting({
11169
11303
  "id": "",
11170
11304
  "body": {
11171
11305
  "package": "himalaya",
11172
- "type": "HStack",
11306
+ "type": "VStack",
11173
11307
  "props": {
11174
- "spacing": 8,
11308
+ "spacing": 0,
11309
+ "alignment": "leading",
11175
11310
  "children": [
11176
11311
  {
11177
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
11312
+ "id": "",
11178
11313
  "body": {
11179
11314
  "package": "himalaya",
11180
- "type": "Button",
11315
+ "type": "VStack",
11181
11316
  "props": {
11182
- "title": "$item.collectionSelectLabel",
11183
- "style": "plain",
11184
- "fullWidth": false,
11185
- "action": {
11186
- "actionId": "tier5.himiEvents.collectionSelect",
11187
- "params": {
11188
- "id": "$item.collectionId"
11317
+ "spacing": 0,
11318
+ "children": [
11319
+ {
11320
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
11321
+ "body": {
11322
+ "package": "himalaya",
11323
+ "type": "Button",
11324
+ "props": {
11325
+ "title": "View details",
11326
+ "style": "secondary",
11327
+ "fullWidth": true,
11328
+ "action": {
11329
+ "actionId": "himi.open",
11330
+ "params": {
11331
+ "screenId": "$item.detailScreenId",
11332
+ "id": "$item.id"
11333
+ }
11334
+ }
11335
+ }
11336
+ },
11337
+ "modifiers": {
11338
+ "hiddenPath": "$item.collectionNotEnded",
11339
+ "padding": {
11340
+ "bottom": 8
11341
+ }
11342
+ }
11189
11343
  }
11190
- }
11344
+ ]
11191
11345
  }
11192
11346
  },
11193
11347
  "modifiers": {
11194
- "hiddenPath": "$service:himiEvents.collection.noSelection"
11195
- }
11196
- },
11197
- {
11198
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
11199
- "body": {
11200
- "package": "himalaya",
11201
- "type": "Button",
11202
- "props": {
11203
- "title": "Register",
11204
- "style": "secondary",
11205
- "fullWidth": false,
11206
- "action": {
11207
- "actionId": "himi.open",
11208
- "params": {
11209
- "screenId": "$item.detailScreenId",
11210
- "id": "$item.id"
11211
- }
11212
- }
11213
- }
11348
+ "hiddenPath": "$item.collectionNoIdentity"
11214
11349
  }
11215
11350
  },
11216
11351
  {
11217
11352
  "id": "",
11218
11353
  "body": {
11219
11354
  "package": "himalaya",
11220
- "type": "Spacer",
11221
- "props": {}
11222
- }
11223
- },
11224
- {
11225
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
11226
- "body": {
11227
- "package": "himalaya",
11228
- "type": "Menu",
11355
+ "type": "HStack",
11229
11356
  "props": {
11230
- "style": "dropdown",
11231
- "anchor": {
11232
- "id": "",
11233
- "body": {
11234
- "package": "himalaya",
11235
- "type": "Icon",
11236
- "props": {
11237
- "name": "ellipsis",
11238
- "size": 20
11357
+ "spacing": 8,
11358
+ "children": [
11359
+ {
11360
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
11361
+ "body": {
11362
+ "package": "himalaya",
11363
+ "type": "Button",
11364
+ "props": {
11365
+ "title": "$item.collectionSelectLabel",
11366
+ "style": "plain",
11367
+ "fullWidth": false,
11368
+ "action": {
11369
+ "actionId": "tier5.himiEvents.collectionSelect",
11370
+ "params": {
11371
+ "id": "$item.collectionId"
11372
+ }
11373
+ }
11374
+ }
11375
+ },
11376
+ "modifiers": {
11377
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
11239
11378
  }
11240
11379
  },
11241
- "modifiers": {
11242
- "width": 44,
11243
- "height": 44,
11244
- "accessibilityLabel": "Item actions"
11245
- }
11246
- },
11247
- "items": [
11248
11380
  {
11249
- "id": "preview",
11250
- "label": "Quick preview",
11251
- "icon": "search",
11252
- "action": {
11253
- "actionId": "tier5.himiEvents.collectionPreview",
11254
- "params": {
11255
- "id": "$item.collectionId"
11381
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
11382
+ "body": {
11383
+ "package": "himalaya",
11384
+ "type": "Button",
11385
+ "props": {
11386
+ "title": "Register",
11387
+ "style": "secondary",
11388
+ "fullWidth": false,
11389
+ "action": {
11390
+ "actionId": "himi.open",
11391
+ "params": {
11392
+ "screenId": "$item.detailScreenId",
11393
+ "id": "$item.id"
11394
+ }
11395
+ }
11256
11396
  }
11397
+ },
11398
+ "modifiers": {
11399
+ "hiddenPath": "$item.collectionEnded"
11257
11400
  }
11258
11401
  },
11259
11402
  {
11260
- "id": "save",
11261
- "label": "$item.collectionSaveLabel",
11262
- "icon": "bookmark",
11263
- "action": {
11264
- "actionId": "tier5.himiEvents.collectionSave",
11265
- "params": {
11266
- "id": "$item.collectionId"
11267
- }
11403
+ "id": "",
11404
+ "body": {
11405
+ "package": "himalaya",
11406
+ "type": "Spacer",
11407
+ "props": {}
11268
11408
  }
11269
11409
  },
11270
11410
  {
11271
- "id": "open",
11272
- "label": "Open details",
11273
- "icon": "chevron_right",
11274
- "action": {
11275
- "actionId": "himi.open",
11276
- "params": {
11277
- "screenId": "$item.detailScreenId",
11278
- "id": "$item.id"
11411
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
11412
+ "body": {
11413
+ "package": "himalaya",
11414
+ "type": "Menu",
11415
+ "props": {
11416
+ "style": "dropdown",
11417
+ "anchor": {
11418
+ "id": "",
11419
+ "body": {
11420
+ "package": "himalaya",
11421
+ "type": "Icon",
11422
+ "props": {
11423
+ "name": "ellipsis",
11424
+ "size": 20
11425
+ }
11426
+ },
11427
+ "modifiers": {
11428
+ "width": 44,
11429
+ "height": 44,
11430
+ "accessibilityLabel": "Item actions"
11431
+ }
11432
+ },
11433
+ "items": [
11434
+ {
11435
+ "id": "preview",
11436
+ "label": "Quick preview",
11437
+ "icon": "search",
11438
+ "action": {
11439
+ "actionId": "tier5.himiEvents.collectionPreview",
11440
+ "params": {
11441
+ "id": "$item.collectionId"
11442
+ }
11443
+ }
11444
+ },
11445
+ {
11446
+ "id": "save",
11447
+ "label": "$item.collectionSaveLabel",
11448
+ "icon": "bookmark",
11449
+ "action": {
11450
+ "actionId": "tier5.himiEvents.collectionSave",
11451
+ "params": {
11452
+ "id": "$item.collectionId"
11453
+ }
11454
+ }
11455
+ },
11456
+ {
11457
+ "id": "open",
11458
+ "label": "Open details",
11459
+ "icon": "chevron_right",
11460
+ "action": {
11461
+ "actionId": "himi.open",
11462
+ "params": {
11463
+ "screenId": "$item.detailScreenId",
11464
+ "id": "$item.id"
11465
+ }
11466
+ }
11467
+ }
11468
+ ]
11279
11469
  }
11280
11470
  }
11281
11471
  }
11282
11472
  ]
11283
11473
  }
11474
+ },
11475
+ "modifiers": {
11476
+ "hiddenPath": "$item.collectionNoIdentity"
11284
11477
  }
11285
11478
  }
11286
11479
  ]
11287
11480
  }
11288
- },
11289
- "modifiers": {
11290
- "hiddenPath": "$item.collectionNoIdentity"
11291
11481
  }
11292
11482
  }
11293
11483
  ]
@@ -11860,125 +12050,181 @@ const SCREENS = runtimeSetting({
11860
12050
  "id": "",
11861
12051
  "body": {
11862
12052
  "package": "himalaya",
11863
- "type": "HStack",
12053
+ "type": "VStack",
11864
12054
  "props": {
11865
- "spacing": 8,
12055
+ "spacing": 0,
12056
+ "alignment": "leading",
11866
12057
  "children": [
11867
12058
  {
11868
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
12059
+ "id": "",
11869
12060
  "body": {
11870
12061
  "package": "himalaya",
11871
- "type": "Button",
12062
+ "type": "VStack",
11872
12063
  "props": {
11873
- "title": "$item.collectionSelectLabel",
11874
- "style": "plain",
11875
- "fullWidth": false,
11876
- "action": {
11877
- "actionId": "tier5.himiEvents.collectionSelect",
11878
- "params": {
11879
- "id": "$item.collectionId"
12064
+ "spacing": 0,
12065
+ "children": [
12066
+ {
12067
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
12068
+ "body": {
12069
+ "package": "himalaya",
12070
+ "type": "Button",
12071
+ "props": {
12072
+ "title": "View details",
12073
+ "style": "secondary",
12074
+ "fullWidth": true,
12075
+ "action": {
12076
+ "actionId": "himi.open",
12077
+ "params": {
12078
+ "screenId": "$item.detailScreenId",
12079
+ "id": "$item.id"
12080
+ }
12081
+ }
12082
+ }
12083
+ },
12084
+ "modifiers": {
12085
+ "hiddenPath": "$item.collectionNotEnded",
12086
+ "padding": {
12087
+ "bottom": 8
12088
+ }
12089
+ }
11880
12090
  }
11881
- }
12091
+ ]
11882
12092
  }
11883
12093
  },
11884
12094
  "modifiers": {
11885
- "hiddenPath": "$service:himiEvents.collection.noSelection"
11886
- }
11887
- },
11888
- {
11889
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
11890
- "body": {
11891
- "package": "himalaya",
11892
- "type": "Button",
11893
- "props": {
11894
- "title": "Register",
11895
- "style": "secondary",
11896
- "fullWidth": false,
11897
- "action": {
11898
- "actionId": "himi.open",
11899
- "params": {
11900
- "screenId": "$item.detailScreenId",
11901
- "id": "$item.id"
11902
- }
11903
- }
11904
- }
12095
+ "hiddenPath": "$item.collectionNoIdentity"
11905
12096
  }
11906
12097
  },
11907
12098
  {
11908
12099
  "id": "",
11909
12100
  "body": {
11910
12101
  "package": "himalaya",
11911
- "type": "Spacer",
11912
- "props": {}
11913
- }
11914
- },
11915
- {
11916
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
11917
- "body": {
11918
- "package": "himalaya",
11919
- "type": "Menu",
12102
+ "type": "HStack",
11920
12103
  "props": {
11921
- "style": "dropdown",
11922
- "anchor": {
11923
- "id": "",
11924
- "body": {
11925
- "package": "himalaya",
11926
- "type": "Icon",
11927
- "props": {
11928
- "name": "ellipsis",
11929
- "size": 20
12104
+ "spacing": 8,
12105
+ "children": [
12106
+ {
12107
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
12108
+ "body": {
12109
+ "package": "himalaya",
12110
+ "type": "Button",
12111
+ "props": {
12112
+ "title": "$item.collectionSelectLabel",
12113
+ "style": "plain",
12114
+ "fullWidth": false,
12115
+ "action": {
12116
+ "actionId": "tier5.himiEvents.collectionSelect",
12117
+ "params": {
12118
+ "id": "$item.collectionId"
12119
+ }
12120
+ }
12121
+ }
12122
+ },
12123
+ "modifiers": {
12124
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
11930
12125
  }
11931
12126
  },
11932
- "modifiers": {
11933
- "width": 44,
11934
- "height": 44,
11935
- "accessibilityLabel": "Item actions"
11936
- }
11937
- },
11938
- "items": [
11939
12127
  {
11940
- "id": "preview",
11941
- "label": "Quick preview",
11942
- "icon": "search",
11943
- "action": {
11944
- "actionId": "tier5.himiEvents.collectionPreview",
11945
- "params": {
11946
- "id": "$item.collectionId"
12128
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
12129
+ "body": {
12130
+ "package": "himalaya",
12131
+ "type": "Button",
12132
+ "props": {
12133
+ "title": "Register",
12134
+ "style": "secondary",
12135
+ "fullWidth": false,
12136
+ "action": {
12137
+ "actionId": "himi.open",
12138
+ "params": {
12139
+ "screenId": "$item.detailScreenId",
12140
+ "id": "$item.id"
12141
+ }
12142
+ }
11947
12143
  }
12144
+ },
12145
+ "modifiers": {
12146
+ "hiddenPath": "$item.collectionEnded"
11948
12147
  }
11949
12148
  },
11950
12149
  {
11951
- "id": "save",
11952
- "label": "$item.collectionSaveLabel",
11953
- "icon": "bookmark",
11954
- "action": {
11955
- "actionId": "tier5.himiEvents.collectionSave",
11956
- "params": {
11957
- "id": "$item.collectionId"
11958
- }
12150
+ "id": "",
12151
+ "body": {
12152
+ "package": "himalaya",
12153
+ "type": "Spacer",
12154
+ "props": {}
11959
12155
  }
11960
12156
  },
11961
12157
  {
11962
- "id": "open",
11963
- "label": "Open details",
11964
- "icon": "chevron_right",
11965
- "action": {
11966
- "actionId": "himi.open",
11967
- "params": {
11968
- "screenId": "$item.detailScreenId",
11969
- "id": "$item.id"
12158
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
12159
+ "body": {
12160
+ "package": "himalaya",
12161
+ "type": "Menu",
12162
+ "props": {
12163
+ "style": "dropdown",
12164
+ "anchor": {
12165
+ "id": "",
12166
+ "body": {
12167
+ "package": "himalaya",
12168
+ "type": "Icon",
12169
+ "props": {
12170
+ "name": "ellipsis",
12171
+ "size": 20
12172
+ }
12173
+ },
12174
+ "modifiers": {
12175
+ "width": 44,
12176
+ "height": 44,
12177
+ "accessibilityLabel": "Item actions"
12178
+ }
12179
+ },
12180
+ "items": [
12181
+ {
12182
+ "id": "preview",
12183
+ "label": "Quick preview",
12184
+ "icon": "search",
12185
+ "action": {
12186
+ "actionId": "tier5.himiEvents.collectionPreview",
12187
+ "params": {
12188
+ "id": "$item.collectionId"
12189
+ }
12190
+ }
12191
+ },
12192
+ {
12193
+ "id": "save",
12194
+ "label": "$item.collectionSaveLabel",
12195
+ "icon": "bookmark",
12196
+ "action": {
12197
+ "actionId": "tier5.himiEvents.collectionSave",
12198
+ "params": {
12199
+ "id": "$item.collectionId"
12200
+ }
12201
+ }
12202
+ },
12203
+ {
12204
+ "id": "open",
12205
+ "label": "Open details",
12206
+ "icon": "chevron_right",
12207
+ "action": {
12208
+ "actionId": "himi.open",
12209
+ "params": {
12210
+ "screenId": "$item.detailScreenId",
12211
+ "id": "$item.id"
12212
+ }
12213
+ }
12214
+ }
12215
+ ]
11970
12216
  }
11971
12217
  }
11972
12218
  }
11973
12219
  ]
11974
12220
  }
12221
+ },
12222
+ "modifiers": {
12223
+ "hiddenPath": "$item.collectionNoIdentity"
11975
12224
  }
11976
12225
  }
11977
12226
  ]
11978
12227
  }
11979
- },
11980
- "modifiers": {
11981
- "hiddenPath": "$item.collectionNoIdentity"
11982
12228
  }
11983
12229
  }
11984
12230
  ]