ng-easycommerce-v18 0.0.1 → 0.0.3
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 +9 -12
- package/esm2022/lib/api/connection.service.mjs +75 -0
- package/esm2022/lib/api/index.mjs +2 -0
- package/esm2022/lib/classes/checkout/index.mjs +2 -0
- package/esm2022/lib/classes/checkout/steps.mjs +29 -0
- package/esm2022/lib/classes/filters/attributes-filter.mjs +73 -0
- package/esm2022/lib/classes/filters/category-filter.mjs +59 -0
- package/esm2022/lib/classes/filters/dynamics-filter.mjs +58 -0
- package/esm2022/lib/classes/filters/filter-factory.mjs +21 -0
- package/esm2022/lib/classes/filters/filter.mjs +83 -0
- package/esm2022/lib/classes/filters/index.mjs +7 -0
- package/esm2022/lib/classes/filters/sort-filter.mjs +88 -0
- package/esm2022/lib/classes/index.mjs +4 -0
- package/esm2022/lib/classes/user.mjs +59 -0
- package/esm2022/lib/constants/api.constants.service.mjs +71 -0
- package/esm2022/lib/constants/core.constants.service.mjs +205 -0
- package/esm2022/lib/constants/index.mjs +3 -0
- package/esm2022/lib/ec-components/abstractions-components/block-ec.component.mjs +110 -0
- package/esm2022/lib/ec-components/abstractions-components/index.mjs +3 -0
- package/esm2022/lib/ec-components/abstractions-components/menu-ec.component.mjs +97 -0
- package/esm2022/lib/ec-components/account-ec/account-ec.component.mjs +22 -0
- package/esm2022/lib/ec-components/account-ec/index.mjs +4 -0
- package/esm2022/lib/ec-components/account-ec/order-ec/order-ec.component.mjs +16 -0
- package/esm2022/lib/ec-components/account-ec/orders-list-ec/orders-list-ec.component.mjs +150 -0
- package/esm2022/lib/ec-components/auth-ec/auth-ec.component.mjs +12 -0
- package/esm2022/lib/ec-components/auth-ec/confirm-account-ec/confirm-account-ec.component.mjs +30 -0
- package/esm2022/lib/ec-components/auth-ec/forgot-password-ec/forgot-password-ec.component.mjs +54 -0
- package/esm2022/lib/ec-components/auth-ec/index.mjs +7 -0
- package/esm2022/lib/ec-components/auth-ec/login-form-ec/login-form-ec.component.mjs +91 -0
- package/esm2022/lib/ec-components/auth-ec/register-form-ec/register-form-ec.component.mjs +105 -0
- package/esm2022/lib/ec-components/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.mjs +153 -0
- package/esm2022/lib/ec-components/blocks-ec/block-banner-box-ec/block-banner-box-ec.component.mjs +109 -0
- package/esm2022/lib/ec-components/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.mjs +87 -0
- package/esm2022/lib/ec-components/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.mjs +87 -0
- package/esm2022/lib/ec-components/blocks-ec/block-html-ec/block-html-ec.component.mjs +37 -0
- package/esm2022/lib/ec-components/blocks-ec/block-newsletter-ec/block-newsletter-ec.component.mjs +86 -0
- package/esm2022/lib/ec-components/blocks-ec/block-products-ec/block-products-ec.component.mjs +109 -0
- package/esm2022/lib/ec-components/blocks-ec/blocks-ec.component.mjs +99 -0
- package/esm2022/lib/ec-components/blocks-ec/index.mjs +5 -0
- package/esm2022/lib/ec-components/breadcrumb-ec/breadcrumb-ec.component.mjs +27 -0
- package/esm2022/lib/ec-components/cart-ec/cart-ec.component.mjs +21 -0
- package/esm2022/lib/ec-components/cart-ec/cart-item-ec/cart-item-ec.component.mjs +47 -0
- package/esm2022/lib/ec-components/cart-ec/index.mjs +3 -0
- package/esm2022/lib/ec-components/checkout-ec/checkout-ec.component.mjs +60 -0
- package/esm2022/lib/ec-components/checkout-ec/dataform-ec/dataform-ec.component.mjs +271 -0
- package/esm2022/lib/ec-components/checkout-ec/dataform-ec/input-ec/input-ec.component.mjs +51 -0
- package/esm2022/lib/ec-components/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.mjs +45 -0
- package/esm2022/lib/ec-components/checkout-ec/payment-ec/payment-ec.component.mjs +92 -0
- package/esm2022/lib/ec-components/checkout-ec/payment-ec/payment-methods/bank-transfer-ec/bank-transfer-ec.component.mjs +30 -0
- package/esm2022/lib/ec-components/checkout-ec/payment-ec/payment-methods/index.mjs +4 -0
- package/esm2022/lib/ec-components/checkout-ec/payment-ec/payment-methods/mp-redirect-ec/mp-redirect-ec.component.mjs +119 -0
- package/esm2022/lib/ec-components/checkout-ec/payment-ec/payment-methods/offline-ec/offline-ec.component.mjs +32 -0
- package/esm2022/lib/ec-components/checkout-ec/shipment-ec/shipment-ec.component.mjs +96 -0
- package/esm2022/lib/ec-components/checkout-ec/step-container-ec/step-container-ec.component.mjs +35 -0
- package/esm2022/lib/ec-components/checkout-ec/success-ec/success-ec.component.mjs +55 -0
- package/esm2022/lib/ec-components/collection-ec/collection-ec.component.mjs +72 -0
- package/esm2022/lib/ec-components/coupon-ec/coupon-ec.component.mjs +29 -0
- package/esm2022/lib/ec-components/filters-ec/filters-ec.component.mjs +38 -0
- package/esm2022/lib/ec-components/filters-sort-ec/filters-sort-ec.component.mjs +36 -0
- package/esm2022/lib/ec-components/footer-ec/footer-ec.component.mjs +17 -0
- package/esm2022/lib/ec-components/header-ec/header-ec.component.mjs +20 -0
- package/esm2022/lib/ec-components/home-ec/home-ec.component.mjs +14 -0
- package/esm2022/lib/ec-components/index.mjs +25 -0
- package/esm2022/lib/ec-components/product-detail-ec/product-detail-ec.component.mjs +86 -0
- package/esm2022/lib/ec-components/product-ec/product-ec.component.mjs +51 -0
- package/esm2022/lib/ec-components/variants-ec/variants-ec.component.mjs +18 -0
- package/esm2022/lib/ec-components/widgets-ec/index.mjs +5 -0
- package/esm2022/lib/ec-components/widgets-ec/loading/index.mjs +4 -0
- package/esm2022/lib/ec-components/widgets-ec/loading/loading-full-ec/loading-full-ec.component.mjs +11 -0
- package/esm2022/lib/ec-components/widgets-ec/loading/loading-inline-ec/loading-inline-ec.component.mjs +16 -0
- package/esm2022/lib/ec-components/widgets-ec/loading/loading-section-ec/loading-section-ec.component.mjs +12 -0
- package/esm2022/lib/ec-components/widgets-ec/magnizoom-ec/magnizoom-ec.component.mjs +178 -0
- package/esm2022/lib/ec-components/widgets-ec/price-ec/price-ec.component.mjs +27 -0
- package/esm2022/lib/ec-components/widgets-ec/re-captcha-ec/re-captcha-ec.component.mjs +71 -0
- package/esm2022/lib/ec-guards/auth.guard.mjs +18 -0
- package/esm2022/lib/ec-guards/index.mjs +2 -0
- package/esm2022/lib/ec-pipe/ec-currency-symbol.pipe.mjs +104 -0
- package/esm2022/lib/ec-pipe/index.mjs +2 -0
- package/esm2022/lib/ec-services/addressing.service.mjs +185 -0
- package/esm2022/lib/ec-services/analytics/analytics.service.mjs +80 -0
- package/esm2022/lib/ec-services/analytics/doppler.service.mjs +47 -0
- package/esm2022/lib/ec-services/analytics/facebook-pixel.service.mjs +212 -0
- package/esm2022/lib/ec-services/analytics/google-analytics.service.mjs +283 -0
- package/esm2022/lib/ec-services/analytics/gtm.service.mjs +414 -0
- package/esm2022/lib/ec-services/analytics/index.mjs +7 -0
- package/esm2022/lib/ec-services/analytics/metricool-pixel.service.mjs +55 -0
- package/esm2022/lib/ec-services/auth.service.mjs +440 -0
- package/esm2022/lib/ec-services/auth.storage.service.mjs +54 -0
- package/esm2022/lib/ec-services/blocks-repository.service.mjs +64 -0
- package/esm2022/lib/ec-services/blocks.service.mjs +52 -0
- package/esm2022/lib/ec-services/cart.service.mjs +465 -0
- package/esm2022/lib/ec-services/channel.service.mjs +83 -0
- package/esm2022/lib/ec-services/checkout.service.mjs +180 -0
- package/esm2022/lib/ec-services/currency.service.mjs +177 -0
- package/esm2022/lib/ec-services/filters.service.mjs +134 -0
- package/esm2022/lib/ec-services/form.service.mjs +81 -0
- package/esm2022/lib/ec-services/index.mjs +27 -0
- package/esm2022/lib/ec-services/local-storage.service.mjs +58 -0
- package/esm2022/lib/ec-services/ngx-local-storage.service.mjs +66 -0
- package/esm2022/lib/ec-services/options.service.mjs +273 -0
- package/esm2022/lib/ec-services/order-utility.service.mjs +61 -0
- package/esm2022/lib/ec-services/orders.service.mjs +48 -0
- package/esm2022/lib/ec-services/pagination.service.mjs +163 -0
- package/esm2022/lib/ec-services/parameters.service.mjs +65 -0
- package/esm2022/lib/ec-services/payment.service.mjs +54 -0
- package/esm2022/lib/ec-services/product-detail.service.mjs +285 -0
- package/esm2022/lib/ec-services/products.service.mjs +148 -0
- package/esm2022/lib/ec-services/re-captcha.service.mjs +114 -0
- package/esm2022/lib/ec-services/shipment.service.mjs +158 -0
- package/esm2022/lib/ec-services/stores.service.mjs +27 -0
- package/esm2022/lib/ec-services/test.service.mjs +16 -0
- package/esm2022/lib/ec-services/toast.service.mjs +81 -0
- package/esm2022/lib/interceptors/auth.interceptor.mjs +35 -0
- package/esm2022/lib/interceptors/index.mjs +2 -0
- package/esm2022/lib/interfaces/analytics/event-key.mjs +2 -0
- package/esm2022/lib/interfaces/analytics/facebook-pixel-data.mjs +2 -0
- package/esm2022/lib/interfaces/analytics/gtm-config.mjs +2 -0
- package/esm2022/lib/interfaces/analytics/index.mjs +4 -0
- package/esm2022/lib/interfaces/blocks.mjs +2 -0
- package/esm2022/lib/interfaces/checkout.mjs +2 -0
- package/esm2022/lib/interfaces/connection.mjs +2 -0
- package/esm2022/lib/interfaces/coupon.mjs +2 -0
- package/esm2022/lib/interfaces/currency.mjs +2 -0
- package/esm2022/lib/interfaces/deserializable.mjs +2 -0
- package/esm2022/lib/interfaces/environment.mjs +2 -0
- package/esm2022/lib/interfaces/filter.mjs +2 -0
- package/esm2022/lib/interfaces/index.mjs +19 -0
- package/esm2022/lib/interfaces/options.mjs +2 -0
- package/esm2022/lib/interfaces/pagination.mjs +2 -0
- package/esm2022/lib/interfaces/parameter.mjs +2 -0
- package/esm2022/lib/interfaces/product.mjs +2 -0
- package/esm2022/lib/interfaces/step.mjs +2 -0
- package/esm2022/lib/interfaces/storage.mjs +2 -0
- package/esm2022/lib/interfaces/store.mjs +2 -0
- package/esm2022/lib/interfaces/types/index.mjs +2 -0
- package/esm2022/lib/interfaces/types/user.type.mjs +2 -0
- package/esm2022/lib/providers/index.mjs +2 -0
- package/esm2022/lib/providers/provideEnvironment.mjs +20 -0
- package/esm2022/lib/stores/currency.store.mjs +10 -0
- package/esm2022/lib/stores/index.mjs +2 -0
- package/esm2022/ng-easycommerce-v18.mjs +5 -0
- package/esm2022/public-api.mjs +20 -0
- package/fesm2022/ng-easycommerce-v18.mjs +8228 -0
- package/fesm2022/ng-easycommerce-v18.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/api/connection.service.d.ts +52 -0
- package/lib/api/index.d.ts +1 -0
- package/lib/classes/checkout/index.d.ts +1 -0
- package/lib/classes/checkout/steps.d.ts +15 -0
- package/lib/classes/filters/attributes-filter.d.ts +14 -0
- package/lib/classes/filters/category-filter.d.ts +14 -0
- package/lib/classes/filters/dynamics-filter.d.ts +13 -0
- package/lib/classes/filters/filter-factory.d.ts +5 -0
- package/lib/classes/filters/filter.d.ts +19 -0
- package/lib/classes/filters/index.d.ts +6 -0
- package/lib/classes/filters/sort-filter.d.ts +14 -0
- package/{projects/ng-easycommerce/src/lib/classes/index.ts → lib/classes/index.d.ts} +3 -3
- package/lib/classes/user.d.ts +50 -0
- package/lib/constants/api.constants.service.d.ts +54 -0
- package/lib/constants/core.constants.service.d.ts +116 -0
- package/lib/constants/index.d.ts +2 -0
- package/lib/ec-components/abstractions-components/block-ec.component.d.ts +62 -0
- package/lib/ec-components/abstractions-components/index.d.ts +2 -0
- package/lib/ec-components/abstractions-components/menu-ec.component.d.ts +67 -0
- package/lib/ec-components/account-ec/account-ec.component.d.ts +10 -0
- package/lib/ec-components/account-ec/index.d.ts +3 -0
- package/lib/ec-components/account-ec/order-ec/order-ec.component.d.ts +8 -0
- package/lib/ec-components/account-ec/orders-list-ec/orders-list-ec.component.d.ts +55 -0
- package/lib/ec-components/auth-ec/auth-ec.component.d.ts +5 -0
- package/lib/ec-components/auth-ec/confirm-account-ec/confirm-account-ec.component.d.ts +11 -0
- package/lib/ec-components/auth-ec/forgot-password-ec/forgot-password-ec.component.d.ts +27 -0
- package/{projects/ng-easycommerce/src/lib/ec-components/auth-ec/index.ts → lib/ec-components/auth-ec/index.d.ts} +6 -6
- package/lib/ec-components/auth-ec/login-form-ec/login-form-ec.component.d.ts +42 -0
- package/lib/ec-components/auth-ec/register-form-ec/register-form-ec.component.d.ts +39 -0
- package/lib/ec-components/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.d.ts +62 -0
- package/lib/ec-components/blocks-ec/block-banner-box-ec/block-banner-box-ec.component.d.ts +47 -0
- package/lib/ec-components/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.d.ts +54 -0
- package/lib/ec-components/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.d.ts +21 -0
- package/lib/ec-components/blocks-ec/block-html-ec/block-html-ec.component.d.ts +25 -0
- package/lib/ec-components/blocks-ec/block-newsletter-ec/block-newsletter-ec.component.d.ts +19 -0
- package/lib/ec-components/blocks-ec/block-products-ec/block-products-ec.component.d.ts +51 -0
- package/lib/ec-components/blocks-ec/blocks-ec.component.d.ts +59 -0
- package/{projects/ng-easycommerce/src/lib/ec-components/blocks-ec/index.ts → lib/ec-components/blocks-ec/index.d.ts} +4 -4
- package/lib/ec-components/breadcrumb-ec/breadcrumb-ec.component.d.ts +11 -0
- package/lib/ec-components/cart-ec/cart-ec.component.d.ts +12 -0
- package/lib/ec-components/cart-ec/cart-item-ec/cart-item-ec.component.d.ts +17 -0
- package/lib/ec-components/cart-ec/index.d.ts +2 -0
- package/lib/ec-components/checkout-ec/checkout-ec.component.d.ts +20 -0
- package/lib/ec-components/checkout-ec/dataform-ec/dataform-ec.component.d.ts +83 -0
- package/lib/ec-components/checkout-ec/dataform-ec/input-ec/input-ec.component.d.ts +14 -0
- package/lib/ec-components/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.d.ts +11 -0
- package/lib/ec-components/checkout-ec/payment-ec/payment-ec.component.d.ts +37 -0
- package/lib/ec-components/checkout-ec/payment-ec/payment-methods/bank-transfer-ec/bank-transfer-ec.component.d.ts +11 -0
- package/{projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/index.ts → lib/ec-components/checkout-ec/payment-ec/payment-methods/index.d.ts} +3 -3
- package/lib/ec-components/checkout-ec/payment-ec/payment-methods/mp-redirect-ec/mp-redirect-ec.component.d.ts +30 -0
- package/lib/ec-components/checkout-ec/payment-ec/payment-methods/offline-ec/offline-ec.component.d.ts +11 -0
- package/lib/ec-components/checkout-ec/shipment-ec/shipment-ec.component.d.ts +30 -0
- package/lib/ec-components/checkout-ec/step-container-ec/step-container-ec.component.d.ts +11 -0
- package/lib/ec-components/checkout-ec/success-ec/success-ec.component.d.ts +30 -0
- package/lib/ec-components/collection-ec/collection-ec.component.d.ts +37 -0
- package/lib/ec-components/coupon-ec/coupon-ec.component.d.ts +12 -0
- package/lib/ec-components/filters-ec/filters-ec.component.d.ts +14 -0
- package/lib/ec-components/filters-sort-ec/filters-sort-ec.component.d.ts +14 -0
- package/lib/ec-components/footer-ec/footer-ec.component.d.ts +10 -0
- package/lib/ec-components/header-ec/header-ec.component.d.ts +15 -0
- package/lib/ec-components/home-ec/home-ec.component.d.ts +8 -0
- package/{projects/ng-easycommerce/src/lib/ec-components/index.ts → lib/ec-components/index.d.ts} +24 -17
- package/lib/ec-components/product-detail-ec/product-detail-ec.component.d.ts +31 -0
- package/lib/ec-components/product-ec/product-ec.component.d.ts +31 -0
- package/lib/ec-components/variants-ec/variants-ec.component.d.ts +8 -0
- package/{projects/ng-easycommerce/src/lib/ec-components/widgets-ec/index.ts → lib/ec-components/widgets-ec/index.d.ts} +4 -4
- package/{projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/index.ts → lib/ec-components/widgets-ec/loading/index.d.ts} +3 -3
- package/lib/ec-components/widgets-ec/loading/loading-full-ec/loading-full-ec.component.d.ts +5 -0
- package/lib/ec-components/widgets-ec/loading/loading-inline-ec/loading-inline-ec.component.d.ts +6 -0
- package/lib/ec-components/widgets-ec/loading/loading-section-ec/loading-section-ec.component.d.ts +5 -0
- package/lib/ec-components/widgets-ec/magnizoom-ec/magnizoom-ec.component.d.ts +70 -0
- package/lib/ec-components/widgets-ec/price-ec/price-ec.component.d.ts +16 -0
- package/lib/ec-components/widgets-ec/re-captcha-ec/re-captcha-ec.component.d.ts +26 -0
- package/lib/ec-guards/auth.guard.d.ts +8 -0
- package/lib/ec-guards/index.d.ts +1 -0
- package/lib/ec-pipe/ec-currency-symbol.pipe.d.ts +56 -0
- package/lib/ec-pipe/index.d.ts +1 -0
- package/lib/ec-services/addressing.service.d.ts +233 -0
- package/lib/ec-services/analytics/analytics.service.d.ts +50 -0
- package/lib/ec-services/analytics/doppler.service.d.ts +26 -0
- package/lib/ec-services/analytics/facebook-pixel.service.d.ts +102 -0
- package/lib/ec-services/analytics/google-analytics.service.d.ts +118 -0
- package/lib/ec-services/analytics/gtm.service.d.ts +153 -0
- package/{projects/ng-easycommerce/src/lib/ec-services/analytics/index.ts → lib/ec-services/analytics/index.d.ts} +6 -6
- package/lib/ec-services/analytics/metricool-pixel.service.d.ts +26 -0
- package/lib/ec-services/auth.service.d.ts +229 -0
- package/lib/ec-services/auth.storage.service.d.ts +24 -0
- package/lib/ec-services/blocks-repository.service.d.ts +40 -0
- package/lib/ec-services/blocks.service.d.ts +38 -0
- package/lib/ec-services/cart.service.d.ts +211 -0
- package/lib/ec-services/channel.service.d.ts +59 -0
- package/lib/ec-services/checkout.service.d.ts +49 -0
- package/lib/ec-services/currency.service.d.ts +108 -0
- package/lib/ec-services/filters.service.d.ts +56 -0
- package/lib/ec-services/form.service.d.ts +50 -0
- package/{projects/ng-easycommerce/src/lib/ec-services/index.ts → lib/ec-services/index.d.ts} +26 -24
- package/lib/ec-services/local-storage.service.d.ts +40 -0
- package/lib/ec-services/ngx-local-storage.service.d.ts +42 -0
- package/lib/ec-services/options.service.d.ts +121 -0
- package/lib/ec-services/order-utility.service.d.ts +15 -0
- package/lib/ec-services/orders.service.d.ts +14 -0
- package/lib/ec-services/pagination.service.d.ts +89 -0
- package/lib/ec-services/parameters.service.d.ts +41 -0
- package/lib/ec-services/payment.service.d.ts +22 -0
- package/lib/ec-services/product-detail.service.d.ts +97 -0
- package/lib/ec-services/products.service.d.ts +48 -0
- package/lib/ec-services/re-captcha.service.d.ts +65 -0
- package/lib/ec-services/shipment.service.d.ts +49 -0
- package/lib/ec-services/stores.service.d.ts +12 -0
- package/lib/ec-services/test.service.d.ts +6 -0
- package/lib/ec-services/toast.service.d.ts +59 -0
- package/lib/interceptors/auth.interceptor.d.ts +2 -0
- package/lib/interceptors/index.d.ts +1 -0
- package/lib/interfaces/analytics/event-key.d.ts +1 -0
- package/lib/interfaces/analytics/facebook-pixel-data.d.ts +5 -0
- package/{projects/ng-easycommerce/src/lib/interfaces/analytics/gtm-config.ts → lib/interfaces/analytics/gtm-config.d.ts} +6 -6
- package/{projects/ng-easycommerce/src/lib/interfaces/analytics/index.ts → lib/interfaces/analytics/index.d.ts} +3 -3
- package/lib/interfaces/blocks.d.ts +41 -0
- package/{projects/ng-easycommerce/src/lib/interfaces/checkout.ts → lib/interfaces/checkout.d.ts} +12 -14
- package/{projects/ng-easycommerce/src/lib/interfaces/connection.ts → lib/interfaces/connection.d.ts} +7 -8
- package/lib/interfaces/coupon.d.ts +5 -0
- package/lib/interfaces/currency.d.ts +9 -0
- package/{projects/ng-easycommerce/src/lib/interfaces/deserializable.ts → lib/interfaces/deserializable.d.ts} +3 -3
- package/{projects/ng-easycommerce/src/lib/interfaces/environment.ts → lib/interfaces/environment.d.ts} +6 -6
- package/{projects/ng-easycommerce/src/lib/interfaces/filter.ts → lib/interfaces/filter.d.ts} +38 -59
- package/{projects/ng-easycommerce/src/lib/interfaces/index.ts → lib/interfaces/index.d.ts} +16 -18
- package/lib/interfaces/options.d.ts +26 -0
- package/lib/interfaces/pagination.d.ts +24 -0
- package/lib/interfaces/parameter.d.ts +14 -0
- package/{projects/ng-easycommerce/src/lib/interfaces/product.ts → lib/interfaces/product.d.ts} +73 -81
- package/lib/interfaces/step.d.ts +15 -0
- package/lib/interfaces/storage.d.ts +7 -0
- package/{projects/ng-easycommerce/src/lib/interfaces/store.ts → lib/interfaces/store.d.ts} +17 -17
- package/lib/interfaces/types/index.d.ts +1 -0
- package/lib/interfaces/types/user.type.d.ts +5 -0
- package/lib/providers/index.d.ts +1 -0
- package/lib/providers/provideEnvironment.d.ts +13 -0
- package/lib/stores/currency.store.d.ts +7 -0
- package/lib/stores/index.d.ts +1 -0
- package/package.json +29 -58
- package/{projects/ng-easycommerce/src/public-api.ts → public-api.d.ts} +8 -24
- package/.editorconfig +0 -16
- package/angular.json +0 -48
- package/projects/ng-easycommerce/README.md +0 -24
- package/projects/ng-easycommerce/ng-package.json +0 -7
- package/projects/ng-easycommerce/package.json +0 -12
- package/projects/ng-easycommerce/src/lib/api/connection.service.ts +0 -79
- package/projects/ng-easycommerce/src/lib/api/index.ts +0 -1
- package/projects/ng-easycommerce/src/lib/classes/checkout/index.ts +0 -1
- package/projects/ng-easycommerce/src/lib/classes/checkout/steps.ts +0 -37
- package/projects/ng-easycommerce/src/lib/classes/filters/attributes-filter.ts +0 -74
- package/projects/ng-easycommerce/src/lib/classes/filters/category-filter.ts +0 -57
- package/projects/ng-easycommerce/src/lib/classes/filters/dynamics-filter.ts +0 -57
- package/projects/ng-easycommerce/src/lib/classes/filters/filter-factory.ts +0 -23
- package/projects/ng-easycommerce/src/lib/classes/filters/filter.ts +0 -89
- package/projects/ng-easycommerce/src/lib/classes/filters/index.ts +0 -6
- package/projects/ng-easycommerce/src/lib/classes/filters/sort-filter.ts +0 -93
- package/projects/ng-easycommerce/src/lib/classes/user.ts +0 -68
- package/projects/ng-easycommerce/src/lib/constants/api.constants.service.ts +0 -69
- package/projects/ng-easycommerce/src/lib/constants/core.constants.service.ts +0 -210
- package/projects/ng-easycommerce/src/lib/constants/index.ts +0 -2
- package/projects/ng-easycommerce/src/lib/ec-components/abstractions-components/block-ec.component.ts +0 -107
- package/projects/ng-easycommerce/src/lib/ec-components/abstractions-components/index.ts +0 -2
- package/projects/ng-easycommerce/src/lib/ec-components/abstractions-components/menu-ec.component.ts +0 -102
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/auth-ec.component.html +0 -10
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/auth-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/auth-ec.component.ts +0 -13
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/confirm-account-ec/confirm-account-ec.component.html +0 -19
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/confirm-account-ec/confirm-account-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/confirm-account-ec/confirm-account-ec.component.ts +0 -34
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/forgot-password-ec/forgot-password-ec.component.html +0 -31
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/forgot-password-ec/forgot-password-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/forgot-password-ec/forgot-password-ec.component.ts +0 -55
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/login-form-ec/login-form-ec.component.html +0 -30
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/login-form-ec/login-form-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/login-form-ec/login-form-ec.component.ts +0 -92
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/register-form-ec/register-form-ec.component.html +0 -55
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/register-form-ec/register-form-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/register-form-ec/register-form-ec.component.ts +0 -102
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.html +0 -233
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/auth-ec/register-wholesaler-form-ec/register-wholesaler-form-ec.component.ts +0 -149
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-banner-box-ec/block-banner-box-ec.component.html +0 -113
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-banner-box-ec/block-banner-box-ec.component.scss +0 -12
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-banner-box-ec/block-banner-box-ec.component.ts +0 -100
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.html +0 -111
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-banner-full-ec/block-banner-full-ec.component.ts +0 -77
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.html +0 -62
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-form-contact-ec/block-form-contact-ec.component.ts +0 -89
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-html-ec/block-html-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-html-ec/block-html-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-html-ec/block-html-ec.component.ts +0 -33
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-newsletter-ec/block-newsletter-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-newsletter-ec/block-newsletter-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-newsletter-ec/block-newsletter-ec.component.ts +0 -81
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-products-ec/block-products-ec.component.html +0 -40
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-products-ec/block-products-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/block-products-ec/block-products-ec.component.ts +0 -97
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/blocks-ec.component.html +0 -41
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/blocks-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/blocks-ec/blocks-ec.component.ts +0 -86
- package/projects/ng-easycommerce/src/lib/ec-components/breadcrumb-ec/breadcrumb-ec.component.html +0 -20
- package/projects/ng-easycommerce/src/lib/ec-components/breadcrumb-ec/breadcrumb-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/breadcrumb-ec/breadcrumb-ec.component.ts +0 -30
- package/projects/ng-easycommerce/src/lib/ec-components/cart-ec/cart-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/cart-ec/cart-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/cart-ec/cart-ec.component.ts +0 -24
- package/projects/ng-easycommerce/src/lib/ec-components/cart-ec/cart-item-ec/cart-item-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/cart-ec/cart-item-ec/cart-item-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/cart-ec/cart-item-ec/cart-item-ec.component.ts +0 -51
- package/projects/ng-easycommerce/src/lib/ec-components/cart-ec/index.ts +0 -2
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/checkout-ec.component.html +0 -56
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/checkout-ec.component.scss +0 -38
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/checkout-ec.component.ts +0 -67
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/dataform-ec/dataform-ec.component.html +0 -836
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/dataform-ec/dataform-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/dataform-ec/dataform-ec.component.ts +0 -302
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/dataform-ec/input-ec/input-ec.component.html +0 -32
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/dataform-ec/input-ec/input-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/dataform-ec/input-ec/input-ec.component.ts +0 -52
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.html +0 -12
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/detail-checkout-block-ec/detail-checkout-block-ec.component.ts +0 -48
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-ec.component.html +0 -195
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-ec.component.ts +0 -103
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/bank-transfer-ec/bank-transfer-ec.component.html +0 -28
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/bank-transfer-ec/bank-transfer-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/bank-transfer-ec/bank-transfer-ec.component.ts +0 -26
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/mp-redirect-ec/mp-redirect-ec.component.html +0 -33
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/mp-redirect-ec/mp-redirect-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/mp-redirect-ec/mp-redirect-ec.component.ts +0 -116
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/offline-ec/offline-ec.component.html +0 -13
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/offline-ec/offline-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/payment-ec/payment-methods/offline-ec/offline-ec.component.ts +0 -26
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/shipment-ec/shipment-ec.component.html +0 -111
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/shipment-ec/shipment-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/shipment-ec/shipment-ec.component.ts +0 -111
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/step-container-ec/step-container-ec.component.html +0 -33
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/step-container-ec/step-container-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/step-container-ec/step-container-ec.component.ts +0 -39
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/success-ec/success-ec.component.html +0 -59
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/success-ec/success-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/checkout-ec/success-ec/success-ec.component.ts +0 -65
- package/projects/ng-easycommerce/src/lib/ec-components/collection-ec/collection-ec.component.html +0 -16
- package/projects/ng-easycommerce/src/lib/ec-components/collection-ec/collection-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/collection-ec/collection-ec.component.ts +0 -83
- package/projects/ng-easycommerce/src/lib/ec-components/coupon-ec/coupon-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/coupon-ec/coupon-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/coupon-ec/coupon-ec.component.ts +0 -32
- package/projects/ng-easycommerce/src/lib/ec-components/filters-ec/filters-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/filters-ec/filters-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/filters-ec/filters-ec.component.ts +0 -45
- package/projects/ng-easycommerce/src/lib/ec-components/filters-sort-ec/filters-sort-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/filters-sort-ec/filters-sort-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/filters-sort-ec/filters-sort-ec.component.ts +0 -49
- package/projects/ng-easycommerce/src/lib/ec-components/footer-ec/footer-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/footer-ec/footer-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/footer-ec/footer-ec.component.spec.ts +0 -23
- package/projects/ng-easycommerce/src/lib/ec-components/footer-ec/footer-ec.component.ts +0 -18
- package/projects/ng-easycommerce/src/lib/ec-components/header-ec/header-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/header-ec/header-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/header-ec/header-ec.component.spec.ts +0 -23
- package/projects/ng-easycommerce/src/lib/ec-components/header-ec/header-ec.component.ts +0 -22
- package/projects/ng-easycommerce/src/lib/ec-components/home-ec/home-ec.component.html +0 -1
- package/projects/ng-easycommerce/src/lib/ec-components/home-ec/home-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/home-ec/home-ec.component.spec.ts +0 -23
- package/projects/ng-easycommerce/src/lib/ec-components/home-ec/home-ec.component.ts +0 -16
- package/projects/ng-easycommerce/src/lib/ec-components/product-detail-ec/product-detail-ec.component.html +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/product-detail-ec/product-detail-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/product-detail-ec/product-detail-ec.component.ts +0 -82
- package/projects/ng-easycommerce/src/lib/ec-components/product-ec/product-ec.component.html +0 -31
- package/projects/ng-easycommerce/src/lib/ec-components/product-ec/product-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/product-ec/product-ec.component.ts +0 -46
- package/projects/ng-easycommerce/src/lib/ec-components/variants-ec/variants-ec.component.html +0 -65
- package/projects/ng-easycommerce/src/lib/ec-components/variants-ec/variants-ec.component.scss +0 -8
- package/projects/ng-easycommerce/src/lib/ec-components/variants-ec/variants-ec.component.ts +0 -20
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-full-ec/loading-full-ec.component.html +0 -7
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-full-ec/loading-full-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-full-ec/loading-full-ec.component.ts +0 -13
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-inline-ec/loading-inline-ec.component.html +0 -5
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-inline-ec/loading-inline-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-inline-ec/loading-inline-ec.component.ts +0 -13
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-section-ec/loading-section-ec.component.html +0 -3
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-section-ec/loading-section-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/loading/loading-section-ec/loading-section-ec.component.ts +0 -13
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/magnizoom-ec/magnizoom-ec.component.html +0 -11
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/magnizoom-ec/magnizoom-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/magnizoom-ec/magnizoom-ec.component.ts +0 -177
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/price-ec/price-ec.component.html +0 -47
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/price-ec/price-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/price-ec/price-ec.component.ts +0 -22
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/re-captcha-ec/re-captcha-ec.component.html +0 -6
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/re-captcha-ec/re-captcha-ec.component.scss +0 -0
- package/projects/ng-easycommerce/src/lib/ec-components/widgets-ec/re-captcha-ec/re-captcha-ec.component.ts +0 -70
- package/projects/ng-easycommerce/src/lib/ec-guards/auth.guard.ts +0 -19
- package/projects/ng-easycommerce/src/lib/ec-guards/index.ts +0 -1
- package/projects/ng-easycommerce/src/lib/ec-pipe/ec-currency-symbol.pipe.ts +0 -99
- package/projects/ng-easycommerce/src/lib/ec-pipe/index.ts +0 -1
- package/projects/ng-easycommerce/src/lib/ec-services/addressing.service.ts +0 -199
- package/projects/ng-easycommerce/src/lib/ec-services/analytics/analytics.service.ts +0 -76
- package/projects/ng-easycommerce/src/lib/ec-services/analytics/doppler.service.ts +0 -38
- package/projects/ng-easycommerce/src/lib/ec-services/analytics/facebook-pixel.service.ts +0 -214
- package/projects/ng-easycommerce/src/lib/ec-services/analytics/google-analytics.service.ts +0 -284
- package/projects/ng-easycommerce/src/lib/ec-services/analytics/gtm.service.ts +0 -413
- package/projects/ng-easycommerce/src/lib/ec-services/analytics/metricool-pixel.service.ts +0 -46
- package/projects/ng-easycommerce/src/lib/ec-services/auth.service.ts +0 -438
- package/projects/ng-easycommerce/src/lib/ec-services/auth.storage.service.ts +0 -54
- package/projects/ng-easycommerce/src/lib/ec-services/blocks-repository.service.ts +0 -67
- package/projects/ng-easycommerce/src/lib/ec-services/blocks.service.ts +0 -48
- package/projects/ng-easycommerce/src/lib/ec-services/cart.service.ts +0 -492
- package/projects/ng-easycommerce/src/lib/ec-services/channel.service.ts +0 -81
- package/projects/ng-easycommerce/src/lib/ec-services/checkout.service.ts +0 -196
- package/projects/ng-easycommerce/src/lib/ec-services/currency.service.ts +0 -179
- package/projects/ng-easycommerce/src/lib/ec-services/filters.service.ts +0 -133
- package/projects/ng-easycommerce/src/lib/ec-services/form.service.ts +0 -82
- package/projects/ng-easycommerce/src/lib/ec-services/local-storage.service.ts +0 -54
- package/projects/ng-easycommerce/src/lib/ec-services/ngx-local-storage.service.ts +0 -66
- package/projects/ng-easycommerce/src/lib/ec-services/options.service.ts +0 -274
- package/projects/ng-easycommerce/src/lib/ec-services/order-utility.service.ts +0 -52
- package/projects/ng-easycommerce/src/lib/ec-services/pagination.service.ts +0 -172
- package/projects/ng-easycommerce/src/lib/ec-services/parameters.service.ts +0 -67
- package/projects/ng-easycommerce/src/lib/ec-services/payment.service.ts +0 -63
- package/projects/ng-easycommerce/src/lib/ec-services/product-detail.service.ts +0 -288
- package/projects/ng-easycommerce/src/lib/ec-services/products.service.ts +0 -162
- package/projects/ng-easycommerce/src/lib/ec-services/re-captcha.service.ts +0 -126
- package/projects/ng-easycommerce/src/lib/ec-services/shipment.service.ts +0 -174
- package/projects/ng-easycommerce/src/lib/ec-services/stores.service.ts +0 -27
- package/projects/ng-easycommerce/src/lib/ec-services/toast.service.ts +0 -84
- package/projects/ng-easycommerce/src/lib/interceptors/auth.interceptor.ts +0 -43
- package/projects/ng-easycommerce/src/lib/interceptors/index.ts +0 -1
- package/projects/ng-easycommerce/src/lib/interfaces/analytics/event-key.ts +0 -14
- package/projects/ng-easycommerce/src/lib/interfaces/analytics/facebook-pixel-data.ts +0 -5
- package/projects/ng-easycommerce/src/lib/interfaces/blocks.ts +0 -56
- package/projects/ng-easycommerce/src/lib/interfaces/coupon.ts +0 -5
- package/projects/ng-easycommerce/src/lib/interfaces/currency.ts +0 -10
- package/projects/ng-easycommerce/src/lib/interfaces/options.ts +0 -28
- package/projects/ng-easycommerce/src/lib/interfaces/pagination.ts +0 -27
- package/projects/ng-easycommerce/src/lib/interfaces/parameter.ts +0 -15
- package/projects/ng-easycommerce/src/lib/interfaces/step.ts +0 -19
- package/projects/ng-easycommerce/src/lib/interfaces/storage.ts +0 -7
- package/projects/ng-easycommerce/src/lib/interfaces/types/index.ts +0 -1
- package/projects/ng-easycommerce/src/lib/interfaces/types/user.type.ts +0 -5
- package/projects/ng-easycommerce/src/lib/providers/index.ts +0 -1
- package/projects/ng-easycommerce/src/lib/providers/provideEnvironment.ts +0 -24
- package/projects/ng-easycommerce/src/lib/stores/currency.store.ts +0 -20
- package/projects/ng-easycommerce/src/lib/stores/index.ts +0 -1
- package/projects/ng-easycommerce/tsconfig.lib.json +0 -15
- package/projects/ng-easycommerce/tsconfig.lib.prod.json +0 -11
- package/projects/ng-easycommerce/tsconfig.spec.json +0 -15
- package/tsconfig.doc.json +0 -4
- package/tsconfig.json +0 -37
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/ec-i18n/ct.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/ec-i18n/en.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/ec-i18n/es.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/ec-i18n/fr.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/ec-i18n/gl.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/ec-i18n/pr.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/recaptcha/recaptcha-site-keys.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/recaptcha/recaptcha-sites-prod.json +0 -0
- /package/{projects/ng-easycommerce/src/lib/assets → assets}/recaptcha/recaptcha-sites.json +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PaymentEcComponent implements OnInit {
|
|
4
|
+
private _paymentService;
|
|
5
|
+
private _checkoutService;
|
|
6
|
+
private _methodDataSubject;
|
|
7
|
+
private _loadingSubject;
|
|
8
|
+
methods$: import("rxjs").Observable<any[]>;
|
|
9
|
+
loading$: import("rxjs").Observable<boolean>;
|
|
10
|
+
methodData$: import("rxjs").Observable<any>;
|
|
11
|
+
loadingInternal: boolean;
|
|
12
|
+
constructor();
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
setActive($event: any): void;
|
|
15
|
+
setMethod(method: any): Promise<void>;
|
|
16
|
+
isRedirectRedsys: (code: string) => boolean;
|
|
17
|
+
isRedirectCecaBank: (code: string) => boolean;
|
|
18
|
+
isMP: (code: string) => boolean;
|
|
19
|
+
isMPTarjetaDeCredito: (code: string) => boolean;
|
|
20
|
+
isMethodOffline: (code: string) => boolean;
|
|
21
|
+
isPeyPalExpress: (code: string) => boolean;
|
|
22
|
+
isMobbex: (code: string) => boolean;
|
|
23
|
+
isBancard: (code: string) => boolean;
|
|
24
|
+
isDecidir: (code: string) => boolean;
|
|
25
|
+
isCulqi: (code: string) => boolean;
|
|
26
|
+
isBankTransfer: (code: string) => boolean;
|
|
27
|
+
isCatastro: (code: string) => boolean;
|
|
28
|
+
isBamboo: (code: string) => boolean;
|
|
29
|
+
allData(): any;
|
|
30
|
+
emitResult: () => Promise<void>;
|
|
31
|
+
setLoading: (estado?: boolean) => boolean;
|
|
32
|
+
verifyValidate: ($event: any) => void;
|
|
33
|
+
next: () => void;
|
|
34
|
+
goBack: () => void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaymentEcComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaymentEcComponent, "app-payment-ec", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BankTransferEcComponent implements OnInit {
|
|
4
|
+
method: any;
|
|
5
|
+
verifyValidate: any;
|
|
6
|
+
setLoading: any;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BankTransferEcComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BankTransferEcComponent, "app-bank-transfer-ec", never, { "method": { "alias": "method"; "required": true; }; "verifyValidate": { "alias": "verifyValidate"; "required": false; }; "setLoading": { "alias": "setLoading"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './mp-redirect-ec/mp-redirect-ec.component';
|
|
2
|
-
export * from './bank-transfer-ec/bank-transfer-ec.component';
|
|
3
|
-
export * from './offline-ec/offline-ec.component';
|
|
1
|
+
export * from './mp-redirect-ec/mp-redirect-ec.component';
|
|
2
|
+
export * from './bank-transfer-ec/bank-transfer-ec.component';
|
|
3
|
+
export * from './offline-ec/offline-ec.component';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MpRedirectEcComponent implements OnInit {
|
|
4
|
+
private _paymentService;
|
|
5
|
+
private _toastService;
|
|
6
|
+
method: null;
|
|
7
|
+
total_amount: number;
|
|
8
|
+
allData: any;
|
|
9
|
+
ready: EventEmitter<any>;
|
|
10
|
+
protected preference: any;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
url: any;
|
|
13
|
+
closeModal: string;
|
|
14
|
+
ventana: any;
|
|
15
|
+
window?: Window;
|
|
16
|
+
localStorage?: Storage;
|
|
17
|
+
private platformId;
|
|
18
|
+
constructor();
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
clickClose: () => void;
|
|
21
|
+
iniciar: () => void;
|
|
22
|
+
callState: () => void;
|
|
23
|
+
processError: (err: any) => void;
|
|
24
|
+
clearStorageState: () => void;
|
|
25
|
+
getPreference: () => Promise<void>;
|
|
26
|
+
setError: (message: any) => void;
|
|
27
|
+
renderMP: (preference: any) => void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MpRedirectEcComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MpRedirectEcComponent, "app-mp-redirect-ec", never, { "method": { "alias": "method"; "required": false; }; "total_amount": { "alias": "total_amount"; "required": false; }; "allData": { "alias": "allData"; "required": false; }; }, { "ready": "ready"; }, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OfflineEcComponent implements OnInit {
|
|
4
|
+
method: any;
|
|
5
|
+
verifyValidate: any;
|
|
6
|
+
setLoading: any;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OfflineEcComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OfflineEcComponent, "app-offline-ec", never, { "method": { "alias": "method"; "required": true; }; "verifyValidate": { "alias": "verifyValidate"; "required": false; }; "setLoading": { "alias": "setLoading"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShipmentEcComponent implements OnInit {
|
|
5
|
+
private _shipmentService;
|
|
6
|
+
private _checkoutService;
|
|
7
|
+
methods$: Observable<any>;
|
|
8
|
+
isLastStep$: Observable<boolean>;
|
|
9
|
+
state$: Observable<any>;
|
|
10
|
+
private _hiddenMethods;
|
|
11
|
+
buttonsDisabled: boolean;
|
|
12
|
+
methodSelect: any;
|
|
13
|
+
loadingInternal: boolean;
|
|
14
|
+
moreInfoInMethod: boolean;
|
|
15
|
+
costos: any;
|
|
16
|
+
costs$: Observable<any[]>;
|
|
17
|
+
isLastOne: boolean;
|
|
18
|
+
enabledConfirmButton: boolean;
|
|
19
|
+
constructor();
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
filterMethods(methods: any): any;
|
|
22
|
+
setMethod(method: any): void;
|
|
23
|
+
validName(name: any): boolean;
|
|
24
|
+
emitResult: (method_name: string, contract_data: any) => void;
|
|
25
|
+
verifyValidate(costs: any[], contract: any, data: any): void;
|
|
26
|
+
goBack(): void;
|
|
27
|
+
next(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShipmentEcComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShipmentEcComponent, "app-shipment-ec", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Step } from '../../../classes';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StepContainerEcComponent {
|
|
4
|
+
private _checkoutService;
|
|
5
|
+
steps: Step[];
|
|
6
|
+
constructor();
|
|
7
|
+
next(): void;
|
|
8
|
+
back(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepContainerEcComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepContainerEcComponent, "app-step-container-ec", never, { "steps": { "alias": "steps"; "required": true; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SuccessEcComponent implements OnInit {
|
|
4
|
+
private _apiConsts;
|
|
5
|
+
private _cartService;
|
|
6
|
+
private _router;
|
|
7
|
+
private _activatedRoute;
|
|
8
|
+
private _checkoutService;
|
|
9
|
+
private _blocksService;
|
|
10
|
+
locale: string;
|
|
11
|
+
orderDetails: {};
|
|
12
|
+
params: any;
|
|
13
|
+
from_mp: boolean;
|
|
14
|
+
payments: any;
|
|
15
|
+
blocks: any;
|
|
16
|
+
/**
|
|
17
|
+
* @description variable para recibir un template en caso de que se quiera cambiar la informacion por defecto.
|
|
18
|
+
*/
|
|
19
|
+
notInfoToMethodTemplate: TemplateRef<any> | null;
|
|
20
|
+
constructor();
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
/**
|
|
23
|
+
* @description Chequea si existe un bloque recibido por parametro.
|
|
24
|
+
* @param codeBlock codigo del bloque.
|
|
25
|
+
* @returns el bloque si lo encontro.
|
|
26
|
+
*/
|
|
27
|
+
containsBlock(codeBlock: string): any;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SuccessEcComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SuccessEcComponent, "app-order-success-ec", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { DefaultFilter, FilterType, Product } from '../../interfaces';
|
|
3
|
+
import { AuthService, OptionsService, ProductsService } from '../../ec-services';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import { CoreConstantsService } from '../../constants';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { Filter } from '../../classes';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class CollectionEcComponent implements OnInit {
|
|
10
|
+
protected _productsService: ProductsService;
|
|
11
|
+
protected _activeRoute: ActivatedRoute;
|
|
12
|
+
protected _optionsService: OptionsService;
|
|
13
|
+
params$: Observable<import("@angular/router").Params>;
|
|
14
|
+
queryParams$: Observable<import("@angular/router").Params>;
|
|
15
|
+
products$: Observable<Product[]>;
|
|
16
|
+
authService: AuthService;
|
|
17
|
+
constanst: CoreConstantsService;
|
|
18
|
+
products: Product[];
|
|
19
|
+
defaultFilters: DefaultFilter[];
|
|
20
|
+
loading: Boolean;
|
|
21
|
+
countProducts: import("@angular/core").WritableSignal<number>;
|
|
22
|
+
private loaded;
|
|
23
|
+
optionsFilters: FilterType[];
|
|
24
|
+
filters_sort: Filter[];
|
|
25
|
+
private _filtersService;
|
|
26
|
+
filters$: Observable<Filter[]>;
|
|
27
|
+
ready$: Observable<boolean>;
|
|
28
|
+
private window?;
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
private total;
|
|
31
|
+
private platformId;
|
|
32
|
+
constructor();
|
|
33
|
+
getProducts(): void;
|
|
34
|
+
onScroll(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CollectionEcComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollectionEcComponent, "lib-collection-ec", never, { "optionsFilters": { "alias": "optionsFilters"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CouponEcComponent {
|
|
4
|
+
private _cartService;
|
|
5
|
+
coupon$: Observable<any>;
|
|
6
|
+
couponValue: string;
|
|
7
|
+
addCoupon(): void;
|
|
8
|
+
validCoupon(): boolean;
|
|
9
|
+
removeCoupon(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CouponEcComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CouponEcComponent, "app-coupon-ec", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Filter } from '../../classes';
|
|
2
|
+
import { FilterElement, FilterType } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FiltersEcComponent {
|
|
5
|
+
private _filtersService;
|
|
6
|
+
filters: Filter[];
|
|
7
|
+
filter$: import("rxjs").Observable<Filter[]>;
|
|
8
|
+
constructor();
|
|
9
|
+
getSpecificFilter(type: FilterType): Filter | null;
|
|
10
|
+
onSelect(event: any, filter: FilterElement[] | null): void;
|
|
11
|
+
setSelected(filter: Filter | null, selected: FilterElement): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersEcComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FiltersEcComponent, "lib-filters-ec", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Filter } from '../../classes';
|
|
3
|
+
import { FilterElement } from '../../interfaces';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FiltersSortEcComponent {
|
|
6
|
+
private _filtersService;
|
|
7
|
+
filters: Filter[];
|
|
8
|
+
filter$: import("rxjs").Observable<Filter[]>;
|
|
9
|
+
changeFilter: EventEmitter<any>;
|
|
10
|
+
constructor();
|
|
11
|
+
onSelect(event: any, filter: FilterElement[]): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FiltersSortEcComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FiltersSortEcComponent, "app-filters-sort-ec", never, {}, { "changeFilter": "changeFilter"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MenuEcComponent } from '../abstractions-components';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Componente que se encarga de manejar la funcionalidad del Footer.
|
|
5
|
+
* @extends {MenuEcComponent}
|
|
6
|
+
*/
|
|
7
|
+
export declare class FooterEcComponent extends MenuEcComponent {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterEcComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterEcComponent, "lib-footer-ec", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MenuEcComponent } from '../abstractions-components';
|
|
2
|
+
import { CartService } from '../../ec-services';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { AuthService } from '../../ec-services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Componente que se encarga de manejar la funcionalidad del Header.
|
|
8
|
+
*/
|
|
9
|
+
export declare class HeaderEcComponent extends MenuEcComponent {
|
|
10
|
+
_cartService: CartService;
|
|
11
|
+
authService: AuthService;
|
|
12
|
+
count$: Observable<number>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderEcComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderEcComponent, "lib-header-ec", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Componente que se encarga de manejar el Home de la aplicación.
|
|
4
|
+
*/
|
|
5
|
+
export declare class HomeEcComponent {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomeEcComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomeEcComponent, "lib-home-ec", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
package/{projects/ng-easycommerce/src/lib/ec-components/index.ts → lib/ec-components/index.d.ts}
RENAMED
|
@@ -1,17 +1,24 @@
|
|
|
1
|
-
export * from './footer-ec/footer-ec.component';
|
|
2
|
-
export * from './header-ec/header-ec.component';
|
|
3
|
-
export * from './home-ec/home-ec.component';
|
|
4
|
-
export * from './blocks-ec/blocks-ec.component';
|
|
5
|
-
export * from './product-ec/product-ec.component';
|
|
6
|
-
export * from './collection-ec/collection-ec.component';
|
|
7
|
-
export * from './filters-sort-ec/filters-sort-ec.component';
|
|
8
|
-
export * from './widgets-ec';
|
|
9
|
-
export * from './auth-ec';
|
|
10
|
-
export * from './filters-ec/filters-ec.component';
|
|
11
|
-
export * from './product-detail-ec/product-detail-ec.component';
|
|
12
|
-
export * from './variants-ec/variants-ec.component';
|
|
13
|
-
export * from './breadcrumb-ec/breadcrumb-ec.component';
|
|
14
|
-
export * from './cart-ec';
|
|
15
|
-
export * from './coupon-ec/coupon-ec.component';
|
|
16
|
-
export * from './checkout-ec/checkout-ec.component';
|
|
17
|
-
export * from './checkout-ec/success-ec/success-ec.component';
|
|
1
|
+
export * from './footer-ec/footer-ec.component';
|
|
2
|
+
export * from './header-ec/header-ec.component';
|
|
3
|
+
export * from './home-ec/home-ec.component';
|
|
4
|
+
export * from './blocks-ec/blocks-ec.component';
|
|
5
|
+
export * from './product-ec/product-ec.component';
|
|
6
|
+
export * from './collection-ec/collection-ec.component';
|
|
7
|
+
export * from './filters-sort-ec/filters-sort-ec.component';
|
|
8
|
+
export * from './widgets-ec';
|
|
9
|
+
export * from './auth-ec';
|
|
10
|
+
export * from './filters-ec/filters-ec.component';
|
|
11
|
+
export * from './product-detail-ec/product-detail-ec.component';
|
|
12
|
+
export * from './variants-ec/variants-ec.component';
|
|
13
|
+
export * from './breadcrumb-ec/breadcrumb-ec.component';
|
|
14
|
+
export * from './cart-ec';
|
|
15
|
+
export * from './coupon-ec/coupon-ec.component';
|
|
16
|
+
export * from './checkout-ec/checkout-ec.component';
|
|
17
|
+
export * from './checkout-ec/success-ec/success-ec.component';
|
|
18
|
+
export * from './account-ec';
|
|
19
|
+
export * from './blocks-ec/block-newsletter-ec/block-newsletter-ec.component';
|
|
20
|
+
export * from './blocks-ec/block-html-ec/block-html-ec.component';
|
|
21
|
+
export * from './blocks-ec/block-products-ec/block-products-ec.component';
|
|
22
|
+
export * from './blocks-ec/block-banner-full-ec/block-banner-full-ec.component';
|
|
23
|
+
export * from './blocks-ec/block-banner-box-ec/block-banner-box-ec.component';
|
|
24
|
+
export * from './blocks-ec/block-form-contact-ec/block-form-contact-ec.component';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Product } from '../../interfaces';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProductDetailEcComponent {
|
|
6
|
+
private _productDetailService;
|
|
7
|
+
private _productService;
|
|
8
|
+
private _activedRoute;
|
|
9
|
+
private _domSanitizer;
|
|
10
|
+
private _consts;
|
|
11
|
+
private _toastService;
|
|
12
|
+
private _meta;
|
|
13
|
+
private _title;
|
|
14
|
+
private _location;
|
|
15
|
+
product$: Observable<Product | null>;
|
|
16
|
+
options$: Observable<any>;
|
|
17
|
+
data$: Observable<any>;
|
|
18
|
+
mediaUrl: string;
|
|
19
|
+
code: string;
|
|
20
|
+
quantity: WritableSignal<number>;
|
|
21
|
+
constructor();
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
updateMetaTags(product: Product): void;
|
|
24
|
+
sanitizedHtml(html: string): import("@angular/platform-browser").SafeHtml;
|
|
25
|
+
addToCart(): void;
|
|
26
|
+
plus(stock?: number, multipleQuantity?: number): void;
|
|
27
|
+
less(multipleQuantity?: any): void;
|
|
28
|
+
checkStock(stock: number): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDetailEcComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDetailEcComponent, "app-product-detail-ec", never, {}, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Product } from '../../interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Componente que se encarga de manejar un producto.
|
|
6
|
+
* @class ProductEcComponent
|
|
7
|
+
*/
|
|
8
|
+
export declare class ProductEcComponent implements OnInit {
|
|
9
|
+
/**
|
|
10
|
+
* Datos del producto.
|
|
11
|
+
*/
|
|
12
|
+
product: Product;
|
|
13
|
+
/**
|
|
14
|
+
* Se usa para saber si el producto es de tipo Box o no y definir la vista adecuada.
|
|
15
|
+
*/
|
|
16
|
+
isProductBox: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Constantes del core
|
|
19
|
+
*/
|
|
20
|
+
loaded: EventEmitter<number>;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
private consts;
|
|
23
|
+
private analyticsService;
|
|
24
|
+
private router;
|
|
25
|
+
/**
|
|
26
|
+
* URL para las imagenes del producto.
|
|
27
|
+
*/
|
|
28
|
+
mediaUrl: string;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductEcComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductEcComponent, "app-product-ec", never, { "product": { "alias": "product"; "required": true; }; "isProductBox": { "alias": "isProductBox"; "required": false; }; }, { "loaded": "loaded"; }, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class VariantsEcComponent {
|
|
3
|
+
private _productDetailsService;
|
|
4
|
+
options$: import("rxjs").Observable<any>;
|
|
5
|
+
setOption(optionCode: any, optionValue: any): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<VariantsEcComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VariantsEcComponent, "app-variants-ec", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './loading';
|
|
2
|
-
export * from './price-ec/price-ec.component';
|
|
3
|
-
export * from './re-captcha-ec/re-captcha-ec.component';
|
|
4
|
-
export * from './magnizoom-ec/magnizoom-ec.component';
|
|
1
|
+
export * from './loading';
|
|
2
|
+
export * from './price-ec/price-ec.component';
|
|
3
|
+
export * from './re-captcha-ec/re-captcha-ec.component';
|
|
4
|
+
export * from './magnizoom-ec/magnizoom-ec.component';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './loading-full-ec/loading-full-ec.component';
|
|
2
|
-
export * from './loading-section-ec/loading-section-ec.component';
|
|
3
|
-
export * from './loading-inline-ec/loading-inline-ec.component';
|
|
1
|
+
export * from './loading-full-ec/loading-full-ec.component';
|
|
2
|
+
export * from './loading-section-ec/loading-section-ec.component';
|
|
3
|
+
export * from './loading-inline-ec/loading-inline-ec.component';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoadingFullEcComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingFullEcComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingFullEcComponent, "app-loading-full-ec", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
package/lib/ec-components/widgets-ec/loading/loading-inline-ec/loading-inline-ec.component.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoadingInlineEcComponent {
|
|
3
|
+
type: 'border' | 'grow';
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingInlineEcComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingInlineEcComponent, "app-loading-inline-ec", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
package/lib/ec-components/widgets-ec/loading/loading-section-ec/loading-section-ec.component.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoadingSectionEcComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingSectionEcComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingSectionEcComponent, "app-loading-section-ec", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
interface Size2D {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
}
|
|
7
|
+
type Point2D = {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
} | null;
|
|
11
|
+
export declare class MagnizoomEcComponent implements OnInit {
|
|
12
|
+
private document;
|
|
13
|
+
private platformId;
|
|
14
|
+
private imageSrc;
|
|
15
|
+
set ImageSrc(value: string);
|
|
16
|
+
zoomMode: 'LENS' | 'COVER';
|
|
17
|
+
minZoomFactor: number;
|
|
18
|
+
maxZoomFactor: number;
|
|
19
|
+
imageStyle: {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
};
|
|
22
|
+
imageClass: any;
|
|
23
|
+
mainCanvasRef: ElementRef;
|
|
24
|
+
canvas: HTMLCanvasElement;
|
|
25
|
+
context: CanvasRenderingContext2D | null;
|
|
26
|
+
image: HTMLImageElement;
|
|
27
|
+
mousePosition: Point2D;
|
|
28
|
+
lensSize: Size2D;
|
|
29
|
+
zoomFactor: number;
|
|
30
|
+
get canvasWidth(): number;
|
|
31
|
+
get canvasHeight(): number;
|
|
32
|
+
constructor();
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
initContext(): void;
|
|
35
|
+
loadImage(src: string): void;
|
|
36
|
+
render(): void;
|
|
37
|
+
renderLensMode(): void;
|
|
38
|
+
renderCoverMode(): void;
|
|
39
|
+
getZoomRect(): {
|
|
40
|
+
x: number;
|
|
41
|
+
y: number;
|
|
42
|
+
w: number;
|
|
43
|
+
h: number;
|
|
44
|
+
};
|
|
45
|
+
getClippingRect(): {
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
w: number;
|
|
49
|
+
h: number;
|
|
50
|
+
};
|
|
51
|
+
getCoverRect(): {
|
|
52
|
+
x: number;
|
|
53
|
+
y: number;
|
|
54
|
+
w: number;
|
|
55
|
+
h: number;
|
|
56
|
+
};
|
|
57
|
+
clampRect(x: number, y: number, w: number, h: number): {
|
|
58
|
+
x: number;
|
|
59
|
+
y: number;
|
|
60
|
+
w: number;
|
|
61
|
+
h: number;
|
|
62
|
+
};
|
|
63
|
+
calculateMousePosition(clientX: number, clientY: number): void;
|
|
64
|
+
onMouseLeave(event: MouseEvent): void;
|
|
65
|
+
onMouseEnterOrMove(event: MouseEvent): void;
|
|
66
|
+
onMouseScroll(event: WheelEvent): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MagnizoomEcComponent, never>;
|
|
68
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MagnizoomEcComponent, "[app-magnizoom-ec]", never, { "ImageSrc": { "alias": "ImageSrc"; "required": false; }; "zoomMode": { "alias": "zoomMode"; "required": false; }; "minZoomFactor": { "alias": "minZoomFactor"; "required": false; }; "maxZoomFactor": { "alias": "maxZoomFactor"; "required": false; }; "imageStyle": { "alias": "imageStyle"; "required": false; }; "imageClass": { "alias": "imageClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Componente para manejar la vista del precio de un producto.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PriceEcComponent {
|
|
6
|
+
/**
|
|
7
|
+
* Precio de un producto.
|
|
8
|
+
*/
|
|
9
|
+
price: any;
|
|
10
|
+
/**
|
|
11
|
+
* Precio de venta de un producto.
|
|
12
|
+
*/
|
|
13
|
+
saleprice: any;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceEcComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PriceEcComponent, "app-price-ec", never, { "price": { "alias": "price"; "required": false; }; "saleprice": { "alias": "saleprice"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ReCaptchaEcComponent implements OnInit, ControlValueAccessor {
|
|
5
|
+
/**
|
|
6
|
+
* Formulario que contiene al captcha.
|
|
7
|
+
|
|
8
|
+
@Input({required: true}) form!:any;*/
|
|
9
|
+
/**
|
|
10
|
+
* Clave para el captcha.
|
|
11
|
+
*/
|
|
12
|
+
siteKey: string | undefined;
|
|
13
|
+
private _recaptchaService;
|
|
14
|
+
captcha: any;
|
|
15
|
+
private onChange;
|
|
16
|
+
private onTouched;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
updateSiteKey(): void;
|
|
19
|
+
resolved(captchaResponse: any): void;
|
|
20
|
+
writeValue(obj: any): void;
|
|
21
|
+
registerOnChange(fn: any): void;
|
|
22
|
+
registerOnTouched(fn: any): void;
|
|
23
|
+
setDisabledState?(isDisabled: boolean): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReCaptchaEcComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReCaptchaEcComponent, "re-captcha-ec", never, { "siteKey": { "alias": "siteKey"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auth.guard';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Formatea el precio de un producto.
|
|
5
|
+
* @implements {PipeTransform}
|
|
6
|
+
*/
|
|
7
|
+
export declare class EcCurrencySymbolPipe implements PipeTransform {
|
|
8
|
+
/**
|
|
9
|
+
* Contiene el valor de la moneda actual
|
|
10
|
+
*/
|
|
11
|
+
private currency;
|
|
12
|
+
/**
|
|
13
|
+
* Servicio de Currency (para manejar la moneda)
|
|
14
|
+
*/
|
|
15
|
+
private currencyService;
|
|
16
|
+
/**
|
|
17
|
+
* Constantes del core
|
|
18
|
+
*/
|
|
19
|
+
private consts;
|
|
20
|
+
banner: any;
|
|
21
|
+
set ecAddActionRedirect(value: any);
|
|
22
|
+
constructor();
|
|
23
|
+
/**
|
|
24
|
+
* Transforma el valor pasado y devuelve un string con los formatos aplicados
|
|
25
|
+
* @param value Precio del producto
|
|
26
|
+
* @returns
|
|
27
|
+
*/
|
|
28
|
+
transform(value: any): string;
|
|
29
|
+
/**
|
|
30
|
+
* Genera el precio formateado con el simbolo y lo que las configuraciones requieran.
|
|
31
|
+
* @param valor
|
|
32
|
+
* @returns
|
|
33
|
+
*/
|
|
34
|
+
changeSymbolTransform(valor: any): any;
|
|
35
|
+
/**
|
|
36
|
+
* Limpia el simbolo de peso para obtener solo el número.
|
|
37
|
+
* @param value
|
|
38
|
+
* @returns
|
|
39
|
+
*/
|
|
40
|
+
clearSymbol(value: any): any;
|
|
41
|
+
/**
|
|
42
|
+
* Aplica el simbolo de la moneda, segun la configuración, del lado derecho o del lado izquierdo.
|
|
43
|
+
* @param value
|
|
44
|
+
* @returns
|
|
45
|
+
*/
|
|
46
|
+
positionSymbol(value: any): string;
|
|
47
|
+
/**
|
|
48
|
+
* Si el parametro `withoutDecimal` de currency es `true` le saca los decimales,
|
|
49
|
+
* de lo contrario se los agrega formateados.
|
|
50
|
+
* @param value
|
|
51
|
+
* @returns
|
|
52
|
+
*/
|
|
53
|
+
checkingWithoutDecimals(value: string): string;
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EcCurrencySymbolPipe, never>;
|
|
55
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EcCurrencySymbolPipe, "ecCurrencySymbol", true>;
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ec-currency-symbol.pipe';
|