@wix/himalaya-cli 0.1954.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.
- package/dist/cli.mjs +137 -71
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +11 -7
- package/package.json +2 -2
- package/templates/branded-lite/l10n/ar.json +5 -0
- package/templates/branded-lite/l10n/cs.json +5 -0
- package/templates/branded-lite/l10n/da.json +5 -0
- package/templates/branded-lite/l10n/de.json +5 -0
- package/templates/branded-lite/l10n/el.json +5 -0
- package/templates/branded-lite/l10n/es.json +5 -0
- package/templates/branded-lite/l10n/fi.json +5 -0
- package/templates/branded-lite/l10n/fr.json +5 -0
- package/templates/branded-lite/l10n/he.json +5 -0
- package/templates/branded-lite/l10n/hu.json +5 -0
- package/templates/branded-lite/l10n/id.json +5 -0
- package/templates/branded-lite/l10n/it.json +5 -0
- package/templates/branded-lite/l10n/ja.json +5 -0
- package/templates/branded-lite/l10n/ko.json +5 -0
- package/templates/branded-lite/l10n/lt.json +5 -0
- package/templates/branded-lite/l10n/nl.json +5 -0
- package/templates/branded-lite/l10n/no.json +5 -0
- package/templates/branded-lite/l10n/pl.json +5 -0
- package/templates/branded-lite/l10n/pt.json +5 -0
- package/templates/branded-lite/l10n/ru.json +5 -0
- package/templates/branded-lite/l10n/sv.json +5 -0
- package/templates/branded-lite/l10n/th.json +5 -0
- package/templates/branded-lite/l10n/tr.json +5 -0
- package/templates/branded-lite/l10n/uk.json +5 -0
- package/templates/branded-lite/l10n/vi.json +5 -0
- package/templates/branded-lite/l10n/zh.json +5 -0
- package/templates/branded-lite/recipes/blog-carousel-classic.json +335 -0
- package/templates/branded-lite/recipes/blog-carousel-full.json +374 -0
- package/templates/branded-lite/recipes/events-inline-carousel.json +308 -0
- package/templates/branded-lite/recipes/galleries-carousel.json +51 -2
- package/templates/branded-lite/recipes/galleries-collage.json +51 -2
- package/templates/branded-lite/recipes/galleries-list.json +51 -2
- package/templates/branded-lite/recipes/groups-cards.json +194 -86
- package/templates/branded-lite/recipes/groups-list.json +209 -62
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +5 -1
- package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +70 -23
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +297 -26
- package/templates/branded-lite/recipes/blog-hero.json +0 -95
package/dist/cli.mjs
CHANGED
|
@@ -3964,7 +3964,6 @@ var init_himi_package = __esm({
|
|
|
3964
3964
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
3965
3965
|
var init_icon_catalog_generated = __esm({
|
|
3966
3966
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
3967
|
-
"use strict";
|
|
3968
3967
|
init_define_HHP_CATALOG();
|
|
3969
3968
|
ICON_VIEW_BOX = 24;
|
|
3970
3969
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -12706,6 +12705,20 @@ function compileV2(html, profile, options2) {
|
|
|
12706
12705
|
if (!info4?.paths.has(relative41)) error(el2, "HHP-BINDING-PATH", `Unknown controller state path ${relative41}.`);
|
|
12707
12706
|
return `$service:${serviceName2}.${relative41}`;
|
|
12708
12707
|
}
|
|
12708
|
+
function projectText(el2, row2, text32, matches2) {
|
|
12709
|
+
for (const match of matches2) path2(el2, match[1], row2);
|
|
12710
|
+
const key4 = `t${textProjections.length}`;
|
|
12711
|
+
const normalized2 = text32.replace(/{{\s*([\w.$]+)\s*}}/g, (_match, raw) => `{{${raw.startsWith("$item.") ? raw : statePath(raw)}}}`);
|
|
12712
|
+
textProjections.push({ key: key4, text: normalized2, ...typeof row2 === "string" && row2 ? { collection: row2 } : {} });
|
|
12713
|
+
return typeof row2 === "string" && row2 ? `$item.__hhpText_${key4}` : `$service:${serviceName2}.__hhpText.${key4}`;
|
|
12714
|
+
}
|
|
12715
|
+
function interpolations(el2, text32) {
|
|
12716
|
+
if (/{{|}}/.test(text32.replace(/{{\s*[\w.$]+\s*}}/g, ""))) {
|
|
12717
|
+
error(el2, "HHP-TEXT-EXPRESSION", "Text interpolation accepts state/item paths; compute expressions in the controller.");
|
|
12718
|
+
return void 0;
|
|
12719
|
+
}
|
|
12720
|
+
return [...text32.matchAll(/{{\s*([\w.$]+)\s*}}/g)];
|
|
12721
|
+
}
|
|
12709
12722
|
const read2 = (value2, dotted) => dotted.split(".").reduce((current, key4) => current && typeof current === "object" && Object.hasOwn(current, key4) ? current[key4] : void 0, value2);
|
|
12710
12723
|
function rowValues(row2, raw) {
|
|
12711
12724
|
if (!row2) return [];
|
|
@@ -12769,17 +12782,12 @@ function compileV2(html, profile, options2) {
|
|
|
12769
12782
|
const textNodes = element.contents().toArray().filter((n2) => n2.type === "text");
|
|
12770
12783
|
const text32 = textNodes.map((n2) => n2.data).join(" ").replace(/\s+/g, " ").trim();
|
|
12771
12784
|
if (["Text", "RichText"].includes(type2)) {
|
|
12772
|
-
const matches2 =
|
|
12773
|
-
if (/{{|}}/.test(text32.replace(/{{\s*[\w.$]+\s*}}/g, ""))) error(el2, "HHP-TEXT-EXPRESSION", "Text interpolation accepts state/item paths; compute expressions in the controller.");
|
|
12785
|
+
const matches2 = interpolations(el2, text32) ?? [];
|
|
12774
12786
|
if (matches2.length) {
|
|
12775
12787
|
if (matches2.length === 1 && matches2[0][0] === text32 && type2 === "Text") {
|
|
12776
12788
|
props2.text = path2(el2, matches2[0][1], row2);
|
|
12777
12789
|
} else if ((controller || nanoActions) && type2 === "Text") {
|
|
12778
|
-
|
|
12779
|
-
const key4 = `t${textProjections.length}`;
|
|
12780
|
-
const normalized2 = text32.replace(/{{\s*([\w.$]+)\s*}}/g, (_match, raw) => `{{${raw.startsWith("$item.") ? raw : statePath(raw)}}}`);
|
|
12781
|
-
textProjections.push({ key: key4, text: normalized2, ...row2 ? { collection: row2 } : {} });
|
|
12782
|
-
props2.text = row2 ? `$item.__hhpText_${key4}` : `$service:${serviceName2}.__hhpText.${key4}`;
|
|
12790
|
+
props2.text = projectText(el2, row2, text32, matches2);
|
|
12783
12791
|
} else {
|
|
12784
12792
|
if (profile.surfaces.some((surface) => surface === "ios" || surface === "android" || surface === "macos"))
|
|
12785
12793
|
error(el2, "HHP-TEXT-TEMPLATE-SURFACE", "Text templates are not implemented by the enabled native renderers.", "Compute the complete string in controller state and bind it on a Text component with {{path}} or bind:content.");
|
|
@@ -12799,8 +12807,17 @@ function compileV2(html, profile, options2) {
|
|
|
12799
12807
|
if (heading) props2.style = heading;
|
|
12800
12808
|
else error(el2, "HHP-TOKEN", "Headings require a body, title1, headline, or largeTitle typography token.");
|
|
12801
12809
|
}
|
|
12802
|
-
} else if (type2 === "Button" && (text32 || attrs.title))
|
|
12803
|
-
|
|
12810
|
+
} else if (type2 === "Button" && (text32 || attrs.title)) {
|
|
12811
|
+
const label4 = text32 || attrs.title;
|
|
12812
|
+
const matches2 = interpolations(el2, label4);
|
|
12813
|
+
if (!matches2?.length) props2.title = label4;
|
|
12814
|
+
else if (matches2.length === 1 && matches2[0][0] === label4) props2.title = path2(el2, matches2[0][1], row2);
|
|
12815
|
+
else if (controller || nanoActions) props2.title = projectText(el2, row2, label4, matches2);
|
|
12816
|
+
else {
|
|
12817
|
+
props2.title = label4;
|
|
12818
|
+
error(el2, "HHP-TEXT-TEMPLATE-SURFACE", "A button label mixing copy and {{paths}} needs a worker to build the complete string.", "Keep the complete label in state and bind it with a single {{path}}.");
|
|
12819
|
+
}
|
|
12820
|
+
} else if (text32) error(el2, "HHP-TEXT", "Wrap container text in a paragraph or span.");
|
|
12804
12821
|
if (type2 === "Image" && attrs.src) {
|
|
12805
12822
|
if (/^https:\/\//.test(attrs.src)) props2.url = attrs.src;
|
|
12806
12823
|
else {
|
|
@@ -210707,28 +210724,43 @@ function galleryCards(id, s5, index, ctx, options2) {
|
|
|
210707
210724
|
const title = str15(s5.title).trim();
|
|
210708
210725
|
const viewAll = ctx.hasScreen("himi_galleries") ? node3(`${id}.all`, "Button", { title: "View All", style: "secondary", size: "md", fullWidth: true, action: { actionId: "himi.open", params: { screenId: "himi_galleries" } } }, { hiddenPath: `$service:${svc}.noMore` }) : void 0;
|
|
210709
210726
|
if (s5.showTitle !== false && title) children2.push(text10(`${id}.title`, title, "title3", {}, inset(0, 0, 0)));
|
|
210710
|
-
children2.push(
|
|
210727
|
+
children2.push(galleriesRecipe(options2.layout, svc, id, ctx), ...viewAll ? [viewAll] : [], ...ctx.optionalRecipe("section-error", { svc, id, action: "load" }));
|
|
210711
210728
|
return vstack(`${id}.box`, children2, 12, { ...inset(16, 16), onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
|
|
210712
210729
|
}
|
|
210730
|
+
function galleriesRecipe(name, svc, id, ctx) {
|
|
210731
|
+
const node4 = ctx.recipe(name, { svc, id, signInScreen: "himi_sign_in" });
|
|
210732
|
+
return ctx.hasScreen("himi_sign_in") ? node4 : withoutNode(node4, `${id}.signin.button`);
|
|
210733
|
+
}
|
|
210713
210734
|
function galleryCollage(id, index, ctx, options2) {
|
|
210714
210735
|
if (!ctx.hasScreen("himi_gallery")) throw new RecipeError("this scaffold has no himi_gallery screen for a gallery tile to open, so the section keeps its title and a See All link.");
|
|
210715
210736
|
const svc = ctx.uses("galleries", `galleries${index}`, { limit: 1, showName: options2.showName, collage: true });
|
|
210716
|
-
return vstack(`${id}.box`, [
|
|
210737
|
+
return vstack(`${id}.box`, [galleriesRecipe("galleries-collage", svc, id, ctx), ...ctx.optionalRecipe("section-error", { svc, id, action: "load" })], 12, { ...inset(16, 16), onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
|
|
210717
210738
|
}
|
|
210718
210739
|
function groupsSection(recipe, type2) {
|
|
210719
210740
|
return (id, s5, st2, index, ctx, sectionId) => {
|
|
210720
210741
|
if (!ctx.hasScreen("himi_group")) return ctx.unsupported(sectionId, type2, "this scaffold has no himi_group screen for a row to open");
|
|
210721
210742
|
const groupIds = arr3(st2.groupsIds).filter((v2) => typeof v2 === "string" && !!v2);
|
|
210722
210743
|
const limit = countOf2(st2.maxGroups);
|
|
210723
|
-
const createText2 = str15(st2.createButtonText).trim();
|
|
210724
|
-
|
|
210744
|
+
const createText2 = str15(st2.createButtonText).trim() || "Create Group";
|
|
210745
|
+
ctx.gap(sectionId, type2, `the source has a "${createText2}" control for a member the site lets create groups; the section has none, because Wix refuses group creation to every member session (createGroup needs an owner token)`);
|
|
210725
210746
|
const svc = ctx.uses("groups", `groups${index}`, { ...groupIds.length ? { groupIds } : {}, ...limit !== void 0 ? { limit } : {}, ...recipe === "groups-cards" ? { cards: true } : {} });
|
|
210726
|
-
const
|
|
210727
|
-
const
|
|
210728
|
-
|
|
210729
|
-
|
|
210730
|
-
|
|
210731
|
-
|
|
210747
|
+
const title = s5.showTitle === true ? str15(s5.title).trim() : "";
|
|
210748
|
+
const expand3 = str15(st2.expandButtonText).trim() || "View All";
|
|
210749
|
+
const signInScreen = ctx.hasScreen("himi_sign_in") ? "himi_sign_in" : "";
|
|
210750
|
+
let list5 = ctx.recipe(recipe, {
|
|
210751
|
+
svc,
|
|
210752
|
+
id,
|
|
210753
|
+
title,
|
|
210754
|
+
detailScreen: "himi_group",
|
|
210755
|
+
signInScreen,
|
|
210756
|
+
...recipe === "groups-list" ? { headLabel: "Search", searchPlaceholder: "Search groups", seeAllLabel: expand3, seeAllScreen: "himi_groups" } : { headLabel: expand3, headScreen: "himi_groups" }
|
|
210757
|
+
});
|
|
210758
|
+
list5 = withoutNode(list5, title ? `${id}.headSpacer` : `${id}.headTitle`);
|
|
210759
|
+
if (!ctx.hasScreen("himi_groups")) {
|
|
210760
|
+
list5 = recipe === "groups-list" ? withoutNode(list5, `${id}.more`) : withoutNode(list5, `${id}.all`);
|
|
210761
|
+
if (recipe === "groups-cards" && !title) list5 = withoutNode(list5, `${id}.head`);
|
|
210762
|
+
}
|
|
210763
|
+
return vstack(`${id}.box`, [list5, ...ctx.optionalRecipe("section-error", { svc, id, action: "load" })], 12, { ...inset(16, 16), onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
|
|
210732
210764
|
};
|
|
210733
210765
|
}
|
|
210734
210766
|
function productsSection(kind) {
|
|
@@ -210798,7 +210830,7 @@ function wishlistSection(id, s5, st2, index, ctx, sectionId) {
|
|
|
210798
210830
|
children2.push(list5, ...ctx.optionalRecipe("section-error", { svc, id, action: "load" }));
|
|
210799
210831
|
return vstack(`${id}.box`, children2, 12, { ...inset(16, 16), onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
|
|
210800
210832
|
}
|
|
210801
|
-
function blogOptions(st2,
|
|
210833
|
+
function blogOptions(st2, rows = {}) {
|
|
210802
210834
|
const content = obj19(st2.contentSettings);
|
|
210803
210835
|
const display = obj19(st2.displayOptions);
|
|
210804
210836
|
const raw = content.postsPerCategory;
|
|
@@ -210818,7 +210850,8 @@ function blogOptions(st2, listRows = false) {
|
|
|
210818
210850
|
views: display.times_viewed === true,
|
|
210819
210851
|
comments: display.comments === true,
|
|
210820
210852
|
// Each its own source switch (absent: hidden). The full list See All opens gets the same row facts.
|
|
210821
|
-
...
|
|
210853
|
+
...rows.avatar ? { avatar: display.avatar === true } : {},
|
|
210854
|
+
...rows.excerpt ? { excerpt: display.excerpt === true } : {}
|
|
210822
210855
|
},
|
|
210823
210856
|
// The native list shows "2 hours ago", not an absolute date (observed on the source app; no source setting carries it).
|
|
210824
210857
|
relativeTime: true
|
|
@@ -210828,7 +210861,7 @@ function blogOptions(st2, listRows = false) {
|
|
|
210828
210861
|
function blogSection(id, s5, st2, index, ctx, sectionId, type2) {
|
|
210829
210862
|
const display = obj19(st2.displayOptions);
|
|
210830
210863
|
if (st2.postsLayout !== void 0 && st2.postsLayout !== "list") ctx.gap(sectionId, type2, `post layout "${String(st2.postsLayout)}" is shown as the shared blog list`);
|
|
210831
|
-
const { base: base2, limit } = blogOptions(st2, true);
|
|
210864
|
+
const { base: base2, limit } = blogOptions(st2, { avatar: true, excerpt: true });
|
|
210832
210865
|
const svc = ctx.uses("blog", `blog${index}`, { ...base2, ...limit !== void 0 ? { limit, seeAll: true } : {} });
|
|
210833
210866
|
const nodes3 = ctx.recipeNodes("blog-list", { svc, id, detailScreen: "himi_blog_post" });
|
|
210834
210867
|
loadOnAppear(nodes3, svc);
|
|
@@ -210851,18 +210884,20 @@ function blogSection(id, s5, st2, index, ctx, sectionId, type2) {
|
|
|
210851
210884
|
}
|
|
210852
210885
|
return out2;
|
|
210853
210886
|
}
|
|
210854
|
-
function blogCarousel(type2,
|
|
210887
|
+
function blogCarousel(type2, look) {
|
|
210855
210888
|
return (id, s5, st2, index, ctx, sectionId) => {
|
|
210856
|
-
const { base: base2, limit } = blogOptions(st2);
|
|
210889
|
+
const { base: base2, limit } = blogOptions(st2, { avatar: true });
|
|
210857
210890
|
const shown3 = Math.min(limit ?? BLOG_HERO_MAX, BLOG_HERO_MAX);
|
|
210858
210891
|
if (limit === void 0 || limit > BLOG_HERO_MAX) ctx.gap(sectionId, type2, `the source carousel is not limited to ${BLOG_HERO_MAX} posts; the app shows the latest ${shown3}`);
|
|
210859
|
-
for (const reason of layoutGaps(st2)) ctx.gap(sectionId, type2, reason);
|
|
210860
210892
|
const svc = ctx.uses("blog", `blog${index}`, { ...base2, limit: shown3 });
|
|
210861
210893
|
const children2 = [];
|
|
210862
210894
|
const title = str15(s5.title).trim();
|
|
210863
210895
|
if (s5.showTitle === true && title) children2.push(text10(`${id}.title`, title, "title3", {}, inset(0, 0, 0)));
|
|
210864
|
-
|
|
210865
|
-
|
|
210896
|
+
const textOnly = look === "classic" && obj19(base2.show).cover === false;
|
|
210897
|
+
const skeleton = look === "full" ? 240 : textOnly ? 110 : 270;
|
|
210898
|
+
children2.push(node3(`${id}.loading`, "Skeleton", { height: skeleton, count: 1, cornerRadius: 12 }, { padding: { leading: 0, trailing: 0, top: 0, bottom: 0 }, hiddenPath: `$service:${svc}.notLoading` }));
|
|
210899
|
+
const cards = ctx.recipe(`blog-carousel-${look}`, { svc, id, detailScreen: "himi_blog_post" });
|
|
210900
|
+
children2.push(textOnly ? withoutNode(cards, `${id}.media`) : cards, ...ctx.optionalRecipe("section-error", { svc, id, action: "retry" }));
|
|
210866
210901
|
return vstack(`${id}.box`, children2, 12, { ...inset(16, 16), onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
|
|
210867
210902
|
};
|
|
210868
210903
|
}
|
|
@@ -210872,16 +210907,27 @@ function withOpenParams(node4, id, values) {
|
|
|
210872
210907
|
return { ...entry, body: { ...body, props: { ...props2, action: { ...action, params: { ...obj19(action.params), ...values } } } } };
|
|
210873
210908
|
});
|
|
210874
210909
|
}
|
|
210875
|
-
function eventsInline(id, s5, st2, index, ctx) {
|
|
210910
|
+
function eventsInline(id, s5, st2, index, ctx, rail = false) {
|
|
210876
210911
|
const { categoryIds, eventIds } = eventsSelection(st2);
|
|
210877
210912
|
const open6 = eventsOpenParams(st2);
|
|
210878
|
-
const
|
|
210879
|
-
const
|
|
210880
|
-
const
|
|
210913
|
+
const hasList = ctx.hasScreen("himi_events");
|
|
210914
|
+
const seeAll = !rail && Object.keys(open6).length > 0 && hasList;
|
|
210915
|
+
const svc = ctx.uses("events", `events${index}`, { ...rail ? { limit: EVENTS_RAIL_INLINE } : {}, ...categoryIds.length ? { categoryIds } : {}, ...eventIds.length ? { eventIds } : {} });
|
|
210916
|
+
const recipe = ctx.recipe(rail ? "events-inline-carousel" : "events-inline", { svc, id, shareLabel: "Share", seeAllLabel: seeAll ? "See All" : "", seeAllScreen: "himi_events" });
|
|
210881
210917
|
const card2 = seeAll ? withOpenParams(recipe, `${id}.see_all`, open6) : withoutNode(recipe, `${id}.see_all`);
|
|
210882
210918
|
const children2 = [];
|
|
210883
210919
|
const title = str15(s5.title).trim();
|
|
210884
|
-
if (s5.showTitle === true && title)
|
|
210920
|
+
if (s5.showTitle === true && title) {
|
|
210921
|
+
children2.push(rail && hasList ? hstack(`${id}.head`, [
|
|
210922
|
+
text10(`${id}.title`, title, "title3", { maxLines: 2 }, { ...inset(0, 0, 0), weight: 1 }),
|
|
210923
|
+
node3(
|
|
210924
|
+
`${id}.all`,
|
|
210925
|
+
"Button",
|
|
210926
|
+
{ title: "View All", style: "link", size: "md", action: { actionId: "himi.open", params: { screenId: "himi_events", ...open6 } } },
|
|
210927
|
+
{ hiddenPath: `$service:${svc}.noRows` }
|
|
210928
|
+
)
|
|
210929
|
+
], 12) : text10(`${id}.title`, title, "title3", {}, inset(0, 0, 0)));
|
|
210930
|
+
}
|
|
210885
210931
|
children2.push(card2, ...ctx.optionalRecipe("section-error", { svc, id, action: "load" }));
|
|
210886
210932
|
return vstack(`${id}.box`, children2, 12, { ...inset(16, 16), onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
|
|
210887
210933
|
}
|
|
@@ -211643,7 +211689,7 @@ function addNavigation(out2, plan, taken2, pageIconOf) {
|
|
|
211643
211689
|
out2.routes.push({ layoutItemId: "(more)", label: "More", screenId, kind: "generated" });
|
|
211644
211690
|
out2.tabs.push({ layoutItemId: "(more)", label: "More", screenId });
|
|
211645
211691
|
}
|
|
211646
|
-
var TEMPLATE_HOME_SCREEN, TEMPLATE_SCREEN_PARAM_KEYS, SYSTEM_ALL_PRODUCTS_ID, collectionParams, TEMPLATE_PARAMS, countOf2, SCREEN_ADAPTATIONS, FALLBACK_TARGETS, BOTTOM_TABS_BEFORE_MORE, TEMPLATE_VERTICALS, PAGE_TYPE_ICONS, HOME_TAB_ICON, TEMPLATE_FALLBACKS, MODULES, obj19, arr3, str15, node3, text10, vstack, hstack, inset, youtubeIdOf, DIRECT_VIDEO_FILE, UNREAD_IMAGE_RATIO, BUSINESS_CHAT_SCREEN, SUBSCRIPTIONS_MAX, selectedPlanIds, MEMBERS_RAIL, PROGRAMS_DEFAULT_LIMIT, PROGRAMS_INLINE_MAX, PODCAST_INLINE, GALLERIES_INLINE_MAX, GALLERIES_LIST_INLINE, BLOG_HERO_MAX, BLOG_SEARCH_POSTS, EVENT_SCHEDULE_INLINE, SHOP_ALL, SERVICES_INLINE, UPCOMING_INLINE, CALENDAR_INLINE, UPCOMING_SESSIONS_INLINE, UPCOMING_INTERVALS, HISTORY_INLINE, PRODUCTS_INLINE, GROUP_FEED_POSTS_MAX, POST_ACTION_LABELS, postActionsGap, NEWSFEED_GROUPS_MAX, LOYALTY_TIERS_INLINE, VIDEOS_INLINE_DEFAULT, VIDEOS_INLINE_MAX, WISHLIST_INLINE, SOCIAL_NETWORKS, HANDLERS, memberActionService, MERGED_PAGES_BUNDLE, hasCtaButton, chevron;
|
|
211692
|
+
var TEMPLATE_HOME_SCREEN, TEMPLATE_SCREEN_PARAM_KEYS, SYSTEM_ALL_PRODUCTS_ID, collectionParams, TEMPLATE_PARAMS, countOf2, SCREEN_ADAPTATIONS, FALLBACK_TARGETS, BOTTOM_TABS_BEFORE_MORE, TEMPLATE_VERTICALS, PAGE_TYPE_ICONS, HOME_TAB_ICON, TEMPLATE_FALLBACKS, MODULES, obj19, arr3, str15, node3, text10, vstack, hstack, inset, youtubeIdOf, DIRECT_VIDEO_FILE, UNREAD_IMAGE_RATIO, REPEATER_COLUMNS_MAX, BUSINESS_CHAT_SCREEN, SUBSCRIPTIONS_MAX, selectedPlanIds, MEMBERS_RAIL, PROGRAMS_DEFAULT_LIMIT, PROGRAMS_INLINE_MAX, PODCAST_INLINE, GALLERIES_INLINE_MAX, GALLERIES_LIST_INLINE, BLOG_HERO_MAX, BLOG_SEARCH_POSTS, EVENT_SCHEDULE_INLINE, SHOP_ALL, SERVICES_INLINE, UPCOMING_INLINE, CALENDAR_INLINE, UPCOMING_SESSIONS_INLINE, UPCOMING_INTERVALS, HISTORY_INLINE, PRODUCTS_INLINE, GROUP_FEED_POSTS_MAX, POST_ACTION_LABELS, postActionsGap, NEWSFEED_GROUPS_MAX, LOYALTY_TIERS_INLINE, VIDEOS_INLINE_DEFAULT, VIDEOS_INLINE_MAX, WISHLIST_INLINE, EVENTS_RAIL_INLINE, SOCIAL_NETWORKS, HANDLERS, memberActionService, MERGED_PAGES_BUNDLE, hasCtaButton, chevron;
|
|
211647
211693
|
var init_generate = __esm({
|
|
211648
211694
|
"src/one-app/generate.ts"() {
|
|
211649
211695
|
init_define_HHP_CATALOG();
|
|
@@ -211767,7 +211813,7 @@ var init_generate = __esm({
|
|
|
211767
211813
|
// `himi_groups_feed` is a newer template screen: a scaffold without it links `himi_groups` (`TEMPLATE_FALLBACKS`), as a page of only this section opens it.
|
|
211768
211814
|
groups_feed_section: { screen: "himi_groups_feed", needsScreen: true },
|
|
211769
211815
|
// Link only when the scaffold has the events screen: without it the link would open nothing, so the section is reported instead.
|
|
211770
|
-
events_carousel_section: { sibling: "events_list_section", screen: "himi_events", needsScreen: true, siblingShowsAll: showsEveryEvent },
|
|
211816
|
+
events_carousel_section: { sibling: "events_list_section", screen: "himi_events", needsScreen: true, params: eventsOpenParams, siblingShowsAll: showsEveryEvent },
|
|
211771
211817
|
// Upcoming sessions of the business (the Bookings widget): the template's agenda screen lists the site's upcoming class and course sessions.
|
|
211772
211818
|
platform_general_upcoming_section: { screen: "himi_agenda", needsScreen: true },
|
|
211773
211819
|
// One event's schedule inline needs `himi_event` for View All to open; without it (or with no event chosen) the section keeps its title and a link to the events screen.
|
|
@@ -211917,6 +211963,7 @@ var init_generate = __esm({
|
|
|
211917
211963
|
};
|
|
211918
211964
|
DIRECT_VIDEO_FILE = /\.(?:mp4|m4v|mov|webm|m3u8)(?:[?#]|$)/i;
|
|
211919
211965
|
UNREAD_IMAGE_RATIO = 4 / 3;
|
|
211966
|
+
REPEATER_COLUMNS_MAX = 3;
|
|
211920
211967
|
BUSINESS_CHAT_SCREEN = "himi_business_chat";
|
|
211921
211968
|
SUBSCRIPTIONS_MAX = 5;
|
|
211922
211969
|
selectedPlanIds = (st2) => arr3(st2.selectedPlanIds).filter((v2) => typeof v2 === "string" && !!v2);
|
|
@@ -211948,6 +211995,7 @@ var init_generate = __esm({
|
|
|
211948
211995
|
VIDEOS_INLINE_DEFAULT = 8;
|
|
211949
211996
|
VIDEOS_INLINE_MAX = 20;
|
|
211950
211997
|
WISHLIST_INLINE = 6;
|
|
211998
|
+
EVENTS_RAIL_INLINE = 10;
|
|
211951
211999
|
SOCIAL_NETWORKS = {
|
|
211952
212000
|
instagram: "Instagram",
|
|
211953
212001
|
facebook: "Facebook",
|
|
@@ -212053,30 +212101,49 @@ var init_generate = __esm({
|
|
|
212053
212101
|
autoplay: !!st2.autoplay
|
|
212054
212102
|
}, { cornerRadius: 8, fillMaxWidth: true, accessibilityLabel: ctx.page.label })], 0, inset(8, 8));
|
|
212055
212103
|
},
|
|
212056
|
-
//
|
|
212057
|
-
// (`imageOverlay`); here
|
|
212104
|
+
// Image cards, each with a title, a subtitle and the tap the source gave it, in the source's order. The source may lay the texts
|
|
212105
|
+
// over the image (`imageOverlay`); here they sit under it, so the image stays clear and the texts stay readable. A `grid` repeater
|
|
212106
|
+
// keeps its columns, at every width: on a narrow phone the cells shrink, the texts wrap to two lines and the whole card stays the tap.
|
|
212058
212107
|
platform_elements_repeater_section: (id, _s2, st2, _i2, ctx, elementId) => {
|
|
212059
212108
|
const options2 = obj19(st2.imageOptions);
|
|
212109
|
+
const grid = st2.type === "grid";
|
|
212110
|
+
const showText = st2.showText !== false;
|
|
212111
|
+
const align = textAlign(obj19(st2.textOptions).textAlignment);
|
|
212060
212112
|
const gap = Math.min(24, Math.max(4, Number(st2.spaceBetweenItems) || 12));
|
|
212113
|
+
const ratio = sourceRatio(options2.aspectRatio);
|
|
212114
|
+
let unsized = false;
|
|
212061
212115
|
const cards = arr3(st2.items).map(obj19).flatMap((item2, i2) => {
|
|
212062
212116
|
if (item2.isHidden === true) return [];
|
|
212063
212117
|
const title = str15(item2.title).trim();
|
|
212118
|
+
const subtitle = str15(item2.subtitle).trim();
|
|
212064
212119
|
const url = str15(item2.imageUrl);
|
|
212065
|
-
if (!
|
|
212066
|
-
const tap = controlTap(ctx, obj19(item2.actionData), elementId, "platform_elements_repeater_section", `the item "${title || url}"`);
|
|
212120
|
+
if (!url && !(showText && (title || subtitle))) return [];
|
|
212121
|
+
const tap = controlTap(ctx, obj19(item2.action ?? item2.actionData), elementId, "platform_elements_repeater_section", `the item "${title || subtitle || url}"`);
|
|
212067
212122
|
const parts = [];
|
|
212068
|
-
if (url)
|
|
212069
|
-
|
|
212070
|
-
|
|
212071
|
-
|
|
212072
|
-
|
|
212073
|
-
|
|
212074
|
-
|
|
212075
|
-
|
|
212123
|
+
if (url) {
|
|
212124
|
+
unsized ||= ratio === void 0;
|
|
212125
|
+
parts.push(node3(`${id}.i${i2}.img`, "Image", {
|
|
212126
|
+
url: ctx.imageUrl(url),
|
|
212127
|
+
fillWidth: true,
|
|
212128
|
+
aspectRatio: ratio ?? UNREAD_IMAGE_RATIO,
|
|
212129
|
+
contentMode: options2.imageScale === "fit" ? "fit" : "fill",
|
|
212130
|
+
contentDescription: title || ctx.page.label
|
|
212131
|
+
}, typeof options2.cornerRadius === "number" ? { cornerRadius: options2.cornerRadius } : void 0));
|
|
212132
|
+
}
|
|
212133
|
+
const lines2 = grid ? { maxLines: 2 } : {};
|
|
212134
|
+
const texts = [];
|
|
212135
|
+
if (showText && title) texts.push(text10(`${id}.i${i2}.title`, title, "bodyEmphasis", { textAlign: align, ...lines2 }, { fillMaxWidth: true }));
|
|
212136
|
+
if (showText && subtitle) texts.push(text10(`${id}.i${i2}.subtitle`, subtitle, "footnote", { textAlign: align, color: "textSecondary", ...lines2 }, { fillMaxWidth: true }));
|
|
212137
|
+
if (texts.length) parts.push(vstack(`${id}.i${i2}.texts`, texts, 2, { fillMaxWidth: true }));
|
|
212076
212138
|
return [vstack(`${id}.i${i2}`, parts, 8, tap ? { onTap: tap, fillMaxWidth: true } : { fillMaxWidth: true })];
|
|
212077
212139
|
});
|
|
212078
|
-
if (!cards.length) return ctx.unsupported(elementId, "platform_elements_repeater_section", "the repeater has no item with
|
|
212079
|
-
|
|
212140
|
+
if (!cards.length) return ctx.unsupported(elementId, "platform_elements_repeater_section", "the repeater has no item with an image or a text to show");
|
|
212141
|
+
if (unsized) ctx.gap(elementId, "platform_elements_repeater_section", "the source gives the cards' images no proportions; they are shown in a 4:3 box");
|
|
212142
|
+
if (!grid) return vstack(`${id}.box`, cards, gap, inset(8, 8));
|
|
212143
|
+
const asked = countOf2(st2.numberOfColumns) ?? 2;
|
|
212144
|
+
const columns = Math.min(asked, REPEATER_COLUMNS_MAX);
|
|
212145
|
+
if (asked > columns) ctx.gap(elementId, "platform_elements_repeater_section", `the source lays the items in ${asked} columns; a phone shows ${columns}, so the cards stay readable, and a wider screen shows ${asked}`);
|
|
212146
|
+
return vstack(`${id}.box`, [node3(`${id}.grid`, "Grid", { columns, ...asked > columns ? { columnsMedium: asked } : {}, spacing: gap, items: cards }, { fillMaxWidth: true })], 0, inset(8, 8));
|
|
212080
212147
|
},
|
|
212081
212148
|
// The source lays its texts over the picture. They sit on the picture here too, on a plain accent band (a translucent scrim is
|
|
212082
212149
|
// not used: a web renderer paints a band with an opacity above its sibling text) so they read on any photo; the button follows
|
|
@@ -212244,8 +212311,8 @@ var init_generate = __esm({
|
|
|
212244
212311
|
return plansSection(id, s5, index, ctx, { planIds: selectedPlanIds(st2), showBenefits: true, ...order ? { order } : {} });
|
|
212245
212312
|
},
|
|
212246
212313
|
// The site's first Pro Gallery galleries as cover cards (a rail, or full-width cards when the source turns its carousel off), as many as
|
|
212247
|
-
// the source's `maxGalleries`; with exactly one (and the carousel on) the source shows that gallery as a collage, and so does the section. Like the source, which lists a member's non-hidden, non-empty galleries
|
|
212248
|
-
//
|
|
212314
|
+
// the source's `maxGalleries`; with exactly one (and the carousel on) the source shows that gallery as a collage, and so does the section. Like the source, which lists a member's non-hidden, non-empty galleries, the
|
|
212315
|
+
// module reads for a signed-in member only: a visitor gets a sign-in state and a list it cannot read the error state, never "No galleries yet". A card opens the template's gallery screen and View All its galleries screen: a scaffold without either
|
|
212249
212316
|
// keeps the title and a link, as every data section does.
|
|
212250
212317
|
progallery_carousel_section: (id, s5, st2, index, ctx, sectionId) => {
|
|
212251
212318
|
const asked = typeof st2.maxGalleries === "number" && st2.maxGalleries >= 1 ? Math.floor(st2.maxGalleries) : void 0;
|
|
@@ -212305,17 +212372,14 @@ var init_generate = __esm({
|
|
|
212305
212372
|
const children2 = [heading && ctx.hasScreen("himi_member_programs") ? section3 : withoutNode(section3, `${id}.cta`)];
|
|
212306
212373
|
return vstack(`${id}.box`, children2, 0, { onAppear: { actionId: `tier5.${svc}.load`, params: {} } });
|
|
212307
212374
|
},
|
|
212308
|
-
// The latest posts as a
|
|
212309
|
-
|
|
212310
|
-
|
|
212311
|
-
|
|
212312
|
-
|
|
212313
|
-
|
|
212314
|
-
|
|
212315
|
-
|
|
212316
|
-
const extras = [display.excerpt === true && "the excerpt", display.author === true && "the author", display.likes === true && "the likes", display.times_viewed === true && "the views", display.comments === true && "the comments"].filter(Boolean);
|
|
212317
|
-
return extras.length ? [`the source's cards also show ${extras.join(", ")}; the carousel shows the cover, the title and the time`] : [];
|
|
212318
|
-
}),
|
|
212375
|
+
// The latest posts as a rail of cards, the title over the cover (the definition is the "full" layout).
|
|
212376
|
+
newBlog_postlist_carousel_full_section: blogCarousel("newBlog_postlist_carousel_full_section", "full"),
|
|
212377
|
+
// The same rail in the layout the section names: "full" (title over the cover) or "classic" (cover, then title, author and counts).
|
|
212378
|
+
newBlog_postlist_carousel_section: (id, s5, st2, index, ctx, sectionId) => {
|
|
212379
|
+
const type2 = "newBlog_postlist_carousel_section";
|
|
212380
|
+
if (st2.carouselLayout !== void 0 && st2.carouselLayout !== "full" && st2.carouselLayout !== "classic") ctx.gap(sectionId, type2, `carousel layout "${String(st2.carouselLayout)}" is shown as the Classic carousel`);
|
|
212381
|
+
return blogCarousel(type2, st2.carouselLayout === "full" ? "full" : "classic")(id, s5, st2, index, ctx, sectionId);
|
|
212382
|
+
},
|
|
212319
212383
|
// The blog's categories as an inline vertical list. Each row opens himi_blog, whose chips are the same categories: the template screen
|
|
212320
212384
|
// does not open on a given category, so that difference is reported. The source's image and description have no row field here.
|
|
212321
212385
|
newBlog_category_list_vertical_section: (id, s5, st2, index, ctx, sectionId) => {
|
|
@@ -212710,16 +212774,18 @@ var init_generate = __esm({
|
|
|
212710
212774
|
// Shared galleries are the members' Shared Gallery, a different data source from the Pro Gallery list the shared loader reads (the
|
|
212711
212775
|
// migration guide says not to substitute it), so the section is not shown inline: it keeps its title and links to the galleries screen.
|
|
212712
212776
|
shared_gallery_list_section: (_id, _s2, _st, _i2, ctx, elementId) => ctx.unsupported(elementId, "shared_gallery_list_section", "the source's shared galleries are the members' Shared Gallery, a different data source from the site's Pro Gallery, so they are not shown inline; the link opens the site's galleries, not the members' shared ones"),
|
|
212713
|
-
// The events carousel
|
|
212714
|
-
//
|
|
212715
|
-
//
|
|
212777
|
+
// The events carousel: the shared events cards in a rail that scrolls sideways, limited to the source's chosen categories or events as the
|
|
212778
|
+
// list section is. `filter` is 0 for every event, 1 by category and "manual" for chosen events (read off the 45 carousels collected from
|
|
212779
|
+
// the top apps); the ids decide the selection, as for the list, so `filter` only marks a selection the source made without choosing anything.
|
|
212716
212780
|
events_carousel_section: (id, s5, st2, index, ctx, sectionId) => {
|
|
212717
212781
|
const type2 = "events_carousel_section";
|
|
212718
|
-
|
|
212719
|
-
|
|
212720
|
-
if (st2.filter !== void 0 && st2.filter !== 0 && st2.filter !== 1) return ctx.unsupported(sectionId, type2, `its event filter ${JSON.stringify(st2.filter)} is not one this generator knows`);
|
|
212721
|
-
ctx.
|
|
212722
|
-
if (st2.filter === 1) ctx.gap(sectionId, type2, "the source filters by category but chose none; the section shows every upcoming event");
|
|
212782
|
+
const { categoryIds, eventIds } = eventsSelection(st2);
|
|
212783
|
+
const every = showsEveryEvent(st2);
|
|
212784
|
+
if (st2.filter !== void 0 && st2.filter !== 0 && st2.filter !== 1 && st2.filter !== "manual") return ctx.unsupported(sectionId, type2, `its event filter ${JSON.stringify(st2.filter)} is not one this generator knows`);
|
|
212785
|
+
if (st2.filter === "manual" && every) return ctx.unsupported(sectionId, type2, "the source shows chosen events but chose none, so there is nothing to show");
|
|
212786
|
+
if (st2.filter === 1 && every) ctx.gap(sectionId, type2, "the source filters by category but chose none; the section shows every upcoming event");
|
|
212787
|
+
if (categoryIds.length && eventIds.length) ctx.gap(sectionId, type2, "the source names both categories and events; the section shows the events that are in one of the categories and are also among the chosen ones");
|
|
212788
|
+
ctx.gap(sectionId, type2, `the rail shows at most the next ${EVENTS_RAIL_INLINE} upcoming events`);
|
|
212723
212789
|
const card2 = obj19(st2.cardSettings);
|
|
212724
212790
|
const hidden = [["imageVisible", "image"], ["dateVisible", "date"], ["locationVisible", "location"]].filter(([key4]) => card2[key4] === false).map(([, name]) => name);
|
|
212725
212791
|
if (hidden.length) ctx.gap(sectionId, type2, `the source hides the event's ${hidden.join(", ")}; the card shows ${hidden.length > 1 ? "them" : "it"}`);
|
|
@@ -212728,7 +212794,7 @@ var init_generate = __esm({
|
|
|
212728
212794
|
if (custom.length) ctx.gap(sectionId, type2, `the source sets its own button label${custom.length > 1 && custom[0] !== custom[1] ? "s" : ""} ${[...new Set(custom)].map((label4) => `"${label4}"`).join(" and ")}; the card shows its own registration button label`);
|
|
212729
212795
|
const missing4 = [["guestsVisible", "guest avatars"], ["membershipOfferVisible", "the membership offer"]].filter(([key4]) => card2[key4] === true).map(([, name]) => name);
|
|
212730
212796
|
if (missing4.length) ctx.gap(sectionId, type2, `the source card shows ${missing4.join(" and ")}; the card has ${missing4.length > 1 ? "neither" : "none"}`);
|
|
212731
|
-
return eventsInline(id, s5, st2, index, ctx);
|
|
212797
|
+
return eventsInline(id, s5, st2, index, ctx, true);
|
|
212732
212798
|
},
|
|
212733
212799
|
// Links to the business's networks. Himi has no brand icons, so each link is a button named for its network (a host name for an unknown
|
|
212734
212800
|
// one); a link that is not an http(s) URL is left out and reported, never opened as something else.
|
|
@@ -127,7 +127,7 @@ carousel placement remain separate gaps; the mappings above stay Partial.
|
|
|
127
127
|
| Source sectionDefinitionId | Source viewer component | Himalaya implementation | Placement / reuse | Class | Settings, actions and gaps |
|
|
128
128
|
| --- | --- | --- | --- | --- | --- |
|
|
129
129
|
| `events_list_section` | `wix.events.clientApp.Index` | [himi_events / himi_event](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/packages/himi-events/dev/index.ts) + [events-list worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-events-list/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Screen; inline adapter needed | Module | Reuse the consumer Events list/detail and relevant RSVP/ticket destinations. Translate selection, order, layout and local display options. |
|
|
130
|
-
| `events_carousel_section` | `wix.events.CarouselSection` | [Events list/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/packages/himi-events/dev/index.ts) + [Core Carousel](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") |
|
|
130
|
+
| `events_carousel_section` | `wix.events.CarouselSection` | [Events list/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/packages/himi-events/dev/index.ts) + [Core Carousel](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/src/builder.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") | Generated inline by `himi one-app generate` (Branded Lite events-inline-carousel recipe); View All opens the events list | Partial | Reuse event data and destinations. The carousel shows the shared inline event cards (at most the next 10, reported) in a rail that scrolls sideways, limited to its chosen categories (`categoryIds`) or events (`eventIds`) as the list section is. View All sits on the heading and shows whenever the heading does, once there are events; it opens the events list on the same selection. A "manual" carousel with nothing chosen, or an unknown `filter`, keeps its place as the source title and a link to the events screen, and is reported. The source's own button labels, hidden card parts, guest avatars and membership offer are reported as gaps. |
|
|
131
131
|
| `events_schedule_section` | `wix.events.ScheduleSection` | Branded Lite event-schedule recipe over the event agenda read | Generated inline by `himi one-app generate`; View All opens the event screen | Partial | Lists the chosen event's first sessions (day and time in the event's zone, name, stage) and hides itself when the event has no agenda. The source's My Agenda bookmarks and its "no schedule" message are not shown and are reported as adapted gaps; a source section with no event chosen is reported, not faked. |
|
|
132
132
|
| `events_discussion_section` | `wix.events.DiscussionSection` | | | Empty | No event-scoped discussion implementation was found. Groups/social feed and Blog comments must not be selected automatically. |
|
|
133
133
|
| `events_guests_section` | `wix.events.GuestsSection` | | | Empty | The Events detail has only a best-effort attendee summary/avatar strip using an owner-scoped guest query. It is not a full consumer guest-list section; leave the mapping unassigned. |
|
|
@@ -225,8 +225,8 @@ source's title (only when the source shows it) and a **See All** button to the s
|
|
|
225
225
|
| `platform_general_upcoming_section` | `himi_agenda` | nothing to the screen. Beside other sections, a scaffold with `himi_service` and the `upcoming-sessions` recipe shows the strip inline: the business's next 3 class and course sessions in the source's `interval` window (`day`, `week` or `month` from now; another value is the month, reported), each with a date block, the day and local times, the coach, and the member's Booked or On waitlist badge. A row opens `himi_service` on its session, and View All opens this screen |
|
|
226
226
|
| `vod_list_section` | `himi_videos` | nothing: the screen is the channel list (the source has no setting to choose a channel). Beside other sections it shows each channel in place, as the source does: its cover, title and size ("1 video · Free"), Play All, its first five clips as rows (the length on the thumbnail, the video's host when it is not Wix) and See All to the channel (`himi_video_channel`) when it has more; the first three channels, with See All to this screen when the site has more. A clip and Play All open `himi_video`, which plays a Wix-hosted or YouTube video; Play All starts on the first of those among the clips the section reads (the rows and one more) and does not go on to the next clip (reported as a gap); a channel with none there shows no Play All, and its rows and See All still open every clip. A site with no ready video shows "No videos yet."; a failed read shows the shared error piece |
|
|
227
227
|
| `bookings_agenda_section` | `himi_agenda` | nothing: the screen is the calendar of the site's class and course sessions. Beside other sections, a scaffold with `himi_service` and the `class-calendar` recipe shows the calendar inline: the Agenda's week strip (it pages and opens into the month), filter chips (All, the member's Booked sessions, each class), and the first 10 sessions of the selected day or the next day with one, each with its coach, spots, place and one control (Book opens `himi_time` on the session; View Course and Join Waitlist open `himi_service` on it). See All opens this screen; the source's filter sheet and its booked-session sheet are reported gaps |
|
|
228
|
-
| `progallery_carousel_section` | `himi_galleries` | `maxGalleries`, `isCarousel`, `isShowName`: a rail of the first `maxGalleries` gallery covers (full-width cards when the carousel is off). With exactly ONE gallery and the carousel on, the source shows that gallery as a collage, and so does the section: the gallery's name (when names are on) with View All, then its first five pictures as one big tile and four small, the last small tile with "+N" for the pictures past the five; a tile and View All open the gallery (`himi_gallery`). The section's own title is not shown there (the header is the gallery's name), and a picture's caption over its tile is reported as a gap. Like the list section it reads the One App's galleries service as a member: a visitor sees the "
|
|
229
|
-
| `proGallery_gallery_list_section` | `himi_galleries` | nothing: the section has no settings. Beside other sections it shows the site's first 10 galleries as full-width cards (a card opens `himi_gallery`), with View All to this screen, and reports that gap. Like the source, which reads the One App's own galleries service as a member and never shows hidden or empty galleries, the section lists them for a signed-in member only: a visitor sees
|
|
228
|
+
| `progallery_carousel_section` | `himi_galleries` | `maxGalleries`, `isCarousel`, `isShowName`: a rail of the first `maxGalleries` gallery covers (full-width cards when the carousel is off). With exactly ONE gallery and the carousel on, the source shows that gallery as a collage, and so does the section: the gallery's name (when names are on) with View All, then its first five pictures as one big tile and four small, the last small tile with "+N" for the pictures past the five; a tile and View All open the gallery (`himi_gallery`). The section's own title is not shown there (the header is the gallery's name), and a picture's caption over its tile is reported as a gap. Like the list section it reads the One App's galleries service as a member: a visitor sees a sign-in state (a Sign in button when the app has `himi_sign_in`), never "No galleries yet" |
|
|
229
|
+
| `proGallery_gallery_list_section` | `himi_galleries` | nothing: the section has no settings. Beside other sections it shows the site's first 10 galleries as full-width cards (a card opens `himi_gallery`), with View All to this screen, and reports that gap. Like the source, which reads the One App's own galleries service as a member and never shows hidden or empty galleries, the section lists them for a signed-in member only: a visitor (or a member Wix refuses) sees a sign-in state, and a member where that service cannot be read sees the error state with a retry (the web bridge refuses its host: the public Pro Gallery list has no hidden flag, so it is never used as a stand-in). "No galleries yet" shows only when a member's read answered with none; signing in or out reads again |
|
|
230
230
|
| `shared_gallery_list_section` | `himi_galleries` | nothing. Never shown inline: it is the members' Shared Gallery, a different data source from the site's Pro Gallery. It keeps its title and a See All link that opens the site's galleries, not the members' shared ones, and reports that gap |
|
|
231
231
|
|
|
232
232
|
A screen that cannot follow a setting would show more or other content than the source, so `generate` reports one **gap** per
|
|
@@ -267,11 +267,15 @@ section's settings, with no loader of their own:
|
|
|
267
267
|
visit without them is the whole list again). The section's `filter` setting is not read, because the two sections of the Barcelona
|
|
268
268
|
Erasmus source contradict the carousel's reading of it. A section naming both categories and events shows the events that match both, reported.
|
|
269
269
|
A scaffold without `himi_events` keeps the cards and leaves the See All out. One that shows every event has no See All, as in the source.
|
|
270
|
-
- `events_carousel_section`: the shared inline events cards (the same module as `events_list_section`)
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
270
|
+
- `events_carousel_section`: the shared inline events cards (the same module as `events_list_section`) in a rail that scrolls sideways
|
|
271
|
+
(the `events-inline-carousel` recipe), at most the next 10 upcoming events in date order (reported). Its `filter` is 0 for every
|
|
272
|
+
event, 1 for chosen categories and `"manual"` for chosen events, but as for the list section its `categoryIds` / `eventIds` decide
|
|
273
|
+
what it shows. **View All** sits on the section's heading, as in the source: it shows whenever the heading does (`showTitle` and a
|
|
274
|
+
title) once the read found events, not only when more events exist, and opens `himi_events` on the carousel's selection (the same
|
|
275
|
+
comma-separated `categoryIds` / `eventIds` values). A scaffold without `himi_events` keeps the heading without View All. A
|
|
276
|
+
`"manual"` carousel that names no categories and no events, or an unknown `filter`, keeps the source's title and a **See All** link
|
|
277
|
+
to `himi_events`, reported. Gaps: a category filter with nothing chosen (it shows every event), a card part the source hides but
|
|
278
|
+
the card shows (image, date, location) and a part the source shows but the card has not (guest avatars, the membership offer).
|
|
275
279
|
- `events_schedule_section`: one event's schedule (`settings.eventId`). The first 10 sessions are rows (day and start time in the app's
|
|
276
280
|
language and the event's time zone, name, stage), read as the conference agenda reads them (the event with its agenda fieldset, then its
|
|
277
281
|
schedule), and **View All** opens `himi_event` on that event, whose screen lists every session. An event with no schedule, or one that is
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1955.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "6dd1e44840cda11c3b7c4f49a2efa32694b76ea7c361318ad7b07455"
|
|
86
86
|
}
|
|
@@ -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": "لا توجد منشورات في هذه المجموعة بعد.",
|
|
@@ -9453,6 +9453,11 @@
|
|
|
9453
9453
|
"translation": "Zatím tu nejsou žádné galerie.",
|
|
9454
9454
|
"origin": "machine"
|
|
9455
9455
|
},
|
|
9456
|
+
"h_053905f92420": {
|
|
9457
|
+
"source": "Sign in to see galleries.",
|
|
9458
|
+
"translation": "Pro zobrazení galerií se přihlaste.",
|
|
9459
|
+
"origin": "machine"
|
|
9460
|
+
},
|
|
9456
9461
|
"h_02f435ca9a67": {
|
|
9457
9462
|
"source": "No posts in this group yet.",
|
|
9458
9463
|
"translation": "V této skupině zatím nejsou žádné příspěvky.",
|
|
@@ -9453,6 +9453,11 @@
|
|
|
9453
9453
|
"translation": "Der er ingen gallerier endnu.",
|
|
9454
9454
|
"origin": "machine"
|
|
9455
9455
|
},
|
|
9456
|
+
"h_053905f92420": {
|
|
9457
|
+
"source": "Sign in to see galleries.",
|
|
9458
|
+
"translation": "Log ind for at se gallerierne.",
|
|
9459
|
+
"origin": "machine"
|
|
9460
|
+
},
|
|
9456
9461
|
"h_02f435ca9a67": {
|
|
9457
9462
|
"source": "No posts in this group yet.",
|
|
9458
9463
|
"translation": "Der er ingen opslag i denne gruppe endnu.",
|
|
@@ -9453,6 +9453,11 @@
|
|
|
9453
9453
|
"translation": "Noch keine Galerien.",
|
|
9454
9454
|
"origin": "machine"
|
|
9455
9455
|
},
|
|
9456
|
+
"h_053905f92420": {
|
|
9457
|
+
"source": "Sign in to see galleries.",
|
|
9458
|
+
"translation": "Melde dich an, um die Galerien zu sehen.",
|
|
9459
|
+
"origin": "machine"
|
|
9460
|
+
},
|
|
9456
9461
|
"h_02f435ca9a67": {
|
|
9457
9462
|
"source": "No posts in this group yet.",
|
|
9458
9463
|
"translation": "In dieser Gruppe gibt es noch keine Beiträge.",
|
|
@@ -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": "Δεν υπάρχουν ακόμη αναρτήσεις σε αυτήν την ομάδα.",
|
|
@@ -9453,6 +9453,11 @@
|
|
|
9453
9453
|
"translation": "Aún no hay galerías.",
|
|
9454
9454
|
"origin": "machine"
|
|
9455
9455
|
},
|
|
9456
|
+
"h_053905f92420": {
|
|
9457
|
+
"source": "Sign in to see galleries.",
|
|
9458
|
+
"translation": "Inicia sesión para ver las galerías.",
|
|
9459
|
+
"origin": "machine"
|
|
9460
|
+
},
|
|
9456
9461
|
"h_02f435ca9a67": {
|
|
9457
9462
|
"source": "No posts in this group yet.",
|
|
9458
9463
|
"translation": "Todavía no hay publicaciones en este grupo.",
|
|
@@ -9453,6 +9453,11 @@
|
|
|
9453
9453
|
"translation": "Gallerioita ei ole vielä.",
|
|
9454
9454
|
"origin": "machine"
|
|
9455
9455
|
},
|
|
9456
|
+
"h_053905f92420": {
|
|
9457
|
+
"source": "Sign in to see galleries.",
|
|
9458
|
+
"translation": "Kirjaudu sisään nähdäksesi galleriat.",
|
|
9459
|
+
"origin": "machine"
|
|
9460
|
+
},
|
|
9456
9461
|
"h_02f435ca9a67": {
|
|
9457
9462
|
"source": "No posts in this group yet.",
|
|
9458
9463
|
"translation": "Tässä ryhmässä ei ole vielä julkaisuja.",
|
|
@@ -8458,6 +8458,11 @@
|
|
|
8458
8458
|
"translation": "Aucune galerie pour le moment.",
|
|
8459
8459
|
"origin": "machine"
|
|
8460
8460
|
},
|
|
8461
|
+
"h_053905f92420": {
|
|
8462
|
+
"source": "Sign in to see galleries.",
|
|
8463
|
+
"translation": "Connectez-vous pour voir les galeries.",
|
|
8464
|
+
"origin": "machine"
|
|
8465
|
+
},
|
|
8461
8466
|
"h_87659e19efce": {
|
|
8462
8467
|
"source": "No products are published yet.",
|
|
8463
8468
|
"translation": "Aucun produit n'est encore publié.",
|
|
@@ -6949,6 +6949,11 @@
|
|
|
6949
6949
|
"source": "No galleries yet.",
|
|
6950
6950
|
"translation": "אין עדיין גלריות."
|
|
6951
6951
|
},
|
|
6952
|
+
"h_053905f92420": {
|
|
6953
|
+
"source": "Sign in to see galleries.",
|
|
6954
|
+
"translation": "יש להתחבר כדי לראות את הגלריות.",
|
|
6955
|
+
"origin": "machine"
|
|
6956
|
+
},
|
|
6952
6957
|
"h_87659e19efce": {
|
|
6953
6958
|
"source": "No products are published yet.",
|
|
6954
6959
|
"translation": "אין עדיין מוצרים שפורסמו."
|