@wix/himalaya-cli 0.1741.0 → 0.1743.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/stdlib/wix-sdk/members-v1/src/index.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/pricing-plans/src/index.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +6 -0
- package/dist/cli.mjs +162 -74
- package/guides/getting-started.md +18 -7
- package/guides/himi-json-output.md +11 -0
- package/guides/himi-skill.md +18 -7
- package/guides/sdk-reference.json +11 -2
- package/guides/skill.md +24 -13
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/en.json +55 -0
- package/templates/beauty-salon/l10n/fr.json +297 -0
- package/templates/beauty-salon/l10n/he.json +319 -0
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +364 -0
- package/templates/beauty-salon/recipes/blog-list.json +364 -0
- package/templates/beauty-salon/recipes/blog-see-all.json +50 -0
- package/templates/beauty-salon/recipes/events-inline-list.json +203 -0
- package/templates/beauty-salon/recipes/events-inline.json +284 -0
- package/templates/beauty-salon/recipes/members-list.json +445 -0
- package/templates/beauty-salon/recipes/plans-card.json +811 -0
- package/templates/beauty-salon/recipes/programs-card.json +254 -0
- package/templates/beauty-salon/recipes/programs-carousel.json +234 -0
- package/templates/beauty-salon/recipes/section-error.json +58 -0
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +86 -0
- package/templates/beauty-salon/tier5-src/_shared/events-card.ts +33 -0
- package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/branded-lite/l10n/fr.json +10 -0
- package/templates/branded-lite/l10n/he.json +88 -0
- package/templates/branded-lite/recipes/blog-list-thumb-start.json +364 -0
- package/templates/branded-lite/recipes/blog-list.json +364 -0
- package/templates/branded-lite/recipes/blog-see-all.json +50 -0
- package/templates/branded-lite/recipes/events-inline-list.json +203 -0
- package/templates/branded-lite/recipes/events-inline.json +284 -0
- package/templates/branded-lite/recipes/members-list.json +445 -0
- package/templates/branded-lite/recipes/plans-card.json +811 -0
- package/templates/branded-lite/recipes/programs-card.json +254 -0
- package/templates/branded-lite/recipes/programs-carousel.json +234 -0
- package/templates/branded-lite/recipes/section-error.json +58 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/branded-lite/tier5-src/_shared/events-card.ts +33 -0
- package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +1 -1
- package/templates/branded-lite/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/branded-lite/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/branded-lite/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/branded-lite/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/community-club/l10n/en.json +45 -0
- package/templates/community-club/l10n/fr.json +292 -0
- package/templates/community-club/l10n/he.json +315 -0
- package/templates/community-club/recipes/blog-list-thumb-start.json +364 -0
- package/templates/community-club/recipes/blog-list.json +364 -0
- package/templates/community-club/recipes/blog-see-all.json +50 -0
- package/templates/community-club/recipes/events-inline-list.json +203 -0
- package/templates/community-club/recipes/events-inline.json +284 -0
- package/templates/community-club/recipes/members-list.json +445 -0
- package/templates/community-club/recipes/plans-card.json +811 -0
- package/templates/community-club/recipes/programs-card.json +254 -0
- package/templates/community-club/recipes/programs-carousel.json +234 -0
- package/templates/community-club/recipes/section-error.json +58 -0
- package/templates/community-club/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/community-club/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/community-club/tier5-src/_shared/events-card.ts +33 -0
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/community-club/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/community-club/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/community-club/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/community-club/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/community-club/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/community-club/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/community-club/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/events-meetups/l10n/en.json +45 -0
- package/templates/events-meetups/l10n/fr.json +292 -0
- package/templates/events-meetups/l10n/he.json +315 -0
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +364 -0
- package/templates/events-meetups/recipes/blog-list.json +364 -0
- package/templates/events-meetups/recipes/blog-see-all.json +50 -0
- package/templates/events-meetups/recipes/events-inline-list.json +203 -0
- package/templates/events-meetups/recipes/events-inline.json +284 -0
- package/templates/events-meetups/recipes/members-list.json +445 -0
- package/templates/events-meetups/recipes/plans-card.json +811 -0
- package/templates/events-meetups/recipes/programs-card.json +254 -0
- package/templates/events-meetups/recipes/programs-carousel.json +234 -0
- package/templates/events-meetups/recipes/section-error.json +58 -0
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/events-meetups/tier5-src/_shared/events-card.ts +33 -0
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/events-meetups/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/events-meetups/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/gym-fitness/l10n/en.json +45 -0
- package/templates/gym-fitness/l10n/fr.json +282 -0
- package/templates/gym-fitness/l10n/he.json +307 -0
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +364 -0
- package/templates/gym-fitness/recipes/blog-list.json +364 -0
- package/templates/gym-fitness/recipes/blog-see-all.json +50 -0
- package/templates/gym-fitness/recipes/events-inline-list.json +203 -0
- package/templates/gym-fitness/recipes/events-inline.json +284 -0
- package/templates/gym-fitness/recipes/members-list.json +445 -0
- package/templates/gym-fitness/recipes/plans-card.json +811 -0
- package/templates/gym-fitness/recipes/programs-card.json +254 -0
- package/templates/gym-fitness/recipes/programs-carousel.json +234 -0
- package/templates/gym-fitness/recipes/section-error.json +58 -0
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/gym-fitness/tier5-src/_shared/events-card.ts +33 -0
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/nonprofit-cause/l10n/en.json +45 -0
- package/templates/nonprofit-cause/l10n/fr.json +267 -0
- package/templates/nonprofit-cause/l10n/he.json +295 -0
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +364 -0
- package/templates/nonprofit-cause/recipes/blog-list.json +364 -0
- package/templates/nonprofit-cause/recipes/blog-see-all.json +50 -0
- package/templates/nonprofit-cause/recipes/events-inline-list.json +203 -0
- package/templates/nonprofit-cause/recipes/events-inline.json +284 -0
- package/templates/nonprofit-cause/recipes/members-list.json +445 -0
- package/templates/nonprofit-cause/recipes/plans-card.json +811 -0
- package/templates/nonprofit-cause/recipes/programs-card.json +254 -0
- package/templates/nonprofit-cause/recipes/programs-carousel.json +234 -0
- package/templates/nonprofit-cause/recipes/section-error.json +58 -0
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +33 -0
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/podcast-creator/l10n/en.json +45 -0
- package/templates/podcast-creator/l10n/fr.json +287 -0
- package/templates/podcast-creator/l10n/he.json +311 -0
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +364 -0
- package/templates/podcast-creator/recipes/blog-list.json +364 -0
- package/templates/podcast-creator/recipes/blog-see-all.json +50 -0
- package/templates/podcast-creator/recipes/events-inline-list.json +203 -0
- package/templates/podcast-creator/recipes/events-inline.json +284 -0
- package/templates/podcast-creator/recipes/members-list.json +445 -0
- package/templates/podcast-creator/recipes/plans-card.json +811 -0
- package/templates/podcast-creator/recipes/programs-card.json +254 -0
- package/templates/podcast-creator/recipes/programs-carousel.json +234 -0
- package/templates/podcast-creator/recipes/section-error.json +58 -0
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/podcast-creator/tier5-src/_shared/events-card.ts +33 -0
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/portfolio-creative/l10n/en.json +45 -0
- package/templates/portfolio-creative/l10n/fr.json +317 -0
- package/templates/portfolio-creative/l10n/he.json +335 -0
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +364 -0
- package/templates/portfolio-creative/recipes/blog-list.json +364 -0
- package/templates/portfolio-creative/recipes/blog-see-all.json +50 -0
- package/templates/portfolio-creative/recipes/events-inline-list.json +203 -0
- package/templates/portfolio-creative/recipes/events-inline.json +284 -0
- package/templates/portfolio-creative/recipes/members-list.json +445 -0
- package/templates/portfolio-creative/recipes/plans-card.json +811 -0
- package/templates/portfolio-creative/recipes/programs-card.json +254 -0
- package/templates/portfolio-creative/recipes/programs-carousel.json +234 -0
- package/templates/portfolio-creative/recipes/section-error.json +58 -0
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +33 -0
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/restaurant/l10n/en.json +45 -0
- package/templates/restaurant/l10n/fr.json +317 -0
- package/templates/restaurant/l10n/he.json +335 -0
- package/templates/restaurant/recipes/blog-list-thumb-start.json +364 -0
- package/templates/restaurant/recipes/blog-list.json +364 -0
- package/templates/restaurant/recipes/blog-see-all.json +50 -0
- package/templates/restaurant/recipes/events-inline-list.json +203 -0
- package/templates/restaurant/recipes/events-inline.json +284 -0
- package/templates/restaurant/recipes/members-list.json +445 -0
- package/templates/restaurant/recipes/plans-card.json +811 -0
- package/templates/restaurant/recipes/programs-card.json +254 -0
- package/templates/restaurant/recipes/programs-carousel.json +234 -0
- package/templates/restaurant/recipes/section-error.json +58 -0
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/restaurant/tier5-src/_shared/events-card.ts +33 -0
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/restaurant/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/restaurant/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/restaurant/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/retail-store/l10n/en.json +60 -0
- package/templates/retail-store/l10n/fr.json +342 -0
- package/templates/retail-store/l10n/he.json +355 -0
- package/templates/retail-store/recipes/blog-list-thumb-start.json +364 -0
- package/templates/retail-store/recipes/blog-list.json +364 -0
- package/templates/retail-store/recipes/blog-see-all.json +50 -0
- package/templates/retail-store/recipes/events-inline-list.json +203 -0
- package/templates/retail-store/recipes/events-inline.json +284 -0
- package/templates/retail-store/recipes/members-list.json +445 -0
- package/templates/retail-store/recipes/plans-card.json +811 -0
- package/templates/retail-store/recipes/programs-card.json +254 -0
- package/templates/retail-store/recipes/programs-carousel.json +234 -0
- package/templates/retail-store/recipes/section-error.json +58 -0
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/retail-store/tier5-src/_shared/event-registration.ts +86 -0
- package/templates/retail-store/tier5-src/_shared/events-card.ts +33 -0
- package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/retail-store/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/retail-store/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/retail-store/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/yoga-studio/l10n/en.json +24 -0
- package/templates/yoga-studio/l10n/fr.json +64 -0
- package/templates/yoga-studio/l10n/he.json +132 -0
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +364 -0
- package/templates/yoga-studio/recipes/blog-list.json +364 -0
- package/templates/yoga-studio/recipes/blog-see-all.json +50 -0
- package/templates/yoga-studio/recipes/events-inline-list.json +203 -0
- package/templates/yoga-studio/recipes/events-inline.json +284 -0
- package/templates/yoga-studio/recipes/members-list.json +445 -0
- package/templates/yoga-studio/recipes/plans-card.json +811 -0
- package/templates/yoga-studio/recipes/programs-card.json +254 -0
- package/templates/yoga-studio/recipes/programs-carousel.json +234 -0
- package/templates/yoga-studio/recipes/section-error.json +58 -0
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +207 -0
- package/templates/yoga-studio/tier5-src/_shared/events-card.ts +33 -0
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +25 -0
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +82 -0
- package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +34 -0
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +167 -0
- package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +39 -0
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +267 -0
- package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +87 -0
- package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +106 -0
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +728 -0
- package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// "2 hours ago" for a recent timestamp, the plain date once it is a week old (the One App blog list and cards).
|
|
2
|
+
// Pure and Intl-free: the absolute date comes from engine-intl, whose fallback never throws on the wrist engines.
|
|
3
|
+
import { copyParam, copyPlural } from "./himi-copy.js";
|
|
4
|
+
import { formatDateMedium } from "./engine-intl.js";
|
|
5
|
+
|
|
6
|
+
const MINUTE = 60_000;
|
|
7
|
+
const HOUR = 60 * MINUTE;
|
|
8
|
+
const DAY = 24 * HOUR;
|
|
9
|
+
const RELATIVE_DAYS = 7;
|
|
10
|
+
|
|
11
|
+
/** "" when `iso` is missing or not a date. A time in the future (a clock skew) reads as the date, never "-3 minutes ago". */
|
|
12
|
+
export function relativeTime(iso: string | undefined, now: number): string {
|
|
13
|
+
const at = iso ? Date.parse(iso) : NaN;
|
|
14
|
+
if (!Number.isFinite(at)) return "";
|
|
15
|
+
const age = now - at;
|
|
16
|
+
if (age < 0 || age >= RELATIVE_DAYS * DAY) return formatDateMedium(new Date(at));
|
|
17
|
+
if (age < MINUTE) return copyParam("relativeTime.justNow", "Just now");
|
|
18
|
+
if (age < HOUR) return copyPlural("relativeTime.minutesAgo", "{n, plural, one {# minute ago} other {# minutes ago}}", Math.floor(age / MINUTE));
|
|
19
|
+
if (age < DAY) return copyPlural("relativeTime.hoursAgo", "{n, plural, one {# hour ago} other {# hours ago}}", Math.floor(age / HOUR));
|
|
20
|
+
return copyPlural("relativeTime.daysAgo", "{n, plural, one {# day ago} other {# days ago}}", Math.floor(age / DAY));
|
|
21
|
+
}
|
|
@@ -6629,6 +6629,16 @@
|
|
|
6629
6629
|
"translation": "{n, plural, one {# élément} other {# éléments}}",
|
|
6630
6630
|
"origin": "machine"
|
|
6631
6631
|
},
|
|
6632
|
+
"h_95fa98b5f4ee": {
|
|
6633
|
+
"source": "Active {n}h ago",
|
|
6634
|
+
"translation": "Actif il y a {n} h",
|
|
6635
|
+
"origin": "machine"
|
|
6636
|
+
},
|
|
6637
|
+
"h_71609106e1eb": {
|
|
6638
|
+
"source": "Active {n}m ago",
|
|
6639
|
+
"translation": "Actif il y a {n} min",
|
|
6640
|
+
"origin": "machine"
|
|
6641
|
+
},
|
|
6632
6642
|
"h_19b27b0fd751": {
|
|
6633
6643
|
"source": "You’re offline — nothing was saved. Try again when you reconnect.",
|
|
6634
6644
|
"translation": "Vous êtes hors ligne : rien n’a été enregistré. Réessayez une fois reconnecté.",
|
|
@@ -5472,6 +5472,14 @@
|
|
|
5472
5472
|
"source": "{n, plural, one {# item} other {# items}}",
|
|
5473
5473
|
"translation": "{n, plural, one {פריט אחד} other {# פריטים}}"
|
|
5474
5474
|
},
|
|
5475
|
+
"h_95fa98b5f4ee": {
|
|
5476
|
+
"source": "Active {n}h ago",
|
|
5477
|
+
"translation": "פעיל/ה לפני {n} שע׳"
|
|
5478
|
+
},
|
|
5479
|
+
"h_71609106e1eb": {
|
|
5480
|
+
"source": "Active {n}m ago",
|
|
5481
|
+
"translation": "פעיל/ה לפני {n} דק׳"
|
|
5482
|
+
},
|
|
5475
5483
|
"h_19b27b0fd751": {
|
|
5476
5484
|
"source": "You’re offline — nothing was saved. Try again when you reconnect.",
|
|
5477
5485
|
"translation": "אין חיבור — דבר לא נשמר. נסו שוב כשהחיבור יחזור."
|
|
@@ -7435,6 +7443,86 @@
|
|
|
7435
7443
|
"h_369f7da341fe": {
|
|
7436
7444
|
"source": "Pick one file at a time.",
|
|
7437
7445
|
"translation": "בחרו קובץ אחד בכל פעם."
|
|
7446
|
+
},
|
|
7447
|
+
"h_14ed0860418c": {
|
|
7448
|
+
"source": "No Time Limit",
|
|
7449
|
+
"translation": "ללא הגבלת זמן"
|
|
7450
|
+
},
|
|
7451
|
+
"h_e830e1381ba6": {
|
|
7452
|
+
"source": "{n, plural, one {# minute ago} other {# minutes ago}}",
|
|
7453
|
+
"translation": "{n, plural, one {לפני דקה} other {לפני # דקות}}"
|
|
7454
|
+
},
|
|
7455
|
+
"h_a7ccfb719652": {
|
|
7456
|
+
"source": "{n, plural, one {# hour ago} other {# hours ago}}",
|
|
7457
|
+
"translation": "{n, plural, one {לפני שעה} other {לפני # שעות}}"
|
|
7458
|
+
},
|
|
7459
|
+
"h_5e4247c32900": {
|
|
7460
|
+
"source": "{n, plural, one {# day ago} other {# days ago}}",
|
|
7461
|
+
"translation": "{n, plural, one {לפני יום} other {לפני # ימים}}"
|
|
7462
|
+
},
|
|
7463
|
+
"h_51d1d606ee9b": {
|
|
7464
|
+
"source": "Members couldn't be loaded.",
|
|
7465
|
+
"translation": "לא ניתן היה לטעון את החברים."
|
|
7466
|
+
},
|
|
7467
|
+
"h_8f615630c7a8": {
|
|
7468
|
+
"source": "Search {count} members",
|
|
7469
|
+
"translation": "חיפוש בין {count} חברים"
|
|
7470
|
+
},
|
|
7471
|
+
"h_bbeb7a9f223c": {
|
|
7472
|
+
"source": "Sign in to follow members.",
|
|
7473
|
+
"translation": "יש להתחבר כדי לעקוב אחרי חברים."
|
|
7474
|
+
},
|
|
7475
|
+
"h_4e520e13547e": {
|
|
7476
|
+
"source": "Couldn't update. Try again.",
|
|
7477
|
+
"translation": "העדכון נכשל. נסו שוב."
|
|
7478
|
+
},
|
|
7479
|
+
"h_1b1e1de382f6": {
|
|
7480
|
+
"source": "You can cancel this plan yourself.",
|
|
7481
|
+
"translation": "אפשר לבטל את התוכנית בעצמכם."
|
|
7482
|
+
},
|
|
7483
|
+
"h_af9f9729838a": {
|
|
7484
|
+
"source": "Limit: {n} per member.",
|
|
7485
|
+
"translation": "מגבלה: {n} לכל חבר."
|
|
7486
|
+
},
|
|
7487
|
+
"h_03df3dddc156": {
|
|
7488
|
+
"source": "You can choose a later start date.",
|
|
7489
|
+
"translation": "אפשר לבחור תאריך התחלה מאוחר יותר."
|
|
7490
|
+
},
|
|
7491
|
+
"h_cb7c8c83bd90": {
|
|
7492
|
+
"source": "No upcoming events.",
|
|
7493
|
+
"translation": "אין אירועים קרובים."
|
|
7494
|
+
},
|
|
7495
|
+
"h_e84d8431b504": {
|
|
7496
|
+
"source": "{n, plural, one {for # day} other {for # days}}",
|
|
7497
|
+
"translation": "{n, plural, one {ליום אחד} other {ל-# ימים}}"
|
|
7498
|
+
},
|
|
7499
|
+
"h_6c3b1b0caef6": {
|
|
7500
|
+
"source": "{n, plural, one {per day} other {every # days}}",
|
|
7501
|
+
"translation": "{n, plural, one {ליום} other {כל # ימים}}"
|
|
7502
|
+
},
|
|
7503
|
+
"h_0e9096b5e692": {
|
|
7504
|
+
"source": "{n, plural, one {for # week} other {for # weeks}}",
|
|
7505
|
+
"translation": "{n, plural, one {לשבוע אחד} other {ל-# שבועות}}"
|
|
7506
|
+
},
|
|
7507
|
+
"h_318d1043dc09": {
|
|
7508
|
+
"source": "{n, plural, one {per week} other {every # weeks}}",
|
|
7509
|
+
"translation": "{n, plural, one {לשבוע} other {כל # שבועות}}"
|
|
7510
|
+
},
|
|
7511
|
+
"h_f01e3692c61a": {
|
|
7512
|
+
"source": "{n, plural, one {for # month} other {for # months}}",
|
|
7513
|
+
"translation": "{n, plural, one {לחודש אחד} other {ל-# חודשים}}"
|
|
7514
|
+
},
|
|
7515
|
+
"h_c8b9ca77129d": {
|
|
7516
|
+
"source": "{n, plural, one {per month} other {every # months}}",
|
|
7517
|
+
"translation": "{n, plural, one {לחודש} other {כל # חודשים}}"
|
|
7518
|
+
},
|
|
7519
|
+
"h_bddf6b6e5d29": {
|
|
7520
|
+
"source": "{n, plural, one {for # year} other {for # years}}",
|
|
7521
|
+
"translation": "{n, plural, one {לשנה אחת} other {ל-# שנים}}"
|
|
7522
|
+
},
|
|
7523
|
+
"h_55db55f1bd29": {
|
|
7524
|
+
"source": "{n, plural, one {per year} other {every # years}}",
|
|
7525
|
+
"translation": "{n, plural, one {לשנה} other {כל # שנים}}"
|
|
7438
7526
|
}
|
|
7439
7527
|
}
|
|
7440
7528
|
}
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_recipe": "Blog post list, thumbnail at the START. Same bindings as blog-list.",
|
|
3
|
+
"_placeholders": {
|
|
4
|
+
"svc": "service name registered with registerBlogList",
|
|
5
|
+
"id": "unique node id prefix for this section",
|
|
6
|
+
"detailScreen": "blog post screen id, himi_blog_post"
|
|
7
|
+
},
|
|
8
|
+
"nodes": [
|
|
9
|
+
{
|
|
10
|
+
"id": "{{id}}.loading",
|
|
11
|
+
"body": {
|
|
12
|
+
"package": "himalaya",
|
|
13
|
+
"type": "Skeleton",
|
|
14
|
+
"props": {
|
|
15
|
+
"height": 84,
|
|
16
|
+
"count": 4,
|
|
17
|
+
"cornerRadius": 12
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"modifiers": {
|
|
21
|
+
"padding": {
|
|
22
|
+
"leading": 0,
|
|
23
|
+
"trailing": 0,
|
|
24
|
+
"top": 0,
|
|
25
|
+
"bottom": 0
|
|
26
|
+
},
|
|
27
|
+
"hiddenPath": "$service:{{svc}}.notLoading"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "{{id}}.error",
|
|
32
|
+
"body": {
|
|
33
|
+
"package": "himalaya",
|
|
34
|
+
"type": "VStack",
|
|
35
|
+
"props": {
|
|
36
|
+
"spacing": 8,
|
|
37
|
+
"alignment": "leading",
|
|
38
|
+
"children": [
|
|
39
|
+
{
|
|
40
|
+
"id": "{{id}}.error.text",
|
|
41
|
+
"body": {
|
|
42
|
+
"package": "himalaya",
|
|
43
|
+
"type": "Text",
|
|
44
|
+
"props": {
|
|
45
|
+
"text": "We couldn't load these posts.",
|
|
46
|
+
"style": "bodyEmphasis",
|
|
47
|
+
"maxLines": 1
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "{{id}}.retry",
|
|
53
|
+
"body": {
|
|
54
|
+
"package": "himalaya",
|
|
55
|
+
"type": "Button",
|
|
56
|
+
"props": {
|
|
57
|
+
"title": "Try again",
|
|
58
|
+
"style": "secondary",
|
|
59
|
+
"size": "sm",
|
|
60
|
+
"fullWidth": false,
|
|
61
|
+
"action": {
|
|
62
|
+
"actionId": "tier5.{{svc}}.retry"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"modifiers": {
|
|
71
|
+
"padding": {
|
|
72
|
+
"leading": 0,
|
|
73
|
+
"trailing": 0,
|
|
74
|
+
"top": 0,
|
|
75
|
+
"bottom": 0
|
|
76
|
+
},
|
|
77
|
+
"hiddenPath": "$service:{{svc}}.notErrored"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "{{id}}.list",
|
|
82
|
+
"body": {
|
|
83
|
+
"package": "himalaya",
|
|
84
|
+
"type": "LazyList",
|
|
85
|
+
"props": {
|
|
86
|
+
"itemsPath": "$service:{{svc}}.rows",
|
|
87
|
+
"items": [
|
|
88
|
+
{
|
|
89
|
+
"id": "{{id}}",
|
|
90
|
+
"body": {
|
|
91
|
+
"package": "himalaya",
|
|
92
|
+
"type": "HStack",
|
|
93
|
+
"props": {
|
|
94
|
+
"spacing": 12,
|
|
95
|
+
"alignment": "leading",
|
|
96
|
+
"children": [
|
|
97
|
+
{
|
|
98
|
+
"id": "{{id}}.cover",
|
|
99
|
+
"body": {
|
|
100
|
+
"package": "himalaya",
|
|
101
|
+
"type": "Image",
|
|
102
|
+
"props": {
|
|
103
|
+
"url": "$item.cover",
|
|
104
|
+
"initials": "$item.initial",
|
|
105
|
+
"width": 96,
|
|
106
|
+
"height": 72,
|
|
107
|
+
"shape": "rounded",
|
|
108
|
+
"contentMode": "fill",
|
|
109
|
+
"contentDescription": "$item.title"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"modifiers": {
|
|
113
|
+
"hiddenPath": "$item.noCover"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "{{id}}.text",
|
|
118
|
+
"body": {
|
|
119
|
+
"package": "himalaya",
|
|
120
|
+
"type": "VStack",
|
|
121
|
+
"props": {
|
|
122
|
+
"spacing": 4,
|
|
123
|
+
"alignment": "leading",
|
|
124
|
+
"children": [
|
|
125
|
+
{
|
|
126
|
+
"id": "{{id}}.title",
|
|
127
|
+
"body": {
|
|
128
|
+
"package": "himalaya",
|
|
129
|
+
"type": "Text",
|
|
130
|
+
"props": {
|
|
131
|
+
"text": "$item.title",
|
|
132
|
+
"style": "bodyEmphasis",
|
|
133
|
+
"maxLines": 3
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "{{id}}.author",
|
|
139
|
+
"body": {
|
|
140
|
+
"package": "himalaya",
|
|
141
|
+
"type": "Text",
|
|
142
|
+
"props": {
|
|
143
|
+
"text": "$item.authorName",
|
|
144
|
+
"style": "caption",
|
|
145
|
+
"maxLines": 1
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"modifiers": {
|
|
149
|
+
"hiddenPath": "$item.noAuthor"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "{{id}}.meta",
|
|
154
|
+
"body": {
|
|
155
|
+
"package": "himalaya",
|
|
156
|
+
"type": "Text",
|
|
157
|
+
"props": {
|
|
158
|
+
"text": "$item.meta",
|
|
159
|
+
"style": "caption",
|
|
160
|
+
"maxLines": 1,
|
|
161
|
+
"color": "textSecondary",
|
|
162
|
+
"collapseWhenEmpty": true
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"id": "{{id}}.counts",
|
|
168
|
+
"body": {
|
|
169
|
+
"package": "himalaya",
|
|
170
|
+
"type": "HStack",
|
|
171
|
+
"props": {
|
|
172
|
+
"spacing": 12,
|
|
173
|
+
"alignment": "center",
|
|
174
|
+
"children": [
|
|
175
|
+
{
|
|
176
|
+
"id": "",
|
|
177
|
+
"body": {
|
|
178
|
+
"package": "himalaya",
|
|
179
|
+
"type": "HStack",
|
|
180
|
+
"props": {
|
|
181
|
+
"spacing": 4,
|
|
182
|
+
"alignment": "center",
|
|
183
|
+
"children": [
|
|
184
|
+
{
|
|
185
|
+
"id": "",
|
|
186
|
+
"body": {
|
|
187
|
+
"package": "himalaya",
|
|
188
|
+
"type": "Icon",
|
|
189
|
+
"props": {
|
|
190
|
+
"name": "$item.count1Icon",
|
|
191
|
+
"size": 14,
|
|
192
|
+
"tint": "textSecondary"
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "",
|
|
198
|
+
"body": {
|
|
199
|
+
"package": "himalaya",
|
|
200
|
+
"type": "Text",
|
|
201
|
+
"props": {
|
|
202
|
+
"text": "$item.count1Text",
|
|
203
|
+
"style": "caption",
|
|
204
|
+
"maxLines": 1,
|
|
205
|
+
"color": "textSecondary"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"modifiers": {
|
|
213
|
+
"hiddenPath": "$item.noCount1"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "",
|
|
218
|
+
"body": {
|
|
219
|
+
"package": "himalaya",
|
|
220
|
+
"type": "HStack",
|
|
221
|
+
"props": {
|
|
222
|
+
"spacing": 4,
|
|
223
|
+
"alignment": "center",
|
|
224
|
+
"children": [
|
|
225
|
+
{
|
|
226
|
+
"id": "",
|
|
227
|
+
"body": {
|
|
228
|
+
"package": "himalaya",
|
|
229
|
+
"type": "Icon",
|
|
230
|
+
"props": {
|
|
231
|
+
"name": "$item.count2Icon",
|
|
232
|
+
"size": 14,
|
|
233
|
+
"tint": "textSecondary"
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "",
|
|
239
|
+
"body": {
|
|
240
|
+
"package": "himalaya",
|
|
241
|
+
"type": "Text",
|
|
242
|
+
"props": {
|
|
243
|
+
"text": "$item.count2Text",
|
|
244
|
+
"style": "caption",
|
|
245
|
+
"maxLines": 1,
|
|
246
|
+
"color": "textSecondary"
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
]
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"modifiers": {
|
|
254
|
+
"hiddenPath": "$item.noCount2"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "",
|
|
259
|
+
"body": {
|
|
260
|
+
"package": "himalaya",
|
|
261
|
+
"type": "HStack",
|
|
262
|
+
"props": {
|
|
263
|
+
"spacing": 4,
|
|
264
|
+
"alignment": "center",
|
|
265
|
+
"children": [
|
|
266
|
+
{
|
|
267
|
+
"id": "",
|
|
268
|
+
"body": {
|
|
269
|
+
"package": "himalaya",
|
|
270
|
+
"type": "Icon",
|
|
271
|
+
"props": {
|
|
272
|
+
"name": "$item.count3Icon",
|
|
273
|
+
"size": 14,
|
|
274
|
+
"tint": "textSecondary"
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "",
|
|
280
|
+
"body": {
|
|
281
|
+
"package": "himalaya",
|
|
282
|
+
"type": "Text",
|
|
283
|
+
"props": {
|
|
284
|
+
"text": "$item.count3Text",
|
|
285
|
+
"style": "caption",
|
|
286
|
+
"maxLines": 1,
|
|
287
|
+
"color": "textSecondary"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"modifiers": {
|
|
295
|
+
"hiddenPath": "$item.noCount3"
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"modifiers": {
|
|
302
|
+
"hiddenPath": "$item.noCounts"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"modifiers": {
|
|
309
|
+
"weight": 1
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
]
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"modifiers": {
|
|
316
|
+
"onTap": {
|
|
317
|
+
"actionId": "himi.open",
|
|
318
|
+
"params": {
|
|
319
|
+
"screenId": "{{detailScreen}}",
|
|
320
|
+
"id": "$item.id"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"pressFeedback": "scale",
|
|
324
|
+
"accessibilityLabel": "$item.title"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
],
|
|
328
|
+
"spacing": 16,
|
|
329
|
+
"pagination": {
|
|
330
|
+
"cursor": "$service:{{svc}}.nextCursor",
|
|
331
|
+
"onLoadMore": {
|
|
332
|
+
"actionId": "tier5.{{svc}}.loadMore"
|
|
333
|
+
},
|
|
334
|
+
"pageSize": 20
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"modifiers": {
|
|
339
|
+
"padding": {
|
|
340
|
+
"leading": 0,
|
|
341
|
+
"trailing": 0,
|
|
342
|
+
"top": 0,
|
|
343
|
+
"bottom": 0
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"id": "{{id}}.empty",
|
|
349
|
+
"body": {
|
|
350
|
+
"package": "himalaya",
|
|
351
|
+
"type": "Text",
|
|
352
|
+
"props": {
|
|
353
|
+
"text": "No posts yet.",
|
|
354
|
+
"style": "body",
|
|
355
|
+
"maxLines": 1,
|
|
356
|
+
"color": "textSecondary"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
"modifiers": {
|
|
360
|
+
"hiddenPath": "$service:{{svc}}.notEmpty"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
}
|