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