@social-mail/social-mail-client 1.2.672 → 1.2.674

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.
@@ -13100,13 +13100,13 @@ System.register(["../../common/Slugger", "../../common/TestMode", "../../common/
13100
13100
  execute: function () {
13101
13101
  _export("StoreUrlService", StoreUrlService = {
13102
13102
  productUrl(p) {
13103
- var _a;
13104
- const storeID = toBase36(p.storeID);
13105
- const productID = toBase36((_a = p.variantForID) !== null && _a !== void 0 ? _a : p.storeItemID);
13103
+ var _a, _b;
13104
+ const name = encodeURIComponent(Slugger.slug((_a = p.variantForID) !== null && _a !== void 0 ? _a : p.storeItemID, p.name));
13105
+ const productID = toBase36((_b = p.variantForID) !== null && _b !== void 0 ? _b : p.storeItemID);
13106
13106
  if (AppLocation.isLocalTesting) {
13107
- return `?detail=store/${productID}`;
13107
+ return `?detail=store/${productID}/${name}`;
13108
13108
  }
13109
- return `/store/${productID}/${encodeURIComponent(Slugger.slug(productID, p.name))}`;
13109
+ return `/store/${productID}/${name}`;
13110
13110
  },
13111
13111
  assetUrl(item, file) {
13112
13112
  return `/social-mail/sd/view/${item.publicFolderID}/${file.appFileID}/${file.appFile.name}`;