crmbonus-component-wake 2.0.125 → 2.0.126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/dist/{esm → crmbonus-component-wake}/app-modal.entry.js +2 -3
  2. package/dist/crmbonus-component-wake/app-modal.entry.js.map +1 -0
  3. package/dist/{components/p-abbfbc98.js → crmbonus-component-wake/cart.helper-4e40ffa9.js} +3 -2
  4. package/dist/crmbonus-component-wake/cart.helper-4e40ffa9.js.map +1 -0
  5. package/dist/{esm/cart.helper-30a40560.js → crmbonus-component-wake/cart.helper-a921d7f9.js} +3 -2
  6. package/dist/crmbonus-component-wake/cart.helper-a921d7f9.js.map +1 -0
  7. package/dist/{components/p-2b3b8d6b.js → crmbonus-component-wake/countdown-timer.entry.js} +7 -27
  8. package/dist/crmbonus-component-wake/countdown-timer.entry.js.map +1 -0
  9. package/dist/{esm → crmbonus-component-wake}/crm-bonus-form.entry.js +4 -5
  10. package/dist/crmbonus-component-wake/{p-c23f3a07.entry.js.map → crm-bonus-form.entry.js.map} +1 -1
  11. package/dist/{esm → crmbonus-component-wake}/crm-bonus-note.entry.js +9 -10
  12. package/dist/crmbonus-component-wake/crm-bonus-note.entry.js.map +1 -0
  13. package/dist/{esm → crmbonus-component-wake}/crm-bonus.entry.js +8 -7
  14. package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +1 -0
  15. package/dist/crmbonus-component-wake/crm-button.entry.js +20 -0
  16. package/dist/crmbonus-component-wake/crm-button.entry.js.map +1 -0
  17. package/dist/{esm/crm-giftback-form_2.entry.js → crmbonus-component-wake/crm-giftback-form.entry.js} +12 -27
  18. package/dist/crmbonus-component-wake/crm-giftback-form.entry.js.map +1 -0
  19. package/dist/{components/p-58b97429.js → crmbonus-component-wake/crm-tooltip.entry.js} +8 -27
  20. package/dist/crmbonus-component-wake/crm-tooltip.entry.js.map +1 -0
  21. package/dist/crmbonus-component-wake/crmbonus-component-wake.css +7 -1
  22. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +48 -1
  23. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js.map +1 -1
  24. package/dist/{esm/crmbonus.service-42fbd7fa.js → crmbonus-component-wake/crmbonus.service-67550994.js} +162 -90
  25. package/dist/crmbonus-component-wake/crmbonus.service-67550994.js.map +1 -0
  26. package/dist/{components/p-6eda79c3.js → crmbonus-component-wake/crmbonus.service-9f4c6fd7.js} +165 -93
  27. package/dist/crmbonus-component-wake/crmbonus.service-9f4c6fd7.js.map +1 -0
  28. package/dist/{components/p-b79c86a8.js → crmbonus-component-wake/giftback-finish.entry.js} +8 -25
  29. package/dist/crmbonus-component-wake/giftback-finish.entry.js.map +1 -0
  30. package/dist/{components/p-2671d669.js → crmbonus-component-wake/giftback-info.entry.js} +12 -52
  31. package/dist/crmbonus-component-wake/giftback-info.entry.js.map +1 -0
  32. package/dist/{components/p-6186ddcc.js → crmbonus-component-wake/giftback-pin.entry.js} +8 -38
  33. package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +1 -0
  34. package/dist/{components/p-7c744cca.js → crmbonus-component-wake/giftback-progress.entry.js} +8 -37
  35. package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +1 -0
  36. package/dist/{esm/i18n-e8150dff.js → crmbonus-component-wake/i18n-11138a2c.js} +16 -1
  37. package/dist/{esm/i18n-e8150dff.js.map → crmbonus-component-wake/i18n-11138a2c.js.map} +1 -1
  38. package/dist/crmbonus-component-wake/index-d0fd1dc0.js +3039 -0
  39. package/dist/crmbonus-component-wake/index-d0fd1dc0.js.map +1 -0
  40. package/dist/crmbonus-component-wake/index.esm.js +12 -1
  41. package/dist/crmbonus-component-wake/index.esm.js.map +1 -1
  42. package/dist/crmbonus-component-wake/loading-container.entry.js +18 -0
  43. package/dist/crmbonus-component-wake/loading-container.entry.js.map +1 -0
  44. package/dist/{esm → crmbonus-component-wake}/loading-spinner.entry.js +2 -3
  45. package/dist/crmbonus-component-wake/loading-spinner.entry.js.map +1 -0
  46. package/dist/{components/p-246a3e9d.js → crmbonus-component-wake/name-input.entry.js} +8 -37
  47. package/dist/crmbonus-component-wake/name-input.entry.js.map +1 -0
  48. package/dist/{esm → crmbonus-component-wake}/pedido-finalizado.entry.js +4 -4
  49. package/dist/crmbonus-component-wake/pedido-finalizado.entry.js.map +1 -0
  50. package/dist/{esm → crmbonus-component-wake}/phone-cancel-input.entry.js +1 -1
  51. package/dist/crmbonus-component-wake/phone-cancel-input.entry.js.map +1 -0
  52. package/dist/{components/p-6c546e48.js → crmbonus-component-wake/phone-form.entry.js} +8 -47
  53. package/dist/crmbonus-component-wake/phone-form.entry.js.map +1 -0
  54. package/dist/{esm → crmbonus-component-wake}/phone-input-mask.entry.js +2 -3
  55. package/dist/crmbonus-component-wake/phone-input-mask.entry.js.map +1 -0
  56. package/dist/{esm → crmbonus-component-wake}/phone-input.entry.js +1 -1
  57. package/dist/crmbonus-component-wake/phone-input.entry.js.map +1 -0
  58. package/dist/{components/p-83a12a8f.js → crmbonus-component-wake/pin-form.entry.js} +9 -56
  59. package/dist/crmbonus-component-wake/pin-form.entry.js.map +1 -0
  60. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js +334 -0
  61. package/dist/crmbonus-component-wake/shadow-css-7ad5caf8.js.map +1 -0
  62. package/dist/{collection/utils/utils.js → crmbonus-component-wake/utils-96cf9ae0.js} +8 -5
  63. package/dist/crmbonus-component-wake/utils-96cf9ae0.js.map +1 -0
  64. package/dist/types/home/darlison/Projects/Bycoders/crmbonus/crmbonus-component/.stencil/env.d.ts +1 -1
  65. package/package.json +1 -1
  66. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  67. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  68. package/dist/cjs/app-modal.cjs.entry.js +0 -28
  69. package/dist/cjs/app-modal.cjs.entry.js.map +0 -1
  70. package/dist/cjs/cart.helper-d4d8d619.js +0 -77
  71. package/dist/cjs/cart.helper-d4d8d619.js.map +0 -1
  72. package/dist/cjs/countdown-timer_2.cjs.entry.js +0 -63
  73. package/dist/cjs/countdown-timer_2.cjs.entry.js.map +0 -1
  74. package/dist/cjs/crm-bonus-form.cjs.entry.js +0 -104
  75. package/dist/cjs/crm-bonus-form.cjs.entry.js.map +0 -1
  76. package/dist/cjs/crm-bonus-note.cjs.entry.js +0 -101
  77. package/dist/cjs/crm-bonus-note.cjs.entry.js.map +0 -1
  78. package/dist/cjs/crm-bonus.cjs.entry.js +0 -247
  79. package/dist/cjs/crm-bonus.cjs.entry.js.map +0 -1
  80. package/dist/cjs/crm-giftback-form_2.cjs.entry.js +0 -253
  81. package/dist/cjs/crm-giftback-form_2.cjs.entry.js.map +0 -1
  82. package/dist/cjs/crm-tooltip_4.cjs.entry.js +0 -211
  83. package/dist/cjs/crm-tooltip_4.cjs.entry.js.map +0 -1
  84. package/dist/cjs/crmbonus-component-wake.cjs.js +0 -27
  85. package/dist/cjs/crmbonus-component-wake.cjs.js.map +0 -1
  86. package/dist/cjs/crmbonus.service-9067d00d.js +0 -3877
  87. package/dist/cjs/crmbonus.service-9067d00d.js.map +0 -1
  88. package/dist/cjs/giftback-finish_4.cjs.entry.js +0 -131
  89. package/dist/cjs/giftback-finish_4.cjs.entry.js.map +0 -1
  90. package/dist/cjs/i18n-f2a6f60e.js +0 -2219
  91. package/dist/cjs/i18n-f2a6f60e.js.map +0 -1
  92. package/dist/cjs/index-6054ed44.js +0 -21
  93. package/dist/cjs/index-6054ed44.js.map +0 -1
  94. package/dist/cjs/index-d11684bd.js +0 -1599
  95. package/dist/cjs/index-d11684bd.js.map +0 -1
  96. package/dist/cjs/index.cjs.js +0 -11
  97. package/dist/cjs/index.cjs.js.map +0 -1
  98. package/dist/cjs/info.config.helper-c5d9f781.js +0 -16
  99. package/dist/cjs/info.config.helper-c5d9f781.js.map +0 -1
  100. package/dist/cjs/keys.storage-de7744aa.js +0 -17
  101. package/dist/cjs/keys.storage-de7744aa.js.map +0 -1
  102. package/dist/cjs/loader.cjs.js +0 -17
  103. package/dist/cjs/loader.cjs.js.map +0 -1
  104. package/dist/cjs/loading-spinner.cjs.entry.js +0 -24
  105. package/dist/cjs/loading-spinner.cjs.entry.js.map +0 -1
  106. package/dist/cjs/pedido-finalizado.cjs.entry.js +0 -39
  107. package/dist/cjs/pedido-finalizado.cjs.entry.js.map +0 -1
  108. package/dist/cjs/phone-cancel-input.cjs.entry.js +0 -25
  109. package/dist/cjs/phone-cancel-input.cjs.entry.js.map +0 -1
  110. package/dist/cjs/phone-input-mask.cjs.entry.js +0 -61
  111. package/dist/cjs/phone-input-mask.cjs.entry.js.map +0 -1
  112. package/dist/cjs/phone-input.cjs.entry.js +0 -25
  113. package/dist/cjs/phone-input.cjs.entry.js.map +0 -1
  114. package/dist/cjs/utils-e9413ee3.js +0 -25
  115. package/dist/cjs/utils-e9413ee3.js.map +0 -1
  116. package/dist/collection/assets/svg/info-circle-svgrepo-com.svg +0 -6
  117. package/dist/collection/assets/svg/money-dollars-svgrepo-com.svg +0 -6
  118. package/dist/collection/collection-manifest.json +0 -32
  119. package/dist/collection/components/button/crm-button.css +0 -22
  120. package/dist/collection/components/button/index.js +0 -76
  121. package/dist/collection/components/button/index.js.map +0 -1
  122. package/dist/collection/components/countdown-timer/countdown-timer.js +0 -81
  123. package/dist/collection/components/countdown-timer/countdown-timer.js.map +0 -1
  124. package/dist/collection/components/crm-bonus/assets/logo.svg +0 -18
  125. package/dist/collection/components/crm-bonus/assets/success-svgrepo-com.svg +0 -8
  126. package/dist/collection/components/crm-bonus/assets/svg/logo.svg +0 -18
  127. package/dist/collection/components/crm-bonus/assets/svg/success-svgrepo-com.svg +0 -8
  128. package/dist/collection/components/crm-bonus/crm-bonus.css +0 -84
  129. package/dist/collection/components/crm-bonus/crm-bonus.js +0 -311
  130. package/dist/collection/components/crm-bonus/crm-bonus.js.map +0 -1
  131. package/dist/collection/components/crm-bonus-form/crm-bonus-form.css +0 -19
  132. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js +0 -348
  133. package/dist/collection/components/crm-bonus-form/crm-bonus-form.js.map +0 -1
  134. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.css +0 -10
  135. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js +0 -20
  136. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-finish/giftback-finish.js.map +0 -1
  137. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.css +0 -70
  138. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js +0 -126
  139. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.js.map +0 -1
  140. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.css +0 -110
  141. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js +0 -127
  142. package/dist/collection/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.js.map +0 -1
  143. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.css +0 -108
  144. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js +0 -110
  145. package/dist/collection/components/crm-bonus-form/subcomponents/name-input/name-input.js.map +0 -1
  146. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js +0 -75
  147. package/dist/collection/components/crm-bonus-form/subcomponents/phone/phone.input.js.map +0 -1
  148. package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js +0 -75
  149. package/dist/collection/components/crm-bonus-form/subcomponents/phone-cancel/phone.cancel.input.js.map +0 -1
  150. package/dist/collection/components/giftback-form/giftback-form.css +0 -75
  151. package/dist/collection/components/giftback-form/giftback-form.js +0 -410
  152. package/dist/collection/components/giftback-form/giftback-form.js.map +0 -1
  153. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.css +0 -181
  154. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js +0 -221
  155. package/dist/collection/components/giftback-form/subcomponents/giftback-info/giftback-info.js.map +0 -1
  156. package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js +0 -11
  157. package/dist/collection/components/giftback-form/subcomponents/giftback-message/giftback-massage.js.map +0 -1
  158. package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js +0 -103
  159. package/dist/collection/components/giftback-form/subcomponents/phone-form/phone-form.js.map +0 -1
  160. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.css +0 -84
  161. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js +0 -197
  162. package/dist/collection/components/giftback-form/subcomponents/pin-form/pin-form.js.map +0 -1
  163. package/dist/collection/components/loading-container/loading-container.css +0 -47
  164. package/dist/collection/components/loading-container/loading-container.js +0 -43
  165. package/dist/collection/components/loading-container/loading-container.js.map +0 -1
  166. package/dist/collection/components/loading-spinner/loading-spinner.css +0 -17
  167. package/dist/collection/components/loading-spinner/loading-spinner.js +0 -63
  168. package/dist/collection/components/loading-spinner/loading-spinner.js.map +0 -1
  169. package/dist/collection/components/modal/app-modal.css +0 -45
  170. package/dist/collection/components/modal/app-modal.js +0 -83
  171. package/dist/collection/components/modal/app-modal.js.map +0 -1
  172. package/dist/collection/components/note/crm-bonus-note.css +0 -71
  173. package/dist/collection/components/note/crm-bonus-note.js +0 -117
  174. package/dist/collection/components/note/crm-bonus-note.js.map +0 -1
  175. package/dist/collection/components/pedido/pedido.js +0 -52
  176. package/dist/collection/components/pedido/pedido.js.map +0 -1
  177. package/dist/collection/components/phone/phone-input-mask.css +0 -40
  178. package/dist/collection/components/phone/phone-input-mask.js +0 -125
  179. package/dist/collection/components/phone/phone-input-mask.js.map +0 -1
  180. package/dist/collection/components/tooltip/crm-tooltip.css +0 -49
  181. package/dist/collection/components/tooltip/tooltip.js +0 -61
  182. package/dist/collection/components/tooltip/tooltip.js.map +0 -1
  183. package/dist/collection/contants/index.js +0 -16
  184. package/dist/collection/contants/index.js.map +0 -1
  185. package/dist/collection/contants/mocks.js +0 -28
  186. package/dist/collection/contants/mocks.js.map +0 -1
  187. package/dist/collection/dto/pin.sent.js +0 -2
  188. package/dist/collection/dto/pin.sent.js.map +0 -1
  189. package/dist/collection/dto/update.order.dto.js +0 -2
  190. package/dist/collection/dto/update.order.dto.js.map +0 -1
  191. package/dist/collection/dto/validate.pin.bonus.js +0 -5
  192. package/dist/collection/dto/validate.pin.bonus.js.map +0 -1
  193. package/dist/collection/helpers/build.payload.helper.js +0 -25
  194. package/dist/collection/helpers/build.payload.helper.js.map +0 -1
  195. package/dist/collection/helpers/cart.helper.js +0 -27
  196. package/dist/collection/helpers/cart.helper.js.map +0 -1
  197. package/dist/collection/helpers/info.config.helper.js +0 -11
  198. package/dist/collection/helpers/info.config.helper.js.map +0 -1
  199. package/dist/collection/helpers/time.helper.js +0 -12
  200. package/dist/collection/helpers/time.helper.js.map +0 -1
  201. package/dist/collection/i18n/i18n.js +0 -35
  202. package/dist/collection/i18n/i18n.js.map +0 -1
  203. package/dist/collection/index.js +0 -11
  204. package/dist/collection/index.js.map +0 -1
  205. package/dist/collection/objectvalues/cart.wake.js +0 -46
  206. package/dist/collection/objectvalues/cart.wake.js.map +0 -1
  207. package/dist/collection/services/crmbonus.service.js +0 -118
  208. package/dist/collection/services/crmbonus.service.js.map +0 -1
  209. package/dist/collection/utils/keys.storage.js +0 -9
  210. package/dist/collection/utils/keys.storage.js.map +0 -1
  211. package/dist/collection/utils/utils.js.map +0 -1
  212. package/dist/components/app-modal.js +0 -46
  213. package/dist/components/app-modal.js.map +0 -1
  214. package/dist/components/countdown-timer.js +0 -8
  215. package/dist/components/countdown-timer.js.map +0 -1
  216. package/dist/components/crm-bonus-form.js +0 -165
  217. package/dist/components/crm-bonus-form.js.map +0 -1
  218. package/dist/components/crm-bonus-note.js +0 -139
  219. package/dist/components/crm-bonus-note.js.map +0 -1
  220. package/dist/components/crm-bonus.js +0 -337
  221. package/dist/components/crm-bonus.js.map +0 -1
  222. package/dist/components/crm-button.js +0 -8
  223. package/dist/components/crm-button.js.map +0 -1
  224. package/dist/components/crm-giftback-form.js +0 -8
  225. package/dist/components/crm-giftback-form.js.map +0 -1
  226. package/dist/components/crm-tooltip.js +0 -8
  227. package/dist/components/crm-tooltip.js.map +0 -1
  228. package/dist/components/giftback-finish.js +0 -8
  229. package/dist/components/giftback-finish.js.map +0 -1
  230. package/dist/components/giftback-info.js +0 -8
  231. package/dist/components/giftback-info.js.map +0 -1
  232. package/dist/components/giftback-pin.js +0 -8
  233. package/dist/components/giftback-pin.js.map +0 -1
  234. package/dist/components/giftback-progress.js +0 -8
  235. package/dist/components/giftback-progress.js.map +0 -1
  236. package/dist/components/index.js +0 -4
  237. package/dist/components/index.js.map +0 -1
  238. package/dist/components/loading-container.js +0 -8
  239. package/dist/components/loading-container.js.map +0 -1
  240. package/dist/components/loading-spinner.js +0 -8
  241. package/dist/components/loading-spinner.js.map +0 -1
  242. package/dist/components/name-input.js +0 -8
  243. package/dist/components/name-input.js.map +0 -1
  244. package/dist/components/p-11085d9b.js +0 -79
  245. package/dist/components/p-11085d9b.js.map +0 -1
  246. package/dist/components/p-246a3e9d.js.map +0 -1
  247. package/dist/components/p-2671d669.js.map +0 -1
  248. package/dist/components/p-2b3b8d6b.js.map +0 -1
  249. package/dist/components/p-3e84f78c.js +0 -1408
  250. package/dist/components/p-3e84f78c.js.map +0 -1
  251. package/dist/components/p-47f9da55.js +0 -46
  252. package/dist/components/p-47f9da55.js.map +0 -1
  253. package/dist/components/p-58b97429.js.map +0 -1
  254. package/dist/components/p-6186ddcc.js.map +0 -1
  255. package/dist/components/p-6c546e48.js.map +0 -1
  256. package/dist/components/p-6eda79c3.js.map +0 -1
  257. package/dist/components/p-75ba7b9a.js +0 -14
  258. package/dist/components/p-75ba7b9a.js.map +0 -1
  259. package/dist/components/p-7c744cca.js.map +0 -1
  260. package/dist/components/p-7cfea8fe.js +0 -19
  261. package/dist/components/p-7cfea8fe.js.map +0 -1
  262. package/dist/components/p-83a12a8f.js.map +0 -1
  263. package/dist/components/p-abbfbc98.js.map +0 -1
  264. package/dist/components/p-b79c86a8.js.map +0 -1
  265. package/dist/components/p-ba369e65.js +0 -21
  266. package/dist/components/p-ba369e65.js.map +0 -1
  267. package/dist/components/p-cc1ea33f.js +0 -36
  268. package/dist/components/p-cc1ea33f.js.map +0 -1
  269. package/dist/components/p-e18e11ae.js +0 -316
  270. package/dist/components/p-e18e11ae.js.map +0 -1
  271. package/dist/components/p-e8c19a64.js +0 -2217
  272. package/dist/components/p-e8c19a64.js.map +0 -1
  273. package/dist/components/p-f9aeffc1.js +0 -12
  274. package/dist/components/p-f9aeffc1.js.map +0 -1
  275. package/dist/components/p-fe9c3966.js +0 -39
  276. package/dist/components/p-fe9c3966.js.map +0 -1
  277. package/dist/components/pedido-finalizado.js +0 -54
  278. package/dist/components/pedido-finalizado.js.map +0 -1
  279. package/dist/components/phone-cancel-input.js +0 -55
  280. package/dist/components/phone-cancel-input.js.map +0 -1
  281. package/dist/components/phone-form.js +0 -8
  282. package/dist/components/phone-form.js.map +0 -1
  283. package/dist/components/phone-input-mask.js +0 -8
  284. package/dist/components/phone-input-mask.js.map +0 -1
  285. package/dist/components/phone-input.js +0 -55
  286. package/dist/components/phone-input.js.map +0 -1
  287. package/dist/components/pin-form.js +0 -8
  288. package/dist/components/pin-form.js.map +0 -1
  289. package/dist/crmbonus-component-wake/p-03b77c41.entry.js +0 -2
  290. package/dist/crmbonus-component-wake/p-03b77c41.entry.js.map +0 -1
  291. package/dist/crmbonus-component-wake/p-3d6152b1.js +0 -3
  292. package/dist/crmbonus-component-wake/p-3d6152b1.js.map +0 -1
  293. package/dist/crmbonus-component-wake/p-4fa63df0.entry.js +0 -2
  294. package/dist/crmbonus-component-wake/p-4fa63df0.entry.js.map +0 -1
  295. package/dist/crmbonus-component-wake/p-620ec1a3.entry.js +0 -2
  296. package/dist/crmbonus-component-wake/p-620ec1a3.entry.js.map +0 -1
  297. package/dist/crmbonus-component-wake/p-6eda79c3.js +0 -2
  298. package/dist/crmbonus-component-wake/p-6eda79c3.js.map +0 -1
  299. package/dist/crmbonus-component-wake/p-74206c91.entry.js +0 -2
  300. package/dist/crmbonus-component-wake/p-74206c91.entry.js.map +0 -1
  301. package/dist/crmbonus-component-wake/p-75ba7b9a.js +0 -2
  302. package/dist/crmbonus-component-wake/p-75ba7b9a.js.map +0 -1
  303. package/dist/crmbonus-component-wake/p-7b7fb354.entry.js +0 -2
  304. package/dist/crmbonus-component-wake/p-7b7fb354.entry.js.map +0 -1
  305. package/dist/crmbonus-component-wake/p-7cdb2c4a.entry.js +0 -2
  306. package/dist/crmbonus-component-wake/p-7cdb2c4a.entry.js.map +0 -1
  307. package/dist/crmbonus-component-wake/p-7cfea8fe.js +0 -2
  308. package/dist/crmbonus-component-wake/p-7cfea8fe.js.map +0 -1
  309. package/dist/crmbonus-component-wake/p-885fc30e.entry.js +0 -2
  310. package/dist/crmbonus-component-wake/p-885fc30e.entry.js.map +0 -1
  311. package/dist/crmbonus-component-wake/p-90716188.entry.js +0 -2
  312. package/dist/crmbonus-component-wake/p-90716188.entry.js.map +0 -1
  313. package/dist/crmbonus-component-wake/p-a33f7c24.entry.js +0 -2
  314. package/dist/crmbonus-component-wake/p-a33f7c24.entry.js.map +0 -1
  315. package/dist/crmbonus-component-wake/p-abbfbc98.js +0 -2
  316. package/dist/crmbonus-component-wake/p-abbfbc98.js.map +0 -1
  317. package/dist/crmbonus-component-wake/p-b7a8f915.entry.js +0 -2
  318. package/dist/crmbonus-component-wake/p-b7a8f915.entry.js.map +0 -1
  319. package/dist/crmbonus-component-wake/p-ba369e65.js +0 -2
  320. package/dist/crmbonus-component-wake/p-ba369e65.js.map +0 -1
  321. package/dist/crmbonus-component-wake/p-be3ddacc.entry.js +0 -2
  322. package/dist/crmbonus-component-wake/p-be3ddacc.entry.js.map +0 -1
  323. package/dist/crmbonus-component-wake/p-c23f3a07.entry.js +0 -2
  324. package/dist/crmbonus-component-wake/p-e1255160.js +0 -2
  325. package/dist/crmbonus-component-wake/p-e1255160.js.map +0 -1
  326. package/dist/crmbonus-component-wake/p-e8c19a64.js +0 -2
  327. package/dist/crmbonus-component-wake/p-e8c19a64.js.map +0 -1
  328. package/dist/crmbonus-component-wake/p-f9aeffc1.js +0 -2
  329. package/dist/crmbonus-component-wake/p-f9aeffc1.js.map +0 -1
  330. package/dist/crmbonus-component-wake/p-fad20959.entry.js +0 -2
  331. package/dist/crmbonus-component-wake/p-fad20959.entry.js.map +0 -1
  332. package/dist/env.js +0 -3
  333. package/dist/env.js.map +0 -1
  334. package/dist/esm/app-modal.entry.js.map +0 -1
  335. package/dist/esm/cart.helper-30a40560.js.map +0 -1
  336. package/dist/esm/countdown-timer_2.entry.js +0 -58
  337. package/dist/esm/countdown-timer_2.entry.js.map +0 -1
  338. package/dist/esm/crm-bonus-form.entry.js.map +0 -1
  339. package/dist/esm/crm-bonus-note.entry.js.map +0 -1
  340. package/dist/esm/crm-bonus.entry.js.map +0 -1
  341. package/dist/esm/crm-giftback-form_2.entry.js.map +0 -1
  342. package/dist/esm/crm-tooltip_4.entry.js +0 -204
  343. package/dist/esm/crm-tooltip_4.entry.js.map +0 -1
  344. package/dist/esm/crmbonus-component-wake.js +0 -22
  345. package/dist/esm/crmbonus-component-wake.js.map +0 -1
  346. package/dist/esm/crmbonus.service-42fbd7fa.js.map +0 -1
  347. package/dist/esm/giftback-finish_4.entry.js +0 -124
  348. package/dist/esm/giftback-finish_4.entry.js.map +0 -1
  349. package/dist/esm/index-e8724c8f.js +0 -1571
  350. package/dist/esm/index-e8724c8f.js.map +0 -1
  351. package/dist/esm/index.js +0 -3
  352. package/dist/esm/index.js.map +0 -1
  353. package/dist/esm/loader.js +0 -13
  354. package/dist/esm/loader.js.map +0 -1
  355. package/dist/esm/loading-spinner.entry.js.map +0 -1
  356. package/dist/esm/pedido-finalizado.entry.js.map +0 -1
  357. package/dist/esm/phone-cancel-input.entry.js.map +0 -1
  358. package/dist/esm/phone-input-mask.entry.js.map +0 -1
  359. package/dist/esm/phone-input.entry.js.map +0 -1
  360. package/dist/esm/utils-d642b4db.js +0 -21
  361. package/dist/esm/utils-d642b4db.js.map +0 -1
  362. package/dist/index.cjs.js +0 -1
  363. package/dist/index.js +0 -1
  364. /package/dist/{esm → crmbonus-component-wake}/app-globals-0f993ce5.js +0 -0
  365. /package/dist/{esm → crmbonus-component-wake}/app-globals-0f993ce5.js.map +0 -0
  366. /package/dist/{esm → crmbonus-component-wake}/index-5b567099.js +0 -0
  367. /package/dist/{esm → crmbonus-component-wake}/index-5b567099.js.map +0 -0
  368. /package/dist/{esm → crmbonus-component-wake}/info.config.helper-42d9ddf9.js +0 -0
  369. /package/dist/{esm → crmbonus-component-wake}/info.config.helper-42d9ddf9.js.map +0 -0
  370. /package/dist/{esm → crmbonus-component-wake}/keys.storage-8c76fcd7.js +0 -0
  371. /package/dist/{esm → crmbonus-component-wake}/keys.storage-8c76fcd7.js.map +0 -0
