@wix/himalaya-cli 0.1536.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 -534
  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
@@ -8404,7 +8404,7 @@ const SCREENS = runtimeSetting({
8404
8404
  "package": "himalaya",
8405
8405
  "type": "VStack",
8406
8406
  "props": {
8407
- "spacing": 16,
8407
+ "spacing": 0,
8408
8408
  "alignment": "leading",
8409
8409
  "children": [
8410
8410
  {
@@ -8428,7 +8428,7 @@ const SCREENS = runtimeSetting({
8428
8428
  }
8429
8429
  },
8430
8430
  {
8431
- "id": "",
8431
+ "id": "himi_services.subtitle",
8432
8432
  "body": {
8433
8433
  "package": "himalaya",
8434
8434
  "type": "Text",
@@ -8441,95 +8441,36 @@ const SCREENS = runtimeSetting({
8441
8441
  }
8442
8442
  ]
8443
8443
  }
8444
- }
8445
- },
8446
- {
8447
- "id": "himi_services.search",
8448
- "body": {
8449
- "package": "himalaya",
8450
- "type": "SearchField",
8451
- "props": {
8452
- "placeholder": "Search services",
8453
- "debounceMs": 200,
8454
- "onChange": {
8455
- "actionId": "tier5.himiBookingServices.collectionSearch"
8456
- },
8457
- "value": "$service:himiBookingServices.collection.query"
8458
- }
8459
8444
  },
8460
8445
  "modifiers": {
8461
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
8446
+ "padding": {
8447
+ "leading": 20,
8448
+ "trailing": 20,
8449
+ "top": 0,
8450
+ "bottom": 0
8451
+ }
8462
8452
  }
8463
8453
  },
8464
8454
  {
8465
- "id": "himi_services.retry.block",
8455
+ "id": "",
8466
8456
  "body": {
8467
8457
  "package": "himalaya",
8468
8458
  "type": "VStack",
8469
8459
  "props": {
8470
- "spacing": 12,
8460
+ "spacing": 0,
8471
8461
  "alignment": "leading",
8472
8462
  "children": [
8473
8463
  {
8474
- "id": "",
8475
- "body": {
8476
- "package": "himalaya",
8477
- "type": "HStack",
8478
- "props": {
8479
- "spacing": 10,
8480
- "children": [
8481
- {
8482
- "id": "",
8483
- "body": {
8484
- "package": "himalaya",
8485
- "type": "Icon",
8486
- "props": {
8487
- "name": "warning",
8488
- "size": 18,
8489
- "tint": "accentPrimary"
8490
- }
8491
- },
8492
- "modifiers": {
8493
- "accessibilityRole": "decorative"
8494
- }
8495
- },
8496
- {
8497
- "id": "",
8498
- "body": {
8499
- "package": "himalaya",
8500
- "type": "Text",
8501
- "props": {
8502
- "text": "Something did not load.",
8503
- "style": "bodyEmphasis"
8504
- }
8505
- }
8506
- }
8507
- ]
8508
- }
8509
- }
8510
- },
8511
- {
8512
- "id": "",
8513
- "body": {
8514
- "package": "himalaya",
8515
- "type": "Text",
8516
- "props": {
8517
- "text": "Try again when the connection settles.",
8518
- "style": "body",
8519
- "color": "textSecondary"
8520
- }
8521
- }
8522
- },
8523
- {
8524
- "id": "himi_services.retry",
8464
+ "id": "himi_services.search",
8525
8465
  "body": {
8526
8466
  "package": "himalaya",
8527
- "type": "Button",
8467
+ "type": "SearchField",
8528
8468
  "props": {
8529
- "title": "Try again",
8530
- "style": "secondary",
8531
- "action": {
8532
- "actionId": "tier5.himiBookingServices.load"
8469
+ "placeholder": "Search services",
8470
+ "value": "$service:himiBookingServices.collection.query",
8471
+ "debounceMs": 200,
8472
+ "onChange": {
8473
+ "actionId": "tier5.himiBookingServices.search"
8533
8474
  }
8534
8475
  }
8535
8476
  }
@@ -8538,338 +8479,353 @@ const SCREENS = runtimeSetting({
8538
8479
  }
8539
8480
  },
8540
8481
  "modifiers": {
8541
- "background": {
8542
- "token": "surfaceElevated"
8482
+ "padding": {
8483
+ "leading": 20,
8484
+ "trailing": 20,
8485
+ "top": 16,
8486
+ "bottom": 0
8543
8487
  },
8544
- "border": {
8545
- "width": 1,
8546
- "color": {
8547
- "token": "border"
8488
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
8489
+ }
8490
+ },
8491
+ {
8492
+ "id": "himi_services.categories",
8493
+ "body": {
8494
+ "package": "himalaya",
8495
+ "type": "FilterChips",
8496
+ "props": {
8497
+ "chips": [],
8498
+ "optionsPath": "$service:himiBookingServices.categoryChips",
8499
+ "selectedIds": [
8500
+ "$service:himiBookingServices.collection.filter"
8501
+ ],
8502
+ "multiSelect": false,
8503
+ "onChange": {
8504
+ "actionId": "tier5.himiBookingServices.collectionFilter"
8548
8505
  }
8549
- },
8550
- "cornerRadius": 8,
8506
+ }
8507
+ },
8508
+ "modifiers": {
8509
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
8551
8510
  "padding": {
8552
- "leading": 14,
8553
- "trailing": 14,
8554
- "top": 14,
8555
- "bottom": 14
8556
- },
8557
- "transition": {
8558
- "enter": "fade",
8559
- "exit": "fade"
8511
+ "leading": 20,
8512
+ "trailing": 20,
8513
+ "top": 12,
8514
+ "bottom": 0
8560
8515
  },
8561
- "hiddenPath": "$service:himiBookingServices.notErrored"
8516
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
8562
8517
  }
8563
8518
  },
8564
8519
  {
8565
- "id": "",
8520
+ "id": "himi_services.offline",
8566
8521
  "body": {
8567
8522
  "package": "himalaya",
8568
- "type": "VStack",
8523
+ "type": "Text",
8569
8524
  "props": {
8570
- "spacing": 10,
8571
- "children": [
8572
- {
8573
- "id": "himi_services.skeleton_1",
8574
- "body": {
8575
- "package": "himalaya",
8576
- "type": "Skeleton",
8577
- "props": {
8578
- "height": 88,
8579
- "cornerRadius": 8
8580
- }
8581
- },
8582
- "modifiers": {
8583
- "height": 88,
8584
- "background": {
8585
- "token": "surfaceSecondary"
8586
- },
8587
- "cornerRadius": 8,
8588
- "accessibilityRole": "decorative"
8589
- }
8590
- },
8591
- {
8592
- "id": "himi_services.skeleton_2",
8593
- "body": {
8594
- "package": "himalaya",
8595
- "type": "Skeleton",
8596
- "props": {
8597
- "height": 88,
8598
- "cornerRadius": 8
8599
- }
8600
- },
8601
- "modifiers": {
8602
- "height": 88,
8603
- "background": {
8604
- "token": "surfaceSecondary"
8605
- },
8606
- "cornerRadius": 8,
8607
- "accessibilityRole": "decorative"
8608
- }
8609
- },
8610
- {
8611
- "id": "himi_services.skeleton_3",
8612
- "body": {
8613
- "package": "himalaya",
8614
- "type": "Skeleton",
8615
- "props": {
8616
- "height": 88,
8617
- "cornerRadius": 8
8618
- }
8619
- },
8620
- "modifiers": {
8621
- "height": 88,
8622
- "background": {
8623
- "token": "surfaceSecondary"
8624
- },
8625
- "cornerRadius": 8,
8626
- "accessibilityRole": "decorative"
8627
- }
8628
- }
8629
- ]
8525
+ "text": "Showing saved services. They may be out of date.",
8526
+ "style": "caption",
8527
+ "color": "textSecondary"
8630
8528
  }
8631
8529
  },
8632
8530
  "modifiers": {
8633
- "hiddenPath": "$service:himiBookingServices.notLoading"
8531
+ "padding": {
8532
+ "leading": 20,
8533
+ "trailing": 20,
8534
+ "top": 12,
8535
+ "bottom": 0
8536
+ },
8537
+ "hiddenPath": "$service:himiBookingServices.collection.noOffline"
8634
8538
  }
8635
8539
  },
8636
8540
  {
8637
- "id": "",
8541
+ "id": "himi_services.retry_group",
8638
8542
  "body": {
8639
8543
  "package": "himalaya",
8640
8544
  "type": "VStack",
8641
8545
  "props": {
8642
- "spacing": 12,
8546
+ "spacing": 0,
8547
+ "alignment": "leading",
8643
8548
  "children": [
8644
8549
  {
8645
- "id": "himi_services.list.collection.toolbar",
8550
+ "id": "himi_services.retry.block",
8646
8551
  "body": {
8647
8552
  "package": "himalaya",
8648
8553
  "type": "VStack",
8649
8554
  "props": {
8650
- "spacing": 0,
8555
+ "spacing": 12,
8556
+ "alignment": "leading",
8651
8557
  "children": [
8652
- {
8653
- "id": "himi_services.list.collection.loading",
8654
- "body": {
8655
- "package": "himalaya",
8656
- "type": "Skeleton",
8657
- "props": {
8658
- "height": 72,
8659
- "cornerRadius": 12,
8660
- "count": 3
8661
- }
8662
- },
8663
- "modifiers": {
8664
- "hiddenPath": "$service:himiBookingServices.collection.noLoading",
8665
- "padding": {
8666
- "bottom": 12
8667
- }
8668
- }
8669
- },
8670
8558
  {
8671
8559
  "id": "",
8672
8560
  "body": {
8673
8561
  "package": "himalaya",
8674
8562
  "type": "HStack",
8675
8563
  "props": {
8676
- "spacing": 8,
8564
+ "spacing": 10,
8677
8565
  "children": [
8678
8566
  {
8679
- "id": "himi_services.list.collection.view",
8567
+ "id": "",
8680
8568
  "body": {
8681
8569
  "package": "himalaya",
8682
- "type": "SegmentedControl",
8570
+ "type": "Icon",
8683
8571
  "props": {
8684
- "options": [
8685
- {
8686
- "id": "list",
8687
- "label": "List"
8688
- },
8689
- {
8690
- "id": "grid",
8691
- "label": "Grid"
8692
- }
8693
- ],
8694
- "selectedId": "$service:himiBookingServices.collection.view",
8695
- "onChange": {
8696
- "actionId": "tier5.himiBookingServices.collectionView"
8697
- }
8572
+ "name": "warning",
8573
+ "size": 18,
8574
+ "tint": "accentPrimary"
8698
8575
  }
8699
8576
  },
8700
8577
  "modifiers": {
8701
- "weight": 1
8578
+ "accessibilityRole": "decorative"
8702
8579
  }
8703
8580
  },
8704
8581
  {
8705
- "id": "himi_services.list.collection.refine",
8582
+ "id": "",
8706
8583
  "body": {
8707
8584
  "package": "himalaya",
8708
- "type": "Button",
8585
+ "type": "Text",
8709
8586
  "props": {
8710
- "title": "Refine",
8711
- "style": "plain",
8712
- "fullWidth": false,
8713
- "action": {
8714
- "actionId": "tier5.himiBookingServices.collectionFilters"
8715
- },
8716
- "leadingIcon": "filter"
8587
+ "text": "Something did not load.",
8588
+ "style": "bodyEmphasis"
8717
8589
  }
8718
8590
  }
8719
8591
  }
8720
8592
  ]
8721
8593
  }
8722
- },
8723
- "modifiers": {
8724
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
8725
- "padding": {
8726
- "bottom": 12
8727
- }
8728
8594
  }
8729
8595
  },
8730
8596
  {
8731
8597
  "id": "",
8732
8598
  "body": {
8733
8599
  "package": "himalaya",
8734
- "type": "HStack",
8600
+ "type": "Text",
8735
8601
  "props": {
8736
- "spacing": 8,
8737
- "children": [
8738
- {
8739
- "id": "himi_services.list.collection.filters",
8740
- "body": {
8741
- "package": "himalaya",
8742
- "type": "FilterChips",
8743
- "props": {
8744
- "chips": [
8745
- {
8746
- "id": "all",
8747
- "label": "All"
8748
- },
8749
- {
8750
- "id": "saved",
8751
- "label": "Saved"
8752
- }
8753
- ],
8754
- "optionsPath": "$service:himiBookingServices.collection.chips",
8755
- "selectedIds": [
8756
- "$service:himiBookingServices.collection.filter"
8757
- ],
8758
- "onChange": {
8759
- "actionId": "tier5.himiBookingServices.collectionFilter"
8760
- }
8761
- }
8762
- },
8763
- "modifiers": {
8764
- "weight": 1
8765
- }
8766
- },
8767
- {
8768
- "id": "himi_services.list.collection.clear",
8769
- "body": {
8770
- "package": "himalaya",
8771
- "type": "Button",
8772
- "props": {
8773
- "title": "Clear",
8774
- "style": "plain",
8775
- "fullWidth": false,
8776
- "action": {
8777
- "actionId": "tier5.himiBookingServices.collectionClear"
8778
- }
8779
- }
8780
- },
8781
- "modifiers": {
8782
- "hiddenPath": "$service:himiBookingServices.collection.noActiveCriteria"
8783
- }
8784
- }
8785
- ]
8786
- }
8787
- },
8788
- "modifiers": {
8789
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome",
8790
- "padding": {
8791
- "bottom": 12
8602
+ "text": "Try again when the connection settles.",
8603
+ "style": "body",
8604
+ "color": "textSecondary"
8792
8605
  }
8793
8606
  }
8794
8607
  },
8795
8608
  {
8796
- "id": "himi_services.list.collection.summary",
8609
+ "id": "himi_services.retry",
8797
8610
  "body": {
8798
8611
  "package": "himalaya",
8799
- "type": "Text",
8612
+ "type": "Button",
8800
8613
  "props": {
8801
- "text": "$service:himiBookingServices.collection.summary",
8802
- "style": "caption",
8803
- "color": "textSecondary",
8804
- "maxLines": 1
8614
+ "title": "Try again",
8615
+ "style": "secondary",
8616
+ "action": {
8617
+ "actionId": "tier5.himiBookingServices.load"
8618
+ }
8805
8619
  }
8806
- },
8807
- "modifiers": {
8808
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
8809
8620
  }
8810
- },
8621
+ }
8622
+ ]
8623
+ }
8624
+ },
8625
+ "modifiers": {
8626
+ "background": {
8627
+ "token": "surfaceElevated"
8628
+ },
8629
+ "border": {
8630
+ "width": 1,
8631
+ "color": {
8632
+ "token": "border"
8633
+ }
8634
+ },
8635
+ "cornerRadius": 8,
8636
+ "padding": {
8637
+ "leading": 14,
8638
+ "trailing": 14,
8639
+ "top": 14,
8640
+ "bottom": 14
8641
+ },
8642
+ "transition": {
8643
+ "enter": "fade",
8644
+ "exit": "fade"
8645
+ },
8646
+ "hiddenPath": "$service:himiBookingServices.notErrored"
8647
+ }
8648
+ }
8649
+ ]
8650
+ }
8651
+ },
8652
+ "modifiers": {
8653
+ "padding": {
8654
+ "leading": 20,
8655
+ "trailing": 20,
8656
+ "top": 16,
8657
+ "bottom": 0
8658
+ },
8659
+ "hiddenPath": "$service:himiBookingServices.hasResults"
8660
+ }
8661
+ },
8662
+ {
8663
+ "id": "",
8664
+ "body": {
8665
+ "package": "himalaya",
8666
+ "type": "VStack",
8667
+ "props": {
8668
+ "spacing": 0,
8669
+ "alignment": "leading",
8670
+ "children": [
8671
+ {
8672
+ "id": "himi_services.skeleton_1",
8673
+ "body": {
8674
+ "package": "himalaya",
8675
+ "type": "VStack",
8676
+ "props": {
8677
+ "spacing": 0,
8678
+ "alignment": "leading",
8679
+ "children": [
8811
8680
  {
8812
8681
  "id": "",
8813
8682
  "body": {
8814
8683
  "package": "himalaya",
8815
8684
  "type": "HStack",
8816
8685
  "props": {
8686
+ "spacing": 14,
8687
+ "alignment": "center",
8817
8688
  "children": [
8818
8689
  {
8819
8690
  "id": "",
8820
8691
  "body": {
8821
8692
  "package": "himalaya",
8822
- "type": "Text",
8693
+ "type": "Skeleton",
8823
8694
  "props": {
8824
- "text": "$service:himiBookingServices.collection.selectedSummary",
8825
- "style": "caption"
8695
+ "height": 72,
8696
+ "cornerRadius": 8
8826
8697
  }
8698
+ },
8699
+ "modifiers": {
8700
+ "width": 72,
8701
+ "height": 72,
8702
+ "background": {
8703
+ "token": "surfaceSecondary"
8704
+ },
8705
+ "cornerRadius": 8,
8706
+ "accessibilityRole": "decorative"
8827
8707
  }
8828
8708
  },
8829
8709
  {
8830
- "id": "btn_tier5_himibookingservices_collectionsaveselected",
8710
+ "id": "",
8831
8711
  "body": {
8832
8712
  "package": "himalaya",
8833
- "type": "Button",
8713
+ "type": "VStack",
8834
8714
  "props": {
8835
- "title": "Save selected",
8836
- "style": "secondary",
8837
- "action": {
8838
- "actionId": "tier5.himiBookingServices.collectionSaveSelected"
8839
- }
8715
+ "spacing": 8,
8716
+ "alignment": "leading",
8717
+ "children": [
8718
+ {
8719
+ "id": "",
8720
+ "body": {
8721
+ "package": "himalaya",
8722
+ "type": "HStack",
8723
+ "props": {
8724
+ "spacing": 0,
8725
+ "children": [
8726
+ {
8727
+ "id": "",
8728
+ "body": {
8729
+ "package": "himalaya",
8730
+ "type": "Skeleton",
8731
+ "props": {
8732
+ "height": 16,
8733
+ "cornerRadius": 4
8734
+ }
8735
+ },
8736
+ "modifiers": {
8737
+ "height": 16,
8738
+ "fillMaxWidth": true,
8739
+ "background": {
8740
+ "token": "surfaceSecondary"
8741
+ },
8742
+ "cornerRadius": 4,
8743
+ "accessibilityRole": "decorative",
8744
+ "weight": 3
8745
+ }
8746
+ },
8747
+ {
8748
+ "id": "",
8749
+ "body": {
8750
+ "package": "himalaya",
8751
+ "type": "Spacer",
8752
+ "props": {}
8753
+ },
8754
+ "modifiers": {
8755
+ "weight": 2
8756
+ }
8757
+ }
8758
+ ]
8759
+ }
8760
+ },
8761
+ "modifiers": {
8762
+ "fillMaxWidth": true
8763
+ }
8764
+ },
8765
+ {
8766
+ "id": "",
8767
+ "body": {
8768
+ "package": "himalaya",
8769
+ "type": "HStack",
8770
+ "props": {
8771
+ "spacing": 0,
8772
+ "children": [
8773
+ {
8774
+ "id": "",
8775
+ "body": {
8776
+ "package": "himalaya",
8777
+ "type": "Skeleton",
8778
+ "props": {
8779
+ "height": 14,
8780
+ "cornerRadius": 4
8781
+ }
8782
+ },
8783
+ "modifiers": {
8784
+ "height": 14,
8785
+ "fillMaxWidth": true,
8786
+ "background": {
8787
+ "token": "surfaceSecondary"
8788
+ },
8789
+ "cornerRadius": 4,
8790
+ "accessibilityRole": "decorative",
8791
+ "weight": 2
8792
+ }
8793
+ },
8794
+ {
8795
+ "id": "",
8796
+ "body": {
8797
+ "package": "himalaya",
8798
+ "type": "Spacer",
8799
+ "props": {}
8800
+ },
8801
+ "modifiers": {
8802
+ "weight": 3
8803
+ }
8804
+ }
8805
+ ]
8806
+ }
8807
+ },
8808
+ "modifiers": {
8809
+ "fillMaxWidth": true
8810
+ }
8811
+ }
8812
+ ]
8840
8813
  }
8841
8814
  },
8842
8815
  "modifiers": {
8843
- "hiddenPath": "$service:himiBookingServices.collection.cannotSaveSelected"
8816
+ "weight": 1
8844
8817
  }
8845
8818
  }
8846
8819
  ]
8847
8820
  }
8848
8821
  },
8849
8822
  "modifiers": {
8850
- "hiddenPath": "$service:himiBookingServices.collection.noSelection",
8851
- "padding": {
8852
- "bottom": 12
8853
- }
8854
- }
8855
- },
8856
- {
8857
- "id": "himi_services.list.collection.undo",
8858
- "body": {
8859
- "package": "himalaya",
8860
- "type": "Button",
8861
- "props": {
8862
- "title": "Undo saved change",
8863
- "style": "plain",
8864
- "action": {
8865
- "actionId": "tier5.himiBookingServices.collectionUndo"
8866
- }
8867
- }
8868
- },
8869
- "modifiers": {
8870
- "hiddenPath": "$service:himiBookingServices.collection.noUndo",
8823
+ "fillMaxWidth": true,
8871
8824
  "padding": {
8872
- "bottom": 12
8825
+ "leading": 20,
8826
+ "trailing": 20,
8827
+ "top": 14,
8828
+ "bottom": 14
8873
8829
  }
8874
8830
  }
8875
8831
  },
@@ -8877,78 +8833,228 @@ const SCREENS = runtimeSetting({
8877
8833
  "id": "",
8878
8834
  "body": {
8879
8835
  "package": "himalaya",
8880
- "type": "Text",
8881
- "props": {
8882
- "text": "$service:himiBookingServices.collection.saveMessage",
8883
- "style": "caption",
8884
- "collapseWhenEmpty": true
8885
- }
8836
+ "type": "Divider",
8837
+ "props": {}
8886
8838
  }
8887
- },
8839
+ }
8840
+ ]
8841
+ }
8842
+ },
8843
+ "modifiers": {
8844
+ "fillMaxWidth": true
8845
+ }
8846
+ },
8847
+ {
8848
+ "id": "himi_services.skeleton_2",
8849
+ "body": {
8850
+ "package": "himalaya",
8851
+ "type": "VStack",
8852
+ "props": {
8853
+ "spacing": 0,
8854
+ "alignment": "leading",
8855
+ "children": [
8888
8856
  {
8889
8857
  "id": "",
8890
8858
  "body": {
8891
8859
  "package": "himalaya",
8892
- "type": "VStack",
8860
+ "type": "HStack",
8893
8861
  "props": {
8894
- "spacing": 8,
8862
+ "spacing": 14,
8863
+ "alignment": "center",
8895
8864
  "children": [
8896
8865
  {
8897
8866
  "id": "",
8898
8867
  "body": {
8899
8868
  "package": "himalaya",
8900
- "type": "Text",
8869
+ "type": "Skeleton",
8901
8870
  "props": {
8902
- "text": "The next page could not load.",
8903
- "style": "caption"
8871
+ "height": 72,
8872
+ "cornerRadius": 8
8904
8873
  }
8874
+ },
8875
+ "modifiers": {
8876
+ "width": 72,
8877
+ "height": 72,
8878
+ "background": {
8879
+ "token": "surfaceSecondary"
8880
+ },
8881
+ "cornerRadius": 8,
8882
+ "accessibilityRole": "decorative"
8905
8883
  }
8906
8884
  },
8907
8885
  {
8908
- "id": "himi_services.list.collection.retry-page",
8886
+ "id": "",
8909
8887
  "body": {
8910
8888
  "package": "himalaya",
8911
- "type": "Button",
8889
+ "type": "VStack",
8912
8890
  "props": {
8913
- "title": "Retry next page",
8914
- "style": "secondary",
8915
- "action": {
8916
- "actionId": "tier5.himiBookingServices.collectionRetry"
8917
- }
8891
+ "spacing": 8,
8892
+ "alignment": "leading",
8893
+ "children": [
8894
+ {
8895
+ "id": "",
8896
+ "body": {
8897
+ "package": "himalaya",
8898
+ "type": "HStack",
8899
+ "props": {
8900
+ "spacing": 0,
8901
+ "children": [
8902
+ {
8903
+ "id": "",
8904
+ "body": {
8905
+ "package": "himalaya",
8906
+ "type": "Skeleton",
8907
+ "props": {
8908
+ "height": 16,
8909
+ "cornerRadius": 4
8910
+ }
8911
+ },
8912
+ "modifiers": {
8913
+ "height": 16,
8914
+ "fillMaxWidth": true,
8915
+ "background": {
8916
+ "token": "surfaceSecondary"
8917
+ },
8918
+ "cornerRadius": 4,
8919
+ "accessibilityRole": "decorative",
8920
+ "weight": 3
8921
+ }
8922
+ },
8923
+ {
8924
+ "id": "",
8925
+ "body": {
8926
+ "package": "himalaya",
8927
+ "type": "Spacer",
8928
+ "props": {}
8929
+ },
8930
+ "modifiers": {
8931
+ "weight": 2
8932
+ }
8933
+ }
8934
+ ]
8935
+ }
8936
+ },
8937
+ "modifiers": {
8938
+ "fillMaxWidth": true
8939
+ }
8940
+ },
8941
+ {
8942
+ "id": "",
8943
+ "body": {
8944
+ "package": "himalaya",
8945
+ "type": "HStack",
8946
+ "props": {
8947
+ "spacing": 0,
8948
+ "children": [
8949
+ {
8950
+ "id": "",
8951
+ "body": {
8952
+ "package": "himalaya",
8953
+ "type": "Skeleton",
8954
+ "props": {
8955
+ "height": 14,
8956
+ "cornerRadius": 4
8957
+ }
8958
+ },
8959
+ "modifiers": {
8960
+ "height": 14,
8961
+ "fillMaxWidth": true,
8962
+ "background": {
8963
+ "token": "surfaceSecondary"
8964
+ },
8965
+ "cornerRadius": 4,
8966
+ "accessibilityRole": "decorative",
8967
+ "weight": 2
8968
+ }
8969
+ },
8970
+ {
8971
+ "id": "",
8972
+ "body": {
8973
+ "package": "himalaya",
8974
+ "type": "Spacer",
8975
+ "props": {}
8976
+ },
8977
+ "modifiers": {
8978
+ "weight": 3
8979
+ }
8980
+ }
8981
+ ]
8982
+ }
8983
+ },
8984
+ "modifiers": {
8985
+ "fillMaxWidth": true
8986
+ }
8987
+ }
8988
+ ]
8918
8989
  }
8990
+ },
8991
+ "modifiers": {
8992
+ "weight": 1
8919
8993
  }
8920
8994
  }
8921
8995
  ]
8922
8996
  }
8923
8997
  },
8924
8998
  "modifiers": {
8925
- "hiddenPath": "$service:himiBookingServices.collection.noPageError",
8999
+ "fillMaxWidth": true,
8926
9000
  "padding": {
8927
- "bottom": 12
9001
+ "leading": 20,
9002
+ "trailing": 20,
9003
+ "top": 14,
9004
+ "bottom": 14
8928
9005
  }
8929
9006
  }
8930
9007
  },
8931
9008
  {
8932
- "id": "himi_services.list.collection.empty-source",
9009
+ "id": "",
8933
9010
  "body": {
8934
9011
  "package": "himalaya",
8935
- "type": "VStack",
9012
+ "type": "Divider",
9013
+ "props": {}
9014
+ }
9015
+ }
9016
+ ]
9017
+ }
9018
+ },
9019
+ "modifiers": {
9020
+ "fillMaxWidth": true
9021
+ }
9022
+ },
9023
+ {
9024
+ "id": "himi_services.skeleton_3",
9025
+ "body": {
9026
+ "package": "himalaya",
9027
+ "type": "VStack",
9028
+ "props": {
9029
+ "spacing": 0,
9030
+ "alignment": "leading",
9031
+ "children": [
9032
+ {
9033
+ "id": "",
9034
+ "body": {
9035
+ "package": "himalaya",
9036
+ "type": "HStack",
8936
9037
  "props": {
8937
- "spacing": 8,
9038
+ "spacing": 14,
8938
9039
  "alignment": "center",
8939
9040
  "children": [
8940
9041
  {
8941
9042
  "id": "",
8942
9043
  "body": {
8943
9044
  "package": "himalaya",
8944
- "type": "Icon",
9045
+ "type": "Skeleton",
8945
9046
  "props": {
8946
- "name": "inbox",
8947
- "size": 28,
8948
- "tint": "textTertiary"
9047
+ "height": 72,
9048
+ "cornerRadius": 8
8949
9049
  }
8950
9050
  },
8951
9051
  "modifiers": {
9052
+ "width": 72,
9053
+ "height": 72,
9054
+ "background": {
9055
+ "token": "surfaceSecondary"
9056
+ },
9057
+ "cornerRadius": 8,
8952
9058
  "accessibilityRole": "decorative"
8953
9059
  }
8954
9060
  },
@@ -8956,21 +9062,122 @@ const SCREENS = runtimeSetting({
8956
9062
  "id": "",
8957
9063
  "body": {
8958
9064
  "package": "himalaya",
8959
- "type": "Text",
9065
+ "type": "VStack",
8960
9066
  "props": {
8961
- "text": "$service:himiBookingServices.collection.emptySourceText",
8962
- "style": "body",
8963
- "color": "textSecondary"
9067
+ "spacing": 8,
9068
+ "alignment": "leading",
9069
+ "children": [
9070
+ {
9071
+ "id": "",
9072
+ "body": {
9073
+ "package": "himalaya",
9074
+ "type": "HStack",
9075
+ "props": {
9076
+ "spacing": 0,
9077
+ "children": [
9078
+ {
9079
+ "id": "",
9080
+ "body": {
9081
+ "package": "himalaya",
9082
+ "type": "Skeleton",
9083
+ "props": {
9084
+ "height": 16,
9085
+ "cornerRadius": 4
9086
+ }
9087
+ },
9088
+ "modifiers": {
9089
+ "height": 16,
9090
+ "fillMaxWidth": true,
9091
+ "background": {
9092
+ "token": "surfaceSecondary"
9093
+ },
9094
+ "cornerRadius": 4,
9095
+ "accessibilityRole": "decorative",
9096
+ "weight": 3
9097
+ }
9098
+ },
9099
+ {
9100
+ "id": "",
9101
+ "body": {
9102
+ "package": "himalaya",
9103
+ "type": "Spacer",
9104
+ "props": {}
9105
+ },
9106
+ "modifiers": {
9107
+ "weight": 2
9108
+ }
9109
+ }
9110
+ ]
9111
+ }
9112
+ },
9113
+ "modifiers": {
9114
+ "fillMaxWidth": true
9115
+ }
9116
+ },
9117
+ {
9118
+ "id": "",
9119
+ "body": {
9120
+ "package": "himalaya",
9121
+ "type": "HStack",
9122
+ "props": {
9123
+ "spacing": 0,
9124
+ "children": [
9125
+ {
9126
+ "id": "",
9127
+ "body": {
9128
+ "package": "himalaya",
9129
+ "type": "Skeleton",
9130
+ "props": {
9131
+ "height": 14,
9132
+ "cornerRadius": 4
9133
+ }
9134
+ },
9135
+ "modifiers": {
9136
+ "height": 14,
9137
+ "fillMaxWidth": true,
9138
+ "background": {
9139
+ "token": "surfaceSecondary"
9140
+ },
9141
+ "cornerRadius": 4,
9142
+ "accessibilityRole": "decorative",
9143
+ "weight": 2
9144
+ }
9145
+ },
9146
+ {
9147
+ "id": "",
9148
+ "body": {
9149
+ "package": "himalaya",
9150
+ "type": "Spacer",
9151
+ "props": {}
9152
+ },
9153
+ "modifiers": {
9154
+ "weight": 3
9155
+ }
9156
+ }
9157
+ ]
9158
+ }
9159
+ },
9160
+ "modifiers": {
9161
+ "fillMaxWidth": true
9162
+ }
9163
+ }
9164
+ ]
8964
9165
  }
9166
+ },
9167
+ "modifiers": {
9168
+ "weight": 1
8965
9169
  }
8966
9170
  }
8967
9171
  ]
8968
9172
  }
8969
9173
  },
8970
9174
  "modifiers": {
8971
- "hiddenPath": "$service:himiBookingServices.collection.noEmptySource",
9175
+ "fillMaxWidth": true,
8972
9176
  "padding": {
8973
- "bottom": 12
9177
+ "leading": 20,
9178
+ "trailing": 20,
9179
+ "top": 14,
9180
+ "bottom": 14
8974
9181
  }
8975
9182
  }
8976
9183
  },
@@ -8978,339 +9185,313 @@ const SCREENS = runtimeSetting({
8978
9185
  "id": "",
8979
9186
  "body": {
8980
9187
  "package": "himalaya",
8981
- "type": "Text",
8982
- "props": {
8983
- "text": "Showing saved offline results · may be outdated",
8984
- "style": "caption",
8985
- "color": "textSecondary"
8986
- }
8987
- },
8988
- "modifiers": {
8989
- "hiddenPath": "$service:himiBookingServices.collection.noOffline"
9188
+ "type": "Divider",
9189
+ "props": {}
8990
9190
  }
8991
- },
8992
- {
8993
- "id": "",
8994
- "body": {
8995
- "package": "himalaya",
8996
- "type": "VStack",
8997
- "props": {
8998
- "spacing": 0,
8999
- "children": [
9000
- {
9001
- "id": "himi_services.list.collection.list",
9002
- "body": {
9191
+ }
9192
+ ]
9193
+ }
9194
+ },
9195
+ "modifiers": {
9196
+ "fillMaxWidth": true
9197
+ }
9198
+ },
9199
+ {
9200
+ "id": "himi_services.skeleton_4",
9201
+ "body": {
9202
+ "package": "himalaya",
9203
+ "type": "VStack",
9204
+ "props": {
9205
+ "spacing": 0,
9206
+ "alignment": "leading",
9207
+ "children": [
9208
+ {
9209
+ "id": "",
9210
+ "body": {
9211
+ "package": "himalaya",
9212
+ "type": "HStack",
9213
+ "props": {
9214
+ "spacing": 14,
9215
+ "alignment": "center",
9216
+ "children": [
9217
+ {
9218
+ "id": "",
9219
+ "body": {
9003
9220
  "package": "himalaya",
9004
- "type": "LazyList",
9221
+ "type": "Skeleton",
9005
9222
  "props": {
9006
- "spacing": 10,
9007
- "itemsPath": "$service:himiBookingServices.collection.items",
9008
- "onPullToRefresh": {
9009
- "actionId": "tier5.himiBookingServices.refresh"
9010
- },
9011
- "pagination": {
9012
- "cursor": "$service:himiBookingServices.collection.cursor",
9013
- "onLoadMore": {
9014
- "actionId": "tier5.himiBookingServices.loadMore"
9223
+ "height": 72,
9224
+ "cornerRadius": 8
9225
+ }
9226
+ },
9227
+ "modifiers": {
9228
+ "width": 72,
9229
+ "height": 72,
9230
+ "background": {
9231
+ "token": "surfaceSecondary"
9232
+ },
9233
+ "cornerRadius": 8,
9234
+ "accessibilityRole": "decorative"
9235
+ }
9236
+ },
9237
+ {
9238
+ "id": "",
9239
+ "body": {
9240
+ "package": "himalaya",
9241
+ "type": "VStack",
9242
+ "props": {
9243
+ "spacing": 8,
9244
+ "alignment": "leading",
9245
+ "children": [
9246
+ {
9247
+ "id": "",
9248
+ "body": {
9249
+ "package": "himalaya",
9250
+ "type": "HStack",
9251
+ "props": {
9252
+ "spacing": 0,
9253
+ "children": [
9254
+ {
9255
+ "id": "",
9256
+ "body": {
9257
+ "package": "himalaya",
9258
+ "type": "Skeleton",
9259
+ "props": {
9260
+ "height": 16,
9261
+ "cornerRadius": 4
9262
+ }
9263
+ },
9264
+ "modifiers": {
9265
+ "height": 16,
9266
+ "fillMaxWidth": true,
9267
+ "background": {
9268
+ "token": "surfaceSecondary"
9269
+ },
9270
+ "cornerRadius": 4,
9271
+ "accessibilityRole": "decorative",
9272
+ "weight": 3
9273
+ }
9274
+ },
9275
+ {
9276
+ "id": "",
9277
+ "body": {
9278
+ "package": "himalaya",
9279
+ "type": "Spacer",
9280
+ "props": {}
9281
+ },
9282
+ "modifiers": {
9283
+ "weight": 2
9284
+ }
9285
+ }
9286
+ ]
9287
+ }
9288
+ },
9289
+ "modifiers": {
9290
+ "fillMaxWidth": true
9291
+ }
9015
9292
  },
9016
- "pageSize": 50
9017
- },
9018
- "items": [
9019
9293
  {
9020
- "id": "himi_services.list.collection.list.$item.collectionId",
9294
+ "id": "",
9021
9295
  "body": {
9022
9296
  "package": "himalaya",
9023
- "type": "VStack",
9297
+ "type": "HStack",
9024
9298
  "props": {
9025
- "spacing": 4,
9299
+ "spacing": 0,
9026
9300
  "children": [
9027
9301
  {
9028
9302
  "id": "",
9029
9303
  "body": {
9030
9304
  "package": "himalaya",
9031
- "type": "HStack",
9305
+ "type": "Skeleton",
9032
9306
  "props": {
9033
- "spacing": 12,
9034
- "children": [
9035
- {
9036
- "id": "himi_services.list.collection.list.$item.collectionId/image",
9037
- "body": {
9038
- "package": "himalaya",
9039
- "type": "Image",
9040
- "props": {
9041
- "url": "$item.collectionImage",
9042
- "contentDescription": "$item.collectionTitle",
9043
- "contentMode": "fill",
9044
- "height": 56,
9045
- "width": 56
9046
- }
9047
- },
9048
- "modifiers": {
9049
- "cornerRadius": 12,
9050
- "hiddenPath": "$item.collectionNoImage"
9051
- }
9052
- },
9053
- {
9054
- "id": "",
9055
- "body": {
9056
- "package": "himalaya",
9057
- "type": "VStack",
9058
- "props": {
9059
- "spacing": 4,
9060
- "alignment": "leading",
9061
- "children": [
9062
- {
9063
- "id": "",
9064
- "body": {
9065
- "package": "himalaya",
9066
- "type": "Text",
9067
- "props": {
9068
- "text": "$item.collectionTitle",
9069
- "style": "bodyEmphasis",
9070
- "maxLines": 2
9071
- }
9072
- }
9073
- },
9074
- {
9075
- "id": "",
9076
- "body": {
9077
- "package": "himalaya",
9078
- "type": "Text",
9079
- "props": {
9080
- "text": "$item.collectionSubtitle",
9081
- "style": "caption",
9082
- "color": "textSecondary",
9083
- "maxLines": 3,
9084
- "collapseWhenEmpty": true
9085
- }
9086
- }
9087
- },
9088
- {
9089
- "id": "",
9090
- "body": {
9091
- "package": "himalaya",
9092
- "type": "Text",
9093
- "props": {
9094
- "text": "$item.collectionMeta",
9095
- "style": "caption",
9096
- "color": "textSecondary",
9097
- "maxLines": 2,
9098
- "collapseWhenEmpty": true
9099
- }
9100
- }
9101
- },
9102
- {
9103
- "id": "",
9104
- "body": {
9105
- "package": "himalaya",
9106
- "type": "Text",
9107
- "props": {
9108
- "text": "Saved",
9109
- "style": "caption",
9110
- "color": "accentPrimary"
9111
- }
9112
- },
9113
- "modifiers": {
9114
- "hiddenPath": "$item.collectionNotSaved"
9115
- }
9116
- }
9117
- ]
9118
- }
9119
- },
9120
- "modifiers": {
9121
- "weight": 1
9122
- }
9123
- },
9124
- {
9125
- "id": "",
9126
- "body": {
9127
- "package": "himalaya",
9128
- "type": "HStack",
9129
- "props": {
9130
- "spacing": 8,
9131
- "children": [
9132
- {
9133
- "id": "himi_services.list.collection.list.$item.collectionId/select",
9134
- "body": {
9135
- "package": "himalaya",
9136
- "type": "Button",
9137
- "props": {
9138
- "title": "$item.collectionSelectLabel",
9139
- "style": "plain",
9140
- "fullWidth": false,
9141
- "action": {
9142
- "actionId": "tier5.himiBookingServices.collectionSelect",
9143
- "params": {
9144
- "id": "$item.collectionId"
9145
- }
9146
- }
9147
- }
9148
- },
9149
- "modifiers": {
9150
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
9151
- }
9152
- },
9153
- {
9154
- "id": "himi_services.list.collection.list.$item.collectionId/primary",
9155
- "body": {
9156
- "package": "himalaya",
9157
- "type": "Button",
9158
- "props": {
9159
- "title": "Book",
9160
- "style": "secondary",
9161
- "fullWidth": false,
9162
- "action": {
9163
- "actionId": "himi.open",
9164
- "params": {
9165
- "screenId": "himi_time",
9166
- "id": "$item.collectionId"
9167
- }
9168
- }
9169
- }
9170
- }
9171
- },
9172
- {
9173
- "id": "himi_services.list.collection.list.$item.collectionId/actions",
9174
- "body": {
9175
- "package": "himalaya",
9176
- "type": "Menu",
9177
- "props": {
9178
- "style": "dropdown",
9179
- "anchor": {
9180
- "id": "",
9181
- "body": {
9182
- "package": "himalaya",
9183
- "type": "Icon",
9184
- "props": {
9185
- "name": "ellipsis",
9186
- "size": 20
9187
- }
9188
- },
9189
- "modifiers": {
9190
- "width": 44,
9191
- "height": 44,
9192
- "accessibilityLabel": "$item.collectionActionsLabel"
9193
- }
9194
- },
9195
- "items": [
9196
- {
9197
- "id": "preview",
9198
- "label": "Quick preview",
9199
- "icon": "search",
9200
- "action": {
9201
- "actionId": "tier5.himiBookingServices.collectionPreview",
9202
- "params": {
9203
- "id": "$item.collectionId"
9204
- }
9205
- }
9206
- },
9207
- {
9208
- "id": "save",
9209
- "label": "$item.collectionSaveLabel",
9210
- "icon": "bookmark",
9211
- "action": {
9212
- "actionId": "tier5.himiBookingServices.collectionSave",
9213
- "params": {
9214
- "id": "$item.collectionId"
9215
- }
9216
- }
9217
- },
9218
- {
9219
- "id": "open",
9220
- "label": "Open details",
9221
- "icon": "chevron_right",
9222
- "action": {
9223
- "actionId": "himi.open",
9224
- "params": {
9225
- "screenId": "$item.detailScreenId",
9226
- "id": "$item.id"
9227
- }
9228
- }
9229
- }
9230
- ]
9231
- }
9232
- }
9233
- }
9234
- ]
9235
- }
9236
- },
9237
- "modifiers": {
9238
- "hiddenPath": "$item.collectionNoIdentity"
9239
- }
9240
- }
9241
- ]
9307
+ "height": 14,
9308
+ "cornerRadius": 4
9242
9309
  }
9310
+ },
9311
+ "modifiers": {
9312
+ "height": 14,
9313
+ "fillMaxWidth": true,
9314
+ "background": {
9315
+ "token": "surfaceSecondary"
9316
+ },
9317
+ "cornerRadius": 4,
9318
+ "accessibilityRole": "decorative",
9319
+ "weight": 2
9320
+ }
9321
+ },
9322
+ {
9323
+ "id": "",
9324
+ "body": {
9325
+ "package": "himalaya",
9326
+ "type": "Spacer",
9327
+ "props": {}
9328
+ },
9329
+ "modifiers": {
9330
+ "weight": 3
9243
9331
  }
9244
9332
  }
9245
9333
  ]
9246
9334
  }
9247
9335
  },
9248
9336
  "modifiers": {
9249
- "onTap": {
9250
- "actionId": "himi.open",
9251
- "params": {
9252
- "screenId": "$item.detailScreenId",
9253
- "id": "$item.id"
9254
- }
9255
- },
9256
- "haptic": "light",
9257
- "background": {
9258
- "token": "surfaceElevated"
9259
- },
9260
- "border": {
9261
- "width": 1,
9262
- "color": {
9263
- "token": "border"
9264
- }
9265
- },
9266
- "cornerRadius": 12,
9267
- "padding": {
9268
- "top": 12,
9269
- "bottom": 12,
9270
- "leading": 12,
9271
- "trailing": 12
9272
- },
9273
- "fillMaxWidth": true,
9274
- "accessibilityLabel": "$item.collectionTitle",
9275
- "pressFeedback": "scale",
9276
- "transition": {
9277
- "enter": "fadeSlide",
9278
- "direction": "up",
9279
- "distance": 8
9280
- }
9337
+ "fillMaxWidth": true
9281
9338
  }
9282
9339
  }
9283
- ],
9284
- "staggerMs": 30,
9285
- "animateItems": true,
9286
- "rowSwipeActions": {
9287
- "trailing": [
9288
- {
9289
- "label": "$item.collectionSaveLabel",
9290
- "icon": "bookmark",
9291
- "action": {
9292
- "actionId": "tier5.himiBookingServices.collectionSave",
9293
- "params": {
9294
- "id": "$item.collectionId"
9295
- }
9340
+ ]
9341
+ }
9342
+ },
9343
+ "modifiers": {
9344
+ "weight": 1
9345
+ }
9346
+ }
9347
+ ]
9348
+ }
9349
+ },
9350
+ "modifiers": {
9351
+ "fillMaxWidth": true,
9352
+ "padding": {
9353
+ "leading": 20,
9354
+ "trailing": 20,
9355
+ "top": 14,
9356
+ "bottom": 14
9357
+ }
9358
+ }
9359
+ },
9360
+ {
9361
+ "id": "",
9362
+ "body": {
9363
+ "package": "himalaya",
9364
+ "type": "Divider",
9365
+ "props": {}
9366
+ }
9367
+ }
9368
+ ]
9369
+ }
9370
+ },
9371
+ "modifiers": {
9372
+ "fillMaxWidth": true
9373
+ }
9374
+ }
9375
+ ]
9376
+ }
9377
+ },
9378
+ "modifiers": {
9379
+ "padding": {
9380
+ "leading": 0,
9381
+ "trailing": 0,
9382
+ "top": 12,
9383
+ "bottom": 0
9384
+ },
9385
+ "hiddenPath": "$service:himiBookingServices.collection.noLoading"
9386
+ }
9387
+ },
9388
+ {
9389
+ "id": "himi_services.list",
9390
+ "body": {
9391
+ "package": "himalaya",
9392
+ "type": "LazyList",
9393
+ "props": {
9394
+ "spacing": 0,
9395
+ "itemsPath": "$service:himiBookingServices.collection.items",
9396
+ "onPullToRefresh": {
9397
+ "actionId": "tier5.himiBookingServices.refresh"
9398
+ },
9399
+ "pagination": {
9400
+ "cursor": "$service:himiBookingServices.collection.cursor",
9401
+ "onLoadMore": {
9402
+ "actionId": "tier5.himiBookingServices.loadMore"
9403
+ },
9404
+ "pageSize": 50
9405
+ },
9406
+ "staggerMs": 30,
9407
+ "animateItems": true,
9408
+ "items": [
9409
+ {
9410
+ "id": "himi_services.row.$item.id",
9411
+ "body": {
9412
+ "package": "himalaya",
9413
+ "type": "VStack",
9414
+ "props": {
9415
+ "spacing": 0,
9416
+ "alignment": "leading",
9417
+ "children": [
9418
+ {
9419
+ "id": "",
9420
+ "body": {
9421
+ "package": "himalaya",
9422
+ "type": "HStack",
9423
+ "props": {
9424
+ "spacing": 14,
9425
+ "alignment": "center",
9426
+ "children": [
9427
+ {
9428
+ "id": "himi_services.row.$item.id/image",
9429
+ "body": {
9430
+ "package": "himalaya",
9431
+ "type": "Image",
9432
+ "props": {
9433
+ "url": "$item.image",
9434
+ "width": 72,
9435
+ "height": 72,
9436
+ "contentMode": "fill"
9437
+ }
9438
+ },
9439
+ "modifiers": {
9440
+ "accessibilityRole": "decorative",
9441
+ "cornerRadius": 8,
9442
+ "hiddenPath": "$item.noImage"
9443
+ }
9444
+ },
9445
+ {
9446
+ "id": "",
9447
+ "body": {
9448
+ "package": "himalaya",
9449
+ "type": "ZStack",
9450
+ "props": {
9451
+ "alignment": "center",
9452
+ "children": [
9453
+ {
9454
+ "id": "",
9455
+ "body": {
9456
+ "package": "himalaya",
9457
+ "type": "Image",
9458
+ "props": {
9459
+ "url": "",
9460
+ "width": 72,
9461
+ "height": 72,
9462
+ "contentMode": "fill"
9296
9463
  }
9297
9464
  },
9298
- {
9299
- "label": "Preview",
9300
- "icon": "search",
9301
- "action": {
9302
- "actionId": "tier5.himiBookingServices.collectionPreview",
9303
- "params": {
9304
- "id": "$item.collectionId"
9305
- }
9465
+ "modifiers": {
9466
+ "accessibilityRole": "decorative",
9467
+ "cornerRadius": 8,
9468
+ "background": {
9469
+ "token": "surfaceSecondary"
9306
9470
  }
9307
9471
  }
9308
- ]
9309
- }
9472
+ },
9473
+ {
9474
+ "id": "",
9475
+ "body": {
9476
+ "package": "himalaya",
9477
+ "type": "Icon",
9478
+ "props": {
9479
+ "name": "image",
9480
+ "size": 24,
9481
+ "tint": "accentPrimary"
9482
+ }
9483
+ },
9484
+ "modifiers": {
9485
+ "accessibilityRole": "decorative"
9486
+ }
9487
+ }
9488
+ ]
9310
9489
  }
9311
9490
  },
9312
9491
  "modifiers": {
9313
- "hiddenPath": "$service:himiBookingServices.collection.hideList"
9492
+ "width": 72,
9493
+ "height": 72,
9494
+ "hiddenPath": "$item.hasImage"
9314
9495
  }
9315
9496
  },
9316
9497
  {
@@ -9319,1708 +9500,209 @@ const SCREENS = runtimeSetting({
9319
9500
  "package": "himalaya",
9320
9501
  "type": "VStack",
9321
9502
  "props": {
9322
- "spacing": 12,
9503
+ "spacing": 3,
9504
+ "alignment": "leading",
9323
9505
  "children": [
9324
9506
  {
9325
- "id": "himi_services.list.collection.grid",
9507
+ "id": "",
9326
9508
  "body": {
9327
9509
  "package": "himalaya",
9328
- "type": "Grid",
9510
+ "type": "Text",
9329
9511
  "props": {
9330
- "columns": 2,
9331
- "columnsMedium": 3,
9332
- "columnsExpanded": 4,
9333
- "spacing": 12,
9334
- "staggerMs": 30,
9335
- "itemsPath": "$service:himiBookingServices.collection.items",
9336
- "items": [
9337
- {
9338
- "id": "himi_services.list.collection.grid.$item.collectionId",
9339
- "body": {
9340
- "package": "himalaya",
9341
- "type": "VStack",
9342
- "props": {
9343
- "spacing": 8,
9344
- "alignment": "leading",
9345
- "children": [
9346
- {
9347
- "id": "",
9348
- "body": {
9349
- "package": "himalaya",
9350
- "type": "VStack",
9351
- "props": {
9352
- "spacing": 0,
9353
- "children": [
9354
- {
9355
- "id": "himi_services.list.collection.grid.$item.collectionId/image",
9356
- "body": {
9357
- "package": "himalaya",
9358
- "type": "Image",
9359
- "props": {
9360
- "url": "$item.collectionImage",
9361
- "contentDescription": "$item.collectionTitle",
9362
- "contentMode": "fill",
9363
- "height": 112,
9364
- "fillWidth": true
9365
- }
9366
- },
9367
- "modifiers": {
9368
- "cornerRadius": 12,
9369
- "hiddenPath": "$item.collectionNoImage"
9370
- }
9371
- },
9372
- {
9373
- "id": "",
9374
- "body": {
9375
- "package": "himalaya",
9376
- "type": "ZStack",
9377
- "props": {
9378
- "alignment": "center",
9379
- "children": [
9380
- {
9381
- "id": "",
9382
- "body": {
9383
- "package": "himalaya",
9384
- "type": "Icon",
9385
- "props": {
9386
- "name": "photo",
9387
- "size": 28,
9388
- "tint": "accentPrimary"
9389
- }
9390
- },
9391
- "modifiers": {
9392
- "accessibilityRole": "decorative"
9393
- }
9394
- }
9395
- ]
9396
- }
9397
- },
9398
- "modifiers": {
9399
- "height": 112,
9400
- "fillMaxWidth": true,
9401
- "cornerRadius": 12,
9402
- "background": {
9403
- "token": "surfaceSecondary"
9404
- },
9405
- "accessibilityLabel": "No image available",
9406
- "hiddenPath": "$item.collectionHasImage"
9407
- }
9408
- }
9409
- ]
9410
- }
9411
- }
9412
- },
9413
- {
9414
- "id": "",
9415
- "body": {
9416
- "package": "himalaya",
9417
- "type": "VStack",
9418
- "props": {
9419
- "spacing": 4,
9420
- "alignment": "leading",
9421
- "children": [
9422
- {
9423
- "id": "",
9424
- "body": {
9425
- "package": "himalaya",
9426
- "type": "Text",
9427
- "props": {
9428
- "text": "$item.collectionTitle",
9429
- "style": "bodyEmphasis",
9430
- "maxLines": 2
9431
- }
9432
- }
9433
- },
9434
- {
9435
- "id": "",
9436
- "body": {
9437
- "package": "himalaya",
9438
- "type": "Text",
9439
- "props": {
9440
- "text": "$item.collectionSubtitle",
9441
- "style": "caption",
9442
- "color": "textSecondary",
9443
- "maxLines": 3,
9444
- "collapseWhenEmpty": true
9445
- }
9446
- }
9447
- },
9448
- {
9449
- "id": "",
9450
- "body": {
9451
- "package": "himalaya",
9452
- "type": "Text",
9453
- "props": {
9454
- "text": "$item.collectionMeta",
9455
- "style": "caption",
9456
- "color": "textSecondary",
9457
- "maxLines": 2,
9458
- "collapseWhenEmpty": true
9459
- }
9460
- }
9461
- },
9462
- {
9463
- "id": "",
9464
- "body": {
9465
- "package": "himalaya",
9466
- "type": "Text",
9467
- "props": {
9468
- "text": "Saved",
9469
- "style": "caption",
9470
- "color": "accentPrimary"
9471
- }
9472
- },
9473
- "modifiers": {
9474
- "hiddenPath": "$item.collectionNotSaved"
9475
- }
9476
- }
9477
- ]
9478
- }
9479
- }
9480
- },
9481
- {
9482
- "id": "",
9483
- "body": {
9484
- "package": "himalaya",
9485
- "type": "HStack",
9486
- "props": {
9487
- "spacing": 8,
9488
- "children": [
9489
- {
9490
- "id": "himi_services.list.collection.grid.$item.collectionId/select",
9491
- "body": {
9492
- "package": "himalaya",
9493
- "type": "Button",
9494
- "props": {
9495
- "title": "$item.collectionSelectLabel",
9496
- "style": "plain",
9497
- "fullWidth": false,
9498
- "action": {
9499
- "actionId": "tier5.himiBookingServices.collectionSelect",
9500
- "params": {
9501
- "id": "$item.collectionId"
9502
- }
9503
- }
9504
- }
9505
- },
9506
- "modifiers": {
9507
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
9508
- }
9509
- },
9510
- {
9511
- "id": "himi_services.list.collection.grid.$item.collectionId/primary",
9512
- "body": {
9513
- "package": "himalaya",
9514
- "type": "Button",
9515
- "props": {
9516
- "title": "Book",
9517
- "style": "secondary",
9518
- "fullWidth": false,
9519
- "action": {
9520
- "actionId": "himi.open",
9521
- "params": {
9522
- "screenId": "himi_time",
9523
- "id": "$item.collectionId"
9524
- }
9525
- }
9526
- }
9527
- }
9528
- },
9529
- {
9530
- "id": "",
9531
- "body": {
9532
- "package": "himalaya",
9533
- "type": "Spacer",
9534
- "props": {}
9535
- }
9536
- },
9537
- {
9538
- "id": "himi_services.list.collection.grid.$item.collectionId/actions",
9539
- "body": {
9540
- "package": "himalaya",
9541
- "type": "Menu",
9542
- "props": {
9543
- "style": "dropdown",
9544
- "anchor": {
9545
- "id": "",
9546
- "body": {
9547
- "package": "himalaya",
9548
- "type": "Icon",
9549
- "props": {
9550
- "name": "ellipsis",
9551
- "size": 20
9552
- }
9553
- },
9554
- "modifiers": {
9555
- "width": 44,
9556
- "height": 44,
9557
- "accessibilityLabel": "$item.collectionActionsLabel"
9558
- }
9559
- },
9560
- "items": [
9561
- {
9562
- "id": "preview",
9563
- "label": "Quick preview",
9564
- "icon": "search",
9565
- "action": {
9566
- "actionId": "tier5.himiBookingServices.collectionPreview",
9567
- "params": {
9568
- "id": "$item.collectionId"
9569
- }
9570
- }
9571
- },
9572
- {
9573
- "id": "save",
9574
- "label": "$item.collectionSaveLabel",
9575
- "icon": "bookmark",
9576
- "action": {
9577
- "actionId": "tier5.himiBookingServices.collectionSave",
9578
- "params": {
9579
- "id": "$item.collectionId"
9580
- }
9581
- }
9582
- },
9583
- {
9584
- "id": "open",
9585
- "label": "Open details",
9586
- "icon": "chevron_right",
9587
- "action": {
9588
- "actionId": "himi.open",
9589
- "params": {
9590
- "screenId": "$item.detailScreenId",
9591
- "id": "$item.id"
9592
- }
9593
- }
9594
- }
9595
- ]
9596
- }
9597
- }
9598
- }
9599
- ]
9600
- }
9601
- },
9602
- "modifiers": {
9603
- "hiddenPath": "$item.collectionNoIdentity"
9604
- }
9605
- }
9606
- ]
9607
- }
9608
- },
9609
- "modifiers": {
9610
- "onTap": {
9611
- "actionId": "himi.open",
9612
- "params": {
9613
- "screenId": "$item.detailScreenId",
9614
- "id": "$item.id"
9615
- }
9616
- },
9617
- "haptic": "light",
9618
- "background": {
9619
- "token": "surfaceElevated"
9620
- },
9621
- "border": {
9622
- "width": 1,
9623
- "color": {
9624
- "token": "border"
9625
- }
9626
- },
9627
- "cornerRadius": 12,
9628
- "padding": {
9629
- "top": 12,
9630
- "bottom": 12,
9631
- "leading": 12,
9632
- "trailing": 12
9633
- },
9634
- "fillMaxWidth": true,
9635
- "accessibilityLabel": "$item.collectionTitle",
9636
- "pressFeedback": "scale",
9637
- "transition": {
9638
- "enter": "fadeSlide",
9639
- "direction": "up",
9640
- "distance": 8
9641
- }
9642
- }
9643
- }
9644
- ]
9645
- }
9646
- }
9647
- },
9648
- {
9649
- "id": "himi_services.list.collection.more",
9650
- "body": {
9651
- "package": "himalaya",
9652
- "type": "Button",
9653
- "props": {
9654
- "title": "Load more",
9655
- "style": "secondary",
9656
- "action": {
9657
- "actionId": "tier5.himiBookingServices.loadMore"
9658
- }
9659
- }
9660
- },
9661
- "modifiers": {
9662
- "hiddenPath": "$service:himiBookingServices.collection.noMore"
9663
- }
9664
- }
9665
- ]
9666
- }
9667
- },
9668
- "modifiers": {
9669
- "hiddenPath": "$service:himiBookingServices.collection.hideGrid"
9670
- }
9671
- }
9672
- ]
9673
- }
9674
- },
9675
- "modifiers": {
9676
- "hiddenPath": "$service:himiBookingServices.collection.hideComfortable",
9677
- "padding": {
9678
- "bottom": 12
9679
- }
9680
- }
9681
- },
9682
- {
9683
- "id": "",
9684
- "body": {
9685
- "package": "himalaya",
9686
- "type": "VStack",
9687
- "props": {
9688
- "spacing": 0,
9689
- "children": [
9690
- {
9691
- "id": "himi_services.list.collection.compact-list",
9692
- "body": {
9693
- "package": "himalaya",
9694
- "type": "LazyList",
9695
- "props": {
9696
- "spacing": 6,
9697
- "itemsPath": "$service:himiBookingServices.collection.items",
9698
- "onPullToRefresh": {
9699
- "actionId": "tier5.himiBookingServices.refresh"
9700
- },
9701
- "pagination": {
9702
- "cursor": "$service:himiBookingServices.collection.cursor",
9703
- "onLoadMore": {
9704
- "actionId": "tier5.himiBookingServices.loadMore"
9705
- },
9706
- "pageSize": 50
9707
- },
9708
- "items": [
9709
- {
9710
- "id": "himi_services.list.collection.compact-list.$item.collectionId",
9711
- "body": {
9712
- "package": "himalaya",
9713
- "type": "VStack",
9714
- "props": {
9715
- "spacing": 4,
9716
- "children": [
9717
- {
9718
- "id": "",
9719
- "body": {
9720
- "package": "himalaya",
9721
- "type": "HStack",
9722
- "props": {
9723
- "spacing": 12,
9724
- "children": [
9725
- {
9726
- "id": "himi_services.list.collection.compact-list.$item.collectionId/image",
9727
- "body": {
9728
- "package": "himalaya",
9729
- "type": "Image",
9730
- "props": {
9731
- "url": "$item.collectionImage",
9732
- "contentDescription": "$item.collectionTitle",
9733
- "contentMode": "fill",
9734
- "height": 56,
9735
- "width": 56
9736
- }
9737
- },
9738
- "modifiers": {
9739
- "cornerRadius": 12,
9740
- "hiddenPath": "$item.collectionNoImage"
9741
- }
9742
- },
9743
- {
9744
- "id": "",
9745
- "body": {
9746
- "package": "himalaya",
9747
- "type": "VStack",
9748
- "props": {
9749
- "spacing": 4,
9750
- "alignment": "leading",
9751
- "children": [
9752
- {
9753
- "id": "",
9754
- "body": {
9755
- "package": "himalaya",
9756
- "type": "Text",
9757
- "props": {
9758
- "text": "$item.collectionTitle",
9759
- "style": "bodyEmphasis",
9760
- "maxLines": 2
9761
- }
9762
- }
9763
- },
9764
- {
9765
- "id": "",
9766
- "body": {
9767
- "package": "himalaya",
9768
- "type": "Text",
9769
- "props": {
9770
- "text": "$item.collectionSubtitle",
9771
- "style": "caption",
9772
- "color": "textSecondary",
9773
- "maxLines": 1,
9774
- "collapseWhenEmpty": true
9775
- }
9776
- }
9777
- },
9778
- {
9779
- "id": "",
9780
- "body": {
9781
- "package": "himalaya",
9782
- "type": "Text",
9783
- "props": {
9784
- "text": "$item.collectionMeta",
9785
- "style": "caption",
9786
- "color": "textSecondary",
9787
- "maxLines": 2,
9788
- "collapseWhenEmpty": true
9789
- }
9790
- }
9791
- },
9792
- {
9793
- "id": "",
9794
- "body": {
9795
- "package": "himalaya",
9796
- "type": "Text",
9797
- "props": {
9798
- "text": "Saved",
9799
- "style": "caption",
9800
- "color": "accentPrimary"
9801
- }
9802
- },
9803
- "modifiers": {
9804
- "hiddenPath": "$item.collectionNotSaved"
9805
- }
9806
- }
9807
- ]
9808
- }
9809
- },
9810
- "modifiers": {
9811
- "weight": 1
9812
- }
9813
- },
9814
- {
9815
- "id": "",
9816
- "body": {
9817
- "package": "himalaya",
9818
- "type": "HStack",
9819
- "props": {
9820
- "spacing": 8,
9821
- "children": [
9822
- {
9823
- "id": "himi_services.list.collection.compact-list.$item.collectionId/select",
9824
- "body": {
9825
- "package": "himalaya",
9826
- "type": "Button",
9827
- "props": {
9828
- "title": "$item.collectionSelectLabel",
9829
- "style": "plain",
9830
- "fullWidth": false,
9831
- "action": {
9832
- "actionId": "tier5.himiBookingServices.collectionSelect",
9833
- "params": {
9834
- "id": "$item.collectionId"
9835
- }
9836
- }
9837
- }
9838
- },
9839
- "modifiers": {
9840
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
9841
- }
9842
- },
9843
- {
9844
- "id": "himi_services.list.collection.compact-list.$item.collectionId/primary",
9845
- "body": {
9846
- "package": "himalaya",
9847
- "type": "Button",
9848
- "props": {
9849
- "title": "Book",
9850
- "style": "secondary",
9851
- "fullWidth": false,
9852
- "action": {
9853
- "actionId": "himi.open",
9854
- "params": {
9855
- "screenId": "himi_time",
9856
- "id": "$item.collectionId"
9857
- }
9858
- }
9859
- }
9860
- }
9861
- },
9862
- {
9863
- "id": "himi_services.list.collection.compact-list.$item.collectionId/actions",
9864
- "body": {
9865
- "package": "himalaya",
9866
- "type": "Menu",
9867
- "props": {
9868
- "style": "dropdown",
9869
- "anchor": {
9870
- "id": "",
9871
- "body": {
9872
- "package": "himalaya",
9873
- "type": "Icon",
9874
- "props": {
9875
- "name": "ellipsis",
9876
- "size": 20
9877
- }
9878
- },
9879
- "modifiers": {
9880
- "width": 44,
9881
- "height": 44,
9882
- "accessibilityLabel": "$item.collectionActionsLabel"
9883
- }
9884
- },
9885
- "items": [
9886
- {
9887
- "id": "preview",
9888
- "label": "Quick preview",
9889
- "icon": "search",
9890
- "action": {
9891
- "actionId": "tier5.himiBookingServices.collectionPreview",
9892
- "params": {
9893
- "id": "$item.collectionId"
9894
- }
9895
- }
9896
- },
9897
- {
9898
- "id": "save",
9899
- "label": "$item.collectionSaveLabel",
9900
- "icon": "bookmark",
9901
- "action": {
9902
- "actionId": "tier5.himiBookingServices.collectionSave",
9903
- "params": {
9904
- "id": "$item.collectionId"
9905
- }
9906
- }
9907
- },
9908
- {
9909
- "id": "open",
9910
- "label": "Open details",
9911
- "icon": "chevron_right",
9912
- "action": {
9913
- "actionId": "himi.open",
9914
- "params": {
9915
- "screenId": "$item.detailScreenId",
9916
- "id": "$item.id"
9917
- }
9918
- }
9919
- }
9920
- ]
9921
- }
9922
- }
9923
- }
9924
- ]
9925
- }
9926
- },
9927
- "modifiers": {
9928
- "hiddenPath": "$item.collectionNoIdentity"
9929
- }
9930
- }
9931
- ]
9932
- }
9933
- }
9934
- }
9935
- ]
9936
- }
9937
- },
9938
- "modifiers": {
9939
- "onTap": {
9940
- "actionId": "himi.open",
9941
- "params": {
9942
- "screenId": "$item.detailScreenId",
9943
- "id": "$item.id"
9944
- }
9945
- },
9946
- "haptic": "light",
9947
- "background": {
9948
- "token": "surfaceElevated"
9949
- },
9950
- "border": {
9951
- "width": 1,
9952
- "color": {
9953
- "token": "border"
9954
- }
9955
- },
9956
- "cornerRadius": 12,
9957
- "padding": {
9958
- "top": 8,
9959
- "bottom": 8,
9960
- "leading": 12,
9961
- "trailing": 12
9962
- },
9963
- "fillMaxWidth": true,
9964
- "accessibilityLabel": "$item.collectionTitle",
9965
- "pressFeedback": "scale",
9966
- "transition": {
9967
- "enter": "fadeSlide",
9968
- "direction": "up",
9969
- "distance": 8
9970
- }
9971
- }
9972
- }
9973
- ],
9974
- "staggerMs": 30,
9975
- "animateItems": true,
9976
- "rowSwipeActions": {
9977
- "trailing": [
9978
- {
9979
- "label": "$item.collectionSaveLabel",
9980
- "icon": "bookmark",
9981
- "action": {
9982
- "actionId": "tier5.himiBookingServices.collectionSave",
9983
- "params": {
9984
- "id": "$item.collectionId"
9985
- }
9986
- }
9987
- },
9988
- {
9989
- "label": "Preview",
9990
- "icon": "search",
9991
- "action": {
9992
- "actionId": "tier5.himiBookingServices.collectionPreview",
9993
- "params": {
9994
- "id": "$item.collectionId"
9995
- }
9996
- }
9997
- }
9998
- ]
9999
- }
10000
- }
10001
- },
10002
- "modifiers": {
10003
- "hiddenPath": "$service:himiBookingServices.collection.hideList"
10004
- }
10005
- },
10006
- {
10007
- "id": "",
10008
- "body": {
10009
- "package": "himalaya",
10010
- "type": "VStack",
10011
- "props": {
10012
- "spacing": 12,
10013
- "children": [
10014
- {
10015
- "id": "himi_services.list.collection.compact-grid",
10016
- "body": {
10017
- "package": "himalaya",
10018
- "type": "Grid",
10019
- "props": {
10020
- "columns": 2,
10021
- "columnsMedium": 3,
10022
- "columnsExpanded": 4,
10023
- "spacing": 8,
10024
- "staggerMs": 30,
10025
- "itemsPath": "$service:himiBookingServices.collection.items",
10026
- "items": [
10027
- {
10028
- "id": "himi_services.list.collection.compact-grid.$item.collectionId",
10029
- "body": {
10030
- "package": "himalaya",
10031
- "type": "VStack",
10032
- "props": {
10033
- "spacing": 8,
10034
- "alignment": "leading",
10035
- "children": [
10036
- {
10037
- "id": "",
10038
- "body": {
10039
- "package": "himalaya",
10040
- "type": "VStack",
10041
- "props": {
10042
- "spacing": 0,
10043
- "children": [
10044
- {
10045
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/image",
10046
- "body": {
10047
- "package": "himalaya",
10048
- "type": "Image",
10049
- "props": {
10050
- "url": "$item.collectionImage",
10051
- "contentDescription": "$item.collectionTitle",
10052
- "contentMode": "fill",
10053
- "height": 80,
10054
- "fillWidth": true
10055
- }
10056
- },
10057
- "modifiers": {
10058
- "cornerRadius": 12,
10059
- "hiddenPath": "$item.collectionNoImage"
10060
- }
10061
- },
10062
- {
10063
- "id": "",
10064
- "body": {
10065
- "package": "himalaya",
10066
- "type": "ZStack",
10067
- "props": {
10068
- "alignment": "center",
10069
- "children": [
10070
- {
10071
- "id": "",
10072
- "body": {
10073
- "package": "himalaya",
10074
- "type": "Icon",
10075
- "props": {
10076
- "name": "photo",
10077
- "size": 28,
10078
- "tint": "accentPrimary"
10079
- }
10080
- },
10081
- "modifiers": {
10082
- "accessibilityRole": "decorative"
10083
- }
10084
- }
10085
- ]
10086
- }
10087
- },
10088
- "modifiers": {
10089
- "height": 80,
10090
- "fillMaxWidth": true,
10091
- "cornerRadius": 12,
10092
- "background": {
10093
- "token": "surfaceSecondary"
10094
- },
10095
- "accessibilityLabel": "No image available",
10096
- "hiddenPath": "$item.collectionHasImage"
10097
- }
10098
- }
10099
- ]
10100
- }
10101
- }
10102
- },
10103
- {
10104
- "id": "",
10105
- "body": {
10106
- "package": "himalaya",
10107
- "type": "VStack",
10108
- "props": {
10109
- "spacing": 4,
10110
- "alignment": "leading",
10111
- "children": [
10112
- {
10113
- "id": "",
10114
- "body": {
10115
- "package": "himalaya",
10116
- "type": "Text",
10117
- "props": {
10118
- "text": "$item.collectionTitle",
10119
- "style": "bodyEmphasis",
10120
- "maxLines": 2
10121
- }
10122
- }
10123
- },
10124
- {
10125
- "id": "",
10126
- "body": {
10127
- "package": "himalaya",
10128
- "type": "Text",
10129
- "props": {
10130
- "text": "$item.collectionSubtitle",
10131
- "style": "caption",
10132
- "color": "textSecondary",
10133
- "maxLines": 1,
10134
- "collapseWhenEmpty": true
10135
- }
10136
- }
10137
- },
10138
- {
10139
- "id": "",
10140
- "body": {
10141
- "package": "himalaya",
10142
- "type": "Text",
10143
- "props": {
10144
- "text": "$item.collectionMeta",
10145
- "style": "caption",
10146
- "color": "textSecondary",
10147
- "maxLines": 2,
10148
- "collapseWhenEmpty": true
10149
- }
10150
- }
10151
- },
10152
- {
10153
- "id": "",
10154
- "body": {
10155
- "package": "himalaya",
10156
- "type": "Text",
10157
- "props": {
10158
- "text": "Saved",
10159
- "style": "caption",
10160
- "color": "accentPrimary"
10161
- }
10162
- },
10163
- "modifiers": {
10164
- "hiddenPath": "$item.collectionNotSaved"
10165
- }
10166
- }
10167
- ]
10168
- }
10169
- }
10170
- },
10171
- {
10172
- "id": "",
10173
- "body": {
10174
- "package": "himalaya",
10175
- "type": "HStack",
10176
- "props": {
10177
- "spacing": 8,
10178
- "children": [
10179
- {
10180
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/select",
10181
- "body": {
10182
- "package": "himalaya",
10183
- "type": "Button",
10184
- "props": {
10185
- "title": "$item.collectionSelectLabel",
10186
- "style": "plain",
10187
- "fullWidth": false,
10188
- "action": {
10189
- "actionId": "tier5.himiBookingServices.collectionSelect",
10190
- "params": {
10191
- "id": "$item.collectionId"
10192
- }
10193
- }
10194
- }
10195
- },
10196
- "modifiers": {
10197
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
10198
- }
10199
- },
10200
- {
10201
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/primary",
10202
- "body": {
10203
- "package": "himalaya",
10204
- "type": "Button",
10205
- "props": {
10206
- "title": "Book",
10207
- "style": "secondary",
10208
- "fullWidth": false,
10209
- "action": {
10210
- "actionId": "himi.open",
10211
- "params": {
10212
- "screenId": "himi_time",
10213
- "id": "$item.collectionId"
10214
- }
10215
- }
10216
- }
10217
- }
10218
- },
10219
- {
10220
- "id": "",
10221
- "body": {
10222
- "package": "himalaya",
10223
- "type": "Spacer",
10224
- "props": {}
10225
- }
10226
- },
10227
- {
10228
- "id": "himi_services.list.collection.compact-grid.$item.collectionId/actions",
10229
- "body": {
10230
- "package": "himalaya",
10231
- "type": "Menu",
10232
- "props": {
10233
- "style": "dropdown",
10234
- "anchor": {
10235
- "id": "",
10236
- "body": {
10237
- "package": "himalaya",
10238
- "type": "Icon",
10239
- "props": {
10240
- "name": "ellipsis",
10241
- "size": 20
10242
- }
10243
- },
10244
- "modifiers": {
10245
- "width": 44,
10246
- "height": 44,
10247
- "accessibilityLabel": "$item.collectionActionsLabel"
10248
- }
10249
- },
10250
- "items": [
10251
- {
10252
- "id": "preview",
10253
- "label": "Quick preview",
10254
- "icon": "search",
10255
- "action": {
10256
- "actionId": "tier5.himiBookingServices.collectionPreview",
10257
- "params": {
10258
- "id": "$item.collectionId"
10259
- }
10260
- }
10261
- },
10262
- {
10263
- "id": "save",
10264
- "label": "$item.collectionSaveLabel",
10265
- "icon": "bookmark",
10266
- "action": {
10267
- "actionId": "tier5.himiBookingServices.collectionSave",
10268
- "params": {
10269
- "id": "$item.collectionId"
10270
- }
10271
- }
10272
- },
10273
- {
10274
- "id": "open",
10275
- "label": "Open details",
10276
- "icon": "chevron_right",
10277
- "action": {
10278
- "actionId": "himi.open",
10279
- "params": {
10280
- "screenId": "$item.detailScreenId",
10281
- "id": "$item.id"
10282
- }
10283
- }
10284
- }
10285
- ]
10286
- }
10287
- }
10288
- }
10289
- ]
10290
- }
10291
- },
10292
- "modifiers": {
10293
- "hiddenPath": "$item.collectionNoIdentity"
10294
- }
10295
- }
10296
- ]
10297
- }
10298
- },
10299
- "modifiers": {
10300
- "onTap": {
10301
- "actionId": "himi.open",
10302
- "params": {
10303
- "screenId": "$item.detailScreenId",
10304
- "id": "$item.id"
10305
- }
10306
- },
10307
- "haptic": "light",
10308
- "background": {
10309
- "token": "surfaceElevated"
10310
- },
10311
- "border": {
10312
- "width": 1,
10313
- "color": {
10314
- "token": "border"
10315
- }
10316
- },
10317
- "cornerRadius": 12,
10318
- "padding": {
10319
- "top": 8,
10320
- "bottom": 8,
10321
- "leading": 12,
10322
- "trailing": 12
10323
- },
10324
- "fillMaxWidth": true,
10325
- "accessibilityLabel": "$item.collectionTitle",
10326
- "pressFeedback": "scale",
10327
- "transition": {
10328
- "enter": "fadeSlide",
10329
- "direction": "up",
10330
- "distance": 8
10331
- }
10332
- }
10333
- }
10334
- ]
10335
- }
10336
- }
10337
- },
10338
- {
10339
- "id": "himi_services.list.collection.compact-more",
10340
- "body": {
10341
- "package": "himalaya",
10342
- "type": "Button",
10343
- "props": {
10344
- "title": "Load more",
10345
- "style": "secondary",
10346
- "action": {
10347
- "actionId": "tier5.himiBookingServices.loadMore"
10348
- }
10349
- }
10350
- },
10351
- "modifiers": {
10352
- "hiddenPath": "$service:himiBookingServices.collection.noMore"
10353
- }
10354
- }
10355
- ]
10356
- }
10357
- },
10358
- "modifiers": {
10359
- "hiddenPath": "$service:himiBookingServices.collection.hideGrid"
10360
- }
10361
- }
10362
- ]
10363
- }
10364
- },
10365
- "modifiers": {
10366
- "hiddenPath": "$service:himiBookingServices.collection.hideCompact",
10367
- "padding": {
10368
- "bottom": 12
10369
- }
10370
- }
10371
- },
10372
- {
10373
- "id": "",
10374
- "body": {
10375
- "package": "himalaya",
10376
- "type": "VStack",
10377
- "props": {
10378
- "spacing": 8,
10379
- "children": [
10380
- {
10381
- "id": "",
10382
- "body": {
10383
- "package": "himalaya",
10384
- "type": "Text",
10385
- "props": {
10386
- "text": "No matching items",
10387
- "style": "bodyEmphasis"
10388
- }
10389
- }
10390
- },
10391
- {
10392
- "id": "btn_tier5_himibookingservices_collectionclear",
10393
- "body": {
10394
- "package": "himalaya",
10395
- "type": "Button",
10396
- "props": {
10397
- "title": "Clear filters",
10398
- "style": "secondary",
10399
- "action": {
10400
- "actionId": "tier5.himiBookingServices.collectionClear"
10401
- }
10402
- }
10403
- }
10404
- }
10405
- ]
10406
- }
10407
- },
10408
- "modifiers": {
10409
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty",
10410
- "padding": {
10411
- "bottom": 12
10412
- }
10413
- }
10414
- },
10415
- {
10416
- "id": "himi_services.list.collection.sheet",
10417
- "body": {
10418
- "package": "himalaya",
10419
- "type": "BottomSheet",
10420
- "props": {
10421
- "presentedPath": "$service:himiBookingServices.collection.filtersPresented",
10422
- "dismissible": true,
10423
- "showGrabber": true,
10424
- "onDismiss": {
10425
- "actionId": "tier5.himiBookingServices.collectionDismissFilters"
10426
- },
10427
- "content": {
10428
- "id": "",
10429
- "body": {
10430
- "package": "himalaya",
10431
- "type": "VStack",
10432
- "props": {
10433
- "spacing": 16,
10434
- "children": [
10435
- {
10436
- "id": "",
10437
- "body": {
10438
- "package": "himalaya",
10439
- "type": "Text",
10440
- "props": {
10441
- "text": "Make this view yours",
10442
- "style": "title2"
10443
- }
10444
- }
10445
- },
10446
- {
10447
- "id": "",
10448
- "body": {
10449
- "package": "himalaya",
10450
- "type": "Text",
10451
- "props": {
10452
- "text": "$service:himiBookingServices.collection.persistenceLabel",
10453
- "style": "caption",
10454
- "color": "textSecondary"
10455
- }
10456
- }
10457
- },
10458
- {
10459
- "id": "",
10460
- "body": {
10461
- "package": "himalaya",
10462
- "type": "Text",
10463
- "props": {
10464
- "text": "Sort results",
10465
- "style": "bodyEmphasis"
10466
- }
10467
- }
10468
- },
10469
- {
10470
- "id": "segmented_tier5_himibookingservices_collectionsort",
10471
- "body": {
10472
- "package": "himalaya",
10473
- "type": "SegmentedControl",
10474
- "props": {
10475
- "options": [
10476
- {
10477
- "id": "default",
10478
- "label": "Original"
10479
- },
10480
- {
10481
- "id": "az",
10482
- "label": "A–Z"
10483
- },
10484
- {
10485
- "id": "za",
10486
- "label": "Z–A"
10487
- }
10488
- ],
10489
- "selectedId": "$service:himiBookingServices.collection.sort",
10490
- "onChange": {
10491
- "actionId": "tier5.himiBookingServices.collectionSort"
10492
- }
10493
- }
10494
- }
10495
- },
10496
- {
10497
- "id": "",
10498
- "body": {
10499
- "package": "himalaya",
10500
- "type": "Text",
10501
- "props": {
10502
- "text": "Density",
10503
- "style": "bodyEmphasis"
10504
- }
10505
- }
10506
- },
10507
- {
10508
- "id": "segmented_tier5_himibookingservices_collectiondensity",
10509
- "body": {
10510
- "package": "himalaya",
10511
- "type": "SegmentedControl",
10512
- "props": {
10513
- "options": [
10514
- {
10515
- "id": "comfortable",
10516
- "label": "Comfortable"
10517
- },
10518
- {
10519
- "id": "compact",
10520
- "label": "Compact"
10521
- }
10522
- ],
10523
- "selectedId": "$service:himiBookingServices.collection.density",
10524
- "onChange": {
10525
- "actionId": "tier5.himiBookingServices.collectionDensity"
10526
- }
10527
- }
10528
- }
10529
- },
10530
- {
10531
- "id": "",
10532
- "body": {
10533
- "package": "himalaya",
10534
- "type": "Text",
10535
- "props": {
10536
- "text": "Saved views",
10537
- "style": "bodyEmphasis"
10538
- }
10539
- }
10540
- },
10541
- {
10542
- "id": "",
10543
- "body": {
10544
- "package": "himalaya",
10545
- "type": "LazyList",
10546
- "props": {
10547
- "itemsPath": "$service:himiBookingServices.collection.savedViews",
10548
- "items": [
10549
- {
10550
- "id": "",
10551
- "body": {
10552
- "package": "himalaya",
10553
- "type": "HStack",
10554
- "props": {
10555
- "spacing": 8,
10556
- "children": [
10557
- {
10558
- "id": "btn_tier5_himibookingservices_collectionapplyview",
10559
- "body": {
10560
- "package": "himalaya",
10561
- "type": "Button",
10562
- "props": {
10563
- "title": "$item.name",
10564
- "style": "secondary",
10565
- "action": {
10566
- "actionId": "tier5.himiBookingServices.collectionApplyView",
10567
- "params": {
10568
- "id": "$item.id"
10569
- }
10570
- }
10571
- }
10572
- }
10573
- },
10574
- {
10575
- "id": "btn_tier5_himibookingservices_collectionremoveview",
10576
- "body": {
10577
- "package": "himalaya",
10578
- "type": "Button",
10579
- "props": {
10580
- "title": "Remove",
10581
- "style": "plain",
10582
- "action": {
10583
- "actionId": "tier5.himiBookingServices.collectionRemoveView",
10584
- "params": {
10585
- "id": "$item.id"
10586
- }
10587
- }
10588
- }
10589
- }
10590
- }
10591
- ]
10592
- }
10593
- }
10594
- }
10595
- ]
10596
- }
10597
- },
10598
- "modifiers": {
10599
- "hiddenPath": "$service:himiBookingServices.collection.noSavedViews"
10600
- }
10601
- },
10602
- {
10603
- "id": "himi_services.list.collection.view-name",
10604
- "body": {
10605
- "package": "himalaya",
10606
- "type": "TextField",
10607
- "props": {
10608
- "placeholder": "Name this view",
10609
- "valuePath": "$service:himiBookingServices.collection.viewName",
10610
- "onChange": {
10611
- "actionId": "tier5.himiBookingServices.collectionViewName"
10612
- }
10613
- }
10614
- }
10615
- },
10616
- {
10617
- "id": "himi_services.list.collection.remember-view",
10618
- "body": {
10619
- "package": "himalaya",
10620
- "type": "Button",
10621
- "props": {
10622
- "title": "Save current view",
10623
- "style": "secondary",
10624
- "action": {
10625
- "actionId": "tier5.himiBookingServices.collectionRememberView"
10626
- }
10627
- }
10628
- }
10629
- },
10630
- {
10631
- "id": "",
10632
- "body": {
10633
- "package": "himalaya",
10634
- "type": "Text",
10635
- "props": {
10636
- "text": "$service:himiBookingServices.collection.viewMessage",
10637
- "style": "caption",
10638
- "collapseWhenEmpty": true
10639
- }
10640
- }
10641
- },
10642
- {
10643
- "id": "btn_tier5_himibookingservices_collectiondismissfilters",
10644
- "body": {
10645
- "package": "himalaya",
10646
- "type": "Button",
10647
- "props": {
10648
- "title": "Done",
10649
- "style": "primary",
10650
- "action": {
10651
- "actionId": "tier5.himiBookingServices.collectionDismissFilters"
10652
- },
10653
- "fullWidth": true
10654
- }
10655
- }
10656
- }
10657
- ]
10658
- }
10659
- },
10660
- "modifiers": {
10661
- "padding": {
10662
- "leading": 20,
10663
- "trailing": 20,
10664
- "top": 20,
10665
- "bottom": 24
10666
- }
10667
- }
10668
- }
10669
- }
10670
- }
10671
- },
10672
- {
10673
- "id": "himi_services.list.collection.preview",
10674
- "body": {
10675
- "package": "himalaya",
10676
- "type": "BottomSheet",
10677
- "props": {
10678
- "presentedPath": "$service:himiBookingServices.collection.previewPresented",
10679
- "dismissible": true,
10680
- "showGrabber": true,
10681
- "onDismiss": {
10682
- "actionId": "tier5.himiBookingServices.collectionDismissPreview"
10683
- },
10684
- "content": {
10685
- "id": "",
10686
- "body": {
10687
- "package": "himalaya",
10688
- "type": "Grid",
10689
- "props": {
10690
- "columns": 1,
10691
- "itemsPath": "$service:himiBookingServices.collection.preview",
10692
- "items": [
10693
- {
10694
- "id": "himi_services.list.collection.preview.$item.collectionId",
10695
- "body": {
10696
- "package": "himalaya",
10697
- "type": "VStack",
10698
- "props": {
10699
- "spacing": 8,
10700
- "alignment": "leading",
10701
- "children": [
10702
- {
10703
- "id": "",
10704
- "body": {
10705
- "package": "himalaya",
10706
- "type": "VStack",
10707
- "props": {
10708
- "spacing": 0,
10709
- "children": [
10710
- {
10711
- "id": "himi_services.list.collection.preview.$item.collectionId/image",
10712
- "body": {
10713
- "package": "himalaya",
10714
- "type": "Image",
10715
- "props": {
10716
- "url": "$item.collectionImage",
10717
- "contentDescription": "$item.collectionTitle",
10718
- "contentMode": "fill",
10719
- "height": 112,
10720
- "fillWidth": true
10721
- }
10722
- },
10723
- "modifiers": {
10724
- "cornerRadius": 12,
10725
- "hiddenPath": "$item.collectionNoImage"
10726
- }
10727
- },
10728
- {
10729
- "id": "",
10730
- "body": {
10731
- "package": "himalaya",
10732
- "type": "ZStack",
10733
- "props": {
10734
- "alignment": "center",
10735
- "children": [
10736
- {
10737
- "id": "",
10738
- "body": {
10739
- "package": "himalaya",
10740
- "type": "Icon",
10741
- "props": {
10742
- "name": "photo",
10743
- "size": 28,
10744
- "tint": "accentPrimary"
10745
- }
10746
- },
10747
- "modifiers": {
10748
- "accessibilityRole": "decorative"
10749
- }
10750
- }
10751
- ]
10752
- }
10753
- },
10754
- "modifiers": {
10755
- "height": 112,
10756
- "fillMaxWidth": true,
10757
- "cornerRadius": 12,
10758
- "background": {
10759
- "token": "surfaceSecondary"
10760
- },
10761
- "accessibilityLabel": "No image available",
10762
- "hiddenPath": "$item.collectionHasImage"
10763
- }
10764
- }
10765
- ]
10766
- }
10767
- }
10768
- },
10769
- {
10770
- "id": "",
10771
- "body": {
10772
- "package": "himalaya",
10773
- "type": "VStack",
10774
- "props": {
10775
- "spacing": 4,
10776
- "alignment": "leading",
10777
- "children": [
10778
- {
10779
- "id": "",
10780
- "body": {
10781
- "package": "himalaya",
10782
- "type": "Text",
10783
- "props": {
10784
- "text": "$item.collectionTitle",
10785
- "style": "bodyEmphasis",
10786
- "maxLines": 2
10787
- }
10788
- }
10789
- },
10790
- {
10791
- "id": "",
10792
- "body": {
10793
- "package": "himalaya",
10794
- "type": "Text",
10795
- "props": {
10796
- "text": "$item.collectionSubtitle",
10797
- "style": "caption",
10798
- "color": "textSecondary",
10799
- "maxLines": 3,
10800
- "collapseWhenEmpty": true
10801
- }
10802
- }
10803
- },
10804
- {
10805
- "id": "",
10806
- "body": {
10807
- "package": "himalaya",
10808
- "type": "Text",
10809
- "props": {
10810
- "text": "$item.collectionMeta",
10811
- "style": "caption",
10812
- "color": "textSecondary",
10813
- "maxLines": 2,
10814
- "collapseWhenEmpty": true
10815
- }
10816
- }
10817
- },
10818
- {
10819
- "id": "",
10820
- "body": {
10821
- "package": "himalaya",
10822
- "type": "Text",
10823
- "props": {
10824
- "text": "Saved",
10825
- "style": "caption",
10826
- "color": "accentPrimary"
10827
- }
10828
- },
10829
- "modifiers": {
10830
- "hiddenPath": "$item.collectionNotSaved"
10831
- }
10832
- }
10833
- ]
10834
- }
10835
- }
10836
- },
10837
- {
10838
- "id": "",
10839
- "body": {
10840
- "package": "himalaya",
10841
- "type": "HStack",
10842
- "props": {
10843
- "spacing": 8,
10844
- "children": [
10845
- {
10846
- "id": "himi_services.list.collection.preview.$item.collectionId/select",
10847
- "body": {
10848
- "package": "himalaya",
10849
- "type": "Button",
10850
- "props": {
10851
- "title": "$item.collectionSelectLabel",
10852
- "style": "plain",
10853
- "fullWidth": false,
10854
- "action": {
10855
- "actionId": "tier5.himiBookingServices.collectionSelect",
10856
- "params": {
10857
- "id": "$item.collectionId"
10858
- }
10859
- }
10860
- }
10861
- },
10862
- "modifiers": {
10863
- "hiddenPath": "$service:himiBookingServices.collection.noSelection"
10864
- }
10865
- },
10866
- {
10867
- "id": "himi_services.list.collection.preview.$item.collectionId/primary",
10868
- "body": {
10869
- "package": "himalaya",
10870
- "type": "Button",
10871
- "props": {
10872
- "title": "Book",
10873
- "style": "secondary",
10874
- "fullWidth": false,
10875
- "action": {
10876
- "actionId": "himi.open",
10877
- "params": {
10878
- "screenId": "himi_time",
10879
- "id": "$item.collectionId"
10880
- }
10881
- }
10882
- }
10883
- }
10884
- },
10885
- {
10886
- "id": "",
10887
- "body": {
10888
- "package": "himalaya",
10889
- "type": "Spacer",
10890
- "props": {}
10891
- }
10892
- },
10893
- {
10894
- "id": "himi_services.list.collection.preview.$item.collectionId/actions",
10895
- "body": {
10896
- "package": "himalaya",
10897
- "type": "Menu",
10898
- "props": {
10899
- "style": "dropdown",
10900
- "anchor": {
10901
- "id": "",
10902
- "body": {
10903
- "package": "himalaya",
10904
- "type": "Icon",
10905
- "props": {
10906
- "name": "ellipsis",
10907
- "size": 20
10908
- }
10909
- },
10910
- "modifiers": {
10911
- "width": 44,
10912
- "height": 44,
10913
- "accessibilityLabel": "$item.collectionActionsLabel"
10914
- }
10915
- },
10916
- "items": [
10917
- {
10918
- "id": "preview",
10919
- "label": "Quick preview",
10920
- "icon": "search",
10921
- "action": {
10922
- "actionId": "tier5.himiBookingServices.collectionPreview",
10923
- "params": {
10924
- "id": "$item.collectionId"
10925
- }
10926
- }
10927
- },
10928
- {
10929
- "id": "save",
10930
- "label": "$item.collectionSaveLabel",
10931
- "icon": "bookmark",
10932
- "action": {
10933
- "actionId": "tier5.himiBookingServices.collectionSave",
10934
- "params": {
10935
- "id": "$item.collectionId"
10936
- }
10937
- }
10938
- },
10939
- {
10940
- "id": "open",
10941
- "label": "Open details",
10942
- "icon": "chevron_right",
10943
- "action": {
10944
- "actionId": "himi.open",
10945
- "params": {
10946
- "screenId": "$item.detailScreenId",
10947
- "id": "$item.id"
10948
- }
10949
- }
10950
- }
10951
- ]
10952
- }
10953
- }
10954
- }
10955
- ]
9512
+ "text": "$item.typeTag",
9513
+ "style": "caption",
9514
+ "color": "textSecondary",
9515
+ "maxLines": 1
9516
+ }
9517
+ },
9518
+ "modifiers": {
9519
+ "background": {
9520
+ "token": "surfaceTertiary"
9521
+ },
9522
+ "cornerRadius": 4,
9523
+ "padding": {
9524
+ "leading": 8,
9525
+ "trailing": 8,
9526
+ "top": 2,
9527
+ "bottom": 2
9528
+ },
9529
+ "hiddenPath": "$item.noTypeTag"
9530
+ }
9531
+ },
9532
+ {
9533
+ "id": "",
9534
+ "body": {
9535
+ "package": "himalaya",
9536
+ "type": "Text",
9537
+ "props": {
9538
+ "text": "$item.name",
9539
+ "style": "bodyEmphasis",
9540
+ "maxLines": 2
9541
+ }
9542
+ }
9543
+ },
9544
+ {
9545
+ "id": "",
9546
+ "body": {
9547
+ "package": "himalaya",
9548
+ "type": "Text",
9549
+ "props": {
9550
+ "text": "$item.tagline",
9551
+ "style": "caption",
9552
+ "color": "textSecondary",
9553
+ "maxLines": 2,
9554
+ "collapseWhenEmpty": true
9555
+ }
9556
+ }
9557
+ },
9558
+ {
9559
+ "id": "",
9560
+ "body": {
9561
+ "package": "himalaya",
9562
+ "type": "Text",
9563
+ "props": {
9564
+ "text": "$item.meta",
9565
+ "style": "footnote",
9566
+ "color": "textSecondary",
9567
+ "maxLines": 2,
9568
+ "collapseWhenEmpty": true
9569
+ }
9570
+ }
9571
+ }
9572
+ ]
9573
+ }
9574
+ },
9575
+ "modifiers": {
9576
+ "weight": 1
9577
+ }
9578
+ },
9579
+ {
9580
+ "id": "himi_services.row.$item.id/book",
9581
+ "body": {
9582
+ "package": "himalaya",
9583
+ "type": "VStack",
9584
+ "props": {
9585
+ "spacing": 0,
9586
+ "children": [
9587
+ {
9588
+ "id": "",
9589
+ "body": {
9590
+ "package": "himalaya",
9591
+ "type": "HStack",
9592
+ "props": {
9593
+ "spacing": 0,
9594
+ "alignment": "center",
9595
+ "children": [
9596
+ {
9597
+ "id": "",
9598
+ "body": {
9599
+ "package": "himalaya",
9600
+ "type": "Text",
9601
+ "props": {
9602
+ "text": "$item.bookCta",
9603
+ "style": "footnote",
9604
+ "color": "textPrimary",
9605
+ "maxLines": 1
9606
+ }
10956
9607
  }
10957
- },
10958
- "modifiers": {
10959
- "hiddenPath": "$item.collectionNoIdentity"
10960
9608
  }
10961
- }
10962
- ]
10963
- }
10964
- },
10965
- "modifiers": {
10966
- "onTap": {
10967
- "actionId": "himi.open",
10968
- "params": {
10969
- "screenId": "$item.detailScreenId",
10970
- "id": "$item.id"
9609
+ ]
10971
9610
  }
10972
9611
  },
10973
- "haptic": "light",
10974
- "background": {
10975
- "token": "surfaceElevated"
10976
- },
10977
- "border": {
10978
- "width": 1,
10979
- "color": {
10980
- "token": "border"
9612
+ "modifiers": {
9613
+ "height": 36,
9614
+ "padding": {
9615
+ "leading": 16,
9616
+ "trailing": 16,
9617
+ "top": 0,
9618
+ "bottom": 0
9619
+ },
9620
+ "cornerRadius": 18,
9621
+ "border": {
9622
+ "width": 1,
9623
+ "color": {
9624
+ "token": "textPrimary"
9625
+ }
10981
9626
  }
10982
- },
10983
- "cornerRadius": 12,
10984
- "padding": {
10985
- "top": 12,
10986
- "bottom": 12,
10987
- "leading": 12,
10988
- "trailing": 12
10989
- },
10990
- "fillMaxWidth": true,
10991
- "accessibilityLabel": "$item.collectionTitle",
10992
- "pressFeedback": "scale",
10993
- "transition": {
10994
- "enter": "fadeSlide",
10995
- "direction": "up",
10996
- "distance": 8
10997
9627
  }
10998
9628
  }
9629
+ ]
9630
+ }
9631
+ },
9632
+ "modifiers": {
9633
+ "padding": {
9634
+ "leading": 0,
9635
+ "trailing": 0,
9636
+ "top": 4,
9637
+ "bottom": 4
9638
+ },
9639
+ "onTap": {
9640
+ "actionId": "himi.open",
9641
+ "params": {
9642
+ "screenId": "himi_time",
9643
+ "id": "$item.id"
10999
9644
  }
11000
- ]
11001
- }
11002
- },
11003
- "modifiers": {
11004
- "padding": {
11005
- "leading": 20,
11006
- "trailing": 20,
11007
- "top": 20,
11008
- "bottom": 24
9645
+ },
9646
+ "accessibilityRole": "button",
9647
+ "accessibilityLabel": "$item.bookA11y",
9648
+ "pressFeedback": "scale",
9649
+ "haptic": "light",
9650
+ "hiddenPath": "$item.noBook"
11009
9651
  }
11010
9652
  }
11011
- }
9653
+ ]
9654
+ }
9655
+ },
9656
+ "modifiers": {
9657
+ "fillMaxWidth": true,
9658
+ "padding": {
9659
+ "leading": 20,
9660
+ "trailing": 20,
9661
+ "top": 14,
9662
+ "bottom": 14
11012
9663
  }
11013
9664
  }
9665
+ },
9666
+ {
9667
+ "id": "",
9668
+ "body": {
9669
+ "package": "himalaya",
9670
+ "type": "Divider",
9671
+ "props": {}
9672
+ }
11014
9673
  }
11015
9674
  ]
11016
9675
  }
9676
+ },
9677
+ "modifiers": {
9678
+ "onTap": {
9679
+ "actionId": "himi.open",
9680
+ "params": {
9681
+ "screenId": "$item.detailScreenId",
9682
+ "id": "$item.id"
9683
+ }
9684
+ },
9685
+ "pressFeedback": "highlight",
9686
+ "haptic": "light",
9687
+ "accessibilityLabel": "$item.a11y",
9688
+ "transition": {
9689
+ "enter": "fadeSlide",
9690
+ "direction": "up",
9691
+ "distance": 8
9692
+ }
11017
9693
  }
11018
9694
  }
11019
9695
  ]
11020
9696
  }
11021
9697
  },
11022
9698
  "modifiers": {
11023
- "hiddenPath": "$service:himiBookingServices.isLoading"
9699
+ "padding": {
9700
+ "leading": 0,
9701
+ "trailing": 0,
9702
+ "top": 12,
9703
+ "bottom": 0
9704
+ },
9705
+ "hiddenPath": "$service:himiBookingServices.hideRows"
11024
9706
  }
11025
9707
  },
11026
9708
  {
@@ -11029,7 +9711,55 @@ const SCREENS = runtimeSetting({
11029
9711
  "package": "himalaya",
11030
9712
  "type": "VStack",
11031
9713
  "props": {
11032
- "spacing": 12,
9714
+ "spacing": 8,
9715
+ "alignment": "leading",
9716
+ "children": [
9717
+ {
9718
+ "id": "",
9719
+ "body": {
9720
+ "package": "himalaya",
9721
+ "type": "Text",
9722
+ "props": {
9723
+ "text": "More services did not load.",
9724
+ "style": "caption",
9725
+ "color": "textSecondary"
9726
+ }
9727
+ }
9728
+ },
9729
+ {
9730
+ "id": "himi_services.retry_page",
9731
+ "body": {
9732
+ "package": "himalaya",
9733
+ "type": "Button",
9734
+ "props": {
9735
+ "title": "Try again",
9736
+ "style": "secondary",
9737
+ "action": {
9738
+ "actionId": "tier5.himiBookingServices.retry"
9739
+ }
9740
+ }
9741
+ }
9742
+ }
9743
+ ]
9744
+ }
9745
+ },
9746
+ "modifiers": {
9747
+ "padding": {
9748
+ "leading": 20,
9749
+ "trailing": 20,
9750
+ "top": 12,
9751
+ "bottom": 0
9752
+ },
9753
+ "hiddenPath": "$service:himiBookingServices.collection.noPageError"
9754
+ }
9755
+ },
9756
+ {
9757
+ "id": "himi_services.empty_source",
9758
+ "body": {
9759
+ "package": "himalaya",
9760
+ "type": "VStack",
9761
+ "props": {
9762
+ "spacing": 10,
11033
9763
  "alignment": "center",
11034
9764
  "children": [
11035
9765
  {
@@ -11039,7 +9769,7 @@ const SCREENS = runtimeSetting({
11039
9769
  "type": "Icon",
11040
9770
  "props": {
11041
9771
  "name": "calendar",
11042
- "size": 34,
9772
+ "size": 28,
11043
9773
  "tint": "textTertiary"
11044
9774
  }
11045
9775
  },
@@ -11053,10 +9783,50 @@ const SCREENS = runtimeSetting({
11053
9783
  "package": "himalaya",
11054
9784
  "type": "Text",
11055
9785
  "props": {
11056
- "text": "$service:himiBookingServices.emptyText",
11057
- "style": "bodyEmphasis",
9786
+ "text": "$service:himiBookingServices.collection.emptySourceText",
9787
+ "style": "body",
11058
9788
  "color": "textSecondary",
11059
- "collapseWhenEmpty": true
9789
+ "textAlign": "center"
9790
+ }
9791
+ }
9792
+ }
9793
+ ]
9794
+ }
9795
+ },
9796
+ "modifiers": {
9797
+ "fillMaxWidth": true,
9798
+ "padding": {
9799
+ "leading": 20,
9800
+ "trailing": 20,
9801
+ "top": 40,
9802
+ "bottom": 0
9803
+ },
9804
+ "transition": {
9805
+ "enter": "fade",
9806
+ "exit": "fade"
9807
+ },
9808
+ "hiddenPath": "$service:himiBookingServices.collection.noEmptySource"
9809
+ }
9810
+ },
9811
+ {
9812
+ "id": "himi_services.empty",
9813
+ "body": {
9814
+ "package": "himalaya",
9815
+ "type": "VStack",
9816
+ "props": {
9817
+ "spacing": 16,
9818
+ "alignment": "center",
9819
+ "children": [
9820
+ {
9821
+ "id": "himi_services.no_match_text",
9822
+ "body": {
9823
+ "package": "himalaya",
9824
+ "type": "Text",
9825
+ "props": {
9826
+ "text": "$service:himiBookingServices.noMatchText",
9827
+ "style": "body",
9828
+ "color": "textSecondary",
9829
+ "textAlign": "center"
11060
9830
  }
11061
9831
  }
11062
9832
  },
@@ -11066,29 +9836,58 @@ const SCREENS = runtimeSetting({
11066
9836
  "package": "himalaya",
11067
9837
  "type": "Button",
11068
9838
  "props": {
11069
- "title": "Clear search",
9839
+ "title": "Clear Search",
9840
+ "style": "secondary",
9841
+ "action": {
9842
+ "actionId": "tier5.himiBookingServices.search",
9843
+ "params": {
9844
+ "value": ""
9845
+ }
9846
+ }
9847
+ }
9848
+ },
9849
+ "modifiers": {
9850
+ "hiddenPath": "$service:himiBookingServices.noQuery"
9851
+ }
9852
+ },
9853
+ {
9854
+ "id": "himi_services.empty.show_all",
9855
+ "body": {
9856
+ "package": "himalaya",
9857
+ "type": "Button",
9858
+ "props": {
9859
+ "title": "Show All",
11070
9860
  "style": "secondary",
11071
9861
  "action": {
11072
- "actionId": "tier5.himiBookingServices.clearSearch"
9862
+ "actionId": "tier5.himiBookingServices.collectionFilter",
9863
+ "args": {
9864
+ "selectedIds": [
9865
+ "all"
9866
+ ]
9867
+ }
11073
9868
  }
11074
9869
  }
9870
+ },
9871
+ "modifiers": {
9872
+ "hiddenPath": "$service:himiBookingServices.hasQuery"
11075
9873
  }
11076
9874
  }
11077
9875
  ]
11078
9876
  }
11079
9877
  },
11080
9878
  "modifiers": {
9879
+ "fillMaxWidth": true,
11081
9880
  "padding": {
11082
- "leading": 24,
11083
- "trailing": 24,
11084
- "top": 24,
11085
- "bottom": 24
9881
+ "leading": 20,
9882
+ "trailing": 20,
9883
+ "top": 40,
9884
+ "bottom": 0
11086
9885
  },
11087
9886
  "transition": {
11088
9887
  "enter": "fade",
11089
9888
  "exit": "fade"
11090
9889
  },
11091
- "hiddenPath": "$service:himiBookingServices.noEmpty"
9890
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
11092
9891
  }
11093
9892
  }
11094
9893
  ]
@@ -11099,8 +9898,8 @@ const SCREENS = runtimeSetting({
11099
9898
  "token": "surfacePrimary"
11100
9899
  },
11101
9900
  "padding": {
11102
- "leading": 16,
11103
- "trailing": 16,
9901
+ "leading": 0,
9902
+ "trailing": 0,
11104
9903
  "top": 18,
11105
9904
  "bottom": 24
11106
9905
  },