@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
@@ -9245,6 +9245,7 @@ const SCREENS = runtimeSetting({
9245
9245
  "props": {
9246
9246
  "id": "title",
9247
9247
  "label": "Title",
9248
+ "required": true,
9248
9249
  "kind": "text",
9249
9250
  "text": {
9250
9251
  "placeholder": "Add a title",
@@ -9292,7 +9293,10 @@ const SCREENS = runtimeSetting({
9292
9293
  "style": "primary",
9293
9294
  "fullWidth": true,
9294
9295
  "action": {
9295
- "actionId": "tier5.spacesCreatePost.submit"
9296
+ "actionId": "tier5.spacesCreatePost.submit",
9297
+ "params": {
9298
+ "postScreenId": "himi_blog_post"
9299
+ }
9296
9300
  }
9297
9301
  }
9298
9302
  }
@@ -10110,21 +10114,58 @@ const SCREENS = runtimeSetting({
10110
10114
  }
10111
10115
  },
10112
10116
  {
10113
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
10117
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
10114
10118
  "body": {
10115
10119
  "package": "himalaya",
10116
- "type": "Button",
10120
+ "type": "HStack",
10117
10121
  "props": {
10118
- "title": "Register",
10119
- "style": "secondary",
10120
- "fullWidth": false,
10121
- "action": {
10122
- "actionId": "himi.open",
10123
- "params": {
10124
- "screenId": "$item.detailScreenId",
10125
- "id": "$item.id"
10122
+ "spacing": 0,
10123
+ "children": [
10124
+ {
10125
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
10126
+ "body": {
10127
+ "package": "himalaya",
10128
+ "type": "Button",
10129
+ "props": {
10130
+ "title": "Register",
10131
+ "style": "secondary",
10132
+ "fullWidth": false,
10133
+ "action": {
10134
+ "actionId": "himi.open",
10135
+ "params": {
10136
+ "screenId": "$item.detailScreenId",
10137
+ "id": "$item.id"
10138
+ }
10139
+ }
10140
+ }
10141
+ },
10142
+ "modifiers": {
10143
+ "hiddenPath": "$item.collectionEnded"
10144
+ }
10145
+ },
10146
+ {
10147
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
10148
+ "body": {
10149
+ "package": "himalaya",
10150
+ "type": "Button",
10151
+ "props": {
10152
+ "title": "View details",
10153
+ "style": "secondary",
10154
+ "fullWidth": false,
10155
+ "action": {
10156
+ "actionId": "himi.open",
10157
+ "params": {
10158
+ "screenId": "$item.detailScreenId",
10159
+ "id": "$item.id"
10160
+ }
10161
+ }
10162
+ }
10163
+ },
10164
+ "modifiers": {
10165
+ "hiddenPath": "$item.collectionNotEnded"
10166
+ }
10126
10167
  }
10127
- }
10168
+ ]
10128
10169
  }
10129
10170
  }
10130
10171
  },
@@ -10432,125 +10473,181 @@ const SCREENS = runtimeSetting({
10432
10473
  "id": "",
10433
10474
  "body": {
10434
10475
  "package": "himalaya",
10435
- "type": "HStack",
10476
+ "type": "VStack",
10436
10477
  "props": {
10437
- "spacing": 8,
10478
+ "spacing": 0,
10479
+ "alignment": "leading",
10438
10480
  "children": [
10439
10481
  {
10440
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
10482
+ "id": "",
10441
10483
  "body": {
10442
10484
  "package": "himalaya",
10443
- "type": "Button",
10485
+ "type": "VStack",
10444
10486
  "props": {
10445
- "title": "$item.collectionSelectLabel",
10446
- "style": "plain",
10447
- "fullWidth": false,
10448
- "action": {
10449
- "actionId": "tier5.himiEvents.collectionSelect",
10450
- "params": {
10451
- "id": "$item.collectionId"
10487
+ "spacing": 0,
10488
+ "children": [
10489
+ {
10490
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
10491
+ "body": {
10492
+ "package": "himalaya",
10493
+ "type": "Button",
10494
+ "props": {
10495
+ "title": "View details",
10496
+ "style": "secondary",
10497
+ "fullWidth": true,
10498
+ "action": {
10499
+ "actionId": "himi.open",
10500
+ "params": {
10501
+ "screenId": "$item.detailScreenId",
10502
+ "id": "$item.id"
10503
+ }
10504
+ }
10505
+ }
10506
+ },
10507
+ "modifiers": {
10508
+ "hiddenPath": "$item.collectionNotEnded",
10509
+ "padding": {
10510
+ "bottom": 8
10511
+ }
10512
+ }
10452
10513
  }
10453
- }
10514
+ ]
10454
10515
  }
10455
10516
  },
10456
10517
  "modifiers": {
10457
- "hiddenPath": "$service:himiEvents.collection.noSelection"
10458
- }
10459
- },
10460
- {
10461
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
10462
- "body": {
10463
- "package": "himalaya",
10464
- "type": "Button",
10465
- "props": {
10466
- "title": "Register",
10467
- "style": "secondary",
10468
- "fullWidth": false,
10469
- "action": {
10470
- "actionId": "himi.open",
10471
- "params": {
10472
- "screenId": "$item.detailScreenId",
10473
- "id": "$item.id"
10474
- }
10475
- }
10476
- }
10518
+ "hiddenPath": "$item.collectionNoIdentity"
10477
10519
  }
10478
10520
  },
10479
10521
  {
10480
10522
  "id": "",
10481
10523
  "body": {
10482
10524
  "package": "himalaya",
10483
- "type": "Spacer",
10484
- "props": {}
10485
- }
10486
- },
10487
- {
10488
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
10489
- "body": {
10490
- "package": "himalaya",
10491
- "type": "Menu",
10525
+ "type": "HStack",
10492
10526
  "props": {
10493
- "style": "dropdown",
10494
- "anchor": {
10495
- "id": "",
10496
- "body": {
10497
- "package": "himalaya",
10498
- "type": "Icon",
10499
- "props": {
10500
- "name": "ellipsis",
10501
- "size": 20
10527
+ "spacing": 8,
10528
+ "children": [
10529
+ {
10530
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
10531
+ "body": {
10532
+ "package": "himalaya",
10533
+ "type": "Button",
10534
+ "props": {
10535
+ "title": "$item.collectionSelectLabel",
10536
+ "style": "plain",
10537
+ "fullWidth": false,
10538
+ "action": {
10539
+ "actionId": "tier5.himiEvents.collectionSelect",
10540
+ "params": {
10541
+ "id": "$item.collectionId"
10542
+ }
10543
+ }
10544
+ }
10545
+ },
10546
+ "modifiers": {
10547
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
10502
10548
  }
10503
10549
  },
10504
- "modifiers": {
10505
- "width": 44,
10506
- "height": 44,
10507
- "accessibilityLabel": "Item actions"
10508
- }
10509
- },
10510
- "items": [
10511
10550
  {
10512
- "id": "preview",
10513
- "label": "Quick preview",
10514
- "icon": "search",
10515
- "action": {
10516
- "actionId": "tier5.himiEvents.collectionPreview",
10517
- "params": {
10518
- "id": "$item.collectionId"
10551
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
10552
+ "body": {
10553
+ "package": "himalaya",
10554
+ "type": "Button",
10555
+ "props": {
10556
+ "title": "Register",
10557
+ "style": "secondary",
10558
+ "fullWidth": false,
10559
+ "action": {
10560
+ "actionId": "himi.open",
10561
+ "params": {
10562
+ "screenId": "$item.detailScreenId",
10563
+ "id": "$item.id"
10564
+ }
10565
+ }
10519
10566
  }
10567
+ },
10568
+ "modifiers": {
10569
+ "hiddenPath": "$item.collectionEnded"
10520
10570
  }
10521
10571
  },
10522
10572
  {
10523
- "id": "save",
10524
- "label": "$item.collectionSaveLabel",
10525
- "icon": "bookmark",
10526
- "action": {
10527
- "actionId": "tier5.himiEvents.collectionSave",
10528
- "params": {
10529
- "id": "$item.collectionId"
10530
- }
10573
+ "id": "",
10574
+ "body": {
10575
+ "package": "himalaya",
10576
+ "type": "Spacer",
10577
+ "props": {}
10531
10578
  }
10532
10579
  },
10533
10580
  {
10534
- "id": "open",
10535
- "label": "Open details",
10536
- "icon": "chevron_right",
10537
- "action": {
10538
- "actionId": "himi.open",
10539
- "params": {
10540
- "screenId": "$item.detailScreenId",
10541
- "id": "$item.id"
10581
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
10582
+ "body": {
10583
+ "package": "himalaya",
10584
+ "type": "Menu",
10585
+ "props": {
10586
+ "style": "dropdown",
10587
+ "anchor": {
10588
+ "id": "",
10589
+ "body": {
10590
+ "package": "himalaya",
10591
+ "type": "Icon",
10592
+ "props": {
10593
+ "name": "ellipsis",
10594
+ "size": 20
10595
+ }
10596
+ },
10597
+ "modifiers": {
10598
+ "width": 44,
10599
+ "height": 44,
10600
+ "accessibilityLabel": "Item actions"
10601
+ }
10602
+ },
10603
+ "items": [
10604
+ {
10605
+ "id": "preview",
10606
+ "label": "Quick preview",
10607
+ "icon": "search",
10608
+ "action": {
10609
+ "actionId": "tier5.himiEvents.collectionPreview",
10610
+ "params": {
10611
+ "id": "$item.collectionId"
10612
+ }
10613
+ }
10614
+ },
10615
+ {
10616
+ "id": "save",
10617
+ "label": "$item.collectionSaveLabel",
10618
+ "icon": "bookmark",
10619
+ "action": {
10620
+ "actionId": "tier5.himiEvents.collectionSave",
10621
+ "params": {
10622
+ "id": "$item.collectionId"
10623
+ }
10624
+ }
10625
+ },
10626
+ {
10627
+ "id": "open",
10628
+ "label": "Open details",
10629
+ "icon": "chevron_right",
10630
+ "action": {
10631
+ "actionId": "himi.open",
10632
+ "params": {
10633
+ "screenId": "$item.detailScreenId",
10634
+ "id": "$item.id"
10635
+ }
10636
+ }
10637
+ }
10638
+ ]
10542
10639
  }
10543
10640
  }
10544
10641
  }
10545
10642
  ]
10546
10643
  }
10644
+ },
10645
+ "modifiers": {
10646
+ "hiddenPath": "$item.collectionNoIdentity"
10547
10647
  }
10548
10648
  }
10549
10649
  ]
10550
10650
  }
10551
- },
10552
- "modifiers": {
10553
- "hiddenPath": "$item.collectionNoIdentity"
10554
10651
  }
10555
10652
  }
10556
10653
  ]
@@ -10785,21 +10882,58 @@ const SCREENS = runtimeSetting({
10785
10882
  }
10786
10883
  },
10787
10884
  {
10788
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
10885
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
10789
10886
  "body": {
10790
10887
  "package": "himalaya",
10791
- "type": "Button",
10888
+ "type": "HStack",
10792
10889
  "props": {
10793
- "title": "Register",
10794
- "style": "secondary",
10795
- "fullWidth": false,
10796
- "action": {
10797
- "actionId": "himi.open",
10798
- "params": {
10799
- "screenId": "$item.detailScreenId",
10800
- "id": "$item.id"
10890
+ "spacing": 0,
10891
+ "children": [
10892
+ {
10893
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
10894
+ "body": {
10895
+ "package": "himalaya",
10896
+ "type": "Button",
10897
+ "props": {
10898
+ "title": "Register",
10899
+ "style": "secondary",
10900
+ "fullWidth": false,
10901
+ "action": {
10902
+ "actionId": "himi.open",
10903
+ "params": {
10904
+ "screenId": "$item.detailScreenId",
10905
+ "id": "$item.id"
10906
+ }
10907
+ }
10908
+ }
10909
+ },
10910
+ "modifiers": {
10911
+ "hiddenPath": "$item.collectionEnded"
10912
+ }
10913
+ },
10914
+ {
10915
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
10916
+ "body": {
10917
+ "package": "himalaya",
10918
+ "type": "Button",
10919
+ "props": {
10920
+ "title": "View details",
10921
+ "style": "secondary",
10922
+ "fullWidth": false,
10923
+ "action": {
10924
+ "actionId": "himi.open",
10925
+ "params": {
10926
+ "screenId": "$item.detailScreenId",
10927
+ "id": "$item.id"
10928
+ }
10929
+ }
10930
+ }
10931
+ },
10932
+ "modifiers": {
10933
+ "hiddenPath": "$item.collectionNotEnded"
10934
+ }
10801
10935
  }
10802
- }
10936
+ ]
10803
10937
  }
10804
10938
  }
10805
10939
  },
@@ -11107,125 +11241,181 @@ const SCREENS = runtimeSetting({
11107
11241
  "id": "",
11108
11242
  "body": {
11109
11243
  "package": "himalaya",
11110
- "type": "HStack",
11244
+ "type": "VStack",
11111
11245
  "props": {
11112
- "spacing": 8,
11246
+ "spacing": 0,
11247
+ "alignment": "leading",
11113
11248
  "children": [
11114
11249
  {
11115
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
11250
+ "id": "",
11116
11251
  "body": {
11117
11252
  "package": "himalaya",
11118
- "type": "Button",
11253
+ "type": "VStack",
11119
11254
  "props": {
11120
- "title": "$item.collectionSelectLabel",
11121
- "style": "plain",
11122
- "fullWidth": false,
11123
- "action": {
11124
- "actionId": "tier5.himiEvents.collectionSelect",
11125
- "params": {
11126
- "id": "$item.collectionId"
11255
+ "spacing": 0,
11256
+ "children": [
11257
+ {
11258
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
11259
+ "body": {
11260
+ "package": "himalaya",
11261
+ "type": "Button",
11262
+ "props": {
11263
+ "title": "View details",
11264
+ "style": "secondary",
11265
+ "fullWidth": true,
11266
+ "action": {
11267
+ "actionId": "himi.open",
11268
+ "params": {
11269
+ "screenId": "$item.detailScreenId",
11270
+ "id": "$item.id"
11271
+ }
11272
+ }
11273
+ }
11274
+ },
11275
+ "modifiers": {
11276
+ "hiddenPath": "$item.collectionNotEnded",
11277
+ "padding": {
11278
+ "bottom": 8
11279
+ }
11280
+ }
11127
11281
  }
11128
- }
11282
+ ]
11129
11283
  }
11130
11284
  },
11131
11285
  "modifiers": {
11132
- "hiddenPath": "$service:himiEvents.collection.noSelection"
11133
- }
11134
- },
11135
- {
11136
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
11137
- "body": {
11138
- "package": "himalaya",
11139
- "type": "Button",
11140
- "props": {
11141
- "title": "Register",
11142
- "style": "secondary",
11143
- "fullWidth": false,
11144
- "action": {
11145
- "actionId": "himi.open",
11146
- "params": {
11147
- "screenId": "$item.detailScreenId",
11148
- "id": "$item.id"
11149
- }
11150
- }
11151
- }
11286
+ "hiddenPath": "$item.collectionNoIdentity"
11152
11287
  }
11153
11288
  },
11154
11289
  {
11155
11290
  "id": "",
11156
11291
  "body": {
11157
11292
  "package": "himalaya",
11158
- "type": "Spacer",
11159
- "props": {}
11160
- }
11161
- },
11162
- {
11163
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
11164
- "body": {
11165
- "package": "himalaya",
11166
- "type": "Menu",
11293
+ "type": "HStack",
11167
11294
  "props": {
11168
- "style": "dropdown",
11169
- "anchor": {
11170
- "id": "",
11171
- "body": {
11172
- "package": "himalaya",
11173
- "type": "Icon",
11174
- "props": {
11175
- "name": "ellipsis",
11176
- "size": 20
11295
+ "spacing": 8,
11296
+ "children": [
11297
+ {
11298
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
11299
+ "body": {
11300
+ "package": "himalaya",
11301
+ "type": "Button",
11302
+ "props": {
11303
+ "title": "$item.collectionSelectLabel",
11304
+ "style": "plain",
11305
+ "fullWidth": false,
11306
+ "action": {
11307
+ "actionId": "tier5.himiEvents.collectionSelect",
11308
+ "params": {
11309
+ "id": "$item.collectionId"
11310
+ }
11311
+ }
11312
+ }
11313
+ },
11314
+ "modifiers": {
11315
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
11177
11316
  }
11178
11317
  },
11179
- "modifiers": {
11180
- "width": 44,
11181
- "height": 44,
11182
- "accessibilityLabel": "Item actions"
11183
- }
11184
- },
11185
- "items": [
11186
11318
  {
11187
- "id": "preview",
11188
- "label": "Quick preview",
11189
- "icon": "search",
11190
- "action": {
11191
- "actionId": "tier5.himiEvents.collectionPreview",
11192
- "params": {
11193
- "id": "$item.collectionId"
11319
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
11320
+ "body": {
11321
+ "package": "himalaya",
11322
+ "type": "Button",
11323
+ "props": {
11324
+ "title": "Register",
11325
+ "style": "secondary",
11326
+ "fullWidth": false,
11327
+ "action": {
11328
+ "actionId": "himi.open",
11329
+ "params": {
11330
+ "screenId": "$item.detailScreenId",
11331
+ "id": "$item.id"
11332
+ }
11333
+ }
11194
11334
  }
11335
+ },
11336
+ "modifiers": {
11337
+ "hiddenPath": "$item.collectionEnded"
11195
11338
  }
11196
11339
  },
11197
11340
  {
11198
- "id": "save",
11199
- "label": "$item.collectionSaveLabel",
11200
- "icon": "bookmark",
11201
- "action": {
11202
- "actionId": "tier5.himiEvents.collectionSave",
11203
- "params": {
11204
- "id": "$item.collectionId"
11205
- }
11341
+ "id": "",
11342
+ "body": {
11343
+ "package": "himalaya",
11344
+ "type": "Spacer",
11345
+ "props": {}
11206
11346
  }
11207
11347
  },
11208
11348
  {
11209
- "id": "open",
11210
- "label": "Open details",
11211
- "icon": "chevron_right",
11212
- "action": {
11213
- "actionId": "himi.open",
11214
- "params": {
11215
- "screenId": "$item.detailScreenId",
11216
- "id": "$item.id"
11349
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
11350
+ "body": {
11351
+ "package": "himalaya",
11352
+ "type": "Menu",
11353
+ "props": {
11354
+ "style": "dropdown",
11355
+ "anchor": {
11356
+ "id": "",
11357
+ "body": {
11358
+ "package": "himalaya",
11359
+ "type": "Icon",
11360
+ "props": {
11361
+ "name": "ellipsis",
11362
+ "size": 20
11363
+ }
11364
+ },
11365
+ "modifiers": {
11366
+ "width": 44,
11367
+ "height": 44,
11368
+ "accessibilityLabel": "Item actions"
11369
+ }
11370
+ },
11371
+ "items": [
11372
+ {
11373
+ "id": "preview",
11374
+ "label": "Quick preview",
11375
+ "icon": "search",
11376
+ "action": {
11377
+ "actionId": "tier5.himiEvents.collectionPreview",
11378
+ "params": {
11379
+ "id": "$item.collectionId"
11380
+ }
11381
+ }
11382
+ },
11383
+ {
11384
+ "id": "save",
11385
+ "label": "$item.collectionSaveLabel",
11386
+ "icon": "bookmark",
11387
+ "action": {
11388
+ "actionId": "tier5.himiEvents.collectionSave",
11389
+ "params": {
11390
+ "id": "$item.collectionId"
11391
+ }
11392
+ }
11393
+ },
11394
+ {
11395
+ "id": "open",
11396
+ "label": "Open details",
11397
+ "icon": "chevron_right",
11398
+ "action": {
11399
+ "actionId": "himi.open",
11400
+ "params": {
11401
+ "screenId": "$item.detailScreenId",
11402
+ "id": "$item.id"
11403
+ }
11404
+ }
11405
+ }
11406
+ ]
11217
11407
  }
11218
11408
  }
11219
11409
  }
11220
11410
  ]
11221
11411
  }
11412
+ },
11413
+ "modifiers": {
11414
+ "hiddenPath": "$item.collectionNoIdentity"
11222
11415
  }
11223
11416
  }
11224
11417
  ]
11225
11418
  }
11226
- },
11227
- "modifiers": {
11228
- "hiddenPath": "$item.collectionNoIdentity"
11229
11419
  }
11230
11420
  }
11231
11421
  ]
@@ -11798,125 +11988,181 @@ const SCREENS = runtimeSetting({
11798
11988
  "id": "",
11799
11989
  "body": {
11800
11990
  "package": "himalaya",
11801
- "type": "HStack",
11991
+ "type": "VStack",
11802
11992
  "props": {
11803
- "spacing": 8,
11993
+ "spacing": 0,
11994
+ "alignment": "leading",
11804
11995
  "children": [
11805
11996
  {
11806
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
11997
+ "id": "",
11807
11998
  "body": {
11808
11999
  "package": "himalaya",
11809
- "type": "Button",
12000
+ "type": "VStack",
11810
12001
  "props": {
11811
- "title": "$item.collectionSelectLabel",
11812
- "style": "plain",
11813
- "fullWidth": false,
11814
- "action": {
11815
- "actionId": "tier5.himiEvents.collectionSelect",
11816
- "params": {
11817
- "id": "$item.collectionId"
12002
+ "spacing": 0,
12003
+ "children": [
12004
+ {
12005
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
12006
+ "body": {
12007
+ "package": "himalaya",
12008
+ "type": "Button",
12009
+ "props": {
12010
+ "title": "View details",
12011
+ "style": "secondary",
12012
+ "fullWidth": true,
12013
+ "action": {
12014
+ "actionId": "himi.open",
12015
+ "params": {
12016
+ "screenId": "$item.detailScreenId",
12017
+ "id": "$item.id"
12018
+ }
12019
+ }
12020
+ }
12021
+ },
12022
+ "modifiers": {
12023
+ "hiddenPath": "$item.collectionNotEnded",
12024
+ "padding": {
12025
+ "bottom": 8
12026
+ }
12027
+ }
11818
12028
  }
11819
- }
12029
+ ]
11820
12030
  }
11821
12031
  },
11822
12032
  "modifiers": {
11823
- "hiddenPath": "$service:himiEvents.collection.noSelection"
11824
- }
11825
- },
11826
- {
11827
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
11828
- "body": {
11829
- "package": "himalaya",
11830
- "type": "Button",
11831
- "props": {
11832
- "title": "Register",
11833
- "style": "secondary",
11834
- "fullWidth": false,
11835
- "action": {
11836
- "actionId": "himi.open",
11837
- "params": {
11838
- "screenId": "$item.detailScreenId",
11839
- "id": "$item.id"
11840
- }
11841
- }
11842
- }
12033
+ "hiddenPath": "$item.collectionNoIdentity"
11843
12034
  }
11844
12035
  },
11845
12036
  {
11846
12037
  "id": "",
11847
12038
  "body": {
11848
12039
  "package": "himalaya",
11849
- "type": "Spacer",
11850
- "props": {}
11851
- }
11852
- },
11853
- {
11854
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
11855
- "body": {
11856
- "package": "himalaya",
11857
- "type": "Menu",
12040
+ "type": "HStack",
11858
12041
  "props": {
11859
- "style": "dropdown",
11860
- "anchor": {
11861
- "id": "",
11862
- "body": {
11863
- "package": "himalaya",
11864
- "type": "Icon",
11865
- "props": {
11866
- "name": "ellipsis",
11867
- "size": 20
12042
+ "spacing": 8,
12043
+ "children": [
12044
+ {
12045
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
12046
+ "body": {
12047
+ "package": "himalaya",
12048
+ "type": "Button",
12049
+ "props": {
12050
+ "title": "$item.collectionSelectLabel",
12051
+ "style": "plain",
12052
+ "fullWidth": false,
12053
+ "action": {
12054
+ "actionId": "tier5.himiEvents.collectionSelect",
12055
+ "params": {
12056
+ "id": "$item.collectionId"
12057
+ }
12058
+ }
12059
+ }
12060
+ },
12061
+ "modifiers": {
12062
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
11868
12063
  }
11869
12064
  },
11870
- "modifiers": {
11871
- "width": 44,
11872
- "height": 44,
11873
- "accessibilityLabel": "Item actions"
11874
- }
11875
- },
11876
- "items": [
11877
12065
  {
11878
- "id": "preview",
11879
- "label": "Quick preview",
11880
- "icon": "search",
11881
- "action": {
11882
- "actionId": "tier5.himiEvents.collectionPreview",
11883
- "params": {
11884
- "id": "$item.collectionId"
12066
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
12067
+ "body": {
12068
+ "package": "himalaya",
12069
+ "type": "Button",
12070
+ "props": {
12071
+ "title": "Register",
12072
+ "style": "secondary",
12073
+ "fullWidth": false,
12074
+ "action": {
12075
+ "actionId": "himi.open",
12076
+ "params": {
12077
+ "screenId": "$item.detailScreenId",
12078
+ "id": "$item.id"
12079
+ }
12080
+ }
11885
12081
  }
12082
+ },
12083
+ "modifiers": {
12084
+ "hiddenPath": "$item.collectionEnded"
11886
12085
  }
11887
12086
  },
11888
12087
  {
11889
- "id": "save",
11890
- "label": "$item.collectionSaveLabel",
11891
- "icon": "bookmark",
11892
- "action": {
11893
- "actionId": "tier5.himiEvents.collectionSave",
11894
- "params": {
11895
- "id": "$item.collectionId"
11896
- }
12088
+ "id": "",
12089
+ "body": {
12090
+ "package": "himalaya",
12091
+ "type": "Spacer",
12092
+ "props": {}
11897
12093
  }
11898
12094
  },
11899
12095
  {
11900
- "id": "open",
11901
- "label": "Open details",
11902
- "icon": "chevron_right",
11903
- "action": {
11904
- "actionId": "himi.open",
11905
- "params": {
11906
- "screenId": "$item.detailScreenId",
11907
- "id": "$item.id"
12096
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
12097
+ "body": {
12098
+ "package": "himalaya",
12099
+ "type": "Menu",
12100
+ "props": {
12101
+ "style": "dropdown",
12102
+ "anchor": {
12103
+ "id": "",
12104
+ "body": {
12105
+ "package": "himalaya",
12106
+ "type": "Icon",
12107
+ "props": {
12108
+ "name": "ellipsis",
12109
+ "size": 20
12110
+ }
12111
+ },
12112
+ "modifiers": {
12113
+ "width": 44,
12114
+ "height": 44,
12115
+ "accessibilityLabel": "Item actions"
12116
+ }
12117
+ },
12118
+ "items": [
12119
+ {
12120
+ "id": "preview",
12121
+ "label": "Quick preview",
12122
+ "icon": "search",
12123
+ "action": {
12124
+ "actionId": "tier5.himiEvents.collectionPreview",
12125
+ "params": {
12126
+ "id": "$item.collectionId"
12127
+ }
12128
+ }
12129
+ },
12130
+ {
12131
+ "id": "save",
12132
+ "label": "$item.collectionSaveLabel",
12133
+ "icon": "bookmark",
12134
+ "action": {
12135
+ "actionId": "tier5.himiEvents.collectionSave",
12136
+ "params": {
12137
+ "id": "$item.collectionId"
12138
+ }
12139
+ }
12140
+ },
12141
+ {
12142
+ "id": "open",
12143
+ "label": "Open details",
12144
+ "icon": "chevron_right",
12145
+ "action": {
12146
+ "actionId": "himi.open",
12147
+ "params": {
12148
+ "screenId": "$item.detailScreenId",
12149
+ "id": "$item.id"
12150
+ }
12151
+ }
12152
+ }
12153
+ ]
11908
12154
  }
11909
12155
  }
11910
12156
  }
11911
12157
  ]
11912
12158
  }
12159
+ },
12160
+ "modifiers": {
12161
+ "hiddenPath": "$item.collectionNoIdentity"
11913
12162
  }
11914
12163
  }
11915
12164
  ]
11916
12165
  }
11917
- },
11918
- "modifiers": {
11919
- "hiddenPath": "$item.collectionNoIdentity"
11920
12166
  }
11921
12167
  }
11922
12168
  ]