@tesouro/embedded-components-react 0.2.206 → 0.2.211
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.
- package/README.md +40 -0
- package/dist/index.d.ts +469 -313
- package/dist/index.js +111 -107
- package/dist/lib/CardDetailsWidget.d.ts +750 -0
- package/dist/lib/CardDetailsWidget.js +20 -0
- package/dist/lib/CardsWidget.d.ts +1006 -0
- package/dist/lib/CardsWidget.js +20 -0
- package/dist/lib/ReceivablesWidget.js +26 -26
- package/dist/lib/WidgetProvider.d.ts +14 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index5.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index3.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index4.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index5.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index2.js +141 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index3.js +53 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index4.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index5.js +82 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index6.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsHeader.js +56 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsPanel.js +156 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardFace.js +49 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/DetailCopyRow.js +38 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/labels.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/statusBadge.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/testIds.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index3.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index2.js +117 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index3.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index4.js +46 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index5.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index6.js +260 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index7.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js +91 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardFaceSwatch.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +138 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListDetailsSheet.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +60 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js +77 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/statusBadge.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/types.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index9.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1270 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +27 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +80 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +36 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +77 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +6 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +114 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +65 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +9 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +30 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +10 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +26 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +118 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +217 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +46 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +11 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +150 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +57 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +69 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +24 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +64 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +97 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +57 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +9 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +42 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +75 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +14 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +26 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +80 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +28 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +7 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +228 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +467 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +104 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +537 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +24 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +94 -226
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +90 -459
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +14 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +11 -536
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +146 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +83 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +21 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +183 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +23 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +36 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +49 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +82 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +34 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +66 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +360 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +2 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +117 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +6 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +19 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +19 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +54 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +23 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +35 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +36 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +13 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +30 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +17 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +107 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +18 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +59 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +30 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +98 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +44 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +145 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +105 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +35 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +50 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +27 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +73 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +63 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +20 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +44 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +73 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +149 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +19 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +8 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +80 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +76 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +43 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +5 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +487 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +168 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +21 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +18 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +18 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +171 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +134 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +162 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +18 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +61 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +64 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +58 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +59 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +61 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +14 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +59 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +30 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +118 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +53 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +40 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +25 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +126 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +45 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +115 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +103 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +44 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +201 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +70 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +33 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +29 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +31 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +29 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +62 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +157 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +26 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +75 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +16 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +27 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +37 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +61 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +94 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +112 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +88 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +94 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +96 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +212 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +38 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +346 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +296 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +100 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +157 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +267 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +23 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +20 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +52 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +29 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +54 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +105 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +7 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +16 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +50 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +46 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +27 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +40 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +71 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +97 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +11 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +48 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +30 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +85 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +17 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +84 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +265 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +37 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +64 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +44 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +138 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +116 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +80 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +92 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +10 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +11 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +283 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +49 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +15 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +53 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +36 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +31 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +65 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +12 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +2 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +69 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +43 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +25 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +25 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +38 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +120 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +18 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +71 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +3 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +7 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +53 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +95 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +27 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +67 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +56 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +37 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +8 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +18 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +31 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +85 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +24 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +100 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +110 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +12 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +29 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +73 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +67 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +73 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +86 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +55 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +50 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +50 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +29 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +55 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +35 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +68 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +20 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +38 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +95 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +74 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +21 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +9 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +34 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +49 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +40 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +16 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +57 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +31 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +48 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +7 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/profile-widget/data-access/dist/index2.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index3.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index5.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +337 -285
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +258 -194
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +2250 -2161
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useRolePermissionsQueries.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopes.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useCurrentUserQuery.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/card/cardPresentation.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/card/cardProgram.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index2.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index7.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index8.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index9.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index10.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index16.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index17.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index20.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index21.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index22.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index8.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index7.js +4 -4
- package/dist/pending-feature-style-sources.d.ts +1 -3
- package/package.json +1 -1
|
@@ -0,0 +1,750 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ComponentType, AnchorHTMLAttributes, ReactNode, ErrorInfo } from 'react';
|
|
3
|
+
import { FallbackProps } from 'react-error-boundary';
|
|
4
|
+
|
|
5
|
+
/** Accessible copy for the panel header's controls. */
|
|
6
|
+
interface CardDetailsHeaderLabels {
|
|
7
|
+
/** Fallback title when the card has no nickname. */
|
|
8
|
+
untitledCard: string;
|
|
9
|
+
/** Accessible name for the kebab that opens the card actions menu. */
|
|
10
|
+
menuTriggerAriaLabel: string;
|
|
11
|
+
/** Accessible name for the close (X) control. */
|
|
12
|
+
closeAriaLabel: string;
|
|
13
|
+
}
|
|
14
|
+
/** Accessible copy for the simplified card face. */
|
|
15
|
+
interface CardDetailsCardFaceLabels {
|
|
16
|
+
/** Alt text for the bank logo when the caller supplies no `bankLogoAlt`. */
|
|
17
|
+
bankLogoAlt: string;
|
|
18
|
+
}
|
|
19
|
+
/** Row headings and per-row copy affordance names for the details table. */
|
|
20
|
+
interface CardDetailsFieldLabels {
|
|
21
|
+
cardholder: string;
|
|
22
|
+
nickname: string;
|
|
23
|
+
billingAddress: string;
|
|
24
|
+
allowedCategories: string;
|
|
25
|
+
/** Stands in for a row whose value the card does not carry. */
|
|
26
|
+
emptyValue: string;
|
|
27
|
+
copyCardholderAriaLabel: string;
|
|
28
|
+
copyNicknameAriaLabel: string;
|
|
29
|
+
copyBillingAddressAriaLabel: string;
|
|
30
|
+
}
|
|
31
|
+
/** Copy for the three non-loaded screens. */
|
|
32
|
+
interface CardDetailsStatusScreenLabels {
|
|
33
|
+
/** Accessible name announced while the panel is loading. */
|
|
34
|
+
loadingAriaLabel: string;
|
|
35
|
+
errorTitle: string;
|
|
36
|
+
errorDescription: string;
|
|
37
|
+
errorRetry: string;
|
|
38
|
+
notFoundTitle: string;
|
|
39
|
+
notFoundDescription: string;
|
|
40
|
+
}
|
|
41
|
+
interface CardDetailsPanelLabels {
|
|
42
|
+
header: CardDetailsHeaderLabels;
|
|
43
|
+
cardFace: CardDetailsCardFaceLabels;
|
|
44
|
+
fields: CardDetailsFieldLabels;
|
|
45
|
+
status: CardDetailsStatusScreenLabels;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
type AuthToken = string | undefined;
|
|
49
|
+
interface Auth {
|
|
50
|
+
/**
|
|
51
|
+
* Which part of the request do we use to send the auth?
|
|
52
|
+
*
|
|
53
|
+
* @default 'header'
|
|
54
|
+
*/
|
|
55
|
+
in?: 'header' | 'query' | 'cookie';
|
|
56
|
+
/**
|
|
57
|
+
* A unique identifier for the security scheme.
|
|
58
|
+
*
|
|
59
|
+
* Defined only when there are multiple security schemes whose `Auth`
|
|
60
|
+
* shape would otherwise be identical.
|
|
61
|
+
*/
|
|
62
|
+
key?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Header or query parameter name.
|
|
65
|
+
*
|
|
66
|
+
* @default 'Authorization'
|
|
67
|
+
*/
|
|
68
|
+
name?: string;
|
|
69
|
+
scheme?: 'basic' | 'bearer';
|
|
70
|
+
type: 'apiKey' | 'http';
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface SerializerOptions<T> {
|
|
74
|
+
/**
|
|
75
|
+
* @default true
|
|
76
|
+
*/
|
|
77
|
+
explode: boolean;
|
|
78
|
+
style: T;
|
|
79
|
+
}
|
|
80
|
+
type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
|
|
81
|
+
type ObjectStyle = 'form' | 'deepObject';
|
|
82
|
+
|
|
83
|
+
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
84
|
+
type BodySerializer = (body: unknown) => unknown;
|
|
85
|
+
type QuerySerializerOptionsObject = {
|
|
86
|
+
allowReserved?: boolean;
|
|
87
|
+
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
88
|
+
object?: Partial<SerializerOptions<ObjectStyle>>;
|
|
89
|
+
};
|
|
90
|
+
type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
91
|
+
/**
|
|
92
|
+
* Per-parameter serialization overrides. When provided, these settings
|
|
93
|
+
* override the global array/object settings for specific parameter names.
|
|
94
|
+
*/
|
|
95
|
+
parameters?: Record<string, QuerySerializerOptionsObject>;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
|
|
99
|
+
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
100
|
+
/**
|
|
101
|
+
* Returns the final request URL.
|
|
102
|
+
*/
|
|
103
|
+
buildUrl: BuildUrlFn;
|
|
104
|
+
getConfig: () => Config;
|
|
105
|
+
request: RequestFn;
|
|
106
|
+
setConfig: (config: Config) => Config;
|
|
107
|
+
} & {
|
|
108
|
+
[K in HttpMethod]: MethodFn;
|
|
109
|
+
} & ([SseFn] extends [never] ? {
|
|
110
|
+
sse?: never;
|
|
111
|
+
} : {
|
|
112
|
+
sse: {
|
|
113
|
+
[K in HttpMethod]: SseFn;
|
|
114
|
+
};
|
|
115
|
+
});
|
|
116
|
+
interface Config$1 {
|
|
117
|
+
/**
|
|
118
|
+
* Auth token or a function returning auth token. The resolved value will be
|
|
119
|
+
* added to the request payload as defined by its `security` array.
|
|
120
|
+
*/
|
|
121
|
+
auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
|
|
122
|
+
/**
|
|
123
|
+
* A function for serializing request body parameter. By default,
|
|
124
|
+
* {@link JSON.stringify()} will be used.
|
|
125
|
+
*/
|
|
126
|
+
bodySerializer?: BodySerializer | null;
|
|
127
|
+
/**
|
|
128
|
+
* An object containing any HTTP headers that you want to pre-populate your
|
|
129
|
+
* `Headers` object with.
|
|
130
|
+
*
|
|
131
|
+
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
|
|
132
|
+
*/
|
|
133
|
+
headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
|
|
134
|
+
/**
|
|
135
|
+
* The request method.
|
|
136
|
+
*
|
|
137
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
|
|
138
|
+
*/
|
|
139
|
+
method?: Uppercase<HttpMethod>;
|
|
140
|
+
/**
|
|
141
|
+
* A function for serializing request query parameters. By default, arrays
|
|
142
|
+
* will be exploded in form style, objects will be exploded in deepObject
|
|
143
|
+
* style, and reserved characters are percent-encoded.
|
|
144
|
+
*
|
|
145
|
+
* This method will have no effect if the native `paramsSerializer()` Axios
|
|
146
|
+
* API function is used.
|
|
147
|
+
*
|
|
148
|
+
* {@link https://swagger.io/docs/specification/serialization/#query View examples}
|
|
149
|
+
*/
|
|
150
|
+
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
151
|
+
/**
|
|
152
|
+
* A function validating request data. This is useful if you want to ensure
|
|
153
|
+
* the request conforms to the desired shape, so it can be safely sent to
|
|
154
|
+
* the server.
|
|
155
|
+
*/
|
|
156
|
+
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
157
|
+
/**
|
|
158
|
+
* A function transforming response data before it's returned. This is useful
|
|
159
|
+
* for post-processing data, e.g., converting ISO strings into Date objects.
|
|
160
|
+
*/
|
|
161
|
+
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
162
|
+
/**
|
|
163
|
+
* A function validating response data. This is useful if you want to ensure
|
|
164
|
+
* the response conforms to the desired shape, so it can be safely passed to
|
|
165
|
+
* the transformers and returned to the user.
|
|
166
|
+
*/
|
|
167
|
+
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
171
|
+
/**
|
|
172
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
173
|
+
* fetch instance.
|
|
174
|
+
*
|
|
175
|
+
* @default globalThis.fetch
|
|
176
|
+
*/
|
|
177
|
+
fetch?: typeof fetch;
|
|
178
|
+
/**
|
|
179
|
+
* Implementing clients can call request interceptors inside this hook.
|
|
180
|
+
*/
|
|
181
|
+
onRequest?: (url: string, init: RequestInit) => Promise<Request>;
|
|
182
|
+
/**
|
|
183
|
+
* Callback invoked when a network or parsing error occurs during streaming.
|
|
184
|
+
*
|
|
185
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
186
|
+
*
|
|
187
|
+
* @param error The error that occurred.
|
|
188
|
+
*/
|
|
189
|
+
onSseError?: (error: unknown) => void;
|
|
190
|
+
/**
|
|
191
|
+
* Callback invoked when an event is streamed from the server.
|
|
192
|
+
*
|
|
193
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
194
|
+
*
|
|
195
|
+
* @param event Event streamed from the server.
|
|
196
|
+
* @returns Nothing (void).
|
|
197
|
+
*/
|
|
198
|
+
onSseEvent?: (event: StreamEvent<TData>) => void;
|
|
199
|
+
serializedBody?: RequestInit['body'];
|
|
200
|
+
/**
|
|
201
|
+
* Default retry delay in milliseconds.
|
|
202
|
+
*
|
|
203
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
204
|
+
*
|
|
205
|
+
* @default 3000
|
|
206
|
+
*/
|
|
207
|
+
sseDefaultRetryDelay?: number;
|
|
208
|
+
/**
|
|
209
|
+
* Maximum number of retry attempts before giving up.
|
|
210
|
+
*/
|
|
211
|
+
sseMaxRetryAttempts?: number;
|
|
212
|
+
/**
|
|
213
|
+
* Maximum retry delay in milliseconds.
|
|
214
|
+
*
|
|
215
|
+
* Applies only when exponential backoff is used.
|
|
216
|
+
*
|
|
217
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
218
|
+
*
|
|
219
|
+
* @default 30000
|
|
220
|
+
*/
|
|
221
|
+
sseMaxRetryDelay?: number;
|
|
222
|
+
/**
|
|
223
|
+
* Optional sleep function for retry backoff.
|
|
224
|
+
*
|
|
225
|
+
* Defaults to using `setTimeout`.
|
|
226
|
+
*/
|
|
227
|
+
sseSleepFn?: (ms: number) => Promise<void>;
|
|
228
|
+
url: string;
|
|
229
|
+
};
|
|
230
|
+
interface StreamEvent<TData = unknown> {
|
|
231
|
+
data: TData;
|
|
232
|
+
event?: string;
|
|
233
|
+
id?: string;
|
|
234
|
+
retry?: number;
|
|
235
|
+
}
|
|
236
|
+
type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
|
|
237
|
+
stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
|
|
241
|
+
/** response may be undefined due to a network error where no response object is produced */
|
|
242
|
+
response: Res | undefined,
|
|
243
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
244
|
+
request: Req | undefined, options: Options) => Err | Promise<Err>;
|
|
245
|
+
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
246
|
+
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
247
|
+
declare class Interceptors<Interceptor> {
|
|
248
|
+
fns: Array<Interceptor | null>;
|
|
249
|
+
clear(): void;
|
|
250
|
+
eject(id: number | Interceptor): void;
|
|
251
|
+
exists(id: number | Interceptor): boolean;
|
|
252
|
+
getInterceptorIndex(id: number | Interceptor): number;
|
|
253
|
+
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
254
|
+
use(fn: Interceptor): number;
|
|
255
|
+
}
|
|
256
|
+
interface Middleware<Req, Res, Err, Options> {
|
|
257
|
+
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
258
|
+
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
259
|
+
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
type ResponseStyle = 'data' | 'fields';
|
|
263
|
+
interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
|
|
264
|
+
/**
|
|
265
|
+
* Base URL for all requests made by this client.
|
|
266
|
+
*/
|
|
267
|
+
baseUrl?: T['baseUrl'];
|
|
268
|
+
/**
|
|
269
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
270
|
+
* fetch instance.
|
|
271
|
+
*
|
|
272
|
+
* @default globalThis.fetch
|
|
273
|
+
*/
|
|
274
|
+
fetch?: typeof fetch;
|
|
275
|
+
/**
|
|
276
|
+
* Please don't use the Fetch client for Next.js applications. The `next`
|
|
277
|
+
* options won't have any effect.
|
|
278
|
+
*
|
|
279
|
+
* Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
|
|
280
|
+
*/
|
|
281
|
+
next?: never;
|
|
282
|
+
/**
|
|
283
|
+
* Return the response data parsed in a specified format. By default, `auto`
|
|
284
|
+
* will infer the appropriate method from the `Content-Type` response header.
|
|
285
|
+
* You can override this behavior with any of the {@link Body} methods.
|
|
286
|
+
* Select `stream` if you don't want to parse response data at all.
|
|
287
|
+
*
|
|
288
|
+
* @default 'auto'
|
|
289
|
+
*/
|
|
290
|
+
parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
|
|
291
|
+
/**
|
|
292
|
+
* Should we return only data or multiple fields (data, error, response, etc.)?
|
|
293
|
+
*
|
|
294
|
+
* @default 'fields'
|
|
295
|
+
*/
|
|
296
|
+
responseStyle?: ResponseStyle;
|
|
297
|
+
/**
|
|
298
|
+
* Throw an error instead of returning it in the response?
|
|
299
|
+
*
|
|
300
|
+
* @default false
|
|
301
|
+
*/
|
|
302
|
+
throwOnError?: T['throwOnError'];
|
|
303
|
+
}
|
|
304
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
|
|
305
|
+
responseStyle: TResponseStyle;
|
|
306
|
+
throwOnError: ThrowOnError;
|
|
307
|
+
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
308
|
+
/**
|
|
309
|
+
* Any body that you want to add to your request.
|
|
310
|
+
*
|
|
311
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
|
|
312
|
+
*/
|
|
313
|
+
body?: unknown;
|
|
314
|
+
path?: Record<string, unknown>;
|
|
315
|
+
query?: Record<string, unknown>;
|
|
316
|
+
/**
|
|
317
|
+
* Security mechanism(s) to use for the request.
|
|
318
|
+
*/
|
|
319
|
+
security?: ReadonlyArray<Auth>;
|
|
320
|
+
url: Url;
|
|
321
|
+
}
|
|
322
|
+
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
323
|
+
headers: Headers;
|
|
324
|
+
serializedBody?: string;
|
|
325
|
+
}
|
|
326
|
+
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 : {
|
|
327
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
328
|
+
request: Request;
|
|
329
|
+
response: Response;
|
|
330
|
+
}> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
|
|
331
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
332
|
+
error: undefined;
|
|
333
|
+
} | {
|
|
334
|
+
data: undefined;
|
|
335
|
+
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
336
|
+
}) & {
|
|
337
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
338
|
+
request?: Request;
|
|
339
|
+
/** response may be undefined, because error may be from building the request object itself or from a network error */
|
|
340
|
+
response?: Response;
|
|
341
|
+
}>;
|
|
342
|
+
interface ClientOptions$1 {
|
|
343
|
+
baseUrl?: string;
|
|
344
|
+
responseStyle?: ResponseStyle;
|
|
345
|
+
throwOnError?: boolean;
|
|
346
|
+
}
|
|
347
|
+
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>;
|
|
348
|
+
type SseFn = <TData = unknown, _TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData>>;
|
|
349
|
+
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>;
|
|
350
|
+
type BuildUrlFn = <TData extends {
|
|
351
|
+
body?: unknown;
|
|
352
|
+
path?: Record<string, unknown>;
|
|
353
|
+
query?: Record<string, unknown>;
|
|
354
|
+
url: string;
|
|
355
|
+
}>(options: TData & Options<TData>) => string;
|
|
356
|
+
type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
|
|
357
|
+
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
358
|
+
};
|
|
359
|
+
interface TDataShape {
|
|
360
|
+
body?: unknown;
|
|
361
|
+
headers?: unknown;
|
|
362
|
+
path?: unknown;
|
|
363
|
+
query?: unknown;
|
|
364
|
+
url: string;
|
|
365
|
+
}
|
|
366
|
+
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
367
|
+
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'>);
|
|
368
|
+
|
|
369
|
+
type ClientOptions = {
|
|
370
|
+
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 & {});
|
|
371
|
+
};
|
|
372
|
+
type CreditCardStatus = 'PENDING_ACTIVATION' | 'ACTIVE' | 'LOCKED' | 'CLOSED';
|
|
373
|
+
type CreditCardType = 'DIGITAL' | 'PHYSICAL';
|
|
374
|
+
|
|
375
|
+
type EmbeddedClient = Client;
|
|
376
|
+
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
377
|
+
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
378
|
+
|
|
379
|
+
type LinkComponentProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
380
|
+
children?: ReactNode;
|
|
381
|
+
};
|
|
382
|
+
type LinkComponent = ComponentType<LinkComponentProps>;
|
|
383
|
+
/**
|
|
384
|
+
* The UI frameworks a widget's UI layer can render with.
|
|
385
|
+
*
|
|
386
|
+
* - `shadcn` — the shadcn/Tailwind implementation. This is the default and the
|
|
387
|
+
* implicit fallback, so existing consumers that select nothing keep rendering
|
|
388
|
+
* shadcn.
|
|
389
|
+
* - `tecton` — the Tecton implementation.
|
|
390
|
+
*
|
|
391
|
+
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
392
|
+
* convention.
|
|
393
|
+
*/
|
|
394
|
+
declare const UIFramework: {
|
|
395
|
+
readonly Shadcn: "shadcn";
|
|
396
|
+
readonly Tecton: "tecton";
|
|
397
|
+
};
|
|
398
|
+
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* The implementation a widget renders with.
|
|
402
|
+
*
|
|
403
|
+
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
404
|
+
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
405
|
+
* - `monite` — the Monite SDK implementation.
|
|
406
|
+
*
|
|
407
|
+
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
408
|
+
* convention.
|
|
409
|
+
*/
|
|
410
|
+
declare const Implementation: {
|
|
411
|
+
readonly Native: "native";
|
|
412
|
+
readonly Monite: "monite";
|
|
413
|
+
};
|
|
414
|
+
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
415
|
+
/**
|
|
416
|
+
* The settable fields of the widget config cascade.
|
|
417
|
+
*
|
|
418
|
+
* This is the type accepted by {@link setGlobalWidgetConfig} and all provider props.
|
|
419
|
+
* It intentionally excludes `initResponse`, which is populated automatically by the
|
|
420
|
+
* provider after a successful fetch and must never be set manually.
|
|
421
|
+
*
|
|
422
|
+
* The `null` vs `undefined` distinction on `widgetToken` and `organizationId` is intentional:
|
|
423
|
+
* - `undefined` — not set at this level; inherit from the nearest ancestor or global store.
|
|
424
|
+
* - `null` — explicitly cleared; downstream sees "no value" even if an ancestor had one
|
|
425
|
+
* (e.g. after logout or deliberate de-scoping).
|
|
426
|
+
*
|
|
427
|
+
* @see {@link WidgetConfig} for the resolved output type (includes `initResponse`)
|
|
428
|
+
* @see {@link RootWidgetProvider}
|
|
429
|
+
* @see {@link WidgetProvider}
|
|
430
|
+
* @see {@link setGlobalWidgetConfig}
|
|
431
|
+
*/
|
|
432
|
+
interface WidgetConfigInput {
|
|
433
|
+
/**
|
|
434
|
+
* Base URL of the Tesouro embedded API (e.g. `"https://api.tesouro.com"`).
|
|
435
|
+
*
|
|
436
|
+
* When omitted the nearest ancestor's `baseUrl` or the global store value is used.
|
|
437
|
+
* Changing this recreates the underlying HTTP client so all subsequent requests
|
|
438
|
+
* go to the new host.
|
|
439
|
+
*/
|
|
440
|
+
baseUrl?: BaseUrl;
|
|
441
|
+
/**
|
|
442
|
+
* Bearer token used to authenticate widget requests.
|
|
443
|
+
*
|
|
444
|
+
* Injected as `Authorization: Bearer <token>` on every outgoing request via an
|
|
445
|
+
* interceptor on the scoped HTTP client. Token updates are picked up immediately
|
|
446
|
+
* without recreating the client.
|
|
447
|
+
*
|
|
448
|
+
* - `string` — send this token on all requests from this level downward.
|
|
449
|
+
* - `null` — explicitly cleared; no auth header is sent and fetching is suppressed.
|
|
450
|
+
* - `undefined` — not set at this level; inherit from the nearest ancestor or global store.
|
|
451
|
+
*/
|
|
452
|
+
widgetToken?: string | null;
|
|
453
|
+
/**
|
|
454
|
+
* Organization ID forwarded as the `x-organization-id` request header.
|
|
455
|
+
*
|
|
456
|
+
* Passed through {@link EmbedApiProvider} context rather than the auth interceptor,
|
|
457
|
+
* so individual data-access hooks can opt in per-request.
|
|
458
|
+
*
|
|
459
|
+
* - `string` — use this organization for downstream data requests.
|
|
460
|
+
* - `null` — explicitly cleared; queries that require an org ID will be disabled.
|
|
461
|
+
* - `undefined` — not set at this level; inherit from the nearest ancestor or global store.
|
|
462
|
+
*
|
|
463
|
+
* When `undefined` across the **whole** cascade (no prop, no ancestor, no global
|
|
464
|
+
* value), the resolved org defaults to the loaded `initResponse.organizationId`
|
|
465
|
+
* (see {@link WidgetConfig.initResponse}) once the widget-init fetch settles. This
|
|
466
|
+
* is the lowest-priority fallback — any explicit `string` or `null` at any cascade
|
|
467
|
+
* level wins, and an explicit `null` is preserved and never falls back.
|
|
468
|
+
*
|
|
469
|
+
* Only an **explicit** ancestor org is inherited. An ancestor's *init-derived*
|
|
470
|
+
* default does not propagate into a descendant that owns its own fetch (its own
|
|
471
|
+
* `baseUrl`/`widgetToken`); such a descendant defaults to its own
|
|
472
|
+
* `initResponse.organizationId` instead, so it never sends an ancestor's org with
|
|
473
|
+
* its own token.
|
|
474
|
+
*/
|
|
475
|
+
organizationId?: string | null;
|
|
476
|
+
/**
|
|
477
|
+
* Optional post-creation hook for the scoped HTTP client.
|
|
478
|
+
*
|
|
479
|
+
* Called once after the provider creates its scoped {@link EmbeddedClient} and
|
|
480
|
+
* applies the built-in `Authorization: Bearer` interceptor. Receives the
|
|
481
|
+
* fully-configured client and must return the client to be used for the lifetime of
|
|
482
|
+
* this provider level — either the same instance (with additional interceptors
|
|
483
|
+
* attached) or a new client entirely.
|
|
484
|
+
*
|
|
485
|
+
* **Order:** The built-in auth interceptor is always applied first. `configClient`
|
|
486
|
+
* is called on top of it, so any interceptors you add here run after auth is set.
|
|
487
|
+
*
|
|
488
|
+
* **Any prop triggers a scoped client.** A {@link WidgetProvider} creates its own
|
|
489
|
+
* scoped client whenever any prop is set — including `configClient` alone, without
|
|
490
|
+
* `baseUrl` or `widgetToken`. Only a fully props-free pass-through provider skips
|
|
491
|
+
* client creation and never calls this function.
|
|
492
|
+
*
|
|
493
|
+
* **Stability:** The function reference is included in the client creation memo's
|
|
494
|
+
* dependency array. Passing an unstable (inline) function recreates the client on
|
|
495
|
+
* every render. Stabilize with `useCallback` or define the function outside the
|
|
496
|
+
* component.
|
|
497
|
+
*
|
|
498
|
+
* **Cascade:** Inherits from the nearest ancestor when `undefined`. A child
|
|
499
|
+
* {@link WidgetProvider} that creates its own scoped client will use the resolved
|
|
500
|
+
* `configClient` from the cascade unless it provides its own override.
|
|
501
|
+
*
|
|
502
|
+
* @example
|
|
503
|
+
* ```tsx
|
|
504
|
+
* const addLogging = useCallback(
|
|
505
|
+
* (client: EmbeddedClient) => {
|
|
506
|
+
* client.interceptors.request.use((req) => {
|
|
507
|
+
* console.log('[widget]', req.method, req.url);
|
|
508
|
+
* return req;
|
|
509
|
+
* });
|
|
510
|
+
* return client;
|
|
511
|
+
* },
|
|
512
|
+
* [],
|
|
513
|
+
* );
|
|
514
|
+
*
|
|
515
|
+
* <RootWidgetProvider
|
|
516
|
+
* baseUrl="https://api.tesouro.com"
|
|
517
|
+
* widgetToken={token}
|
|
518
|
+
* configClient={addLogging}
|
|
519
|
+
* >
|
|
520
|
+
* <App />
|
|
521
|
+
* </RootWidgetProvider>
|
|
522
|
+
* ```
|
|
523
|
+
*/
|
|
524
|
+
configClient?: (client: EmbeddedClient) => EmbeddedClient;
|
|
525
|
+
/**
|
|
526
|
+
* Component the embedded widgets should render in place of plain `<a>` tags.
|
|
527
|
+
*
|
|
528
|
+
* Pass e.g. Next.js's `Link` to make in-app navigation use the host router.
|
|
529
|
+
* Cascades like other config: provider prop > nearest ancestor > global store.
|
|
530
|
+
* When no value is set anywhere, widgets fall back to a plain `<a>` element.
|
|
531
|
+
*/
|
|
532
|
+
linkComponent?: LinkComponent;
|
|
533
|
+
/**
|
|
534
|
+
* Which UI framework the widget UI layer should render with.
|
|
535
|
+
*
|
|
536
|
+
* Lets a consuming context bind widgets to either the shadcn/Tailwind or the
|
|
537
|
+
* Tecton implementation behind the same outward-facing API. The selection is
|
|
538
|
+
* a presentation concern only — it cascades through the provider tree exactly
|
|
539
|
+
* like {@link linkComponent} and is read by UI libraries via `useUIFramework`;
|
|
540
|
+
* it never appears in any widget's feature-library or component props.
|
|
541
|
+
*
|
|
542
|
+
* - `'shadcn'` — the shadcn/Tailwind implementation.
|
|
543
|
+
* - `'tecton'` — the Tecton implementation.
|
|
544
|
+
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
545
|
+
* ancestor or global store, falling back to `shadcn` when unset everywhere.
|
|
546
|
+
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
547
|
+
*/
|
|
548
|
+
uiFramework?: UIFramework | null;
|
|
549
|
+
/**
|
|
550
|
+
* Which implementation a widget renders with.
|
|
551
|
+
*
|
|
552
|
+
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
553
|
+
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
554
|
+
* through the provider tree exactly like {@link linkComponent} and
|
|
555
|
+
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
556
|
+
* is read via `useImplementation`.
|
|
557
|
+
*
|
|
558
|
+
* - `'native'` — the Tesouro-native implementation.
|
|
559
|
+
* - `'monite'` — the Monite SDK implementation.
|
|
560
|
+
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
561
|
+
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
562
|
+
* `native` is the implicit default, so existing consumers need no changes.
|
|
563
|
+
*/
|
|
564
|
+
implementation?: Implementation | null;
|
|
565
|
+
}
|
|
566
|
+
/**
|
|
567
|
+
* Props shared by every analytics-owner-capable widget provider.
|
|
568
|
+
*
|
|
569
|
+
* Combines the full settable cascade ({@link WidgetConfigInput}) with the
|
|
570
|
+
* analytics opt-out honored by analytics owners. Both {@link RootWidgetProvider}
|
|
571
|
+
* and {@link WidgetProvider} build their public props on top of this; the latter
|
|
572
|
+
* adds error-boundary props of its own.
|
|
573
|
+
*
|
|
574
|
+
* @see {@link WidgetConfigInput} for per-field cascade and `null` vs omitted semantics
|
|
575
|
+
*/
|
|
576
|
+
interface WidgetProviderBaseProps extends WidgetConfigInput {
|
|
577
|
+
/**
|
|
578
|
+
* Opt out of all analytics capture and prevent PostHog from loading. Default `true`.
|
|
579
|
+
*
|
|
580
|
+
* Honored only by an analytics **owner** — a {@link RootWidgetProvider} or a
|
|
581
|
+
* standalone {@link WidgetProvider} with no parent provider. When `false`,
|
|
582
|
+
* owner-bound `track` calls in this subtree become no-ops and the PostHog
|
|
583
|
+
* installer is never dynamically imported for this owner's environment.
|
|
584
|
+
* Setting it on a nested {@link WidgetProvider} is ignored in v1 (a one-time
|
|
585
|
+
* `console.warn` is emitted to make the no-op discoverable).
|
|
586
|
+
*/
|
|
587
|
+
analytics?: boolean;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Props for {@link WidgetProvider}.
|
|
592
|
+
*
|
|
593
|
+
* All fields are optional. When **all** are omitted the provider is a transparent
|
|
594
|
+
* pass-through: no fetch is issued and all resolved values cascade unchanged from
|
|
595
|
+
* the nearest ancestor.
|
|
596
|
+
*/
|
|
597
|
+
interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
598
|
+
/**
|
|
599
|
+
* Fallback rendered when a render-time exception is caught inside this
|
|
600
|
+
* provider's subtree. Pass either a `ReactNode` (rendered directly) or a
|
|
601
|
+
* render-prop receiving `{ error, resetErrorBoundary }` from
|
|
602
|
+
* `react-error-boundary`. Default is a plain `role="alert"` div with
|
|
603
|
+
* generic copy from `DEFAULT_LABELS.errorBoundaryFallback`.
|
|
604
|
+
*/
|
|
605
|
+
errorFallback?: ReactNode | ((props: FallbackProps) => ReactNode);
|
|
606
|
+
/**
|
|
607
|
+
* Called once when the boundary catches an error, before the fallback
|
|
608
|
+
* renders. Use for telemetry / Sentry / partner logging. Exceptions
|
|
609
|
+
* thrown from `onError` propagate per `react-error-boundary` semantics.
|
|
610
|
+
*/
|
|
611
|
+
onError?: (error: unknown, info: ErrorInfo) => void;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Which issuing product a card belongs to. A card list shows exactly one
|
|
616
|
+
* program at a time, and the value selects the endpoint the data-access layer
|
|
617
|
+
* calls: `credit` → `/embedded-banking/v1/credit-cards`, `debit` →
|
|
618
|
+
* `/embedded-banking/v1/debit-cards`.
|
|
619
|
+
*
|
|
620
|
+
* Defined here rather than in either widget because `CardsWidget` and
|
|
621
|
+
* `CardDetailsWidget` both publish it as a required public prop. Declared
|
|
622
|
+
* inline in each, the literal would become public API twice with no single
|
|
623
|
+
* definition — and `cards-widget/ui` ↔ `card-details-widget/ui` imports are
|
|
624
|
+
* lint-banned while the reverse feature import would be an Nx cycle, so
|
|
625
|
+
* `shared/feature` is the only home that serves both without duplication.
|
|
626
|
+
*
|
|
627
|
+
* Deliberately **not** the generated `CardTypeEnum` (`credit | debit | prepaid
|
|
628
|
+
* | unknown`), which greps as an exact match for this concept but belongs to
|
|
629
|
+
* the unrelated snake_case third-party schema family (its sibling fields are
|
|
630
|
+
* `card_type`, `last4`, `background_color`) and carries two members neither
|
|
631
|
+
* widget supports. In this codebase "card type" is the DIGITAL/PHYSICAL form
|
|
632
|
+
* factor instead — see `CardType` in `./cardPresentation`.
|
|
633
|
+
*
|
|
634
|
+
* Const-object-plus-type rather than a bare union, mirroring `UIFramework` in
|
|
635
|
+
* `shared/ui` — the other two-member literal that ships as a public prop type.
|
|
636
|
+
*/
|
|
637
|
+
declare const CardProgram: {
|
|
638
|
+
readonly Credit: "credit";
|
|
639
|
+
readonly Debit: "debit";
|
|
640
|
+
};
|
|
641
|
+
type CardProgram = (typeof CardProgram)[keyof typeof CardProgram];
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* A card's lifecycle status, program-agnostic. Aliases the credit union because
|
|
645
|
+
* one of the two has to be the base; the parity assertions below are what keep
|
|
646
|
+
* that choice arbitrary.
|
|
647
|
+
*/
|
|
648
|
+
type CardStatus = CreditCardStatus;
|
|
649
|
+
/**
|
|
650
|
+
* A card's physical form factor — the codebase's meaning of "card type". The
|
|
651
|
+
* credit/debit axis is `CardProgram`, not this.
|
|
652
|
+
*/
|
|
653
|
+
type CardType = CreditCardType;
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Deep partial for label overrides.
|
|
657
|
+
*
|
|
658
|
+
* Both label surfaces this widget exposes have nested groups, and a shallow
|
|
659
|
+
* `Partial` would let a consumer who overrides one nested string drop the rest
|
|
660
|
+
* of that group. The repo has no shared `PartialDeep` and does not depend on
|
|
661
|
+
* `type-fest`, so each labels module defines its own — `card-details-widget/ui`
|
|
662
|
+
* has an identical one for the panel's labels, and this declaration also types
|
|
663
|
+
* that prop here so the widget carries one such helper rather than two.
|
|
664
|
+
*/
|
|
665
|
+
type PartialDeep<T> = {
|
|
666
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
667
|
+
};
|
|
668
|
+
/**
|
|
669
|
+
* Copy the **feature** layer owns, as opposed to the panel's own
|
|
670
|
+
* `CardDetailsPanelLabels`.
|
|
671
|
+
*
|
|
672
|
+
* The split follows where the string is resolved, not where it is painted. A
|
|
673
|
+
* status badge word is chosen by mapping a generated `cardStatus` enum member,
|
|
674
|
+
* which is a data-access-typed decision the presentational layer is not allowed
|
|
675
|
+
* to make — so it is overridable here even though the panel renders it. The
|
|
676
|
+
* panel's own labels stay with the panel.
|
|
677
|
+
*/
|
|
678
|
+
interface CardDetailsFeatureLabels {
|
|
679
|
+
/** Confirmation toast after a copy affordance writes to the clipboard. */
|
|
680
|
+
copySuccessToast: string;
|
|
681
|
+
/** Program wording on the card face, keyed on the widget's `cardProgram`. */
|
|
682
|
+
programLabels: Record<CardProgram, string>;
|
|
683
|
+
/** Status badge wording, keyed on the generated card status. */
|
|
684
|
+
statusLabels: Record<CardStatus, string>;
|
|
685
|
+
/** Form-factor subtitle wording, keyed on the generated card type. */
|
|
686
|
+
formFactorLabels: Record<CardType, string>;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
interface CardDetailsWidgetProps extends WidgetProviderProps {
|
|
690
|
+
/** Id of the card to show. */
|
|
691
|
+
cardId: string;
|
|
692
|
+
/**
|
|
693
|
+
* Which issuing product `cardId` belongs to. **Required, with no default** —
|
|
694
|
+
* it selects the endpoint the card is fetched from, and a wrong guess would
|
|
695
|
+
* 404 a card that exists. `CardsWidget` publishes the same required prop, so
|
|
696
|
+
* one value configures a list and its detail panel together.
|
|
697
|
+
*
|
|
698
|
+
* A JavaScript consumer, or a host passing a route param straight through, can
|
|
699
|
+
* still get a value past the type. **There is no catch-all and no default:**
|
|
700
|
+
* anything that is not explicitly one of the two programs fetches nothing and
|
|
701
|
+
* renders the panel's error state with no retry, and the reason is named on the
|
|
702
|
+
* console. That covers an absent prop (`undefined` / `null`) as well as an
|
|
703
|
+
* unrecognised one (`'prepaid'`, a case-wrong `'Credit'`), because the widget
|
|
704
|
+
* cannot know which product to ask about in either case.
|
|
705
|
+
*
|
|
706
|
+
* A host that resolves the program asynchronously should gate its own render on
|
|
707
|
+
* it rather than mounting this widget without it — an absent program is not
|
|
708
|
+
* read as "still loading".
|
|
709
|
+
*/
|
|
710
|
+
cardProgram: CardProgram;
|
|
711
|
+
/**
|
|
712
|
+
* Called when the header's close control is pressed. Omitting it renders no
|
|
713
|
+
* close control at all: a standalone card page has nothing to close back to,
|
|
714
|
+
* while a host rendering the panel in a drawer supplies this and suppresses
|
|
715
|
+
* its own chrome's close button so the two do not sit side by side.
|
|
716
|
+
*/
|
|
717
|
+
onClose?: () => void;
|
|
718
|
+
/** Overrides for the panel's own copy. */
|
|
719
|
+
labels?: PartialDeep<CardDetailsPanelLabels>;
|
|
720
|
+
/** Overrides for the copy this layer resolves — see `CardDetailsFeatureLabels`. */
|
|
721
|
+
featureLabels?: PartialDeep<CardDetailsFeatureLabels>;
|
|
722
|
+
/**
|
|
723
|
+
* Bank logo for the card face. The widget ships no bank artwork of its own and
|
|
724
|
+
* resolves none from the init response: an embeddable library must not depend
|
|
725
|
+
* on a Tesouro-hosted asset a host page's content-security policy can block,
|
|
726
|
+
* and a bundled bank-name→URL table would put internal CDN links in the
|
|
727
|
+
* published package (PLAT-1179, embedded ADR 0005). Omit it and the card face
|
|
728
|
+
* renders without a logo rather than with a placeholder.
|
|
729
|
+
*/
|
|
730
|
+
bankLogoSrc?: string;
|
|
731
|
+
bankLogoAlt?: string;
|
|
732
|
+
}
|
|
733
|
+
/**
|
|
734
|
+
* Read-only details for one card, standalone-capable.
|
|
735
|
+
*
|
|
736
|
+
* Provides its own `WidgetProvider`, so it renders with nothing above it — a
|
|
737
|
+
* partner can mount it on a real `/cards/[id]` page. Nested inside another
|
|
738
|
+
* widget's provider with no auth props of its own, it inherits that init
|
|
739
|
+
* response and `QueryClient` instead, costing no second `/init` call and sharing
|
|
740
|
+
* one cache with the list that opened it. Do not forward `baseUrl` or
|
|
741
|
+
* `widgetToken` into it from a parent widget: either one flips this provider into
|
|
742
|
+
* fetch mode and buys a redundant init request per open.
|
|
743
|
+
*
|
|
744
|
+
* Both placements are covered by specs, because they take different code paths
|
|
745
|
+
* through the provider and this export exists for the standalone one.
|
|
746
|
+
*/
|
|
747
|
+
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
748
|
+
|
|
749
|
+
export { CardDetailsWidget };
|
|
750
|
+
export type { CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps };
|