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