@wix/himalaya-cli 0.1535.0 → 0.1537.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 (30) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +16 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/data-collections-v1/src/extensions.d.ts +4 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/wix-data/src/index.d.ts +497 -4
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +5 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-data-collections.mjs +1 -5
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-data.mjs +315 -7
  7. package/dist/cli.mjs +805 -533
  8. package/dist/preview-assets.generated.bin +0 -0
  9. package/fixtures/wix-canned.json +1 -0
  10. package/guides/cms-collections.md +31 -0
  11. package/guides/himi-json-output.md +9 -0
  12. package/guides/release-notes.md +12 -0
  13. package/guides/wix-api-usage.md +53 -6
  14. package/package.json +2 -2
  15. package/templates/beauty-salon/dev/index.ts +1109 -2310
  16. package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +121 -1
  17. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +9 -55
  18. package/templates/beauty-salon/tier5-src/himi-booking-services/index.ts +264 -18
  19. package/templates/branded-lite/dev/index.ts +1075 -2276
  20. package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +121 -1
  21. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +9 -55
  22. package/templates/branded-lite/tier5-src/himi-booking-services/index.ts +264 -18
  23. package/templates/gym-fitness/dev/index.ts +1075 -2276
  24. package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +121 -1
  25. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +9 -55
  26. package/templates/gym-fitness/tier5-src/himi-booking-services/index.ts +264 -18
  27. package/templates/yoga-studio/dev/index.ts +1137 -2338
  28. package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +121 -1
  29. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +9 -55
  30. package/templates/yoga-studio/tier5-src/himi-booking-services/index.ts +264 -18
