@tesouro/embedded-components-react 0.2.107 → 0.2.108

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 (432) hide show
  1. package/dist/index.css +6 -0
  2. package/dist/lib/ReceivablesWidget.js +24 -24
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +2 -2
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +148 -35
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +59 -5
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +7 -0
  7. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
  8. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
  11. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +22 -22
  12. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
  13. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
  14. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
  16. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
  17. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
  18. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
  19. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
  22. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +2 -24
  23. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -23
  24. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -2
  25. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
  26. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +8 -2
  27. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +22 -29
  28. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -35
  29. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +46 -4
  30. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +76 -2
  31. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +58 -25
  32. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +192 -1266
  33. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +12 -10
  34. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +14 -9
  35. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +38 -12
  36. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
  37. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +25 -7
  38. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +80 -24
  39. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -9
  40. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +76 -42
  41. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +28 -75
  42. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +60 -54
  43. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +41 -196
  44. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +7 -12
  45. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +5 -14
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +115 -36
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +68 -24
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +189 -81
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +29 -7
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +106 -75
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +136 -28
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +18 -62
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +20 -41
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +23 -7
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +27 -5
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +183 -118
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +11 -68
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +20 -188
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +49 -30
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +4 -111
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +5 -137
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +88 -20
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +35 -19
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +4 -19
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +44 -24
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +50 -183
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +204 -12
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +423 -18
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +22 -48
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +27 -4
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +13 -5
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +20 -88
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +19 -35
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -8
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +10 -45
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +17 -45
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +74 -203
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +6 -427
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +20 -22
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +27 -76
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +117 -6
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +70 -33
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +33 -32
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +15 -12
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +14 -12
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +12 -26
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +22 -13
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +10 -12
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +9 -121
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +34 -11
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +4 -49
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +2 -49
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +25 -14
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1269 -44
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +32 -15
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +11 -10
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +12 -152
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +24 -55
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +13 -70
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +10 -27
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +121 -3
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -97
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +49 -57
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +45 -23
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +12 -11
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +43 -17
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +11 -21
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +152 -2
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +56 -11
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +71 -22
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +26 -19
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +3 -27
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +87 -105
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +57 -70
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +25 -13
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +96 -12
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +99 -24
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +14 -92
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +11 -98
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -16
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +32 -13
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +12 -13
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +36 -7
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +50 -34
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +34 -60
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +66 -398
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +337 -60
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +2 -2
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +19 -406
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +13 -100
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +14 -26
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +14 -6
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +14 -12
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +21 -7
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +36 -9
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +32 -209
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +15 -10
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +16 -11
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +248 -12
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +12 -2
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +17 -34
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +26 -51
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +40 -34
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +58 -66
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +51 -345
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +30 -2
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +97 -19
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +45 -12
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +144 -11
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +106 -11
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +100 -13
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +26 -21
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +6 -37
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +12 -37
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +7 -15
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +10 -17
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +209 -243
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +10 -12
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +12 -19
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +12 -26
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +43 -36
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +27 -56
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +5 -52
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +75 -28
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +32 -98
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +19 -46
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +136 -137
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +86 -109
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +22 -142
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +60 -86
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +397 -25
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +68 -46
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +2 -29
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +407 -5
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +22 -77
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +57 -32
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +29 -20
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +60 -22
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +17 -54
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +66 -28
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +2 -60
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +7 -20
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +31 -487
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +17 -161
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +44 -42
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +73 -62
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +149 -31
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +10 -114
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +19 -22
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +30 -32
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +58 -53
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +31 -14
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +111 -77
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +22 -77
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +41 -41
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +56 -72
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +20 -62
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +40 -25
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +13 -126
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +80 -44
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +41 -149
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +347 -10
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +301 -17
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +97 -59
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +160 -41
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +263 -21
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +23 -139
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +18 -110
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +488 -79
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +160 -277
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +75 -47
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +44 -15
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +62 -85
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +25 -222
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +127 -39
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +159 -10
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +27 -10
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +28 -10
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +78 -12
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +2 -7
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +96 -2
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +95 -39
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +190 -345
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +27 -296
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +59 -97
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +41 -160
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +21 -263
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +139 -23
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +110 -18
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +82 -2
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +282 -93
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +48 -96
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +15 -192
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +84 -20
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +223 -16
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +37 -17
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +11 -171
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +9 -132
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +8 -159
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +11 -11
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +6 -18
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +2 -63
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +91 -63
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +16 -59
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +83 -6
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +17 -11
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +46 -58
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +10 -22
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +48 -61
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +20 -14
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +27 -93
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +41 -16
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +59 -81
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +96 -17
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +110 -48
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +86 -10
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +21 -49
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +17 -159
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +19 -28
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +169 -27
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +132 -76
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +158 -63
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -19
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +18 -42
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +60 -21
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +64 -30
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +58 -18
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +6 -28
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +6 -37
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +58 -59
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +22 -94
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +59 -108
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +14 -88
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +1 -1
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +2 -2
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -1
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +5 -5
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +1 -1
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +10 -255
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +10 -9
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +255 -11
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +11 -7
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +12 -50
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +22 -16
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +47 -120
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +6 -17
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +54 -16
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +18 -16
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +69 -16
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +47 -16
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
  312. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +25 -70
  313. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +22 -16
  314. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +32 -16
  315. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +28 -16
  316. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +38 -11
  317. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +112 -64
  318. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +18 -68
  319. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -39
  320. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -2
  321. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -10
  322. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
  323. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
  324. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -67
  325. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +93 -19
  326. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +31 -21
  327. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +23 -26
  328. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +72 -32
  329. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -32
  330. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +16 -85
  331. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +16 -24
  332. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +11 -11
  333. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +5 -105
  334. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
  335. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +30 -110
  336. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +4 -15
  337. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +125 -22
  338. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +20 -48
  339. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +65 -30
  340. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +18 -4
  341. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +20 -126
  342. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +16 -12
  343. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +18 -64
  344. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +12 -94
  345. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
  346. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +66 -37
  347. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +21 -35
  348. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +2 -29
  349. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +9 -23
  350. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +32 -38
  351. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +85 -8
  352. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +23 -21
  353. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +103 -17
  354. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +110 -19
  355. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +12 -16
  356. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
  357. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +28 -20
  358. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +23 -13
  359. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +38 -20
  360. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +75 -5
  361. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +65 -66
  362. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +35 -43
  363. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +53 -27
  364. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +35 -28
  365. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +23 -66
  366. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +31 -54
  367. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
  368. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +8 -41
  369. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -34
  370. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +66 -23
  371. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +56 -53
  372. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +39 -34
  373. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +17 -71
  374. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +31 -83
  375. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +92 -51
  376. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +14 -52
  377. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +74 -54
  378. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
  379. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +21 -29
  380. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +9 -57
  381. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +54 -37
  382. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +69 -44
  383. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +21 -72
  384. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +19 -21
  385. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +48 -50
  386. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +57 -81
  387. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +32 -39
  388. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +80 -17
  389. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
  390. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +39 -95
  391. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +30 -16
  392. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +54 -75
  393. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +41 -20
  394. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +37 -9
  395. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +14 -32
  396. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +72 -41
  397. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +84 -35
  398. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +52 -13
  399. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +51 -16
  400. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
  401. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +53 -49
  402. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +35 -54
  403. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +44 -30
  404. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +48 -49
  405. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
  406. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
  407. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +48 -20
  408. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
  409. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -47
  410. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +18 -38
  411. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
  412. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
  413. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
  414. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
  415. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
  416. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
  417. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
  418. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
  419. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
  420. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
  421. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
  422. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  423. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
  424. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
  425. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
  426. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
  427. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
  428. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
  429. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  430. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +24 -24
  431. package/package.json +1 -1
  432. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +0 -174
