@tesouro/embedded-components-react 0.7.58 → 0.7.60

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 (252) hide show
  1. package/README.md +2 -3
  2. package/dist/index.css +0 -15
  3. package/dist/lib/monite-sdk.d.ts +5 -261
  4. package/dist/lib/monite-sdk.js +46 -52
  5. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +50 -57
  6. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +176 -1
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +48 -48
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -1
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +3 -153
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1224
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +2 -176
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +7 -5
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +53 -15
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +41 -5
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +69 -51
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +41 -2
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +14 -3
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +13 -1
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +71 -2
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +170 -8
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +6 -56
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +2 -41
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +65 -70
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +1 -41
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +77 -12
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -13
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +32 -68
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +1 -172
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +57 -6
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +44 -2
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +1 -76
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +568 -0
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -78
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1 -1
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +156 -31
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +1 -1
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +24 -55
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -44
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +12 -1
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +10 -567
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -1
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +18 -1
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +16 -155
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +29 -1
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -26
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +26 -1
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +17 -10
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +69 -10
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +25 -10
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +4 -14
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +41 -19
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +49 -27
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +62 -1
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -26
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +27 -15
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +40 -68
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +78 -25
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +4 -8
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -43
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +49 -48
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +75 -56
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +113 -1
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -29
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +10 -41
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +10 -78
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +20 -4
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +77 -2
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +1 -52
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +125 -77
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -113
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +11 -5
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +54 -10
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +5 -12
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +16 -17
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +1 -77
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +64 -1
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +117 -124
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +24 -1
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -11
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +29 -54
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -5
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +54 -15
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -1
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +26 -62
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +1 -122
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +59 -22
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +19 -6
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -35
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +184 -7
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -58
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +29 -72
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +3 -28
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +35 -57
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +1 -21
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +17 -20
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +16 -182
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +8 -1
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +15 -29
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -3
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +24 -1
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +5 -36
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +8 -1
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +14 -16
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +8 -8
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +9 -8
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +23 -14
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +11 -20
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +8 -21
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +24 -5
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +14 -6
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +81 -15
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +14 -18
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +102 -9
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +42 -23
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -12
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +1 -11
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +101 -22
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +37 -14
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +171 -81
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -14
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +4 -102
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +67 -43
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +24 -27
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +212 -1
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -8
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +87 -101
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +20 -37
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +1 -173
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +17 -12
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +160 -4
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +101 -67
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +43 -24
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +4 -212
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -88
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +75 -20
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +19 -1
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +20 -17
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +5 -157
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +9 -101
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +11 -44
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +133 -4
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -21
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +5 -74
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +5 -19
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +217 -17
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +31 -5
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +11 -9
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +34 -11
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +19 -130
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +73 -5
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +181 -5
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +16 -5
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +196 -212
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +99 -31
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +63 -11
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +53 -32
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +91 -19
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +39 -72
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +72 -177
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +85 -14
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +12 -204
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +22 -98
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +17 -66
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -57
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +20 -90
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -43
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +22 -79
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +28 -83
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +2 -12
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +20 -23
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +18 -17
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +33 -5
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +29 -22
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +2 -1
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -5
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +825 -55
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +20 -930
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +68 -26
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +5 -68
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -5
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -6
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +3 -3
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +22 -4
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +6 -14
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +6 -15
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -44
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +23 -14
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -5
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +10 -4
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +6 -33
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +7 -6
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -11
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +4 -6
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +7 -11
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -8
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +18 -6
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +32 -1
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +9 -3
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +70 -6
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +54 -1
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +1 -21
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +19 -30
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +47 -10
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +15 -69
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +1 -54
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +47 -0
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +64 -19
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +31 -44
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +40 -11
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +21 -15
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +14 -1
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +12 -43
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +53 -37
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +10 -66
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +23 -33
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +69 -37
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +78 -20
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +1 -14
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +8 -15
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +25 -52
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +4 -12
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +16 -23
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +3 -72
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +2 -82
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +57 -0
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +10 -8
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +35 -25
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -4
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +103 -16
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +1 -5
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +56 -2
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +0 -57
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +53 -10
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +1 -39
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +55 -1
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -105
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +16 -1
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +15 -54
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +153 -1
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1222 -53
  243. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  244. package/package.json +1 -1
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +0 -22
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +0 -32
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +0 -4
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -36
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +0 -18
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +0 -33
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +0 -31
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +0 -2
@@ -1,160 +1,21 @@
1
- import { useMoniteContext as e } from "./index37.js";
2
- import { getCounterpartName as t } from "./index43.js";
3
- import { useDialog as n } from "./index125.js";
4
- import { useApprovalPolicyTrigger as r } from "./index82.js";
5
- import { User as i } from "./index64.js";
6
- import "./index65.js";
7
- import { useApprovalPolicyScript as a } from "./index91.js";
8
- import { Role as o } from "./index93.js";
9
- import "./index94.js";
10
- import "./index126.js";
11
- import { DialogFooter as s } from "./index127.js";
12
- import "./index128.js";
13
- import { DialogHeader as c } from "./index131.js";
14
- import "./index136.js";
15
- import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
16
- import { toast as f } from "react-hot-toast";
17
- import { Chip as p, DialogContent as m, Paper as h, Stack as g, Table as _, TableBody as v, TableCell as y, TableHead as b, TableRow as x, Typography as S } from "@mui/material";
18
- import { Trans as C, useLingui as w } from "@lingui/react";
1
+ import { useApprovalPolicyScript as e } from "./index84.js";
2
+ import { UUserSquare as t } from "./index85.js";
3
+ import { UListUiAlt as n } from "./index133.js";
4
+ import { UUserCircle as r } from "./index134.js";
5
+ import { UUsersAlt as i } from "./index135.js";
6
+ import { ColumnList as a } from "./index136.js";
7
+ import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
19
8
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js
20
- var T = ({ approvalPolicy: T, setIsEdit: E }) => {
21
- let { i18n: D } = w(), O = n(), { api: k, queryClient: A } = e(), { triggers: j, getTriggerLabel: M, getAmountLabel: N } = r({ approvalPolicy: T }), { rules: P, getRuleLabel: F } = a({ approvalPolicy: T }), { data: I } = k.finops.getCounterparts.useQuery({ query: { id__in: Array.isArray(j?.counterpart_id) ? j.counterpart_id : [] } }, { enabled: !!j?.counterpart_id?.length }), L = k.finops.deleteApprovalPoliciesId.useMutation(void 0, { onSuccess: async () => {
22
- await Promise.all([k.finops.getApprovalPolicies.invalidateQueries(A), k.finops.getApprovalPoliciesId.invalidateQueries({ parameters: { path: { approval_policy_id: T.id } } }, A)]), f.success(D._("Approval policy has been deleted"));
23
- } }), R = Object.keys(j).map((e) => {
24
- let n = M(e), r;
9
+ var c = ({ approvalPolicy: c }) => {
10
+ let { rules: l, getRuleName: u } = e({ approvalPolicy: c });
11
+ return c ? /* @__PURE__ */ o(a, { children: l && Object.keys(l).map((e) => {
25
12
  switch (e) {
26
- case "was_created_by_user_id":
27
- Array.isArray(j[e]) && (r = /* @__PURE__ */ u(g, {
28
- direction: "row",
29
- gap: 1,
30
- sx: { flexWrap: "wrap" },
31
- children: j[e].map((e) => /* @__PURE__ */ u(i, { userId: e }, e))
32
- }));
33
- break;
34
- case "counterpart_id":
35
- r = /* @__PURE__ */ u(g, {
36
- direction: "row",
37
- gap: 1,
38
- sx: { flexWrap: "wrap" },
39
- children: I?.data.map((e) => /* @__PURE__ */ u(p, { label: t(e) }, e.id))
40
- });
41
- break;
42
- case "amount":
43
- r = /* @__PURE__ */ u("p", { children: N(j.amount?.value ?? [], j.amount?.currency ?? "EUR") });
44
- break;
45
- default: r = e;
13
+ case "single_user": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(r, { width: 18 }), u(e)] }, e);
14
+ case "users_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(i, { width: 18 }), u(e)] }, e);
15
+ case "roles_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(t, { width: 18 }), u(e)] }, e);
16
+ case "approval_chain": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(n, { width: 18 }), u(e)] }, e);
46
17
  }
47
- return {
48
- label: n,
49
- value: r
50
- };
51
- }), z = P && Object.keys(P)?.map((e) => {
52
- if (!P[e]) return null;
53
- switch (e) {
54
- case "single_user": return {
55
- label: F(e),
56
- value: /* @__PURE__ */ u(i, { userId: P[e].userId })
57
- };
58
- case "users_from_list": return {
59
- label: F(e, P[e].count),
60
- value: /* @__PURE__ */ u(g, {
61
- direction: "column",
62
- gap: 1,
63
- sx: { flexWrap: "wrap" },
64
- children: P[e].userIds?.map((e) => /* @__PURE__ */ u(i, { userId: e }, e))
65
- })
66
- };
67
- case "roles_from_list": return {
68
- label: F(e),
69
- value: /* @__PURE__ */ u(g, {
70
- direction: "row",
71
- gap: 1,
72
- sx: { flexWrap: "wrap" },
73
- children: P[e].roleIds?.map((e) => /* @__PURE__ */ u(o, {
74
- roleId: e,
75
- quoted: !0
76
- }, e))
77
- })
78
- };
79
- case "approval_chain": return {
80
- label: F(e),
81
- value: /* @__PURE__ */ u(g, {
82
- direction: "column",
83
- spacing: .5,
84
- children: P[e].chainUserIds?.map((e) => e ? /* @__PURE__ */ u(i, { userId: e }, e) : null)
85
- })
86
- };
87
- }
88
- });
89
- return /* @__PURE__ */ d(l, { children: [
90
- /* @__PURE__ */ u(c, {
91
- title: T?.name,
92
- closeButtonTooltip: D._("Close approval policy details")
93
- }),
94
- /* @__PURE__ */ d(m, { children: [
95
- /* @__PURE__ */ u(S, {
96
- variant: "h5",
97
- mt: 2,
98
- mb: 1,
99
- children: D._("Description")
100
- }),
101
- T?.description && /* @__PURE__ */ u(S, {
102
- variant: "body1",
103
- children: T.description
104
- }),
105
- /* @__PURE__ */ u(S, {
106
- variant: "h5",
107
- mt: 4,
108
- mb: 1,
109
- children: D._("Conditions")
110
- }),
111
- /* @__PURE__ */ u(S, {
112
- variant: "body1",
113
- mb: 1,
114
- children: /* @__PURE__ */ u(C, {
115
- id: "INKhSX",
116
- components: { 0: /* @__PURE__ */ u("strong", {}) }
117
- })
118
- }),
119
- /* @__PURE__ */ u(h, {
120
- variant: "outlined",
121
- children: /* @__PURE__ */ d(_, { children: [/* @__PURE__ */ u(b, { children: /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: D._("Condition") }), /* @__PURE__ */ u(y, { children: D._("Criteria") })] }) }), /* @__PURE__ */ u(v, { children: R.length > 0 ? R.map((e) => /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: e.label }), /* @__PURE__ */ u(y, { children: e.value })] }, e.label)) : /* @__PURE__ */ u(x, { children: /* @__PURE__ */ u(y, {
122
- colSpan: 2,
123
- children: D._("No conditions")
124
- }) }) })] })
125
- }),
126
- /* @__PURE__ */ u(S, {
127
- variant: "h5",
128
- mt: 4,
129
- mb: 1,
130
- children: D._("Approval flow")
131
- }),
132
- /* @__PURE__ */ u(S, {
133
- variant: "body1",
134
- mb: 1,
135
- children: D._("Who needs to approve the document and how:")
136
- }),
137
- /* @__PURE__ */ u(h, {
138
- variant: "outlined",
139
- children: /* @__PURE__ */ d(_, { children: [/* @__PURE__ */ u(b, { children: /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: D._("Approval type") }), /* @__PURE__ */ u(y, { children: D._("Users or Roles") })] }) }), /* @__PURE__ */ u(v, { children: z && z.length > 0 ? z.map((e) => /* @__PURE__ */ d(x, { children: [/* @__PURE__ */ u(y, { children: e?.label }), /* @__PURE__ */ u(y, { children: e?.value })] }, e?.label)) : /* @__PURE__ */ u(x, { children: /* @__PURE__ */ u(y, {
140
- colSpan: 2,
141
- children: D._("No rules")
142
- }) }) })] })
143
- })
144
- ] }),
145
- /* @__PURE__ */ u(s, {
146
- primaryButton: {
147
- label: D._("Edit"),
148
- onClick: () => E(!0)
149
- },
150
- deleteButton: {
151
- onClick: () => {
152
- L.mutate({ path: { approval_policy_id: T.id } }, { onSuccess: () => O?.onClose?.() });
153
- },
154
- isLoading: L.isPending
155
- }
156
- })
157
- ] });
18
+ }) }) : null;
158
19
  };
