@wix/himalaya-cli 0.1256.0 → 0.1258.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 +2 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/motion/src/index.d.ts +45 -5
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +18 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -1
- package/dist/cli.mjs +649 -65
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/base44-app-to-himi-app.md +41 -5
- package/guides/component-reference.json +0 -84
- package/guides/component-reference.md +2 -23
- package/guides/sdk-reference.json +15 -3
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/beauty-salon/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +41 -4
- package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/branded-lite/config.ts +14 -1
- package/templates/branded-lite/dev/index.ts +845 -2
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/branded-lite/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +41 -4
- package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/branded-lite/tier5-src/himi-branded-lite-steps/index.ts +524 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/community-club/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/events-meetups/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/gym-fitness/config.ts +14 -1
- package/templates/gym-fitness/dev/index.ts +844 -1
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/gym-fitness/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +41 -4
- package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/gym-fitness/tier5-src/himi-branded-lite-steps/index.ts +524 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/nonprofit-cause/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/podcast-creator/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/portfolio-creative/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/restaurant/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/yoga-studio/dev/index.ts +90 -1
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +7 -0
- package/templates/yoga-studio/tier5-src/_shared/weekly-goal.ts +107 -0
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +41 -4
- package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +31 -7
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +7 -0
|
@@ -2424,6 +2424,7 @@ const SCREENS = runtimeSetting({
|
|
|
2424
2424
|
"verticals": "[\"store\",\"bookings\",\"plans\",\"events\",\"blog\"]",
|
|
2425
2425
|
"homeModules": "[{\"id\":\"member_progress\",\"label\":\"This week's schedule\",\"dataSource\":\"member.bookings.schedule\",\"emptyWhen\":[\"hideMemberProgress\"]},{\"id\":\"up_next\",\"label\":\"Up next\",\"dataSource\":\"member.bookings\",\"emptyWhen\":[\"hideNextBooking\",\"hidePersonalError\"]},{\"id\":\"saved\",\"label\":\"Saved on this device\",\"dataSource\":\"device.saved_items\",\"emptyWhen\":[\"noSavedContent\"]},{\"id\":\"section_0\",\"label\":\"Discover 1\",\"dataSource\":\"trainingFirst.section0\",\"emptyWhen\":[\"hideHeroImage\"]},{\"id\":\"section_1\",\"label\":\"__HIMI_APP_NAME__\",\"dataSource\":\"trainingFirst.section1\"}]",
|
|
2426
2426
|
"ownerDefaultLayout": "trainingFirst",
|
|
2427
|
+
"weeklyGoal": "2",
|
|
2427
2428
|
"copy": "{\"home.profileBody\":\"Sign in for orders, bookings, RSVPs, memberships and saved posts.\",\"home.storeFeaturedTitle\":\"Shop the gear\"}"
|
|
2428
2429
|
}
|
|
2429
2430
|
}
|
|
@@ -15161,6 +15162,91 @@ const SCREENS = runtimeSetting({
|
|
|
15161
15162
|
}
|
|
15162
15163
|
}
|
|
15163
15164
|
},
|
|
15165
|
+
{
|
|
15166
|
+
"id": "himi_bookings.tracker",
|
|
15167
|
+
"body": {
|
|
15168
|
+
"package": "himalaya",
|
|
15169
|
+
"type": "VStack",
|
|
15170
|
+
"props": {
|
|
15171
|
+
"spacing": 8,
|
|
15172
|
+
"alignment": "leading",
|
|
15173
|
+
"children": [
|
|
15174
|
+
{
|
|
15175
|
+
"id": "",
|
|
15176
|
+
"body": {
|
|
15177
|
+
"package": "himalaya",
|
|
15178
|
+
"type": "Text",
|
|
15179
|
+
"props": {
|
|
15180
|
+
"text": "This week",
|
|
15181
|
+
"style": "footnote",
|
|
15182
|
+
"color": "textSecondary"
|
|
15183
|
+
}
|
|
15184
|
+
}
|
|
15185
|
+
},
|
|
15186
|
+
{
|
|
15187
|
+
"id": "himi_bookings.weekly_label",
|
|
15188
|
+
"body": {
|
|
15189
|
+
"package": "himalaya",
|
|
15190
|
+
"type": "Text",
|
|
15191
|
+
"props": {
|
|
15192
|
+
"text": "$service:himiBookingBookings.weeklyLabel",
|
|
15193
|
+
"style": "title2"
|
|
15194
|
+
}
|
|
15195
|
+
}
|
|
15196
|
+
},
|
|
15197
|
+
{
|
|
15198
|
+
"id": "himi_bookings.weekly_progress",
|
|
15199
|
+
"body": {
|
|
15200
|
+
"package": "himalaya",
|
|
15201
|
+
"type": "ProgressBar",
|
|
15202
|
+
"props": {
|
|
15203
|
+
"progress": 0,
|
|
15204
|
+
"progressPath": "$service:himiBookingBookings.weeklyPct",
|
|
15205
|
+
"tint": "accentPrimary",
|
|
15206
|
+
"trackColor": "surfaceTertiary"
|
|
15207
|
+
}
|
|
15208
|
+
},
|
|
15209
|
+
"modifiers": {
|
|
15210
|
+
"accessibilityLabel": "This week",
|
|
15211
|
+
"accessibilityValue": "$service:himiBookingBookings.weeklyLabel"
|
|
15212
|
+
}
|
|
15213
|
+
},
|
|
15214
|
+
{
|
|
15215
|
+
"id": "",
|
|
15216
|
+
"body": {
|
|
15217
|
+
"package": "himalaya",
|
|
15218
|
+
"type": "Text",
|
|
15219
|
+
"props": {
|
|
15220
|
+
"text": "$service:himiBookingBookings.weeklyRemainingLabel",
|
|
15221
|
+
"style": "body",
|
|
15222
|
+
"color": "textSecondary"
|
|
15223
|
+
}
|
|
15224
|
+
}
|
|
15225
|
+
}
|
|
15226
|
+
]
|
|
15227
|
+
}
|
|
15228
|
+
},
|
|
15229
|
+
"modifiers": {
|
|
15230
|
+
"background": {
|
|
15231
|
+
"token": "surfaceElevated"
|
|
15232
|
+
},
|
|
15233
|
+
"border": {
|
|
15234
|
+
"width": 1,
|
|
15235
|
+
"color": {
|
|
15236
|
+
"token": "border"
|
|
15237
|
+
}
|
|
15238
|
+
},
|
|
15239
|
+
"cornerRadius": 16,
|
|
15240
|
+
"padding": {
|
|
15241
|
+
"leading": 16,
|
|
15242
|
+
"trailing": 16,
|
|
15243
|
+
"top": 16,
|
|
15244
|
+
"bottom": 16
|
|
15245
|
+
},
|
|
15246
|
+
"fillMaxWidth": true,
|
|
15247
|
+
"hiddenPath": "$service:himiBookingBookings.hideTracker"
|
|
15248
|
+
}
|
|
15249
|
+
},
|
|
15164
15250
|
{
|
|
15165
15251
|
"id": "himi_bookings.schedule_view",
|
|
15166
15252
|
"body": {
|
|
@@ -18198,7 +18284,10 @@ const SCREENS = runtimeSetting({
|
|
|
18198
18284
|
"bottom": 24
|
|
18199
18285
|
},
|
|
18200
18286
|
"onAppear": {
|
|
18201
|
-
"actionId": "tier5.himiBookingBookings.load"
|
|
18287
|
+
"actionId": "tier5.himiBookingBookings.load",
|
|
18288
|
+
"params": {
|
|
18289
|
+
"weeklyGoal": "2"
|
|
18290
|
+
}
|
|
18202
18291
|
}
|
|
18203
18292
|
}
|
|
18204
18293
|
},
|
|
@@ -28354,6 +28443,760 @@ const SCREENS = runtimeSetting({
|
|
|
28354
28443
|
"bundleVersion": "0.0.1"
|
|
28355
28444
|
}
|
|
28356
28445
|
},
|
|
28446
|
+
"himi_steps": {
|
|
28447
|
+
"screenId": "himi_steps",
|
|
28448
|
+
"renderer": "sdui_intent",
|
|
28449
|
+
"title": "",
|
|
28450
|
+
"schemaVersion": 1,
|
|
28451
|
+
"cacheControl": {
|
|
28452
|
+
"maxAge": 0,
|
|
28453
|
+
"staleWhileRevalidate": 0
|
|
28454
|
+
},
|
|
28455
|
+
"payload": {
|
|
28456
|
+
"id": "himi_steps.root",
|
|
28457
|
+
"body": {
|
|
28458
|
+
"package": "himalaya",
|
|
28459
|
+
"type": "VStack",
|
|
28460
|
+
"props": {
|
|
28461
|
+
"spacing": 16,
|
|
28462
|
+
"alignment": "leading",
|
|
28463
|
+
"children": [
|
|
28464
|
+
{
|
|
28465
|
+
"id": "himi_steps.title",
|
|
28466
|
+
"body": {
|
|
28467
|
+
"package": "himalaya",
|
|
28468
|
+
"type": "Text",
|
|
28469
|
+
"props": {
|
|
28470
|
+
"text": "Steps",
|
|
28471
|
+
"style": "title1"
|
|
28472
|
+
}
|
|
28473
|
+
}
|
|
28474
|
+
},
|
|
28475
|
+
{
|
|
28476
|
+
"id": "",
|
|
28477
|
+
"body": {
|
|
28478
|
+
"package": "himalaya",
|
|
28479
|
+
"type": "Text",
|
|
28480
|
+
"props": {
|
|
28481
|
+
"text": "Your steps today, measured against your daily goal.",
|
|
28482
|
+
"style": "body",
|
|
28483
|
+
"color": "textSecondary"
|
|
28484
|
+
}
|
|
28485
|
+
}
|
|
28486
|
+
},
|
|
28487
|
+
{
|
|
28488
|
+
"id": "himi_steps.loading",
|
|
28489
|
+
"body": {
|
|
28490
|
+
"package": "himalaya",
|
|
28491
|
+
"type": "VStack",
|
|
28492
|
+
"props": {
|
|
28493
|
+
"spacing": 8,
|
|
28494
|
+
"alignment": "leading",
|
|
28495
|
+
"children": [
|
|
28496
|
+
{
|
|
28497
|
+
"id": "himi_steps.loading_gauge",
|
|
28498
|
+
"body": {
|
|
28499
|
+
"package": "himalaya",
|
|
28500
|
+
"type": "ZStack",
|
|
28501
|
+
"props": {
|
|
28502
|
+
"alignment": "center",
|
|
28503
|
+
"children": []
|
|
28504
|
+
}
|
|
28505
|
+
},
|
|
28506
|
+
"modifiers": {
|
|
28507
|
+
"height": 140,
|
|
28508
|
+
"background": {
|
|
28509
|
+
"token": "surfaceSecondary"
|
|
28510
|
+
},
|
|
28511
|
+
"border": {
|
|
28512
|
+
"width": 1,
|
|
28513
|
+
"color": {
|
|
28514
|
+
"token": "border"
|
|
28515
|
+
}
|
|
28516
|
+
},
|
|
28517
|
+
"cornerRadius": 8
|
|
28518
|
+
}
|
|
28519
|
+
},
|
|
28520
|
+
{
|
|
28521
|
+
"id": "himi_steps.loading_line_1",
|
|
28522
|
+
"body": {
|
|
28523
|
+
"package": "himalaya",
|
|
28524
|
+
"type": "ZStack",
|
|
28525
|
+
"props": {
|
|
28526
|
+
"alignment": "center",
|
|
28527
|
+
"children": []
|
|
28528
|
+
}
|
|
28529
|
+
},
|
|
28530
|
+
"modifiers": {
|
|
28531
|
+
"height": 18,
|
|
28532
|
+
"background": {
|
|
28533
|
+
"token": "surfaceSecondary"
|
|
28534
|
+
},
|
|
28535
|
+
"border": {
|
|
28536
|
+
"width": 1,
|
|
28537
|
+
"color": {
|
|
28538
|
+
"token": "border"
|
|
28539
|
+
}
|
|
28540
|
+
},
|
|
28541
|
+
"cornerRadius": 8
|
|
28542
|
+
}
|
|
28543
|
+
},
|
|
28544
|
+
{
|
|
28545
|
+
"id": "himi_steps.loading_line_2",
|
|
28546
|
+
"body": {
|
|
28547
|
+
"package": "himalaya",
|
|
28548
|
+
"type": "ZStack",
|
|
28549
|
+
"props": {
|
|
28550
|
+
"alignment": "center",
|
|
28551
|
+
"children": []
|
|
28552
|
+
}
|
|
28553
|
+
},
|
|
28554
|
+
"modifiers": {
|
|
28555
|
+
"height": 18,
|
|
28556
|
+
"background": {
|
|
28557
|
+
"token": "surfaceSecondary"
|
|
28558
|
+
},
|
|
28559
|
+
"border": {
|
|
28560
|
+
"width": 1,
|
|
28561
|
+
"color": {
|
|
28562
|
+
"token": "border"
|
|
28563
|
+
}
|
|
28564
|
+
},
|
|
28565
|
+
"cornerRadius": 8
|
|
28566
|
+
}
|
|
28567
|
+
}
|
|
28568
|
+
]
|
|
28569
|
+
}
|
|
28570
|
+
},
|
|
28571
|
+
"modifiers": {
|
|
28572
|
+
"background": {
|
|
28573
|
+
"token": "surfaceElevated"
|
|
28574
|
+
},
|
|
28575
|
+
"border": {
|
|
28576
|
+
"width": 1,
|
|
28577
|
+
"color": {
|
|
28578
|
+
"token": "border"
|
|
28579
|
+
}
|
|
28580
|
+
},
|
|
28581
|
+
"cornerRadius": 16,
|
|
28582
|
+
"padding": {
|
|
28583
|
+
"leading": 16,
|
|
28584
|
+
"trailing": 16,
|
|
28585
|
+
"top": 16,
|
|
28586
|
+
"bottom": 16
|
|
28587
|
+
},
|
|
28588
|
+
"hiddenPath": "$service:himiBrandedSteps.hideLoading"
|
|
28589
|
+
}
|
|
28590
|
+
},
|
|
28591
|
+
{
|
|
28592
|
+
"id": "himi_steps.connect_card",
|
|
28593
|
+
"body": {
|
|
28594
|
+
"package": "himalaya",
|
|
28595
|
+
"type": "VStack",
|
|
28596
|
+
"props": {
|
|
28597
|
+
"spacing": 8,
|
|
28598
|
+
"alignment": "leading",
|
|
28599
|
+
"children": [
|
|
28600
|
+
{
|
|
28601
|
+
"id": "",
|
|
28602
|
+
"body": {
|
|
28603
|
+
"package": "himalaya",
|
|
28604
|
+
"type": "Text",
|
|
28605
|
+
"props": {
|
|
28606
|
+
"text": "Count your steps",
|
|
28607
|
+
"style": "title3"
|
|
28608
|
+
}
|
|
28609
|
+
}
|
|
28610
|
+
},
|
|
28611
|
+
{
|
|
28612
|
+
"id": "",
|
|
28613
|
+
"body": {
|
|
28614
|
+
"package": "himalaya",
|
|
28615
|
+
"type": "Text",
|
|
28616
|
+
"props": {
|
|
28617
|
+
"text": "Allow motion access so the app can count your steps. Your step data stays on your phone.",
|
|
28618
|
+
"style": "body",
|
|
28619
|
+
"color": "textSecondary"
|
|
28620
|
+
}
|
|
28621
|
+
}
|
|
28622
|
+
},
|
|
28623
|
+
{
|
|
28624
|
+
"id": "himi_steps.connect",
|
|
28625
|
+
"body": {
|
|
28626
|
+
"package": "himalaya",
|
|
28627
|
+
"type": "Button",
|
|
28628
|
+
"props": {
|
|
28629
|
+
"title": "Count my steps",
|
|
28630
|
+
"style": "primary",
|
|
28631
|
+
"fullWidth": true,
|
|
28632
|
+
"leadingIcon": "heart",
|
|
28633
|
+
"action": {
|
|
28634
|
+
"actionId": "tier5.himiBrandedSteps.connect"
|
|
28635
|
+
}
|
|
28636
|
+
}
|
|
28637
|
+
}
|
|
28638
|
+
}
|
|
28639
|
+
]
|
|
28640
|
+
}
|
|
28641
|
+
},
|
|
28642
|
+
"modifiers": {
|
|
28643
|
+
"background": {
|
|
28644
|
+
"token": "surfaceElevated"
|
|
28645
|
+
},
|
|
28646
|
+
"border": {
|
|
28647
|
+
"width": 1,
|
|
28648
|
+
"color": {
|
|
28649
|
+
"token": "border"
|
|
28650
|
+
}
|
|
28651
|
+
},
|
|
28652
|
+
"cornerRadius": 16,
|
|
28653
|
+
"padding": {
|
|
28654
|
+
"leading": 16,
|
|
28655
|
+
"trailing": 16,
|
|
28656
|
+
"top": 16,
|
|
28657
|
+
"bottom": 16
|
|
28658
|
+
},
|
|
28659
|
+
"fillMaxWidth": true,
|
|
28660
|
+
"hiddenPath": "$service:himiBrandedSteps.hideConnect"
|
|
28661
|
+
}
|
|
28662
|
+
},
|
|
28663
|
+
{
|
|
28664
|
+
"id": "himi_steps.denied",
|
|
28665
|
+
"body": {
|
|
28666
|
+
"package": "himalaya",
|
|
28667
|
+
"type": "VStack",
|
|
28668
|
+
"props": {
|
|
28669
|
+
"spacing": 8,
|
|
28670
|
+
"alignment": "leading",
|
|
28671
|
+
"children": [
|
|
28672
|
+
{
|
|
28673
|
+
"id": "",
|
|
28674
|
+
"body": {
|
|
28675
|
+
"package": "himalaya",
|
|
28676
|
+
"type": "Text",
|
|
28677
|
+
"props": {
|
|
28678
|
+
"text": "Motion access is off",
|
|
28679
|
+
"style": "bodyEmphasis"
|
|
28680
|
+
}
|
|
28681
|
+
}
|
|
28682
|
+
},
|
|
28683
|
+
{
|
|
28684
|
+
"id": "",
|
|
28685
|
+
"body": {
|
|
28686
|
+
"package": "himalaya",
|
|
28687
|
+
"type": "Text",
|
|
28688
|
+
"props": {
|
|
28689
|
+
"text": "Turn on motion and fitness access for this app in your phone's Settings, then try again.",
|
|
28690
|
+
"style": "footnote",
|
|
28691
|
+
"color": "textSecondary"
|
|
28692
|
+
}
|
|
28693
|
+
}
|
|
28694
|
+
},
|
|
28695
|
+
{
|
|
28696
|
+
"id": "himi_steps.retry",
|
|
28697
|
+
"body": {
|
|
28698
|
+
"package": "himalaya",
|
|
28699
|
+
"type": "Button",
|
|
28700
|
+
"props": {
|
|
28701
|
+
"title": "Try again",
|
|
28702
|
+
"style": "secondary",
|
|
28703
|
+
"action": {
|
|
28704
|
+
"actionId": "tier5.himiBrandedSteps.connect"
|
|
28705
|
+
}
|
|
28706
|
+
}
|
|
28707
|
+
}
|
|
28708
|
+
}
|
|
28709
|
+
]
|
|
28710
|
+
}
|
|
28711
|
+
},
|
|
28712
|
+
"modifiers": {
|
|
28713
|
+
"background": {
|
|
28714
|
+
"token": "surfaceElevated"
|
|
28715
|
+
},
|
|
28716
|
+
"border": {
|
|
28717
|
+
"width": 1,
|
|
28718
|
+
"color": {
|
|
28719
|
+
"token": "border"
|
|
28720
|
+
}
|
|
28721
|
+
},
|
|
28722
|
+
"cornerRadius": 16,
|
|
28723
|
+
"padding": {
|
|
28724
|
+
"leading": 16,
|
|
28725
|
+
"trailing": 16,
|
|
28726
|
+
"top": 16,
|
|
28727
|
+
"bottom": 16
|
|
28728
|
+
},
|
|
28729
|
+
"fillMaxWidth": true,
|
|
28730
|
+
"hiddenPath": "$service:himiBrandedSteps.hideDenied"
|
|
28731
|
+
}
|
|
28732
|
+
},
|
|
28733
|
+
{
|
|
28734
|
+
"id": "himi_steps.error",
|
|
28735
|
+
"body": {
|
|
28736
|
+
"package": "himalaya",
|
|
28737
|
+
"type": "VStack",
|
|
28738
|
+
"props": {
|
|
28739
|
+
"spacing": 8,
|
|
28740
|
+
"alignment": "leading",
|
|
28741
|
+
"children": [
|
|
28742
|
+
{
|
|
28743
|
+
"id": "",
|
|
28744
|
+
"body": {
|
|
28745
|
+
"package": "himalaya",
|
|
28746
|
+
"type": "Text",
|
|
28747
|
+
"props": {
|
|
28748
|
+
"text": "Steps could not load",
|
|
28749
|
+
"style": "bodyEmphasis"
|
|
28750
|
+
}
|
|
28751
|
+
}
|
|
28752
|
+
},
|
|
28753
|
+
{
|
|
28754
|
+
"id": "",
|
|
28755
|
+
"body": {
|
|
28756
|
+
"package": "himalaya",
|
|
28757
|
+
"type": "Text",
|
|
28758
|
+
"props": {
|
|
28759
|
+
"text": "$service:himiBrandedSteps.errorText",
|
|
28760
|
+
"style": "footnote",
|
|
28761
|
+
"color": "textSecondary",
|
|
28762
|
+
"collapseWhenEmpty": true
|
|
28763
|
+
}
|
|
28764
|
+
}
|
|
28765
|
+
},
|
|
28766
|
+
{
|
|
28767
|
+
"id": "himi_steps.error_retry",
|
|
28768
|
+
"body": {
|
|
28769
|
+
"package": "himalaya",
|
|
28770
|
+
"type": "Button",
|
|
28771
|
+
"props": {
|
|
28772
|
+
"title": "Try again",
|
|
28773
|
+
"style": "secondary",
|
|
28774
|
+
"action": {
|
|
28775
|
+
"actionId": "tier5.himiBrandedSteps.refresh"
|
|
28776
|
+
}
|
|
28777
|
+
}
|
|
28778
|
+
}
|
|
28779
|
+
}
|
|
28780
|
+
]
|
|
28781
|
+
}
|
|
28782
|
+
},
|
|
28783
|
+
"modifiers": {
|
|
28784
|
+
"background": {
|
|
28785
|
+
"token": "surfaceElevated"
|
|
28786
|
+
},
|
|
28787
|
+
"border": {
|
|
28788
|
+
"width": 1,
|
|
28789
|
+
"color": {
|
|
28790
|
+
"token": "border"
|
|
28791
|
+
}
|
|
28792
|
+
},
|
|
28793
|
+
"cornerRadius": 16,
|
|
28794
|
+
"padding": {
|
|
28795
|
+
"leading": 16,
|
|
28796
|
+
"trailing": 16,
|
|
28797
|
+
"top": 16,
|
|
28798
|
+
"bottom": 16
|
|
28799
|
+
},
|
|
28800
|
+
"fillMaxWidth": true,
|
|
28801
|
+
"hiddenPath": "$service:himiBrandedSteps.hideError"
|
|
28802
|
+
}
|
|
28803
|
+
},
|
|
28804
|
+
{
|
|
28805
|
+
"id": "himi_steps.unsupported",
|
|
28806
|
+
"body": {
|
|
28807
|
+
"package": "himalaya",
|
|
28808
|
+
"type": "VStack",
|
|
28809
|
+
"props": {
|
|
28810
|
+
"spacing": 8,
|
|
28811
|
+
"alignment": "leading",
|
|
28812
|
+
"children": [
|
|
28813
|
+
{
|
|
28814
|
+
"id": "",
|
|
28815
|
+
"body": {
|
|
28816
|
+
"package": "himalaya",
|
|
28817
|
+
"type": "Text",
|
|
28818
|
+
"props": {
|
|
28819
|
+
"text": "Step counting is not available",
|
|
28820
|
+
"style": "bodyEmphasis"
|
|
28821
|
+
}
|
|
28822
|
+
}
|
|
28823
|
+
},
|
|
28824
|
+
{
|
|
28825
|
+
"id": "",
|
|
28826
|
+
"body": {
|
|
28827
|
+
"package": "himalaya",
|
|
28828
|
+
"type": "Text",
|
|
28829
|
+
"props": {
|
|
28830
|
+
"text": "This device has no step sensor.",
|
|
28831
|
+
"style": "footnote",
|
|
28832
|
+
"color": "textSecondary"
|
|
28833
|
+
}
|
|
28834
|
+
}
|
|
28835
|
+
}
|
|
28836
|
+
]
|
|
28837
|
+
}
|
|
28838
|
+
},
|
|
28839
|
+
"modifiers": {
|
|
28840
|
+
"background": {
|
|
28841
|
+
"token": "surfaceElevated"
|
|
28842
|
+
},
|
|
28843
|
+
"border": {
|
|
28844
|
+
"width": 1,
|
|
28845
|
+
"color": {
|
|
28846
|
+
"token": "border"
|
|
28847
|
+
}
|
|
28848
|
+
},
|
|
28849
|
+
"cornerRadius": 16,
|
|
28850
|
+
"padding": {
|
|
28851
|
+
"leading": 16,
|
|
28852
|
+
"trailing": 16,
|
|
28853
|
+
"top": 16,
|
|
28854
|
+
"bottom": 16
|
|
28855
|
+
},
|
|
28856
|
+
"fillMaxWidth": true,
|
|
28857
|
+
"hiddenPath": "$service:himiBrandedSteps.hideUnsupported"
|
|
28858
|
+
}
|
|
28859
|
+
},
|
|
28860
|
+
{
|
|
28861
|
+
"id": "himi_steps.progress",
|
|
28862
|
+
"body": {
|
|
28863
|
+
"package": "himalaya",
|
|
28864
|
+
"type": "VStack",
|
|
28865
|
+
"props": {
|
|
28866
|
+
"spacing": 8,
|
|
28867
|
+
"alignment": "leading",
|
|
28868
|
+
"children": [
|
|
28869
|
+
{
|
|
28870
|
+
"id": "",
|
|
28871
|
+
"body": {
|
|
28872
|
+
"package": "himalaya",
|
|
28873
|
+
"type": "Text",
|
|
28874
|
+
"props": {
|
|
28875
|
+
"text": "$service:himiBrandedSteps.sourceLabel",
|
|
28876
|
+
"style": "footnote",
|
|
28877
|
+
"color": "textSecondary",
|
|
28878
|
+
"collapseWhenEmpty": true
|
|
28879
|
+
}
|
|
28880
|
+
}
|
|
28881
|
+
},
|
|
28882
|
+
{
|
|
28883
|
+
"id": "himi_steps.gauge",
|
|
28884
|
+
"body": {
|
|
28885
|
+
"package": "himalaya",
|
|
28886
|
+
"type": "Gauge",
|
|
28887
|
+
"props": {
|
|
28888
|
+
"valuePath": "$service:himiBrandedSteps.pct",
|
|
28889
|
+
"kind": "radial",
|
|
28890
|
+
"tint": "accentPrimary",
|
|
28891
|
+
"animated": true
|
|
28892
|
+
}
|
|
28893
|
+
},
|
|
28894
|
+
"modifiers": {
|
|
28895
|
+
"accessibilityLabel": "Daily step goal",
|
|
28896
|
+
"accessibilityValue": "$service:himiBrandedSteps.accessibilityValue"
|
|
28897
|
+
}
|
|
28898
|
+
},
|
|
28899
|
+
{
|
|
28900
|
+
"id": "himi_steps.count",
|
|
28901
|
+
"body": {
|
|
28902
|
+
"package": "himalaya",
|
|
28903
|
+
"type": "Text",
|
|
28904
|
+
"props": {
|
|
28905
|
+
"text": "$service:himiBrandedSteps.stepsLabel",
|
|
28906
|
+
"style": "display"
|
|
28907
|
+
}
|
|
28908
|
+
}
|
|
28909
|
+
},
|
|
28910
|
+
{
|
|
28911
|
+
"id": "",
|
|
28912
|
+
"body": {
|
|
28913
|
+
"package": "himalaya",
|
|
28914
|
+
"type": "Text",
|
|
28915
|
+
"props": {
|
|
28916
|
+
"text": "$service:himiBrandedSteps.goalLabel",
|
|
28917
|
+
"style": "body",
|
|
28918
|
+
"color": "textSecondary"
|
|
28919
|
+
}
|
|
28920
|
+
}
|
|
28921
|
+
},
|
|
28922
|
+
{
|
|
28923
|
+
"id": "himi_steps.remaining",
|
|
28924
|
+
"body": {
|
|
28925
|
+
"package": "himalaya",
|
|
28926
|
+
"type": "Text",
|
|
28927
|
+
"props": {
|
|
28928
|
+
"text": "$service:himiBrandedSteps.remainingLabel",
|
|
28929
|
+
"style": "bodyEmphasis"
|
|
28930
|
+
}
|
|
28931
|
+
}
|
|
28932
|
+
},
|
|
28933
|
+
{
|
|
28934
|
+
"id": "himi_steps.refresh",
|
|
28935
|
+
"body": {
|
|
28936
|
+
"package": "himalaya",
|
|
28937
|
+
"type": "Button",
|
|
28938
|
+
"props": {
|
|
28939
|
+
"title": "Refresh",
|
|
28940
|
+
"style": "secondary",
|
|
28941
|
+
"action": {
|
|
28942
|
+
"actionId": "tier5.himiBrandedSteps.refresh"
|
|
28943
|
+
}
|
|
28944
|
+
}
|
|
28945
|
+
}
|
|
28946
|
+
}
|
|
28947
|
+
]
|
|
28948
|
+
}
|
|
28949
|
+
},
|
|
28950
|
+
"modifiers": {
|
|
28951
|
+
"background": {
|
|
28952
|
+
"token": "surfaceElevated"
|
|
28953
|
+
},
|
|
28954
|
+
"border": {
|
|
28955
|
+
"width": 1,
|
|
28956
|
+
"color": {
|
|
28957
|
+
"token": "border"
|
|
28958
|
+
}
|
|
28959
|
+
},
|
|
28960
|
+
"cornerRadius": 16,
|
|
28961
|
+
"padding": {
|
|
28962
|
+
"leading": 16,
|
|
28963
|
+
"trailing": 16,
|
|
28964
|
+
"top": 16,
|
|
28965
|
+
"bottom": 16
|
|
28966
|
+
},
|
|
28967
|
+
"fillMaxWidth": true,
|
|
28968
|
+
"hiddenPath": "$service:himiBrandedSteps.hideProgress"
|
|
28969
|
+
}
|
|
28970
|
+
},
|
|
28971
|
+
{
|
|
28972
|
+
"id": "himi_steps.history_hint",
|
|
28973
|
+
"body": {
|
|
28974
|
+
"package": "himalaya",
|
|
28975
|
+
"type": "VStack",
|
|
28976
|
+
"props": {
|
|
28977
|
+
"spacing": 8,
|
|
28978
|
+
"alignment": "leading",
|
|
28979
|
+
"children": [
|
|
28980
|
+
{
|
|
28981
|
+
"id": "",
|
|
28982
|
+
"body": {
|
|
28983
|
+
"package": "himalaya",
|
|
28984
|
+
"type": "Text",
|
|
28985
|
+
"props": {
|
|
28986
|
+
"text": "Whole-day counting is on",
|
|
28987
|
+
"style": "bodyEmphasis"
|
|
28988
|
+
}
|
|
28989
|
+
}
|
|
28990
|
+
},
|
|
28991
|
+
{
|
|
28992
|
+
"id": "",
|
|
28993
|
+
"body": {
|
|
28994
|
+
"package": "himalaya",
|
|
28995
|
+
"type": "Text",
|
|
28996
|
+
"props": {
|
|
28997
|
+
"text": "From now on your phone counts every step, also while the app is closed. Steps from earlier today may be missing.",
|
|
28998
|
+
"style": "footnote",
|
|
28999
|
+
"color": "textSecondary"
|
|
29000
|
+
}
|
|
29001
|
+
}
|
|
29002
|
+
}
|
|
29003
|
+
]
|
|
29004
|
+
}
|
|
29005
|
+
},
|
|
29006
|
+
"modifiers": {
|
|
29007
|
+
"background": {
|
|
29008
|
+
"token": "surfaceElevated"
|
|
29009
|
+
},
|
|
29010
|
+
"border": {
|
|
29011
|
+
"width": 1,
|
|
29012
|
+
"color": {
|
|
29013
|
+
"token": "border"
|
|
29014
|
+
}
|
|
29015
|
+
},
|
|
29016
|
+
"cornerRadius": 16,
|
|
29017
|
+
"padding": {
|
|
29018
|
+
"leading": 16,
|
|
29019
|
+
"trailing": 16,
|
|
29020
|
+
"top": 16,
|
|
29021
|
+
"bottom": 16
|
|
29022
|
+
},
|
|
29023
|
+
"fillMaxWidth": true,
|
|
29024
|
+
"hiddenPath": "$service:himiBrandedSteps.hideHistoryHint"
|
|
29025
|
+
}
|
|
29026
|
+
},
|
|
29027
|
+
{
|
|
29028
|
+
"id": "himi_steps.no_data",
|
|
29029
|
+
"body": {
|
|
29030
|
+
"package": "himalaya",
|
|
29031
|
+
"type": "VStack",
|
|
29032
|
+
"props": {
|
|
29033
|
+
"spacing": 8,
|
|
29034
|
+
"alignment": "leading",
|
|
29035
|
+
"children": [
|
|
29036
|
+
{
|
|
29037
|
+
"id": "",
|
|
29038
|
+
"body": {
|
|
29039
|
+
"package": "himalaya",
|
|
29040
|
+
"type": "Text",
|
|
29041
|
+
"props": {
|
|
29042
|
+
"text": "No steps recorded yet today",
|
|
29043
|
+
"style": "bodyEmphasis"
|
|
29044
|
+
}
|
|
29045
|
+
}
|
|
29046
|
+
},
|
|
29047
|
+
{
|
|
29048
|
+
"id": "",
|
|
29049
|
+
"body": {
|
|
29050
|
+
"package": "himalaya",
|
|
29051
|
+
"type": "Text",
|
|
29052
|
+
"props": {
|
|
29053
|
+
"text": "Steps show here once your phone records them. Walk a little, then tap Refresh.",
|
|
29054
|
+
"style": "footnote",
|
|
29055
|
+
"color": "textSecondary"
|
|
29056
|
+
}
|
|
29057
|
+
}
|
|
29058
|
+
},
|
|
29059
|
+
{
|
|
29060
|
+
"id": "himi_steps.no_data_refresh",
|
|
29061
|
+
"body": {
|
|
29062
|
+
"package": "himalaya",
|
|
29063
|
+
"type": "Button",
|
|
29064
|
+
"props": {
|
|
29065
|
+
"title": "Refresh",
|
|
29066
|
+
"style": "secondary",
|
|
29067
|
+
"action": {
|
|
29068
|
+
"actionId": "tier5.himiBrandedSteps.refresh"
|
|
29069
|
+
}
|
|
29070
|
+
}
|
|
29071
|
+
}
|
|
29072
|
+
}
|
|
29073
|
+
]
|
|
29074
|
+
}
|
|
29075
|
+
},
|
|
29076
|
+
"modifiers": {
|
|
29077
|
+
"background": {
|
|
29078
|
+
"token": "surfaceElevated"
|
|
29079
|
+
},
|
|
29080
|
+
"border": {
|
|
29081
|
+
"width": 1,
|
|
29082
|
+
"color": {
|
|
29083
|
+
"token": "border"
|
|
29084
|
+
}
|
|
29085
|
+
},
|
|
29086
|
+
"cornerRadius": 16,
|
|
29087
|
+
"padding": {
|
|
29088
|
+
"leading": 16,
|
|
29089
|
+
"trailing": 16,
|
|
29090
|
+
"top": 16,
|
|
29091
|
+
"bottom": 16
|
|
29092
|
+
},
|
|
29093
|
+
"fillMaxWidth": true,
|
|
29094
|
+
"hiddenPath": "$service:himiBrandedSteps.hideNoData"
|
|
29095
|
+
}
|
|
29096
|
+
},
|
|
29097
|
+
{
|
|
29098
|
+
"id": "himi_steps.setup_card",
|
|
29099
|
+
"body": {
|
|
29100
|
+
"package": "himalaya",
|
|
29101
|
+
"type": "VStack",
|
|
29102
|
+
"props": {
|
|
29103
|
+
"spacing": 8,
|
|
29104
|
+
"alignment": "leading",
|
|
29105
|
+
"children": [
|
|
29106
|
+
{
|
|
29107
|
+
"id": "",
|
|
29108
|
+
"body": {
|
|
29109
|
+
"package": "himalaya",
|
|
29110
|
+
"type": "Text",
|
|
29111
|
+
"props": {
|
|
29112
|
+
"text": "See your whole day",
|
|
29113
|
+
"style": "bodyEmphasis"
|
|
29114
|
+
}
|
|
29115
|
+
}
|
|
29116
|
+
},
|
|
29117
|
+
{
|
|
29118
|
+
"id": "",
|
|
29119
|
+
"body": {
|
|
29120
|
+
"package": "himalaya",
|
|
29121
|
+
"type": "Text",
|
|
29122
|
+
"props": {
|
|
29123
|
+
"text": "Update Google Play services to count all your steps today, also the ones you take while the app is closed.",
|
|
29124
|
+
"style": "footnote",
|
|
29125
|
+
"color": "textSecondary"
|
|
29126
|
+
}
|
|
29127
|
+
}
|
|
29128
|
+
},
|
|
29129
|
+
{
|
|
29130
|
+
"id": "himi_steps.setup",
|
|
29131
|
+
"body": {
|
|
29132
|
+
"package": "himalaya",
|
|
29133
|
+
"type": "Button",
|
|
29134
|
+
"props": {
|
|
29135
|
+
"title": "Update Google Play services",
|
|
29136
|
+
"style": "primary",
|
|
29137
|
+
"fullWidth": true,
|
|
29138
|
+
"action": {
|
|
29139
|
+
"actionId": "tier5.himiBrandedSteps.setup"
|
|
29140
|
+
}
|
|
29141
|
+
}
|
|
29142
|
+
}
|
|
29143
|
+
}
|
|
29144
|
+
]
|
|
29145
|
+
}
|
|
29146
|
+
},
|
|
29147
|
+
"modifiers": {
|
|
29148
|
+
"background": {
|
|
29149
|
+
"token": "surfaceElevated"
|
|
29150
|
+
},
|
|
29151
|
+
"border": {
|
|
29152
|
+
"width": 1,
|
|
29153
|
+
"color": {
|
|
29154
|
+
"token": "border"
|
|
29155
|
+
}
|
|
29156
|
+
},
|
|
29157
|
+
"cornerRadius": 16,
|
|
29158
|
+
"padding": {
|
|
29159
|
+
"leading": 16,
|
|
29160
|
+
"trailing": 16,
|
|
29161
|
+
"top": 16,
|
|
29162
|
+
"bottom": 16
|
|
29163
|
+
},
|
|
29164
|
+
"fillMaxWidth": true,
|
|
29165
|
+
"hiddenPath": "$service:himiBrandedSteps.hideSetup"
|
|
29166
|
+
}
|
|
29167
|
+
}
|
|
29168
|
+
]
|
|
29169
|
+
}
|
|
29170
|
+
},
|
|
29171
|
+
"modifiers": {
|
|
29172
|
+
"background": {
|
|
29173
|
+
"token": "surfacePrimary"
|
|
29174
|
+
},
|
|
29175
|
+
"padding": {
|
|
29176
|
+
"leading": 16,
|
|
29177
|
+
"trailing": 16,
|
|
29178
|
+
"top": 18,
|
|
29179
|
+
"bottom": 28
|
|
29180
|
+
},
|
|
29181
|
+
"onAppear": {
|
|
29182
|
+
"actionId": "tier5.himiBrandedSteps.load",
|
|
29183
|
+
"params": {
|
|
29184
|
+
"goal": "8000"
|
|
29185
|
+
}
|
|
29186
|
+
}
|
|
29187
|
+
}
|
|
29188
|
+
},
|
|
29189
|
+
"logicBundle": {
|
|
29190
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-steps?integrity=",
|
|
29191
|
+
"integrity": "",
|
|
29192
|
+
"contentType": "application/javascript+ts-bundle",
|
|
29193
|
+
"declaredCapabilities": [
|
|
29194
|
+
"motion"
|
|
29195
|
+
],
|
|
29196
|
+
"minBinaryVersion": "0.1.0",
|
|
29197
|
+
"bundleVersion": "0.0.1"
|
|
29198
|
+
}
|
|
29199
|
+
},
|
|
28357
29200
|
}) as Record<string, unknown>;
|
|
28358
29201
|
|
|
28359
29202
|
interface LiveSeed { path: string; body: unknown; listKey: string; prefix: string; limit?: number }
|