@@ -1,1273 +1,199 @@
1
- import { getTheme as f } from "./index223.js";
2
- import { getPrimaryColors as x } from "./index224.js";
3
- import { getSecondaryColors as M } from "./index225.js";
4
- import { getNeutralColors as u } from "./index226.js";
5
- import { getSeverityColors as C } from "./index227.js";
6
- import { getTextColors as v } from "./index228.js";
7
- import { getFormControlStyles as S } from "./index229.js";
8
- import { getErrorColors as k } from "./index230.js";
9
- import { getSuccessColors as w } from "./index231.js";
10
- import { getWarningColors as I } from "./index232.js";
11
- import { getButtonStateStyles as i, getButtonStyles as p } from "./index196.js";
12
- import { isPlainObject as R } from "@mui/utils";
13
- import "@mui/x-data-grid/themeAugmentation";
14
- import d from "chroma-js";
15
- function B(a, o) {
16
- if (a.includes(".")) {
17
- let e = o;
18
- if (a.split(".").forEach((n) => {
19
- e = e && e[n];
20
- }), e && typeof e == "string") return e;
21
- } else if (typeof o[a] == "string") return o[a];
22
- return a;
23
- }
24
- const O = ["color", "backgroundColor", "bgcolor", "borderColor", "borderRightColor", "borderLeftColor", "borderTopColor", "borderBottomColor", "fill", "--DataGrid-rowBorderColor"];
25
- function c(a, o) {
26
- const e = Array.isArray(a) ? [] : {};
27
- return Object.keys(a).forEach((n) => {
28
- const r = n;
29
- if (!a.hasOwnProperty(r)) return;
30
- const t = a[r];
31
- typeof t == "string" && O.includes(n) ? e[r] = B(t, o) : R(t) || Array.isArray(t) ? e[r] = c(t, o) : e[r] = t;
32
- }), e;
1
+ import { formatFilterChipMultiSelectValueSegment as y } from "./index97.js";
2
+ import { useMoniteContext as g } from "./index57.js";
3
+ import { useCurrencies as N } from "./index58.js";
4
+ import { toMinorUnits as C } from "./index180.js";
5
+ import { useState as $, useMemo as l, useCallback as n } from "react";
6
+ import { formatISO as m } from "date-fns";
7
+ import { DATE_PRESETS as d, resolveDatePreset as k } from "./index308.js";
8
+ const p = [{
9
+ value: "draft",
10
+ label: "Draft",
11
+ description: "Created but not yet sent"
12
+ }, {
13
+ value: "issued",
14
+ label: "Issued",
15
+ description: ""
16
+ }, {
17
+ value: "overdue",
18
+ label: "Overdue",
19
+ description: "Past due date"
20
+ }, {
21
+ value: "partially_paid",
22
+ label: "Partially paid",
23
+ description: "Some payment received"
24
+ }, {
25
+ value: "paid",
26
+ label: "Paid",
27
+ description: "Fully paid"
28
+ }, {
29
+ value: "uncollectible",
30
+ label: "Uncollectible",
31
+ description: ""
32
+ }, {
33
+ value: "canceled",
34
+ label: "Canceled",
35
+ description: ""
36
+ }, {
37
+ value: "recurring",
38
+ label: "Recurring",
39
+ description: ""
40
+ }], P = ["draft", "issued", "overdue", "partially_paid", "paid", "uncollectible"], T = {
41
+ due_date: "Due date",
42
+ created_at: "Created on",
43
+ issue_date: "Issue date"
44
+ };
45
+ function _() {
46
+ return {
47
+ search: "",
48
+ activeDateFields: {},
49
+ status: [],
50
+ amountMode: "any",
51
+ amountMin: "",
52
+ amountMax: "",
53
+ customerName: ""
54
+ };
33
55
  }
34
- const q = (a) => {
35
- const o = f(a), e = o.components.styles?.payables?.button, n = {
36
- draft: "#000",
37
- new: "#3737FF",
38
- approve_in_progress: "#3737FF",
39
- paid: "#007F33",
40
- waiting_to_be_paid: "#3737FF",
41
- rejected: "#CC394B",
42
- partially_paid: "#9033D9",
43
- canceled: "#E75300",
44
- all: "#F4F4FE"
45
- }, r = {
46
- primary: x(o.colors.primary, o.colors.primaryForeground),
47
- secondary: M(o.colors.secondary),
48
- neutral: u(o.colors.neutral),
49
- info: C(o.colors.info),
50
- success: w(o.colors.success),
51
- warning: I(o.colors.warning),
52
- error: k(o.colors.error),
53
- background: {
54
- default: o.colors.background,
55
- paper: "#ffffff"
56
- },
57
- text: v(o.colors.text),
58
- status: n,
59
- divider: u(o.colors.neutral)[80]
60
- }, t = {
61
- black: {
62
- color: "#292929",
63
- backgroundColor: "#F2F2F2"
64
- },
65
- blue: {
66
- color: "#3737FF",
67
- backgroundColor: "#F4F4FE"
68
- },
69
- violet: {
70
- color: "#A06DC8",
71
- backgroundColor: "#FBF1FC"
72
- },
73
- green: {
74
- color: "#0DAA8E",
75
- backgroundColor: "#EEFBF9"
76
- },
77
- orange: {
78
- color: "#E27E46",
79
- backgroundColor: "#FFF5EB"
80
- },
81
- red: {
82
- color: "#CC394B",
83
- backgroundColor: "#FFE0E4"
56
+ function j() {
57
+ const [a, i] = $(_), {
58
+ formatToMinorUnits: u
59
+ } = N(), {
60
+ componentSettings: f
61
+ } = g(), c = f.onboarding.allowedCurrencies?.[0] ?? "USD", v = l(() => {
62
+ const e = {};
63
+ for (const [t, s] of Object.entries(a.activeDateFields))
64
+ s?.from && (e[`${t}__gte`] = m(s.from, {
65
+ representation: "date"
66
+ })), s?.to && (e[`${t}__lte`] = m(s.to, {
67
+ representation: "date"
68
+ }));
69
+ if (a.status.length ? e.status__in = a.status : e.status__in = P, a.customerName && (e.counterpart_name__icontains = a.customerName), a.search && (e.search_text = a.search), a.amountMode !== "any") {
70
+ const t = parseFloat(a.amountMin), s = parseFloat(a.amountMax), o = (r) => u(r, c) ?? C(r, 2);
71
+ if (a.amountMode === "exact") {
72
+ if (!isNaN(t)) {
73
+ const r = o(t);
74
+ e.total_amount__gte = r, e.total_amount__lte = r;
75
+ }
76
+ } else
77
+ isNaN(t) || (e.total_amount__gte = o(t)), isNaN(s) || (e.total_amount__lte = o(s));
84
78
  }
85
- }, l = ["rgba(0,0,255,0.05)", "rgba(255,0,32,0.05)", "rgba(0,255,220,0.05)", "rgba(225,1,251,0.05)", "rgba(255,123,0,0.05)"], g = {
86
- fontFamily: o.typography.fontFamily,
87
- fontSize: o.typography.fontSize,
88
- fontWeightMedium: 400,
89
- fontWeightBold: 500,
90
- h1: {
91
- fontSize: o.typography.h1.fontSize,
92
- fontWeight: o.typography.h1.fontWeight,
93
- lineHeight: o.typography.h1.lineHeight,
94
- textTransform: o.typography.h1.textTransform,
95
- color: r.text.primary
96
- },
97
- h2: {
98
- fontSize: o.typography.h2.fontSize,
99
- fontWeight: o.typography.h2.fontWeight,
100
- lineHeight: o.typography.h2.lineHeight,
101
- textTransform: o.typography.h2.textTransform,
102
- color: r.text.primary
103
- },
104
- h3: {
105
- fontSize: o.typography.h3.fontSize,
106
- fontWeight: o.typography.h3.fontWeight,
107
- lineHeight: o.typography.h3.lineHeight,
108
- textTransform: o.typography.h3.textTransform,
109
- color: r.text.primary
110
- },
111
- subtitle1: {
112
- fontSize: o.typography.subtitle1.fontSize,
113
- fontWeight: o.typography.subtitle1.fontWeight,
114
- lineHeight: o.typography.subtitle1.lineHeight,
115
- textTransform: o.typography.subtitle1.textTransform
116
- },
117
- subtitle2: {
118
- fontSize: o.typography.subtitle2.fontSize,
119
- fontWeight: o.typography.subtitle2.fontWeight,
120
- lineHeight: o.typography.subtitle2.lineHeight,
121
- textTransform: o.typography.subtitle2.textTransform
122
- },
123
- body1: {
124
- fontSize: o.typography.body1?.fontSize,
125
- fontWeight: o.typography.body1?.fontWeight,
126
- lineHeight: o.typography.body1?.lineHeight
127
- },
128
- body2: {
129
- fontSize: o.typography.body2?.fontSize,
130
- fontWeight: o.typography.body2?.fontWeight,
131
- lineHeight: o.typography.body2?.lineHeight,
132
- color: "rgba(0, 0, 0, 0.56)"
133
- },
134
- caption: {
135
- fontSize: "1rem",
136
- fontWeight: 500
137
- },
138
- overline: {
139
- fontSize: "1.5rem",
140
- lineHeight: 1
141
- },
142
- button: {
143
- textTransform: "none",
144
- fontWeight: 500
79
+ return e;
80
+ }, [a, c, u]), b = l(() => {
81
+ let e = 0;
82
+ return Object.values(a.activeDateFields).some((t) => t?.from || t?.to || t?.preset) && e++, a.status.length && e++, a.customerName && e++, a.amountMode !== "any" && e++, a.search && e++, e;
83
+ }, [a]), h = l(() => {
84
+ const e = [];
85
+ for (const [t, s] of Object.entries(a.activeDateFields))
86
+ if (s?.from || s?.to || s?.preset) {
87
+ const o = s.preset ? d.find((r) => r.value === s.preset)?.label ?? "Custom range" : "Custom range";
88
+ e.push({
89
+ key: `date_${t}`,
90
+ label: `${T[t]}: ${o}`
91
+ });
92
+ }
93
+ if (a.status.length) {
94
+ const t = a.status.map((s) => p.find((o) => o.value === s)?.label ?? s);
95
+ e.push({
96
+ key: "status",
97
+ label: `Status: ${y(t)}`
98
+ });
145
99
  }
146
- }, b = Object.assign({}, g, {}), s = "160px", h = {
147
- MuiAlert: {
148
- styleOverrides: {
149
- root: {
150
- borderRadius: ".5em",
151
- "&.MuiAlert-colorInfo": {
152
- backgroundColor: d(r.info.main).alpha(0.05).hex(),
153
- ".MuiAlert-icon, .MuiAlert-message": {
154
- color: r.info.main
155
- }
156
- },
157
- "&.MuiAlert-colorSuccess": {
158
- backgroundColor: d(r.success.main).alpha(0.05).hex(),
159
- ".MuiAlert-icon, .MuiAlert-message": {
160
- color: r.success.main
161
- }
162
- },
163
- "&.MuiAlert-colorWarning": {
164
- backgroundColor: d(r.warning.main).alpha(0.05).hex(),
165
- ".MuiAlert-icon, .MuiAlert-message": {
166
- color: r.warning.main
167
- }
168
- },
169
- "&.MuiAlert-colorError": {
170
- backgroundColor: d(r.error.main).alpha(0.05).hex(),
171
- ".MuiAlert-icon, .MuiAlert-message": {
172
- color: r.error.main
173
- }
174
- }
175
- }
176
- }
177
- },
178
- MuiTypography: {
179
- styleOverrides: {
180
- root: {
181
- "&.Monite-SummaryCard-StatusTypography": {
182
- fontSize: 14
183
- },
184
- "&.Monite-SummaryCard-AmountTypography": {
185
- fontSize: 20,
186
- marginTop: 4
187
- }
188
- }
189
- }
190
- },
191
- MuiFormLabel: {
192
- styleOverrides: {
193
- root: {
194
- "&.Mui-disabled": {
195
- color: "black"
196
- }
197
- }
198
- }
199
- },
200
- MuiInputLabel: {
201
- defaultProps: {
202
- shrink: !0
203
- },
204
- styleOverrides: {
205
- root: {
206
- fontSize: "14px",
207
- transform: "none",
208
- position: "static",
209
- color: "black",
210
- minHeight: "28px",
211
- "&.Mui-disabled": {
212
- color: "black"
213
- }
214
- },
215
- asterisk: {
216
- color: t.red.color,
217
- transform: "scale(2) translate(6px, 2px)",
218
- display: "inline-block",
219
- width: "20px"
220
- }
221
- }
222
- },
223
- MuiInputBase: {
224
- styleOverrides: {
225
- root: {
226
- fontWeight: 400,
227
- borderRadius: o.borderRadius * 2.67,
228
- minHeight: "40px",
229
- border: "1px solid transparent",
230
- "&:before, &:after": {
231
- display: "none",
232
- content: "none",
233
- visibility: "hidden"
234
- },
235
- "& .MuiInputBase-input": {
236
- height: "40px",
237
- lineHeight: "40px",
238
- padding: "0 14px",
239
- // Adjust padding if needed
240
- boxSizing: "border-box"
241
- },
242
- "& .MuiInputBase-inputAdornedStart": {
243
- display: "flex",
244
- alignItems: "center"
245
- }
246
- }
247
- }
248
- },
249
- MuiOutlinedInput: {
250
- styleOverrides: {
251
- // Editor borders
252
- notchedOutline: {
253
- borderColor: "neutral.80"
254
- },
255
- root: {
256
- "&.Mui-disabled .MuiOutlinedInput-notchedOutline, .MuiOutlinedInput-notchedOutline": {
257
- borderColor: "neutral.80"
258
- }
259
- }
260
- }
261
- },
262
- MuiFormControl: S(r, a, s),
263
- MuiSelect: {
264
- styleOverrides: {
265
- root: {
266
- "&.Monite-NakedField": {
267
- "& .MuiSelect-select": {
268
- paddingLeft: "0"
269
- },
270
- "& .MuiOutlinedInput-notchedOutline": {
271
- borderStyle: "none"
272
- }
273
- },
274
- "&.Monite-RecipientSelector": {
275
- "& .MuiChip-root": {
276
- backgroundColor: "transparent",
277
- borderColor: "divider",
278
- borderWidth: "1px",
279
- borderStyle: "solid",
280
- padding: "7px 8px",
281
- "& .MuiChip-label": {
282
- color: "text.primary"
283
- }
284
- },
285
- "& .MuiSelect-icon": {
286
- backgroundColor: "primary.80",
287
- borderRadius: o.borderRadius * 2.67,
288
- width: "32px",
289
- height: "32px",
290
- transform: "translate(7px, -2px)",
291
- path: {
292
- fill: "primary.main",
293
- transform: "scale(0.6) translate(8px, 8px)"
294
- }
295
- }
296
- }
297
- }
298
- }
299
- },
300
- MuiStack: {
301
- styleOverrides: {
302
- root: {
303
- "&.Monite-Filters": {
304
- backgroundColor: o.colors.background,
305
- padding: o.spacing * 1.8,
306
- marginBottom: 0,
307
- "& > *": {
308
- flexBasis: "fit-content",
309
- flexGrow: 1
310
- },
311
- "& .Monite-Filters-Group": {
312
- marginLeft: "16px"
313
- }
314
- }
315
- }
316
- }
317
- },
318
- MuiFormControlLabel: {
319
- styleOverrides: {
320
- root: {
321
- // Align checkbox with the label next to if the label occupies multiple lines
322
- "&.MuiFormControlLabel-labelPlacementEnd": {
323
- alignItems: "flex-start",
324
- ".MuiFormControlLabel-label": {
325
- padding: "9px 0"
326
- }
327
- },
328
- "&.Monite-FilterControl": {
329
- marginLeft: 0,
330
- marginRight: 0,
331
- alignItems: "center",
332
- width: "auto",
333
- "& .MuiTypography-root": {
334
- fontSize: "14px",
335
- lineHeight: "20px"
336
- }
337
- }
338
- },
339
- label: {
340
- fontWeight: 400,
341
- fontSize: "16px",
342
- lineHeight: "24px"
343
- }
344
- }
345
- },
346
- MuiAutocomplete: {
347
- styleOverrides: {
348
- root: {
349
- "& > .MuiFormControl-root > .MuiInputBase-root": {
350
- paddingTop: 0,
351
- paddingBottom: 0
352
- },
353
- "& .MuiInput-root .MuiInput-input, & .MuiInput-root.MuiInputBase-sizeSmall": {
354
- padding: "0 14px"
355
- },
356
- "& > .Monite-Selector": {
357
- "& > .MuiInputBase-root": {
358
- border: "1px solid transparent",
359
- "&:hover": {
360
- "&:not(.Mui-disabled):not(.Mui-focused)": {
361
- boxShadow: `0 0 0 4px ${d(r.primary.main).alpha(0.24).hex()}`
362
- }
363
- },
364
- "& > .MuiInputAdornment-root": {
365
- "&.MuiInputAdornment-positionStart": {
366
- marginRight: "16px"
367
- },
368
- "&.MuiInputAdornment-positionEnd": {
369
- marginLeft: "0",
370
- "& + input:not(:placeholder-shown)": {
371
- opacity: 0
372
- },
373
- "& + input::placeholder": {
374
- color: "rgba(184, 184, 184, 1)"
375
- }
376
- }
377
- },
378
- "&.MuiInputBase-adornedStart.MuiInputBase-formControl": {
379
- padding: "16px",
380
- height: "70px",
381
- lineHeight: "70px",
382
- backgroundColor: "transparent",
383
- "&.Mui-focused > .MuiOutlinedInput-notchedOutline": {
384
- borderColor: "transparent"
385
- }
386
- },
387
- "&:hover > .MuiOutlinedInput-notchedOutline": {
388
- borderColor: "#dedede"
389
- },
390
- "& > .MuiOutlinedInput-notchedOutline": {
391
- top: 0,
392
- "> legend": {
393
- display: "none"
394
- }
395
- }
396
- },
397
- "& > .MuiFormLabel-root": {
398
- fontSize: "1.25rem",
399
- paddingBottom: "1rem",
400
- "& > .MuiInputLabel-asterisk": {
401
- display: "none"
402
- }
403
- },
404
- "&.isSimplified": {
405
- marginBottom: "2rem",
406
- background: "transparent",
407
- "& > .MuiInputBase-root": {
408
- paddingRight: "1rem"
409
- },
410
- "& > .MuiInputLabel-root": {
411
- fontSize: "14px",
412
- color: "rgba(112, 112, 112, 1)",
413
- paddingBottom: "0",
414
- "&::after": {
415
- content: '"●"',
416
- position: "relative",
417
- bottom: "2px",
418
- left: "4px",
419
- color: "rgba(255, 71, 93, 1)"
420
- }
421
- },
422
- "& > .MuiInputLabel-root > .MuiFormLabel-asterisk": {
423
- display: "none"
424
- }
425
- }
426
- },
427
- "& > .Item-Selector > .MuiInputBase-root.MuiInputBase-formControl.MuiAutocomplete-inputRoot": {
428
- paddingRight: "1em",
429
- "&.MuiInputBase-adornedStart.MuiInputBase-formControl": {
430
- padding: "8px 12px",
431
- height: "40px",
432
- lineHeight: "40px"
433
- }
434
- },
435
- "&.Monite-FilterControl": {
436
- height: "40px",
437
- minHeight: "40px",
438
- maxHeight: "40px",
439
- maxWidth: s,
440
- width: "100%"
441
- },
442
- "&.Monite-Label-Hidden .MuiInputLabel-root.MuiFormLabel-root": {
443
- display: "none"
444
- }
445
- },
446
- popper: {
447
- paddingTop: "0.5rem"
448
- }
449
- }
450
- },
451
- MuiTextField: {
452
- defaultProps: {
453
- InputLabelProps: {
454
- shrink: !0
455
- }
456
- },
457
- styleOverrides: {
458
- root: {
459
- "&.Monite-NakedField": {
460
- "& .MuiInputBase-root": {
461
- minHeight: "32px",
462
- padding: 0,
463
- "& .MuiInputBase-input": {
464
- height: "32px",
465
- lineHeight: "32px",
466
- padding: 0
467
- },
468
- "& .MuiOutlinedInput-notchedOutline": {
469
- borderStyle: "none"
470
- }
471
- },
472
- "& .MuiFormHelperText-root.Mui-error": {
473
- marginLeft: 0
474
- }
475
- },
476
- "&.Monite-AiSearchField": {
477
- "& .MuiInputBase-root": {
478
- paddingRight: "12px",
479
- "& .MuiInputBase-input": {
480
- "&::placeholder": {
481
- opacity: 0.88,
482
- fontWeight: 500,
483
- fontSize: "14px",
484
- lineHeight: "16px",
485
- padding: "16px 10px"
486
- }
487
- },
488
- "& .MuiOutlinedInput-notchedOutline": {
489
- borderStyle: "none"
490
- }
491
- }
492
- }
493
- }
494
- }
495
- },
496
- MuiDrawer: {
497
- variants: [{
498
- props: {
499
- variant: "permanent"
500
- },
501
- style: {
502
- backgroundColor: "menu.background",
503
- "& .MuiPaper-root": {
504
- backgroundColor: "menu.background",
505
- borderRight: 0
506
- }
507
- }
508
- }]
509
- },
510
- MuiList: {
511
- styleOverrides: {
512
- root: {
513
- "&.NavigationList": {
514
- margin: "0px 12px",
515
- "& .MuiListItem-root": {
516
- marginTop: 8,
517
- "& .Mui-selected": {
518
- "& span": {
519
- color: "secondary.dark"
520
- }
521
- }
522
- },
523
- ".MuiListItemButton-root": {
524
- borderRadius: o.borderRadius * 2,
525
- padding: "8px 12px"
526
- },
527
- ".MuiListItemIcon-root": {
528
- minWidth: 25
529
- },
530
- ".MuiListItemIcon-root .MuiSvgIcon-root": {
531
- width: "20px",
532
- height: "20px",
533
- marginRight: "5px"
534
- },
535
- ".MuiCollapse-root": {
536
- marginTop: -8,
537
- marginLeft: 12
538
- },
539
- "& .MuiSvgIcon-root": {
540
- color: "secondary.dark",
541
- "& > path": {
542
- color: "secondary.dark"
543
- }
544
- }
545
- }
546
- }
547
- }
548
- },
549
- MuiButtonBase: {
550
- defaultProps: {
551
- disableRipple: !0
552
- }
553
- },
554
- MuiButton: {
555
- styleOverrides: {
556
- root: {
557
- // Button shouldn't grow inside containers that force it to grow
558
- maxHeight: "48px",
559
- "&.ThemeSelect": {
560
- borderRadius: o.borderRadius
561
- },
562
- "&.ThemeSelect .ThemeSelect-modeLabel": {
563
- display: "flex"
564
- },
565
- "&.MuiButton-sizeSmall": {
566
- fontSize: "14px"
567
- },
568
- "&.Monite-withShadow, &.Monite-withShadow:hover": {
569
- boxShadow: "0px 1px 1px 0px rgba(0, 0, 0, 0.1)"
570
- },
571
- ".Monite-Payables &.MuiButton-contained:not(.MuiButton-colorError)": {
572
- ...p(e?.primary),
573
- "&:hover": i("hover", e?.primary),
574
- "&:active": i("active", e?.primary),
575
- "&:focus": i("focus", e?.primary),
576
- "&:disabled": i("disabled", e?.primary)
577
- },
578
- ".Monite-Payables &.MuiButton-outlined:not(.MuiButton-colorError)": {
579
- ...p(e?.secondary),
580
- "&:hover": i("hover", e?.secondary),
581
- "&:active": i("active", e?.secondary),
582
- "&:focus": i("focus", e?.secondary),
583
- "&:disabled": i("disabled", e?.secondary)
584
- },
585
- ".Monite-Payables &.MuiButton-text:not(.MuiButton-colorError)": {
586
- ...p(e?.tertiary),
587
- "&:hover": i("hover", e?.tertiary),
588
- "&:active": i("active", e?.tertiary),
589
- "&:focus": i("focus", e?.tertiary),
590
- "&:disabled": i("disabled", e?.tertiary)
591
- },
592
- ".Monite-Payables &.MuiButton-contained.MuiButton-colorError": {
593
- ...p(e?.destructive),
594
- "&:hover": i("hover", e?.destructive),
595
- "&:active": i("active", e?.destructive),
596
- "&:focus": i("focus", e?.destructive),
597
- "&:disabled": i("disabled", e?.destructive)
598
- }
599
- },
600
- containedPrimary: {
601
- padding: ".75em 1.25em",
602
- backgroundColor: "primary.main",
603
- lineHeight: "1.4",
604
- borderRadius: o.buttonBorderRadius,
605
- boxShadow: "none",
606
- "&:hover": {
607
- backgroundColor: "primary.60",
608
- borderRadius: o.buttonBorderRadius,
609
- boxShadow: "none"
610
- },
611
- "&:active": {
612
- backgroundColor: "primary.dark",
613
- borderRadius: o.buttonBorderRadius,
614
- boxShadow: "none"
615
- },
616
- "&:disabled": {
617
- color: "neutral.70",
618
- backgroundColor: "neutral.90",
619
- borderColor: "neutral.90",
620
- boxShadow: "none"
621
- }
622
- },
623
- outlinedPrimary: {
624
- padding: ".75em 1.25em",
625
- color: "primary.30",
626
- backgroundColor: "primary.90",
627
- border: "none",
628
- borderRadius: o.buttonBorderRadius,
629
- boxShadow: "none",
630
- "&:hover": {
631
- backgroundColor: "primary.80",
632
- border: "none",
633
- boxShadow: "none"
634
- },
635
- "&:active": {
636
- backgroundColor: "primary.70",
637
- border: "none",
638
- boxShadow: "none"
639
- },
640
- "&:disabled": {
641
- color: "neutral.70",
642
- backgroundColor: "neutral.90",
643
- border: "none",
644
- boxShadow: "none"
645
- }
646
- },
647
- textPrimary: {
648
- padding: ".75em 1.25em",
649
- color: "primary.30",
650
- backgroundColor: "transparent",
651
- border: "none",
652
- boxShadow: "none",
653
- "&:hover": {
654
- backgroundColor: "primary.90",
655
- border: "none",
656
- boxShadow: "none"
657
- },
658
- "&:active": {
659
- backgroundColor: "primary.70",
660
- border: "none",
661
- boxShadow: "none"
662
- },
663
- "&:disabled": {
664
- color: "neutral.70",
665
- backgroundColor: "neutral.90",
666
- border: "none",
667
- boxShadow: "none"
668
- }
669
- }
670
- }
671
- },
672
- MuiPopover: {
673
- styleOverrides: {
674
- paper: {
675
- border: "none",
676
- width: 240
677
- }
678
- }
679
- },
680
- MuiPopper: {
681
- defaultProps: {
682
- disablePortal: !0
683
- }
684
- },
685
- MuiAvatar: {
686
- styleOverrides: {
687
- root: {
688
- "&.MuiAvatar-colored": {
689
- margin: 0,
690
- color: "text.primary",
691
- fontSize: "16px",
692
- fontWeight: 600,
693
- lineHeight: "40px",
694
- width: "40px",
695
- height: "40px",
696
- "&.MuiAvatar-0": {
697
- backgroundColor: l[0]
698
- },
699
- "&.MuiAvatar-1": {
700
- backgroundColor: l[1]
701
- },
702
- "&.MuiAvatar-2": {
703
- backgroundColor: l[2]
704
- },
705
- "&.MuiAvatar-3": {
706
- backgroundColor: l[3]
707
- },
708
- "&.MuiAvatar-4": {
709
- backgroundColor: l[4]
710
- }
711
- }
712
- }
713
- }
714
- },
715
- MuiChip: {
716
- styleOverrides: {
717
- root: {
718
- backgroundColor: "primary.light",
719
- borderRadius: o.borderRadius * 1.33,
720
- color: "primary.main",
721
- fontSize: "14px",
722
- lineHeight: "16px",
723
- fontWeight: 500,
724
- padding: "7px 8px",
725
- "& .MuiChip-avatar": {
726
- marginLeft: 0,
727
- marginRight: "4px"
728
- },
729
- gap: 8
730
- },
731
- label: {
732
- padding: "0"
733
- },
734
- deleteIcon: {
735
- margin: "0 -2px 0 6px"
736
- }
737
- }
738
- },
739
- MuiDataGrid: {
740
- defaultProps: {
741
- columnHeaderHeight: 55,
742
- rowHeight: 48,
743
- density: "standard"
744
- },
745
- styleOverrides: {
746
- root: {
747
- color: r.text.primary,
748
- backgroundColor: r.background.default,
749
- borderTopLeftRadius: 0,
750
- borderTopRightRadius: 0,
751
- borderWidth: 0,
752
- borderBottomLeftRadius: o.borderRadius * 2,
753
- borderBottomRightRadius: o.borderRadius * 2,
754
- "--DataGrid-rowBorderColor": o.colors.rowBorder,
755
- "--DataGrid-containerBackground": o.colors.background,
756
- "& .MuiDataGrid-withBorderColor": {
757
- borderColor: "divider"
758
- },
759
- "&.MuiDataGrid-withBorderColor": {
760
- borderColor: "divider"
761
- },
762
- '& div[role="presentation"] + .MuiDataGrid-cell, & div[role="presentation"] + .MuiDataGrid-columnHeader': {
763
- borderLeftStyle: "none",
764
- borderLeftWidth: "0"
765
- }
766
- },
767
- columnHeader: {
768
- overflow: "visible",
769
- borderLeftStyle: "solid",
770
- borderLeftWidth: "0px",
771
- borderLeftColor: "divider",
772
- padding: "0 15.5px",
773
- background: o.colors.background,
774
- "& .MuiDataGrid-columnHeaderTitle": {
775
- color: r.text,
776
- fontWeight: 600,
777
- fontSize: "14px",
778
- lineHeight: "17.57px"
779
- }
780
- },
781
- columnSeparator: {
782
- border: 0
783
- },
784
- cell: {
785
- '&[role="gridcell"]': {
786
- borderLeftStyle: "solid",
787
- borderLeftWidth: "0px",
788
- borderLeftColor: "divider"
789
- },
790
- "&.Monite-Cell-Highlight": {
791
- color: "neutral.10"
792
- },
793
- ".MuiDataGrid-cellOffsetLeft + &": {
794
- borderLeftStyle: "none",
795
- borderLeftWidth: "0"
796
- },
797
- padding: "0 12px",
798
- fontWeight: 400,
799
- fontSize: "15px",
800
- "& span.Monite-DueDateCell-OverdueDays": {
801
- fontSize: "12px"
802
- },
803
- // Align counterpart avatar with the cell header
804
- '&[data-field="counterpart_id"], &[data-field="counterpart_name"], &[data-field="was_created_by_user_id"]': {
805
- ".MuiChip-root": {
806
- paddingLeft: 0
807
- }
808
- },
809
- '&[data-field="actions"]': {
810
- textOverflow: "clip"
811
- // Hide ... after action buttons
812
- },
813
- "& .Monite-TextOverflowContainer": {
814
- display: "block",
815
- whiteSpace: "nowrap",
816
- overflow: "hidden",
817
- textOverflow: "ellipsis"
818
- },
819
- "&:focus": {
820
- outline: "none"
821
- },
822
- "& .MuiChip-label": {
823
- fontWeight: 600,
824
- fontSize: "13px",
825
- letterSpacing: "0.098px"
826
- }
827
- },
828
- footerContainer: {
829
- padding: "8px 0",
830
- '& .Monite-RowsPerPageSelector div[role="combobox"]': {
831
- lineHeight: "40px",
832
- fontSize: "13px",
833
- color: "text.secondary"
834
- },
835
- "& .Monite-TablePagination-PreviousPageButton": {
836
- padding: "8px",
837
- border: "1px solid",
838
- borderColor: "neutral.80",
839
- borderRadius: "4px",
840
- marginRight: "6px"
841
- },
842
- "& .Monite-TablePagination-NextPageButton": {
843
- padding: "8px",
844
- border: "1px solid",
845
- borderColor: "neutral.80",
846
- borderRadius: "4px"
847
- }
848
- }
849
- }
850
- },
851
- MuiTableHead: {
852
- styleOverrides: {
853
- root: {
854
- "& .MuiTableCell-head": {
855
- fontWeight: 500,
856
- color: "neutral.50",
857
- verticalAlign: "bottom"
858
- }
859
- }
860
- }
861
- },
862
- MuiTableRow: {
863
- styleOverrides: {
864
- root: {
865
- "&:not(.Monite-CreateReceivable-ItemsSection-Table) .MuiTableCell-root": {
866
- borderColor: "neutral.80"
867
- },
868
- "&.Monite-CreateReceivable-ItemsSection-Table": {
869
- ".MuiTableCell-root": {
870
- borderBottom: "none",
871
- padding: "8px 12px 8px 0",
872
- "& .MuiFormControl-root .MuiInputBase-root": {
873
- backgroundColor: "#fff"
874
- }
875
- },
876
- "th.MuiTableCell-root": {
877
- padding: "0 12px 0 0"
878
- },
879
- "+ .MuiTableRow-root .MuiTableCell-root": {
880
- paddingLeft: 0
881
- }
882
- },
883
- "&:last-child .MuiTableCell-body": {
884
- borderBottom: "none"
885
- }
886
- }
887
- }
888
- },
889
- MuiTabs: {
890
- styleOverrides: {
891
- root: {
892
- borderBottom: "1px solid",
893
- borderColor: "neutral.80",
894
- minHeight: "unset",
895
- "& .MuiTab-root": {
896
- backgroundColor: "transparent",
897
- color: "text.primary",
898
- padding: "16px",
899
- minHeight: "unset",
900
- boxSizing: "border-box",
901
- textTransform: "none",
902
- "&:hover": {
903
- backgroundColor: "transparent"
904
- },
905
- "&:active": {
906
- backgroundColor: "transparent"
907
- }
908
- },
909
- "& .MuiTab-root.Mui-selected": {
910
- backgroundColor: "transparent",
911
- color: "text.primary",
912
- "&:hover": {
913
- backgroundColor: "transparent"
914
- },
915
- "&:active": {
916
- backgroundColor: "transparent"
917
- }
918
- }
919
- },
920
- indicator: {
921
- borderRadius: 10,
922
- backgroundColor: r.primary.main,
923
- height: "4px"
924
- }
925
- }
926
- },
927
- MuiCard: {
928
- styleOverrides: {
929
- root: {
930
- "&.Monite-SummaryCard": {
931
- display: "flex",
932
- borderRadius: o.borderRadius * 1.67,
933
- //10px
934
- backgroundColor: r.background.default,
935
- outline: "3px solid",
936
- outlineColor: "transparent",
937
- border: "1px solid",
938
- borderColor: r.neutral[90],
939
- transition: "border-color 0.1s ease-in-out, outline-color 0.2s ease-in-out",
940
- boxShadow: "none"
941
- },
942
- "&.Monite-SummaryCard-selected, &.Monite-SummaryCard:hover, &.Monite-SummaryCard:active, &.Monite-SummaryCard:focus": {
943
- borderColor: r.primary.main,
944
- borderWidth: "1px",
945
- outlineColor: r.primary[80]
946
- },
947
- "&.Monite-SummaryCard-all": {
948
- minWidth: "118px"
949
- }
950
- }
951
- }
952
- },
953
- MuiCardContent: {
954
- styleOverrides: {
955
- root: {
956
- padding: "24px 32px"
957
- }
958
- }
959
- },
960
- MuiPaper: {
961
- styleOverrides: {
962
- root: {
963
- backgroundImage: "none",
964
- borderRadius: o.borderRadius * 2.67,
965
- borderColor: "neutral.80"
966
- },
967
- elevation: {
968
- "&.MuiTableContainer-root": {
969
- boxShadow: "none"
970
- }
971
- },
972
- rounded: {
973
- "&.Monite-PayableDetailsForm-Items": {
974
- // Align delete button with the editor
975
- 'button[aria-label="delete"]': {
976
- width: "40px",
977
- height: "40px",
978
- marginTop: "24px",
979
- svg: {
980
- width: "20px",
981
- height: "auto"
982
- }
983
- },
984
- // Align total with the editor right side
985
- ".Monite-PayableDetailsForm-Item .Monite-PayableDetailsForm-Item-Total": {
986
- marginRight: "10.8%"
987
- }
988
- }
989
- }
990
- }
991
- },
992
- MuiDialog: {
993
- styleOverrides: {
994
- root: {
995
- backgroundImage: "none"
996
- }
997
- },
998
- defaultProps: {
999
- classes: {
1000
- container: "Monite-Payables",
1001
- paper: "Monite-Payables"
1002
- }
1003
- }
1004
- },
1005
- MuiDialogActions: {
1006
- styleOverrides: {
1007
- root: {
1008
- padding: "1em 1.5em"
1009
- }
1010
- }
1011
- },
1012
- MuiDialogTitle: {
1013
- styleOverrides: {
1014
- root: {
1015
- "&.MuiTypography-h6": {
1016
- padding: "12px 24px",
1017
- ".MuiToolbar-root": {
1018
- padding: "0 0 0 16px"
1019
- }
1020
- }
1021
- }
1022
- }
1023
- },
1024
- MuiDialogContent: {
1025
- styleOverrides: {
1026
- root: {
1027
- margin: 0,
1028
- padding: "24px 32px 40px",
1029
- "> form": {
1030
- maxWidth: "min(940px, 100%)",
1031
- margin: "0 auto"
1032
- }
1033
- }
1034
- }
1035
- },
1036
- MuiFormHelperText: {
1037
- styleOverrides: {
1038
- root: {
1039
- fontSize: "12px",
1040
- maxWidth: "100%",
1041
- overflow: "hidden",
1042
- textOverflow: "ellipsis"
1043
- }
1044
- }
1045
- },
1046
- MuiSwitch: {
1047
- styleOverrides: {
1048
- root: {
1049
- width: "55px",
1050
- height: "40px",
1051
- "& > .MuiButtonBase-root.Mui-checked": {
1052
- left: "-10px"
1053
- },
1054
- "& > .MuiSwitch-track": {
1055
- height: "20px",
1056
- position: "relative",
1057
- bottom: "3px",
1058
- width: "40px",
1059
- left: "-2px",
1060
- borderRadius: "12px"
1061
- },
1062
- "& > .MuiSwitch-switchBase.Mui-checked": {
1063
- transform: "translateX(25px)",
1064
- "&::after": {
1065
- content: '""',
1066
- position: "absolute",
1067
- top: "12px",
1068
- left: "11px",
1069
- width: "16px",
1070
- height: "16px",
1071
- color: "#fff",
1072
- backgroundImage: `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='${encodeURIComponent("#fff")}'><path d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>")`,
1073
- backgroundSize: "contain",
1074
- backgroundRepeat: "no-repeat"
1075
- }
1076
- },
1077
- "& > .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track": {
1078
- background: "rgba(203, 203, 254, 1)",
1079
- opacity: 1
1080
- },
1081
- "& > .MuiSwitch-input": {
1082
- left: 0
1083
- }
1084
- }
1085
- }
1086
- },
1087
- MoniteTablePagination: {
1088
- defaultProps: {
1089
- paginationLayout: "default"
1090
- },
1091
- styleOverrides: {
1092
- root: {}
1093
- }
1094
- },
1095
- MoniteApprovalRequestStatusChip: {
1096
- defaultProps: {
1097
- icon: o.components.approvalRequestStatusChip.icon,
1098
- size: o.components.approvalRequestStatusChip.size,
1099
- variant: o.components.approvalRequestStatusChip.variant
1100
- }
1101
- },
1102
- MoniteInvoiceRecurrenceStatusChip: {
1103
- defaultProps: {
1104
- icon: o.components.invoiceRecurrenceStatusChip.icon,
1105
- size: o.components.invoiceRecurrenceStatusChip.size,
1106
- variant: o.components.invoiceRecurrenceStatusChip.variant
1107
- }
1108
- },
1109
- MoniteInvoiceRecurrenceIterationStatusChip: {
1110
- defaultProps: {
1111
- icon: o.components.invoiceRecurrenceIterationStatusChip.icon,
1112
- size: o.components.invoiceRecurrenceIterationStatusChip.size,
1113
- variant: o.components.invoiceRecurrenceIterationStatusChip.variant
1114
- }
1115
- },
1116
- MoniteInvoiceStatusChip: {
1117
- defaultProps: {
1118
- icon: o.components.invoiceStatusChip.icon,
1119
- size: o.components.invoiceStatusChip.size,
1120
- variant: o.components.invoiceStatusChip.variant
1121
- },
1122
- styleOverrides: {
1123
- root: {
1124
- fontSize: "13px"
1125
- }
1126
- },
1127
- variants: [{
1128
- props: {
1129
- status: "draft"
1130
- },
1131
- style: t.black
1132
- }, {
1133
- props: {
1134
- status: "issued"
1135
- },
1136
- style: t.blue
1137
- }, {
1138
- props: {
1139
- status: "accepted"
1140
- },
1141
- style: t.green
1142
- }, {
1143
- props: {
1144
- status: "expired"
1145
- },
1146
- style: t.red
1147
- }, {
1148
- props: {
1149
- status: "declined"
1150
- },
1151
- style: t.red
1152
- }, {
1153
- props: {
1154
- status: "recurring"
1155
- },
1156
- style: t.green
1157
- }, {
1158
- props: {
1159
- status: "partially_paid"
1160
- },
1161
- style: t.violet
1162
- }, {
1163
- props: {
1164
- status: "paid"
1165
- },
1166
- style: t.green
1167
- }, {
1168
- props: {
1169
- status: "overdue"
1170
- },
1171
- style: t.orange
1172
- }, {
1173
- props: {
1174
- status: "uncollectible"
1175
- },
1176
- style: t.red
1177
- }, {
1178
- props: {
1179
- status: "canceled"
1180
- },
1181
- style: t.orange
1182
- }, {
1183
- props: {
1184
- status: "deleted"
1185
- },
1186
- style: t.black
1187
- }]
1188
- },
1189
- MonitePayableStatusChip: {
1190
- defaultProps: {
1191
- icon: o.components.payableStatusChip.icon,
1192
- size: o.components.payableStatusChip.size,
1193
- variant: o.components.payableStatusChip.variant,
1194
- colors: o.components.payableStatusChip.colors
1195
- },
1196
- styleOverrides: {
1197
- root: {
1198
- fontSize: "13px"
1199
- }
1200
- },
1201
- variants: [{
1202
- props: {
1203
- status: "draft"
1204
- },
1205
- style: t.black
1206
- }, {
1207
- props: {
1208
- status: "new"
1209
- },
1210
- style: t.blue
1211
- }, {
1212
- props: {
1213
- status: "approve_in_progress"
1214
- },
1215
- style: t.orange
1216
- }, {
1217
- props: {
1218
- status: "waiting_to_be_paid"
1219
- },
1220
- style: t.blue
1221
- }, {
1222
- props: {
1223
- status: "partially_paid"
1224
- },
1225
- style: t.violet
1226
- }, {
1227
- props: {
1228
- status: "paid"
1229
- },
1230
- style: t.green
1231
- }, {
1232
- props: {
1233
- status: "canceled"
1234
- },
1235
- style: t.orange
1236
- }, {
1237
- props: {
1238
- status: "rejected"
1239
- },
1240
- style: t.red
1241
- }]
1242
- },
1243
- MoniteCounterpartStatusChip: {
1244
- defaultProps: {},
1245
- styleOverrides: {
1246
- root: {
1247
- height: "24px",
1248
- padding: "7px 8px",
1249
- backgroundColor: "transparent",
1250
- color: "text.primary",
1251
- borderColor: "neutral.80"
1252
- }
1253
- }
1254
- }
1255
- }, m = c(h, r), y = {
1256
- spacing: o.spacing,
1257
- palette: {
100
+ return a.customerName && e.push({
101
+ key: "customer",
102
+ label: `Customer: ${a.customerName}`
103
+ }), a.amountMode !== "any" && e.push({
104
+ key: "amount",
105
+ label: "Amount"
106
+ }), a.search && e.push({
107
+ key: "search",
108
+ label: `Search: ${a.search}`
109
+ }), e;
110
+ }, [a]), F = n((e, t) => {
111
+ const {
112
+ from: s,
113
+ to: o
114
+ } = k(t);
115
+ i((r) => ({
1258
116
  ...r,
1259
- status: n
1260
- },
1261
- shape: {
1262
- borderRadius: o.borderRadius
1263
- },
1264
- typography: b,
1265
- components: m
117
+ activeDateFields: {
118
+ ...r.activeDateFields,
119
+ [e]: {
120
+ preset: t,
121
+ from: s,
122
+ to: o
123
+ }
124
+ }
125
+ }));
126
+ }, []), D = n((e, t, s) => {
127
+ i((o) => ({
128
+ ...o,
129
+ activeDateFields: {
130
+ ...o.activeDateFields,
131
+ [e]: {
132
+ preset: void 0,
133
+ from: t,
134
+ to: s
135
+ }
136
+ }
137
+ }));
138
+ }, []), S = n((e) => {
139
+ if (e.startsWith("date_")) {
140
+ const t = e.slice(5);
141
+ i((s) => {
142
+ const o = {
143
+ ...s.activeDateFields
144
+ };
145
+ return delete o[t], {
146
+ ...s,
147
+ activeDateFields: o
148
+ };
149
+ });
150
+ return;
151
+ }
152
+ switch (e) {
153
+ case "status":
154
+ i((t) => ({
155
+ ...t,
156
+ status: []
157
+ }));
158
+ break;
159
+ case "customer":
160
+ i((t) => ({
161
+ ...t,
162
+ customerName: ""
163
+ }));
164
+ break;
165
+ case "amount":
166
+ i((t) => ({
167
+ ...t,
168
+ amountMode: "any",
169
+ amountMin: "",
170
+ amountMax: ""
171
+ }));
172
+ break;
173
+ case "search":
174
+ i((t) => ({
175
+ ...t,
176
+ search: ""
177
+ }));
178
+ break;
179
+ }
180
+ }, []), M = n(() => i(_()), []);
181
+ return {
182
+ state: a,
183
+ setState: i,
184
+ queryParams: v,
185
+ activeFilterCount: b,
186
+ activeChips: h,
187
+ datePresets: d,
188
+ statusOptions: p,
189
+ setDateFieldPreset: F,
190
+ setDateFieldRange: D,
191
+ clearFilter: S,
192
+ clearAll: M
1266
193
  };
1267
- return Object.assign(y, {
1268
- customStyles: o.components?.styles
1269
- });
1270
- };
194
+ }
1271
195
  export {
1272
- q as getTheme
196
+ P as AR_DEFAULT_STATUSES,
197
+ p as AR_STATUS_OPTIONS,
198
+ j as useInvoicesFilter
1273
199
  };