@wix/himalaya-cli 0.1025.0 → 0.1027.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 (141) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +9 -0
  2. package/dist/cli.mjs +1052 -655
  3. package/dist/preview-assets.generated.bin +0 -0
  4. package/guides/app-config.md +6 -0
  5. package/guides/headless-loop.md +3 -1
  6. package/package.json +2 -2
  7. package/templates/beauty-salon/dev/index.ts +1476 -553
  8. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +18 -8
  9. package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +28 -3
  10. package/templates/beauty-salon/tier5-src/_shared/detail-presence.ts +51 -0
  11. package/templates/beauty-salon/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  12. package/templates/beauty-salon/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  13. package/templates/beauty-salon/tier5-src/wix-spaces-create-post/index.ts +14 -4
  14. package/templates/beauty-salon/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  15. package/templates/beauty-salon/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  16. package/templates/beauty-salon/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  17. package/templates/beauty-salon-owner/dev/index.ts +857 -458
  18. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +18 -8
  19. package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +28 -3
  20. package/templates/branded-lite/config.ts +3 -1
  21. package/templates/branded-lite/dev/index.ts +6123 -2565
  22. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +18 -8
  23. package/templates/branded-lite/tier5-src/_shared/collection-service.ts +28 -3
  24. package/templates/branded-lite/tier5-src/_shared/detail-presence.ts +51 -0
  25. package/templates/branded-lite/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  26. package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  28. package/templates/branded-lite/tier5-src/wix-spaces-chat-thread/index.ts +17 -4
  29. package/templates/branded-lite/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  30. package/templates/branded-lite/tier5-src/wix-spaces-coupon-detail/index.ts +7 -9
  31. package/templates/branded-lite/tier5-src/wix-spaces-create-post/index.ts +14 -4
  32. package/templates/branded-lite/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  33. package/templates/branded-lite/tier5-src/wix-spaces-form-detail/index.ts +7 -9
  34. package/templates/branded-lite/tier5-src/wix-spaces-forum-post/index.ts +7 -9
  35. package/templates/branded-lite/tier5-src/wix-spaces-invoice-detail/index.ts +7 -9
  36. package/templates/branded-lite/tier5-src/wix-spaces-member-detail/index.ts +8 -8
  37. package/templates/branded-lite/tier5-src/wix-spaces-photo-albums/index.ts +8 -2
  38. package/templates/branded-lite/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  39. package/templates/branded-lite/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  40. package/templates/branded-lite/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  41. package/templates/community-club/dev/index.ts +582 -239
  42. package/templates/community-club/tier5-src/_shared/collection-contract.ts +18 -8
  43. package/templates/community-club/tier5-src/_shared/collection-service.ts +28 -3
  44. package/templates/community-club/tier5-src/wix-spaces-create-post/index.ts +14 -4
  45. package/templates/community-club/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  46. package/templates/community-club-owner/dev/index.ts +857 -458
  47. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +18 -8
  48. package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +28 -3
  49. package/templates/events-meetups/dev/index.ts +547 -226
  50. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +18 -8
  51. package/templates/events-meetups/tier5-src/_shared/collection-service.ts +28 -3
  52. package/templates/events-meetups/tier5-src/wix-spaces-create-post/index.ts +14 -4
  53. package/templates/events-meetups/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  54. package/templates/events-meetups-owner/dev/index.ts +815 -458
  55. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +18 -8
  56. package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +28 -3
  57. package/templates/gym-fitness/dev/index.ts +1609 -569
  58. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +18 -8
  59. package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +28 -3
  60. package/templates/gym-fitness/tier5-src/_shared/detail-presence.ts +51 -0
  61. package/templates/gym-fitness/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  62. package/templates/gym-fitness/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  63. package/templates/gym-fitness/tier5-src/wix-spaces-create-post/index.ts +14 -4
  64. package/templates/gym-fitness/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  65. package/templates/gym-fitness/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  66. package/templates/gym-fitness/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  67. package/templates/gym-fitness-owner/dev/index.ts +758 -338
  68. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +18 -8
  69. package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +28 -3
  70. package/templates/himi-chat/dev/index.ts +26 -1
  71. package/templates/nonprofit-cause/dev/index.ts +978 -341
  72. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +18 -8
  73. package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +28 -3
  74. package/templates/nonprofit-cause/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/nonprofit-cause/tier5-src/wix-spaces-create-post/index.ts +14 -4
  76. package/templates/nonprofit-cause/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  77. package/templates/nonprofit-cause/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  78. package/templates/nonprofit-cause/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  79. package/templates/nonprofit-cause-owner/dev/index.ts +716 -338
  80. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +18 -8
  81. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +28 -3
  82. package/templates/owner-lite/dev/index.ts +758 -338
  83. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +18 -8
  84. package/templates/owner-lite/tier5-src/_shared/collection-service.ts +28 -3
  85. package/templates/podcast-creator/dev/index.ts +1111 -399
  86. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +18 -8
  87. package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +28 -3
  88. package/templates/podcast-creator/tier5-src/_shared/detail-presence.ts +51 -0
  89. package/templates/podcast-creator/tier5-src/himi-branded-lite-simple-detail/index.ts +4 -3
  90. package/templates/podcast-creator/tier5-src/wix-spaces-create-post/index.ts +14 -4
  91. package/templates/podcast-creator/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  92. package/templates/podcast-creator/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  93. package/templates/podcast-creator/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  94. package/templates/podcast-creator-owner/dev/index.ts +857 -458
  95. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +18 -8
  96. package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +28 -3
  97. package/templates/portfolio-creative/dev/index.ts +964 -345
  98. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +18 -8
  99. package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +28 -3
  100. package/templates/portfolio-creative/tier5-src/_shared/detail-presence.ts +51 -0
  101. package/templates/portfolio-creative/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  102. package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +7 -2
  103. package/templates/portfolio-creative/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  104. package/templates/portfolio-creative/tier5-src/wix-spaces-create-post/index.ts +14 -4
  105. package/templates/portfolio-creative/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  106. package/templates/portfolio-creative-owner/dev/index.ts +857 -458
  107. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +18 -8
  108. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +28 -3
  109. package/templates/restaurant/dev/index.ts +738 -284
  110. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +18 -8
  111. package/templates/restaurant/tier5-src/_shared/collection-service.ts +28 -3
  112. package/templates/restaurant/tier5-src/_shared/detail-presence.ts +51 -0
  113. package/templates/restaurant/tier5-src/wix-spaces-create-post/index.ts +14 -4
  114. package/templates/restaurant/tier5-src/wix-spaces-food-order-detail/index.ts +6 -3
  115. package/templates/restaurant/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  116. package/templates/restaurant-owner/dev/index.ts +758 -338
  117. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +18 -8
  118. package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +28 -3
  119. package/templates/retail-store/dev/index.ts +768 -298
  120. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +18 -8
  121. package/templates/retail-store/tier5-src/_shared/collection-service.ts +28 -3
  122. package/templates/retail-store/tier5-src/_shared/detail-presence.ts +51 -0
  123. package/templates/retail-store/tier5-src/himi-branded-lite-orders/index.ts +4 -1
  124. package/templates/retail-store/tier5-src/wix-spaces-collection-detail/index.ts +9 -9
  125. package/templates/retail-store/tier5-src/wix-spaces-create-post/index.ts +14 -4
  126. package/templates/retail-store/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  127. package/templates/retail-store-owner/dev/index.ts +716 -338
  128. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +18 -8
  129. package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +28 -3
  130. package/templates/surface-showcase/dev/index.ts +27 -0
  131. package/templates/yoga-studio/dev/index.ts +1147 -390
  132. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +18 -8
  133. package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +28 -3
  134. package/templates/yoga-studio/tier5-src/_shared/detail-presence.ts +51 -0
  135. package/templates/yoga-studio/tier5-src/wix-spaces-create-post/index.ts +14 -4
  136. package/templates/yoga-studio/tier5-src/wix-spaces-plan-detail/index.ts +7 -9
  137. package/templates/yoga-studio/tier5-src/wix-spaces-subscription-detail/index.ts +12 -11
  138. package/templates/yoga-studio/tier5-src/wix-spaces-view-profile/index.ts +22 -12
  139. package/templates/yoga-studio-owner/dev/index.ts +716 -338
  140. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +18 -8
  141. package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +28 -3