@@ -18934,7 +18934,7 @@ const SCREENS = runtimeSetting({
18934
18934
  "package": "himalaya",
18935
18935
  "type": "VStack",
18936
18936
  "props": {
18937
- "spacing": 16,
18937
+ "spacing": 0,
18938
18938
  "alignment": "leading",
18939
18939
  "children": [
18940
18940
  {
@@ -18958,7 +18958,7 @@ const SCREENS = runtimeSetting({
18958
18958
  }
18959
18959
  },
18960
18960
  {
18961
- "id": "",
18961
+ "id": "himi_services.subtitle",
18962
18962
  "body": {
18963
18963
  "package": "himalaya",
18964
18964
  "type": "Text",
@@ -18971,95 +18971,36 @@ const SCREENS = runtimeSetting({
18971
18971
  }
18972
18972
  ]
18973
18973
  }
18974
- }
18975
- },
18976
- {
18977
- "id": "himi_services.search",
18978
- "body": {
18979
- "package": "himalaya",
18980
- "type": "SearchField",
18981
- "props": {
18982
- "placeholder": "Search services",
18983
- "debounceMs": 200,
18984
- "onChange": {
18985
- "actionId": "tier5.himiBookingServices.collectionSearch"
18986
- },
18987
- "value": "$service:himiBookingServices.collection.query"
18988
- }
18989
18974
  },
18990
18975
  "modifiers": {
18991
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
18976
+ "padding": {
18977
+ "leading": 20,
18978
+ "trailing": 20,
18979
+ "top": 0,
18980
+ "bottom": 0
18981
+ }
18992
18982
  }
18993
18983
  },
18994
18984
  {
18995
- "id": "himi_services.retry.block",
18985
+ "id": "",
18996
18986
  "body": {
18997
18987
  "package": "himalaya",
18998
18988
  "type": "VStack",
18999
18989
  "props": {
19000
- "spacing": 12,
18990
+ "spacing": 0,
19001
18991
  "alignment": "leading",
19002
18992
  "children": [
19003
18993
  {
19004
- "id": "",
19005
- "body": {
19006
- "package": "himalaya",
19007
- "type": "HStack",
19008
- "props": {
19009
- "spacing": 10,
19010
- "children": [
19011
- {
19012
- "id": "",
19013
- "body": {
19014
- "package": "himalaya",
19015
- "type": "Icon",
19016
- "props": {
19017
- "name": "warning",
19018
- "size": 18,
19019
- "tint": "accentPrimary"
19020
- }
19021
- },
19022
- "modifiers": {
19023
- "accessibilityRole": "decorative"
19024
- }
19025
- },
19026
- {
19027
- "id": "",
19028
- "body": {
19029
- "package": "himalaya",
19030
- "type": "Text",
19031
- "props": {
19032
- "text": "Something did not load.",
19033
- "style": "bodyEmphasis"
19034
- }
19035
- }
19036
- }
19037
- ]
19038
- }
19039
- }
19040
- },
19041
- {
19042
- "id": "",
19043
- "body": {
19044
- "package": "himalaya",
19045
- "type": "Text",
19046
- "props": {
19047
- "text": "Try again when the connection settles.",
19048
- "style": "body",
19049
- "color": "textSecondary"
19050
- }
19051
- }
19052
- },
19053
- {
19054
- "id": "himi_services.retry",
18994
+ "id": "himi_services.search",
19055
18995
  "body": {
19056
18996
  "package": "himalaya",
19057
- "type": "Button",
18997
+ "type": "SearchField",
19058
18998
  "props": {
19059
- "title": "Try again",
19060
- "style": "secondary",
19061
- "action": {
19062
- "actionId": "tier5.himiBookingServices.load"
18999
+ "placeholder": "Search services",
19000
+ "value": "$service:himiBookingServices.collection.query",
19001
+ "debounceMs": 200,
19002
+ "onChange": {
19003
+ "actionId": "tier5.himiBookingServices.search"
19063
19004
  }
19064
19005
  }
19065
19006
  }
@@ -19068,417 +19009,582 @@ const SCREENS = runtimeSetting({
19068
19009
  }
19069
19010
  },
19070
19011
  "modifiers": {
19071
- "background": {
19072
- "token": "surfaceElevated"
19012
+ "padding": {
19013
+ "leading": 20,
19014
+ "trailing": 20,
19015
+ "top": 16,
19016
+ "bottom": 0
19073
19017
  },
19074
- "border": {
19075
- "width": 1,
19076
- "color": {
19077
- "token": "border"
19018
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
19019
+ }
19020
+ },
19021
+ {
19022
+ "id": "himi_services.categories",
19023
+ "body": {
19024
+ "package": "himalaya",
19025
+ "type": "FilterChips",
19026
+ "props": {
19027
+ "chips": [],
19028
+ "optionsPath": "$service:himiBookingServices.categoryChips",
19029
+ "selectedIds": [
19030
+ "$service:himiBookingServices.collection.filter"
19031
+ ],
19032
+ "multiSelect": false,
19033
+ "onChange": {
19034
+ "actionId": "tier5.himiBookingServices.collectionFilter"
19078
19035
  }
19079
- },
19080
- "cornerRadius": 8,
19036
+ }
19037
+ },
19038
+ "modifiers": {
19039
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
19081
19040
  "padding": {
19082
- "leading": 14,
19083
- "trailing": 14,
19084
- "top": 14,
19085
- "bottom": 14
19086
- },
19087
- "transition": {
19088
- "enter": "fade",
19089
- "exit": "fade"
19041
+ "leading": 20,
19042
+ "trailing": 20,
19043
+ "top": 12,
19044
+ "bottom": 0
19090
19045
  },
19091
- "hiddenPath": "$service:himiBookingServices.notErrored"
19046
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
19092
19047
  }
19093
19048
  },
19094
19049
  {
19095
- "id": "",
19050
+ "id": "himi_services.offline",
19096
19051
  "body": {
19097
19052
  "package": "himalaya",
19098
- "type": "VStack",
19053
+ "type": "Text",
19099
19054
  "props": {
19100
- "spacing": 10,
19101
- "children": [
19102
- {
19103
- "id": "himi_services.skeleton_1",
19104
- "body": {
19105
- "package": "himalaya",
19106
- "type": "Skeleton",
19107
- "props": {
19108
- "height": 88,
19109
- "cornerRadius": 8
19110
- }
19111
- },
19112
- "modifiers": {
19113
- "height": 88,
19114
- "background": {
19115
- "token": "surfaceSecondary"
19116
- },
19117
- "cornerRadius": 8,
19118
- "accessibilityRole": "decorative"
19119
- }
19120
- },
19121
- {
19122
- "id": "himi_services.skeleton_2",
19123
- "body": {
19124
- "package": "himalaya",
19125
- "type": "Skeleton",
19126
- "props": {
19127
- "height": 88,
19128
- "cornerRadius": 8
19129
- }
19130
- },
19131
- "modifiers": {
19132
- "height": 88,
19133
- "background": {
19134
- "token": "surfaceSecondary"
19135
- },
19136
- "cornerRadius": 8,
19137
- "accessibilityRole": "decorative"
19138
- }
19139
- },
19140
- {
19141
- "id": "himi_services.skeleton_3",
19142
- "body": {
19143
- "package": "himalaya",
19144
- "type": "Skeleton",
19145
- "props": {
19146
- "height": 88,
19147
- "cornerRadius": 8
19148
- }
19149
- },
19150
- "modifiers": {
19151
- "height": 88,
19152
- "background": {
19153
- "token": "surfaceSecondary"
19154
- },
19155
- "cornerRadius": 8,
19156
- "accessibilityRole": "decorative"
19157
- }
19158
- }
19159
- ]
19055
+ "text": "Showing saved services. They may be out of date.",
19056
+ "style": "caption",
19057
+ "color": "textSecondary"
19160
19058
  }
19161
19059
  },
19162
19060
  "modifiers": {
19163
- "hiddenPath": "$service:himiBookingServices.notLoading"
19061
+ "padding": {
19062
+ "leading": 20,
19063
+ "trailing": 20,
19064
+ "top": 12,
19065
+ "bottom": 0
19066
+ },
19067
+ "hiddenPath": "$service:himiBookingServices.collection.noOffline"
19164
19068
  }
19165
19069
  },
19166
19070
  {
19167
- "id": "",
19071
+ "id": "himi_services.retry_group",
19168
19072
  "body": {
19169
19073
  "package": "himalaya",
19170
19074
  "type": "VStack",
19171
19075
  "props": {
19172
- "spacing": 12,
19076
+ "spacing": 0,
19077
+ "alignment": "leading",
19173
19078
  "children": [
19174
19079
  {
19175
- "id": "himi_services.list.collection.toolbar",
19080
+ "id": "himi_services.retry.block",
19176
19081
  "body": {
19177
19082
  "package": "himalaya",
19178
19083
  "type": "VStack",
19179
19084
  "props": {
19180
- "spacing": 0,
19085
+ "spacing": 12,
19086
+ "alignment": "leading",
19181
19087
  "children": [
19182
- {
19183
- "id": "himi_services.list.collection.loading",
19184
- "body": {
19185
- "package": "himalaya",
19186
- "type": "Skeleton",
19187
- "props": {
19188
- "height": 72,
19189
- "cornerRadius": 12,
19190
- "count": 3
19191
- }
19192
- },
19193
- "modifiers": {
19194
- "hiddenPath": "$service:himiBookingServices.collection.noLoading",
19195
- "padding": {
19196
- "bottom": 12
19197
- }
19198
- }
19199
- },
19200
19088
  {
19201
19089
  "id": "",
19202
19090
  "body": {
19203
19091
  "package": "himalaya",
19204
19092
  "type": "HStack",
19205
19093
  "props": {
19206
- "spacing": 8,
19094
+ "spacing": 10,
19207
19095
  "children": [
19208
19096
  {
19209
- "id": "himi_services.list.collection.view",
19097
+ "id": "",
19210
19098
  "body": {
19211
19099
  "package": "himalaya",
19212
- "type": "SegmentedControl",
19100
+ "type": "Icon",
19213
19101
  "props": {
19214
- "options": [
19215
- {
19216
- "id": "list",
19217
- "label": "List"
19218
- },
19219
- {
19220
- "id": "grid",
19221
- "label": "Grid"
19222
- }
19223
- ],
19224
- "selectedId": "$service:himiBookingServices.collection.view",
19225
- "onChange": {
19226
- "actionId": "tier5.himiBookingServices.collectionView"
19227
- }
19102
+ "name": "warning",
19103
+ "size": 18,
19104
+ "tint": "accentPrimary"
19228
19105
  }
19229
19106
  },
19230
19107
  "modifiers": {
19231
- "weight": 1
19108
+ "accessibilityRole": "decorative"
19232
19109
  }
19233
19110
  },
19234
19111
  {
19235
- "id": "himi_services.list.collection.refine",
19112
+ "id": "",
19236
19113
  "body": {
19237
19114
  "package": "himalaya",
19238
- "type": "Button",
19115
+ "type": "Text",
19239
19116
  "props": {
19240
- "title": "Refine",
19241
- "style": "plain",
19242
- "fullWidth": false,
19243
- "action": {
19244
- "actionId": "tier5.himiBookingServices.collectionFilters"
19245
- },
19246
- "leadingIcon": "filter"
19117
+ "text": "Something did not load.",
19118
+ "style": "bodyEmphasis"
19247
19119
  }
19248
19120
  }
19249
19121
  }
19250
19122
  ]
19251
19123
  }
19252
- },
19253
- "modifiers": {
19254
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
19255
- "padding": {
19256
- "bottom": 12
19257
- }
19258
19124
  }
19259
19125
  },
19260
19126
  {
19261
19127
  "id": "",
19262
19128
  "body": {
19263
19129
  "package": "himalaya",
19264
- "type": "HStack",
19130
+ "type": "Text",
19265
19131
  "props": {
19266
- "spacing": 8,
19267
- "children": [
19268
- {
19269
- "id": "himi_services.list.collection.filters",
19270
- "body": {
19271
- "package": "himalaya",
19272
- "type": "FilterChips",
19273
- "props": {
19274
- "chips": [
19275
- {
19276
- "id": "all",
19277
- "label": "All"
19278
- },
19279
- {
19280
- "id": "saved",
19281
- "label": "Saved"
19282
- }
19283
- ],
19284
- "optionsPath": "$service:himiBookingServices.collection.chips",
19285
- "selectedIds": [
19286
- "$service:himiBookingServices.collection.filter"
19287
- ],
19288
- "onChange": {
19289
- "actionId": "tier5.himiBookingServices.collectionFilter"
19290
- }
19291
- }
19292
- },
19293
- "modifiers": {
19294
- "weight": 1
19295
- }
19296
- },
19297
- {
19298
- "id": "himi_services.list.collection.clear",
19299
- "body": {
19300
- "package": "himalaya",
19301
- "type": "Button",
19302
- "props": {
19303
- "title": "Clear",
19304
- "style": "plain",
19305
- "fullWidth": false,
19306
- "action": {
19307
- "actionId": "tier5.himiBookingServices.collectionClear"
19308
- }
19309
- }
19310
- },
19311
- "modifiers": {
19312
- "hiddenPath": "$service:himiBookingServices.collection.noActiveCriteria"
19313
- }
19314
- }
19315
- ]
19316
- }
19317
- },
19318
- "modifiers": {
19319
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
19320
- "padding": {
19321
- "bottom": 12
19132
+ "text": "Try again when the connection settles.",
19133
+ "style": "body",
19134
+ "color": "textSecondary"
19322
19135
  }
19323
19136
  }
19324
19137
  },
19325
19138
  {
19326
- "id": "himi_services.list.collection.summary",
19139
+ "id": "himi_services.retry",
19327
19140
  "body": {
19328
19141
  "package": "himalaya",
19329
- "type": "Text",
19142
+ "type": "Button",
19330
19143
  "props": {
19331
- "text": "$service:himiBookingServices.collection.summary",
19332
- "style": "caption",
19333
- "color": "textSecondary",
19334
- "maxLines": 1
19144
+ "title": "Try again",
19145
+ "style": "secondary",
19146
+ "action": {
19147
+ "actionId": "tier5.himiBookingServices.load"
19148
+ }
19335
19149
  }
19336
- },
19337
- "modifiers": {
19338
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
19339
19150
  }
19340
- },
19151
+ }
19152
+ ]
19153
+ }
19154
+ },
19155
+ "modifiers": {
19156
+ "background": {
19157
+ "token": "surfaceElevated"
19158
+ },
19159
+ "border": {
19160
+ "width": 1,
19161
+ "color": {
19162
+ "token": "border"
19163
+ }
19164
+ },
19165
+ "cornerRadius": 8,
19166
+ "padding": {
19167
+ "leading": 14,
19168
+ "trailing": 14,
19169
+ "top": 14,
19170
+ "bottom": 14
19171
+ },
19172
+ "transition": {
19173
+ "enter": "fade",
19174
+ "exit": "fade"
19175
+ },
19176
+ "hiddenPath": "$service:himiBookingServices.notErrored"
19177
+ }
19178
+ }
19179
+ ]
19180
+ }
19181
+ },
19182
+ "modifiers": {
19183
+ "padding": {
19184
+ "leading": 20,
19185
+ "trailing": 20,
19186
+ "top": 16,
19187
+ "bottom": 0
19188
+ },
19189
+ "hiddenPath": "$service:himiBookingServices.hasResults"
19190
+ }
19191
+ },
19192
+ {
19193
+ "id": "",
19194
+ "body": {
19195
+ "package": "himalaya",
19196
+ "type": "VStack",
19197
+ "props": {
19198
+ "spacing": 0,
19199
+ "alignment": "leading",
19200
+ "children": [
19201
+ {
19202
+ "id": "himi_services.skeleton_1",
19203
+ "body": {
19204
+ "package": "himalaya",
19205
+ "type": "VStack",
19206
+ "props": {
19207
+ "spacing": 0,
19208
+ "alignment": "leading",
19209
+ "children": [
19341
19210
  {
19342
19211
  "id": "",
19343
19212
  "body": {
19344
19213
  "package": "himalaya",
19345
19214
  "type": "HStack",
19346
19215
  "props": {
19216
+ "spacing": 14,
19217
+ "alignment": "center",
19347
19218
  "children": [
19348
19219
  {
19349
19220
  "id": "",
19350
19221
  "body": {
19351
19222
  "package": "himalaya",
19352
- "type": "Text",
19223
+ "type": "Skeleton",
19353
19224
  "props": {
19354
- "text": "$service:himiBookingServices.collection.selectedSummary",
19355
- "style": "caption"
19225
+ "height": 72,
19226
+ "cornerRadius": 8
19356
19227
  }
19228
+ },
19229
+ "modifiers": {
19230
+ "width": 72,
19231
+ "height": 72,
19232
+ "background": {
19233
+ "token": "surfaceSecondary"
19234
+ },
19235
+ "cornerRadius": 8,
19236
+ "accessibilityRole": "decorative"
19357
19237
  }
19358
19238
  },
19359
19239
  {
19360
- "id": "btn_tier5_himibookingservices_collectionsaveselected",
19240
+ "id": "",
19361
19241
  "body": {
19362
19242
  "package": "himalaya",
19363
- "type": "Button",
19243
+ "type": "VStack",
19364
19244
  "props": {
19365
- "title": "Save selected",
19366
- "style": "secondary",
19367
- "action": {
19368
- "actionId": "tier5.himiBookingServices.collectionSaveSelected"
19369
- }
19245
+ "spacing": 8,
19246
+ "alignment": "leading",
19247
+ "children": [
19248
+ {
19249
+ "id": "",
19250
+ "body": {
19251
+ "package": "himalaya",
19252
+ "type": "HStack",
19253
+ "props": {
19254
+ "spacing": 0,
19255
+ "children": [
19256
+ {
19257
+ "id": "",
19258
+ "body": {
19259
+ "package": "himalaya",
19260
+ "type": "Skeleton",
19261
+ "props": {
19262
+ "height": 16,
19263
+ "cornerRadius": 4
19264
+ }
19265
+ },
19266
+ "modifiers": {
19267
+ "height": 16,
19268
+ "fillMaxWidth": true,
19269
+ "background": {
19270
+ "token": "surfaceSecondary"
19271
+ },
19272
+ "cornerRadius": 4,
19273
+ "accessibilityRole": "decorative",
19274
+ "weight": 3
19275
+ }
19276
+ },
19277
+ {
19278
+ "id": "",
19279
+ "body": {
19280
+ "package": "himalaya",
19281
+ "type": "Spacer",
19282
+ "props": {}
19283
+ },
19284
+ "modifiers": {
19285
+ "weight": 2
19286
+ }
19287
+ }
19288
+ ]
19289
+ }
19290
+ },
19291
+ "modifiers": {
19292
+ "fillMaxWidth": true
19293
+ }
19294
+ },
19295
+ {
19296
+ "id": "",
19297
+ "body": {
19298
+ "package": "himalaya",
19299
+ "type": "HStack",
19300
+ "props": {
19301
+ "spacing": 0,
19302
+ "children": [
19303
+ {
19304
+ "id": "",
19305
+ "body": {
19306
+ "package": "himalaya",
19307
+ "type": "Skeleton",
19308
+ "props": {
19309
+ "height": 14,
19310
+ "cornerRadius": 4
19311
+ }
19312
+ },
19313
+ "modifiers": {
19314
+ "height": 14,
19315
+ "fillMaxWidth": true,
19316
+ "background": {
19317
+ "token": "surfaceSecondary"
19318
+ },
19319
+ "cornerRadius": 4,
19320
+ "accessibilityRole": "decorative",
19321
+ "weight": 2
19322
+ }
19323
+ },
19324
+ {
19325
+ "id": "",
19326
+ "body": {
19327
+ "package": "himalaya",
19328
+ "type": "Spacer",
19329
+ "props": {}
19330
+ },
19331
+ "modifiers": {
19332
+ "weight": 3
19333
+ }
19334
+ }
19335
+ ]
19336
+ }
19337
+ },
19338
+ "modifiers": {
19339
+ "fillMaxWidth": true
19340
+ }
19341
+ }
19342
+ ]
19370
19343
  }
19371
19344
  },
19372
19345
  "modifiers": {
19373
- "hiddenPath": "$service:himiBookingServices.collection.cannotSaveSelected"
19346
+ "weight": 1
19374
19347
  }
19375
19348
  }
19376
19349
  ]
19377
19350
  }
19378
19351
  },
19379
19352
  "modifiers": {
19380
- "hiddenPath": "$service:himiBookingServices.collection.noSelection",
19353
+ "fillMaxWidth": true,
19381
19354
  "padding": {
19382
- "bottom": 12
19355
+ "leading": 20,
19356
+ "trailing": 20,
19357
+ "top": 14,
19358
+ "bottom": 14
19383
19359
  }
19384
19360
  }
19385
19361
  },
19386
19362
  {
19387
- "id": "himi_services.list.collection.undo",
19363
+ "id": "",
19388
19364
  "body": {
19389
19365
  "package": "himalaya",
19390
- "type": "Button",
19391
- "props": {
19392
- "title": "Undo saved change",
19393
- "style": "plain",
19394
- "action": {
19395
- "actionId": "tier5.himiBookingServices.collectionUndo"
19396
- }
19397
- }
19398
- },
19399
- "modifiers": {
19400
- "hiddenPath": "$service:himiBookingServices.collection.noUndo",
19401
- "padding": {
19402
- "bottom": 12
19403
- }
19366
+ "type": "Divider",
19367
+ "props": {}
19404
19368
  }
19405
- },
19369
+ }
19370
+ ]
19371
+ }
19372
+ },
19373
+ "modifiers": {
19374
+ "fillMaxWidth": true
19375
+ }
19376
+ },
19377
+ {
19378
+ "id": "himi_services.skeleton_2",
19379
+ "body": {
19380
+ "package": "himalaya",
19381
+ "type": "VStack",
19382
+ "props": {
19383
+ "spacing": 0,
19384
+ "alignment": "leading",
19385
+ "children": [
19406
19386
  {
19407
19387
  "id": "",
19408
19388
  "body": {
19409
19389
  "package": "himalaya",
19410
- "type": "Text",
19411
- "props": {
19412
- "text": "$service:himiBookingServices.collection.saveMessage",
19413
- "style": "caption",
19414
- "collapseWhenEmpty": true
19415
- }
19416
- }
19417
- },
19418
- {
19419
- "id": "",
19420
- "body": {
19421
- "package": "himalaya",
19422
- "type": "VStack",
19390
+ "type": "HStack",
19423
19391
  "props": {
19424
- "spacing": 8,
19392
+ "spacing": 14,
19393
+ "alignment": "center",
19425
19394
  "children": [
19426
19395
  {
19427
19396
  "id": "",
19428
19397
  "body": {
19429
19398
  "package": "himalaya",
19430
- "type": "Text",
19399
+ "type": "Skeleton",
19431
19400
  "props": {
19432
- "text": "The next page could not load.",
19433
- "style": "caption"
19401
+ "height": 72,
19402
+ "cornerRadius": 8
19434
19403
  }
19404
+ },
19405
+ "modifiers": {
19406
+ "width": 72,
19407
+ "height": 72,
19408
+ "background": {
19409
+ "token": "surfaceSecondary"
19410
+ },
19411
+ "cornerRadius": 8,
19412
+ "accessibilityRole": "decorative"
19435
19413
  }
19436
19414
  },
19437
19415
  {
19438
- "id": "himi_services.list.collection.retry-page",
19416
+ "id": "",
19439
19417
  "body": {
19440
19418
  "package": "himalaya",
19441
- "type": "Button",
19419
+ "type": "VStack",
19442
19420
  "props": {
19443
- "title": "Retry next page",
19444
- "style": "secondary",
19445
- "action": {
19446
- "actionId": "tier5.himiBookingServices.collectionRetry"
19447
- }
19421
+ "spacing": 8,
19422
+ "alignment": "leading",
19423
+ "children": [
19424
+ {
19425
+ "id": "",
19426
+ "body": {
19427
+ "package": "himalaya",
19428
+ "type": "HStack",
19429
+ "props": {
19430
+ "spacing": 0,
19431
+ "children": [
19432
+ {
19433
+ "id": "",
19434
+ "body": {
19435
+ "package": "himalaya",
19436
+ "type": "Skeleton",
19437
+ "props": {
19438
+ "height": 16,
19439
+ "cornerRadius": 4
19440
+ }
19441
+ },
19442
+ "modifiers": {
19443
+ "height": 16,
19444
+ "fillMaxWidth": true,
19445
+ "background": {
19446
+ "token": "surfaceSecondary"
19447
+ },
19448
+ "cornerRadius": 4,
19449
+ "accessibilityRole": "decorative",
19450
+ "weight": 3
19451
+ }
19452
+ },
19453
+ {
19454
+ "id": "",
19455
+ "body": {
19456
+ "package": "himalaya",
19457
+ "type": "Spacer",
19458
+ "props": {}
19459
+ },
19460
+ "modifiers": {
19461
+ "weight": 2
19462
+ }
19463
+ }
19464
+ ]
19465
+ }
19466
+ },
19467
+ "modifiers": {
19468
+ "fillMaxWidth": true
19469
+ }
19470
+ },
19471
+ {
19472
+ "id": "",
19473
+ "body": {
19474
+ "package": "himalaya",
19475
+ "type": "HStack",
19476
+ "props": {
19477
+ "spacing": 0,
19478
+ "children": [
19479
+ {
19480
+ "id": "",
19481
+ "body": {
19482
+ "package": "himalaya",
19483
+ "type": "Skeleton",
19484
+ "props": {
19485
+ "height": 14,
19486
+ "cornerRadius": 4
19487
+ }
19488
+ },
19489
+ "modifiers": {
19490
+ "height": 14,
19491
+ "fillMaxWidth": true,
19492
+ "background": {
19493
+ "token": "surfaceSecondary"
19494
+ },
19495
+ "cornerRadius": 4,
19496
+ "accessibilityRole": "decorative",
19497
+ "weight": 2
19498
+ }
19499
+ },
19500
+ {
19501
+ "id": "",
19502
+ "body": {
19503
+ "package": "himalaya",
19504
+ "type": "Spacer",
19505
+ "props": {}
19506
+ },
19507
+ "modifiers": {
19508
+ "weight": 3
19509
+ }
19510
+ }
19511
+ ]
19512
+ }
19513
+ },
19514
+ "modifiers": {
19515
+ "fillMaxWidth": true
19516
+ }
19517
+ }
19518
+ ]
19448
19519
  }
19520
+ },
19521
+ "modifiers": {
19522
+ "weight": 1
19449
19523
  }
19450
19524
  }
19451
19525
  ]
19452
19526
  }
19453
19527
  },
19454
19528
  "modifiers": {
19455
- "hiddenPath": "$service:himiBookingServices.collection.noPageError",
19529
+ "fillMaxWidth": true,
19456
19530
  "padding": {
19457
- "bottom": 12
19531
+ "leading": 20,
19532
+ "trailing": 20,
19533
+ "top": 14,
19534
+ "bottom": 14
19458
19535
  }
19459
19536
  }
19460
19537
  },
19461
19538
  {
19462
- "id": "himi_services.list.collection.empty-source",
19539
+ "id": "",
19463
19540
  "body": {
19464
19541
  "package": "himalaya",
19465
- "type": "VStack",
19542
+ "type": "Divider",
19543
+ "props": {}
19544
+ }
19545
+ }
19546
+ ]
19547
+ }
19548
+ },
19549
+ "modifiers": {
19550
+ "fillMaxWidth": true
19551
+ }
19552
+ },
19553
+ {
19554
+ "id": "himi_services.skeleton_3",
19555
+ "body": {
19556
+ "package": "himalaya",
19557
+ "type": "VStack",
19558
+ "props": {
19559
+ "spacing": 0,
19560
+ "alignment": "leading",
19561
+ "children": [
19562
+ {
19563
+ "id": "",
19564
+ "body": {
19565
+ "package": "himalaya",
19566
+ "type": "HStack",
19466
19567
  "props": {
19467
- "spacing": 8,
19568
+ "spacing": 14,
19468
19569
  "alignment": "center",
19469
19570
  "children": [
19470
19571
  {
19471
19572
  "id": "",
19472
19573
  "body": {
19473
19574
  "package": "himalaya",
19474
- "type": "Icon",
19575
+ "type": "Skeleton",
19475
19576
  "props": {
19476
- "name": "inbox",
19477
- "size": 28,
19478
- "tint": "textTertiary"
19577
+ "height": 72,
19578
+ "cornerRadius": 8
19479
19579
  }
19480
19580
  },
19481
19581
  "modifiers": {
19582
+ "width": 72,
19583
+ "height": 72,
19584
+ "background": {
19585
+ "token": "surfaceSecondary"
19586
+ },
19587
+ "cornerRadius": 8,
19482
19588
  "accessibilityRole": "decorative"
19483
19589
  }
19484
19590
  },
@@ -19486,361 +19592,176 @@ const SCREENS = runtimeSetting({
19486
19592
  "id": "",
19487
19593
  "body": {
19488
19594
  "package": "himalaya",
19489
- "type": "Text",
19490
- "props": {
19491
- "text": "$service:himiBookingServices.collection.emptySourceText",
19492
- "style": "body",
19493
- "color": "textSecondary"
19494
- }
19495
- }
19496
- }
19497
- ]
19498
- }
19499
- },
19500
- "modifiers": {
19501
- "hiddenPath": "$service:himiBookingServices.collection.noEmptySource",
19502
- "padding": {
19503
- "bottom": 12
19504
- }
19505
- }
19506
- },
19507
- {
19508
- "id": "",
19509
- "body": {
19510
- "package": "himalaya",
19511
- "type": "Text",
19512
- "props": {
19513
- "text": "Showing saved offline results · may be outdated",
19514
- "style": "caption",
19515
- "color": "textSecondary"
19516
- }
19517
- },
19518
- "modifiers": {
19519
- "hiddenPath": "$service:himiBookingServices.collection.noOffline"
19520
- }
19521
- },
19522
- {
19523
- "id": "",
19524
- "body": {
19525
- "package": "himalaya",
19526
- "type": "VStack",
19527
- "props": {
19528
- "spacing": 0,
19529
- "children": [
19530
- {
19531
- "id": "himi_services.list.collection.list",
19532
- "body": {
19533
- "package": "himalaya",
19534
- "type": "LazyList",
19595
+ "type": "VStack",
19535
19596
  "props": {
19536
- "spacing": 10,
19537
- "itemsPath": "$service:himiBookingServices.collection.items",
19538
- "onPullToRefresh": {
19539
- "actionId": "tier5.himiBookingServices.refresh"
19540
- },
19541
- "pagination": {
19542
- "cursor": "$service:himiBookingServices.collection.cursor",
19543
- "onLoadMore": {
19544
- "actionId": "tier5.himiBookingServices.loadMore"
19545
- },
19546
- "pageSize": 50
19547
- },
19548
- "items": [
19597
+ "spacing": 8,
19598
+ "alignment": "leading",
19599
+ "children": [
19549
19600
  {
19550
- "id": "himi_services.list.collection.list.$item.collectionId",
19601
+ "id": "",
19551
19602
  "body": {
19552
19603
  "package": "himalaya",
19553
- "type": "VStack",
19604
+ "type": "HStack",
19554
19605
  "props": {
19555
- "spacing": 4,
19606
+ "spacing": 0,
19556
19607
  "children": [
19557
19608
  {
19558
19609
  "id": "",
19559
19610
  "body": {
19560
19611
  "package": "himalaya",
19561
- "type": "HStack",
19612
+ "type": "Skeleton",
19562
19613
  "props": {
19563
- "spacing": 12,
19564
- "children": [
19565
- {
19566
- "id": "himi_services.list.collection.list.$item.collectionId/image",
19567
- "body": {
19568
- "package": "himalaya",
19569
- "type": "Image",
19570
- "props": {
19571
- "url": "$item.collectionImage",
19572
- "contentDescription": "$item.collectionTitle",
19573
- "contentMode": "fill",
19574
- "height": 56,
19575
- "width": 56
19576
- }
19577
- },
19578
- "modifiers": {
19579
- "cornerRadius": 12,
19580
- "hiddenPath": "$item.collectionNoImage"
19581
- }
19582
- },
19583
- {
19584
- "id": "",
19585
- "body": {
19586
- "package": "himalaya",
19587
- "type": "VStack",
19588
- "props": {
19589
- "spacing": 4,
19590
- "alignment": "leading",
19591
- "children": [
19592
- {
19593
- "id": "",
19594
- "body": {
19595
- "package": "himalaya",
19596
- "type": "Text",
19597
- "props": {
19598
- "text": "$item.collectionTitle",
19599
- "style": "bodyEmphasis",
19600
- "maxLines": 2
19601
- }
19602
- }
19603
- },
19604
- {
19605
- "id": "",
19606
- "body": {
19607
- "package": "himalaya",
19608
- "type": "Text",
19609
- "props": {
19610
- "text": "$item.collectionSubtitle",
19611
- "style": "caption",
19612
- "color": "textSecondary",
19613
- "maxLines": 3,
19614
- "collapseWhenEmpty": true
19615
- }
19616
- }
19617
- },
19618
- {
19619
- "id": "",
19620
- "body": {
19621
- "package": "himalaya",
19622
- "type": "Text",
19623
- "props": {
19624
- "text": "$item.collectionMeta",
19625
- "style": "caption",
19626
- "color": "textSecondary",
19627
- "maxLines": 2,
19628
- "collapseWhenEmpty": true
19629
- }
19630
- }
19631
- },
19632
- {
19633
- "id": "",
19634
- "body": {
19635
- "package": "himalaya",
19636
- "type": "Text",
19637
- "props": {
19638
- "text": "Saved",
19639
- "style": "caption",
19640
- "color": "accentPrimary"
19641
- }
19642
- },
19643
- "modifiers": {
19644
- "hiddenPath": "$item.collectionNotSaved"
19645
- }
19646
- }
19647
- ]
19648
- }
19649
- },
19650
- "modifiers": {
19651
- "weight": 1
19652
- }
19653
- },
19654
- {
19655
- "id": "",
19656
- "body": {
19657
- "package": "himalaya",
19658
- "type": "HStack",
19659
- "props": {
19660
- "spacing": 8,
19661
- "children": [
19662
- {
19663
- "id": "himi_services.list.collection.list.$item.collectionId/select",
19664
- "body": {
19665
- "package": "himalaya",
19666
- "type": "Button",
19667
- "props": {
19668
- "title": "$item.collectionSelectLabel",
19669
- "style": "plain",
19670
- "fullWidth": false,
19671
- "action": {
19672
- "actionId": "tier5.himiBookingServices.collectionSelect",
19673
- "params": {
19674
- "id": "$item.collectionId"
19675
- }
19676
- }
19677
- }
19678
- },
19679
- "modifiers": {
19680
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
19681
- }
19682
- },
19683
- {
19684
- "id": "himi_services.list.collection.list.$item.collectionId/primary",
19685
- "body": {
19686
- "package": "himalaya",
19687
- "type": "Button",
19688
- "props": {
19689
- "title": "Book",
19690
- "style": "secondary",
19691
- "fullWidth": false,
19692
- "action": {
19693
- "actionId": "himi.open",
19694
- "params": {
19695
- "screenId": "himi_time",
19696
- "id": "$item.collectionId"
19697
- }
19698
- }
19699
- }
19700
- }
19701
- },
19702
- {
19703
- "id": "himi_services.list.collection.list.$item.collectionId/actions",
19704
- "body": {
19705
- "package": "himalaya",
19706
- "type": "Menu",
19707
- "props": {
19708
- "style": "dropdown",
19709
- "anchor": {
19710
- "id": "",
19711
- "body": {
19712
- "package": "himalaya",
19713
- "type": "Icon",
19714
- "props": {
19715
- "name": "ellipsis",
19716
- "size": 20
19717
- }
19718
- },
19719
- "modifiers": {
19720
- "width": 44,
19721
- "height": 44,
19722
- "accessibilityLabel": "$item.collectionActionsLabel"
19723
- }
19724
- },
19725
- "items": [
19726
- {
19727
- "id": "preview",
19728
- "label": "Quick preview",
19729
- "icon": "search",
19730
- "action": {
19731
- "actionId": "tier5.himiBookingServices.collectionPreview",
19732
- "params": {
19733
- "id": "$item.collectionId"
19734
- }
19735
- }
19736
- },
19737
- {
19738
- "id": "save",
19739
- "label": "$item.collectionSaveLabel",
19740
- "icon": "bookmark",
19741
- "action": {
19742
- "actionId": "tier5.himiBookingServices.collectionSave",
19743
- "params": {
19744
- "id": "$item.collectionId"
19745
- }
19746
- }
19747
- },
19748
- {
19749
- "id": "open",
19750
- "label": "Open details",
19751
- "icon": "chevron_right",
19752
- "action": {
19753
- "actionId": "himi.open",
19754
- "params": {
19755
- "screenId": "$item.detailScreenId",
19756
- "id": "$item.id"
19757
- }
19758
- }
19759
- }
19760
- ]
19761
- }
19762
- }
19763
- }
19764
- ]
19765
- }
19766
- },
19767
- "modifiers": {
19768
- "hiddenPath": "$item.collectionNoIdentity"
19769
- }
19770
- }
19771
- ]
19614
+ "height": 16,
19615
+ "cornerRadius": 4
19772
19616
  }
19617
+ },
19618
+ "modifiers": {
19619
+ "height": 16,
19620
+ "fillMaxWidth": true,
19621
+ "background": {
19622
+ "token": "surfaceSecondary"
19623
+ },
19624
+ "cornerRadius": 4,
19625
+ "accessibilityRole": "decorative",
19626
+ "weight": 3
19627
+ }
19628
+ },
19629
+ {
19630
+ "id": "",
19631
+ "body": {
19632
+ "package": "himalaya",
19633
+ "type": "Spacer",
19634
+ "props": {}
19635
+ },
19636
+ "modifiers": {
19637
+ "weight": 2
19773
19638
  }
19774
19639
  }
19775
19640
  ]
19776
19641
  }
19777
19642
  },
19778
19643
  "modifiers": {
19779
- "onTap": {
19780
- "actionId": "himi.open",
19781
- "params": {
19782
- "screenId": "$item.detailScreenId",
19783
- "id": "$item.id"
19784
- }
19785
- },
19786
- "haptic": "light",
19787
- "background": {
19788
- "token": "surfaceElevated"
19789
- },
19790
- "border": {
19791
- "width": 1,
19792
- "color": {
19793
- "token": "border"
19794
- }
19795
- },
19796
- "cornerRadius": 12,
19797
- "padding": {
19798
- "top": 12,
19799
- "bottom": 12,
19800
- "leading": 12,
19801
- "trailing": 12
19802
- },
19803
- "fillMaxWidth": true,
19804
- "accessibilityLabel": "$item.collectionTitle",
19805
- "pressFeedback": "scale",
19806
- "transition": {
19807
- "enter": "fadeSlide",
19808
- "direction": "up",
19809
- "distance": 8
19644
+ "fillMaxWidth": true
19645
+ }
19646
+ },
19647
+ {
19648
+ "id": "",
19649
+ "body": {
19650
+ "package": "himalaya",
19651
+ "type": "HStack",
19652
+ "props": {
19653
+ "spacing": 0,
19654
+ "children": [
19655
+ {
19656
+ "id": "",
19657
+ "body": {
19658
+ "package": "himalaya",
19659
+ "type": "Skeleton",
19660
+ "props": {
19661
+ "height": 14,
19662
+ "cornerRadius": 4
19663
+ }
19664
+ },
19665
+ "modifiers": {
19666
+ "height": 14,
19667
+ "fillMaxWidth": true,
19668
+ "background": {
19669
+ "token": "surfaceSecondary"
19670
+ },
19671
+ "cornerRadius": 4,
19672
+ "accessibilityRole": "decorative",
19673
+ "weight": 2
19674
+ }
19675
+ },
19676
+ {
19677
+ "id": "",
19678
+ "body": {
19679
+ "package": "himalaya",
19680
+ "type": "Spacer",
19681
+ "props": {}
19682
+ },
19683
+ "modifiers": {
19684
+ "weight": 3
19685
+ }
19686
+ }
19687
+ ]
19810
19688
  }
19689
+ },
19690
+ "modifiers": {
19691
+ "fillMaxWidth": true
19811
19692
  }
19812
19693
  }
19813
- ],
19814
- "staggerMs": 30,
19815
- "animateItems": true,
19816
- "rowSwipeActions": {
19817
- "trailing": [
19818
- {
19819
- "label": "$item.collectionSaveLabel",
19820
- "icon": "bookmark",
19821
- "action": {
19822
- "actionId": "tier5.himiBookingServices.collectionSave",
19823
- "params": {
19824
- "id": "$item.collectionId"
19825
- }
19826
- }
19827
- },
19828
- {
19829
- "label": "Preview",
19830
- "icon": "search",
19831
- "action": {
19832
- "actionId": "tier5.himiBookingServices.collectionPreview",
19833
- "params": {
19834
- "id": "$item.collectionId"
19835
- }
19836
- }
19837
- }
19838
- ]
19839
- }
19694
+ ]
19695
+ }
19696
+ },
19697
+ "modifiers": {
19698
+ "weight": 1
19699
+ }
19700
+ }
19701
+ ]
19702
+ }
19703
+ },
19704
+ "modifiers": {
19705
+ "fillMaxWidth": true,
19706
+ "padding": {
19707
+ "leading": 20,
19708
+ "trailing": 20,
19709
+ "top": 14,
19710
+ "bottom": 14
19711
+ }
19712
+ }
19713
+ },
19714
+ {
19715
+ "id": "",
19716
+ "body": {
19717
+ "package": "himalaya",
19718
+ "type": "Divider",
19719
+ "props": {}
19720
+ }
19721
+ }
19722
+ ]
19723
+ }
19724
+ },
19725
+ "modifiers": {
19726
+ "fillMaxWidth": true
19727
+ }
19728
+ },
19729
+ {
19730
+ "id": "himi_services.skeleton_4",
19731
+ "body": {
19732
+ "package": "himalaya",
19733
+ "type": "VStack",
19734
+ "props": {
19735
+ "spacing": 0,
19736
+ "alignment": "leading",
19737
+ "children": [
19738
+ {
19739
+ "id": "",
19740
+ "body": {
19741
+ "package": "himalaya",
19742
+ "type": "HStack",
19743
+ "props": {
19744
+ "spacing": 14,
19745
+ "alignment": "center",
19746
+ "children": [
19747
+ {
19748
+ "id": "",
19749
+ "body": {
19750
+ "package": "himalaya",
19751
+ "type": "Skeleton",
19752
+ "props": {
19753
+ "height": 72,
19754
+ "cornerRadius": 8
19840
19755
  }
19841
19756
  },
19842
19757
  "modifiers": {
19843
- "hiddenPath": "$service:himiBookingServices.collection.hideList"
19758
+ "width": 72,
19759
+ "height": 72,
19760
+ "background": {
19761
+ "token": "surfaceSecondary"
19762
+ },
19763
+ "cornerRadius": 8,
19764
+ "accessibilityRole": "decorative"
19844
19765
  }
19845
19766
  },
19846
19767
  {
@@ -19849,363 +19770,120 @@ const SCREENS = runtimeSetting({
19849
19770
  "package": "himalaya",
19850
19771
  "type": "VStack",
19851
19772
  "props": {
19852
- "spacing": 12,
19773
+ "spacing": 8,
19774
+ "alignment": "leading",
19853
19775
  "children": [
19854
19776
  {
19855
- "id": "himi_services.list.collection.grid",
19777
+ "id": "",
19856
19778
  "body": {
19857
19779
  "package": "himalaya",
19858
- "type": "Grid",
19780
+ "type": "HStack",
19859
19781
  "props": {
19860
- "columns": 2,
19861
- "columnsMedium": 3,
19862
- "columnsExpanded": 4,
19863
- "spacing": 12,
19864
- "staggerMs": 30,
19865
- "itemsPath": "$service:himiBookingServices.collection.items",
19866
- "items": [
19782
+ "spacing": 0,
19783
+ "children": [
19867
19784
  {
19868
- "id": "himi_services.list.collection.grid.$item.collectionId",
19785
+ "id": "",
19869
19786
  "body": {
19870
19787
  "package": "himalaya",
19871
- "type": "VStack",
19788
+ "type": "Skeleton",
19872
19789
  "props": {
19873
- "spacing": 8,
19874
- "alignment": "leading",
19875
- "children": [
19876
- {
19877
- "id": "",
19878
- "body": {
19879
- "package": "himalaya",
19880
- "type": "VStack",
19881
- "props": {
19882
- "spacing": 0,
19883
- "children": [
19884
- {
19885
- "id": "himi_services.list.collection.grid.$item.collectionId/image",
19886
- "body": {
19887
- "package": "himalaya",
19888
- "type": "Image",
19889
- "props": {
19890
- "url": "$item.collectionImage",
19891
- "contentDescription": "$item.collectionTitle",
19892
- "contentMode": "fill",
19893
- "height": 112,
19894
- "fillWidth": true
19895
- }
19896
- },
19897
- "modifiers": {
19898
- "cornerRadius": 12,
19899
- "hiddenPath": "$item.collectionNoImage"
19900
- }
19901
- },
19902
- {
19903
- "id": "",
19904
- "body": {
19905
- "package": "himalaya",
19906
- "type": "ZStack",
19907
- "props": {
19908
- "alignment": "center",
19909
- "children": [
19910
- {
19911
- "id": "",
19912
- "body": {
19913
- "package": "himalaya",
19914
- "type": "Icon",
19915
- "props": {
19916
- "name": "photo",
19917
- "size": 28,
19918
- "tint": "accentPrimary"
19919
- }
19920
- },
19921
- "modifiers": {
19922
- "accessibilityRole": "decorative"
19923
- }
19924
- }
19925
- ]
19926
- }
19927
- },
19928
- "modifiers": {
19929
- "height": 112,
19930
- "fillMaxWidth": true,
19931
- "cornerRadius": 12,
19932
- "background": {
19933
- "token": "surfaceSecondary"
19934
- },
19935
- "accessibilityLabel": "No image available",
19936
- "hiddenPath": "$item.collectionHasImage"
19937
- }
19938
- }
19939
- ]
19940
- }
19941
- }
19942
- },
19943
- {
19944
- "id": "",
19945
- "body": {
19946
- "package": "himalaya",
19947
- "type": "VStack",
19948
- "props": {
19949
- "spacing": 4,
19950
- "alignment": "leading",
19951
- "children": [
19952
- {
19953
- "id": "",
19954
- "body": {
19955
- "package": "himalaya",
19956
- "type": "Text",
19957
- "props": {
19958
- "text": "$item.collectionTitle",
19959
- "style": "bodyEmphasis",
19960
- "maxLines": 2
19961
- }
19962
- }
19963
- },
19964
- {
19965
- "id": "",
19966
- "body": {
19967
- "package": "himalaya",
19968
- "type": "Text",
19969
- "props": {
19970
- "text": "$item.collectionSubtitle",
19971
- "style": "caption",
19972
- "color": "textSecondary",
19973
- "maxLines": 3,
19974
- "collapseWhenEmpty": true
19975
- }
19976
- }
19977
- },
19978
- {
19979
- "id": "",
19980
- "body": {
19981
- "package": "himalaya",
19982
- "type": "Text",
19983
- "props": {
19984
- "text": "$item.collectionMeta",
19985
- "style": "caption",
19986
- "color": "textSecondary",
19987
- "maxLines": 2,
19988
- "collapseWhenEmpty": true
19989
- }
19990
- }
19991
- },
19992
- {
19993
- "id": "",
19994
- "body": {
19995
- "package": "himalaya",
19996
- "type": "Text",
19997
- "props": {
19998
- "text": "Saved",
19999
- "style": "caption",
20000
- "color": "accentPrimary"
20001
- }
20002
- },
20003
- "modifiers": {
20004
- "hiddenPath": "$item.collectionNotSaved"
20005
- }
20006
- }
20007
- ]
20008
- }
20009
- }
20010
- },
20011
- {
20012
- "id": "",
20013
- "body": {
20014
- "package": "himalaya",
20015
- "type": "HStack",
20016
- "props": {
20017
- "spacing": 8,
20018
- "children": [
20019
- {
20020
- "id": "himi_services.list.collection.grid.$item.collectionId/select",
20021
- "body": {
20022
- "package": "himalaya",
20023
- "type": "Button",
20024
- "props": {
20025
- "title": "$item.collectionSelectLabel",
20026
- "style": "plain",
20027
- "fullWidth": false,
20028
- "action": {
20029
- "actionId": "tier5.himiBookingServices.collectionSelect",
20030
- "params": {
20031
- "id": "$item.collectionId"
20032
- }
20033
- }
20034
- }
20035
- },
20036
- "modifiers": {
20037
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
20038
- }
20039
- },
20040
- {
20041
- "id": "himi_services.list.collection.grid.$item.collectionId/primary",
20042
- "body": {
20043
- "package": "himalaya",
20044
- "type": "Button",
20045
- "props": {
20046
- "title": "Book",
20047
- "style": "secondary",
20048
- "fullWidth": false,
20049
- "action": {
20050
- "actionId": "himi.open",
20051
- "params": {
20052
- "screenId": "himi_time",
20053
- "id": "$item.collectionId"
20054
- }
20055
- }
20056
- }
20057
- }
20058
- },
20059
- {
20060
- "id": "",
20061
- "body": {
20062
- "package": "himalaya",
20063
- "type": "Spacer",
20064
- "props": {}
20065
- }
20066
- },
20067
- {
20068
- "id": "himi_services.list.collection.grid.$item.collectionId/actions",
20069
- "body": {
20070
- "package": "himalaya",
20071
- "type": "Menu",
20072
- "props": {
20073
- "style": "dropdown",
20074
- "anchor": {
20075
- "id": "",
20076
- "body": {
20077
- "package": "himalaya",
20078
- "type": "Icon",
20079
- "props": {
20080
- "name": "ellipsis",
20081
- "size": 20
20082
- }
20083
- },
20084
- "modifiers": {
20085
- "width": 44,
20086
- "height": 44,
20087
- "accessibilityLabel": "$item.collectionActionsLabel"
20088
- }
20089
- },
20090
- "items": [
20091
- {
20092
- "id": "preview",
20093
- "label": "Quick preview",
20094
- "icon": "search",
20095
- "action": {
20096
- "actionId": "tier5.himiBookingServices.collectionPreview",
20097
- "params": {
20098
- "id": "$item.collectionId"
20099
- }
20100
- }
20101
- },
20102
- {
20103
- "id": "save",
20104
- "label": "$item.collectionSaveLabel",
20105
- "icon": "bookmark",
20106
- "action": {
20107
- "actionId": "tier5.himiBookingServices.collectionSave",
20108
- "params": {
20109
- "id": "$item.collectionId"
20110
- }
20111
- }
20112
- },
20113
- {
20114
- "id": "open",
20115
- "label": "Open details",
20116
- "icon": "chevron_right",
20117
- "action": {
20118
- "actionId": "himi.open",
20119
- "params": {
20120
- "screenId": "$item.detailScreenId",
20121
- "id": "$item.id"
20122
- }
20123
- }
20124
- }
20125
- ]
20126
- }
20127
- }
20128
- }
20129
- ]
20130
- }
20131
- },
20132
- "modifiers": {
20133
- "hiddenPath": "$item.collectionNoIdentity"
20134
- }
20135
- }
20136
- ]
19790
+ "height": 16,
19791
+ "cornerRadius": 4
20137
19792
  }
20138
19793
  },
20139
19794
  "modifiers": {
20140
- "onTap": {
20141
- "actionId": "himi.open",
20142
- "params": {
20143
- "screenId": "$item.detailScreenId",
20144
- "id": "$item.id"
20145
- }
20146
- },
20147
- "haptic": "light",
19795
+ "height": 16,
19796
+ "fillMaxWidth": true,
20148
19797
  "background": {
20149
- "token": "surfaceElevated"
20150
- },
20151
- "border": {
20152
- "width": 1,
20153
- "color": {
20154
- "token": "border"
20155
- }
20156
- },
20157
- "cornerRadius": 12,
20158
- "padding": {
20159
- "top": 12,
20160
- "bottom": 12,
20161
- "leading": 12,
20162
- "trailing": 12
19798
+ "token": "surfaceSecondary"
20163
19799
  },
20164
- "fillMaxWidth": true,
20165
- "accessibilityLabel": "$item.collectionTitle",
20166
- "pressFeedback": "scale",
20167
- "transition": {
20168
- "enter": "fadeSlide",
20169
- "direction": "up",
20170
- "distance": 8
20171
- }
19800
+ "cornerRadius": 4,
19801
+ "accessibilityRole": "decorative",
19802
+ "weight": 3
19803
+ }
19804
+ },
19805
+ {
19806
+ "id": "",
19807
+ "body": {
19808
+ "package": "himalaya",
19809
+ "type": "Spacer",
19810
+ "props": {}
19811
+ },
19812
+ "modifiers": {
19813
+ "weight": 2
20172
19814
  }
20173
19815
  }
20174
19816
  ]
20175
19817
  }
19818
+ },
19819
+ "modifiers": {
19820
+ "fillMaxWidth": true
20176
19821
  }
20177
19822
  },
20178
19823
  {
20179
- "id": "himi_services.list.collection.more",
19824
+ "id": "",
20180
19825
  "body": {
20181
19826
  "package": "himalaya",
20182
- "type": "Button",
19827
+ "type": "HStack",
20183
19828
  "props": {
20184
- "title": "Load more",
20185
- "style": "secondary",
20186
- "action": {
20187
- "actionId": "tier5.himiBookingServices.loadMore"
20188
- }
19829
+ "spacing": 0,
19830
+ "children": [
19831
+ {
19832
+ "id": "",
19833
+ "body": {
19834
+ "package": "himalaya",
19835
+ "type": "Skeleton",
19836
+ "props": {
19837
+ "height": 14,
19838
+ "cornerRadius": 4
19839
+ }
19840
+ },
19841
+ "modifiers": {
19842
+ "height": 14,
19843
+ "fillMaxWidth": true,
19844
+ "background": {
19845
+ "token": "surfaceSecondary"
19846
+ },
19847
+ "cornerRadius": 4,
19848
+ "accessibilityRole": "decorative",
19849
+ "weight": 2
19850
+ }
19851
+ },
19852
+ {
19853
+ "id": "",
19854
+ "body": {
19855
+ "package": "himalaya",
19856
+ "type": "Spacer",
19857
+ "props": {}
19858
+ },
19859
+ "modifiers": {
19860
+ "weight": 3
19861
+ }
19862
+ }
19863
+ ]
20189
19864
  }
20190
19865
  },
20191
19866
  "modifiers": {
20192
- "hiddenPath": "$service:himiBookingServices.collection.noMore"
19867
+ "fillMaxWidth": true
20193
19868
  }
20194
19869
  }
20195
19870
  ]
20196
19871
  }
20197
19872
  },
20198
19873
  "modifiers": {
20199
- "hiddenPath": "$service:himiBookingServices.collection.hideGrid"
19874
+ "weight": 1
20200
19875
  }
20201
19876
  }
20202
19877
  ]
20203
19878
  }
20204
19879
  },
20205
19880
  "modifiers": {
20206
- "hiddenPath": "$service:himiBookingServices.collection.hideComfortable",
19881
+ "fillMaxWidth": true,
20207
19882
  "padding": {
20208
- "bottom": 12
19883
+ "leading": 20,
19884
+ "trailing": 20,
19885
+ "top": 14,
19886
+ "bottom": 14
20209
19887
  }
20210
19888
  }
20211
19889
  },
@@ -20213,324 +19891,137 @@ const SCREENS = runtimeSetting({
20213
19891
  "id": "",
20214
19892
  "body": {
20215
19893
  "package": "himalaya",
20216
- "type": "VStack",
19894
+ "type": "Divider",
19895
+ "props": {}
19896
+ }
19897
+ }
19898
+ ]
19899
+ }
19900
+ },
19901
+ "modifiers": {
19902
+ "fillMaxWidth": true
19903
+ }
19904
+ }
19905
+ ]
19906
+ }
19907
+ },
19908
+ "modifiers": {
19909
+ "padding": {
19910
+ "leading": 0,
19911
+ "trailing": 0,
19912
+ "top": 12,
19913
+ "bottom": 0
19914
+ },
19915
+ "hiddenPath": "$service:himiBookingServices.collection.noLoading"
19916
+ }
19917
+ },
19918
+ {
19919
+ "id": "himi_services.list",
19920
+ "body": {
19921
+ "package": "himalaya",
19922
+ "type": "LazyList",
19923
+ "props": {
19924
+ "spacing": 0,
19925
+ "itemsPath": "$service:himiBookingServices.collection.items",
19926
+ "onPullToRefresh": {
19927
+ "actionId": "tier5.himiBookingServices.refresh"
19928
+ },
19929
+ "pagination": {
19930
+ "cursor": "$service:himiBookingServices.collection.cursor",
19931
+ "onLoadMore": {
19932
+ "actionId": "tier5.himiBookingServices.loadMore"
19933
+ },
19934
+ "pageSize": 50
19935
+ },
19936
+ "staggerMs": 30,
19937
+ "animateItems": true,
19938
+ "items": [
19939
+ {
19940
+ "id": "himi_services.row.$item.id",
19941
+ "body": {
19942
+ "package": "himalaya",
19943
+ "type": "VStack",
19944
+ "props": {
19945
+ "spacing": 0,
19946
+ "alignment": "leading",
19947
+ "children": [
19948
+ {
19949
+ "id": "",
19950
+ "body": {
19951
+ "package": "himalaya",
19952
+ "type": "HStack",
20217
19953
  "props": {
20218
- "spacing": 0,
19954
+ "spacing": 14,
19955
+ "alignment": "center",
20219
19956
  "children": [
20220
19957
  {
20221
- "id": "himi_services.list.collection.compact-list",
19958
+ "id": "himi_services.row.$item.id/image",
20222
19959
  "body": {
20223
19960
  "package": "himalaya",
20224
- "type": "LazyList",
19961
+ "type": "Image",
20225
19962
  "props": {
20226
- "spacing": 6,
20227
- "itemsPath": "$service:himiBookingServices.collection.items",
20228
- "onPullToRefresh": {
20229
- "actionId": "tier5.himiBookingServices.refresh"
20230
- },
20231
- "pagination": {
20232
- "cursor": "$service:himiBookingServices.collection.cursor",
20233
- "onLoadMore": {
20234
- "actionId": "tier5.himiBookingServices.loadMore"
20235
- },
20236
- "pageSize": 50
20237
- },
20238
- "items": [
20239
- {
20240
- "id": "himi_services.list.collection.compact-list.$item.collectionId",
20241
- "body": {
20242
- "package": "himalaya",
20243
- "type": "VStack",
20244
- "props": {
20245
- "spacing": 4,
20246
- "children": [
20247
- {
20248
- "id": "",
20249
- "body": {
20250
- "package": "himalaya",
20251
- "type": "HStack",
20252
- "props": {
20253
- "spacing": 12,
20254
- "children": [
20255
- {
20256
- "id": "himi_services.list.collection.compact-list.$item.collectionId/image",
20257
- "body": {
20258
- "package": "himalaya",
20259
- "type": "Image",
20260
- "props": {
20261
- "url": "$item.collectionImage",
20262
- "contentDescription": "$item.collectionTitle",
20263
- "contentMode": "fill",
20264
- "height": 56,
20265
- "width": 56
20266
- }
20267
- },
20268
- "modifiers": {
20269
- "cornerRadius": 12,
20270
- "hiddenPath": "$item.collectionNoImage"
20271
- }
20272
- },
20273
- {
20274
- "id": "",
20275
- "body": {
20276
- "package": "himalaya",
20277
- "type": "VStack",
20278
- "props": {
20279
- "spacing": 4,
20280
- "alignment": "leading",
20281
- "children": [
20282
- {
20283
- "id": "",
20284
- "body": {
20285
- "package": "himalaya",
20286
- "type": "Text",
20287
- "props": {
20288
- "text": "$item.collectionTitle",
20289
- "style": "bodyEmphasis",
20290
- "maxLines": 2
20291
- }
20292
- }
20293
- },
20294
- {
20295
- "id": "",
20296
- "body": {
20297
- "package": "himalaya",
20298
- "type": "Text",
20299
- "props": {
20300
- "text": "$item.collectionSubtitle",
20301
- "style": "caption",
20302
- "color": "textSecondary",
20303
- "maxLines": 1,
20304
- "collapseWhenEmpty": true
20305
- }
20306
- }
20307
- },
20308
- {
20309
- "id": "",
20310
- "body": {
20311
- "package": "himalaya",
20312
- "type": "Text",
20313
- "props": {
20314
- "text": "$item.collectionMeta",
20315
- "style": "caption",
20316
- "color": "textSecondary",
20317
- "maxLines": 2,
20318
- "collapseWhenEmpty": true
20319
- }
20320
- }
20321
- },
20322
- {
20323
- "id": "",
20324
- "body": {
20325
- "package": "himalaya",
20326
- "type": "Text",
20327
- "props": {
20328
- "text": "Saved",
20329
- "style": "caption",
20330
- "color": "accentPrimary"
20331
- }
20332
- },
20333
- "modifiers": {
20334
- "hiddenPath": "$item.collectionNotSaved"
20335
- }
20336
- }
20337
- ]
20338
- }
20339
- },
20340
- "modifiers": {
20341
- "weight": 1
20342
- }
20343
- },
20344
- {
20345
- "id": "",
20346
- "body": {
20347
- "package": "himalaya",
20348
- "type": "HStack",
20349
- "props": {
20350
- "spacing": 8,
20351
- "children": [
20352
- {
20353
- "id": "himi_services.list.collection.compact-list.$item.collectionId/select",
20354
- "body": {
20355
- "package": "himalaya",
20356
- "type": "Button",
20357
- "props": {
20358
- "title": "$item.collectionSelectLabel",
20359
- "style": "plain",
20360
- "fullWidth": false,
20361
- "action": {
20362
- "actionId": "tier5.himiBookingServices.collectionSelect",
20363
- "params": {
20364
- "id": "$item.collectionId"
20365
- }
20366
- }
20367
- }
20368
- },
20369
- "modifiers": {
20370
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
20371
- }
20372
- },
20373
- {
20374
- "id": "himi_services.list.collection.compact-list.$item.collectionId/primary",
20375
- "body": {
20376
- "package": "himalaya",
20377
- "type": "Button",
20378
- "props": {
20379
- "title": "Book",
20380
- "style": "secondary",
20381
- "fullWidth": false,
20382
- "action": {
20383
- "actionId": "himi.open",
20384
- "params": {
20385
- "screenId": "himi_time",
20386
- "id": "$item.collectionId"
20387
- }
20388
- }
20389
- }
20390
- }
20391
- },
20392
- {
20393
- "id": "himi_services.list.collection.compact-list.$item.collectionId/actions",
20394
- "body": {
20395
- "package": "himalaya",
20396
- "type": "Menu",
20397
- "props": {
20398
- "style": "dropdown",
20399
- "anchor": {
20400
- "id": "",
20401
- "body": {
20402
- "package": "himalaya",
20403
- "type": "Icon",
20404
- "props": {
20405
- "name": "ellipsis",
20406
- "size": 20
20407
- }
20408
- },
20409
- "modifiers": {
20410
- "width": 44,
20411
- "height": 44,
20412
- "accessibilityLabel": "$item.collectionActionsLabel"
20413
- }
20414
- },
20415
- "items": [
20416
- {
20417
- "id": "preview",
20418
- "label": "Quick preview",
20419
- "icon": "search",
20420
- "action": {
20421
- "actionId": "tier5.himiBookingServices.collectionPreview",
20422
- "params": {
20423
- "id": "$item.collectionId"
20424
- }
20425
- }
20426
- },
20427
- {
20428
- "id": "save",
20429
- "label": "$item.collectionSaveLabel",
20430
- "icon": "bookmark",
20431
- "action": {
20432
- "actionId": "tier5.himiBookingServices.collectionSave",
20433
- "params": {
20434
- "id": "$item.collectionId"
20435
- }
20436
- }
20437
- },
20438
- {
20439
- "id": "open",
20440
- "label": "Open details",
20441
- "icon": "chevron_right",
20442
- "action": {
20443
- "actionId": "himi.open",
20444
- "params": {
20445
- "screenId": "$item.detailScreenId",
20446
- "id": "$item.id"
20447
- }
20448
- }
20449
- }
20450
- ]
20451
- }
20452
- }
20453
- }
20454
- ]
20455
- }
20456
- },
20457
- "modifiers": {
20458
- "hiddenPath": "$item.collectionNoIdentity"
20459
- }
20460
- }
20461
- ]
20462
- }
20463
- }
20464
- }
20465
- ]
19963
+ "url": "$item.image",
19964
+ "width": 72,
19965
+ "height": 72,
19966
+ "contentMode": "fill"
19967
+ }
19968
+ },
19969
+ "modifiers": {
19970
+ "accessibilityRole": "decorative",
19971
+ "cornerRadius": 8,
19972
+ "hiddenPath": "$item.noImage"
19973
+ }
19974
+ },
19975
+ {
19976
+ "id": "",
19977
+ "body": {
19978
+ "package": "himalaya",
19979
+ "type": "ZStack",
19980
+ "props": {
19981
+ "alignment": "center",
19982
+ "children": [
19983
+ {
19984
+ "id": "",
19985
+ "body": {
19986
+ "package": "himalaya",
19987
+ "type": "Image",
19988
+ "props": {
19989
+ "url": "",
19990
+ "width": 72,
19991
+ "height": 72,
19992
+ "contentMode": "fill"
20466
19993
  }
20467
19994
  },
20468
19995
  "modifiers": {
20469
- "onTap": {
20470
- "actionId": "himi.open",
20471
- "params": {
20472
- "screenId": "$item.detailScreenId",
20473
- "id": "$item.id"
20474
- }
20475
- },
20476
- "haptic": "light",
19996
+ "accessibilityRole": "decorative",
19997
+ "cornerRadius": 8,
20477
19998
  "background": {
20478
- "token": "surfaceElevated"
20479
- },
20480
- "border": {
20481
- "width": 1,
20482
- "color": {
20483
- "token": "border"
20484
- }
20485
- },
20486
- "cornerRadius": 12,
20487
- "padding": {
20488
- "top": 8,
20489
- "bottom": 8,
20490
- "leading": 12,
20491
- "trailing": 12
20492
- },
20493
- "fillMaxWidth": true,
20494
- "accessibilityLabel": "$item.collectionTitle",
20495
- "pressFeedback": "scale",
20496
- "transition": {
20497
- "enter": "fadeSlide",
20498
- "direction": "up",
20499
- "distance": 8
19999
+ "token": "surfaceSecondary"
20500
20000
  }
20501
20001
  }
20502
- }
20503
- ],
20504
- "staggerMs": 30,
20505
- "animateItems": true,
20506
- "rowSwipeActions": {
20507
- "trailing": [
20508
- {
20509
- "label": "$item.collectionSaveLabel",
20510
- "icon": "bookmark",
20511
- "action": {
20512
- "actionId": "tier5.himiBookingServices.collectionSave",
20513
- "params": {
20514
- "id": "$item.collectionId"
20515
- }
20002
+ },
20003
+ {
20004
+ "id": "",
20005
+ "body": {
20006
+ "package": "himalaya",
20007
+ "type": "Icon",
20008
+ "props": {
20009
+ "name": "image",
20010
+ "size": 24,
20011
+ "tint": "accentPrimary"
20516
20012
  }
20517
20013
  },
20518
- {
20519
- "label": "Preview",
20520
- "icon": "search",
20521
- "action": {
20522
- "actionId": "tier5.himiBookingServices.collectionPreview",
20523
- "params": {
20524
- "id": "$item.collectionId"
20525
- }
20526
- }
20014
+ "modifiers": {
20015
+ "accessibilityRole": "decorative"
20527
20016
  }
20528
- ]
20529
- }
20017
+ }
20018
+ ]
20530
20019
  }
20531
20020
  },
20532
20021
  "modifiers": {
20533
- "hiddenPath": "$service:himiBookingServices.collection.hideList"
20022
+ "width": 72,
20023
+ "height": 72,
20024
+ "hiddenPath": "$item.hasImage"
20534
20025
  }
20535
20026
  },
20536
20027
  {
@@ -20539,1018 +20030,209 @@ const SCREENS = runtimeSetting({
20539
20030
  "package": "himalaya",
20540
20031
  "type": "VStack",
20541
20032
  "props": {
20542
- "spacing": 12,
20033
+ "spacing": 3,
20034
+ "alignment": "leading",
20543
20035
  "children": [
20544
20036
  {
20545
- "id": "himi_services.list.collection.compact-grid",
20037
+ "id": "",
20546
20038
  "body": {
20547
20039
  "package": "himalaya",
20548
- "type": "Grid",
20040
+ "type": "Text",
20549
20041
  "props": {
20550
- "columns": 2,
20551
- "columnsMedium": 3,
20552
- "columnsExpanded": 4,
20553
- "spacing": 8,
20554
- "staggerMs": 30,
20555
- "itemsPath": "$service:himiBookingServices.collection.items",
20556
- "items": [
20557
- {
20558
- "id": "himi_services.list.collection.compact-grid.$item.collectionId",
20559
- "body": {
20560
- "package": "himalaya",
20561
- "type": "VStack",
20562
- "props": {
20563
- "spacing": 8,
20564
- "alignment": "leading",
20565
- "children": [
20566
- {
20567
- "id": "",
20568
- "body": {
20569
- "package": "himalaya",
20570
- "type": "VStack",
20571
- "props": {
20572
- "spacing": 0,
20573
- "children": [
20574
- {
20575
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/image",
20576
- "body": {
20577
- "package": "himalaya",
20578
- "type": "Image",
20579
- "props": {
20580
- "url": "$item.collectionImage",
20581
- "contentDescription": "$item.collectionTitle",
20582
- "contentMode": "fill",
20583
- "height": 80,
20584
- "fillWidth": true
20585
- }
20586
- },
20587
- "modifiers": {
20588
- "cornerRadius": 12,
20589
- "hiddenPath": "$item.collectionNoImage"
20590
- }
20591
- },
20592
- {
20593
- "id": "",
20594
- "body": {
20595
- "package": "himalaya",
20596
- "type": "ZStack",
20597
- "props": {
20598
- "alignment": "center",
20599
- "children": [
20600
- {
20601
- "id": "",
20602
- "body": {
20603
- "package": "himalaya",
20604
- "type": "Icon",
20605
- "props": {
20606
- "name": "photo",
20607
- "size": 28,
20608
- "tint": "accentPrimary"
20609
- }
20610
- },
20611
- "modifiers": {
20612
- "accessibilityRole": "decorative"
20613
- }
20614
- }
20615
- ]
20616
- }
20617
- },
20618
- "modifiers": {
20619
- "height": 80,
20620
- "fillMaxWidth": true,
20621
- "cornerRadius": 12,
20622
- "background": {
20623
- "token": "surfaceSecondary"
20624
- },
20625
- "accessibilityLabel": "No image available",
20626
- "hiddenPath": "$item.collectionHasImage"
20627
- }
20628
- }
20629
- ]
20630
- }
20631
- }
20632
- },
20633
- {
20634
- "id": "",
20635
- "body": {
20636
- "package": "himalaya",
20637
- "type": "VStack",
20638
- "props": {
20639
- "spacing": 4,
20640
- "alignment": "leading",
20641
- "children": [
20642
- {
20643
- "id": "",
20644
- "body": {
20645
- "package": "himalaya",
20646
- "type": "Text",
20647
- "props": {
20648
- "text": "$item.collectionTitle",
20649
- "style": "bodyEmphasis",
20650
- "maxLines": 2
20651
- }
20652
- }
20653
- },
20654
- {
20655
- "id": "",
20656
- "body": {
20657
- "package": "himalaya",
20658
- "type": "Text",
20659
- "props": {
20660
- "text": "$item.collectionSubtitle",
20661
- "style": "caption",
20662
- "color": "textSecondary",
20663
- "maxLines": 1,
20664
- "collapseWhenEmpty": true
20665
- }
20666
- }
20667
- },
20668
- {
20669
- "id": "",
20670
- "body": {
20671
- "package": "himalaya",
20672
- "type": "Text",
20673
- "props": {
20674
- "text": "$item.collectionMeta",
20675
- "style": "caption",
20676
- "color": "textSecondary",
20677
- "maxLines": 2,
20678
- "collapseWhenEmpty": true
20679
- }
20680
- }
20681
- },
20682
- {
20683
- "id": "",
20684
- "body": {
20685
- "package": "himalaya",
20686
- "type": "Text",
20687
- "props": {
20688
- "text": "Saved",
20689
- "style": "caption",
20690
- "color": "accentPrimary"
20691
- }
20692
- },
20693
- "modifiers": {
20694
- "hiddenPath": "$item.collectionNotSaved"
20695
- }
20696
- }
20697
- ]
20698
- }
20699
- }
20700
- },
20701
- {
20702
- "id": "",
20703
- "body": {
20704
- "package": "himalaya",
20705
- "type": "HStack",
20706
- "props": {
20707
- "spacing": 8,
20708
- "children": [
20709
- {
20710
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/select",
20711
- "body": {
20712
- "package": "himalaya",
20713
- "type": "Button",
20714
- "props": {
20715
- "title": "$item.collectionSelectLabel",
20716
- "style": "plain",
20717
- "fullWidth": false,
20718
- "action": {
20719
- "actionId": "tier5.himiBookingServices.collectionSelect",
20720
- "params": {
20721
- "id": "$item.collectionId"
20722
- }
20723
- }
20724
- }
20725
- },
20726
- "modifiers": {
20727
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
20728
- }
20729
- },
20730
- {
20731
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/primary",
20732
- "body": {
20733
- "package": "himalaya",
20734
- "type": "Button",
20735
- "props": {
20736
- "title": "Book",
20737
- "style": "secondary",
20738
- "fullWidth": false,
20739
- "action": {
20740
- "actionId": "himi.open",
20741
- "params": {
20742
- "screenId": "himi_time",
20743
- "id": "$item.collectionId"
20744
- }
20745
- }
20746
- }
20747
- }
20748
- },
20749
- {
20750
- "id": "",
20751
- "body": {
20752
- "package": "himalaya",
20753
- "type": "Spacer",
20754
- "props": {}
20755
- }
20756
- },
20757
- {
20758
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/actions",
20759
- "body": {
20760
- "package": "himalaya",
20761
- "type": "Menu",
20762
- "props": {
20763
- "style": "dropdown",
20764
- "anchor": {
20765
- "id": "",
20766
- "body": {
20767
- "package": "himalaya",
20768
- "type": "Icon",
20769
- "props": {
20770
- "name": "ellipsis",
20771
- "size": 20
20772
- }
20773
- },
20774
- "modifiers": {
20775
- "width": 44,
20776
- "height": 44,
20777
- "accessibilityLabel": "$item.collectionActionsLabel"
20778
- }
20779
- },
20780
- "items": [
20781
- {
20782
- "id": "preview",
20783
- "label": "Quick preview",
20784
- "icon": "search",
20785
- "action": {
20786
- "actionId": "tier5.himiBookingServices.collectionPreview",
20787
- "params": {
20788
- "id": "$item.collectionId"
20789
- }
20790
- }
20791
- },
20792
- {
20793
- "id": "save",
20794
- "label": "$item.collectionSaveLabel",
20795
- "icon": "bookmark",
20796
- "action": {
20797
- "actionId": "tier5.himiBookingServices.collectionSave",
20798
- "params": {
20799
- "id": "$item.collectionId"
20800
- }
20801
- }
20802
- },
20803
- {
20804
- "id": "open",
20805
- "label": "Open details",
20806
- "icon": "chevron_right",
20807
- "action": {
20808
- "actionId": "himi.open",
20809
- "params": {
20810
- "screenId": "$item.detailScreenId",
20811
- "id": "$item.id"
20812
- }
20813
- }
20814
- }
20815
- ]
20816
- }
20817
- }
20818
- }
20819
- ]
20820
- }
20821
- },
20822
- "modifiers": {
20823
- "hiddenPath": "$item.collectionNoIdentity"
20824
- }
20825
- }
20826
- ]
20827
- }
20828
- },
20829
- "modifiers": {
20830
- "onTap": {
20831
- "actionId": "himi.open",
20832
- "params": {
20833
- "screenId": "$item.detailScreenId",
20834
- "id": "$item.id"
20835
- }
20836
- },
20837
- "haptic": "light",
20838
- "background": {
20839
- "token": "surfaceElevated"
20840
- },
20841
- "border": {
20842
- "width": 1,
20843
- "color": {
20844
- "token": "border"
20845
- }
20846
- },
20847
- "cornerRadius": 12,
20848
- "padding": {
20849
- "top": 8,
20850
- "bottom": 8,
20851
- "leading": 12,
20852
- "trailing": 12
20853
- },
20854
- "fillMaxWidth": true,
20855
- "accessibilityLabel": "$item.collectionTitle",
20856
- "pressFeedback": "scale",
20857
- "transition": {
20858
- "enter": "fadeSlide",
20859
- "direction": "up",
20860
- "distance": 8
20861
- }
20862
- }
20863
- }
20864
- ]
20042
+ "text": "$item.typeTag",
20043
+ "style": "caption",
20044
+ "color": "textSecondary",
20045
+ "maxLines": 1
20865
20046
  }
20047
+ },
20048
+ "modifiers": {
20049
+ "background": {
20050
+ "token": "surfaceTertiary"
20051
+ },
20052
+ "cornerRadius": 4,
20053
+ "padding": {
20054
+ "leading": 8,
20055
+ "trailing": 8,
20056
+ "top": 2,
20057
+ "bottom": 2
20058
+ },
20059
+ "hiddenPath": "$item.noTypeTag"
20866
20060
  }
20867
20061
  },
20868
20062
  {
20869
- "id": "himi_services.list.collection.compact-more",
20063
+ "id": "",
20870
20064
  "body": {
20871
20065
  "package": "himalaya",
20872
- "type": "Button",
20066
+ "type": "Text",
20873
20067
  "props": {
20874
- "title": "Load more",
20875
- "style": "secondary",
20876
- "action": {
20877
- "actionId": "tier5.himiBookingServices.loadMore"
20878
- }
20068
+ "text": "$item.name",
20069
+ "style": "bodyEmphasis",
20070
+ "maxLines": 2
20879
20071
  }
20880
- },
20881
- "modifiers": {
20882
- "hiddenPath": "$service:himiBookingServices.collection.noMore"
20883
- }
20884
- }
20885
- ]
20886
- }
20887
- },
20888
- "modifiers": {
20889
- "hiddenPath": "$service:himiBookingServices.collection.hideGrid"
20890
- }
20891
- }
20892
- ]
20893
- }
20894
- },
20895
- "modifiers": {
20896
- "hiddenPath": "$service:himiBookingServices.collection.hideCompact",
20897
- "padding": {
20898
- "bottom": 12
20899
- }
20900
- }
20901
- },
20902
- {
20903
- "id": "",
20904
- "body": {
20905
- "package": "himalaya",
20906
- "type": "VStack",
20907
- "props": {
20908
- "spacing": 8,
20909
- "children": [
20910
- {
20911
- "id": "",
20912
- "body": {
20913
- "package": "himalaya",
20914
- "type": "Text",
20915
- "props": {
20916
- "text": "No matching items",
20917
- "style": "bodyEmphasis"
20918
- }
20919
- }
20920
- },
20921
- {
20922
- "id": "btn_tier5_himibookingservices_collectionclear",
20923
- "body": {
20924
- "package": "himalaya",
20925
- "type": "Button",
20926
- "props": {
20927
- "title": "Clear filters",
20928
- "style": "secondary",
20929
- "action": {
20930
- "actionId": "tier5.himiBookingServices.collectionClear"
20931
- }
20932
- }
20933
- }
20934
- }
20935
- ]
20936
- }
20937
- },
20938
- "modifiers": {
20939
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty",
20940
- "padding": {
20941
- "bottom": 12
20942
- }
20943
- }
20944
- },
20945
- {
20946
- "id": "himi_services.list.collection.sheet",
20947
- "body": {
20948
- "package": "himalaya",
20949
- "type": "BottomSheet",
20950
- "props": {
20951
- "presentedPath": "$service:himiBookingServices.collection.filtersPresented",
20952
- "dismissible": true,
20953
- "showGrabber": true,
20954
- "onDismiss": {
20955
- "actionId": "tier5.himiBookingServices.collectionDismissFilters"
20956
- },
20957
- "content": {
20958
- "id": "",
20959
- "body": {
20960
- "package": "himalaya",
20961
- "type": "VStack",
20962
- "props": {
20963
- "spacing": 16,
20964
- "children": [
20965
- {
20966
- "id": "",
20967
- "body": {
20968
- "package": "himalaya",
20969
- "type": "Text",
20970
- "props": {
20971
- "text": "Make this view yours",
20972
- "style": "title2"
20973
20072
  }
20974
- }
20975
- },
20976
- {
20977
- "id": "",
20978
- "body": {
20979
- "package": "himalaya",
20980
- "type": "Text",
20981
- "props": {
20982
- "text": "$service:himiBookingServices.collection.persistenceLabel",
20983
- "style": "caption",
20984
- "color": "textSecondary"
20073
+ },
20074
+ {
20075
+ "id": "",
20076
+ "body": {
20077
+ "package": "himalaya",
20078
+ "type": "Text",
20079
+ "props": {
20080
+ "text": "$item.tagline",
20081
+ "style": "caption",
20082
+ "color": "textSecondary",
20083
+ "maxLines": 2,
20084
+ "collapseWhenEmpty": true
20085
+ }
20985
20086
  }
20986
- }
20987
- },
20988
- {
20989
- "id": "",
20990
- "body": {
20991
- "package": "himalaya",
20992
- "type": "Text",
20993
- "props": {
20994
- "text": "Sort results",
20995
- "style": "bodyEmphasis"
20087
+ },
20088
+ {
20089
+ "id": "",
20090
+ "body": {
20091
+ "package": "himalaya",
20092
+ "type": "Text",
20093
+ "props": {
20094
+ "text": "$item.meta",
20095
+ "style": "footnote",
20096
+ "color": "textSecondary",
20097
+ "maxLines": 2,
20098
+ "collapseWhenEmpty": true
20099
+ }
20996
20100
  }
20997
20101
  }
20998
- },
20999
- {
21000
- "id": "segmented_tier5_himibookingservices_collectionsort",
21001
- "body": {
21002
- "package": "himalaya",
21003
- "type": "SegmentedControl",
21004
- "props": {
21005
- "options": [
21006
- {
21007
- "id": "default",
21008
- "label": "Original"
21009
- },
21010
- {
21011
- "id": "az",
21012
- "label": "A–Z"
21013
- },
21014
- {
21015
- "id": "za",
21016
- "label": "Z–A"
21017
- }
21018
- ],
21019
- "selectedId": "$service:himiBookingServices.collection.sort",
21020
- "onChange": {
21021
- "actionId": "tier5.himiBookingServices.collectionSort"
21022
- }
21023
- }
21024
- }
21025
- },
21026
- {
21027
- "id": "",
21028
- "body": {
21029
- "package": "himalaya",
21030
- "type": "Text",
21031
- "props": {
21032
- "text": "Density",
21033
- "style": "bodyEmphasis"
21034
- }
21035
- }
21036
- },
21037
- {
21038
- "id": "segmented_tier5_himibookingservices_collectiondensity",
21039
- "body": {
21040
- "package": "himalaya",
21041
- "type": "SegmentedControl",
21042
- "props": {
21043
- "options": [
21044
- {
21045
- "id": "comfortable",
21046
- "label": "Comfortable"
21047
- },
21048
- {
21049
- "id": "compact",
21050
- "label": "Compact"
21051
- }
21052
- ],
21053
- "selectedId": "$service:himiBookingServices.collection.density",
21054
- "onChange": {
21055
- "actionId": "tier5.himiBookingServices.collectionDensity"
21056
- }
21057
- }
21058
- }
21059
- },
21060
- {
21061
- "id": "",
21062
- "body": {
21063
- "package": "himalaya",
21064
- "type": "Text",
21065
- "props": {
21066
- "text": "Saved views",
21067
- "style": "bodyEmphasis"
21068
- }
21069
- }
21070
- },
21071
- {
21072
- "id": "",
21073
- "body": {
21074
- "package": "himalaya",
21075
- "type": "LazyList",
21076
- "props": {
21077
- "itemsPath": "$service:himiBookingServices.collection.savedViews",
21078
- "items": [
21079
- {
21080
- "id": "",
21081
- "body": {
21082
- "package": "himalaya",
21083
- "type": "HStack",
21084
- "props": {
21085
- "spacing": 8,
21086
- "children": [
21087
- {
21088
- "id": "btn_tier5_himibookingservices_collectionapplyview",
21089
- "body": {
21090
- "package": "himalaya",
21091
- "type": "Button",
21092
- "props": {
21093
- "title": "$item.name",
21094
- "style": "secondary",
21095
- "action": {
21096
- "actionId": "tier5.himiBookingServices.collectionApplyView",
21097
- "params": {
21098
- "id": "$item.id"
21099
- }
21100
- }
21101
- }
21102
- }
21103
- },
21104
- {
21105
- "id": "btn_tier5_himibookingservices_collectionremoveview",
21106
- "body": {
21107
- "package": "himalaya",
21108
- "type": "Button",
21109
- "props": {
21110
- "title": "Remove",
21111
- "style": "plain",
21112
- "action": {
21113
- "actionId": "tier5.himiBookingServices.collectionRemoveView",
21114
- "params": {
21115
- "id": "$item.id"
21116
- }
21117
- }
21118
- }
21119
- }
21120
- }
21121
- ]
21122
- }
21123
- }
21124
- }
21125
- ]
21126
- }
21127
- },
21128
- "modifiers": {
21129
- "hiddenPath": "$service:himiBookingServices.collection.noSavedViews"
21130
- }
21131
- },
21132
- {
21133
- "id": "himi_services.list.collection.view-name",
21134
- "body": {
21135
- "package": "himalaya",
21136
- "type": "TextField",
21137
- "props": {
21138
- "placeholder": "Name this view",
21139
- "valuePath": "$service:himiBookingServices.collection.viewName",
21140
- "onChange": {
21141
- "actionId": "tier5.himiBookingServices.collectionViewName"
21142
- }
21143
- }
21144
- }
21145
- },
21146
- {
21147
- "id": "himi_services.list.collection.remember-view",
21148
- "body": {
21149
- "package": "himalaya",
21150
- "type": "Button",
21151
- "props": {
21152
- "title": "Save current view",
21153
- "style": "secondary",
21154
- "action": {
21155
- "actionId": "tier5.himiBookingServices.collectionRememberView"
21156
- }
21157
- }
21158
- }
21159
- },
21160
- {
21161
- "id": "",
21162
- "body": {
21163
- "package": "himalaya",
21164
- "type": "Text",
21165
- "props": {
21166
- "text": "$service:himiBookingServices.collection.viewMessage",
21167
- "style": "caption",
21168
- "collapseWhenEmpty": true
21169
- }
21170
- }
21171
- },
21172
- {
21173
- "id": "btn_tier5_himibookingservices_collectiondismissfilters",
21174
- "body": {
21175
- "package": "himalaya",
21176
- "type": "Button",
21177
- "props": {
21178
- "title": "Done",
21179
- "style": "primary",
21180
- "action": {
21181
- "actionId": "tier5.himiBookingServices.collectionDismissFilters"
21182
- },
21183
- "fullWidth": true
21184
- }
21185
- }
21186
- }
21187
- ]
21188
- }
21189
- },
21190
- "modifiers": {
21191
- "padding": {
21192
- "leading": 20,
21193
- "trailing": 20,
21194
- "top": 20,
21195
- "bottom": 24
21196
- }
21197
- }
21198
- }
21199
- }
21200
- }
21201
- },
21202
- {
21203
- "id": "himi_services.list.collection.preview",
21204
- "body": {
21205
- "package": "himalaya",
21206
- "type": "BottomSheet",
21207
- "props": {
21208
- "presentedPath": "$service:himiBookingServices.collection.previewPresented",
21209
- "dismissible": true,
21210
- "showGrabber": true,
21211
- "onDismiss": {
21212
- "actionId": "tier5.himiBookingServices.collectionDismissPreview"
21213
- },
21214
- "content": {
21215
- "id": "",
21216
- "body": {
21217
- "package": "himalaya",
21218
- "type": "Grid",
21219
- "props": {
21220
- "columns": 1,
21221
- "itemsPath": "$service:himiBookingServices.collection.preview",
21222
- "items": [
21223
- {
21224
- "id": "himi_services.list.collection.preview.$item.collectionId",
21225
- "body": {
21226
- "package": "himalaya",
21227
- "type": "VStack",
21228
- "props": {
21229
- "spacing": 8,
21230
- "alignment": "leading",
21231
- "children": [
21232
- {
21233
- "id": "",
21234
- "body": {
21235
- "package": "himalaya",
21236
- "type": "VStack",
21237
- "props": {
21238
- "spacing": 0,
21239
- "children": [
21240
- {
21241
- "id": "himi_services.list.collection.preview.$item.collectionId/image",
21242
- "body": {
21243
- "package": "himalaya",
21244
- "type": "Image",
21245
- "props": {
21246
- "url": "$item.collectionImage",
21247
- "contentDescription": "$item.collectionTitle",
21248
- "contentMode": "fill",
21249
- "height": 112,
21250
- "fillWidth": true
21251
- }
21252
- },
21253
- "modifiers": {
21254
- "cornerRadius": 12,
21255
- "hiddenPath": "$item.collectionNoImage"
21256
- }
21257
- },
21258
- {
21259
- "id": "",
21260
- "body": {
21261
- "package": "himalaya",
21262
- "type": "ZStack",
21263
- "props": {
21264
- "alignment": "center",
21265
- "children": [
21266
- {
21267
- "id": "",
21268
- "body": {
21269
- "package": "himalaya",
21270
- "type": "Icon",
21271
- "props": {
21272
- "name": "photo",
21273
- "size": 28,
21274
- "tint": "accentPrimary"
21275
- }
21276
- },
21277
- "modifiers": {
21278
- "accessibilityRole": "decorative"
21279
- }
21280
- }
21281
- ]
21282
- }
21283
- },
21284
- "modifiers": {
21285
- "height": 112,
21286
- "fillMaxWidth": true,
21287
- "cornerRadius": 12,
21288
- "background": {
21289
- "token": "surfaceSecondary"
21290
- },
21291
- "accessibilityLabel": "No image available",
21292
- "hiddenPath": "$item.collectionHasImage"
21293
- }
21294
- }
21295
- ]
21296
- }
21297
- }
21298
- },
21299
- {
21300
- "id": "",
21301
- "body": {
21302
- "package": "himalaya",
21303
- "type": "VStack",
21304
- "props": {
21305
- "spacing": 4,
21306
- "alignment": "leading",
21307
- "children": [
21308
- {
21309
- "id": "",
21310
- "body": {
21311
- "package": "himalaya",
21312
- "type": "Text",
21313
- "props": {
21314
- "text": "$item.collectionTitle",
21315
- "style": "bodyEmphasis",
21316
- "maxLines": 2
21317
- }
21318
- }
21319
- },
21320
- {
21321
- "id": "",
21322
- "body": {
21323
- "package": "himalaya",
21324
- "type": "Text",
21325
- "props": {
21326
- "text": "$item.collectionSubtitle",
21327
- "style": "caption",
21328
- "color": "textSecondary",
21329
- "maxLines": 3,
21330
- "collapseWhenEmpty": true
21331
- }
21332
- }
21333
- },
21334
- {
21335
- "id": "",
21336
- "body": {
21337
- "package": "himalaya",
21338
- "type": "Text",
21339
- "props": {
21340
- "text": "$item.collectionMeta",
21341
- "style": "caption",
21342
- "color": "textSecondary",
21343
- "maxLines": 2,
21344
- "collapseWhenEmpty": true
21345
- }
21346
- }
21347
- },
21348
- {
21349
- "id": "",
21350
- "body": {
21351
- "package": "himalaya",
21352
- "type": "Text",
21353
- "props": {
21354
- "text": "Saved",
21355
- "style": "caption",
21356
- "color": "accentPrimary"
21357
- }
21358
- },
21359
- "modifiers": {
21360
- "hiddenPath": "$item.collectionNotSaved"
21361
- }
21362
- }
21363
- ]
21364
- }
21365
- }
21366
- },
21367
- {
21368
- "id": "",
21369
- "body": {
21370
- "package": "himalaya",
21371
- "type": "HStack",
21372
- "props": {
21373
- "spacing": 8,
21374
- "children": [
21375
- {
21376
- "id": "himi_services.list.collection.preview.$item.collectionId/select",
21377
- "body": {
21378
- "package": "himalaya",
21379
- "type": "Button",
21380
- "props": {
21381
- "title": "$item.collectionSelectLabel",
21382
- "style": "plain",
21383
- "fullWidth": false,
21384
- "action": {
21385
- "actionId": "tier5.himiBookingServices.collectionSelect",
21386
- "params": {
21387
- "id": "$item.collectionId"
21388
- }
21389
- }
21390
- }
21391
- },
21392
- "modifiers": {
21393
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
21394
- }
21395
- },
21396
- {
21397
- "id": "himi_services.list.collection.preview.$item.collectionId/primary",
21398
- "body": {
21399
- "package": "himalaya",
21400
- "type": "Button",
21401
- "props": {
21402
- "title": "Book",
21403
- "style": "secondary",
21404
- "fullWidth": false,
21405
- "action": {
21406
- "actionId": "himi.open",
21407
- "params": {
21408
- "screenId": "himi_time",
21409
- "id": "$item.collectionId"
21410
- }
21411
- }
21412
- }
21413
- }
21414
- },
21415
- {
21416
- "id": "",
21417
- "body": {
21418
- "package": "himalaya",
21419
- "type": "Spacer",
21420
- "props": {}
21421
- }
21422
- },
21423
- {
21424
- "id": "himi_services.list.collection.preview.$item.collectionId/actions",
21425
- "body": {
21426
- "package": "himalaya",
21427
- "type": "Menu",
21428
- "props": {
21429
- "style": "dropdown",
21430
- "anchor": {
21431
- "id": "",
21432
- "body": {
21433
- "package": "himalaya",
21434
- "type": "Icon",
21435
- "props": {
21436
- "name": "ellipsis",
21437
- "size": 20
21438
- }
21439
- },
21440
- "modifiers": {
21441
- "width": 44,
21442
- "height": 44,
21443
- "accessibilityLabel": "$item.collectionActionsLabel"
21444
- }
21445
- },
21446
- "items": [
21447
- {
21448
- "id": "preview",
21449
- "label": "Quick preview",
21450
- "icon": "search",
21451
- "action": {
21452
- "actionId": "tier5.himiBookingServices.collectionPreview",
21453
- "params": {
21454
- "id": "$item.collectionId"
21455
- }
21456
- }
21457
- },
21458
- {
21459
- "id": "save",
21460
- "label": "$item.collectionSaveLabel",
21461
- "icon": "bookmark",
21462
- "action": {
21463
- "actionId": "tier5.himiBookingServices.collectionSave",
21464
- "params": {
21465
- "id": "$item.collectionId"
21466
- }
21467
- }
21468
- },
21469
- {
21470
- "id": "open",
21471
- "label": "Open details",
21472
- "icon": "chevron_right",
21473
- "action": {
21474
- "actionId": "himi.open",
21475
- "params": {
21476
- "screenId": "$item.detailScreenId",
21477
- "id": "$item.id"
21478
- }
21479
- }
21480
- }
21481
- ]
21482
- }
21483
- }
21484
- }
21485
- ]
20102
+ ]
20103
+ }
20104
+ },
20105
+ "modifiers": {
20106
+ "weight": 1
20107
+ }
20108
+ },
20109
+ {
20110
+ "id": "himi_services.row.$item.id/book",
20111
+ "body": {
20112
+ "package": "himalaya",
20113
+ "type": "VStack",
20114
+ "props": {
20115
+ "spacing": 0,
20116
+ "children": [
20117
+ {
20118
+ "id": "",
20119
+ "body": {
20120
+ "package": "himalaya",
20121
+ "type": "HStack",
20122
+ "props": {
20123
+ "spacing": 0,
20124
+ "alignment": "center",
20125
+ "children": [
20126
+ {
20127
+ "id": "",
20128
+ "body": {
20129
+ "package": "himalaya",
20130
+ "type": "Text",
20131
+ "props": {
20132
+ "text": "$item.bookCta",
20133
+ "style": "footnote",
20134
+ "color": "textPrimary",
20135
+ "maxLines": 1
20136
+ }
21486
20137
  }
21487
- },
21488
- "modifiers": {
21489
- "hiddenPath": "$item.collectionNoIdentity"
21490
20138
  }
21491
- }
21492
- ]
21493
- }
21494
- },
21495
- "modifiers": {
21496
- "onTap": {
21497
- "actionId": "himi.open",
21498
- "params": {
21499
- "screenId": "$item.detailScreenId",
21500
- "id": "$item.id"
20139
+ ]
21501
20140
  }
21502
20141
  },
21503
- "haptic": "light",
21504
- "background": {
21505
- "token": "surfaceElevated"
21506
- },
21507
- "border": {
21508
- "width": 1,
21509
- "color": {
21510
- "token": "border"
20142
+ "modifiers": {
20143
+ "height": 36,
20144
+ "padding": {
20145
+ "leading": 16,
20146
+ "trailing": 16,
20147
+ "top": 0,
20148
+ "bottom": 0
20149
+ },
20150
+ "cornerRadius": 18,
20151
+ "border": {
20152
+ "width": 1,
20153
+ "color": {
20154
+ "token": "textPrimary"
20155
+ }
21511
20156
  }
21512
- },
21513
- "cornerRadius": 12,
21514
- "padding": {
21515
- "top": 12,
21516
- "bottom": 12,
21517
- "leading": 12,
21518
- "trailing": 12
21519
- },
21520
- "fillMaxWidth": true,
21521
- "accessibilityLabel": "$item.collectionTitle",
21522
- "pressFeedback": "scale",
21523
- "transition": {
21524
- "enter": "fadeSlide",
21525
- "direction": "up",
21526
- "distance": 8
21527
20157
  }
21528
20158
  }
20159
+ ]
20160
+ }
20161
+ },
20162
+ "modifiers": {
20163
+ "padding": {
20164
+ "leading": 0,
20165
+ "trailing": 0,
20166
+ "top": 4,
20167
+ "bottom": 4
20168
+ },
20169
+ "onTap": {
20170
+ "actionId": "himi.open",
20171
+ "params": {
20172
+ "screenId": "himi_time",
20173
+ "id": "$item.id"
21529
20174
  }
21530
- ]
21531
- }
21532
- },
21533
- "modifiers": {
21534
- "padding": {
21535
- "leading": 20,
21536
- "trailing": 20,
21537
- "top": 20,
21538
- "bottom": 24
20175
+ },
20176
+ "accessibilityRole": "button",
20177
+ "accessibilityLabel": "$item.bookA11y",
20178
+ "pressFeedback": "scale",
20179
+ "haptic": "light",
20180
+ "hiddenPath": "$item.noBook"
21539
20181
  }
21540
20182
  }
21541
- }
20183
+ ]
20184
+ }
20185
+ },
20186
+ "modifiers": {
20187
+ "fillMaxWidth": true,
20188
+ "padding": {
20189
+ "leading": 20,
20190
+ "trailing": 20,
20191
+ "top": 14,
20192
+ "bottom": 14
21542
20193
  }
21543
20194
  }
20195
+ },
20196
+ {
20197
+ "id": "",
20198
+ "body": {
20199
+ "package": "himalaya",
20200
+ "type": "Divider",
20201
+ "props": {}
20202
+ }
21544
20203
  }
21545
20204
  ]
21546
20205
  }
20206
+ },
20207
+ "modifiers": {
20208
+ "onTap": {
20209
+ "actionId": "himi.open",
20210
+ "params": {
20211
+ "screenId": "$item.detailScreenId",
20212
+ "id": "$item.id"
20213
+ }
20214
+ },
20215
+ "pressFeedback": "highlight",
20216
+ "haptic": "light",
20217
+ "accessibilityLabel": "$item.a11y",
20218
+ "transition": {
20219
+ "enter": "fadeSlide",
20220
+ "direction": "up",
20221
+ "distance": 8
20222
+ }
21547
20223
  }
21548
20224
  }
21549
20225
  ]
21550
20226
  }
21551
20227
  },
21552
20228
  "modifiers": {
21553
- "hiddenPath": "$service:himiBookingServices.isLoading"
20229
+ "padding": {
20230
+ "leading": 0,
20231
+ "trailing": 0,
20232
+ "top": 12,
20233
+ "bottom": 0
20234
+ },
20235
+ "hiddenPath": "$service:himiBookingServices.hideRows"
21554
20236
  }
21555
20237
  },
21556
20238
  {
@@ -21559,7 +20241,55 @@ const SCREENS = runtimeSetting({
21559
20241
  "package": "himalaya",
21560
20242
  "type": "VStack",
21561
20243
  "props": {
21562
- "spacing": 12,
20244
+ "spacing": 8,
20245
+ "alignment": "leading",
20246
+ "children": [
20247
+ {
20248
+ "id": "",
20249
+ "body": {
20250
+ "package": "himalaya",
20251
+ "type": "Text",
20252
+ "props": {
20253
+ "text": "More services did not load.",
20254
+ "style": "caption",
20255
+ "color": "textSecondary"
20256
+ }
20257
+ }
20258
+ },
20259
+ {
20260
+ "id": "himi_services.retry_page",
20261
+ "body": {
20262
+ "package": "himalaya",
20263
+ "type": "Button",
20264
+ "props": {
20265
+ "title": "Try again",
20266
+ "style": "secondary",
20267
+ "action": {
20268
+ "actionId": "tier5.himiBookingServices.retry"
20269
+ }
20270
+ }
20271
+ }
20272
+ }
20273
+ ]
20274
+ }
20275
+ },
20276
+ "modifiers": {
20277
+ "padding": {
20278
+ "leading": 20,
20279
+ "trailing": 20,
20280
+ "top": 12,
20281
+ "bottom": 0
20282
+ },
20283
+ "hiddenPath": "$service:himiBookingServices.collection.noPageError"
20284
+ }
20285
+ },
20286
+ {
20287
+ "id": "himi_services.empty_source",
20288
+ "body": {
20289
+ "package": "himalaya",
20290
+ "type": "VStack",
20291
+ "props": {
20292
+ "spacing": 10,
21563
20293
  "alignment": "center",
21564
20294
  "children": [
21565
20295
  {
@@ -21569,7 +20299,7 @@ const SCREENS = runtimeSetting({
21569
20299
  "type": "Icon",
21570
20300
  "props": {
21571
20301
  "name": "calendar",
21572
- "size": 34,
20302
+ "size": 28,
21573
20303
  "tint": "textTertiary"
21574
20304
  }
21575
20305
  },
@@ -21583,10 +20313,50 @@ const SCREENS = runtimeSetting({
21583
20313
  "package": "himalaya",
21584
20314
  "type": "Text",
21585
20315
  "props": {
21586
- "text": "$service:himiBookingServices.emptyText",
21587
- "style": "bodyEmphasis",
20316
+ "text": "$service:himiBookingServices.collection.emptySourceText",
20317
+ "style": "body",
21588
20318
  "color": "textSecondary",
21589
- "collapseWhenEmpty": true
20319
+ "textAlign": "center"
20320
+ }
20321
+ }
20322
+ }
20323
+ ]
20324
+ }
20325
+ },
20326
+ "modifiers": {
20327
+ "fillMaxWidth": true,
20328
+ "padding": {
20329
+ "leading": 20,
20330
+ "trailing": 20,
20331
+ "top": 40,
20332
+ "bottom": 0
20333
+ },
20334
+ "transition": {
20335
+ "enter": "fade",
20336
+ "exit": "fade"
20337
+ },
20338
+ "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
20339
+ }
20340
+ },
20341
+ {
20342
+ "id": "himi_services.empty",
20343
+ "body": {
20344
+ "package": "himalaya",
20345
+ "type": "VStack",
20346
+ "props": {
20347
+ "spacing": 16,
20348
+ "alignment": "center",
20349
+ "children": [
20350
+ {
20351
+ "id": "himi_services.no_match_text",
20352
+ "body": {
20353
+ "package": "himalaya",
20354
+ "type": "Text",
20355
+ "props": {
20356
+ "text": "$service:himiBookingServices.noMatchText",
20357
+ "style": "body",
20358
+ "color": "textSecondary",
20359
+ "textAlign": "center"
21590
20360
  }
21591
20361
  }
21592
20362
  },
@@ -21596,29 +20366,58 @@ const SCREENS = runtimeSetting({
21596
20366
  "package": "himalaya",
21597
20367
  "type": "Button",
21598
20368
  "props": {
21599
- "title": "Clear search",
20369
+ "title": "Clear Search",
20370
+ "style": "secondary",
20371
+ "action": {
20372
+ "actionId": "tier5.himiBookingServices.search",
20373
+ "params": {
20374
+ "value": ""
20375
+ }
20376
+ }
20377
+ }
20378
+ },
20379
+ "modifiers": {
20380
+ "hiddenPath": "$service:himiBookingServices.noQuery"
20381
+ }
20382
+ },
20383
+ {
20384
+ "id": "himi_services.empty.show_all",
20385
+ "body": {
20386
+ "package": "himalaya",
20387
+ "type": "Button",
20388
+ "props": {
20389
+ "title": "Show All",
21600
20390
  "style": "secondary",
21601
20391
  "action": {
21602
- "actionId": "tier5.himiBookingServices.clearSearch"
20392
+ "actionId": "tier5.himiBookingServices.collectionFilter",
20393
+ "args": {
20394
+ "selectedIds": [
20395
+ "all"
20396
+ ]
20397
+ }
21603
20398
  }
21604
20399
  }
20400
+ },
20401
+ "modifiers": {
20402
+ "hiddenPath": "$service:himiBookingServices.hasQuery"
21605
20403
  }
21606
20404
  }
21607
20405
  ]
21608
20406
  }
21609
20407
  },
21610
20408
  "modifiers": {
20409
+ "fillMaxWidth": true,
21611
20410
  "padding": {
21612
- "leading": 24,
21613
- "trailing": 24,
21614
- "top": 24,
21615
- "bottom": 24
20411
+ "leading": 20,
20412
+ "trailing": 20,
20413
+ "top": 40,
20414
+ "bottom": 0
21616
20415
  },
21617
20416
  "transition": {
21618
20417
  "enter": "fade",
21619
20418
  "exit": "fade"
21620
20419
  },
21621
- "hiddenPath": "$service:himiBookingServices.noEmpty"
20420
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
21622
20421
  }
21623
20422
  }
21624
20423
  ]
@@ -21629,8 +20428,8 @@ const SCREENS = runtimeSetting({
21629
20428
  "token": "surfacePrimary"
21630
20429
  },
21631
20430
  "padding": {
21632
- "leading": 16,
21633
- "trailing": 16,
20431
+ "leading": 0,
20432
+ "trailing": 0,
21634
20433
  "top": 18,
21635
20434
  "bottom": 24
21636
20435
  },