@wix/himalaya-cli 0.1953.0 → 0.1955.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.
Files changed (120) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/auth-providers/wix/src/index.d.ts +5 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-auth.mjs +2 -1
  3. package/dist/cli.mjs +224 -98
  4. package/guides/one-app-section-mappings.md +4 -4
  5. package/guides/one-app-to-himi-app.md +14 -10
  6. package/package.json +2 -2
  7. package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +6 -0
  8. package/templates/beauty-salon/tier5-src/_shared/agenda-calendar.ts +95 -0
  9. package/templates/beauty-salon/tier5-src/_shared/booking-session.ts +10 -0
  10. package/templates/beauty-salon/tier5-src/_shared/class-sessions.ts +113 -0
  11. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +6 -0
  12. package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  13. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +6 -0
  14. package/templates/beauty-salon-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  15. package/templates/branded-lite/l10n/ar.json +10 -0
  16. package/templates/branded-lite/l10n/cs.json +10 -0
  17. package/templates/branded-lite/l10n/da.json +10 -0
  18. package/templates/branded-lite/l10n/de.json +10 -0
  19. package/templates/branded-lite/l10n/el.json +10 -0
  20. package/templates/branded-lite/l10n/es.json +10 -0
  21. package/templates/branded-lite/l10n/fi.json +10 -0
  22. package/templates/branded-lite/l10n/fr.json +10 -0
  23. package/templates/branded-lite/l10n/he.json +9 -0
  24. package/templates/branded-lite/l10n/hu.json +10 -0
  25. package/templates/branded-lite/l10n/id.json +10 -0
  26. package/templates/branded-lite/l10n/it.json +10 -0
  27. package/templates/branded-lite/l10n/ja.json +10 -0
  28. package/templates/branded-lite/l10n/ko.json +10 -0
  29. package/templates/branded-lite/l10n/lt.json +10 -0
  30. package/templates/branded-lite/l10n/nl.json +10 -0
  31. package/templates/branded-lite/l10n/no.json +10 -0
  32. package/templates/branded-lite/l10n/pl.json +10 -0
  33. package/templates/branded-lite/l10n/pt.json +10 -0
  34. package/templates/branded-lite/l10n/ru.json +10 -0
  35. package/templates/branded-lite/l10n/sv.json +10 -0
  36. package/templates/branded-lite/l10n/th.json +10 -0
  37. package/templates/branded-lite/l10n/tr.json +10 -0
  38. package/templates/branded-lite/l10n/uk.json +10 -0
  39. package/templates/branded-lite/l10n/vi.json +10 -0
  40. package/templates/branded-lite/l10n/zh.json +10 -0
  41. package/templates/branded-lite/recipes/blog-carousel-classic.json +335 -0
  42. package/templates/branded-lite/recipes/blog-carousel-full.json +374 -0
  43. package/templates/branded-lite/recipes/class-calendar.json +707 -0
  44. package/templates/branded-lite/recipes/events-inline-carousel.json +308 -0
  45. package/templates/branded-lite/recipes/galleries-carousel.json +51 -2
  46. package/templates/branded-lite/recipes/galleries-collage.json +51 -2
  47. package/templates/branded-lite/recipes/galleries-list.json +51 -2
  48. package/templates/branded-lite/recipes/groups-cards.json +194 -86
  49. package/templates/branded-lite/recipes/groups-list.json +209 -62
  50. package/templates/branded-lite/recipes/upcoming-sessions.json +280 -0
  51. package/templates/branded-lite/tier5-src/_shared/agenda-calendar.ts +95 -0
  52. package/templates/branded-lite/tier5-src/_shared/blog-list.ts +5 -1
  53. package/templates/branded-lite/tier5-src/_shared/booking-session.ts +10 -0
  54. package/templates/branded-lite/tier5-src/_shared/class-calendar-section.ts +280 -0
  55. package/templates/branded-lite/tier5-src/_shared/class-sessions.ts +113 -0
  56. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +6 -0
  57. package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +70 -23
  58. package/templates/branded-lite/tier5-src/_shared/groups-section.ts +297 -26
  59. package/templates/branded-lite/tier5-src/_shared/upcoming-sessions-section.ts +121 -0
  60. package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  61. package/templates/brandy/tier5-src/_shared/engine-intl.ts +6 -0
  62. package/templates/community-club/tier5-src/_shared/engine-intl.ts +6 -0
  63. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +6 -0
  64. package/templates/community-club-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  65. package/templates/conference/tier5-src/_shared/engine-intl.ts +6 -0
  66. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +6 -0
  67. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +6 -0
  68. package/templates/events-meetups-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  69. package/templates/fitness-gym/tier5-src/_shared/agenda-calendar.ts +95 -0
  70. package/templates/fitness-gym/tier5-src/_shared/booking-session.ts +10 -0
  71. package/templates/fitness-gym/tier5-src/_shared/class-sessions.ts +113 -0
  72. package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +6 -0
  73. package/templates/fitness-gym/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  74. package/templates/gym-fitness/tier5-src/_shared/agenda-calendar.ts +95 -0
  75. package/templates/gym-fitness/tier5-src/_shared/booking-session.ts +10 -0
  76. package/templates/gym-fitness/tier5-src/_shared/class-sessions.ts +113 -0
  77. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +6 -0
  78. package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  79. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +6 -0
  80. package/templates/gym-fitness-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  81. package/templates/medical-services/tier5-src/_shared/booking-session.ts +10 -0
  82. package/templates/medical-services/tier5-src/_shared/engine-intl.ts +6 -0
  83. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +6 -0
  84. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +6 -0
  85. package/templates/nonprofit-cause-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  86. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +6 -0
  87. package/templates/owner-lite/tier5-src/_shared/owner-selected-site.ts +13 -0
  88. package/templates/personal-fitness-trainer/tier5-src/_shared/agenda-calendar.ts +95 -0
  89. package/templates/personal-fitness-trainer/tier5-src/_shared/booking-session.ts +10 -0
  90. package/templates/personal-fitness-trainer/tier5-src/_shared/class-sessions.ts +113 -0
  91. package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +6 -0
  92. package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  93. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +6 -0
  94. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +6 -0
  95. package/templates/podcast-creator-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  96. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +6 -0
  97. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +6 -0
  98. package/templates/portfolio-creative-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  99. package/templates/professional-services/tier5-src/_shared/booking-session.ts +10 -0
  100. package/templates/professional-services/tier5-src/_shared/engine-intl.ts +6 -0
  101. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +6 -0
  102. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +6 -0
  103. package/templates/restaurant-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  104. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +6 -0
  105. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +6 -0
  106. package/templates/retail-store-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  107. package/templates/salon-spa/tier5-src/_shared/agenda-calendar.ts +95 -0
  108. package/templates/salon-spa/tier5-src/_shared/booking-session.ts +10 -0
  109. package/templates/salon-spa/tier5-src/_shared/class-sessions.ts +113 -0
  110. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +6 -0
  111. package/templates/salon-spa/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  112. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +6 -0
  113. package/templates/yoga-studio/tier5-src/_shared/agenda-calendar.ts +95 -0
  114. package/templates/yoga-studio/tier5-src/_shared/booking-session.ts +10 -0
  115. package/templates/yoga-studio/tier5-src/_shared/class-sessions.ts +113 -0
  116. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +6 -0
  117. package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +13 -146
  118. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +6 -0
  119. package/templates/yoga-studio-owner/tier5-src/_shared/owner-selected-site.ts +13 -0
  120. package/templates/branded-lite/recipes/blog-hero.json +0 -95
