@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,26 +1,62 @@
1
- import { useRootElements as e } from "./index68.js";
2
- import "./index69.js";
3
- import { useState as t } from "react";
4
- import { jsx as n } from "@emotion/react/jsx-runtime";
5
- import { CacheProvider as r } from "@emotion/react";
6
- import i from "@emotion/cache";
1
+ import { Button as e } from "./index110.js";
2
+ import { CenteredContentBox as t } from "./index50.js";
3
+ import "./index51.js";
4
+ import { DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a } from "./index145.js";
5
+ import { Typography as o } from "./index146.js";
6
+ import { ChevronDown as s, RefreshCw as c } from "lucide-react";
7
+ import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
7
8
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js
8
- var a = ({ cacheKey: e, container: t, prebuiltStylesheet: n = !1 }) => {
9
- let r = i({
10
- key: e,
11
- container: t
12
- });
13
- return n && (r.compat = !0), r;
14
- }, o = ({ cacheKey: i, prebuiltStylesheet: o = !1, children: s }) => {
15
- let c = e(), [l] = t(() => a({
16
- cacheKey: i,
17
- container: c.styles,
18
- prebuiltStylesheet: o
19
- }));
20
- return /* @__PURE__ */ n(r, {
21
- value: l,
22
- children: s
9
+ var d = ({ title: e, descriptionLine1: n, onAction: r, actionButtonLabel: i, actionOptions: a = [], type: s }) => /* @__PURE__ */ l(t, {
10
+ className: "ttw:min-h-48",
11
+ children: /* @__PURE__ */ u("div", {
12
+ className: "ttw:flex ttw:flex-col ttw:flex-1 ttw:items-center ttw:gap-3",
13
+ children: [
14
+ /* @__PURE__ */ l(o, {
15
+ variant: "h2",
16
+ className: "ttw:font-medium",
17
+ children: e
18
+ }),
19
+ /* @__PURE__ */ l(o, {
20
+ variant: "body1",
21
+ color: "muted",
22
+ className: "ttw:font-normal",
23
+ children: n
24
+ }),
25
+ /* @__PURE__ */ l(f, {
26
+ onAction: r,
27
+ actionButtonLabel: i,
28
+ actionOptions: a,
29
+ type: s
30
+ })
31
+ ]
32
+ })
33
+ }), f = ({ onAction: t, actionButtonLabel: o, actionOptions: d = [], type: f }) => {
34
+ if (!o) return null;
35
+ let p = (e) => {
36
+ t && t(e);
37
+ };
38
+ return d.length > 1 ? /* @__PURE__ */ u(n, { children: [/* @__PURE__ */ l(a, {
39
+ asChild: !0,
40
+ children: /* @__PURE__ */ u(e, {
41
+ type: "button",
42
+ children: [
43
+ f === "error" ? /* @__PURE__ */ l(c, {}) : void 0,
44
+ o,
45
+ /* @__PURE__ */ l(s, {})
46
+ ]
47
+ })
48
+ }), /* @__PURE__ */ l(r, {
49
+ align: "end",
50
+ children: d.map((e) => /* @__PURE__ */ l(i, {
51
+ onClick: () => p(e),
52
+ children: e
53
+ }, e))
54
+ })] }) : /* @__PURE__ */ u(e, {
55
+ onClick: (e) => {
56
+ e.preventDefault(), p(d?.[0]);
57
+ },
58
+ children: [f === "error" ? /* @__PURE__ */ l(c, {}) : void 0, o]
23
59
  });
24
60
  };
25
61
  //#endregion
26
- export { o as EmotionCacheProvider, a as createEmotionCache };
62
+ export { d as DataGridEmptyState };
@@ -1,19 +1 @@
1
- import { useMoniteContext as e } from "./index36.js";
2
- import { jsx as t } from "@emotion/react/jsx-runtime";
3
- import { I18nProvider as n } from "@lingui/react";
4
- import { LocalizationProvider as r } from "@mui/x-date-pickers";
5
- import { AdapterDateFns as i } from "@mui/x-date-pickers/AdapterDateFnsV3";
6
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js
7
- var a = ({ children: a }) => {
8
- let { i18n: o, dateFnsLocale: s } = e();
9
- return /* @__PURE__ */ t(n, {
10
- i18n: o,
11
- children: /* @__PURE__ */ t(r, {
12
- dateAdapter: i,
13
- adapterLocale: s,
14
- children: a
15
- })
16
- }, o.locale);
17
- };
18
- //#endregion
19
- export { a as MoniteI18nProvider };
1
+ import "./index147.js";
@@ -1,71 +1,31 @@
1
- import { useDialog as e } from "./index124.js";
2
- import { CenteredContentBox as t } from "./index54.js";
3
- import "./index55.js";
4
- import "./index125.js";
5
- import { IconWrapper as n } from "./index128.js";
6
- import "./index129.js";
7
- import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
8
- import { Box as o, Button as s, Grid as c, Stack as l, Typography as u } from "@mui/material";
9
- import { useLingui as d } from "@lingui/react";
10
- import f from "@mui/icons-material/Close";
11
- import p from "@mui/icons-material/Cached";
12
- import m from "@mui/icons-material/OpenInNew";
13
- import h from "@mui/icons-material/SearchOff";
1
+ import { DataGridEmptyState as e } from "./index147.js";
2
+ import "./index148.js";
3
+ import { jsx as t } from "@emotion/react/jsx-runtime";
4
+ import { useLingui as n } from "@lingui/react";
14
5
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js
15
- var g = (g) => {
16
- let _ = e(), { i18n: v } = d(), y = v._("Something went wrong"), b = String(g.error);
17
- return /* @__PURE__ */ a(r, { children: [_ && /* @__PURE__ */ a(c, {
18
- container: !0,
19
- padding: 2,
20
- children: [/* @__PURE__ */ i(c, {
21
- item: !0,
22
- xs: 11
23
- }), /* @__PURE__ */ i(c, {
24
- item: !0,
25
- xs: 1,
26
- children: /* @__PURE__ */ i(n, {
27
- onClick: _.onClose,
28
- color: "inherit",
29
- "aria-label": "close",
30
- children: /* @__PURE__ */ i(f, {})
31
- })
32
- })]
33
- }), /* @__PURE__ */ i(t, { children: /* @__PURE__ */ a(l, {
34
- alignItems: "center",
35
- spacing: 2,
36
- children: [/* @__PURE__ */ i(o, { children: /* @__PURE__ */ i(h, {
37
- fontSize: "large",
38
- color: "error"
39
- }) }), /* @__PURE__ */ a(l, {
40
- alignItems: "center",
41
- spacing: 1,
42
- children: [
43
- /* @__PURE__ */ i(u, {
44
- variant: "h3",
45
- children: y
46
- }),
47
- /* @__PURE__ */ i(u, {
48
- variant: "body2",
49
- children: b
50
- }),
51
- /* @__PURE__ */ a(l, {
52
- spacing: 2,
53
- direction: "row",
54
- children: [/* @__PURE__ */ i(s, {
55
- variant: "contained",
56
- onClick: g.resetErrorBoundary,
57
- endIcon: /* @__PURE__ */ i(p, { fontSize: "small" }),
58
- children: v._("Try again")
59
- }), /* @__PURE__ */ i(s, {
60
- variant: "outlined",
61
- href: "https://docs.monite.com/docs/support",
62
- endIcon: /* @__PURE__ */ i(m, { fontSize: "small" }),
63
- children: v._("Contact support")
64
- })]
65
- })
66
- ]
67
- })]
68
- }) })] });
6
+ var r = ({ isLoading: r, dataLength: i, isFiltering: a, isSearching: o, isError: s, onCreate: c, refetch: l, entityName: u, noDataTitle: d, noDataDescription1: f, filterTitle: p, filterDescription1: m, actionButtonLabel: h, actionOptions: g, onAction: _, type: v }) => {
7
+ let { i18n: y } = n();
8
+ return !r && i === 0 && (a || o) ? /* @__PURE__ */ t(e, {
9
+ title: p || d || y._("No {entityName} Found", { entityName: u }),
10
+ descriptionLine1: m || "",
11
+ type: "no-filter",
12
+ onAction: _
13
+ }) : !r && i === 0 && !a && !o ? /* @__PURE__ */ t(e, {
14
+ title: d || y._("No {entityName}", { entityName: u }),
15
+ descriptionLine1: f || y._("You don’t have any {entityName} yet.", { entityName: u.toLowerCase() }),
16
+ actionOptions: g,
17
+ actionButtonLabel: h,
18
+ onAction: (e) => {
19
+ c && c(e ?? "");
20
+ },
21
+ type: v || "no-data"
22
+ }) : s ? /* @__PURE__ */ t(e, {
23
+ title: y._("Failed to load {entityName}", { entityName: u }),
24
+ descriptionLine1: y._("There was an error loading {entityName}.", { entityName: u.toLowerCase() }),
25
+ actionButtonLabel: y._("Reload"),
26
+ onAction: l,
27
+ type: "error"
28
+ }) : null;
69
29
  };
70
30
  //#endregion
71
- export { g as Error };
31
+ export { r as GetNoRowsOverlay };
@@ -1,27 +1,43 @@
1
- import { useMoniteContext as e } from "./index36.js";
2
- import { EmotionCacheProvider as t } from "./index147.js";
3
- import { MoniteI18nProvider as n } from "./index148.js";
4
- import { Error as r } from "./index149.js";
5
- import { createContext as i, useContext as a } from "react";
6
- import { ErrorBoundary as o } from "react-error-boundary";
7
- import { Fragment as s, jsx as c } from "@emotion/react/jsx-runtime";
8
- import { ThemeProvider as l } from "@mui/material";
1
+ import { useDialog as e } from "./index117.js";
2
+ import { CenteredContentBox as t } from "./index50.js";
3
+ import "./index51.js";
4
+ import "./index118.js";
5
+ import { IconWrapper as n } from "./index121.js";
6
+ import "./index122.js";
7
+ import { LockKeyhole as r, X as i } from "lucide-react";
8
+ import { Fragment as a, jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
9
+ import { useLingui as c } from "@lingui/react";
9
10
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js
10
- var u = ({ children: i }) => {
11
- let u = a(d), { theme: f } = e();
12
- return u ? /* @__PURE__ */ c(s, { children: i }) : /* @__PURE__ */ c(d.Provider, {
13
- value: !0,
14
- children: /* @__PURE__ */ c(t, {
15
- cacheKey: "monite-css",
16
- children: /* @__PURE__ */ c(n, { children: /* @__PURE__ */ c(l, {
17
- theme: f,
18
- children: /* @__PURE__ */ c(o, {
19
- FallbackComponent: r,
20
- children: i
21
- })
22
- }) })
11
+ var l = (l) => {
12
+ let u = "Monite-AccessRestriction", d = e(), { i18n: f } = c(), p = l.title ?? f._("Access Restricted"), m = l.description ?? /* @__PURE__ */ s("span", { children: [
13
+ f._("You don’t have permissions to view this page."),
14
+ /* @__PURE__ */ o("br", {}),
15
+ f._("Contact your system administrator for details.")
16
+ ] });
17
+ return /* @__PURE__ */ s(a, { children: [d && /* @__PURE__ */ o("div", {
18
+ className: `ttw:flex ttw:justify-end ttw:p-4 ${u}-InDialog-Header`,
19
+ children: /* @__PURE__ */ o(n, {
20
+ onClick: d.onClose,
21
+ color: "inherit",
22
+ "aria-label": "close",
23
+ children: /* @__PURE__ */ o(i, {})
23
24
  })
24
- });
25
- }, d = i(!1);
25
+ }), /* @__PURE__ */ o(t, {
26
+ className: u + "-Content",
27
+ children: /* @__PURE__ */ s("div", {
28
+ className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-4",
29
+ children: [/* @__PURE__ */ o(r, { className: "ttw:w-8 ttw:h-8 ttw:text-primary" }), /* @__PURE__ */ s("div", {
30
+ className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-2",
31
+ children: [/* @__PURE__ */ o("h3", {
32
+ className: "ttw:text-2xl ttw:font-semibold",
33
+ children: p
34
+ }), /* @__PURE__ */ o("p", {
35
+ className: "ttw:text-center",
36
+ children: m
37
+ })]
38
+ })]
39
+ })
40
+ })] });
41
+ };
26
42
  //#endregion
27
- export { u as MoniteScopedProviders };
43
+ export { l as AccessRestriction };
@@ -1,8 +1,80 @@
1
- import { useMoniteContext as e } from "./index36.js";
1
+ import { useRootElements as e } from "./index63.js";
2
+ import "./index64.js";
3
+ import { cn as t } from "./index49.js";
4
+ import "react";
5
+ import { XIcon as n } from "lucide-react";
6
+ import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
7
+ import * as a from "@radix-ui/react-dialog";
2
8
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js
3
- function t() {
4
- let { userPermissions: t } = e();
5
- return t;
9
+ function o({ ...e }) {
10
+ return /* @__PURE__ */ r(a.Root, {
11
+ "data-slot": "dialog",
12
+ ...e
13
+ });
14
+ }
15
+ function s({ ...e }) {
16
+ return /* @__PURE__ */ r(a.Portal, {
17
+ "data-slot": "dialog-portal",
18
+ ...e
19
+ });
20
+ }
21
+ function c({ className: e, ...n }) {
22
+ return /* @__PURE__ */ r(a.Overlay, {
23
+ "data-slot": "dialog-overlay",
24
+ className: t("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", e),
25
+ ...n
26
+ });
27
+ }
28
+ function l({ className: o, children: l, showCloseButton: u = !0, fullScreen: d = !1, container: f, ...p }) {
29
+ let { root: m } = e();
30
+ return /* @__PURE__ */ i(s, {
31
+ container: f ?? m,
32
+ "data-slot": "dialog-portal",
33
+ children: [/* @__PURE__ */ r(c, {}), /* @__PURE__ */ i(a.Content, {
34
+ "data-slot": "dialog-content",
35
+ className: t("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", d && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", o),
36
+ ...p,
37
+ onCloseAutoFocus: (e) => {
38
+ e.preventDefault(), (f ?? document.body).style.pointerEvents = "";
39
+ },
40
+ children: [l, u && /* @__PURE__ */ i(a.Close, {
41
+ "data-slot": "dialog-close",
42
+ className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4",
43
+ children: [/* @__PURE__ */ r(n, {}), /* @__PURE__ */ r("span", {
44
+ className: "ttw:sr-only",
45
+ children: "Close"
46
+ })]
47
+ })]
48
+ })]
49
+ });
50
+ }
51
+ function u({ className: e, ...n }) {
52
+ return /* @__PURE__ */ r("div", {
53
+ "data-slot": "dialog-header",
54
+ className: t("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", e),
55
+ ...n
56
+ });
57
+ }
58
+ function d({ className: e, ...n }) {
59
+ return /* @__PURE__ */ r("div", {
60
+ "data-slot": "dialog-footer",
61
+ className: t("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", e),
62
+ ...n
63
+ });
64
+ }
65
+ function f({ className: e, ...n }) {
66
+ return /* @__PURE__ */ r(a.Title, {
67
+ "data-slot": "dialog-title",
68
+ className: t("ttw:text-lg ttw:leading-none ttw:font-semibold", e),
69
+ ...n
70
+ });
71
+ }
72
+ function p({ className: e, ...n }) {
73
+ return /* @__PURE__ */ r(a.Description, {
74
+ "data-slot": "dialog-description",
75
+ className: t("ttw:text-muted-foreground ttw:text-sm", e),
76
+ ...n
77
+ });
6
78
  }
7
79
  //#endregion
8
- export { t as useUserPermissions };
80
+ export { o as Dialog, l as DialogContent, p as DialogDescription, d as DialogFooter, u as DialogHeader, c as DialogOverlay, s as DialogPortal, f as DialogTitle };
@@ -1,43 +1,4 @@
1
- import { useRootElements as e } from "./index68.js";
2
- import "./index69.js";
3
- import { cn as t } from "./index53.js";
4
- import "react";
5
- import "lucide-react";
6
- import { jsx as n } from "@emotion/react/jsx-runtime";
7
- import * as r from "@radix-ui/react-dropdown-menu";
8
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js
9
- function i({ ...e }) {
10
- return /* @__PURE__ */ n(r.Root, {
11
- "data-slot": "dropdown-menu",
12
- ...e
13
- });
14
- }
15
- function a({ ...e }) {
16
- return /* @__PURE__ */ n(r.Trigger, {
17
- "data-slot": "dropdown-menu-trigger",
18
- ...e
19
- });
20
- }
21
- function o({ className: i, sideOffset: a = 4, ...o }) {
22
- let { root: s } = e();
23
- return /* @__PURE__ */ n(r.Portal, {
24
- container: s,
25
- children: /* @__PURE__ */ n(r.Content, {
26
- "data-slot": "dropdown-menu-content",
27
- sideOffset: a,
28
- className: t("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 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:z-1300 ttw:max-h-(--radix-dropdown-menu-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-dropdown-menu-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:p-1 ttw:shadow-md", i),
29
- ...o
30
- })
31
- });
32
- }
33
- function s({ className: e, inset: i, variant: a = "default", ...o }) {
34
- return /* @__PURE__ */ n(r.Item, {
35
- "data-slot": "dropdown-menu-item",
36
- "data-inset": i,
37
- "data-variant": a,
38
- className: t("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:data-[variant=destructive]:text-destructive ttw:data-[variant=destructive]:focus:bg-destructive/10 ttw:dark:data-[variant=destructive]:focus:bg-destructive/20 ttw:data-[variant=destructive]:focus:text-destructive ttw:data-[variant=destructive]:*:[svg]:!text-destructive ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:cursor-pointer ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:px-2 ttw:py-1.5 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:data-[inset]:pl-8 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", e),
39
- ...o
40
- });
41
- }
42
- //#endregion
43
- export { i as DropdownMenu, o as DropdownMenuContent, s as DropdownMenuItem, a as DropdownMenuTrigger };
1
+ import "./index110.js";
2
+ import "./index151.js";
3
+ import "@emotion/react/jsx-runtime";
4
+ import "@lingui/react";
@@ -1,51 +1,2 @@
1
- import * as e from "react";
2
- import { cva as t } from "class-variance-authority";
3
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js
4
- var n = t(void 0, {
5
- variants: {
6
- variant: {
7
- h1: "ttw:scroll-m-20 ttw:text-4xl ttw:font-extrabold ttw:tracking-tight",
8
- h2: "ttw:scroll-m-20 ttw:text-3xl ttw:font-semibold ttw:tracking-tight",
9
- h3: "ttw:scroll-m-20 ttw:text-2xl ttw:font-semibold ttw:tracking-tight",
10
- h4: "ttw:scroll-m-20 ttw:text-xl ttw:font-semibold ttw:tracking-tight",
11
- h5: "ttw:scroll-m-20 ttw:text-lg ttw:font-semibold ttw:tracking-tight",
12
- h6: "ttw:scroll-m-20 ttw:text-base ttw:font-semibold ttw:tracking-tight",
13
- body1: "ttw:text-base ttw:leading-7",
14
- body2: "ttw:text-sm ttw:leading-6",
15
- caption: "ttw:text-xs ttw:leading-5"
16
- },
17
- color: {
18
- default: "ttw:text-foreground",
19
- muted: "ttw:text-muted-foreground",
20
- primary: "ttw:text-primary",
21
- destructive: "ttw:text-destructive"
22
- }
23
- },
24
- defaultVariants: {
25
- variant: "body1",
26
- color: "default"
27
- }
28
- }), r = {
29
- h1: "h1",
30
- h2: "h2",
31
- h3: "h3",
32
- h4: "h4",
33
- h5: "h5",
34
- h6: "h6",
35
- body1: "p",
36
- body2: "p",
37
- caption: "span"
38
- };
39
- function i({ className: t, variant: i = "body1", color: a = "default", component: o, children: s, ...c }) {
40
- let l = o || r[i ?? "body1"];
41
- return e.createElement(l, {
42
- className: n({
43
- variant: i,
44
- color: a,
45
- className: t
46
- }),
47
- ...c
48
- }, s);
49
- }
50
- //#endregion
51
- export { i as Typography, n as typographyVariants };
1
+ import "./index150.js";
2
+ import "./index152.js";
@@ -1,62 +1,52 @@
1
- import { Button as e } from "./index117.js";
2
- import { CenteredContentBox as t } from "./index54.js";
3
- import "./index55.js";
4
- import { DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a } from "./index152.js";
5
- import { Typography as o } from "./index153.js";
6
- import { ChevronDown as s, RefreshCw as c } from "lucide-react";
7
- import { jsx as l, jsxs as u } from "@emotion/react/jsx-runtime";
1
+ import { cn as e } from "./index49.js";
2
+ import "react";
3
+ import { jsx as t } from "@emotion/react/jsx-runtime";
8
4
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js
9
- var d = ({ title: e, descriptionLine1: n, onAction: r, actionButtonLabel: i, actionOptions: a = [], type: s }) => /* @__PURE__ */ l(t, {
10
- className: "ttw:min-h-48",
11
- children: /* @__PURE__ */ u("div", {
12
- className: "ttw:flex ttw:flex-col ttw:flex-1 ttw:items-center ttw:gap-3",
13
- children: [
14
- /* @__PURE__ */ l(o, {
15
- variant: "h2",
16
- className: "ttw:font-medium",
17
- children: e
18
- }),
19
- /* @__PURE__ */ l(o, {
20
- variant: "body1",
21
- color: "muted",
22
- className: "ttw:font-normal",
23
- children: n
24
- }),
25
- /* @__PURE__ */ l(f, {
26
- onAction: r,
27
- actionButtonLabel: i,
28
- actionOptions: a,
29
- type: s
30
- })
31
- ]
32
- })
33
- }), f = ({ onAction: t, actionButtonLabel: o, actionOptions: d = [], type: f }) => {
34
- if (!o) return null;
35
- let p = (e) => {
36
- t && t(e);
37
- };
38
- return d.length > 1 ? /* @__PURE__ */ u(n, { children: [/* @__PURE__ */ l(a, {
39
- asChild: !0,
40
- children: /* @__PURE__ */ u(e, {
41
- type: "button",
42
- children: [
43
- f === "error" ? /* @__PURE__ */ l(c, {}) : void 0,
44
- o,
45
- /* @__PURE__ */ l(s, {})
46
- ]
5
+ function n({ className: n, ...r }) {
6
+ return /* @__PURE__ */ t("div", {
7
+ "data-slot": "table-container",
8
+ className: "ttw:flex-1 ttw:relative ttw:w-0 ttw:min-w-full ttw:overflow-x-auto",
9
+ children: /* @__PURE__ */ t("table", {
10
+ "data-slot": "table",
11
+ className: e("ttw:w-full ttw:caption-bottom ttw:text-sm", n),
12
+ ...r
47
13
  })
48
- }), /* @__PURE__ */ l(r, {
49
- align: "end",
50
- children: d.map((e) => /* @__PURE__ */ l(i, {
51
- onClick: () => p(e),
52
- children: e
53
- }, e))
54
- })] }) : /* @__PURE__ */ u(e, {
55
- onClick: (e) => {
56
- e.preventDefault(), p(d?.[0]);
57
- },
58
- children: [f === "error" ? /* @__PURE__ */ l(c, {}) : void 0, o]
59
14
  });
60
- };
15
+ }
16
+ function r({ className: n, ...r }) {
17
+ return /* @__PURE__ */ t("thead", {
18
+ "data-slot": "table-header",
19
+ className: e("ttw:[&_tr]:border-b", n),
20
+ ...r
21
+ });
22
+ }
23
+ function i({ className: n, ...r }) {
24
+ return /* @__PURE__ */ t("tbody", {
25
+ "data-slot": "table-body",
26
+ className: e("ttw:[&_tr:last-child]:border-0", n),
27
+ ...r
28
+ });
29
+ }
30
+ function a({ className: n, ...r }) {
31
+ return /* @__PURE__ */ t("tr", {
32
+ "data-slot": "table-row",
33
+ className: e("ttw:border-b ttw:transition-colors ttw:hover:bg-muted/50 ttw:data-[state=selected]:bg-muted", n),
34
+ ...r
35
+ });
36
+ }
37
+ function o({ className: n, ...r }) {
38
+ return /* @__PURE__ */ t("th", {
39
+ "data-slot": "table-head",
40
+ className: e("ttw:h-10 ttw:px-2 ttw:text-left ttw:align-middle ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", n),
41
+ ...r
42
+ });
43
+ }
44
+ function s({ className: n, ...r }) {
45
+ return /* @__PURE__ */ t("td", {
46
+ "data-slot": "table-cell",
47
+ className: e("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", n),
48
+ ...r
49
+ });
50
+ }
61
51
  //#endregion
62
- export { d as DataGridEmptyState };
52
+ export { n as Table, i as TableBody, s as TableCell, o as TableHead, r as TableHeader, a as TableRow };