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