@wix/himalaya-cli 0.1575.0 → 0.1577.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/stdlib/wix-sdk/loyalty/src/index.d.ts +64 -6
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/online-programs/src/index.d.ts +87 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-loyalty.mjs +15 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-online-programs.mjs +42 -0
- package/dist/cli.mjs +10821 -10593
- package/dist/preview-assets.generated.bin +0 -0
- package/fixtures/wix-canned.json +56 -3
- package/guides/himi-json-output.md +8 -0
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +50 -1
- package/guides/sdk-reference.json +133 -9
- package/package.json +2 -2
- package/templates/beauty-salon/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/beauty-salon/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/beauty-salon-owner/dev/index.ts +52 -27
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/branded-lite/config.ts +7 -0
- package/templates/branded-lite/dev/index.ts +833 -0
- package/templates/branded-lite/himalaya.content.json +3 -0
- package/templates/branded-lite/l10n/en.json +4 -2
- package/templates/branded-lite/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/branded-lite/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-member-programs/index.ts +658 -0
- package/templates/community-club/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/community-club/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/community-club-owner/dev/index.ts +52 -27
- package/templates/community-club-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/events-meetups/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/events-meetups/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/events-meetups-owner/dev/index.ts +52 -27
- package/templates/events-meetups-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/gym-fitness/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/gym-fitness/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/gym-fitness-owner/dev/index.ts +52 -27
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/himi-chat/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/nonprofit-cause/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/nonprofit-cause/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/nonprofit-cause-owner/dev/index.ts +52 -27
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/owner-lite/dev/index.ts +52 -27
- package/templates/owner-lite/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/podcast-creator/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/podcast-creator/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/podcast-creator-owner/dev/index.ts +52 -27
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/portfolio-creative/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/portfolio-creative/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/portfolio-creative-owner/dev/index.ts +52 -27
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/restaurant/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/restaurant/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/restaurant-owner/dev/index.ts +52 -27
- package/templates/restaurant-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/retail-store/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/retail-store/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/retail-store-owner/dev/index.ts +52 -27
- package/templates/retail-store-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
- package/templates/yoga-studio/config.ts +7 -0
- package/templates/yoga-studio/dev/index.ts +833 -0
- package/templates/yoga-studio/himalaya.content.json +3 -0
- package/templates/yoga-studio/tier5-src/_shared/branded-lite-hosted.ts +1 -0
- package/templates/yoga-studio/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-member-programs/index.ts +658 -0
- package/templates/yoga-studio-owner/dev/index.ts +52 -27
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-load-error.ts +8 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-post/index.ts +20 -8
|
@@ -14370,6 +14370,25 @@ const SCREENS = runtimeSetting({
|
|
|
14370
14370
|
}
|
|
14371
14371
|
}
|
|
14372
14372
|
},
|
|
14373
|
+
{
|
|
14374
|
+
"id": "himi_programs.member_list",
|
|
14375
|
+
"body": {
|
|
14376
|
+
"package": "himalaya",
|
|
14377
|
+
"type": "Button",
|
|
14378
|
+
"props": {
|
|
14379
|
+
"title": "My programs",
|
|
14380
|
+
"style": "secondary",
|
|
14381
|
+
"fullWidth": true,
|
|
14382
|
+
"leadingIcon": "person",
|
|
14383
|
+
"action": {
|
|
14384
|
+
"actionId": "himi.open",
|
|
14385
|
+
"params": {
|
|
14386
|
+
"screenId": "himi_member_programs"
|
|
14387
|
+
}
|
|
14388
|
+
}
|
|
14389
|
+
}
|
|
14390
|
+
}
|
|
14391
|
+
},
|
|
14373
14392
|
{
|
|
14374
14393
|
"id": "himi_programs.loading",
|
|
14375
14394
|
"body": {
|
|
@@ -16941,6 +16960,820 @@ const SCREENS = runtimeSetting({
|
|
|
16941
16960
|
"bundleVersion": "0.0.1"
|
|
16942
16961
|
}
|
|
16943
16962
|
},
|
|
16963
|
+
"himi_member_programs": {
|
|
16964
|
+
"screenId": "himi_member_programs",
|
|
16965
|
+
"renderer": "sdui_intent",
|
|
16966
|
+
"title": "",
|
|
16967
|
+
"schemaVersion": 1,
|
|
16968
|
+
"cacheControl": {
|
|
16969
|
+
"maxAge": 0,
|
|
16970
|
+
"staleWhileRevalidate": 0
|
|
16971
|
+
},
|
|
16972
|
+
"payload": {
|
|
16973
|
+
"id": "himi_member_programs.root",
|
|
16974
|
+
"body": {
|
|
16975
|
+
"package": "himalaya",
|
|
16976
|
+
"type": "VStack",
|
|
16977
|
+
"props": {
|
|
16978
|
+
"spacing": 16,
|
|
16979
|
+
"alignment": "leading",
|
|
16980
|
+
"children": [
|
|
16981
|
+
{
|
|
16982
|
+
"id": "himi_member_programs.title",
|
|
16983
|
+
"body": {
|
|
16984
|
+
"package": "himalaya",
|
|
16985
|
+
"type": "Text",
|
|
16986
|
+
"props": {
|
|
16987
|
+
"text": "Programs",
|
|
16988
|
+
"style": "title1"
|
|
16989
|
+
}
|
|
16990
|
+
}
|
|
16991
|
+
},
|
|
16992
|
+
{
|
|
16993
|
+
"id": "",
|
|
16994
|
+
"body": {
|
|
16995
|
+
"package": "himalaya",
|
|
16996
|
+
"type": "Text",
|
|
16997
|
+
"props": {
|
|
16998
|
+
"text": "$service:himiBrandedMemberPrograms.identityLine",
|
|
16999
|
+
"style": "caption",
|
|
17000
|
+
"color": "textSecondary",
|
|
17001
|
+
"collapseWhenEmpty": true
|
|
17002
|
+
}
|
|
17003
|
+
}
|
|
17004
|
+
},
|
|
17005
|
+
{
|
|
17006
|
+
"id": "",
|
|
17007
|
+
"body": {
|
|
17008
|
+
"package": "himalaya",
|
|
17009
|
+
"type": "VStack",
|
|
17010
|
+
"props": {
|
|
17011
|
+
"spacing": 10,
|
|
17012
|
+
"alignment": "leading",
|
|
17013
|
+
"children": [
|
|
17014
|
+
{
|
|
17015
|
+
"id": "himi_member_programs.status_filter",
|
|
17016
|
+
"body": {
|
|
17017
|
+
"package": "himalaya",
|
|
17018
|
+
"type": "SegmentedControl",
|
|
17019
|
+
"props": {
|
|
17020
|
+
"options": [
|
|
17021
|
+
{
|
|
17022
|
+
"id": "all",
|
|
17023
|
+
"label": "All programs"
|
|
17024
|
+
},
|
|
17025
|
+
{
|
|
17026
|
+
"id": "joined",
|
|
17027
|
+
"label": "Programs I joined"
|
|
17028
|
+
}
|
|
17029
|
+
],
|
|
17030
|
+
"optionsPath": "$service:himiBrandedMemberPrograms.statusOptions",
|
|
17031
|
+
"selectedId": "$service:himiBrandedMemberPrograms.statusFilter",
|
|
17032
|
+
"onChange": {
|
|
17033
|
+
"actionId": "tier5.himiBrandedMemberPrograms.setStatus"
|
|
17034
|
+
}
|
|
17035
|
+
}
|
|
17036
|
+
},
|
|
17037
|
+
"modifiers": {
|
|
17038
|
+
"accessibilityLabel": "Show programs",
|
|
17039
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.hideStatusFilter"
|
|
17040
|
+
}
|
|
17041
|
+
},
|
|
17042
|
+
{
|
|
17043
|
+
"id": "himi_member_programs.category_filter",
|
|
17044
|
+
"body": {
|
|
17045
|
+
"package": "himalaya",
|
|
17046
|
+
"type": "FilterChips",
|
|
17047
|
+
"props": {
|
|
17048
|
+
"chips": [
|
|
17049
|
+
{
|
|
17050
|
+
"id": "",
|
|
17051
|
+
"label": "All categories"
|
|
17052
|
+
}
|
|
17053
|
+
],
|
|
17054
|
+
"optionsPath": "$service:himiBrandedMemberPrograms.categoryChips",
|
|
17055
|
+
"selectedIds": [
|
|
17056
|
+
"$service:himiBrandedMemberPrograms.categoryId"
|
|
17057
|
+
],
|
|
17058
|
+
"onChange": {
|
|
17059
|
+
"actionId": "tier5.himiBrandedMemberPrograms.setCategory"
|
|
17060
|
+
}
|
|
17061
|
+
}
|
|
17062
|
+
},
|
|
17063
|
+
"modifiers": {
|
|
17064
|
+
"accessibilityLabel": "Filter by category",
|
|
17065
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.hideCategoryFilter"
|
|
17066
|
+
}
|
|
17067
|
+
}
|
|
17068
|
+
]
|
|
17069
|
+
}
|
|
17070
|
+
}
|
|
17071
|
+
},
|
|
17072
|
+
{
|
|
17073
|
+
"id": "",
|
|
17074
|
+
"body": {
|
|
17075
|
+
"package": "himalaya",
|
|
17076
|
+
"type": "Text",
|
|
17077
|
+
"props": {
|
|
17078
|
+
"text": "$service:himiBrandedMemberPrograms.summary",
|
|
17079
|
+
"style": "caption",
|
|
17080
|
+
"color": "textSecondary",
|
|
17081
|
+
"maxLines": 1,
|
|
17082
|
+
"collapseWhenEmpty": true
|
|
17083
|
+
}
|
|
17084
|
+
},
|
|
17085
|
+
"modifiers": {
|
|
17086
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.hideList"
|
|
17087
|
+
}
|
|
17088
|
+
},
|
|
17089
|
+
{
|
|
17090
|
+
"id": "himi_member_programs.loading",
|
|
17091
|
+
"body": {
|
|
17092
|
+
"package": "himalaya",
|
|
17093
|
+
"type": "Skeleton",
|
|
17094
|
+
"props": {
|
|
17095
|
+
"height": 220,
|
|
17096
|
+
"cornerRadius": 8,
|
|
17097
|
+
"count": 3
|
|
17098
|
+
}
|
|
17099
|
+
},
|
|
17100
|
+
"modifiers": {
|
|
17101
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.notLoading"
|
|
17102
|
+
}
|
|
17103
|
+
},
|
|
17104
|
+
{
|
|
17105
|
+
"id": "himi_member_programs.error",
|
|
17106
|
+
"body": {
|
|
17107
|
+
"package": "himalaya",
|
|
17108
|
+
"type": "VStack",
|
|
17109
|
+
"props": {
|
|
17110
|
+
"spacing": 8,
|
|
17111
|
+
"alignment": "leading",
|
|
17112
|
+
"children": [
|
|
17113
|
+
{
|
|
17114
|
+
"id": "",
|
|
17115
|
+
"body": {
|
|
17116
|
+
"package": "himalaya",
|
|
17117
|
+
"type": "Text",
|
|
17118
|
+
"props": {
|
|
17119
|
+
"text": "Your programs could not be loaded right now.",
|
|
17120
|
+
"style": "bodyEmphasis"
|
|
17121
|
+
}
|
|
17122
|
+
}
|
|
17123
|
+
},
|
|
17124
|
+
{
|
|
17125
|
+
"id": "",
|
|
17126
|
+
"body": {
|
|
17127
|
+
"package": "himalaya",
|
|
17128
|
+
"type": "Text",
|
|
17129
|
+
"props": {
|
|
17130
|
+
"text": "$service:himiBrandedMemberPrograms.errorText",
|
|
17131
|
+
"style": "footnote",
|
|
17132
|
+
"color": "textSecondary",
|
|
17133
|
+
"collapseWhenEmpty": true
|
|
17134
|
+
}
|
|
17135
|
+
}
|
|
17136
|
+
},
|
|
17137
|
+
{
|
|
17138
|
+
"id": "himi_member_programs.retry",
|
|
17139
|
+
"body": {
|
|
17140
|
+
"package": "himalaya",
|
|
17141
|
+
"type": "Button",
|
|
17142
|
+
"props": {
|
|
17143
|
+
"title": "Try again",
|
|
17144
|
+
"style": "secondary",
|
|
17145
|
+
"action": {
|
|
17146
|
+
"actionId": "tier5.himiBrandedMemberPrograms.retry"
|
|
17147
|
+
}
|
|
17148
|
+
}
|
|
17149
|
+
}
|
|
17150
|
+
}
|
|
17151
|
+
]
|
|
17152
|
+
}
|
|
17153
|
+
},
|
|
17154
|
+
"modifiers": {
|
|
17155
|
+
"background": {
|
|
17156
|
+
"token": "surfaceElevated"
|
|
17157
|
+
},
|
|
17158
|
+
"border": {
|
|
17159
|
+
"width": 1,
|
|
17160
|
+
"color": {
|
|
17161
|
+
"token": "border"
|
|
17162
|
+
}
|
|
17163
|
+
},
|
|
17164
|
+
"cornerRadius": 4,
|
|
17165
|
+
"padding": {
|
|
17166
|
+
"leading": 16,
|
|
17167
|
+
"trailing": 16,
|
|
17168
|
+
"top": 16,
|
|
17169
|
+
"bottom": 16
|
|
17170
|
+
},
|
|
17171
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.notErrored"
|
|
17172
|
+
}
|
|
17173
|
+
},
|
|
17174
|
+
{
|
|
17175
|
+
"id": "himi_member_programs.price_retry_card",
|
|
17176
|
+
"body": {
|
|
17177
|
+
"package": "himalaya",
|
|
17178
|
+
"type": "VStack",
|
|
17179
|
+
"props": {
|
|
17180
|
+
"spacing": 8,
|
|
17181
|
+
"alignment": "leading",
|
|
17182
|
+
"children": [
|
|
17183
|
+
{
|
|
17184
|
+
"id": "",
|
|
17185
|
+
"body": {
|
|
17186
|
+
"package": "himalaya",
|
|
17187
|
+
"type": "Text",
|
|
17188
|
+
"props": {
|
|
17189
|
+
"text": "$service:himiBrandedMemberPrograms.priceRetryText",
|
|
17190
|
+
"style": "footnote",
|
|
17191
|
+
"color": "textSecondary",
|
|
17192
|
+
"collapseWhenEmpty": true
|
|
17193
|
+
}
|
|
17194
|
+
}
|
|
17195
|
+
},
|
|
17196
|
+
{
|
|
17197
|
+
"id": "himi_member_programs.price_retry",
|
|
17198
|
+
"body": {
|
|
17199
|
+
"package": "himalaya",
|
|
17200
|
+
"type": "Button",
|
|
17201
|
+
"props": {
|
|
17202
|
+
"title": "Try again",
|
|
17203
|
+
"style": "secondary",
|
|
17204
|
+
"action": {
|
|
17205
|
+
"actionId": "tier5.himiBrandedMemberPrograms.pricingRefresh"
|
|
17206
|
+
}
|
|
17207
|
+
}
|
|
17208
|
+
}
|
|
17209
|
+
}
|
|
17210
|
+
]
|
|
17211
|
+
}
|
|
17212
|
+
},
|
|
17213
|
+
"modifiers": {
|
|
17214
|
+
"background": {
|
|
17215
|
+
"token": "surfaceElevated"
|
|
17216
|
+
},
|
|
17217
|
+
"border": {
|
|
17218
|
+
"width": 1,
|
|
17219
|
+
"color": {
|
|
17220
|
+
"token": "border"
|
|
17221
|
+
}
|
|
17222
|
+
},
|
|
17223
|
+
"cornerRadius": 4,
|
|
17224
|
+
"padding": {
|
|
17225
|
+
"leading": 16,
|
|
17226
|
+
"trailing": 16,
|
|
17227
|
+
"top": 16,
|
|
17228
|
+
"bottom": 16
|
|
17229
|
+
},
|
|
17230
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.hidePriceRetry"
|
|
17231
|
+
}
|
|
17232
|
+
},
|
|
17233
|
+
{
|
|
17234
|
+
"id": "himi_member_programs.list",
|
|
17235
|
+
"body": {
|
|
17236
|
+
"package": "himalaya",
|
|
17237
|
+
"type": "LazyList",
|
|
17238
|
+
"props": {
|
|
17239
|
+
"spacing": 12,
|
|
17240
|
+
"itemsPath": "$service:himiBrandedMemberPrograms.rows",
|
|
17241
|
+
"items": [
|
|
17242
|
+
{
|
|
17243
|
+
"id": "himi_member_programs.row",
|
|
17244
|
+
"body": {
|
|
17245
|
+
"package": "himalaya",
|
|
17246
|
+
"type": "VStack",
|
|
17247
|
+
"props": {
|
|
17248
|
+
"spacing": 8,
|
|
17249
|
+
"alignment": "leading",
|
|
17250
|
+
"children": [
|
|
17251
|
+
{
|
|
17252
|
+
"id": "",
|
|
17253
|
+
"body": {
|
|
17254
|
+
"package": "himalaya",
|
|
17255
|
+
"type": "ZStack",
|
|
17256
|
+
"props": {
|
|
17257
|
+
"alignment": "leading",
|
|
17258
|
+
"children": [
|
|
17259
|
+
{
|
|
17260
|
+
"id": "",
|
|
17261
|
+
"body": {
|
|
17262
|
+
"package": "himalaya",
|
|
17263
|
+
"type": "Image",
|
|
17264
|
+
"props": {
|
|
17265
|
+
"url": "$item.image",
|
|
17266
|
+
"fillWidth": true,
|
|
17267
|
+
"height": 120,
|
|
17268
|
+
"contentMode": "fill",
|
|
17269
|
+
"contentDescription": "$item.name"
|
|
17270
|
+
}
|
|
17271
|
+
},
|
|
17272
|
+
"modifiers": {
|
|
17273
|
+
"cornerRadius": 8,
|
|
17274
|
+
"fillMaxWidth": true,
|
|
17275
|
+
"hiddenPath": "$item.noImage"
|
|
17276
|
+
}
|
|
17277
|
+
},
|
|
17278
|
+
{
|
|
17279
|
+
"id": "",
|
|
17280
|
+
"body": {
|
|
17281
|
+
"package": "himalaya",
|
|
17282
|
+
"type": "ZStack",
|
|
17283
|
+
"props": {
|
|
17284
|
+
"alignment": "center",
|
|
17285
|
+
"children": [
|
|
17286
|
+
{
|
|
17287
|
+
"id": "",
|
|
17288
|
+
"body": {
|
|
17289
|
+
"package": "himalaya",
|
|
17290
|
+
"type": "Text",
|
|
17291
|
+
"props": {
|
|
17292
|
+
"text": "$item.initial",
|
|
17293
|
+
"style": "display",
|
|
17294
|
+
"color": "textOnAccent",
|
|
17295
|
+
"maxLines": 1
|
|
17296
|
+
}
|
|
17297
|
+
}
|
|
17298
|
+
}
|
|
17299
|
+
]
|
|
17300
|
+
}
|
|
17301
|
+
},
|
|
17302
|
+
"modifiers": {
|
|
17303
|
+
"fillMaxWidth": true,
|
|
17304
|
+
"height": 120,
|
|
17305
|
+
"background": {
|
|
17306
|
+
"token": "accentPrimary"
|
|
17307
|
+
},
|
|
17308
|
+
"cornerRadius": 8,
|
|
17309
|
+
"hiddenPath": "$item.hasImage"
|
|
17310
|
+
}
|
|
17311
|
+
},
|
|
17312
|
+
{
|
|
17313
|
+
"id": "",
|
|
17314
|
+
"body": {
|
|
17315
|
+
"package": "himalaya",
|
|
17316
|
+
"type": "VStack",
|
|
17317
|
+
"props": {
|
|
17318
|
+
"alignment": "leading",
|
|
17319
|
+
"children": [
|
|
17320
|
+
{
|
|
17321
|
+
"id": "himi_member_programs.status",
|
|
17322
|
+
"body": {
|
|
17323
|
+
"package": "himalaya",
|
|
17324
|
+
"type": "Label",
|
|
17325
|
+
"props": {
|
|
17326
|
+
"text": "$item.statusLabel",
|
|
17327
|
+
"color": "$item.statusColor"
|
|
17328
|
+
}
|
|
17329
|
+
},
|
|
17330
|
+
"modifiers": {
|
|
17331
|
+
"padding": {
|
|
17332
|
+
"leading": 8,
|
|
17333
|
+
"trailing": 8,
|
|
17334
|
+
"top": 4,
|
|
17335
|
+
"bottom": 4
|
|
17336
|
+
},
|
|
17337
|
+
"background": {
|
|
17338
|
+
"token": "surfaceElevated"
|
|
17339
|
+
},
|
|
17340
|
+
"cornerRadius": 6
|
|
17341
|
+
}
|
|
17342
|
+
}
|
|
17343
|
+
]
|
|
17344
|
+
}
|
|
17345
|
+
},
|
|
17346
|
+
"modifiers": {
|
|
17347
|
+
"padding": {
|
|
17348
|
+
"leading": 12,
|
|
17349
|
+
"top": 12
|
|
17350
|
+
},
|
|
17351
|
+
"hiddenPath": "$item.noStatus"
|
|
17352
|
+
}
|
|
17353
|
+
}
|
|
17354
|
+
]
|
|
17355
|
+
}
|
|
17356
|
+
}
|
|
17357
|
+
},
|
|
17358
|
+
{
|
|
17359
|
+
"id": "",
|
|
17360
|
+
"body": {
|
|
17361
|
+
"package": "himalaya",
|
|
17362
|
+
"type": "Text",
|
|
17363
|
+
"props": {
|
|
17364
|
+
"text": "$item.name",
|
|
17365
|
+
"style": "bodyEmphasis",
|
|
17366
|
+
"maxLines": 2
|
|
17367
|
+
}
|
|
17368
|
+
}
|
|
17369
|
+
},
|
|
17370
|
+
{
|
|
17371
|
+
"id": "",
|
|
17372
|
+
"body": {
|
|
17373
|
+
"package": "himalaya",
|
|
17374
|
+
"type": "Text",
|
|
17375
|
+
"props": {
|
|
17376
|
+
"text": "$item.timelineLine",
|
|
17377
|
+
"style": "footnote",
|
|
17378
|
+
"color": "textSecondary",
|
|
17379
|
+
"maxLines": 1,
|
|
17380
|
+
"collapseWhenEmpty": true
|
|
17381
|
+
}
|
|
17382
|
+
}
|
|
17383
|
+
},
|
|
17384
|
+
{
|
|
17385
|
+
"id": "",
|
|
17386
|
+
"body": {
|
|
17387
|
+
"package": "himalaya",
|
|
17388
|
+
"type": "Text",
|
|
17389
|
+
"props": {
|
|
17390
|
+
"text": "$item.accessLine",
|
|
17391
|
+
"style": "footnote",
|
|
17392
|
+
"color": "textSecondary",
|
|
17393
|
+
"maxLines": 1,
|
|
17394
|
+
"collapseWhenEmpty": true
|
|
17395
|
+
}
|
|
17396
|
+
}
|
|
17397
|
+
},
|
|
17398
|
+
{
|
|
17399
|
+
"id": "",
|
|
17400
|
+
"body": {
|
|
17401
|
+
"package": "himalaya",
|
|
17402
|
+
"type": "Text",
|
|
17403
|
+
"props": {
|
|
17404
|
+
"text": "$item.descriptionLine",
|
|
17405
|
+
"style": "footnote",
|
|
17406
|
+
"color": "textSecondary",
|
|
17407
|
+
"maxLines": 2,
|
|
17408
|
+
"collapseWhenEmpty": true
|
|
17409
|
+
}
|
|
17410
|
+
}
|
|
17411
|
+
},
|
|
17412
|
+
{
|
|
17413
|
+
"id": "",
|
|
17414
|
+
"body": {
|
|
17415
|
+
"package": "himalaya",
|
|
17416
|
+
"type": "VStack",
|
|
17417
|
+
"props": {
|
|
17418
|
+
"spacing": 4,
|
|
17419
|
+
"alignment": "leading",
|
|
17420
|
+
"children": [
|
|
17421
|
+
{
|
|
17422
|
+
"id": "himi_member_programs.progress",
|
|
17423
|
+
"body": {
|
|
17424
|
+
"package": "himalaya",
|
|
17425
|
+
"type": "ProgressBar",
|
|
17426
|
+
"props": {
|
|
17427
|
+
"progress": 0,
|
|
17428
|
+
"progressPath": "$item.progress",
|
|
17429
|
+
"tint": "accentPrimary",
|
|
17430
|
+
"trackColor": "surfaceTertiary"
|
|
17431
|
+
}
|
|
17432
|
+
},
|
|
17433
|
+
"modifiers": {
|
|
17434
|
+
"accessibilityLabel": "Program progress",
|
|
17435
|
+
"accessibilityValue": "$item.progressLabel"
|
|
17436
|
+
}
|
|
17437
|
+
},
|
|
17438
|
+
{
|
|
17439
|
+
"id": "",
|
|
17440
|
+
"body": {
|
|
17441
|
+
"package": "himalaya",
|
|
17442
|
+
"type": "Text",
|
|
17443
|
+
"props": {
|
|
17444
|
+
"text": "$item.progressLabel",
|
|
17445
|
+
"style": "caption",
|
|
17446
|
+
"color": "textSecondary",
|
|
17447
|
+
"maxLines": 1
|
|
17448
|
+
}
|
|
17449
|
+
}
|
|
17450
|
+
}
|
|
17451
|
+
]
|
|
17452
|
+
}
|
|
17453
|
+
},
|
|
17454
|
+
"modifiers": {
|
|
17455
|
+
"hiddenPath": "$item.noProgress"
|
|
17456
|
+
}
|
|
17457
|
+
},
|
|
17458
|
+
{
|
|
17459
|
+
"id": "himi_member_programs.price",
|
|
17460
|
+
"body": {
|
|
17461
|
+
"package": "himalaya",
|
|
17462
|
+
"type": "Text",
|
|
17463
|
+
"props": {
|
|
17464
|
+
"text": "$item.priceLine",
|
|
17465
|
+
"style": "bodyEmphasis",
|
|
17466
|
+
"color": "accentPrimary",
|
|
17467
|
+
"maxLines": 1
|
|
17468
|
+
}
|
|
17469
|
+
},
|
|
17470
|
+
"modifiers": {
|
|
17471
|
+
"hiddenPath": "$item.noPrice"
|
|
17472
|
+
}
|
|
17473
|
+
},
|
|
17474
|
+
{
|
|
17475
|
+
"id": "",
|
|
17476
|
+
"body": {
|
|
17477
|
+
"package": "himalaya",
|
|
17478
|
+
"type": "Divider",
|
|
17479
|
+
"props": {}
|
|
17480
|
+
}
|
|
17481
|
+
},
|
|
17482
|
+
{
|
|
17483
|
+
"id": "himi_member_programs.action",
|
|
17484
|
+
"body": {
|
|
17485
|
+
"package": "himalaya",
|
|
17486
|
+
"type": "Button",
|
|
17487
|
+
"props": {
|
|
17488
|
+
"title": "$item.actionLabel",
|
|
17489
|
+
"style": "link",
|
|
17490
|
+
"fullWidth": true,
|
|
17491
|
+
"disabledPath": "$item.actionDisabled",
|
|
17492
|
+
"action": {
|
|
17493
|
+
"actionId": "tier5.himiBrandedMemberPrograms.open",
|
|
17494
|
+
"params": {
|
|
17495
|
+
"id": "$item.id"
|
|
17496
|
+
}
|
|
17497
|
+
}
|
|
17498
|
+
}
|
|
17499
|
+
}
|
|
17500
|
+
}
|
|
17501
|
+
]
|
|
17502
|
+
}
|
|
17503
|
+
},
|
|
17504
|
+
"modifiers": {
|
|
17505
|
+
"background": {
|
|
17506
|
+
"token": "surfaceElevated"
|
|
17507
|
+
},
|
|
17508
|
+
"border": {
|
|
17509
|
+
"width": 1,
|
|
17510
|
+
"color": {
|
|
17511
|
+
"token": "border"
|
|
17512
|
+
}
|
|
17513
|
+
},
|
|
17514
|
+
"cornerRadius": 8,
|
|
17515
|
+
"padding": {
|
|
17516
|
+
"leading": 12,
|
|
17517
|
+
"trailing": 12,
|
|
17518
|
+
"top": 12,
|
|
17519
|
+
"bottom": 8
|
|
17520
|
+
},
|
|
17521
|
+
"onTap": {
|
|
17522
|
+
"actionId": "himi.open",
|
|
17523
|
+
"params": {
|
|
17524
|
+
"screenId": "$item.detailScreenId",
|
|
17525
|
+
"id": "$item.id"
|
|
17526
|
+
}
|
|
17527
|
+
},
|
|
17528
|
+
"pressFeedback": "scale",
|
|
17529
|
+
"haptic": "light",
|
|
17530
|
+
"accessibilityLabel": "$item.name"
|
|
17531
|
+
}
|
|
17532
|
+
}
|
|
17533
|
+
],
|
|
17534
|
+
"animateItems": true,
|
|
17535
|
+
"pagination": {
|
|
17536
|
+
"cursor": "$service:himiBrandedMemberPrograms.nextCursor",
|
|
17537
|
+
"pageSize": 20,
|
|
17538
|
+
"onLoadMore": {
|
|
17539
|
+
"actionId": "tier5.himiBrandedMemberPrograms.loadMore"
|
|
17540
|
+
}
|
|
17541
|
+
},
|
|
17542
|
+
"onPullToRefresh": {
|
|
17543
|
+
"actionId": "tier5.himiBrandedMemberPrograms.refresh"
|
|
17544
|
+
}
|
|
17545
|
+
}
|
|
17546
|
+
},
|
|
17547
|
+
"modifiers": {
|
|
17548
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.hideList"
|
|
17549
|
+
}
|
|
17550
|
+
},
|
|
17551
|
+
{
|
|
17552
|
+
"id": "",
|
|
17553
|
+
"body": {
|
|
17554
|
+
"package": "himalaya",
|
|
17555
|
+
"type": "VStack",
|
|
17556
|
+
"props": {
|
|
17557
|
+
"spacing": 8,
|
|
17558
|
+
"children": [
|
|
17559
|
+
{
|
|
17560
|
+
"id": "",
|
|
17561
|
+
"body": {
|
|
17562
|
+
"package": "himalaya",
|
|
17563
|
+
"type": "Text",
|
|
17564
|
+
"props": {
|
|
17565
|
+
"text": "The next page could not load.",
|
|
17566
|
+
"style": "caption"
|
|
17567
|
+
}
|
|
17568
|
+
}
|
|
17569
|
+
},
|
|
17570
|
+
{
|
|
17571
|
+
"id": "himi_member_programs.retry_page",
|
|
17572
|
+
"body": {
|
|
17573
|
+
"package": "himalaya",
|
|
17574
|
+
"type": "Button",
|
|
17575
|
+
"props": {
|
|
17576
|
+
"title": "Retry next page",
|
|
17577
|
+
"style": "secondary",
|
|
17578
|
+
"action": {
|
|
17579
|
+
"actionId": "tier5.himiBrandedMemberPrograms.retry"
|
|
17580
|
+
}
|
|
17581
|
+
}
|
|
17582
|
+
}
|
|
17583
|
+
}
|
|
17584
|
+
]
|
|
17585
|
+
}
|
|
17586
|
+
},
|
|
17587
|
+
"modifiers": {
|
|
17588
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.noPageError"
|
|
17589
|
+
}
|
|
17590
|
+
},
|
|
17591
|
+
{
|
|
17592
|
+
"id": "himi_member_programs.empty",
|
|
17593
|
+
"body": {
|
|
17594
|
+
"package": "himalaya",
|
|
17595
|
+
"type": "VStack",
|
|
17596
|
+
"props": {
|
|
17597
|
+
"spacing": 8,
|
|
17598
|
+
"alignment": "leading",
|
|
17599
|
+
"children": [
|
|
17600
|
+
{
|
|
17601
|
+
"id": "",
|
|
17602
|
+
"body": {
|
|
17603
|
+
"package": "himalaya",
|
|
17604
|
+
"type": "Icon",
|
|
17605
|
+
"props": {
|
|
17606
|
+
"name": "layers",
|
|
17607
|
+
"size": 28,
|
|
17608
|
+
"tint": "textTertiary"
|
|
17609
|
+
}
|
|
17610
|
+
},
|
|
17611
|
+
"modifiers": {
|
|
17612
|
+
"accessibilityRole": "decorative"
|
|
17613
|
+
}
|
|
17614
|
+
},
|
|
17615
|
+
{
|
|
17616
|
+
"id": "",
|
|
17617
|
+
"body": {
|
|
17618
|
+
"package": "himalaya",
|
|
17619
|
+
"type": "Text",
|
|
17620
|
+
"props": {
|
|
17621
|
+
"text": "$service:himiBrandedMemberPrograms.emptyText",
|
|
17622
|
+
"style": "body",
|
|
17623
|
+
"color": "textSecondary",
|
|
17624
|
+
"collapseWhenEmpty": true
|
|
17625
|
+
}
|
|
17626
|
+
}
|
|
17627
|
+
}
|
|
17628
|
+
]
|
|
17629
|
+
}
|
|
17630
|
+
},
|
|
17631
|
+
"modifiers": {
|
|
17632
|
+
"background": {
|
|
17633
|
+
"token": "surfaceElevated"
|
|
17634
|
+
},
|
|
17635
|
+
"border": {
|
|
17636
|
+
"width": 1,
|
|
17637
|
+
"color": {
|
|
17638
|
+
"token": "border"
|
|
17639
|
+
}
|
|
17640
|
+
},
|
|
17641
|
+
"cornerRadius": 4,
|
|
17642
|
+
"padding": {
|
|
17643
|
+
"leading": 16,
|
|
17644
|
+
"trailing": 16,
|
|
17645
|
+
"top": 16,
|
|
17646
|
+
"bottom": 16
|
|
17647
|
+
},
|
|
17648
|
+
"fillMaxWidth": true,
|
|
17649
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.noEmpty"
|
|
17650
|
+
}
|
|
17651
|
+
},
|
|
17652
|
+
{
|
|
17653
|
+
"id": "himi_member_programs.member_gate",
|
|
17654
|
+
"body": {
|
|
17655
|
+
"package": "himalaya",
|
|
17656
|
+
"type": "VStack",
|
|
17657
|
+
"props": {
|
|
17658
|
+
"spacing": 10,
|
|
17659
|
+
"alignment": "center",
|
|
17660
|
+
"children": [
|
|
17661
|
+
{
|
|
17662
|
+
"id": "",
|
|
17663
|
+
"body": {
|
|
17664
|
+
"package": "himalaya",
|
|
17665
|
+
"type": "Icon",
|
|
17666
|
+
"props": {
|
|
17667
|
+
"name": "person",
|
|
17668
|
+
"size": 28,
|
|
17669
|
+
"tint": "accentPrimary"
|
|
17670
|
+
}
|
|
17671
|
+
},
|
|
17672
|
+
"modifiers": {
|
|
17673
|
+
"accessibilityRole": "decorative"
|
|
17674
|
+
}
|
|
17675
|
+
},
|
|
17676
|
+
{
|
|
17677
|
+
"id": "himi_member_programs.member_gate_title",
|
|
17678
|
+
"body": {
|
|
17679
|
+
"package": "himalaya",
|
|
17680
|
+
"type": "Text",
|
|
17681
|
+
"props": {
|
|
17682
|
+
"text": "Sign in to see your programs",
|
|
17683
|
+
"style": "bodyEmphasis"
|
|
17684
|
+
}
|
|
17685
|
+
}
|
|
17686
|
+
},
|
|
17687
|
+
{
|
|
17688
|
+
"id": "",
|
|
17689
|
+
"body": {
|
|
17690
|
+
"package": "himalaya",
|
|
17691
|
+
"type": "Text",
|
|
17692
|
+
"props": {
|
|
17693
|
+
"text": "Your joined programs and progress show up here once you sign in.",
|
|
17694
|
+
"style": "footnote",
|
|
17695
|
+
"color": "textSecondary"
|
|
17696
|
+
}
|
|
17697
|
+
}
|
|
17698
|
+
},
|
|
17699
|
+
{
|
|
17700
|
+
"id": "himi_member_programs.member_gate_signin",
|
|
17701
|
+
"body": {
|
|
17702
|
+
"package": "himalaya",
|
|
17703
|
+
"type": "Button",
|
|
17704
|
+
"props": {
|
|
17705
|
+
"title": "Sign in",
|
|
17706
|
+
"style": "primary",
|
|
17707
|
+
"fullWidth": true,
|
|
17708
|
+
"action": {
|
|
17709
|
+
"actionId": "himi.open",
|
|
17710
|
+
"params": {
|
|
17711
|
+
"screenId": "himi_sign_in",
|
|
17712
|
+
"mode": "signin",
|
|
17713
|
+
"intent": "programs",
|
|
17714
|
+
"returnScreenId": "himi_member_programs",
|
|
17715
|
+
"modal": "1"
|
|
17716
|
+
},
|
|
17717
|
+
"presentation": "sheet"
|
|
17718
|
+
}
|
|
17719
|
+
}
|
|
17720
|
+
}
|
|
17721
|
+
}
|
|
17722
|
+
]
|
|
17723
|
+
}
|
|
17724
|
+
},
|
|
17725
|
+
"modifiers": {
|
|
17726
|
+
"background": {
|
|
17727
|
+
"token": "surfaceElevated"
|
|
17728
|
+
},
|
|
17729
|
+
"border": {
|
|
17730
|
+
"width": 1,
|
|
17731
|
+
"color": {
|
|
17732
|
+
"token": "border"
|
|
17733
|
+
}
|
|
17734
|
+
},
|
|
17735
|
+
"cornerRadius": 16,
|
|
17736
|
+
"padding": {
|
|
17737
|
+
"leading": 16,
|
|
17738
|
+
"trailing": 16,
|
|
17739
|
+
"top": 20,
|
|
17740
|
+
"bottom": 20
|
|
17741
|
+
},
|
|
17742
|
+
"fillMaxWidth": true,
|
|
17743
|
+
"hiddenPath": "$service:himiBrandedMemberPrograms.noSignIn"
|
|
17744
|
+
}
|
|
17745
|
+
}
|
|
17746
|
+
]
|
|
17747
|
+
}
|
|
17748
|
+
},
|
|
17749
|
+
"modifiers": {
|
|
17750
|
+
"background": {
|
|
17751
|
+
"token": "surfacePrimary"
|
|
17752
|
+
},
|
|
17753
|
+
"padding": {
|
|
17754
|
+
"leading": 16,
|
|
17755
|
+
"trailing": 16,
|
|
17756
|
+
"top": 18,
|
|
17757
|
+
"bottom": 28
|
|
17758
|
+
},
|
|
17759
|
+
"onAppear": {
|
|
17760
|
+
"actionId": "tier5.himiBrandedMemberPrograms.load"
|
|
17761
|
+
}
|
|
17762
|
+
}
|
|
17763
|
+
},
|
|
17764
|
+
"logicBundle": {
|
|
17765
|
+
"url": "http://localhost:8190/v1/bundles/himi-branded-lite-member-programs?integrity=",
|
|
17766
|
+
"integrity": "",
|
|
17767
|
+
"contentType": "application/javascript+ts-bundle",
|
|
17768
|
+
"declaredCapabilities": [
|
|
17769
|
+
"wix_api",
|
|
17770
|
+
"iap",
|
|
17771
|
+
"app_info"
|
|
17772
|
+
],
|
|
17773
|
+
"minBinaryVersion": "0.1.0",
|
|
17774
|
+
"bundleVersion": "0.0.1"
|
|
17775
|
+
}
|
|
17776
|
+
},
|
|
16944
17777
|
"himi_plans": {
|
|
16945
17778
|
"screenId": "himi_plans",
|
|
16946
17779
|
"renderer": "sdui_intent",
|