@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
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ReactNode, ComponentType, AnchorHTMLAttributes, PropsWithChildren, Erro
|
|
|
3
3
|
import { FallbackProps } from 'react-error-boundary';
|
|
4
4
|
import { SortingState, OnChangeFn } from '@tanstack/react-table';
|
|
5
5
|
|
|
6
|
-
type PartialDeep$
|
|
7
|
-
[K in keyof T]?: T[K] extends object ? PartialDeep$
|
|
6
|
+
type PartialDeep$4<T> = {
|
|
7
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep$4<T[K]> : T[K];
|
|
8
8
|
};
|
|
9
9
|
interface AcceptDisclosuresWidgetLabels {
|
|
10
10
|
title: string;
|
|
@@ -41,7 +41,7 @@ interface AcceptDisclosuresWidgetProps$1 {
|
|
|
41
41
|
isAgreed: boolean;
|
|
42
42
|
onAgreedChange: (checked: boolean) => void;
|
|
43
43
|
onAccept: () => void;
|
|
44
|
-
labels?: PartialDeep$
|
|
44
|
+
labels?: PartialDeep$4<AcceptDisclosuresWidgetLabels>;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
type AuthToken = string | undefined;
|
|
@@ -368,16 +368,29 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
368
368
|
type ClientOptions = {
|
|
369
369
|
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 & {});
|
|
370
370
|
};
|
|
371
|
+
type CreditCardStatus = 'PENDING_ACTIVATION' | 'ACTIVE' | 'LOCKED' | 'CLOSED';
|
|
372
|
+
type CreditCardType = 'DIGITAL' | 'PHYSICAL';
|
|
371
373
|
type DisclosureRequirement = 'NOT_REQUIRED' | 'REQUIRED';
|
|
372
374
|
type OrganizationType = 'BANK' | 'EMBEDDED' | 'PLATFORM' | 'TRANSACTOR' | 'VERTICAL_SOFTWARE_PROVIDER';
|
|
373
375
|
type WidgetInitResponse = {
|
|
374
376
|
bankName?: null | string;
|
|
375
377
|
/**
|
|
376
|
-
* Whether
|
|
378
|
+
* Whether the user has accepted the version currently in force. False for a user who accepted an
|
|
379
|
+
* earlier version, which is what makes publishing a new one prompt them again, and false when
|
|
380
|
+
* there is no user yet. Prompt on this rather than on `status`, which cannot answer it: an
|
|
381
|
+
* already-active user can owe a re-acceptance while never being invited again.
|
|
382
|
+
*/
|
|
383
|
+
disclosuresAccepted?: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Whether embedded banking requires this widget session's user to accept disclosures.
|
|
377
386
|
* Resolved through the organization hierarchy, nearest owner first: the organization asked about,
|
|
378
387
|
* then its VSP, then its parent platform, then the bank, defaulting to NOT_REQUIRED.
|
|
379
|
-
* Resolved for the
|
|
380
|
-
* organization
|
|
388
|
+
* Resolved for the user when there is one, which is the rung the acceptance writes against.
|
|
389
|
+
* It falls back to the organization owning the widget application in the two cases where the user
|
|
390
|
+
* cannot answer: before the user exists, which is what an onboarding widget needs, and when their
|
|
391
|
+
* organization's settings chain resolves nothing at all. In that second case the acceptance
|
|
392
|
+
* refuses rather than reporting the user clear, so a prompt shown here is never one the widget
|
|
393
|
+
* can silently fail to record.
|
|
381
394
|
*/
|
|
382
395
|
disclosuresRequired?: DisclosureRequirement;
|
|
383
396
|
organizationId?: null | string;
|
|
@@ -1153,6 +1166,47 @@ interface UseWidgetTokenResult {
|
|
|
1153
1166
|
}
|
|
1154
1167
|
declare function useWidgetToken(): UseWidgetTokenResult;
|
|
1155
1168
|
|
|
1169
|
+
/**
|
|
1170
|
+
* Which issuing product a card belongs to. A card list shows exactly one
|
|
1171
|
+
* program at a time, and the value selects the endpoint the data-access layer
|
|
1172
|
+
* calls: `credit` → `/embedded-banking/v1/credit-cards`, `debit` →
|
|
1173
|
+
* `/embedded-banking/v1/debit-cards`.
|
|
1174
|
+
*
|
|
1175
|
+
* Defined here rather than in either widget because `CardsWidget` and
|
|
1176
|
+
* `CardDetailsWidget` both publish it as a required public prop. Declared
|
|
1177
|
+
* inline in each, the literal would become public API twice with no single
|
|
1178
|
+
* definition — and `cards-widget/ui` ↔ `card-details-widget/ui` imports are
|
|
1179
|
+
* lint-banned while the reverse feature import would be an Nx cycle, so
|
|
1180
|
+
* `shared/feature` is the only home that serves both without duplication.
|
|
1181
|
+
*
|
|
1182
|
+
* Deliberately **not** the generated `CardTypeEnum` (`credit | debit | prepaid
|
|
1183
|
+
* | unknown`), which greps as an exact match for this concept but belongs to
|
|
1184
|
+
* the unrelated snake_case third-party schema family (its sibling fields are
|
|
1185
|
+
* `card_type`, `last4`, `background_color`) and carries two members neither
|
|
1186
|
+
* widget supports. In this codebase "card type" is the DIGITAL/PHYSICAL form
|
|
1187
|
+
* factor instead — see `CardType` in `./cardPresentation`.
|
|
1188
|
+
*
|
|
1189
|
+
* Const-object-plus-type rather than a bare union, mirroring `UIFramework` in
|
|
1190
|
+
* `shared/ui` — the other two-member literal that ships as a public prop type.
|
|
1191
|
+
*/
|
|
1192
|
+
declare const CardProgram: {
|
|
1193
|
+
readonly Credit: "credit";
|
|
1194
|
+
readonly Debit: "debit";
|
|
1195
|
+
};
|
|
1196
|
+
type CardProgram = (typeof CardProgram)[keyof typeof CardProgram];
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* A card's lifecycle status, program-agnostic. Aliases the credit union because
|
|
1200
|
+
* one of the two has to be the base; the parity assertions below are what keep
|
|
1201
|
+
* that choice arbitrary.
|
|
1202
|
+
*/
|
|
1203
|
+
type CardStatus = CreditCardStatus;
|
|
1204
|
+
/**
|
|
1205
|
+
* A card's physical form factor — the codebase's meaning of "card type". The
|
|
1206
|
+
* credit/debit axis is `CardProgram`, not this.
|
|
1207
|
+
*/
|
|
1208
|
+
type CardType = CreditCardType;
|
|
1209
|
+
|
|
1156
1210
|
/**
|
|
1157
1211
|
* The four disclosure documents a host supplies. Keyed rather than a free-form
|
|
1158
1212
|
* array because `agreementTextTemplate` names exactly these four instruments —
|
|
@@ -1529,6 +1583,408 @@ type BillPayWidgetProps = BillPayWidgetMoniteProps;
|
|
|
1529
1583
|
*/
|
|
1530
1584
|
declare function BillPayWidget({ implementation, ...props }: BillPayWidgetProps): React.JSX.Element;
|
|
1531
1585
|
|
|
1586
|
+
/**
|
|
1587
|
+
* Every key of `T` optional, recursively, so a consumer can override one nested
|
|
1588
|
+
* label without restating its siblings. Defined locally because the repo has no
|
|
1589
|
+
* shared deep-partial type and does not depend on `type-fest`.
|
|
1590
|
+
*/
|
|
1591
|
+
type PartialDeep$3<T> = {
|
|
1592
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep$3<T[K]> : T[K];
|
|
1593
|
+
};
|
|
1594
|
+
interface CardsListColumnHeaderLabels {
|
|
1595
|
+
cardName: string;
|
|
1596
|
+
fundingAccount: string;
|
|
1597
|
+
cardholder: string;
|
|
1598
|
+
status: string;
|
|
1599
|
+
limit: string;
|
|
1600
|
+
}
|
|
1601
|
+
/**
|
|
1602
|
+
* Screen-reader-only copy naming the details sheet a row click opens.
|
|
1603
|
+
*
|
|
1604
|
+
* Both strings are invisible by design: the sheet's visible header belongs to
|
|
1605
|
+
* whatever the owner slots into it (`CardDetailsPanel`, via `CardsWidget`), and a
|
|
1606
|
+
* second visible title would duplicate it. They exist because the sheet is a
|
|
1607
|
+
* dialog, and a dialog without an accessible name is announced as nothing.
|
|
1608
|
+
*/
|
|
1609
|
+
interface CardsListDetailsSheetLabels {
|
|
1610
|
+
/** Accessible name for the sheet. */
|
|
1611
|
+
title: string;
|
|
1612
|
+
/** Accessible description, announced after the name. */
|
|
1613
|
+
description: string;
|
|
1614
|
+
}
|
|
1615
|
+
/**
|
|
1616
|
+
* Every user-facing string the cards list renders, including screen-reader-only
|
|
1617
|
+
* copy and the decorative separators.
|
|
1618
|
+
*
|
|
1619
|
+
* There is intentionally **no** card-type or card-status map here: the row
|
|
1620
|
+
* arrives with `typeLabel` and `statusLabel` already resolved, so the
|
|
1621
|
+
* `DIGITAL`/`PHYSICAL` and `PENDING_ACTIVATION`/`ACTIVE`/`LOCKED`/`CLOSED` maps
|
|
1622
|
+
* live in `shared/feature` keyed on the generated types (EMBD-4404 amendment;
|
|
1623
|
+
* see `statusBadge.ts`). That is also where the "label keys carry the code term,
|
|
1624
|
+
* values carry the copy" rule applies — `digital`, never `virtual`, so a later
|
|
1625
|
+
* wording change is not a breaking rename.
|
|
1626
|
+
*/
|
|
1627
|
+
interface CardsListLabels {
|
|
1628
|
+
title: string;
|
|
1629
|
+
/** Accessible name for the list region. */
|
|
1630
|
+
regionLabel: string;
|
|
1631
|
+
columnHeaders: CardsListColumnHeaderLabels;
|
|
1632
|
+
/** Screen-reader name for the unheaded trailing row-actions column. */
|
|
1633
|
+
rowActionsColumn: string;
|
|
1634
|
+
showMyCardsToggle: string;
|
|
1635
|
+
createCardButton: string;
|
|
1636
|
+
activateButton: string;
|
|
1637
|
+
/** Accessible name for a row's Activate button; the card name is appended. */
|
|
1638
|
+
activateButtonForCard: string;
|
|
1639
|
+
/** Accessible name for a row's open-details control; card name appended. */
|
|
1640
|
+
selectCardButton: string;
|
|
1641
|
+
/** Separator between a card's nickname and its last four digits. */
|
|
1642
|
+
cardNameSeparator: string;
|
|
1643
|
+
/** Stands in for the limit when a card has none set. */
|
|
1644
|
+
noLimit: string;
|
|
1645
|
+
/** Announced while a page of cards is loading. */
|
|
1646
|
+
loadingLabel: string;
|
|
1647
|
+
emptyTitle: string;
|
|
1648
|
+
emptyDescription: string;
|
|
1649
|
+
errorTitle: string;
|
|
1650
|
+
errorDescription: string;
|
|
1651
|
+
retryButton: string;
|
|
1652
|
+
pagination: PaginationFooterLabels;
|
|
1653
|
+
/**
|
|
1654
|
+
* Copy for the details sheet a row click opens. Rendered by
|
|
1655
|
+
* `CardsListDetailsSheet` rather than by the table, but part of this surface
|
|
1656
|
+
* because it is one screen and one `labels` prop — the same reason `pagination`
|
|
1657
|
+
* sits here for a footer that lives in `shared/ui`.
|
|
1658
|
+
*/
|
|
1659
|
+
detailsSheet: CardsListDetailsSheetLabels;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/** Accessible copy for the panel header's controls. */
|
|
1663
|
+
interface CardDetailsHeaderLabels {
|
|
1664
|
+
/** Fallback title when the card has no nickname. */
|
|
1665
|
+
untitledCard: string;
|
|
1666
|
+
/** Accessible name for the kebab that opens the card actions menu. */
|
|
1667
|
+
menuTriggerAriaLabel: string;
|
|
1668
|
+
/** Accessible name for the close (X) control. */
|
|
1669
|
+
closeAriaLabel: string;
|
|
1670
|
+
}
|
|
1671
|
+
/** Accessible copy for the simplified card face. */
|
|
1672
|
+
interface CardDetailsCardFaceLabels {
|
|
1673
|
+
/** Alt text for the bank logo when the caller supplies no `bankLogoAlt`. */
|
|
1674
|
+
bankLogoAlt: string;
|
|
1675
|
+
}
|
|
1676
|
+
/** Row headings and per-row copy affordance names for the details table. */
|
|
1677
|
+
interface CardDetailsFieldLabels {
|
|
1678
|
+
cardholder: string;
|
|
1679
|
+
nickname: string;
|
|
1680
|
+
billingAddress: string;
|
|
1681
|
+
allowedCategories: string;
|
|
1682
|
+
/** Stands in for a row whose value the card does not carry. */
|
|
1683
|
+
emptyValue: string;
|
|
1684
|
+
copyCardholderAriaLabel: string;
|
|
1685
|
+
copyNicknameAriaLabel: string;
|
|
1686
|
+
copyBillingAddressAriaLabel: string;
|
|
1687
|
+
}
|
|
1688
|
+
/** Copy for the three non-loaded screens. */
|
|
1689
|
+
interface CardDetailsStatusScreenLabels {
|
|
1690
|
+
/** Accessible name announced while the panel is loading. */
|
|
1691
|
+
loadingAriaLabel: string;
|
|
1692
|
+
errorTitle: string;
|
|
1693
|
+
errorDescription: string;
|
|
1694
|
+
errorRetry: string;
|
|
1695
|
+
notFoundTitle: string;
|
|
1696
|
+
notFoundDescription: string;
|
|
1697
|
+
}
|
|
1698
|
+
interface CardDetailsPanelLabels {
|
|
1699
|
+
header: CardDetailsHeaderLabels;
|
|
1700
|
+
cardFace: CardDetailsCardFaceLabels;
|
|
1701
|
+
fields: CardDetailsFieldLabels;
|
|
1702
|
+
status: CardDetailsStatusScreenLabels;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Deep partial for label overrides.
|
|
1707
|
+
*
|
|
1708
|
+
* Both label surfaces this widget exposes have nested groups, and a shallow
|
|
1709
|
+
* `Partial` would let a consumer who overrides one nested string drop the rest
|
|
1710
|
+
* of that group. The repo has no shared `PartialDeep` and does not depend on
|
|
1711
|
+
* `type-fest`, so each labels module defines its own — `card-details-widget/ui`
|
|
1712
|
+
* has an identical one for the panel's labels, and this declaration also types
|
|
1713
|
+
* that prop here so the widget carries one such helper rather than two.
|
|
1714
|
+
*/
|
|
1715
|
+
type PartialDeep$2<T> = {
|
|
1716
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep$2<T[K]> : T[K];
|
|
1717
|
+
};
|
|
1718
|
+
/**
|
|
1719
|
+
* Copy the **feature** layer owns, as opposed to the panel's own
|
|
1720
|
+
* `CardDetailsPanelLabels`.
|
|
1721
|
+
*
|
|
1722
|
+
* The split follows where the string is resolved, not where it is painted. A
|
|
1723
|
+
* status badge word is chosen by mapping a generated `cardStatus` enum member,
|
|
1724
|
+
* which is a data-access-typed decision the presentational layer is not allowed
|
|
1725
|
+
* to make — so it is overridable here even though the panel renders it. The
|
|
1726
|
+
* panel's own labels stay with the panel.
|
|
1727
|
+
*/
|
|
1728
|
+
interface CardDetailsFeatureLabels {
|
|
1729
|
+
/** Confirmation toast after a copy affordance writes to the clipboard. */
|
|
1730
|
+
copySuccessToast: string;
|
|
1731
|
+
/** Program wording on the card face, keyed on the widget's `cardProgram`. */
|
|
1732
|
+
programLabels: Record<CardProgram, string>;
|
|
1733
|
+
/** Status badge wording, keyed on the generated card status. */
|
|
1734
|
+
statusLabels: Record<CardStatus, string>;
|
|
1735
|
+
/** Form-factor subtitle wording, keyed on the generated card type. */
|
|
1736
|
+
formFactorLabels: Record<CardType, string>;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
interface CardDetailsWidgetProps extends WidgetProviderProps {
|
|
1740
|
+
/** Id of the card to show. */
|
|
1741
|
+
cardId: string;
|
|
1742
|
+
/**
|
|
1743
|
+
* Which issuing product `cardId` belongs to. **Required, with no default** —
|
|
1744
|
+
* it selects the endpoint the card is fetched from, and a wrong guess would
|
|
1745
|
+
* 404 a card that exists. `CardsWidget` publishes the same required prop, so
|
|
1746
|
+
* one value configures a list and its detail panel together.
|
|
1747
|
+
*
|
|
1748
|
+
* A JavaScript consumer, or a host passing a route param straight through, can
|
|
1749
|
+
* still get a value past the type. **There is no catch-all and no default:**
|
|
1750
|
+
* anything that is not explicitly one of the two programs fetches nothing and
|
|
1751
|
+
* renders the panel's error state with no retry, and the reason is named on the
|
|
1752
|
+
* console. That covers an absent prop (`undefined` / `null`) as well as an
|
|
1753
|
+
* unrecognised one (`'prepaid'`, a case-wrong `'Credit'`), because the widget
|
|
1754
|
+
* cannot know which product to ask about in either case.
|
|
1755
|
+
*
|
|
1756
|
+
* A host that resolves the program asynchronously should gate its own render on
|
|
1757
|
+
* it rather than mounting this widget without it — an absent program is not
|
|
1758
|
+
* read as "still loading".
|
|
1759
|
+
*/
|
|
1760
|
+
cardProgram: CardProgram;
|
|
1761
|
+
/**
|
|
1762
|
+
* Called when the header's close control is pressed. Omitting it renders no
|
|
1763
|
+
* close control at all: a standalone card page has nothing to close back to,
|
|
1764
|
+
* while a host rendering the panel in a drawer supplies this and suppresses
|
|
1765
|
+
* its own chrome's close button so the two do not sit side by side.
|
|
1766
|
+
*/
|
|
1767
|
+
onClose?: () => void;
|
|
1768
|
+
/** Overrides for the panel's own copy. */
|
|
1769
|
+
labels?: PartialDeep$2<CardDetailsPanelLabels>;
|
|
1770
|
+
/** Overrides for the copy this layer resolves — see `CardDetailsFeatureLabels`. */
|
|
1771
|
+
featureLabels?: PartialDeep$2<CardDetailsFeatureLabels>;
|
|
1772
|
+
/**
|
|
1773
|
+
* Bank logo for the card face. The widget ships no bank artwork of its own and
|
|
1774
|
+
* resolves none from the init response: an embeddable library must not depend
|
|
1775
|
+
* on a Tesouro-hosted asset a host page's content-security policy can block,
|
|
1776
|
+
* and a bundled bank-name→URL table would put internal CDN links in the
|
|
1777
|
+
* published package (PLAT-1179, embedded ADR 0005). Omit it and the card face
|
|
1778
|
+
* renders without a logo rather than with a placeholder.
|
|
1779
|
+
*/
|
|
1780
|
+
bankLogoSrc?: string;
|
|
1781
|
+
bankLogoAlt?: string;
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
* Read-only details for one card, standalone-capable.
|
|
1785
|
+
*
|
|
1786
|
+
* Provides its own `WidgetProvider`, so it renders with nothing above it — a
|
|
1787
|
+
* partner can mount it on a real `/cards/[id]` page. Nested inside another
|
|
1788
|
+
* widget's provider with no auth props of its own, it inherits that init
|
|
1789
|
+
* response and `QueryClient` instead, costing no second `/init` call and sharing
|
|
1790
|
+
* one cache with the list that opened it. Do not forward `baseUrl` or
|
|
1791
|
+
* `widgetToken` into it from a parent widget: either one flips this provider into
|
|
1792
|
+
* fetch mode and buys a redundant init request per open.
|
|
1793
|
+
*
|
|
1794
|
+
* Both placements are covered by specs, because they take different code paths
|
|
1795
|
+
* through the provider and this export exists for the standalone one.
|
|
1796
|
+
*/
|
|
1797
|
+
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
1798
|
+
|
|
1799
|
+
/**
|
|
1800
|
+
* Every key of `T` optional, recursively, so a consumer can override one nested
|
|
1801
|
+
* label without restating its siblings. Defined locally because the repo has no
|
|
1802
|
+
* shared deep-partial type and does not depend on `type-fest` — same helper the
|
|
1803
|
+
* two card `ui` libs declare.
|
|
1804
|
+
*/
|
|
1805
|
+
type PartialDeep$1<T> = {
|
|
1806
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep$1<T[K]> : T[K];
|
|
1807
|
+
};
|
|
1808
|
+
/**
|
|
1809
|
+
* Strings this layer produces rather than passes through.
|
|
1810
|
+
*
|
|
1811
|
+
* They are separate from `CardsListLabels` (the `ui` lib's) because the cells
|
|
1812
|
+
* reaching that library are already formatted: the em-dash, the nickname
|
|
1813
|
+
* fallback and the "Viewing" prefix are all written *here*, so the UI lib has
|
|
1814
|
+
* no key to override them with. `bank-accounts-widget`'s `featureLabels` is the
|
|
1815
|
+
* precedent for the split.
|
|
1816
|
+
*
|
|
1817
|
+
* The status and form-factor maps live here for the same reason. EMBD-4503's
|
|
1818
|
+
* amendment put them in `shared/feature` keyed on the generated unions, and the
|
|
1819
|
+
* row arrives with `statusLabel` / `typeLabel` resolved — so this is the only
|
|
1820
|
+
* layer a consumer could reach them through.
|
|
1821
|
+
*/
|
|
1822
|
+
interface CardsFeatureLabels {
|
|
1823
|
+
/**
|
|
1824
|
+
* Stands in for a cell the card program carries no value for — credit has no
|
|
1825
|
+
* funding account, and a debit card's funding account is unresolvable without
|
|
1826
|
+
* the bank-account read scope.
|
|
1827
|
+
*/
|
|
1828
|
+
emptyValue: string;
|
|
1829
|
+
/** Name shown for a card with no nickname set. */
|
|
1830
|
+
untitledCard: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* Last-resort name for a funding account with neither a nickname nor an
|
|
1833
|
+
* account number to mask. An account with no nickname shows `••••1234`
|
|
1834
|
+
* instead, so that two unnamed accounts stay distinguishable — this is only
|
|
1835
|
+
* for the case where there is nothing at all to show.
|
|
1836
|
+
*/
|
|
1837
|
+
untitledFundingAccount: string;
|
|
1838
|
+
/** Display copy per card lifecycle status; keys are the generated code terms. */
|
|
1839
|
+
cardStatus: Record<CardStatus, string>;
|
|
1840
|
+
/** Display copy per card form factor; keys are the generated code terms. */
|
|
1841
|
+
cardType: Record<CardType, string>;
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
interface CardsWidgetPagination {
|
|
1845
|
+
/** Cursor for the page on screen. Omit for the first page. */
|
|
1846
|
+
paginationToken?: string;
|
|
1847
|
+
/** Number of rows requested per page. */
|
|
1848
|
+
pageSize: number;
|
|
1849
|
+
}
|
|
1850
|
+
interface CardsWidgetPaginationInput {
|
|
1851
|
+
paginationToken?: string;
|
|
1852
|
+
pageSize?: number;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
interface CardsWidgetProps extends WidgetProviderProps {
|
|
1856
|
+
/**
|
|
1857
|
+
* Which issuing program the list shows — `'credit'` or `'debit'`.
|
|
1858
|
+
*
|
|
1859
|
+
* **Required, with no default.** A cards list shows exactly one program, and
|
|
1860
|
+
* the value selects the endpoint that is read as well as which scopes gate the
|
|
1861
|
+
* affordances. Defaulting it would make the choice invisible at the call site
|
|
1862
|
+
* and would silently pick a program for a host that meant the other one.
|
|
1863
|
+
*/
|
|
1864
|
+
cardProgram: CardProgram;
|
|
1865
|
+
/**
|
|
1866
|
+
* Controlled cursor/page-size metadata. Supply with `onPaginationChange` when
|
|
1867
|
+
* a host owns the list position, e.g. URL-backed pagination.
|
|
1868
|
+
*/
|
|
1869
|
+
pagination?: CardsWidgetPaginationInput;
|
|
1870
|
+
/**
|
|
1871
|
+
* Initial cursor/page-size metadata for uncontrolled usage. Omit for first
|
|
1872
|
+
* page with the default page size. Ignored when `pagination` is supplied.
|
|
1873
|
+
*/
|
|
1874
|
+
defaultPagination?: CardsWidgetPaginationInput;
|
|
1875
|
+
/**
|
|
1876
|
+
* Called whenever the widget changes its cursor/page-size pair through pagination
|
|
1877
|
+
* controls or a cursor-invalidating reset such as page-size changes. Hosts that
|
|
1878
|
+
* persist list position should store this whole object, not the token alone.
|
|
1879
|
+
*/
|
|
1880
|
+
onPaginationChange?: (pagination: CardsWidgetPagination) => void;
|
|
1881
|
+
/**
|
|
1882
|
+
* Overrides for the list's own copy, merged per nested group. Typed with the
|
|
1883
|
+
* `ui` lib's own deep-partial helper (each labels module declares one — the
|
|
1884
|
+
* repo has no shared version) so this prop follows that library's contract.
|
|
1885
|
+
*/
|
|
1886
|
+
labels?: PartialDeep$3<CardsListLabels>;
|
|
1887
|
+
/**
|
|
1888
|
+
* Overrides for the copy this layer produces rather than passes through — the
|
|
1889
|
+
* status and form-factor vocabulary, the empty-cell placeholder, the nickname
|
|
1890
|
+
* fallbacks, and the pagination range prefix. Separate from `labels` because
|
|
1891
|
+
* the list library receives those values already formatted and so has no key
|
|
1892
|
+
* for them; `BankAccountsWidget.featureLabels` is the same split.
|
|
1893
|
+
*/
|
|
1894
|
+
featureLabels?: PartialDeep$1<CardsFeatureLabels>;
|
|
1895
|
+
/**
|
|
1896
|
+
* The card whose details panel is open. Supply with `onSelectedCardIdChange`
|
|
1897
|
+
* when the host owns that state — a deep-linked `/cards/[id]`, say. `null`
|
|
1898
|
+
* closes the panel; omit the prop for uncontrolled behaviour.
|
|
1899
|
+
*
|
|
1900
|
+
* Pinning it to `null` and navigating from `onSelectedCardIdChange` is how a
|
|
1901
|
+
* host suppresses the built-in panel entirely and owns navigation itself: the
|
|
1902
|
+
* click is still reported, and because the value never comes back non-null,
|
|
1903
|
+
* nothing ever opens.
|
|
1904
|
+
*/
|
|
1905
|
+
selectedCardId?: string | null;
|
|
1906
|
+
/** Initial selection when uncontrolled. Ignored when `selectedCardId` is supplied. */
|
|
1907
|
+
defaultSelectedCardId?: string | null;
|
|
1908
|
+
/**
|
|
1909
|
+
* Called whenever the open card changes, including on close (`null`).
|
|
1910
|
+
*
|
|
1911
|
+
* Supplying it does **not** change what renders — a host can observe row clicks
|
|
1912
|
+
* for analytics, or mirror the selection into a query param, and still get the
|
|
1913
|
+
* built-in panel. (The removed `onCardSelect` could not: its presence
|
|
1914
|
+
* suppressed the panel, so those two intents were unexpressible together.)
|
|
1915
|
+
*/
|
|
1916
|
+
onSelectedCardIdChange?: (cardId: string | null) => void;
|
|
1917
|
+
/**
|
|
1918
|
+
* Label overrides forwarded into the nested card details panel, mirroring
|
|
1919
|
+
* `BankAccountsWidgetProps.accountDetailsLabels`.
|
|
1920
|
+
*
|
|
1921
|
+
* Derived from the receiving prop rather than restated, so the forwarded and
|
|
1922
|
+
* received types cannot drift. Naming the panel's labels type directly is not
|
|
1923
|
+
* an option anyway: a cross-widget `type:ui` import is banned by
|
|
1924
|
+
* `EMBEDDED_DEP_CONSTRAINTS`, and this indexed access reaches it through the
|
|
1925
|
+
* sanctioned feature → feature edge without re-exporting anything. It already
|
|
1926
|
+
* carries `card-details-widget`'s own deep partial, so no wrapper here.
|
|
1927
|
+
*/
|
|
1928
|
+
cardDetailsLabels?: CardDetailsWidgetProps['labels'];
|
|
1929
|
+
/**
|
|
1930
|
+
* Overrides for the copy the panel's *feature* layer resolves — its status
|
|
1931
|
+
* vocabulary, form-factor wording, program label and copy-success toast.
|
|
1932
|
+
*
|
|
1933
|
+
* Distinct from `featureLabels`, which covers the list's own vocabulary.
|
|
1934
|
+
* Without this prop the panel is unreachable for that copy, so a host that
|
|
1935
|
+
* renames a status in the list would still read the default inside the panel.
|
|
1936
|
+
*/
|
|
1937
|
+
cardDetailsFeatureLabels?: CardDetailsWidgetProps['featureLabels'];
|
|
1938
|
+
/**
|
|
1939
|
+
* Bank logo for the details panel's card face. Forwarded verbatim; the panel
|
|
1940
|
+
* renders no logo without it, so omitting these leaves the built-in sheet
|
|
1941
|
+
* showing a logo-less card rather than a placeholder.
|
|
1942
|
+
*
|
|
1943
|
+
* These stay props because the package ships no bank artwork and resolves none
|
|
1944
|
+
* from the init response (PLAT-1179, embedded ADR 0005).
|
|
1945
|
+
*/
|
|
1946
|
+
bankLogoSrc?: string;
|
|
1947
|
+
bankLogoAlt?: string;
|
|
1948
|
+
/**
|
|
1949
|
+
* Called when Create card is clicked. The button renders only when the widget
|
|
1950
|
+
* token also holds the program's issue scope.
|
|
1951
|
+
*
|
|
1952
|
+
* The widget deliberately implements no creation flow: `POST /credit-cards`
|
|
1953
|
+
* exists but has no designed flow in EMBD-4398, and debit has no create
|
|
1954
|
+
* endpoint at all despite `debit_card:issue:org` being a real scope. So the
|
|
1955
|
+
* gesture is handed to the host, and omitting the callback hides the button
|
|
1956
|
+
* rather than offering a control that does nothing.
|
|
1957
|
+
*/
|
|
1958
|
+
onCreateCard?: () => void;
|
|
1959
|
+
/**
|
|
1960
|
+
* Called with the card's id when a row's Activate button is clicked. The button
|
|
1961
|
+
* renders only on cards in `PENDING_ACTIVATION`, and only when the widget token
|
|
1962
|
+
* also holds the program's activate scope.
|
|
1963
|
+
*
|
|
1964
|
+
* Host-owned for the same reason as `onCreateCard`: EMBD-4398 designs no
|
|
1965
|
+
* activation flow, and `POST /debit-cards/{id}/activate` does not exist even
|
|
1966
|
+
* though `debit_card:activate:org` does — so a built-in flow could serve only
|
|
1967
|
+
* one of the two programs.
|
|
1968
|
+
*/
|
|
1969
|
+
onActivateCard?: (cardId: string) => void;
|
|
1970
|
+
}
|
|
1971
|
+
/**
|
|
1972
|
+
* The cards list widget: one page of an organization's credit or debit cards,
|
|
1973
|
+
* with scope-gated Show my cards, Create card and per-row Activate affordances.
|
|
1974
|
+
*
|
|
1975
|
+
* Selecting a row opens that card's read-only details in a sheet, composed from
|
|
1976
|
+
* `CardDetailsWidget` over the sanctioned feature → feature edge. Which card is
|
|
1977
|
+
* open is a controllable value (`selectedCardId` / `defaultSelectedCardId` /
|
|
1978
|
+
* `onSelectedCardIdChange`) so a host can deep-link into it, mirror it into a
|
|
1979
|
+
* query param, or take navigation over entirely — the widget itself reads no
|
|
1980
|
+
* router and no search params.
|
|
1981
|
+
*
|
|
1982
|
+
* A pure provider wrapper — every hook lives in `CardsWidgetInner` so it runs
|
|
1983
|
+
* inside `WidgetProvider`'s subtree, which is what the data-access hooks read
|
|
1984
|
+
* their client, org and token from.
|
|
1985
|
+
*/
|
|
1986
|
+
declare function CardsWidget({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: CardsWidgetProps): React.JSX.Element;
|
|
1987
|
+
|
|
1532
1988
|
interface AddressFieldGroupLabels {
|
|
1533
1989
|
line1: string;
|
|
1534
1990
|
line2: string;
|
|
@@ -2803,8 +3259,8 @@ interface DisclosureLinks {
|
|
|
2803
3259
|
}
|
|
2804
3260
|
|
|
2805
3261
|
/** Nested keys are individually optional — see AGENTS.md labels guidance. */
|
|
2806
|
-
type PartialDeep
|
|
2807
|
-
[K in keyof T]?: T[K] extends object ? PartialDeep
|
|
3262
|
+
type PartialDeep<T> = {
|
|
3263
|
+
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
2808
3264
|
};
|
|
2809
3265
|
interface BankAccountOnboardingWidgetLabels {
|
|
2810
3266
|
stepIndicator: {
|
|
@@ -2813,7 +3269,7 @@ interface BankAccountOnboardingWidgetLabels {
|
|
|
2813
3269
|
ownership: string;
|
|
2814
3270
|
done: string;
|
|
2815
3271
|
};
|
|
2816
|
-
businessDetails: PartialDeep
|
|
3272
|
+
businessDetails: PartialDeep<BusinessDetailsLabels>;
|
|
2817
3273
|
personalDetails: Partial<PersonalDetailsLabels>;
|
|
2818
3274
|
additionalOwners: Partial<AdditionalOwnersLabels>;
|
|
2819
3275
|
result: ResultLabels;
|
|
@@ -2843,7 +3299,7 @@ interface BankAccountOnboardingWidgetLabels {
|
|
|
2843
3299
|
interface BankAccountOnboardingWidgetInnerProps {
|
|
2844
3300
|
onEmbeddedOnboardingCompletedSuccessfully: () => void;
|
|
2845
3301
|
onNavigateToDashboard: () => void;
|
|
2846
|
-
labels?: PartialDeep
|
|
3302
|
+
labels?: PartialDeep<BankAccountOnboardingWidgetLabels>;
|
|
2847
3303
|
initialBusinessDetails?: Partial<BusinessDetailsValues>;
|
|
2848
3304
|
initialPersonalDetails?: Partial<PersonalDetailsValues>;
|
|
2849
3305
|
initialAdditionalOwners?: AdditionalOwner[];
|
|
@@ -3558,307 +4014,7 @@ interface GapCoverageAlertProps {
|
|
|
3558
4014
|
labels?: Partial<GapCoverageAlertLabels>;
|
|
3559
4015
|
}
|
|
3560
4016
|
|
|
3561
|
-
|
|
3562
|
-
* Deep partial for label overrides. `Labels` here has nested groups, and a
|
|
3563
|
-
* shallow `Partial` would let a consumer who overrides one nested string drop
|
|
3564
|
-
* the rest of that group. The repo has no shared `PartialDeep` and does not
|
|
3565
|
-
* depend on `type-fest`, so each labels module defines its own.
|
|
3566
|
-
*/
|
|
3567
|
-
type PartialDeep$1<T> = {
|
|
3568
|
-
[K in keyof T]?: T[K] extends object ? PartialDeep$1<T[K]> : T[K];
|
|
3569
|
-
};
|
|
3570
|
-
/** Accessible copy for the panel header's controls. */
|
|
3571
|
-
interface CardDetailsHeaderLabels {
|
|
3572
|
-
/** Fallback title when the card has no nickname. */
|
|
3573
|
-
untitledCard: string;
|
|
3574
|
-
/** Accessible name for the kebab that opens the card actions menu. */
|
|
3575
|
-
menuTriggerAriaLabel: string;
|
|
3576
|
-
/** Accessible name for the close (X) control. */
|
|
3577
|
-
closeAriaLabel: string;
|
|
3578
|
-
}
|
|
3579
|
-
/** Accessible copy for the simplified card face. */
|
|
3580
|
-
interface CardDetailsCardFaceLabels {
|
|
3581
|
-
/** Alt text for the bank logo when the caller supplies no `bankLogoAlt`. */
|
|
3582
|
-
bankLogoAlt: string;
|
|
3583
|
-
}
|
|
3584
|
-
/** Row headings and per-row copy affordance names for the details table. */
|
|
3585
|
-
interface CardDetailsFieldLabels {
|
|
3586
|
-
cardholder: string;
|
|
3587
|
-
nickname: string;
|
|
3588
|
-
billingAddress: string;
|
|
3589
|
-
allowedCategories: string;
|
|
3590
|
-
/** Stands in for a row whose value the card does not carry. */
|
|
3591
|
-
emptyValue: string;
|
|
3592
|
-
copyCardholderAriaLabel: string;
|
|
3593
|
-
copyNicknameAriaLabel: string;
|
|
3594
|
-
copyBillingAddressAriaLabel: string;
|
|
3595
|
-
}
|
|
3596
|
-
/** Copy for the three non-loaded screens. */
|
|
3597
|
-
interface CardDetailsStatusScreenLabels {
|
|
3598
|
-
/** Accessible name announced while the panel is loading. */
|
|
3599
|
-
loadingAriaLabel: string;
|
|
3600
|
-
errorTitle: string;
|
|
3601
|
-
errorDescription: string;
|
|
3602
|
-
errorRetry: string;
|
|
3603
|
-
notFoundTitle: string;
|
|
3604
|
-
notFoundDescription: string;
|
|
3605
|
-
}
|
|
3606
|
-
interface CardDetailsPanelLabels {
|
|
3607
|
-
header: CardDetailsHeaderLabels;
|
|
3608
|
-
cardFace: CardDetailsCardFaceLabels;
|
|
3609
|
-
fields: CardDetailsFieldLabels;
|
|
3610
|
-
status: CardDetailsStatusScreenLabels;
|
|
3611
|
-
}
|
|
3612
|
-
|
|
3613
|
-
/**
|
|
3614
|
-
* Presentational tone for the card status badge. The feature layer decides which
|
|
3615
|
-
* tone a domain status maps to; this UI helper only turns a tone into colors —
|
|
3616
|
-
* so the component never encodes card-status semantics.
|
|
3617
|
-
*
|
|
3618
|
-
* Deliberately NOT a `Record<CardStatus, string>` inside this lib (the shape
|
|
3619
|
-
* `bill-pay-widget` uses). `cards-widget/ui` ↔ `card-details-widget/ui` imports
|
|
3620
|
-
* are lint-banned, so a status map here would have to be duplicated in the list
|
|
3621
|
-
* widget and could drift between the list badge and the panel badge on the same
|
|
3622
|
-
* screen. `CARD_STATUS_TONE` and `CARD_STATUS_LABELS_EN` live in
|
|
3623
|
-
* `shared/feature` instead (EMBD-4503), and both widgets read from there.
|
|
3624
|
-
*/
|
|
3625
|
-
type CardStatusTone$1 = 'success' | 'info' | 'warning' | 'neutral';
|
|
3626
|
-
|
|
3627
|
-
/** Which of the four screens the panel renders. */
|
|
3628
|
-
type CardDetailsPanelState = 'loading' | 'error' | 'notFound' | 'loaded';
|
|
3629
|
-
interface CardDetailsPanelProps {
|
|
3630
|
-
labels?: PartialDeep$1<CardDetailsPanelLabels>;
|
|
3631
|
-
state: CardDetailsPanelState;
|
|
3632
|
-
/** Card nickname. Absent falls back to `labels.header.untitledCard`. */
|
|
3633
|
-
nickname?: string;
|
|
3634
|
-
/** Already-resolved status wording, e.g. "Active". */
|
|
3635
|
-
statusLabel?: string;
|
|
3636
|
-
/** Already-resolved presentational tone for the status badge. */
|
|
3637
|
-
statusTone?: CardStatusTone$1;
|
|
3638
|
-
/** Form-factor subtitle, e.g. "Virtual". */
|
|
3639
|
-
formFactorLabel?: string;
|
|
3640
|
-
/** Items for the kebab menu. Absent renders no kebab. */
|
|
3641
|
-
cardMenu?: ReactNode;
|
|
3642
|
-
/** Absent renders no X — see `CardDetailsHeader`. */
|
|
3643
|
-
onClose?: () => void;
|
|
3644
|
-
bankLogoSrc?: string;
|
|
3645
|
-
bankLogoAlt?: string;
|
|
3646
|
-
cardholderName?: string;
|
|
3647
|
-
/** Already-masked account number, e.g. `•••• •••• •••• 1234`. */
|
|
3648
|
-
maskedCardNumber?: string;
|
|
3649
|
-
/** Resolved program wording, e.g. "Business credit". */
|
|
3650
|
-
programLabel?: string;
|
|
3651
|
-
/**
|
|
3652
|
-
* Unpopulated today: credit has no billing address and EMBD-4406 promises one
|
|
3653
|
-
* for debit. Committing the prop now keeps that follow-up feature-layer-only.
|
|
3654
|
-
* Renders nothing when absent.
|
|
3655
|
-
*/
|
|
3656
|
-
billingAddress?: string;
|
|
3657
|
-
/** Same as `billingAddress` — committed for EMBD-4406, renders nothing when absent. */
|
|
3658
|
-
allowedCategories?: string[];
|
|
3659
|
-
/** Emits the gesture only; the clipboard write and toast are the feature layer's. */
|
|
3660
|
-
onCopy?: (value: string) => void;
|
|
3661
|
-
/** Absent renders the error screen without a retry button. */
|
|
3662
|
-
onRetry?: () => void;
|
|
3663
|
-
className?: string;
|
|
3664
|
-
}
|
|
3665
|
-
|
|
3666
|
-
/**
|
|
3667
|
-
* Every key of `T` optional, recursively, so a consumer can override one nested
|
|
3668
|
-
* label without restating its siblings. Defined locally because the repo has no
|
|
3669
|
-
* shared deep-partial type and does not depend on `type-fest`.
|
|
3670
|
-
*/
|
|
3671
|
-
type PartialDeep<T> = {
|
|
3672
|
-
[K in keyof T]?: T[K] extends object ? PartialDeep<T[K]> : T[K];
|
|
3673
|
-
};
|
|
3674
|
-
interface CardsListColumnHeaderLabels {
|
|
3675
|
-
cardName: string;
|
|
3676
|
-
fundingAccount: string;
|
|
3677
|
-
cardholder: string;
|
|
3678
|
-
status: string;
|
|
3679
|
-
limit: string;
|
|
3680
|
-
}
|
|
3681
|
-
/**
|
|
3682
|
-
* Screen-reader-only copy naming the details sheet a row click opens.
|
|
3683
|
-
*
|
|
3684
|
-
* Both strings are invisible by design: the sheet's visible header belongs to
|
|
3685
|
-
* whatever the owner slots into it (`CardDetailsPanel`, via `CardsWidget`), and a
|
|
3686
|
-
* second visible title would duplicate it. They exist because the sheet is a
|
|
3687
|
-
* dialog, and a dialog without an accessible name is announced as nothing.
|
|
3688
|
-
*/
|
|
3689
|
-
interface CardsListDetailsSheetLabels {
|
|
3690
|
-
/** Accessible name for the sheet. */
|
|
3691
|
-
title: string;
|
|
3692
|
-
/** Accessible description, announced after the name. */
|
|
3693
|
-
description: string;
|
|
3694
|
-
}
|
|
3695
|
-
/**
|
|
3696
|
-
* Every user-facing string the cards list renders, including screen-reader-only
|
|
3697
|
-
* copy and the decorative separators.
|
|
3698
|
-
*
|
|
3699
|
-
* There is intentionally **no** card-type or card-status map here: the row
|
|
3700
|
-
* arrives with `typeLabel` and `statusLabel` already resolved, so the
|
|
3701
|
-
* `DIGITAL`/`PHYSICAL` and `PENDING_ACTIVATION`/`ACTIVE`/`LOCKED`/`CLOSED` maps
|
|
3702
|
-
* live in `shared/feature` keyed on the generated types (EMBD-4404 amendment;
|
|
3703
|
-
* see `statusBadge.ts`). That is also where the "label keys carry the code term,
|
|
3704
|
-
* values carry the copy" rule applies — `digital`, never `virtual`, so a later
|
|
3705
|
-
* wording change is not a breaking rename.
|
|
3706
|
-
*/
|
|
3707
|
-
interface CardsListLabels {
|
|
3708
|
-
title: string;
|
|
3709
|
-
/** Accessible name for the list region. */
|
|
3710
|
-
regionLabel: string;
|
|
3711
|
-
columnHeaders: CardsListColumnHeaderLabels;
|
|
3712
|
-
/** Screen-reader name for the unheaded trailing row-actions column. */
|
|
3713
|
-
rowActionsColumn: string;
|
|
3714
|
-
showMyCardsToggle: string;
|
|
3715
|
-
createCardButton: string;
|
|
3716
|
-
activateButton: string;
|
|
3717
|
-
/** Accessible name for a row's Activate button; the card name is appended. */
|
|
3718
|
-
activateButtonForCard: string;
|
|
3719
|
-
/** Accessible name for a row's open-details control; card name appended. */
|
|
3720
|
-
selectCardButton: string;
|
|
3721
|
-
/** Separator between a card's nickname and its last four digits. */
|
|
3722
|
-
cardNameSeparator: string;
|
|
3723
|
-
/** Stands in for the limit when a card has none set. */
|
|
3724
|
-
noLimit: string;
|
|
3725
|
-
/** Announced while a page of cards is loading. */
|
|
3726
|
-
loadingLabel: string;
|
|
3727
|
-
emptyTitle: string;
|
|
3728
|
-
emptyDescription: string;
|
|
3729
|
-
errorTitle: string;
|
|
3730
|
-
errorDescription: string;
|
|
3731
|
-
retryButton: string;
|
|
3732
|
-
pagination: PaginationFooterLabels;
|
|
3733
|
-
/**
|
|
3734
|
-
* Copy for the details sheet a row click opens. Rendered by
|
|
3735
|
-
* `CardsListDetailsSheet` rather than by the table, but part of this surface
|
|
3736
|
-
* because it is one screen and one `labels` prop — the same reason `pagination`
|
|
3737
|
-
* sits here for a footer that lives in `shared/ui`.
|
|
3738
|
-
*/
|
|
3739
|
-
detailsSheet: CardsListDetailsSheetLabels;
|
|
3740
|
-
}
|
|
3741
|
-
|
|
3742
|
-
/**
|
|
3743
|
-
* Presentational tone for a card's status chip. The feature layer decides which
|
|
3744
|
-
* tone a domain status maps to; this UI helper only turns a tone into colors, so
|
|
3745
|
-
* the library never encodes card-status semantics.
|
|
3746
|
-
*
|
|
3747
|
-
* This follows `team-widget/ui/src/lib/TeamMembersTable/statusBadge.ts` rather
|
|
3748
|
-
* than `bill-pay-widget`'s `Record<PayableBadgeStatus, string>`: the two in-repo
|
|
3749
|
-
* precedents disagree, and EMBD-4404 settled it in favour of `team-widget`.
|
|
3750
|
-
* `CARD_STATUS_TONE` / `CARD_STATUS_LABELS_EN` / `CARD_TYPE_LABELS_EN` live in
|
|
3751
|
-
* `shared/feature` (keyed on the generated types) so the list badge and the
|
|
3752
|
-
* EMBD-4404 details panel cannot drift apart — a `cards-widget/ui` ↔
|
|
3753
|
-
* `card-details-widget/ui` import is lint-banned and the reverse feature import
|
|
3754
|
-
* would be an Nx cycle, leaving `shared/feature` the only home serving both.
|
|
3755
|
-
*/
|
|
3756
|
-
type CardStatusTone = 'success' | 'info' | 'warning' | 'neutral';
|
|
3757
|
-
|
|
3758
|
-
/**
|
|
3759
|
-
* The cards list's columns, in the canonical Figma order (node 612-140748, with
|
|
3760
|
-
* the Funding account column EMBD-4398 has pending).
|
|
3761
|
-
*
|
|
3762
|
-
* Keys name the **column on screen**, not a row field: `cardName` is one column
|
|
3763
|
-
* that renders a card's nickname, last four digits and card type together, so
|
|
3764
|
-
* column keys and `CardRow` fields are deliberately not 1:1. Pass a subset (in
|
|
3765
|
-
* any order) as `CardsListProps.columns` — this constant is the full set, handy
|
|
3766
|
-
* for the owner to filter.
|
|
3767
|
-
*/
|
|
3768
|
-
declare const CARD_COLUMN_KEYS: readonly ["cardName", "fundingAccount", "cardholder", "status", "limit"];
|
|
3769
|
-
type CardColumnKey = (typeof CARD_COLUMN_KEYS)[number];
|
|
3770
|
-
/**
|
|
3771
|
-
* A display-ready cards-list row — every field is an already-formatted string
|
|
3772
|
-
* the owner produced.
|
|
3773
|
-
*
|
|
3774
|
-
* This is the **superset** of what any card program shows, so the library does
|
|
3775
|
-
* not know that credit and debit exist. A program with no value for a field
|
|
3776
|
-
* passes an em-dash rather than omitting it, and a program that does not show a
|
|
3777
|
-
* column at all simply leaves that column out of `columns`.
|
|
3778
|
-
*/
|
|
3779
|
-
interface CardRow {
|
|
3780
|
-
/** Stable render identity for React keys and test anchors. */
|
|
3781
|
-
key: string;
|
|
3782
|
-
nickname: string;
|
|
3783
|
-
/** Last four digits, already trimmed by the owner, e.g. `"4783"`. */
|
|
3784
|
-
lastFour: string;
|
|
3785
|
-
/** Card type copy, e.g. `"Digital"` / `"Physical"`, resolved by the owner. */
|
|
3786
|
-
typeLabel: string;
|
|
3787
|
-
fundingAccount: string;
|
|
3788
|
-
cardholder: string;
|
|
3789
|
-
statusLabel: string;
|
|
3790
|
-
statusTone: CardStatusTone;
|
|
3791
|
-
/**
|
|
3792
|
-
* The card's spending limit amount, formatted, e.g. `"$10,000"`. Omit when the
|
|
3793
|
-
* card has no limit, and the cell falls back to the `noLimit` label.
|
|
3794
|
-
*
|
|
3795
|
-
* Deliberately **not** paired with a balance — the column shows the limit on
|
|
3796
|
-
* the card regardless of what has been spent or what the funding account holds
|
|
3797
|
-
* (Dan's decision with the backend engineers, 2026-07-28).
|
|
3798
|
-
*/
|
|
3799
|
-
limit?: string;
|
|
3800
|
-
/**
|
|
3801
|
-
* The muted qualifier rendered after `limit`, e.g. `"/mo"`, `"/day"`,
|
|
3802
|
-
* `"one-time"`. Split from the amount because the mockup gives the two
|
|
3803
|
-
* different weights — amount in foreground, qualifier muted — so one
|
|
3804
|
-
* pre-joined string could not render it.
|
|
3805
|
-
*
|
|
3806
|
-
* **No caller sets this today, on either program.** `CreditCardResponse` and
|
|
3807
|
-
* `DebitCardResponse` each expose a single bare limit scalar — `cardLimit` and
|
|
3808
|
-
* `spendingLimit` — with no period beside it. TSYS models debit limits per
|
|
3809
|
-
* cycle (`perCycle` / `daily` / `monthly`, plus a separate
|
|
3810
|
-
* `singlePurchaseLimit`), but none of that is in `openapi.json`, so
|
|
3811
|
-
* `toCardRows` leaves this unset for every card and `rows.spec.ts` pins that.
|
|
3812
|
-
*
|
|
3813
|
-
* Kept rather than deleted because the field is a plausible API addition and
|
|
3814
|
-
* the renderer for it is already correct: a period would otherwise have to
|
|
3815
|
-
* arrive pre-joined into `limit`, which cannot carry the two weights the design
|
|
3816
|
-
* gives them. When the API grows one, populate it in `toCardRows` and restore
|
|
3817
|
-
* the periods to the debit fixtures — nothing here changes.
|
|
3818
|
-
*
|
|
3819
|
-
* Ignored when `limit` is omitted.
|
|
3820
|
-
*/
|
|
3821
|
-
limitPeriod?: string;
|
|
3822
|
-
/** Optional open-details gesture for the card-name cell. */
|
|
3823
|
-
onSelect?: () => void;
|
|
3824
|
-
/** Optional Activate gesture; when omitted, the action cell stays empty. */
|
|
3825
|
-
onActivate?: () => void;
|
|
3826
|
-
}
|
|
3827
|
-
|
|
3828
|
-
interface CardsListProps {
|
|
3829
|
-
rows: CardRow[];
|
|
3830
|
-
/**
|
|
3831
|
-
* The visible columns, in render order. Required: which columns a program
|
|
3832
|
-
* shows is the owner's call, and a default would silently decide it.
|
|
3833
|
-
* `CARD_COLUMN_KEYS` is the full set to filter from.
|
|
3834
|
-
*/
|
|
3835
|
-
columns: readonly CardColumnKey[];
|
|
3836
|
-
isLoading?: boolean;
|
|
3837
|
-
isError?: boolean;
|
|
3838
|
-
/** Renders the "Show my cards" toggle. A boolean — never a role or a scope. */
|
|
3839
|
-
canToggleShowMyCards?: boolean;
|
|
3840
|
-
isShowingMyCards?: boolean;
|
|
3841
|
-
onShowMyCardsChange?: (isShowingMyCards: boolean) => void;
|
|
3842
|
-
/** Renders "Create card", in the header and as the empty-state action. */
|
|
3843
|
-
canCreateCard?: boolean;
|
|
3844
|
-
onCreateCardClick?: () => void;
|
|
3845
|
-
/** Renders a retry action on the error state. */
|
|
3846
|
-
onRetry?: () => void;
|
|
3847
|
-
isPaginationVisible?: boolean;
|
|
3848
|
-
pageSize?: number;
|
|
3849
|
-
pageSizeOptions?: number[];
|
|
3850
|
-
/** Pre-formatted range, e.g. "Viewing 1-10". The owner computes it. */
|
|
3851
|
-
rangeLabel?: string;
|
|
3852
|
-
isPreviousPageDisabled?: boolean;
|
|
3853
|
-
isNextPageDisabled?: boolean;
|
|
3854
|
-
onPageSizeChange?: (pageSize: number) => void;
|
|
3855
|
-
onPreviousPageClick?: () => void;
|
|
3856
|
-
onNextPageClick?: () => void;
|
|
3857
|
-
/** Merged over `CARDS_LIST_LABELS_EN`; nested groups merge per group. */
|
|
3858
|
-
labels?: PartialDeep<CardsListLabels>;
|
|
3859
|
-
}
|
|
3860
|
-
|
|
3861
|
-
type PendingFeatureStyleSources = GapCoverageAlertProps | NoPolicyBannerProps | CardDetailsPanelProps | CardsListProps;
|
|
4017
|
+
type PendingFeatureStyleSources = GapCoverageAlertProps | NoPolicyBannerProps;
|
|
3862
4018
|
|
|
3863
|
-
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CounterpartsWidget, ExpenseApprovalPoliciesWidget, ExpenseManagementWidget, ExpenseRequirementsWidget, GLCodeTableWidget, GL_CODE_TABLE_LABELS_EN, GlCodeTable, HELP_FAQ_EN, HELP_WIDGET_LABELS_EN, HelpWidget, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, ProfileWidget, RESULT_LABELS_EN, ReceiptMatchWidget, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TagsWidget, TeamWidget, TransfersWidget, UIFramework, UploadReceiptWidget, WidgetProvider, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, updateGlobalWidgetConfig, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetLoading, useWidgetToken };
|
|
3864
|
-
export type { AcceptDisclosuresLinks, AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, Labels$5 as AccountDetailsWidgetLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$5 as BankAccountsWidgetFeatureLabels, Labels$6 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$4 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, GLCodeTableWidgetProps, GlCode, GlCodeTableLabels, GlCodeTableProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels$4 as LinkedAccountsWidgetFeatureLabels, Labels$3 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$3 as ProfileWidgetFeatureLabels, Labels$2 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, FeatureLabels$2 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels$1 as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetProviderProps, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
|
4019
|
+
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BillPayWidget, CardDetailsWidget, CardsWidget, CounterpartsWidget, ExpenseApprovalPoliciesWidget, ExpenseManagementWidget, ExpenseRequirementsWidget, GLCodeTableWidget, GL_CODE_TABLE_LABELS_EN, GlCodeTable, HELP_FAQ_EN, HELP_WIDGET_LABELS_EN, HelpWidget, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, Implementation, InsightsWidget, ReceivablesWidgetMonite as InvoicingWidget, LinkedAccountsWidget, PERSONAL_DETAILS_LABELS_EN, ProductsWidget, ProfileWidget, RESULT_LABELS_EN, ReceiptMatchWidget, ReceivablesWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, SettingsWidget, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TagsWidget, TeamWidget, TransfersWidget, UIFramework, UploadReceiptWidget, WidgetProvider, WidgetTokenRefreshProvider, cloneEmbeddedClient, getGlobalWidgetConfig, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, updateGlobalWidgetConfig, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetLoading, useWidgetToken };
|
|
4020
|
+
export type { AcceptDisclosuresLinks, AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, Labels$5 as AccountDetailsWidgetLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$5 as BankAccountsWidgetFeatureLabels, Labels$6 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BillPayWidgetProps, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels as CardsWidgetFeatureLabels, CardsListLabels as CardsWidgetLabels, CardsWidgetPagination, CardsWidgetProps, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, DisclosureLinks, EmbeddedClient, ExpenseApprovalPoliciesWidgetProps, Labels$4 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseRequirementsWidgetProps, GLCodeTableWidgetProps, GlCode, GlCodeTableLabels, GlCodeTableProps, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, HelpWidgetLabels, HelpWidgetProps, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, ReceivablesWidgetMoniteProps as InvoicingWidgetProps, LinkComponent, LinkComponentProps, FeatureLabels$4 as LinkedAccountsWidgetFeatureLabels, Labels$3 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MarketingWidgetContent, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps, FeatureLabels$3 as ProfileWidgetFeatureLabels, Labels$2 as ProfileWidgetLabels, ProfileWidgetProps, ReceiptMatchWidgetProps, ReceivableActionDialogLabels, ReceivableDetailsSheetLabelOverrides, ReceivableDetailsSheetLabels, ReceivableDocumentType, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivableSendDialogLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, ReceivablesWidgetTab, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, FeatureLabels$2 as SettingsWidgetFeatureLabels, Labels$1 as SettingsWidgetLabels, SettingsWidgetProps, SingleInsightLabels, TagDeleteDialogLabels, TagFormSheetLabels, TagMessageLabels, TagsScreenLabels, TagsWidgetProps, FeatureLabels$1 as TeamWidgetFeatureLabels, Labels as TeamWidgetLabels, TeamWidgetProps, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, UploadReceiptWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetProviderProps, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|