@wix/himalaya-cli 0.1869.0 → 0.1871.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/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{fb2b059338baac28265ef57c60a2934572de24f5f84471859dd358f474ca6d4a.bin → ab91dfb9c348c8c78f942a5b88ba90df456c5b436e135d97791d5dd95d6a40dc.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +40 -41
- package/dist/preview-assets.generated.bin +0 -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 +28 -0
- package/package.json +2 -2
- package/templates/bare-fashion/tier5-src/_shared/collection-contract.ts +6 -1
- 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 +20 -0
- 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/himi-events-detail/index.ts +3 -1
- package/templates/branded-lite/tier5-src/himi-events-list/index.ts +33 -7
- 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 +33 -7
- 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/dev/index.ts +20 -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-events-detail/index.ts +3 -1
- package/templates/conference/tier5-src/himi-events-list/index.ts +33 -7
- package/templates/conference/tier5-src/himi-events-my-events/index.ts +4 -2
- 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 +33 -7
- 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 +33 -7
- 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/tier5-src/_shared/collection-contract.ts +6 -1
- 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 +33 -7
- 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 +33 -7
- 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 +20 -0
- 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/himi-events-detail/index.ts +3 -1
- package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +33 -7
- 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/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 +33 -7
- 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/tier5-src/_shared/collection-contract.ts +6 -1
- package/templates/wholesale-store/tier5-src/_shared/collection-contract.ts +6 -1
- 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 +33 -7
- 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…' },
|
|
@@ -28577,6 +28577,26 @@ const SCREENS = runtimeSetting({
|
|
|
28577
28577
|
"color": "textSecondary"
|
|
28578
28578
|
}
|
|
28579
28579
|
}
|
|
28580
|
+
},
|
|
28581
|
+
{
|
|
28582
|
+
"id": "himi_events.list.collection.empty-source-action",
|
|
28583
|
+
"body": {
|
|
28584
|
+
"package": "himalaya",
|
|
28585
|
+
"type": "Button",
|
|
28586
|
+
"props": {
|
|
28587
|
+
"title": "$service:himiEvents.pastEventsLabel",
|
|
28588
|
+
"style": "secondary",
|
|
28589
|
+
"action": {
|
|
28590
|
+
"actionId": "tier5.himiEvents.collectionCriteria",
|
|
28591
|
+
"params": {
|
|
28592
|
+
"filter": "value:Past"
|
|
28593
|
+
}
|
|
28594
|
+
}
|
|
28595
|
+
}
|
|
28596
|
+
},
|
|
28597
|
+
"modifiers": {
|
|
28598
|
+
"hiddenPath": "$service:himiEvents.noPastEvents"
|
|
28599
|
+
}
|
|
28580
28600
|
}
|
|
28581
28601
|
]
|
|
28582
28602
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "أرسلنا رابط إعادة التعيين إلى {email}. تحقّق من بريدك الوارد.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "لا توجد فعاليات قادمة",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "عرض الفعاليات السابقة",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Odkaz pro obnovení jsme poslali na {email}. Zkontrolujte svou doručenou poštu.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Žádné nadcházející akce",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Zobrazit minulé akce",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Vi har sendt et nulstillingslink til {email}. Tjek din indbakke.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Ingen kommende begivenheder",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Se tidligere begivenheder",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Wir haben einen Link zum Zurücksetzen an {email} gesendet. Sieh in deinem Posteingang nach.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Keine bevorstehenden Veranstaltungen",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Vergangene Veranstaltungen ansehen",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Στείλαμε έναν σύνδεσμο επαναφοράς στο {email}. Ελέγξτε τα εισερχόμενά σας.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Δεν υπάρχουν επερχόμενες εκδηλώσεις",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Δείτε προηγούμενες εκδηλώσεις",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Enviamos un enlace de restablecimiento a {email}. Revisa tu bandeja de entrada.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "No hay próximos eventos",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Ver eventos pasados",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Lähetimme nollauslinkin osoitteeseen {email}. Tarkista saapuneet viestit.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Ei tulevia tapahtumia",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Näytä menneet tapahtumat",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Nous avons envoyé un lien de réinitialisation à {email}. Consultez votre boîte de réception.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Aucun événement à venir",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Voir les événements passés",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -4171,6 +4171,14 @@
|
|
|
4171
4171
|
"h_2c06d2d00d31": {
|
|
4172
4172
|
"source": "You've been signed out. Sign in again, then we’ll bring you back.",
|
|
4173
4173
|
"translation": "התנתקת מהחשבון. היכנסו שוב, ואז נחזיר אתכם לכאן."
|
|
4174
|
+
},
|
|
4175
|
+
"h_b488b5ca6950": {
|
|
4176
|
+
"source": "No upcoming events",
|
|
4177
|
+
"translation": "אין אירועים קרובים"
|
|
4178
|
+
},
|
|
4179
|
+
"h_3c9db6753588": {
|
|
4180
|
+
"source": "See past events",
|
|
4181
|
+
"translation": "לאירועים שעברו"
|
|
4174
4182
|
}
|
|
4175
4183
|
}
|
|
4176
4184
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Visszaállítási linket küldtünk ide: {email}. Nézd meg a beérkezett üzeneteidet.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Nincsenek közelgő események",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Korábbi események megtekintése",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Kami telah mengirim tautan reset ke {email}. Periksa kotak masuk Anda.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Tidak ada acara mendatang",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Lihat acara sebelumnya",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Abbiamo inviato un link di reimpostazione a {email}. Controlla la tua casella di posta.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Nessun evento in programma",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Vedi eventi passati",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "{email} にリセットリンクを送信しました。受信トレイを確認してください。",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "今後のイベントはありません",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "過去のイベントを見る",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "{email}(으)로 재설정 링크를 보냈어요. 받은편지함을 확인하세요.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "예정된 이벤트가 없습니다",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "지난 이벤트 보기",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Atkūrimo nuorodą išsiuntėme adresu {email}. Patikrinkite gautuosius.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Artėjančių renginių nėra",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Žiūrėti praėjusius renginius",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "We hebben een resetlink naar {email} gestuurd. Controleer je inbox.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Geen komende evenementen",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Bekijk eerdere evenementen",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Vi har sendt en lenke for tilbakestilling til {email}. Sjekk innboksen din.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Ingen kommende arrangementer",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Se tidligere arrangementer",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Wysłaliśmy link do resetowania hasła na adres {email}. Sprawdź skrzynkę odbiorczą.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Brak nadchodzących wydarzeń",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Zobacz minione wydarzenia",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Enviamos um link de redefinição para {email}. Verifique sua caixa de entrada.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Não há próximos eventos",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Ver eventos anteriores",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Мы отправили ссылку для сброса на {email}. Проверьте входящие.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Нет предстоящих мероприятий",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Посмотреть прошедшие мероприятия",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Vi har skickat en återställningslänk till {email}. Kolla din inkorg.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Inga kommande evenemang",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Visa tidigare evenemang",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "เราส่งลิงก์รีเซ็ตไปที่ {email} แล้ว ตรวจสอบกล่องจดหมายของคุณ",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "ไม่มีกิจกรรมที่กำลังจะมาถึง",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "ดูกิจกรรมที่ผ่านมา",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "{email} adresine bir sıfırlama bağlantısı gönderdik. Gelen kutunuzu kontrol edin.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Yaklaşan etkinlik yok",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Geçmiş etkinlikleri gör",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "Ми надіслали посилання для скидання на {email}. Перевірте вхідні.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Немає майбутніх подій",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Переглянути минулі події",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"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.",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "Không có sự kiện sắp tới",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "Xem các sự kiện đã qua",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -5116,6 +5116,16 @@
|
|
|
5116
5116
|
"source": "We sent a reset link to {email}. Check your inbox.",
|
|
5117
5117
|
"translation": "我們已將重設連結寄到 {email}。請查看收件匣。",
|
|
5118
5118
|
"origin": "machine"
|
|
5119
|
+
},
|
|
5120
|
+
"h_b488b5ca6950": {
|
|
5121
|
+
"source": "No upcoming events",
|
|
5122
|
+
"translation": "暂无即将举行的活动",
|
|
5123
|
+
"origin": "machine"
|
|
5124
|
+
},
|
|
5125
|
+
"h_3c9db6753588": {
|
|
5126
|
+
"source": "See past events",
|
|
5127
|
+
"translation": "查看往期活动",
|
|
5128
|
+
"origin": "machine"
|
|
5119
5129
|
}
|
|
5120
5130
|
}
|
|
5121
5131
|
}
|
|
@@ -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;
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
eventImage,
|
|
29
29
|
eventLocation,
|
|
30
30
|
eventAddress,
|
|
31
|
+
eventCacheTimes,
|
|
31
32
|
eventMapUrl,
|
|
32
33
|
eventStartMillis,
|
|
33
34
|
eventWhen,
|
|
@@ -1057,7 +1058,8 @@ const svc: ReturnType<typeof defineService<S, DetailActions>> = defineService<S,
|
|
|
1057
1058
|
if (kind === "tickets" && !await priceTicket(e, selectedTicketId, selectionVersion)) return undefined;
|
|
1058
1059
|
// Write-through: cache the fetched row (same EventRow shape as the list) so a
|
|
1059
1060
|
// later offline open of this detail can fall back to it.
|
|
1060
|
-
|
|
1061
|
+
// Its own times ride along, so the list can tell later whether the event is still upcoming (`cachedEventUpcoming`).
|
|
1062
|
+
await writeCachedRow({ ...normalizeEvent(e), ...eventCacheTimes(e) });
|
|
1061
1063
|
const image = eventImage(e);
|
|
1062
1064
|
const title = e.title || "";
|
|
1063
1065
|
const dates = detailDate(e);
|