@wix/himalaya-cli 0.1944.0 → 0.1946.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/stdlib/wix-sdk/ecom/src/extensions.d.ts +27 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-ecom.mjs +16 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{e113c7cdcf8f56ad861b2564505fab2a1975c7a995f92d2f999f9c4ce1a09a40.bin → 9521361aa5be10b9a96b96c0ea2f7e157e728874b20de5200879cbd735eefb38.bin} +1 -1
- package/dist/browser-plane/sw.js +9 -9
- package/dist/cli.mjs +1548 -912
- package/dist/preview-assets.generated.bin +0 -0
- package/fixtures/wix-canned.json +6 -0
- package/guides/himi-json-output.md +15 -6
- package/guides/one-app-section-mappings.md +2 -2
- package/guides/one-app-to-himi-app.md +13 -4
- package/guides/release-notes.md +8 -0
- package/guides/sdk-reference.json +55 -0
- package/package.json +2 -2
- package/templates/bare-fashion/dev/index.ts +3 -1
- package/templates/bare-fashion/tier5-src/_shared/bare-fashion-product-card.ts +5 -4
- package/templates/bare-fashion/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/bare-fashion/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/bare-fashion/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-cart/index.ts +19 -12
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-collection/index.ts +9 -4
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-home/index.ts +10 -4
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-product/index.ts +17 -8
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-products/index.ts +8 -4
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-saved/index.ts +31 -12
- package/templates/bare-fashion/tier5-src/himi-bare-fashion-search/index.ts +8 -4
- package/templates/beauty-salon/dev/index.ts +1 -0
- package/templates/beauty-salon/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/beauty-salon/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/beauty-salon/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/beauty-salon/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/beauty-salon/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/beauty-salon/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/beauty-salon/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +7 -5
- package/templates/beauty-salon/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/beauty-salon-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/branded-lite/dev/index.ts +4 -2
- package/templates/branded-lite/l10n/ar.json +5 -5
- package/templates/branded-lite/l10n/cs.json +5 -5
- package/templates/branded-lite/l10n/da.json +5 -5
- package/templates/branded-lite/l10n/de.json +5 -5
- package/templates/branded-lite/l10n/el.json +5 -5
- package/templates/branded-lite/l10n/es.json +5 -5
- package/templates/branded-lite/l10n/fi.json +5 -5
- package/templates/branded-lite/l10n/fr.json +5 -5
- package/templates/branded-lite/l10n/he.json +4 -4
- package/templates/branded-lite/l10n/hu.json +5 -5
- package/templates/branded-lite/l10n/id.json +5 -5
- package/templates/branded-lite/l10n/it.json +5 -5
- package/templates/branded-lite/l10n/ja.json +5 -5
- package/templates/branded-lite/l10n/ko.json +5 -5
- package/templates/branded-lite/l10n/lt.json +5 -5
- package/templates/branded-lite/l10n/nl.json +5 -5
- package/templates/branded-lite/l10n/no.json +5 -5
- package/templates/branded-lite/l10n/pl.json +5 -5
- package/templates/branded-lite/l10n/pt.json +5 -5
- package/templates/branded-lite/l10n/ru.json +5 -5
- package/templates/branded-lite/l10n/sv.json +5 -5
- package/templates/branded-lite/l10n/th.json +5 -5
- package/templates/branded-lite/l10n/tr.json +5 -5
- package/templates/branded-lite/l10n/uk.json +5 -5
- package/templates/branded-lite/l10n/vi.json +5 -5
- package/templates/branded-lite/l10n/zh.json +5 -5
- package/templates/branded-lite/recipes/wishlist-grid.json +1 -1
- package/templates/branded-lite/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/branded-lite/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/branded-lite/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/branded-lite/tier5-src/_shared/performance-tracker-section.ts +24 -16
- package/templates/branded-lite/tier5-src/_shared/performance-tracker-weeks.ts +27 -20
- package/templates/branded-lite/tier5-src/_shared/saved-products-section.ts +14 -8
- package/templates/branded-lite/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/branded-lite/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/branded-lite/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/branded-lite/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/branded-lite/tier5-src/himi-store-product/index.ts +32 -15
- package/templates/branded-lite/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/brandy/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/brandy/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/brandy/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/brandy/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/community-club/dev/index.ts +1 -0
- package/templates/community-club/l10n/ar.json +5 -0
- package/templates/community-club/l10n/cs.json +5 -0
- package/templates/community-club/l10n/da.json +5 -0
- package/templates/community-club/l10n/de.json +5 -0
- package/templates/community-club/l10n/el.json +5 -0
- package/templates/community-club/l10n/es.json +5 -0
- package/templates/community-club/l10n/fi.json +5 -0
- package/templates/community-club/l10n/fr.json +5 -0
- package/templates/community-club/l10n/he.json +4 -0
- package/templates/community-club/l10n/hu.json +5 -0
- package/templates/community-club/l10n/id.json +5 -0
- package/templates/community-club/l10n/it.json +5 -0
- package/templates/community-club/l10n/ja.json +5 -0
- package/templates/community-club/l10n/ko.json +5 -0
- package/templates/community-club/l10n/lt.json +5 -0
- package/templates/community-club/l10n/nl.json +5 -0
- package/templates/community-club/l10n/no.json +5 -0
- package/templates/community-club/l10n/pl.json +5 -0
- package/templates/community-club/l10n/pt.json +5 -0
- package/templates/community-club/l10n/ru.json +5 -0
- package/templates/community-club/l10n/sv.json +5 -0
- package/templates/community-club/l10n/th.json +5 -0
- package/templates/community-club/l10n/tr.json +5 -0
- package/templates/community-club/l10n/uk.json +5 -0
- package/templates/community-club/l10n/vi.json +5 -0
- package/templates/community-club/l10n/zh.json +5 -0
- package/templates/community-club/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/community-club/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/community-club/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/community-club/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/conference/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/conference/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/events-meetups/dev/index.ts +1 -0
- package/templates/events-meetups/l10n/ar.json +5 -0
- package/templates/events-meetups/l10n/cs.json +5 -0
- package/templates/events-meetups/l10n/da.json +5 -0
- package/templates/events-meetups/l10n/de.json +5 -0
- package/templates/events-meetups/l10n/el.json +5 -0
- package/templates/events-meetups/l10n/es.json +5 -0
- package/templates/events-meetups/l10n/fi.json +5 -0
- package/templates/events-meetups/l10n/fr.json +5 -0
- package/templates/events-meetups/l10n/he.json +4 -0
- package/templates/events-meetups/l10n/hu.json +5 -0
- package/templates/events-meetups/l10n/id.json +5 -0
- package/templates/events-meetups/l10n/it.json +5 -0
- package/templates/events-meetups/l10n/ja.json +5 -0
- package/templates/events-meetups/l10n/ko.json +5 -0
- package/templates/events-meetups/l10n/lt.json +5 -0
- package/templates/events-meetups/l10n/nl.json +5 -0
- package/templates/events-meetups/l10n/no.json +5 -0
- package/templates/events-meetups/l10n/pl.json +5 -0
- package/templates/events-meetups/l10n/pt.json +5 -0
- package/templates/events-meetups/l10n/ru.json +5 -0
- package/templates/events-meetups/l10n/sv.json +5 -0
- package/templates/events-meetups/l10n/th.json +5 -0
- package/templates/events-meetups/l10n/tr.json +5 -0
- package/templates/events-meetups/l10n/uk.json +5 -0
- package/templates/events-meetups/l10n/vi.json +5 -0
- package/templates/events-meetups/l10n/zh.json +5 -0
- package/templates/events-meetups/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/events-meetups/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/events-meetups/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/fitness-gym/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/fitness-gym/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/fitness-gym/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/fitness-gym/tier5-src/himi-fitcoach-home/index.ts +3 -2
- package/templates/gym-fitness/dev/index.ts +3 -1
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/gym-fitness/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/gym-fitness/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/gym-fitness/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/gym-fitness/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/gym-fitness/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/gym-fitness/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +7 -5
- package/templates/gym-fitness/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/gym-fitness-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/medical-services/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/medical-services/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/medical-services/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/medical-services/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/nonprofit-cause/dev/index.ts +1 -0
- package/templates/nonprofit-cause/l10n/ar.json +5 -0
- package/templates/nonprofit-cause/l10n/cs.json +5 -0
- package/templates/nonprofit-cause/l10n/da.json +5 -0
- package/templates/nonprofit-cause/l10n/de.json +5 -0
- package/templates/nonprofit-cause/l10n/el.json +5 -0
- package/templates/nonprofit-cause/l10n/es.json +5 -0
- package/templates/nonprofit-cause/l10n/fi.json +5 -0
- package/templates/nonprofit-cause/l10n/fr.json +5 -0
- package/templates/nonprofit-cause/l10n/he.json +4 -0
- package/templates/nonprofit-cause/l10n/hu.json +5 -0
- package/templates/nonprofit-cause/l10n/id.json +5 -0
- package/templates/nonprofit-cause/l10n/it.json +5 -0
- package/templates/nonprofit-cause/l10n/ja.json +5 -0
- package/templates/nonprofit-cause/l10n/ko.json +5 -0
- package/templates/nonprofit-cause/l10n/lt.json +5 -0
- package/templates/nonprofit-cause/l10n/nl.json +5 -0
- package/templates/nonprofit-cause/l10n/no.json +5 -0
- package/templates/nonprofit-cause/l10n/pl.json +5 -0
- package/templates/nonprofit-cause/l10n/pt.json +5 -0
- package/templates/nonprofit-cause/l10n/ru.json +5 -0
- package/templates/nonprofit-cause/l10n/sv.json +5 -0
- package/templates/nonprofit-cause/l10n/th.json +5 -0
- package/templates/nonprofit-cause/l10n/tr.json +5 -0
- package/templates/nonprofit-cause/l10n/uk.json +5 -0
- package/templates/nonprofit-cause/l10n/vi.json +5 -0
- package/templates/nonprofit-cause/l10n/zh.json +5 -0
- package/templates/nonprofit-cause/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/nonprofit-cause/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/nonprofit-cause/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/personal-fitness-trainer/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/personal-fitness-trainer/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/personal-fitness-trainer/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/podcast-creator/dev/index.ts +1 -0
- package/templates/podcast-creator/l10n/ar.json +5 -0
- package/templates/podcast-creator/l10n/cs.json +5 -0
- package/templates/podcast-creator/l10n/da.json +5 -0
- package/templates/podcast-creator/l10n/de.json +5 -0
- package/templates/podcast-creator/l10n/el.json +5 -0
- package/templates/podcast-creator/l10n/es.json +5 -0
- package/templates/podcast-creator/l10n/fi.json +5 -0
- package/templates/podcast-creator/l10n/fr.json +5 -0
- package/templates/podcast-creator/l10n/he.json +4 -0
- package/templates/podcast-creator/l10n/hu.json +5 -0
- package/templates/podcast-creator/l10n/id.json +5 -0
- package/templates/podcast-creator/l10n/it.json +5 -0
- package/templates/podcast-creator/l10n/ja.json +5 -0
- package/templates/podcast-creator/l10n/ko.json +5 -0
- package/templates/podcast-creator/l10n/lt.json +5 -0
- package/templates/podcast-creator/l10n/nl.json +5 -0
- package/templates/podcast-creator/l10n/no.json +5 -0
- package/templates/podcast-creator/l10n/pl.json +5 -0
- package/templates/podcast-creator/l10n/pt.json +5 -0
- package/templates/podcast-creator/l10n/ru.json +5 -0
- package/templates/podcast-creator/l10n/sv.json +5 -0
- package/templates/podcast-creator/l10n/th.json +5 -0
- package/templates/podcast-creator/l10n/tr.json +5 -0
- package/templates/podcast-creator/l10n/uk.json +5 -0
- package/templates/podcast-creator/l10n/vi.json +5 -0
- package/templates/podcast-creator/l10n/zh.json +5 -0
- package/templates/podcast-creator/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/podcast-creator/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/podcast-creator/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/portfolio-creative/dev/index.ts +1 -0
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/portfolio-creative/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/portfolio-creative/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/portfolio-creative/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/portfolio-creative/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +7 -5
- package/templates/portfolio-creative/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/portfolio-creative-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/professional-services/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/professional-services/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/professional-services/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/professional-services/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/restaurant/dev/index.ts +1 -0
- package/templates/restaurant/l10n/ar.json +5 -0
- package/templates/restaurant/l10n/cs.json +5 -0
- package/templates/restaurant/l10n/da.json +5 -0
- package/templates/restaurant/l10n/de.json +5 -0
- package/templates/restaurant/l10n/el.json +5 -0
- package/templates/restaurant/l10n/es.json +5 -0
- package/templates/restaurant/l10n/fi.json +5 -0
- package/templates/restaurant/l10n/fr.json +5 -0
- package/templates/restaurant/l10n/he.json +4 -0
- package/templates/restaurant/l10n/hu.json +5 -0
- package/templates/restaurant/l10n/id.json +5 -0
- package/templates/restaurant/l10n/it.json +5 -0
- package/templates/restaurant/l10n/ja.json +5 -0
- package/templates/restaurant/l10n/ko.json +5 -0
- package/templates/restaurant/l10n/lt.json +5 -0
- package/templates/restaurant/l10n/nl.json +5 -0
- package/templates/restaurant/l10n/no.json +5 -0
- package/templates/restaurant/l10n/pl.json +5 -0
- package/templates/restaurant/l10n/pt.json +5 -0
- package/templates/restaurant/l10n/ru.json +5 -0
- package/templates/restaurant/l10n/sv.json +5 -0
- package/templates/restaurant/l10n/th.json +5 -0
- package/templates/restaurant/l10n/tr.json +5 -0
- package/templates/restaurant/l10n/uk.json +5 -0
- package/templates/restaurant/l10n/vi.json +5 -0
- package/templates/restaurant/l10n/zh.json +5 -0
- package/templates/restaurant/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/restaurant/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/restaurant/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/restaurant/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/retail-store/dev/index.ts +1 -0
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/retail-store/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/retail-store/tier5-src/_shared/himi-store-facets.ts +4 -4
- package/templates/retail-store/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/retail-store/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/retail-store/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/retail-store/tier5-src/himi-branded-lite-category/index.ts +6 -1
- package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/retail-store/tier5-src/himi-branded-lite-shop/index.ts +9 -3
- package/templates/retail-store/tier5-src/himi-store-product/index.ts +32 -15
- package/templates/retail-store/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/retail-store-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/salon-spa/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/salon-spa/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/wholesale-store/dev/index.ts +2 -2
- package/templates/wholesale-store/tier5-src/_shared/collection-service.ts +42 -19
- package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/wholesale-store/tier5-src/_shared/himi-store-collection.ts +7 -3
- package/templates/wholesale-store/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/wholesale-store/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- package/templates/wholesale-store/tier5-src/himi-store-product/index.ts +32 -15
- package/templates/wholesale-store/tier5-src/himi-store-saved/index.ts +31 -12
- package/templates/wholesale-store/tier5-src/himi-wholesale-home/index.ts +19 -8
- package/templates/yoga-studio/dev/index.ts +3 -1
- package/templates/yoga-studio/l10n/ar.json +5 -0
- package/templates/yoga-studio/l10n/cs.json +5 -0
- package/templates/yoga-studio/l10n/da.json +5 -0
- package/templates/yoga-studio/l10n/de.json +5 -0
- package/templates/yoga-studio/l10n/el.json +5 -0
- package/templates/yoga-studio/l10n/es.json +5 -0
- package/templates/yoga-studio/l10n/fi.json +5 -0
- package/templates/yoga-studio/l10n/fr.json +5 -0
- package/templates/yoga-studio/l10n/he.json +4 -0
- package/templates/yoga-studio/l10n/hu.json +5 -0
- package/templates/yoga-studio/l10n/id.json +5 -0
- package/templates/yoga-studio/l10n/it.json +5 -0
- package/templates/yoga-studio/l10n/ja.json +5 -0
- package/templates/yoga-studio/l10n/ko.json +5 -0
- package/templates/yoga-studio/l10n/lt.json +5 -0
- package/templates/yoga-studio/l10n/nl.json +5 -0
- package/templates/yoga-studio/l10n/no.json +5 -0
- package/templates/yoga-studio/l10n/pl.json +5 -0
- package/templates/yoga-studio/l10n/pt.json +5 -0
- package/templates/yoga-studio/l10n/ru.json +5 -0
- package/templates/yoga-studio/l10n/sv.json +5 -0
- package/templates/yoga-studio/l10n/th.json +5 -0
- package/templates/yoga-studio/l10n/tr.json +5 -0
- package/templates/yoga-studio/l10n/uk.json +5 -0
- package/templates/yoga-studio/l10n/vi.json +5 -0
- package/templates/yoga-studio/l10n/zh.json +5 -0
- package/templates/yoga-studio/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +65 -0
- package/templates/yoga-studio/tier5-src/_shared/himi-store-saved.ts +275 -13
- package/templates/yoga-studio/tier5-src/_shared/weekly-goal.ts +28 -12
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +7 -2
- package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +14 -13
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +65 -0
|
@@ -530,3 +530,30 @@ export declare function setDeliveryMethodForCurrentCartV2(code: string, appId?:
|
|
|
530
530
|
* no longer available). No cart yet → `{ cart: { lineItems: [] } }`, not a throw.
|
|
531
531
|
* @scope visitor — the cart belongs to the session (visitor or member) that calls it. */
|
|
532
532
|
export declare function estimateCurrentCartV2(): Promise<WixEstimateCartV2Response>;
|
|
533
|
+
export interface WixWishlistCatalogReference {
|
|
534
|
+
catalogItemId: string;
|
|
535
|
+
appId: string;
|
|
536
|
+
options?: Record<string, unknown> | null;
|
|
537
|
+
}
|
|
538
|
+
export interface WixWishlistItem {
|
|
539
|
+
catalogReference?: WixWishlistCatalogReference;
|
|
540
|
+
addedDate?: string;
|
|
541
|
+
}
|
|
542
|
+
export interface WixWishlist {
|
|
543
|
+
id?: string;
|
|
544
|
+
memberId?: string;
|
|
545
|
+
items?: WixWishlistItem[];
|
|
546
|
+
}
|
|
547
|
+
export interface WixWishlistResponse {
|
|
548
|
+
wishlist?: WixWishlist;
|
|
549
|
+
}
|
|
550
|
+
/** The signed-in member's default wishlist. `appId` keeps only that catalog's items.
|
|
551
|
+
* @scope member — a visitor is refused (403). */
|
|
552
|
+
export declare function getDefaultWishlist(appId?: string): Promise<WixWishlistResponse>;
|
|
553
|
+
/** Save one catalog item to the member's default wishlist; answers the updated wishlist.
|
|
554
|
+
* @scope member — a visitor is refused (403). */
|
|
555
|
+
export declare function addWishlistItem(catalogReference: WixWishlistCatalogReference): Promise<WixWishlistResponse>;
|
|
556
|
+
/** Remove one catalog item (the exact reference it was saved with) from the member's default
|
|
557
|
+
* wishlist; answers the updated wishlist.
|
|
558
|
+
* @scope member — a visitor is refused (403). */
|
|
559
|
+
export declare function removeWishlistItem(catalogReference: WixWishlistCatalogReference): Promise<WixWishlistResponse>;
|
|
@@ -145,6 +145,7 @@ function watch(options) {
|
|
|
145
145
|
else if (typeof options?.intervalMs === "number") startParams.intervalMs = options.intervalMs;
|
|
146
146
|
const started = (async () => {
|
|
147
147
|
const r = await dispatch("capability.motion.watchStart", startParams);
|
|
148
|
+
if (!r?.watchId && r?.code === "unavailable") throw new Error(`motion.watch: ${sensor} unavailable on this device`);
|
|
148
149
|
if (!r?.watchId) throw new Error("motion.watch: native handler returned no watchId");
|
|
149
150
|
return r.watchId;
|
|
150
151
|
})();
|
|
@@ -237,6 +237,19 @@ async function estimateCurrentCartV2() {
|
|
|
237
237
|
throw e;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
+
function getDefaultWishlist(appId) {
|
|
241
|
+
return wixCall("GET", `/ecom/v1/wishlists/get-default${appId ? `?appId=${encodeURIComponent(appId)}` : ""}`);
|
|
242
|
+
}
|
|
243
|
+
function wishlistItemBody(catalogReference) {
|
|
244
|
+
if (!catalogReference?.catalogItemId || !catalogReference.appId) throw new Error("wishlist: catalogReference.catalogItemId and appId are required");
|
|
245
|
+
return { catalogReference, returnEntity: true };
|
|
246
|
+
}
|
|
247
|
+
function addWishlistItem(catalogReference) {
|
|
248
|
+
return wixCall("POST", "/ecom/v1/wishlists/add-item", wishlistItemBody(catalogReference));
|
|
249
|
+
}
|
|
250
|
+
function removeWishlistItem(catalogReference) {
|
|
251
|
+
return wixCall("POST", "/ecom/v1/wishlists/remove-item", wishlistItemBody(catalogReference));
|
|
252
|
+
}
|
|
240
253
|
|
|
241
254
|
// ../../stdlib/wix-sdk/ecom/src/index.ts
|
|
242
255
|
function wixCallHeaders(opts) {
|
|
@@ -282,6 +295,7 @@ export {
|
|
|
282
295
|
addCouponToCurrentCart,
|
|
283
296
|
addLineItemsToCurrentCartV2,
|
|
284
297
|
addToCurrentCart,
|
|
298
|
+
addWishlistItem,
|
|
285
299
|
archiveOrder,
|
|
286
300
|
calculateCurrentCart,
|
|
287
301
|
cancelOrder,
|
|
@@ -297,6 +311,7 @@ export {
|
|
|
297
311
|
getCurrentCart,
|
|
298
312
|
getCurrentCartV2,
|
|
299
313
|
getDefaultMemberAddress,
|
|
314
|
+
getDefaultWishlist,
|
|
300
315
|
getMemberAddress,
|
|
301
316
|
getOrder,
|
|
302
317
|
isEmptyCurrentCartError,
|
|
@@ -311,6 +326,7 @@ export {
|
|
|
311
326
|
removeCouponFromCurrentCart,
|
|
312
327
|
removeLineItemsFromCurrentCart,
|
|
313
328
|
removeLineItemsFromCurrentCartV2,
|
|
329
|
+
removeWishlistItem,
|
|
314
330
|
searchOrders,
|
|
315
331
|
setDefaultMemberAddress,
|
|
316
332
|
setDeliveryMethodForCurrentCartV2,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"files": [
|
|
3
3
|
{
|
|
4
4
|
"name": "sw.js",
|
|
5
|
-
"bytes":
|
|
5
|
+
"bytes": 2826217
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
"name": "host.html",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"bytes": 24320
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"name": "preview-deferred/
|
|
24
|
+
"name": "preview-deferred/9521361aa5be10b9a96b96c0ea2f7e157e728874b20de5200879cbd735eefb38.bin",
|
|
25
25
|
"bytes": 488215
|
|
26
26
|
},
|
|
27
27
|
{
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
],
|
|
80
80
|
"deferred": [
|
|
81
81
|
{
|
|
82
|
-
"key": "assets/pdf-
|
|
82
|
+
"key": "assets/pdf-DdwUM4l9.js",
|
|
83
83
|
"contentType": "application/javascript; charset=utf-8",
|
|
84
|
-
"sha256": "
|
|
85
|
-
"file": "preview-deferred/
|
|
84
|
+
"sha256": "9521361aa5be10b9a96b96c0ea2f7e157e728874b20de5200879cbd735eefb38",
|
|
85
|
+
"file": "preview-deferred/9521361aa5be10b9a96b96c0ea2f7e157e728874b20de5200879cbd735eefb38.bin"
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"key": "assets/pdf.worker.min-BGnVRhRG.js",
|