@wix/himalaya-cli 0.1740.0 → 0.1742.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/locale.d.ts +3 -1
- 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/core.mjs +57 -3
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/l10n.mjs +51 -2
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +6 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{4235535ddd6e62ae867fd4d3588054909040428cffec9bea2807693a68e297d9.bin → d13ef703cc8f4d7eaa9b12967b618314b75002b5d4441dedbcc65e3601c4750d.bin} +1 -1
- package/dist/browser-plane/sw.js +6 -6
- package/dist/cli.mjs +497 -226
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/getting-started.md +18 -7
- package/guides/himi-json-output.md +12 -1
- package/guides/himi-skill.md +18 -7
- package/guides/one-app-to-himi-app.md +11 -2
- 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 +5103 -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/beauty-salon/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/branded-lite/l10n/fr.json +9098 -0
- package/templates/branded-lite/l10n/he.json +92 -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/group-privacy.ts +14 -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/branded-lite/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/branded-lite/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/community-club/l10n/en.json +45 -0
- package/templates/community-club/l10n/fr.json +3318 -0
- package/templates/community-club/l10n/he.json +327 -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/group-privacy.ts +14 -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/community-club/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/community-club/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/events-meetups/l10n/en.json +45 -0
- package/templates/events-meetups/l10n/fr.json +3178 -0
- package/templates/events-meetups/l10n/he.json +327 -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/group-privacy.ts +14 -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/events-meetups/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/events-meetups/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/gym-fitness/l10n/en.json +45 -0
- package/templates/gym-fitness/l10n/fr.json +5694 -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/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/nonprofit-cause/l10n/en.json +45 -0
- package/templates/nonprofit-cause/l10n/fr.json +3766 -0
- package/templates/nonprofit-cause/l10n/he.json +307 -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/group-privacy.ts +14 -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/nonprofit-cause/tier5-src/himi-branded-lite-group/index.ts +11 -4
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-group-about/index.ts +2 -6
- package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/podcast-creator/l10n/en.json +45 -0
- package/templates/podcast-creator/l10n/fr.json +3608 -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/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/portfolio-creative/l10n/en.json +45 -0
- package/templates/portfolio-creative/l10n/fr.json +4197 -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/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/restaurant/l10n/en.json +45 -0
- package/templates/restaurant/l10n/fr.json +3845 -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/restaurant/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/retail-store/l10n/en.json +60 -0
- package/templates/retail-store/l10n/fr.json +3621 -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/retail-store/tier5-src/wix-spaces-app-language/index.ts +18 -3
- package/templates/yoga-studio/l10n/en.json +24 -0
- package/templates/yoga-studio/l10n/fr.json +4595 -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
- package/templates/yoga-studio/tier5-src/wix-spaces-app-language/index.ts +18 -3
package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/locale.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/** The languages the One App ships in-app (mobile-apps-engine `ALL_LOCALES`; Norwegian is `no`, the code Wix's
|
|
2
|
+
* strings use). A catalog may translate any of them; a tag with no catalog paints English, one key at a time. */
|
|
3
|
+
export declare const SUPPORTED_LOCALES: readonly ["ar", "cs", "da", "de", "el", "en", "es", "fi", "fr", "he", "hu", "id", "it", "ja", "ko", "lt", "nl", "no", "pl", "pt", "ru", "sv", "th", "tr", "uk", "vi", "zh"];
|
|
2
4
|
export type SupportedLocale = (typeof SUPPORTED_LOCALES)[number];
|
|
3
5
|
export declare const RTL_LOCALES: Set<string>;
|
|
4
6
|
/** Served on the OTA app-config channel. Unknown `default` tags are ignored by
|
|
@@ -79,6 +79,8 @@ export interface WixMember {
|
|
|
79
79
|
contactId?: string;
|
|
80
80
|
createdDate?: string;
|
|
81
81
|
updatedDate?: string;
|
|
82
|
+
/** When the member last logged in. Absent when the site does not expose it: callers show no activity, never a guess. */
|
|
83
|
+
lastLoginDate?: string;
|
|
82
84
|
}
|
|
83
85
|
export interface WixMembersMetadata {
|
|
84
86
|
count?: number;
|
|
@@ -227,6 +229,11 @@ export interface WixMyConnectionsResponse {
|
|
|
227
229
|
* whole answer untrusted and rejects, as does an entry with neither counter or a permission
|
|
228
230
|
* failure. Callers hide an unavailable counter; a missing one is never shown as zero. */
|
|
229
231
|
export declare function getFollowCounts(memberId: string, options?: WixCallOptions): Promise<WixFollowCounts>;
|
|
232
|
+
/** Which of `memberIds` the signed-in member follows — ONE call of POST /members/v3/followers/my/connections for a whole
|
|
233
|
+
* page. A member Wix returned no entry for is absent from the set (unknown, not "not following"); may 403 for a visitor.
|
|
234
|
+
*
|
|
235
|
+
* @scope member — the signed-in member's own follow state. A visitor gets HTTP 403: callers show no Follow state rather than an error. */
|
|
236
|
+
export declare function getMyFollowing(memberIds: string[]): Promise<Set<string>>;
|
|
230
237
|
/** Whether the signed-in member follows `targetId` — POST
|
|
231
238
|
* /members/v3/followers/my/connections. Returns false on any miss. May 403 →
|
|
232
239
|
* caller should default to false. */
|
|
@@ -72,6 +72,12 @@ export interface WixPlan {
|
|
|
72
72
|
updatedDate?: string;
|
|
73
73
|
/** Buyer-facing cancellation allowed. */
|
|
74
74
|
buyerCanCancel?: boolean;
|
|
75
|
+
/** How many times one buyer may purchase the plan; absent or 0 = no limit. */
|
|
76
|
+
maxPurchasesPerBuyer?: number;
|
|
77
|
+
/** The buyer may choose a later start date at checkout. */
|
|
78
|
+
allowFutureStartDate?: boolean;
|
|
79
|
+
/** The owner's terms and conditions, shown before buying. */
|
|
80
|
+
termsAndConditions?: string;
|
|
75
81
|
}
|
|
76
82
|
export interface WixPlansPagingMetadata {
|
|
77
83
|
count?: number;
|
|
@@ -6989,10 +6989,40 @@ function validateNavigationStreamPolicyConfig(appConfig, options) {
|
|
|
6989
6989
|
}
|
|
6990
6990
|
|
|
6991
6991
|
// ../../core/ts/src/locale.ts
|
|
6992
|
-
var SUPPORTED_LOCALES = [
|
|
6992
|
+
var SUPPORTED_LOCALES = [
|
|
6993
|
+
"ar",
|
|
6994
|
+
"cs",
|
|
6995
|
+
"da",
|
|
6996
|
+
"de",
|
|
6997
|
+
"el",
|
|
6998
|
+
"en",
|
|
6999
|
+
"es",
|
|
7000
|
+
"fi",
|
|
7001
|
+
"fr",
|
|
7002
|
+
"he",
|
|
7003
|
+
"hu",
|
|
7004
|
+
"id",
|
|
7005
|
+
"it",
|
|
7006
|
+
"ja",
|
|
7007
|
+
"ko",
|
|
7008
|
+
"lt",
|
|
7009
|
+
"nl",
|
|
7010
|
+
"no",
|
|
7011
|
+
"pl",
|
|
7012
|
+
"pt",
|
|
7013
|
+
"ru",
|
|
7014
|
+
"sv",
|
|
7015
|
+
"th",
|
|
7016
|
+
"tr",
|
|
7017
|
+
"uk",
|
|
7018
|
+
"vi",
|
|
7019
|
+
"zh"
|
|
7020
|
+
];
|
|
6993
7021
|
var RTL_LOCALES = /* @__PURE__ */ new Set(["he", "ar", "fa", "ur"]);
|
|
7022
|
+
var LANGUAGE_ALIASES = { nb: "no", nn: "no" };
|
|
6994
7023
|
function primarySubtag(tag) {
|
|
6995
|
-
|
|
7024
|
+
const primary = (tag ?? "").trim().split(/[-_]/)[0].toLowerCase();
|
|
7025
|
+
return LANGUAGE_ALIASES[primary] ?? primary;
|
|
6996
7026
|
}
|
|
6997
7027
|
function isSupportedLocale(tag) {
|
|
6998
7028
|
return SUPPORTED_LOCALES.includes(tag);
|
|
@@ -7032,9 +7062,33 @@ function resolveAppLocale(opts) {
|
|
|
7032
7062
|
}
|
|
7033
7063
|
var LOCALE_SYSTEM = "system";
|
|
7034
7064
|
var LOCALE_NATIVE_NAMES = {
|
|
7065
|
+
ar: "\u0627\u0644\u0639\u0631\u0628\u064A\u0629",
|
|
7066
|
+
cs: "\u010Ce\u0161tina",
|
|
7067
|
+
da: "Dansk",
|
|
7068
|
+
de: "Deutsch",
|
|
7069
|
+
el: "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC",
|
|
7035
7070
|
en: "English",
|
|
7071
|
+
es: "Espa\xF1ol",
|
|
7072
|
+
fi: "Suomi",
|
|
7073
|
+
fr: "Fran\xE7ais",
|
|
7036
7074
|
he: "\u05E2\u05D1\u05E8\u05D9\u05EA",
|
|
7037
|
-
|
|
7075
|
+
hu: "Magyar",
|
|
7076
|
+
id: "Bahasa Indonesia",
|
|
7077
|
+
it: "Italiano",
|
|
7078
|
+
ja: "\u65E5\u672C\u8A9E",
|
|
7079
|
+
ko: "\uD55C\uAD6D\uC5B4",
|
|
7080
|
+
lt: "Lietuvi\u0173",
|
|
7081
|
+
nl: "Nederlands",
|
|
7082
|
+
no: "Norsk",
|
|
7083
|
+
pl: "Polski",
|
|
7084
|
+
pt: "Portugu\xEAs",
|
|
7085
|
+
ru: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439",
|
|
7086
|
+
sv: "Svenska",
|
|
7087
|
+
th: "\u0E44\u0E17\u0E22",
|
|
7088
|
+
tr: "T\xFCrk\xE7e",
|
|
7089
|
+
uk: "\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",
|
|
7090
|
+
vi: "Ti\u1EBFng Vi\u1EC7t",
|
|
7091
|
+
zh: "\u4E2D\u6587"
|
|
7038
7092
|
};
|
|
7039
7093
|
function localeChoiceSource(source) {
|
|
7040
7094
|
if (source === "user") return "user";
|
|
@@ -13,13 +13,62 @@ function pluralCategoryFallback(n, locale2) {
|
|
|
13
13
|
const lang = (locale2 || "en").split(/[-_]/)[0].toLowerCase();
|
|
14
14
|
const i = Math.floor(Math.abs(n));
|
|
15
15
|
const isInt = Number.isInteger(n);
|
|
16
|
+
const m10 = i % 10;
|
|
17
|
+
const m100 = i % 100;
|
|
18
|
+
const millions = isInt && i !== 0 && i % 1e6 === 0;
|
|
16
19
|
switch (lang) {
|
|
17
20
|
case "he":
|
|
18
|
-
if (i === 1 && isInt) return "one";
|
|
21
|
+
if (i === 1 && isInt || i === 0 && !isInt) return "one";
|
|
19
22
|
if (i === 2 && isInt) return "two";
|
|
20
23
|
return "other";
|
|
21
|
-
case "
|
|
24
|
+
case "fr":
|
|
25
|
+
case "pt":
|
|
26
|
+
if (i === 0 || i === 1) return "one";
|
|
27
|
+
return millions ? "many" : "other";
|
|
22
28
|
case "es":
|
|
29
|
+
case "it":
|
|
30
|
+
if (i === 1 && isInt) return "one";
|
|
31
|
+
return millions ? "many" : "other";
|
|
32
|
+
case "da":
|
|
33
|
+
if (isInt ? i === 1 : i === 0 || i === 1) return "one";
|
|
34
|
+
return "other";
|
|
35
|
+
case "cs":
|
|
36
|
+
if (!isInt) return "many";
|
|
37
|
+
if (i === 1) return "one";
|
|
38
|
+
return i >= 2 && i <= 4 ? "few" : "other";
|
|
39
|
+
case "pl":
|
|
40
|
+
if (!isInt) return "other";
|
|
41
|
+
if (i === 1) return "one";
|
|
42
|
+
if (m10 >= 2 && m10 <= 4 && !(m100 >= 12 && m100 <= 14)) return "few";
|
|
43
|
+
return "many";
|
|
44
|
+
case "ru":
|
|
45
|
+
case "uk":
|
|
46
|
+
if (!isInt) return "other";
|
|
47
|
+
if (m10 === 1 && m100 !== 11) return "one";
|
|
48
|
+
if (m10 >= 2 && m10 <= 4 && !(m100 >= 12 && m100 <= 14)) return "few";
|
|
49
|
+
return "many";
|
|
50
|
+
case "lt": {
|
|
51
|
+
if (!isInt) return "many";
|
|
52
|
+
const tail = m100 >= 11 && m100 <= 19;
|
|
53
|
+
if (m10 === 1 && !tail) return "one";
|
|
54
|
+
return m10 >= 2 && !tail ? "few" : "other";
|
|
55
|
+
}
|
|
56
|
+
case "ar": {
|
|
57
|
+
if (!isInt) return "other";
|
|
58
|
+
if (i === 0) return "zero";
|
|
59
|
+
if (i === 1) return "one";
|
|
60
|
+
if (i === 2) return "two";
|
|
61
|
+
if (m100 >= 3 && m100 <= 10) return "few";
|
|
62
|
+
return m100 >= 11 ? "many" : "other";
|
|
63
|
+
}
|
|
64
|
+
case "id":
|
|
65
|
+
case "ja":
|
|
66
|
+
case "ko":
|
|
67
|
+
case "th":
|
|
68
|
+
case "vi":
|
|
69
|
+
case "zh":
|
|
70
|
+
return "other";
|
|
71
|
+
case "en":
|
|
23
72
|
default:
|
|
24
73
|
return i === 1 && isInt ? "one" : "other";
|
|
25
74
|
}
|
|
@@ -102,6 +102,11 @@ async function getFollowCounts(memberId, options) {
|
|
|
102
102
|
if (followers === null && following === null) throw new Error("getFollowCounts: explicit member totals are unavailable");
|
|
103
103
|
return { followers, following };
|
|
104
104
|
}
|
|
105
|
+
async function getMyFollowing(memberIds) {
|
|
106
|
+
if (!memberIds.length) return /* @__PURE__ */ new Set();
|
|
107
|
+
const res = await wixCall("POST", "/members/v3/followers/my/connections", { connectedMemberIds: memberIds });
|
|
108
|
+
return new Set((res.connectedMembers ?? []).filter((c) => c.isFollowing === true && c.memberId).map((c) => c.memberId));
|
|
109
|
+
}
|
|
105
110
|
async function isFollowingMember(targetId) {
|
|
106
111
|
if (!targetId) throw new Error("isFollowingMember: targetId is required");
|
|
107
112
|
const res = await wixCall(
|
|
@@ -149,6 +154,7 @@ export {
|
|
|
149
154
|
followMember,
|
|
150
155
|
getFollowCounts,
|
|
151
156
|
getMember,
|
|
157
|
+
getMyFollowing,
|
|
152
158
|
getMyMember,
|
|
153
159
|
getPublicMember,
|
|
154
160
|
isFollowingMember,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"files": [
|
|
3
3
|
{
|
|
4
4
|
"name": "sw.js",
|
|
5
|
-
"bytes":
|
|
5
|
+
"bytes": 2563144
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"name": "host.html",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bytes": 24256
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"name": "preview-deferred/
|
|
24
|
+
"name": "preview-deferred/d13ef703cc8f4d7eaa9b12967b618314b75002b5d4441dedbcc65e3601c4750d.bin",
|
|
25
25
|
"bytes": 488215
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
],
|
|
80
80
|
"deferred": [
|
|
81
81
|
{
|
|
82
|
-
"key": "assets/pdf-
|
|
82
|
+
"key": "assets/pdf-CYzkvTz2.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "d13ef703cc8f4d7eaa9b12967b618314b75002b5d4441dedbcc65e3601c4750d",
|
|
85
|
+
"file": "preview-deferred/d13ef703cc8f4d7eaa9b12967b618314b75002b5d4441dedbcc65e3601c4750d.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|