@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
@@ -8145,6 +8145,7 @@ const SCREENS = runtimeSetting({
8145
8145
  "props": {
8146
8146
  "id": "title",
8147
8147
  "label": "Title",
8148
+ "required": true,
8148
8149
  "kind": "text",
8149
8150
  "text": {
8150
8151
  "placeholder": "Add a title",
@@ -8192,7 +8193,10 @@ const SCREENS = runtimeSetting({
8192
8193
  "style": "primary",
8193
8194
  "fullWidth": true,
8194
8195
  "action": {
8195
- "actionId": "tier5.spacesCreatePost.submit"
8196
+ "actionId": "tier5.spacesCreatePost.submit",
8197
+ "params": {
8198
+ "postScreenId": "himi_blog_post"
8199
+ }
8196
8200
  }
8197
8201
  }
8198
8202
  }
@@ -9010,21 +9014,58 @@ const SCREENS = runtimeSetting({
9010
9014
  }
9011
9015
  },
9012
9016
  {
9013
- "id": "himi_events.list.collection.list.$item.collectionId/primary",
9017
+ "id": "himi_events.list.collection.list.$item.collectionId/primary-group",
9014
9018
  "body": {
9015
9019
  "package": "himalaya",
9016
- "type": "Button",
9020
+ "type": "HStack",
9017
9021
  "props": {
9018
- "title": "Register",
9019
- "style": "secondary",
9020
- "fullWidth": false,
9021
- "action": {
9022
- "actionId": "himi.open",
9023
- "params": {
9024
- "screenId": "$item.detailScreenId",
9025
- "id": "$item.id"
9022
+ "spacing": 0,
9023
+ "children": [
9024
+ {
9025
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
9026
+ "body": {
9027
+ "package": "himalaya",
9028
+ "type": "Button",
9029
+ "props": {
9030
+ "title": "Register",
9031
+ "style": "secondary",
9032
+ "fullWidth": false,
9033
+ "action": {
9034
+ "actionId": "himi.open",
9035
+ "params": {
9036
+ "screenId": "$item.detailScreenId",
9037
+ "id": "$item.id"
9038
+ }
9039
+ }
9040
+ }
9041
+ },
9042
+ "modifiers": {
9043
+ "hiddenPath": "$item.collectionEnded"
9044
+ }
9045
+ },
9046
+ {
9047
+ "id": "himi_events.list.collection.list.$item.collectionId/details",
9048
+ "body": {
9049
+ "package": "himalaya",
9050
+ "type": "Button",
9051
+ "props": {
9052
+ "title": "View details",
9053
+ "style": "secondary",
9054
+ "fullWidth": false,
9055
+ "action": {
9056
+ "actionId": "himi.open",
9057
+ "params": {
9058
+ "screenId": "$item.detailScreenId",
9059
+ "id": "$item.id"
9060
+ }
9061
+ }
9062
+ }
9063
+ },
9064
+ "modifiers": {
9065
+ "hiddenPath": "$item.collectionNotEnded"
9066
+ }
9026
9067
  }
9027
- }
9068
+ ]
9028
9069
  }
9029
9070
  }
9030
9071
  },
@@ -9332,125 +9373,181 @@ const SCREENS = runtimeSetting({
9332
9373
  "id": "",
9333
9374
  "body": {
9334
9375
  "package": "himalaya",
9335
- "type": "HStack",
9376
+ "type": "VStack",
9336
9377
  "props": {
9337
- "spacing": 8,
9378
+ "spacing": 0,
9379
+ "alignment": "leading",
9338
9380
  "children": [
9339
9381
  {
9340
- "id": "himi_events.list.collection.grid.$item.collectionId/select",
9382
+ "id": "",
9341
9383
  "body": {
9342
9384
  "package": "himalaya",
9343
- "type": "Button",
9385
+ "type": "VStack",
9344
9386
  "props": {
9345
- "title": "$item.collectionSelectLabel",
9346
- "style": "plain",
9347
- "fullWidth": false,
9348
- "action": {
9349
- "actionId": "tier5.himiEvents.collectionSelect",
9350
- "params": {
9351
- "id": "$item.collectionId"
9387
+ "spacing": 0,
9388
+ "children": [
9389
+ {
9390
+ "id": "himi_events.list.collection.grid.$item.collectionId/details",
9391
+ "body": {
9392
+ "package": "himalaya",
9393
+ "type": "Button",
9394
+ "props": {
9395
+ "title": "View details",
9396
+ "style": "secondary",
9397
+ "fullWidth": true,
9398
+ "action": {
9399
+ "actionId": "himi.open",
9400
+ "params": {
9401
+ "screenId": "$item.detailScreenId",
9402
+ "id": "$item.id"
9403
+ }
9404
+ }
9405
+ }
9406
+ },
9407
+ "modifiers": {
9408
+ "hiddenPath": "$item.collectionNotEnded",
9409
+ "padding": {
9410
+ "bottom": 8
9411
+ }
9412
+ }
9352
9413
  }
9353
- }
9414
+ ]
9354
9415
  }
9355
9416
  },
9356
9417
  "modifiers": {
9357
- "hiddenPath": "$service:himiEvents.collection.noSelection"
9358
- }
9359
- },
9360
- {
9361
- "id": "himi_events.list.collection.grid.$item.collectionId/primary",
9362
- "body": {
9363
- "package": "himalaya",
9364
- "type": "Button",
9365
- "props": {
9366
- "title": "Register",
9367
- "style": "secondary",
9368
- "fullWidth": false,
9369
- "action": {
9370
- "actionId": "himi.open",
9371
- "params": {
9372
- "screenId": "$item.detailScreenId",
9373
- "id": "$item.id"
9374
- }
9375
- }
9376
- }
9418
+ "hiddenPath": "$item.collectionNoIdentity"
9377
9419
  }
9378
9420
  },
9379
9421
  {
9380
9422
  "id": "",
9381
9423
  "body": {
9382
9424
  "package": "himalaya",
9383
- "type": "Spacer",
9384
- "props": {}
9385
- }
9386
- },
9387
- {
9388
- "id": "himi_events.list.collection.grid.$item.collectionId/actions",
9389
- "body": {
9390
- "package": "himalaya",
9391
- "type": "Menu",
9425
+ "type": "HStack",
9392
9426
  "props": {
9393
- "style": "dropdown",
9394
- "anchor": {
9395
- "id": "",
9396
- "body": {
9397
- "package": "himalaya",
9398
- "type": "Icon",
9399
- "props": {
9400
- "name": "ellipsis",
9401
- "size": 20
9427
+ "spacing": 8,
9428
+ "children": [
9429
+ {
9430
+ "id": "himi_events.list.collection.grid.$item.collectionId/select",
9431
+ "body": {
9432
+ "package": "himalaya",
9433
+ "type": "Button",
9434
+ "props": {
9435
+ "title": "$item.collectionSelectLabel",
9436
+ "style": "plain",
9437
+ "fullWidth": false,
9438
+ "action": {
9439
+ "actionId": "tier5.himiEvents.collectionSelect",
9440
+ "params": {
9441
+ "id": "$item.collectionId"
9442
+ }
9443
+ }
9444
+ }
9445
+ },
9446
+ "modifiers": {
9447
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
9402
9448
  }
9403
9449
  },
9404
- "modifiers": {
9405
- "width": 44,
9406
- "height": 44,
9407
- "accessibilityLabel": "Item actions"
9408
- }
9409
- },
9410
- "items": [
9411
9450
  {
9412
- "id": "preview",
9413
- "label": "Quick preview",
9414
- "icon": "search",
9415
- "action": {
9416
- "actionId": "tier5.himiEvents.collectionPreview",
9417
- "params": {
9418
- "id": "$item.collectionId"
9451
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
9452
+ "body": {
9453
+ "package": "himalaya",
9454
+ "type": "Button",
9455
+ "props": {
9456
+ "title": "Register",
9457
+ "style": "secondary",
9458
+ "fullWidth": false,
9459
+ "action": {
9460
+ "actionId": "himi.open",
9461
+ "params": {
9462
+ "screenId": "$item.detailScreenId",
9463
+ "id": "$item.id"
9464
+ }
9465
+ }
9419
9466
  }
9467
+ },
9468
+ "modifiers": {
9469
+ "hiddenPath": "$item.collectionEnded"
9420
9470
  }
9421
9471
  },
9422
9472
  {
9423
- "id": "save",
9424
- "label": "$item.collectionSaveLabel",
9425
- "icon": "bookmark",
9426
- "action": {
9427
- "actionId": "tier5.himiEvents.collectionSave",
9428
- "params": {
9429
- "id": "$item.collectionId"
9430
- }
9473
+ "id": "",
9474
+ "body": {
9475
+ "package": "himalaya",
9476
+ "type": "Spacer",
9477
+ "props": {}
9431
9478
  }
9432
9479
  },
9433
9480
  {
9434
- "id": "open",
9435
- "label": "Open details",
9436
- "icon": "chevron_right",
9437
- "action": {
9438
- "actionId": "himi.open",
9439
- "params": {
9440
- "screenId": "$item.detailScreenId",
9441
- "id": "$item.id"
9481
+ "id": "himi_events.list.collection.grid.$item.collectionId/actions",
9482
+ "body": {
9483
+ "package": "himalaya",
9484
+ "type": "Menu",
9485
+ "props": {
9486
+ "style": "dropdown",
9487
+ "anchor": {
9488
+ "id": "",
9489
+ "body": {
9490
+ "package": "himalaya",
9491
+ "type": "Icon",
9492
+ "props": {
9493
+ "name": "ellipsis",
9494
+ "size": 20
9495
+ }
9496
+ },
9497
+ "modifiers": {
9498
+ "width": 44,
9499
+ "height": 44,
9500
+ "accessibilityLabel": "Item actions"
9501
+ }
9502
+ },
9503
+ "items": [
9504
+ {
9505
+ "id": "preview",
9506
+ "label": "Quick preview",
9507
+ "icon": "search",
9508
+ "action": {
9509
+ "actionId": "tier5.himiEvents.collectionPreview",
9510
+ "params": {
9511
+ "id": "$item.collectionId"
9512
+ }
9513
+ }
9514
+ },
9515
+ {
9516
+ "id": "save",
9517
+ "label": "$item.collectionSaveLabel",
9518
+ "icon": "bookmark",
9519
+ "action": {
9520
+ "actionId": "tier5.himiEvents.collectionSave",
9521
+ "params": {
9522
+ "id": "$item.collectionId"
9523
+ }
9524
+ }
9525
+ },
9526
+ {
9527
+ "id": "open",
9528
+ "label": "Open details",
9529
+ "icon": "chevron_right",
9530
+ "action": {
9531
+ "actionId": "himi.open",
9532
+ "params": {
9533
+ "screenId": "$item.detailScreenId",
9534
+ "id": "$item.id"
9535
+ }
9536
+ }
9537
+ }
9538
+ ]
9442
9539
  }
9443
9540
  }
9444
9541
  }
9445
9542
  ]
9446
9543
  }
9544
+ },
9545
+ "modifiers": {
9546
+ "hiddenPath": "$item.collectionNoIdentity"
9447
9547
  }
9448
9548
  }
9449
9549
  ]
9450
9550
  }
9451
- },
9452
- "modifiers": {
9453
- "hiddenPath": "$item.collectionNoIdentity"
9454
9551
  }
9455
9552
  }
9456
9553
  ]
@@ -9685,21 +9782,58 @@ const SCREENS = runtimeSetting({
9685
9782
  }
9686
9783
  },
9687
9784
  {
9688
- "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
9785
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary-group",
9689
9786
  "body": {
9690
9787
  "package": "himalaya",
9691
- "type": "Button",
9788
+ "type": "HStack",
9692
9789
  "props": {
9693
- "title": "Register",
9694
- "style": "secondary",
9695
- "fullWidth": false,
9696
- "action": {
9697
- "actionId": "himi.open",
9698
- "params": {
9699
- "screenId": "$item.detailScreenId",
9700
- "id": "$item.id"
9790
+ "spacing": 0,
9791
+ "children": [
9792
+ {
9793
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
9794
+ "body": {
9795
+ "package": "himalaya",
9796
+ "type": "Button",
9797
+ "props": {
9798
+ "title": "Register",
9799
+ "style": "secondary",
9800
+ "fullWidth": false,
9801
+ "action": {
9802
+ "actionId": "himi.open",
9803
+ "params": {
9804
+ "screenId": "$item.detailScreenId",
9805
+ "id": "$item.id"
9806
+ }
9807
+ }
9808
+ }
9809
+ },
9810
+ "modifiers": {
9811
+ "hiddenPath": "$item.collectionEnded"
9812
+ }
9813
+ },
9814
+ {
9815
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/details",
9816
+ "body": {
9817
+ "package": "himalaya",
9818
+ "type": "Button",
9819
+ "props": {
9820
+ "title": "View details",
9821
+ "style": "secondary",
9822
+ "fullWidth": false,
9823
+ "action": {
9824
+ "actionId": "himi.open",
9825
+ "params": {
9826
+ "screenId": "$item.detailScreenId",
9827
+ "id": "$item.id"
9828
+ }
9829
+ }
9830
+ }
9831
+ },
9832
+ "modifiers": {
9833
+ "hiddenPath": "$item.collectionNotEnded"
9834
+ }
9701
9835
  }
9702
- }
9836
+ ]
9703
9837
  }
9704
9838
  }
9705
9839
  },
@@ -10007,125 +10141,181 @@ const SCREENS = runtimeSetting({
10007
10141
  "id": "",
10008
10142
  "body": {
10009
10143
  "package": "himalaya",
10010
- "type": "HStack",
10144
+ "type": "VStack",
10011
10145
  "props": {
10012
- "spacing": 8,
10146
+ "spacing": 0,
10147
+ "alignment": "leading",
10013
10148
  "children": [
10014
10149
  {
10015
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
10150
+ "id": "",
10016
10151
  "body": {
10017
10152
  "package": "himalaya",
10018
- "type": "Button",
10153
+ "type": "VStack",
10019
10154
  "props": {
10020
- "title": "$item.collectionSelectLabel",
10021
- "style": "plain",
10022
- "fullWidth": false,
10023
- "action": {
10024
- "actionId": "tier5.himiEvents.collectionSelect",
10025
- "params": {
10026
- "id": "$item.collectionId"
10155
+ "spacing": 0,
10156
+ "children": [
10157
+ {
10158
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/details",
10159
+ "body": {
10160
+ "package": "himalaya",
10161
+ "type": "Button",
10162
+ "props": {
10163
+ "title": "View details",
10164
+ "style": "secondary",
10165
+ "fullWidth": true,
10166
+ "action": {
10167
+ "actionId": "himi.open",
10168
+ "params": {
10169
+ "screenId": "$item.detailScreenId",
10170
+ "id": "$item.id"
10171
+ }
10172
+ }
10173
+ }
10174
+ },
10175
+ "modifiers": {
10176
+ "hiddenPath": "$item.collectionNotEnded",
10177
+ "padding": {
10178
+ "bottom": 8
10179
+ }
10180
+ }
10027
10181
  }
10028
- }
10182
+ ]
10029
10183
  }
10030
10184
  },
10031
10185
  "modifiers": {
10032
- "hiddenPath": "$service:himiEvents.collection.noSelection"
10033
- }
10034
- },
10035
- {
10036
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
10037
- "body": {
10038
- "package": "himalaya",
10039
- "type": "Button",
10040
- "props": {
10041
- "title": "Register",
10042
- "style": "secondary",
10043
- "fullWidth": false,
10044
- "action": {
10045
- "actionId": "himi.open",
10046
- "params": {
10047
- "screenId": "$item.detailScreenId",
10048
- "id": "$item.id"
10049
- }
10050
- }
10051
- }
10186
+ "hiddenPath": "$item.collectionNoIdentity"
10052
10187
  }
10053
10188
  },
10054
10189
  {
10055
10190
  "id": "",
10056
10191
  "body": {
10057
10192
  "package": "himalaya",
10058
- "type": "Spacer",
10059
- "props": {}
10060
- }
10061
- },
10062
- {
10063
- "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
10064
- "body": {
10065
- "package": "himalaya",
10066
- "type": "Menu",
10193
+ "type": "HStack",
10067
10194
  "props": {
10068
- "style": "dropdown",
10069
- "anchor": {
10070
- "id": "",
10071
- "body": {
10072
- "package": "himalaya",
10073
- "type": "Icon",
10074
- "props": {
10075
- "name": "ellipsis",
10076
- "size": 20
10195
+ "spacing": 8,
10196
+ "children": [
10197
+ {
10198
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/select",
10199
+ "body": {
10200
+ "package": "himalaya",
10201
+ "type": "Button",
10202
+ "props": {
10203
+ "title": "$item.collectionSelectLabel",
10204
+ "style": "plain",
10205
+ "fullWidth": false,
10206
+ "action": {
10207
+ "actionId": "tier5.himiEvents.collectionSelect",
10208
+ "params": {
10209
+ "id": "$item.collectionId"
10210
+ }
10211
+ }
10212
+ }
10213
+ },
10214
+ "modifiers": {
10215
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
10077
10216
  }
10078
10217
  },
10079
- "modifiers": {
10080
- "width": 44,
10081
- "height": 44,
10082
- "accessibilityLabel": "Item actions"
10083
- }
10084
- },
10085
- "items": [
10086
10218
  {
10087
- "id": "preview",
10088
- "label": "Quick preview",
10089
- "icon": "search",
10090
- "action": {
10091
- "actionId": "tier5.himiEvents.collectionPreview",
10092
- "params": {
10093
- "id": "$item.collectionId"
10219
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
10220
+ "body": {
10221
+ "package": "himalaya",
10222
+ "type": "Button",
10223
+ "props": {
10224
+ "title": "Register",
10225
+ "style": "secondary",
10226
+ "fullWidth": false,
10227
+ "action": {
10228
+ "actionId": "himi.open",
10229
+ "params": {
10230
+ "screenId": "$item.detailScreenId",
10231
+ "id": "$item.id"
10232
+ }
10233
+ }
10094
10234
  }
10235
+ },
10236
+ "modifiers": {
10237
+ "hiddenPath": "$item.collectionEnded"
10095
10238
  }
10096
10239
  },
10097
10240
  {
10098
- "id": "save",
10099
- "label": "$item.collectionSaveLabel",
10100
- "icon": "bookmark",
10101
- "action": {
10102
- "actionId": "tier5.himiEvents.collectionSave",
10103
- "params": {
10104
- "id": "$item.collectionId"
10105
- }
10241
+ "id": "",
10242
+ "body": {
10243
+ "package": "himalaya",
10244
+ "type": "Spacer",
10245
+ "props": {}
10106
10246
  }
10107
10247
  },
10108
10248
  {
10109
- "id": "open",
10110
- "label": "Open details",
10111
- "icon": "chevron_right",
10112
- "action": {
10113
- "actionId": "himi.open",
10114
- "params": {
10115
- "screenId": "$item.detailScreenId",
10116
- "id": "$item.id"
10249
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/actions",
10250
+ "body": {
10251
+ "package": "himalaya",
10252
+ "type": "Menu",
10253
+ "props": {
10254
+ "style": "dropdown",
10255
+ "anchor": {
10256
+ "id": "",
10257
+ "body": {
10258
+ "package": "himalaya",
10259
+ "type": "Icon",
10260
+ "props": {
10261
+ "name": "ellipsis",
10262
+ "size": 20
10263
+ }
10264
+ },
10265
+ "modifiers": {
10266
+ "width": 44,
10267
+ "height": 44,
10268
+ "accessibilityLabel": "Item actions"
10269
+ }
10270
+ },
10271
+ "items": [
10272
+ {
10273
+ "id": "preview",
10274
+ "label": "Quick preview",
10275
+ "icon": "search",
10276
+ "action": {
10277
+ "actionId": "tier5.himiEvents.collectionPreview",
10278
+ "params": {
10279
+ "id": "$item.collectionId"
10280
+ }
10281
+ }
10282
+ },
10283
+ {
10284
+ "id": "save",
10285
+ "label": "$item.collectionSaveLabel",
10286
+ "icon": "bookmark",
10287
+ "action": {
10288
+ "actionId": "tier5.himiEvents.collectionSave",
10289
+ "params": {
10290
+ "id": "$item.collectionId"
10291
+ }
10292
+ }
10293
+ },
10294
+ {
10295
+ "id": "open",
10296
+ "label": "Open details",
10297
+ "icon": "chevron_right",
10298
+ "action": {
10299
+ "actionId": "himi.open",
10300
+ "params": {
10301
+ "screenId": "$item.detailScreenId",
10302
+ "id": "$item.id"
10303
+ }
10304
+ }
10305
+ }
10306
+ ]
10117
10307
  }
10118
10308
  }
10119
10309
  }
10120
10310
  ]
10121
10311
  }
10312
+ },
10313
+ "modifiers": {
10314
+ "hiddenPath": "$item.collectionNoIdentity"
10122
10315
  }
10123
10316
  }
10124
10317
  ]
10125
10318
  }
10126
- },
10127
- "modifiers": {
10128
- "hiddenPath": "$item.collectionNoIdentity"
10129
10319
  }
10130
10320
  }
10131
10321
  ]
@@ -10698,125 +10888,181 @@ const SCREENS = runtimeSetting({
10698
10888
  "id": "",
10699
10889
  "body": {
10700
10890
  "package": "himalaya",
10701
- "type": "HStack",
10891
+ "type": "VStack",
10702
10892
  "props": {
10703
- "spacing": 8,
10893
+ "spacing": 0,
10894
+ "alignment": "leading",
10704
10895
  "children": [
10705
10896
  {
10706
- "id": "himi_events.list.collection.preview.$item.collectionId/select",
10897
+ "id": "",
10707
10898
  "body": {
10708
10899
  "package": "himalaya",
10709
- "type": "Button",
10900
+ "type": "VStack",
10710
10901
  "props": {
10711
- "title": "$item.collectionSelectLabel",
10712
- "style": "plain",
10713
- "fullWidth": false,
10714
- "action": {
10715
- "actionId": "tier5.himiEvents.collectionSelect",
10716
- "params": {
10717
- "id": "$item.collectionId"
10902
+ "spacing": 0,
10903
+ "children": [
10904
+ {
10905
+ "id": "himi_events.list.collection.preview.$item.collectionId/details",
10906
+ "body": {
10907
+ "package": "himalaya",
10908
+ "type": "Button",
10909
+ "props": {
10910
+ "title": "View details",
10911
+ "style": "secondary",
10912
+ "fullWidth": true,
10913
+ "action": {
10914
+ "actionId": "himi.open",
10915
+ "params": {
10916
+ "screenId": "$item.detailScreenId",
10917
+ "id": "$item.id"
10918
+ }
10919
+ }
10920
+ }
10921
+ },
10922
+ "modifiers": {
10923
+ "hiddenPath": "$item.collectionNotEnded",
10924
+ "padding": {
10925
+ "bottom": 8
10926
+ }
10927
+ }
10718
10928
  }
10719
- }
10929
+ ]
10720
10930
  }
10721
10931
  },
10722
10932
  "modifiers": {
10723
- "hiddenPath": "$service:himiEvents.collection.noSelection"
10724
- }
10725
- },
10726
- {
10727
- "id": "himi_events.list.collection.preview.$item.collectionId/primary",
10728
- "body": {
10729
- "package": "himalaya",
10730
- "type": "Button",
10731
- "props": {
10732
- "title": "Register",
10733
- "style": "secondary",
10734
- "fullWidth": false,
10735
- "action": {
10736
- "actionId": "himi.open",
10737
- "params": {
10738
- "screenId": "$item.detailScreenId",
10739
- "id": "$item.id"
10740
- }
10741
- }
10742
- }
10933
+ "hiddenPath": "$item.collectionNoIdentity"
10743
10934
  }
10744
10935
  },
10745
10936
  {
10746
10937
  "id": "",
10747
10938
  "body": {
10748
10939
  "package": "himalaya",
10749
- "type": "Spacer",
10750
- "props": {}
10751
- }
10752
- },
10753
- {
10754
- "id": "himi_events.list.collection.preview.$item.collectionId/actions",
10755
- "body": {
10756
- "package": "himalaya",
10757
- "type": "Menu",
10940
+ "type": "HStack",
10758
10941
  "props": {
10759
- "style": "dropdown",
10760
- "anchor": {
10761
- "id": "",
10762
- "body": {
10763
- "package": "himalaya",
10764
- "type": "Icon",
10765
- "props": {
10766
- "name": "ellipsis",
10767
- "size": 20
10942
+ "spacing": 8,
10943
+ "children": [
10944
+ {
10945
+ "id": "himi_events.list.collection.preview.$item.collectionId/select",
10946
+ "body": {
10947
+ "package": "himalaya",
10948
+ "type": "Button",
10949
+ "props": {
10950
+ "title": "$item.collectionSelectLabel",
10951
+ "style": "plain",
10952
+ "fullWidth": false,
10953
+ "action": {
10954
+ "actionId": "tier5.himiEvents.collectionSelect",
10955
+ "params": {
10956
+ "id": "$item.collectionId"
10957
+ }
10958
+ }
10959
+ }
10960
+ },
10961
+ "modifiers": {
10962
+ "hiddenPath": "$service:himiEvents.collection.noSelection"
10768
10963
  }
10769
10964
  },
10770
- "modifiers": {
10771
- "width": 44,
10772
- "height": 44,
10773
- "accessibilityLabel": "Item actions"
10774
- }
10775
- },
10776
- "items": [
10777
10965
  {
10778
- "id": "preview",
10779
- "label": "Quick preview",
10780
- "icon": "search",
10781
- "action": {
10782
- "actionId": "tier5.himiEvents.collectionPreview",
10783
- "params": {
10784
- "id": "$item.collectionId"
10966
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
10967
+ "body": {
10968
+ "package": "himalaya",
10969
+ "type": "Button",
10970
+ "props": {
10971
+ "title": "Register",
10972
+ "style": "secondary",
10973
+ "fullWidth": false,
10974
+ "action": {
10975
+ "actionId": "himi.open",
10976
+ "params": {
10977
+ "screenId": "$item.detailScreenId",
10978
+ "id": "$item.id"
10979
+ }
10980
+ }
10785
10981
  }
10982
+ },
10983
+ "modifiers": {
10984
+ "hiddenPath": "$item.collectionEnded"
10786
10985
  }
10787
10986
  },
10788
10987
  {
10789
- "id": "save",
10790
- "label": "$item.collectionSaveLabel",
10791
- "icon": "bookmark",
10792
- "action": {
10793
- "actionId": "tier5.himiEvents.collectionSave",
10794
- "params": {
10795
- "id": "$item.collectionId"
10796
- }
10988
+ "id": "",
10989
+ "body": {
10990
+ "package": "himalaya",
10991
+ "type": "Spacer",
10992
+ "props": {}
10797
10993
  }
10798
10994
  },
10799
10995
  {
10800
- "id": "open",
10801
- "label": "Open details",
10802
- "icon": "chevron_right",
10803
- "action": {
10804
- "actionId": "himi.open",
10805
- "params": {
10806
- "screenId": "$item.detailScreenId",
10807
- "id": "$item.id"
10996
+ "id": "himi_events.list.collection.preview.$item.collectionId/actions",
10997
+ "body": {
10998
+ "package": "himalaya",
10999
+ "type": "Menu",
11000
+ "props": {
11001
+ "style": "dropdown",
11002
+ "anchor": {
11003
+ "id": "",
11004
+ "body": {
11005
+ "package": "himalaya",
11006
+ "type": "Icon",
11007
+ "props": {
11008
+ "name": "ellipsis",
11009
+ "size": 20
11010
+ }
11011
+ },
11012
+ "modifiers": {
11013
+ "width": 44,
11014
+ "height": 44,
11015
+ "accessibilityLabel": "Item actions"
11016
+ }
11017
+ },
11018
+ "items": [
11019
+ {
11020
+ "id": "preview",
11021
+ "label": "Quick preview",
11022
+ "icon": "search",
11023
+ "action": {
11024
+ "actionId": "tier5.himiEvents.collectionPreview",
11025
+ "params": {
11026
+ "id": "$item.collectionId"
11027
+ }
11028
+ }
11029
+ },
11030
+ {
11031
+ "id": "save",
11032
+ "label": "$item.collectionSaveLabel",
11033
+ "icon": "bookmark",
11034
+ "action": {
11035
+ "actionId": "tier5.himiEvents.collectionSave",
11036
+ "params": {
11037
+ "id": "$item.collectionId"
11038
+ }
11039
+ }
11040
+ },
11041
+ {
11042
+ "id": "open",
11043
+ "label": "Open details",
11044
+ "icon": "chevron_right",
11045
+ "action": {
11046
+ "actionId": "himi.open",
11047
+ "params": {
11048
+ "screenId": "$item.detailScreenId",
11049
+ "id": "$item.id"
11050
+ }
11051
+ }
11052
+ }
11053
+ ]
10808
11054
  }
10809
11055
  }
10810
11056
  }
10811
11057
  ]
10812
11058
  }
11059
+ },
11060
+ "modifiers": {
11061
+ "hiddenPath": "$item.collectionNoIdentity"
10813
11062
  }
10814
11063
  }
10815
11064
  ]
10816
11065
  }
10817
- },
10818
- "modifiers": {
10819
- "hiddenPath": "$item.collectionNoIdentity"
10820
11066
  }
10821
11067
  }
10822
11068
  ]