@tesouro/embedded-components-react 0.7.59 → 0.7.61

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 (236) hide show
  1. package/README.md +2 -3
  2. package/dist/index.css +0 -15
  3. package/dist/lib/monite-sdk.d.ts +2 -163
  4. package/dist/lib/monite-sdk.js +41 -47
  5. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +45 -52
  6. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +174 -53
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +55 -1
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -153
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -1224
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -176
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -8
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +8 -15
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +55 -5
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +36 -50
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +73 -2
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -3
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -1
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -2
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +69 -8
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +168 -52
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -41
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -74
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -37
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -14
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -11
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -71
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -170
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +0 -6
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -1
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +39 -64
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +562 -72
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -35
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +159 -0
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -57
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +23 -40
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +10 -567
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +12 -1
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -1
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +16 -158
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +21 -1
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -24
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +24 -10
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +17 -10
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +69 -10
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +25 -16
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -19
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +40 -26
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +51 -1
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +58 -22
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -19
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +28 -68
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -24
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +77 -5
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -43
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -51
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +48 -58
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +81 -1
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +111 -29
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -41
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -78
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +12 -4
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -2
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +73 -48
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -81
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +124 -108
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -7
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -10
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +54 -10
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +5 -20
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +15 -73
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +62 -127
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +122 -1
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +22 -11
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -54
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +31 -5
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -17
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +58 -1
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +73 -62
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +22 -116
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -24
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -6
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -35
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -7
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +181 -53
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -75
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +30 -26
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +2 -0
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +0 -60
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -17
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -22
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +16 -183
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +20 -1
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +5 -29
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +18 -3
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -1
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -35
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +8 -1
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +6 -17
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +11 -14
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -5
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -18
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -19
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -20
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -5
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -5
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +13 -14
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -18
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +16 -9
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +98 -23
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -11
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -8
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -27
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +104 -14
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -81
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -14
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +11 -99
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -46
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -27
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +27 -1
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +203 -97
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -34
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -171
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -14
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +19 -4
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +157 -67
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +100 -23
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -209
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -92
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +22 -20
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +77 -1
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +17 -17
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +18 -156
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -101
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -43
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +13 -4
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +130 -21
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -74
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -16
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -22
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +219 -5
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -9
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +12 -11
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -131
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -5
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +73 -5
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +184 -5
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +14 -220
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +203 -31
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -11
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +64 -34
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +54 -19
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -73
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +33 -174
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +77 -14
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +80 -199
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -100
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +21 -61
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +16 -56
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -94
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +22 -41
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -79
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -87
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +30 -12
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -24
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +23 -17
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -5
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +31 -22
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +31 -1
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -22
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +23 -13
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -15
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +4 -42
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -24
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +31 -4
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +7 -4
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -2
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -35
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -6
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +7 -9
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -8
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +6 -12
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +6 -6
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -9
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +21 -1
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +30 -4
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +10 -6
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +72 -1
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +50 -17
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -32
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -10
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +46 -69
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +14 -50
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +45 -18
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +63 -46
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +34 -11
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +38 -14
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +24 -1
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +12 -46
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -35
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +50 -60
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -36
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -39
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +71 -21
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +79 -11
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -17
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -54
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +29 -12
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +2 -24
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -71
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -80
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -0
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +56 -8
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -27
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +37 -2
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -19
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +104 -3
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +0 -1
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +53 -55
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +1 -12
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +50 -34
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +49 -100
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +14 -54
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +17 -1
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +150 -52
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1224 -1
  228. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  229. package/package.json +1 -1
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +0 -32
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -4
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -23
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -18
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -33
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -31
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -2
@@ -1,56 +1,172 @@
1
- import { useCurrencies as e } from "./index66.js";
2
- import "./index79.js";
3
- import { getCurrenciesArray as t } from "./index104.js";
4
- import "./index107.js";
5
- import { useIsTextTruncated as n } from "./index113.js";
6
- import { useRef as r } from "react";
7
- import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
8
- import { Box as o, TextField as s, Tooltip as c } from "@mui/material";
9
- import { useLingui as l } from "@lingui/react";
1
+ import { useRootElements as e } from "./index63.js";
2
+ import "./index64.js";
3
+ import { cn as t } from "./index49.js";
4
+ import { Button as n } from "./index110.js";
5
+ import { InputGroup as r, InputGroupAddon as i, InputGroupButton as a, InputGroupInput as o } from "./index113.js";
6
+ import * as s from "react";
7
+ import { CheckIcon as c, ChevronDownIcon as l, XIcon as u } from "lucide-react";
8
+ import { jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
9
+ import { Combobox as p } from "@base-ui/react";
10
10
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js
11
- var u = ({ error: u, required: d, label: f, showCodeOnly: p = !1, showCurrencySymbol: m = !0, showCurrencyCode: h = !1, ...g }) => {
12
- let { i18n: _ } = l(), { getSymbolFromCurrency: v } = e(), y = r(null), b = g.inputProps.value, x = b ? t(_).find((e) => (p ? e.code : e.label) === b) : null, S = b;
13
- x && p && (S = x.code), x && !p && (S = x.label, h && (S += ` (${x.code})`));
14
- let C = x ? v(x.code) : "", w = x ? `${x.label} (${x.code})${C ? `, ${C}` : ""}` : "", T = n(y.current, S);
15
- return /* @__PURE__ */ i(c, {
16
- title: T ? w : "",
17
- placement: "top",
18
- children: /* @__PURE__ */ i(s, {
19
- ...g,
20
- inputProps: {
21
- ...g.inputProps,
22
- value: S
23
- },
24
- inputRef: y,
25
- required: d,
26
- label: f,
27
- error: !!u?.message,
28
- helperText: u?.message,
29
- InputProps: {
30
- ...g.InputProps,
31
- sx: { "& input": {
32
- textOverflow: "ellipsis",
33
- overflow: "hidden",
34
- whiteSpace: "nowrap"
35
- } },
36
- endAdornment: /* @__PURE__ */ a(o, {
37
- sx: {
38
- display: "flex",
39
- alignItems: "center",
40
- minWidth: 0,
41
- height: "100%"
42
- },
43
- children: [!p && m && C && /* @__PURE__ */ i(o, {
44
- sx: {
45
- whiteSpace: "nowrap",
46
- mr: 1
47
- },
48
- children: C
49
- }), g.InputProps.endAdornment]
50
- })
51
- }
11
+ var m = p.Root;
12
+ function h({ ...e }) {
13
+ return /* @__PURE__ */ d(p.Value, {
14
+ "data-slot": "combobox-value",
15
+ ...e
16
+ });
17
+ }
18
+ function g({ className: e, children: n, ...r }) {
19
+ return /* @__PURE__ */ f(p.Trigger, {
20
+ "data-slot": "combobox-trigger",
21
+ className: t("ttw:[&_svg:not([class*=size-])]:size-4", e),
22
+ ...r,
23
+ children: [n, /* @__PURE__ */ d(l, {
24
+ "data-slot": "combobox-trigger-icon",
25
+ className: "ttw:pointer-events-none ttw:size-4 ttw:text-muted-foreground"
26
+ })]
27
+ });
28
+ }
29
+ function _({ className: e, ...n }) {
30
+ return /* @__PURE__ */ d(p.Clear, {
31
+ "data-slot": "combobox-clear",
32
+ render: /* @__PURE__ */ d(a, {
33
+ variant: "ghost",
34
+ size: "icon-xs"
35
+ }),
36
+ className: t(e),
37
+ ...n,
38
+ children: /* @__PURE__ */ d(u, { className: "ttw:pointer-events-none" })
39
+ });
40
+ }
41
+ function v({ className: e, children: n, disabled: s = !1, showTrigger: c = !0, showClear: l = !1, ...u }) {
42
+ return /* @__PURE__ */ f(r, {
43
+ className: t("ttw:w-auto", e),
44
+ children: [
45
+ /* @__PURE__ */ d(p.Input, {
46
+ render: /* @__PURE__ */ d(o, { disabled: s }),
47
+ ...u
48
+ }),
49
+ /* @__PURE__ */ f(i, {
50
+ align: "inline-end",
51
+ children: [c && /* @__PURE__ */ d(a, {
52
+ size: "icon-xs",
53
+ variant: "ghost",
54
+ asChild: !0,
55
+ "data-slot": "input-group-button",
56
+ className: "ttw:group-has-data-[slot=combobox-clear]/input-group:hidden ttw:data-pressed:bg-transparent",
57
+ disabled: s,
58
+ children: /* @__PURE__ */ d(g, {})
59
+ }), l && /* @__PURE__ */ d(_, { disabled: s })]
60
+ }),
61
+ n
62
+ ]
63
+ });
64
+ }
65
+ function y({ className: n, side: r = "bottom", sideOffset: i = 6, align: a = "start", alignOffset: o = 0, anchor: s, container: c, ...l }) {
66
+ let { root: u } = e();
67
+ return /* @__PURE__ */ d(p.Portal, {
68
+ container: c ?? u,
69
+ children: /* @__PURE__ */ d(p.Positioner, {
70
+ side: r,
71
+ sideOffset: i,
72
+ align: a,
73
+ alignOffset: o,
74
+ anchor: s,
75
+ className: "ttw:isolate ttw:z-1300",
76
+ children: /* @__PURE__ */ d(p.Popup, {
77
+ "data-slot": "combobox-content",
78
+ "data-chips": !!s,
79
+ className: t("ttw:group/combobox-content ttw:relative ttw:max-h-96 ttw:w-(--anchor-width) ttw:max-w-(--available-width) ttw:min-w-[calc(var(--anchor-width)+--spacing(7))] ttw:origin-(--transform-origin) ttw:overflow-hidden ttw:rounded-md ttw:bg-popover ttw:text-popover-foreground ttw:shadow-md ttw:ring-1 ttw:ring-foreground/10 ttw:duration-100 ttw:data-[chips=true]:min-w-(--anchor-width) ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:*:data-[slot=input-group]:m-1 ttw:*:data-[slot=input-group]:mb-0 ttw:*:data-[slot=input-group]:h-8 ttw:*:data-[slot=input-group]:border-input/30 ttw:*:data-[slot=input-group]:bg-input/30 ttw:*:data-[slot=input-group]:shadow-none ttw:data-open:animate-in ttw:data-open:fade-in-0 ttw:data-open:zoom-in-95 ttw:data-closed:animate-out ttw:data-closed:fade-out-0 ttw:data-closed:zoom-out-95", n),
80
+ ...l
81
+ })
52
82
  })
53
83
  });
54
- };
84
+ }
85
+ function b({ className: e, ...n }) {
86
+ return /* @__PURE__ */ d(p.List, {
87
+ "data-slot": "combobox-list",
88
+ className: t("ttw:max-h-[min(calc(--spacing(96)---spacing(9)),calc(var(--available-height)---spacing(9)))] ttw:scroll-py-1 ttw:overflow-y-auto ttw:p-1 ttw:data-empty:p-0", e),
89
+ ...n
90
+ });
91
+ }
92
+ function x({ className: e, children: n, ...r }) {
93
+ return /* @__PURE__ */ f(p.Item, {
94
+ "data-slot": "combobox-item",
95
+ className: t("ttw:relative ttw:flex ttw:w-full ttw:cursor-default ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:py-1.5 ttw:pr-8 ttw:pl-2 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-highlighted:bg-accent ttw:data-highlighted:text-accent-foreground ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e),
96
+ ...r,
97
+ children: [n, /* @__PURE__ */ d(p.ItemIndicator, {
98
+ "data-slot": "combobox-item-indicator",
99
+ render: /* @__PURE__ */ d("span", { className: "ttw:pointer-events-none ttw:absolute ttw:right-2 ttw:flex ttw:size-4 ttw:items-center ttw:justify-center" }),
100
+ children: /* @__PURE__ */ d(c, { className: "ttw:pointer-events-none ttw:size-4 ttw:pointer-coarse:size-5" })
101
+ })]
102
+ });
103
+ }
104
+ function S({ className: e, ...n }) {
105
+ return /* @__PURE__ */ d(p.Group, {
106
+ "data-slot": "combobox-group",
107
+ className: t(e),
108
+ ...n
109
+ });
110
+ }
111
+ function C({ className: e, ...n }) {
112
+ return /* @__PURE__ */ d(p.GroupLabel, {
113
+ "data-slot": "combobox-label",
114
+ className: t("ttw:px-2 ttw:py-1.5 ttw:text-xs ttw:text-muted-foreground ttw:pointer-coarse:px-3 ttw:pointer-coarse:py-2 ttw:pointer-coarse:text-sm", e),
115
+ ...n
116
+ });
117
+ }
118
+ function w({ ...e }) {
119
+ return /* @__PURE__ */ d(p.Collection, {
120
+ "data-slot": "combobox-collection",
121
+ ...e
122
+ });
123
+ }
124
+ function T({ className: e, ...n }) {
125
+ return /* @__PURE__ */ d(p.Empty, {
126
+ "data-slot": "combobox-empty",
127
+ className: t("ttw:hidden ttw:w-full ttw:justify-center ttw:py-2 ttw:text-center ttw:text-sm ttw:text-muted-foreground ttw:group-data-empty/combobox-content:flex", e),
128
+ ...n
129
+ });
130
+ }
131
+ function E({ className: e, ...n }) {
132
+ return /* @__PURE__ */ d(p.Separator, {
133
+ "data-slot": "combobox-separator",
134
+ className: t("ttw:-mx-1 ttw:my-1 ttw:h-px ttw:bg-border", e),
135
+ ...n
136
+ });
137
+ }
138
+ function D({ className: e, ...n }) {
139
+ return /* @__PURE__ */ d(p.Chips, {
140
+ "data-slot": "combobox-chips",
141
+ className: t("ttw:flex ttw:min-h-9 ttw:flex-wrap ttw:items-center ttw:gap-1.5 ttw:rounded-md ttw:border ttw:border-input ttw:bg-transparent ttw:bg-clip-padding ttw:px-2.5 ttw:py-1.5 ttw:text-sm ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:focus-within:border-ring ttw:focus-within:ring-[3px] ttw:focus-within:ring-ring/50 ttw:has-aria-invalid:border-destructive ttw:has-aria-invalid:ring-[3px] ttw:has-aria-invalid:ring-destructive/20 ttw:has-data-[slot=combobox-chip]:px-1.5 ttw:dark:bg-input/30 ttw:dark:has-aria-invalid:border-destructive/50 ttw:dark:has-aria-invalid:ring-destructive/40", e),
142
+ ...n
143
+ });
144
+ }
145
+ function O({ className: e, children: r, showRemove: i = !0, ...a }) {
146
+ return /* @__PURE__ */ f(p.Chip, {
147
+ "data-slot": "combobox-chip",
148
+ className: t("ttw:flex ttw:h-[calc(--spacing(5.5))] ttw:w-fit ttw:items-center ttw:justify-center ttw:gap-1 ttw:rounded-sm ttw:bg-muted ttw:px-1.5 ttw:text-xs ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:has-disabled:pointer-events-none ttw:has-disabled:cursor-not-allowed ttw:has-disabled:opacity-50 ttw:has-data-[slot=combobox-chip-remove]:pr-0", e),
149
+ ...a,
150
+ children: [r, i && /* @__PURE__ */ d(p.ChipRemove, {
151
+ render: /* @__PURE__ */ d(n, {
152
+ variant: "ghost",
153
+ className: "ttw:size-6"
154
+ }),
155
+ className: "ttw:-ml-1 ttw:opacity-50 ttw:hover:opacity-100",
156
+ "data-slot": "combobox-chip-remove",
157
+ children: /* @__PURE__ */ d(u, { className: "ttw:pointer-events-none" })
158
+ })]
159
+ });
160
+ }
161
+ function k({ className: e, children: n, ...r }) {
162
+ return /* @__PURE__ */ d(p.Input, {
163
+ "data-slot": "combobox-chip-input",
164
+ className: t("ttw:min-w-16 ttw:flex-1 ttw:outline-none", e),
165
+ ...r
166
+ });
167
+ }
168
+ function A() {
169
+ return s.useRef(null);
170
+ }
55
171
  //#endregion
56
- export { u as CurrencyInput };
172
+ export { m as Combobox, O as ComboboxChip, D as ComboboxChips, k as ComboboxChipsInput, w as ComboboxCollection, y as ComboboxContent, T as ComboboxEmpty, S as ComboboxGroup, v as ComboboxInput, x as ComboboxItem, C as ComboboxLabel, b as ComboboxList, E as ComboboxSeparator, g as ComboboxTrigger, h as ComboboxValue, A as useComboboxAnchor };
@@ -1,41 +1,6 @@
1
- import { useCurrencies as e } from "./index66.js";
2
- import "./index79.js";
3
- import { jsx as t, jsxs as n } from "@emotion/react/jsx-runtime";
4
- import { Box as r, MenuItem as i } from "@mui/material";
5
- import { createElement as a } from "@emotion/react";
6
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js
7
- var o = ({ props: o, option: s, showCodeOnly: c = !1, showCurrencyCode: l = !1, showCurrencySymbol: u = !0 }) => {
8
- let { getSymbolFromCurrency: d } = e(), f = c ? s.code : `${s.label}${l ? " (" + s.code + ")" : ""}`;
9
- return /* @__PURE__ */ a(i, {
10
- ...o,
11
- key: s.code,
12
- value: s.label,
13
- sx: {
14
- width: "100%",
15
- py: 1.25,
16
- px: 2
17
- }
18
- }, /* @__PURE__ */ n(r, {
19
- sx: {
20
- display: "flex",
21
- width: "100%",
22
- alignItems: "center",
23
- gap: 2
24
- },
25
- children: [/* @__PURE__ */ t(r, {
26
- sx: {
27
- flexGrow: 1,
28
- minWidth: 0,
29
- overflow: "hidden",
30
- textOverflow: "ellipsis",
31
- whiteSpace: "nowrap"
32
- },
33
- children: f
34
- }), u && !c && /* @__PURE__ */ t(r, {
35
- sx: { flexShrink: 0 },
36
- children: d(s.code)
37
- })]
38
- }));
39
- };
40
- //#endregion
41
- export { o as CurrencyOption };
1
+ import "./index73.js";
2
+ import "./index113.js";
3
+ import "./index114.js";
4
+ import "react";
5
+ import "@emotion/react/jsx-runtime";
6
+ import "@lingui/react";
@@ -1,74 +1,2 @@
1
- import { filterOptions as e, getCurrenciesArray as t, getGroupTitleForOption as n, sortCurrencyOptionsByGroup as r } from "./index104.js";
2
- import "./index107.js";
3
- import { RHFAutocomplete as i } from "./index108.js";
4
- import "./index112.js";
5
- import { CurrencyInput as a } from "./index114.js";
6
- import { CurrencyOption as o } from "./index115.js";
7
- import { Fragment as s, useMemo as c } from "react";
8
- import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
9
- import { Divider as d, ListSubheader as f } from "@mui/material";
10
- import { useLingui as p } from "@lingui/react";
11
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js
12
- var m = ({ required: m, actualCurrency: h, groups: g, fullWidth: _, showCodeOnly: v, hideLabel: y = !1, showCurrencyCode: b = !1, showCurrencySymbol: x = !0, showClearButton: S = !0, allowedCurrencies: C, ...w }) => {
13
- let { i18n: T } = p(), E = T._("Currency"), D = c(() => {
14
- let e = t(T);
15
- return C ? e.filter((e) => C.includes(e.code)) : e;
16
- }, [C, T]), O = r(D, g);
17
- return /* @__PURE__ */ l(i, {
18
- ...w,
19
- required: m,
20
- disabled: D?.length === 1 || w.disabled,
21
- className: `Monite-Currency ${y && "Monite-Label-Hidden"}`,
22
- disableClearable: !S,
23
- label: E,
24
- options: O,
25
- optionKey: "code",
26
- labelKey: v ? "code" : "label",
27
- fullWidth: _,
28
- slotProps: { paper: { sx: { "& .MuiAutocomplete-listbox hr:last-of-type": { display: "none" } } } },
29
- renderInput: (e, t) => /* @__PURE__ */ l(a, {
30
- error: t?.error,
31
- defaultValue: h,
32
- required: t?.required ?? m,
33
- label: t?.label ?? E,
34
- showCodeOnly: v,
35
- showCurrencySymbol: x,
36
- showCurrencyCode: b,
37
- ...e
38
- }),
39
- renderOption: (e, t) => /* @__PURE__ */ l(o, {
40
- props: e,
41
- option: t,
42
- showCodeOnly: v,
43
- showCurrencyCode: b,
44
- showCurrencySymbol: x
45
- }, t.code),
46
- filterOptions: e,
47
- groupBy: g ? (e) => n(e, g)?.title : void 0,
48
- renderGroup: (e) => e.group.trim() === "" ? e.children : /* @__PURE__ */ u(s, { children: [
49
- /* @__PURE__ */ l(f, {
50
- component: "div",
51
- title: e.group,
52
- sx: {
53
- bgcolor: "background.paper",
54
- typography: "body2",
55
- fontWeight: (e) => e.typography.fontWeightBold,
56
- textOverflow: "ellipsis",
57
- overflow: "hidden",
58
- whiteSpace: "nowrap",
59
- py: 1.25,
60
- px: 2,
61
- top: -12
62
- },
63
- children: e.group
64
- }),
65
- e.children,
66
- /* @__PURE__ */ l(d, { sx: {
67
- mx: 1,
68
- mt: 1
69
- } })
70
- ] }, e.key)
71
- });
72
- };
73
- //#endregion
74
- export { m as MoniteCurrency };
1
+ import "./index109.js";
2
+ import "./index115.js";
@@ -1,41 +1,69 @@
1
- import { cn as e } from "./index53.js";
2
- import "react";
3
- import { jsx as t } from "@emotion/react/jsx-runtime";
4
- import { Slot as n } from "@radix-ui/react-slot";
5
- import { cva as r } from "class-variance-authority";
1
+ import { ScopedCssBaselineContainerClassName as e } from "./index21.js";
2
+ import { useRootElements as t } from "./index63.js";
3
+ import "./index64.js";
4
+ import { createContext as n, forwardRef as r, useContext as i } from "react";
5
+ import { jsx as a } from "@emotion/react/jsx-runtime";
6
+ import { Dialog as o, Fade as s, Slide as c } from "@mui/material";
6
7
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js
7
- var i = r("ttw:inline-flex ttw:cursor-pointer ttw:items-center ttw:justify-center ttw:gap-2 ttw:whitespace-nowrap ttw:rounded-md ttw:text-sm ttw:font-medium ttw:transition-all ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:[&_svg]:pointer-events-none ttw:[&_svg:not([class*=size-])]:size-4 ttw:shrink-0 ttw:[&_svg]:shrink-0 ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px] ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive", {
8
- variants: {
9
- variant: {
10
- default: "ttw:bg-primary ttw:text-primary-foreground ttw:shadow-xs ttw:hover:brightness-110 ttw:active:brightness-95",
11
- destructive: "ttw:bg-destructive ttw:text-white ttw:shadow-xs ttw:hover:brightness-110 ttw:active:brightness-95 ttw:focus-visible:ring-destructive/20 ttw:dark:focus-visible:ring-destructive/40 ttw:dark:bg-destructive/60",
12
- outline: "ttw:border ttw:border-border ttw:bg-background ttw:shadow-xs ttw:hover:bg-accent ttw:hover:text-accent-foreground ttw:dark:bg-input/30 ttw:dark:border-input ttw:dark:hover:bg-input/50",
13
- secondary: "ttw:bg-secondary ttw:text-neutral ttw:shadow-xs ttw:hover:brightness-105 ttw:active:brightness-95",
14
- ghost: "ttw:hover:bg-accent ttw:hover:text-accent-foreground ttw:dark:hover:bg-accent/50",
15
- link: "ttw:text-primary ttw:underline-offset-4 ttw:hover:underline"
16
- },
17
- size: {
18
- default: "ttw:h-9 ttw:px-4 ttw:py-2 ttw:has-[>svg]:px-3",
19
- sm: "ttw:h-8 ttw:rounded-md ttw:gap-1.5 ttw:px-3 ttw:has-[>svg]:px-2.5",
20
- lg: "ttw:h-10 ttw:rounded-md ttw:px-6 ttw:has-[>svg]:px-4",
21
- icon: "ttw:size-9"
8
+ var l = r(function(e, t) {
9
+ let { alignDialog: n, ...r } = e;
10
+ if (n) {
11
+ let e;
12
+ switch (n) {
13
+ case "left":
14
+ e = "right";
15
+ break;
16
+ case "right": e = "left";
22
17
  }
23
- },
24
- defaultVariants: {
25
- variant: "default",
26
- size: "default"
18
+ return /* @__PURE__ */ a(c, {
19
+ direction: e,
20
+ ref: t,
21
+ ...r
22
+ });
27
23
  }
28
- }), a = ({ className: r, variant: a, size: o, asChild: s = !1, ref: c, ...l }) => /* @__PURE__ */ t(s ? n : "button", {
29
- "data-slot": "button",
30
- "data-variant": a || "default",
31
- className: e(i({
32
- variant: a,
33
- size: o,
34
- className: r
35
- })),
36
- ref: c,
37
- ...l
38
- });
39
- a.displayName = "Button";
24
+ return /* @__PURE__ */ a(s, {
25
+ ref: t,
26
+ ...r
27
+ });
28
+ }), u = n(void 0), d = () => i(u), f = ({ ref: n, ...r }) => {
29
+ let { alignDialog: i, onClosed: s, ...c } = r, { root: f } = t(), p = d(), m = (e, t) => {
30
+ t !== "backdropClick" && (t === "escapeKeyDown" && p && e.stopPropagation?.(), r.onClose?.(e, t));
31
+ };
32
+ return /* @__PURE__ */ a(u.Provider, {
33
+ value: {
34
+ isDialogContent: !0,
35
+ onClose: m
36
+ },
37
+ children: /* @__PURE__ */ a(o, {
38
+ ref: n,
39
+ ...c,
40
+ open: r.open,
41
+ container: f,
42
+ TransitionComponent: l,
43
+ TransitionProps: {
44
+ alignDialog: i,
45
+ onExited: s
46
+ },
47
+ onClose: m,
48
+ classes: {
49
+ container: [e, i && `MuiDialog-container__align-${i}`].filter(Boolean).join(" "),
50
+ paper: [i && `MuiDialog-paper__align-${i}`].filter(Boolean).join(" ")
51
+ },
52
+ sx: {
53
+ ".MuiDialog-container__align-right": { justifyContent: "right" },
54
+ ".MuiDialog-container__align-left": { justifyContent: "left" },
55
+ ".MuiDialog-paper__align-left, .MuiDialog-paper__align-right": {
56
+ width: "50%",
57
+ height: "100%",
58
+ maxHeight: "none",
59
+ margin: 0,
60
+ borderRadius: 0
61
+ }
62
+ },
63
+ slotProps: r.fullScreen ? { backdrop: { style: { background: "none" } } } : {},
64
+ children: r.children
65
+ })
66
+ });
67
+ };
40
68
  //#endregion
41
- export { a as Button, i as buttonVariants };
69
+ export { f as Dialog, d as useDialog };
@@ -1,14 +1 @@
1
- import { cn as e } from "./index53.js";
2
- import "react";
3
- import { jsx as t } from "@emotion/react/jsx-runtime";
4
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js
5
- function n({ className: n, type: r, ...i }) {
6
- return /* @__PURE__ */ t("input", {
7
- type: r,
8
- "data-slot": "input",
9
- className: e("ttw:file:text-foreground ttw:placeholder:text-muted-foreground ttw:selection:bg-primary ttw:selection:text-primary-foreground ttw:dark:bg-input/30 ttw:border-input ttw:flex ttw:h-9 ttw:w-full ttw:min-w-0 ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-1 ttw:text-base ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:file:inline-flex ttw:file:h-7 ttw:file:border-0 ttw:file:bg-transparent ttw:file:text-sm ttw:file:font-medium ttw:disabled:pointer-events-none ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:md:text-sm", "ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:focus-visible:ring-[3px]", "ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive", n),
10
- ...i
11
- });
12
- }
13
- //#endregion
14
- export { n as Input };
1
+ import "./index117.js";
@@ -1,13 +1,79 @@
1
- import { cn as e } from "./index53.js";
2
- import "react";
3
- import { jsx as t } from "@emotion/react/jsx-runtime";
1
+ import { useDialog as e } from "./index117.js";
2
+ import "./index118.js";
3
+ import { Fragment as t, jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
4
+ import { Button as i, CircularProgress as a, DialogActions as o, Divider as s, Stack as c } from "@mui/material";
5
+ import { useLingui as l } from "@lingui/react";
4
6
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js
5
- function n({ className: n, ...r }) {
6
- return /* @__PURE__ */ t("textarea", {
7
- "data-slot": "textarea",
8
- className: e("ttw:border-input ttw:placeholder:text-muted-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-ring/50 ttw:aria-invalid:ring-destructive/20 ttw:dark:aria-invalid:ring-destructive/40 ttw:aria-invalid:border-destructive ttw:dark:bg-input/30 ttw:flex ttw:field-sizing-content ttw:min-h-16 ttw:w-full ttw:rounded-md ttw:border ttw:bg-transparent ttw:px-3 ttw:py-2 ttw:text-base ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:focus-visible:ring-[3px] ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:md:text-sm", n),
9
- ...r
10
- });
11
- }
7
+ var u = ({ deleteButton: u, primaryButton: d, secondaryButton: f, cancelButton: p, showDivider: m = !0 }) => {
8
+ let { i18n: h } = l(), g = e();
9
+ return /* @__PURE__ */ r(t, { children: [m && /* @__PURE__ */ n(s, {}), /* @__PURE__ */ r(o, {
10
+ sx: {
11
+ display: "flex",
12
+ justifyContent: "space-between",
13
+ width: "100%"
14
+ },
15
+ children: [/* @__PURE__ */ r(c, {
16
+ direction: "row",
17
+ spacing: 2,
18
+ children: [u && /* @__PURE__ */ n(i, {
19
+ variant: "text",
20
+ color: "error",
21
+ onClick: u.onClick,
22
+ disabled: u.isDisabled || u.isLoading,
23
+ children: u.isLoading ? /* @__PURE__ */ n(a, {
24
+ color: "inherit",
25
+ size: 20
26
+ }) : u.label || h._("Delete")
27
+ }), f?.onTheLeft && /* @__PURE__ */ n(i, {
28
+ variant: "text",
29
+ color: "primary",
30
+ onClick: f.onClick,
31
+ disabled: f.isDisabled || f.isLoading,
32
+ children: f.isLoading ? /* @__PURE__ */ n(a, {
33
+ color: "inherit",
34
+ size: 20
35
+ }) : f.label
36
+ })]
37
+ }), /* @__PURE__ */ r(c, {
38
+ direction: "row",
39
+ spacing: 2,
40
+ children: [
41
+ !p?.hideCancel && /* @__PURE__ */ n(i, {
42
+ variant: "text",
43
+ color: "primary",
44
+ onClick: p?.onClick || g?.onClose,
45
+ disabled: d?.isLoading || f?.isLoading || u?.isLoading,
46
+ children: p?.label || h._("Cancel")
47
+ }),
48
+ f && !f.onTheLeft && /* @__PURE__ */ n(i, {
49
+ variant: "text",
50
+ color: "primary",
51
+ onClick: f.onClick,
52
+ disabled: f.isDisabled || f.isLoading,
53
+ children: f.isLoading ? /* @__PURE__ */ n(a, {
54
+ color: "inherit",
55
+ size: 20
56
+ }) : f.label
57
+ }),
58
+ d && /* @__PURE__ */ n(i, {
59
+ variant: "contained",
60
+ color: "primary",
61
+ ...((e) => "formId" in e)(d) ? {
62
+ type: "submit",
63
+ form: d.formId
64
+ } : {
65
+ type: "button",
66
+ onClick: d.onClick
67
+ },
68
+ disabled: d.isDisabled || d.isLoading,
69
+ children: d.isLoading ? /* @__PURE__ */ n(a, {
70
+ color: "inherit",
71
+ size: 20
72
+ }) : d.label
73
+ })
74
+ ]
75
+ })]
76
+ })] });
77
+ };
12
78
  //#endregion
13
- export { n as Textarea };
79
+ export { u as DialogFooter };
@@ -1,71 +1 @@
1
- import { cn as e } from "./index53.js";
2
- import { Button as t } from "./index117.js";
3
- import { Input as n } from "./index118.js";
4
- import { Textarea as r } from "./index119.js";
5
- import "react";
6
- import { jsx as i } from "@emotion/react/jsx-runtime";
7
- import { cva as a } from "class-variance-authority";
8
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js
9
- function o({ className: t, ...n }) {
10
- return /* @__PURE__ */ i("div", {
11
- "data-slot": "input-group",
12
- role: "group",
13
- className: e("ttw:group/input-group ttw:relative ttw:flex ttw:w-full ttw:items-center ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow] ttw:outline-none ttw:dark:bg-input/30", "ttw:h-9 ttw:min-w-0 ttw:has-[>textarea]:h-auto", "ttw:has-[>[data-align=inline-start]]:[&>input]:pl-2", "ttw:has-[>[data-align=inline-end]]:[&>input]:pr-2", "ttw:has-[>[data-align=block-start]]:h-auto ttw:has-[>[data-align=block-start]]:flex-col ttw:has-[>[data-align=block-start]]:[&>input]:pb-3", "ttw:has-[>[data-align=block-end]]:h-auto ttw:has-[>[data-align=block-end]]:flex-col ttw:has-[>[data-align=block-end]]:[&>input]:pt-3", "ttw:has-[[data-slot=input-group-control]:focus-visible]:border-ring ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20 ttw:dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40", t),
14
- ...n
15
- });
16
- }
17
- var s = a("ttw:flex ttw:h-auto ttw:cursor-text ttw:items-center ttw:justify-center ttw:gap-2 ttw:py-1.5 ttw:text-sm ttw:font-medium ttw:text-muted-foreground ttw:select-none ttw:group-data-[disabled=true]/input-group:opacity-50 ttw:[&>kbd]:rounded-[calc(var(--radius)-5px)] ttw:[&>svg:not([class*=size-])]:size-4", {
18
- variants: { align: {
19
- "inline-start": "ttw:order-first ttw:pl-3 ttw:has-[>button]:ml-[-0.45rem] ttw:has-[>kbd]:ml-[-0.35rem]",
20
- "inline-end": "ttw:order-last ttw:pr-3 ttw:has-[>button]:mr-[-0.45rem] ttw:has-[>kbd]:mr-[-0.35rem]",
21
- "block-start": "ttw:order-first ttw:w-full ttw:justify-start ttw:px-3 ttw:pt-3 ttw:group-has-[>input]/input-group:pt-2.5 ttw:[.border-b]:pb-3",
22
- "block-end": "ttw:order-last ttw:w-full ttw:justify-start ttw:px-3 ttw:pb-3 ttw:group-has-[>input]/input-group:pb-2.5 ttw:[.border-t]:pt-3"
23
- } },
24
- defaultVariants: { align: "inline-start" }
25
- });
26
- function c({ className: t, align: n = "inline-start", ...r }) {
27
- return /* @__PURE__ */ i("div", {
28
- role: "group",
29
- "data-slot": "input-group-addon",
30
- "data-align": n,
31
- className: e(s({ align: n }), t),
32
- onClick: (e) => {
33
- e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
34
- },
35
- ...r
36
- });
37
- }
38
- var l = a("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:shadow-none", {
39
- variants: { size: {
40
- xs: "ttw:h-6 ttw:gap-1 ttw:rounded-[calc(var(--radius)-5px)] ttw:px-2 ttw:has-[>svg]:px-2 ttw:[&>svg:not([class*=size-])]:size-3.5",
41
- sm: "ttw:h-8 ttw:gap-1.5 ttw:rounded-md ttw:px-2.5 ttw:has-[>svg]:px-2.5",
42
- "icon-xs": "ttw:size-6 ttw:rounded-[calc(var(--radius)-5px)] ttw:p-0 ttw:has-[>svg]:p-0",
43
- "icon-sm": "ttw:size-8 ttw:p-0 ttw:has-[>svg]:p-0"
44
- } },
45
- defaultVariants: { size: "xs" }
46
- });
47
- function u({ className: n, type: r = "button", variant: a = "ghost", size: o = "xs", ...s }) {
48
- return /* @__PURE__ */ i(t, {
49
- type: r,
50
- "data-size": o,
51
- variant: a,
52
- className: e(l({ size: o }), n),
53
- ...s
54
- });
55
- }
56
- function d({ className: t, ...r }) {
57
- return /* @__PURE__ */ i(n, {
58
- "data-slot": "input-group-control",
59
- className: e("ttw:flex-1 ttw:rounded-none ttw:border-0 ttw:bg-transparent ttw:shadow-none ttw:focus-visible:ring-0 ttw:dark:bg-transparent", t),
60
- ...r
61
- });
62
- }
63
- function f({ className: t, ...n }) {
64
- return /* @__PURE__ */ i(r, {
65
- "data-slot": "input-group-control",
66
- className: e("ttw:flex-1 ttw:resize-none ttw:rounded-none ttw:border-0 ttw:bg-transparent ttw:py-3 ttw:shadow-none ttw:focus-visible:ring-0 ttw:dark:bg-transparent", t),
67
- ...n
68
- });
69
- }
70
- //#endregion
71
- export { o as InputGroup, c as InputGroupAddon, u as InputGroupButton, d as InputGroupInput, f as InputGroupTextarea };
1
+ import "./index119.js";