Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ion-product-card

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ion-product-card - npm Package Compare versions

Comparing version 1.0.0-rc24 to 1.0.0-rc28

12

bundles/ion-product-card.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ionic-angular'), require('@ngx-translate/core'), require('ngx-currency-mask')) :
typeof define === 'function' && define.amd ? define('ion-product-card', ['exports', '@angular/core', '@angular/common', 'ionic-angular', '@ngx-translate/core', 'ngx-currency-mask'], factory) :
(factory((global['ion-product-card'] = {}),global.ng.core,global.ng.common,global.ionicAngular,global.ngxTranslate,global.ngxCurrencyMask));
}(this, (function (exports,core,common,ionicAngular,core$1,ngxCurrencyMask) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ionic-angular'), require('@ngx-translate/core'), require('ngx-currency')) :
typeof define === 'function' && define.amd ? define('ion-product-card', ['exports', '@angular/core', '@angular/common', 'ionic-angular', '@ngx-translate/core', 'ngx-currency'], factory) :
(factory((global['ion-product-card'] = {}),global.ng.core,global.ng.common,global.ionicAngular,global.ngxTranslate,global.ngxCurrency));
}(this, (function (exports,core,common,ionicAngular,core$1,ngxCurrency) { 'use strict';

@@ -239,3 +239,3 @@ /**

encapsulation: core.ViewEncapsulation.None,
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:2.5rem;height:2.5rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:3rem;height:3rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
}] }

@@ -280,3 +280,3 @@ ];

core$1.TranslateModule,
ngxCurrencyMask.CurrencyMaskModule,
ngxCurrency.NgxCurrencyModule,
IonProductCardOptionsModule

@@ -283,0 +283,0 @@ ],

@@ -1,2 +0,2 @@

!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/common"),require("ionic-angular"),require("@ngx-translate/core"),require("ngx-currency-mask")):"function"==typeof define&&define.amd?define("ion-product-card",["exports","@angular/core","@angular/common","ionic-angular","@ngx-translate/core","ngx-currency-mask"],o):o(t["ion-product-card"]={},t.ng.core,t.ng.common,t.ionicAngular,t.ngxTranslate,t.ngxCurrencyMask)}(this,function(t,e,o,n,r,i){"use strict";var c=function(){function t(t,o,n){this.viewCtrl=t,this.navParams=o,this.changeDetector=n,this.product=o.data.product,this.options=o.data.options,this.events=o.data.events}return t.prototype.isDeleted=function(){return this.product&&this.product.information&&this.product.information.deleted},t.prototype.emit=function(t){return this.events[t].emit(this.product)},t.prototype.hasListeners=function(t){return this.events&&t&&0<t.observers.length},t.prototype.close=function(t){this.viewCtrl.dismiss(t)},t.decorators=[{type:e.Component,args:[{template:'<button ion-item popover-item *ngIf="hasListeners(events.edit)" (click)="emit(\'edit\'); close();" [disabled]="product.showSpinner">\n <span translate="edit"></span>\n</button>\n<button ion-item popover-item *ngIf="!isDeleted() && hasListeners(events.deactivate)" (click)="emit(\'deactivate\'); close();" [disabled]="product.showSpinner">\n <span translate="deactivate"></span>\n</button>\n<button ion-item popover-item *ngIf="isDeleted() && hasListeners(events.activate)" (click)="emit(\'activate\'); close();" [disabled]="product.showSpinner">\n <span translate="activate"></span>\n</button>',changeDetection:e.ChangeDetectionStrategy.Default}]}],t.ctorParameters=function(){return[{type:n.ViewController},{type:n.NavParams},{type:e.ChangeDetectorRef}]},t}(),p=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule,n.IonicModule,r.TranslateModule],entryComponents:[c],declarations:[c],exports:[c]}]}],t}(),d=function(){function t(t,o,n){this.zone=t,this.changeDetector=o,this.popoverCtrl=n,this.CURRENCY_OPTIONS={prefix:"R$ ",thousands:".",decimal:",",nullable:!0},this.add=new e.EventEmitter,this.save=new e.EventEmitter,this.view=new e.EventEmitter,this.edit=new e.EventEmitter,this.remove=new e.EventEmitter,this.deactivate=new e.EventEmitter,this.activate=new e.EventEmitter,this.increment=new e.EventEmitter,this.decrement=new e.EventEmitter,this.blur=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.changeDetector.detectChanges(),this.options=this.options||{},this.options.transform&&(this.product=this.options.transform(this.product)),!this.product||0<this.product.price||delete this.product.price},t.prototype.showItemLeft=function(){return this.options.showDiscountTag&&this.product.discountPrice||this.options.showPicture},t.prototype.getQuantityFor=function(t){return t.quantity?t.quantity+" "+(t.quantity&&t.quantity,"Un."):"Adicionar"},t.prototype.showQuantityButtons=function(){return(this.options.showDecreaseButton?this.options.showDecreaseButton(this.product):0<this.decrement.observers.length)||(this.options.showIncreaseButton?this.options.showIncreaseButton(this.product):0<this.increment.observers.length)},t.prototype.showInventoryOptions=function(){return 0<this.remove.observers.length||0<this.add.observers.length||0<this.save.observers.length},t.prototype.showCatalogueOptions=function(){return 0<this.edit.observers.length||0<this.activate.observers.length||0<this.deactivate.observers.length},t.prototype.isDeleted=function(){return this.product&&this.product.information&&this.product.information.deleted},t.prototype.showOptionsFor=function(t,o){var n=this.popoverCtrl.create(c,{product:o,options:this.options,events:{add:this.add,save:this.save,edit:this.edit,deactivate:this.deactivate,activate:this.activate}});n.present({ev:t}),n.onDidDismiss(function(t){})},t.decorators=[{type:e.Component,args:[{selector:"ion-product-card",template:'<ion-card product *ngIf="product && product.information" [ngClass]="{ \'deleted\': isDeleted(), \'show-image\': options.showPicture, \'discount-product\' : product.discountPrice }">\r\n <ion-card-header product-header color="secondary" *ngIf="options.showPicture" (click)="view.emit(product)">\r\n <section product-name>\r\n <p discount-tag *ngIf="options.showDiscountTag && product.discountPrice">\r\n <span translate="promotion"></span>\r\n </p>\r\n {{ product.information.name }}\r\n <br/>\r\n <section *ngIf="options.showProductQuantity">({{product.quantity}}x)</section>\r\n </section>\r\n <ion-spinner product-spinner *ngIf="product.loading"></ion-spinner>\r\n </ion-card-header>\r\n <ion-card-content no-padding>\r\n <ion-item text-center no-padding>\r\n <article item-left product-picture (click)="view.emit(product)">\r\n <img [src]="product.picture" />\r\n </article>\r\n <form>\r\n <p text-color="almost-white" deleted-tag *ngIf="isDeleted()">\r\n Status:\r\n <span translate="deactivated"></span>\r\n </p>\r\n <p product-info product-price discount *ngIf="options.showDiscountPrice && product.discountPrice">\r\n <span prefix translate="by" *ngIf="product.discountPrice"></span>:\r\n <span price-value>{{ product.discountPrice | currency : \'BRL\' }}</span>\r\n </p>\r\n <p product-info product-price *ngIf="options.showPrice && product.price">\r\n <span prefix *ngIf="product.discountPrice">\r\n <span translate="from"></span>:\r\n </span>\r\n <span price-value>{{ product.price | currency : \'BRL\' }}</span>\r\n </p>\r\n <ion-row>\r\n <section col [attr.col-6]="options.showStockInput" *ngIf="options.showPriceInput" price-input>\r\n <input name="price" autocomplete="off" autocorrect="off" padding-input type="tel" placeholder="Preço" [(ngModel)]="product.price"\r\n currencyMask [options]="CURRENCY_OPTIONS">\r\n </section>\r\n <section col col-6 *ngIf="options.showStockInput" stock-input>\r\n <input name="stock" autocomplete="off" autocorrect="off" padding-input type="tel" [placeholder]="\'Estoque (ex: 100)\'" [(ngModel)]="product.stock">\r\n <label text-color="almost-white">\r\n <span translate="unities"></span>\r\n </label>\r\n </section>\r\n </ion-row>\r\n <section *ngIf="options.showDiscountPriceInput" price-input discount-price-input>\r\n <span prefix>\r\n <span translate="by"></span>:\r\n </span>\r\n <input name="discount_price" type="tel" [placeholder]="00.00 | currency : \'BRL\'" [(ngModel)]="product.discountPrice" currencyMask\r\n [options]="CURRENCY_OPTIONS">\r\n </section>\r\n </form>\r\n <section item-right *ngIf="showQuantityButtons()">\r\n <div no-padding cart-options>\r\n <button ion-button color="danger" quantity-button *ngIf="decrement.observers.length > 0" (click)="decrement.emit(product)"\r\n [disabled]="product.loading || !product.quantity || !(product.quantity > 0)">\r\n <ion-icon name="la-minus"></ion-icon>\r\n </button>\r\n <ion-icon cart-icon name="la-shopping-cart"></ion-icon>\r\n <button ion-button color="balanced" quantity-button *ngIf="increment.observers.length > 0" (click)="increment.emit(product)"\r\n [disabled]="product.loading">\r\n <ion-icon name="la-plus"></ion-icon>\r\n </button>\r\n <p>{{ getQuantityFor(product) }}</p>\r\n </div>\r\n </section>\r\n <section *ngIf="showInventoryOptions()" inventory-options float-right>\r\n <button type="submit" ion-button round icon unicode color="balanced" *ngIf="save.observers.length > 0" (click)="save.emit(product)"\r\n [disabled]="product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)">\r\n <ion-icon name="la-check"></ion-icon>\r\n </button>\r\n <button type="submit" ion-button round icon add-button color="balanced" *ngIf="add.observers.length > 0" (click)="add.emit(product)"\r\n [disabled]="product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)">\r\n <ion-icon name="la-check"></ion-icon>\r\n </button>\r\n <button type="button" ion-button round icon delete-button remove-button color="danger" *ngIf="remove.observers.length > 0"\r\n (click)="remove.emit(product)" [disabled]="product.loading">\r\n <ion-icon name="la-trash"></ion-icon>\r\n </button>\r\n </section>\r\n \r\n <section item-right *ngIf="showCatalogueOptions()">\r\n <a (click)="showOptionsFor($event, product)" text-color="dark" more-options>\r\n <ion-icon name="la-ellipsis-v"></ion-icon>\r\n </a>\r\n </section>\r\n \r\n <button ion-button clear view-more color="positive" (click)="view.emit(product)" *ngIf="view.observers.length > 0">\r\n <span translate="view_more"></span>\r\n </button>\r\n </ion-item>\r\n </ion-card-content>\r\n</ion-card>',encapsulation:e.ViewEncapsulation.None,styles:["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:2.5rem;height:2.5rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]}]}],t.ctorParameters=function(){return[{type:e.NgZone},{type:e.ChangeDetectorRef},{type:n.PopoverController}]},t.propDecorators={product:[{type:e.Input,args:["product"]}],options:[{type:e.Input,args:["options"]}],add:[{type:e.Output}],save:[{type:e.Output}],view:[{type:e.Output}],edit:[{type:e.Output}],remove:[{type:e.Output}],deactivate:[{type:e.Output}],activate:[{type:e.Output}],increment:[{type:e.Output}],decrement:[{type:e.Output}],blur:[{type:e.Output}]},t}(),a=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule,n.IonicModule,r.TranslateModule,i.CurrencyMaskModule,p],declarations:[d],exports:[d]}]}],t}();t.IonProductCardOptionsModule=p,t.IonProductCardComponent=d,t.IonProductCardModule=a,t.ɵa=c,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/common"),require("ionic-angular"),require("@ngx-translate/core"),require("ngx-currency")):"function"==typeof define&&define.amd?define("ion-product-card",["exports","@angular/core","@angular/common","ionic-angular","@ngx-translate/core","ngx-currency"],o):o(t["ion-product-card"]={},t.ng.core,t.ng.common,t.ionicAngular,t.ngxTranslate,t.ngxCurrency)}(this,function(t,e,o,n,r,i){"use strict";var c=function(){function t(t,o,n){this.viewCtrl=t,this.navParams=o,this.changeDetector=n,this.product=o.data.product,this.options=o.data.options,this.events=o.data.events}return t.prototype.isDeleted=function(){return this.product&&this.product.information&&this.product.information.deleted},t.prototype.emit=function(t){return this.events[t].emit(this.product)},t.prototype.hasListeners=function(t){return this.events&&t&&0<t.observers.length},t.prototype.close=function(t){this.viewCtrl.dismiss(t)},t.decorators=[{type:e.Component,args:[{template:'<button ion-item popover-item *ngIf="hasListeners(events.edit)" (click)="emit(\'edit\'); close();" [disabled]="product.showSpinner">\n <span translate="edit"></span>\n</button>\n<button ion-item popover-item *ngIf="!isDeleted() && hasListeners(events.deactivate)" (click)="emit(\'deactivate\'); close();" [disabled]="product.showSpinner">\n <span translate="deactivate"></span>\n</button>\n<button ion-item popover-item *ngIf="isDeleted() && hasListeners(events.activate)" (click)="emit(\'activate\'); close();" [disabled]="product.showSpinner">\n <span translate="activate"></span>\n</button>',changeDetection:e.ChangeDetectionStrategy.Default}]}],t.ctorParameters=function(){return[{type:n.ViewController},{type:n.NavParams},{type:e.ChangeDetectorRef}]},t}(),p=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule,n.IonicModule,r.TranslateModule],entryComponents:[c],declarations:[c],exports:[c]}]}],t}(),d=function(){function t(t,o,n){this.zone=t,this.changeDetector=o,this.popoverCtrl=n,this.CURRENCY_OPTIONS={prefix:"R$ ",thousands:".",decimal:",",nullable:!0},this.add=new e.EventEmitter,this.save=new e.EventEmitter,this.view=new e.EventEmitter,this.edit=new e.EventEmitter,this.remove=new e.EventEmitter,this.deactivate=new e.EventEmitter,this.activate=new e.EventEmitter,this.increment=new e.EventEmitter,this.decrement=new e.EventEmitter,this.blur=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.changeDetector.detectChanges(),this.options=this.options||{},this.options.transform&&(this.product=this.options.transform(this.product)),!this.product||0<this.product.price||delete this.product.price},t.prototype.showItemLeft=function(){return this.options.showDiscountTag&&this.product.discountPrice||this.options.showPicture},t.prototype.getQuantityFor=function(t){return t.quantity?t.quantity+" "+(t.quantity&&t.quantity,"Un."):"Adicionar"},t.prototype.showQuantityButtons=function(){return(this.options.showDecreaseButton?this.options.showDecreaseButton(this.product):0<this.decrement.observers.length)||(this.options.showIncreaseButton?this.options.showIncreaseButton(this.product):0<this.increment.observers.length)},t.prototype.showInventoryOptions=function(){return 0<this.remove.observers.length||0<this.add.observers.length||0<this.save.observers.length},t.prototype.showCatalogueOptions=function(){return 0<this.edit.observers.length||0<this.activate.observers.length||0<this.deactivate.observers.length},t.prototype.isDeleted=function(){return this.product&&this.product.information&&this.product.information.deleted},t.prototype.showOptionsFor=function(t,o){var n=this.popoverCtrl.create(c,{product:o,options:this.options,events:{add:this.add,save:this.save,edit:this.edit,deactivate:this.deactivate,activate:this.activate}});n.present({ev:t}),n.onDidDismiss(function(t){})},t.decorators=[{type:e.Component,args:[{selector:"ion-product-card",template:'<ion-card product *ngIf="product && product.information" [ngClass]="{ \'deleted\': isDeleted(), \'show-image\': options.showPicture, \'discount-product\' : product.discountPrice }">\r\n <ion-card-header product-header color="secondary" *ngIf="options.showPicture" (click)="view.emit(product)">\r\n <section product-name>\r\n <p discount-tag *ngIf="options.showDiscountTag && product.discountPrice">\r\n <span translate="promotion"></span>\r\n </p>\r\n {{ product.information.name }}\r\n <br/>\r\n <section *ngIf="options.showProductQuantity">({{product.quantity}}x)</section>\r\n </section>\r\n <ion-spinner product-spinner *ngIf="product.loading"></ion-spinner>\r\n </ion-card-header>\r\n <ion-card-content no-padding>\r\n <ion-item text-center no-padding>\r\n <article item-left product-picture (click)="view.emit(product)">\r\n <img [src]="product.picture" />\r\n </article>\r\n <form>\r\n <p text-color="almost-white" deleted-tag *ngIf="isDeleted()">\r\n Status:\r\n <span translate="deactivated"></span>\r\n </p>\r\n <p product-info product-price discount *ngIf="options.showDiscountPrice && product.discountPrice">\r\n <span prefix translate="by" *ngIf="product.discountPrice"></span>:\r\n <span price-value>{{ product.discountPrice | currency : \'BRL\' }}</span>\r\n </p>\r\n <p product-info product-price *ngIf="options.showPrice && product.price">\r\n <span prefix *ngIf="product.discountPrice">\r\n <span translate="from"></span>:\r\n </span>\r\n <span price-value>{{ product.price | currency : \'BRL\' }}</span>\r\n </p>\r\n <ion-row>\r\n <section col [attr.col-6]="options.showStockInput" *ngIf="options.showPriceInput" price-input>\r\n <input name="price" autocomplete="off" autocorrect="off" padding-input type="tel" placeholder="Preço" [(ngModel)]="product.price"\r\n currencyMask [options]="CURRENCY_OPTIONS">\r\n </section>\r\n <section col col-6 *ngIf="options.showStockInput" stock-input>\r\n <input name="stock" autocomplete="off" autocorrect="off" padding-input type="tel" [placeholder]="\'Estoque (ex: 100)\'" [(ngModel)]="product.stock">\r\n <label text-color="almost-white">\r\n <span translate="unities"></span>\r\n </label>\r\n </section>\r\n </ion-row>\r\n <section *ngIf="options.showDiscountPriceInput" price-input discount-price-input>\r\n <span prefix>\r\n <span translate="by"></span>:\r\n </span>\r\n <input name="discount_price" type="tel" [placeholder]="00.00 | currency : \'BRL\'" [(ngModel)]="product.discountPrice" currencyMask\r\n [options]="CURRENCY_OPTIONS">\r\n </section>\r\n </form>\r\n <section item-right *ngIf="showQuantityButtons()">\r\n <div no-padding cart-options>\r\n <button ion-button color="danger" quantity-button *ngIf="decrement.observers.length > 0" (click)="decrement.emit(product)"\r\n [disabled]="product.loading || !product.quantity || !(product.quantity > 0)">\r\n <ion-icon name="la-minus"></ion-icon>\r\n </button>\r\n <ion-icon cart-icon name="la-shopping-cart"></ion-icon>\r\n <button ion-button color="balanced" quantity-button *ngIf="increment.observers.length > 0" (click)="increment.emit(product)"\r\n [disabled]="product.loading">\r\n <ion-icon name="la-plus"></ion-icon>\r\n </button>\r\n <p>{{ getQuantityFor(product) }}</p>\r\n </div>\r\n </section>\r\n <section *ngIf="showInventoryOptions()" inventory-options float-right>\r\n <button type="submit" ion-button round icon unicode color="balanced" *ngIf="save.observers.length > 0" (click)="save.emit(product)"\r\n [disabled]="product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)">\r\n <ion-icon name="la-check"></ion-icon>\r\n </button>\r\n <button type="submit" ion-button round icon add-button color="balanced" *ngIf="add.observers.length > 0" (click)="add.emit(product)"\r\n [disabled]="product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)">\r\n <ion-icon name="la-check"></ion-icon>\r\n </button>\r\n <button type="button" ion-button round icon delete-button remove-button color="danger" *ngIf="remove.observers.length > 0"\r\n (click)="remove.emit(product)" [disabled]="product.loading">\r\n <ion-icon name="la-trash"></ion-icon>\r\n </button>\r\n </section>\r\n \r\n <section item-right *ngIf="showCatalogueOptions()">\r\n <a (click)="showOptionsFor($event, product)" text-color="dark" more-options>\r\n <ion-icon name="la-ellipsis-v"></ion-icon>\r\n </a>\r\n </section>\r\n \r\n <button ion-button clear view-more color="positive" (click)="view.emit(product)" *ngIf="view.observers.length > 0">\r\n <span translate="view_more"></span>\r\n </button>\r\n </ion-item>\r\n </ion-card-content>\r\n</ion-card>',encapsulation:e.ViewEncapsulation.None,styles:["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:3rem;height:3rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]}]}],t.ctorParameters=function(){return[{type:e.NgZone},{type:e.ChangeDetectorRef},{type:n.PopoverController}]},t.propDecorators={product:[{type:e.Input,args:["product"]}],options:[{type:e.Input,args:["options"]}],add:[{type:e.Output}],save:[{type:e.Output}],view:[{type:e.Output}],edit:[{type:e.Output}],remove:[{type:e.Output}],deactivate:[{type:e.Output}],activate:[{type:e.Output}],increment:[{type:e.Output}],decrement:[{type:e.Output}],blur:[{type:e.Output}]},t}(),a=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[o.CommonModule,n.IonicModule,r.TranslateModule,i.NgxCurrencyModule,p],declarations:[d],exports:[d]}]}],t}();t.IonProductCardOptionsModule=p,t.IonProductCardComponent=d,t.IonProductCardModule=a,t.ɵa=c,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ion-product-card.umd.min.js.map

@@ -137,3 +137,3 @@ /**

encapsulation: ViewEncapsulation.None,
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:2.5rem;height:2.5rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:3rem;height:3rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
}] }

@@ -140,0 +140,0 @@ ];

@@ -14,3 +14,3 @@ /**

import { TranslateModule } from '@ngx-translate/core';
import { CurrencyMaskModule } from "ngx-currency-mask";
import { NgxCurrencyModule } from "ngx-currency";
import { IonProductCardComponent } from './ion-product-card.component';

@@ -26,3 +26,3 @@ import { IonProductCardOptionsModule } from './options/ion-product-card-options.module';

TranslateModule,
CurrencyMaskModule,
NgxCurrencyModule,
IonProductCardOptionsModule

@@ -34,2 +34,2 @@ ],

];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9uLXByb2R1Y3QtY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9pb24tcHJvZHVjdC1jYXJkLyIsInNvdXJjZXMiOlsibGliL2lvbi1wcm9kdWN0LWNhcmQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQU1BLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDeEMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzlDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFBO0FBQ3JELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG1CQUFtQixDQUFBO0FBQ3RELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFBO0FBQ3RFLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDJDQUEyQyxDQUFBO0FBYXZGLE1BQU07OztZQVhMLFFBQVEsU0FBQztnQkFDTixPQUFPLEVBQUU7b0JBQ0wsWUFBWTtvQkFDWixXQUFXO29CQUNYLGVBQWU7b0JBQ2Ysa0JBQWtCO29CQUNsQiwyQkFBMkI7aUJBQzlCO2dCQUNELFlBQVksRUFBRSxDQUFDLHVCQUF1QixDQUFDO2dCQUN2QyxPQUFPLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQzthQUNyQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2UgTUlUXG4gKiBAYXV0aG9yIExlb25hcmRvIFF1ZXZlZG9cbiAqIEBkZXNjcmlwdGlvbiBDb21wb25lbnQgbW9kdWxlLlxuICovXG5cbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbidcbmltcG9ydCB7IElvbmljTW9kdWxlIH0gZnJvbSAnaW9uaWMtYW5ndWxhcidcbmltcG9ydCB7IFRyYW5zbGF0ZU1vZHVsZSB9IGZyb20gJ0BuZ3gtdHJhbnNsYXRlL2NvcmUnXG5pbXBvcnQgeyBDdXJyZW5jeU1hc2tNb2R1bGUgfSBmcm9tIFwibmd4LWN1cnJlbmN5LW1hc2tcIlxuaW1wb3J0IHsgSW9uUHJvZHVjdENhcmRDb21wb25lbnQgfSBmcm9tICcuL2lvbi1wcm9kdWN0LWNhcmQuY29tcG9uZW50J1xuaW1wb3J0IHsgSW9uUHJvZHVjdENhcmRPcHRpb25zTW9kdWxlIH0gZnJvbSAnLi9vcHRpb25zL2lvbi1wcm9kdWN0LWNhcmQtb3B0aW9ucy5tb2R1bGUnXG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIElvbmljTW9kdWxlLFxuICAgICAgICBUcmFuc2xhdGVNb2R1bGUsXG4gICAgICAgIEN1cnJlbmN5TWFza01vZHVsZSxcbiAgICAgICAgSW9uUHJvZHVjdENhcmRPcHRpb25zTW9kdWxlXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtJb25Qcm9kdWN0Q2FyZENvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW0lvblByb2R1Y3RDYXJkQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBJb25Qcm9kdWN0Q2FyZE1vZHVsZSB7IH0iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9uLXByb2R1Y3QtY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9pb24tcHJvZHVjdC1jYXJkLyIsInNvdXJjZXMiOlsibGliL2lvbi1wcm9kdWN0LWNhcmQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQU1BLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDeEMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzlDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFBO0FBQ3JELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQTtBQUN0RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQTtBQWF2RixNQUFNOzs7WUFYTCxRQUFRLFNBQUM7Z0JBQ04sT0FBTyxFQUFFO29CQUNMLFlBQVk7b0JBQ1osV0FBVztvQkFDWCxlQUFlO29CQUNmLGlCQUFpQjtvQkFDakIsMkJBQTJCO2lCQUM5QjtnQkFDRCxZQUFZLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztnQkFDdkMsT0FBTyxFQUFFLENBQUMsdUJBQXVCLENBQUM7YUFDckMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlIE1JVFxuICogQGF1dGhvciBMZW9uYXJkbyBRdWV2ZWRvXG4gKiBAZGVzY3JpcHRpb24gQ29tcG9uZW50IG1vZHVsZS5cbiAqL1xuXG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnXG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nXG5pbXBvcnQgeyBJb25pY01vZHVsZSB9IGZyb20gJ2lvbmljLWFuZ3VsYXInXG5pbXBvcnQgeyBUcmFuc2xhdGVNb2R1bGUgfSBmcm9tICdAbmd4LXRyYW5zbGF0ZS9jb3JlJ1xuaW1wb3J0IHsgTmd4Q3VycmVuY3lNb2R1bGUgfSBmcm9tIFwibmd4LWN1cnJlbmN5XCJcbmltcG9ydCB7IElvblByb2R1Y3RDYXJkQ29tcG9uZW50IH0gZnJvbSAnLi9pb24tcHJvZHVjdC1jYXJkLmNvbXBvbmVudCdcbmltcG9ydCB7IElvblByb2R1Y3RDYXJkT3B0aW9uc01vZHVsZSB9IGZyb20gJy4vb3B0aW9ucy9pb24tcHJvZHVjdC1jYXJkLW9wdGlvbnMubW9kdWxlJ1xuXG5ATmdNb2R1bGUoe1xuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29tbW9uTW9kdWxlLFxuICAgICAgICBJb25pY01vZHVsZSxcbiAgICAgICAgVHJhbnNsYXRlTW9kdWxlLFxuICAgICAgICBOZ3hDdXJyZW5jeU1vZHVsZSxcbiAgICAgICAgSW9uUHJvZHVjdENhcmRPcHRpb25zTW9kdWxlXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtJb25Qcm9kdWN0Q2FyZENvbXBvbmVudF0sXG4gICAgZXhwb3J0czogW0lvblByb2R1Y3RDYXJkQ29tcG9uZW50XVxufSlcbmV4cG9ydCBjbGFzcyBJb25Qcm9kdWN0Q2FyZE1vZHVsZSB7IH0iXX0=

@@ -158,3 +158,3 @@ /**

encapsulation: ViewEncapsulation.None,
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:2.5rem;height:2.5rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:3rem;height:3rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
}] }

@@ -161,0 +161,0 @@ ];

@@ -14,3 +14,3 @@ /**

import { TranslateModule } from '@ngx-translate/core';
import { CurrencyMaskModule } from "ngx-currency-mask";
import { NgxCurrencyModule } from "ngx-currency";
import { IonProductCardComponent } from './ion-product-card.component';

@@ -27,3 +27,3 @@ import { IonProductCardOptionsModule } from './options/ion-product-card-options.module';

TranslateModule,
CurrencyMaskModule,
NgxCurrencyModule,
IonProductCardOptionsModule

@@ -38,2 +38,2 @@ ],

export { IonProductCardModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9uLXByb2R1Y3QtY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9pb24tcHJvZHVjdC1jYXJkLyIsInNvdXJjZXMiOlsibGliL2lvbi1wcm9kdWN0LWNhcmQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQU1BLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDeEMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzlDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFBO0FBQ3JELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG1CQUFtQixDQUFBO0FBQ3RELE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDhCQUE4QixDQUFBO0FBQ3RFLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLDJDQUEyQyxDQUFBO0FBRXZGO0lBQUE7SUFXb0MsQ0FBQzs7Z0JBWHBDLFFBQVEsU0FBQztvQkFDTixPQUFPLEVBQUU7d0JBQ0wsWUFBWTt3QkFDWixXQUFXO3dCQUNYLGVBQWU7d0JBQ2Ysa0JBQWtCO3dCQUNsQiwyQkFBMkI7cUJBQzlCO29CQUNELFlBQVksRUFBRSxDQUFDLHVCQUF1QixDQUFDO29CQUN2QyxPQUFPLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztpQkFDckM7O0lBQ21DLDJCQUFDO0NBQUEsQUFYckMsSUFXcUM7U0FBeEIsb0JBQW9CIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZSBNSVRcbiAqIEBhdXRob3IgTGVvbmFyZG8gUXVldmVkb1xuICogQGRlc2NyaXB0aW9uIENvbXBvbmVudCBtb2R1bGUuXG4gKi9cblxuaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJ1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJ1xuaW1wb3J0IHsgSW9uaWNNb2R1bGUgfSBmcm9tICdpb25pYy1hbmd1bGFyJ1xuaW1wb3J0IHsgVHJhbnNsYXRlTW9kdWxlIH0gZnJvbSAnQG5neC10cmFuc2xhdGUvY29yZSdcbmltcG9ydCB7IEN1cnJlbmN5TWFza01vZHVsZSB9IGZyb20gXCJuZ3gtY3VycmVuY3ktbWFza1wiXG5pbXBvcnQgeyBJb25Qcm9kdWN0Q2FyZENvbXBvbmVudCB9IGZyb20gJy4vaW9uLXByb2R1Y3QtY2FyZC5jb21wb25lbnQnXG5pbXBvcnQgeyBJb25Qcm9kdWN0Q2FyZE9wdGlvbnNNb2R1bGUgfSBmcm9tICcuL29wdGlvbnMvaW9uLXByb2R1Y3QtY2FyZC1vcHRpb25zLm1vZHVsZSdcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgSW9uaWNNb2R1bGUsXG4gICAgICAgIFRyYW5zbGF0ZU1vZHVsZSxcbiAgICAgICAgQ3VycmVuY3lNYXNrTW9kdWxlLFxuICAgICAgICBJb25Qcm9kdWN0Q2FyZE9wdGlvbnNNb2R1bGVcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW0lvblByb2R1Y3RDYXJkQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbSW9uUHJvZHVjdENhcmRDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIElvblByb2R1Y3RDYXJkTW9kdWxlIHsgfSJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW9uLXByb2R1Y3QtY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9pb24tcHJvZHVjdC1jYXJkLyIsInNvdXJjZXMiOlsibGliL2lvbi1wcm9kdWN0LWNhcmQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQU1BLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDeEMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFBO0FBQzlDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUE7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHFCQUFxQixDQUFBO0FBQ3JELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGNBQWMsQ0FBQTtBQUNoRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQTtBQUN0RSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSwyQ0FBMkMsQ0FBQTtBQUV2RjtJQUFBO0lBV29DLENBQUM7O2dCQVhwQyxRQUFRLFNBQUM7b0JBQ04sT0FBTyxFQUFFO3dCQUNMLFlBQVk7d0JBQ1osV0FBVzt3QkFDWCxlQUFlO3dCQUNmLGlCQUFpQjt3QkFDakIsMkJBQTJCO3FCQUM5QjtvQkFDRCxZQUFZLEVBQUUsQ0FBQyx1QkFBdUIsQ0FBQztvQkFDdkMsT0FBTyxFQUFFLENBQUMsdUJBQXVCLENBQUM7aUJBQ3JDOztJQUNtQywyQkFBQztDQUFBLEFBWHJDLElBV3FDO1NBQXhCLG9CQUFvQiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2UgTUlUXG4gKiBAYXV0aG9yIExlb25hcmRvIFF1ZXZlZG9cbiAqIEBkZXNjcmlwdGlvbiBDb21wb25lbnQgbW9kdWxlLlxuICovXG5cbmltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSdcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbidcbmltcG9ydCB7IElvbmljTW9kdWxlIH0gZnJvbSAnaW9uaWMtYW5ndWxhcidcbmltcG9ydCB7IFRyYW5zbGF0ZU1vZHVsZSB9IGZyb20gJ0BuZ3gtdHJhbnNsYXRlL2NvcmUnXG5pbXBvcnQgeyBOZ3hDdXJyZW5jeU1vZHVsZSB9IGZyb20gXCJuZ3gtY3VycmVuY3lcIlxuaW1wb3J0IHsgSW9uUHJvZHVjdENhcmRDb21wb25lbnQgfSBmcm9tICcuL2lvbi1wcm9kdWN0LWNhcmQuY29tcG9uZW50J1xuaW1wb3J0IHsgSW9uUHJvZHVjdENhcmRPcHRpb25zTW9kdWxlIH0gZnJvbSAnLi9vcHRpb25zL2lvbi1wcm9kdWN0LWNhcmQtb3B0aW9ucy5tb2R1bGUnXG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgICAgIElvbmljTW9kdWxlLFxuICAgICAgICBUcmFuc2xhdGVNb2R1bGUsXG4gICAgICAgIE5neEN1cnJlbmN5TW9kdWxlLFxuICAgICAgICBJb25Qcm9kdWN0Q2FyZE9wdGlvbnNNb2R1bGVcbiAgICBdLFxuICAgIGRlY2xhcmF0aW9uczogW0lvblByb2R1Y3RDYXJkQ29tcG9uZW50XSxcbiAgICBleHBvcnRzOiBbSW9uUHJvZHVjdENhcmRDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIElvblByb2R1Y3RDYXJkTW9kdWxlIHsgfSJdfQ==

@@ -5,3 +5,3 @@ import { ChangeDetectorRef, Component, ChangeDetectionStrategy, NgModule, ViewEncapsulation, Input, Output, EventEmitter, NgZone } from '@angular/core';

import { TranslateModule } from '@ngx-translate/core';
import { CurrencyMaskModule } from 'ngx-currency-mask';
import { NgxCurrencyModule } from 'ngx-currency';

@@ -204,3 +204,3 @@ /**

encapsulation: ViewEncapsulation.None,
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:2.5rem;height:2.5rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:3rem;height:3rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
}] }

@@ -240,3 +240,3 @@ ];

TranslateModule,
CurrencyMaskModule,
NgxCurrencyModule,
IonProductCardOptionsModule

@@ -243,0 +243,0 @@ ],

@@ -5,3 +5,3 @@ import { ChangeDetectorRef, Component, ChangeDetectionStrategy, NgModule, ViewEncapsulation, Input, Output, EventEmitter, NgZone } from '@angular/core';

import { TranslateModule } from '@ngx-translate/core';
import { CurrencyMaskModule } from 'ngx-currency-mask';
import { NgxCurrencyModule } from 'ngx-currency';

@@ -239,3 +239,3 @@ /**

encapsulation: ViewEncapsulation.None,
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:2.5rem;height:2.5rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
styles: ["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:3rem;height:3rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]
}] }

@@ -278,3 +278,3 @@ ];

TranslateModule,
CurrencyMaskModule,
NgxCurrencyModule,
IonProductCardOptionsModule

@@ -281,0 +281,0 @@ ],

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"IonProductCardOptionsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":14},{"__symbolic":"reference","module":"ionic-angular","name":"IonicModule","line":13,"character":28},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":13,"character":41}],"entryComponents":[{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"IonProductCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"ion-product-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":20,"character":17},"member":"None"},"template":"<ion-card product *ngIf=\"product && product.information\" [ngClass]=\"{ 'deleted': isDeleted(), 'show-image': options.showPicture, 'discount-product' : product.discountPrice }\">\r\n <ion-card-header product-header color=\"secondary\" *ngIf=\"options.showPicture\" (click)=\"view.emit(product)\">\r\n <section product-name>\r\n <p discount-tag *ngIf=\"options.showDiscountTag && product.discountPrice\">\r\n <span translate=\"promotion\"></span>\r\n </p>\r\n {{ product.information.name }}\r\n <br/>\r\n <section *ngIf=\"options.showProductQuantity\">({{product.quantity}}x)</section>\r\n </section>\r\n <ion-spinner product-spinner *ngIf=\"product.loading\"></ion-spinner>\r\n </ion-card-header>\r\n <ion-card-content no-padding>\r\n <ion-item text-center no-padding>\r\n <article item-left product-picture (click)=\"view.emit(product)\">\r\n <img [src]=\"product.picture\" />\r\n </article>\r\n <form>\r\n <p text-color=\"almost-white\" deleted-tag *ngIf=\"isDeleted()\">\r\n Status:\r\n <span translate=\"deactivated\"></span>\r\n </p>\r\n <p product-info product-price discount *ngIf=\"options.showDiscountPrice && product.discountPrice\">\r\n <span prefix translate=\"by\" *ngIf=\"product.discountPrice\"></span>:\r\n <span price-value>{{ product.discountPrice | currency : 'BRL' }}</span>\r\n </p>\r\n <p product-info product-price *ngIf=\"options.showPrice && product.price\">\r\n <span prefix *ngIf=\"product.discountPrice\">\r\n <span translate=\"from\"></span>:\r\n </span>\r\n <span price-value>{{ product.price | currency : 'BRL' }}</span>\r\n </p>\r\n <ion-row>\r\n <section col [attr.col-6]=\"options.showStockInput\" *ngIf=\"options.showPriceInput\" price-input>\r\n <input name=\"price\" autocomplete=\"off\" autocorrect=\"off\" padding-input type=\"tel\" placeholder=\"Preço\" [(ngModel)]=\"product.price\"\r\n currencyMask [options]=\"CURRENCY_OPTIONS\">\r\n </section>\r\n <section col col-6 *ngIf=\"options.showStockInput\" stock-input>\r\n <input name=\"stock\" autocomplete=\"off\" autocorrect=\"off\" padding-input type=\"tel\" [placeholder]=\"'Estoque (ex: 100)'\" [(ngModel)]=\"product.stock\">\r\n <label text-color=\"almost-white\">\r\n <span translate=\"unities\"></span>\r\n </label>\r\n </section>\r\n </ion-row>\r\n <section *ngIf=\"options.showDiscountPriceInput\" price-input discount-price-input>\r\n <span prefix>\r\n <span translate=\"by\"></span>:\r\n </span>\r\n <input name=\"discount_price\" type=\"tel\" [placeholder]=\"00.00 | currency : 'BRL'\" [(ngModel)]=\"product.discountPrice\" currencyMask\r\n [options]=\"CURRENCY_OPTIONS\">\r\n </section>\r\n </form>\r\n <section item-right *ngIf=\"showQuantityButtons()\">\r\n <div no-padding cart-options>\r\n <button ion-button color=\"danger\" quantity-button *ngIf=\"decrement.observers.length > 0\" (click)=\"decrement.emit(product)\"\r\n [disabled]=\"product.loading || !product.quantity || !(product.quantity > 0)\">\r\n <ion-icon name=\"la-minus\"></ion-icon>\r\n </button>\r\n <ion-icon cart-icon name=\"la-shopping-cart\"></ion-icon>\r\n <button ion-button color=\"balanced\" quantity-button *ngIf=\"increment.observers.length > 0\" (click)=\"increment.emit(product)\"\r\n [disabled]=\"product.loading\">\r\n <ion-icon name=\"la-plus\"></ion-icon>\r\n </button>\r\n <p>{{ getQuantityFor(product) }}</p>\r\n </div>\r\n </section>\r\n <section *ngIf=\"showInventoryOptions()\" inventory-options float-right>\r\n <button type=\"submit\" ion-button round icon unicode color=\"balanced\" *ngIf=\"save.observers.length > 0\" (click)=\"save.emit(product)\"\r\n [disabled]=\"product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)\">\r\n <ion-icon name=\"la-check\"></ion-icon>\r\n </button>\r\n <button type=\"submit\" ion-button round icon add-button color=\"balanced\" *ngIf=\"add.observers.length > 0\" (click)=\"add.emit(product)\"\r\n [disabled]=\"product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)\">\r\n <ion-icon name=\"la-check\"></ion-icon>\r\n </button>\r\n <button type=\"button\" ion-button round icon delete-button remove-button color=\"danger\" *ngIf=\"remove.observers.length > 0\"\r\n (click)=\"remove.emit(product)\" [disabled]=\"product.loading\">\r\n <ion-icon name=\"la-trash\"></ion-icon>\r\n </button>\r\n </section>\r\n \r\n <section item-right *ngIf=\"showCatalogueOptions()\">\r\n <a (click)=\"showOptionsFor($event, product)\" text-color=\"dark\" more-options>\r\n <ion-icon name=\"la-ellipsis-v\"></ion-icon>\r\n </a>\r\n </section>\r\n \r\n <button ion-button clear view-more color=\"positive\" (click)=\"view.emit(product)\" *ngIf=\"view.observers.length > 0\">\r\n <span translate=\"view_more\"></span>\r\n </button>\r\n </ion-item>\r\n </ion-card-content>\r\n</ion-card>","styles":["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:2.5rem;height:2.5rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]}]}],"members":{"product":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3},"arguments":["product"]}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3},"arguments":["options"]}]}],"add":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":28,"character":3}}]}],"save":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":30,"character":3}}]}],"view":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"edit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":34,"character":3}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":36,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"increment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"decrement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":47,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":48,"character":27},{"__symbolic":"reference","module":"ionic-angular","name":"PopoverController","line":49,"character":24}]}],"ngOnInit":[{"__symbolic":"method"}],"showItemLeft":[{"__symbolic":"method"}],"getQuantityFor":[{"__symbolic":"method"}],"showQuantityButtons":[{"__symbolic":"method"}],"showInventoryOptions":[{"__symbolic":"method"}],"showCatalogueOptions":[{"__symbolic":"method"}],"isDeleted":[{"__symbolic":"method"}],"showOptionsFor":[{"__symbolic":"method"}]}},"IonProductCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":8},{"__symbolic":"reference","module":"ionic-angular","name":"IonicModule","line":17,"character":8},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":18,"character":8},{"__symbolic":"reference","module":"ngx-currency-mask","name":"CurrencyMaskModule","line":19,"character":8},{"__symbolic":"reference","name":"IonProductCardOptionsModule"}],"declarations":[{"__symbolic":"reference","name":"IonProductCardComponent"}],"exports":[{"__symbolic":"reference","name":"IonProductCardComponent"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":14,"character":21},"member":"Default"},"template":"<button ion-item popover-item *ngIf=\"hasListeners(events.edit)\" (click)=\"emit('edit'); close();\" [disabled]=\"product.showSpinner\">\n <span translate=\"edit\"></span>\n</button>\n<button ion-item popover-item *ngIf=\"!isDeleted() && hasListeners(events.deactivate)\" (click)=\"emit('deactivate'); close();\" [disabled]=\"product.showSpinner\">\n <span translate=\"deactivate\"></span>\n</button>\n<button ion-item popover-item *ngIf=\"isDeleted() && hasListeners(events.activate)\" (click)=\"emit('activate'); close();\" [disabled]=\"product.showSpinner\">\n <span translate=\"activate\"></span>\n</button>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ionic-angular","name":"ViewController","line":22,"character":33},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams","line":23,"character":26},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":24,"character":31}]}],"isDeleted":[{"__symbolic":"method"}],"emit":[{"__symbolic":"method"}],"hasListeners":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}]}}},"origins":{"IonProductCardOptionsModule":"./lib/options/ion-product-card-options.module","IonProductCardComponent":"./lib/ion-product-card.component","IonProductCardModule":"./lib/ion-product-card.module","ɵa":"./lib/options/ion-product-card-options.component"},"importAs":"ion-product-card"}
{"__symbolic":"module","version":4,"metadata":{"IonProductCardOptionsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":12,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":14},{"__symbolic":"reference","module":"ionic-angular","name":"IonicModule","line":13,"character":28},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":13,"character":41}],"entryComponents":[{"__symbolic":"reference","name":"ɵa"}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"IonProductCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":16,"character":1},"arguments":[{"selector":"ion-product-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":20,"character":17},"member":"None"},"template":"<ion-card product *ngIf=\"product && product.information\" [ngClass]=\"{ 'deleted': isDeleted(), 'show-image': options.showPicture, 'discount-product' : product.discountPrice }\">\r\n <ion-card-header product-header color=\"secondary\" *ngIf=\"options.showPicture\" (click)=\"view.emit(product)\">\r\n <section product-name>\r\n <p discount-tag *ngIf=\"options.showDiscountTag && product.discountPrice\">\r\n <span translate=\"promotion\"></span>\r\n </p>\r\n {{ product.information.name }}\r\n <br/>\r\n <section *ngIf=\"options.showProductQuantity\">({{product.quantity}}x)</section>\r\n </section>\r\n <ion-spinner product-spinner *ngIf=\"product.loading\"></ion-spinner>\r\n </ion-card-header>\r\n <ion-card-content no-padding>\r\n <ion-item text-center no-padding>\r\n <article item-left product-picture (click)=\"view.emit(product)\">\r\n <img [src]=\"product.picture\" />\r\n </article>\r\n <form>\r\n <p text-color=\"almost-white\" deleted-tag *ngIf=\"isDeleted()\">\r\n Status:\r\n <span translate=\"deactivated\"></span>\r\n </p>\r\n <p product-info product-price discount *ngIf=\"options.showDiscountPrice && product.discountPrice\">\r\n <span prefix translate=\"by\" *ngIf=\"product.discountPrice\"></span>:\r\n <span price-value>{{ product.discountPrice | currency : 'BRL' }}</span>\r\n </p>\r\n <p product-info product-price *ngIf=\"options.showPrice && product.price\">\r\n <span prefix *ngIf=\"product.discountPrice\">\r\n <span translate=\"from\"></span>:\r\n </span>\r\n <span price-value>{{ product.price | currency : 'BRL' }}</span>\r\n </p>\r\n <ion-row>\r\n <section col [attr.col-6]=\"options.showStockInput\" *ngIf=\"options.showPriceInput\" price-input>\r\n <input name=\"price\" autocomplete=\"off\" autocorrect=\"off\" padding-input type=\"tel\" placeholder=\"Preço\" [(ngModel)]=\"product.price\"\r\n currencyMask [options]=\"CURRENCY_OPTIONS\">\r\n </section>\r\n <section col col-6 *ngIf=\"options.showStockInput\" stock-input>\r\n <input name=\"stock\" autocomplete=\"off\" autocorrect=\"off\" padding-input type=\"tel\" [placeholder]=\"'Estoque (ex: 100)'\" [(ngModel)]=\"product.stock\">\r\n <label text-color=\"almost-white\">\r\n <span translate=\"unities\"></span>\r\n </label>\r\n </section>\r\n </ion-row>\r\n <section *ngIf=\"options.showDiscountPriceInput\" price-input discount-price-input>\r\n <span prefix>\r\n <span translate=\"by\"></span>:\r\n </span>\r\n <input name=\"discount_price\" type=\"tel\" [placeholder]=\"00.00 | currency : 'BRL'\" [(ngModel)]=\"product.discountPrice\" currencyMask\r\n [options]=\"CURRENCY_OPTIONS\">\r\n </section>\r\n </form>\r\n <section item-right *ngIf=\"showQuantityButtons()\">\r\n <div no-padding cart-options>\r\n <button ion-button color=\"danger\" quantity-button *ngIf=\"decrement.observers.length > 0\" (click)=\"decrement.emit(product)\"\r\n [disabled]=\"product.loading || !product.quantity || !(product.quantity > 0)\">\r\n <ion-icon name=\"la-minus\"></ion-icon>\r\n </button>\r\n <ion-icon cart-icon name=\"la-shopping-cart\"></ion-icon>\r\n <button ion-button color=\"balanced\" quantity-button *ngIf=\"increment.observers.length > 0\" (click)=\"increment.emit(product)\"\r\n [disabled]=\"product.loading\">\r\n <ion-icon name=\"la-plus\"></ion-icon>\r\n </button>\r\n <p>{{ getQuantityFor(product) }}</p>\r\n </div>\r\n </section>\r\n <section *ngIf=\"showInventoryOptions()\" inventory-options float-right>\r\n <button type=\"submit\" ion-button round icon unicode color=\"balanced\" *ngIf=\"save.observers.length > 0\" (click)=\"save.emit(product)\"\r\n [disabled]=\"product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)\">\r\n <ion-icon name=\"la-check\"></ion-icon>\r\n </button>\r\n <button type=\"submit\" ion-button round icon add-button color=\"balanced\" *ngIf=\"add.observers.length > 0\" (click)=\"add.emit(product)\"\r\n [disabled]=\"product.loading || !product.price || (product.discountPrice ? product.price < product.discountPrice : false)\">\r\n <ion-icon name=\"la-check\"></ion-icon>\r\n </button>\r\n <button type=\"button\" ion-button round icon delete-button remove-button color=\"danger\" *ngIf=\"remove.observers.length > 0\"\r\n (click)=\"remove.emit(product)\" [disabled]=\"product.loading\">\r\n <ion-icon name=\"la-trash\"></ion-icon>\r\n </button>\r\n </section>\r\n \r\n <section item-right *ngIf=\"showCatalogueOptions()\">\r\n <a (click)=\"showOptionsFor($event, product)\" text-color=\"dark\" more-options>\r\n <ion-icon name=\"la-ellipsis-v\"></ion-icon>\r\n </a>\r\n </section>\r\n \r\n <button ion-button clear view-more color=\"positive\" (click)=\"view.emit(product)\" *ngIf=\"view.observers.length > 0\">\r\n <span translate=\"view_more\"></span>\r\n </button>\r\n </ion-item>\r\n </ion-card-content>\r\n</ion-card>","styles":["ion-product-card [product]{background-color:#fff;display:block;margin-bottom:0;min-height:100px;padding:0;height:100%}ion-product-card [product].deleted [deleted-tag],ion-product-card [product].deleted [product-image],ion-product-card [product].deleted [product-name]{opacity:.4}ion-product-card [product] ion-card-header[product-header]{padding-top:1rem;margin-bottom:.5rem}ion-product-card [product] [product-picture] img{margin-left:.5rem;-o-object-fit:contain;object-fit:contain;height:9rem;width:9rem;border-radius:.4rem}ion-product-card [product] ion-label{margin-top:0;margin-bottom:1rem}ion-product-card [product] ion-item.item .item-inner{border-bottom:none}ion-product-card [product] [item-left]{margin-top:0}ion-product-card [product] img[product-image]{height:9rem;width:9rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;border-radius:50%;margin-left:1rem;padding:.5rem}ion-product-card [product] [deleted-tag]{font-size:1rem}ion-product-card [product] [product-name]{font-size:1.2rem;white-space:normal;text-align:center;padding:.4rem .4rem 0;display:flex;justify-content:center;align-items:center;font-weight:700;text-transform:uppercase}ion-product-card [product] [product-description],ion-product-card [product] [product-info]{color:#f4f4f4;font-size:1.3rem;margin-top:.5rem;margin-bottom:.5rem}ion-product-card [product] [product-price]{color:#4bc46e;font-size:1.4rem;vertical-align:baseline;text-align:center;margin-bottom:0}ion-product-card [product].discount-product [product-price]{text-decoration:line-through;margin-top:.5rem;font-size:1.2rem}ion-product-card [product].discount-product [product-price][discount]{text-decoration:none;font-size:1.5rem;font-weight:700}ion-product-card [product] [padding-input]{padding-top:1rem;padding-bottom:0}ion-product-card [product] [stock-input] input{width:95%;text-align:center;color:#1e88e5;border-bottom:.2rem solid #efefef;font-size:1rem}ion-product-card [product] [stock-input] label{text-transform:uppercase;display:block;font-size:1rem;opacity:.8;padding-top:.4rem}ion-product-card [product] [price-input]{color:#f4f4f4;text-align:center;display:inline-block}ion-product-card [product] [price-input] input{text-align:center!important;color:#4bc46e;margin:auto -2rem auto auto;max-width:90%;font-size:1.2rem;border-bottom:.2rem solid #ebebeb}ion-product-card [product] [price-input] input:focus{border-bottom-color:#4bc46e}ion-product-card [product] [price-input][discount-price-input]{margin-top:.5rem;margin-bottom:1rem;margin-left:-4.5rem;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] [prefix]{color:#888;font-size:1.2rem}ion-product-card [product] [price-input][discount-price-input] input{padding-top:.5rem;color:#f74444;font-size:1.6rem;padding-bottom:.5rem}ion-product-card [product] [price-input][discount-price-input] input:focus{border-bottom-color:#f74444}ion-product-card [product] [inventory-options]{display:inline-block;margin-top:1.5rem}ion-product-card [product] [catalogue-options] button{width:4rem;height:4rem;padding-left:.2rem}ion-product-card [product] [catalogue-options] button ion-icon{font-size:1.6rem}ion-product-card [product] [cart-options] [cart-icon]{color:#bbb;padding-left:0;display:inline-block;vertical-align:middle;margin-top:-1.5rem}ion-product-card [product] [cart-options] [cart-icon]::before{font-size:4.5rem}ion-product-card [product] [cart-options] [quantity-button]{border-radius:50%;width:3rem;height:3rem}ion-product-card [product] [cart-options] [quantity-button] ion-icon{padding-left:0}ion-product-card [product] [cart-options] [quantity-button] ion-icon::before{font-size:1.4rem}ion-product-card [product] [cart-options] p{text-align:center;color:#999;font-size:1.2rem}ion-product-card [product] [more-options]{opacity:1!important}ion-product-card [product] [delete-button]{position:absolute;left:1rem}ion-product-card [product] [view-more]{text-align:center;display:block;margin:auto;padding-top:.8rem;font-size:1.2rem}[product-spinner]{position:absolute;right:2rem;bottom:.5rem;z-index:9999;width:2.2rem}[product-spinner] circle{stroke:#fff!important}@media (min-width:700px){[product]{border-right:1px solid #fafafa}}"]}]}],"members":{"product":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3},"arguments":["product"]}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3},"arguments":["options"]}]}],"add":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":28,"character":3}}]}],"save":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":30,"character":3}}]}],"view":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":3}}]}],"edit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":34,"character":3}}]}],"remove":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":36,"character":3}}]}],"deactivate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"activate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"increment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"decrement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":47,"character":17},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":48,"character":27},{"__symbolic":"reference","module":"ionic-angular","name":"PopoverController","line":49,"character":24}]}],"ngOnInit":[{"__symbolic":"method"}],"showItemLeft":[{"__symbolic":"method"}],"getQuantityFor":[{"__symbolic":"method"}],"showQuantityButtons":[{"__symbolic":"method"}],"showInventoryOptions":[{"__symbolic":"method"}],"showCatalogueOptions":[{"__symbolic":"method"}],"isDeleted":[{"__symbolic":"method"}],"showOptionsFor":[{"__symbolic":"method"}]}},"IonProductCardModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":14,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":16,"character":8},{"__symbolic":"reference","module":"ionic-angular","name":"IonicModule","line":17,"character":8},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":18,"character":8},{"__symbolic":"reference","module":"ngx-currency","name":"NgxCurrencyModule","line":19,"character":8},{"__symbolic":"reference","name":"IonProductCardOptionsModule"}],"declarations":[{"__symbolic":"reference","name":"IonProductCardComponent"}],"exports":[{"__symbolic":"reference","name":"IonProductCardComponent"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":12,"character":1},"arguments":[{"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":14,"character":21},"member":"Default"},"template":"<button ion-item popover-item *ngIf=\"hasListeners(events.edit)\" (click)=\"emit('edit'); close();\" [disabled]=\"product.showSpinner\">\n <span translate=\"edit\"></span>\n</button>\n<button ion-item popover-item *ngIf=\"!isDeleted() && hasListeners(events.deactivate)\" (click)=\"emit('deactivate'); close();\" [disabled]=\"product.showSpinner\">\n <span translate=\"deactivate\"></span>\n</button>\n<button ion-item popover-item *ngIf=\"isDeleted() && hasListeners(events.activate)\" (click)=\"emit('activate'); close();\" [disabled]=\"product.showSpinner\">\n <span translate=\"activate\"></span>\n</button>"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"ionic-angular","name":"ViewController","line":22,"character":33},{"__symbolic":"reference","module":"ionic-angular","name":"NavParams","line":23,"character":26},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":24,"character":31}]}],"isDeleted":[{"__symbolic":"method"}],"emit":[{"__symbolic":"method"}],"hasListeners":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}]}}},"origins":{"IonProductCardOptionsModule":"./lib/options/ion-product-card-options.module","IonProductCardComponent":"./lib/ion-product-card.component","IonProductCardModule":"./lib/ion-product-card.module","ɵa":"./lib/options/ion-product-card-options.component"},"importAs":"ion-product-card"}
{
"name": "ion-product-card",
"version": "1.0.0-rc24",
"version": "1.0.0-rc28",
"description": "Simple product card for Ionic v2+.",

@@ -31,3 +31,3 @@ "main": "bundles/ion-product-card.umd.js",

"ionic-angular": "^3.9.2",
"ngx-currency-mask": "^4.3.2",
"ngx-currency": "^1.5.1",
"tslib": "^1.9.0"

@@ -34,0 +34,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc