@wix/himalaya-cli 0.1488.0 → 0.1490.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 +157 -48
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/widgets.md +20 -7
- 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
|
@@ -19922,6 +19922,17 @@ const SCREENS = runtimeSetting({
|
|
|
19922
19922
|
"screenId": "himi_bookings"
|
|
19923
19923
|
}
|
|
19924
19924
|
}
|
|
19925
|
+
},
|
|
19926
|
+
{
|
|
19927
|
+
"id": "agenda",
|
|
19928
|
+
"icon": "list",
|
|
19929
|
+
"accessibilityLabel": "Agenda",
|
|
19930
|
+
"onTap": {
|
|
19931
|
+
"actionId": "himi.open",
|
|
19932
|
+
"params": {
|
|
19933
|
+
"screenId": "himi_agenda"
|
|
19934
|
+
}
|
|
19935
|
+
}
|
|
19925
19936
|
}
|
|
19926
19937
|
]
|
|
19927
19938
|
}
|
|
@@ -23164,6 +23175,779 @@ const SCREENS = runtimeSetting({
|
|
|
23164
23175
|
"bundleVersion": "0.0.1"
|
|
23165
23176
|
}
|
|
23166
23177
|
},
|
|
23178
|
+
"himi_agenda": {
|
|
23179
|
+
"screenId": "himi_agenda",
|
|
23180
|
+
"renderer": "sdui_intent",
|
|
23181
|
+
"title": "Agenda",
|
|
23182
|
+
"schemaVersion": 1,
|
|
23183
|
+
"cacheControl": {
|
|
23184
|
+
"maxAge": 0,
|
|
23185
|
+
"staleWhileRevalidate": 0
|
|
23186
|
+
},
|
|
23187
|
+
"payload": {
|
|
23188
|
+
"id": "himi_agenda.root",
|
|
23189
|
+
"body": {
|
|
23190
|
+
"package": "himalaya",
|
|
23191
|
+
"type": "VStack",
|
|
23192
|
+
"props": {
|
|
23193
|
+
"spacing": 0,
|
|
23194
|
+
"alignment": "leading",
|
|
23195
|
+
"children": [
|
|
23196
|
+
{
|
|
23197
|
+
"id": "",
|
|
23198
|
+
"body": {
|
|
23199
|
+
"package": "himalaya",
|
|
23200
|
+
"type": "VStack",
|
|
23201
|
+
"props": {
|
|
23202
|
+
"spacing": 12,
|
|
23203
|
+
"alignment": "leading",
|
|
23204
|
+
"children": [
|
|
23205
|
+
{
|
|
23206
|
+
"id": "himi_agenda.message",
|
|
23207
|
+
"body": {
|
|
23208
|
+
"package": "himalaya",
|
|
23209
|
+
"type": "Text",
|
|
23210
|
+
"props": {
|
|
23211
|
+
"text": "$service:himiBrandedAgenda.message",
|
|
23212
|
+
"style": "footnote",
|
|
23213
|
+
"color": "textPrimary",
|
|
23214
|
+
"collapseWhenEmpty": true
|
|
23215
|
+
}
|
|
23216
|
+
}
|
|
23217
|
+
},
|
|
23218
|
+
{
|
|
23219
|
+
"id": "himi_agenda.loading",
|
|
23220
|
+
"body": {
|
|
23221
|
+
"package": "himalaya",
|
|
23222
|
+
"type": "Skeleton",
|
|
23223
|
+
"props": {
|
|
23224
|
+
"height": 72,
|
|
23225
|
+
"cornerRadius": 12,
|
|
23226
|
+
"count": 3
|
|
23227
|
+
}
|
|
23228
|
+
},
|
|
23229
|
+
"modifiers": {
|
|
23230
|
+
"hiddenPath": "$service:himiBrandedAgenda.notLoading"
|
|
23231
|
+
}
|
|
23232
|
+
},
|
|
23233
|
+
{
|
|
23234
|
+
"id": "himi_agenda.error",
|
|
23235
|
+
"body": {
|
|
23236
|
+
"package": "himalaya",
|
|
23237
|
+
"type": "VStack",
|
|
23238
|
+
"props": {
|
|
23239
|
+
"spacing": 8,
|
|
23240
|
+
"alignment": "leading",
|
|
23241
|
+
"children": [
|
|
23242
|
+
{
|
|
23243
|
+
"id": "",
|
|
23244
|
+
"body": {
|
|
23245
|
+
"package": "himalaya",
|
|
23246
|
+
"type": "Text",
|
|
23247
|
+
"props": {
|
|
23248
|
+
"text": "$service:himiBrandedAgenda.error",
|
|
23249
|
+
"style": "bodyEmphasis",
|
|
23250
|
+
"collapseWhenEmpty": true
|
|
23251
|
+
}
|
|
23252
|
+
}
|
|
23253
|
+
},
|
|
23254
|
+
{
|
|
23255
|
+
"id": "himi_agenda.retry",
|
|
23256
|
+
"body": {
|
|
23257
|
+
"package": "himalaya",
|
|
23258
|
+
"type": "Button",
|
|
23259
|
+
"props": {
|
|
23260
|
+
"title": "Try again",
|
|
23261
|
+
"style": "secondary",
|
|
23262
|
+
"action": {
|
|
23263
|
+
"actionId": "tier5.himiBrandedAgenda.retry"
|
|
23264
|
+
}
|
|
23265
|
+
}
|
|
23266
|
+
}
|
|
23267
|
+
}
|
|
23268
|
+
]
|
|
23269
|
+
}
|
|
23270
|
+
},
|
|
23271
|
+
"modifiers": {
|
|
23272
|
+
"background": {
|
|
23273
|
+
"token": "surfaceElevated"
|
|
23274
|
+
},
|
|
23275
|
+
"border": {
|
|
23276
|
+
"width": 1,
|
|
23277
|
+
"color": {
|
|
23278
|
+
"token": "border"
|
|
23279
|
+
}
|
|
23280
|
+
},
|
|
23281
|
+
"cornerRadius": 4,
|
|
23282
|
+
"padding": {
|
|
23283
|
+
"leading": 16,
|
|
23284
|
+
"trailing": 16,
|
|
23285
|
+
"top": 16,
|
|
23286
|
+
"bottom": 16
|
|
23287
|
+
},
|
|
23288
|
+
"hiddenPath": "$service:himiBrandedAgenda.notErrored"
|
|
23289
|
+
}
|
|
23290
|
+
}
|
|
23291
|
+
]
|
|
23292
|
+
}
|
|
23293
|
+
},
|
|
23294
|
+
"modifiers": {
|
|
23295
|
+
"padding": {
|
|
23296
|
+
"leading": 16,
|
|
23297
|
+
"trailing": 16,
|
|
23298
|
+
"top": 8
|
|
23299
|
+
}
|
|
23300
|
+
}
|
|
23301
|
+
},
|
|
23302
|
+
{
|
|
23303
|
+
"id": "himi_agenda.list",
|
|
23304
|
+
"body": {
|
|
23305
|
+
"package": "himalaya",
|
|
23306
|
+
"type": "Agenda",
|
|
23307
|
+
"props": {
|
|
23308
|
+
"eventsPath": "$service:himiBrandedAgenda.events",
|
|
23309
|
+
"scrollToDatePath": "$service:himiBrandedAgenda.scrollTo",
|
|
23310
|
+
"stickyHeaders": false,
|
|
23311
|
+
"emptyText": "No classes from this day on.",
|
|
23312
|
+
"eventTemplate": {
|
|
23313
|
+
"id": "",
|
|
23314
|
+
"body": {
|
|
23315
|
+
"package": "himalaya",
|
|
23316
|
+
"type": "HStack",
|
|
23317
|
+
"props": {
|
|
23318
|
+
"spacing": 12,
|
|
23319
|
+
"alignment": "center",
|
|
23320
|
+
"children": [
|
|
23321
|
+
{
|
|
23322
|
+
"id": "",
|
|
23323
|
+
"body": {
|
|
23324
|
+
"package": "himalaya",
|
|
23325
|
+
"type": "VStack",
|
|
23326
|
+
"props": {
|
|
23327
|
+
"spacing": 2,
|
|
23328
|
+
"alignment": "leading",
|
|
23329
|
+
"children": [
|
|
23330
|
+
{
|
|
23331
|
+
"id": "",
|
|
23332
|
+
"body": {
|
|
23333
|
+
"package": "himalaya",
|
|
23334
|
+
"type": "Text",
|
|
23335
|
+
"props": {
|
|
23336
|
+
"text": "$item.time",
|
|
23337
|
+
"style": "body",
|
|
23338
|
+
"maxLines": 1,
|
|
23339
|
+
"monospacedDigits": true
|
|
23340
|
+
}
|
|
23341
|
+
}
|
|
23342
|
+
},
|
|
23343
|
+
{
|
|
23344
|
+
"id": "",
|
|
23345
|
+
"body": {
|
|
23346
|
+
"package": "himalaya",
|
|
23347
|
+
"type": "Text",
|
|
23348
|
+
"props": {
|
|
23349
|
+
"text": "$item.length",
|
|
23350
|
+
"style": "footnote",
|
|
23351
|
+
"color": "textSecondary",
|
|
23352
|
+
"maxLines": 1,
|
|
23353
|
+
"collapseWhenEmpty": true
|
|
23354
|
+
}
|
|
23355
|
+
}
|
|
23356
|
+
}
|
|
23357
|
+
]
|
|
23358
|
+
}
|
|
23359
|
+
},
|
|
23360
|
+
"modifiers": {
|
|
23361
|
+
"width": 64
|
|
23362
|
+
}
|
|
23363
|
+
},
|
|
23364
|
+
{
|
|
23365
|
+
"id": "",
|
|
23366
|
+
"body": {
|
|
23367
|
+
"package": "himalaya",
|
|
23368
|
+
"type": "VStack",
|
|
23369
|
+
"props": {
|
|
23370
|
+
"spacing": 4,
|
|
23371
|
+
"alignment": "leading",
|
|
23372
|
+
"children": [
|
|
23373
|
+
{
|
|
23374
|
+
"id": "",
|
|
23375
|
+
"body": {
|
|
23376
|
+
"package": "himalaya",
|
|
23377
|
+
"type": "Text",
|
|
23378
|
+
"props": {
|
|
23379
|
+
"text": "$item.title",
|
|
23380
|
+
"style": "bodyEmphasis",
|
|
23381
|
+
"maxLines": 2
|
|
23382
|
+
}
|
|
23383
|
+
}
|
|
23384
|
+
},
|
|
23385
|
+
{
|
|
23386
|
+
"id": "",
|
|
23387
|
+
"body": {
|
|
23388
|
+
"package": "himalaya",
|
|
23389
|
+
"type": "Text",
|
|
23390
|
+
"props": {
|
|
23391
|
+
"text": "$item.staff",
|
|
23392
|
+
"style": "footnote",
|
|
23393
|
+
"color": "textSecondary",
|
|
23394
|
+
"maxLines": 1,
|
|
23395
|
+
"collapseWhenEmpty": true
|
|
23396
|
+
}
|
|
23397
|
+
}
|
|
23398
|
+
},
|
|
23399
|
+
{
|
|
23400
|
+
"id": "",
|
|
23401
|
+
"body": {
|
|
23402
|
+
"package": "himalaya",
|
|
23403
|
+
"type": "HStack",
|
|
23404
|
+
"props": {
|
|
23405
|
+
"spacing": 6,
|
|
23406
|
+
"children": [
|
|
23407
|
+
{
|
|
23408
|
+
"id": "",
|
|
23409
|
+
"body": {
|
|
23410
|
+
"package": "himalaya",
|
|
23411
|
+
"type": "Icon",
|
|
23412
|
+
"props": {
|
|
23413
|
+
"name": "person",
|
|
23414
|
+
"size": 14,
|
|
23415
|
+
"tint": "textSecondary"
|
|
23416
|
+
}
|
|
23417
|
+
},
|
|
23418
|
+
"modifiers": {
|
|
23419
|
+
"accessibilityRole": "decorative"
|
|
23420
|
+
}
|
|
23421
|
+
},
|
|
23422
|
+
{
|
|
23423
|
+
"id": "",
|
|
23424
|
+
"body": {
|
|
23425
|
+
"package": "himalaya",
|
|
23426
|
+
"type": "Text",
|
|
23427
|
+
"props": {
|
|
23428
|
+
"text": "$item.capacity",
|
|
23429
|
+
"style": "footnote",
|
|
23430
|
+
"color": "textPrimary",
|
|
23431
|
+
"maxLines": 1
|
|
23432
|
+
}
|
|
23433
|
+
}
|
|
23434
|
+
}
|
|
23435
|
+
]
|
|
23436
|
+
}
|
|
23437
|
+
},
|
|
23438
|
+
"modifiers": {
|
|
23439
|
+
"hiddenPath": "$item.noCapacity"
|
|
23440
|
+
}
|
|
23441
|
+
},
|
|
23442
|
+
{
|
|
23443
|
+
"id": "",
|
|
23444
|
+
"body": {
|
|
23445
|
+
"package": "himalaya",
|
|
23446
|
+
"type": "HStack",
|
|
23447
|
+
"props": {
|
|
23448
|
+
"spacing": 6,
|
|
23449
|
+
"children": [
|
|
23450
|
+
{
|
|
23451
|
+
"id": "",
|
|
23452
|
+
"body": {
|
|
23453
|
+
"package": "himalaya",
|
|
23454
|
+
"type": "Icon",
|
|
23455
|
+
"props": {
|
|
23456
|
+
"name": "pin",
|
|
23457
|
+
"size": 14,
|
|
23458
|
+
"tint": "textSecondary"
|
|
23459
|
+
}
|
|
23460
|
+
},
|
|
23461
|
+
"modifiers": {
|
|
23462
|
+
"accessibilityRole": "decorative"
|
|
23463
|
+
}
|
|
23464
|
+
},
|
|
23465
|
+
{
|
|
23466
|
+
"id": "",
|
|
23467
|
+
"body": {
|
|
23468
|
+
"package": "himalaya",
|
|
23469
|
+
"type": "Text",
|
|
23470
|
+
"props": {
|
|
23471
|
+
"text": "$item.location",
|
|
23472
|
+
"style": "footnote",
|
|
23473
|
+
"color": "textPrimary",
|
|
23474
|
+
"maxLines": 1
|
|
23475
|
+
}
|
|
23476
|
+
}
|
|
23477
|
+
}
|
|
23478
|
+
]
|
|
23479
|
+
}
|
|
23480
|
+
},
|
|
23481
|
+
"modifiers": {
|
|
23482
|
+
"hiddenPath": "$item.noLocation"
|
|
23483
|
+
}
|
|
23484
|
+
}
|
|
23485
|
+
]
|
|
23486
|
+
}
|
|
23487
|
+
},
|
|
23488
|
+
"modifiers": {
|
|
23489
|
+
"weight": 1
|
|
23490
|
+
}
|
|
23491
|
+
},
|
|
23492
|
+
{
|
|
23493
|
+
"id": "",
|
|
23494
|
+
"body": {
|
|
23495
|
+
"package": "himalaya",
|
|
23496
|
+
"type": "VStack",
|
|
23497
|
+
"props": {
|
|
23498
|
+
"spacing": 0,
|
|
23499
|
+
"alignment": "trailing",
|
|
23500
|
+
"children": [
|
|
23501
|
+
{
|
|
23502
|
+
"id": "himi_agenda.book",
|
|
23503
|
+
"body": {
|
|
23504
|
+
"package": "himalaya",
|
|
23505
|
+
"type": "Button",
|
|
23506
|
+
"props": {
|
|
23507
|
+
"title": "Book",
|
|
23508
|
+
"style": "secondary",
|
|
23509
|
+
"size": "sm",
|
|
23510
|
+
"fullWidth": false,
|
|
23511
|
+
"action": {
|
|
23512
|
+
"actionId": "himi.open",
|
|
23513
|
+
"params": {
|
|
23514
|
+
"screenId": "himi_time",
|
|
23515
|
+
"id": "$item.serviceId",
|
|
23516
|
+
"start": "$item.start",
|
|
23517
|
+
"sessionId": "$item.sessionId"
|
|
23518
|
+
}
|
|
23519
|
+
}
|
|
23520
|
+
}
|
|
23521
|
+
},
|
|
23522
|
+
"modifiers": {
|
|
23523
|
+
"hiddenPath": "$item.hideBook"
|
|
23524
|
+
}
|
|
23525
|
+
},
|
|
23526
|
+
{
|
|
23527
|
+
"id": "himi_agenda.waitlist",
|
|
23528
|
+
"body": {
|
|
23529
|
+
"package": "himalaya",
|
|
23530
|
+
"type": "Button",
|
|
23531
|
+
"props": {
|
|
23532
|
+
"title": "Waitlist",
|
|
23533
|
+
"style": "secondary",
|
|
23534
|
+
"size": "sm",
|
|
23535
|
+
"fullWidth": false,
|
|
23536
|
+
"action": {
|
|
23537
|
+
"actionId": "tier5.himiBrandedAgenda.joinWaitlist",
|
|
23538
|
+
"params": {
|
|
23539
|
+
"eventId": "$item.id"
|
|
23540
|
+
}
|
|
23541
|
+
}
|
|
23542
|
+
}
|
|
23543
|
+
},
|
|
23544
|
+
"modifiers": {
|
|
23545
|
+
"hiddenPath": "$item.hideWaitlist"
|
|
23546
|
+
}
|
|
23547
|
+
},
|
|
23548
|
+
{
|
|
23549
|
+
"id": "himi_agenda.booked",
|
|
23550
|
+
"body": {
|
|
23551
|
+
"package": "himalaya",
|
|
23552
|
+
"type": "HStack",
|
|
23553
|
+
"props": {
|
|
23554
|
+
"spacing": 2,
|
|
23555
|
+
"children": [
|
|
23556
|
+
{
|
|
23557
|
+
"id": "",
|
|
23558
|
+
"body": {
|
|
23559
|
+
"package": "himalaya",
|
|
23560
|
+
"type": "Text",
|
|
23561
|
+
"props": {
|
|
23562
|
+
"text": "Booked",
|
|
23563
|
+
"style": "bodyEmphasis",
|
|
23564
|
+
"color": "success",
|
|
23565
|
+
"maxLines": 1
|
|
23566
|
+
}
|
|
23567
|
+
}
|
|
23568
|
+
},
|
|
23569
|
+
{
|
|
23570
|
+
"id": "",
|
|
23571
|
+
"body": {
|
|
23572
|
+
"package": "himalaya",
|
|
23573
|
+
"type": "Icon",
|
|
23574
|
+
"props": {
|
|
23575
|
+
"name": "chevron_down",
|
|
23576
|
+
"size": 14,
|
|
23577
|
+
"tint": "success"
|
|
23578
|
+
}
|
|
23579
|
+
},
|
|
23580
|
+
"modifiers": {
|
|
23581
|
+
"accessibilityRole": "decorative"
|
|
23582
|
+
}
|
|
23583
|
+
}
|
|
23584
|
+
]
|
|
23585
|
+
}
|
|
23586
|
+
},
|
|
23587
|
+
"modifiers": {
|
|
23588
|
+
"onTap": {
|
|
23589
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
23590
|
+
"params": {
|
|
23591
|
+
"eventId": "$item.id"
|
|
23592
|
+
}
|
|
23593
|
+
},
|
|
23594
|
+
"accessibilityLabel": "Booked",
|
|
23595
|
+
"accessibilityRole": "button",
|
|
23596
|
+
"hiddenPath": "$item.hideBooked"
|
|
23597
|
+
}
|
|
23598
|
+
},
|
|
23599
|
+
{
|
|
23600
|
+
"id": "himi_agenda.on_waitlist",
|
|
23601
|
+
"body": {
|
|
23602
|
+
"package": "himalaya",
|
|
23603
|
+
"type": "HStack",
|
|
23604
|
+
"props": {
|
|
23605
|
+
"spacing": 2,
|
|
23606
|
+
"children": [
|
|
23607
|
+
{
|
|
23608
|
+
"id": "",
|
|
23609
|
+
"body": {
|
|
23610
|
+
"package": "himalaya",
|
|
23611
|
+
"type": "Text",
|
|
23612
|
+
"props": {
|
|
23613
|
+
"text": "On waitlist",
|
|
23614
|
+
"style": "bodyEmphasis",
|
|
23615
|
+
"color": "warning",
|
|
23616
|
+
"maxLines": 1
|
|
23617
|
+
}
|
|
23618
|
+
}
|
|
23619
|
+
},
|
|
23620
|
+
{
|
|
23621
|
+
"id": "",
|
|
23622
|
+
"body": {
|
|
23623
|
+
"package": "himalaya",
|
|
23624
|
+
"type": "Icon",
|
|
23625
|
+
"props": {
|
|
23626
|
+
"name": "chevron_down",
|
|
23627
|
+
"size": 14,
|
|
23628
|
+
"tint": "warning"
|
|
23629
|
+
}
|
|
23630
|
+
},
|
|
23631
|
+
"modifiers": {
|
|
23632
|
+
"accessibilityRole": "decorative"
|
|
23633
|
+
}
|
|
23634
|
+
}
|
|
23635
|
+
]
|
|
23636
|
+
}
|
|
23637
|
+
},
|
|
23638
|
+
"modifiers": {
|
|
23639
|
+
"onTap": {
|
|
23640
|
+
"actionId": "tier5.himiBrandedAgenda.openSheet",
|
|
23641
|
+
"params": {
|
|
23642
|
+
"eventId": "$item.id"
|
|
23643
|
+
}
|
|
23644
|
+
},
|
|
23645
|
+
"accessibilityLabel": "On waitlist",
|
|
23646
|
+
"accessibilityRole": "button",
|
|
23647
|
+
"hiddenPath": "$item.hideOnWaitlist"
|
|
23648
|
+
}
|
|
23649
|
+
},
|
|
23650
|
+
{
|
|
23651
|
+
"id": "",
|
|
23652
|
+
"body": {
|
|
23653
|
+
"package": "himalaya",
|
|
23654
|
+
"type": "Text",
|
|
23655
|
+
"props": {
|
|
23656
|
+
"text": "$item.closedLabel",
|
|
23657
|
+
"style": "footnote",
|
|
23658
|
+
"color": "textTertiary",
|
|
23659
|
+
"maxLines": 1
|
|
23660
|
+
}
|
|
23661
|
+
},
|
|
23662
|
+
"modifiers": {
|
|
23663
|
+
"hiddenPath": "$item.hideClosed"
|
|
23664
|
+
}
|
|
23665
|
+
}
|
|
23666
|
+
]
|
|
23667
|
+
}
|
|
23668
|
+
}
|
|
23669
|
+
}
|
|
23670
|
+
]
|
|
23671
|
+
}
|
|
23672
|
+
},
|
|
23673
|
+
"modifiers": {
|
|
23674
|
+
"padding": {
|
|
23675
|
+
"leading": 16,
|
|
23676
|
+
"trailing": 16,
|
|
23677
|
+
"top": 14,
|
|
23678
|
+
"bottom": 14
|
|
23679
|
+
},
|
|
23680
|
+
"fillMaxWidth": true
|
|
23681
|
+
}
|
|
23682
|
+
}
|
|
23683
|
+
}
|
|
23684
|
+
},
|
|
23685
|
+
"modifiers": {
|
|
23686
|
+
"fillMaxWidth": true,
|
|
23687
|
+
"hiddenPath": "$service:himiBrandedAgenda.listHidden"
|
|
23688
|
+
}
|
|
23689
|
+
},
|
|
23690
|
+
{
|
|
23691
|
+
"id": "himi_agenda.sheet",
|
|
23692
|
+
"body": {
|
|
23693
|
+
"package": "himalaya",
|
|
23694
|
+
"type": "BottomSheet",
|
|
23695
|
+
"props": {
|
|
23696
|
+
"presentedPath": "$service:himiBrandedAgenda.sheetOpen",
|
|
23697
|
+
"dismissible": true,
|
|
23698
|
+
"showGrabber": true,
|
|
23699
|
+
"onDismiss": {
|
|
23700
|
+
"actionId": "tier5.himiBrandedAgenda.closeSheet"
|
|
23701
|
+
},
|
|
23702
|
+
"content": {
|
|
23703
|
+
"id": "",
|
|
23704
|
+
"body": {
|
|
23705
|
+
"package": "himalaya",
|
|
23706
|
+
"type": "VStack",
|
|
23707
|
+
"props": {
|
|
23708
|
+
"spacing": 14,
|
|
23709
|
+
"alignment": "leading",
|
|
23710
|
+
"children": [
|
|
23711
|
+
{
|
|
23712
|
+
"id": "",
|
|
23713
|
+
"body": {
|
|
23714
|
+
"package": "himalaya",
|
|
23715
|
+
"type": "Text",
|
|
23716
|
+
"props": {
|
|
23717
|
+
"text": "$service:himiBrandedAgenda.sheetTitle",
|
|
23718
|
+
"style": "title3",
|
|
23719
|
+
"maxLines": 2
|
|
23720
|
+
}
|
|
23721
|
+
}
|
|
23722
|
+
},
|
|
23723
|
+
{
|
|
23724
|
+
"id": "",
|
|
23725
|
+
"body": {
|
|
23726
|
+
"package": "himalaya",
|
|
23727
|
+
"type": "Text",
|
|
23728
|
+
"props": {
|
|
23729
|
+
"text": "$service:himiBrandedAgenda.sheetWhen",
|
|
23730
|
+
"style": "footnote",
|
|
23731
|
+
"color": "textSecondary",
|
|
23732
|
+
"collapseWhenEmpty": true
|
|
23733
|
+
}
|
|
23734
|
+
}
|
|
23735
|
+
},
|
|
23736
|
+
{
|
|
23737
|
+
"id": "",
|
|
23738
|
+
"body": {
|
|
23739
|
+
"package": "himalaya",
|
|
23740
|
+
"type": "Divider",
|
|
23741
|
+
"props": {}
|
|
23742
|
+
}
|
|
23743
|
+
},
|
|
23744
|
+
{
|
|
23745
|
+
"id": "himi_agenda.view_session",
|
|
23746
|
+
"body": {
|
|
23747
|
+
"package": "himalaya",
|
|
23748
|
+
"type": "Button",
|
|
23749
|
+
"props": {
|
|
23750
|
+
"title": "View session",
|
|
23751
|
+
"style": "plain",
|
|
23752
|
+
"fullWidth": true,
|
|
23753
|
+
"action": {
|
|
23754
|
+
"actionId": "tier5.himiBrandedAgenda.viewSession"
|
|
23755
|
+
}
|
|
23756
|
+
}
|
|
23757
|
+
}
|
|
23758
|
+
},
|
|
23759
|
+
{
|
|
23760
|
+
"id": "himi_agenda.cancel_booking",
|
|
23761
|
+
"body": {
|
|
23762
|
+
"package": "himalaya",
|
|
23763
|
+
"type": "Button",
|
|
23764
|
+
"props": {
|
|
23765
|
+
"title": "Cancel booking",
|
|
23766
|
+
"style": "plain",
|
|
23767
|
+
"role": "destructive",
|
|
23768
|
+
"fullWidth": true,
|
|
23769
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
23770
|
+
"action": {
|
|
23771
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
23772
|
+
}
|
|
23773
|
+
}
|
|
23774
|
+
},
|
|
23775
|
+
"modifiers": {
|
|
23776
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideCancel"
|
|
23777
|
+
}
|
|
23778
|
+
},
|
|
23779
|
+
{
|
|
23780
|
+
"id": "himi_agenda.leave_waitlist",
|
|
23781
|
+
"body": {
|
|
23782
|
+
"package": "himalaya",
|
|
23783
|
+
"type": "Button",
|
|
23784
|
+
"props": {
|
|
23785
|
+
"title": "Leave waitlist",
|
|
23786
|
+
"style": "plain",
|
|
23787
|
+
"role": "destructive",
|
|
23788
|
+
"fullWidth": true,
|
|
23789
|
+
"disabledPath": "$service:himiBrandedAgenda.sheetBusy",
|
|
23790
|
+
"action": {
|
|
23791
|
+
"actionId": "tier5.himiBrandedAgenda.cancelBooking"
|
|
23792
|
+
}
|
|
23793
|
+
}
|
|
23794
|
+
},
|
|
23795
|
+
"modifiers": {
|
|
23796
|
+
"hiddenPath": "$service:himiBrandedAgenda.sheetHideLeave"
|
|
23797
|
+
}
|
|
23798
|
+
}
|
|
23799
|
+
]
|
|
23800
|
+
}
|
|
23801
|
+
},
|
|
23802
|
+
"modifiers": {
|
|
23803
|
+
"padding": {
|
|
23804
|
+
"leading": 20,
|
|
23805
|
+
"trailing": 20,
|
|
23806
|
+
"top": 20,
|
|
23807
|
+
"bottom": 24
|
|
23808
|
+
}
|
|
23809
|
+
}
|
|
23810
|
+
}
|
|
23811
|
+
}
|
|
23812
|
+
}
|
|
23813
|
+
}
|
|
23814
|
+
]
|
|
23815
|
+
}
|
|
23816
|
+
},
|
|
23817
|
+
"modifiers": {
|
|
23818
|
+
"background": {
|
|
23819
|
+
"token": "surfacePrimary"
|
|
23820
|
+
},
|
|
23821
|
+
"onAppear": {
|
|
23822
|
+
"actionId": "tier5.himiBrandedAgenda.load",
|
|
23823
|
+
"params": {
|
|
23824
|
+
"firstWeekday": "0"
|
|
23825
|
+
}
|
|
23826
|
+
}
|
|
23827
|
+
}
|
|
23828
|
+
},
|
|
23829
|
+
"logicBundle": {
|
|
23830
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-agenda?integrity=",
|
|
23831
|
+
"integrity": "",
|
|
23832
|
+
"contentType": "application/javascript+ts-bundle",
|
|
23833
|
+
"declaredCapabilities": [
|
|
23834
|
+
"wix_api",
|
|
23835
|
+
"app_info"
|
|
23836
|
+
],
|
|
23837
|
+
"minBinaryVersion": "0.1.0",
|
|
23838
|
+
"bundleVersion": "0.0.1"
|
|
23839
|
+
},
|
|
23840
|
+
"topBar": {
|
|
23841
|
+
"leading": "none"
|
|
23842
|
+
},
|
|
23843
|
+
"stickyHeader": {
|
|
23844
|
+
"id": "himi_agenda.header",
|
|
23845
|
+
"body": {
|
|
23846
|
+
"package": "himalaya",
|
|
23847
|
+
"type": "VStack",
|
|
23848
|
+
"props": {
|
|
23849
|
+
"spacing": 0,
|
|
23850
|
+
"alignment": "leading",
|
|
23851
|
+
"children": [
|
|
23852
|
+
{
|
|
23853
|
+
"id": "himi_agenda.back",
|
|
23854
|
+
"body": {
|
|
23855
|
+
"package": "himalaya",
|
|
23856
|
+
"type": "Button",
|
|
23857
|
+
"props": {
|
|
23858
|
+
"title": "Back",
|
|
23859
|
+
"action": {
|
|
23860
|
+
"actionId": "nav.back",
|
|
23861
|
+
"presentation": "back"
|
|
23862
|
+
},
|
|
23863
|
+
"style": "tertiary",
|
|
23864
|
+
"iconOnly": true,
|
|
23865
|
+
"leadingIcon": "chevron_left",
|
|
23866
|
+
"cornerRadius": 22,
|
|
23867
|
+
"minHeight": 44
|
|
23868
|
+
}
|
|
23869
|
+
},
|
|
23870
|
+
"modifiers": {
|
|
23871
|
+
"width": 44,
|
|
23872
|
+
"height": 44,
|
|
23873
|
+
"accessibilityLabel": "Back",
|
|
23874
|
+
"accessibilityRole": "button"
|
|
23875
|
+
}
|
|
23876
|
+
},
|
|
23877
|
+
{
|
|
23878
|
+
"id": "himi_agenda.title",
|
|
23879
|
+
"body": {
|
|
23880
|
+
"package": "himalaya",
|
|
23881
|
+
"type": "Text",
|
|
23882
|
+
"props": {
|
|
23883
|
+
"text": "Agenda",
|
|
23884
|
+
"style": "title1"
|
|
23885
|
+
}
|
|
23886
|
+
},
|
|
23887
|
+
"modifiers": {
|
|
23888
|
+
"padding": {
|
|
23889
|
+
"leading": 16,
|
|
23890
|
+
"trailing": 16,
|
|
23891
|
+
"bottom": 8
|
|
23892
|
+
}
|
|
23893
|
+
}
|
|
23894
|
+
},
|
|
23895
|
+
{
|
|
23896
|
+
"id": "himi_agenda.calendar",
|
|
23897
|
+
"body": {
|
|
23898
|
+
"package": "himalaya",
|
|
23899
|
+
"type": "MonthCalendar",
|
|
23900
|
+
"props": {
|
|
23901
|
+
"displayMode": "week",
|
|
23902
|
+
"expandable": true,
|
|
23903
|
+
"firstWeekday": 0,
|
|
23904
|
+
"selectedDatePath": "$service:himiBrandedAgenda.selectedDate",
|
|
23905
|
+
"decorationsPath": "$service:himiBrandedAgenda.decorations",
|
|
23906
|
+
"maxDots": 1,
|
|
23907
|
+
"onSelectDate": {
|
|
23908
|
+
"actionId": "tier5.himiBrandedAgenda.selectDate"
|
|
23909
|
+
},
|
|
23910
|
+
"onVisibleRangeChange": {
|
|
23911
|
+
"actionId": "tier5.himiBrandedAgenda.rangeChanged"
|
|
23912
|
+
},
|
|
23913
|
+
"onMonthChange": {
|
|
23914
|
+
"actionId": "tier5.himiBrandedAgenda.monthChanged"
|
|
23915
|
+
}
|
|
23916
|
+
}
|
|
23917
|
+
},
|
|
23918
|
+
"modifiers": {
|
|
23919
|
+
"padding": {
|
|
23920
|
+
"leading": 16,
|
|
23921
|
+
"trailing": 16,
|
|
23922
|
+
"top": 4,
|
|
23923
|
+
"bottom": 8
|
|
23924
|
+
},
|
|
23925
|
+
"fillMaxWidth": true,
|
|
23926
|
+
"accessibilityLabel": "Class calendar"
|
|
23927
|
+
}
|
|
23928
|
+
},
|
|
23929
|
+
{
|
|
23930
|
+
"id": "",
|
|
23931
|
+
"body": {
|
|
23932
|
+
"package": "himalaya",
|
|
23933
|
+
"type": "Divider",
|
|
23934
|
+
"props": {}
|
|
23935
|
+
}
|
|
23936
|
+
}
|
|
23937
|
+
]
|
|
23938
|
+
}
|
|
23939
|
+
},
|
|
23940
|
+
"modifiers": {
|
|
23941
|
+
"background": {
|
|
23942
|
+
"token": "surfacePrimary"
|
|
23943
|
+
},
|
|
23944
|
+
"padding": {
|
|
23945
|
+
"top": 4
|
|
23946
|
+
},
|
|
23947
|
+
"fillMaxWidth": true
|
|
23948
|
+
}
|
|
23949
|
+
}
|
|
23950
|
+
},
|
|
23167
23951
|
"himi_plans": {
|
|
23168
23952
|
"screenId": "himi_plans",
|
|
23169
23953
|
"renderer": "sdui_intent",
|