ng-easycommerce 0.0.412 → 0.0.413

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 CHANGED
@@ -1,4 +1,12 @@
1
- # Ultimas Modificaciones
1
+ # version: 0.0.413
2
+
3
+ - Actualización de la interfaz de Store y StoreEcComponent para manejar tiendas exclusivas y con retiro local.
4
+
5
+ - Actualización de la vista de Seller, se agrega la columna para pedidos nuevos y se acomodan los estilos.
6
+
7
+ - Atualización de redirección AbleBuyerGuardService.
8
+
9
+ - Actualización de los diccionarios ec-i18n.
2
10
 
3
11
  ### version: 0.0.412
4
12
 
@@ -32,7 +40,7 @@
32
40
 
33
41
  ### version: 0.0.408
34
42
 
35
- - Ajuste en componente SellerDashboardContainer (UI y backend redirect)
43
+ - Ajuste en componente SellerDashboardContainer (UI y backend redirect).
36
44
 
37
45
  ### version: 0.0.407
38
46
 
@@ -225,7 +225,7 @@
225
225
  "product-details": "Product details",
226
226
  "product-name": "Article name",
227
227
  "product-removed": "Cart product removed",
228
- "product-updated": "The product quantity was updated",
228
+ "product-updated": "The product quantity was updated to {{quantity}}",
229
229
  "products": "Products",
230
230
  "profile": "Profile",
231
231
  "purchase-code": "Your purchase code is: ",
@@ -355,5 +355,7 @@
355
355
  "exit": "Exit",
356
356
  "start-impersonating": "Operating as: {{ customer }}",
357
357
  "stop-impersonating": "You are not operating as none of your customers",
358
- "must-select-customer": "You must select a customer to perform this action."
358
+ "must-select-customer": "You must select a customer to perform this action.",
359
+ "new-orders": "New orders",
360
+ "operate-as": "Operate as"
359
361
  }
@@ -226,7 +226,7 @@
226
226
  "product-details": "Detalles del producto",
227
227
  "product-name": "Nombre de artículo",
228
228
  "product-removed": "Se eliminó el producto en tu carrito",
229
- "product-updated": "Se actualizó la cantidad del producto",
229
+ "product-updated": "Se actualizó la cantidad del producto quedando en {{quantity}}",
230
230
  "products": "Productos",
231
231
  "profile": "Perfil",
232
232
  "purchase-code": "Su código de compra es: ",
@@ -356,5 +356,7 @@
356
356
  "exit": "Salir",
357
357
  "start-impersonating": "Operando como: {{ customer }}",
358
358
  "stop-impersonating": "No se encuentra operando por ninguno de sus clientes",
359
- "must-select-customer": "Debe seleccionar un cliente para ejecutar esta acción."
359
+ "must-select-customer": "Debe seleccionar un cliente para ejecutar esta acción.",
360
+ "new-orders": "Pedidos nuevos",
361
+ "operate-as": "Operar como"
360
362
  }
@@ -47,5 +47,39 @@
47
47
  "estacioncentral.easycommercetech.com": "tanda_1",
48
48
  "www.estacioncentral.com.ar": "tanda_1",
49
49
  "cuidex.easycommercetech.com": "tanda_1",
