@wix/himalaya-cli 0.1851.0 → 0.1853.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/builder.d.ts +5 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +13 -3
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{166f7ee733ea8d0fe7bba8b796232efd4f5413e22af4a8aeee20cae1069b2fd6.bin → fb500748f6c4768468f2e7f985aa67c38633077c7a98caaa6b500c7b00eea8e9.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +10136 -9601
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/component-index.md +1 -1
- package/guides/component-reference.json +2 -2
- package/guides/component-reference.md +8 -1
- package/guides/designing-himi-screens.md +5 -1
- package/guides/himi-json-output.md +13 -3
- package/guides/one-app-section-mappings.md +1 -1
- package/guides/one-app-to-himi-app.md +60 -10
- package/guides/sdk-reference.json +2 -2
- package/package.json +2 -2
- package/template-icons/bare-fashion.png +0 -0
- package/templates/bare-fashion/README.md +52 -0
- package/templates/bare-fashion/config.ts +474 -0
- package/templates/bare-fashion/dev/index.ts +16526 -0
- package/templates/bare-fashion/himalaya.content.json +70 -0
- package/templates/bare-fashion/himalaya.template.json +18 -0
- package/templates/bare-fashion/icon.png +0 -0
- package/templates/bare-fashion/platforms.json +3 -0
- package/templates/bare-fashion/tier5-src/_shared/app-locale.ts +70 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-address-book.ts +116 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-address-countries.ts +261 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-bag-count.ts +24 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-categories.ts +48 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-facets.ts +265 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-load-error.ts +38 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-product-card.ts +136 -0
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-store-options.ts +129 -0
- package/templates/bare-fashion/tier5-src/_shared/branded-lite-hosted.ts +282 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-query.ts +201 -0
- package/templates/bare-fashion/tier5-src/_shared/collection-service.ts +429 -0
- package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +529 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-account.ts +209 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-copy.ts +123 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-layouts.ts +142 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store-categories.ts +108 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store-saved.ts +57 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/bare-fashion/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/bare-fashion/tier5-src/_shared/live-session.ts +172 -0
- package/templates/bare-fashion/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/bare-fashion/tier5-src/_shared/member-access.ts +63 -0
- package/templates/bare-fashion/tier5-src/_shared/member-avatar.ts +76 -0
- package/templates/bare-fashion/tier5-src/_shared/member-orders.ts +8 -0
- package/templates/bare-fashion/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/bare-fashion/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-account/index.ts +127 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-address-form/index.ts +367 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-addresses/index.ts +202 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-appearance/index.ts +73 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-cart/index.ts +540 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-collection/index.ts +111 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-home/index.ts +241 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-nav/index.ts +56 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-order/index.ts +437 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-product/index.ts +650 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-products/index.ts +142 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-saved/index.ts +45 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-search/index.ts +199 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-shop/index.ts +79 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-sign-in/index.ts +269 -0
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-wallet/index.ts +224 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-info/index.ts +209 -0
- package/templates/bare-fashion/tier5-src/himi-branded-lite-orders/index.ts +327 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-collections/index.ts +48 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/bare-fashion/tier5-src/wix-spaces-view-profile/index.ts +119 -0
- package/templates/bare-fashion/tokens.json +348 -0
- package/templates/beauty-salon/dev/index.ts +223 -0
- package/templates/beauty-salon/l10n/ar.json +6 -0
- package/templates/beauty-salon/l10n/cs.json +6 -0
- package/templates/beauty-salon/l10n/da.json +6 -0
- package/templates/beauty-salon/l10n/de.json +6 -0
- package/templates/beauty-salon/l10n/el.json +6 -0
- package/templates/beauty-salon/l10n/en.json +9 -2
- package/templates/beauty-salon/l10n/es.json +6 -0
- package/templates/beauty-salon/l10n/fi.json +6 -0
- package/templates/beauty-salon/l10n/fr.json +6 -0
- package/templates/beauty-salon/l10n/he.json +5 -0
- package/templates/beauty-salon/l10n/hu.json +6 -0
- package/templates/beauty-salon/l10n/id.json +6 -0
- package/templates/beauty-salon/l10n/it.json +6 -0
- package/templates/beauty-salon/l10n/ja.json +6 -0
- package/templates/beauty-salon/l10n/ko.json +6 -0
- package/templates/beauty-salon/l10n/lt.json +6 -0
- package/templates/beauty-salon/l10n/nl.json +6 -0
- package/templates/beauty-salon/l10n/no.json +6 -0
- package/templates/beauty-salon/l10n/pl.json +6 -0
- package/templates/beauty-salon/l10n/pt.json +6 -0
- package/templates/beauty-salon/l10n/ru.json +6 -0
- package/templates/beauty-salon/l10n/sv.json +6 -0
- package/templates/beauty-salon/l10n/th.json +6 -0
- package/templates/beauty-salon/l10n/tr.json +6 -0
- package/templates/beauty-salon/l10n/uk.json +6 -0
- package/templates/beauty-salon/l10n/vi.json +6 -0
- package/templates/beauty-salon/l10n/zh.json +6 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/beauty-salon/tier5-src/_shared/lifecycle.ts +15 -0
- package/templates/beauty-salon/tier5-src/_shared/nav-member-avatar.ts +92 -0
- package/templates/beauty-salon/tier5-src/himi-branded-lite-nav/index.ts +15 -6
- package/templates/beauty-salon/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/branded-lite/dev/index.ts +2167 -0
- package/templates/branded-lite/l10n/ar.json +6 -0
- package/templates/branded-lite/l10n/cs.json +6 -0
- package/templates/branded-lite/l10n/da.json +6 -0
- package/templates/branded-lite/l10n/de.json +6 -0
- package/templates/branded-lite/l10n/el.json +6 -0
- package/templates/branded-lite/l10n/en.json +12 -5
- package/templates/branded-lite/l10n/es.json +6 -0
- package/templates/branded-lite/l10n/fi.json +6 -0
- package/templates/branded-lite/l10n/fr.json +6 -0
- package/templates/branded-lite/l10n/he.json +5 -0
- package/templates/branded-lite/l10n/hu.json +6 -0
- package/templates/branded-lite/l10n/id.json +6 -0
- package/templates/branded-lite/l10n/it.json +6 -0
- package/templates/branded-lite/l10n/ja.json +6 -0
- package/templates/branded-lite/l10n/ko.json +6 -0
- package/templates/branded-lite/l10n/lt.json +6 -0
- package/templates/branded-lite/l10n/nl.json +6 -0
- package/templates/branded-lite/l10n/no.json +6 -0
- package/templates/branded-lite/l10n/pl.json +6 -0
- package/templates/branded-lite/l10n/pt.json +6 -0
- package/templates/branded-lite/l10n/ru.json +6 -0
- package/templates/branded-lite/l10n/sv.json +6 -0
- package/templates/branded-lite/l10n/th.json +6 -0
- package/templates/branded-lite/l10n/tr.json +6 -0
- package/templates/branded-lite/l10n/uk.json +6 -0
- package/templates/branded-lite/l10n/vi.json +6 -0
- package/templates/branded-lite/l10n/zh.json +6 -0
- package/templates/branded-lite/recipes/upcoming-bookings.json +118 -6
- package/templates/branded-lite/tier5-src/_shared/access-gates.ts +0 -13
- package/templates/branded-lite/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/branded-lite/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +55 -3
- package/templates/branded-lite/tier5-src/_shared/events-inline.ts +5 -3
- package/templates/branded-lite/tier5-src/_shared/guest-sign-in.ts +36 -0
- package/templates/branded-lite/tier5-src/_shared/lifecycle.ts +15 -0
- package/templates/branded-lite/tier5-src/_shared/nav-member-avatar.ts +92 -0
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +15 -4
- package/templates/branded-lite/tier5-src/himi-branded-lite-access-nav/index.ts +14 -9
- package/templates/branded-lite/tier5-src/himi-branded-lite-inbox/index.ts +6 -1
- package/templates/branded-lite/tier5-src/himi-branded-lite-nav/index.ts +15 -6
- package/templates/branded-lite/tier5-src/himi-branded-lite-notifications/index.ts +8 -1
- package/templates/branded-lite/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/branded-lite/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/brandy/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/brandy/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/brandy/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/brandy/tier5-src/_shared/guest-sign-in.ts +36 -0
- package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +6 -1
- package/templates/brandy/tier5-src/himi-branded-lite-notifications/index.ts +8 -1
- package/templates/brandy/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/community-club/dev/index.ts +223 -0
- package/templates/community-club/l10n/ar.json +6 -0
- package/templates/community-club/l10n/cs.json +6 -0
- package/templates/community-club/l10n/da.json +6 -0
- package/templates/community-club/l10n/de.json +6 -0
- package/templates/community-club/l10n/el.json +6 -0
- package/templates/community-club/l10n/en.json +9 -2
- package/templates/community-club/l10n/es.json +6 -0
- package/templates/community-club/l10n/fi.json +6 -0
- package/templates/community-club/l10n/fr.json +6 -0
- package/templates/community-club/l10n/he.json +5 -0
- package/templates/community-club/l10n/hu.json +6 -0
- package/templates/community-club/l10n/id.json +6 -0
- package/templates/community-club/l10n/it.json +6 -0
- package/templates/community-club/l10n/ja.json +6 -0
- package/templates/community-club/l10n/ko.json +6 -0
- package/templates/community-club/l10n/lt.json +6 -0
- package/templates/community-club/l10n/nl.json +6 -0
- package/templates/community-club/l10n/no.json +6 -0
- package/templates/community-club/l10n/pl.json +6 -0
- package/templates/community-club/l10n/pt.json +6 -0
- package/templates/community-club/l10n/ru.json +6 -0
- package/templates/community-club/l10n/sv.json +6 -0
- package/templates/community-club/l10n/th.json +6 -0
- package/templates/community-club/l10n/tr.json +6 -0
- package/templates/community-club/l10n/uk.json +6 -0
- package/templates/community-club/l10n/vi.json +6 -0
- package/templates/community-club/l10n/zh.json +6 -0
- package/templates/community-club/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/community-club/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/community-club/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/community-club-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/conference/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/conference/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/conference/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/conference/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/conference/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/events-meetups/dev/index.ts +142 -0
- package/templates/events-meetups/l10n/ar.json +6 -0
- package/templates/events-meetups/l10n/cs.json +6 -0
- package/templates/events-meetups/l10n/da.json +6 -0
- package/templates/events-meetups/l10n/de.json +6 -0
- package/templates/events-meetups/l10n/el.json +6 -0
- package/templates/events-meetups/l10n/en.json +8 -1
- package/templates/events-meetups/l10n/es.json +6 -0
- package/templates/events-meetups/l10n/fi.json +6 -0
- package/templates/events-meetups/l10n/fr.json +6 -0
- package/templates/events-meetups/l10n/he.json +5 -0
- package/templates/events-meetups/l10n/hu.json +6 -0
- package/templates/events-meetups/l10n/id.json +6 -0
- package/templates/events-meetups/l10n/it.json +6 -0
- package/templates/events-meetups/l10n/ja.json +6 -0
- package/templates/events-meetups/l10n/ko.json +6 -0
- package/templates/events-meetups/l10n/lt.json +6 -0
- package/templates/events-meetups/l10n/nl.json +6 -0
- package/templates/events-meetups/l10n/no.json +6 -0
- package/templates/events-meetups/l10n/pl.json +6 -0
- package/templates/events-meetups/l10n/pt.json +6 -0
- package/templates/events-meetups/l10n/ru.json +6 -0
- package/templates/events-meetups/l10n/sv.json +6 -0
- package/templates/events-meetups/l10n/th.json +6 -0
- package/templates/events-meetups/l10n/tr.json +6 -0
- package/templates/events-meetups/l10n/uk.json +6 -0
- package/templates/events-meetups/l10n/vi.json +6 -0
- package/templates/events-meetups/l10n/zh.json +6 -0
- package/templates/events-meetups/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/events-meetups/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/events-meetups/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/events-meetups-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/fitness-gym/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/fitness-gym/tier5-src/_shared/guest-sign-in.ts +36 -0
- package/templates/fitness-gym/tier5-src/himi-branded-lite-notifications/index.ts +8 -1
- package/templates/fitness-gym/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/gym-fitness/dev/index.ts +385 -0
- package/templates/gym-fitness/l10n/ar.json +6 -0
- package/templates/gym-fitness/l10n/cs.json +6 -0
- package/templates/gym-fitness/l10n/da.json +6 -0
- package/templates/gym-fitness/l10n/de.json +6 -0
- package/templates/gym-fitness/l10n/el.json +6 -0
- package/templates/gym-fitness/l10n/en.json +9 -2
- package/templates/gym-fitness/l10n/es.json +6 -0
- package/templates/gym-fitness/l10n/fi.json +6 -0
- package/templates/gym-fitness/l10n/fr.json +6 -0
- package/templates/gym-fitness/l10n/he.json +5 -0
- package/templates/gym-fitness/l10n/hu.json +6 -0
- package/templates/gym-fitness/l10n/id.json +6 -0
- package/templates/gym-fitness/l10n/it.json +6 -0
- package/templates/gym-fitness/l10n/ja.json +6 -0
- package/templates/gym-fitness/l10n/ko.json +6 -0
- package/templates/gym-fitness/l10n/lt.json +6 -0
- package/templates/gym-fitness/l10n/nl.json +6 -0
- package/templates/gym-fitness/l10n/no.json +6 -0
- package/templates/gym-fitness/l10n/pl.json +6 -0
- package/templates/gym-fitness/l10n/pt.json +6 -0
- package/templates/gym-fitness/l10n/ru.json +6 -0
- package/templates/gym-fitness/l10n/sv.json +6 -0
- package/templates/gym-fitness/l10n/th.json +6 -0
- package/templates/gym-fitness/l10n/tr.json +6 -0
- package/templates/gym-fitness/l10n/uk.json +6 -0
- package/templates/gym-fitness/l10n/vi.json +6 -0
- package/templates/gym-fitness/l10n/zh.json +6 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/gym-fitness/tier5-src/_shared/lifecycle.ts +15 -0
- package/templates/gym-fitness/tier5-src/_shared/nav-member-avatar.ts +92 -0
- package/templates/gym-fitness/tier5-src/himi-branded-lite-nav/index.ts +15 -6
- package/templates/gym-fitness/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/gym-fitness/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/medical-services/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/medical-services/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/medical-services/tier5-src/_shared/guest-sign-in.ts +36 -0
- package/templates/medical-services/tier5-src/himi-branded-lite-notifications/index.ts +8 -1
- package/templates/medical-services/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/nonprofit-cause/dev/index.ts +223 -0
- package/templates/nonprofit-cause/l10n/ar.json +6 -0
- package/templates/nonprofit-cause/l10n/cs.json +6 -0
- package/templates/nonprofit-cause/l10n/da.json +6 -0
- package/templates/nonprofit-cause/l10n/de.json +6 -0
- package/templates/nonprofit-cause/l10n/el.json +6 -0
- package/templates/nonprofit-cause/l10n/en.json +8 -1
- package/templates/nonprofit-cause/l10n/es.json +6 -0
- package/templates/nonprofit-cause/l10n/fi.json +6 -0
- package/templates/nonprofit-cause/l10n/fr.json +6 -0
- package/templates/nonprofit-cause/l10n/he.json +5 -0
- package/templates/nonprofit-cause/l10n/hu.json +6 -0
- package/templates/nonprofit-cause/l10n/id.json +6 -0
- package/templates/nonprofit-cause/l10n/it.json +6 -0
- package/templates/nonprofit-cause/l10n/ja.json +6 -0
- package/templates/nonprofit-cause/l10n/ko.json +6 -0
- package/templates/nonprofit-cause/l10n/lt.json +6 -0
- package/templates/nonprofit-cause/l10n/nl.json +6 -0
- package/templates/nonprofit-cause/l10n/no.json +6 -0
- package/templates/nonprofit-cause/l10n/pl.json +6 -0
- package/templates/nonprofit-cause/l10n/pt.json +6 -0
- package/templates/nonprofit-cause/l10n/ru.json +6 -0
- package/templates/nonprofit-cause/l10n/sv.json +6 -0
- package/templates/nonprofit-cause/l10n/th.json +6 -0
- package/templates/nonprofit-cause/l10n/tr.json +6 -0
- package/templates/nonprofit-cause/l10n/uk.json +6 -0
- package/templates/nonprofit-cause/l10n/vi.json +6 -0
- package/templates/nonprofit-cause/l10n/zh.json +6 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/nonprofit-cause/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/nonprofit-cause/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/owner-lite/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/personal-fitness-trainer/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/podcast-creator/dev/index.ts +223 -0
- package/templates/podcast-creator/l10n/ar.json +6 -0
- package/templates/podcast-creator/l10n/cs.json +6 -0
- package/templates/podcast-creator/l10n/da.json +6 -0
- package/templates/podcast-creator/l10n/de.json +6 -0
- package/templates/podcast-creator/l10n/el.json +6 -0
- package/templates/podcast-creator/l10n/en.json +8 -1
- package/templates/podcast-creator/l10n/es.json +6 -0
- package/templates/podcast-creator/l10n/fi.json +6 -0
- package/templates/podcast-creator/l10n/fr.json +6 -0
- package/templates/podcast-creator/l10n/he.json +5 -0
- package/templates/podcast-creator/l10n/hu.json +6 -0
- package/templates/podcast-creator/l10n/id.json +6 -0
- package/templates/podcast-creator/l10n/it.json +6 -0
- package/templates/podcast-creator/l10n/ja.json +6 -0
- package/templates/podcast-creator/l10n/ko.json +6 -0
- package/templates/podcast-creator/l10n/lt.json +6 -0
- package/templates/podcast-creator/l10n/nl.json +6 -0
- package/templates/podcast-creator/l10n/no.json +6 -0
- package/templates/podcast-creator/l10n/pl.json +6 -0
- package/templates/podcast-creator/l10n/pt.json +6 -0
- package/templates/podcast-creator/l10n/ru.json +6 -0
- package/templates/podcast-creator/l10n/sv.json +6 -0
- package/templates/podcast-creator/l10n/th.json +6 -0
- package/templates/podcast-creator/l10n/tr.json +6 -0
- package/templates/podcast-creator/l10n/uk.json +6 -0
- package/templates/podcast-creator/l10n/vi.json +6 -0
- package/templates/podcast-creator/l10n/zh.json +6 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/podcast-creator/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/podcast-creator/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/portfolio-creative/dev/index.ts +142 -0
- package/templates/portfolio-creative/l10n/ar.json +6 -0
- package/templates/portfolio-creative/l10n/cs.json +6 -0
- package/templates/portfolio-creative/l10n/da.json +6 -0
- package/templates/portfolio-creative/l10n/de.json +6 -0
- package/templates/portfolio-creative/l10n/el.json +6 -0
- package/templates/portfolio-creative/l10n/en.json +8 -1
- package/templates/portfolio-creative/l10n/es.json +6 -0
- package/templates/portfolio-creative/l10n/fi.json +6 -0
- package/templates/portfolio-creative/l10n/fr.json +6 -0
- package/templates/portfolio-creative/l10n/he.json +5 -0
- package/templates/portfolio-creative/l10n/hu.json +6 -0
- package/templates/portfolio-creative/l10n/id.json +6 -0
- package/templates/portfolio-creative/l10n/it.json +6 -0
- package/templates/portfolio-creative/l10n/ja.json +6 -0
- package/templates/portfolio-creative/l10n/ko.json +6 -0
- package/templates/portfolio-creative/l10n/lt.json +6 -0
- package/templates/portfolio-creative/l10n/nl.json +6 -0
- package/templates/portfolio-creative/l10n/no.json +6 -0
- package/templates/portfolio-creative/l10n/pl.json +6 -0
- package/templates/portfolio-creative/l10n/pt.json +6 -0
- package/templates/portfolio-creative/l10n/ru.json +6 -0
- package/templates/portfolio-creative/l10n/sv.json +6 -0
- package/templates/portfolio-creative/l10n/th.json +6 -0
- package/templates/portfolio-creative/l10n/tr.json +6 -0
- package/templates/portfolio-creative/l10n/uk.json +6 -0
- package/templates/portfolio-creative/l10n/vi.json +6 -0
- package/templates/portfolio-creative/l10n/zh.json +6 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/portfolio-creative/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/portfolio-creative/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/restaurant/dev/index.ts +142 -0
- package/templates/restaurant/l10n/ar.json +6 -0
- package/templates/restaurant/l10n/cs.json +6 -0
- package/templates/restaurant/l10n/da.json +6 -0
- package/templates/restaurant/l10n/de.json +6 -0
- package/templates/restaurant/l10n/el.json +6 -0
- package/templates/restaurant/l10n/en.json +9 -2
- package/templates/restaurant/l10n/es.json +6 -0
- package/templates/restaurant/l10n/fi.json +6 -0
- package/templates/restaurant/l10n/fr.json +6 -0
- package/templates/restaurant/l10n/he.json +5 -0
- package/templates/restaurant/l10n/hu.json +6 -0
- package/templates/restaurant/l10n/id.json +6 -0
- package/templates/restaurant/l10n/it.json +6 -0
- package/templates/restaurant/l10n/ja.json +6 -0
- package/templates/restaurant/l10n/ko.json +6 -0
- package/templates/restaurant/l10n/lt.json +6 -0
- package/templates/restaurant/l10n/nl.json +6 -0
- package/templates/restaurant/l10n/no.json +6 -0
- package/templates/restaurant/l10n/pl.json +6 -0
- package/templates/restaurant/l10n/pt.json +6 -0
- package/templates/restaurant/l10n/ru.json +6 -0
- package/templates/restaurant/l10n/sv.json +6 -0
- package/templates/restaurant/l10n/th.json +6 -0
- package/templates/restaurant/l10n/tr.json +6 -0
- package/templates/restaurant/l10n/uk.json +6 -0
- package/templates/restaurant/l10n/vi.json +6 -0
- package/templates/restaurant/l10n/zh.json +6 -0
- package/templates/restaurant/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/restaurant/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/restaurant/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/restaurant-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/retail-store/dev/index.ts +142 -0
- package/templates/retail-store/l10n/ar.json +6 -0
- package/templates/retail-store/l10n/cs.json +6 -0
- package/templates/retail-store/l10n/da.json +6 -0
- package/templates/retail-store/l10n/de.json +6 -0
- package/templates/retail-store/l10n/el.json +6 -0
- package/templates/retail-store/l10n/en.json +8 -1
- package/templates/retail-store/l10n/es.json +6 -0
- package/templates/retail-store/l10n/fi.json +6 -0
- package/templates/retail-store/l10n/fr.json +6 -0
- package/templates/retail-store/l10n/he.json +5 -0
- package/templates/retail-store/l10n/hu.json +6 -0
- package/templates/retail-store/l10n/id.json +6 -0
- package/templates/retail-store/l10n/it.json +6 -0
- package/templates/retail-store/l10n/ja.json +6 -0
- package/templates/retail-store/l10n/ko.json +6 -0
- package/templates/retail-store/l10n/lt.json +6 -0
- package/templates/retail-store/l10n/nl.json +6 -0
- package/templates/retail-store/l10n/no.json +6 -0
- package/templates/retail-store/l10n/pl.json +6 -0
- package/templates/retail-store/l10n/pt.json +6 -0
- package/templates/retail-store/l10n/ru.json +6 -0
- package/templates/retail-store/l10n/sv.json +6 -0
- package/templates/retail-store/l10n/th.json +6 -0
- package/templates/retail-store/l10n/tr.json +6 -0
- package/templates/retail-store/l10n/uk.json +6 -0
- package/templates/retail-store/l10n/vi.json +6 -0
- package/templates/retail-store/l10n/zh.json +6 -0
- package/templates/retail-store/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/retail-store/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/retail-store-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/salon-spa/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/salon-spa/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/salon-spa/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/wholesale-store/tier5-src/_shared/collection-query-legacy.ts +7 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-query.ts +7 -0
- package/templates/wholesale-store/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/wholesale-store/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/yoga-studio/dev/index.ts +304 -0
- package/templates/yoga-studio/l10n/ar.json +6 -0
- package/templates/yoga-studio/l10n/cs.json +6 -0
- package/templates/yoga-studio/l10n/da.json +6 -0
- package/templates/yoga-studio/l10n/de.json +6 -0
- package/templates/yoga-studio/l10n/el.json +6 -0
- package/templates/yoga-studio/l10n/en.json +10 -3
- package/templates/yoga-studio/l10n/es.json +6 -0
- package/templates/yoga-studio/l10n/fi.json +6 -0
- package/templates/yoga-studio/l10n/fr.json +6 -0
- package/templates/yoga-studio/l10n/he.json +5 -0
- package/templates/yoga-studio/l10n/hu.json +6 -0
- package/templates/yoga-studio/l10n/id.json +6 -0
- package/templates/yoga-studio/l10n/it.json +6 -0
- package/templates/yoga-studio/l10n/ja.json +6 -0
- package/templates/yoga-studio/l10n/ko.json +6 -0
- package/templates/yoga-studio/l10n/lt.json +6 -0
- package/templates/yoga-studio/l10n/nl.json +6 -0
- package/templates/yoga-studio/l10n/no.json +6 -0
- package/templates/yoga-studio/l10n/pl.json +6 -0
- package/templates/yoga-studio/l10n/pt.json +6 -0
- package/templates/yoga-studio/l10n/ru.json +6 -0
- package/templates/yoga-studio/l10n/sv.json +6 -0
- package/templates/yoga-studio/l10n/th.json +6 -0
- package/templates/yoga-studio/l10n/tr.json +6 -0
- package/templates/yoga-studio/l10n/uk.json +6 -0
- package/templates/yoga-studio/l10n/vi.json +6 -0
- package/templates/yoga-studio/l10n/zh.json +6 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +7 -1
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +77 -0
- package/templates/yoga-studio/tier5-src/_shared/lifecycle.ts +15 -0
- package/templates/yoga-studio/tier5-src/_shared/nav-member-avatar.ts +92 -0
- package/templates/yoga-studio/tier5-src/himi-branded-lite-nav/index.ts +15 -6
- package/templates/yoga-studio/tier5-src/himi-events-list/index.ts +17 -0
- package/templates/yoga-studio/tier5-src/himi-store-account/index.ts +26 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-query.ts +8 -0
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +7 -1
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "إغلاق",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "الصفحات",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "عرض الكل ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Zavřít",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Stránky",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Zobrazit vše ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Luk",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Sider",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Vis alle ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Schließen",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Seiten",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Alle anzeigen ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Κλείσιμο",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Σελίδες",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Εμφάνιση όλων ({count})",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$source": "en",
|
|
3
|
-
"$generated": "2026-11-
|
|
3
|
+
"$generated": "2026-11-23T10:50:42.521Z",
|
|
4
4
|
"messages": {
|
|
5
5
|
"h_0028d743eb44": {
|
|
6
6
|
"source": "Sale",
|
|
@@ -777,6 +777,13 @@
|
|
|
777
777
|
"key": "accountSettings.retypePasswordLabel",
|
|
778
778
|
"keyOrigin": "string-table"
|
|
779
779
|
},
|
|
780
|
+
"h_600584c2d5cc": {
|
|
781
|
+
"source": "Pages",
|
|
782
|
+
"kind": "Text.text",
|
|
783
|
+
"translation": "",
|
|
784
|
+
"key": "account.pagesHeading",
|
|
785
|
+
"keyOrigin": "string-table"
|
|
786
|
+
},
|
|
780
787
|
"h_606fbc2594a0": {
|
|
781
788
|
"source": "You are offline. These are the products from your last visit.",
|
|
782
789
|
"kind": "Text.text",
|
|
@@ -1153,7 +1160,7 @@
|
|
|
1153
1160
|
},
|
|
1154
1161
|
"h_891e9d6d47f1": {
|
|
1155
1162
|
"source": "Agenda",
|
|
1156
|
-
"kind": "
|
|
1163
|
+
"kind": "Text.text",
|
|
1157
1164
|
"translation": "",
|
|
1158
1165
|
"key": "tab.agenda"
|
|
1159
1166
|
},
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Cerrar",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Páginas",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Ver todo ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Sulje",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Sivut",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Näytä kaikki ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Fermer",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Pages",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_03e89418ffdf": {
|
|
2022
2028
|
"source": "Your Home",
|
|
2023
2029
|
"translation": "Votre accueil",
|
|
@@ -1695,6 +1695,11 @@
|
|
|
1695
1695
|
"source": "Dismiss",
|
|
1696
1696
|
"translation": "סגירה"
|
|
1697
1697
|
},
|
|
1698
|
+
"h_600584c2d5cc": {
|
|
1699
|
+
"source": "Pages",
|
|
1700
|
+
"translation": "דפים",
|
|
1701
|
+
"key": "account.pagesHeading"
|
|
1702
|
+
},
|
|
1698
1703
|
"h_03e89418ffdf": {
|
|
1699
1704
|
"source": "Your Home",
|
|
1700
1705
|
"translation": "הבית שלך"
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Bezárás",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Oldalak",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Az összes megjelenítése ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Tutup",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Halaman",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Tampilkan semua ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Chiudi",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Pagine",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Mostra tutto ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "閉じる",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "ページ",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "すべて表示({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "닫기",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "페이지",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "모두 보기 ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Uždaryti",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Puslapiai",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Rodyti viską ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Sluiten",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Pagina's",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Alles tonen ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Lukk",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Sider",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Vis alle ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Zamknij",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Strony",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Pokaż wszystko ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Fechar",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Páginas",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Mostrar tudo ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Закрыть",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Страницы",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Показать все ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Stäng",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Sidor",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Visa alla ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "ปิด",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "หน้า",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "ดูทั้งหมด ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Kapat",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Sayfalar",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Tümünü göster ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Закрити",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Сторінки",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Показати все ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "Đóng",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "Trang",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "Xem tất cả ({count})",
|
|
@@ -2018,6 +2018,12 @@
|
|
|
2018
2018
|
"translation": "关闭",
|
|
2019
2019
|
"origin": "machine"
|
|
2020
2020
|
},
|
|
2021
|
+
"h_600584c2d5cc": {
|
|
2022
|
+
"key": "account.pagesHeading",
|
|
2023
|
+
"source": "Pages",
|
|
2024
|
+
"translation": "页面",
|
|
2025
|
+
"origin": "machine"
|
|
2026
|
+
},
|
|
2021
2027
|
"h_1e9b74b4dda5": {
|
|
2022
2028
|
"source": "Show all ({count})",
|
|
2023
2029
|
"translation": "查看全部({count})",
|
|
@@ -5,6 +5,10 @@ export interface CollectionQuery {
|
|
|
5
5
|
filter: string;
|
|
6
6
|
sort: 'default' | 'az' | 'za';
|
|
7
7
|
savedIds: string[];
|
|
8
|
+
/** What the list is limited to beyond the controls above (a domain's own selection, e.g. the events of some categories), as one
|
|
9
|
+
* canonical string. Part of the criteria, so a list opened on another selection never shows or restores this one's rows. Absent
|
|
10
|
+
* when there is none: criteria without it keep the key they always had. */
|
|
11
|
+
scope?: string;
|
|
8
12
|
}
|
|
9
13
|
export interface CollectionPage<Row> {
|
|
10
14
|
items: Row[];
|
|
@@ -39,11 +43,15 @@ export interface CollectionQuerySource<Row> {
|
|
|
39
43
|
* key carries the account, and a purge tears parked workers down). */
|
|
40
44
|
clearOnError?(error: unknown): boolean;
|
|
41
45
|
}
|
|
46
|
+
/** A scope is read back by its domain, so it is never cut: this exceeds the largest selection the events list encodes (100 ids of 64 characters, about 6.9k). */
|
|
47
|
+
const SCOPE_MAX = 8192;
|
|
42
48
|
const normalize = (q: Partial<CollectionQuery>): CollectionQuery => ({
|
|
43
49
|
query: typeof q.query === 'string' ? q.query.trim().slice(0, 256) : '',
|
|
44
50
|
filter: typeof q.filter === 'string' ? q.filter.slice(0, 256) : 'all',
|
|
45
51
|
sort: q.sort === 'az' || q.sort === 'za' ? q.sort : 'default',
|
|
46
52
|
savedIds: Array.isArray(q.savedIds) ? [...new Set(q.savedIds.filter(id => typeof id === 'string' && id.length > 0 && id.length <= 256))].slice(0, 500) : [],
|
|
53
|
+
|
|
54
|
+
...(typeof q.scope === 'string' && q.scope ? { scope: q.scope.slice(0, SCOPE_MAX) } : {}),
|
|
47
55
|
});
|
|
48
56
|
const copyQuery = (q: CollectionQuery): CollectionQuery => ({ ...q, savedIds: [...q.savedIds] });
|
|
49
57
|
|
|
@@ -23,6 +23,8 @@ interface BackendCollection {
|
|
|
23
23
|
/** Sees the load action's argument (the screen's onAppear params) BEFORE the query runs. A returned
|
|
24
24
|
* `{ filter, sort }` resets the criteria for that load (a screen that always opens on one view). */
|
|
25
25
|
onLoad?(arg: unknown): CollectionCriteriaReset | void;
|
|
26
|
+
/** The collection's own selection as part of every query's criteria (see `CollectionQuery.scope`); "" for none. */
|
|
27
|
+
scope?(): string;
|
|
26
28
|
controller: ReturnType<typeof createCollectionQuery<CollectionRow>>;
|
|
27
29
|
apply(state: State, page: CollectionQueryState<CollectionRow>): State;
|
|
28
30
|
}
|
|
@@ -284,7 +286,7 @@ export function decorateCollection(name: string, def: { state: State; actions?:
|
|
|
284
286
|
// A screen with no search field clears a query an older screen persisted, or it narrows every view for good.
|
|
285
287
|
if (typeof input.query === 'string') prefs.query = input.query.slice(0, 256);
|
|
286
288
|
};
|
|
287
|
-
const criteria = () => ({ query: prefs.query, sort: prefs.sort, filter: prefs.filter, savedIds: prefs.filter === 'saved' ? prefs.savedIds : [] });
|
|
289
|
+
const criteria = () => ({ query: prefs.query, sort: prefs.sort, filter: prefs.filter, savedIds: prefs.filter === 'saved' ? prefs.savedIds : [], ...(backend?.scope ? { scope: backend.scope() } : {}) });
|
|
288
290
|
const criteriaKey = () => JSON.stringify(criteria());
|
|
289
291
|
actions.collectionDismissFilters = change(() => { filtersPresented = false; });
|
|
290
292
|
actions.collectionFilters = change(() => { filtersPresented = !filtersPresented; });
|
|
@@ -365,6 +367,9 @@ export function defineBackendCollection<S extends object, Row extends object>(na
|
|
|
365
367
|
/** The load action's argument (onAppear params beyond `copy`), before the query runs — for a
|
|
366
368
|
* domain setting that rides the descriptor, e.g. My Bookings' `weeklyGoal`. */
|
|
367
369
|
onLoad?(arg: unknown): CollectionCriteriaReset | void;
|
|
370
|
+
/** A selection the list is limited to, as one canonical string ("" for none): it joins the criteria, so another selection is another
|
|
371
|
+
* result set (no stale rows behind a revalidation, no restore of another selection's pages) and `source` reads it off `criteria.scope`. */
|
|
372
|
+
scope?(): string;
|
|
368
373
|
state: S;
|
|
369
374
|
source: CollectionQuerySource<Row>;
|
|
370
375
|
apply(state: S, page: CollectionQueryState<Row>): S;
|
|
@@ -380,6 +385,7 @@ export function defineBackendCollection<S extends object, Row extends object>(na
|
|
|
380
385
|
const definition = decorateCollection(name, { state: options.state as State, actions: options.actions as Record<string, Reducer> | undefined }, options.saving, {
|
|
381
386
|
restorePagesOnLoad: options.restorePagesOnLoad,
|
|
382
387
|
onLoad: avatar ? arg => { avatar.onLoad(arg); return options.onLoad?.(arg); } : options.onLoad,
|
|
388
|
+
scope: options.scope,
|
|
383
389
|
controller: controller as unknown as BackendCollection['controller'],
|
|
384
390
|
apply: (state, page) => {
|
|
385
391
|
const applied = options.apply(state as S, page as unknown as CollectionQueryState<Row>) as State;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Shared by the app-level nav workers that serve more than one piece (header badges, access gates, the member avatar).
|
|
2
|
+
// Its own module so a worker that serves only some of them does not bundle the others.
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The reserved lifecycle hooks of a service that serves more than one piece: the host calls one `onForeground` and
|
|
6
|
+
* one `onIdentityChange`, so each piece's hook runs in turn.
|
|
7
|
+
*/
|
|
8
|
+
export function chainLifecycle<S>(
|
|
9
|
+
...pieces: Array<{ onForeground: (s: S) => Promise<S>; onIdentityChange: (s: S) => Promise<S> }>
|
|
10
|
+
): { onForeground: (s: S) => Promise<S>; onIdentityChange: (s: S) => Promise<S> } {
|
|
11
|
+
return {
|
|
12
|
+
onForeground: async (s) => { let next = s; for (const piece of pieces) next = await piece.onForeground(next); return next; },
|
|
13
|
+
onIdentityChange: async (s) => { let next = s; for (const piece of pieces) next = await piece.onIdentityChange(next); return next; },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// The signed-in member's profile photo and initials, for the top-bar avatar every tab root draws at its leading edge
|
|
2
|
+
// (`navigation.topBarDefault.items`, bound as `$app:brandedLiteNav.memberImage` / `.memberInitials`). A Visitor has
|
|
3
|
+
// neither: both are "" and the avatar draws the person glyph. Shared by the app-level nav workers that serve it.
|
|
4
|
+
//
|
|
5
|
+
// Like the header badges (`header-badges.ts`) it is read at launch, whenever the signed-in identity changes (the native
|
|
6
|
+
// host session clock, or the reserved `onIdentityChange` hook a web host delivers), and on every foreground (a photo
|
|
7
|
+
// changed in Account settings shows on return). A read that finishes after the identity changed, or after a newer read
|
|
8
|
+
// began, is dropped. The values are the member's personal data: declare them `notPersisted` and `notHydrated`, so a
|
|
9
|
+
// stored snapshot never shows the previous member's face.
|
|
10
|
+
import { hostSessionFromGlobal } from "@himalaya/iap";
|
|
11
|
+
import { loadMemberProfile } from "./himi-account.js";
|
|
12
|
+
|
|
13
|
+
export interface MemberAvatarState {
|
|
14
|
+
memberImage: string;
|
|
15
|
+
memberInitials: string;
|
|
16
|
+
}
|
|
17
|
+
export const MEMBER_AVATAR_INITIAL: MemberAvatarState = { memberImage: "", memberInitials: "" };
|
|
18
|
+
export const MEMBER_AVATAR_KEYS: (keyof MemberAvatarState)[] = ["memberImage", "memberInitials"];
|
|
19
|
+
|
|
20
|
+
// A `type`, not an `interface`: `defineService` constrains its actions to `Record<string, fn>`.
|
|
21
|
+
export type MemberAvatarActionSignatures<S> = {
|
|
22
|
+
/** Re-read the member's photo and initials. Only the newest read lands. */
|
|
23
|
+
refreshMemberAvatar: (s: S) => Promise<S>;
|
|
24
|
+
/** Forget the member (a new identity), committed at once so no stale face waits on a network read. */
|
|
25
|
+
dropMemberAvatar: (s: S) => Promise<S>;
|
|
26
|
+
/** Reserved lifecycle hooks the app-service host delivers to every service that declares them. */
|
|
27
|
+
onForeground: (s: S) => Promise<S>;
|
|
28
|
+
onIdentityChange: (s: S) => Promise<S>;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export interface MemberAvatar<S> {
|
|
32
|
+
actions: MemberAvatarActionSignatures<S>;
|
|
33
|
+
/** Call once after `defineService`: the launch read, and the session clock's notifications. */
|
|
34
|
+
start(): void;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type Update<S> = (s: S, change: (current: S) => Promise<S>) => Promise<S>;
|
|
38
|
+
type Self = () => { refreshMemberAvatar(): Promise<unknown>; dropMemberAvatar(): Promise<unknown> };
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @param update serializes state changes for the worker, so overlapping actions build on the preceding result
|
|
42
|
+
* @param self the worker's own service handle (read lazily: it does not exist yet when this is called)
|
|
43
|
+
*/
|
|
44
|
+
export function memberAvatar<S extends MemberAvatarState>(update: Update<S>, self: Self): MemberAvatar<S> {
|
|
45
|
+
/** Which read is the newest: an older one that finishes later must not overwrite a newer answer. */
|
|
46
|
+
let read = 0;
|
|
47
|
+
/** The host session generation the avatar on show was read under. */
|
|
48
|
+
let generation = -1;
|
|
49
|
+
const session = hostSessionFromGlobal();
|
|
50
|
+
|
|
51
|
+
const actions: MemberAvatarActionSignatures<S> = {
|
|
52
|
+
refreshMemberAvatar: async (s) => {
|
|
53
|
+
const mine = ++read;
|
|
54
|
+
// A guest comes back as the placeholder ("M" initials); the avatar draws the person glyph for a guest, so only a member's values count.
|
|
55
|
+
const profile = await loadMemberProfile("");
|
|
56
|
+
return update(s, async (current) => mine === read
|
|
57
|
+
? { ...current, memberImage: profile.isMember ? profile.memberImage : "", memberInitials: profile.isMember ? profile.memberInitials : "" }
|
|
58
|
+
: current);
|
|
59
|
+
},
|
|
60
|
+
dropMemberAvatar: async (s) => {
|
|
61
|
+
++read; // a read already in flight belongs to the previous identity
|
|
62
|
+
return update(s, async (current) => ({ ...current, ...MEMBER_AVATAR_INITIAL }));
|
|
63
|
+
},
|
|
64
|
+
onForeground: async (s) => update(s, async (current) => current).finally(() => { void self().refreshMemberAvatar(); }),
|
|
65
|
+
onIdentityChange: async (s) => {
|
|
66
|
+
++read;
|
|
67
|
+
const dropped = await update(s, async (current) => ({ ...current, ...MEMBER_AVATAR_INITIAL }));
|
|
68
|
+
void self().refreshMemberAvatar();
|
|
69
|
+
return dropped;
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/** A session notification: a new generation is a new identity, so the previous member's face goes first. */
|
|
74
|
+
async function onSession(): Promise<void> {
|
|
75
|
+
const now = session.current().generation;
|
|
76
|
+
if (now !== generation) {
|
|
77
|
+
generation = now;
|
|
78
|
+
await self().dropMemberAvatar();
|
|
79
|
+
}
|
|
80
|
+
await self().refreshMemberAvatar();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
return {
|
|
84
|
+
actions,
|
|
85
|
+
start(): void {
|
|
86
|
+
// Subscribing notifies at once, which is the launch read; a host with no clock needs the explicit one.
|
|
87
|
+
let notified = false;
|
|
88
|
+
session.subscribe(() => { notified = true; void onSession(); });
|
|
89
|
+
if (!notified) void self().refreshMemberAvatar();
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -23,8 +23,10 @@ import { applyBrand } from "@himalaya/theme";
|
|
|
23
23
|
import { hostSiteFromInput, hostedHiddenFlags } from "../_shared/branded-lite-hosted.js";
|
|
24
24
|
import { LOCATION_PIN_INITIAL, locationPin, type LocationPin, type LocationPinActionSignatures, type LocationPinState } from "../_shared/location-pin.js";
|
|
25
25
|
import { HEADER_BADGES_INITIAL, HEADER_BADGE_KEYS, headerBadges, type HeaderBadgeActionSignatures, type HeaderBadges, type HeaderBadgeState } from "../_shared/header-badges.js";
|
|
26
|
+
import { MEMBER_AVATAR_INITIAL, MEMBER_AVATAR_KEYS, memberAvatar, type MemberAvatar, type MemberAvatarActionSignatures, type MemberAvatarState } from "../_shared/nav-member-avatar.js";
|
|
27
|
+
import { chainLifecycle } from "../_shared/lifecycle.js";
|
|
26
28
|
|
|
27
|
-
interface NavState extends HeaderBadgeState, LocationPinState {
|
|
29
|
+
interface NavState extends HeaderBadgeState, LocationPinState, MemberAvatarState {
|
|
28
30
|
error: string;
|
|
29
31
|
/** Notifications received but not yet opened. Drives the app-icon badge. */
|
|
30
32
|
unread: number;
|
|
@@ -70,6 +72,8 @@ const hostedSite = hostSiteFromInput((globalThis as { himalaya?: { input?: unkno
|
|
|
70
72
|
|
|
71
73
|
// The header badge counts (bell, chat, cart): one service piece shared with the template's badges-only worker.
|
|
72
74
|
const badges: HeaderBadges<NavState> = headerBadges<NavState>(updateInOrder, () => svc);
|
|
75
|
+
// The member's photo and initials for the top-bar avatar (`topBarDefault`, bound as `$app:brandedLiteNav.memberImage`).
|
|
76
|
+
const avatar: MemberAvatar<NavState> = memberAvatar<NavState>(updateInOrder, () => svc);
|
|
73
77
|
// The Services top-bar location pin (`noLocationMenu`): one piece shared with the access-gates worker.
|
|
74
78
|
const pin: LocationPin<NavState> = locationPin<NavState>(updateInOrder, () => svc);
|
|
75
79
|
|
|
@@ -79,11 +83,12 @@ const svc = defineService<NavState, {
|
|
|
79
83
|
onNotification: (s: NavState, params?: unknown) => Promise<NavState>;
|
|
80
84
|
/** Zero the count (the user has caught up). */
|
|
81
85
|
clearUnread: (s: NavState) => Promise<NavState>;
|
|
82
|
-
} & HeaderBadgeActionSignatures<NavState> & LocationPinActionSignatures<NavState>>("brandedLiteNav", {
|
|
83
|
-
state: { error: "", unread: 0, hasUnread: false, unreadIds: [], lastTemplateId: "", lastTopic: "", lastResolvedLink: "", hosted: hostedHiddenFlags(hostedSite), ...LOCATION_PIN_INITIAL, ...HEADER_BADGES_INITIAL },
|
|
84
|
-
// The header badge counts describe THIS run (see _shared/header-badges.ts)
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
} & HeaderBadgeActionSignatures<NavState> & LocationPinActionSignatures<NavState> & MemberAvatarActionSignatures<NavState>>("brandedLiteNav", {
|
|
87
|
+
state: { error: "", unread: 0, hasUnread: false, unreadIds: [], lastTemplateId: "", lastTopic: "", lastResolvedLink: "", hosted: hostedHiddenFlags(hostedSite), ...LOCATION_PIN_INITIAL, ...HEADER_BADGES_INITIAL, ...MEMBER_AVATAR_INITIAL },
|
|
88
|
+
// The header badge counts describe THIS run (see _shared/header-badges.ts), and the avatar is the signed-in member's
|
|
89
|
+
// personal data (_shared/nav-member-avatar.ts): never stored, never restored.
|
|
90
|
+
notPersisted: [...HEADER_BADGE_KEYS, ...MEMBER_AVATAR_KEYS],
|
|
91
|
+
notHydrated: [...HEADER_BADGE_KEYS, ...MEMBER_AVATAR_KEYS],
|
|
87
92
|
actions: {
|
|
88
93
|
onNotification: async (s, params) => {
|
|
89
94
|
return updateInOrder(s, (current) => {
|
|
@@ -103,6 +108,9 @@ const svc = defineService<NavState, {
|
|
|
103
108
|
.finally(() => badges.refresh()),
|
|
104
109
|
...pin.actions,
|
|
105
110
|
...badges.actions,
|
|
111
|
+
...avatar.actions,
|
|
112
|
+
// The host calls one `onForeground` and one `onIdentityChange`: the badges and the avatar each run in turn.
|
|
113
|
+
...chainLifecycle<NavState>(badges.actions, avatar.actions),
|
|
106
114
|
},
|
|
107
115
|
});
|
|
108
116
|
|
|
@@ -144,6 +152,7 @@ export { svc };
|
|
|
144
152
|
pin.start(!!hostedSite && hostedHiddenFlags(hostedSite).bookings);
|
|
145
153
|
// Subscribing notifies at once, which is the launch read; a host with no clock needs the explicit one.
|
|
146
154
|
badges.start();
|
|
155
|
+
avatar.start();
|
|
147
156
|
|
|
148
157
|
// Hosted mode: the site's own brand over the build's. The shell's brand slot is scoped to this
|
|
149
158
|
// host session, so a site switch drops it.
|