@wix/himalaya-cli 0.1488.0 → 0.1489.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +12 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +13 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/bookings-v2/src/extensions.d.ts +48 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-bookings.mjs +22 -0
- package/dist/cli.mjs +145 -42
- package/dist/preview-assets.generated.bin +0 -0
- package/package.json +2 -2
- package/templates/beauty-salon/config.ts +13 -0
- package/templates/beauty-salon/dev/index.ts +784 -0
- package/templates/beauty-salon/himalaya.content.json +3 -0
- package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/beauty-salon/tier5-src/_shared/branded-load-state.ts +106 -0
- package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/beauty-salon/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
- package/templates/branded-lite/config.ts +13 -0
- package/templates/branded-lite/dev/index.ts +784 -0
- package/templates/branded-lite/himalaya.content.json +3 -0
- package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/branded-lite/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
- package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/community-club/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/events-meetups/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/gym-fitness/config.ts +13 -0
- package/templates/gym-fitness/dev/index.ts +784 -0
- package/templates/gym-fitness/himalaya.content.json +3 -0
- package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/gym-fitness/tier5-src/_shared/branded-load-state.ts +106 -0
- package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/gym-fitness/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
- package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/nonprofit-cause/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/podcast-creator/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/portfolio-creative/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/restaurant/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/retail-store/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/yoga-studio/config.ts +13 -0
- package/templates/yoga-studio/dev/index.ts +784 -0
- package/templates/yoga-studio/himalaya.content.json +3 -0
- package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +2 -1
- package/templates/yoga-studio/tier5-src/_shared/branded-load-state.ts +106 -0
- package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +14 -0
- package/templates/yoga-studio/tier5-src/_shared/member-account-routes.ts +2 -1
- package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +25 -11
- package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +769 -0
|
@@ -19752,6 +19752,17 @@ const SCREENS = runtimeSetting({
|
|
|
19752
19752
|
"screenId": "himi_bookings"
|
|
19753
19753
|
}
|
|
19754
19754
|
}
|
|
19755
|
+
},
|
|
19756
|
+
{
|
|
19757
|
+
"id": "agenda",
|
|
19758
|
+
"icon": "list",
|
|
19759
|
+
"accessibilityLabel": "Agenda",
|
|
19760
|
+
"onTap": {
|
|
19761
|
+
"actionId": "himi.open",
|
|
19762
|
+
"params": {
|
|
19763
|
+
"screenId": "himi_agenda"
|
|
19764
|
+
}
|
|
19765
|
+
}
|
|
19755
19766
|
}
|
|
19756
19767
|
]
|
|
19757
19768
|
}
|
|
@@ -22906,6 +22917,779 @@ const SCREENS = runtimeSetting({
|
|
|
22906
22917
|
"bundleVersion": "0.0.1"
|
|
22907
22918
|
}
|
|
22908
22919
|
},
|
|
22920
|
+
"himi_agenda": {
|
|
22921
|
+
"screenId": "himi_agenda",
|
|
22922
|
+
"renderer": "sdui_intent",
|
|
22923
|
+
"title": "Agenda",
|
|
22924
|
+
"schemaVersion": 1,
|
|
22925
|
+
"cacheControl": {
|
|
22926
|
+
"maxAge": 0,
|
|
22927
|
+
"staleWhileRevalidate": 0
|
|
22928
|
+
},
|
|
22929
|
+
"payload": {
|
|
22930
|
+
"id": "himi_agenda.root",
|
|
22931
|
+
"body": {
|
|
22932
|
+
"package": "himalaya",
|
|
22933
|
+
"type": "VStack",
|
|
22934
|
+
"props": {
|
|
22935
|
+
"spacing": 0,
|
|
22936
|
+
"alignment": "leading",
|
|
22937
|
+
"children": [
|
|
22938
|
+
{
|
|
22939
|
+
"id": "",
|
|
22940
|
+
"body": {
|
|
22941
|
+
"package": "himalaya",
|
|
22942
|
+
"type": "VStack",
|
|
22943
|
+
"props": {
|
|
22944
|
+
"spacing": 12,
|
|
22945
|
+
"alignment": "leading",
|
|
22946
|
+
"children": [
|
|
22947
|
+
{
|
|
22948
|
+
"id": "himi_agenda.message",
|
|
22949
|
+
"body": {
|
|
22950
|
+
"package": "himalaya",
|
|
22951
|
+
"type": "Text",
|
|
22952
|
+
"props": {
|
|
22953
|
+
"text": "$service:himiBrandedAgenda.message",
|
|
22954
|
+
"style": "footnote",
|
|
22955
|
+
"color": "textPrimary",
|
|
22956
|
+
"collapseWhenEmpty": true
|
|
22957
|
+
}
|
|
22958
|
+
}
|
|
22959
|
+
},
|
|
22960
|
+
{
|
|
22961
|
+
"id": "himi_agenda.loading",
|
|
22962
|
+
"body": {
|
|
22963
|
+
"package": "himalaya",
|
|
22964
|
+
"type": "Skeleton",
|
|
22965
|
+
"props": {
|
|
22966
|
+
"height": 72,
|
|
22967
|
+
"cornerRadius": 12,
|
|
22968
|
+
"count": 3
|
|
22969
|
+
}
|
|
22970
|
+
},
|
|
22971
|
+
"modifiers": {
|
|
22972
|
+
"hiddenPath": "$service:himiBrandedAgenda.notLoading"
|
|
22973
|
+
}
|
|
22974
|
+
},
|
|
22975
|
+
{
|
|
22976
|
+
"id": "himi_agenda.error",
|
|
22977
|
+
"body": {
|
|
22978
|
+
"package": "himalaya",
|
|
22979
|
+
"type": "VStack",
|
|
22980
|
+
"props": {
|
|
22981
|
+
"spacing": 8,
|
|
22982
|
+
"alignment": "leading",
|
|
22983
|
+
"children": [
|
|
22984
|
+
{
|
|
22985
|
+
"id": "",
|
|
22986
|
+
"body": {
|
|
22987
|
+
"package": "himalaya",
|
|
22988
|
+
"type": "Text",
|
|
22989
|
+
"props": {
|
|
22990
|
+
"text": "$service:himiBrandedAgenda.error",
|
|
22991
|
+
"style": "bodyEmphasis",
|
|
22992
|
+
"collapseWhenEmpty": true
|
|
22993
|
+
}
|
|
22994
|
+
}
|
|
22995
|
+
},
|
|
22996
|
+
{
|
|
22997
|
+
"id": "himi_agenda.retry",
|
|
22998
|
+
"body": {
|
|
22999
|
+
"package": "himalaya",
|
|
23000
|
+
"type": "Button",
|
|
23001
|
+
"props": {
|
|
23002
|
+
"title": "Try again",
|
|
23003
|
+
"style": "secondary",
|
|
23004
|
+
"action": {
|
|
23005
|
+
"actionId": "tier5.himiBrandedAgenda.retry"
|
|
23006
|
+
}
|
|
23007
|
+
}
|
|
23008
|
+
}
|
|
23009
|
+
}
|
|
23010
|
+
]
|
|
23011
|
+
}
|
|
23012
|
+
},
|
|
23013
|
+
"modifiers": {
|
|
23014
|
+
"background": {
|
|
23015
|
+
"token": "surfaceElevated"
|
|
23016
|
+
},
|
|
23017
|
+
"border": {
|
|
23018
|
+
"width": 1,
|
|
23019
|
+
"color": {
|
|
23020
|
+
"token": "border"
|
|
23021
|
+
}
|
|
23022
|
+
},
|
|
23023
|
+
"cornerRadius": 4,
|
|
23024
|
+
"padding": {
|
|
23025
|
+
"leading": 16,
|
|
23026
|
+
"trailing": 16,
|
|
23027
|
+
"top": 16,
|
|
23028
|
+
"bottom": 16
|
|
23029
|
+
},
|
|
23030
|
+
"hiddenPath": "$service:himiBrandedAgenda.notErrored"
|
|
23031
|
+
}
|
|
23032
|
+
}
|
|
23033
|
+
]
|
|
23034
|
+
}
|
|
23035
|
+
},
|
|
23036
|
+
"modifiers": {
|
|
23037
|
+
"padding": {
|
|
23038
|
+
"leading": 16,
|
|
23039
|
+
"trailing": 16,
|
|
23040
|
+
"top": 8
|
|
23041
|
+
}
|
|
23042
|
+
}
|
|
23043
|
+
},
|
|
23044
|
+
{
|
|
23045
|
+
"id": "himi_agenda.list",
|
|
23046
|
+
"body": {
|
|
23047
|
+
"package": "himalaya",
|
|
23048
|
+
"type": "Agenda",
|
|
23049
|
+
"props": {
|
|
23050
|
+
"eventsPath": "$service:himiBrandedAgenda.events",
|
|
23051
|
+
"scrollToDatePath": "$service:himiBrandedAgenda.scrollTo",
|
|
23052
|
+
"stickyHeaders": false,
|
|
23053
|
+
"emptyText": "No classes from this day on.",
|
|
23054
|
+
"eventTemplate": {
|
|
23055
|
+
"id": "",
|
|
23056
|
+
"body": {
|
|
23057
|
+
"package": "himalaya",
|
|
23058
|
+
"type": "HStack",
|
|
23059
|
+
"props": {
|
|
23060
|
+
"spacing": 12,
|
|
23061
|
+
"alignment": "center",
|
|
23062
|
+
"children": [
|
|
23063
|
+
{
|
|
23064
|
+
"id": "",
|
|
23065
|
+
"body": {
|
|
23066
|
+
"package": "himalaya",
|
|
23067
|
+
"type": "VStack",
|
|
23068
|
+
"props": {
|
|
23069
|
+
"spacing": 2,
|
|
23070
|
+
"alignment": "leading",
|
|
23071
|
+
"children": [
|
|
23072
|
+
{
|
|
23073
|
+
"id": "",
|
|
23074
|
+
"body": {
|
|
23075
|
+
"package": "himalaya",
|
|
23076
|
+
"type": "Text",
|
|
23077
|
+
"props": {
|
|
23078
|
+
"text": "$item.time",
|
|
23079
|
+
"style": "body",
|
|
23080
|
+
"maxLines": 1,
|
|
23081
|
+
"monospacedDigits": true
|
|
23082
|
+
}
|
|
23083
|
+
}
|
|
23084
|
+
},
|
|
23085
|
+
{
|
|
23086
|
+
"id": "",
|
|
23087
|
+
"body": {
|
|
23088
|
+
"package": "himalaya",
|
|
23089
|
+
"type": "Text",
|
|
23090
|
+
"props": {
|
|
23091
|
+
"text": "$item.length",
|
|
23092
|
+
"style": "footnote",
|
|
23093
|
+
"color": "textSecondary",
|
|
23094
|
+
"maxLines": 1,
|
|
23095
|
+
"collapseWhenEmpty": true
|
|
23096
|
+
}
|
|
23097
|
+
}
|
|
23098
|
+
}
|
|
23099
|
+
]
|
|
23100
|
+
}
|
|
23101
|
+
},
|
|
23102
|
+
"modifiers": {
|
|
23103
|
+
"width": 64
|
|
23104
|
+
}
|
|
23105
|
+
},
|
|
23106
|
+
{
|
|
23107
|
+
"id": "",
|
|
23108
|
+
"body": {
|
|
23109
|
+
"package": "himalaya",
|
|
23110
|
+
"type": "VStack",
|
|
23111
|
+
"props": {
|
|
23112
|
+
"spacing": 4,
|
|
23113
|
+
"alignment": "leading",
|
|
23114
|
+
"children": [
|
|
23115
|
+
{
|
|
23116
|
+
"id": "",
|
|
23117
|
+
"body": {
|
|
23118
|
+
"package": "himalaya",
|
|
23119
|
+
"type": "Text",
|
|
23120
|
+
"props": {
|
|
23121
|
+
"text": "$item.title",
|
|
23122
|
+
"style": "bodyEmphasis",
|
|
23123
|
+
"maxLines": 2
|
|
23124
|
+
}
|
|
23125
|
+
}
|
|
23126
|
+
},
|
|
23127
|
+
{
|
|
23128
|
+
"id": "",
|
|
23129
|
+
"body": {
|
|
23130
|
+
"package": "himalaya",
|
|
23131
|
+
"type": "Text",
|
|
23132
|
+
"props": {
|
|
23133
|
+
"text": "$item.staff",
|
|
23134
|
+
"style": "footnote",
|
|
23135
|
+
"color": "textSecondary",
|
|
23136
|
+
"maxLines": 1,
|
|
23137
|
+
"collapseWhenEmpty": true
|
|
23138
|
+
}
|
|
23139
|
+
}
|
|
23140
|
+
},
|
|
23141
|
+
{
|
|
23142
|
+
"id": "",
|
|
23143
|
+
"body": {
|
|
23144
|
+
"package": "himalaya",
|
|
23145
|
+
"type": "HStack",
|
|
23146
|
+
"props": {
|
|
23147
|
+
"spacing": 6,
|
|
23148
|
+
"children": [
|
|
23149
|
+
{
|
|
23150
|
+
"id": "",
|
|
23151
|
+
"body": {
|
|
23152
|
+
"package": "himalaya",
|
|
23153
|
+
"type": "Icon",
|
|
23154
|
+
"props": {
|
|
23155
|
+
"name": "person",
|
|
23156
|
+
"size": 14,
|
|
23157
|
+
"tint": "textSecondary"
|
|
23158
|
+
}
|
|
23159
|
+
},
|
|
23160
|
+
"modifiers": {
|
|
23161
|
+
"accessibilityRole": "decorative"
|
|
23162
|
+
}
|
|
23163
|
+
},
|
|
23164
|
+
{
|
|
23165
|
+
"id": "",
|
|
23166
|
+
"body": {
|
|
23167
|
+
"package": "himalaya",
|
|
23168
|
+
"type": "Text",
|
|
23169
|
+
"props": {
|
|
23170
|
+
"text": "$item.capacity",
|
|
23171
|
+
"style": "footnote",
|
|
23172
|
+
"color": "textPrimary",
|
|
23173
|
+
"maxLines": 1
|
|
23174
|
+
}
|
|
23175
|
+
}
|
|
23176
|
+
}
|
|
23177
|
+
]
|
|
23178
|
+
}
|
|
23179
|
+
},
|
|
23180
|
+
"modifiers": {
|
|
23181
|
+
"hiddenPath": "$item.noCapacity"
|
|
23182
|
+
}
|
|
23183
|
+
},
|
|
23184
|
+
{
|
|
23185
|
+
"id": "",
|
|
23186
|
+
"body": {
|
|
23187
|
+
"package": "himalaya",
|
|
23188
|
+
"type": "HStack",
|
|
23189
|
+
"props": {
|
|
23190
|
+
"spacing": 6,
|
|
23191
|
+
"children": [
|
|
23192
|
+
{
|
|
23193
|
+
"id": "",
|
|
23194
|
+
"body": {
|
|
23195
|
+
"package": "himalaya",
|
|
23196
|
+
"type": "Icon",
|
|
23197
|
+
"props": {
|
|
23198
|
+
"name": "pin",
|
|
23199
|
+
"size": 14,
|
|
23200
|
+
"tint": "textSecondary"
|
|
23201
|
+
}
|
|
23202
|
+
},
|
|
23203
|
+
"modifiers": {
|
|
23204
|
+
"accessibilityRole": "decorative"
|
|
23205
|
+
}
|
|
23206
|
+
},
|
|
23207
|
+
{
|
|
23208
|
+
"id": "",
|
|
23209
|
+
"body": {
|
|
23210
|
+
"package": "himalaya",
|
|
23211
|
+
"type": "Text",
|
|
23212
|
+
"props": {
|
|
23213
|
+
"text": "$item.location",
|
|
23214
|
+
"style": "footnote",
|
|
23215
|
+
"color": "textPrimary",
|
|
23216
|
+
"maxLines": 1
|
|
23217
|
+
}
|
|
23218
|
+
}
|
|
23219
|
+
}
|
|
23220
|
+
]
|
|
23221
|
+
}
|
|
23222
|
+
},
|
|
23223
|
+
"modifiers": {
|
|
23224
|
+
"hiddenPath": "$item.noLocation"
|
|
23225
|
+
}
|
|
23226
|
+
}
|
|
23227
|
+
]
|
|
23228
|
+
}
|
|
23229
|
+
},
|
|
23230
|
+
"modifiers": {
|
|
23231
|
+
"weight": 1
|
|
23232
|
+
}
|
|
23233
|
+
},
|
|
23234
|
+
{
|
|
23235
|
+
"id": "",
|
|
23236
|
+
"body": {
|
|
23237
|
+
"package": "himalaya",
|
|
23238
|
+
"type": "VStack",
|
|
23239
|
+
"props": {
|
|
23240
|
+
"spacing": 0,
|
|
23241
|
+
"alignment": "trailing",
|
|
23242
|
+
"children": [
|
|
23243
|
+
{
|
|
23244
|
+
"id": "himi_agenda.book",
|
|
23245
|
+
"body": {
|
|
23246
|
+
"package": "himalaya",
|
|
23247
|
+
"type": "Button",
|
|
23248
|
+
"props": {
|
|
23249
|
+
"title": "Book",
|
|
23250
|
+
"style": "secondary",
|
|
23251
|
+
"size": "sm",
|
|
23252
|
+
"fullWidth": false,
|
|
23253
|
+
"action": {
|
|
23254
|
+
"actionId": "himi.open",
|
|
23255
|
+
"params": {
|
|
23256
|
+
"screenId": "himi_time",
|
|
23257
|
+
"id": "$item.serviceId",
|
|
23258
|
+
"start": "$item.start",
|
|
23259
|
+
"sessionId": "$item.sessionId"
|
|
23260
|
+
}
|
|
23261
|
+
}
|
|
23262
|
+
}
|
|
23263
|
+
},
|
|
23264
|
+
"modifiers": {
|
|
23265
|
+
"hiddenPath": "$item.hideBook"
|
|
23266
|
+
}
|
|
23267
|
+
},
|
|
23268
|
+
{
|
|
23269
|
+
"id": "himi_agenda.waitlist",
|
|
23270
|
+
"body": {
|
|
23271
|
+
"package": "himalaya",
|
|
23272
|
+
"type": "Button",
|
|
23273
|
+
"props": {
|
|
23274
|
+
"title": "Waitlist",
|
|
23275
|
+
"style": "secondary",
|
|
23276
|
+
"size": "sm",
|
|
23277
|
+
"fullWidth": false,
|
|
23278
|
+
"action": {
|
|
23279
|
+
"actionId": "tier5.himiBrandedAgenda.joinWaitlist",
|
|
23280
|
+
"params": {
|
|
23281
|
+
"eventId": "$item.id"
|
|
23282
|
+
}
|
|
23283
|
+
}
|
|
23284
|
+
}
|
|
23285
|
+
},
|
|
23286
|
+
"modifiers": {
|
|
23287
|
+
"hiddenPath": "$item.hideWaitlist"
|
|
23288
|
+
}
|
|
23289
|
+
},
|
|
23290
|
+
{
|
|
23291
|
+
"id": "himi_agenda.booked",
|
|
23292
|
+
"body": {
|
|
23293
|
+
"package": "himalaya",
|
|
23294
|
+
"type": "HStack",
|
|
23295
|
+
"props": {
|
|
23296
|
+
"spacing": 2,
|
|
23297
|
+
"children": [
|
|
23298
|
+
{
|
|
23299
|
+
"id": "",
|
|
23300
|
+
"body": {
|
|
23301
|
+
"package": "himalaya",
|
|
23302
|
+
"type": "Text",
|
|
23303
|
+
"props": {
|
|
23304
|
+
"text": "Booked",
|
|
23305
|
+
"style": "bodyEmphasis",
|
|
23306
|
+
"color": "success",
|
|
23307
|
+
"maxLines": 1
|
|
23308
|
+
}
|
|
23309
|
+
}
|
|
23310
|
+
},
|
|
23311
|
+
{
|
|
23312
|
+
"id": "",
|
|
23313
|
+
"body": {
|
|
23314
|
+
"package": "himalaya",
|
|
23315
|
+
"type": "Icon",
|
|
23316
|
+
"props": {
|
|
23317
|
+
"name": "chevron_down",
|
|
23318
|
+
"size": 14,
|
|
23319
|
+
"tint": "success"
|
|
23320
|
+
}
|
|
23321
|
+
},
|
|
23322
|
+
"modifiers": {
|
|
23323
|
+
"accessibilityRole": "decorative"
|
|
23324
|
+
}
|
|
23325
|
+
}
|
|
23326
|
+
]
|
|
23327
|
+
}
|
|
23328
|
+
},
|
|
23329
|
+
"modifiers": {
|
|
23330
|
+
"onTap": {
|
|
23331
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
23332
|
+
"params": {
|
|
23333
|
+
"eventId": "$item.id"
|
|
23334
|
+
}
|
|
23335
|
+
},
|
|
23336
|
+
"accessibilityLabel": "Booked",
|
|
23337
|
+
"accessibilityRole": "button",
|
|
23338
|
+
"hiddenPath": "$item.hideBooked"
|
|
23339
|
+
}
|
|
23340
|
+
},
|
|
23341
|
+
{
|
|
23342
|
+
"id": "himi_agenda.on_waitlist",
|
|
23343
|
+
"body": {
|
|
23344
|
+
"package": "himalaya",
|
|
23345
|
+
"type": "HStack",
|
|
23346
|
+
"props": {
|
|
23347
|
+
"spacing": 2,
|
|
23348
|
+
"children": [
|
|
23349
|
+
{
|
|
23350
|
+
"id": "",
|
|
23351
|
+
"body": {
|
|
23352
|
+
"package": "himalaya",
|
|
23353
|
+
"type": "Text",
|
|
23354
|
+
"props": {
|
|
23355
|
+
"text": "On waitlist",
|
|
23356
|
+
"style": "bodyEmphasis",
|
|
23357
|
+
"color": "warning",
|
|
23358
|
+
"maxLines": 1
|
|
23359
|
+
}
|
|
23360
|
+
}
|
|
23361
|
+
},
|
|
23362
|
+
{
|
|
23363
|
+
"id": "",
|
|
23364
|
+
"body": {
|
|
23365
|
+
"package": "himalaya",
|
|
23366
|
+
"type": "Icon",
|
|
23367
|
+
"props": {
|
|
23368
|
+
"name": "chevron_down",
|
|
23369
|
+
"size": 14,
|
|
23370
|
+
"tint": "warning"
|
|
23371
|
+
}
|
|
23372
|
+
},
|
|
23373
|
+
"modifiers": {
|
|
23374
|
+
"accessibilityRole": "decorative"
|
|
23375
|
+
}
|
|
23376
|
+
}
|
|
23377
|
+
]
|
|
23378
|
+
}
|
|
23379
|
+
},
|
|
23380
|
+
"modifiers": {
|
|
23381
|
+
"onTap": {
|
|
23382
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
23383
|
+
"params": {
|
|
23384
|
+
"eventId": "$item.id"
|
|
23385
|
+
}
|
|
23386
|
+
},
|
|
23387
|
+
"accessibilityLabel": "On waitlist",
|
|
23388
|
+
"accessibilityRole": "button",
|
|
23389
|
+
"hiddenPath": "$item.hideOnWaitlist"
|
|
23390
|
+
}
|
|
23391
|
+
},
|
|
23392
|
+
{
|
|
23393
|
+
"id": "",
|
|
23394
|
+
"body": {
|
|
23395
|
+
"package": "himalaya",
|
|
23396
|
+
"type": "Text",
|
|
23397
|
+
"props": {
|
|
23398
|
+
"text": "$item.closedLabel",
|
|
23399
|
+
"style": "footnote",
|
|
23400
|
+
"color": "textTertiary",
|
|
23401
|
+
"maxLines": 1
|
|
23402
|
+
}
|
|
23403
|
+
},
|
|
23404
|
+
"modifiers": {
|
|
23405
|
+
"hiddenPath": "$item.hideClosed"
|
|
23406
|
+
}
|
|
23407
|
+
}
|
|
23408
|
+
]
|
|
23409
|
+
}
|
|
23410
|
+
}
|
|
23411
|
+
}
|
|
23412
|
+
]
|
|
23413
|
+
}
|
|
23414
|
+
},
|
|
23415
|
+
"modifiers": {
|
|
23416
|
+
"padding": {
|
|
23417
|
+
"leading": 16,
|
|
23418
|
+
"trailing": 16,
|
|
23419
|
+
"top": 14,
|
|
23420
|
+
"bottom": 14
|
|
23421
|
+
},
|
|
23422
|
+
"fillMaxWidth": true
|
|
23423
|
+
}
|
|
23424
|
+
}
|
|
23425
|
+
}
|
|
23426
|
+
},
|
|
23427
|
+
"modifiers": {
|
|
23428
|
+
"fillMaxWidth": true,
|
|
23429
|
+
"hiddenPath": "$service:himiBrandedAgenda.listHidden"
|
|
23430
|
+
}
|
|
23431
|
+
},
|
|
23432
|
+
{
|
|
23433
|
+
"id": "himi_agenda.sheet",
|
|
23434
|
+
"body": {
|
|
23435
|
+
"package": "himalaya",
|
|
23436
|
+
"type": "BottomSheet",
|
|
23437
|
+
"props": {
|
|
23438
|
+
"presentedPath": "$service:himiBrandedAgenda.sheetOpen",
|
|
23439
|
+
"dismissible": true,
|
|
23440
|
+
"showGrabber": true,
|
|
23441
|
+
"onDismiss": {
|
|
23442
|
+
"actionId": "tier5.himiBrandedAgenda.closeSheet"
|
|
23443
|
+
},
|
|
23444
|
+
"content": {
|
|
23445
|
+
"id": "",
|
|
23446
|
+
"body": {
|
|
23447
|
+
"package": "himalaya",
|
|
23448
|
+
"type": "VStack",
|
|
23449
|
+
"props": {
|
|
23450
|
+
"spacing": 14,
|
|
23451
|
+
"alignment": "leading",
|
|
23452
|
+
"children": [
|
|
23453
|
+
{
|
|
23454
|
+
"id": "",
|
|
23455
|
+
"body": {
|
|
23456
|
+
"package": "himalaya",
|
|
23457
|
+
"type": "Text",
|
|
23458
|
+
"props": {
|
|
23459
|
+
"text": "$service:himiBrandedAgenda.sheetTitle",
|
|
23460
|
+
"style": "title3",
|
|
23461
|
+
"maxLines": 2
|
|
23462
|
+
}
|
|
23463
|
+
}
|
|
23464
|
+
},
|
|
23465
|
+
{
|
|
23466
|
+
"id": "",
|
|
23467
|
+
"body": {
|
|
23468
|
+
"package": "himalaya",
|
|
23469
|
+
"type": "Text",
|
|
23470
|
+
"props": {
|
|
23471
|
+
"text": "$service:himiBrandedAgenda.sheetWhen",
|
|
23472
|
+
"style": "footnote",
|
|
23473
|
+
"color": "textSecondary",
|
|
23474
|
+
"collapseWhenEmpty": true
|
|
23475
|
+
}
|
|
23476
|
+
}
|
|
23477
|
+
},
|
|
23478
|
+
{
|
|
23479
|
+
"id": "",
|
|
23480
|
+
"body": {
|
|
23481
|
+
"package": "himalaya",
|
|
23482
|
+
"type": "Divider",
|
|
23483
|
+
"props": {}
|
|
23484
|
+
}
|
|
23485
|
+
},
|
|
23486
|
+
{
|
|
23487
|
+
"id": "himi_agenda.view_session",
|
|
23488
|
+
"body": {
|
|
23489
|
+
"package": "himalaya",
|
|
23490
|
+
"type": "Button",
|
|
23491
|
+
"props": {
|
|
23492
|
+
"title": "View session",
|
|
23493
|
+
"style": "plain",
|
|
23494
|
+
"fullWidth": true,
|
|
23495
|
+
"action": {
|
|
23496
|
+
"actionId": "tier5.himiBrandedAgenda.viewSession"
|
|
23497
|
+
}
|
|
23498
|
+
}
|
|
23499
|
+
}
|
|
23500
|
+
},
|
|
23501
|
+
{
|
|
23502
|
+
"id": "himi_agenda.cancel_booking",
|
|
23503
|
+
"body": {
|
|
23504
|
+
"package": "himalaya",
|
|
23505
|
+
"type": "Button",
|
|
23506
|
+
"props": {
|
|
23507
|
+
"title": "Cancel booking",
|
|
23508
|
+
"style": "plain",
|
|
23509
|
+
"role": "destructive",
|
|
23510
|
+
"fullWidth": true,
|
|
23511
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
23512
|
+
"action": {
|
|
23513
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
23514
|
+
}
|
|
23515
|
+
}
|
|
23516
|
+
},
|
|
23517
|
+
"modifiers": {
|
|
23518
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideCancel"
|
|
23519
|
+
}
|
|
23520
|
+
},
|
|
23521
|
+
{
|
|
23522
|
+
"id": "himi_agenda.leave_waitlist",
|
|
23523
|
+
"body": {
|
|
23524
|
+
"package": "himalaya",
|
|
23525
|
+
"type": "Button",
|
|
23526
|
+
"props": {
|
|
23527
|
+
"title": "Leave waitlist",
|
|
23528
|
+
"style": "plain",
|
|
23529
|
+
"role": "destructive",
|
|
23530
|
+
"fullWidth": true,
|
|
23531
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
23532
|
+
"action": {
|
|
23533
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
23534
|
+
}
|
|
23535
|
+
}
|
|
23536
|
+
},
|
|
23537
|
+
"modifiers": {
|
|
23538
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
|
|
23539
|
+
}
|
|
23540
|
+
}
|
|
23541
|
+
]
|
|
23542
|
+
}
|
|
23543
|
+
},
|
|
23544
|
+
"modifiers": {
|
|
23545
|
+
"padding": {
|
|
23546
|
+
"leading": 20,
|
|
23547
|
+
"trailing": 20,
|
|
23548
|
+
"top": 20,
|
|
23549
|
+
"bottom": 24
|
|
23550
|
+
}
|
|
23551
|
+
}
|
|
23552
|
+
}
|
|
23553
|
+
}
|
|
23554
|
+
}
|
|
23555
|
+
}
|
|
23556
|
+
]
|
|
23557
|
+
}
|
|
23558
|
+
},
|
|
23559
|
+
"modifiers": {
|
|
23560
|
+
"background": {
|
|
23561
|
+
"token": "surfacePrimary"
|
|
23562
|
+
},
|
|
23563
|
+
"onAppear": {
|
|
23564
|
+
"actionId": "tier5.himiBrandedAgenda.load",
|
|
23565
|
+
"params": {
|
|
23566
|
+
"firstWeekday": "0"
|
|
23567
|
+
}
|
|
23568
|
+
}
|
|
23569
|
+
}
|
|
23570
|
+
},
|
|
23571
|
+
"logicBundle": {
|
|
23572
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
|
|
23573
|
+
"integrity": "",
|
|
23574
|
+
"contentType": "application/javascript+ts-bundle",
|
|
23575
|
+
"declaredCapabilities": [
|
|
23576
|
+
"wix_api",
|
|
23577
|
+
"app_info"
|
|
23578
|
+
],
|
|
23579
|
+
"minBinaryVersion": "0.1.0",
|
|
23580
|
+
"bundleVersion": "0.0.1"
|
|
23581
|
+
},
|
|
23582
|
+
"topBar": {
|
|
23583
|
+
"leading": "none"
|
|
23584
|
+
},
|
|
23585
|
+
"stickyHeader": {
|
|
23586
|
+
"id": "himi_agenda.header",
|
|
23587
|
+
"body": {
|
|
23588
|
+
"package": "himalaya",
|
|
23589
|
+
"type": "VStack",
|
|
23590
|
+
"props": {
|
|
23591
|
+
"spacing": 0,
|
|
23592
|
+
"alignment": "leading",
|
|
23593
|
+
"children": [
|
|
23594
|
+
{
|
|
23595
|
+
"id": "himi_agenda.back",
|
|
23596
|
+
"body": {
|
|
23597
|
+
"package": "himalaya",
|
|
23598
|
+
"type": "Button",
|
|
23599
|
+
"props": {
|
|
23600
|
+
"title": "Back",
|
|
23601
|
+
"action": {
|
|
23602
|
+
"actionId": "nav.back",
|
|
23603
|
+
"presentation": "back"
|
|
23604
|
+
},
|
|
23605
|
+
"style": "tertiary",
|
|
23606
|
+
"iconOnly": true,
|
|
23607
|
+
"leadingIcon": "chevron_left",
|
|
23608
|
+
"cornerRadius": 22,
|
|
23609
|
+
"minHeight": 44
|
|
23610
|
+
}
|
|
23611
|
+
},
|
|
23612
|
+
"modifiers": {
|
|
23613
|
+
"width": 44,
|
|
23614
|
+
"height": 44,
|
|
23615
|
+
"accessibilityLabel": "Back",
|
|
23616
|
+
"accessibilityRole": "button"
|
|
23617
|
+
}
|
|
23618
|
+
},
|
|
23619
|
+
{
|
|
23620
|
+
"id": "himi_agenda.title",
|
|
23621
|
+
"body": {
|
|
23622
|
+
"package": "himalaya",
|
|
23623
|
+
"type": "Text",
|
|
23624
|
+
"props": {
|
|
23625
|
+
"text": "Agenda",
|
|
23626
|
+
"style": "title1"
|
|
23627
|
+
}
|
|
23628
|
+
},
|
|
23629
|
+
"modifiers": {
|
|
23630
|
+
"padding": {
|
|
23631
|
+
"leading": 16,
|
|
23632
|
+
"trailing": 16,
|
|
23633
|
+
"bottom": 8
|
|
23634
|
+
}
|
|
23635
|
+
}
|
|
23636
|
+
},
|
|
23637
|
+
{
|
|
23638
|
+
"id": "himi_agenda.calendar",
|
|
23639
|
+
"body": {
|
|
23640
|
+
"package": "himalaya",
|
|
23641
|
+
"type": "MonthCalendar",
|
|
23642
|
+
"props": {
|
|
23643
|
+
"displayMode": "week",
|
|
23644
|
+
"expandable": true,
|
|
23645
|
+
"firstWeekday": 0,
|
|
23646
|
+
"selectedDatePath": "$service:himiBrandedAgenda.selectedDate",
|
|
23647
|
+
"decorationsPath": "$service:himiBrandedAgenda.decorations",
|
|
23648
|
+
"maxDots": 1,
|
|
23649
|
+
"onSelectDate": {
|
|
23650
|
+
"actionId": "tier5.himiBrandedAgenda.selectDate"
|
|
23651
|
+
},
|
|
23652
|
+
"onVisibleRangeChange": {
|
|
23653
|
+
"actionId": "tier5.himiBrandedAgenda.rangeChanged"
|
|
23654
|
+
},
|
|
23655
|
+
"onMonthChange": {
|
|
23656
|
+
"actionId": "tier5.himiBrandedAgenda.monthChanged"
|
|
23657
|
+
}
|
|
23658
|
+
}
|
|
23659
|
+
},
|
|
23660
|
+
"modifiers": {
|
|
23661
|
+
"padding": {
|
|
23662
|
+
"leading": 16,
|
|
23663
|
+
"trailing": 16,
|
|
23664
|
+
"top": 4,
|
|
23665
|
+
"bottom": 8
|
|
23666
|
+
},
|
|
23667
|
+
"fillMaxWidth": true,
|
|
23668
|
+
"accessibilityLabel": "Class calendar"
|
|
23669
|
+
}
|
|
23670
|
+
},
|
|
23671
|
+
{
|
|
23672
|
+
"id": "",
|
|
23673
|
+
"body": {
|
|
23674
|
+
"package": "himalaya",
|
|
23675
|
+
"type": "Divider",
|
|
23676
|
+
"props": {}
|
|
23677
|
+
}
|
|
23678
|
+
}
|
|
23679
|
+
]
|
|
23680
|
+
}
|
|
23681
|
+
},
|
|
23682
|
+
"modifiers": {
|
|
23683
|
+
"background": {
|
|
23684
|
+
"token": "surfacePrimary"
|
|
23685
|
+
},
|
|
23686
|
+
"padding": {
|
|
23687
|
+
"top": 4
|
|
23688
|
+
},
|
|
23689
|
+
"fillMaxWidth": true
|
|
23690
|
+
}
|
|
23691
|
+
}
|
|
23692
|
+
},
|
|
22909
23693
|
"himi_plans": {
|
|
22910
23694
|
"screenId": "himi_plans",
|
|
22911
23695
|
"renderer": "sdui_intent",
|