@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
@@ -47869,6 +47869,7 @@ const SCREENS = runtimeSetting({
47869
47869
  "props": {
47870
47870
  "id": "title",
47871
47871
  "label": "Title",
47872
+ "required": true,
47872
47873
  "kind": "text",
47873
47874
  "text": {
47874
47875
  "placeholder": "Add a title",
@@ -47916,7 +47917,10 @@ const SCREENS = runtimeSetting({
47916
47917
  "style": "primary",
47917
47918
  "fullWidth": true,
47918
47919
  "action": {
47919
- "actionId": "tier5.spacesCreatePost.submit"
47920
+ "actionId": "tier5.spacesCreatePost.submit",
47921
+ "params": {
47922
+ "postScreenId": "himi_blog_post"
47923
+ }
47920
47924
  }
47921
47925
  }
47922
47926
  }
@@ -49448,21 +49452,58 @@ const SCREENS = runtimeSetting({
49448
49452
  }
49449
49453
  },
49450
49454
  {
49451
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
49455
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
49452
49456
  "body": {
49453
49457
  "package": "himalaya",
49454
- "type": "Button",
49458
+ "type": "HStack",
49455
49459
  "props": {
49456
- "title": "Register",
49457
- "style": "secondary",
49458
- "fullWidth": false,
49459
- "action": {
49460
- "actionId": "himi.open",
49461
- "params": {
49462
- "screenId": "$item.detailScreenId",
49463
- "id": "$item.id"
49460
+ "spacing": 0,
49461
+ "children": [
49462
+ {
49463
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
49464
+ "body": {
49465
+ "package": "himalaya",
49466
+ "type": "Button",
49467
+ "props": {
49468
+ "title": "Register",
49469
+ "style": "secondary",
49470
+ "fullWidth": false,
49471
+ "action": {
49472
+ "actionId": "himi.open",
49473
+ "params": {
49474
+ "screenId": "$item.detailScreenId",
49475
+ "id": "$item.id"
49476
+ }
49477
+ }
49478
+ }
49479
+ },
49480
+ "modifiers": {
49481
+ "hiddenPath": "$item.collectionEnded"
49482
+ }
49483
+ },
49484
+ {
49485
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
49486
+ "body": {
49487
+ "package": "himalaya",
49488
+ "type": "Button",
49489
+ "props": {
49490
+ "title": "View details",
49491
+ "style": "secondary",
49492
+ "fullWidth": false,
49493
+ "action": {
49494
+ "actionId": "himi.open",
49495
+ "params": {
49496
+ "screenId": "$item.detailScreenId",
49497
+ "id": "$item.id"
49498
+ }
49499
+ }
49500
+ }
49501
+ },
49502
+ "modifiers": {
49503
+ "hiddenPath": "$item.collectionNotEnded"
49504
+ }
49464
49505
  }
49465
- }
49506
+ ]
49466
49507
  }
49467
49508
  }
49468
49509
  },
@@ -49770,125 +49811,181 @@ const SCREENS = runtimeSetting({
49770
49811
  "id": "",
49771
49812
  "body": {
49772
49813
  "package": "himalaya",
49773
- "type": "HStack",
49814
+ "type": "VStack",
49774
49815
  "props": {
49775
- "spacing": 8,
49816
+ "spacing": 0,
49817
+ "alignment": "leading",
49776
49818
  "children": [
49777
49819
  {
49778
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
49820
+ "id": "",
49779
49821
  "body": {
49780
49822
  "package": "himalaya",
49781
- "type": "Button",
49823
+ "type": "VStack",
49782
49824
  "props": {
49783
- "title": "$item.collectionSelectLabel",
49784
- "style": "plain",
49785
- "fullWidth": false,
49786
- "action": {
49787
- "actionId": "tier5.himiEvents.collectionSelect",
49788
- "params": {
49789
- "id": "$item.collectionId"
49825
+ "spacing": 0,
49826
+ "children": [
49827
+ {
49828
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
49829
+ "body": {
49830
+ "package": "himalaya",
49831
+ "type": "Button",
49832
+ "props": {
49833
+ "title": "View details",
49834
+ "style": "secondary",
49835
+ "fullWidth": true,
49836
+ "action": {
49837
+ "actionId": "himi.open",
49838
+ "params": {
49839
+ "screenId": "$item.detailScreenId",
49840
+ "id": "$item.id"
49841
+ }
49842
+ }
49843
+ }
49844
+ },
49845
+ "modifiers": {
49846
+ "hiddenPath": "$item.collectionNotEnded",
49847
+ "padding": {
49848
+ "bottom": 8
49849
+ }
49850
+ }
49790
49851
  }
49791
- }
49852
+ ]
49792
49853
  }
49793
49854
  },
49794
49855
  "modifiers": {
49795
- "hiddenPath": "$service:himiEvents.collection.noSelection"
49796
- }
49797
- },
49798
- {
49799
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
49800
- "body": {
49801
- "package": "himalaya",
49802
- "type": "Button",
49803
- "props": {
49804
- "title": "Register",
49805
- "style": "secondary",
49806
- "fullWidth": false,
49807
- "action": {
49808
- "actionId": "himi.open",
49809
- "params": {
49810
- "screenId": "$item.detailScreenId",
49811
- "id": "$item.id"
49812
- }
49813
- }
49814
- }
49856
+ "hiddenPath": "$item.collectionNoIdentity"
49815
49857
  }
49816
49858
  },
49817
49859
  {
49818
49860
  "id": "",
49819
49861
  "body": {
49820
49862
  "package": "himalaya",
49821
- "type": "Spacer",
49822
- "props": {}
49823
- }
49824
- },
49825
- {
49826
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
49827
- "body": {
49828
- "package": "himalaya",
49829
- "type": "Menu",
49863
+ "type": "HStack",
49830
49864
  "props": {
49831
- "style": "dropdown",
49832
- "anchor": {
49833
- "id": "",
49834
- "body": {
49835
- "package": "himalaya",
49836
- "type": "Icon",
49837
- "props": {
49838
- "name": "ellipsis",
49839
- "size": 20
49865
+ "spacing": 8,
49866
+ "children": [
49867
+ {
49868
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
49869
+ "body": {
49870
+ "package": "himalaya",
49871
+ "type": "Button",
49872
+ "props": {
49873
+ "title": "$item.collectionSelectLabel",
49874
+ "style": "plain",
49875
+ "fullWidth": false,
49876
+ "action": {
49877
+ "actionId": "tier5.himiEvents.collectionSelect",
49878
+ "params": {
49879
+ "id": "$item.collectionId"
49880
+ }
49881
+ }
49882
+ }
49883
+ },
49884
+ "modifiers": {
49885
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
49840
49886
  }
49841
49887
  },
49842
- "modifiers": {
49843
- "width": 44,
49844
- "height": 44,
49845
- "accessibilityLabel": "Item actions"
49846
- }
49847
- },
49848
- "items": [
49849
49888
  {
49850
- "id": "preview",
49851
- "label": "Quick preview",
49852
- "icon": "search",
49853
- "action": {
49854
- "actionId": "tier5.himiEvents.collectionPreview",
49855
- "params": {
49856
- "id": "$item.collectionId"
49889
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
49890
+ "body": {
49891
+ "package": "himalaya",
49892
+ "type": "Button",
49893
+ "props": {
49894
+ "title": "Register",
49895
+ "style": "secondary",
49896
+ "fullWidth": false,
49897
+ "action": {
49898
+ "actionId": "himi.open",
49899
+ "params": {
49900
+ "screenId": "$item.detailScreenId",
49901
+ "id": "$item.id"
49902
+ }
49903
+ }
49857
49904
  }
49905
+ },
49906
+ "modifiers": {
49907
+ "hiddenPath": "$item.collectionEnded"
49858
49908
  }
49859
49909
  },
49860
49910
  {
49861
- "id": "save",
49862
- "label": "$item.collectionSaveLabel",
49863
- "icon": "bookmark",
49864
- "action": {
49865
- "actionId": "tier5.himiEvents.collectionSave",
49866
- "params": {
49867
- "id": "$item.collectionId"
49868
- }
49911
+ "id": "",
49912
+ "body": {
49913
+ "package": "himalaya",
49914
+ "type": "Spacer",
49915
+ "props": {}
49869
49916
  }
49870
49917
  },
49871
49918
  {
49872
- "id": "open",
49873
- "label": "Open details",
49874
- "icon": "chevron_right",
49875
- "action": {
49876
- "actionId": "himi.open",
49877
- "params": {
49878
- "screenId": "$item.detailScreenId",
49879
- "id": "$item.id"
49919
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
49920
+ "body": {
49921
+ "package": "himalaya",
49922
+ "type": "Menu",
49923
+ "props": {
49924
+ "style": "dropdown",
49925
+ "anchor": {
49926
+ "id": "",
49927
+ "body": {
49928
+ "package": "himalaya",
49929
+ "type": "Icon",
49930
+ "props": {
49931
+ "name": "ellipsis",
49932
+ "size": 20
49933
+ }
49934
+ },
49935
+ "modifiers": {
49936
+ "width": 44,
49937
+ "height": 44,
49938
+ "accessibilityLabel": "Item actions"
49939
+ }
49940
+ },
49941
+ "items": [
49942
+ {
49943
+ "id": "preview",
49944
+ "label": "Quick preview",
49945
+ "icon": "search",
49946
+ "action": {
49947
+ "actionId": "tier5.himiEvents.collectionPreview",
49948
+ "params": {
49949
+ "id": "$item.collectionId"
49950
+ }
49951
+ }
49952
+ },
49953
+ {
49954
+ "id": "save",
49955
+ "label": "$item.collectionSaveLabel",
49956
+ "icon": "bookmark",
49957
+ "action": {
49958
+ "actionId": "tier5.himiEvents.collectionSave",
49959
+ "params": {
49960
+ "id": "$item.collectionId"
49961
+ }
49962
+ }
49963
+ },
49964
+ {
49965
+ "id": "open",
49966
+ "label": "Open details",
49967
+ "icon": "chevron_right",
49968
+ "action": {
49969
+ "actionId": "himi.open",
49970
+ "params": {
49971
+ "screenId": "$item.detailScreenId",
49972
+ "id": "$item.id"
49973
+ }
49974
+ }
49975
+ }
49976
+ ]
49880
49977
  }
49881
49978
  }
49882
49979
  }
49883
49980
  ]
49884
49981
  }
49982
+ },
49983
+ "modifiers": {
49984
+ "hiddenPath": "$item.collectionNoIdentity"
49885
49985
  }
49886
49986
  }
49887
49987
  ]
49888
49988
  }
49889
- },
49890
- "modifiers": {
49891
- "hiddenPath": "$item.collectionNoIdentity"
49892
49989
  }
49893
49990
  }
49894
49991
  ]
@@ -50123,21 +50220,58 @@ const SCREENS = runtimeSetting({
50123
50220
  }
50124
50221
  },
50125
50222
  {
50126
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
50223
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
50127
50224
  "body": {
50128
50225
  "package": "himalaya",
50129
- "type": "Button",
50226
+ "type": "HStack",
50130
50227
  "props": {
50131
- "title": "Register",
50132
- "style": "secondary",
50133
- "fullWidth": false,
50134
- "action": {
50135
- "actionId": "himi.open",
50136
- "params": {
50137
- "screenId": "$item.detailScreenId",
50138
- "id": "$item.id"
50228
+ "spacing": 0,
50229
+ "children": [
50230
+ {
50231
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
50232
+ "body": {
50233
+ "package": "himalaya",
50234
+ "type": "Button",
50235
+ "props": {
50236
+ "title": "Register",
50237
+ "style": "secondary",
50238
+ "fullWidth": false,
50239
+ "action": {
50240
+ "actionId": "himi.open",
50241
+ "params": {
50242
+ "screenId": "$item.detailScreenId",
50243
+ "id": "$item.id"
50244
+ }
50245
+ }
50246
+ }
50247
+ },
50248
+ "modifiers": {
50249
+ "hiddenPath": "$item.collectionEnded"
50250
+ }
50251
+ },
50252
+ {
50253
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
50254
+ "body": {
50255
+ "package": "himalaya",
50256
+ "type": "Button",
50257
+ "props": {
50258
+ "title": "View details",
50259
+ "style": "secondary",
50260
+ "fullWidth": false,
50261
+ "action": {
50262
+ "actionId": "himi.open",
50263
+ "params": {
50264
+ "screenId": "$item.detailScreenId",
50265
+ "id": "$item.id"
50266
+ }
50267
+ }
50268
+ }
50269
+ },
50270
+ "modifiers": {
50271
+ "hiddenPath": "$item.collectionNotEnded"
50272
+ }
50139
50273
  }
50140
- }
50274
+ ]
50141
50275
  }
50142
50276
  }
50143
50277
  },
@@ -50445,125 +50579,181 @@ const SCREENS = runtimeSetting({
50445
50579
  "id": "",
50446
50580
  "body": {
50447
50581
  "package": "himalaya",
50448
- "type": "HStack",
50582
+ "type": "VStack",
50449
50583
  "props": {
50450
- "spacing": 8,
50584
+ "spacing": 0,
50585
+ "alignment": "leading",
50451
50586
  "children": [
50452
50587
  {
50453
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
50588
+ "id": "",
50454
50589
  "body": {
50455
50590
  "package": "himalaya",
50456
- "type": "Button",
50591
+ "type": "VStack",
50457
50592
  "props": {
50458
- "title": "$item.collectionSelectLabel",
50459
- "style": "plain",
50460
- "fullWidth": false,
50461
- "action": {
50462
- "actionId": "tier5.himiEvents.collectionSelect",
50463
- "params": {
50464
- "id": "$item.collectionId"
50465
- }
50466
- }
50467
- }
50468
- },
50469
- "modifiers": {
50470
- "hiddenPath": "$service:himiEvents.collection.noSelection"
50471
- }
50472
- },
50473
- {
50474
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
50475
- "body": {
50476
- "package": "himalaya",
50477
- "type": "Button",
50478
- "props": {
50479
- "title": "Register",
50480
- "style": "secondary",
50481
- "fullWidth": false,
50482
- "action": {
50483
- "actionId": "himi.open",
50484
- "params": {
50485
- "screenId": "$item.detailScreenId",
50486
- "id": "$item.id"
50593
+ "spacing": 0,
50594
+ "children": [
50595
+ {
50596
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
50597
+ "body": {
50598
+ "package": "himalaya",
50599
+ "type": "Button",
50600
+ "props": {
50601
+ "title": "View details",
50602
+ "style": "secondary",
50603
+ "fullWidth": true,
50604
+ "action": {
50605
+ "actionId": "himi.open",
50606
+ "params": {
50607
+ "screenId": "$item.detailScreenId",
50608
+ "id": "$item.id"
50609
+ }
50610
+ }
50611
+ }
50612
+ },
50613
+ "modifiers": {
50614
+ "hiddenPath": "$item.collectionNotEnded",
50615
+ "padding": {
50616
+ "bottom": 8
50617
+ }
50618
+ }
50487
50619
  }
50488
- }
50620
+ ]
50489
50621
  }
50622
+ },
50623
+ "modifiers": {
50624
+ "hiddenPath": "$item.collectionNoIdentity"
50490
50625
  }
50491
50626
  },
50492
50627
  {
50493
50628
  "id": "",
50494
50629
  "body": {
50495
50630
  "package": "himalaya",
50496
- "type": "Spacer",
50497
- "props": {}
50498
- }
50499
- },
50500
- {
50501
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
50502
- "body": {
50503
- "package": "himalaya",
50504
- "type": "Menu",
50631
+ "type": "HStack",
50505
50632
  "props": {
50506
- "style": "dropdown",
50507
- "anchor": {
50508
- "id": "",
50509
- "body": {
50510
- "package": "himalaya",
50511
- "type": "Icon",
50512
- "props": {
50513
- "name": "ellipsis",
50514
- "size": 20
50633
+ "spacing": 8,
50634
+ "children": [
50635
+ {
50636
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
50637
+ "body": {
50638
+ "package": "himalaya",
50639
+ "type": "Button",
50640
+ "props": {
50641
+ "title": "$item.collectionSelectLabel",
50642
+ "style": "plain",
50643
+ "fullWidth": false,
50644
+ "action": {
50645
+ "actionId": "tier5.himiEvents.collectionSelect",
50646
+ "params": {
50647
+ "id": "$item.collectionId"
50648
+ }
50649
+ }
50650
+ }
50651
+ },
50652
+ "modifiers": {
50653
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
50515
50654
  }
50516
50655
  },
50517
- "modifiers": {
50518
- "width": 44,
50519
- "height": 44,
50520
- "accessibilityLabel": "Item actions"
50521
- }
50522
- },
50523
- "items": [
50524
50656
  {
50525
- "id": "preview",
50526
- "label": "Quick preview",
50527
- "icon": "search",
50528
- "action": {
50529
- "actionId": "tier5.himiEvents.collectionPreview",
50530
- "params": {
50531
- "id": "$item.collectionId"
50657
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
50658
+ "body": {
50659
+ "package": "himalaya",
50660
+ "type": "Button",
50661
+ "props": {
50662
+ "title": "Register",
50663
+ "style": "secondary",
50664
+ "fullWidth": false,
50665
+ "action": {
50666
+ "actionId": "himi.open",
50667
+ "params": {
50668
+ "screenId": "$item.detailScreenId",
50669
+ "id": "$item.id"
50670
+ }
50671
+ }
50532
50672
  }
50673
+ },
50674
+ "modifiers": {
50675
+ "hiddenPath": "$item.collectionEnded"
50533
50676
  }
50534
50677
  },
50535
50678
  {
50536
- "id": "save",
50537
- "label": "$item.collectionSaveLabel",
50538
- "icon": "bookmark",
50539
- "action": {
50540
- "actionId": "tier5.himiEvents.collectionSave",
50541
- "params": {
50542
- "id": "$item.collectionId"
50543
- }
50679
+ "id": "",
50680
+ "body": {
50681
+ "package": "himalaya",
50682
+ "type": "Spacer",
50683
+ "props": {}
50544
50684
  }
50545
50685
  },
50546
50686
  {
50547
- "id": "open",
50548
- "label": "Open details",
50549
- "icon": "chevron_right",
50550
- "action": {
50551
- "actionId": "himi.open",
50552
- "params": {
50553
- "screenId": "$item.detailScreenId",
50554
- "id": "$item.id"
50687
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
50688
+ "body": {
50689
+ "package": "himalaya",
50690
+ "type": "Menu",
50691
+ "props": {
50692
+ "style": "dropdown",
50693
+ "anchor": {
50694
+ "id": "",
50695
+ "body": {
50696
+ "package": "himalaya",
50697
+ "type": "Icon",
50698
+ "props": {
50699
+ "name": "ellipsis",
50700
+ "size": 20
50701
+ }
50702
+ },
50703
+ "modifiers": {
50704
+ "width": 44,
50705
+ "height": 44,
50706
+ "accessibilityLabel": "Item actions"
50707
+ }
50708
+ },
50709
+ "items": [
50710
+ {
50711
+ "id": "preview",
50712
+ "label": "Quick preview",
50713
+ "icon": "search",
50714
+ "action": {
50715
+ "actionId": "tier5.himiEvents.collectionPreview",
50716
+ "params": {
50717
+ "id": "$item.collectionId"
50718
+ }
50719
+ }
50720
+ },
50721
+ {
50722
+ "id": "save",
50723
+ "label": "$item.collectionSaveLabel",
50724
+ "icon": "bookmark",
50725
+ "action": {
50726
+ "actionId": "tier5.himiEvents.collectionSave",
50727
+ "params": {
50728
+ "id": "$item.collectionId"
50729
+ }
50730
+ }
50731
+ },
50732
+ {
50733
+ "id": "open",
50734
+ "label": "Open details",
50735
+ "icon": "chevron_right",
50736
+ "action": {
50737
+ "actionId": "himi.open",
50738
+ "params": {
50739
+ "screenId": "$item.detailScreenId",
50740
+ "id": "$item.id"
50741
+ }
50742
+ }
50743
+ }
50744
+ ]
50555
50745
  }
50556
50746
  }
50557
50747
  }
50558
50748
  ]
50559
50749
  }
50750
+ },
50751
+ "modifiers": {
50752
+ "hiddenPath": "$item.collectionNoIdentity"
50560
50753
  }
50561
50754
  }
50562
50755
  ]
50563
50756
  }
50564
- },
50565
- "modifiers": {
50566
- "hiddenPath": "$item.collectionNoIdentity"
50567
50757
  }
50568
50758
  }
50569
50759
  ]
@@ -51136,125 +51326,181 @@ const SCREENS = runtimeSetting({
51136
51326
  "id": "",
51137
51327
  "body": {
51138
51328
  "package": "himalaya",
51139
- "type": "HStack",
51329
+ "type": "VStack",
51140
51330
  "props": {
51141
- "spacing": 8,
51331
+ "spacing": 0,
51332
+ "alignment": "leading",
51142
51333
  "children": [
51143
51334
  {
51144
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
51335
+ "id": "",
51145
51336
  "body": {
51146
51337
  "package": "himalaya",
51147
- "type": "Button",
51338
+ "type": "VStack",
51148
51339
  "props": {
51149
- "title": "$item.collectionSelectLabel",
51150
- "style": "plain",
51151
- "fullWidth": false,
51152
- "action": {
51153
- "actionId": "tier5.himiEvents.collectionSelect",
51154
- "params": {
51155
- "id": "$item.collectionId"
51340
+ "spacing": 0,
51341
+ "children": [
51342
+ {
51343
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
51344
+ "body": {
51345
+ "package": "himalaya",
51346
+ "type": "Button",
51347
+ "props": {
51348
+ "title": "View details",
51349
+ "style": "secondary",
51350
+ "fullWidth": true,
51351
+ "action": {
51352
+ "actionId": "himi.open",
51353
+ "params": {
51354
+ "screenId": "$item.detailScreenId",
51355
+ "id": "$item.id"
51356
+ }
51357
+ }
51358
+ }
51359
+ },
51360
+ "modifiers": {
51361
+ "hiddenPath": "$item.collectionNotEnded",
51362
+ "padding": {
51363
+ "bottom": 8
51364
+ }
51365
+ }
51156
51366
  }
51157
- }
51367
+ ]
51158
51368
  }
51159
51369
  },
51160
51370
  "modifiers": {
51161
- "hiddenPath": "$service:himiEvents.collection.noSelection"
51162
- }
51163
- },
51164
- {
51165
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
51166
- "body": {
51167
- "package": "himalaya",
51168
- "type": "Button",
51169
- "props": {
51170
- "title": "Register",
51171
- "style": "secondary",
51172
- "fullWidth": false,
51173
- "action": {
51174
- "actionId": "himi.open",
51175
- "params": {
51176
- "screenId": "$item.detailScreenId",
51177
- "id": "$item.id"
51178
- }
51179
- }
51180
- }
51371
+ "hiddenPath": "$item.collectionNoIdentity"
51181
51372
  }
51182
51373
  },
51183
51374
  {
51184
51375
  "id": "",
51185
51376
  "body": {
51186
51377
  "package": "himalaya",
51187
- "type": "Spacer",
51188
- "props": {}
51189
- }
51190
- },
51191
- {
51192
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
51193
- "body": {
51194
- "package": "himalaya",
51195
- "type": "Menu",
51378
+ "type": "HStack",
51196
51379
  "props": {
51197
- "style": "dropdown",
51198
- "anchor": {
51199
- "id": "",
51200
- "body": {
51201
- "package": "himalaya",
51202
- "type": "Icon",
51203
- "props": {
51204
- "name": "ellipsis",
51205
- "size": 20
51380
+ "spacing": 8,
51381
+ "children": [
51382
+ {
51383
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
51384
+ "body": {
51385
+ "package": "himalaya",
51386
+ "type": "Button",
51387
+ "props": {
51388
+ "title": "$item.collectionSelectLabel",
51389
+ "style": "plain",
51390
+ "fullWidth": false,
51391
+ "action": {
51392
+ "actionId": "tier5.himiEvents.collectionSelect",
51393
+ "params": {
51394
+ "id": "$item.collectionId"
51395
+ }
51396
+ }
51397
+ }
51398
+ },
51399
+ "modifiers": {
51400
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
51206
51401
  }
51207
51402
  },
51208
- "modifiers": {
51209
- "width": 44,
51210
- "height": 44,
51211
- "accessibilityLabel": "Item actions"
51212
- }
51213
- },
51214
- "items": [
51215
51403
  {
51216
- "id": "preview",
51217
- "label": "Quick preview",
51218
- "icon": "search",
51219
- "action": {
51220
- "actionId": "tier5.himiEvents.collectionPreview",
51221
- "params": {
51222
- "id": "$item.collectionId"
51404
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
51405
+ "body": {
51406
+ "package": "himalaya",
51407
+ "type": "Button",
51408
+ "props": {
51409
+ "title": "Register",
51410
+ "style": "secondary",
51411
+ "fullWidth": false,
51412
+ "action": {
51413
+ "actionId": "himi.open",
51414
+ "params": {
51415
+ "screenId": "$item.detailScreenId",
51416
+ "id": "$item.id"
51417
+ }
51418
+ }
51223
51419
  }
51420
+ },
51421
+ "modifiers": {
51422
+ "hiddenPath": "$item.collectionEnded"
51224
51423
  }
51225
51424
  },
51226
51425
  {
51227
- "id": "save",
51228
- "label": "$item.collectionSaveLabel",
51229
- "icon": "bookmark",
51230
- "action": {
51231
- "actionId": "tier5.himiEvents.collectionSave",
51232
- "params": {
51233
- "id": "$item.collectionId"
51234
- }
51426
+ "id": "",
51427
+ "body": {
51428
+ "package": "himalaya",
51429
+ "type": "Spacer",
51430
+ "props": {}
51235
51431
  }
51236
51432
  },
51237
51433
  {
51238
- "id": "open",
51239
- "label": "Open details",
51240
- "icon": "chevron_right",
51241
- "action": {
51242
- "actionId": "himi.open",
51243
- "params": {
51244
- "screenId": "$item.detailScreenId",
51245
- "id": "$item.id"
51434
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
51435
+ "body": {
51436
+ "package": "himalaya",
51437
+ "type": "Menu",
51438
+ "props": {
51439
+ "style": "dropdown",
51440
+ "anchor": {
51441
+ "id": "",
51442
+ "body": {
51443
+ "package": "himalaya",
51444
+ "type": "Icon",
51445
+ "props": {
51446
+ "name": "ellipsis",
51447
+ "size": 20
51448
+ }
51449
+ },
51450
+ "modifiers": {
51451
+ "width": 44,
51452
+ "height": 44,
51453
+ "accessibilityLabel": "Item actions"
51454
+ }
51455
+ },
51456
+ "items": [
51457
+ {
51458
+ "id": "preview",
51459
+ "label": "Quick preview",
51460
+ "icon": "search",
51461
+ "action": {
51462
+ "actionId": "tier5.himiEvents.collectionPreview",
51463
+ "params": {
51464
+ "id": "$item.collectionId"
51465
+ }
51466
+ }
51467
+ },
51468
+ {
51469
+ "id": "save",
51470
+ "label": "$item.collectionSaveLabel",
51471
+ "icon": "bookmark",
51472
+ "action": {
51473
+ "actionId": "tier5.himiEvents.collectionSave",
51474
+ "params": {
51475
+ "id": "$item.collectionId"
51476
+ }
51477
+ }
51478
+ },
51479
+ {
51480
+ "id": "open",
51481
+ "label": "Open details",
51482
+ "icon": "chevron_right",
51483
+ "action": {
51484
+ "actionId": "himi.open",
51485
+ "params": {
51486
+ "screenId": "$item.detailScreenId",
51487
+ "id": "$item.id"
51488
+ }
51489
+ }
51490
+ }
51491
+ ]
51246
51492
  }
51247
51493
  }
51248
51494
  }
51249
51495
  ]
51250
51496
  }
51497
+ },
51498
+ "modifiers": {
51499
+ "hiddenPath": "$item.collectionNoIdentity"
51251
51500
  }
51252
51501
  }
51253
51502
  ]
51254
51503
  }
51255
- },
51256
- "modifiers": {
51257
- "hiddenPath": "$item.collectionNoIdentity"
51258
51504
  }
51259
51505
  }
51260
51506
  ]