159
20
  //#endregion
160
- export { T as ApprovalPolicyView };
21
+ export { c as ApprovalPoliciesRules };
@@ -1 +1,29 @@
1
- import "./index137.js";
1
+ import { APPROVAL_STATUS_TO_MUI_ICON_MAP as e, ROW_TO_STATUS_MUI_MAP as t, getRowToStatusTextMap as n } from "./index81.js";
2
+ import { jsx as r } from "@emotion/react/jsx-runtime";
3
+ import { Chip as i } from "@mui/material";
4
+ import { useLingui as a } from "@lingui/react";
5
+ import o from "@mui/icons-material/Circle";
6
+ import { styled as s, useThemeProps as c } from "@mui/material/styles";
7
+ //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js
8
+ var l = ({ ref: i, ...s }) => {
9
+ let { status: l, icon: d, size: f, variant: p } = c({
10
+ props: s,
11
+ name: "MoniteApprovalStatusChip"
12
+ }), { i18n: m } = a(), h = e[l];
13
+ return /* @__PURE__ */ r(u, {
14
+ className: "Monite-ApprovalStatusChip",
15
+ ref: i,
16
+ color: t[l],
17
+ icon: d && h ? /* @__PURE__ */ r(h, { fontSize: "small" }) : /* @__PURE__ */ r(o, { sx: { fontSize: "10px" } }),
18
+ label: n(m)[l],
19
+ size: f,
20
+ status: l,
21
+ variant: p ?? "filled"
22
+ });
23
+ }, u = s(i, {
24
+ name: "MoniteApprovalStatusChip",
25
+ slot: "root",
26
+ shouldForwardProp: () => !0
27
+ })({});
28
+ //#endregion
29
+ export { l as ApprovalStatusChip, u as StyledChip };
@@ -1,27 +1 @@
1
- import { useApprovalPolicyById as e } from "./index46.js";
2
- import "./index53.js";
3
- import { LoadingPage as t } from "./index58.js";
4
- import "./index59.js";
5
- import { ApprovalPolicyForm as n } from "./index134.js";
6
- import "./index135.js";
7
- import { ApprovalPolicyView as r } from "./index137.js";
8
1
  import "./index138.js";
