@wix/himalaya-cli 0.1487.0 → 0.1489.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 (59) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +12 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +13 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +48 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +22 -0
  5. package/dist/cli.mjs +145 -42
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/package.json +2 -2
  8. package/templates/beauty-salon/config.ts +13 -0
  9. package/templates/beauty-salon/dev/index.ts +784 -0
  10. package/templates/beauty-salon/himalaya.content.json +3 -0
  11. package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  12. package/templates/beauty-salon/tier5-src/_shared/branded-load-state.ts +106 -0
  13. package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +14 -0
  14. package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +2 -1
  15. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +25 -11
  16. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
  17. package/templates/branded-lite/config.ts +13 -0
  18. package/templates/branded-lite/dev/index.ts +930 -66
  19. package/templates/branded-lite/himalaya.content.json +3 -0
  20. package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  21. package/templates/branded-lite/tier5-src/_shared/business-chat-model.ts +5 -3
  22. package/templates/branded-lite/tier5-src/_shared/business-chat-presenter.ts +84 -5
  23. package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +14 -0
  24. package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +2 -1
  25. package/templates/branded-lite/tier5-src/business-chat/index.ts +135 -35
  26. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +25 -11
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
  28. package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  29. package/templates/community-club/tier5-src/_shared/member-account-routes.ts +2 -1
  30. package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  31. package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +2 -1
  32. package/templates/gym-fitness/config.ts +13 -0
  33. package/templates/gym-fitness/dev/index.ts +784 -0
  34. package/templates/gym-fitness/himalaya.content.json +3 -0
  35. package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  36. package/templates/gym-fitness/tier5-src/_shared/branded-load-state.ts +106 -0
  37. package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +14 -0
  38. package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +2 -1
  39. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +25 -11
  40. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
  41. package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  42. package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +2 -1
  43. package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  44. package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +2 -1
  45. package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  46. package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +2 -1
  47. package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  48. package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +2 -1
  49. package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  50. package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +2 -1
  51. package/templates/yoga-studio/config.ts +13 -0
  52. package/templates/yoga-studio/dev/index.ts +784 -0
  53. package/templates/yoga-studio/himalaya.content.json +3 -0
  54. package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +2 -1
  55. package/templates/yoga-studio/tier5-src/_shared/branded-load-state.ts +106 -0
  56. package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +14 -0
  57. package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +2 -1
  58. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +25 -11
  59. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
@@ -21051,6 +21051,17 @@ const SCREENS = runtimeSetting({
21051
21051
  "screenId": "himi_bookings"
21052
21052
  }
21053
21053
  }
21054
+ },
21055
+ {
21056
+ "id": "agenda",
21057
+ "icon": "list",
21058
+ "accessibilityLabel": "Agenda",
21059
+ "onTap": {
21060
+ "actionId": "himi.open",
21061
+ "params": {
21062
+ "screenId": "himi_agenda"
21063
+ }
21064
+ }
21054
21065
  }
21055
21066
  ]
21056
21067
  }
@@ -24293,6 +24304,779 @@ const SCREENS = runtimeSetting({
24293
24304
  "bundleVersion": "0.0.1"
24294
24305
  }
24295
24306
  },
