@wix/himalaya-cli 0.1536.0 → 0.1538.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 (31) 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 +852 -538
  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 +13 -2
  12. package/guides/iap-products.md +13 -5
  13. package/guides/release-notes.md +12 -0
  14. package/guides/wix-api-usage.md +53 -6
  15. package/package.json +2 -2
  16. package/templates/beauty-salon/dev/index.ts +1109 -2310
  17. package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +121 -1
  18. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +9 -55
  19. package/templates/beauty-salon/tier5-src/himi-booking-services/index.ts +264 -18
  20. package/templates/branded-lite/dev/index.ts +1075 -2276
  21. package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +121 -1
  22. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +9 -55
  23. package/templates/branded-lite/tier5-src/himi-booking-services/index.ts +264 -18
  24. package/templates/gym-fitness/dev/index.ts +1075 -2276
  25. package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +121 -1
  26. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +9 -55
  27. package/templates/gym-fitness/tier5-src/himi-booking-services/index.ts +264 -18
  28. package/templates/yoga-studio/dev/index.ts +1137 -2338
  29. package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +121 -1
  30. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +9 -55
  31. package/templates/yoga-studio/tier5-src/himi-booking-services/index.ts +264 -18
@@ -20066,7 +20066,7 @@ const SCREENS = runtimeSetting({
20066
20066
  "package": "himalaya",
20067
20067
  "type": "VStack",
20068
20068
  "props": {
20069
- "spacing": 16,
20069
+ "spacing": 0,
20070
20070
  "alignment": "leading",
20071
20071
  "children": [
20072
20072
  {
@@ -20090,12 +20090,12 @@ const SCREENS = runtimeSetting({
20090
20090
  }
20091
20091
  },
20092
20092
  {
20093
- "id": "",
20093
+ "id": "himi_services.subtitle",
20094
20094
  "body": {
20095
20095
  "package": "himalaya",
20096
20096
  "type": "Text",
20097
20097
  "props": {
20098
- "text": "Browse available appointments.",
20098
+ "text": "Choose a service to book.",
20099
20099
  "style": "body",
20100
20100
  "color": "textSecondary"
20101
20101
  }
@@ -20103,95 +20103,36 @@ const SCREENS = runtimeSetting({
20103
20103
  }
20104
20104
  ]
20105
20105
  }
20106
- }
20107
- },
20108
- {
20109
- "id": "himi_services.search",
20110
- "body": {
20111
- "package": "himalaya",
20112
- "type": "SearchField",
20113
- "props": {
20114
- "placeholder": "Search services",
20115
- "debounceMs": 200,
20116
- "onChange": {
20117
- "actionId": "tier5.himiBookingServices.collectionSearch"
20118
- },
20119
- "value": "$service:himiBookingServices.collection.query"
20120
- }
20121
20106
  },
20122
20107
  "modifiers": {
20123
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
20108
+ "padding": {
20109
+ "leading": 20,
20110
+ "trailing": 20,
20111
+ "top": 0,
20112
+ "bottom": 0
20113
+ }
20124
20114
  }
20125
20115
  },
20126
20116
  {
20127
- "id": "himi_services.retry.block",
20117
+ "id": "",
20128
20118
  "body": {
20129
20119
  "package": "himalaya",
20130
20120
  "type": "VStack",
20131
20121
  "props": {
20132
- "spacing": 12,
20122
+ "spacing": 0,
20133
20123
  "alignment": "leading",
20134
20124
  "children": [
20135
20125
  {
20136
- "id": "",
20137
- "body": {
20138
- "package": "himalaya",
20139
- "type": "HStack",
20140
- "props": {
20141
- "spacing": 10,
20142
- "children": [
20143
- {
20144
- "id": "",
20145
- "body": {
20146
- "package": "himalaya",
20147
- "type": "Icon",
20148
- "props": {
20149
- "name": "warning",
20150
- "size": 18,
20151
- "tint": "accentPrimary"
20152
- }
20153
- },
20154
- "modifiers": {
20155
- "accessibilityRole": "decorative"
20156
- }
20157
- },
20158
- {
20159
- "id": "",
20160
- "body": {
20161
- "package": "himalaya",
20162
- "type": "Text",
20163
- "props": {
20164
- "text": "Something did not load.",
20165
- "style": "bodyEmphasis"
20166
- }
20167
- }
20168
- }
20169
- ]
20170
- }
20171
- }
20172
- },
20173
- {
20174
- "id": "",
20175
- "body": {
20176
- "package": "himalaya",
20177
- "type": "Text",
20178
- "props": {
20179
- "text": "Try again when the connection settles.",
20180
- "style": "body",
20181
- "color": "textSecondary"
20182
- }
20183
- }
20184
- },
20185
- {
20186
- "id": "himi_services.retry",
20126
+ "id": "himi_services.search",
20187
20127
  "body": {
20188
20128
  "package": "himalaya",
20189
- "type": "Button",
20129
+ "type": "SearchField",
20190
20130
  "props": {
20191
- "title": "Try again",
20192
- "style": "secondary",
20193
- "action": {
20194
- "actionId": "tier5.himiBookingServices.load"
20131
+ "placeholder": "Search services",
20132
+ "value": "$service:himiBookingServices.collection.query",
20133
+ "debounceMs": 200,
20134
+ "onChange": {
20135
+ "actionId": "tier5.himiBookingServices.search"
20195
20136
  }
20196
20137
  }
20197
20138
  }
@@ -20200,417 +20141,582 @@ const SCREENS = runtimeSetting({
20200
20141
  }
20201
20142
  },
20202
20143
  "modifiers": {
20203
- "background": {
20204
- "token": "surfaceElevated"
20144
+ "padding": {
20145
+ "leading": 20,
20146
+ "trailing": 20,
20147
+ "top": 16,
20148
+ "bottom": 0
20205
20149
  },
20206
- "border": {
20207
- "width": 1,
20208
- "color": {
20209
- "token": "border"
20150
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
20151
+ }
20152
+ },
20153
+ {
20154
+ "id": "himi_services.categories",
20155
+ "body": {
20156
+ "package": "himalaya",
20157
+ "type": "FilterChips",
20158
+ "props": {
20159
+ "chips": [],
20160
+ "optionsPath": "$service:himiBookingServices.categoryChips",
20161
+ "selectedIds": [
20162
+ "$service:himiBookingServices.collection.filter"
20163
+ ],
20164
+ "multiSelect": false,
20165
+ "onChange": {
20166
+ "actionId": "tier5.himiBookingServices.collectionFilter"
20210
20167
  }
20211
- },
20212
- "cornerRadius": 8,
20168
+ }
20169
+ },
20170
+ "modifiers": {
20171
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
20213
20172
  "padding": {
20214
- "leading": 14,
20215
- "trailing": 14,
20216
- "top": 14,
20217
- "bottom": 14
20218
- },
20219
- "transition": {
20220
- "enter": "fade",
20221
- "exit": "fade"
20173
+ "leading": 20,
20174
+ "trailing": 20,
20175
+ "top": 12,
20176
+ "bottom": 0
20222
20177
  },
20223
- "hiddenPath": "$service:himiBookingServices.notErrored"
20178
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
20224
20179
  }
20225
20180
  },
20226
20181
  {
20227
- "id": "",
20182
+ "id": "himi_services.offline",
20228
20183
  "body": {
20229
20184
  "package": "himalaya",
20230
- "type": "VStack",
20185
+ "type": "Text",
20231
20186
  "props": {
20232
- "spacing": 10,
20233
- "children": [
20234
- {
20235
- "id": "himi_services.skeleton_1",
20236
- "body": {
20237
- "package": "himalaya",
20238
- "type": "Skeleton",
20239
- "props": {
20240
- "height": 88,
20241
- "cornerRadius": 8
20242
- }
20243
- },
20244
- "modifiers": {
20245
- "height": 88,
20246
- "background": {
20247
- "token": "surfaceSecondary"
20248
- },
20249
- "cornerRadius": 8,
20250
- "accessibilityRole": "decorative"
20251
- }
20252
- },
20253
- {
20254
- "id": "himi_services.skeleton_2",
20255
- "body": {
20256
- "package": "himalaya",
20257
- "type": "Skeleton",
20258
- "props": {
20259
- "height": 88,
20260
- "cornerRadius": 8
20261
- }
20262
- },
20263
- "modifiers": {
20264
- "height": 88,
20265
- "background": {
20266
- "token": "surfaceSecondary"
20267
- },
20268
- "cornerRadius": 8,
20269
- "accessibilityRole": "decorative"
20270
- }
20271
- },
20272
- {
20273
- "id": "himi_services.skeleton_3",
20274
- "body": {
20275
- "package": "himalaya",
20276
- "type": "Skeleton",
20277
- "props": {
20278
- "height": 88,
20279
- "cornerRadius": 8
20280
- }
20281
- },
20282
- "modifiers": {
20283
- "height": 88,
20284
- "background": {
20285
- "token": "surfaceSecondary"
20286
- },
20287
- "cornerRadius": 8,
20288
- "accessibilityRole": "decorative"
20289
- }
20290
- }
20291
- ]
20187
+ "text": "Showing saved services. They may be out of date.",
20188
+ "style": "caption",
20189
+ "color": "textSecondary"
20292
20190
  }
20293
20191
  },
20294
20192
  "modifiers": {
20295
- "hiddenPath": "$service:himiBookingServices.notLoading"
20193
+ "padding": {
20194
+ "leading": 20,
20195
+ "trailing": 20,
20196
+ "top": 12,
20197
+ "bottom": 0
20198
+ },
20199
+ "hiddenPath": "$service:himiBookingServices.collection.noOffline"
20296
20200
  }
20297
20201
  },
20298
20202
  {
20299
- "id": "",
20203
+ "id": "himi_services.retry_group",
20300
20204
  "body": {
20301
20205
  "package": "himalaya",
20302
20206
  "type": "VStack",
20303
20207
  "props": {
20304
- "spacing": 12,
20208
+ "spacing": 0,
20209
+ "alignment": "leading",
20305
20210
  "children": [
20306
20211
  {
20307
- "id": "himi_services.list.collection.toolbar",
20212
+ "id": "himi_services.retry.block",
20308
20213
  "body": {
20309
20214
  "package": "himalaya",
20310
20215
  "type": "VStack",
20311
20216
  "props": {
20312
- "spacing": 0,
20217
+ "spacing": 12,
20218
+ "alignment": "leading",
20313
20219
  "children": [
20314
- {
20315
- "id": "himi_services.list.collection.loading",
20316
- "body": {
20317
- "package": "himalaya",
20318
- "type": "Skeleton",
20319
- "props": {
20320
- "height": 72,
20321
- "cornerRadius": 12,
20322
- "count": 3
20323
- }
20324
- },
20325
- "modifiers": {
20326
- "hiddenPath": "$service:himiBookingServices.collection.noLoading",
20327
- "padding": {
20328
- "bottom": 12
20329
- }
20330
- }
20331
- },
20332
20220
  {
20333
20221
  "id": "",
20334
20222
  "body": {
20335
20223
  "package": "himalaya",
20336
20224
  "type": "HStack",
20337
20225
  "props": {
20338
- "spacing": 8,
20226
+ "spacing": 10,
20339
20227
  "children": [
20340
20228
  {
20341
- "id": "himi_services.list.collection.view",
20229
+ "id": "",
20342
20230
  "body": {
20343
20231
  "package": "himalaya",
20344
- "type": "SegmentedControl",
20232
+ "type": "Icon",
20345
20233
  "props": {
20346
- "options": [
20347
- {
20348
- "id": "list",
20349
- "label": "List"
20350
- },
20351
- {
20352
- "id": "grid",
20353
- "label": "Grid"
20354
- }
20355
- ],
20356
- "selectedId": "$service:himiBookingServices.collection.view",
20357
- "onChange": {
20358
- "actionId": "tier5.himiBookingServices.collectionView"
20359
- }
20234
+ "name": "warning",
20235
+ "size": 18,
20236
+ "tint": "accentPrimary"
20360
20237
  }
20361
20238
  },
20362
20239
  "modifiers": {
20363
- "weight": 1
20240
+ "accessibilityRole": "decorative"
20364
20241
  }
20365
20242
  },
20366
20243
  {
20367
- "id": "himi_services.list.collection.refine",
20244
+ "id": "",
20368
20245
  "body": {
20369
20246
  "package": "himalaya",
20370
- "type": "Button",
20247
+ "type": "Text",
20371
20248
  "props": {
20372
- "title": "Refine",
20373
- "style": "plain",
20374
- "fullWidth": false,
20375
- "action": {
20376
- "actionId": "tier5.himiBookingServices.collectionFilters"
20377
- },
20378
- "leadingIcon": "filter"
20249
+ "text": "Something did not load.",
20250
+ "style": "bodyEmphasis"
20379
20251
  }
20380
20252
  }
20381
20253
  }
20382
20254
  ]
20383
20255
  }
20384
- },
20385
- "modifiers": {
20386
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
20387
- "padding": {
20388
- "bottom": 12
20389
- }
20390
20256
  }
20391
20257
  },
20392
20258
  {
20393
20259
  "id": "",
20394
20260
  "body": {
20395
20261
  "package": "himalaya",
20396
- "type": "HStack",
20262
+ "type": "Text",
20397
20263
  "props": {
20398
- "spacing": 8,
20399
- "children": [
20400
- {
20401
- "id": "himi_services.list.collection.filters",
20402
- "body": {
20403
- "package": "himalaya",
20404
- "type": "FilterChips",
20405
- "props": {
20406
- "chips": [
20407
- {
20408
- "id": "all",
20409
- "label": "All"
20410
- },
20411
- {
20412
- "id": "saved",
20413
- "label": "Saved"
20414
- }
20415
- ],
20416
- "optionsPath": "$service:himiBookingServices.collection.chips",
20417
- "selectedIds": [
20418
- "$service:himiBookingServices.collection.filter"
20419
- ],
20420
- "onChange": {
20421
- "actionId": "tier5.himiBookingServices.collectionFilter"
20422
- }
20423
- }
20424
- },
20425
- "modifiers": {
20426
- "weight": 1
20427
- }
20428
- },
20429
- {
20430
- "id": "himi_services.list.collection.clear",
20431
- "body": {
20432
- "package": "himalaya",
20433
- "type": "Button",
20434
- "props": {
20435
- "title": "Clear",
20436
- "style": "plain",
20437
- "fullWidth": false,
20438
- "action": {
20439
- "actionId": "tier5.himiBookingServices.collectionClear"
20440
- }
20441
- }
20442
- },
20443
- "modifiers": {
20444
- "hiddenPath": "$service:himiBookingServices.collection.noActiveCriteria"
20445
- }
20446
- }
20447
- ]
20448
- }
20449
- },
20450
- "modifiers": {
20451
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
20452
- "padding": {
20453
- "bottom": 12
20264
+ "text": "Try again when the connection settles.",
20265
+ "style": "body",
20266
+ "color": "textSecondary"
20454
20267
  }
20455
20268
  }
20456
20269
  },
20457
20270
  {
20458
- "id": "himi_services.list.collection.summary",
20271
+ "id": "himi_services.retry",
20459
20272
  "body": {
20460
20273
  "package": "himalaya",
20461
- "type": "Text",
20274
+ "type": "Button",
20462
20275
  "props": {
20463
- "text": "$service:himiBookingServices.collection.summary",
20464
- "style": "caption",
20465
- "color": "textSecondary",
20466
- "maxLines": 1
20276
+ "title": "Try again",
20277
+ "style": "secondary",
20278
+ "action": {
20279
+ "actionId": "tier5.himiBookingServices.load"
20280
+ }
20467
20281
  }
20468
- },
20469
- "modifiers": {
20470
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
20471
20282
  }
20472
- },
20283
+ }
20284
+ ]
20285
+ }
20286
+ },
20287
+ "modifiers": {
20288
+ "background": {
20289
+ "token": "surfaceElevated"
20290
+ },
20291
+ "border": {
20292
+ "width": 1,
20293
+ "color": {
20294
+ "token": "border"
20295
+ }
20296
+ },
20297
+ "cornerRadius": 8,
20298
+ "padding": {
20299
+ "leading": 14,
20300
+ "trailing": 14,
20301
+ "top": 14,
20302
+ "bottom": 14
20303
+ },
20304
+ "transition": {
20305
+ "enter": "fade",
20306
+ "exit": "fade"
20307
+ },
20308
+ "hiddenPath": "$service:himiBookingServices.notErrored"
20309
+ }
20310
+ }
20311
+ ]
20312
+ }
20313
+ },
20314
+ "modifiers": {
20315
+ "padding": {
20316
+ "leading": 20,
20317
+ "trailing": 20,
20318
+ "top": 16,
20319
+ "bottom": 0
20320
+ },
20321
+ "hiddenPath": "$service:himiBookingServices.hasResults"
20322
+ }
20323
+ },
20324
+ {
20325
+ "id": "",
20326
+ "body": {
20327
+ "package": "himalaya",
20328
+ "type": "VStack",
20329
+ "props": {
20330
+ "spacing": 0,
20331
+ "alignment": "leading",
20332
+ "children": [
20333
+ {
20334
+ "id": "himi_services.skeleton_1",
20335
+ "body": {
20336
+ "package": "himalaya",
20337
+ "type": "VStack",
20338
+ "props": {
20339
+ "spacing": 0,
20340
+ "alignment": "leading",
20341
+ "children": [
20473
20342
  {
20474
20343
  "id": "",
20475
20344
  "body": {
20476
20345
  "package": "himalaya",
20477
20346
  "type": "HStack",
20478
20347
  "props": {
20348
+ "spacing": 14,
20349
+ "alignment": "center",
20479
20350
  "children": [
20480
20351
  {
20481
20352
  "id": "",
20482
20353
  "body": {
20483
20354
  "package": "himalaya",
20484
- "type": "Text",
20355
+ "type": "Skeleton",
20485
20356
  "props": {
20486
- "text": "$service:himiBookingServices.collection.selectedSummary",
20487
- "style": "caption"
20357
+ "height": 72,
20358
+ "cornerRadius": 8
20488
20359
  }
20360
+ },
20361
+ "modifiers": {
20362
+ "width": 72,
20363
+ "height": 72,
20364
+ "background": {
20365
+ "token": "surfaceSecondary"
20366
+ },
20367
+ "cornerRadius": 8,
20368
+ "accessibilityRole": "decorative"
20489
20369
  }
20490
20370
  },
20491
20371
  {
20492
- "id": "btn_tier5_himibookingservices_collectionsaveselected",
20372
+ "id": "",
20493
20373
  "body": {
20494
20374
  "package": "himalaya",
20495
- "type": "Button",
20375
+ "type": "VStack",
20496
20376
  "props": {
20497
- "title": "Save selected",
20498
- "style": "secondary",
20499
- "action": {
20500
- "actionId": "tier5.himiBookingServices.collectionSaveSelected"
20501
- }
20377
+ "spacing": 8,
20378
+ "alignment": "leading",
20379
+ "children": [
20380
+ {
20381
+ "id": "",
20382
+ "body": {
20383
+ "package": "himalaya",
20384
+ "type": "HStack",
20385
+ "props": {
20386
+ "spacing": 0,
20387
+ "children": [
20388
+ {
20389
+ "id": "",
20390
+ "body": {
20391
+ "package": "himalaya",
20392
+ "type": "Skeleton",
20393
+ "props": {
20394
+ "height": 16,
20395
+ "cornerRadius": 4
20396
+ }
20397
+ },
20398
+ "modifiers": {
20399
+ "height": 16,
20400
+ "fillMaxWidth": true,
20401
+ "background": {
20402
+ "token": "surfaceSecondary"
20403
+ },
20404
+ "cornerRadius": 4,
20405
+ "accessibilityRole": "decorative",
20406
+ "weight": 3
20407
+ }
20408
+ },
20409
+ {
20410
+ "id": "",
20411
+ "body": {
20412
+ "package": "himalaya",
20413
+ "type": "Spacer",
20414
+ "props": {}
20415
+ },
20416
+ "modifiers": {
20417
+ "weight": 2
20418
+ }
20419
+ }
20420
+ ]
20421
+ }
20422
+ },
20423
+ "modifiers": {
20424
+ "fillMaxWidth": true
20425
+ }
20426
+ },
20427
+ {
20428
+ "id": "",
20429
+ "body": {
20430
+ "package": "himalaya",
20431
+ "type": "HStack",
20432
+ "props": {
20433
+ "spacing": 0,
20434
+ "children": [
20435
+ {
20436
+ "id": "",
20437
+ "body": {
20438
+ "package": "himalaya",
20439
+ "type": "Skeleton",
20440
+ "props": {
20441
+ "height": 14,
20442
+ "cornerRadius": 4
20443
+ }
20444
+ },
20445
+ "modifiers": {
20446
+ "height": 14,
20447
+ "fillMaxWidth": true,
20448
+ "background": {
20449
+ "token": "surfaceSecondary"
20450
+ },
20451
+ "cornerRadius": 4,
20452
+ "accessibilityRole": "decorative",
20453
+ "weight": 2
20454
+ }
20455
+ },
20456
+ {
20457
+ "id": "",
20458
+ "body": {
20459
+ "package": "himalaya",
20460
+ "type": "Spacer",
20461
+ "props": {}
20462
+ },
20463
+ "modifiers": {
20464
+ "weight": 3
20465
+ }
20466
+ }
20467
+ ]
20468
+ }
20469
+ },
20470
+ "modifiers": {
20471
+ "fillMaxWidth": true
20472
+ }
20473
+ }
20474
+ ]
20502
20475
  }
20503
20476
  },
20504
20477
  "modifiers": {
20505
- "hiddenPath": "$service:himiBookingServices.collection.cannotSaveSelected"
20478
+ "weight": 1
20506
20479
  }
20507
20480
  }
20508
20481
  ]
20509
20482
  }
20510
20483
  },
20511
20484
  "modifiers": {
20512
- "hiddenPath": "$service:himiBookingServices.collection.noSelection",
20485
+ "fillMaxWidth": true,
20513
20486
  "padding": {
20514
- "bottom": 12
20487
+ "leading": 20,
20488
+ "trailing": 20,
20489
+ "top": 14,
20490
+ "bottom": 14
20515
20491
  }
20516
20492
  }
20517
20493
  },
20518
20494
  {
20519
- "id": "himi_services.list.collection.undo",
20495
+ "id": "",
20520
20496
  "body": {
20521
20497
  "package": "himalaya",
20522
- "type": "Button",
20523
- "props": {
20524
- "title": "Undo saved change",
20525
- "style": "plain",
20526
- "action": {
20527
- "actionId": "tier5.himiBookingServices.collectionUndo"
20528
- }
20529
- }
20530
- },
20531
- "modifiers": {
20532
- "hiddenPath": "$service:himiBookingServices.collection.noUndo",
20533
- "padding": {
20534
- "bottom": 12
20535
- }
20498
+ "type": "Divider",
20499
+ "props": {}
20536
20500
  }
20537
- },
20501
+ }
20502
+ ]
20503
+ }
20504
+ },
20505
+ "modifiers": {
20506
+ "fillMaxWidth": true
20507
+ }
20508
+ },
20509
+ {
20510
+ "id": "himi_services.skeleton_2",
20511
+ "body": {
20512
+ "package": "himalaya",
20513
+ "type": "VStack",
20514
+ "props": {
20515
+ "spacing": 0,
20516
+ "alignment": "leading",
20517
+ "children": [
20538
20518
  {
20539
20519
  "id": "",
20540
20520
  "body": {
20541
20521
  "package": "himalaya",
20542
- "type": "Text",
20543
- "props": {
20544
- "text": "$service:himiBookingServices.collection.saveMessage",
20545
- "style": "caption",
20546
- "collapseWhenEmpty": true
20547
- }
20548
- }
20549
- },
20550
- {
20551
- "id": "",
20552
- "body": {
20553
- "package": "himalaya",
20554
- "type": "VStack",
20522
+ "type": "HStack",
20555
20523
  "props": {
20556
- "spacing": 8,
20524
+ "spacing": 14,
20525
+ "alignment": "center",
20557
20526
  "children": [
20558
20527
  {
20559
20528
  "id": "",
20560
20529
  "body": {
20561
20530
  "package": "himalaya",
20562
- "type": "Text",
20531
+ "type": "Skeleton",
20563
20532
  "props": {
20564
- "text": "The next page could not load.",
20565
- "style": "caption"
20533
+ "height": 72,
20534
+ "cornerRadius": 8
20566
20535
  }
20536
+ },
20537
+ "modifiers": {
20538
+ "width": 72,
20539
+ "height": 72,
20540
+ "background": {
20541
+ "token": "surfaceSecondary"
20542
+ },
20543
+ "cornerRadius": 8,
20544
+ "accessibilityRole": "decorative"
20567
20545
  }
20568
20546
  },
20569
20547
  {
20570
- "id": "himi_services.list.collection.retry-page",
20548
+ "id": "",
20571
20549
  "body": {
20572
20550
  "package": "himalaya",
20573
- "type": "Button",
20551
+ "type": "VStack",
20574
20552
  "props": {
20575
- "title": "Retry next page",
20576
- "style": "secondary",
20577
- "action": {
20578
- "actionId": "tier5.himiBookingServices.collectionRetry"
20579
- }
20553
+ "spacing": 8,
20554
+ "alignment": "leading",
20555
+ "children": [
20556
+ {
20557
+ "id": "",
20558
+ "body": {
20559
+ "package": "himalaya",
20560
+ "type": "HStack",
20561
+ "props": {
20562
+ "spacing": 0,
20563
+ "children": [
20564
+ {
20565
+ "id": "",
20566
+ "body": {
20567
+ "package": "himalaya",
20568
+ "type": "Skeleton",
20569
+ "props": {
20570
+ "height": 16,
20571
+ "cornerRadius": 4
20572
+ }
20573
+ },
20574
+ "modifiers": {
20575
+ "height": 16,
20576
+ "fillMaxWidth": true,
20577
+ "background": {
20578
+ "token": "surfaceSecondary"
20579
+ },
20580
+ "cornerRadius": 4,
20581
+ "accessibilityRole": "decorative",
20582
+ "weight": 3
20583
+ }
20584
+ },
20585
+ {
20586
+ "id": "",
20587
+ "body": {
20588
+ "package": "himalaya",
20589
+ "type": "Spacer",
20590
+ "props": {}
20591
+ },
20592
+ "modifiers": {
20593
+ "weight": 2
20594
+ }
20595
+ }
20596
+ ]
20597
+ }
20598
+ },
20599
+ "modifiers": {
20600
+ "fillMaxWidth": true
20601
+ }
20602
+ },
20603
+ {
20604
+ "id": "",
20605
+ "body": {
20606
+ "package": "himalaya",
20607
+ "type": "HStack",
20608
+ "props": {
20609
+ "spacing": 0,
20610
+ "children": [
20611
+ {
20612
+ "id": "",
20613
+ "body": {
20614
+ "package": "himalaya",
20615
+ "type": "Skeleton",
20616
+ "props": {
20617
+ "height": 14,
20618
+ "cornerRadius": 4
20619
+ }
20620
+ },
20621
+ "modifiers": {
20622
+ "height": 14,
20623
+ "fillMaxWidth": true,
20624
+ "background": {
20625
+ "token": "surfaceSecondary"
20626
+ },
20627
+ "cornerRadius": 4,
20628
+ "accessibilityRole": "decorative",
20629
+ "weight": 2
20630
+ }
20631
+ },
20632
+ {
20633
+ "id": "",
20634
+ "body": {
20635
+ "package": "himalaya",
20636
+ "type": "Spacer",
20637
+ "props": {}
20638
+ },
20639
+ "modifiers": {
20640
+ "weight": 3
20641
+ }
20642
+ }
20643
+ ]
20644
+ }
20645
+ },
20646
+ "modifiers": {
20647
+ "fillMaxWidth": true
20648
+ }
20649
+ }
20650
+ ]
20580
20651
  }
20652
+ },
20653
+ "modifiers": {
20654
+ "weight": 1
20581
20655
  }
20582
20656
  }
20583
20657
  ]
20584
20658
  }
20585
20659
  },
20586
20660
  "modifiers": {
20587
- "hiddenPath": "$service:himiBookingServices.collection.noPageError",
20661
+ "fillMaxWidth": true,
20588
20662
  "padding": {
20589
- "bottom": 12
20663
+ "leading": 20,
20664
+ "trailing": 20,
20665
+ "top": 14,
20666
+ "bottom": 14
20590
20667
  }
20591
20668
  }
20592
20669
  },
20593
20670
  {
20594
- "id": "himi_services.list.collection.empty-source",
20671
+ "id": "",
20595
20672
  "body": {
20596
20673
  "package": "himalaya",
20597
- "type": "VStack",
20674
+ "type": "Divider",
20675
+ "props": {}
20676
+ }
20677
+ }
20678
+ ]
20679
+ }
20680
+ },
20681
+ "modifiers": {
20682
+ "fillMaxWidth": true
20683
+ }
20684
+ },
20685
+ {
20686
+ "id": "himi_services.skeleton_3",
20687
+ "body": {
20688
+ "package": "himalaya",
20689
+ "type": "VStack",
20690
+ "props": {
20691
+ "spacing": 0,
20692
+ "alignment": "leading",
20693
+ "children": [
20694
+ {
20695
+ "id": "",
20696
+ "body": {
20697
+ "package": "himalaya",
20698
+ "type": "HStack",
20598
20699
  "props": {
20599
- "spacing": 8,
20700
+ "spacing": 14,
20600
20701
  "alignment": "center",
20601
20702
  "children": [
20602
20703
  {
20603
20704
  "id": "",
20604
20705
  "body": {
20605
20706
  "package": "himalaya",
20606
- "type": "Icon",
20707
+ "type": "Skeleton",
20607
20708
  "props": {
20608
- "name": "inbox",
20609
- "size": 28,
20610
- "tint": "textTertiary"
20709
+ "height": 72,
20710
+ "cornerRadius": 8
20611
20711
  }
20612
20712
  },
20613
20713
  "modifiers": {
20714
+ "width": 72,
20715
+ "height": 72,
20716
+ "background": {
20717
+ "token": "surfaceSecondary"
20718
+ },
20719
+ "cornerRadius": 8,
20614
20720
  "accessibilityRole": "decorative"
20615
20721
  }
20616
20722
  },
@@ -20618,361 +20724,176 @@ const SCREENS = runtimeSetting({
20618
20724
  "id": "",
20619
20725
  "body": {
20620
20726
  "package": "himalaya",
20621
- "type": "Text",
20622
- "props": {
20623
- "text": "$service:himiBookingServices.collection.emptySourceText",
20624
- "style": "body",
20625
- "color": "textSecondary"
20626
- }
20627
- }
20628
- }
20629
- ]
20630
- }
20631
- },
20632
- "modifiers": {
20633
- "hiddenPath": "$service:himiBookingServices.collection.noEmptySource",
20634
- "padding": {
20635
- "bottom": 12
20636
- }
20637
- }
20638
- },
20639
- {
20640
- "id": "",
20641
- "body": {
20642
- "package": "himalaya",
20643
- "type": "Text",
20644
- "props": {
20645
- "text": "Showing saved offline results · may be outdated",
20646
- "style": "caption",
20647
- "color": "textSecondary"
20648
- }
20649
- },
20650
- "modifiers": {
20651
- "hiddenPath": "$service:himiBookingServices.collection.noOffline"
20652
- }
20653
- },
20654
- {
20655
- "id": "",
20656
- "body": {
20657
- "package": "himalaya",
20658
- "type": "VStack",
20659
- "props": {
20660
- "spacing": 0,
20661
- "children": [
20662
- {
20663
- "id": "himi_services.list.collection.list",
20664
- "body": {
20665
- "package": "himalaya",
20666
- "type": "LazyList",
20727
+ "type": "VStack",
20667
20728
  "props": {
20668
- "spacing": 10,
20669
- "itemsPath": "$service:himiBookingServices.collection.items",
20670
- "onPullToRefresh": {
20671
- "actionId": "tier5.himiBookingServices.refresh"
20672
- },
20673
- "pagination": {
20674
- "cursor": "$service:himiBookingServices.collection.cursor",
20675
- "onLoadMore": {
20676
- "actionId": "tier5.himiBookingServices.loadMore"
20677
- },
20678
- "pageSize": 50
20679
- },
20680
- "items": [
20729
+ "spacing": 8,
20730
+ "alignment": "leading",
20731
+ "children": [
20681
20732
  {
20682
- "id": "himi_services.list.collection.list.$item.collectionId",
20733
+ "id": "",
20683
20734
  "body": {
20684
20735
  "package": "himalaya",
20685
- "type": "VStack",
20736
+ "type": "HStack",
20686
20737
  "props": {
20687
- "spacing": 4,
20738
+ "spacing": 0,
20688
20739
  "children": [
20689
20740
  {
20690
20741
  "id": "",
20691
20742
  "body": {
20692
20743
  "package": "himalaya",
20693
- "type": "HStack",
20744
+ "type": "Skeleton",
20694
20745
  "props": {
20695
- "spacing": 12,
20696
- "children": [
20697
- {
20698
- "id": "himi_services.list.collection.list.$item.collectionId/image",
20699
- "body": {
20700
- "package": "himalaya",
20701
- "type": "Image",
20702
- "props": {
20703
- "url": "$item.collectionImage",
20704
- "contentDescription": "$item.collectionTitle",
20705
- "contentMode": "fill",
20706
- "height": 56,
20707
- "width": 56
20708
- }
20709
- },
20710
- "modifiers": {
20711
- "cornerRadius": 12,
20712
- "hiddenPath": "$item.collectionNoImage"
20713
- }
20714
- },
20715
- {
20716
- "id": "",
20717
- "body": {
20718
- "package": "himalaya",
20719
- "type": "VStack",
20720
- "props": {
20721
- "spacing": 4,
20722
- "alignment": "leading",
20723
- "children": [
20724
- {
20725
- "id": "",
20726
- "body": {
20727
- "package": "himalaya",
20728
- "type": "Text",
20729
- "props": {
20730
- "text": "$item.collectionTitle",
20731
- "style": "bodyEmphasis",
20732
- "maxLines": 2
20733
- }
20734
- }
20735
- },
20736
- {
20737
- "id": "",
20738
- "body": {
20739
- "package": "himalaya",
20740
- "type": "Text",
20741
- "props": {
20742
- "text": "$item.collectionSubtitle",
20743
- "style": "caption",
20744
- "color": "textSecondary",
20745
- "maxLines": 3,
20746
- "collapseWhenEmpty": true
20747
- }
20748
- }
20749
- },
20750
- {
20751
- "id": "",
20752
- "body": {
20753
- "package": "himalaya",
20754
- "type": "Text",
20755
- "props": {
20756
- "text": "$item.collectionMeta",
20757
- "style": "caption",
20758
- "color": "textSecondary",
20759
- "maxLines": 2,
20760
- "collapseWhenEmpty": true
20761
- }
20762
- }
20763
- },
20764
- {
20765
- "id": "",
20766
- "body": {
20767
- "package": "himalaya",
20768
- "type": "Text",
20769
- "props": {
20770
- "text": "Saved",
20771
- "style": "caption",
20772
- "color": "accentPrimary"
20773
- }
20774
- },
20775
- "modifiers": {
20776
- "hiddenPath": "$item.collectionNotSaved"
20777
- }
20778
- }
20779
- ]
20780
- }
20781
- },
20782
- "modifiers": {
20783
- "weight": 1
20784
- }
20785
- },
20786
- {
20787
- "id": "",
20788
- "body": {
20789
- "package": "himalaya",
20790
- "type": "HStack",
20791
- "props": {
20792
- "spacing": 8,
20793
- "children": [
20794
- {
20795
- "id": "himi_services.list.collection.list.$item.collectionId/select",
20796
- "body": {
20797
- "package": "himalaya",
20798
- "type": "Button",
20799
- "props": {
20800
- "title": "$item.collectionSelectLabel",
20801
- "style": "plain",
20802
- "fullWidth": false,
20803
- "action": {
20804
- "actionId": "tier5.himiBookingServices.collectionSelect",
20805
- "params": {
20806
- "id": "$item.collectionId"
20807
- }
20808
- }
20809
- }
20810
- },
20811
- "modifiers": {
20812
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
20813
- }
20814
- },
20815
- {
20816
- "id": "himi_services.list.collection.list.$item.collectionId/primary",
20817
- "body": {
20818
- "package": "himalaya",
20819
- "type": "Button",
20820
- "props": {
20821
- "title": "Book",
20822
- "style": "secondary",
20823
- "fullWidth": false,
20824
- "action": {
20825
- "actionId": "himi.open",
20826
- "params": {
20827
- "screenId": "himi_time",
20828
- "id": "$item.collectionId"
20829
- }
20830
- }
20831
- }
20832
- }
20833
- },
20834
- {
20835
- "id": "himi_services.list.collection.list.$item.collectionId/actions",
20836
- "body": {
20837
- "package": "himalaya",
20838
- "type": "Menu",
20839
- "props": {
20840
- "style": "dropdown",
20841
- "anchor": {
20842
- "id": "",
20843
- "body": {
20844
- "package": "himalaya",
20845
- "type": "Icon",
20846
- "props": {
20847
- "name": "ellipsis",
20848
- "size": 20
20849
- }
20850
- },
20851
- "modifiers": {
20852
- "width": 44,
20853
- "height": 44,
20854
- "accessibilityLabel": "$item.collectionActionsLabel"
20855
- }
20856
- },
20857
- "items": [
20858
- {
20859
- "id": "preview",
20860
- "label": "Quick preview",
20861
- "icon": "search",
20862
- "action": {
20863
- "actionId": "tier5.himiBookingServices.collectionPreview",
20864
- "params": {
20865
- "id": "$item.collectionId"
20866
- }
20867
- }
20868
- },
20869
- {
20870
- "id": "save",
20871
- "label": "$item.collectionSaveLabel",
20872
- "icon": "bookmark",
20873
- "action": {
20874
- "actionId": "tier5.himiBookingServices.collectionSave",
20875
- "params": {
20876
- "id": "$item.collectionId"
20877
- }
20878
- }
20879
- },
20880
- {
20881
- "id": "open",
20882
- "label": "Open details",
20883
- "icon": "chevron_right",
20884
- "action": {
20885
- "actionId": "himi.open",
20886
- "params": {
20887
- "screenId": "$item.detailScreenId",
20888
- "id": "$item.id"
20889
- }
20890
- }
20891
- }
20892
- ]
20893
- }
20894
- }
20895
- }
20896
- ]
20897
- }
20898
- },
20899
- "modifiers": {
20900
- "hiddenPath": "$item.collectionNoIdentity"
20901
- }
20902
- }
20903
- ]
20746
+ "height": 16,
20747
+ "cornerRadius": 4
20904
20748
  }
20749
+ },
20750
+ "modifiers": {
20751
+ "height": 16,
20752
+ "fillMaxWidth": true,
20753
+ "background": {
20754
+ "token": "surfaceSecondary"
20755
+ },
20756
+ "cornerRadius": 4,
20757
+ "accessibilityRole": "decorative",
20758
+ "weight": 3
20759
+ }
20760
+ },
20761
+ {
20762
+ "id": "",
20763
+ "body": {
20764
+ "package": "himalaya",
20765
+ "type": "Spacer",
20766
+ "props": {}
20767
+ },
20768
+ "modifiers": {
20769
+ "weight": 2
20905
20770
  }
20906
20771
  }
20907
20772
  ]
20908
20773
  }
20909
20774
  },
20910
20775
  "modifiers": {
20911
- "onTap": {
20912
- "actionId": "himi.open",
20913
- "params": {
20914
- "screenId": "$item.detailScreenId",
20915
- "id": "$item.id"
20916
- }
20917
- },
20918
- "haptic": "light",
20919
- "background": {
20920
- "token": "surfaceElevated"
20921
- },
20922
- "border": {
20923
- "width": 1,
20924
- "color": {
20925
- "token": "border"
20926
- }
20927
- },
20928
- "cornerRadius": 12,
20929
- "padding": {
20930
- "top": 12,
20931
- "bottom": 12,
20932
- "leading": 12,
20933
- "trailing": 12
20934
- },
20935
- "fillMaxWidth": true,
20936
- "accessibilityLabel": "$item.collectionTitle",
20937
- "pressFeedback": "scale",
20938
- "transition": {
20939
- "enter": "fadeSlide",
20940
- "direction": "up",
20941
- "distance": 8
20776
+ "fillMaxWidth": true
20777
+ }
20778
+ },
20779
+ {
20780
+ "id": "",
20781
+ "body": {
20782
+ "package": "himalaya",
20783
+ "type": "HStack",
20784
+ "props": {
20785
+ "spacing": 0,
20786
+ "children": [
20787
+ {
20788
+ "id": "",
20789
+ "body": {
20790
+ "package": "himalaya",
20791
+ "type": "Skeleton",
20792
+ "props": {
20793
+ "height": 14,
20794
+ "cornerRadius": 4
20795
+ }
20796
+ },
20797
+ "modifiers": {
20798
+ "height": 14,
20799
+ "fillMaxWidth": true,
20800
+ "background": {
20801
+ "token": "surfaceSecondary"
20802
+ },
20803
+ "cornerRadius": 4,
20804
+ "accessibilityRole": "decorative",
20805
+ "weight": 2
20806
+ }
20807
+ },
20808
+ {
20809
+ "id": "",
20810
+ "body": {
20811
+ "package": "himalaya",
20812
+ "type": "Spacer",
20813
+ "props": {}
20814
+ },
20815
+ "modifiers": {
20816
+ "weight": 3
20817
+ }
20818
+ }
20819
+ ]
20942
20820
  }
20821
+ },
20822
+ "modifiers": {
20823
+ "fillMaxWidth": true
20943
20824
  }
20944
20825
  }
20945
- ],
20946
- "staggerMs": 30,
20947
- "animateItems": true,
20948
- "rowSwipeActions": {
20949
- "trailing": [
20950
- {
20951
- "label": "$item.collectionSaveLabel",
20952
- "icon": "bookmark",
20953
- "action": {
20954
- "actionId": "tier5.himiBookingServices.collectionSave",
20955
- "params": {
20956
- "id": "$item.collectionId"
20957
- }
20958
- }
20959
- },
20960
- {
20961
- "label": "Preview",
20962
- "icon": "search",
20963
- "action": {
20964
- "actionId": "tier5.himiBookingServices.collectionPreview",
20965
- "params": {
20966
- "id": "$item.collectionId"
20967
- }
20968
- }
20969
- }
20970
- ]
20971
- }
20826
+ ]
20827
+ }
20828
+ },
20829
+ "modifiers": {
20830
+ "weight": 1
20831
+ }
20832
+ }
20833
+ ]
20834
+ }
20835
+ },
20836
+ "modifiers": {
20837
+ "fillMaxWidth": true,
20838
+ "padding": {
20839
+ "leading": 20,
20840
+ "trailing": 20,
20841
+ "top": 14,
20842
+ "bottom": 14
20843
+ }
20844
+ }
20845
+ },
20846
+ {
20847
+ "id": "",
20848
+ "body": {
20849
+ "package": "himalaya",
20850
+ "type": "Divider",
20851
+ "props": {}
20852
+ }
20853
+ }
20854
+ ]
20855
+ }
20856
+ },
20857
+ "modifiers": {
20858
+ "fillMaxWidth": true
20859
+ }
20860
+ },
20861
+ {
20862
+ "id": "himi_services.skeleton_4",
20863
+ "body": {
20864
+ "package": "himalaya",
20865
+ "type": "VStack",
20866
+ "props": {
20867
+ "spacing": 0,
20868
+ "alignment": "leading",
20869
+ "children": [
20870
+ {
20871
+ "id": "",
20872
+ "body": {
20873
+ "package": "himalaya",
20874
+ "type": "HStack",
20875
+ "props": {
20876
+ "spacing": 14,
20877
+ "alignment": "center",
20878
+ "children": [
20879
+ {
20880
+ "id": "",
20881
+ "body": {
20882
+ "package": "himalaya",
20883
+ "type": "Skeleton",
20884
+ "props": {
20885
+ "height": 72,
20886
+ "cornerRadius": 8
20972
20887
  }
20973
20888
  },
20974
20889
  "modifiers": {
20975
- "hiddenPath": "$service:himiBookingServices.collection.hideList"
20890
+ "width": 72,
20891
+ "height": 72,
20892
+ "background": {
20893
+ "token": "surfaceSecondary"
20894
+ },
20895
+ "cornerRadius": 8,
20896
+ "accessibilityRole": "decorative"
20976
20897
  }
20977
20898
  },
20978
20899
  {
@@ -20981,363 +20902,120 @@ const SCREENS = runtimeSetting({
20981
20902
  "package": "himalaya",
20982
20903
  "type": "VStack",
20983
20904
  "props": {
20984
- "spacing": 12,
20905
+ "spacing": 8,
20906
+ "alignment": "leading",
20985
20907
  "children": [
20986
20908
  {
20987
- "id": "himi_services.list.collection.grid",
20909
+ "id": "",
20988
20910
  "body": {
20989
20911
  "package": "himalaya",
20990
- "type": "Grid",
20912
+ "type": "HStack",
20991
20913
  "props": {
20992
- "columns": 2,
20993
- "columnsMedium": 3,
20994
- "columnsExpanded": 4,
20995
- "spacing": 12,
20996
- "staggerMs": 30,
20997
- "itemsPath": "$service:himiBookingServices.collection.items",
20998
- "items": [
20914
+ "spacing": 0,
20915
+ "children": [
20999
20916
  {
21000
- "id": "himi_services.list.collection.grid.$item.collectionId",
20917
+ "id": "",
21001
20918
  "body": {
21002
20919
  "package": "himalaya",
21003
- "type": "VStack",
20920
+ "type": "Skeleton",
21004
20921
  "props": {
21005
- "spacing": 8,
21006
- "alignment": "leading",
21007
- "children": [
21008
- {
21009
- "id": "",
21010
- "body": {
21011
- "package": "himalaya",
21012
- "type": "VStack",
21013
- "props": {
21014
- "spacing": 0,
21015
- "children": [
21016
- {
21017
- "id": "himi_services.list.collection.grid.$item.collectionId/image",
21018
- "body": {
21019
- "package": "himalaya",
21020
- "type": "Image",
21021
- "props": {
21022
- "url": "$item.collectionImage",
21023
- "contentDescription": "$item.collectionTitle",
21024
- "contentMode": "fill",
21025
- "height": 112,
21026
- "fillWidth": true
21027
- }
21028
- },
21029
- "modifiers": {
21030
- "cornerRadius": 12,
21031
- "hiddenPath": "$item.collectionNoImage"
21032
- }
21033
- },
21034
- {
21035
- "id": "",
21036
- "body": {
21037
- "package": "himalaya",
21038
- "type": "ZStack",
21039
- "props": {
21040
- "alignment": "center",
21041
- "children": [
21042
- {
21043
- "id": "",
21044
- "body": {
21045
- "package": "himalaya",
21046
- "type": "Icon",
21047
- "props": {
21048
- "name": "photo",
21049
- "size": 28,
21050
- "tint": "accentPrimary"
21051
- }
21052
- },
21053
- "modifiers": {
21054
- "accessibilityRole": "decorative"
21055
- }
21056
- }
21057
- ]
21058
- }
21059
- },
21060
- "modifiers": {
21061
- "height": 112,
21062
- "fillMaxWidth": true,
21063
- "cornerRadius": 12,
21064
- "background": {
21065
- "token": "surfaceSecondary"
21066
- },
21067
- "accessibilityLabel": "No image available",
21068
- "hiddenPath": "$item.collectionHasImage"
21069
- }
21070
- }
21071
- ]
21072
- }
21073
- }
21074
- },
21075
- {
21076
- "id": "",
21077
- "body": {
21078
- "package": "himalaya",
21079
- "type": "VStack",
21080
- "props": {
21081
- "spacing": 4,
21082
- "alignment": "leading",
21083
- "children": [
21084
- {
21085
- "id": "",
21086
- "body": {
21087
- "package": "himalaya",
21088
- "type": "Text",
21089
- "props": {
21090
- "text": "$item.collectionTitle",
21091
- "style": "bodyEmphasis",
21092
- "maxLines": 2
21093
- }
21094
- }
21095
- },
21096
- {
21097
- "id": "",
21098
- "body": {
21099
- "package": "himalaya",
21100
- "type": "Text",
21101
- "props": {
21102
- "text": "$item.collectionSubtitle",
21103
- "style": "caption",
21104
- "color": "textSecondary",
21105
- "maxLines": 3,
21106
- "collapseWhenEmpty": true
21107
- }
21108
- }
21109
- },
21110
- {
21111
- "id": "",
21112
- "body": {
21113
- "package": "himalaya",
21114
- "type": "Text",
21115
- "props": {
21116
- "text": "$item.collectionMeta",
21117
- "style": "caption",
21118
- "color": "textSecondary",
21119
- "maxLines": 2,
21120
- "collapseWhenEmpty": true
21121
- }
21122
- }
21123
- },
21124
- {
21125
- "id": "",
21126
- "body": {
21127
- "package": "himalaya",
21128
- "type": "Text",
21129
- "props": {
21130
- "text": "Saved",
21131
- "style": "caption",
21132
- "color": "accentPrimary"
21133
- }
21134
- },
21135
- "modifiers": {
21136
- "hiddenPath": "$item.collectionNotSaved"
21137
- }
21138
- }
21139
- ]
21140
- }
21141
- }
21142
- },
21143
- {
21144
- "id": "",
21145
- "body": {
21146
- "package": "himalaya",
21147
- "type": "HStack",
21148
- "props": {
21149
- "spacing": 8,
21150
- "children": [
21151
- {
21152
- "id": "himi_services.list.collection.grid.$item.collectionId/select",
21153
- "body": {
21154
- "package": "himalaya",
21155
- "type": "Button",
21156
- "props": {
21157
- "title": "$item.collectionSelectLabel",
21158
- "style": "plain",
21159
- "fullWidth": false,
21160
- "action": {
21161
- "actionId": "tier5.himiBookingServices.collectionSelect",
21162
- "params": {
21163
- "id": "$item.collectionId"
21164
- }
21165
- }
21166
- }
21167
- },
21168
- "modifiers": {
21169
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
21170
- }
21171
- },
21172
- {
21173
- "id": "himi_services.list.collection.grid.$item.collectionId/primary",
21174
- "body": {
21175
- "package": "himalaya",
21176
- "type": "Button",
21177
- "props": {
21178
- "title": "Book",
21179
- "style": "secondary",
21180
- "fullWidth": false,
21181
- "action": {
21182
- "actionId": "himi.open",
21183
- "params": {
21184
- "screenId": "himi_time",
21185
- "id": "$item.collectionId"
21186
- }
21187
- }
21188
- }
21189
- }
21190
- },
21191
- {
21192
- "id": "",
21193
- "body": {
21194
- "package": "himalaya",
21195
- "type": "Spacer",
21196
- "props": {}
21197
- }
21198
- },
21199
- {
21200
- "id": "himi_services.list.collection.grid.$item.collectionId/actions",
21201
- "body": {
21202
- "package": "himalaya",
21203
- "type": "Menu",
21204
- "props": {
21205
- "style": "dropdown",
21206
- "anchor": {
21207
- "id": "",
21208
- "body": {
21209
- "package": "himalaya",
21210
- "type": "Icon",
21211
- "props": {
21212
- "name": "ellipsis",
21213
- "size": 20
21214
- }
21215
- },
21216
- "modifiers": {
21217
- "width": 44,
21218
- "height": 44,
21219
- "accessibilityLabel": "$item.collectionActionsLabel"
21220
- }
21221
- },
21222
- "items": [
21223
- {
21224
- "id": "preview",
21225
- "label": "Quick preview",
21226
- "icon": "search",
21227
- "action": {
21228
- "actionId": "tier5.himiBookingServices.collectionPreview",
21229
- "params": {
21230
- "id": "$item.collectionId"
21231
- }
21232
- }
21233
- },
21234
- {
21235
- "id": "save",
21236
- "label": "$item.collectionSaveLabel",
21237
- "icon": "bookmark",
21238
- "action": {
21239
- "actionId": "tier5.himiBookingServices.collectionSave",
21240
- "params": {
21241
- "id": "$item.collectionId"
21242
- }
21243
- }
21244
- },
21245
- {
21246
- "id": "open",
21247
- "label": "Open details",
21248
- "icon": "chevron_right",
21249
- "action": {
21250
- "actionId": "himi.open",
21251
- "params": {
21252
- "screenId": "$item.detailScreenId",
21253
- "id": "$item.id"
21254
- }
21255
- }
21256
- }
21257
- ]
21258
- }
21259
- }
21260
- }
21261
- ]
21262
- }
21263
- },
21264
- "modifiers": {
21265
- "hiddenPath": "$item.collectionNoIdentity"
21266
- }
21267
- }
21268
- ]
20922
+ "height": 16,
20923
+ "cornerRadius": 4
21269
20924
  }
21270
20925
  },
21271
20926
  "modifiers": {
21272
- "onTap": {
21273
- "actionId": "himi.open",
21274
- "params": {
21275
- "screenId": "$item.detailScreenId",
21276
- "id": "$item.id"
21277
- }
21278
- },
21279
- "haptic": "light",
20927
+ "height": 16,
20928
+ "fillMaxWidth": true,
21280
20929
  "background": {
21281
- "token": "surfaceElevated"
20930
+ "token": "surfaceSecondary"
21282
20931
  },
21283
- "border": {
21284
- "width": 1,
21285
- "color": {
21286
- "token": "border"
21287
- }
21288
- },
21289
- "cornerRadius": 12,
21290
- "padding": {
21291
- "top": 12,
21292
- "bottom": 12,
21293
- "leading": 12,
21294
- "trailing": 12
21295
- },
21296
- "fillMaxWidth": true,
21297
- "accessibilityLabel": "$item.collectionTitle",
21298
- "pressFeedback": "scale",
21299
- "transition": {
21300
- "enter": "fadeSlide",
21301
- "direction": "up",
21302
- "distance": 8
21303
- }
20932
+ "cornerRadius": 4,
20933
+ "accessibilityRole": "decorative",
20934
+ "weight": 3
20935
+ }
20936
+ },
20937
+ {
20938
+ "id": "",
20939
+ "body": {
20940
+ "package": "himalaya",
20941
+ "type": "Spacer",
20942
+ "props": {}
20943
+ },
20944
+ "modifiers": {
20945
+ "weight": 2
21304
20946
  }
21305
20947
  }
21306
20948
  ]
21307
20949
  }
20950
+ },
20951
+ "modifiers": {
20952
+ "fillMaxWidth": true
21308
20953
  }
21309
20954
  },
21310
20955
  {
21311
- "id": "himi_services.list.collection.more",
20956
+ "id": "",
21312
20957
  "body": {
21313
20958
  "package": "himalaya",
21314
- "type": "Button",
20959
+ "type": "HStack",
21315
20960
  "props": {
21316
- "title": "Load more",
21317
- "style": "secondary",
21318
- "action": {
21319
- "actionId": "tier5.himiBookingServices.loadMore"
21320
- }
20961
+ "spacing": 0,
20962
+ "children": [
20963
+ {
20964
+ "id": "",
20965
+ "body": {
20966
+ "package": "himalaya",
20967
+ "type": "Skeleton",
20968
+ "props": {
20969
+ "height": 14,
20970
+ "cornerRadius": 4
20971
+ }
20972
+ },
20973
+ "modifiers": {
20974
+ "height": 14,
20975
+ "fillMaxWidth": true,
20976
+ "background": {
20977
+ "token": "surfaceSecondary"
20978
+ },
20979
+ "cornerRadius": 4,
20980
+ "accessibilityRole": "decorative",
20981
+ "weight": 2
20982
+ }
20983
+ },
20984
+ {
20985
+ "id": "",
20986
+ "body": {
20987
+ "package": "himalaya",
20988
+ "type": "Spacer",
20989
+ "props": {}
20990
+ },
20991
+ "modifiers": {
20992
+ "weight": 3
20993
+ }
20994
+ }
20995
+ ]
21321
20996
  }
21322
20997
  },
21323
20998
  "modifiers": {
21324
- "hiddenPath": "$service:himiBookingServices.collection.noMore"
20999
+ "fillMaxWidth": true
21325
21000
  }
21326
21001
  }
21327
21002
  ]
21328
21003
  }
21329
21004
  },
21330
21005
  "modifiers": {
21331
- "hiddenPath": "$service:himiBookingServices.collection.hideGrid"
21006
+ "weight": 1
21332
21007
  }
21333
21008
  }
21334
21009
  ]
21335
21010
  }
21336
21011
  },
21337
21012
  "modifiers": {
21338
- "hiddenPath": "$service:himiBookingServices.collection.hideComfortable",
21013
+ "fillMaxWidth": true,
21339
21014
  "padding": {
21340
- "bottom": 12
21015
+ "leading": 20,
21016
+ "trailing": 20,
21017
+ "top": 14,
21018
+ "bottom": 14
21341
21019
  }
21342
21020
  }
21343
21021
  },
@@ -21345,324 +21023,137 @@ const SCREENS = runtimeSetting({
21345
21023
  "id": "",
21346
21024
  "body": {
21347
21025
  "package": "himalaya",
21348
- "type": "VStack",
21026
+ "type": "Divider",
21027
+ "props": {}
21028
+ }
21029
+ }
21030
+ ]
21031
+ }
21032
+ },
21033
+ "modifiers": {
21034
+ "fillMaxWidth": true
21035
+ }
21036
+ }
21037
+ ]
21038
+ }
21039
+ },
21040
+ "modifiers": {
21041
+ "padding": {
21042
+ "leading": 0,
21043
+ "trailing": 0,
21044
+ "top": 12,
21045
+ "bottom": 0
21046
+ },
21047
+ "hiddenPath": "$service:himiBookingServices.collection.noLoading"
21048
+ }
21049
+ },
21050
+ {
21051
+ "id": "himi_services.list",
21052
+ "body": {
21053
+ "package": "himalaya",
21054
+ "type": "LazyList",
21055
+ "props": {
21056
+ "spacing": 0,
21057
+ "itemsPath": "$service:himiBookingServices.collection.items",
21058
+ "onPullToRefresh": {
21059
+ "actionId": "tier5.himiBookingServices.refresh"
21060
+ },
21061
+ "pagination": {
21062
+ "cursor": "$service:himiBookingServices.collection.cursor",
21063
+ "onLoadMore": {
21064
+ "actionId": "tier5.himiBookingServices.loadMore"
21065
+ },
21066
+ "pageSize": 50
21067
+ },
21068
+ "staggerMs": 30,
21069
+ "animateItems": true,
21070
+ "items": [
21071
+ {
21072
+ "id": "himi_services.row.$item.id",
21073
+ "body": {
21074
+ "package": "himalaya",
21075
+ "type": "VStack",
21076
+ "props": {
21077
+ "spacing": 0,
21078
+ "alignment": "leading",
21079
+ "children": [
21080
+ {
21081
+ "id": "",
21082
+ "body": {
21083
+ "package": "himalaya",
21084
+ "type": "HStack",
21349
21085
  "props": {
21350
- "spacing": 0,
21086
+ "spacing": 14,
21087
+ "alignment": "center",
21351
21088
  "children": [
21352
21089
  {
21353
- "id": "himi_services.list.collection.compact-list",
21090
+ "id": "himi_services.row.$item.id/image",
21354
21091
  "body": {
21355
21092
  "package": "himalaya",
21356
- "type": "LazyList",
21093
+ "type": "Image",
21357
21094
  "props": {
21358
- "spacing": 6,
21359
- "itemsPath": "$service:himiBookingServices.collection.items",
21360
- "onPullToRefresh": {
21361
- "actionId": "tier5.himiBookingServices.refresh"
21362
- },
21363
- "pagination": {
21364
- "cursor": "$service:himiBookingServices.collection.cursor",
21365
- "onLoadMore": {
21366
- "actionId": "tier5.himiBookingServices.loadMore"
21367
- },
21368
- "pageSize": 50
21369
- },
21370
- "items": [
21371
- {
21372
- "id": "himi_services.list.collection.compact-list.$item.collectionId",
21373
- "body": {
21374
- "package": "himalaya",
21375
- "type": "VStack",
21095
+ "url": "$item.image",
21096
+ "width": 72,
21097
+ "height": 72,
21098
+ "contentMode": "fill"
21099
+ }
21100
+ },
21101
+ "modifiers": {
21102
+ "accessibilityRole": "decorative",
21103
+ "cornerRadius": 8,
21104
+ "hiddenPath": "$item.noImage"
21105
+ }
21106
+ },
21107
+ {
21108
+ "id": "",
21109
+ "body": {
21110
+ "package": "himalaya",
21111
+ "type": "ZStack",
21112
+ "props": {
21113
+ "alignment": "center",
21114
+ "children": [
21115
+ {
21116
+ "id": "",
21117
+ "body": {
21118
+ "package": "himalaya",
21119
+ "type": "Image",
21376
21120
  "props": {
21377
- "spacing": 4,
21378
- "children": [
21379
- {
21380
- "id": "",
21381
- "body": {
21382
- "package": "himalaya",
21383
- "type": "HStack",
21384
- "props": {
21385
- "spacing": 12,
21386
- "children": [
21387
- {
21388
- "id": "himi_services.list.collection.compact-list.$item.collectionId/image",
21389
- "body": {
21390
- "package": "himalaya",
21391
- "type": "Image",
21392
- "props": {
21393
- "url": "$item.collectionImage",
21394
- "contentDescription": "$item.collectionTitle",
21395
- "contentMode": "fill",
21396
- "height": 56,
21397
- "width": 56
21398
- }
21399
- },
21400
- "modifiers": {
21401
- "cornerRadius": 12,
21402
- "hiddenPath": "$item.collectionNoImage"
21403
- }
21404
- },
21405
- {
21406
- "id": "",
21407
- "body": {
21408
- "package": "himalaya",
21409
- "type": "VStack",
21410
- "props": {
21411
- "spacing": 4,
21412
- "alignment": "leading",
21413
- "children": [
21414
- {
21415
- "id": "",
21416
- "body": {
21417
- "package": "himalaya",
21418
- "type": "Text",
21419
- "props": {
21420
- "text": "$item.collectionTitle",
21421
- "style": "bodyEmphasis",
21422
- "maxLines": 2
21423
- }
21424
- }
21425
- },
21426
- {
21427
- "id": "",
21428
- "body": {
21429
- "package": "himalaya",
21430
- "type": "Text",
21431
- "props": {
21432
- "text": "$item.collectionSubtitle",
21433
- "style": "caption",
21434
- "color": "textSecondary",
21435
- "maxLines": 1,
21436
- "collapseWhenEmpty": true
21437
- }
21438
- }
21439
- },
21440
- {
21441
- "id": "",
21442
- "body": {
21443
- "package": "himalaya",
21444
- "type": "Text",
21445
- "props": {
21446
- "text": "$item.collectionMeta",
21447
- "style": "caption",
21448
- "color": "textSecondary",
21449
- "maxLines": 2,
21450
- "collapseWhenEmpty": true
21451
- }
21452
- }
21453
- },
21454
- {
21455
- "id": "",
21456
- "body": {
21457
- "package": "himalaya",
21458
- "type": "Text",
21459
- "props": {
21460
- "text": "Saved",
21461
- "style": "caption",
21462
- "color": "accentPrimary"
21463
- }
21464
- },
21465
- "modifiers": {
21466
- "hiddenPath": "$item.collectionNotSaved"
21467
- }
21468
- }
21469
- ]
21470
- }
21471
- },
21472
- "modifiers": {
21473
- "weight": 1
21474
- }
21475
- },
21476
- {
21477
- "id": "",
21478
- "body": {
21479
- "package": "himalaya",
21480
- "type": "HStack",
21481
- "props": {
21482
- "spacing": 8,
21483
- "children": [
21484
- {
21485
- "id": "himi_services.list.collection.compact-list.$item.collectionId/select",
21486
- "body": {
21487
- "package": "himalaya",
21488
- "type": "Button",
21489
- "props": {
21490
- "title": "$item.collectionSelectLabel",
21491
- "style": "plain",
21492
- "fullWidth": false,
21493
- "action": {
21494
- "actionId": "tier5.himiBookingServices.collectionSelect",
21495
- "params": {
21496
- "id": "$item.collectionId"
21497
- }
21498
- }
21499
- }
21500
- },
21501
- "modifiers": {
21502
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
21503
- }
21504
- },
21505
- {
21506
- "id": "himi_services.list.collection.compact-list.$item.collectionId/primary",
21507
- "body": {
21508
- "package": "himalaya",
21509
- "type": "Button",
21510
- "props": {
21511
- "title": "Book",
21512
- "style": "secondary",
21513
- "fullWidth": false,
21514
- "action": {
21515
- "actionId": "himi.open",
21516
- "params": {
21517
- "screenId": "himi_time",
21518
- "id": "$item.collectionId"
21519
- }
21520
- }
21521
- }
21522
- }
21523
- },
21524
- {
21525
- "id": "himi_services.list.collection.compact-list.$item.collectionId/actions",
21526
- "body": {
21527
- "package": "himalaya",
21528
- "type": "Menu",
21529
- "props": {
21530
- "style": "dropdown",
21531
- "anchor": {
21532
- "id": "",
21533
- "body": {
21534
- "package": "himalaya",
21535
- "type": "Icon",
21536
- "props": {
21537
- "name": "ellipsis",
21538
- "size": 20
21539
- }
21540
- },
21541
- "modifiers": {
21542
- "width": 44,
21543
- "height": 44,
21544
- "accessibilityLabel": "$item.collectionActionsLabel"
21545
- }
21546
- },
21547
- "items": [
21548
- {
21549
- "id": "preview",
21550
- "label": "Quick preview",
21551
- "icon": "search",
21552
- "action": {
21553
- "actionId": "tier5.himiBookingServices.collectionPreview",
21554
- "params": {
21555
- "id": "$item.collectionId"
21556
- }
21557
- }
21558
- },
21559
- {
21560
- "id": "save",
21561
- "label": "$item.collectionSaveLabel",
21562
- "icon": "bookmark",
21563
- "action": {
21564
- "actionId": "tier5.himiBookingServices.collectionSave",
21565
- "params": {
21566
- "id": "$item.collectionId"
21567
- }
21568
- }
21569
- },
21570
- {
21571
- "id": "open",
21572
- "label": "Open details",
21573
- "icon": "chevron_right",
21574
- "action": {
21575
- "actionId": "himi.open",
21576
- "params": {
21577
- "screenId": "$item.detailScreenId",
21578
- "id": "$item.id"
21579
- }
21580
- }
21581
- }
21582
- ]
21583
- }
21584
- }
21585
- }
21586
- ]
21587
- }
21588
- },
21589
- "modifiers": {
21590
- "hiddenPath": "$item.collectionNoIdentity"
21591
- }
21592
- }
21593
- ]
21594
- }
21595
- }
21596
- }
21597
- ]
21121
+ "url": "",
21122
+ "width": 72,
21123
+ "height": 72,
21124
+ "contentMode": "fill"
21598
21125
  }
21599
21126
  },
21600
21127
  "modifiers": {
21601
- "onTap": {
21602
- "actionId": "himi.open",
21603
- "params": {
21604
- "screenId": "$item.detailScreenId",
21605
- "id": "$item.id"
21606
- }
21607
- },
21608
- "haptic": "light",
21128
+ "accessibilityRole": "decorative",
21129
+ "cornerRadius": 8,
21609
21130
  "background": {
21610
- "token": "surfaceElevated"
21611
- },
21612
- "border": {
21613
- "width": 1,
21614
- "color": {
21615
- "token": "border"
21616
- }
21617
- },
21618
- "cornerRadius": 12,
21619
- "padding": {
21620
- "top": 8,
21621
- "bottom": 8,
21622
- "leading": 12,
21623
- "trailing": 12
21624
- },
21625
- "fillMaxWidth": true,
21626
- "accessibilityLabel": "$item.collectionTitle",
21627
- "pressFeedback": "scale",
21628
- "transition": {
21629
- "enter": "fadeSlide",
21630
- "direction": "up",
21631
- "distance": 8
21131
+ "token": "surfaceSecondary"
21632
21132
  }
21633
21133
  }
21634
- }
21635
- ],
21636
- "staggerMs": 30,
21637
- "animateItems": true,
21638
- "rowSwipeActions": {
21639
- "trailing": [
21640
- {
21641
- "label": "$item.collectionSaveLabel",
21642
- "icon": "bookmark",
21643
- "action": {
21644
- "actionId": "tier5.himiBookingServices.collectionSave",
21645
- "params": {
21646
- "id": "$item.collectionId"
21647
- }
21134
+ },
21135
+ {
21136
+ "id": "",
21137
+ "body": {
21138
+ "package": "himalaya",
21139
+ "type": "Icon",
21140
+ "props": {
21141
+ "name": "image",
21142
+ "size": 24,
21143
+ "tint": "accentPrimary"
21648
21144
  }
21649
21145
  },
21650
- {
21651
- "label": "Preview",
21652
- "icon": "search",
21653
- "action": {
21654
- "actionId": "tier5.himiBookingServices.collectionPreview",
21655
- "params": {
21656
- "id": "$item.collectionId"
21657
- }
21658
- }
21146
+ "modifiers": {
21147
+ "accessibilityRole": "decorative"
21659
21148
  }
21660
- ]
21661
- }
21149
+ }
21150
+ ]
21662
21151
  }
21663
21152
  },
21664
21153
  "modifiers": {
21665
- "hiddenPath": "$service:himiBookingServices.collection.hideList"
21154
+ "width": 72,
21155
+ "height": 72,
21156
+ "hiddenPath": "$item.hasImage"
21666
21157
  }
21667
21158
  },
21668
21159
  {
@@ -21671,1018 +21162,209 @@ const SCREENS = runtimeSetting({
21671
21162
  "package": "himalaya",
21672
21163
  "type": "VStack",
21673
21164
  "props": {
21674
- "spacing": 12,
21165
+ "spacing": 3,
21166
+ "alignment": "leading",
21675
21167
  "children": [
21676
21168
  {
21677
- "id": "himi_services.list.collection.compact-grid",
21169
+ "id": "",
21678
21170
  "body": {
21679
21171
  "package": "himalaya",
21680
- "type": "Grid",
21172
+ "type": "Text",
21681
21173
  "props": {
21682
- "columns": 2,
21683
- "columnsMedium": 3,
21684
- "columnsExpanded": 4,
21685
- "spacing": 8,
21686
- "staggerMs": 30,
21687
- "itemsPath": "$service:himiBookingServices.collection.items",
21688
- "items": [
21689
- {
21690
- "id": "himi_services.list.collection.compact-grid.$item.collectionId",
21691
- "body": {
21692
- "package": "himalaya",
21693
- "type": "VStack",
21694
- "props": {
21695
- "spacing": 8,
21696
- "alignment": "leading",
21697
- "children": [
21698
- {
21699
- "id": "",
21700
- "body": {
21701
- "package": "himalaya",
21702
- "type": "VStack",
21703
- "props": {
21704
- "spacing": 0,
21705
- "children": [
21706
- {
21707
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/image",
21708
- "body": {
21709
- "package": "himalaya",
21710
- "type": "Image",
21711
- "props": {
21712
- "url": "$item.collectionImage",
21713
- "contentDescription": "$item.collectionTitle",
21714
- "contentMode": "fill",
21715
- "height": 80,
21716
- "fillWidth": true
21717
- }
21718
- },
21719
- "modifiers": {
21720
- "cornerRadius": 12,
21721
- "hiddenPath": "$item.collectionNoImage"
21722
- }
21723
- },
21724
- {
21725
- "id": "",
21726
- "body": {
21727
- "package": "himalaya",
21728
- "type": "ZStack",
21729
- "props": {
21730
- "alignment": "center",
21731
- "children": [
21732
- {
21733
- "id": "",
21734
- "body": {
21735
- "package": "himalaya",
21736
- "type": "Icon",
21737
- "props": {
21738
- "name": "photo",
21739
- "size": 28,
21740
- "tint": "accentPrimary"
21741
- }
21742
- },
21743
- "modifiers": {
21744
- "accessibilityRole": "decorative"
21745
- }
21746
- }
21747
- ]
21748
- }
21749
- },
21750
- "modifiers": {
21751
- "height": 80,
21752
- "fillMaxWidth": true,
21753
- "cornerRadius": 12,
21754
- "background": {
21755
- "token": "surfaceSecondary"
21756
- },
21757
- "accessibilityLabel": "No image available",
21758
- "hiddenPath": "$item.collectionHasImage"
21759
- }
21760
- }
21761
- ]
21762
- }
21763
- }
21764
- },
21765
- {
21766
- "id": "",
21767
- "body": {
21768
- "package": "himalaya",
21769
- "type": "VStack",
21770
- "props": {
21771
- "spacing": 4,
21772
- "alignment": "leading",
21773
- "children": [
21774
- {
21775
- "id": "",
21776
- "body": {
21777
- "package": "himalaya",
21778
- "type": "Text",
21779
- "props": {
21780
- "text": "$item.collectionTitle",
21781
- "style": "bodyEmphasis",
21782
- "maxLines": 2
21783
- }
21784
- }
21785
- },
21786
- {
21787
- "id": "",
21788
- "body": {
21789
- "package": "himalaya",
21790
- "type": "Text",
21791
- "props": {
21792
- "text": "$item.collectionSubtitle",
21793
- "style": "caption",
21794
- "color": "textSecondary",
21795
- "maxLines": 1,
21796
- "collapseWhenEmpty": true
21797
- }
21798
- }
21799
- },
21800
- {
21801
- "id": "",
21802
- "body": {
21803
- "package": "himalaya",
21804
- "type": "Text",
21805
- "props": {
21806
- "text": "$item.collectionMeta",
21807
- "style": "caption",
21808
- "color": "textSecondary",
21809
- "maxLines": 2,
21810
- "collapseWhenEmpty": true
21811
- }
21812
- }
21813
- },
21814
- {
21815
- "id": "",
21816
- "body": {
21817
- "package": "himalaya",
21818
- "type": "Text",
21819
- "props": {
21820
- "text": "Saved",
21821
- "style": "caption",
21822
- "color": "accentPrimary"
21823
- }
21824
- },
21825
- "modifiers": {
21826
- "hiddenPath": "$item.collectionNotSaved"
21827
- }
21828
- }
21829
- ]
21830
- }
21831
- }
21832
- },
21833
- {
21834
- "id": "",
21835
- "body": {
21836
- "package": "himalaya",
21837
- "type": "HStack",
21838
- "props": {
21839
- "spacing": 8,
21840
- "children": [
21841
- {
21842
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/select",
21843
- "body": {
21844
- "package": "himalaya",
21845
- "type": "Button",
21846
- "props": {
21847
- "title": "$item.collectionSelectLabel",
21848
- "style": "plain",
21849
- "fullWidth": false,
21850
- "action": {
21851
- "actionId": "tier5.himiBookingServices.collectionSelect",
21852
- "params": {
21853
- "id": "$item.collectionId"
21854
- }
21855
- }
21856
- }
21857
- },
21858
- "modifiers": {
21859
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
21860
- }
21861
- },
21862
- {
21863
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/primary",
21864
- "body": {
21865
- "package": "himalaya",
21866
- "type": "Button",
21867
- "props": {
21868
- "title": "Book",
21869
- "style": "secondary",
21870
- "fullWidth": false,
21871
- "action": {
21872
- "actionId": "himi.open",
21873
- "params": {
21874
- "screenId": "himi_time",
21875
- "id": "$item.collectionId"
21876
- }
21877
- }
21878
- }
21879
- }
21880
- },
21881
- {
21882
- "id": "",
21883
- "body": {
21884
- "package": "himalaya",
21885
- "type": "Spacer",
21886
- "props": {}
21887
- }
21888
- },
21889
- {
21890
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/actions",
21891
- "body": {
21892
- "package": "himalaya",
21893
- "type": "Menu",
21894
- "props": {
21895
- "style": "dropdown",
21896
- "anchor": {
21897
- "id": "",
21898
- "body": {
21899
- "package": "himalaya",
21900
- "type": "Icon",
21901
- "props": {
21902
- "name": "ellipsis",
21903
- "size": 20
21904
- }
21905
- },
21906
- "modifiers": {
21907
- "width": 44,
21908
- "height": 44,
21909
- "accessibilityLabel": "$item.collectionActionsLabel"
21910
- }
21911
- },
21912
- "items": [
21913
- {
21914
- "id": "preview",
21915
- "label": "Quick preview",
21916
- "icon": "search",
21917
- "action": {
21918
- "actionId": "tier5.himiBookingServices.collectionPreview",
21919
- "params": {
21920
- "id": "$item.collectionId"
21921
- }
21922
- }
21923
- },
21924
- {
21925
- "id": "save",
21926
- "label": "$item.collectionSaveLabel",
21927
- "icon": "bookmark",
21928
- "action": {
21929
- "actionId": "tier5.himiBookingServices.collectionSave",
21930
- "params": {
21931
- "id": "$item.collectionId"
21932
- }
21933
- }
21934
- },
21935
- {
21936
- "id": "open",
21937
- "label": "Open details",
21938
- "icon": "chevron_right",
21939
- "action": {
21940
- "actionId": "himi.open",
21941
- "params": {
21942
- "screenId": "$item.detailScreenId",
21943
- "id": "$item.id"
21944
- }
21945
- }
21946
- }
21947
- ]
21948
- }
21949
- }
21950
- }
21951
- ]
21952
- }
21953
- },
21954
- "modifiers": {
21955
- "hiddenPath": "$item.collectionNoIdentity"
21956
- }
21957
- }
21958
- ]
21959
- }
21960
- },
21961
- "modifiers": {
21962
- "onTap": {
21963
- "actionId": "himi.open",
21964
- "params": {
21965
- "screenId": "$item.detailScreenId",
21966
- "id": "$item.id"
21967
- }
21968
- },
21969
- "haptic": "light",
21970
- "background": {
21971
- "token": "surfaceElevated"
21972
- },
21973
- "border": {
21974
- "width": 1,
21975
- "color": {
21976
- "token": "border"
21977
- }
21978
- },
21979
- "cornerRadius": 12,
21980
- "padding": {
21981
- "top": 8,
21982
- "bottom": 8,
21983
- "leading": 12,
21984
- "trailing": 12
21985
- },
21986
- "fillMaxWidth": true,
21987
- "accessibilityLabel": "$item.collectionTitle",
21988
- "pressFeedback": "scale",
21989
- "transition": {
21990
- "enter": "fadeSlide",
21991
- "direction": "up",
21992
- "distance": 8
21993
- }
21994
- }
21995
- }
21996
- ]
21174
+ "text": "$item.typeTag",
21175
+ "style": "caption",
21176
+ "color": "textSecondary",
21177
+ "maxLines": 1
21997
21178
  }
21179
+ },
21180
+ "modifiers": {
21181
+ "background": {
21182
+ "token": "surfaceTertiary"
21183
+ },
21184
+ "cornerRadius": 4,
21185
+ "padding": {
21186
+ "leading": 8,
21187
+ "trailing": 8,
21188
+ "top": 2,
21189
+ "bottom": 2
21190
+ },
21191
+ "hiddenPath": "$item.noTypeTag"
21998
21192
  }
21999
21193
  },
22000
21194
  {
22001
- "id": "himi_services.list.collection.compact-more",
21195
+ "id": "",
22002
21196
  "body": {
22003
21197
  "package": "himalaya",
22004
- "type": "Button",
21198
+ "type": "Text",
22005
21199
  "props": {
22006
- "title": "Load more",
22007
- "style": "secondary",
22008
- "action": {
22009
- "actionId": "tier5.himiBookingServices.loadMore"
22010
- }
21200
+ "text": "$item.name",
21201
+ "style": "bodyEmphasis",
21202
+ "maxLines": 2
22011
21203
  }
22012
- },
22013
- "modifiers": {
22014
- "hiddenPath": "$service:himiBookingServices.collection.noMore"
22015
21204
  }
22016
- }
22017
- ]
22018
- }
22019
- },
22020
- "modifiers": {
22021
- "hiddenPath": "$service:himiBookingServices.collection.hideGrid"
22022
- }
22023
- }
22024
- ]
22025
- }
22026
- },
22027
- "modifiers": {
22028
- "hiddenPath": "$service:himiBookingServices.collection.hideCompact",
22029
- "padding": {
22030
- "bottom": 12
22031
- }
22032
- }
22033
- },
22034
- {
22035
- "id": "",
22036
- "body": {
22037
- "package": "himalaya",
22038
- "type": "VStack",
22039
- "props": {
22040
- "spacing": 8,
22041
- "children": [
22042
- {
22043
- "id": "",
22044
- "body": {
22045
- "package": "himalaya",
22046
- "type": "Text",
22047
- "props": {
22048
- "text": "No matching items",
22049
- "style": "bodyEmphasis"
22050
- }
22051
- }
22052
- },
22053
- {
22054
- "id": "btn_tier5_himibookingservices_collectionclear",
22055
- "body": {
22056
- "package": "himalaya",
22057
- "type": "Button",
22058
- "props": {
22059
- "title": "Clear filters",
22060
- "style": "secondary",
22061
- "action": {
22062
- "actionId": "tier5.himiBookingServices.collectionClear"
22063
- }
22064
- }
22065
- }
22066
- }
22067
- ]
22068
- }
22069
- },
22070
- "modifiers": {
22071
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty",
22072
- "padding": {
22073
- "bottom": 12
22074
- }
22075
- }
22076
- },
22077
- {
22078
- "id": "himi_services.list.collection.sheet",
22079
- "body": {
22080
- "package": "himalaya",
22081
- "type": "BottomSheet",
22082
- "props": {
22083
- "presentedPath": "$service:himiBookingServices.collection.filtersPresented",
22084
- "dismissible": true,
22085
- "showGrabber": true,
22086
- "onDismiss": {
22087
- "actionId": "tier5.himiBookingServices.collectionDismissFilters"
22088
- },
22089
- "content": {
22090
- "id": "",
22091
- "body": {
22092
- "package": "himalaya",
22093
- "type": "VStack",
22094
- "props": {
22095
- "spacing": 16,
22096
- "children": [
22097
- {
22098
- "id": "",
22099
- "body": {
22100
- "package": "himalaya",
22101
- "type": "Text",
22102
- "props": {
22103
- "text": "Make this view yours",
22104
- "style": "title2"
22105
- }
22106
- }
22107
- },
22108
- {
22109
- "id": "",
22110
- "body": {
22111
- "package": "himalaya",
22112
- "type": "Text",
22113
- "props": {
22114
- "text": "$service:himiBookingServices.collection.persistenceLabel",
22115
- "style": "caption",
22116
- "color": "textSecondary"
21205
+ },
21206
+ {
21207
+ "id": "",
21208
+ "body": {
21209
+ "package": "himalaya",
21210
+ "type": "Text",
21211
+ "props": {
21212
+ "text": "$item.tagline",
21213
+ "style": "caption",
21214
+ "color": "textSecondary",
21215
+ "maxLines": 2,
21216
+ "collapseWhenEmpty": true
21217
+ }
22117
21218
  }
22118
- }
22119
- },
22120
- {
22121
- "id": "",
22122
- "body": {
22123
- "package": "himalaya",
22124
- "type": "Text",
22125
- "props": {
22126
- "text": "Sort results",
22127
- "style": "bodyEmphasis"
21219
+ },
21220
+ {
21221
+ "id": "",
21222
+ "body": {
21223
+ "package": "himalaya",
21224
+ "type": "Text",
21225
+ "props": {
21226
+ "text": "$item.meta",
21227
+ "style": "footnote",
21228
+ "color": "textSecondary",
21229
+ "maxLines": 2,
21230
+ "collapseWhenEmpty": true
21231
+ }
22128
21232
  }
22129
21233
  }
22130
- },
22131
- {
22132
- "id": "segmented_tier5_himibookingservices_collectionsort",
22133
- "body": {
22134
- "package": "himalaya",
22135
- "type": "SegmentedControl",
22136
- "props": {
22137
- "options": [
22138
- {
22139
- "id": "default",
22140
- "label": "Original"
22141
- },
22142
- {
22143
- "id": "az",
22144
- "label": "A–Z"
22145
- },
22146
- {
22147
- "id": "za",
22148
- "label": "Z–A"
22149
- }
22150
- ],
22151
- "selectedId": "$service:himiBookingServices.collection.sort",
22152
- "onChange": {
22153
- "actionId": "tier5.himiBookingServices.collectionSort"
22154
- }
22155
- }
22156
- }
22157
- },
22158
- {
22159
- "id": "",
22160
- "body": {
22161
- "package": "himalaya",
22162
- "type": "Text",
22163
- "props": {
22164
- "text": "Density",
22165
- "style": "bodyEmphasis"
22166
- }
22167
- }
22168
- },
22169
- {
22170
- "id": "segmented_tier5_himibookingservices_collectiondensity",
22171
- "body": {
22172
- "package": "himalaya",
22173
- "type": "SegmentedControl",
22174
- "props": {
22175
- "options": [
22176
- {
22177
- "id": "comfortable",
22178
- "label": "Comfortable"
22179
- },
22180
- {
22181
- "id": "compact",
22182
- "label": "Compact"
22183
- }
22184
- ],
22185
- "selectedId": "$service:himiBookingServices.collection.density",
22186
- "onChange": {
22187
- "actionId": "tier5.himiBookingServices.collectionDensity"
22188
- }
22189
- }
22190
- }
22191
- },
22192
- {
22193
- "id": "",
22194
- "body": {
22195
- "package": "himalaya",
22196
- "type": "Text",
22197
- "props": {
22198
- "text": "Saved views",
22199
- "style": "bodyEmphasis"
22200
- }
22201
- }
22202
- },
22203
- {
22204
- "id": "",
22205
- "body": {
22206
- "package": "himalaya",
22207
- "type": "LazyList",
22208
- "props": {
22209
- "itemsPath": "$service:himiBookingServices.collection.savedViews",
22210
- "items": [
22211
- {
22212
- "id": "",
22213
- "body": {
22214
- "package": "himalaya",
22215
- "type": "HStack",
22216
- "props": {
22217
- "spacing": 8,
22218
- "children": [
22219
- {
22220
- "id": "btn_tier5_himibookingservices_collectionapplyview",
22221
- "body": {
22222
- "package": "himalaya",
22223
- "type": "Button",
22224
- "props": {
22225
- "title": "$item.name",
22226
- "style": "secondary",
22227
- "action": {
22228
- "actionId": "tier5.himiBookingServices.collectionApplyView",
22229
- "params": {
22230
- "id": "$item.id"
22231
- }
22232
- }
22233
- }
22234
- }
22235
- },
22236
- {
22237
- "id": "btn_tier5_himibookingservices_collectionremoveview",
22238
- "body": {
22239
- "package": "himalaya",
22240
- "type": "Button",
22241
- "props": {
22242
- "title": "Remove",
22243
- "style": "plain",
22244
- "action": {
22245
- "actionId": "tier5.himiBookingServices.collectionRemoveView",
22246
- "params": {
22247
- "id": "$item.id"
22248
- }
22249
- }
22250
- }
22251
- }
22252
- }
22253
- ]
22254
- }
22255
- }
22256
- }
22257
- ]
22258
- }
22259
- },
22260
- "modifiers": {
22261
- "hiddenPath": "$service:himiBookingServices.collection.noSavedViews"
22262
- }
22263
- },
22264
- {
22265
- "id": "himi_services.list.collection.view-name",
22266
- "body": {
22267
- "package": "himalaya",
22268
- "type": "TextField",
22269
- "props": {
22270
- "placeholder": "Name this view",
22271
- "valuePath": "$service:himiBookingServices.collection.viewName",
22272
- "onChange": {
22273
- "actionId": "tier5.himiBookingServices.collectionViewName"
22274
- }
22275
- }
22276
- }
22277
- },
22278
- {
22279
- "id": "himi_services.list.collection.remember-view",
22280
- "body": {
22281
- "package": "himalaya",
22282
- "type": "Button",
22283
- "props": {
22284
- "title": "Save current view",
22285
- "style": "secondary",
22286
- "action": {
22287
- "actionId": "tier5.himiBookingServices.collectionRememberView"
22288
- }
22289
- }
22290
- }
22291
- },
22292
- {
22293
- "id": "",
22294
- "body": {
22295
- "package": "himalaya",
22296
- "type": "Text",
22297
- "props": {
22298
- "text": "$service:himiBookingServices.collection.viewMessage",
22299
- "style": "caption",
22300
- "collapseWhenEmpty": true
22301
- }
22302
- }
22303
- },
22304
- {
22305
- "id": "btn_tier5_himibookingservices_collectiondismissfilters",
22306
- "body": {
22307
- "package": "himalaya",
22308
- "type": "Button",
22309
- "props": {
22310
- "title": "Done",
22311
- "style": "primary",
22312
- "action": {
22313
- "actionId": "tier5.himiBookingServices.collectionDismissFilters"
22314
- },
22315
- "fullWidth": true
22316
- }
22317
- }
22318
- }
22319
- ]
22320
- }
22321
- },
22322
- "modifiers": {
22323
- "padding": {
22324
- "leading": 20,
22325
- "trailing": 20,
22326
- "top": 20,
22327
- "bottom": 24
22328
- }
22329
- }
22330
- }
22331
- }
22332
- }
22333
- },
22334
- {
22335
- "id": "himi_services.list.collection.preview",
22336
- "body": {
22337
- "package": "himalaya",
22338
- "type": "BottomSheet",
22339
- "props": {
22340
- "presentedPath": "$service:himiBookingServices.collection.previewPresented",
22341
- "dismissible": true,
22342
- "showGrabber": true,
22343
- "onDismiss": {
22344
- "actionId": "tier5.himiBookingServices.collectionDismissPreview"
22345
- },
22346
- "content": {
22347
- "id": "",
22348
- "body": {
22349
- "package": "himalaya",
22350
- "type": "Grid",
22351
- "props": {
22352
- "columns": 1,
22353
- "itemsPath": "$service:himiBookingServices.collection.preview",
22354
- "items": [
22355
- {
22356
- "id": "himi_services.list.collection.preview.$item.collectionId",
22357
- "body": {
22358
- "package": "himalaya",
22359
- "type": "VStack",
22360
- "props": {
22361
- "spacing": 8,
22362
- "alignment": "leading",
22363
- "children": [
22364
- {
22365
- "id": "",
22366
- "body": {
22367
- "package": "himalaya",
22368
- "type": "VStack",
22369
- "props": {
22370
- "spacing": 0,
22371
- "children": [
22372
- {
22373
- "id": "himi_services.list.collection.preview.$item.collectionId/image",
22374
- "body": {
22375
- "package": "himalaya",
22376
- "type": "Image",
22377
- "props": {
22378
- "url": "$item.collectionImage",
22379
- "contentDescription": "$item.collectionTitle",
22380
- "contentMode": "fill",
22381
- "height": 112,
22382
- "fillWidth": true
22383
- }
22384
- },
22385
- "modifiers": {
22386
- "cornerRadius": 12,
22387
- "hiddenPath": "$item.collectionNoImage"
22388
- }
22389
- },
22390
- {
22391
- "id": "",
22392
- "body": {
22393
- "package": "himalaya",
22394
- "type": "ZStack",
22395
- "props": {
22396
- "alignment": "center",
22397
- "children": [
22398
- {
22399
- "id": "",
22400
- "body": {
22401
- "package": "himalaya",
22402
- "type": "Icon",
22403
- "props": {
22404
- "name": "photo",
22405
- "size": 28,
22406
- "tint": "accentPrimary"
22407
- }
22408
- },
22409
- "modifiers": {
22410
- "accessibilityRole": "decorative"
22411
- }
22412
- }
22413
- ]
22414
- }
22415
- },
22416
- "modifiers": {
22417
- "height": 112,
22418
- "fillMaxWidth": true,
22419
- "cornerRadius": 12,
22420
- "background": {
22421
- "token": "surfaceSecondary"
22422
- },
22423
- "accessibilityLabel": "No image available",
22424
- "hiddenPath": "$item.collectionHasImage"
22425
- }
22426
- }
22427
- ]
22428
- }
22429
- }
22430
- },
22431
- {
22432
- "id": "",
22433
- "body": {
22434
- "package": "himalaya",
22435
- "type": "VStack",
22436
- "props": {
22437
- "spacing": 4,
22438
- "alignment": "leading",
22439
- "children": [
22440
- {
22441
- "id": "",
22442
- "body": {
22443
- "package": "himalaya",
22444
- "type": "Text",
22445
- "props": {
22446
- "text": "$item.collectionTitle",
22447
- "style": "bodyEmphasis",
22448
- "maxLines": 2
22449
- }
22450
- }
22451
- },
22452
- {
22453
- "id": "",
22454
- "body": {
22455
- "package": "himalaya",
22456
- "type": "Text",
22457
- "props": {
22458
- "text": "$item.collectionSubtitle",
22459
- "style": "caption",
22460
- "color": "textSecondary",
22461
- "maxLines": 3,
22462
- "collapseWhenEmpty": true
22463
- }
22464
- }
22465
- },
22466
- {
22467
- "id": "",
22468
- "body": {
22469
- "package": "himalaya",
22470
- "type": "Text",
22471
- "props": {
22472
- "text": "$item.collectionMeta",
22473
- "style": "caption",
22474
- "color": "textSecondary",
22475
- "maxLines": 2,
22476
- "collapseWhenEmpty": true
22477
- }
22478
- }
22479
- },
22480
- {
22481
- "id": "",
22482
- "body": {
22483
- "package": "himalaya",
22484
- "type": "Text",
22485
- "props": {
22486
- "text": "Saved",
22487
- "style": "caption",
22488
- "color": "accentPrimary"
22489
- }
22490
- },
22491
- "modifiers": {
22492
- "hiddenPath": "$item.collectionNotSaved"
22493
- }
22494
- }
22495
- ]
22496
- }
22497
- }
22498
- },
22499
- {
22500
- "id": "",
22501
- "body": {
22502
- "package": "himalaya",
22503
- "type": "HStack",
22504
- "props": {
22505
- "spacing": 8,
22506
- "children": [
22507
- {
22508
- "id": "himi_services.list.collection.preview.$item.collectionId/select",
22509
- "body": {
22510
- "package": "himalaya",
22511
- "type": "Button",
22512
- "props": {
22513
- "title": "$item.collectionSelectLabel",
22514
- "style": "plain",
22515
- "fullWidth": false,
22516
- "action": {
22517
- "actionId": "tier5.himiBookingServices.collectionSelect",
22518
- "params": {
22519
- "id": "$item.collectionId"
22520
- }
22521
- }
22522
- }
22523
- },
22524
- "modifiers": {
22525
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
22526
- }
22527
- },
22528
- {
22529
- "id": "himi_services.list.collection.preview.$item.collectionId/primary",
22530
- "body": {
22531
- "package": "himalaya",
22532
- "type": "Button",
22533
- "props": {
22534
- "title": "Book",
22535
- "style": "secondary",
22536
- "fullWidth": false,
22537
- "action": {
22538
- "actionId": "himi.open",
22539
- "params": {
22540
- "screenId": "himi_time",
22541
- "id": "$item.collectionId"
22542
- }
22543
- }
22544
- }
22545
- }
22546
- },
22547
- {
22548
- "id": "",
22549
- "body": {
22550
- "package": "himalaya",
22551
- "type": "Spacer",
22552
- "props": {}
22553
- }
22554
- },
22555
- {
22556
- "id": "himi_services.list.collection.preview.$item.collectionId/actions",
22557
- "body": {
22558
- "package": "himalaya",
22559
- "type": "Menu",
22560
- "props": {
22561
- "style": "dropdown",
22562
- "anchor": {
22563
- "id": "",
22564
- "body": {
22565
- "package": "himalaya",
22566
- "type": "Icon",
22567
- "props": {
22568
- "name": "ellipsis",
22569
- "size": 20
22570
- }
22571
- },
22572
- "modifiers": {
22573
- "width": 44,
22574
- "height": 44,
22575
- "accessibilityLabel": "$item.collectionActionsLabel"
22576
- }
22577
- },
22578
- "items": [
22579
- {
22580
- "id": "preview",
22581
- "label": "Quick preview",
22582
- "icon": "search",
22583
- "action": {
22584
- "actionId": "tier5.himiBookingServices.collectionPreview",
22585
- "params": {
22586
- "id": "$item.collectionId"
22587
- }
22588
- }
22589
- },
22590
- {
22591
- "id": "save",
22592
- "label": "$item.collectionSaveLabel",
22593
- "icon": "bookmark",
22594
- "action": {
22595
- "actionId": "tier5.himiBookingServices.collectionSave",
22596
- "params": {
22597
- "id": "$item.collectionId"
22598
- }
22599
- }
22600
- },
22601
- {
22602
- "id": "open",
22603
- "label": "Open details",
22604
- "icon": "chevron_right",
22605
- "action": {
22606
- "actionId": "himi.open",
22607
- "params": {
22608
- "screenId": "$item.detailScreenId",
22609
- "id": "$item.id"
22610
- }
22611
- }
22612
- }
22613
- ]
22614
- }
22615
- }
22616
- }
22617
- ]
21234
+ ]
21235
+ }
21236
+ },
21237
+ "modifiers": {
21238
+ "weight": 1
21239
+ }
21240
+ },
21241
+ {
21242
+ "id": "himi_services.row.$item.id/book",
21243
+ "body": {
21244
+ "package": "himalaya",
21245
+ "type": "VStack",
21246
+ "props": {
21247
+ "spacing": 0,
21248
+ "children": [
21249
+ {
21250
+ "id": "",
21251
+ "body": {
21252
+ "package": "himalaya",
21253
+ "type": "HStack",
21254
+ "props": {
21255
+ "spacing": 0,
21256
+ "alignment": "center",
21257
+ "children": [
21258
+ {
21259
+ "id": "",
21260
+ "body": {
21261
+ "package": "himalaya",
21262
+ "type": "Text",
21263
+ "props": {
21264
+ "text": "$item.bookCta",
21265
+ "style": "footnote",
21266
+ "color": "textPrimary",
21267
+ "maxLines": 1
21268
+ }
22618
21269
  }
22619
- },
22620
- "modifiers": {
22621
- "hiddenPath": "$item.collectionNoIdentity"
22622
21270
  }
22623
- }
22624
- ]
22625
- }
22626
- },
22627
- "modifiers": {
22628
- "onTap": {
22629
- "actionId": "himi.open",
22630
- "params": {
22631
- "screenId": "$item.detailScreenId",
22632
- "id": "$item.id"
21271
+ ]
22633
21272
  }
22634
21273
  },
22635
- "haptic": "light",
22636
- "background": {
22637
- "token": "surfaceElevated"
22638
- },
22639
- "border": {
22640
- "width": 1,
22641
- "color": {
22642
- "token": "border"
21274
+ "modifiers": {
21275
+ "height": 36,
21276
+ "padding": {
21277
+ "leading": 16,
21278
+ "trailing": 16,
21279
+ "top": 0,
21280
+ "bottom": 0
21281
+ },
21282
+ "cornerRadius": 18,
21283
+ "border": {
21284
+ "width": 1,
21285
+ "color": {
21286
+ "token": "textPrimary"
21287
+ }
22643
21288
  }
22644
- },
22645
- "cornerRadius": 12,
22646
- "padding": {
22647
- "top": 12,
22648
- "bottom": 12,
22649
- "leading": 12,
22650
- "trailing": 12
22651
- },
22652
- "fillMaxWidth": true,
22653
- "accessibilityLabel": "$item.collectionTitle",
22654
- "pressFeedback": "scale",
22655
- "transition": {
22656
- "enter": "fadeSlide",
22657
- "direction": "up",
22658
- "distance": 8
22659
21289
  }
22660
21290
  }
21291
+ ]
21292
+ }
21293
+ },
21294
+ "modifiers": {
21295
+ "padding": {
21296
+ "leading": 0,
21297
+ "trailing": 0,
21298
+ "top": 4,
21299
+ "bottom": 4
21300
+ },
21301
+ "onTap": {
21302
+ "actionId": "himi.open",
21303
+ "params": {
21304
+ "screenId": "himi_time",
21305
+ "id": "$item.id"
22661
21306
  }
22662
- ]
22663
- }
22664
- },
22665
- "modifiers": {
22666
- "padding": {
22667
- "leading": 20,
22668
- "trailing": 20,
22669
- "top": 20,
22670
- "bottom": 24
21307
+ },
21308
+ "accessibilityRole": "button",
21309
+ "accessibilityLabel": "$item.bookA11y",
21310
+ "pressFeedback": "scale",
21311
+ "haptic": "light",
21312
+ "hiddenPath": "$item.noBook"
22671
21313
  }
22672
21314
  }
22673
- }
21315
+ ]
21316
+ }
21317
+ },
21318
+ "modifiers": {
21319
+ "fillMaxWidth": true,
21320
+ "padding": {
21321
+ "leading": 20,
21322
+ "trailing": 20,
21323
+ "top": 14,
21324
+ "bottom": 14
22674
21325
  }
22675
21326
  }
21327
+ },
21328
+ {
21329
+ "id": "",
21330
+ "body": {
21331
+ "package": "himalaya",
21332
+ "type": "Divider",
21333
+ "props": {}
21334
+ }
22676
21335
  }
22677
21336
  ]
22678
21337
  }
21338
+ },
21339
+ "modifiers": {
21340
+ "onTap": {
21341
+ "actionId": "himi.open",
21342
+ "params": {
21343
+ "screenId": "$item.detailScreenId",
21344
+ "id": "$item.id"
21345
+ }
21346
+ },
21347
+ "pressFeedback": "highlight",
21348
+ "haptic": "light",
21349
+ "accessibilityLabel": "$item.a11y",
21350
+ "transition": {
21351
+ "enter": "fadeSlide",
21352
+ "direction": "up",
21353
+ "distance": 8
21354
+ }
22679
21355
  }
22680
21356
  }
22681
21357
  ]
22682
21358
  }
22683
21359
  },
22684
21360
  "modifiers": {
22685
- "hiddenPath": "$service:himiBookingServices.isLoading"
21361
+ "padding": {
21362
+ "leading": 0,
21363
+ "trailing": 0,
21364
+ "top": 12,
21365
+ "bottom": 0
21366
+ },
21367
+ "hiddenPath": "$service:himiBookingServices.hideRows"
22686
21368
  }
22687
21369
  },
22688
21370
  {
@@ -22691,7 +21373,55 @@ const SCREENS = runtimeSetting({
22691
21373
  "package": "himalaya",
22692
21374
  "type": "VStack",
22693
21375
  "props": {
22694
- "spacing": 12,
21376
+ "spacing": 8,
21377
+ "alignment": "leading",
21378
+ "children": [
21379
+ {
21380
+ "id": "",
21381
+ "body": {
21382
+ "package": "himalaya",
21383
+ "type": "Text",
21384
+ "props": {
21385
+ "text": "More services did not load.",
21386
+ "style": "caption",
21387
+ "color": "textSecondary"
21388
+ }
21389
+ }
21390
+ },
21391
+ {
21392
+ "id": "himi_services.retry_page",
21393
+ "body": {
21394
+ "package": "himalaya",
21395
+ "type": "Button",
21396
+ "props": {
21397
+ "title": "Try again",
21398
+ "style": "secondary",
21399
+ "action": {
21400
+ "actionId": "tier5.himiBookingServices.retry"
21401
+ }
21402
+ }
21403
+ }
21404
+ }
21405
+ ]
21406
+ }
21407
+ },
21408
+ "modifiers": {
21409
+ "padding": {
21410
+ "leading": 20,
21411
+ "trailing": 20,
21412
+ "top": 12,
21413
+ "bottom": 0
21414
+ },
21415
+ "hiddenPath": "$service:himiBookingServices.collection.noPageError"
21416
+ }
21417
+ },
21418
+ {
21419
+ "id": "himi_services.empty_source",
21420
+ "body": {
21421
+ "package": "himalaya",
21422
+ "type": "VStack",
21423
+ "props": {
21424
+ "spacing": 10,
22695
21425
  "alignment": "center",
22696
21426
  "children": [
22697
21427
  {
@@ -22701,7 +21431,7 @@ const SCREENS = runtimeSetting({
22701
21431
  "type": "Icon",
22702
21432
  "props": {
22703
21433
  "name": "calendar",
22704
- "size": 34,
21434
+ "size": 28,
22705
21435
  "tint": "textTertiary"
22706
21436
  }
22707
21437
  },
@@ -22715,10 +21445,50 @@ const SCREENS = runtimeSetting({
22715
21445
  "package": "himalaya",
22716
21446
  "type": "Text",
22717
21447
  "props": {
22718
- "text": "$service:himiBookingServices.emptyText",
22719
- "style": "bodyEmphasis",
21448
+ "text": "$service:himiBookingServices.collection.emptySourceText",
21449
+ "style": "body",
22720
21450
  "color": "textSecondary",
22721
- "collapseWhenEmpty": true
21451
+ "textAlign": "center"
21452
+ }
21453
+ }
21454
+ }
21455
+ ]
21456
+ }
21457
+ },
21458
+ "modifiers": {
21459
+ "fillMaxWidth": true,
21460
+ "padding": {
21461
+ "leading": 20,
21462
+ "trailing": 20,
21463
+ "top": 40,
21464
+ "bottom": 0
21465
+ },
21466
+ "transition": {
21467
+ "enter": "fade",
21468
+ "exit": "fade"
21469
+ },
21470
+ "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
21471
+ }
21472
+ },
21473
+ {
21474
+ "id": "himi_services.empty",
21475
+ "body": {
21476
+ "package": "himalaya",
21477
+ "type": "VStack",
21478
+ "props": {
21479
+ "spacing": 16,
21480
+ "alignment": "center",
21481
+ "children": [
21482
+ {
21483
+ "id": "himi_services.no_match_text",
21484
+ "body": {
21485
+ "package": "himalaya",
21486
+ "type": "Text",
21487
+ "props": {
21488
+ "text": "$service:himiBookingServices.noMatchText",
21489
+ "style": "body",
21490
+ "color": "textSecondary",
21491
+ "textAlign": "center"
22722
21492
  }
22723
21493
  }
22724
21494
  },
@@ -22728,29 +21498,58 @@ const SCREENS = runtimeSetting({
22728
21498
  "package": "himalaya",
22729
21499
  "type": "Button",
22730
21500
  "props": {
22731
- "title": "Clear search",
21501
+ "title": "Clear Search",
21502
+ "style": "secondary",
21503
+ "action": {
21504
+ "actionId": "tier5.himiBookingServices.search",
21505
+ "params": {
21506
+ "value": ""
21507
+ }
21508
+ }
21509
+ }
21510
+ },
21511
+ "modifiers": {
21512
+ "hiddenPath": "$service:himiBookingServices.noQuery"
21513
+ }
21514
+ },
21515
+ {
21516
+ "id": "himi_services.empty.show_all",
21517
+ "body": {
21518
+ "package": "himalaya",
21519
+ "type": "Button",
21520
+ "props": {
21521
+ "title": "Show All",
22732
21522
  "style": "secondary",
22733
21523
  "action": {
22734
- "actionId": "tier5.himiBookingServices.clearSearch"
21524
+ "actionId": "tier5.himiBookingServices.collectionFilter",
21525
+ "args": {
21526
+ "selectedIds": [
21527
+ "all"
21528
+ ]
21529
+ }
22735
21530
  }
22736
21531
  }
21532
+ },
21533
+ "modifiers": {
21534
+ "hiddenPath": "$service:himiBookingServices.hasQuery"
22737
21535
  }
22738
21536
  }
22739
21537
  ]
22740
21538
  }
22741
21539
  },
22742
21540
  "modifiers": {
21541
+ "fillMaxWidth": true,
22743
21542
  "padding": {
22744
- "leading": 24,
22745
- "trailing": 24,
22746
- "top": 24,
22747
- "bottom": 24
21543
+ "leading": 20,
21544
+ "trailing": 20,
21545
+ "top": 40,
21546
+ "bottom": 0
22748
21547
  },
22749
21548
  "transition": {
22750
21549
  "enter": "fade",
22751
21550
  "exit": "fade"
22752
21551
  },
22753
- "hiddenPath": "$service:himiBookingServices.noEmpty"
21552
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
22754
21553
  }
22755
21554
  }
22756
21555
  ]
@@ -22761,8 +21560,8 @@ const SCREENS = runtimeSetting({
22761
21560
  "token": "surfacePrimary"
22762
21561
  },
22763
21562
  "padding": {
22764
- "leading": 16,
22765
- "trailing": 16,
21563
+ "leading": 0,
21564
+ "trailing": 0,
22766
21565
  "top": 18,
22767
21566
  "bottom": 24
22768
21567
  },