@infrab4a/connect-angular 4.0.0-beta.52 → 4.0.0-beta.53
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 +4 -4
- package/esm2020/services/helpers/index.mjs +2 -2
- package/esm2020/services/helpers/util.helper.mjs +18 -0
- package/fesm2015/infrab4a-connect-angular.mjs +4 -4
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +4 -4
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/services/helpers/index.d.ts +1 -1
- package/services/helpers/{util.service.d.ts → util.helper.d.ts} +1 -1
- package/esm2020/services/helpers/util.service.mjs +0 -18
|
@@ -1604,7 +1604,7 @@ __decorate([
|
|
|
1604
1604
|
__metadata("design:type", Array)
|
|
1605
1605
|
], CategoryWithTree.prototype, "children", void 0);
|
|
1606
1606
|
|
|
1607
|
-
class
|
|
1607
|
+
class UtilHelper {
|
|
1608
1608
|
static createSlug(name) {
|
|
1609
1609
|
return name
|
|
1610
1610
|
.toLowerCase()
|
|
@@ -1697,7 +1697,7 @@ class WishlistService {
|
|
|
1697
1697
|
}
|
|
1698
1698
|
async create(personId, title, description, userFullName) {
|
|
1699
1699
|
const data = {
|
|
1700
|
-
slug:
|
|
1700
|
+
slug: UtilHelper.createSlug(`favoritos ${userFullName} ${title}`),
|
|
1701
1701
|
name: title,
|
|
1702
1702
|
description,
|
|
1703
1703
|
metadata: {
|
|
@@ -1716,7 +1716,7 @@ class WishlistService {
|
|
|
1716
1716
|
update(id, title, description, userFullName) {
|
|
1717
1717
|
const data = {
|
|
1718
1718
|
id,
|
|
1719
|
-
slug:
|
|
1719
|
+
slug: UtilHelper.createSlug(`${id}-favoritos ${userFullName} ${title}`),
|
|
1720
1720
|
name: title,
|
|
1721
1721
|
description,
|
|
1722
1722
|
metadata: {
|
|
@@ -2097,5 +2097,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImpor
|
|
|
2097
2097
|
* Generated bundle index. Do not edit.
|
|
2098
2098
|
*/
|
|
2099
2099
|
|
|
2100
|
-
export { AngularConnectModule, AngularFirebaseAuthModule, AngularFirestoreModule, AngularHasuraGraphQLModule, AuthService, CartService, CatalogService, CategoryService, CategoryWithTree, CheckoutService, CheckoutSubscriptionService, CouponService, HomeShopService, OrderService, ProductSorts, ShippingService,
|
|
2100
|
+
export { AngularConnectModule, AngularFirebaseAuthModule, AngularFirestoreModule, AngularHasuraGraphQLModule, AuthService, CartService, CatalogService, CategoryService, CategoryWithTree, CheckoutService, CheckoutSubscriptionService, CouponService, HomeShopService, OrderService, ProductSorts, ShippingService, UtilHelper, WishlistService };
|
|
2101
2101
|
//# sourceMappingURL=infrab4a-connect-angular.mjs.map
|