@wix/himalaya-cli 0.1222.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 (58) 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/dist/cli.mjs +33 -24
  4. package/dist/preview-assets.generated.bin +0 -0
  5. package/guides/sdk-reference.json +1 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/dev/index.ts +5 -1
  8. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +15 -2
  9. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  10. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +15 -2
  11. package/templates/branded-lite/dev/index.ts +520 -274
  12. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +15 -2
  13. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  14. package/templates/community-club/dev/index.ts +518 -272
  15. package/templates/community-club/tier5-src/_shared/collection-contract.ts +15 -2
  16. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  17. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +15 -2
  18. package/templates/community-club-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  19. package/templates/events-meetups/dev/index.ts +518 -272
  20. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +15 -2
  21. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  22. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +15 -2
  23. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  24. package/templates/gym-fitness/dev/index.ts +520 -274
  25. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +15 -2
  26. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  27. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +15 -2
  28. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  29. package/templates/nonprofit-cause/dev/index.ts +518 -272
  30. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +15 -2
  31. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  32. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +15 -2
  33. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  34. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +15 -2
  35. package/templates/owner-lite/tier5-src/himi-owner-lite-events/index.ts +1 -0
  36. package/templates/podcast-creator/dev/index.ts +518 -272
  37. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +15 -2
  38. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  39. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +15 -2
  40. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  41. package/templates/portfolio-creative/dev/index.ts +520 -274
  42. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +15 -2
  43. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  44. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +15 -2
  45. package/templates/restaurant/dev/index.ts +518 -272
  46. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +15 -2
  47. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  48. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +15 -2
  49. package/templates/restaurant-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
  50. package/templates/retail-store/dev/index.ts +5 -1
  51. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +15 -2
  52. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  53. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +15 -2
  54. package/templates/yoga-studio/dev/index.ts +518 -272
  55. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +15 -2
  56. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  57. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +15 -2
  58. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-events/index.ts +1 -0
