@wix/himalaya-cli 0.1944.0 → 0.1945.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/wix-ecom.mjs +16 -0
- package/dist/cli.mjs +1185 -644
- package/fixtures/wix-canned.json +6 -0
- package/guides/himi-json-output.md +8 -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/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/tier5-src/_shared/collection-service.ts +35 -15
- 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/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 +6 -5
- 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/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/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/saved-products-section.ts +14 -8
- 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 +6 -5
- 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/himi-store-saved.ts +275 -13
- package/templates/brandy/tier5-src/himi-branded-lite-cart/index.ts +13 -7
- 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/himi-store-saved.ts +275 -13
- package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/community-club-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/conference/tier5-src/_shared/collection-service.ts +35 -15
- 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/himi-store-saved.ts +275 -13
- package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/events-meetups-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/fitness-gym/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/gym-fitness/tier5-src/_shared/collection-service.ts +35 -15
- 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/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 +6 -5
- 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/medical-services/tier5-src/_shared/collection-service.ts +35 -15
- 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/himi-store-saved.ts +275 -13
- package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/owner-lite/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/personal-fitness-trainer/tier5-src/_shared/collection-service.ts +35 -15
- 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/himi-store-saved.ts +275 -13
- package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/podcast-creator-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/portfolio-creative/tier5-src/_shared/collection-service.ts +35 -15
- 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/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 +6 -5
- 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/professional-services/tier5-src/_shared/collection-service.ts +35 -15
- 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/himi-store-saved.ts +275 -13
- package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/restaurant-owner/tier5-src/_shared/collection-service.ts +35 -15
- package/templates/retail-store/tier5-src/_shared/collection-service.ts +42 -19
- 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/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 +6 -5
- 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/salon-spa/tier5-src/_shared/collection-service.ts +35 -15
- 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/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/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/himi-store-saved.ts +275 -13
- package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +6 -5
- package/templates/yoga-studio-owner/tier5-src/_shared/collection-service.ts +35 -15
|
@@ -47,7 +47,7 @@ const WIX_STORES_APP_ID = "1380b703-ce81-ff05-f115-39571d94dfcd";
|
|
|
47
47
|
import { copyParam, copyTemplate, stashCopy } from "../_shared/himi-copy.js";
|
|
48
48
|
import { getAll, upsert, remove as dbRemove, type DbEntity } from "@himalaya/local-db";
|
|
49
49
|
import { isOfflineFailure, writeMayHaveLanded } from "../_shared/owner-load-error.js";
|
|
50
|
-
import { isProductSaved, readSavedProducts, toggleSavedProduct } from "../_shared/himi-store-saved.js";
|
|
50
|
+
import { isProductSaved, readSavedProducts, refreshSavedThen, toggleSavedProduct } from "../_shared/himi-store-saved.js";
|
|
51
51
|
|
|
52
52
|
// Offline-first (data-offline): the cart is READ-THROUGH — paint the last-synced line
|
|
53
53
|
// items from the on-device `cart` entity first (instant, works offline), then
|
|
@@ -463,7 +463,8 @@ const svc = defineService<State, {
|
|
|
463
463
|
applyPromo: (state: State) => Promise<State>;
|
|
464
464
|
removePromo: (state: State) => Promise<State>;
|
|
465
465
|
remove: (state: State, arg?: unknown) => Promise<State>;
|
|
466
|
-
save: (state: State, arg?: unknown) => State
|
|
466
|
+
save: (state: State, arg?: unknown) => Promise<State>;
|
|
467
|
+
savedChanged: () => State;
|
|
467
468
|
increment: (state: State, arg?: unknown) => Promise<State>;
|
|
468
469
|
decrement: (state: State, arg?: unknown) => Promise<State>;
|
|
469
470
|
checkout: (state: State) => Promise<State>;
|
|
@@ -479,9 +480,14 @@ const svc = defineService<State, {
|
|
|
479
480
|
webSignedIn = (change as { signedIn?: unknown } | undefined)?.signedIn === true;
|
|
480
481
|
webGeneration++;
|
|
481
482
|
if (memberOnlyCart) queueSessionReload();
|
|
483
|
+
refreshSavedThen(() => svc.savedChanged());
|
|
482
484
|
return derive(state);
|
|
483
485
|
},
|
|
486
|
+
// The signed-in member's saved list landed: `derive` re-marks the hearts.
|
|
487
|
+
savedChanged: (): State => derive(svc.getState() as State),
|
|
484
488
|
load: async (state, arg) => {
|
|
489
|
+
// Hearts follow the signed-in member's account wishlist, read beside the cart.
|
|
490
|
+
refreshSavedThen(() => svc.savedChanged());
|
|
485
491
|
// A members-only cart (a site shell) never shows a signed-out shopper's native cart. `prepare` sets the flag
|
|
486
492
|
// before coalescing, so a load already in flight (the boot load) re-checks it before it lands.
|
|
487
493
|
if (memberOnlyArg(arg)) memberOnlyCart = true;
|
|
@@ -575,15 +581,15 @@ const svc = defineService<State, {
|
|
|
575
581
|
if (!id) return state;
|
|
576
582
|
return removeLine(state, id);
|
|
577
583
|
},
|
|
578
|
-
save: (state, arg) => {
|
|
584
|
+
save: async (state, arg): Promise<State> => {
|
|
579
585
|
const id = itemId(arg);
|
|
580
586
|
const item = state.items.find(candidate => candidate.id === id);
|
|
581
587
|
const productId = item?.catalogReference?.catalogItemId ?? item?.productId;
|
|
582
588
|
if (!item || !productId) return state;
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
589
|
+
// `derive` re-marks every row from the saved list, on the cart as it is once the write lands.
|
|
590
|
+
try { await toggleSavedProduct({ id: productId, name: item.name, price: item.unitPrice, wasPrice: item.wasPrice, image: item.image, swatches: item.swatches }); }
|
|
591
|
+
catch { return derive({ ...(svc.getState() as State), checkoutHint: copyParam("cart.saveError", "Could not save this item.") }); }
|
|
592
|
+
return derive(svc.getState() as State);
|
|
587
593
|
},
|
|
588
594
|
increment: async (state, arg) => {
|
|
589
595
|
const id = itemId(arg);
|
|
@@ -18,7 +18,7 @@ import { cleanTitle } from "../_shared/himi-text.js";
|
|
|
18
18
|
import { stashCopy, copyParam, copyTemplate } from "../_shared/himi-copy.js";
|
|
19
19
|
import { isBridgeUnavailable } from "../_shared/owner-load-error.js";
|
|
20
20
|
import { logBi } from "../_shared/wix-bi.js";
|
|
21
|
-
import { isProductSaved, toggleSavedProduct } from "../_shared/himi-store-saved.js";
|
|
21
|
+
import { isProductSaved, syncSavedProducts, toggleSavedProduct } from "../_shared/himi-store-saved.js";
|
|
22
22
|
import { openRichLink } from "../_shared/rich-content-link.js";
|
|
23
23
|
import { descriptionBody } from "../_shared/rich-body.js";
|
|
24
24
|
import { PRODUCT_DETAIL_FIELDS, productInfoSections, type ProductInfoSection } from "../_shared/store-product-info.js";
|
|
@@ -85,6 +85,8 @@ function productPolicyBody(product: StoreProduct, kind: "returns" | "shipping"):
|
|
|
85
85
|
* DIFFERENT product (drop the picks) from the same product coming back (keep them). */
|
|
86
86
|
let lastLoadedId: string | undefined;
|
|
87
87
|
let productLoadSequence = 0;
|
|
88
|
+
/** Bumped by every heart tap: a load that started before one never overwrites the saved state it set. */
|
|
89
|
+
let saveEpoch = 0;
|
|
88
90
|
|
|
89
91
|
interface OptionSlots {
|
|
90
92
|
opt1Label: string; opt1Chips: OptionChip[]; opt1Selected: string[]; opt1SelectedId: string; opt1Placeholder: string; noOpt1: boolean;
|
|
@@ -537,7 +539,7 @@ const svc = onlineService<S, {
|
|
|
537
539
|
beginAdd: (s: S, arg?: unknown) => S;
|
|
538
540
|
setCartCount: (s: S, arg?: unknown) => S;
|
|
539
541
|
share: (s: S) => Promise<S>;
|
|
540
|
-
toggleSave: (s: S) => S
|
|
542
|
+
toggleSave: (s: S) => Promise<S>;
|
|
541
543
|
closeAddedSheet: (s: S) => S;
|
|
542
544
|
/** [rico] #3372 — RichContent's on_link: `{ url }` of the tapped link. */
|
|
543
545
|
openLink: (s: S, arg?: unknown) => Promise<S>;
|
|
@@ -640,9 +642,15 @@ const svc = onlineService<S, {
|
|
|
640
642
|
// A managed refresh retains the raw product used by the still-visible snapshot.
|
|
641
643
|
// Navigation and legacy loaders keep their existing reset behavior.
|
|
642
644
|
if (!readOptions(arg) || id !== lastLoadedId) lastProduct = undefined;
|
|
643
|
-
// Storage problems must not prevent browsing or buying a product.
|
|
644
|
-
|
|
645
|
-
|
|
645
|
+
// Storage problems must not prevent browsing or buying a product. A signed-in member's heart
|
|
646
|
+
// follows their account wishlist, read beside the product so it never holds the page.
|
|
647
|
+
// A failed read still answers for whoever is signed in now (nothing saved for a member whose list
|
|
648
|
+
// could not be read), never the flag a previous member left on this pooled worker.
|
|
649
|
+
const savedNow = (): boolean => { try { return isProductSaved(id); } catch { return false; } };
|
|
650
|
+
const epoch = saveEpoch;
|
|
651
|
+
const savedRead = syncSavedProducts().then(savedNow, savedNow);
|
|
652
|
+
// Read after the sync began: until it knows who is signed in, nothing shows as saved.
|
|
653
|
+
const saved = savedNow();
|
|
646
654
|
s = { ...s, saved, saveHint: "",
|
|
647
655
|
optionValidationTarget: "",
|
|
648
656
|
...(id !== lastLoadedId ? { adding: false, added: false, shareHint: "", addedSheetPresented: false, quantity: 1, showOptionErrors: false, optionValidationRequest: 0, galleryIndex: 0, returnPolicyExpanded: false, shippingInfoExpanded: false, infoSections: [] } : {}) };
|
|
@@ -711,9 +719,12 @@ const svc = onlineService<S, {
|
|
|
711
719
|
}
|
|
712
720
|
}
|
|
713
721
|
lastLoadedId = id;
|
|
722
|
+
const savedFlag = await savedRead;
|
|
723
|
+
if (sequence !== productLoadSequence || id !== inputId()) return svc.getState() as S;
|
|
714
724
|
return derive({
|
|
715
725
|
...base,
|
|
716
726
|
...keep,
|
|
727
|
+
...(epoch === saveEpoch ? { saved: savedFlag } : {}),
|
|
717
728
|
status: "ready",
|
|
718
729
|
optionGroups,
|
|
719
730
|
selection: { ...defaultSelection(optionGroups), ...carried },
|
|
@@ -859,18 +870,24 @@ const svc = onlineService<S, {
|
|
|
859
870
|
const confirmation = copyTemplate("product.cartHintAdded", "Added {name} to cart.", { name: s.name || "product" });
|
|
860
871
|
return derive({ ...s, adding: false, added: true, addedSheetPresented: true, cartHint: `${confirmation}${quantity > 1 ? ` Qty: ${quantity}` : ""}`, cartCount: count || s.cartCount });
|
|
861
872
|
},
|
|
862
|
-
|
|
863
|
-
|
|
873
|
+
// A member's save goes to their account wishlist.
|
|
874
|
+
toggleSave: async (s) => {
|
|
875
|
+
const id = inputId();
|
|
876
|
+
if (s.status !== "ready" || !s.name || !id) return s;
|
|
877
|
+
saveEpoch++;
|
|
878
|
+
let result: { saved: boolean } | undefined;
|
|
864
879
|
try {
|
|
865
880
|
const sale = lastProduct ? productSale(lastProduct) : { price: s.commercePrice ?? "", wasPrice: "" };
|
|
866
|
-
|
|
867
|
-
swatches: s.optionGroups.flatMap(g => g.kind === "color" ? g.choices.map(c => c.colorCode).filter(Boolean) : []).slice(0, 5) });
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
881
|
+
result = { saved: await toggleSavedProduct({ id, name: s.name, price: sale.price, wasPrice: sale.wasPrice, image: s.image,
|
|
882
|
+
swatches: s.optionGroups.flatMap(g => g.kind === "color" ? g.choices.map(c => c.colorCode).filter(Boolean) : []).slice(0, 5) }) };
|
|
883
|
+
} catch { /* reported below */ }
|
|
884
|
+
// Build on the page as it is now: the shopper may have changed the quantity meanwhile.
|
|
885
|
+
const now = svc.getState() as S;
|
|
886
|
+
if (inputId() !== id) return now;
|
|
887
|
+
if (!result) return derive({ ...now, saveHint: copyParam("product.saveError", "Could not save this change. Try again.") });
|
|
888
|
+
return derive({ ...now, saved: result.saved, saveHint: result.saved
|
|
889
|
+
? copyParam("product.saveSuccess", "Added to wishlist.")
|
|
890
|
+
: copyParam("product.saveRemoved", "Removed from wishlist.") });
|
|
874
891
|
},
|
|
875
892
|
share: async (s) => {
|
|
876
893
|
if (!s.name) return s;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { withIapPresentation } from "../_shared/iap-presentation.js";
|
|
2
2
|
import { withEmptyFlags } from "../_shared/empty-flags.js";
|
|
3
|
-
import {
|
|
3
|
+
import { listSavedProducts, removeSavedProduct, type SavedProduct } from "../_shared/himi-store-saved.js";
|
|
4
4
|
import { stashCopy, copyParam } from "../_shared/himi-copy.js";
|
|
5
5
|
|
|
6
6
|
interface Row extends SavedProduct {
|
|
@@ -23,8 +23,8 @@ interface S {
|
|
|
23
23
|
function shape(s: Pick<S, "status" | "rows" | "error">): S {
|
|
24
24
|
return { ...s, isLoading: s.status === "loading", notLoading: s.status !== "loading", notErrored: s.status !== "error", noEmpty: s.status !== "ready" || s.rows.length > 0, hasRows: s.rows.length > 0, emptyText: copyParam("savedProducts.empty", "Tap the heart on a product to add it to your wishlist.") };
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
return
|
|
26
|
+
function toRows(saved: SavedProduct[]): Row[] {
|
|
27
|
+
return saved.map(row => {
|
|
28
28
|
const swatches = (row.swatches ?? []).filter(value => /^#(?:[0-9a-f]{3}|[0-9a-f]{6})$/i.test(value)).slice(0, 5);
|
|
29
29
|
return { ...row, commercePrice: row.price, initial: row.name.slice(0, 1).toUpperCase(), hasImage: !!row.image, noImage: !row.image,
|
|
30
30
|
detailScreenId: "himi_product", notOnSale: !row.wasPrice, wasPriceEmpty: !!row.wasPrice, noSwatches: swatches.length === 0, noTagRow: !row.wasPrice && swatches.length === 0,
|
|
@@ -45,23 +45,42 @@ const defineService = withIapPresentation<S>({
|
|
|
45
45
|
return { ...row, price: next, wasPriceEmpty: !!row.wasPrice && !iapAdjusted, notOnSale: !row.wasPrice || iapAdjusted, noTagRow: (!row.wasPrice || iapAdjusted) && !row.swatches?.length };
|
|
46
46
|
}) }),
|
|
47
47
|
});
|
|
48
|
+
let reads = 0;
|
|
48
49
|
const svc = defineService<S, {
|
|
49
|
-
load: (s: S, arg?: unknown) => S
|
|
50
|
-
remove: (s: S, arg?: unknown) => S
|
|
50
|
+
load: (s: S, arg?: unknown) => Promise<S | undefined>;
|
|
51
|
+
remove: (s: S, arg?: unknown) => Promise<S | undefined>;
|
|
51
52
|
}>("himiStoreSaved", withEmptyFlags({
|
|
52
53
|
state: shape({ status: "loading", rows: [], error: "" }),
|
|
53
54
|
actions: {
|
|
54
|
-
|
|
55
|
+
// A signed-in member's list is their account wishlist; a visitor's is this device's.
|
|
56
|
+
// Only the latest read lands: one started before a sign-out never paints over the one after it.
|
|
57
|
+
load: async (s, arg) => {
|
|
55
58
|
stashCopy(arg);
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
const read = ++reads;
|
|
60
|
+
try {
|
|
61
|
+
const rows = toRows(await listSavedProducts());
|
|
62
|
+
return read === reads ? shape({ status: "ready", rows, error: "" }) : undefined;
|
|
63
|
+
}
|
|
64
|
+
// A failed read never keeps rows that may belong to whoever was signed in before.
|
|
65
|
+
catch { return read === reads ? failed(shape({ ...s, rows: [] })) : undefined; }
|
|
58
66
|
},
|
|
59
|
-
remove: (s, arg) => {
|
|
67
|
+
remove: async (s, arg) => {
|
|
60
68
|
const id = typeof arg === "string" ? arg : String((arg as { id?: unknown } | undefined)?.id ?? "");
|
|
69
|
+
// A member change re-reads the list for whoever is signed in now.
|
|
70
|
+
let removed = true;
|
|
71
|
+
try { await removeSavedProduct(id); }
|
|
72
|
+
// Only a member change re-reads the list; a refusal for the same member is a failed remove, and says so.
|
|
73
|
+
catch (error) { if ((error as { name?: string } | null)?.name !== "MemberAccessChanged") return failed(s); removed = false; }
|
|
74
|
+
const read = ++reads;
|
|
61
75
|
try {
|
|
62
|
-
|
|
63
|
-
return shape({ status: "ready", rows
|
|
64
|
-
} catch
|
|
76
|
+
const rows = toRows(await listSavedProducts());
|
|
77
|
+
return read === reads ? shape({ status: "ready", rows, error: "" }) : undefined;
|
|
78
|
+
} catch (error) {
|
|
79
|
+
if (read !== reads) return undefined;
|
|
80
|
+
if (!removed || (error as { name?: string } | null)?.name === "MemberAccessChanged") return failed(shape({ ...s, rows: [] }));
|
|
81
|
+
// The remove landed: drop the row even when the list cannot be read again.
|
|
82
|
+
return shape({ ...s, status: "ready", rows: s.rows.filter(row => row.id !== id), error: "" });
|
|
83
|
+
}
|
|
65
84
|
},
|
|
66
85
|
},
|
|
67
86
|
}, { rows: "noRows" }));
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import { defineService as registerState, navigate } from "@himalaya/state";
|
|
15
15
|
import { productImage, productPrice, queryStoreProducts, type StoreProduct } from "../_shared/himi-store.js";
|
|
16
16
|
import { loadStoreCategories, type StoreCategoryCard } from "../_shared/himi-store-categories.js";
|
|
17
|
-
import { readSavedProducts, toggleSavedProduct } from "../_shared/himi-store-saved.js";
|
|
17
|
+
import { readSavedProducts, refreshSavedThen, toggleSavedProduct } from "../_shared/himi-store-saved.js";
|
|
18
18
|
import { withIapPresentation } from "../_shared/iap-presentation.js";
|
|
19
19
|
import { loadMemberProfile, signedInEmail } from "../_shared/himi-account.js";
|
|
20
20
|
import { cleanTitle } from "../_shared/himi-text.js";
|
|
@@ -241,6 +241,13 @@ function withSaved(rows: ProductRow[], ids: ReadonlySet<string>): ProductRow[] {
|
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
+
/** `s` with every heart re-marked from the saved store, and the catalog rows a search filters. */
|
|
245
|
+
function remarkSaved(s: S): S {
|
|
246
|
+
const ids = savedIds();
|
|
247
|
+
catalogRows = withSaved(catalogRows, ids);
|
|
248
|
+
return derive({ ...s, deals: withSaved(s.deals, ids), bestSellers: withSaved(s.bestSellers, ids), matches: withSaved(s.matches, ids) });
|
|
249
|
+
}
|
|
250
|
+
|
|
244
251
|
function derive(s: S): S {
|
|
245
252
|
const loading = s.status === "loading";
|
|
246
253
|
const errored = s.status === "error";
|
|
@@ -363,6 +370,8 @@ function focusFromInput(): string {
|
|
|
363
370
|
|
|
364
371
|
async function load(s: S): Promise<S> {
|
|
365
372
|
const mine = ++loadSeq;
|
|
373
|
+
// Hearts follow the signed-in member's account wishlist, read beside the catalog.
|
|
374
|
+
refreshSavedThen(() => svc.savedChanged());
|
|
366
375
|
// Read before the awaits; it rides the answer below. "" (no fresh nonce) clears the token.
|
|
367
376
|
const focus = focusFromInput();
|
|
368
377
|
const [member, catalog] = await Promise.all([within(memberPart(), MEMBER_BUDGET_MS, GUEST_PART), readCatalog()]);
|
|
@@ -446,7 +455,8 @@ const svc = defineService<S, {
|
|
|
446
455
|
refresh: (s: S, arg?: unknown) => Promise<S>;
|
|
447
456
|
search: (s: S, arg?: unknown) => S;
|
|
448
457
|
clearSearch: (s: S) => S;
|
|
449
|
-
toggleSave: (s: S, arg?: unknown) => S
|
|
458
|
+
toggleSave: (s: S, arg?: unknown) => Promise<S>;
|
|
459
|
+
savedChanged: () => S;
|
|
450
460
|
openHero: (s: S) => S;
|
|
451
461
|
openSearch: (s: S) => S;
|
|
452
462
|
openForMember: (s: S, arg?: unknown) => Promise<S>;
|
|
@@ -463,19 +473,20 @@ const svc = defineService<S, {
|
|
|
463
473
|
clearSearch: (s) => { liveQuery = ""; return commit(withMatches({ ...s, query: "" })); },
|
|
464
474
|
// The heart on a deal or best-seller card: the shared saved store, which the product screen
|
|
465
475
|
// and the Saved tab read. A failed write leaves every heart as it was and says so.
|
|
466
|
-
|
|
476
|
+
// A signed-in member's save is in their account wishlist.
|
|
477
|
+
toggleSave: async (s, arg) => {
|
|
467
478
|
const id = String((arg as { id?: unknown } | undefined)?.id ?? "");
|
|
468
479
|
const row = [...s.deals, ...s.bestSellers, ...s.matches].find((r) => r.id === id);
|
|
469
480
|
if (!row) return s;
|
|
470
481
|
try {
|
|
471
|
-
toggleSavedProduct({ id: row.id, name: row.name, price: row.commercePrice, image: row.image, ...(row.wasPrice ? { wasPrice: row.wasPrice } : {}) });
|
|
482
|
+
await toggleSavedProduct({ id: row.id, name: row.name, price: row.commercePrice, image: row.image, ...(row.wasPrice ? { wasPrice: row.wasPrice } : {}) });
|
|
472
483
|
} catch {
|
|
473
|
-
return commit(derive({ ...
|
|
484
|
+
return commit(derive({ ...now(), saveMessage: copyParam("home.saveError", "Could not update your saved products. Try again.") }));
|
|
474
485
|
}
|
|
475
|
-
|
|
476
|
-
catalogRows = withSaved(catalogRows, ids);
|
|
477
|
-
return commit(derive({ ...s, saveMessage: "", deals: withSaved(s.deals, ids), bestSellers: withSaved(s.bestSellers, ids), matches: withSaved(s.matches, ids) }));
|
|
486
|
+
return commit(remarkSaved({ ...now(), saveMessage: "" }));
|
|
478
487
|
},
|
|
488
|
+
// The signed-in member's saved list landed: re-mark the hearts.
|
|
489
|
+
savedChanged: () => commit(remarkSaved(now())),
|
|
479
490
|
// Shop Now: the New In category when the site has one, else every product.
|
|
480
491
|
openHero: (s) => navigate(s, s.heroCategoryId
|
|
481
492
|
? { screenId: "himi_collection", args: { id: s.heroCategoryId } }
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "محدد",
|
|
3483
3483
|
"origin": "machine"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "المنتج",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "إخفاء",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "vybráno",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produkt",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Skrýt",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "valgt",
|
|
3483
3483
|
"origin": "machine"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produkt",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Skjul",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "ausgewählt",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produkt",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Ausblenden",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "επιλέχθηκαν",
|
|
3483
3483
|
"origin": "machine"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Προϊόν",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Απόκρυψη",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "seleccionados",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Producto",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Ocultar",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "valittu",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Tuote",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Piilota",
|
|
@@ -3462,6 +3462,11 @@
|
|
|
3462
3462
|
"translation": "sélectionné(s)",
|
|
3463
3463
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3464
3464
|
},
|
|
3465
|
+
"h_dd3b86d1ef21": {
|
|
3466
|
+
"source": "Product",
|
|
3467
|
+
"translation": "Article",
|
|
3468
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3469
|
+
},
|
|
3465
3470
|
"h_34d8b60fe253": {
|
|
3466
3471
|
"source": "Hide",
|
|
3467
3472
|
"translation": "Masquer",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "kijelölve",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Termék",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Elrejtés",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "dipilih",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produk",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Sembunyikan",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "selezionato",
|
|
3483
3483
|
"origin": "machine"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Prodotto",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Nascondi",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "選択中",
|
|
3483
3483
|
"origin": "one-app:mobile-apps-inbox:ARIA_BUSINESS_SELECTOR_SELECTED"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "商品",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "非表示",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "선택됨",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "제품",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "비공개",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "pasirinkta",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produktas",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Slėpti",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "geselecteerd",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Product",
|
|
3488
|
+
"origin": "machine"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Verbergen",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "valgte",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produkt",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Skjul",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "wybrano",
|
|
3483
3483
|
"origin": "machine"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produkt",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Ukryj",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "selecionado",
|
|
3483
3483
|
"origin": "machine"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produto",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Ocultar",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "выбрано",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Товар",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Скрыть",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "valda",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Produkt",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Dölj",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "เลือกแล้ว",
|
|
3483
3483
|
"origin": "one-app:mobile-apps-inbox:ARIA_BUSINESS_SELECTOR_SELECTED"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "สินค้า",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "ซ่อน",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "seçili",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Ürün",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Gizle",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "обрано",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Товар",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Приховати",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "đã chọn",
|
|
3483
3483
|
"origin": "one-app:wix-one-app-forms:FORMS_FIELD_COMPOSER_SELECTED_ITEMS"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "Sản phẩm",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "Ẩn",
|
|
@@ -3482,6 +3482,11 @@
|
|
|
3482
3482
|
"translation": "已選擇",
|
|
3483
3483
|
"origin": "one-app:mobile-apps-inbox:ARIA_BUSINESS_SELECTOR_SELECTED"
|
|
3484
3484
|
},
|
|
3485
|
+
"h_dd3b86d1ef21": {
|
|
3486
|
+
"source": "Product",
|
|
3487
|
+
"translation": "產品",
|
|
3488
|
+
"origin": "one-app:wix-one-app-ecom-platform:merchant.ordersList.filters.products.heading"
|
|
3489
|
+
},
|
|
3485
3490
|
"h_34d8b60fe253": {
|
|
3486
3491
|
"source": "Hide",
|
|
3487
3492
|
"translation": "隱藏",
|