@@ -14,7 +14,7 @@ const SCREENS = runtimeSetting({
14
14
  "himi_branded_home": {
15
15
  "screenId": "himi_branded_home",
16
16
  "renderer": "sdui_intent",
17
- "title": "",
17
+ "title": "__HIMI_APP_NAME__",
18
18
  "schemaVersion": 1,
19
19
  "cacheControl": {
20
20
  "maxAge": 0,
@@ -4064,74 +4064,196 @@ const SCREENS = runtimeSetting({
4064
4064
  "alignment": "center",
4065
4065
  "children": [
4066
4066
  {
4067
- "id": "himi_view_profile.avatar",
4067
+ "id": "himi_view_profile.loading",
4068
+ "body": {
4069
+ "package": "himalaya",
4070
+ "type": "Text",
4071
+ "props": {
4072
+ "text": "Loading…",
4073
+ "style": "body",
4074
+ "color": "textSecondary"
4075
+ }
4076
+ },
4077
+ "modifiers": {
4078
+ "hiddenPath": "$service:spacesViewProfile.hideLoading"
4079
+ }
4080
+ },
4081
+ {
4082
+ "id": "",
4068
4083
  "body": {
4069
4084
  "package": "himalaya",
4070
- "type": "ZStack",
4085
+ "type": "VStack",
4071
4086
  "props": {
4087
+ "spacing": 8,
4072
4088
  "alignment": "center",
4073
4089
  "children": [
4074
4090
  {
4075
- "id": "",
4091
+ "id": "himi_view_profile.avatar",
4076
4092
  "body": {
4077
4093
  "package": "himalaya",
4078
- "type": "Icon",
4094
+ "type": "ZStack",
4079
4095
  "props": {
4080
- "name": "photo",
4081
- "size": 28,
4082
- "tint": "accentPrimary"
4096
+ "alignment": "center",
4097
+ "children": [
4098
+ {
4099
+ "id": "",
4100
+ "body": {
4101
+ "package": "himalaya",
4102
+ "type": "Icon",
4103
+ "props": {
4104
+ "name": "photo",
4105
+ "size": 28,
4106
+ "tint": "accentPrimary"
4107
+ }
4108
+ },
4109
+ "modifiers": {
4110
+ "accessibilityRole": "decorative"
4111
+ }
4112
+ }
4113
+ ]
4083
4114
  }
4084
4115
  },
4085
4116
  "modifiers": {
4086
- "accessibilityRole": "decorative"
4117
+ "width": 96,
4118
+ "height": 96,
4119
+ "background": {
4120
+ "token": "accentSurface"
4121
+ },
4122
+ "cornerRadius": 16
4123
+ }
4124
+ },
4125
+ {
4126
+ "id": "himi_view_profile.name",
4127
+ "body": {
4128
+ "package": "himalaya",
4129
+ "type": "Text",
4130
+ "props": {
4131
+ "text": "$service:spacesViewProfile.name",
4132
+ "style": "title1"
4133
+ }
4134
+ }
4135
+ },
4136
+ {
4137
+ "id": "",
4138
+ "body": {
4139
+ "package": "himalaya",
4140
+ "type": "Text",
4141
+ "props": {
4142
+ "text": "$service:spacesViewProfile.handle",
4143
+ "style": "footnote",
4144
+ "color": "textSecondary",
4145
+ "collapseWhenEmpty": true
4146
+ }
4147
+ }
4148
+ },
4149
+ {
4150
+ "id": "",
4151
+ "body": {
4152
+ "package": "himalaya",
4153
+ "type": "Text",
4154
+ "props": {
4155
+ "text": "$service:spacesViewProfile.about",
4156
+ "style": "body",
4157
+ "collapseWhenEmpty": true
4158
+ }
4087
4159
  }
4088
4160
  }
4089
4161
  ]
4090
4162
  }
4091
4163
  },
4092
4164
  "modifiers": {
4093
- "width": 96,
4094
- "height": 96,
4095
- "background": {
4096
- "token": "accentSurface"
4097
- },
4098
- "cornerRadius": 16
4099
- }
4100
- },
4101
- {
4102
- "id": "himi_view_profile.name",
4103
- "body": {
4104
- "package": "himalaya",
4105
- "type": "Text",
4106
- "props": {
4107
- "text": "$service:spacesViewProfile.name",
4108
- "style": "title1"
4109
- }
4110
- }
4111
- },
4112
- {
4113
- "id": "",
4114
- "body": {
4115
- "package": "himalaya",
4116
- "type": "Text",
4117
- "props": {
4118
- "text": "$service:spacesViewProfile.handle",
4119
- "style": "footnote",
4120
- "color": "textSecondary",
4121
- "collapseWhenEmpty": true
4122
- }
4165
+ "hiddenPath": "$service:spacesViewProfile.profileHidden"
4123
4166
  }
4124
4167
  },
4125
4168
  {
4126
- "id": "",
4169
+ "id": "himi_view_profile.member_gate",
4127
4170
  "body": {
4128
4171
  "package": "himalaya",
4129
- "type": "Text",
4172
+ "type": "VStack",
4130
4173
  "props": {
4131
- "text": "$service:spacesViewProfile.about",
4132
- "style": "body",
4133
- "collapseWhenEmpty": true
4174
+ "spacing": 10,
4175
+ "alignment": "center",
4176
+ "children": [
4177
+ {
4178
+ "id": "",
4179
+ "body": {
4180
+ "package": "himalaya",
4181
+ "type": "Icon",
4182
+ "props": {
4183
+ "name": "person",
4184
+ "size": 28,
4185
+ "tint": "accentPrimary"
4186
+ }
4187
+ },
4188
+ "modifiers": {
4189
+ "accessibilityRole": "decorative"
4190
+ }
4191
+ },
4192
+ {
4193
+ "id": "himi_view_profile.member_gate_title",
4194
+ "body": {
4195
+ "package": "himalaya",
4196
+ "type": "Text",
4197
+ "props": {
4198
+ "text": "Sign in to view your profile",
4199
+ "style": "bodyEmphasis"
4200
+ }
4201
+ }
4202
+ },
4203
+ {
4204
+ "id": "",
4205
+ "body": {
4206
+ "package": "himalaya",
4207
+ "type": "Text",
4208
+ "props": {
4209
+ "text": "Your public profile appears here after you sign in.",
4210
+ "style": "footnote",
4211
+ "color": "textSecondary"
4212
+ }
4213
+ }
4214
+ },
4215
+ {
4216
+ "id": "himi_view_profile.member_gate_signin",
4217
+ "body": {
4218
+ "package": "himalaya",
4219
+ "type": "Button",
4220
+ "props": {
4221
+ "title": "Sign in",
4222
+ "style": "primary",
4223
+ "fullWidth": true,
4224
+ "action": {
4225
+ "actionId": "himi.open",
4226
+ "params": {
4227
+ "screenId": "himi_account",
4228
+ "intent": "profile",
4229
+ "returnScreenId": "himi_view_profile"
4230
+ }
4231
+ }
4232
+ }
4233
+ }
4234
+ }
4235
+ ]
4134
4236
  }
4237
+ },
4238
+ "modifiers": {
4239
+ "background": {
4240
+ "token": "surfaceElevated"
4241
+ },
4242
+ "border": {
4243
+ "width": 1,
4244
+ "color": {
4245
+ "token": "border"
4246
+ }
4247
+ },
4248
+ "cornerRadius": 16,
4249
+ "padding": {
4250
+ "leading": 16,
4251
+ "trailing": 16,
4252
+ "top": 20,
4253
+ "bottom": 20
4254
+ },
4255
+ "fillMaxWidth": true,
4256
+ "hiddenPath": "$service:spacesViewProfile.noSignIn"
4135
4257
  }
4136
4258
  }
4137
4259
  ]
@@ -4662,6 +4784,9 @@ const SCREENS = runtimeSetting({
4662
4784
  },
4663
4785
  "value": "$service:himiBrandedMenus.collection.query"
4664
4786
  }
4787
+ },
4788
+ "modifiers": {
4789
+ "hiddenPath": "$service:himiBrandedMenus.collection.hideChrome"
4665
4790
  }
4666
4791
  },
4667
4792
  {
@@ -4839,6 +4964,7 @@ const SCREENS = runtimeSetting({
4839
4964
  }
4840
4965
  },
4841
4966
  "modifiers": {
4967
+ "hiddenPath": "$service:himiBrandedMenus.collection.hideChrome",
4842
4968
  "padding": {
4843
4969
  "bottom": 12
4844
4970
  }
@@ -4876,37 +5002,55 @@ const SCREENS = runtimeSetting({
4876
5002
  "actionId": "tier5.himiBrandedMenus.collectionFilter"
4877
5003
  }
4878
5004
  }
5005
+ },
5006
+ "modifiers": {
5007
+ "weight": 1
4879
5008
  }
4880
5009
  },
4881
5010
  {
4882
- "id": "",
4883
- "body": {
4884
- "package": "himalaya",
4885
- "type": "Spacer",
4886
- "props": {}
4887
- }
4888
- },
4889
- {
4890
- "id": "",
5011
+ "id": "himi_menu.rows.collection.clear",
4891
5012
  "body": {
4892
5013
  "package": "himalaya",
4893
- "type": "Text",
5014
+ "type": "Button",
4894
5015
  "props": {
4895
- "text": "$service:himiBrandedMenus.collection.summary",
4896
- "style": "caption",
4897
- "color": "textSecondary"
5016
+ "title": "Clear",
5017
+ "style": "plain",
5018
+ "fullWidth": false,
5019
+ "action": {
5020
+ "actionId": "tier5.himiBrandedMenus.collectionClear"
5021
+ }
4898
5022
  }
5023
+ },
5024
+ "modifiers": {
5025
+ "hiddenPath": "$service:himiBrandedMenus.collection.noActiveCriteria"
4899
5026
  }
4900
5027
  }
4901
5028
  ]
4902
5029
  }
4903
5030
  },
4904
5031
  "modifiers": {
5032
+ "hiddenPath": "$service:himiBrandedMenus.collection.hideChrome",
4905
5033
  "padding": {
4906
5034
  "bottom": 12
4907
5035
  }
4908
5036
  }
4909
5037
  },
