crmbonus-component-wake 2.0.128 → 2.0.129

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.
Files changed (370) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/app-modal.cjs.entry.js +28 -0
  4. package/dist/cjs/app-modal.cjs.entry.js.map +1 -0
  5. package/dist/cjs/cart.helper-d4d8d619.js +77 -0
  6. package/dist/cjs/cart.helper-d4d8d619.js.map +1 -0
  7. package/dist/cjs/countdown-timer_2.cjs.entry.js +63 -0
  8. package/dist/cjs/countdown-timer_2.cjs.entry.js.map +1 -0
  9. package/dist/cjs/crm-bonus-form.cjs.entry.js +104 -0
  10. package/dist/cjs/crm-bonus-form.cjs.entry.js.map +1 -0
  11. package/dist/cjs/crm-bonus-note.cjs.entry.js +101 -0
  12. package/dist/cjs/crm-bonus-note.cjs.entry.js.map +1 -0
  13. package/dist/cjs/crm-bonus.cjs.entry.js +249 -0
  14. package/dist/cjs/crm-bonus.cjs.entry.js.map +1 -0
  15. package/dist/cjs/crm-giftback-form_2.cjs.entry.js +253 -0
  16. package/dist/{crmbonus-component-wake/crm-giftback-form.entry.js.map → cjs/crm-giftback-form_2.cjs.entry.js.map} +1 -1
  17. package/dist/cjs/crm-tooltip_4.cjs.entry.js +211 -0
  18. package/dist/cjs/crm-tooltip_4.cjs.entry.js.map +1 -0
  19. package/dist/cjs/crmbonus-component-wake.cjs.js +27 -0
  20. package/dist/cjs/crmbonus-component-wake.cjs.js.map +1 -0
  21. package/dist/cjs/crmbonus.service-9067d00d.js +3877 -0
  22. package/dist/cjs/crmbonus.service-9067d00d.js.map +1 -0
  23. package/dist/cjs/giftback-finish_4.cjs.entry.js +131 -0
  24. package/dist/cjs/giftback-finish_4.cjs.entry.js.map +1 -0
  25. package/dist/cjs/i18n-f2a6f60e.js +2219 -0
  26. package/dist/cjs/i18n-f2a6f60e.js.map +1 -0
  27. package/dist/cjs/index-6054ed44.js +21 -0
  28. package/dist/cjs/index-6054ed44.js.map +1 -0
  29. package/dist/cjs/index-d11684bd.js +1599 -0
  30. package/dist/cjs/index-d11684bd.js.map +1 -0
  31. package/dist/cjs/index.cjs.js +11 -0
  32. package/dist/cjs/index.cjs.js.map +1 -0
  33. package/dist/cjs/info.config.helper-c5d9f781.js +16 -0
  34. package/dist/cjs/info.config.helper-c5d9f781.js.map +1 -0
  35. package/dist/cjs/keys.storage-de7744aa.js +17 -0
  36. package/dist/cjs/keys.storage-de7744aa.js.map +1 -0
  37. package/dist/cjs/loader.cjs.js +17 -0
  38. package/dist/cjs/loader.cjs.js.map +1 -0
  39. package/dist/cjs/loading-spinner.cjs.entry.js +24 -0
  40. package/dist/cjs/loading-spinner.cjs.entry.js.map +1 -0
  41. package/dist/cjs/pedido-finalizado.cjs.entry.js +39 -0
  42. package/dist/cjs/pedido-finalizado.cjs.entry.js.map +1 -0
  43. package/dist/cjs/phone-cancel-input.cjs.entry.js +25 -0
  44. package/dist/cjs/phone-cancel-input.cjs.entry.js.map +1 -0
  45. package/dist/cjs/phone-input-mask.cjs.entry.js +61 -0
  46. package/dist/cjs/phone-input-mask.cjs.entry.js.map +1 -0
  47. package/dist/cjs/phone-input.cjs.entry.js +25 -0
  48. package/dist/cjs/phone-input.cjs.entry.js.map +1 -0
  49. package/dist/cjs/utils-e9413ee3.js +25 -0
  50. package/dist/cjs/utils-e9413ee3.js.map +1 -0
  51. package/dist/collection/assets/svg/info-circle-svgrepo-com.svg +6 -0
  52. package/dist/collection/assets/svg/money-dollars-svgrepo-com.svg +6 -0
  53. package/dist/collection/collection-manifest.json +32 -0
  54. package/dist/collection/components/button/crm-button.css +22 -0
  55. package/dist/collection/components/button/index.js +76 -0
  56. package/dist/collection/components/button/index.js.map +1 -0
  57. package/dist/collection/components/countdown-timer/countdown-timer.js +81 -0
  58. package/dist/collection/components/countdown-timer/countdown-timer.js.map +1 -0
  59. package/dist/collection/components/crm-bonus/assets/logo.svg +18 -0
  60. package/dist/collection/components/crm-bonus/assets/success-svgrepo-com.svg +8 -0
  61. package/dist/collection/components/crm-bonus/assets/svg/logo.svg +18 -0
  62. package/dist/collection/components/crm-bonus/assets/svg/success-svgrepo-com.svg +8 -0
  63. package/dist/collection/components/crm-bonus/crm-bonus.css +84 -0
  64. package/dist/collection/components/crm-bonus/crm-bonus.js +313 -0
  65. package/dist/collection/components/crm-bonus/crm-bonus.js.map +1 -0
  66. package/dist/collection/components/crm-bonus-form/crm-bonus-form.css +19 -0
  67. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js +348 -0
  68. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js.map +1 -0
  69. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.css +10 -0
  70. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js +20 -0
  71. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js.map +1 -0
  72. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.css +70 -0
  73. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js +126 -0
  74. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js.map +1 -0
  75. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.css +110 -0
  76. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js +127 -0
  77. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js.map +1 -0
  78. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.css +108 -0
  79. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js +110 -0
  80. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js.map +1 -0
  81. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js +75 -0
  82. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js.map +1 -0
  83. package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js +75 -0
  84. package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js.map +1 -0
  85. package/dist/collection/components/giftback-form/giftback-form.css +75 -0
  86. package/dist/collection/components/giftback-form/giftback-form.js +410 -0
  87. package/dist/collection/components/giftback-form/giftback-form.js.map +1 -0
  88. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.css +181 -0
  89. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js +221 -0
  90. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js.map +1 -0
  91. package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js +11 -0
  92. package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js.map +1 -0
  93. package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js +103 -0
  94. package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js.map +1 -0
  95. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.css +84 -0
  96. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js +197 -0
  97. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js.map +1 -0
  98. package/dist/collection/components/loading-container/loading-container.css +47 -0
  99. package/dist/collection/components/loading-container/loading-container.js +43 -0
  100. package/dist/collection/components/loading-container/loading-container.js.map +1 -0
  101. package/dist/collection/components/loading-spinner/loading-spinner.css +17 -0
  102. package/dist/collection/components/loading-spinner/loading-spinner.js +63 -0
  103. package/dist/collection/components/loading-spinner/loading-spinner.js.map +1 -0
  104. package/dist/collection/components/modal/app-modal.css +45 -0
  105. package/dist/collection/components/modal/app-modal.js +83 -0
  106. package/dist/collection/components/modal/app-modal.js.map +1 -0
  107. package/dist/collection/components/note/crm-bonus-note.css +71 -0
  108. package/dist/collection/components/note/crm-bonus-note.js +117 -0
  109. package/dist/collection/components/note/crm-bonus-note.js.map +1 -0
  110. package/dist/collection/components/pedido/pedido.js +52 -0
  111. package/dist/collection/components/pedido/pedido.js.map +1 -0
  112. package/dist/collection/components/phone/phone-input-mask.css +40 -0
  113. package/dist/collection/components/phone/phone-input-mask.js +125 -0
  114. package/dist/collection/components/phone/phone-input-mask.js.map +1 -0
  115. package/dist/collection/components/tooltip/crm-tooltip.css +49 -0
  116. package/dist/collection/components/tooltip/tooltip.js +61 -0
  117. package/dist/collection/components/tooltip/tooltip.js.map +1 -0
  118. package/dist/collection/contants/index.js +16 -0
  119. package/dist/collection/contants/index.js.map +1 -0
  120. package/dist/collection/contants/mocks.js +28 -0
  121. package/dist/collection/contants/mocks.js.map +1 -0
  122. package/dist/collection/dto/pin.sent.js +2 -0
  123. package/dist/collection/dto/pin.sent.js.map +1 -0
  124. package/dist/collection/dto/update.order.dto.js +2 -0
  125. package/dist/collection/dto/update.order.dto.js.map +1 -0
  126. package/dist/collection/dto/validate.pin.bonus.js +5 -0
  127. package/dist/collection/dto/validate.pin.bonus.js.map +1 -0
  128. package/dist/collection/helpers/build.payload.helper.js +25 -0
  129. package/dist/collection/helpers/build.payload.helper.js.map +1 -0
  130. package/dist/collection/helpers/cart.helper.js +27 -0
  131. package/dist/collection/helpers/cart.helper.js.map +1 -0
  132. package/dist/collection/helpers/info.config.helper.js +11 -0
  133. package/dist/collection/helpers/info.config.helper.js.map +1 -0
  134. package/dist/collection/helpers/time.helper.js +12 -0
  135. package/dist/collection/helpers/time.helper.js.map +1 -0
  136. package/dist/collection/i18n/i18n.js +35 -0
  137. package/dist/collection/i18n/i18n.js.map +1 -0
  138. package/dist/collection/index.js +11 -0
  139. package/dist/collection/index.js.map +1 -0
  140. package/dist/collection/objectvalues/cart.wake.js +46 -0
  141. package/dist/collection/objectvalues/cart.wake.js.map +1 -0
  142. package/dist/collection/services/crmbonus.service.js +118 -0
  143. package/dist/collection/services/crmbonus.service.js.map +1 -0
  144. package/dist/collection/utils/keys.storage.js +9 -0
  145. package/dist/collection/utils/keys.storage.js.map +1 -0
  146. package/dist/{crmbonus-component-wake/utils-96cf9ae0.js → collection/utils/utils.js} +5 -8
  147. package/dist/collection/utils/utils.js.map +1 -0
  148. package/dist/components/app-modal.js +46 -0
  149. package/dist/components/app-modal.js.map +1 -0
  150. package/dist/components/countdown-timer.js +8 -0
  151. package/dist/components/countdown-timer.js.map +1 -0
  152. package/dist/components/crm-bonus-form.js +165 -0
  153. package/dist/components/crm-bonus-form.js.map +1 -0
  154. package/dist/components/crm-bonus-note.js +139 -0
  155. package/dist/components/crm-bonus-note.js.map +1 -0
  156. package/dist/components/crm-bonus.js +339 -0
  157. package/dist/components/crm-bonus.js.map +1 -0
  158. package/dist/components/crm-button.js +8 -0
  159. package/dist/components/crm-button.js.map +1 -0
  160. package/dist/components/crm-giftback-form.js +8 -0
  161. package/dist/components/crm-giftback-form.js.map +1 -0
  162. package/dist/components/crm-tooltip.js +8 -0
  163. package/dist/components/crm-tooltip.js.map +1 -0
  164. package/dist/components/giftback-finish.js +8 -0
  165. package/dist/components/giftback-finish.js.map +1 -0
  166. package/dist/components/giftback-info.js +8 -0
  167. package/dist/components/giftback-info.js.map +1 -0
  168. package/dist/components/giftback-pin.js +8 -0
  169. package/dist/components/giftback-pin.js.map +1 -0
  170. package/dist/components/giftback-progress.js +8 -0
  171. package/dist/components/giftback-progress.js.map +1 -0
  172. package/dist/components/index.js +4 -0
  173. package/dist/components/index.js.map +1 -0
  174. package/dist/components/loading-container.js +8 -0
  175. package/dist/components/loading-container.js.map +1 -0
  176. package/dist/components/loading-spinner.js +8 -0
  177. package/dist/components/loading-spinner.js.map +1 -0
  178. package/dist/components/name-input.js +8 -0
  179. package/dist/components/name-input.js.map +1 -0
  180. package/dist/components/p-11085d9b.js +79 -0
  181. package/dist/components/p-11085d9b.js.map +1 -0
  182. package/dist/{crmbonus-component-wake/name-input.entry.js → components/p-246a3e9d.js} +37 -8
  183. package/dist/components/p-246a3e9d.js.map +1 -0
  184. package/dist/{crmbonus-component-wake/giftback-info.entry.js → components/p-2671d669.js} +52 -12
  185. package/dist/components/p-2671d669.js.map +1 -0
  186. package/dist/{crmbonus-component-wake/countdown-timer.entry.js → components/p-2b3b8d6b.js} +27 -7
  187. package/dist/components/p-2b3b8d6b.js.map +1 -0
  188. package/dist/components/p-3e84f78c.js +1408 -0
  189. package/dist/components/p-3e84f78c.js.map +1 -0
  190. package/dist/components/p-47f9da55.js +46 -0
  191. package/dist/components/p-47f9da55.js.map +1 -0
  192. package/dist/components/p-5443db37.js +316 -0
  193. package/dist/components/p-5443db37.js.map +1 -0
  194. package/dist/{crmbonus-component-wake/crm-tooltip.entry.js → components/p-58b97429.js} +27 -8
  195. package/dist/components/p-58b97429.js.map +1 -0
  196. package/dist/{crmbonus-component-wake/giftback-pin.entry.js → components/p-6186ddcc.js} +38 -8
  197. package/dist/components/p-6186ddcc.js.map +1 -0
  198. package/dist/{crmbonus-component-wake/phone-form.entry.js → components/p-6c546e48.js} +47 -8
  199. package/dist/components/p-6c546e48.js.map +1 -0
  200. package/dist/{crmbonus-component-wake/crmbonus.service-9f4c6fd7.js → components/p-6eda79c3.js} +93 -165
  201. package/dist/components/p-6eda79c3.js.map +1 -0
  202. package/dist/components/p-75ba7b9a.js +14 -0
  203. package/dist/components/p-75ba7b9a.js.map +1 -0
  204. package/dist/{crmbonus-component-wake/giftback-progress.entry.js → components/p-7c744cca.js} +37 -8
  205. package/dist/components/p-7c744cca.js.map +1 -0
  206. package/dist/components/p-7cfea8fe.js +19 -0
  207. package/dist/components/p-7cfea8fe.js.map +1 -0
  208. package/dist/{crmbonus-component-wake/pin-form.entry.js → components/p-83a12a8f.js} +56 -9
  209. package/dist/components/p-83a12a8f.js.map +1 -0
  210. package/dist/{crmbonus-component-wake/cart.helper-4e40ffa9.js → components/p-abbfbc98.js} +2 -3
  211. package/dist/components/p-abbfbc98.js.map +1 -0
  212. package/dist/{crmbonus-component-wake/giftback-finish.entry.js → components/p-b79c86a8.js} +25 -8
  213. package/dist/components/p-b79c86a8.js.map +1 -0
  214. package/dist/components/p-ba369e65.js +21 -0
  215. package/dist/components/p-ba369e65.js.map +1 -0
  216. package/dist/components/p-cc1ea33f.js +36 -0
  217. package/dist/components/p-cc1ea33f.js.map +1 -0
  218. package/dist/{crmbonus-component-wake/i18n-11138a2c.js → components/p-e8c19a64.js} +1 -16
  219. package/dist/components/p-e8c19a64.js.map +1 -0
  220. package/dist/components/p-f9aeffc1.js +12 -0
  221. package/dist/components/p-f9aeffc1.js.map +1 -0
  222. package/dist/components/p-fe9c3966.js +39 -0
  223. package/dist/components/p-fe9c3966.js.map +1 -0
  224. package/dist/components/pedido-finalizado.js +54 -0
  225. package/dist/components/pedido-finalizado.js.map +1 -0
  226. package/dist/components/phone-cancel-input.js +55 -0
  227. package/dist/components/phone-cancel-input.js.map +1 -0
  228. package/dist/components/phone-form.js +8 -0
  229. package/dist/components/phone-form.js.map +1 -0
  230. package/dist/components/phone-input-mask.js +8 -0
  231. package/dist/components/phone-input-mask.js.map +1 -0
  232. package/dist/components/phone-input.js +55 -0
  233. package/dist/components/phone-input.js.map +1 -0
  234. package/dist/components/pin-form.js +8 -0
  235. package/dist/components/pin-form.js.map +1 -0
  236. package/dist/crmbonus-component-wake/crmbonus-component-wake.css +1 -7
  237. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +1 -48
  238. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -1
  239. package/dist/crmbonus-component-wake/index.esm.js +1 -12
  240. package/dist/crmbonus-component-wake/index.esm.js.map +1 -1
  241. package/dist/crmbonus-component-wake/p-03b77c41.entry.js +2 -0
  242. package/dist/crmbonus-component-wake/p-03b77c41.entry.js.map +1 -0
  243. package/dist/crmbonus-component-wake/p-3d6152b1.js +3 -0
  244. package/dist/crmbonus-component-wake/p-3d6152b1.js.map +1 -0
  245. package/dist/crmbonus-component-wake/p-620ec1a3.entry.js +2 -0
  246. package/dist/crmbonus-component-wake/p-620ec1a3.entry.js.map +1 -0
  247. package/dist/crmbonus-component-wake/p-6eda79c3.js +2 -0
  248. package/dist/crmbonus-component-wake/p-6eda79c3.js.map +1 -0
  249. package/dist/crmbonus-component-wake/p-74206c91.entry.js +2 -0
  250. package/dist/crmbonus-component-wake/p-74206c91.entry.js.map +1 -0
  251. package/dist/crmbonus-component-wake/p-75ba7b9a.js +2 -0
  252. package/dist/crmbonus-component-wake/p-75ba7b9a.js.map +1 -0
  253. package/dist/crmbonus-component-wake/p-7b7fb354.entry.js +2 -0
  254. package/dist/crmbonus-component-wake/p-7b7fb354.entry.js.map +1 -0
  255. package/dist/crmbonus-component-wake/p-7cfea8fe.js +2 -0
  256. package/dist/crmbonus-component-wake/p-7cfea8fe.js.map +1 -0
  257. package/dist/crmbonus-component-wake/p-885fc30e.entry.js +2 -0
  258. package/dist/crmbonus-component-wake/p-885fc30e.entry.js.map +1 -0
  259. package/dist/crmbonus-component-wake/p-8df3f949.entry.js +2 -0
  260. package/dist/crmbonus-component-wake/p-8df3f949.entry.js.map +1 -0
  261. package/dist/crmbonus-component-wake/p-90716188.entry.js +2 -0
  262. package/dist/crmbonus-component-wake/p-90716188.entry.js.map +1 -0
  263. package/dist/crmbonus-component-wake/p-a33f7c24.entry.js +2 -0
  264. package/dist/crmbonus-component-wake/p-a33f7c24.entry.js.map +1 -0
  265. package/dist/crmbonus-component-wake/p-abbfbc98.js +2 -0
  266. package/dist/crmbonus-component-wake/p-abbfbc98.js.map +1 -0
  267. package/dist/crmbonus-component-wake/p-b7a8f915.entry.js +2 -0
  268. package/dist/crmbonus-component-wake/p-b7a8f915.entry.js.map +1 -0
  269. package/dist/crmbonus-component-wake/p-ba369e65.js +2 -0
  270. package/dist/crmbonus-component-wake/p-ba369e65.js.map +1 -0
  271. package/dist/crmbonus-component-wake/p-be3ddacc.entry.js +2 -0
  272. package/dist/crmbonus-component-wake/p-be3ddacc.entry.js.map +1 -0
  273. package/dist/crmbonus-component-wake/p-c23f3a07.entry.js +2 -0
  274. package/dist/crmbonus-component-wake/{crm-bonus-form.entry.js.map → p-c23f3a07.entry.js.map} +1 -1
  275. package/dist/crmbonus-component-wake/p-e1255160.js +2 -0
  276. package/dist/crmbonus-component-wake/p-e1255160.js.map +1 -0
  277. package/dist/crmbonus-component-wake/p-e8bd92d1.entry.js +2 -0
  278. package/dist/crmbonus-component-wake/p-e8bd92d1.entry.js.map +1 -0
  279. package/dist/crmbonus-component-wake/p-e8c19a64.js +2 -0
  280. package/dist/crmbonus-component-wake/p-e8c19a64.js.map +1 -0
  281. package/dist/crmbonus-component-wake/p-f9aeffc1.js +2 -0
  282. package/dist/crmbonus-component-wake/p-f9aeffc1.js.map +1 -0
  283. package/dist/crmbonus-component-wake/p-fad20959.entry.js +2 -0
  284. package/dist/crmbonus-component-wake/p-fad20959.entry.js.map +1 -0
  285. package/dist/env.js +3 -0
  286. package/dist/env.js.map +1 -0
  287. package/dist/{crmbonus-component-wake → esm}/app-modal.entry.js +3 -2
  288. package/dist/esm/app-modal.entry.js.map +1 -0
  289. package/dist/{crmbonus-component-wake/cart.helper-a921d7f9.js → esm/cart.helper-30a40560.js} +2 -3
  290. package/dist/esm/cart.helper-30a40560.js.map +1 -0
  291. package/dist/esm/countdown-timer_2.entry.js +58 -0
  292. package/dist/esm/countdown-timer_2.entry.js.map +1 -0
  293. package/dist/{crmbonus-component-wake → esm}/crm-bonus-form.entry.js +5 -4
  294. package/dist/esm/crm-bonus-form.entry.js.map +1 -0
  295. package/dist/{crmbonus-component-wake → esm}/crm-bonus-note.entry.js +10 -9
  296. package/dist/esm/crm-bonus-note.entry.js.map +1 -0
  297. package/dist/{crmbonus-component-wake → esm}/crm-bonus.entry.js +8 -7
  298. package/dist/esm/crm-bonus.entry.js.map +1 -0
  299. package/dist/{crmbonus-component-wake/crm-giftback-form.entry.js → esm/crm-giftback-form_2.entry.js} +26 -11
  300. package/dist/esm/crm-giftback-form_2.entry.js.map +1 -0
  301. package/dist/esm/crm-tooltip_4.entry.js +204 -0
  302. package/dist/esm/crm-tooltip_4.entry.js.map +1 -0
  303. package/dist/esm/crmbonus-component-wake.js +22 -0
  304. package/dist/esm/crmbonus-component-wake.js.map +1 -0
  305. package/dist/{crmbonus-component-wake/crmbonus.service-67550994.js → esm/crmbonus.service-42fbd7fa.js} +90 -162
  306. package/dist/esm/crmbonus.service-42fbd7fa.js.map +1 -0
  307. package/dist/esm/giftback-finish_4.entry.js +124 -0
  308. package/dist/esm/giftback-finish_4.entry.js.map +1 -0
  309. package/dist/esm/i18n-e8150dff.js +2217 -0
  310. package/dist/{crmbonus-component-wake/i18n-11138a2c.js.map → esm/i18n-e8150dff.js.map} +1 -1
  311. package/dist/esm/index-e8724c8f.js +1571 -0
  312. package/dist/esm/index-e8724c8f.js.map +1 -0
  313. package/dist/esm/index.js +3 -0
  314. package/dist/esm/index.js.map +1 -0
  315. package/dist/esm/loader.js +13 -0
  316. package/dist/esm/loader.js.map +1 -0
  317. package/dist/{crmbonus-component-wake → esm}/loading-spinner.entry.js +3 -2
  318. package/dist/esm/loading-spinner.entry.js.map +1 -0
  319. package/dist/{crmbonus-component-wake → esm}/pedido-finalizado.entry.js +4 -4
  320. package/dist/esm/pedido-finalizado.entry.js.map +1 -0
  321. package/dist/{crmbonus-component-wake → esm}/phone-cancel-input.entry.js +1 -1
  322. package/dist/esm/phone-cancel-input.entry.js.map +1 -0
  323. package/dist/{crmbonus-component-wake → esm}/phone-input-mask.entry.js +3 -2
  324. package/dist/esm/phone-input-mask.entry.js.map +1 -0
  325. package/dist/{crmbonus-component-wake → esm}/phone-input.entry.js +1 -1
  326. package/dist/esm/phone-input.entry.js.map +1 -0
  327. package/dist/esm/utils-d642b4db.js +21 -0
  328. package/dist/esm/utils-d642b4db.js.map +1 -0
  329. package/dist/index.cjs.js +1 -0
  330. package/dist/index.js +1 -0
  331. package/dist/types/home/darlison/Projects/Bycoders/crmbonus/crmbonus-component/.stencil/env.d.ts +1 -1
  332. package/package.json +1 -1
  333. package/dist/crmbonus-component-wake/app-modal.entry.js.map +0 -1
  334. package/dist/crmbonus-component-wake/cart.helper-4e40ffa9.js.map +0 -1
  335. package/dist/crmbonus-component-wake/cart.helper-a921d7f9.js.map +0 -1
  336. package/dist/crmbonus-component-wake/countdown-timer.entry.js.map +0 -1
  337. package/dist/crmbonus-component-wake/crm-bonus-note.entry.js.map +0 -1
  338. package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +0 -1
  339. package/dist/crmbonus-component-wake/crm-button.entry.js +0 -20
  340. package/dist/crmbonus-component-wake/crm-button.entry.js.map +0 -1
  341. package/dist/crmbonus-component-wake/crm-tooltip.entry.js.map +0 -1
  342. package/dist/crmbonus-component-wake/crmbonus.service-67550994.js.map +0 -1
  343. package/dist/crmbonus-component-wake/crmbonus.service-9f4c6fd7.js.map +0 -1
  344. package/dist/crmbonus-component-wake/giftback-finish.entry.js.map +0 -1
  345. package/dist/crmbonus-component-wake/giftback-info.entry.js.map +0 -1
  346. package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +0 -1
  347. package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +0 -1
  348. package/dist/crmbonus-component-wake/index-d0fd1dc0.js +0 -3039
  349. package/dist/crmbonus-component-wake/index-d0fd1dc0.js.map +0 -1
  350. package/dist/crmbonus-component-wake/loading-container.entry.js +0 -18
  351. package/dist/crmbonus-component-wake/loading-container.entry.js.map +0 -1
  352. package/dist/crmbonus-component-wake/loading-spinner.entry.js.map +0 -1
  353. package/dist/crmbonus-component-wake/name-input.entry.js.map +0 -1
  354. package/dist/crmbonus-component-wake/pedido-finalizado.entry.js.map +0 -1
  355. package/dist/crmbonus-component-wake/phone-cancel-input.entry.js.map +0 -1
  356. package/dist/crmbonus-component-wake/phone-form.entry.js.map +0 -1
  357. package/dist/crmbonus-component-wake/phone-input-mask.entry.js.map +0 -1
  358. package/dist/crmbonus-component-wake/phone-input.entry.js.map +0 -1
  359. package/dist/crmbonus-component-wake/pin-form.entry.js.map +0 -1
  360. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js +0 -334
  361. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js.map +0 -1
  362. package/dist/crmbonus-component-wake/utils-96cf9ae0.js.map +0 -1
  363. /package/dist/{crmbonus-component-wake → esm}/app-globals-0f993ce5.js +0 -0
  364. /package/dist/{crmbonus-component-wake → esm}/app-globals-0f993ce5.js.map +0 -0
  365. /package/dist/{crmbonus-component-wake → esm}/index-5b567099.js +0 -0
  366. /package/dist/{crmbonus-component-wake → esm}/index-5b567099.js.map +0 -0
  367. /package/dist/{crmbonus-component-wake → esm}/info.config.helper-42d9ddf9.js +0 -0
  368. /package/dist/{crmbonus-component-wake → esm}/info.config.helper-42d9ddf9.js.map +0 -0
  369. /package/dist/{crmbonus-component-wake → esm}/keys.storage-8c76fcd7.js +0 -0
  370. /package/dist/{crmbonus-component-wake → esm}/keys.storage-8c76fcd7.js.map +0 -0
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-d11684bd.js');
6
+ const crmbonus_service = require('./crmbonus.service-9067d00d.js');
7
+ const cart_helper = require('./cart.helper-d4d8d619.js');
8
+ require('./keys.storage-de7744aa.js');
9
+
10
+ const Pedido = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.cart = undefined;
14
+ }
15
+ async componentWillLoad() {
16
+ await this.handleOrder();
17
+ }
18
+ async handleOrder() {
19
+ console.log('this.cart', this.cart);
20
+ const cart = this.cart ? new cart_helper.CartWake(JSON.parse(this.cart)) : await cart_helper.getCart();
21
+ if (cart.id && cart.orderId) {
22
+ crmbonus_service.CrmBonusService.getInstance().updateOrder({
23
+ cartId: cart.id,
24
+ orderId: cart.orderId,
25
+ cartIdCrm: cart.middlewareId
26
+ });
27
+ const key = `bc-products:${cart.id}`;
28
+ localStorage.removeItem(key);
29
+ localStorage.removeItem(cart.id);
30
+ }
31
+ }
32
+ render() {
33
+ return (index.h("div", { key: 'd79a815efc708a2d818fa6adf22464a45e7fa546' }));
34
+ }
35
+ };
36
+
37
+ exports.pedido_finalizado = Pedido;
38
+
39
+ //# sourceMappingURL=pedido-finalizado.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"pedido-finalizado.entry.cjs.js","mappings":";;;;;;;;;MAQa,MAAM;;;;;IAIf,MAAM,iBAAiB;QACnB,MAAM,IAAI,CAAC,WAAW,EAAE,CAAA;KAC3B;IAED,MAAM,WAAW;QAEb,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QAEnC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,GAAG,IAAIA,oBAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,MAAMC,mBAAO,EAAE,CAAC;QAE/E,IAAI,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE;YACzBC,gCAAe,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC;gBACtC,MAAM,EAAE,IAAI,CAAC,EAAE;gBACf,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,SAAS,EAAE,IAAI,CAAC,YAAY;aAC/B,CAAC,CAAC;YAEH,MAAM,GAAG,GAAG,eAAe,IAAI,CAAC,EAAE,EAAE,CAAC;YACrC,YAAY,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YAC7B,YAAY,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;SACpC;KACJ;IAED,MAAM;QACF,QACIC,mEAAW,EACd;KACJ;;;;;","names":["CartWake","getCart","CrmBonusService","h"],"sources":["src/components/pedido/pedido.tsx"],"sourcesContent":["import { Component, h, Prop } from \"@stencil/core\";\nimport { CrmBonusService } from \"../../services/crmbonus.service\";\nimport { getCart } from \"../../helpers/cart.helper\";\nimport { CartWake } from \"../../objectvalues/cart.wake\";\n\n@Component({\n tag: \"pedido-finalizado\"\n})\nexport class Pedido {\n\n @Prop() cart;\n\n async componentWillLoad() {\n await this.handleOrder()\n }\n\n async handleOrder() {\n\n console.log('this.cart', this.cart)\n\n const cart = this.cart ? new CartWake(JSON.parse(this.cart)) : await getCart();\n\n if (cart.id && cart.orderId) {\n CrmBonusService.getInstance().updateOrder({\n cartId: cart.id,\n orderId: cart.orderId,\n cartIdCrm: cart.middlewareId\n });\n\n const key = `bc-products:${cart.id}`;\n localStorage.removeItem(key);\n localStorage.removeItem(cart.id);\n }\n }\n\n render() {\n return (\n <div></div>\n )\n }\n}"],"version":3}
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-d11684bd.js');
6
+
7
+ const PhoneCancelInput = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.sendPin = undefined;
11
+ this.loading = undefined;
12
+ this.value = undefined;
13
+ }
14
+ async validatePhone() {
15
+ const phone = await this.phoneInputMask.getPhone();
16
+ await this.sendPin(phone);
17
+ }
18
+ render() {
19
+ return (index.h("div", { key: '43b8b975dfd6896fdcd1e626d331bf61caeb65b9', class: "form-container" }, index.h("phone-input-mask", { key: '983d8d245c175ba231be50205f62881a2ea53244', initialValue: `Valor aplicado R$ ${this.value}`, ref: ref => this.phoneInputMask = ref, disabled: true }), index.h("button", { key: '94fad9eeada065984efd1a552003809706d88ce4', class: `btn btn-success btnCrm ${this.loading ? 'disabled' : ''} `, disabled: this.loading, onClick: () => this.validatePhone() }, !this.loading ? "Cancelar" : index.h("loading-spinner", { size: "11px", color: "#fff" }))));
20
+ }
21
+ };
22
+
23
+ exports.phone_cancel_input = PhoneCancelInput;
24
+
25
+ //# sourceMappingURL=phone-cancel-input.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"phone-cancel-input.entry.cjs.js","mappings":";;;;;;MAKa,gBAAgB;;;;;;;IAQzB,MAAM,aAAa;QACf,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC;QACnD,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;KAC7B;IAED,MAAM;QACF,QACIA,kEAAK,KAAK,EAAC,gBAAgB,IACvBA,+EAAkB,YAAY,EAAE,qBAAqB,IAAI,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,IAAI,IAAI,CAAC,cAAc,GAAG,GAAG,EAAE,QAAQ,EAAE,IAAI,GAAI,EAC5HA,qEAAQ,KAAK,EAAE,0BAA0B,IAAI,CAAC,OAAO,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,IAE/H,CAAC,IAAI,CAAC,OAAO,GAAG,UAAU,GAAGA,6BAAiB,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,GAAG,CAExE,CACP,EACT;KACJ;;;;;","names":["h"],"sources":["src/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.tsx"],"sourcesContent":["import { Component, Prop, h } from \"@stencil/core\";\n\n@Component({\n tag: 'phone-cancel-input'\n})\nexport class PhoneCancelInput {\n\n private phoneInputMask: HTMLPhoneInputMaskElement;\n\n @Prop() sendPin: Function;\n @Prop() loading: boolean;\n @Prop() value: string;\n\n async validatePhone() {\n const phone = await this.phoneInputMask.getPhone();\n await this.sendPin(phone);\n }\n\n render() {\n return (\n <div class=\"form-container\">\n <phone-input-mask initialValue={`Valor aplicado R$ ${this.value}`} ref={ref => this.phoneInputMask = ref} disabled={true} />\n <button class={`btn btn-success btnCrm ${this.loading ? 'disabled' : ''} `} disabled={this.loading} onClick={() => this.validatePhone()}>\n {\n !this.loading ? \"Cancelar\" : <loading-spinner size=\"11px\" color=\"#fff\" />\n }\n </button>\n </div>\n )\n }\n}"],"version":3}
@@ -0,0 +1,61 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-d11684bd.js');
6
+ const index$1 = require('./index-6054ed44.js');
7
+
8
+ const phoneInputMaskCss = "*{margin:0;padding:0;box-sizing:border-box}.phone{display:block;width:100%;height:24px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:0px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);-webkit-transition:border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s, box-shadow ease-in-out .15s}.phone-input-form{width:100%;height:48px;padding:13px 16px 13px 16px;border:1px solid #CCCCCC;font-size:14px}.crm-erro-msg{color:#E11D48;font-size:12px;font-weight:500;margin-top:11px}";
9
+ const PhoneInputMaskStyle0 = phoneInputMaskCss;
10
+
11
+ const PhoneInputMask = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.phone = '';
15
+ this.message = "";
16
+ this.initialValue = undefined;
17
+ this.disabled = undefined;
18
+ }
19
+ componentWillLoad() {
20
+ this.phone = this.initialValue;
21
+ }
22
+ formatPhone(value) {
23
+ const cleaned = value.replace(/\D/g, ''); // Remove tudo que não for número
24
+ const match = cleaned.match(/^(\d{0,2})(\d{0,5})(\d{0,4})$/);
25
+ if (!match)
26
+ return value;
27
+ const part1 = match[1] ? `(${match[1]}` : '';
28
+ const part2 = match[2] ? `) ${match[2]}` : '';
29
+ const part3 = match[3] ? ` ${match[3]}` : '';
30
+ return `${part1}${part2}${part3}`;
31
+ }
32
+ handleInput(event) {
33
+ const input = event.target;
34
+ this.phone = this.formatPhone(input.value);
35
+ if (!this.validatePhoneNumber(input.value)) {
36
+ this.message = index$1.MESSAGE_ERROR_INVALID_NUMBER;
37
+ }
38
+ else {
39
+ this.message = "";
40
+ }
41
+ console.log('phone', this.phone);
42
+ }
43
+ validatePhoneNumber(phone) {
44
+ if (phone.length < 15) {
45
+ return true;
46
+ }
47
+ const phoneRegex = /^\(\d{2}\) \d{5} \d{4}$/; // Valida formato (99) 99999-9999
48
+ return phoneRegex.test(phone);
49
+ }
50
+ async getPhone() {
51
+ return this.phone;
52
+ }
53
+ render() {
54
+ return (index.h("div", { key: '44d9a3f88829cdf269da2ea029ca81197a9ca31e' }, index.h("input", { key: '4af46e5c7eb38f108f3a3b58937b3b5560a0757d', disabled: this.disabled, id: "phone", type: "text", class: "phone-input-form", value: this.phone, onInput: (event) => this.handleInput(event), placeholder: "(99) 99999 9999" }), index.h("p", { key: '5058284a0a7bda9e750cbf4e1134fdc47c7de83e', class: "crm-erro-msg" }, this.message)));
55
+ }
56
+ };
57
+ PhoneInputMask.style = PhoneInputMaskStyle0;
58
+
59
+ exports.phone_input_mask = PhoneInputMask;
60
+
61
+ //# sourceMappingURL=phone-input-mask.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"phone-input-mask.entry.cjs.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,kvBAAkvB,CAAC;AAC7wB,6BAAe,iBAAiB;;MCOnB,cAAc;;;qBACE,EAAE;uBACA,EAAE;;;;IAK7B,iBAAiB;QACb,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,YAAY,CAAC;KAClC;IAEO,WAAW,CAAC,KAAa;QAE7B,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACzC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;QAE7D,IAAI,CAAC,KAAK;YAAE,OAAO,KAAK,CAAC;QAEzB,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC;QAC7C,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC;QAE7C,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,EAAE,CAAC;KACrC;IAEO,WAAW,CAAC,KAAY;QAC5B,MAAM,KAAK,GAAG,KAAK,CAAC,MAA0B,CAAC;QAC/C,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAE3C,IAAG,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;YACvC,IAAI,CAAC,OAAO,GAAGA,oCAA4B,CAAA;SAC9C;aAAM;YACH,IAAI,CAAC,OAAO,GAAG,EAAE,CAAA;SACpB;QAED,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,CAAA;KACnC;IAED,mBAAmB,CAAC,KAAa;QAC7B,IAAG,KAAK,CAAC,MAAM,GAAG,EAAE,EAAE;YAClB,OAAO,IAAI,CAAA;SACd;QACD,MAAM,UAAU,GAAG,yBAAyB,CAAC;QAC7C,OAAO,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACjC;IAGM,MAAM,QAAQ;QACjB,OAAO,IAAI,CAAC,KAAK,CAAC;KACrB;IAED,MAAM;QACF,QACIC,oEACIA,oEACI,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,EAAE,EAAC,OAAO,EACV,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,kBAAkB,EACxB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,EAC3C,WAAW,EAAC,iBAAiB,GAC/B,EACFA,gEAAG,KAAK,EAAC,cAAc,IAAE,IAAI,CAAC,OAAO,CAAK,CACxC,EAER;KACL;;;;;;","names":["MESSAGE_ERROR_INVALID_NUMBER","h"],"sources":["src/components/phone/phone-input-mask.css?tag=phone-input-mask&encapsulation=shadow","src/components/phone/phone-input-mask.tsx"],"sourcesContent":["* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\n.phone {\n display: block;\n width: 100%;\n height: 24px;\n padding: 6px 12px;\n font-size: 14px;\n line-height: 1.42857143;\n color: #555;\n background-color: #fff;\n background-image: none;\n border: 1px solid #ccc;\n border-radius: 0px;\n -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);\n -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;\n -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;\n}\n\n\n.phone-input-form {\n width: 100%;\n height: 48px;\n padding: 13px 16px 13px 16px;\n border: 1px solid #CCCCCC;\n font-size: 14px;\n}\n\n.crm-erro-msg {\n color: #E11D48;\n font-size: 12px;\n font-weight: 500;\n margin-top: 11px;\n}\n","import { Component, h, Method, Prop, State } from '@stencil/core';\nimport { MESSAGE_ERROR_INVALID_NUMBER } from '../../contants';\n\n@Component({\n tag: 'phone-input-mask',\n styleUrl: 'phone-input-mask.css',\n shadow: true,\n})\nexport class PhoneInputMask {\n @State() phone: string = '';\n @State() message: string = \"\";\n\n @Prop() initialValue: string;\n @Prop() disabled: boolean;\n\n componentWillLoad() {\n this.phone = this.initialValue;\n }\n\n private formatPhone(value: string): string {\n\n const cleaned = value.replace(/\\D/g, ''); // Remove tudo que não for número\n const match = cleaned.match(/^(\\d{0,2})(\\d{0,5})(\\d{0,4})$/);\n\n if (!match) return value;\n\n const part1 = match[1] ? `(${match[1]}` : '';\n const part2 = match[2] ? `) ${match[2]}` : '';\n const part3 = match[3] ? ` ${match[3]}` : '';\n\n return `${part1}${part2}${part3}`;\n }\n\n private handleInput(event: Event): void {\n const input = event.target as HTMLInputElement;\n this.phone = this.formatPhone(input.value);\n\n if(!this.validatePhoneNumber(input.value)) {\n this.message = MESSAGE_ERROR_INVALID_NUMBER\n } else {\n this.message = \"\"\n }\n\n console.log('phone', this.phone)\n }\n\n validatePhoneNumber(phone: string): boolean {\n if(phone.length < 15) {\n return true\n }\n const phoneRegex = /^\\(\\d{2}\\) \\d{5} \\d{4}$/; // Valida formato (99) 99999-9999\n return phoneRegex.test(phone);\n }\n\n @Method()\n public async getPhone() {\n return this.phone;\n }\n\n render() {\n return (\n <div>\n <input\n disabled={this.disabled}\n id=\"phone\"\n type=\"text\"\n class=\"phone-input-form\"\n value={this.phone}\n onInput={(event) => this.handleInput(event)}\n placeholder=\"(99) 99999 9999\"\n />\n <p class=\"crm-erro-msg\">{this.message}</p>\n </div>\n\n );\n }\n}\n"],"version":3}
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-d11684bd.js');
6
+
7
+ const PhoneInput = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.sendPin = undefined;
11
+ this.loading = undefined;
12
+ this.value = undefined;
13
+ }
14
+ async validatePhone() {
15
+ const phone = await this.phoneInputMask.getPhone();
16
+ await this.sendPin(phone);
17
+ }
18
+ render() {
19
+ return (index.h("div", { key: 'd3ee09e421622260d428d9e396146662f26310ef', class: "form-container" }, index.h("phone-input-mask", { key: 'b2fa78c95364bbe36e67d9aea0cfb8d9f50c7e41', initialValue: this.value, ref: ref => this.phoneInputMask = ref }), index.h("button", { key: '127ec969c421ccfb7c959c0269fa62879494255b', class: `btn btn-success btnCrm ${this.loading ? 'disabled' : ''} `, disabled: this.loading, onClick: () => this.validatePhone() }, !this.loading ? "validar" : index.h("loading-spinner", { size: "11px", color: "#fff" }))));
20
+ }
21
+ };
22
+
23
+ exports.phone_input = PhoneInput;
24
+
25
+ //# sourceMappingURL=phone-input.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"phone-input.entry.cjs.js","mappings":";;;;;;MAKa,UAAU;;;;;;;IAQnB,MAAM,aAAa;QACf,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,CAAC;QACnD,MAAM,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;KAC7B;IAED,MAAM;QACF,QACIA,kEAAK,KAAK,EAAC,gBAAgB,IACvBA,+EAAkB,YAAY,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,IAAI,IAAI,CAAC,cAAc,GAAG,GAAG,GAAI,EACrFA,qEAAQ,KAAK,EAAE,0BAA0B,IAAI,CAAC,OAAO,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,IAAI,CAAC,aAAa,EAAE,IAE/H,CAAC,IAAI,CAAC,OAAO,GAAG,SAAS,GAAGA,6BAAiB,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,GAAG,CAEvE,CACP,EACT;KACJ;;;;;","names":["h"],"sources":["src/components/crm-bonus-form/subcomponents/phone/phone.input.tsx"],"sourcesContent":["import { Component, Prop, h } from \"@stencil/core\";\n\n@Component({\n tag: 'phone-input'\n})\nexport class PhoneInput {\n\n private phoneInputMask: HTMLPhoneInputMaskElement;\n\n @Prop() sendPin: Function;\n @Prop() loading: boolean;\n @Prop() value: string;\n\n async validatePhone() {\n const phone = await this.phoneInputMask.getPhone();\n await this.sendPin(phone);\n }\n\n render() {\n return (\n <div class=\"form-container\">\n <phone-input-mask initialValue={this.value} ref={ref => this.phoneInputMask = ref} />\n <button class={`btn btn-success btnCrm ${this.loading ? 'disabled' : ''} `} disabled={this.loading} onClick={() => this.validatePhone()}>\n {\n !this.loading ? \"validar\" : <loading-spinner size=\"11px\" color=\"#fff\" />\n }\n </button>\n </div>\n )\n }\n}"],"version":3}
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ function format(first, middle, last) {
4
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
5
+ }
6
+ function defineLimit(remainingGiftback) {
7
+ return {
8
+ remainingGiftback: remainingGiftback < 0 ? "0,00" : remainingGiftback.toFixed(2).replace(".", ","),
9
+ isComplete: (remainingGiftback < 0)
10
+ };
11
+ }
12
+ function formatDateToBr(dateTime) {
13
+ // const decodedDateTime = decodeHtmlEntities(dateTime);
14
+ const [date] = dateTime.split(" ");
15
+ if (date.length != 10) {
16
+ return "";
17
+ }
18
+ return date.split("-").reverse().join("/");
19
+ }
20
+
21
+ exports.defineLimit = defineLimit;
22
+ exports.format = format;
23
+ exports.formatDateToBr = formatDateToBr;
24
+
25
+ //# sourceMappingURL=utils-e9413ee3.js.map
@@ -0,0 +1 @@
1
+ {"file":"utils-e9413ee3.js","mappings":";;SAAgB,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa;IACnE,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;AACjF,CAAC;SAEe,WAAW,CAAC,iBAAyB;IAEnD,OAAO;QACL,iBAAiB,EAAE,iBAAiB,GAAG,CAAC,GAAG,MAAM,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC;QAClG,UAAU,GAAG,iBAAiB,GAAG,CAAC,CAAC;KACpC,CAAA;AACH,CAAC;SAEe,cAAc,CAAC,QAAgB;;IAI7C,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAEnC,IAAI,IAAI,CAAC,MAAM,IAAI,EAAE,EAAE;QACrB,OAAO,EAAE,CAAA;KACV;IAED,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7C;;;;;;","names":[],"sources":["src/utils/utils.ts"],"sourcesContent":["export function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\nexport function defineLimit(remainingGiftback: number) {\n\n return {\n remainingGiftback: remainingGiftback < 0 ? \"0,00\" : remainingGiftback.toFixed(2).replace(\".\", \",\"),\n isComplete: (remainingGiftback < 0)\n }\n}\n\nexport function formatDateToBr(dateTime: string) {\n\n // const decodedDateTime = decodeHtmlEntities(dateTime);\n\n const [date] = dateTime.split(\" \");\n\n if (date.length != 10) {\n return \"\"\n }\n\n return date.split(\"-\").reverse().join(\"/\");\n}\n\n\n// Decodifica entidades HTML, se houver\nexport const decodeHtmlEntities = (str: string) => {\n const parser = new DOMParser();\n const doc = parser.parseFromString(str, 'text/html');\n\n console.log(\"doc.documentElement\")\n\n return doc.documentElement.textContent || str;\n};\n"],"version":3}
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
+ <svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M12 17.75C12.4142 17.75 12.75 17.4142 12.75 17V11C12.75 10.5858 12.4142 10.25 12 10.25C11.5858 10.25 11.25 10.5858 11.25 11V17C11.25 17.4142 11.5858 17.75 12 17.75Z" fill="#1C274C"/>
4
+ <path d="M12 7C12.5523 7 13 7.44772 13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7Z" fill="#1C274C"/>
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M1.25 12C1.25 6.06294 6.06294 1.25 12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12ZM12 2.75C6.89137 2.75 2.75 6.89137 2.75 12C2.75 17.1086 6.89137 21.25 12 21.25C17.1086 21.25 21.25 17.1086 21.25 12C21.25 6.89137 17.1086 2.75 12 2.75Z" fill="#1C274C"/>
6
+ </svg>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
2
+ <svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <circle cx="12" cy="12" r="10" stroke="#000000" stroke-width="2"/>
4
+ <path d="M15 9.94728C14.5 9.3 13.8 8.5 12 8.5C10.2 8.5 9 9.51393 9 9.94728C9 10.3806 9.06786 10.9277 10 11.5C10.7522 11.9618 12.6684 12.0439 13.5 12.5C14.679 13.1467 14.8497 13.8202 14.8497 14.0522C14.8497 14.6837 13.4175 15.4852 12 15.5C10.536 15.5153 9.5 14.7 9 14.0522" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
5
+ <path d="M12 7V17" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
6
+ </svg>
@@ -0,0 +1,32 @@
1
+ {
2
+ "entries": [
3
+ "components/button/index.js",
4
+ "components/countdown-timer/countdown-timer.js",
5
+ "components/crm-bonus/crm-bonus.js",
6
+ "components/crm-bonus-form/crm-bonus-form.js",
7
+ "components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js",
8
+ "components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js",
9
+ "components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js",
10
+ "components/crm-bonus-form/subcomponents/name-input/name-input.js",
11
+ "components/crm-bonus-form/subcomponents/phone/phone.input.js",
12
+ "components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js",
13
+ "components/giftback-form/giftback-form.js",
14
+ "components/giftback-form/subcomponents/giftback-info/giftback-info.js",
15
+ "components/giftback-form/subcomponents/phone-form/phone-form.js",
16
+ "components/giftback-form/subcomponents/pin-form/pin-form.js",
17
+ "components/loading-container/loading-container.js",
18
+ "components/loading-spinner/loading-spinner.js",
19
+ "components/modal/app-modal.js",
20
+ "components/note/crm-bonus-note.js",
21
+ "components/pedido/pedido.js",
22
+ "components/phone/phone-input-mask.js",
23
+ "components/tooltip/tooltip.js"
24
+ ],
25
+ "compiler": {
26
+ "name": "@stencil/core",
27
+ "version": "4.22.2",
28
+ "typescriptVersion": "5.5.4"
29
+ },
30
+ "collections": [],
31
+ "bundles": []
32
+ }
@@ -0,0 +1,22 @@
1
+ input, button {
2
+ margin: 0;
3
+ padding: 10px; /* Ajuste o valor conforme necessário */
4
+ }
5
+
6
+ .crm-contaner-button {
7
+ height: auto;
8
+ width: auto;
9
+ }
10
+
11
+ .crm-button {
12
+ height: 48px;
13
+ width: 100%;
14
+ border: 1px solid #000;
15
+ padding: 14px 20px;
16
+ background-color: #000;
17
+ color: #fff;
18
+ font-size: 14px;
19
+ line-height: 20px;
20
+ font-weight: 500;
21
+ cursor: pointer;
22
+ }
@@ -0,0 +1,76 @@
1
+ import { h } from "@stencil/core";
2
+ export class Button {
3
+ constructor() {
4
+ this.txtBtn = undefined;
5
+ this.loading = undefined;
6
+ this.handleClick = undefined;
7
+ }
8
+ render() {
9
+ return (h("div", { key: '848df9f754a114343163eae85d34a2acb6b04863', class: "crm-contaner-button" }, h("button", { key: '517b761b39ced2615dd04fc42d5aaa98a7d749f6', class: "crm-button", onClick: () => this.handleClick() }, !this.loading ? this.txtBtn : h("loading-spinner", { size: "15px", color: "#fff" }))));
10
+ }
11
+ static get is() { return "crm-button"; }
12
+ static get originalStyleUrls() {
13
+ return {
14
+ "$": ["crm-button.css"]
15
+ };
16
+ }
17
+ static get styleUrls() {
18
+ return {
19
+ "$": ["crm-button.css"]
20
+ };
21
+ }
22
+ static get properties() {
23
+ return {
24
+ "txtBtn": {
25
+ "type": "string",
26
+ "mutable": false,
27
+ "complexType": {
28
+ "original": "string",
29
+ "resolved": "string",
30
+ "references": {}
31
+ },
32
+ "required": false,
33
+ "optional": false,
34
+ "docs": {
35
+ "tags": [],
36
+ "text": ""
37
+ },
38
+ "attribute": "txt-btn",
39
+ "reflect": false
40
+ },
41
+ "loading": {
42
+ "type": "boolean",
43
+ "mutable": false,
44
+ "complexType": {
45
+ "original": "boolean",
46
+ "resolved": "boolean",
47
+ "references": {}
48
+ },
49
+ "required": false,
50
+ "optional": false,
51
+ "docs": {
52
+ "tags": [],
53
+ "text": ""
54
+ },
55
+ "attribute": "loading",
56
+ "reflect": false
57
+ },
58
+ "handleClick": {
59
+ "type": "unknown",
60
+ "mutable": false,
61
+ "complexType": {
62
+ "original": "() => void",
63
+ "resolved": "() => void",
64
+ "references": {}
65
+ },
66
+ "required": false,
67
+ "optional": false,
68
+ "docs": {
69
+ "tags": [],
70
+ "text": ""
71
+ }
72
+ }
73
+ };
74
+ }
75
+ }
76
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMnD,MAAM,OAAO,MAAM;;;;;;IAOf,MAAM;QACF,OAAO,CACH,4DAAK,KAAK,EAAC,qBAAqB;YAC5B,+DAAQ,KAAK,EAAC,YAAY,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,IAEpD,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,uBAAiB,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,MAAM,GAAG,CAEzE,CACP,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Prop, h } from \"@stencil/core\";\n\n@Component({\n tag: 'crm-button',\n styleUrl: 'crm-button.css'\n})\nexport class Button {\n\n @Prop() txtBtn: string;\n @Prop() loading: boolean;\n\n @Prop() handleClick: () => void;\n\n render() {\n return (\n <div class=\"crm-contaner-button\">\n <button class=\"crm-button\" onClick={() => this.handleClick()}>\n {\n !this.loading ? this.txtBtn : <loading-spinner size=\"15px\" color=\"#fff\" />\n }\n </button>\n </div>\n )\n }\n}"]}
@@ -0,0 +1,81 @@
1
+ import { h } from "@stencil/core";
2
+ export class CountdownTimer {
3
+ constructor() {
4
+ this.downtime = undefined;
5
+ this.initialValue = 0;
6
+ this.seconds = 0;
7
+ }
8
+ componentWillLoad() {
9
+ const initial = localStorage.getItem("bc:time");
10
+ this.seconds = initial ? Number(initial) : this.initialValue;
11
+ this.intervalId = setInterval(() => {
12
+ if (this.seconds > 0) {
13
+ this.seconds--;
14
+ localStorage.setItem("bc:time", this.seconds.toString());
15
+ }
16
+ else {
17
+ clearInterval(this.intervalId);
18
+ this.downtime();
19
+ localStorage.removeItem("bc:time");
20
+ }
21
+ }, 1000); // Intervalo de 1 segundo
22
+ }
23
+ disconnectedCallback() {
24
+ clearInterval(this.intervalId);
25
+ }
26
+ padLeft() {
27
+ const minutes = this.seconds / 60;
28
+ const seconds = this.seconds % 60;
29
+ if (minutes < 1)
30
+ return `${seconds}s`;
31
+ return `${parseInt(minutes.toString())}m ${seconds}s`;
32
+ }
33
+ render() {
34
+ return (h("label", { key: '6fe8811ce04f0f95d31404c2257124f454ab3cfa' }, this.padLeft()));
35
+ }
36
+ static get is() { return "countdown-timer"; }
37
+ static get encapsulation() { return "shadow"; }
38
+ static get properties() {
39
+ return {
40
+ "downtime": {
41
+ "type": "unknown",
42
+ "mutable": false,
43
+ "complexType": {
44
+ "original": "() => void",
45
+ "resolved": "() => void",
46
+ "references": {}
47
+ },
48
+ "required": false,
49
+ "optional": false,
50
+ "docs": {
51
+ "tags": [],
52
+ "text": ""
53
+ }
54
+ },
55
+ "initialValue": {
56
+ "type": "number",
57
+ "mutable": false,
58
+ "complexType": {
59
+ "original": "number",
60
+ "resolved": "number",
61
+ "references": {}
62
+ },
63
+ "required": false,
64
+ "optional": false,
65
+ "docs": {
66
+ "tags": [],
67
+ "text": ""
68
+ },
69
+ "attribute": "initial-value",
70
+ "reflect": false,
71
+ "defaultValue": "0"
72
+ }
73
+ };
74
+ }
75
+ static get states() {
76
+ return {
77
+ "seconds": {}
78
+ };
79
+ }
80
+ }
81
+ //# sourceMappingURL=countdown-timer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"countdown-timer.js","sourceRoot":"","sources":["../../../../src/components/countdown-timer/countdown-timer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAM1D,MAAM,OAAO,cAAc;;;4BAGQ,CAAC;uBAEL,CAAC;;IAI5B,iBAAiB;QACb,MAAM,OAAO,GAAG,YAAY,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAEhD,IAAI,CAAC,OAAO,GAAI,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QAE9D,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE;YAC/B,IAAI,IAAI,CAAC,OAAO,GAAG,CAAC,EAAE,CAAC;gBACnB,IAAI,CAAC,OAAO,EAAE,CAAC;gBAEf,YAAY,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC7D,CAAC;iBAAM,CAAC;gBACJ,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAE/B,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAEhB,YAAY,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;YACvC,CAAC;QACL,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,yBAAyB;IACvC,CAAC;IAED,oBAAoB;QAChB,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;IAED,OAAO;QACH,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAClC,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QAElC,IAAG,OAAO,GAAG,CAAC;YAAE,OAAO,GAAG,OAAO,GAAG,CAAA;QAEpC,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,OAAO,GAAG,CAAA;IACzD,CAAC;IAED,MAAM;QACF,OAAO,CACH,gEAAQ,IAAI,CAAC,OAAO,EAAE,CAAS,CAClC,CAAC;IACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'countdown-timer',\n shadow: true,\n})\nexport class CountdownTimer {\n\n @Prop() downtime: () => void;\n @Prop() initialValue: number = 0;\n\n @State() seconds: number = 0;\n\n private intervalId: NodeJS.Timer;\n\n componentWillLoad() {\n const initial = localStorage.getItem(\"bc:time\");\n\n this.seconds = initial ? Number(initial) : this.initialValue;\n \n this.intervalId = setInterval(() => {\n if (this.seconds > 0) {\n this.seconds--;\n\n localStorage.setItem(\"bc:time\", this.seconds.toString());\n } else {\n clearInterval(this.intervalId);\n\n this.downtime();\n\n localStorage.removeItem(\"bc:time\");\n }\n }, 1000); // Intervalo de 1 segundo\n }\n\n disconnectedCallback() {\n clearInterval(this.intervalId);\n }\n\n padLeft() {\n const minutes = this.seconds / 60; \n const seconds = this.seconds % 60;\n\n if(minutes < 1) return `${seconds}s`\n \n return `${parseInt(minutes.toString())}m ${seconds}s`\n }\n\n render() {\n return (\n <label>{this.padLeft()}</label>\n );\n }\n}\n"]}
@@ -0,0 +1,18 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 703 103" fill="none" preserveAspectRatio="xMidYMid meet" aria-hidden="true" role="img">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M689.2 57.5004L647.1 99.6004L637.3 89.8004L679.4 47.7004H636V33.9004H695C696.9 33.9004 698.5 34.5004 699.7 35.5004C700 35.7004 700.2 35.9004 700.4 36.1004C700.6 36.3004 700.8 36.5004 700.9 36.7004V36.8004V36.9004C702 38.1004 702.7 39.8004 702.7 41.8004V43.6004V67.0004V100.7H688.9V80.8004V57.5004H689.2Z" fill="url(#paint0_linear_1629_188)"></path>
3
+ <path d="M52.7 76.4998H67.7C65.3 91.7998 51.9 102.5 35.2 102.5C15.2 102.5 0 87.2998 0 67.3998C0 47.6998 15.2 32.2998 35.2 32.2998C51.9 32.2998 65.3 42.8998 67.7 58.2998H52.7C50.9 50.7998 44.2 45.6998 35.2 45.6998C22.9 45.6998 14.8 55.3998 14.8 67.3998C14.8 79.4998 22.9 89.0998 35.2 89.0998C44.2 89.1998 50.9 84.0998 52.7 76.4998Z" fill="currentColor"></path>
4
+ <path d="M117.2 32.7002V46.6002C106.6 47.0002 98.5002 51.0002 92.5002 58.8002V100.8H77.7002V34.1002H92.5002V43.2002C98.6002 36.5002 107 32.7002 117.2 32.7002Z" fill="currentColor"></path>
5
+ <path d="M237.4 62.5997V100.8H222.8V62.5997C222.8 50.7997 216.6 45.6997 207 45.6997C200.5 45.6997 194.2 48.0997 189.3 54.7997C189.7 56.8997 189.9 59.2997 189.9 61.7997V100.8H175.2V61.7997C175.2 49.9997 169 45.7997 160.3 45.7997C153.3 45.7997 147.1 48.5997 142.3 55.2997V100.9H127.5V34.1997H142.3V39.8997C147.3 35.3997 153.2 32.4997 162 32.4997C171.5 32.4997 179.2 35.7997 184.1 42.1997C190.6 35.7997 198.2 32.4997 207.9 32.4997C225.5 32.3997 237.4 42.8997 237.4 62.5997Z" fill="currentColor"></path>
6
+ <path d="M320 67.3C320 86.9 304.8 102.5 286.1 102.5C277.6 102.5 270.3 99.9 264.8 95.5V100.8H250V0H264.8V39.2C270.3 34.9 277.6 32.4 286.1 32.4C304.8 32.4 320 48 320 67.3ZM305.2 67.3C305.2 55.5 296.3 45.7 283.9 45.7C276.5 45.7 269.7 48.1 264.7 55.1V79.7C269.7 86.7 276.5 89.2 283.9 89.2C296.3 89.2 305.2 79.2 305.2 67.3Z" fill="currentColor"></path>
7
+ <path d="M399.2 67.5004C399.2 87.9004 384.4 102.6 363.7 102.6C343 102.6 328.2 87.9004 328.2 67.5004C328.2 47.1004 343 32.4004 363.7 32.4004C384.4 32.4004 399.2 47.0004 399.2 67.5004ZM384.4 67.5004C384.4 54.9004 375.7 45.8004 363.7 45.8004C351.7 45.8004 343 54.9004 343 67.5004C343 80.0004 351.7 89.2004 363.7 89.2004C375.7 89.2004 384.4 79.9004 384.4 67.5004Z" fill="currentColor"></path>
8
+ <path d="M474.3 63.5997V100.8H459.5V64.4996C459.5 52.2996 453 45.7997 442.2 45.7997C435.8 45.7997 428.9 49.2996 423.6 55.8996V100.9H408.8V34.1996H423.6V40.1996C429.4 35.1996 436.7 32.4996 445.2 32.4996C462.5 32.3996 474.3 44.2997 474.3 63.5997Z" fill="currentColor"></path>
9
+ <path d="M550.4 34.0996V100.8H535.8V94.2996C530 99.5996 522.7 102.5 514.1 102.5C496.8 102.5 485.1 90.1996 485.1 70.9996V34.0996H499.7V70.1996C499.7 82.3996 506.4 89.1996 517 89.1996C523.5 89.1996 530.3 85.4996 535.7 78.6996V34.0996H550.4Z" fill="currentColor"></path>
10
+ <path d="M591.5 90.5002C600.2 90.5002 606.1 87.7002 606.1 82.4002C606.1 78.4002 602.8 75.6002 597.2 74.6002L582.4 72.0002C572.2 70.3002 562.7 65.2002 562.7 53.1002C562.7 40.2002 573.9 32.2002 590.5 32.2002C603.4 32.2002 618.3 36.6002 619.7 54.1002H606.1C605.4 46.9002 599 44.0002 590.5 44.0002C582 44.0002 577.3 47.1002 577.3 51.8002C577.3 55.3002 579.9 58.8002 587.7 60.0002L600.2 62.0002C610.3 63.8002 620.2 68.2002 620.2 81.2002C620.2 95.3002 607.9 102.5 591.1 102.5C575.3 102.5 561.9 96.3002 560.2 78.7002L573.8 78.8002C575.3 87.0002 581.4 90.5002 591.5 90.5002Z" fill="currentColor"></path>
11
+ <defs>
12
+ <linearGradient id="paint0_linear_1629_188" x1="636.833" y1="97.8261" x2="713.46" y2="26.6582" gradientUnits="userSpaceOnUse">
13
+ <stop stop-color="#F7A830"></stop>
14
+ <stop offset="0.6353" stop-color="#F08336"></stop>
15
+ <stop offset="1" stop-color="#EA5346"></stop>
16
+ </linearGradient>
17
+ </defs>
18
+ </svg>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
4
+ viewBox="0 0 50 50" xml:space="preserve">
5
+ <circle style="fill:#25AE88;" cx="25" cy="25" r="25"/>
6
+ <polyline style="fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" points="
7
+ 38,15 22,33 12,25 "/>
8
+ </svg>
@@ -0,0 +1,18 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" viewBox="0 0 703 103" fill="none" preserveAspectRatio="xMidYMid meet" aria-hidden="true" role="img">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M689.2 57.5004L647.1 99.6004L637.3 89.8004L679.4 47.7004H636V33.9004H695C696.9 33.9004 698.5 34.5004 699.7 35.5004C700 35.7004 700.2 35.9004 700.4 36.1004C700.6 36.3004 700.8 36.5004 700.9 36.7004V36.8004V36.9004C702 38.1004 702.7 39.8004 702.7 41.8004V43.6004V67.0004V100.7H688.9V80.8004V57.5004H689.2Z" fill="url(#paint0_linear_1629_188)"></path>
3
+ <path d="M52.7 76.4998H67.7C65.3 91.7998 51.9 102.5 35.2 102.5C15.2 102.5 0 87.2998 0 67.3998C0 47.6998 15.2 32.2998 35.2 32.2998C51.9 32.2998 65.3 42.8998 67.7 58.2998H52.7C50.9 50.7998 44.2 45.6998 35.2 45.6998C22.9 45.6998 14.8 55.3998 14.8 67.3998C14.8 79.4998 22.9 89.0998 35.2 89.0998C44.2 89.1998 50.9 84.0998 52.7 76.4998Z" fill="currentColor"></path>
4
+ <path d="M117.2 32.7002V46.6002C106.6 47.0002 98.5002 51.0002 92.5002 58.8002V100.8H77.7002V34.1002H92.5002V43.2002C98.6002 36.5002 107 32.7002 117.2 32.7002Z" fill="currentColor"></path>
5
+ <path d="M237.4 62.5997V100.8H222.8V62.5997C222.8 50.7997 216.6 45.6997 207 45.6997C200.5 45.6997 194.2 48.0997 189.3 54.7997C189.7 56.8997 189.9 59.2997 189.9 61.7997V100.8H175.2V61.7997C175.2 49.9997 169 45.7997 160.3 45.7997C153.3 45.7997 147.1 48.5997 142.3 55.2997V100.9H127.5V34.1997H142.3V39.8997C147.3 35.3997 153.2 32.4997 162 32.4997C171.5 32.4997 179.2 35.7997 184.1 42.1997C190.6 35.7997 198.2 32.4997 207.9 32.4997C225.5 32.3997 237.4 42.8997 237.4 62.5997Z" fill="currentColor"></path>
6
+ <path d="M320 67.3C320 86.9 304.8 102.5 286.1 102.5C277.6 102.5 270.3 99.9 264.8 95.5V100.8H250V0H264.8V39.2C270.3 34.9 277.6 32.4 286.1 32.4C304.8 32.4 320 48 320 67.3ZM305.2 67.3C305.2 55.5 296.3 45.7 283.9 45.7C276.5 45.7 269.7 48.1 264.7 55.1V79.7C269.7 86.7 276.5 89.2 283.9 89.2C296.3 89.2 305.2 79.2 305.2 67.3Z" fill="currentColor"></path>
7
+ <path d="M399.2 67.5004C399.2 87.9004 384.4 102.6 363.7 102.6C343 102.6 328.2 87.9004 328.2 67.5004C328.2 47.1004 343 32.4004 363.7 32.4004C384.4 32.4004 399.2 47.0004 399.2 67.5004ZM384.4 67.5004C384.4 54.9004 375.7 45.8004 363.7 45.8004C351.7 45.8004 343 54.9004 343 67.5004C343 80.0004 351.7 89.2004 363.7 89.2004C375.7 89.2004 384.4 79.9004 384.4 67.5004Z" fill="currentColor"></path>
8
+ <path d="M474.3 63.5997V100.8H459.5V64.4996C459.5 52.2996 453 45.7997 442.2 45.7997C435.8 45.7997 428.9 49.2996 423.6 55.8996V100.9H408.8V34.1996H423.6V40.1996C429.4 35.1996 436.7 32.4996 445.2 32.4996C462.5 32.3996 474.3 44.2997 474.3 63.5997Z" fill="currentColor"></path>
9
+ <path d="M550.4 34.0996V100.8H535.8V94.2996C530 99.5996 522.7 102.5 514.1 102.5C496.8 102.5 485.1 90.1996 485.1 70.9996V34.0996H499.7V70.1996C499.7 82.3996 506.4 89.1996 517 89.1996C523.5 89.1996 530.3 85.4996 535.7 78.6996V34.0996H550.4Z" fill="currentColor"></path>
10
+ <path d="M591.5 90.5002C600.2 90.5002 606.1 87.7002 606.1 82.4002C606.1 78.4002 602.8 75.6002 597.2 74.6002L582.4 72.0002C572.2 70.3002 562.7 65.2002 562.7 53.1002C562.7 40.2002 573.9 32.2002 590.5 32.2002C603.4 32.2002 618.3 36.6002 619.7 54.1002H606.1C605.4 46.9002 599 44.0002 590.5 44.0002C582 44.0002 577.3 47.1002 577.3 51.8002C577.3 55.3002 579.9 58.8002 587.7 60.0002L600.2 62.0002C610.3 63.8002 620.2 68.2002 620.2 81.2002C620.2 95.3002 607.9 102.5 591.1 102.5C575.3 102.5 561.9 96.3002 560.2 78.7002L573.8 78.8002C575.3 87.0002 581.4 90.5002 591.5 90.5002Z" fill="currentColor"></path>
11
+ <defs>
12
+ <linearGradient id="paint0_linear_1629_188" x1="636.833" y1="97.8261" x2="713.46" y2="26.6582" gradientUnits="userSpaceOnUse">
13
+ <stop stop-color="#F7A830"></stop>
14
+ <stop offset="0.6353" stop-color="#F08336"></stop>
15
+ <stop offset="1" stop-color="#EA5346"></stop>
16
+ </linearGradient>
17
+ </defs>
18
+ </svg>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
4
+ viewBox="0 0 50 50" xml:space="preserve">
5
+ <circle style="fill:#25AE88;" cx="25" cy="25" r="25"/>
6
+ <polyline style="fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;" points="
7
+ 38,15 22,33 12,25 "/>
8
+ </svg>
@@ -0,0 +1,84 @@
1
+
2
+ .container-button {
3
+ /* max-width: 100%; */
4
+ cursor: pointer;
5
+ padding: 5px 5px 5px 14px;
6
+ /* display: flex; */
7
+ }
8
+
9
+ /* padding: 0 15px 15px;
10
+ border: 1px solid #ddd;
11
+ margin-bottom: 20px; */
12
+
13
+ .section-crm {
14
+ border: 1px solid #dbd4d4;
15
+ /* min-height: 50px; */
16
+ text-align: -webkit-center;
17
+ margin-bottom: 20px;
18
+ }
19
+
20
+ .section-cart-crm {
21
+ margin-top: 10px;
22
+ }
23
+
24
+ .section-cart-crm p {
25
+ padding: 0;
26
+ margin: 0px 0px 0px 15px;
27
+ }
28
+
29
+ .button {
30
+ top: 50%;
31
+ background-color: #6c6c7e;
32
+ color: #fff;
33
+ border: none;
34
+ /* border-radius: 10px; */
35
+ padding: 15px;
36
+ min-height: 30px;
37
+ min-width: 120px;
38
+ font-size: 20px;
39
+ cursor: pointer;
40
+ margin-left: 10px;
41
+ height: 70px;
42
+ }
43
+
44
+ .form-container {
45
+ width: 97%;
46
+ display: flex;
47
+ justify-content: space-around;
48
+ }
49
+
50
+
51
+ .btn {
52
+ display: inline-block;
53
+ padding: 6px 12px;
54
+ margin-bottom: 0;
55
+ font-size: 14px;
56
+ font-weight: 400;
57
+ line-height: 1.42857143;
58
+ text-align: center;
59
+ white-space: nowrap;
60
+ vertical-align: middle;
61
+ -ms-touch-action: manipulation;
62
+ touch-action: manipulation;
63
+ cursor: pointer;
64
+ -webkit-user-select: none;
65
+ -moz-user-select: none;
66
+ -ms-user-select: none;
67
+ user-select: none;
68
+ background-image: none;
69
+ border: 1px solid transparent;
70
+ border-radius: 0px;
71
+ }
72
+
73
+ .form-container .btnCrm {
74
+ background: #00162e;
75
+ border-color: #00162e;
76
+ width: 30%;
77
+ color: #fff;
78
+ }
79
+
80
+ .message-alert {
81
+ font-family: sans-serif;
82
+ color: #df4d4d;
83
+ margin-top: 5px;
84
+ }