@wix/himalaya-cli 0.1777.0 → 0.1779.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/ts/src/webview-embedded.d.ts +8 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +5 -0
- package/dist/cli.mjs +1322 -154
- package/guides/himi-test.md +57 -0
- package/guides/one-app-section-mappings.md +5 -8
- package/guides/one-app-to-himi-app.md +21 -7
- package/guides/release-notes.md +15 -0
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/ar.json +5 -0
- package/templates/beauty-salon/l10n/cs.json +5 -0
- package/templates/beauty-salon/l10n/da.json +5 -0
- package/templates/beauty-salon/l10n/de.json +5 -0
- package/templates/beauty-salon/l10n/el.json +5 -0
- package/templates/beauty-salon/l10n/es.json +5 -0
- package/templates/beauty-salon/l10n/fi.json +5 -0
- package/templates/beauty-salon/l10n/fr.json +5 -0
- package/templates/beauty-salon/l10n/he.json +4 -0
- package/templates/beauty-salon/l10n/hu.json +5 -0
- package/templates/beauty-salon/l10n/id.json +5 -0
- package/templates/beauty-salon/l10n/it.json +5 -0
- package/templates/beauty-salon/l10n/ja.json +5 -0
- package/templates/beauty-salon/l10n/ko.json +5 -0
- package/templates/beauty-salon/l10n/lt.json +5 -0
- package/templates/beauty-salon/l10n/nl.json +5 -0
- package/templates/beauty-salon/l10n/no.json +5 -0
- package/templates/beauty-salon/l10n/pl.json +5 -0
- package/templates/beauty-salon/l10n/pt.json +5 -0
- package/templates/beauty-salon/l10n/ru.json +5 -0
- package/templates/beauty-salon/l10n/sv.json +5 -0
- package/templates/beauty-salon/l10n/th.json +5 -0
- package/templates/beauty-salon/l10n/tr.json +5 -0
- package/templates/beauty-salon/l10n/uk.json +5 -0
- package/templates/beauty-salon/l10n/vi.json +5 -0
- package/templates/beauty-salon/l10n/zh.json +5 -0
- package/templates/beauty-salon/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/branded-lite/l10n/ar.json +15 -0
- package/templates/branded-lite/l10n/cs.json +15 -0
- package/templates/branded-lite/l10n/da.json +15 -0
- package/templates/branded-lite/l10n/de.json +15 -0
- package/templates/branded-lite/l10n/el.json +15 -0
- package/templates/branded-lite/l10n/es.json +15 -0
- package/templates/branded-lite/l10n/fi.json +15 -0
- package/templates/branded-lite/l10n/fr.json +15 -0
- package/templates/branded-lite/l10n/he.json +12 -0
- package/templates/branded-lite/l10n/hu.json +15 -0
- package/templates/branded-lite/l10n/id.json +15 -0
- package/templates/branded-lite/l10n/it.json +15 -0
- package/templates/branded-lite/l10n/ja.json +15 -0
- package/templates/branded-lite/l10n/ko.json +15 -0
- package/templates/branded-lite/l10n/lt.json +15 -0
- package/templates/branded-lite/l10n/nl.json +15 -0
- package/templates/branded-lite/l10n/no.json +15 -0
- package/templates/branded-lite/l10n/pl.json +15 -0
- package/templates/branded-lite/l10n/pt.json +15 -0
- package/templates/branded-lite/l10n/ru.json +15 -0
- package/templates/branded-lite/l10n/sv.json +15 -0
- package/templates/branded-lite/l10n/th.json +15 -0
- package/templates/branded-lite/l10n/tr.json +15 -0
- package/templates/branded-lite/l10n/uk.json +15 -0
- package/templates/branded-lite/l10n/vi.json +15 -0
- package/templates/branded-lite/l10n/zh.json +15 -0
- package/templates/branded-lite/recipes/blog-categories.json +115 -0
- package/templates/branded-lite/recipes/event-schedule.json +114 -0
- package/templates/branded-lite/recipes/groups-newsfeed.json +245 -0
- package/templates/branded-lite/recipes/loyalty-offering.json +241 -0
- package/templates/branded-lite/recipes/loyalty-status.json +173 -0
- package/templates/branded-lite/recipes/members-carousel.json +144 -0
- package/templates/branded-lite/recipes/performance-tracker.json +325 -0
- package/templates/branded-lite/recipes/podcasts-widget.json +280 -0
- package/templates/branded-lite/recipes/products-search-bar.json +139 -0
- package/templates/branded-lite/recipes/wishlist-grid.json +236 -0
- package/templates/branded-lite/tier5-src/_shared/blog-categories.ts +62 -0
- package/templates/branded-lite/tier5-src/_shared/event-agenda.ts +122 -0
- package/templates/branded-lite/tier5-src/_shared/event-schedule-section.ts +91 -0
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +2 -2
- package/templates/branded-lite/tier5-src/_shared/groups-newsfeed-section.ts +105 -0
- package/templates/branded-lite/tier5-src/_shared/loyalty-offering-section.ts +88 -0
- package/templates/branded-lite/tier5-src/_shared/loyalty-status-section.ts +88 -0
- package/templates/branded-lite/tier5-src/_shared/members-directory.ts +9 -3
- package/templates/branded-lite/tier5-src/_shared/performance-tracker-section.ts +120 -0
- package/templates/branded-lite/tier5-src/_shared/performance-tracker-weeks.ts +71 -0
- package/templates/branded-lite/tier5-src/_shared/podcast-section.ts +131 -0
- package/templates/branded-lite/tier5-src/_shared/saved-products-section.ts +64 -0
- package/templates/branded-lite/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/community-club/l10n/ar.json +5 -0
- package/templates/community-club/l10n/cs.json +5 -0
- package/templates/community-club/l10n/da.json +5 -0
- package/templates/community-club/l10n/de.json +5 -0
- package/templates/community-club/l10n/el.json +5 -0
- package/templates/community-club/l10n/es.json +5 -0
- package/templates/community-club/l10n/fi.json +5 -0
- package/templates/community-club/l10n/fr.json +5 -0
- package/templates/community-club/l10n/he.json +4 -0
- package/templates/community-club/l10n/hu.json +5 -0
- package/templates/community-club/l10n/id.json +5 -0
- package/templates/community-club/l10n/it.json +5 -0
- package/templates/community-club/l10n/ja.json +5 -0
- package/templates/community-club/l10n/ko.json +5 -0
- package/templates/community-club/l10n/lt.json +5 -0
- package/templates/community-club/l10n/nl.json +5 -0
- package/templates/community-club/l10n/no.json +5 -0
- package/templates/community-club/l10n/pl.json +5 -0
- package/templates/community-club/l10n/pt.json +5 -0
- package/templates/community-club/l10n/ru.json +5 -0
- package/templates/community-club/l10n/sv.json +5 -0
- package/templates/community-club/l10n/th.json +5 -0
- package/templates/community-club/l10n/tr.json +5 -0
- package/templates/community-club/l10n/uk.json +5 -0
- package/templates/community-club/l10n/vi.json +5 -0
- package/templates/community-club/l10n/zh.json +5 -0
- package/templates/community-club/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/events-meetups/l10n/ar.json +5 -0
- package/templates/events-meetups/l10n/cs.json +5 -0
- package/templates/events-meetups/l10n/da.json +5 -0
- package/templates/events-meetups/l10n/de.json +5 -0
- package/templates/events-meetups/l10n/el.json +5 -0
- package/templates/events-meetups/l10n/es.json +5 -0
- package/templates/events-meetups/l10n/fi.json +5 -0
- package/templates/events-meetups/l10n/fr.json +5 -0
- package/templates/events-meetups/l10n/he.json +4 -0
- package/templates/events-meetups/l10n/hu.json +5 -0
- package/templates/events-meetups/l10n/id.json +5 -0
- package/templates/events-meetups/l10n/it.json +5 -0
- package/templates/events-meetups/l10n/ja.json +5 -0
- package/templates/events-meetups/l10n/ko.json +5 -0
- package/templates/events-meetups/l10n/lt.json +5 -0
- package/templates/events-meetups/l10n/nl.json +5 -0
- package/templates/events-meetups/l10n/no.json +5 -0
- package/templates/events-meetups/l10n/pl.json +5 -0
- package/templates/events-meetups/l10n/pt.json +5 -0
- package/templates/events-meetups/l10n/ru.json +5 -0
- package/templates/events-meetups/l10n/sv.json +5 -0
- package/templates/events-meetups/l10n/th.json +5 -0
- package/templates/events-meetups/l10n/tr.json +5 -0
- package/templates/events-meetups/l10n/uk.json +5 -0
- package/templates/events-meetups/l10n/vi.json +5 -0
- package/templates/events-meetups/l10n/zh.json +5 -0
- package/templates/events-meetups/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/gym-fitness/l10n/ar.json +5 -0
- package/templates/gym-fitness/l10n/cs.json +5 -0
- package/templates/gym-fitness/l10n/da.json +5 -0
- package/templates/gym-fitness/l10n/de.json +5 -0
- package/templates/gym-fitness/l10n/el.json +5 -0
- package/templates/gym-fitness/l10n/es.json +5 -0
- package/templates/gym-fitness/l10n/fi.json +5 -0
- package/templates/gym-fitness/l10n/fr.json +5 -0
- package/templates/gym-fitness/l10n/he.json +4 -0
- package/templates/gym-fitness/l10n/hu.json +5 -0
- package/templates/gym-fitness/l10n/id.json +5 -0
- package/templates/gym-fitness/l10n/it.json +5 -0
- package/templates/gym-fitness/l10n/ja.json +5 -0
- package/templates/gym-fitness/l10n/ko.json +5 -0
- package/templates/gym-fitness/l10n/lt.json +5 -0
- package/templates/gym-fitness/l10n/nl.json +5 -0
- package/templates/gym-fitness/l10n/no.json +5 -0
- package/templates/gym-fitness/l10n/pl.json +5 -0
- package/templates/gym-fitness/l10n/pt.json +5 -0
- package/templates/gym-fitness/l10n/ru.json +5 -0
- package/templates/gym-fitness/l10n/sv.json +5 -0
- package/templates/gym-fitness/l10n/th.json +5 -0
- package/templates/gym-fitness/l10n/tr.json +5 -0
- package/templates/gym-fitness/l10n/uk.json +5 -0
- package/templates/gym-fitness/l10n/vi.json +5 -0
- package/templates/gym-fitness/l10n/zh.json +5 -0
- package/templates/gym-fitness/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/medical-services/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/nonprofit-cause/l10n/ar.json +5 -0
- package/templates/nonprofit-cause/l10n/cs.json +5 -0
- package/templates/nonprofit-cause/l10n/da.json +5 -0
- package/templates/nonprofit-cause/l10n/de.json +5 -0
- package/templates/nonprofit-cause/l10n/el.json +5 -0
- package/templates/nonprofit-cause/l10n/es.json +5 -0
- package/templates/nonprofit-cause/l10n/fi.json +5 -0
- package/templates/nonprofit-cause/l10n/fr.json +5 -0
- package/templates/nonprofit-cause/l10n/he.json +4 -0
- package/templates/nonprofit-cause/l10n/hu.json +5 -0
- package/templates/nonprofit-cause/l10n/id.json +5 -0
- package/templates/nonprofit-cause/l10n/it.json +5 -0
- package/templates/nonprofit-cause/l10n/ja.json +5 -0
- package/templates/nonprofit-cause/l10n/ko.json +5 -0
- package/templates/nonprofit-cause/l10n/lt.json +5 -0
- package/templates/nonprofit-cause/l10n/nl.json +5 -0
- package/templates/nonprofit-cause/l10n/no.json +5 -0
- package/templates/nonprofit-cause/l10n/pl.json +5 -0
- package/templates/nonprofit-cause/l10n/pt.json +5 -0
- package/templates/nonprofit-cause/l10n/ru.json +5 -0
- package/templates/nonprofit-cause/l10n/sv.json +5 -0
- package/templates/nonprofit-cause/l10n/th.json +5 -0
- package/templates/nonprofit-cause/l10n/tr.json +5 -0
- package/templates/nonprofit-cause/l10n/uk.json +5 -0
- package/templates/nonprofit-cause/l10n/vi.json +5 -0
- package/templates/nonprofit-cause/l10n/zh.json +5 -0
- package/templates/nonprofit-cause/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/podcast-creator/l10n/ar.json +5 -0
- package/templates/podcast-creator/l10n/cs.json +5 -0
- package/templates/podcast-creator/l10n/da.json +5 -0
- package/templates/podcast-creator/l10n/de.json +5 -0
- package/templates/podcast-creator/l10n/el.json +5 -0
- package/templates/podcast-creator/l10n/es.json +5 -0
- package/templates/podcast-creator/l10n/fi.json +5 -0
- package/templates/podcast-creator/l10n/fr.json +5 -0
- package/templates/podcast-creator/l10n/he.json +4 -0
- package/templates/podcast-creator/l10n/hu.json +5 -0
- package/templates/podcast-creator/l10n/id.json +5 -0
- package/templates/podcast-creator/l10n/it.json +5 -0
- package/templates/podcast-creator/l10n/ja.json +5 -0
- package/templates/podcast-creator/l10n/ko.json +5 -0
- package/templates/podcast-creator/l10n/lt.json +5 -0
- package/templates/podcast-creator/l10n/nl.json +5 -0
- package/templates/podcast-creator/l10n/no.json +5 -0
- package/templates/podcast-creator/l10n/pl.json +5 -0
- package/templates/podcast-creator/l10n/pt.json +5 -0
- package/templates/podcast-creator/l10n/ru.json +5 -0
- package/templates/podcast-creator/l10n/sv.json +5 -0
- package/templates/podcast-creator/l10n/th.json +5 -0
- package/templates/podcast-creator/l10n/tr.json +5 -0
- package/templates/podcast-creator/l10n/uk.json +5 -0
- package/templates/podcast-creator/l10n/vi.json +5 -0
- package/templates/podcast-creator/l10n/zh.json +5 -0
- package/templates/podcast-creator/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/portfolio-creative/l10n/ar.json +5 -0
- package/templates/portfolio-creative/l10n/cs.json +5 -0
- package/templates/portfolio-creative/l10n/da.json +5 -0
- package/templates/portfolio-creative/l10n/de.json +5 -0
- package/templates/portfolio-creative/l10n/el.json +5 -0
- package/templates/portfolio-creative/l10n/es.json +5 -0
- package/templates/portfolio-creative/l10n/fi.json +5 -0
- package/templates/portfolio-creative/l10n/fr.json +5 -0
- package/templates/portfolio-creative/l10n/he.json +4 -0
- package/templates/portfolio-creative/l10n/hu.json +5 -0
- package/templates/portfolio-creative/l10n/id.json +5 -0
- package/templates/portfolio-creative/l10n/it.json +5 -0
- package/templates/portfolio-creative/l10n/ja.json +5 -0
- package/templates/portfolio-creative/l10n/ko.json +5 -0
- package/templates/portfolio-creative/l10n/lt.json +5 -0
- package/templates/portfolio-creative/l10n/nl.json +5 -0
- package/templates/portfolio-creative/l10n/no.json +5 -0
- package/templates/portfolio-creative/l10n/pl.json +5 -0
- package/templates/portfolio-creative/l10n/pt.json +5 -0
- package/templates/portfolio-creative/l10n/ru.json +5 -0
- package/templates/portfolio-creative/l10n/sv.json +5 -0
- package/templates/portfolio-creative/l10n/th.json +5 -0
- package/templates/portfolio-creative/l10n/tr.json +5 -0
- package/templates/portfolio-creative/l10n/uk.json +5 -0
- package/templates/portfolio-creative/l10n/vi.json +5 -0
- package/templates/portfolio-creative/l10n/zh.json +5 -0
- package/templates/portfolio-creative/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/restaurant/l10n/ar.json +5 -0
- package/templates/restaurant/l10n/cs.json +5 -0
- package/templates/restaurant/l10n/da.json +5 -0
- package/templates/restaurant/l10n/de.json +5 -0
- package/templates/restaurant/l10n/el.json +5 -0
- package/templates/restaurant/l10n/es.json +5 -0
- package/templates/restaurant/l10n/fi.json +5 -0
- package/templates/restaurant/l10n/fr.json +5 -0
- package/templates/restaurant/l10n/he.json +4 -0
- package/templates/restaurant/l10n/hu.json +5 -0
- package/templates/restaurant/l10n/id.json +5 -0
- package/templates/restaurant/l10n/it.json +5 -0
- package/templates/restaurant/l10n/ja.json +5 -0
- package/templates/restaurant/l10n/ko.json +5 -0
- package/templates/restaurant/l10n/lt.json +5 -0
- package/templates/restaurant/l10n/nl.json +5 -0
- package/templates/restaurant/l10n/no.json +5 -0
- package/templates/restaurant/l10n/pl.json +5 -0
- package/templates/restaurant/l10n/pt.json +5 -0
- package/templates/restaurant/l10n/ru.json +5 -0
- package/templates/restaurant/l10n/sv.json +5 -0
- package/templates/restaurant/l10n/th.json +5 -0
- package/templates/restaurant/l10n/tr.json +5 -0
- package/templates/restaurant/l10n/uk.json +5 -0
- package/templates/restaurant/l10n/vi.json +5 -0
- package/templates/restaurant/l10n/zh.json +5 -0
- package/templates/restaurant/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/retail-store/l10n/ar.json +5 -0
- package/templates/retail-store/l10n/cs.json +5 -0
- package/templates/retail-store/l10n/da.json +5 -0
- package/templates/retail-store/l10n/de.json +5 -0
- package/templates/retail-store/l10n/el.json +5 -0
- package/templates/retail-store/l10n/es.json +5 -0
- package/templates/retail-store/l10n/fi.json +5 -0
- package/templates/retail-store/l10n/fr.json +5 -0
- package/templates/retail-store/l10n/he.json +4 -0
- package/templates/retail-store/l10n/hu.json +5 -0
- package/templates/retail-store/l10n/id.json +5 -0
- package/templates/retail-store/l10n/it.json +5 -0
- package/templates/retail-store/l10n/ja.json +5 -0
- package/templates/retail-store/l10n/ko.json +5 -0
- package/templates/retail-store/l10n/lt.json +5 -0
- package/templates/retail-store/l10n/nl.json +5 -0
- package/templates/retail-store/l10n/no.json +5 -0
- package/templates/retail-store/l10n/pl.json +5 -0
- package/templates/retail-store/l10n/pt.json +5 -0
- package/templates/retail-store/l10n/ru.json +5 -0
- package/templates/retail-store/l10n/sv.json +5 -0
- package/templates/retail-store/l10n/th.json +5 -0
- package/templates/retail-store/l10n/tr.json +5 -0
- package/templates/retail-store/l10n/uk.json +5 -0
- package/templates/retail-store/l10n/vi.json +5 -0
- package/templates/retail-store/l10n/zh.json +5 -0
- package/templates/retail-store/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/salon-spa/tier5-src/_shared/weekly-goal.ts +7 -3
- package/templates/yoga-studio/l10n/ar.json +5 -0
- package/templates/yoga-studio/l10n/cs.json +5 -0
- package/templates/yoga-studio/l10n/da.json +5 -0
- package/templates/yoga-studio/l10n/de.json +5 -0
- package/templates/yoga-studio/l10n/el.json +5 -0
- package/templates/yoga-studio/l10n/es.json +5 -0
- package/templates/yoga-studio/l10n/fi.json +5 -0
- package/templates/yoga-studio/l10n/fr.json +5 -0
- package/templates/yoga-studio/l10n/he.json +4 -0
- package/templates/yoga-studio/l10n/hu.json +5 -0
- package/templates/yoga-studio/l10n/id.json +5 -0
- package/templates/yoga-studio/l10n/it.json +5 -0
- package/templates/yoga-studio/l10n/ja.json +5 -0
- package/templates/yoga-studio/l10n/ko.json +5 -0
- package/templates/yoga-studio/l10n/lt.json +5 -0
- package/templates/yoga-studio/l10n/nl.json +5 -0
- package/templates/yoga-studio/l10n/no.json +5 -0
- package/templates/yoga-studio/l10n/pl.json +5 -0
- package/templates/yoga-studio/l10n/pt.json +5 -0
- package/templates/yoga-studio/l10n/ru.json +5 -0
- package/templates/yoga-studio/l10n/sv.json +5 -0
- package/templates/yoga-studio/l10n/th.json +5 -0
- package/templates/yoga-studio/l10n/tr.json +5 -0
- package/templates/yoga-studio/l10n/uk.json +5 -0
- package/templates/yoga-studio/l10n/vi.json +5 -0
- package/templates/yoga-studio/l10n/zh.json +5 -0
- package/templates/yoga-studio/tier5-src/_shared/weekly-goal.ts +7 -3
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "The rewards program's offering: one block per tier (name, description, the points it starts at) with the ways to earn points and the rewards on that tier, or the base offering when the program has no tiers; the program-off and empty texts; and a button that opens the Rewards screen. ONE node, always mounted. Service: registerLoyaltyOfferingSection(svc, { currency }).",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerLoyaltyOfferingSection",
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"loyaltyScreen": "the Rewards screen the button opens, himi_loyalty"
|
|
7
|
+
},
|
|
8
|
+
"node": {
|
|
9
|
+
"id": "{{id}}.offering",
|
|
10
|
+
"body": {
|
|
11
|
+
"package": "himalaya",
|
|
12
|
+
"type": "VStack",
|
|
13
|
+
"props": {
|
|
14
|
+
"spacing": 12,
|
|
15
|
+
"alignment": "leading",
|
|
16
|
+
"children": [
|
|
17
|
+
{
|
|
18
|
+
"id": "{{id}}.loading",
|
|
19
|
+
"body": {
|
|
20
|
+
"package": "himalaya",
|
|
21
|
+
"type": "Skeleton",
|
|
22
|
+
"props": {
|
|
23
|
+
"height": 72,
|
|
24
|
+
"count": 3,
|
|
25
|
+
"cornerRadius": 12
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"modifiers": {
|
|
29
|
+
"padding": {
|
|
30
|
+
"leading": 0,
|
|
31
|
+
"trailing": 0,
|
|
32
|
+
"top": 0,
|
|
33
|
+
"bottom": 0
|
|
34
|
+
},
|
|
35
|
+
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "{{id}}.list",
|
|
40
|
+
"body": {
|
|
41
|
+
"package": "himalaya",
|
|
42
|
+
"type": "LazyList",
|
|
43
|
+
"props": {
|
|
44
|
+
"itemsPath": "$service:{{svc}}.rows",
|
|
45
|
+
"spacing": 8,
|
|
46
|
+
"items": [
|
|
47
|
+
{
|
|
48
|
+
"id": "{{id}}.row",
|
|
49
|
+
"body": {
|
|
50
|
+
"package": "himalaya",
|
|
51
|
+
"type": "VStack",
|
|
52
|
+
"props": {
|
|
53
|
+
"spacing": 0,
|
|
54
|
+
"alignment": "leading",
|
|
55
|
+
"children": [
|
|
56
|
+
{
|
|
57
|
+
"id": "{{id}}.tier",
|
|
58
|
+
"body": {
|
|
59
|
+
"package": "himalaya",
|
|
60
|
+
"type": "VStack",
|
|
61
|
+
"props": {
|
|
62
|
+
"spacing": 2,
|
|
63
|
+
"alignment": "leading",
|
|
64
|
+
"children": [
|
|
65
|
+
{
|
|
66
|
+
"id": "{{id}}.tier.name",
|
|
67
|
+
"body": {
|
|
68
|
+
"package": "himalaya",
|
|
69
|
+
"type": "Text",
|
|
70
|
+
"props": {
|
|
71
|
+
"text": "$item.title",
|
|
72
|
+
"style": "title3",
|
|
73
|
+
"maxLines": 2
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "{{id}}.tier.description",
|
|
79
|
+
"body": {
|
|
80
|
+
"package": "himalaya",
|
|
81
|
+
"type": "Text",
|
|
82
|
+
"props": {
|
|
83
|
+
"text": "$item.subtitle",
|
|
84
|
+
"style": "caption",
|
|
85
|
+
"color": "textSecondary",
|
|
86
|
+
"collapseWhenEmpty": true
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "{{id}}.tier.threshold",
|
|
92
|
+
"body": {
|
|
93
|
+
"package": "himalaya",
|
|
94
|
+
"type": "Text",
|
|
95
|
+
"props": {
|
|
96
|
+
"text": "$item.meta",
|
|
97
|
+
"style": "caption",
|
|
98
|
+
"maxLines": 1,
|
|
99
|
+
"color": "accentPrimary",
|
|
100
|
+
"collapseWhenEmpty": true
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"modifiers": {
|
|
108
|
+
"padding": {
|
|
109
|
+
"leading": 0,
|
|
110
|
+
"trailing": 0,
|
|
111
|
+
"top": 8,
|
|
112
|
+
"bottom": 0
|
|
113
|
+
},
|
|
114
|
+
"hiddenPath": "$item.noTier"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "{{id}}.label",
|
|
119
|
+
"body": {
|
|
120
|
+
"package": "himalaya",
|
|
121
|
+
"type": "Text",
|
|
122
|
+
"props": {
|
|
123
|
+
"text": "$item.title",
|
|
124
|
+
"style": "bodyEmphasis",
|
|
125
|
+
"maxLines": 1,
|
|
126
|
+
"color": "textSecondary"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"modifiers": {
|
|
130
|
+
"hiddenPath": "$item.noLabel"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "{{id}}.item",
|
|
135
|
+
"body": {
|
|
136
|
+
"package": "himalaya",
|
|
137
|
+
"type": "VStack",
|
|
138
|
+
"props": {
|
|
139
|
+
"spacing": 2,
|
|
140
|
+
"alignment": "leading",
|
|
141
|
+
"children": [
|
|
142
|
+
{
|
|
143
|
+
"id": "{{id}}.item.name",
|
|
144
|
+
"body": {
|
|
145
|
+
"package": "himalaya",
|
|
146
|
+
"type": "Text",
|
|
147
|
+
"props": {
|
|
148
|
+
"text": "$item.title",
|
|
149
|
+
"style": "bodyEmphasis",
|
|
150
|
+
"maxLines": 2
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "{{id}}.item.detail",
|
|
156
|
+
"body": {
|
|
157
|
+
"package": "himalaya",
|
|
158
|
+
"type": "Text",
|
|
159
|
+
"props": {
|
|
160
|
+
"text": "$item.subtitle",
|
|
161
|
+
"style": "caption",
|
|
162
|
+
"color": "textSecondary",
|
|
163
|
+
"collapseWhenEmpty": true
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"modifiers": {
|
|
171
|
+
"hiddenPath": "$item.noItem"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"modifiers": {
|
|
182
|
+
"hiddenPath": "$service:{{svc}}.noRows"
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "{{id}}.inactive",
|
|
187
|
+
"body": {
|
|
188
|
+
"package": "himalaya",
|
|
189
|
+
"type": "Text",
|
|
190
|
+
"props": {
|
|
191
|
+
"text": "$service:{{svc}}.inactiveText",
|
|
192
|
+
"style": "body",
|
|
193
|
+
"color": "textSecondary"
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"modifiers": {
|
|
197
|
+
"hiddenPath": "$service:{{svc}}.noInactive"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "{{id}}.empty",
|
|
202
|
+
"body": {
|
|
203
|
+
"package": "himalaya",
|
|
204
|
+
"type": "Text",
|
|
205
|
+
"props": {
|
|
206
|
+
"text": "$service:{{svc}}.emptyText",
|
|
207
|
+
"style": "body",
|
|
208
|
+
"color": "textSecondary"
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"modifiers": {
|
|
212
|
+
"hiddenPath": "$service:{{svc}}.noEmpty"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"id": "{{id}}.view",
|
|
217
|
+
"body": {
|
|
218
|
+
"package": "himalaya",
|
|
219
|
+
"type": "Button",
|
|
220
|
+
"props": {
|
|
221
|
+
"title": "$service:{{svc}}.viewLabel",
|
|
222
|
+
"style": "secondary",
|
|
223
|
+
"size": "md",
|
|
224
|
+
"fullWidth": true,
|
|
225
|
+
"action": {
|
|
226
|
+
"actionId": "himi.open",
|
|
227
|
+
"params": {
|
|
228
|
+
"screenId": "{{loyaltyScreen}}"
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"modifiers": {
|
|
238
|
+
"fillMaxWidth": true
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "The signed-in member's loyalty status: their points and tier, or a sign-in card for a visitor; the message shown instead of points when the program is off or the app cannot read them securely. A failed read is the section-error piece beside it. ONE node, always mounted. Service: registerLoyaltyStatusSection(svc).",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerLoyaltyStatusSection",
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"signInScreen": "the sign-in screen the visitor's button opens, himi_sign_in"
|
|
7
|
+
},
|
|
8
|
+
"node": {
|
|
9
|
+
"id": "{{id}}.status",
|
|
10
|
+
"body": {
|
|
11
|
+
"package": "himalaya",
|
|
12
|
+
"type": "VStack",
|
|
13
|
+
"props": {
|
|
14
|
+
"spacing": 12,
|
|
15
|
+
"alignment": "leading",
|
|
16
|
+
"children": [
|
|
17
|
+
{
|
|
18
|
+
"id": "{{id}}.loading",
|
|
19
|
+
"body": {
|
|
20
|
+
"package": "himalaya",
|
|
21
|
+
"type": "Skeleton",
|
|
22
|
+
"props": {
|
|
23
|
+
"height": 96,
|
|
24
|
+
"count": 1,
|
|
25
|
+
"cornerRadius": 12
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"modifiers": {
|
|
29
|
+
"padding": {
|
|
30
|
+
"leading": 0,
|
|
31
|
+
"trailing": 0,
|
|
32
|
+
"top": 0,
|
|
33
|
+
"bottom": 0
|
|
34
|
+
},
|
|
35
|
+
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "{{id}}.guest",
|
|
40
|
+
"body": {
|
|
41
|
+
"package": "himalaya",
|
|
42
|
+
"type": "VStack",
|
|
43
|
+
"props": {
|
|
44
|
+
"spacing": 8,
|
|
45
|
+
"alignment": "leading",
|
|
46
|
+
"children": [
|
|
47
|
+
{
|
|
48
|
+
"id": "{{id}}.guest.title",
|
|
49
|
+
"body": {
|
|
50
|
+
"package": "himalaya",
|
|
51
|
+
"type": "Text",
|
|
52
|
+
"props": {
|
|
53
|
+
"text": "$service:{{svc}}.guestTitle",
|
|
54
|
+
"style": "bodyEmphasis",
|
|
55
|
+
"maxLines": 2
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "{{id}}.guest.body",
|
|
61
|
+
"body": {
|
|
62
|
+
"package": "himalaya",
|
|
63
|
+
"type": "Text",
|
|
64
|
+
"props": {
|
|
65
|
+
"text": "$service:{{svc}}.guestBody",
|
|
66
|
+
"style": "caption",
|
|
67
|
+
"color": "textSecondary"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "{{id}}.signin",
|
|
73
|
+
"body": {
|
|
74
|
+
"package": "himalaya",
|
|
75
|
+
"type": "Button",
|
|
76
|
+
"props": {
|
|
77
|
+
"title": "$service:{{svc}}.signInLabel",
|
|
78
|
+
"style": "secondary",
|
|
79
|
+
"size": "md",
|
|
80
|
+
"fullWidth": true,
|
|
81
|
+
"action": {
|
|
82
|
+
"actionId": "himi.open",
|
|
83
|
+
"params": {
|
|
84
|
+
"screenId": "{{signInScreen}}"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"modifiers": {
|
|
94
|
+
"hiddenPath": "$service:{{svc}}.noGuest"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "{{id}}.card",
|
|
99
|
+
"body": {
|
|
100
|
+
"package": "himalaya",
|
|
101
|
+
"type": "VStack",
|
|
102
|
+
"props": {
|
|
103
|
+
"spacing": 4,
|
|
104
|
+
"alignment": "leading",
|
|
105
|
+
"children": [
|
|
106
|
+
{
|
|
107
|
+
"id": "{{id}}.card.title",
|
|
108
|
+
"body": {
|
|
109
|
+
"package": "himalaya",
|
|
110
|
+
"type": "Text",
|
|
111
|
+
"props": {
|
|
112
|
+
"text": "$service:{{svc}}.cardTitle",
|
|
113
|
+
"style": "caption",
|
|
114
|
+
"maxLines": 1,
|
|
115
|
+
"color": "textSecondary"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"id": "{{id}}.card.points",
|
|
121
|
+
"body": {
|
|
122
|
+
"package": "himalaya",
|
|
123
|
+
"type": "Text",
|
|
124
|
+
"props": {
|
|
125
|
+
"text": "$service:{{svc}}.points",
|
|
126
|
+
"style": "display",
|
|
127
|
+
"maxLines": 1,
|
|
128
|
+
"collapseWhenEmpty": true
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "{{id}}.card.tier",
|
|
134
|
+
"body": {
|
|
135
|
+
"package": "himalaya",
|
|
136
|
+
"type": "Text",
|
|
137
|
+
"props": {
|
|
138
|
+
"text": "$service:{{svc}}.tier",
|
|
139
|
+
"style": "bodyEmphasis",
|
|
140
|
+
"maxLines": 1,
|
|
141
|
+
"color": "accentPrimary",
|
|
142
|
+
"collapseWhenEmpty": true
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "{{id}}.card.message",
|
|
148
|
+
"body": {
|
|
149
|
+
"package": "himalaya",
|
|
150
|
+
"type": "Text",
|
|
151
|
+
"props": {
|
|
152
|
+
"text": "$service:{{svc}}.message",
|
|
153
|
+
"style": "body",
|
|
154
|
+
"color": "textSecondary",
|
|
155
|
+
"collapseWhenEmpty": true
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"modifiers": {
|
|
163
|
+
"hiddenPath": "$service:{{svc}}.noCard"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"modifiers": {
|
|
170
|
+
"fillMaxWidth": true
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "A page's members as a rail of avatar cards, scrolling sideways (photo, name, the member's first badge; a tap opens the profile) and the empty text. ONE node, always mounted. Service: registerMembersDirectory(svc, { rail: { limit, onlyWithBadges } }).",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name the page worker registered with registerMembersDirectory",
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"detailScreen": "member profile screen id, himi_member"
|
|
7
|
+
},
|
|
8
|
+
"node": {
|
|
9
|
+
"id": "{{id}}.members",
|
|
10
|
+
"body": {
|
|
11
|
+
"package": "himalaya",
|
|
12
|
+
"type": "VStack",
|
|
13
|
+
"props": {
|
|
14
|
+
"spacing": 12,
|
|
15
|
+
"alignment": "leading",
|
|
16
|
+
"children": [
|
|
17
|
+
{
|
|
18
|
+
"id": "{{id}}.loading",
|
|
19
|
+
"body": {
|
|
20
|
+
"package": "himalaya",
|
|
21
|
+
"type": "Skeleton",
|
|
22
|
+
"props": {
|
|
23
|
+
"height": 104,
|
|
24
|
+
"count": 1,
|
|
25
|
+
"cornerRadius": 12
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"modifiers": {
|
|
29
|
+
"padding": {
|
|
30
|
+
"leading": 0,
|
|
31
|
+
"trailing": 0,
|
|
32
|
+
"top": 0,
|
|
33
|
+
"bottom": 0
|
|
34
|
+
},
|
|
35
|
+
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "{{id}}.rail",
|
|
40
|
+
"body": {
|
|
41
|
+
"package": "himalaya",
|
|
42
|
+
"type": "Carousel",
|
|
43
|
+
"props": {
|
|
44
|
+
"itemsPath": "$service:{{svc}}.members",
|
|
45
|
+
"items": [
|
|
46
|
+
{
|
|
47
|
+
"id": "{{id}}.card",
|
|
48
|
+
"body": {
|
|
49
|
+
"package": "himalaya",
|
|
50
|
+
"type": "VStack",
|
|
51
|
+
"props": {
|
|
52
|
+
"spacing": 6,
|
|
53
|
+
"alignment": "center",
|
|
54
|
+
"children": [
|
|
55
|
+
{
|
|
56
|
+
"id": "{{id}}.avatar",
|
|
57
|
+
"body": {
|
|
58
|
+
"package": "himalaya",
|
|
59
|
+
"type": "Image",
|
|
60
|
+
"props": {
|
|
61
|
+
"url": "$item.photo",
|
|
62
|
+
"initials": "$item.initial",
|
|
63
|
+
"width": 64,
|
|
64
|
+
"height": 64,
|
|
65
|
+
"contentMode": "fill",
|
|
66
|
+
"shape": "circle",
|
|
67
|
+
"contentDescription": "$item.name"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "{{id}}.name",
|
|
73
|
+
"body": {
|
|
74
|
+
"package": "himalaya",
|
|
75
|
+
"type": "Text",
|
|
76
|
+
"props": {
|
|
77
|
+
"text": "$item.name",
|
|
78
|
+
"style": "bodyEmphasis",
|
|
79
|
+
"maxLines": 2
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "{{id}}.badge",
|
|
85
|
+
"body": {
|
|
86
|
+
"package": "himalaya",
|
|
87
|
+
"type": "Text",
|
|
88
|
+
"props": {
|
|
89
|
+
"text": "$item.badge1Label",
|
|
90
|
+
"style": "caption",
|
|
91
|
+
"maxLines": 1,
|
|
92
|
+
"color": "textSecondary"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"modifiers": {
|
|
96
|
+
"hiddenPath": "$item.noBadge1"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"modifiers": {
|
|
103
|
+
"width": 88,
|
|
104
|
+
"onTap": {
|
|
105
|
+
"actionId": "himi.open",
|
|
106
|
+
"params": {
|
|
107
|
+
"screenId": "{{detailScreen}}",
|
|
108
|
+
"id": "$item.id"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"pressFeedback": "scale",
|
|
112
|
+
"haptic": "light",
|
|
113
|
+
"accessibilityLabel": "$item.name"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"modifiers": {
|
|
120
|
+
"hiddenPath": "$service:{{svc}}.noMembers"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "{{id}}.empty",
|
|
125
|
+
"body": {
|
|
126
|
+
"package": "himalaya",
|
|
127
|
+
"type": "Text",
|
|
128
|
+
"props": {
|
|
129
|
+
"text": "$service:{{svc}}.emptyText",
|
|
130
|
+
"style": "body",
|
|
131
|
+
"maxLines": 1,
|
|
132
|
+
"color": "textSecondary",
|
|
133
|
+
"collapseWhenEmpty": true
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"modifiers": {
|
|
141
|
+
"fillMaxWidth": true
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|