@wix/himalaya-cli 0.1582.0 → 0.1583.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 (50) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +8 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +26 -2
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +18 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +5 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +5 -1
  6. package/dist/cli.mjs +888 -553
  7. package/dist/preview-assets.generated.bin +0 -0
  8. package/guides/component-reference.json +4 -3
  9. package/guides/component-reference.md +24 -2
  10. package/package.json +2 -2
  11. package/templates/beauty-salon/config.ts +20 -1
  12. package/templates/beauty-salon/dev/index.ts +1751 -629
  13. package/templates/beauty-salon/tier5-src/_shared/booking-location.ts +147 -0
  14. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +222 -0
  15. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +277 -14
  16. package/templates/beauty-salon/tier5-src/himi-booking-services/index.ts +351 -92
  17. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +25 -5
  18. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  19. package/templates/branded-lite/config.ts +20 -1
  20. package/templates/branded-lite/dev/index.ts +1688 -566
  21. package/templates/branded-lite/l10n/en.json +2 -2
  22. package/templates/branded-lite/tier5-src/_shared/booking-location.ts +147 -0
  23. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +222 -0
  24. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +277 -14
  25. package/templates/branded-lite/tier5-src/himi-booking-services/index.ts +351 -92
  26. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +25 -5
  27. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  28. package/templates/community-club/config.ts +20 -1
  29. package/templates/events-meetups/config.ts +20 -1
  30. package/templates/gym-fitness/config.ts +20 -1
  31. package/templates/gym-fitness/dev/index.ts +1751 -629
  32. package/templates/gym-fitness/tier5-src/_shared/booking-location.ts +147 -0
  33. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +222 -0
  34. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +277 -14
  35. package/templates/gym-fitness/tier5-src/himi-booking-services/index.ts +351 -92
  36. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +25 -5
  37. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
  38. package/templates/nonprofit-cause/config.ts +20 -1
  39. package/templates/podcast-creator/config.ts +20 -1
  40. package/templates/portfolio-creative/config.ts +20 -1
  41. package/templates/restaurant/config.ts +20 -1
  42. package/templates/retail-store/config.ts +20 -1
  43. package/templates/yoga-studio/config.ts +20 -1
  44. package/templates/yoga-studio/dev/index.ts +1533 -411
  45. package/templates/yoga-studio/tier5-src/_shared/booking-location.ts +147 -0
  46. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +222 -0
  47. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +277 -14
  48. package/templates/yoga-studio/tier5-src/himi-booking-services/index.ts +351 -92
  49. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +25 -5
  50. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +219 -220
