@tesouro/embedded-components-react 0.7.58 → 0.7.59

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 (249) hide show
  1. package/dist/lib/monite-sdk.d.ts +3 -98
  2. package/dist/lib/monite-sdk.js +51 -51
  3. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
  4. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +55 -1
  5. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +1 -55
  6. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +153 -1
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1222 -151
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +171 -1219
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +6 -174
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +15 -6
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +5 -17
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -5
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -55
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +1 -0
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +0 -2
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -0
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +10 -2
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +53 -7
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +37 -52
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +71 -38
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +39 -72
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -37
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -8
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +65 -7
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +158 -57
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -172
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1 -6
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +69 -2
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1 -76
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +78 -0
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -78
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +35 -1
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1 -35
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +57 -0
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +42 -56
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -44
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +568 -0
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -568
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +1 -1
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +160 -1
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -159
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -0
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -26
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -1
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +2 -2
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +16 -10
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +19 -16
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +27 -19
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +1 -29
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +26 -1
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +16 -23
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +68 -16
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +24 -68
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +6 -25
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +40 -5
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +48 -40
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +58 -47
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -62
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +30 -0
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +40 -28
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +76 -39
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +4 -80
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -3
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +52 -2
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +66 -37
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +108 -76
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +4 -110
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +10 -5
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +18 -10
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +73 -16
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -77
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +128 -0
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +0 -128
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -1
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +54 -11
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +5 -56
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +19 -5
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -19
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +64 -1
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +120 -62
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +22 -120
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +6 -22
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +35 -6
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +6 -34
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +56 -7
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +71 -54
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +25 -72
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -28
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +61 -1
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +17 -57
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +19 -18
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +183 -19
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +1 -186
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +31 -0
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -31
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +1 -3
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +39 -1
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -38
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +19 -1
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -16
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +5 -17
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +15 -5
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +18 -12
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -10
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +5 -21
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +3 -3
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +14 -5
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +14 -11
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +9 -20
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +26 -8
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +11 -23
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +8 -12
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +24 -8
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +14 -25
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +81 -14
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -81
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +100 -14
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +42 -98
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +27 -43
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +1 -30
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +105 -0
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -8
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +35 -102
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +166 -32
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +12 -171
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +3 -13
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +70 -4
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -63
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +209 -24
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +88 -208
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -90
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +1 -22
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +19 -1
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +158 -17
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +91 -147
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -100
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +4 -46
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +24 -4
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +73 -20
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +16 -74
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +19 -16
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -19
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +9 -5
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -10
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +131 -11
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +5 -130
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -5
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +5 -8
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +221 -4
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +31 -219
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +11 -31
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +34 -12
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +20 -34
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +72 -18
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +181 -73
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +14 -182
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +204 -14
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +88 -192
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +61 -97
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +54 -63
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +83 -46
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +40 -91
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +75 -39
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +71 -63
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +12 -85
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +24 -12
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +16 -25
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +2 -14
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +23 -4
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -23
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +21 -0
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +32 -22
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +2 -30
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +21 -2
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +15 -33
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +30 -15
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -29
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +2 -31
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +825 -55
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +20 -930
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +68 -26
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -68
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -5
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -6
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +14 -6
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +14 -13
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +43 -14
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +21 -41
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -22
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +3 -3
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +2 -6
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +33 -2
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +5 -32
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +8 -5
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +5 -8
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +12 -8
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +8 -12
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +7 -6
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -9
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +6 -1
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +6 -4
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -8
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +21 -1
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +27 -16
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +8 -28
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +69 -9
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +50 -68
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -54
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +21 -1
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +46 -18
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +11 -47
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +16 -11
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +1 -18
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +47 -0
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +35 -43
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +64 -38
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +29 -59
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +32 -26
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +21 -39
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +11 -21
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +15 -12
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +53 -14
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +12 -56
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +26 -12
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +71 -23
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +77 -69
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +1 -82
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +10 -1
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +27 -8
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +2 -27
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +17 -2
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +3 -17
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -5
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +57 -1
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +10 -56
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +37 -10
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -39
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +105 -0
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -105
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +56 -1
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +1 -56
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +55 -1
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1 -55
  247. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  248. package/package.json +1 -1
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +0 -2
@@ -1,39 +1,173 @@
1
- import { Button as e } from "./index118.js";
2
- import { Sheet as t, SheetContent as n, SheetDescription as r, SheetFooter as i, SheetHeader as a, SheetTitle as o } from "./index214.js";
3
- import { ManageMeasureUnitsForm as s } from "./index220.js";
4
- import { jsx as c, jsxs as l } from "@emotion/react/jsx-runtime";
5
- import { useLingui as u } from "@lingui/react";
1
+ import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
2
+ import "../../shared/data-access/dist/index.js";
3
+ import { useMoniteContext as t } from "./index36.js";
4
+ import { useCurrencies as n } from "./index66.js";
5
+ import "./index79.js";
6
+ import { Button as r } from "./index117.js";
7
+ import { MoniteScopedProviders as i } from "./index150.js";
8
+ import { useUserPermissions as a } from "./index151.js";
9
+ import { GetNoRowsOverlay as o } from "./index156.js";
10
+ import { AccessRestriction as s } from "./index157.js";
11
+ import "./index160.js";
12
+ import { DataTable as c } from "./index163.js";
13
+ import { hasSelectedText as l } from "./index164.js";
14
+ import { useGetProducts as u } from "./index203.js";
15
+ import "./index207.js";
16
+ import { ProductDeleteModal as d } from "./index208.js";
17
+ import { ProductType as f } from "./index209.js";
18
+ import { FILTER_TYPE_SEARCH as p } from "./index210.js";
19
+ import { Filters as m } from "./index211.js";
20
+ import { MeasureUnit as ee } from "./index212.js";
21
+ import { ManageMeasureUnits as h } from "./index220.js";
22
+ import { useCallback as g, useMemo as _, useState as v } from "react";
23
+ import { ArrowDown as y, ArrowUp as b, ArrowUpDown as x, Plus as S } from "lucide-react";
24
+ import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
25
+ import { useLingui as E } from "@lingui/react";
6
26
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js
7
- var d = ({ handleClose: d, open: f }) => {
8
- let { i18n: p } = u();
9
- return /* @__PURE__ */ c(t, {
10
- open: f,
11
- onOpenChange: d,
12
- children: /* @__PURE__ */ l(n, {
13
- side: "right",
14
- className: "ttw:gap-0 ttw:p-0",
15
- children: [
16
- /* @__PURE__ */ l(a, {
17
- className: "ttw:border-b ttw:border-border",
18
- children: [/* @__PURE__ */ c(o, { children: p._("Manage measure units") }), /* @__PURE__ */ c(r, {
19
- hidden: !0,
20
- children: p._("Manage measure units")
27
+ var D = (e) => /* @__PURE__ */ w(i, { children: /* @__PURE__ */ w(O, { ...e }) }), O = ({ onFilterChanged: i, onSortChanged: D, onRowClick: O, onDeleted: k, openCreateModal: A }) => {
28
+ let { i18n: j } = E(), { componentSettings: M } = t(), { formatCurrencyToDisplay: N } = n(), [P, F] = v(!1), [I, L] = v(void 0), [R, z] = v(M.products.pageSizeOptions[0]), [B, te] = v({}), [V, H] = v(), [U, W] = v({
29
+ open: !1,
30
+ id: null
31
+ }), G = a(), K = G.has(e.InvoiceWriteOrg), q = G.has(e.InvoiceReadOrg), { data: J, isLoading: Y, isError: X, refetch: Z } = u({
32
+ sort: V?.field,
33
+ order: V?.sort,
34
+ limit: R,
35
+ pagination_token: I,
36
+ name__icontains: B.search || void 0
37
+ }), Q = (e, t) => {
38
+ L(void 0), te((n) => ({
39
+ ...n,
40
+ [e]: t === "all" ? null : t
41
+ })), i?.({
42
+ field: e,
43
+ value: t
44
+ });
45
+ }, $ = _(() => V ? [{
46
+ id: V.field,
47
+ desc: V.sort === "desc"
48
+ }] : [], [V]), ne = g((e) => {
49
+ let t = typeof e == "function" ? e($) : e;
50
+ if (t.length > 0) {
51
+ let e = {
52
+ field: t[0].id,
53
+ sort: t[0].desc ? "desc" : "asc"
54
+ };
55
+ H(e), D?.(e);
56
+ } else H(void 0);
57
+ L(void 0);
58
+ }, [$, D]), re = _(() => [
59
+ {
60
+ accessorKey: "name",
61
+ header: ({ column: e }) => {
62
+ let t = e.getIsSorted();
63
+ return /* @__PURE__ */ T("div", {
64
+ className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
65
+ children: [j._("Name"), /* @__PURE__ */ w(r, {
66
+ variant: "ghost",
67
+ onClick: () => e.toggleSorting(t === "asc"),
68
+ children: w(t === "asc" ? b : t === "desc" ? y : x, { className: "ttw:size-4" })
69
+ })]
70
+ });
71
+ },
72
+ cell: ({ row: e }) => /* @__PURE__ */ w("span", { children: e.original.name })
73
+ },
74
+ {
75
+ accessorKey: "type",
76
+ header: j._("Type"),
77
+ cell: ({ row: e }) => e.original.type ? /* @__PURE__ */ w(f, { type: e.original.type }) : null
78
+ },
79
+ {
80
+ accessorKey: "description",
81
+ header: j._("Description"),
82
+ cell: ({ row: e }) => /* @__PURE__ */ w("div", {
83
+ className: "ttw:w-120",
84
+ children: /* @__PURE__ */ w("span", {
85
+ className: "ttw:w-full ttw:inline-block ttw:truncate",
86
+ children: e.original?.description
87
+ })
88
+ })
89
+ },
90
+ {
91
+ accessorKey: "price",
92
+ header: () => /* @__PURE__ */ w("div", {
93
+ className: "ttw:text-right",
94
+ children: j._("Price per unit")
95
+ }),
96
+ cell: ({ row: e }) => {
97
+ let t = e.original.price;
98
+ return /* @__PURE__ */ T("div", {
99
+ className: "ttw:justify-end ttw:flex ttw:gap-1 ttw:items-center",
100
+ children: [t ? N(t.value, t.currency) : "", /* @__PURE__ */ w(ee, { unitId: e.original.measure_unit_id ?? "" })]
101
+ });
102
+ }
103
+ }
104
+ ], [j, N]), ie = Object.keys(B).some((e) => B[e] !== null && B[e] !== void 0), ae = !!B[p];
105
+ return q ? /* @__PURE__ */ T(C, { children: [
106
+ /* @__PURE__ */ w("div", {
107
+ className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
108
+ children: /* @__PURE__ */ w(c, {
109
+ columns: re,
110
+ data: J?.data ?? [],
111
+ sorting: $,
112
+ onSortingChange: ne,
113
+ pageSize: R,
114
+ onPageSizeChange: z,
115
+ nextPaginationToken: J?.next_pagination_token ?? void 0,
116
+ prevPaginationToken: J?.prev_pagination_token ?? void 0,
117
+ onPaginationTokenChange: L,
118
+ onRowClick: (e) => {
119
+ l() || O?.(e.id);
120
+ },
121
+ filterComponent: /* @__PURE__ */ T("div", {
122
+ className: "ttw:flex ttw:items-center ttw:justify-between ttw:px-4",
123
+ children: [/* @__PURE__ */ w(m, { onChangeFilter: Q }), /* @__PURE__ */ T("div", {
124
+ className: "ttw:flex ttw:gap-2",
125
+ children: [/* @__PURE__ */ w(r, {
126
+ variant: "ghost",
127
+ onClick: () => F(!0),
128
+ className: "ttw:py-0 ttw:text-primary ttw:hover:text-primary",
129
+ children: j._("Manage units of measure")
130
+ }), /* @__PURE__ */ T(r, {
131
+ disabled: !K,
132
+ onClick: A,
133
+ className: "ttw:py-0",
134
+ children: [/* @__PURE__ */ w(S, {}), j._("Add product or service")]
135
+ })]
21
136
  })]
22
137
  }),
23
- /* @__PURE__ */ c("div", {
24
- className: "ttw:flex-1 ttw:overflow-y-auto ttw:px-6 ttw:py-4",
25
- children: /* @__PURE__ */ c(s, {})
26
- }),
27
- /* @__PURE__ */ c(i, {
28
- className: "ttw:border-t ttw:border-border ttw:flex-row ttw:justify-end",
29
- children: /* @__PURE__ */ c(e, {
30
- onClick: d,
31
- children: p._("Done")
32
- })
138
+ children: /* @__PURE__ */ w(o, {
139
+ isLoading: Y,
140
+ dataLength: J?.data.length || 0,
141
+ isFiltering: ie,
142
+ isSearching: ae,
143
+ isError: X,
144
+ onCreate: A,
145
+ refetch: Z,
146
+ filterTitle: j._("No product or service found"),
147
+ filterDescription1: j._("Try adjusting your search or filter criteria"),
148
+ entityName: j._("products or services"),
149
+ actionButtonLabel: j._("Add your first product or service"),
150
+ actionOptions: [j._("Product")],
151
+ noDataTitle: j._("Build your products & services list."),
152
+ noDataDescription1: j._("Save the products and services you sell so you can quickly add them as line items on invoices."),
153
+ type: "no-data"
33
154
  })
34
- ]
155
+ })
156
+ }),
157
+ U.id && /* @__PURE__ */ w(d, {
158
+ id: U.id,
159
+ open: U.open,
160
+ onDeleted: k,
161
+ onClose: () => W((e) => ({
162
+ ...e,
163
+ open: !1
164
+ }))
165
+ }),
166
+ P && /* @__PURE__ */ w(h, {
167
+ open: P,
168
+ handleClose: () => F(!1)
35
169
  })
36
- });
170
+ ] }) : /* @__PURE__ */ w(s, {});
37
171
  };
38
172
  //#endregion
39
- export { d as ManageMeasureUnits };
173
+ export { D as ProductsTable };
@@ -1,173 +1,14 @@
1
- import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
2
- import "../../shared/data-access/dist/index.js";
3
- import { useMoniteContext as t } from "./index37.js";
4
- import { useCurrencies as n } from "./index67.js";
5
- import "./index80.js";
6
- import { Button as r } from "./index118.js";
7
- import { MoniteScopedProviders as i } from "./index151.js";
8
- import { useUserPermissions as a } from "./index152.js";
9
- import { GetNoRowsOverlay as o } from "./index157.js";
10
- import { AccessRestriction as s } from "./index158.js";
11
- import "./index161.js";
12
- import { DataTable as c } from "./index164.js";
13
- import { hasSelectedText as l } from "./index165.js";
14
- import { useGetProducts as u } from "./index204.js";
15
- import "./index208.js";
16
- import { ProductDeleteModal as d } from "./index209.js";
17
- import { ProductType as f } from "./index210.js";
18
- import { FILTER_TYPE_SEARCH as p } from "./index211.js";
19
- import { Filters as m } from "./index212.js";
20
- import { MeasureUnit as ee } from "./index213.js";
21
- import { ManageMeasureUnits as h } from "./index221.js";
22
- import { useCallback as g, useMemo as _, useState as v } from "react";
23
- import { ArrowDown as y, ArrowUp as b, ArrowUpDown as x, Plus as S } from "lucide-react";
24
- import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
25
- import { useLingui as E } from "@lingui/react";
1
+ import { cn as e } from "./index53.js";
2
+ import "react";
3
+ import { jsx as t } from "@emotion/react/jsx-runtime";
4
+ import * as n from "@radix-ui/react-label";
26
5
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js
27
- var D = (e) => /* @__PURE__ */ w(i, { children: /* @__PURE__ */ w(O, { ...e }) }), O = ({ onFilterChanged: i, onSortChanged: D, onRowClick: O, onDeleted: k, openCreateModal: A }) => {
28
- let { i18n: j } = E(), { componentSettings: M } = t(), { formatCurrencyToDisplay: N } = n(), [P, F] = v(!1), [I, L] = v(void 0), [R, z] = v(M.products.pageSizeOptions[0]), [B, te] = v({}), [V, H] = v(), [U, W] = v({
29
- open: !1,
30
- id: null
31
- }), G = a(), K = G.has(e.InvoiceWriteOrg), q = G.has(e.InvoiceReadOrg), { data: J, isLoading: Y, isError: X, refetch: Z } = u({
32
- sort: V?.field,
33
- order: V?.sort,
34
- limit: R,
35
- pagination_token: I,
36
- name__icontains: B.search || void 0
37
- }), Q = (e, t) => {
38
- L(void 0), te((n) => ({
39
- ...n,
40
- [e]: t === "all" ? null : t
41
- })), i?.({
42
- field: e,
43
- value: t
44
- });
45
- }, $ = _(() => V ? [{
46
- id: V.field,
47
- desc: V.sort === "desc"
48
- }] : [], [V]), ne = g((e) => {
49
- let t = typeof e == "function" ? e($) : e;
50
- if (t.length > 0) {
51
- let e = {
52
- field: t[0].id,
53
- sort: t[0].desc ? "desc" : "asc"
54
- };
55
- H(e), D?.(e);
56
- } else H(void 0);
57
- L(void 0);
58
- }, [$, D]), re = _(() => [
59
- {
60
- accessorKey: "name",
61
- header: ({ column: e }) => {
62
- let t = e.getIsSorted();
63
- return /* @__PURE__ */ T("div", {
64
- className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
65
- children: [j._("Name"), /* @__PURE__ */ w(r, {
66
- variant: "ghost",
67
- onClick: () => e.toggleSorting(t === "asc"),
68
- children: w(t === "asc" ? b : t === "desc" ? y : x, { className: "ttw:size-4" })
69
- })]
70
- });
71
- },
72
- cell: ({ row: e }) => /* @__PURE__ */ w("span", { children: e.original.name })
73
- },
74
- {
75
- accessorKey: "type",
76
- header: j._("Type"),
77
- cell: ({ row: e }) => e.original.type ? /* @__PURE__ */ w(f, { type: e.original.type }) : null
78
- },
79
- {
80
- accessorKey: "description",
81
- header: j._("Description"),
82
- cell: ({ row: e }) => /* @__PURE__ */ w("div", {
83
- className: "ttw:w-120",
84
- children: /* @__PURE__ */ w("span", {
85
- className: "ttw:w-full ttw:inline-block ttw:truncate",
86
- children: e.original?.description
87
- })
88
- })
89
- },
90
- {
91
- accessorKey: "price",
92
- header: () => /* @__PURE__ */ w("div", {
93
- className: "ttw:text-right",
94
- children: j._("Price per unit")
95
- }),
96
- cell: ({ row: e }) => {
97
- let t = e.original.price;
98
- return /* @__PURE__ */ T("div", {
99
- className: "ttw:justify-end ttw:flex ttw:gap-1 ttw:items-center",
100
- children: [t ? N(t.value, t.currency) : "", /* @__PURE__ */ w(ee, { unitId: e.original.measure_unit_id ?? "" })]
101
- });
102
- }
103
- }
104
- ], [j, N]), ie = Object.keys(B).some((e) => B[e] !== null && B[e] !== void 0), ae = !!B[p];
105
- return q ? /* @__PURE__ */ T(C, { children: [
106
- /* @__PURE__ */ w("div", {
107
- className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
108
- children: /* @__PURE__ */ w(c, {
109
- columns: re,
110
- data: J?.data ?? [],
111
- sorting: $,
112
- onSortingChange: ne,
113
- pageSize: R,
114
- onPageSizeChange: z,
115
- nextPaginationToken: J?.next_pagination_token ?? void 0,
116
- prevPaginationToken: J?.prev_pagination_token ?? void 0,
117
- onPaginationTokenChange: L,
118
- onRowClick: (e) => {
119
- l() || O?.(e.id);
120
- },
121
- filterComponent: /* @__PURE__ */ T("div", {
122
- className: "ttw:flex ttw:items-center ttw:justify-between ttw:px-4",
123
- children: [/* @__PURE__ */ w(m, { onChangeFilter: Q }), /* @__PURE__ */ T("div", {
124
- className: "ttw:flex ttw:gap-2",
125
- children: [/* @__PURE__ */ w(r, {
126
- variant: "ghost",
127
- onClick: () => F(!0),
128
- className: "ttw:py-0 ttw:text-primary ttw:hover:text-primary",
129
- children: j._("Manage units of measure")
130
- }), /* @__PURE__ */ T(r, {
131
- disabled: !K,
132
- onClick: A,
133
- className: "ttw:py-0",
134
- children: [/* @__PURE__ */ w(S, {}), j._("Add product or service")]
135
- })]
136
- })]
137
- }),
138
- children: /* @__PURE__ */ w(o, {
139
- isLoading: Y,
140
- dataLength: J?.data.length || 0,
141
- isFiltering: ie,
142
- isSearching: ae,
143
- isError: X,
144
- onCreate: A,
145
- refetch: Z,
146
- filterTitle: j._("No product or service found"),
147
- filterDescription1: j._("Try adjusting your search or filter criteria"),
148
- entityName: j._("products or services"),
149
- actionButtonLabel: j._("Add your first product or service"),
150
- actionOptions: [j._("Product")],
151
- noDataTitle: j._("Build your products & services list."),
152
- noDataDescription1: j._("Save the products and services you sell so you can quickly add them as line items on invoices."),
153
- type: "no-data"
154
- })
155
- })
156
- }),
157
- U.id && /* @__PURE__ */ w(d, {
158
- id: U.id,
159
- open: U.open,
160
- onDeleted: k,
161
- onClose: () => W((e) => ({
162
- ...e,
163
- open: !1
164
- }))
165
- }),
166
- P && /* @__PURE__ */ w(h, {
167
- open: P,
168
- handleClose: () => F(!1)
169
- })
170
- ] }) : /* @__PURE__ */ w(s, {});
171
- };
6
+ function r({ className: r, ...i }) {
7
+ return /* @__PURE__ */ t(n.Root, {
8
+ "data-slot": "label",
9
+ className: e("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-none ttw:font-medium ttw:select-none ttw:group-data-[disabled=true]:pointer-events-none ttw:group-data-[disabled=true]:opacity-50 ttw:peer-disabled:cursor-not-allowed ttw:peer-disabled:opacity-50", r),
10
+ ...i
11
+ });
12
+ }
172
13
  //#endregion
173
- export { D as ProductsTable };
14
+ export { r as Label };
@@ -1,14 +1,4 @@
1
- import { cn as e } from "./index54.js";
1
+ import "./index53.js";
2
2
  import "react";
3
- import { jsx as t } from "@emotion/react/jsx-runtime";
4
- import * as n from "@radix-ui/react-label";
5
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js
6
- function r({ className: r, ...i }) {
7
- return /* @__PURE__ */ t(n.Root, {
8
- "data-slot": "label",
9
- className: e("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-none ttw:font-medium ttw:select-none ttw:group-data-[disabled=true]:pointer-events-none ttw:group-data-[disabled=true]:opacity-50 ttw:peer-disabled:cursor-not-allowed ttw:peer-disabled:opacity-50", r),
10
- ...i
11
- });
12
- }
13
- //#endregion
14
- export { r as Label };
3
+ import "@emotion/react/jsx-runtime";
4
+ import "radix-ui";
@@ -1,4 +1,70 @@
1
- import "./index54.js";
2
- import "react";
3
- import "@emotion/react/jsx-runtime";
4
- import "radix-ui";
1
+ import { cn as e } from "./index53.js";
2
+ import { Label as t } from "./index222.js";
3
+ import "./index223.js";
4
+ import { useMemo as n } from "react";
5
+ import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
6
+ import { cva as a } from "class-variance-authority";
7
+ //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js
8
+ var o = a("ttw:group/field ttw:flex ttw:w-full ttw:gap-3 ttw:data-[invalid=true]:text-destructive", {
9
+ variants: { orientation: {
10
+ vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
11
+ horizontal: [
12
+ "flex-row items-center",
13
+ "[&>[data-slot=field-label]]:flex-auto",
14
+ "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
15
+ ],
16
+ responsive: [
17
+ "flex-col @md/field-group:flex-row @md/field-group:items-center [&>*]:w-full @md/field-group:[&>*]:w-auto [&>.sr-only]:w-auto",
18
+ "@md/field-group:[&>[data-slot=field-label]]:flex-auto",
19
+ "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
20
+ ]
21
+ } },
22
+ defaultVariants: { orientation: "vertical" }
23
+ });
24
+ function s({ className: t, orientation: n = "vertical", ...i }) {
25
+ return /* @__PURE__ */ r("div", {
26
+ role: "group",
27
+ "data-slot": "field",
28
+ "data-orientation": n,
29
+ className: e(o({ orientation: n }), t),
30
+ ...i
31
+ });
32
+ }
33
+ function c({ className: t, ...n }) {
34
+ return /* @__PURE__ */ r("div", {
35
+ "data-slot": "field-content",
36
+ className: e("ttw:group/field-content ttw:flex ttw:flex-1 ttw:flex-col ttw:gap-1.5 ttw:leading-snug", t),
37
+ ...n
38
+ });
39
+ }
40
+ function l({ className: n, required: a, children: o, ...s }) {
41
+ return /* @__PURE__ */ i(t, {
42
+ "data-slot": "field-label",
43
+ className: e("ttw:group/field-label ttw:peer/field-label ttw:flex ttw:w-fit ttw:items-center ttw:gap-2 ttw:leading-snug ttw:group-data-[disabled=true]/field:opacity-50", "ttw:has-[>[data-slot=field]]:w-full ttw:has-[>[data-slot=field]]:flex-col ttw:has-[>[data-slot=field]]:rounded-md ttw:has-[>[data-slot=field]]:border ttw:[&>*]:data-[slot=field]:p-4", "ttw:has-data-[state=checked]:border-primary ttw:has-data-[state=checked]:bg-primary/5 ttw:dark:has-data-[state=checked]:bg-primary/10", n),
44
+ ...s,
45
+ children: [o, a && /* @__PURE__ */ r("span", {
46
+ "aria-hidden": "true",
47
+ className: "ttw:size-2 ttw:-ml-1 ttw:block ttw:-mt-1 ttw:rounded-full ttw:bg-destructive ttw:shrink-0"
48
+ })]
49
+ });
50
+ }
51
+ function u({ className: t, children: i, errors: a, ...o }) {
52
+ let s = n(() => {
53
+ if (i) return i;
54
+ if (!a?.length) return null;
55
+ let e = [...new Map(a.map((e) => [e?.message, e])).values()];
56
+ return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ r("ul", {
57
+ className: "ttw:ml-4 ttw:flex ttw:list-disc ttw:flex-col ttw:gap-1",
58
+ children: e.map((e, t) => e?.message && /* @__PURE__ */ r("li", { children: e.message }, t))
59
+ });
60
+ }, [i, a]);
61
+ return s ? /* @__PURE__ */ r("div", {
62
+ role: "alert",
63
+ "data-slot": "field-error",
64
+ className: e("ttw:text-sm ttw:font-normal ttw:text-destructive", t),
65
+ ...o,
66
+ children: s
67
+ }) : null;
68
+ }
69
+ //#endregion
70
+ export { s as Field, c as FieldContent, u as FieldError, l as FieldLabel };
@@ -1,70 +1,27 @@
1
- import { cn as e } from "./index54.js";
2
- import { Label as t } from "./index223.js";
3
- import "./index224.js";
4
- import { useMemo as n } from "react";
5
- import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
6
- import { cva as a } from "class-variance-authority";
1
+ import { cn as e } from "./index53.js";
2
+ import "react";
3
+ import { CircleIcon as t } from "lucide-react";
4
+ import { jsx as n } from "@emotion/react/jsx-runtime";
5
+ import * as r from "@radix-ui/react-radio-group";
7
6
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js
8
- var o = a("ttw:group/field ttw:flex ttw:w-full ttw:gap-3 ttw:data-[invalid=true]:text-destructive", {
9
- variants: { orientation: {
10
- vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
11
- horizontal: [
12
- "flex-row items-center",
13
- "[&>[data-slot=field-label]]:flex-auto",
14
- "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
15
- ],
16
- responsive: [
17
- "flex-col @md/field-group:flex-row @md/field-group:items-center [&>*]:w-full @md/field-group:[&>*]:w-auto [&>.sr-only]:w-auto",
18
- "@md/field-group:[&>[data-slot=field-label]]:flex-auto",
19
- "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
20
- ]
21
- } },
22
- defaultVariants: { orientation: "vertical" }
23
- });
24
- function s({ className: t, orientation: n = "vertical", ...i }) {
25
- return /* @__PURE__ */ r("div", {
26
- role: "group",
27
- "data-slot": "field",
28
- "data-orientation": n,
29
- className: e(o({ orientation: n }), t),
7
+ function i({ className: t, ...i }) {
8
+ return /* @__PURE__ */ n(r.Root, {
9
+ "data-slot": "radio-group",
10
+ className: e("ttw:grid ttw:gap-3", t),
30
11
  ...i
31
12
  });
32
13
  }
33
- function c({ className: t, ...n }) {
34
- return /* @__PURE__ */ r("div", {
35
- "data-slot": "field-content",
36
- className: e("ttw:group/field-content ttw:flex ttw:flex-1 ttw:flex-col ttw:gap-1.5 ttw:leading-snug", t),
37
- ...n
38
- });
39
- }
40
- function l({ className: n, required: a, children: o, ...s }) {
41
- return /* @__PURE__ */ i(t, {
42
- "data-slot": "field-label",
43
- className: e("ttw:group/field-label ttw:peer/field-label ttw:flex ttw:w-fit ttw:items-center ttw:gap-2 ttw:leading-snug ttw:group-data-[disabled=true]/field:opacity-50", "ttw:has-[>[data-slot=field]]:w-full ttw:has-[>[data-slot=field]]:flex-col ttw:has-[>[data-slot=field]]:rounded-md ttw:has-[>[data-slot=field]]:border ttw:[&>*]:data-[slot=field]:p-4", "ttw:has-data-[state=checked]:border-primary ttw:has-data-[state=checked]:bg-primary/5 ttw:dark:has-data-[state=checked]:bg-primary/10", n),
44
- ...s,
45
- children: [o, a && /* @__PURE__ */ r("span", {
46
- "aria-hidden": "true",
47
- className: "ttw:size-2 ttw:-ml-1 ttw:block ttw:-mt-1 ttw:rounded-full ttw:bg-destructive ttw:shrink-0"
48
- })]
49
- });
50
- }
51
- function u({ className: t, children: i, errors: a, ...o }) {
52
- let s = n(() => {
53
- if (i) return i;
54
- if (!a?.length) return null;
55
- let e = [...new Map(a.map((e) => [e?.message, e])).values()];
56
- return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ r("ul", {
57
- className: "ttw:ml-4 ttw:flex ttw:list-disc ttw:flex-col ttw:gap-1",
58
- children: e.map((e, t) => e?.message && /* @__PURE__ */ r("li", { children: e.message }, t))
59
- });
60
- }, [i, a]);
61
- return s ? /* @__PURE__ */ r("div", {
62
- role: "alert",
63
- "data-slot": "field-error",
64
- className: e("ttw:text-sm ttw:font-normal ttw:text-destructive", t),
14
+ function a({ className: i, dotClassName: a, ...o }) {
15
+ return /* @__PURE__ */ n(r.Item, {
16
+ "data-slot": "radio-group-item",
17
+ className: e("ttw:border-input ttw:text-primary 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:aspect-square ttw:size-4 ttw:shrink-0 ttw:rounded-full ttw:border 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", i),
65
18
  ...o,
66
- children: s
67
- }) : null;
19
+ children: /* @__PURE__ */ n(r.Indicator, {
20
+ "data-slot": "radio-group-indicator",
21
+ className: "ttw:relative ttw:flex ttw:items-center ttw:justify-center",
22
+ children: /* @__PURE__ */ n(t, { className: e("ttw:fill-primary ttw:absolute ttw:top-1/2 ttw:left-1/2 ttw:size-2 ttw:-translate-x-1/2 ttw:-translate-y-1/2", a) })
23
+ })
24
+ });
68
25
  }
69
26
  //#endregion
70
- export { s as Field, c as FieldContent, u as FieldError, l as FieldLabel };
27
+ export { i as RadioGroup, a as RadioGroupItem };