@wix/himalaya-cli 0.1536.0 → 0.1538.0

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