@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
@@ -14571,6 +14571,7 @@ const SCREENS = runtimeSetting({
14571
14571
  "props": {
14572
14572
  "id": "title",
14573
14573
  "label": "Title",
14574
+ "required": true,
14574
14575
  "kind": "text",
14575
14576
  "text": {
14576
14577
  "placeholder": "Add a title",
@@ -14618,7 +14619,10 @@ const SCREENS = runtimeSetting({
14618
14619
  "style": "primary",
14619
14620
  "fullWidth": true,
14620
14621
  "action": {
14621
- "actionId": "tier5.spacesCreatePost.submit"
14622
+ "actionId": "tier5.spacesCreatePost.submit",
14623
+ "params": {
14624
+ "postScreenId": "himi_blog_post"
14625
+ }
14622
14626
  }
14623
14627
  }
14624
14628
  }
@@ -15436,21 +15440,58 @@ const SCREENS = runtimeSetting({
15436
15440
  }
15437
15441
  },
15438
15442
  {
15439
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
15443
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
15440
15444
  "body": {
15441
15445
  "package": "himalaya",
15442
- "type": "Button",
15446
+ "type": "HStack",
15443
15447
  "props": {
15444
- "title": "Register",
15445
- "style": "secondary",
15446
- "fullWidth": false,
15447
- "action": {
15448
- "actionId": "himi.open",
15449
- "params": {
15450
- "screenId": "$item.detailScreenId",
15451
- "id": "$item.id"
15448
+ "spacing": 0,
15449
+ "children": [
15450
+ {
15451
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
15452
+ "body": {
15453
+ "package": "himalaya",
15454
+ "type": "Button",
15455
+ "props": {
15456
+ "title": "Register",
15457
+ "style": "secondary",
15458
+ "fullWidth": false,
15459
+ "action": {
15460
+ "actionId": "himi.open",
15461
+ "params": {
15462
+ "screenId": "$item.detailScreenId",
15463
+ "id": "$item.id"
15464
+ }
15465
+ }
15466
+ }
15467
+ },
15468
+ "modifiers": {
15469
+ "hiddenPath": "$item.collectionEnded"
15470
+ }
15471
+ },
15472
+ {
15473
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
15474
+ "body": {
15475
+ "package": "himalaya",
15476
+ "type": "Button",
15477
+ "props": {
15478
+ "title": "View details",
15479
+ "style": "secondary",
15480
+ "fullWidth": false,
15481
+ "action": {
15482
+ "actionId": "himi.open",
15483
+ "params": {
15484
+ "screenId": "$item.detailScreenId",
15485
+ "id": "$item.id"
15486
+ }
15487
+ }
15488
+ }
15489
+ },
15490
+ "modifiers": {
15491
+ "hiddenPath": "$item.collectionNotEnded"
15492
+ }
15452
15493
  }
15453
- }
15494
+ ]
15454
15495
  }
15455
15496
  }
15456
15497
  },
@@ -15758,125 +15799,181 @@ const SCREENS = runtimeSetting({
15758
15799
  "id": "",
15759
15800
  "body": {
15760
15801
  "package": "himalaya",
15761
- "type": "HStack",
15802
+ "type": "VStack",
15762
15803
  "props": {
15763
- "spacing": 8,
15804
+ "spacing": 0,
15805
+ "alignment": "leading",
15764
15806
  "children": [
15765
15807
  {
15766
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
15808
+ "id": "",
15767
15809
  "body": {
15768
15810
  "package": "himalaya",
15769
- "type": "Button",
15811
+ "type": "VStack",
15770
15812
  "props": {
15771
- "title": "$item.collectionSelectLabel",
15772
- "style": "plain",
15773
- "fullWidth": false,
15774
- "action": {
15775
- "actionId": "tier5.himiEvents.collectionSelect",
15776
- "params": {
15777
- "id": "$item.collectionId"
15813
+ "spacing": 0,
15814
+ "children": [
15815
+ {
15816
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
15817
+ "body": {
15818
+ "package": "himalaya",
15819
+ "type": "Button",
15820
+ "props": {
15821
+ "title": "View details",
15822
+ "style": "secondary",
15823
+ "fullWidth": true,
15824
+ "action": {
15825
+ "actionId": "himi.open",
15826
+ "params": {
15827
+ "screenId": "$item.detailScreenId",
15828
+ "id": "$item.id"
15829
+ }
15830
+ }
15831
+ }
15832
+ },
15833
+ "modifiers": {
15834
+ "hiddenPath": "$item.collectionNotEnded",
15835
+ "padding": {
15836
+ "bottom": 8
15837
+ }
15838
+ }
15778
15839
  }
15779
- }
15840
+ ]
15780
15841
  }
15781
15842
  },
15782
15843
  "modifiers": {
15783
- "hiddenPath": "$service:himiEvents.collection.noSelection"
15784
- }
15785
- },
15786
- {
15787
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
15788
- "body": {
15789
- "package": "himalaya",
15790
- "type": "Button",
15791
- "props": {
15792
- "title": "Register",
15793
- "style": "secondary",
15794
- "fullWidth": false,
15795
- "action": {
15796
- "actionId": "himi.open",
15797
- "params": {
15798
- "screenId": "$item.detailScreenId",
15799
- "id": "$item.id"
15800
- }
15801
- }
15802
- }
15844
+ "hiddenPath": "$item.collectionNoIdentity"
15803
15845
  }
15804
15846
  },
15805
15847
  {
15806
15848
  "id": "",
15807
15849
  "body": {
15808
15850
  "package": "himalaya",
15809
- "type": "Spacer",
15810
- "props": {}
15811
- }
15812
- },
15813
- {
15814
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
15815
- "body": {
15816
- "package": "himalaya",
15817
- "type": "Menu",
15851
+ "type": "HStack",
15818
15852
  "props": {
15819
- "style": "dropdown",
15820
- "anchor": {
15821
- "id": "",
15822
- "body": {
15823
- "package": "himalaya",
15824
- "type": "Icon",
15825
- "props": {
15826
- "name": "ellipsis",
15827
- "size": 20
15853
+ "spacing": 8,
15854
+ "children": [
15855
+ {
15856
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
15857
+ "body": {
15858
+ "package": "himalaya",
15859
+ "type": "Button",
15860
+ "props": {
15861
+ "title": "$item.collectionSelectLabel",
15862
+ "style": "plain",
15863
+ "fullWidth": false,
15864
+ "action": {
15865
+ "actionId": "tier5.himiEvents.collectionSelect",
15866
+ "params": {
15867
+ "id": "$item.collectionId"
15868
+ }
15869
+ }
15870
+ }
15871
+ },
15872
+ "modifiers": {
15873
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
15828
15874
  }
15829
15875
  },
15830
- "modifiers": {
15831
- "width": 44,
15832
- "height": 44,
15833
- "accessibilityLabel": "Item actions"
15834
- }
15835
- },
15836
- "items": [
15837
15876
  {
15838
- "id": "preview",
15839
- "label": "Quick preview",
15840
- "icon": "search",
15841
- "action": {
15842
- "actionId": "tier5.himiEvents.collectionPreview",
15843
- "params": {
15844
- "id": "$item.collectionId"
15877
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
15878
+ "body": {
15879
+ "package": "himalaya",
15880
+ "type": "Button",
15881
+ "props": {
15882
+ "title": "Register",
15883
+ "style": "secondary",
15884
+ "fullWidth": false,
15885
+ "action": {
15886
+ "actionId": "himi.open",
15887
+ "params": {
15888
+ "screenId": "$item.detailScreenId",
15889
+ "id": "$item.id"
15890
+ }
15891
+ }
15845
15892
  }
15893
+ },
15894
+ "modifiers": {
15895
+ "hiddenPath": "$item.collectionEnded"
15846
15896
  }
15847
15897
  },
15848
15898
  {
15849
- "id": "save",
15850
- "label": "$item.collectionSaveLabel",
15851
- "icon": "bookmark",
15852
- "action": {
15853
- "actionId": "tier5.himiEvents.collectionSave",
15854
- "params": {
15855
- "id": "$item.collectionId"
15856
- }
15899
+ "id": "",
15900
+ "body": {
15901
+ "package": "himalaya",
15902
+ "type": "Spacer",
15903
+ "props": {}
15857
15904
  }
15858
15905
  },
15859
15906
  {
15860
- "id": "open",
15861
- "label": "Open details",
15862
- "icon": "chevron_right",
15863
- "action": {
15864
- "actionId": "himi.open",
15865
- "params": {
15866
- "screenId": "$item.detailScreenId",
15867
- "id": "$item.id"
15907
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
15908
+ "body": {
15909
+ "package": "himalaya",
15910
+ "type": "Menu",
15911
+ "props": {
15912
+ "style": "dropdown",
15913
+ "anchor": {
15914
+ "id": "",
15915
+ "body": {
15916
+ "package": "himalaya",
15917
+ "type": "Icon",
15918
+ "props": {
15919
+ "name": "ellipsis",
15920
+ "size": 20
15921
+ }
15922
+ },
15923
+ "modifiers": {
15924
+ "width": 44,
15925
+ "height": 44,
15926
+ "accessibilityLabel": "Item actions"
15927
+ }
15928
+ },
15929
+ "items": [
15930
+ {
15931
+ "id": "preview",
15932
+ "label": "Quick preview",
15933
+ "icon": "search",
15934
+ "action": {
15935
+ "actionId": "tier5.himiEvents.collectionPreview",
15936
+ "params": {
15937
+ "id": "$item.collectionId"
15938
+ }
15939
+ }
15940
+ },
15941
+ {
15942
+ "id": "save",
15943
+ "label": "$item.collectionSaveLabel",
15944
+ "icon": "bookmark",
15945
+ "action": {
15946
+ "actionId": "tier5.himiEvents.collectionSave",
15947
+ "params": {
15948
+ "id": "$item.collectionId"
15949
+ }
15950
+ }
15951
+ },
15952
+ {
15953
+ "id": "open",
15954
+ "label": "Open details",
15955
+ "icon": "chevron_right",
15956
+ "action": {
15957
+ "actionId": "himi.open",
15958
+ "params": {
15959
+ "screenId": "$item.detailScreenId",
15960
+ "id": "$item.id"
15961
+ }
15962
+ }
15963
+ }
15964
+ ]
15868
15965
  }
15869
15966
  }
15870
15967
  }
15871
15968
  ]
15872
15969
  }
15970
+ },
15971
+ "modifiers": {
15972
+ "hiddenPath": "$item.collectionNoIdentity"
15873
15973
  }
15874
15974
  }
15875
15975
  ]
15876
15976
  }
15877
- },
15878
- "modifiers": {
15879
- "hiddenPath": "$item.collectionNoIdentity"
15880
15977
  }
15881
15978
  }
15882
15979
  ]
@@ -16111,21 +16208,58 @@ const SCREENS = runtimeSetting({
16111
16208
  }
16112
16209
  },
16113
16210
  {
16114
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
16211
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
16115
16212
  "body": {
16116
16213
  "package": "himalaya",
16117
- "type": "Button",
16214
+ "type": "HStack",
16118
16215
  "props": {
16119
- "title": "Register",
16120
- "style": "secondary",
16121
- "fullWidth": false,
16122
- "action": {
16123
- "actionId": "himi.open",
16124
- "params": {
16125
- "screenId": "$item.detailScreenId",
16126
- "id": "$item.id"
16216
+ "spacing": 0,
16217
+ "children": [
16218
+ {
16219
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
16220
+ "body": {
16221
+ "package": "himalaya",
16222
+ "type": "Button",
16223
+ "props": {
16224
+ "title": "Register",
16225
+ "style": "secondary",
16226
+ "fullWidth": false,
16227
+ "action": {
16228
+ "actionId": "himi.open",
16229
+ "params": {
16230
+ "screenId": "$item.detailScreenId",
16231
+ "id": "$item.id"
16232
+ }
16233
+ }
16234
+ }
16235
+ },
16236
+ "modifiers": {
16237
+ "hiddenPath": "$item.collectionEnded"
16238
+ }
16239
+ },
16240
+ {
16241
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
16242
+ "body": {
16243
+ "package": "himalaya",
16244
+ "type": "Button",
16245
+ "props": {
16246
+ "title": "View details",
16247
+ "style": "secondary",
16248
+ "fullWidth": false,
16249
+ "action": {
16250
+ "actionId": "himi.open",
16251
+ "params": {
16252
+ "screenId": "$item.detailScreenId",
16253
+ "id": "$item.id"
16254
+ }
16255
+ }
16256
+ }
16257
+ },
16258
+ "modifiers": {
16259
+ "hiddenPath": "$item.collectionNotEnded"
16260
+ }
16127
16261
  }
16128
- }
16262
+ ]
16129
16263
  }
16130
16264
  }
16131
16265
  },
@@ -16433,125 +16567,181 @@ const SCREENS = runtimeSetting({
16433
16567
  "id": "",
16434
16568
  "body": {
16435
16569
  "package": "himalaya",
16436
- "type": "HStack",
16570
+ "type": "VStack",
16437
16571
  "props": {
16438
- "spacing": 8,
16572
+ "spacing": 0,
16573
+ "alignment": "leading",
16439
16574
  "children": [
16440
16575
  {
16441
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
16576
+ "id": "",
16442
16577
  "body": {
16443
16578
  "package": "himalaya",
16444
- "type": "Button",
16579
+ "type": "VStack",
16445
16580
  "props": {
16446
- "title": "$item.collectionSelectLabel",
16447
- "style": "plain",
16448
- "fullWidth": false,
16449
- "action": {
16450
- "actionId": "tier5.himiEvents.collectionSelect",
16451
- "params": {
16452
- "id": "$item.collectionId"
16453
- }
16454
- }
16455
- }
16456
- },
16457
- "modifiers": {
16458
- "hiddenPath": "$service:himiEvents.collection.noSelection"
16459
- }
16460
- },
16461
- {
16462
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
16463
- "body": {
16464
- "package": "himalaya",
16465
- "type": "Button",
16466
- "props": {
16467
- "title": "Register",
16468
- "style": "secondary",
16469
- "fullWidth": false,
16470
- "action": {
16471
- "actionId": "himi.open",
16472
- "params": {
16473
- "screenId": "$item.detailScreenId",
16474
- "id": "$item.id"
16581
+ "spacing": 0,
16582
+ "children": [
16583
+ {
16584
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
16585
+ "body": {
16586
+ "package": "himalaya",
16587
+ "type": "Button",
16588
+ "props": {
16589
+ "title": "View details",
16590
+ "style": "secondary",
16591
+ "fullWidth": true,
16592
+ "action": {
16593
+ "actionId": "himi.open",
16594
+ "params": {
16595
+ "screenId": "$item.detailScreenId",
16596
+ "id": "$item.id"
16597
+ }
16598
+ }
16599
+ }
16600
+ },
16601
+ "modifiers": {
16602
+ "hiddenPath": "$item.collectionNotEnded",
16603
+ "padding": {
16604
+ "bottom": 8
16605
+ }
16606
+ }
16475
16607
  }
16476
- }
16608
+ ]
16477
16609
  }
16610
+ },
16611
+ "modifiers": {
16612
+ "hiddenPath": "$item.collectionNoIdentity"
16478
16613
  }
16479
16614
  },
16480
16615
  {
16481
16616
  "id": "",
16482
16617
  "body": {
16483
16618
  "package": "himalaya",
16484
- "type": "Spacer",
16485
- "props": {}
16486
- }
16487
- },
16488
- {
16489
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
16490
- "body": {
16491
- "package": "himalaya",
16492
- "type": "Menu",
16619
+ "type": "HStack",
16493
16620
  "props": {
16494
- "style": "dropdown",
16495
- "anchor": {
16496
- "id": "",
16497
- "body": {
16498
- "package": "himalaya",
16499
- "type": "Icon",
16500
- "props": {
16501
- "name": "ellipsis",
16502
- "size": 20
16621
+ "spacing": 8,
16622
+ "children": [
16623
+ {
16624
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
16625
+ "body": {
16626
+ "package": "himalaya",
16627
+ "type": "Button",
16628
+ "props": {
16629
+ "title": "$item.collectionSelectLabel",
16630
+ "style": "plain",
16631
+ "fullWidth": false,
16632
+ "action": {
16633
+ "actionId": "tier5.himiEvents.collectionSelect",
16634
+ "params": {
16635
+ "id": "$item.collectionId"
16636
+ }
16637
+ }
16638
+ }
16639
+ },
16640
+ "modifiers": {
16641
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
16503
16642
  }
16504
16643
  },
16505
- "modifiers": {
16506
- "width": 44,
16507
- "height": 44,
16508
- "accessibilityLabel": "Item actions"
16509
- }
16510
- },
16511
- "items": [
16512
16644
  {
16513
- "id": "preview",
16514
- "label": "Quick preview",
16515
- "icon": "search",
16516
- "action": {
16517
- "actionId": "tier5.himiEvents.collectionPreview",
16518
- "params": {
16519
- "id": "$item.collectionId"
16645
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
16646
+ "body": {
16647
+ "package": "himalaya",
16648
+ "type": "Button",
16649
+ "props": {
16650
+ "title": "Register",
16651
+ "style": "secondary",
16652
+ "fullWidth": false,
16653
+ "action": {
16654
+ "actionId": "himi.open",
16655
+ "params": {
16656
+ "screenId": "$item.detailScreenId",
16657
+ "id": "$item.id"
16658
+ }
16659
+ }
16520
16660
  }
16661
+ },
16662
+ "modifiers": {
16663
+ "hiddenPath": "$item.collectionEnded"
16521
16664
  }
16522
16665
  },
16523
16666
  {
16524
- "id": "save",
16525
- "label": "$item.collectionSaveLabel",
16526
- "icon": "bookmark",
16527
- "action": {
16528
- "actionId": "tier5.himiEvents.collectionSave",
16529
- "params": {
16530
- "id": "$item.collectionId"
16531
- }
16667
+ "id": "",
16668
+ "body": {
16669
+ "package": "himalaya",
16670
+ "type": "Spacer",
16671
+ "props": {}
16532
16672
  }
16533
16673
  },
16534
16674
  {
16535
- "id": "open",
16536
- "label": "Open details",
16537
- "icon": "chevron_right",
16538
- "action": {
16539
- "actionId": "himi.open",
16540
- "params": {
16541
- "screenId": "$item.detailScreenId",
16542
- "id": "$item.id"
16675
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
16676
+ "body": {
16677
+ "package": "himalaya",
16678
+ "type": "Menu",
16679
+ "props": {
16680
+ "style": "dropdown",
16681
+ "anchor": {
16682
+ "id": "",
16683
+ "body": {
16684
+ "package": "himalaya",
16685
+ "type": "Icon",
16686
+ "props": {
16687
+ "name": "ellipsis",
16688
+ "size": 20
16689
+ }
16690
+ },
16691
+ "modifiers": {
16692
+ "width": 44,
16693
+ "height": 44,
16694
+ "accessibilityLabel": "Item actions"
16695
+ }
16696
+ },
16697
+ "items": [
16698
+ {
16699
+ "id": "preview",
16700
+ "label": "Quick preview",
16701
+ "icon": "search",
16702
+ "action": {
16703
+ "actionId": "tier5.himiEvents.collectionPreview",
16704
+ "params": {
16705
+ "id": "$item.collectionId"
16706
+ }
16707
+ }
16708
+ },
16709
+ {
16710
+ "id": "save",
16711
+ "label": "$item.collectionSaveLabel",
16712
+ "icon": "bookmark",
16713
+ "action": {
16714
+ "actionId": "tier5.himiEvents.collectionSave",
16715
+ "params": {
16716
+ "id": "$item.collectionId"
16717
+ }
16718
+ }
16719
+ },
16720
+ {
16721
+ "id": "open",
16722
+ "label": "Open details",
16723
+ "icon": "chevron_right",
16724
+ "action": {
16725
+ "actionId": "himi.open",
16726
+ "params": {
16727
+ "screenId": "$item.detailScreenId",
16728
+ "id": "$item.id"
16729
+ }
16730
+ }
16731
+ }
16732
+ ]
16543
16733
  }
16544
16734
  }
16545
16735
  }
16546
16736
  ]
16547
16737
  }
16738
+ },
16739
+ "modifiers": {
16740
+ "hiddenPath": "$item.collectionNoIdentity"
16548
16741
  }
16549
16742
  }
16550
16743
  ]
16551
16744
  }
16552
- },
16553
- "modifiers": {
16554
- "hiddenPath": "$item.collectionNoIdentity"
16555
16745
  }
16556
16746
  }
16557
16747
  ]
@@ -17124,125 +17314,181 @@ const SCREENS = runtimeSetting({
17124
17314
  "id": "",
17125
17315
  "body": {
17126
17316
  "package": "himalaya",
17127
- "type": "HStack",
17317
+ "type": "VStack",
17128
17318
  "props": {
17129
- "spacing": 8,
17319
+ "spacing": 0,
17320
+ "alignment": "leading",
17130
17321
  "children": [
17131
17322
  {
17132
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
17323
+ "id": "",
17133
17324
  "body": {
17134
17325
  "package": "himalaya",
17135
- "type": "Button",
17326
+ "type": "VStack",
17136
17327
  "props": {
17137
- "title": "$item.collectionSelectLabel",
17138
- "style": "plain",
17139
- "fullWidth": false,
17140
- "action": {
17141
- "actionId": "tier5.himiEvents.collectionSelect",
17142
- "params": {
17143
- "id": "$item.collectionId"
17328
+ "spacing": 0,
17329
+ "children": [
17330
+ {
17331
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
17332
+ "body": {
17333
+ "package": "himalaya",
17334
+ "type": "Button",
17335
+ "props": {
17336
+ "title": "View details",
17337
+ "style": "secondary",
17338
+ "fullWidth": true,
17339
+ "action": {
17340
+ "actionId": "himi.open",
17341
+ "params": {
17342
+ "screenId": "$item.detailScreenId",
17343
+ "id": "$item.id"
17344
+ }
17345
+ }
17346
+ }
17347
+ },
17348
+ "modifiers": {
17349
+ "hiddenPath": "$item.collectionNotEnded",
17350
+ "padding": {
17351
+ "bottom": 8
17352
+ }
17353
+ }
17144
17354
  }
17145
- }
17355
+ ]
17146
17356
  }
17147
17357
  },
17148
17358
  "modifiers": {
17149
- "hiddenPath": "$service:himiEvents.collection.noSelection"
17150
- }
17151
- },
17152
- {
17153
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
17154
- "body": {
17155
- "package": "himalaya",
17156
- "type": "Button",
17157
- "props": {
17158
- "title": "Register",
17159
- "style": "secondary",
17160
- "fullWidth": false,
17161
- "action": {
17162
- "actionId": "himi.open",
17163
- "params": {
17164
- "screenId": "$item.detailScreenId",
17165
- "id": "$item.id"
17166
- }
17167
- }
17168
- }
17359
+ "hiddenPath": "$item.collectionNoIdentity"
17169
17360
  }
17170
17361
  },
17171
17362
  {
17172
17363
  "id": "",
17173
17364
  "body": {
17174
17365
  "package": "himalaya",
17175
- "type": "Spacer",
17176
- "props": {}
17177
- }
17178
- },
17179
- {
17180
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
17181
- "body": {
17182
- "package": "himalaya",
17183
- "type": "Menu",
17366
+ "type": "HStack",
17184
17367
  "props": {
17185
- "style": "dropdown",
17186
- "anchor": {
17187
- "id": "",
17188
- "body": {
17189
- "package": "himalaya",
17190
- "type": "Icon",
17191
- "props": {
17192
- "name": "ellipsis",
17193
- "size": 20
17368
+ "spacing": 8,
17369
+ "children": [
17370
+ {
17371
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
17372
+ "body": {
17373
+ "package": "himalaya",
17374
+ "type": "Button",
17375
+ "props": {
17376
+ "title": "$item.collectionSelectLabel",
17377
+ "style": "plain",
17378
+ "fullWidth": false,
17379
+ "action": {
17380
+ "actionId": "tier5.himiEvents.collectionSelect",
17381
+ "params": {
17382
+ "id": "$item.collectionId"
17383
+ }
17384
+ }
17385
+ }
17386
+ },
17387
+ "modifiers": {
17388
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
17194
17389
  }
17195
17390
  },
17196
- "modifiers": {
17197
- "width": 44,
17198
- "height": 44,
17199
- "accessibilityLabel": "Item actions"
17200
- }
17201
- },
17202
- "items": [
17203
17391
  {
17204
- "id": "preview",
17205
- "label": "Quick preview",
17206
- "icon": "search",
17207
- "action": {
17208
- "actionId": "tier5.himiEvents.collectionPreview",
17209
- "params": {
17210
- "id": "$item.collectionId"
17392
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
17393
+ "body": {
17394
+ "package": "himalaya",
17395
+ "type": "Button",
17396
+ "props": {
17397
+ "title": "Register",
17398
+ "style": "secondary",
17399
+ "fullWidth": false,
17400
+ "action": {
17401
+ "actionId": "himi.open",
17402
+ "params": {
17403
+ "screenId": "$item.detailScreenId",
17404
+ "id": "$item.id"
17405
+ }
17406
+ }
17211
17407
  }
17408
+ },
17409
+ "modifiers": {
17410
+ "hiddenPath": "$item.collectionEnded"
17212
17411
  }
17213
17412
  },
17214
17413
  {
17215
- "id": "save",
17216
- "label": "$item.collectionSaveLabel",
17217
- "icon": "bookmark",
17218
- "action": {
17219
- "actionId": "tier5.himiEvents.collectionSave",
17220
- "params": {
17221
- "id": "$item.collectionId"
17222
- }
17414
+ "id": "",
17415
+ "body": {
17416
+ "package": "himalaya",
17417
+ "type": "Spacer",
17418
+ "props": {}
17223
17419
  }
17224
17420
  },
17225
17421
  {
17226
- "id": "open",
17227
- "label": "Open details",
17228
- "icon": "chevron_right",
17229
- "action": {
17230
- "actionId": "himi.open",
17231
- "params": {
17232
- "screenId": "$item.detailScreenId",
17233
- "id": "$item.id"
17422
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
17423
+ "body": {
17424
+ "package": "himalaya",
17425
+ "type": "Menu",
17426
+ "props": {
17427
+ "style": "dropdown",
17428
+ "anchor": {
17429
+ "id": "",
17430
+ "body": {
17431
+ "package": "himalaya",
17432
+ "type": "Icon",
17433
+ "props": {
17434
+ "name": "ellipsis",
17435
+ "size": 20
17436
+ }
17437
+ },
17438
+ "modifiers": {
17439
+ "width": 44,
17440
+ "height": 44,
17441
+ "accessibilityLabel": "Item actions"
17442
+ }
17443
+ },
17444
+ "items": [
17445
+ {
17446
+ "id": "preview",
17447
+ "label": "Quick preview",
17448
+ "icon": "search",
17449
+ "action": {
17450
+ "actionId": "tier5.himiEvents.collectionPreview",
17451
+ "params": {
17452
+ "id": "$item.collectionId"
17453
+ }
17454
+ }
17455
+ },
17456
+ {
17457
+ "id": "save",
17458
+ "label": "$item.collectionSaveLabel",
17459
+ "icon": "bookmark",
17460
+ "action": {
17461
+ "actionId": "tier5.himiEvents.collectionSave",
17462
+ "params": {
17463
+ "id": "$item.collectionId"
17464
+ }
17465
+ }
17466
+ },
17467
+ {
17468
+ "id": "open",
17469
+ "label": "Open details",
17470
+ "icon": "chevron_right",
17471
+ "action": {
17472
+ "actionId": "himi.open",
17473
+ "params": {
17474
+ "screenId": "$item.detailScreenId",
17475
+ "id": "$item.id"
17476
+ }
17477
+ }
17478
+ }
17479
+ ]
17234
17480
  }
17235
17481
  }
17236
17482
  }
17237
17483
  ]
17238
17484
  }
17485
+ },
17486
+ "modifiers": {
17487
+ "hiddenPath": "$item.collectionNoIdentity"
17239
17488
  }
17240
17489
  }
17241
17490
  ]
17242
17491
  }
17243
- },
17244
- "modifiers": {
17245
- "hiddenPath": "$item.collectionNoIdentity"
17246
17492
  }
17247
17493
  }
17248
17494
  ]