9
- import { useState as i } from "react";
10
- import { jsx as a } from "@emotion/react/jsx-runtime";
11
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js
12
- var o = ({ id: o, onCreated: s, onUpdated: c }) => {
13
- let [l, u] = i(!1), { data: d, isLoading: f } = e(o);
14
- return o && f ? /* @__PURE__ */ a(t, {}) : !l && d ? /* @__PURE__ */ a(r, {
15
- approvalPolicy: d,
16
- setIsEdit: u
17
- }) : l && d ? /* @__PURE__ */ a(n, {
18
- approvalPolicy: d,
19
- setIsEdit: u,
20
- onUpdated: c
21
- }) : /* @__PURE__ */ a(n, {
22
- setIsEdit: u,
23
- onCreated: s
24
- });
25
- };
26
- //#endregion
27
- export { o as ApprovalPolicyDetails };
@@ -1 +1,26 @@
1
- import "./index139.js";
1
+ import { useRootElements as e } from "./index63.js";
2
+ import "./index64.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";
7
+ //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index140.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
23
+ });
24
+ };
25
+ //#endregion
26
+ export { o as EmotionCacheProvider, a as createEmotionCache };
@@ -1,12 +1,19 @@
1
- import { createElement as e } from "react";
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";
2
6
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js
3
- var t = ({ color: t = "currentColor", size: n, ...r }) => e("svg", {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: n,
6
- height: n,
7
- viewBox: "0 0 24 24",
8
- fill: t,
9
- ...r
10
- }, e("path", { d: "M3.5,6a1,1,0,1,0,1,1A1,1,0,0,0,3.5,6Zm4,2h14a1,1,0,0,0,0-2H7.5a1,1,0,0,0,0,2Zm0,3a1,1,0,1,0,1,1A1,1,0,0,0,7.5,11Zm4,5a1,1,0,1,0,1,1A1,1,0,0,0,11.5,16Zm10-5h-10a1,1,0,0,0,0,2h10a1,1,0,0,0,0-2Zm0,5h-6a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Z" }));
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
+ };
11
18
  //#endregion
