crmbonus-component-wake 2.0.125 → 2.0.126
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/{esm → crmbonus-component-wake}/app-modal.entry.js +2 -3
- package/dist/crmbonus-component-wake/app-modal.entry.js.map +1 -0
- package/dist/{components/p-abbfbc98.js → crmbonus-component-wake/cart.helper-4e40ffa9.js} +3 -2
- package/dist/crmbonus-component-wake/cart.helper-4e40ffa9.js.map +1 -0
- package/dist/{esm/cart.helper-30a40560.js → crmbonus-component-wake/cart.helper-a921d7f9.js} +3 -2
- package/dist/crmbonus-component-wake/cart.helper-a921d7f9.js.map +1 -0
- package/dist/{components/p-2b3b8d6b.js → crmbonus-component-wake/countdown-timer.entry.js} +7 -27
- package/dist/crmbonus-component-wake/countdown-timer.entry.js.map +1 -0
- package/dist/{esm → crmbonus-component-wake}/crm-bonus-form.entry.js +4 -5
- package/dist/crmbonus-component-wake/{p-c23f3a07.entry.js.map → crm-bonus-form.entry.js.map} +1 -1
- package/dist/{esm → crmbonus-component-wake}/crm-bonus-note.entry.js +9 -10
- package/dist/crmbonus-component-wake/crm-bonus-note.entry.js.map +1 -0
- package/dist/{esm → crmbonus-component-wake}/crm-bonus.entry.js +8 -7
- package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/crm-button.entry.js +20 -0
- package/dist/crmbonus-component-wake/crm-button.entry.js.map +1 -0
- package/dist/{esm/crm-giftback-form_2.entry.js → crmbonus-component-wake/crm-giftback-form.entry.js} +12 -27
- package/dist/crmbonus-component-wake/crm-giftback-form.entry.js.map +1 -0
- package/dist/{components/p-58b97429.js → crmbonus-component-wake/crm-tooltip.entry.js} +8 -27
- package/dist/crmbonus-component-wake/crm-tooltip.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/crmbonus-component-wake.css +7 -1
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +48 -1
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -1
- package/dist/{esm/crmbonus.service-42fbd7fa.js → crmbonus-component-wake/crmbonus.service-67550994.js} +162 -90
- package/dist/crmbonus-component-wake/crmbonus.service-67550994.js.map +1 -0
- package/dist/{components/p-6eda79c3.js → crmbonus-component-wake/crmbonus.service-9f4c6fd7.js} +165 -93
- package/dist/crmbonus-component-wake/crmbonus.service-9f4c6fd7.js.map +1 -0
- package/dist/{components/p-b79c86a8.js → crmbonus-component-wake/giftback-finish.entry.js} +8 -25
- package/dist/crmbonus-component-wake/giftback-finish.entry.js.map +1 -0
- package/dist/{components/p-2671d669.js → crmbonus-component-wake/giftback-info.entry.js} +12 -52
- package/dist/crmbonus-component-wake/giftback-info.entry.js.map +1 -0
- package/dist/{components/p-6186ddcc.js → crmbonus-component-wake/giftback-pin.entry.js} +8 -38
- package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +1 -0
- package/dist/{components/p-7c744cca.js → crmbonus-component-wake/giftback-progress.entry.js} +8 -37
- package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +1 -0
- package/dist/{esm/i18n-e8150dff.js → crmbonus-component-wake/i18n-11138a2c.js} +16 -1
- package/dist/{esm/i18n-e8150dff.js.map → crmbonus-component-wake/i18n-11138a2c.js.map} +1 -1
- package/dist/crmbonus-component-wake/index-d0fd1dc0.js +3039 -0
- package/dist/crmbonus-component-wake/index-d0fd1dc0.js.map +1 -0
- package/dist/crmbonus-component-wake/index.esm.js +12 -1
- package/dist/crmbonus-component-wake/index.esm.js.map +1 -1
- package/dist/crmbonus-component-wake/loading-container.entry.js +18 -0
- package/dist/crmbonus-component-wake/loading-container.entry.js.map +1 -0
- package/dist/{esm → crmbonus-component-wake}/loading-spinner.entry.js +2 -3
- package/dist/crmbonus-component-wake/loading-spinner.entry.js.map +1 -0
- package/dist/{components/p-246a3e9d.js → crmbonus-component-wake/name-input.entry.js} +8 -37
- package/dist/crmbonus-component-wake/name-input.entry.js.map +1 -0
- package/dist/{esm → crmbonus-component-wake}/pedido-finalizado.entry.js +4 -4
- package/dist/crmbonus-component-wake/pedido-finalizado.entry.js.map +1 -0
- package/dist/{esm → crmbonus-component-wake}/phone-cancel-input.entry.js +1 -1
- package/dist/crmbonus-component-wake/phone-cancel-input.entry.js.map +1 -0
- package/dist/{components/p-6c546e48.js → crmbonus-component-wake/phone-form.entry.js} +8 -47
- package/dist/crmbonus-component-wake/phone-form.entry.js.map +1 -0
- package/dist/{esm → crmbonus-component-wake}/phone-input-mask.entry.js +2 -3
- package/dist/crmbonus-component-wake/phone-input-mask.entry.js.map +1 -0
- package/dist/{esm → crmbonus-component-wake}/phone-input.entry.js +1 -1
- package/dist/crmbonus-component-wake/phone-input.entry.js.map +1 -0
- package/dist/{components/p-83a12a8f.js → crmbonus-component-wake/pin-form.entry.js} +9 -56
- package/dist/crmbonus-component-wake/pin-form.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js +334 -0
- package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js.map +1 -0
- package/dist/{collection/utils/utils.js → crmbonus-component-wake/utils-96cf9ae0.js} +8 -5
- package/dist/crmbonus-component-wake/utils-96cf9ae0.js.map +1 -0
- package/dist/types/home/darlison/Projects/Bycoders/crmbonus/crmbonus-component/.stencil/env.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/app-modal.cjs.entry.js +0 -28
- package/dist/cjs/app-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/cart.helper-d4d8d619.js +0 -77
- package/dist/cjs/cart.helper-d4d8d619.js.map +0 -1
- package/dist/cjs/countdown-timer_2.cjs.entry.js +0 -63
- package/dist/cjs/countdown-timer_2.cjs.entry.js.map +0 -1
- package/dist/cjs/crm-bonus-form.cjs.entry.js +0 -104
- package/dist/cjs/crm-bonus-form.cjs.entry.js.map +0 -1
- package/dist/cjs/crm-bonus-note.cjs.entry.js +0 -101
- package/dist/cjs/crm-bonus-note.cjs.entry.js.map +0 -1
- package/dist/cjs/crm-bonus.cjs.entry.js +0 -247
- package/dist/cjs/crm-bonus.cjs.entry.js.map +0 -1
- package/dist/cjs/crm-giftback-form_2.cjs.entry.js +0 -253
- package/dist/cjs/crm-giftback-form_2.cjs.entry.js.map +0 -1
- package/dist/cjs/crm-tooltip_4.cjs.entry.js +0 -211
- package/dist/cjs/crm-tooltip_4.cjs.entry.js.map +0 -1
- package/dist/cjs/crmbonus-component-wake.cjs.js +0 -27
- package/dist/cjs/crmbonus-component-wake.cjs.js.map +0 -1
- package/dist/cjs/crmbonus.service-9067d00d.js +0 -3877
- package/dist/cjs/crmbonus.service-9067d00d.js.map +0 -1
- package/dist/cjs/giftback-finish_4.cjs.entry.js +0 -131
- package/dist/cjs/giftback-finish_4.cjs.entry.js.map +0 -1
- package/dist/cjs/i18n-f2a6f60e.js +0 -2219
- package/dist/cjs/i18n-f2a6f60e.js.map +0 -1
- package/dist/cjs/index-6054ed44.js +0 -21
- package/dist/cjs/index-6054ed44.js.map +0 -1
- package/dist/cjs/index-d11684bd.js +0 -1599
- package/dist/cjs/index-d11684bd.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -11
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/info.config.helper-c5d9f781.js +0 -16
- package/dist/cjs/info.config.helper-c5d9f781.js.map +0 -1
- package/dist/cjs/keys.storage-de7744aa.js +0 -17
- package/dist/cjs/keys.storage-de7744aa.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -17
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/loading-spinner.cjs.entry.js +0 -24
- package/dist/cjs/loading-spinner.cjs.entry.js.map +0 -1
- package/dist/cjs/pedido-finalizado.cjs.entry.js +0 -39
- package/dist/cjs/pedido-finalizado.cjs.entry.js.map +0 -1
- package/dist/cjs/phone-cancel-input.cjs.entry.js +0 -25
- package/dist/cjs/phone-cancel-input.cjs.entry.js.map +0 -1
- package/dist/cjs/phone-input-mask.cjs.entry.js +0 -61
- package/dist/cjs/phone-input-mask.cjs.entry.js.map +0 -1
- package/dist/cjs/phone-input.cjs.entry.js +0 -25
- package/dist/cjs/phone-input.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-e9413ee3.js +0 -25
- package/dist/cjs/utils-e9413ee3.js.map +0 -1
- package/dist/collection/assets/svg/info-circle-svgrepo-com.svg +0 -6
- package/dist/collection/assets/svg/money-dollars-svgrepo-com.svg +0 -6
- package/dist/collection/collection-manifest.json +0 -32
- package/dist/collection/components/button/crm-button.css +0 -22
- package/dist/collection/components/button/index.js +0 -76
- package/dist/collection/components/button/index.js.map +0 -1
- package/dist/collection/components/countdown-timer/countdown-timer.js +0 -81
- package/dist/collection/components/countdown-timer/countdown-timer.js.map +0 -1
- package/dist/collection/components/crm-bonus/assets/logo.svg +0 -18
- package/dist/collection/components/crm-bonus/assets/success-svgrepo-com.svg +0 -8
- package/dist/collection/components/crm-bonus/assets/svg/logo.svg +0 -18
- package/dist/collection/components/crm-bonus/assets/svg/success-svgrepo-com.svg +0 -8
- package/dist/collection/components/crm-bonus/crm-bonus.css +0 -84
- package/dist/collection/components/crm-bonus/crm-bonus.js +0 -311
- package/dist/collection/components/crm-bonus/crm-bonus.js.map +0 -1
- package/dist/collection/components/crm-bonus-form/crm-bonus-form.css +0 -19
- package/dist/collection/components/crm-bonus-form/crm-bonus-form.js +0 -348
- package/dist/collection/components/crm-bonus-form/crm-bonus-form.js.map +0 -1
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.css +0 -10
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js +0 -20
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js.map +0 -1
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.css +0 -70
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js +0 -126
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js.map +0 -1
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.css +0 -110
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js +0 -127
- package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js.map +0 -1
- package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.css +0 -108
- package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js +0 -110
- package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js.map +0 -1
- package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js +0 -75
- package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js.map +0 -1
- package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js +0 -75
- package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js.map +0 -1
- package/dist/collection/components/giftback-form/giftback-form.css +0 -75
- package/dist/collection/components/giftback-form/giftback-form.js +0 -410
- package/dist/collection/components/giftback-form/giftback-form.js.map +0 -1
- package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.css +0 -181
- package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js +0 -221
- package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js.map +0 -1
- package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js +0 -11
- package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js.map +0 -1
- package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js +0 -103
- package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js.map +0 -1
- package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.css +0 -84
- package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js +0 -197
- package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js.map +0 -1
- package/dist/collection/components/loading-container/loading-container.css +0 -47
- package/dist/collection/components/loading-container/loading-container.js +0 -43
- package/dist/collection/components/loading-container/loading-container.js.map +0 -1
- package/dist/collection/components/loading-spinner/loading-spinner.css +0 -17
- package/dist/collection/components/loading-spinner/loading-spinner.js +0 -63
- package/dist/collection/components/loading-spinner/loading-spinner.js.map +0 -1
- package/dist/collection/components/modal/app-modal.css +0 -45
- package/dist/collection/components/modal/app-modal.js +0 -83
- package/dist/collection/components/modal/app-modal.js.map +0 -1
- package/dist/collection/components/note/crm-bonus-note.css +0 -71
- package/dist/collection/components/note/crm-bonus-note.js +0 -117
- package/dist/collection/components/note/crm-bonus-note.js.map +0 -1
- package/dist/collection/components/pedido/pedido.js +0 -52
- package/dist/collection/components/pedido/pedido.js.map +0 -1
- package/dist/collection/components/phone/phone-input-mask.css +0 -40
- package/dist/collection/components/phone/phone-input-mask.js +0 -125
- package/dist/collection/components/phone/phone-input-mask.js.map +0 -1
- package/dist/collection/components/tooltip/crm-tooltip.css +0 -49
- package/dist/collection/components/tooltip/tooltip.js +0 -61
- package/dist/collection/components/tooltip/tooltip.js.map +0 -1
- package/dist/collection/contants/index.js +0 -16
- package/dist/collection/contants/index.js.map +0 -1
- package/dist/collection/contants/mocks.js +0 -28
- package/dist/collection/contants/mocks.js.map +0 -1
- package/dist/collection/dto/pin.sent.js +0 -2
- package/dist/collection/dto/pin.sent.js.map +0 -1
- package/dist/collection/dto/update.order.dto.js +0 -2
- package/dist/collection/dto/update.order.dto.js.map +0 -1
- package/dist/collection/dto/validate.pin.bonus.js +0 -5
- package/dist/collection/dto/validate.pin.bonus.js.map +0 -1
- package/dist/collection/helpers/build.payload.helper.js +0 -25
- package/dist/collection/helpers/build.payload.helper.js.map +0 -1
- package/dist/collection/helpers/cart.helper.js +0 -27
- package/dist/collection/helpers/cart.helper.js.map +0 -1
- package/dist/collection/helpers/info.config.helper.js +0 -11
- package/dist/collection/helpers/info.config.helper.js.map +0 -1
- package/dist/collection/helpers/time.helper.js +0 -12
- package/dist/collection/helpers/time.helper.js.map +0 -1
- package/dist/collection/i18n/i18n.js +0 -35
- package/dist/collection/i18n/i18n.js.map +0 -1
- package/dist/collection/index.js +0 -11
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/objectvalues/cart.wake.js +0 -46
- package/dist/collection/objectvalues/cart.wake.js.map +0 -1
- package/dist/collection/services/crmbonus.service.js +0 -118
- package/dist/collection/services/crmbonus.service.js.map +0 -1
- package/dist/collection/utils/keys.storage.js +0 -9
- package/dist/collection/utils/keys.storage.js.map +0 -1
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/components/app-modal.js +0 -46
- package/dist/components/app-modal.js.map +0 -1
- package/dist/components/countdown-timer.js +0 -8
- package/dist/components/countdown-timer.js.map +0 -1
- package/dist/components/crm-bonus-form.js +0 -165
- package/dist/components/crm-bonus-form.js.map +0 -1
- package/dist/components/crm-bonus-note.js +0 -139
- package/dist/components/crm-bonus-note.js.map +0 -1
- package/dist/components/crm-bonus.js +0 -337
- package/dist/components/crm-bonus.js.map +0 -1
- package/dist/components/crm-button.js +0 -8
- package/dist/components/crm-button.js.map +0 -1
- package/dist/components/crm-giftback-form.js +0 -8
- package/dist/components/crm-giftback-form.js.map +0 -1
- package/dist/components/crm-tooltip.js +0 -8
- package/dist/components/crm-tooltip.js.map +0 -1
- package/dist/components/giftback-finish.js +0 -8
- package/dist/components/giftback-finish.js.map +0 -1
- package/dist/components/giftback-info.js +0 -8
- package/dist/components/giftback-info.js.map +0 -1
- package/dist/components/giftback-pin.js +0 -8
- package/dist/components/giftback-pin.js.map +0 -1
- package/dist/components/giftback-progress.js +0 -8
- package/dist/components/giftback-progress.js.map +0 -1
- package/dist/components/index.js +0 -4
- package/dist/components/index.js.map +0 -1
- package/dist/components/loading-container.js +0 -8
- package/dist/components/loading-container.js.map +0 -1
- package/dist/components/loading-spinner.js +0 -8
- package/dist/components/loading-spinner.js.map +0 -1
- package/dist/components/name-input.js +0 -8
- package/dist/components/name-input.js.map +0 -1
- package/dist/components/p-11085d9b.js +0 -79
- package/dist/components/p-11085d9b.js.map +0 -1
- package/dist/components/p-246a3e9d.js.map +0 -1
- package/dist/components/p-2671d669.js.map +0 -1
- package/dist/components/p-2b3b8d6b.js.map +0 -1
- package/dist/components/p-3e84f78c.js +0 -1408
- package/dist/components/p-3e84f78c.js.map +0 -1
- package/dist/components/p-47f9da55.js +0 -46
- package/dist/components/p-47f9da55.js.map +0 -1
- package/dist/components/p-58b97429.js.map +0 -1
- package/dist/components/p-6186ddcc.js.map +0 -1
- package/dist/components/p-6c546e48.js.map +0 -1
- package/dist/components/p-6eda79c3.js.map +0 -1
- package/dist/components/p-75ba7b9a.js +0 -14
- package/dist/components/p-75ba7b9a.js.map +0 -1
- package/dist/components/p-7c744cca.js.map +0 -1
- package/dist/components/p-7cfea8fe.js +0 -19
- package/dist/components/p-7cfea8fe.js.map +0 -1
- package/dist/components/p-83a12a8f.js.map +0 -1
- package/dist/components/p-abbfbc98.js.map +0 -1
- package/dist/components/p-b79c86a8.js.map +0 -1
- package/dist/components/p-ba369e65.js +0 -21
- package/dist/components/p-ba369e65.js.map +0 -1
- package/dist/components/p-cc1ea33f.js +0 -36
- package/dist/components/p-cc1ea33f.js.map +0 -1
- package/dist/components/p-e18e11ae.js +0 -316
- package/dist/components/p-e18e11ae.js.map +0 -1
- package/dist/components/p-e8c19a64.js +0 -2217
- package/dist/components/p-e8c19a64.js.map +0 -1
- package/dist/components/p-f9aeffc1.js +0 -12
- package/dist/components/p-f9aeffc1.js.map +0 -1
- package/dist/components/p-fe9c3966.js +0 -39
- package/dist/components/p-fe9c3966.js.map +0 -1
- package/dist/components/pedido-finalizado.js +0 -54
- package/dist/components/pedido-finalizado.js.map +0 -1
- package/dist/components/phone-cancel-input.js +0 -55
- package/dist/components/phone-cancel-input.js.map +0 -1
- package/dist/components/phone-form.js +0 -8
- package/dist/components/phone-form.js.map +0 -1
- package/dist/components/phone-input-mask.js +0 -8
- package/dist/components/phone-input-mask.js.map +0 -1
- package/dist/components/phone-input.js +0 -55
- package/dist/components/phone-input.js.map +0 -1
- package/dist/components/pin-form.js +0 -8
- package/dist/components/pin-form.js.map +0 -1
- package/dist/crmbonus-component-wake/p-03b77c41.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-03b77c41.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-3d6152b1.js +0 -3
- package/dist/crmbonus-component-wake/p-3d6152b1.js.map +0 -1
- package/dist/crmbonus-component-wake/p-4fa63df0.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-4fa63df0.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-620ec1a3.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-620ec1a3.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-6eda79c3.js +0 -2
- package/dist/crmbonus-component-wake/p-6eda79c3.js.map +0 -1
- package/dist/crmbonus-component-wake/p-74206c91.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-74206c91.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-75ba7b9a.js +0 -2
- package/dist/crmbonus-component-wake/p-75ba7b9a.js.map +0 -1
- package/dist/crmbonus-component-wake/p-7b7fb354.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-7b7fb354.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-7cdb2c4a.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-7cdb2c4a.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-7cfea8fe.js +0 -2
- package/dist/crmbonus-component-wake/p-7cfea8fe.js.map +0 -1
- package/dist/crmbonus-component-wake/p-885fc30e.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-885fc30e.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-90716188.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-90716188.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-a33f7c24.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-a33f7c24.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-abbfbc98.js +0 -2
- package/dist/crmbonus-component-wake/p-abbfbc98.js.map +0 -1
- package/dist/crmbonus-component-wake/p-b7a8f915.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-b7a8f915.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-ba369e65.js +0 -2
- package/dist/crmbonus-component-wake/p-ba369e65.js.map +0 -1
- package/dist/crmbonus-component-wake/p-be3ddacc.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-be3ddacc.entry.js.map +0 -1
- package/dist/crmbonus-component-wake/p-c23f3a07.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-e1255160.js +0 -2
- package/dist/crmbonus-component-wake/p-e1255160.js.map +0 -1
- package/dist/crmbonus-component-wake/p-e8c19a64.js +0 -2
- package/dist/crmbonus-component-wake/p-e8c19a64.js.map +0 -1
- package/dist/crmbonus-component-wake/p-f9aeffc1.js +0 -2
- package/dist/crmbonus-component-wake/p-f9aeffc1.js.map +0 -1
- package/dist/crmbonus-component-wake/p-fad20959.entry.js +0 -2
- package/dist/crmbonus-component-wake/p-fad20959.entry.js.map +0 -1
- package/dist/env.js +0 -3
- package/dist/env.js.map +0 -1
- package/dist/esm/app-modal.entry.js.map +0 -1
- package/dist/esm/cart.helper-30a40560.js.map +0 -1
- package/dist/esm/countdown-timer_2.entry.js +0 -58
- package/dist/esm/countdown-timer_2.entry.js.map +0 -1
- package/dist/esm/crm-bonus-form.entry.js.map +0 -1
- package/dist/esm/crm-bonus-note.entry.js.map +0 -1
- package/dist/esm/crm-bonus.entry.js.map +0 -1
- package/dist/esm/crm-giftback-form_2.entry.js.map +0 -1
- package/dist/esm/crm-tooltip_4.entry.js +0 -204
- package/dist/esm/crm-tooltip_4.entry.js.map +0 -1
- package/dist/esm/crmbonus-component-wake.js +0 -22
- package/dist/esm/crmbonus-component-wake.js.map +0 -1
- package/dist/esm/crmbonus.service-42fbd7fa.js.map +0 -1
- package/dist/esm/giftback-finish_4.entry.js +0 -124
- package/dist/esm/giftback-finish_4.entry.js.map +0 -1
- package/dist/esm/index-e8724c8f.js +0 -1571
- package/dist/esm/index-e8724c8f.js.map +0 -1
- package/dist/esm/index.js +0 -3
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -13
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/loading-spinner.entry.js.map +0 -1
- package/dist/esm/pedido-finalizado.entry.js.map +0 -1
- package/dist/esm/phone-cancel-input.entry.js.map +0 -1
- package/dist/esm/phone-input-mask.entry.js.map +0 -1
- package/dist/esm/phone-input.entry.js.map +0 -1
- package/dist/esm/utils-d642b4db.js +0 -21
- package/dist/esm/utils-d642b4db.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- /package/dist/{esm → crmbonus-component-wake}/app-globals-0f993ce5.js +0 -0
- /package/dist/{esm → crmbonus-component-wake}/app-globals-0f993ce5.js.map +0 -0
- /package/dist/{esm → crmbonus-component-wake}/index-5b567099.js +0 -0
- /package/dist/{esm → crmbonus-component-wake}/index-5b567099.js.map +0 -0
- /package/dist/{esm → crmbonus-component-wake}/info.config.helper-42d9ddf9.js +0 -0
- /package/dist/{esm → crmbonus-component-wake}/info.config.helper-42d9ddf9.js.map +0 -0
- /package/dist/{esm → crmbonus-component-wake}/keys.storage-8c76fcd7.js +0 -0
- /package/dist/{esm → crmbonus-component-wake}/keys.storage-8c76fcd7.js.map +0 -0
@@ -1,11 +1,15 @@
|
|
1
1
|
import { U as USED_KEY, g as getKeyReserveByCartId, B as BYCODERS_KEY, a as getKeyConfigByStoreName } from './keys.storage-8c76fcd7.js';
|
2
2
|
|
3
|
+
'use strict';
|
4
|
+
|
3
5
|
function bind(fn, thisArg) {
|
4
6
|
return function wrap() {
|
5
7
|
return fn.apply(thisArg, arguments);
|
6
8
|
};
|
7
9
|
}
|
8
10
|
|
11
|
+
'use strict';
|
12
|
+
|
9
13
|
// utils is a library of generic helper functions non-specific to axios
|
10
14
|
|
11
15
|
const {toString} = Object.prototype;
|
@@ -763,6 +767,8 @@ const utils$1 = {
|
|
763
767
|
asap
|
764
768
|
};
|
765
769
|
|
770
|
+
'use strict';
|
771
|
+
|
766
772
|
/**
|
767
773
|
* Create an Error with the specified message, config, error code, request and response.
|
768
774
|
*
|
@@ -774,7 +780,7 @@ const utils$1 = {
|
|
774
780
|
*
|
775
781
|
* @returns {Error} The created error.
|
776
782
|
*/
|
777
|
-
function AxiosError(message, code, config, request, response) {
|
783
|
+
function AxiosError$1(message, code, config, request, response) {
|
778
784
|
Error.call(this);
|
779
785
|
|
780
786
|
if (Error.captureStackTrace) {
|
@@ -794,7 +800,7 @@ function AxiosError(message, code, config, request, response) {
|
|
794
800
|
}
|
795
801
|
}
|
796
802
|
|
797
|
-
utils$1.inherits(AxiosError, Error, {
|
803
|
+
utils$1.inherits(AxiosError$1, Error, {
|
798
804
|
toJSON: function toJSON() {
|
799
805
|
return {
|
800
806
|
// Standard
|
@@ -816,7 +822,7 @@ utils$1.inherits(AxiosError, Error, {
|
|
816
822
|
}
|
817
823
|
});
|
818
824
|
|
819
|
-
const prototype$1 = AxiosError.prototype;
|
825
|
+
const prototype$1 = AxiosError$1.prototype;
|
820
826
|
const descriptors = {};
|
821
827
|
|
822
828
|
[
|
@@ -837,11 +843,11 @@ const descriptors = {};
|
|
837
843
|
descriptors[code] = {value: code};
|
838
844
|
});
|
839
845
|
|
840
|
-
Object.defineProperties(AxiosError, descriptors);
|
846
|
+
Object.defineProperties(AxiosError$1, descriptors);
|
841
847
|
Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
|
842
848
|
|
843
849
|
// eslint-disable-next-line func-names
|
844
|
-
AxiosError.from = (error, code, config, request, response, customProps) => {
|
850
|
+
AxiosError$1.from = (error, code, config, request, response, customProps) => {
|
845
851
|
const axiosError = Object.create(prototype$1);
|
846
852
|
|
847
853
|
utils$1.toFlatObject(error, axiosError, function filter(obj) {
|
@@ -850,7 +856,7 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
850
856
|
return prop !== 'isAxiosError';
|
851
857
|
});
|
852
858
|
|
853
|
-
AxiosError.call(axiosError, error.message, code, config, request, response);
|
859
|
+
AxiosError$1.call(axiosError, error.message, code, config, request, response);
|
854
860
|
|
855
861
|
axiosError.cause = error;
|
856
862
|
|
@@ -864,6 +870,8 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
864
870
|
// eslint-disable-next-line strict
|
865
871
|
const httpAdapter = null;
|
866
872
|
|
873
|
+
'use strict';
|
874
|
+
|
867
875
|
/**
|
868
876
|
* Determines if the given thing is a array or js object.
|
869
877
|
*
|
@@ -942,13 +950,13 @@ const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop)
|
|
942
950
|
*
|
943
951
|
* @returns
|
944
952
|
*/
|
945
|
-
function toFormData(obj, formData, options) {
|
953
|
+
function toFormData$1(obj, formData, options) {
|
946
954
|
if (!utils$1.isObject(obj)) {
|
947
955
|
throw new TypeError('target must be an object');
|
948
956
|
}
|
949
957
|
|
950
958
|
// eslint-disable-next-line no-param-reassign
|
951
|
-
formData = formData || new (FormData)();
|
959
|
+
formData = formData || new (httpAdapter || FormData)();
|
952
960
|
|
953
961
|
// eslint-disable-next-line no-param-reassign
|
954
962
|
options = utils$1.toFlatObject(options, {
|
@@ -980,7 +988,7 @@ function toFormData(obj, formData, options) {
|
|
980
988
|
}
|
981
989
|
|
982
990
|
if (!useBlob && utils$1.isBlob(value)) {
|
983
|
-
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
991
|
+
throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
|
984
992
|
}
|
985
993
|
|
986
994
|
if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
|
@@ -1075,6 +1083,8 @@ function toFormData(obj, formData, options) {
|
|
1075
1083
|
return formData;
|
1076
1084
|
}
|
1077
1085
|
|
1086
|
+
'use strict';
|
1087
|
+
|
1078
1088
|
/**
|
1079
1089
|
* It encodes a string by replacing all characters that are not in the unreserved set with
|
1080
1090
|
* their percent-encoded equivalents
|
@@ -1109,7 +1119,7 @@ function encode$1(str) {
|
|
1109
1119
|
function AxiosURLSearchParams(params, options) {
|
1110
1120
|
this._pairs = [];
|
1111
1121
|
|
1112
|
-
params && toFormData(params, this, options);
|
1122
|
+
params && toFormData$1(params, this, options);
|
1113
1123
|
}
|
1114
1124
|
|
1115
1125
|
const prototype = AxiosURLSearchParams.prototype;
|
@@ -1128,6 +1138,8 @@ prototype.toString = function toString(encoder) {
|
|
1128
1138
|
}, '').join('&');
|
1129
1139
|
};
|
1130
1140
|
|
1141
|
+
'use strict';
|
1142
|
+
|
1131
1143
|
/**
|
1132
1144
|
* It replaces all instances of the characters `:`, `$`, `,`, `+`, `[`, and `]` with their
|
1133
1145
|
* URI encoded counterparts
|
@@ -1187,6 +1199,8 @@ function buildURL(url, params, options) {
|
|
1187
1199
|
return url;
|
1188
1200
|
}
|
1189
1201
|
|
1202
|
+
'use strict';
|
1203
|
+
|
1190
1204
|
class InterceptorManager {
|
1191
1205
|
constructor() {
|
1192
1206
|
this.handlers = [];
|
@@ -1253,7 +1267,7 @@ class InterceptorManager {
|
|
1253
1267
|
}
|
1254
1268
|
}
|
1255
1269
|
|
1256
|
-
|
1270
|
+
'use strict';
|
1257
1271
|
|
1258
1272
|
const transitionalDefaults = {
|
1259
1273
|
silentJSONParsing: true,
|
@@ -1261,10 +1275,15 @@ const transitionalDefaults = {
|
|
1261
1275
|
clarifyTimeoutError: false
|
1262
1276
|
};
|
1263
1277
|
|
1278
|
+
'use strict';
|
1264
1279
|
const URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
|
1265
1280
|
|
1281
|
+
'use strict';
|
1282
|
+
|
1266
1283
|
const FormData$1 = typeof FormData !== 'undefined' ? FormData : null;
|
1267
1284
|
|
1285
|
+
'use strict';
|
1286
|
+
|
1268
1287
|
const Blob$1 = typeof Blob !== 'undefined' ? Blob : null;
|
1269
1288
|
|
1270
1289
|
const platform$1 = {
|
@@ -1335,8 +1354,10 @@ const platform = {
|
|
1335
1354
|
...platform$1
|
1336
1355
|
};
|
1337
1356
|
|
1357
|
+
'use strict';
|
1358
|
+
|
1338
1359
|
function toURLEncodedForm(data, options) {
|
1339
|
-
return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
|
1360
|
+
return toFormData$1(data, new platform.classes.URLSearchParams(), Object.assign({
|
1340
1361
|
visitor: function(value, key, path, helpers) {
|
1341
1362
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
1342
1363
|
this.append(key, value.toString('base64'));
|
@@ -1348,6 +1369,8 @@ function toURLEncodedForm(data, options) {
|
|
1348
1369
|
}, options));
|
1349
1370
|
}
|
1350
1371
|
|
1372
|
+
'use strict';
|
1373
|
+
|
1351
1374
|
/**
|
1352
1375
|
* It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
|
1353
1376
|
*
|
@@ -1438,6 +1461,8 @@ function formDataToJSON(formData) {
|
|
1438
1461
|
return null;
|
1439
1462
|
}
|
1440
1463
|
|
1464
|
+
'use strict';
|
1465
|
+
|
1441
1466
|
/**
|
1442
1467
|
* It takes a string, tries to parse it, and if it fails, it returns the stringified version
|
1443
1468
|
* of the input
|
@@ -1511,7 +1536,7 @@ const defaults = {
|
|
1511
1536
|
if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
1512
1537
|
const _FormData = this.env && this.env.FormData;
|
1513
1538
|
|
1514
|
-
return toFormData(
|
1539
|
+
return toFormData$1(
|
1515
1540
|
isFileList ? {'files[]': data} : data,
|
1516
1541
|
_FormData && new _FormData(),
|
1517
1542
|
this.formSerializer
|
@@ -1545,7 +1570,7 @@ const defaults = {
|
|
1545
1570
|
} catch (e) {
|
1546
1571
|
if (strictJSONParsing) {
|
1547
1572
|
if (e.name === 'SyntaxError') {
|
1548
|
-
throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
1573
|
+
throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
1549
1574
|
}
|
1550
1575
|
throw e;
|
1551
1576
|
}
|
@@ -1588,7 +1613,7 @@ utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
1588
1613
|
defaults.headers[method] = {};
|
1589
1614
|
});
|
1590
1615
|
|
1591
|
-
|
1616
|
+
'use strict';
|
1592
1617
|
|
1593
1618
|
// RawAxiosHeaders whose duplicates are ignored by node
|
1594
1619
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
@@ -1642,6 +1667,8 @@ const parseHeaders = rawHeaders => {
|
|
1642
1667
|
return parsed;
|
1643
1668
|
};
|
1644
1669
|
|
1670
|
+
'use strict';
|
1671
|
+
|
1645
1672
|
const $internals = Symbol('internals');
|
1646
1673
|
|
1647
1674
|
function normalizeHeader(header) {
|
@@ -1710,7 +1737,7 @@ function buildAccessors(obj, header) {
|
|
1710
1737
|
});
|
1711
1738
|
}
|
1712
1739
|
|
1713
|
-
class AxiosHeaders {
|
1740
|
+
class AxiosHeaders$1 {
|
1714
1741
|
constructor(headers) {
|
1715
1742
|
headers && this.set(headers);
|
1716
1743
|
}
|
@@ -1923,10 +1950,10 @@ class AxiosHeaders {
|
|
1923
1950
|
}
|
1924
1951
|
}
|
1925
1952
|
|
1926
|
-
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
1953
|
+
AxiosHeaders$1.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
1927
1954
|
|
1928
1955
|
// reserved names hotfix
|
1929
|
-
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
1956
|
+
utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({value}, key) => {
|
1930
1957
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
1931
1958
|
return {
|
1932
1959
|
get: () => value,
|
@@ -1936,9 +1963,9 @@ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
1936
1963
|
}
|
1937
1964
|
});
|
1938
1965
|
|
1939
|
-
utils$1.freezeMethods(AxiosHeaders);
|
1966
|
+
utils$1.freezeMethods(AxiosHeaders$1);
|
1940
1967
|
|
1941
|
-
|
1968
|
+
'use strict';
|
1942
1969
|
|
1943
1970
|
/**
|
1944
1971
|
* Transform the data for a request or a response
|
@@ -1949,7 +1976,7 @@ const AxiosHeaders$1 = AxiosHeaders;
|
|
1949
1976
|
* @returns {*} The resulting transformed data
|
1950
1977
|
*/
|
1951
1978
|
function transformData(fns, response) {
|
1952
|
-
const config = this || defaults
|
1979
|
+
const config = this || defaults;
|
1953
1980
|
const context = response || config;
|
1954
1981
|
const headers = AxiosHeaders$1.from(context.headers);
|
1955
1982
|
let data = context.data;
|
@@ -1963,10 +1990,14 @@ function transformData(fns, response) {
|
|
1963
1990
|
return data;
|
1964
1991
|
}
|
1965
1992
|
|
1966
|
-
|
1993
|
+
'use strict';
|
1994
|
+
|
1995
|
+
function isCancel$1(value) {
|
1967
1996
|
return !!(value && value.__CANCEL__);
|
1968
1997
|
}
|
1969
1998
|
|
1999
|
+
'use strict';
|
2000
|
+
|
1970
2001
|
/**
|
1971
2002
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
1972
2003
|
*
|
@@ -1976,16 +2007,18 @@ function isCancel(value) {
|
|
1976
2007
|
*
|
1977
2008
|
* @returns {CanceledError} The created error.
|
1978
2009
|
*/
|
1979
|
-
function CanceledError(message, config, request) {
|
2010
|
+
function CanceledError$1(message, config, request) {
|
1980
2011
|
// eslint-disable-next-line no-eq-null,eqeqeq
|
1981
|
-
AxiosError.call(this, message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
|
2012
|
+
AxiosError$1.call(this, message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
|
1982
2013
|
this.name = 'CanceledError';
|
1983
2014
|
}
|
1984
2015
|
|
1985
|
-
utils$1.inherits(CanceledError, AxiosError, {
|
2016
|
+
utils$1.inherits(CanceledError$1, AxiosError$1, {
|
1986
2017
|
__CANCEL__: true
|
1987
2018
|
});
|
1988
2019
|
|
2020
|
+
'use strict';
|
2021
|
+
|
1989
2022
|
/**
|
1990
2023
|
* Resolve or reject a Promise based on response status.
|
1991
2024
|
*
|
@@ -2000,9 +2033,9 @@ function settle(resolve, reject, response) {
|
|
2000
2033
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
2001
2034
|
resolve(response);
|
2002
2035
|
} else {
|
2003
|
-
reject(new AxiosError(
|
2036
|
+
reject(new AxiosError$1(
|
2004
2037
|
'Request failed with status code ' + response.status,
|
2005
|
-
[AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
2038
|
+
[AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
2006
2039
|
response.config,
|
2007
2040
|
response.request,
|
2008
2041
|
response
|
@@ -2010,11 +2043,15 @@ function settle(resolve, reject, response) {
|
|
2010
2043
|
}
|
2011
2044
|
}
|
2012
2045
|
|
2046
|
+
'use strict';
|
2047
|
+
|
2013
2048
|
function parseProtocol(url) {
|
2014
2049
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
2015
2050
|
return match && match[1] || '';
|
2016
2051
|
}
|
2017
2052
|
|
2053
|
+
'use strict';
|
2054
|
+
|
2018
2055
|
/**
|
2019
2056
|
* Calculate data maxRate
|
2020
2057
|
* @param {Number} [samplesCount= 10]
|
@@ -2151,6 +2188,8 @@ const progressEventDecorator = (total, throttled) => {
|
|
2151
2188
|
|
2152
2189
|
const asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
|
2153
2190
|
|
2191
|
+
'use strict';
|
2192
|
+
|
2154
2193
|
const isURLSameOrigin = platform.hasStandardBrowserEnv ?
|
2155
2194
|
|
2156
2195
|
// Standard browser envs have full support of the APIs needed to test
|
@@ -2253,6 +2292,8 @@ const cookies = platform.hasStandardBrowserEnv ?
|
|
2253
2292
|
remove() {}
|
2254
2293
|
};
|
2255
2294
|
|
2295
|
+
'use strict';
|
2296
|
+
|
2256
2297
|
/**
|
2257
2298
|
* Determines whether the specified URL is absolute
|
2258
2299
|
*
|
@@ -2267,6 +2308,8 @@ function isAbsoluteURL(url) {
|
|
2267
2308
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
2268
2309
|
}
|
2269
2310
|
|
2311
|
+
'use strict';
|
2312
|
+
|
2270
2313
|
/**
|
2271
2314
|
* Creates a new URL by combining the specified URLs
|
2272
2315
|
*
|
@@ -2281,6 +2324,8 @@ function combineURLs(baseURL, relativeURL) {
|
|
2281
2324
|
: baseURL;
|
2282
2325
|
}
|
2283
2326
|
|
2327
|
+
'use strict';
|
2328
|
+
|
2284
2329
|
/**
|
2285
2330
|
* Creates a new URL by combining the baseURL with the requestedURL,
|
2286
2331
|
* only when the requestedURL is not already an absolute URL.
|
@@ -2298,6 +2343,8 @@ function buildFullPath(baseURL, requestedURL) {
|
|
2298
2343
|
return requestedURL;
|
2299
2344
|
}
|
2300
2345
|
|
2346
|
+
'use strict';
|
2347
|
+
|
2301
2348
|
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
2302
2349
|
|
2303
2350
|
/**
|
@@ -2309,7 +2356,7 @@ const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing
|
|
2309
2356
|
*
|
2310
2357
|
* @returns {Object} New object resulting from merging config2 to config1
|
2311
2358
|
*/
|
2312
|
-
function mergeConfig(config1, config2) {
|
2359
|
+
function mergeConfig$1(config1, config2) {
|
2313
2360
|
// eslint-disable-next-line no-param-reassign
|
2314
2361
|
config2 = config2 || {};
|
2315
2362
|
const config = {};
|
@@ -2401,7 +2448,7 @@ function mergeConfig(config1, config2) {
|
|
2401
2448
|
}
|
2402
2449
|
|
2403
2450
|
const resolveConfig = (config) => {
|
2404
|
-
const newConfig = mergeConfig({}, config);
|
2451
|
+
const newConfig = mergeConfig$1({}, config);
|
2405
2452
|
|
2406
2453
|
let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;
|
2407
2454
|
|
@@ -2536,7 +2583,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
2536
2583
|
return;
|
2537
2584
|
}
|
2538
2585
|
|
2539
|
-
reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
|
2586
|
+
reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
|
2540
2587
|
|
2541
2588
|
// Clean up request
|
2542
2589
|
request = null;
|
@@ -2546,7 +2593,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
2546
2593
|
request.onerror = function handleError() {
|
2547
2594
|
// Real errors are hidden from us by the browser
|
2548
2595
|
// onerror should only fire if it's a network error
|
2549
|
-
reject(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request));
|
2596
|
+
reject(new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request));
|
2550
2597
|
|
2551
2598
|
// Clean up request
|
2552
2599
|
request = null;
|
@@ -2559,9 +2606,9 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
2559
2606
|
if (_config.timeoutErrorMessage) {
|
2560
2607
|
timeoutErrorMessage = _config.timeoutErrorMessage;
|
2561
2608
|
}
|
2562
|
-
reject(new AxiosError(
|
2609
|
+
reject(new AxiosError$1(
|
2563
2610
|
timeoutErrorMessage,
|
2564
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
2611
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
2565
2612
|
config,
|
2566
2613
|
request));
|
2567
2614
|
|
@@ -2611,7 +2658,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
2611
2658
|
if (!request) {
|
2612
2659
|
return;
|
2613
2660
|
}
|
2614
|
-
reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
|
2661
|
+
reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
2615
2662
|
request.abort();
|
2616
2663
|
request = null;
|
2617
2664
|
};
|
@@ -2625,7 +2672,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
2625
2672
|
const protocol = parseProtocol(_config.url);
|
2626
2673
|
|
2627
2674
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
2628
|
-
reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
|
2675
|
+
reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
|
2629
2676
|
return;
|
2630
2677
|
}
|
2631
2678
|
|
@@ -2648,13 +2695,13 @@ const composeSignals = (signals, timeout) => {
|
|
2648
2695
|
aborted = true;
|
2649
2696
|
unsubscribe();
|
2650
2697
|
const err = reason instanceof Error ? reason : this.reason;
|
2651
|
-
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
2698
|
+
controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
|
2652
2699
|
}
|
2653
2700
|
};
|
2654
2701
|
|
2655
2702
|
let timer = timeout && setTimeout(() => {
|
2656
2703
|
timer = null;
|
2657
|
-
onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
|
2704
|
+
onabort(new AxiosError$1(`timeout ${timeout} of ms exceeded`, AxiosError$1.ETIMEDOUT));
|
2658
2705
|
}, timeout);
|
2659
2706
|
|
2660
2707
|
const unsubscribe = () => {
|
@@ -2678,8 +2725,6 @@ const composeSignals = (signals, timeout) => {
|
|
2678
2725
|
}
|
2679
2726
|
};
|
2680
2727
|
|
2681
|
-
const composeSignals$1 = composeSignals;
|
2682
|
-
|
2683
2728
|
const streamChunk = function* (chunk, chunkSize) {
|
2684
2729
|
let len = chunk.byteLength;
|
2685
2730
|
|
@@ -2813,7 +2858,7 @@ isFetchSupported && (((res) => {
|
|
2813
2858
|
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
|
2814
2859
|
!resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res) => res[type]() :
|
2815
2860
|
(_, config) => {
|
2816
|
-
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
2861
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
2817
2862
|
});
|
2818
2863
|
});
|
2819
2864
|
})(new Response));
|
@@ -2872,7 +2917,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
2872
2917
|
|
2873
2918
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
2874
2919
|
|
2875
|
-
let composedSignal = composeSignals
|
2920
|
+
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
2876
2921
|
|
2877
2922
|
let request;
|
2878
2923
|
|
@@ -2974,14 +3019,14 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
2974
3019
|
|
2975
3020
|
if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
|
2976
3021
|
throw Object.assign(
|
2977
|
-
new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
|
3022
|
+
new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request),
|
2978
3023
|
{
|
2979
3024
|
cause: err.cause || err
|
2980
3025
|
}
|
2981
3026
|
)
|
2982
3027
|
}
|
2983
3028
|
|
2984
|
-
throw AxiosError.from(err, err && err.code, config, request);
|
3029
|
+
throw AxiosError$1.from(err, err && err.code, config, request);
|
2985
3030
|
}
|
2986
3031
|
});
|
2987
3032
|
|
@@ -3026,7 +3071,7 @@ const adapters = {
|
|
3026
3071
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
3027
3072
|
|
3028
3073
|
if (adapter === undefined) {
|
3029
|
-
throw new AxiosError(`Unknown adapter '${id}'`);
|
3074
|
+
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
3030
3075
|
}
|
3031
3076
|
}
|
3032
3077
|
|
@@ -3048,7 +3093,7 @@ const adapters = {
|
|
3048
3093
|
(reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
|
3049
3094
|
'as no adapter specified';
|
3050
3095
|
|
3051
|
-
throw new AxiosError(
|
3096
|
+
throw new AxiosError$1(
|
3052
3097
|
`There is no suitable adapter to dispatch the request ` + s,
|
3053
3098
|
'ERR_NOT_SUPPORT'
|
3054
3099
|
);
|
@@ -3059,6 +3104,8 @@ const adapters = {
|
|
3059
3104
|
adapters: knownAdapters
|
3060
3105
|
};
|
3061
3106
|
|
3107
|
+
'use strict';
|
3108
|
+
|
3062
3109
|
/**
|
3063
3110
|
* Throws a `CanceledError` if cancellation has been requested.
|
3064
3111
|
*
|
@@ -3072,7 +3119,7 @@ function throwIfCancellationRequested(config) {
|
|
3072
3119
|
}
|
3073
3120
|
|
3074
3121
|
if (config.signal && config.signal.aborted) {
|
3075
|
-
throw new CanceledError(null, config);
|
3122
|
+
throw new CanceledError$1(null, config);
|
3076
3123
|
}
|
3077
3124
|
}
|
3078
3125
|
|
@@ -3098,7 +3145,7 @@ function dispatchRequest(config) {
|
|
3098
3145
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
3099
3146
|
}
|
3100
3147
|
|
3101
|
-
const adapter = adapters.getAdapter(config.adapter || defaults
|
3148
|
+
const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
|
3102
3149
|
|
3103
3150
|
return adapter(config).then(function onAdapterResolution(response) {
|
3104
3151
|
throwIfCancellationRequested(config);
|
@@ -3114,7 +3161,7 @@ function dispatchRequest(config) {
|
|
3114
3161
|
|
3115
3162
|
return response;
|
3116
3163
|
}, function onAdapterRejection(reason) {
|
3117
|
-
if (!isCancel(reason)) {
|
3164
|
+
if (!isCancel$1(reason)) {
|
3118
3165
|
throwIfCancellationRequested(config);
|
3119
3166
|
|
3120
3167
|
// Transform response data
|
@@ -3132,7 +3179,9 @@ function dispatchRequest(config) {
|
|
3132
3179
|
});
|
3133
3180
|
}
|
3134
3181
|
|
3135
|
-
const VERSION = "1.7.7";
|
3182
|
+
const VERSION$1 = "1.7.7";
|
3183
|
+
|
3184
|
+
'use strict';
|
3136
3185
|
|
3137
3186
|
const validators$1 = {};
|
3138
3187
|
|
@@ -3156,15 +3205,15 @@ const deprecatedWarnings = {};
|
|
3156
3205
|
*/
|
3157
3206
|
validators$1.transitional = function transitional(validator, version, message) {
|
3158
3207
|
function formatMessage(opt, desc) {
|
3159
|
-
return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
3208
|
+
return '[Axios v' + VERSION$1 + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
3160
3209
|
}
|
3161
3210
|
|
3162
3211
|
// eslint-disable-next-line func-names
|
3163
3212
|
return (value, opt, opts) => {
|
3164
3213
|
if (validator === false) {
|
3165
|
-
throw new AxiosError(
|
3214
|
+
throw new AxiosError$1(
|
3166
3215
|
formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
|
3167
|
-
AxiosError.ERR_DEPRECATED
|
3216
|
+
AxiosError$1.ERR_DEPRECATED
|
3168
3217
|
);
|
3169
3218
|
}
|
3170
3219
|
|
@@ -3195,7 +3244,7 @@ validators$1.transitional = function transitional(validator, version, message) {
|
|
3195
3244
|
|
3196
3245
|
function assertOptions(options, schema, allowUnknown) {
|
3197
3246
|
if (typeof options !== 'object') {
|
3198
|
-
throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
|
3247
|
+
throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
|
3199
3248
|
}
|
3200
3249
|
const keys = Object.keys(options);
|
3201
3250
|
let i = keys.length;
|
@@ -3206,12 +3255,12 @@ function assertOptions(options, schema, allowUnknown) {
|
|
3206
3255
|
const value = options[opt];
|
3207
3256
|
const result = value === undefined || validator(value, opt, options);
|
3208
3257
|
if (result !== true) {
|
3209
|
-
throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
3258
|
+
throw new AxiosError$1('option ' + opt + ' must be ' + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
|
3210
3259
|
}
|
3211
3260
|
continue;
|
3212
3261
|
}
|
3213
3262
|
if (allowUnknown !== true) {
|
3214
|
-
throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
|
3263
|
+
throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
|
3215
3264
|
}
|
3216
3265
|
}
|
3217
3266
|
}
|
@@ -3221,6 +3270,8 @@ const validator = {
|
|
3221
3270
|
validators: validators$1
|
3222
3271
|
};
|
3223
3272
|
|
3273
|
+
'use strict';
|
3274
|
+
|
3224
3275
|
const validators = validator.validators;
|
3225
3276
|
|
3226
3277
|
/**
|
@@ -3230,12 +3281,12 @@ const validators = validator.validators;
|
|
3230
3281
|
*
|
3231
3282
|
* @return {Axios} A new instance of Axios
|
3232
3283
|
*/
|
3233
|
-
class Axios {
|
3284
|
+
class Axios$1 {
|
3234
3285
|
constructor(instanceConfig) {
|
3235
3286
|
this.defaults = instanceConfig;
|
3236
3287
|
this.interceptors = {
|
3237
|
-
request: new InterceptorManager
|
3238
|
-
response: new InterceptorManager
|
3288
|
+
request: new InterceptorManager(),
|
3289
|
+
response: new InterceptorManager()
|
3239
3290
|
};
|
3240
3291
|
}
|
3241
3292
|
|
@@ -3284,7 +3335,7 @@ class Axios {
|
|
3284
3335
|
config = configOrUrl || {};
|
3285
3336
|
}
|
3286
3337
|
|
3287
|
-
config = mergeConfig(this.defaults, config);
|
3338
|
+
config = mergeConfig$1(this.defaults, config);
|
3288
3339
|
|
3289
3340
|
const {transitional, paramsSerializer, headers} = config;
|
3290
3341
|
|
@@ -3398,7 +3449,7 @@ class Axios {
|
|
3398
3449
|
}
|
3399
3450
|
|
3400
3451
|
getUri(config) {
|
3401
|
-
config = mergeConfig(this.defaults, config);
|
3452
|
+
config = mergeConfig$1(this.defaults, config);
|
3402
3453
|
const fullPath = buildFullPath(config.baseURL, config.url);
|
3403
3454
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
3404
3455
|
}
|
@@ -3407,8 +3458,8 @@ class Axios {
|
|
3407
3458
|
// Provide aliases for supported request methods
|
3408
3459
|
utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
3409
3460
|
/*eslint func-names:0*/
|
3410
|
-
Axios.prototype[method] = function(url, config) {
|
3411
|
-
return this.request(mergeConfig(config || {}, {
|
3461
|
+
Axios$1.prototype[method] = function(url, config) {
|
3462
|
+
return this.request(mergeConfig$1(config || {}, {
|
3412
3463
|
method,
|
3413
3464
|
url,
|
3414
3465
|
data: (config || {}).data
|
@@ -3421,7 +3472,7 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
3421
3472
|
|
3422
3473
|
function generateHTTPMethod(isForm) {
|
3423
3474
|
return function httpMethod(url, data, config) {
|
3424
|
-
return this.request(mergeConfig(config || {}, {
|
3475
|
+
return this.request(mergeConfig$1(config || {}, {
|
3425
3476
|
method,
|
3426
3477
|
headers: isForm ? {
|
3427
3478
|
'Content-Type': 'multipart/form-data'
|
@@ -3432,12 +3483,12 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
3432
3483
|
};
|
3433
3484
|
}
|
3434
3485
|
|
3435
|
-
Axios.prototype[method] = generateHTTPMethod();
|
3486
|
+
Axios$1.prototype[method] = generateHTTPMethod();
|
3436
3487
|
|
3437
|
-
Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
3488
|
+
Axios$1.prototype[method + 'Form'] = generateHTTPMethod(true);
|
3438
3489
|
});
|
3439
3490
|
|
3440
|
-
|
3491
|
+
'use strict';
|
3441
3492
|
|
3442
3493
|
/**
|
3443
3494
|
* A `CancelToken` is an object that can be used to request cancellation of an operation.
|
@@ -3446,7 +3497,7 @@ const Axios$1 = Axios;
|
|
3446
3497
|
*
|
3447
3498
|
* @returns {CancelToken}
|
3448
3499
|
*/
|
3449
|
-
class CancelToken {
|
3500
|
+
class CancelToken$1 {
|
3450
3501
|
constructor(executor) {
|
3451
3502
|
if (typeof executor !== 'function') {
|
3452
3503
|
throw new TypeError('executor must be a function.');
|
@@ -3494,7 +3545,7 @@ class CancelToken {
|
|
3494
3545
|
return;
|
3495
3546
|
}
|
3496
3547
|
|
3497
|
-
token.reason = new CanceledError(message, config, request);
|
3548
|
+
token.reason = new CanceledError$1(message, config, request);
|
3498
3549
|
resolvePromise(token.reason);
|
3499
3550
|
});
|
3500
3551
|
}
|
@@ -3559,7 +3610,7 @@ class CancelToken {
|
|
3559
3610
|
*/
|
3560
3611
|
static source() {
|
3561
3612
|
let cancel;
|
3562
|
-
const token = new CancelToken(function executor(c) {
|
3613
|
+
const token = new CancelToken$1(function executor(c) {
|
3563
3614
|
cancel = c;
|
3564
3615
|
});
|
3565
3616
|
return {
|
@@ -3569,7 +3620,7 @@ class CancelToken {
|
|
3569
3620
|
}
|
3570
3621
|
}
|
3571
3622
|
|
3572
|
-
|
3623
|
+
'use strict';
|
3573
3624
|
|
3574
3625
|
/**
|
3575
3626
|
* Syntactic sugar for invoking a function and expanding an array for arguments.
|
@@ -3592,12 +3643,14 @@ const CancelToken$1 = CancelToken;
|
|
3592
3643
|
*
|
3593
3644
|
* @returns {Function}
|
3594
3645
|
*/
|
3595
|
-
function spread(callback) {
|
3646
|
+
function spread$1(callback) {
|
3596
3647
|
return function wrap(arr) {
|
3597
3648
|
return callback.apply(null, arr);
|
3598
3649
|
};
|
3599
3650
|
}
|
3600
3651
|
|
3652
|
+
'use strict';
|
3653
|
+
|
3601
3654
|
/**
|
3602
3655
|
* Determines whether the payload is an error thrown by Axios
|
3603
3656
|
*
|
@@ -3605,11 +3658,11 @@ function spread(callback) {
|
|
3605
3658
|
*
|
3606
3659
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
3607
3660
|
*/
|
3608
|
-
function isAxiosError(payload) {
|
3661
|
+
function isAxiosError$1(payload) {
|
3609
3662
|
return utils$1.isObject(payload) && (payload.isAxiosError === true);
|
3610
3663
|
}
|
3611
3664
|
|
3612
|
-
const HttpStatusCode = {
|
3665
|
+
const HttpStatusCode$1 = {
|
3613
3666
|
Continue: 100,
|
3614
3667
|
SwitchingProtocols: 101,
|
3615
3668
|
Processing: 102,
|
@@ -3675,11 +3728,11 @@ const HttpStatusCode = {
|
|
3675
3728
|
NetworkAuthenticationRequired: 511,
|
3676
3729
|
};
|
3677
3730
|
|
3678
|
-
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
3679
|
-
HttpStatusCode[value] = key;
|
3731
|
+
Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
3732
|
+
HttpStatusCode$1[value] = key;
|
3680
3733
|
});
|
3681
3734
|
|
3682
|
-
|
3735
|
+
'use strict';
|
3683
3736
|
|
3684
3737
|
/**
|
3685
3738
|
* Create an instance of Axios
|
@@ -3700,27 +3753,27 @@ function createInstance(defaultConfig) {
|
|
3700
3753
|
|
3701
3754
|
// Factory for creating new instances
|
3702
3755
|
instance.create = function create(instanceConfig) {
|
3703
|
-
return createInstance(mergeConfig(defaultConfig, instanceConfig));
|
3756
|
+
return createInstance(mergeConfig$1(defaultConfig, instanceConfig));
|
3704
3757
|
};
|
3705
3758
|
|
3706
3759
|
return instance;
|
3707
3760
|
}
|
3708
3761
|
|
3709
3762
|
// Create the default instance to be exported
|
3710
|
-
const axios = createInstance(defaults
|
3763
|
+
const axios = createInstance(defaults);
|
3711
3764
|
|
3712
3765
|
// Expose Axios class to allow class inheritance
|
3713
3766
|
axios.Axios = Axios$1;
|
3714
3767
|
|
3715
3768
|
// Expose Cancel & CancelToken
|
3716
|
-
axios.CanceledError = CanceledError;
|
3769
|
+
axios.CanceledError = CanceledError$1;
|
3717
3770
|
axios.CancelToken = CancelToken$1;
|
3718
|
-
axios.isCancel = isCancel;
|
3719
|
-
axios.VERSION = VERSION;
|
3720
|
-
axios.toFormData = toFormData;
|
3771
|
+
axios.isCancel = isCancel$1;
|
3772
|
+
axios.VERSION = VERSION$1;
|
3773
|
+
axios.toFormData = toFormData$1;
|
3721
3774
|
|
3722
3775
|
// Expose AxiosError class
|
3723
|
-
axios.AxiosError = AxiosError;
|
3776
|
+
axios.AxiosError = AxiosError$1;
|
3724
3777
|
|
3725
3778
|
// alias for CanceledError for backward compatibility
|
3726
3779
|
axios.Cancel = axios.CanceledError;
|
@@ -3730,13 +3783,13 @@ axios.all = function all(promises) {
|
|
3730
3783
|
return Promise.all(promises);
|
3731
3784
|
};
|
3732
3785
|
|
3733
|
-
axios.spread = spread;
|
3786
|
+
axios.spread = spread$1;
|
3734
3787
|
|
3735
3788
|
// Expose isAxiosError
|
3736
|
-
axios.isAxiosError = isAxiosError;
|
3789
|
+
axios.isAxiosError = isAxiosError$1;
|
3737
3790
|
|
3738
3791
|
// Expose mergeConfig
|
3739
|
-
axios.mergeConfig = mergeConfig;
|
3792
|
+
axios.mergeConfig = mergeConfig$1;
|
3740
3793
|
|
3741
3794
|
axios.AxiosHeaders = AxiosHeaders$1;
|
3742
3795
|
|
@@ -3748,15 +3801,34 @@ axios.HttpStatusCode = HttpStatusCode$1;
|
|
3748
3801
|
|
3749
3802
|
axios.default = axios;
|
3750
3803
|
|
3751
|
-
//
|
3752
|
-
|
3804
|
+
// This module is intended to unwrap Axios default export as named.
|
3805
|
+
// Keep top-level export same with static properties
|
3806
|
+
// so that it can keep same with es module or cjs
|
3807
|
+
const {
|
3808
|
+
Axios,
|
3809
|
+
AxiosError,
|
3810
|
+
CanceledError,
|
3811
|
+
isCancel,
|
3812
|
+
CancelToken,
|
3813
|
+
VERSION,
|
3814
|
+
all,
|
3815
|
+
Cancel,
|
3816
|
+
isAxiosError,
|
3817
|
+
spread,
|
3818
|
+
toFormData,
|
3819
|
+
AxiosHeaders,
|
3820
|
+
HttpStatusCode,
|
3821
|
+
formToJSON,
|
3822
|
+
getAdapter,
|
3823
|
+
mergeConfig
|
3824
|
+
} = axios;
|
3753
3825
|
|
3754
3826
|
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";
|
3755
3827
|
const CHECKOUT_CART_WAKE = "http://localhost:3001";
|
3756
3828
|
|
3757
3829
|
class CrmBonusService {
|
3758
3830
|
constructor() {
|
3759
|
-
this.axiosInstance = axios
|
3831
|
+
this.axiosInstance = axios.create({
|
3760
3832
|
baseURL: CRM_BONUS_API_URL,
|
3761
3833
|
headers: {
|
3762
3834
|
'Content-Type': 'application/json',
|
@@ -3871,4 +3943,4 @@ CrmBonusService._instance = null;
|
|
3871
3943
|
|
3872
3944
|
export { CrmBonusService as C, CHECKOUT_CART_WAKE as a };
|
3873
3945
|
|
3874
|
-
//# sourceMappingURL=crmbonus.service-
|
3946
|
+
//# sourceMappingURL=crmbonus.service-67550994.js.map
|