crmbonus-component-wake 2.0.51 → 2.0.52

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 (318) 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/countdown-timer_4.cjs.entry.js +181 -0
  6. package/dist/cjs/countdown-timer_4.cjs.entry.js.map +1 -0
  7. package/dist/cjs/crm-bonus-form.cjs.entry.js +103 -0
  8. package/dist/cjs/crm-bonus-form.cjs.entry.js.map +1 -0
  9. package/dist/cjs/crm-bonus-note.cjs.entry.js +53 -0
  10. package/dist/{crmbonus-component-wake/crm-bonus-note.entry.js.map → cjs/crm-bonus-note.cjs.entry.js.map} +1 -1
  11. package/dist/cjs/crm-bonus.cjs.entry.js +204 -0
  12. package/dist/cjs/crm-bonus.cjs.entry.js.map +1 -0
  13. package/dist/cjs/crm-button.cjs.entry.js +25 -0
  14. package/dist/cjs/crm-button.cjs.entry.js.map +1 -0
  15. package/dist/cjs/crm-giftback-form.cjs.entry.js +173 -0
  16. package/dist/cjs/crm-giftback-form.cjs.entry.js.map +1 -0
  17. package/dist/cjs/crmbonus-component-wake.cjs.js +27 -0
  18. package/dist/cjs/crmbonus-component-wake.cjs.js.map +1 -0
  19. package/dist/cjs/crmbonus.service-3c4ebbdf.js +3852 -0
  20. package/dist/cjs/crmbonus.service-3c4ebbdf.js.map +1 -0
  21. package/dist/cjs/giftback-finish_4.cjs.entry.js +132 -0
  22. package/dist/cjs/giftback-finish_4.cjs.entry.js.map +1 -0
  23. package/dist/cjs/i18n-efd790a3.js +2209 -0
  24. package/dist/cjs/i18n-efd790a3.js.map +1 -0
  25. package/dist/cjs/index-80419303.js +1253 -0
  26. package/dist/cjs/index-80419303.js.map +1 -0
  27. package/dist/cjs/index-96a8951f.js +16 -0
  28. package/dist/cjs/index-96a8951f.js.map +1 -0
  29. package/dist/cjs/index.cjs.js +11 -0
  30. package/dist/cjs/index.cjs.js.map +1 -0
  31. package/dist/cjs/info.config.helper-c5d9f781.js +16 -0
  32. package/dist/cjs/info.config.helper-c5d9f781.js.map +1 -0
  33. package/dist/cjs/loader.cjs.js +17 -0
  34. package/dist/cjs/loader.cjs.js.map +1 -0
  35. package/dist/cjs/loading-spinner.cjs.entry.js +24 -0
  36. package/dist/cjs/loading-spinner.cjs.entry.js.map +1 -0
  37. package/dist/cjs/pedido-finalizado.cjs.entry.js +36 -0
  38. package/dist/cjs/pedido-finalizado.cjs.entry.js.map +1 -0
  39. package/dist/cjs/phone-cancel-input.cjs.entry.js +25 -0
  40. package/dist/cjs/phone-cancel-input.cjs.entry.js.map +1 -0
  41. package/dist/cjs/phone-input-mask.cjs.entry.js +61 -0
  42. package/dist/cjs/phone-input-mask.cjs.entry.js.map +1 -0
  43. package/dist/cjs/phone-input.cjs.entry.js +25 -0
  44. package/dist/cjs/phone-input.cjs.entry.js.map +1 -0
  45. package/dist/collection/assets/svg/money-dollars-svgrepo-com.svg +6 -0
  46. package/dist/collection/collection-manifest.json +30 -0
  47. package/dist/collection/components/button/crm-button.css +22 -0
  48. package/dist/collection/components/button/index.js +76 -0
  49. package/dist/collection/components/button/index.js.map +1 -0
  50. package/dist/collection/components/countdown-timer/countdown-timer.js +51 -0
  51. package/dist/collection/components/countdown-timer/countdown-timer.js.map +1 -0
  52. package/dist/collection/components/crm-bonus/assets/logo.svg +18 -0
  53. package/dist/collection/components/crm-bonus/assets/success-svgrepo-com.svg +8 -0
  54. package/dist/collection/components/crm-bonus/assets/svg/logo.svg +18 -0
  55. package/dist/collection/components/crm-bonus/assets/svg/success-svgrepo-com.svg +8 -0
  56. package/dist/collection/components/crm-bonus/crm-bonus.css +84 -0
  57. package/dist/collection/components/crm-bonus/crm-bonus.js +291 -0
  58. package/dist/collection/components/crm-bonus/crm-bonus.js.map +1 -0
  59. package/dist/collection/components/crm-bonus-form/crm-bonus-form.css +19 -0
  60. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js +348 -0
  61. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js.map +1 -0
  62. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.css +10 -0
  63. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js +20 -0
  64. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js.map +1 -0
  65. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.css +70 -0
  66. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js +127 -0
  67. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js.map +1 -0
  68. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.css +110 -0
  69. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js +127 -0
  70. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js.map +1 -0
  71. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.css +108 -0
  72. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js +110 -0
  73. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js.map +1 -0
  74. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js +75 -0
  75. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js.map +1 -0
  76. package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js +75 -0
  77. package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js.map +1 -0
  78. package/dist/collection/components/giftback-form/giftback-form.css +74 -0
  79. package/dist/collection/components/giftback-form/giftback-form.js +248 -0
  80. package/dist/collection/components/giftback-form/giftback-form.js.map +1 -0
  81. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.css +154 -0
  82. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js +156 -0
  83. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js.map +1 -0
  84. package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js +11 -0
  85. package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js.map +1 -0
  86. package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js +103 -0
  87. package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js.map +1 -0
  88. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.css +84 -0
  89. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js +198 -0
  90. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js.map +1 -0
  91. package/dist/collection/components/loading-spinner/loading-spinner.css +17 -0
  92. package/dist/collection/components/loading-spinner/loading-spinner.js +63 -0
  93. package/dist/collection/components/loading-spinner/loading-spinner.js.map +1 -0
  94. package/dist/collection/components/modal/app-modal.css +45 -0
  95. package/dist/collection/components/modal/app-modal.js +83 -0
  96. package/dist/collection/components/modal/app-modal.js.map +1 -0
  97. package/dist/collection/components/note/crm-bonus-note.css +54 -0
  98. package/dist/collection/components/note/crm-bonus-note.js +94 -0
  99. package/dist/collection/components/note/crm-bonus-note.js.map +1 -0
  100. package/dist/collection/components/pedido/pedido.js +83 -0
  101. package/dist/collection/components/pedido/pedido.js.map +1 -0
  102. package/dist/collection/components/phone/phone-input-mask.css +39 -0
  103. package/dist/collection/components/phone/phone-input-mask.js +125 -0
  104. package/dist/collection/components/phone/phone-input-mask.js.map +1 -0
  105. package/dist/collection/contants/index.js +11 -0
  106. package/dist/collection/contants/index.js.map +1 -0
  107. package/dist/collection/contants/mocks.js +28 -0
  108. package/dist/collection/contants/mocks.js.map +1 -0
  109. package/dist/collection/dto/pin.sent.js +2 -0
  110. package/dist/collection/dto/pin.sent.js.map +1 -0
  111. package/dist/collection/dto/update.order.dto.js +2 -0
  112. package/dist/collection/dto/update.order.dto.js.map +1 -0
  113. package/dist/collection/dto/validate.pin.bonus.js +2 -0
  114. package/dist/collection/dto/validate.pin.bonus.js.map +1 -0
  115. package/dist/collection/helpers/info.config.helper.js +11 -0
  116. package/dist/collection/helpers/info.config.helper.js.map +1 -0
  117. package/dist/collection/i18n/i18n.js +25 -0
  118. package/dist/collection/i18n/i18n.js.map +1 -0
  119. package/dist/collection/index.js +11 -0
  120. package/dist/collection/index.js.map +1 -0
  121. package/dist/collection/services/crmbonus.service.js +96 -0
  122. package/dist/collection/services/crmbonus.service.js.map +1 -0
  123. package/dist/collection/utils/utils.js +4 -0
  124. package/dist/collection/utils/utils.js.map +1 -0
  125. package/dist/components/app-modal.js +46 -0
  126. package/dist/components/app-modal.js.map +1 -0
  127. package/dist/components/countdown-timer.js +8 -0
  128. package/dist/components/countdown-timer.js.map +1 -0
  129. package/dist/components/crm-bonus-form.js +165 -0
  130. package/dist/components/crm-bonus-form.js.map +1 -0
  131. package/dist/components/crm-bonus-note.js +72 -0
  132. package/dist/components/crm-bonus-note.js.map +1 -0
  133. package/dist/components/crm-bonus.js +282 -0
  134. package/dist/components/crm-bonus.js.map +1 -0
  135. package/dist/components/crm-button.js +8 -0
  136. package/dist/components/crm-button.js.map +1 -0
  137. package/dist/components/crm-giftback-form.js +8 -0
  138. package/dist/components/crm-giftback-form.js.map +1 -0
  139. package/dist/components/giftback-finish.js +8 -0
  140. package/dist/components/giftback-finish.js.map +1 -0
  141. package/dist/components/giftback-info.js +8 -0
  142. package/dist/components/giftback-info.js.map +1 -0
  143. package/dist/components/giftback-pin.js +8 -0
  144. package/dist/components/giftback-pin.js.map +1 -0
  145. package/dist/components/giftback-progress.js +8 -0
  146. package/dist/components/giftback-progress.js.map +1 -0
  147. package/dist/components/index.js +9 -0
  148. package/dist/components/index.js.map +1 -0
  149. package/dist/components/loading-spinner.js +8 -0
  150. package/dist/components/loading-spinner.js.map +1 -0
  151. package/dist/components/name-input.js +8 -0
  152. package/dist/components/name-input.js.map +1 -0
  153. package/dist/components/p-2f266d73.js +1068 -0
  154. package/dist/components/p-2f266d73.js.map +1 -0
  155. package/dist/components/p-39d680b6.js +49 -0
  156. package/dist/components/p-39d680b6.js.map +1 -0
  157. package/dist/{crmbonus-component-wake/giftback-pin.entry.js → components/p-4f18f4c0.js} +39 -9
  158. package/dist/components/p-4f18f4c0.js.map +1 -0
  159. package/dist/components/p-57ec707e.js +79 -0
  160. package/dist/components/p-57ec707e.js.map +1 -0
  161. package/dist/components/p-5c3fe5a8.js +39 -0
  162. package/dist/components/p-5c3fe5a8.js.map +1 -0
  163. package/dist/components/p-73e75b43.js +240 -0
  164. package/dist/components/p-73e75b43.js.map +1 -0
  165. package/dist/components/p-75ba7b9a.js +14 -0
  166. package/dist/components/p-75ba7b9a.js.map +1 -0
  167. package/dist/components/p-9f68d2a1.js +65 -0
  168. package/dist/components/p-9f68d2a1.js.map +1 -0
  169. package/dist/{crmbonus-component-wake/name-input.entry.js → components/p-a30bd6b1.js} +38 -9
  170. package/dist/components/p-a30bd6b1.js.map +1 -0
  171. package/dist/components/p-a561251a.js +14 -0
  172. package/dist/components/p-a561251a.js.map +1 -0
  173. package/dist/{crmbonus-component-wake/crmbonus.service-98a7bcf0.js → components/p-dd6f6ab7.js} +90 -165
  174. package/dist/components/p-dd6f6ab7.js.map +1 -0
  175. package/dist/components/p-e4ac17bf.js +46 -0
  176. package/dist/components/p-e4ac17bf.js.map +1 -0
  177. package/dist/components/p-f168d5f6.js +69 -0
  178. package/dist/components/p-f168d5f6.js.map +1 -0
  179. package/dist/{crmbonus-component-wake/pin-form.entry.js → components/p-f4244087.js} +57 -10
  180. package/dist/components/p-f4244087.js.map +1 -0
  181. package/dist/{crmbonus-component-wake/giftback-info.entry.js → components/p-f579d773.js} +36 -13
  182. package/dist/components/p-f579d773.js.map +1 -0
  183. package/dist/components/p-f5fcff75.js +36 -0
  184. package/dist/components/p-f5fcff75.js.map +1 -0
  185. package/dist/{crmbonus-component-wake/i18n-a17a0837.js → components/p-fb505488.js} +1 -16
  186. package/dist/components/p-fb505488.js.map +1 -0
  187. package/dist/components/pedido-finalizado.js +54 -0
  188. package/dist/components/pedido-finalizado.js.map +1 -0
  189. package/dist/components/phone-cancel-input.js +55 -0
  190. package/dist/components/phone-cancel-input.js.map +1 -0
  191. package/dist/components/phone-form.js +8 -0
  192. package/dist/components/phone-form.js.map +1 -0
  193. package/dist/components/phone-input-mask.js +8 -0
  194. package/dist/components/phone-input-mask.js.map +1 -0
  195. package/dist/components/phone-input.js +55 -0
  196. package/dist/components/phone-input.js.map +1 -0
  197. package/dist/components/pin-form.js +8 -0
  198. package/dist/components/pin-form.js.map +1 -0
  199. package/dist/crmbonus-component-wake/crmbonus-component-wake.css +1 -7
  200. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +1 -48
  201. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -1
  202. package/dist/crmbonus-component-wake/index.esm.js +1 -16
  203. package/dist/crmbonus-component-wake/index.esm.js.map +1 -1
  204. package/dist/crmbonus-component-wake/p-118fc099.entry.js +2 -0
  205. package/dist/crmbonus-component-wake/p-118fc099.entry.js.map +1 -0
  206. package/dist/crmbonus-component-wake/p-298d8fff.entry.js +2 -0
  207. package/dist/crmbonus-component-wake/p-298d8fff.entry.js.map +1 -0
  208. package/dist/crmbonus-component-wake/p-312caf3f.entry.js +2 -0
  209. package/dist/crmbonus-component-wake/p-312caf3f.entry.js.map +1 -0
  210. package/dist/crmbonus-component-wake/p-3522a3e3.entry.js +2 -0
  211. package/dist/crmbonus-component-wake/p-3522a3e3.entry.js.map +1 -0
  212. package/dist/crmbonus-component-wake/p-3beb5158.entry.js +2 -0
  213. package/dist/crmbonus-component-wake/p-3beb5158.entry.js.map +1 -0
  214. package/dist/crmbonus-component-wake/p-66f41fd0.entry.js +2 -0
  215. package/dist/crmbonus-component-wake/p-66f41fd0.entry.js.map +1 -0
  216. package/dist/crmbonus-component-wake/p-6e6bf96e.js +3 -0
  217. package/dist/crmbonus-component-wake/p-6e6bf96e.js.map +1 -0
  218. package/dist/crmbonus-component-wake/p-75ba7b9a.js +2 -0
  219. package/dist/crmbonus-component-wake/p-75ba7b9a.js.map +1 -0
  220. package/dist/crmbonus-component-wake/p-830b5bdc.entry.js +2 -0
  221. package/dist/crmbonus-component-wake/p-830b5bdc.entry.js.map +1 -0
  222. package/dist/crmbonus-component-wake/p-8b9a1aec.entry.js +2 -0
  223. package/dist/crmbonus-component-wake/p-8b9a1aec.entry.js.map +1 -0
  224. package/dist/crmbonus-component-wake/p-9acd4f81.entry.js +2 -0
  225. package/dist/crmbonus-component-wake/p-9acd4f81.entry.js.map +1 -0
  226. package/dist/crmbonus-component-wake/p-a561251a.js +2 -0
  227. package/dist/crmbonus-component-wake/p-a561251a.js.map +1 -0
  228. package/dist/crmbonus-component-wake/p-adb37e26.entry.js +2 -0
  229. package/dist/crmbonus-component-wake/p-adb37e26.entry.js.map +1 -0
  230. package/dist/crmbonus-component-wake/p-c4cc29a0.entry.js +2 -0
  231. package/dist/crmbonus-component-wake/p-c4cc29a0.entry.js.map +1 -0
  232. package/dist/crmbonus-component-wake/p-c8054eaf.entry.js +2 -0
  233. package/dist/crmbonus-component-wake/p-c8054eaf.entry.js.map +1 -0
  234. package/dist/crmbonus-component-wake/p-c86583a2.entry.js +2 -0
  235. package/dist/crmbonus-component-wake/p-c86583a2.entry.js.map +1 -0
  236. package/dist/crmbonus-component-wake/p-dd6f6ab7.js +2 -0
  237. package/dist/crmbonus-component-wake/p-dd6f6ab7.js.map +1 -0
  238. package/dist/crmbonus-component-wake/p-e1255160.js +2 -0
  239. package/dist/crmbonus-component-wake/p-e1255160.js.map +1 -0
  240. package/dist/crmbonus-component-wake/p-fb505488.js +2 -0
  241. package/dist/crmbonus-component-wake/p-fb505488.js.map +1 -0
  242. package/dist/env.js +5 -0
  243. package/dist/env.js.map +1 -0
  244. package/dist/{crmbonus-component-wake → esm}/app-modal.entry.js +4 -3
  245. package/dist/esm/app-modal.entry.js.map +1 -0
  246. package/dist/esm/countdown-timer_4.entry.js +174 -0
  247. package/dist/esm/countdown-timer_4.entry.js.map +1 -0
  248. package/dist/{crmbonus-component-wake → esm}/crm-bonus-form.entry.js +5 -4
  249. package/dist/esm/crm-bonus-form.entry.js.map +1 -0
  250. package/dist/{crmbonus-component-wake → esm}/crm-bonus-note.entry.js +6 -5
  251. package/dist/esm/crm-bonus-note.entry.js.map +1 -0
  252. package/dist/{crmbonus-component-wake → esm}/crm-bonus.entry.js +6 -7
  253. package/dist/esm/crm-bonus.entry.js.map +1 -0
  254. package/dist/{crmbonus-component-wake → esm}/crm-button.entry.js +4 -3
  255. package/dist/esm/crm-button.entry.js.map +1 -0
  256. package/dist/{crmbonus-component-wake → esm}/crm-giftback-form.entry.js +11 -10
  257. package/dist/esm/crm-giftback-form.entry.js.map +1 -0
  258. package/dist/esm/crmbonus-component-wake.js +22 -0
  259. package/dist/esm/crmbonus-component-wake.js.map +1 -0
  260. package/dist/{crmbonus-component-wake/crmbonus.service-0e166281.js → esm/crmbonus.service-9cba7b49.js} +92 -167
  261. package/dist/esm/crmbonus.service-9cba7b49.js.map +1 -0
  262. package/dist/esm/giftback-finish_4.entry.js +125 -0
  263. package/dist/esm/giftback-finish_4.entry.js.map +1 -0
  264. package/dist/esm/i18n-887a3ef8.js +2207 -0
  265. package/dist/{crmbonus-component-wake/i18n-a17a0837.js.map → esm/i18n-887a3ef8.js.map} +1 -1
  266. package/dist/esm/index-a4c14fca.js +1225 -0
  267. package/dist/esm/index-a4c14fca.js.map +1 -0
  268. package/dist/esm/index.js +7 -0
  269. package/dist/esm/index.js.map +1 -0
  270. package/dist/esm/loader.js +13 -0
  271. package/dist/esm/loader.js.map +1 -0
  272. package/dist/{crmbonus-component-wake → esm}/loading-spinner.entry.js +4 -3
  273. package/dist/esm/loading-spinner.entry.js.map +1 -0
  274. package/dist/{crmbonus-component-wake → esm}/pedido-finalizado.entry.js +3 -3
  275. package/dist/esm/pedido-finalizado.entry.js.map +1 -0
  276. package/dist/{crmbonus-component-wake → esm}/phone-cancel-input.entry.js +2 -2
  277. package/dist/esm/phone-cancel-input.entry.js.map +1 -0
  278. package/dist/{crmbonus-component-wake → esm}/phone-input-mask.entry.js +4 -3
  279. package/dist/esm/phone-input-mask.entry.js.map +1 -0
  280. package/dist/{crmbonus-component-wake → esm}/phone-input.entry.js +2 -2
  281. package/dist/esm/phone-input.entry.js.map +1 -0
  282. package/dist/index.cjs.js +1 -0
  283. package/dist/index.js +1 -0
  284. package/package.json +1 -1
  285. package/dist/crmbonus-component-wake/app-modal.entry.js.map +0 -1
  286. package/dist/crmbonus-component-wake/countdown-timer.entry.js +0 -30
  287. package/dist/crmbonus-component-wake/countdown-timer.entry.js.map +0 -1
  288. package/dist/crmbonus-component-wake/crm-bonus-form.entry.js.map +0 -1
  289. package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +0 -1
  290. package/dist/crmbonus-component-wake/crm-button.entry.js.map +0 -1
  291. package/dist/crmbonus-component-wake/crm-giftback-form.entry.js.map +0 -1
  292. package/dist/crmbonus-component-wake/crmbonus.service-0e166281.js.map +0 -1
  293. package/dist/crmbonus-component-wake/crmbonus.service-98a7bcf0.js.map +0 -1
  294. package/dist/crmbonus-component-wake/giftback-finish.entry.js +0 -19
  295. package/dist/crmbonus-component-wake/giftback-finish.entry.js.map +0 -1
  296. package/dist/crmbonus-component-wake/giftback-info.entry.js.map +0 -1
  297. package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +0 -1
  298. package/dist/crmbonus-component-wake/giftback-progress.entry.js +0 -40
  299. package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +0 -1
  300. package/dist/crmbonus-component-wake/index-bdc90e13.js +0 -3039
  301. package/dist/crmbonus-component-wake/index-bdc90e13.js.map +0 -1
  302. package/dist/crmbonus-component-wake/loading-spinner.entry.js.map +0 -1
  303. package/dist/crmbonus-component-wake/name-input.entry.js.map +0 -1
  304. package/dist/crmbonus-component-wake/pedido-finalizado.entry.js.map +0 -1
  305. package/dist/crmbonus-component-wake/phone-cancel-input.entry.js.map +0 -1
  306. package/dist/crmbonus-component-wake/phone-form.entry.js +0 -26
  307. package/dist/crmbonus-component-wake/phone-form.entry.js.map +0 -1
  308. package/dist/crmbonus-component-wake/phone-input-mask.entry.js.map +0 -1
  309. package/dist/crmbonus-component-wake/phone-input.entry.js.map +0 -1
  310. package/dist/crmbonus-component-wake/pin-form.entry.js.map +0 -1
  311. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js +0 -334
  312. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js.map +0 -1
  313. /package/dist/{crmbonus-component-wake → esm}/app-globals-0f993ce5.js +0 -0
  314. /package/dist/{crmbonus-component-wake → esm}/app-globals-0f993ce5.js.map +0 -0
  315. /package/dist/{crmbonus-component-wake → esm}/index-3c6d4feb.js +0 -0
  316. /package/dist/{crmbonus-component-wake → esm}/index-3c6d4feb.js.map +0 -0
  317. /package/dist/{crmbonus-component-wake → esm}/info.config.helper-42d9ddf9.js +0 -0
  318. /package/dist/{crmbonus-component-wake → esm}/info.config.helper-42d9ddf9.js.map +0 -0
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-80419303.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: '04c879b5671b42602a36a9a88734604fcfa1d1da', class: "form-container" }, index.h("phone-input-mask", { key: 'a0ced8d74da25026383eac206bbf45f6fa9482e7', initialValue: `Valor aplicado R$ ${this.value}`, ref: ref => this.phoneInputMask = ref, disabled: true }), index.h("button", { key: '89b08e7af3145068a449fb8e375372c280da7b7a', 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-80419303.js');
6
+ const index$1 = require('./index-96a8951f.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:246px;height:48px;padding:13px 16px 13px 16px;border:1px solid #CCCCCC}.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
+ }
42
+ validatePhoneNumber(phone) {
43
+ console.log('phone', 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: '2d71394634096e1a50a560632af60e6705fbb09a' }, index.h("input", { key: 'c34b3920d495efb6df9bd40e3003bcf85be20bf4', disabled: this.disabled, id: "phone", type: "text", class: "phone-input-form", value: this.phone, onInput: (event) => this.handleInput(event), placeholder: "(12) 94567 8910" }), index.h("p", { key: '51783e29a77b9424926c4db96b6e33ecae65003b', 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,ouBAAouB,CAAC;AAC/vB,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;KACJ;IAED,mBAAmB,CAAC,KAAa;QAC7B,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;QAC3B,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: 246px;\n height: 48px;\n padding: 13px 16px 13px 16px;\n border: 1px solid #CCCCCC;\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\n validatePhoneNumber(phone: string): boolean {\n console.log('phone', phone)\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=\"(12) 94567 8910\"\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-80419303.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: '7388feb890331d696bf51ddc5690707673e06546', class: "form-container" }, index.h("phone-input-mask", { key: 'a3241090e731daa0b558503a9347de7a15f0025e', initialValue: this.value, ref: ref => this.phoneInputMask = ref }), index.h("button", { key: 'd36c5fd1b8cf7dfb0d3100450215c426855e82a6', 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,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,30 @@
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-spinner/loading-spinner.js",
18
+ "components/modal/app-modal.js",
19
+ "components/note/crm-bonus-note.js",
20
+ "components/pedido/pedido.js",
21
+ "components/phone/phone-input-mask.js"
22
+ ],
23
+ "compiler": {
24
+ "name": "@stencil/core",
25
+ "version": "4.22.2",
26
+ "typescriptVersion": "5.5.4"
27
+ },
28
+ "collections": [],
29
+ "bundles": []
30
+ }
@@ -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: 246px;
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,51 @@
1
+ import { h } from "@stencil/core";
2
+ export class CountdownTimer {
3
+ constructor() {
4
+ this.downtime = undefined;
5
+ this.counter = 30;
6
+ }
7
+ componentWillLoad() {
8
+ this.intervalId = setInterval(() => {
9
+ if (this.counter > 0) {
10
+ this.counter--;
11
+ }
12
+ else {
13
+ clearInterval(this.intervalId);
14
+ this.downtime();
15
+ }
16
+ }, 1000); // Intervalo de 1 segundo
17
+ }
18
+ disconnectedCallback() {
19
+ clearInterval(this.intervalId);
20
+ }
21
+ render() {
22
+ return (h("label", { key: '6313656b73bec34e3e4e5099c2bd7633e025588e' }, this.counter, "s"));
23
+ }
24
+ static get is() { return "countdown-timer"; }
25
+ static get encapsulation() { return "shadow"; }
26
+ static get properties() {
27
+ return {
28
+ "downtime": {
29
+ "type": "unknown",
30
+ "mutable": false,
31
+ "complexType": {
32
+ "original": "() => void",
33
+ "resolved": "() => void",
34
+ "references": {}
35
+ },
36
+ "required": false,
37
+ "optional": false,
38
+ "docs": {
39
+ "tags": [],
40
+ "text": ""
41
+ }
42
+ }
43
+ };
44
+ }
45
+ static get states() {
46
+ return {
47
+ "counter": {}
48
+ };
49
+ }
50
+ }
51
+ //# 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;;;uBAII,EAAE;;IAG7B,iBAAiB;QACb,IAAI,CAAC,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE;YAC/B,IAAI,IAAI,CAAC,OAAO,GAAG,CAAC,EAAE,CAAC;gBACnB,IAAI,CAAC,OAAO,EAAE,CAAC;YACnB,CAAC;iBAAM,CAAC;gBACJ,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;gBAE/B,IAAI,CAAC,QAAQ,EAAE,CAAA;YACnB,CAAC;QACL,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,yBAAyB;IACvC,CAAC;IAED,oBAAoB;QAChB,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;IAED,MAAM;QACF,OAAO,CACH;YAAQ,IAAI,CAAC,OAAO;gBAAU,CACjC,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\n @State() counter: number = 30;\n private intervalId: NodeJS.Timer;\n\n componentWillLoad() {\n this.intervalId = setInterval(() => {\n if (this.counter > 0) {\n this.counter--;\n } else {\n clearInterval(this.intervalId);\n\n this.downtime()\n }\n }, 1000); // Intervalo de 1 segundo\n }\n\n disconnectedCallback() {\n clearInterval(this.intervalId);\n }\n\n render() {\n return (\n <label>{this.counter}s</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
+ }