@@ -21115,115 +21115,6 @@ const SCREENS = runtimeSetting({
21115
21115
  "spacing": 0,
21116
21116
  "alignment": "leading",
21117
21117
  "children": [
21118
- {
21119
- "id": "",
21120
- "body": {
21121
- "package": "himalaya",
21122
- "type": "VStack",
21123
- "props": {
21124
- "spacing": 4,
21125
- "alignment": "leading",
21126
- "children": [
21127
- {
21128
- "id": "himi_services.title",
21129
- "body": {
21130
- "package": "himalaya",
21131
- "type": "Text",
21132
- "props": {
21133
- "text": "Services",
21134
- "style": "title1"
21135
- }
21136
- }
21137
- },
21138
- {
21139
- "id": "himi_services.subtitle",
21140
- "body": {
21141
- "package": "himalaya",
21142
- "type": "Text",
21143
- "props": {
21144
- "text": "Choose a service to book.",
21145
- "style": "body",
21146
- "color": "textSecondary"
21147
- }
21148
- }
21149
- }
21150
- ]
21151
- }
21152
- },
21153
- "modifiers": {
21154
- "padding": {
21155
- "leading": 20,
21156
- "trailing": 20,
21157
- "top": 0,
21158
- "bottom": 0
21159
- }
21160
- }
21161
- },
21162
- {
21163
- "id": "",
21164
- "body": {
21165
- "package": "himalaya",
21166
- "type": "VStack",
21167
- "props": {
21168
- "spacing": 0,
21169
- "alignment": "leading",
21170
- "children": [
21171
- {
21172
- "id": "himi_services.search",
21173
- "body": {
21174
- "package": "himalaya",
21175
- "type": "SearchField",
21176
- "props": {
21177
- "placeholder": "Search services",
21178
- "value": "$service:himiBookingServices.collection.query",
21179
- "debounceMs": 200,
21180
- "onChange": {
21181
- "actionId": "tier5.himiBookingServices.search"
21182
- }
21183
- }
21184
- }
21185
- }
21186
- ]
21187
- }
21188
- },
21189
- "modifiers": {
21190
- "padding": {
21191
- "leading": 20,
21192
- "trailing": 20,
21193
- "top": 16,
21194
- "bottom": 0
21195
- },
21196
- "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
21197
- }
21198
- },
21199
- {
21200
- "id": "himi_services.categories",
21201
- "body": {
21202
- "package": "himalaya",
21203
- "type": "FilterChips",
21204
- "props": {
21205
- "chips": [],
21206
- "optionsPath": "$service:himiBookingServices.categoryChips",
21207
- "selectedIds": [
21208
- "$service:himiBookingServices.collection.filter"
21209
- ],
21210
- "multiSelect": false,
21211
- "onChange": {
21212
- "actionId": "tier5.himiBookingServices.collectionFilter"
21213
- }
21214
- }
21215
- },
21216
- "modifiers": {
21217
- "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
21218
- "padding": {
21219
- "leading": 20,
21220
- "trailing": 20,
21221
- "top": 12,
21222
- "bottom": 0
21223
- },
21224
- "hiddenPath": "$service:himiBookingServices.hideCategories"
21225
- }
21226
- },
21227
21118
  {
21228
21119
  "id": "himi_services.offline",
21229
21120
  "body": {
@@ -21377,7 +21268,7 @@ const SCREENS = runtimeSetting({
21377
21268
  "alignment": "leading",
21378
21269
  "children": [
21379
21270
  {
21380
- "id": "himi_services.skeleton_1",
21271
+ "id": "himi_services.skeleton_title",
21381
21272
  "body": {
21382
21273
  "package": "himalaya",
21383
21274
  "type": "VStack",
@@ -21389,171 +21280,37 @@ const SCREENS = runtimeSetting({
21389
21280
  "id": "",
21390
21281
  "body": {
21391
21282
  "package": "himalaya",
21392
- "type": "HStack",
21283
+ "type": "Skeleton",
21393
21284
  "props": {
21394
- "spacing": 14,
21395
- "alignment": "center",
21396
- "children": [
21397
- {
21398
- "id": "",
21399
- "body": {
21400
- "package": "himalaya",
21401
- "type": "Skeleton",
21402
- "props": {
21403
- "height": 72,
21404
- "cornerRadius": 8
21405
- }
21406
- },
21407
- "modifiers": {
21408
- "width": 72,
21409
- "height": 72,
21410
- "background": {
21411
- "token": "surfaceSecondary"
21412
- },
21413
- "cornerRadius": 8,
21414
- "accessibilityRole": "decorative"
21415
- }
21416
- },
21417
- {
21418
- "id": "",
21419
- "body": {
21420
- "package": "himalaya",
21421
- "type": "VStack",
21422
- "props": {
21423
- "spacing": 8,
21424
- "alignment": "leading",
21425
- "children": [
21426
- {
21427
- "id": "",
21428
- "body": {
21429
- "package": "himalaya",
21430
- "type": "HStack",
21431
- "props": {
21432
- "spacing": 0,
21433
- "children": [
21434
- {
21435
- "id": "",
21436
- "body": {
21437
- "package": "himalaya",
21438
- "type": "Skeleton",
21439
- "props": {
21440
- "height": 16,
21441
- "cornerRadius": 4
21442
- }
21443
- },
21444
- "modifiers": {
21445
- "height": 16,
21446
- "fillMaxWidth": true,
21447
- "background": {
21448
- "token": "surfaceSecondary"
21449
- },
21450
- "cornerRadius": 4,
21451
- "accessibilityRole": "decorative",
21452
- "weight": 3
21453
- }
21454
- },
21455
- {
21456
- "id": "",
21457
- "body": {
21458
- "package": "himalaya",
21459
- "type": "Spacer",
21460
- "props": {}
21461
- },
21462
- "modifiers": {
21463
- "weight": 2
21464
- }
21465
- }
21466
- ]
21467
- }
21468
- },
21469
- "modifiers": {
21470
- "fillMaxWidth": true
21471
- }
21472
- },
21473
- {
21474
- "id": "",
21475
- "body": {
21476
- "package": "himalaya",
21477
- "type": "HStack",
21478
- "props": {
21479
- "spacing": 0,
21480
- "children": [
21481
- {
21482
- "id": "",
21483
- "body": {
21484
- "package": "himalaya",
21485
- "type": "Skeleton",
21486
- "props": {
21487
- "height": 14,
21488
- "cornerRadius": 4
21489
- }
21490
- },
21491
- "modifiers": {
21492
- "height": 14,
21493
- "fillMaxWidth": true,
21494
- "background": {
21495
- "token": "surfaceSecondary"
21496
- },
21497
- "cornerRadius": 4,
21498
- "accessibilityRole": "decorative",
21499
- "weight": 2
21500
- }
21501
- },
21502
- {
21503
- "id": "",
21504
- "body": {
21505
- "package": "himalaya",
21506
- "type": "Spacer",
21507
- "props": {}
21508
- },
21509
- "modifiers": {
21510
- "weight": 3
21511
- }
21512
- }
21513
- ]
21514
- }
21515
- },
21516
- "modifiers": {
21517
- "fillMaxWidth": true
21518
- }
21519
- }
21520
- ]
21521
- }
21522
- },
21523
- "modifiers": {
21524
- "weight": 1
21525
- }
21526
- }
21527
- ]
21285
+ "width": 120,
21286
+ "height": 20,
21287
+ "cornerRadius": 4
21528
21288
  }
21529
21289
  },
21530
21290
  "modifiers": {
21531
- "fillMaxWidth": true,
21532
- "padding": {
21533
- "leading": 20,
21534
- "trailing": 20,
21535
- "top": 14,
21536
- "bottom": 14
21537
- }
21538
- }
21539
- },
21540
- {
21541
- "id": "",
21542
- "body": {
21543
- "package": "himalaya",
21544
- "type": "Divider",
21545
- "props": {}
21291
+ "width": 120,
21292
+ "height": 20,
21293
+ "background": {
21294
+ "token": "surfaceSecondary"
21295
+ },
21296
+ "cornerRadius": 4,
21297
+ "accessibilityRole": "decorative"
21546
21298
  }
21547
21299
  }
21548
21300
  ]
21549
21301
  }
21550
21302
  },
21551
21303
  "modifiers": {
21552
- "fillMaxWidth": true
21304
+ "padding": {
21305
+ "leading": 20,
21306
+ "trailing": 20,
21307
+ "top": 20,
21308
+ "bottom": 4
21309
+ }
21553
21310
  }
21554
21311
  },
21555
21312
  {
21556
- "id": "himi_services.skeleton_2",
21313
+ "id": "himi_services.skeleton_1",
21557
21314
  "body": {
21558
21315
  "package": "himalaya",
21559
21316
  "type": "VStack",
@@ -21729,7 +21486,7 @@ const SCREENS = runtimeSetting({
21729
21486
  }
21730
21487
  },
21731
21488
  {
21732
- "id": "himi_services.skeleton_3",
21489
+ "id": "himi_services.skeleton_2",
21733
21490
  "body": {
21734
21491
  "package": "himalaya",
21735
21492
  "type": "VStack",
@@ -21905,7 +21662,183 @@ const SCREENS = runtimeSetting({
21905
21662
  }
21906
21663
  },
21907
21664
  {
21908
- "id": "himi_services.skeleton_4",
21665
+ "id": "himi_services.skeleton_3",
21666
+ "body": {
21667
+ "package": "himalaya",
21668
+ "type": "VStack",
21669
+ "props": {
21670
+ "spacing": 0,
21671
+ "alignment": "leading",
21672
+ "children": [
21673
+ {
21674
+ "id": "",
21675
+ "body": {
21676
+ "package": "himalaya",
21677
+ "type": "HStack",
21678
+ "props": {
21679
+ "spacing": 14,
21680
+ "alignment": "center",
21681
+ "children": [
21682
+ {
21683
+ "id": "",
21684
+ "body": {
21685
+ "package": "himalaya",
21686
+ "type": "Skeleton",
21687
+ "props": {
21688
+ "height": 72,
21689
+ "cornerRadius": 8
21690
+ }
21691
+ },
21692
+ "modifiers": {
21693
+ "width": 72,
21694
+ "height": 72,
21695
+ "background": {
21696
+ "token": "surfaceSecondary"
21697
+ },
21698
+ "cornerRadius": 8,
21699
+ "accessibilityRole": "decorative"
21700
+ }
21701
+ },
21702
+ {
21703
+ "id": "",
21704
+ "body": {
21705
+ "package": "himalaya",
21706
+ "type": "VStack",
21707
+ "props": {
21708
+ "spacing": 8,
21709
+ "alignment": "leading",
21710
+ "children": [
21711
+ {
21712
+ "id": "",
21713
+ "body": {
21714
+ "package": "himalaya",
21715
+ "type": "HStack",
21716
+ "props": {
21717
+ "spacing": 0,
21718
+ "children": [
21719
+ {
21720
+ "id": "",
21721
+ "body": {
21722
+ "package": "himalaya",
21723
+ "type": "Skeleton",
21724
+ "props": {
21725
+ "height": 16,
21726
+ "cornerRadius": 4
21727
+ }
21728
+ },
21729
+ "modifiers": {
21730
+ "height": 16,
21731
+ "fillMaxWidth": true,
21732
+ "background": {
21733
+ "token": "surfaceSecondary"
21734
+ },
21735
+ "cornerRadius": 4,
21736
+ "accessibilityRole": "decorative",
21737
+ "weight": 3
21738
+ }
21739
+ },
21740
+ {
21741
+ "id": "",
21742
+ "body": {
21743
+ "package": "himalaya",
21744
+ "type": "Spacer",
21745
+ "props": {}
21746
+ },
21747
+ "modifiers": {
21748
+ "weight": 2
21749
+ }
21750
+ }
21751
+ ]
21752
+ }
21753
+ },
21754
+ "modifiers": {
21755
+ "fillMaxWidth": true
21756
+ }
21757
+ },
21758
+ {
21759
+ "id": "",
21760
+ "body": {
21761
+ "package": "himalaya",
21762
+ "type": "HStack",
21763
+ "props": {
21764
+ "spacing": 0,
21765
+ "children": [
21766
+ {
21767
+ "id": "",
21768
+ "body": {
21769
+ "package": "himalaya",
21770
+ "type": "Skeleton",
21771
+ "props": {
21772
+ "height": 14,
21773
+ "cornerRadius": 4
21774
+ }
21775
+ },
21776
+ "modifiers": {
21777
+ "height": 14,
21778
+ "fillMaxWidth": true,
21779
+ "background": {
21780
+ "token": "surfaceSecondary"
21781
+ },
21782
+ "cornerRadius": 4,
21783
+ "accessibilityRole": "decorative",
21784
+ "weight": 2
21785
+ }
21786
+ },
21787
+ {
21788
+ "id": "",
21789
+ "body": {
21790
+ "package": "himalaya",
21791
+ "type": "Spacer",
21792
+ "props": {}
21793
+ },
21794
+ "modifiers": {
21795
+ "weight": 3
21796
+ }
21797
+ }
21798
+ ]
21799
+ }
21800
+ },
21801
+ "modifiers": {
21802
+ "fillMaxWidth": true
21803
+ }
21804
+ }
21805
+ ]
21806
+ }
21807
+ },
21808
+ "modifiers": {
21809
+ "weight": 1
21810
+ }
21811
+ }
21812
+ ]
21813
+ }
21814
+ },
21815
+ "modifiers": {
21816
+ "fillMaxWidth": true,
21817
+ "padding": {
21818
+ "leading": 20,
21819
+ "trailing": 20,
21820
+ "top": 14,
21821
+ "bottom": 14
21822
+ }
21823
+ }
21824
+ },
21825
+ {
21826
+ "id": "",
21827
+ "body": {
21828
+ "package": "himalaya",
21829
+ "type": "Divider",
21830
+ "props": {}
21831
+ }
21832
+ }
21833
+ ]
21834
+ }
21835
+ },
21836
+ "modifiers": {
21837
+ "fillMaxWidth": true
21838
+ }
21839
+ },
21840
+ {
21841
+ "id": "himi_services.skeleton_4",
21909
21842
  "body": {
21910
21843
  "package": "himalaya",
21911
21844
  "type": "VStack",
@@ -22087,7 +22020,7 @@ const SCREENS = runtimeSetting({
22087
22020
  "padding": {
22088
22021
  "leading": 0,
22089
22022
  "trailing": 0,
22090
- "top": 12,
22023
+ "top": 0,
22091
22024
  "bottom": 0
22092
22025
  },
22093
22026
  "hiddenPath": "$service:himiBookingServices.collection.noLoading"
@@ -22100,7 +22033,7 @@ const SCREENS = runtimeSetting({
22100
22033
  "type": "LazyList",
22101
22034
  "props": {
22102
22035
  "spacing": 0,
22103
- "itemsPath": "$service:himiBookingServices.collection.items",
22036
+ "itemsPath": "$service:himiBookingServices.listRows",
22104
22037
  "onPullToRefresh": {
22105
22038
  "actionId": "tier5.himiBookingServices.refresh"
22106
22039
  },
@@ -22109,13 +22042,17 @@ const SCREENS = runtimeSetting({
22109
22042
  "onLoadMore": {
22110
22043
  "actionId": "tier5.himiBookingServices.loadMore"
22111
22044
  },
22112
- "pageSize": 50
22045
+ "pageSize": 100
22113
22046
  },
22114
22047
  "staggerMs": 30,
22115
22048
  "animateItems": true,
22049
+ "scrollToItemPath": "$service:himiBookingServices.scrollTo",
22050
+ "onTopItemChange": {
22051
+ "actionId": "tier5.himiBookingServices.topItemChanged"
22052
+ },
22116
22053
  "items": [
22117
22054
  {
22118
- "id": "himi_services.row.$item.id",
22055
+ "id": "himi_services.item.$item.id",
22119
22056
  "body": {
22120
22057
  "package": "himalaya",
22121
22058
  "type": "VStack",
@@ -22124,47 +22061,75 @@ const SCREENS = runtimeSetting({
22124
22061
  "alignment": "leading",
22125
22062
  "children": [
22126
22063
  {
22127
- "id": "",
22064
+ "id": "himi_services.section.$item.id",
22128
22065
  "body": {
22129
22066
  "package": "himalaya",
22130
22067
  "type": "HStack",
22131
22068
  "props": {
22132
- "spacing": 14,
22069
+ "spacing": 0,
22133
22070
  "alignment": "center",
22134
22071
  "children": [
22135
22072
  {
22136
- "id": "himi_services.row.$item.id/image",
22073
+ "id": "",
22137
22074
  "body": {
22138
22075
  "package": "himalaya",
22139
- "type": "Image",
22076
+ "type": "Text",
22140
22077
  "props": {
22141
- "url": "$item.image",
22142
- "width": 72,
22143
- "height": 72,
22144
- "contentMode": "fill"
22078
+ "text": "$item.sectionTitle",
22079
+ "style": "title3",
22080
+ "maxLines": 2
22145
22081
  }
22146
- },
22147
- "modifiers": {
22148
- "accessibilityRole": "decorative",
22149
- "cornerRadius": 8,
22150
- "hiddenPath": "$item.noImage"
22151
22082
  }
22152
22083
  },
22153
22084
  {
22154
22085
  "id": "",
22155
22086
  "body": {
22156
22087
  "package": "himalaya",
22157
- "type": "ZStack",
22088
+ "type": "Spacer",
22089
+ "props": {}
22090
+ }
22091
+ }
22092
+ ]
22093
+ }
22094
+ },
22095
+ "modifiers": {
22096
+ "fillMaxWidth": true,
22097
+ "padding": {
22098
+ "leading": 20,
22099
+ "trailing": 20,
22100
+ "top": 20,
22101
+ "bottom": 4
22102
+ },
22103
+ "accessibilityRole": "heading",
22104
+ "accessibilityLabel": "$item.sectionTitle",
22105
+ "hiddenPath": "$item.notSection"
22106
+ }
22107
+ },
22108
+ {
22109
+ "id": "himi_services.row.$item.id",
22110
+ "body": {
22111
+ "package": "himalaya",
22112
+ "type": "VStack",
22113
+ "props": {
22114
+ "spacing": 0,
22115
+ "alignment": "leading",
22116
+ "children": [
22117
+ {
22118
+ "id": "",
22119
+ "body": {
22120
+ "package": "himalaya",
22121
+ "type": "HStack",
22158
22122
  "props": {
22123
+ "spacing": 14,
22159
22124
  "alignment": "center",
22160
22125
  "children": [
22161
22126
  {
22162
- "id": "",
22127
+ "id": "himi_services.row.$item.id/image",
22163
22128
  "body": {
22164
22129
  "package": "himalaya",
22165
22130
  "type": "Image",
22166
22131
  "props": {
22167
- "url": "",
22132
+ "url": "$item.image",
22168
22133
  "width": 72,
22169
22134
  "height": 72,
22170
22135
  "contentMode": "fill"
@@ -22173,158 +22138,204 @@ const SCREENS = runtimeSetting({
22173
22138
  "modifiers": {
22174
22139
  "accessibilityRole": "decorative",
22175
22140
  "cornerRadius": 8,
22176
- "background": {
22177
- "token": "surfaceSecondary"
22178
- }
22141
+ "hiddenPath": "$item.noImage"
22179
22142
  }
22180
22143
  },
22181
22144
  {
22182
22145
  "id": "",
22183
22146
  "body": {
22184
22147
  "package": "himalaya",
22185
- "type": "Icon",
22148
+ "type": "ZStack",
22186
22149
  "props": {
22187
- "name": "image",
22188
- "size": 24,
22189
- "tint": "accentPrimary"
22150
+ "alignment": "center",
22151
+ "children": [
22152
+ {
22153
+ "id": "",
22154
+ "body": {
22155
+ "package": "himalaya",
22156
+ "type": "Image",
22157
+ "props": {
22158
+ "url": "",
22159
+ "width": 72,
22160
+ "height": 72,
22161
+ "contentMode": "fill"
22162
+ }
22163
+ },
22164
+ "modifiers": {
22165
+ "accessibilityRole": "decorative",
22166
+ "cornerRadius": 8,
22167
+ "background": {
22168
+ "token": "surfaceSecondary"
22169
+ }
22170
+ }
22171
+ },
22172
+ {
22173
+ "id": "",
22174
+ "body": {
22175
+ "package": "himalaya",
22176
+ "type": "Icon",
22177
+ "props": {
22178
+ "name": "image",
22179
+ "size": 24,
22180
+ "tint": "accentPrimary"
22181
+ }
22182
+ },
22183
+ "modifiers": {
22184
+ "accessibilityRole": "decorative"
22185
+ }
22186
+ }
22187
+ ]
22190
22188
  }
22191
22189
  },
22192
22190
  "modifiers": {
22193
- "accessibilityRole": "decorative"
22191
+ "width": 72,
22192
+ "height": 72,
22193
+ "hiddenPath": "$item.hasImage"
22194
22194
  }
22195
- }
22196
- ]
22197
- }
22198
- },
22199
- "modifiers": {
22200
- "width": 72,
22201
- "height": 72,
22202
- "hiddenPath": "$item.hasImage"
22203
- }
22204
- },
22205
- {
22206
- "id": "",
22207
- "body": {
22208
- "package": "himalaya",
22209
- "type": "VStack",
22210
- "props": {
22211
- "spacing": 3,
22212
- "alignment": "leading",
22213
- "children": [
22195
+ },
22214
22196
  {
22215
22197
  "id": "",
22216
22198
  "body": {
22217
22199
  "package": "himalaya",
22218
- "type": "Text",
22200
+ "type": "VStack",
22219
22201
  "props": {
22220
- "text": "$item.typeTag",
22221
- "style": "caption",
22222
- "color": "textSecondary",
22223
- "maxLines": 1
22202
+ "spacing": 3,
22203
+ "alignment": "leading",
22204
+ "children": [
22205
+ {
22206
+ "id": "",
22207
+ "body": {
22208
+ "package": "himalaya",
22209
+ "type": "Text",
22210
+ "props": {
22211
+ "text": "$item.typeTag",
22212
+ "style": "caption",
22213
+ "color": "textSecondary",
22214
+ "maxLines": 1
22215
+ }
22216
+ },
22217
+ "modifiers": {
22218
+ "background": {
22219
+ "token": "surfaceTertiary"
22220
+ },
22221
+ "cornerRadius": 4,
22222
+ "padding": {
22223
+ "leading": 8,
22224
+ "trailing": 8,
22225
+ "top": 2,
22226
+ "bottom": 2
22227
+ },
22228
+ "hiddenPath": "$item.noTypeTag"
22229
+ }
22230
+ },
22231
+ {
22232
+ "id": "himi_services.row.$item.id/ended",
22233
+ "body": {
22234
+ "package": "himalaya",
22235
+ "type": "Text",
22236
+ "props": {
22237
+ "text": "$item.endedText",
22238
+ "style": "caption",
22239
+ "color": "textSecondary",
22240
+ "maxLines": 1,
22241
+ "collapseWhenEmpty": true
22242
+ }
22243
+ }
22244
+ },
22245
+ {
22246
+ "id": "",
22247
+ "body": {
22248
+ "package": "himalaya",
22249
+ "type": "Text",
22250
+ "props": {
22251
+ "text": "$item.name",
22252
+ "style": "bodyEmphasis",
22253
+ "maxLines": 2
22254
+ }
22255
+ }
22256
+ },
22257
+ {
22258
+ "id": "",
22259
+ "body": {
22260
+ "package": "himalaya",
22261
+ "type": "Text",
22262
+ "props": {
22263
+ "text": "$item.tagline",
22264
+ "style": "caption",
22265
+ "color": "textSecondary",
22266
+ "maxLines": 2,
22267
+ "collapseWhenEmpty": true
22268
+ }
22269
+ }
22270
+ },
22271
+ {
22272
+ "id": "",
22273
+ "body": {
22274
+ "package": "himalaya",
22275
+ "type": "Text",
22276
+ "props": {
22277
+ "text": "$item.meta",
22278
+ "style": "footnote",
22279
+ "color": "textSecondary",
22280
+ "maxLines": 2,
22281
+ "collapseWhenEmpty": true
22282
+ }
22283
+ }
22284
+ }
22285
+ ]
22224
22286
  }
22225
22287
  },
22226
22288
  "modifiers": {
22227
- "background": {
22228
- "token": "surfaceTertiary"
22229
- },
22230
- "cornerRadius": 4,
22231
- "padding": {
22232
- "leading": 8,
22233
- "trailing": 8,
22234
- "top": 2,
22235
- "bottom": 2
22236
- },
22237
- "hiddenPath": "$item.noTypeTag"
22238
- }
22239
- },
22240
- {
22241
- "id": "himi_services.row.$item.id/ended",
22242
- "body": {
22243
- "package": "himalaya",
22244
- "type": "Text",
22245
- "props": {
22246
- "text": "$item.endedText",
22247
- "style": "caption",
22248
- "color": "textSecondary",
22249
- "maxLines": 1,
22250
- "collapseWhenEmpty": true
22251
- }
22252
- }
22253
- },
22254
- {
22255
- "id": "",
22256
- "body": {
22257
- "package": "himalaya",
22258
- "type": "Text",
22259
- "props": {
22260
- "text": "$item.name",
22261
- "style": "bodyEmphasis",
22262
- "maxLines": 2
22263
- }
22264
- }
22265
- },
22266
- {
22267
- "id": "",
22268
- "body": {
22269
- "package": "himalaya",
22270
- "type": "Text",
22271
- "props": {
22272
- "text": "$item.tagline",
22273
- "style": "caption",
22274
- "color": "textSecondary",
22275
- "maxLines": 2,
22276
- "collapseWhenEmpty": true
22277
- }
22289
+ "weight": 1
22278
22290
  }
22279
22291
  },
22280
22292
  {
22281
- "id": "",
22293
+ "id": "himi_services.row.$item.id/book",
22282
22294
  "body": {
22283
22295
  "package": "himalaya",
22284
- "type": "Text",
22285
- "props": {
22286
- "text": "$item.meta",
22287
- "style": "footnote",
22288
- "color": "textSecondary",
22289
- "maxLines": 2,
22290
- "collapseWhenEmpty": true
22291
- }
22292
- }
22293
- }
22294
- ]
22295
- }
22296
- },
22297
- "modifiers": {
22298
- "weight": 1
22299
- }
22300
- },
22301
- {
22302
- "id": "himi_services.row.$item.id/book",
22303
- "body": {
22304
- "package": "himalaya",
22305
- "type": "VStack",
22306
- "props": {
22307
- "spacing": 0,
22308
- "children": [
22309
- {
22310
- "id": "",
22311
- "body": {
22312
- "package": "himalaya",
22313
- "type": "HStack",
22296
+ "type": "VStack",
22314
22297
  "props": {
22315
22298
  "spacing": 0,
22316
- "alignment": "center",
22317
22299
  "children": [
22318
22300
  {
22319
22301
  "id": "",
22320
22302
  "body": {
22321
22303
  "package": "himalaya",
22322
- "type": "Text",
22304
+ "type": "HStack",
22323
22305
  "props": {
22324
- "text": "$item.bookCta",
22325
- "style": "footnote",
22326
- "color": "textPrimary",
22327
- "maxLines": 1
22306
+ "spacing": 0,
22307
+ "alignment": "center",
22308
+ "children": [
22309
+ {
22310
+ "id": "",
22311
+ "body": {
22312
+ "package": "himalaya",
22313
+ "type": "Text",
22314
+ "props": {
22315
+ "text": "$item.bookCta",
22316
+ "style": "footnote",
22317
+ "color": "textPrimary",
22318
+ "maxLines": 1
22319
+ }
22320
+ }
22321
+ }
22322
+ ]
22323
+ }
22324
+ },
22325
+ "modifiers": {
22326
+ "height": 36,
22327
+ "padding": {
22328
+ "leading": 16,
22329
+ "trailing": 16,
22330
+ "top": 0,
22331
+ "bottom": 0
22332
+ },
22333
+ "cornerRadius": 18,
22334
+ "border": {
22335
+ "width": 1,
22336
+ "color": {
22337
+ "token": "textPrimary"
22338
+ }
22328
22339
  }
22329
22340
  }
22330
22341
  }
@@ -22332,81 +22343,69 @@ const SCREENS = runtimeSetting({
22332
22343
  }
22333
22344
  },
22334
22345
  "modifiers": {
22335
- "height": 36,
22336
22346
  "padding": {
22337
- "leading": 16,
22338
- "trailing": 16,
22339
- "top": 0,
22340
- "bottom": 0
22347
+ "leading": 0,
22348
+ "trailing": 0,
22349
+ "top": 4,
22350
+ "bottom": 4
22341
22351
  },
22342
- "cornerRadius": 18,
22343
- "border": {
22344
- "width": 1,
22345
- "color": {
22346
- "token": "textPrimary"
22352
+ "onTap": {
22353
+ "actionId": "himi.open",
22354
+ "params": {
22355
+ "screenId": "himi_time",
22356
+ "id": "$item.id"
22347
22357
  }
22348
- }
22358
+ },
22359
+ "accessibilityRole": "button",
22360
+ "accessibilityLabel": "$item.bookA11y",
22361
+ "pressFeedback": "scale",
22362
+ "haptic": "light",
22363
+ "hiddenPath": "$item.noBook"
22349
22364
  }
22350
22365
  }
22351
22366
  ]
22352
22367
  }
22353
22368
  },
22354
22369
  "modifiers": {
22370
+ "fillMaxWidth": true,
22355
22371
  "padding": {
22356
- "leading": 0,
22357
- "trailing": 0,
22358
- "top": 4,
22359
- "bottom": 4
22360
- },
22361
- "onTap": {
22362
- "actionId": "himi.open",
22363
- "params": {
22364
- "screenId": "himi_time",
22365
- "id": "$item.id"
22366
- }
22367
- },
22368
- "accessibilityRole": "button",
22369
- "accessibilityLabel": "$item.bookA11y",
22370
- "pressFeedback": "scale",
22371
- "haptic": "light",
22372
- "hiddenPath": "$item.noBook"
22372
+ "leading": 20,
22373
+ "trailing": 20,
22374
+ "top": 14,
22375
+ "bottom": 14
22376
+ }
22377
+ }
22378
+ },
22379
+ {
22380
+ "id": "",
22381
+ "body": {
22382
+ "package": "himalaya",
22383
+ "type": "Divider",
22384
+ "props": {}
22373
22385
  }
22374
22386
  }
22375
22387
  ]
22376
22388
  }
22377
22389
  },
22378
22390
  "modifiers": {
22379
- "fillMaxWidth": true,
22380
- "padding": {
22381
- "leading": 20,
22382
- "trailing": 20,
22383
- "top": 14,
22384
- "bottom": 14
22385
- }
22386
- }
22387
- },
22388
- {
22389
- "id": "",
22390
- "body": {
22391
- "package": "himalaya",
22392
- "type": "Divider",
22393
- "props": {}
22391
+ "onTap": {
22392
+ "actionId": "himi.open",
22393
+ "params": {
22394
+ "screenId": "$item.detailScreenId",
22395
+ "id": "$item.id"
22396
+ }
22397
+ },
22398
+ "pressFeedback": "highlight",
22399
+ "haptic": "light",
22400
+ "accessibilityLabel": "$item.a11y",
22401
+ "hiddenPath": "$item.isSection"
22394
22402
  }
22395
22403
  }
22396
22404
  ]
22397
22405
  }
22398
22406
  },
22399
22407
  "modifiers": {
22400
- "onTap": {
22401
- "actionId": "himi.open",
22402
- "params": {
22403
- "screenId": "$item.detailScreenId",
22404
- "id": "$item.id"
22405
- }
22406
- },
22407
- "pressFeedback": "highlight",
22408
- "haptic": "light",
22409
- "accessibilityLabel": "$item.a11y",
22408
+ "fillMaxWidth": true,
22410
22409
  "transition": {
22411
22410
  "enter": "fadeSlide",
22412
22411
  "direction": "up",
@@ -22421,7 +22420,7 @@ const SCREENS = runtimeSetting({
22421
22420
  "padding": {
22422
22421
  "leading": 0,
22423
22422
  "trailing": 0,
22424
- "top": 12,
22423
+ "top": 0,
22425
22424
  "bottom": 0
22426
22425
  },
22427
22426
  "hiddenPath": "$service:himiBookingServices.hideRows"
@@ -22571,27 +22570,62 @@ const SCREENS = runtimeSetting({
22571
22570
  "modifiers": {
22572
22571
  "hiddenPath": "$service:himiBookingServices.noQuery"
22573
22572
  }
22573
+ }
22574
+ ]
22575
+ }
22576
+ },
22577
+ "modifiers": {
22578
+ "fillMaxWidth": true,
22579
+ "padding": {
22580
+ "leading": 20,
22581
+ "trailing": 20,
22582
+ "top": 40,
22583
+ "bottom": 0
22584
+ },
22585
+ "transition": {
22586
+ "enter": "fade",
22587
+ "exit": "fade"
22588
+ },
22589
+ "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
22590
+ }
22591
+ },
22592
+ {
22593
+ "id": "himi_services.location_empty",
22594
+ "body": {
22595
+ "package": "himalaya",
22596
+ "type": "VStack",
22597
+ "props": {
22598
+ "spacing": 16,
22599
+ "alignment": "center",
22600
+ "children": [
22601
+ {
22602
+ "id": "himi_services.location_empty_text",
22603
+ "body": {
22604
+ "package": "himalaya",
22605
+ "type": "Text",
22606
+ "props": {
22607
+ "text": "$service:himiBookingServices.locationEmptyText",
22608
+ "style": "body",
22609
+ "color": "textSecondary",
22610
+ "textAlign": "center"
22611
+ }
22612
+ }
22574
22613
  },
22575
22614
  {
22576
- "id": "himi_services.empty.show_all",
22615
+ "id": "himi_services.all_locations",
22577
22616
  "body": {
22578
22617
  "package": "himalaya",
22579
22618
  "type": "Button",
22580
22619
  "props": {
22581
- "title": "Show All",
22620
+ "title": "Show all locations",
22582
22621
  "style": "secondary",
22583
22622
  "action": {
22584
- "actionId": "tier5.himiBookingServices.collectionFilter",
22585
- "args": {
22586
- "selectedIds": [
22587
- "all"
22588
- ]
22623
+ "actionId": "tier5.himiBookingServices.selectLocation",
22624
+ "params": {
22625
+ "locationId": ""
22589
22626
  }
22590
22627
  }
22591
22628
  }
22592
- },
22593
- "modifiers": {
22594
- "hiddenPath": "$service:himiBookingServices.hasQuery"
22595
22629
  }
22596
22630
  }
22597
22631
  ]
@@ -22609,7 +22643,185 @@ const SCREENS = runtimeSetting({
22609
22643
  "enter": "fade",
22610
22644
  "exit": "fade"
22611
22645
  },
22612
- "hiddenPath": "$service:himiBookingServices.collection.noEmpty"
22646
+ "hiddenPath": "$service:himiBookingServices.notLocationEmpty"
22647
+ }
22648
+ },
22649
+ {
22650
+ "id": "himi_services.location_sheet",
22651
+ "body": {
22652
+ "package": "himalaya",
22653
+ "type": "BottomSheet",
22654
+ "props": {
22655
+ "presentedPath": "$service:himiBookingServices.locationSheetOpen",
22656
+ "dismissible": true,
22657
+ "showGrabber": true,
22658
+ "onDismiss": {
22659
+ "actionId": "tier5.himiBookingServices.closeLocations"
22660
+ },
22661
+ "content": {
22662
+ "id": "",
22663
+ "body": {
22664
+ "package": "himalaya",
22665
+ "type": "VStack",
22666
+ "props": {
22667
+ "spacing": 8,
22668
+ "alignment": "leading",
22669
+ "children": [
22670
+ {
22671
+ "id": "",
22672
+ "body": {
22673
+ "package": "himalaya",
22674
+ "type": "Text",
22675
+ "props": {
22676
+ "text": "Choose a location",
22677
+ "style": "title3"
22678
+ }
22679
+ }
22680
+ },
22681
+ {
22682
+ "id": "himi_services.location_options",
22683
+ "body": {
22684
+ "package": "himalaya",
22685
+ "type": "Grid",
22686
+ "props": {
22687
+ "columns": 1,
22688
+ "spacing": 0,
22689
+ "itemsPath": "$service:himiBookingServices.locationOptions",
22690
+ "items": [
22691
+ {
22692
+ "id": "",
22693
+ "body": {
22694
+ "package": "himalaya",
22695
+ "type": "VStack",
22696
+ "props": {
22697
+ "spacing": 0,
22698
+ "children": [
22699
+ {
22700
+ "id": "",
22701
+ "body": {
22702
+ "package": "himalaya",
22703
+ "type": "HStack",
22704
+ "props": {
22705
+ "spacing": 12,
22706
+ "alignment": "center",
22707
+ "children": [
22708
+ {
22709
+ "id": "",
22710
+ "body": {
22711
+ "package": "himalaya",
22712
+ "type": "VStack",
22713
+ "props": {
22714
+ "spacing": 2,
22715
+ "alignment": "leading",
22716
+ "children": [
22717
+ {
22718
+ "id": "",
22719
+ "body": {
22720
+ "package": "himalaya",
22721
+ "type": "Text",
22722
+ "props": {
22723
+ "text": "$item.label",
22724
+ "style": "body",
22725
+ "maxLines": 2
22726
+ }
22727
+ }
22728
+ },
22729
+ {
22730
+ "id": "",
22731
+ "body": {
22732
+ "package": "himalaya",
22733
+ "type": "Text",
22734
+ "props": {
22735
+ "text": "$item.sub",
22736
+ "style": "caption",
22737
+ "color": "textSecondary",
22738
+ "maxLines": 2
22739
+ }
22740
+ },
22741
+ "modifiers": {
22742
+ "hiddenPath": "$item.noSub"
22743
+ }
22744
+ }
22745
+ ]
22746
+ }
22747
+ }
22748
+ },
22749
+ {
22750
+ "id": "",
22751
+ "body": {
22752
+ "package": "himalaya",
22753
+ "type": "Spacer",
22754
+ "props": {}
22755
+ }
22756
+ },
22757
+ {
22758
+ "id": "",
22759
+ "body": {
22760
+ "package": "himalaya",
22761
+ "type": "Icon",
22762
+ "props": {
22763
+ "name": "check",
22764
+ "size": 20,
22765
+ "tint": "accentPrimary"
22766
+ }
22767
+ },
22768
+ "modifiers": {
22769
+ "accessibilityRole": "decorative",
22770
+ "hiddenPath": "$item.notSelected"
22771
+ }
22772
+ }
22773
+ ]
22774
+ }
22775
+ },
22776
+ "modifiers": {
22777
+ "fillMaxWidth": true,
22778
+ "padding": {
22779
+ "top": 15,
22780
+ "bottom": 15
22781
+ }
22782
+ }
22783
+ },
22784
+ {
22785
+ "id": "",
22786
+ "body": {
22787
+ "package": "himalaya",
22788
+ "type": "Divider",
22789
+ "props": {}
22790
+ }
22791
+ }
22792
+ ]
22793
+ }
22794
+ },
22795
+ "modifiers": {
22796
+ "fillMaxWidth": true,
22797
+ "onTap": {
22798
+ "actionId": "tier5.himiBookingServices.selectLocation",
22799
+ "params": {
22800
+ "locationId": "$item.id"
22801
+ }
22802
+ },
22803
+ "pressFeedback": "highlight",
22804
+ "accessibilityRole": "button",
22805
+ "accessibilityLabel": "$item.a11y"
22806
+ }
22807
+ }
22808
+ ]
22809
+ }
22810
+ }
22811
+ }
22812
+ ]
22813
+ }
22814
+ },
22815
+ "modifiers": {
22816
+ "padding": {
22817
+ "leading": 20,
22818
+ "trailing": 20,
22819
+ "top": 8,
22820
+ "bottom": 24
22821
+ }
22822
+ }
22823
+ }
22824
+ }
22613
22825
  }
22614
22826
  }
22615
22827
  ]
@@ -22622,7 +22834,6 @@ const SCREENS = runtimeSetting({
22622
22834
  "padding": {
22623
22835
  "leading": 0,
22624
22836
  "trailing": 0,
22625
- "top": 18,
22626
22837
  "bottom": 24
22627
22838
  },
22628
22839
  "onAppear": {
@@ -22636,27 +22847,171 @@ const SCREENS = runtimeSetting({
22636
22847
  "contentType": "application/javascript+ts-bundle",
22637
22848
  "declaredCapabilities": [
22638
22849
  "wix_api",
22639
- "local_database"
22850
+ "local_database",
22851
+ "app_info"
22640
22852
  ],
22641
22853
  "minBinaryVersion": "0.1.0",
22642
22854
  "bundleVersion": "0.0.1"
22643
22855
  },
22856
+ "stickyHeader": {
22857
+ "id": "himi_services.header",
22858
+ "body": {
22859
+ "package": "himalaya",
22860
+ "type": "VStack",
22861
+ "props": {
22862
+ "spacing": 0,
22863
+ "alignment": "leading",
22864
+ "children": [
22865
+ {
22866
+ "id": "",
22867
+ "body": {
22868
+ "package": "himalaya",
22869
+ "type": "VStack",
22870
+ "props": {
22871
+ "spacing": 4,
22872
+ "alignment": "leading",
22873
+ "children": [
22874
+ {
22875
+ "id": "himi_services.title",
22876
+ "body": {
22877
+ "package": "himalaya",
22878
+ "type": "Text",
22879
+ "props": {
22880
+ "text": "Services",
22881
+ "style": "title1"
22882
+ }
22883
+ }
22884
+ }
22885
+ ]
22886
+ }
22887
+ },
22888
+ "modifiers": {
22889
+ "padding": {
22890
+ "leading": 20,
22891
+ "trailing": 20,
22892
+ "top": 0,
22893
+ "bottom": 0
22894
+ }
22895
+ }
22896
+ },
22897
+ {
22898
+ "id": "",
22899
+ "body": {
22900
+ "package": "himalaya",
22901
+ "type": "VStack",
22902
+ "props": {
22903
+ "spacing": 0,
22904
+ "alignment": "leading",
22905
+ "children": [
22906
+ {
22907
+ "id": "himi_services.search",
22908
+ "body": {
22909
+ "package": "himalaya",
22910
+ "type": "SearchField",
22911
+ "props": {
22912
+ "placeholder": "Search services",
22913
+ "value": "$service:himiBookingServices.collection.query",
22914
+ "debounceMs": 200,
22915
+ "onChange": {
22916
+ "actionId": "tier5.himiBookingServices.search"
22917
+ }
22918
+ }
22919
+ }
22920
+ }
22921
+ ]
22922
+ }
22923
+ },
22924
+ "modifiers": {
22925
+ "padding": {
22926
+ "leading": 20,
22927
+ "trailing": 20,
22928
+ "top": 16,
22929
+ "bottom": 0
22930
+ },
22931
+ "hiddenPath": "$service:himiBookingServices.collection.hideChrome"
22932
+ }
22933
+ },
22934
+ {
22935
+ "id": "himi_services.categories",
22936
+ "body": {
22937
+ "package": "himalaya",
22938
+ "type": "FilterChips",
22939
+ "props": {
22940
+ "chips": [],
22941
+ "optionsPath": "$service:himiBookingServices.categoryChips",
22942
+ "selectedIds": [
22943
+ "$service:himiBookingServices.activeCategory"
22944
+ ],
22945
+ "multiSelect": false,
22946
+ "onChange": {
22947
+ "actionId": "tier5.himiBookingServices.scrollToCategory"
22948
+ }
22949
+ }
22950
+ },
22951
+ "modifiers": {
22952
+ "accessibilityLabel": "$service:himiBookingServices.categoriesLabel",
22953
+ "padding": {
22954
+ "leading": 20,
22955
+ "trailing": 20,
22956
+ "top": 12,
22957
+ "bottom": 0
22958
+ },
22959
+ "hiddenPath": "$service:himiBookingServices.hideCategories"
22960
+ }
22961
+ },
22962
+ {
22963
+ "id": "",
22964
+ "body": {
22965
+ "package": "himalaya",
22966
+ "type": "VStack",
22967
+ "props": {
22968
+ "spacing": 0,
22969
+ "children": [
22970
+ {
22971
+ "id": "",
22972
+ "body": {
22973
+ "package": "himalaya",
22974
+ "type": "Divider",
22975
+ "props": {}
22976
+ }
22977
+ }
22978
+ ]
22979
+ }
22980
+ },
22981
+ "modifiers": {
22982
+ "padding": {
22983
+ "top": 12
22984
+ },
22985
+ "fillMaxWidth": true
22986
+ }
22987
+ }
22988
+ ]
22989
+ }
22990
+ },
22991
+ "modifiers": {
22992
+ "background": {
22993
+ "token": "surfacePrimary"
22994
+ },
22995
+ "padding": {
22996
+ "top": 18
22997
+ },
22998
+ "fillMaxWidth": true
22999
+ }
23000
+ },
22644
23001
  "topBar": {
22645
23002
  "actions": [
22646
23003
  {
22647
- "id": "bookings",
22648
- "icon": "calendar",
22649
- "accessibilityLabel": "My Bookings",
23004
+ "id": "location",
23005
+ "icon": "location",
23006
+ "accessibilityLabel": "Choose a location",
22650
23007
  "onTap": {
22651
- "actionId": "himi.open",
22652
- "params": {
22653
- "screenId": "himi_bookings"
22654
- }
22655
- }
23008
+ "actionId": "tier5.himiBookingServices.openLocations"
23009
+ },
23010
+ "hiddenPath": "$service:brandedLiteNav.noLocationMenu"
22656
23011
  },
22657
23012
  {
22658
23013
  "id": "agenda",
22659
- "icon": "list",
23014
+ "icon": "calendar",
22660
23015
  "accessibilityLabel": "Agenda",
22661
23016
  "onTap": {
22662
23017
  "actionId": "himi.open",
@@ -22783,29 +23138,45 @@ const SCREENS = runtimeSetting({
22783
23138
  }
22784
23139
  },
22785
23140
  {
22786
- "id": "himi_bookings.tabs",
23141
+ "id": "",
22787
23142
  "body": {
22788
23143
  "package": "himalaya",
22789
- "type": "SegmentedControl",
23144
+ "type": "VStack",
22790
23145
  "props": {
22791
- "options": [
22792
- {
22793
- "id": "upcoming",
22794
- "label": "Upcoming"
22795
- },
22796
- {
22797
- "id": "past",
22798
- "label": "Past"
22799
- },
23146
+ "spacing": 0,
23147
+ "alignment": "leading",
23148
+ "children": [
22800
23149
  {
22801
- "id": "cancelled",
22802
- "label": "Canceled"
23150
+ "id": "himi_bookings.tabs",
23151
+ "body": {
23152
+ "package": "himalaya",
23153
+ "type": "SegmentedControl",
23154
+ "props": {
23155
+ "options": [
23156
+ {
23157
+ "id": "upcoming",
23158
+ "label": "Upcoming"
23159
+ },
23160
+ {
23161
+ "id": "past",
23162
+ "label": "Past"
23163
+ },
23164
+ {
23165
+ "id": "cancelled",
23166
+ "label": "Canceled"
23167
+ }
23168
+ ],
23169
+ "selectedId": "$service:himiBookingBookings.tab",
23170
+ "onChange": {
23171
+ "actionId": "tier5.himiBookingBookings.selectTab"
23172
+ }
23173
+ }
23174
+ },
23175
+ "modifiers": {
23176
+ "fillMaxWidth": true
23177
+ }
22803
23178
  }
22804
- ],
22805
- "selectedId": "$service:himiBookingBookings.tab",
22806
- "onChange": {
22807
- "actionId": "tier5.himiBookingBookings.selectTab"
22808
- }
23179
+ ]
22809
23180
  }
22810
23181
  },
22811
23182
  "modifiers": {
@@ -25077,8 +25448,8 @@ const SCREENS = runtimeSetting({
25077
25448
  },
25078
25449
  "modifiers": {
25079
25450
  "padding": {
25080
- "leading": 20,
25081
- "trailing": 20,
25451
+ "leading": 16,
25452
+ "trailing": 16,
25082
25453
  "top": 14,
25083
25454
  "bottom": 14
25084
25455
  },
@@ -25184,8 +25555,8 @@ const SCREENS = runtimeSetting({
25184
25555
  },
25185
25556
  "modifiers": {
25186
25557
  "padding": {
25187
- "leading": 20,
25188
- "trailing": 20,
25558
+ "leading": 16,
25559
+ "trailing": 16,
25189
25560
  "top": 14,
25190
25561
  "bottom": 14
25191
25562
  },
@@ -25291,8 +25662,8 @@ const SCREENS = runtimeSetting({
25291
25662
  },
25292
25663
  "modifiers": {
25293
25664
  "padding": {
25294
- "leading": 20,
25295
- "trailing": 20,
25665
+ "leading": 16,
25666
+ "trailing": 16,
25296
25667
  "top": 14,
25297
25668
  "bottom": 14
25298
25669
  },
@@ -25563,7 +25934,9 @@ const SCREENS = runtimeSetting({
25563
25934
  "actionId": "himi.open",
25564
25935
  "params": {
25565
25936
  "screenId": "himi_service",
25566
- "id": "$item.serviceId"
25937
+ "id": "$item.serviceId",
25938
+ "sessionId": "$item.sessionId",
25939
+ "start": "$item.start"
25567
25940
  }
25568
25941
  },
25569
25942
  "pressFeedback": "highlight",
@@ -25730,7 +26103,9 @@ const SCREENS = runtimeSetting({
25730
26103
  "actionId": "himi.open",
25731
26104
  "params": {
25732
26105
  "screenId": "himi_service",
25733
- "id": "$item.serviceId"
26106
+ "id": "$item.serviceId",
26107
+ "sessionId": "$item.sessionId",
26108
+ "start": "$item.start"
25734
26109
  }
25735
26110
  },
25736
26111
  "accessibilityRole": "button",
@@ -25919,6 +26294,8 @@ const SCREENS = runtimeSetting({
25919
26294
  },
25920
26295
  "modifiers": {
25921
26296
  "padding": {
26297
+ "leading": 16,
26298
+ "trailing": 16,
25922
26299
  "top": 14,
25923
26300
  "bottom": 14
25924
26301
  },
@@ -25931,20 +26308,22 @@ const SCREENS = runtimeSetting({
25931
26308
  "package": "himalaya",
25932
26309
  "type": "Divider",
25933
26310
  "props": {}
26311
+ },
26312
+ "modifiers": {
26313
+ "hiddenPath": "$item.lastOfDay"
25934
26314
  }
25935
26315
  }
25936
26316
  ]
25937
26317
  }
25938
26318
  }
26319
+ },
26320
+ "onVisibleDateChange": {
26321
+ "actionId": "tier5.himiBrandedAgenda.visibleDate"
25939
26322
  }
25940
26323
  }
25941
26324
  },
25942
26325
  "modifiers": {
25943
26326
  "fillMaxWidth": true,
25944
- "padding": {
25945
- "leading": 20,
25946
- "trailing": 20
25947
- },
25948
26327
  "hiddenPath": "$service:himiBrandedAgenda.listHidden"
25949
26328
  }
25950
26329
  },
@@ -26065,6 +26444,58 @@ const SCREENS = runtimeSetting({
26065
26444
  "hiddenPath": "$service:himiBrandedAgenda.notNothingAhead"
26066
26445
  }
26067
26446
  },
26447
+ {
26448
+ "id": "himi_agenda.location_empty",
26449
+ "body": {
26450
+ "package": "himalaya",
26451
+ "type": "VStack",
26452
+ "props": {
26453
+ "spacing": 22,
26454
+ "alignment": "center",
26455
+ "children": [
26456
+ {
26457
+ "id": "",
26458
+ "body": {
26459
+ "package": "himalaya",
26460
+ "type": "Text",
26461
+ "props": {
26462
+ "text": "No classes at this location in the coming weeks.",
26463
+ "style": "body",
26464
+ "color": "textPrimary",
26465
+ "textAlign": "center"
26466
+ }
26467
+ }
26468
+ },
26469
+ {
26470
+ "id": "himi_agenda.all_locations",
26471
+ "body": {
26472
+ "package": "himalaya",
26473
+ "type": "Button",
26474
+ "props": {
26475
+ "title": "Show all locations",
26476
+ "style": "secondary",
26477
+ "action": {
26478
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
26479
+ "params": {
26480
+ "locationId": ""
26481
+ }
26482
+ }
26483
+ }
26484
+ }
26485
+ }
26486
+ ]
26487
+ }
26488
+ },
26489
+ "modifiers": {
26490
+ "padding": {
26491
+ "leading": 28,
26492
+ "trailing": 28,
26493
+ "top": 48
26494
+ },
26495
+ "fillMaxWidth": true,
26496
+ "hiddenPath": "$service:himiBrandedAgenda.notLocationEmpty"
26497
+ }
26498
+ },
26068
26499
  {
26069
26500
  "id": "himi_agenda.sheet",
26070
26501
  "body": {
@@ -26169,7 +26600,9 @@ const SCREENS = runtimeSetting({
26169
26600
  "nav": {
26170
26601
  "screenId": "himi_service",
26171
26602
  "args": {
26172
- "id": "$service:himiBrandedAgenda.sheetServiceId"
26603
+ "id": "$service:himiBrandedAgenda.sheetServiceId",
26604
+ "sessionId": "$service:himiBrandedAgenda.sheetSessionId",
26605
+ "start": "$service:himiBrandedAgenda.sheetStart"
26173
26606
  }
26174
26607
  }
26175
26608
  }
@@ -26243,6 +26676,184 @@ const SCREENS = runtimeSetting({
26243
26676
  }
26244
26677
  }
26245
26678
  },
26679
+ {
26680
+ "id": "himi_agenda.location_sheet",
26681
+ "body": {
26682
+ "package": "himalaya",
26683
+ "type": "BottomSheet",
26684
+ "props": {
26685
+ "presentedPath": "$service:himiBrandedAgenda.locationSheetOpen",
26686
+ "dismissible": true,
26687
+ "showGrabber": true,
26688
+ "onDismiss": {
26689
+ "actionId": "tier5.himiBrandedAgenda.closeLocations"
26690
+ },
26691
+ "content": {
26692
+ "id": "",
26693
+ "body": {
26694
+ "package": "himalaya",
26695
+ "type": "VStack",
26696
+ "props": {
26697
+ "spacing": 8,
26698
+ "alignment": "leading",
26699
+ "children": [
26700
+ {
26701
+ "id": "",
26702
+ "body": {
26703
+ "package": "himalaya",
26704
+ "type": "Text",
26705
+ "props": {
26706
+ "text": "Choose a location",
26707
+ "style": "title3"
26708
+ }
26709
+ }
26710
+ },
26711
+ {
26712
+ "id": "himi_agenda.location_options",
26713
+ "body": {
26714
+ "package": "himalaya",
26715
+ "type": "Grid",
26716
+ "props": {
26717
+ "columns": 1,
26718
+ "spacing": 0,
26719
+ "itemsPath": "$service:himiBrandedAgenda.locationOptions",
26720
+ "items": [
26721
+ {
26722
+ "id": "",
26723
+ "body": {
26724
+ "package": "himalaya",
26725
+ "type": "VStack",
26726
+ "props": {
26727
+ "spacing": 0,
26728
+ "children": [
26729
+ {
26730
+ "id": "",
26731
+ "body": {
26732
+ "package": "himalaya",
26733
+ "type": "HStack",
26734
+ "props": {
26735
+ "spacing": 12,
26736
+ "alignment": "center",
26737
+ "children": [
26738
+ {
26739
+ "id": "",
26740
+ "body": {
26741
+ "package": "himalaya",
26742
+ "type": "VStack",
26743
+ "props": {
26744
+ "spacing": 2,
26745
+ "alignment": "leading",
26746
+ "children": [
26747
+ {
26748
+ "id": "",
26749
+ "body": {
26750
+ "package": "himalaya",
26751
+ "type": "Text",
26752
+ "props": {
26753
+ "text": "$item.label",
26754
+ "style": "body",
26755
+ "maxLines": 2
26756
+ }
26757
+ }
26758
+ },
26759
+ {
26760
+ "id": "",
26761
+ "body": {
26762
+ "package": "himalaya",
26763
+ "type": "Text",
26764
+ "props": {
26765
+ "text": "$item.sub",
26766
+ "style": "caption",
26767
+ "color": "textSecondary",
26768
+ "maxLines": 2
26769
+ }
26770
+ },
26771
+ "modifiers": {
26772
+ "hiddenPath": "$item.noSub"
26773
+ }
26774
+ }
26775
+ ]
26776
+ }
26777
+ }
26778
+ },
26779
+ {
26780
+ "id": "",
26781
+ "body": {
26782
+ "package": "himalaya",
26783
+ "type": "Spacer",
26784
+ "props": {}
26785
+ }
26786
+ },
26787
+ {
26788
+ "id": "",
26789
+ "body": {
26790
+ "package": "himalaya",
26791
+ "type": "Icon",
26792
+ "props": {
26793
+ "name": "check",
26794
+ "size": 20,
26795
+ "tint": "accentPrimary"
26796
+ }
26797
+ },
26798
+ "modifiers": {
26799
+ "accessibilityRole": "decorative",
26800
+ "hiddenPath": "$item.notSelected"
26801
+ }
26802
+ }
26803
+ ]
26804
+ }
26805
+ },
26806
+ "modifiers": {
26807
+ "fillMaxWidth": true,
26808
+ "padding": {
26809
+ "top": 15,
26810
+ "bottom": 15
26811
+ }
26812
+ }
26813
+ },
26814
+ {
26815
+ "id": "",
26816
+ "body": {
26817
+ "package": "himalaya",
26818
+ "type": "Divider",
26819
+ "props": {}
26820
+ }
26821
+ }
26822
+ ]
26823
+ }
26824
+ },
26825
+ "modifiers": {
26826
+ "fillMaxWidth": true,
26827
+ "onTap": {
26828
+ "actionId": "tier5.himiBrandedAgenda.selectLocation",
26829
+ "params": {
26830
+ "locationId": "$item.id"
26831
+ }
26832
+ },
26833
+ "pressFeedback": "highlight",
26834
+ "accessibilityRole": "button",
26835
+ "accessibilityLabel": "$item.a11y"
26836
+ }
26837
+ }
26838
+ ]
26839
+ }
26840
+ }
26841
+ }
26842
+ ]
26843
+ }
26844
+ },
26845
+ "modifiers": {
26846
+ "padding": {
26847
+ "leading": 20,
26848
+ "trailing": 20,
26849
+ "top": 8,
26850
+ "bottom": 24
26851
+ }
26852
+ }
26853
+ }
26854
+ }
26855
+ }
26856
+ },
26246
26857
  {
26247
26858
  "id": "himi_agenda.result",
26248
26859
  "body": {
@@ -26497,7 +27108,8 @@ const SCREENS = runtimeSetting({
26497
27108
  "wix_api",
26498
27109
  "app_info",
26499
27110
  "calendar",
26500
- "open_url"
27111
+ "open_url",
27112
+ "local_database"
26501
27113
  ],
26502
27114
  "minBinaryVersion": "0.1.0",
26503
27115
  "bundleVersion": "0.0.1"
@@ -26515,28 +27127,110 @@ const SCREENS = runtimeSetting({
26515
27127
  "alignment": "leading",
26516
27128
  "children": [
26517
27129
  {
26518
- "id": "himi_agenda.back",
27130
+ "id": "",
26519
27131
  "body": {
26520
27132
  "package": "himalaya",
26521
- "type": "Button",
27133
+ "type": "HStack",
26522
27134
  "props": {
26523
- "title": "Back",
26524
- "action": {
26525
- "actionId": "nav.back",
26526
- "presentation": "back"
26527
- },
26528
- "style": "tertiary",
26529
- "iconOnly": true,
26530
- "leadingIcon": "chevron_left",
26531
- "cornerRadius": 22,
26532
- "minHeight": 44
27135
+ "spacing": 0,
27136
+ "alignment": "center",
27137
+ "children": [
27138
+ {
27139
+ "id": "himi_agenda.back",
27140
+ "body": {
27141
+ "package": "himalaya",
27142
+ "type": "Button",
27143
+ "props": {
27144
+ "title": "Back",
27145
+ "action": {
27146
+ "actionId": "nav.back",
27147
+ "presentation": "back"
27148
+ },
27149
+ "style": "tertiary",
27150
+ "iconOnly": true,
27151
+ "leadingIcon": "chevron_left",
27152
+ "cornerRadius": 22,
27153
+ "minHeight": 44
27154
+ }
27155
+ },
27156
+ "modifiers": {
27157
+ "width": 44,
27158
+ "height": 44,
27159
+ "accessibilityLabel": "Back",
27160
+ "accessibilityRole": "button"
27161
+ }
27162
+ },
27163
+ {
27164
+ "id": "",
27165
+ "body": {
27166
+ "package": "himalaya",
27167
+ "type": "Spacer",
27168
+ "props": {}
27169
+ }
27170
+ },
27171
+ {
27172
+ "id": "himi_agenda.location",
27173
+ "body": {
27174
+ "package": "himalaya",
27175
+ "type": "ZStack",
27176
+ "props": {
27177
+ "children": [
27178
+ {
27179
+ "id": "",
27180
+ "body": {
27181
+ "package": "himalaya",
27182
+ "type": "Icon",
27183
+ "props": {
27184
+ "name": "location",
27185
+ "size": 22,
27186
+ "tint": "textPrimary"
27187
+ }
27188
+ },
27189
+ "modifiers": {
27190
+ "accessibilityRole": "decorative",
27191
+ "hiddenPath": "$service:himiBrandedAgenda.locationActive"
27192
+ }
27193
+ },
27194
+ {
27195
+ "id": "",
27196
+ "body": {
27197
+ "package": "himalaya",
27198
+ "type": "Icon",
27199
+ "props": {
27200
+ "name": "location",
27201
+ "size": 22,
27202
+ "tint": "accentPrimary"
27203
+ }
27204
+ },
27205
+ "modifiers": {
27206
+ "accessibilityRole": "decorative",
27207
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationActive"
27208
+ }
27209
+ }
27210
+ ]
27211
+ }
27212
+ },
27213
+ "modifiers": {
27214
+ "width": 44,
27215
+ "height": 44,
27216
+ "onTap": {
27217
+ "actionId": "tier5.himiBrandedAgenda.openLocations"
27218
+ },
27219
+ "pressFeedback": "highlight",
27220
+ "accessibilityRole": "button",
27221
+ "accessibilityLabel": "$service:himiBrandedAgenda.locationA11y",
27222
+ "accessibilityHint": "Choose a location",
27223
+ "hiddenPath": "$service:himiBrandedAgenda.noLocationMenu"
27224
+ }
27225
+ }
27226
+ ]
26533
27227
  }
26534
27228
  },
26535
27229
  "modifiers": {
26536
- "width": 44,
26537
- "height": 44,
26538
- "accessibilityLabel": "Back",
26539
- "accessibilityRole": "button"
27230
+ "fillMaxWidth": true,
27231
+ "padding": {
27232
+ "trailing": 4
27233
+ }
26540
27234
  }
26541
27235
  },
26542
27236
  {
@@ -94304,7 +94998,20 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
94304
94998
  "alignment": "leading",
94305
94999
  "children": [
94306
95000
  {
94307
- "id": "",
95001
+ "id": "himi_service.title",
95002
+ "body": {
95003
+ "package": "himalaya",
95004
+ "type": "Text",
95005
+ "props": {
95006
+ "text": "$service:himiBookingService.name",
95007
+ "style": "pageTitle",
95008
+ "maxLines": 3,
95009
+ "collapseWhenEmpty": true
95010
+ }
95011
+ }
95012
+ },
95013
+ {
95014
+ "id": "himi_service.session_when",
94308
95015
  "body": {
94309
95016
  "package": "himalaya",
94310
95017
  "type": "HStack",
@@ -94313,62 +95020,59 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
94313
95020
  "alignment": "center",
94314
95021
  "children": [
94315
95022
  {
94316
- "id": "himi_service.category",
95023
+ "id": "",
94317
95024
  "body": {
94318
95025
  "package": "himalaya",
94319
- "type": "Text",
95026
+ "type": "Icon",
94320
95027
  "props": {
94321
- "text": "$service:himiBookingService.category",
94322
- "style": "footnote",
94323
- "color": "textSecondary",
94324
- "maxLines": 1
95028
+ "name": "calendar",
95029
+ "size": 20,
95030
+ "tint": "textSecondary"
94325
95031
  }
94326
95032
  },
94327
95033
  "modifiers": {
94328
- "hiddenPath": "$service:himiBookingService.noCategory"
95034
+ "accessibilityRole": "decorative"
94329
95035
  }
94330
95036
  },
94331
95037
  {
94332
- "id": "himi_service.type_tag",
95038
+ "id": "",
94333
95039
  "body": {
94334
95040
  "package": "himalaya",
94335
95041
  "type": "Text",
94336
95042
  "props": {
94337
- "text": "$service:himiBookingService.typeTag",
94338
- "style": "caption",
94339
- "color": "textSecondary",
94340
- "maxLines": 1
95043
+ "text": "$service:himiBookingService.sessionWhen",
95044
+ "style": "bodyEmphasis",
95045
+ "maxLines": 2
94341
95046
  }
94342
95047
  },
94343
95048
  "modifiers": {
94344
- "background": {
94345
- "token": "surfaceTertiary"
94346
- },
94347
- "cornerRadius": 4,
94348
- "padding": {
94349
- "leading": 8,
94350
- "trailing": 8,
94351
- "top": 2,
94352
- "bottom": 2
94353
- },
94354
- "hiddenPath": "$service:himiBookingService.noTypeTag"
95049
+ "weight": 1
95050
+ }
95051
+ },
95052
+ {
95053
+ "id": "himi_service.change_time",
95054
+ "body": {
95055
+ "package": "himalaya",
95056
+ "type": "Button",
95057
+ "props": {
95058
+ "title": "Change Time",
95059
+ "style": "tertiary",
95060
+ "size": "sm",
95061
+ "action": {
95062
+ "actionId": "tier5.himiBookingService.changeTime"
95063
+ }
95064
+ }
95065
+ },
95066
+ "modifiers": {
95067
+ "hiddenPath": "$service:himiBookingService.noChangeTime"
94355
95068
  }
94356
95069
  }
94357
95070
  ]
94358
95071
  }
94359
- }
94360
- },
94361
- {
94362
- "id": "himi_service.title",
94363
- "body": {
94364
- "package": "himalaya",
94365
- "type": "Text",
94366
- "props": {
94367
- "text": "$service:himiBookingService.name",
94368
- "style": "pageTitle",
94369
- "maxLines": 3,
94370
- "collapseWhenEmpty": true
94371
- }
95072
+ },
95073
+ "modifiers": {
95074
+ "fillMaxWidth": true,
95075
+ "hiddenPath": "$service:himiBookingService.noSession"
94372
95076
  }
94373
95077
  },
94374
95078
  {
@@ -94479,6 +95183,104 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
94479
95183
  "spacing": 16,
94480
95184
  "alignment": "leading",
94481
95185
  "children": [
95186
+ {
95187
+ "id": "himi_service.session",
95188
+ "body": {
95189
+ "package": "himalaya",
95190
+ "type": "HStack",
95191
+ "props": {
95192
+ "spacing": 12,
95193
+ "alignment": "center",
95194
+ "children": [
95195
+ {
95196
+ "id": "",
95197
+ "body": {
95198
+ "package": "himalaya",
95199
+ "type": "ZStack",
95200
+ "props": {
95201
+ "alignment": "center",
95202
+ "children": [
95203
+ {
95204
+ "id": "",
95205
+ "body": {
95206
+ "package": "himalaya",
95207
+ "type": "Icon",
95208
+ "props": {
95209
+ "name": "calendar",
95210
+ "size": 20,
95211
+ "tint": "textSecondary"
95212
+ }
95213
+ },
95214
+ "modifiers": {
95215
+ "accessibilityRole": "decorative"
95216
+ }
95217
+ }
95218
+ ]
95219
+ }
95220
+ },
95221
+ "modifiers": {
95222
+ "width": 20,
95223
+ "height": 20
95224
+ }
95225
+ },
95226
+ {
95227
+ "id": "",
95228
+ "body": {
95229
+ "package": "himalaya",
95230
+ "type": "VStack",
95231
+ "props": {
95232
+ "spacing": 2,
95233
+ "alignment": "leading",
95234
+ "children": [
95235
+ {
95236
+ "id": "",
95237
+ "body": {
95238
+ "package": "himalaya",
95239
+ "type": "Text",
95240
+ "props": {
95241
+ "text": "$service:himiBookingService.sessionDate",
95242
+ "style": "body",
95243
+ "color": "textPrimary",
95244
+ "maxLines": 2
95245
+ }
95246
+ }
95247
+ },
95248
+ {
95249
+ "id": "",
95250
+ "body": {
95251
+ "package": "himalaya",
95252
+ "type": "Text",
95253
+ "props": {
95254
+ "text": "$service:himiBookingService.sessionTime",
95255
+ "style": "caption",
95256
+ "color": "textSecondary",
95257
+ "maxLines": 1,
95258
+ "collapseWhenEmpty": true
95259
+ }
95260
+ }
95261
+ }
95262
+ ]
95263
+ }
95264
+ }
95265
+ },
95266
+ {
95267
+ "id": "",
95268
+ "body": {
95269
+ "package": "himalaya",
95270
+ "type": "Spacer",
95271
+ "props": {}
95272
+ }
95273
+ }
95274
+ ]
95275
+ }
95276
+ },
95277
+ "modifiers": {
95278
+ "fillMaxWidth": true,
95279
+ "accessibilityLabel": "$service:himiBookingService.sessionDate",
95280
+ "accessibilityValue": "$service:himiBookingService.sessionTime",
95281
+ "hiddenPath": "$service:himiBookingService.noSession"
95282
+ }
95283
+ },
94482
95284
  {
94483
95285
  "id": "himi_service.course_dates",
94484
95286
  "body": {
@@ -95884,7 +96686,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
95884
96686
  "bottom": 24
95885
96687
  },
95886
96688
  "onAppear": {
95887
- "actionId": "tier5.himiBookingService.load"
96689
+ "actionId": "tier5.himiBookingService.load",
96690
+ "params": {
96691
+ "signInScreenId": "himi_sign_in",
96692
+ "signInPresentation": "sheet"
96693
+ }
95888
96694
  }
95889
96695
  }
95890
96696
  },
@@ -95941,6 +96747,77 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
95941
96747
  "props": {
95942
96748
  "spacing": 0,
95943
96749
  "children": [
96750
+ {
96751
+ "id": "himi_service.session_message",
96752
+ "body": {
96753
+ "package": "himalaya",
96754
+ "type": "HStack",
96755
+ "props": {
96756
+ "spacing": 8,
96757
+ "alignment": "center",
96758
+ "children": [
96759
+ {
96760
+ "id": "",
96761
+ "body": {
96762
+ "package": "himalaya",
96763
+ "type": "Icon",
96764
+ "props": {
96765
+ "name": "check",
96766
+ "size": 20,
96767
+ "tint": "success"
96768
+ }
96769
+ },
96770
+ "modifiers": {
96771
+ "accessibilityRole": "decorative",
96772
+ "hiddenPath": "$service:himiBookingService.sessionMessageFailed"
96773
+ }
96774
+ },
96775
+ {
96776
+ "id": "",
96777
+ "body": {
96778
+ "package": "himalaya",
96779
+ "type": "Icon",
96780
+ "props": {
96781
+ "name": "info",
96782
+ "size": 20,
96783
+ "tint": "accentPrimary"
96784
+ }
96785
+ },
96786
+ "modifiers": {
96787
+ "accessibilityRole": "decorative",
96788
+ "hiddenPath": "$service:himiBookingService.sessionMessageOk"
96789
+ }
96790
+ },
96791
+ {
96792
+ "id": "",
96793
+ "body": {
96794
+ "package": "himalaya",
96795
+ "type": "Text",
96796
+ "props": {
96797
+ "text": "$service:himiBookingService.sessionMessage",
96798
+ "style": "footnote",
96799
+ "color": "textPrimary",
96800
+ "maxLines": 2
96801
+ }
96802
+ },
96803
+ "modifiers": {
96804
+ "weight": 1,
96805
+ "announce": {
96806
+ "politeness": "polite"
96807
+ }
96808
+ }
96809
+ }
96810
+ ]
96811
+ }
96812
+ },
96813
+ "modifiers": {
96814
+ "fillMaxWidth": true,
96815
+ "padding": {
96816
+ "bottom": 12
96817
+ },
96818
+ "hiddenPath": "$service:himiBookingService.noSessionMessage"
96819
+ }
96820
+ },
95944
96821
  {
95945
96822
  "id": "himi_service.choose_time",
95946
96823
  "body": {
@@ -96066,6 +96943,251 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
96066
96943
  "modifiers": {
96067
96944
  "hiddenPath": "$service:himiBookingService.noCourseCtaClosed"
96068
96945
  }
96946
+ },
96947
+ {
96948
+ "id": "himi_service.session_book",
96949
+ "body": {
96950
+ "package": "himalaya",
96951
+ "type": "Button",
96952
+ "props": {
96953
+ "title": "Book",
96954
+ "style": "primary",
96955
+ "fullWidth": true,
96956
+ "action": {
96957
+ "actionId": "tier5.himiBookingService.book"
96958
+ }
96959
+ }
96960
+ },
96961
+ "modifiers": {
96962
+ "cornerRadius": 8,
96963
+ "pressFeedback": "scale",
96964
+ "haptic": "medium",
96965
+ "height": 48,
96966
+ "hiddenPath": "$service:himiBookingService.noSessionBook"
96967
+ }
96968
+ },
96969
+ {
96970
+ "id": "himi_service.session_request",
96971
+ "body": {
96972
+ "package": "himalaya",
96973
+ "type": "Button",
96974
+ "props": {
96975
+ "title": "Request to Book",
96976
+ "style": "primary",
96977
+ "fullWidth": true,
96978
+ "action": {
96979
+ "actionId": "tier5.himiBookingService.book"
96980
+ }
96981
+ }
96982
+ },
96983
+ "modifiers": {
96984
+ "cornerRadius": 8,
96985
+ "pressFeedback": "scale",
96986
+ "haptic": "medium",
96987
+ "height": 48,
96988
+ "hiddenPath": "$service:himiBookingService.noSessionRequest"
96989
+ }
96990
+ },
96991
+ {
96992
+ "id": "himi_service.session_waitlist",
96993
+ "body": {
96994
+ "package": "himalaya",
96995
+ "type": "Button",
96996
+ "props": {
96997
+ "title": "Join Waitlist",
96998
+ "style": "primary",
96999
+ "fullWidth": true,
97000
+ "action": {
97001
+ "actionId": "tier5.himiBookingService.joinWaitlist"
97002
+ }
97003
+ }
97004
+ },
97005
+ "modifiers": {
97006
+ "cornerRadius": 8,
97007
+ "pressFeedback": "scale",
97008
+ "haptic": "medium",
97009
+ "height": 48,
97010
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlist"
97011
+ }
97012
+ },
97013
+ {
97014
+ "id": "himi_service.session_closed",
97015
+ "body": {
97016
+ "package": "himalaya",
97017
+ "type": "VStack",
97018
+ "props": {
97019
+ "spacing": 8,
97020
+ "alignment": "center",
97021
+ "children": [
97022
+ {
97023
+ "id": "",
97024
+ "body": {
97025
+ "package": "himalaya",
97026
+ "type": "Text",
97027
+ "props": {
97028
+ "text": "$service:himiBookingService.closedLabel",
97029
+ "style": "footnote",
97030
+ "color": "textSecondary",
97031
+ "maxLines": 1,
97032
+ "textAlign": "center"
97033
+ }
97034
+ },
97035
+ "modifiers": {
97036
+ "accessibilityHidden": true
97037
+ }
97038
+ },
97039
+ {
97040
+ "id": "himi_service.session_book_closed",
97041
+ "body": {
97042
+ "package": "himalaya",
97043
+ "type": "Button",
97044
+ "props": {
97045
+ "title": "Book",
97046
+ "style": "primary",
97047
+ "fullWidth": true,
97048
+ "disabled": true,
97049
+ "action": {
97050
+ "actionId": "tier5.himiBookingService.book"
97051
+ }
97052
+ }
97053
+ },
97054
+ "modifiers": {
97055
+ "height": 48,
97056
+ "cornerRadius": 8,
97057
+ "accessibilityValue": "$service:himiBookingService.closedLabel"
97058
+ }
97059
+ }
97060
+ ]
97061
+ }
97062
+ },
97063
+ "modifiers": {
97064
+ "fillMaxWidth": true,
97065
+ "hiddenPath": "$service:himiBookingService.noSessionClosed"
97066
+ }
97067
+ },
97068
+ {
97069
+ "id": "himi_service.session_booked",
97070
+ "body": {
97071
+ "package": "himalaya",
97072
+ "type": "ZStack",
97073
+ "props": {
97074
+ "alignment": "center",
97075
+ "children": [
97076
+ {
97077
+ "id": "",
97078
+ "body": {
97079
+ "package": "himalaya",
97080
+ "type": "HStack",
97081
+ "props": {
97082
+ "spacing": 8,
97083
+ "alignment": "center",
97084
+ "children": [
97085
+ {
97086
+ "id": "",
97087
+ "body": {
97088
+ "package": "himalaya",
97089
+ "type": "Icon",
97090
+ "props": {
97091
+ "name": "check",
97092
+ "size": 20,
97093
+ "tint": "success"
97094
+ }
97095
+ },
97096
+ "modifiers": {
97097
+ "accessibilityRole": "decorative"
97098
+ }
97099
+ },
97100
+ {
97101
+ "id": "",
97102
+ "body": {
97103
+ "package": "himalaya",
97104
+ "type": "Text",
97105
+ "props": {
97106
+ "text": "Booked",
97107
+ "style": "bodyEmphasis",
97108
+ "color": "textPrimary",
97109
+ "maxLines": 1
97110
+ }
97111
+ }
97112
+ }
97113
+ ]
97114
+ }
97115
+ }
97116
+ }
97117
+ ]
97118
+ }
97119
+ },
97120
+ "modifiers": {
97121
+ "fillMaxWidth": true,
97122
+ "height": 48,
97123
+ "background": {
97124
+ "token": "surfaceSecondary"
97125
+ },
97126
+ "cornerRadius": 8,
97127
+ "hiddenPath": "$service:himiBookingService.noSessionBooked"
97128
+ }
97129
+ },
97130
+ {
97131
+ "id": "himi_service.session_waitlisted",
97132
+ "body": {
97133
+ "package": "himalaya",
97134
+ "type": "ZStack",
97135
+ "props": {
97136
+ "alignment": "center",
97137
+ "children": [
97138
+ {
97139
+ "id": "",
97140
+ "body": {
97141
+ "package": "himalaya",
97142
+ "type": "HStack",
97143
+ "props": {
97144
+ "spacing": 8,
97145
+ "alignment": "center",
97146
+ "children": [
97147
+ {
97148
+ "id": "",
97149
+ "body": {
97150
+ "package": "himalaya",
97151
+ "type": "Icon",
97152
+ "props": {
97153
+ "name": "clock",
97154
+ "size": 20,
97155
+ "tint": "textSecondary"
97156
+ }
97157
+ },
97158
+ "modifiers": {
97159
+ "accessibilityRole": "decorative"
97160
+ }
97161
+ },
97162
+ {
97163
+ "id": "",
97164
+ "body": {
97165
+ "package": "himalaya",
97166
+ "type": "Text",
97167
+ "props": {
97168
+ "text": "On waitlist",
97169
+ "style": "bodyEmphasis",
97170
+ "color": "textPrimary",
97171
+ "maxLines": 1
97172
+ }
97173
+ }
97174
+ }
97175
+ ]
97176
+ }
97177
+ }
97178
+ }
97179
+ ]
97180
+ }
97181
+ },
97182
+ "modifiers": {
97183
+ "fillMaxWidth": true,
97184
+ "height": 48,
97185
+ "background": {
97186
+ "token": "surfaceSecondary"
97187
+ },
97188
+ "cornerRadius": 8,
97189
+ "hiddenPath": "$service:himiBookingService.noSessionWaitlisted"
97190
+ }
96069
97191
  }
96070
97192
  ]
96071
97193
  }