@wix/himalaya-cli 0.1948.0 → 0.1949.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/sdk/files/src/index.d.ts +23 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/social-feed/src/index.d.ts +13 -4
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/video/src/display.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/files.mjs +4 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +3 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-video.mjs +4 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{1425fc7ef3149df8ba41fdbcca629cefd430a2cae524822c21985f0aade6430a.bin → a8cfd0e17359578587e8937e88dedd40b46d533f08b4d2fdac4c47d5bae6f385.bin} +1 -1
- package/dist/browser-plane/sw.js +1 -1
- package/dist/cli.mjs +127 -65
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/app-icon.md +7 -3
- package/guides/one-app-to-himi-app.md +2 -2
- package/guides/sdk-reference.json +27 -6
- package/package.json +2 -2
- package/templates/beauty-salon-owner/config.ts +7 -0
- package/templates/beauty-salon-owner/dev/index.ts +567 -0
- package/templates/beauty-salon-owner/himalaya.content.json +3 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/beauty-salon-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/beauty-salon-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/branded-lite/l10n/ar.json +21 -0
- package/templates/branded-lite/l10n/cs.json +21 -0
- package/templates/branded-lite/l10n/da.json +21 -0
- package/templates/branded-lite/l10n/de.json +21 -0
- package/templates/branded-lite/l10n/el.json +21 -0
- package/templates/branded-lite/l10n/en.json +5 -0
- package/templates/branded-lite/l10n/es.json +21 -0
- package/templates/branded-lite/l10n/fi.json +21 -0
- package/templates/branded-lite/l10n/fr.json +21 -0
- package/templates/branded-lite/l10n/he.json +21 -0
- package/templates/branded-lite/l10n/hu.json +21 -0
- package/templates/branded-lite/l10n/id.json +21 -0
- package/templates/branded-lite/l10n/it.json +21 -0
- package/templates/branded-lite/l10n/ja.json +21 -0
- package/templates/branded-lite/l10n/ko.json +21 -0
- package/templates/branded-lite/l10n/lt.json +21 -0
- package/templates/branded-lite/l10n/nl.json +21 -0
- package/templates/branded-lite/l10n/no.json +21 -0
- package/templates/branded-lite/l10n/pl.json +21 -0
- package/templates/branded-lite/l10n/pt.json +21 -0
- package/templates/branded-lite/l10n/ru.json +21 -0
- package/templates/branded-lite/l10n/sv.json +21 -0
- package/templates/branded-lite/l10n/th.json +21 -0
- package/templates/branded-lite/l10n/tr.json +21 -0
- package/templates/branded-lite/l10n/uk.json +21 -0
- package/templates/branded-lite/l10n/vi.json +21 -0
- package/templates/branded-lite/l10n/zh.json +21 -0
- package/templates/branded-lite/recipes/group-feed.json +221 -3
- package/templates/branded-lite/recipes/groups-newsfeed.json +160 -2
- package/templates/branded-lite/recipes/video-library.json +475 -0
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +119 -7
- package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +17 -9
- package/templates/branded-lite/tier5-src/_shared/videos-section.ts +134 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-video/index.ts +4 -2
- package/templates/community-club-owner/config.ts +7 -0
- package/templates/community-club-owner/dev/index.ts +567 -0
- package/templates/community-club-owner/himalaya.content.json +3 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/community-club-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/community-club-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/events-meetups-owner/config.ts +7 -0
- package/templates/events-meetups-owner/dev/index.ts +567 -0
- package/templates/events-meetups-owner/himalaya.content.json +3 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/events-meetups-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/events-meetups-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/gym-fitness-owner/config.ts +7 -0
- package/templates/gym-fitness-owner/dev/index.ts +567 -0
- package/templates/gym-fitness-owner/himalaya.content.json +3 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/gym-fitness-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/gym-fitness-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/nonprofit-cause-owner/config.ts +7 -0
- package/templates/nonprofit-cause-owner/dev/index.ts +567 -0
- package/templates/nonprofit-cause-owner/himalaya.content.json +3 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/nonprofit-cause-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/owner-lite/config.ts +7 -0
- package/templates/owner-lite/dev/index.ts +567 -0
- package/templates/owner-lite/himalaya.content.json +3 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/owner-lite/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/owner-lite/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-video/index.ts +4 -2
- package/templates/podcast-creator-owner/config.ts +7 -0
- package/templates/podcast-creator-owner/dev/index.ts +567 -0
- package/templates/podcast-creator-owner/himalaya.content.json +3 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/podcast-creator-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/podcast-creator-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/portfolio-creative-owner/config.ts +7 -0
- package/templates/portfolio-creative-owner/dev/index.ts +567 -0
- package/templates/portfolio-creative-owner/himalaya.content.json +3 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/portfolio-creative-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/portfolio-creative-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/restaurant-owner/config.ts +7 -0
- package/templates/restaurant-owner/dev/index.ts +567 -0
- package/templates/restaurant-owner/himalaya.content.json +3 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/restaurant-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/restaurant-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/retail-store-owner/config.ts +7 -0
- package/templates/retail-store-owner/dev/index.ts +567 -0
- package/templates/retail-store-owner/himalaya.content.json +3 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/retail-store-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/retail-store-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
- package/templates/yoga-studio-owner/config.ts +7 -0
- package/templates/yoga-studio-owner/dev/index.ts +567 -0
- package/templates/yoga-studio-owner/himalaya.content.json +3 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-activity.ts +151 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-availability.ts +15 -2
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-chat.ts +20 -7
- package/templates/yoga-studio-owner/tier5-src/_shared/owner-maestro-when.ts +13 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro/index.ts +60 -11
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-activity/index.ts +228 -0
- package/templates/yoga-studio-owner/tier5-src/himi-owner-lite-maestro-history/index.ts +1 -11
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "The site's Wix Video channels, each inline: the channel's cover, title and size (\"1 video · Free\"), Play All, its first clips as rows (thumbnail with the length on it, title, the video's host when it is not Wix, a play glyph) and See All when the channel has more. A clip and Play All open the video screen with the video, its channel and title; See All opens the channel's screen (the generator removes it when the scaffold has none). A site with no ready video shows \"No videos yet.\". ONE node, always mounted. Service: registerVideoLibrarySection(svc, { channelId, channels, videosPerChannel }); a failed read shows the shared section-error piece.",
|
|
3
|
+
"_keys": {
|
|
4
|
+
"Play All": "videos.playAllCta",
|
|
5
|
+
"See All": "videos.seeAllCta",
|
|
6
|
+
"No videos yet.": "videos.libraryEmpty"
|
|
7
|
+
},
|
|
8
|
+
"_placeholders": {
|
|
9
|
+
"svc": "service name the page worker registered with registerVideoLibrarySection",
|
|
10
|
+
"id": "unique node id prefix for this section",
|
|
11
|
+
"detailScreen": "video screen id, himi_video",
|
|
12
|
+
"channelScreen": "channel screen id, himi_video_channel",
|
|
13
|
+
"videosScreen": "the videos screen id, himi_videos: See All to every channel when the site has more than the section shows (the generator removes it when the section names one channel or the scaffold has no such screen)"
|
|
14
|
+
},
|
|
15
|
+
"node": {
|
|
16
|
+
"id": "{{id}}.library",
|
|
17
|
+
"body": {
|
|
18
|
+
"package": "himalaya",
|
|
19
|
+
"type": "VStack",
|
|
20
|
+
"props": {
|
|
21
|
+
"spacing": 16,
|
|
22
|
+
"alignment": "leading",
|
|
23
|
+
"children": [
|
|
24
|
+
{
|
|
25
|
+
"id": "{{id}}.loading",
|
|
26
|
+
"body": {
|
|
27
|
+
"package": "himalaya",
|
|
28
|
+
"type": "Skeleton",
|
|
29
|
+
"props": {
|
|
30
|
+
"height": 160,
|
|
31
|
+
"count": 1,
|
|
32
|
+
"cornerRadius": 12
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"modifiers": {
|
|
36
|
+
"padding": {
|
|
37
|
+
"leading": 0,
|
|
38
|
+
"trailing": 0,
|
|
39
|
+
"top": 0,
|
|
40
|
+
"bottom": 0
|
|
41
|
+
},
|
|
42
|
+
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "{{id}}.channels",
|
|
47
|
+
"body": {
|
|
48
|
+
"package": "himalaya",
|
|
49
|
+
"type": "Grid",
|
|
50
|
+
"props": {
|
|
51
|
+
"columns": 1,
|
|
52
|
+
"spacing": 24,
|
|
53
|
+
"itemsPath": "$service:{{svc}}.channels",
|
|
54
|
+
"items": [
|
|
55
|
+
{
|
|
56
|
+
"id": "{{id}}.channel",
|
|
57
|
+
"body": {
|
|
58
|
+
"package": "himalaya",
|
|
59
|
+
"type": "VStack",
|
|
60
|
+
"props": {
|
|
61
|
+
"spacing": 12,
|
|
62
|
+
"alignment": "leading",
|
|
63
|
+
"children": [
|
|
64
|
+
{
|
|
65
|
+
"id": "{{id}}.cover",
|
|
66
|
+
"body": {
|
|
67
|
+
"package": "himalaya",
|
|
68
|
+
"type": "Image",
|
|
69
|
+
"props": {
|
|
70
|
+
"url": "$item.coverUrl",
|
|
71
|
+
"fillWidth": true,
|
|
72
|
+
"height": 160,
|
|
73
|
+
"contentMode": "fill",
|
|
74
|
+
"shape": "rect"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"modifiers": {
|
|
78
|
+
"fillMaxWidth": true,
|
|
79
|
+
"cornerRadius": 12,
|
|
80
|
+
"hiddenPath": "$item.noCover",
|
|
81
|
+
"accessibilityRole": "decorative",
|
|
82
|
+
"imagePreview": "off"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "{{id}}.head",
|
|
87
|
+
"body": {
|
|
88
|
+
"package": "himalaya",
|
|
89
|
+
"type": "VStack",
|
|
90
|
+
"props": {
|
|
91
|
+
"spacing": 2,
|
|
92
|
+
"alignment": "leading",
|
|
93
|
+
"children": [
|
|
94
|
+
{
|
|
95
|
+
"id": "{{id}}.channel_title",
|
|
96
|
+
"body": {
|
|
97
|
+
"package": "himalaya",
|
|
98
|
+
"type": "Text",
|
|
99
|
+
"props": {
|
|
100
|
+
"text": "$item.title",
|
|
101
|
+
"style": "title3",
|
|
102
|
+
"maxLines": 2,
|
|
103
|
+
"collapseWhenEmpty": true
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "{{id}}.summary",
|
|
109
|
+
"body": {
|
|
110
|
+
"package": "himalaya",
|
|
111
|
+
"type": "Text",
|
|
112
|
+
"props": {
|
|
113
|
+
"text": "$item.summary",
|
|
114
|
+
"style": "footnote",
|
|
115
|
+
"color": "textSecondary",
|
|
116
|
+
"maxLines": 1
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "{{id}}.play_all",
|
|
126
|
+
"body": {
|
|
127
|
+
"package": "himalaya",
|
|
128
|
+
"type": "Button",
|
|
129
|
+
"props": {
|
|
130
|
+
"title": "Play All",
|
|
131
|
+
"style": "link",
|
|
132
|
+
"leadingIcon": "play",
|
|
133
|
+
"action": {
|
|
134
|
+
"actionId": "himi.open",
|
|
135
|
+
"params": {
|
|
136
|
+
"screenId": "{{detailScreen}}",
|
|
137
|
+
"id": "$item.playId",
|
|
138
|
+
"channelId": "$item.playChannelId",
|
|
139
|
+
"title": "$item.playTitle"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"modifiers": {
|
|
145
|
+
"hiddenPath": "$item.noPlayAll",
|
|
146
|
+
"accessibilityLabel": "$item.playAllLabel"
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "{{id}}.clips",
|
|
151
|
+
"body": {
|
|
152
|
+
"package": "himalaya",
|
|
153
|
+
"type": "Grid",
|
|
154
|
+
"props": {
|
|
155
|
+
"columns": 1,
|
|
156
|
+
"spacing": 12,
|
|
157
|
+
"itemsPath": "$item.videos",
|
|
158
|
+
"items": [
|
|
159
|
+
{
|
|
160
|
+
"id": "{{id}}.clip",
|
|
161
|
+
"body": {
|
|
162
|
+
"package": "himalaya",
|
|
163
|
+
"type": "HStack",
|
|
164
|
+
"props": {
|
|
165
|
+
"spacing": 12,
|
|
166
|
+
"alignment": "center",
|
|
167
|
+
"children": [
|
|
168
|
+
{
|
|
169
|
+
"id": "{{id}}.thumb",
|
|
170
|
+
"body": {
|
|
171
|
+
"package": "himalaya",
|
|
172
|
+
"type": "ZStack",
|
|
173
|
+
"props": {
|
|
174
|
+
"alignment": "leading",
|
|
175
|
+
"children": [
|
|
176
|
+
{
|
|
177
|
+
"id": "{{id}}.thumb_image",
|
|
178
|
+
"body": {
|
|
179
|
+
"package": "himalaya",
|
|
180
|
+
"type": "Image",
|
|
181
|
+
"props": {
|
|
182
|
+
"url": "$item.coverUrl",
|
|
183
|
+
"width": 112,
|
|
184
|
+
"height": 63,
|
|
185
|
+
"contentMode": "fill",
|
|
186
|
+
"shape": "rect"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"modifiers": {
|
|
190
|
+
"hiddenPath": "$item.noCover",
|
|
191
|
+
"accessibilityRole": "decorative"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "{{id}}.thumb_placeholder",
|
|
196
|
+
"body": {
|
|
197
|
+
"package": "himalaya",
|
|
198
|
+
"type": "ZStack",
|
|
199
|
+
"props": {
|
|
200
|
+
"alignment": "center",
|
|
201
|
+
"children": [
|
|
202
|
+
{
|
|
203
|
+
"id": "",
|
|
204
|
+
"body": {
|
|
205
|
+
"package": "himalaya",
|
|
206
|
+
"type": "Icon",
|
|
207
|
+
"props": {
|
|
208
|
+
"name": "play",
|
|
209
|
+
"size": 20,
|
|
210
|
+
"tint": "accentPrimary"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"modifiers": {
|
|
214
|
+
"accessibilityRole": "decorative"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"modifiers": {
|
|
221
|
+
"width": 112,
|
|
222
|
+
"height": 63,
|
|
223
|
+
"background": {
|
|
224
|
+
"token": "accentSurface"
|
|
225
|
+
},
|
|
226
|
+
"hiddenPath": "$item.hasCover"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "",
|
|
231
|
+
"body": {
|
|
232
|
+
"package": "himalaya",
|
|
233
|
+
"type": "VStack",
|
|
234
|
+
"props": {
|
|
235
|
+
"spacing": 0,
|
|
236
|
+
"alignment": "leading",
|
|
237
|
+
"children": [
|
|
238
|
+
{
|
|
239
|
+
"id": "",
|
|
240
|
+
"body": {
|
|
241
|
+
"package": "himalaya",
|
|
242
|
+
"type": "Spacer",
|
|
243
|
+
"props": {}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"id": "",
|
|
248
|
+
"body": {
|
|
249
|
+
"package": "himalaya",
|
|
250
|
+
"type": "HStack",
|
|
251
|
+
"props": {
|
|
252
|
+
"spacing": 0,
|
|
253
|
+
"alignment": "center",
|
|
254
|
+
"children": [
|
|
255
|
+
{
|
|
256
|
+
"id": "",
|
|
257
|
+
"body": {
|
|
258
|
+
"package": "himalaya",
|
|
259
|
+
"type": "Spacer",
|
|
260
|
+
"props": {}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "{{id}}.duration",
|
|
265
|
+
"body": {
|
|
266
|
+
"package": "himalaya",
|
|
267
|
+
"type": "Text",
|
|
268
|
+
"props": {
|
|
269
|
+
"text": "$item.duration",
|
|
270
|
+
"style": "caption",
|
|
271
|
+
"color": "textOnAccent",
|
|
272
|
+
"maxLines": 1
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"modifiers": {
|
|
276
|
+
"background": {
|
|
277
|
+
"token": "accentPrimary"
|
|
278
|
+
},
|
|
279
|
+
"cornerRadius": 4,
|
|
280
|
+
"padding": {
|
|
281
|
+
"leading": 6,
|
|
282
|
+
"trailing": 6,
|
|
283
|
+
"top": 1,
|
|
284
|
+
"bottom": 1
|
|
285
|
+
},
|
|
286
|
+
"hiddenPath": "$item.noDuration"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"modifiers": {
|
|
297
|
+
"width": 112,
|
|
298
|
+
"height": 63,
|
|
299
|
+
"padding": {
|
|
300
|
+
"leading": 4,
|
|
301
|
+
"trailing": 4,
|
|
302
|
+
"top": 4,
|
|
303
|
+
"bottom": 4
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"modifiers": {
|
|
311
|
+
"width": 112,
|
|
312
|
+
"height": 63,
|
|
313
|
+
"cornerRadius": 8
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"id": "{{id}}.clip_text",
|
|
318
|
+
"body": {
|
|
319
|
+
"package": "himalaya",
|
|
320
|
+
"type": "VStack",
|
|
321
|
+
"props": {
|
|
322
|
+
"spacing": 2,
|
|
323
|
+
"alignment": "leading",
|
|
324
|
+
"children": [
|
|
325
|
+
{
|
|
326
|
+
"id": "{{id}}.clip_title",
|
|
327
|
+
"body": {
|
|
328
|
+
"package": "himalaya",
|
|
329
|
+
"type": "Text",
|
|
330
|
+
"props": {
|
|
331
|
+
"text": "$item.title",
|
|
332
|
+
"style": "bodyEmphasis",
|
|
333
|
+
"maxLines": 2
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"id": "{{id}}.provider",
|
|
339
|
+
"body": {
|
|
340
|
+
"package": "himalaya",
|
|
341
|
+
"type": "Text",
|
|
342
|
+
"props": {
|
|
343
|
+
"text": "$item.provider",
|
|
344
|
+
"style": "footnote",
|
|
345
|
+
"color": "textSecondary",
|
|
346
|
+
"maxLines": 1
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"modifiers": {
|
|
350
|
+
"hiddenPath": "$item.noProvider"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
]
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"modifiers": {
|
|
357
|
+
"weight": 1
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"id": "",
|
|
362
|
+
"body": {
|
|
363
|
+
"package": "himalaya",
|
|
364
|
+
"type": "Icon",
|
|
365
|
+
"props": {
|
|
366
|
+
"name": "play",
|
|
367
|
+
"size": 20,
|
|
368
|
+
"tint": "accentPrimary"
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
"modifiers": {
|
|
372
|
+
"accessibilityRole": "decorative"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"modifiers": {
|
|
379
|
+
"fillMaxWidth": true,
|
|
380
|
+
"onTap": {
|
|
381
|
+
"actionId": "himi.open",
|
|
382
|
+
"params": {
|
|
383
|
+
"screenId": "{{detailScreen}}",
|
|
384
|
+
"id": "$item.id",
|
|
385
|
+
"channelId": "$item.channelId",
|
|
386
|
+
"title": "$item.title"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"pressFeedback": "scale",
|
|
390
|
+
"haptic": "light",
|
|
391
|
+
"accessibilityLabel": "$item.accessibilityLabel"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
]
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"id": "{{id}}.channel_all",
|
|
400
|
+
"body": {
|
|
401
|
+
"package": "himalaya",
|
|
402
|
+
"type": "Button",
|
|
403
|
+
"props": {
|
|
404
|
+
"title": "See All",
|
|
405
|
+
"style": "link",
|
|
406
|
+
"action": {
|
|
407
|
+
"actionId": "himi.open",
|
|
408
|
+
"params": {
|
|
409
|
+
"screenId": "{{channelScreen}}",
|
|
410
|
+
"id": "$item.id"
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"modifiers": {
|
|
416
|
+
"hiddenPath": "$item.noMore",
|
|
417
|
+
"accessibilityLabel": "$item.seeAllLabel"
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"modifiers": {
|
|
424
|
+
"fillMaxWidth": true
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
]
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"modifiers": {
|
|
431
|
+
"hiddenPath": "$service:{{svc}}.noRows"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"id": "{{id}}.all_channels",
|
|
436
|
+
"body": {
|
|
437
|
+
"package": "himalaya",
|
|
438
|
+
"type": "Button",
|
|
439
|
+
"props": {
|
|
440
|
+
"title": "See All",
|
|
441
|
+
"style": "secondary",
|
|
442
|
+
"size": "md",
|
|
443
|
+
"fullWidth": true,
|
|
444
|
+
"action": {
|
|
445
|
+
"actionId": "himi.open",
|
|
446
|
+
"params": {
|
|
447
|
+
"screenId": "{{videosScreen}}"
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"modifiers": {
|
|
453
|
+
"hiddenPath": "$service:{{svc}}.noMoreChannels"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"id": "{{id}}.empty",
|
|
458
|
+
"body": {
|
|
459
|
+
"package": "himalaya",
|
|
460
|
+
"type": "Text",
|
|
461
|
+
"props": {
|
|
462
|
+
"text": "No videos yet.",
|
|
463
|
+
"style": "body",
|
|
464
|
+
"color": "textSecondary"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
"modifiers": {
|
|
468
|
+
"hiddenPath": "$service:{{svc}}.noEmpty"
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|