@@ -9453,6 +9453,11 @@
9453
9453
  "translation": "还没有图库。",
9454
9454
  "origin": "machine"
9455
9455
  },
9456
+ "h_053905f92420": {
9457
+ "source": "Sign in to see galleries.",
9458
+ "translation": "登入後即可查看圖庫。",
9459
+ "origin": "machine"
9460
+ },
9456
9461
  "h_02f435ca9a67": {
9457
9462
  "source": "No posts in this group yet.",
9458
9463
  "translation": "此群组还没有帖子。",
@@ -9987,6 +9992,11 @@
9987
9992
  "source": "See past events",
9988
9993
  "translation": "查看往期活动",
9989
9994
  "origin": "machine"
9995
+ },
9996
+ "h_e3899a28e3fc": {
9997
+ "source": "There are no upcoming sessions.",
9998
+ "translation": "没有即将开始的课程。",
9999
+ "origin": "machine"
9990
10000
  }
9991
10001
  }
9992
10002
  }
@@ -0,0 +1,335 @@
1
+ {
2
+ "_recipe": "Blog carousel, CLASSIC layout: a rail of post cards, scrolling sideways. Each card is the cover over an accent panel (the panel shows when the post has none or its cover fails to load), then under it the title, the author line (photo, name, time) and the icon counts. Which author and count facts show is the service's `show`; a section with covers off drops `{{id}}.media`. ONE node, hidden while there are no posts. Service: registerBlogList(svc, { limit, show }); the page worker's onAppear (on an always-mounted box around this node) calls tier5.<svc>.load.",
3
+ "_placeholders": {
4
+ "svc": "service name the page worker registered with registerBlogList",
5
+ "id": "unique node id prefix for this section",
6
+ "detailScreen": "blog post screen id, himi_blog_post"
7
+ },
8
+ "node": {
9
+ "id": "{{id}}.hero",
10
+ "body": {
11
+ "package": "himalaya",
12
+ "type": "Carousel",
13
+ "props": {
14
+ "itemsPath": "$service:{{svc}}.rows",
15
+ "items": [
16
+ {
17
+ "id": "{{id}}.card",
18
+ "body": {
19
+ "package": "himalaya",
20
+ "type": "VStack",
21
+ "props": {
22
+ "spacing": 8,
23
+ "alignment": "leading",
24
+ "children": [
25
+ {
26
+ "id": "{{id}}.media",
27
+ "body": {
28
+ "package": "himalaya",
29
+ "type": "ZStack",
30
+ "props": {
31
+ "alignment": "leading",
32
+ "children": [
33
+ {
34
+ "id": "{{id}}.panel",
35
+ "body": {
36
+ "package": "himalaya",
37
+ "type": "VStack",
38
+ "props": {
39
+ "spacing": 0,
40
+ "alignment": "leading",
41
+ "children": []
42
+ }
43
+ },
44
+ "modifiers": {
45
+ "fillMaxWidth": true,
46
+ "height": 160,
47
+ "background": {
48
+ "token": "accentPrimary"
49
+ },
50
+ "accessibilityRole": "decorative"
51
+ }
52
+ },
53
+ {
54
+ "id": "{{id}}.cover",
55
+ "body": {
56
+ "package": "himalaya",
57
+ "type": "Image",
58
+ "props": {
59
+ "url": "$item.cover",
60
+ "fillWidth": true,
61
+ "height": 160,
62
+ "contentMode": "fill",
63
+ "contentDescription": "$item.title",
64
+ "shape": "rect"
65
+ }
66
+ },
67
+ "modifiers": {
68
+ "fillMaxWidth": true,
69
+ "hiddenPath": "$item.noCover"
70
+ }
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ "modifiers": {
76
+ "fillMaxWidth": true,
77
+ "height": 160,
78
+ "cornerRadius": 12
79
+ }
80
+ },
81
+ {
82
+ "id": "{{id}}.title",
83
+ "body": {
84
+ "package": "himalaya",
85
+ "type": "Text",
86
+ "props": {
87
+ "text": "$item.title",
88
+ "style": "bodyEmphasis",
89
+ "maxLines": 2
90
+ }
91
+ }
92
+ },
93
+ {
94
+ "id": "{{id}}.info",
95
+ "body": {
96
+ "package": "himalaya",
97
+ "type": "HStack",
98
+ "props": {
99
+ "spacing": 8,
100
+ "alignment": "center",
101
+ "children": [
102
+ {
103
+ "id": "{{id}}.avatar",
104
+ "body": {
105
+ "package": "himalaya",
106
+ "type": "Image",
107
+ "props": {
108
+ "url": "$item.authorPhoto",
109
+ "width": 24,
110
+ "height": 24,
111
+ "shape": "circle",
112
+ "contentMode": "fill",
113
+ "contentDescription": "$item.avatarLabel"
114
+ }
115
+ },
116
+ "modifiers": {
117
+ "hiddenPath": "$item.noAvatar"
118
+ }
119
+ },
120
+ {
121
+ "id": "",
122
+ "body": {
123
+ "package": "himalaya",
124
+ "type": "VStack",
125
+ "props": {
126
+ "spacing": 2,
127
+ "alignment": "leading",
128
+ "children": [
129
+ {
130
+ "id": "{{id}}.author",
131
+ "body": {
132
+ "package": "himalaya",
133
+ "type": "Text",
134
+ "props": {
135
+ "text": "$item.authorName",
136
+ "style": "caption",
137
+ "maxLines": 1
138
+ }
139
+ },
140
+ "modifiers": {
141
+ "hiddenPath": "$item.noAuthor"
142
+ }
143
+ },
144
+ {
145
+ "id": "{{id}}.meta",
146
+ "body": {
147
+ "package": "himalaya",
148
+ "type": "Text",
149
+ "props": {
150
+ "text": "$item.meta",
151
+ "style": "caption",
152
+ "color": "textSecondary",
153
+ "maxLines": 1,
154
+ "collapseWhenEmpty": true
155
+ }
156
+ }
157
+ }
158
+ ]
159
+ }
160
+ }
161
+ }
162
+ ]
163
+ }
164
+ },
165
+ "modifiers": {
166
+ "hiddenPath": "$item.noInfo"
167
+ }
168
+ },
169
+ {
170
+ "id": "{{id}}.counts",
171
+ "body": {
172
+ "package": "himalaya",
173
+ "type": "HStack",
174
+ "props": {
175
+ "spacing": 12,
176
+ "alignment": "center",
177
+ "children": [
178
+ {
179
+ "id": "",
180
+ "body": {
181
+ "package": "himalaya",
182
+ "type": "HStack",
183
+ "props": {
184
+ "spacing": 4,
185
+ "alignment": "center",
186
+ "children": [
187
+ {
188
+ "id": "",
189
+ "body": {
190
+ "package": "himalaya",
191
+ "type": "Icon",
192
+ "props": {
193
+ "name": "$item.count1Icon",
194
+ "size": 14,
195
+ "tint": "textSecondary"
196
+ }
197
+ }
198
+ },
199
+ {
200
+ "id": "",
201
+ "body": {
202
+ "package": "himalaya",
203
+ "type": "Text",
204
+ "props": {
205
+ "text": "$item.count1Num",
206
+ "style": "caption",
207
+ "maxLines": 1,
208
+ "color": "textSecondary"
209
+ }
210
+ }
211
+ }
212
+ ]
213
+ }
214
+ },
215
+ "modifiers": {
216
+ "accessibilityLabel": "$item.count1Text",
217
+ "hiddenPath": "$item.noCount1"
218
+ }
219
+ },
220
+ {
221
+ "id": "",
222
+ "body": {
223
+ "package": "himalaya",
224
+ "type": "HStack",
225
+ "props": {
226
+ "spacing": 4,
227
+ "alignment": "center",
228
+ "children": [
229
+ {
230
+ "id": "",
231
+ "body": {
232
+ "package": "himalaya",
233
+ "type": "Icon",
234
+ "props": {
235
+ "name": "$item.count2Icon",
236
+ "size": 14,
237
+ "tint": "textSecondary"
238
+ }
239
+ }
240
+ },
241
+ {
242
+ "id": "",
243
+ "body": {
244
+ "package": "himalaya",
245
+ "type": "Text",
246
+ "props": {
247
+ "text": "$item.count2Num",
248
+ "style": "caption",
249
+ "maxLines": 1,
250
+ "color": "textSecondary"
251
+ }
252
+ }
253
+ }
254
+ ]
255
+ }
256
+ },
257
+ "modifiers": {
258
+ "accessibilityLabel": "$item.count2Text",
259
+ "hiddenPath": "$item.noCount2"
260
+ }
261
+ },
262
+ {
263
+ "id": "",
264
+ "body": {
265
+ "package": "himalaya",
266
+ "type": "HStack",
267
+ "props": {
268
+ "spacing": 4,
269
+ "alignment": "center",
270
+ "children": [
271
+ {
272
+ "id": "",
273
+ "body": {
274
+ "package": "himalaya",
275
+ "type": "Icon",
276
+ "props": {
277
+ "name": "$item.count3Icon",
278
+ "size": 14,
279
+ "tint": "textSecondary"
280
+ }
281
+ }
282
+ },
283
+ {
284
+ "id": "",
285
+ "body": {
286
+ "package": "himalaya",
287
+ "type": "Text",
288
+ "props": {
289
+ "text": "$item.count3Num",
290
+ "style": "caption",
291
+ "maxLines": 1,
292
+ "color": "textSecondary"
293
+ }
294
+ }
295
+ }
296
+ ]
297
+ }
298
+ },
299
+ "modifiers": {
300
+ "accessibilityLabel": "$item.count3Text",
301
+ "hiddenPath": "$item.noCount3"
302
+ }
303
+ }
304
+ ]
305
+ }
306
+ },
307
+ "modifiers": {
308
+ "hiddenPath": "$item.noCounts"
309
+ }
310
+ }
311
+ ]
312
+ }
313
+ },
314
+ "modifiers": {
315
+ "width": 300,
316
+ "onTap": {
317
+ "actionId": "himi.open",
318
+ "params": {
319
+ "screenId": "{{detailScreen}}",
320
+ "id": "$item.id"
321
+ }
322
+ },
323
+ "pressFeedback": "scale",
324
+ "haptic": "light",
325
+ "accessibilityLabel": "$item.title"
326
+ }
327
+ }
328
+ ]
329
+ }
330
+ },
331
+ "modifiers": {
332
+ "hiddenPath": "$service:{{svc}}.noRows"
333
+ }
334
+ }
335
+ }