@wix/himalaya-cli 0.1411.0 → 0.1412.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 (85) hide show
  1. package/dist/cli.mjs +1174 -790
  2. package/guides/release-notes.md +12 -0
  3. package/guides/wix-business-context.md +32 -0
  4. package/guides/wix-site-to-himi-app.md +21 -3
  5. package/package.json +2 -2
  6. package/templates/beauty-salon-owner/config.ts +29 -0
  7. package/templates/beauty-salon-owner/dev/index.ts +1121 -0
  8. package/templates/beauty-salon-owner/himalaya.content.json +6 -0
  9. package/templates/beauty-salon-owner/tier5-src/_shared/chat-live.ts +242 -0
  10. package/templates/beauty-salon-owner/tier5-src/_shared/detail-presence.ts +51 -0
  11. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  12. package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  13. package/templates/branded-lite/dev/index.ts +1 -0
  14. package/templates/branded-lite/tier5-src/_shared/chat-live.ts +242 -0
  15. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +131 -21
  16. package/templates/community-club-owner/config.ts +29 -0
  17. package/templates/community-club-owner/dev/index.ts +1121 -0
  18. package/templates/community-club-owner/himalaya.content.json +6 -0
  19. package/templates/community-club-owner/tier5-src/_shared/chat-live.ts +242 -0
  20. package/templates/community-club-owner/tier5-src/_shared/detail-presence.ts +51 -0
  21. package/templates/community-club-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  22. package/templates/community-club-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  23. package/templates/events-meetups-owner/config.ts +29 -0
  24. package/templates/events-meetups-owner/dev/index.ts +1121 -0
  25. package/templates/events-meetups-owner/himalaya.content.json +6 -0
  26. package/templates/events-meetups-owner/tier5-src/_shared/chat-live.ts +242 -0
  27. package/templates/events-meetups-owner/tier5-src/_shared/detail-presence.ts +51 -0
  28. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  29. package/templates/events-meetups-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  30. package/templates/gym-fitness-owner/config.ts +29 -0
  31. package/templates/gym-fitness-owner/dev/index.ts +1121 -0
  32. package/templates/gym-fitness-owner/himalaya.content.json +6 -0
  33. package/templates/gym-fitness-owner/tier5-src/_shared/chat-live.ts +242 -0
  34. package/templates/gym-fitness-owner/tier5-src/_shared/detail-presence.ts +51 -0
  35. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  36. package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  37. package/templates/nonprofit-cause-owner/config.ts +29 -0
  38. package/templates/nonprofit-cause-owner/dev/index.ts +1121 -0
  39. package/templates/nonprofit-cause-owner/himalaya.content.json +6 -0
  40. package/templates/nonprofit-cause-owner/tier5-src/_shared/chat-live.ts +242 -0
  41. package/templates/nonprofit-cause-owner/tier5-src/_shared/detail-presence.ts +51 -0
  42. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  43. package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  44. package/templates/owner-lite/config.ts +29 -0
  45. package/templates/owner-lite/dev/index.ts +1121 -0
  46. package/templates/owner-lite/himalaya.content.json +6 -0
  47. package/templates/owner-lite/tier5-src/_shared/chat-live.ts +242 -0
  48. package/templates/owner-lite/tier5-src/_shared/detail-presence.ts +51 -0
  49. package/templates/owner-lite/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  50. package/templates/owner-lite/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  51. package/templates/podcast-creator-owner/config.ts +29 -0
  52. package/templates/podcast-creator-owner/dev/index.ts +1121 -0
  53. package/templates/podcast-creator-owner/himalaya.content.json +6 -0
  54. package/templates/podcast-creator-owner/tier5-src/_shared/chat-live.ts +242 -0
  55. package/templates/podcast-creator-owner/tier5-src/_shared/detail-presence.ts +51 -0
  56. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  57. package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  58. package/templates/portfolio-creative-owner/config.ts +29 -0
  59. package/templates/portfolio-creative-owner/dev/index.ts +1121 -0
  60. package/templates/portfolio-creative-owner/himalaya.content.json +6 -0
  61. package/templates/portfolio-creative-owner/tier5-src/_shared/chat-live.ts +242 -0
  62. package/templates/portfolio-creative-owner/tier5-src/_shared/detail-presence.ts +51 -0
  63. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  64. package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  65. package/templates/restaurant-owner/config.ts +29 -0
  66. package/templates/restaurant-owner/dev/index.ts +1121 -0
  67. package/templates/restaurant-owner/himalaya.content.json +6 -0
  68. package/templates/restaurant-owner/tier5-src/_shared/chat-live.ts +242 -0
  69. package/templates/restaurant-owner/tier5-src/_shared/detail-presence.ts +51 -0
  70. package/templates/restaurant-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  71. package/templates/restaurant-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  72. package/templates/retail-store-owner/config.ts +29 -0
  73. package/templates/retail-store-owner/dev/index.ts +1121 -0
  74. package/templates/retail-store-owner/himalaya.content.json +6 -0
  75. package/templates/retail-store-owner/tier5-src/_shared/chat-live.ts +242 -0
  76. package/templates/retail-store-owner/tier5-src/_shared/detail-presence.ts +51 -0
  77. package/templates/retail-store-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  78. package/templates/retail-store-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
  79. package/templates/yoga-studio-owner/config.ts +29 -0
  80. package/templates/yoga-studio-owner/dev/index.ts +1121 -0
  81. package/templates/yoga-studio-owner/himalaya.content.json +6 -0
  82. package/templates/yoga-studio-owner/tier5-src/_shared/chat-live.ts +242 -0
  83. package/templates/yoga-studio-owner/tier5-src/_shared/detail-presence.ts +51 -0
  84. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-inbox/index.ts +308 -0
  85. package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-inbox-thread/index.ts +307 -0
