@tesouro/embedded-components-react 0.2.205 → 0.2.208

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 (455) hide show
  1. package/README.md +40 -0
  2. package/dist/index.d.ts +455 -310
  3. package/dist/index.js +111 -107
  4. package/dist/lib/CardDetailsWidget.d.ts +750 -0
  5. package/dist/lib/CardDetailsWidget.js +20 -0
  6. package/dist/lib/CardsWidget.d.ts +1006 -0
  7. package/dist/lib/CardsWidget.js +20 -0
  8. package/dist/lib/ReceivablesWidget.js +24 -24
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +24 -24
  10. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index3.js +31 -0
  11. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index4.js +31 -0
  12. package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index5.js +18 -0
  13. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index2.js +141 -0
  14. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index3.js +53 -0
  15. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index4.js +20 -0
  16. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index5.js +82 -0
  17. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index6.js +18 -0
  18. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsHeader.js +56 -0
  19. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsPanel.js +156 -0
  20. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardFace.js +49 -0
  21. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/DetailCopyRow.js +38 -0
  22. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/labels.js +43 -0
  23. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/statusBadge.js +12 -0
  24. package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/testIds.js +10 -0
  25. package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +27 -0
  26. package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index3.js +27 -0
  27. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index2.js +117 -0
  28. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index3.js +42 -0
  29. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index4.js +46 -0
  30. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index5.js +7 -0
  31. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index6.js +260 -0
  32. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index7.js +34 -0
  33. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js +91 -0
  34. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardFaceSwatch.js +15 -0
  35. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +138 -0
  36. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListDetailsSheet.js +43 -0
  37. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +60 -0
  38. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js +77 -0
  39. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/statusBadge.js +12 -0
  40. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/types.js +10 -0
  41. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
  42. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
  43. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
  44. package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
  45. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
  46. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
  47. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
  48. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
  49. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
  50. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
  52. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +5 -5
  53. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
  54. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +1 -1
  55. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +32 -34
  56. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
  57. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
  58. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
  59. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
  60. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
  61. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
  62. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +79 -60
  63. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -398
  64. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -69
  65. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -2
  66. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +31 -406
  67. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +8 -75
  68. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +11 -5
  69. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -9
  70. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -33
  71. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +10 -30
  72. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
  73. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +121 -12
  74. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +8 -12
  75. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +216 -24
  76. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +8 -10
  77. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +7 -7
  78. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -118
  79. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +48 -7
  80. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +13 -217
  81. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +44 -10
  82. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -12
  83. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
  84. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +10 -48
  85. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +147 -44
  86. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +25 -13
  87. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +54 -43
  88. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -15
  89. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +29 -11
  90. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -152
  91. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +61 -23
  92. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +37 -55
  93. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +79 -68
  94. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -29
  95. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +99 -3
  96. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -64
  97. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -39
  98. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +44 -80
  99. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +75 -4
  100. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +55 -96
  101. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -57
  102. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +24 -24
  103. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +75 -91
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +27 -99
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +39 -15
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -14
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +226 -12
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +470 -9
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +105 -41
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +537 -74
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +23 -55
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +27 -14
  113. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +10 -23
  114. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +17 -77
  115. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +21 -29
  116. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +2 -42
  117. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +12 -7
  118. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +21 -227
  119. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +18 -466
  120. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +27 -110
  121. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +104 -526
  122. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +67 -23
  123. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +12 -25
  124. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
  125. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +12 -13
  126. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +24 -18
  127. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +94 -19
  128. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +101 -2
  129. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +16 -10
  130. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +12 -20
  131. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +10 -18
  132. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +60 -27
  133. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +397 -116
  134. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +68 -69
  135. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
  136. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +2 -14
  137. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +407 -12
  138. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -101
  139. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +35 -26
  140. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +100 -5
  141. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +25 -11
  142. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -5
  143. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -10
  144. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +7 -214
  145. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
  146. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +214 -12
  147. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +9 -11
  148. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -7
  149. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -35
  150. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +5 -5
  151. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -1
  152. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +37 -10
  153. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +52 -72
  154. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +29 -44
  155. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +5 -20
  156. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +74 -34
  157. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +32 -30
  158. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +18 -40
  159. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +36 -63
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +51 -96
  161. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +81 -111
  162. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +33 -87
  163. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +66 -53
  164. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +360 -28
  165. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -5
  166. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +117 -77
  167. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +6 -32
  168. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +18 -18
  169. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +13 -50
  170. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +13 -62
  171. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +14 -36
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +14 -82
  173. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +21 -34
  174. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +22 -66
  175. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +54 -359
  176. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +27 -2
  177. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +37 -117
  178. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -6
  179. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +15 -20
  180. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +27 -11
  181. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +17 -14
  182. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +107 -11
  183. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +12 -14
  184. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +19 -21
  185. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +23 -19
  186. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +33 -49
  187. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +57 -25
  188. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +50 -35
  189. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +30 -37
  190. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +97 -14
  191. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +42 -25
  192. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +147 -17
  193. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +105 -106
  194. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +63 -12
  195. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +28 -19
  196. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +127 -26
  197. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +44 -40
  198. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +71 -57
  199. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +18 -50
  200. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +30 -30
  201. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +39 -95
  202. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +58 -42
  203. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +89 -140
  204. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +104 -101
  205. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +88 -5
  206. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +36 -486
  207. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +337 -158
  208. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +300 -39
  209. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +99 -58
  210. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +160 -29
  211. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +266 -118
  212. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +24 -22
  213. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +18 -42
  214. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +5 -57
  215. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +37 -36
  216. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +55 -340
  217. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +29 -301
  218. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +117 -101
  219. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +22 -161
  220. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +41 -264
  221. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +55 -23
  222. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +2 -20
  223. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +96 -14
  224. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +94 -77
  225. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +209 -73
  226. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +20 -42
  227. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +16 -19
  228. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +17 -41
  229. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +171 -2
  230. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +131 -93
  231. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +161 -96
  232. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
  233. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +12 -213
  234. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +19 -22
  235. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +59 -53
  236. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +67 -28
  237. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +54 -54
  238. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +6 -18
  239. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +10 -21
  240. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +59 -15
  241. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +23 -18
  242. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +61 -169
  243. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +14 -134
  244. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -162
  245. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +10 -12
  246. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +19 -19
  247. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +6 -61
  248. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +157 -65
  249. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +28 -60
  250. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +28 -7
  251. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +78 -11
  252. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +25 -62
  253. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +125 -21
  254. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +44 -58
  255. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +119 -14
  256. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +106 -62
  257. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +50 -25
  258. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +191 -114
  259. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +68 -47
  260. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +21 -116
  261. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +29 -106
  262. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +29 -48
  263. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +4 -205
  264. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +19 -69
  265. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +30 -16
  266. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +21 -24
  267. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +34 -149
  268. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +31 -30
  269. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +13 -4
  270. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +65 -18
  271. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +14 -38
  272. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +75 -26
  273. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +76 -33
  274. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +42 -30
  275. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +489 -11
  276. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +166 -6
  277. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -160
  278. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +57 -28
  279. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +28 -28
  280. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +58 -76
  281. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +19 -18
  282. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +18 -25
  283. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +42 -126
  284. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +15 -53
  285. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +22 -34
  286. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +48 -24
  287. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +11 -34
  288. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +9 -31
  289. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +33 -4
  290. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
  291. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +16 -126
  292. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +44 -90
  293. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +8 -34
  294. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +45 -30
  295. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +45 -6
  296. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +31 -119
  297. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +28 -18
  298. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +43 -16
  299. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +25 -16
  300. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +74 -16
  301. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
  302. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +97 -16
  303. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +35 -72
  304. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +10 -16
  305. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +11 -16
  306. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +54 -16
  307. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +36 -3
  308. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +26 -11
  309. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +6 -16
  310. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +19 -47
  311. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +64 -9
  312. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
  313. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +17 -48
  314. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +20 -45
  315. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +13 -32
  316. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +16 -23
  317. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +12 -41
  318. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +66 -24
  319. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +21 -74
  320. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +110 -89
  321. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +79 -34
  322. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +2 -22
  323. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
  324. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +8 -64
  325. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +8 -16
  326. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +93 -18
  327. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +34 -12
  328. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +28 -14
  329. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +120 -11
  330. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +18 -67
  331. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -21
  332. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -118
  333. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +15 -81
  334. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +4 -4
  335. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
  336. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -2
  337. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +72 -9
  338. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +16 -11
  339. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -10
  340. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -11
  341. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +3 -7
  342. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -54
  343. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +31 -17
  344. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +4 -15
  345. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +125 -22
  346. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
  347. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +20 -48
  348. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +28 -11
  349. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +35 -66
  350. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +5 -47
  351. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +81 -24
  352. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +17 -22
  353. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +80 -79
  354. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +269 -17
  355. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +34 -81
  356. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +59 -263
  357. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
  358. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +42 -37
  359. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +22 -62
  360. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +140 -42
  361. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +92 -21
  362. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +10 -140
  363. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +2 -96
  364. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +283 -10
  365. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +49 -2
  366. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +15 -285
  367. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +65 -45
  368. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
  369. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +47 -15
  370. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +28 -5
  371. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +8 -10
  372. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +7 -28
  373. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +49 -33
  374. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -32
  375. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +17 -71
  376. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -86
  377. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +64 -50
  378. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +52 -49
  379. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
  380. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +37 -51
  381. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +42 -29
  382. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +35 -55
  383. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +13 -37
  384. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +18 -46
  385. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +49 -55
  386. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +55 -68
  387. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +33 -21
  388. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -48
  389. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +33 -42
  390. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
  391. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +15 -36
  392. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +93 -13
  393. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +16 -96
  394. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +75 -16
  395. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +22 -75
  396. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +9 -22
  397. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +57 -9
  398. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +70 -17
  399. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +21 -51
  400. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +38 -58
  401. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
  402. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +30 -29
  403. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +12 -33
  404. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +28 -53
  405. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +22 -81
  406. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +39 -8
  407. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -37
  408. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +38 -67
  409. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +46 -40
  410. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +80 -17
  411. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +71 -13
  412. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
  413. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +85 -32
  414. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +55 -85
  415. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +54 -24
  416. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +51 -101
  417. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +32 -111
  418. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +85 -75
  419. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +23 -67
  420. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +99 -33
  421. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +112 -12
  422. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +70 -24
  423. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
  424. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +68 -24
  425. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +38 -38
  426. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +64 -9
  427. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +9 -64
  428. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +1 -1
  429. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +51 -19
  430. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +53 -49
  431. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +35 -48
  432. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +17 -40
  433. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
  434. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
  435. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
  436. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
  437. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
  438. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
  439. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
  440. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
  441. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
  442. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
  443. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
  444. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
  445. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
  446. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +23 -23
  447. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +338 -286
  448. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +266 -202
  449. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopes.js +6 -0
  450. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
  451. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/card/cardPresentation.js +19 -0
  452. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/card/cardProgram.js +7 -0
  453. package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +24 -24
  454. package/dist/pending-feature-style-sources.d.ts +1 -3
  455. package/package.json +1 -1
