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