@wix/himalaya-cli 0.1847.0 → 0.1849.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/screens/src/business-contact.d.ts +5 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/screens.mjs +12 -5
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{33204224f8dccbd7094c8b6cb3df3995758bb67e81b987f4e6843897987e39f9.bin → 166f7ee733ea8d0fe7bba8b796232efd4f5413e22af4a8aeee20cae1069b2fd6.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +2016 -1428
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/designing-himi-screens.md +5 -0
- package/guides/himi-json-output.md +17 -0
- package/guides/mobile-ux.md +8 -4
- package/guides/release-notes.md +13 -0
- package/guides/skill.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +7 -3
- package/templates/beauty-salon/l10n/ar.json +10 -0
- package/templates/beauty-salon/l10n/cs.json +10 -0
- package/templates/beauty-salon/l10n/da.json +10 -0
- package/templates/beauty-salon/l10n/de.json +10 -0
- package/templates/beauty-salon/l10n/el.json +10 -0
- package/templates/beauty-salon/l10n/es.json +10 -0
- package/templates/beauty-salon/l10n/fi.json +10 -0
- package/templates/beauty-salon/l10n/fr.json +10 -0
- package/templates/beauty-salon/l10n/he.json +8 -0
- package/templates/beauty-salon/l10n/hu.json +10 -0
- package/templates/beauty-salon/l10n/id.json +10 -0
- package/templates/beauty-salon/l10n/it.json +10 -0
- package/templates/beauty-salon/l10n/ja.json +10 -0
- package/templates/beauty-salon/l10n/ko.json +10 -0
- package/templates/beauty-salon/l10n/lt.json +10 -0
- package/templates/beauty-salon/l10n/nl.json +10 -0
- package/templates/beauty-salon/l10n/no.json +10 -0
- package/templates/beauty-salon/l10n/pl.json +10 -0
- package/templates/beauty-salon/l10n/pt.json +10 -0
- package/templates/beauty-salon/l10n/ru.json +10 -0
- package/templates/beauty-salon/l10n/sv.json +10 -0
- package/templates/beauty-salon/l10n/th.json +10 -0
- package/templates/beauty-salon/l10n/tr.json +10 -0
- package/templates/beauty-salon/l10n/uk.json +10 -0
- package/templates/beauty-salon/l10n/vi.json +10 -0
- package/templates/beauty-salon/l10n/zh.json +10 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/beauty-salon/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/beauty-salon/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/beauty-salon/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/beauty-salon/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/beauty-salon/tier5-src/himi-branded-lite-agenda/index.ts +33 -6
- package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/beauty-salon-owner/dev/index.ts +1 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/beauty-salon-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/branded-lite/dev/index.ts +7 -3
- 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/collection-service.ts +19 -3
- package/templates/branded-lite/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/branded-lite/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/branded-lite/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/branded-lite/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/branded-lite/tier5-src/himi-branded-lite-agenda/index.ts +33 -6
- package/templates/branded-lite/tier5-src/himi-branded-lite-member-programs/index.ts +15 -4
- package/templates/branded-lite/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/brandy/tier5-src/_shared/collection-service.ts +19 -3
- package/templates/brandy/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/brandy/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/community-club/dev/index.ts +2 -1
- package/templates/community-club/l10n/ar.json +10 -0
- package/templates/community-club/l10n/cs.json +10 -0
- package/templates/community-club/l10n/da.json +10 -0
- package/templates/community-club/l10n/de.json +10 -0
- package/templates/community-club/l10n/el.json +10 -0
- package/templates/community-club/l10n/es.json +10 -0
- package/templates/community-club/l10n/fi.json +10 -0
- package/templates/community-club/l10n/fr.json +10 -0
- package/templates/community-club/l10n/he.json +8 -0
- package/templates/community-club/l10n/hu.json +10 -0
- package/templates/community-club/l10n/id.json +10 -0
- package/templates/community-club/l10n/it.json +10 -0
- package/templates/community-club/l10n/ja.json +10 -0
- package/templates/community-club/l10n/ko.json +10 -0
- package/templates/community-club/l10n/lt.json +10 -0
- package/templates/community-club/l10n/nl.json +10 -0
- package/templates/community-club/l10n/no.json +10 -0
- package/templates/community-club/l10n/pl.json +10 -0
- package/templates/community-club/l10n/pt.json +10 -0
- package/templates/community-club/l10n/ru.json +10 -0
- package/templates/community-club/l10n/sv.json +10 -0
- package/templates/community-club/l10n/th.json +10 -0
- package/templates/community-club/l10n/tr.json +10 -0
- package/templates/community-club/l10n/uk.json +10 -0
- package/templates/community-club/l10n/vi.json +10 -0
- package/templates/community-club/l10n/zh.json +10 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/community-club/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/community-club/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/community-club/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/community-club-owner/dev/index.ts +1 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/community-club-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/community-club-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/conference/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/conference/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/conference/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/events-meetups/dev/index.ts +2 -1
- package/templates/events-meetups/l10n/ar.json +10 -0
- package/templates/events-meetups/l10n/cs.json +10 -0
- package/templates/events-meetups/l10n/da.json +10 -0
- package/templates/events-meetups/l10n/de.json +10 -0
- package/templates/events-meetups/l10n/el.json +10 -0
- package/templates/events-meetups/l10n/es.json +10 -0
- package/templates/events-meetups/l10n/fi.json +10 -0
- package/templates/events-meetups/l10n/fr.json +10 -0
- package/templates/events-meetups/l10n/he.json +8 -0
- package/templates/events-meetups/l10n/hu.json +10 -0
- package/templates/events-meetups/l10n/id.json +10 -0
- package/templates/events-meetups/l10n/it.json +10 -0
- package/templates/events-meetups/l10n/ja.json +10 -0
- package/templates/events-meetups/l10n/ko.json +10 -0
- package/templates/events-meetups/l10n/lt.json +10 -0
- package/templates/events-meetups/l10n/nl.json +10 -0
- package/templates/events-meetups/l10n/no.json +10 -0
- package/templates/events-meetups/l10n/pl.json +10 -0
- package/templates/events-meetups/l10n/pt.json +10 -0
- package/templates/events-meetups/l10n/ru.json +10 -0
- package/templates/events-meetups/l10n/sv.json +10 -0
- package/templates/events-meetups/l10n/th.json +10 -0
- package/templates/events-meetups/l10n/tr.json +10 -0
- package/templates/events-meetups/l10n/uk.json +10 -0
- package/templates/events-meetups/l10n/vi.json +10 -0
- package/templates/events-meetups/l10n/zh.json +10 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/events-meetups/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/events-meetups/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/events-meetups/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/events-meetups-owner/dev/index.ts +1 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/events-meetups-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/events-meetups-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/fitness-gym/config.ts +55 -17
- package/templates/fitness-gym/dev/index.ts +5784 -2453
- package/templates/fitness-gym/himalaya.content.json +19 -1
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/fitness-gym/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/fitness-gym/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/fitness-gym/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/fitness-gym/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/fitness-gym/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/personal-info.ts +824 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-agenda/index.ts +33 -6
- package/templates/fitness-gym/tier5-src/himi-branded-lite-member-programs/index.ts +15 -4
- package/templates/fitness-gym/tier5-src/himi-fitcoach-goal/index.ts +5 -2
- package/templates/fitness-gym/tier5-src/himi-fitcoach-home/index.ts +57 -6
- package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/fitness-gym/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/fitness-gym/tokens.json +6 -0
- package/templates/gym-fitness/dev/index.ts +7 -3
- package/templates/gym-fitness/l10n/ar.json +10 -0
- package/templates/gym-fitness/l10n/cs.json +10 -0
- package/templates/gym-fitness/l10n/da.json +10 -0
- package/templates/gym-fitness/l10n/de.json +10 -0
- package/templates/gym-fitness/l10n/el.json +10 -0
- package/templates/gym-fitness/l10n/es.json +10 -0
- package/templates/gym-fitness/l10n/fi.json +10 -0
- package/templates/gym-fitness/l10n/fr.json +10 -0
- package/templates/gym-fitness/l10n/he.json +8 -0
- package/templates/gym-fitness/l10n/hu.json +10 -0
- package/templates/gym-fitness/l10n/id.json +10 -0
- package/templates/gym-fitness/l10n/it.json +10 -0
- package/templates/gym-fitness/l10n/ja.json +10 -0
- package/templates/gym-fitness/l10n/ko.json +10 -0
- package/templates/gym-fitness/l10n/lt.json +10 -0
- package/templates/gym-fitness/l10n/nl.json +10 -0
- package/templates/gym-fitness/l10n/no.json +10 -0
- package/templates/gym-fitness/l10n/pl.json +10 -0
- package/templates/gym-fitness/l10n/pt.json +10 -0
- package/templates/gym-fitness/l10n/ru.json +10 -0
- package/templates/gym-fitness/l10n/sv.json +10 -0
- package/templates/gym-fitness/l10n/th.json +10 -0
- package/templates/gym-fitness/l10n/tr.json +10 -0
- package/templates/gym-fitness/l10n/uk.json +10 -0
- package/templates/gym-fitness/l10n/vi.json +10 -0
- package/templates/gym-fitness/l10n/zh.json +10 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/gym-fitness/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/gym-fitness/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/gym-fitness/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/gym-fitness/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/gym-fitness/tier5-src/himi-branded-lite-agenda/index.ts +33 -6
- package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/gym-fitness-owner/dev/index.ts +1 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/gym-fitness-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/medical-services/config.ts +1 -1
- package/templates/medical-services/dev/index.ts +3 -1
- package/templates/medical-services/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/medical-services/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/medical-services/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/medical-services/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/medical-services/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/medical-services/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/medical-services/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/nonprofit-cause/dev/index.ts +2 -1
- package/templates/nonprofit-cause/l10n/ar.json +10 -0
- package/templates/nonprofit-cause/l10n/cs.json +10 -0
- package/templates/nonprofit-cause/l10n/da.json +10 -0
- package/templates/nonprofit-cause/l10n/de.json +10 -0
- package/templates/nonprofit-cause/l10n/el.json +10 -0
- package/templates/nonprofit-cause/l10n/es.json +10 -0
- package/templates/nonprofit-cause/l10n/fi.json +10 -0
- package/templates/nonprofit-cause/l10n/fr.json +10 -0
- package/templates/nonprofit-cause/l10n/he.json +8 -0
- package/templates/nonprofit-cause/l10n/hu.json +10 -0
- package/templates/nonprofit-cause/l10n/id.json +10 -0
- package/templates/nonprofit-cause/l10n/it.json +10 -0
- package/templates/nonprofit-cause/l10n/ja.json +10 -0
- package/templates/nonprofit-cause/l10n/ko.json +10 -0
- package/templates/nonprofit-cause/l10n/lt.json +10 -0
- package/templates/nonprofit-cause/l10n/nl.json +10 -0
- package/templates/nonprofit-cause/l10n/no.json +10 -0
- package/templates/nonprofit-cause/l10n/pl.json +10 -0
- package/templates/nonprofit-cause/l10n/pt.json +10 -0
- package/templates/nonprofit-cause/l10n/ru.json +10 -0
- package/templates/nonprofit-cause/l10n/sv.json +10 -0
- package/templates/nonprofit-cause/l10n/th.json +10 -0
- package/templates/nonprofit-cause/l10n/tr.json +10 -0
- package/templates/nonprofit-cause/l10n/uk.json +10 -0
- package/templates/nonprofit-cause/l10n/vi.json +10 -0
- package/templates/nonprofit-cause/l10n/zh.json +10 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/nonprofit-cause/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/nonprofit-cause-owner/dev/index.ts +1 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/owner-lite/dev/index.ts +1 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/owner-lite/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/owner-lite/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/personal-fitness-trainer/dev/index.ts +7 -3
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/personal-fitness-trainer/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/personal-fitness-trainer/tier5-src/himi-branded-lite-agenda/index.ts +33 -6
- package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/podcast-creator/dev/index.ts +2 -1
- package/templates/podcast-creator/l10n/ar.json +10 -0
- package/templates/podcast-creator/l10n/cs.json +10 -0
- package/templates/podcast-creator/l10n/da.json +10 -0
- package/templates/podcast-creator/l10n/de.json +10 -0
- package/templates/podcast-creator/l10n/el.json +10 -0
- package/templates/podcast-creator/l10n/es.json +10 -0
- package/templates/podcast-creator/l10n/fi.json +10 -0
- package/templates/podcast-creator/l10n/fr.json +10 -0
- package/templates/podcast-creator/l10n/he.json +8 -0
- package/templates/podcast-creator/l10n/hu.json +10 -0
- package/templates/podcast-creator/l10n/id.json +10 -0
- package/templates/podcast-creator/l10n/it.json +10 -0
- package/templates/podcast-creator/l10n/ja.json +10 -0
- package/templates/podcast-creator/l10n/ko.json +10 -0
- package/templates/podcast-creator/l10n/lt.json +10 -0
- package/templates/podcast-creator/l10n/nl.json +10 -0
- package/templates/podcast-creator/l10n/no.json +10 -0
- package/templates/podcast-creator/l10n/pl.json +10 -0
- package/templates/podcast-creator/l10n/pt.json +10 -0
- package/templates/podcast-creator/l10n/ru.json +10 -0
- package/templates/podcast-creator/l10n/sv.json +10 -0
- package/templates/podcast-creator/l10n/th.json +10 -0
- package/templates/podcast-creator/l10n/tr.json +10 -0
- package/templates/podcast-creator/l10n/uk.json +10 -0
- package/templates/podcast-creator/l10n/vi.json +10 -0
- package/templates/podcast-creator/l10n/zh.json +10 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/podcast-creator/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/podcast-creator/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/podcast-creator-owner/dev/index.ts +1 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/podcast-creator-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/portfolio-creative/dev/index.ts +2 -1
- package/templates/portfolio-creative/l10n/ar.json +10 -0
- package/templates/portfolio-creative/l10n/cs.json +10 -0
- package/templates/portfolio-creative/l10n/da.json +10 -0
- package/templates/portfolio-creative/l10n/de.json +10 -0
- package/templates/portfolio-creative/l10n/el.json +10 -0
- package/templates/portfolio-creative/l10n/es.json +10 -0
- package/templates/portfolio-creative/l10n/fi.json +10 -0
- package/templates/portfolio-creative/l10n/fr.json +10 -0
- package/templates/portfolio-creative/l10n/he.json +8 -0
- package/templates/portfolio-creative/l10n/hu.json +10 -0
- package/templates/portfolio-creative/l10n/id.json +10 -0
- package/templates/portfolio-creative/l10n/it.json +10 -0
- package/templates/portfolio-creative/l10n/ja.json +10 -0
- package/templates/portfolio-creative/l10n/ko.json +10 -0
- package/templates/portfolio-creative/l10n/lt.json +10 -0
- package/templates/portfolio-creative/l10n/nl.json +10 -0
- package/templates/portfolio-creative/l10n/no.json +10 -0
- package/templates/portfolio-creative/l10n/pl.json +10 -0
- package/templates/portfolio-creative/l10n/pt.json +10 -0
- package/templates/portfolio-creative/l10n/ru.json +10 -0
- package/templates/portfolio-creative/l10n/sv.json +10 -0
- package/templates/portfolio-creative/l10n/th.json +10 -0
- package/templates/portfolio-creative/l10n/tr.json +10 -0
- package/templates/portfolio-creative/l10n/uk.json +10 -0
- package/templates/portfolio-creative/l10n/vi.json +10 -0
- package/templates/portfolio-creative/l10n/zh.json +10 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/portfolio-creative/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/portfolio-creative-owner/dev/index.ts +1 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/portfolio-creative-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/restaurant/dev/index.ts +2 -1
- package/templates/restaurant/l10n/ar.json +10 -0
- package/templates/restaurant/l10n/cs.json +10 -0
- package/templates/restaurant/l10n/da.json +10 -0
- package/templates/restaurant/l10n/de.json +10 -0
- package/templates/restaurant/l10n/el.json +10 -0
- package/templates/restaurant/l10n/es.json +10 -0
- package/templates/restaurant/l10n/fi.json +10 -0
- package/templates/restaurant/l10n/fr.json +10 -0
- package/templates/restaurant/l10n/he.json +8 -0
- package/templates/restaurant/l10n/hu.json +10 -0
- package/templates/restaurant/l10n/id.json +10 -0
- package/templates/restaurant/l10n/it.json +10 -0
- package/templates/restaurant/l10n/ja.json +10 -0
- package/templates/restaurant/l10n/ko.json +10 -0
- package/templates/restaurant/l10n/lt.json +10 -0
- package/templates/restaurant/l10n/nl.json +10 -0
- package/templates/restaurant/l10n/no.json +10 -0
- package/templates/restaurant/l10n/pl.json +10 -0
- package/templates/restaurant/l10n/pt.json +10 -0
- package/templates/restaurant/l10n/ru.json +10 -0
- package/templates/restaurant/l10n/sv.json +10 -0
- package/templates/restaurant/l10n/th.json +10 -0
- package/templates/restaurant/l10n/tr.json +10 -0
- package/templates/restaurant/l10n/uk.json +10 -0
- package/templates/restaurant/l10n/vi.json +10 -0
- package/templates/restaurant/l10n/zh.json +10 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/restaurant/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/restaurant/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/restaurant/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/restaurant-owner/dev/index.ts +1 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/restaurant-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/restaurant-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/retail-store/dev/index.ts +2 -1
- package/templates/retail-store/l10n/ar.json +10 -0
- package/templates/retail-store/l10n/cs.json +10 -0
- package/templates/retail-store/l10n/da.json +10 -0
- package/templates/retail-store/l10n/de.json +10 -0
- package/templates/retail-store/l10n/el.json +10 -0
- package/templates/retail-store/l10n/es.json +10 -0
- package/templates/retail-store/l10n/fi.json +10 -0
- package/templates/retail-store/l10n/fr.json +10 -0
- package/templates/retail-store/l10n/he.json +8 -0
- package/templates/retail-store/l10n/hu.json +10 -0
- package/templates/retail-store/l10n/id.json +10 -0
- package/templates/retail-store/l10n/it.json +10 -0
- package/templates/retail-store/l10n/ja.json +10 -0
- package/templates/retail-store/l10n/ko.json +10 -0
- package/templates/retail-store/l10n/lt.json +10 -0
- package/templates/retail-store/l10n/nl.json +10 -0
- package/templates/retail-store/l10n/no.json +10 -0
- package/templates/retail-store/l10n/pl.json +10 -0
- package/templates/retail-store/l10n/pt.json +10 -0
- package/templates/retail-store/l10n/ru.json +10 -0
- package/templates/retail-store/l10n/sv.json +10 -0
- package/templates/retail-store/l10n/th.json +10 -0
- package/templates/retail-store/l10n/tr.json +10 -0
- package/templates/retail-store/l10n/uk.json +10 -0
- package/templates/retail-store/l10n/vi.json +10 -0
- package/templates/retail-store/l10n/zh.json +10 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +19 -3
- package/templates/retail-store/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/retail-store/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/retail-store/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/retail-store-owner/dev/index.ts +1 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/retail-store-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/retail-store-owner/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/salon-spa/config.ts +1 -1
- package/templates/salon-spa/dev/index.ts +5 -2
- package/templates/salon-spa/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/salon-spa/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/salon-spa/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/salon-spa/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/salon-spa/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/salon-spa/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/salon-spa/tier5-src/himi-branded-lite-agenda/index.ts +33 -6
- package/templates/salon-spa/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/wholesale-store/tier5-src/_shared/collection-service.ts +19 -3
- package/templates/wholesale-store/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/yoga-studio/dev/index.ts +7 -3
- 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/collection-service.ts +26 -3
- package/templates/yoga-studio/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/yoga-studio/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +9 -2
- package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +11 -4
- package/templates/yoga-studio/tier5-src/himi-booking-services/index.ts +6 -2
- package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +70 -3
- package/templates/yoga-studio/tier5-src/himi-branded-lite-account-settings/login-info.ts +16 -4
- package/templates/yoga-studio/tier5-src/himi-branded-lite-agenda/index.ts +33 -6
- package/templates/yoga-studio/tier5-src/himi-branded-lite-member-programs/index.ts +15 -4
- package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +13 -2
- package/templates/yoga-studio-owner/dev/index.ts +1 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +26 -3
- package/templates/yoga-studio-owner/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/member-avatar.ts +76 -0
|
@@ -7,6 +7,8 @@ import { defineService as registerService, navigate } from "@himalaya/state";
|
|
|
7
7
|
// instant range, not a calendar day.
|
|
8
8
|
import { addDays as addLocalDays, dayKey, dayLabel, timeLabel, toDate } from "@himalaya/time";
|
|
9
9
|
import { dispatch } from "@himalaya/dispatch";
|
|
10
|
+
import { snackbar } from "@himalaya/ui";
|
|
11
|
+
import { readResultSnackbar, resultSnackbarOn, showResultSnackbar } from "../_shared/result-snackbar.js";
|
|
10
12
|
import { bookSchedule, bookSlot, cancelBookingAsMember, getService, queryServiceAvailability, registerToWaitlist, type WixBookingSlotFull, type WixSelectedPaymentOption, type WixService } from "@himalaya/wix-bookings";
|
|
11
13
|
import { createCheckout, createOrder } from "@himalaya/wix-ecom";
|
|
12
14
|
import { createRedirectSession } from "@himalaya/wix-redirects";
|
|
@@ -347,6 +349,31 @@ let pendingSession = (() => {
|
|
|
347
349
|
return typeof id === "string" ? id.trim() : "";
|
|
348
350
|
})();
|
|
349
351
|
|
|
352
|
+
/** The tab a confirmed booking returns to (`himalaya.input.doneTab`, from the screen that started
|
|
353
|
+
* the flow: the schedule, the services list, Home). With it, a confirmed booking closes this
|
|
354
|
+
* screen and every screen under it in that tab (one pop to the tab's root, so the screens in
|
|
355
|
+
* between are never seen closing) and says "<service> booked successfully" in a snackbar. Without
|
|
356
|
+
* it the screen keeps its own success panel, as before. Read when the booking lands, not at boot:
|
|
357
|
+
* a reused worker gets the input of its latest opening. */
|
|
358
|
+
function doneTab(): string {
|
|
359
|
+
const tab = (globalThis as { himalaya?: { input?: { doneTab?: unknown } } }).himalaya?.input?.doneTab;
|
|
360
|
+
return typeof tab === "string" && /^[A-Za-z0-9_-]{1,64}$/.test(tab) ? tab : "";
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/** A confirmed booking (paid, zero-total or free; not a course, a waitlist or an offline queue)
|
|
364
|
+
* opened with `doneTab`: the snackbar, then back to that tab's root. Anything else is unchanged. */
|
|
365
|
+
async function returnAfterConfirmed(result: S): Promise<S> {
|
|
366
|
+
const tab = doneTab();
|
|
367
|
+
const confirmed = !result.isCourse && result.successMessage === copyParam("time.successMessage", "Booked. Your confirmation is ready in My Bookings.");
|
|
368
|
+
if (!tab || !confirmed) return result;
|
|
369
|
+
const message = result.serviceName
|
|
370
|
+
? copyTemplate("time.bookedToast", "{service} booked successfully", { service: result.serviceName })
|
|
371
|
+
: copyParam("time.bookedToastNoName", "Booked successfully");
|
|
372
|
+
// Queued before the screens close; the snackbar floats above the tab bar, so it outlives them.
|
|
373
|
+
await snackbar({ message, tone: "success" }).catch(() => undefined);
|
|
374
|
+
return navigate(derive({ ...result, successMessage: "" }), { tab, reset: true });
|
|
375
|
+
}
|
|
376
|
+
|
|
350
377
|
function strOf(arg: unknown): string {
|
|
351
378
|
if (typeof arg === "string") return arg;
|
|
352
379
|
const a = arg as { value?: string; text?: string } | undefined;
|
|
@@ -1003,7 +1030,41 @@ const id = inputId();
|
|
|
1003
1030
|
const openMemberScreen = memberScreenOpener();
|
|
1004
1031
|
// A member's tap on a time books it, so pickSlot needs a connection too; a guest's tap only opens
|
|
1005
1032
|
// the sign-in screen (or the sign-in card), which works offline.
|
|
1006
|
-
|
|
1033
|
+
/** The screen that lists the member's bookings (`bookingsScreen`, a load param), for the
|
|
1034
|
+
* confirmation snackbar's "View My Bookings". Empty: the snackbar has no action. */
|
|
1035
|
+
let bookingsScreen = "";
|
|
1036
|
+
|
|
1037
|
+
/** The actions whose outcome is always news: a second identical failure of Book is still the
|
|
1038
|
+
* member's answer to their second tap. Any other action announces only a message it changed. */
|
|
1039
|
+
const OUTCOME_ACTIONS = new Set(["bookSelected", "pickSlot", "buyApple", "signIn", "register"]);
|
|
1040
|
+
|
|
1041
|
+
/** Opted in (`resultSnackbar`): the message or confirmation an action ends with shows as the
|
|
1042
|
+
* platform snackbar instead of this screen's result sheets. A course keeps its inline message. */
|
|
1043
|
+
function announceFeedback(action: string, before: string, next: S): void {
|
|
1044
|
+
if (!resultSnackbarOn() || next.isCourse) return;
|
|
1045
|
+
const text = next.successMessage || next.message;
|
|
1046
|
+
if (!text || (text === before && !OUTCOME_ACTIONS.has(action))) return;
|
|
1047
|
+
const viewBookings = next.successMessage && bookingsScreen
|
|
1048
|
+
? { label: copyParam("time.viewBookingsCta", "View My Bookings"), actionId: "tier5.himiBookingTime.viewBookings" }
|
|
1049
|
+
: undefined;
|
|
1050
|
+
showResultSnackbar(text, next.successMessage ? "success" : "info", viewBookings);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/** Every action, announced through [announceFeedback] once it lands. */
|
|
1054
|
+
function withResultSnackbars(register: typeof registerService): typeof registerService {
|
|
1055
|
+
return ((name: string, definition: { actions?: Record<string, (state: S, ...args: never[]) => unknown> }) => register(name, {
|
|
1056
|
+
...definition,
|
|
1057
|
+
actions: Object.fromEntries(Object.entries(definition.actions ?? {}).map(([action, reduce]) => [action,
|
|
1058
|
+
(state: S, ...args: never[]) => {
|
|
1059
|
+
const before = state?.successMessage || state?.message || "";
|
|
1060
|
+
const result = reduce(state, ...args);
|
|
1061
|
+
const announce = (next: unknown) => { if (next && typeof next === "object") announceFeedback(action, before, next as S); return next; };
|
|
1062
|
+
return result && typeof (result as Promise<unknown>).then === "function" ? Promise.resolve(result).then(announce) : announce(result);
|
|
1063
|
+
}])),
|
|
1064
|
+
} as never)) as unknown as typeof registerService;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
const defineService = withOnlineWrites(withResultSnackbars(registerService), ["bookSelected", "buyApple", "signIn", "register", "pickSlot"], {
|
|
1007
1068
|
derive,
|
|
1008
1069
|
secretFields: ["password"],
|
|
1009
1070
|
requiresConnectivity: (action, state, arg) => action !== "pickSlot" || (state.isMember
|
|
@@ -1021,6 +1082,7 @@ const svc = defineService<S, {
|
|
|
1021
1082
|
selectLocation: (s: S, arg?: unknown) => Promise<S>;
|
|
1022
1083
|
checkNext: (s: S) => Promise<S>;
|
|
1023
1084
|
closeResult: (s: S) => S;
|
|
1085
|
+
viewBookings: (s: S) => S;
|
|
1024
1086
|
setEmail: (s: S, arg?: unknown) => S;
|
|
1025
1087
|
setPassword: (s: S, arg?: unknown) => S;
|
|
1026
1088
|
setFirstName: (s: S, arg?: unknown) => S;
|
|
@@ -1145,6 +1207,9 @@ const svc = defineService<S, {
|
|
|
1145
1207
|
load: async (s, arg): Promise<S> => {
|
|
1146
1208
|
const revisionAtStart = selectionRevision;
|
|
1147
1209
|
stashCopy(arg);
|
|
1210
|
+
readResultSnackbar(arg);
|
|
1211
|
+
const screen = (arg as { bookingsScreen?: unknown } | undefined)?.bookingsScreen;
|
|
1212
|
+
if (typeof screen === "string" && /^[A-Za-z0-9_]{1,64}$/.test(screen)) bookingsScreen = screen;
|
|
1148
1213
|
if (!s.id) return derive({ ...s, status: "ready", errored: true });
|
|
1149
1214
|
let next = derive({ ...s, status: "loading", errored: false, message: "", successMessage: "" });
|
|
1150
1215
|
next = await probeMember(next);
|
|
@@ -1365,7 +1430,7 @@ const svc = defineService<S, {
|
|
|
1365
1430
|
bookingLock = true;
|
|
1366
1431
|
bookingActions++;
|
|
1367
1432
|
try {
|
|
1368
|
-
return afterBooking(await bookSelectedIn(selected), slotId);
|
|
1433
|
+
return await returnAfterConfirmed(afterBooking(await bookSelectedIn(selected), slotId));
|
|
1369
1434
|
} finally {
|
|
1370
1435
|
bookingLock = false;
|
|
1371
1436
|
}
|
|
@@ -1413,6 +1478,8 @@ const svc = defineService<S, {
|
|
|
1413
1478
|
}
|
|
1414
1479
|
},
|
|
1415
1480
|
closeResult: (s) => derive({ ...s, message: "", successMessage: "" }),
|
|
1481
|
+
// The confirmation snackbar's "View My Bookings" (opted in, `bookingsScreen`).
|
|
1482
|
+
viewBookings: (s) => (bookingsScreen ? navigate(derive({ ...s, message: "", successMessage: "" }), { screenId: bookingsScreen }) : s),
|
|
1416
1483
|
setEmail: (s, arg) => derive({ ...s, email: strOf(arg), message: "" }),
|
|
1417
1484
|
setPassword: (s, arg) => derive({ ...s, password: strOf(arg), message: "" }),
|
|
1418
1485
|
setFirstName: (s, arg) => derive({ ...s, firstName: strOf(arg), message: "" }),
|
|
@@ -1470,7 +1537,7 @@ const svc = defineService<S, {
|
|
|
1470
1537
|
bookingLock = true;
|
|
1471
1538
|
bookingActions++;
|
|
1472
1539
|
try {
|
|
1473
|
-
return afterBooking(await bookSelectedIn(s), s.selectedSlotId);
|
|
1540
|
+
return await returnAfterConfirmed(afterBooking(await bookSelectedIn(s), s.selectedSlotId));
|
|
1474
1541
|
} finally {
|
|
1475
1542
|
bookingLock = false;
|
|
1476
1543
|
}
|
|
@@ -31,11 +31,13 @@ import { getMyMember } from "@himalaya/wix-members";
|
|
|
31
31
|
import { signInPageStyle, signInSheetStyle } from "../_shared/sign-in-sheet.js";
|
|
32
32
|
import { LOADING, loadFailed, type LoadFlags } from "../_shared/branded-load-state.js";
|
|
33
33
|
import { copyParam, copyTemplate, stashCopy } from "../_shared/himi-copy.js";
|
|
34
|
+
import { readResultSnackbar, resultSnackbarOn, showResultSnackbar } from "../_shared/result-snackbar.js";
|
|
34
35
|
import { slotStartInstant } from "../_shared/himi-bookings.js";
|
|
35
36
|
import { formatServicePrice } from "../_shared/wix-service-price.js";
|
|
36
37
|
import { compareText } from "../_shared/engine-intl.js";
|
|
37
38
|
import { assertMemberAccess, memberAccess, memberAccessChanged, type MemberAccess } from "../_shared/member-access.js";
|
|
38
39
|
import { atLeast } from "../_shared/member-account-routes.js";
|
|
40
|
+
import { MEMBER_AVATAR_KEYS, memberAvatarSource } from "../_shared/member-avatar.js";
|
|
39
41
|
import { get as getAppInfo } from "@himalaya/app-info";
|
|
40
42
|
import {
|
|
41
43
|
distinctChoices, effectiveLocation, locationMenu, readSharedLocation, serviceLocationChoices, writeSharedLocation,
|
|
@@ -65,6 +67,9 @@ export interface AgendaEvent {
|
|
|
65
67
|
}
|
|
66
68
|
|
|
67
69
|
interface S extends LoadFlags {
|
|
70
|
+
/** The signed-in member's photo and initials, for a screen that asks for its top-bar avatar
|
|
71
|
+
* (onAppear `memberAvatar: "1"`, _shared/member-avatar.ts). Never persisted or restored. */
|
|
72
|
+
memberImage: string; memberInitials: string;
|
|
68
73
|
firstWeekday: number;
|
|
69
74
|
today: string;
|
|
70
75
|
selectedDate: string;
|
|
@@ -399,6 +404,12 @@ let resultSeq = 0;
|
|
|
399
404
|
|
|
400
405
|
/** One action's outcome, for the result sheet: `ok` when it went through. */
|
|
401
406
|
function result(text: string, ok: boolean): ResultFields {
|
|
407
|
+
// Opted in (`resultSnackbar`): the platform snackbar, and no sheet opens.
|
|
408
|
+
if (resultSnackbarOn()) {
|
|
409
|
+
showResultSnackbar(text, ok ? "success" : "info");
|
|
410
|
+
lastResult = { resultOpen: false, resultOpenB: false, resultText: "", resultOk: ok, resultInfo: !ok };
|
|
411
|
+
return lastResult;
|
|
412
|
+
}
|
|
402
413
|
const b = ++resultSeq % 2 === 0;
|
|
403
414
|
lastResult = { resultOpen: !b, resultOpenB: b, resultText: text, resultOk: ok, resultInfo: !ok };
|
|
404
415
|
return lastResult;
|
|
@@ -449,7 +460,9 @@ function derive(s: S): S {
|
|
|
449
460
|
const loaded = s.status === "ready" && rowsOk !== false && !!services;
|
|
450
461
|
const locationEmpty = loaded && !!locationKey && shown.length === 0 && !bookedOnly;
|
|
451
462
|
const bookedEmpty = loaded && bookedOnly && shown.length === 0;
|
|
452
|
-
|
|
463
|
+
// The avatar fields are merged here too: a load that started before the member read finished
|
|
464
|
+
// returns a state built from its own start, which would drop them.
|
|
465
|
+
return avatar.merge({
|
|
453
466
|
...s,
|
|
454
467
|
filter: bookedOnly ? "booked" : "all",
|
|
455
468
|
// A visitor has no sessions of their own: the filter shows only to a signed-in member.
|
|
@@ -481,7 +494,7 @@ function derive(s: S): S {
|
|
|
481
494
|
sheetServiceId: sheet?.serviceId ?? "",
|
|
482
495
|
sheetSessionId: sheet?.sessionId ?? "",
|
|
483
496
|
sheetStart: sheet?.start ?? "",
|
|
484
|
-
};
|
|
497
|
+
});
|
|
485
498
|
}
|
|
486
499
|
|
|
487
500
|
/** Leave a waitlist. The registration id comes from the load; a place known only by its
|
|
@@ -644,7 +657,7 @@ const eventIdOf = (p: unknown): string => argOf(p, "eventId") || argOf(p, "id");
|
|
|
644
657
|
* first `ask` before it — fills in today and this week. */
|
|
645
658
|
function initial(): S {
|
|
646
659
|
return {
|
|
647
|
-
...LOADING, firstWeekday: 0, today: "", selectedDate: "", rangeStart: "", rangeEnd: "",
|
|
660
|
+
...LOADING, memberImage: "", memberInitials: "", firstWeekday: 0, today: "", selectedDate: "", rangeStart: "", rangeEnd: "",
|
|
648
661
|
decorations: [], events: [], scrollTo: "", signedIn: false, updateRequired: false, updateMessage: "", listHidden: true,
|
|
649
662
|
...emptyFlags(false, false), resultOpen: false, resultOpenB: false, resultText: "", resultOk: false, resultInfo: false,
|
|
650
663
|
sheetOpen: false, sheetTitle: "", sheetWhen: "", sheetMeta: "", sheetHideCalendar: true, sheetHideCancel: true, sheetHideLeave: true, sheetBusy: false, sheetServiceId: "", sheetSessionId: "", sheetStart: "",
|
|
@@ -677,8 +690,14 @@ let signInStyle: "page" | "" = "";
|
|
|
677
690
|
* default; an app with no such screen names its own (salon-spa: the Profile tab, `himi_account`). */
|
|
678
691
|
let signInScreenId = "himi_sign_in";
|
|
679
692
|
|
|
693
|
+
// The top-bar avatar: read only when the screen asks for it, republished through `avatarChanged`.
|
|
694
|
+
const avatar = memberAvatarSource(() => { void svc.avatarChanged(); });
|
|
695
|
+
/** The tab a booking started here returns to (load param `doneTab`), for View class's own `_nav`. */
|
|
696
|
+
let doneTab = "";
|
|
697
|
+
|
|
680
698
|
const svc = defineService<S, {
|
|
681
699
|
load: (s: S, p?: unknown) => Promise<S | undefined>;
|
|
700
|
+
avatarChanged: (s: S) => S;
|
|
682
701
|
retry: (s: S) => Promise<S | undefined>;
|
|
683
702
|
selectDate: (s: S, p?: unknown) => Promise<S | undefined>;
|
|
684
703
|
rangeChanged: (s: S, p?: unknown) => Promise<S | undefined>;
|
|
@@ -698,13 +717,18 @@ const svc = defineService<S, {
|
|
|
698
717
|
}>("himiBrandedAgenda", {
|
|
699
718
|
// An action's result belongs to that visit: a cold start must not replay it from saved state,
|
|
700
719
|
// nor reopen the location sheet.
|
|
701
|
-
notHydrated: ["resultOpen", "resultOpenB", "resultText", "resultOk", "resultInfo", "locationSheetOpen", "filter", "hideFilter", "bookedEmpty", "notBookedEmpty"],
|
|
720
|
+
notHydrated: ["resultOpen", "resultOpenB", "resultText", "resultOk", "resultInfo", "locationSheetOpen", "filter", "hideFilter", "bookedEmpty", "notBookedEmpty", ...MEMBER_AVATAR_KEYS],
|
|
702
721
|
// The optional Booked filter is the member's choice for this run: never written to the device.
|
|
703
|
-
notPersisted: ["filter", "hideFilter", "bookedEmpty", "notBookedEmpty"],
|
|
722
|
+
notPersisted: ["filter", "hideFilter", "bookedEmpty", "notBookedEmpty", ...MEMBER_AVATAR_KEYS],
|
|
704
723
|
state: initial(),
|
|
705
724
|
actions: {
|
|
725
|
+
avatarChanged: (s) => avatar.merge(s),
|
|
706
726
|
load: async (s, p) => {
|
|
707
727
|
stashCopy(p);
|
|
728
|
+
readResultSnackbar(p);
|
|
729
|
+
avatar.onLoad(p);
|
|
730
|
+
const tab = argOf(p, "doneTab");
|
|
731
|
+
if (/^[A-Za-z0-9_-]{1,64}$/.test(tab)) doneTab = tab;
|
|
708
732
|
const presentation = argOf(p, "signInPresentation");
|
|
709
733
|
if (presentation === "sheet" || presentation === "full_screen") {
|
|
710
734
|
signInPresentation = presentation;
|
|
@@ -803,7 +827,9 @@ const svc = defineService<S, {
|
|
|
803
827
|
const session = sessions.find((x) => x.key === sheetKey);
|
|
804
828
|
sheetKey = "";
|
|
805
829
|
return session
|
|
806
|
-
|
|
830
|
+
// `doneTab` (a load param): a booking started from this sheet returns to this tab. The
|
|
831
|
+
// descriptor's declared `nav` carries it too; this is the path binaries without `nav` take.
|
|
832
|
+
? navigate(derive(s), { screenId: "himi_service", args: { id: session.serviceId, sessionId: session.sessionId, start: session.start, ...(doneTab ? { doneTab } : {}) } })
|
|
807
833
|
: derive(s);
|
|
808
834
|
},
|
|
809
835
|
// From one slot's own close or dismissal (`slot`: "a" | "b"), or both when it names none.
|
|
@@ -985,4 +1011,5 @@ const svc = defineService<S, {
|
|
|
985
1011
|
},
|
|
986
1012
|
},
|
|
987
1013
|
});
|
|
1014
|
+
avatar.resetRestored(svc);
|
|
988
1015
|
export { svc };
|
|
@@ -34,6 +34,8 @@ interface AuthRouteInput {
|
|
|
34
34
|
modal?: string;
|
|
35
35
|
/** Modal only: the tab whose stack the return screen opens on once the modal closes. */
|
|
36
36
|
returnTab?: string;
|
|
37
|
+
/** Passed to the return screen as `doneTab` (a booking returns to that tab once confirmed). */
|
|
38
|
+
returnDoneTab?: string;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
// The screen's boot input survives refresh; consuming it must survive too.
|
|
@@ -79,12 +81,20 @@ function leaveNav(): "dismiss" | "back" {
|
|
|
79
81
|
* only push a second copy of the screen the member is already on. */
|
|
80
82
|
function resumeTarget(s: Pick<S, "returnScreenId" | "returnId" | "returnChannelId">): { screenId: string; args?: Record<string, string> } | null {
|
|
81
83
|
if (!s.returnScreenId || s.returnScreenId === "himi_account") return null;
|
|
82
|
-
|
|
84
|
+
const doneTab = routeDoneTab();
|
|
85
|
+
return s.returnId || s.returnChannelId || doneTab ? {
|
|
83
86
|
screenId: s.returnScreenId,
|
|
84
|
-
args: { ...(s.returnId ? { id: s.returnId } : {}), ...(s.returnChannelId ? { channelId: s.returnChannelId } : {}) },
|
|
87
|
+
args: { ...(s.returnId ? { id: s.returnId } : {}), ...(s.returnChannelId ? { channelId: s.returnChannelId } : {}), ...(doneTab ? { doneTab } : {}) },
|
|
85
88
|
} : { screenId: s.returnScreenId };
|
|
86
89
|
}
|
|
87
90
|
|
|
91
|
+
/** The opener's `returnDoneTab` (a route param): the resumed screen gets it as `doneTab`, so a
|
|
92
|
+
* booking started before sign-in still returns to the tab it began in. Empty when not sent. */
|
|
93
|
+
function routeDoneTab(): string {
|
|
94
|
+
const tab = routeInput().returnDoneTab ?? "";
|
|
95
|
+
return /^[A-Za-z0-9_-]{1,64}$/.test(tab) ? tab : "";
|
|
96
|
+
}
|
|
97
|
+
|
|
88
98
|
/** Resume the member-only screen that sent the visitor here, once. The return path is
|
|
89
99
|
* consumed so a later refresh cannot fire it again; the host opens the target only if
|
|
90
100
|
* it is linkable, the same check an authored `himi.open` gets.
|
|
@@ -209,6 +219,7 @@ function openSignIn(next: S, args: Record<string, string>, after: { screenId: st
|
|
|
209
219
|
back.returnScreenId = after.screenId;
|
|
210
220
|
if (after.args?.id) back.returnId = after.args.id;
|
|
211
221
|
if (after.args?.channelId) back.returnChannelId = after.args.channelId;
|
|
222
|
+
if (after.args?.doneTab) back.returnDoneTab = after.args.doneTab;
|
|
212
223
|
}
|
|
213
224
|
if (!presentation) return navigate(next, { screenId, args: { ...args, ...back } });
|
|
214
225
|
const modalArgs: Record<string, string> = { ...args, modal: "1", ...signInSheetStyle(presentation, signInStyleRequested) };
|
|
@@ -4,6 +4,8 @@ import { COLLECTIONS, COLLECTION_CHROME_MIN_ITEMS, initialCollection, normalizeC
|
|
|
4
4
|
import { localPreferences, type PreferenceRuntime } from './local-preferences.js';
|
|
5
5
|
import { copyParam, stashCopy } from './himi-copy.js';
|
|
6
6
|
import { createCollectionQuery, type CollectionQuerySource, type CollectionQueryState } from './collection-query.js';
|
|
7
|
+
// Type only: the member reader (and the Wix members SDK) stays out of every list that does not opt in.
|
|
8
|
+
import type { MemberAvatarFactory } from './member-avatar.js';
|
|
7
9
|
|
|
8
10
|
export interface CollectionSaving {
|
|
9
11
|
read(): string[];
|
|
@@ -381,8 +383,12 @@ export function defineBackendCollection<S extends object, Row extends object>(na
|
|
|
381
383
|
apply(state: S, page: CollectionQueryState<Row>): S;
|
|
382
384
|
saving?: CollectionSaving;
|
|
383
385
|
actions?: Record<string, (state: S, ...args: unknown[]) => S | undefined | Promise<S | undefined>>;
|
|
386
|
+
/** A top-bar avatar for the signed-in member: `memberAvatarSource` from `member-avatar.ts`. Off
|
|
387
|
+
* until the screen's onAppear asks for it (`memberAvatar: "1"`); the fields are never persisted. */
|
|
388
|
+
memberAvatar?: MemberAvatarFactory;
|
|
384
389
|
}) {
|
|
385
390
|
let publish: (() => unknown) | undefined;
|
|
391
|
+
const avatar = options.memberAvatar?.(() => { publish?.(); });
|
|
386
392
|
const controller = createCollectionQuery({ ...options.source,
|
|
387
393
|
// Access-denial clearing belongs to the opt-in read lifecycle. Keep the legacy
|
|
388
394
|
// collection contract unchanged for templates that have not adopted it.
|
|
@@ -390,12 +396,22 @@ export function defineBackendCollection<S extends object, Row extends object>(na
|
|
|
390
396
|
const definition = decorateCollection(name, { state: options.state as State, actions: options.actions as Record<string, Reducer> | undefined }, options.saving, {
|
|
391
397
|
restorePagesOnLoad: options.restorePagesOnLoad,
|
|
392
398
|
readLifecycle: options.readLifecycle,
|
|
393
|
-
onLoad: options.onLoad,
|
|
399
|
+
onLoad: avatar ? arg => { avatar.onLoad(arg); return options.onLoad?.(arg); } : options.onLoad,
|
|
394
400
|
controller: controller as unknown as BackendCollection['controller'],
|
|
395
|
-
apply: (state, page) =>
|
|
401
|
+
apply: (state, page) => {
|
|
402
|
+
const applied = { ...options.apply(state as S, page as unknown as CollectionQueryState<Row>), ...(options.readLifecycle ? { readStatus: page.read } : {}) } as State;
|
|
403
|
+
return avatar ? avatar.merge(applied) : applied;
|
|
404
|
+
},
|
|
396
405
|
});
|
|
397
|
-
|
|
406
|
+
// The member's photo belongs to this run's account: a cold boot never restores it.
|
|
407
|
+
const baseRegister = options.register ?? register;
|
|
408
|
+
const withAvatarKeys = (avatar ? ((n: string, def: ServiceDefinition<unknown>) => {
|
|
409
|
+
const own = def as { notHydrated?: string[]; notPersisted?: string[] };
|
|
410
|
+
return baseRegister(n, { ...def, notHydrated: [...(own.notHydrated ?? []), ...avatar.keys], notPersisted: [...(own.notPersisted ?? []), ...avatar.keys] } as never);
|
|
411
|
+
}) : baseRegister) as typeof register;
|
|
412
|
+
const registerService = options.onlineWrites ? withOnlineWrites(withAvatarKeys, ['confirmCancel', 'confirmOperation', 'retryOperation', 'commitWrite'], { messageFields: options.onlineWriteMessageFields ?? ['actionMessage'] }) : withAvatarKeys;
|
|
398
413
|
const handle = registerService(name, definition);
|
|
414
|
+
avatar?.resetRestored(handle as unknown as { getState(): unknown });
|
|
399
415
|
// Registration restored the state a cold boot saved: the page it showed is this run's, before the first load. Only
|
|
400
416
|
// when the service's own rows came back with it: a bundle that keeps them out of the restore (its `notHydrated`)
|
|
401
417
|
// starts its first load as before, never from rows it chose not to restore. Rows that came back empty are the
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// The signed-in member's photo and initials for a top-bar avatar on a SHARED list screen
|
|
2
|
+
// (`defineBackendCollection({ memberAvatar })`). A screen opts in with the onAppear param
|
|
3
|
+
// `memberAvatar: "1"`; a screen that does not ask pays nothing. A visitor costs one local
|
|
4
|
+
// identity read per load. A member's profile is read again on each visit, while the last photo
|
|
5
|
+
// stays on screen, so a photo or name saved in Personal info reaches this bar on the next visit.
|
|
6
|
+
import { loadMemberProfile, memberIdentity } from "./himi-account.js";
|
|
7
|
+
|
|
8
|
+
/** The state keys the avatar item binds (`$service:<name>.memberImage` / `.memberInitials`). */
|
|
9
|
+
export const MEMBER_AVATAR_KEYS = ["memberImage", "memberInitials"] as const;
|
|
10
|
+
export interface MemberAvatarFields { memberImage: string; memberInitials: string }
|
|
11
|
+
const NONE: MemberAvatarFields = { memberImage: "", memberInitials: "" };
|
|
12
|
+
|
|
13
|
+
export interface MemberAvatarSource {
|
|
14
|
+
/** The state keys this source writes: kept out of a persisted or restored snapshot. */
|
|
15
|
+
readonly keys: readonly string[];
|
|
16
|
+
/** The load action's argument: starts a read when the screen asked for the avatar. */
|
|
17
|
+
onLoad(arg: unknown): void;
|
|
18
|
+
/** The state with the avatar fields, once the screen asked for them. */
|
|
19
|
+
merge<T extends object>(state: T): T;
|
|
20
|
+
/** Call once after registration. A runtime that ignores `notHydrated` restored the last run's
|
|
21
|
+
* photo on a cold boot (maybe another member's): clear it until this run reads its own. */
|
|
22
|
+
resetRestored(svc: { getState(): unknown }): void;
|
|
23
|
+
}
|
|
24
|
+
export type MemberAvatarFactory = (changed: () => void) => MemberAvatarSource;
|
|
25
|
+
|
|
26
|
+
export interface MemberAvatarReads {
|
|
27
|
+
identity(): Promise<{ email: string; signedIn: boolean }>;
|
|
28
|
+
profile(): Promise<{ isMember: boolean; memberImage: string; memberInitials: string } | undefined>;
|
|
29
|
+
}
|
|
30
|
+
const LIVE: MemberAvatarReads = { identity: memberIdentity, profile: () => loadMemberProfile("").catch(() => undefined) };
|
|
31
|
+
|
|
32
|
+
const asked = (arg: unknown): boolean => {
|
|
33
|
+
const value = arg && typeof arg === "object" ? (arg as { memberAvatar?: unknown }).memberAvatar : undefined;
|
|
34
|
+
return value === "1" || value === true;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** `changed` republishes the list's state (the collection's `collectionDataChanged`). */
|
|
38
|
+
export function memberAvatarSource(changed: () => void, reads: MemberAvatarReads = LIVE): MemberAvatarSource {
|
|
39
|
+
let wanted = false;
|
|
40
|
+
let fields = NONE;
|
|
41
|
+
let seq = 0;
|
|
42
|
+
async function read(): Promise<MemberAvatarFields> {
|
|
43
|
+
const who = await reads.identity();
|
|
44
|
+
if (!who.signedIn) return NONE;
|
|
45
|
+
// No per-account cache: no worker is told when Personal info saves a new photo or name, so
|
|
46
|
+
// only a fresh read sees it. The last fields stay on screen until this read answers.
|
|
47
|
+
const profile = await reads.profile();
|
|
48
|
+
if (!profile?.isMember) return NONE;
|
|
49
|
+
return { memberImage: profile.memberImage, memberInitials: profile.memberInitials };
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
keys: MEMBER_AVATAR_KEYS,
|
|
53
|
+
onLoad(arg) {
|
|
54
|
+
if (!asked(arg)) return;
|
|
55
|
+
wanted = true;
|
|
56
|
+
const mine = ++seq;
|
|
57
|
+
void read().then((next) => {
|
|
58
|
+
// A later load (a sign-out, another account) owns the result.
|
|
59
|
+
if (mine !== seq) return;
|
|
60
|
+
if (next.memberImage === fields.memberImage && next.memberInitials === fields.memberInitials) return;
|
|
61
|
+
fields = next;
|
|
62
|
+
changed();
|
|
63
|
+
}, () => undefined);
|
|
64
|
+
},
|
|
65
|
+
merge(state) {
|
|
66
|
+
return wanted ? { ...state, ...fields } : state;
|
|
67
|
+
},
|
|
68
|
+
resetRestored(svc) {
|
|
69
|
+
// The same signal `resetUnhydratedKeysOnOlderRuntime` (iap-worker.ts) reads.
|
|
70
|
+
if ((globalThis as { himalaya?: { hydrationOptOut?: unknown } }).himalaya?.hydrationOptOut === true) return;
|
|
71
|
+
const booted = svc.getState();
|
|
72
|
+
if (!booted || typeof booted !== "object") return;
|
|
73
|
+
for (const key of MEMBER_AVATAR_KEYS) (booted as Record<string, unknown>)[key] = "";
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -34,6 +34,8 @@ interface AuthRouteInput {
|
|
|
34
34
|
modal?: string;
|
|
35
35
|
/** Modal only: the tab whose stack the return screen opens on once the modal closes. */
|
|
36
36
|
returnTab?: string;
|
|
37
|
+
/** Passed to the return screen as `doneTab` (a booking returns to that tab once confirmed). */
|
|
38
|
+
returnDoneTab?: string;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
// The screen's boot input survives refresh; consuming it must survive too.
|
|
@@ -79,12 +81,20 @@ function leaveNav(): "dismiss" | "back" {
|
|
|
79
81
|
* only push a second copy of the screen the member is already on. */
|
|
80
82
|
function resumeTarget(s: Pick<S, "returnScreenId" | "returnId" | "returnChannelId">): { screenId: string; args?: Record<string, string> } | null {
|
|
81
83
|
if (!s.returnScreenId || s.returnScreenId === "himi_account") return null;
|
|
82
|
-
|
|
84
|
+
const doneTab = routeDoneTab();
|
|
85
|
+
return s.returnId || s.returnChannelId || doneTab ? {
|
|
83
86
|
screenId: s.returnScreenId,
|
|
84
|
-
args: { ...(s.returnId ? { id: s.returnId } : {}), ...(s.returnChannelId ? { channelId: s.returnChannelId } : {}) },
|
|
87
|
+
args: { ...(s.returnId ? { id: s.returnId } : {}), ...(s.returnChannelId ? { channelId: s.returnChannelId } : {}), ...(doneTab ? { doneTab } : {}) },
|
|
85
88
|
} : { screenId: s.returnScreenId };
|
|
86
89
|
}
|
|
87
90
|
|
|
91
|
+
/** The opener's `returnDoneTab` (a route param): the resumed screen gets it as `doneTab`, so a
|
|
92
|
+
* booking started before sign-in still returns to the tab it began in. Empty when not sent. */
|
|
93
|
+
function routeDoneTab(): string {
|
|
94
|
+
const tab = routeInput().returnDoneTab ?? "";
|
|
95
|
+
return /^[A-Za-z0-9_-]{1,64}$/.test(tab) ? tab : "";
|
|
96
|
+
}
|
|
97
|
+
|
|
88
98
|
/** Resume the member-only screen that sent the visitor here, once. The return path is
|
|
89
99
|
* consumed so a later refresh cannot fire it again; the host opens the target only if
|
|
90
100
|
* it is linkable, the same check an authored `himi.open` gets.
|
|
@@ -209,6 +219,7 @@ function openSignIn(next: S, args: Record<string, string>, after: { screenId: st
|
|
|
209
219
|
back.returnScreenId = after.screenId;
|
|
210
220
|
if (after.args?.id) back.returnId = after.args.id;
|
|
211
221
|
if (after.args?.channelId) back.returnChannelId = after.args.channelId;
|
|
222
|
+
if (after.args?.doneTab) back.returnDoneTab = after.args.doneTab;
|
|
212
223
|
}
|
|
213
224
|
if (!presentation) return navigate(next, { screenId, args: { ...args, ...back } });
|
|
214
225
|
const modalArgs: Record<string, string> = { ...args, modal: "1", ...signInSheetStyle(presentation, signInStyleRequested) };
|
|
@@ -7647,7 +7647,8 @@ const SCREENS = runtimeSetting({
|
|
|
7647
7647
|
"suggestions": "off",
|
|
7648
7648
|
"onChange": {
|
|
7649
7649
|
"actionId": "tier5.himiBrandedAccountPassword.setNewPassword"
|
|
7650
|
-
}
|
|
7650
|
+
},
|
|
7651
|
+
"errorPath": "$service:himiBrandedAccountPassword.newError"
|
|
7651
7652
|
}
|
|
7652
7653
|
},
|
|
7653
7654
|
"modifiers": {
|
|
@@ -16467,7 +16468,8 @@ const SCREENS = runtimeSetting({
|
|
|
16467
16468
|
"wix_api",
|
|
16468
16469
|
"local_database",
|
|
16469
16470
|
"calendar",
|
|
16470
|
-
"open_url"
|
|
16471
|
+
"open_url",
|
|
16472
|
+
"ui"
|
|
16471
16473
|
],
|
|
16472
16474
|
"minBinaryVersion": "0.1.0",
|
|
16473
16475
|
"bundleVersion": "0.0.1"
|
|
@@ -18249,7 +18251,8 @@ const SCREENS = runtimeSetting({
|
|
|
18249
18251
|
"app_info",
|
|
18250
18252
|
"calendar",
|
|
18251
18253
|
"open_url",
|
|
18252
|
-
"local_database"
|
|
18254
|
+
"local_database",
|
|
18255
|
+
"ui"
|
|
18253
18256
|
],
|
|
18254
18257
|
"minBinaryVersion": "0.1.0",
|
|
18255
18258
|
"bundleVersion": "0.0.1"
|
|
@@ -39043,6 +39046,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
|
|
|
39043
39046
|
"local_database",
|
|
39044
39047
|
"app_info",
|
|
39045
39048
|
"iap",
|
|
39049
|
+
"ui",
|
|
39046
39050
|
"wix_cashier",
|
|
39047
39051
|
"open_url",
|
|
39048
39052
|
"wix_platform"
|
|
@@ -2635,6 +2635,16 @@
|
|
|
2635
2635
|
"translation": "لم يتم تغيير كلمة المرور. حاول مجددًا.",
|
|
2636
2636
|
"origin": "machine"
|
|
2637
2637
|
},
|
|
2638
|
+
"h_6d333f1445af": {
|
|
2639
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2640
|
+
"translation": "كلمة المرور هذه لا تستوفي متطلبات هذا الموقع. استخدم كلمة مرور أطول تحتوي على أحرف وأرقام ورموز.",
|
|
2641
|
+
"origin": "machine"
|
|
2642
|
+
},
|
|
2643
|
+
"h_bdac825a9da1": {
|
|
2644
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2645
|
+
"translation": "محاولات كثيرة جدًا. انتظر بضع دقائق، ثم حاول مرة أخرى.",
|
|
2646
|
+
"origin": "machine"
|
|
2647
|
+
},
|
|
2638
2648
|
"h_f628c273c1eb": {
|
|
2639
2649
|
"source": "A reset link could not be sent. Try again.",
|
|
2640
2650
|
"translation": "تعذّر إرسال رابط إعادة التعيين. حاول مجددًا.",
|
|
@@ -2635,6 +2635,16 @@
|
|
|
2635
2635
|
"translation": "Vaše heslo nebylo změněno. Zkuste to znovu.",
|
|
2636
2636
|
"origin": "machine"
|
|
2637
2637
|
},
|
|
2638
|
+
"h_6d333f1445af": {
|
|
2639
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2640
|
+
"translation": "Toto heslo nesplňuje požadavky tohoto webu. Použijte delší heslo s písmeny, číslicemi a symboly.",
|
|
2641
|
+
"origin": "machine"
|
|
2642
|
+
},
|
|
2643
|
+
"h_bdac825a9da1": {
|
|
2644
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2645
|
+
"translation": "Příliš mnoho pokusů. Počkejte několik minut a zkuste to znovu.",
|
|
2646
|
+
"origin": "machine"
|
|
2647
|
+
},
|
|
2638
2648
|
"h_f628c273c1eb": {
|
|
2639
2649
|
"source": "A reset link could not be sent. Try again.",
|
|
2640
2650
|
"translation": "Odkaz pro obnovení se nepodařilo odeslat. Zkuste to znovu.",
|
|
@@ -2635,6 +2635,16 @@
|
|
|
2635
2635
|
"translation": "Din adgangskode blev ikke ændret. Prøv igen.",
|
|
2636
2636
|
"origin": "machine"
|
|
2637
2637
|
},
|
|
2638
|
+
"h_6d333f1445af": {
|
|
2639
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2640
|
+
"translation": "Denne adgangskode opfylder ikke webstedets krav. Brug en længere adgangskode med bogstaver, tal og symboler.",
|
|
2641
|
+
"origin": "machine"
|
|
2642
|
+
},
|
|
2643
|
+
"h_bdac825a9da1": {
|
|
2644
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2645
|
+
"translation": "For mange forsøg. Vent et par minutter, og prøv så igen.",
|
|
2646
|
+
"origin": "machine"
|
|
2647
|
+
},
|
|
2638
2648
|
"h_f628c273c1eb": {
|
|
2639
2649
|
"source": "A reset link could not be sent. Try again.",
|
|
2640
2650
|
"translation": "Et nulstillingslink kunne ikke sendes. Prøv igen.",
|
|
@@ -2635,6 +2635,16 @@
|
|
|
2635
2635
|
"translation": "Dein Passwort wurde nicht geändert. Versuche es erneut.",
|
|
2636
2636
|
"origin": "machine"
|
|
2637
2637
|
},
|
|
2638
|
+
"h_6d333f1445af": {
|
|
2639
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2640
|
+
"translation": "Dieses Passwort erfüllt die Anforderungen dieser Website nicht. Verwende ein längeres Passwort mit Buchstaben, Zahlen und Symbolen.",
|
|
2641
|
+
"origin": "machine"
|
|
2642
|
+
},
|
|
2643
|
+
"h_bdac825a9da1": {
|
|
2644
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2645
|
+
"translation": "Zu viele Versuche. Warte ein paar Minuten und versuche es dann erneut.",
|
|
2646
|
+
"origin": "machine"
|
|
2647
|
+
},
|
|
2638
2648
|
"h_f628c273c1eb": {
|
|
2639
2649
|
"source": "A reset link could not be sent. Try again.",
|
|
2640
2650
|
"translation": "Ein Link zum Zurücksetzen konnte nicht gesendet werden. Versuche es erneut.",
|
|
@@ -2635,6 +2635,16 @@
|
|
|
2635
2635
|
"translation": "Ο κωδικός πρόσβασής σας δεν άλλαξε. Δοκιμάστε ξανά.",
|
|
2636
2636
|
"origin": "machine"
|
|
2637
2637
|
},
|
|
2638
|
+
"h_6d333f1445af": {
|
|
2639
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2640
|
+
"translation": "Αυτός ο κωδικός πρόσβασης δεν πληροί τις απαιτήσεις αυτού του ιστότοπου. Χρησιμοποιήστε μεγαλύτερο κωδικό με γράμματα, αριθμούς και σύμβολα.",
|
|
2641
|
+
"origin": "machine"
|
|
2642
|
+
},
|
|
2643
|
+
"h_bdac825a9da1": {
|
|
2644
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2645
|
+
"translation": "Πάρα πολλές προσπάθειες. Περιμένετε λίγα λεπτά και δοκιμάστε ξανά.",
|
|
2646
|
+
"origin": "machine"
|
|
2647
|
+
},
|
|
2638
2648
|
"h_f628c273c1eb": {
|
|
2639
2649
|
"source": "A reset link could not be sent. Try again.",
|
|
2640
2650
|
"translation": "Δεν ήταν δυνατή η αποστολή συνδέσμου επαναφοράς. Δοκιμάστε ξανά.",
|
|
@@ -2635,6 +2635,16 @@
|
|
|
2635
2635
|
"translation": "Tu contraseña no se cambió. Inténtalo de nuevo.",
|
|
2636
2636
|
"origin": "machine"
|
|
2637
2637
|
},
|
|
2638
|
+
"h_6d333f1445af": {
|
|
2639
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2640
|
+
"translation": "Esta contraseña no cumple los requisitos de este sitio. Usa una contraseña más larga con letras, números y símbolos.",
|
|
2641
|
+
"origin": "machine"
|
|
2642
|
+
},
|
|
2643
|
+
"h_bdac825a9da1": {
|
|
2644
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2645
|
+
"translation": "Demasiados intentos. Espera unos minutos y vuelve a intentarlo.",
|
|
2646
|
+
"origin": "machine"
|
|
2647
|
+
},
|
|
2638
2648
|
"h_f628c273c1eb": {
|
|
2639
2649
|
"source": "A reset link could not be sent. Try again.",
|
|
2640
2650
|
"translation": "No se pudo enviar el enlace de restablecimiento. Inténtalo de nuevo.",
|
|
@@ -2635,6 +2635,16 @@
|
|
|
2635
2635
|
"translation": "Salasanaasi ei vaihdettu. Yritä uudelleen.",
|
|
2636
2636
|
"origin": "machine"
|
|
2637
2637
|
},
|
|
2638
|
+
"h_6d333f1445af": {
|
|
2639
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2640
|
+
"translation": "Tämä salasana ei täytä sivuston vaatimuksia. Käytä pidempää salasanaa, jossa on kirjaimia, numeroita ja symboleja.",
|
|
2641
|
+
"origin": "machine"
|
|
2642
|
+
},
|
|
2643
|
+
"h_bdac825a9da1": {
|
|
2644
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2645
|
+
"translation": "Liian monta yritystä. Odota muutama minuutti ja yritä sitten uudelleen.",
|
|
2646
|
+
"origin": "machine"
|
|
2647
|
+
},
|
|
2638
2648
|
"h_f628c273c1eb": {
|
|
2639
2649
|
"source": "A reset link could not be sent. Try again.",
|
|
2640
2650
|
"translation": "Palautuslinkkiä ei voitu lähettää. Yritä uudelleen.",
|
|
@@ -2615,6 +2615,16 @@
|
|
|
2615
2615
|
"translation": "Votre mot de passe n'a pas été modifié. Réessayez.",
|
|
2616
2616
|
"origin": "machine"
|
|
2617
2617
|
},
|
|
2618
|
+
"h_6d333f1445af": {
|
|
2619
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
2620
|
+
"translation": "Ce mot de passe ne respecte pas les exigences de ce site. Utilisez un mot de passe plus long avec des lettres, des chiffres et des symboles.",
|
|
2621
|
+
"origin": "machine"
|
|
2622
|
+
},
|
|
2623
|
+
"h_bdac825a9da1": {
|
|
2624
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
2625
|
+
"translation": "Trop de tentatives. Attendez quelques minutes, puis réessayez.",
|
|
2626
|
+
"origin": "machine"
|
|
2627
|
+
},
|
|
2618
2628
|
"h_f628c273c1eb": {
|
|
2619
2629
|
"source": "A reset link could not be sent. Try again.",
|
|
2620
2630
|
"translation": "Impossible d'envoyer un lien de réinitialisation. Réessayez.",
|