@@ -0,0 +1,1006 @@
1
+ import * as React from 'react';
2
+ import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
3
+ import { FallbackProps } from 'react-error-boundary';
4
+
5
+ type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
6
+ children?: ReactNode;
7
+ };
8
+ type LinkComponent = ComponentType<LinkComponentProps>;
9
+ /**
10
+ * The UI frameworks a widget's UI layer can render with.
11
+ *
12
+ * - `shadcn` — the shadcn/Tailwind implementation. This is the default and the
13
+ * implicit fallback, so existing consumers that select nothing keep rendering
14
+ * shadcn.
15
+ * - `tecton` — the Tecton implementation.
16
+ *
17
+ * Declared as an `as const` object (not a TypeScript `enum`) per repo
18
+ * convention.
19
+ */
20
+ declare const UIFramework: {
21
+ readonly Shadcn: "shadcn";
22
+ readonly Tecton: "tecton";
23
+ };
24
+ type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
25
+
26
+ interface PaginationFooterLabels {
27
+ rowsPerPageLabel: string;
28
+ previousPageButton: string;
29
+ nextPageButton: string;
30
+ }
31
+
32
+ /**
33
+ * Every key of `T` optional, recursively, so a consumer can override one nested
34
+ * label without restating its siblings. Defined locally because the repo has no
35
+ * shared deep-partial type and does not depend on `type-fest`.
36
+ */
37
+ type PartialDeep$2<T> = {
38
+ [K in keyof T]?: T[K] extends object ? PartialDeep$2<T[K]> : T[K];
39
+ };
40
+ interface CardsListColumnHeaderLabels {
41
+ cardName: string;
42
+ fundingAccount: string;
43
+ cardholder: string;
44
+ status: string;
45
+ limit: string;
46
+ }
47
+ /**
48
+ * Screen-reader-only copy naming the details sheet a row click opens.
49
+ *
50
+ * Both strings are invisible by design: the sheet's visible header belongs to
51
+ * whatever the owner slots into it (`CardDetailsPanel`, via `CardsWidget`), and a
52
+ * second visible title would duplicate it. They exist because the sheet is a
53
+ * dialog, and a dialog without an accessible name is announced as nothing.
54
+ */
55
+ interface CardsListDetailsSheetLabels {
56
+ /** Accessible name for the sheet. */
57
+ title: string;
58
+ /** Accessible description, announced after the name. */
59
+ description: string;
60
+ }
61
+ /**
62
+ * Every user-facing string the cards list renders, including screen-reader-only
63
+ * copy and the decorative separators.
64
+ *
65
+ * There is intentionally **no** card-type or card-status map here: the row
66
+ * arrives with `typeLabel` and `statusLabel` already resolved, so the
67
+ * `DIGITAL`/`PHYSICAL` and `PENDING_ACTIVATION`/`ACTIVE`/`LOCKED`/`CLOSED` maps
68
+ * live in `shared/feature` keyed on the generated types (EMBD-4404 amendment;
69
+ * see `statusBadge.ts`). That is also where the "label keys carry the code term,
70
+ * values carry the copy" rule applies — `digital`, never `virtual`, so a later
71
+ * wording change is not a breaking rename.
72
+ */
73
+ interface CardsListLabels {
74
+ title: string;
75
+ /** Accessible name for the list region. */
76
+ regionLabel: string;
77
+ columnHeaders: CardsListColumnHeaderLabels;
78
+ /** Screen-reader name for the unheaded trailing row-actions column. */
79
+ rowActionsColumn: string;
80
+ showMyCardsToggle: string;
81
+ createCardButton: string;
82
+ activateButton: string;
83
+ /** Accessible name for a row's Activate button; the card name is appended. */
84
+ activateButtonForCard: string;
85
+ /** Accessible name for a row's open-details control; card name appended. */
86
+ selectCardButton: string;
87
+ /** Separator between a card's nickname and its last four digits. */
88
+ cardNameSeparator: string;
89
+ /** Stands in for the limit when a card has none set. */
90
+ noLimit: string;
91
+ /** Announced while a page of cards is loading. */
92
+ loadingLabel: string;
93
+ emptyTitle: string;
94
+ emptyDescription: string;
95
+ errorTitle: string;
96
+ errorDescription: string;
97
+ retryButton: string;
98
+ pagination: PaginationFooterLabels;
99
+ /**
100
+ * Copy for the details sheet a row click opens. Rendered by
101
+ * `CardsListDetailsSheet` rather than by the table, but part of this surface
102
+ * because it is one screen and one `labels` prop — the same reason `pagination`
103
+ * sits here for a footer that lives in `shared/ui`.
104
+ */
105
+ detailsSheet: CardsListDetailsSheetLabels;
106
+ }
107
+
108
+ type AuthToken = string | undefined;
109
+ interface Auth {
110
+ /**
111
+ * Which part of the request do we use to send the auth?
112
+ *
113
+ * @default 'header'
114
+ */
115
+ in?: 'header' | 'query' | 'cookie';
116
+ /**
117
+ * A unique identifier for the security scheme.
118
+ *
119
+ * Defined only when there are multiple security schemes whose `Auth`
120
+ * shape would otherwise be identical.
121
+ */
122
+ key?: string;
123
+ /**
124
+ * Header or query parameter name.
125
+ *
126
+ * @default 'Authorization'
127
+ */
128
+ name?: string;
129
+ scheme?: 'basic' | 'bearer';
130
+ type: 'apiKey' | 'http';
131
+ }
132
+
133
+ interface SerializerOptions<T> {
134
+ /**
135
+ * @default true
136
+ */
137
+ explode: boolean;
138
+ style: T;
139
+ }
140
+ type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
141
+ type ObjectStyle = 'form' | 'deepObject';
142
+
143
+ type QuerySerializer = (query: Record<string, unknown>) => string;
144
+ type BodySerializer = (body: unknown) => unknown;
145
+ type QuerySerializerOptionsObject = {
146
+ allowReserved?: boolean;
147
+ array?: Partial<SerializerOptions<ArrayStyle>>;
148
+ object?: Partial<SerializerOptions<ObjectStyle>>;
149
+ };
150
+ type QuerySerializerOptions = QuerySerializerOptionsObject & {
151
+ /**
152
+ * Per-parameter serialization overrides. When provided, these settings
153
+ * override the global array/object settings for specific parameter names.
154
+ */
155
+ parameters?: Record<string, QuerySerializerOptionsObject>;
156
+ };
157
+
158
+ type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
159
+ type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
160
+ /**
161
+ * Returns the final request URL.
162
+ */
163
+ buildUrl: BuildUrlFn;
164
+ getConfig: () => Config;
165
+ request: RequestFn;
166
+ setConfig: (config: Config) => Config;
167
+ } & {
168
+ [K in HttpMethod]: MethodFn;
169
+ } & ([SseFn] extends [never] ? {
170
+ sse?: never;
171
+ } : {
172
+ sse: {
173
+ [K in HttpMethod]: SseFn;
174
+ };
175
+ });
176
+ interface Config$1 {
177
+ /**
178
+ * Auth token or a function returning auth token. The resolved value will be
179
+ * added to the request payload as defined by its `security` array.
180
+ */
181
+ auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
182
+ /**
183
+ * A function for serializing request body parameter. By default,
184
+ * {@link JSON.stringify()} will be used.
185
+ */
186
+ bodySerializer?: BodySerializer | null;
187
+ /**
188
+ * An object containing any HTTP headers that you want to pre-populate your
189
+ * `Headers` object with.
190
+ *
191
+ * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
192
+ */
193
+ headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
194
+ /**
195
+ * The request method.
196
+ *
197
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
198
+ */
199
+ method?: Uppercase<HttpMethod>;
200
+ /**
201
+ * A function for serializing request query parameters. By default, arrays
202
+ * will be exploded in form style, objects will be exploded in deepObject
203
+ * style, and reserved characters are percent-encoded.
204
+ *
205
+ * This method will have no effect if the native `paramsSerializer()` Axios
206
+ * API function is used.
207
+ *
208
+ * {@link https://swagger.io/docs/specification/serialization/#query View examples}
209
+ */
210
+ querySerializer?: QuerySerializer | QuerySerializerOptions;
211
+ /**
212
+ * A function validating request data. This is useful if you want to ensure
213
+ * the request conforms to the desired shape, so it can be safely sent to
214
+ * the server.
215
+ */
216
+ requestValidator?: (data: unknown) => Promise<unknown>;
217
+ /**
218
+ * A function transforming response data before it's returned. This is useful
219
+ * for post-processing data, e.g., converting ISO strings into Date objects.
220
+ */
221
+ responseTransformer?: (data: unknown) => Promise<unknown>;
222
+ /**
223
+ * A function validating response data. This is useful if you want to ensure
224
+ * the response conforms to the desired shape, so it can be safely passed to
225
+ * the transformers and returned to the user.
226
+ */
227
+ responseValidator?: (data: unknown) => Promise<unknown>;
228
+ }
229
+
230
+ type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
231
+ /**
232
+ * Fetch API implementation. You can use this option to provide a custom
233
+ * fetch instance.
234
+ *
235
+ * @default globalThis.fetch
236
+ */
237
+ fetch?: typeof fetch;
238
+ /**
239
+ * Implementing clients can call request interceptors inside this hook.
240
+ */
241
+ onRequest?: (url: string, init: RequestInit) => Promise<Request>;
242
+ /**
243
+ * Callback invoked when a network or parsing error occurs during streaming.
244
+ *
245
+ * This option applies only if the endpoint returns a stream of events.
246
+ *
247
+ * @param error The error that occurred.
248
+ */
249
+ onSseError?: (error: unknown) => void;
250
+ /**
251
+ * Callback invoked when an event is streamed from the server.
252
+ *
253
+ * This option applies only if the endpoint returns a stream of events.
254
+ *
255
+ * @param event Event streamed from the server.
256
+ * @returns Nothing (void).
257
+ */
258
+ onSseEvent?: (event: StreamEvent<TData>) => void;
259
+ serializedBody?: RequestInit['body'];
260
+ /**
261
+ * Default retry delay in milliseconds.
262
+ *
263
+ * This option applies only if the endpoint returns a stream of events.
264
+ *
265
+ * @default 3000
266
+ */
267
+ sseDefaultRetryDelay?: number;
268
+ /**
269
+ * Maximum number of retry attempts before giving up.
270
+ */
271
+ sseMaxRetryAttempts?: number;
272
+ /**
273
+ * Maximum retry delay in milliseconds.
274
+ *
275
+ * Applies only when exponential backoff is used.
276
+ *
277
+ * This option applies only if the endpoint returns a stream of events.
278
+ *
279
+ * @default 30000
280
+ */
281
+ sseMaxRetryDelay?: number;
282
+ /**
283
+ * Optional sleep function for retry backoff.
284
+ *
285
+ * Defaults to using `setTimeout`.
286
+ */
287
+ sseSleepFn?: (ms: number) => Promise<void>;
288
+ url: string;
289
+ };
290
+ interface StreamEvent<TData = unknown> {
291
+ data: TData;
292
+ event?: string;
293
+ id?: string;
294
+ retry?: number;
295
+ }
296
+ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
297
+ stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
298
+ };
299
+
300
+ type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
301
+ /** response may be undefined due to a network error where no response object is produced */
302
+ response: Res | undefined,
303
+ /** request may be undefined, because error may be from building the request object itself */
304
+ request: Req | undefined, options: Options) => Err | Promise<Err>;
305
+ type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
306
+ type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
307
+ declare class Interceptors<Interceptor> {
308
+ fns: Array<Interceptor | null>;
309
+ clear(): void;
310
+ eject(id: number | Interceptor): void;
311
+ exists(id: number | Interceptor): boolean;
312
+ getInterceptorIndex(id: number | Interceptor): number;
313
+ update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
314
+ use(fn: Interceptor): number;
315
+ }
316
+ interface Middleware<Req, Res, Err, Options> {
317
+ error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
318
+ request: Interceptors<ReqInterceptor<Req, Options>>;
319
+ response: Interceptors<ResInterceptor<Res, Req, Options>>;
320
+ }
321
+
322
+ type ResponseStyle = 'data' | 'fields';
323
+ interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
324
+ /**
325
+ * Base URL for all requests made by this client.
326
+ */
327
+ baseUrl?: T['baseUrl'];
328
+ /**
329
+ * Fetch API implementation. You can use this option to provide a custom
330
+ * fetch instance.
331
+ *
332
+ * @default globalThis.fetch
333
+ */
334
+ fetch?: typeof fetch;
335
+ /**
336
+ * Please don't use the Fetch client for Next.js applications. The `next`
337
+ * options won't have any effect.
338
+ *
339
+ * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
340
+ */
341
+ next?: never;
342
+ /**
343
+ * Return the response data parsed in a specified format. By default, `auto`
344
+ * will infer the appropriate method from the `Content-Type` response header.
345
+ * You can override this behavior with any of the {@link Body} methods.
346
+ * Select `stream` if you don't want to parse response data at all.
347
+ *
348
+ * @default 'auto'
349
+ */
350
+ parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
351
+ /**
352
+ * Should we return only data or multiple fields (data, error, response, etc.)?
353
+ *
354
+ * @default 'fields'
355
+ */
356
+ responseStyle?: ResponseStyle;
357
+ /**
358
+ * Throw an error instead of returning it in the response?
359
+ *
360
+ * @default false
361
+ */
362
+ throwOnError?: T['throwOnError'];
363
+ }
364
+ interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
365
+ responseStyle: TResponseStyle;
366
+ throwOnError: ThrowOnError;
367
+ }>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
368
+ /**
369
+ * Any body that you want to add to your request.
370
+ *
371
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
372
+ */
373
+ body?: unknown;
374
+ path?: Record<string, unknown>;
375
+ query?: Record<string, unknown>;
376
+ /**
377
+ * Security mechanism(s) to use for the request.
378
+ */
379
+ security?: ReadonlyArray<Auth>;
380
+ url: Url;
381
+ }
382
+ interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
383
+ headers: Headers;
384
+ serializedBody?: string;
385
+ }
386
+ type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
387
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
388
+ request: Request;
389
+ response: Response;
390
+ }> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
391
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
392
+ error: undefined;
393
+ } | {
394
+ data: undefined;
395
+ error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
396
+ }) & {
397
+ /** request may be undefined, because error may be from building the request object itself */
398
+ request?: Request;
399
+ /** response may be undefined, because error may be from building the request object itself or from a network error */
400
+ response?: Response;
401
+ }>;
402
+ interface ClientOptions$1 {
403
+ baseUrl?: string;
404
+ responseStyle?: ResponseStyle;
405
+ throwOnError?: boolean;
406
+ }
407
+ type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
408
+ type SseFn = <TData = unknown, _TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData>>;
409
+ type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
410
+ type BuildUrlFn = <TData extends {
411
+ body?: unknown;
412
+ path?: Record<string, unknown>;
413
+ query?: Record<string, unknown>;
414
+ url: string;
415
+ }>(options: TData & Options<TData>) => string;
416
+ type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
417
+ interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
418
+ };
419
+ interface TDataShape {
420
+ body?: unknown;
421
+ headers?: unknown;
422
+ path?: unknown;
423
+ query?: unknown;
424
+ url: string;
425
+ }
426
+ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
427
+ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
428
+
429
+ type ClientOptions = {
430
+ baseUrl: 'https://api.stage.tesouro.com' | 'https://api.sandbox.stage.tesouro.com' | 'https://api.stage.business-banking.app' | 'https://api.tesouro.com' | 'https://api.sandbox.tesouro.com' | 'https://api.business-banking.app' | (string & {});
431
+ };
432
+ type CreditCardStatus = 'PENDING_ACTIVATION' | 'ACTIVE' | 'LOCKED' | 'CLOSED';
433
+ type CreditCardType = 'DIGITAL' | 'PHYSICAL';
434
+
435
+ type EmbeddedClient = Client;
436
+ type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
437
+ type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
438
+
439
+ /**
440
+ * The implementation a widget renders with.
441
+ *
442
+ * - `native` — the Tesouro-native implementation. This is the default and the
443
+ * implicit fallback, so consumers that select nothing keep rendering native.
444
+ * - `monite` — the Monite SDK implementation.
445
+ *
446
+ * Declared as an `as const` object (not a TypeScript `enum`) per repo
447
+ * convention.
448
+ */
449
+ declare const Implementation: {
450
+ readonly Native: "native";
451
+ readonly Monite: "monite";
452
+ };
453
+ type Implementation = (typeof Implementation)[keyof typeof Implementation];
454
+ /**
455
+ * The settable fields of the widget config cascade.
456
+ *
457
+ * This is the type accepted by {@link setGlobalWidgetConfig} and all provider props.
458
+ * It intentionally excludes `initResponse`, which is populated automatically by the
459
+ * provider after a successful fetch and must never be set manually.
460
+ *
461
+ * The `null` vs `undefined` distinction on `widgetToken` and `organizationId` is intentional:
462
+ * - `undefined` — not set at this level; inherit from the nearest ancestor or global store.
463
+ * - `null` — explicitly cleared; downstream sees "no value" even if an ancestor had one
464
+ * (e.g. after logout or deliberate de-scoping).
465
+ *
466
+ * @see {@link WidgetConfig} for the resolved output type (includes `initResponse`)
467
+ * @see {@link RootWidgetProvider}
468
+ * @see {@link WidgetProvider}
469
+ * @see {@link setGlobalWidgetConfig}
470
+ */
471
+ interface WidgetConfigInput {
472
+ /**
473
+ * Base URL of the Tesouro embedded API (e.g. `"https://api.tesouro.com"`).
474
+ *
475
+ * When omitted the nearest ancestor's `baseUrl` or the global store value is used.
476
+ * Changing this recreates the underlying HTTP client so all subsequent requests
477
+ * go to the new host.
478
+ */
479
+ baseUrl?: BaseUrl;
480
+ /**
481
+ * Bearer token used to authenticate widget requests.
482
+ *
483
+ * Injected as `Authorization: Bearer <token>` on every outgoing request via an
484
+ * interceptor on the scoped HTTP client. Token updates are picked up immediately
485
+ * without recreating the client.
486
+ *
487
+ * - `string` — send this token on all requests from this level downward.
488
+ * - `null` — explicitly cleared; no auth header is sent and fetching is suppressed.
489
+ * - `undefined` — not set at this level; inherit from the nearest ancestor or global store.
490
+ */
491
+ widgetToken?: string | null;
492
+ /**
493
+ * Organization ID forwarded as the `x-organization-id` request header.
494
+ *
495
+ * Passed through {@link EmbedApiProvider} context rather than the auth interceptor,
496
+ * so individual data-access hooks can opt in per-request.
497
+ *
498
+ * - `string` — use this organization for downstream data requests.
499
+ * - `null` — explicitly cleared; queries that require an org ID will be disabled.
500
+ * - `undefined` — not set at this level; inherit from the nearest ancestor or global store.
501
+ *
502
+ * When `undefined` across the **whole** cascade (no prop, no ancestor, no global
503
+ * value), the resolved org defaults to the loaded `initResponse.organizationId`
504
+ * (see {@link WidgetConfig.initResponse}) once the widget-init fetch settles. This
505
+ * is the lowest-priority fallback — any explicit `string` or `null` at any cascade
506
+ * level wins, and an explicit `null` is preserved and never falls back.
507
+ *
508
+ * Only an **explicit** ancestor org is inherited. An ancestor's *init-derived*
509
+ * default does not propagate into a descendant that owns its own fetch (its own
510
+ * `baseUrl`/`widgetToken`); such a descendant defaults to its own
511
+ * `initResponse.organizationId` instead, so it never sends an ancestor's org with
512
+ * its own token.
513
+ */
514
+ organizationId?: string | null;
515
+ /**
516
+ * Optional post-creation hook for the scoped HTTP client.
517
+ *
518
+ * Called once after the provider creates its scoped {@link EmbeddedClient} and
519
+ * applies the built-in `Authorization: Bearer` interceptor. Receives the
520
+ * fully-configured client and must return the client to be used for the lifetime of
521
+ * this provider level — either the same instance (with additional interceptors
522
+ * attached) or a new client entirely.
523
+ *
524
+ * **Order:** The built-in auth interceptor is always applied first. `configClient`
525
+ * is called on top of it, so any interceptors you add here run after auth is set.
526
+ *
527
+ * **Any prop triggers a scoped client.** A {@link WidgetProvider} creates its own
528
+ * scoped client whenever any prop is set — including `configClient` alone, without
529
+ * `baseUrl` or `widgetToken`. Only a fully props-free pass-through provider skips
530
+ * client creation and never calls this function.
531
+ *
532
+ * **Stability:** The function reference is included in the client creation memo's
533
+ * dependency array. Passing an unstable (inline) function recreates the client on
534
+ * every render. Stabilize with `useCallback` or define the function outside the
535
+ * component.
536
+ *
537
+ * **Cascade:** Inherits from the nearest ancestor when `undefined`. A child
538
+ * {@link WidgetProvider} that creates its own scoped client will use the resolved
539
+ * `configClient` from the cascade unless it provides its own override.
540
+ *
541
+ * @example
542
+ * ```tsx
543
+ * const addLogging = useCallback(
544
+ * (client: EmbeddedClient) => {
545
+ * client.interceptors.request.use((req) => {
546
+ * console.log('[widget]', req.method, req.url);
547
+ * return req;
548
+ * });
549
+ * return client;
550
+ * },
551
+ * [],
552
+ * );
553
+ *
554
+ * <RootWidgetProvider
555
+ * baseUrl="https://api.tesouro.com"
556
+ * widgetToken={token}
557
+ * configClient={addLogging}
558
+ * >
559
+ * <App />
560
+ * </RootWidgetProvider>
561
+ * ```
562
+ */
563
+ configClient?: (client: EmbeddedClient) => EmbeddedClient;
564
+ /**
565
+ * Component the embedded widgets should render in place of plain `<a>` tags.
566
+ *
567
+ * Pass e.g. Next.js's `Link` to make in-app navigation use the host router.
568
+ * Cascades like other config: provider prop > nearest ancestor > global store.
569
+ * When no value is set anywhere, widgets fall back to a plain `<a>` element.
570
+ */
571
+ linkComponent?: LinkComponent;
572
+ /**
573
+ * Which UI framework the widget UI layer should render with.
574
+ *
575
+ * Lets a consuming context bind widgets to either the shadcn/Tailwind or the
576
+ * Tecton implementation behind the same outward-facing API. The selection is
577
+ * a presentation concern only — it cascades through the provider tree exactly
578
+ * like {@link linkComponent} and is read by UI libraries via `useUIFramework`;
579
+ * it never appears in any widget's feature-library or component props.
580
+ *
581
+ * - `'shadcn'` — the shadcn/Tailwind implementation.
582
+ * - `'tecton'` — the Tecton implementation.
583
+ * - `null` / `undefined` — not set at this level; inherit from the nearest
584
+ * ancestor or global store, falling back to `shadcn` when unset everywhere.
585
+ * `shadcn` is the implicit default, so existing consumers need no changes.
586
+ */
587
+ uiFramework?: UIFramework | null;
588
+ /**
589
+ * Which implementation a widget renders with.
590
+ *
591
+ * Lets a consuming context bind widgets to either the Tesouro-native or the
592
+ * Monite SDK implementation behind the same outward-facing API. It cascades
593
+ * through the provider tree exactly like {@link linkComponent} and
594
+ * {@link uiFramework} — provider prop > nearest ancestor > global store — and
595
+ * is read via `useImplementation`.
596
+ *
597
+ * - `'native'` — the Tesouro-native implementation.
598
+ * - `'monite'` — the Monite SDK implementation.
599
+ * - `null` / `undefined` — not set at this level; inherit from the nearest
600
+ * ancestor or global store, falling back to `native` when unset everywhere.
601
+ * `native` is the implicit default, so existing consumers need no changes.
602
+ */
603
+ implementation?: Implementation | null;
604
+ }
605
+ /**
606
+ * Props shared by every analytics-owner-capable widget provider.
607
+ *
608
+ * Combines the full settable cascade ({@link WidgetConfigInput}) with the
609
+ * analytics opt-out honored by analytics owners. Both {@link RootWidgetProvider}
610
+ * and {@link WidgetProvider} build their public props on top of this; the latter
611
+ * adds error-boundary props of its own.
612
+ *
613
+ * @see {@link WidgetConfigInput} for per-field cascade and `null` vs omitted semantics
614
+ */
615
+ interface WidgetProviderBaseProps extends WidgetConfigInput {
616
+ /**
617
+ * Opt out of all analytics capture and prevent PostHog from loading. Default `true`.
618
+ *
619
+ * Honored only by an analytics **owner** — a {@link RootWidgetProvider} or a
620
+ * standalone {@link WidgetProvider} with no parent provider. When `false`,
621
+ * owner-bound `track` calls in this subtree become no-ops and the PostHog
622
+ * installer is never dynamically imported for this owner's environment.
623
+ * Setting it on a nested {@link WidgetProvider} is ignored in v1 (a one-time
624
+ * `console.warn` is emitted to make the no-op discoverable).
625
+ */
626
+ analytics?: boolean;
627
+ }
628
+
629
+ /**
630
+ * Props for {@link WidgetProvider}.
631
+ *
632
+ * All fields are optional. When **all** are omitted the provider is a transparent
633
+ * pass-through: no fetch is issued and all resolved values cascade unchanged from
634
+ * the nearest ancestor.
635
+ */
636
+ interface WidgetProviderProps extends WidgetProviderBaseProps {
637
+ /**
638
+ * Fallback rendered when a render-time exception is caught inside this
639
+ * provider's subtree. Pass either a `ReactNode` (rendered directly) or a
640
+ * render-prop receiving `{ error, resetErrorBoundary }` from
641
+ * `react-error-boundary`. Default is a plain `role="alert"` div with
642
+ * generic copy from `DEFAULT_LABELS.errorBoundaryFallback`.
643
+ */
644
+ errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
645
+ /**
646
+ * Called once when the boundary catches an error, before the fallback
647
+ * renders. Use for telemetry / Sentry / partner logging. Exceptions
648
+ * thrown from `onError` propagate per `react-error-boundary` semantics.
649
+ */
650
+ onError?: (error: unknown, info: ErrorInfo) => void;
651
+ }
652
+
653
+ /**
654
+ * Which issuing product a card belongs to. A card list shows exactly one
655
+ * program at a time, and the value selects the endpoint the data-access layer
656
+ * calls: `credit` → `/embedded-banking/v1/credit-cards`, `debit` →
657
+ * `/embedded-banking/v1/debit-cards`.
658
+ *
659
+ * Defined here rather than in either widget because `CardsWidget` and
660
+ * `CardDetailsWidget` both publish it as a required public prop. Declared
661
+ * inline in each, the literal would become public API twice with no single
662
+ * definition — and `cards-widget/ui` ↔ `card-details-widget/ui` imports are
663
+ * lint-banned while the reverse feature import would be an Nx cycle, so
664
+ * `shared/feature` is the only home that serves both without duplication.
665
+ *
666
+ * Deliberately **not** the generated `CardTypeEnum` (`credit | debit | prepaid
667
+ * | unknown`), which greps as an exact match for this concept but belongs to
668
+ * the unrelated snake_case third-party schema family (its sibling fields are
669
+ * `card_type`, `last4`, `background_color`) and carries two members neither
670
+ * widget supports. In this codebase "card type" is the DIGITAL/PHYSICAL form
671
+ * factor instead — see `CardType` in `./cardPresentation`.
672
+ *
673
+ * Const-object-plus-type rather than a bare union, mirroring `UIFramework` in
674
+ * `shared/ui` — the other two-member literal that ships as a public prop type.
675
+ */
676
+ declare const CardProgram: {
677
+ readonly Credit: "credit";
678
+ readonly Debit: "debit";
679
+ };
680
+ type CardProgram = (typeof CardProgram)[keyof typeof CardProgram];
681
+
682
+ /**
683
+ * A card's lifecycle status, program-agnostic. Aliases the credit union because
684
+ * one of the two has to be the base; the parity assertions below are what keep
685
+ * that choice arbitrary.
686
+ */
687
+ type CardStatus = CreditCardStatus;
688
+ /**
689
+ * A card's physical form factor — the codebase's meaning of "card type". The
690
+ * credit/debit axis is `CardProgram`, not this.
691
+ */
692
+ type CardType = CreditCardType;
693
+
694
+ /** Accessible copy for the panel header's controls. */
695
+ interface CardDetailsHeaderLabels {
696
+ /** Fallback title when the card has no nickname. */
697
+ untitledCard: string;
698
+ /** Accessible name for the kebab that opens the card actions menu. */
699
+ menuTriggerAriaLabel: string;
700
+ /** Accessible name for the close (X) control. */
701
+ closeAriaLabel: string;
702
+ }
703
+ /** Accessible copy for the simplified card face. */
704
+ interface CardDetailsCardFaceLabels {
705
+ /** Alt text for the bank logo when the caller supplies no `bankLogoAlt`. */
706
+ bankLogoAlt: string;
707
+ }
708
+ /** Row headings and per-row copy affordance names for the details table. */
709
+ interface CardDetailsFieldLabels {
710
+ cardholder: string;
711
+ nickname: string;
712
+ billingAddress: string;
713
+ allowedCategories: string;
714
+ /** Stands in for a row whose value the card does not carry. */
715
+ emptyValue: string;
716
+ copyCardholderAriaLabel: string;
717
+ copyNicknameAriaLabel: string;
718
+ copyBillingAddressAriaLabel: string;
719
+ }
720
+ /** Copy for the three non-loaded screens. */
721
+ interface CardDetailsStatusScreenLabels {
722
+ /** Accessible name announced while the panel is loading. */
723
+ loadingAriaLabel: string;
724
+ errorTitle: string;
725
+ errorDescription: string;
726
+ errorRetry: string;
727
+ notFoundTitle: string;
728
+ notFoundDescription: string;
729
+ }
730
+ interface CardDetailsPanelLabels {
731
+ header: CardDetailsHeaderLabels;
732
+ cardFace: CardDetailsCardFaceLabels;
733
+ fields: CardDetailsFieldLabels;
734
+ status: CardDetailsStatusScreenLabels;
735
+ }
736
+
737
+ /**
738
+ * Deep partial for label overrides.
739
+ *
740
+ * Both label surfaces this widget exposes have nested groups, and a shallow
741
+ * `Partial` would let a consumer who overrides one nested string drop the rest
742
+ * of that group. The repo has no shared `PartialDeep` and does not depend on
743
+ * `type-fest`, so each labels module defines its own — `card-details-widget/ui`
744
+ * has an identical one for the panel's labels, and this declaration also types
745
+ * that prop here so the widget carries one such helper rather than two.
746
+ */
747
+ type PartialDeep$1<T> = {
748
+ [K in keyof T]?: T[K] extends object ? PartialDeep$1<T[K]> : T[K];
749
+ };
750
+ /**
751
+ * Copy the **feature** layer owns, as opposed to the panel's own
752
+ * `CardDetailsPanelLabels`.
753
+ *
754
+ * The split follows where the string is resolved, not where it is painted. A
755
+ * status badge word is chosen by mapping a generated `cardStatus` enum member,
756
+ * which is a data-access-typed decision the presentational layer is not allowed
757
+ * to make — so it is overridable here even though the panel renders it. The
758
+ * panel's own labels stay with the panel.
759
+ */
760
+ interface CardDetailsFeatureLabels {
761
+ /** Confirmation toast after a copy affordance writes to the clipboard. */
762
+ copySuccessToast: string;
763
+ /** Program wording on the card face, keyed on the widget's `cardProgram`. */
764
+ programLabels: Record<CardProgram, string>;
765
+ /** Status badge wording, keyed on the generated card status. */
766
+ statusLabels: Record<CardStatus, string>;
767
+ /** Form-factor subtitle wording, keyed on the generated card type. */
768
+ formFactorLabels: Record<CardType, string>;
769
+ }
770
+
771
+ interface CardDetailsWidgetProps extends WidgetProviderProps {
772
+ /** Id of the card to show. */
773
+ cardId: string;
774
+ /**
775
+ * Which issuing product `cardId` belongs to. **Required, with no default** —
776
+ * it selects the endpoint the card is fetched from, and a wrong guess would
777
+ * 404 a card that exists. `CardsWidget` publishes the same required prop, so
778
+ * one value configures a list and its detail panel together.
779
+ *
780
+ * A JavaScript consumer, or a host passing a route param straight through, can
781
+ * still get a value past the type. **There is no catch-all and no default:**
782
+ * anything that is not explicitly one of the two programs fetches nothing and
783
+ * renders the panel's error state with no retry, and the reason is named on the
784
+ * console. That covers an absent prop (`undefined` / `null`) as well as an
785
+ * unrecognised one (`'prepaid'`, a case-wrong `'Credit'`), because the widget
786
+ * cannot know which product to ask about in either case.
787
+ *
788
+ * A host that resolves the program asynchronously should gate its own render on
789
+ * it rather than mounting this widget without it — an absent program is not
790
+ * read as "still loading".
791
+ */
792
+ cardProgram: CardProgram;
793
+ /**
794
+ * Called when the header's close control is pressed. Omitting it renders no
795
+ * close control at all: a standalone card page has nothing to close back to,
796
+ * while a host rendering the panel in a drawer supplies this and suppresses
797
+ * its own chrome's close button so the two do not sit side by side.
798
+ */
799
+ onClose?: () => void;
800
+ /** Overrides for the panel's own copy. */
801
+ labels?: PartialDeep$1<CardDetailsPanelLabels>;
802
+ /** Overrides for the copy this layer resolves — see `CardDetailsFeatureLabels`. */
803
+ featureLabels?: PartialDeep$1<CardDetailsFeatureLabels>;
804
+ /**
805
+ * Bank logo for the card face. The widget ships no bank artwork of its own and
806
+ * resolves none from the init response: an embeddable library must not depend
807
+ * on a Tesouro-hosted asset a host page's content-security policy can block,
808
+ * and a bundled bank-name→URL table would put internal CDN links in the
809
+ * published package (PLAT-1179, embedded ADR 0005). Omit it and the card face
810
+ * renders without a logo rather than with a placeholder.
811
+ */
812
+ bankLogoSrc?: string;
813
+ bankLogoAlt?: string;
814
+ }
815
+
816
+ /**
817
+ * Every key of `T` optional, recursively, so a consumer can override one nested
818
+ * label without restating its siblings. Defined locally because the repo has no
819
+ * shared deep-partial type and does not depend on `type-fest` — same helper the
820
+ * two card `ui` libs declare.
821
+ */
822
+ type PartialDeep<T> = {
823
+ [K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
824
+ };
825
+ /**
826
+ * Strings this layer produces rather than passes through.
827
+ *
828
+ * They are separate from `CardsListLabels` (the `ui` lib's) because the cells
829
+ * reaching that library are already formatted: the em-dash, the nickname
830
+ * fallback and the "Viewing" prefix are all written *here*, so the UI lib has
831
+ * no key to override them with. `bank-accounts-widget`'s `featureLabels` is the
832
+ * precedent for the split.
833
+ *
834
+ * The status and form-factor maps live here for the same reason. EMBD-4503's
835
+ * amendment put them in `shared/feature` keyed on the generated unions, and the
836
+ * row arrives with `statusLabel` / `typeLabel` resolved — so this is the only
837
+ * layer a consumer could reach them through.
838
+ */
839
+ interface CardsFeatureLabels {
840
+ /**
841
+ * Stands in for a cell the card program carries no value for — credit has no
842
+ * funding account, and a debit card's funding account is unresolvable without
843
+ * the bank-account read scope.
844
+ */
845
+ emptyValue: string;
846
+ /** Name shown for a card with no nickname set. */
847
+ untitledCard: string;
848
+ /**
849
+ * Last-resort name for a funding account with neither a nickname nor an
850
+ * account number to mask. An account with no nickname shows `••••1234`
851
+ * instead, so that two unnamed accounts stay distinguishable — this is only
852
+ * for the case where there is nothing at all to show.
853
+ */
854
+ untitledFundingAccount: string;
855
+ /** Display copy per card lifecycle status; keys are the generated code terms. */
856
+ cardStatus: Record<CardStatus, string>;
857
+ /** Display copy per card form factor; keys are the generated code terms. */
858
+ cardType: Record<CardType, string>;
859
+ }
860
+
861
+ interface CardsWidgetPagination {
862
+ /** Cursor for the page on screen. Omit for the first page. */
863
+ paginationToken?: string;
864
+ /** Number of rows requested per page. */
865
+ pageSize: number;
866
+ }
867
+ interface CardsWidgetPaginationInput {
868
+ paginationToken?: string;
869
+ pageSize?: number;
870
+ }
871
+
872
+ interface CardsWidgetProps extends WidgetProviderProps {
873
+ /**
874
+ * Which issuing program the list shows — `'credit'` or `'debit'`.
875
+ *
876
+ * **Required, with no default.** A cards list shows exactly one program, and
877
+ * the value selects the endpoint that is read as well as which scopes gate the
878
+ * affordances. Defaulting it would make the choice invisible at the call site
879
+ * and would silently pick a program for a host that meant the other one.
880
+ */
881
+ cardProgram: CardProgram;
882
+ /**
883
+ * Controlled cursor/page-size metadata. Supply with `onPaginationChange` when
884
+ * a host owns the list position, e.g. URL-backed pagination.
885
+ */
886
+ pagination?: CardsWidgetPaginationInput;
887
+ /**
888
+ * Initial cursor/page-size metadata for uncontrolled usage. Omit for first
889
+ * page with the default page size. Ignored when `pagination` is supplied.
890
+ */
891
+ defaultPagination?: CardsWidgetPaginationInput;
892
+ /**
893
+ * Called whenever the widget changes its cursor/page-size pair through pagination
894
+ * controls or a cursor-invalidating reset such as page-size changes. Hosts that
895
+ * persist list position should store this whole object, not the token alone.
896
+ */
897
+ onPaginationChange?: (pagination: CardsWidgetPagination) => void;
898
+ /**
899
+ * Overrides for the list's own copy, merged per nested group. Typed with the
900
+ * `ui` lib's own deep-partial helper (each labels module declares one — the
901
+ * repo has no shared version) so this prop follows that library's contract.
902
+ */
903
+ labels?: PartialDeep$2<CardsListLabels>;
904
+ /**
905
+ * Overrides for the copy this layer produces rather than passes through — the
906
+ * status and form-factor vocabulary, the empty-cell placeholder, the nickname
907
+ * fallbacks, and the pagination range prefix. Separate from `labels` because
908
+ * the list library receives those values already formatted and so has no key
909
+ * for them; `BankAccountsWidget.featureLabels` is the same split.
910
+ */
911
+ featureLabels?: PartialDeep<CardsFeatureLabels>;
912
+ /**
913
+ * The card whose details panel is open. Supply with `onSelectedCardIdChange`
914
+ * when the host owns that state — a deep-linked `/cards/[id]`, say. `null`
915
+ * closes the panel; omit the prop for uncontrolled behaviour.
916
+ *
917
+ * Pinning it to `null` and navigating from `onSelectedCardIdChange` is how a
918
+ * host suppresses the built-in panel entirely and owns navigation itself: the
919
+ * click is still reported, and because the value never comes back non-null,
920
+ * nothing ever opens.
921
+ */
922
+ selectedCardId?: string | null;
923
+ /** Initial selection when uncontrolled. Ignored when `selectedCardId` is supplied. */
924
+ defaultSelectedCardId?: string | null;
925
+ /**
926
+ * Called whenever the open card changes, including on close (`null`).
927
+ *
928
+ * Supplying it does **not** change what renders — a host can observe row clicks
929
+ * for analytics, or mirror the selection into a query param, and still get the
930
+ * built-in panel. (The removed `onCardSelect` could not: its presence
931
+ * suppressed the panel, so those two intents were unexpressible together.)
932
+ */
933
+ onSelectedCardIdChange?: (cardId: string | null) => void;
934
+ /**
935
+ * Label overrides forwarded into the nested card details panel, mirroring
936
+ * `BankAccountsWidgetProps.accountDetailsLabels`.
937
+ *
938
+ * Derived from the receiving prop rather than restated, so the forwarded and
939
+ * received types cannot drift. Naming the panel's labels type directly is not
940
+ * an option anyway: a cross-widget `type:ui` import is banned by
941
+ * `EMBEDDED_DEP_CONSTRAINTS`, and this indexed access reaches it through the
942
+ * sanctioned feature → feature edge without re-exporting anything. It already
943
+ * carries `card-details-widget`'s own deep partial, so no wrapper here.
944
+ */
945
+ cardDetailsLabels?: CardDetailsWidgetProps['labels'];
946
+ /**
947
+ * Overrides for the copy the panel's *feature* layer resolves — its status
948
+ * vocabulary, form-factor wording, program label and copy-success toast.
949
+ *
950
+ * Distinct from `featureLabels`, which covers the list's own vocabulary.
951
+ * Without this prop the panel is unreachable for that copy, so a host that
952
+ * renames a status in the list would still read the default inside the panel.
953
+ */
954
+ cardDetailsFeatureLabels?: CardDetailsWidgetProps['featureLabels'];
955
+ /**
956
+ * Bank logo for the details panel's card face. Forwarded verbatim; the panel
957
+ * renders no logo without it, so omitting these leaves the built-in sheet
958
+ * showing a logo-less card rather than a placeholder.
959
+ *
960
+ * These stay props because the package ships no bank artwork and resolves none
961
+ * from the init response (PLAT-1179, embedded ADR 0005).
962
+ */
963
+ bankLogoSrc?: string;
964
+ bankLogoAlt?: string;
965
+ /**
966
+ * Called when Create card is clicked. The button renders only when the widget
967
+ * token also holds the program's issue scope.
968
+ *
969
+ * The widget deliberately implements no creation flow: `POST /credit-cards`
970
+ * exists but has no designed flow in EMBD-4398, and debit has no create
971
+ * endpoint at all despite `debit_card:issue:org` being a real scope. So the
972
+ * gesture is handed to the host, and omitting the callback hides the button
973
+ * rather than offering a control that does nothing.
974
+ */
975
+ onCreateCard?: () => void;
976
+ /**
977
+ * Called with the card's id when a row's Activate button is clicked. The button
978
+ * renders only on cards in `PENDING_ACTIVATION`, and only when the widget token
979
+ * also holds the program's activate scope.
980
+ *
981
+ * Host-owned for the same reason as `onCreateCard`: EMBD-4398 designs no
982
+ * activation flow, and `POST /debit-cards/{id}/activate` does not exist even
983
+ * though `debit_card:activate:org` does — so a built-in flow could serve only
984
+ * one of the two programs.
985
+ */
986
+ onActivateCard?: (cardId: string) => void;
987
+ }
988
+ /**
989
+ * The cards list widget: one page of an organization's credit or debit cards,
990
+ * with scope-gated Show my cards, Create card and per-row Activate affordances.
991
+ *
992
+ * Selecting a row opens that card's read-only details in a sheet, composed from
993
+ * `CardDetailsWidget` over the sanctioned feature → feature edge. Which card is
994
+ * open is a controllable value (`selectedCardId` / `defaultSelectedCardId` /
995
+ * `onSelectedCardIdChange`) so a host can deep-link into it, mirror it into a
996
+ * query param, or take navigation over entirely — the widget itself reads no
997
+ * router and no search params.
998
+ *
999
+ * A pure provider wrapper — every hook lives in `CardsWidgetInner` so it runs
1000
+ * inside `WidgetProvider`'s subtree, which is what the data-access hooks read
1001
+ * their client, org and token from.
1002
+ */
1003
+ declare function CardsWidget({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CardsWidgetProps): React.JSX.Element;
1004
+
1005
+ export { CardsWidget };
1006
+ export type { CardsFeatureLabels as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps };