@wix/himalaya-cli 0.1411.0 → 0.1413.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 (86) hide show
  1. package/dist/cli.mjs +1199 -816
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/guides/release-notes.md +12 -0
  4. package/guides/wix-business-context.md +32 -0
  5. package/guides/wix-site-to-himi-app.md +21 -3
  6. package/package.json +2 -2
  7. package/templates/beauty-salon-owner/config.ts +29 -0
  8. package/templates/beauty-salon-owner/dev/index.ts +1121 -0
  9. package/templates/beauty-salon-owner/himalaya.content.json +6 -0
  10. package/templates/beauty-salon-owner/tier5-src/_shared/chat-live.ts +242 -0
  11. package/templates/beauty-salon-owner/tier5-src/_shared/detail-presence.ts +51 -0
  12. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  13. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  14. package/templates/branded-lite/dev/index.ts +1 -0
  15. package/templates/branded-lite/tier5-src/_shared/chat-live.ts +242 -0
  16. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +131 -21
  17. package/templates/community-club-owner/config.ts +29 -0
  18. package/templates/community-club-owner/dev/index.ts +1121 -0
  19. package/templates/community-club-owner/himalaya.content.json +6 -0
  20. package/templates/community-club-owner/tier5-src/_shared/chat-live.ts +242 -0
  21. package/templates/community-club-owner/tier5-src/_shared/detail-presence.ts +51 -0
  22. package/templates/community-club-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  23. package/templates/community-club-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  24. package/templates/events-meetups-owner/config.ts +29 -0
  25. package/templates/events-meetups-owner/dev/index.ts +1121 -0
  26. package/templates/events-meetups-owner/himalaya.content.json +6 -0
  27. package/templates/events-meetups-owner/tier5-src/_shared/chat-live.ts +242 -0
  28. package/templates/events-meetups-owner/tier5-src/_shared/detail-presence.ts +51 -0
  29. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  30. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  31. package/templates/gym-fitness-owner/config.ts +29 -0
  32. package/templates/gym-fitness-owner/dev/index.ts +1121 -0
  33. package/templates/gym-fitness-owner/himalaya.content.json +6 -0
  34. package/templates/gym-fitness-owner/tier5-src/_shared/chat-live.ts +242 -0
  35. package/templates/gym-fitness-owner/tier5-src/_shared/detail-presence.ts +51 -0
  36. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  37. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  38. package/templates/nonprofit-cause-owner/config.ts +29 -0
  39. package/templates/nonprofit-cause-owner/dev/index.ts +1121 -0
  40. package/templates/nonprofit-cause-owner/himalaya.content.json +6 -0
  41. package/templates/nonprofit-cause-owner/tier5-src/_shared/chat-live.ts +242 -0
  42. package/templates/nonprofit-cause-owner/tier5-src/_shared/detail-presence.ts +51 -0
  43. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  44. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  45. package/templates/owner-lite/config.ts +29 -0
  46. package/templates/owner-lite/dev/index.ts +1121 -0
  47. package/templates/owner-lite/himalaya.content.json +6 -0
  48. package/templates/owner-lite/tier5-src/_shared/chat-live.ts +242 -0
  49. package/templates/owner-lite/tier5-src/_shared/detail-presence.ts +51 -0
  50. package/templates/owner-lite/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  51. package/templates/owner-lite/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  52. package/templates/podcast-creator-owner/config.ts +29 -0
  53. package/templates/podcast-creator-owner/dev/index.ts +1121 -0
  54. package/templates/podcast-creator-owner/himalaya.content.json +6 -0
  55. package/templates/podcast-creator-owner/tier5-src/_shared/chat-live.ts +242 -0
  56. package/templates/podcast-creator-owner/tier5-src/_shared/detail-presence.ts +51 -0
  57. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  58. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  59. package/templates/portfolio-creative-owner/config.ts +29 -0
  60. package/templates/portfolio-creative-owner/dev/index.ts +1121 -0
  61. package/templates/portfolio-creative-owner/himalaya.content.json +6 -0
  62. package/templates/portfolio-creative-owner/tier5-src/_shared/chat-live.ts +242 -0
  63. package/templates/portfolio-creative-owner/tier5-src/_shared/detail-presence.ts +51 -0
  64. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  65. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  66. package/templates/restaurant-owner/config.ts +29 -0
  67. package/templates/restaurant-owner/dev/index.ts +1121 -0
  68. package/templates/restaurant-owner/himalaya.content.json +6 -0
  69. package/templates/restaurant-owner/tier5-src/_shared/chat-live.ts +242 -0
  70. package/templates/restaurant-owner/tier5-src/_shared/detail-presence.ts +51 -0
  71. package/templates/restaurant-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  72. package/templates/restaurant-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  73. package/templates/retail-store-owner/config.ts +29 -0
  74. package/templates/retail-store-owner/dev/index.ts +1121 -0
  75. package/templates/retail-store-owner/himalaya.content.json +6 -0
  76. package/templates/retail-store-owner/tier5-src/_shared/chat-live.ts +242 -0
  77. package/templates/retail-store-owner/tier5-src/_shared/detail-presence.ts +51 -0
  78. package/templates/retail-store-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  79. package/templates/retail-store-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  80. package/templates/yoga-studio-owner/config.ts +29 -0
  81. package/templates/yoga-studio-owner/dev/index.ts +1121 -0
  82. package/templates/yoga-studio-owner/himalaya.content.json +6 -0
  83. package/templates/yoga-studio-owner/tier5-src/_shared/chat-live.ts +242 -0
  84. package/templates/yoga-studio-owner/tier5-src/_shared/detail-presence.ts +51 -0
  85. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  86. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
@@ -64308,6 +64308,1127 @@ const SCREENS = runtimeSetting({
64308
64308
  "bundleVersion": "0.0.1"
64309
64309
  }
64310
64310
  },
64311
+ "himi_owner_lite_inbox": {
64312
+ "screenId": "himi_owner_lite_inbox",
64313
+ "renderer": "sdui_intent",
64314
+ "title": "",
64315
+ "schemaVersion": 1,
64316
+ "cacheControl": {
64317
+ "maxAge": 0,
64318
+ "staleWhileRevalidate": 0
64319
+ },
64320
+ "telemetryScreenName": "himi_owner_lite_inbox",
64321
+ "payload": {
64322
+ "id": "himi_owner_lite_inbox.root",
64323
+ "body": {
64324
+ "package": "himalaya",
64325
+ "type": "VStack",
64326
+ "props": {
64327
+ "spacing": 16,
64328
+ "alignment": "leading",
64329
+ "children": [
64330
+ {
64331
+ "id": "himi_owner_lite_inbox.title",
64332
+ "body": {
64333
+ "package": "himalaya",
64334
+ "type": "Text",
64335
+ "props": {
64336
+ "text": "Inbox",
64337
+ "style": "title1"
64338
+ }
64339
+ },
64340
+ "modifiers": {
64341
+ "headingLevel": 1
64342
+ }
64343
+ },
64344
+ {
64345
+ "id": "himi_owner_lite_inbox.search",
64346
+ "body": {
64347
+ "package": "himalaya",
64348
+ "type": "SearchField",
64349
+ "props": {
64350
+ "placeholder": "Search conversations",
64351
+ "debounceMs": 200,
64352
+ "onChange": {
64353
+ "actionId": "tier5.ownerLiteInbox.search"
64354
+ }
64355
+ }
64356
+ }
64357
+ },
64358
+ {
64359
+ "id": "himi_owner_lite_inbox.filter",
64360
+ "body": {
64361
+ "package": "himalaya",
64362
+ "type": "SegmentedControl",
64363
+ "props": {
64364
+ "options": [
64365
+ {
64366
+ "id": "all",
64367
+ "label": "All"
64368
+ },
64369
+ {
64370
+ "id": "unread",
64371
+ "label": "Unread"
64372
+ }
64373
+ ],
64374
+ "selectedId": "$service:ownerLiteInbox.filter",
64375
+ "onChange": {
64376
+ "actionId": "tier5.ownerLiteInbox.filter"
64377
+ }
64378
+ }
64379
+ }
64380
+ },
64381
+ {
64382
+ "id": "",
64383
+ "body": {
64384
+ "package": "himalaya",
64385
+ "type": "VStack",
64386
+ "props": {
64387
+ "spacing": 10,
64388
+ "alignment": "leading",
64389
+ "children": [
64390
+ {
64391
+ "id": "",
64392
+ "body": {
64393
+ "package": "himalaya",
64394
+ "type": "HStack",
64395
+ "props": {
64396
+ "spacing": 10,
64397
+ "children": [
64398
+ {
64399
+ "id": "",
64400
+ "body": {
64401
+ "package": "himalaya",
64402
+ "type": "Icon",
64403
+ "props": {
64404
+ "name": "warning",
64405
+ "size": 18,
64406
+ "tint": "accentPrimary"
64407
+ }
64408
+ },
64409
+ "modifiers": {
64410
+ "accessibilityRole": "decorative"
64411
+ }
64412
+ },
64413
+ {
64414
+ "id": "",
64415
+ "body": {
64416
+ "package": "himalaya",
64417
+ "type": "Text",
64418
+ "props": {
64419
+ "text": "Couldn’t load your messages",
64420
+ "style": "bodyEmphasis"
64421
+ }
64422
+ }
64423
+ }
64424
+ ]
64425
+ }
64426
+ }
64427
+ },
64428
+ {
64429
+ "id": "",
64430
+ "body": {
64431
+ "package": "himalaya",
64432
+ "type": "Text",
64433
+ "props": {
64434
+ "text": "$service:ownerLiteInbox.error",
64435
+ "style": "footnote",
64436
+ "color": "textSecondary",
64437
+ "maxLines": 3,
64438
+ "collapseWhenEmpty": true
64439
+ }
64440
+ }
64441
+ },
64442
+ {
64443
+ "id": "himi_owner_lite_inbox.retry.retry",
64444
+ "body": {
64445
+ "package": "himalaya",
64446
+ "type": "Button",
64447
+ "props": {
64448
+ "title": "Try again",
64449
+ "style": "secondary",
64450
+ "action": {
64451
+ "actionId": "tier5.ownerLiteInbox.refresh"
64452
+ }
64453
+ }
64454
+ }
64455
+ }
64456
+ ]
64457
+ }
64458
+ },
64459
+ "modifiers": {
64460
+ "background": {
64461
+ "token": "surfaceElevated"
64462
+ },
64463
+ "border": {
64464
+ "width": 1,
64465
+ "color": {
64466
+ "token": "border"
64467
+ }
64468
+ },
64469
+ "cornerRadius": 12,
64470
+ "padding": {
64471
+ "leading": 14,
64472
+ "trailing": 14,
64473
+ "top": 14,
64474
+ "bottom": 14
64475
+ },
64476
+ "fillMaxWidth": true,
64477
+ "transition": {
64478
+ "enter": "fade",
64479
+ "exit": "fade"
64480
+ },
64481
+ "hiddenPath": "$service:ownerLiteInbox.notErrored"
64482
+ }
64483
+ },
64484
+ {
64485
+ "id": "",
64486
+ "body": {
64487
+ "package": "himalaya",
64488
+ "type": "Text",
64489
+ "props": {
64490
+ "text": "$service:ownerLiteInbox.actionError",
64491
+ "style": "footnote",
64492
+ "color": "accentPrimary",
64493
+ "maxLines": 3,
64494
+ "collapseWhenEmpty": true
64495
+ }
64496
+ }
64497
+ },
64498
+ {
64499
+ "id": "himi_owner_lite_inbox.body",
64500
+ "body": {
64501
+ "package": "himalaya",
64502
+ "type": "FragmentSlot",
64503
+ "props": {
64504
+ "casePath": "$service:ownerLiteInbox.phase",
64505
+ "cases": [
64506
+ {
64507
+ "id": "loading",
64508
+ "content": {
64509
+ "id": "",
64510
+ "body": {
64511
+ "package": "himalaya",
64512
+ "type": "VStack",
64513
+ "props": {
64514
+ "spacing": 12,
64515
+ "children": [
64516
+ {
64517
+ "id": "himi_owner_lite_inbox.skeleton",
64518
+ "body": {
64519
+ "package": "himalaya",
64520
+ "type": "Skeleton",
64521
+ "props": {
64522
+ "height": 64,
64523
+ "cornerRadius": 12,
64524
+ "count": 5
64525
+ }
64526
+ }
64527
+ }
64528
+ ]
64529
+ }
64530
+ },
64531
+ "modifiers": {
64532
+ "fillMaxWidth": true,
64533
+ "accessibilityRole": "decorative"
64534
+ }
64535
+ }
64536
+ },
64537
+ {
64538
+ "id": "ready",
64539
+ "content": {
64540
+ "id": "",
64541
+ "body": {
64542
+ "package": "himalaya",
64543
+ "type": "VStack",
64544
+ "props": {
64545
+ "spacing": 12,
64546
+ "alignment": "leading",
64547
+ "children": [
64548
+ {
64549
+ "id": "",
64550
+ "body": {
64551
+ "package": "himalaya",
64552
+ "type": "Text",
64553
+ "props": {
64554
+ "text": "$service:ownerLiteInbox.summary",
64555
+ "style": "caption",
64556
+ "color": "textTertiary",
64557
+ "collapseWhenEmpty": true
64558
+ }
64559
+ }
64560
+ },
64561
+ {
64562
+ "id": "himi_owner_lite_inbox.list",
64563
+ "body": {
64564
+ "package": "himalaya",
64565
+ "type": "LazyList",
64566
+ "props": {
64567
+ "spacing": 0,
64568
+ "itemsPath": "$service:ownerLiteInbox.items",
64569
+ "items": [
64570
+ {
64571
+ "id": "",
64572
+ "body": {
64573
+ "package": "himalaya",
64574
+ "type": "HStack",
64575
+ "props": {
64576
+ "spacing": 12,
64577
+ "children": [
64578
+ {
64579
+ "id": "",
64580
+ "body": {
64581
+ "package": "himalaya",
64582
+ "type": "Image",
64583
+ "props": {
64584
+ "url": "$item.image",
64585
+ "height": 44,
64586
+ "contentMode": "fill"
64587
+ }
64588
+ },
64589
+ "modifiers": {
64590
+ "accessibilityRole": "decorative",
64591
+ "width": 44,
64592
+ "height": 44,
64593
+ "cornerRadius": 22,
64594
+ "hiddenPath": "$item.noImage"
64595
+ }
64596
+ },
64597
+ {
64598
+ "id": "",
64599
+ "body": {
64600
+ "package": "himalaya",
64601
+ "type": "ZStack",
64602
+ "props": {
64603
+ "alignment": "center",
64604
+ "children": [
64605
+ {
64606
+ "id": "",
64607
+ "body": {
64608
+ "package": "himalaya",
64609
+ "type": "Text",
64610
+ "props": {
64611
+ "text": "$item.initial",
64612
+ "style": "bodyEmphasis",
64613
+ "color": "textOnAccent"
64614
+ }
64615
+ }
64616
+ }
64617
+ ]
64618
+ }
64619
+ },
64620
+ "modifiers": {
64621
+ "width": 44,
64622
+ "height": 44,
64623
+ "background": {
64624
+ "token": "accentPrimary"
64625
+ },
64626
+ "cornerRadius": 22,
64627
+ "accessibilityRole": "decorative",
64628
+ "hiddenPath": "$item.hasImage"
64629
+ }
64630
+ },
64631
+ {
64632
+ "id": "",
64633
+ "body": {
64634
+ "package": "himalaya",
64635
+ "type": "VStack",
64636
+ "props": {
64637
+ "spacing": 3,
64638
+ "alignment": "leading",
64639
+ "children": [
64640
+ {
64641
+ "id": "",
64642
+ "body": {
64643
+ "package": "himalaya",
64644
+ "type": "Text",
64645
+ "props": {
64646
+ "text": "$item.display",
64647
+ "style": "bodyEmphasis",
64648
+ "maxLines": 1
64649
+ }
64650
+ }
64651
+ },
64652
+ {
64653
+ "id": "",
64654
+ "body": {
64655
+ "package": "himalaya",
64656
+ "type": "Text",
64657
+ "props": {
64658
+ "text": "$item.subtitle",
64659
+ "style": "footnote",
64660
+ "color": "textSecondary",
64661
+ "maxLines": 1,
64662
+ "collapseWhenEmpty": true
64663
+ }
64664
+ }
64665
+ }
64666
+ ]
64667
+ }
64668
+ },
64669
+ "modifiers": {
64670
+ "weight": 1
64671
+ }
64672
+ },
64673
+ {
64674
+ "id": "",
64675
+ "body": {
64676
+ "package": "himalaya",
64677
+ "type": "VStack",
64678
+ "props": {
64679
+ "spacing": 5,
64680
+ "alignment": "trailing",
64681
+ "children": [
64682
+ {
64683
+ "id": "",
64684
+ "body": {
64685
+ "package": "himalaya",
64686
+ "type": "Text",
64687
+ "props": {
64688
+ "text": "$item.timeText",
64689
+ "style": "caption",
64690
+ "color": "textTertiary",
64691
+ "maxLines": 1,
64692
+ "collapseWhenEmpty": true
64693
+ }
64694
+ }
64695
+ },
64696
+ {
64697
+ "id": "himi_owner_lite_inbox.row_unread",
64698
+ "body": {
64699
+ "package": "himalaya",
64700
+ "type": "Badge",
64701
+ "props": {
64702
+ "text": "$item.unreadText",
64703
+ "token": "accentPrimary"
64704
+ }
64705
+ },
64706
+ "modifiers": {
64707
+ "hiddenPath": "$item.unreadHidden"
64708
+ }
64709
+ }
64710
+ ]
64711
+ }
64712
+ }
64713
+ }
64714
+ ]
64715
+ }
64716
+ },
64717
+ "modifiers": {
64718
+ "padding": {
64719
+ "leading": 4,
64720
+ "trailing": 4,
64721
+ "top": 10,
64722
+ "bottom": 10
64723
+ },
64724
+ "fillMaxWidth": true,
64725
+ "onTap": {
64726
+ "actionId": "himi.open",
64727
+ "params": {
64728
+ "screenId": "himi_owner_lite_inbox_thread",
64729
+ "id": "$item.id",
64730
+ "kind": "$item.kind"
64731
+ }
64732
+ },
64733
+ "pressFeedback": "highlight",
64734
+ "haptic": "light",
64735
+ "accessibilityLabel": "$item.spokenLabel"
64736
+ }
64737
+ }
64738
+ ],
64739
+ "onPullToRefresh": {
64740
+ "actionId": "tier5.ownerLiteInbox.refresh"
64741
+ },
64742
+ "rowSwipeActions": {
64743
+ "trailing": [
64744
+ {
64745
+ "label": "Archive",
64746
+ "icon": "tray",
64747
+ "action": {
64748
+ "actionId": "tier5.ownerLiteInbox.archive",
64749
+ "params": {
64750
+ "id": "$item.id"
64751
+ }
64752
+ }
64753
+ },
64754
+ {
64755
+ "label": "Mark unread",
64756
+ "icon": "mail",
64757
+ "action": {
64758
+ "actionId": "tier5.ownerLiteInbox.markUnread",
64759
+ "params": {
64760
+ "id": "$item.id"
64761
+ }
64762
+ }
64763
+ }
64764
+ ]
64765
+ }
64766
+ }
64767
+ },
64768
+ "modifiers": {
64769
+ "hiddenPath": "$service:ownerLiteInbox.hideList"
64770
+ }
64771
+ },
64772
+ {
64773
+ "id": "himi_owner_lite_inbox.empty_empty",
64774
+ "body": {
64775
+ "package": "himalaya",
64776
+ "type": "EmptyState",
64777
+ "props": {
64778
+ "title": "No messages yet",
64779
+ "subtitle": "When customers message your site, their conversations show up here.",
64780
+ "icon": "chat"
64781
+ }
64782
+ },
64783
+ "modifiers": {
64784
+ "fillMaxWidth": true,
64785
+ "hiddenPath": "$service:ownerLiteInbox.hideEmptyAll"
64786
+ }
64787
+ },
64788
+ {
64789
+ "id": "himi_owner_lite_inbox.empty_caughtUp",
64790
+ "body": {
64791
+ "package": "himalaya",
64792
+ "type": "EmptyState",
64793
+ "props": {
64794
+ "title": "You’re all caught up",
64795
+ "subtitle": "No unread conversations right now.",
64796
+ "icon": "check"
64797
+ }
64798
+ },
64799
+ "modifiers": {
64800
+ "fillMaxWidth": true,
64801
+ "hiddenPath": "$service:ownerLiteInbox.hideEmptyUnread"
64802
+ }
64803
+ },
64804
+ {
64805
+ "id": "himi_owner_lite_inbox.empty_noMatch",
64806
+ "body": {
64807
+ "package": "himalaya",
64808
+ "type": "EmptyState",
64809
+ "props": {
64810
+ "title": "No matches",
64811
+ "subtitle": "No conversation matches your search.",
64812
+ "icon": "search"
64813
+ }
64814
+ },
64815
+ "modifiers": {
64816
+ "fillMaxWidth": true,
64817
+ "hiddenPath": "$service:ownerLiteInbox.hideEmptyNoMatch"
64818
+ }
64819
+ }
64820
+ ]
64821
+ }
64822
+ }
64823
+ }
64824
+ }
64825
+ ],
64826
+ "defaultCase": "loading"
64827
+ }
64828
+ }
64829
+ }
64830
+ ]
64831
+ }
64832
+ },
64833
+ "modifiers": {
64834
+ "background": {
64835
+ "token": "surfacePrimary"
64836
+ },
64837
+ "padding": {
64838
+ "leading": 16,
64839
+ "trailing": 16,
64840
+ "top": 18,
64841
+ "bottom": 24
64842
+ },
64843
+ "onAppear": {
64844
+ "actionId": "tier5.ownerLiteInbox.load"
64845
+ }
64846
+ }
64847
+ },
64848
+ "logicBundle": {
64849
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-inbox",
64850
+ "integrity": "",
64851
+ "contentType": "application/javascript+ts-bundle",
64852
+ "declaredCapabilities": [
64853
+ "wix_api"
64854
+ ],
64855
+ "minBinaryVersion": "0.1.0",
64856
+ "bundleVersion": "0.0.1"
64857
+ }
64858
+ },
64859
+ "himi_owner_lite_inbox_thread": {
64860
+ "screenId": "himi_owner_lite_inbox_thread",
64861
+ "renderer": "sdui_intent",
64862
+ "title": "Conversation",
64863
+ "schemaVersion": 1,
64864
+ "cacheControl": {
64865
+ "maxAge": 0,
64866
+ "staleWhileRevalidate": 0
64867
+ },
64868
+ "telemetryScreenName": "himi_owner_lite_inbox_thread",
64869
+ "payload": {
64870
+ "id": "himi_owner_lite_inbox_thread.root",
64871
+ "body": {
64872
+ "package": "himalaya",
64873
+ "type": "VStack",
64874
+ "props": {
64875
+ "spacing": 12,
64876
+ "alignment": "leading",
64877
+ "children": [
64878
+ {
64879
+ "id": "himi_owner_lite_inbox_thread.body",
64880
+ "body": {
64881
+ "package": "himalaya",
64882
+ "type": "FragmentSlot",
64883
+ "props": {
64884
+ "casePath": "$service:ownerLiteInboxThread.phase",
64885
+ "cases": [
64886
+ {
64887
+ "id": "loading",
64888
+ "content": {
64889
+ "id": "",
64890
+ "body": {
64891
+ "package": "himalaya",
64892
+ "type": "VStack",
64893
+ "props": {
64894
+ "spacing": 10,
64895
+ "children": [
64896
+ {
64897
+ "id": "himi_owner_lite_inbox_thread.sk1",
64898
+ "body": {
64899
+ "package": "himalaya",
64900
+ "type": "Skeleton",
64901
+ "props": {
64902
+ "width": 220,
64903
+ "height": 44,
64904
+ "cornerRadius": 16
64905
+ }
64906
+ }
64907
+ },
64908
+ {
64909
+ "id": "",
64910
+ "body": {
64911
+ "package": "himalaya",
64912
+ "type": "HStack",
64913
+ "props": {
64914
+ "children": [
64915
+ {
64916
+ "id": "",
64917
+ "body": {
64918
+ "package": "himalaya",
64919
+ "type": "Spacer",
64920
+ "props": {}
64921
+ }
64922
+ },
64923
+ {
64924
+ "id": "himi_owner_lite_inbox_thread.sk2",
64925
+ "body": {
64926
+ "package": "himalaya",
64927
+ "type": "Skeleton",
64928
+ "props": {
64929
+ "width": 180,
64930
+ "height": 44,
64931
+ "cornerRadius": 16
64932
+ }
64933
+ }
64934
+ }
64935
+ ]
64936
+ }
64937
+ }
64938
+ },
64939
+ {
64940
+ "id": "himi_owner_lite_inbox_thread.sk3",
64941
+ "body": {
64942
+ "package": "himalaya",
64943
+ "type": "Skeleton",
64944
+ "props": {
64945
+ "width": 240,
64946
+ "height": 64,
64947
+ "cornerRadius": 16
64948
+ }
64949
+ }
64950
+ }
64951
+ ]
64952
+ }
64953
+ },
64954
+ "modifiers": {
64955
+ "fillMaxWidth": true,
64956
+ "accessibilityRole": "decorative"
64957
+ }
64958
+ }
64959
+ },
64960
+ {
64961
+ "id": "ready",
64962
+ "content": {
64963
+ "id": "",
64964
+ "body": {
64965
+ "package": "himalaya",
64966
+ "type": "VStack",
64967
+ "props": {
64968
+ "spacing": 12,
64969
+ "alignment": "leading",
64970
+ "children": [
64971
+ {
64972
+ "id": "",
64973
+ "body": {
64974
+ "package": "himalaya",
64975
+ "type": "VStack",
64976
+ "props": {
64977
+ "spacing": 8,
64978
+ "alignment": "leading",
64979
+ "children": [
64980
+ {
64981
+ "id": "himi_owner_lite_inbox_thread.title",
64982
+ "body": {
64983
+ "package": "himalaya",
64984
+ "type": "Text",
64985
+ "props": {
64986
+ "text": "$service:ownerLiteInboxThread.headerName",
64987
+ "style": "title2",
64988
+ "maxLines": 1,
64989
+ "collapseWhenEmpty": true
64990
+ }
64991
+ },
64992
+ "modifiers": {
64993
+ "headingLevel": 1
64994
+ }
64995
+ },
64996
+ {
64997
+ "id": "himi_owner_lite_inbox_thread.messages",
64998
+ "body": {
64999
+ "package": "himalaya",
65000
+ "type": "Grid",
65001
+ "props": {
65002
+ "columns": 1,
65003
+ "spacing": 0,
65004
+ "itemsPath": "$service:ownerLiteInboxThread.messages",
65005
+ "items": [
65006
+ {
65007
+ "id": "",
65008
+ "body": {
65009
+ "package": "himalaya",
65010
+ "type": "HStack",
65011
+ "props": {
65012
+ "children": [
65013
+ {
65014
+ "id": "",
65015
+ "body": {
65016
+ "package": "himalaya",
65017
+ "type": "Spacer",
65018
+ "props": {
65019
+ "value": "$item.leadFill",
65020
+ "collapseWhenEmpty": true
65021
+ }
65022
+ }
65023
+ },
65024
+ {
65025
+ "id": "",
65026
+ "body": {
65027
+ "package": "himalaya",
65028
+ "type": "VStack",
65029
+ "props": {
65030
+ "spacing": 2,
65031
+ "alignment": "leading",
65032
+ "children": [
65033
+ {
65034
+ "id": "",
65035
+ "body": {
65036
+ "package": "himalaya",
65037
+ "type": "Text",
65038
+ "props": {
65039
+ "text": "$item.text",
65040
+ "style": "body",
65041
+ "color": "textOnAccent"
65042
+ }
65043
+ }
65044
+ },
65045
+ {
65046
+ "id": "",
65047
+ "body": {
65048
+ "package": "himalaya",
65049
+ "type": "Text",
65050
+ "props": {
65051
+ "text": "$item.when",
65052
+ "style": "caption",
65053
+ "color": "textOnAccent",
65054
+ "collapseWhenEmpty": true
65055
+ }
65056
+ }
65057
+ }
65058
+ ]
65059
+ }
65060
+ },
65061
+ "modifiers": {
65062
+ "background": {
65063
+ "token": "accentPrimary"
65064
+ },
65065
+ "cornerRadius": 16,
65066
+ "maxWidth": 270,
65067
+ "padding": {
65068
+ "leading": 12,
65069
+ "trailing": 12,
65070
+ "top": 8,
65071
+ "bottom": 8
65072
+ },
65073
+ "hiddenPath": "$item.theirs"
65074
+ }
65075
+ },
65076
+ {
65077
+ "id": "",
65078
+ "body": {
65079
+ "package": "himalaya",
65080
+ "type": "VStack",
65081
+ "props": {
65082
+ "spacing": 2,
65083
+ "alignment": "leading",
65084
+ "children": [
65085
+ {
65086
+ "id": "",
65087
+ "body": {
65088
+ "package": "himalaya",
65089
+ "type": "Text",
65090
+ "props": {
65091
+ "text": "$item.text",
65092
+ "style": "body",
65093
+ "color": "textPrimary"
65094
+ }
65095
+ }
65096
+ },
65097
+ {
65098
+ "id": "",
65099
+ "body": {
65100
+ "package": "himalaya",
65101
+ "type": "Text",
65102
+ "props": {
65103
+ "text": "$item.when",
65104
+ "style": "caption",
65105
+ "color": "textSecondary",
65106
+ "collapseWhenEmpty": true
65107
+ }
65108
+ }
65109
+ }
65110
+ ]
65111
+ }
65112
+ },
65113
+ "modifiers": {
65114
+ "background": {
65115
+ "token": "surfaceSecondary"
65116
+ },
65117
+ "cornerRadius": 16,
65118
+ "maxWidth": 270,
65119
+ "padding": {
65120
+ "leading": 12,
65121
+ "trailing": 12,
65122
+ "top": 8,
65123
+ "bottom": 8
65124
+ },
65125
+ "hiddenPath": "$item.mine"
65126
+ }
65127
+ }
65128
+ ]
65129
+ }
65130
+ },
65131
+ "modifiers": {
65132
+ "padding": {
65133
+ "leading": 0,
65134
+ "trailing": 0,
65135
+ "top": 3,
65136
+ "bottom": 3
65137
+ },
65138
+ "fillMaxWidth": true,
65139
+ "accessibilityLabel": "$item.spokenLabel"
65140
+ }
65141
+ }
65142
+ ]
65143
+ }
65144
+ }
65145
+ },
65146
+ {
65147
+ "id": "himi_owner_lite_inbox_thread.empty",
65148
+ "body": {
65149
+ "package": "himalaya",
65150
+ "type": "EmptyState",
65151
+ "props": {
65152
+ "title": "No messages yet",
65153
+ "subtitle": "Write the first reply below.",
65154
+ "icon": "chat"
65155
+ }
65156
+ },
65157
+ "modifiers": {
65158
+ "fillMaxWidth": true,
65159
+ "hiddenPath": "$service:ownerLiteInboxThread.hideEmpty"
65160
+ }
65161
+ }
65162
+ ]
65163
+ }
65164
+ },
65165
+ "modifiers": {
65166
+ "hiddenPath": "$service:ownerLiteInboxThread.noEntity"
65167
+ }
65168
+ },
65169
+ {
65170
+ "id": "himi_owner_lite_inbox_thread.not_found",
65171
+ "body": {
65172
+ "package": "himalaya",
65173
+ "type": "VStack",
65174
+ "props": {
65175
+ "spacing": 12,
65176
+ "alignment": "center",
65177
+ "children": [
65178
+ {
65179
+ "id": "himi_owner_lite_inbox_thread.not_found_state",
65180
+ "body": {
65181
+ "package": "himalaya",
65182
+ "type": "EmptyState",
65183
+ "props": {
65184
+ "title": "Conversation not found",
65185
+ "subtitle": "It may have been archived or deleted.",
65186
+ "icon": "chat"
65187
+ }
65188
+ }
65189
+ },
65190
+ {
65191
+ "id": "himi_owner_lite_inbox_thread.not_found_back",
65192
+ "body": {
65193
+ "package": "himalaya",
65194
+ "type": "Button",
65195
+ "props": {
65196
+ "title": "Back to Inbox",
65197
+ "style": "secondary",
65198
+ "action": {
65199
+ "actionId": "tier5.ownerLiteInboxThread.back"
65200
+ }
65201
+ }
65202
+ }
65203
+ }
65204
+ ]
65205
+ }
65206
+ },
65207
+ "modifiers": {
65208
+ "fillMaxWidth": true,
65209
+ "hiddenPath": "$service:ownerLiteInboxThread.hideNotFound"
65210
+ }
65211
+ },
65212
+ {
65213
+ "id": "",
65214
+ "body": {
65215
+ "package": "himalaya",
65216
+ "type": "VStack",
65217
+ "props": {
65218
+ "spacing": 10,
65219
+ "alignment": "leading",
65220
+ "children": [
65221
+ {
65222
+ "id": "",
65223
+ "body": {
65224
+ "package": "himalaya",
65225
+ "type": "HStack",
65226
+ "props": {
65227
+ "spacing": 10,
65228
+ "children": [
65229
+ {
65230
+ "id": "",
65231
+ "body": {
65232
+ "package": "himalaya",
65233
+ "type": "Icon",
65234
+ "props": {
65235
+ "name": "warning",
65236
+ "size": 18,
65237
+ "tint": "accentPrimary"
65238
+ }
65239
+ },
65240
+ "modifiers": {
65241
+ "accessibilityRole": "decorative"
65242
+ }
65243
+ },
65244
+ {
65245
+ "id": "",
65246
+ "body": {
65247
+ "package": "himalaya",
65248
+ "type": "Text",
65249
+ "props": {
65250
+ "text": "Couldn’t load this conversation",
65251
+ "style": "bodyEmphasis"
65252
+ }
65253
+ }
65254
+ }
65255
+ ]
65256
+ }
65257
+ }
65258
+ },
65259
+ {
65260
+ "id": "",
65261
+ "body": {
65262
+ "package": "himalaya",
65263
+ "type": "Text",
65264
+ "props": {
65265
+ "text": "$service:ownerLiteInboxThread.error",
65266
+ "style": "footnote",
65267
+ "color": "textSecondary",
65268
+ "maxLines": 3,
65269
+ "collapseWhenEmpty": true
65270
+ }
65271
+ }
65272
+ },
65273
+ {
65274
+ "id": "himi_owner_lite_inbox_thread.retry",
65275
+ "body": {
65276
+ "package": "himalaya",
65277
+ "type": "Button",
65278
+ "props": {
65279
+ "title": "Try again",
65280
+ "style": "secondary",
65281
+ "action": {
65282
+ "actionId": "tier5.ownerLiteInboxThread.load"
65283
+ }
65284
+ }
65285
+ }
65286
+ }
65287
+ ]
65288
+ }
65289
+ },
65290
+ "modifiers": {
65291
+ "background": {
65292
+ "token": "surfaceElevated"
65293
+ },
65294
+ "border": {
65295
+ "width": 1,
65296
+ "color": {
65297
+ "token": "border"
65298
+ }
65299
+ },
65300
+ "cornerRadius": 12,
65301
+ "padding": {
65302
+ "leading": 14,
65303
+ "trailing": 14,
65304
+ "top": 14,
65305
+ "bottom": 14
65306
+ },
65307
+ "fillMaxWidth": true,
65308
+ "hiddenPath": "$service:ownerLiteInboxThread.hideLoadError"
65309
+ }
65310
+ }
65311
+ ]
65312
+ }
65313
+ }
65314
+ }
65315
+ }
65316
+ ],
65317
+ "defaultCase": "loading"
65318
+ }
65319
+ }
65320
+ }
65321
+ ]
65322
+ }
65323
+ },
65324
+ "modifiers": {
65325
+ "background": {
65326
+ "token": "surfacePrimary"
65327
+ },
65328
+ "padding": {
65329
+ "leading": 16,
65330
+ "trailing": 16,
65331
+ "top": 12,
65332
+ "bottom": 16
65333
+ },
65334
+ "onAppear": {
65335
+ "actionId": "tier5.ownerLiteInboxThread.load"
65336
+ }
65337
+ }
65338
+ },
65339
+ "logicBundle": {
65340
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-inbox-thread",
65341
+ "integrity": "",
65342
+ "contentType": "application/javascript+ts-bundle",
65343
+ "declaredCapabilities": [
65344
+ "wix_api"
65345
+ ],
65346
+ "minBinaryVersion": "0.1.0",
65347
+ "bundleVersion": "0.0.1"
65348
+ },
65349
+ "stickyFooter": {
65350
+ "id": "himi_owner_lite_inbox_thread.footer",
65351
+ "body": {
65352
+ "package": "himalaya",
65353
+ "type": "VStack",
65354
+ "props": {
65355
+ "spacing": 4,
65356
+ "alignment": "leading",
65357
+ "children": [
65358
+ {
65359
+ "id": "",
65360
+ "body": {
65361
+ "package": "himalaya",
65362
+ "type": "Text",
65363
+ "props": {
65364
+ "text": "$service:ownerLiteInboxThread.sendHint",
65365
+ "style": "footnote",
65366
+ "color": "accentPrimary",
65367
+ "maxLines": 2,
65368
+ "collapseWhenEmpty": true
65369
+ }
65370
+ }
65371
+ },
65372
+ {
65373
+ "id": "",
65374
+ "body": {
65375
+ "package": "himalaya",
65376
+ "type": "HStack",
65377
+ "props": {
65378
+ "spacing": 8,
65379
+ "children": [
65380
+ {
65381
+ "id": "himi_owner_lite_inbox_thread.composer",
65382
+ "body": {
65383
+ "package": "himalaya",
65384
+ "type": "TextField",
65385
+ "props": {
65386
+ "placeholder": "Write a reply…",
65387
+ "value": "$service:ownerLiteInboxThread.draft",
65388
+ "onChange": {
65389
+ "actionId": "tier5.ownerLiteInboxThread.setDraft"
65390
+ }
65391
+ }
65392
+ },
65393
+ "modifiers": {
65394
+ "weight": 1
65395
+ }
65396
+ },
65397
+ {
65398
+ "id": "himi_owner_lite_inbox_thread.send",
65399
+ "body": {
65400
+ "package": "himalaya",
65401
+ "type": "Button",
65402
+ "props": {
65403
+ "title": "Send",
65404
+ "style": "primary",
65405
+ "action": {
65406
+ "actionId": "tier5.ownerLiteInboxThread.send"
65407
+ }
65408
+ }
65409
+ }
65410
+ }
65411
+ ]
65412
+ }
65413
+ }
65414
+ }
65415
+ ]
65416
+ }
65417
+ },
65418
+ "modifiers": {
65419
+ "background": {
65420
+ "token": "surfacePrimary"
65421
+ },
65422
+ "padding": {
65423
+ "leading": 16,
65424
+ "trailing": 16,
65425
+ "top": 8,
65426
+ "bottom": 8
65427
+ },
65428
+ "hiddenPath": "$service:ownerLiteInboxThread.noEntity"
65429
+ }
65430
+ }
65431
+ },
64311
65432
  "himi_owner_lite_widget_today_small": {
64312
65433
  "screenId": "himi_owner_lite_widget_today_small",
64313
65434
  "renderer": "sdui_intent",