@wix/himalaya-cli 0.1870.0 → 0.1872.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-module.d.ts +3 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/portfolio/src/index.d.ts +19 -0
- package/dist/cli.mjs +90 -39
- package/fixtures/wix-canned.json +8 -0
- package/guides/android-ux.md +3 -2
- package/guides/designing-himi-screens.md +10 -4
- package/guides/ios-ux.md +3 -2
- package/guides/release-notes.md +18 -0
- package/guides/sdk-reference.json +8 -1
- package/package.json +2 -2
- package/template-icons/professional-services.png +0 -0
- package/templates/bare-fashion/config.ts +37 -2
- package/templates/bare-fashion/dev/index.ts +4006 -48
- package/templates/bare-fashion/himalaya.content.json +15 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/bare-fashion/tier5-src/_shared/member-account-routes.ts +56 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/beauty-salon/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/branded-lite/dev/index.ts +22 -1
- 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-contract.ts +6 -1
- package/templates/branded-lite/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/branded-lite/tier5-src/_shared/portfolio-details.ts +70 -0
- package/templates/branded-lite/tier5-src/himi-branded-lite-coupons/index.ts +13 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio/index.ts +90 -9
- package/templates/branded-lite/tier5-src/himi-branded-lite-portfolio-project/index.ts +53 -4
- package/templates/branded-lite/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/branded-lite/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/branded-lite/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/brandy/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/community-club/dev/index.ts +20 -0
- 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-contract.ts +6 -1
- package/templates/community-club/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/community-club/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/community-club/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/community-club/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/community-club-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/conference/config.ts +43 -1
- package/templates/conference/dev/index.ts +4147 -0
- package/templates/conference/himalaya.content.json +18 -0
- package/templates/conference/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/conference/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
- package/templates/conference/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
- package/templates/conference/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/conference/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/conference/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/conference/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/events-meetups/dev/index.ts +20 -0
- 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-contract.ts +6 -1
- package/templates/events-meetups/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/events-meetups/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/events-meetups/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/events-meetups/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/events-meetups-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/gym-fitness/dev/index.ts +20 -0
- 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-contract.ts +6 -1
- package/templates/gym-fitness/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/gym-fitness/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/gym-fitness/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/medical-services/config.ts +42 -0
- package/templates/medical-services/dev/index.ts +4136 -0
- package/templates/medical-services/himalaya.content.json +18 -0
- package/templates/medical-services/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
- package/templates/medical-services/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/nonprofit-cause/dev/index.ts +20 -0
- 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-contract.ts +6 -1
- package/templates/nonprofit-cause/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/nonprofit-cause/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/nonprofit-cause/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/owner-lite/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/podcast-creator/dev/index.ts +20 -0
- 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-contract.ts +6 -1
- package/templates/podcast-creator/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/podcast-creator/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/podcast-creator/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/portfolio-creative/dev/index.ts +22 -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-contract.ts +6 -1
- package/templates/portfolio-creative/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/portfolio-creative/tier5-src/_shared/portfolio-details.ts +70 -0
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio/index.ts +90 -9
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-portfolio-project/index.ts +53 -4
- package/templates/portfolio-creative/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/portfolio-creative/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/professional-services/README.md +55 -0
- package/templates/professional-services/config.ts +436 -0
- package/templates/professional-services/dev/index.ts +44772 -0
- package/templates/professional-services/himalaya.content.json +100 -0
- package/templates/professional-services/himalaya.template.json +16 -0
- package/templates/professional-services/icon.png +0 -0
- package/templates/professional-services/platforms.json +1 -0
- package/templates/professional-services/tier5-src/_shared/app-locale.ts +70 -0
- package/templates/professional-services/tier5-src/_shared/booking-location.ts +147 -0
- package/templates/professional-services/tier5-src/_shared/booking-session.ts +224 -0
- package/templates/professional-services/tier5-src/_shared/branded-lite-hosted.ts +282 -0
- package/templates/professional-services/tier5-src/_shared/branded-load-state.ts +109 -0
- package/templates/professional-services/tier5-src/_shared/business-chat-copy.ts +40 -0
- package/templates/professional-services/tier5-src/_shared/business-chat-history.ts +51 -0
- package/templates/professional-services/tier5-src/_shared/business-chat-message-model.ts +177 -0
- package/templates/professional-services/tier5-src/_shared/business-chat-model.ts +56 -0
- package/templates/professional-services/tier5-src/_shared/business-chat-presenter.ts +587 -0
- package/templates/professional-services/tier5-src/_shared/business-chat-transport.ts +164 -0
- package/templates/professional-services/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/professional-services/tier5-src/_shared/collection-contract.ts +232 -0
- package/templates/professional-services/tier5-src/_shared/collection-query.ts +201 -0
- package/templates/professional-services/tier5-src/_shared/collection-service.ts +429 -0
- package/templates/professional-services/tier5-src/_shared/detail-presence.ts +51 -0
- package/templates/professional-services/tier5-src/_shared/engine-intl.ts +538 -0
- package/templates/professional-services/tier5-src/_shared/event-registration.ts +86 -0
- package/templates/professional-services/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/professional-services/tier5-src/_shared/faq-list.ts +405 -0
- package/templates/professional-services/tier5-src/_shared/featured-event.ts +63 -0
- package/templates/professional-services/tier5-src/_shared/group-member-count.ts +15 -0
- package/templates/professional-services/tier5-src/_shared/group-privacy.ts +14 -0
- package/templates/professional-services/tier5-src/_shared/guest-sign-in.ts +36 -0
- package/templates/professional-services/tier5-src/_shared/himi-account.ts +222 -0
- package/templates/professional-services/tier5-src/_shared/himi-blog-hidden.ts +66 -0
- package/templates/professional-services/tier5-src/_shared/himi-blog-post-row.ts +214 -0
- package/templates/professional-services/tier5-src/_shared/himi-blog-saved.ts +64 -0
- package/templates/professional-services/tier5-src/_shared/himi-booking-saved.ts +88 -0
- package/templates/professional-services/tier5-src/_shared/himi-bookings.ts +318 -0
- package/templates/professional-services/tier5-src/_shared/himi-copy.ts +123 -0
- package/templates/professional-services/tier5-src/_shared/himi-events.ts +92 -0
- package/templates/professional-services/tier5-src/_shared/himi-media.ts +33 -0
- package/templates/professional-services/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/professional-services/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/professional-services/tier5-src/_shared/host-events.ts +66 -0
- package/templates/professional-services/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/professional-services/tier5-src/_shared/iap-attendance-form.ts +106 -0
- package/templates/professional-services/tier5-src/_shared/iap-attendance-purchase.ts +235 -0
- package/templates/professional-services/tier5-src/_shared/iap-attendance.ts +38 -0
- package/templates/professional-services/tier5-src/_shared/iap-worker.ts +127 -0
- package/templates/professional-services/tier5-src/_shared/inbox-rooms.ts +163 -0
- package/templates/professional-services/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/professional-services/tier5-src/_shared/member-access.ts +63 -0
- package/templates/professional-services/tier5-src/_shared/member-account-routes.ts +56 -0
- package/templates/professional-services/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/professional-services/tier5-src/_shared/member-bookings.ts +107 -0
- package/templates/professional-services/tier5-src/_shared/member-read.ts +82 -0
- package/templates/professional-services/tier5-src/_shared/member-screen.ts +99 -0
- package/templates/professional-services/tier5-src/_shared/notification-target.ts +141 -0
- package/templates/professional-services/tier5-src/_shared/offset-page.ts +10 -0
- package/templates/professional-services/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/professional-services/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/professional-services/tier5-src/_shared/payment-setup.ts +6 -0
- package/templates/professional-services/tier5-src/_shared/portfolio-details.ts +70 -0
- package/templates/professional-services/tier5-src/_shared/pricing-plan-display.ts +64 -0
- package/templates/professional-services/tier5-src/_shared/relative-time.ts +21 -0
- package/templates/professional-services/tier5-src/_shared/result-snackbar.ts +26 -0
- package/templates/professional-services/tier5-src/_shared/rich-body.ts +78 -0
- package/templates/professional-services/tier5-src/_shared/rich-content-link.ts +34 -0
- package/templates/professional-services/tier5-src/_shared/sign-in-sheet.ts +18 -0
- package/templates/professional-services/tier5-src/_shared/staff-name.ts +18 -0
- package/templates/professional-services/tier5-src/_shared/weekly-goal.ts +111 -0
- package/templates/professional-services/tier5-src/_shared/wix-bi.ts +85 -0
- package/templates/professional-services/tier5-src/_shared/wix-member-links.ts +114 -0
- package/templates/professional-services/tier5-src/_shared/wix-service-price.ts +146 -0
- package/templates/professional-services/tier5-src/business-chat/index.ts +797 -0
- package/templates/professional-services/tier5-src/business-contact/index.ts +6 -0
- package/templates/professional-services/tier5-src/himi-blog-feed/index.ts +444 -0
- package/templates/professional-services/tier5-src/himi-blog-post/index.ts +1239 -0
- package/templates/professional-services/tier5-src/himi-booking-account/index.ts +278 -0
- package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +475 -0
- package/templates/professional-services/tier5-src/himi-booking-service/index.ts +1197 -0
- package/templates/professional-services/tier5-src/himi-booking-services/index.ts +795 -0
- package/templates/professional-services/tier5-src/himi-booking-time/index.ts +1840 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-coupons/index.ts +96 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-faq/index.ts +6 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-file-share/index.ts +12 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-group/index.ts +310 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-group-about/index.ts +240 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-my-groups/index.ts +237 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-notifications/index.ts +263 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-plans/index.ts +498 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-portfolio/index.ts +136 -0
- package/templates/professional-services/tier5-src/himi-branded-lite-portfolio-project/index.ts +198 -0
- package/templates/professional-services/tier5-src/himi-events-detail/index.ts +1306 -0
- package/templates/professional-services/tier5-src/himi-events-list/index.ts +171 -0
- package/templates/professional-services/tier5-src/himi-events-my-events/index.ts +227 -0
- package/templates/professional-services/tier5-src/himi-events-rsvp/index.ts +230 -0
- package/templates/professional-services/tier5-src/himi-professional-services-community/index.ts +318 -0
- package/templates/professional-services/tier5-src/himi-professional-services-home/index.ts +772 -0
- package/templates/professional-services/tier5-src/himi-store-account/index.ts +1514 -0
- package/templates/professional-services/tier5-src/wix-spaces-coupon-detail/index.ts +43 -0
- package/templates/professional-services/tier5-src/wix-spaces-my-subscriptions/index.ts +89 -0
- package/templates/professional-services/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
- package/templates/professional-services/tokens.json +456 -0
- package/templates/restaurant/dev/index.ts +20 -0
- 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-contract.ts +6 -1
- package/templates/restaurant/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/restaurant/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/restaurant/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/restaurant/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/restaurant-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/retail-store/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/retail-store/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/retail-store-owner/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/salon-spa/config.ts +42 -0
- package/templates/salon-spa/dev/index.ts +4136 -0
- package/templates/salon-spa/himalaya.content.json +18 -0
- package/templates/salon-spa/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
- package/templates/salon-spa/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
- package/templates/salon-spa/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/wholesale-store/config.ts +43 -1
- package/templates/wholesale-store/dev/index.ts +4136 -0
- package/templates/wholesale-store/himalaya.content.json +18 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/blocked-members.ts +295 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/index.ts +58 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/login-info.ts +274 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/personal-info.ts +881 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/privacy.ts +139 -0
- package/templates/wholesale-store/tier5-src/himi-branded-lite-account-settings/shared.ts +136 -0
- package/templates/wholesale-store/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/yoga-studio/dev/index.ts +20 -0
- 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-contract.ts +6 -1
- package/templates/yoga-studio/tier5-src/_shared/himi-events.ts +27 -0
- package/templates/yoga-studio/tier5-src/himi-events-detail/index.ts +3 -1
- package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +38 -8
- package/templates/yoga-studio/tier5-src/himi-events-my-events/index.ts +4 -2
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/himi-events.ts +27 -0
|
@@ -61,6 +61,11 @@ export interface CollectionConfig {
|
|
|
61
61
|
* card the overflow's items were unreachable AND the wrong pattern: shoppers
|
|
62
62
|
* expect a heart, not a 3-item menu two taps deep. */
|
|
63
63
|
favoriteToggle?: boolean;
|
|
64
|
+
/** A button in the EMPTY-SOURCE state that moves the list to another view of the same source (Events: "See past
|
|
65
|
+
* events" when Upcoming is empty and Past is not). `labelPath` and `hiddenPath` are top-level STATE fields the domain
|
|
66
|
+
* sets (the label through its copy, hidden until the domain knows the other view has rows); the tap sets the list's
|
|
67
|
+
* filter to `filter` (`collectionCriteria`), which must be one of `filterValues`. */
|
|
68
|
+
emptySourceAction?: { labelPath: string; hiddenPath: string; filter: string };
|
|
64
69
|
/** A state field the DOMAIN narrows `rows` by (e.g. a category picker). While it is set,
|
|
65
70
|
* zero rows is a filtered result, not an empty source. */
|
|
66
71
|
narrowedBy?: string;
|
|
@@ -81,7 +86,7 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
|
|
|
81
86
|
himiBookingBookings: { rows: 'rows', title: 'title', subtitle: 'subtitle', metadata: ['status'], view: 'list', backendQuery: true,
|
|
82
87
|
defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search by booking ID', countNoun: ['booking', 'bookings'], filterValues: ['Upcoming', 'Past', 'Cancelled'],
|
|
83
88
|
sortLabels: { default: 'Soonest', az: 'Oldest', za: 'Latest' } },
|
|
84
|
-
himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast' },
|
|
89
|
+
himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast', emptySourceAction: { labelPath: 'pastEventsLabel', hiddenPath: 'noPastEvents', filter: 'value:Past' } },
|
|
85
90
|
himiOwnerLiteProducts: { rows: 'products', title: 'name', subtitle: 'price', image: 'image', view: 'grid', backendQuery: true, countNoun: ['product', 'products'] },
|
|
86
91
|
himiOwnerModules: { instanceInput: 'module', rows: 'rows', title: 'title', subtitle: 'subtitle', image: 'image', filter: 'statusLabel', view: 'list', paged: true, reviewAction: 'prepareRecord', reviewSelectedAction: 'prepareSelected' },
|
|
87
92
|
himiOwnerLiteServices: { rows: 'services', title: 'name', subtitle: 'subtitle', view: 'list', backendQuery: true, searchPlaceholder: 'Service name starts with…' },
|
|
@@ -11,6 +11,33 @@ export * from "@himalaya/wix-events";
|
|
|
11
11
|
// (`globalThis.himalaya.storage` / `.input`), which a published, brand-scrubbed SDK
|
|
12
12
|
// package must not reference. The himi-events-* bundles import these from this module.
|
|
13
13
|
|
|
14
|
+
import { eventEndMillis, eventStartMillis, type WixEvent } from "@himalaya/wix-events";
|
|
15
|
+
|
|
16
|
+
/** The event's own times, kept on the row the `events` local-db store holds (written by the list AND the detail), so a
|
|
17
|
+
* reader can tell at READ time whether the event has finished. The row's `statusLabel` / `isPast` were decided when the
|
|
18
|
+
* row was written, and the label is localized copy (`events.past`): a row stored the day before its event ended still
|
|
19
|
+
* says "not past" today. ISO strings, "" when the event has no such time. */
|
|
20
|
+
export interface EventCacheTimes { startsAt: string; endsAt: string }
|
|
21
|
+
|
|
22
|
+
export function eventCacheTimes(e: WixEvent): EventCacheTimes {
|
|
23
|
+
const iso = (ms: number | undefined) => (ms === undefined ? "" : new Date(ms).toISOString());
|
|
24
|
+
return { startsAt: iso(eventStartMillis(e)), endsAt: iso(eventEndMillis(e)) };
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Would the live Upcoming read return the event of this CACHED row, at `now`? That read asks for a start or an end at
|
|
28
|
+
* or after now, so: its end when it has one, else its start, not before `now` (the `eventIsPast` rule, inverted), read from
|
|
29
|
+
* the row's own stored times. Everything the live read cannot return is `false`, so a cached paint never shows a row that
|
|
30
|
+
* the live answer then removes: a row written before the times were stored (no `startsAt` / `endsAt`), an undated event
|
|
31
|
+
* (to be announced: no time matches the query), and a time that does not parse. */
|
|
32
|
+
export function cachedEventUpcoming(row: unknown, now: number = Date.now()): boolean {
|
|
33
|
+
const r = (row && typeof row === "object" ? row : {}) as Partial<EventCacheTimes>;
|
|
34
|
+
if (typeof r.startsAt !== "string" || typeof r.endsAt !== "string") return false;
|
|
35
|
+
const at = r.endsAt || r.startsAt;
|
|
36
|
+
if (!at) return false;
|
|
37
|
+
const ms = new Date(at).getTime();
|
|
38
|
+
return !Number.isNaN(ms) && ms >= now;
|
|
39
|
+
}
|
|
40
|
+
|
|
14
41
|
interface StorageLike {
|
|
15
42
|
getItem(key: string): string | null;
|
|
16
43
|
setItem(key: string, value: string): void;
|
|
@@ -25470,7 +25470,8 @@ const SCREENS = runtimeSetting({
|
|
|
25470
25470
|
"integrity": "",
|
|
25471
25471
|
"contentType": "application/javascript+ts-bundle",
|
|
25472
25472
|
"declaredCapabilities": [
|
|
25473
|
-
"wix_api"
|
|
25473
|
+
"wix_api",
|
|
25474
|
+
"share"
|
|
25474
25475
|
],
|
|
25475
25476
|
"minBinaryVersion": "0.1.0",
|
|
25476
25477
|
"bundleVersion": "0.0.1"
|
|
@@ -26309,6 +26310,26 @@ const SCREENS = runtimeSetting({
|
|
|
26309
26310
|
"color": "textSecondary"
|
|
26310
26311
|
}
|
|
26311
26312
|
}
|
|
26313
|
+
},
|
|
26314
|
+
{
|
|
26315
|
+
"id": "himi_events.list.collection.empty-source-action",
|
|
26316
|
+
"body": {
|
|
26317
|
+
"package": "himalaya",
|
|
26318
|
+
"type": "Button",
|
|
26319
|
+
"props": {
|
|
26320
|
+
"title": "$service:himiEvents.pastEventsLabel",
|
|
26321
|
+
"style": "secondary",
|
|
26322
|
+
"action": {
|
|
26323
|
+
"actionId": "tier5.himiEvents.collectionCriteria",
|
|
26324
|
+
"params": {
|
|
26325
|
+
"filter": "value:Past"
|
|
26326
|
+
}
|
|
26327
|
+
}
|
|
26328
|
+
}
|
|
26329
|
+
},
|
|
26330
|
+
"modifiers": {
|
|
26331
|
+
"hiddenPath": "$service:himiEvents.noPastEvents"
|
|
26332
|
+
}
|
|
26312
26333
|
}
|
|
26313
26334
|
]
|
|
26314
26335
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "أرسلنا رابط إعادة التعيين إلى {email}. تحقّق من بريدك الوارد.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "لا توجد فعاليات قادمة",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "عرض الفعاليات السابقة",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Odkaz pro obnovení jsme poslali na {email}. Zkontrolujte svou doručenou poštu.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Žádné nadcházející akce",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Zobrazit minulé akce",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Vi har sendt et nulstillingslink til {email}. Tjek din indbakke.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Ingen kommende begivenheder",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Se tidligere begivenheder",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Wir haben einen Link zum Zurücksetzen an {email} gesendet. Sieh in deinem Posteingang nach.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Keine bevorstehenden Veranstaltungen",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Vergangene Veranstaltungen ansehen",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Στείλαμε έναν σύνδεσμο επαναφοράς στο {email}. Ελέγξτε τα εισερχόμενά σας.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Δεν υπάρχουν επερχόμενες εκδηλώσεις",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Δείτε προηγούμενες εκδηλώσεις",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Enviamos un enlace de restablecimiento a {email}. Revisa tu bandeja de entrada.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "No hay próximos eventos",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Ver eventos pasados",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Lähetimme nollauslinkin osoitteeseen {email}. Tarkista saapuneet viestit.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Ei tulevia tapahtumia",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Näytä menneet tapahtumat",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Nous avons envoyé un lien de réinitialisation à {email}. Consultez votre boîte de réception.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Aucun événement à venir",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Voir les événements passés",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -3347,6 +3347,14 @@
|
|
|
3347
3347
|
"h_2c06d2d00d31": {
|
|
3348
3348
|
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
3349
3349
|
"translation": "התנתקת מהחשבון. היכנסו שוב, ואז נחזיר אתכם לכאן."
|
|
3350
|
+
},
|
|
3351
|
+
"h_b488b5ca6950": {
|
|
3352
|
+
"source": "No upcoming events",
|
|
3353
|
+
"translation": "אין אירועים קרובים"
|
|
3354
|
+
},
|
|
3355
|
+
"h_3c9db6753588": {
|
|
3356
|
+
"source": "See past events",
|
|
3357
|
+
"translation": "לאירועים שעברו"
|
|
3350
3358
|
}
|
|
3351
3359
|
}
|
|
3352
3360
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Visszaállítási linket küldtünk ide: {email}. Nézd meg a beérkezett üzeneteidet.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Nincsenek közelgő események",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Korábbi események megtekintése",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Kami telah mengirim tautan reset ke {email}. Periksa kotak masuk Anda.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Tidak ada acara mendatang",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Lihat acara sebelumnya",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Abbiamo inviato un link di reimpostazione a {email}. Controlla la tua casella di posta.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Nessun evento in programma",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Vedi eventi passati",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "{email} にリセットリンクを送信しました。受信トレイを確認してください。",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "今後のイベントはありません",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "過去のイベントを見る",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "{email}(으)로 재설정 링크를 보냈어요. 받은편지함을 확인하세요.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "예정된 이벤트가 없습니다",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "지난 이벤트 보기",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Atkūrimo nuorodą išsiuntėme adresu {email}. Patikrinkite gautuosius.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Artėjančių renginių nėra",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Žiūrėti praėjusius renginius",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "We hebben een resetlink naar {email} gestuurd. Controleer je inbox.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Geen komende evenementen",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Bekijk eerdere evenementen",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Vi har sendt en lenke for tilbakestilling til {email}. Sjekk innboksen din.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Ingen kommende arrangementer",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Se tidligere arrangementer",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Wysłaliśmy link do resetowania hasła na adres {email}. Sprawdź skrzynkę odbiorczą.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Brak nadchodzących wydarzeń",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Zobacz minione wydarzenia",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Enviamos um link de redefinição para {email}. Verifique sua caixa de entrada.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Não há próximos eventos",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Ver eventos anteriores",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Мы отправили ссылку для сброса на {email}. Проверьте входящие.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Нет предстоящих мероприятий",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Посмотреть прошедшие мероприятия",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Vi har skickat en återställningslänk till {email}. Kolla din inkorg.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Inga kommande evenemang",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Visa tidigare evenemang",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "เราส่งลิงก์รีเซ็ตไปที่ {email} แล้ว ตรวจสอบกล่องจดหมายของคุณ",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "ไม่มีกิจกรรมที่กำลังจะมาถึง",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "ดูกิจกรรมที่ผ่านมา",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "{email} adresine bir sıfırlama bağlantısı gönderdik. Gelen kutunuzu kontrol edin.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Yaklaşan etkinlik yok",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Geçmiş etkinlikleri gör",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Ми надіслали посилання для скидання на {email}. Перевірте вхідні.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Немає майбутніх подій",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Переглянути минулі події",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "Chúng tôi đã gửi liên kết đặt lại đến {email}. Hãy kiểm tra hộp thư của bạn.",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "Không có sự kiện sắp tới",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "Xem các sự kiện đã qua",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -4091,6 +4091,16 @@
|
|
|
4091
4091
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
4092
4092
|
"translation": "我們已將重設連結寄到 {email}。請查看收件匣。",
|
|
4093
4093
|
"origin": "machine"
|
|
4094
|
+
},
|
|
4095
|
+
"h_b488b5ca6950": {
|
|
4096
|
+
"source": "No upcoming events",
|
|
4097
|
+
"translation": "暂无即将举行的活动",
|
|
4098
|
+
"origin": "machine"
|
|
4099
|
+
},
|
|
4100
|
+
"h_3c9db6753588": {
|
|
4101
|
+
"source": "See past events",
|
|
4102
|
+
"translation": "查看往期活动",
|
|
4103
|
+
"origin": "machine"
|
|
4094
4104
|
}
|
|
4095
4105
|
}
|
|
4096
4106
|
}
|
|
@@ -61,6 +61,11 @@ export interface CollectionConfig {
|
|
|
61
61
|
* card the overflow's items were unreachable AND the wrong pattern: shoppers
|
|
62
62
|
* expect a heart, not a 3-item menu two taps deep. */
|
|
63
63
|
favoriteToggle?: boolean;
|
|
64
|
+
/** A button in the EMPTY-SOURCE state that moves the list to another view of the same source (Events: "See past
|
|
65
|
+
* events" when Upcoming is empty and Past is not). `labelPath` and `hiddenPath` are top-level STATE fields the domain
|
|
66
|
+
* sets (the label through its copy, hidden until the domain knows the other view has rows); the tap sets the list's
|
|
67
|
+
* filter to `filter` (`collectionCriteria`), which must be one of `filterValues`. */
|
|
68
|
+
emptySourceAction?: { labelPath: string; hiddenPath: string; filter: string };
|
|
64
69
|
/** A state field the DOMAIN narrows `rows` by (e.g. a category picker). While it is set,
|
|
65
70
|
* zero rows is a filtered result, not an empty source. */
|
|
66
71
|
narrowedBy?: string;
|
|
@@ -81,7 +86,7 @@ export const COLLECTIONS: Record<string, CollectionConfig> = {
|
|
|
81
86
|
himiBookingBookings: { rows: 'rows', title: 'title', subtitle: 'subtitle', metadata: ['status'], view: 'list', backendQuery: true,
|
|
82
87
|
defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search by booking ID', countNoun: ['booking', 'bookings'], filterValues: ['Upcoming', 'Past', 'Cancelled'],
|
|
83
88
|
sortLabels: { default: 'Soonest', az: 'Oldest', za: 'Latest' } },
|
|
84
|
-
himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast' },
|
|
89
|
+
himiEvents: { rows: 'results', title: 'title', subtitle: 'dateLine', image: 'image', dateBadge: { text: 'dateBadge', hidden: 'noDateBadge' }, gridColumns: 1, view: 'grid', backendQuery: true, defaultFilter: 'value:Upcoming', searchPlaceholder: 'Search events', countNoun: ['event', 'events'], filterValues: ['Upcoming', 'Past'], sortLabels: { default: 'Date', az: 'Title A–Z', za: 'Title Z–A' }, primaryVerb: { label: 'Register', labelPath: 'actionLabel', hiddenPath: 'noAction' }, shareAction: 'share', endedWhen: 'isPast', emptySourceAction: { labelPath: 'pastEventsLabel', hiddenPath: 'noPastEvents', filter: 'value:Past' } },
|
|
85
90
|
himiOwnerLiteProducts: { rows: 'products', title: 'name', subtitle: 'price', image: 'image', view: 'grid', backendQuery: true, countNoun: ['product', 'products'] },
|
|
86
91
|
himiOwnerModules: { instanceInput: 'module', rows: 'rows', title: 'title', subtitle: 'subtitle', image: 'image', filter: 'statusLabel', view: 'list', paged: true, reviewAction: 'prepareRecord', reviewSelectedAction: 'prepareSelected' },
|
|
87
92
|
himiOwnerLiteServices: { rows: 'services', title: 'name', subtitle: 'subtitle', view: 'list', backendQuery: true, searchPlaceholder: 'Service name starts with…' },
|
|
@@ -11,6 +11,33 @@ export * from "@himalaya/wix-events";
|
|
|
11
11
|
// (`globalThis.himalaya.storage` / `.input`), which a published, brand-scrubbed SDK
|
|
12
12
|
// package must not reference. The himi-events-* bundles import these from this module.
|
|
13
13
|
|
|
14
|
+
import { eventEndMillis, eventStartMillis, type WixEvent } from "@himalaya/wix-events";
|
|
15
|
+
|
|
16
|
+
/** The event's own times, kept on the row the `events` local-db store holds (written by the list AND the detail), so a
|
|
17
|
+
* reader can tell at READ time whether the event has finished. The row's `statusLabel` / `isPast` were decided when the
|
|
18
|
+
* row was written, and the label is localized copy (`events.past`): a row stored the day before its event ended still
|
|
19
|
+
* says "not past" today. ISO strings, "" when the event has no such time. */
|
|
20
|
+
export interface EventCacheTimes { startsAt: string; endsAt: string }
|
|
21
|
+
|
|
22
|
+
export function eventCacheTimes(e: WixEvent): EventCacheTimes {
|
|
23
|
+
const iso = (ms: number | undefined) => (ms === undefined ? "" : new Date(ms).toISOString());
|
|
24
|
+
return { startsAt: iso(eventStartMillis(e)), endsAt: iso(eventEndMillis(e)) };
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Would the live Upcoming read return the event of this CACHED row, at `now`? That read asks for a start or an end at
|
|
28
|
+
* or after now, so: its end when it has one, else its start, not before `now` (the `eventIsPast` rule, inverted), read from
|
|
29
|
+
* the row's own stored times. Everything the live read cannot return is `false`, so a cached paint never shows a row that
|
|
30
|
+
* the live answer then removes: a row written before the times were stored (no `startsAt` / `endsAt`), an undated event
|
|
31
|
+
* (to be announced: no time matches the query), and a time that does not parse. */
|
|
32
|
+
export function cachedEventUpcoming(row: unknown, now: number = Date.now()): boolean {
|
|
33
|
+
const r = (row && typeof row === "object" ? row : {}) as Partial<EventCacheTimes>;
|
|
34
|
+
if (typeof r.startsAt !== "string" || typeof r.endsAt !== "string") return false;
|
|
35
|
+
const at = r.endsAt || r.startsAt;
|
|
36
|
+
if (!at) return false;
|
|
37
|
+
const ms = new Date(at).getTime();
|
|
38
|
+
return !Number.isNaN(ms) && ms >= now;
|
|
39
|
+
}
|
|
40
|
+
|
|
14
41
|
interface StorageLike {
|
|
15
42
|
getItem(key: string): string | null;
|
|
16
43
|
setItem(key: string, value: string): void;
|