@wix/himalaya-cli 0.1846.0 → 0.1847.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/schema.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{eb70dc1091aa56bf8d8fca29b72373878c37c3c61df14ea288f3954a2073b6a0.bin → 33204224f8dccbd7094c8b6cb3df3995758bb67e81b987f4e6843897987e39f9.bin} +1 -1
- package/dist/browser-plane/sw.js +8 -8
- package/dist/cli.mjs +132 -45
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-index.md +1 -1
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +3 -0
- package/guides/designing-himi-screens.md +1 -0
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +82 -0
- package/templates/beauty-salon/l10n/ar.json +33 -0
- package/templates/beauty-salon/l10n/cs.json +33 -0
- package/templates/beauty-salon/l10n/da.json +33 -0
- package/templates/beauty-salon/l10n/de.json +33 -0
- package/templates/beauty-salon/l10n/el.json +33 -0
- package/templates/beauty-salon/l10n/en.json +22 -1
- package/templates/beauty-salon/l10n/es.json +33 -0
- package/templates/beauty-salon/l10n/fi.json +33 -0
- package/templates/beauty-salon/l10n/fr.json +33 -0
- package/templates/beauty-salon/l10n/he.json +27 -0
- package/templates/beauty-salon/l10n/hu.json +33 -0
- package/templates/beauty-salon/l10n/id.json +33 -0
- package/templates/beauty-salon/l10n/it.json +33 -0
- package/templates/beauty-salon/l10n/ja.json +33 -0
- package/templates/beauty-salon/l10n/ko.json +33 -0
- package/templates/beauty-salon/l10n/lt.json +33 -0
- package/templates/beauty-salon/l10n/nl.json +33 -0
- package/templates/beauty-salon/l10n/no.json +33 -0
- package/templates/beauty-salon/l10n/pl.json +33 -0
- package/templates/beauty-salon/l10n/pt.json +33 -0
- package/templates/beauty-salon/l10n/ru.json +33 -0
- package/templates/beauty-salon/l10n/sv.json +33 -0
- package/templates/beauty-salon/l10n/th.json +33 -0
- package/templates/beauty-salon/l10n/tr.json +33 -0
- package/templates/beauty-salon/l10n/uk.json +33 -0
- package/templates/beauty-salon/l10n/vi.json +33 -0
- package/templates/beauty-salon/l10n/zh.json +33 -0
- package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/branded-lite/dev/index.ts +83 -1
- package/templates/branded-lite/l10n/ar.json +33 -0
- package/templates/branded-lite/l10n/cs.json +33 -0
- package/templates/branded-lite/l10n/da.json +33 -0
- package/templates/branded-lite/l10n/de.json +33 -0
- package/templates/branded-lite/l10n/el.json +33 -0
- package/templates/branded-lite/l10n/en.json +22 -1
- package/templates/branded-lite/l10n/es.json +33 -0
- package/templates/branded-lite/l10n/fi.json +33 -0
- package/templates/branded-lite/l10n/fr.json +33 -0
- package/templates/branded-lite/l10n/he.json +27 -0
- package/templates/branded-lite/l10n/hu.json +33 -0
- package/templates/branded-lite/l10n/id.json +33 -0
- package/templates/branded-lite/l10n/it.json +33 -0
- package/templates/branded-lite/l10n/ja.json +33 -0
- package/templates/branded-lite/l10n/ko.json +33 -0
- package/templates/branded-lite/l10n/lt.json +33 -0
- package/templates/branded-lite/l10n/nl.json +33 -0
- package/templates/branded-lite/l10n/no.json +33 -0
- package/templates/branded-lite/l10n/pl.json +33 -0
- package/templates/branded-lite/l10n/pt.json +33 -0
- package/templates/branded-lite/l10n/ru.json +33 -0
- package/templates/branded-lite/l10n/sv.json +33 -0
- package/templates/branded-lite/l10n/th.json +33 -0
- package/templates/branded-lite/l10n/tr.json +33 -0
- package/templates/branded-lite/l10n/uk.json +33 -0
- package/templates/branded-lite/l10n/vi.json +33 -0
- package/templates/branded-lite/l10n/zh.json +33 -0
- package/templates/branded-lite/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/branded-lite/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/brandy/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/brandy/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/community-club/dev/index.ts +82 -0
- package/templates/community-club/l10n/ar.json +33 -0
- package/templates/community-club/l10n/cs.json +33 -0
- package/templates/community-club/l10n/da.json +33 -0
- package/templates/community-club/l10n/de.json +33 -0
- package/templates/community-club/l10n/el.json +33 -0
- package/templates/community-club/l10n/en.json +22 -1
- package/templates/community-club/l10n/es.json +33 -0
- package/templates/community-club/l10n/fi.json +33 -0
- package/templates/community-club/l10n/fr.json +33 -0
- package/templates/community-club/l10n/he.json +27 -0
- package/templates/community-club/l10n/hu.json +33 -0
- package/templates/community-club/l10n/id.json +33 -0
- package/templates/community-club/l10n/it.json +33 -0
- package/templates/community-club/l10n/ja.json +33 -0
- package/templates/community-club/l10n/ko.json +33 -0
- package/templates/community-club/l10n/lt.json +33 -0
- package/templates/community-club/l10n/nl.json +33 -0
- package/templates/community-club/l10n/no.json +33 -0
- package/templates/community-club/l10n/pl.json +33 -0
- package/templates/community-club/l10n/pt.json +33 -0
- package/templates/community-club/l10n/ru.json +33 -0
- package/templates/community-club/l10n/sv.json +33 -0
- package/templates/community-club/l10n/th.json +33 -0
- package/templates/community-club/l10n/tr.json +33 -0
- package/templates/community-club/l10n/uk.json +33 -0
- package/templates/community-club/l10n/vi.json +33 -0
- package/templates/community-club/l10n/zh.json +33 -0
- package/templates/community-club/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/community-club/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/conference/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/conference/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/events-meetups/dev/index.ts +82 -0
- package/templates/events-meetups/l10n/ar.json +33 -0
- package/templates/events-meetups/l10n/cs.json +33 -0
- package/templates/events-meetups/l10n/da.json +33 -0
- package/templates/events-meetups/l10n/de.json +33 -0
- package/templates/events-meetups/l10n/el.json +33 -0
- package/templates/events-meetups/l10n/en.json +22 -1
- package/templates/events-meetups/l10n/es.json +33 -0
- package/templates/events-meetups/l10n/fi.json +33 -0
- package/templates/events-meetups/l10n/fr.json +33 -0
- package/templates/events-meetups/l10n/he.json +27 -0
- package/templates/events-meetups/l10n/hu.json +33 -0
- package/templates/events-meetups/l10n/id.json +33 -0
- package/templates/events-meetups/l10n/it.json +33 -0
- package/templates/events-meetups/l10n/ja.json +33 -0
- package/templates/events-meetups/l10n/ko.json +33 -0
- package/templates/events-meetups/l10n/lt.json +33 -0
- package/templates/events-meetups/l10n/nl.json +33 -0
- package/templates/events-meetups/l10n/no.json +33 -0
- package/templates/events-meetups/l10n/pl.json +33 -0
- package/templates/events-meetups/l10n/pt.json +33 -0
- package/templates/events-meetups/l10n/ru.json +33 -0
- package/templates/events-meetups/l10n/sv.json +33 -0
- package/templates/events-meetups/l10n/th.json +33 -0
- package/templates/events-meetups/l10n/tr.json +33 -0
- package/templates/events-meetups/l10n/uk.json +33 -0
- package/templates/events-meetups/l10n/vi.json +33 -0
- package/templates/events-meetups/l10n/zh.json +33 -0
- package/templates/events-meetups/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/events-meetups/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/fitness-gym/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/gym-fitness/dev/index.ts +82 -0
- package/templates/gym-fitness/l10n/ar.json +33 -0
- package/templates/gym-fitness/l10n/cs.json +33 -0
- package/templates/gym-fitness/l10n/da.json +33 -0
- package/templates/gym-fitness/l10n/de.json +33 -0
- package/templates/gym-fitness/l10n/el.json +33 -0
- package/templates/gym-fitness/l10n/en.json +22 -1
- package/templates/gym-fitness/l10n/es.json +33 -0
- package/templates/gym-fitness/l10n/fi.json +33 -0
- package/templates/gym-fitness/l10n/fr.json +33 -0
- package/templates/gym-fitness/l10n/he.json +27 -0
- package/templates/gym-fitness/l10n/hu.json +33 -0
- package/templates/gym-fitness/l10n/id.json +33 -0
- package/templates/gym-fitness/l10n/it.json +33 -0
- package/templates/gym-fitness/l10n/ja.json +33 -0
- package/templates/gym-fitness/l10n/ko.json +33 -0
- package/templates/gym-fitness/l10n/lt.json +33 -0
- package/templates/gym-fitness/l10n/nl.json +33 -0
- package/templates/gym-fitness/l10n/no.json +33 -0
- package/templates/gym-fitness/l10n/pl.json +33 -0
- package/templates/gym-fitness/l10n/pt.json +33 -0
- package/templates/gym-fitness/l10n/ru.json +33 -0
- package/templates/gym-fitness/l10n/sv.json +33 -0
- package/templates/gym-fitness/l10n/th.json +33 -0
- package/templates/gym-fitness/l10n/tr.json +33 -0
- package/templates/gym-fitness/l10n/uk.json +33 -0
- package/templates/gym-fitness/l10n/vi.json +33 -0
- package/templates/gym-fitness/l10n/zh.json +33 -0
- package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/medical-services/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/medical-services/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/nonprofit-cause/dev/index.ts +82 -0
- package/templates/nonprofit-cause/l10n/ar.json +33 -0
- package/templates/nonprofit-cause/l10n/cs.json +33 -0
- package/templates/nonprofit-cause/l10n/da.json +33 -0
- package/templates/nonprofit-cause/l10n/de.json +33 -0
- package/templates/nonprofit-cause/l10n/el.json +33 -0
- package/templates/nonprofit-cause/l10n/en.json +22 -1
- package/templates/nonprofit-cause/l10n/es.json +33 -0
- package/templates/nonprofit-cause/l10n/fi.json +33 -0
- package/templates/nonprofit-cause/l10n/fr.json +33 -0
- package/templates/nonprofit-cause/l10n/he.json +27 -0
- package/templates/nonprofit-cause/l10n/hu.json +33 -0
- package/templates/nonprofit-cause/l10n/id.json +33 -0
- package/templates/nonprofit-cause/l10n/it.json +33 -0
- package/templates/nonprofit-cause/l10n/ja.json +33 -0
- package/templates/nonprofit-cause/l10n/ko.json +33 -0
- package/templates/nonprofit-cause/l10n/lt.json +33 -0
- package/templates/nonprofit-cause/l10n/nl.json +33 -0
- package/templates/nonprofit-cause/l10n/no.json +33 -0
- package/templates/nonprofit-cause/l10n/pl.json +33 -0
- package/templates/nonprofit-cause/l10n/pt.json +33 -0
- package/templates/nonprofit-cause/l10n/ru.json +33 -0
- package/templates/nonprofit-cause/l10n/sv.json +33 -0
- package/templates/nonprofit-cause/l10n/th.json +33 -0
- package/templates/nonprofit-cause/l10n/tr.json +33 -0
- package/templates/nonprofit-cause/l10n/uk.json +33 -0
- package/templates/nonprofit-cause/l10n/vi.json +33 -0
- package/templates/nonprofit-cause/l10n/zh.json +33 -0
- package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/personal-fitness-trainer/dev/index.ts +2 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/podcast-creator/dev/index.ts +82 -0
- package/templates/podcast-creator/l10n/ar.json +33 -0
- package/templates/podcast-creator/l10n/cs.json +33 -0
- package/templates/podcast-creator/l10n/da.json +33 -0
- package/templates/podcast-creator/l10n/de.json +33 -0
- package/templates/podcast-creator/l10n/el.json +33 -0
- package/templates/podcast-creator/l10n/en.json +22 -1
- package/templates/podcast-creator/l10n/es.json +33 -0
- package/templates/podcast-creator/l10n/fi.json +33 -0
- package/templates/podcast-creator/l10n/fr.json +33 -0
- package/templates/podcast-creator/l10n/he.json +27 -0
- package/templates/podcast-creator/l10n/hu.json +33 -0
- package/templates/podcast-creator/l10n/id.json +33 -0
- package/templates/podcast-creator/l10n/it.json +33 -0
- package/templates/podcast-creator/l10n/ja.json +33 -0
- package/templates/podcast-creator/l10n/ko.json +33 -0
- package/templates/podcast-creator/l10n/lt.json +33 -0
- package/templates/podcast-creator/l10n/nl.json +33 -0
- package/templates/podcast-creator/l10n/no.json +33 -0
- package/templates/podcast-creator/l10n/pl.json +33 -0
- package/templates/podcast-creator/l10n/pt.json +33 -0
- package/templates/podcast-creator/l10n/ru.json +33 -0
- package/templates/podcast-creator/l10n/sv.json +33 -0
- package/templates/podcast-creator/l10n/th.json +33 -0
- package/templates/podcast-creator/l10n/tr.json +33 -0
- package/templates/podcast-creator/l10n/uk.json +33 -0
- package/templates/podcast-creator/l10n/vi.json +33 -0
- package/templates/podcast-creator/l10n/zh.json +33 -0
- package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/portfolio-creative/dev/index.ts +82 -0
- package/templates/portfolio-creative/l10n/ar.json +33 -0
- package/templates/portfolio-creative/l10n/cs.json +33 -0
- package/templates/portfolio-creative/l10n/da.json +33 -0
- package/templates/portfolio-creative/l10n/de.json +33 -0
- package/templates/portfolio-creative/l10n/el.json +33 -0
- package/templates/portfolio-creative/l10n/en.json +22 -1
- package/templates/portfolio-creative/l10n/es.json +33 -0
- package/templates/portfolio-creative/l10n/fi.json +33 -0
- package/templates/portfolio-creative/l10n/fr.json +33 -0
- package/templates/portfolio-creative/l10n/he.json +27 -0
- package/templates/portfolio-creative/l10n/hu.json +33 -0
- package/templates/portfolio-creative/l10n/id.json +33 -0
- package/templates/portfolio-creative/l10n/it.json +33 -0
- package/templates/portfolio-creative/l10n/ja.json +33 -0
- package/templates/portfolio-creative/l10n/ko.json +33 -0
- package/templates/portfolio-creative/l10n/lt.json +33 -0
- package/templates/portfolio-creative/l10n/nl.json +33 -0
- package/templates/portfolio-creative/l10n/no.json +33 -0
- package/templates/portfolio-creative/l10n/pl.json +33 -0
- package/templates/portfolio-creative/l10n/pt.json +33 -0
- package/templates/portfolio-creative/l10n/ru.json +33 -0
- package/templates/portfolio-creative/l10n/sv.json +33 -0
- package/templates/portfolio-creative/l10n/th.json +33 -0
- package/templates/portfolio-creative/l10n/tr.json +33 -0
- package/templates/portfolio-creative/l10n/uk.json +33 -0
- package/templates/portfolio-creative/l10n/vi.json +33 -0
- package/templates/portfolio-creative/l10n/zh.json +33 -0
- package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/restaurant/dev/index.ts +82 -0
- package/templates/restaurant/l10n/ar.json +33 -0
- package/templates/restaurant/l10n/cs.json +33 -0
- package/templates/restaurant/l10n/da.json +33 -0
- package/templates/restaurant/l10n/de.json +33 -0
- package/templates/restaurant/l10n/el.json +33 -0
- package/templates/restaurant/l10n/en.json +22 -1
- package/templates/restaurant/l10n/es.json +33 -0
- package/templates/restaurant/l10n/fi.json +33 -0
- package/templates/restaurant/l10n/fr.json +33 -0
- package/templates/restaurant/l10n/he.json +27 -0
- package/templates/restaurant/l10n/hu.json +33 -0
- package/templates/restaurant/l10n/id.json +33 -0
- package/templates/restaurant/l10n/it.json +33 -0
- package/templates/restaurant/l10n/ja.json +33 -0
- package/templates/restaurant/l10n/ko.json +33 -0
- package/templates/restaurant/l10n/lt.json +33 -0
- package/templates/restaurant/l10n/nl.json +33 -0
- package/templates/restaurant/l10n/no.json +33 -0
- package/templates/restaurant/l10n/pl.json +33 -0
- package/templates/restaurant/l10n/pt.json +33 -0
- package/templates/restaurant/l10n/ru.json +33 -0
- package/templates/restaurant/l10n/sv.json +33 -0
- package/templates/restaurant/l10n/th.json +33 -0
- package/templates/restaurant/l10n/tr.json +33 -0
- package/templates/restaurant/l10n/uk.json +33 -0
- package/templates/restaurant/l10n/vi.json +33 -0
- package/templates/restaurant/l10n/zh.json +33 -0
- package/templates/restaurant/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/restaurant/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/retail-store/dev/index.ts +82 -0
- package/templates/retail-store/l10n/ar.json +33 -0
- package/templates/retail-store/l10n/cs.json +33 -0
- package/templates/retail-store/l10n/da.json +33 -0
- package/templates/retail-store/l10n/de.json +33 -0
- package/templates/retail-store/l10n/el.json +33 -0
- package/templates/retail-store/l10n/en.json +22 -1
- package/templates/retail-store/l10n/es.json +33 -0
- package/templates/retail-store/l10n/fi.json +33 -0
- package/templates/retail-store/l10n/fr.json +33 -0
- package/templates/retail-store/l10n/he.json +27 -0
- package/templates/retail-store/l10n/hu.json +33 -0
- package/templates/retail-store/l10n/id.json +33 -0
- package/templates/retail-store/l10n/it.json +33 -0
- package/templates/retail-store/l10n/ja.json +33 -0
- package/templates/retail-store/l10n/ko.json +33 -0
- package/templates/retail-store/l10n/lt.json +33 -0
- package/templates/retail-store/l10n/nl.json +33 -0
- package/templates/retail-store/l10n/no.json +33 -0
- package/templates/retail-store/l10n/pl.json +33 -0
- package/templates/retail-store/l10n/pt.json +33 -0
- package/templates/retail-store/l10n/ru.json +33 -0
- package/templates/retail-store/l10n/sv.json +33 -0
- package/templates/retail-store/l10n/th.json +33 -0
- package/templates/retail-store/l10n/tr.json +33 -0
- package/templates/retail-store/l10n/uk.json +33 -0
- package/templates/retail-store/l10n/vi.json +33 -0
- package/templates/retail-store/l10n/zh.json +33 -0
- package/templates/retail-store/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/retail-store/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/salon-spa/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/salon-spa/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +127 -18
- package/templates/yoga-studio/dev/index.ts +82 -0
- package/templates/yoga-studio/l10n/ar.json +33 -0
- package/templates/yoga-studio/l10n/cs.json +33 -0
- package/templates/yoga-studio/l10n/da.json +33 -0
- package/templates/yoga-studio/l10n/de.json +33 -0
- package/templates/yoga-studio/l10n/el.json +33 -0
- package/templates/yoga-studio/l10n/en.json +22 -1
- package/templates/yoga-studio/l10n/es.json +33 -0
- package/templates/yoga-studio/l10n/fi.json +33 -0
- package/templates/yoga-studio/l10n/fr.json +33 -0
- package/templates/yoga-studio/l10n/he.json +27 -0
- package/templates/yoga-studio/l10n/hu.json +33 -0
- package/templates/yoga-studio/l10n/id.json +33 -0
- package/templates/yoga-studio/l10n/it.json +33 -0
- package/templates/yoga-studio/l10n/ja.json +33 -0
- package/templates/yoga-studio/l10n/ko.json +33 -0
- package/templates/yoga-studio/l10n/lt.json +33 -0
- package/templates/yoga-studio/l10n/nl.json +33 -0
- package/templates/yoga-studio/l10n/no.json +33 -0
- package/templates/yoga-studio/l10n/pl.json +33 -0
- package/templates/yoga-studio/l10n/pt.json +33 -0
- package/templates/yoga-studio/l10n/ru.json +33 -0
- package/templates/yoga-studio/l10n/sv.json +33 -0
- package/templates/yoga-studio/l10n/th.json +33 -0
- package/templates/yoga-studio/l10n/tr.json +33 -0
- package/templates/yoga-studio/l10n/uk.json +33 -0
- package/templates/yoga-studio/l10n/vi.json +33 -0
- package/templates/yoga-studio/l10n/zh.json +33 -0
- package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +26 -11
- package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +127 -18
|
@@ -2000,6 +2000,24 @@
|
|
|
2000
2000
|
"translation": "Dina val nedan är sparade, men inget kommer fram förrän aviseringar är tillåtna på den här telefonen.",
|
|
2001
2001
|
"origin": "machine"
|
|
2002
2002
|
},
|
|
2003
|
+
"h_6d78b9cbbce4": {
|
|
2004
|
+
"key": "account.sessionEndedTitle",
|
|
2005
|
+
"source": "You've been signed out.",
|
|
2006
|
+
"translation": "Du har loggats ut.",
|
|
2007
|
+
"origin": "machine"
|
|
2008
|
+
},
|
|
2009
|
+
"h_7ac02c7b6f0e": {
|
|
2010
|
+
"key": "account.sessionEndedBody",
|
|
2011
|
+
"source": "Sign in again.",
|
|
2012
|
+
"translation": "Logga in igen.",
|
|
2013
|
+
"origin": "machine"
|
|
2014
|
+
},
|
|
2015
|
+
"h_70afe9eff3f2": {
|
|
2016
|
+
"key": "account.sessionEndedDismiss",
|
|
2017
|
+
"source": "Dismiss",
|
|
2018
|
+
"translation": "Stäng",
|
|
2019
|
+
"origin": "machine"
|
|
2020
|
+
},
|
|
2003
2021
|
"h_1e9b74b4dda5": {
|
|
2004
2022
|
"source": "Show all ({count})",
|
|
2005
2023
|
"translation": "Visa alla ({count})",
|
|
@@ -4979,6 +4997,21 @@
|
|
|
4979
4997
|
"source": "Change notifications for this app in your phone's settings.",
|
|
4980
4998
|
"translation": "Ändra aviseringar för den här appen i telefonens inställningar.",
|
|
4981
4999
|
"origin": "machine"
|
|
5000
|
+
},
|
|
5001
|
+
"h_7dece819a35c": {
|
|
5002
|
+
"source": "You've been signed out",
|
|
5003
|
+
"translation": "Du har loggats ut",
|
|
5004
|
+
"origin": "machine"
|
|
5005
|
+
},
|
|
5006
|
+
"h_cf70d2b54929": {
|
|
5007
|
+
"source": "Sign in again to get back to your cart, orders, and bookings.",
|
|
5008
|
+
"translation": "Logga in igen för att komma tillbaka till din varukorg, dina beställningar och bokningar.",
|
|
5009
|
+
"origin": "machine"
|
|
5010
|
+
},
|
|
5011
|
+
"h_2c06d2d00d31": {
|
|
5012
|
+
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
5013
|
+
"translation": "Du har loggats ut. Logga in igen så tar vi dig tillbaka.",
|
|
5014
|
+
"origin": "machine"
|
|
4982
5015
|
}
|
|
4983
5016
|
}
|
|
4984
5017
|
}
|
|
@@ -2000,6 +2000,24 @@
|
|
|
2000
2000
|
"translation": "ตัวเลือกด้านล่างของคุณบันทึกไว้แล้ว แต่จะไม่มีการแจ้งเตือนจนกว่าจะอนุญาตการแจ้งเตือนบนโทรศัพท์เครื่องนี้",
|
|
2001
2001
|
"origin": "machine"
|
|
2002
2002
|
},
|
|
2003
|
+
"h_6d78b9cbbce4": {
|
|
2004
|
+
"key": "account.sessionEndedTitle",
|
|
2005
|
+
"source": "You've been signed out.",
|
|
2006
|
+
"translation": "คุณออกจากระบบแล้ว",
|
|
2007
|
+
"origin": "machine"
|
|
2008
|
+
},
|
|
2009
|
+
"h_7ac02c7b6f0e": {
|
|
2010
|
+
"key": "account.sessionEndedBody",
|
|
2011
|
+
"source": "Sign in again.",
|
|
2012
|
+
"translation": "โปรดลงชื่อเข้าใช้อีกครั้ง",
|
|
2013
|
+
"origin": "machine"
|
|
2014
|
+
},
|
|
2015
|
+
"h_70afe9eff3f2": {
|
|
2016
|
+
"key": "account.sessionEndedDismiss",
|
|
2017
|
+
"source": "Dismiss",
|
|
2018
|
+
"translation": "ปิด",
|
|
2019
|
+
"origin": "machine"
|
|
2020
|
+
},
|
|
2003
2021
|
"h_1e9b74b4dda5": {
|
|
2004
2022
|
"source": "Show all ({count})",
|
|
2005
2023
|
"translation": "ดูทั้งหมด ({count})",
|
|
@@ -4979,6 +4997,21 @@
|
|
|
4979
4997
|
"source": "Change notifications for this app in your phone's settings.",
|
|
4980
4998
|
"translation": "เปลี่ยนการแจ้งเตือนของแอปนี้ได้ในการตั้งค่าโทรศัพท์",
|
|
4981
4999
|
"origin": "machine"
|
|
5000
|
+
},
|
|
5001
|
+
"h_7dece819a35c": {
|
|
5002
|
+
"source": "You've been signed out",
|
|
5003
|
+
"translation": "คุณออกจากระบบแล้ว",
|
|
5004
|
+
"origin": "machine"
|
|
5005
|
+
},
|
|
5006
|
+
"h_cf70d2b54929": {
|
|
5007
|
+
"source": "Sign in again to get back to your cart, orders, and bookings.",
|
|
5008
|
+
"translation": "ลงชื่อเข้าใช้อีกครั้งเพื่อกลับไปยังตะกร้า คำสั่งซื้อ และการจองของคุณ",
|
|
5009
|
+
"origin": "machine"
|
|
5010
|
+
},
|
|
5011
|
+
"h_2c06d2d00d31": {
|
|
5012
|
+
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
5013
|
+
"translation": "คุณออกจากระบบแล้ว ลงชื่อเข้าใช้อีกครั้ง แล้วเราจะพาคุณกลับมา",
|
|
5014
|
+
"origin": "machine"
|
|
4982
5015
|
}
|
|
4983
5016
|
}
|
|
4984
5017
|
}
|
|
@@ -2000,6 +2000,24 @@
|
|
|
2000
2000
|
"translation": "Aşağıdaki seçimleriniz kaydedildi ancak bu telefonda bildirimlere izin verilene kadar hiçbir şey gelmez.",
|
|
2001
2001
|
"origin": "machine"
|
|
2002
2002
|
},
|
|
2003
|
+
"h_6d78b9cbbce4": {
|
|
2004
|
+
"key": "account.sessionEndedTitle",
|
|
2005
|
+
"source": "You've been signed out.",
|
|
2006
|
+
"translation": "Oturumunuz kapatıldı.",
|
|
2007
|
+
"origin": "machine"
|
|
2008
|
+
},
|
|
2009
|
+
"h_7ac02c7b6f0e": {
|
|
2010
|
+
"key": "account.sessionEndedBody",
|
|
2011
|
+
"source": "Sign in again.",
|
|
2012
|
+
"translation": "Tekrar giriş yapın.",
|
|
2013
|
+
"origin": "machine"
|
|
2014
|
+
},
|
|
2015
|
+
"h_70afe9eff3f2": {
|
|
2016
|
+
"key": "account.sessionEndedDismiss",
|
|
2017
|
+
"source": "Dismiss",
|
|
2018
|
+
"translation": "Kapat",
|
|
2019
|
+
"origin": "machine"
|
|
2020
|
+
},
|
|
2003
2021
|
"h_1e9b74b4dda5": {
|
|
2004
2022
|
"source": "Show all ({count})",
|
|
2005
2023
|
"translation": "Tümünü göster ({count})",
|
|
@@ -4979,6 +4997,21 @@
|
|
|
4979
4997
|
"source": "Change notifications for this app in your phone's settings.",
|
|
4980
4998
|
"translation": "Bu uygulamanın bildirimlerini telefonunuzun ayarlarından değiştirin.",
|
|
4981
4999
|
"origin": "machine"
|
|
5000
|
+
},
|
|
5001
|
+
"h_7dece819a35c": {
|
|
5002
|
+
"source": "You've been signed out",
|
|
5003
|
+
"translation": "Oturumunuz kapatıldı",
|
|
5004
|
+
"origin": "machine"
|
|
5005
|
+
},
|
|
5006
|
+
"h_cf70d2b54929": {
|
|
5007
|
+
"source": "Sign in again to get back to your cart, orders, and bookings.",
|
|
5008
|
+
"translation": "Sepetinize, siparişlerinize ve rezervasyonlarınıza dönmek için tekrar giriş yapın.",
|
|
5009
|
+
"origin": "machine"
|
|
5010
|
+
},
|
|
5011
|
+
"h_2c06d2d00d31": {
|
|
5012
|
+
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
5013
|
+
"translation": "Oturumunuz kapatıldı. Tekrar giriş yapın, sizi geri götüreceğiz.",
|
|
5014
|
+
"origin": "machine"
|
|
4982
5015
|
}
|
|
4983
5016
|
}
|
|
4984
5017
|
}
|
|
@@ -2000,6 +2000,24 @@
|
|
|
2000
2000
|
"translation": "Ваш вибір нижче збережено, але нічого не надходитиме, доки сповіщення не дозволено на цьому телефоні.",
|
|
2001
2001
|
"origin": "machine"
|
|
2002
2002
|
},
|
|
2003
|
+
"h_6d78b9cbbce4": {
|
|
2004
|
+
"key": "account.sessionEndedTitle",
|
|
2005
|
+
"source": "You've been signed out.",
|
|
2006
|
+
"translation": "Ви вийшли з облікового запису.",
|
|
2007
|
+
"origin": "machine"
|
|
2008
|
+
},
|
|
2009
|
+
"h_7ac02c7b6f0e": {
|
|
2010
|
+
"key": "account.sessionEndedBody",
|
|
2011
|
+
"source": "Sign in again.",
|
|
2012
|
+
"translation": "Увійдіть знову.",
|
|
2013
|
+
"origin": "machine"
|
|
2014
|
+
},
|
|
2015
|
+
"h_70afe9eff3f2": {
|
|
2016
|
+
"key": "account.sessionEndedDismiss",
|
|
2017
|
+
"source": "Dismiss",
|
|
2018
|
+
"translation": "Закрити",
|
|
2019
|
+
"origin": "machine"
|
|
2020
|
+
},
|
|
2003
2021
|
"h_1e9b74b4dda5": {
|
|
2004
2022
|
"source": "Show all ({count})",
|
|
2005
2023
|
"translation": "Показати все ({count})",
|
|
@@ -4979,6 +4997,21 @@
|
|
|
4979
4997
|
"source": "Change notifications for this app in your phone's settings.",
|
|
4980
4998
|
"translation": "Змініть сповіщення цього застосунку в налаштуваннях телефона.",
|
|
4981
4999
|
"origin": "machine"
|
|
5000
|
+
},
|
|
5001
|
+
"h_7dece819a35c": {
|
|
5002
|
+
"source": "You've been signed out",
|
|
5003
|
+
"translation": "Ви вийшли з облікового запису",
|
|
5004
|
+
"origin": "machine"
|
|
5005
|
+
},
|
|
5006
|
+
"h_cf70d2b54929": {
|
|
5007
|
+
"source": "Sign in again to get back to your cart, orders, and bookings.",
|
|
5008
|
+
"translation": "Увійдіть знову, щоб повернутися до кошика, замовлень і бронювань.",
|
|
5009
|
+
"origin": "machine"
|
|
5010
|
+
},
|
|
5011
|
+
"h_2c06d2d00d31": {
|
|
5012
|
+
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
5013
|
+
"translation": "Ви вийшли з облікового запису. Увійдіть знову, і ми повернемо вас назад.",
|
|
5014
|
+
"origin": "machine"
|
|
4982
5015
|
}
|
|
4983
5016
|
}
|
|
4984
5017
|
}
|
|
@@ -2000,6 +2000,24 @@
|
|
|
2000
2000
|
"translation": "Lựa chọn của bạn bên dưới đã được lưu, nhưng sẽ không có thông báo nào cho đến khi điện thoại này cho phép thông báo.",
|
|
2001
2001
|
"origin": "machine"
|
|
2002
2002
|
},
|
|
2003
|
+
"h_6d78b9cbbce4": {
|
|
2004
|
+
"key": "account.sessionEndedTitle",
|
|
2005
|
+
"source": "You've been signed out.",
|
|
2006
|
+
"translation": "Bạn đã bị đăng xuất.",
|
|
2007
|
+
"origin": "machine"
|
|
2008
|
+
},
|
|
2009
|
+
"h_7ac02c7b6f0e": {
|
|
2010
|
+
"key": "account.sessionEndedBody",
|
|
2011
|
+
"source": "Sign in again.",
|
|
2012
|
+
"translation": "Hãy đăng nhập lại.",
|
|
2013
|
+
"origin": "machine"
|
|
2014
|
+
},
|
|
2015
|
+
"h_70afe9eff3f2": {
|
|
2016
|
+
"key": "account.sessionEndedDismiss",
|
|
2017
|
+
"source": "Dismiss",
|
|
2018
|
+
"translation": "Đóng",
|
|
2019
|
+
"origin": "machine"
|
|
2020
|
+
},
|
|
2003
2021
|
"h_1e9b74b4dda5": {
|
|
2004
2022
|
"source": "Show all ({count})",
|
|
2005
2023
|
"translation": "Xem tất cả ({count})",
|
|
@@ -4979,6 +4997,21 @@
|
|
|
4979
4997
|
"source": "Change notifications for this app in your phone's settings.",
|
|
4980
4998
|
"translation": "Thay đổi thông báo của ứng dụng này trong cài đặt điện thoại.",
|
|
4981
4999
|
"origin": "machine"
|
|
5000
|
+
},
|
|
5001
|
+
"h_7dece819a35c": {
|
|
5002
|
+
"source": "You've been signed out",
|
|
5003
|
+
"translation": "Bạn đã bị đăng xuất",
|
|
5004
|
+
"origin": "machine"
|
|
5005
|
+
},
|
|
5006
|
+
"h_cf70d2b54929": {
|
|
5007
|
+
"source": "Sign in again to get back to your cart, orders, and bookings.",
|
|
5008
|
+
"translation": "Đăng nhập lại để quay về giỏ hàng, đơn hàng và lịch đặt của bạn.",
|
|
5009
|
+
"origin": "machine"
|
|
5010
|
+
},
|
|
5011
|
+
"h_2c06d2d00d31": {
|
|
5012
|
+
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
5013
|
+
"translation": "Bạn đã bị đăng xuất. Hãy đăng nhập lại, rồi chúng tôi sẽ đưa bạn quay lại.",
|
|
5014
|
+
"origin": "machine"
|
|
4982
5015
|
}
|
|
4983
5016
|
}
|
|
4984
5017
|
}
|
|
@@ -2000,6 +2000,24 @@
|
|
|
2000
2000
|
"translation": "你在下方的选择已保存,但在此手机允许通知之前,不会收到任何通知。",
|
|
2001
2001
|
"origin": "machine"
|
|
2002
2002
|
},
|
|
2003
|
+
"h_6d78b9cbbce4": {
|
|
2004
|
+
"key": "account.sessionEndedTitle",
|
|
2005
|
+
"source": "You've been signed out.",
|
|
2006
|
+
"translation": "您已退出登录。",
|
|
2007
|
+
"origin": "machine"
|
|
2008
|
+
},
|
|
2009
|
+
"h_7ac02c7b6f0e": {
|
|
2010
|
+
"key": "account.sessionEndedBody",
|
|
2011
|
+
"source": "Sign in again.",
|
|
2012
|
+
"translation": "请重新登录。",
|
|
2013
|
+
"origin": "machine"
|
|
2014
|
+
},
|
|
2015
|
+
"h_70afe9eff3f2": {
|
|
2016
|
+
"key": "account.sessionEndedDismiss",
|
|
2017
|
+
"source": "Dismiss",
|
|
2018
|
+
"translation": "关闭",
|
|
2019
|
+
"origin": "machine"
|
|
2020
|
+
},
|
|
2003
2021
|
"h_1e9b74b4dda5": {
|
|
2004
2022
|
"source": "Show all ({count})",
|
|
2005
2023
|
"translation": "查看全部({count})",
|
|
@@ -4979,6 +4997,21 @@
|
|
|
4979
4997
|
"source": "Change notifications for this app in your phone's settings.",
|
|
4980
4998
|
"translation": "请在手机设置中更改此应用的通知。",
|
|
4981
4999
|
"origin": "machine"
|
|
5000
|
+
},
|
|
5001
|
+
"h_7dece819a35c": {
|
|
5002
|
+
"source": "You've been signed out",
|
|
5003
|
+
"translation": "您已退出登录",
|
|
5004
|
+
"origin": "machine"
|
|
5005
|
+
},
|
|
5006
|
+
"h_cf70d2b54929": {
|
|
5007
|
+
"source": "Sign in again to get back to your cart, orders, and bookings.",
|
|
5008
|
+
"translation": "重新登录即可回到购物车、订单和预订。",
|
|
5009
|
+
"origin": "machine"
|
|
5010
|
+
},
|
|
5011
|
+
"h_2c06d2d00d31": {
|
|
5012
|
+
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
5013
|
+
"translation": "您已退出登录。请重新登录,然后我们会带您返回。",
|
|
5014
|
+
"origin": "machine"
|
|
4982
5015
|
}
|
|
4983
5016
|
}
|
|
4984
5017
|
}
|
|
@@ -124,21 +124,36 @@ export function guestProfile(detailLine: string): AccountProfile {
|
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
+
export interface MemberIdentity {
|
|
128
|
+
email: string;
|
|
129
|
+
signedIn: boolean;
|
|
130
|
+
/** The member's session ended on its own (not their sign-out) and they are a visitor now. */
|
|
131
|
+
sessionEnded: boolean;
|
|
132
|
+
/** That member's email, to pre-fill sign-in; "" when unknown or when `sessionEnded` is false. */
|
|
133
|
+
lastEmail: string;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const NO_IDENTITY: MemberIdentity = { email: "", signedIn: false, sessionEnded: false, lastEmail: "" };
|
|
137
|
+
|
|
127
138
|
/** `himi.wix.memberIdentity`: the member's email ("" when none is known) and whether a member is
|
|
128
139
|
* signed in. `signedIn` is true only when the host says so explicitly — native hosts answer it
|
|
129
140
|
* for a member whose email is not known yet (an injected or hosted session before `members/my`
|
|
130
|
-
* answers); hosts that predate it answer the email alone.
|
|
131
|
-
|
|
141
|
+
* answers); hosts that predate it answer the email alone. `sessionEnded` / `lastEmail` come from
|
|
142
|
+
* native hosts only, for a visitor whose member session could not be refreshed. */
|
|
143
|
+
export async function memberIdentity(): Promise<MemberIdentity> {
|
|
132
144
|
try {
|
|
133
145
|
const identity = await dispatch("himi.wix.memberIdentity") as unknown;
|
|
134
|
-
|
|
135
|
-
const
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
|
|
146
|
+
type Answer = { email?: unknown; signedIn?: unknown; sessionEnded?: unknown; lastEmail?: unknown } | null | undefined;
|
|
147
|
+
const direct = identity as Answer;
|
|
148
|
+
const wrapped = (identity as { payload?: Answer } | null)?.payload;
|
|
149
|
+
const field = (key: keyof NonNullable<Answer>) => direct?.[key] ?? wrapped?.[key];
|
|
150
|
+
const text = (value: unknown) => (typeof value === "string" ? value : "");
|
|
151
|
+
const email = text(field("email"));
|
|
152
|
+
const signedIn = field("signedIn") === true || !!email;
|
|
153
|
+
const sessionEnded = !signedIn && field("sessionEnded") === true;
|
|
154
|
+
return { email, signedIn, sessionEnded, lastEmail: sessionEnded ? text(field("lastEmail")) : "" };
|
|
140
155
|
} catch {
|
|
141
|
-
return
|
|
156
|
+
return NO_IDENTITY;
|
|
142
157
|
}
|
|
143
158
|
}
|
|
144
159
|
|
|
@@ -163,11 +178,11 @@ function neutralMemberProfile(): AccountProfile {
|
|
|
163
178
|
};
|
|
164
179
|
}
|
|
165
180
|
|
|
166
|
-
export async function loadMemberProfile(guestDetailLine: string): Promise<AccountProfile> {
|
|
181
|
+
export async function loadMemberProfile(guestDetailLine: string, known?: MemberIdentity): Promise<AccountProfile> {
|
|
167
182
|
// `himi.wix.memberIdentity` is the session source of truth. Visitor-scoped
|
|
168
183
|
// getMyData can still return a site/account nickname (e.g. apptestercoowner)
|
|
169
184
|
// after sign-out or for anonymous — never treat that as a signed-in member.
|
|
170
|
-
const identity = await memberIdentity();
|
|
185
|
+
const identity = known ?? await memberIdentity();
|
|
171
186
|
if (!identity.signedIn) return guestProfile(guestDetailLine);
|
|
172
187
|
const storedEmail = identity.email;
|
|
173
188
|
if (!storedEmail) return (await siteMemberProfile("")) ?? neutralMemberProfile();
|