@@ -64524,6 +64524,1127 @@ const SCREENS = runtimeSetting({
64524
64524
  "bundleVersion": "0.0.1"
64525
64525
  }
64526
64526
  },
64527
+ "himi_owner_lite_inbox": {
64528
+ "screenId": "himi_owner_lite_inbox",
64529
+ "renderer": "sdui_intent",
64530
+ "title": "",
64531
+ "schemaVersion": 1,
64532
+ "cacheControl": {
64533
+ "maxAge": 0,
64534
+ "staleWhileRevalidate": 0
64535
+ },
64536
+ "telemetryScreenName": "himi_owner_lite_inbox",
64537
+ "payload": {
64538
+ "id": "himi_owner_lite_inbox.root",
64539
+ "body": {
64540
+ "package": "himalaya",
64541
+ "type": "VStack",
64542
+ "props": {
64543
+ "spacing": 16,
64544
+ "alignment": "leading",
64545
+ "children": [
64546
+ {
64547
+ "id": "himi_owner_lite_inbox.title",
64548
+ "body": {
64549
+ "package": "himalaya",
64550
+ "type": "Text",
64551
+ "props": {
64552
+ "text": "Inbox",
64553
+ "style": "title1"
64554
+ }
64555
+ },
64556
+ "modifiers": {
64557
+ "headingLevel": 1
64558
+ }
64559
+ },
64560
+ {
64561
+ "id": "himi_owner_lite_inbox.search",
64562
+ "body": {
64563
+ "package": "himalaya",
64564
+ "type": "SearchField",
64565
+ "props": {
64566
+ "placeholder": "Search conversations",
64567
+ "debounceMs": 200,
64568
+ "onChange": {
64569
+ "actionId": "tier5.ownerLiteInbox.search"
64570
+ }
64571
+ }
64572
+ }
64573
+ },
64574
+ {
64575
+ "id": "himi_owner_lite_inbox.filter",
64576
+ "body": {
64577
+ "package": "himalaya",
64578
+ "type": "SegmentedControl",
64579
+ "props": {
64580
+ "options": [
64581
+ {
64582
+ "id": "all",
64583
+ "label": "All"
64584
+ },
64585
+ {
64586
+ "id": "unread",
64587
+ "label": "Unread"
64588
+ }
64589
+ ],
64590
+ "selectedId": "$service:ownerLiteInbox.filter",
64591
+ "onChange": {
64592
+ "actionId": "tier5.ownerLiteInbox.filter"
64593
+ }
64594
+ }
64595
+ }
64596
+ },
64597
+ {
64598
+ "id": "",
64599
+ "body": {
64600
+ "package": "himalaya",
64601
+ "type": "VStack",
64602
+ "props": {
64603
+ "spacing": 10,
64604
+ "alignment": "leading",
64605
+ "children": [
64606
+ {
64607
+ "id": "",
64608
+ "body": {
64609
+ "package": "himalaya",
64610
+ "type": "HStack",
64611
+ "props": {
64612
+ "spacing": 10,
64613
+ "children": [
64614
+ {
64615
+ "id": "",
64616
+ "body": {
64617
+ "package": "himalaya",
64618
+ "type": "Icon",
64619
+ "props": {
64620
+ "name": "warning",
64621
+ "size": 18,
64622
+ "tint": "accentPrimary"
64623
+ }
64624
+ },
64625
+ "modifiers": {
64626
+ "accessibilityRole": "decorative"
64627
+ }
64628
+ },
64629
+ {
64630
+ "id": "",
64631
+ "body": {
64632
+ "package": "himalaya",
64633
+ "type": "Text",
64634
+ "props": {
64635
+ "text": "Couldn’t load your messages",
64636
+ "style": "bodyEmphasis"
64637
+ }
64638
+ }
64639
+ }
64640
+ ]
64641
+ }
64642
+ }
64643
+ },
64644
+ {
64645
+ "id": "",
64646
+ "body": {
64647
+ "package": "himalaya",
64648
+ "type": "Text",
64649
+ "props": {
64650
+ "text": "$service:ownerLiteInbox.error",
64651
+ "style": "footnote",
64652
+ "color": "textSecondary",
64653
+ "maxLines": 3,
64654
+ "collapseWhenEmpty": true
64655
+ }
64656
+ }
64657
+ },
64658
+ {
64659
+ "id": "himi_owner_lite_inbox.retry.retry",
64660
+ "body": {
64661
+ "package": "himalaya",
64662
+ "type": "Button",
64663
+ "props": {
64664
+ "title": "Try again",
64665
+ "style": "secondary",
64666
+ "action": {
64667
+ "actionId": "tier5.ownerLiteInbox.refresh"
64668
+ }
64669
+ }
64670
+ }
64671
+ }
64672
+ ]
64673
+ }
64674
+ },
64675
+ "modifiers": {
64676
+ "background": {
64677
+ "token": "surfaceElevated"
64678
+ },
64679
+ "border": {
64680
+ "width": 1,
64681
+ "color": {
64682
+ "token": "border"
64683
+ }
64684
+ },
64685
+ "cornerRadius": 12,
64686
+ "padding": {
64687
+ "leading": 14,
64688
+ "trailing": 14,
64689
+ "top": 14,
64690
+ "bottom": 14
64691
+ },
64692
+ "fillMaxWidth": true,
64693
+ "transition": {
64694
+ "enter": "fade",
64695
+ "exit": "fade"
64696
+ },
64697
+ "hiddenPath": "$service:ownerLiteInbox.notErrored"
64698
+ }
64699
+ },
64700
+ {
64701
+ "id": "",
64702
+ "body": {
64703
+ "package": "himalaya",
64704
+ "type": "Text",
64705
+ "props": {
64706
+ "text": "$service:ownerLiteInbox.actionError",
64707
+ "style": "footnote",
64708
+ "color": "accentPrimary",
64709
+ "maxLines": 3,
64710
+ "collapseWhenEmpty": true
64711
+ }
64712
+ }
64713
+ },
64714
+ {
64715
+ "id": "himi_owner_lite_inbox.body",
64716
+ "body": {
64717
+ "package": "himalaya",
64718
+ "type": "FragmentSlot",
64719
+ "props": {
64720
+ "casePath": "$service:ownerLiteInbox.phase",
64721
+ "cases": [
64722
+ {
64723
+ "id": "loading",
64724
+ "content": {
64725
+ "id": "",
64726
+ "body": {
64727
+ "package": "himalaya",
64728
+ "type": "VStack",
64729
+ "props": {
64730
+ "spacing": 12,
64731
+ "children": [
64732
+ {
64733
+ "id": "himi_owner_lite_inbox.skeleton",
64734
+ "body": {
64735
+ "package": "himalaya",
64736
+ "type": "Skeleton",
64737
+ "props": {
64738
+ "height": 64,
64739
+ "cornerRadius": 12,
64740
+ "count": 5
64741
+ }
64742
+ }
64743
+ }
64744
+ ]
64745
+ }
64746
+ },
64747
+ "modifiers": {
64748
+ "fillMaxWidth": true,
64749
+ "accessibilityRole": "decorative"
64750
+ }
64751
+ }
64752
+ },
64753
+ {
64754
+ "id": "ready",
64755
+ "content": {
64756
+ "id": "",
64757
+ "body": {
64758
+ "package": "himalaya",
64759
+ "type": "VStack",
64760
+ "props": {
64761
+ "spacing": 12,
64762
+ "alignment": "leading",
64763
+ "children": [
64764
+ {
64765
+ "id": "",
64766
+ "body": {
64767
+ "package": "himalaya",
64768
+ "type": "Text",
64769
+ "props": {
64770
+ "text": "$service:ownerLiteInbox.summary",
64771
+ "style": "caption",
64772
+ "color": "textTertiary",
64773
+ "collapseWhenEmpty": true
64774
+ }
64775
+ }
64776
+ },
64777
+ {
64778
+ "id": "himi_owner_lite_inbox.list",
64779
+ "body": {
64780
+ "package": "himalaya",
64781
+ "type": "LazyList",
64782
+ "props": {
64783
+ "spacing": 0,
64784
+ "itemsPath": "$service:ownerLiteInbox.items",
64785
+ "items": [
64786
+ {
64787
+ "id": "",
64788
+ "body": {
64789
+ "package": "himalaya",
64790
+ "type": "HStack",
64791
+ "props": {
64792
+ "spacing": 12,
64793
+ "children": [
64794
+ {
64795
+ "id": "",
64796
+ "body": {
64797
+ "package": "himalaya",
64798
+ "type": "Image",
64799
+ "props": {
64800
+ "url": "$item.image",
64801
+ "height": 44,
64802
+ "contentMode": "fill"
64803
+ }
64804
+ },
64805
+ "modifiers": {
64806
+ "accessibilityRole": "decorative",
64807
+ "width": 44,
64808
+ "height": 44,
64809
+ "cornerRadius": 22,
64810
+ "hiddenPath": "$item.noImage"
64811
+ }
64812
+ },
64813
+ {
64814
+ "id": "",
64815
+ "body": {
64816
+ "package": "himalaya",
64817
+ "type": "ZStack",
64818
+ "props": {
64819
+ "alignment": "center",
64820
+ "children": [
64821
+ {
64822
+ "id": "",
64823
+ "body": {
64824
+ "package": "himalaya",
64825
+ "type": "Text",
64826
+ "props": {
64827
+ "text": "$item.initial",
64828
+ "style": "bodyEmphasis",
64829
+ "color": "textOnAccent"
64830
+ }
64831
+ }
64832
+ }
64833
+ ]
64834
+ }
64835
+ },
64836
+ "modifiers": {
64837
+ "width": 44,
64838
+ "height": 44,
64839
+ "background": {
64840
+ "token": "accentPrimary"
64841
+ },
64842
+ "cornerRadius": 22,
64843
+ "accessibilityRole": "decorative",
64844
+ "hiddenPath": "$item.hasImage"
64845
+ }
64846
+ },
64847
+ {
64848
+ "id": "",
64849
+ "body": {
64850
+ "package": "himalaya",
64851
+ "type": "VStack",
64852
+ "props": {
64853
+ "spacing": 3,
64854
+ "alignment": "leading",
64855
+ "children": [
64856
+ {
64857
+ "id": "",
64858
+ "body": {
64859
+ "package": "himalaya",
64860
+ "type": "Text",
64861
+ "props": {
64862
+ "text": "$item.display",
64863
+ "style": "bodyEmphasis",
64864
+ "maxLines": 1
64865
+ }
64866
+ }
64867
+ },
64868
+ {
64869
+ "id": "",
64870
+ "body": {
64871
+ "package": "himalaya",
64872
+ "type": "Text",
64873
+ "props": {
64874
+ "text": "$item.subtitle",
64875
+ "style": "footnote",
64876
+ "color": "textSecondary",
64877
+ "maxLines": 1,
64878
+ "collapseWhenEmpty": true
64879
+ }
64880
+ }
64881
+ }
64882
+ ]
64883
+ }
64884
+ },
64885
+ "modifiers": {
64886
+ "weight": 1
64887
+ }
64888
+ },
64889
+ {
64890
+ "id": "",
64891
+ "body": {
64892
+ "package": "himalaya",
64893
+ "type": "VStack",
64894
+ "props": {
64895
+ "spacing": 5,
64896
+ "alignment": "trailing",
64897
+ "children": [
64898
+ {
64899
+ "id": "",
64900
+ "body": {
64901
+ "package": "himalaya",
64902
+ "type": "Text",
64903
+ "props": {
64904
+ "text": "$item.timeText",
64905
+ "style": "caption",
64906
+ "color": "textTertiary",
64907
+ "maxLines": 1,
64908
+ "collapseWhenEmpty": true
64909
+ }
64910
+ }
64911
+ },
64912
+ {
64913
+ "id": "himi_owner_lite_inbox.row_unread",
64914
+ "body": {
64915
+ "package": "himalaya",
64916
+ "type": "Badge",
64917
+ "props": {
64918
+ "text": "$item.unreadText",
64919
+ "token": "accentPrimary"
64920
+ }
64921
+ },
64922
+ "modifiers": {
64923
+ "hiddenPath": "$item.unreadHidden"
64924
+ }
64925
+ }
64926
+ ]
64927
+ }
64928
+ }
64929
+ }
64930
+ ]
64931
+ }
64932
+ },
64933
+ "modifiers": {
64934
+ "padding": {
64935
+ "leading": 4,
64936
+ "trailing": 4,
64937
+ "top": 10,
64938
+ "bottom": 10
64939
+ },
64940
+ "fillMaxWidth": true,
64941
+ "onTap": {
64942
+ "actionId": "himi.open",
64943
+ "params": {
64944
+ "screenId": "himi_owner_lite_inbox_thread",
64945
+ "id": "$item.id",
64946
+ "kind": "$item.kind"
64947
+ }
64948
+ },
64949
+ "pressFeedback": "highlight",
64950
+ "haptic": "light",
64951
+ "accessibilityLabel": "$item.spokenLabel"
64952
+ }
64953
+ }
64954
+ ],
64955
+ "onPullToRefresh": {
64956
+ "actionId": "tier5.ownerLiteInbox.refresh"
64957
+ },
64958
+ "rowSwipeActions": {
64959
+ "trailing": [
64960
+ {
64961
+ "label": "Archive",
64962
+ "icon": "tray",
64963
+ "action": {
64964
+ "actionId": "tier5.ownerLiteInbox.archive",
64965
+ "params": {
64966
+ "id": "$item.id"
64967
+ }
64968
+ }
64969
+ },
64970
+ {
64971
+ "label": "Mark unread",
64972
+ "icon": "mail",
64973
+ "action": {
64974
+ "actionId": "tier5.ownerLiteInbox.markUnread",
64975
+ "params": {
64976
+ "id": "$item.id"
64977
+ }
64978
+ }
64979
+ }
64980
+ ]
64981
+ }
64982
+ }
64983
+ },
64984
+ "modifiers": {
64985
+ "hiddenPath": "$service:ownerLiteInbox.hideList"
64986
+ }
64987
+ },
64988
+ {
64989
+ "id": "himi_owner_lite_inbox.empty_empty",
64990
+ "body": {
64991
+ "package": "himalaya",
64992
+ "type": "EmptyState",
64993
+ "props": {
64994
+ "title": "No messages yet",
64995
+ "subtitle": "When customers message your site, their conversations show up here.",
64996
+ "icon": "chat"
64997
+ }
64998
+ },
64999
+ "modifiers": {
65000
+ "fillMaxWidth": true,
65001
+ "hiddenPath": "$service:ownerLiteInbox.hideEmptyAll"
65002
+ }
65003
+ },
65004
+ {
65005
+ "id": "himi_owner_lite_inbox.empty_caughtUp",
65006
+ "body": {
65007
+ "package": "himalaya",
65008
+ "type": "EmptyState",
65009
+ "props": {
65010
+ "title": "You’re all caught up",
65011
+ "subtitle": "No unread conversations right now.",
65012
+ "icon": "check"
65013
+ }
65014
+ },
65015
+ "modifiers": {
65016
+ "fillMaxWidth": true,
65017
+ "hiddenPath": "$service:ownerLiteInbox.hideEmptyUnread"
65018
+ }
65019
+ },
65020
+ {
65021
+ "id": "himi_owner_lite_inbox.empty_noMatch",
65022
+ "body": {
65023
+ "package": "himalaya",
65024
+ "type": "EmptyState",
65025
+ "props": {
65026
+ "title": "No matches",
65027
+ "subtitle": "No conversation matches your search.",
65028
+ "icon": "search"
65029
+ }
65030
+ },
65031
+ "modifiers": {
65032
+ "fillMaxWidth": true,
65033
+ "hiddenPath": "$service:ownerLiteInbox.hideEmptyNoMatch"
65034
+ }
65035
+ }
65036
+ ]
65037
+ }
65038
+ }
65039
+ }
65040
+ }
65041
+ ],
65042
+ "defaultCase": "loading"
65043
+ }
65044
+ }
65045
+ }
65046
+ ]
65047
+ }
65048
+ },
65049
+ "modifiers": {
65050
+ "background": {
65051
+ "token": "surfacePrimary"
65052
+ },
65053
+ "padding": {
65054
+ "leading": 16,
65055
+ "trailing": 16,
65056
+ "top": 18,
65057
+ "bottom": 24
65058
+ },
65059
+ "onAppear": {
65060
+ "actionId": "tier5.ownerLiteInbox.load"
65061
+ }
65062
+ }
65063
+ },
65064
+ "logicBundle": {
65065
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-inbox",
65066
+ "integrity": "",
65067
+ "contentType": "application/javascript+ts-bundle",
65068
+ "declaredCapabilities": [
65069
+ "wix_api"
65070
+ ],
65071
+ "minBinaryVersion": "0.1.0",
65072
+ "bundleVersion": "0.0.1"
65073
+ }
65074
+ },
65075
+ "himi_owner_lite_inbox_thread": {
65076
+ "screenId": "himi_owner_lite_inbox_thread",
65077
+ "renderer": "sdui_intent",
65078
+ "title": "Conversation",
65079
+ "schemaVersion": 1,
65080
+ "cacheControl": {
65081
+ "maxAge": 0,
65082
+ "staleWhileRevalidate": 0
65083
+ },
65084
+ "telemetryScreenName": "himi_owner_lite_inbox_thread",
65085
+ "payload": {
65086
+ "id": "himi_owner_lite_inbox_thread.root",
65087
+ "body": {
65088
+ "package": "himalaya",
65089
+ "type": "VStack",
65090
+ "props": {
65091
+ "spacing": 12,
65092
+ "alignment": "leading",
65093
+ "children": [
65094
+ {
65095
+ "id": "himi_owner_lite_inbox_thread.body",
65096
+ "body": {
65097
+ "package": "himalaya",
65098
+ "type": "FragmentSlot",
65099
+ "props": {
65100
+ "casePath": "$service:ownerLiteInboxThread.phase",
65101
+ "cases": [
65102
+ {
65103
+ "id": "loading",
65104
+ "content": {
65105
+ "id": "",
65106
+ "body": {
65107
+ "package": "himalaya",
65108
+ "type": "VStack",
65109
+ "props": {
65110
+ "spacing": 10,
65111
+ "children": [
65112
+ {
65113
+ "id": "himi_owner_lite_inbox_thread.sk1",
65114
+ "body": {
65115
+ "package": "himalaya",
65116
+ "type": "Skeleton",
65117
+ "props": {
65118
+ "width": 220,
65119
+ "height": 44,
65120
+ "cornerRadius": 16
65121
+ }
65122
+ }
65123
+ },
65124
+ {
65125
+ "id": "",
65126
+ "body": {
65127
+ "package": "himalaya",
65128
+ "type": "HStack",
65129
+ "props": {
65130
+ "children": [
65131
+ {
65132
+ "id": "",
65133
+ "body": {
65134
+ "package": "himalaya",
65135
+ "type": "Spacer",
65136
+ "props": {}
65137
+ }
65138
+ },
65139
+ {
65140
+ "id": "himi_owner_lite_inbox_thread.sk2",
65141
+ "body": {
65142
+ "package": "himalaya",
65143
+ "type": "Skeleton",
65144
+ "props": {
65145
+ "width": 180,
65146
+ "height": 44,
65147
+ "cornerRadius": 16
65148
+ }
65149
+ }
65150
+ }
65151
+ ]
65152
+ }
65153
+ }
65154
+ },
65155
+ {
65156
+ "id": "himi_owner_lite_inbox_thread.sk3",
65157
+ "body": {
65158
+ "package": "himalaya",
65159
+ "type": "Skeleton",
65160
+ "props": {
65161
+ "width": 240,
65162
+ "height": 64,
65163
+ "cornerRadius": 16
65164
+ }
65165
+ }
65166
+ }
65167
+ ]
65168
+ }
65169
+ },
65170
+ "modifiers": {
65171
+ "fillMaxWidth": true,
65172
+ "accessibilityRole": "decorative"
65173
+ }
65174
+ }
65175
+ },
65176
+ {
65177
+ "id": "ready",
65178
+ "content": {
65179
+ "id": "",
65180
+ "body": {
65181
+ "package": "himalaya",
65182
+ "type": "VStack",
65183
+ "props": {
65184
+ "spacing": 12,
65185
+ "alignment": "leading",
65186
+ "children": [
65187
+ {
65188
+ "id": "",
65189
+ "body": {
65190
+ "package": "himalaya",
65191
+ "type": "VStack",
65192
+ "props": {
65193
+ "spacing": 8,
65194
+ "alignment": "leading",
65195
+ "children": [
65196
+ {
65197
+ "id": "himi_owner_lite_inbox_thread.title",
65198
+ "body": {
65199
+ "package": "himalaya",
65200
+ "type": "Text",
65201
+ "props": {
65202
+ "text": "$service:ownerLiteInboxThread.headerName",
65203
+ "style": "title2",
65204
+ "maxLines": 1,
65205
+ "collapseWhenEmpty": true
65206
+ }
65207
+ },
65208
+ "modifiers": {
65209
+ "headingLevel": 1
65210
+ }
65211
+ },
65212
+ {
65213
+ "id": "himi_owner_lite_inbox_thread.messages",
65214
+ "body": {
65215
+ "package": "himalaya",
65216
+ "type": "Grid",
65217
+ "props": {
65218
+ "columns": 1,
65219
+ "spacing": 0,
65220
+ "itemsPath": "$service:ownerLiteInboxThread.messages",
65221
+ "items": [
65222
+ {
65223
+ "id": "",
65224
+ "body": {
65225
+ "package": "himalaya",
65226
+ "type": "HStack",
65227
+ "props": {
65228
+ "children": [
65229
+ {
65230
+ "id": "",
65231
+ "body": {
65232
+ "package": "himalaya",
65233
+ "type": "Spacer",
65234
+ "props": {
65235
+ "value": "$item.leadFill",
65236
+ "collapseWhenEmpty": true
65237
+ }
65238
+ }
65239
+ },
65240
+ {
65241
+ "id": "",
65242
+ "body": {
65243
+ "package": "himalaya",
65244
+ "type": "VStack",
65245
+ "props": {
65246
+ "spacing": 2,
65247
+ "alignment": "leading",
65248
+ "children": [
65249
+ {
65250
+ "id": "",
65251
+ "body": {
65252
+ "package": "himalaya",
65253
+ "type": "Text",
65254
+ "props": {
65255
+ "text": "$item.text",
65256
+ "style": "body",
65257
+ "color": "textOnAccent"
65258
+ }
65259
+ }
65260
+ },
65261
+ {
65262
+ "id": "",
65263
+ "body": {
65264
+ "package": "himalaya",
65265
+ "type": "Text",
65266
+ "props": {
65267
+ "text": "$item.when",
65268
+ "style": "caption",
65269
+ "color": "textOnAccent",
65270
+ "collapseWhenEmpty": true
65271
+ }
65272
+ }
65273
+ }
65274
+ ]
65275
+ }
65276
+ },
65277
+ "modifiers": {
65278
+ "background": {
65279
+ "token": "accentPrimary"
65280
+ },
65281
+ "cornerRadius": 16,
65282
+ "maxWidth": 270,
65283
+ "padding": {
65284
+ "leading": 12,
65285
+ "trailing": 12,
65286
+ "top": 8,
65287
+ "bottom": 8
65288
+ },
65289
+ "hiddenPath": "$item.theirs"
65290
+ }
65291
+ },
65292
+ {
65293
+ "id": "",
65294
+ "body": {
65295
+ "package": "himalaya",
65296
+ "type": "VStack",
65297
+ "props": {
65298
+ "spacing": 2,
65299
+ "alignment": "leading",
65300
+ "children": [
65301
+ {
65302
+ "id": "",
65303
+ "body": {
65304
+ "package": "himalaya",
65305
+ "type": "Text",
65306
+ "props": {
65307
+ "text": "$item.text",
65308
+ "style": "body",
65309
+ "color": "textPrimary"
65310
+ }
65311
+ }
65312
+ },
65313
+ {
65314
+ "id": "",
65315
+ "body": {
65316
+ "package": "himalaya",
65317
+ "type": "Text",
65318
+ "props": {
65319
+ "text": "$item.when",
65320
+ "style": "caption",
65321
+ "color": "textSecondary",
65322
+ "collapseWhenEmpty": true
65323
+ }
65324
+ }
65325
+ }
65326
+ ]
65327
+ }
65328
+ },
65329
+ "modifiers": {
65330
+ "background": {
65331
+ "token": "surfaceSecondary"
65332
+ },
65333
+ "cornerRadius": 16,
65334
+ "maxWidth": 270,
65335
+ "padding": {
65336
+ "leading": 12,
65337
+ "trailing": 12,
65338
+ "top": 8,
65339
+ "bottom": 8
65340
+ },
65341
+ "hiddenPath": "$item.mine"
65342
+ }
65343
+ }
65344
+ ]
65345
+ }
65346
+ },
65347
+ "modifiers": {
65348
+ "padding": {
65349
+ "leading": 0,
65350
+ "trailing": 0,
65351
+ "top": 3,
65352
+ "bottom": 3
65353
+ },
65354
+ "fillMaxWidth": true,
65355
+ "accessibilityLabel": "$item.spokenLabel"
65356
+ }
65357
+ }
65358
+ ]
65359
+ }
65360
+ }
65361
+ },
65362
+ {
65363
+ "id": "himi_owner_lite_inbox_thread.empty",
65364
+ "body": {
65365
+ "package": "himalaya",
65366
+ "type": "EmptyState",
65367
+ "props": {
65368
+ "title": "No messages yet",
65369
+ "subtitle": "Write the first reply below.",
65370
+ "icon": "chat"
65371
+ }
65372
+ },
65373
+ "modifiers": {
65374
+ "fillMaxWidth": true,
65375
+ "hiddenPath": "$service:ownerLiteInboxThread.hideEmpty"
65376
+ }
65377
+ }
65378
+ ]
65379
+ }
65380
+ },
65381
+ "modifiers": {
65382
+ "hiddenPath": "$service:ownerLiteInboxThread.noEntity"
65383
+ }
65384
+ },
65385
+ {
65386
+ "id": "himi_owner_lite_inbox_thread.not_found",
65387
+ "body": {
65388
+ "package": "himalaya",
65389
+ "type": "VStack",
65390
+ "props": {
65391
+ "spacing": 12,
65392
+ "alignment": "center",
65393
+ "children": [
65394
+ {
65395
+ "id": "himi_owner_lite_inbox_thread.not_found_state",
65396
+ "body": {
65397
+ "package": "himalaya",
65398
+ "type": "EmptyState",
65399
+ "props": {
65400
+ "title": "Conversation not found",
65401
+ "subtitle": "It may have been archived or deleted.",
65402
+ "icon": "chat"
65403
+ }
65404
+ }
65405
+ },
65406
+ {
65407
+ "id": "himi_owner_lite_inbox_thread.not_found_back",
65408
+ "body": {
65409
+ "package": "himalaya",
65410
+ "type": "Button",
65411
+ "props": {
65412
+ "title": "Back to Inbox",
65413
+ "style": "secondary",
65414
+ "action": {
65415
+ "actionId": "tier5.ownerLiteInboxThread.back"
65416
+ }
65417
+ }
65418
+ }
65419
+ }
65420
+ ]
65421
+ }
65422
+ },
65423
+ "modifiers": {
65424
+ "fillMaxWidth": true,
65425
+ "hiddenPath": "$service:ownerLiteInboxThread.hideNotFound"
65426
+ }
65427
+ },
65428
+ {
65429
+ "id": "",
65430
+ "body": {
65431
+ "package": "himalaya",
65432
+ "type": "VStack",
65433
+ "props": {
65434
+ "spacing": 10,
65435
+ "alignment": "leading",
65436
+ "children": [
65437
+ {
65438
+ "id": "",
65439
+ "body": {
65440
+ "package": "himalaya",
65441
+ "type": "HStack",
65442
+ "props": {
65443
+ "spacing": 10,
65444
+ "children": [
65445
+ {
65446
+ "id": "",
65447
+ "body": {
65448
+ "package": "himalaya",
65449
+ "type": "Icon",
65450
+ "props": {
65451
+ "name": "warning",
65452
+ "size": 18,
65453
+ "tint": "accentPrimary"
65454
+ }
65455
+ },
65456
+ "modifiers": {
65457
+ "accessibilityRole": "decorative"
65458
+ }
65459
+ },
65460
+ {
65461
+ "id": "",
65462
+ "body": {
65463
+ "package": "himalaya",
65464
+ "type": "Text",
65465
+ "props": {
65466
+ "text": "Couldn’t load this conversation",
65467
+ "style": "bodyEmphasis"
65468
+ }
65469
+ }
65470
+ }
65471
+ ]
65472
+ }
65473
+ }
65474
+ },
65475
+ {
65476
+ "id": "",
65477
+ "body": {
65478
+ "package": "himalaya",
65479
+ "type": "Text",
65480
+ "props": {
65481
+ "text": "$service:ownerLiteInboxThread.error",
65482
+ "style": "footnote",
65483
+ "color": "textSecondary",
65484
+ "maxLines": 3,
65485
+ "collapseWhenEmpty": true
65486
+ }
65487
+ }
65488
+ },
65489
+ {
65490
+ "id": "himi_owner_lite_inbox_thread.retry",
65491
+ "body": {
65492
+ "package": "himalaya",
65493
+ "type": "Button",
65494
+ "props": {
65495
+ "title": "Try again",
65496
+ "style": "secondary",
65497
+ "action": {
65498
+ "actionId": "tier5.ownerLiteInboxThread.load"
65499
+ }
65500
+ }
65501
+ }
65502
+ }
65503
+ ]
65504
+ }
65505
+ },
65506
+ "modifiers": {
65507
+ "background": {
65508
+ "token": "surfaceElevated"
65509
+ },
65510
+ "border": {
65511
+ "width": 1,
65512
+ "color": {
65513
+ "token": "border"
65514
+ }
65515
+ },
65516
+ "cornerRadius": 12,
65517
+ "padding": {
65518
+ "leading": 14,
65519
+ "trailing": 14,
65520
+ "top": 14,
65521
+ "bottom": 14
65522
+ },
65523
+ "fillMaxWidth": true,
65524
+ "hiddenPath": "$service:ownerLiteInboxThread.hideLoadError"
65525
+ }
65526
+ }
65527
+ ]
65528
+ }
65529
+ }
65530
+ }
65531
+ }
65532
+ ],
65533
+ "defaultCase": "loading"
65534
+ }
65535
+ }
65536
+ }
65537
+ ]
65538
+ }
65539
+ },
65540
+ "modifiers": {
65541
+ "background": {
65542
+ "token": "surfacePrimary"
65543
+ },
65544
+ "padding": {
65545
+ "leading": 16,
65546
+ "trailing": 16,
65547
+ "top": 12,
65548
+ "bottom": 16
65549
+ },
65550
+ "onAppear": {
65551
+ "actionId": "tier5.ownerLiteInboxThread.load"
65552
+ }
65553
+ }
65554
+ },
65555
+ "logicBundle": {
65556
+ "url": "http://localhost:8190/v1/bundles/himi-owner-lite-inbox-thread",
65557
+ "integrity": "",
65558
+ "contentType": "application/javascript+ts-bundle",
65559
+ "declaredCapabilities": [
65560
+ "wix_api"
65561
+ ],
65562
+ "minBinaryVersion": "0.1.0",
65563
+ "bundleVersion": "0.0.1"
65564
+ },
65565
+ "stickyFooter": {
65566
+ "id": "himi_owner_lite_inbox_thread.footer",
65567
+ "body": {
65568
+ "package": "himalaya",
65569
+ "type": "VStack",
65570
+ "props": {
65571
+ "spacing": 4,
65572
+ "alignment": "leading",
65573
+ "children": [
65574
+ {
65575
+ "id": "",
65576
+ "body": {
65577
+ "package": "himalaya",
65578
+ "type": "Text",
65579
+ "props": {
65580
+ "text": "$service:ownerLiteInboxThread.sendHint",
65581
+ "style": "footnote",
65582
+ "color": "accentPrimary",
65583
+ "maxLines": 2,
65584
+ "collapseWhenEmpty": true
65585
+ }
65586
+ }
65587
+ },
65588
+ {
65589
+ "id": "",
65590
+ "body": {
65591
+ "package": "himalaya",
65592
+ "type": "HStack",
65593
+ "props": {
65594
+ "spacing": 8,
65595
+ "children": [
65596
+ {
65597
+ "id": "himi_owner_lite_inbox_thread.composer",
65598
+ "body": {
65599
+ "package": "himalaya",
65600
+ "type": "TextField",
65601
+ "props": {
65602
+ "placeholder": "Write a reply…",
65603
+ "value": "$service:ownerLiteInboxThread.draft",
65604
+ "onChange": {
65605
+ "actionId": "tier5.ownerLiteInboxThread.setDraft"
65606
+ }
65607
+ }
65608
+ },
65609
+ "modifiers": {
65610
+ "weight": 1
65611
+ }
65612
+ },
65613
+ {
65614
+ "id": "himi_owner_lite_inbox_thread.send",
65615
+ "body": {
65616
+ "package": "himalaya",
65617
+ "type": "Button",
65618
+ "props": {
65619
+ "title": "Send",
65620
+ "style": "primary",
65621
+ "action": {
65622
+ "actionId": "tier5.ownerLiteInboxThread.send"
65623
+ }
65624
+ }
65625
+ }
65626
+ }
65627
+ ]
65628
+ }
65629
+ }
65630
+ }
65631
+ ]
65632
+ }
65633
+ },
65634
+ "modifiers": {
65635
+ "background": {
65636
+ "token": "surfacePrimary"
65637
+ },
65638
+ "padding": {
65639
+ "leading": 16,
65640
+ "trailing": 16,
65641
+ "top": 8,
65642
+ "bottom": 8
65643
+ },
65644
+ "hiddenPath": "$service:ownerLiteInboxThread.noEntity"
65645
+ }
65646
+ }
65647
+ },
64527
65648
  "himi_owner_lite_widget_today_small": {
64528
65649
  "screenId": "himi_owner_lite_widget_today_small",
64529
65650
  "renderer": "sdui_intent",