@@ -1,197 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import i18next from "../../../../i18n/i18n";
3
- export class GiftbackPin {
4
- constructor() {
5
- this.validate = undefined;
6
- this.cancel = undefined;
7
- this.resend = undefined;
8
- this.sent = undefined;
9
- this.loading = false;
10
- this.phone = undefined;
11
- this.config = undefined;
12
- this.pin = ['', '', '', ''];
13
- this.isVerified = false;
14
- this.canResend = false;
15
- }
16
- componentWillLoad() {
17
- this.canResend = false;
18
- }
19
- handleInput(event, index) {
20
- const input = event.target;
21
- const value = input.value.slice(0, 1); // Limitar a um único dígito
22
- this.pin[index] = value;
23
- // Focar no próximo campo, se possível
24
- if (value && index < this.pin.length - 1) {
25
- const nextInput = input.nextElementSibling;
26
- nextInput === null || nextInput === void 0 ? void 0 : nextInput.focus();
27
- }
28
- this.pin = [...this.pin];
29
- }
30
- validatePin() {
31
- this.validate(this.pin.join(""));
32
- }
33
- verifyPin() {
34
- const pinCode = this.pin.join('');
35
- if (pinCode === '9999') {
36
- this.isVerified = true;
37
- }
38
- }
39
- handleTimeout() {
40
- this.canResend = true;
41
- }
42
- async handleResend() {
43
- await this.resend();
44
- this.canResend = false;
45
- this.pin = ['', '', '', ''];
46
- }
47
- render() {
48
- var _a;
49
- return (h("div", { key: '15aa6a8fe4e0fa3ea1a35e68b7853a4ca392899c', class: "crm-phone-form" }, h("label", { key: '83d48a38bc6cbbdbd391d7253a1e1fc3d01c44d2', class: "crm-subtitle" }, i18next.t('pin-sutitle'), " ", h("strong", { key: 'e88a16f28032afb4746dc8f97e83e2794b75f3fd' }, "+55 ", this.phone)), h("div", { key: '516969313ac099dfa1e4761784ef5f4e5c5225c3', class: "pin-container" }, this.pin.map((_, index) => (h("input", { type: "text", maxLength: 1, value: this.pin[index], onInput: (event) => this.handleInput(event, index) })))), h("slot", { key: 'b0ffbe2329a9e010766f3cf8e52943ebdbfe101e' }), h("p", { key: '91e9372e69f32ce93806ca194bf6347cd0a0a3ce', class: "crm-description" }, " N\u00E3o recebeu?", !this.canResend && h("label", { key: 'ed22df22e0498434ff3d6a187387aa8ddc48f6ef' }, " Reenviar em ", h("countdown-timer", { key: 'a81630d82997e9b74ceb08b52cd818d0aa81f00e', initialValue: 30, downtime: () => this.handleTimeout() }), " "), this.canResend && (h("div", { key: '417c6dc13b0e87993c8dbb71d9e263678e1025d8' }, h("a", { key: '9832f3c85b503e820d2452d76dc60a008ec250c9', onClick: () => this.handleResend() }, "Reenviar"), h("a", { key: '9c6ff0ab7b1e0f46235eed0a2e0c2142f3bd41f6', onClick: () => this.cancel() }, "Trocar n\u00FAmero")))), h("crm-button", { key: 'f347d33b491d5dae491ce5ed77e7f20734cfa76b', txtBtn: ((_a = this.config) === null || _a === void 0 ? void 0 : _a.btnApplyBonusLabel) || "Avançar", loading: this.loading, handleClick: () => this.validatePin() })));
50
- }
51
- static get is() { return "pin-form"; }
52
- static get encapsulation() { return "shadow"; }
53
- static get originalStyleUrls() {
54
- return {
55
- "$": ["pin-form.css", "../../giftback-form.css"]
56
- };
57
- }
58
- static get styleUrls() {
59
- return {
60
- "$": ["pin-form.css", "../../giftback-form.css"]
61
- };
62
- }
63
- static get properties() {
64
- return {
65
- "validate": {
66
- "type": "unknown",
67
- "mutable": false,
68
- "complexType": {
69
- "original": "(pin: string) => void",
70
- "resolved": "(pin: string) => void",
71
- "references": {}
72
- },
73
- "required": false,
74
- "optional": false,
75
- "docs": {
76
- "tags": [],
77
- "text": ""
78
- }
79
- },
80
- "cancel": {
81
- "type": "unknown",
82
- "mutable": false,
83
- "complexType": {
84
- "original": "() => void",
85
- "resolved": "() => void",
86
- "references": {}
87
- },
88
- "required": false,
89
- "optional": false,
90
- "docs": {
91
- "tags": [],
92
- "text": ""
93
- }
94
- },
95
- "resend": {
96
- "type": "unknown",
97
- "mutable": false,
98
- "complexType": {
99
- "original": "() => void",
100
- "resolved": "() => void",
101
- "references": {}
102
- },
103
- "required": false,
104
- "optional": false,
105
- "docs": {
106
- "tags": [],
107
- "text": ""
108
- }
109
- },
110
- "sent": {
111
- "type": "unknown",
112
- "mutable": false,
113
- "complexType": {
114
- "original": "IPinSent",
115
- "resolved": "IPinSent",
116
- "references": {
117
- "IPinSent": {
118
- "location": "import",
119
- "path": "../../../../dto/pin.sent",
120
- "id": "src/dto/pin.sent.ts::IPinSent"
121
- }
122
- }
123
- },
124
- "required": false,
125
- "optional": false,
126
- "docs": {
127
- "tags": [],
128
- "text": ""
129
- }
130
- },
131
- "loading": {
132
- "type": "boolean",
133
- "mutable": false,
134
- "complexType": {
135
- "original": "boolean",
136
- "resolved": "boolean",
137
- "references": {}
138
- },
139
- "required": false,
140
- "optional": false,
141
- "docs": {
142
- "tags": [],
143
- "text": ""
144
- },
145
- "attribute": "loading",
146
- "reflect": false,
147
- "defaultValue": "false"
148
- },
149
- "phone": {
150
- "type": "string",
151
- "mutable": false,
152
- "complexType": {
153
- "original": "string",
154
- "resolved": "string",
155
- "references": {}
156
- },
157
- "required": false,
158
- "optional": false,
159
- "docs": {
160
- "tags": [],
161
- "text": ""
162
- },
163
- "attribute": "phone",
164
- "reflect": false
165
- },
166
- "config": {
167
- "type": "unknown",
168
- "mutable": false,
169
- "complexType": {
170
- "original": "IInfoStore",
171
- "resolved": "IInfoStore",
172
- "references": {
173
- "IInfoStore": {
174
- "location": "import",
175
- "path": "../../../../helpers/info.config.helper",
176
- "id": "src/helpers/info.config.helper.ts::IInfoStore"
177
- }
178
- }
179
- },
180
- "required": false,
181
- "optional": false,
182
- "docs": {
183
- "tags": [],
184
- "text": ""
185
- }
186
- }
187
- };
188
- }
189
- static get states() {
190
- return {
191
- "pin": {},
192
- "isVerified": {},
193
- "canResend": {}
194
- };
195
- }
196
- }
197
- //# sourceMappingURL=pin-form.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pin-form.js","sourceRoot":"","sources":["../../../../../../src/components/giftback-form/subcomponents/pin-form/pin-form.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\nimport { IPinSent } from '../../../../dto/pin.sent';\nimport i18next from '../../../../i18n/i18n'\nimport { IInfoStore } from '../../../../helpers/info.config.helper';\n\n@Component({\n tag: 'pin-form',\n styleUrls: ['pin-form.css', '../../giftback-form.css'],\n shadow: true,\n})\nexport class GiftbackPin {\n\n @Prop() validate: (pin: string) => void;\n @Prop() cancel: () => void;\n @Prop() resend: () => void;\n\n @Prop() sent: IPinSent;\n @Prop() loading: boolean = false;\n @Prop() phone: string;\n @Prop() config: IInfoStore;\n\n @State() pin: string[] = ['', '', '', ''];\n @State() isVerified: boolean = false;\n @State() canResend: boolean = false;\n\n componentWillLoad() {\n this.canResend = false;\n }\n\n handleInput(event: Event, index: number) {\n const input = event.target as HTMLInputElement;\n const value = input.value.slice(0, 1); // Limitar a um único dígito\n this.pin[index] = value;\n\n // Focar no próximo campo, se possível\n if (value && index < this.pin.length - 1) {\n const nextInput = input.nextElementSibling as HTMLInputElement;\n nextInput?.focus();\n }\n\n this.pin = [...this.pin];\n }\n\n validatePin() {\n this.validate(this.pin.join(\"\"))\n }\n\n verifyPin() {\n const pinCode = this.pin.join('');\n if (pinCode === '9999') {\n this.isVerified = true;\n }\n }\n\n handleTimeout() {\n this.canResend = true;\n }\n\n async handleResend() {\n await this.resend();\n\n this.canResend = false;\n this.pin = ['', '', '', '']\n }\n\n render() {\n return (\n <div class=\"crm-phone-form\">\n <label class=\"crm-subtitle\" >{i18next.t('pin-sutitle')} <strong>+55 {this.phone}</strong></label>\n <div class=\"pin-container\">\n {this.pin.map((_, index) => (\n <input\n type=\"text\"\n maxLength={1}\n value={this.pin[index]}\n onInput={(event) => this.handleInput(event, index)}\n />\n ))}\n </div>\n\n <slot></slot>\n\n <p class=\"crm-description\"> Não recebeu?\n {\n !this.canResend && <label> Reenviar em <countdown-timer initialValue={30} downtime={() => this.handleTimeout()} /> </label>\n }\n {\n this.canResend && (\n <div >\n <a onClick={() => this.handleResend()}>Reenviar</a>\n <a onClick={() => this.cancel()}>Trocar número</a>\n </div>\n )\n }\n </p>\n <crm-button txtBtn={this.config?.btnApplyBonusLabel || \"Avançar\"} loading={this.loading} handleClick={() => this.validatePin()} />\n </div >\n );\n }\n}\n"]}
@@ -1,47 +0,0 @@
1
- /* Estilo para centralizar o container do loading */
2
- .loading-container {
3
- position: absolute;
4
- /* Fixa o loading na tela */
5
- top: 0;
6
- left: 0;
7
- width: 100%;
8
- /* Tamanho total da tela */
9
- height: 100%;
10
- background-color: rgba(0, 0, 0, 0.5);
11
- /* Fundo semitransparente */
12
- display: flex;
13
- /* Centraliza o conteúdo */
14
- justify-content: center;
15
- align-items: center;
16
- z-index: 1000;
17
- /* Coloca o loading acima de outros elementos */
18
- }
19
-
20
- /* Estilo do spinner (círculo giratório) */
21
- .loading-spinner {
22
- width: 50px;
23
- height: 50px;
24
- border: 5px solid rgba(255, 255, 255, 0.3);
25
- /* Borda semitransparente */
26
- border-top: 5px solid white;
27
- /* Borda que será animada */
28
- border-radius: 50%;
29
- /* Faz o círculo */
30
- animation: spin 1s linear infinite;
31
- /* Gira continuamente */
32
- }
33
-
34
- /* Keyframes para a animação de rotação */
35
- @keyframes spin {
36
- 0% {
37
- transform: rotate(0deg);
38
- }
39
-
40
- 100% {
41
- transform: rotate(360deg);
42
- }
43
- }
44
-
45
- .relative-xy {
46
- position: relative;
47
- }
@@ -1,43 +0,0 @@
1
- import { h } from "@stencil/core";
2
- export class LoadingContainer {
3
- constructor() {
4
- this.loading = true;
5
- }
6
- render() {
7
- return (h("div", { key: '06a7a57acb07c91ca75d00dd42ca568ac708a3ef', class: "relative-xy" }, this.loading && (h("div", { key: '6eee6954ce47b3a60cc9d3f599aa826c30e522db', class: "loading-container" }, h("div", { key: '8747ac17ca30704d18739ccd1cf7d31fbbb05419', class: "loading-spinner" }))), h("slot", { key: '32ffc7a17474372cf35fe7812fa4f193d00aa224' })));
8
- }
9
- static get is() { return "loading-container"; }
10
- static get originalStyleUrls() {
11
- return {
12
- "$": ["loading-container.css"]
13
- };
14
- }
15
- static get styleUrls() {
16
- return {
17
- "$": ["loading-container.css"]
18
- };
19
- }
20
- static get properties() {
21
- return {
22
- "loading": {
23
- "type": "boolean",
24
- "mutable": false,
25
- "complexType": {
26
- "original": "boolean",
27
- "resolved": "boolean",
28
- "references": {}
29
- },
30
- "required": false,
31
- "optional": false,
32
- "docs": {
33
- "tags": [],
34
- "text": ""
35
- },
36
- "attribute": "loading",
37
- "reflect": false,
38
- "defaultValue": "true"
39
- }
40
- };
41
- }
42
- }
43
- //# sourceMappingURL=loading-container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loading-container.js","sourceRoot":"","sources":["../../../../src/components/loading-container/loading-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAMnD,MAAM,OAAO,gBAAgB;;uBAEE,IAAI;;IAE/B,MAAM;QACF,OAAO,CACH,4DAAK,KAAK,EAAC,aAAa;YAEhB,IAAI,CAAC,OAAO,IAAI,CACZ,4DAAK,KAAK,EAAC,mBAAmB;gBAC1B,4DAAK,KAAK,EAAC,iBAAiB,GAEtB,CAEJ,CACT;YAEL,8DAAa,CACX,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Prop, h } from \"@stencil/core\";\n\n@Component({\n tag: 'loading-container',\n styleUrl: 'loading-container.css'\n})\nexport class LoadingContainer {\n\n @Prop() loading: boolean = true;\n\n render() {\n return (\n <div class=\"relative-xy\">\n {\n this.loading && (\n <div class=\"loading-container\">\n <div class=\"loading-spinner\">\n\n </div>\n \n </div>\n )\n }\n <slot></slot>\n </div>\n )\n }\n}"]}
@@ -1,17 +0,0 @@
1
- .spinner {
2
- display: inline-block;
3
- border: 4px solid transparent;
4
- border-radius: 50%;
5
- border-top-color: var(--color, #0078d7);
6
- animation: spin 1s linear infinite;
7
- }
8
-
9
- @keyframes spin {
10
- 0% {
11
- transform: rotate(0deg);
12
- }
13
-
14
- 100% {
15
- transform: rotate(360deg);
16
- }
17
- }
@@ -1,63 +0,0 @@
1
- import { h } from "@stencil/core";
2
- export class LoadingSpinner {
3
- constructor() {
4
- this.size = '50px';
5
- this.color = '#0078d7';
6
- }
7
- render() {
8
- return (h("div", { key: '148b1ced74314541178bf725d205e8271b682335', class: "spinner", style: { width: this.size, height: this.size, borderColor: `${this.color} transparent transparent transparent` } }));
9
- }
10
- static get is() { return "loading-spinner"; }
11
- static get encapsulation() { return "shadow"; }
12
- static get originalStyleUrls() {
13
- return {
14
- "$": ["loading-spinner.css"]
15
- };
16
- }
17
- static get styleUrls() {
18
- return {
19
- "$": ["loading-spinner.css"]
20
- };
21
- }
22
- static get properties() {
23
- return {
24
- "size": {
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": "size",
39
- "reflect": false,
40
- "defaultValue": "'50px'"
41
- },
42
- "color": {
43
- "type": "string",
44
- "mutable": false,
45
- "complexType": {
46
- "original": "string",
47
- "resolved": "string",
48
- "references": {}
49
- },
50
- "required": false,
51
- "optional": false,
52
- "docs": {
53
- "tags": [],
54
- "text": ""
55
- },
56
- "attribute": "color",
57
- "reflect": false,
58
- "defaultValue": "'#0078d7'"
59
- }
60
- };
61
- }
62
- }
63
- //# sourceMappingURL=loading-spinner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loading-spinner.js","sourceRoot":"","sources":["../../../../src/components/loading-spinner/loading-spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,cAAc;;oBACA,MAAM;qBACL,SAAS;;IAEjC,MAAM;QACF,OAAO,CACH,4DAAK,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,sCAAsC,EAAE,GAAQ,CAChJ,CAAC;IACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'loading-spinner',\n styleUrl: 'loading-spinner.css',\n shadow: true,\n})\nexport class LoadingSpinner {\n @Prop() size: string = '50px'; // Tamanho do spinner (padrão 50px)\n @Prop() color: string = '#0078d7'; // Cor do spinner (padrão azul)\n\n render() {\n return (\n <div class=\"spinner\" style={{ width: this.size, height: this.size, borderColor: `${this.color} transparent transparent transparent` }}></div>\n );\n }\n}\n"]}
@@ -1,45 +0,0 @@
1
- .modal-backdrop {
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- width: 100%;
6
- height: 100%;
7
- background-color: rgba(0, 0, 0, 0.5);
8
- display: none;
9
- justify-content: center;
10
- align-items: center;
11
- z-index: 1000;
12
- }
13
-
14
- .modal-backdrop.visible {
15
- display: flex;
16
- }
17
-
18
- .modal {
19
- background: white;
20
- border-radius: 8px;
21
- padding: 1rem;
22
- max-width: 500px;
23
- width: 90%;
24
- box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
25
- }
26
-
27
- .modal-header {
28
- display: flex;
29
- justify-content: space-between;
30
- align-items: center;
31
- border-bottom: 1px solid #ddd;
32
- margin-bottom: 1rem;
33
- }
34
-
35
- .close-button {
36
- background: none;
37
- border: none;
38
- font-size: 1.5rem;
39
- cursor: pointer;
40
- }
41
-
42
- .modal-body {
43
- /* padding: 1rem 0; */
44
- }
45
-
@@ -1,83 +0,0 @@
1
- import { h } from "@stencil/core";
2
- export class AppModal {
3
- constructor() {
4
- this.isOpen = false;
5
- this.modalTitle = undefined;
6
- }
7
- closeModal() {
8
- this.modalClosed.emit();
9
- }
10
- render() {
11
- return (h("div", { key: '3f44609d2835224eea0668475f6851eab807cfce', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: 'c7998d2ab6ce04ce722a52712267b0493495cb29', class: "modal" }, h("div", { key: 'dcc7438d690866d20972f04c6c9ad39f4f2e84da', class: "modal-header" }, h("h3", { key: '0257c585eeec3daf72b7b371b557ae699891dba9' }, this.modalTitle), h("button", { key: 'e0b4f89907a4da774c021bcc3797f5b2fb1f0c0e', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: 'e9efd84c1fd89da8b9df15970b71beae66ea6fb8', class: "modal-body" }, h("slot", { key: '6e3371866a4a2adf86a04e30e7a1ed843e7492fb' })))));
12
- }
13
- static get is() { return "app-modal"; }
14
- static get encapsulation() { return "shadow"; }
15
- static get originalStyleUrls() {
16
- return {
17
- "$": ["app-modal.css"]
18
- };
19
- }
20
- static get styleUrls() {
21
- return {
22
- "$": ["app-modal.css"]
23
- };
24
- }
25
- static get properties() {
26
- return {
27
- "isOpen": {
28
- "type": "boolean",
29
- "mutable": false,
30
- "complexType": {
31
- "original": "boolean",
32
- "resolved": "boolean",
33
- "references": {}
34
- },
35
- "required": false,
36
- "optional": false,
37
- "docs": {
38
- "tags": [],
39
- "text": ""
40
- },
41
- "attribute": "is-open",
42
- "reflect": true,
43
- "defaultValue": "false"
44
- },
45
- "modalTitle": {
46
- "type": "string",
47
- "mutable": false,
48
- "complexType": {
49
- "original": "string",
50
- "resolved": "string",
51
- "references": {}
52
- },
53
- "required": false,
54
- "optional": false,
55
- "docs": {
56
- "tags": [],
57
- "text": ""
58
- },
59
- "attribute": "modal-title",
60
- "reflect": false
61
- }
62
- };
63
- }
64
- static get events() {
65
- return [{
66
- "method": "modalClosed",
67
- "name": "modalClosed",
68
- "bubbles": true,
69
- "cancelable": true,
70
- "composed": true,
71
- "docs": {
72
- "tags": [],
73
- "text": ""
74
- },
75
- "complexType": {
76
- "original": "void",
77
- "resolved": "void",
78
- "references": {}
79
- }
80
- }];
81
- }
82
- }
83
- //# sourceMappingURL=app-modal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-modal.js","sourceRoot":"","sources":["../../../../src/components/modal/app-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOxE,MAAM,OAAO,QAAQ;;sBAG0B,KAAK;;;IAQxC,UAAU;QACd,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;IAC5B,CAAC;IAED,MAAM;QACF,OAAO,CACH,4DAAK,KAAK,EAAE,kBAAkB,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;YACxD,4DAAK,KAAK,EAAC,OAAO;gBACd,4DAAK,KAAK,EAAC,cAAc;oBACrB,6DAAK,IAAI,CAAC,UAAU,CAAM;oBAC1B,+DAAQ,KAAK,EAAC,cAAc,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,EAAE,aAEpD,CACP;gBACN,4DAAK,KAAK,EAAC,YAAY;oBACnB,8DAAQ,CACN,CACJ,CACJ,CACT,CAAA;IACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Event, EventEmitter, Prop, h } from \"@stencil/core\";\n\n@Component({\n tag: 'app-modal',\n styleUrl: 'app-modal.css',\n shadow: true,\n})\nexport class AppModal {\n\n // Controle da visibilidade do modal\n @Prop({ reflect: true }) isOpen: boolean = false;\n\n // Título do modal\n @Prop() modalTitle: string;\n\n // Evento emitido ao fechar o modal\n @Event() modalClosed: EventEmitter<void>;\n\n private closeModal() {\n this.modalClosed.emit();\n }\n\n render() {\n return (\n <div class={`modal-backdrop ${this.isOpen ? 'visible' : ''}`}>\n <div class=\"modal\">\n <div class=\"modal-header\">\n <h3>{this.modalTitle}</h3>\n <button class=\"close-button\" onClick={() => this.closeModal()}>\n ×\n </button>\n </div>\n <div class=\"modal-body\">\n <slot />\n </div>\n </div>\n </div>\n )\n }\n}"]}
@@ -1,71 +0,0 @@
1
- .note-container {
2
- border: 1px solid #dddddd;
3
- padding: 0 15px 15px;
4
- margin: 0 0 26px 0px;
5
- display: flex;
6
- flex-direction: column;
7
- gap: 13px;
8
-
9
-
10
- & .description {
11
- display: flex;
12
- flex-direction: column;
13
- gap: 13px;
14
- }
15
- }
16
-
17
- .note-container hr {
18
- border: 1px solid #CCC;
19
- }
20
-
21
- .note-container .back-cart {
22
- display: flex;
23
- text-align: center;
24
- }
25
-
26
- .note-header {
27
- display: flex;
28
- align-items: baseline;
29
- justify-content: space-between;
30
- }
31
-
32
- .note-title {
33
- font-weight: 700;
34
- text-align: left;
35
- display: flex;
36
- gap: 6px;
37
- align-items: center;
38
- margin-top: 11px;
39
- color: #000;
40
- }
41
-
42
- .note-description {
43
- font-family: Arial;
44
- color: #6d6d5f;
45
- padding: 0;
46
- margin: 0 auto;
47
- }
48
-
49
- .back-cart {
50
- font-size: .9em;
51
- color: #27272A;
52
- text-decoration: none;
53
- cursor: pointer;
54
- margin-top: 11px;
55
- }
56
-
57
- .note-description-2 {
58
- color: var(--crm-scheme-fg-main-inverse, #262626);
59
- font-family: Roboto;
60
- font-size: var(--crm-font-size-body-lg, 16px);
61
- font-style: normal;
62
- font-weight: var(--crm-font-weight-body-bold, 400);
63
- line-height: var(--crm-line-height-body-md, 20px);
64
- letter-spacing: var(--crm-letter-spacing-title-md, 0px);
65
- margin-top: 11px;
66
- color: #000;
67
- }
68
-
69
- .note-description-not {
70
- font-size: 16px;
71
- }