24307
+ "himi_agenda": {
24308
+ "screenId": "himi_agenda",
24309
+ "renderer": "sdui_intent",
24310
+ "title": "Agenda",
24311
+ "schemaVersion": 1,
24312
+ "cacheControl": {
24313
+ "maxAge": 0,
24314
+ "staleWhileRevalidate": 0
24315
+ },
24316
+ "payload": {
24317
+ "id": "himi_agenda.root",
24318
+ "body": {
24319
+ "package": "himalaya",
24320
+ "type": "VStack",
24321
+ "props": {
24322
+ "spacing": 0,
24323
+ "alignment": "leading",
24324
+ "children": [
24325
+ {
24326
+ "id": "",
24327
+ "body": {
24328
+ "package": "himalaya",
24329
+ "type": "VStack",
24330
+ "props": {
24331
+ "spacing": 12,
24332
+ "alignment": "leading",
24333
+ "children": [
24334
+ {
24335
+ "id": "himi_agenda.message",
24336
+ "body": {
24337
+ "package": "himalaya",
24338
+ "type": "Text",
24339
+ "props": {
24340
+ "text": "$service:himiBrandedAgenda.message",
24341
+ "style": "footnote",
24342
+ "color": "textPrimary",
24343
+ "collapseWhenEmpty": true
24344
+ }
24345
+ }
24346
+ },
24347
+ {
24348
+ "id": "himi_agenda.loading",
24349
+ "body": {
24350
+ "package": "himalaya",
24351
+ "type": "Skeleton",
24352
+ "props": {
24353
+ "height": 72,
24354
+ "cornerRadius": 12,
24355
+ "count": 3
24356
+ }
24357
+ },
24358
+ "modifiers": {
24359
+ "hiddenPath": "$service:himiBrandedAgenda.notLoading"
24360
+ }
24361
+ },
24362
+ {
24363
+ "id": "himi_agenda.error",
24364
+ "body": {
24365
+ "package": "himalaya",
24366
+ "type": "VStack",
24367
+ "props": {
24368
+ "spacing": 8,
24369
+ "alignment": "leading",
24370
+ "children": [
24371
+ {
24372
+ "id": "",
24373
+ "body": {
24374
+ "package": "himalaya",
24375
+ "type": "Text",
24376
+ "props": {
24377
+ "text": "$service:himiBrandedAgenda.error",
24378
+ "style": "bodyEmphasis",
24379
+ "collapseWhenEmpty": true
24380
+ }
24381
+ }
24382
+ },
24383
+ {
24384
+ "id": "himi_agenda.retry",
24385
+ "body": {
24386
+ "package": "himalaya",
24387
+ "type": "Button",
24388
+ "props": {
24389
+ "title": "Try again",
24390
+ "style": "secondary",
24391
+ "action": {
24392
+ "actionId": "tier5.himiBrandedAgenda.retry"
24393
+ }
24394
+ }
24395
+ }
24396
+ }
24397
+ ]
24398
+ }
24399
+ },
24400
+ "modifiers": {
24401
+ "background": {
24402
+ "token": "surfaceElevated"
24403
+ },
24404
+ "border": {
24405
+ "width": 1,
24406
+ "color": {
24407
+ "token": "border"
24408
+ }
24409
+ },
24410
+ "cornerRadius": 4,
24411
+ "padding": {
24412
+ "leading": 16,
24413
+ "trailing": 16,
24414
+ "top": 16,
24415
+ "bottom": 16
24416
+ },
24417
+ "hiddenPath": "$service:himiBrandedAgenda.notErrored"
24418
+ }
24419
+ }
24420
+ ]
24421
+ }
24422
+ },
24423
+ "modifiers": {
24424
+ "padding": {
24425
+ "leading": 16,
24426
+ "trailing": 16,
24427
+ "top": 8
24428
+ }
24429
+ }
24430
+ },
24431
+ {
24432
+ "id": "himi_agenda.list",
24433
+ "body": {
24434
+ "package": "himalaya",
24435
+ "type": "Agenda",
24436
+ "props": {
24437
+ "eventsPath": "$service:himiBrandedAgenda.events",
24438
+ "scrollToDatePath": "$service:himiBrandedAgenda.scrollTo",
24439
+ "stickyHeaders": false,
24440
+ "emptyText": "No classes from this day on.",
24441
+ "eventTemplate": {
24442
+ "id": "",
24443
+ "body": {
24444
+ "package": "himalaya",
24445
+ "type": "HStack",
24446
+ "props": {
24447
+ "spacing": 12,
24448
+ "alignment": "center",
24449
+ "children": [
24450
+ {
24451
+ "id": "",
24452
+ "body": {
24453
+ "package": "himalaya",
24454
+ "type": "VStack",
24455
+ "props": {
24456
+ "spacing": 2,
24457
+ "alignment": "leading",
24458
+ "children": [
24459
+ {
24460
+ "id": "",
24461
+ "body": {
24462
+ "package": "himalaya",
24463
+ "type": "Text",
24464
+ "props": {
24465
+ "text": "$item.time",
24466
+ "style": "body",
24467
+ "maxLines": 1,
24468
+ "monospacedDigits": true
24469
+ }
24470
+ }
24471
+ },
24472
+ {
24473
+ "id": "",
24474
+ "body": {
24475
+ "package": "himalaya",
24476
+ "type": "Text",
24477
+ "props": {
24478
+ "text": "$item.length",
24479
+ "style": "footnote",
24480
+ "color": "textSecondary",
24481
+ "maxLines": 1,
24482
+ "collapseWhenEmpty": true
24483
+ }
24484
+ }
24485
+ }
24486
+ ]
24487
+ }
24488
+ },
24489
+ "modifiers": {
24490
+ "width": 64
24491
+ }
24492
+ },
24493
+ {
24494
+ "id": "",
24495
+ "body": {
24496
+ "package": "himalaya",
24497
+ "type": "VStack",
24498
+ "props": {
24499
+ "spacing": 4,
24500
+ "alignment": "leading",
24501
+ "children": [
24502
+ {
24503
+ "id": "",
24504
+ "body": {
24505
+ "package": "himalaya",
24506
+ "type": "Text",
24507
+ "props": {
24508
+ "text": "$item.title",
24509
+ "style": "bodyEmphasis",
24510
+ "maxLines": 2
24511
+ }
24512
+ }
24513
+ },
24514
+ {
24515
+ "id": "",
24516
+ "body": {
24517
+ "package": "himalaya",
24518
+ "type": "Text",
24519
+ "props": {
24520
+ "text": "$item.staff",
24521
+ "style": "footnote",
24522
+ "color": "textSecondary",
24523
+ "maxLines": 1,
24524
+ "collapseWhenEmpty": true
24525
+ }
24526
+ }
24527
+ },
24528
+ {
24529
+ "id": "",
24530
+ "body": {
24531
+ "package": "himalaya",
24532
+ "type": "HStack",
24533
+ "props": {
24534
+ "spacing": 6,
24535
+ "children": [
24536
+ {
24537
+ "id": "",
24538
+ "body": {
24539
+ "package": "himalaya",
24540
+ "type": "Icon",
24541
+ "props": {
24542
+ "name": "person",
24543
+ "size": 14,
24544
+ "tint": "textSecondary"
24545
+ }
24546
+ },
24547
+ "modifiers": {
24548
+ "accessibilityRole": "decorative"
24549
+ }
24550
+ },
24551
+ {
24552
+ "id": "",
24553
+ "body": {
24554
+ "package": "himalaya",
24555
+ "type": "Text",
24556
+ "props": {
24557
+ "text": "$item.capacity",
24558
+ "style": "footnote",
24559
+ "color": "textPrimary",
24560
+ "maxLines": 1
24561
+ }
24562
+ }
24563
+ }
24564
+ ]
24565
+ }
24566
+ },
24567
+ "modifiers": {
24568
+ "hiddenPath": "$item.noCapacity"
24569
+ }
24570
+ },
24571
+ {
24572
+ "id": "",
24573
+ "body": {
24574
+ "package": "himalaya",
24575
+ "type": "HStack",
24576
+ "props": {
24577
+ "spacing": 6,
24578
+ "children": [
24579
+ {
24580
+ "id": "",
24581
+ "body": {
24582
+ "package": "himalaya",
24583
+ "type": "Icon",
24584
+ "props": {
24585
+ "name": "pin",
24586
+ "size": 14,
24587
+ "tint": "textSecondary"
24588
+ }
24589
+ },
24590
+ "modifiers": {
24591
+ "accessibilityRole": "decorative"
24592
+ }
24593
+ },
24594
+ {
24595
+ "id": "",
24596
+ "body": {
24597
+ "package": "himalaya",
24598
+ "type": "Text",
24599
+ "props": {
24600
+ "text": "$item.location",
24601
+ "style": "footnote",
24602
+ "color": "textPrimary",
24603
+ "maxLines": 1
24604
+ }
24605
+ }
24606
+ }
24607
+ ]
24608
+ }
24609
+ },
24610
+ "modifiers": {
24611
+ "hiddenPath": "$item.noLocation"
24612
+ }
24613
+ }
24614
+ ]
24615
+ }
24616
+ },
24617
+ "modifiers": {
24618
+ "weight": 1
24619
+ }
24620
+ },
24621
+ {
24622
+ "id": "",
24623
+ "body": {
24624
+ "package": "himalaya",
24625
+ "type": "VStack",
24626
+ "props": {
24627
+ "spacing": 0,
24628
+ "alignment": "trailing",
24629
+ "children": [
24630
+ {
24631
+ "id": "himi_agenda.book",
24632
+ "body": {
24633
+ "package": "himalaya",
24634
+ "type": "Button",
24635
+ "props": {
24636
+ "title": "Book",
24637
+ "style": "secondary",
24638
+ "size": "sm",
24639
+ "fullWidth": false,
24640
+ "action": {
24641
+ "actionId": "himi.open",
24642
+ "params": {
24643
+ "screenId": "himi_time",
24644
+ "id": "$item.serviceId",
24645
+ "start": "$item.start",
24646
+ "sessionId": "$item.sessionId"
24647
+ }
24648
+ }
24649
+ }
24650
+ },
24651
+ "modifiers": {
24652
+ "hiddenPath": "$item.hideBook"
24653
+ }
24654
+ },
24655
+ {
24656
+ "id": "himi_agenda.waitlist",
24657
+ "body": {
24658
+ "package": "himalaya",
24659
+ "type": "Button",
24660
+ "props": {
24661
+ "title": "Waitlist",
24662
+ "style": "secondary",
24663
+ "size": "sm",
24664
+ "fullWidth": false,
24665
+ "action": {
24666
+ "actionId": "tier5.himiBrandedAgenda.joinWaitlist",
24667
+ "params": {
24668
+ "eventId": "$item.id"
24669
+ }
24670
+ }
24671
+ }
24672
+ },
24673
+ "modifiers": {
24674
+ "hiddenPath": "$item.hideWaitlist"
24675
+ }
24676
+ },
24677
+ {
24678
+ "id": "himi_agenda.booked",
24679
+ "body": {
24680
+ "package": "himalaya",
24681
+ "type": "HStack",
24682
+ "props": {
24683
+ "spacing": 2,
24684
+ "children": [
24685
+ {
24686
+ "id": "",
24687
+ "body": {
24688
+ "package": "himalaya",
24689
+ "type": "Text",
24690
+ "props": {
24691
+ "text": "Booked",
24692
+ "style": "bodyEmphasis",
24693
+ "color": "success",
24694
+ "maxLines": 1
24695
+ }
24696
+ }
24697
+ },
24698
+ {
24699
+ "id": "",
24700
+ "body": {
24701
+ "package": "himalaya",
24702
+ "type": "Icon",
24703
+ "props": {
24704
+ "name": "chevron_down",
24705
+ "size": 14,
24706
+ "tint": "success"
24707
+ }
24708
+ },
24709
+ "modifiers": {
24710
+ "accessibilityRole": "decorative"
24711
+ }
24712
+ }
24713
+ ]
24714
+ }
24715
+ },
24716
+ "modifiers": {
24717
+ "onTap": {
24718
+ "actionId": "tier5.himiBrandedAgenda.openSheet",
24719
+ "params": {
24720
+ "eventId": "$item.id"
24721
+ }
24722
+ },
24723
+ "accessibilityLabel": "Booked",
24724
+ "accessibilityRole": "button",
24725
+ "hiddenPath": "$item.hideBooked"
24726
+ }
24727
+ },
24728
+ {
24729
+ "id": "himi_agenda.on_waitlist",
24730
+ "body": {
24731
+ "package": "himalaya",
24732
+ "type": "HStack",
24733
+ "props": {
24734
+ "spacing": 2,
24735
+ "children": [
24736
+ {
24737
+ "id": "",
24738
+ "body": {
24739
+ "package": "himalaya",
24740
+ "type": "Text",
24741
+ "props": {
24742
+ "text": "On waitlist",
24743
+ "style": "bodyEmphasis",
24744
+ "color": "warning",
24745
+ "maxLines": 1
24746
+ }
24747
+ }
24748
+ },
24749
+ {
24750
+ "id": "",
24751
+ "body": {
24752
+ "package": "himalaya",
24753
+ "type": "Icon",
24754
+ "props": {
24755
+ "name": "chevron_down",
24756
+ "size": 14,
24757
+ "tint": "warning"
24758
+ }
24759
+ },
24760
+ "modifiers": {
24761
+ "accessibilityRole": "decorative"
24762
+ }
24763
+ }
24764
+ ]
24765
+ }
24766
+ },
24767
+ "modifiers": {
24768
+ "onTap": {
24769
+ "actionId": "tier5.himiBrandedAgenda.openSheet",
24770
+ "params": {
24771
+ "eventId": "$item.id"
24772
+ }
24773
+ },
24774
+ "accessibilityLabel": "On waitlist",
24775
+ "accessibilityRole": "button",
24776
+ "hiddenPath": "$item.hideOnWaitlist"
24777
+ }
24778
+ },
24779
+ {
24780
+ "id": "",
24781
+ "body": {
24782
+ "package": "himalaya",
24783
+ "type": "Text",
24784
+ "props": {
24785
+ "text": "$item.closedLabel",
24786
+ "style": "footnote",
24787
+ "color": "textTertiary",
24788
+ "maxLines": 1
24789
+ }
24790
+ },
24791
+ "modifiers": {
24792
+ "hiddenPath": "$item.hideClosed"
24793
+ }
24794
+ }
24795
+ ]
24796
+ }
24797
+ }
24798
+ }
24799
+ ]
24800
+ }
24801
+ },
24802
+ "modifiers": {
24803
+ "padding": {
24804
+ "leading": 16,
24805
+ "trailing": 16,
24806
+ "top": 14,
24807
+ "bottom": 14
24808
+ },
24809
+ "fillMaxWidth": true
24810
+ }
24811
+ }
24812
+ }
24813
+ },
24814
+ "modifiers": {
24815
+ "fillMaxWidth": true,
24816
+ "hiddenPath": "$service:himiBrandedAgenda.listHidden"
24817
+ }
24818
+ },
24819
+ {
24820
+ "id": "himi_agenda.sheet",
24821
+ "body": {
24822
+ "package": "himalaya",
24823
+ "type": "BottomSheet",
24824
+ "props": {
24825
+ "presentedPath": "$service:himiBrandedAgenda.sheetOpen",
24826
+ "dismissible": true,
24827
+ "showGrabber": true,
24828
+ "onDismiss": {
24829
+ "actionId": "tier5.himiBrandedAgenda.closeSheet"
24830
+ },
24831
+ "content": {
24832
+ "id": "",
24833
+ "body": {
24834
+ "package": "himalaya",
24835
+ "type": "VStack",
24836
+ "props": {
24837
+ "spacing": 14,
24838
+ "alignment": "leading",
24839
+ "children": [
24840
+ {
24841
+ "id": "",
24842
+ "body": {
24843
+ "package": "himalaya",
24844
+ "type": "Text",
24845
+ "props": {
24846
+ "text": "$service:himiBrandedAgenda.sheetTitle",
24847
+ "style": "title3",
24848
+ "maxLines": 2
24849
+ }
24850
+ }
24851
+ },
24852
+ {
24853
+ "id": "",
24854
+ "body": {
24855
+ "package": "himalaya",
24856
+ "type": "Text",
24857
+ "props": {
24858
+ "text": "$service:himiBrandedAgenda.sheetWhen",
24859
+ "style": "footnote",
24860
+ "color": "textSecondary",
24861
+ "collapseWhenEmpty": true
24862
+ }
24863
+ }
24864
+ },
24865
+ {
24866
+ "id": "",
24867
+ "body": {
24868
+ "package": "himalaya",
24869
+ "type": "Divider",
24870
+ "props": {}
24871
+ }
24872
+ },
24873
+ {
24874
+ "id": "himi_agenda.view_session",
24875
+ "body": {
24876
+ "package": "himalaya",
24877
+ "type": "Button",
24878
+ "props": {
24879
+ "title": "View session",
24880
+ "style": "plain",
24881
+ "fullWidth": true,
24882
+ "action": {
24883
+ "actionId": "tier5.himiBrandedAgenda.viewSession"
24884
+ }
24885
+ }
24886
+ }
24887
+ },
24888
+ {
24889
+ "id": "himi_agenda.cancel_booking",
24890
+ "body": {
24891
+ "package": "himalaya",
24892
+ "type": "Button",
24893
+ "props": {
24894
+ "title": "Cancel booking",
24895
+ "style": "plain",
24896
+ "role": "destructive",
24897
+ "fullWidth": true,
24898
+ "disabledPath": "$service:himiBrandedAgenda.sheetBusy",
24899
+ "action": {
24900
+ "actionId": "tier5.himiBrandedAgenda.cancelBooking"
24901
+ }
24902
+ }
24903
+ },
24904
+ "modifiers": {
24905
+ "hiddenPath": "$service:himiBrandedAgenda.sheetHideCancel"
24906
+ }
24907
+ },
24908
+ {
24909
+ "id": "himi_agenda.leave_waitlist",
24910
+ "body": {
24911
+ "package": "himalaya",
24912
+ "type": "Button",
24913
+ "props": {
24914
+ "title": "Leave waitlist",
24915
+ "style": "plain",
24916
+ "role": "destructive",
24917
+ "fullWidth": true,
24918
+ "disabledPath": "$service:himiBrandedAgenda.sheetBusy",
24919
+ "action": {
24920
+ "actionId": "tier5.himiBrandedAgenda.cancelBooking"
24921
+ }
24922
+ }
24923
+ },
24924
+ "modifiers": {
24925
+ "hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
24926
+ }
24927
+ }
24928
+ ]
24929
+ }
24930
+ },
24931
+ "modifiers": {
24932
+ "padding": {
24933
+ "leading": 20,
24934
+ "trailing": 20,
24935
+ "top": 20,
24936
+ "bottom": 24
24937
+ }
24938
+ }
24939
+ }
24940
+ }
24941
+ }
24942
+ }
24943
+ ]
24944
+ }
24945
+ },
24946
+ "modifiers": {
24947
+ "background": {
24948
+ "token": "surfacePrimary"
24949
+ },
24950
+ "onAppear": {
24951
+ "actionId": "tier5.himiBrandedAgenda.load",
24952
+ "params": {
24953
+ "firstWeekday": "0"
24954
+ }
24955
+ }
24956
+ }
24957
+ },
24958
+ "logicBundle": {
24959
+ "url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
24960
+ "integrity": "",
24961
+ "contentType": "application/javascript+ts-bundle",
24962
+ "declaredCapabilities": [
24963
+ "wix_api",
24964
+ "app_info"
24965
+ ],
24966
+ "minBinaryVersion": "0.1.0",
24967
+ "bundleVersion": "0.0.1"
24968
+ },
24969
+ "topBar": {
24970
+ "leading": "none"
24971
+ },
24972
+ "stickyHeader": {
24973
+ "id": "himi_agenda.header",
24974
+ "body": {
24975
+ "package": "himalaya",
24976
+ "type": "VStack",
24977
+ "props": {
24978
+ "spacing": 0,
24979
+ "alignment": "leading",
24980
+ "children": [
24981
+ {
24982
+ "id": "himi_agenda.back",
24983
+ "body": {
24984
+ "package": "himalaya",
24985
+ "type": "Button",
24986
+ "props": {
24987
+ "title": "Back",
24988
+ "action": {
24989
+ "actionId": "nav.back",
24990
+ "presentation": "back"
24991
+ },
24992
+ "style": "tertiary",
24993
+ "iconOnly": true,
24994
+ "leadingIcon": "chevron_left",
24995
+ "cornerRadius": 22,
24996
+ "minHeight": 44
24997
+ }
24998
+ },
24999
+ "modifiers": {
25000
+ "width": 44,
25001
+ "height": 44,
25002
+ "accessibilityLabel": "Back",
25003
+ "accessibilityRole": "button"
25004
+ }
25005
+ },
25006
+ {
25007
+ "id": "himi_agenda.title",
25008
+ "body": {
25009
+ "package": "himalaya",
25010
+ "type": "Text",
25011
+ "props": {
25012
+ "text": "Agenda",
25013
+ "style": "title1"
25014
+ }
25015
+ },
25016
+ "modifiers": {
25017
+ "padding": {
25018
+ "leading": 16,
25019
+ "trailing": 16,
25020
+ "bottom": 8
25021
+ }
25022
+ }
25023
+ },
25024
+ {
25025
+ "id": "himi_agenda.calendar",
25026
+ "body": {
25027
+ "package": "himalaya",
25028
+ "type": "MonthCalendar",
25029
+ "props": {
25030
+ "displayMode": "week",
25031
+ "expandable": true,
25032
+ "firstWeekday": 0,
25033
+ "selectedDatePath": "$service:himiBrandedAgenda.selectedDate",
25034
+ "decorationsPath": "$service:himiBrandedAgenda.decorations",
25035
+ "maxDots": 1,
25036
+ "onSelectDate": {
25037
+ "actionId": "tier5.himiBrandedAgenda.selectDate"
25038
+ },
25039
+ "onVisibleRangeChange": {
25040
+ "actionId": "tier5.himiBrandedAgenda.rangeChanged"
25041
+ },
25042
+ "onMonthChange": {
25043
+ "actionId": "tier5.himiBrandedAgenda.monthChanged"
25044
+ }
25045
+ }
25046
+ },
25047
+ "modifiers": {
25048
+ "padding": {
25049
+ "leading": 16,
25050
+ "trailing": 16,
25051
+ "top": 4,
25052
+ "bottom": 8
25053
+ },
25054
+ "fillMaxWidth": true,
25055
+ "accessibilityLabel": "Class calendar"
25056
+ }
25057
+ },
25058
+ {
25059
+ "id": "",
25060
+ "body": {
25061
+ "package": "himalaya",
25062
+ "type": "Divider",
25063
+ "props": {}
25064
+ }
25065
+ }
25066
+ ]
25067
+ }
25068
+ },
25069
+ "modifiers": {
25070
+ "background": {
25071
+ "token": "surfacePrimary"
25072
+ },
25073
+ "padding": {
25074
+ "top": 4
25075
+ },
25076
+ "fillMaxWidth": true
25077
+ }
25078
+ }
25079
+ },
24296
25080
  "himi_menu": {
24297
25081
  "screenId": "himi_menu",
24298
25082
  "renderer": "sdui_intent",
@@ -86650,6 +87434,26 @@ const SCREENS = runtimeSetting({
86650
87434
  }
86651
87435
  }
86652
87436
  },
87437
+ {
87438
+ "id": "himi_business_chat.incoming_attachment_$item.id",
87439
+ "body": {
87440
+ "package": "himalaya",
87441
+ "type": "Image",
87442
+ "props": {
87443
+ "url": "$item.imageUrl",
87444
+ "fillWidth": true,
87445
+ "aspectRatio": 1.5,
87446
+ "contentMode": "fit",
87447
+ "contentDescription": "$item.imageDescription"
87448
+ }
87449
+ },
87450
+ "modifiers": {
87451
+ "fillMaxWidth": true,
87452
+ "cornerRadius": 12,
87453
+ "accessibilityLabel": "$item.imageDescription",
87454
+ "hiddenPath": "$item.noImage"
87455
+ }
87456
+ },
86653
87457
  {
86654
87458
  "id": "himi_business_chat.incoming_text_$item.id",
86655
87459
  "body": {
@@ -86661,29 +87465,73 @@ const SCREENS = runtimeSetting({
86661
87465
  "color": "textPrimary",
86662
87466
  "collapseWhenEmpty": true,
86663
87467
  "textDirection": "auto",
86664
- "markdown": true
87468
+ "markdown": true,
87469
+ "maxLines": 1000
86665
87470
  }
86666
87471
  },
86667
87472
  "modifiers": {}
86668
87473
  },
86669
87474
  {
86670
- "id": "himi_business_chat.incoming_attachment_$item.id",
87475
+ "id": "himi_business_chat.coupon_$item.id",
86671
87476
  "body": {
86672
87477
  "package": "himalaya",
86673
- "type": "Image",
87478
+ "type": "VStack",
86674
87479
  "props": {
86675
- "url": "$item.imageUrl",
86676
- "fillWidth": true,
86677
- "aspectRatio": 1.5,
86678
- "contentMode": "fit",
86679
- "contentDescription": "$item.imageDescription"
87480
+ "children": [
87481
+ {
87482
+ "id": "himi_business_chat.coupon_label_$item.id",
87483
+ "body": {
87484
+ "package": "himalaya",
87485
+ "type": "Text",
87486
+ "props": {
87487
+ "text": "Coupon code",
87488
+ "style": "caption",
87489
+ "color": "textSecondary",
87490
+ "collapseWhenEmpty": true,
87491
+ "textDirection": "auto"
87492
+ }
87493
+ },
87494
+ "modifiers": {}
87495
+ },
87496
+ {
87497
+ "id": "himi_business_chat.coupon_code_$item.id",
87498
+ "body": {
87499
+ "package": "himalaya",
87500
+ "type": "Text",
87501
+ "props": {
87502
+ "text": "$item.couponCode",
87503
+ "style": "title3",
87504
+ "color": "accentPrimary",
87505
+ "collapseWhenEmpty": true,
87506
+ "textDirection": "auto"
87507
+ }
87508
+ },
87509
+ "modifiers": {}
87510
+ }
87511
+ ],
87512
+ "spacing": 2,
87513
+ "alignment": "center"
86680
87514
  }
86681
87515
  },
86682
87516
  "modifiers": {
86683
87517
  "fillMaxWidth": true,
87518
+ "background": {
87519
+ "token": "accentSurface"
87520
+ },
86684
87521
  "cornerRadius": 12,
86685
- "accessibilityLabel": "$item.imageDescription",
86686
- "hiddenPath": "$item.noImage"
87522
+ "border": {
87523
+ "width": 1,
87524
+ "color": {
87525
+ "token": "accentPrimary"
87526
+ }
87527
+ },
87528
+ "padding": {
87529
+ "leading": 14,
87530
+ "trailing": 14,
87531
+ "top": 10,
87532
+ "bottom": 10
87533
+ },
87534
+ "hiddenPath": "$item.noCoupon"
86687
87535
  }
86688
87536
  },
86689
87537
  {
@@ -86701,8 +87549,9 @@ const SCREENS = runtimeSetting({
86701
87549
  "type": "Button",
86702
87550
  "props": {
86703
87551
  "title": "$item.label",
86704
- "style": "secondary",
86705
- "size": "sm",
87552
+ "style": "$item.style",
87553
+ "size": "md",
87554
+ "fullWidth": true,
86706
87555
  "action": {
86707
87556
  "actionId": "capability.open_url.open",
86708
87557
  "params": {
@@ -86937,21 +87786,6 @@ const SCREENS = runtimeSetting({
86937
87786
  },
86938
87787
  "modifiers": {}
86939
87788
  },
86940
- {
86941
- "id": "himi_business_chat.outgoing_text_$item.id",
86942
- "body": {
86943
- "package": "himalaya",
86944
- "type": "Text",
86945
- "props": {
86946
- "text": "$item.bodyText",
86947
- "style": "body",
86948
- "color": "textOnAccent",
86949
- "collapseWhenEmpty": true,
86950
- "textDirection": "auto"
86951
- }
86952
- },
86953
- "modifiers": {}
86954
- },
86955
87789
  {
86956
87790
  "id": "himi_business_chat.outgoing_attachment_$item.id",
86957
87791
  "body": {
@@ -86972,6 +87806,22 @@ const SCREENS = runtimeSetting({
86972
87806
  "hiddenPath": "$item.noImage"
86973
87807
  }
86974
87808
  },
87809
+ {
87810
+ "id": "himi_business_chat.outgoing_text_$item.id",
87811
+ "body": {
87812
+ "package": "himalaya",
87813
+ "type": "Text",
87814
+ "props": {
87815
+ "text": "$item.bodyText",
87816
+ "style": "body",
87817
+ "color": "textOnAccent",
87818
+ "collapseWhenEmpty": true,
87819
+ "textDirection": "auto",
87820
+ "maxLines": 1000
87821
+ }
87822
+ },
87823
+ "modifiers": {}
87824
+ },
86975
87825
  {
86976
87826
  "id": "himi_business_chat.outgoing_time_$item.id",
86977
87827
  "body": {
@@ -87331,51 +88181,66 @@ const SCREENS = runtimeSetting({
87331
88181
  }
87332
88182
  },
87333
88183
  {
87334
- "id": "himi_business_chat.send_icon",
88184
+ "id": "himi_business_chat.send_slot",
87335
88185
  "body": {
87336
88186
  "package": "himalaya",
87337
- "type": "Icon",
87338
- "props": {
87339
- "name": "send",
87340
- "size": 20,
87341
- "tint": "textOnAccent"
87342
- }
87343
- },
87344
- "modifiers": {
87345
- "accessibilityRole": "button",
87346
- "width": 40,
87347
- "height": 40,
87348
- "cornerRadius": 20,
87349
- "background": {
87350
- "token": "accentPrimary"
87351
- },
87352
- "accessibilityLabel": "Send",
87353
- "onTap": {
87354
- "actionId": "tier5.businessChat.send"
87355
- },
87356
- "hiddenPath": "$service:businessChat.sendDisabled"
87357
- }
87358
- },
87359
- {
87360
- "id": "himi_business_chat.send_icon_off",
87361
- "body": {
87362
- "package": "himalaya",
87363
- "type": "Icon",
88187
+ "type": "ZStack",
87364
88188
  "props": {
87365
- "name": "send",
87366
- "size": 20,
87367
- "tint": "textTertiary"
88189
+ "alignment": "center",
88190
+ "children": [
88191
+ {
88192
+ "id": "himi_business_chat.send_icon_off",
88193
+ "body": {
88194
+ "package": "himalaya",
88195
+ "type": "Icon",
88196
+ "props": {
88197
+ "name": "send",
88198
+ "size": 20,
88199
+ "tint": "textTertiary"
88200
+ }
88201
+ },
88202
+ "modifiers": {
88203
+ "accessibilityRole": "decorative",
88204
+ "width": 40,
88205
+ "height": 40,
88206
+ "cornerRadius": 20,
88207
+ "background": {
88208
+ "token": "surfaceSecondary"
88209
+ }
88210
+ }
88211
+ },
88212
+ {
88213
+ "id": "himi_business_chat.send_icon",
88214
+ "body": {
88215
+ "package": "himalaya",
88216
+ "type": "Icon",
88217
+ "props": {
88218
+ "name": "send",
88219
+ "size": 20,
88220
+ "tint": "textOnAccent"
88221
+ }
88222
+ },
88223
+ "modifiers": {
88224
+ "accessibilityRole": "button",
88225
+ "width": 40,
88226
+ "height": 40,
88227
+ "cornerRadius": 20,
88228
+ "background": {
88229
+ "token": "accentPrimary"
88230
+ },
88231
+ "accessibilityLabel": "Send",
88232
+ "onTap": {
88233
+ "actionId": "tier5.businessChat.send"
88234
+ },
88235
+ "hiddenPath": "$service:businessChat.sendDisabled"
88236
+ }
88237
+ }
88238
+ ]
87368
88239
  }
87369
88240
  },
87370
88241
  "modifiers": {
87371
- "accessibilityRole": "decorative",
87372
88242
  "width": 40,
87373
- "height": 40,
87374
- "cornerRadius": 20,
87375
- "background": {
87376
- "token": "surfaceSecondary"
87377
- },
87378
- "hiddenPath": "$service:businessChat.sendEnabled"
88243
+ "height": 40
87379
88244
  }
87380
88245
  }
87381
88246
  ],
@@ -87408,7 +88273,6 @@ const SCREENS = runtimeSetting({
87408
88273
  },
87409
88274
  "transcriptScroll": {
87410
88275
  "sendPath": "$service:businessChat.scrollSend",
87411
- "anchorPath": "$service:businessChat.scrollAnchor",
87412
88276
  "jumpLabel": "Jump to latest"
87413
88277
  }
87414
88278
  },