@wix/himalaya-cli 0.1848.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/{be9ff72d96dfef67029e903c48401f39d4948392a51b16e90c5c6d7d91df7391.bin → 166f7ee733ea8d0fe7bba8b796232efd4f5413e22af4a8aeee20cae1069b2fd6.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +63 -48
- package/dist/preview-assets.generated.bin +0 -0
- 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/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/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/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/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/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/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/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/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/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/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/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
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Salasanaasi ei vaihdettu. Yritä uudelleen.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Tämä salasana ei täytä sivuston vaatimuksia. Käytä pidempää salasanaa, jossa on kirjaimia, numeroita ja symboleja.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Liian monta yritystä. Odota muutama minuutti ja yritä sitten uudelleen.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Palautuslinkkiä ei voitu lähettää. Yritä uudelleen.",
|
|
@@ -5416,6 +5416,16 @@
|
|
|
5416
5416
|
"translation": "Votre mot de passe n'a pas été modifié. Réessayez.",
|
|
5417
5417
|
"origin": "machine"
|
|
5418
5418
|
},
|
|
5419
|
+
"h_6d333f1445af": {
|
|
5420
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5421
|
+
"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.",
|
|
5422
|
+
"origin": "machine"
|
|
5423
|
+
},
|
|
5424
|
+
"h_bdac825a9da1": {
|
|
5425
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5426
|
+
"translation": "Trop de tentatives. Attendez quelques minutes, puis réessayez.",
|
|
5427
|
+
"origin": "machine"
|
|
5428
|
+
},
|
|
5419
5429
|
"h_f628c273c1eb": {
|
|
5420
5430
|
"source": "A reset link could not be sent. Try again.",
|
|
5421
5431
|
"translation": "Impossible d'envoyer un lien de réinitialisation. Réessayez.",
|
|
@@ -4511,6 +4511,14 @@
|
|
|
4511
4511
|
"source": "Your password was not changed. Try again.",
|
|
4512
4512
|
"translation": "הסיסמה שלך לא שונתה. יש לנסות שוב."
|
|
4513
4513
|
},
|
|
4514
|
+
"h_6d333f1445af": {
|
|
4515
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
4516
|
+
"translation": "הסיסמה הזו לא עומדת בדרישות של האתר. יש לבחור סיסמה ארוכה יותר עם אותיות, מספרים וסמלים."
|
|
4517
|
+
},
|
|
4518
|
+
"h_bdac825a9da1": {
|
|
4519
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
4520
|
+
"translation": "יותר מדי ניסיונות. יש להמתין כמה דקות ולנסות שוב."
|
|
4521
|
+
},
|
|
4514
4522
|
"h_f628c273c1eb": {
|
|
4515
4523
|
"source": "A reset link could not be sent. Try again.",
|
|
4516
4524
|
"translation": "לא ניתן לשלוח קישור לאיפוס. יש לנסות שוב."
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "A jelszavad nem változott meg. Próbáld újra.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Ez a jelszó nem felel meg az oldal követelményeinek. Használjon hosszabb jelszót betűkkel, számokkal és szimbólumokkal.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Túl sok próbálkozás. Várjon néhány percet, majd próbálja újra.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "A visszaállítási hivatkozást nem sikerült elküldeni. Próbáld újra.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Kata sandi Anda tidak diubah. Coba lagi.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Kata sandi ini tidak memenuhi persyaratan situs ini. Gunakan kata sandi yang lebih panjang dengan huruf, angka, dan simbol.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Terlalu banyak percobaan. Tunggu beberapa menit, lalu coba lagi.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Tautan reset tidak dapat dikirim. Coba lagi.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "La tua password non è stata cambiata. Riprova.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Questa password non soddisfa i requisiti del sito. Usa una password più lunga con lettere, numeri e simboli.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Troppi tentativi. Attendi qualche minuto, poi riprova.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Impossibile inviare il link di reimpostazione. Riprova.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "パスワードは変更されませんでした。もう一度お試しください。",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "このパスワードはサイトの要件を満たしていません。文字、数字、記号を含む、より長いパスワードを使用してください。",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "試行回数が多すぎます。数分待ってから、もう一度お試しください。",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "リセット用リンクを送信できませんでした。もう一度お試しください。",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "비밀번호가 변경되지 않았어요. 다시 시도해주세요.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "이 비밀번호는 사이트 요구 사항을 충족하지 않습니다. 문자, 숫자, 기호를 포함한 더 긴 비밀번호를 사용하세요.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "시도 횟수가 너무 많습니다. 몇 분 후에 다시 시도하세요.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "재설정 링크를 보낼 수 없어요. 다시 시도해주세요.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Jūsų slaptažodis nepakeistas. Bandykite vėl.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Šis slaptažodis neatitinka svetainės reikalavimų. Naudokite ilgesnį slaptažodį su raidėmis, skaičiais ir simboliais.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Per daug bandymų. Palaukite kelias minutes ir bandykite dar kartą.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Nepavyko išsiųsti atkūrimo nuorodos. Bandykite vėl.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Je wachtwoord is niet gewijzigd. Probeer het opnieuw.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Dit wachtwoord voldoet niet aan de vereisten van deze site. Gebruik een langer wachtwoord met letters, cijfers en symbolen.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Te veel pogingen. Wacht een paar minuten en probeer het dan opnieuw.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Er kon geen resetlink worden verzonden. Probeer het opnieuw.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Passordet ditt ble ikke endret. Prøv igjen.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Dette passordet oppfyller ikke kravene til dette nettstedet. Bruk et lengre passord med bokstaver, tall og symboler.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "For mange forsøk. Vent noen minutter, og prøv deretter på nytt.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Tilbakestillingslenken kunne ikke sendes. Prøv igjen.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Twoje hasło nie zostało zmienione. Spróbuj ponownie.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "To hasło nie spełnia wymagań tej witryny. Użyj dłuższego hasła z literami, cyframi i symbolami.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Zbyt wiele prób. Odczekaj kilka minut i spróbuj ponownie.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Nie udało się wysłać linku do resetowania. Spróbuj ponownie.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Sua senha não foi alterada. Tente novamente.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Esta senha não atende aos requisitos deste site. Use uma senha mais longa com letras, números e símbolos.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Muitas tentativas. Aguarde alguns minutos e tente novamente.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Não foi possível enviar o link de redefinição. Tente novamente.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Пароль не изменен. Попробуйте еще раз.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Этот пароль не соответствует требованиям сайта. Используйте более длинный пароль с буквами, цифрами и символами.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Слишком много попыток. Подождите несколько минут и повторите попытку.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Не удалось отправить ссылку для сброса. Попробуйте еще раз.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Ditt lösenord ändrades inte. Försök igen.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Det här lösenordet uppfyller inte webbplatsens krav. Använd ett längre lösenord med bokstäver, siffror och symboler.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "För många försök. Vänta några minuter och försök sedan igen.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Det gick inte att skicka en återställningslänk. Försök igen.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "ไม่ได้เปลี่ยนรหัสผ่านของคุณ กรุณาลองอีกครั้ง",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "รหัสผ่านนี้ไม่ตรงตามข้อกำหนดของเว็บไซต์ ใช้รหัสผ่านที่ยาวขึ้นซึ่งมีตัวอักษร ตัวเลข และสัญลักษณ์",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "พยายามหลายครั้งเกินไป รอสักครู่แล้วลองอีกครั้ง",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "ส่งลิงก์รีเซ็ตไม่ได้ กรุณาลองอีกครั้ง",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Şifreniz değiştirilmedi. Tekrar deneyin.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Bu şifre sitenin gereksinimlerini karşılamıyor. Harf, rakam ve sembol içeren daha uzun bir şifre kullanın.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Çok fazla deneme yapıldı. Birkaç dakika bekleyip tekrar deneyin.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Sıfırlama bağlantısı gönderilemedi. Tekrar deneyin.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Ваш пароль не змінено. Спробуйте ще раз.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Цей пароль не відповідає вимогам сайту. Використайте довший пароль із літерами, цифрами та символами.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Забагато спроб. Зачекайте кілька хвилин і спробуйте ще раз.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Не вдалося надіслати посилання для скидання. Спробуйте ще раз.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "Mật khẩu của bạn chưa được thay đổi. Hãy thử lại.",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "Mật khẩu này không đáp ứng yêu cầu của trang web. Hãy dùng mật khẩu dài hơn có chữ cái, số và ký hiệu.",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "Quá nhiều lần thử. Hãy đợi vài phút rồi thử lại.",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "Không thể gửi liên kết đặt lại. Hãy thử lại.",
|
|
@@ -5436,6 +5436,16 @@
|
|
|
5436
5436
|
"translation": "您的密碼未變更。請再試一次。",
|
|
5437
5437
|
"origin": "machine"
|
|
5438
5438
|
},
|
|
5439
|
+
"h_6d333f1445af": {
|
|
5440
|
+
"source": "This password doesn’t meet this site’s requirements. Use a longer password with letters, numbers and symbols.",
|
|
5441
|
+
"translation": "此密码不符合本网站的要求。请使用包含字母、数字和符号的更长密码。",
|
|
5442
|
+
"origin": "machine"
|
|
5443
|
+
},
|
|
5444
|
+
"h_bdac825a9da1": {
|
|
5445
|
+
"source": "Too many attempts. Wait a few minutes, then try again.",
|
|
5446
|
+
"translation": "尝试次数过多。请等待几分钟后再试。",
|
|
5447
|
+
"origin": "machine"
|
|
5448
|
+
},
|
|
5439
5449
|
"h_f628c273c1eb": {
|
|
5440
5450
|
"source": "A reset link could not be sent. Try again.",
|
|
5441
5451
|
"translation": "無法傳送重設連結。請再試一次。",
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// An action's outcome as the platform snackbar (`@himalaya/ui` `snackbar`, `capability.ui.snackbar`)
|
|
2
|
+
// instead of a screen's own result sheet (a non-modal inline BottomSheet drawn to look like one).
|
|
3
|
+
//
|
|
4
|
+
// Opt-in, per screen: the screen's load params carry `resultSnackbar: "1"` (an app that also drops
|
|
5
|
+
// the screen's result sheets from its descriptors, e.g. Fitness Coach). Without it the worker keeps
|
|
6
|
+
// presenting its sheet, so apps that did not opt in are unchanged.
|
|
7
|
+
import { snackbar, type SnackbarAction, type SnackbarTone } from "@himalaya/ui";
|
|
8
|
+
|
|
9
|
+
let enabled = false;
|
|
10
|
+
|
|
11
|
+
/** Reads the opt-in from a load's params. Once on, it stays on for this worker. */
|
|
12
|
+
export function readResultSnackbar(arg: unknown): void {
|
|
13
|
+
const value = (arg as { resultSnackbar?: unknown } | null | undefined)?.resultSnackbar;
|
|
14
|
+
if (value === "1" || value === true) enabled = true;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** True when this screen shows its outcomes as snackbars. */
|
|
18
|
+
export function resultSnackbarOn(): boolean {
|
|
19
|
+
return enabled;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** Shows `message` as the platform snackbar. Never throws: a host with no snackbar drops it. */
|
|
23
|
+
export function showResultSnackbar(message: string, tone: SnackbarTone, action?: SnackbarAction): void {
|
|
24
|
+
if (!message) return;
|
|
25
|
+
void snackbar({ message, tone, ...(action ? { action } : {}) }).catch(() => undefined);
|
|
26
|
+
}
|
|
@@ -5,6 +5,7 @@ import { open } from "@himalaya/open-url";
|
|
|
5
5
|
import { wixMediaUrl, WIX_LIST_IMAGE } from "@himalaya/wix-media";
|
|
6
6
|
import { navigate } from "@himalaya/state";
|
|
7
7
|
import { copyParam, copyTemplate } from "../_shared/himi-copy.js";
|
|
8
|
+
import { readResultSnackbar, resultSnackbarOn, showResultSnackbar } from "../_shared/result-snackbar.js";
|
|
8
9
|
import { memberAccess, assertMemberAccess, memberAccessChanged, memberAccessDenied, type MemberAccess } from "../_shared/member-access.js";
|
|
9
10
|
import { fetchMemberBookings, CANCELLED_STATUSES, UNCONFIRMED_STATUSES, type MemberBookingRow } from "../_shared/member-bookings.js";
|
|
10
11
|
import { emitHostEvent } from "../_shared/host-events.js";
|
|
@@ -277,7 +278,12 @@ function derive(s: S): S {
|
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
const closeSheet = () => { openId = ""; confirming = false; sheetMessage = ""; };
|
|
280
|
-
|
|
281
|
+
/** An action's outcome: the result sheet, or (opted in, `resultSnackbar`) the platform snackbar. */
|
|
282
|
+
function setResult(text: string, done: boolean): void {
|
|
283
|
+
if (resultSnackbarOn()) { showResultSnackbar(text, done ? "success" : "info"); result = null; return; }
|
|
284
|
+
result = { text, done };
|
|
285
|
+
}
|
|
286
|
+
const showResult = (s: S, text: string, done: boolean): S => { closeSheet(); setResult(text, done); return derive(s); };
|
|
281
287
|
|
|
282
288
|
const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings", {
|
|
283
289
|
onlineWrites: true,
|
|
@@ -295,6 +301,7 @@ const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings",
|
|
|
295
301
|
sheetLine: "", sheetMessage: "", cancelling: false, resultOpen: false, resultText: "", resultDone: false, resultNotDone: true,
|
|
296
302
|
weeklyLabel: "", weeklyRemainingLabel: "", weeklyPct: 0, weeklyMet: false, hideTracker: true, nextCursor: "" }),
|
|
297
303
|
onLoad(arg) {
|
|
304
|
+
readResultSnackbar(arg);
|
|
298
305
|
const goal = parseWeeklyGoal((arg as Record<string, unknown> | undefined)?.weeklyGoal);
|
|
299
306
|
if (goal) weeklyGoal = goal;
|
|
300
307
|
// A deep link (the home "next booking", the place summary) names a booking: open its sheet once
|
|
@@ -397,7 +404,7 @@ const svc = defineBackendCollection<S, MemberBookingRow>("himiBookingBookings",
|
|
|
397
404
|
// Told to the app hosting this screen (an embed's `onAction`); dropped where nothing hosts it.
|
|
398
405
|
await emitHostEvent("booking.cancelled", { bookingId: row.id, serviceId: row.serviceId,
|
|
399
406
|
serviceName: row.title, start: row.start, end: row.end });
|
|
400
|
-
|
|
407
|
+
setResult(copyParam("bookings.cancelDone", "Booking canceled."), true);
|
|
401
408
|
await svc.refresh();
|
|
402
409
|
return derive(svc.getState() as unknown as S);
|
|
403
410
|
} catch (error) {
|
|
@@ -215,6 +215,13 @@ function inputSession(): { sessionId: string; start: string } {
|
|
|
215
215
|
return { sessionId: start && typeof input?.sessionId === "string" ? input.sessionId.trim() : "", start };
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
/** `{ doneTab }` when this screen was opened with one (`himalaya.input.doneTab`): Choose Time gets it,
|
|
219
|
+
* so a confirmed booking returns to the tab the flow started in. `{}` otherwise. */
|
|
220
|
+
function doneTabArg(): { doneTab?: string } {
|
|
221
|
+
const tab = (globalThis as { himalaya?: { input?: { doneTab?: unknown } } }).himalaya?.input?.doneTab;
|
|
222
|
+
return typeof tab === "string" && /^[A-Za-z0-9_-]{1,64}$/.test(tab) ? { doneTab: tab } : {};
|
|
223
|
+
}
|
|
224
|
+
|
|
218
225
|
function stringOf(value: unknown): string {
|
|
219
226
|
return typeof value === "string" ? value.trim() : "";
|
|
220
227
|
}
|
|
@@ -1126,14 +1133,14 @@ const svc = defineService<S, {
|
|
|
1126
1133
|
const current: S = svc.getState?.() ?? s;
|
|
1127
1134
|
return nav ? navigate(current, nav) : current;
|
|
1128
1135
|
},
|
|
1129
|
-
chooseTime: (s) => (s.id && s.hasService ? navigate(s, { screenId: "himi_time", args: { id: s.id, ...(s.isCourse ? { course: "true" } : {}) } }) : s),
|
|
1136
|
+
chooseTime: (s) => (s.id && s.hasService ? navigate(s, { screenId: "himi_time", args: { id: s.id, ...(s.isCourse ? { course: "true" } : {}), ...doneTabArg() } }) : s),
|
|
1130
1137
|
// Book the session the screen opened on: Choose Time opens with it picked — the Agenda row's
|
|
1131
1138
|
// own Book (`{ id, start, sessionId }`), so the member does not choose the time again.
|
|
1132
1139
|
book: (s) => (s.id && s.hasService && s.sessionControl === "book"
|
|
1133
|
-
? navigate(s, { screenId: "himi_time", args: { id: s.id, start: s.sessionStart, sessionId: s.sessionId } })
|
|
1140
|
+
? navigate(s, { screenId: "himi_time", args: { id: s.id, start: s.sessionStart, sessionId: s.sessionId, ...doneTabArg() } })
|
|
1134
1141
|
: s),
|
|
1135
1142
|
// "Change time": Choose Time for the service, with nothing picked.
|
|
1136
|
-
changeTime: (s) => (s.id && s.hasService ? navigate(s, { screenId: "himi_time", args: { id: s.id } }) : s),
|
|
1143
|
+
changeTime: (s) => (s.id && s.hasService ? navigate(s, { screenId: "himi_time", args: { id: s.id, ...doneTabArg() } }) : s),
|
|
1137
1144
|
// Join the session's waitlist from here — the Agenda row's join: a visitor signs in first; the
|
|
1138
1145
|
// member's email and name are read, and the registration goes out only while the member is the
|
|
1139
1146
|
// one the session's place was read for. The screen then shows "On waitlist".
|
|
@@ -1148,7 +1155,7 @@ const svc = defineService<S, {
|
|
|
1148
1155
|
joining = false;
|
|
1149
1156
|
// Without a sign-in screen, Choose Time opens on the session: it signs a guest in and
|
|
1150
1157
|
// joins the waitlist itself. A sign-in sheet only closes, and this screen loads again.
|
|
1151
|
-
if (!signInScreenId) return navigate(s, { screenId: "himi_time", args: { id: s.id, start: s.sessionStart, sessionId: s.sessionId } });
|
|
1158
|
+
if (!signInScreenId) return navigate(s, { screenId: "himi_time", args: { id: s.id, start: s.sessionStart, sessionId: s.sessionId, ...doneTabArg() } });
|
|
1152
1159
|
return navigate(s, signInPresentation
|
|
1153
1160
|
? { screenId: signInScreenId, presentation: signInPresentation, args: { mode: "signin", modal: "1", ...signInSheetStyle(signInPresentation, signInStyle) } }
|
|
1154
1161
|
: { screenId: signInScreenId, args: { mode: "signin" } });
|