@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
|
@@ -10728,6 +10728,17 @@ const SCREENS = runtimeSetting({
|
|
|
10728
10728
|
"screenId": "himi_bookings"
|
|
10729
10729
|
}
|
|
10730
10730
|
}
|
|
10731
|
+
},
|
|
10732
|
+
{
|
|
10733
|
+
"id": "agenda",
|
|
10734
|
+
"icon": "list",
|
|
10735
|
+
"accessibilityLabel": "Agenda",
|
|
10736
|
+
"onTap": {
|
|
10737
|
+
"actionId": "himi.open",
|
|
10738
|
+
"params": {
|
|
10739
|
+
"screenId": "himi_agenda"
|
|
10740
|
+
}
|
|
10741
|
+
}
|
|
10731
10742
|
}
|
|
10732
10743
|
]
|
|
10733
10744
|
}
|
|
@@ -13970,6 +13981,779 @@ const SCREENS = runtimeSetting({
|
|
|
13970
13981
|
"bundleVersion": "0.0.1"
|
|
13971
13982
|
}
|
|
13972
13983
|
},
|
|
13984
|
+
"himi_agenda": {
|
|
13985
|
+
"screenId": "himi_agenda",
|
|
13986
|
+
"renderer": "sdui_intent",
|
|
13987
|
+
"title": "Agenda",
|
|
13988
|
+
"schemaVersion": 1,
|
|
13989
|
+
"cacheControl": {
|
|
13990
|
+
"maxAge": 0,
|
|
13991
|
+
"staleWhileRevalidate": 0
|
|
13992
|
+
},
|
|
13993
|
+
"payload": {
|
|
13994
|
+
"id": "himi_agenda.root",
|
|
13995
|
+
"body": {
|
|
13996
|
+
"package": "himalaya",
|
|
13997
|
+
"type": "VStack",
|
|
13998
|
+
"props": {
|
|
13999
|
+
"spacing": 0,
|
|
14000
|
+
"alignment": "leading",
|
|
14001
|
+
"children": [
|
|
14002
|
+
{
|
|
14003
|
+
"id": "",
|
|
14004
|
+
"body": {
|
|
14005
|
+
"package": "himalaya",
|
|
14006
|
+
"type": "VStack",
|
|
14007
|
+
"props": {
|
|
14008
|
+
"spacing": 12,
|
|
14009
|
+
"alignment": "leading",
|
|
14010
|
+
"children": [
|
|
14011
|
+
{
|
|
14012
|
+
"id": "himi_agenda.message",
|
|
14013
|
+
"body": {
|
|
14014
|
+
"package": "himalaya",
|
|
14015
|
+
"type": "Text",
|
|
14016
|
+
"props": {
|
|
14017
|
+
"text": "$service:himiBrandedAgenda.message",
|
|
14018
|
+
"style": "footnote",
|
|
14019
|
+
"color": "textPrimary",
|
|
14020
|
+
"collapseWhenEmpty": true
|
|
14021
|
+
}
|
|
14022
|
+
}
|
|
14023
|
+
},
|
|
14024
|
+
{
|
|
14025
|
+
"id": "himi_agenda.loading",
|
|
14026
|
+
"body": {
|
|
14027
|
+
"package": "himalaya",
|
|
14028
|
+
"type": "Skeleton",
|
|
14029
|
+
"props": {
|
|
14030
|
+
"height": 72,
|
|
14031
|
+
"cornerRadius": 12,
|
|
14032
|
+
"count": 3
|
|
14033
|
+
}
|
|
14034
|
+
},
|
|
14035
|
+
"modifiers": {
|
|
14036
|
+
"hiddenPath": "$service:himiBrandedAgenda.notLoading"
|
|
14037
|
+
}
|
|
14038
|
+
},
|
|
14039
|
+
{
|
|
14040
|
+
"id": "himi_agenda.error",
|
|
14041
|
+
"body": {
|
|
14042
|
+
"package": "himalaya",
|
|
14043
|
+
"type": "VStack",
|
|
14044
|
+
"props": {
|
|
14045
|
+
"spacing": 8,
|
|
14046
|
+
"alignment": "leading",
|
|
14047
|
+
"children": [
|
|
14048
|
+
{
|
|
14049
|
+
"id": "",
|
|
14050
|
+
"body": {
|
|
14051
|
+
"package": "himalaya",
|
|
14052
|
+
"type": "Text",
|
|
14053
|
+
"props": {
|
|
14054
|
+
"text": "$service:himiBrandedAgenda.error",
|
|
14055
|
+
"style": "bodyEmphasis",
|
|
14056
|
+
"collapseWhenEmpty": true
|
|
14057
|
+
}
|
|
14058
|
+
}
|
|
14059
|
+
},
|
|
14060
|
+
{
|
|
14061
|
+
"id": "himi_agenda.retry",
|
|
14062
|
+
"body": {
|
|
14063
|
+
"package": "himalaya",
|
|
14064
|
+
"type": "Button",
|
|
14065
|
+
"props": {
|
|
14066
|
+
"title": "Try again",
|
|
14067
|
+
"style": "secondary",
|
|
14068
|
+
"action": {
|
|
14069
|
+
"actionId": "tier5.himiBrandedAgenda.retry"
|
|
14070
|
+
}
|
|
14071
|
+
}
|
|
14072
|
+
}
|
|
14073
|
+
}
|
|
14074
|
+
]
|
|
14075
|
+
}
|
|
14076
|
+
},
|
|
14077
|
+
"modifiers": {
|
|
14078
|
+
"background": {
|
|
14079
|
+
"token": "surfaceElevated"
|
|
14080
|
+
},
|
|
14081
|
+
"border": {
|
|
14082
|
+
"width": 1,
|
|
14083
|
+
"color": {
|
|
14084
|
+
"token": "border"
|
|
14085
|
+
}
|
|
14086
|
+
},
|
|
14087
|
+
"cornerRadius": 4,
|
|
14088
|
+
"padding": {
|
|
14089
|
+
"leading": 16,
|
|
14090
|
+
"trailing": 16,
|
|
14091
|
+
"top": 16,
|
|
14092
|
+
"bottom": 16
|
|
14093
|
+
},
|
|
14094
|
+
"hiddenPath": "$service:himiBrandedAgenda.notErrored"
|
|
14095
|
+
}
|
|
14096
|
+
}
|
|
14097
|
+
]
|
|
14098
|
+
}
|
|
14099
|
+
},
|
|
14100
|
+
"modifiers": {
|
|
14101
|
+
"padding": {
|
|
14102
|
+
"leading": 16,
|
|
14103
|
+
"trailing": 16,
|
|
14104
|
+
"top": 8
|
|
14105
|
+
}
|
|
14106
|
+
}
|
|
14107
|
+
},
|
|
14108
|
+
{
|
|
14109
|
+
"id": "himi_agenda.list",
|
|
14110
|
+
"body": {
|
|
14111
|
+
"package": "himalaya",
|
|
14112
|
+
"type": "Agenda",
|
|
14113
|
+
"props": {
|
|
14114
|
+
"eventsPath": "$service:himiBrandedAgenda.events",
|
|
14115
|
+
"scrollToDatePath": "$service:himiBrandedAgenda.scrollTo",
|
|
14116
|
+
"stickyHeaders": false,
|
|
14117
|
+
"emptyText": "No classes from this day on.",
|
|
14118
|
+
"eventTemplate": {
|
|
14119
|
+
"id": "",
|
|
14120
|
+
"body": {
|
|
14121
|
+
"package": "himalaya",
|
|
14122
|
+
"type": "HStack",
|
|
14123
|
+
"props": {
|
|
14124
|
+
"spacing": 12,
|
|
14125
|
+
"alignment": "center",
|
|
14126
|
+
"children": [
|
|
14127
|
+
{
|
|
14128
|
+
"id": "",
|
|
14129
|
+
"body": {
|
|
14130
|
+
"package": "himalaya",
|
|
14131
|
+
"type": "VStack",
|
|
14132
|
+
"props": {
|
|
14133
|
+
"spacing": 2,
|
|
14134
|
+
"alignment": "leading",
|
|
14135
|
+
"children": [
|
|
14136
|
+
{
|
|
14137
|
+
"id": "",
|
|
14138
|
+
"body": {
|
|
14139
|
+
"package": "himalaya",
|
|
14140
|
+
"type": "Text",
|
|
14141
|
+
"props": {
|
|
14142
|
+
"text": "$item.time",
|
|
14143
|
+
"style": "body",
|
|
14144
|
+
"maxLines": 1,
|
|
14145
|
+
"monospacedDigits": true
|
|
14146
|
+
}
|
|
14147
|
+
}
|
|
14148
|
+
},
|
|
14149
|
+
{
|
|
14150
|
+
"id": "",
|
|
14151
|
+
"body": {
|
|
14152
|
+
"package": "himalaya",
|
|
14153
|
+
"type": "Text",
|
|
14154
|
+
"props": {
|
|
14155
|
+
"text": "$item.length",
|
|
14156
|
+
"style": "footnote",
|
|
14157
|
+
"color": "textSecondary",
|
|
14158
|
+
"maxLines": 1,
|
|
14159
|
+
"collapseWhenEmpty": true
|
|
14160
|
+
}
|
|
14161
|
+
}
|
|
14162
|
+
}
|
|
14163
|
+
]
|
|
14164
|
+
}
|
|
14165
|
+
},
|
|
14166
|
+
"modifiers": {
|
|
14167
|
+
"width": 64
|
|
14168
|
+
}
|
|
14169
|
+
},
|
|
14170
|
+
{
|
|
14171
|
+
"id": "",
|
|
14172
|
+
"body": {
|
|
14173
|
+
"package": "himalaya",
|
|
14174
|
+
"type": "VStack",
|
|
14175
|
+
"props": {
|
|
14176
|
+
"spacing": 4,
|
|
14177
|
+
"alignment": "leading",
|
|
14178
|
+
"children": [
|
|
14179
|
+
{
|
|
14180
|
+
"id": "",
|
|
14181
|
+
"body": {
|
|
14182
|
+
"package": "himalaya",
|
|
14183
|
+
"type": "Text",
|
|
14184
|
+
"props": {
|
|
14185
|
+
"text": "$item.title",
|
|
14186
|
+
"style": "bodyEmphasis",
|
|
14187
|
+
"maxLines": 2
|
|
14188
|
+
}
|
|
14189
|
+
}
|
|
14190
|
+
},
|
|
14191
|
+
{
|
|
14192
|
+
"id": "",
|
|
14193
|
+
"body": {
|
|
14194
|
+
"package": "himalaya",
|
|
14195
|
+
"type": "Text",
|
|
14196
|
+
"props": {
|
|
14197
|
+
"text": "$item.staff",
|
|
14198
|
+
"style": "footnote",
|
|
14199
|
+
"color": "textSecondary",
|
|
14200
|
+
"maxLines": 1,
|
|
14201
|
+
"collapseWhenEmpty": true
|
|
14202
|
+
}
|
|
14203
|
+
}
|
|
14204
|
+
},
|
|
14205
|
+
{
|
|
14206
|
+
"id": "",
|
|
14207
|
+
"body": {
|
|
14208
|
+
"package": "himalaya",
|
|
14209
|
+
"type": "HStack",
|
|
14210
|
+
"props": {
|
|
14211
|
+
"spacing": 6,
|
|
14212
|
+
"children": [
|
|
14213
|
+
{
|
|
14214
|
+
"id": "",
|
|
14215
|
+
"body": {
|
|
14216
|
+
"package": "himalaya",
|
|
14217
|
+
"type": "Icon",
|
|
14218
|
+
"props": {
|
|
14219
|
+
"name": "person",
|
|
14220
|
+
"size": 14,
|
|
14221
|
+
"tint": "textSecondary"
|
|
14222
|
+
}
|
|
14223
|
+
},
|
|
14224
|
+
"modifiers": {
|
|
14225
|
+
"accessibilityRole": "decorative"
|
|
14226
|
+
}
|
|
14227
|
+
},
|
|
14228
|
+
{
|
|
14229
|
+
"id": "",
|
|
14230
|
+
"body": {
|
|
14231
|
+
"package": "himalaya",
|
|
14232
|
+
"type": "Text",
|
|
14233
|
+
"props": {
|
|
14234
|
+
"text": "$item.capacity",
|
|
14235
|
+
"style": "footnote",
|
|
14236
|
+
"color": "textPrimary",
|
|
14237
|
+
"maxLines": 1
|
|
14238
|
+
}
|
|
14239
|
+
}
|
|
14240
|
+
}
|
|
14241
|
+
]
|
|
14242
|
+
}
|
|
14243
|
+
},
|
|
14244
|
+
"modifiers": {
|
|
14245
|
+
"hiddenPath": "$item.noCapacity"
|
|
14246
|
+
}
|
|
14247
|
+
},
|
|
14248
|
+
{
|
|
14249
|
+
"id": "",
|
|
14250
|
+
"body": {
|
|
14251
|
+
"package": "himalaya",
|
|
14252
|
+
"type": "HStack",
|
|
14253
|
+
"props": {
|
|
14254
|
+
"spacing": 6,
|
|
14255
|
+
"children": [
|
|
14256
|
+
{
|
|
14257
|
+
"id": "",
|
|
14258
|
+
"body": {
|
|
14259
|
+
"package": "himalaya",
|
|
14260
|
+
"type": "Icon",
|
|
14261
|
+
"props": {
|
|
14262
|
+
"name": "pin",
|
|
14263
|
+
"size": 14,
|
|
14264
|
+
"tint": "textSecondary"
|
|
14265
|
+
}
|
|
14266
|
+
},
|
|
14267
|
+
"modifiers": {
|
|
14268
|
+
"accessibilityRole": "decorative"
|
|
14269
|
+
}
|
|
14270
|
+
},
|
|
14271
|
+
{
|
|
14272
|
+
"id": "",
|
|
14273
|
+
"body": {
|
|
14274
|
+
"package": "himalaya",
|
|
14275
|
+
"type": "Text",
|
|
14276
|
+
"props": {
|
|
14277
|
+
"text": "$item.location",
|
|
14278
|
+
"style": "footnote",
|
|
14279
|
+
"color": "textPrimary",
|
|
14280
|
+
"maxLines": 1
|
|
14281
|
+
}
|
|
14282
|
+
}
|
|
14283
|
+
}
|
|
14284
|
+
]
|
|
14285
|
+
}
|
|
14286
|
+
},
|
|
14287
|
+
"modifiers": {
|
|
14288
|
+
"hiddenPath": "$item.noLocation"
|
|
14289
|
+
}
|
|
14290
|
+
}
|
|
14291
|
+
]
|
|
14292
|
+
}
|
|
14293
|
+
},
|
|
14294
|
+
"modifiers": {
|
|
14295
|
+
"weight": 1
|
|
14296
|
+
}
|
|
14297
|
+
},
|
|
14298
|
+
{
|
|
14299
|
+
"id": "",
|
|
14300
|
+
"body": {
|
|
14301
|
+
"package": "himalaya",
|
|
14302
|
+
"type": "VStack",
|
|
14303
|
+
"props": {
|
|
14304
|
+
"spacing": 0,
|
|
14305
|
+
"alignment": "trailing",
|
|
14306
|
+
"children": [
|
|
14307
|
+
{
|
|
14308
|
+
"id": "himi_agenda.book",
|
|
14309
|
+
"body": {
|
|
14310
|
+
"package": "himalaya",
|
|
14311
|
+
"type": "Button",
|
|
14312
|
+
"props": {
|
|
14313
|
+
"title": "Book",
|
|
14314
|
+
"style": "secondary",
|
|
14315
|
+
"size": "sm",
|
|
14316
|
+
"fullWidth": false,
|
|
14317
|
+
"action": {
|
|
14318
|
+
"actionId": "himi.open",
|
|
14319
|
+
"params": {
|
|
14320
|
+
"screenId": "himi_time",
|
|
14321
|
+
"id": "$item.serviceId",
|
|
14322
|
+
"start": "$item.start",
|
|
14323
|
+
"sessionId": "$item.sessionId"
|
|
14324
|
+
}
|
|
14325
|
+
}
|
|
14326
|
+
}
|
|
14327
|
+
},
|
|
14328
|
+
"modifiers": {
|
|
14329
|
+
"hiddenPath": "$item.hideBook"
|
|
14330
|
+
}
|
|
14331
|
+
},
|
|
14332
|
+
{
|
|
14333
|
+
"id": "himi_agenda.waitlist",
|
|
14334
|
+
"body": {
|
|
14335
|
+
"package": "himalaya",
|
|
14336
|
+
"type": "Button",
|
|
14337
|
+
"props": {
|
|
14338
|
+
"title": "Waitlist",
|
|
14339
|
+
"style": "secondary",
|
|
14340
|
+
"size": "sm",
|
|
14341
|
+
"fullWidth": false,
|
|
14342
|
+
"action": {
|
|
14343
|
+
"actionId": "tier5.himiBrandedAgenda.joinWaitlist",
|
|
14344
|
+
"params": {
|
|
14345
|
+
"eventId": "$item.id"
|
|
14346
|
+
}
|
|
14347
|
+
}
|
|
14348
|
+
}
|
|
14349
|
+
},
|
|
14350
|
+
"modifiers": {
|
|
14351
|
+
"hiddenPath": "$item.hideWaitlist"
|
|
14352
|
+
}
|
|
14353
|
+
},
|
|
14354
|
+
{
|
|
14355
|
+
"id": "himi_agenda.booked",
|
|
14356
|
+
"body": {
|
|
14357
|
+
"package": "himalaya",
|
|
14358
|
+
"type": "HStack",
|
|
14359
|
+
"props": {
|
|
14360
|
+
"spacing": 2,
|
|
14361
|
+
"children": [
|
|
14362
|
+
{
|
|
14363
|
+
"id": "",
|
|
14364
|
+
"body": {
|
|
14365
|
+
"package": "himalaya",
|
|
14366
|
+
"type": "Text",
|
|
14367
|
+
"props": {
|
|
14368
|
+
"text": "Booked",
|
|
14369
|
+
"style": "bodyEmphasis",
|
|
14370
|
+
"color": "success",
|
|
14371
|
+
"maxLines": 1
|
|
14372
|
+
}
|
|
14373
|
+
}
|
|
14374
|
+
},
|
|
14375
|
+
{
|
|
14376
|
+
"id": "",
|
|
14377
|
+
"body": {
|
|
14378
|
+
"package": "himalaya",
|
|
14379
|
+
"type": "Icon",
|
|
14380
|
+
"props": {
|
|
14381
|
+
"name": "chevron_down",
|
|
14382
|
+
"size": 14,
|
|
14383
|
+
"tint": "success"
|
|
14384
|
+
}
|
|
14385
|
+
},
|
|
14386
|
+
"modifiers": {
|
|
14387
|
+
"accessibilityRole": "decorative"
|
|
14388
|
+
}
|
|
14389
|
+
}
|
|
14390
|
+
]
|
|
14391
|
+
}
|
|
14392
|
+
},
|
|
14393
|
+
"modifiers": {
|
|
14394
|
+
"onTap": {
|
|
14395
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
14396
|
+
"params": {
|
|
14397
|
+
"eventId": "$item.id"
|
|
14398
|
+
}
|
|
14399
|
+
},
|
|
14400
|
+
"accessibilityLabel": "Booked",
|
|
14401
|
+
"accessibilityRole": "button",
|
|
14402
|
+
"hiddenPath": "$item.hideBooked"
|
|
14403
|
+
}
|
|
14404
|
+
},
|
|
14405
|
+
{
|
|
14406
|
+
"id": "himi_agenda.on_waitlist",
|
|
14407
|
+
"body": {
|
|
14408
|
+
"package": "himalaya",
|
|
14409
|
+
"type": "HStack",
|
|
14410
|
+
"props": {
|
|
14411
|
+
"spacing": 2,
|
|
14412
|
+
"children": [
|
|
14413
|
+
{
|
|
14414
|
+
"id": "",
|
|
14415
|
+
"body": {
|
|
14416
|
+
"package": "himalaya",
|
|
14417
|
+
"type": "Text",
|
|
14418
|
+
"props": {
|
|
14419
|
+
"text": "On waitlist",
|
|
14420
|
+
"style": "bodyEmphasis",
|
|
14421
|
+
"color": "warning",
|
|
14422
|
+
"maxLines": 1
|
|
14423
|
+
}
|
|
14424
|
+
}
|
|
14425
|
+
},
|
|
14426
|
+
{
|
|
14427
|
+
"id": "",
|
|
14428
|
+
"body": {
|
|
14429
|
+
"package": "himalaya",
|
|
14430
|
+
"type": "Icon",
|
|
14431
|
+
"props": {
|
|
14432
|
+
"name": "chevron_down",
|
|
14433
|
+
"size": 14,
|
|
14434
|
+
"tint": "warning"
|
|
14435
|
+
}
|
|
14436
|
+
},
|
|
14437
|
+
"modifiers": {
|
|
14438
|
+
"accessibilityRole": "decorative"
|
|
14439
|
+
}
|
|
14440
|
+
}
|
|
14441
|
+
]
|
|
14442
|
+
}
|
|
14443
|
+
},
|
|
14444
|
+
"modifiers": {
|
|
14445
|
+
"onTap": {
|
|
14446
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
14447
|
+
"params": {
|
|
14448
|
+
"eventId": "$item.id"
|
|
14449
|
+
}
|
|
14450
|
+
},
|
|
14451
|
+
"accessibilityLabel": "On waitlist",
|
|
14452
|
+
"accessibilityRole": "button",
|
|
14453
|
+
"hiddenPath": "$item.hideOnWaitlist"
|
|
14454
|
+
}
|
|
14455
|
+
},
|
|
14456
|
+
{
|
|
14457
|
+
"id": "",
|
|
14458
|
+
"body": {
|
|
14459
|
+
"package": "himalaya",
|
|
14460
|
+
"type": "Text",
|
|
14461
|
+
"props": {
|
|
14462
|
+
"text": "$item.closedLabel",
|
|
14463
|
+
"style": "footnote",
|
|
14464
|
+
"color": "textTertiary",
|
|
14465
|
+
"maxLines": 1
|
|
14466
|
+
}
|
|
14467
|
+
},
|
|
14468
|
+
"modifiers": {
|
|
14469
|
+
"hiddenPath": "$item.hideClosed"
|
|
14470
|
+
}
|
|
14471
|
+
}
|
|
14472
|
+
]
|
|
14473
|
+
}
|
|
14474
|
+
}
|
|
14475
|
+
}
|
|
14476
|
+
]
|
|
14477
|
+
}
|
|
14478
|
+
},
|
|
14479
|
+
"modifiers": {
|
|
14480
|
+
"padding": {
|
|
14481
|
+
"leading": 16,
|
|
14482
|
+
"trailing": 16,
|
|
14483
|
+
"top": 14,
|
|
14484
|
+
"bottom": 14
|
|
14485
|
+
},
|
|
14486
|
+
"fillMaxWidth": true
|
|
14487
|
+
}
|
|
14488
|
+
}
|
|
14489
|
+
}
|
|
14490
|
+
},
|
|
14491
|
+
"modifiers": {
|
|
14492
|
+
"fillMaxWidth": true,
|
|
14493
|
+
"hiddenPath": "$service:himiBrandedAgenda.listHidden"
|
|
14494
|
+
}
|
|
14495
|
+
},
|
|
14496
|
+
{
|
|
14497
|
+
"id": "himi_agenda.sheet",
|
|
14498
|
+
"body": {
|
|
14499
|
+
"package": "himalaya",
|
|
14500
|
+
"type": "BottomSheet",
|
|
14501
|
+
"props": {
|
|
14502
|
+
"presentedPath": "$service:himiBrandedAgenda.sheetOpen",
|
|
14503
|
+
"dismissible": true,
|
|
14504
|
+
"showGrabber": true,
|
|
14505
|
+
"onDismiss": {
|
|
14506
|
+
"actionId": "tier5.himiBrandedAgenda.closeSheet"
|
|
14507
|
+
},
|
|
14508
|
+
"content": {
|
|
14509
|
+
"id": "",
|
|
14510
|
+
"body": {
|
|
14511
|
+
"package": "himalaya",
|
|
14512
|
+
"type": "VStack",
|
|
14513
|
+
"props": {
|
|
14514
|
+
"spacing": 14,
|
|
14515
|
+
"alignment": "leading",
|
|
14516
|
+
"children": [
|
|
14517
|
+
{
|
|
14518
|
+
"id": "",
|
|
14519
|
+
"body": {
|
|
14520
|
+
"package": "himalaya",
|
|
14521
|
+
"type": "Text",
|
|
14522
|
+
"props": {
|
|
14523
|
+
"text": "$service:himiBrandedAgenda.sheetTitle",
|
|
14524
|
+
"style": "title3",
|
|
14525
|
+
"maxLines": 2
|
|
14526
|
+
}
|
|
14527
|
+
}
|
|
14528
|
+
},
|
|
14529
|
+
{
|
|
14530
|
+
"id": "",
|
|
14531
|
+
"body": {
|
|
14532
|
+
"package": "himalaya",
|
|
14533
|
+
"type": "Text",
|
|
14534
|
+
"props": {
|
|
14535
|
+
"text": "$service:himiBrandedAgenda.sheetWhen",
|
|
14536
|
+
"style": "footnote",
|
|
14537
|
+
"color": "textSecondary",
|
|
14538
|
+
"collapseWhenEmpty": true
|
|
14539
|
+
}
|
|
14540
|
+
}
|
|
14541
|
+
},
|
|
14542
|
+
{
|
|
14543
|
+
"id": "",
|
|
14544
|
+
"body": {
|
|
14545
|
+
"package": "himalaya",
|
|
14546
|
+
"type": "Divider",
|
|
14547
|
+
"props": {}
|
|
14548
|
+
}
|
|
14549
|
+
},
|
|
14550
|
+
{
|
|
14551
|
+
"id": "himi_agenda.view_session",
|
|
14552
|
+
"body": {
|
|
14553
|
+
"package": "himalaya",
|
|
14554
|
+
"type": "Button",
|
|
14555
|
+
"props": {
|
|
14556
|
+
"title": "View session",
|
|
14557
|
+
"style": "plain",
|
|
14558
|
+
"fullWidth": true,
|
|
14559
|
+
"action": {
|
|
14560
|
+
"actionId": "tier5.himiBrandedAgenda.viewSession"
|
|
14561
|
+
}
|
|
14562
|
+
}
|
|
14563
|
+
}
|
|
14564
|
+
},
|
|
14565
|
+
{
|
|
14566
|
+
"id": "himi_agenda.cancel_booking",
|
|
14567
|
+
"body": {
|
|
14568
|
+
"package": "himalaya",
|
|
14569
|
+
"type": "Button",
|
|
14570
|
+
"props": {
|
|
14571
|
+
"title": "Cancel booking",
|
|
14572
|
+
"style": "plain",
|
|
14573
|
+
"role": "destructive",
|
|
14574
|
+
"fullWidth": true,
|
|
14575
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
14576
|
+
"action": {
|
|
14577
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
14578
|
+
}
|
|
14579
|
+
}
|
|
14580
|
+
},
|
|
14581
|
+
"modifiers": {
|
|
14582
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideCancel"
|
|
14583
|
+
}
|
|
14584
|
+
},
|
|
14585
|
+
{
|
|
14586
|
+
"id": "himi_agenda.leave_waitlist",
|
|
14587
|
+
"body": {
|
|
14588
|
+
"package": "himalaya",
|
|
14589
|
+
"type": "Button",
|
|
14590
|
+
"props": {
|
|
14591
|
+
"title": "Leave waitlist",
|
|
14592
|
+
"style": "plain",
|
|
14593
|
+
"role": "destructive",
|
|
14594
|
+
"fullWidth": true,
|
|
14595
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
14596
|
+
"action": {
|
|
14597
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
14598
|
+
}
|
|
14599
|
+
}
|
|
14600
|
+
},
|
|
14601
|
+
"modifiers": {
|
|
14602
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
|
|
14603
|
+
}
|
|
14604
|
+
}
|
|
14605
|
+
]
|
|
14606
|
+
}
|
|
14607
|
+
},
|
|
14608
|
+
"modifiers": {
|
|
14609
|
+
"padding": {
|
|
14610
|
+
"leading": 20,
|
|
14611
|
+
"trailing": 20,
|
|
14612
|
+
"top": 20,
|
|
14613
|
+
"bottom": 24
|
|
14614
|
+
}
|
|
14615
|
+
}
|
|
14616
|
+
}
|
|
14617
|
+
}
|
|
14618
|
+
}
|
|
14619
|
+
}
|
|
14620
|
+
]
|
|
14621
|
+
}
|
|
14622
|
+
},
|
|
14623
|
+
"modifiers": {
|
|
14624
|
+
"background": {
|
|
14625
|
+
"token": "surfacePrimary"
|
|
14626
|
+
},
|
|
14627
|
+
"onAppear": {
|
|
14628
|
+
"actionId": "tier5.himiBrandedAgenda.load",
|
|
14629
|
+
"params": {
|
|
14630
|
+
"firstWeekday": "0"
|
|
14631
|
+
}
|
|
14632
|
+
}
|
|
14633
|
+
}
|
|
14634
|
+
},
|
|
14635
|
+
"logicBundle": {
|
|
14636
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
|
|
14637
|
+
"integrity": "",
|
|
14638
|
+
"contentType": "application/javascript+ts-bundle",
|
|
14639
|
+
"declaredCapabilities": [
|
|
14640
|
+
"wix_api",
|
|
14641
|
+
"app_info"
|
|
14642
|
+
],
|
|
14643
|
+
"minBinaryVersion": "0.1.0",
|
|
14644
|
+
"bundleVersion": "0.0.1"
|
|
14645
|
+
},
|
|
14646
|
+
"topBar": {
|
|
14647
|
+
"leading": "none"
|
|
14648
|
+
},
|
|
14649
|
+
"stickyHeader": {
|
|
14650
|
+
"id": "himi_agenda.header",
|
|
14651
|
+
"body": {
|
|
14652
|
+
"package": "himalaya",
|
|
14653
|
+
"type": "VStack",
|
|
14654
|
+
"props": {
|
|
14655
|
+
"spacing": 0,
|
|
14656
|
+
"alignment": "leading",
|
|
14657
|
+
"children": [
|
|
14658
|
+
{
|
|
14659
|
+
"id": "himi_agenda.back",
|
|
14660
|
+
"body": {
|
|
14661
|
+
"package": "himalaya",
|
|
14662
|
+
"type": "Button",
|
|
14663
|
+
"props": {
|
|
14664
|
+
"title": "Back",
|
|
14665
|
+
"action": {
|
|
14666
|
+
"actionId": "nav.back",
|
|
14667
|
+
"presentation": "back"
|
|
14668
|
+
},
|
|
14669
|
+
"style": "tertiary",
|
|
14670
|
+
"iconOnly": true,
|
|
14671
|
+
"leadingIcon": "chevron_left",
|
|
14672
|
+
"cornerRadius": 22,
|
|
14673
|
+
"minHeight": 44
|
|
14674
|
+
}
|
|
14675
|
+
},
|
|
14676
|
+
"modifiers": {
|
|
14677
|
+
"width": 44,
|
|
14678
|
+
"height": 44,
|
|
14679
|
+
"accessibilityLabel": "Back",
|
|
14680
|
+
"accessibilityRole": "button"
|
|
14681
|
+
}
|
|
14682
|
+
},
|
|
14683
|
+
{
|
|
14684
|
+
"id": "himi_agenda.title",
|
|
14685
|
+
"body": {
|
|
14686
|
+
"package": "himalaya",
|
|
14687
|
+
"type": "Text",
|
|
14688
|
+
"props": {
|
|
14689
|
+
"text": "Agenda",
|
|
14690
|
+
"style": "title1"
|
|
14691
|
+
}
|
|
14692
|
+
},
|
|
14693
|
+
"modifiers": {
|
|
14694
|
+
"padding": {
|
|
14695
|
+
"leading": 16,
|
|
14696
|
+
"trailing": 16,
|
|
14697
|
+
"bottom": 8
|
|
14698
|
+
}
|
|
14699
|
+
}
|
|
14700
|
+
},
|
|
14701
|
+
{
|
|
14702
|
+
"id": "himi_agenda.calendar",
|
|
14703
|
+
"body": {
|
|
14704
|
+
"package": "himalaya",
|
|
14705
|
+
"type": "MonthCalendar",
|
|
14706
|
+
"props": {
|
|
14707
|
+
"displayMode": "week",
|
|
14708
|
+
"expandable": true,
|
|
14709
|
+
"firstWeekday": 0,
|
|
14710
|
+
"selectedDatePath": "$service:himiBrandedAgenda.selectedDate",
|
|
14711
|
+
"decorationsPath": "$service:himiBrandedAgenda.decorations",
|
|
14712
|
+
"maxDots": 1,
|
|
14713
|
+
"onSelectDate": {
|
|
14714
|
+
"actionId": "tier5.himiBrandedAgenda.selectDate"
|
|
14715
|
+
},
|
|
14716
|
+
"onVisibleRangeChange": {
|
|
14717
|
+
"actionId": "tier5.himiBrandedAgenda.rangeChanged"
|
|
14718
|
+
},
|
|
14719
|
+
"onMonthChange": {
|
|
14720
|
+
"actionId": "tier5.himiBrandedAgenda.monthChanged"
|
|
14721
|
+
}
|
|
14722
|
+
}
|
|
14723
|
+
},
|
|
14724
|
+
"modifiers": {
|
|
14725
|
+
"padding": {
|
|
14726
|
+
"leading": 16,
|
|
14727
|
+
"trailing": 16,
|
|
14728
|
+
"top": 4,
|
|
14729
|
+
"bottom": 8
|
|
14730
|
+
},
|
|
14731
|
+
"fillMaxWidth": true,
|
|
14732
|
+
"accessibilityLabel": "Class calendar"
|
|
14733
|
+
}
|
|
14734
|
+
},
|
|
14735
|
+
{
|
|
14736
|
+
"id": "",
|
|
14737
|
+
"body": {
|
|
14738
|
+
"package": "himalaya",
|
|
14739
|
+
"type": "Divider",
|
|
14740
|
+
"props": {}
|
|
14741
|
+
}
|
|
14742
|
+
}
|
|
14743
|
+
]
|
|
14744
|
+
}
|
|
14745
|
+
},
|
|
14746
|
+
"modifiers": {
|
|
14747
|
+
"background": {
|
|
14748
|
+
"token": "surfacePrimary"
|
|
14749
|
+
},
|
|
14750
|
+
"padding": {
|
|
14751
|
+
"top": 4
|
|
14752
|
+
},
|
|
14753
|
+
"fillMaxWidth": true
|
|
14754
|
+
}
|
|
14755
|
+
}
|
|
14756
|
+
},
|
|
13973
14757
|
"himi_programs": {
|
|
13974
14758
|
"screenId": "himi_programs",
|
|
13975
14759
|
"renderer": "sdui_intent",
|