12
- export { t as UListUiAlt };
19
+ export { a as MoniteI18nProvider };
@@ -1,12 +1,71 @@
1
- import { createElement as e } from "react";
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 { 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";
2
14
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js
3
- var t = ({ color: t = "currentColor", size: n, ...r }) => e("svg", {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: n,
6
- height: n,
7
- viewBox: "0 0 24 24",
8
- fill: t,
9
- ...r
10
- }, e("path", { d: "M12,2A10,10,0,0,0,4.65,18.76h0a10,10,0,0,0,14.7,0h0A10,10,0,0,0,12,2Zm0,18a8,8,0,0,1-5.55-2.25,6,6,0,0,1,11.1,0A8,8,0,0,1,12,20ZM10,10a2,2,0,1,1,2,2A2,2,0,0,1,10,10Zm8.91,6A8,8,0,0,0,15,12.62a4,4,0,1,0-6,0A8,8,0,0,0,5.09,16,7.92,7.92,0,0,1,4,12a8,8,0,0,1,16,0A7.92,7.92,0,0,1,18.91,16Z" }));
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
+ }) })] });
69
+ };
11
70
  //#endregion
12
- export { t as UUserCircle };
71
+ export { g as Error };
@@ -1,12 +1,27 @@
1
- import { createElement as e } from "react";
1
+ import { useMoniteContext as e } from "./index36.js";
2
+ import { EmotionCacheProvider as t } from "./index140.js";
3
+ import { MoniteI18nProvider as n } from "./index141.js";
4
+ import { Error as r } from "./index142.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";
2
9
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js
3
- var t = ({ color: t = "currentColor", size: n, ...r }) => e("svg", {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- width: n,
6
- height: n,
7
- viewBox: "0 0 24 24",
8
- fill: t,
9
- ...r
10
- }, e("path", { d: "M12.3,12.22A4.92,4.92,0,0,0,14,8.5a5,5,0,0,0-10,0,4.92,4.92,0,0,0,1.7,3.72A8,8,0,0,0,1,19.5a1,1,0,0,0,2,0,6,6,0,0,1,12,0,1,1,0,0,0,2,0A8,8,0,0,0,12.3,12.22ZM9,11.5a3,3,0,1,1,3-3A3,3,0,0,1,9,11.5Zm9.74.32A5,5,0,0,0,15,3.5a1,1,0,0,0,0,2,3,3,0,0,1,3,3,3,3,0,0,1-1.5,2.59,1,1,0,0,0-.5.84,1,1,0,0,0,.45.86l.39.26.13.07a7,7,0,0,1,4,6.38,1,1,0,0,0,2,0A9,9,0,0,0,18.74,11.82Z" }));
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
+ }) })
23
+ })
24
+ });
25
+ }, d = i(!1);
11
26
  //#endregion