50
- "sherman.easycommercetech.com": "tanda_1"
50
+ "sherman.easycommercetech.com": "tanda_1",
51
+ "backend.almacendelmolino.com.ar": "tanda_1",
52
+ "bonjourlulu.com.ar": "tanda_1",
53
+ "shop.bonjourlulu.com.ar": "tanda_1",
54
+ "bonjourlulu.easycommercetech.com": "tanda_1",
55
+ "chispa.com.py": "tanda_1",
56
+ "deporcenter.easycommercetech.com": "tanda_1",
57
+ "backend.tienda.dos-hermanos.com": "tanda_1",
58
+ "easycommercetech.com": "tanda_1",
59
+ "test.easycommercetech.com": "tanda_1",
60
+ "www.elden.com": "tanda_1",
61
+ "www.elden.com.ar": "tanda_1",
62
+ "www.subzero.com.ar": "tanda_1",
63
+ "www.subzero-wolf.com.ar": "tanda_1",
64
+ "www.solac.com.ar": "tanda_1",
65
+ "www.smeg.com.ar": "tanda_1",
66
+ "subzero.easycommercetech.com": "tanda_1",
67
+ "smegv2.easycommercetech.com": "tanda_1",
68
+ "equipajes.easycommercetech.com": "tanda_1",
69
+ "delseychile.easycommercetech.com": "tanda_1",
70
+ "delseyargentina.easycommercetech.com": "tanda_1",
71
+ "equipajeurbano.easycommercetech.com": "tanda_1",
72
+ "gezatek.easycommercetech.com": "tanda_1",
73
+ "www.guolis.com.ar": "tanda_1",
74
+ "ibashop.com.ar": "tanda_1",
75
+ "iba.easycommercetech.com": "tanda_1",
76
+ "b2b.idargentina.com": "tanda_1",
77
+ "backend.lapequeteria.com": "tanda_1",
78
+ "maxifarma.com.py": "tanda_1",
79
+ "rheem.easycommercetech.com": "tanda_1",
80
+ "saiar.easycommercetech.com": "tanda_1",
81
+ "servicompras.easycommercetech.com": "tanda_1",
82
+ "thecouples.com.ar": "tanda_1",
83
+ "thecouples.easycommercetech.com": "tanda_1",
84
+ "iberspa.easycommercetech.tienda": "tanda_1"
51
85
  }
@@ -3961,11 +3961,11 @@
3961
3961
  _this.requestInProcess.next(false);
3962
3962
  };
3963
3963
  this.updateCartItemQuantity = function (variant_id, quantity) {
3964
- _this.items.find(function (item) { return item.variant_id == variant_id; }).quantity = quantity;
3964
+ var newQuantity = _this.items.find(function (item) { return item.variant_id == variant_id; }).quantity = quantity;
3965
3965
  _this.cartItemsSubject.next(_this.items);
3966
3966
  _this.requestInProcess.next(false);
3967
3967
  _this.updateLocalCart();
3968
- _this.toastrService.show('product-updated');
3968
+ _this.toastrService.show('product-updated', { quantity: newQuantity });
3969
3969
  };
3970
3970
  this.appendToCart = function (cart) {
3971
3971
  _this.updateCartObj(cart);
@@ -5140,7 +5140,7 @@
5140
5140
  this.router = router;
5141
5141
  }
