ng-easycommerce 0.0.616 → 0.0.618
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/README.md +981 -975
- package/assets/bamboo.html +145 -145
- package/assets/bancardCatastro.html +49 -49
- package/assets/bancardFrameBase.html +104 -104
- package/assets/cecaFrameRedirectBase.html +172 -172
- package/assets/decidirFormEc.html +519 -519
- package/assets/docs/COOKIES.md +158 -158
- package/assets/docs/Parametros-Frontend.md +56 -56
- package/assets/ec-i18n/ct.json +295 -295
- package/assets/ec-i18n/en.json +0 -0
- package/assets/ec-i18n/es.json +412 -411
- package/assets/ec-i18n/fr.json +0 -0
- package/assets/ec-i18n/gl.json +295 -295
- package/assets/ec-i18n/pr.json +295 -295
- package/assets/images/whatsapp.png +0 -0
- package/assets/mpFrameRedirectBase.html +114 -114
- package/assets/recaptcha/recaptcha-site-keys.json +3 -3
- package/assets/recaptcha/recaptcha-sites-prod.json +38 -38
- package/assets/recaptcha/recaptcha-sites.json +52 -52
- package/assets/redirect.html +62 -62
- package/assets/redsysAuthVdosBase.html +78 -78
- package/assets/redsysAuthVunoBase.html +84 -84
- package/assets/redsysFrameRedirectBase.html +102 -102
- package/assets/redsysFrameRedirectOutBase.html +102 -102
- package/assets/redsysFrameSendBase.html +71 -71
- package/assets/redsysProBase.html +399 -399
- package/assets/redsysStateBase.html +63 -63
- package/assets/scss/_colors.scss +17 -17
- package/assets/scss/_styles.scss +22 -22
- package/assets/svg/chevron-left-black.svg +61 -61
- package/assets/svg/chevron-right-black.svg +61 -61
- package/bundles/ng-easycommerce.umd.js +19685 -19681
- package/bundles/ng-easycommerce.umd.js.map +1 -1
- package/bundles/ng-easycommerce.umd.min.js +1 -1
- package/bundles/ng-easycommerce.umd.min.js.map +1 -1
- package/esm2015/lib/api/connection.service.js +77 -77
- package/esm2015/lib/classes/checkout/step-service.js +39 -39
- package/esm2015/lib/classes/checkout/step.js +22 -22
- package/esm2015/lib/classes/checkout-process-state.js +2 -2
- package/esm2015/lib/classes/component-helper.js +16 -16
- package/esm2015/lib/classes/filters/AttributesFilter.js +61 -61
- package/esm2015/lib/classes/filters/CategoryFilter.js +54 -54
- package/esm2015/lib/classes/filters/DinamycsFilter.js +58 -58
- package/esm2015/lib/classes/filters/Filter.js +75 -75
- package/esm2015/lib/classes/filters/PriceRangeFilter.js +51 -51
- package/esm2015/lib/classes/filters/SortFilter.js +79 -79
- package/esm2015/lib/classes/user-role-type.js +1 -1
- package/esm2015/lib/classes/user.js +108 -108
- package/esm2015/lib/core.consts.js +414 -414
- package/esm2015/lib/ec-component/account-ec/account-ec.component.js +45 -45
- package/esm2015/lib/ec-component/account-ec/order-ec/order-ec.component.js +115 -115
- package/esm2015/lib/ec-component/account-ec/orders-list-ec/orders-list-ec.component.js +192 -192
- package/esm2015/lib/ec-component/auth-ec/auth-ec.component.js +115 -115
- package/esm2015/lib/ec-component/auth-ec/confirm-account-ec/confirm-account-ec.component.js +44 -44
- package/esm2015/lib/ec-component/auth-ec/forgot-password-ec/forgot-password-ec.component.js +58 -58
- package/esm2015/lib/ec-component/auth-ec/login-form-ec/login-form-ec.component.js +108 -108
- package/esm2015/lib/ec-component/auth-ec/register-form-ec/register-form-ec.component.js +168 -168
- package/esm2015/lib/ec-component/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.js +165 -165
- package/esm2015/lib/ec-component/auth-ec/select-channel-ec/select-channel-ec.component.js +78 -78
- package/esm2015/lib/ec-component/blocks-ec/block-banner-boxes-ec/block-banner-boxes-ec.component.js +140 -140
- package/esm2015/lib/ec-component/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.js +110 -110
- package/esm2015/lib/ec-component/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.js +138 -138
- package/esm2015/lib/ec-component/blocks-ec/block-html-ec/block-html-ec.component.js +38 -38
- package/esm2015/lib/ec-component/blocks-ec/block-newsletter-ec/contact-form-news-ec.component.js +152 -152
- package/esm2015/lib/ec-component/blocks-ec/block-products-ec/block-products-ec.component.js +119 -119
- package/esm2015/lib/ec-component/blocks-ec/blocks-ec.component.js +70 -70
- package/esm2015/lib/ec-component/build-your-ec/build-your-ec.component.js +305 -305
- package/esm2015/lib/ec-component/build-your-ec/product-found-ec/product-found-ec.component.js +85 -85
- package/esm2015/lib/ec-component/cart-ec/cart-ec.component.js +404 -404
- package/esm2015/lib/ec-component/checkout-ec/checkout-ec.component.js +152 -152
- package/esm2015/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.js +424 -424
- package/esm2015/lib/ec-component/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.js +103 -103
- package/esm2015/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +146 -146
- package/esm2015/lib/ec-component/checkout-ec/shipment-ec/shipment-ec.component.js +112 -112
- package/esm2015/lib/ec-component/checkout-ec/step-ec/step-ec.component.js +53 -53
- package/esm2015/lib/ec-component/checkout-ec/success-ec/success-ec.component.js +66 -66
- package/esm2015/lib/ec-component/checkout-error-ec/checkout-error-ec.component.js +80 -80
- package/esm2015/lib/ec-component/collection-ec/collection-ec.component.js +220 -220
- package/esm2015/lib/ec-component/compared-products-ec/compared-products-ec.component.js +186 -186
- package/esm2015/lib/ec-component/cookies-ec/cookies-ec.component.js +109 -109
- package/esm2015/lib/ec-component/cookies-ec/modal-config-ec/modal-config-ec.component.js +32 -32
- package/esm2015/lib/ec-component/cookies-ec/modal-cookies-ec/modal-cookies-ec.component.js +34 -34
- package/esm2015/lib/ec-component/cookies-ec/sidebar-cookies-ec/sidebar-cookies-ec.component.js +34 -34
- package/esm2015/lib/ec-component/cookies-ec/toast-cookies-ec/toast-cookies-ec.component.js +35 -35
- package/esm2015/lib/ec-component/coupon-ec/coupon-ec.component.js +53 -53
- package/esm2015/lib/ec-component/faqs-content-ec/faqs-content-ec.component.js +49 -49
- package/esm2015/lib/ec-component/filters-ec/filters-ec.component.js +152 -152
- package/esm2015/lib/ec-component/filters-top-ec/filters-top-ec.component.js +102 -102
- package/esm2015/lib/ec-component/footer-ec/footer-ec.component.js +82 -82
- package/esm2015/lib/ec-component/header-ec/header-ec.component.js +199 -199
- package/esm2015/lib/ec-component/home-ec/home-ec.component.js +37 -37
- package/esm2015/lib/ec-component/index.js +244 -244
- package/esm2015/lib/ec-component/login-ec/login-ec.component.js +102 -102
- package/esm2015/lib/ec-component/multiple-items-to-cart-ec/multiple-items-to-cart-ec.component.js +90 -90
- package/esm2015/lib/ec-component/password-reset-ec/password-reset-ec.component.js +103 -103
- package/esm2015/lib/ec-component/product-detail-ec/product-detail-ec.component.js +172 -172
- package/esm2015/lib/ec-component/product-ec/product-ec.component.js +140 -140
- package/esm2015/lib/ec-component/related-products-ec/related-products-ec.component.js +94 -94
- package/esm2015/lib/ec-component/reviews-ec/reviews-ec.component.js +69 -69
- package/esm2015/lib/ec-component/reviews-form-ec/reviews-form-ec.component.js +138 -138
- package/esm2015/lib/ec-component/section-container-ec/section-container-ec.component.js +86 -86
- package/esm2015/lib/ec-component/seller-dashboard-container-ec/seller-dashboard-container-ec.component.js +130 -130
- package/esm2015/lib/ec-component/share-block-ec/share-block-ec.component.js +149 -149
- package/esm2015/lib/ec-component/sidebar-ec/sidebar-ec.component.js +133 -133
- package/esm2015/lib/ec-component/stores-ec/stores-ec.component.js +192 -192
- package/esm2015/lib/ec-component/variants-ec/variants-ec.component.js +56 -56
- package/esm2015/lib/ec-component/widgets-ec/bamboo-ec/bamboo-ec.component.js +205 -205
- package/esm2015/lib/ec-component/widgets-ec/bancard-catastro-ec/bancard-catastro-ec.component.js +296 -296
- package/esm2015/lib/ec-component/widgets-ec/bancard-ec/bancard-ec.component.js +154 -154
- package/esm2015/lib/ec-component/widgets-ec/bancard-redirect-ec/bancard-redirect-ec.component.js +144 -144
- package/esm2015/lib/ec-component/widgets-ec/cart-load-ec/cart-load-ec.component.js +49 -49
- package/esm2015/lib/ec-component/widgets-ec/ceca-redirect-ec/ceca-redirect-ec.component.js +133 -133
- package/esm2015/lib/ec-component/widgets-ec/culqi-ec/culqi-ec.component.js +152 -152
- package/esm2015/lib/ec-component/widgets-ec/decidir-ec/decidir-ec.component.js +175 -175
- package/esm2015/lib/ec-component/widgets-ec/loading-full-ec/loading-full-ec.component.js +30 -30
- package/esm2015/lib/ec-component/widgets-ec/loading-inline-ec/loading-inline-ec.component.js +26 -26
- package/esm2015/lib/ec-component/widgets-ec/loading-section-ec/loading-section-ec.component.js +21 -21
- package/esm2015/lib/ec-component/widgets-ec/mercadopago-ec/mp-redirect-ec/mp-redirect-ec.component.js +156 -156
- package/esm2015/lib/ec-component/widgets-ec/mercadopago-ec/mpcredit-ec/mpcredit-ec.component.js +368 -368
- package/esm2015/lib/ec-component/widgets-ec/mobbex-ec/mobbex-ec.component.js +151 -151
- package/esm2015/lib/ec-component/widgets-ec/paypal-express-ec/paypal-express-ec.component.js +178 -178
- package/esm2015/lib/ec-component/widgets-ec/place-to-pay-ec/place-to-pay-ec.component.js +126 -126
- package/esm2015/lib/ec-component/widgets-ec/price-ec/price-ec.component.js +101 -98
- package/esm2015/lib/ec-component/widgets-ec/rating-ec/rating-ec.component.js +83 -83
- package/esm2015/lib/ec-component/widgets-ec/re-captcha-ec/re-captcha-ec.component.js +50 -50
- package/esm2015/lib/ec-component/widgets-ec/redsys-catch-ec/redsys-catch-ec.component.js +90 -90
- package/esm2015/lib/ec-component/widgets-ec/redsys-pro-ec/redsys-pro-ec.component.js +143 -143
- package/esm2015/lib/ec-component/widgets-ec/redsys-redirect-ec/redsys-redirect-ec.component.js +128 -128
- package/esm2015/lib/ec-component/widgets-ec/redsys-redirect-out-ec/redsys-redirect-out-ec.component.js +145 -145
- package/esm2015/lib/ec-component/widgets-ec/zoom-ec/magnizoom.component.js +167 -167
- package/esm2015/lib/ec-directive/add-action-redirect.directive.js +85 -85
- package/esm2015/lib/ec-directive/auth-wholesaler.directive.js +54 -54
- package/esm2015/lib/ec-directive/index.js +36 -36
- package/esm2015/lib/ec-directive/product-mini-standard.directive.js +65 -65
- package/esm2015/lib/ec-directive/product-off.directive.js +144 -144
- package/esm2015/lib/ec-directive/product-stock.directive.js +75 -75
- package/esm2015/lib/ec-directive/reload-view.directive.js +34 -34
- package/esm2015/lib/ec-pipe/ec-currency-symbol.pipe.js +72 -72
- package/esm2015/lib/ec-pipe/ec-sanitizer-html.pipe.js +26 -26
- package/esm2015/lib/ec-pipe/ec-sanitizer-url.pipe.js +26 -26
- package/esm2015/lib/ec-pipe/index.js +13 -13
- package/esm2015/lib/guards/able-buyer-guard.service.js +36 -36
- package/esm2015/lib/guards/auth-guard.service.js +36 -36
- package/esm2015/lib/guards/checkout-ready.service.js +36 -36
- package/esm2015/lib/guards/loggedin-guard.service.js +36 -36
- package/esm2015/lib/guards/user-role-guard.service.js +38 -38
- package/esm2015/lib/interceptors/auth.interceptor.js +55 -55
- package/esm2015/lib/interceptors/customer.interceptor.js +48 -48
- package/esm2015/lib/interfaces/Script.js +1 -1
- package/esm2015/lib/interfaces/analytics/event-key.model.js +1 -1
- package/esm2015/lib/interfaces/analytics/facebook-pixel/facebook-pixel-model.js +1 -1
- package/esm2015/lib/interfaces/analytics/gtm-config.js +1 -1
- package/esm2015/lib/interfaces/analytics/metricool-pixel.js +1 -1
- package/esm2015/lib/interfaces/block.js +1 -1
- package/esm2015/lib/interfaces/cart/cart-affordable.js +1 -1
- package/esm2015/lib/interfaces/checkout/checkout-error.js +1 -1
- package/esm2015/lib/interfaces/checkout-data.js +1 -1
- package/esm2015/lib/interfaces/choose-options/filter-option.js +6 -6
- package/esm2015/lib/interfaces/choose-options/options-of-product-list.js +1 -1
- package/esm2015/lib/interfaces/cookies.js +1 -1
- package/esm2015/lib/interfaces/core.interfaces.js +1 -1
- package/esm2015/lib/interfaces/coupon.js +1 -1
- package/esm2015/lib/interfaces/deserializable.js +1 -1
- package/esm2015/lib/interfaces/faqs.js +1 -1
- package/esm2015/lib/interfaces/filter.js +1 -1
- package/esm2015/lib/interfaces/filterStep.js +1 -1
- package/esm2015/lib/interfaces/observable-error.interface.js +1 -1
- package/esm2015/lib/interfaces/paginate.js +1 -1
- package/esm2015/lib/interfaces/parameters.js +1 -1
- package/esm2015/lib/interfaces/selection.js +4 -4
- package/esm2015/lib/interfaces/step.js +1 -1
- package/esm2015/lib/interfaces/store.js +1 -1
- package/esm2015/lib/ng-easycommerce.module.js +181 -181
- package/esm2015/lib/pipes/order-by.pipe.js +101 -101
- package/esm2015/lib/services/account/orders.service.js +102 -102
- package/esm2015/lib/services/analytics.service.js +57 -57
- package/esm2015/lib/services/auth.service.js +352 -352
- package/esm2015/lib/services/banner.service.js +72 -72
- package/esm2015/lib/services/blocks/blocks-repository.service.js +62 -62
- package/esm2015/lib/services/blocks/blocks.service.js +71 -71
- package/esm2015/lib/services/captcha.service.js +130 -130
- package/esm2015/lib/services/cart.service.js +573 -573
- package/esm2015/lib/services/channel-config.service.js +105 -105
- package/esm2015/lib/services/checkout/addressing.service.js +222 -222
- package/esm2015/lib/services/checkout/checkout.service.js +233 -233
- package/esm2015/lib/services/checkout/error-handler.service.js +81 -81
- package/esm2015/lib/services/checkout/payment.service.js +79 -79
- package/esm2015/lib/services/checkout/shipment.service.js +183 -183
- package/esm2015/lib/services/concatenated-associations.service.js +120 -120
- package/esm2015/lib/services/cookies.service.js +208 -208
- package/esm2015/lib/services/currency.service.js +161 -161
- package/esm2015/lib/services/dataform.service.js +46 -46
- package/esm2015/lib/services/filters.service.js +122 -122
- package/esm2015/lib/services/gift-card.service.js +61 -61
- package/esm2015/lib/services/ip-address.service.js +34 -34
- package/esm2015/lib/services/options.service.js +275 -275
- package/esm2015/lib/services/pagination.service.js +73 -73
- package/esm2015/lib/services/parameters.service.js +72 -72
- package/esm2015/lib/services/products/product-detail.service.js +433 -432
- package/esm2015/lib/services/products/products.service.js +287 -287
- package/esm2015/lib/services/reviews.service.js +107 -107
- package/esm2015/lib/services/stores.service.js +37 -37
- package/esm2015/lib/services/windows.service.js +52 -52
- package/esm2015/lib/services/wishlist.service.js +70 -70
- package/esm2015/lib/strategies/standard.strategy.js +43 -43
- package/esm2015/lib/utils/analytics/doppler.service.js +37 -37
- package/esm2015/lib/utils/analytics/facebook-pixel.service.js +141 -141
- package/esm2015/lib/utils/analytics/google-analytics.service.js +265 -265
- package/esm2015/lib/utils/analytics/gtm.service.js +341 -341
- package/esm2015/lib/utils/analytics/metricool-pixel.service.js +48 -48
- package/esm2015/lib/utils/options-of-product-list-data.service.js +96 -96
- package/esm2015/lib/utils/order-util.service.js +72 -72
- package/esm2015/lib/utils/payment-utils.service.js +35 -35
- package/esm2015/lib/utils/shipment-transformer.service.js +66 -66
- package/esm2015/lib/utils/toast.service.js +42 -42
- package/esm2015/lib/utils/utils.service.js +20 -20
- package/esm2015/ng-easycommerce.js +34 -34
- package/esm2015/public-api.js +146 -146
- package/esm5/lib/api/connection.service.js +90 -90
- package/esm5/lib/classes/checkout/step-service.js +74 -74
- package/esm5/lib/classes/checkout/step.js +25 -25
- package/esm5/lib/classes/checkout-process-state.js +2 -2
- package/esm5/lib/classes/component-helper.js +22 -22
- package/esm5/lib/classes/filters/AttributesFilter.js +79 -79
- package/esm5/lib/classes/filters/CategoryFilter.js +72 -72
- package/esm5/lib/classes/filters/DinamycsFilter.js +76 -76
- package/esm5/lib/classes/filters/Filter.js +78 -78
- package/esm5/lib/classes/filters/PriceRangeFilter.js +68 -68
- package/esm5/lib/classes/filters/SortFilter.js +97 -97
- package/esm5/lib/classes/user-role-type.js +1 -1
- package/esm5/lib/classes/user.js +120 -120
- package/esm5/lib/core.consts.js +434 -434
- package/esm5/lib/ec-component/account-ec/account-ec.component.js +62 -62
- package/esm5/lib/ec-component/account-ec/order-ec/order-ec.component.js +169 -169
- package/esm5/lib/ec-component/account-ec/orders-list-ec/orders-list-ec.component.js +209 -209
- package/esm5/lib/ec-component/auth-ec/auth-ec.component.js +132 -132
- package/esm5/lib/ec-component/auth-ec/confirm-account-ec/confirm-account-ec.component.js +60 -60
- package/esm5/lib/ec-component/auth-ec/forgot-password-ec/forgot-password-ec.component.js +74 -74
- package/esm5/lib/ec-component/auth-ec/login-form-ec/login-form-ec.component.js +125 -125
- package/esm5/lib/ec-component/auth-ec/register-form-ec/register-form-ec.component.js +185 -185
- package/esm5/lib/ec-component/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.js +182 -182
- package/esm5/lib/ec-component/auth-ec/select-channel-ec/select-channel-ec.component.js +106 -106
- package/esm5/lib/ec-component/blocks-ec/block-banner-boxes-ec/block-banner-boxes-ec.component.js +170 -170
- package/esm5/lib/ec-component/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.js +138 -138
- package/esm5/lib/ec-component/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.js +165 -165
- package/esm5/lib/ec-component/blocks-ec/block-html-ec/block-html-ec.component.js +54 -54
- package/esm5/lib/ec-component/blocks-ec/block-newsletter-ec/contact-form-news-ec.component.js +180 -180
- package/esm5/lib/ec-component/blocks-ec/block-products-ec/block-products-ec.component.js +146 -146
- package/esm5/lib/ec-component/blocks-ec/blocks-ec.component.js +90 -90
- package/esm5/lib/ec-component/build-your-ec/build-your-ec.component.js +327 -327
- package/esm5/lib/ec-component/build-your-ec/product-found-ec/product-found-ec.component.js +112 -112
- package/esm5/lib/ec-component/cart-ec/cart-ec.component.js +488 -488
- package/esm5/lib/ec-component/checkout-ec/checkout-ec.component.js +169 -169
- package/esm5/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.js +509 -509
- package/esm5/lib/ec-component/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.js +120 -120
- package/esm5/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.js +236 -236
- package/esm5/lib/ec-component/checkout-ec/shipment-ec/shipment-ec.component.js +162 -162
- package/esm5/lib/ec-component/checkout-ec/step-ec/step-ec.component.js +69 -69
- package/esm5/lib/ec-component/checkout-ec/success-ec/success-ec.component.js +83 -83
- package/esm5/lib/ec-component/checkout-error-ec/checkout-error-ec.component.js +97 -97
- package/esm5/lib/ec-component/collection-ec/collection-ec.component.js +261 -261
- package/esm5/lib/ec-component/compared-products-ec/compared-products-ec.component.js +209 -209
- package/esm5/lib/ec-component/cookies-ec/cookies-ec.component.js +126 -126
- package/esm5/lib/ec-component/cookies-ec/modal-config-ec/modal-config-ec.component.js +34 -34
- package/esm5/lib/ec-component/cookies-ec/modal-cookies-ec/modal-cookies-ec.component.js +36 -36
- package/esm5/lib/ec-component/cookies-ec/sidebar-cookies-ec/sidebar-cookies-ec.component.js +36 -36
- package/esm5/lib/ec-component/cookies-ec/toast-cookies-ec/toast-cookies-ec.component.js +37 -37
- package/esm5/lib/ec-component/coupon-ec/coupon-ec.component.js +71 -71
- package/esm5/lib/ec-component/faqs-content-ec/faqs-content-ec.component.js +66 -66
- package/esm5/lib/ec-component/filters-ec/filters-ec.component.js +168 -168
- package/esm5/lib/ec-component/filters-top-ec/filters-top-ec.component.js +118 -118
- package/esm5/lib/ec-component/footer-ec/footer-ec.component.js +113 -113
- package/esm5/lib/ec-component/header-ec/header-ec.component.js +260 -260
- package/esm5/lib/ec-component/home-ec/home-ec.component.js +53 -53
- package/esm5/lib/ec-component/index.js +244 -244
- package/esm5/lib/ec-component/login-ec/login-ec.component.js +118 -118
- package/esm5/lib/ec-component/multiple-items-to-cart-ec/multiple-items-to-cart-ec.component.js +106 -106
- package/esm5/lib/ec-component/password-reset-ec/password-reset-ec.component.js +119 -119
- package/esm5/lib/ec-component/product-detail-ec/product-detail-ec.component.js +199 -199
- package/esm5/lib/ec-component/product-ec/product-ec.component.js +158 -158
- package/esm5/lib/ec-component/related-products-ec/related-products-ec.component.js +111 -111
- package/esm5/lib/ec-component/reviews-ec/reviews-ec.component.js +85 -85
- package/esm5/lib/ec-component/reviews-form-ec/reviews-form-ec.component.js +155 -155
- package/esm5/lib/ec-component/section-container-ec/section-container-ec.component.js +103 -103
- package/esm5/lib/ec-component/seller-dashboard-container-ec/seller-dashboard-container-ec.component.js +149 -149
- package/esm5/lib/ec-component/share-block-ec/share-block-ec.component.js +166 -166
- package/esm5/lib/ec-component/sidebar-ec/sidebar-ec.component.js +136 -136
- package/esm5/lib/ec-component/stores-ec/stores-ec.component.js +214 -214
- package/esm5/lib/ec-component/variants-ec/variants-ec.component.js +72 -72
- package/esm5/lib/ec-component/widgets-ec/bamboo-ec/bamboo-ec.component.js +221 -221
- package/esm5/lib/ec-component/widgets-ec/bancard-catastro-ec/bancard-catastro-ec.component.js +313 -313
- package/esm5/lib/ec-component/widgets-ec/bancard-ec/bancard-ec.component.js +170 -170
- package/esm5/lib/ec-component/widgets-ec/bancard-redirect-ec/bancard-redirect-ec.component.js +160 -160
- package/esm5/lib/ec-component/widgets-ec/cart-load-ec/cart-load-ec.component.js +83 -83
- package/esm5/lib/ec-component/widgets-ec/ceca-redirect-ec/ceca-redirect-ec.component.js +149 -149
- package/esm5/lib/ec-component/widgets-ec/culqi-ec/culqi-ec.component.js +156 -156
- package/esm5/lib/ec-component/widgets-ec/decidir-ec/decidir-ec.component.js +192 -192
- package/esm5/lib/ec-component/widgets-ec/loading-full-ec/loading-full-ec.component.js +46 -46
- package/esm5/lib/ec-component/widgets-ec/loading-inline-ec/loading-inline-ec.component.js +42 -42
- package/esm5/lib/ec-component/widgets-ec/loading-section-ec/loading-section-ec.component.js +23 -23
- package/esm5/lib/ec-component/widgets-ec/mercadopago-ec/mp-redirect-ec/mp-redirect-ec.component.js +174 -174
- package/esm5/lib/ec-component/widgets-ec/mercadopago-ec/mpcredit-ec/mpcredit-ec.component.js +396 -396
- package/esm5/lib/ec-component/widgets-ec/mobbex-ec/mobbex-ec.component.js +167 -167
- package/esm5/lib/ec-component/widgets-ec/paypal-express-ec/paypal-express-ec.component.js +231 -231
- package/esm5/lib/ec-component/widgets-ec/place-to-pay-ec/place-to-pay-ec.component.js +144 -144
- package/esm5/lib/ec-component/widgets-ec/price-ec/price-ec.component.js +122 -119
- package/esm5/lib/ec-component/widgets-ec/rating-ec/rating-ec.component.js +100 -100
- package/esm5/lib/ec-component/widgets-ec/re-captcha-ec/re-captcha-ec.component.js +53 -53
- package/esm5/lib/ec-component/widgets-ec/redsys-catch-ec/redsys-catch-ec.component.js +124 -124
- package/esm5/lib/ec-component/widgets-ec/redsys-pro-ec/redsys-pro-ec.component.js +159 -159
- package/esm5/lib/ec-component/widgets-ec/redsys-redirect-ec/redsys-redirect-ec.component.js +144 -144
- package/esm5/lib/ec-component/widgets-ec/redsys-redirect-out-ec/redsys-redirect-out-ec.component.js +162 -162
- package/esm5/lib/ec-component/widgets-ec/zoom-ec/magnizoom.component.js +181 -181
- package/esm5/lib/ec-directive/add-action-redirect.directive.js +104 -104
- package/esm5/lib/ec-directive/auth-wholesaler.directive.js +60 -60
- package/esm5/lib/ec-directive/index.js +36 -36
- package/esm5/lib/ec-directive/product-mini-standard.directive.js +72 -72
- package/esm5/lib/ec-directive/product-off.directive.js +163 -163
- package/esm5/lib/ec-directive/product-stock.directive.js +81 -81
- package/esm5/lib/ec-directive/reload-view.directive.js +35 -35
- package/esm5/lib/ec-pipe/ec-currency-symbol.pipe.js +74 -74
- package/esm5/lib/ec-pipe/ec-sanitizer-html.pipe.js +27 -27
- package/esm5/lib/ec-pipe/ec-sanitizer-url.pipe.js +27 -27
- package/esm5/lib/ec-pipe/index.js +13 -13
- package/esm5/lib/guards/able-buyer-guard.service.js +37 -37
- package/esm5/lib/guards/auth-guard.service.js +37 -37
- package/esm5/lib/guards/checkout-ready.service.js +37 -37
- package/esm5/lib/guards/loggedin-guard.service.js +37 -37
- package/esm5/lib/guards/user-role-guard.service.js +39 -39
- package/esm5/lib/interceptors/auth.interceptor.js +57 -57
- package/esm5/lib/interceptors/customer.interceptor.js +50 -50
- package/esm5/lib/interfaces/Script.js +1 -1
- package/esm5/lib/interfaces/analytics/event-key.model.js +1 -1
- package/esm5/lib/interfaces/analytics/facebook-pixel/facebook-pixel-model.js +1 -1
- package/esm5/lib/interfaces/analytics/gtm-config.js +1 -1
- package/esm5/lib/interfaces/analytics/metricool-pixel.js +1 -1
- package/esm5/lib/interfaces/block.js +1 -1
- package/esm5/lib/interfaces/cart/cart-affordable.js +1 -1
- package/esm5/lib/interfaces/checkout/checkout-error.js +1 -1
- package/esm5/lib/interfaces/checkout-data.js +1 -1
- package/esm5/lib/interfaces/choose-options/filter-option.js +6 -6
- package/esm5/lib/interfaces/choose-options/options-of-product-list.js +1 -1
- package/esm5/lib/interfaces/cookies.js +1 -1
- package/esm5/lib/interfaces/core.interfaces.js +1 -1
- package/esm5/lib/interfaces/coupon.js +1 -1
- package/esm5/lib/interfaces/deserializable.js +1 -1
- package/esm5/lib/interfaces/faqs.js +1 -1
- package/esm5/lib/interfaces/filter.js +1 -1
- package/esm5/lib/interfaces/filterStep.js +1 -1
- package/esm5/lib/interfaces/observable-error.interface.js +1 -1
- package/esm5/lib/interfaces/paginate.js +1 -1
- package/esm5/lib/interfaces/parameters.js +1 -1
- package/esm5/lib/interfaces/selection.js +4 -4
- package/esm5/lib/interfaces/step.js +1 -1
- package/esm5/lib/interfaces/store.js +1 -1
- package/esm5/lib/ng-easycommerce.module.js +185 -185
- package/esm5/lib/pipes/order-by.pipe.js +106 -106
- package/esm5/lib/services/account/orders.service.js +120 -120
- package/esm5/lib/services/analytics.service.js +60 -60
- package/esm5/lib/services/auth.service.js +426 -426
- package/esm5/lib/services/banner.service.js +81 -81
- package/esm5/lib/services/blocks/blocks-repository.service.js +94 -94
- package/esm5/lib/services/blocks/blocks.service.js +79 -79
- package/esm5/lib/services/captcha.service.js +132 -132
- package/esm5/lib/services/cart.service.js +704 -704
- package/esm5/lib/services/channel-config.service.js +107 -107
- package/esm5/lib/services/checkout/addressing.service.js +280 -280
- package/esm5/lib/services/checkout/checkout.service.js +316 -316
- package/esm5/lib/services/checkout/error-handler.service.js +83 -83
- package/esm5/lib/services/checkout/payment.service.js +129 -129
- package/esm5/lib/services/checkout/shipment.service.js +265 -265
- package/esm5/lib/services/concatenated-associations.service.js +162 -162
- package/esm5/lib/services/cookies.service.js +222 -222
- package/esm5/lib/services/currency.service.js +205 -205
- package/esm5/lib/services/dataform.service.js +48 -48
- package/esm5/lib/services/filters.service.js +125 -125
- package/esm5/lib/services/gift-card.service.js +63 -63
- package/esm5/lib/services/ip-address.service.js +35 -35
- package/esm5/lib/services/options.service.js +376 -376
- package/esm5/lib/services/pagination.service.js +79 -79
- package/esm5/lib/services/parameters.service.js +74 -74
- package/esm5/lib/services/products/product-detail.service.js +498 -497
- package/esm5/lib/services/products/products.service.js +345 -345
- package/esm5/lib/services/reviews.service.js +116 -116
- package/esm5/lib/services/stores.service.js +39 -39
- package/esm5/lib/services/windows.service.js +79 -79
- package/esm5/lib/services/wishlist.service.js +71 -71
- package/esm5/lib/strategies/standard.strategy.js +44 -44
- package/esm5/lib/utils/analytics/doppler.service.js +39 -39
- package/esm5/lib/utils/analytics/facebook-pixel.service.js +145 -145
- package/esm5/lib/utils/analytics/google-analytics.service.js +280 -280
- package/esm5/lib/utils/analytics/gtm.service.js +358 -358
- package/esm5/lib/utils/analytics/metricool-pixel.service.js +40 -40
- package/esm5/lib/utils/options-of-product-list-data.service.js +98 -98
- package/esm5/lib/utils/order-util.service.js +75 -75
- package/esm5/lib/utils/payment-utils.service.js +37 -37
- package/esm5/lib/utils/shipment-transformer.service.js +78 -78
- package/esm5/lib/utils/toast.service.js +61 -61
- package/esm5/lib/utils/utils.service.js +22 -22
- package/esm5/ng-easycommerce.js +34 -34
- package/esm5/public-api.js +146 -146
- package/fesm2015/ng-easycommerce.js +16661 -16657
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +19689 -19685
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/api/connection.service.d.ts +28 -28
- package/lib/classes/checkout/step-service.d.ts +28 -28
- package/lib/classes/checkout/step.d.ts +14 -14
- package/lib/classes/checkout-process-state.d.ts +12 -12
- package/lib/classes/component-helper.d.ts +8 -8
- package/lib/classes/filters/AttributesFilter.d.ts +18 -18
- package/lib/classes/filters/CategoryFilter.d.ts +17 -17
- package/lib/classes/filters/DinamycsFilter.d.ts +15 -15
- package/lib/classes/filters/Filter.d.ts +19 -19
- package/lib/classes/filters/PriceRangeFilter.d.ts +18 -18
- package/lib/classes/filters/SortFilter.d.ts +15 -15
- package/lib/classes/user-role-type.d.ts +5 -5
- package/lib/classes/user.d.ts +68 -68
- package/lib/core.consts.d.ts +216 -216
- package/lib/ec-component/account-ec/account-ec.component.d.ts +13 -13
- package/lib/ec-component/account-ec/order-ec/order-ec.component.d.ts +33 -33
- package/lib/ec-component/account-ec/orders-list-ec/orders-list-ec.component.d.ts +84 -84
- package/lib/ec-component/auth-ec/auth-ec.component.d.ts +35 -35
- package/lib/ec-component/auth-ec/confirm-account-ec/confirm-account-ec.component.d.ts +13 -13
- package/lib/ec-component/auth-ec/forgot-password-ec/forgot-password-ec.component.d.ts +16 -16
- package/lib/ec-component/auth-ec/login-form-ec/login-form-ec.component.d.ts +26 -26
- package/lib/ec-component/auth-ec/register-form-ec/register-form-ec.component.d.ts +34 -34
- package/lib/ec-component/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.d.ts +42 -42
- package/lib/ec-component/auth-ec/select-channel-ec/select-channel-ec.component.d.ts +23 -23
- package/lib/ec-component/blocks-ec/block-banner-boxes-ec/block-banner-boxes-ec.component.d.ts +34 -34
- package/lib/ec-component/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.d.ts +27 -27
- package/lib/ec-component/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.d.ts +34 -34
- package/lib/ec-component/blocks-ec/block-html-ec/block-html-ec.component.d.ts +10 -10
- package/lib/ec-component/blocks-ec/block-newsletter-ec/contact-form-news-ec.component.d.ts +40 -40
- package/lib/ec-component/blocks-ec/block-products-ec/block-products-ec.component.d.ts +25 -25
- package/lib/ec-component/blocks-ec/blocks-ec.component.d.ts +24 -24
- package/lib/ec-component/build-your-ec/build-your-ec.component.d.ts +122 -122
- package/lib/ec-component/build-your-ec/product-found-ec/product-found-ec.component.d.ts +41 -41
- package/lib/ec-component/cart-ec/cart-ec.component.d.ts +59 -59
- package/lib/ec-component/checkout-ec/checkout-ec.component.d.ts +43 -43
- package/lib/ec-component/checkout-ec/dataform-ec/dataform-ec.component.d.ts +100 -100
- package/lib/ec-component/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.d.ts +27 -27
- package/lib/ec-component/checkout-ec/payment-ec/payment-ec.component.d.ts +57 -57
- package/lib/ec-component/checkout-ec/shipment-ec/shipment-ec.component.d.ts +34 -34
- package/lib/ec-component/checkout-ec/step-ec/step-ec.component.d.ts +18 -18
- package/lib/ec-component/checkout-ec/success-ec/success-ec.component.d.ts +33 -33
- package/lib/ec-component/checkout-error-ec/checkout-error-ec.component.d.ts +25 -25
- package/lib/ec-component/collection-ec/collection-ec.component.d.ts +67 -67
- package/lib/ec-component/compared-products-ec/compared-products-ec.component.d.ts +70 -70
- package/lib/ec-component/cookies-ec/cookies-ec.component.d.ts +44 -44
- package/lib/ec-component/cookies-ec/modal-config-ec/modal-config-ec.component.d.ts +10 -10
- package/lib/ec-component/cookies-ec/modal-cookies-ec/modal-cookies-ec.component.d.ts +8 -8
- package/lib/ec-component/cookies-ec/sidebar-cookies-ec/sidebar-cookies-ec.component.d.ts +9 -9
- package/lib/ec-component/cookies-ec/toast-cookies-ec/toast-cookies-ec.component.d.ts +9 -9
- package/lib/ec-component/coupon-ec/coupon-ec.component.d.ts +17 -17
- package/lib/ec-component/faqs-content-ec/faqs-content-ec.component.d.ts +15 -15
- package/lib/ec-component/filters-ec/filters-ec.component.d.ts +33 -33
- package/lib/ec-component/filters-top-ec/filters-top-ec.component.d.ts +23 -23
- package/lib/ec-component/footer-ec/footer-ec.component.d.ts +30 -30
- package/lib/ec-component/header-ec/header-ec.component.d.ts +66 -66
- package/lib/ec-component/home-ec/home-ec.component.d.ts +13 -13
- package/lib/ec-component/index.d.ts +81 -81
- package/lib/ec-component/login-ec/login-ec.component.d.ts +26 -26
- package/lib/ec-component/multiple-items-to-cart-ec/multiple-items-to-cart-ec.component.d.ts +28 -28
- package/lib/ec-component/password-reset-ec/password-reset-ec.component.d.ts +27 -27
- package/lib/ec-component/product-detail-ec/product-detail-ec.component.d.ts +60 -60
- package/lib/ec-component/product-ec/product-ec.component.d.ts +52 -52
- package/lib/ec-component/related-products-ec/related-products-ec.component.d.ts +22 -22
- package/lib/ec-component/reviews-ec/reviews-ec.component.d.ts +29 -29
- package/lib/ec-component/reviews-form-ec/reviews-form-ec.component.d.ts +61 -61
- package/lib/ec-component/section-container-ec/section-container-ec.component.d.ts +22 -22
- package/lib/ec-component/seller-dashboard-container-ec/seller-dashboard-container-ec.component.d.ts +37 -37
- package/lib/ec-component/share-block-ec/share-block-ec.component.d.ts +26 -26
- package/lib/ec-component/sidebar-ec/sidebar-ec.component.d.ts +29 -29
- package/lib/ec-component/stores-ec/stores-ec.component.d.ts +54 -54
- package/lib/ec-component/variants-ec/variants-ec.component.d.ts +14 -14
- package/lib/ec-component/widgets-ec/bamboo-ec/bamboo-ec.component.d.ts +60 -60
- package/lib/ec-component/widgets-ec/bancard-catastro-ec/bancard-catastro-ec.component.d.ts +105 -105
- package/lib/ec-component/widgets-ec/bancard-ec/bancard-ec.component.d.ts +46 -46
- package/lib/ec-component/widgets-ec/bancard-redirect-ec/bancard-redirect-ec.component.d.ts +44 -44
- package/lib/ec-component/widgets-ec/cart-load-ec/cart-load-ec.component.d.ts +14 -14
- package/lib/ec-component/widgets-ec/ceca-redirect-ec/ceca-redirect-ec.component.d.ts +38 -38
- package/lib/ec-component/widgets-ec/culqi-ec/culqi-ec.component.d.ts +38 -38
- package/lib/ec-component/widgets-ec/decidir-ec/decidir-ec.component.d.ts +53 -53
- package/lib/ec-component/widgets-ec/loading-full-ec/loading-full-ec.component.d.ts +6 -6
- package/lib/ec-component/widgets-ec/loading-inline-ec/loading-inline-ec.component.d.ts +5 -5
- package/lib/ec-component/widgets-ec/loading-section-ec/loading-section-ec.component.d.ts +5 -5
- package/lib/ec-component/widgets-ec/mercadopago-ec/mp-redirect-ec/mp-redirect-ec.component.d.ts +43 -43
- package/lib/ec-component/widgets-ec/mercadopago-ec/mpcredit-ec/mpcredit-ec.component.d.ts +64 -64
- package/lib/ec-component/widgets-ec/mobbex-ec/mobbex-ec.component.d.ts +46 -46
- package/lib/ec-component/widgets-ec/paypal-express-ec/paypal-express-ec.component.d.ts +41 -41
- package/lib/ec-component/widgets-ec/place-to-pay-ec/place-to-pay-ec.component.d.ts +34 -34
- package/lib/ec-component/widgets-ec/price-ec/price-ec.component.d.ts +32 -31
- package/lib/ec-component/widgets-ec/rating-ec/rating-ec.component.d.ts +28 -28
- package/lib/ec-component/widgets-ec/re-captcha-ec/re-captcha-ec.component.d.ts +24 -24
- package/lib/ec-component/widgets-ec/redsys-catch-ec/redsys-catch-ec.component.d.ts +14 -14
- package/lib/ec-component/widgets-ec/redsys-pro-ec/redsys-pro-ec.component.d.ts +44 -44
- package/lib/ec-component/widgets-ec/redsys-redirect-ec/redsys-redirect-ec.component.d.ts +38 -38
- package/lib/ec-component/widgets-ec/redsys-redirect-out-ec/redsys-redirect-out-ec.component.d.ts +42 -42
- package/lib/ec-component/widgets-ec/zoom-ec/magnizoom.component.d.ts +66 -66
- package/lib/ec-directive/add-action-redirect.directive.d.ts +26 -26
- package/lib/ec-directive/auth-wholesaler.directive.d.ts +17 -17
- package/lib/ec-directive/index.d.ts +6 -6
- package/lib/ec-directive/product-mini-standard.directive.d.ts +19 -19
- package/lib/ec-directive/product-off.directive.d.ts +22 -22
- package/lib/ec-directive/product-stock.directive.d.ts +15 -15
- package/lib/ec-directive/reload-view.directive.d.ts +8 -8
- package/lib/ec-pipe/ec-currency-symbol.pipe.d.ts +19 -19
- package/lib/ec-pipe/ec-sanitizer-html.pipe.d.ts +7 -7
- package/lib/ec-pipe/ec-sanitizer-url.pipe.d.ts +7 -7
- package/lib/ec-pipe/index.d.ts +4 -4
- package/lib/guards/able-buyer-guard.service.d.ts +8 -8
- package/lib/guards/auth-guard.service.d.ts +8 -8
- package/lib/guards/checkout-ready.service.d.ts +8 -8
- package/lib/guards/loggedin-guard.service.d.ts +8 -8
- package/lib/guards/user-role-guard.service.d.ts +8 -8
- package/lib/interceptors/auth.interceptor.d.ts +9 -9
- package/lib/interceptors/customer.interceptor.d.ts +9 -9
- package/lib/interfaces/Script.d.ts +5 -5
- package/lib/interfaces/analytics/event-key.model.d.ts +1 -1
- package/lib/interfaces/analytics/facebook-pixel/facebook-pixel-model.d.ts +5 -5
- package/lib/interfaces/analytics/gtm-config.d.ts +6 -6
- package/lib/interfaces/analytics/metricool-pixel.d.ts +3 -3
- package/lib/interfaces/block.d.ts +33 -33
- package/lib/interfaces/cart/cart-affordable.d.ts +8 -8
- package/lib/interfaces/cart-item.d.ts +8 -8
- package/lib/interfaces/checkout/checkout-error.d.ts +7 -7
- package/lib/interfaces/checkout-data.d.ts +6 -6
- package/lib/interfaces/choose-options/filter-option.d.ts +16 -16
- package/lib/interfaces/choose-options/options-of-product-list.d.ts +5 -5
- package/lib/interfaces/cookies.d.ts +49 -49
- package/lib/interfaces/core.interfaces.d.ts +4 -4
- package/lib/interfaces/coupon.d.ts +5 -5
- package/lib/interfaces/currencyConfig.d.ts +10 -10
- package/lib/interfaces/deserializable.d.ts +3 -3
- package/lib/interfaces/faqs.d.ts +12 -12
- package/lib/interfaces/filter.d.ts +51 -51
- package/lib/interfaces/filterStep.d.ts +29 -29
- package/lib/interfaces/navbar-items.d.ts +9 -9
- package/lib/interfaces/observable-error.interface.d.ts +5 -5
- package/lib/interfaces/paginate.d.ts +1 -1
- package/lib/interfaces/parameters.d.ts +10 -10
- package/lib/interfaces/paramsInterfaces/paramsProductsWithUniqueVariant.d.ts +6 -6
- package/lib/interfaces/product.d.ts +46 -46
- package/lib/interfaces/selection.d.ts +10 -10
- package/lib/interfaces/step.d.ts +8 -8
- package/lib/interfaces/store.d.ts +17 -17
- package/lib/ng-easycommerce.module.d.ts +5 -5
- package/lib/pipes/order-by.pipe.d.ts +5 -5
- package/lib/services/account/orders.service.d.ts +29 -29
- package/lib/services/analytics.service.d.ts +21 -21
- package/lib/services/auth.service.d.ts +116 -116
- package/lib/services/banner.service.d.ts +26 -26
- package/lib/services/blocks/blocks-repository.service.d.ts +19 -19
- package/lib/services/blocks/blocks.service.d.ts +25 -25
- package/lib/services/captcha.service.d.ts +76 -76
- package/lib/services/cart.service.d.ts +140 -140
- package/lib/services/channel-config.service.d.ts +35 -35
- package/lib/services/checkout/addressing.service.d.ts +239 -239
- package/lib/services/checkout/checkout.service.d.ts +71 -71
- package/lib/services/checkout/error-handler.service.d.ts +19 -19
- package/lib/services/checkout/payment.service.d.ts +34 -34
- package/lib/services/checkout/shipment.service.d.ts +58 -58
- package/lib/services/concatenated-associations.service.d.ts +57 -57
- package/lib/services/cookies.service.d.ts +66 -66
- package/lib/services/currency.service.d.ts +65 -65
- package/lib/services/dataform.service.d.ts +13 -13
- package/lib/services/filters.service.d.ts +48 -48
- package/lib/services/gift-card.service.d.ts +19 -19
- package/lib/services/ip-address.service.d.ts +10 -10
- package/lib/services/options.service.d.ts +61 -61
- package/lib/services/pagination.service.d.ts +30 -30
- package/lib/services/parameters.service.d.ts +18 -18
- package/lib/services/products/product-detail.service.d.ts +115 -115
- package/lib/services/products/products.service.d.ts +101 -101
- package/lib/services/reviews.service.d.ts +71 -71
- package/lib/services/stores.service.d.ts +11 -11
- package/lib/services/windows.service.d.ts +13 -13
- package/lib/services/wishlist.service.d.ts +13 -13
- package/lib/strategies/standard.strategy.d.ts +12 -12
- package/lib/utils/analytics/doppler.service.d.ts +9 -9
- package/lib/utils/analytics/facebook-pixel.service.d.ts +23 -23
- package/lib/utils/analytics/google-analytics.service.d.ts +30 -30
- package/lib/utils/analytics/gtm.service.d.ts +34 -34
- package/lib/utils/analytics/metricool-pixel.service.d.ts +9 -9
- package/lib/utils/options-of-product-list-data.service.d.ts +5 -5
- package/lib/utils/order-util.service.d.ts +12 -12
- package/lib/utils/payment-utils.service.d.ts +5 -5
- package/lib/utils/shipment-transformer.service.d.ts +8 -8
- package/lib/utils/toast.service.d.ts +15 -15
- package/lib/utils/utils.service.d.ts +4 -4
- package/ng-easycommerce.d.ts +34 -34
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +144 -144
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { Directive, ElementRef, Input, OnInit, TemplateRef, ViewContainerRef, Renderer2, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
8
|
-
var ProductStockDirective = /** @class */ (function () {
|
|
9
|
-
function ProductStockDirective(templateRef, viewContainer) {
|
|
10
|
-
var _this = this;
|
|
11
|
-
this.templateRef = templateRef;
|
|
12
|
-
this.viewContainer = viewContainer;
|
|
13
|
-
this.productDirective = null;
|
|
14
|
-
this.validateStock = function () {
|
|
15
|
-
if (_this.productDirective.special_mark == undefined || _this.productDirective.variants == undefined) {
|
|
16
|
-
setTimeout(function () {
|
|
17
|
-
return _this.validateStock();
|
|
18
|
-
}, 1000);
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
return _this.checkValuesForStock();
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
this.checkValuesForStock = function () {
|
|
25
|
-
var existMark = false;
|
|
26
|
-
_this.productDirective.special_mark.forEach(function (special_mark) {
|
|
27
|
-
switch (special_mark.type) {
|
|
28
|
-
case 'out_of_stock':
|
|
29
|
-
existMark = true;
|
|
30
|
-
break;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
if (!existMark) {
|
|
34
|
-
existMark = _this.productDirective.variant_id ?
|
|
35
|
-
_this.productDirective.variants.find(function (v) { return v.code == _this.productDirective.variant_id && v.stock > 0; }) == undefined :
|
|
36
|
-
_this.productDirective.variants.find(function (v) { return v.stock > 0; }) == undefined;
|
|
37
|
-
}
|
|
38
|
-
return existMark;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
Object.defineProperty(ProductStockDirective.prototype, "ecProductStock", {
|
|
42
|
-
set: function (product) {
|
|
43
|
-
this.productDirective = product;
|
|
44
|
-
this.viewContainer.clear();
|
|
45
|
-
if (this.validateStock()) {
|
|
46
|
-
if (this.ecProductStockElse) {
|
|
47
|
-
this.viewContainer.createEmbeddedView(this.ecProductStockElse);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
console.error('falta definir el template de agotado');
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
this.viewContainer.createEmbeddedView(this.templateRef);
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
enumerable: true,
|
|
58
|
-
configurable: true
|
|
59
|
-
});
|
|
60
|
-
ProductStockDirective.prototype.ngOnInit = function () { };
|
|
61
|
-
ProductStockDirective.prototype.ngOnDestroy = function () { };
|
|
62
|
-
ProductStockDirective.prototype.ngOnChanges = function () { };
|
|
63
|
-
ProductStockDirective.ctorParameters = function () { return [
|
|
64
|
-
{ type: TemplateRef },
|
|
65
|
-
{ type: ViewContainerRef }
|
|
66
|
-
]; };
|
|
67
|
-
__decorate([
|
|
68
|
-
Input()
|
|
69
|
-
], ProductStockDirective.prototype, "ecProductStockElse", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
Input()
|
|
72
|
-
], ProductStockDirective.prototype, "ecProductStock", null);
|
|
73
|
-
ProductStockDirective = __decorate([
|
|
74
|
-
Directive({
|
|
75
|
-
selector: "[ecProductStock]"
|
|
76
|
-
})
|
|
77
|
-
], ProductStockDirective);
|
|
78
|
-
return ProductStockDirective;
|
|
79
|
-
}());
|
|
80
|
-
export { ProductStockDirective };
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Directive, ElementRef, Input, OnInit, TemplateRef, ViewContainerRef, Renderer2, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
8
|
+
var ProductStockDirective = /** @class */ (function () {
|
|
9
|
+
function ProductStockDirective(templateRef, viewContainer) {
|
|
10
|
+
var _this = this;
|
|
11
|
+
this.templateRef = templateRef;
|
|
12
|
+
this.viewContainer = viewContainer;
|
|
13
|
+
this.productDirective = null;
|
|
14
|
+
this.validateStock = function () {
|
|
15
|
+
if (_this.productDirective.special_mark == undefined || _this.productDirective.variants == undefined) {
|
|
16
|
+
setTimeout(function () {
|
|
17
|
+
return _this.validateStock();
|
|
18
|
+
}, 1000);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
return _this.checkValuesForStock();
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
this.checkValuesForStock = function () {
|
|
25
|
+
var existMark = false;
|
|
26
|
+
_this.productDirective.special_mark.forEach(function (special_mark) {
|
|
27
|
+
switch (special_mark.type) {
|
|
28
|
+
case 'out_of_stock':
|
|
29
|
+
existMark = true;
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
if (!existMark) {
|
|
34
|
+
existMark = _this.productDirective.variant_id ?
|
|
35
|
+
_this.productDirective.variants.find(function (v) { return v.code == _this.productDirective.variant_id && v.stock > 0; }) == undefined :
|
|
36
|
+
_this.productDirective.variants.find(function (v) { return v.stock > 0; }) == undefined;
|
|
37
|
+
}
|
|
38
|
+
return existMark;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
Object.defineProperty(ProductStockDirective.prototype, "ecProductStock", {
|
|
42
|
+
set: function (product) {
|
|
43
|
+
this.productDirective = product;
|
|
44
|
+
this.viewContainer.clear();
|
|
45
|
+
if (this.validateStock()) {
|
|
46
|
+
if (this.ecProductStockElse) {
|
|
47
|
+
this.viewContainer.createEmbeddedView(this.ecProductStockElse);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
console.error('falta definir el template de agotado');
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
this.viewContainer.createEmbeddedView(this.templateRef);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
enumerable: true,
|
|
58
|
+
configurable: true
|
|
59
|
+
});
|
|
60
|
+
ProductStockDirective.prototype.ngOnInit = function () { };
|
|
61
|
+
ProductStockDirective.prototype.ngOnDestroy = function () { };
|
|
62
|
+
ProductStockDirective.prototype.ngOnChanges = function () { };
|
|
63
|
+
ProductStockDirective.ctorParameters = function () { return [
|
|
64
|
+
{ type: TemplateRef },
|
|
65
|
+
{ type: ViewContainerRef }
|
|
66
|
+
]; };
|
|
67
|
+
__decorate([
|
|
68
|
+
Input()
|
|
69
|
+
], ProductStockDirective.prototype, "ecProductStockElse", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
Input()
|
|
72
|
+
], ProductStockDirective.prototype, "ecProductStock", null);
|
|
73
|
+
ProductStockDirective = __decorate([
|
|
74
|
+
Directive({
|
|
75
|
+
selector: "[ecProductStock]"
|
|
76
|
+
})
|
|
77
|
+
], ProductStockDirective);
|
|
78
|
+
return ProductStockDirective;
|
|
79
|
+
}());
|
|
80
|
+
export { ProductStockDirective };
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC1zdG9jay5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1lYXN5Y29tbWVyY2UvIiwic291cmNlcyI6WyJsaWIvZWMtZGlyZWN0aXZlL3Byb2R1Y3Qtc3RvY2suZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUNBLE9BQU8sRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsV0FBVyxFQUFFLGdCQUFnQixFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLGFBQWEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQVNwSjtJQXNCSSwrQkFDWSxXQUE2QixFQUM3QixhQUErQjtRQUYzQyxpQkFHQztRQUZXLGdCQUFXLEdBQVgsV0FBVyxDQUFrQjtRQUM3QixrQkFBYSxHQUFiLGFBQWEsQ0FBa0I7UUF0Qm5DLHFCQUFnQixHQUFZLElBQUksQ0FBQztRQStCekMsa0JBQWEsR0FBRztZQUNaLElBQUksS0FBSSxDQUFDLGdCQUFnQixDQUFDLFlBQVksSUFBSSxTQUFTLElBQUksS0FBSSxDQUFDLGdCQUFnQixDQUFDLFFBQVEsSUFBSSxTQUFTLEVBQUU7Z0JBQ2hHLFVBQVUsQ0FBQztvQkFDUCxPQUFPLEtBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQTtnQkFDL0IsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO2FBQ1o7aUJBQU07Z0JBQ0gsT0FBTyxLQUFJLENBQUMsbUJBQW1CLEVBQUUsQ0FBQTthQUNwQztRQUNMLENBQUMsQ0FBQTtRQUVELHdCQUF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gICAgICAgICAgY29uc29sZS5lcnJvcignZmFsdGEgZGVmaW5pciBlbCB0ZW1wbGF0ZSBkZSBhZ290YWRvJyk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICB0aGlzLnZpZXdDb250YWluZXIuY3JlYXRlRW1iZWRkZWRWaWV3KHRoaXMudGVtcGxhdGVSZWYpO1xyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICBjb25zdHJ1Y3RvcihcclxuICAgICAgICBwcml2YXRlIHRlbXBsYXRlUmVmOiBUZW1wbGF0ZVJlZjxhbnk+LFxyXG4gICAgICAgIHByaXZhdGUgdmlld0NvbnRhaW5lcjogVmlld0NvbnRhaW5lclJlZiwgKSB7XHJcbiAgICB9XHJcblxyXG4gICAgbmdPbkluaXQoKSB7IH1cclxuXHJcbiAgICBuZ09uRGVzdHJveSgpIHsgfVxyXG5cclxuICAgIG5nT25DaGFuZ2VzKCkgeyB9XHJcblxyXG4gICAgdmFsaWRhdGVTdG9jayA9ICgpID0+IHtcclxuICAgICAgICBpZiAodGhpcy5wcm9kdWN0RGlyZWN0aXZlLnNwZWNpYWxfbWFyayA9PSB1bmRlZmluZWQgfHwgdGhpcy5wcm9kdWN0RGlyZWN0aXZlLnZhcmlhbnRzID09IHVuZGVmaW5lZCkge1xyXG4gICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcclxuICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLnZhbGlkYXRlU3RvY2soKVxyXG4gICAgICAgICAgICB9LCAxMDAwKTtcclxuICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICByZXR1cm4gdGhpcy5jaGVja1ZhbHVlc0ZvclN0b2NrKClcclxuICAgICAgICB9XHJcbiAgICB9XHJcblxyXG4gICAgY2hlY2tWYWx1ZXNGb3JTdG9jayA9ICgpID0+IHtcclxuICAgICAgICBsZXQgZXhpc3RNYXJrID0gZmFsc2VcclxuICAgICAgICB0aGlzLnByb2R1Y3REaXJlY3RpdmUuc3BlY2lhbF9tYXJrLmZvckVhY2goc3BlY2lhbF9tYXJrID0+IHtcclxuICAgICAgICAgICAgc3dpdGNoIChzcGVjaWFsX21hcmsudHlwZSkge1xyXG4gICAgICAgICAgICAgICAgY2FzZSAnb3V0X29mX3N0b2NrJzogZXhpc3RNYXJrID0gdHJ1ZTsgYnJlYWs7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICB9KVxyXG4gICAgICAgIGlmICghZXhpc3RNYXJrKSB7XHJcbiAgICAgICAgICAgIGV4aXN0TWFyayA9IHRoaXMucHJvZHVjdERpcmVjdGl2ZS52YXJpYW50X2lkID8gXHJcbiAgICAgICAgICAgIHRoaXMucHJvZHVjdERpcmVjdGl2ZS52YXJpYW50cy5maW5kKHYgPT4ge3JldHVybiB2LmNvZGUgPT0gdGhpcy5wcm9kdWN0RGlyZWN0aXZlLnZhcmlhbnRfaWQgJiYgdi5zdG9jayA+IDB9KSA9PSB1bmRlZmluZWQgOlxyXG4gICAgICAgICAgICB0aGlzLnByb2R1Y3REaXJlY3RpdmUudmFyaWFudHMuZmluZCh2ID0+ICB2LnN0b2NrID4gMCkgPT0gdW5kZWZpbmVkXHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiBleGlzdE1hcmtcclxuICAgIH1cclxufSJdfQ==
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { Directive, Input, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
8
|
-
var ReloadViewDirective = /** @class */ (function () {
|
|
9
|
-
function ReloadViewDirective(templateRef, viewContainerRef) {
|
|
10
|
-
this.templateRef = templateRef;
|
|
11
|
-
this.viewContainerRef = viewContainerRef;
|
|
12
|
-
this.viewContainerRef.createEmbeddedView(templateRef);
|
|
13
|
-
}
|
|
14
|
-
ReloadViewDirective.prototype.ngOnChanges = function (changes) {
|
|
15
|
-
if (changes['ecReloadView']) {
|
|
16
|
-
this.viewContainerRef.clear();
|
|
17
|
-
this.viewContainerRef.createEmbeddedView(this.templateRef);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
ReloadViewDirective.ctorParameters = function () { return [
|
|
21
|
-
{ type: TemplateRef },
|
|
22
|
-
{ type: ViewContainerRef }
|
|
23
|
-
]; };
|
|
24
|
-
__decorate([
|
|
25
|
-
Input()
|
|
26
|
-
], ReloadViewDirective.prototype, "ecReloadView", void 0);
|
|
27
|
-
ReloadViewDirective = __decorate([
|
|
28
|
-
Directive({
|
|
29
|
-
selector: '[ecReloadView]'
|
|
30
|
-
})
|
|
31
|
-
], ReloadViewDirective);
|
|
32
|
-
return ReloadViewDirective;
|
|
33
|
-
}());
|
|
34
|
-
export { ReloadViewDirective };
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Directive, Input, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
8
|
+
var ReloadViewDirective = /** @class */ (function () {
|
|
9
|
+
function ReloadViewDirective(templateRef, viewContainerRef) {
|
|
10
|
+
this.templateRef = templateRef;
|
|
11
|
+
this.viewContainerRef = viewContainerRef;
|
|
12
|
+
this.viewContainerRef.createEmbeddedView(templateRef);
|
|
13
|
+
}
|
|
14
|
+
ReloadViewDirective.prototype.ngOnChanges = function (changes) {
|
|
15
|
+
if (changes['ecReloadView']) {
|
|
16
|
+
this.viewContainerRef.clear();
|
|
17
|
+
this.viewContainerRef.createEmbeddedView(this.templateRef);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
ReloadViewDirective.ctorParameters = function () { return [
|
|
21
|
+
{ type: TemplateRef },
|
|
22
|
+
{ type: ViewContainerRef }
|
|
23
|
+
]; };
|
|
24
|
+
__decorate([
|
|
25
|
+
Input()
|
|
26
|
+
], ReloadViewDirective.prototype, "ecReloadView", void 0);
|
|
27
|
+
ReloadViewDirective = __decorate([
|
|
28
|
+
Directive({
|
|
29
|
+
selector: '[ecReloadView]'
|
|
30
|
+
})
|
|
31
|
+
], ReloadViewDirective);
|
|
32
|
+
return ReloadViewDirective;
|
|
33
|
+
}());
|
|
34
|
+
export { ReloadViewDirective };
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVsb2FkLXZpZXcuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctZWFzeWNvbW1lcmNlLyIsInNvdXJjZXMiOlsibGliL2VjLWRpcmVjdGl2ZS9yZWxvYWQtdmlldy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLGFBQWEsRUFBRSxXQ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aXZlIGltcGxlbWVudHMgT25DaGFuZ2VzIHtcclxuXHJcbiAgICBASW5wdXQoKSBlY1JlbG9hZFZpZXcgOiBhbnk7XHJcblxyXG4gICAgY29uc3RydWN0b3IocHJpdmF0ZSB0ZW1wbGF0ZVJlZjogVGVtcGxhdGVSZWY8YW55PixcclxuICAgICAgICBwcml2YXRlIHZpZXdDb250YWluZXJSZWY6IFZpZXdDb250YWluZXJSZWYpIHtcclxuICAgICAgICB0aGlzLnZpZXdDb250YWluZXJSZWYuY3JlYXRlRW1iZWRkZWRWaWV3KHRlbXBsYXRlUmVmKVxyXG4gICAgfVxyXG4gICAgXHJcbiAgICBuZ09uQ2hhbmdlcyhjaGFuZ2VzOiBTaW1wbGVDaGFuZ2VzKTogdm9pZCB7XHJcbiAgICAgICAgXHJcbiAgICAgICAgaWYoY2hhbmdlc1snZWNSZWxvYWRWaWV3J10pXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgICB0aGlzLnZpZXdDb250YWluZXJSZWYuY2xlYXIoKVxyXG4gICAgICAgICAgICB0aGlzLnZpZXdDb250YWluZXJSZWYuY3JlYXRlRW1iZWRkZWRWaWV3KHRoaXMudGVtcGxhdGVSZWYpO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICB9XHJcblxyXG59XHJcbiJdfQ==
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { CurrencyPipe } from '@angular/common';
|
|
8
|
-
import { Injector, Pipe, PipeTransform } from '@angular/core';
|
|
9
|
-
import { Constants } from '../core.consts';
|
|
10
|
-
import { CurrencyService } from '../services/currency.service';
|
|
11
|
-
import { ProductsService } from '../services/products/products.service';
|
|
12
|
-
var ecCurrencySymbolPipe = /** @class */ (function () {
|
|
13
|
-
function ecCurrencySymbolPipe(productsService, currencyPipe, consts, currencyService, injector) {
|
|
14
|
-
var _this = this;
|
|
15
|
-
this.productsService = productsService;
|
|
16
|
-
this.currencyPipe = currencyPipe;
|
|
17
|
-
this.consts = consts;
|
|
18
|
-
this.currencyService = currencyService;
|
|
19
|
-
this.injector = injector;
|
|
20
|
-
this.changeSymbolTransform = function (valor) {
|
|
21
|
-
try {
|
|
22
|
-
return _this.positionSymbol(_this.checkingWithoutDecimals(_this.clearSymbol(valor)));
|
|
23
|
-
}
|
|
24
|
-
catch (error) {
|
|
25
|
-
console.error('Errores en custom pipe -> ', error);
|
|
26
|
-
return valor;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
this.clearSymbol = function (value) { return value.replace('$', ''); };
|
|
30
|
-
this.positionSymbol = function (value) { var _a, _b, _c; return ((_a = _this.consts) === null || _a === void 0 ? void 0 : _a.currency.position.toUpperCase()) == 'LEFT' ? _this.currency.symbol + " " + ((_b = value) === null || _b === void 0 ? void 0 : _b.trim()) : ((_c = value) === null || _c === void 0 ? void 0 : _c.trim()) + " " + _this.currency.symbol; };
|
|
31
|
-
this.checkingWithoutDecimals = function (value) {
|
|
32
|
-
var _a, _b, _c;
|
|
33
|
-
if ((_a = _this.consts) === null || _a === void 0 ? void 0 : _a.currency.withoutDecimal) {
|
|
34
|
-
var val = (_b = value) === null || _b === void 0 ? void 0 : _b.split(',');
|
|
35
|
-
return val[0];
|
|
36
|
-
//?.trim() == "00" && value.trim().slice(0, value.trim().length - 3) || value
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
var val = (_c = value) === null || _c === void 0 ? void 0 : _c.split(',');
|
|
40
|
-
(val[1] && val[1].length > 2) ? val[1] = val[1].slice(0, 2) : val[1] = "00";
|
|
41
|
-
value = val[0] + ',' + val[1];
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
this.currencyService.currency$.subscribe(function (res) {
|
|
46
|
-
_this.currency = res;
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
ecCurrencySymbolPipe.prototype.transform = function (value) {
|
|
50
|
-
var _a;
|
|
51
|
-
var formatter = new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'USD' });
|
|
52
|
-
var valueTransform = '';
|
|
53
|
-
if (value) {
|
|
54
|
-
value = this.currencyService.calculateConvetibility(value, this.currency.ratio).toString();
|
|
55
|
-
valueTransform = this.changeSymbolTransform((_a = formatter.format(value)) === null || _a === void 0 ? void 0 : _a.toString());
|
|
56
|
-
}
|
|
57
|
-
return valueTransform;
|
|
58
|
-
};
|
|
59
|
-
ecCurrencySymbolPipe.ctorParameters = function () { return [
|
|
60
|
-
{ type: ProductsService },
|
|
61
|
-
{ type: CurrencyPipe },
|
|
62
|
-
{ type: Constants },
|
|
63
|
-
{ type: CurrencyService },
|
|
64
|
-
{ type: Injector }
|
|
65
|
-
]; };
|
|
66
|
-
ecCurrencySymbolPipe = __decorate([
|
|
67
|
-
Pipe({
|
|
68
|
-
name: 'ecCurrencySymbol',
|
|
69
|
-
})
|
|
70
|
-
], ecCurrencySymbolPipe);
|
|
71
|
-
return ecCurrencySymbolPipe;
|
|
72
|
-
}());
|
|
73
|
-
export { ecCurrencySymbolPipe };
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { CurrencyPipe } from '@angular/common';
|
|
8
|
+
import { Injector, Pipe, PipeTransform } from '@angular/core';
|
|
9
|
+
import { Constants } from '../core.consts';
|
|
10
|
+
import { CurrencyService } from '../services/currency.service';
|
|
11
|
+
import { ProductsService } from '../services/products/products.service';
|
|
12
|
+
var ecCurrencySymbolPipe = /** @class */ (function () {
|
|
13
|
+
function ecCurrencySymbolPipe(productsService, currencyPipe, consts, currencyService, injector) {
|
|
14
|
+
var _this = this;
|
|
15
|
+
this.productsService = productsService;
|
|
16
|
+
this.currencyPipe = currencyPipe;
|
|
17
|
+
this.consts = consts;
|
|
18
|
+
this.currencyService = currencyService;
|
|
19
|
+
this.injector = injector;
|
|
20
|
+
this.changeSymbolTransform = function (valor) {
|
|
21
|
+
try {
|
|
22
|
+
return _this.positionSymbol(_this.checkingWithoutDecimals(_this.clearSymbol(valor)));
|
|
23
|
+
}
|
|
24
|
+
catch (error) {
|
|
25
|
+
console.error('Errores en custom pipe -> ', error);
|
|
26
|
+
return valor;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
this.clearSymbol = function (value) { return value.replace('$', ''); };
|
|
30
|
+
this.positionSymbol = function (value) { var _a, _b, _c; return ((_a = _this.consts) === null || _a === void 0 ? void 0 : _a.currency.position.toUpperCase()) == 'LEFT' ? _this.currency.symbol + " " + ((_b = value) === null || _b === void 0 ? void 0 : _b.trim()) : ((_c = value) === null || _c === void 0 ? void 0 : _c.trim()) + " " + _this.currency.symbol; };
|
|
31
|
+
this.checkingWithoutDecimals = function (value) {
|
|
32
|
+
var _a, _b, _c;
|
|
33
|
+
if ((_a = _this.consts) === null || _a === void 0 ? void 0 : _a.currency.withoutDecimal) {
|
|
34
|
+
var val = (_b = value) === null || _b === void 0 ? void 0 : _b.split(',');
|
|
35
|
+
return val[0];
|
|
36
|
+
//?.trim() == "00" && value.trim().slice(0, value.trim().length - 3) || value
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
var val = (_c = value) === null || _c === void 0 ? void 0 : _c.split(',');
|
|
40
|
+
(val[1] && val[1].length > 2) ? val[1] = val[1].slice(0, 2) : val[1] = "00";
|
|
41
|
+
value = val[0] + ',' + val[1];
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
this.currencyService.currency$.subscribe(function (res) {
|
|
46
|
+
_this.currency = res;
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
ecCurrencySymbolPipe.prototype.transform = function (value) {
|
|
50
|
+
var _a;
|
|
51
|
+
var formatter = new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'USD' });
|
|
52
|
+
var valueTransform = '';
|
|
53
|
+
if (value) {
|
|
54
|
+
value = this.currencyService.calculateConvetibility(value, this.currency.ratio).toString();
|
|
55
|
+
valueTransform = this.changeSymbolTransform((_a = formatter.format(value)) === null || _a === void 0 ? void 0 : _a.toString());
|
|
56
|
+
}
|
|
57
|
+
return valueTransform;
|
|
58
|
+
};
|
|
59
|
+
ecCurrencySymbolPipe.ctorParameters = function () { return [
|
|
60
|
+
{ type: ProductsService },
|
|
61
|
+
{ type: CurrencyPipe },
|
|
62
|
+
{ type: Constants },
|
|
63
|
+
{ type: CurrencyService },
|
|
64
|
+
{ type: Injector }
|
|
65
|
+
]; };
|
|
66
|
+
ecCurrencySymbolPipe = __decorate([
|
|
67
|
+
Pipe({
|
|
68
|
+
name: 'ecCurrencySymbol',
|
|
69
|
+
})
|
|
70
|
+
], ecCurrencySymbolPipe);
|
|
71
|
+
return ecCurrencySymbolPipe;
|
|
72
|
+
}());
|
|
73
|
+
export { ecCurrencySymbolPipe };
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIj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lbHNlIHtcclxuICAgICAgICAgICAgbGV0IHZhbCA9IHZhbHVlPy5zcGxpdCgnLCcpO1xyXG4gICAgICAgICAgICAodmFsWzFdICYmIHZhbFsxXS5sZW5ndGggPiAyKSA/IHZhbFsxXSA9IHZhbFsxXS5zbGljZSgwLCAyKSA6IHZhbFsxXSA9IFwiMDBcIlxyXG4gICAgICAgICAgICB2YWx1ZSA9IHZhbFswXSArICcsJyArIHZhbFsxXTtcclxuICAgICAgICAgICAgcmV0dXJuIHZhbHVlXHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { Pipe } from '@angular/core';
|
|
8
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
9
|
-
var EcSanitizerHtmlPipe = /** @class */ (function () {
|
|
10
|
-
function EcSanitizerHtmlPipe(sanitizer) {
|
|
11
|
-
this.sanitizer = sanitizer;
|
|
12
|
-
}
|
|
13
|
-
EcSanitizerHtmlPipe.prototype.transform = function (value) {
|
|
14
|
-
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
15
|
-
};
|
|
16
|
-
EcSanitizerHtmlPipe.ctorParameters = function () { return [
|
|
17
|
-
{ type: DomSanitizer }
|
|
18
|
-
]; };
|
|
19
|
-
EcSanitizerHtmlPipe = __decorate([
|
|
20
|
-
Pipe({
|
|
21
|
-
name: 'ecSanitizerHtml'
|
|
22
|
-
})
|
|
23
|
-
], EcSanitizerHtmlPipe);
|
|
24
|
-
return EcSanitizerHtmlPipe;
|
|
25
|
-
}());
|
|
26
|
-
export { EcSanitizerHtmlPipe };
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Pipe } from '@angular/core';
|
|
8
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
9
|
+
var EcSanitizerHtmlPipe = /** @class */ (function () {
|
|
10
|
+
function EcSanitizerHtmlPipe(sanitizer) {
|
|
11
|
+
this.sanitizer = sanitizer;
|
|
12
|
+
}
|
|
13
|
+
EcSanitizerHtmlPipe.prototype.transform = function (value) {
|
|
14
|
+
return this.sanitizer.bypassSecurityTrustHtml(value);
|
|
15
|
+
};
|
|
16
|
+
EcSanitizerHtmlPipe.ctorParameters = function () { return [
|
|
17
|
+
{ type: DomSanitizer }
|
|
18
|
+
]; };
|
|
19
|
+
EcSanitizerHtmlPipe = __decorate([
|
|
20
|
+
Pipe({
|
|
21
|
+
name: 'ecSanitizerHtml'
|
|
22
|
+
})
|
|
23
|
+
], EcSanitizerHtmlPipe);
|
|
24
|
+
return EcSanitizerHtmlPipe;
|
|
25
|
+
}());
|
|
26
|
+
export { EcSanitizerHtmlPipe };
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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ZXI6IERvbVNhbml0aXplcikgeyB9XHJcblxyXG4gICAgdHJhbnNmb3JtKHZhbHVlKSB7XHJcbiAgICAgICAgcmV0dXJuIHRoaXMuc2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RIdG1sKHZhbHVlKTtcclxuICAgIH1cclxuXHJcbn0iXX0=
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { Pipe } from '@angular/core';
|
|
8
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
9
|
-
var EcSanitizerUrlPipe = /** @class */ (function () {
|
|
10
|
-
function EcSanitizerUrlPipe(sanitizer) {
|
|
11
|
-
this.sanitizer = sanitizer;
|
|
12
|
-
}
|
|
13
|
-
EcSanitizerUrlPipe.prototype.transform = function (value) {
|
|
14
|
-
return this.sanitizer.bypassSecurityTrustResourceUrl(value);
|
|
15
|
-
};
|
|
16
|
-
EcSanitizerUrlPipe.ctorParameters = function () { return [
|
|
17
|
-
{ type: DomSanitizer }
|
|
18
|
-
]; };
|
|
19
|
-
EcSanitizerUrlPipe = __decorate([
|
|
20
|
-
Pipe({
|
|
21
|
-
name: 'ecSanitizerUrl'
|
|
22
|
-
})
|
|
23
|
-
], EcSanitizerUrlPipe);
|
|
24
|
-
return EcSanitizerUrlPipe;
|
|
25
|
-
}());
|
|
26
|
-
export { EcSanitizerUrlPipe };
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Pipe } from '@angular/core';
|
|
8
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
9
|
+
var EcSanitizerUrlPipe = /** @class */ (function () {
|
|
10
|
+
function EcSanitizerUrlPipe(sanitizer) {
|
|
11
|
+
this.sanitizer = sanitizer;
|
|
12
|
+
}
|
|
13
|
+
EcSanitizerUrlPipe.prototype.transform = function (value) {
|
|
14
|
+
return this.sanitizer.bypassSecurityTrustResourceUrl(value);
|
|
15
|
+
};
|
|
16
|
+
EcSanitizerUrlPipe.ctorParameters = function () { return [
|
|
17
|
+
{ type: DomSanitizer }
|
|
18
|
+
]; };
|
|
19
|
+
EcSanitizerUrlPipe = __decorate([
|
|
20
|
+
Pipe({
|
|
21
|
+
name: 'ecSanitizerUrl'
|
|
22
|
+
})
|
|
23
|
+
], EcSanitizerUrlPipe);
|
|
24
|
+
return EcSanitizerUrlPipe;
|
|
25
|
+
}());
|
|
26
|
+
export { EcSanitizerUrlPipe };
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWMtc2FuaXRpemVyLXVybC5waXBlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctZWFzeWNvbW1lcmNlLyIsInNvdXJjZXMiOlsibGliL2VjLXBpcGUvZWMtc2FuaXRpemVyLXVybC5waXBlLnRzIl0sI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JsKHZhbHVlKTtcclxuICAgIH1cclxuXHJcbn1cclxuIl19
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
//Pipes base
|
|
2
|
-
import { ecCurrencySymbolPipe } from "./ec-currency-symbol.pipe";
|
|
3
|
-
import { EcSanitizerHtmlPipe } from "./ec-sanitizer-html.pipe";
|
|
4
|
-
import { EcSanitizerUrlPipe } from "./ec-sanitizer-url.pipe";
|
|
5
|
-
export var pipes = [
|
|
6
|
-
ecCurrencySymbolPipe,
|
|
7
|
-
EcSanitizerHtmlPipe,
|
|
8
|
-
EcSanitizerUrlPipe
|
|
9
|
-
];
|
|
10
|
-
export * from "./ec-currency-symbol.pipe";
|
|
11
|
-
export * from "./ec-sanitizer-html.pipe";
|
|
12
|
-
export * from "./ec-sanitizer-url.pipe";
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
//Pipes base
|
|
2
|
+
import { ecCurrencySymbolPipe } from "./ec-currency-symbol.pipe";
|
|
3
|
+
import { EcSanitizerHtmlPipe } from "./ec-sanitizer-html.pipe";
|
|
4
|
+
import { EcSanitizerUrlPipe } from "./ec-sanitizer-url.pipe";
|
|
5
|
+
export var pipes = [
|
|
6
|
+
ecCurrencySymbolPipe,
|
|
7
|
+
EcSanitizerHtmlPipe,
|
|
8
|
+
EcSanitizerUrlPipe
|
|
9
|
+
];
|
|
10
|
+
export * from "./ec-currency-symbol.pipe";
|
|
11
|
+
export * from "./ec-sanitizer-html.pipe";
|
|
12
|
+
export * from "./ec-sanitizer-url.pipe";
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZy1lYXN5Y29tbWVyY2UvIiwic291cmNlcyI6WyJsaWIvZWMtcGlwZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUFZO0FBRVosT0FBTyxFQUFFLG9CQUFvQix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