@infrab4a/connect-angular 5.0.0-alpha.12 → 5.0.0-alpha.14
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/esm2020/services/catalog/wishlist.service.mjs +1 -2
- package/esm2020/services/helpers/util.helper.mjs +12 -12
- package/fesm2015/infrab4a-connect-angular.mjs +11 -12
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +11 -12
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2434,7 +2434,6 @@ class WishlistService {
|
|
|
2434
2434
|
if (!this.catalogService) {
|
|
2435
2435
|
throw new Error('CatalogService not initialized. Call initializeServices first.');
|
|
2436
2436
|
}
|
|
2437
|
-
// Acessar o ProductRepository através do CatalogHelpersService
|
|
2438
2437
|
const helpersService = this.catalogService['helpersService'];
|
|
2439
2438
|
const productServices = helpersService.getProductServices();
|
|
2440
2439
|
return productServices.productRepository
|
|
@@ -2842,17 +2841,17 @@ class UtilHelper {
|
|
|
2842
2841
|
static createSlug(name) {
|
|
2843
2842
|
return name
|
|
2844
2843
|
.toLowerCase()
|
|
2845
|
-
.replace(/\s+/g, '-')
|
|
2846
|
-
.replace(/[ãàáäâ]/g, 'a')
|
|
2847
|
-
.replace(/[ẽèéëê]/g, 'e')
|
|
2848
|
-
.replace(/[ìíïî]/g, 'i')
|
|
2849
|
-
.replace(/[õòóöô]/g, 'o')
|
|
2850
|
-
.replace(/[ùúüû]/g, 'u')
|
|
2851
|
-
.replace(/[ñ]/g, 'n')
|
|
2852
|
-
.replace(/[ç]/g, 'c')
|
|
2853
|
-
.replace(/[&]/g, 'and')
|
|
2854
|
-
.replace(/[^\w-]+/g, '')
|
|
2855
|
-
.replace(/--+/g, '-');
|
|
2844
|
+
.replace(/\s+/g, '-')
|
|
2845
|
+
.replace(/[ãàáäâ]/g, 'a')
|
|
2846
|
+
.replace(/[ẽèéëê]/g, 'e')
|
|
2847
|
+
.replace(/[ìíïî]/g, 'i')
|
|
2848
|
+
.replace(/[õòóöô]/g, 'o')
|
|
2849
|
+
.replace(/[ùúüû]/g, 'u')
|
|
2850
|
+
.replace(/[ñ]/g, 'n')
|
|
2851
|
+
.replace(/[ç]/g, 'c')
|
|
2852
|
+
.replace(/[&]/g, 'and')
|
|
2853
|
+
.replace(/[^\w-]+/g, '')
|
|
2854
|
+
.replace(/--+/g, '-');
|
|
2856
2855
|
}
|
|
2857
2856
|
}
|
|
2858
2857
|
|