5142
5142
  AbleBuyerGuardService$1.prototype.canActivate = function (routeSnapshot) {
5143
- var redirectTo = routeSnapshot.data.redirectTo || '/';
5143
+ var redirectTo = routeSnapshot.data.redirectSellerTo || '/';
5144
5144
  if (!this.auth.isAbleToBuy())
5145
5145
  this.router.navigateByUrl(redirectTo);
5146
5146
  return this.auth.isAbleToBuy();
@@ -8900,9 +8900,15 @@
8900
8900
  _this.sanitizer = sanitizer;
8901
8901
  _this.filterStores = null;
8902
8902
  _this.storesAll = null;
8903
+ _this.exclusiveStores = null;
8903
8904
  _this.imageMap = true;
8904
8905
  _this.stores = [];
8905
8906
  _this.provinces = [];
8907
+ /**
8908
+ * @description Obtiene todas la provincias que figuren en el arreglo
8909
+ * @param stores Arreglo de tiendas
8910
+ * @returns {Array} Arreglo de provincias
8911
+ */
8906
8912
  _this.getProvices = function (stores) {
8907
8913
  var provincesOpt = [];
8908
8914
  stores.forEach(function (store) {
@@ -8912,6 +8918,42 @@
8912
8918
  });
8913
8919
  return provincesOpt;
8914
8920
  };
8921
+ /**
8922
+ * @description Retorna un arreglo de objetos formado por las claves
8923
+ * "province"(contiene un objeto provincia) y
8924
+ * "stores" (contiene un arreglo de tiendas pertenecientes a la provincia)
8925
+ * @param stores Opcional, arreglo de tiendas a la que se le quiere aplicar la division por provincia
8926
+ * @returns {Array<{"province", "stores"}>}
8927
+ */
8928
+ _this.getStoresByProvinces = function (stores) {
8929
+ if (stores === void 0) { stores = _this.stores; }
8930
+ var storesByProvinces = [];
8931
+ if (stores) {
8932
+ var provinces = _this.getProvices(stores);
8933
+ provinces.forEach(function (elem) {
8934
+ var _a;
8935
+ var aux = (_a = stores) === null || _a === void 0 ? void 0 : _a.filter(function (store) { return store.province.code == elem.code; });
8936
+ storesByProvinces.push({ province: elem, stores: aux });
8937
+ });
8938
+ }
8939
+ return storesByProvinces;
8940
+ };
8941
+ /**
8942
+ * @description Retorna las tiendas con/sin retiro en el local
8943
+ * @param stores Opcional, arreglo de tiendas
8944
+ * @param cond Opcional, Si es "true" obtiene las tiendas con retiro local caso contrario "false"
8945
+ * @returns {Array<Store>} Arreglo de Store
8946
+ */
8947
+ _this.getPickupStores = function (stores, cond) {
8948
+ if (stores === void 0) { stores = _this.stores; }
8949
+ if (cond === void 0) { cond = true; }
8950
+ return stores && stores.filter(function (store) { return cond == store.pickupStore; });
8951
+ };
8952
+ /**
8953
+ * @description Metodo que devuelve las tiendas que NO son exclusivas.
8954
+ * @returns {Array<Store>} Arreglo de Store
8955
+ */
8956
+ _this.getNonExclusiveStores = function () { return _this.stores.filter(function (store) { return !store.exclusive; }); };
8915
8957
  _this.selectChange = function (select) {
8916
8958
  _this.filterStores = select != '' && _this.storesAll.filter(function (store) { return store.province.code == select; }) || _this.storesAll;
8917
8959
  return true;
@@ -8920,6 +8962,7 @@
8920
8962
  _this.storesService.stores.pipe(operators.filter(function (store) { return store && store.length > 0; })).subscribe(function (stores) {
8921
8963
  _this.storesAll = stores;
8922
8964
  _this.stores = stores;
8965
+ _this.exclusiveStores = stores.filter(function (store) { return store.exclusive; });
8923
8966
  _this.selectChange('');
8924
8967
  });
8925
8968
  _this.ecOnConstruct();
@@ -9130,8 +9173,8 @@
9130
9173
  SellerDashboardContainerEcComponent = __decorate$17([
9131
9174
  core.Component({
9132
9175
  selector: 'app-seller-dashboard-container',
9133
- template: "<section *ngIf=\"user\" id=\"seller-dashboard\">\n <div class=\"section-content mt-5 mb-2 tablaVendedores\">\n <div class=\"container-xl\">\n <div class=\"row\">\n <main class=\"col-md-12\">\n\n <ul *ngIf=\"hasHeader()\" class=\"nav nav-tabs\">\n <li class=\"nav-item col-12 col-lg-2\">\n <a *ngIf=\"hasUIComponent('HEADER_TAB')\" class=\"nav-link active cursor-pointer px-4\" aria-current=\"page\">\n {{ 'my-clients' | translate }}\n </a>\n </li>\n <div\n class=\"d-flex justify-content-end justify-content-lg-start justify-content-xl-end col-12 col-md-12 col-lg-6\">\n <a *ngIf=\"hasUIComponent('GENERATE_BUDGET_BTN')\" [routerLink]=\"'/collection'\"\n class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center\"><i\n class=\"bi bi-file-earmark me-2 mr-2\"></i>{{ 'generate-budget' | translate }}</a>\n <a *ngIf=\"hasUIComponent('MANAGE_ORDERS_BTN')\" (click)=\"navigateExternal(constants.getUrlBase())\"\n class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center me- me-lg-4 mr- mr-lg-4\"><i\n class=\"bi bi-archive-fill me-2 mr-2\"></i>{{ 'manage-orders' | translate }}</a>\n </div>\n <div class=\"d-flex ms-auto camposVendedores col-12 col-md-12 col-lg-4 justify-content-end\">\n <select *ngIf=\"hasUIComponent('SORT_SELECT')\" id=\"customerSort\" name=\"customerSort\"\n (change)=\"sortCustomers($event.target.value)\" class=\"mb-1 ordenarVendedores\">\n <option selected hidden disabled>{{ 'order-by' | translate }}</option>\n <option value='asc'>{{ 'client' | translate }} (A-Z)</option>\n <option value='desc'>{{ 'client' | translate }} (Z-A)</option>\n </select>\n <form *ngIf=\"hasUIComponent('SEARCH_FORM')\" class=\"col-lg-auto mb-lg-0 d-flex ms-3 ml-3 d-flex buscadorVendedores\">\n <input type=\"text\" name=\"searchInput\" class=\"form-control\"\n placeholder=\"{{ 'search' | translate }}\" [(ngModel)]=\"searchInput\"\n (keyup.enter)=\"updateCustomers()\">\n <button class=\"btn btn-primary ms-1 ml-1 bg-white border-dark btnSearch\"><i\n class=\"bi bi-search text-dark\" (click)=\"updateCustomers()\"></i></button>\n </form>\n </div>\n </ul>\n\n <ng-container *ngIf=\"user.customers?.length; else noCustomers\">\n\n <article class=\"card card-body mb-1 carritoProductoHeader m-0 py-0 mt-4\">\n <div class=\"row align-items-center font-bold border-bottom\">\n <div class=\"col-7 col-md-3 mb-md-0\">\n <small>{{ 'client' | translate | uppercase }}</small>\n </div>\n\n <div class=\"col-4 col-md-3 text-left d-none d-md-block\">\n <small>{{ 'user' | translate | uppercase }}</small>\n </div>\n\n <div class=\"col-3 col-md-2 text-left\">\n <small>{{ 'code' | translate | uppercase }}</small>\n </div>\n\n <div class=\"col-2 col-md-4 text-left\">\n <small></small>\n </div>\n\n </div>\n </article>\n\n <article *ngFor=\"let customer of filteredCustomers\" class=\"card card-body mb-3 cadaVendedor\">\n <div class=\"row d-flex align-items-center\">\n <div class=\"col-7 col-md-3 text-left\">\n <div class=\"price h6 fw-normal ps-2 pl-2 pb-0 mb-0\">\n {{ customer.firstName }} {{ customer.lastName }}\n <p class=\"d-block d-md-none fs-6 mt-1 mb-0 p-0 userMobile\">\n {{ customer.email }}\n </p>\n </div>\n </div>\n <div class=\"col-4 col-md-3 text-left d-none d-md-block\">\n <div class=\"price h6 fw-normal pb-0 mb-0 ps-2 pl-2\">\n {{ customer.email }}\n </div>\n </div>\n <div class=\"col-2 col-md-2 text-left ps-2 pl-2\">\n <div class=\"price h6 pb-0 mb-0 ps-1 pl-1\">{{ customer.id }}</div>\n </div>\n <div class=\"col-3 col-md-4 btnIngresar\">\n\n <ng-container\n *ngIf=\"authService.getCustomer()?.id == customer.id; else noActiveCustomer\">\n <a (click)=\"changeCustomer(null)\"\n class=\"btn btn-seller-primary justify-content-center\">\n <i class=\"bi bi-box-arrow-in-right me-2 mr-2\"></i>\n <small class=\"me-2 mr-2 d-none d-md-block\">\n {{ 'exit' | translate | uppercase }}\n </small>\n <div *ngIf=\"hasUIComponent('ORDER_COUNTER')\" class=\"contNumero\">\n {{ customer.ordersNotApproved }}\n </div>\n </a>\n </ng-container>\n <ng-template #noActiveCustomer>\n <a (click)=\"changeCustomer(customer)\"\n class=\"btn btn-seller-primary justify-content-center\">\n <i class=\"bi bi-box-arrow-in-right me-2 mr-2\"></i>\n <small class=\"me-2 mr-2 d-none d-md-block\">\n {{ 'access' | translate | uppercase }}\n </small>\n <div *ngIf=\"hasUIComponent('ORDER_COUNTER')\" class=\"contNumero\">\n {{ customer.ordersNotApproved }}\n </div>\n </a>\n </ng-template>\n\n </div>\n </div>\n </article>\n\n </ng-container>\n\n </main>\n </div>\n </div>\n </div>\n</section>\n\n<ng-template #noCustomers>\n <h4 class=\"text-center p-5\">{{ 'no-customers' | translate }}</h4>\n</ng-template>",
9134
- styles: ["#seller-dashboard{--seller-dashboard-primary-color:0,0,0}.btn-seller-primary{color:#fff!important;background-color:rgba(var(--seller-dashboard-primary-color),1)!important;border-color:rgba(var(--seller-dashboard-primary-color),1)!important}.btn-seller-primary:hover{background-color:rgba(var(--seller-dashboard-primary-color),.9)!important}.btn-seller-primary:active{background-color:rgba(var(--seller-dashboard-primary-color),.8)!important}.btnGestionar{padding:6px 12px!important;height:36px;display:flex;align-items:center;justify-content:center;margin-left:10px}.ordenarVendedores{width:150px!important;color:#8b8b8b!important;background-color:#fff;border:1px solid #b6b6b6!important;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px}.buscadorVendedores{margin-bottom:4px!important}.buscadorVendedores input{border:1px solid #b6b6b6!important;width:200px}.buscadorVendedores .btnSearch{border:1px solid #b6b6b6!important;padding:.375rem .75rem;font-size:1rem}.buscadorVendedores .btnSearch:focus{background-color:#fff!important}.carritoProductoHeader{border:none!important}.carritoProductoHeader small{font-size:13px}.cadaVendedor{padding:5px 0;margin-bottom:0!important;border:none!important;border-bottom:1px solid #ccc!important;border-radius:0!important;-webkit-border-radius:0}.cadaVendedor .btnIngresar a{padding:10px!important;border-width:1px!important;border-style:solid!important;display:flex;align-items:center;width:152px!important;margin-left:auto;color:#fff}.cadaVendedor .btnIngresar .contNumero{background-color:#eee;width:20px;height:20px;color:#000;font-size:13px;display:flex;align-items:center;justify-content:center;font-weight:600;border-radius:20px;-webkit-border-radius:20px;-moz-border-radius:20px;-ms-border-radius:20px;-o-border-radius:20px}.userMobile{font-size:14px!important;font-style:italic!important}.cadaVendedor .btnIngresar a:hover{background-color:rgba(var(--seller-dashboard-primary-color),.85)}.cadaVendedor .btnIngresar a:active{background-color:rgba(var(--seller-dashboard-primary-color),.8)}.cursor-pointer{cursor:pointer}.font-bold{font-weight:700}.border-bottom{border-bottom:1px solid #000!important}@media screen and (max-width:1200px){.btnGestionar{font-size:12px}}@media screen and (max-width:992px){.camposVendedores{justify-content:flex-end;margin-top:8px;margin-bottom:4px}}@media all and (max-width:768px){.ordenarVendedores{width:140px!important}.buscadorVendedores input{width:140px}.cadaVendedor .btnIngresar a{width:70px!important}}@media all and (max-width:576px){.tablaVendedores .nav-tabs .nav-link{font-size:13px;padding:6px!important}.btnGestionar{padding:6px 8px!important;font-size:13px;height:36px;display:flex;align-items:center;justify-content:center;margin-top:3px;margin-left:10px}.buscadorVendedores input,.ordenarVendedores{font-size:13px}}.fs-6{font-size:1rem!important}"]
9176
+ template: "<section *ngIf=\"user\" id=\"seller-dashboard\">\n <div class=\"section-content mt-5 mb-2 tablaVendedores\">\n <div class=\"container-xl\">\n <div class=\"row\">\n <main class=\"col-md-12\">\n\n <ul *ngIf=\"hasHeader()\" class=\"nav nav-tabs\">\n <li class=\"nav-item col-12 col-lg-2\">\n <a *ngIf=\"hasUIComponent('HEADER_TAB')\" class=\"nav-link active cursor-pointer px-4\"\n aria-current=\"page\">\n {{ 'my-clients' | translate }}\n </a>\n </li>\n <div\n class=\"d-flex justify-content-end justify-content-lg-start justify-content-xl-end col-12 col-md-12 col-lg-6\">\n <a *ngIf=\"hasUIComponent('GENERATE_BUDGET_BTN')\" [routerLink]=\"'/collection'\"\n class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center\"><i\n class=\"bi bi-file-earmark me-2 mr-2\"></i>{{ 'generate-budget' | translate }}</a>\n <a *ngIf=\"hasUIComponent('MANAGE_ORDERS_BTN')\"\n (click)=\"navigateExternal(constants.getUrlBase())\"\n class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center me- me-lg-4 mr- mr-lg-4\"><i\n class=\"bi bi-archive-fill me-2 mr-2\"></i>{{ 'manage-orders' | translate }}</a>\n </div>\n <div class=\"d-flex ms-auto camposVendedores col-12 col-md-12 col-lg-4 justify-content-end\">\n <select *ngIf=\"hasUIComponent('SORT_SELECT')\" id=\"customerSort\" name=\"customerSort\"\n (change)=\"sortCustomers($event.target.value)\" class=\"mb-1 ordenarVendedores\">\n <option selected hidden disabled>{{ 'order-by' | translate }}</option>\n <option value='asc'>{{ 'client' | translate }} (A-Z)</option>\n <option value='desc'>{{ 'client' | translate }} (Z-A)</option>\n </select>\n <form *ngIf=\"hasUIComponent('SEARCH_FORM')\"\n class=\"col-lg-auto mb-lg-0 d-flex ms-3 ml-3 d-flex buscadorVendedores\">\n <input type=\"text\" name=\"searchInput\" class=\"form-control\"\n placeholder=\"{{ 'search' | translate }}\" [(ngModel)]=\"searchInput\"\n (keyup.enter)=\"updateCustomers()\">\n <button class=\"btn btn-primary ms-1 ml-1 bg-white border-dark btnSearch\"><i\n class=\"bi bi-search text-dark\" (click)=\"updateCustomers()\"></i></button>\n </form>\n </div>\n </ul>\n\n <ng-container *ngIf=\"user.customers?.length; else noCustomers\">\n\n <article class=\"card card-body mb-1 carritoProductoHeader m-0 py-0 mt-4\">\n <div class=\"row align-items-center font-bold border-bottom\">\n <div class=\"col-5 col-md-3 mb-md-0\">\n <small>{{ 'client' | translate | uppercase }}</small>\n </div>\n\n <div class=\"col-4 col-md-3 text-left d-none d-md-block\">\n <small>{{ 'user' | translate | uppercase }}</small>\n </div>\n\n <div class=\"col-3 col-md-2 text-left\">\n <small>{{ 'code' | translate | uppercase }}</small>\n </div>\n <div class=\"col-4 col-md-2 text-left\">\n <small>{{ 'new-orders' | translate | uppercase }}</small>\n </div>\n <div class=\"col-2 col-md-2 text-left d-none d-md-block\">\n <small></small>\n </div>\n\n </div>\n </article>\n\n <article *ngFor=\"let customer of filteredCustomers\" class=\"card card-body mb-3 cadaVendedor\">\n <div class=\"row d-flex align-items-center\">\n <div class=\"col-5 col-md-3 text-left\">\n <div class=\"price h6 fw-normal ps-2 pl-2 pb-0 mb-0\">\n {{ customer.firstName }} {{ customer.lastName }}\n <p class=\"d-block d-md-none fs-6 mt-1 mb-0 p-0 userMobile\">\n {{ customer.email }}\n </p>\n </div>\n </div>\n <div class=\"col-4 col-md-3 text-left d-none d-md-block\">\n <div class=\"price h6 fw-normal pb-0 mb-0 ps-2 pl-2\">\n {{ customer.email }}\n </div>\n </div>\n <div class=\"col-3 col-md-2 text-left ps-2 pl-2\">\n <div class=\"price h6 pb-0 mb-0 ps-1 pl-1\">{{ customer.id }}</div>\n </div>\n <div class=\"col-4 col-md-2 text-left ps-2 pl-2\">\n <div *ngIf=\"true\" class=\"contNumero\">\n {{ customer.ordersNotApproved }}\n </div>\n </div>\n <div class=\"col-12 col-md-2 btnIngresar\">\n\n <ng-container\n *ngIf=\"authService.getCustomer()?.id == customer.id; else noActiveCustomer\">\n <a (click)=\"changeCustomer(null)\"\n class=\"btn btn-seller-primary justify-content-center\">\n <i class=\"bi bi-box-arrow-left me-2 mr-2\"></i>\n <small class=\"me-2 mr-2 d-none d-md-block\">\n {{ 'exit' | translate | uppercase }}\n </small>\n </a>\n </ng-container>\n <ng-template #noActiveCustomer>\n <a (click)=\"changeCustomer(customer)\"\n class=\"btn btn-seller-primary justify-content-center\">\n <i class=\"bi bi-box-arrow-in-right me-2 mr-2\"></i>\n <small class=\"me-2 mr-2 d-none d-md-block\">\n {{ 'operate-as' | translate | uppercase }}\n </small>\n </a>\n </ng-template>\n\n </div>\n </div>\n </article>\n\n </ng-container>\n\n </main>\n </div>\n </div>\n </div>\n</section>\n\n<ng-template #noCustomers>\n <h4 class=\"text-center p-5\">{{ 'no-customers' | translate }}</h4>\n</ng-template>",
9177
+ styles: ["#seller-dashboard{--seller-dashboard-primary-color:0,0,0}.btn-seller-primary{color:#fff!important;background-color:rgba(var(--seller-dashboard-primary-color),1)!important;border-color:rgba(var(--seller-dashboard-primary-color),1)!important}.btn-seller-primary:hover{background-color:rgba(var(--seller-dashboard-primary-color),.9)!important}.btn-seller-primary:active{background-color:rgba(var(--seller-dashboard-primary-color),.8)!important}.btnGestionar{padding:6px 12px!important;height:36px;display:flex;align-items:center;justify-content:center;margin-left:10px}.ordenarVendedores{width:150px!important;color:#8b8b8b!important;background-color:#fff;border:1px solid #b6b6b6!important;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px}.buscadorVendedores{margin-bottom:4px!important}.buscadorVendedores input{border:1px solid #b6b6b6!important;width:200px}.buscadorVendedores .btnSearch{border:1px solid #b6b6b6!important;padding:.375rem .75rem;font-size:1rem}.buscadorVendedores .btnSearch:focus{background-color:#fff!important}.carritoProductoHeader{border:none!important}.carritoProductoHeader small{font-size:13px}.cadaVendedor{padding:5px 0;margin-bottom:0!important;border:none!important;border-bottom:1px solid #ccc!important;border-radius:0!important;-webkit-border-radius:0}.cadaVendedor .btnIngresar a{padding:10px!important;border-width:1px!important;border-style:solid!important;display:flex;align-items:center;width:100%!important;margin-left:auto;color:#fff}.cadaVendedor .btnIngresar .contNumero{background-color:#eee;width:20px;height:20px;color:#000;font-size:13px;display:flex;align-items:center;justify-content:center;font-weight:600;border-radius:20px;-webkit-border-radius:20px;-moz-border-radius:20px;-ms-border-radius:20px;-o-border-radius:20px}.userMobile{font-size:14px!important;font-style:italic!important}.cadaVendedor .btnIngresar a:hover{background-color:rgba(var(--seller-dashboard-primary-color),.85)}.cadaVendedor .btnIngresar a:active{background-color:rgba(var(--seller-dashboard-primary-color),.8)}.cursor-pointer{cursor:pointer}.font-bold{font-weight:700}.border-bottom{border-bottom:1px solid #000!important}@media screen and (max-width:1200px){.btnGestionar{font-size:12px}}@media screen and (max-width:992px){.camposVendedores{justify-content:flex-end;margin-top:8px;margin-bottom:4px}}@media all and (max-width:768px){.ordenarVendedores{width:140px!important}.buscadorVendedores input{width:140px}.cadaVendedor .btnIngresar a{width:70px!important}}@media all and (max-width:576px){.tablaVendedores .nav-tabs .nav-link{font-size:13px;padding:6px!important}.btnGestionar{padding:6px 8px!important;font-size:13px;height:36px;display:flex;align-items:center;justify-content:center;margin-top:3px;margin-left:10px}.buscadorVendedores input,.ordenarVendedores{font-size:13px}}.fs-6{font-size:1rem!important}"]
9135
9178
  }),
9136
9179
  __param$9(3, core.Inject('env'))
9137
9180
  ], SellerDashboardContainerEcComponent);