12
- export { t as UUsersAlt };
27
+ export { u as MoniteScopedProviders };
@@ -1,18 +1,8 @@
1
- import e from "@emotion/styled/base";
1
+ import { useMoniteContext as e } from "./index36.js";
2
2
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js
3
3
  function t() {
4
- return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
4
+ let { userPermissions: t } = e();
5
+ return t;
5
6
  }
6
- var n = /*#__PURE__*/ e("ul", process.env.NODE_ENV === "production" ? { target: "e10it8hw0" } : {
7
- target: "e10it8hw0",
8
- label: "ColumnList"
9
- })(process.env.NODE_ENV === "production" ? {
10
- name: "1932ye7",
11
- styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}"
12
- } : {
13
- name: "1932ye7",
14
- styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL2xpYnMvdGVzb3Vyby1lbWJlZGRlZC1jb21wb25lbnRzLXJlYWN0L21vbml0ZS1zZGsvc3JjL2NvbXBvbmVudHMvYXBwcm92YWxQb2xpY2llcy9BcHByb3ZhbFBvbGljaWVzVGFibGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVtQyIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9saWJzL3Rlc291cm8tZW1iZWRkZWQtY29tcG9uZW50cy1yZWFjdC9tb25pdGUtc2RrL3NyYy9jb21wb25lbnRzL2FwcHJvdmFsUG9saWNpZXMvQXBwcm92YWxQb2xpY2llc1RhYmxlL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuZXhwb3J0IGNvbnN0IENvbHVtbkxpc3QgPSBzdHlsZWQudWxgXG4gIG1hcmdpbjogMDtcbiAgcGFkZGluZzogMDtcbiAgbGlzdC1zdHlsZTogbm9uZTtcblxuICBsaSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBnYXA6IDRweDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB9XG5gO1xuIl19 */",
15
- toString: t
16
- });
17
7
  //#endregion
