@wix/stores 1.0.994 → 1.0.996

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.
@@ -32,6 +32,8 @@ import * as auto_sdk_stores_storesLocationsV3 from '@wix/auto_sdk_stores_stores-
32
32
  export { auto_sdk_stores_storesLocationsV3 as storesLocationsV3 };
33
33
  import * as auto_sdk_stores_storesMediaV3 from '@wix/auto_sdk_stores_stores-media-v-3';
34
34
  export { auto_sdk_stores_storesMediaV3 as storesMediaV3 };
35
+ import * as auto_sdk_stores_productBundlesV3 from '@wix/auto_sdk_stores_product-bundles-v-3';
36
+ export { auto_sdk_stores_productBundlesV3 as productBundlesV3 };
35
37
  import * as auto_sdk_stores_abandonedCarts from '@wix/auto_sdk_stores_abandoned-carts';
36
38
  export { auto_sdk_stores_abandonedCarts as abandonedCarts };
37
39
  import * as auto_sdk_stores_subscriptionOptions from '@wix/auto_sdk_stores_subscription-options';
@@ -39,6 +39,7 @@ __export(index_exports, {
39
39
  infoSectionsV3: () => infoSectionsV3,
40
40
  inventory: () => inventory,
41
41
  inventoryItemsV3: () => inventoryItemsV3,
42
+ productBundlesV3: () => productBundlesV3,
42
43
  productGroupsV3: () => productGroupsV3,
43
44
  products: () => products,
44
45
  productsV3: () => productsV3,
@@ -69,6 +70,7 @@ var readOnlyVariantsV3 = __toESM(require("@wix/auto_sdk_stores_read-only-variant
69
70
  var ribbonsV3 = __toESM(require("@wix/auto_sdk_stores_ribbons-v-3"));
70
71
  var storesLocationsV3 = __toESM(require("@wix/auto_sdk_stores_stores-locations-v-3"));
71
72
  var storesMediaV3 = __toESM(require("@wix/auto_sdk_stores_stores-media-v-3"));
73
+ var productBundlesV3 = __toESM(require("@wix/auto_sdk_stores_product-bundles-v-3"));
72
74
  var abandonedCarts = __toESM(require("@wix/auto_sdk_stores_abandoned-carts"));
73
75
  var subscriptionOptions = __toESM(require("@wix/auto_sdk_stores_subscription-options"));
74
76
  var inventory = __toESM(require("@wix/auto_sdk_stores_inventory"));
@@ -83,6 +85,7 @@ var inventory = __toESM(require("@wix/auto_sdk_stores_inventory"));
83
85
  infoSectionsV3,
84
86
  inventory,
85
87
  inventoryItemsV3,
88
+ productBundlesV3,
86
89
  productGroupsV3,
87
90
  products,
88
91
  productsV3,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../index.ts"],"sourcesContent":["import * as wishlist from '@wix/auto_sdk_stores_wishlist';\nimport * as collections from '@wix/auto_sdk_stores_collections';\nimport * as products from '@wix/auto_sdk_stores_products';\nimport * as brandsV3 from '@wix/auto_sdk_stores_brands-v-3';\nimport * as catalogImportsV3 from '@wix/auto_sdk_stores_catalog-imports-v-3';\nimport * as customizationsV3 from '@wix/auto_sdk_stores_customizations-v-3';\nimport * as infoSectionsV3 from '@wix/auto_sdk_stores_info-sections-v-3';\nimport * as inventoryItemsV3 from '@wix/auto_sdk_stores_inventory-items-v-3';\nimport * as productsV3 from '@wix/auto_sdk_stores_products-v-3';\nimport * as productGroupsV3 from '@wix/auto_sdk_stores_product-groups-v-3';\nimport * as promotionsV3 from '@wix/auto_sdk_stores_promotions-v-3';\nimport * as catalogVersioning from '@wix/auto_sdk_stores_catalog-versioning';\nimport * as purchaseRecommendationSettings from '@wix/auto_sdk_stores_purchase-recommendation-settings';\nimport * as readOnlyVariantsV3 from '@wix/auto_sdk_stores_read-only-variants-v-3';\nimport * as ribbonsV3 from '@wix/auto_sdk_stores_ribbons-v-3';\nimport * as storesLocationsV3 from '@wix/auto_sdk_stores_stores-locations-v-3';\nimport * as storesMediaV3 from '@wix/auto_sdk_stores_stores-media-v-3';\nimport * as abandonedCarts from '@wix/auto_sdk_stores_abandoned-carts';\nimport * as subscriptionOptions from '@wix/auto_sdk_stores_subscription-options';\nimport * as inventory from '@wix/auto_sdk_stores_inventory';\n\nexport {\n wishlist,\n collections,\n products,\n brandsV3,\n catalogImportsV3,\n customizationsV3,\n infoSectionsV3,\n inventoryItemsV3,\n productsV3,\n productGroupsV3,\n promotionsV3,\n catalogVersioning,\n purchaseRecommendationSettings,\n readOnlyVariantsV3,\n ribbonsV3,\n storesLocationsV3,\n storesMediaV3,\n abandonedCarts,\n subscriptionOptions,\n inventory,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAA0B;AAC1B,kBAA6B;AAC7B,eAA0B;AAC1B,eAA0B;AAC1B,uBAAkC;AAClC,uBAAkC;AAClC,qBAAgC;AAChC,uBAAkC;AAClC,iBAA4B;AAC5B,sBAAiC;AACjC,mBAA8B;AAC9B,wBAAmC;AACnC,qCAAgD;AAChD,yBAAoC;AACpC,gBAA2B;AAC3B,wBAAmC;AACnC,oBAA+B;AAC/B,qBAAgC;AAChC,0BAAqC;AACrC,gBAA2B;","names":[]}
1
+ {"version":3,"sources":["../../index.ts"],"sourcesContent":["import * as wishlist from '@wix/auto_sdk_stores_wishlist';\nimport * as collections from '@wix/auto_sdk_stores_collections';\nimport * as products from '@wix/auto_sdk_stores_products';\nimport * as brandsV3 from '@wix/auto_sdk_stores_brands-v-3';\nimport * as catalogImportsV3 from '@wix/auto_sdk_stores_catalog-imports-v-3';\nimport * as customizationsV3 from '@wix/auto_sdk_stores_customizations-v-3';\nimport * as infoSectionsV3 from '@wix/auto_sdk_stores_info-sections-v-3';\nimport * as inventoryItemsV3 from '@wix/auto_sdk_stores_inventory-items-v-3';\nimport * as productsV3 from '@wix/auto_sdk_stores_products-v-3';\nimport * as productGroupsV3 from '@wix/auto_sdk_stores_product-groups-v-3';\nimport * as promotionsV3 from '@wix/auto_sdk_stores_promotions-v-3';\nimport * as catalogVersioning from '@wix/auto_sdk_stores_catalog-versioning';\nimport * as purchaseRecommendationSettings from '@wix/auto_sdk_stores_purchase-recommendation-settings';\nimport * as readOnlyVariantsV3 from '@wix/auto_sdk_stores_read-only-variants-v-3';\nimport * as ribbonsV3 from '@wix/auto_sdk_stores_ribbons-v-3';\nimport * as storesLocationsV3 from '@wix/auto_sdk_stores_stores-locations-v-3';\nimport * as storesMediaV3 from '@wix/auto_sdk_stores_stores-media-v-3';\nimport * as productBundlesV3 from '@wix/auto_sdk_stores_product-bundles-v-3';\nimport * as abandonedCarts from '@wix/auto_sdk_stores_abandoned-carts';\nimport * as subscriptionOptions from '@wix/auto_sdk_stores_subscription-options';\nimport * as inventory from '@wix/auto_sdk_stores_inventory';\n\nexport {\n wishlist,\n collections,\n products,\n brandsV3,\n catalogImportsV3,\n customizationsV3,\n infoSectionsV3,\n inventoryItemsV3,\n productsV3,\n productGroupsV3,\n promotionsV3,\n catalogVersioning,\n purchaseRecommendationSettings,\n readOnlyVariantsV3,\n ribbonsV3,\n storesLocationsV3,\n storesMediaV3,\n productBundlesV3,\n abandonedCarts,\n subscriptionOptions,\n inventory,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAA0B;AAC1B,kBAA6B;AAC7B,eAA0B;AAC1B,eAA0B;AAC1B,uBAAkC;AAClC,uBAAkC;AAClC,qBAAgC;AAChC,uBAAkC;AAClC,iBAA4B;AAC5B,sBAAiC;AACjC,mBAA8B;AAC9B,wBAAmC;AACnC,qCAAgD;AAChD,yBAAoC;AACpC,gBAA2B;AAC3B,wBAAmC;AACnC,oBAA+B;AAC/B,uBAAkC;AAClC,qBAAgC;AAChC,0BAAqC;AACrC,gBAA2B;","names":[]}
@@ -32,9 +32,11 @@ import * as meta$f from '@wix/auto_sdk_stores_stores-locations-v-3/meta';
32
32
  export { meta$f as storesLocationsV3 };
33
33
  import * as meta$g from '@wix/auto_sdk_stores_stores-media-v-3/meta';
34
34
  export { meta$g as storesMediaV3 };
35
- import * as meta$h from '@wix/auto_sdk_stores_abandoned-carts/meta';
36
- export { meta$h as abandonedCarts };
37
- import * as meta$i from '@wix/auto_sdk_stores_subscription-options/meta';
38
- export { meta$i as subscriptionOptions };
39
- import * as meta$j from '@wix/auto_sdk_stores_inventory/meta';
40
- export { meta$j as inventory };
35
+ import * as meta$h from '@wix/auto_sdk_stores_product-bundles-v-3/meta';
36
+ export { meta$h as productBundlesV3 };
37
+ import * as meta$i from '@wix/auto_sdk_stores_abandoned-carts/meta';
38
+ export { meta$i as abandonedCarts };
39
+ import * as meta$j from '@wix/auto_sdk_stores_subscription-options/meta';
40
+ export { meta$j as subscriptionOptions };
41
+ import * as meta$k from '@wix/auto_sdk_stores_inventory/meta';
42
+ export { meta$k as inventory };
package/build/cjs/meta.js CHANGED
@@ -39,6 +39,7 @@ __export(meta_exports, {
39
39
  infoSectionsV3: () => infoSectionsV3,
40
40
  inventory: () => inventory,
41
41
  inventoryItemsV3: () => inventoryItemsV3,
42
+ productBundlesV3: () => productBundlesV3,
42
43
  productGroupsV3: () => productGroupsV3,
43
44
  products: () => products,
44
45
  productsV3: () => productsV3,
@@ -69,6 +70,7 @@ var readOnlyVariantsV3 = __toESM(require("@wix/auto_sdk_stores_read-only-variant
69
70
  var ribbonsV3 = __toESM(require("@wix/auto_sdk_stores_ribbons-v-3/meta"));
70
71
  var storesLocationsV3 = __toESM(require("@wix/auto_sdk_stores_stores-locations-v-3/meta"));
71
72
  var storesMediaV3 = __toESM(require("@wix/auto_sdk_stores_stores-media-v-3/meta"));
73
+ var productBundlesV3 = __toESM(require("@wix/auto_sdk_stores_product-bundles-v-3/meta"));
72
74
  var abandonedCarts = __toESM(require("@wix/auto_sdk_stores_abandoned-carts/meta"));
73
75
  var subscriptionOptions = __toESM(require("@wix/auto_sdk_stores_subscription-options/meta"));
74
76
  var inventory = __toESM(require("@wix/auto_sdk_stores_inventory/meta"));
@@ -83,6 +85,7 @@ var inventory = __toESM(require("@wix/auto_sdk_stores_inventory/meta"));
83
85
  infoSectionsV3,
84
86
  inventory,
85
87
  inventoryItemsV3,
88
+ productBundlesV3,
86
89
  productGroupsV3,
87
90
  products,
88
91
  productsV3,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../meta.ts"],"sourcesContent":["export * as wishlist from '@wix/auto_sdk_stores_wishlist/meta';\nexport * as collections from '@wix/auto_sdk_stores_collections/meta';\nexport * as products from '@wix/auto_sdk_stores_products/meta';\nexport * as brandsV3 from '@wix/auto_sdk_stores_brands-v-3/meta';\nexport * as catalogImportsV3 from '@wix/auto_sdk_stores_catalog-imports-v-3/meta';\nexport * as customizationsV3 from '@wix/auto_sdk_stores_customizations-v-3/meta';\nexport * as infoSectionsV3 from '@wix/auto_sdk_stores_info-sections-v-3/meta';\nexport * as inventoryItemsV3 from '@wix/auto_sdk_stores_inventory-items-v-3/meta';\nexport * as productsV3 from '@wix/auto_sdk_stores_products-v-3/meta';\nexport * as productGroupsV3 from '@wix/auto_sdk_stores_product-groups-v-3/meta';\nexport * as promotionsV3 from '@wix/auto_sdk_stores_promotions-v-3/meta';\nexport * as catalogVersioning from '@wix/auto_sdk_stores_catalog-versioning/meta';\nexport * as purchaseRecommendationSettings from '@wix/auto_sdk_stores_purchase-recommendation-settings/meta';\nexport * as readOnlyVariantsV3 from '@wix/auto_sdk_stores_read-only-variants-v-3/meta';\nexport * as ribbonsV3 from '@wix/auto_sdk_stores_ribbons-v-3/meta';\nexport * as storesLocationsV3 from '@wix/auto_sdk_stores_stores-locations-v-3/meta';\nexport * as storesMediaV3 from '@wix/auto_sdk_stores_stores-media-v-3/meta';\nexport * as abandonedCarts from '@wix/auto_sdk_stores_abandoned-carts/meta';\nexport * as subscriptionOptions from '@wix/auto_sdk_stores_subscription-options/meta';\nexport * as inventory from '@wix/auto_sdk_stores_inventory/meta';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAA0B;AAC1B,kBAA6B;AAC7B,eAA0B;AAC1B,eAA0B;AAC1B,uBAAkC;AAClC,uBAAkC;AAClC,qBAAgC;AAChC,uBAAkC;AAClC,iBAA4B;AAC5B,sBAAiC;AACjC,mBAA8B;AAC9B,wBAAmC;AACnC,qCAAgD;AAChD,yBAAoC;AACpC,gBAA2B;AAC3B,wBAAmC;AACnC,oBAA+B;AAC/B,qBAAgC;AAChC,0BAAqC;AACrC,gBAA2B;","names":[]}
1
+ {"version":3,"sources":["../../meta.ts"],"sourcesContent":["export * as wishlist from '@wix/auto_sdk_stores_wishlist/meta';\nexport * as collections from '@wix/auto_sdk_stores_collections/meta';\nexport * as products from '@wix/auto_sdk_stores_products/meta';\nexport * as brandsV3 from '@wix/auto_sdk_stores_brands-v-3/meta';\nexport * as catalogImportsV3 from '@wix/auto_sdk_stores_catalog-imports-v-3/meta';\nexport * as customizationsV3 from '@wix/auto_sdk_stores_customizations-v-3/meta';\nexport * as infoSectionsV3 from '@wix/auto_sdk_stores_info-sections-v-3/meta';\nexport * as inventoryItemsV3 from '@wix/auto_sdk_stores_inventory-items-v-3/meta';\nexport * as productsV3 from '@wix/auto_sdk_stores_products-v-3/meta';\nexport * as productGroupsV3 from '@wix/auto_sdk_stores_product-groups-v-3/meta';\nexport * as promotionsV3 from '@wix/auto_sdk_stores_promotions-v-3/meta';\nexport * as catalogVersioning from '@wix/auto_sdk_stores_catalog-versioning/meta';\nexport * as purchaseRecommendationSettings from '@wix/auto_sdk_stores_purchase-recommendation-settings/meta';\nexport * as readOnlyVariantsV3 from '@wix/auto_sdk_stores_read-only-variants-v-3/meta';\nexport * as ribbonsV3 from '@wix/auto_sdk_stores_ribbons-v-3/meta';\nexport * as storesLocationsV3 from '@wix/auto_sdk_stores_stores-locations-v-3/meta';\nexport * as storesMediaV3 from '@wix/auto_sdk_stores_stores-media-v-3/meta';\nexport * as productBundlesV3 from '@wix/auto_sdk_stores_product-bundles-v-3/meta';\nexport * as abandonedCarts from '@wix/auto_sdk_stores_abandoned-carts/meta';\nexport * as subscriptionOptions from '@wix/auto_sdk_stores_subscription-options/meta';\nexport * as inventory from '@wix/auto_sdk_stores_inventory/meta';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,eAA0B;AAC1B,kBAA6B;AAC7B,eAA0B;AAC1B,eAA0B;AAC1B,uBAAkC;AAClC,uBAAkC;AAClC,qBAAgC;AAChC,uBAAkC;AAClC,iBAA4B;AAC5B,sBAAiC;AACjC,mBAA8B;AAC9B,wBAAmC;AACnC,qCAAgD;AAChD,yBAAoC;AACpC,gBAA2B;AAC3B,wBAAmC;AACnC,oBAA+B;AAC/B,uBAAkC;AAClC,qBAAgC;AAChC,0BAAqC;AACrC,gBAA2B;","names":[]}
@@ -17,6 +17,7 @@ import '@wix/auto_sdk_stores_read-only-variants-v-3';
17
17
  import '@wix/auto_sdk_stores_ribbons-v-3';
18
18
  import '@wix/auto_sdk_stores_stores-locations-v-3';
19
19
  import '@wix/auto_sdk_stores_stores-media-v-3';
20
+ import '@wix/auto_sdk_stores_product-bundles-v-3';
20
21
  import '@wix/auto_sdk_stores_abandoned-carts';
21
22
  import '@wix/auto_sdk_stores_subscription-options';
22
23
  import '@wix/auto_sdk_stores_inventory';
@@ -37,6 +38,7 @@ import '@wix/auto_sdk_stores_read-only-variants-v-3/meta';
37
38
  import '@wix/auto_sdk_stores_ribbons-v-3/meta';
38
39
  import '@wix/auto_sdk_stores_stores-locations-v-3/meta';
39
40
  import '@wix/auto_sdk_stores_stores-media-v-3/meta';
41
+ import '@wix/auto_sdk_stores_product-bundles-v-3/meta';
40
42
  import '@wix/auto_sdk_stores_abandoned-carts/meta';
41
43
  import '@wix/auto_sdk_stores_subscription-options/meta';
42
44
  import '@wix/auto_sdk_stores_inventory/meta';
@@ -3426,33 +3426,41 @@ function Zl() {
3426
3426
  return Ql(new URL(e2.currentUrl));
3427
3427
  }
3428
3428
  function Ql(e2) {
3429
- return e2.pathname.split(`/`).filter(Boolean).at(-1) || void 0;
3429
+ let t2 = e2.pathname.split(`/`).filter(Boolean).at(-1);
3430
+ return t2 ? $l(t2) : void 0;
3430
3431
  }
3431
- var $l = q(`seo/seo-service`);
3432
- var eu = q(`@wix/site-service-rendering-context`);
3433
- function tu(e2) {
3434
- let t2 = c($l), { SSR: n2 } = c(eu), i2 = r(false);
3432
+ function $l(e2) {
3433
+ try {
3434
+ return decodeURIComponent(e2);
3435
+ } catch {
3436
+ return e2;
3437
+ }
3438
+ }
3439
+ var eu = q(`seo/seo-service`);
3440
+ var tu = q(`@wix/site-service-rendering-context`);
3441
+ function nu(e2) {
3442
+ let t2 = c(eu), { SSR: n2 } = c(tu), i2 = r(false);
3435
3443
  !i2.current && e2.id && n2 && (i2.current = true, t2.setSeoEntity({ itemType: `STORES_PRODUCT`, seoData: e2.seoData ?? {}, itemData: { product: e2 } }).catch(() => {
3436
3444
  }));
3437
3445
  }
3438
- var nu = `No product slug is available for the product context`;
3439
- function ru() {
3446
+ var ru = `No product slug is available for the product context`;
3447
+ function iu() {
3440
3448
  return o();
3441
3449
  }
3442
- function iu({ productPromise: e2 }) {
3450
+ function au({ productPromise: e2 }) {
3443
3451
  let { seoProduct: t2 } = kn(e2);
3444
- return tu(t2), null;
3452
+ return nu(t2), null;
3445
3453
  }
3446
- function au({ children: e2 }) {
3447
- let t2 = Zl(), n2 = Yl(`slug:${t2}`, () => t2 ? Gi(t2) : Promise.reject(Error(nu)));
3448
- return u(zl, { productPromise: n2, source: Xl.PRODUCT_BY_SLUG, children: [l(iu, { productPromise: n2 }), e2] });
3454
+ function ou({ children: e2 }) {
3455
+ let t2 = Zl(), n2 = Yl(`slug:${t2}`, () => t2 ? Gi(t2) : Promise.reject(Error(ru)));
3456
+ return u(zl, { productPromise: n2, source: Xl.PRODUCT_BY_SLUG, children: [l(au, { productPromise: n2 }), e2] });
3449
3457
  }
3450
- var ou = On(`b276b552-68b9-4936-98d5-fbe43c0bd257`);
3458
+ var su = On(`b276b552-68b9-4936-98d5-fbe43c0bd257`);
3451
3459
  export {
3452
- nu as NO_PRODUCT_SLUG_ERROR,
3453
- au as ProductBySlugContextProvider,
3454
- au as default,
3455
- ou as injectAccessTokenGetter,
3456
- ru as useProductBySlugContext
3460
+ ru as NO_PRODUCT_SLUG_ERROR,
3461
+ ou as ProductBySlugContextProvider,
3462
+ ou as default,
3463
+ su as injectAccessTokenGetter,
3464
+ iu as useProductBySlugContext
3457
3465
  };
3458
3466
  //# sourceMappingURL=context-product-by-slug.mjs.map