@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
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "إغلاق",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "الصفحات",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "عرض الكل ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Zavřít",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Stránky",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Zobrazit vše ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Luk",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Sider",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Vis alle ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Schließen",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Seiten",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Alle anzeigen ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Κλείσιμο",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Σελίδες",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"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",
|
|
@@ -631,6 +631,13 @@
|
|
|
631
631
|
"key": "accountSettings.retypePasswordLabel",
|
|
632
632
|
"keyOrigin": "string-table"
|
|
633
633
|
},
|
|
634
|
+
"h_600584c2d5cc": {
|
|
635
|
+
"source": "Pages",
|
|
636
|
+
"kind": "Text.text",
|
|
637
|
+
"translation": "",
|
|
638
|
+
"key": "account.pagesHeading",
|
|
639
|
+
"keyOrigin": "string-table"
|
|
640
|
+
},
|
|
634
641
|
"h_606fbc2594a0": {
|
|
635
642
|
"source": "You are offline. These are the products from your last visit.",
|
|
636
643
|
"kind": "Text.text",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Cerrar",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Páginas",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Ver todo ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Sulje",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Sivut",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Näytä kaikki ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Fermer",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Pages",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_03e89418ffdf": {
|
|
1602
1608
|
"source": "Your Home",
|
|
1603
1609
|
"translation": "Votre accueil",
|
|
@@ -1344,6 +1344,11 @@
|
|
|
1344
1344
|
"source": "Dismiss",
|
|
1345
1345
|
"translation": "סגירה"
|
|
1346
1346
|
},
|
|
1347
|
+
"h_600584c2d5cc": {
|
|
1348
|
+
"source": "Pages",
|
|
1349
|
+
"translation": "דפים",
|
|
1350
|
+
"key": "account.pagesHeading"
|
|
1351
|
+
},
|
|
1347
1352
|
"h_03e89418ffdf": {
|
|
1348
1353
|
"source": "Your Home",
|
|
1349
1354
|
"translation": "הבית שלך"
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Bezárás",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Oldalak",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Az összes megjelenítése ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Tutup",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Halaman",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Tampilkan semua ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Chiudi",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Pagine",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Mostra tutto ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "閉じる",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "ページ",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "すべて表示({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "닫기",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "페이지",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "모두 보기 ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Uždaryti",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Puslapiai",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Rodyti viską ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Sluiten",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Pagina's",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Alles tonen ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Lukk",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Sider",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Vis alle ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Zamknij",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Strony",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Pokaż wszystko ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Fechar",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Páginas",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Mostrar tudo ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Закрыть",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Страницы",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Показать все ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Stäng",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Sidor",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Visa alla ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "ปิด",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "หน้า",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "ดูทั้งหมด ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Kapat",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Sayfalar",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Tümünü göster ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Закрити",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Сторінки",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Показати все ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "Đóng",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "Trang",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "Xem tất cả ({count})",
|
|
@@ -1598,6 +1598,12 @@
|
|
|
1598
1598
|
"translation": "关闭",
|
|
1599
1599
|
"origin": "machine"
|
|
1600
1600
|
},
|
|
1601
|
+
"h_600584c2d5cc": {
|
|
1602
|
+
"key": "account.pagesHeading",
|
|
1603
|
+
"source": "Pages",
|
|
1604
|
+
"translation": "页面",
|
|
1605
|
+
"origin": "machine"
|
|
1606
|
+
},
|
|
1601
1607
|
"h_1e9b74b4dda5": {
|
|
1602
1608
|
"source": "Show all ({count})",
|
|
1603
1609
|
"translation": "查看全部({count})",
|
|
@@ -7,6 +7,10 @@ export interface CollectionQuery {
|
|
|
7
7
|
filter: string;
|
|
8
8
|
sort: 'default' | 'az' | 'za';
|
|
9
9
|
savedIds: string[];
|
|
10
|
+
/** What the list is limited to beyond the controls above (a domain's own selection, e.g. the events of some categories), as one
|
|
11
|
+
* canonical string. Part of the criteria, so a list opened on another selection never shows or restores this one's rows. Absent
|
|
12
|
+
* when there is none: criteria without it keep the key they always had. */
|
|
13
|
+
scope?: string;
|
|
10
14
|
}
|
|
11
15
|
export interface CollectionPage<Row> {
|
|
12
16
|
items: Row[];
|
|
@@ -42,11 +46,14 @@ export interface CollectionQuerySource<Row> {
|
|
|
42
46
|
* key carries the account, and a purge tears parked workers down). */
|
|
43
47
|
clearOnError?(error: unknown): boolean;
|
|
44
48
|
}
|
|
49
|
+
/** 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). */
|
|
50
|
+
const SCOPE_MAX = 8192;
|
|
45
51
|
const normalize = (q: Partial<CollectionQuery>): CollectionQuery => ({
|
|
46
52
|
query: typeof q.query === 'string' ? q.query.trim().slice(0, 256) : '',
|
|
47
53
|
filter: typeof q.filter === 'string' ? q.filter.slice(0, 256) : 'all',
|
|
48
54
|
sort: q.sort === 'az' || q.sort === 'za' ? q.sort : 'default',
|
|
49
55
|
savedIds: Array.isArray(q.savedIds) ? [...new Set(q.savedIds.filter(id => typeof id === 'string' && id.length > 0 && id.length <= 256))].slice(0, 500) : [],
|
|
56
|
+
...(typeof q.scope === 'string' && q.scope ? { scope: q.scope.slice(0, SCOPE_MAX) } : {}),
|
|
50
57
|
});
|
|
51
58
|
const copyQuery = (q: CollectionQuery): CollectionQuery => ({ ...q, savedIds: [...q.savedIds] });
|
|
52
59
|
|
|
@@ -8,6 +8,10 @@ export interface CollectionQuery {
|
|
|
8
8
|
filter: string;
|
|
9
9
|
sort: 'default' | 'az' | 'za';
|
|
10
10
|
savedIds: string[];
|
|
11
|
+
/** What the list is limited to beyond the controls above (a domain's own selection, e.g. the events of some categories), as one
|
|
12
|
+
* canonical string. Part of the criteria, so a list opened on another selection never shows or restores this one's rows. Absent
|
|
13
|
+
* when there is none: criteria without it keep the key they always had. */
|
|
14
|
+
scope?: string;
|
|
11
15
|
}
|
|
12
16
|
export interface CollectionPage<Row> {
|
|
13
17
|
items: Row[];
|
|
@@ -52,11 +56,14 @@ export interface CollectionReadOptions {
|
|
|
52
56
|
cache: 'only-if-cached' | 'reload';
|
|
53
57
|
onCacheResult(metadata: ReadMetadata): void;
|
|
54
58
|
}
|
|
59
|
+
/** 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). */
|
|
60
|
+
const SCOPE_MAX = 8192;
|
|
55
61
|
const normalize = (q: Partial<CollectionQuery>): CollectionQuery => ({
|
|
56
62
|
query: typeof q.query === 'string' ? q.query.trim().slice(0, 256) : '',
|
|
57
63
|
filter: typeof q.filter === 'string' ? q.filter.slice(0, 256) : 'all',
|
|
58
64
|
sort: q.sort === 'az' || q.sort === 'za' ? q.sort : 'default',
|
|
59
65
|
savedIds: Array.isArray(q.savedIds) ? [...new Set(q.savedIds.filter(id => typeof id === 'string' && id.length > 0 && id.length <= 256))].slice(0, 500) : [],
|
|
66
|
+
...(typeof q.scope === 'string' && q.scope ? { scope: q.scope.slice(0, SCOPE_MAX) } : {}),
|
|
60
67
|
});
|
|
61
68
|
const copyQuery = (q: CollectionQuery): CollectionQuery => ({ ...q, savedIds: [...q.savedIds] });
|
|
62
69
|
|
|
@@ -19,6 +19,8 @@ interface BackendCollection {
|
|
|
19
19
|
/** Sees the load action's argument (the screen's onAppear params) BEFORE the query runs. A returned
|
|
20
20
|
* `{ filter, sort }` resets the criteria for that load (a screen that always opens on one view). */
|
|
21
21
|
onLoad?(arg: unknown): CollectionCriteriaReset | void;
|
|
22
|
+
/** The collection's own selection as part of every query's criteria (see `CollectionQuery.scope`); "" for none. */
|
|
23
|
+
scope?(): string;
|
|
22
24
|
controller: ReturnType<typeof createCollectionQuery<CollectionRow>>;
|
|
23
25
|
apply(state: State, page: CollectionQueryState<CollectionRow>): State;
|
|
24
26
|
}
|
|
@@ -288,7 +290,7 @@ export function decorateCollection(name: string, def: { state: State; actions?:
|
|
|
288
290
|
// A screen with no search field clears a query an older screen persisted, or it narrows every view for good.
|
|
289
291
|
if (typeof input.query === 'string') prefs.query = input.query.slice(0, 256);
|
|
290
292
|
};
|
|
291
|
-
const criteria = () => ({ query: prefs.query, sort: prefs.sort, filter: prefs.filter, savedIds: prefs.filter === 'saved' ? prefs.savedIds : [] });
|
|
293
|
+
const criteria = () => ({ query: prefs.query, sort: prefs.sort, filter: prefs.filter, savedIds: prefs.filter === 'saved' ? prefs.savedIds : [], ...(backend?.scope ? { scope: backend.scope() } : {}) });
|
|
292
294
|
const criteriaKey = () => JSON.stringify(criteria());
|
|
293
295
|
actions.collectionDismissFilters = change(() => { filtersPresented = false; });
|
|
294
296
|
actions.collectionFilters = change(() => { filtersPresented = !filtersPresented; });
|
|
@@ -378,6 +380,9 @@ export function defineBackendCollection<S extends object, Row extends object>(na
|
|
|
378
380
|
/** The load action's argument (onAppear params beyond `copy`), before the query runs — for a
|
|
379
381
|
* domain setting that rides the descriptor, e.g. My Bookings' `weeklyGoal`. */
|
|
380
382
|
onLoad?(arg: unknown): CollectionCriteriaReset | void;
|
|
383
|
+
/** A selection the list is limited to, as one canonical string ("" for none): it joins the criteria, so another selection is another
|
|
384
|
+
* result set (no stale rows behind a revalidation, no restore of another selection's pages) and `source` reads it off `criteria.scope`. */
|
|
385
|
+
scope?(): string;
|
|
381
386
|
state: S;
|
|
382
387
|
source: CollectionQuerySource<Row>;
|
|
383
388
|
apply(state: S, page: CollectionQueryState<Row>): S;
|
|
@@ -397,6 +402,7 @@ export function defineBackendCollection<S extends object, Row extends object>(na
|
|
|
397
402
|
restorePagesOnLoad: options.restorePagesOnLoad,
|
|
398
403
|
readLifecycle: options.readLifecycle,
|
|
399
404
|
onLoad: avatar ? arg => { avatar.onLoad(arg); return options.onLoad?.(arg); } : options.onLoad,
|
|
405
|
+
scope: options.scope,
|
|
400
406
|
controller: controller as unknown as BackendCollection['controller'],
|
|
401
407
|
apply: (state, page) => {
|
|
402
408
|
const applied = { ...options.apply(state as S, page as unknown as CollectionQueryState<Row>), ...(options.readLifecycle ? { readStatus: page.read } : {}) } as State;
|
|
@@ -262,7 +262,20 @@ function settle(next: S, arg: unknown, latest = true): S {
|
|
|
262
262
|
}
|
|
263
263
|
// Account forwards only on an appear refresh: the boot `load()` has no params and its
|
|
264
264
|
// navigation is dropped, so a forward there was lost and used up the one forward.
|
|
265
|
-
|
|
265
|
+
if (!strField(arg, "signInScreen")) return next;
|
|
266
|
+
const forwarded = forwardToSignIn(next);
|
|
267
|
+
return forwarded === next ? offerSignIn(next, arg) : forwarded;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/** Profile (appear param `signInOnAppear: "1"`, set by an app whose top bar leads with the profile avatar): a guest who opens it is
|
|
271
|
+
* offered the standalone sign-in as a sheet, once. The sheet closes by itself or by the guest: either way this screen is under it, so
|
|
272
|
+
* a guest who only closes it stays on the guest Profile. A reload that follows is not a second offer; a member resets it. */
|
|
273
|
+
let signInOffered = false;
|
|
274
|
+
function offerSignIn(next: S, arg: unknown): S {
|
|
275
|
+
if (next.isMember) { signInOffered = false; return next; }
|
|
276
|
+
if (strField(arg, "signInOnAppear") !== "1" || signInOffered || next.standalone) return next;
|
|
277
|
+
signInOffered = true;
|
|
278
|
+
return openSignIn(next, { mode: "signin" }, null);
|
|
266
279
|
}
|
|
267
280
|
|
|
268
281
|
// A tick reads only the session. The profile is read again only when the signed-in email
|
|
@@ -325,6 +338,9 @@ let pollIdentityRequested = false;
|
|
|
325
338
|
// iOS can start the arg-less boot load after the appear refresh that asks for the row; the
|
|
326
339
|
// newer boot probe must not land, or be kept, without it.
|
|
327
340
|
let restorePurchasesRequested = false;
|
|
341
|
+
/** Profile's "Pages" group (appear param `showPages: "1"`): set on the screen's load by whoever knows the app's top bar
|
|
342
|
+
* leads with the profile avatar, so the drawer's pages stay reachable. Off, the group is hidden. */
|
|
343
|
+
let showPagesRequested = false;
|
|
328
344
|
/** An app's sign-in form that carries the ended-session notice (appear param `sessionEndedNotice: "1"`).
|
|
329
345
|
* Only that form gets the signed-out headline, whose copy only that app's pack translates, and the ended
|
|
330
346
|
* session's address, which only its email field shows, so no form submits it unseen. */
|
|
@@ -342,6 +358,7 @@ function appearBase(): Partial<S> {
|
|
|
342
358
|
standalone: standaloneRequested,
|
|
343
359
|
pollIdentity: pollIdentityRequested,
|
|
344
360
|
restorePurchases: restorePurchasesRequested,
|
|
361
|
+
showPages: showPagesRequested,
|
|
345
362
|
// One `_poll` per state: Account polls identity and never shows the social block.
|
|
346
363
|
...(pollIdentityRequested ? { _poll: { ...IDENTITY_POLL } } : socialRetriesLeft > 0 || flowsRetriesLeft > 0 ? { _poll: { ...SOCIAL_POLL } } : {}),
|
|
347
364
|
};
|
|
@@ -370,6 +387,7 @@ function appearConfig(s: S, arg: unknown): AppearConfig {
|
|
|
370
387
|
standaloneRequested ||= s.standalone || appearing || (!routeInputConsumed && !!routeInput().mode);
|
|
371
388
|
pollIdentityRequested ||= s.pollIdentity || strField(arg, "pollIdentity") === "1";
|
|
372
389
|
restorePurchasesRequested ||= s.restorePurchases || strField(arg, "restorePurchases") === "1";
|
|
390
|
+
showPagesRequested ||= s.showPages || strField(arg, "showPages") === "1";
|
|
373
391
|
sessionEndedNoticeRequested ||= strField(arg, "sessionEndedNotice") === "1";
|
|
374
392
|
// The form opens on the mode its route asked for each time it appears, sign-in by
|
|
375
393
|
// default: a pooled worker reopened with the same params must not open on the mode the
|
|
@@ -832,6 +850,10 @@ interface S extends IapRestoreFields {
|
|
|
832
850
|
* `restorePurchases: "1"`). Only then does the worker reach the App Store layer, so a
|
|
833
851
|
* descriptor that renders no such row need not declare `iap`. */
|
|
834
852
|
restorePurchases: boolean;
|
|
853
|
+
/** Set once a descriptor asks for Profile's "Pages" group (appear param `showPages: "1"`). */
|
|
854
|
+
showPages: boolean;
|
|
855
|
+
/** Hides Profile's "Pages" group until then. */
|
|
856
|
+
hidePages: boolean;
|
|
835
857
|
/** Top-bar cart badge, read only once a descriptor asks for it (appear param
|
|
836
858
|
* `cartCount: "1"`), so an app with no store never reads a cart. A guest has a
|
|
837
859
|
* visitor cart too, so this is read for members and guests alike. */
|
|
@@ -899,6 +921,7 @@ function derive(s: S): S {
|
|
|
899
921
|
hideGuest: loading || !!s.isMember,
|
|
900
922
|
hideMember: loading || !s.isMember,
|
|
901
923
|
hideSessionEnded: loading || !!s.isMember || !s.sessionEnded,
|
|
924
|
+
hidePages: !s.showPages,
|
|
902
925
|
password: "",
|
|
903
926
|
busyMessage: s.authBusy ? translated("auth.feedback.busy") : "",
|
|
904
927
|
isLoading: s.status === "loading",
|
|
@@ -1164,6 +1187,8 @@ const svc = defineService<S, {
|
|
|
1164
1187
|
noMemberAddresses: true,
|
|
1165
1188
|
noMemberWallet: true,
|
|
1166
1189
|
restorePurchases: false,
|
|
1190
|
+
showPages: false,
|
|
1191
|
+
hidePages: true,
|
|
1167
1192
|
cartCount: 0,
|
|
1168
1193
|
greeting: "Hey, guest",
|
|
1169
1194
|
greetingFirstName: "",
|
|
@@ -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;
|