crmbonus-component-wake 2.1.21-homolog-tray → 2.1.22-ngrok
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/LICENSE +21 -21
- package/dist/cjs/app-modal.cjs.entry.js +1 -1
- package/dist/cjs/app-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/build.payload.helper-409e6cc9.js +49 -0
- package/dist/cjs/build.payload.helper-409e6cc9.js.map +1 -0
- package/dist/cjs/{cart.helper-0a401d80.js → cart.helper-18589347.js} +4 -2
- package/dist/cjs/cart.helper-18589347.js.map +1 -0
- package/dist/cjs/countdown-timer-v2.cjs.entry.js +1 -1
- package/dist/cjs/countdown-timer-v2.cjs.entry.js.map +1 -1
- package/dist/cjs/{countdown-timer.cjs.entry.js → countdown-timer_2.cjs.entry.js} +19 -2
- package/dist/cjs/countdown-timer_2.cjs.entry.js.map +1 -0
- package/dist/cjs/crm-bonus-form.cjs.entry.js +2 -2
- package/dist/cjs/crm-bonus-form.cjs.entry.js.map +1 -1
- package/dist/cjs/crm-bonus-note.cjs.entry.js +64 -15
- package/dist/cjs/crm-bonus-note.cjs.entry.js.map +1 -1
- package/dist/cjs/crm-bonus-tray.cjs.entry.js +1 -1
- package/dist/cjs/crm-bonus-tray.cjs.entry.js.map +1 -1
- package/dist/cjs/crm-bonus.cjs.entry.js +30 -37
- package/dist/cjs/crm-bonus.cjs.entry.js.map +1 -1
- package/dist/cjs/{crm-giftback-form_2.cjs.entry.js → crm-giftback-form.cjs.entry.js} +43 -37
- package/dist/cjs/crm-giftback-form.cjs.entry.js.map +1 -0
- package/dist/cjs/crm-tooltip_4.cjs.entry.js +11 -11
- package/dist/cjs/crm-tooltip_4.cjs.entry.js.map +1 -1
- package/dist/cjs/crmbonus-component-wake.cjs.js +1 -1
- package/dist/cjs/{crmbonus.service-7a4f6786.js → crmbonus.service-36e689a4.js} +17 -12
- package/dist/cjs/crmbonus.service-36e689a4.js.map +1 -0
- package/dist/cjs/giftback-finish_4.cjs.entry.js +4 -4
- package/dist/cjs/giftback-finish_4.cjs.entry.js.map +1 -1
- package/dist/cjs/i18n-defaa4f8.js.map +1 -1
- package/dist/cjs/index-7a7d7882.js.map +1 -1
- package/dist/cjs/info.config.helper-e35e6e20.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/loading-container.cjs.entry.js +23 -0
- package/dist/cjs/loading-container.cjs.entry.js.map +1 -0
- package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/loading-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/pedido-finalizado.cjs.entry.js +3 -3
- package/dist/cjs/pedido-finalizado.cjs.entry.js.map +1 -1
- package/dist/cjs/phone-cancel-input.cjs.entry.js +1 -1
- package/dist/cjs/phone-cancel-input.cjs.entry.js.map +1 -1
- package/dist/cjs/phone-input-mask.cjs.entry.js +1 -1
- package/dist/cjs/phone-input-mask.cjs.entry.js.map +1 -1
- package/dist/cjs/phone-input.cjs.entry.js +1 -1
- package/dist/cjs/phone-input.cjs.entry.js.map +1 -1
- package/dist/cjs/utils-5d59acb1.js.map +1 -1
- package/dist/collection/assets/svg/money-dollars-svgrepo-com.svg +5 -5
- package/dist/collection/components/_crm-bonus-form/crm-bonus-form.css +17 -17
- package/dist/collection/components/_crm-bonus-form/crm-bonus-form.js +2 -2
- package/dist/collection/components/_crm-bonus-form/crm-bonus-form.js.map +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-finish/giftback-finish.css +8 -8
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js.map +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-pin/giftback-pin.css +68 -68
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js.map +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-progress/giftback-progress.css +108 -108
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js +2 -2
- package/dist/collection/components/_crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js.map +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/name-input/name-input.css +107 -107
- package/dist/collection/components/_crm-bonus-form/subcomponents/name-input/name-input.js +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/name-input/name-input.js.map +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/phone/phone.input.js +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/phone/phone.input.js.map +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js +1 -1
- package/dist/collection/components/_crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js.map +1 -1
- package/dist/collection/components/button/crm-button.css +21 -21
- package/dist/collection/components/button/index.js +1 -1
- package/dist/collection/components/button/index.js.map +1 -1
- package/dist/collection/components/countdown-timer/countdown-timer.js +1 -1
- package/dist/collection/components/countdown-timer/countdown-timer.js.map +1 -1
- package/dist/collection/components/countdown-timer/countdown-timer.v2.js +2 -2
- package/dist/collection/components/countdown-timer/countdown-timer.v2.js.map +1 -1
- package/dist/collection/components/crm-bonus/assets/logo.svg +17 -17
- package/dist/collection/components/crm-bonus/assets/svg/logo.svg +17 -17
- package/dist/collection/components/crm-bonus/crm-bonus.css +82 -82
- package/dist/collection/components/crm-bonus/crm-bonus.js +44 -5
- package/dist/collection/components/crm-bonus/crm-bonus.js.map +1 -1
- package/dist/collection/components/giftback-form/giftback-form.css +74 -74
- package/dist/collection/components/giftback-form/giftback-form.js +42 -20
- package/dist/collection/components/giftback-form/giftback-form.js.map +1 -1
- package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.css +181 -181
- package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js +6 -6
- package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js.map +1 -1
- package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js.map +1 -1
- package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js +1 -1
- package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js.map +1 -1
- package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.css +83 -83
- package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js +1 -1
- package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js.map +1 -1
- package/dist/collection/components/loading-container/loading-container.css +46 -46
- package/dist/collection/components/loading-container/loading-container.js +1 -1
- package/dist/collection/components/loading-container/loading-container.js.map +1 -1
- package/dist/collection/components/loading-spinner/loading-spinner.css +16 -16
- package/dist/collection/components/loading-spinner/loading-spinner.js +1 -1
- package/dist/collection/components/loading-spinner/loading-spinner.js.map +1 -1
- package/dist/collection/components/modal/app-modal.css +44 -44
- package/dist/collection/components/modal/app-modal.js +1 -1
- package/dist/collection/components/modal/app-modal.js.map +1 -1
- package/dist/collection/components/note/crm-bonus-note.css +68 -68
- package/dist/collection/components/note/crm-bonus-note.js +63 -11
- package/dist/collection/components/note/crm-bonus-note.js.map +1 -1
- package/dist/collection/components/pedido/pedido.js +1 -1
- package/dist/collection/components/pedido/pedido.js.map +1 -1
- package/dist/collection/components/phone/phone-input-mask.css +40 -40
- package/dist/collection/components/phone/phone-input-mask.js +1 -1
- package/dist/collection/components/phone/phone-input-mask.js.map +1 -1
- package/dist/collection/components/tooltip/crm-tooltip.css +48 -48
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js.map +1 -1
- package/dist/collection/contants/index.js.map +1 -1
- package/dist/collection/contants/mocks.js.map +1 -1
- package/dist/collection/dto/pin.sent.js.map +1 -1
- package/dist/collection/dto/reserved-info.dto.js.map +1 -1
- package/dist/collection/dto/update.order.dto.js.map +1 -1
- package/dist/collection/dto/validate.pin.bonus.js +3 -0
- package/dist/collection/dto/validate.pin.bonus.js.map +1 -1
- package/dist/collection/helpers/build.payload.helper.js +15 -3
- package/dist/collection/helpers/build.payload.helper.js.map +1 -1
- package/dist/collection/helpers/cart.helper.js +2 -0
- package/dist/collection/helpers/cart.helper.js.map +1 -1
- package/dist/collection/helpers/info.config.helper.js.map +1 -1
- package/dist/collection/helpers/payload.interface.js.map +1 -1
- package/dist/collection/helpers/time.helper.js.map +1 -1
- package/dist/collection/i18n/i18n.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/objectvalues/cart.wake.js.map +1 -1
- package/dist/collection/services/crmbonus.service.js +15 -10
- package/dist/collection/services/crmbonus.service.js.map +1 -1
- package/dist/collection/tray-ecommerce/crm-bonus-tray.js +1 -1
- package/dist/collection/tray-ecommerce/crm-bonus-tray.js.map +1 -1
- package/dist/collection/utils/keys.storage.js.map +1 -1
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/app-modal.js +1 -1
- package/dist/components/app-modal.js.map +1 -1
- package/dist/components/countdown-timer-v2.js +1 -1
- package/dist/components/countdown-timer-v2.js.map +1 -1
- package/dist/components/countdown-timer.js +1 -1
- package/dist/components/crm-bonus-form.js +7 -7
- package/dist/components/crm-bonus-form.js.map +1 -1
- package/dist/components/crm-bonus-note.js +69 -18
- package/dist/components/crm-bonus-note.js.map +1 -1
- package/dist/components/crm-bonus-tray.js +1 -1
- package/dist/components/crm-bonus-tray.js.map +1 -1
- package/dist/components/crm-bonus.js +40 -46
- package/dist/components/crm-bonus.js.map +1 -1
- package/dist/components/crm-button.js +1 -1
- package/dist/components/crm-giftback-form.js +1 -1
- package/dist/components/crm-tooltip.js +1 -1
- package/dist/components/giftback-finish.js +1 -1
- package/dist/components/giftback-info.js +1 -1
- package/dist/components/giftback-pin.js +1 -1
- package/dist/components/giftback-progress.js +1 -1
- package/dist/components/loading-container.js +1 -1
- package/dist/components/loading-spinner.js +1 -1
- package/dist/components/name-input.js +1 -1
- package/dist/components/{p-63ca9208.js → p-0a33e90f.js} +5 -5
- package/dist/components/p-0a33e90f.js.map +1 -0
- package/dist/components/{p-a428d5df.js → p-142e8246.js} +17 -12
- package/dist/components/p-142e8246.js.map +1 -0
- package/dist/components/p-1b441909.js.map +1 -1
- package/dist/components/p-1bc79b08.js +47 -0
- package/dist/components/p-1bc79b08.js.map +1 -0
- package/dist/components/{p-c4788672.js → p-234f35c4.js} +3 -3
- package/dist/components/p-234f35c4.js.map +1 -0
- package/dist/components/{p-cd108989.js → p-6b1f5521.js} +2 -2
- package/dist/components/p-6b1f5521.js.map +1 -0
- package/dist/components/{p-ec317fb9.js → p-6d61406c.js} +52 -30
- package/dist/components/p-6d61406c.js.map +1 -0
- package/dist/components/{p-dc1871cf.js → p-6ff4aa18.js} +3 -3
- package/dist/components/p-6ff4aa18.js.map +1 -0
- package/dist/{esm/cart.helper-c6fd0b36.js → components/p-7a92a786.js} +4 -2
- package/dist/components/p-7a92a786.js.map +1 -0
- package/dist/components/{p-4ac2b98e.js → p-86dfe7ca.js} +5 -5
- package/dist/components/p-86dfe7ca.js.map +1 -0
- package/dist/components/{p-e81cd527.js → p-8e6146ae.js} +3 -3
- package/dist/components/p-8e6146ae.js.map +1 -0
- package/dist/components/{p-a70a82a3.js → p-ab662b24.js} +3 -3
- package/dist/components/p-ab662b24.js.map +1 -0
- package/dist/components/p-af3ba015.js.map +1 -1
- package/dist/components/{p-39cc3ce4.js → p-b86c93cc.js} +3 -3
- package/dist/components/p-b86c93cc.js.map +1 -0
- package/dist/components/p-c53241bf.js.map +1 -1
- package/dist/components/{p-d8bd654a.js → p-dc0f6d66.js} +10 -10
- package/dist/components/p-dc0f6d66.js.map +1 -0
- package/dist/components/{p-5a7b0549.js → p-e068510c.js} +2 -2
- package/dist/components/p-e068510c.js.map +1 -0
- package/dist/components/{p-e25a1b64.js → p-e31b6c28.js} +2 -2
- package/dist/components/p-e31b6c28.js.map +1 -0
- package/dist/components/{p-86b95c83.js → p-eb1f4328.js} +2 -2
- package/dist/components/p-eb1f4328.js.map +1 -0
- package/dist/components/p-ecc51430.js.map +1 -1
- package/dist/components/{p-3cd7a20f.js → p-f09b7364.js} +2 -2
- package/dist/components/{p-3cd7a20f.js.map → p-f09b7364.js.map} +1 -1
- package/dist/components/pedido-finalizado.js +3 -3
- package/dist/components/pedido-finalizado.js.map +1 -1
- package/dist/components/phone-cancel-input.js +3 -3
- package/dist/components/phone-cancel-input.js.map +1 -1
- package/dist/components/phone-form.js +1 -1
- package/dist/components/phone-input-mask.js +1 -1
- package/dist/components/phone-input.js +3 -3
- package/dist/components/phone-input.js.map +1 -1
- package/dist/components/pin-form.js +1 -1
- package/dist/crmbonus-component-wake/assets/logo.svg +17 -17
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +1 -1
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -1
- package/dist/crmbonus-component-wake/{p-a428d5df.js → p-142e8246.js} +2 -2
- package/dist/crmbonus-component-wake/p-142e8246.js.map +1 -0
- package/dist/crmbonus-component-wake/p-1b441909.js.map +1 -1
- package/dist/crmbonus-component-wake/p-1bc79b08.js +2 -0
- package/dist/crmbonus-component-wake/p-1bc79b08.js.map +1 -0
- package/dist/crmbonus-component-wake/p-2bd29eae.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-2bd29eae.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/{p-0a40bcba.entry.js → p-39abc114.entry.js} +2 -2
- package/dist/crmbonus-component-wake/p-39abc114.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-427c86db.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-427c86db.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-568072fe.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-568072fe.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-6d5bd437.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-6d5bd437.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-74335744.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-74335744.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-7a92a786.js +2 -0
- package/dist/crmbonus-component-wake/p-7a92a786.js.map +1 -0
- package/dist/crmbonus-component-wake/p-7beb0b90.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-7beb0b90.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-7ee5c218.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-7ee5c218.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-85d2747a.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-85d2747a.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-8c4ae16d.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-8c4ae16d.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/{p-77d8e96c.entry.js → p-9a32f685.entry.js} +2 -2
- package/dist/crmbonus-component-wake/p-9a32f685.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-a7f6ff4a.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-a7f6ff4a.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-af3ba015.js.map +1 -1
- package/dist/crmbonus-component-wake/{p-154b5318.entry.js → p-b5e9a5ea.entry.js} +2 -2
- package/dist/crmbonus-component-wake/p-b5e9a5ea.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/{p-bcb65b4e.entry.js → p-b9baad26.entry.js} +2 -2
- package/dist/crmbonus-component-wake/p-b9baad26.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-c53241bf.js.map +1 -1
- package/dist/crmbonus-component-wake/p-d2e98cc5.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-d2e98cc5.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-e5d8700b.entry.js +2 -0
- package/dist/crmbonus-component-wake/p-e5d8700b.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/p-ecc51430.js.map +1 -1
- package/dist/env.js +1 -1
- package/dist/env.js.map +1 -1
- package/dist/esm/app-modal.entry.js +1 -1
- package/dist/esm/app-modal.entry.js.map +1 -1
- package/dist/esm/build.payload.helper-96f9c8b8.js +47 -0
- package/dist/esm/build.payload.helper-96f9c8b8.js.map +1 -0
- package/dist/{components/p-9ca28ea7.js → esm/cart.helper-107db11e.js} +4 -2
- package/dist/esm/cart.helper-107db11e.js.map +1 -0
- package/dist/esm/countdown-timer-v2.entry.js +1 -1
- package/dist/esm/countdown-timer-v2.entry.js.map +1 -1
- package/dist/esm/{countdown-timer.entry.js → countdown-timer_2.entry.js} +19 -3
- package/dist/esm/countdown-timer_2.entry.js.map +1 -0
- package/dist/esm/crm-bonus-form.entry.js +2 -2
- package/dist/esm/crm-bonus-form.entry.js.map +1 -1
- package/dist/esm/crm-bonus-note.entry.js +64 -15
- package/dist/esm/crm-bonus-note.entry.js.map +1 -1
- package/dist/esm/crm-bonus-tray.entry.js +1 -1
- package/dist/esm/crm-bonus-tray.entry.js.map +1 -1
- package/dist/esm/crm-bonus.entry.js +29 -36
- package/dist/esm/crm-bonus.entry.js.map +1 -1
- package/dist/esm/{crm-giftback-form_2.entry.js → crm-giftback-form.entry.js} +44 -37
- package/dist/esm/crm-giftback-form.entry.js.map +1 -0
- package/dist/esm/crm-tooltip_4.entry.js +11 -11
- package/dist/esm/crm-tooltip_4.entry.js.map +1 -1
- package/dist/esm/crmbonus-component-wake.js +1 -1
- package/dist/esm/{crmbonus.service-0bd0a5ac.js → crmbonus.service-652502f6.js} +17 -12
- package/dist/esm/crmbonus.service-652502f6.js.map +1 -0
- package/dist/esm/giftback-finish_4.entry.js +4 -4
- package/dist/esm/giftback-finish_4.entry.js.map +1 -1
- package/dist/esm/i18n-b9d8b0cc.js.map +1 -1
- package/dist/esm/index-dc3ebdf0.js.map +1 -1
- package/dist/esm/info.config.helper-7cad7a9c.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/loading-container.entry.js +19 -0
- package/dist/esm/loading-container.entry.js.map +1 -0
- package/dist/esm/loading-spinner.entry.js +1 -1
- package/dist/esm/loading-spinner.entry.js.map +1 -1
- package/dist/esm/pedido-finalizado.entry.js +3 -3
- package/dist/esm/pedido-finalizado.entry.js.map +1 -1
- package/dist/esm/phone-cancel-input.entry.js +1 -1
- package/dist/esm/phone-cancel-input.entry.js.map +1 -1
- package/dist/esm/phone-input-mask.entry.js +1 -1
- package/dist/esm/phone-input-mask.entry.js.map +1 -1
- package/dist/esm/phone-input.entry.js +1 -1
- package/dist/esm/phone-input.entry.js.map +1 -1
- package/dist/esm/utils-dec6df66.js.map +1 -1
- package/dist/types/Users/Darlison/Projects/Bycoders/crmbonus/crmbonus-component/.stencil/env.d.ts +2 -0
- package/dist/types/components/crm-bonus/crm-bonus.d.ts +2 -0
- package/dist/types/components/giftback-form/giftback-form.d.ts +1 -0
- package/dist/types/components/note/crm-bonus-note.d.ts +8 -1
- package/dist/types/components.d.ts +2 -0
- package/dist/types/dto/reserved-info.dto.d.ts +3 -0
- package/dist/types/dto/validate.pin.bonus.d.ts +4 -1
- package/package.json +58 -58
- package/readme.md +114 -114
- package/dist/cjs/cart.helper-0a401d80.js.map +0 -1
- package/dist/cjs/countdown-timer.cjs.entry.js.map +0 -1
- package/dist/cjs/crm-button.cjs.entry.js +0 -25
- package/dist/cjs/crm-button.cjs.entry.js.map +0 -1
- package/dist/cjs/crm-giftback-form_2.cjs.entry.js.map +0 -1
- package/dist/cjs/crmbonus.service-7a4f6786.js.map +0 -1
- package/dist/components/p-39cc3ce4.js.map +0 -1
- package/dist/components/p-4ac2b98e.js.map +0 -1
- package/dist/components/p-5a7b0549.js.map +0 -1
- package/dist/components/p-63ca9208.js.map +0 -1
- package/dist/components/p-86b95c83.js.map +0 -1
- package/dist/components/p-9ca28ea7.js.map +0 -1
- package/dist/components/p-a428d5df.js.map +0 -1
- package/dist/components/p-a70a82a3.js.map +0 -1
- package/dist/components/p-c4788672.js.map +0 -1
- package/dist/components/p-cd108989.js.map +0 -1
- package/dist/components/p-d8bd654a.js.map +0 -1
- package/dist/components/p-dc1871cf.js.map +0 -1
- package/dist/components/p-e25a1b64.js.map +0 -1
- package/dist/components/p-e81cd527.js.map +0 -1
- package/dist/components/p-ec317fb9.js.map +0 -1
- package/dist/crmbonus-component-wake/p-0055876c.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-0055876c.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-0a40bcba.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-154b5318.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-1b0969ff.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-1b0969ff.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-35b95848.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-35b95848.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-4792c140.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-4792c140.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-53b6a7e8.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-53b6a7e8.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-5aa35e0f.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-5aa35e0f.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-77d8e96c.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-81ec64ff.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-81ec64ff.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-8e2d6659.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-8e2d6659.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-9ca28ea7.js +0 -2
- package/dist/crmbonus-component-wake/p-9ca28ea7.js.map +0 -1
- package/dist/crmbonus-component-wake/p-a428d5df.js.map +0 -1
- package/dist/crmbonus-component-wake/p-b2941d60.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-b2941d60.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-bcb65b4e.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-cc754208.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-cc754208.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-e4aae2ed.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-e4aae2ed.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-ed22d88f.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-ed22d88f.entry.js.map +0 -1
- package/dist/esm/cart.helper-c6fd0b36.js.map +0 -1
- package/dist/esm/countdown-timer.entry.js.map +0 -1
- package/dist/esm/crm-button.entry.js +0 -21
- package/dist/esm/crm-button.entry.js.map +0 -1
- package/dist/esm/crm-giftback-form_2.entry.js.map +0 -1
- package/dist/esm/crmbonus.service-0bd0a5ac.js.map +0 -1
- package/dist/types/home/darlison/Projects/Bycoders/crmbonus/crmbonus-component/.stencil/env.d.ts +0 -2
@@ -1,7 +1,7 @@
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-9d950d25.js';
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
2
|
+
import { d as defineCustomElement$3 } from './p-b86c93cc.js';
|
3
|
+
import { d as defineCustomElement$2 } from './p-e31b6c28.js';
|
4
|
+
import { d as defineCustomElement$1 } from './p-e068510c.js';
|
5
5
|
|
6
6
|
const giftbackFormCss = "*{margin:0;padding:0;box-sizing:border-box}:host{--crmfont-sizebodymd:14px;--crmline-heightbodymd:20px;--crmletter-spacingtitle-md:0px}.container-message{font-weight:400;line-height:var(--crmline-heightbodymd);letter-spacing:var(--crmletter-spacingtitle-md);text-align:left;text-underline-position:from-font;text-decoration-skip-ink:none}.crm-container-form{display:flex;flex-direction:column;justify-content:space-around;height:auto;padding:20px 24px 20px 24px;border:1px solid #CCCC;writing-mode:horizontal-tb;gap:16px;border-top:1px solid #ccc !important;border-bottom:1px solid #ccc !important}.crm-phone-form{display:flex;flex-direction:column;height:100%;gap:16px}.crm-subtitle{font-size:.875rem;line-height:1.25rem}.crm-title{font-weight:700;line-height:20px;color:#262626;}.crm-message-info{color:#619013;font-weight:500;}.crm-message-error{color:#E11D48;font-weight:500;}";
|
7
7
|
const PhoneFormStyle0 = giftbackFormCss;
|
@@ -21,7 +21,7 @@ const PhoneForm = /*@__PURE__*/ proxyCustomElement(class PhoneForm extends H {
|
|
21
21
|
}
|
22
22
|
render() {
|
23
23
|
var _a;
|
24
|
-
return (h(Host, { key: '
|
24
|
+
return (h(Host, { key: '5f92b6c62da3cdf6de3c302488d81876fa52de1d', class: "crm-phone-form" }, h("p", { key: 'd5ea282e1945c55fb7212e7842e34aeab526248e', class: "crm-subtitle" }, "Digite o seu celular para verificar se h\u00E1 desconto dispon\u00EDvel nessa compra:"), h("phone-input-mask", { key: '9584729c3396af7f3e70ef375174bfd33b9779d8', initialValue: this.value, ref: ref => this.phoneInputMask = ref }), h("crm-button", { key: '7cea0bc45f4e7967b8a0404a51d960ebd00334b9', txtBtn: ((_a = this.config) === null || _a === void 0 ? void 0 : _a.btnApplyBonusLabel) || "Avançar", loading: this.loading, handleClick: () => this.handlePhone() })));
|
25
25
|
}
|
26
26
|
static get style() { return PhoneFormStyle0; }
|
27
27
|
}, [0, "phone-form", {
|
@@ -62,4 +62,4 @@ defineCustomElement();
|
|
62
62
|
|
63
63
|
export { PhoneForm as P, defineCustomElement as d };
|
64
64
|
|
65
|
-
//# sourceMappingURL=p-
|
65
|
+
//# sourceMappingURL=p-0a33e90f.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"p-0a33e90f.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,k3BAAk3B,CAAC;AAC34B,wBAAe,eAAe;;MCOjB,SAAS;;;;;;;;;IAWlB,MAAM,WAAW;QAEb,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAA;QAElD,MAAM,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;KACnC;IAGD,MAAM;;QACF,QACI,EAAC,IAAI,qDAAC,KAAK,EAAC,gBAAgB,IACxB,0DAAG,KAAK,EAAC,cAAc,4FAAiF,EACxG,yEAAkB,YAAY,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,IAAI,CAAC,cAAc,GAAG,GAAG,GAAI,EAErF,mEAAY,MAAM,EAAE,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,kBAAkB,KAAI,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,GAAK,CAChI,EACV;KACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/giftback-form/giftback-form.css?tag=phone-form","src/components/giftback-form/subcomponents/phone-form/phone-form.tsx"],"sourcesContent":["* {\r\n margin: 0;\r\n padding: 0;\r\n box-sizing: border-box;\r\n}\r\n\r\n:host {\r\n --crmfont-sizebodymd: 14px;\r\n --crmline-heightbodymd: 20px;\r\n --crmletter-spacingtitle-md: 0px\r\n}\r\n\r\n.container-message {\r\n /* font-size: var(--crmfont-sizebodymd); */\r\n font-weight: 400;\r\n line-height: var(--crmline-heightbodymd);\r\n letter-spacing: var(--crmletter-spacingtitle-md);\r\n text-align: left;\r\n text-underline-position: from-font;\r\n text-decoration-skip-ink: none;\r\n}\r\n\r\n.crm-container-form {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-around;\r\n height: auto;\r\n padding: 20px 24px 20px 24px;\r\n border: 1px solid #CCCC;\r\n writing-mode: horizontal-tb;\r\n gap: 16px;\r\n border-top: 1px solid #ccc !important;\r\n border-bottom: 1px solid #ccc !important;\r\n}\r\n\r\n/* .fbits-responsive-carrinho-desconto {\r\n overflow: hidden;\r\n border: 1px solid #ccc;\r\n border-top: 0;\r\n border-bottom: 0;\r\n} */\r\n\r\n.crm-phone-form {\r\n display: flex;\r\n flex-direction: column;\r\n height: 100%;\r\n /* justify-content: space-around; */\r\n gap: 16px;\r\n}\r\n\r\n.crm-subtitle {\r\n /* font-size: 14px; */\r\n font-size: .875rem;\r\n line-height: 1.25rem;\r\n \r\n}\r\n\r\n.crm-title {\r\n font-weight: 700;\r\n line-height: 20px;\r\n color: #262626;\r\n /* font-size: 16px; */\r\n}\r\n\r\n.crm-message-info {\r\n color: #619013;\r\n font-weight: 500;\r\n /* font-size: 12px; */\r\n}\r\n\r\n.crm-message-error {\r\n color: #E11D48;\r\n font-weight: 500;\r\n /* font-size: 12px; */\r\n}","import { Component, Host, Prop, h } from \"@stencil/core\";\r\nimport { IInfoStore } from \"../../../../helpers/info.config.helper\";\r\n\r\n@Component({\r\n tag: 'phone-form',\r\n styleUrl: '../../giftback-form.css',\r\n shadow: false\r\n})\r\nexport class PhoneForm {\r\n\r\n private phoneInputMask: HTMLPhoneInputMaskElement;\r\n\r\n @Prop() value: string;\r\n @Prop() loading: boolean;\r\n @Prop() handlerSubmit: (phone: string) => void;\r\n\r\n @Prop() config: IInfoStore;\r\n\r\n\r\n async handlePhone() {\r\n\r\n const phone = await this.phoneInputMask.getPhone()\r\n\r\n await this.handlerSubmit(phone);\r\n }\r\n\r\n\r\n render() {\r\n return (\r\n <Host class=\"crm-phone-form\">\r\n <p class=\"crm-subtitle\" >Digite o seu celular para verificar se há desconto disponível nessa compra:</p>\r\n <phone-input-mask initialValue={this.value} ref={ref => this.phoneInputMask = ref} />\r\n\r\n <crm-button txtBtn={this.config?.btnApplyBonusLabel || \"Avançar\"} loading={this.loading} handleClick={() => this.handlePhone() } />\r\n </Host>\r\n )\r\n }\r\n}"],"version":3}
|
@@ -3749,7 +3749,7 @@ axios.default = axios;
|
|
3749
3749
|
// this module should only have a default export
|
3750
3750
|
const axios$1 = axios;
|
3751
3751
|
|
3752
|
-
const CRM_BONUS_API_URL = "https://
|
3752
|
+
const CRM_BONUS_API_URL = "https://typically-workable-perch.ngrok-free.app/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";
|
3753
3753
|
const CHECKOUT_CART_WAKE = "http://localhost:3001";
|
3754
3754
|
|
3755
3755
|
const getKeyReserveByCartId = (cartId) => {
|
@@ -3779,14 +3779,16 @@ class CrmBonusService {
|
|
3779
3779
|
return this._instance;
|
3780
3780
|
}
|
3781
3781
|
async getCustomer(userId, store) {
|
3782
|
-
var _a, _b;
|
3782
|
+
var _a, _b, _c;
|
3783
|
+
const token = localStorage.getItem("@BYCODERS_KEY");
|
3783
3784
|
const headers = {
|
3784
3785
|
'Content-Type': 'application/json',
|
3785
|
-
'Authorization': `Bearer ${
|
3786
|
+
'Authorization': `Bearer ${token}`
|
3786
3787
|
};
|
3787
3788
|
const response = await this.axiosInstance.get(`/store/${store}/customer/${userId}`, { headers: headers });
|
3788
3789
|
this.token = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.token;
|
3789
|
-
|
3790
|
+
localStorage.setItem("@BYCODERS_KEY", (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.token);
|
3791
|
+
return (_c = response === null || response === void 0 ? void 0 : response.data) === null || _c === void 0 ? void 0 : _c.customer;
|
3790
3792
|
}
|
3791
3793
|
async updateOrder(updateOrderDTO) {
|
3792
3794
|
const token = localStorage.getItem("@BYCODERS_KEY");
|
@@ -3803,9 +3805,10 @@ class CrmBonusService {
|
|
3803
3805
|
localStorage.removeItem(getKeyReserveByCartId(updateOrderDTO.cartId));
|
3804
3806
|
}
|
3805
3807
|
async sendPin(phone, name, store) {
|
3808
|
+
const token = localStorage.getItem(BYCODERS_KEY);
|
3806
3809
|
const headers = {
|
3807
3810
|
'Content-Type': 'application/json',
|
3808
|
-
'Authorization': `Bearer ${
|
3811
|
+
'Authorization': `Bearer ${token}`
|
3809
3812
|
};
|
3810
3813
|
const response = await this.axiosInstance.post("/crmbonus/send-pin", { cellphone: phone, name: name, storeName: store }, { headers: headers });
|
3811
3814
|
return {
|
@@ -3814,9 +3817,10 @@ class CrmBonusService {
|
|
3814
3817
|
};
|
3815
3818
|
}
|
3816
3819
|
async validatePinBonus(payload) {
|
3820
|
+
const token = localStorage.getItem(BYCODERS_KEY);
|
3817
3821
|
const headers = {
|
3818
3822
|
'Content-Type': 'application/json',
|
3819
|
-
'Authorization': `Bearer ${
|
3823
|
+
'Authorization': `Bearer ${token}`
|
3820
3824
|
};
|
3821
3825
|
const response = await this.axiosInstance.post("/crmbonus/process-pin-bonus", payload, { headers });
|
3822
3826
|
return response.data;
|
@@ -3830,9 +3834,10 @@ class CrmBonusService {
|
|
3830
3834
|
return response.data;
|
3831
3835
|
}
|
3832
3836
|
async cancel(cartId) {
|
3837
|
+
const token = localStorage.getItem(BYCODERS_KEY);
|
3833
3838
|
const headers = {
|
3834
3839
|
'Content-Type': 'application/json',
|
3835
|
-
'Authorization': `Bearer ${
|
3840
|
+
'Authorization': `Bearer ${token}`
|
3836
3841
|
};
|
3837
3842
|
const response = await this.axiosInstance.post("/crmbonus/cancel-apply-bonus", {
|
3838
3843
|
ticket: cartId
|
@@ -3871,19 +3876,19 @@ class CrmBonusService {
|
|
3871
3876
|
localStorage.removeItem(USED_KEY);
|
3872
3877
|
}
|
3873
3878
|
async getInfoBonus(cartId, storeName) {
|
3874
|
-
|
3879
|
+
const token = localStorage.getItem(BYCODERS_KEY);
|
3875
3880
|
const headers = {
|
3876
3881
|
'Content-Type': 'application/json',
|
3877
|
-
'Authorization': `Bearer ${
|
3882
|
+
'Authorization': `Bearer ${token}`
|
3878
3883
|
};
|
3879
3884
|
const response = await this.axiosInstance.get(`/crmbonus/order-info/${storeName}/${cartId}`, { headers });
|
3880
3885
|
return response.data;
|
3881
3886
|
}
|
3882
3887
|
async patchInfoBonus(payload) {
|
3883
|
-
|
3888
|
+
const token = localStorage.getItem(BYCODERS_KEY);
|
3884
3889
|
const headers = {
|
3885
3890
|
'Content-Type': 'application/json',
|
3886
|
-
'Authorization': `Bearer ${
|
3891
|
+
'Authorization': `Bearer ${token}`
|
3887
3892
|
};
|
3888
3893
|
await this.axiosInstance.patch(`/checkouts/${payload.cartId}`, {
|
3889
3894
|
metadata: payload.metadata
|
@@ -3898,4 +3903,4 @@ CrmBonusService._instance = null;
|
|
3898
3903
|
|
3899
3904
|
export { CrmBonusService as C, USED_KEY as U, CHECKOUT_CART_WAKE as a, getKeyReserveByCartId as g };
|
3900
3905
|
|
3901
|
-
//# sourceMappingURL=p-
|
3906
|
+
//# sourceMappingURL=p-142e8246.js.map
|