@tesouro/embedded-components-react 0.8.8 → 0.9.0

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 (233) hide show
  1. package/README.md +6 -15
  2. package/dist/index.css +0 -826
  3. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  4. package/package.json +1 -28
  5. package/dist/lib/monite-sdk.d.ts +0 -72191
  6. package/dist/lib/monite-sdk.js +0 -45
  7. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +0 -48
  8. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +0 -4
  9. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +0 -176
  10. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +0 -55
  11. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +0 -2
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +0 -3
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +0 -1
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +0 -2
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +0 -10
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +0 -55
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +0 -41
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +0 -73
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +0 -22
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +0 -41
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +0 -14
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +0 -3
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +0 -64
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +0 -172
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +0 -6
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +0 -2
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +0 -69
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +0 -1
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +0 -79
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +0 -52
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +0 -1
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +0 -35
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +0 -1
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +0 -58
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +0 -44
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +0 -1
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +0 -569
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +0 -1
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +0 -1
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +0 -160
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +0 -4
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -1
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +0 -27
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +0 -1
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +0 -12
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -12
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +0 -12
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +0 -18
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -21
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +0 -29
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +0 -1
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +0 -21
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +0 -26
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +0 -19
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +0 -71
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +0 -27
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +0 -8
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +0 -43
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +0 -51
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +0 -62
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +0 -1
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +0 -31
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +0 -166
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +0 -43
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +0 -6
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +0 -4
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +0 -2
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +0 -52
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +0 -81
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +0 -113
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +0 -7
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +0 -12
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +0 -12
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index16.js +0 -5
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +0 -20
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +0 -77
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +0 -1
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +0 -129
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +0 -1
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +0 -13
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +0 -56
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +0 -5
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +0 -19
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +0 -1
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index17.js +0 -45
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +0 -64
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +0 -122
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +0 -24
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +0 -8
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +0 -31
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +0 -9
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +0 -58
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +0 -75
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +0 -28
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +0 -1
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index18.js +0 -20
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +0 -61
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +0 -21
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +0 -22
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +0 -186
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +0 -1
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +0 -32
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +0 -3
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +0 -24
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +0 -77
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +0 -19
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +0 -21
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +0 -22
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +0 -8
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +0 -12
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +0 -13
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +0 -133
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +0 -8
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +0 -8
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +0 -5
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +0 -222
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +0 -34
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +0 -4
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index20.js +0 -10
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +0 -14
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +0 -36
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +0 -22
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +0 -76
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +0 -184
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +0 -16
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +0 -206
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +0 -102
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +0 -66
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +0 -57
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +0 -17
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +0 -94
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +0 -43
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +0 -79
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +0 -87
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +0 -14
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +0 -26
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +0 -17
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +0 -5
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +0 -24
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +0 -1
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +0 -92
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +0 -17
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +0 -32
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +0 -4
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +0 -23
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +0 -18
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +0 -33
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +0 -31
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +0 -2
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index23.js +0 -25
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +0 -8
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +0 -14
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +0 -9
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +0 -12
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +0 -5
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +0 -153
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +0 -46
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +0 -1
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +0 -12
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +0 -14
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +0 -14
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +0 -828
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index35.js +0 -23
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +0 -71
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +0 -8
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +0 -9
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +0 -8
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +0 -294
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +0 -8
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +0 -26
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +0 -8
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +0 -8
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +0 -4
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +0 -35
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +0 -11
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +0 -8
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +0 -10
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +0 -8
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +0 -53
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +0 -9
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +0 -1
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +0 -6
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +0 -8
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +0 -1
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +0 -21
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +0 -32
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.js +0 -12
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +0 -72
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +0 -54
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +0 -2314
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index60.js +0 -1
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index61.js +0 -21
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index62.js +0 -49
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index63.js +0 -18
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index64.js +0 -1
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +0 -48
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index66.js +0 -66
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index67.js +0 -36
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index68.js +0 -42
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index69.js +0 -24
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index7.js +0 -299
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index70.js +0 -14
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index71.js +0 -17
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index72.js +0 -56
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index73.js +0 -10
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index74.js +0 -26
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index75.js +0 -74
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index76.js +0 -82
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index77.js +0 -1
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +0 -10
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +0 -29
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +0 -15
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +0 -4
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +0 -19
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index82.js +0 -5
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index83.js +0 -2
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index84.js +0 -58
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index85.js +0 -12
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +0 -39
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +0 -1
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +0 -106
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +0 -1
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +0 -9
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +0 -56
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +0 -1
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index92.js +0 -55
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index93.js +0 -1
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +0 -55
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +0 -1
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +0 -16
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +0 -17
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +0 -153
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +0 -1224
@@ -1,828 +0,0 @@
1
- import { getTheme as e } from "./index22.js";
2
- import { getPrimaryColors as t } from "./index23.js";
3
- import { getSecondaryColors as n } from "./index24.js";
4
- import { getNeutralColors as r } from "./index25.js";
5
- import { getSeverityColors as i } from "./index26.js";
6
- import { getTextColors as a } from "./index27.js";
7
- import "./index28.js";
8
- import { getFormControlStyles as o } from "./index29.js";
9
- import "./index30.js";
10
- import { getErrorColors as s } from "./index31.js";
11
- import { getSuccessColors as c } from "./index32.js";
12
- import { getWarningColors as l } from "./index33.js";
13
- import u from "chroma-js";
14
- import { isPlainObject as d } from "@mui/utils";
15
- import "@mui/x-data-grid/themeAugmentation";
16
- //#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js
17
- function f(e, t) {
18
- if (e.includes(".")) {
19
- let n = t;
20
- if (e.split(".").forEach((e) => {
21
- n &&= n[e];
22
- }), n && typeof n == "string") return n;
23
- } else if (typeof t[e] == "string") return t[e];
24
- return e;
25
- }
26
- var p = [
27
- "color",
28
- "backgroundColor",
29
- "bgcolor",
30
- "borderColor",
31
- "borderRightColor",
32
- "borderLeftColor",
33
- "borderTopColor",
34
- "borderBottomColor",
35
- "fill",
36
- "--DataGrid-rowBorderColor"
37
- ];
38
- function m(e, t) {
39
- let n = Array.isArray(e) ? [] : {};
40
- return Object.keys(e).forEach((r) => {
41
- let i = r;
42
- if (!e.hasOwnProperty(i)) return;
43
- let a = e[i];
44
- typeof a == "string" && p.includes(r) ? n[i] = f(a, t) : d(a) || Array.isArray(a) ? n[i] = m(a, t) : n[i] = a;
45
- }), n;
46
- }
47
- var h = (d) => {
48
- let f = e(d), p = {
49
- primary: t(f.colors.primary, f.colors.primaryForeground),
50
- secondary: n(f.colors.secondary),
51
- neutral: r(f.colors.neutral),
52
- info: i(f.colors.info),
53
- success: c(f.colors.success),
54
- warning: l(f.colors.warning),
55
- error: s(f.colors.error),
56
- background: {
57
- default: f.colors.background,
58
- paper: "#ffffff"
59
- },
60
- text: a(f.colors.text),
61
- divider: r(f.colors.neutral)[80]
62
- }, h = {
63
- black: {
64
- color: "#292929",
65
- backgroundColor: "#F2F2F2"
66
- },
67
- blue: {
68
- color: "#3737FF",
69
- backgroundColor: "#F4F4FE"
70
- },
71
- violet: {
72
- color: "#A06DC8",
73
- backgroundColor: "#FBF1FC"
74
- },
75
- green: {
76
- color: "#0DAA8E",
77
- backgroundColor: "#EEFBF9"
78
- },
79
- orange: {
80
- color: "#E27E46",
81
- backgroundColor: "#FFF5EB"
82
- },
83
- red: {
84
- color: "#CC394B",
85
- backgroundColor: "#FFE0E4"
86
- }
87
- }, g = {
88
- fontFamily: f.typography.fontFamily,
89
- fontSize: f.typography.fontSize,
90
- fontWeightMedium: 400,
91
- fontWeightBold: 500,
92
- h1: {
93
- fontSize: f.typography.h1.fontSize,
94
- fontWeight: f.typography.h1.fontWeight,
95
- lineHeight: f.typography.h1.lineHeight,
96
- textTransform: f.typography.h1.textTransform,
97
- color: p.text.primary
98
- },
99
- h2: {
100
- fontSize: f.typography.h2.fontSize,
101
- fontWeight: f.typography.h2.fontWeight,
102
- lineHeight: f.typography.h2.lineHeight,
103
- textTransform: f.typography.h2.textTransform,
104
- color: p.text.primary
105
- },
106
- h3: {
107
- fontSize: f.typography.h3.fontSize,
108
- fontWeight: f.typography.h3.fontWeight,
109
- lineHeight: f.typography.h3.lineHeight,
110
- textTransform: f.typography.h3.textTransform,
111
- color: p.text.primary
112
- },
113
- subtitle1: {
114
- fontSize: f.typography.subtitle1.fontSize,
115
- fontWeight: f.typography.subtitle1.fontWeight,
116
- lineHeight: f.typography.subtitle1.lineHeight,
117
- textTransform: f.typography.subtitle1.textTransform
118
- },
119
- subtitle2: {
120
- fontSize: f.typography.subtitle2.fontSize,
121
- fontWeight: f.typography.subtitle2.fontWeight,
122
- lineHeight: f.typography.subtitle2.lineHeight,
123
- textTransform: f.typography.subtitle2.textTransform
124
- },
125
- body1: {
126
- fontSize: f.typography.body1?.fontSize,
127
- fontWeight: f.typography.body1?.fontWeight,
128
- lineHeight: f.typography.body1?.lineHeight
129
- },
130
- body2: {
131
- fontSize: f.typography.body2?.fontSize,
132
- fontWeight: f.typography.body2?.fontWeight,
133
- lineHeight: f.typography.body2?.lineHeight,
134
- color: "rgba(0, 0, 0, 0.56)"
135
- },
136
- caption: {
137
- fontSize: "1rem",
138
- fontWeight: 500
139
- },
140
- overline: {
141
- fontSize: "1.5rem",
142
- lineHeight: 1
143
- },
144
- button: {
145
- textTransform: "none",
146
- fontWeight: 500
147
- }
148
- }, _ = Object.assign({}, g, {}), v = "160px", y = m({
149
- MuiAlert: { styleOverrides: { root: {
150
- borderRadius: ".5em",
151
- "&.MuiAlert-colorInfo": {
152
- backgroundColor: u(p.info.main).alpha(.05).hex(),
153
- ".MuiAlert-icon, .MuiAlert-message": { color: p.info.main }
154
- },
155
- "&.MuiAlert-colorSuccess": {
156
- backgroundColor: u(p.success.main).alpha(.05).hex(),
157
- ".MuiAlert-icon, .MuiAlert-message": { color: p.success.main }
158
- },
159
- "&.MuiAlert-colorWarning": {
160
- backgroundColor: u(p.warning.main).alpha(.05).hex(),
161
- ".MuiAlert-icon, .MuiAlert-message": { color: p.warning.main }
162
- },
163
- "&.MuiAlert-colorError": {
164
- backgroundColor: u(p.error.main).alpha(.05).hex(),
165
- ".MuiAlert-icon, .MuiAlert-message": { color: p.error.main }
166
- }
167
- } } },
168
- MuiTypography: { styleOverrides: { root: {
169
- "&.Monite-SummaryCard-StatusTypography": { fontSize: 14 },
170
- "&.Monite-SummaryCard-AmountTypography": {
171
- fontSize: 20,
172
- marginTop: 4
173
- }
174
- } } },
175
- MuiFormLabel: { styleOverrides: { root: { "&.Mui-disabled": { color: "black" } } } },
176
- MuiInputLabel: {
177
- defaultProps: { shrink: !0 },
178
- styleOverrides: {
179
- root: {
180
- fontSize: "14px",
181
- transform: "none",
182
- position: "static",
183
- color: "black",
184
- minHeight: "28px",
185
- "&.Mui-disabled": { color: "black" }
186
- },
187
- asterisk: {
188
- color: h.red.color,
189
- transform: "scale(2) translate(6px, 2px)",
190
- display: "inline-block",
191
- width: "20px"
192
- }
193
- }
194
- },
195
- MuiInputBase: { styleOverrides: { root: {
196
- fontWeight: 400,
197
- borderRadius: f.borderRadius * 2.67,
198
- minHeight: "40px",
199
- border: "1px solid transparent",
200
- "&:before, &:after": {
201
- display: "none",
202
- content: "none",
203
- visibility: "hidden"
204
- },
205
- "& .MuiInputBase-input": {
206
- height: "40px",
207
- lineHeight: "40px",
208
- padding: "0 14px",
209
- boxSizing: "border-box"
210
- },
211
- "& .MuiInputBase-inputAdornedStart": {
212
- display: "flex",
213
- alignItems: "center"
214
- }
215
- } } },
216
- MuiOutlinedInput: { styleOverrides: {
217
- notchedOutline: { borderColor: "neutral.80" },
218
- root: { "&.Mui-disabled .MuiOutlinedInput-notchedOutline, .MuiOutlinedInput-notchedOutline": { borderColor: "neutral.80" } }
219
- } },
220
- MuiFormControl: o(p, d, v),
221
- MuiSelect: { styleOverrides: { root: {
222
- "&.Monite-NakedField": {
223
- "& .MuiSelect-select": { paddingLeft: "0" },
224
- "& .MuiOutlinedInput-notchedOutline": { borderStyle: "none" }
225
- },
226
- "&.Monite-RecipientSelector": {
227
- "& .MuiChip-root": {
228
- backgroundColor: "transparent",
229
- borderColor: "divider",
230
- borderWidth: "1px",
231
- borderStyle: "solid",
232
- padding: "7px 8px",
233
- "& .MuiChip-label": { color: "text.primary" }
234
- },
235
- "& .MuiSelect-icon": {
236
- backgroundColor: "primary.80",
237
- borderRadius: f.borderRadius * 2.67,
238
- width: "32px",
239
- height: "32px",
240
- transform: "translate(7px, -2px)",
241
- path: {
242
- fill: "primary.main",
243
- transform: "scale(0.6) translate(8px, 8px)"
244
- }
245
- }
246
- }
247
- } } },
248
- MuiStack: { styleOverrides: { root: { "&.Monite-Filters": {
249
- backgroundColor: f.colors.background,
250
- padding: f.spacing * 1.8,
251
- marginBottom: 0,
252
- "& > *": {
253
- flexBasis: "fit-content",
254
- flexGrow: 1
255
- },
256
- "& .Monite-Filters-Group": { marginLeft: "16px" }
257
- } } } },
258
- MuiFormControlLabel: { styleOverrides: {
259
- root: {
260
- "&.MuiFormControlLabel-labelPlacementEnd": {
261
- alignItems: "flex-start",
262
- ".MuiFormControlLabel-label": { padding: "9px 0" }
263
- },
264
- "&.Monite-FilterControl": {
265
- marginLeft: 0,
266
- marginRight: 0,
267
- alignItems: "center",
268
- width: "auto",
269
- "& .MuiTypography-root": {
270
- fontSize: "14px",
271
- lineHeight: "20px"
272
- }
273
- }
274
- },
275
- label: {
276
- fontWeight: 400,
277
- fontSize: "16px",
278
- lineHeight: "24px"
279
- }
280
- } },
281
- MuiAutocomplete: { styleOverrides: {
282
- root: {
283
- "& > .MuiFormControl-root > .MuiInputBase-root": {
284
- paddingTop: 0,
285
- paddingBottom: 0
286
- },
287
- "& .MuiInput-root .MuiInput-input, & .MuiInput-root.MuiInputBase-sizeSmall": { padding: "0 14px" },
288
- "& > .Monite-Selector": {
289
- "& > .MuiInputBase-root": {
290
- border: "1px solid transparent",
291
- "&:hover": { "&:not(.Mui-disabled):not(.Mui-focused)": { boxShadow: `0 0 0 4px ${u(p.primary.main).alpha(.24).hex()}` } },
292
- "& > .MuiInputAdornment-root": {
293
- "&.MuiInputAdornment-positionStart": { marginRight: "16px" },
294
- "&.MuiInputAdornment-positionEnd": {
295
- marginLeft: "0",
296
- "& + input:not(:placeholder-shown)": { opacity: 0 },
297
- "& + input::placeholder": { color: "rgba(184, 184, 184, 1)" }
298
- }
299
- },
300
- "&.MuiInputBase-adornedStart.MuiInputBase-formControl": {
301
- padding: "16px",
302
- height: "70px",
303
- lineHeight: "70px",
304
- backgroundColor: "transparent",
305
- "&.Mui-focused > .MuiOutlinedInput-notchedOutline": { borderColor: "transparent" }
306
- },
307
- "&:hover > .MuiOutlinedInput-notchedOutline": { borderColor: "#dedede" },
308
- "& > .MuiOutlinedInput-notchedOutline": {
309
- top: 0,
310
- "> legend": { display: "none" }
311
- }
312
- },
313
- "& > .MuiFormLabel-root": {
314
- fontSize: "1.25rem",
315
- paddingBottom: "1rem",
316
- "& > .MuiInputLabel-asterisk": { display: "none" }
317
- },
318
- "&.isSimplified": {
319
- marginBottom: "2rem",
320
- background: "transparent",
321
- "& > .MuiInputBase-root": { paddingRight: "1rem" },
322
- "& > .MuiInputLabel-root": {
323
- fontSize: "14px",
324
- color: "rgba(112, 112, 112, 1)",
325
- paddingBottom: "0",
326
- "&::after": {
327
- content: "\"●\"",
328
- position: "relative",
329
- bottom: "2px",
330
- left: "4px",
331
- color: "rgba(255, 71, 93, 1)"
332
- }
333
- },
334
- "& > .MuiInputLabel-root > .MuiFormLabel-asterisk": { display: "none" }
335
- }
336
- },
337
- "& > .Item-Selector > .MuiInputBase-root.MuiInputBase-formControl.MuiAutocomplete-inputRoot": {
338
- paddingRight: "1em",
339
- "&.MuiInputBase-adornedStart.MuiInputBase-formControl": {
340
- padding: "8px 12px",
341
- height: "40px",
342
- lineHeight: "40px"
343
- }
344
- },
345
- "&.Monite-FilterControl": {
346
- height: "40px",
347
- minHeight: "40px",
348
- maxHeight: "40px",
349
- maxWidth: v,
350
- width: "100%"
351
- },
352
- "&.Monite-Label-Hidden .MuiInputLabel-root.MuiFormLabel-root": { display: "none" }
353
- },
354
- popper: { paddingTop: "0.5rem" }
355
- } },
356
- MuiTextField: {
357
- defaultProps: { InputLabelProps: { shrink: !0 } },
358
- styleOverrides: { root: {
359
- "&.Monite-NakedField": {
360
- "& .MuiInputBase-root": {
361
- minHeight: "32px",
362
- padding: 0,
363
- "& .MuiInputBase-input": {
364
- height: "32px",
365
- lineHeight: "32px",
366
- padding: 0
367
- },
368
- "& .MuiOutlinedInput-notchedOutline": { borderStyle: "none" }
369
- },
370
- "& .MuiFormHelperText-root.Mui-error": { marginLeft: 0 }
371
- },
372
- "&.Monite-AiSearchField": { "& .MuiInputBase-root": {
373
- paddingRight: "12px",
374
- "& .MuiInputBase-input": { "&::placeholder": {
375
- opacity: .88,
376
- fontWeight: 500,
377
- fontSize: "14px",
378
- lineHeight: "16px",
379
- padding: "16px 10px"
380
- } },
381
- "& .MuiOutlinedInput-notchedOutline": { borderStyle: "none" }
382
- } }
383
- } }
384
- },
385
- MuiDrawer: { variants: [{
386
- props: { variant: "permanent" },
387
- style: {
388
- backgroundColor: "menu.background",
389
- "& .MuiPaper-root": {
390
- backgroundColor: "menu.background",
391
- borderRight: 0
392
- }
393
- }
394
- }] },
395
- MuiList: { styleOverrides: { root: { "&.NavigationList": {
396
- margin: "0px 12px",
397
- "& .MuiListItem-root": {
398
- marginTop: 8,
399
- "& .Mui-selected": { "& span": { color: "secondary.dark" } }
400
- },
401
- ".MuiListItemButton-root": {
402
- borderRadius: f.borderRadius * 2,
403
- padding: "8px 12px"
404
- },
405
- ".MuiListItemIcon-root": { minWidth: 25 },
406
- ".MuiListItemIcon-root .MuiSvgIcon-root": {
407
- width: "20px",
408
- height: "20px",
409
- marginRight: "5px"
410
- },
411
- ".MuiCollapse-root": {
412
- marginTop: -8,
413
- marginLeft: 12
414
- },
415
- "& .MuiSvgIcon-root": {
416
- color: "secondary.dark",
417
- "& > path": { color: "secondary.dark" }
418
- }
419
- } } } },
420
- MuiButtonBase: { defaultProps: { disableRipple: !0 } },
421
- MuiButton: { styleOverrides: {
422
- root: {
423
- maxHeight: "48px",
424
- "&.ThemeSelect": { borderRadius: f.borderRadius },
425
- "&.ThemeSelect .ThemeSelect-modeLabel": { display: "flex" },
426
- "&.MuiButton-sizeSmall": { fontSize: "14px" },
427
- "&.Monite-withShadow, &.Monite-withShadow:hover": { boxShadow: "0px 1px 1px 0px rgba(0, 0, 0, 0.1)" }
428
- },
429
- containedPrimary: {
430
- padding: ".75em 1.25em",
431
- backgroundColor: "primary.main",
432
- lineHeight: "1.4",
433
- borderRadius: f.buttonBorderRadius,
434
- boxShadow: "none",
435
- "&:hover": {
436
- backgroundColor: "primary.60",
437
- borderRadius: f.buttonBorderRadius,
438
- boxShadow: "none"
439
- },
440
- "&:active": {
441
- backgroundColor: "primary.dark",
442
- borderRadius: f.buttonBorderRadius,
443
- boxShadow: "none"
444
- },
445
- "&:disabled": {
446
- color: "neutral.70",
447
- backgroundColor: "neutral.90",
448
- borderColor: "neutral.90",
449
- boxShadow: "none"
450
- }
451
- },
452
- outlinedPrimary: {
453
- padding: ".75em 1.25em",
454
- color: "primary.30",
455
- backgroundColor: "primary.90",
456
- border: "none",
457
- borderRadius: f.buttonBorderRadius,
458
- boxShadow: "none",
459
- "&:hover": {
460
- backgroundColor: "primary.80",
461
- border: "none",
462
- boxShadow: "none"
463
- },
464
- "&:active": {
465
- backgroundColor: "primary.70",
466
- border: "none",
467
- boxShadow: "none"
468
- },
469
- "&:disabled": {
470
- color: "neutral.70",
471
- backgroundColor: "neutral.90",
472
- border: "none",
473
- boxShadow: "none"
474
- }
475
- },
476
- textPrimary: {
477
- padding: ".75em 1.25em",
478
- color: "primary.30",
479
- backgroundColor: "transparent",
480
- border: "none",
481
- boxShadow: "none",
482
- "&:hover": {
483
- backgroundColor: "primary.90",
484
- border: "none",
485
- boxShadow: "none"
486
- },
487
- "&:active": {
488
- backgroundColor: "primary.70",
489
- border: "none",
490
- boxShadow: "none"
491
- },
492
- "&:disabled": {
493
- color: "neutral.70",
494
- backgroundColor: "neutral.90",
495
- border: "none",
496
- boxShadow: "none"
497
- }
498
- }
499
- } },
500
- MuiPopover: { styleOverrides: { paper: {
501
- border: "none",
502
- width: 240
503
- } } },
504
- MuiPopper: { defaultProps: { disablePortal: !0 } },
505
- MuiChip: { styleOverrides: {
506
- root: {
507
- backgroundColor: "primary.light",
508
- borderRadius: f.borderRadius * 1.33,
509
- color: "primary.main",
510
- fontSize: "14px",
511
- lineHeight: "16px",
512
- fontWeight: 500,
513
- padding: "7px 8px",
514
- "& .MuiChip-avatar": {
515
- marginLeft: 0,
516
- marginRight: "4px"
517
- },
518
- gap: 8
519
- },
520
- label: { padding: "0" },
521
- deleteIcon: { margin: "0 -2px 0 6px" }
522
- } },
523
- MuiDataGrid: {
524
- defaultProps: {
525
- columnHeaderHeight: 55,
526
- rowHeight: 48,
527
- density: "standard"
528
- },
529
- styleOverrides: {
530
- root: {
531
- color: p.text.primary,
532
- backgroundColor: p.background.default,
533
- borderTopLeftRadius: 0,
534
- borderTopRightRadius: 0,
535
- borderWidth: 0,
536
- borderBottomLeftRadius: f.borderRadius * 2,
537
- borderBottomRightRadius: f.borderRadius * 2,
538
- "--DataGrid-rowBorderColor": f.colors.rowBorder,
539
- "--DataGrid-containerBackground": f.colors.background,
540
- "& .MuiDataGrid-withBorderColor": { borderColor: "divider" },
541
- "&.MuiDataGrid-withBorderColor": { borderColor: "divider" },
542
- "& div[role=\"presentation\"] + .MuiDataGrid-cell, & div[role=\"presentation\"] + .MuiDataGrid-columnHeader": {
543
- borderLeftStyle: "none",
544
- borderLeftWidth: "0"
545
- }
546
- },
547
- columnHeader: {
548
- overflow: "visible",
549
- borderLeftStyle: "solid",
550
- borderLeftWidth: "0px",
551
- borderLeftColor: "divider",
552
- padding: "0 15.5px",
553
- background: f.colors.background,
554
- "& .MuiDataGrid-columnHeaderTitle": {
555
- color: p.text,
556
- fontWeight: 600,
557
- fontSize: "14px",
558
- lineHeight: "17.57px"
559
- }
560
- },
561
- columnSeparator: { border: 0 },
562
- cell: {
563
- "&[role=\"gridcell\"]": {
564
- borderLeftStyle: "solid",
565
- borderLeftWidth: "0px",
566
- borderLeftColor: "divider"
567
- },
568
- "&.Monite-Cell-Highlight": { color: "neutral.10" },
569
- ".MuiDataGrid-cellOffsetLeft + &": {
570
- borderLeftStyle: "none",
571
- borderLeftWidth: "0"
572
- },
573
- padding: "0 12px",
574
- fontWeight: 400,
575
- fontSize: "15px",
576
- "&[data-field=\"counterpart_id\"], &[data-field=\"counterpart_name\"], &[data-field=\"was_created_by_user_id\"]": { ".MuiChip-root": { paddingLeft: 0 } },
577
- "&[data-field=\"actions\"]": { textOverflow: "clip" },
578
- "& .Monite-TextOverflowContainer": {
579
- display: "block",
580
- whiteSpace: "nowrap",
581
- overflow: "hidden",
582
- textOverflow: "ellipsis"
583
- },
584
- "&:focus": { outline: "none" },
585
- "& .MuiChip-label": {
586
- fontWeight: 600,
587
- fontSize: "13px",
588
- letterSpacing: "0.098px"
589
- }
590
- },
591
- footerContainer: {
592
- padding: "8px 0",
593
- "& .Monite-RowsPerPageSelector div[role=\"combobox\"]": {
594
- lineHeight: "40px",
595
- fontSize: "13px",
596
- color: "text.secondary"
597
- },
598
- "& .Monite-TablePagination-PreviousPageButton": {
599
- padding: "8px",
600
- border: "1px solid",
601
- borderColor: "neutral.80",
602
- borderRadius: "4px",
603
- marginRight: "6px"
604
- },
605
- "& .Monite-TablePagination-NextPageButton": {
606
- padding: "8px",
607
- border: "1px solid",
608
- borderColor: "neutral.80",
609
- borderRadius: "4px"
610
- }
611
- }
612
- }
613
- },
614
- MuiTableHead: { styleOverrides: { root: { "& .MuiTableCell-head": {
615
- fontWeight: 500,
616
- color: "neutral.50",
617
- verticalAlign: "bottom"
618
- } } } },
619
- MuiTableRow: { styleOverrides: { root: {
620
- "&:not(.Monite-CreateReceivable-ItemsSection-Table) .MuiTableCell-root": { borderColor: "neutral.80" },
621
- "&.Monite-CreateReceivable-ItemsSection-Table": {
622
- ".MuiTableCell-root": {
623
- borderBottom: "none",
624
- padding: "8px 12px 8px 0",
625
- "& .MuiFormControl-root .MuiInputBase-root": { backgroundColor: "#fff" }
626
- },
627
- "th.MuiTableCell-root": { padding: "0 12px 0 0" },
628
- "+ .MuiTableRow-root .MuiTableCell-root": { paddingLeft: 0 }
629
- },
630
- "&:last-child .MuiTableCell-body": { borderBottom: "none" }
631
- } } },
632
- MuiTabs: { styleOverrides: {
633
- root: {
634
- borderBottom: "1px solid",
635
- borderColor: "neutral.80",
636
- minHeight: "unset",
637
- "& .MuiTab-root": {
638
- backgroundColor: "transparent",
639
- color: "text.primary",
640
- padding: "16px",
641
- minHeight: "unset",
642
- boxSizing: "border-box",
643
- textTransform: "none",
644
- "&:hover": { backgroundColor: "transparent" },
645
- "&:active": { backgroundColor: "transparent" }
646
- },
647
- "& .MuiTab-root.Mui-selected": {
648
- backgroundColor: "transparent",
649
- color: "text.primary",
650
- "&:hover": { backgroundColor: "transparent" },
651
- "&:active": { backgroundColor: "transparent" }
652
- }
653
- },
654
- indicator: {
655
- borderRadius: 10,
656
- backgroundColor: p.primary.main,
657
- height: "4px"
658
- }
659
- } },
660
- MuiCard: { styleOverrides: { root: {
661
- "&.Monite-SummaryCard": {
662
- display: "flex",
663
- borderRadius: f.borderRadius * 1.67,
664
- backgroundColor: p.background.default,
665
- outline: "3px solid",
666
- outlineColor: "transparent",
667
- border: "1px solid",
668
- borderColor: p.neutral[90],
669
- transition: "border-color 0.1s ease-in-out, outline-color 0.2s ease-in-out",
670
- boxShadow: "none"
671
- },
672
- "&.Monite-SummaryCard-selected, &.Monite-SummaryCard:hover, &.Monite-SummaryCard:active, &.Monite-SummaryCard:focus": {
673
- borderColor: p.primary.main,
674
- borderWidth: "1px",
675
- outlineColor: p.primary[80]
676
- },
677
- "&.Monite-SummaryCard-all": { minWidth: "118px" }
678
- } } },
679
- MuiCardContent: { styleOverrides: { root: { padding: "24px 32px" } } },
680
- MuiPaper: { styleOverrides: {
681
- root: {
682
- backgroundImage: "none",
683
- borderRadius: f.borderRadius * 2.67,
684
- borderColor: "neutral.80"
685
- },
686
- elevation: { "&.MuiTableContainer-root": { boxShadow: "none" } }
687
- } },
688
- MuiDialog: { styleOverrides: { root: { backgroundImage: "none" } } },
689
- MuiDialogActions: { styleOverrides: { root: { padding: "1em 1.5em" } } },
690
- MuiDialogTitle: { styleOverrides: { root: { "&.MuiTypography-h6": {
691
- padding: "12px 24px",
692
- ".MuiToolbar-root": { padding: "0 0 0 16px" }
693
- } } } },
694
- MuiDialogContent: { styleOverrides: { root: {
695
- margin: 0,
696
- padding: "24px 32px 40px",
697
- "> form": {
698
- maxWidth: "min(940px, 100%)",
699
- margin: "0 auto"
700
- }
701
- } } },
702
- MuiFormHelperText: { styleOverrides: { root: {
703
- fontSize: "12px",
704
- maxWidth: "100%",
705
- overflow: "hidden",
706
- textOverflow: "ellipsis"
707
- } } },
708
- MuiSwitch: { styleOverrides: { root: {
709
- width: "55px",
710
- height: "40px",
711
- "& > .MuiButtonBase-root.Mui-checked": { left: "-10px" },
712
- "& > .MuiSwitch-track": {
713
- height: "20px",
714
- position: "relative",
715
- bottom: "3px",
716
- width: "40px",
717
- left: "-2px",
718
- borderRadius: "12px"
719
- },
720
- "& > .MuiSwitch-switchBase.Mui-checked": {
721
- transform: "translateX(25px)",
722
- "&::after": {
723
- content: "\"\"",
724
- position: "absolute",
725
- top: "12px",
726
- left: "11px",
727
- width: "16px",
728
- height: "16px",
729
- color: "#fff",
730
- backgroundImage: "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'><path d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>\")",
731
- backgroundSize: "contain",
732
- backgroundRepeat: "no-repeat"
733
- }
734
- },
735
- "& > .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track": {
736
- background: "rgba(203, 203, 254, 1)",
737
- opacity: 1
738
- },
739
- "& > .MuiSwitch-input": { left: 0 }
740
- } } },
741
- MoniteTablePagination: {
742
- defaultProps: { paginationLayout: "default" },
743
- styleOverrides: { root: {} }
744
- },
745
- MoniteApprovalRequestStatusChip: { defaultProps: {
746
- icon: f.components.approvalRequestStatusChip.icon,
747
- size: f.components.approvalRequestStatusChip.size,
748
- variant: f.components.approvalRequestStatusChip.variant
749
- } },
750
- MoniteInvoiceRecurrenceStatusChip: { defaultProps: {
751
- icon: f.components.invoiceRecurrenceStatusChip.icon,
752
- size: f.components.invoiceRecurrenceStatusChip.size,
753
- variant: f.components.invoiceRecurrenceStatusChip.variant
754
- } },
755
- MoniteInvoiceRecurrenceIterationStatusChip: { defaultProps: {
756
- icon: f.components.invoiceRecurrenceIterationStatusChip.icon,
757
- size: f.components.invoiceRecurrenceIterationStatusChip.size,
758
- variant: f.components.invoiceRecurrenceIterationStatusChip.variant
759
- } },
760
- MoniteInvoiceStatusChip: {
761
- defaultProps: {
762
- icon: f.components.invoiceStatusChip.icon,
763
- size: f.components.invoiceStatusChip.size,
764
- variant: f.components.invoiceStatusChip.variant
765
- },
766
- styleOverrides: { root: { fontSize: "13px" } },
767
- variants: [
768
- {
769
- props: { status: "draft" },
770
- style: h.black
771
- },
772
- {
773
- props: { status: "issued" },
774
- style: h.blue
775
- },
776
- {
777
- props: { status: "accepted" },
778
- style: h.green
779
- },
780
- {
781
- props: { status: "expired" },
782
- style: h.red
783
- },
784
- {
785
- props: { status: "declined" },
786
- style: h.red
787
- },
788
- {
789
- props: { status: "recurring" },
790
- style: h.green
791
- },
792
- {
793
- props: { status: "partially_paid" },
794
- style: h.violet
795
- },
796
- {
797
- props: { status: "paid" },
798
- style: h.green
799
- },
800
- {
801
- props: { status: "overdue" },
802
- style: h.orange
803
- },
804
- {
805
- props: { status: "uncollectible" },
806
- style: h.red
807
- },
808
- {
809
- props: { status: "canceled" },
810
- style: h.orange
811
- },
812
- {
813
- props: { status: "deleted" },
814
- style: h.black
815
- }
816
- ]
817
- }
818
- }, p);
819
- return {
820
- spacing: f.spacing,
821
- palette: p,
822
- shape: { borderRadius: f.borderRadius },
823
- typography: _,
824
- components: y
825
- };
826
- };
827
- //#endregion
828
- export { h as getTheme };