5038
+ {
5039
+ "id": "himi_menu.rows.collection.summary",
5040
+ "body": {
5041
+ "package": "himalaya",
5042
+ "type": "Text",
5043
+ "props": {
5044
+ "text": "$service:himiBrandedMenus.collection.summary",
5045
+ "style": "caption",
5046
+ "color": "textSecondary",
5047
+ "maxLines": 1
5048
+ }
5049
+ },
5050
+ "modifiers": {
5051
+ "hiddenPath": "$service:himiBrandedMenus.collection.hideChrome"
5052
+ }
5053
+ },
4910
5054
  {
4911
5055
  "id": "",
4912
5056
  "body": {
@@ -7476,65 +7620,172 @@ const SCREENS = runtimeSetting({
7476
7620
  }
7477
7621
  },
7478
7622
  {
7479
- "id": "",
7480
- "body": {
7481
- "package": "himalaya",
7482
- "type": "Text",
7483
- "props": {
7484
- "text": "$service:spacesCreatePost.hint",
7485
- "style": "footnote",
7486
- "color": "textSecondary",
7487
- "collapseWhenEmpty": true
7488
- }
7489
- }
7490
- },
7491
- {
7492
- "id": "himi_create_post.title_field",
7493
- "body": {
7494
- "package": "himalaya",
7495
- "type": "TextField",
7496
- "props": {
7497
- "placeholder": "Title",
7498
- "value": "",
7499
- "submitLabel": "next",
7500
- "onSubmit": {
7501
- "actionId": "tier5.spacesCreatePost.focusBody"
7502
- },
7503
- "onChange": {
7504
- "actionId": "tier5.spacesCreatePost.setTitle"
7505
- }
7506
- }
7507
- }
7508
- },
7509
- {
7510
- "id": "himi_create_post.body_field",
7511
- "body": {
7512
- "package": "himalaya",
7513
- "type": "TextField",
7514
- "props": {
7515
- "placeholder": "Write something…",
7516
- "value": "",
7517
- "multilineMaxLines": 6,
7518
- "focusPath": "$service:spacesCreatePost.bodyFocus",
7519
- "onChange": {
7520
- "actionId": "tier5.spacesCreatePost.setBody"
7521
- }
7522
- }
7523
- }
7524
- },
7525
- {
7526
- "id": "himi_create_post.submit",
7623
+ "id": "himi_create_post.member_gate",
7527
7624
  "body": {
7528
7625
  "package": "himalaya",
7529
- "type": "Button",
7626
+ "type": "VStack",
7530
7627
  "props": {
7531
- "title": "Post",
7532
- "style": "primary",
7533
- "fullWidth": true,
7534
- "action": {
7535
- "actionId": "tier5.spacesCreatePost.submit"
7536
- }
7537
- }
7628
+ "spacing": 10,
7629
+ "alignment": "center",
7630
+ "children": [
7631
+ {
7632
+ "id": "",
7633
+ "body": {
7634
+ "package": "himalaya",
7635
+ "type": "Icon",
7636
+ "props": {
7637
+ "name": "person",
7638
+ "size": 28,
7639
+ "tint": "accentPrimary"
7640
+ }
7641
+ },
7642
+ "modifiers": {
7643
+ "accessibilityRole": "decorative"
7644
+ }
7645
+ },
7646
+ {
7647
+ "id": "himi_create_post.member_gate_title",
7648
+ "body": {
7649
+ "package": "himalaya",
7650
+ "type": "Text",
7651
+ "props": {
7652
+ "text": "Sign in to post",
7653
+ "style": "bodyEmphasis"
7654
+ }
7655
+ }
7656
+ },
7657
+ {
7658
+ "id": "",
7659
+ "body": {
7660
+ "package": "himalaya",
7661
+ "type": "Text",
7662
+ "props": {
7663
+ "text": "Sign in to share something with the community.",
7664
+ "style": "footnote",
7665
+ "color": "textSecondary"
7666
+ }
7667
+ }
7668
+ },
7669
+ {
7670
+ "id": "himi_create_post.member_gate_signin",
7671
+ "body": {
7672
+ "package": "himalaya",
7673
+ "type": "Button",
7674
+ "props": {
7675
+ "title": "Sign in",
7676
+ "style": "primary",
7677
+ "fullWidth": true,
7678
+ "action": {
7679
+ "actionId": "himi.open",
7680
+ "params": {
7681
+ "screenId": "himi_account",
7682
+ "intent": "post",
7683
+ "returnScreenId": "himi_create_post"
7684
+ }
7685
+ }
7686
+ }
7687
+ }
7688
+ }
7689
+ ]
7690
+ }
7691
+ },
7692
+ "modifiers": {
7693
+ "background": {
7694
+ "token": "surfaceElevated"
7695
+ },
7696
+ "border": {
7697
+ "width": 1,
7698
+ "color": {
7699
+ "token": "border"
7700
+ }
7701
+ },
7702
+ "cornerRadius": 16,
7703
+ "padding": {
7704
+ "leading": 16,
7705
+ "trailing": 16,
7706
+ "top": 20,
7707
+ "bottom": 20
7708
+ },
7709
+ "fillMaxWidth": true,
7710
+ "hiddenPath": "$service:spacesCreatePost.noSignIn"
7711
+ }
7712
+ },
7713
+ {
7714
+ "id": "",
7715
+ "body": {
7716
+ "package": "himalaya",
7717
+ "type": "VStack",
7718
+ "props": {
7719
+ "spacing": 16,
7720
+ "alignment": "leading",
7721
+ "children": [
7722
+ {
7723
+ "id": "",
7724
+ "body": {
7725
+ "package": "himalaya",
7726
+ "type": "Text",
7727
+ "props": {
7728
+ "text": "$service:spacesCreatePost.hint",
7729
+ "style": "footnote",
7730
+ "color": "textSecondary",
7731
+ "collapseWhenEmpty": true
7732
+ }
7733
+ }
7734
+ },
7735
+ {
7736
+ "id": "himi_create_post.title_field",
7737
+ "body": {
7738
+ "package": "himalaya",
7739
+ "type": "TextField",
7740
+ "props": {
7741
+ "placeholder": "Title",
7742
+ "value": "",
7743
+ "submitLabel": "next",
7744
+ "onSubmit": {
7745
+ "actionId": "tier5.spacesCreatePost.focusBody"
7746
+ },
7747
+ "onChange": {
7748
+ "actionId": "tier5.spacesCreatePost.setTitle"
7749
+ }
7750
+ }
7751
+ }
7752
+ },
7753
+ {
7754
+ "id": "himi_create_post.body_field",
7755
+ "body": {
7756
+ "package": "himalaya",
7757
+ "type": "TextField",
7758
+ "props": {
7759
+ "placeholder": "Write something…",
7760
+ "value": "",
7761
+ "multilineMaxLines": 6,
7762
+ "focusPath": "$service:spacesCreatePost.bodyFocus",
7763
+ "onChange": {
7764
+ "actionId": "tier5.spacesCreatePost.setBody"
7765
+ }
7766
+ }
7767
+ }
7768
+ },
7769
+ {
7770
+ "id": "himi_create_post.submit",
7771
+ "body": {
7772
+ "package": "himalaya",
7773
+ "type": "Button",
7774
+ "props": {
7775
+ "title": "Post",
7776
+ "style": "primary",
7777
+ "fullWidth": true,
7778
+ "action": {
7779
+ "actionId": "tier5.spacesCreatePost.submit"
7780
+ }
7781
+ }
7782
+ }
7783
+ }
7784
+ ]
7785
+ }
7786
+ },
7787
+ "modifiers": {
7788
+ "hiddenPath": "$service:spacesCreatePost.hideForm"
7538
7789
  }
7539
7790
  }
7540
7791
  ]
