ng-easycommerce 0.0.655-beta.1 → 0.0.655
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 +1 -1
- package/bundles/ng-easycommerce.umd.js +741 -376
- package/bundles/ng-easycommerce.umd.js.map +1 -1
- package/bundles/ng-easycommerce.umd.min.js +1 -1
- package/bundles/ng-easycommerce.umd.min.js.map +1 -1
- package/esm2015/lib/ec-component/footer-ec/footer-ec.component.js +174 -5
- package/esm2015/lib/ec-component/widgets-ec/price-ec/price-ec.component.js +3 -3
- package/esm2015/lib/interfaces/footer.types.js +1 -0
- package/esm2015/lib/services/footer/footer.adapters.js +72 -0
- package/esm2015/lib/services/footer/footer.pick.js +8 -0
- package/esm2015/lib/services/footer/footer.service.js +115 -0
- package/esm2015/public-api.js +4 -1
- package/esm5/lib/ec-component/footer-ec/footer-ec.component.js +174 -5
- package/esm5/lib/ec-component/widgets-ec/price-ec/price-ec.component.js +3 -3
- package/esm5/lib/interfaces/footer.types.js +1 -0
- package/esm5/lib/services/footer/footer.adapters.js +73 -0
- package/esm5/lib/services/footer/footer.pick.js +8 -0
- package/esm5/lib/services/footer/footer.service.js +123 -0
- package/esm5/public-api.js +4 -1
- package/fesm2015/ng-easycommerce.js +726 -378
- package/fesm2015/ng-easycommerce.js.map +1 -1
- package/fesm5/ng-easycommerce.js +736 -379
- package/fesm5/ng-easycommerce.js.map +1 -1
- package/lib/ec-component/footer-ec/footer-ec.component.d.ts +58 -1
- package/lib/interfaces/footer.types.d.ts +96 -0
- package/lib/services/footer/footer.adapters.d.ts +24 -0
- package/lib/services/footer/footer.pick.d.ts +3 -0
- package/lib/services/footer/footer.service.d.ts +28 -0
- package/ng-easycommerce.metadata.json +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
|
@@ -9915,6 +9915,200 @@
|
|
|
9915
9915
|
return FiltersTopEcComponent;
|
|
9916
9916
|
}(ComponentHelper));
|
|
9917
9917
|
|
|
9918
|
+
function withLeadingSlash(path) {
|
|
9919
|
+
return path.startsWith('/') ? path : '/' + path;
|
|
9920
|
+
}
|
|
9921
|
+
function toHref(item) {
|
|
9922
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
9923
|
+
switch (item.type) {
|
|
9924
|
+
case 'url':
|
|
9925
|
+
return ((_a = item.link) === null || _a === void 0 ? void 0 : _a.url) || '#';
|
|
9926
|
+
case 'category': {
|
|
9927
|
+
var c = (_b = item.link) === null || _b === void 0 ? void 0 : _b.category;
|
|
9928
|
+
return ((_c = c) === null || _c === void 0 ? void 0 : _c.slug) ? "/collection/categories/" + encodeURIComponent(c.slug) : '#';
|
|
9929
|
+
}
|
|
9930
|
+
case 'section':
|
|
9931
|
+
return '#';
|
|
9932
|
+
case 'parameter': {
|
|
9933
|
+
var p = (_d = item.link) === null || _d === void 0 ? void 0 : _d.parameter;
|
|
9934
|
+
if (((_f = (_e = p) === null || _e === void 0 ? void 0 : _e.code) === null || _f === void 0 ? void 0 : _f.startsWith('link_')) && ((_g = p) === null || _g === void 0 ? void 0 : _g.value))
|
|
9935
|
+
return p.value;
|
|
9936
|
+
var key = encodeURIComponent((_j = (_h = p) === null || _h === void 0 ? void 0 : _h.code, (_j !== null && _j !== void 0 ? _j : 'param')));
|
|
9937
|
+
var val = encodeURIComponent((_l = (_k = p) === null || _k === void 0 ? void 0 : _k.value, (_l !== null && _l !== void 0 ? _l : '')));
|
|
9938
|
+
return "/buscar?" + key + "=" + val;
|
|
9939
|
+
}
|
|
9940
|
+
case 'text':
|
|
9941
|
+
default:
|
|
9942
|
+
return '#';
|
|
9943
|
+
}
|
|
9944
|
+
}
|
|
9945
|
+
function toText(item) {
|
|
9946
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
9947
|
+
if (item.label)
|
|
9948
|
+
return item.label;
|
|
9949
|
+
switch (item.type) {
|
|
9950
|
+
case 'category': return _f = (_c = (_b = (_a = item.link) === null || _a === void 0 ? void 0 : _a.category) === null || _b === void 0 ? void 0 : _b.name, (_c !== null && _c !== void 0 ? _c : (_e = (_d = item.link) === null || _d === void 0 ? void 0 : _d.category) === null || _e === void 0 ? void 0 : _e.code)), (_f !== null && _f !== void 0 ? _f : 'Categoría');
|
|
9951
|
+
case 'section': return _m = (_j = (_h = (_g = item.link) === null || _g === void 0 ? void 0 : _g.section) === null || _h === void 0 ? void 0 : _h.name, (_j !== null && _j !== void 0 ? _j : (_l = (_k = item.link) === null || _k === void 0 ? void 0 : _k.section) === null || _l === void 0 ? void 0 : _l.code)), (_m !== null && _m !== void 0 ? _m : 'Sección');
|
|
9952
|
+
case 'parameter': return _q = (_p = (_o = item.link) === null || _o === void 0 ? void 0 : _o.parameter) === null || _p === void 0 ? void 0 : _p.code, (_q !== null && _q !== void 0 ? _q : 'Parámetro');
|
|
9953
|
+
case 'url': return 'Enlace';
|
|
9954
|
+
case 'text': return '';
|
|
9955
|
+
default: return 'Enlace';
|
|
9956
|
+
}
|
|
9957
|
+
}
|
|
9958
|
+
/** Devuelve el array de páginas de una sección (puede ser []). */
|
|
9959
|
+
function getSectionPages(item) {
|
|
9960
|
+
var _a, _b, _c;
|
|
9961
|
+
if (item.type !== 'section')
|
|
9962
|
+
return [];
|
|
9963
|
+
return (_c = (_b = (_a = item.link) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.pages, (_c !== null && _c !== void 0 ? _c : []));
|
|
9964
|
+
}
|
|
9965
|
+
/** Helper para saber si una sección trae al menos una página habilitada (o cualquiera si no validás enabled). */
|
|
9966
|
+
function hasSectionPages(item, onlyEnabled) {
|
|
9967
|
+
if (onlyEnabled === void 0) { onlyEnabled = true; }
|
|
9968
|
+
var pages = getSectionPages(item);
|
|
9969
|
+
return onlyEnabled ? pages.some(function (p) { var _a; return (_a = p) === null || _a === void 0 ? void 0 : _a.enabled; }) : pages.length > 0;
|
|
9970
|
+
}
|
|
9971
|
+
/**
|
|
9972
|
+
* Arma el href de UNA página de sección.
|
|
9973
|
+
* @param item FooterItemView de tipo 'section'
|
|
9974
|
+
* @param pageCode code de la página (obligatorio)
|
|
9975
|
+
* @param sectionsBase base que te da consts.getSectionsRoute(), ej: 'section/' o '/section/'
|
|
9976
|
+
*/
|
|
9977
|
+
function toSectionPageHref(item, pageCode, sectionsBase) {
|
|
9978
|
+
if (item.type !== 'section')
|
|
9979
|
+
return '#';
|
|
9980
|
+
if (!pageCode)
|
|
9981
|
+
return '#';
|
|
9982
|
+
var base = withLeadingSlash(sectionsBase || 'section/');
|
|
9983
|
+
return "" + base + encodeURIComponent(pageCode);
|
|
9984
|
+
}
|
|
9985
|
+
/** Texto a mostrar para la página (fallback name -> code). */
|
|
9986
|
+
function toSectionPageText(page) {
|
|
9987
|
+
var _a, _b, _c, _d;
|
|
9988
|
+
return (_d = (_b = (_a = page) === null || _a === void 0 ? void 0 : _a.name, (_b !== null && _b !== void 0 ? _b : (_c = page) === null || _c === void 0 ? void 0 : _c.code)), (_d !== null && _d !== void 0 ? _d : '')).toString();
|
|
9989
|
+
}
|
|
9990
|
+
|
|
9991
|
+
function pickFooterForDevice(footers, device) {
|
|
9992
|
+
var exact = footers.find(function (f) { return f.footer.displayMode === device; });
|
|
9993
|
+
if (exact)
|
|
9994
|
+
return exact;
|
|
9995
|
+
var both = footers.find(function (f) { return f.footer.displayMode === 'both'; });
|
|
9996
|
+
return both || null;
|
|
9997
|
+
}
|
|
9998
|
+
|
|
9999
|
+
var __decorate$_ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10000
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10001
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10002
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10003
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10004
|
+
};
|
|
10005
|
+
var FooterService = /** @class */ (function () {
|
|
10006
|
+
function FooterService$1(conn, consts) {
|
|
10007
|
+
var _this = this;
|
|
10008
|
+
this.conn = conn;
|
|
10009
|
+
this.consts = consts;
|
|
10010
|
+
this.columnsSubject = new rxjs.BehaviorSubject([]);
|
|
10011
|
+
this.columns$ = this.columnsSubject.asObservable();
|
|
10012
|
+
this.extrasSubject = new rxjs.BehaviorSubject(null);
|
|
10013
|
+
this.extras$ = this.extrasSubject.asObservable();
|
|
10014
|
+
// === NUEVO: cache en memoria ===
|
|
10015
|
+
this.cachedList = [];
|
|
10016
|
+
this.currentDevice = 'desktop';
|
|
10017
|
+
this.loaded = false;
|
|
10018
|
+
this.footerApi = function () {
|
|
10019
|
+
return 'shop-api/' + _this.consts.getChannel() + '/footer' + '?locale=' + _this.consts.getLocale();
|
|
10020
|
+
};
|
|
10021
|
+
this.byPos = function (a, b) { var _a, _b; return (((_a = a) === null || _a === void 0 ? void 0 : _a.position) || 0) - (((_b = b) === null || _b === void 0 ? void 0 : _b.position) || 0); };
|
|
10022
|
+
this.isMobile = function () { return (typeof window !== 'undefined') && window.innerWidth < 750; };
|
|
10023
|
+
}
|
|
10024
|
+
FooterService$1.prototype.load = function (device) {
|
|
10025
|
+
var _this = this;
|
|
10026
|
+
this.conn.get(this.footerApi())
|
|
10027
|
+
.pipe(operators.catchError(function () { return rxjs.of([]); }))
|
|
10028
|
+
.subscribe(function (res) {
|
|
10029
|
+
var _a, _b, _c;
|
|
10030
|
+
var list = Array.isArray(res) ? res : [];
|
|
10031
|
+
var d = device || (_this.isMobile() ? 'mobile' : 'desktop');
|
|
10032
|
+
var chosen = pickFooterForDevice(list, d);
|
|
10033
|
+
var cols = (((_a = chosen) === null || _a === void 0 ? void 0 : _a.columns) || []).slice().sort(_this.byPos);
|
|
10034
|
+
cols.forEach(function (c) { return c.items && c.items.sort(_this.byPos); });
|
|
10035
|
+
_this.columnsSubject.next(cols);
|
|
10036
|
+
_this.extrasSubject.next((_c = (_b = chosen) === null || _b === void 0 ? void 0 : _b.extras, (_c !== null && _c !== void 0 ? _c : null)));
|
|
10037
|
+
});
|
|
10038
|
+
};
|
|
10039
|
+
/** Carga UNA SOLA VEZ y cachea todo. Luego aplica según device actual. */
|
|
10040
|
+
FooterService$1.prototype.loadOnce = function (initialDevice) {
|
|
10041
|
+
var _this = this;
|
|
10042
|
+
if (this.loaded) {
|
|
10043
|
+
// ya tengo datos: solo (re)aplico el device actual o el que me pasen
|
|
10044
|
+
if (initialDevice && initialDevice !== this.currentDevice) {
|
|
10045
|
+
this.currentDevice = initialDevice;
|
|
10046
|
+
this.applyDevice();
|
|
10047
|
+
}
|
|
10048
|
+
return;
|
|
10049
|
+
}
|
|
10050
|
+
this.currentDevice = initialDevice || this.getDeviceByWidth();
|
|
10051
|
+
this.conn.get(this.footerApi())
|
|
10052
|
+
.pipe(operators.catchError(function () { return rxjs.of([]); }))
|
|
10053
|
+
.subscribe(function (res) {
|
|
10054
|
+
_this.cachedList = Array.isArray(res) ? res : [];
|
|
10055
|
+
_this.loaded = true;
|
|
10056
|
+
_this.applyDevice(); // pinta columns/extras según this.currentDevice
|
|
10057
|
+
});
|
|
10058
|
+
};
|
|
10059
|
+
/** Cambia el device y re-arma columnas/extras desde el cache (sin API). */
|
|
10060
|
+
FooterService$1.prototype.setDevice = function (device) {
|
|
10061
|
+
if (device === this.currentDevice)
|
|
10062
|
+
return;
|
|
10063
|
+
this.currentDevice = device;
|
|
10064
|
+
if (!this.loaded)
|
|
10065
|
+
return; // todavía no llegó la data
|
|
10066
|
+
this.applyDevice();
|
|
10067
|
+
};
|
|
10068
|
+
/** Recalcula columns/extras para el currentDevice usando el cache. */
|
|
10069
|
+
FooterService$1.prototype.applyDevice = function () {
|
|
10070
|
+
var _this = this;
|
|
10071
|
+
var _a, _b, _c;
|
|
10072
|
+
var chosen = pickFooterForDevice(this.cachedList, this.currentDevice);
|
|
10073
|
+
var cols = (((_a = chosen) === null || _a === void 0 ? void 0 : _a.columns) || []).slice().sort(this.byPos);
|
|
10074
|
+
cols.forEach(function (c) { return c.items && c.items.sort(_this.byPos); });
|
|
10075
|
+
this.columnsSubject.next(cols);
|
|
10076
|
+
this.extrasSubject.next((_c = (_b = chosen) === null || _b === void 0 ? void 0 : _b.extras, (_c !== null && _c !== void 0 ? _c : null)));
|
|
10077
|
+
};
|
|
10078
|
+
FooterService$1.prototype.getDeviceByWidth = function () {
|
|
10079
|
+
return (typeof window !== 'undefined' && window.innerWidth < 750) ? 'mobile' : 'desktop';
|
|
10080
|
+
};
|
|
10081
|
+
FooterService$1.prototype.prefetch = function (device) {
|
|
10082
|
+
var _this = this;
|
|
10083
|
+
return new Promise(function (resolve) {
|
|
10084
|
+
_this.conn.get(_this.footerApi())
|
|
10085
|
+
.pipe(operators.catchError(function () { return rxjs.of([]); }), operators.first())
|
|
10086
|
+
.subscribe(function (res) {
|
|
10087
|
+
var _a, _b, _c;
|
|
10088
|
+
var list = Array.isArray(res) ? res : [];
|
|
10089
|
+
var d = device || (_this.isMobile() ? 'mobile' : 'desktop');
|
|
10090
|
+
var chosen = pickFooterForDevice(list, d);
|
|
10091
|
+
var cols = (((_a = chosen) === null || _a === void 0 ? void 0 : _a.columns) || []).slice().sort(_this.byPos);
|
|
10092
|
+
cols.forEach(function (c) { return c.items && c.items.sort(_this.byPos); });
|
|
10093
|
+
_this.columnsSubject.next(cols);
|
|
10094
|
+
_this.extrasSubject.next((_c = (_b = chosen) === null || _b === void 0 ? void 0 : _b.extras, (_c !== null && _c !== void 0 ? _c : null)));
|
|
10095
|
+
resolve();
|
|
10096
|
+
});
|
|
10097
|
+
});
|
|
10098
|
+
};
|
|
10099
|
+
FooterService$1.ctorParameters = function () { return [
|
|
10100
|
+
{ type: ConnectionService },
|
|
10101
|
+
{ type: Constants }
|
|
10102
|
+
]; };
|
|
10103
|
+
FooterService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function FooterService_Factory() { return new FooterService(core.ɵɵinject(ConnectionService), core.ɵɵinject(Constants)); }, token: FooterService, providedIn: "root" });
|
|
10104
|
+
FooterService$1 = __decorate$_([
|
|
10105
|
+
core.Injectable({
|
|
10106
|
+
providedIn: 'root'
|
|
10107
|
+
})
|
|
10108
|
+
], FooterService$1);
|
|
10109
|
+
return FooterService$1;
|
|
10110
|
+
}());
|
|
10111
|
+
|
|
9918
10112
|
var __extends$s = (this && this.__extends) || (function () {
|
|
9919
10113
|
var extendStatics = function (d, b) {
|
|
9920
10114
|
extendStatics = Object.setPrototypeOf ||
|
|
@@ -9939,19 +10133,25 @@
|
|
|
9939
10133
|
};
|
|
9940
10134
|
return __assign$m.apply(this, arguments);
|
|
9941
10135
|
};
|
|
9942
|
-
var __decorate
|
|
10136
|
+
var __decorate$$ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
9943
10137
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9944
10138
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9945
10139
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9946
10140
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9947
10141
|
};
|
|
10142
|
+
var __param$9 = (this && this.__param) || function (paramIndex, decorator) {
|
|
10143
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
10144
|
+
};
|
|
9948
10145
|
var FooterEcComponent = /** @class */ (function (_super) {
|
|
9949
10146
|
__extends$s(FooterEcComponent, _super);
|
|
9950
|
-
function FooterEcComponent(optionsService, paramsService, consts) {
|
|
10147
|
+
function FooterEcComponent(optionsService, paramsService, consts, footerService, router, platformId) {
|
|
9951
10148
|
var _this = _super.call(this) || this;
|
|
9952
10149
|
_this.optionsService = optionsService;
|
|
9953
10150
|
_this.paramsService = paramsService;
|
|
9954
10151
|
_this.consts = consts;
|
|
10152
|
+
_this.footerService = footerService;
|
|
10153
|
+
_this.router = router;
|
|
10154
|
+
_this.platformId = platformId;
|
|
9955
10155
|
_this.menuItemsCategories = [];
|
|
9956
10156
|
_this.menuItemsSections = [];
|
|
9957
10157
|
_this.menuItemsAttributes = [];
|
|
@@ -9959,6 +10159,9 @@
|
|
|
9959
10159
|
_this.categories = [];
|
|
9960
10160
|
_this.attributes = [];
|
|
9961
10161
|
_this.params = {};
|
|
10162
|
+
// helpers a mano para el template
|
|
10163
|
+
_this.toHref = toHref;
|
|
10164
|
+
_this.toText = toText;
|
|
9962
10165
|
_this.updateCategories = function (categories) {
|
|
9963
10166
|
_this.menuItemsCategories = _this.optionsService.generateMenu(categories);
|
|
9964
10167
|
_this.menuItemsCategories = _this.ecUpdateMenuItemCategories(_this.menuItemsCategories);
|
|
@@ -9995,6 +10198,9 @@
|
|
|
9995
10198
|
_this.ecUpdateMenuItemAttributes = function (menuItems) {
|
|
9996
10199
|
return menuItems;
|
|
9997
10200
|
};
|
|
10201
|
+
/* ----------------- Trackers para *ngFor ----------------- */
|
|
10202
|
+
_this.trackById = function (_, it) { var _a, _b; return _b = (_a = it) === null || _a === void 0 ? void 0 : _a.id, (_b !== null && _b !== void 0 ? _b : _); };
|
|
10203
|
+
_this.trackByPos = function (_, it) { var _a, _b; return _b = (_a = it) === null || _a === void 0 ? void 0 : _a.position, (_b !== null && _b !== void 0 ? _b : _); };
|
|
9998
10204
|
_this.optionsService.sections.subscribe(function (res) { return (res.length > 0) && _this.updateMenuItem(res); });
|
|
9999
10205
|
_this.optionsService.categories.subscribe(function (res) { return (res.length > 0) && _this.updateCategories(res); });
|
|
10000
10206
|
_this.optionsService.attributes.subscribe(function (res) { return (res.length > 0) && _this.updateAttributes(res); });
|
|
@@ -10005,19 +10211,170 @@
|
|
|
10005
10211
|
FooterEcComponent.prototype.ngOnInit = function () {
|
|
10006
10212
|
var _this = this;
|
|
10007
10213
|
this.paramsService.parameters.subscribe(function (res) { return _this.params = res; });
|
|
10214
|
+
// API: nos suscribimos a las columnas
|
|
10215
|
+
this.columns$ = this.footerService.columns$;
|
|
10216
|
+
this.extras$ = this.footerService.extras$;
|
|
10217
|
+
// Carga inicial UNA sola vez con el device actual
|
|
10218
|
+
var initialDevice = this.getDevice();
|
|
10219
|
+
this.footerService.loadOnce(initialDevice);
|
|
10220
|
+
// Conmutación por resize SIN llamar a la API
|
|
10221
|
+
if (common.isPlatformBrowser(this.platformId)) {
|
|
10222
|
+
this.deviceSub = rxjs.merge(rxjs.of(initialDevice), rxjs.fromEvent(window, 'resize').pipe(operators.debounceTime(150), operators.map(function () { return _this.getDevice(); }), operators.distinctUntilChanged())).subscribe(function (d) { return _this.footerService.setDevice(d); });
|
|
10223
|
+
}
|
|
10008
10224
|
this.ecOnInit();
|
|
10009
10225
|
};
|
|
10226
|
+
FooterEcComponent.prototype.getDevice = function () {
|
|
10227
|
+
if (!common.isPlatformBrowser(this.platformId))
|
|
10228
|
+
return 'desktop';
|
|
10229
|
+
return window.innerWidth < 750 ? 'mobile' : 'desktop';
|
|
10230
|
+
};
|
|
10231
|
+
// ¿El string "parece" una URL de imagen (por extensión)?
|
|
10232
|
+
FooterEcComponent.prototype.isImageUrl = function (v) {
|
|
10233
|
+
return !!v && /\.(png|jpe?g|svg|webp)$/i.test(v);
|
|
10234
|
+
};
|
|
10235
|
+
// Convierte un path relativo del media server en URL absoluta, o deja pasar si ya es http(s)
|
|
10236
|
+
FooterEcComponent.prototype.absOrMedia = function (v) {
|
|
10237
|
+
// Si "v" viene con "/media/image/", sacar esa parte
|
|
10238
|
+
var path = v.startsWith('/media/image/') ? v.replace('/media/image/', '') : v;
|
|
10239
|
+
return /^https?:\/\//i.test(path) ? path : (this.mediaUrl + path);
|
|
10240
|
+
};
|
|
10241
|
+
/* ----------------- Helpers para items tipo parameter ----------------- */
|
|
10242
|
+
// Devuelve el string del value del parámetro
|
|
10243
|
+
FooterEcComponent.prototype.paramValue = function (it) {
|
|
10244
|
+
return (it && it.link && it.link.parameter && typeof it.link.parameter.value === 'string')
|
|
10245
|
+
? it.link.parameter.value
|
|
10246
|
+
: '';
|
|
10247
|
+
};
|
|
10248
|
+
// Devuelve SOLO el path de imagen del parámetro (si existe en images[0].path,
|
|
10249
|
+
// si no, usa value si luce como imagen). No agrega mediaUrl todavía.
|
|
10250
|
+
FooterEcComponent.prototype.paramImagePath = function (it) {
|
|
10251
|
+
var _a, _b;
|
|
10252
|
+
var p = (_b = (_a = it) === null || _a === void 0 ? void 0 : _a.link) === null || _b === void 0 ? void 0 : _b.parameter;
|
|
10253
|
+
if (!p)
|
|
10254
|
+
return '';
|
|
10255
|
+
var imgPath = p.images && p.images[0] && p.images[0].path ? p.images[0].path : '';
|
|
10256
|
+
if (imgPath)
|
|
10257
|
+
return imgPath;
|
|
10258
|
+
return this.isImageUrl(p.value) ? p.value : '';
|
|
10259
|
+
};
|
|
10260
|
+
// ¿El parámetro representa una imagen?
|
|
10261
|
+
FooterEcComponent.prototype.isImageParam = function (it) {
|
|
10262
|
+
var path = this.paramImagePath(it);
|
|
10263
|
+
return !!path;
|
|
10264
|
+
};
|
|
10265
|
+
/* ----------------- Secciones → páginas (helpers neutrales) ----------------- */
|
|
10266
|
+
FooterEcComponent.prototype.sectionPages = function (item) {
|
|
10267
|
+
return getSectionPages(item).filter(function (p) { var _a, _b, _c; return (_b = (_a = p) === null || _a === void 0 ? void 0 : _a.enabled, (_b !== null && _b !== void 0 ? _b : true)) && !!((_c = p) === null || _c === void 0 ? void 0 : _c.code); });
|
|
10268
|
+
};
|
|
10269
|
+
FooterEcComponent.prototype.sectionHasPages = function (item) {
|
|
10270
|
+
return this.sectionPages(item).length > 0;
|
|
10271
|
+
};
|
|
10272
|
+
FooterEcComponent.prototype.sectionPageText = function (page) {
|
|
10273
|
+
var _a, _b;
|
|
10274
|
+
return (((_a = page) === null || _a === void 0 ? void 0 : _a.name) || ((_b = page) === null || _b === void 0 ? void 0 : _b.code) || '').toString();
|
|
10275
|
+
};
|
|
10276
|
+
FooterEcComponent.prototype.sectionPageHref = function (page) {
|
|
10277
|
+
var _a, _b, _c;
|
|
10278
|
+
var base = (((_b = (_a = this.consts).getSectionsRoute) === null || _b === void 0 ? void 0 : _b.call(_a)) || 'section/');
|
|
10279
|
+
var seg = (((_c = page) === null || _c === void 0 ? void 0 : _c.code) || '').toString();
|
|
10280
|
+
if (!seg)
|
|
10281
|
+
return '#';
|
|
10282
|
+
var pref = base.startsWith('/') ? base : "/" + base;
|
|
10283
|
+
return "" + pref + encodeURIComponent(seg);
|
|
10284
|
+
};
|
|
10285
|
+
/* ----------------- Helpers para EXTRAS ----------------- */
|
|
10286
|
+
FooterEcComponent.prototype.logoUrl = function (extras) {
|
|
10287
|
+
var _a, _b, _c;
|
|
10288
|
+
var p = (_c = (_b = (_a = extras) === null || _a === void 0 ? void 0 : _a.logo) === null || _b === void 0 ? void 0 : _b.image) === null || _c === void 0 ? void 0 : _c.path;
|
|
10289
|
+
return p ? this.absOrMedia(p) : '';
|
|
10290
|
+
};
|
|
10291
|
+
FooterEcComponent.prototype.legalHtml = function (extras) {
|
|
10292
|
+
var _a, _b;
|
|
10293
|
+
return ((_b = (_a = extras) === null || _a === void 0 ? void 0 : _a.legal) === null || _b === void 0 ? void 0 : _b.html) || '';
|
|
10294
|
+
};
|
|
10295
|
+
FooterEcComponent.prototype.fiscalQrUrl = function (extras) {
|
|
10296
|
+
var _a, _b, _c;
|
|
10297
|
+
var p = (_c = (_b = (_a = extras) === null || _a === void 0 ? void 0 : _a.fiscalQr) === null || _b === void 0 ? void 0 : _b.image) === null || _c === void 0 ? void 0 : _c.path;
|
|
10298
|
+
return p ? this.absOrMedia(p) : '';
|
|
10299
|
+
};
|
|
10300
|
+
FooterEcComponent.prototype.whatsappFloating = function (extras) {
|
|
10301
|
+
var _a, _b, _c, _d, _e;
|
|
10302
|
+
var e = (_a = extras) === null || _a === void 0 ? void 0 : _a.whatsappFloating;
|
|
10303
|
+
var url = ((_b = e) === null || _b === void 0 ? void 0 : _b.url) || '';
|
|
10304
|
+
var img = ((_d = (_c = e) === null || _c === void 0 ? void 0 : _c.image) === null || _d === void 0 ? void 0 : _d.path) ? this.absOrMedia(e.image.path) : '';
|
|
10305
|
+
return { enabled: !!((_e = e) === null || _e === void 0 ? void 0 : _e.enabled), url: url, imageUrl: img };
|
|
10306
|
+
};
|
|
10307
|
+
FooterEcComponent.prototype.styleFor = function (it) {
|
|
10308
|
+
var _a, _b;
|
|
10309
|
+
var s = ((_a = it) === null || _a === void 0 ? void 0 : _a.style) || {};
|
|
10310
|
+
// coerción: si viene string, lo paso a number; si null/0, no seteo
|
|
10311
|
+
var fs = (_b = s.fontSize, (_b !== null && _b !== void 0 ? _b : undefined));
|
|
10312
|
+
var fsNum = typeof fs === 'string' ? parseInt(fs, 10) : fs;
|
|
10313
|
+
return {
|
|
10314
|
+
'font-weight': s.bold ? 600 : null,
|
|
10315
|
+
'font-style': s.italic ? 'italic' : null,
|
|
10316
|
+
'text-decoration': s.underline ? 'underline' : null,
|
|
10317
|
+
'font-size.px': Number.isFinite(fsNum) ? fsNum : null,
|
|
10318
|
+
};
|
|
10319
|
+
};
|
|
10320
|
+
// en FooterComponent (hijo)
|
|
10321
|
+
FooterEcComponent.prototype.isInternalUrl = function (url) {
|
|
10322
|
+
return !!url && url.startsWith('/');
|
|
10323
|
+
};
|
|
10324
|
+
FooterEcComponent.prototype.makeAbsolute = function (url) {
|
|
10325
|
+
// para abrir rutas internas en nueva pestaña/ventana
|
|
10326
|
+
try {
|
|
10327
|
+
return this.isInternalUrl(url) ? (window.location.origin + url) : url;
|
|
10328
|
+
}
|
|
10329
|
+
catch ( // SSR/seguridad
|
|
10330
|
+
_a) { // SSR/seguridad
|
|
10331
|
+
return url;
|
|
10332
|
+
}
|
|
10333
|
+
};
|
|
10334
|
+
FooterEcComponent.prototype.openLink = function (ev, url, target) {
|
|
10335
|
+
if (!url) {
|
|
10336
|
+
ev.preventDefault();
|
|
10337
|
+
return;
|
|
10338
|
+
}
|
|
10339
|
+
var isInternal = this.isInternalUrl(url);
|
|
10340
|
+
if (target === 'same_tab') {
|
|
10341
|
+
if (isInternal) {
|
|
10342
|
+
ev.preventDefault();
|
|
10343
|
+
this.router.navigateByUrl(url);
|
|
10344
|
+
}
|
|
10345
|
+
// si es externo, dejamos que el <a href> lo maneje en la misma pestaña
|
|
10346
|
+
return;
|
|
10347
|
+
}
|
|
10348
|
+
// new_tab | new_window ⇒ window.open
|
|
10349
|
+
ev.preventDefault();
|
|
10350
|
+
var full = this.makeAbsolute(url);
|
|
10351
|
+
// para ambos usamos _blank, la diferencia son los "features"
|
|
10352
|
+
var features = (target === 'new_window')
|
|
10353
|
+
? 'noopener,noreferrer,width=1024,height=768' // ajustá tamaño/props a gusto
|
|
10354
|
+
: 'noopener,noreferrer';
|
|
10355
|
+
try {
|
|
10356
|
+
window.open(full, '_blank', features);
|
|
10357
|
+
}
|
|
10358
|
+
catch (_a) {
|
|
10359
|
+
// fallback por si un popup blocker interfiere
|
|
10360
|
+
window.location.href = full;
|
|
10361
|
+
}
|
|
10362
|
+
};
|
|
10010
10363
|
FooterEcComponent.ctorParameters = function () { return [
|
|
10011
10364
|
{ type: OptionsService },
|
|
10012
10365
|
{ type: ParametersService },
|
|
10013
|
-
{ type: Constants }
|
|
10366
|
+
{ type: Constants },
|
|
10367
|
+
{ type: FooterService },
|
|
10368
|
+
{ type: router.Router },
|
|
10369
|
+
{ type: Object, decorators: [{ type: core.Inject, args: [core.PLATFORM_ID,] }] }
|
|
10014
10370
|
]; };
|
|
10015
|
-
FooterEcComponent = __decorate
|
|
10371
|
+
FooterEcComponent = __decorate$$([
|
|
10016
10372
|
core.Component({
|
|
10017
10373
|
selector: 'app-footer-ec',
|
|
10018
10374
|
template: "",
|
|
10019
10375
|
styles: [""]
|
|
10020
|
-
})
|
|
10376
|
+
}),
|
|
10377
|
+
__param$9(5, core.Inject(core.PLATFORM_ID))
|
|
10021
10378
|
], FooterEcComponent);
|
|
10022
10379
|
return FooterEcComponent;
|
|
10023
10380
|
}(ComponentHelper));
|
|
@@ -10046,7 +10403,7 @@
|
|
|
10046
10403
|
};
|
|
10047
10404
|
return __assign$n.apply(this, arguments);
|
|
10048
10405
|
};
|
|
10049
|
-
var __decorate
|
|
10406
|
+
var __decorate$10 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10050
10407
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10051
10408
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10052
10409
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10256,10 +10613,10 @@
|
|
|
10256
10613
|
{ type: core.Renderer2 },
|
|
10257
10614
|
{ type: ChannelConfigService }
|
|
10258
10615
|
]; };
|
|
10259
|
-
__decorate
|
|
10616
|
+
__decorate$10([
|
|
10260
10617
|
core.ViewChild("menu")
|
|
10261
10618
|
], HeaderEcComponent.prototype, "menu_button", void 0);
|
|
10262
|
-
HeaderEcComponent = __decorate
|
|
10619
|
+
HeaderEcComponent = __decorate$10([
|
|
10263
10620
|
core.Component({
|
|
10264
10621
|
selector: 'app-header-ec',
|
|
10265
10622
|
template: "<!-- <header [class]=\"(!transparent ? 'no-banner' : '')\" id=\"header-principal\">\n <div class=\"row border-color-buttom-gray m-0 d-none d-md-block\" id=\"novedades\">\n <div class=\"col-12 py-2\">\n {{ (params && params.header) || 'Sin informaci\u00F3n de cabecera' }}\n </div>\n </div>\n <div class=\"row encabezado-superior m-0 d-flex justify-content-center\" id=\"top-menu-principal\">\n <div class=\"col-md-6 col-3 p-md-3 p-2\">\n <a routerLink=\"/home\">\n <img src=\"assets/image/logo.png\" id=\"logo-superior\" class=\"ml-md-4 ml-1\">\n </a>\n </div>\n <div class=\"col-md-6 col-9 px-md-5 px-2 d-flex align-items-center justify-content-end\">\n <ul class=\"nav d-flex align-items-center justify-content-end\">\n <li class=\"px-2 outside-menu\">\n <div class=\"order-3 order-lg-1 input-search pt-3\">\n <form (submit)=\"$event.preventDefault()\" class=\"navbar-form navbar-left m-1\">\n <div class=\"input-group input-group-sm mb-3\" >\n <input type=\"text\" class=\"form-control input-rounded bg-transparent border-left-none\" placeholder=\"Buscar producto\"\n aria-label=\"Username\" aria-describedby=\"basic-addon1\" (keyup)=\"setSearchValue($event)\">\n <div class=\"input-group-prepend\" (click)=\"getCollectionSearch()\" role=\"button\">\n <span class=\"input-group-text icon-rounded bg-transparent border-right-none\" id=\"basic-addon1\">\n <a class=\"color-white\"><img src=\"assets/svg/search.svg\"></a>\n </span>\n </div>\n </div>\n </form>\n </div>\n </li>\n <li class=\"px-2 outside-menu\">\n <a routerLink=\"cart\" class=\"color-white\"><img src=\"assets/svg/cart.svg\"></a>\n </li>\n <li class=\"px-2 outside-menu\">\n <a [routerLink]=\"'/account'\" *ngIf=\"(authService.loggedIn | async); else sessionOptionsViewMobile\" class=\"color-white\"><img src=\"assets/svg/user.svg\"></a>\n <ng-template #sessionOptionsViewMobile>\n <a [routerLink]=\"'/auth/login'\" class=\"color-white\"><img src=\"assets/svg/user.svg\"></a>\n </ng-template>\n </li>\n <li class=\"px-2 outside-menu\">\n <a disabled style=\"vertical-align: -webkit-ecline-middle;\"\n class=\"color-white ff-ubuntu-light font-sm\">ES</a>\n </li>\n <li class=\"px-2 d-inline-block d-md-none\">\n <a id=\"openMenu\" class=\"color-white\" (click)=\"toogleToolbar()\">\n <img src=\"assets/svg/menu.svg\" class=\"open-m\" >\n <img src=\"assets/svg/close.svg\" class=\"close-m\">\n </a>\n </li>\n </ul>\n </div>\n <div class=\"col-11 border-color-buttom-gray d-none d-md-block\"></div>\n </div>\n <nav class=\"py-md-3 py-0 w-100 d-none d-md-block\" id=\"menu-principal\" #menu>\n <ul class=\"nav d-flex flex-md-row flex-column justify-content-center\">\n <li class=\"dropdown separador-left\">\n <a class=\"dropdown-toggle color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\n data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" data-target=\"#buscador\"\n role=\"button\">\n CAT\u00C1LOGO\n </a>\n <ul class=\"dropdown-menu mega-menu dropdown-menu-right mt-md-2 mt-0\" role=\"menu\">\n <div class=\"flex-md-row flex-column py-0 d-flex align-items-start justify-content-center\">\n <div class=\"row mega-menu-center px-md-3 px-0\">\n <div class=\"col-sm py-3 box-submenu\"\n *ngFor=\"let category of categories; let i = index\">\n <div class=\"row\">\n <div class=\"col-3 col-md-4 p-0\">\n <img [src]=\"consts.mediaUrl() + category.images[0].path\"\n class=\"w-100\">\n </div>\n <div class=\"col-9 col-md-8 py-2 pr-0\">\n <a [routerLink]=\"category.path\">\n <h5 class=\"ff-ubuntu-semi-bold font-xl\">{{ category.title }}</h5>\n </a>\n <ul\n class=\"nav d-md-flex d-none flex-column font-ss ff-ubuntu color-white submenu\">\n <li class=\"text-uppercase mb-2\"\n *ngFor=\"let child of category.children\">\n <a [routerLink]=\"child.path\">\n {{ child.title }}\n </a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n </ul>\n </li>\n <li class=\"dropdown separador-left\">\n <a [routerLink]=\"'collection/'\"\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\n role=\"button\">\n NOVEDADES\n </a>\n </li>\n <li class=\"dropdown separador-left\">\n <a [routerLink]=\"'/collection/attributes/ofertas'\"\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\n role=\"button\">\n OFERTAS\n </a>\n </li>\n <li class=\"dropdown separador-left\">\n <a [routerLink]=\"'/section/quienes-somos'\"\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\n role=\"button\">\n QUIENES SOMOS\n </a>\n </li>\n <li class=\"dropdown separador-left\">\n <a [routerLink]=\"'/contact'\"\n class=\"color-white color-hover-golden ff-ubuntu-light py-md-2 py-3 px-4 font-sm\"\n role=\"button\">\n CONTACTO\n </a>\n </li>\n </ul>\n </nav>\n</header> -->",
|
|
@@ -10282,7 +10639,7 @@
|
|
|
10282
10639
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10283
10640
|
};
|
|
10284
10641
|
})();
|
|
10285
|
-
var __decorate$
|
|
10642
|
+
var __decorate$11 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10286
10643
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10287
10644
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10288
10645
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10307,7 +10664,7 @@
|
|
|
10307
10664
|
{ type: BlocksService },
|
|
10308
10665
|
{ type: Constants }
|
|
10309
10666
|
]; };
|
|
10310
|
-
HomeEcComponent = __decorate$
|
|
10667
|
+
HomeEcComponent = __decorate$11([
|
|
10311
10668
|
core.Component({
|
|
10312
10669
|
selector: 'app-home-ec',
|
|
10313
10670
|
template: "<app-blocks-ec [section]=\"'home'\"></app-blocks-ec>",
|
|
@@ -10330,7 +10687,7 @@
|
|
|
10330
10687
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
10331
10688
|
};
|
|
10332
10689
|
})();
|
|
10333
|
-
var __decorate$
|
|
10690
|
+
var __decorate$12 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10334
10691
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10335
10692
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10336
10693
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10400,25 +10757,25 @@
|
|
|
10400
10757
|
{ type: forms.FormBuilder },
|
|
10401
10758
|
{ type: router.Router }
|
|
10402
10759
|
]; };
|
|
10403
|
-
__decorate$
|
|
10760
|
+
__decorate$12([
|
|
10404
10761
|
core.Input()
|
|
10405
10762
|
], LoginEcComponent.prototype, "redirect", void 0);
|
|
10406
|
-
__decorate$
|
|
10763
|
+
__decorate$12([
|
|
10407
10764
|
core.Input()
|
|
10408
10765
|
], LoginEcComponent.prototype, "title", void 0);
|
|
10409
|
-
__decorate$
|
|
10766
|
+
__decorate$12([
|
|
10410
10767
|
core.Input()
|
|
10411
10768
|
], LoginEcComponent.prototype, "buyButton", void 0);
|
|
10412
|
-
__decorate$
|
|
10769
|
+
__decorate$12([
|
|
10413
10770
|
core.Input()
|
|
10414
10771
|
], LoginEcComponent.prototype, "withRoles", void 0);
|
|
10415
|
-
__decorate$
|
|
10772
|
+
__decorate$12([
|
|
10416
10773
|
core.Output()
|
|
10417
10774
|
], LoginEcComponent.prototype, "ready", void 0);
|
|
10418
|
-
__decorate$
|
|
10775
|
+
__decorate$12([
|
|
10419
10776
|
core.Output()
|
|
10420
10777
|
], LoginEcComponent.prototype, "loggedIn", void 0);
|
|
10421
|
-
LoginEcComponent = __decorate$
|
|
10778
|
+
LoginEcComponent = __decorate$12([
|
|
10422
10779
|
core.Component({
|
|
10423
10780
|
selector: 'app-login-ec',
|
|
10424
10781
|
template: "<div class=\"card card-body container content_menu h-100\">\n <div class=\"row w-100 mx-auto\">\n <div class=\"col-12 pb-3 d-flex justify-content-between\">\n <h3>{{title | translate }}</h3>\n </div>\n\n <div class=\"col-12 pb-3\">\n <form [formGroup]=\"loginForm\" (submit)=\"login($event)\">\n <div class=\"form-group\">\n <input type=\"email\" class=\"form-control rounded-0\" formControlName=\"username\"\n autocomplete=\"username\" placeholder=\"Email\">\n </div>\n <div class=\"form-group\">\n <input type=\"password\" class=\"form-control rounded-0\" formControlName=\"password\"\n autocomplete=\"current-password\" placeholder=\"Contrase\u00F1a\">\n </div>\n <button *ngIf=\"!loading\" [disabled]=\"!loginForm.valid\"\n class=\"btn btn-dark bg-black rounded-0 w-100\">INICIAR SESI\u00D3N</button>\n <div class=\"loading-container-form\" *ngIf=\"loading\">\n <div id=\"loading\"></div>\n </div>\n <h6 class=\"text-center mb-0 mt-3\">\n Olvidaste tu contrase\u00F1a?\n <br>\n <a [routerLink]=\"'/auth/forgot-password'\" class=\"d-contents\">Recuperala aqui</a>\n </h6>\n </form>\n </div>\n <div class=\"col-12 pt-3 border-top text-center\">\n\n <ng-container *ngIf=\"!buyButton;else invited\">\n\n Todavia no ten\u00E9s tu cuenta?\n <br>\n Creala desde <a (click)=\"nagivate('/register')\" class=\"d-contents\">aqui</a>\n </ng-container>\n\n\n <ng-template #invited>\n <a routerLink=\"/cart/checkout\" class=\"btn bg-black btn-finalizar-compra text-blanco mt-4\">\n {{ 'invited-checkout' | translate }}\n </a>\n </ng-template>\n </div>\n </div>\n</div>",
|
|
@@ -10428,7 +10785,7 @@
|
|
|
10428
10785
|
return LoginEcComponent;
|
|
10429
10786
|
}(ComponentHelper));
|
|
10430
10787
|
|
|
10431
|
-
var __decorate$
|
|
10788
|
+
var __decorate$13 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10432
10789
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10433
10790
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10434
10791
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -10652,7 +11009,7 @@
|
|
|
10652
11009
|
{ type: core.Injector }
|
|
10653
11010
|
]; };
|
|
10654
11011
|
CurrencyService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CurrencyService_Factory() { return new CurrencyService(core.ɵɵinject(Constants), core.ɵɵinject(ConnectionService), core.ɵɵinject(ToastService), core.ɵɵinject(core.INJECTOR)); }, token: CurrencyService, providedIn: "root" });
|
|
10655
|
-
CurrencyService$1 = __decorate$
|
|
11012
|
+
CurrencyService$1 = __decorate$13([
|
|
10656
11013
|
core.Injectable({
|
|
10657
11014
|
providedIn: 'root'
|
|
10658
11015
|
})
|
|
@@ -10671,7 +11028,7 @@
|
|
|
10671
11028
|
};
|
|
10672
11029
|
return __assign$o.apply(this, arguments);
|
|
10673
11030
|
};
|
|
10674
|
-
var __decorate$
|
|
11031
|
+
var __decorate$14 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
10675
11032
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10676
11033
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10677
11034
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11172,7 +11529,7 @@
|
|
|
11172
11529
|
{ type: AnalyticsService },
|
|
11173
11530
|
{ type: CurrencyService }
|
|
11174
11531
|
]; };
|
|
11175
|
-
ProductDetailService = __decorate$
|
|
11532
|
+
ProductDetailService = __decorate$14([
|
|
11176
11533
|
core.Injectable()
|
|
11177
11534
|
], ProductDetailService);
|
|
11178
11535
|
return ProductDetailService;
|
|
@@ -11202,7 +11559,7 @@
|
|
|
11202
11559
|
};
|
|
11203
11560
|
return __assign$p.apply(this, arguments);
|
|
11204
11561
|
};
|
|
11205
|
-
var __decorate$
|
|
11562
|
+
var __decorate$15 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11206
11563
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11207
11564
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11208
11565
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11420,10 +11777,10 @@
|
|
|
11420
11777
|
{ type: platformBrowser.Meta },
|
|
11421
11778
|
{ type: core.Injector }
|
|
11422
11779
|
]; };
|
|
11423
|
-
__decorate$
|
|
11780
|
+
__decorate$15([
|
|
11424
11781
|
core.ViewChild('contact')
|
|
11425
11782
|
], ProductDetailEcComponent.prototype, "contact", void 0);
|
|
11426
|
-
ProductDetailEcComponent = __decorate$
|
|
11783
|
+
ProductDetailEcComponent = __decorate$15([
|
|
11427
11784
|
core.Component({
|
|
11428
11785
|
selector: 'app-product-detail-ec',
|
|
11429
11786
|
template: "",
|
|
@@ -11447,7 +11804,7 @@
|
|
|
11447
11804
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11448
11805
|
};
|
|
11449
11806
|
})();
|
|
11450
|
-
var __decorate$
|
|
11807
|
+
var __decorate$16 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11451
11808
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11452
11809
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11453
11810
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11562,13 +11919,13 @@
|
|
|
11562
11919
|
{ type: core.Injector },
|
|
11563
11920
|
{ type: CartService }
|
|
11564
11921
|
]; };
|
|
11565
|
-
__decorate$
|
|
11922
|
+
__decorate$16([
|
|
11566
11923
|
core.Input()
|
|
11567
11924
|
], ProductEcComponent.prototype, "isProductBox", void 0);
|
|
11568
|
-
__decorate$
|
|
11925
|
+
__decorate$16([
|
|
11569
11926
|
core.Input()
|
|
11570
11927
|
], ProductEcComponent.prototype, "product", void 0);
|
|
11571
|
-
ProductEcComponent = __decorate$
|
|
11928
|
+
ProductEcComponent = __decorate$16([
|
|
11572
11929
|
core.Component({
|
|
11573
11930
|
selector: 'app-product-ec',
|
|
11574
11931
|
template: "",
|
|
@@ -11592,7 +11949,7 @@
|
|
|
11592
11949
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11593
11950
|
};
|
|
11594
11951
|
})();
|
|
11595
|
-
var __decorate$
|
|
11952
|
+
var __decorate$17 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11596
11953
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11597
11954
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11598
11955
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11669,10 +12026,10 @@
|
|
|
11669
12026
|
{ type: Constants },
|
|
11670
12027
|
{ type: router.Router }
|
|
11671
12028
|
]; };
|
|
11672
|
-
__decorate$
|
|
12029
|
+
__decorate$17([
|
|
11673
12030
|
core.Input()
|
|
11674
12031
|
], RelatedProductsEcComponent.prototype, "product_id", void 0);
|
|
11675
|
-
RelatedProductsEcComponent = __decorate$
|
|
12032
|
+
RelatedProductsEcComponent = __decorate$17([
|
|
11676
12033
|
core.Component({
|
|
11677
12034
|
selector: 'app-related-products-ec',
|
|
11678
12035
|
template: "<!-- <div *ngFor=\"let products of relatedProducts\" >\n <section class=\"destacados\" id=\"destacados\"> \n <div class=\"container-fluid mx-auto py-5\">\n <div class=\"row mx-auto d-flex justify-content-start px-3 py-3\">\n <h3 class=\"my-auto mx-2 text-left w-fit bold text-beige1\">\n {{ products.title ? products.title : 'PRODUCTOS RECOMENDADOS' | uppercase}}\n </h3>\n </div>\n \n <owl-carousel-o [options]=\"customOptionsDestacados\" class=\"row mx-auto d-flex justify-content-center p-3 pb-1\">\n <ng-template carouselSlide *ngFor=\"let product of products.items\">\n <app-product-destacados [product]=\"product\" [isValorados]=\"false\"></app-product-destacados>\n </ng-template>\n </owl-carousel-o>\n \n <div class=\"row mx-auto d-flex justify-content-center pb-3 d-md-none\">\n <a routerLink=\"/collection\" role=\"button\" class=\"btn btn-dark bg-beige1 text-blanco bold rounded-pill px-5 py-2\">IR A LA TIENDA</a>\n </div>\n </div>\n </section>\n</div> -->",
|
|
@@ -11695,7 +12052,7 @@
|
|
|
11695
12052
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11696
12053
|
};
|
|
11697
12054
|
})();
|
|
11698
|
-
var __decorate$
|
|
12055
|
+
var __decorate$18 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11699
12056
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11700
12057
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11701
12058
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11762,13 +12119,13 @@
|
|
|
11762
12119
|
{ type: ngxToastr.ToastrService },
|
|
11763
12120
|
{ type: platformBrowser.DomSanitizer }
|
|
11764
12121
|
]; };
|
|
11765
|
-
__decorate$
|
|
12122
|
+
__decorate$18([
|
|
11766
12123
|
core.Input()
|
|
11767
12124
|
], SectionContainerEcComponent.prototype, "sanitizeHtml", void 0);
|
|
11768
|
-
__decorate$
|
|
12125
|
+
__decorate$18([
|
|
11769
12126
|
core.Input()
|
|
11770
12127
|
], SectionContainerEcComponent.prototype, "name", void 0);
|
|
11771
|
-
SectionContainerEcComponent = __decorate$
|
|
12128
|
+
SectionContainerEcComponent = __decorate$18([
|
|
11772
12129
|
core.Component({
|
|
11773
12130
|
selector: 'app-section-container-ec',
|
|
11774
12131
|
template: "<div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-12\">\n <div class=\"scrol-if\">\n <div *ngIf=\"loadSection; else notBlockContact\" [innerHtml]=\"content_html\"></div>\n </div>\n </div>\n </div>\n</div>\n\n<app-blocks-ec [section]=\"name\"></app-blocks-ec>\n\n\n<ng-template #notBlockContact>\n<div class=\"col-12 align-items-center\">\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center my-5\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</div>\n</ng-template>",
|
|
@@ -11791,7 +12148,7 @@
|
|
|
11791
12148
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11792
12149
|
};
|
|
11793
12150
|
})();
|
|
11794
|
-
var __decorate$
|
|
12151
|
+
var __decorate$19 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
11795
12152
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11796
12153
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11797
12154
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -11974,7 +12331,7 @@
|
|
|
11974
12331
|
{ type: Constants },
|
|
11975
12332
|
{ type: platformBrowser.DomSanitizer }
|
|
11976
12333
|
]; };
|
|
11977
|
-
StoresEcComponent = __decorate$
|
|
12334
|
+
StoresEcComponent = __decorate$19([
|
|
11978
12335
|
core.Component({
|
|
11979
12336
|
selector: 'app-store-ec',
|
|
11980
12337
|
template: "<div class=\"row w-100 mx-auto my-4 px-3 bb-s bt-md-s py-1\">\n <strong>{{ 'stores' | translate }}</strong>\n</div>\n\n<section class=\"formulario container-fluid\" *ngIf=\"stores ; else noStores\">\n <div *ngIf=\"stores.length; else loading\">\n\n <div class=\"row\" *ngIf=\"stores && stores.length > 0; else noStores\">\n <div class=\"col-12 col-md-3 order-1 order-md-1\">\n <div class=\"row\">\n <div class=\"form-group w-100\">\n <select (change)=\"selectChange($event.target.value)\"\n class=\"rounded-0 form-control form-control-sm\" id=\"exampleFormControlSelect1\">\n <option selected [value]=\"''\">Seleccione provincia</option>\n <option [value]=\"item.code\" *ngFor=\"let item of getProvices(stores)\"> {{item.name}}\n </option>\n </select>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-3 order-3 order-md-2\">\n <div class=\"container-fluid scrolleable\" *ngIf=\"filterStores && filterStores.length\">\n <div class=\"row mb-1\" *ngFor=\"let store of filterStores; let i = index\">\n <div class=\"col-12\">\n <h6 class=\"\"><strong>{{ store.name }}</strong></h6>\n <label>{{ store.address }}</label>\n <label>{{ store.phone }}</label>\n <div [innerHtml]=\"store.note\"></div>\n <div class=\"text-right\">\n <!-- <a [href]=\"store.urlMap\" target=\"_blank\" class=\"custom-a\">Ver mapa</a> -->\n <a *ngIf=\"store.urlMap\" (click)=\"updateMap (store.urlMap)\" class=\"custom-a\">Ver mapa</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-12 col-md-6 order-2 order-md-3 my-4 mt-md-0\">\n <!-- <img *ngIf=\"imageMap\" src=\"../../../assets/images/recurso (21).png\" alt=\"\" class=\"w-100\"> -->\n <!-- <iframe *ngIf=\"!imageMap\" [src]=\"urlMap\" frameborder=\"0\" style=\"width: 100%; height: 500px;\"></iframe> -->\n <iframe id=\"map-iframe\" [src]=\"urlmap\" frameborder=\"0\"></iframe>\n </div>\n </div>\n </div>\n</section>\n\n\n<ng-template #noStores>\n\n <div class=\"d-flex flex-row justify-content-center my-5 align-items-center alto-total\">\n <h5 class=\"text-center\">{{ 'no-stores' | translate }}</h5>\n </div>\n\n</ng-template>\n\n<ng-template #loading>\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-12 align-items-center\">\n <div class=\"d-flex flex-column justify-content-center align-items-center my-5\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n </div>\n </div>\n</ng-template>",
|
|
@@ -11997,7 +12354,7 @@
|
|
|
11997
12354
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11998
12355
|
};
|
|
11999
12356
|
})();
|
|
12000
|
-
var __decorate$
|
|
12357
|
+
var __decorate$1a = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12001
12358
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12002
12359
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12003
12360
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12032,16 +12389,16 @@
|
|
|
12032
12389
|
{ type: Constants },
|
|
12033
12390
|
{ type: ProductDetailService }
|
|
12034
12391
|
]; };
|
|
12035
|
-
__decorate$
|
|
12392
|
+
__decorate$1a([
|
|
12036
12393
|
core.Input()
|
|
12037
12394
|
], VariantsEcComponent.prototype, "product", void 0);
|
|
12038
|
-
__decorate$
|
|
12395
|
+
__decorate$1a([
|
|
12039
12396
|
core.Input('options')
|
|
12040
12397
|
], VariantsEcComponent.prototype, "options$", void 0);
|
|
12041
|
-
__decorate$
|
|
12398
|
+
__decorate$1a([
|
|
12042
12399
|
core.Input()
|
|
12043
12400
|
], VariantsEcComponent.prototype, "setOption", void 0);
|
|
12044
|
-
VariantsEcComponent = __decorate$
|
|
12401
|
+
VariantsEcComponent = __decorate$1a([
|
|
12045
12402
|
core.Component({
|
|
12046
12403
|
selector: 'app-product-variants-ec',
|
|
12047
12404
|
template: "<div *ngIf=\"(options$ | async) as options ; else loading\">\n <div *ngIf=\"options && options.length && view(options.length, options)\">\n <div *ngFor=\"let option of options; let i = index\" class=\"mb-2\">\n <h5 class=\"text-lowercase\">{{option.name | titlecase}}</h5>\n <div [ngSwitch]=\"option.type\">\n <div *ngSwitchCase=\"'color'\">\n <div class=\"row w-100 mx-auto pb-3 mb-2\">\n <a *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\n (click)=\"setOption(option.code, value.name)\"\n [class]=\"'rounded-0 color-item mr-2 ' + (value.selected ? 'shadow' : '')\"\n [id]=\"x + value.name\" [style.background]=\"'#' + value.name\"\n [style.border]=\"(value.selected ? '1px black solid' : '1px gray solid')\"></a>\n </div>\n </div>\n <div *ngSwitchCase=\"'size'\">\n <div class=\"row w-100 mx-auto pb-3\">\n <select (change)=\"setSeleccion($event.target.value)\" class=\"form-control pr-5\">\n <option id=\"op\" value=\"\">Seleccione {{option.name | lowercase}}</option>\n <option *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\n [value]=\"option.code +','+ value.name\" [id]=\"x + value.name\"\n [selected]=\"value.selected\">\n {{ value.name }}\n </option>\n </select>\n <!-- <a *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\n (click)=\"setOption(option.code, value.name)\"\n [id]=\"x + value.name\"\n [class]=\"'btn btn-outline-dark rounded-0 talle-item m-1 ' + (value.selected ? 'selected-size' : 'unselected-size')\">\n {{ value.name }}\n </a> -->\n </div>\n </div>\n <div *ngSwitchDefault>\n <select (change)=\"setSeleccion($event.target.value)\" class=\"form-control \">\n <option id=\"op\" value=\"\">Seleccione {{option.name | lowercase}}</option>\n <option *ngFor=\"let value of option.values; let x = index\" role=\"buttom\"\n [value]=\"option.code +','+ value.name\" [id]=\"x + value.name\"\n [selected]=\"value.selected\">\n {{ value.name }}\n </option>\n </select>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #loading>\n <div class=\"col-12 align-items-center\">\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center my-5\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n</ng-template>",
|
|
@@ -12064,13 +12421,13 @@
|
|
|
12064
12421
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12065
12422
|
};
|
|
12066
12423
|
})();
|
|
12067
|
-
var __decorate$
|
|
12424
|
+
var __decorate$1b = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12068
12425
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12069
12426
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12070
12427
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12071
12428
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12072
12429
|
};
|
|
12073
|
-
var __param$
|
|
12430
|
+
var __param$a = (this && this.__param) || function (paramIndex, decorator) {
|
|
12074
12431
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12075
12432
|
};
|
|
12076
12433
|
var SellerDashboardContainerEcComponent = /** @class */ (function (_super) {
|
|
@@ -12178,16 +12535,16 @@
|
|
|
12178
12535
|
{ type: Constants },
|
|
12179
12536
|
{ type: undefined, decorators: [{ type: core.Inject, args: ['env',] }] }
|
|
12180
12537
|
]; };
|
|
12181
|
-
__decorate$
|
|
12538
|
+
__decorate$1b([
|
|
12182
12539
|
core.Input()
|
|
12183
12540
|
], SellerDashboardContainerEcComponent.prototype, "UIComponents", void 0);
|
|
12184
|
-
SellerDashboardContainerEcComponent = __decorate$
|
|
12541
|
+
SellerDashboardContainerEcComponent = __decorate$1b([
|
|
12185
12542
|
core.Component({
|
|
12186
12543
|
selector: 'app-seller-dashboard-container',
|
|
12187
12544
|
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 <li class=\"ms-auto row\">\n <div\n class=\"d-flex justify-content-end justify-content-lg-end justify-content-xl-end col-12 col-md-12 col-lg-auto\">\n <ng-container *ngIf=\"hasUIComponent('GENERATE_BUDGET_BTN') \">\n <a *ngIf=\"authService.getCustomer()?.id; else withoutCustomer\"\n [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 }}\n </a>\n <ng-template #withoutCustomer>\n <a class=\"btn btn-seller-primary text-white btnGestionar d-flex align-items-center\"\n (click)=\"toastrService.show('must-select-customer')\">\n <i class=\"bi bi-file-earmark me-2 mr-2\"></i>{{ 'generate-budget' | translate\n }}\n </a>\n </ng-template>\n </ng-container>\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 camposVendedores col-12 col-md-12 col-lg-auto justify-content-end\">\n <select *ngIf=\"hasUIComponent('SORT_SELECT')\" id=\"customerSort\" name=\"customerSort\"\n (change)=\"sortCustomers($event.target.value)\" class=\"mb-1 ordenarVendedores form-select\">\n <option selected hidden disabled>{{ 'order-by' | translate }}</option>\n <option value='asc_firstName'>{{ 'client' | translate }} (A-Z)</option>\n <option value='desc_firstName'>{{ 'client' | translate }} (Z-A)</option>\n <option value='asc_id'>Menor a Mayor c\u00F3digo</option>\n <option value='desc_id'>Mayor a Menor c\u00F3digo</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 </li>\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-3 col-md-2 text-left\">\n <small>{{ 'code' | translate | uppercase }}</small>\n </div>\n <div class=\"col-5 col-md-3 mb-md-0\">\n <small>{{ 'client' | translate | uppercase }}</small>\n </div>\n <div class=\"col-4 col-md-3 text-left d-none d-md-block\">\n <small>{{ 'user' | 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 ' + (isActive(customer) ? 'activo':'')\">\n <div class=\"row d-flex align-items-center\">\n <div class=\"col-3 col-md-2 text-left ps-2 pl-2\">\n <div class=\"price h6 pb-0 mb-0 ps-3 pl-1\">\n {{ customer.managementSystemInternalCode || 'n/a' }}\n </div>\n </div>\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-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>",
|
|
12188
12545
|
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}.cadaVendedor.activo{background-color:#eee}"]
|
|
12189
12546
|
}),
|
|
12190
|
-
__param$
|
|
12547
|
+
__param$a(3, core.Inject('env'))
|
|
12191
12548
|
], SellerDashboardContainerEcComponent);
|
|
12192
12549
|
return SellerDashboardContainerEcComponent;
|
|
12193
12550
|
}(ComponentHelper));
|
|
@@ -12205,7 +12562,7 @@
|
|
|
12205
12562
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12206
12563
|
};
|
|
12207
12564
|
})();
|
|
12208
|
-
var __decorate$
|
|
12565
|
+
var __decorate$1c = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12209
12566
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12210
12567
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12211
12568
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12222,10 +12579,10 @@
|
|
|
12222
12579
|
LoadingFullEcComponent.prototype.ngOnInit = function () {
|
|
12223
12580
|
this.ecOnInit();
|
|
12224
12581
|
};
|
|
12225
|
-
__decorate$
|
|
12582
|
+
__decorate$1c([
|
|
12226
12583
|
core.Input()
|
|
12227
12584
|
], LoadingFullEcComponent.prototype, "hole_height", void 0);
|
|
12228
|
-
LoadingFullEcComponent = __decorate$
|
|
12585
|
+
LoadingFullEcComponent = __decorate$1c([
|
|
12229
12586
|
core.Component({
|
|
12230
12587
|
selector: 'app-loading-full-ec',
|
|
12231
12588
|
template: "<div [class]=\"'d-flex w-100 ' + (hole_height ? 'hole_height' : '')\">\n <div class=\"w-100 h-100 d-flex flex-row justify-content-center align-items-center\">\n <div class=\"spinner-border text-dark spinner-color\" id=\"loading\" role=\"status\">\n <span class=\"sr-only\">{{ 'loading' | translate }}</span>\n </div>\n </div>\n</div>",
|
|
@@ -12248,7 +12605,7 @@
|
|
|
12248
12605
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12249
12606
|
};
|
|
12250
12607
|
})();
|
|
12251
|
-
var __decorate$
|
|
12608
|
+
var __decorate$1d = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12252
12609
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12253
12610
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12254
12611
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12264,7 +12621,7 @@
|
|
|
12264
12621
|
LoadingInlineEcComponent.prototype.ngOnInit = function () {
|
|
12265
12622
|
this.ecOnInit();
|
|
12266
12623
|
};
|
|
12267
|
-
LoadingInlineEcComponent = __decorate$
|
|
12624
|
+
LoadingInlineEcComponent = __decorate$1d([
|
|
12268
12625
|
core.Component({
|
|
12269
12626
|
selector: 'app-loading-inline-ec',
|
|
12270
12627
|
template: "<div class=\"loading-inline-container\">\n <div class=\"spinner-border text-dark spinner-color\" id=\"loading\" role=\"status\">\n <span class=\"sr-only\">{{ 'loading' | translate }}</span>\n </div>\n</div>",
|
|
@@ -12274,7 +12631,7 @@
|
|
|
12274
12631
|
return LoadingInlineEcComponent;
|
|
12275
12632
|
}(ComponentHelper));
|
|
12276
12633
|
|
|
12277
|
-
var __decorate$
|
|
12634
|
+
var __decorate$1e = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12278
12635
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12279
12636
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12280
12637
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12285,7 +12642,7 @@
|
|
|
12285
12642
|
}
|
|
12286
12643
|
LoadingSectionEcComponent.prototype.ngOnInit = function () {
|
|
12287
12644
|
};
|
|
12288
|
-
LoadingSectionEcComponent = __decorate$
|
|
12645
|
+
LoadingSectionEcComponent = __decorate$1e([
|
|
12289
12646
|
core.Component({
|
|
12290
12647
|
selector: 'app-loading-section-ec',
|
|
12291
12648
|
template: "<div id=\"sectionLoading\" class=\"d-flex flex-column position-absolute top-0 opacity-75 bg-white w-100 h-100 justify-content-center align-items-center\">\n <app-loading-full-ec></app-loading-full-ec>\n</div>\n",
|
|
@@ -12319,7 +12676,7 @@
|
|
|
12319
12676
|
};
|
|
12320
12677
|
return __assign$q.apply(this, arguments);
|
|
12321
12678
|
};
|
|
12322
|
-
var __decorate$
|
|
12679
|
+
var __decorate$1f = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12323
12680
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12324
12681
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12325
12682
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12662,19 +13019,19 @@
|
|
|
12662
13019
|
{ type: CartService },
|
|
12663
13020
|
{ type: ToastService }
|
|
12664
13021
|
]; };
|
|
12665
|
-
__decorate$
|
|
13022
|
+
__decorate$1f([
|
|
12666
13023
|
core.Input()
|
|
12667
13024
|
], MPCreditEcComponent.prototype, "public_key", void 0);
|
|
12668
|
-
__decorate$
|
|
13025
|
+
__decorate$1f([
|
|
12669
13026
|
core.Input()
|
|
12670
13027
|
], MPCreditEcComponent.prototype, "total_amount", void 0);
|
|
12671
|
-
__decorate$
|
|
13028
|
+
__decorate$1f([
|
|
12672
13029
|
core.Output()
|
|
12673
13030
|
], MPCreditEcComponent.prototype, "ready", void 0);
|
|
12674
|
-
__decorate$
|
|
13031
|
+
__decorate$1f([
|
|
12675
13032
|
core.Input()
|
|
12676
13033
|
], MPCreditEcComponent.prototype, "user_data", void 0);
|
|
12677
|
-
MPCreditEcComponent = __decorate$
|
|
13034
|
+
MPCreditEcComponent = __decorate$1f([
|
|
12678
13035
|
core.Component({
|
|
12679
13036
|
selector: '[app-mp-credit-ec]',
|
|
12680
13037
|
template: "<h3 class=\"text-center\">Detalles del pago</h3>\n<div *ngIf=\"!consts.mobile()\">\n <div class=\"card-wrapper m-3\"></div>\n</div>\n<form (submit)=\"getCardToken($event)\" method=\"post\" card container=\".card-wrapper\"\n card-width=\"{{ consts.mobile() ? '100': '350' }}\">\n\n <div class=\"row\">\n <div class=\"form-group col-12 col-md-6\">\n <label for=\"emailForm\">Correo electronico</label>\n <input class=\"form-control\" id=\"emailForm\" name=\"emailForm\" type=\"email\" [(ngModel)]=\"email\">\n </div>\n <div class=\"form-group col-12 col-md-2\">\n <label for=\"docTypeForm\">Tipo Doc.</label>\n <select class=\"form-control\" id=\"docTypeForm\" name=\"docTypeForm\" type=\"text\" [(ngModel)]=\"doc_type\">\n <option selected value=\"DNI\">DNI</option>\n <option value=\"CUIT\">CUIT</option>\n </select>\n </div>\n <div class=\"form-group col-12 col-md-4\">\n <label for=\"docNumberForm\">N\u00FAmero Doc.</label>\n <input class=\"form-control\" id=\"docNumberForm\" name=\"docNumberForm\" type=\"text\" [(ngModel)]=\"doc_number\" />\n </div>\n </div>\n <div class=\"row\">\n <div class=\"form-group col-12\">\n <label for=\"cardholderNameForm\">Titular (como figura en la tarjeta)</label>\n <input class=\"form-control\" id=\"cardholderNameForm\" data-checkout=\"cardholderName\" type=\"text\"\n [(ngModel)]=\"cardholder\" [ngModelOptions]=\"{standalone: true}\" name=\"first-name\" autocomplete=\"off\"\n card-name>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"form-group col-12 col-md-7\">\n <label for=\"cardNumberForm\">N\u00FAmero de la tarjeta</label>\n <input class=\"form-control\" type=\"text\" id=\"cardNumberForm\" (change)=\"cardNumberChange($event)\"\n [(ngModel)]=\"bin\" [ngModelOptions]=\"{standalone: true}\" onselectstart=\"return false\"\n onpaste=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\n ondrop=\"return false\" autocomplete=\"off\" card-number>\n </div>\n <div class=\"form-group col-12 col-md-3\">\n <label for=\"securityCodeForm\">C\u00F3digo de seguridad</label>\n <input class=\"form-control\" id=\"securityCodeForm\" type=\"text\" name=\"cvc\" onselectstart=\"return false\"\n onpaste=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\n ondrop=\"return false\" autocomplete=\"off\" card-cvc [(ngModel)]=\"code\"\n [ngModelOptions]=\"{standalone: true}\">\n </div>\n <div class=\"form-group col-12 col-md-2\">\n <label for=\"expiryForm\">Expiraci\u00F3n</label>\n <input type=\"text\" class=\"form-control\" id=\"expiryForm\" name=\"expiry\" placeholder=\"MM/YY\" maxlength=\"5\"\n (keyup)=\"expiryOnKey($event)\" (change)=\"expiryChange($event)\" onselectstart=\"return false\"\n onpaste=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\n ondrop=\"return false\" autocomplete=\"off\" card-expiry />\n </div>\n </div>\n <div class=\"row justify-content-md-center\">\n <div class=\"form-group col-12 col-md-6\" id=\"issuerInput\" *ngIf=\"require_issuer\">\n <label for=\"issuerForm\">Banco emisor</label>\n <select class=\"form-control\" id=\"issuerForm\" name=\"issuer\" autocomplete=\"off\" data-checkout=\"issuer\"\n (change)=\"selectIssuer($event.target.value)\">\n <option selected>Seleccione el banco</option>\n <option *ngFor=\"let issuer of issuers\" [value]=\"issuer.value\">{{ issuer.name }}</option>\n </select>\n </div>\n <div class=\"form-group col-12 col-md-6\">\n <label for=\"installmentsForm\">Cuotas</label>\n <select class=\"form-control\" type=\"text\" id=\"installmentsForm\" name=\"installments\"\n (change)=\"selectInstallment($event.target.value)\">\n <option selected>Seleccione el n\u00FAmero de cuotas</option>\n <option *ngFor=\"let cost of installments\" [value]=\"cost.value\">{{ getDescripcionCuota(cost) }}\n </option>\n </select>\n </div>\n </div>\n <div hidden>\n <input class=\"form-control\" name=\"transactionAmountt\" id=\"transactionAmountt\" [value]=\"total_amount\" />\n <input class=\"form-control\" name=\"paymentMethodIdd\" id=\"paymentMethodIdd\" [value]=\"payment_method\" />\n <input class=\"form-control\" name=\"descriptionn\" id=\"descriptionn\" />\n </div>\n <div class=\"row justify-content-md-center\">\n <div class=\"col-md-auto\">\n <div class=\"checkout-btn-unique\">\n <button type=\"submit\" *ngIf=\"!isInvalid()\" class=\"btn valid-btn\">Pagar</button>\n </div>\n </div>\n </div>\n\n</form>\n\n\n\n\n<form (submit)=\"getCardToken($event)\" hidden method=\"post\" id=\"paymentForm\">\n\n <h3>Detalles del pago</h3>\n <div class=\"row\">\n <div class=\"form-group col-12 col-md-4\">\n <label for=\"email\">Correo electronico</label>\n <input class=\"form-control\" id=\"email\" name=\"email\" type=\"email\" [(ngModel)]=\"email\">\n </div>\n <div class=\"form-group col-12 col-md-4\">\n <label for=\"docType\">Tipo de documento</label>\n <select class=\"form-control\" id=\"docType\" name=\"docType\" data-checkout=\"docType\" type=\"text\"\n [(ngModel)]=\"doc_type\">\n <option selected value=\"DNI\">DNI</option>\n <option value=\"CUIT\">CUIT</option>\n </select>\n </div>\n <div class=\"form-group col-12 col-md-4\">\n <label for=\"docNumber\">N\u00FAmero de documento</label>\n <input class=\"form-control\" id=\"docNumber\" name=\"docNumber\" data-checkout=\"docNumber\" type=\"text\"\n [(ngModel)]=\"doc_number\" />\n </div>\n </div>\n <div class=\"row\">\n <div class=\"form-group col-12 col-md-6\">\n <label for=\"cardholderName\">Titular (como figura en la tarjeta)</label>\n <input class=\"form-control\" id=\"cardholderName\" data-checkout=\"cardholderName\" type=\"text\"\n [(ngModel)]=\"cardholder\" [ngModelOptions]=\"{standalone: true}\" autocomplete=\"off\">\n </div>\n <div class=\"form-group col-12 col-md-6\">\n <label for=\"date\">Fecha de vencimiento</label>\n <div id=\"date\">\n <div class=\"\">\n <input class=\"form-control col-xs-6 col-md-6 half-width\" type=\"text\" placeholder=\"MM\"\n [(ngModel)]=\"month\" [ngModelOptions]=\"{standalone: true}\" id=\"cardExpirationMonth\"\n data-checkout=\"cardExpirationMonth\" onselectstart=\"return false\" onpaste=\"return false\"\n oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\" ondrop=\"return false\"\n autocomplete=\"off\">\n <input class=\"form-control col-xs-6 col-md-6 half-width ml-1\" type=\"text\" placeholder=\"YY\"\n [(ngModel)]=\"year\" [ngModelOptions]=\"{standalone: true}\" id=\"cardExpirationYear\"\n data-checkout=\"cardExpirationYear\" onselectstart=\"return false\" onpaste=\"return false\"\n oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\" ondrop=\"return false\"\n autocomplete=\"off\">\n </div>\n </div>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"form-group col-12 col-md-9\">\n <label for=\"cardNumber\">N\u00FAmero de la tarjeta</label>\n <input class=\"form-control\" type=\"text\" id=\"cardNumber\" (change)=\"cardNumberChange($event)\"\n [(ngModel)]=\"bin\" [ngModelOptions]=\"{standalone: true}\" data-checkout=\"cardNumber\"\n onselectstart=\"return false\" oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\"\n ondrop=\"return false\" autocomplete=\"off\">\n </div>\n <div class=\"form-group col-12 col-md-3\">\n <label for=\"securityCode\">C\u00F3digo de seguridad</label>\n <input class=\"form-control\" id=\"securityCode\" data-checkout=\"securityCode\" type=\"text\" [(ngModel)]=\"code\"\n [ngModelOptions]=\"{standalone: true}\" onselectstart=\"return false\" onpaste=\"return false\"\n oncopy=\"return false\" oncut=\"return false\" ondrag=\"return false\" ondrop=\"return false\"\n autocomplete=\"off\">\n </div>\n </div>\n <div class=\"row\">\n <div class=\"form-group col-12 col-md-6\" id=\"issuerInput\" *ngIf=\"require_issuer\">\n <label for=\"issuer\">Banco emisor</label>\n <select class=\"form-control\" id=\"issuer\" name=\"issuer\" autocomplete=\"off\" data-checkout=\"issuer\"\n (change)=\"selectIssuer($event.target.value)\">\n <option selected>Seleccione el banco</option>\n <option *ngFor=\"let issuer of issuers\" [value]=\"issuer.value\">{{ issuer.name }}</option>\n </select>\n </div>\n <div class=\"form-group col-12 col-md-6\">\n <label for=\"installments\">Cuotas</label>\n <select class=\"form-control\" type=\"text\" id=\"installments\" name=\"installments\"\n (change)=\"selectInstallment($event.target.value)\">\n <option selected>Seleccione el n\u00FAmero de cuotas</option>\n <option *ngFor=\"let cost of installments\" [value]=\"cost.value\">{{ cost.name }}\n </option>\n </select>\n </div>\n </div>\n <div hidden>\n <input class=\"form-control\" name=\"transactionAmount\" id=\"transactionAmount\" [value]=\"total_amount\" />\n <input class=\"form-control\" name=\"paymentMethodId\" id=\"paymentMethodId\" [value]=\"payment_method\" />\n <input class=\"form-control\" name=\"description\" id=\"description\" />\n </div>\n <div class=\"checkout-btn-unique\">\n <button type=\"submit\" *ngIf=\"!isInvalid()\" class=\"btn valid-btn\">Pagar</button>\n </div>\n</form>",
|
|
@@ -12697,7 +13054,7 @@
|
|
|
12697
13054
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12698
13055
|
};
|
|
12699
13056
|
})();
|
|
12700
|
-
var __decorate$
|
|
13057
|
+
var __decorate$1g = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12701
13058
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12702
13059
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12703
13060
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12743,59 +13100,59 @@
|
|
|
12743
13100
|
{ type: ProductsService },
|
|
12744
13101
|
{ type: ChannelConfigService }
|
|
12745
13102
|
]; };
|
|
12746
|
-
__decorate$
|
|
13103
|
+
__decorate$1g([
|
|
12747
13104
|
core.Input()
|
|
12748
13105
|
], PriceEcComponent.prototype, "price", void 0);
|
|
12749
|
-
__decorate$
|
|
13106
|
+
__decorate$1g([
|
|
12750
13107
|
core.Input()
|
|
12751
13108
|
], PriceEcComponent.prototype, "saleprice", void 0);
|
|
12752
|
-
__decorate$
|
|
13109
|
+
__decorate$1g([
|
|
12753
13110
|
core.Input()
|
|
12754
13111
|
], PriceEcComponent.prototype, "priceWithoutTaxes", void 0);
|
|
12755
|
-
__decorate$
|
|
13112
|
+
__decorate$1g([
|
|
12756
13113
|
core.Input()
|
|
12757
13114
|
], PriceEcComponent.prototype, "priceSize", void 0);
|
|
12758
|
-
__decorate$
|
|
13115
|
+
__decorate$1g([
|
|
12759
13116
|
core.Input()
|
|
12760
13117
|
], PriceEcComponent.prototype, "classStrSpacing", void 0);
|
|
12761
|
-
__decorate$
|
|
13118
|
+
__decorate$1g([
|
|
12762
13119
|
core.Input()
|
|
12763
13120
|
], PriceEcComponent.prototype, "basePrice", void 0);
|
|
12764
|
-
__decorate$
|
|
13121
|
+
__decorate$1g([
|
|
12765
13122
|
core.Input()
|
|
12766
13123
|
], PriceEcComponent.prototype, "taxeAmount", void 0);
|
|
12767
|
-
__decorate$
|
|
13124
|
+
__decorate$1g([
|
|
12768
13125
|
core.Input()
|
|
12769
13126
|
], PriceEcComponent.prototype, "taxes", void 0);
|
|
12770
|
-
__decorate$
|
|
13127
|
+
__decorate$1g([
|
|
12771
13128
|
core.Input()
|
|
12772
13129
|
], PriceEcComponent.prototype, "showTaxLegendOnly", void 0);
|
|
12773
|
-
__decorate$
|
|
13130
|
+
__decorate$1g([
|
|
12774
13131
|
core.Input()
|
|
12775
13132
|
], PriceEcComponent.prototype, "disableTaxInfo", void 0);
|
|
12776
|
-
__decorate$
|
|
13133
|
+
__decorate$1g([
|
|
12777
13134
|
core.Input()
|
|
12778
13135
|
], PriceEcComponent.prototype, "customPriceTemplate", void 0);
|
|
12779
|
-
__decorate$
|
|
13136
|
+
__decorate$1g([
|
|
12780
13137
|
core.Input()
|
|
12781
13138
|
], PriceEcComponent.prototype, "customSalePriceTemplate", void 0);
|
|
12782
|
-
__decorate$
|
|
13139
|
+
__decorate$1g([
|
|
12783
13140
|
core.Input()
|
|
12784
13141
|
], PriceEcComponent.prototype, "customSimplePriceTemplate", void 0);
|
|
12785
|
-
__decorate$
|
|
13142
|
+
__decorate$1g([
|
|
12786
13143
|
core.Input()
|
|
12787
13144
|
], PriceEcComponent.prototype, "customSimpleSalePriceTemplate", void 0);
|
|
12788
|
-
__decorate$
|
|
13145
|
+
__decorate$1g([
|
|
12789
13146
|
core.Input()
|
|
12790
13147
|
], PriceEcComponent.prototype, "customTaxTemplate", void 0);
|
|
12791
|
-
__decorate$
|
|
13148
|
+
__decorate$1g([
|
|
12792
13149
|
core.Input()
|
|
12793
13150
|
], PriceEcComponent.prototype, "customOnlyTaxLabelTemplate", void 0);
|
|
12794
|
-
PriceEcComponent = __decorate$
|
|
13151
|
+
PriceEcComponent = __decorate$1g([
|
|
12795
13152
|
core.Component({
|
|
12796
13153
|
selector: 'app-price-ec',
|
|
12797
|
-
template: "<!-- Si hay templates personalizados, se proyectan -->\n<ng-container *ngIf=\"customSalePriceTemplate || customPriceTemplate; else defaultPriceBlock\">\n <ng-container *ngTemplateOutlet=\"customPriceTemplate || defaultPriceBlock\"></ng-container>\n</ng-container>\n\n<ng-template #defaultPriceBlock>\n <div *ngIf=\"saleprice; else onlyprice\" class=\"line-height-custom\">\n <div [class]=\"(priceSize ? 'price-sm' : 'price')\"\n *ngIf=\"price && price.split(' - ').length > 1; else simplePriceDel\">\n <del class=\"tachado\">\n {{ price.split(' - ')[0] | ecCurrencySymbol }}\n {{ price.split(' - ')[1] | ecCurrencySymbol }}\n </del>\n </div>\n <div [class]=\"(priceSize ? 'price-sm' : 'price')\"\n *ngIf=\"saleprice && saleprice.split(' - ').length > 1; else simpleSalePrice\">\n {{ saleprice.split(' - ')[0] | ecCurrencySymbol }}\n {{ saleprice.split(' - ')[1] | ecCurrencySymbol }}\n </div>\n </div>\n\n <ng-template #onlyprice>\n <div [class]=\"(priceSize ? 'price-sm' : 'price')\"\n *ngIf=\"price && price.split(' - ').length > 1; else simplePrice\">\n {{ price.split(' - ')[0] | ecCurrencySymbol }} -\n {{ price.split(' - ')[1] | ecCurrencySymbol }}\n </div>\n </ng-template>\n\n <ng-template #simplePrice>\n <ng-container *ngIf=\"customSimplePriceTemplate; else fallbackSimplePrice\">\n <ng-container *ngTemplateOutlet=\"customSimplePriceTemplate\"></ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #fallbackSimplePrice>\n <div [class]=\"'uno line-height-custom ' + (priceSize ? 'price-sm' : 'price')\">\n {{ price | ecCurrencySymbol }}\n </div>\n </ng-template>\n\n <ng-template #simplePriceDel>\n <div [class]=\"'dos line-height-custom ' + (priceSize ? 'price-sm' : 'price')\">\n <span class=\"lnth\">{{ price | ecCurrencySymbol }}</span>\n </div>\n </ng-template>\n\n <ng-template #simpleSalePrice>\n <ng-container *ngIf=\"customSimpleSalePriceTemplate; else fallbackSimpleSalePrice\">\n <ng-container *ngTemplateOutlet=\"customSimpleSalePriceTemplate\"></ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #fallbackSimpleSalePrice>\n <div [class]=\"'tres line-height-custom ' + (priceSize ? 'price-sm' : 'price')\">\n {{ saleprice | ecCurrencySymbol }}\n </div>\n </ng-template>\n</ng-template>\n\n<!-- Secci\u00F3n de impuestos -->\n<ng-container *ngIf=\"shouldShowTaxes\">\n <ng-container *ngIf=\"showTaxLegendOnly; else detailedTaxBlock\">\n <ng-container *ngIf=\"customOnlyTaxLabelTemplate; else defaultOnlyTaxLabelBlock\">\n <ng-container *ngTemplateOutlet=\"customOnlyTaxLabelTemplate\"></ng-container>\n </ng-container>\n <ng-template #defaultOnlyTaxLabelBlock>\n <p class=\"taxes-title\">{{'price-without-national-taxes' | translate }}: {{ basePrice | ecCurrencySymbol }}
|
|
12798
|
-
styles: [".price-sm{font-size:13px}.price{font-size:18px}.lnth{text-decoration:line-through;color:gray}.taxes-section{margin-top:.5rem;border-radius:.5rem;font-size:.95rem;color:#333;line-height:1.4;max-width:400px}.taxes-title{font-weight:500;margin-bottom:.2rem;font-size:.7rem;color:#222}.taxes-list{list-style-type:none;padding-left:0;margin:0}.taxes-list li{margin-bottom:.05rem;font-size:.65rem;display:flex;justify-content:space-between}"]
|
|
13154
|
+
template: "<!-- Si hay templates personalizados, se proyectan -->\n<ng-container *ngIf=\"customSalePriceTemplate || customPriceTemplate; else defaultPriceBlock\">\n <ng-container *ngTemplateOutlet=\"customPriceTemplate || defaultPriceBlock\"></ng-container>\n</ng-container>\n\n<ng-template #defaultPriceBlock>\n <div *ngIf=\"saleprice; else onlyprice\" class=\"line-height-custom\">\n <div [class]=\"(priceSize ? 'price-sm' : 'price')\"\n *ngIf=\"price && price.split(' - ').length > 1; else simplePriceDel\">\n <del class=\"tachado\">\n {{ price.split(' - ')[0] | ecCurrencySymbol }}\n {{ price.split(' - ')[1] | ecCurrencySymbol }}\n </del>\n </div>\n <div [class]=\"(priceSize ? 'price-sm' : 'price')\"\n *ngIf=\"saleprice && saleprice.split(' - ').length > 1; else simpleSalePrice\">\n {{ saleprice.split(' - ')[0] | ecCurrencySymbol }}\n {{ saleprice.split(' - ')[1] | ecCurrencySymbol }}\n </div>\n </div>\n\n <ng-template #onlyprice>\n <div [class]=\"(priceSize ? 'price-sm' : 'price')\"\n *ngIf=\"price && price.split(' - ').length > 1; else simplePrice\">\n {{ price.split(' - ')[0] | ecCurrencySymbol }} -\n {{ price.split(' - ')[1] | ecCurrencySymbol }}\n </div>\n </ng-template>\n\n <ng-template #simplePrice>\n <ng-container *ngIf=\"customSimplePriceTemplate; else fallbackSimplePrice\">\n <ng-container *ngTemplateOutlet=\"customSimplePriceTemplate\"></ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #fallbackSimplePrice>\n <div [class]=\"'uno line-height-custom ' + (priceSize ? 'price-sm' : 'price')\">\n {{ price | ecCurrencySymbol }}\n </div>\n </ng-template>\n\n <ng-template #simplePriceDel>\n <div [class]=\"'dos line-height-custom ' + (priceSize ? 'price-sm' : 'price')\">\n <span class=\"lnth\">{{ price | ecCurrencySymbol }}</span>\n </div>\n </ng-template>\n\n <ng-template #simpleSalePrice>\n <ng-container *ngIf=\"customSimpleSalePriceTemplate; else fallbackSimpleSalePrice\">\n <ng-container *ngTemplateOutlet=\"customSimpleSalePriceTemplate\"></ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #fallbackSimpleSalePrice>\n <div [class]=\"'tres line-height-custom ' + (priceSize ? 'price-sm' : 'price')\">\n {{ saleprice | ecCurrencySymbol }}\n </div>\n </ng-template>\n</ng-template>\n\n<!-- Secci\u00F3n de impuestos -->\n<ng-container *ngIf=\"shouldShowTaxes\">\n <ng-container *ngIf=\"showTaxLegendOnly; else detailedTaxBlock\">\n <ng-container *ngIf=\"customOnlyTaxLabelTemplate; else defaultOnlyTaxLabelBlock\">\n <ng-container *ngTemplateOutlet=\"customOnlyTaxLabelTemplate\"></ng-container>\n </ng-container>\n <ng-template #defaultOnlyTaxLabelBlock>\n <p class=\"taxes-title\">{{'price-without-national-taxes' | translate }}: <span class=\"nowrap-price\">{{ basePrice | ecCurrencySymbol }}</span>\n </p>\n </ng-template>\n </ng-container>\n\n <ng-template #detailedTaxBlock>\n <ng-container *ngIf=\"customTaxTemplate; else defaultTaxBlock\">\n <ng-container *ngTemplateOutlet=\"customTaxTemplate\"></ng-container>\n </ng-container>\n </ng-template>\n</ng-container>\n\n<ng-template #defaultTaxBlock>\n <div class=\"taxes-section\">\n <p class=\"taxes-title\">{{'price-without-national-taxes' | translate }}: <span class=\"nowrap-price\">{{ basePrice | ecCurrencySymbol }}</span></p>\n <ul class=\"taxes-list\">\n <li>\n {{ taxes.Name }}: {{ taxeAmount | ecCurrencySymbol }}\n </li>\n </ul>\n </div>\n</ng-template>",
|
|
13155
|
+
styles: [".price-sm{font-size:13px}.price{font-size:18px}.lnth{text-decoration:line-through;color:gray}.taxes-section{margin-top:.5rem;border-radius:.5rem;font-size:.95rem;color:#333;line-height:1.4;max-width:400px}.taxes-title{font-weight:500;margin-bottom:.2rem;font-size:.7rem;color:#222}.taxes-list{list-style-type:none;padding-left:0;margin:0}.taxes-list li{margin-bottom:.05rem;font-size:.65rem;display:flex;justify-content:space-between}.nowrap-price{white-space:nowrap}"]
|
|
12799
13156
|
})
|
|
12800
13157
|
], PriceEcComponent);
|
|
12801
13158
|
return PriceEcComponent;
|
|
@@ -12814,7 +13171,7 @@
|
|
|
12814
13171
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12815
13172
|
};
|
|
12816
13173
|
})();
|
|
12817
|
-
var __decorate$
|
|
13174
|
+
var __decorate$1h = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12818
13175
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12819
13176
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12820
13177
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -12918,7 +13275,7 @@
|
|
|
12918
13275
|
{ type: router.Router },
|
|
12919
13276
|
{ type: CheckoutService }
|
|
12920
13277
|
]; };
|
|
12921
|
-
RedsysCatchEcComponent = __decorate$
|
|
13278
|
+
RedsysCatchEcComponent = __decorate$1h([
|
|
12922
13279
|
core.Component({
|
|
12923
13280
|
selector: 'app-redsys-catch-ec',
|
|
12924
13281
|
template: "<div id=\"container\">\n <div class=\"row\">\n <div class=\"col align-self-center\">\n <h4 class=\"titpage center-block text-center font-nexa font-lg my-3\">{{ message | uppercase }}</h4>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col align-self-center\">\n <h5 class=\"center-block text-center font-nexa my-3\">Redirigiendo en segundos...</h5>\n <br>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n </div>\n</div>",
|
|
@@ -12941,13 +13298,13 @@
|
|
|
12941
13298
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12942
13299
|
};
|
|
12943
13300
|
})();
|
|
12944
|
-
var __decorate$
|
|
13301
|
+
var __decorate$1i = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
12945
13302
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12946
13303
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12947
13304
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12948
13305
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12949
13306
|
};
|
|
12950
|
-
var __param$
|
|
13307
|
+
var __param$b = (this && this.__param) || function (paramIndex, decorator) {
|
|
12951
13308
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
12952
13309
|
};
|
|
12953
13310
|
/** @dynamic */
|
|
@@ -13047,32 +13404,32 @@
|
|
|
13047
13404
|
{ type: router.ActivatedRoute },
|
|
13048
13405
|
{ type: modal.BsModalService }
|
|
13049
13406
|
]; };
|
|
13050
|
-
__decorate$
|
|
13407
|
+
__decorate$1i([
|
|
13051
13408
|
core.Input()
|
|
13052
13409
|
], RedSysProEcComponent.prototype, "method", void 0);
|
|
13053
|
-
__decorate$
|
|
13410
|
+
__decorate$1i([
|
|
13054
13411
|
core.Input()
|
|
13055
13412
|
], RedSysProEcComponent.prototype, "total_amount", void 0);
|
|
13056
|
-
__decorate$
|
|
13413
|
+
__decorate$1i([
|
|
13057
13414
|
core.Output()
|
|
13058
13415
|
], RedSysProEcComponent.prototype, "ready", void 0);
|
|
13059
|
-
__decorate$
|
|
13416
|
+
__decorate$1i([
|
|
13060
13417
|
core.Input()
|
|
13061
13418
|
], RedSysProEcComponent.prototype, "user_data", void 0);
|
|
13062
|
-
__decorate$
|
|
13419
|
+
__decorate$1i([
|
|
13063
13420
|
core.ViewChild('formDobleAuthContainer')
|
|
13064
13421
|
], RedSysProEcComponent.prototype, "formDobleAuth", void 0);
|
|
13065
|
-
__decorate$
|
|
13422
|
+
__decorate$1i([
|
|
13066
13423
|
core.ViewChild('template')
|
|
13067
13424
|
], RedSysProEcComponent.prototype, "template", void 0);
|
|
13068
|
-
RedSysProEcComponent = __decorate$
|
|
13425
|
+
RedSysProEcComponent = __decorate$1i([
|
|
13069
13426
|
core.Component({
|
|
13070
13427
|
selector: 'app-redsys-pro-ec',
|
|
13071
13428
|
template: "<div class=\"text-center\">\n <h3>Continuar con el pago</h3>\n <button class=\"btn btn-outline-secondary rounded-0 comprar\" (click)=\"openModal(template)\">Pagar con tarjeta</button>\n</div>\n\n\n<ng-template #template>\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"clickClose()\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n </div>\n\n <div class=\"modal-body\">\n <iframe src=\"../../../assets/redsysProBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </div>\n \n</ng-template>\n",
|
|
13072
13429
|
providers: [modal.BsModalService],
|
|
13073
13430
|
styles: [".half-width{width:49%!important}.ml-1{margin-left:1%}#card-form{height:450px}.iframeStyle{height:800px;width:100%;max-height:800px}"]
|
|
13074
13431
|
}),
|
|
13075
|
-
__param$
|
|
13432
|
+
__param$b(6, core.Inject(common.DOCUMENT))
|
|
13076
13433
|
], RedSysProEcComponent);
|
|
13077
13434
|
return RedSysProEcComponent;
|
|
13078
13435
|
}(ComponentHelper));
|
|
@@ -13090,7 +13447,7 @@
|
|
|
13090
13447
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13091
13448
|
};
|
|
13092
13449
|
})();
|
|
13093
|
-
var __decorate$
|
|
13450
|
+
var __decorate$1j = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13094
13451
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13095
13452
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13096
13453
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13186,22 +13543,22 @@
|
|
|
13186
13543
|
{ type: router.ActivatedRoute },
|
|
13187
13544
|
{ type: modal.BsModalService }
|
|
13188
13545
|
]; };
|
|
13189
|
-
__decorate$
|
|
13546
|
+
__decorate$1j([
|
|
13190
13547
|
core.Input()
|
|
13191
13548
|
], RedSysRedirectEcComponent.prototype, "method", void 0);
|
|
13192
|
-
__decorate$
|
|
13549
|
+
__decorate$1j([
|
|
13193
13550
|
core.Input()
|
|
13194
13551
|
], RedSysRedirectEcComponent.prototype, "total_amount", void 0);
|
|
13195
|
-
__decorate$
|
|
13552
|
+
__decorate$1j([
|
|
13196
13553
|
core.Output()
|
|
13197
13554
|
], RedSysRedirectEcComponent.prototype, "ready", void 0);
|
|
13198
|
-
__decorate$
|
|
13555
|
+
__decorate$1j([
|
|
13199
13556
|
core.Input()
|
|
13200
13557
|
], RedSysRedirectEcComponent.prototype, "user_data", void 0);
|
|
13201
|
-
__decorate$
|
|
13558
|
+
__decorate$1j([
|
|
13202
13559
|
core.ViewChild('template')
|
|
13203
13560
|
], RedSysRedirectEcComponent.prototype, "template", void 0);
|
|
13204
|
-
RedSysRedirectEcComponent = __decorate$
|
|
13561
|
+
RedSysRedirectEcComponent = __decorate$1j([
|
|
13205
13562
|
core.Component({
|
|
13206
13563
|
selector: 'app-redsys-redirect-ec',
|
|
13207
13564
|
template: "<div class=\"text-center\">\n <h3>Continuar con el pago</h3>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar con tarjeta</button>\n</div>\n\n<ng-template #template>\n <div class=\"modal-content\">\n </div>\n <div class=\"modal-body\">\n <iframe src=\"../../../assets/redsysFrameRedirectBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </div>\n \n</ng-template>",
|
|
@@ -13225,7 +13582,7 @@
|
|
|
13225
13582
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13226
13583
|
};
|
|
13227
13584
|
})();
|
|
13228
|
-
var __decorate$
|
|
13585
|
+
var __decorate$1k = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13229
13586
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13230
13587
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13231
13588
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13326,22 +13683,22 @@
|
|
|
13326
13683
|
{ type: router.ActivatedRoute },
|
|
13327
13684
|
{ type: modal.BsModalService }
|
|
13328
13685
|
]; };
|
|
13329
|
-
__decorate$
|
|
13686
|
+
__decorate$1k([
|
|
13330
13687
|
core.Input()
|
|
13331
13688
|
], CecaRedirectEcComponent.prototype, "method", void 0);
|
|
13332
|
-
__decorate$
|
|
13689
|
+
__decorate$1k([
|
|
13333
13690
|
core.Input()
|
|
13334
13691
|
], CecaRedirectEcComponent.prototype, "total_amount", void 0);
|
|
13335
|
-
__decorate$
|
|
13692
|
+
__decorate$1k([
|
|
13336
13693
|
core.Output()
|
|
13337
13694
|
], CecaRedirectEcComponent.prototype, "ready", void 0);
|
|
13338
|
-
__decorate$
|
|
13695
|
+
__decorate$1k([
|
|
13339
13696
|
core.Input()
|
|
13340
13697
|
], CecaRedirectEcComponent.prototype, "user_data", void 0);
|
|
13341
|
-
__decorate$
|
|
13698
|
+
__decorate$1k([
|
|
13342
13699
|
core.ViewChild('template')
|
|
13343
13700
|
], CecaRedirectEcComponent.prototype, "template", void 0);
|
|
13344
|
-
CecaRedirectEcComponent = __decorate$
|
|
13701
|
+
CecaRedirectEcComponent = __decorate$1k([
|
|
13345
13702
|
core.Component({
|
|
13346
13703
|
selector: 'app-ceca-redirect-ec',
|
|
13347
13704
|
template: "<div class=\"text-center\">\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar con cecabank</button>\n</div>\n\n<ng-template #template>\n <div class=\"modal-content\">\n </div>\n <div class=\"modal-body\">\n <iframe src=\"../../../assets/cecaFrameRedirectBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </div>\n \n</ng-template>",
|
|
@@ -13365,7 +13722,7 @@
|
|
|
13365
13722
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13366
13723
|
};
|
|
13367
13724
|
})();
|
|
13368
|
-
var __decorate$
|
|
13725
|
+
var __decorate$1l = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13369
13726
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13370
13727
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13371
13728
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13537,10 +13894,10 @@
|
|
|
13537
13894
|
{ type: CartService },
|
|
13538
13895
|
{ type: ChannelConfigService }
|
|
13539
13896
|
]; };
|
|
13540
|
-
__decorate$
|
|
13897
|
+
__decorate$1l([
|
|
13541
13898
|
core.Input()
|
|
13542
13899
|
], OrdersEcComponent.prototype, "showImage", void 0);
|
|
13543
|
-
OrdersEcComponent = __decorate$
|
|
13900
|
+
OrdersEcComponent = __decorate$1l([
|
|
13544
13901
|
core.Component({
|
|
13545
13902
|
selector: 'app-orders-ec',
|
|
13546
13903
|
template: "<div class=\"container-fluid\" id=\"ordersEcComponent\">\n <section id=\"orders\" class=\"w-100\" *ngIf=\"!loading; else loadingView\">\n <ng-container *ngIf=\"!hidePrices\">\n <div *ngIf=\"orders && orders.length; else noOrders\">\n <div class=\"row mb-1 border-bottom\">\n <div class=\"col-lg-2 col-12\">\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'number' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\n (click)=\"sortOrders('number')\">{{ 'order' | translate }}:</p>\n </div>\n <div class=\"col-lg-2 col-12\">\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'paymentState' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\n (click)=\"sortOrders('paymentState')\">{{ 'payment-state' | translate }}:</p>\n </div>\n <div class=\"col-lg-2 col-12\">\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'method' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\n (click)=\"sortOrders('method')\">{{ 'shipment-method' | translate }}:</p>\n </div>\n <div class=\"col-lg-2 col-12 \">\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'methodState' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\n (click)=\"sortOrders('methodState')\">\n {{ 'shipment-state' | translate }}:</p>\n </div>\n <div class=\"col-lg-2 col-12\">\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'date' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\n (click)=\"sortOrders('date')\">{{ 'date' | translate }}:</p>\n </div>\n <div class=\"col-lg-2 col-12\">\n <p [class]=\"'st dropdown-toggle cursor-pointer my-2 '+ (currentSort.name == 'total' ? 'applied ' + (!currentSort.asc ? 'asc' : 'desc') : '')\"\n (click)=\"sortOrders('total')\">{{ 'total' | translate }}:</p>\n </div>\n </div>\n <div class=\"row item border-bottom py-2\" *ngFor=\"let order of orders\">\n <div class=\"col-lg-2 col-12\">\n <h5 class=\"fw-bold\">\n {{ order.number }}\n </h5>\n <!-- <ng-container *ngIf=\"showImage\">\n <ng-container *ngIf=\"order.items[0].product.variants[0]?.images?.length ; else defaultpicture\">\n <img class=\"smc maxwidth\" [src]=\"mediaUrl + order.items[0].product.variants[0].images[0]\" alt=\"\">\n </ng-container>\n <ng-template #defaultpicture>\n <img *ngIf=\"order.items[0].product.picturesdefault\" class=\"smc maxwidth\"\n [src]=\"mediaUrl + order.items[0].product.picturesdefault[0]\" alt=\"\">\n </ng-template>\n </ng-container> -->\n </div>\n <div class=\"col-lg-2 col-12\">\n <p class=\"price\" *ngIf=\"order.payments && order.payments.length > 0\">\n {{ order.payments[0].state | translate | titlecase }}\n </p>\n </div>\n <div class=\"col-lg-2 col-12\">\n\n <p class=\"price\">\n {{ order.shipments[0].method.name }}\n </p>\n </div>\n <div class=\"col-lg-2 col-12\">\n <p class=\"price\">\n {{ order.shipments[0].state | translate | titlecase }}\n </p>\n <!-- ACA DEBERIA IR EL LINK DE SEGUIMIENTO -->\n <!-- <button class=\"btn btn-outline-dark btnLogout px-3 py-1 font-size-10 w-auto btn-sm\">Ver seguimiento</button> -->\n <a *ngIf=\"order.tracking\" [href]=\"order.tracking\"\n class=\"btn btn-outline-dark btnLogout px-3 py-1 font-size-10 w-auto btn-sm\">Ver\n seguimiento</a>\n </div>\n <div class=\"col-lg-2 col-12\">\n <p class=\"price\">\n {{ toDate(order.checkoutCompletedAt, 'DD/MM/YYYY') | translate }}<br>\n {{ toDate(order.checkoutCompletedAt, 'h:mm:ss a') | translate }}\n </p>\n </div>\n <div class=\"col-lg-2 col-12\">\n <h5 class=\"fw-bold text-nowrap\" *ngIf=\"(showPrice !== null ? showPrice : true)\">\n {{ (order.totals.total) | ecCurrencySymbol }}\n </h5>\n <button class=\"btn px-0 w-100 btdetalle\" (click)=\"goToOrder(order)\">{{\n 'see-order' | translate }}</button>\n </div>\n </div>\n </div>\n </ng-container>\n </section>\n</div>\n\n<ng-template #noOrders>\n <div class=\"w-100 h-50\">\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\n <h5>{{ 'no-orders' | translate }}</h5>\n </div>\n </div>\n</ng-template>\n\n<ng-template #errorView>\n <div class=\"w-100 h-50\">\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\n <h4>{{ 'orders-error' | translate }}</h4>\n </div>\n </div>\n</ng-template>\n\n<ng-template #loadingView>\n <div class=\"w-100 h-50 py-5\">\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n</ng-template>",
|
|
@@ -13563,7 +13920,7 @@
|
|
|
13563
13920
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13564
13921
|
};
|
|
13565
13922
|
})();
|
|
13566
|
-
var __decorate$
|
|
13923
|
+
var __decorate$1m = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13567
13924
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13568
13925
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13569
13926
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13698,10 +14055,10 @@
|
|
|
13698
14055
|
{ type: CartService },
|
|
13699
14056
|
{ type: ChannelConfigService }
|
|
13700
14057
|
]; };
|
|
13701
|
-
__decorate$
|
|
14058
|
+
__decorate$1m([
|
|
13702
14059
|
core.Input()
|
|
13703
14060
|
], OrderEcComponent.prototype, "numberOrder", void 0);
|
|
13704
|
-
OrderEcComponent = __decorate$
|
|
14061
|
+
OrderEcComponent = __decorate$1m([
|
|
13705
14062
|
core.Component({
|
|
13706
14063
|
selector: 'app-order-ec',
|
|
13707
14064
|
template: "<main class=\"py-5\" id=\"orderEcComponent\">\n <div class=\"container\">\n <div class=\"wrap\" *ngIf=\"!loading; else loadingView\">\n <div *ngIf=\"order; else noOrder\">\n\n <div class=\"row justify-content-between \">\n <div class=\"col-sm-auto col-12 font-brandon\">\n <h4 class=\"tit1 fw-bold\">{{ ('order' | translate) + ': ' + order.number }}</h4>\n </div>\n <ng-container *ngIf=\"order?.invoice\">\n <div class=\"col-sm col-12 font-brandon\" *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <a target=\"_blank\" [href]=\"consts.getUrlBase().slice(0, -1) + order.invoice\"\n class=\"btn btn-link btn-invoice\">\n <i class=\"fas fa-file-download me-1\"></i>\n {{ 'download' | translate }} {{ 'invoices' | translate | titlecase }}\n </a>\n </div>\n </ng-container>\n <a (click)=\"volver()\" class=\"col-auto text-end\">\n <button class=\"btn btvolver bg-gray text-white\">{{ 'back-to-orders' | translate }}</button>\n </a>\n </div>\n\n <section id=\"orders\">\n <div class=\"row pt-2\">\n <div class=\"col-md-2 col-12\">\n <p class=\"st\">{{ 'payment-state' | translate }}:</p>\n <p class=\"\">\n {{ order.payments[0].state | translate }}\n </p>\n </div>\n <div class=\"col-md-2 col-12 font-brandon\">\n <p class=\"st\">{{ 'shipment-state' | translate }}:</p>\n <p class=\"\">\n {{ order.shipments[0].state | translate }}\n </p>\n </div>\n <div class=\"col-md-2 col-12 font-brandon\">\n <p class=\"st\">{{ 'payment-method' | translate }}:</p>\n <p class=\"\">\n {{ order.payments[0]?.method?.name | translate }}\n </p>\n </div>\n <div class=\"col-md-2 col-12 font-brandon\">\n <p class=\"st\">{{ 'shipment-method' | translate }}:</p>\n <p class=\"\">\n {{ order.shipments[0].method.name }}\n </p>\n <!-- ACA DEBERIA IR EL LINK DE SEGUIMIENTO -->\n <a *ngIf=\"order.tracking\" [href]=\"order.tracking\"\n class=\"btn btn-outline-dark btnLogout px-3 py-1 font-size-10 w-auto btn-sm\">Ver\n seguimiento</a>\n </div>\n <div class=\"col-md-2 col-12 font-brandon\">\n <p class=\"st\">{{ 'date' | translate }}:</p>\n <p class=\"\">\n {{ toDate(order.checkoutCompletedAt, 'DD/MM/YYYY') | translate }}<br>\n {{ toDate(order.checkoutCompletedAt, 'h:mm:ss a') | translate }}\n </p>\n </div>\n <div class=\"col-md-2 col-12 font-brandon\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <p class=\"st\">{{ 'total' | translate }}:</p>\n <h5 class=\"fw-bold\">\n {{ (order.totals.total) | ecCurrencySymbol:'alwaysShowDecimals'}}\n\n </h5>\n </div>\n </div>\n </section>\n\n <div class=\"text-end mt-3\" *ngIf=\"!hidePrices && allowRepeatOrders\">\n <button class=\"btn btn-primary mb-2\" (click)=\"repeatOrder()\">\n {{ 'repeat-order' | translate }}\n </button>\n </div>\n\n <div class=\"container py-3 border-top border-bottom\">\n <div *ngIf=\"order.items.length; else noProducts\" class=\"row\">\n <div class=\"col-2 font-sm font-brandon d-none d-md-block\">\n {{ 'product' | translate | uppercase }}\n </div>\n <div class=\"col-4 font-sm font-brandon d-none d-md-block\">\n {{ 'description' | translate | uppercase }}\n </div>\n <div id=\"colLots\" *ngIf=\"ordersService.channelConfig.applyOrderLot\"\n class=\"col-1 font-sm font-brandon d-none d-md-block\">\n <!-- {{ 'description' | translate | uppercase }} -->\n {{ 'lots' | translate | uppercase }}\n </div>\n <div class=\"col-2 text-center font-sm font-brandon d-none d-md-block\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n {{ 'unit-price' | translate | uppercase }}\n </div>\n <div class=\"col-1 text-center font-sm font-brandon d-none d-md-block\">\n {{ 'quantity' | translate | uppercase }}\n </div>\n <div class=\"col-2 text-end font-sm font-brandon d-none d-md-block\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n {{ 'total' | translate | uppercase }}\n </div>\n </div>\n <ng-container *ngFor=\"let item of order.items; let i = index\">\n <div class=\"row cart-items\">\n <div class=\"col-5 col-md-2 py-2\">\n <ng-container *ngIf=\"item.product.variants[0]?.images?.length ; else defaultpicture\">\n <img class=\"smc maxwidth img-fluid rounded-custom \"\n [src]=\"consts.mediaUrl() + item.product.variants[0].images[0]\" alt=\"\">\n </ng-container>\n <ng-template #defaultpicture>\n <img *ngIf=\"item.product.picturesdefault\"\n class=\"smc maxwidth img-fluid rounded-custom\"\n [src]=\"consts.mediaUrl() + item.product.picturesdefault[0]\" alt=\"\">\n </ng-template>\n </div> \n <div\n class=\"col-md-4 col-7 d-flex flex-column justify-content-center\">\n <p class=\"font-brandon d-flex w-100 mb-0\">\n {{ item.product.name }} (Cod:{{ item.product.variants[0].code }})\n </p>\n <p *ngIf=\"enableFieldNotesInArticleFile && item.comments\" class=\"comment-truncated fst-italic small text-muted mt-1\">\n \"{{ item.comments }}\"\n </p>\n </div>\n <div class=\"col-md-1 col-1 flex-column flex-md-row justify-content-start d-flex align-items-center\"\n *ngIf=\"ordersService.channelConfig.applyOrderLot\">\n <input type=\"button\" class=\"btn btn-primary btnSeguir m-0 text-center\" type=\"button\"\n [attr.data-bs-toggle]=\"'collapse'\" [attr.data-bs-target]=\"'#collapseExample'+i\"\n aria-expanded=\"false\" [attr.aria-controls]=\"'collapseExample'+i\"\n value=\"{{ 'see' | translate | uppercase }}\">\n </div>\n <div class=\"container d-md-none\">\n <div class=\"row\">\n <div class=\"col-4\">\n <p class=\"text-center w-100 m-0\"> {{ item.quantity }}</p>\n </div>\n <div class=\"col-4 font-xl\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <p class=\"text-center w-100 m-0\"> {{ (item.product.variants[0].saleprice ?\n item.product.variants[0].saleprice : item.product.variants[0].price) |\n ecCurrencySymbol:'alwaysShowDecimals'}}</p>\n </div>\n <div class=\"col-4 font-xl\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <p class=\"text-center w-100 m-0\"> {{ ((item.product.variants[0].saleprice ?\n item.product.variants[0].saleprice : item.product.variants[0].price) *\n item.quantity) | ecCurrencySymbol:'alwaysShowDecimals'}}</p>\n </div>\n </div>\n </div>\n\n <div class=\"col-2 d-none d-md-flex align-items-center\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <p class=\"text-center w-100 m-0\">\n {{ (item.product.variants[0].saleprice ? item.product.variants[0].saleprice :\n item.product.variants[0].price) | ecCurrencySymbol:'alwaysShowDecimals'}}\n </p>\n </div>\n <div class=\"col-1 d-none d-md-flex align-items-center\">\n <p class=\"text-center w-100 m-0\"> {{ item.quantity }}</p>\n </div>\n <div class=\"col-2 d-none d-md-flex align-items-center\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <p class=\"text-end w-100 m-0\">\n {{ ((item.product.variants[0].saleprice ? item.product.variants[0].saleprice :\n item.product.variants[0].price) * item.quantity) | ecCurrencySymbol:'alwaysShowDecimals'}}</p>\n </div>\n <div class=\"collapse\" [attr.id]=\"'collapseExample'+i\">\n <div class=\"card card-body\">\n <table class=\"table table-striped\">\n <thead>\n <tr>\n <th scope=\"col\">#</th>\n <th scope=\"col\">Estado</th>\n <th scope=\"col\">Cantidad</th>\n <th scope=\"col\">Fecha Solicitada</th>\n <th scope=\"col\">Fecha Estimada</th>\n <th scope=\"col\">Sede</th>\n <th scope=\"col\">Nota</th>\n <th scope=\"col\">Total Lote</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngFor=\"let lot of item.orderItemLot\">\n <tr>\n <th scope=\"row\">{{lot.id}}</th>\n <td>{{lot.lot_status}}</td>\n <td>{{lot.quantity}}</td>\n <td>{{ toDate(lot.date_request, 'DD/MM/YYYY') | translate }}</td>\n <td *ngIf=\"lot.date_deliver; else sinFechaEstimada\">{{\n toDate(lot.date_deliver, 'DD/MM/YYYY') | translate }}</td>\n <ng-template #sinFechaEstimada>\n <td>Pendiente</td>\n </ng-template>\n <td>{{lot.shipping_address_name}}</td>\n <td>{{lot.notes}}</td>\n <td>{{lot.total_lot | ecCurrencySymbol:'alwaysShowDecimals'}}</td>\n </tr>\n </ng-container>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n\n </ng-container>\n </div>\n\n <div class=\"container\">\n <div class=\"row\">\n <div class=\"col-12 col-md-6\"></div>\n <div class=\"col-12 col-md-6\"\n *ngIf=\"(creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <div class=\"row py-4\">\n <div class=\"col-6 font-brandon font-md text-gray border-bottom \">{{ 'total-products' |\n translate }}</div>\n <div class=\"col-6 font-brandon font-md text-gray border-bottom text-end\">\n {{ (order.totals.subtotal) | ecCurrencySymbol:'alwaysShowDecimals' }}\n </div>\n\n <div class=\"col-6 font-brandon font-md text-gray border-bottom \">{{ 'shipment' |\n translate }}</div>\n <div class=\"col-6 font-brandon font-md text-gray border-bottom text-end\">\n {{ (order.totals.shipping || '0') | ecCurrencySymbol:'alwaysShowDecimals' }}\n\n </div>\n\n <div *ngIf=\"!hideDiscounts && order.totals.promotion && order.totals.promotion != 0\"\n class=\"col-6 font-brandon font-md text-gray border-bottom \">{{ 'discount' |\n translate }}</div>\n <div *ngIf=\"!hideDiscounts && order.totals.promotion && order.totals.promotion != 0\"\n class=\"col-6 font-brandon font-md text-gray border-bottom text-end text-end\">\n {{ (order.totals.promotion) | ecCurrencySymbol:'alwaysShowDecimals' }}</div>\n\n <div *ngIf=\"!hideTaxes && order.totals.taxes && order.totals.taxes != 0 \"\n class=\"col-6 font-brandon font-md text-gray border-bottom \">\n {{ 'taxes' | translate }}</div>\n <div *ngIf=\"!hideTaxes && order.totals.taxes && order.totals.taxes != 0\"\n class=\"col-6 font-brandon font-md text-gray border-bottom text-end\">\n {{ (order.totals.taxes) | ecCurrencySymbol:'alwaysShowDecimals' }}</div>\n\n <div class=\"col-6 font-brandon font-md\">{{ 'total' | translate | uppercase }}</div>\n <div class=\"col-6 font-brandon font-md text-end\">\n {{ (order.totals.total) | ecCurrencySymbol:'alwaysShowDecimals' }}\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n</main>\n\n<ng-template #noOrder>\n <div class=\"w-100 h-50\">\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\n <h5>{{ 'no-orders' | translate }}</h5>\n </div>\n </div>\n</ng-template>\n\n<ng-template #loadingView>\n <div class=\"w-100 h-50 py-5\">\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n</ng-template>",
|
|
@@ -13724,7 +14081,7 @@
|
|
|
13724
14081
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
13725
14082
|
};
|
|
13726
14083
|
})();
|
|
13727
|
-
var __decorate$
|
|
14084
|
+
var __decorate$1n = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13728
14085
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13729
14086
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13730
14087
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -13819,13 +14176,13 @@
|
|
|
13819
14176
|
{ type: forms.FormBuilder },
|
|
13820
14177
|
{ type: router.Router }
|
|
13821
14178
|
]; };
|
|
13822
|
-
__decorate$
|
|
14179
|
+
__decorate$1n([
|
|
13823
14180
|
core.Input()
|
|
13824
14181
|
], AuthEcComponent.prototype, "complete", void 0);
|
|
13825
|
-
__decorate$
|
|
14182
|
+
__decorate$1n([
|
|
13826
14183
|
core.Input()
|
|
13827
14184
|
], AuthEcComponent.prototype, "redirect", void 0);
|
|
13828
|
-
AuthEcComponent = __decorate$
|
|
14185
|
+
AuthEcComponent = __decorate$1n([
|
|
13829
14186
|
core.Component({
|
|
13830
14187
|
selector: 'app-auth-ec',
|
|
13831
14188
|
template: "<!-- banners -->\n<div class=\"row\">\n <div class=\"col-12 p-0\" id=\"banner-slider-home\">\n <div id=\"banner-slider\" class=\"owl-carousel h-100 w-100\">\n <div class=\"item\">\n <img src=\"assets/image/login.png\" class=\"w-100 d-none d-md-block\">\n <img src=\"assets/image/26912-05-mobile.png\" class=\"w-100 d-block d-md-none\">\n <div class=\"caption\">\n <h1 class=\"color-white\">Ingresar</h1>\n </div>\n </div>\n </div>\n </div>\n</div>\n\n<div class=\"row\" id=\"contacto\">\n <div class=\"col-12 py-md-5 py-0 px-0\">\n <div class=\"container\" style=\"background-color: #F1F1F1;\">\n <div class=\"row\">\n <div class=\"col-md-6 px-md-5 px-3 col-12\">\n <app-login-form-ec></app-login-form-ec>\n </div>\n <div class=\"col-md-6 px-md-5 px-3 col-12\">\n <app-register-form-ec></app-register-form-ec>\n </div>\n </div>\n </div>\n </div>\n</div>",
|
|
@@ -13859,7 +14216,7 @@
|
|
|
13859
14216
|
};
|
|
13860
14217
|
return __assign$r.apply(this, arguments);
|
|
13861
14218
|
};
|
|
13862
|
-
var __decorate$
|
|
14219
|
+
var __decorate$1o = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13863
14220
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
13864
14221
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
13865
14222
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14102,19 +14459,19 @@
|
|
|
14102
14459
|
{ type: ChannelConfigService },
|
|
14103
14460
|
{ type: Constants }
|
|
14104
14461
|
]; };
|
|
14105
|
-
__decorate$
|
|
14462
|
+
__decorate$1o([
|
|
14106
14463
|
core.Input()
|
|
14107
14464
|
], RegisterFormEcComponent.prototype, "darkMode", void 0);
|
|
14108
|
-
__decorate$
|
|
14465
|
+
__decorate$1o([
|
|
14109
14466
|
core.Input()
|
|
14110
14467
|
], RegisterFormEcComponent.prototype, "redirect", void 0);
|
|
14111
|
-
__decorate$
|
|
14468
|
+
__decorate$1o([
|
|
14112
14469
|
core.Input()
|
|
14113
14470
|
], RegisterFormEcComponent.prototype, "complete", void 0);
|
|
14114
|
-
__decorate$
|
|
14471
|
+
__decorate$1o([
|
|
14115
14472
|
core.Output()
|
|
14116
14473
|
], RegisterFormEcComponent.prototype, "ready", void 0);
|
|
14117
|
-
RegisterFormEcComponent = __decorate$
|
|
14474
|
+
RegisterFormEcComponent = __decorate$1o([
|
|
14118
14475
|
core.Component({
|
|
14119
14476
|
selector: 'app-register-form-ec',
|
|
14120
14477
|
template: "<div class=\"w-100 pl-md-5 position-relative\" id=\"register\">\n <div class=\"py-2\">\n <h5>CREAR CUENTA</h5>\n </div>\n <form id=\"registro\" [formGroup]=\"registerForm\" (submit)=\"register($event)\">\n <div class=\"form-group\">\n <label for=\"\" class=\"form-label\">NOMBRE</label>\n <input formControlName=\"firstName\" class=\"form-control rounded-0\" type=\"text\" placeholder=\"Nombre\">\n </div>\n <div class=\"form-group\">\n <label for=\"\" class=\"form-label\">APELLIDO</label>\n <input formControlName=\"lastName\" class=\"form-control rounded-0\" type=\"text\" placeholder=\"Apellido\">\n </div>\n <div class=\"form-group\">\n <label for=\"\" class=\"\">CORREO ELECTRONICO</label>\n <input formControlName=\"email\" email required class=\"form-control rounded-0\" type=\"email\"\n placeholder=\"Correo electr\u00F3nico\">\n </div>\n <div class=\"form-group\">\n <label for=\"\" class=\"form-label\">CONTRASE\u00D1A</label>\n <input formControlName=\"plainPassword\" required class=\"form-control rounded-0\" type=\"password\"\n placeholder=\"Contrase\u00F1a\">\n </div>\n <div class=\"form-group\">\n <label for=\"\" class=\"form-label\">REPETIR CONTRASE\u00D1A</label>\n <input formControlName=\"plainPassword2\" required class=\"form-control rounded-0\" type=\"password\"\n placeholder=\"Repetir contrase\u00F1a\">\n </div>\n\n <div class=\"custom-control d-flex flex-row form-check custom-checkbox mr-sm-2 mt-4 mb-2\">\n <input type=\"checkbox\" formControlName=\"terms\" required class=\"custom-control-input form-check-input\" name=\"Color2\"\n id=\"Color2\">\n <label class=\"custom-control-label ff-ubuntu-light font-sm form-check-label\" for=\"Color2\"> He\n le\u00EDdo y acepto las pol\u00EDticas de privacidad y los t\u00E9rminos y\n condiciones</label>\n </div>\n\n <div class=\"custom-control d-flex flex-row form-check custom-checkbox mr-sm-2 mb-4\">\n <input type=\"checkbox\" formControlName=\"newsletter\" class=\"custom-control-input form-check-input\" name=\"Color3\" id=\"Color3\">\n <label class=\"custom-control-label form-check-label ff-ubuntu-light font-sm\" for=\"Color3\">\n Suscripci\u00F3n al Newsletter</label>\n </div>\n\n <div class=\"row\">\n <div class=\"col-12\">\n <button [disabled]=\"registerForm.invalid\" type=\"submit\"\n class=\"btn btn-dark bg-black btn-block px-5 py-2 rounded-0 h-fit\">CREAR</button>\n </div>\n </div>\n </form>\n <app-loading-section-ec *ngIf=\"register_loading\"></app-loading-section-ec>\n</div>",
|
|
@@ -14137,7 +14494,7 @@
|
|
|
14137
14494
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14138
14495
|
};
|
|
14139
14496
|
})();
|
|
14140
|
-
var __decorate$
|
|
14497
|
+
var __decorate$1p = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14141
14498
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14142
14499
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14143
14500
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14214,25 +14571,25 @@
|
|
|
14214
14571
|
{ type: forms.FormBuilder },
|
|
14215
14572
|
{ type: router.Router }
|
|
14216
14573
|
]; };
|
|
14217
|
-
__decorate$
|
|
14574
|
+
__decorate$1p([
|
|
14218
14575
|
core.Input()
|
|
14219
14576
|
], LoginFormEcComponent.prototype, "darkMode", void 0);
|
|
14220
|
-
__decorate$
|
|
14577
|
+
__decorate$1p([
|
|
14221
14578
|
core.Input()
|
|
14222
14579
|
], LoginFormEcComponent.prototype, "redirect", void 0);
|
|
14223
|
-
__decorate$
|
|
14580
|
+
__decorate$1p([
|
|
14224
14581
|
core.Input()
|
|
14225
14582
|
], LoginFormEcComponent.prototype, "redirectTo", void 0);
|
|
14226
|
-
__decorate$
|
|
14583
|
+
__decorate$1p([
|
|
14227
14584
|
core.Input()
|
|
14228
14585
|
], LoginFormEcComponent.prototype, "complete", void 0);
|
|
14229
|
-
__decorate$
|
|
14586
|
+
__decorate$1p([
|
|
14230
14587
|
core.Input()
|
|
14231
14588
|
], LoginFormEcComponent.prototype, "title", void 0);
|
|
14232
|
-
__decorate$
|
|
14589
|
+
__decorate$1p([
|
|
14233
14590
|
core.Output()
|
|
14234
14591
|
], LoginFormEcComponent.prototype, "ready", void 0);
|
|
14235
|
-
LoginFormEcComponent = __decorate$
|
|
14592
|
+
LoginFormEcComponent = __decorate$1p([
|
|
14236
14593
|
core.Component({
|
|
14237
14594
|
selector: 'app-login-form-ec',
|
|
14238
14595
|
template: "<div class=\"d-flex flex-column position-relative\">\n <h1 class=\"right-line ff-ubuntu-light mb-2\"><span>{{'get-into' | translate}}</span></h1>\n <p class=\"ff-ubuntu-light font-sm pr-4\">\n {{'auth.login_prompt' | translate}}\n </p>\n <div class=\"w-md-50 w-100 text-center\">\n <form [formGroup]=\"loginForm\" (submit)=\"login($event)\">\n <input class=\"form-control mb-4 radius-0\" type=\"email\" formControlName=\"username\"\n [placeholder]=\"'mail-enter' | translate\">\n <input class=\"form-control mb-4 radius-0\" type=\"password\" formControlName=\"password\"\n [placeholder]=\"'password' | translate\">\n \n <div class=\"row d-flex flex-column\">\n <div class=\"col-12\">\n <button type=\"submit\"\n class=\"bg-gray border-0 px-4 py-2 color-white ff-ubuntu-light\">{{'get-into2' | translate}}</button>\n </div>\n <div class=\"col-12 d-flex justify-content-center align-items-center\">\n <a [routerLink]=\"'/auth/forgot-password'\" class=\"font-md ff-ubuntu-light\">\n {{'auth.forgot_password' | translate}}\n </a>\n </div>\n </div>\n </form>\n </div>\n <div *ngIf=\"!loading; else loadingView\"></div>\n</div>\n<ng-template #loadingView>\n <app-loading-section-ec></app-loading-section-ec>\n</ng-template>\n\n\n<select-channel-ec></select-channel-ec>",
|
|
@@ -14255,7 +14612,7 @@
|
|
|
14255
14612
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14256
14613
|
};
|
|
14257
14614
|
})();
|
|
14258
|
-
var __decorate$
|
|
14615
|
+
var __decorate$1q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14259
14616
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14260
14617
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14261
14618
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14301,7 +14658,7 @@
|
|
|
14301
14658
|
{ type: AuthService },
|
|
14302
14659
|
{ type: ToastService }
|
|
14303
14660
|
]; };
|
|
14304
|
-
ForgotPasswordEcComponent = __decorate$
|
|
14661
|
+
ForgotPasswordEcComponent = __decorate$1q([
|
|
14305
14662
|
core.Component({
|
|
14306
14663
|
selector: 'app-forgot-password-ec',
|
|
14307
14664
|
template: "<div class=\"container\" id=\"passReset\">\n\n <div *ngIf=\"!ready; else readyView\">\n <form (submit)=\"recoverPassword($event)\" class=\"row justify-content-center\">\n <div class=\"col-12 col-md-10 text-center\">\n <h3>{{ 'set-forgot-email' | translate }}</h3>\n <div class=\"element-container\">\n <input type=\"email\" [(ngModel)]=\"email\" class=\"form-control\"\n [ngModelOptions]=\"{standalone: true}\" />\n </div>\n <button class=\"btn btn-primary btn-passreset my-2\" type=\"submit\">{{ 'recover-password' | translate\n }}</button>\n\n <div *ngIf=\"loading\">\n <app-loading-inline-ec></app-loading-inline-ec>\n </div>\n </div>\n </form>\n </div>\n</div>\n\n<ng-template #readyView>\n <div class=\"row\">\n <div class=\"col-12 col-md-8\">\n <div class=\"element-container text-center\">\n <h3>{{ 'mail-sent' | translate }}</h3>\n </div>\n <div class=\"element-container text-center\">\n <h5 class=\"center-text\">{{ 'check-your-email' | translate }}</h5>\n </div>\n </div>\n </div>\n</ng-template>",
|
|
@@ -14324,7 +14681,7 @@
|
|
|
14324
14681
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14325
14682
|
};
|
|
14326
14683
|
})();
|
|
14327
|
-
var __decorate$
|
|
14684
|
+
var __decorate$1r = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14328
14685
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14329
14686
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14330
14687
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14356,7 +14713,7 @@
|
|
|
14356
14713
|
{ type: AuthService },
|
|
14357
14714
|
{ type: router.ActivatedRoute }
|
|
14358
14715
|
]; };
|
|
14359
|
-
ConfirmAccountEcComponent = __decorate$
|
|
14716
|
+
ConfirmAccountEcComponent = __decorate$1r([
|
|
14360
14717
|
core.Component({
|
|
14361
14718
|
selector: 'app-confirm-account-ec',
|
|
14362
14719
|
template: "<div class=\"mt-5 mb-5\">\n <div class=\"row\">\n <div class=\"col-md-12 col-12 text-center\">\n <h4 class=\"confirm-title text-white py-3 text-uppercase d-inline-block\">\n {{ ('thanks-for-register' | translate) | uppercase }}</h4>\n </div>\n </div>\n \n \n <div class=\"row\">\n <div class=\"col-md-12 col-12 text-center\">\n <h4>{{ 'thanks-for-register-detail' | translate }}</h4>\n <br>\n <a routerLink=\"/auth/login\">\n <button class=\"btn bg-golden color-white radius-0\" type=\"button\">{{ 'login' | translate |\n uppercase }}</button>\n </a>\n <br>\n <br>\n </div>\n </div>\n</div>",
|
|
@@ -14379,7 +14736,7 @@
|
|
|
14379
14736
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14380
14737
|
};
|
|
14381
14738
|
})();
|
|
14382
|
-
var __decorate$
|
|
14739
|
+
var __decorate$1s = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14383
14740
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14384
14741
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14385
14742
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14468,7 +14825,7 @@
|
|
|
14468
14825
|
{ type: router.Router },
|
|
14469
14826
|
{ type: forms.FormBuilder }
|
|
14470
14827
|
]; };
|
|
14471
|
-
PasswordResetEcComponent = __decorate$
|
|
14828
|
+
PasswordResetEcComponent = __decorate$1s([
|
|
14472
14829
|
core.Component({
|
|
14473
14830
|
selector: 'app-password-reset-ec',
|
|
14474
14831
|
template: "<div class=\"container\">\n <div class=\"row justify-content-center mt-5\">\n <div class=\"col-12 col-md-6 col-lg-4\">\n <div *ngIf=\"!ready; else readyView\">\n <form [formGroup]=\"formGroup\" (submit)=\"sendNewPassword($event)\">\n <div class=\"mb-4 text-center\">\n <h3>{{ 'set-new-password' | translate }}</h3>\n </div>\n <div class=\"mb-3\">\n <label class=\"form-label\">{{ 'set-password' | translate }}</label>\n <div class=\"input-group\">\n <input type=\"password\" formControlName=\"first\" class=\"form-control\" id=\"contrase\u00F1a1\" />\n <button class=\"btn btn-outline-secondary btn-password\" type=\"button\"\n (click)=\"showPassword()\">\n <i id=\"show1\" class=\"fas fa-eye i-show-password\"></i>\n <i id=\"hide1\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\n </button>\n </div>\n </div>\n <div class=\"mb-3\">\n <label class=\"form-label\">{{ 'repeat-password' | translate }}</label>\n <div class=\"input-group\">\n <input type=\"password\" formControlName=\"second\" class=\"form-control\" id=\"contrase\u00F1a2\" />\n <button class=\"btn btn-outline-secondary btn-password\" type=\"button\"\n (click)=\"showPassword2()\">\n <i id=\"show2\" class=\"fas fa-eye i-show-password\"></i>\n <i id=\"hide2\" class=\"fas fa-eye-slash d-none i-show-password\"></i>\n </button>\n </div>\n </div>\n <div class=\"mt-4 text-center\">\n <button type=\"submit\" class=\"comprar w-100\">{{ 'update' | translate }}</button>\n </div>\n <div *ngIf=\"loading\" class=\"mt-3\">\n <app-loading-inline-ec></app-loading-inline-ec>\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #readyView>\n <div class=\"row justify-content-center mt-5 mb-5\">\n <div class=\"text-center\">\n <div class=\"mb-4\">\n <h3>{{ 'updated-password' | translate }}</h3>\n </div>\n <div class=\"mb-4\">\n <h5>{{ 'updated-password-detail' | translate }}</h5>\n </div>\n <button class=\"comprar\" (click)=\"sendToLogin()\">{{ 'login' | translate }}</button>\n </div>\n </div>\n</ng-template>",
|
|
@@ -14502,7 +14859,7 @@
|
|
|
14502
14859
|
};
|
|
14503
14860
|
return __assign$s.apply(this, arguments);
|
|
14504
14861
|
};
|
|
14505
|
-
var __decorate$
|
|
14862
|
+
var __decorate$1t = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14506
14863
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14507
14864
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14508
14865
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14641,19 +14998,19 @@
|
|
|
14641
14998
|
{ type: ParametersService },
|
|
14642
14999
|
{ type: forms.FormBuilder }
|
|
14643
15000
|
]; };
|
|
14644
|
-
__decorate$
|
|
15001
|
+
__decorate$1t([
|
|
14645
15002
|
core.Input()
|
|
14646
15003
|
], RegisterWholesalerFormEcComponent.prototype, "darkMode", void 0);
|
|
14647
|
-
__decorate$
|
|
15004
|
+
__decorate$1t([
|
|
14648
15005
|
core.Input()
|
|
14649
15006
|
], RegisterWholesalerFormEcComponent.prototype, "redirect", void 0);
|
|
14650
|
-
__decorate$
|
|
15007
|
+
__decorate$1t([
|
|
14651
15008
|
core.Input()
|
|
14652
15009
|
], RegisterWholesalerFormEcComponent.prototype, "complete", void 0);
|
|
14653
|
-
__decorate$
|
|
15010
|
+
__decorate$1t([
|
|
14654
15011
|
core.Output()
|
|
14655
15012
|
], RegisterWholesalerFormEcComponent.prototype, "ready", void 0);
|
|
14656
|
-
RegisterWholesalerFormEcComponent = __decorate$
|
|
15013
|
+
RegisterWholesalerFormEcComponent = __decorate$1t([
|
|
14657
15014
|
core.Component({
|
|
14658
15015
|
selector: 'app-register-wholesaler-form-ec',
|
|
14659
15016
|
template: "\n<div class=\"container\">\n <div class=\"row\">\n <div class=\"col-12\">\n <div class=\"\">\n <div class=\"pt-5 pb-3 border-bottom\">\n <h3 class=\"my-auto mx-2 text-left w-fit bold text-beige1 white-space-md-nowrap\">CREAR CUENTA MAYORISTA</h3>\n </div>\n <div class=\" py-3\">\n <p>Si todavia no tienes una cuenta de grandes consumidores en Vi\u00F1als registrate ingresando estos\n datos:</p>\n </div>\n <form [formGroup]=\"registerForm\" (submit)=\"register($event)\" class=\"position-relative\">\n <div class=\"row w-100 mx-auto d-flex justify-content-center px-0 py-3\">\n \n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Nombre</label>\n <input type=\"text\" id=\"\" placeholder=\"Nombre\" required name=\"firstName\"\n formControlName=\"firstName\"\n [class]=\"registerForm.controls.firstName.touched ? (registerForm.controls.firstName.valid && registerForm.controls.firstName.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">El nombre es un campo obligatorio.</span>\n </div>\n </div>\n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Apellidos</label>\n <input type=\"text\" id=\"\" placeholder=\"Apellido\" required\n name=\"lastName\" formControlName=\"lastName\"\n [class]=\"registerForm.controls.lastName.touched ? (registerForm.controls.lastName.valid && registerForm.controls.lastName.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">El apellido es un campo obligatorio.</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Email</label>\n <input type=\"email\" id=\"\" placeholder=\"Email\" email required\n name=\"email\" formControlName=\"email\"\n [class]=\"registerForm.controls.email.touched ? (registerForm.controls.email.valid && registerForm.controls.email.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">El email no posee un formato correcto.</span>\n </div>\n </div>\n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Contrase\u00F1a</label>\n <input type=\"password\" id=\"\" placeholder=\"Contrase\u00F1a\" required\n name=\"plainPassword\" formControlName=\"plainPassword\"\n [class]=\"registerForm.controls.plainPassword.touched ? (registerForm.controls.plainPassword.valid && registerForm.controls.plainPassword.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">La contrase\u00F1a es un campo obligatorio.</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pl-md-1\" *ngIf=\"(countries$ | async) as countries\">\n <div class=\"form-group\">\n <label for=\"\">{{'country'|translate}}</label>\n <select name=\"countryCode\" formControlName=\"countryCode\" required\n (change)=\"onCountrySelected($event.target.value)\"\n [class]=\"registerForm.controls.countryCode.touched ? (registerForm.controls.countryCode.valid && registerForm.controls.countryCode.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <option value=\"null\" id=\"selectOpPais\">Seleccione un pais</option>\n <option *ngFor=\"let country of countries\" [value]=\"country.code\"> {{ country.name }}</option>\n </select>\n <span class=\"invalid-feedback\">{{'country-help'|translate}}</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pl-md-1\" *ngIf=\"(provinces$ | async) as provinces\">\n <div class=\"form-group\">\n <label for=\"\">{{'state'|translate}}</label>\n <select name=\"provinceCode\" formControlName=\"provinceCode\" required\n (change)=\"onProvincesSelected($event.target.value)\"\n [class]=\"registerForm.controls.countryCode.touched ? (registerForm.controls.countryCode.valid && registerForm.controls.countryCode.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <option value=\"null\" id=\"selectOpProvincia\">Seleccione una provincia</option>\n <option *ngFor=\"let province of provinces\" [value]=\"province.code\">{{ province.name }}</option>\n </select>\n <span class=\"invalid-feedback\">{{'state-help'|translate}}</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\n <div class=\"form-group\">\n <label for=\"\">{{'address'|translate}}</label>\n <input placeholder=\"{{'address'|translate}}\" required type=\"text\" name=\"street\"\n formControlName=\"street\"\n [class]=\"registerForm.controls.street.touched ? (registerForm.controls.street.valid && registerForm.controls.street.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">{{'address-help1'|translate}}</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\n <div class=\"form-group\">\n <label for=\"\">{{'town-city'|translate}}</label>\n <input placeholder=\"{{'town-city'|translate}}\" required type=\"text\" name=\"city\"\n formControlName=\"city\"\n [class]=\"registerForm.controls.city.touched ? (registerForm.controls.city.valid && registerForm.controls.city.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">{{'town-city-help'|translate}}</span>\n </div>\n </div>\n \n \n <div class=\"col-12 col-md-6 px-0 pl-md-1\">\n <div class=\"form-group\">\n <label for=\"\">{{'postal-code'|translate}}</label>\n <input placeholder=\"{{'postal-code'|translate}}\" required type=\"text\" name=\"postcode\"\n formControlName=\"postcode\"\n [class]=\"registerForm.controls.postcode.touched ? (registerForm.controls.postcode.valid && registerForm.controls.postcode.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">{{'postal-code-help'|translate}}</span>\n </div>\n </div>\n \n \n \n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Nombre compa\u00F1\u00EDa</label>\n <input type=\"text\" id=\"\" placeholder=\"Nombre compa\u00F1\u00EDa\" required\n name=\"companyName\" formControlName=\"companyName\"\n [class]=\"registerForm.controls.companyName.touched ? (registerForm.controls.companyName.valid && registerForm.controls.companyName.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">El nombre compa\u00F1\u00EDa es un campo obligatorio.</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\n <div class=\"form-group\">\n <label for=\"\">{{'phone'|translate}}</label>\n <input type=\"text\" id=\"\" placeholder=\"{{'phone'|translate}}\" required\n name=\"phoneNumber\" formControlName=\"phoneNumber\"\n [class]=\"registerForm.controls.phoneNumber.touched ? (registerForm.controls.phoneNumber.valid && registerForm.controls.phoneNumber.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">El numero de telefono es un campo obligatorio.</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Sexo</label>\n <select (change)=\"onGenderSelected($event.target.value)\" required name=\"gender\"\n formControlName=\"gender\"\n [class]=\"registerForm.controls.gender.touched ? (registerForm.controls.gender.valid && registerForm.controls.gender.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <option value=\"null\" id=\"selectOpSexo\">Sexo</option>\n <option value=\"u\">Desconocido</option>\n <option value=\"s\">Femenino</option>\n <option value=\"m\">Masculino</option>\n </select>\n <span class=\"invalid-feedback\">El sexo es un campo obligatorio.</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Fecha creacion</label>\n <input type=\"date\" id=\"\" placeholder=\"Fecha creacion\" required\n name=\"birthday\" formControlName=\"birthday\"\n [class]=\"registerForm.controls.birthday.touched ? (registerForm.controls.birthday.valid && registerForm.controls.birthday.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">La fecha de creacion es un campo obligatorio.</span>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 pr-md-1\">\n <div class=\"form-group\">\n <label for=\"\">Identificacion</label>\n <input type=\"text\" id=\"\" placeholder=\"Identificacion\" required\n name=\"taxIdentification\" formControlName=\"taxIdentification\"\n [class]=\"registerForm.controls.taxIdentification.touched ? (registerForm.controls.taxIdentification.valid && registerForm.controls.taxIdentification.touched) ? 'form-control rounded-0 is-valid' : 'form-control rounded-0 is-invalid' : 'form-control rounded-0'\">\n <span class=\"invalid-feedback\">La identificacion de la compa\u00F1\u00EDa es un campo obligatorio.</span>\n </div>\n </div>\n \n \n \n <div class=\"col-12 col-md-6 px-0 py-4 pl-md-1 order-1 order-md-2\">\n <!-- <div class=\"form-check py-2\">\n <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"defaultCheck1\" #terms=\"ngModel\"\n name=\"terms\" [(ngModel)]=\"registroUsuario.terms\" type=\"checkbox\" required\n [class]=\"terms.touched ? (terms.valid && terms.touched && registroUsuario.terms != false) ? 'form-check-input is-valid' : 'form-check-input is-invalid' : 'form-check-input '\" />\n <label class=\"form-check-label\" for=\"defaultCheck1\">\n He leido y acepto las <a routerLink=\"/section/politicas-privacidad\" class=\"text\">pol\u00EDticas de\n privacidad</a>\n y los <a routerLink=\"/section/terminos-y-condiciones\" class=\"text\">t\u00E9rminos y condiciones</a>\n </label>\n <span class=\"invalid-feedback\">Debe aceptar los t\u00E9rminos y condiciones para continuar.</span>\n </div> -->\n <div class=\"form-check py-2\">\n <input class=\"form-check-input\" type=\"checkbox\" value=\"\" id=\"defaultCheck2\"\n name=\"subscribedToNewsletter\" formControlName=\"subscribedToNewsletter\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"defaultCheck2\">\n Suscripci\u00F3n al newsletter\n </label>\n </div>\n </div>\n \n <div class=\"col-12 col-md-6 px-0 py-4 pr-md-1 d-flex justify-content-md-start order-2 order-md-1\">\n <button *ngIf=\"!register_loading\" type=\"submit\" role=\"button\"\n class=\"btn btn-dark bg-beige1 text-blanco bold rounded-0 px-5 py-2 w-100 w-md-auto h-fit\">REGISTRATE</button>\n </div>\n \n </div>\n <app-loading-section-ec *ngIf=\"register_loading\"></app-loading-section-ec>\n </form>\n </div>\n </div>\n </div>\n</div>",
|
|
@@ -14676,7 +15033,7 @@
|
|
|
14676
15033
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14677
15034
|
};
|
|
14678
15035
|
})();
|
|
14679
|
-
var __decorate$
|
|
15036
|
+
var __decorate$1u = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14680
15037
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14681
15038
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14682
15039
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14810,10 +15167,10 @@
|
|
|
14810
15167
|
{ type: platformBrowser.Meta },
|
|
14811
15168
|
{ type: platformBrowser.Title }
|
|
14812
15169
|
]; };
|
|
14813
|
-
__decorate$
|
|
15170
|
+
__decorate$1u([
|
|
14814
15171
|
core.Input()
|
|
14815
15172
|
], ShareBlockEcComponent.prototype, "product", void 0);
|
|
14816
|
-
ShareBlockEcComponent = __decorate$
|
|
15173
|
+
ShareBlockEcComponent = __decorate$1u([
|
|
14817
15174
|
core.Component({
|
|
14818
15175
|
selector: 'app-share-block-ec',
|
|
14819
15176
|
template: "<div class=\"w-100 d-flex justify-content-around\">\n <ng-container *ngIf=\"params && params.length > 0; else default\">\n <a *ngIf=\"hasParams(params, 'facebook')\" target=\"_blank\" [href]=\"toShareFacebook()\"\n class=\"social-sharing__link\" title=\"Compartir en Facebook\">\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-facebook\" viewBox=\"0 0 32 32\">\n <path fill=\"#444\"\n d=\"M18.56 31.36V17.28h4.48l.64-5.12h-5.12v-3.2c0-1.28.64-2.56 2.56-2.56h2.56V1.28H19.2c-3.84 0-7.04 2.56-7.04 7.04v3.84H7.68v5.12h4.48v14.08h6.4z\">\n </path>\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Compartir</span>\n </a>\n <a *ngIf=\"hasParams(params, 'twitter')\" target=\"_blank\" \n [href]=\"toShareTwitter()\"\n class=\"social-sharing__link\" title=\"Tuitear en Twitter\">\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-twitter\" viewBox=\"0 0 32 32\">\n <path fill=\"#444\"\n d=\"M31.281 6.733q-1.304 1.924-3.13 3.26 0 .13.033.408t.033.408q0 2.543-.75 5.086t-2.282 4.858-3.635 4.108-5.053 2.869-6.341 1.076q-5.282 0-9.65-2.836.913.065 1.5.065 4.401 0 7.857-2.673-2.054-.033-3.668-1.255t-2.266-3.146q.554.13 1.206.13.88 0 1.663-.261-2.184-.456-3.619-2.184t-1.435-3.977v-.065q1.239.652 2.836.717-1.271-.848-2.021-2.233t-.75-2.983q0-1.63.815-3.195 2.38 2.967 5.754 4.678t7.319 1.907q-.228-.815-.228-1.434 0-2.608 1.858-4.45t4.532-1.842q1.304 0 2.51.522t2.054 1.467q2.152-.424 4.01-1.532-.685 2.217-2.771 3.488 1.989-.261 3.619-.978z\">\n </path>\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Tuitear</span>\n </a>\n <a *ngIf=\"hasParams(params, 'pinterest')\" target=\"_blank\"\n [href]=\"toSharePinterest()\"\n class=\"social-sharing__link\" title=\"Pinear en Pinterest\">\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-pinterest\" viewBox=\"0 0 32 32\">\n <path fill=\"#444\"\n d=\"M27.52 9.6c-.64-5.76-6.4-8.32-12.8-7.68-4.48.64-9.6 4.48-9.6 10.24 0 3.2.64 5.76 3.84 6.4 1.28-2.56-.64-3.2-.64-4.48-1.28-7.04 8.32-12.16 13.44-7.04 3.2 3.84 1.28 14.08-4.48 13.44-5.12-1.28 2.56-9.6-1.92-11.52-3.2-1.28-5.12 4.48-3.84 7.04-1.28 4.48-3.2 8.96-1.92 15.36 2.56-1.92 3.84-5.76 4.48-9.6 1.28.64 1.92 1.92 3.84 1.92 6.4-.64 10.24-7.68 9.6-14.08z\">\n </path>\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Hacer pin</span>\n </a>\n <a *ngIf=\"hasParams(params, 'whatsapp') as wsp\" target=\"_blank\" [href]=\"toShareWhatsapp(wsp)\" class=\"social-sharing__link\" title=\"Whatsapp\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" fill=\"currentColor\" class=\"bi bi-whatsapp\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z\" />\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Whatsapp</span>\n </a>\n <a *ngIf=\"hasParams(params, 'email') as email\" target=\"_blank\" [href]=\"toShareEmail(email)\" class=\"social-sharing__link\"\n title=\"Email\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" fill=\"currentColor\" class=\"bi bi-envelope-fill\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555ZM0 4.697v7.104l5.803-3.558L0 4.697ZM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757Zm3.436-.586L16 11.801V4.697l-5.803 3.546Z\" />\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Email</span>\n </a>\n </ng-container>\n</div>\n\n<!-- VISTA DEFAULT CON LINKS QUE NO REQUIEREN PARAMETROS-->\n<ng-template #default>\n <a target=\"_blank\" [href]=\"toShareFacebook()\" class=\"social-sharing__link\" title=\"Compartir en Facebook\">\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-facebook\" viewBox=\"0 0 32 32\">\n <path fill=\"#444\"\n d=\"M18.56 31.36V17.28h4.48l.64-5.12h-5.12v-3.2c0-1.28.64-2.56 2.56-2.56h2.56V1.28H19.2c-3.84 0-7.04 2.56-7.04 7.04v3.84H7.68v5.12h4.48v14.08h6.4z\">\n </path>\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Compartir</span>\n </a>\n <a target=\"_blank\" [href]=\"toShareTwitter()\" class=\"social-sharing__link\" title=\"Tuitear en Twitter\">\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-twitter\" viewBox=\"0 0 32 32\">\n <path fill=\"#444\"\n d=\"M31.281 6.733q-1.304 1.924-3.13 3.26 0 .13.033.408t.033.408q0 2.543-.75 5.086t-2.282 4.858-3.635 4.108-5.053 2.869-6.341 1.076q-5.282 0-9.65-2.836.913.065 1.5.065 4.401 0 7.857-2.673-2.054-.033-3.668-1.255t-2.266-3.146q.554.13 1.206.13.88 0 1.663-.261-2.184-.456-3.619-2.184t-1.435-3.977v-.065q1.239.652 2.836.717-1.271-.848-2.021-2.233t-.75-2.983q0-1.63.815-3.195 2.38 2.967 5.754 4.678t7.319 1.907q-.228-.815-.228-1.434 0-2.608 1.858-4.45t4.532-1.842q1.304 0 2.51.522t2.054 1.467q2.152-.424 4.01-1.532-.685 2.217-2.771 3.488 1.989-.261 3.619-.978z\">\n </path>\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Tuitear</span>\n </a>\n <a target=\"_blank\" [href]=\"toSharePinterest()\" class=\"social-sharing__link\" title=\"Pinear en Pinterest\">\n <svg aria-hidden=\"true\" focusable=\"false\" role=\"presentation\" class=\"icon icon-pinterest\" viewBox=\"0 0 32 32\">\n <path fill=\"#444\"\n d=\"M27.52 9.6c-.64-5.76-6.4-8.32-12.8-7.68-4.48.64-9.6 4.48-9.6 10.24 0 3.2.64 5.76 3.84 6.4 1.28-2.56-.64-3.2-.64-4.48-1.28-7.04 8.32-12.16 13.44-7.04 3.2 3.84 1.28 14.08-4.48 13.44-5.12-1.28 2.56-9.6-1.92-11.52-3.2-1.28-5.12 4.48-3.84 7.04-1.28 4.48-3.2 8.96-1.92 15.36 2.56-1.92 3.84-5.76 4.48-9.6 1.28.64 1.92 1.92 3.84 1.92 6.4-.64 10.24-7.68 9.6-14.08z\">\n </path>\n </svg>\n <span class=\"social-sharing__title\" aria-hidden=\"true\">Hacer pin</span>\n </a>\n</ng-template>\n<!-- FIN -->",
|
|
@@ -14836,7 +15193,7 @@
|
|
|
14836
15193
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14837
15194
|
};
|
|
14838
15195
|
})();
|
|
14839
|
-
var __decorate$
|
|
15196
|
+
var __decorate$1v = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14840
15197
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14841
15198
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14842
15199
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -14932,10 +15289,10 @@
|
|
|
14932
15289
|
{ type: CartService },
|
|
14933
15290
|
{ type: ChannelConfigService }
|
|
14934
15291
|
]; };
|
|
14935
|
-
__decorate$
|
|
15292
|
+
__decorate$1v([
|
|
14936
15293
|
core.Input()
|
|
14937
15294
|
], DetailCheckoutBlockEcComponent.prototype, "asociatedData", void 0);
|
|
14938
|
-
DetailCheckoutBlockEcComponent = __decorate$
|
|
15295
|
+
DetailCheckoutBlockEcComponent = __decorate$1v([
|
|
14939
15296
|
core.Component({
|
|
14940
15297
|
selector: 'app-detail-checkout-block-ec',
|
|
14941
15298
|
template: "<div id=\"appDetailCheckoutBlockEc\" class=\"d-flex flex-row w-100 justify-content-center flex-wrap\"\n *ngIf=\"data && (creditAccountShowPrices !== null ? creditAccountShowPrices : true)\">\n <ng-container *ngFor=\"let item of data; let i = index\">\n <ng-container *ngIf=\"shouldShowItem(item.type) && !shouldHideSubtotal(item)\">\n <div class=\"d-flex flex-column justify-content-center mx-sm-3 mx-2 text-center mb-4 resumen\">\n <i ngClass=\"mb-2 colorIconoCheckout\" [class]=\"getIcon(item)\"></i>\n <strong class=\"text-center w-100 font-brandon font-md mb-1\">\n {{ getTypeLabel(item.type) | translate }}\n </strong>\n <span class=\"text-center w-100 font-brandon font-md text-gray\">{{ (item.amount != 0 ) ? (item.amount |\n ecCurrencySymbol:'alwaysShowDecimals') : ('free' | translate) }}</span>\n </div>\n </ng-container>\n\n\n <!-- Mostrar total de descuentos -->\n <div class=\"d-flex flex-column justify-content-center mx-sm-3 mx-2 text-center mb-4 resumen\"\n *ngIf=\"!hideDiscounts && this.discountTotal != 0 && i === 1\">\n <i ngClass=\"mb-2 colorIconoCheckout\" [class]=\"getIcon2('discount')\"></i>\n <strong class=\"text-center w-100 font-brandon font-md mb-1\">Descuento</strong>\n <span class=\"text-center w-100 font-brandon font-md text-gray\">{{ (this.discountTotal | ecCurrencySymbol:'alwaysShowDecimals')\n }}</span>\n </div>\n\n <!-- Mostrar total de cupones -->\n <div class=\"d-flex flex-column justify-content-center mx-sm-3 mx-2 text-center mb-4 resumen\"\n *ngIf=\"!hideDiscounts && this.couponTotal != 0 && i === 1\">\n <i ngClass=\"mb-2 colorIconoCheckout\" [class]=\"getIcon2('coupon')\"></i>\n <strong class=\"text-center w-100 font-brandon font-md mb-1\">Cupon</strong>\n <span class=\"text-center w-100 font-brandon font-md text-gray\">{{(this.couponTotal| ecCurrencySymbol:'alwaysShowDecimals')\n }}</span>\n </div>\n <div class=\"d-flex flex-column justify-content-center mx-sm-3 mx-2 text-center mb-4 resumen\"\n *ngIf=\"!hideTaxes && this.clientTaxes != 0 && i === 1\">\n <i ngClass=\"mb-2 colorIconoCheckout\" [class]=\"getIcon2('clienTaxe')\"></i>\n <strong class=\"text-center w-100 font-brandon font-md mb-1\">{{ 'clientTaxes' | translate }}</strong>\n <span class=\"text-center w-100 font-brandon font-md text-gray\">{{(this.clientTaxes | ecCurrencySymbol:'alwaysShowDecimals')\n }}</span>\n </div>\n </ng-container>\n</div>",
|
|
@@ -14958,7 +15315,7 @@
|
|
|
14958
15315
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14959
15316
|
};
|
|
14960
15317
|
})();
|
|
14961
|
-
var __decorate$
|
|
15318
|
+
var __decorate$1w = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
14962
15319
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14963
15320
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
14964
15321
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15017,13 +15374,13 @@
|
|
|
15017
15374
|
{ type: modal.BsModalService },
|
|
15018
15375
|
{ type: router.Router }
|
|
15019
15376
|
]; };
|
|
15020
|
-
__decorate$
|
|
15377
|
+
__decorate$1w([
|
|
15021
15378
|
core.ViewChild('template')
|
|
15022
15379
|
], CheckoutErrorComponent.prototype, "template", void 0);
|
|
15023
|
-
__decorate$
|
|
15380
|
+
__decorate$1w([
|
|
15024
15381
|
core.Input()
|
|
15025
15382
|
], CheckoutErrorComponent.prototype, "urlRedireccion", void 0);
|
|
15026
|
-
CheckoutErrorComponent = __decorate$
|
|
15383
|
+
CheckoutErrorComponent = __decorate$1w([
|
|
15027
15384
|
core.Component({
|
|
15028
15385
|
selector: 'ec-checkout-error',
|
|
15029
15386
|
template: "<ng-template #template>\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title pull-left\">{{ 'error-during-checkout' | translate }}</h4>\n <button type=\"button\" class=\"close pull-right\" aria-label=\"Close\" (click)=\"bsModalRef.hide()\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body p-5\">\n {{ error.message }}\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-default\" (click)=\"bsModalRef.hide()\">Continuar</button>\n </div>\n </div>\n</ng-template>\n\n",
|
|
@@ -15047,7 +15404,7 @@
|
|
|
15047
15404
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15048
15405
|
};
|
|
15049
15406
|
})();
|
|
15050
|
-
var __decorate$
|
|
15407
|
+
var __decorate$1x = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15051
15408
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15052
15409
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15053
15410
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15174,22 +15531,22 @@
|
|
|
15174
15531
|
{ type: router.ActivatedRoute },
|
|
15175
15532
|
{ type: platformBrowser.DomSanitizer }
|
|
15176
15533
|
]; };
|
|
15177
|
-
__decorate$
|
|
15534
|
+
__decorate$1x([
|
|
15178
15535
|
core.Input()
|
|
15179
15536
|
], MpRedirectEcComponent.prototype, "method", void 0);
|
|
15180
|
-
__decorate$
|
|
15537
|
+
__decorate$1x([
|
|
15181
15538
|
core.Input()
|
|
15182
15539
|
], MpRedirectEcComponent.prototype, "total_amount", void 0);
|
|
15183
|
-
__decorate$
|
|
15540
|
+
__decorate$1x([
|
|
15184
15541
|
core.Input()
|
|
15185
15542
|
], MpRedirectEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15186
|
-
__decorate$
|
|
15543
|
+
__decorate$1x([
|
|
15187
15544
|
core.Input()
|
|
15188
15545
|
], MpRedirectEcComponent.prototype, "allData", void 0);
|
|
15189
|
-
__decorate$
|
|
15546
|
+
__decorate$1x([
|
|
15190
15547
|
core.Output()
|
|
15191
15548
|
], MpRedirectEcComponent.prototype, "ready", void 0);
|
|
15192
|
-
MpRedirectEcComponent = __decorate$
|
|
15549
|
+
MpRedirectEcComponent = __decorate$1x([
|
|
15193
15550
|
core.Component({
|
|
15194
15551
|
selector: 'app-mp-redirect-ec',
|
|
15195
15552
|
template: "<div class=\"text-center\">\n <ng-container *ngIf=\"url;else loadingUrl\">\n <ng-container *ngIf=\"!loading;else loadingTemp\">\n <button (click)=\"iniciar()\" class=\"btn btn-outline-secondary rounded-0 comprar mt-3\">Pagar</button>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>\n\n<ng-template #loadingTemp>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <h3>Procesando el pago por mercado pago</h3>\n <h5>Recuerde hacer click en \"Volver al sitio\" desde mercado pago para finalizar la compra.</h5>\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-5\">\n <hr>\n </div>\n <div class=\"col-2 text-center\">\n <label for=\"\">o</label>\n </div>\n <div class=\"col-5\">\n <hr>\n </div>\n </div>\n </div>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <button (click)=\"clickClose()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Cancelar pago</button>\n </div>\n</ng-template>\n",
|
|
@@ -15212,7 +15569,7 @@
|
|
|
15212
15569
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15213
15570
|
};
|
|
15214
15571
|
})();
|
|
15215
|
-
var __decorate$
|
|
15572
|
+
var __decorate$1y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15216
15573
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15217
15574
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15218
15575
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15324,25 +15681,25 @@
|
|
|
15324
15681
|
{ type: router.ActivatedRoute },
|
|
15325
15682
|
{ type: platformBrowser.DomSanitizer }
|
|
15326
15683
|
]; };
|
|
15327
|
-
__decorate$
|
|
15684
|
+
__decorate$1y([
|
|
15328
15685
|
core.Input()
|
|
15329
15686
|
], RedSysRedirectOutEcComponent.prototype, "method", void 0);
|
|
15330
|
-
__decorate$
|
|
15687
|
+
__decorate$1y([
|
|
15331
15688
|
core.Input()
|
|
15332
15689
|
], RedSysRedirectOutEcComponent.prototype, "total_amount", void 0);
|
|
15333
|
-
__decorate$
|
|
15690
|
+
__decorate$1y([
|
|
15334
15691
|
core.Input()
|
|
15335
15692
|
], RedSysRedirectOutEcComponent.prototype, "user_data", void 0);
|
|
15336
|
-
__decorate$
|
|
15693
|
+
__decorate$1y([
|
|
15337
15694
|
core.Input()
|
|
15338
15695
|
], RedSysRedirectOutEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15339
|
-
__decorate$
|
|
15696
|
+
__decorate$1y([
|
|
15340
15697
|
core.Input()
|
|
15341
15698
|
], RedSysRedirectOutEcComponent.prototype, "allData", void 0);
|
|
15342
|
-
__decorate$
|
|
15699
|
+
__decorate$1y([
|
|
15343
15700
|
core.Output()
|
|
15344
15701
|
], RedSysRedirectOutEcComponent.prototype, "ready", void 0);
|
|
15345
|
-
RedSysRedirectOutEcComponent = __decorate$
|
|
15702
|
+
RedSysRedirectOutEcComponent = __decorate$1y([
|
|
15346
15703
|
core.Component({
|
|
15347
15704
|
selector: 'app-redsys-redirect-out-ec',
|
|
15348
15705
|
template: "<div class=\"text-center\">\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <ng-container *ngIf=\"url;else loadingUrl\">\n <ng-container *ngIf=\"!loading;else loadingTemp\">\n <button (click)=\"iniciar()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Pagar</button>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>\n\n<ng-template #loadingTemp>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <h3>Procesando el pago por Redsys</h3>\n <h5>Recuerde hacer click en \"Continuar\" desde Redsys para finalizar la compra.</h5>\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-5\">\n <hr>\n </div>\n <div class=\"col-2 text-center\">\n <label for=\"\">o</label>\n </div>\n <div class=\"col-5\">\n <hr>\n </div>\n </div>\n </div>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <button (click)=\"clickClose()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Cancelar pago</button>\n </div>\n</ng-template>",
|
|
@@ -15365,7 +15722,7 @@
|
|
|
15365
15722
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15366
15723
|
};
|
|
15367
15724
|
})();
|
|
15368
|
-
var __decorate$
|
|
15725
|
+
var __decorate$1z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15369
15726
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15370
15727
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15371
15728
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15545,25 +15902,25 @@
|
|
|
15545
15902
|
{ type: ToastService },
|
|
15546
15903
|
{ type: router.ActivatedRoute }
|
|
15547
15904
|
]; };
|
|
15548
|
-
__decorate$
|
|
15905
|
+
__decorate$1z([
|
|
15549
15906
|
core.Input()
|
|
15550
15907
|
], PaypalExpressEcComponent.prototype, "method", void 0);
|
|
15551
|
-
__decorate$
|
|
15908
|
+
__decorate$1z([
|
|
15552
15909
|
core.Input()
|
|
15553
15910
|
], PaypalExpressEcComponent.prototype, "total_amount", void 0);
|
|
15554
|
-
__decorate$
|
|
15911
|
+
__decorate$1z([
|
|
15555
15912
|
core.Output()
|
|
15556
15913
|
], PaypalExpressEcComponent.prototype, "ready", void 0);
|
|
15557
|
-
__decorate$
|
|
15914
|
+
__decorate$1z([
|
|
15558
15915
|
core.Input()
|
|
15559
15916
|
], PaypalExpressEcComponent.prototype, "user_data", void 0);
|
|
15560
|
-
__decorate$
|
|
15917
|
+
__decorate$1z([
|
|
15561
15918
|
core.ViewChild('template')
|
|
15562
15919
|
], PaypalExpressEcComponent.prototype, "template", void 0);
|
|
15563
|
-
__decorate$
|
|
15920
|
+
__decorate$1z([
|
|
15564
15921
|
core.ViewChild('paypal', { static: true })
|
|
15565
15922
|
], PaypalExpressEcComponent.prototype, "paypalElement", void 0);
|
|
15566
|
-
PaypalExpressEcComponent = __decorate$
|
|
15923
|
+
PaypalExpressEcComponent = __decorate$1z([
|
|
15567
15924
|
core.Component({
|
|
15568
15925
|
selector: 'app-paypal-express-ec',
|
|
15569
15926
|
template: "<div class=\"text-center\">\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <ng-container *ngIf=\"!loading;else loadingTemp\">\n </ng-container>\n <div #paypal> </div>\n</div>\n\n<ng-template #loadingTemp>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>",
|
|
@@ -15586,7 +15943,7 @@
|
|
|
15586
15943
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15587
15944
|
};
|
|
15588
15945
|
})();
|
|
15589
|
-
var __decorate$
|
|
15946
|
+
var __decorate$1A = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15590
15947
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15591
15948
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15592
15949
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15698,28 +16055,28 @@
|
|
|
15698
16055
|
{ type: platformBrowser.DomSanitizer },
|
|
15699
16056
|
{ type: modal.BsModalService }
|
|
15700
16057
|
]; };
|
|
15701
|
-
__decorate$
|
|
16058
|
+
__decorate$1A([
|
|
15702
16059
|
core.Input()
|
|
15703
16060
|
], MobbexEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15704
|
-
__decorate$
|
|
16061
|
+
__decorate$1A([
|
|
15705
16062
|
core.Input()
|
|
15706
16063
|
], MobbexEcComponent.prototype, "method", void 0);
|
|
15707
|
-
__decorate$
|
|
16064
|
+
__decorate$1A([
|
|
15708
16065
|
core.Input()
|
|
15709
16066
|
], MobbexEcComponent.prototype, "total_amount", void 0);
|
|
15710
|
-
__decorate$
|
|
16067
|
+
__decorate$1A([
|
|
15711
16068
|
core.Input()
|
|
15712
16069
|
], MobbexEcComponent.prototype, "allData", void 0);
|
|
15713
|
-
__decorate$
|
|
16070
|
+
__decorate$1A([
|
|
15714
16071
|
core.Input()
|
|
15715
16072
|
], MobbexEcComponent.prototype, "user_data", void 0);
|
|
15716
|
-
__decorate$
|
|
16073
|
+
__decorate$1A([
|
|
15717
16074
|
core.Output()
|
|
15718
16075
|
], MobbexEcComponent.prototype, "ready", void 0);
|
|
15719
|
-
__decorate$
|
|
16076
|
+
__decorate$1A([
|
|
15720
16077
|
core.ViewChild('template')
|
|
15721
16078
|
], MobbexEcComponent.prototype, "template", void 0);
|
|
15722
|
-
MobbexEcComponent = __decorate$
|
|
16079
|
+
MobbexEcComponent = __decorate$1A([
|
|
15723
16080
|
core.Component({
|
|
15724
16081
|
selector: 'app-mobbex-ec',
|
|
15725
16082
|
template: "<div class=\"text-center\">\n <h3>Continuar con el pago en Mobbex</h3>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <ng-container *ngIf=\"!loading ; else loadingUrl\">\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar</button>\n </ng-container>\n</div>\n\n<ng-template #template>\n <div class=\"modal-content\">\n </div>\n <div class=\"modal-body\">\n <iframe [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </div>\n</ng-template>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>",
|
|
@@ -15743,7 +16100,7 @@
|
|
|
15743
16100
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15744
16101
|
};
|
|
15745
16102
|
})();
|
|
15746
|
-
var __decorate$
|
|
16103
|
+
var __decorate$1B = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15747
16104
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15748
16105
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15749
16106
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -15858,28 +16215,28 @@
|
|
|
15858
16215
|
{ type: platformBrowser.DomSanitizer },
|
|
15859
16216
|
{ type: modal.BsModalService }
|
|
15860
16217
|
]; };
|
|
15861
|
-
__decorate$
|
|
16218
|
+
__decorate$1B([
|
|
15862
16219
|
core.Input()
|
|
15863
16220
|
], BancardEcComponent.prototype, "paymentServiceInst", void 0);
|
|
15864
|
-
__decorate$
|
|
16221
|
+
__decorate$1B([
|
|
15865
16222
|
core.Input()
|
|
15866
16223
|
], BancardEcComponent.prototype, "method", void 0);
|
|
15867
|
-
__decorate$
|
|
16224
|
+
__decorate$1B([
|
|
15868
16225
|
core.Input()
|
|
15869
16226
|
], BancardEcComponent.prototype, "total_amount", void 0);
|
|
15870
|
-
__decorate$
|
|
16227
|
+
__decorate$1B([
|
|
15871
16228
|
core.Input()
|
|
15872
16229
|
], BancardEcComponent.prototype, "allData", void 0);
|
|
15873
|
-
__decorate$
|
|
16230
|
+
__decorate$1B([
|
|
15874
16231
|
core.Input()
|
|
15875
16232
|
], BancardEcComponent.prototype, "user_data", void 0);
|
|
15876
|
-
__decorate$
|
|
16233
|
+
__decorate$1B([
|
|
15877
16234
|
core.Output()
|
|
15878
16235
|
], BancardEcComponent.prototype, "ready", void 0);
|
|
15879
|
-
__decorate$
|
|
16236
|
+
__decorate$1B([
|
|
15880
16237
|
core.ViewChild('template')
|
|
15881
16238
|
], BancardEcComponent.prototype, "template", void 0);
|
|
15882
|
-
BancardEcComponent = __decorate$
|
|
16239
|
+
BancardEcComponent = __decorate$1B([
|
|
15883
16240
|
core.Component({
|
|
15884
16241
|
selector: 'app-bancard-ec',
|
|
15885
16242
|
template: "<div class=\"h-100 text-center\">\n <h4>Continuar con el pago con Bancard</h4>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <ng-container *ngIf=\"!loading ; else loadingUrl\">\n <button *ngIf=\"url\" class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar</button>\n <p *ngIf=\"!url\" class=\"px-5\">Actualmente no se encuentra disponible el m\u00E9todo de pago</p>\n </ng-container>\n</div>\n\n<ng-template #template>\n <div class=\"modal-content\">\n <div class=\"modal-header border-none justify-content-end px-1\">\n <button type=\"button\" class=\"btn bg-none\" (click)=\"clickClose()\">\n X \n </button>\n </div>\n </div>\n <div class=\"modal-body\">\n <iframe src=\"assets/bancardFrameBase.html\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </div>\n</ng-template>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>",
|
|
@@ -15903,7 +16260,7 @@
|
|
|
15903
16260
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15904
16261
|
};
|
|
15905
16262
|
})();
|
|
15906
|
-
var __decorate$
|
|
16263
|
+
var __decorate$1C = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15907
16264
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15908
16265
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15909
16266
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16013,25 +16370,25 @@
|
|
|
16013
16370
|
{ type: router.ActivatedRoute },
|
|
16014
16371
|
{ type: platformBrowser.DomSanitizer }
|
|
16015
16372
|
]; };
|
|
16016
|
-
__decorate$
|
|
16373
|
+
__decorate$1C([
|
|
16017
16374
|
core.Input()
|
|
16018
16375
|
], BancardRedirectEcComponent.prototype, "method", void 0);
|
|
16019
|
-
__decorate$
|
|
16376
|
+
__decorate$1C([
|
|
16020
16377
|
core.Input()
|
|
16021
16378
|
], BancardRedirectEcComponent.prototype, "total_amount", void 0);
|
|
16022
|
-
__decorate$
|
|
16379
|
+
__decorate$1C([
|
|
16023
16380
|
core.Input()
|
|
16024
16381
|
], BancardRedirectEcComponent.prototype, "user_data", void 0);
|
|
16025
|
-
__decorate$
|
|
16382
|
+
__decorate$1C([
|
|
16026
16383
|
core.Input()
|
|
16027
16384
|
], BancardRedirectEcComponent.prototype, "paymentServiceInst", void 0);
|
|
16028
|
-
__decorate$
|
|
16385
|
+
__decorate$1C([
|
|
16029
16386
|
core.Input()
|
|
16030
16387
|
], BancardRedirectEcComponent.prototype, "allData", void 0);
|
|
16031
|
-
__decorate$
|
|
16388
|
+
__decorate$1C([
|
|
16032
16389
|
core.Output()
|
|
16033
16390
|
], BancardRedirectEcComponent.prototype, "ready", void 0);
|
|
16034
|
-
BancardRedirectEcComponent = __decorate$
|
|
16391
|
+
BancardRedirectEcComponent = __decorate$1C([
|
|
16035
16392
|
core.Component({
|
|
16036
16393
|
selector: 'app-bancard-redirect-ec',
|
|
16037
16394
|
template: "<div class=\"text-center\">\n <h4>Continuar con el pago con Bancard</h4>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <ng-container *ngIf=\"url;else loadingUrl\">\n <ng-container *ngIf=\"!loading;else loadingTemp\">\n <button (click)=\"iniciar()\" class=\"btn btn-outline-secondary comprar\">Pagar</button>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>\n\n<ng-template #loadingTemp>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <h3>Procesando el pago por Bancard</h3>\n <h5>Recuerde hacer click en \"Finalizar\" desde Bancard para finalizar la compra.</h5>\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-5\">\n <hr>\n </div>\n <div class=\"col-2 text-center\">\n <label for=\"\">o</label>\n </div>\n <div class=\"col-5\">\n <hr>\n </div>\n </div>\n </div>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <button (click)=\"clickClose()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Cancelar pago</button>\n </div>\n</ng-template>",
|
|
@@ -16065,7 +16422,7 @@
|
|
|
16065
16422
|
};
|
|
16066
16423
|
return __assign$t.apply(this, arguments);
|
|
16067
16424
|
};
|
|
16068
|
-
var __decorate$
|
|
16425
|
+
var __decorate$1D = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16069
16426
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16070
16427
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16071
16428
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16130,10 +16487,10 @@
|
|
|
16130
16487
|
{ type: modal.BsModalService },
|
|
16131
16488
|
{ type: router.Router }
|
|
16132
16489
|
]; };
|
|
16133
|
-
__decorate$
|
|
16490
|
+
__decorate$1D([
|
|
16134
16491
|
core.ViewChild('template')
|
|
16135
16492
|
], SelectChannelEcComponent.prototype, "template", void 0);
|
|
16136
|
-
SelectChannelEcComponent = __decorate$
|
|
16493
|
+
SelectChannelEcComponent = __decorate$1D([
|
|
16137
16494
|
core.Component({
|
|
16138
16495
|
selector: 'select-channel-ec',
|
|
16139
16496
|
template: "<ng-template #template>\n <div class=\"modal-content\" id=\"modalChanel\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title w-100 text-center text-uppercase\">{{ 'select-channel' | translate }}</h5>\n </div>\n <div class=\"modal-body px-4\">\n <div class=\"card p-3 my-2 bg-light\" *ngFor=\"let item of channels; let i = index\">\n <div class=\"form-check\">\n <input class=\"form-check-input\" type=\"radio\" [name]=\"'n-'+i\" [id]=\"i\" [checked]=\"item.selected\" (click)=\"setSelect(item)\">\n <h5 class=\"form-check-label\" role=\"button\" (click)=\"setSelect(item)\">{{ 'channel' | translate }}: {{ item.name }}</h5>\n </div>\n </div>\n\n <!-- <div class=\"row\" *ngFor=\"let item of channels; let i = index\">\n <div class=\"col-1\">\n <input class=\"form-check-input\" type=\"radio\" [name]=\"'n-'+i\" [id]=\"i\" [checked]=\"item.selected\"\n (click)=\"setSelect(item)\">\n </div>\n <div class=\"col-11\">\n <h5 role=\"button\" (click)=\"setSelect(item)\">{{ 'channel' | translate }}: {{ item.name }}</h5>\n </div>\n </div> -->\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-primary px-3 py-2\" (click)=\"setChannel()\">{{ 'continue' | translate }}</button>\n </div>\n </div>\n</ng-template>",
|
|
@@ -16157,7 +16514,7 @@
|
|
|
16157
16514
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16158
16515
|
};
|
|
16159
16516
|
})();
|
|
16160
|
-
var __decorate$
|
|
16517
|
+
var __decorate$1E = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16161
16518
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16162
16519
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16163
16520
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16210,7 +16567,7 @@
|
|
|
16210
16567
|
{ type: CheckoutService },
|
|
16211
16568
|
{ type: CartService }
|
|
16212
16569
|
]; };
|
|
16213
|
-
CartLoadEcComponent = __decorate$
|
|
16570
|
+
CartLoadEcComponent = __decorate$1E([
|
|
16214
16571
|
core.Component({
|
|
16215
16572
|
selector: 'app-cart-load-ec',
|
|
16216
16573
|
template: "<div class=\"container\">\n <div class=\"row\">\n <div class=\"col align-self-center\">\n <h4 class=\"titpage center-block text-center font-nexa font-lg my-3\">{{ 'retrieve-cart' | translate | uppercase }}</h4>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col align-self-center mt-2\">\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n </div>\n</div>",
|
|
@@ -16220,7 +16577,7 @@
|
|
|
16220
16577
|
return CartLoadEcComponent;
|
|
16221
16578
|
}(ComponentHelper));
|
|
16222
16579
|
|
|
16223
|
-
var __decorate$
|
|
16580
|
+
var __decorate$1F = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16224
16581
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16225
16582
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16226
16583
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16368,28 +16725,28 @@
|
|
|
16368
16725
|
event.preventDefault();
|
|
16369
16726
|
event.stopPropagation();
|
|
16370
16727
|
};
|
|
16371
|
-
__decorate$
|
|
16728
|
+
__decorate$1F([
|
|
16372
16729
|
core.Input()
|
|
16373
16730
|
], MagnizoomComponent.prototype, "ImageSrc", null);
|
|
16374
|
-
__decorate$
|
|
16731
|
+
__decorate$1F([
|
|
16375
16732
|
core.Input()
|
|
16376
16733
|
], MagnizoomComponent.prototype, "zoomMode", void 0);
|
|
16377
|
-
__decorate$
|
|
16734
|
+
__decorate$1F([
|
|
16378
16735
|
core.Input()
|
|
16379
16736
|
], MagnizoomComponent.prototype, "minZoomFactor", void 0);
|
|
16380
|
-
__decorate$
|
|
16737
|
+
__decorate$1F([
|
|
16381
16738
|
core.Input()
|
|
16382
16739
|
], MagnizoomComponent.prototype, "maxZoomFactor", void 0);
|
|
16383
|
-
__decorate$
|
|
16740
|
+
__decorate$1F([
|
|
16384
16741
|
core.Input()
|
|
16385
16742
|
], MagnizoomComponent.prototype, "imageStyle", void 0);
|
|
16386
|
-
__decorate$
|
|
16743
|
+
__decorate$1F([
|
|
16387
16744
|
core.Input()
|
|
16388
16745
|
], MagnizoomComponent.prototype, "imageClass", void 0);
|
|
16389
|
-
__decorate$
|
|
16746
|
+
__decorate$1F([
|
|
16390
16747
|
core.ViewChild('mainCanvas', { static: true })
|
|
16391
16748
|
], MagnizoomComponent.prototype, "mainCanvasRef", void 0);
|
|
16392
|
-
MagnizoomComponent = __decorate$
|
|
16749
|
+
MagnizoomComponent = __decorate$1F([
|
|
16393
16750
|
core.Component({
|
|
16394
16751
|
selector: '[app-magnizoom-ec]',
|
|
16395
16752
|
template: "<canvas #mainCanvas\n class=\"main-canvas\"\n [ngClass]=\"imageClass\"\n [ngStyle]=\"imageStyle\"\n [width]=\"canvasWidth\"\n [height]=\"canvasHeight\"\n (mouseleave)=\"onMouseLeave($event)\"\n (mouseenter)=\"onMouseEnterOrMove($event)\"\n (mousemove)=\"onMouseEnterOrMove($event)\"\n (wheel)=\"onMouseScroll($event)\">\n</canvas>\n",
|
|
@@ -16412,7 +16769,7 @@
|
|
|
16412
16769
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16413
16770
|
};
|
|
16414
16771
|
})();
|
|
16415
|
-
var __decorate$
|
|
16772
|
+
var __decorate$1G = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16416
16773
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16417
16774
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16418
16775
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16476,19 +16833,19 @@
|
|
|
16476
16833
|
{ type: CartService },
|
|
16477
16834
|
{ type: ToastService }
|
|
16478
16835
|
]; };
|
|
16479
|
-
__decorate$
|
|
16836
|
+
__decorate$1G([
|
|
16480
16837
|
core.Input()
|
|
16481
16838
|
], MultipleItemsToCartEcComponent.prototype, "product", void 0);
|
|
16482
|
-
__decorate$
|
|
16839
|
+
__decorate$1G([
|
|
16483
16840
|
core.Input()
|
|
16484
16841
|
], MultipleItemsToCartEcComponent.prototype, "objectWithVariant", void 0);
|
|
16485
|
-
__decorate$
|
|
16842
|
+
__decorate$1G([
|
|
16486
16843
|
core.Output()
|
|
16487
16844
|
], MultipleItemsToCartEcComponent.prototype, "totalCostItems", void 0);
|
|
16488
|
-
__decorate$
|
|
16845
|
+
__decorate$1G([
|
|
16489
16846
|
core.Output()
|
|
16490
16847
|
], MultipleItemsToCartEcComponent.prototype, "totalItems", void 0);
|
|
16491
|
-
MultipleItemsToCartEcComponent = __decorate$
|
|
16848
|
+
MultipleItemsToCartEcComponent = __decorate$1G([
|
|
16492
16849
|
core.Component({
|
|
16493
16850
|
selector: 'app-multiple-items-to-cart-ec',
|
|
16494
16851
|
template: "<table class=\"table table-hover tablas tabla-curva\">\n <thead>\n <tr>\n <th scope=\"col\">Curva</th>\n <th *ngFor=\"let item of optionsProductForVariant()\" scope=\"col\">{{item.currentOption?.code}}</th>\n </tr>\n </thead>\n <tbody>\n <ng-container *ngIf=\"allWithoutTracking()\">\n <tr>\n <td>Stock</td>\n <th *ngFor=\"let item of optionsProductForVariant()\" scope=\"col\">{{(item.currentOption?.stock == 9999)? 'N/A' : item.currentOption?.stock }}</th>\n </tr>\n </ng-container>\n <tr>\n <td></td>\n <td *ngFor=\"let item of optionsProductForVariant()\">\n <div class=\"text-center\">\n <input class=\"form-control form-control-sm in-curva\"\n (keypress)=\"consts.inputValidationByExpressions($event,'[0-9]{1,9}', condition(inputValue.value,item) )\" #inputValue \n (keyup)=\"setQuantity(inputValue.value,item)\" [max]=\"item.currentOption?.stock\" min=\"0\" type=\"text\"\n [value]=\"item?.productToCartItem?.quantity || 0\" id=\"\">\n </div>\n </td>\n </tr>\n </tbody>\n</table>\n<ng-template #loading>\n <div class=\"col-12 align-items-center\">\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center my-5\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n</ng-template>",
|
|
@@ -16498,7 +16855,7 @@
|
|
|
16498
16855
|
return MultipleItemsToCartEcComponent;
|
|
16499
16856
|
}(ComponentHelper));
|
|
16500
16857
|
|
|
16501
|
-
var __decorate$
|
|
16858
|
+
var __decorate$1H = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16502
16859
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16503
16860
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16504
16861
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16611,7 +16968,7 @@
|
|
|
16611
16968
|
{ type: ParametersService }
|
|
16612
16969
|
]; };
|
|
16613
16970
|
CaptchaService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function CaptchaService_Factory() { return new CaptchaService(core.ɵɵinject(Constants), core.ɵɵinject(ConnectionService), core.ɵɵinject(http.HttpClient), core.ɵɵinject(ParametersService)); }, token: CaptchaService, providedIn: "root" });
|
|
16614
|
-
CaptchaService$1 = __decorate$
|
|
16971
|
+
CaptchaService$1 = __decorate$1H([
|
|
16615
16972
|
core.Injectable({
|
|
16616
16973
|
providedIn: 'root'
|
|
16617
16974
|
})
|
|
@@ -16619,7 +16976,7 @@
|
|
|
16619
16976
|
return CaptchaService$1;
|
|
16620
16977
|
}());
|
|
16621
16978
|
|
|
16622
|
-
var __decorate$
|
|
16979
|
+
var __decorate$1I = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16623
16980
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16624
16981
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16625
16982
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16653,13 +17010,13 @@
|
|
|
16653
17010
|
RecaptchaEcComponent.ctorParameters = function () { return [
|
|
16654
17011
|
{ type: CaptchaService }
|
|
16655
17012
|
]; };
|
|
16656
|
-
__decorate$
|
|
17013
|
+
__decorate$1I([
|
|
16657
17014
|
core.Input()
|
|
16658
17015
|
], RecaptchaEcComponent.prototype, "form", void 0);
|
|
16659
|
-
__decorate$
|
|
17016
|
+
__decorate$1I([
|
|
16660
17017
|
core.Input()
|
|
16661
17018
|
], RecaptchaEcComponent.prototype, "siteKey", void 0);
|
|
16662
|
-
RecaptchaEcComponent = __decorate$
|
|
17019
|
+
RecaptchaEcComponent = __decorate$1I([
|
|
16663
17020
|
core.Component({
|
|
16664
17021
|
selector: 're-captcha-ec',
|
|
16665
17022
|
template: "<ng-container *ngIf=\"captcha.siteKey; else loading\">\n <re-captcha (resolved)=\"resolved($event)\" siteKey=\"{{captcha.siteKey}}\" [formControl]=\"form.controls['captcha']\">\n </re-captcha>\n</ng-container>\n<ng-template #loading>\n <app-loading-full-ec></app-loading-full-ec>\n</ng-template>",
|
|
@@ -16682,7 +17039,7 @@
|
|
|
16682
17039
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16683
17040
|
};
|
|
16684
17041
|
})();
|
|
16685
|
-
var __decorate$
|
|
17042
|
+
var __decorate$1J = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16686
17043
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16687
17044
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16688
17045
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16817,28 +17174,28 @@
|
|
|
16817
17174
|
{ type: ParametersService },
|
|
16818
17175
|
{ type: CheckoutService }
|
|
16819
17176
|
]; };
|
|
16820
|
-
__decorate$
|
|
17177
|
+
__decorate$1J([
|
|
16821
17178
|
core.Input()
|
|
16822
17179
|
], DecidirEcComponent.prototype, "paymentServiceInst", void 0);
|
|
16823
|
-
__decorate$
|
|
17180
|
+
__decorate$1J([
|
|
16824
17181
|
core.Input()
|
|
16825
17182
|
], DecidirEcComponent.prototype, "method", void 0);
|
|
16826
|
-
__decorate$
|
|
17183
|
+
__decorate$1J([
|
|
16827
17184
|
core.Input()
|
|
16828
17185
|
], DecidirEcComponent.prototype, "total_amount", void 0);
|
|
16829
|
-
__decorate$
|
|
17186
|
+
__decorate$1J([
|
|
16830
17187
|
core.Input()
|
|
16831
17188
|
], DecidirEcComponent.prototype, "allData", void 0);
|
|
16832
|
-
__decorate$
|
|
17189
|
+
__decorate$1J([
|
|
16833
17190
|
core.Input()
|
|
16834
17191
|
], DecidirEcComponent.prototype, "user_data", void 0);
|
|
16835
|
-
__decorate$
|
|
17192
|
+
__decorate$1J([
|
|
16836
17193
|
core.Output()
|
|
16837
17194
|
], DecidirEcComponent.prototype, "ready", void 0);
|
|
16838
|
-
__decorate$
|
|
17195
|
+
__decorate$1J([
|
|
16839
17196
|
core.ViewChild('template')
|
|
16840
17197
|
], DecidirEcComponent.prototype, "template", void 0);
|
|
16841
|
-
DecidirEcComponent = __decorate$
|
|
17198
|
+
DecidirEcComponent = __decorate$1J([
|
|
16842
17199
|
core.Component({
|
|
16843
17200
|
selector: 'app-decidir-ec',
|
|
16844
17201
|
template: "<div class=\"text-center\">\n <h3>Continuar con el pago en Decidir</h3>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <ng-container *ngIf=\"!loading; else loadingUrl\">\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"openModal(template)\">Pagar</button>\n </ng-container>\n</div>\n\n<ng-template #template>\n <div class=\"modal-content\">\n <div class=\"modal-header border-none justify-content-end px-1\">\n <button type=\"button\" class=\"btn bg-none\" (click)=\"clickClose()\">\n X \n </button>\n </div>\n </div>\n <div class=\"modal-body\">\n <iframe #iframe [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </div>\n</ng-template>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>\n",
|
|
@@ -16849,7 +17206,7 @@
|
|
|
16849
17206
|
return DecidirEcComponent;
|
|
16850
17207
|
}(ComponentHelper));
|
|
16851
17208
|
|
|
16852
|
-
var __decorate$
|
|
17209
|
+
var __decorate$1K = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
16853
17210
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16854
17211
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
16855
17212
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -16996,7 +17353,7 @@
|
|
|
16996
17353
|
{ type: ConnectionService }
|
|
16997
17354
|
]; };
|
|
16998
17355
|
ConcatenatedAssociationsService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function ConcatenatedAssociationsService_Factory() { return new ConcatenatedAssociationsService(core.ɵɵinject(Constants), core.ɵɵinject(ConnectionService)); }, token: ConcatenatedAssociationsService, providedIn: "root" });
|
|
16999
|
-
ConcatenatedAssociationsService$1 = __decorate$
|
|
17356
|
+
ConcatenatedAssociationsService$1 = __decorate$1K([
|
|
17000
17357
|
core.Injectable({
|
|
17001
17358
|
providedIn: 'root'
|
|
17002
17359
|
})
|
|
@@ -17017,7 +17374,7 @@
|
|
|
17017
17374
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17018
17375
|
};
|
|
17019
17376
|
})();
|
|
17020
|
-
var __decorate$
|
|
17377
|
+
var __decorate$1L = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17021
17378
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17022
17379
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17023
17380
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17310,7 +17667,7 @@
|
|
|
17310
17667
|
{ type: CartService },
|
|
17311
17668
|
{ type: router.Router }
|
|
17312
17669
|
]; };
|
|
17313
|
-
BuildYourEcComponent = __decorate$
|
|
17670
|
+
BuildYourEcComponent = __decorate$1L([
|
|
17314
17671
|
core.Component({
|
|
17315
17672
|
selector: 'app-build-your-ec',
|
|
17316
17673
|
template: "<p>\n build-your-ec works!\n</p>\n",
|
|
@@ -17344,7 +17701,7 @@
|
|
|
17344
17701
|
};
|
|
17345
17702
|
return __assign$u.apply(this, arguments);
|
|
17346
17703
|
};
|
|
17347
|
-
var __decorate$
|
|
17704
|
+
var __decorate$1M = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17348
17705
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17349
17706
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17350
17707
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17406,10 +17763,10 @@
|
|
|
17406
17763
|
{ type: router.Router },
|
|
17407
17764
|
{ type: ToastService }
|
|
17408
17765
|
]; };
|
|
17409
|
-
__decorate$
|
|
17766
|
+
__decorate$1M([
|
|
17410
17767
|
core.Input()
|
|
17411
17768
|
], ProductFoundEcComponent.prototype, "product", void 0);
|
|
17412
|
-
ProductFoundEcComponent = __decorate$
|
|
17769
|
+
ProductFoundEcComponent = __decorate$1M([
|
|
17413
17770
|
core.Component({
|
|
17414
17771
|
selector: 'app-product-found-ec',
|
|
17415
17772
|
template: "<p>\n product-found works!\n</p>\n",
|
|
@@ -17433,7 +17790,7 @@
|
|
|
17433
17790
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17434
17791
|
};
|
|
17435
17792
|
})();
|
|
17436
|
-
var __decorate$
|
|
17793
|
+
var __decorate$1N = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17437
17794
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17438
17795
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17439
17796
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17597,22 +17954,22 @@
|
|
|
17597
17954
|
{ type: Constants },
|
|
17598
17955
|
{ type: router.Router }
|
|
17599
17956
|
]; };
|
|
17600
|
-
__decorate$
|
|
17957
|
+
__decorate$1N([
|
|
17601
17958
|
core.Input()
|
|
17602
17959
|
], ComparedProductsEcComponent.prototype, "product_id", void 0);
|
|
17603
|
-
__decorate$
|
|
17960
|
+
__decorate$1N([
|
|
17604
17961
|
core.Input()
|
|
17605
17962
|
], ComparedProductsEcComponent.prototype, "emptyValue", void 0);
|
|
17606
|
-
__decorate$
|
|
17963
|
+
__decorate$1N([
|
|
17607
17964
|
core.Input()
|
|
17608
17965
|
], ComparedProductsEcComponent.prototype, "classes", void 0);
|
|
17609
|
-
__decorate$
|
|
17966
|
+
__decorate$1N([
|
|
17610
17967
|
core.Input()
|
|
17611
17968
|
], ComparedProductsEcComponent.prototype, "setSize", null);
|
|
17612
|
-
__decorate$
|
|
17969
|
+
__decorate$1N([
|
|
17613
17970
|
core.Output()
|
|
17614
17971
|
], ComparedProductsEcComponent.prototype, "error", void 0);
|
|
17615
|
-
ComparedProductsEcComponent = __decorate$
|
|
17972
|
+
ComparedProductsEcComponent = __decorate$1N([
|
|
17616
17973
|
core.Component({
|
|
17617
17974
|
selector: 'app-compared-products-ec',
|
|
17618
17975
|
template: "<ng-container *ngIf=\"!loading; else loadingView\">\n <ng-container *ngIf=\"comparedProducts && comparedProducts.length\">\n <div [class]=\"'table-responsive'+size\">\n <table id=\"table\" [class]=\"'table '+classes\">\n <thead id=\"thead\">\n <tr class=\"thead-tr\">\n <th class=\"thead-tr-th\" scope=\"col\"></th>\n <th class=\"thead-tr-th\" *ngFor=\"let product of comparedProducts\" scope=\"col\">{{product.id}}</th>\n </tr>\n </thead>\n <tbody id=\"tbody\">\n <tr *ngFor=\"let row of matrixComparedProducts | keyvalue\" class=\"tbody-tr\">\n <th class=\"tbody-tr-th\" scope=\"row\">{{attributes[row.key].name}}</th>\n <td class=\"tbody-tr-td\" *ngFor=\"let col of row.value\">\n <ul>\n <li *ngFor=\"let item of col.values\">\n {{ item.name }}\n </li>\n </ul>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </ng-container>\n</ng-container>\n<ng-template #loadingView>\n <div class=\"w-100 h-50 py-5\">\n <div class=\"d-flex flex-row justify-content-center align-items-center text-center\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n </div>\n</ng-template>",
|
|
@@ -17635,7 +17992,7 @@
|
|
|
17635
17992
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17636
17993
|
};
|
|
17637
17994
|
})();
|
|
17638
|
-
var __decorate$
|
|
17995
|
+
var __decorate$1O = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17639
17996
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17640
17997
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17641
17998
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17658,25 +18015,25 @@
|
|
|
17658
18015
|
{ type: CheckoutService },
|
|
17659
18016
|
{ type: AnalyticsService }
|
|
17660
18017
|
]; };
|
|
17661
|
-
__decorate$
|
|
18018
|
+
__decorate$1O([
|
|
17662
18019
|
core.Input()
|
|
17663
18020
|
], StepEcComponent.prototype, "lastStep", void 0);
|
|
17664
|
-
__decorate$
|
|
18021
|
+
__decorate$1O([
|
|
17665
18022
|
core.Input()
|
|
17666
18023
|
], StepEcComponent.prototype, "previousStep", void 0);
|
|
17667
|
-
__decorate$
|
|
18024
|
+
__decorate$1O([
|
|
17668
18025
|
core.Input()
|
|
17669
18026
|
], StepEcComponent.prototype, "step_id", void 0);
|
|
17670
|
-
__decorate$
|
|
18027
|
+
__decorate$1O([
|
|
17671
18028
|
core.Input()
|
|
17672
18029
|
], StepEcComponent.prototype, "nextStep", void 0);
|
|
17673
|
-
__decorate$
|
|
18030
|
+
__decorate$1O([
|
|
17674
18031
|
core.Input()
|
|
17675
18032
|
], StepEcComponent.prototype, "goBack", void 0);
|
|
17676
|
-
__decorate$
|
|
18033
|
+
__decorate$1O([
|
|
17677
18034
|
core.Input()
|
|
17678
18035
|
], StepEcComponent.prototype, "id_step", void 0);
|
|
17679
|
-
StepEcComponent = __decorate$
|
|
18036
|
+
StepEcComponent = __decorate$1O([
|
|
17680
18037
|
core.Component({
|
|
17681
18038
|
selector: 'app-step-ec',
|
|
17682
18039
|
template: "<ng-container [ngSwitch]=\"step_id\">\n\n <ng-container *ngSwitchCase=\"1\">\n <app-dataform-ec [step_id]=\"id_step\" [isLastOne]=\"lastStep\" [nextStep]=\"nextStep\">\n </app-dataform-ec>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"2\">\n <ng-container *ngIf=\"isStepReady('address')\">\n <app-shipment-ec [step_id]=\"id_step\">\n </app-shipment-ec>\n <div class=\"checkout-btn-container mt-2\">\n <button class=\"btn valid-btn\" (click)=\"goBack()\">{{'back'|translate}}</button>\n <ng-container *ngIf=\"(checkoutService.order$ | async) as order\">\n <button *ngIf=\"isStepReady('shipment')\" (click)=\"nextStep()\"\n class=\"btn valid-btn float-end\" (click)=\"metodoEnvio(order)\">{{ (lastStep ? 'finish-checkout' : 'ready-form') |translate}}\n </button>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"3\">\n <ng-container *ngIf=\"isStepReady(previousStep)\">\n <app-payment-ec [step_id]=\"id_step\">\n </app-payment-ec>\n <div class=\"checkout-btn-container mt-2\">\n <button class=\"btn valid-btn\"\n (click)=\"goBack()\">{{'back'|translate}}</button>\n </div>\n </ng-container>\n </ng-container>\n\n</ng-container>\n",
|
|
@@ -17686,7 +18043,7 @@
|
|
|
17686
18043
|
return StepEcComponent;
|
|
17687
18044
|
}(ComponentHelper));
|
|
17688
18045
|
|
|
17689
|
-
var __decorate$
|
|
18046
|
+
var __decorate$1P = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17690
18047
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17691
18048
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17692
18049
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17807,25 +18164,25 @@
|
|
|
17807
18164
|
{ type: ConnectionService },
|
|
17808
18165
|
{ type: ParametersService }
|
|
17809
18166
|
]; };
|
|
17810
|
-
__decorate$
|
|
18167
|
+
__decorate$1P([
|
|
17811
18168
|
core.Input()
|
|
17812
18169
|
], CulqiEcComponent.prototype, "amount", void 0);
|
|
17813
|
-
__decorate$
|
|
18170
|
+
__decorate$1P([
|
|
17814
18171
|
core.Input()
|
|
17815
18172
|
], CulqiEcComponent.prototype, "apiKey", void 0);
|
|
17816
|
-
__decorate$
|
|
18173
|
+
__decorate$1P([
|
|
17817
18174
|
core.Input()
|
|
17818
18175
|
], CulqiEcComponent.prototype, "method", void 0);
|
|
17819
|
-
__decorate$
|
|
18176
|
+
__decorate$1P([
|
|
17820
18177
|
core.Input()
|
|
17821
18178
|
], CulqiEcComponent.prototype, "customStyle", void 0);
|
|
17822
|
-
__decorate$
|
|
18179
|
+
__decorate$1P([
|
|
17823
18180
|
core.Output()
|
|
17824
18181
|
], CulqiEcComponent.prototype, "ready", void 0);
|
|
17825
|
-
__decorate$
|
|
18182
|
+
__decorate$1P([
|
|
17826
18183
|
core.ViewChild('formContainer')
|
|
17827
18184
|
], CulqiEcComponent.prototype, "anchor", void 0);
|
|
17828
|
-
CulqiEcComponent = __decorate$
|
|
18185
|
+
CulqiEcComponent = __decorate$1P([
|
|
17829
18186
|
core.Component({
|
|
17830
18187
|
selector: 'app-culqi-ec',
|
|
17831
18188
|
template: "<div class=\"text-center\">\n <h3 *ngIf=\"method && method?.name\">{{method.name}}</h3>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <form action=\"javascript:void(0)\" #formContainer></form>\n <button *ngIf=\"loaded; else loading\" (click)=\"open()\" class=\"comprar\">Pagar</button>\n</div>\n\n\n<ng-template #loading>\n <app-loading-full-ec></app-loading-full-ec>\n</ng-template>",
|
|
@@ -17848,7 +18205,7 @@
|
|
|
17848
18205
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17849
18206
|
};
|
|
17850
18207
|
})();
|
|
17851
|
-
var __decorate$
|
|
18208
|
+
var __decorate$1Q = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17852
18209
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17853
18210
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17854
18211
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -17913,16 +18270,16 @@
|
|
|
17913
18270
|
RatingEcComponent.prototype.ngOnInit = function () {
|
|
17914
18271
|
this.ratingValue ? this.processRatingValue(this.ratingValue) : null;
|
|
17915
18272
|
};
|
|
17916
|
-
__decorate$
|
|
18273
|
+
__decorate$1Q([
|
|
17917
18274
|
core.Input()
|
|
17918
18275
|
], RatingEcComponent.prototype, "template", void 0);
|
|
17919
|
-
__decorate$
|
|
18276
|
+
__decorate$1Q([
|
|
17920
18277
|
core.Input()
|
|
17921
18278
|
], RatingEcComponent.prototype, "type", void 0);
|
|
17922
|
-
__decorate$
|
|
18279
|
+
__decorate$1Q([
|
|
17923
18280
|
core.Input()
|
|
17924
18281
|
], RatingEcComponent.prototype, "ratingValue", void 0);
|
|
17925
|
-
RatingEcComponent = __decorate$
|
|
18282
|
+
RatingEcComponent = __decorate$1Q([
|
|
17926
18283
|
core.Component({
|
|
17927
18284
|
selector: 'app-rating-ec',
|
|
17928
18285
|
template: "<ng-container [ngSwitch]=\"type\">\n <ng-template #stars let-score=\"score\">\n <ng-container *ngFor=\"let value of score\">\n <ng-container [ngSwitch]=\"value\">\n <i *ngSwitchCase=\"1\" class=\"me-1 bi bi-star-fill text-warning star\"></i>\n <i *ngSwitchCase=\"0.5\" class=\"me-1 bi bi-star-half text-warning star\"></i>\n <i *ngSwitchCase=\"0\" class=\"me-1 bi bi-star text-muted star\"></i>\n </ng-container>\n </ng-container>\n </ng-template>\n <ng-container *ngSwitchCase=\"'stars'\"\n [ngTemplateOutlet]=\"template ? template : stars\"\n [ngTemplateOutletContext]=\"{score:score, ratingValue:ratingValue}\">\n </ng-container>\n</ng-container>\n",
|
|
@@ -17932,7 +18289,7 @@
|
|
|
17932
18289
|
return RatingEcComponent;
|
|
17933
18290
|
}(ComponentHelper));
|
|
17934
18291
|
|
|
17935
|
-
var __decorate$
|
|
18292
|
+
var __decorate$1R = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17936
18293
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
17937
18294
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17938
18295
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18031,7 +18388,7 @@
|
|
|
18031
18388
|
{ type: PaginationService }
|
|
18032
18389
|
]; };
|
|
18033
18390
|
ReviewsService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function ReviewsService_Factory() { return new ReviewsService(core.ɵɵinject(ConnectionService), core.ɵɵinject(Constants), core.ɵɵinject(PaginationService)); }, token: ReviewsService, providedIn: "root" });
|
|
18034
|
-
ReviewsService$1 = __decorate$
|
|
18391
|
+
ReviewsService$1 = __decorate$1R([
|
|
18035
18392
|
core.Injectable({
|
|
18036
18393
|
providedIn: 'root'
|
|
18037
18394
|
})
|
|
@@ -18052,7 +18409,7 @@
|
|
|
18052
18409
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18053
18410
|
};
|
|
18054
18411
|
})();
|
|
18055
|
-
var __decorate$
|
|
18412
|
+
var __decorate$1S = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18056
18413
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18057
18414
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18058
18415
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18162,19 +18519,19 @@
|
|
|
18162
18519
|
{ type: AuthService },
|
|
18163
18520
|
{ type: ReviewsService }
|
|
18164
18521
|
]; };
|
|
18165
|
-
__decorate$
|
|
18522
|
+
__decorate$1S([
|
|
18166
18523
|
core.Input()
|
|
18167
18524
|
], ReviewsFormEcComponent.prototype, "product", void 0);
|
|
18168
|
-
__decorate$
|
|
18525
|
+
__decorate$1S([
|
|
18169
18526
|
core.Input()
|
|
18170
18527
|
], ReviewsFormEcComponent.prototype, "withAuthenticated", void 0);
|
|
18171
|
-
__decorate$
|
|
18528
|
+
__decorate$1S([
|
|
18172
18529
|
core.Input()
|
|
18173
18530
|
], ReviewsFormEcComponent.prototype, "max", void 0);
|
|
18174
|
-
__decorate$
|
|
18531
|
+
__decorate$1S([
|
|
18175
18532
|
core.Output()
|
|
18176
18533
|
], ReviewsFormEcComponent.prototype, "ready", void 0);
|
|
18177
|
-
ReviewsFormEcComponent = __decorate$
|
|
18534
|
+
ReviewsFormEcComponent = __decorate$1S([
|
|
18178
18535
|
core.Component({
|
|
18179
18536
|
selector: 'app-reviews-form-ec',
|
|
18180
18537
|
template: "<p>\n reviews-form-ec works!\n</p>\n",
|
|
@@ -18197,7 +18554,7 @@
|
|
|
18197
18554
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18198
18555
|
};
|
|
18199
18556
|
})();
|
|
18200
|
-
var __decorate$
|
|
18557
|
+
var __decorate$1T = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18201
18558
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18202
18559
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18203
18560
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18251,10 +18608,10 @@
|
|
|
18251
18608
|
{ type: ReviewsService },
|
|
18252
18609
|
{ type: Constants }
|
|
18253
18610
|
]; };
|
|
18254
|
-
__decorate$
|
|
18611
|
+
__decorate$1T([
|
|
18255
18612
|
core.Input()
|
|
18256
18613
|
], ReviewsEcComponent.prototype, "product", void 0);
|
|
18257
|
-
ReviewsEcComponent = __decorate$
|
|
18614
|
+
ReviewsEcComponent = __decorate$1T([
|
|
18258
18615
|
core.Component({
|
|
18259
18616
|
selector: 'app-reviews-ec',
|
|
18260
18617
|
template: "<p>\n reviews-ec works!\n</p>\n",
|
|
@@ -18277,7 +18634,7 @@
|
|
|
18277
18634
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18278
18635
|
};
|
|
18279
18636
|
})();
|
|
18280
|
-
var __decorate$
|
|
18637
|
+
var __decorate$1U = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18281
18638
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18282
18639
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18283
18640
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18538,28 +18895,28 @@
|
|
|
18538
18895
|
{ type: core.ChangeDetectorRef },
|
|
18539
18896
|
{ type: core.Renderer2 }
|
|
18540
18897
|
]; };
|
|
18541
|
-
__decorate$
|
|
18898
|
+
__decorate$1U([
|
|
18542
18899
|
core.Input()
|
|
18543
18900
|
], BancardCatastroEcComponent.prototype, "paymentServiceInst", void 0);
|
|
18544
|
-
__decorate$
|
|
18901
|
+
__decorate$1U([
|
|
18545
18902
|
core.Input()
|
|
18546
18903
|
], BancardCatastroEcComponent.prototype, "method", void 0);
|
|
18547
|
-
__decorate$
|
|
18904
|
+
__decorate$1U([
|
|
18548
18905
|
core.Input()
|
|
18549
18906
|
], BancardCatastroEcComponent.prototype, "total_amount", void 0);
|
|
18550
|
-
__decorate$
|
|
18907
|
+
__decorate$1U([
|
|
18551
18908
|
core.Input()
|
|
18552
18909
|
], BancardCatastroEcComponent.prototype, "allData", void 0);
|
|
18553
|
-
__decorate$
|
|
18910
|
+
__decorate$1U([
|
|
18554
18911
|
core.Input()
|
|
18555
18912
|
], BancardCatastroEcComponent.prototype, "user_data", void 0);
|
|
18556
|
-
__decorate$
|
|
18913
|
+
__decorate$1U([
|
|
18557
18914
|
core.Output()
|
|
18558
18915
|
], BancardCatastroEcComponent.prototype, "ready", void 0);
|
|
18559
|
-
__decorate$
|
|
18916
|
+
__decorate$1U([
|
|
18560
18917
|
core.Output()
|
|
18561
18918
|
], BancardCatastroEcComponent.prototype, "cardAdded", void 0);
|
|
18562
|
-
BancardCatastroEcComponent = __decorate$
|
|
18919
|
+
BancardCatastroEcComponent = __decorate$1U([
|
|
18563
18920
|
core.Component({
|
|
18564
18921
|
selector: 'app-bancard-catastro-ec',
|
|
18565
18922
|
template: "<div *ngIf=\"!loading; else loadingView\">\n <div class=\"row my-3\">\n <ng-container *ngIf=\"registered_cards && registered_cards.length > 0; else notCards\">\n <ng-container *ngFor=\"let card of registered_cards; let x=index\">\n <div class=\"col-12 col-md-6\">\n <div class=\"card my-2\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col-12 col-md-9\">\n <h5 class=\"card-title\">Terminada en {{card.card_masked_number.slice(-4)}}</h5>\n <!-- <h6 class=\"card-subtitle mb-2 text-muted\">Card subtitle</h6> -->\n <!-- <p class=\"card-text\">Some quick example text to build on the card title and make up the bulk of the card's content.</p>\n -->\n <p class=\"card-text text-muted\">{{card.card_brand}}</p>\n <p class=\"card-text text-muted\">Vencimiento: {{card.expiration_date}}</p>\n </div>\n <div class=\"col-3 d-none d-md-flex\">\n <div class=\"d-flex flex-column justify-content-between align-items-center w-100\">\n <div class=\"d-flex justify-content-end w-100\">\n <a class=\"cursor-pointer text-primary\" (click)=\"deleteCard(card.card_id)\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"currentColor\" class=\"bi bi-trash3\"\n viewBox=\"0 0 16 16\">\n <path\n d=\"M6.5 1h3a.5.5 0 0 1 .5.5v1H6v-1a.5.5 0 0 1 .5-.5ZM11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3A1.5 1.5 0 0 0 5 1.5v1H2.506a.58.58 0 0 0-.01 0H1.5a.5.5 0 0 0 0 1h.538l.853 10.66A2 2 0 0 0 4.885 16h6.23a2 2 0 0 0 1.994-1.84l.853-10.66h.538a.5.5 0 0 0 0-1h-.995a.59.59 0 0 0-.01 0H11Zm1.958 1-.846 10.58a1 1 0 0 1-.997.92h-6.23a1 1 0 0 1-.997-.92L3.042 3.5h9.916Zm-7.487 1a.5.5 0 0 1 .528.47l.5 8.5a.5.5 0 0 1-.998.06L5 5.03a.5.5 0 0 1 .47-.53Zm5.058 0a.5.5 0 0 1 .47.53l-.5 8.5a.5.5 0 1 1-.998-.06l.5-8.5a.5.5 0 0 1 .528-.47ZM8 4.5a.5.5 0 0 1 .5.5v8.5a.5.5 0 0 1-1 0V5a.5.5 0 0 1 .5-.5Z\" />\n </svg>\n </a>\n </div>\n <img [src]=\"getCardImg(card.card_brand)\" class=\"img-card\" />\n \n </div>\n </div>\n </div>\n </div>\n <div class=\"card-footer d-flex flex-row justify-content-end\">\n <ng-container *ngIf=\"!checkingPayment; else buttonLoading\">\n <button *ngIf=\"card.card_type == 'credit'; else debito\" class=\"btn comprar text-white\" data-bs-toggle=\"modal\"\n data-bs-target=\"#modalCuotas\" (click)=\"setCurrentCardID(card.card_id)\">Pagar</button>\n <ng-template #debito>\n <button class=\"btn comprar text-white\" (click)=\"toPay(card.card_id)\">Pagar</button>\n </ng-template>\n </ng-container>\n </div>\n </div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #notCards>\n <div class=\"col-12 d-flex justify-content-center\">\n <h6>Usted no posee tarjetas registrada. Para continuar con este m\u00E9todo de pago por favor registre una\n tarjeta presionando el bot\u00F3n de <span class=\"text-decoration-underline fs-6\"> Nueva tarjeta</span>\n </h6>\n </div>\n </ng-template>\n </div>\n <div class=\"d-flex flex-row w-full justify-content-center\">\n <button class=\"btn comprar text-white\" data-bs-toggle=\"modal\" data-bs-target=\"#catastro\"\n (click)=\"getProcessId(); openModal()\">Nueva Tarjeta</button>\n </div>\n</div>\n\n<div class=\"modal\" tabindex=\"-1\" id=\"catastro\">\n <div class=\"modal-dialog\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <!-- <h5 class=\"modal-title\">Modal title</h5> -->\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"\n (click)=\"closeModal()\"></button>\n </div>\n <div class=\"modal-body d-flex flex-column justify-content-center align-items-center\">\n <ng-container *ngIf=\"infoPreview; else iframe\">\n <div class=\"alert alert-warning \" role=\"alert\">\n <p class=\"mb-0\">Estimado usuario,</p>\n <p> A continuaci\u00F3n usted pasar\u00E1 por \u00FAnica vez por un proceso de\n validaci\u00F3n con preguntas de seguridad. Para iniciar favor tener en\n cuenta las siguientes recomendaciones:</p>\n <ol class=\"list-group list-group-numbered\">\n <li class=\"list-group-item list-group-item-warning\">Verifique su n\u00FAmero de c\u00E9dula de\n identidad</li>\n <li class=\"list-group-item list-group-item-warning\">Tenga a mano sus tarjetas de cr\u00E9dito y\n d\u00E9bito activas</li>\n <li class=\"list-group-item list-group-item-warning\">Verifique el monto y lugar de sus\n \u00FAltimas compras en\n comercios o extracciones en cajeros</li>\n </ol>\n </div>\n <div class=\"d-flex flex-row w-full justify-content-center\">\n <a class=\"cursor-pointer text-dark fs-xs\" (click)=\"skipInfoPreview()\">Saltar</a>\n </div>\n </ng-container>\n <ng-template #iframe>\n <iframe *ngIf=\"url; else loadingView\" [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n\n\n<!-- Modal -->\n<div class=\"modal fade\" id=\"modalCuotas\" tabindex=\"-1\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered modal-sm\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\" id=\"exampleModalLabel\">Elija el n\u00FAmero de cuotas</h5>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body\">\n <select class=\"form-select\" aria-label=\"Default select example\"\n (change)=\"setNumberOfPayments($event.target.value)\">\n <option selected disabled>Selecciones la cantidad de cuotas</option>\n <option value=\"1\">1 cuota</option>\n <option value=\"3\">3 cuotas</option>\n <option value=\"6\">6 cuotas</option>\n <option value=\"12\">12 cuotas</option>\n </select>\n </div>\n <div class=\"modal-footer\" *ngIf=\"canPay()\">\n <button type=\"button\" class=\"btn comprar text-white\" data-bs-dismiss=\"modal\"\n (click)=\"toPay(currentCardID)\">Pagar</button>\n </div>\n </div>\n </div>\n</div>\n\n<ng-template #loadingView>\n <div>\n <app-loading-inline-ec></app-loading-inline-ec>\n </div>\n</ng-template>\n\n<ng-template #buttonLoading>\n <button type=\"button\" class=\"btn comprar text-white\" data-bs-dismiss=\"modal\"> \n <app-loading-inline-ec></app-loading-inline-ec>\n </button>\n</ng-template>",
|
|
@@ -18580,7 +18937,7 @@
|
|
|
18580
18937
|
};
|
|
18581
18938
|
return __assign$v.apply(this, arguments);
|
|
18582
18939
|
};
|
|
18583
|
-
var __decorate$
|
|
18940
|
+
var __decorate$1V = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18584
18941
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18585
18942
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18586
18943
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18778,7 +19135,7 @@
|
|
|
18778
19135
|
{ type: core.Injector }
|
|
18779
19136
|
]; };
|
|
18780
19137
|
CookiesService.ɵprov = core.ɵɵdefineInjectable({ factory: function CookiesService_Factory() { return new CookiesService(core.ɵɵinject(core.INJECTOR)); }, token: CookiesService, providedIn: "root" });
|
|
18781
|
-
CookiesService = __decorate$
|
|
19138
|
+
CookiesService = __decorate$1V([
|
|
18782
19139
|
core.Injectable({
|
|
18783
19140
|
providedIn: 'root'
|
|
18784
19141
|
})
|
|
@@ -18799,7 +19156,7 @@
|
|
|
18799
19156
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18800
19157
|
};
|
|
18801
19158
|
})();
|
|
18802
|
-
var __decorate$
|
|
19159
|
+
var __decorate$1W = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18803
19160
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18804
19161
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18805
19162
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18894,10 +19251,10 @@
|
|
|
18894
19251
|
{ type: Constants },
|
|
18895
19252
|
{ type: CookiesService }
|
|
18896
19253
|
]; };
|
|
18897
|
-
__decorate$
|
|
19254
|
+
__decorate$1W([
|
|
18898
19255
|
core.Input()
|
|
18899
19256
|
], CookiesEcComponent.prototype, "templates", void 0);
|
|
18900
|
-
CookiesEcComponent = __decorate$
|
|
19257
|
+
CookiesEcComponent = __decorate$1W([
|
|
18901
19258
|
core.Component({
|
|
18902
19259
|
selector: 'app-cookies-ec',
|
|
18903
19260
|
template: "<ng-container *ngIf=\"ready\">\n <ng-container [ngSwitch]=\"cookies.format.type\">\n <ng-container *ngSwitchCase=\"'toast'\">\n <ng-template #toastEcTemplate>\n <app-toast-cookies-ec [cookies]=\"cookies\" [acceptCookies]=\"acceptCookies\"></app-toast-cookies-ec>\n </ng-template>\n <ng-container [ngTemplateOutlet]=\"templates && templates.toast? templates.toast : toastEcTemplate\"\n [ngTemplateOutletContext]=\"{cookies:cookies, acceptCookies:acceptCookies}\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'modal'\">\n <ng-template #modalEcTemplate>\n <app-modal-cookies-ec [cookies]=\"cookies\" [acceptCookies]=\"acceptCookies\"></app-modal-cookies-ec>\n </ng-template>\n <ng-container [ngTemplateOutlet]=\"templates && templates.modal? templates.modal : modalEcTemplate\"\n [ngTemplateOutletContext]=\"{cookies:cookies, acceptCookies:acceptCookies}\"></ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'sidebar'\">\n <ng-template #sidebarEcTemplate>\n <app-sidebar-cookies-ec [cookies]=\"cookies\" [acceptCookies]=\"acceptCookies\"></app-sidebar-cookies-ec>\n </ng-template>\n <ng-container [ngTemplateOutlet]=\"templates && templates.sidebar? templates.sidebar : sidebarEcTemplate\"\n [ngTemplateOutletContext]=\"{cookies:cookies, acceptCookies:acceptCookies}\"></ng-container>\n </ng-container>\n </ng-container>\n <ng-template #configEcTemplate>\n <app-modal-config-ec [cookies]=\"cookies\" [cookiesToSave]=\"cookiesToSave\"\n [cookiesFunctions]=\"cookiesFunctions\"></app-modal-config-ec>\n </ng-template>\n <ng-container [ngTemplateOutlet]=\"templates && templates.config ? templates.config : configEcTemplate\"\n [ngTemplateOutletContext]=\"{cookies:cookies, cookiesToSave:cookiesToSave, cookiesFunctions:cookiesFunctions}\"></ng-container>\n</ng-container>",
|
|
@@ -18907,7 +19264,7 @@
|
|
|
18907
19264
|
return CookiesEcComponent;
|
|
18908
19265
|
}(ComponentHelper));
|
|
18909
19266
|
|
|
18910
|
-
var __decorate$
|
|
19267
|
+
var __decorate$1X = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18911
19268
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18912
19269
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18913
19270
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18925,13 +19282,13 @@
|
|
|
18925
19282
|
_this.show();
|
|
18926
19283
|
}, 2000);
|
|
18927
19284
|
};
|
|
18928
|
-
__decorate$
|
|
19285
|
+
__decorate$1X([
|
|
18929
19286
|
core.Input()
|
|
18930
19287
|
], SidebarCookiesEcComponent.prototype, "cookies", void 0);
|
|
18931
|
-
__decorate$
|
|
19288
|
+
__decorate$1X([
|
|
18932
19289
|
core.Input()
|
|
18933
19290
|
], SidebarCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
18934
|
-
SidebarCookiesEcComponent = __decorate$
|
|
19291
|
+
SidebarCookiesEcComponent = __decorate$1X([
|
|
18935
19292
|
core.Component({
|
|
18936
19293
|
selector: 'app-sidebar-cookies-ec',
|
|
18937
19294
|
template: "<ng-container *ngIf=\"cookies.format.position == 'start' || cookies.format.position == 'end'; else startend\">\n <div [class]=\"'offcanvas offcanvas-'+cookies.format.position\"\n [attr.data-bs-scroll]=\"(cookies.format.scrolling != undefined) ? cookies.format.scrolling : true\"\n [attr.data-bs-backdrop]=\"(cookies.format.backdrop != undefined) ? cookies.format.backdrop : false\" tabindex=\"-1\"\n id=\"offcanvasCookies\" aria-labelledby=\"offcanvasScrollingLabel\" style=\"height: 20%\">\n <div class=\"offcanvas-header\">\n <h5 *ngIf=\"cookies.title\" class=\"offcanvas-title\" id=\"offcanvasScrollingLabel\">{{cookies.title}}</h5>\n <button type=\"button\" class=\"btn-close text-reset\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>\n </div>\n <div class=\"offcanvas-body d-flex align-items-start\">\n <div class=\"row d-flex flex-row justify-content-between cookies-body\">\n <div class=\"col-lg-12\">\n <p [innerHtml]=\"cookies.message | ecSanitizerHtml\"></p>\n </div>\n <div class=\"col-lg-12 d-flex flex-row justify-content-center align-items-center\">\n <button class=\"btn btn-primary mx-2\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\n <button class=\"btn btn-primary mx-2\" data-bs-dismiss=\"offcanvas\" (click)=\"acceptCookies()\">{{ cookies.others.btnAccept }}</button>\n </div>\n </div>\n </div>\n </div>\n</ng-container>\n\n<ng-template #startend>\n <div [class]=\"'offcanvas offcanvas-'+(cookies.format.position ? cookies.format.position : 'bottom')\"\n [attr.data-bs-scroll]=\"(cookies.format.scrolling != undefined) ? cookies.format.scrolling : true\"\n [attr.data-bs-backdrop]=\"(cookies.format.backdrop != undefined) ? cookies.format.backdrop : false\" tabindex=\"-1\"\n id=\"offcanvasCookies\" aria-labelledby=\"offcanvasScrollingLabel\" style=\"height: 20%\">\n <div class=\"offcanvas-header\">\n <h5 *ngIf=\"cookies.title\" class=\"offcanvas-title\" id=\"offcanvasScrollingLabel\">{{cookies.title}}</h5>\n <button type=\"button\" class=\"btn-close text-reset\" data-bs-dismiss=\"offcanvas\" aria-label=\"Close\"></button>\n </div>\n <div class=\"offcanvas-body d-flex align-items-center\">\n <div class=\"row d-flex flex-row justify-content-between cookies-body w-100\">\n <div class=\"col-lg-9\">\n <p [innerHtml]=\"cookies.message\"></p>\n </div>\n <div class=\"col-lg-3 d-flex flex-row justify-content-center align-items-center\" *ngIf=\"cookies.others\">\n <button class=\"btn btn-primary mx-2\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\n <button class=\"btn btn-primary mx-2\"\n (click)=\"acceptCookies()\" data-bs-dismiss=\"offcanvas\">{{ cookies.others.btnAccept }}</button>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n",
|
|
@@ -18941,7 +19298,7 @@
|
|
|
18941
19298
|
return SidebarCookiesEcComponent;
|
|
18942
19299
|
}());
|
|
18943
19300
|
|
|
18944
|
-
var __decorate$
|
|
19301
|
+
var __decorate$1Y = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18945
19302
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18946
19303
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18947
19304
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18959,13 +19316,13 @@
|
|
|
18959
19316
|
_this.show();
|
|
18960
19317
|
}, 2000);
|
|
18961
19318
|
};
|
|
18962
|
-
__decorate$
|
|
19319
|
+
__decorate$1Y([
|
|
18963
19320
|
core.Input()
|
|
18964
19321
|
], ModalCookiesEcComponent.prototype, "cookies", void 0);
|
|
18965
|
-
__decorate$
|
|
19322
|
+
__decorate$1Y([
|
|
18966
19323
|
core.Input()
|
|
18967
19324
|
], ModalCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
18968
|
-
ModalCookiesEcComponent = __decorate$
|
|
19325
|
+
ModalCookiesEcComponent = __decorate$1Y([
|
|
18969
19326
|
core.Component({
|
|
18970
19327
|
selector: 'app-modal-cookies-ec',
|
|
18971
19328
|
template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal-cookies\" tabindex=\"-1\" aria-labelledby=\"exampleModalLabel\" aria-hidden=\"true\">\n <div [class]=\"'modal-dialog modal-dialog-centered '+(cookies.format.size ? 'modal-'+cookies.format.size : '')\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 *ngIf=\"cookies.title\" class=\"modal-title\" id=\"exampleModalLabel\">{{cookies.title}}</h5>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body\">\n <div class=\"row\">\n <div class=\"col-md-12\">\n <p [innerHtml]=\"cookies.message\"></p>\n </div>\n </div>\n </div>\n <div class=\"modal-footer d-flex justify-content-between\" *ngIf=\"cookies.others\">\n <button type=\"button\" class=\"btn btn-primary\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\" (click)=\"acceptCookies()\">{{cookies.others.btnAccept}}</button>\n </div>\n </div>\n </div>\n</div>\n",
|
|
@@ -18975,7 +19332,7 @@
|
|
|
18975
19332
|
return ModalCookiesEcComponent;
|
|
18976
19333
|
}());
|
|
18977
19334
|
|
|
18978
|
-
var __decorate$
|
|
19335
|
+
var __decorate$1Z = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
18979
19336
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18980
19337
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
18981
19338
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -18994,13 +19351,13 @@
|
|
|
18994
19351
|
_this.acceptCookies();
|
|
18995
19352
|
}, 2000);
|
|
18996
19353
|
};
|
|
18997
|
-
__decorate$
|
|
19354
|
+
__decorate$1Z([
|
|
18998
19355
|
core.Input()
|
|
18999
19356
|
], ToastCookiesEcComponent.prototype, "cookies", void 0);
|
|
19000
|
-
__decorate$
|
|
19357
|
+
__decorate$1Z([
|
|
19001
19358
|
core.Input()
|
|
19002
19359
|
], ToastCookiesEcComponent.prototype, "acceptCookies", void 0);
|
|
19003
|
-
ToastCookiesEcComponent = __decorate$
|
|
19360
|
+
ToastCookiesEcComponent = __decorate$1Z([
|
|
19004
19361
|
core.Component({
|
|
19005
19362
|
selector: 'app-toast-cookies-ec',
|
|
19006
19363
|
template: "<div [class]=\"'position-fixed p-3 '+(cookies.format?.positionY ? cookies.format.positionY : 'top-0')+' '+(cookies.format?.positionX ? cookies.format.positionX : 'start-0')\" style=\"z-index: 9999\">\n <div id=\"cookieToast\" class=\"toast\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\">\n <div class=\"toast-header bg-primary\">\n <!-- <img src=\"...\" class=\"rounded me-2\" alt=\"...\"> -->\n <strong *ngIf=\"cookies.title\" class=\"me-auto\">{{cookies.title}}</strong>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"toast\" aria-label=\"Close\"></button>\n </div>\n <div class=\"toast-body\">\n <p [innerHtml]=\"cookies.message\"></p>\n </div>\n <!-- <div class=\"toast-footer\" *ngIf=\"cookies.others\">\n <button type=\"button\" class=\"btn btn-primary\" *ngIf=\"cookies.cookies && cookies.cookies.length > 0\"\n data-bs-toggle=\"modal\" data-bs-target=\"#config\">{{cookies.others.btnConfig}}</button>\n <button type=\"button\" class=\"btn btn-primary\" (click)=\"acceptCookies()\">{{cookies.others.btnAccept}}</button>\n </div> -->\n </div>\n</div>",
|
|
@@ -19010,7 +19367,7 @@
|
|
|
19010
19367
|
return ToastCookiesEcComponent;
|
|
19011
19368
|
}());
|
|
19012
19369
|
|
|
19013
|
-
var __decorate$
|
|
19370
|
+
var __decorate$1_ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19014
19371
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19015
19372
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19016
19373
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19023,16 +19380,16 @@
|
|
|
19023
19380
|
}
|
|
19024
19381
|
ModalConfigEcComponent.prototype.ngOnInit = function () {
|
|
19025
19382
|
};
|
|
19026
|
-
__decorate$
|
|
19383
|
+
__decorate$1_([
|
|
19027
19384
|
core.Input()
|
|
19028
19385
|
], ModalConfigEcComponent.prototype, "cookies", void 0);
|
|
19029
|
-
__decorate$
|
|
19386
|
+
__decorate$1_([
|
|
19030
19387
|
core.Input()
|
|
19031
19388
|
], ModalConfigEcComponent.prototype, "cookiesToSave", void 0);
|
|
19032
|
-
__decorate$
|
|
19389
|
+
__decorate$1_([
|
|
19033
19390
|
core.Input()
|
|
19034
19391
|
], ModalConfigEcComponent.prototype, "cookiesFunctions", void 0);
|
|
19035
|
-
ModalConfigEcComponent = __decorate$
|
|
19392
|
+
ModalConfigEcComponent = __decorate$1_([
|
|
19036
19393
|
core.Component({
|
|
19037
19394
|
selector: 'app-modal-config-ec',
|
|
19038
19395
|
template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"config\" tabindex=\"-1\" aria-labelledby=\"configModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 *ngIf=\"cookies.title\" class=\"modal-title\" id=\"configModalLabel\">{{cookies.title}}</h5>\n <button *ngIf=\"cookies.format.type == 'modal'; else close\" type=\"button\" class=\"btn-close\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-cookies\" aria-label=\"Close\"></button>\n <ng-template #close>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </ng-template>\n </div>\n <div class=\"modal-body px-0 d-flex justify-content-center\">\n <!--Vertical Pill-->\n <div class=\"row w-100\">\n <div class=\"col-12 col-md-4 p-0 m-0\">\n <div class=\"nav flex-column nav-pills me-3\" id=\"v-pills-tab\" role=\"tablist\" aria-orientation=\"vertical\">\n <button *ngFor=\"let cookie of cookies.cookies; let x = index\"\n [class]=\"'btn rounded-0 btn-primary '+ (x==0 ? 'active' : '')\"\n [id]=\"'v-pills-'+cookie.name+'-tab'\" data-bs-toggle=\"pill\"\n [attr.data-bs-target]=\"'#v-pills-'+cookie.name\" type=\"button\" role=\"tab\"\n [attr.aria-controls]=\"'v-pills-'+cookie.name\" [attr.aria-selected]=\"x==0\">\n {{cookie.name.replaceAll('-',' ')}}\n </button>\n </div>\n </div>\n <div class=\"col-12 col-md-8 p-0 m-0\">\n <div class=\"tab-content\" id=\"v-pills-tabContent\">\n <div *ngFor=\"let cookie of cookies.cookies; let x = index\"\n [class]=\"'tab-pane fade '+ (x==0 ? 'show active ' : '')\" [id]=\"'v-pills-'+cookie.name\"\n role=\"tabpanel\" [attr.aria-labelledby]=\"'v-pills-'+cookie.name+'-tab'\">\n <div class=\"d-flex justify-content-between w-100\">\n <h5 class=\"title-cookie\">{{cookie.name.replaceAll('-',' ')}}</h5>\n <div class=\"form-check\" *ngIf=\"checkCookie(cookie.name) as info\">\n <input class=\"form-check-input\" type=\"radio\" [name]=\"'flexRadio'+x\" [id]=\"'flexRadioDefault'+x\"\n [checked]=\"info.enabled\" (click)=\"cookiesFunctions.toggle(cookie.name)\">\n </div>\n </div>\n \n <div class=\"h-100 overflow-scroll text-content\">\n <p class=\"text-cookie\">{{cookie.message}}</p>\n </div>\n \n </div>\n </div>\n </div>\n </div>\n <!--End-->\n </div>\n <div class=\"modal-footer d-flex justify-content-between\">\n <ng-container *ngIf=\"cookies.format.type == 'modal'; else default\">\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-cookies\">{{cookies.others.btnSave}}</button>\n <button type=\"button\" class=\"btn btn-primary\" data-bs-toggle=\"modal\" data-bs-target=\"#modal-cookies\"\n (click)=\"cookiesFunctions.acceptAll()\">{{cookies.others.btnAll}}</button>\n </ng-container>\n <ng-template #default>\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">{{cookies.others.btnSave}}</button>\n <button type=\"button\" class=\"btn btn-primary\" data-bs-dismiss=\"modal\"\n (click)=\"cookiesFunctions.acceptAll()\">{{cookies.others.btnAll}}</button>\n </ng-template>\n </div>\n </div>\n </div>\n</div>\n",
|
|
@@ -19055,7 +19412,7 @@
|
|
|
19055
19412
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
19056
19413
|
};
|
|
19057
19414
|
})();
|
|
19058
|
-
var __decorate$
|
|
19415
|
+
var __decorate$1$ = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19059
19416
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19060
19417
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19061
19418
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19223,28 +19580,28 @@
|
|
|
19223
19580
|
{ type: core.Injector },
|
|
19224
19581
|
{ type: CartService }
|
|
19225
19582
|
]; };
|
|
19226
|
-
__decorate$
|
|
19583
|
+
__decorate$1$([
|
|
19227
19584
|
core.Input()
|
|
19228
19585
|
], BambooEcComponent.prototype, "paymentServiceInst", void 0);
|
|
19229
|
-
__decorate$
|
|
19586
|
+
__decorate$1$([
|
|
19230
19587
|
core.Input()
|
|
19231
19588
|
], BambooEcComponent.prototype, "method", void 0);
|
|
19232
|
-
__decorate$
|
|
19589
|
+
__decorate$1$([
|
|
19233
19590
|
core.Input()
|
|
19234
19591
|
], BambooEcComponent.prototype, "total_amount", void 0);
|
|
19235
|
-
__decorate$
|
|
19592
|
+
__decorate$1$([
|
|
19236
19593
|
core.Input()
|
|
19237
19594
|
], BambooEcComponent.prototype, "allData", void 0);
|
|
19238
|
-
__decorate$
|
|
19595
|
+
__decorate$1$([
|
|
19239
19596
|
core.Input()
|
|
19240
19597
|
], BambooEcComponent.prototype, "user_data", void 0);
|
|
19241
|
-
__decorate$
|
|
19598
|
+
__decorate$1$([
|
|
19242
19599
|
core.Output()
|
|
19243
19600
|
], BambooEcComponent.prototype, "ready", void 0);
|
|
19244
|
-
__decorate$
|
|
19601
|
+
__decorate$1$([
|
|
19245
19602
|
core.ViewChild('template')
|
|
19246
19603
|
], BambooEcComponent.prototype, "template", void 0);
|
|
19247
|
-
BambooEcComponent = __decorate$
|
|
19604
|
+
BambooEcComponent = __decorate$1$([
|
|
19248
19605
|
core.Component({
|
|
19249
19606
|
selector: 'app-bamboo-ec',
|
|
19250
19607
|
template: "<div class=\"text-center\">\n <h3>Continuar con el pago en Bamboo</h3>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.description }}</p>\n <p *ngIf=\"method\" class=\"px-5\">{{ method?.instructions }}</p>\n <ng-container *ngIf=\"!loading ; else loadingUrl\">\n <button class=\"btn btn-outline-secondary comprar\" (click)=\"iniciar()\">Pagar</button>\n </ng-container>\n</div>\n\n<ng-template #template>\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Modal title</h5>\n <button type=\"button\" class=\"btn-close\" (click)=\"clickClose()\"></button>\n </div>\n <div class=\"modal-body d-flex justify-content-center\" *ngIf=\"url\">\n <iframe [src]=\"url\" frameborder=\"0\" class=\"iframeStyle\"></iframe>\n </div>\n <!-- <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-secondary\" data-bs-dismiss=\"modal\">Close</button>\n <button type=\"button\" class=\"btn btn-primary\">Save changes</button>\n </div> -->\n </div>\n</ng-template>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column jusitfy-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>",
|
|
@@ -19254,7 +19611,7 @@
|
|
|
19254
19611
|
return BambooEcComponent;
|
|
19255
19612
|
}(ComponentHelper));
|
|
19256
19613
|
|
|
19257
|
-
var __decorate$
|
|
19614
|
+
var __decorate$20 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19258
19615
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19259
19616
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19260
19617
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19408,7 +19765,7 @@
|
|
|
19408
19765
|
{ type: ToastService },
|
|
19409
19766
|
{ type: ChannelConfigService }
|
|
19410
19767
|
]; };
|
|
19411
|
-
SidebarEcComponent = __decorate$
|
|
19768
|
+
SidebarEcComponent = __decorate$20([
|
|
19412
19769
|
core.Component({
|
|
19413
19770
|
selector: 'app-sidebar-ec',
|
|
19414
19771
|
template: "",
|
|
@@ -19431,7 +19788,7 @@
|
|
|
19431
19788
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
19432
19789
|
};
|
|
19433
19790
|
})();
|
|
19434
|
-
var __decorate$
|
|
19791
|
+
var __decorate$21 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19435
19792
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19436
19793
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19437
19794
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19555,22 +19912,22 @@
|
|
|
19555
19912
|
{ type: CartService },
|
|
19556
19913
|
{ type: router.ActivatedRoute }
|
|
19557
19914
|
]; };
|
|
19558
|
-
__decorate$
|
|
19915
|
+
__decorate$21([
|
|
19559
19916
|
core.Input()
|
|
19560
19917
|
], PlaceToPayEcComponent.prototype, "method", void 0);
|
|
19561
|
-
__decorate$
|
|
19918
|
+
__decorate$21([
|
|
19562
19919
|
core.Input()
|
|
19563
19920
|
], PlaceToPayEcComponent.prototype, "total_amount", void 0);
|
|
19564
|
-
__decorate$
|
|
19921
|
+
__decorate$21([
|
|
19565
19922
|
core.Input()
|
|
19566
19923
|
], PlaceToPayEcComponent.prototype, "paymentServiceInst", void 0);
|
|
19567
|
-
__decorate$
|
|
19924
|
+
__decorate$21([
|
|
19568
19925
|
core.Input()
|
|
19569
19926
|
], PlaceToPayEcComponent.prototype, "allData", void 0);
|
|
19570
|
-
__decorate$
|
|
19927
|
+
__decorate$21([
|
|
19571
19928
|
core.Output()
|
|
19572
19929
|
], PlaceToPayEcComponent.prototype, "ready", void 0);
|
|
19573
|
-
PlaceToPayEcComponent = __decorate$
|
|
19930
|
+
PlaceToPayEcComponent = __decorate$21([
|
|
19574
19931
|
core.Component({
|
|
19575
19932
|
selector: 'app-place-to-pay-ec',
|
|
19576
19933
|
template: "<div class=\"text-center\">\n <ng-container *ngIf=\"url; else loadingUrl\">\n <ng-container *ngIf=\"!loading; else loadingTemp\">\n <button (click)=\"iniciar()\" class=\"btn btn-outline-secondary rounded-0 comprar mt-3\">\n {{ buttonText }}\n </button>\n\n <!-- Mensaje de intento previo fallido -->\n <div *ngIf=\"hasPreviousFailure\" class=\"alert alert-danger mt-3\">\n El pago del pedido con n\u00FAmero de orden {{ cart.number }} no se pudo realizar el {{ previousFailureDate }}\n por un monto de {{ previousFailureAmount | ecCurrencySymbol }}.\n </div>\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #loadingUrl>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-2\">\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n</ng-template>\n\n<ng-template #loadingTemp>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-2\">\n <h3>Procesando el pago por Place to Pay</h3>\n <h5>Recuerde hacer click en \"Volver al sitio\" desde Place to Pay para finalizar la compra.</h5>\n <app-loading-full-ec></app-loading-full-ec>\n </div>\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-5\">\n <hr>\n </div>\n <div class=\"col-2 text-center\">\n <label>o</label>\n </div>\n <div class=\"col-5\">\n <hr>\n </div>\n </div>\n </div>\n <div class=\"d-flex flex-column justify-content-center align-items-center mt-2\">\n <button (click)=\"clickClose()\" class=\"btn btn-outline-secondary rounded-0 comprar\">Cancelar pago</button>\n </div>\n</ng-template>",
|
|
@@ -19664,13 +20021,13 @@
|
|
|
19664
20021
|
SidebarEcComponent
|
|
19665
20022
|
];
|
|
19666
20023
|
|
|
19667
|
-
var __decorate$
|
|
20024
|
+
var __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19668
20025
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19669
20026
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19670
20027
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19671
20028
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19672
20029
|
};
|
|
19673
|
-
var __param$
|
|
20030
|
+
var __param$c = (this && this.__param) || function (paramIndex, decorator) {
|
|
19674
20031
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
19675
20032
|
};
|
|
19676
20033
|
var ParamsContext = /** @class */ (function () {
|
|
@@ -19744,25 +20101,25 @@
|
|
|
19744
20101
|
{ type: BlocksService },
|
|
19745
20102
|
{ type: router.Router }
|
|
19746
20103
|
]; };
|
|
19747
|
-
__decorate$
|
|
20104
|
+
__decorate$22([
|
|
19748
20105
|
core.Input()
|
|
19749
20106
|
], AddActionRedirectDirective.prototype, "ecAddActionRedirect", null);
|
|
19750
|
-
__decorate$
|
|
20107
|
+
__decorate$22([
|
|
19751
20108
|
core.Input()
|
|
19752
20109
|
], AddActionRedirectDirective.prototype, "classStrSpacing", null);
|
|
19753
|
-
__decorate$
|
|
20110
|
+
__decorate$22([
|
|
19754
20111
|
core.Input()
|
|
19755
20112
|
], AddActionRedirectDirective.prototype, "isTransparent", null);
|
|
19756
|
-
AddActionRedirectDirective = __decorate$
|
|
20113
|
+
AddActionRedirectDirective = __decorate$22([
|
|
19757
20114
|
core.Directive({
|
|
19758
20115
|
selector: "[ecAddActionRedirect]",
|
|
19759
20116
|
}),
|
|
19760
|
-
__param$
|
|
20117
|
+
__param$c(0, core.Inject(common.DOCUMENT))
|
|
19761
20118
|
], AddActionRedirectDirective);
|
|
19762
20119
|
return AddActionRedirectDirective;
|
|
19763
20120
|
}());
|
|
19764
20121
|
|
|
19765
|
-
var __decorate$
|
|
20122
|
+
var __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19766
20123
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19767
20124
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19768
20125
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -19827,13 +20184,13 @@
|
|
|
19827
20184
|
{ type: core.TemplateRef },
|
|
19828
20185
|
{ type: core.ViewContainerRef }
|
|
19829
20186
|
]; };
|
|
19830
|
-
__decorate$
|
|
20187
|
+
__decorate$23([
|
|
19831
20188
|
core.Input()
|
|
19832
20189
|
], ProductStockDirective.prototype, "ecProductStockElse", void 0);
|
|
19833
|
-
__decorate$
|
|
20190
|
+
__decorate$23([
|
|
19834
20191
|
core.Input()
|
|
19835
20192
|
], ProductStockDirective.prototype, "ecProductStock", null);
|
|
19836
|
-
ProductStockDirective = __decorate$
|
|
20193
|
+
ProductStockDirective = __decorate$23([
|
|
19837
20194
|
core.Directive({
|
|
19838
20195
|
selector: "[ecProductStock]"
|
|
19839
20196
|
})
|
|
@@ -19841,13 +20198,13 @@
|
|
|
19841
20198
|
return ProductStockDirective;
|
|
19842
20199
|
}());
|
|
19843
20200
|
|
|
19844
|
-
var __decorate$
|
|
20201
|
+
var __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19845
20202
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
19846
20203
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
19847
20204
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
19848
20205
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19849
20206
|
};
|
|
19850
|
-
var __param$
|
|
20207
|
+
var __param$d = (this && this.__param) || function (paramIndex, decorator) {
|
|
19851
20208
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
19852
20209
|
};
|
|
19853
20210
|
var ParamsContext$1 = /** @class */ (function () {
|
|
@@ -19982,25 +20339,25 @@
|
|
|
19982
20339
|
{ type: core.ElementRef },
|
|
19983
20340
|
{ type: core.Renderer2 }
|
|
19984
20341
|
]; };
|
|
19985
|
-
__decorate$
|
|
20342
|
+
__decorate$24([
|
|
19986
20343
|
core.Input()
|
|
19987
20344
|
], ProductOffDirective.prototype, "ecProductOff", null);
|
|
19988
|
-
__decorate$
|
|
20345
|
+
__decorate$24([
|
|
19989
20346
|
core.Input()
|
|
19990
20347
|
], ProductOffDirective.prototype, "classStrSpacing", null);
|
|
19991
|
-
__decorate$
|
|
20348
|
+
__decorate$24([
|
|
19992
20349
|
core.Input()
|
|
19993
20350
|
], ProductOffDirective.prototype, "customMessage", null);
|
|
19994
|
-
ProductOffDirective = __decorate$
|
|
20351
|
+
ProductOffDirective = __decorate$24([
|
|
19995
20352
|
core.Directive({
|
|
19996
20353
|
selector: "[ecProductOff]",
|
|
19997
20354
|
}),
|
|
19998
|
-
__param$
|
|
20355
|
+
__param$d(0, core.Inject(common.DOCUMENT))
|
|
19999
20356
|
], ProductOffDirective);
|
|
20000
20357
|
return ProductOffDirective;
|
|
20001
20358
|
}());
|
|
20002
20359
|
|
|
20003
|
-
var __decorate$
|
|
20360
|
+
var __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20004
20361
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20005
20362
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20006
20363
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20058,10 +20415,10 @@
|
|
|
20058
20415
|
{ type: core.Renderer2 },
|
|
20059
20416
|
{ type: Constants }
|
|
20060
20417
|
]; };
|
|
20061
|
-
__decorate$
|
|
20418
|
+
__decorate$25([
|
|
20062
20419
|
core.Input()
|
|
20063
20420
|
], ProductMiniStandardDirective.prototype, "ecProductMiniStandard", null);
|
|
20064
|
-
ProductMiniStandardDirective = __decorate$
|
|
20421
|
+
ProductMiniStandardDirective = __decorate$25([
|
|
20065
20422
|
core.Directive({
|
|
20066
20423
|
selector: '[ecProductMiniStandard]'
|
|
20067
20424
|
})
|
|
@@ -20069,7 +20426,7 @@
|
|
|
20069
20426
|
return ProductMiniStandardDirective;
|
|
20070
20427
|
}());
|
|
20071
20428
|
|
|
20072
|
-
var __decorate$
|
|
20429
|
+
var __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20073
20430
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20074
20431
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20075
20432
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20112,13 +20469,13 @@
|
|
|
20112
20469
|
{ type: core.ViewContainerRef },
|
|
20113
20470
|
{ type: AuthService }
|
|
20114
20471
|
]; };
|
|
20115
|
-
__decorate$
|
|
20472
|
+
__decorate$26([
|
|
20116
20473
|
core.Input()
|
|
20117
20474
|
], AuthWholesalerDirective.prototype, "ecAuthWholesalerElse", void 0);
|
|
20118
|
-
__decorate$
|
|
20475
|
+
__decorate$26([
|
|
20119
20476
|
core.Input()
|
|
20120
20477
|
], AuthWholesalerDirective.prototype, "ecAuthWholesaler", null);
|
|
20121
|
-
AuthWholesalerDirective = __decorate$
|
|
20478
|
+
AuthWholesalerDirective = __decorate$26([
|
|
20122
20479
|
core.Directive({
|
|
20123
20480
|
selector: "[ecAuthWholesaler]"
|
|
20124
20481
|
})
|
|
@@ -20126,7 +20483,7 @@
|
|
|
20126
20483
|
return AuthWholesalerDirective;
|
|
20127
20484
|
}());
|
|
20128
20485
|
|
|
20129
|
-
var __decorate$
|
|
20486
|
+
var __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20130
20487
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20131
20488
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20132
20489
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20148,10 +20505,10 @@
|
|
|
20148
20505
|
{ type: core.TemplateRef },
|
|
20149
20506
|
{ type: core.ViewContainerRef }
|
|
20150
20507
|
]; };
|
|
20151
|
-
__decorate$
|
|
20508
|
+
__decorate$27([
|
|
20152
20509
|
core.Input()
|
|
20153
20510
|
], ReloadViewDirective.prototype, "ecReloadView", void 0);
|
|
20154
|
-
ReloadViewDirective = __decorate$
|
|
20511
|
+
ReloadViewDirective = __decorate$27([
|
|
20155
20512
|
core.Directive({
|
|
20156
20513
|
selector: '[ecReloadView]'
|
|
20157
20514
|
})
|
|
@@ -20174,7 +20531,7 @@
|
|
|
20174
20531
|
ReloadViewDirective,
|
|
20175
20532
|
];
|
|
20176
20533
|
|
|
20177
|
-
var __decorate$
|
|
20534
|
+
var __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20178
20535
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20179
20536
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20180
20537
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20263,7 +20620,7 @@
|
|
|
20263
20620
|
{ type: CurrencyService },
|
|
20264
20621
|
{ type: core.Injector }
|
|
20265
20622
|
]; };
|
|
20266
|
-
ecCurrencySymbolPipe = __decorate$
|
|
20623
|
+
ecCurrencySymbolPipe = __decorate$28([
|
|
20267
20624
|
core.Pipe({
|
|
20268
20625
|
name: 'ecCurrencySymbol',
|
|
20269
20626
|
pure: false
|
|
@@ -20272,7 +20629,7 @@
|
|
|
20272
20629
|
return ecCurrencySymbolPipe;
|
|
20273
20630
|
}());
|
|
20274
20631
|
|
|
20275
|
-
var __decorate$
|
|
20632
|
+
var __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20276
20633
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20277
20634
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20278
20635
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20288,7 +20645,7 @@
|
|
|
20288
20645
|
EcSanitizerHtmlPipe.ctorParameters = function () { return [
|
|
20289
20646
|
{ type: platformBrowser.DomSanitizer }
|
|
20290
20647
|
]; };
|
|
20291
|
-
EcSanitizerHtmlPipe = __decorate$
|
|
20648
|
+
EcSanitizerHtmlPipe = __decorate$29([
|
|
20292
20649
|
core.Pipe({
|
|
20293
20650
|
name: 'ecSanitizerHtml'
|
|
20294
20651
|
})
|
|
@@ -20296,7 +20653,7 @@
|
|
|
20296
20653
|
return EcSanitizerHtmlPipe;
|
|
20297
20654
|
}());
|
|
20298
20655
|
|
|
20299
|
-
var __decorate$
|
|
20656
|
+
var __decorate$2a = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20300
20657
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20301
20658
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20302
20659
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20312,7 +20669,7 @@
|
|
|
20312
20669
|
EcSanitizerUrlPipe.ctorParameters = function () { return [
|
|
20313
20670
|
{ type: platformBrowser.DomSanitizer }
|
|
20314
20671
|
]; };
|
|
20315
|
-
EcSanitizerUrlPipe = __decorate$
|
|
20672
|
+
EcSanitizerUrlPipe = __decorate$2a([
|
|
20316
20673
|
core.Pipe({
|
|
20317
20674
|
name: 'ecSanitizerUrl'
|
|
20318
20675
|
})
|
|
@@ -20327,7 +20684,7 @@
|
|
|
20327
20684
|
EcSanitizerUrlPipe
|
|
20328
20685
|
];
|
|
20329
20686
|
|
|
20330
|
-
var __decorate$
|
|
20687
|
+
var __decorate$2b = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20331
20688
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20332
20689
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20333
20690
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20414,7 +20771,7 @@
|
|
|
20414
20771
|
};
|
|
20415
20772
|
};
|
|
20416
20773
|
var NgEasycommerceModule_1;
|
|
20417
|
-
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$
|
|
20774
|
+
NgEasycommerceModule = NgEasycommerceModule_1 = __decorate$2b([
|
|
20418
20775
|
core.NgModule({
|
|
20419
20776
|
exports: [
|
|
20420
20777
|
OrderByPipe,
|
|
@@ -20452,7 +20809,7 @@
|
|
|
20452
20809
|
return NgEasycommerceModule;
|
|
20453
20810
|
}());
|
|
20454
20811
|
|
|
20455
|
-
var __decorate$
|
|
20812
|
+
var __decorate$2c = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20456
20813
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20457
20814
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20458
20815
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20500,7 +20857,7 @@
|
|
|
20500
20857
|
{ type: ConnectionService }
|
|
20501
20858
|
]; };
|
|
20502
20859
|
GiftCardService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function GiftCardService_Factory() { return new GiftCardService(core.ɵɵinject(Constants), core.ɵɵinject(CartService), core.ɵɵinject(ConnectionService)); }, token: GiftCardService, providedIn: "root" });
|
|
20503
|
-
GiftCardService$1 = __decorate$
|
|
20860
|
+
GiftCardService$1 = __decorate$2c([
|
|
20504
20861
|
core.Injectable({
|
|
20505
20862
|
providedIn: 'root'
|
|
20506
20863
|
})
|
|
@@ -20508,7 +20865,7 @@
|
|
|
20508
20865
|
return GiftCardService$1;
|
|
20509
20866
|
}());
|
|
20510
20867
|
|
|
20511
|
-
var __decorate$
|
|
20868
|
+
var __decorate$2d = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20512
20869
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20513
20870
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20514
20871
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
@@ -20564,7 +20921,7 @@
|
|
|
20564
20921
|
{ type: ngxToastr.ToastrService }
|
|
20565
20922
|
]; };
|
|
20566
20923
|
WishlistService$1.ɵprov = core.ɵɵdefineInjectable({ factory: function WishlistService_Factory() { return new WishlistService(core.ɵɵinject(ngxToastr.ToastrService)); }, token: WishlistService, providedIn: "root" });
|
|
20567
|
-
WishlistService$1 = __decorate$
|
|
20924
|
+
WishlistService$1 = __decorate$2d([
|
|
20568
20925
|
core.Injectable({
|
|
20569
20926
|
providedIn: 'root'
|
|
20570
20927
|
})
|
|
@@ -20572,13 +20929,13 @@
|
|
|
20572
20929
|
return WishlistService$1;
|
|
20573
20930
|
}());
|
|
20574
20931
|
|
|
20575
|
-
var __decorate$
|
|
20932
|
+
var __decorate$2e = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
20576
20933
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20577
20934
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20578
20935
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
20579
20936
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20580
20937
|
};
|
|
20581
|
-
var __param$
|
|
20938
|
+
var __param$e = (this && this.__param) || function (paramIndex, decorator) {
|
|
20582
20939
|
return function (target, key) { decorator(target, key, paramIndex); }
|
|
20583
20940
|
};
|
|
20584
20941
|
var StandardReuseStrategy = /** @class */ (function () {
|
|
@@ -20607,9 +20964,9 @@
|
|
|
20607
20964
|
StandardReuseStrategy.ctorParameters = function () { return [
|
|
20608
20965
|
{ type: undefined, decorators: [{ type: core.Inject, args: ['env',] }] }
|
|
20609
20966
|
]; };
|
|
20610
|
-
StandardReuseStrategy = __decorate$
|
|
20967
|
+
StandardReuseStrategy = __decorate$2e([
|
|
20611
20968
|
core.Injectable(),
|
|
20612
|
-
__param$
|
|
20969
|
+
__param$e(0, core.Inject('env'))
|
|
20613
20970
|
], StandardReuseStrategy);
|
|
20614
20971
|
return StandardReuseStrategy;
|
|
20615
20972
|
}());
|
|
@@ -20671,6 +21028,7 @@
|
|
|
20671
21028
|
exports.FiltersService = FiltersService;
|
|
20672
21029
|
exports.FiltersTopEcComponent = FiltersTopEcComponent;
|
|
20673
21030
|
exports.FooterEcComponent = FooterEcComponent;
|
|
21031
|
+
exports.FooterService = FooterService;
|
|
20674
21032
|
exports.ForgotPasswordEcComponent = ForgotPasswordEcComponent;
|
|
20675
21033
|
exports.GiftCardService = GiftCardService;
|
|
20676
21034
|
exports.HeaderEcComponent = HeaderEcComponent;
|
|
@@ -20743,6 +21101,13 @@
|
|
|
20743
21101
|
exports.WishlistService = WishlistService;
|
|
20744
21102
|
exports.browserWindowProvider = browserWindowProvider;
|
|
20745
21103
|
exports.ecCurrencySymbolPipe = ecCurrencySymbolPipe;
|
|
21104
|
+
exports.getSectionPages = getSectionPages;
|
|
21105
|
+
exports.hasSectionPages = hasSectionPages;
|
|
21106
|
+
exports.pickFooterForDevice = pickFooterForDevice;
|
|
21107
|
+
exports.toHref = toHref;
|
|
21108
|
+
exports.toSectionPageHref = toSectionPageHref;
|
|
21109
|
+
exports.toSectionPageText = toSectionPageText;
|
|
21110
|
+
exports.toText = toText;
|
|
20746
21111
|
exports.windowFactory = windowFactory;
|
|
20747
21112
|
exports.windowProvider = windowProvider;
|
|
20748
21113
|
exports.ɵa = OrderByPipe;
|