crmbonus-component-wake 2.1.32-ngrok → 2.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{build.payload.helper-b93f7ea5.js → build.payload.helper-cfd3173e.js} +4 -1
- package/dist/cjs/build.payload.helper-cfd3173e.js.map +1 -0
- package/dist/cjs/{cart.helper-b08a12b2.js → cart.helper-701ea6b2.js} +4 -2
- package/dist/cjs/cart.helper-701ea6b2.js.map +1 -0
- package/dist/cjs/crm-bonus-2.cjs.entry.js +1 -1
- package/dist/cjs/crm-bonus-note.cjs.entry.js +2 -2
- package/dist/cjs/crm-bonus.cjs.entry.js +2 -2
- package/dist/cjs/crm-giftback-form.cjs.entry.js +1 -1
- package/dist/cjs/crm-tooltip_5.cjs.entry.js +1 -1
- package/dist/cjs/pedido-finalizado.cjs.entry.js +1 -1
- package/dist/collection/dto/validate.pin.bonus.js.map +1 -1
- package/dist/collection/helpers/build.payload.helper.js +3 -0
- package/dist/collection/helpers/build.payload.helper.js.map +1 -1
- package/dist/components/crm-bonus-2.js +1 -1
- package/dist/components/crm-bonus-note.js +2 -2
- package/dist/components/crm-bonus.js +4 -4
- package/dist/components/crm-giftback-form.js +1 -1
- package/dist/components/giftback-info.js +1 -1
- package/dist/components/{p-c90ea2e9.js → p-417b4f7f.js} +4 -2
- package/dist/{esm/cart.helper-7101c047.js.map → components/p-417b4f7f.js.map} +1 -1
- package/dist/components/{p-028f43a1.js → p-488a119c.js} +2 -2
- package/dist/components/{p-028f43a1.js.map → p-488a119c.js.map} +1 -1
- package/dist/components/{p-4c7e066c.js → p-b0ef2c0b.js} +4 -1
- package/dist/components/p-b0ef2c0b.js.map +1 -0
- package/dist/components/{p-0bb6b0e5.js → p-e2a6a4cf.js} +3 -3
- package/dist/components/{p-0bb6b0e5.js.map → p-e2a6a4cf.js.map} +1 -1
- package/dist/components/pedido-finalizado.js +1 -1
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +1 -1
- package/dist/crmbonus-component-wake/{p-9b7bd1e1.entry.js → p-17b97fd2.entry.js} +2 -2
- package/dist/crmbonus-component-wake/{p-3e87e176.entry.js → p-3a4d7622.entry.js} +2 -2
- package/dist/crmbonus-component-wake/{p-558202ef.entry.js → p-59033825.entry.js} +2 -2
- package/dist/crmbonus-component-wake/{p-4ed412c2.entry.js → p-87cb8341.entry.js} +2 -2
- package/dist/crmbonus-component-wake/p-b0ef2c0b.js +2 -0
- package/dist/crmbonus-component-wake/p-b0ef2c0b.js.map +1 -0
- package/dist/crmbonus-component-wake/{p-c74567c6.js → p-b5da6ce1.js} +2 -2
- package/dist/crmbonus-component-wake/{p-c74567c6.js.map → p-b5da6ce1.js.map} +1 -1
- package/dist/crmbonus-component-wake/{p-f37f3f3f.entry.js → p-e992d997.entry.js} +2 -2
- package/dist/crmbonus-component-wake/{p-a0d73d77.entry.js → p-eace8d0e.entry.js} +2 -2
- package/dist/env.js +3 -1
- package/dist/env.js.map +1 -1
- package/dist/esm/{build.payload.helper-caf0a82b.js → build.payload.helper-699a48ca.js} +4 -1
- package/dist/esm/build.payload.helper-699a48ca.js.map +1 -0
- package/dist/esm/{cart.helper-7101c047.js → cart.helper-4f1913ce.js} +4 -2
- package/dist/esm/cart.helper-4f1913ce.js.map +1 -0
- package/dist/esm/crm-bonus-2.entry.js +1 -1
- package/dist/esm/crm-bonus-note.entry.js +2 -2
- package/dist/esm/crm-bonus.entry.js +2 -2
- package/dist/esm/crm-giftback-form.entry.js +1 -1
- package/dist/esm/crm-tooltip_5.entry.js +1 -1
- package/dist/esm/pedido-finalizado.entry.js +1 -1
- package/dist/types/Users/Darlison/Projects/Bycoders/crmbonus/crmbonus-component/.stencil/env.d.ts +1 -1
- package/dist/types/dto/validate.pin.bonus.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/build.payload.helper-b93f7ea5.js.map +0 -1
- package/dist/cjs/cart.helper-b08a12b2.js.map +0 -1
- package/dist/components/p-4c7e066c.js.map +0 -1
- package/dist/components/p-c90ea2e9.js.map +0 -1
- package/dist/crmbonus-component-wake/p-4c7e066c.js +0 -2
- package/dist/crmbonus-component-wake/p-4c7e066c.js.map +0 -1
- package/dist/esm/build.payload.helper-caf0a82b.js.map +0 -1
- /package/dist/crmbonus-component-wake/{p-9b7bd1e1.entry.js.map → p-17b97fd2.entry.js.map} +0 -0
- /package/dist/crmbonus-component-wake/{p-3e87e176.entry.js.map → p-3a4d7622.entry.js.map} +0 -0
- /package/dist/crmbonus-component-wake/{p-558202ef.entry.js.map → p-59033825.entry.js.map} +0 -0
- /package/dist/crmbonus-component-wake/{p-4ed412c2.entry.js.map → p-87cb8341.entry.js.map} +0 -0
- /package/dist/crmbonus-component-wake/{p-f37f3f3f.entry.js.map → p-e992d997.entry.js.map} +0 -0
- /package/dist/crmbonus-component-wake/{p-a0d73d77.entry.js.map → p-eace8d0e.entry.js.map} +0 -0
@@ -3,9 +3,9 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-a7537457.js');
|
6
|
-
const cart_helper = require('./cart.helper-
|
6
|
+
const cart_helper = require('./cart.helper-701ea6b2.js');
|
7
7
|
const i18n = require('./i18n-1ce6cb94.js');
|
8
|
-
const build_payload_helper = require('./build.payload.helper-
|
8
|
+
const build_payload_helper = require('./build.payload.helper-cfd3173e.js');
|
9
9
|
|
10
10
|
const crmBonusCss = ".container-button{cursor:pointer;padding:5px 5px 5px 14px;}.section-crm{border:1px solid #dbd4d4;text-align:-webkit-center;margin-bottom:20px}.section-cart-crm{margin-top:10px}.section-cart-crm p{padding:0;margin:0px 0px 0px 15px}.button{top:50%;background-color:#6c6c7e;color:#fff;border:none;padding:15px;min-height:30px;min-width:120px;cursor:pointer;margin-left:10px;height:70px}.form-container{width:97%;display:flex;justify-content:space-around}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:0px}.form-container .btnCrm{background:#00162e;border-color:#00162e;width:30%;color:#fff}.message-alert{color:#df4d4d;margin-top:5px}";
|
11
11
|
const CrmBonusStyle0 = crmBonusCss;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-a7537457.js');
|
6
|
-
const cart_helper = require('./cart.helper-
|
6
|
+
const cart_helper = require('./cart.helper-701ea6b2.js');
|
7
7
|
const i18n = require('./i18n-1ce6cb94.js');
|
8
8
|
const info_config_helper = require('./info.config.helper-e35e6e20.js');
|
9
9
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
const index = require('./index-a7537457.js');
|
6
6
|
const i18n = require('./i18n-1ce6cb94.js');
|
7
|
-
const cart_helper = require('./cart.helper-
|
7
|
+
const cart_helper = require('./cart.helper-701ea6b2.js');
|
8
8
|
const utils = require('./utils-5d59acb1.js');
|
9
9
|
|
10
10
|
const infoCircleSvgrepoComSvg = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxwYXRoIGQ9Ik0xMiAxNy43NUMxMi40MTQyIDE3Ljc1IDEyLjc1IDE3LjQxNDIgMTIuNzUgMTdWMTFDMTIuNzUgMTAuNTg1OCAxMi40MTQyIDEwLjI1IDEyIDEwLjI1QzExLjU4NTggMTAuMjUgMTEuMjUgMTAuNTg1OCAxMS4yNSAxMVYxN0MxMS4yNSAxNy40MTQyIDExLjU4NTggMTcuNzUgMTIgMTcuNzVaIiBmaWxsPSIjMUMyNzRDIi8+DQo8cGF0aCBkPSJNMTIgN0MxMi41NTIzIDcgMTMgNy40NDc3MiAxMyA4QzEzIDguNTUyMjggMTIuNTUyMyA5IDEyIDlDMTEuNDQ3NyA5IDExIDguNTUyMjggMTEgOEMxMSA3LjQ0NzcyIDExLjQ0NzcgNyAxMiA3WiIgZmlsbD0iIzFDMjc0QyIvPg0KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjI1IDEyQzEuMjUgNi4wNjI5NCA2LjA2Mjk0IDEuMjUgMTIgMS4yNUMxNy45MzcxIDEuMjUgMjIuNzUgNi4wNjI5NCAyMi43NSAxMkMyMi43NSAxNy45MzcxIDE3LjkzNzEgMjIuNzUgMTIgMjIuNzVDNi4wNjI5NCAyMi43NSAxLjI1IDE3LjkzNzEgMS4yNSAxMlpNMTIgMi43NUM2Ljg5MTM3IDIuNzUgMi43NSA2Ljg5MTM3IDIuNzUgMTJDMi43NSAxNy4xMDg2IDYuODkxMzcgMjEuMjUgMTIgMjEuMjVDMTcuMTA4NiAyMS4yNSAyMS4yNSAxNy4xMDg2IDIxLjI1IDEyQzIxLjI1IDYuODkxMzcgMTcuMTA4NiAyLjc1IDEyIDIuNzVaIiBmaWxsPSIjMUMyNzRDIi8+DQo8L3N2Zz4=';
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-a7537457.js');
|
6
|
-
const cart_helper = require('./cart.helper-
|
6
|
+
const cart_helper = require('./cart.helper-701ea6b2.js');
|
7
7
|
|
8
8
|
const Pedido = class {
|
9
9
|
constructor(hostRef) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validate.pin.bonus.js","sourceRoot":"","sources":["../../../src/dto/validate.pin.bonus.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"validate.pin.bonus.js","sourceRoot":"","sources":["../../../src/dto/validate.pin.bonus.ts"],"names":[],"mappings":"AAUA,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,iCAAc,CAAA;IACd,uCAAoB,CAAA;IACpB,yCAAsB,CAAA;IACtB,gCAAa,CAAA;AACjB,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B","sourcesContent":["export interface IProduct {\r\n productVariantId: string;\r\n sku: string;\r\n value: number;\r\n originalValue: number;\r\n quantity: number;\r\n discount: number;\r\n promotion_product: boolean;\r\n}\r\n\r\nexport enum AjustesTipoEnum {\r\n P = \"Promocao\",\r\n CC = \"ContaCorrente\",\r\n PP = \"PromocaoProduto\",\r\n F = \"Formula\"\r\n}\r\n\r\nexport interface IAjustes {\r\n Tipo: AjustesTipoEnum;\r\n Valor: number;\r\n}\r\n\r\nexport interface IUser {\r\n id: number;\r\n}\r\n\r\nexport interface IStore {\r\n name: string;\r\n}\r\n\r\nexport interface IProductWake {\r\n ProdutoVarianteId: number;\r\n SKU: string;\r\n PrecoPor: number;\r\n PrecoDe: number;\r\n Quantidade: number;\r\n Ajustes: IAjustes[];\r\n}\r\n\r\nexport interface ICustomer {\r\n birthDate: string;\r\n document: string;\r\n name: string;\r\n phone: string;\r\n}\r\n\r\nexport interface IProccesPinBonusDto {\r\n storeName: string;\r\n name: string;\r\n checkoutId: string;\r\n checkoutProducts: Array<IProduct>;\r\n storeId: string;\r\n userId: string;\r\n cellphone: number;\r\n pin: string;\r\n\r\n}\r\n\r\nexport interface IBonus {\r\n hasBonus: boolean;\r\n bonusBalance: number;\r\n totalBonus: number;\r\n minimumPurchase: number;\r\n bonusIds: string;\r\n firstValidityDate: string\r\n history: [\r\n {\r\n validityStart: string;\r\n validityEnd: string;\r\n value: number\r\n },\r\n {\r\n validityStart: string;\r\n validityEnd: string\r\n value: number\r\n }\r\n ]\r\n storeId: number;\r\n userId: number;\r\n cartId: string\r\n calculatedValue: number;\r\n totalValue: number\r\n}\r\n\r\n\r\nexport interface IReserveDTO {\r\n storeName: string;\r\n cartId: string;\r\n grossValue: number;\r\n redeemedBonus: number;\r\n ticket: string;\r\n storeId: string;\r\n userId: number;\r\n}"]}
|
@@ -7,6 +7,8 @@ export function buildProductsByWake(productsWake = []) {
|
|
7
7
|
var value = (pw.PrecoDe * pw.Quantidade);
|
8
8
|
var originalValue = (pw.PrecoDe * pw.Quantidade);
|
9
9
|
var discounts_value = (discounts * -1);
|
10
|
+
const existsPromotionProduct = pw.Ajustes.filter(adj => [AjustesTipoEnum.PP].includes(adj.Tipo));
|
11
|
+
const promotion_product = (existsPromotionProduct.length > 0);
|
10
12
|
products.push({
|
11
13
|
sku: pw.SKU,
|
12
14
|
value: value,
|
@@ -14,6 +16,7 @@ export function buildProductsByWake(productsWake = []) {
|
|
14
16
|
productVariantId: pw.ProdutoVarianteId.toString(),
|
15
17
|
quantity: pw.Quantidade,
|
16
18
|
discount: value < discounts_value ? value : discounts_value,
|
19
|
+
promotion_product
|
17
20
|
});
|
18
21
|
}
|
19
22
|
return products;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"build.payload.helper.js","sourceRoot":"","sources":["../../../src/helpers/build.payload.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAoC,MAAM,2BAA2B,CAAC;AAE9F,MAAM,UAAU,mBAAmB,CAAC,eAAoC,EAAE;IAEtE,MAAM,QAAQ,GAAoB,EAAE,CAAC;IAErC,KAAM,MAAM,EAAE,IAAI,YAAY,EAAG,CAAC;QAC9B,IAAI,SAAS,GAAG,WAAW,CAAC,EAAE,CAAC,OAAO,CAAC,CAAA;QACvC,0DAA0D;QAE1D,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC;QAEjD,IAAI,eAAe,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAA;QAEtC,QAAQ,CAAC,IAAI,CACT;YACI,GAAG,EAAE,EAAE,CAAC,GAAG;YACX,KAAK,EAAE,KAAK;YACZ,aAAa,EAAE,aAAa;YAC5B,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,QAAQ,EAAE;YACjD,QAAQ,EAAE,EAAE,CAAC,UAAU;YACvB,QAAQ,EAAE,KAAK,GAAG,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe;
|
1
|
+
{"version":3,"file":"build.payload.helper.js","sourceRoot":"","sources":["../../../src/helpers/build.payload.helper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAoC,MAAM,2BAA2B,CAAC;AAE9F,MAAM,UAAU,mBAAmB,CAAC,eAAoC,EAAE;IAEtE,MAAM,QAAQ,GAAoB,EAAE,CAAC;IAErC,KAAM,MAAM,EAAE,IAAI,YAAY,EAAG,CAAC;QAC9B,IAAI,SAAS,GAAG,WAAW,CAAC,EAAE,CAAC,OAAO,CAAC,CAAA;QACvC,0DAA0D;QAE1D,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,aAAa,GAAG,CAAC,EAAE,CAAC,OAAO,GAAG,EAAE,CAAC,UAAU,CAAC,CAAC;QAEjD,IAAI,eAAe,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAA;QAEtC,MAAM,sBAAsB,GAAG,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAA;QAEhG,MAAM,iBAAiB,GAAG,CAAC,sBAAsB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAA;QAE7D,QAAQ,CAAC,IAAI,CACT;YACI,GAAG,EAAE,EAAE,CAAC,GAAG;YACX,KAAK,EAAE,KAAK;YACZ,aAAa,EAAE,aAAa;YAC5B,gBAAgB,EAAE,EAAE,CAAC,iBAAiB,CAAC,QAAQ,EAAE;YACjD,QAAQ,EAAE,EAAE,CAAC,UAAU;YACvB,QAAQ,EAAE,KAAK,GAAG,eAAe,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe;YAC3D,iBAAiB;SACpB,CACJ,CAAA;IACL,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,SAAS,WAAW,CAAC,UAAsB,EAAE;IAEzC,IAAI,SAAS,GAAG,CAAC,CAAC;IAElB,KAAI,MAAM,QAAQ,IAAI,OAAO,EAAE,CAAC;QAC5B,IAAG,CAAC,eAAe,CAAC,CAAC,EAAE,eAAe,CAAC,EAAE,EAAE,eAAe,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;YACrF,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC;QAChC,CAAC;IACL,CAAC;IAED,OAAO,SAAS,CAAC;AACrB,CAAC;AAED,0DAA0D;AAE1D,yBAAyB;AAEzB,uCAAuC;AACvC,4DAA4D;AAC5D,kDAAkD;AAClD,YAAY;AACZ,QAAQ;AAER,wBAAwB;AACxB,IAAI","sourcesContent":["import { AjustesTipoEnum, IAjustes, IProduct, IProductWake } from \"../dto/validate.pin.bonus\";\r\n\r\nexport function buildProductsByWake(productsWake: Array<IProductWake> = []): Array<IProduct> {\r\n\r\n const products: Array<IProduct> = [];\r\n\r\n for ( const pw of productsWake ) {\r\n let discounts = getDiscount(pw.Ajustes)\r\n // let discounts_formula = getDiscountFormula(pw.Ajustes);\r\n\r\n var value = (pw.PrecoDe * pw.Quantidade);\r\n var originalValue = (pw.PrecoDe * pw.Quantidade);\r\n\r\n var discounts_value = (discounts * -1)\r\n\r\n const existsPromotionProduct = pw.Ajustes.filter(adj => [AjustesTipoEnum.PP].includes(adj.Tipo))\r\n\r\n const promotion_product = (existsPromotionProduct.length > 0)\r\n\r\n products.push(\r\n {\r\n sku: pw.SKU,\r\n value: value,\r\n originalValue: originalValue,\r\n productVariantId: pw.ProdutoVarianteId.toString(),\r\n quantity: pw.Quantidade,\r\n discount: value < discounts_value ? value : discounts_value,\r\n promotion_product\r\n }\r\n )\r\n }\r\n\r\n return products;\r\n}\r\n\r\nfunction getDiscount(ajustes: IAjustes[] = []) {\r\n \r\n let discounts = 0;\r\n \r\n for(const discount of ajustes) {\r\n if([AjustesTipoEnum.P, AjustesTipoEnum.CC, AjustesTipoEnum.PP].includes(discount.Tipo)) {\r\n discounts += discount.Valor;\r\n }\r\n }\r\n\r\n return discounts;\r\n}\r\n\r\n// function getDiscountFormula(ajustes: IAjustes[] = []) {\r\n \r\n// let discounts = 0;\r\n \r\n// for(const discount of ajustes) {\r\n// if([AjustesTipoEnum.F].includes(discount.Tipo)) {\r\n// discounts += (discount.Valor * -1);\r\n// }\r\n// }\r\n\r\n// return discounts;\r\n// }"]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-9d950d25.js';
|
2
|
-
import { g as getCart } from './p-
|
2
|
+
import { g as getCart } from './p-417b4f7f.js';
|
3
3
|
import { d as defineCustomElement$2 } from './p-c5be72a0.js';
|
4
4
|
|
5
5
|
const crmBonusCss = ".container-button{cursor:pointer;padding:5px 5px 5px 14px;}.section-crm{border:1px solid #dbd4d4;text-align:-webkit-center;margin-bottom:20px}.section-cart-crm{margin-top:10px}.section-cart-crm p{padding:0;margin:0px 0px 0px 15px}.button{top:50%;background-color:#6c6c7e;color:#fff;border:none;padding:15px;min-height:30px;min-width:120px;cursor:pointer;margin-left:10px;height:70px}.form-container{width:97%;display:flex;justify-content:space-around}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:0px}.form-container .btnCrm{background:#00162e;border-color:#00162e;width:30%;color:#fff}.message-alert{color:#df4d4d;margin-top:5px}";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-9d950d25.js';
|
2
2
|
import { g as getInfoCustomization } from './p-1b441909.js';
|
3
|
-
import { C as CrmBonusService, b as CartWake, g as getCart, a as getInfoBonusByCartIdAndStoreName, c as getKeyReserveByCartId } from './p-
|
3
|
+
import { C as CrmBonusService, b as CartWake, g as getCart, a as getInfoBonusByCartIdAndStoreName, c as getKeyReserveByCartId } from './p-417b4f7f.js';
|
4
4
|
import { i as instance } from './p-c53241bf.js';
|
5
5
|
import { d as defaultStyles } from './p-ecc51430.js';
|
6
|
-
import { b as buildProductsByWake } from './p-
|
6
|
+
import { b as buildProductsByWake } from './p-b0ef2c0b.js';
|
7
7
|
import { d as defineCustomElement$2 } from './p-c5be72a0.js';
|
8
8
|
|
9
9
|
const moneyDollarsSvgrepoComSvg = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29tLCBHZW5lcmF0b3I6IFNWRyBSZXBvIE1peGVyIFRvb2xzIC0tPg0KPHN2ZyB3aWR0aD0iODAwcHgiIGhlaWdodD0iODAwcHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxjaXJjbGUgY3g9IjEyIiBjeT0iMTIiIHI9IjEwIiBzdHJva2U9IiMwMDAwMDAiIHN0cm9rZS13aWR0aD0iMiIvPg0KPHBhdGggZD0iTTE1IDkuOTQ3MjhDMTQuNSA5LjMgMTMuOCA4LjUgMTIgOC41QzEwLjIgOC41IDkgOS41MTM5MyA5IDkuOTQ3MjhDOSAxMC4zODA2IDkuMDY3ODYgMTAuOTI3NyAxMCAxMS41QzEwLjc1MjIgMTEuOTYxOCAxMi42Njg0IDEyLjA0MzkgMTMuNSAxMi41QzE0LjY3OSAxMy4xNDY3IDE0Ljg0OTcgMTMuODIwMiAxNC44NDk3IDE0LjA1MjJDMTQuODQ5NyAxNC42ODM3IDEzLjQxNzUgMTUuNDg1MiAxMiAxNS41QzEwLjUzNiAxNS41MTUzIDkuNSAxNC43IDkgMTQuMDUyMiIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPg0KPHBhdGggZD0iTTEyIDdWMTciIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPg0KPC9zdmc+';
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-9d950d25.js';
|
2
|
-
import { C as CrmBonusService, U as USED_KEY, g as getCart, a as getInfoBonusByCartIdAndStoreName, b as CartWake } from './p-
|
2
|
+
import { C as CrmBonusService, U as USED_KEY, g as getCart, a as getInfoBonusByCartIdAndStoreName, b as CartWake } from './p-417b4f7f.js';
|
3
3
|
import { d as defaultStyles, S as StepFormEnum } from './p-ecc51430.js';
|
4
4
|
import { i as instance } from './p-c53241bf.js';
|
5
|
-
import { b as buildProductsByWake } from './p-
|
5
|
+
import { b as buildProductsByWake } from './p-b0ef2c0b.js';
|
6
6
|
import { d as defineCustomElement$b } from './p-11520f0f.js';
|
7
7
|
import { d as defineCustomElement$a } from './p-bc930dfe.js';
|
8
|
-
import { d as defineCustomElement$9 } from './p-
|
8
|
+
import { d as defineCustomElement$9 } from './p-e2a6a4cf.js';
|
9
9
|
import { d as defineCustomElement$8 } from './p-ce77a841.js';
|
10
|
-
import { d as defineCustomElement$7 } from './p-
|
10
|
+
import { d as defineCustomElement$7 } from './p-488a119c.js';
|
11
11
|
import { d as defineCustomElement$6 } from './p-c5be72a0.js';
|
12
12
|
import { d as defineCustomElement$5 } from './p-f1823a52.js';
|
13
13
|
import { d as defineCustomElement$4 } from './p-ee1c025b.js';
|
@@ -3750,7 +3750,9 @@ axios.default = axios;
|
|
3750
3750
|
const axios$1 = axios;
|
3751
3751
|
|
3752
3752
|
// export const CRM_BONUS_API_URL = "https://crmbonus-hub-staging-0ff7e3bf68ac.herokuapp.com/api" //"https://crmbonus-service-staging-d15ba5377115.herokuapp.com"; //"https://typically-workable-perch.ngrok-free.app"; // "http://localhost:3500";
|
3753
|
-
const CRM_BONUS_API_URL = "https://typically-workable-perch.ngrok-free.app/api";
|
3753
|
+
// export const CRM_BONUS_API_URL = "https://typically-workable-perch.ngrok-free.app/api";
|
3754
|
+
// export const CRM_BONUS_API_URL = "https://typically-workable-perch.ngrok-free.app/api";
|
3755
|
+
const CRM_BONUS_API_URL = "https://wake.crmbonus.com/api"; //"http://localhost:4000/api";// "https://wake-middleware.crmbonus.com/api"; //"https://wake-middleware.crmbonus.com/api";// "https://crmbonus-wake-hub-staging-5daedbc4e22b.herokuapp.com/api" //"https://crmbonus-service-staging-d15ba5377115.herokuapp.com"; //"https://typically-workable-perch.ngrok-free.app"; // "http://localhost:3500";
|
3754
3756
|
const CHECKOUT_CART_WAKE = "http://localhost:3001";
|
3755
3757
|
|
3756
3758
|
const getKeyReserveByCartId = (cartId) => {
|
@@ -4017,4 +4019,4 @@ const buildUrlBase = () => {
|
|
4017
4019
|
|
4018
4020
|
export { CrmBonusService as C, USED_KEY as U, getInfoBonusByCartIdAndStoreName as a, CartWake as b, getKeyReserveByCartId as c, getCart as g, persisteMetadata as p };
|
4019
4021
|
|
4020
|
-
//# sourceMappingURL=p-
|
4022
|
+
//# sourceMappingURL=p-417b4f7f.js.map
|