@@ -7549,6 +7800,9 @@ const SCREENS = runtimeSetting({
7549
7800
  "trailing": 16,
7550
7801
  "top": 18,
7551
7802
  "bottom": 28
7803
+ },
7804
+ "onAppear": {
7805
+ "actionId": "tier5.spacesCreatePost.load"
7552
7806
  }
7553
7807
  }
7554
7808
  },
@@ -7630,6 +7884,9 @@ const SCREENS = runtimeSetting({
7630
7884
  },
7631
7885
  "value": "$service:himiEvents.collection.query"
7632
7886
  }
7887
+ },
7888
+ "modifiers": {
7889
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
7633
7890
  }
7634
7891
  },
7635
7892
  {
@@ -7886,6 +8143,7 @@ const SCREENS = runtimeSetting({
7886
8143
  }
7887
8144
  },
7888
8145
  "modifiers": {
8146
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
7889
8147
  "padding": {
7890
8148
  "bottom": 12
7891
8149
  }
@@ -7923,37 +8181,55 @@ const SCREENS = runtimeSetting({
7923
8181
  "actionId": "tier5.himiEvents.collectionFilter"
7924
8182
  }
7925
8183
  }
8184
+ },
8185
+ "modifiers": {
8186
+ "weight": 1
7926
8187
  }
7927
8188
  },
7928
8189
  {
7929
- "id": "",
7930
- "body": {
7931
- "package": "himalaya",
7932
- "type": "Spacer",
7933
- "props": {}
7934
- }
7935
- },
7936
- {
7937
- "id": "",
8190
+ "id": "himi_events.list.collection.clear",
7938
8191
  "body": {
7939
8192
  "package": "himalaya",
7940
- "type": "Text",
8193
+ "type": "Button",
7941
8194
  "props": {
7942
- "text": "$service:himiEvents.collection.summary",
7943
- "style": "caption",
7944
- "color": "textSecondary"
8195
+ "title": "Clear",
8196
+ "style": "plain",
8197
+ "fullWidth": false,
8198
+ "action": {
8199
+ "actionId": "tier5.himiEvents.collectionClear"
8200
+ }
7945
8201
  }
8202
+ },
8203
+ "modifiers": {
8204
+ "hiddenPath": "$service:himiEvents.collection.noActiveCriteria"
7946
8205
  }
7947
8206
  }
7948
8207
  ]
7949
8208
  }
7950
8209
  },
7951
8210
  "modifiers": {
8211
+ "hiddenPath": "$service:himiEvents.collection.hideChrome",
7952
8212
  "padding": {
7953
8213
  "bottom": 12
7954
8214
  }
7955
8215
  }
7956
8216
  },
