@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
|
@@ -2923,7 +2923,8 @@ const SCREENS = runtimeSetting({
|
|
|
2923
2923
|
"params": {
|
|
2924
2924
|
"verticals": "[\"store\",\"bookings\",\"restaurants\",\"programs\",\"plans\",\"feed\",\"members\",\"forum\",\"coupons\",\"notifications\",\"loyalty\",\"reviews\",\"portfolio\",\"reservations\",\"invoices\",\"badges\",\"notifsettings\",\"events\",\"blog\",\"groups\",\"cms\",\"donations\",\"giftCards\",\"videos\",\"podcasts\",\"forms\",\"galleries\",\"inbox\",\"faq\"]",
|
|
2925
2925
|
"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\":\"classic.section0\",\"emptyWhen\":[\"hideFeaturedSkeleton\"]},{\"id\":\"section_1\",\"label\":\"Featured products\",\"dataSource\":\"classic.section1\"}]",
|
|
2926
|
-
"ownerDefaultLayout": ""
|
|
2926
|
+
"ownerDefaultLayout": "",
|
|
2927
|
+
"weeklyGoal": "2"
|
|
2927
2928
|
}
|
|
2928
2929
|
}
|
|
2929
2930
|
}
|
|
@@ -16003,6 +16004,91 @@ const SCREENS = runtimeSetting({
|
|
|
16003
16004
|
}
|
|
16004
16005
|
}
|
|
16005
16006
|
},
|
|
16007
|
+
{
|
|
16008
|
+
"id": "himi_bookings.tracker",
|
|
16009
|
+
"body": {
|
|
16010
|
+
"package": "himalaya",
|
|
16011
|
+
"type": "VStack",
|
|
16012
|
+
"props": {
|
|
16013
|
+
"spacing": 8,
|
|
16014
|
+
"alignment": "leading",
|
|
16015
|
+
"children": [
|
|
16016
|
+
{
|
|
16017
|
+
"id": "",
|
|
16018
|
+
"body": {
|
|
16019
|
+
"package": "himalaya",
|
|
16020
|
+
"type": "Text",
|
|
16021
|
+
"props": {
|
|
16022
|
+
"text": "This week",
|
|
16023
|
+
"style": "footnote",
|
|
16024
|
+
"color": "textSecondary"
|
|
16025
|
+
}
|
|
16026
|
+
}
|
|
16027
|
+
},
|
|
16028
|
+
{
|
|
16029
|
+
"id": "himi_bookings.weekly_label",
|
|
16030
|
+
"body": {
|
|
16031
|
+
"package": "himalaya",
|
|
16032
|
+
"type": "Text",
|
|
16033
|
+
"props": {
|
|
16034
|
+
"text": "$service:himiBookingBookings.weeklyLabel",
|
|
16035
|
+
"style": "title2"
|
|
16036
|
+
}
|
|
16037
|
+
}
|
|
16038
|
+
},
|
|
16039
|
+
{
|
|
16040
|
+
"id": "himi_bookings.weekly_progress",
|
|
16041
|
+
"body": {
|
|
16042
|
+
"package": "himalaya",
|
|
16043
|
+
"type": "ProgressBar",
|
|
16044
|
+
"props": {
|
|
16045
|
+
"progress": 0,
|
|
16046
|
+
"progressPath": "$service:himiBookingBookings.weeklyPct",
|
|
16047
|
+
"tint": "accentPrimary",
|
|
16048
|
+
"trackColor": "surfaceTertiary"
|
|
16049
|
+
}
|
|
16050
|
+
},
|
|
16051
|
+
"modifiers": {
|
|
16052
|
+
"accessibilityLabel": "This week",
|
|
16053
|
+
"accessibilityValue": "$service:himiBookingBookings.weeklyLabel"
|
|
16054
|
+
}
|
|
16055
|
+
},
|
|
16056
|
+
{
|
|
16057
|
+
"id": "",
|
|
16058
|
+
"body": {
|
|
16059
|
+
"package": "himalaya",
|
|
16060
|
+
"type": "Text",
|
|
16061
|
+
"props": {
|
|
16062
|
+
"text": "$service:himiBookingBookings.weeklyRemainingLabel",
|
|
16063
|
+
"style": "body",
|
|
16064
|
+
"color": "textSecondary"
|
|
16065
|
+
}
|
|
16066
|
+
}
|
|
16067
|
+
}
|
|
16068
|
+
]
|
|
16069
|
+
}
|
|
16070
|
+
},
|
|
16071
|
+
"modifiers": {
|
|
16072
|
+
"background": {
|
|
16073
|
+
"token": "surfaceElevated"
|
|
16074
|
+
},
|
|
16075
|
+
"border": {
|
|
16076
|
+
"width": 1,
|
|
16077
|
+
"color": {
|
|
16078
|
+
"token": "border"
|
|
16079
|
+
}
|
|
16080
|
+
},
|
|
16081
|
+
"cornerRadius": 16,
|
|
16082
|
+
"padding": {
|
|
16083
|
+
"leading": 16,
|
|
16084
|
+
"trailing": 16,
|
|
16085
|
+
"top": 16,
|
|
16086
|
+
"bottom": 16
|
|
16087
|
+
},
|
|
16088
|
+
"fillMaxWidth": true,
|
|
16089
|
+
"hiddenPath": "$service:himiBookingBookings.hideTracker"
|
|
16090
|
+
}
|
|
16091
|
+
},
|
|
16006
16092
|
{
|
|
16007
16093
|
"id": "himi_bookings.schedule_view",
|
|
16008
16094
|
"body": {
|
|
@@ -19040,7 +19126,10 @@ const SCREENS = runtimeSetting({
|
|
|
19040
19126
|
"bottom": 24
|
|
19041
19127
|
},
|
|
19042
19128
|
"onAppear": {
|
|
19043
|
-
"actionId": "tier5.himiBookingBookings.load"
|
|
19129
|
+
"actionId": "tier5.himiBookingBookings.load",
|
|
19130
|
+
"params": {
|
|
19131
|
+
"weeklyGoal": "2"
|
|
19132
|
+
}
|
|
19044
19133
|
}
|
|
19045
19134
|
}
|
|
19046
19135
|
},
|
|
@@ -58553,6 +58642,760 @@ const SCREENS = runtimeSetting({
|
|
|
58553
58642
|
"bundleVersion": "0.0.1"
|
|
58554
58643
|
}
|
|
58555
58644
|
},
|
|
58645
|
+
"himi_steps": {
|
|
58646
|
+
"screenId": "himi_steps",
|
|
58647
|
+
"renderer": "sdui_intent",
|
|
58648
|
+
"title": "",
|
|
58649
|
+
"schemaVersion": 1,
|
|
58650
|
+
"cacheControl": {
|
|
58651
|
+
"maxAge": 0,
|
|
58652
|
+
"staleWhileRevalidate": 0
|
|
58653
|
+
},
|
|
58654
|
+
"payload": {
|
|
58655
|
+
"id": "himi_steps.root",
|
|
58656
|
+
"body": {
|
|
58657
|
+
"package": "himalaya",
|
|
58658
|
+
"type": "VStack",
|
|
58659
|
+
"props": {
|
|
58660
|
+
"spacing": 16,
|
|
58661
|
+
"alignment": "leading",
|
|
58662
|
+
"children": [
|
|
58663
|
+
{
|
|
58664
|
+
"id": "himi_steps.title",
|
|
58665
|
+
"body": {
|
|
58666
|
+
"package": "himalaya",
|
|
58667
|
+
"type": "Text",
|
|
58668
|
+
"props": {
|
|
58669
|
+
"text": "Steps",
|
|
58670
|
+
"style": "title1"
|
|
58671
|
+
}
|
|
58672
|
+
}
|
|
58673
|
+
},
|
|
58674
|
+
{
|
|
58675
|
+
"id": "",
|
|
58676
|
+
"body": {
|
|
58677
|
+
"package": "himalaya",
|
|
58678
|
+
"type": "Text",
|
|
58679
|
+
"props": {
|
|
58680
|
+
"text": "Your steps today, measured against your daily goal.",
|
|
58681
|
+
"style": "body",
|
|
58682
|
+
"color": "textSecondary"
|
|
58683
|
+
}
|
|
58684
|
+
}
|
|
58685
|
+
},
|
|
58686
|
+
{
|
|
58687
|
+
"id": "himi_steps.loading",
|
|
58688
|
+
"body": {
|
|
58689
|
+
"package": "himalaya",
|
|
58690
|
+
"type": "VStack",
|
|
58691
|
+
"props": {
|
|
58692
|
+
"spacing": 8,
|
|
58693
|
+
"alignment": "leading",
|
|
58694
|
+
"children": [
|
|
58695
|
+
{
|
|
58696
|
+
"id": "himi_steps.loading_gauge",
|
|
58697
|
+
"body": {
|
|
58698
|
+
"package": "himalaya",
|
|
58699
|
+
"type": "ZStack",
|
|
58700
|
+
"props": {
|
|
58701
|
+
"alignment": "center",
|
|
58702
|
+
"children": []
|
|
58703
|
+
}
|
|
58704
|
+
},
|
|
58705
|
+
"modifiers": {
|
|
58706
|
+
"height": 140,
|
|
58707
|
+
"background": {
|
|
58708
|
+
"token": "surfaceSecondary"
|
|
58709
|
+
},
|
|
58710
|
+
"border": {
|
|
58711
|
+
"width": 1,
|
|
58712
|
+
"color": {
|
|
58713
|
+
"token": "border"
|
|
58714
|
+
}
|
|
58715
|
+
},
|
|
58716
|
+
"cornerRadius": 8
|
|
58717
|
+
}
|
|
58718
|
+
},
|
|
58719
|
+
{
|
|
58720
|
+
"id": "himi_steps.loading_line_1",
|
|
58721
|
+
"body": {
|
|
58722
|
+
"package": "himalaya",
|
|
58723
|
+
"type": "ZStack",
|
|
58724
|
+
"props": {
|
|
58725
|
+
"alignment": "center",
|
|
58726
|
+
"children": []
|
|
58727
|
+
}
|
|
58728
|
+
},
|
|
58729
|
+
"modifiers": {
|
|
58730
|
+
"height": 18,
|
|
58731
|
+
"background": {
|
|
58732
|
+
"token": "surfaceSecondary"
|
|
58733
|
+
},
|
|
58734
|
+
"border": {
|
|
58735
|
+
"width": 1,
|
|
58736
|
+
"color": {
|
|
58737
|
+
"token": "border"
|
|
58738
|
+
}
|
|
58739
|
+
},
|
|
58740
|
+
"cornerRadius": 8
|
|
58741
|
+
}
|
|
58742
|
+
},
|
|
58743
|
+
{
|
|
58744
|
+
"id": "himi_steps.loading_line_2",
|
|
58745
|
+
"body": {
|
|
58746
|
+
"package": "himalaya",
|
|
58747
|
+
"type": "ZStack",
|
|
58748
|
+
"props": {
|
|
58749
|
+
"alignment": "center",
|
|
58750
|
+
"children": []
|
|
58751
|
+
}
|
|
58752
|
+
},
|
|
58753
|
+
"modifiers": {
|
|
58754
|
+
"height": 18,
|
|
58755
|
+
"background": {
|
|
58756
|
+
"token": "surfaceSecondary"
|
|
58757
|
+
},
|
|
58758
|
+
"border": {
|
|
58759
|
+
"width": 1,
|
|
58760
|
+
"color": {
|
|
58761
|
+
"token": "border"
|
|
58762
|
+
}
|
|
58763
|
+
},
|
|
58764
|
+
"cornerRadius": 8
|
|
58765
|
+
}
|
|
58766
|
+
}
|
|
58767
|
+
]
|
|
58768
|
+
}
|
|
58769
|
+
},
|
|
58770
|
+
"modifiers": {
|
|
58771
|
+
"background": {
|
|
58772
|
+
"token": "surfaceElevated"
|
|
58773
|
+
},
|
|
58774
|
+
"border": {
|
|
58775
|
+
"width": 1,
|
|
58776
|
+
"color": {
|
|
58777
|
+
"token": "border"
|
|
58778
|
+
}
|
|
58779
|
+
},
|
|
58780
|
+
"cornerRadius": 16,
|
|
58781
|
+
"padding": {
|
|
58782
|
+
"leading": 16,
|
|
58783
|
+
"trailing": 16,
|
|
58784
|
+
"top": 16,
|
|
58785
|
+
"bottom": 16
|
|
58786
|
+
},
|
|
58787
|
+
"hiddenPath": "$service:himiBrandedSteps.hideLoading"
|
|
58788
|
+
}
|
|
58789
|
+
},
|
|
58790
|
+
{
|
|
58791
|
+
"id": "himi_steps.connect_card",
|
|
58792
|
+
"body": {
|
|
58793
|
+
"package": "himalaya",
|
|
58794
|
+
"type": "VStack",
|
|
58795
|
+
"props": {
|
|
58796
|
+
"spacing": 8,
|
|
58797
|
+
"alignment": "leading",
|
|
58798
|
+
"children": [
|
|
58799
|
+
{
|
|
58800
|
+
"id": "",
|
|
58801
|
+
"body": {
|
|
58802
|
+
"package": "himalaya",
|
|
58803
|
+
"type": "Text",
|
|
58804
|
+
"props": {
|
|
58805
|
+
"text": "Count your steps",
|
|
58806
|
+
"style": "title3"
|
|
58807
|
+
}
|
|
58808
|
+
}
|
|
58809
|
+
},
|
|
58810
|
+
{
|
|
58811
|
+
"id": "",
|
|
58812
|
+
"body": {
|
|
58813
|
+
"package": "himalaya",
|
|
58814
|
+
"type": "Text",
|
|
58815
|
+
"props": {
|
|
58816
|
+
"text": "Allow motion access so the app can count your steps. Your step data stays on your phone.",
|
|
58817
|
+
"style": "body",
|
|
58818
|
+
"color": "textSecondary"
|
|
58819
|
+
}
|
|
58820
|
+
}
|
|
58821
|
+
},
|
|
58822
|
+
{
|
|
58823
|
+
"id": "himi_steps.connect",
|
|
58824
|
+
"body": {
|
|
58825
|
+
"package": "himalaya",
|
|
58826
|
+
"type": "Button",
|
|
58827
|
+
"props": {
|
|
58828
|
+
"title": "Count my steps",
|
|
58829
|
+
"style": "primary",
|
|
58830
|
+
"fullWidth": true,
|
|
58831
|
+
"leadingIcon": "heart",
|
|
58832
|
+
"action": {
|
|
58833
|
+
"actionId": "tier5.himiBrandedSteps.connect"
|
|
58834
|
+
}
|
|
58835
|
+
}
|
|
58836
|
+
}
|
|
58837
|
+
}
|
|
58838
|
+
]
|
|
58839
|
+
}
|
|
58840
|
+
},
|
|
58841
|
+
"modifiers": {
|
|
58842
|
+
"background": {
|
|
58843
|
+
"token": "surfaceElevated"
|
|
58844
|
+
},
|
|
58845
|
+
"border": {
|
|
58846
|
+
"width": 1,
|
|
58847
|
+
"color": {
|
|
58848
|
+
"token": "border"
|
|
58849
|
+
}
|
|
58850
|
+
},
|
|
58851
|
+
"cornerRadius": 16,
|
|
58852
|
+
"padding": {
|
|
58853
|
+
"leading": 16,
|
|
58854
|
+
"trailing": 16,
|
|
58855
|
+
"top": 16,
|
|
58856
|
+
"bottom": 16
|
|
58857
|
+
},
|
|
58858
|
+
"fillMaxWidth": true,
|
|
58859
|
+
"hiddenPath": "$service:himiBrandedSteps.hideConnect"
|
|
58860
|
+
}
|
|
58861
|
+
},
|
|
58862
|
+
{
|
|
58863
|
+
"id": "himi_steps.denied",
|
|
58864
|
+
"body": {
|
|
58865
|
+
"package": "himalaya",
|
|
58866
|
+
"type": "VStack",
|
|
58867
|
+
"props": {
|
|
58868
|
+
"spacing": 8,
|
|
58869
|
+
"alignment": "leading",
|
|
58870
|
+
"children": [
|
|
58871
|
+
{
|
|
58872
|
+
"id": "",
|
|
58873
|
+
"body": {
|
|
58874
|
+
"package": "himalaya",
|
|
58875
|
+
"type": "Text",
|
|
58876
|
+
"props": {
|
|
58877
|
+
"text": "Motion access is off",
|
|
58878
|
+
"style": "bodyEmphasis"
|
|
58879
|
+
}
|
|
58880
|
+
}
|
|
58881
|
+
},
|
|
58882
|
+
{
|
|
58883
|
+
"id": "",
|
|
58884
|
+
"body": {
|
|
58885
|
+
"package": "himalaya",
|
|
58886
|
+
"type": "Text",
|
|
58887
|
+
"props": {
|
|
58888
|
+
"text": "Turn on motion and fitness access for this app in your phone's Settings, then try again.",
|
|
58889
|
+
"style": "footnote",
|
|
58890
|
+
"color": "textSecondary"
|
|
58891
|
+
}
|
|
58892
|
+
}
|
|
58893
|
+
},
|
|
58894
|
+
{
|
|
58895
|
+
"id": "himi_steps.retry",
|
|
58896
|
+
"body": {
|
|
58897
|
+
"package": "himalaya",
|
|
58898
|
+
"type": "Button",
|
|
58899
|
+
"props": {
|
|
58900
|
+
"title": "Try again",
|
|
58901
|
+
"style": "secondary",
|
|
58902
|
+
"action": {
|
|
58903
|
+
"actionId": "tier5.himiBrandedSteps.connect"
|
|
58904
|
+
}
|
|
58905
|
+
}
|
|
58906
|
+
}
|
|
58907
|
+
}
|
|
58908
|
+
]
|
|
58909
|
+
}
|
|
58910
|
+
},
|
|
58911
|
+
"modifiers": {
|
|
58912
|
+
"background": {
|
|
58913
|
+
"token": "surfaceElevated"
|
|
58914
|
+
},
|
|
58915
|
+
"border": {
|
|
58916
|
+
"width": 1,
|
|
58917
|
+
"color": {
|
|
58918
|
+
"token": "border"
|
|
58919
|
+
}
|
|
58920
|
+
},
|
|
58921
|
+
"cornerRadius": 16,
|
|
58922
|
+
"padding": {
|
|
58923
|
+
"leading": 16,
|
|
58924
|
+
"trailing": 16,
|
|
58925
|
+
"top": 16,
|
|
58926
|
+
"bottom": 16
|
|
58927
|
+
},
|
|
58928
|
+
"fillMaxWidth": true,
|
|
58929
|
+
"hiddenPath": "$service:himiBrandedSteps.hideDenied"
|
|
58930
|
+
}
|
|
58931
|
+
},
|
|
58932
|
+
{
|
|
58933
|
+
"id": "himi_steps.error",
|
|
58934
|
+
"body": {
|
|
58935
|
+
"package": "himalaya",
|
|
58936
|
+
"type": "VStack",
|
|
58937
|
+
"props": {
|
|
58938
|
+
"spacing": 8,
|
|
58939
|
+
"alignment": "leading",
|
|
58940
|
+
"children": [
|
|
58941
|
+
{
|
|
58942
|
+
"id": "",
|
|
58943
|
+
"body": {
|
|
58944
|
+
"package": "himalaya",
|
|
58945
|
+
"type": "Text",
|
|
58946
|
+
"props": {
|
|
58947
|
+
"text": "Steps could not load",
|
|
58948
|
+
"style": "bodyEmphasis"
|
|
58949
|
+
}
|
|
58950
|
+
}
|
|
58951
|
+
},
|
|
58952
|
+
{
|
|
58953
|
+
"id": "",
|
|
58954
|
+
"body": {
|
|
58955
|
+
"package": "himalaya",
|
|
58956
|
+
"type": "Text",
|
|
58957
|
+
"props": {
|
|
58958
|
+
"text": "$service:himiBrandedSteps.errorText",
|
|
58959
|
+
"style": "footnote",
|
|
58960
|
+
"color": "textSecondary",
|
|
58961
|
+
"collapseWhenEmpty": true
|
|
58962
|
+
}
|
|
58963
|
+
}
|
|
58964
|
+
},
|
|
58965
|
+
{
|
|
58966
|
+
"id": "himi_steps.error_retry",
|
|
58967
|
+
"body": {
|
|
58968
|
+
"package": "himalaya",
|
|
58969
|
+
"type": "Button",
|
|
58970
|
+
"props": {
|
|
58971
|
+
"title": "Try again",
|
|
58972
|
+
"style": "secondary",
|
|
58973
|
+
"action": {
|
|
58974
|
+
"actionId": "tier5.himiBrandedSteps.refresh"
|
|
58975
|
+
}
|
|
58976
|
+
}
|
|
58977
|
+
}
|
|
58978
|
+
}
|
|
58979
|
+
]
|
|
58980
|
+
}
|
|
58981
|
+
},
|
|
58982
|
+
"modifiers": {
|
|
58983
|
+
"background": {
|
|
58984
|
+
"token": "surfaceElevated"
|
|
58985
|
+
},
|
|
58986
|
+
"border": {
|
|
58987
|
+
"width": 1,
|
|
58988
|
+
"color": {
|
|
58989
|
+
"token": "border"
|
|
58990
|
+
}
|
|
58991
|
+
},
|
|
58992
|
+
"cornerRadius": 16,
|
|
58993
|
+
"padding": {
|
|
58994
|
+
"leading": 16,
|
|
58995
|
+
"trailing": 16,
|
|
58996
|
+
"top": 16,
|
|
58997
|
+
"bottom": 16
|
|
58998
|
+
},
|
|
58999
|
+
"fillMaxWidth": true,
|
|
59000
|
+
"hiddenPath": "$service:himiBrandedSteps.hideError"
|
|
59001
|
+
}
|
|
59002
|
+
},
|
|
59003
|
+
{
|
|
59004
|
+
"id": "himi_steps.unsupported",
|
|
59005
|
+
"body": {
|
|
59006
|
+
"package": "himalaya",
|
|
59007
|
+
"type": "VStack",
|
|
59008
|
+
"props": {
|
|
59009
|
+
"spacing": 8,
|
|
59010
|
+
"alignment": "leading",
|
|
59011
|
+
"children": [
|
|
59012
|
+
{
|
|
59013
|
+
"id": "",
|
|
59014
|
+
"body": {
|
|
59015
|
+
"package": "himalaya",
|
|
59016
|
+
"type": "Text",
|
|
59017
|
+
"props": {
|
|
59018
|
+
"text": "Step counting is not available",
|
|
59019
|
+
"style": "bodyEmphasis"
|
|
59020
|
+
}
|
|
59021
|
+
}
|
|
59022
|
+
},
|
|
59023
|
+
{
|
|
59024
|
+
"id": "",
|
|
59025
|
+
"body": {
|
|
59026
|
+
"package": "himalaya",
|
|
59027
|
+
"type": "Text",
|
|
59028
|
+
"props": {
|
|
59029
|
+
"text": "This device has no step sensor.",
|
|
59030
|
+
"style": "footnote",
|
|
59031
|
+
"color": "textSecondary"
|
|
59032
|
+
}
|
|
59033
|
+
}
|
|
59034
|
+
}
|
|
59035
|
+
]
|
|
59036
|
+
}
|
|
59037
|
+
},
|
|
59038
|
+
"modifiers": {
|
|
59039
|
+
"background": {
|
|
59040
|
+
"token": "surfaceElevated"
|
|
59041
|
+
},
|
|
59042
|
+
"border": {
|
|
59043
|
+
"width": 1,
|
|
59044
|
+
"color": {
|
|
59045
|
+
"token": "border"
|
|
59046
|
+
}
|
|
59047
|
+
},
|
|
59048
|
+
"cornerRadius": 16,
|
|
59049
|
+
"padding": {
|
|
59050
|
+
"leading": 16,
|
|
59051
|
+
"trailing": 16,
|
|
59052
|
+
"top": 16,
|
|
59053
|
+
"bottom": 16
|
|
59054
|
+
},
|
|
59055
|
+
"fillMaxWidth": true,
|
|
59056
|
+
"hiddenPath": "$service:himiBrandedSteps.hideUnsupported"
|
|
59057
|
+
}
|
|
59058
|
+
},
|
|
59059
|
+
{
|
|
59060
|
+
"id": "himi_steps.progress",
|
|
59061
|
+
"body": {
|
|
59062
|
+
"package": "himalaya",
|
|
59063
|
+
"type": "VStack",
|
|
59064
|
+
"props": {
|
|
59065
|
+
"spacing": 8,
|
|
59066
|
+
"alignment": "leading",
|
|
59067
|
+
"children": [
|
|
59068
|
+
{
|
|
59069
|
+
"id": "",
|
|
59070
|
+
"body": {
|
|
59071
|
+
"package": "himalaya",
|
|
59072
|
+
"type": "Text",
|
|
59073
|
+
"props": {
|
|
59074
|
+
"text": "$service:himiBrandedSteps.sourceLabel",
|
|
59075
|
+
"style": "footnote",
|
|
59076
|
+
"color": "textSecondary",
|
|
59077
|
+
"collapseWhenEmpty": true
|
|
59078
|
+
}
|
|
59079
|
+
}
|
|
59080
|
+
},
|
|
59081
|
+
{
|
|
59082
|
+
"id": "himi_steps.gauge",
|
|
59083
|
+
"body": {
|
|
59084
|
+
"package": "himalaya",
|
|
59085
|
+
"type": "Gauge",
|
|
59086
|
+
"props": {
|
|
59087
|
+
"valuePath": "$service:himiBrandedSteps.pct",
|
|
59088
|
+
"kind": "radial",
|
|
59089
|
+
"tint": "accentPrimary",
|
|
59090
|
+
"animated": true
|
|
59091
|
+
}
|
|
59092
|
+
},
|
|
59093
|
+
"modifiers": {
|
|
59094
|
+
"accessibilityLabel": "Daily step goal",
|
|
59095
|
+
"accessibilityValue": "$service:himiBrandedSteps.accessibilityValue"
|
|
59096
|
+
}
|
|
59097
|
+
},
|
|
59098
|
+
{
|
|
59099
|
+
"id": "himi_steps.count",
|
|
59100
|
+
"body": {
|
|
59101
|
+
"package": "himalaya",
|
|
59102
|
+
"type": "Text",
|
|
59103
|
+
"props": {
|
|
59104
|
+
"text": "$service:himiBrandedSteps.stepsLabel",
|
|
59105
|
+
"style": "display"
|
|
59106
|
+
}
|
|
59107
|
+
}
|
|
59108
|
+
},
|
|
59109
|
+
{
|
|
59110
|
+
"id": "",
|
|
59111
|
+
"body": {
|
|
59112
|
+
"package": "himalaya",
|
|
59113
|
+
"type": "Text",
|
|
59114
|
+
"props": {
|
|
59115
|
+
"text": "$service:himiBrandedSteps.goalLabel",
|
|
59116
|
+
"style": "body",
|
|
59117
|
+
"color": "textSecondary"
|
|
59118
|
+
}
|
|
59119
|
+
}
|
|
59120
|
+
},
|
|
59121
|
+
{
|
|
59122
|
+
"id": "himi_steps.remaining",
|
|
59123
|
+
"body": {
|
|
59124
|
+
"package": "himalaya",
|
|
59125
|
+
"type": "Text",
|
|
59126
|
+
"props": {
|
|
59127
|
+
"text": "$service:himiBrandedSteps.remainingLabel",
|
|
59128
|
+
"style": "bodyEmphasis"
|
|
59129
|
+
}
|
|
59130
|
+
}
|
|
59131
|
+
},
|
|
59132
|
+
{
|
|
59133
|
+
"id": "himi_steps.refresh",
|
|
59134
|
+
"body": {
|
|
59135
|
+
"package": "himalaya",
|
|
59136
|
+
"type": "Button",
|
|
59137
|
+
"props": {
|
|
59138
|
+
"title": "Refresh",
|
|
59139
|
+
"style": "secondary",
|
|
59140
|
+
"action": {
|
|
59141
|
+
"actionId": "tier5.himiBrandedSteps.refresh"
|
|
59142
|
+
}
|
|
59143
|
+
}
|
|
59144
|
+
}
|
|
59145
|
+
}
|
|
59146
|
+
]
|
|
59147
|
+
}
|
|
59148
|
+
},
|
|
59149
|
+
"modifiers": {
|
|
59150
|
+
"background": {
|
|
59151
|
+
"token": "surfaceElevated"
|
|
59152
|
+
},
|
|
59153
|
+
"border": {
|
|
59154
|
+
"width": 1,
|
|
59155
|
+
"color": {
|
|
59156
|
+
"token": "border"
|
|
59157
|
+
}
|
|
59158
|
+
},
|
|
59159
|
+
"cornerRadius": 16,
|
|
59160
|
+
"padding": {
|
|
59161
|
+
"leading": 16,
|
|
59162
|
+
"trailing": 16,
|
|
59163
|
+
"top": 16,
|
|
59164
|
+
"bottom": 16
|
|
59165
|
+
},
|
|
59166
|
+
"fillMaxWidth": true,
|
|
59167
|
+
"hiddenPath": "$service:himiBrandedSteps.hideProgress"
|
|
59168
|
+
}
|
|
59169
|
+
},
|
|
59170
|
+
{
|
|
59171
|
+
"id": "himi_steps.history_hint",
|
|
59172
|
+
"body": {
|
|
59173
|
+
"package": "himalaya",
|
|
59174
|
+
"type": "VStack",
|
|
59175
|
+
"props": {
|
|
59176
|
+
"spacing": 8,
|
|
59177
|
+
"alignment": "leading",
|
|
59178
|
+
"children": [
|
|
59179
|
+
{
|
|
59180
|
+
"id": "",
|
|
59181
|
+
"body": {
|
|
59182
|
+
"package": "himalaya",
|
|
59183
|
+
"type": "Text",
|
|
59184
|
+
"props": {
|
|
59185
|
+
"text": "Whole-day counting is on",
|
|
59186
|
+
"style": "bodyEmphasis"
|
|
59187
|
+
}
|
|
59188
|
+
}
|
|
59189
|
+
},
|
|
59190
|
+
{
|
|
59191
|
+
"id": "",
|
|
59192
|
+
"body": {
|
|
59193
|
+
"package": "himalaya",
|
|
59194
|
+
"type": "Text",
|
|
59195
|
+
"props": {
|
|
59196
|
+
"text": "From now on your phone counts every step, also while the app is closed. Steps from earlier today may be missing.",
|
|
59197
|
+
"style": "footnote",
|
|
59198
|
+
"color": "textSecondary"
|
|
59199
|
+
}
|
|
59200
|
+
}
|
|
59201
|
+
}
|
|
59202
|
+
]
|
|
59203
|
+
}
|
|
59204
|
+
},
|
|
59205
|
+
"modifiers": {
|
|
59206
|
+
"background": {
|
|
59207
|
+
"token": "surfaceElevated"
|
|
59208
|
+
},
|
|
59209
|
+
"border": {
|
|
59210
|
+
"width": 1,
|
|
59211
|
+
"color": {
|
|
59212
|
+
"token": "border"
|
|
59213
|
+
}
|
|
59214
|
+
},
|
|
59215
|
+
"cornerRadius": 16,
|
|
59216
|
+
"padding": {
|
|
59217
|
+
"leading": 16,
|
|
59218
|
+
"trailing": 16,
|
|
59219
|
+
"top": 16,
|
|
59220
|
+
"bottom": 16
|
|
59221
|
+
},
|
|
59222
|
+
"fillMaxWidth": true,
|
|
59223
|
+
"hiddenPath": "$service:himiBrandedSteps.hideHistoryHint"
|
|
59224
|
+
}
|
|
59225
|
+
},
|
|
59226
|
+
{
|
|
59227
|
+
"id": "himi_steps.no_data",
|
|
59228
|
+
"body": {
|
|
59229
|
+
"package": "himalaya",
|
|
59230
|
+
"type": "VStack",
|
|
59231
|
+
"props": {
|
|
59232
|
+
"spacing": 8,
|
|
59233
|
+
"alignment": "leading",
|
|
59234
|
+
"children": [
|
|
59235
|
+
{
|
|
59236
|
+
"id": "",
|
|
59237
|
+
"body": {
|
|
59238
|
+
"package": "himalaya",
|
|
59239
|
+
"type": "Text",
|
|
59240
|
+
"props": {
|
|
59241
|
+
"text": "No steps recorded yet today",
|
|
59242
|
+
"style": "bodyEmphasis"
|
|
59243
|
+
}
|
|
59244
|
+
}
|
|
59245
|
+
},
|
|
59246
|
+
{
|
|
59247
|
+
"id": "",
|
|
59248
|
+
"body": {
|
|
59249
|
+
"package": "himalaya",
|
|
59250
|
+
"type": "Text",
|
|
59251
|
+
"props": {
|
|
59252
|
+
"text": "Steps show here once your phone records them. Walk a little, then tap Refresh.",
|
|
59253
|
+
"style": "footnote",
|
|
59254
|
+
"color": "textSecondary"
|
|
59255
|
+
}
|
|
59256
|
+
}
|
|
59257
|
+
},
|
|
59258
|
+
{
|
|
59259
|
+
"id": "himi_steps.no_data_refresh",
|
|
59260
|
+
"body": {
|
|
59261
|
+
"package": "himalaya",
|
|
59262
|
+
"type": "Button",
|
|
59263
|
+
"props": {
|
|
59264
|
+
"title": "Refresh",
|
|
59265
|
+
"style": "secondary",
|
|
59266
|
+
"action": {
|
|
59267
|
+
"actionId": "tier5.himiBrandedSteps.refresh"
|
|
59268
|
+
}
|
|
59269
|
+
}
|
|
59270
|
+
}
|
|
59271
|
+
}
|
|
59272
|
+
]
|
|
59273
|
+
}
|
|
59274
|
+
},
|
|
59275
|
+
"modifiers": {
|
|
59276
|
+
"background": {
|
|
59277
|
+
"token": "surfaceElevated"
|
|
59278
|
+
},
|
|
59279
|
+
"border": {
|
|
59280
|
+
"width": 1,
|
|
59281
|
+
"color": {
|
|
59282
|
+
"token": "border"
|
|
59283
|
+
}
|
|
59284
|
+
},
|
|
59285
|
+
"cornerRadius": 16,
|
|
59286
|
+
"padding": {
|
|
59287
|
+
"leading": 16,
|
|
59288
|
+
"trailing": 16,
|
|
59289
|
+
"top": 16,
|
|
59290
|
+
"bottom": 16
|
|
59291
|
+
},
|
|
59292
|
+
"fillMaxWidth": true,
|
|
59293
|
+
"hiddenPath": "$service:himiBrandedSteps.hideNoData"
|
|
59294
|
+
}
|
|
59295
|
+
},
|
|
59296
|
+
{
|
|
59297
|
+
"id": "himi_steps.setup_card",
|
|
59298
|
+
"body": {
|
|
59299
|
+
"package": "himalaya",
|
|
59300
|
+
"type": "VStack",
|
|
59301
|
+
"props": {
|
|
59302
|
+
"spacing": 8,
|
|
59303
|
+
"alignment": "leading",
|
|
59304
|
+
"children": [
|
|
59305
|
+
{
|
|
59306
|
+
"id": "",
|
|
59307
|
+
"body": {
|
|
59308
|
+
"package": "himalaya",
|
|
59309
|
+
"type": "Text",
|
|
59310
|
+
"props": {
|
|
59311
|
+
"text": "See your whole day",
|
|
59312
|
+
"style": "bodyEmphasis"
|
|
59313
|
+
}
|
|
59314
|
+
}
|
|
59315
|
+
},
|
|
59316
|
+
{
|
|
59317
|
+
"id": "",
|
|
59318
|
+
"body": {
|
|
59319
|
+
"package": "himalaya",
|
|
59320
|
+
"type": "Text",
|
|
59321
|
+
"props": {
|
|
59322
|
+
"text": "Update Google Play services to count all your steps today, also the ones you take while the app is closed.",
|
|
59323
|
+
"style": "footnote",
|
|
59324
|
+
"color": "textSecondary"
|
|
59325
|
+
}
|
|
59326
|
+
}
|
|
59327
|
+
},
|
|
59328
|
+
{
|
|
59329
|
+
"id": "himi_steps.setup",
|
|
59330
|
+
"body": {
|
|
59331
|
+
"package": "himalaya",
|
|
59332
|
+
"type": "Button",
|
|
59333
|
+
"props": {
|
|
59334
|
+
"title": "Update Google Play services",
|
|
59335
|
+
"style": "primary",
|
|
59336
|
+
"fullWidth": true,
|
|
59337
|
+
"action": {
|
|
59338
|
+
"actionId": "tier5.himiBrandedSteps.setup"
|
|
59339
|
+
}
|
|
59340
|
+
}
|
|
59341
|
+
}
|
|
59342
|
+
}
|
|
59343
|
+
]
|
|
59344
|
+
}
|
|
59345
|
+
},
|
|
59346
|
+
"modifiers": {
|
|
59347
|
+
"background": {
|
|
59348
|
+
"token": "surfaceElevated"
|
|
59349
|
+
},
|
|
59350
|
+
"border": {
|
|
59351
|
+
"width": 1,
|
|
59352
|
+
"color": {
|
|
59353
|
+
"token": "border"
|
|
59354
|
+
}
|
|
59355
|
+
},
|
|
59356
|
+
"cornerRadius": 16,
|
|
59357
|
+
"padding": {
|
|
59358
|
+
"leading": 16,
|
|
59359
|
+
"trailing": 16,
|
|
59360
|
+
"top": 16,
|
|
59361
|
+
"bottom": 16
|
|
59362
|
+
},
|
|
59363
|
+
"fillMaxWidth": true,
|
|
59364
|
+
"hiddenPath": "$service:himiBrandedSteps.hideSetup"
|
|
59365
|
+
}
|
|
59366
|
+
}
|
|
59367
|
+
]
|
|
59368
|
+
}
|
|
59369
|
+
},
|
|
59370
|
+
"modifiers": {
|
|
59371
|
+
"background": {
|
|
59372
|
+
"token": "surfacePrimary"
|
|
59373
|
+
},
|
|
59374
|
+
"padding": {
|
|
59375
|
+
"leading": 16,
|
|
59376
|
+
"trailing": 16,
|
|
59377
|
+
"top": 18,
|
|
59378
|
+
"bottom": 28
|
|
59379
|
+
},
|
|
59380
|
+
"onAppear": {
|
|
59381
|
+
"actionId": "tier5.himiBrandedSteps.load",
|
|
59382
|
+
"params": {
|
|
59383
|
+
"goal": "8000"
|
|
59384
|
+
}
|
|
59385
|
+
}
|
|
59386
|
+
}
|
|
59387
|
+
},
|
|
59388
|
+
"logicBundle": {
|
|
59389
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-steps?integrity=",
|
|
59390
|
+
"integrity": "",
|
|
59391
|
+
"contentType": "application/javascript+ts-bundle",
|
|
59392
|
+
"declaredCapabilities": [
|
|
59393
|
+
"motion"
|
|
59394
|
+
],
|
|
59395
|
+
"minBinaryVersion": "0.1.0",
|
|
59396
|
+
"bundleVersion": "0.0.1"
|
|
59397
|
+
}
|
|
59398
|
+
},
|
|
58556
59399
|
"himi_cms": {
|
|
58557
59400
|
"screenId": "himi_cms",
|
|
58558
59401
|
"renderer": "sdui_intent",
|