@@ -21546,6 +21546,7 @@ const SCREENS = runtimeSetting({
21546
21546
  "props": {
21547
21547
  "id": "title",
21548
21548
  "label": "Title",
21549
+ "required": true,
21549
21550
  "kind": "text",
21550
21551
  "text": {
21551
21552
  "placeholder": "Add a title",
@@ -21593,7 +21594,10 @@ const SCREENS = runtimeSetting({
21593
21594
  "style": "primary",
21594
21595
  "fullWidth": true,
21595
21596
  "action": {
21596
- "actionId": "tier5.spacesCreatePost.submit"
21597
+ "actionId": "tier5.spacesCreatePost.submit",
21598
+ "params": {
21599
+ "postScreenId": "himi_blog_post"
21600
+ }
21597
21601
  }
21598
21602
  }
21599
21603
  }
@@ -22411,21 +22415,58 @@ const SCREENS = runtimeSetting({
22411
22415
  }
22412
22416
  },
22413
22417
  {
22414
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
22418
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
22415
22419
  "body": {
22416
22420
  "package": "himalaya",
22417
- "type": "Button",
22421
+ "type": "HStack",
22418
22422
  "props": {
22419
- "title": "Register",
22420
- "style": "secondary",
22421
- "fullWidth": false,
22422
- "action": {
22423
- "actionId": "himi.open",
22424
- "params": {
22425
- "screenId": "$item.detailScreenId",
22426
- "id": "$item.id"
22423
+ "spacing": 0,
22424
+ "children": [
22425
+ {
22426
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
22427
+ "body": {
22428
+ "package": "himalaya",
22429
+ "type": "Button",
22430
+ "props": {
22431
+ "title": "Register",
22432
+ "style": "secondary",
22433
+ "fullWidth": false,
22434
+ "action": {
22435
+ "actionId": "himi.open",
22436
+ "params": {
22437
+ "screenId": "$item.detailScreenId",
22438
+ "id": "$item.id"
22439
+ }
22440
+ }
22441
+ }
22442
+ },
22443
+ "modifiers": {
22444
+ "hiddenPath": "$item.collectionEnded"
22445
+ }
22446
+ },
22447
+ {
22448
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
22449
+ "body": {
22450
+ "package": "himalaya",
22451
+ "type": "Button",
22452
+ "props": {
22453
+ "title": "View details",
22454
+ "style": "secondary",
22455
+ "fullWidth": false,
22456
+ "action": {
22457
+ "actionId": "himi.open",
22458
+ "params": {
22459
+ "screenId": "$item.detailScreenId",
22460
+ "id": "$item.id"
22461
+ }
22462
+ }
22463
+ }
22464
+ },
22465
+ "modifiers": {
22466
+ "hiddenPath": "$item.collectionNotEnded"
22467
+ }
22427
22468
  }
22428
- }
22469
+ ]
22429
22470
  }
22430
22471
  }
22431
22472
  },
@@ -22733,125 +22774,181 @@ const SCREENS = runtimeSetting({
22733
22774
  "id": "",
22734
22775
  "body": {
22735
22776
  "package": "himalaya",
22736
- "type": "HStack",
22777
+ "type": "VStack",
22737
22778
  "props": {
22738
- "spacing": 8,
22779
+ "spacing": 0,
22780
+ "alignment": "leading",
22739
22781
  "children": [
22740
22782
  {
22741
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
22783
+ "id": "",
22742
22784
  "body": {
22743
22785
  "package": "himalaya",
22744
- "type": "Button",
22786
+ "type": "VStack",
22745
22787
  "props": {
22746
- "title": "$item.collectionSelectLabel",
22747
- "style": "plain",
22748
- "fullWidth": false,
22749
- "action": {
22750
- "actionId": "tier5.himiEvents.collectionSelect",
22751
- "params": {
22752
- "id": "$item.collectionId"
22788
+ "spacing": 0,
22789
+ "children": [
22790
+ {
22791
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
22792
+ "body": {
22793
+ "package": "himalaya",
22794
+ "type": "Button",
22795
+ "props": {
22796
+ "title": "View details",
22797
+ "style": "secondary",
22798
+ "fullWidth": true,
22799
+ "action": {
22800
+ "actionId": "himi.open",
22801
+ "params": {
22802
+ "screenId": "$item.detailScreenId",
22803
+ "id": "$item.id"
22804
+ }
22805
+ }
22806
+ }
22807
+ },
22808
+ "modifiers": {
22809
+ "hiddenPath": "$item.collectionNotEnded",
22810
+ "padding": {
22811
+ "bottom": 8
22812
+ }
22813
+ }
22753
22814
  }
22754
- }
22815
+ ]
22755
22816
  }
22756
22817
  },
22757
22818
  "modifiers": {
22758
- "hiddenPath": "$service:himiEvents.collection.noSelection"
22759
- }
22760
- },
22761
- {
22762
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
22763
- "body": {
22764
- "package": "himalaya",
22765
- "type": "Button",
22766
- "props": {
22767
- "title": "Register",
22768
- "style": "secondary",
22769
- "fullWidth": false,
22770
- "action": {
22771
- "actionId": "himi.open",
22772
- "params": {
22773
- "screenId": "$item.detailScreenId",
22774
- "id": "$item.id"
22775
- }
22776
- }
22777
- }
22819
+ "hiddenPath": "$item.collectionNoIdentity"
22778
22820
  }
22779
22821
  },
22780
22822
  {
22781
22823
  "id": "",
22782
22824
  "body": {
22783
22825
  "package": "himalaya",
22784
- "type": "Spacer",
22785
- "props": {}
22786
- }
22787
- },
22788
- {
22789
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
22790
- "body": {
22791
- "package": "himalaya",
22792
- "type": "Menu",
22826
+ "type": "HStack",
22793
22827
  "props": {
22794
- "style": "dropdown",
22795
- "anchor": {
22796
- "id": "",
22797
- "body": {
22798
- "package": "himalaya",
22799
- "type": "Icon",
22800
- "props": {
22801
- "name": "ellipsis",
22802
- "size": 20
22828
+ "spacing": 8,
22829
+ "children": [
22830
+ {
22831
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
22832
+ "body": {
22833
+ "package": "himalaya",
22834
+ "type": "Button",
22835
+ "props": {
22836
+ "title": "$item.collectionSelectLabel",
22837
+ "style": "plain",
22838
+ "fullWidth": false,
22839
+ "action": {
22840
+ "actionId": "tier5.himiEvents.collectionSelect",
22841
+ "params": {
22842
+ "id": "$item.collectionId"
22843
+ }
22844
+ }
22845
+ }
22846
+ },
22847
+ "modifiers": {
22848
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
22803
22849
  }
22804
22850
  },
22805
- "modifiers": {
22806
- "width": 44,
22807
- "height": 44,
22808
- "accessibilityLabel": "Item actions"
22809
- }
22810
- },
22811
- "items": [
22812
22851
  {
22813
- "id": "preview",
22814
- "label": "Quick preview",
22815
- "icon": "search",
22816
- "action": {
22817
- "actionId": "tier5.himiEvents.collectionPreview",
22818
- "params": {
22819
- "id": "$item.collectionId"
22852
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
22853
+ "body": {
22854
+ "package": "himalaya",
22855
+ "type": "Button",
22856
+ "props": {
22857
+ "title": "Register",
22858
+ "style": "secondary",
22859
+ "fullWidth": false,
22860
+ "action": {
22861
+ "actionId": "himi.open",
22862
+ "params": {
22863
+ "screenId": "$item.detailScreenId",
22864
+ "id": "$item.id"
22865
+ }
22866
+ }
22820
22867
  }
22868
+ },
22869
+ "modifiers": {
22870
+ "hiddenPath": "$item.collectionEnded"
22821
22871
  }
22822
22872
  },
22823
22873
  {
22824
- "id": "save",
22825
- "label": "$item.collectionSaveLabel",
22826
- "icon": "bookmark",
22827
- "action": {
22828
- "actionId": "tier5.himiEvents.collectionSave",
22829
- "params": {
22830
- "id": "$item.collectionId"
22831
- }
22874
+ "id": "",
22875
+ "body": {
22876
+ "package": "himalaya",
22877
+ "type": "Spacer",
22878
+ "props": {}
22832
22879
  }
22833
22880
  },
22834
22881
  {
22835
- "id": "open",
22836
- "label": "Open details",
22837
- "icon": "chevron_right",
22838
- "action": {
22839
- "actionId": "himi.open",
22840
- "params": {
22841
- "screenId": "$item.detailScreenId",
22842
- "id": "$item.id"
22882
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
22883
+ "body": {
22884
+ "package": "himalaya",
22885
+ "type": "Menu",
22886
+ "props": {
22887
+ "style": "dropdown",
22888
+ "anchor": {
22889
+ "id": "",
22890
+ "body": {
22891
+ "package": "himalaya",
22892
+ "type": "Icon",
22893
+ "props": {
22894
+ "name": "ellipsis",
22895
+ "size": 20
22896
+ }
22897
+ },
22898
+ "modifiers": {
22899
+ "width": 44,
22900
+ "height": 44,
22901
+ "accessibilityLabel": "Item actions"
22902
+ }
22903
+ },
22904
+ "items": [
22905
+ {
22906
+ "id": "preview",
22907
+ "label": "Quick preview",
22908
+ "icon": "search",
22909
+ "action": {
22910
+ "actionId": "tier5.himiEvents.collectionPreview",
22911
+ "params": {
22912
+ "id": "$item.collectionId"
22913
+ }
22914
+ }
22915
+ },
22916
+ {
22917
+ "id": "save",
22918
+ "label": "$item.collectionSaveLabel",
22919
+ "icon": "bookmark",
22920
+ "action": {
22921
+ "actionId": "tier5.himiEvents.collectionSave",
22922
+ "params": {
22923
+ "id": "$item.collectionId"
22924
+ }
22925
+ }
22926
+ },
22927
+ {
22928
+ "id": "open",
22929
+ "label": "Open details",
22930
+ "icon": "chevron_right",
22931
+ "action": {
22932
+ "actionId": "himi.open",
22933
+ "params": {
22934
+ "screenId": "$item.detailScreenId",
22935
+ "id": "$item.id"
22936
+ }
22937
+ }
22938
+ }
22939
+ ]
22843
22940
  }
22844
22941
  }
22845
22942
  }
22846
22943
  ]
22847
22944
  }
22945
+ },
22946
+ "modifiers": {
22947
+ "hiddenPath": "$item.collectionNoIdentity"
22848
22948
  }
22849
22949
  }
22850
22950
  ]
22851
22951
  }
22852
- },
22853
- "modifiers": {
22854
- "hiddenPath": "$item.collectionNoIdentity"
22855
22952
  }
22856
22953
  }
22857
22954
  ]
@@ -23086,21 +23183,58 @@ const SCREENS = runtimeSetting({
23086
23183
  }
23087
23184
  },
23088
23185
  {
23089
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
23186
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
23090
23187
  "body": {
23091
23188
  "package": "himalaya",
23092
- "type": "Button",
23189
+ "type": "HStack",
23093
23190
  "props": {
23094
- "title": "Register",
23095
- "style": "secondary",
23096
- "fullWidth": false,
23097
- "action": {
23098
- "actionId": "himi.open",
23099
- "params": {
23100
- "screenId": "$item.detailScreenId",
23101
- "id": "$item.id"
23191
+ "spacing": 0,
23192
+ "children": [
23193
+ {
23194
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
23195
+ "body": {
23196
+ "package": "himalaya",
23197
+ "type": "Button",
23198
+ "props": {
23199
+ "title": "Register",
23200
+ "style": "secondary",
23201
+ "fullWidth": false,
23202
+ "action": {
23203
+ "actionId": "himi.open",
23204
+ "params": {
23205
+ "screenId": "$item.detailScreenId",
23206
+ "id": "$item.id"
23207
+ }
23208
+ }
23209
+ }
23210
+ },
23211
+ "modifiers": {
23212
+ "hiddenPath": "$item.collectionEnded"
23213
+ }
23214
+ },
23215
+ {
23216
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
23217
+ "body": {
23218
+ "package": "himalaya",
23219
+ "type": "Button",
23220
+ "props": {
23221
+ "title": "View details",
23222
+ "style": "secondary",
23223
+ "fullWidth": false,
23224
+ "action": {
23225
+ "actionId": "himi.open",
23226
+ "params": {
23227
+ "screenId": "$item.detailScreenId",
23228
+ "id": "$item.id"
23229
+ }
23230
+ }
23231
+ }
23232
+ },
23233
+ "modifiers": {
23234
+ "hiddenPath": "$item.collectionNotEnded"
23235
+ }
23102
23236
  }
23103
- }
23237
+ ]
23104
23238
  }
23105
23239
  }
23106
23240
  },
@@ -23408,125 +23542,181 @@ const SCREENS = runtimeSetting({
23408
23542
  "id": "",
23409
23543
  "body": {
23410
23544
  "package": "himalaya",
23411
- "type": "HStack",
23545
+ "type": "VStack",
23412
23546
  "props": {
23413
- "spacing": 8,
23547
+ "spacing": 0,
23548
+ "alignment": "leading",
23414
23549
  "children": [
23415
23550
  {
23416
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
23551
+ "id": "",
23417
23552
  "body": {
23418
23553
  "package": "himalaya",
23419
- "type": "Button",
23554
+ "type": "VStack",
23420
23555
  "props": {
23421
- "title": "$item.collectionSelectLabel",
23422
- "style": "plain",
23423
- "fullWidth": false,
23424
- "action": {
23425
- "actionId": "tier5.himiEvents.collectionSelect",
23426
- "params": {
23427
- "id": "$item.collectionId"
23428
- }
23429
- }
23430
- }
23431
- },
23432
- "modifiers": {
23433
- "hiddenPath": "$service:himiEvents.collection.noSelection"
23434
- }
23435
- },
23436
- {
23437
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
23438
- "body": {
23439
- "package": "himalaya",
23440
- "type": "Button",
23441
- "props": {
23442
- "title": "Register",
23443
- "style": "secondary",
23444
- "fullWidth": false,
23445
- "action": {
23446
- "actionId": "himi.open",
23447
- "params": {
23448
- "screenId": "$item.detailScreenId",
23449
- "id": "$item.id"
23556
+ "spacing": 0,
23557
+ "children": [
23558
+ {
23559
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
23560
+ "body": {
23561
+ "package": "himalaya",
23562
+ "type": "Button",
23563
+ "props": {
23564
+ "title": "View details",
23565
+ "style": "secondary",
23566
+ "fullWidth": true,
23567
+ "action": {
23568
+ "actionId": "himi.open",
23569
+ "params": {
23570
+ "screenId": "$item.detailScreenId",
23571
+ "id": "$item.id"
23572
+ }
23573
+ }
23574
+ }
23575
+ },
23576
+ "modifiers": {
23577
+ "hiddenPath": "$item.collectionNotEnded",
23578
+ "padding": {
23579
+ "bottom": 8
23580
+ }
23581
+ }
23450
23582
  }
23451
- }
23583
+ ]
23452
23584
  }
23585
+ },
23586
+ "modifiers": {
23587
+ "hiddenPath": "$item.collectionNoIdentity"
23453
23588
  }
23454
23589
  },
23455
23590
  {
23456
23591
  "id": "",
23457
23592
  "body": {
23458
23593
  "package": "himalaya",
23459
- "type": "Spacer",
23460
- "props": {}
23461
- }
23462
- },
23463
- {
23464
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
23465
- "body": {
23466
- "package": "himalaya",
23467
- "type": "Menu",
23594
+ "type": "HStack",
23468
23595
  "props": {
23469
- "style": "dropdown",
23470
- "anchor": {
23471
- "id": "",
23472
- "body": {
23473
- "package": "himalaya",
23474
- "type": "Icon",
23475
- "props": {
23476
- "name": "ellipsis",
23477
- "size": 20
23596
+ "spacing": 8,
23597
+ "children": [
23598
+ {
23599
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
23600
+ "body": {
23601
+ "package": "himalaya",
23602
+ "type": "Button",
23603
+ "props": {
23604
+ "title": "$item.collectionSelectLabel",
23605
+ "style": "plain",
23606
+ "fullWidth": false,
23607
+ "action": {
23608
+ "actionId": "tier5.himiEvents.collectionSelect",
23609
+ "params": {
23610
+ "id": "$item.collectionId"
23611
+ }
23612
+ }
23613
+ }
23614
+ },
23615
+ "modifiers": {
23616
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
23478
23617
  }
23479
23618
  },
23480
- "modifiers": {
23481
- "width": 44,
23482
- "height": 44,
23483
- "accessibilityLabel": "Item actions"
23484
- }
23485
- },
23486
- "items": [
23487
23619
  {
23488
- "id": "preview",
23489
- "label": "Quick preview",
23490
- "icon": "search",
23491
- "action": {
23492
- "actionId": "tier5.himiEvents.collectionPreview",
23493
- "params": {
23494
- "id": "$item.collectionId"
23620
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
23621
+ "body": {
23622
+ "package": "himalaya",
23623
+ "type": "Button",
23624
+ "props": {
23625
+ "title": "Register",
23626
+ "style": "secondary",
23627
+ "fullWidth": false,
23628
+ "action": {
23629
+ "actionId": "himi.open",
23630
+ "params": {
23631
+ "screenId": "$item.detailScreenId",
23632
+ "id": "$item.id"
23633
+ }
23634
+ }
23495
23635
  }
23636
+ },
23637
+ "modifiers": {
23638
+ "hiddenPath": "$item.collectionEnded"
23496
23639
  }
23497
23640
  },
23498
23641
  {
23499
- "id": "save",
23500
- "label": "$item.collectionSaveLabel",
23501
- "icon": "bookmark",
23502
- "action": {
23503
- "actionId": "tier5.himiEvents.collectionSave",
23504
- "params": {
23505
- "id": "$item.collectionId"
23506
- }
23642
+ "id": "",
23643
+ "body": {
23644
+ "package": "himalaya",
23645
+ "type": "Spacer",
23646
+ "props": {}
23507
23647
  }
23508
23648
  },
23509
23649
  {
23510
- "id": "open",
23511
- "label": "Open details",
23512
- "icon": "chevron_right",
23513
- "action": {
23514
- "actionId": "himi.open",
23515
- "params": {
23516
- "screenId": "$item.detailScreenId",
23517
- "id": "$item.id"
23650
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
23651
+ "body": {
23652
+ "package": "himalaya",
23653
+ "type": "Menu",
23654
+ "props": {
23655
+ "style": "dropdown",
23656
+ "anchor": {
23657
+ "id": "",
23658
+ "body": {
23659
+ "package": "himalaya",
23660
+ "type": "Icon",
23661
+ "props": {
23662
+ "name": "ellipsis",
23663
+ "size": 20
23664
+ }
23665
+ },
23666
+ "modifiers": {
23667
+ "width": 44,
23668
+ "height": 44,
23669
+ "accessibilityLabel": "Item actions"
23670
+ }
23671
+ },
23672
+ "items": [
23673
+ {
23674
+ "id": "preview",
23675
+ "label": "Quick preview",
23676
+ "icon": "search",
23677
+ "action": {
23678
+ "actionId": "tier5.himiEvents.collectionPreview",
23679
+ "params": {
23680
+ "id": "$item.collectionId"
23681
+ }
23682
+ }
23683
+ },
23684
+ {
23685
+ "id": "save",
23686
+ "label": "$item.collectionSaveLabel",
23687
+ "icon": "bookmark",
23688
+ "action": {
23689
+ "actionId": "tier5.himiEvents.collectionSave",
23690
+ "params": {
23691
+ "id": "$item.collectionId"
23692
+ }
23693
+ }
23694
+ },
23695
+ {
23696
+ "id": "open",
23697
+ "label": "Open details",
23698
+ "icon": "chevron_right",
23699
+ "action": {
23700
+ "actionId": "himi.open",
23701
+ "params": {
23702
+ "screenId": "$item.detailScreenId",
23703
+ "id": "$item.id"
23704
+ }
23705
+ }
23706
+ }
23707
+ ]
23518
23708
  }
23519
23709
  }
23520
23710
  }
23521
23711
  ]
23522
23712
  }
23713
+ },
23714
+ "modifiers": {
23715
+ "hiddenPath": "$item.collectionNoIdentity"
23523
23716
  }
23524
23717
  }
23525
23718
  ]
23526
23719
  }
23527
- },
23528
- "modifiers": {
23529
- "hiddenPath": "$item.collectionNoIdentity"
23530
23720
  }
23531
23721
  }
23532
23722
  ]
@@ -24099,125 +24289,181 @@ const SCREENS = runtimeSetting({
24099
24289
  "id": "",
24100
24290
  "body": {
24101
24291
  "package": "himalaya",
24102
- "type": "HStack",
24292
+ "type": "VStack",
24103
24293
  "props": {
24104
- "spacing": 8,
24294
+ "spacing": 0,
24295
+ "alignment": "leading",
24105
24296
  "children": [
24106
24297
  {
24107
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
24298
+ "id": "",
24108
24299
  "body": {
24109
24300
  "package": "himalaya",
24110
- "type": "Button",
24301
+ "type": "VStack",
24111
24302
  "props": {
24112
- "title": "$item.collectionSelectLabel",
24113
- "style": "plain",
24114
- "fullWidth": false,
24115
- "action": {
24116
- "actionId": "tier5.himiEvents.collectionSelect",
24117
- "params": {
24118
- "id": "$item.collectionId"
24303
+ "spacing": 0,
24304
+ "children": [
24305
+ {
24306
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
24307
+ "body": {
24308
+ "package": "himalaya",
24309
+ "type": "Button",
24310
+ "props": {
24311
+ "title": "View details",
24312
+ "style": "secondary",
24313
+ "fullWidth": true,
24314
+ "action": {
24315
+ "actionId": "himi.open",
24316
+ "params": {
24317
+ "screenId": "$item.detailScreenId",
24318
+ "id": "$item.id"
24319
+ }
24320
+ }
24321
+ }
24322
+ },
24323
+ "modifiers": {
24324
+ "hiddenPath": "$item.collectionNotEnded",
24325
+ "padding": {
24326
+ "bottom": 8
24327
+ }
24328
+ }
24119
24329
  }
24120
- }
24330
+ ]
24121
24331
  }
24122
24332
  },
24123
24333
  "modifiers": {
24124
- "hiddenPath": "$service:himiEvents.collection.noSelection"
24125
- }
24126
- },
24127
- {
24128
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
24129
- "body": {
24130
- "package": "himalaya",
24131
- "type": "Button",
24132
- "props": {
24133
- "title": "Register",
24134
- "style": "secondary",
24135
- "fullWidth": false,
24136
- "action": {
24137
- "actionId": "himi.open",
24138
- "params": {
24139
- "screenId": "$item.detailScreenId",
24140
- "id": "$item.id"
24141
- }
24142
- }
24143
- }
24334
+ "hiddenPath": "$item.collectionNoIdentity"
24144
24335
  }
24145
24336
  },
24146
24337
  {
24147
24338
  "id": "",
24148
24339
  "body": {
24149
24340
  "package": "himalaya",
24150
- "type": "Spacer",
24151
- "props": {}
24152
- }
24153
- },
24154
- {
24155
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
24156
- "body": {
24157
- "package": "himalaya",
24158
- "type": "Menu",
24341
+ "type": "HStack",
24159
24342
  "props": {
24160
- "style": "dropdown",
24161
- "anchor": {
24162
- "id": "",
24163
- "body": {
24164
- "package": "himalaya",
24165
- "type": "Icon",
24166
- "props": {
24167
- "name": "ellipsis",
24168
- "size": 20
24343
+ "spacing": 8,
24344
+ "children": [
24345
+ {
24346
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
24347
+ "body": {
24348
+ "package": "himalaya",
24349
+ "type": "Button",
24350
+ "props": {
24351
+ "title": "$item.collectionSelectLabel",
24352
+ "style": "plain",
24353
+ "fullWidth": false,
24354
+ "action": {
24355
+ "actionId": "tier5.himiEvents.collectionSelect",
24356
+ "params": {
24357
+ "id": "$item.collectionId"
24358
+ }
24359
+ }
24360
+ }
24361
+ },
24362
+ "modifiers": {
24363
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
24169
24364
  }
24170
24365
  },
24171
- "modifiers": {
24172
- "width": 44,
24173
- "height": 44,
24174
- "accessibilityLabel": "Item actions"
24175
- }
24176
- },
24177
- "items": [
24178
24366
  {
24179
- "id": "preview",
24180
- "label": "Quick preview",
24181
- "icon": "search",
24182
- "action": {
24183
- "actionId": "tier5.himiEvents.collectionPreview",
24184
- "params": {
24185
- "id": "$item.collectionId"
24367
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
24368
+ "body": {
24369
+ "package": "himalaya",
24370
+ "type": "Button",
24371
+ "props": {
24372
+ "title": "Register",
24373
+ "style": "secondary",
24374
+ "fullWidth": false,
24375
+ "action": {
24376
+ "actionId": "himi.open",
24377
+ "params": {
24378
+ "screenId": "$item.detailScreenId",
24379
+ "id": "$item.id"
24380
+ }
24381
+ }
24186
24382
  }
24383
+ },
24384
+ "modifiers": {
24385
+ "hiddenPath": "$item.collectionEnded"
24187
24386
  }
24188
24387
  },
24189
24388
  {
24190
- "id": "save",
24191
- "label": "$item.collectionSaveLabel",
24192
- "icon": "bookmark",
24193
- "action": {
24194
- "actionId": "tier5.himiEvents.collectionSave",
24195
- "params": {
24196
- "id": "$item.collectionId"
24197
- }
24389
+ "id": "",
24390
+ "body": {
24391
+ "package": "himalaya",
24392
+ "type": "Spacer",
24393
+ "props": {}
24198
24394
  }
24199
24395
  },
24200
24396
  {
24201
- "id": "open",
24202
- "label": "Open details",
24203
- "icon": "chevron_right",
24204
- "action": {
24205
- "actionId": "himi.open",
24206
- "params": {
24207
- "screenId": "$item.detailScreenId",
24208
- "id": "$item.id"
24397
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
24398
+ "body": {
24399
+ "package": "himalaya",
24400
+ "type": "Menu",
24401
+ "props": {
24402
+ "style": "dropdown",
24403
+ "anchor": {
24404
+ "id": "",
24405
+ "body": {
24406
+ "package": "himalaya",
24407
+ "type": "Icon",
24408
+ "props": {
24409
+ "name": "ellipsis",
24410
+ "size": 20
24411
+ }
24412
+ },
24413
+ "modifiers": {
24414
+ "width": 44,
24415
+ "height": 44,
24416
+ "accessibilityLabel": "Item actions"
24417
+ }
24418
+ },
24419
+ "items": [
24420
+ {
24421
+ "id": "preview",
24422
+ "label": "Quick preview",
24423
+ "icon": "search",
24424
+ "action": {
24425
+ "actionId": "tier5.himiEvents.collectionPreview",
24426
+ "params": {
24427
+ "id": "$item.collectionId"
24428
+ }
24429
+ }
24430
+ },
24431
+ {
24432
+ "id": "save",
24433
+ "label": "$item.collectionSaveLabel",
24434
+ "icon": "bookmark",
24435
+ "action": {
24436
+ "actionId": "tier5.himiEvents.collectionSave",
24437
+ "params": {
24438
+ "id": "$item.collectionId"
24439
+ }
24440
+ }
24441
+ },
24442
+ {
24443
+ "id": "open",
24444
+ "label": "Open details",
24445
+ "icon": "chevron_right",
24446
+ "action": {
24447
+ "actionId": "himi.open",
24448
+ "params": {
24449
+ "screenId": "$item.detailScreenId",
24450
+ "id": "$item.id"
24451
+ }
24452
+ }
24453
+ }
24454
+ ]
24209
24455
  }
24210
24456
  }
24211
24457
  }
24212
24458
  ]
24213
24459
  }
24460
+ },
24461
+ "modifiers": {
24462
+ "hiddenPath": "$item.collectionNoIdentity"
24214
24463
  }
24215
24464
  }
24216
24465
  ]
24217
24466
  }
24218
- },
24219
- "modifiers": {
24220
- "hiddenPath": "$item.collectionNoIdentity"
24221
24467
  }
24222
24468
  }
24223
24469
  ]