@wix/himalaya-cli 0.1761.0 → 0.1763.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 +10 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +23 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +136 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +112 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{7c3c05d452efd3f1e1e81b47dde7d9fa870c1e5217b00b253661a22b571fdbef.bin → a96903bb457796ee606fe986078d9629ba53b5ba4013bdb94e8afba3288284ed.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +51413 -50002
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/base44-app-to-himi-app.md +56 -0
- package/guides/component-reference.json +1 -1
- package/guides/component-reference.md +10 -0
- package/guides/himi-json-output.md +35 -0
- package/guides/one-app-section-mappings.md +6 -6
- package/guides/one-app-to-himi-app.md +33 -4
- package/guides/push-cli-onboarding.md +25 -14
- package/guides/recipe-dynamic-list.md +4 -2
- package/guides/wix-business-context.md +1 -1
- package/package.json +2 -2
- package/templates/beauty-salon/l10n/ar.json +9 -420
- package/templates/beauty-salon/l10n/cs.json +9 -420
- package/templates/beauty-salon/l10n/da.json +9 -420
- package/templates/beauty-salon/l10n/de.json +9 -420
- package/templates/beauty-salon/l10n/el.json +9 -420
- package/templates/beauty-salon/l10n/en.json +8 -61
- package/templates/beauty-salon/l10n/es.json +9 -420
- package/templates/beauty-salon/l10n/fi.json +9 -420
- package/templates/beauty-salon/l10n/fr.json +9 -420
- package/templates/beauty-salon/l10n/he.json +9 -338
- package/templates/beauty-salon/l10n/hu.json +9 -420
- package/templates/beauty-salon/l10n/id.json +9 -420
- package/templates/beauty-salon/l10n/it.json +9 -420
- package/templates/beauty-salon/l10n/ja.json +9 -420
- package/templates/beauty-salon/l10n/ko.json +9 -420
- package/templates/beauty-salon/l10n/lt.json +9 -420
- package/templates/beauty-salon/l10n/nl.json +9 -420
- package/templates/beauty-salon/l10n/no.json +9 -420
- package/templates/beauty-salon/l10n/pl.json +9 -420
- package/templates/beauty-salon/l10n/pt.json +9 -420
- package/templates/beauty-salon/l10n/ru.json +9 -420
- package/templates/beauty-salon/l10n/sv.json +9 -420
- package/templates/beauty-salon/l10n/th.json +9 -420
- package/templates/beauty-salon/l10n/tr.json +9 -420
- package/templates/beauty-salon/l10n/uk.json +9 -420
- package/templates/beauty-salon/l10n/vi.json +9 -420
- package/templates/beauty-salon/l10n/zh.json +9 -420
- package/templates/branded-lite/l10n/ar.json +31 -5
- package/templates/branded-lite/l10n/cs.json +31 -5
- package/templates/branded-lite/l10n/da.json +31 -5
- package/templates/branded-lite/l10n/de.json +31 -5
- package/templates/branded-lite/l10n/el.json +31 -5
- package/templates/branded-lite/l10n/en.json +8 -6
- package/templates/branded-lite/l10n/es.json +31 -5
- package/templates/branded-lite/l10n/fi.json +31 -5
- package/templates/branded-lite/l10n/fr.json +31 -5
- package/templates/branded-lite/l10n/he.json +27 -4
- package/templates/branded-lite/l10n/hu.json +31 -5
- package/templates/branded-lite/l10n/id.json +31 -5
- package/templates/branded-lite/l10n/it.json +31 -5
- package/templates/branded-lite/l10n/ja.json +31 -5
- package/templates/branded-lite/l10n/ko.json +31 -5
- package/templates/branded-lite/l10n/lt.json +31 -5
- package/templates/branded-lite/l10n/nl.json +31 -5
- package/templates/branded-lite/l10n/no.json +31 -5
- package/templates/branded-lite/l10n/pl.json +31 -5
- package/templates/branded-lite/l10n/pt.json +31 -5
- package/templates/branded-lite/l10n/ru.json +31 -5
- package/templates/branded-lite/l10n/sv.json +31 -5
- package/templates/branded-lite/l10n/th.json +31 -5
- package/templates/branded-lite/l10n/tr.json +31 -5
- package/templates/branded-lite/l10n/uk.json +31 -5
- package/templates/branded-lite/l10n/vi.json +31 -5
- package/templates/branded-lite/l10n/zh.json +31 -5
- package/templates/branded-lite/recipes/blog-search.json +45 -0
- package/templates/{events-meetups/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-carousel.json} +39 -118
- package/templates/{gym-fitness/recipes/programs-participant-carousel.json → branded-lite/recipes/galleries-list.json} +43 -121
- package/templates/{community-club/recipes/events-inline-list.json → branded-lite/recipes/group-feed.json} +112 -89
- package/templates/{beauty-salon/recipes/programs-participant-carousel.json → branded-lite/recipes/groups-cards.json} +71 -93
- package/templates/{beauty-salon/recipes/groups-list.json → branded-lite/recipes/services-list.json} +33 -9
- package/templates/{community-club/recipes/groups-list.json → branded-lite/recipes/subscriptions-list.json} +124 -60
- package/templates/branded-lite/recipes/upcoming-bookings.json +350 -0
- package/templates/branded-lite/recipes/videos-carousel.json +248 -0
- package/templates/branded-lite/tier5-src/_shared/blog-list.ts +75 -21
- package/templates/branded-lite/tier5-src/_shared/galleries-section.ts +115 -0
- package/templates/branded-lite/tier5-src/_shared/group-feed-section.ts +137 -0
- package/templates/branded-lite/tier5-src/_shared/groups-section.ts +7 -3
- package/templates/branded-lite/tier5-src/_shared/my-subscriptions-section.ts +107 -0
- package/templates/branded-lite/tier5-src/_shared/plans-section.ts +11 -3
- package/templates/branded-lite/tier5-src/_shared/programs-section.ts +2 -0
- package/templates/branded-lite/tier5-src/_shared/services-section.ts +122 -0
- package/templates/branded-lite/tier5-src/_shared/upcoming-bookings-section.ts +102 -0
- package/templates/branded-lite/tier5-src/_shared/videos-section.ts +91 -0
- package/templates/brandy/README.md +21 -3
- package/templates/brandy/config.ts +131 -14
- package/templates/brandy/dev/index.ts +41 -5
- package/templates/brandy/dev/member-screens.ts +14412 -0
- package/templates/brandy/provisioning.member.example.json +25 -0
- package/templates/brandy/tier5-src/_shared/branded-lite-hosted.ts +280 -0
- package/templates/brandy/tier5-src/_shared/branded-load-state.ts +109 -0
- package/templates/brandy/tier5-src/_shared/chat-live.ts +242 -0
- package/templates/brandy/tier5-src/_shared/collection-contract.ts +228 -0
- package/templates/brandy/tier5-src/_shared/collection-query-legacy.ts +194 -0
- package/templates/brandy/tier5-src/_shared/collection-query.ts +252 -0
- package/templates/brandy/tier5-src/_shared/collection-service.ts +423 -0
- package/templates/brandy/tier5-src/_shared/engine-intl.ts +523 -0
- package/templates/brandy/tier5-src/_shared/himi-account.ts +194 -0
- package/templates/brandy/tier5-src/_shared/himi-store.ts +7 -0
- package/templates/brandy/tier5-src/_shared/himi-text.ts +24 -0
- package/templates/brandy/tier5-src/_shared/hosted-checkout.ts +70 -0
- package/templates/brandy/tier5-src/_shared/iap-worker.ts +127 -0
- package/templates/brandy/tier5-src/_shared/inbox-rooms.ts +68 -0
- package/templates/brandy/tier5-src/_shared/live-session.ts +172 -0
- package/templates/brandy/tier5-src/_shared/local-preferences.ts +38 -0
- package/templates/brandy/tier5-src/_shared/member-access.ts +63 -0
- package/templates/brandy/tier5-src/_shared/member-account-routes.ts +52 -0
- package/templates/brandy/tier5-src/_shared/member-orders.ts +8 -0
- package/templates/brandy/tier5-src/_shared/member-read.ts +82 -0
- package/templates/brandy/tier5-src/_shared/member-screen.ts +99 -0
- package/templates/brandy/tier5-src/_shared/notification-target.ts +141 -0
- package/templates/brandy/tier5-src/_shared/online-actions.ts +76 -0
- package/templates/brandy/tier5-src/_shared/owner-load-error.ts +348 -0
- package/templates/brandy/tier5-src/_shared/payment-setup.ts +6 -0
- package/templates/brandy/tier5-src/_shared/pricing-plan-display.ts +64 -0
- package/templates/brandy/tier5-src/_shared/rich-body.ts +78 -0
- package/templates/brandy/tier5-src/_shared/rich-content-link.ts +34 -0
- package/templates/brandy/tier5-src/_shared/sign-in-sheet.ts +18 -0
- package/templates/brandy/tier5-src/_shared/store-order-presentation.ts +56 -0
- package/templates/brandy/tier5-src/_shared/wix-bi.ts +85 -0
- package/templates/brandy/tier5-src/_shared/wix-member-links.ts +114 -0
- package/templates/brandy/tier5-src/himi-branded-lite-inbox/index.ts +92 -0
- package/templates/brandy/tier5-src/himi-branded-lite-notifications/index.ts +256 -0
- package/templates/brandy/tier5-src/himi-branded-lite-order/index.ts +477 -0
- package/templates/brandy/tier5-src/himi-branded-lite-orders/index.ts +327 -0
- package/templates/brandy/tier5-src/himi-store-account/index.ts +1007 -0
- package/templates/brandy/tier5-src/wix-spaces-chat-thread/index.ts +350 -0
- package/templates/brandy/tier5-src/wix-spaces-delete-account/index.ts +59 -0
- package/templates/brandy/tier5-src/wix-spaces-my-subscriptions/index.ts +89 -0
- package/templates/brandy/tier5-src/wix-spaces-subscription-detail/index.ts +139 -0
- package/templates/brandy/tokens.json +25 -0
- package/templates/community-club/l10n/ar.json +0 -412
- package/templates/community-club/l10n/cs.json +0 -412
- package/templates/community-club/l10n/da.json +0 -412
- package/templates/community-club/l10n/de.json +0 -412
- package/templates/community-club/l10n/el.json +0 -412
- package/templates/community-club/l10n/en.json +1 -46
- package/templates/community-club/l10n/es.json +0 -412
- package/templates/community-club/l10n/fi.json +0 -412
- package/templates/community-club/l10n/fr.json +0 -412
- package/templates/community-club/l10n/he.json +0 -331
- package/templates/community-club/l10n/hu.json +0 -412
- package/templates/community-club/l10n/id.json +0 -412
- package/templates/community-club/l10n/it.json +0 -412
- package/templates/community-club/l10n/ja.json +0 -412
- package/templates/community-club/l10n/ko.json +0 -412
- package/templates/community-club/l10n/lt.json +0 -412
- package/templates/community-club/l10n/nl.json +0 -412
- package/templates/community-club/l10n/no.json +0 -412
- package/templates/community-club/l10n/pl.json +0 -412
- package/templates/community-club/l10n/pt.json +0 -412
- package/templates/community-club/l10n/ru.json +0 -412
- package/templates/community-club/l10n/sv.json +0 -412
- package/templates/community-club/l10n/th.json +0 -412
- package/templates/community-club/l10n/tr.json +0 -412
- package/templates/community-club/l10n/uk.json +0 -412
- package/templates/community-club/l10n/vi.json +0 -412
- package/templates/community-club/l10n/zh.json +0 -412
- package/templates/events-meetups/l10n/ar.json +0 -412
- package/templates/events-meetups/l10n/cs.json +0 -412
- package/templates/events-meetups/l10n/da.json +0 -412
- package/templates/events-meetups/l10n/de.json +0 -412
- package/templates/events-meetups/l10n/el.json +0 -412
- package/templates/events-meetups/l10n/en.json +1 -46
- package/templates/events-meetups/l10n/es.json +0 -412
- package/templates/events-meetups/l10n/fi.json +0 -412
- package/templates/events-meetups/l10n/fr.json +0 -412
- package/templates/events-meetups/l10n/he.json +0 -331
- package/templates/events-meetups/l10n/hu.json +0 -412
- package/templates/events-meetups/l10n/id.json +0 -412
- package/templates/events-meetups/l10n/it.json +0 -412
- package/templates/events-meetups/l10n/ja.json +0 -412
- package/templates/events-meetups/l10n/ko.json +0 -412
- package/templates/events-meetups/l10n/lt.json +0 -412
- package/templates/events-meetups/l10n/nl.json +0 -412
- package/templates/events-meetups/l10n/no.json +0 -412
- package/templates/events-meetups/l10n/pl.json +0 -412
- package/templates/events-meetups/l10n/pt.json +0 -412
- package/templates/events-meetups/l10n/ru.json +0 -412
- package/templates/events-meetups/l10n/sv.json +0 -412
- package/templates/events-meetups/l10n/th.json +0 -412
- package/templates/events-meetups/l10n/tr.json +0 -412
- package/templates/events-meetups/l10n/uk.json +0 -412
- package/templates/events-meetups/l10n/vi.json +0 -412
- package/templates/events-meetups/l10n/zh.json +0 -412
- package/templates/gym-fitness/l10n/ar.json +9 -405
- package/templates/gym-fitness/l10n/cs.json +9 -405
- package/templates/gym-fitness/l10n/da.json +9 -405
- package/templates/gym-fitness/l10n/de.json +9 -405
- package/templates/gym-fitness/l10n/el.json +9 -405
- package/templates/gym-fitness/l10n/en.json +8 -51
- package/templates/gym-fitness/l10n/es.json +9 -405
- package/templates/gym-fitness/l10n/fi.json +9 -405
- package/templates/gym-fitness/l10n/fr.json +9 -405
- package/templates/gym-fitness/l10n/he.json +9 -326
- package/templates/gym-fitness/l10n/hu.json +9 -405
- package/templates/gym-fitness/l10n/id.json +9 -405
- package/templates/gym-fitness/l10n/it.json +9 -405
- package/templates/gym-fitness/l10n/ja.json +9 -405
- package/templates/gym-fitness/l10n/ko.json +9 -405
- package/templates/gym-fitness/l10n/lt.json +9 -405
- package/templates/gym-fitness/l10n/nl.json +9 -405
- package/templates/gym-fitness/l10n/no.json +9 -405
- package/templates/gym-fitness/l10n/pl.json +9 -405
- package/templates/gym-fitness/l10n/pt.json +9 -405
- package/templates/gym-fitness/l10n/ru.json +9 -405
- package/templates/gym-fitness/l10n/sv.json +9 -405
- package/templates/gym-fitness/l10n/th.json +9 -405
- package/templates/gym-fitness/l10n/tr.json +9 -405
- package/templates/gym-fitness/l10n/uk.json +9 -405
- package/templates/gym-fitness/l10n/vi.json +9 -405
- package/templates/gym-fitness/l10n/zh.json +9 -405
- package/templates/nonprofit-cause/l10n/ar.json +0 -387
- package/templates/nonprofit-cause/l10n/cs.json +0 -387
- package/templates/nonprofit-cause/l10n/da.json +0 -387
- package/templates/nonprofit-cause/l10n/de.json +0 -387
- package/templates/nonprofit-cause/l10n/el.json +0 -387
- package/templates/nonprofit-cause/l10n/en.json +1 -46
- package/templates/nonprofit-cause/l10n/es.json +0 -387
- package/templates/nonprofit-cause/l10n/fi.json +0 -387
- package/templates/nonprofit-cause/l10n/fr.json +0 -387
- package/templates/nonprofit-cause/l10n/he.json +0 -311
- package/templates/nonprofit-cause/l10n/hu.json +0 -387
- package/templates/nonprofit-cause/l10n/id.json +0 -387
- package/templates/nonprofit-cause/l10n/it.json +0 -387
- package/templates/nonprofit-cause/l10n/ja.json +0 -387
- package/templates/nonprofit-cause/l10n/ko.json +0 -387
- package/templates/nonprofit-cause/l10n/lt.json +0 -387
- package/templates/nonprofit-cause/l10n/nl.json +0 -387
- package/templates/nonprofit-cause/l10n/no.json +0 -387
- package/templates/nonprofit-cause/l10n/pl.json +0 -387
- package/templates/nonprofit-cause/l10n/pt.json +0 -387
- package/templates/nonprofit-cause/l10n/ru.json +0 -387
- package/templates/nonprofit-cause/l10n/sv.json +0 -387
- package/templates/nonprofit-cause/l10n/th.json +0 -387
- package/templates/nonprofit-cause/l10n/tr.json +0 -387
- package/templates/nonprofit-cause/l10n/uk.json +0 -387
- package/templates/nonprofit-cause/l10n/vi.json +0 -387
- package/templates/nonprofit-cause/l10n/zh.json +0 -387
- package/templates/podcast-creator/l10n/ar.json +0 -417
- package/templates/podcast-creator/l10n/cs.json +0 -417
- package/templates/podcast-creator/l10n/da.json +0 -417
- package/templates/podcast-creator/l10n/de.json +0 -417
- package/templates/podcast-creator/l10n/el.json +0 -417
- package/templates/podcast-creator/l10n/en.json +1 -46
- package/templates/podcast-creator/l10n/es.json +0 -417
- package/templates/podcast-creator/l10n/fi.json +0 -417
- package/templates/podcast-creator/l10n/fr.json +0 -417
- package/templates/podcast-creator/l10n/he.json +0 -335
- package/templates/podcast-creator/l10n/hu.json +0 -417
- package/templates/podcast-creator/l10n/id.json +0 -417
- package/templates/podcast-creator/l10n/it.json +0 -417
- package/templates/podcast-creator/l10n/ja.json +0 -417
- package/templates/podcast-creator/l10n/ko.json +0 -417
- package/templates/podcast-creator/l10n/lt.json +0 -417
- package/templates/podcast-creator/l10n/nl.json +0 -417
- package/templates/podcast-creator/l10n/no.json +0 -417
- package/templates/podcast-creator/l10n/pl.json +0 -417
- package/templates/podcast-creator/l10n/pt.json +0 -417
- package/templates/podcast-creator/l10n/ru.json +0 -417
- package/templates/podcast-creator/l10n/sv.json +0 -417
- package/templates/podcast-creator/l10n/th.json +0 -417
- package/templates/podcast-creator/l10n/tr.json +0 -417
- package/templates/podcast-creator/l10n/uk.json +0 -417
- package/templates/podcast-creator/l10n/vi.json +0 -417
- package/templates/podcast-creator/l10n/zh.json +0 -417
- package/templates/portfolio-creative/l10n/ar.json +0 -437
- package/templates/portfolio-creative/l10n/cs.json +0 -437
- package/templates/portfolio-creative/l10n/da.json +0 -437
- package/templates/portfolio-creative/l10n/de.json +0 -437
- package/templates/portfolio-creative/l10n/el.json +0 -437
- package/templates/portfolio-creative/l10n/en.json +1 -46
- package/templates/portfolio-creative/l10n/es.json +0 -437
- package/templates/portfolio-creative/l10n/fi.json +0 -437
- package/templates/portfolio-creative/l10n/fr.json +0 -437
- package/templates/portfolio-creative/l10n/he.json +0 -351
- package/templates/portfolio-creative/l10n/hu.json +0 -437
- package/templates/portfolio-creative/l10n/id.json +0 -437
- package/templates/portfolio-creative/l10n/it.json +0 -437
- package/templates/portfolio-creative/l10n/ja.json +0 -437
- package/templates/portfolio-creative/l10n/ko.json +0 -437
- package/templates/portfolio-creative/l10n/lt.json +0 -437
- package/templates/portfolio-creative/l10n/nl.json +0 -437
- package/templates/portfolio-creative/l10n/no.json +0 -437
- package/templates/portfolio-creative/l10n/pl.json +0 -437
- package/templates/portfolio-creative/l10n/pt.json +0 -437
- package/templates/portfolio-creative/l10n/ru.json +0 -437
- package/templates/portfolio-creative/l10n/sv.json +0 -437
- package/templates/portfolio-creative/l10n/th.json +0 -437
- package/templates/portfolio-creative/l10n/tr.json +0 -437
- package/templates/portfolio-creative/l10n/uk.json +0 -437
- package/templates/portfolio-creative/l10n/vi.json +0 -437
- package/templates/portfolio-creative/l10n/zh.json +0 -437
- package/templates/restaurant/l10n/ar.json +0 -447
- package/templates/restaurant/l10n/cs.json +0 -447
- package/templates/restaurant/l10n/da.json +0 -447
- package/templates/restaurant/l10n/de.json +0 -447
- package/templates/restaurant/l10n/el.json +0 -447
- package/templates/restaurant/l10n/en.json +1 -46
- package/templates/restaurant/l10n/es.json +0 -447
- package/templates/restaurant/l10n/fi.json +0 -447
- package/templates/restaurant/l10n/fr.json +0 -447
- package/templates/restaurant/l10n/he.json +0 -359
- package/templates/restaurant/l10n/hu.json +0 -447
- package/templates/restaurant/l10n/id.json +0 -447
- package/templates/restaurant/l10n/it.json +0 -447
- package/templates/restaurant/l10n/ja.json +0 -447
- package/templates/restaurant/l10n/ko.json +0 -447
- package/templates/restaurant/l10n/lt.json +0 -447
- package/templates/restaurant/l10n/nl.json +0 -447
- package/templates/restaurant/l10n/no.json +0 -447
- package/templates/restaurant/l10n/pl.json +0 -447
- package/templates/restaurant/l10n/pt.json +0 -447
- package/templates/restaurant/l10n/ru.json +0 -447
- package/templates/restaurant/l10n/sv.json +0 -447
- package/templates/restaurant/l10n/th.json +0 -447
- package/templates/restaurant/l10n/tr.json +0 -447
- package/templates/restaurant/l10n/uk.json +0 -447
- package/templates/restaurant/l10n/vi.json +0 -447
- package/templates/restaurant/l10n/zh.json +0 -447
- package/templates/retail-store/l10n/ar.json +0 -462
- package/templates/retail-store/l10n/cs.json +0 -462
- package/templates/retail-store/l10n/da.json +0 -462
- package/templates/retail-store/l10n/de.json +0 -462
- package/templates/retail-store/l10n/el.json +0 -462
- package/templates/retail-store/l10n/en.json +1 -61
- package/templates/retail-store/l10n/es.json +0 -462
- package/templates/retail-store/l10n/fi.json +0 -462
- package/templates/retail-store/l10n/fr.json +0 -462
- package/templates/retail-store/l10n/he.json +0 -371
- package/templates/retail-store/l10n/hu.json +0 -462
- package/templates/retail-store/l10n/id.json +0 -462
- package/templates/retail-store/l10n/it.json +0 -462
- package/templates/retail-store/l10n/ja.json +0 -462
- package/templates/retail-store/l10n/ko.json +0 -462
- package/templates/retail-store/l10n/lt.json +0 -462
- package/templates/retail-store/l10n/nl.json +0 -462
- package/templates/retail-store/l10n/no.json +0 -462
- package/templates/retail-store/l10n/pl.json +0 -462
- package/templates/retail-store/l10n/pt.json +0 -462
- package/templates/retail-store/l10n/ru.json +0 -462
- package/templates/retail-store/l10n/sv.json +0 -462
- package/templates/retail-store/l10n/th.json +0 -462
- package/templates/retail-store/l10n/tr.json +0 -462
- package/templates/retail-store/l10n/uk.json +0 -462
- package/templates/retail-store/l10n/vi.json +0 -462
- package/templates/retail-store/l10n/zh.json +0 -462
- package/templates/yoga-studio/l10n/ar.json +9 -197
- package/templates/yoga-studio/l10n/cs.json +9 -197
- package/templates/yoga-studio/l10n/da.json +9 -197
- package/templates/yoga-studio/l10n/de.json +9 -197
- package/templates/yoga-studio/l10n/el.json +9 -197
- package/templates/yoga-studio/l10n/en.json +8 -30
- package/templates/yoga-studio/l10n/es.json +9 -197
- package/templates/yoga-studio/l10n/fi.json +9 -197
- package/templates/yoga-studio/l10n/fr.json +9 -197
- package/templates/yoga-studio/l10n/he.json +9 -159
- package/templates/yoga-studio/l10n/hu.json +9 -197
- package/templates/yoga-studio/l10n/id.json +9 -197
- package/templates/yoga-studio/l10n/it.json +9 -197
- package/templates/yoga-studio/l10n/ja.json +9 -197
- package/templates/yoga-studio/l10n/ko.json +9 -197
- package/templates/yoga-studio/l10n/lt.json +9 -197
- package/templates/yoga-studio/l10n/nl.json +9 -197
- package/templates/yoga-studio/l10n/no.json +9 -197
- package/templates/yoga-studio/l10n/pl.json +9 -197
- package/templates/yoga-studio/l10n/pt.json +9 -197
- package/templates/yoga-studio/l10n/ru.json +9 -197
- package/templates/yoga-studio/l10n/sv.json +9 -197
- package/templates/yoga-studio/l10n/th.json +9 -197
- package/templates/yoga-studio/l10n/tr.json +9 -197
- package/templates/yoga-studio/l10n/uk.json +9 -197
- package/templates/yoga-studio/l10n/vi.json +9 -197
- package/templates/yoga-studio/l10n/zh.json +9 -197
- package/templates/beauty-salon/recipes/announcement-card.json +0 -72
- package/templates/beauty-salon/recipes/blog-hero.json +0 -95
- package/templates/beauty-salon/recipes/blog-list-thumb-start.json +0 -394
- package/templates/beauty-salon/recipes/blog-list.json +0 -394
- package/templates/beauty-salon/recipes/blog-see-all.json +0 -50
- package/templates/beauty-salon/recipes/events-inline-list.json +0 -228
- package/templates/beauty-salon/recipes/events-inline.json +0 -309
- package/templates/beauty-salon/recipes/faq-list.json +0 -503
- package/templates/beauty-salon/recipes/members-list.json +0 -445
- package/templates/beauty-salon/recipes/plans-card.json +0 -811
- package/templates/beauty-salon/recipes/products-carousel.json +0 -141
- package/templates/beauty-salon/recipes/products-grid.json +0 -143
- package/templates/beauty-salon/recipes/programs-card.json +0 -254
- package/templates/beauty-salon/recipes/programs-carousel.json +0 -234
- package/templates/beauty-salon/recipes/programs-filters.json +0 -94
- package/templates/beauty-salon/recipes/programs-see-all.json +0 -43
- package/templates/beauty-salon/recipes/section-error.json +0 -58
- package/templates/beauty-salon/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +0 -86
- package/templates/beauty-salon/tier5-src/_shared/events-card.ts +0 -33
- package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/beauty-salon/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/beauty-salon/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/beauty-salon/tier5-src/_shared/products-section.ts +0 -76
- package/templates/beauty-salon/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/community-club/recipes/announcement-card.json +0 -72
- package/templates/community-club/recipes/blog-hero.json +0 -95
- package/templates/community-club/recipes/blog-list-thumb-start.json +0 -394
- package/templates/community-club/recipes/blog-list.json +0 -394
- package/templates/community-club/recipes/blog-see-all.json +0 -50
- package/templates/community-club/recipes/events-inline.json +0 -309
- package/templates/community-club/recipes/faq-list.json +0 -503
- package/templates/community-club/recipes/members-list.json +0 -445
- package/templates/community-club/recipes/plans-card.json +0 -811
- package/templates/community-club/recipes/products-carousel.json +0 -141
- package/templates/community-club/recipes/products-grid.json +0 -143
- package/templates/community-club/recipes/programs-card.json +0 -254
- package/templates/community-club/recipes/programs-carousel.json +0 -234
- package/templates/community-club/recipes/programs-filters.json +0 -94
- package/templates/community-club/recipes/programs-participant-carousel.json +0 -257
- package/templates/community-club/recipes/programs-see-all.json +0 -43
- package/templates/community-club/recipes/section-error.json +0 -58
- package/templates/community-club/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/community-club/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/community-club/tier5-src/_shared/events-card.ts +0 -33
- package/templates/community-club/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/community-club/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/community-club/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/community-club/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/community-club/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/community-club/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/community-club/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/community-club/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/community-club/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/community-club/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/community-club/tier5-src/_shared/products-section.ts +0 -76
- package/templates/community-club/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/community-club/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/community-club/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/events-meetups/recipes/announcement-card.json +0 -72
- package/templates/events-meetups/recipes/blog-hero.json +0 -95
- package/templates/events-meetups/recipes/blog-list-thumb-start.json +0 -394
- package/templates/events-meetups/recipes/blog-list.json +0 -394
- package/templates/events-meetups/recipes/blog-see-all.json +0 -50
- package/templates/events-meetups/recipes/events-inline-list.json +0 -228
- package/templates/events-meetups/recipes/events-inline.json +0 -309
- package/templates/events-meetups/recipes/faq-list.json +0 -503
- package/templates/events-meetups/recipes/groups-list.json +0 -196
- package/templates/events-meetups/recipes/members-list.json +0 -445
- package/templates/events-meetups/recipes/plans-card.json +0 -811
- package/templates/events-meetups/recipes/products-carousel.json +0 -141
- package/templates/events-meetups/recipes/products-grid.json +0 -143
- package/templates/events-meetups/recipes/programs-card.json +0 -254
- package/templates/events-meetups/recipes/programs-carousel.json +0 -234
- package/templates/events-meetups/recipes/programs-filters.json +0 -94
- package/templates/events-meetups/recipes/programs-see-all.json +0 -43
- package/templates/events-meetups/recipes/section-error.json +0 -58
- package/templates/events-meetups/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/events-meetups/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +0 -51
- package/templates/events-meetups/tier5-src/_shared/events-card.ts +0 -33
- package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/events-meetups/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/events-meetups/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/events-meetups/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/events-meetups/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/events-meetups/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/events-meetups/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/events-meetups/tier5-src/_shared/products-section.ts +0 -76
- package/templates/events-meetups/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/events-meetups/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/events-meetups/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/gym-fitness/recipes/announcement-card.json +0 -72
- package/templates/gym-fitness/recipes/blog-hero.json +0 -95
- package/templates/gym-fitness/recipes/blog-list-thumb-start.json +0 -394
- package/templates/gym-fitness/recipes/blog-list.json +0 -394
- package/templates/gym-fitness/recipes/blog-see-all.json +0 -50
- package/templates/gym-fitness/recipes/events-inline-list.json +0 -228
- package/templates/gym-fitness/recipes/events-inline.json +0 -309
- package/templates/gym-fitness/recipes/faq-list.json +0 -503
- package/templates/gym-fitness/recipes/groups-list.json +0 -196
- package/templates/gym-fitness/recipes/members-list.json +0 -445
- package/templates/gym-fitness/recipes/plans-card.json +0 -811
- package/templates/gym-fitness/recipes/products-carousel.json +0 -141
- package/templates/gym-fitness/recipes/products-grid.json +0 -143
- package/templates/gym-fitness/recipes/programs-card.json +0 -254
- package/templates/gym-fitness/recipes/programs-carousel.json +0 -234
- package/templates/gym-fitness/recipes/programs-filters.json +0 -94
- package/templates/gym-fitness/recipes/programs-see-all.json +0 -43
- package/templates/gym-fitness/recipes/section-error.json +0 -58
- package/templates/gym-fitness/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/gym-fitness/tier5-src/_shared/events-card.ts +0 -33
- package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/gym-fitness/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/gym-fitness/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/gym-fitness/tier5-src/_shared/products-section.ts +0 -76
- package/templates/gym-fitness/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/nonprofit-cause/recipes/announcement-card.json +0 -72
- package/templates/nonprofit-cause/recipes/blog-hero.json +0 -95
- package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +0 -394
- package/templates/nonprofit-cause/recipes/blog-list.json +0 -394
- package/templates/nonprofit-cause/recipes/blog-see-all.json +0 -50
- package/templates/nonprofit-cause/recipes/events-inline-list.json +0 -228
- package/templates/nonprofit-cause/recipes/events-inline.json +0 -309
- package/templates/nonprofit-cause/recipes/faq-list.json +0 -503
- package/templates/nonprofit-cause/recipes/groups-list.json +0 -196
- package/templates/nonprofit-cause/recipes/members-list.json +0 -445
- package/templates/nonprofit-cause/recipes/plans-card.json +0 -811
- package/templates/nonprofit-cause/recipes/products-carousel.json +0 -141
- package/templates/nonprofit-cause/recipes/products-grid.json +0 -143
- package/templates/nonprofit-cause/recipes/programs-card.json +0 -254
- package/templates/nonprofit-cause/recipes/programs-carousel.json +0 -234
- package/templates/nonprofit-cause/recipes/programs-filters.json +0 -94
- package/templates/nonprofit-cause/recipes/programs-participant-carousel.json +0 -257
- package/templates/nonprofit-cause/recipes/programs-see-all.json +0 -43
- package/templates/nonprofit-cause/recipes/section-error.json +0 -58
- package/templates/nonprofit-cause/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +0 -33
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/nonprofit-cause/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/nonprofit-cause/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/nonprofit-cause/tier5-src/_shared/products-section.ts +0 -76
- package/templates/nonprofit-cause/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/podcast-creator/recipes/announcement-card.json +0 -72
- package/templates/podcast-creator/recipes/blog-hero.json +0 -95
- package/templates/podcast-creator/recipes/blog-list-thumb-start.json +0 -394
- package/templates/podcast-creator/recipes/blog-list.json +0 -394
- package/templates/podcast-creator/recipes/blog-see-all.json +0 -50
- package/templates/podcast-creator/recipes/events-inline-list.json +0 -228
- package/templates/podcast-creator/recipes/events-inline.json +0 -309
- package/templates/podcast-creator/recipes/faq-list.json +0 -503
- package/templates/podcast-creator/recipes/groups-list.json +0 -196
- package/templates/podcast-creator/recipes/members-list.json +0 -445
- package/templates/podcast-creator/recipes/plans-card.json +0 -811
- package/templates/podcast-creator/recipes/products-carousel.json +0 -141
- package/templates/podcast-creator/recipes/products-grid.json +0 -143
- package/templates/podcast-creator/recipes/programs-card.json +0 -254
- package/templates/podcast-creator/recipes/programs-carousel.json +0 -234
- package/templates/podcast-creator/recipes/programs-filters.json +0 -94
- package/templates/podcast-creator/recipes/programs-participant-carousel.json +0 -257
- package/templates/podcast-creator/recipes/programs-see-all.json +0 -43
- package/templates/podcast-creator/recipes/section-error.json +0 -58
- package/templates/podcast-creator/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/podcast-creator/tier5-src/_shared/events-card.ts +0 -33
- package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/podcast-creator/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/podcast-creator/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/podcast-creator/tier5-src/_shared/products-section.ts +0 -76
- package/templates/podcast-creator/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/portfolio-creative/recipes/announcement-card.json +0 -72
- package/templates/portfolio-creative/recipes/blog-hero.json +0 -95
- package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +0 -394
- package/templates/portfolio-creative/recipes/blog-list.json +0 -394
- package/templates/portfolio-creative/recipes/blog-see-all.json +0 -50
- package/templates/portfolio-creative/recipes/events-inline-list.json +0 -228
- package/templates/portfolio-creative/recipes/events-inline.json +0 -309
- package/templates/portfolio-creative/recipes/faq-list.json +0 -503
- package/templates/portfolio-creative/recipes/groups-list.json +0 -196
- package/templates/portfolio-creative/recipes/members-list.json +0 -445
- package/templates/portfolio-creative/recipes/plans-card.json +0 -811
- package/templates/portfolio-creative/recipes/products-carousel.json +0 -141
- package/templates/portfolio-creative/recipes/products-grid.json +0 -143
- package/templates/portfolio-creative/recipes/programs-card.json +0 -254
- package/templates/portfolio-creative/recipes/programs-carousel.json +0 -234
- package/templates/portfolio-creative/recipes/programs-filters.json +0 -94
- package/templates/portfolio-creative/recipes/programs-participant-carousel.json +0 -257
- package/templates/portfolio-creative/recipes/programs-see-all.json +0 -43
- package/templates/portfolio-creative/recipes/section-error.json +0 -58
- package/templates/portfolio-creative/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +0 -33
- package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/portfolio-creative/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/portfolio-creative/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/portfolio-creative/tier5-src/_shared/products-section.ts +0 -76
- package/templates/portfolio-creative/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/restaurant/recipes/announcement-card.json +0 -72
- package/templates/restaurant/recipes/blog-hero.json +0 -95
- package/templates/restaurant/recipes/blog-list-thumb-start.json +0 -394
- package/templates/restaurant/recipes/blog-list.json +0 -394
- package/templates/restaurant/recipes/blog-see-all.json +0 -50
- package/templates/restaurant/recipes/events-inline-list.json +0 -228
- package/templates/restaurant/recipes/events-inline.json +0 -309
- package/templates/restaurant/recipes/faq-list.json +0 -503
- package/templates/restaurant/recipes/groups-list.json +0 -196
- package/templates/restaurant/recipes/members-list.json +0 -445
- package/templates/restaurant/recipes/plans-card.json +0 -811
- package/templates/restaurant/recipes/products-carousel.json +0 -141
- package/templates/restaurant/recipes/products-grid.json +0 -143
- package/templates/restaurant/recipes/programs-card.json +0 -254
- package/templates/restaurant/recipes/programs-carousel.json +0 -234
- package/templates/restaurant/recipes/programs-filters.json +0 -94
- package/templates/restaurant/recipes/programs-participant-carousel.json +0 -257
- package/templates/restaurant/recipes/programs-see-all.json +0 -43
- package/templates/restaurant/recipes/section-error.json +0 -58
- package/templates/restaurant/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/restaurant/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/restaurant/tier5-src/_shared/events-card.ts +0 -33
- package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/restaurant/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/restaurant/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/restaurant/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/restaurant/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/restaurant/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/restaurant/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/restaurant/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/restaurant/tier5-src/_shared/products-section.ts +0 -76
- package/templates/restaurant/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/restaurant/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/restaurant/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/retail-store/recipes/announcement-card.json +0 -72
- package/templates/retail-store/recipes/blog-hero.json +0 -95
- package/templates/retail-store/recipes/blog-list-thumb-start.json +0 -394
- package/templates/retail-store/recipes/blog-list.json +0 -394
- package/templates/retail-store/recipes/blog-see-all.json +0 -50
- package/templates/retail-store/recipes/events-inline-list.json +0 -228
- package/templates/retail-store/recipes/events-inline.json +0 -309
- package/templates/retail-store/recipes/faq-list.json +0 -503
- package/templates/retail-store/recipes/groups-list.json +0 -196
- package/templates/retail-store/recipes/members-list.json +0 -445
- package/templates/retail-store/recipes/plans-card.json +0 -811
- package/templates/retail-store/recipes/products-carousel.json +0 -141
- package/templates/retail-store/recipes/products-grid.json +0 -143
- package/templates/retail-store/recipes/programs-card.json +0 -254
- package/templates/retail-store/recipes/programs-carousel.json +0 -234
- package/templates/retail-store/recipes/programs-filters.json +0 -94
- package/templates/retail-store/recipes/programs-participant-carousel.json +0 -257
- package/templates/retail-store/recipes/programs-see-all.json +0 -43
- package/templates/retail-store/recipes/section-error.json +0 -58
- package/templates/retail-store/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/retail-store/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/retail-store/tier5-src/_shared/event-registration.ts +0 -86
- package/templates/retail-store/tier5-src/_shared/events-card.ts +0 -33
- package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/retail-store/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/retail-store/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/retail-store/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/retail-store/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/retail-store/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/retail-store/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/retail-store/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/retail-store/tier5-src/_shared/products-section.ts +0 -76
- package/templates/retail-store/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/retail-store/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/retail-store/tier5-src/_shared/relative-time.ts +0 -21
- package/templates/yoga-studio/recipes/announcement-card.json +0 -72
- package/templates/yoga-studio/recipes/blog-hero.json +0 -95
- package/templates/yoga-studio/recipes/blog-list-thumb-start.json +0 -394
- package/templates/yoga-studio/recipes/blog-list.json +0 -394
- package/templates/yoga-studio/recipes/blog-see-all.json +0 -50
- package/templates/yoga-studio/recipes/events-inline-list.json +0 -228
- package/templates/yoga-studio/recipes/events-inline.json +0 -309
- package/templates/yoga-studio/recipes/faq-list.json +0 -503
- package/templates/yoga-studio/recipes/groups-list.json +0 -196
- package/templates/yoga-studio/recipes/members-list.json +0 -445
- package/templates/yoga-studio/recipes/plans-card.json +0 -811
- package/templates/yoga-studio/recipes/products-carousel.json +0 -141
- package/templates/yoga-studio/recipes/products-grid.json +0 -143
- package/templates/yoga-studio/recipes/programs-card.json +0 -254
- package/templates/yoga-studio/recipes/programs-carousel.json +0 -234
- package/templates/yoga-studio/recipes/programs-filters.json +0 -94
- package/templates/yoga-studio/recipes/programs-participant-carousel.json +0 -257
- package/templates/yoga-studio/recipes/programs-see-all.json +0 -43
- package/templates/yoga-studio/recipes/section-error.json +0 -58
- package/templates/yoga-studio/tier5-src/_shared/announcement-section.ts +0 -122
- package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +0 -207
- package/templates/yoga-studio/tier5-src/_shared/events-card.ts +0 -33
- package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +0 -25
- package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +0 -84
- package/templates/yoga-studio/tier5-src/_shared/faq-list.ts +0 -405
- package/templates/yoga-studio/tier5-src/_shared/groups-section.ts +0 -110
- package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +0 -34
- package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +0 -175
- package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +0 -39
- package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +0 -271
- package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +0 -87
- package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +0 -106
- package/templates/yoga-studio/tier5-src/_shared/products-section.ts +0 -76
- package/templates/yoga-studio/tier5-src/_shared/program-fields.ts +0 -16
- package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +0 -740
- package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +0 -21
- /package/templates/{community-club → brandy}/tier5-src/_shared/detail-presence.ts +0 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// A page's services section as a registrable service: the site's Wix Bookings services in the business's own order (the order of its
|
|
2
|
+
// Book Online page), as rows that open the service. The services screen (himi_services) keeps search, category chips and the location pin;
|
|
3
|
+
// this is its short form for a page, driven by the source section's settings:
|
|
4
|
+
// limit -> at most N services, and `noMore` is false when the site has more (the section's See All button shows then).
|
|
5
|
+
// A page worker registers it under a service name; the descriptor binds `$service:<serviceName>.*` (recipe services-list.json).
|
|
6
|
+
import { defineService } from "@himalaya/state";
|
|
7
|
+
import { queryServices, type WixService } from "@himalaya/wix-bookings";
|
|
8
|
+
import { wixMediaUrl } from "@himalaya/wix-media";
|
|
9
|
+
import { businessTimeZone } from "./app-locale.js";
|
|
10
|
+
import { courseDatesText, courseHasEnded, courseNeedsZone, serviceDurationText, servicePriceLine, type BookingLabel } from "./himi-bookings.js";
|
|
11
|
+
import { copyParam, copyTemplate, stashCopy } from "./himi-copy.js";
|
|
12
|
+
import { initials } from "./himi-text.js";
|
|
13
|
+
|
|
14
|
+
export interface ServicesSectionOptions {
|
|
15
|
+
/** Show at most this many services. */
|
|
16
|
+
limit: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface ServiceRow {
|
|
20
|
+
id: string; title: string;
|
|
21
|
+
tagline: string; noTagline: boolean;
|
|
22
|
+
/** Duration and price, or a course's dates and price: "1 hr · $70". */
|
|
23
|
+
meta: string; noMeta: boolean;
|
|
24
|
+
/** "Class" or "Course", then "Ended" for a course that is over; "" for an appointment. */
|
|
25
|
+
tag: string; noTag: boolean;
|
|
26
|
+
image: string; initial: string; hasImage: boolean; noImage: boolean;
|
|
27
|
+
/** The service screen a row opens; the row binds `id` as its nav param. */
|
|
28
|
+
detailScreenId: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface ServicesSectionState {
|
|
32
|
+
status: "loading" | "ready" | "error";
|
|
33
|
+
rows: ServiceRow[];
|
|
34
|
+
emptyText: string;
|
|
35
|
+
notLoading: boolean; notErrored: boolean; noRows: boolean; noEmpty: boolean;
|
|
36
|
+
/** false when the site has more services than the section shows. */
|
|
37
|
+
noMore: boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/** The row's 72pt thumbnail at 3x: the shared list size (1000px) would fetch and decode far more pixels than it shows. */
|
|
41
|
+
const THUMB = { width: 216, height: 216, quality: 85 };
|
|
42
|
+
|
|
43
|
+
/** The services screen's own lines for a duration, a price and a course's dates, so a row reads the same in both places. */
|
|
44
|
+
const label: BookingLabel = (key, fallback, values) =>
|
|
45
|
+
values ? copyTemplate(`services.${key}`, fallback, values) : copyParam(`services.${key}`, fallback);
|
|
46
|
+
|
|
47
|
+
/** A cover URL from any shape Wix Bookings returns (a URL, a bare media id, or nested media records), as the services screen's worker reads it. */
|
|
48
|
+
function mediaUrl(value: unknown): string {
|
|
49
|
+
if (typeof value === "string") return wixMediaUrl(value, THUMB);
|
|
50
|
+
if (!value || typeof value !== "object") return "";
|
|
51
|
+
if (Array.isArray(value)) {
|
|
52
|
+
for (const item of value) { const url = mediaUrl(item); if (url) return url; }
|
|
53
|
+
return "";
|
|
54
|
+
}
|
|
55
|
+
const node = value as Record<string, unknown>;
|
|
56
|
+
for (const direct of [node.url, node.src, node.imageUrl, node.imageSrc]) {
|
|
57
|
+
const url = wixMediaUrl(direct, THUMB);
|
|
58
|
+
if (url) return url;
|
|
59
|
+
}
|
|
60
|
+
for (const nested of [node.image, node.thumbnail, node.mediaItem, node.mainMedia, node.main, node.media, node.items, node.photos, node.gallery, node.coverImage, node.coverMedia]) {
|
|
61
|
+
const url = mediaUrl(nested);
|
|
62
|
+
if (url) return url;
|
|
63
|
+
}
|
|
64
|
+
return "";
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const serviceImage = (service: WixService): string => mediaUrl(service.media);
|
|
68
|
+
|
|
69
|
+
function typeTagOf(type: unknown): string {
|
|
70
|
+
if (type === "CLASS") return copyParam("services.tagClass", "Class");
|
|
71
|
+
if (type === "COURSE") return copyParam("agenda.courseTag", "Course");
|
|
72
|
+
return "";
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function serviceRow(service: WixService): ServiceRow {
|
|
76
|
+
const title = service.name || label("untitled", "Service");
|
|
77
|
+
const isCourse = service.type === "COURSE";
|
|
78
|
+
// A session time Wix lists without an offset is the business's wall time: the zone the app was provisioned with places it
|
|
79
|
+
// (none provisioned: the course is not Ended, never a guess).
|
|
80
|
+
const schedule = isCourse ? {
|
|
81
|
+
firstSessionStart: service.schedule?.firstSessionStart,
|
|
82
|
+
lastSessionEnd: service.schedule?.lastSessionEnd,
|
|
83
|
+
...(businessTimeZone() && courseNeedsZone(service.schedule) ? { timeZone: businessTimeZone() } : {}),
|
|
84
|
+
} : undefined;
|
|
85
|
+
const ended = schedule && courseHasEnded({ schedule }, Date.now()) ? copyParam("services.ended", "Ended") : "";
|
|
86
|
+
const meta = [isCourse ? courseDatesText(service) : serviceDurationText(service, label), servicePriceLine(service, label).text].filter(Boolean).join(" · ");
|
|
87
|
+
const tag = [typeTagOf(service.type), ended].filter(Boolean).join(" · ");
|
|
88
|
+
const tagline = typeof service.tagLine === "string" ? service.tagLine.trim() : "";
|
|
89
|
+
const image = serviceImage(service);
|
|
90
|
+
return {
|
|
91
|
+
id: service.id, title, tagline, noTagline: !tagline, meta, noMeta: !meta, tag, noTag: !tag,
|
|
92
|
+
image, initial: initials(title), hasImage: !!image, noImage: !image, detailScreenId: "himi_service",
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function registerServicesSection(serviceName: string, options: ServicesSectionOptions) {
|
|
97
|
+
const view = (status: ServicesSectionState["status"], rows: ServiceRow[], more: boolean): ServicesSectionState => ({
|
|
98
|
+
status, rows,
|
|
99
|
+
emptyText: status === "ready" && !rows.length ? copyParam("services.emptyText", "There are no services to book yet.") : "",
|
|
100
|
+
notLoading: status !== "loading", notErrored: status !== "error",
|
|
101
|
+
noRows: !rows.length, noEmpty: !(status === "ready" && !rows.length),
|
|
102
|
+
noMore: !more,
|
|
103
|
+
});
|
|
104
|
+
return defineService<ServicesSectionState, { load: (state: ServicesSectionState, arg?: unknown) => Promise<ServicesSectionState> }>(serviceName, {
|
|
105
|
+
state: view("loading", [], false),
|
|
106
|
+
actions: {
|
|
107
|
+
load: async (_state, arg) => {
|
|
108
|
+
stashCopy(arg);
|
|
109
|
+
try {
|
|
110
|
+
// One more than the section shows is enough to know there is more. The order is the business's own, as on the services screen.
|
|
111
|
+
const response = await queryServices({ query: { filter: { hidden: { $ne: true } }, paging: { limit: options.limit + 1 },
|
|
112
|
+
sort: [{ fieldName: "category.sortOrder", order: "ASC" }, { fieldName: "sortOrder", order: "ASC" }, { fieldName: "id", order: "ASC" }] } });
|
|
113
|
+
const services = (response.services ?? []).filter((service) => !!service.id);
|
|
114
|
+
return view("ready", services.slice(0, options.limit).map(serviceRow), services.length > options.limit);
|
|
115
|
+
} catch (error) {
|
|
116
|
+
console.warn("services_section: the services could not be read", error);
|
|
117
|
+
return view("error", [], false);
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
});
|
|
122
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// A page's upcoming-bookings section as a registrable service: the signed-in member's next bookings, and, when the source section
|
|
2
|
+
// shows them, their latest past ones. It reads through the same member-scoped read as My Bookings (himi_bookings), so a booking
|
|
3
|
+
// shows only for the member whose email it carries, and a guest or a refused member gets the sign-in state instead of a read.
|
|
4
|
+
// limit -> at most N bookings per list, and `noMore` is false when the member has more upcoming ones (See All shows then),
|
|
5
|
+
// showPast -> also the latest past bookings (the source's `previousBookings.enabled`),
|
|
6
|
+
// emptyText-> the source's own empty line (unset: the stock one).
|
|
7
|
+
// A page worker registers it under a service name; the descriptor binds `$service:<serviceName>.*` (recipe upcoming-bookings.json).
|
|
8
|
+
import { defineService } from "@himalaya/state";
|
|
9
|
+
import { hostSessionFromGlobal } from "@himalaya/iap";
|
|
10
|
+
import { copyParam, stashCopy } from "./himi-copy.js";
|
|
11
|
+
import { fetchMemberBookings, type MemberBookingRow } from "./member-bookings.js";
|
|
12
|
+
import { memberAccess, memberAccessDenied, memberChanged } from "./member-access.js";
|
|
13
|
+
|
|
14
|
+
export interface UpcomingBookingsOptions {
|
|
15
|
+
/** Show at most this many bookings in each list. */
|
|
16
|
+
limit: number;
|
|
17
|
+
/** Also show the member's latest past bookings. */
|
|
18
|
+
showPast?: boolean;
|
|
19
|
+
/** The source section's own text for "no upcoming bookings". */
|
|
20
|
+
emptyText?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface BookingCard {
|
|
24
|
+
id: string; title: string;
|
|
25
|
+
/** "Mon, Nov 17, 2:00 PM". */
|
|
26
|
+
when: string;
|
|
27
|
+
/** The staff member and the place, "" when the booking names neither. */
|
|
28
|
+
detail: string; noDetail: boolean;
|
|
29
|
+
a11y: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface UpcomingBookingsState {
|
|
33
|
+
status: "loading" | "ready" | "error";
|
|
34
|
+
/** A guest, or a member Wix refused: the section asks to sign in instead of reading. */
|
|
35
|
+
signedOut: boolean;
|
|
36
|
+
upcoming: BookingCard[];
|
|
37
|
+
past: BookingCard[];
|
|
38
|
+
emptyText: string;
|
|
39
|
+
notLoading: boolean; notErrored: boolean; notSignedOut: boolean;
|
|
40
|
+
noUpcoming: boolean; noPast: boolean;
|
|
41
|
+
/** The member has no upcoming booking (shown only once the read answered for a signed-in member). */
|
|
42
|
+
noEmpty: boolean;
|
|
43
|
+
/** false when the member has more upcoming bookings than the section shows. */
|
|
44
|
+
noMore: boolean;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
const card = (row: MemberBookingRow): BookingCard => {
|
|
48
|
+
const detail = [row.staff, row.placeName].filter(Boolean).join(" · ");
|
|
49
|
+
return { id: row.id, title: row.title, when: row.subtitle, detail, noDetail: !detail, a11y: [row.title, row.subtitle, detail].filter(Boolean).join(", ") };
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export function registerUpcomingBookingsSection(serviceName: string, options: UpcomingBookingsOptions) {
|
|
53
|
+
const view = (status: UpcomingBookingsState["status"], signedOut: boolean, upcoming: BookingCard[], past: BookingCard[], more: boolean): UpcomingBookingsState => ({
|
|
54
|
+
status, signedOut, upcoming, past,
|
|
55
|
+
emptyText: options.emptyText?.trim() || copyParam("upcomingBookings.emptyText", "You don't have any upcoming bookings."),
|
|
56
|
+
notLoading: status !== "loading", notErrored: status !== "error", notSignedOut: !signedOut,
|
|
57
|
+
noUpcoming: !upcoming.length, noPast: !past.length,
|
|
58
|
+
noEmpty: !(status === "ready" && !signedOut && !upcoming.length),
|
|
59
|
+
noMore: !more,
|
|
60
|
+
});
|
|
61
|
+
const session = hostSessionFromGlobal();
|
|
62
|
+
// Only the newest load may answer: a guest read that finishes after the member signed in must not overwrite the member's list.
|
|
63
|
+
let sequence = 0;
|
|
64
|
+
const initial = view("loading", false, [], [], false);
|
|
65
|
+
// The member changed: the bookings already published are the previous member's, so they go at once.
|
|
66
|
+
const restart = () => { void service.clear(); void service.load(); };
|
|
67
|
+
const service = defineService<UpcomingBookingsState, { load: (state: UpcomingBookingsState, arg?: unknown) => Promise<UpcomingBookingsState | undefined>; clear: () => Promise<UpcomingBookingsState> }>(serviceName, {
|
|
68
|
+
state: initial,
|
|
69
|
+
// The bookings are one member's: never written to disk and restored for the next person on the device.
|
|
70
|
+
notHydrated: Object.keys(initial) as Array<keyof UpcomingBookingsState>,
|
|
71
|
+
actions: {
|
|
72
|
+
clear: async () => initial,
|
|
73
|
+
load: async (_state, arg) => {
|
|
74
|
+
stashCopy(arg);
|
|
75
|
+
const seq = ++sequence;
|
|
76
|
+
let member: Awaited<ReturnType<typeof memberAccess>> | undefined;
|
|
77
|
+
try {
|
|
78
|
+
member = await memberAccess();
|
|
79
|
+
if (seq !== sequence) return undefined;
|
|
80
|
+
if (!member.email) return view("ready", true, [], [], false);
|
|
81
|
+
const now = new Date().toISOString();
|
|
82
|
+
const read = (filter: string, sort: "default" | "za") => fetchMemberBookings({ query: "", filter, sort, savedIds: [] }, "", now, member);
|
|
83
|
+
const [next, previous] = await Promise.all([read("value:Upcoming", "default"), options.showPast ? read("value:Past", "za") : undefined]);
|
|
84
|
+
if (seq !== sequence) return undefined;
|
|
85
|
+
return view("ready", false, next.items.slice(0, options.limit).map(card), (previous?.items ?? []).slice(0, options.limit).map(card),
|
|
86
|
+
next.items.length > options.limit || !!next.nextCursor);
|
|
87
|
+
} catch (error) {
|
|
88
|
+
if (seq !== sequence) return undefined;
|
|
89
|
+
// The member signed out (or changed) while the read was out: read again for whoever is signed in now.
|
|
90
|
+
if (await memberChanged(member, error)) { restart(); return undefined; }
|
|
91
|
+
// Wix refusing the member is a sign-in state, as on My Bookings; anything else is a failed read.
|
|
92
|
+
if (memberAccessDenied(error)) return view("ready", true, [], [], false);
|
|
93
|
+
console.warn("upcoming_bookings_section: the bookings could not be read", error);
|
|
94
|
+
return view("error", false, [], [], false);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
// Signing in or out on another screen changes the list this section shows.
|
|
100
|
+
session.subscribe(restart);
|
|
101
|
+
return service;
|
|
102
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// A page's Wix Video section as a registrable service: the first videos of a source channel (or of every channel), as cards that open
|
|
2
|
+
// the video's own screen, which plays it, asks for the sign-in, or sells it.
|
|
3
|
+
// channelId -> the source section's channel (unset: the latest videos across every channel, the channels taking turns),
|
|
4
|
+
// limit -> how many cards (the section is a rail; the channel is one See All away); `noMore` is false when there are more,
|
|
5
|
+
// which is when the section's See All button (to the channel, or to the videos screen) shows,
|
|
6
|
+
// showTitle -> the source's `titleEnabled`: the title under the cover,
|
|
7
|
+
// showDuration -> the source's `durationEnabled`: the length on the cover.
|
|
8
|
+
// Reads the same Wix Video gateway as the `himi_videos` screen's worker (`@himalaya/wix-video`), with the same ready-to-play rule: a
|
|
9
|
+
// video still processing, or unpublished, is not shown. A page worker registers it under a service name; the descriptor binds
|
|
10
|
+
// `$service:<serviceName>.*` (recipe videos-carousel).
|
|
11
|
+
import { defineService } from "@himalaya/state";
|
|
12
|
+
import { latestVideos, listChannels, videoCard, type WixVideoChannel } from "@himalaya/wix-video";
|
|
13
|
+
import { copyParam, stashCopy } from "./himi-copy.js";
|
|
14
|
+
|
|
15
|
+
export interface VideosSectionOptions {
|
|
16
|
+
/** The source channel's id; unset reads every channel. */
|
|
17
|
+
channelId?: string;
|
|
18
|
+
/** How many videos to show. */
|
|
19
|
+
limit?: number;
|
|
20
|
+
/** The title under each cover (default on). */
|
|
21
|
+
showTitle?: boolean;
|
|
22
|
+
/** The length on each cover (default on). */
|
|
23
|
+
showDuration?: boolean;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface VideoRow {
|
|
27
|
+
id: string; channelId: string; title: string; duration: string;
|
|
28
|
+
coverUrl: string; hasCover: boolean; noCover: boolean;
|
|
29
|
+
/** hiddenWhen gates (they hide on TRUE) for the parts the source switches off or the video has none of. */
|
|
30
|
+
noTitle: boolean; noDuration: boolean;
|
|
31
|
+
/** One spoken label for the card: title, length and channel. */
|
|
32
|
+
accessibilityLabel: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface VideosSectionState {
|
|
36
|
+
status: "loading" | "ready" | "error";
|
|
37
|
+
rows: VideoRow[];
|
|
38
|
+
notLoading: boolean; notErrored: boolean; noRows: boolean;
|
|
39
|
+
/** false only when the read answered and the channel has no ready video: the heading and See All have nothing to introduce. */
|
|
40
|
+
noEmpty: boolean;
|
|
41
|
+
/** false when the channel has more videos than the section shows. */
|
|
42
|
+
noMore: boolean;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const DEFAULT_LIMIT = 8;
|
|
46
|
+
/** A 260pt card at 3x, 16:9: the shared list size (1000px) would ship far more pixels than a rail shows. */
|
|
47
|
+
const CARD_IMAGE = { width: 780, height: 440, quality: 85 };
|
|
48
|
+
|
|
49
|
+
/** How many videos the gateway says exist for the channels that were read (every channel when no channel was chosen). */
|
|
50
|
+
function totalOf(channels: WixVideoChannel[]): number {
|
|
51
|
+
return channels.reduce((sum, channel) => sum + (channel.videos?.total ?? channel.videos?.entities?.length ?? 0), 0);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function registerVideosSection(serviceName: string, options: VideosSectionOptions = {}) {
|
|
55
|
+
const limit = options.limit ?? DEFAULT_LIMIT;
|
|
56
|
+
const showTitle = options.showTitle !== false;
|
|
57
|
+
const showDuration = options.showDuration !== false;
|
|
58
|
+
const view = (status: VideosSectionState["status"], rows: VideoRow[], more: boolean): VideosSectionState => ({
|
|
59
|
+
status, rows,
|
|
60
|
+
notLoading: status !== "loading", notErrored: status !== "error", noRows: !rows.length,
|
|
61
|
+
noEmpty: !(status === "ready" && !rows.length),
|
|
62
|
+
noMore: !more,
|
|
63
|
+
});
|
|
64
|
+
return defineService<VideosSectionState, { load: (state: VideosSectionState, arg?: unknown) => Promise<VideosSectionState> }>(serviceName, {
|
|
65
|
+
state: view("loading", [], false),
|
|
66
|
+
actions: {
|
|
67
|
+
load: async (_state, arg) => {
|
|
68
|
+
stashCopy(arg);
|
|
69
|
+
try {
|
|
70
|
+
const all = await listChannels({ videosPerChannel: limit });
|
|
71
|
+
// A chosen channel that no longer exists leaves the section empty, never another channel's videos.
|
|
72
|
+
const channels = options.channelId ? all.filter((channel) => channel.id === options.channelId) : all;
|
|
73
|
+
const untitled = copyParam("videos.untitledVideo", "Video");
|
|
74
|
+
const rows = latestVideos(channels, limit).map((entry): VideoRow => {
|
|
75
|
+
const card = videoCard(entry, untitled, CARD_IMAGE);
|
|
76
|
+
return {
|
|
77
|
+
id: card.id, channelId: card.channelId, title: card.title, duration: showDuration ? card.duration : "",
|
|
78
|
+
coverUrl: card.coverUrl, hasCover: card.hasCover, noCover: card.noCover,
|
|
79
|
+
noTitle: !showTitle, noDuration: !showDuration || !card.duration,
|
|
80
|
+
accessibilityLabel: card.accessibilityLabel,
|
|
81
|
+
};
|
|
82
|
+
});
|
|
83
|
+
return view("ready", rows, totalOf(channels) > rows.length);
|
|
84
|
+
} catch (error) {
|
|
85
|
+
console.warn("videos_section: the videos could not be read", error);
|
|
86
|
+
return view("error", [], false);
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
});
|
|
91
|
+
}
|
|
@@ -77,15 +77,33 @@ Optional parts of the `site` block add or trim native chrome, with no code:
|
|
|
77
77
|
(`screens.exact`), with its worker in `tier5-src/` (`himi docs tier-5-add-a-screen`). `himi validate`
|
|
78
78
|
refuses a native page whose screen is missing. A link to `<scheme>://screen/<screenId>` from outside the
|
|
79
79
|
app, including one on your website, opens the screen only when the page sets `"public": true`. Use
|
|
80
|
-
`"requiresAuth": true` (it implies public) to have a signed-out user sign in first. It needs a
|
|
81
|
-
|
|
82
|
-
`himi validate` refuses it. Notifications is public unless its native page sets
|
|
80
|
+
`"requiresAuth": true` (it implies public) to have a signed-out user sign in first. It needs a Wix member
|
|
81
|
+
login (`wix`, below); without one (a Base44 sign-in does not count) `himi validate` refuses it. Notifications is public unless its native page sets
|
|
83
82
|
`"public": false`.
|
|
84
83
|
- **`pageTitle`** (`"auto"`, `"always"` or `"never"`) decides where a page shows its title in the top
|
|
85
84
|
bar. `auto`, the default, hides it on a page that a tab, sidebar or drawer row opens, because the
|
|
86
85
|
row already names it, and shows it on `overflow` pages and pages opened from a link. Set
|
|
87
86
|
`"showTitle": true` or `false` on a page to override the rule for that page.
|
|
88
87
|
|
|
88
|
+
## Member login and member pages
|
|
89
|
+
|
|
90
|
+
A `wix` block in `provisioning.json` adds a native member login to a Wix site. Members sign in on the
|
|
91
|
+
app's Account screen, and the app signs them in on your website's pages too.
|
|
92
|
+
|
|
93
|
+
```json
|
|
94
|
+
"wix": { "clientId": "<your Headless client id>", "redirectUri": "himalaya-<your-app>://oauth" }
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
`himi site client ensure --site <msid> --redirect-uri <uri> --yes` mints or finds the client and registers
|
|
98
|
+
the redirect. Add `"siteId": "<msid>"` to register members for push notifications. With the binding the
|
|
99
|
+
app also serves the member pages in `dev/member-screens.ts`, which a native page may place (and a
|
|
100
|
+
`{ screen }` icon open, once placed): `himi_notifications` (activity), `himi_inbox`, `himi_orders` and `himi_my_subscriptions`, plus the
|
|
101
|
+
Account hub `himi_account`, which links to all of them. `provisioning.member.example.json` shows a good
|
|
102
|
+
start: Account and Notifications drawer rows and a bell that opens Notifications. A tap in these screens
|
|
103
|
+
into one this app does not have (a shop, plans, a business chat, a cart) opens the matching page of your
|
|
104
|
+
site instead, or is removed. Without a `wix` block, `himi validate` refuses any member page. Cart and
|
|
105
|
+
checkout are not native pages yet.
|
|
106
|
+
|
|
89
107
|
## Wrap any website (not on Wix)
|
|
90
108
|
|
|
91
109
|
The same app wraps any https website. Set `"kind": "web"`:
|
|
@@ -17,10 +17,12 @@ import {
|
|
|
17
17
|
siteNavConfig,
|
|
18
18
|
siteTopBarDefault,
|
|
19
19
|
siteWebSdkCompanion,
|
|
20
|
+
siteWixPingPush,
|
|
20
21
|
type SiteShellConfig,
|
|
21
22
|
type SiteWebSdk,
|
|
22
23
|
} from "@himalaya/core";
|
|
23
24
|
import { ConsoleTelemetrySink } from "@himalaya/telemetry-console";
|
|
25
|
+
import { WixConsumerAuthProvider } from "@himalaya/wix-auth";
|
|
24
26
|
import provisioning from "./provisioning.json" with { type: "json" };
|
|
25
27
|
|
|
26
28
|
/** Your website and its page map. Validated here, so a mistake in provisioning.json (an http
|
|
@@ -107,24 +109,111 @@ export const base44: Base44Binding | undefined = rawBase44 == null ? undefined :
|
|
|
107
109
|
? { deleteAccountFunction: rawBase44.deleteAccountFunction.trim() } : {}),
|
|
108
110
|
};
|
|
109
111
|
})();
|
|
112
|
+
/** A Wix site's member login (`wix` in provisioning.json, or `bindings.wix`): the Headless OAuth client
|
|
113
|
+
* members sign in with, and the redirect registered on it. With it the app adds the native Account
|
|
114
|
+
* screen and the member pages (dev/member-screens.ts): activity, inbox, My orders, My subscriptions.
|
|
115
|
+
* Without it the app stays visitor-only.
|
|
116
|
+
*
|
|
117
|
+
* "wix": { "clientId": "<GUID>", "redirectUri": "<your-scheme>://oauth", "siteUrl": "https://…", "siteId": "<msid>" }
|
|
118
|
+
*
|
|
119
|
+
* `himi site client ensure --site <msid> --redirect-uri <uri> --yes` mints or finds the client. */
|
|
120
|
+
export interface WixBinding { clientId: string; redirectUri: string; siteUrl: string; siteId?: string }
|
|
121
|
+
const GUID = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
122
|
+
/** A block with nothing in it (`{}`, or every field null or ""): the same as no block. */
|
|
123
|
+
function isBlankBlock(block: unknown): boolean {
|
|
124
|
+
return block == null || (typeof block === "object" && !Array.isArray(block) && Object.values(block).every((v) => v == null || v === ""));
|
|
125
|
+
}
|
|
126
|
+
/** The Wix binding block: the top-level `wix` unless it is blank, then `bindings.wix`, so a blank `wix: {}` beside a
|
|
127
|
+
* filled `bindings.wix` does not hide it. */
|
|
128
|
+
export function pickWixBlock(manifest: { wix?: unknown; bindings?: { wix?: unknown } }): unknown {
|
|
129
|
+
return isBlankBlock(manifest.wix) ? manifest.bindings?.wix ?? manifest.wix : manifest.wix;
|
|
130
|
+
}
|
|
131
|
+
const rawWix = pickWixBlock(provisioning as { wix?: unknown; bindings?: { wix?: unknown } }) as Partial<WixBinding> | undefined;
|
|
132
|
+
if (rawWix != null && (typeof rawWix !== "object" || Array.isArray(rawWix))) {
|
|
133
|
+
throw new Error("provisioning.json: wix must be an object with your Headless clientId and redirectUri");
|
|
134
|
+
}
|
|
135
|
+
export const wix: WixBinding | undefined = rawWix == null || Object.values(rawWix).every((v) => v == null || v === "") ? undefined : (() => {
|
|
136
|
+
if (typeof rawWix.clientId !== "string" || !GUID.test(rawWix.clientId)) {
|
|
137
|
+
throw new Error("provisioning.json: wix.clientId must be your Headless client id (a GUID). `himi site client ensure` mints or finds one");
|
|
138
|
+
}
|
|
139
|
+
if (typeof rawWix.redirectUri !== "string" || !/^[a-z][a-z0-9+.-]*:\/\/\S+$/i.test(rawWix.redirectUri.trim())) {
|
|
140
|
+
throw new Error("provisioning.json: wix.redirectUri must be the redirect URI registered on that client, e.g. <your-scheme>://oauth");
|
|
141
|
+
}
|
|
142
|
+
if (site.kind !== "wix") throw new Error('provisioning.json: a wix binding needs a site of kind "wix"');
|
|
143
|
+
if (rawWix.siteId != null && rawWix.siteId !== "" && (typeof rawWix.siteId !== "string" || !GUID.test(rawWix.siteId))) {
|
|
144
|
+
throw new Error("provisioning.json: wix.siteId must be the site's metaSiteId (a GUID); `himi site list` names it");
|
|
145
|
+
}
|
|
146
|
+
if (rawWix.siteUrl != null && typeof rawWix.siteUrl !== "string") {
|
|
147
|
+
throw new Error("provisioning.json: wix.siteUrl must be your site's https URL (or leave it out to use site.origin)");
|
|
148
|
+
}
|
|
149
|
+
const siteUrl = typeof rawWix.siteUrl === "string" && rawWix.siteUrl.trim() ? rawWix.siteUrl.trim() : site.origin;
|
|
150
|
+
let siteHost = "";
|
|
151
|
+
try { const url = new URL(siteUrl); siteHost = url.protocol === "https:" && !url.username && !url.password ? url.hostname : ""; } catch { /* not a URL */ }
|
|
152
|
+
if (!siteHost) throw new Error(`provisioning.json: wix.siteUrl must be an https URL with a host and no credentials, got: ${siteUrl}`);
|
|
153
|
+
return {
|
|
154
|
+
clientId: rawWix.clientId,
|
|
155
|
+
redirectUri: rawWix.redirectUri.trim(),
|
|
156
|
+
siteUrl,
|
|
157
|
+
...(typeof rawWix.siteId === "string" && rawWix.siteId ? { siteId: rawWix.siteId } : {}),
|
|
158
|
+
};
|
|
159
|
+
})();
|
|
160
|
+
if (wix && base44) throw new Error("provisioning.json: bind either wix or base44, not both");
|
|
161
|
+
/** The member pages a native page or top-bar icon may name, with a `wix` binding only. */
|
|
162
|
+
export const MEMBER_PAGE_SCREENS = ["himi_notifications", "himi_inbox", "himi_orders", "himi_my_subscriptions"];
|
|
163
|
+
/** Every screen only a member binding serves: the pages, the Account hub and the screens they open. */
|
|
164
|
+
const MEMBER_ONLY_SCREENS = ["himi_account", "himi_delete_account", "himi_sign_in", "himi_chat_thread", "himi_subscription", "himi_order", ...MEMBER_PAGE_SCREENS];
|
|
165
|
+
for (const page of site.nativePages ?? []) {
|
|
166
|
+
const child = MEMBER_ONLY_SCREENS.includes(page.screenId) && page.screenId !== "himi_account" && !MEMBER_PAGE_SCREENS.includes(page.screenId);
|
|
167
|
+
if (child) {
|
|
168
|
+
throw new Error(`provisioning.json: native page "${page.id}": ${page.screenId} opens from another member screen and cannot be placed. Place one of: himi_account, ${MEMBER_PAGE_SCREENS.join(", ")}`);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
// A member's own orders are never opened by an outside link, even when a native page places them.
|
|
172
|
+
for (const page of site.nativePages ?? []) {
|
|
173
|
+
if (page.screenId === "himi_orders" && (page.public === true || page.requiresAuth === true)) {
|
|
174
|
+
throw new Error(`provisioning.json: native page "${page.id}": himi_orders is a member's private page — an outside link never opens it, so it cannot set public or requiresAuth. Remove the flag.`);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (!wix) {
|
|
178
|
+
const named = [
|
|
179
|
+
...(site.nativePages ?? []).map((page) => ({ where: `native page "${page.id}"`, screenId: page.screenId })),
|
|
180
|
+
...(site.topBar?.actions ?? []).flatMap((action) =>
|
|
181
|
+
"screen" in action.target && action.target.screen ? [{ where: `top-bar icon "${action.id}"`, screenId: action.target.screen }] : []),
|
|
182
|
+
].filter((entry) => MEMBER_ONLY_SCREENS.includes(entry.screenId));
|
|
183
|
+
if (named.length > 0) {
|
|
184
|
+
throw new Error(
|
|
185
|
+
`provisioning.json: ${named.map((entry) => `${entry.where} (${entry.screenId})`).join(", ")} names a member screen, but there is no wix ` +
|
|
186
|
+
"member binding, so this visitor-only app does not serve it. Add a wix binding (clientId + redirectUri), or remove those entries.",
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
/** What the member pages' workers declare beyond push and wix_api. */
|
|
191
|
+
const MEMBER_CAPABILITIES = ["wix_api", "open_url", "wix_platform", "local_database", "app_info", "iap", "live_activity"];
|
|
192
|
+
|
|
110
193
|
/** What the app's `base44` setting carries: the app id, and its server when the binding names one. */
|
|
111
194
|
const base44Config = base44 === undefined ? undefined
|
|
112
195
|
: base44.serverUrl ? { appId: base44.appId, serverUrl: base44.serverUrl } : { appId: base44.appId };
|
|
113
196
|
/** The native Base44 Account screen's id (shared by every site shell; never `himi_account`). */
|
|
114
197
|
export const BASE44_ACCOUNT_SCREEN_ID = "himi_base44_account";
|
|
115
|
-
|
|
198
|
+
// Beside the member activity feed (a native page placing `himi_notifications`), this row is the settings.
|
|
199
|
+
const notificationsRow = {
|
|
200
|
+
id: "drawer_notifications",
|
|
201
|
+
screenId: "himi_notification_settings",
|
|
202
|
+
label: (site.nativePages ?? []).some((page) => page.screenId === "himi_notifications") ? "Notification settings" : "Notifications",
|
|
203
|
+
icon: "bell" as const,
|
|
204
|
+
};
|
|
116
205
|
/** Screens a native page (`site.nativePages`) already places — Notifications as a tab, say. Its row
|
|
117
206
|
* replaces the app's own: one screen is never listed twice in the drawer, the rail or the links. */
|
|
118
207
|
const placedScreens = new Set((site.nativePages ?? []).map((page) => page.screenId));
|
|
119
208
|
/** …of those, the ones with a row (an `overflow` native page has none, so the app's own row stays). */
|
|
120
209
|
const rowedScreens = new Set((site.nativePages ?? []).filter((page) => (page.placement ?? "tab") !== "overflow").map((page) => page.screenId));
|
|
121
|
-
const nativeRows = (base44
|
|
122
|
-
? [{ id: "drawer_account", screenId: BASE44_ACCOUNT_SCREEN_ID, label: "Account", icon: "person" as const }, notificationsRow]
|
|
210
|
+
const nativeRows = (base44 || wix
|
|
211
|
+
? [{ id: "drawer_account", screenId: wix ? "himi_account" : BASE44_ACCOUNT_SCREEN_ID, label: "Account", icon: "person" as const }, notificationsRow]
|
|
123
212
|
: [notificationsRow]).filter((row) => !rowedScreens.has(row.screenId));
|
|
124
213
|
// The native rows' ids are reserved — the same rule as the Brandy shell's contract parser: a site page
|
|
125
214
|
// that is not `overflow` gets a row, and one called `notifications` (or `account`, beside the Account
|
|
126
215
|
// row) would share its row id with the app's own, while navigation finds a destination by row id.
|
|
127
|
-
const reservedPageIds = base44 ? ["notifications", "account"] : ["notifications"];
|
|
216
|
+
const reservedPageIds = base44 || wix ? ["notifications", "account"] : ["notifications"];
|
|
128
217
|
for (const page of [...site.pages, ...(site.nativePages ?? [])]) {
|
|
129
218
|
if ((page.placement ?? "tab") !== "overflow" && reservedPageIds.includes(page.id)) {
|
|
130
219
|
throw new Error(`provisioning.json: site page id "${page.id}" is reserved for the app's native ${page.id} screen — rename the page or make it an overflow page`);
|
|
@@ -132,13 +221,13 @@ for (const page of [...site.pages, ...(site.nativePages ?? [])]) {
|
|
|
132
221
|
}
|
|
133
222
|
/** The native screens this app serves itself, which a top-bar `{ screen }` target may name beside your
|
|
134
223
|
* native pages: Notifications, and a Base44 site's Account. */
|
|
135
|
-
const builtInScreens = ["himi_notification_settings", ...(base44 ? [BASE44_ACCOUNT_SCREEN_ID] : [])];
|
|
224
|
+
const builtInScreens = ["himi_notification_settings", ...(base44 ? [BASE44_ACCOUNT_SCREEN_ID] : []), ...(wix ? ["himi_account"] : [])];
|
|
136
225
|
/** `site.topBar` as the app-wide top bar (every screen without one of its own). */
|
|
137
|
-
const topBarDefault = siteTopBarDefault(site, { nativeScreens: builtInScreens });
|
|
226
|
+
export const topBarDefault = siteTopBarDefault(site, { nativeScreens: builtInScreens });
|
|
138
227
|
// A native page's `requiresAuth` needs a sign-in that gates deep links. This app has none (a Wix site is
|
|
139
228
|
// visitor-only, and a Base44 sign-in does not gate links yet), so it refuses the flag rather than open
|
|
140
229
|
// the screen signed out.
|
|
141
|
-
assertSiteNativePagesAuth(site,
|
|
230
|
+
assertSiteNativePagesAuth(site, Boolean(wix));
|
|
142
231
|
|
|
143
232
|
export default defineApp({
|
|
144
233
|
id: "__HIMI_APP_DOTID__",
|
|
@@ -150,8 +239,16 @@ export default defineApp({
|
|
|
150
239
|
schemaPackageRange: { min: 9900, max: 9909 },
|
|
151
240
|
// Placeholders — only a local server would read these. Leave as-is.
|
|
152
241
|
ports: { devServer: 8190, web: 5390 },
|
|
153
|
-
// Visitor-only
|
|
154
|
-
|
|
242
|
+
// Visitor-only unless provisioning.json binds a Wix member client (`wix`): then members sign in natively,
|
|
243
|
+
// and the app carries the session into your website's pages.
|
|
244
|
+
auth: wix
|
|
245
|
+
? WixConsumerAuthProvider({
|
|
246
|
+
...(wix.siteId ? { siteId: wix.siteId.toLowerCase() } : {}),
|
|
247
|
+
clientId: wix.clientId,
|
|
248
|
+
siteUrl: wix.siteUrl,
|
|
249
|
+
redirectUri: wix.redirectUri,
|
|
250
|
+
})
|
|
251
|
+
: { providerId: "none", config: {} },
|
|
155
252
|
telemetry: ConsoleTelemetrySink(),
|
|
156
253
|
serverUrls: {
|
|
157
254
|
screen: "http://localhost:8190/v1",
|
|
@@ -161,16 +258,21 @@ export default defineApp({
|
|
|
161
258
|
// `push` lets the app ask for notification permission and show the Notifications screen.
|
|
162
259
|
// `base44` (a Base44 site only) lets the Account screen sign members in to your Base44 app.
|
|
163
260
|
// Then whatever `webSdk` lets your pages call, with its permission wording.
|
|
164
|
-
|
|
261
|
+
// `wix_api` and the rest (a `wix` member binding only) back the member pages' workers.
|
|
262
|
+
capabilities: [...new Set(["push", ...(base44 ? ["base44"] : []), ...(wix ? MEMBER_CAPABILITIES : []), ...pageCapabilities])],
|
|
165
263
|
permissionCopy: webSdk?.permissionCopy,
|
|
166
264
|
// The Base44 app the native sign-in and the website pages' session talk to (none for a Wix site).
|
|
167
265
|
base44: base44Config,
|
|
168
266
|
// Ask for notification permission on the first launch. Tapped notifications that carry one of
|
|
169
267
|
// your site's URLs open the page's tab (`navigation.site` below).
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
268
|
+
// With a Wix member login that names the site (`wix.siteId`), signed-in members register for Wix's own
|
|
269
|
+
// member notifications (orders, bookings), and a tap opens the matching page of your site.
|
|
270
|
+
push: wix?.siteId
|
|
271
|
+
? siteWixPingPush(site)
|
|
272
|
+
: {
|
|
273
|
+
registrar: "generic",
|
|
274
|
+
requestPermissionOnLaunch: true,
|
|
275
|
+
},
|
|
174
276
|
// Your brand colours paint the NATIVE chrome (tabs, drawer, splash); the site paints its pages.
|
|
175
277
|
designTokensPath: "./tokens.json",
|
|
176
278
|
// "Ready" means the first page has painted, not just the app shell — otherwise the splash
|
|
@@ -197,6 +299,21 @@ export default defineApp({
|
|
|
197
299
|
...builtInScreens
|
|
198
300
|
.filter((screenId) => !placedScreens.has(screenId))
|
|
199
301
|
.map((screenId) => ({ screenId, isPublic: true, paramKeys: [], parentScreenId: "" })),
|
|
302
|
+
// The member screens (a `wix` binding), with Branded Lite's visibility: an outside link may open the
|
|
303
|
+
// feeds and lists, never a member's order or conversation.
|
|
304
|
+
...(wix
|
|
305
|
+
? [
|
|
306
|
+
{ screenId: "himi_delete_account", isPublic: false, paramKeys: [], parentScreenId: "himi_account" },
|
|
307
|
+
{ screenId: "himi_sign_in", isPublic: true, paramKeys: ["mode", "intent", "returnScreenId", "returnId"], parentScreenId: "himi_account" },
|
|
308
|
+
{ screenId: "himi_notifications", isPublic: true, paramKeys: [], parentScreenId: "" },
|
|
309
|
+
{ screenId: "himi_inbox", isPublic: true, paramKeys: [], parentScreenId: "himi_account" },
|
|
310
|
+
{ screenId: "himi_chat_thread", isPublic: false, paramKeys: ["id"], parentScreenId: "himi_inbox" },
|
|
311
|
+
{ screenId: "himi_orders", isPublic: false, paramKeys: [], parentScreenId: "himi_account" },
|
|
312
|
+
{ screenId: "himi_order", isPublic: false, paramKeys: ["id"], parentScreenId: "himi_orders" },
|
|
313
|
+
{ screenId: "himi_my_subscriptions", isPublic: true, paramKeys: [], parentScreenId: "himi_account" },
|
|
314
|
+
{ screenId: "himi_subscription", isPublic: true, paramKeys: ["id"], parentScreenId: "himi_my_subscriptions" },
|
|
315
|
+
].filter((link) => !placedScreens.has(link.screenId))
|
|
316
|
+
: []),
|
|
200
317
|
],
|
|
201
318
|
// Your `site.topBar` icons, on every screen that has no top bar of its own.
|
|
202
319
|
topBarDefault,
|