@wix/himalaya-cli 0.1856.0 → 0.1858.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/flows/auth/src/copy.generated.d.ts +20 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/feedback.d.ts +9 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/auth/src/index.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/flows/screens/src/index.d.ts +21 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/auth.mjs +53 -16
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +94 -29
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{c1f008be31a41521c6de7c1afad419a1f4dad53cbc2701a14738d5b22f291463.bin → b2b76cc19f21f7c6d8b1a3cd6aa1ac0f194b052fa183761d08bd4f43fd46f844.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +1796 -1524
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/one-app-section-mappings.md +2 -2
- package/guides/one-app-to-himi-app.md +11 -2
- package/guides/recipe-auth.md +18 -1
- package/guides/sdk-reference.json +4 -4
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/ar.json +5 -0
- package/templates/beauty-salon/l10n/cs.json +5 -0
- package/templates/beauty-salon/l10n/da.json +5 -0
- package/templates/beauty-salon/l10n/de.json +5 -0
- package/templates/beauty-salon/l10n/el.json +5 -0
- package/templates/beauty-salon/l10n/es.json +5 -0
- package/templates/beauty-salon/l10n/fi.json +5 -0
- package/templates/beauty-salon/l10n/fr.json +5 -0
- package/templates/beauty-salon/l10n/he.json +4 -0
- package/templates/beauty-salon/l10n/hu.json +5 -0
- package/templates/beauty-salon/l10n/id.json +5 -0
- package/templates/beauty-salon/l10n/it.json +5 -0
- package/templates/beauty-salon/l10n/ja.json +5 -0
- package/templates/beauty-salon/l10n/ko.json +5 -0
- package/templates/beauty-salon/l10n/lt.json +5 -0
- package/templates/beauty-salon/l10n/nl.json +5 -0
- package/templates/beauty-salon/l10n/no.json +5 -0
- package/templates/beauty-salon/l10n/pl.json +5 -0
- package/templates/beauty-salon/l10n/pt.json +5 -0
- package/templates/beauty-salon/l10n/ru.json +5 -0
- package/templates/beauty-salon/l10n/sv.json +5 -0
- package/templates/beauty-salon/l10n/th.json +5 -0
- package/templates/beauty-salon/l10n/tr.json +5 -0
- package/templates/beauty-salon/l10n/uk.json +5 -0
- package/templates/beauty-salon/l10n/vi.json +5 -0
- package/templates/beauty-salon/l10n/zh.json +5 -0
- package/templates/beauty-salon/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/beauty-salon/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/branded-lite/l10n/ar.json +10 -0
- package/templates/branded-lite/l10n/cs.json +10 -0
- package/templates/branded-lite/l10n/da.json +10 -0
- package/templates/branded-lite/l10n/de.json +10 -0
- package/templates/branded-lite/l10n/el.json +10 -0
- package/templates/branded-lite/l10n/es.json +10 -0
- package/templates/branded-lite/l10n/fi.json +10 -0
- package/templates/branded-lite/l10n/fr.json +10 -0
- package/templates/branded-lite/l10n/he.json +8 -0
- package/templates/branded-lite/l10n/hu.json +10 -0
- package/templates/branded-lite/l10n/id.json +10 -0
- package/templates/branded-lite/l10n/it.json +10 -0
- package/templates/branded-lite/l10n/ja.json +10 -0
- package/templates/branded-lite/l10n/ko.json +10 -0
- package/templates/branded-lite/l10n/lt.json +10 -0
- package/templates/branded-lite/l10n/nl.json +10 -0
- package/templates/branded-lite/l10n/no.json +10 -0
- package/templates/branded-lite/l10n/pl.json +10 -0
- package/templates/branded-lite/l10n/pt.json +10 -0
- package/templates/branded-lite/l10n/ru.json +10 -0
- package/templates/branded-lite/l10n/sv.json +10 -0
- package/templates/branded-lite/l10n/th.json +10 -0
- package/templates/branded-lite/l10n/tr.json +10 -0
- package/templates/branded-lite/l10n/uk.json +10 -0
- package/templates/branded-lite/l10n/vi.json +10 -0
- package/templates/branded-lite/l10n/zh.json +10 -0
- package/templates/branded-lite/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/branded-lite/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/branded-lite/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +53 -20
- package/templates/branded-lite/tier5-src/himi-branded-lite-member-programs/index.ts +3 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-program/index.ts +48 -26
- package/templates/community-club/l10n/ar.json +5 -0
- package/templates/community-club/l10n/cs.json +5 -0
- package/templates/community-club/l10n/da.json +5 -0
- package/templates/community-club/l10n/de.json +5 -0
- package/templates/community-club/l10n/el.json +5 -0
- package/templates/community-club/l10n/es.json +5 -0
- package/templates/community-club/l10n/fi.json +5 -0
- package/templates/community-club/l10n/fr.json +5 -0
- package/templates/community-club/l10n/he.json +4 -0
- package/templates/community-club/l10n/hu.json +5 -0
- package/templates/community-club/l10n/id.json +5 -0
- package/templates/community-club/l10n/it.json +5 -0
- package/templates/community-club/l10n/ja.json +5 -0
- package/templates/community-club/l10n/ko.json +5 -0
- package/templates/community-club/l10n/lt.json +5 -0
- package/templates/community-club/l10n/nl.json +5 -0
- package/templates/community-club/l10n/no.json +5 -0
- package/templates/community-club/l10n/pl.json +5 -0
- package/templates/community-club/l10n/pt.json +5 -0
- package/templates/community-club/l10n/ru.json +5 -0
- package/templates/community-club/l10n/sv.json +5 -0
- package/templates/community-club/l10n/th.json +5 -0
- package/templates/community-club/l10n/tr.json +5 -0
- package/templates/community-club/l10n/uk.json +5 -0
- package/templates/community-club/l10n/vi.json +5 -0
- package/templates/community-club/l10n/zh.json +5 -0
- package/templates/community-club/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/community-club/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/community-club/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/events-meetups/l10n/ar.json +5 -0
- package/templates/events-meetups/l10n/cs.json +5 -0
- package/templates/events-meetups/l10n/da.json +5 -0
- package/templates/events-meetups/l10n/de.json +5 -0
- package/templates/events-meetups/l10n/el.json +5 -0
- package/templates/events-meetups/l10n/es.json +5 -0
- package/templates/events-meetups/l10n/fi.json +5 -0
- package/templates/events-meetups/l10n/fr.json +5 -0
- package/templates/events-meetups/l10n/he.json +4 -0
- package/templates/events-meetups/l10n/hu.json +5 -0
- package/templates/events-meetups/l10n/id.json +5 -0
- package/templates/events-meetups/l10n/it.json +5 -0
- package/templates/events-meetups/l10n/ja.json +5 -0
- package/templates/events-meetups/l10n/ko.json +5 -0
- package/templates/events-meetups/l10n/lt.json +5 -0
- package/templates/events-meetups/l10n/nl.json +5 -0
- package/templates/events-meetups/l10n/no.json +5 -0
- package/templates/events-meetups/l10n/pl.json +5 -0
- package/templates/events-meetups/l10n/pt.json +5 -0
- package/templates/events-meetups/l10n/ru.json +5 -0
- package/templates/events-meetups/l10n/sv.json +5 -0
- package/templates/events-meetups/l10n/th.json +5 -0
- package/templates/events-meetups/l10n/tr.json +5 -0
- package/templates/events-meetups/l10n/uk.json +5 -0
- package/templates/events-meetups/l10n/vi.json +5 -0
- package/templates/events-meetups/l10n/zh.json +5 -0
- package/templates/events-meetups/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/events-meetups/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/events-meetups/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/fitness-gym/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/fitness-gym/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/fitness-gym/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/fitness-gym/tier5-src/himi-branded-lite-member-programs/index.ts +3 -2
- package/templates/fitness-gym/tier5-src/himi-branded-lite-program/index.ts +48 -26
- package/templates/gym-fitness/l10n/ar.json +5 -0
- package/templates/gym-fitness/l10n/cs.json +5 -0
- package/templates/gym-fitness/l10n/da.json +5 -0
- package/templates/gym-fitness/l10n/de.json +5 -0
- package/templates/gym-fitness/l10n/el.json +5 -0
- package/templates/gym-fitness/l10n/es.json +5 -0
- package/templates/gym-fitness/l10n/fi.json +5 -0
- package/templates/gym-fitness/l10n/fr.json +5 -0
- package/templates/gym-fitness/l10n/he.json +4 -0
- package/templates/gym-fitness/l10n/hu.json +5 -0
- package/templates/gym-fitness/l10n/id.json +5 -0
- package/templates/gym-fitness/l10n/it.json +5 -0
- package/templates/gym-fitness/l10n/ja.json +5 -0
- package/templates/gym-fitness/l10n/ko.json +5 -0
- package/templates/gym-fitness/l10n/lt.json +5 -0
- package/templates/gym-fitness/l10n/nl.json +5 -0
- package/templates/gym-fitness/l10n/no.json +5 -0
- package/templates/gym-fitness/l10n/pl.json +5 -0
- package/templates/gym-fitness/l10n/pt.json +5 -0
- package/templates/gym-fitness/l10n/ru.json +5 -0
- package/templates/gym-fitness/l10n/sv.json +5 -0
- package/templates/gym-fitness/l10n/th.json +5 -0
- package/templates/gym-fitness/l10n/tr.json +5 -0
- package/templates/gym-fitness/l10n/uk.json +5 -0
- package/templates/gym-fitness/l10n/vi.json +5 -0
- package/templates/gym-fitness/l10n/zh.json +5 -0
- package/templates/gym-fitness/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/gym-fitness/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/nonprofit-cause/l10n/ar.json +5 -0
- package/templates/nonprofit-cause/l10n/cs.json +5 -0
- package/templates/nonprofit-cause/l10n/da.json +5 -0
- package/templates/nonprofit-cause/l10n/de.json +5 -0
- package/templates/nonprofit-cause/l10n/el.json +5 -0
- package/templates/nonprofit-cause/l10n/es.json +5 -0
- package/templates/nonprofit-cause/l10n/fi.json +5 -0
- package/templates/nonprofit-cause/l10n/fr.json +5 -0
- package/templates/nonprofit-cause/l10n/he.json +4 -0
- package/templates/nonprofit-cause/l10n/hu.json +5 -0
- package/templates/nonprofit-cause/l10n/id.json +5 -0
- package/templates/nonprofit-cause/l10n/it.json +5 -0
- package/templates/nonprofit-cause/l10n/ja.json +5 -0
- package/templates/nonprofit-cause/l10n/ko.json +5 -0
- package/templates/nonprofit-cause/l10n/lt.json +5 -0
- package/templates/nonprofit-cause/l10n/nl.json +5 -0
- package/templates/nonprofit-cause/l10n/no.json +5 -0
- package/templates/nonprofit-cause/l10n/pl.json +5 -0
- package/templates/nonprofit-cause/l10n/pt.json +5 -0
- package/templates/nonprofit-cause/l10n/ru.json +5 -0
- package/templates/nonprofit-cause/l10n/sv.json +5 -0
- package/templates/nonprofit-cause/l10n/th.json +5 -0
- package/templates/nonprofit-cause/l10n/tr.json +5 -0
- package/templates/nonprofit-cause/l10n/uk.json +5 -0
- package/templates/nonprofit-cause/l10n/vi.json +5 -0
- package/templates/nonprofit-cause/l10n/zh.json +5 -0
- package/templates/nonprofit-cause/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/nonprofit-cause/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/podcast-creator/l10n/ar.json +5 -0
- package/templates/podcast-creator/l10n/cs.json +5 -0
- package/templates/podcast-creator/l10n/da.json +5 -0
- package/templates/podcast-creator/l10n/de.json +5 -0
- package/templates/podcast-creator/l10n/el.json +5 -0
- package/templates/podcast-creator/l10n/es.json +5 -0
- package/templates/podcast-creator/l10n/fi.json +5 -0
- package/templates/podcast-creator/l10n/fr.json +5 -0
- package/templates/podcast-creator/l10n/he.json +4 -0
- package/templates/podcast-creator/l10n/hu.json +5 -0
- package/templates/podcast-creator/l10n/id.json +5 -0
- package/templates/podcast-creator/l10n/it.json +5 -0
- package/templates/podcast-creator/l10n/ja.json +5 -0
- package/templates/podcast-creator/l10n/ko.json +5 -0
- package/templates/podcast-creator/l10n/lt.json +5 -0
- package/templates/podcast-creator/l10n/nl.json +5 -0
- package/templates/podcast-creator/l10n/no.json +5 -0
- package/templates/podcast-creator/l10n/pl.json +5 -0
- package/templates/podcast-creator/l10n/pt.json +5 -0
- package/templates/podcast-creator/l10n/ru.json +5 -0
- package/templates/podcast-creator/l10n/sv.json +5 -0
- package/templates/podcast-creator/l10n/th.json +5 -0
- package/templates/podcast-creator/l10n/tr.json +5 -0
- package/templates/podcast-creator/l10n/uk.json +5 -0
- package/templates/podcast-creator/l10n/vi.json +5 -0
- package/templates/podcast-creator/l10n/zh.json +5 -0
- package/templates/podcast-creator/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/podcast-creator/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/portfolio-creative/l10n/ar.json +5 -0
- package/templates/portfolio-creative/l10n/cs.json +5 -0
- package/templates/portfolio-creative/l10n/da.json +5 -0
- package/templates/portfolio-creative/l10n/de.json +5 -0
- package/templates/portfolio-creative/l10n/el.json +5 -0
- package/templates/portfolio-creative/l10n/es.json +5 -0
- package/templates/portfolio-creative/l10n/fi.json +5 -0
- package/templates/portfolio-creative/l10n/fr.json +5 -0
- package/templates/portfolio-creative/l10n/he.json +4 -0
- package/templates/portfolio-creative/l10n/hu.json +5 -0
- package/templates/portfolio-creative/l10n/id.json +5 -0
- package/templates/portfolio-creative/l10n/it.json +5 -0
- package/templates/portfolio-creative/l10n/ja.json +5 -0
- package/templates/portfolio-creative/l10n/ko.json +5 -0
- package/templates/portfolio-creative/l10n/lt.json +5 -0
- package/templates/portfolio-creative/l10n/nl.json +5 -0
- package/templates/portfolio-creative/l10n/no.json +5 -0
- package/templates/portfolio-creative/l10n/pl.json +5 -0
- package/templates/portfolio-creative/l10n/pt.json +5 -0
- package/templates/portfolio-creative/l10n/ru.json +5 -0
- package/templates/portfolio-creative/l10n/sv.json +5 -0
- package/templates/portfolio-creative/l10n/th.json +5 -0
- package/templates/portfolio-creative/l10n/tr.json +5 -0
- package/templates/portfolio-creative/l10n/uk.json +5 -0
- package/templates/portfolio-creative/l10n/vi.json +5 -0
- package/templates/portfolio-creative/l10n/zh.json +5 -0
- package/templates/portfolio-creative/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/portfolio-creative/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/restaurant/l10n/ar.json +5 -0
- package/templates/restaurant/l10n/cs.json +5 -0
- package/templates/restaurant/l10n/da.json +5 -0
- package/templates/restaurant/l10n/de.json +5 -0
- package/templates/restaurant/l10n/el.json +5 -0
- package/templates/restaurant/l10n/es.json +5 -0
- package/templates/restaurant/l10n/fi.json +5 -0
- package/templates/restaurant/l10n/fr.json +5 -0
- package/templates/restaurant/l10n/he.json +4 -0
- package/templates/restaurant/l10n/hu.json +5 -0
- package/templates/restaurant/l10n/id.json +5 -0
- package/templates/restaurant/l10n/it.json +5 -0
- package/templates/restaurant/l10n/ja.json +5 -0
- package/templates/restaurant/l10n/ko.json +5 -0
- package/templates/restaurant/l10n/lt.json +5 -0
- package/templates/restaurant/l10n/nl.json +5 -0
- package/templates/restaurant/l10n/no.json +5 -0
- package/templates/restaurant/l10n/pl.json +5 -0
- package/templates/restaurant/l10n/pt.json +5 -0
- package/templates/restaurant/l10n/ru.json +5 -0
- package/templates/restaurant/l10n/sv.json +5 -0
- package/templates/restaurant/l10n/th.json +5 -0
- package/templates/restaurant/l10n/tr.json +5 -0
- package/templates/restaurant/l10n/uk.json +5 -0
- package/templates/restaurant/l10n/vi.json +5 -0
- package/templates/restaurant/l10n/zh.json +5 -0
- package/templates/restaurant/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/restaurant/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/restaurant/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/retail-store/l10n/ar.json +5 -0
- package/templates/retail-store/l10n/cs.json +5 -0
- package/templates/retail-store/l10n/da.json +5 -0
- package/templates/retail-store/l10n/de.json +5 -0
- package/templates/retail-store/l10n/el.json +5 -0
- package/templates/retail-store/l10n/es.json +5 -0
- package/templates/retail-store/l10n/fi.json +5 -0
- package/templates/retail-store/l10n/fr.json +5 -0
- package/templates/retail-store/l10n/he.json +4 -0
- package/templates/retail-store/l10n/hu.json +5 -0
- package/templates/retail-store/l10n/id.json +5 -0
- package/templates/retail-store/l10n/it.json +5 -0
- package/templates/retail-store/l10n/ja.json +5 -0
- package/templates/retail-store/l10n/ko.json +5 -0
- package/templates/retail-store/l10n/lt.json +5 -0
- package/templates/retail-store/l10n/nl.json +5 -0
- package/templates/retail-store/l10n/no.json +5 -0
- package/templates/retail-store/l10n/pl.json +5 -0
- package/templates/retail-store/l10n/pt.json +5 -0
- package/templates/retail-store/l10n/ru.json +5 -0
- package/templates/retail-store/l10n/sv.json +5 -0
- package/templates/retail-store/l10n/th.json +5 -0
- package/templates/retail-store/l10n/tr.json +5 -0
- package/templates/retail-store/l10n/uk.json +5 -0
- package/templates/retail-store/l10n/vi.json +5 -0
- package/templates/retail-store/l10n/zh.json +5 -0
- package/templates/retail-store/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/retail-store/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/retail-store/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/yoga-studio/l10n/ar.json +10 -0
- package/templates/yoga-studio/l10n/cs.json +10 -0
- package/templates/yoga-studio/l10n/da.json +10 -0
- package/templates/yoga-studio/l10n/de.json +10 -0
- package/templates/yoga-studio/l10n/el.json +10 -0
- package/templates/yoga-studio/l10n/es.json +10 -0
- package/templates/yoga-studio/l10n/fi.json +10 -0
- package/templates/yoga-studio/l10n/fr.json +10 -0
- package/templates/yoga-studio/l10n/he.json +8 -0
- package/templates/yoga-studio/l10n/hu.json +10 -0
- package/templates/yoga-studio/l10n/id.json +10 -0
- package/templates/yoga-studio/l10n/it.json +10 -0
- package/templates/yoga-studio/l10n/ja.json +10 -0
- package/templates/yoga-studio/l10n/ko.json +10 -0
- package/templates/yoga-studio/l10n/lt.json +10 -0
- package/templates/yoga-studio/l10n/nl.json +10 -0
- package/templates/yoga-studio/l10n/no.json +10 -0
- package/templates/yoga-studio/l10n/pl.json +10 -0
- package/templates/yoga-studio/l10n/pt.json +10 -0
- package/templates/yoga-studio/l10n/ru.json +10 -0
- package/templates/yoga-studio/l10n/sv.json +10 -0
- package/templates/yoga-studio/l10n/th.json +10 -0
- package/templates/yoga-studio/l10n/tr.json +10 -0
- package/templates/yoga-studio/l10n/uk.json +10 -0
- package/templates/yoga-studio/l10n/vi.json +10 -0
- package/templates/yoga-studio/l10n/zh.json +10 -0
- package/templates/yoga-studio/tier5-src/_shared/himi-media.ts +6 -2
- package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +18 -0
- package/templates/yoga-studio/tier5-src/_shared/program-standing.ts +24 -4
- package/templates/yoga-studio/tier5-src/himi-branded-lite-member-programs/index.ts +3 -2
- package/templates/yoga-studio/tier5-src/himi-branded-lite-program/index.ts +48 -26
|
Binary file
|
|
@@ -79,8 +79,8 @@ The **Himalaya implementation** cell is blank for every unassigned row. Notes on
|
|
|
79
79
|
|
|
80
80
|
| Source sectionDefinitionId | Source viewer component | Himalaya implementation | Placement / reuse | Class | Settings, actions and gaps |
|
|
81
81
|
| --- | --- | --- | --- | --- | --- |
|
|
82
|
-
| `achievements_list_section` | `wix-one-app-achievements.SectionMemberChallengesScreen` | [Programs list/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/apps/himi-branded-lite/dev/index.ts) + [programs worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-programs/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + shared programs module (list layout) with the `programs-card`, `programs-filters` and `programs-see-all` recipes | Composed inline; member list and program detail reused | Partial | The migration generator composes the list inline: full-width cards (duration, participants and price follow `isDurationVisible`, `isParticipantsVisible`, `isPriceVisible`), the category chips and the "All programs / Programs I joined" control (hidden for a visitor; both hidden when `isFilterVisible` is false, each axis also follows `filterSettings.byCategory` / `byParticipantStatus`), the 2-card mode and "See all" to `himi_programs` only while more programs exist. The card count is the definition's `extraProps.limit` (2, verified in the Catalyst definitions file); an authored `extraProps.limit` or `settings.limit` wins, an infinite flag or a non-count limit shows the whole list, and a limit above 20 shows 20 and reports a gap. A page made only of this section gets a generated screen with the list inline (it is not routed to `himi_programs`). `himi_member_programs` (worker `himi-branded-lite-member-programs`) is the member list: each card carries the signed-in member's standing from Participants v3 / Join Applications v3 (Joined, Program complete, Program ended, Pending request, Request approved, Invited, Participation suspended), a progress bar once started, the price before joining, the same two filters, cursor paging and pull-to-refresh; an ended program the member never joined is dropped. The card opens `himi_program`, which enrols through Join Applications v3 (a free program confirms the participant, a private one sends a request for owner approval, an approved paid application goes to payment), shows the same standing, and offers Cancel request only while a request waits for approval.
|
|
83
|
-
| `achievements_carousel_section` | `wix-one-app-achievements.MemberChallengesCarousel` | [Programs data/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-programs/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + shared programs module (carousel layout) with the `programs-carousel` recipe | Composed inline | Partial | The migration generator composes the carousel inline: the section title (unless `showTitle` is false), one page of snapping cards with page dots, duration, participants and price per `isDurationVisible`, `isParticipantsVisible`, `isPriceVisible`, a MANUAL `sortingSettings.challengesOrder` that puts the selected programs first (
|
|
82
|
+
| `achievements_list_section` | `wix-one-app-achievements.SectionMemberChallengesScreen` | [Programs list/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/apps/himi-branded-lite/dev/index.ts) + [programs worker](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-programs/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + shared programs module (list layout) with the `programs-card`, `programs-filters` and `programs-see-all` recipes | Composed inline; member list and program detail reused | Partial | The migration generator composes the list inline: full-width cards (duration, participants and price follow `isDurationVisible`, `isParticipantsVisible`, `isPriceVisible`), the category chips and the "All programs / Programs I joined" control (hidden for a visitor; both hidden when `isFilterVisible` is false, each axis also follows `filterSettings.byCategory` / `byParticipantStatus`), the 2-card mode and "See all" to `himi_programs` only while more programs exist. The card count is the definition's `extraProps.limit` (2, verified in the Catalyst definitions file); an authored `extraProps.limit` or `settings.limit` wins, an infinite flag or a non-count limit shows the whole list, and a limit above 20 shows 20 and reports a gap. A page made only of this section gets a generated screen with the list inline (it is not routed to `himi_programs`). `himi_member_programs` (worker `himi-branded-lite-member-programs`) is the member list: each card carries the signed-in member's standing from Participants v3 / Join Applications v3 (Joined, Program complete, Program ended, Pending request, Request approved, Invited, Participation suspended), a progress bar once started, the price before joining, the same two filters, cursor paging and pull-to-refresh; an ended program the member never joined is dropped. The card opens `himi_program`, which enrols through Join Applications v3 (a free program confirms the participant, a private one sends a request for owner approval, an approved paid application goes to payment), shows the same standing, and offers Cancel request only while a request waits for approval. Also read from the source: the section's chosen category (`categorySettings`) scopes the list, and a MANUAL `sortingSettings.challengesOrder` leads it (the other programs of the category follow; the category chips offer only the chosen categories, and none when one is chosen); a program's cover falls back to its video poster. Still open: join / cancel-request actions on the card itself, and Pricing Plans benefits ("Included in your plan"). |
|
|
83
|
+
| `achievements_carousel_section` | `wix-one-app-achievements.MemberChallengesCarousel` | [Programs data/detail](https://github.com/wix-private/himalaya/blob/97f1542f2f7d6e8cb7a902b912c87dcaa37e5a67/core/dev-server/tier5-bundles-src/himi-branded-lite-programs/index.ts "audience-lint-ok: optional pinned upstream evidence, not a local authoring dependency") + shared programs module (carousel layout) with the `programs-carousel` recipe | Composed inline | Partial | The migration generator composes the carousel inline: the section title (unless `showTitle` is false), one page of snapping cards with page dots, duration, participants and price per `isDurationVisible`, `isParticipantsVisible`, `isPriceVisible`, a MANUAL `sortingSettings.challengesOrder` that puts the selected programs first (the other programs of the category follow), scoped to the section's chosen category (`categorySettings`), a retry when the read fails, and a card that opens `himi_program`. It shows 5 cards, the definition's `extraProps.limit`; an authored `extraProps.limit` or `settings.limit` wins, a non-count limit shows the most one page holds, and a limit above 20 shows 20 and reports a gap. The source carousel has no setting for its call to action (a collected app carries only the visibility flags, `sortingSettings` and `filterSettings`), so the "See All" button to `himi_programs` is always drawn under the cards, with the `programs-see-all` recipe; a scaffold without that recipe or without `himi_programs` reports a gap. Still open: the button is shown even when no more programs exist than the cards (the worker only clears its `noSeeAll` gate for an inline list). |
|
|
84
84
|
| `achievements_participant_carousel_section` | `wix-one-app-achievements.ParticipantChallengesCarousel` | Shared programs module (carousel layout, `participating`) with the `programs-participant-carousel` recipe | Composed inline | Partial | Signed-in only: hidden whole, title included, for a visitor, when the member has no programs, or when the read fails. The cards are the member's own programs with their progress (no price), and each opens `himi_program`. It shows 5 cards, the definition's `extraProps.limit`; an authored `extraProps.limit` or `settings.limit` is respected up to 20 cards (one read page). The "Programs I joined" CTA opens `himi_member_programs` and shows only with the section title, as in the source viewer. A scaffold without `himi_program` reports the section unsupported; one without `himi_member_programs` leaves out the CTA. Still open: a MANUAL selection/order is ignored, and a limit above 20 shows 20; the generator reports no gap for either. |
|
|
85
85
|
|
|
86
86
|
For authored Programs sections, pass the source settings as a JSON string in the
|
|
@@ -178,8 +178,8 @@ The CLI's versioned native-widget inventory supplies these rows automatically.
|
|
|
178
178
|
| `bookings_services_list_section` | Search, category and location filters; each card's dates (a course), price and an Ended badge for a past course. `himi_services` has all of them, so never hand-write a list: a page made only of this section opens that screen, and beside other sections the generator shows a short inline list (the first 6 services, each opening its service) with a See All to that screen when the scaffold ships the recipe, else the title and a See All link to it. |
|
|
179
179
|
| `single_group_feed_section`, `groups_feed_section` | Post actions, attachments, comments/post destination, topic filter and the group's Members / Library / Rules / Media destinations. |
|
|
180
180
|
| `platform_general_contact_section`, `platform_general_contact_section_bp` | Business address and map, respecting authored visibility and available coordinates. |
|
|
181
|
-
| `achievements_list_section` | Category filter, including All Categories with no categories; actual visitor/member login, access/join/payment/Continue states; participants line; default limit 2 and See All when applicable. |
|
|
182
|
-
| `achievements_carousel_section` | The same Program state/display rules, default limit 5 (an authored limit is read), page dots and See All to the programs screen. |
|
|
181
|
+
| `achievements_list_section` | Category filter, including All Categories with no categories; actual visitor/member login, access/join/payment/Continue states; participants line; default limit 2 and See All when applicable. The section's chosen category (`categorySettings`) scopes the list and a MANUAL order leads it, as in the source; a program's cover falls back to its video poster. |
|
|
182
|
+
| `achievements_carousel_section` | The same Program state/display rules, default limit 5 (an authored limit is read), page dots and See All to the programs screen. The chosen category scopes the carousel and a MANUAL order leads it. |
|
|
183
183
|
| `newBlog_postlist_vertical_section`, `newBlog_compact_post_list_vertical_section` | Row display options, unlimited paging or a limited count with See All Posts, and layout. Coverage derives these per placement from the authored settings: see "Generate blog post lists from their settings". |
|
|
184
184
|
| `events_list_section` | Date badge, Share and the appropriate RSVP/ticket action. |
|
|
185
185
|
| `platform_elements_image_section` | Press behavior. `onPressType: "openAsModal"` opens the image full screen: tap it with the reserved `himi.lightbox` action and `args.images` set to `[{ "url": <the image url>, "alt": <its accessibility label> }]`. `nothing` and a `none` action need no tap. Coverage derives the row per placement from the authored value. |
|
|
@@ -838,6 +838,15 @@ Apply these interpretation rules:
|
|
|
838
838
|
(`himi-branded-lite-nav`, or `himi-branded-lite-access-nav` after `access`); a config that names the badges-only worker is
|
|
839
839
|
reported as `config_needs_manual_merge`.
|
|
840
840
|
|
|
841
|
+
**With the leading avatar, the app has no side menu.** The avatar replaces the hamburger, but a served
|
|
842
|
+
`navigation.drawer.items` still opens the menu on Android with a swipe from the left screen edge (iOS has no such swipe).
|
|
843
|
+
So the same command moves every side-menu row that Profile does not already open onto Profile's "Pages" group (a tab is no
|
|
844
|
+
proof of a path, because `apply-navigation` replaces the tabs later) and then serves an empty drawer, which turns the swipe
|
|
845
|
+
off in every binary through the OTA config. `sideMenu` in the output says `emptied` (with the `carried`, `alreadyReachable`
|
|
846
|
+
and `dropped` rows: a dropped row opened a screen the app does not have), `unchanged` on a rerun, or `kept` with the
|
|
847
|
+
reason (a drawer that is the app's navigation, a Profile without the Pages group, a row that is not literal text). The
|
|
848
|
+
Invite entry follows: `provision` writes it as a Profile row, not a drawer row, for an app with the avatar, in either order.
|
|
849
|
+
|
|
841
850
|
**With the leading avatar, add no trailing profile icon.** The avatar is the app's one entry to Profile, and
|
|
842
851
|
`validate-topbar` counts it as the source's profile button. A trailing action that opens `himi_account` (a person icon
|
|
843
852
|
next to chat and the bell) shows a second one. `header-badges` removes such an action from
|
package/guides/recipe-auth.md
CHANGED
|
@@ -55,7 +55,24 @@ Options (pass the same `service`, `register` and `copy` to **both**
|
|
|
55
55
|
create-account button on the screen): `service` (must match the screen), `register` (default `true`), `copy`
|
|
56
56
|
(every user-facing string: `signInTitle`, `registerTitle`, `subhead`,
|
|
57
57
|
`emailLabel`, `passwordLabel`, `signInCta`, `registerCta`, `toRegisterCta`,
|
|
58
|
-
`toSignInCta`, `signOutCta`, `signedInTitle`
|
|
58
|
+
`toSignInCta`, `signOutCta`, `signedInTitle`, and the notices `signedInNotice`,
|
|
59
|
+
`signedOutNotice`, `signOutFailed`, `missingFields`).
|
|
60
|
+
|
|
61
|
+
**Localized copy.** Every field has a catalog key (`auth.gate.*` / `auth.flow.*`, with built-in
|
|
62
|
+
English defaults), and failure reasons use `auth.feedback.*`. An explicit
|
|
63
|
+
`copy` value wins; otherwise the string is the app catalog's entry, else the English default.
|
|
64
|
+
Where the catalog is read depends on where the string is built:
|
|
65
|
+
|
|
66
|
+
- **In the worker** (the headline, the submit and switch buttons, notices, failure reasons):
|
|
67
|
+
declare the `l10n` capability (`capabilities: ["wix_api", "l10n"]`, and pass
|
|
68
|
+
`capabilities: ["l10n"]` to `authScreen`). `createAuthService` then reads the catalog through
|
|
69
|
+
`@himalaya/l10n` with no further wiring. Or pass `text(key, fallback)` and `translate(key)` to
|
|
70
|
+
`createAuthService`. `translate` also works as `AuthOptions.translate` on `signInDirect` /
|
|
71
|
+
`registerMember` / `resetPassword`.
|
|
72
|
+
- **When the screen is built** (`emailLabel`, `passwordLabel`, `signOutCta`, and the default title):
|
|
73
|
+
`authScreen` runs outside the worker, so the `l10n` grant does not reach it. To localize these,
|
|
74
|
+
pass `text(key, fallback)` to `authScreen` as well, or set them in `copy`. Without either they
|
|
75
|
+
stay English.
|
|
59
76
|
|
|
60
77
|
## 2. The screen
|
|
61
78
|
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
"name": "AuthOptions",
|
|
450
450
|
"kind": "interface",
|
|
451
451
|
"jsdoc": "",
|
|
452
|
-
"decl": "export interface AuthOptions {\n /** Override when the host registered a non-default prefix. */\n prefix?: string;\n}",
|
|
452
|
+
"decl": "export interface AuthOptions {\n /** Override when the host registered a non-default prefix. */\n prefix?: string;\n /** Resolves a catalog key (`auth.feedback.*`) to the app's translation, or undefined/the key\n * when it has none. Defaults to `@himalaya/l10n` when the worker declared the `l10n` grant. */\n translate?: (key: string) => string | undefined;\n}",
|
|
453
453
|
"verificationChecked": true
|
|
454
454
|
},
|
|
455
455
|
{
|
|
@@ -5576,14 +5576,14 @@
|
|
|
5576
5576
|
"name": "AuthCopy",
|
|
5577
5577
|
"kind": "interface",
|
|
5578
5578
|
"jsdoc": "/** Every user-facing string on the auth screen. Override any subset. */",
|
|
5579
|
-
"decl": "export interface AuthCopy {\n signInTitle?: string;\n registerTitle?: string;\n subhead?: string;\n emailLabel?: string;\n passwordLabel?: string;\n signInCta?: string;\n registerCta?: string;\n toRegisterCta?: string;\n toSignInCta?: string;\n signOutCta?: string;\n signedInTitle?: string;\n}",
|
|
5579
|
+
"decl": "export interface AuthCopy {\n signInTitle?: string;\n registerTitle?: string;\n subhead?: string;\n emailLabel?: string;\n passwordLabel?: string;\n signInCta?: string;\n registerCta?: string;\n toRegisterCta?: string;\n toSignInCta?: string;\n signOutCta?: string;\n signedInTitle?: string;\n /** Notice after a successful sign-in. */\n signedInNotice?: string;\n /** Notice after a sign-out. */\n signedOutNotice?: string;\n /** Notice when a sign-out left the session alive. */\n signOutFailed?: string;\n /** Notice when email or password is empty. */\n missingFields?: string;\n}",
|
|
5580
5580
|
"verificationChecked": true
|
|
5581
5581
|
},
|
|
5582
5582
|
{
|
|
5583
5583
|
"name": "AuthScreenOptions",
|
|
5584
5584
|
"kind": "interface",
|
|
5585
5585
|
"jsdoc": "",
|
|
5586
|
-
"decl": "export interface AuthScreenOptions {\n /** Where the built worker bundle is served from. */\n bundleUrl: string;\n screenId?: string;\n /** Service name — must match `createAuthService({ service })`. */\n service?: string;\n title?: string;\n /** Offer \"create an account\" alongside sign-in. Default true. */\n register?: boolean;\n copy?: AuthCopy;\n /** Buttons shown once signed in, as { label, screenId } — e.g. back to the library. */\n next?: Array<{ label: string; screenId: string }>;\n}",
|
|
5586
|
+
"decl": "export interface AuthScreenOptions {\n /** Where the built worker bundle is served from. */\n bundleUrl: string;\n screenId?: string;\n /** Service name — must match `createAuthService({ service })`. */\n service?: string;\n title?: string;\n /** Offer \"create an account\" alongside sign-in. Default true. */\n register?: boolean;\n copy?: AuthCopy;\n /** Resolve copy from the app's catalog when the screen is built: `text(\"auth.gate.signIn\", fallback)`. */\n text?: AuthTextHook;\n /** Extra capabilities the worker needs, e.g. `[\"l10n\"]` so `createAuthService` can read the app\n * catalog through `@himalaya/l10n` (its default `translate` is silent without that grant). */\n capabilities?: string[];\n /** Buttons shown once signed in, as { label, screenId } — e.g. back to the library. */\n next?: Array<{ label: string; screenId: string }>;\n}",
|
|
5587
5587
|
"verificationChecked": true
|
|
5588
5588
|
},
|
|
5589
5589
|
{
|
|
@@ -5597,7 +5597,7 @@
|
|
|
5597
5597
|
"name": "AuthServiceOptions",
|
|
5598
5598
|
"kind": "interface",
|
|
5599
5599
|
"jsdoc": "",
|
|
5600
|
-
"decl": "export interface AuthServiceOptions {\n /** Must match `authScreen({ service })`. */\n service?: string;\n register?: boolean;\n copy?: AuthCopy;\n}",
|
|
5600
|
+
"decl": "export interface AuthServiceOptions {\n /** Must match `authScreen({ service })`. */\n service?: string;\n register?: boolean;\n copy?: AuthCopy;\n /** Resolve copy from the app's catalog at action time: `text(\"auth.flow.signedInNotice\", fallback)`.\n * Defaults to the `@himalaya/l10n` bridge when the worker declared the `l10n` grant. */\n text?: AuthTextHook;\n /** Resolves a failure-reason key (`auth.feedback.*`); defaults to the same catalog. */\n translate?: (key: string) => string | undefined;\n}",
|
|
5601
5601
|
"verificationChecked": true
|
|
5602
5602
|
},
|
|
5603
5603
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1858.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "ea1789476d0a7f61f3dbad57ebbe3a4cc529172c2d4ececb73522e65"
|
|
86
86
|
}
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "تم تسجيل الدخول باسم {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "لم تكتمل عملية الدفع",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "مكتمل",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Přihlášeni jako {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Platba nebyla dokončena",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Dokončeno",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Logget ind som {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Betalingen er ikke gennemført",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Gennemført",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Angemeldet als {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Zahlung nicht abgeschlossen",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Abgeschlossen",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Σύνδεση ως {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Η πληρωμή δεν ολοκληρώθηκε",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Ολοκληρώθηκε",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Sesión iniciada como {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Pago no completado",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Completado",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Kirjautunut sähköpostilla {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Maksua ei suoritettu loppuun",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Valmis",
|
|
@@ -3274,6 +3274,11 @@
|
|
|
3274
3274
|
"translation": "Connecté(e) en tant que {email}",
|
|
3275
3275
|
"origin": "machine"
|
|
3276
3276
|
},
|
|
3277
|
+
"h_21fd7cb6e40c": {
|
|
3278
|
+
"source": "Payment not completed",
|
|
3279
|
+
"translation": "Paiement non finalisé",
|
|
3280
|
+
"origin": "machine"
|
|
3281
|
+
},
|
|
3277
3282
|
"h_1798b3ba42ee": {
|
|
3278
3283
|
"source": "Completed",
|
|
3279
3284
|
"translation": "Terminé",
|
|
@@ -2701,6 +2701,10 @@
|
|
|
2701
2701
|
"source": "Signed in as {email}",
|
|
2702
2702
|
"translation": "מחובר/ת בתור {email}"
|
|
2703
2703
|
},
|
|
2704
|
+
"h_21fd7cb6e40c": {
|
|
2705
|
+
"source": "Payment not completed",
|
|
2706
|
+
"translation": "התשלום לא הושלם"
|
|
2707
|
+
},
|
|
2704
2708
|
"h_1798b3ba42ee": {
|
|
2705
2709
|
"source": "Completed",
|
|
2706
2710
|
"translation": "הושלמה"
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Bejelentkezve mint {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "A fizetés nem fejeződött be",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Befejezve",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Login sebagai {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Pembayaran belum selesai",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Lengkap",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Accesso effettuato come {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Pagamento non completato",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Completato",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "{email}でログイン中",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "支払いが完了していません",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "完了",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "{email}(으)로 로그인됨",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "결제가 완료되지 않았습니다",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "완료",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Prisijungta kaip {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Mokėjimas neužbaigtas",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Baigta",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Ingelogd als {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Betaling niet voltooid",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Voltooid",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Logget inn som {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Betalingen er ikke fullført",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Fullført",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Zalogowano jako {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Płatność nie została ukończona",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Ukończone",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Conectado como {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Pagamento não concluído",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Concluído",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Вы вошли как {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Оплата не завершена",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Завершен",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Inloggad som {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Betalningen är inte slutförd",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Avslutat",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "เข้าสู่ระบบในชื่อ {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "การชำระเงินยังไม่เสร็จสมบูรณ์",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "เสร็จสมบูรณ์",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "{email} olarak giriş yapıldı",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Ödeme tamamlanmadı",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Tamamlandı",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Ви увійшли як {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Оплату не завершено",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Виконано",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "Đã đăng nhập với {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "Chưa hoàn tất thanh toán",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "Đã hoàn thành",
|
|
@@ -3294,6 +3294,11 @@
|
|
|
3294
3294
|
"translation": "已登入,帳號為 {email}",
|
|
3295
3295
|
"origin": "machine"
|
|
3296
3296
|
},
|
|
3297
|
+
"h_21fd7cb6e40c": {
|
|
3298
|
+
"source": "Payment not completed",
|
|
3299
|
+
"translation": "付款未完成",
|
|
3300
|
+
"origin": "machine"
|
|
3301
|
+
},
|
|
3297
3302
|
"h_1798b3ba42ee": {
|
|
3298
3303
|
"source": "Completed",
|
|
3299
3304
|
"translation": "已完成",
|
|
@@ -24,6 +24,10 @@ export function programImage(program: WixProgram, size: WixImageSize = WIX_LIST_
|
|
|
24
24
|
const cover = (program as { coverImage?: unknown }).coverImage;
|
|
25
25
|
const coverUrl = typeof cover === "string" ? cover : (cover as { url?: unknown } | undefined)?.url;
|
|
26
26
|
const description = (program as { description?: unknown }).description;
|
|
27
|
-
const
|
|
28
|
-
|
|
27
|
+
const block = description && typeof description === "object" ? description as { image?: { url?: unknown; id?: unknown }; video?: { posters?: Array<{ url?: unknown }> } } : undefined;
|
|
28
|
+
const nested = block?.image;
|
|
29
|
+
// A program whose description has a video and no image is covered by the video's poster (the source's cover); `seo.imageUrl` is that same cover as the site publishes it.
|
|
30
|
+
const poster = block?.video?.posters?.find((candidate) => typeof candidate?.url === "string" && candidate.url)?.url;
|
|
31
|
+
const published = (program as { seo?: { imageUrl?: unknown } }).seo?.imageUrl;
|
|
32
|
+
return firstImage([coverUrl, program.image, nested?.url, nested?.id, poster, published], size);
|
|
29
33
|
}
|
|
@@ -14,3 +14,21 @@ export const isProgramDraft = (p: WixProgram): boolean => programStatus(p) === "
|
|
|
14
14
|
export function programName(p: WixProgram): string {
|
|
15
15
|
return cleanTitle(p.description?.title ?? p.settings?.title ?? p.title ?? p.details?.title);
|
|
16
16
|
}
|
|
17
|
+
|
|
18
|
+
// A segment is unreserved characters or percent-escapes: a slug in another script arrives percent-encoded.
|
|
19
|
+
const SITE_BASE = /^https:\/\/[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)+(\/([A-Za-z0-9._~-]|%[0-9A-Fa-f]{2})+)*\/?$/;
|
|
20
|
+
const SITE_PATH = /^(\/([A-Za-z0-9._~-]|%[0-9A-Fa-f]{2})+)+\/?$/;
|
|
21
|
+
|
|
22
|
+
/** The program's own page on the site (`seo.url`: the site's base plus the program page's path), where a member
|
|
23
|
+
* joins and pays the way the site takes the order; "" when Wix names none, or names one that is not a plain
|
|
24
|
+
* https page under the site (a dot segment, a query or anything else a link could be bent with). */
|
|
25
|
+
export function programSitePage(p: WixProgram): string {
|
|
26
|
+
const url = (p as { seo?: { url?: { base?: unknown; path?: unknown } } }).seo?.url;
|
|
27
|
+
const base = typeof url?.base === "string" ? url.base.trim() : "";
|
|
28
|
+
const path = typeof url?.path === "string" ? url.path.trim() : "";
|
|
29
|
+
if (!SITE_BASE.test(base) || !SITE_PATH.test(path)) return "";
|
|
30
|
+
// A dot segment, spelled out or escaped, would climb out of the site.
|
|
31
|
+
const dotSegment = (segment: string) => /^(\.|%2e)+$/i.test(segment) && segment.replace(/%2e/gi, ".").length <= 2;
|
|
32
|
+
if ([...base.split("/").slice(3), ...path.split("/")].some(dotSegment)) return "";
|
|
33
|
+
return `${base.replace(/\/$/, "")}${path}`;
|
|
34
|
+
}
|
|
@@ -2,9 +2,28 @@
|
|
|
2
2
|
// Shared by the programs list cards and the program detail screen so both read a member the same way.
|
|
3
3
|
import type { WixJoinApplication, WixParticipant } from "@himalaya/wix-online-programs";
|
|
4
4
|
|
|
5
|
-
export type Standing = "none" | "joined" | "completed" | "finished" | "suspended" | "pending" | "approved" | "invited";
|
|
5
|
+
export type Standing = "none" | "joined" | "completed" | "finished" | "suspended" | "pending" | "approved" | "unpaid" | "invited";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
/** Payment states of an admitted application whose payment has not gone through: never paid, paying now,
|
|
8
|
+
* failed or cancelled. Each still owes the program's price. */
|
|
9
|
+
const UNSETTLED_PAYMENTS: ReadonlySet<string> = new Set(["PAYMENT_PENDING", "PAYMENT_IN_PROGRESS", "PAYMENT_FAILED", "PAYMENT_CANCELED"]);
|
|
10
|
+
|
|
11
|
+
/** Whether [accessType] (`restrictions.accessType`) admits anyone without the owner's approval. An absent
|
|
12
|
+
* access type is PUBLIC, as Wix reads it. */
|
|
13
|
+
export function isPublicAccess(accessType: string | undefined): boolean {
|
|
14
|
+
return (accessType || "PUBLIC").toUpperCase() === "PUBLIC";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** The standing of an admitted application that still owes money. A public program admits every member at
|
|
18
|
+
* once, so nobody asked for approval there: its member has only a payment that did not go through
|
|
19
|
+
* ("unpaid"). A program that needs the owner's approval had a real request approved ("approved"). */
|
|
20
|
+
export function owedStanding(payment: string, accessType: string | undefined): "approved" | "unpaid" {
|
|
21
|
+
return isPublicAccess(accessType) && UNSETTLED_PAYMENTS.has(payment.toUpperCase()) ? "unpaid" : "approved";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** [accessType] is the program's `restrictions.accessType`; it decides between "unpaid" and "approved" for an
|
|
25
|
+
* application that still owes money (see [owedStanding]). Callers that pass no application may omit it. */
|
|
26
|
+
export function standingOf(ended: boolean, participant: WixParticipant | undefined, application: WixJoinApplication | undefined, accessType?: string): Standing {
|
|
8
27
|
// A withdrawn participant is history even if its old progress says completed.
|
|
9
28
|
// Only its matching admitted application is history too; newer requests remain visible.
|
|
10
29
|
if (["LEFT", "REMOVED", "AUTO_REMOVED"].includes((participant?.enrollmentStatus ?? "").toUpperCase())) {
|
|
@@ -28,9 +47,9 @@ export function standingOf(ended: boolean, participant: WixParticipant | undefin
|
|
|
28
47
|
// waits on the owner. Only an approval that still owes money asks the member to pay.
|
|
29
48
|
if (payment === "NO_PAYMENT_REQUIRED" || payment === "PAYMENT_SUCCESSFUL") return application?.participantId ? "joined" : "pending";
|
|
30
49
|
if (payment === "PENDING_OWNER_APPROVAL") return "pending";
|
|
31
|
-
return
|
|
50
|
+
return owedStanding(payment, accessType);
|
|
32
51
|
}
|
|
33
|
-
if (status === "PAYMENT_PENDING") return "
|
|
52
|
+
if (status === "PAYMENT_PENDING") return owedStanding("PAYMENT_PENDING", accessType);
|
|
34
53
|
if (status === "INVITED") return "invited";
|
|
35
54
|
return "none";
|
|
36
55
|
}
|
|
@@ -42,6 +61,7 @@ export const STATUS: Record<Exclude<Standing, "none">, { key: string; fallback:
|
|
|
42
61
|
suspended: { key: "memberPrograms.status.suspended", fallback: "Participation suspended", icon: "close", color: "warning" },
|
|
43
62
|
pending: { key: "memberPrograms.status.pending", fallback: "Pending request", icon: "clock", color: "warning" },
|
|
44
63
|
approved: { key: "memberPrograms.status.approved", fallback: "Request approved", icon: "checkmark", color: "success" },
|
|
64
|
+
unpaid: { key: "memberPrograms.status.unpaid", fallback: "Payment not completed", icon: "clock", color: "warning" },
|
|
45
65
|
invited: { key: "memberPrograms.status.invited", fallback: "Invited", icon: "mail", color: "accentPrimary" },
|
|
46
66
|
};
|
|
47
67
|
|
|
@@ -6187,6 +6187,16 @@
|
|
|
6187
6187
|
"translation": "تمت الموافقة على الطلب · أكمل الدفع",
|
|
6188
6188
|
"origin": "machine"
|
|
6189
6189
|
},
|
|
6190
|
+
"h_7dd568f0392b": {
|
|
6191
|
+
"source": "Payment not completed · complete your payment",
|
|
6192
|
+
"translation": "لم تكتمل عملية الدفع · أكمل الدفع",
|
|
6193
|
+
"origin": "machine"
|
|
6194
|
+
},
|
|
6195
|
+
"h_21fd7cb6e40c": {
|
|
6196
|
+
"source": "Payment not completed",
|
|
6197
|
+
"translation": "لم تكتمل عملية الدفع",
|
|
6198
|
+
"origin": "machine"
|
|
6199
|
+
},
|
|
6190
6200
|
"h_1798b3ba42ee": {
|
|
6191
6201
|
"source": "Completed",
|
|
6192
6202
|
"translation": "مكتمل",
|
|
@@ -6187,6 +6187,16 @@
|
|
|
6187
6187
|
"translation": "Žádost schválena · dokončete platbu",
|
|
6188
6188
|
"origin": "machine"
|
|
6189
6189
|
},
|
|
6190
|
+
"h_7dd568f0392b": {
|
|
6191
|
+
"source": "Payment not completed · complete your payment",
|
|
6192
|
+
"translation": "Platba nebyla dokončena · dokončete platbu",
|
|
6193
|
+
"origin": "machine"
|
|
6194
|
+
},
|
|
6195
|
+
"h_21fd7cb6e40c": {
|
|
6196
|
+
"source": "Payment not completed",
|
|
6197
|
+
"translation": "Platba nebyla dokončena",
|
|
6198
|
+
"origin": "machine"
|
|
6199
|
+
},
|
|
6190
6200
|
"h_1798b3ba42ee": {
|
|
6191
6201
|
"source": "Completed",
|
|
6192
6202
|
"translation": "Dokončeno",
|