8217
+ {
8218
+ "id": "himi_events.list.collection.summary",
8219
+ "body": {
8220
+ "package": "himalaya",
8221
+ "type": "Text",
8222
+ "props": {
8223
+ "text": "$service:himiEvents.collection.summary",
8224
+ "style": "caption",
8225
+ "color": "textSecondary",
8226
+ "maxLines": 1
8227
+ }
8228
+ },
8229
+ "modifiers": {
8230
+ "hiddenPath": "$service:himiEvents.collection.hideChrome"
8231
+ }
8232
+ },
7957
8233
  {
7958
8234
  "id": "",
7959
8235
  "body": {
@@ -8250,6 +8526,25 @@ const SCREENS = runtimeSetting({
8250
8526
  "hiddenPath": "$service:himiEvents.collection.noSelection"
8251
8527
  }
8252
8528
  },
8529
+ {
8530
+ "id": "himi_events.list.collection.list.$item.collectionId/primary",
8531
+ "body": {
8532
+ "package": "himalaya",
8533
+ "type": "Button",
8534
+ "props": {
8535
+ "title": "Register",
8536
+ "style": "secondary",
8537
+ "fullWidth": false,
8538
+ "action": {
8539
+ "actionId": "himi.open",
8540
+ "params": {
8541
+ "screenId": "$item.detailScreenId",
8542
+ "id": "$item.id"
8543
+ }
8544
+ }
8545
+ }
8546
+ }
8547
+ },
8253
8548
  {
8254
8549
  "id": "himi_events.list.collection.list.$item.collectionId/actions",
8255
8550
  "body": {
@@ -8579,6 +8874,25 @@ const SCREENS = runtimeSetting({
8579
8874
  "hiddenPath": "$service:himiEvents.collection.noSelection"
8580
8875
  }
8581
8876
  },
8877
+ {
8878
+ "id": "himi_events.list.collection.grid.$item.collectionId/primary",
8879
+ "body": {
8880
+ "package": "himalaya",
8881
+ "type": "Button",
8882
+ "props": {
8883
+ "title": "Register",
8884
+ "style": "secondary",
8885
+ "fullWidth": false,
8886
+ "action": {
8887
+ "actionId": "himi.open",
8888
+ "params": {
8889
+ "screenId": "$item.detailScreenId",
8890
+ "id": "$item.id"
8891
+ }
8892
+ }
8893
+ }
8894
+ }
8895
+ },
8582
8896
  {
8583
8897
  "id": "",
8584
8898
  "body": {
@@ -8901,6 +9215,25 @@ const SCREENS = runtimeSetting({
8901
9215
  "hiddenPath": "$service:himiEvents.collection.noSelection"
8902
9216
  }
8903
9217
  },
9218
+ {
9219
+ "id": "himi_events.list.collection.compact-list.$item.collectionId/primary",
9220
+ "body": {
9221
+ "package": "himalaya",
9222
+ "type": "Button",
9223
+ "props": {
9224
+ "title": "Register",
9225
+ "style": "secondary",
9226
+ "fullWidth": false,
9227
+ "action": {
9228
+ "actionId": "himi.open",
9229
+ "params": {
9230
+ "screenId": "$item.detailScreenId",
9231
+ "id": "$item.id"
9232
+ }
9233
+ }
9234
+ }
9235
+ }
9236
+ },
8904
9237
  {
8905
9238
  "id": "himi_events.list.collection.compact-list.$item.collectionId/actions",
8906
9239
  "body": {
@@ -9230,6 +9563,25 @@ const SCREENS = runtimeSetting({
9230
9563
  "hiddenPath": "$service:himiEvents.collection.noSelection"
9231
9564
  }
9232
9565
  },
9566
+ {
9567
+ "id": "himi_events.list.collection.compact-grid.$item.collectionId/primary",
9568
+ "body": {
9569
+ "package": "himalaya",
9570
+ "type": "Button",
9571
+ "props": {
9572
+ "title": "Register",
9573
+ "style": "secondary",
9574
+ "fullWidth": false,
9575
+ "action": {
9576
+ "actionId": "himi.open",
9577
+ "params": {
9578
+ "screenId": "$item.detailScreenId",
9579
+ "id": "$item.id"
9580
+ }
9581
+ }
9582
+ }
9583
+ }
9584
+ },
9233
9585
  {
9234
9586
  "id": "",
9235
9587
  "body": {
@@ -9916,6 +10268,25 @@ const SCREENS = runtimeSetting({
9916
10268
  "hiddenPath": "$service:himiEvents.collection.noSelection"
9917
10269
  }
9918
10270
  },
10271
+ {
10272
+ "id": "himi_events.list.collection.preview.$item.collectionId/primary",
10273
+ "body": {
10274
+ "package": "himalaya",
10275
+ "type": "Button",
10276
+ "props": {
10277
+ "title": "Register",
10278
+ "style": "secondary",
10279
+ "fullWidth": false,
10280
+ "action": {
10281
+ "actionId": "himi.open",
10282
+ "params": {
10283
+ "screenId": "$item.detailScreenId",
10284
+ "id": "$item.id"
10285
+ }
10286
+ }
10287
+ }
10288
+ }
10289
+ },
9919
10290
  {
9920
10291
  "id": "",
9921
10292
  "body": {
@@ -10817,59 +11188,9 @@ const SCREENS = runtimeSetting({
10817
11188
  },
10818
11189
  "value": "$service:himiBlogFeed.collection.query"
10819
11190
  }
10820
- }
10821
- },
10822
- {
10823
- "id": "himi_blog.categories",
10824
- "body": {
10825
- "package": "himalaya",
10826
- "type": "Grid",
10827
- "props": {
10828
- "columns": 2,
10829
- "spacing": 8,
10830
- "itemsPath": "$service:himiBlogFeed.categories",
10831
- "items": [
10832
- {
10833
- "id": "",
10834
- "body": {
10835
- "package": "himalaya",
10836
- "type": "Text",
10837
- "props": {
10838
- "text": "$item.label",
10839
- "style": "footnote",
10840
- "color": "textPrimary",
10841
- "maxLines": 1
10842
- }
10843
- },
10844
- "modifiers": {
10845
- "background": {
10846
- "token": "accentSurface"
10847
- },
10848
- "border": {
10849
- "width": 1,
10850
- "color": {
10851
- "token": "border"
10852
- }
10853
- },
10854
- "cornerRadius": 8,
10855
- "padding": {
10856
- "leading": 12,
10857
- "trailing": 12,
10858
- "top": 9,
10859
- "bottom": 9
10860
- },
10861
- "onTap": {
10862
- "actionId": "tier5.himiBlogFeed.selectCategory",
10863
- "params": {
10864
- "categoryId": "$item.id"
10865
- }
10866
- },
10867
- "pressFeedback": "scale",
10868
- "haptic": "light"
10869
- }
10870
- }
10871
- ]
10872
- }
11191
+ },
11192
+ "modifiers": {
11193
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
10873
11194
  }
10874
11195
  },
10875
11196
  {
@@ -11064,40 +11385,6 @@ const SCREENS = runtimeSetting({
11064
11385
  "spacing": 12,
11065
11386
  "alignment": "leading",
11066
11387
  "children": [
11067
- {
11068
- "id": "",
11069
- "body": {
11070
- "package": "himalaya",
11071
- "type": "HStack",
11072
- "props": {
11073
- "spacing": 8,
11074
- "children": [
11075
- {
11076
- "id": "",
11077
- "body": {
11078
- "package": "himalaya",
11079
- "type": "Spacer",
11080
- "props": {}
11081
- }
11082
- },
11083
- {
11084
- "id": "himi_blog.clear",
11085
- "body": {
11086
- "package": "himalaya",
11087
- "type": "Button",
11088
- "props": {
11089
- "title": "Clear",
11090
- "style": "secondary",
11091
- "action": {
11092
- "actionId": "tier5.himiBlogFeed.clearFilters"
11093
- }
11094
- }
11095
- }
11096
- }
11097
- ]
11098
- }
11099
- }
11100
- },
11101
11388
  {
11102
11389
  "id": "himi_blog.list.collection.toolbar",
11103
11390
  "body": {
@@ -11160,6 +11447,7 @@ const SCREENS = runtimeSetting({
11160
11447
  }
11161
11448
  },
11162
11449
  "modifiers": {
11450
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
11163
11451
  "padding": {
11164
11452
  "bottom": 12
11165
11453
  }
@@ -11197,37 +11485,55 @@ const SCREENS = runtimeSetting({
11197
11485
  "actionId": "tier5.himiBlogFeed.collectionFilter"
11198
11486
  }
11199
11487
  }
11488
+ },
11489
+ "modifiers": {
11490
+ "weight": 1
11200
11491
  }
11201
11492
  },
11202
11493
  {
11203
- "id": "",
11204
- "body": {
11205
- "package": "himalaya",
11206
- "type": "Spacer",
11207
- "props": {}
11208
- }
11209
- },
11210
- {
11211
- "id": "",
11494
+ "id": "himi_blog.list.collection.clear",
11212
11495
  "body": {
11213
11496
  "package": "himalaya",
11214
- "type": "Text",
11497
+ "type": "Button",
11215
11498
  "props": {
11216
- "text": "$service:himiBlogFeed.collection.summary",
11217
- "style": "caption",
11218
- "color": "textSecondary"
11499
+ "title": "Clear",
11500
+ "style": "plain",
11501
+ "fullWidth": false,
11502
+ "action": {
11503
+ "actionId": "tier5.himiBlogFeed.collectionClear"
11504
+ }
11219
11505
  }
11506
+ },
11507
+ "modifiers": {
11508
+ "hiddenPath": "$service:himiBlogFeed.collection.noActiveCriteria"
11220
11509
  }
11221
11510
  }
11222
11511
  ]
11223
11512
  }
11224
11513
  },
11225
11514
  "modifiers": {
11515
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome",
11226
11516
  "padding": {
11227
11517
  "bottom": 12
11228
11518
  }
11229
11519
  }
11230
11520
  },
11521
+ {
11522
+ "id": "himi_blog.list.collection.summary",
11523
+ "body": {
11524
+ "package": "himalaya",
11525
+ "type": "Text",
11526
+ "props": {
11527
+ "text": "$service:himiBlogFeed.collection.summary",
11528
+ "style": "caption",
11529
+ "color": "textSecondary",
11530
+ "maxLines": 1
11531
+ }
11532
+ },
11533
+ "modifiers": {
11534
+ "hiddenPath": "$service:himiBlogFeed.collection.hideChrome"
11535
+ }
11536
+ },
11231
11537
  {
11232
11538
  "id": "",
11233
11539
  "body": {
@@ -14434,77 +14740,225 @@ const SCREENS = runtimeSetting({
14434
14740
  "spacing": 8,
14435
14741
  "alignment": "leading",
14436
14742
  "children": [
14437
- {
14438
- "id": "himi_food_order.chrome",
14439
- "body": {
14440
- "package": "himalaya",
14441
- "type": "Text",
14442
- "props": {
14443
- "text": "Order details",
14444
- "style": "title1"
14445
- }
14446
- }
14447
- },
14448
- {
14449
- "id": "himi_food_order.title",
14450
- "body": {
14451
- "package": "himalaya",
14452
- "type": "Text",
14453
- "props": {
14454
- "text": "$service:spacesFoodOrderDetail.name",
14455
- "style": "title1",
14456
- "collapseWhenEmpty": true
14457
- }
14458
- }
14459
- },
14460
- {
14461
- "id": "",
14462
- "body": {
14463
- "package": "himalaya",
14464
- "type": "Text",
14465
- "props": {
14466
- "text": "$service:spacesFoodOrderDetail.status_",
14467
- "style": "footnote",
14468
- "color": "textSecondary",
14469
- "collapseWhenEmpty": true
14470
- }
14471
- }
14472
- },
14473
- {
14474
- "id": "",
14475
- "body": {
14476
- "package": "himalaya",
14477
- "type": "Text",
14478
- "props": {
14479
- "text": "$service:spacesFoodOrderDetail.total",
14480
- "style": "title3",
14481
- "color": "accentPrimary",
14482
- "collapseWhenEmpty": true
14483
- }
14484
- }
14485
- },
14486
14743
  {
14487
14744
  "id": "",
14488
14745
  "body": {
14489
14746
  "package": "himalaya",
14490
- "type": "Text",
14747
+ "type": "VStack",
14491
14748
  "props": {
14492
- "text": "$service:spacesFoodOrderDetail.items",
14493
- "style": "body",
14494
- "collapseWhenEmpty": true
14749
+ "spacing": 8,
14750
+ "alignment": "leading",
14751
+ "children": [
14752
+ {
14753
+ "id": "himi_food_order.chrome",
14754
+ "body": {
14755
+ "package": "himalaya",
14756
+ "type": "Text",
14757
+ "props": {
14758
+ "text": "Order details",
14759
+ "style": "title1"
14760
+ }
14761
+ }
14762
+ },
14763
+ {
14764
+ "id": "himi_food_order.title",
14765
+ "body": {
14766
+ "package": "himalaya",
14767
+ "type": "Text",
14768
+ "props": {
14769
+ "text": "$service:spacesFoodOrderDetail.name",
14770
+ "style": "title1",
14771
+ "collapseWhenEmpty": true
14772
+ }
14773
+ }
14774
+ },
14775
+ {
14776
+ "id": "",
14777
+ "body": {
14778
+ "package": "himalaya",
14779
+ "type": "Text",
14780
+ "props": {
14781
+ "text": "$service:spacesFoodOrderDetail.status_",
14782
+ "style": "footnote",
14783
+ "color": "textSecondary",
14784
+ "collapseWhenEmpty": true
14785
+ }
14786
+ }
14787
+ },
14788
+ {
14789
+ "id": "",
14790
+ "body": {
14791
+ "package": "himalaya",
14792
+ "type": "Text",
14793
+ "props": {
14794
+ "text": "$service:spacesFoodOrderDetail.total",
14795
+ "style": "title3",
14796
+ "color": "accentPrimary",
14797
+ "collapseWhenEmpty": true
14798
+ }
14799
+ }
14800
+ },
14801
+ {
14802
+ "id": "",
14803
+ "body": {
14804
+ "package": "himalaya",
14805
+ "type": "Text",
14806
+ "props": {
14807
+ "text": "$service:spacesFoodOrderDetail.items",
14808
+ "style": "body",
14809
+ "collapseWhenEmpty": true
14810
+ }
14811
+ }
14812
+ },
14813
+ {
14814
+ "id": "",
14815
+ "body": {
14816
+ "package": "himalaya",
14817
+ "type": "Text",
14818
+ "props": {
14819
+ "text": "$service:spacesFoodOrderDetail.message",
14820
+ "style": "body",
14821
+ "color": "textSecondary",
14822
+ "collapseWhenEmpty": true
14823
+ }
14824
+ }
14825
+ }
14826
+ ]
14495
14827
  }
14828
+ },
14829
+ "modifiers": {
14830
+ "hiddenPath": "$service:spacesFoodOrderDetail.noEntity"
14496
14831
  }
14497
14832
  },
14498
14833
  {
14499
14834
  "id": "",
14500
14835
  "body": {
14501
14836
  "package": "himalaya",
14502
- "type": "Text",
14837
+ "type": "VStack",
14503
14838
  "props": {
14504
- "text": "$service:spacesFoodOrderDetail.message",
14505
- "style": "body",
14506
- "color": "textSecondary",
14507
- "collapseWhenEmpty": true
14839
+ "spacing": 12,
14840
+ "alignment": "leading",
14841
+ "children": [
14842
+ {
14843
+ "id": "himi_food_order.loading",
14844
+ "body": {
14845
+ "package": "himalaya",
14846
+ "type": "Text",
14847
+ "props": {
14848
+ "text": "Loading…",
14849
+ "style": "body",
14850
+ "color": "textSecondary"
14851
+ }
14852
+ },
14853
+ "modifiers": {
14854
+ "hiddenPath": "$service:spacesFoodOrderDetail.hideLoading"
14855
+ }
14856
+ },
14857
+ {
14858
+ "id": "himi_food_order.load_error",
14859
+ "body": {
14860
+ "package": "himalaya",
14861
+ "type": "Text",
14862
+ "props": {
14863
+ "text": "This couldn't be loaded. Check your connection and try again.",
14864
+ "style": "body",
14865
+ "color": "textSecondary"
14866
+ }
14867
+ },
14868
+ "modifiers": {
14869
+ "hiddenPath": "$service:spacesFoodOrderDetail.hideLoadError"
14870
+ }
14871
+ },
14872
+ {
14873
+ "id": "himi_food_order.not_found",
14874
+ "body": {
14875
+ "package": "himalaya",
14876
+ "type": "VStack",
14877
+ "props": {
14878
+ "spacing": 10,
14879
+ "alignment": "center",
14880
+ "children": [
14881
+ {
14882
+ "id": "",
14883
+ "body": {
14884
+ "package": "himalaya",
14885
+ "type": "Icon",
14886
+ "props": {
14887
+ "name": "bag",
14888
+ "size": 32,
14889
+ "tint": "textTertiary"
14890
+ }
14891
+ },
14892
+ "modifiers": {
14893
+ "accessibilityRole": "decorative"
14894
+ }
14895
+ },
14896
+ {
14897
+ "id": "himi_food_order.not_found_title",
14898
+ "body": {
14899
+ "package": "himalaya",
14900
+ "type": "Text",
14901
+ "props": {
14902
+ "text": "Order not found",
14903
+ "style": "title3"
14904
+ }
14905
+ }
14906
+ },
14907
+ {
14908
+ "id": "",
14909
+ "body": {
14910
+ "package": "himalaya",
14911
+ "type": "Text",
14912
+ "props": {
14913
+ "text": "This order is no longer available.",
14914
+ "style": "body",
14915
+ "color": "textSecondary"
14916
+ }
14917
+ }
14918
+ },
14919
+ {
14920
+ "id": "himi_food_order.not_found_back",
14921
+ "body": {
14922
+ "package": "himalaya",
14923
+ "type": "Button",
14924
+ "props": {
14925
+ "title": "Back to orders",
14926
+ "style": "primary",
14927
+ "fullWidth": true,
14928
+ "action": {
14929
+ "actionId": "himi.open",
14930
+ "params": {
14931
+ "screenId": "himi_food_orders"
14932
+ }
14933
+ }
14934
+ }
14935
+ }
14936
+ }
14937
+ ]
14938
+ }
14939
+ },
14940
+ "modifiers": {
14941
+ "background": {
14942
+ "token": "surfaceElevated"
14943
+ },
14944
+ "border": {
14945
+ "width": 1,
14946
+ "color": {
14947
+ "token": "border"
14948
+ }
14949
+ },
14950
+ "cornerRadius": 16,
14951
+ "padding": {
14952
+ "leading": 16,
14953
+ "trailing": 16,
14954
+ "top": 20,
14955
+ "bottom": 20
14956
+ },
14957
+ "fillMaxWidth": true,
14958
+ "hiddenPath": "$service:spacesFoodOrderDetail.hideNotFound"
14959
+ }
14960
+ }
14961
+ ]
14508
14962
  }
14509
14963
  }
14510
14964
  }