@wix/himalaya-cli 0.1747.0 → 0.1748.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/site-shell.d.ts +34 -8
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +45 -18
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +36 -14
- package/dist/cli.mjs +2498 -1816
- package/guides/one-app-to-himi-app.md +11 -6
- package/guides/wix-business-context.md +25 -1
- package/guides/wix-site-to-himi-app.md +2 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/fr.json +25 -5
- package/templates/beauty-salon/l10n/he.json +20 -4
- package/templates/beauty-salon/recipes/blog-hero.json +95 -0
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +177 -147
- package/templates/beauty-salon/recipes/blog-list.json +172 -142
- package/templates/beauty-salon/recipes/events-inline-list.json +30 -5
- package/templates/beauty-salon/recipes/events-inline.json +30 -5
- package/templates/beauty-salon/recipes/faq-list.json +503 -0
- package/templates/beauty-salon/recipes/groups-list.json +196 -0
- package/templates/beauty-salon/recipes/products-carousel.json +141 -0
- package/templates/beauty-salon/recipes/products-grid.json +143 -0
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/beauty-salon/tier5-src/_shared/products-section.ts +76 -0
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/branded-lite/l10n/fr.json +10 -5
- package/templates/branded-lite/l10n/he.json +8 -4
- package/templates/branded-lite/recipes/blog-hero.json +95 -0
- package/templates/branded-lite/recipes/blog-list-thumb-start.json +177 -147
- package/templates/branded-lite/recipes/blog-list.json +172 -142
- package/templates/branded-lite/recipes/events-inline-list.json +30 -5
- package/templates/branded-lite/recipes/events-inline.json +30 -5
- package/templates/branded-lite/recipes/faq-list.json +503 -0
- package/templates/branded-lite/recipes/groups-list.json +196 -0
- package/templates/branded-lite/recipes/products-carousel.json +141 -0
- package/templates/branded-lite/recipes/products-grid.json +143 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/branded-lite/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/branded-lite/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/branded-lite/tier5-src/_shared/products-section.ts +76 -0
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-faq/index.ts +5 -369
- package/templates/brandy/README.md +46 -5
- package/templates/brandy/config.ts +11 -0
- package/templates/brandy/himalaya.template.json +1 -1
- package/templates/community-club/l10n/fr.json +25 -5
- package/templates/community-club/l10n/he.json +20 -4
- package/templates/community-club/recipes/blog-hero.json +95 -0
- package/templates/community-club/recipes/blog-list-thumb-start.json +177 -147
- package/templates/community-club/recipes/blog-list.json +172 -142
- package/templates/community-club/recipes/events-inline-list.json +30 -5
- package/templates/community-club/recipes/events-inline.json +30 -5
- package/templates/community-club/recipes/faq-list.json +503 -0
- package/templates/community-club/recipes/groups-list.json +196 -0
- package/templates/community-club/recipes/products-carousel.json +141 -0
- package/templates/community-club/recipes/products-grid.json +143 -0
- package/templates/community-club/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/community-club/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/community-club/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/community-club/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/community-club/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/community-club/tier5-src/_shared/products-section.ts +76 -0
- package/templates/community-club/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/events-meetups/l10n/fr.json +25 -5
- package/templates/events-meetups/l10n/he.json +20 -4
- package/templates/events-meetups/recipes/blog-hero.json +95 -0
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +177 -147
- package/templates/events-meetups/recipes/blog-list.json +172 -142
- package/templates/events-meetups/recipes/events-inline-list.json +30 -5
- package/templates/events-meetups/recipes/events-inline.json +30 -5
- package/templates/events-meetups/recipes/faq-list.json +503 -0
- package/templates/events-meetups/recipes/groups-list.json +196 -0
- package/templates/events-meetups/recipes/products-carousel.json +141 -0
- package/templates/events-meetups/recipes/products-grid.json +143 -0
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/events-meetups/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/events-meetups/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/events-meetups/tier5-src/_shared/products-section.ts +76 -0
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/gym-fitness/l10n/fr.json +25 -5
- package/templates/gym-fitness/l10n/he.json +20 -4
- package/templates/gym-fitness/recipes/blog-hero.json +95 -0
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +177 -147
- package/templates/gym-fitness/recipes/blog-list.json +172 -142
- package/templates/gym-fitness/recipes/events-inline-list.json +30 -5
- package/templates/gym-fitness/recipes/events-inline.json +30 -5
- package/templates/gym-fitness/recipes/faq-list.json +503 -0
- package/templates/gym-fitness/recipes/groups-list.json +196 -0
- package/templates/gym-fitness/recipes/products-carousel.json +141 -0
- package/templates/gym-fitness/recipes/products-grid.json +143 -0
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/gym-fitness/tier5-src/_shared/products-section.ts +76 -0
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/nonprofit-cause/l10n/fr.json +25 -5
- package/templates/nonprofit-cause/l10n/he.json +20 -4
- package/templates/nonprofit-cause/recipes/blog-hero.json +95 -0
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +177 -147
- package/templates/nonprofit-cause/recipes/blog-list.json +172 -142
- package/templates/nonprofit-cause/recipes/events-inline-list.json +30 -5
- package/templates/nonprofit-cause/recipes/events-inline.json +30 -5
- package/templates/nonprofit-cause/recipes/faq-list.json +503 -0
- package/templates/nonprofit-cause/recipes/groups-list.json +196 -0
- package/templates/nonprofit-cause/recipes/products-carousel.json +141 -0
- package/templates/nonprofit-cause/recipes/products-grid.json +143 -0
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +76 -0
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/podcast-creator/l10n/fr.json +35 -5
- package/templates/podcast-creator/l10n/he.json +28 -4
- package/templates/podcast-creator/recipes/blog-hero.json +95 -0
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +177 -147
- package/templates/podcast-creator/recipes/blog-list.json +172 -142
- package/templates/podcast-creator/recipes/events-inline-list.json +30 -5
- package/templates/podcast-creator/recipes/events-inline.json +30 -5
- package/templates/podcast-creator/recipes/faq-list.json +503 -0
- package/templates/podcast-creator/recipes/groups-list.json +196 -0
- package/templates/podcast-creator/recipes/products-carousel.json +141 -0
- package/templates/podcast-creator/recipes/products-grid.json +143 -0
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/podcast-creator/tier5-src/_shared/products-section.ts +76 -0
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/portfolio-creative/l10n/fr.json +25 -5
- package/templates/portfolio-creative/l10n/he.json +20 -4
- package/templates/portfolio-creative/recipes/blog-hero.json +95 -0
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +177 -147
- package/templates/portfolio-creative/recipes/blog-list.json +172 -142
- package/templates/portfolio-creative/recipes/events-inline-list.json +30 -5
- package/templates/portfolio-creative/recipes/events-inline.json +30 -5
- package/templates/portfolio-creative/recipes/faq-list.json +503 -0
- package/templates/portfolio-creative/recipes/groups-list.json +196 -0
- package/templates/portfolio-creative/recipes/products-carousel.json +141 -0
- package/templates/portfolio-creative/recipes/products-grid.json +143 -0
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +76 -0
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/restaurant/l10n/fr.json +35 -5
- package/templates/restaurant/l10n/he.json +28 -4
- package/templates/restaurant/recipes/blog-hero.json +95 -0
- package/templates/restaurant/recipes/blog-list-thumb-start.json +177 -147
- package/templates/restaurant/recipes/blog-list.json +172 -142
- package/templates/restaurant/recipes/events-inline-list.json +30 -5
- package/templates/restaurant/recipes/events-inline.json +30 -5
- package/templates/restaurant/recipes/faq-list.json +503 -0
- package/templates/restaurant/recipes/groups-list.json +196 -0
- package/templates/restaurant/recipes/products-carousel.json +141 -0
- package/templates/restaurant/recipes/products-grid.json +143 -0
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/restaurant/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/restaurant/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/restaurant/tier5-src/_shared/products-section.ts +76 -0
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/retail-store/l10n/fr.json +25 -5
- package/templates/retail-store/l10n/he.json +20 -4
- package/templates/retail-store/recipes/blog-hero.json +95 -0
- package/templates/retail-store/recipes/blog-list-thumb-start.json +177 -147
- package/templates/retail-store/recipes/blog-list.json +172 -142
- package/templates/retail-store/recipes/events-inline-list.json +30 -5
- package/templates/retail-store/recipes/events-inline.json +30 -5
- package/templates/retail-store/recipes/faq-list.json +503 -0
- package/templates/retail-store/recipes/groups-list.json +196 -0
- package/templates/retail-store/recipes/products-carousel.json +141 -0
- package/templates/retail-store/recipes/products-grid.json +143 -0
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/retail-store/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/retail-store/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/retail-store/tier5-src/_shared/products-section.ts +76 -0
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +2 -2
- package/templates/yoga-studio/l10n/fr.json +35 -5
- package/templates/yoga-studio/l10n/he.json +28 -4
- package/templates/yoga-studio/recipes/blog-hero.json +95 -0
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +177 -147
- package/templates/yoga-studio/recipes/blog-list.json +172 -142
- package/templates/yoga-studio/recipes/events-inline-list.json +30 -5
- package/templates/yoga-studio/recipes/events-inline.json +30 -5
- package/templates/yoga-studio/recipes/faq-list.json +503 -0
- package/templates/yoga-studio/recipes/groups-list.json +196 -0
- package/templates/yoga-studio/recipes/products-carousel.json +141 -0
- package/templates/yoga-studio/recipes/products-grid.json +143 -0
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +9 -9
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +7 -5
- package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +110 -0
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +10 -2
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +9 -5
- package/templates/yoga-studio/tier5-src/_shared/products-section.ts +76 -0
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +2 -2
|
@@ -28,7 +28,7 @@ import { descriptionBody } from "./rich-body.js";
|
|
|
28
28
|
import { programDescription } from "./program-description.js";
|
|
29
29
|
import { isNotFoundError } from "./detail-presence.js";
|
|
30
30
|
import { copyParam, copyTemplate, stashCopy } from "./himi-copy.js";
|
|
31
|
-
import { formatCurrency, formatDateMedium } from "./engine-intl.js";
|
|
31
|
+
import { formatCurrency, formatDateMedium, formatNumber } from "./engine-intl.js";
|
|
32
32
|
import { iapPriceCopy, resetUnhydratedKeysOnOlderRuntime } from "./iap-worker.js";
|
|
33
33
|
|
|
34
34
|
const PAGE_SIZE = 20;
|
|
@@ -256,7 +256,7 @@ function accessLine(p: WixProgram, participants: number | undefined): string {
|
|
|
256
256
|
if (participants === undefined) return label;
|
|
257
257
|
const count = participants === 1
|
|
258
258
|
? copyParam("memberPrograms.participantsOne", "1 participant")
|
|
259
|
-
: copyTemplate("memberPrograms.participantsMany", "{count} participants", { count: participants });
|
|
259
|
+
: copyTemplate("memberPrograms.participantsMany", "{count} participants", { count: formatNumber(participants) });
|
|
260
260
|
return `${label} · ${count}`;
|
|
261
261
|
}
|
|
262
262
|
|
|
@@ -1,370 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
queryQuestionEntries,
|
|
5
|
-
type WixCategory,
|
|
6
|
-
type WixQuestionEntry,
|
|
7
|
-
} from "@himalaya/wix-faq";
|
|
8
|
-
import { openRichLink } from "../_shared/rich-content-link.js";
|
|
9
|
-
import { richBody, ROW_IMAGE_WIDTH } from "../_shared/rich-body.js";
|
|
1
|
+
// The himi_faq screen's worker: the shared FAQ service under the screen's own service name. The whole worker lives in
|
|
2
|
+
// `_shared/faq-list.ts` so a migrated page can host the same FAQ next to other sections.
|
|
3
|
+
import { registerFaqList } from "../_shared/faq-list.js";
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
categoryId: string;
|
|
14
|
-
question: string;
|
|
15
|
-
/** The PLAIN_TEXT answer: the RichContent fallback, and what shows with no trusted document. */
|
|
16
|
-
answer: string;
|
|
17
|
-
/** [rico] #3372 — the RICH_CONTENT answer as ONE document string, used ONLY when its text matches the plain
|
|
18
|
-
* answer (a legacy DraftJS record converts unreliably); "" otherwise. */
|
|
19
|
-
answerJson: string;
|
|
20
|
-
/** answerJson !== "" — gates the plain answer, because RichContent draws nothing for "". */
|
|
21
|
-
hasAnswerJson: boolean;
|
|
22
|
-
sortOrder?: number;
|
|
23
|
-
status: string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
interface FaqCategory {
|
|
27
|
-
id: string;
|
|
28
|
-
title: string;
|
|
29
|
-
sortOrder?: number;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
interface QuestionRow {
|
|
33
|
-
id: string;
|
|
34
|
-
title: string;
|
|
35
|
-
answer: string;
|
|
36
|
-
answerJson: string;
|
|
37
|
-
hasAnswerJson: boolean;
|
|
38
|
-
expanded: boolean;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
interface CategorySection {
|
|
42
|
-
id: string;
|
|
43
|
-
title: string;
|
|
44
|
-
questions: QuestionRow[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
interface FaqDisplayRow extends QuestionRow {
|
|
48
|
-
categoryTitle: string;
|
|
49
|
-
categoryHeaderHidden: boolean;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
interface FaqState {
|
|
53
|
-
status: "loading" | "ready" | "error" | "forbidden" | "notInstalled";
|
|
54
|
-
categories: FaqCategory[];
|
|
55
|
-
questions: FaqQuestion[];
|
|
56
|
-
sections: CategorySection[];
|
|
57
|
-
rows: FaqDisplayRow[];
|
|
58
|
-
query: string;
|
|
59
|
-
expandedIds: string[];
|
|
60
|
-
otherTitle: string;
|
|
61
|
-
loadingHidden: boolean;
|
|
62
|
-
contentHidden: boolean;
|
|
63
|
-
emptyHidden: boolean;
|
|
64
|
-
errorHidden: boolean;
|
|
65
|
-
forbiddenHidden: boolean;
|
|
66
|
-
notInstalledHidden: boolean;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
const PAGE_SIZE = 100;
|
|
70
|
-
|
|
71
|
-
/** Caps on the static pairs, matching `BRANDED_LITE_FAQ_LIMITS` in the app contract. The
|
|
72
|
-
* param is re-bounded here because a worker must not trust a descriptor it did not build. */
|
|
73
|
-
const STATIC_LIMITS = { pairs: 20, question: 200, answer: 1500 } as const;
|
|
74
|
-
const STATIC_CATEGORY: FaqCategory = { id: "himi-static-faq", title: "" };
|
|
75
|
-
|
|
76
|
-
/** The site's own FAQ pairs — questions it publishes as page sections rather than
|
|
77
|
-
* through the Wix FAQ app, carried in by `site analyze --apply` as the `staticFaq` onAppear
|
|
78
|
-
* param (a JSON string: action params are string-valued). They are the FALLBACK: shown only
|
|
79
|
-
* when the FAQ app yields no visible question, so an owner-edited Wix FAQ always wins. */
|
|
80
|
-
let staticQuestions: FaqQuestion[] = [];
|
|
81
|
-
|
|
82
|
-
function parseStaticFaq(raw: unknown): FaqQuestion[] {
|
|
83
|
-
let pairs: unknown = raw;
|
|
84
|
-
if (typeof raw === "string") {
|
|
85
|
-
try {
|
|
86
|
-
pairs = JSON.parse(raw);
|
|
87
|
-
} catch {
|
|
88
|
-
// A malformed param is a DESCRIPTOR bug, not an empty FAQ: there is no fallback to
|
|
89
|
-
// offer, so the screen shows exactly what the Wix FAQ read says — its content, its
|
|
90
|
-
// empty card, or its error card — rather than pretending the site has no questions.
|
|
91
|
-
pairs = undefined;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
if (!Array.isArray(pairs)) return [];
|
|
95
|
-
const out: FaqQuestion[] = [];
|
|
96
|
-
for (const pair of pairs) {
|
|
97
|
-
if (out.length >= STATIC_LIMITS.pairs) break;
|
|
98
|
-
const row = pair && typeof pair === "object" ? pair as { q?: unknown; a?: unknown } : {};
|
|
99
|
-
const question = typeof row.q === "string" ? row.q.trim().slice(0, STATIC_LIMITS.question) : "";
|
|
100
|
-
const answer = typeof row.a === "string" ? row.a.trim().slice(0, STATIC_LIMITS.answer) : "";
|
|
101
|
-
if (!question || !answer) continue;
|
|
102
|
-
out.push({
|
|
103
|
-
id: `himi-static-faq-${out.length}`,
|
|
104
|
-
categoryId: STATIC_CATEGORY.id,
|
|
105
|
-
question,
|
|
106
|
-
answer,
|
|
107
|
-
// The site's own pairs are plain strings: there is no document to render.
|
|
108
|
-
answerJson: "",
|
|
109
|
-
hasAnswerJson: false,
|
|
110
|
-
sortOrder: out.length,
|
|
111
|
-
status: "VISIBLE",
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
return out;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
/** The site's pairs as a ready state, or undefined when there are none to fall back to. */
|
|
118
|
-
function staticFallback(state: FaqState): FaqState | undefined {
|
|
119
|
-
if (!staticQuestions.length) return undefined;
|
|
120
|
-
return ready({ ...state, categories: [STATIC_CATEGORY], questions: staticQuestions });
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
function sortByWixOrder<T extends { id: string; sortOrder?: number }>(left: T, right: T): number {
|
|
124
|
-
const a = Number.isFinite(left.sortOrder) ? left.sortOrder! : Number.POSITIVE_INFINITY;
|
|
125
|
-
const b = Number.isFinite(right.sortOrder) ? right.sortOrder! : Number.POSITIVE_INFINITY;
|
|
126
|
-
return a - b || (left.id < right.id ? -1 : left.id > right.id ? 1 : 0);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
function uniqueById<T extends { id: string }>(rows: T[]): T[] {
|
|
130
|
-
return [...new Map(rows.filter((row) => row.id).map((row) => [row.id, row])).values()];
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
function sectionsFor(state: Pick<FaqState, "categories" | "questions" | "query" | "expandedIds" | "otherTitle">): CategorySection[] {
|
|
134
|
-
const needle = state.query.trim().toLowerCase();
|
|
135
|
-
const visible = state.questions
|
|
136
|
-
.filter((row) => row.status.toUpperCase() !== "HIDDEN")
|
|
137
|
-
.filter((row) => !needle || `${row.question}\n${row.answer}`.toLowerCase().includes(needle))
|
|
138
|
-
.sort(sortByWixOrder);
|
|
139
|
-
const expanded = new Set(state.expandedIds);
|
|
140
|
-
const known = new Set(state.categories.map((category) => category.id));
|
|
141
|
-
const row = (question: FaqQuestion): QuestionRow => ({
|
|
142
|
-
id: question.id,
|
|
143
|
-
title: question.question,
|
|
144
|
-
answer: question.answer,
|
|
145
|
-
answerJson: question.answerJson,
|
|
146
|
-
hasAnswerJson: question.hasAnswerJson,
|
|
147
|
-
expanded: expanded.has(question.id),
|
|
148
|
-
});
|
|
149
|
-
const sections = state.categories
|
|
150
|
-
.slice()
|
|
151
|
-
.sort(sortByWixOrder)
|
|
152
|
-
.map((category) => ({
|
|
153
|
-
id: category.id,
|
|
154
|
-
title: category.title,
|
|
155
|
-
questions: visible.filter((question) => question.categoryId === category.id).map(row),
|
|
156
|
-
}))
|
|
157
|
-
.filter((section) => section.questions.length > 0);
|
|
158
|
-
const orphaned = visible.filter((question) => !known.has(question.categoryId));
|
|
159
|
-
if (orphaned.length) sections.push({ id: "other", title: state.otherTitle, questions: orphaned.map(row) });
|
|
160
|
-
return sections;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
function ready(state: FaqState): FaqState {
|
|
164
|
-
const sections = sectionsFor(state);
|
|
165
|
-
const rows = sections.flatMap((section) => section.questions.map((question, index) => ({
|
|
166
|
-
...question,
|
|
167
|
-
categoryTitle: section.title,
|
|
168
|
-
// An untitled section (the static fallback's) has no header to show.
|
|
169
|
-
categoryHeaderHidden: index !== 0 || !section.title,
|
|
170
|
-
})));
|
|
171
|
-
return {
|
|
172
|
-
...state,
|
|
173
|
-
status: "ready",
|
|
174
|
-
sections,
|
|
175
|
-
rows,
|
|
176
|
-
loadingHidden: true,
|
|
177
|
-
contentHidden: sections.length === 0,
|
|
178
|
-
emptyHidden: sections.length > 0,
|
|
179
|
-
errorHidden: true,
|
|
180
|
-
forbiddenHidden: true,
|
|
181
|
-
notInstalledHidden: true,
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
function failure(state: FaqState, status: FaqState["status"]): FaqState {
|
|
186
|
-
return {
|
|
187
|
-
...state,
|
|
188
|
-
status,
|
|
189
|
-
categories: [],
|
|
190
|
-
questions: [],
|
|
191
|
-
sections: [],
|
|
192
|
-
rows: [],
|
|
193
|
-
loadingHidden: true,
|
|
194
|
-
contentHidden: true,
|
|
195
|
-
emptyHidden: true,
|
|
196
|
-
errorHidden: status !== "error",
|
|
197
|
-
forbiddenHidden: status !== "forbidden",
|
|
198
|
-
notInstalledHidden: status !== "notInstalled",
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
function httpStatus(error: unknown): number | undefined {
|
|
203
|
-
if (!error || typeof error !== "object") return undefined;
|
|
204
|
-
const row = error as { status?: unknown; statusCode?: unknown; response?: { status?: unknown }; message?: unknown };
|
|
205
|
-
for (const value of [row.status, row.statusCode, row.response?.status]) {
|
|
206
|
-
if (typeof value === "number") return value;
|
|
207
|
-
}
|
|
208
|
-
const match = typeof row.message === "string" ? row.message.match(/\b(403|428)\b/) : null;
|
|
209
|
-
return match ? Number(match[1]) : undefined;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
async function allCategories(): Promise<FaqCategory[]> {
|
|
213
|
-
const rows: FaqCategory[] = [];
|
|
214
|
-
const seen = new Set<string>();
|
|
215
|
-
let cursor = "";
|
|
216
|
-
do {
|
|
217
|
-
const response = await queryCategories({ query: { cursorPaging: { limit: PAGE_SIZE, ...(cursor ? { cursor } : {}) } } });
|
|
218
|
-
rows.push(...(response.categories ?? []).map((category: WixCategory) => ({
|
|
219
|
-
id: category.id ?? "",
|
|
220
|
-
title: (category.title ?? "").trim() || "Other",
|
|
221
|
-
...(typeof category.sortOrder === "number" ? { sortOrder: category.sortOrder } : {}),
|
|
222
|
-
})));
|
|
223
|
-
const next = response.pagingMetadata?.cursors?.next ?? "";
|
|
224
|
-
if (!next || seen.has(next)) break;
|
|
225
|
-
seen.add(next);
|
|
226
|
-
cursor = next;
|
|
227
|
-
} while (cursor);
|
|
228
|
-
return uniqueById(rows);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/** The answer's text with every whitespace run collapsed to one space: PLAIN_TEXT and a document's plain text
|
|
232
|
-
* may separate blocks differently ("\n" vs "\n\n"), and that is not a garbled conversion, but a space inside
|
|
233
|
-
* the text is content ("New York" is not "NewYork"). */
|
|
234
|
-
const normalizeSpace = (text: string): string => text.replace(/\s+/g, " ").trim();
|
|
235
|
-
|
|
236
|
-
/** [rico] #3372 — the RICH_CONTENT answer as a document string, trusted ONLY when its text matches the
|
|
237
|
-
* PLAIN_TEXT answer. Wix converts a legacy DraftJS answer to Ricos unreliably, and the plain answer is
|
|
238
|
-
* the one a visitor has always been shown, so a document that disagrees with it is dropped. */
|
|
239
|
-
function richAnswer(plain: string, rich: unknown): string {
|
|
240
|
-
// richBody encodes FIRST, so a document past the viewer's limits (too deep included) is rejected without an
|
|
241
|
-
// unbounded plain-text walk, and gives "". Answers render in a list, so their media are list-sized.
|
|
242
|
-
const { bodyJson, bodyText } = richBody(rich, "", ROW_IMAGE_WIDTH);
|
|
243
|
-
return bodyJson && normalizeSpace(bodyText) === normalizeSpace(plain) ? bodyJson : "";
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/** Every question entry in one content format, following THAT query's own cursors: a cursor belongs to the
|
|
247
|
-
* request that returned it, so the two formats never share one. */
|
|
248
|
-
async function entriesIn(contentFormat: "PLAIN_TEXT" | "RICH_CONTENT"): Promise<WixQuestionEntry[]> {
|
|
249
|
-
const rows: WixQuestionEntry[] = [];
|
|
250
|
-
const seen = new Set<string>();
|
|
251
|
-
let cursor = "";
|
|
252
|
-
do {
|
|
253
|
-
const response = await queryQuestionEntries({
|
|
254
|
-
query: {
|
|
255
|
-
cursorPaging: { limit: PAGE_SIZE, ...(cursor ? { cursor } : {}) },
|
|
256
|
-
filter: { status: { $in: ["VISIBLE", "UNKNOWN"] } },
|
|
257
|
-
},
|
|
258
|
-
contentFormat,
|
|
259
|
-
});
|
|
260
|
-
rows.push(...(response.questionEntries ?? []));
|
|
261
|
-
const next = response.pagingMetadata?.cursors?.next ?? "";
|
|
262
|
-
if (!next || seen.has(next)) break;
|
|
263
|
-
seen.add(next);
|
|
264
|
-
cursor = next;
|
|
265
|
-
} while (cursor);
|
|
266
|
-
return rows;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
async function allQuestions(): Promise<FaqQuestion[]> {
|
|
270
|
-
// Both formats are read in parallel, each paged on its own. PLAIN_TEXT is the list; a RICH_CONTENT read
|
|
271
|
-
// that fails only costs the documents — every answer keeps its plain text.
|
|
272
|
-
const [plain, rich] = await Promise.all([
|
|
273
|
-
entriesIn("PLAIN_TEXT"),
|
|
274
|
-
entriesIn("RICH_CONTENT").catch(() => [] as WixQuestionEntry[]),
|
|
275
|
-
]);
|
|
276
|
-
const richById = new Map(rich.map((question: WixQuestionEntry) => [question.id ?? "", question.richContent]));
|
|
277
|
-
const rows = plain.map((question: WixQuestionEntry) => {
|
|
278
|
-
const answer = (question.plainText ?? "").trim();
|
|
279
|
-
const answerJson = richAnswer(answer, richById.get(question.id ?? ""));
|
|
280
|
-
return {
|
|
281
|
-
id: question.id ?? "",
|
|
282
|
-
categoryId: question.categoryId ?? "",
|
|
283
|
-
question: (question.question ?? "").trim(),
|
|
284
|
-
answer,
|
|
285
|
-
answerJson,
|
|
286
|
-
hasAnswerJson: answerJson !== "",
|
|
287
|
-
...(typeof question.sortOrder === "number" ? { sortOrder: question.sortOrder } : {}),
|
|
288
|
-
status: question.status ?? "UNKNOWN",
|
|
289
|
-
};
|
|
290
|
-
}).filter((question) =>
|
|
291
|
-
question.id && question.question && question.status.toUpperCase() !== "HIDDEN",
|
|
292
|
-
);
|
|
293
|
-
return uniqueById(rows);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
const INITIAL: FaqState = {
|
|
297
|
-
status: "loading",
|
|
298
|
-
categories: [],
|
|
299
|
-
questions: [],
|
|
300
|
-
sections: [],
|
|
301
|
-
rows: [],
|
|
302
|
-
query: "",
|
|
303
|
-
expandedIds: [],
|
|
304
|
-
otherTitle: "Other",
|
|
305
|
-
loadingHidden: false,
|
|
306
|
-
contentHidden: true,
|
|
307
|
-
emptyHidden: true,
|
|
308
|
-
errorHidden: true,
|
|
309
|
-
forbiddenHidden: true,
|
|
310
|
-
notInstalledHidden: true,
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
let latestState = INITIAL;
|
|
314
|
-
let loadGeneration = 0;
|
|
315
|
-
|
|
316
|
-
function commit(state: FaqState): FaqState {
|
|
317
|
-
latestState = state;
|
|
318
|
-
return state;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
async function loadFaq(state: FaqState, arg?: { otherCategory?: string; staticFaq?: unknown }): Promise<FaqState> {
|
|
322
|
-
latestState = state;
|
|
323
|
-
// Only when the caller passed the param: `retry` is dispatched with no params and must keep
|
|
324
|
-
// the pairs the screen's onAppear delivered.
|
|
325
|
-
if (arg && "staticFaq" in arg) staticQuestions = parseStaticFaq(arg.staticFaq);
|
|
326
|
-
const generation = ++loadGeneration;
|
|
327
|
-
try {
|
|
328
|
-
const [categories, questions] = await Promise.all([allCategories(), allQuestions()]);
|
|
329
|
-
if (generation !== loadGeneration) return latestState;
|
|
330
|
-
const otherTitle = String(arg?.otherCategory ?? latestState.otherTitle).trim() || latestState.otherTitle;
|
|
331
|
-
const live = ready({ ...latestState, categories, questions, otherTitle });
|
|
332
|
-
// The Wix FAQ app answered but holds nothing a visitor can see — the site's own pairs,
|
|
333
|
-
// when it has any, instead of an empty state over a site whose FAQ is right there.
|
|
334
|
-
if (questions.length === 0) return commit(staticFallback(live) ?? live);
|
|
335
|
-
return commit(live);
|
|
336
|
-
} catch (error) {
|
|
337
|
-
if (generation !== loadGeneration) return latestState;
|
|
338
|
-
const status = httpStatus(error);
|
|
339
|
-
// No FAQ app (428), no visitor access (403) or a failed read: a site whose FAQ is page
|
|
340
|
-
// content still has an FAQ to show, so its pairs replace the failure card.
|
|
341
|
-
const fallback = staticFallback(latestState);
|
|
342
|
-
if (fallback) return commit(fallback);
|
|
343
|
-
return commit(failure(latestState, status === 403 ? "forbidden" : status === 428 ? "notInstalled" : "error"));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
const svc = defineService("himiBrandedFaq", {
|
|
348
|
-
state: INITIAL,
|
|
349
|
-
actions: {
|
|
350
|
-
load: loadFaq,
|
|
351
|
-
retry: loadFaq,
|
|
352
|
-
search: (state: FaqState, arg?: { value?: string }) => commit(ready({ ...state, query: String(arg?.value ?? "").slice(0, 256) })),
|
|
353
|
-
toggle: (state: FaqState, arg?: { id?: string }) => {
|
|
354
|
-
const id = String(arg?.id ?? "");
|
|
355
|
-
if (!id || !state.questions.some((question) => question.id === id)) return state;
|
|
356
|
-
const expandedIds = state.expandedIds.includes(id)
|
|
357
|
-
? state.expandedIds.filter((candidate) => candidate !== id)
|
|
358
|
-
: [...state.expandedIds, id];
|
|
359
|
-
return commit(ready({ ...state, expandedIds }));
|
|
360
|
-
},
|
|
361
|
-
// [rico] #3372 — an answer RichContent's on_link: `{ url }` of the tapped link. Only http(s), mailto and
|
|
362
|
-
// tel links reach open_url; the FAQ has no message line, so a refused link simply does nothing.
|
|
363
|
-
openLink: async (state: FaqState, arg?: unknown) => {
|
|
364
|
-
await openRichLink(arg);
|
|
365
|
-
return state;
|
|
366
|
-
},
|
|
367
|
-
},
|
|
368
|
-
});
|
|
369
|
-
|
|
370
|
-
export { svc, sectionsFor, httpStatus, parseStaticFaq };
|
|
5
|
+
export const svc = registerFaqList("himiBrandedFaq");
|
|
6
|
+
export { sectionsFor, httpStatus, parseStaticFaq } from "../_shared/faq-list.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# __HIMI_APP_NAME__ — your website as an app
|
|
2
2
|
|
|
3
|
-
A **site shell**: your live Wix
|
|
3
|
+
A **site shell**: your live website (on Wix, on Base44, or any other https site), framed as a native app. Every tab and drawer row is one of
|
|
4
4
|
your site's own pages, shown in a WebView under native navigation chrome and splash in your brand
|
|
5
5
|
colours. The `site.layout` setting selects `auto`, `tabs`, `drawer`, `sidebar`, or `single`; `auto`
|
|
6
6
|
removes the tab bar for a one-tab site and keeps its pages reachable through the drawer. The
|
|
7
|
-
site's own header, footer and Wix ads are hidden. It is the fastest way to ship an existing
|
|
7
|
+
site's own header, footer and Wix ads are hidden (on a Wix site). It is the fastest way to ship an existing
|
|
8
8
|
website as an app, and each tab can later be replaced by a native screen.
|
|
9
9
|
|
|
10
10
|
## Point it at your site
|
|
@@ -45,12 +45,52 @@ To review the map first, leave out `--apply`: the block is then only written to
|
|
|
45
45
|
`home` must be the first of them: the app opens on its first tab.
|
|
46
46
|
- **`icon`** is a design-system icon name (`home`, `bag`, `calendar`, `ticket`, `newspaper`, `mail`,
|
|
47
47
|
`info`, `tag`, `photo`, `person`, `globe`, …).
|
|
48
|
+
- **`kind`** is the platform the site runs on: `wix`, `base44`, or `web` for any other https site
|
|
49
|
+
(see below). `himi site analyze` picks it for you.
|
|
48
50
|
- **`chrome`** hides the site's own header (on inner pages), its footer and the Wix ads banner.
|
|
49
|
-
Every flag defaults to hidden.
|
|
51
|
+
Every flag defaults to hidden on a Wix or Base44 site, and to shown on a `web` site.
|
|
50
52
|
|
|
51
53
|
`config.ts` validates the block whenever the app loads, so an `http` origin, a duplicate id or a map
|
|
52
54
|
with no tab fails `himi validate`, `himi render` and `himi push` rather than shipping.
|
|
53
55
|
|
|
56
|
+
## Wrap any website (not on Wix)
|
|
57
|
+
|
|
58
|
+
The same app wraps any https website. Set `"kind": "web"`:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
himi init --template brandy my-site && cd my-site
|
|
62
|
+
# provisioning.json: "site": { "origin": "https://docs.example.com", "kind": "web", "pages": [...] }
|
|
63
|
+
# or derive the pages from the site's header menu: himi site analyze --url https://docs.example.com --apply
|
|
64
|
+
himi run # preview it in the browser
|
|
65
|
+
himi dist --shell brandy --platform ios,android # an installable build
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
```json
|
|
69
|
+
"site": {
|
|
70
|
+
"origin": "https://docs.example.com",
|
|
71
|
+
"kind": "web",
|
|
72
|
+
"pages": [
|
|
73
|
+
{ "id": "home", "title": "Home", "path": "/", "icon": "home" },
|
|
74
|
+
{ "id": "guides", "title": "Guides", "path": "/guides", "icon": "book" },
|
|
75
|
+
{ "id": "blog", "title": "Blog", "path": "/blog", "icon": "newspaper" }
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Remove the `chrome` block this template ships (its flags are a Wix site's defaults) or set its
|
|
81
|
+
flags to `false`: on a `web` site an absent flag means "shown". The header and footer hiders fall
|
|
82
|
+
back to the page's first `<header>` and last `<footer>`, which on an arbitrary site can be an
|
|
83
|
+
article's, so turn them on only after checking your site.
|
|
84
|
+
|
|
85
|
+
A `web` site gets nothing Wix-specific: only its own host stays in the app (no `www.` twin, so use
|
|
86
|
+
the host your site actually serves from; every other link asks "Open in browser?"), and no Wix ads
|
|
87
|
+
or menu hiding. It is visitor-only: a `wix` or `base44` binding
|
|
88
|
+
beside it, or `"menuSource": "runtime"`, is refused.
|
|
89
|
+
|
|
90
|
+
**App Store review.** Apple's guideline 4.2 rejects an app that is only a website in a wrapper. The
|
|
91
|
+
native tabs and drawer, and the Notifications screen every site shell has, are what this app adds;
|
|
92
|
+
plan for more native value before you submit.
|
|
93
|
+
|
|
54
94
|
## Let your pages call the phone
|
|
55
95
|
|
|
56
96
|
A `webSdk` block in `provisioning.json` lets your site's pages call native features through the
|
|
@@ -88,5 +128,6 @@ only happen on a phone:
|
|
|
88
128
|
site opens in a new tab follows the browser's popup rules). The "open in your browser?" prompt
|
|
89
129
|
for off-site links exists only in the native app.
|
|
90
130
|
- **Native sign-in does not reach the website**, and the site cannot talk to the app.
|
|
91
|
-
- **A page whose site refuses to be framed stays blank.** Wix sites allow framing
|
|
92
|
-
|
|
131
|
+
- **A page whose site refuses to be framed stays blank.** Wix sites allow framing; many other
|
|
132
|
+
sites (`kind: "web"`) do not. For such a page, use **Open ↗** above the frame to open it in a new
|
|
133
|
+
tab — the native app is not affected.
|
|
@@ -57,6 +57,17 @@ function bareHttpsOrigin(raw: string): string {
|
|
|
57
57
|
}
|
|
58
58
|
return url.origin;
|
|
59
59
|
}
|
|
60
|
+
// A `web` site (any https site that is not on Wix or Base44) is visitor-only: no member sign-in
|
|
61
|
+
// reaches it, so a Wix binding beside it would ship a login that signs in to nothing.
|
|
62
|
+
// Both spellings are one field (`wix` and `bindings.wix`), so a binding in EITHER counts — an empty
|
|
63
|
+
// `wix: {}` must not hide a filled `bindings.wix`, which `himi dist` would read.
|
|
64
|
+
{
|
|
65
|
+
const filled = (block: unknown) => !!block && typeof block === "object" && Object.values(block as Record<string, unknown>).some((v) => v != null && v !== "");
|
|
66
|
+
const hasWix = filled((provisioning as { wix?: unknown }).wix) || filled((provisioning as { bindings?: { wix?: unknown } }).bindings?.wix);
|
|
67
|
+
if (site.kind === "web" && hasWix) {
|
|
68
|
+
throw new Error('provisioning.json: a site of kind "web" is visitor-only — remove the wix binding, or use kind "wix" for a site on Wix');
|
|
69
|
+
}
|
|
70
|
+
}
|
|
60
71
|
const rawBase44 = ((provisioning as { base44?: unknown }).base44
|
|
61
72
|
?? (provisioning as { bindings?: { base44?: unknown } }).bindings?.base44) as Partial<Base44Binding> | undefined;
|
|
62
73
|
export const base44: Base44Binding | undefined = rawBase44 == null ? undefined : (() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Brandy — your website as an app",
|
|
3
|
-
"description": "A site shell: the customer's live Wix
|
|
3
|
+
"description": "A site shell: the customer's live website (Wix, Base44, or any https site with site.kind \"web\") as a native app. Every tab and drawer row is one of the site's own pages in a native-framed WebView, with a native tab bar, drawer, splash and brand colours; on a Wix site, its header, footer and Wix ads are hidden. The page map lives in provisioning.json (`site`), and `himi site analyze --url <site>` derives it from the site's own menu. It runs on the Branded Lite shell (`himi dist` builds that shell; an existing Brandy app keeps its identity with `--shell brandy`). Start here to ship an existing website as an app today and move tabs to native screens later.",
|
|
4
4
|
"tags": ["wix", "website", "site-shell", "webview", "tabs", "drawer", "no-code", "day-zero", "consumer"],
|
|
5
5
|
"category": "consumer"
|
|
6
6
|
}
|
|
@@ -1914,6 +1914,11 @@
|
|
|
1914
1914
|
"translation": "Impossible de charger les informations de votre compte. Réessayez.",
|
|
1915
1915
|
"origin": "machine"
|
|
1916
1916
|
},
|
|
1917
|
+
"h_6e6a6f2086bb": {
|
|
1918
|
+
"source": "Other",
|
|
1919
|
+
"translation": "Autre",
|
|
1920
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.order.markPaidModal.paymentMethod.other"
|
|
1921
|
+
},
|
|
1917
1922
|
"h_d4b940db4a6e": {
|
|
1918
1923
|
"source": "Latest activity",
|
|
1919
1924
|
"translation": "Dernières activités",
|
|
@@ -3064,6 +3069,16 @@
|
|
|
3064
3069
|
"translation": "Traitement de votre achat…",
|
|
3065
3070
|
"origin": "machine"
|
|
3066
3071
|
},
|
|
3072
|
+
"h_013147ef56fa": {
|
|
3073
|
+
"source": "No products in this category yet.",
|
|
3074
|
+
"translation": "Aucun produit dans cette catégorie pour le moment.",
|
|
3075
|
+
"origin": "machine"
|
|
3076
|
+
},
|
|
3077
|
+
"h_87659e19efce": {
|
|
3078
|
+
"source": "No products are published yet.",
|
|
3079
|
+
"translation": "Aucun produit n'est encore publié.",
|
|
3080
|
+
"origin": "machine"
|
|
3081
|
+
},
|
|
3067
3082
|
"h_a7677e84b666": {
|
|
3068
3083
|
"source": "Ticket",
|
|
3069
3084
|
"translation": "Billet",
|
|
@@ -3369,11 +3384,6 @@
|
|
|
3369
3384
|
"translation": "Vous pouvez choisir une date de début ultérieure.",
|
|
3370
3385
|
"origin": "machine"
|
|
3371
3386
|
},
|
|
3372
|
-
"h_cb7c8c83bd90": {
|
|
3373
|
-
"source": "No upcoming events.",
|
|
3374
|
-
"translation": "Aucun événement à venir.",
|
|
3375
|
-
"origin": "machine"
|
|
3376
|
-
},
|
|
3377
3387
|
"h_e84d8431b504": {
|
|
3378
3388
|
"source": "{n, plural, one {for # day} other {for # days}}",
|
|
3379
3389
|
"translation": "{n, plural, one {pendant # jour} other {pendant # jours}}",
|
|
@@ -3413,6 +3423,16 @@
|
|
|
3413
3423
|
"source": "{n, plural, one {per year} other {every # years}}",
|
|
3414
3424
|
"translation": "{n, plural, one {par an} other {tous les # ans}}",
|
|
3415
3425
|
"origin": "machine"
|
|
3426
|
+
},
|
|
3427
|
+
"h_41ea36c1a2ec": {
|
|
3428
|
+
"source": "No Events Yet",
|
|
3429
|
+
"translation": "Aucun événement pour le moment",
|
|
3430
|
+
"origin": "machine"
|
|
3431
|
+
},
|
|
3432
|
+
"h_baa225c8b45b": {
|
|
3433
|
+
"source": "Once we add new events you'll be able to RSVP and buy tickets for them here.",
|
|
3434
|
+
"translation": "Dès que nous ajouterons de nouveaux événements, vous pourrez vous y inscrire et acheter des billets ici.",
|
|
3435
|
+
"origin": "machine"
|
|
3416
3436
|
}
|
|
3417
3437
|
}
|
|
3418
3438
|
}
|
|
@@ -1589,6 +1589,10 @@
|
|
|
1589
1589
|
"source": "Your account details could not be loaded. Try again.",
|
|
1590
1590
|
"translation": "לא ניתן לטעון את פרטי החשבון שלך. יש לנסות שוב."
|
|
1591
1591
|
},
|
|
1592
|
+
"h_6e6a6f2086bb": {
|
|
1593
|
+
"source": "Other",
|
|
1594
|
+
"translation": "אחר"
|
|
1595
|
+
},
|
|
1592
1596
|
"h_d4b940db4a6e": {
|
|
1593
1597
|
"source": "Latest activity",
|
|
1594
1598
|
"translation": "הפעילות האחרונה"
|
|
@@ -2509,6 +2513,14 @@
|
|
|
2509
2513
|
"source": "Processing your purchase…",
|
|
2510
2514
|
"translation": "מעבד את הרכישה…"
|
|
2511
2515
|
},
|
|
2516
|
+
"h_013147ef56fa": {
|
|
2517
|
+
"source": "No products in this category yet.",
|
|
2518
|
+
"translation": "אין עדיין מוצרים בקטגוריה הזו."
|
|
2519
|
+
},
|
|
2520
|
+
"h_87659e19efce": {
|
|
2521
|
+
"source": "No products are published yet.",
|
|
2522
|
+
"translation": "אין עדיין מוצרים שפורסמו."
|
|
2523
|
+
},
|
|
2512
2524
|
"h_a7677e84b666": {
|
|
2513
2525
|
"source": "Ticket",
|
|
2514
2526
|
"translation": "כרטיס"
|
|
@@ -2753,10 +2765,6 @@
|
|
|
2753
2765
|
"source": "You can choose a later start date.",
|
|
2754
2766
|
"translation": "אפשר לבחור תאריך התחלה מאוחר יותר."
|
|
2755
2767
|
},
|
|
2756
|
-
"h_cb7c8c83bd90": {
|
|
2757
|
-
"source": "No upcoming events.",
|
|
2758
|
-
"translation": "אין אירועים קרובים."
|
|
2759
|
-
},
|
|
2760
2768
|
"h_e84d8431b504": {
|
|
2761
2769
|
"source": "{n, plural, one {for # day} other {for # days}}",
|
|
2762
2770
|
"translation": "{n, plural, one {ליום אחד} other {ל-# ימים}}"
|
|
@@ -2788,6 +2796,14 @@
|
|
|
2788
2796
|
"h_55db55f1bd29": {
|
|
2789
2797
|
"source": "{n, plural, one {per year} other {every # years}}",
|
|
2790
2798
|
"translation": "{n, plural, one {לשנה} other {כל # שנים}}"
|
|
2799
|
+
},
|
|
2800
|
+
"h_41ea36c1a2ec": {
|
|
2801
|
+
"source": "No Events Yet",
|
|
2802
|
+
"translation": "עדיין אין אירועים"
|
|
2803
|
+
},
|
|
2804
|
+
"h_baa225c8b45b": {
|
|
2805
|
+
"source": "Once we add new events you'll be able to RSVP and buy tickets for them here.",
|
|
2806
|
+
"translation": "כשנוסיף אירועים חדשים תוכלו להירשם אליהם ולקנות כרטיסים כאן."
|
|
2791
2807
|
}
|
|
2792
2808
|
}
|
|
2793
2809
|
}
|