18
- export { n as ColumnList };
8
+ export { t as useUserPermissions };
@@ -1,21 +1,43 @@
1
- import { useApprovalPolicyScript as e } from "./index91.js";
2
- import { UUserSquare as t } from "./index92.js";
3
- import { UListUiAlt as n } from "./index141.js";
4
- import { UUserCircle as r } from "./index142.js";
5
- import { UUsersAlt as i } from "./index143.js";
6
- import { ColumnList as a } from "./index144.js";
7
- import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
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 "lucide-react";
6
+ import { jsx as n } from "@emotion/react/jsx-runtime";
7
+ import * as r from "@radix-ui/react-dropdown-menu";
8
8
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js
9
- var c = ({ approvalPolicy: c }) => {
10
- let { rules: l, getRuleName: u } = e({ approvalPolicy: c });
11
- return c ? /* @__PURE__ */ o(a, { children: l && Object.keys(l).map((e) => {
12
- switch (e) {
13
- case "single_user": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(r, { width: 18 }), u(e)] }, e);
14
- case "users_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(i, { width: 18 }), u(e)] }, e);
15
- case "roles_from_list": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(t, { width: 18 }), u(e)] }, e);
16
- case "approval_chain": return /* @__PURE__ */ s("li", { children: [/* @__PURE__ */ o(n, { width: 18 }), u(e)] }, e);
17
- }
18
- }) }) : null;
19
- };
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
+ }
20
42
  //#endregion
21
- export { c as ApprovalPoliciesRules };
43
+ export { i as DropdownMenu, o as DropdownMenuContent, s as DropdownMenuItem, a as DropdownMenuTrigger };
@@ -1,29 +1,51 @@
1
- import { APPROVAL_STATUS_TO_MUI_ICON_MAP as e, ROW_TO_STATUS_MUI_MAP as t, getRowToStatusTextMap as n } from "./index88.js";
2
- import { jsx as r } from "@emotion/react/jsx-runtime";
3
- import { Chip as i } from "@mui/material";
4
- import { useLingui as a } from "@lingui/react";
5
- import o from "@mui/icons-material/Circle";
6
- import { styled as s, useThemeProps as c } from "@mui/material/styles";
1
+ import * as e from "react";
2
+ import { cva as t } from "class-variance-authority";
7
3
  //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js
8
- var l = ({ ref: i, ...s }) => {
9
- let { status: l, icon: d, size: f, variant: p } = c({
10
- props: s,
11
- name: "MoniteApprovalStatusChip"
12
- }), { i18n: m } = a(), h = e[l];
13
- return /* @__PURE__ */ r(u, {
14
- className: "Monite-ApprovalStatusChip",
15
- ref: i,
16
- color: t[l],
17
- icon: d && h ? /* @__PURE__ */ r(h, { fontSize: "small" }) : /* @__PURE__ */ r(o, { sx: { fontSize: "10px" } }),
18
- label: n(m)[l],
19
- size: f,
20
- status: l,
21
- variant: p ?? "filled"
22
- });
23
- }, u = s(i, {
24
- name: "MoniteApprovalStatusChip",
25
- slot: "root",
26
- shouldForwardProp: () => !0
27
- })({});
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
+ }
28
50
  //#endregion
29
- export { l as ApprovalStatusChip, u as StyledChip };
51
+ export { i as Typography, n as typographyVariants };
@@ -1 +1,62 @@
1
- import "./index146.js";
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";
8
+ //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index147.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
+ ]
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]
59
+ });
60
+ };
61
+ //#endregion
62
+ export { d as DataGridEmptyState };