@tesouro/embedded-components-react 0.2.79 → 0.2.82
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 +32 -30
- package/dist/index.css +13 -0
- package/dist/index.d.ts +34 -0
- package/dist/lib/BankAccountsWidget.d.ts +16 -0
- package/dist/lib/ReceivablesWidget.js +21 -21
- package/dist/lib/SettingsWidget.d.ts +7 -0
- package/dist/lib/TeamWidget.d.ts +11 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index4.js +37 -20
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index10.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index11.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index12.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index2.js +199 -133
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index5.js +29 -49
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index6.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index7.js +13 -17
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index8.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index9.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index2.js +156 -116
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index3.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index6.js +93 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index7.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js +69 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index4.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index6.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- 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 +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- 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/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +99 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +57 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +24 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +20 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +19 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +117 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +66 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +13 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +12 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +41 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +74 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +55 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +195 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +80 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +116 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +70 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +191 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +105 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +130 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +20 -391
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +26 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +183 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +88 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +6 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +43 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +48 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +394 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +25 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +93 -395
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +99 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +13 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +15 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +80 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +157 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +27 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +27 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +78 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +10 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +21 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +73 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +488 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +167 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +40 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +345 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +299 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +101 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +262 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +24 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +19 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +2 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +91 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +93 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +192 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +149 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +58 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +42 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +21 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +186 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +107 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +81 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +280 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +43 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +15 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +83 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +218 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +20 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +18 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +171 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +134 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +162 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +18 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +60 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +66 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +60 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +6 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +10 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +59 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +24 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +60 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +39 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +57 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +29 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +112 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +21 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +41 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +57 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +22 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +53 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +27 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +57 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +11 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +76 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +42 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +95 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +70 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +17 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +10 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +50 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +63 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +126 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +46 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +40 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +32 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +6 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +99 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +21 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +30 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +26 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +40 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +70 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +94 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +35 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +255 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +10 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +49 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +35 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +24 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +5 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +31 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +4 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +125 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +93 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +38 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +18 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +33 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +30 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +85 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +110 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +72 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +64 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +12 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +65 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +65 -26
- 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 +28 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +23 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +37 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +21 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +15 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +20 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +11 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +20 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +119 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +17 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +65 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +51 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +39 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +95 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +16 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +75 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +19 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +71 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +43 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +35 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +13 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +74 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +82 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +53 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +52 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +52 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +36 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +45 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +16 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +58 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +28 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +50 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +79 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +36 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +48 -20
- 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 +6 -6
- 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 +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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +100 -99
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +207 -191
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index6.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index11.js +67 -59
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index16.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index17.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +183 -180
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index7.js +58 -53
- package/dist/packages/shared-ui-shadcn/dist/index.js +15 -13
- package/package.json +1 -1
|
@@ -1,44 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsxs as d, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import "./index57.js";
|
|
4
|
+
import "@tanstack/react-query";
|
|
5
|
+
import "date-fns";
|
|
6
|
+
import { useEntityUserByAuthToken as p } from "./index75.js";
|
|
7
|
+
import "react-hot-toast";
|
|
8
|
+
import { useLingui as s } from "@lingui/react";
|
|
9
|
+
import u from "@mui/icons-material/CheckCircleOutlineRounded";
|
|
10
|
+
import f from "@mui/icons-material/HighlightOffRounded";
|
|
11
|
+
import { Stack as m, IconButton as a } from "@mui/material";
|
|
12
|
+
const C = ({
|
|
13
|
+
id: o,
|
|
14
|
+
onClick: t
|
|
10
15
|
}) => {
|
|
11
16
|
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
17
|
+
i18n: r
|
|
18
|
+
} = s(), [i, n] = c(!1);
|
|
19
|
+
return /* @__PURE__ */ e(a, { "aria-label": r._("Approve request"), color: "success", disabled: i, onClick: (l) => {
|
|
20
|
+
l.preventDefault(), n(!0), t({
|
|
21
|
+
id: o,
|
|
22
|
+
action: "approve"
|
|
23
|
+
})?.finally(() => n(!1));
|
|
24
|
+
}, children: /* @__PURE__ */ e(u, {}) });
|
|
25
|
+
}, k = ({
|
|
26
|
+
id: o,
|
|
27
|
+
onClick: t
|
|
28
|
+
}) => {
|
|
29
|
+
const {
|
|
30
|
+
i18n: r
|
|
31
|
+
} = s(), [i, n] = c(!1);
|
|
32
|
+
return /* @__PURE__ */ e(a, { "aria-label": r._("Reject request"), color: "error", disabled: i, onClick: (l) => {
|
|
33
|
+
l.preventDefault(), n(!0), t({
|
|
34
|
+
id: o,
|
|
35
|
+
action: "reject"
|
|
36
|
+
})?.finally(() => n(!1));
|
|
37
|
+
}, children: /* @__PURE__ */ e(f, {}) });
|
|
38
|
+
}, q = (o) => {
|
|
39
|
+
const {
|
|
40
|
+
i18n: t
|
|
41
|
+
} = s(), {
|
|
42
|
+
data: r
|
|
43
|
+
} = p();
|
|
44
|
+
if ("onRowActionClick" in o && o.onRowActionClick)
|
|
45
|
+
return {
|
|
46
|
+
field: "actions",
|
|
47
|
+
headerName: t._("Actions"),
|
|
48
|
+
sortable: !1,
|
|
49
|
+
display: "flex",
|
|
50
|
+
align: "right",
|
|
51
|
+
renderCell: (i) => {
|
|
52
|
+
if (i.row.status === "waiting" && r?.id && i.row.user_ids.includes(r.id) && !i.row.approved_by?.includes(r.id))
|
|
53
|
+
return /* @__PURE__ */ d(m, { direction: "row", children: [
|
|
54
|
+
/* @__PURE__ */ e(C, { id: i.row.id, onClick: o.onRowActionClick }),
|
|
55
|
+
/* @__PURE__ */ e(k, { id: i.row.id, onClick: o.onRowActionClick })
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
};
|
|
41
59
|
};
|
|
42
60
|
export {
|
|
43
|
-
|
|
61
|
+
q as useApprovalRequestActionsCell
|
|
44
62
|
};
|
|
@@ -1,64 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import "./index57.js";
|
|
3
3
|
import "@tanstack/react-query";
|
|
4
4
|
import "date-fns";
|
|
5
|
-
import { useEntityUserById as
|
|
5
|
+
import { useEntityUserById as e } from "./index75.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-hot-toast";
|
|
8
8
|
import "@lingui/react";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const q = ({
|
|
14
|
-
userId: t,
|
|
15
|
-
user: e,
|
|
16
|
-
variant: m = "text",
|
|
17
|
-
showUsersAsEmail: i = !1,
|
|
18
|
-
showAvatar: f = !1,
|
|
19
|
-
className: o = ""
|
|
9
|
+
import { UserAvatar as m } from "./index434.js";
|
|
10
|
+
import { Chip as i, Skeleton as n } from "@mui/material";
|
|
11
|
+
const y = ({
|
|
12
|
+
entityUserId: o
|
|
20
13
|
}) => {
|
|
21
14
|
const {
|
|
22
|
-
data:
|
|
23
|
-
isLoading:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!a && !r && N && t) {
|
|
27
|
-
const {
|
|
28
|
-
useBadge: x,
|
|
29
|
-
badgeVariant: E,
|
|
30
|
-
className: c
|
|
31
|
-
} = d({
|
|
32
|
-
variant: m,
|
|
33
|
-
isError: !0,
|
|
34
|
-
componentType: "user",
|
|
35
|
-
className: o
|
|
36
|
-
});
|
|
37
|
-
return x ? /* @__PURE__ */ s(p, { variant: E, className: c, children: "N/A" }) : /* @__PURE__ */ s("span", { className: c, children: "N/A" });
|
|
38
|
-
}
|
|
39
|
-
if (!a && !r)
|
|
40
|
-
return null;
|
|
41
|
-
const h = a ? `${a.first_name ?? ""} ${a.last_name ?? ""}`.trim() : "", w = a ? `${a.first_name?.[0] ?? ""}${a.last_name?.[0] ?? ""}`.toUpperCase() : "", n = i && a?.email ? a.email : h || a?.email || "";
|
|
42
|
-
if (r)
|
|
43
|
-
return /* @__PURE__ */ s(B, { className: "ttw:h-4 ttw:w-20" });
|
|
44
|
-
const {
|
|
45
|
-
useBadge: v,
|
|
46
|
-
badgeVariant: A,
|
|
47
|
-
className: l,
|
|
48
|
-
showAvatar: g
|
|
49
|
-
} = d({
|
|
50
|
-
variant: m,
|
|
51
|
-
isError: !1,
|
|
52
|
-
componentType: "user",
|
|
53
|
-
showAvatar: f,
|
|
54
|
-
showUsersAsEmail: i,
|
|
55
|
-
className: o
|
|
56
|
-
});
|
|
57
|
-
return v ? /* @__PURE__ */ y(p, { variant: A, className: l, children: [
|
|
58
|
-
g && /* @__PURE__ */ s(b, { className: "ttw:w-4 ttw:h-4", children: /* @__PURE__ */ s(k, { className: "ttw:text-xs ttw:font-medium", children: w }) }),
|
|
59
|
-
n
|
|
60
|
-
] }) : /* @__PURE__ */ s("span", { className: l, children: n });
|
|
15
|
+
data: r,
|
|
16
|
+
isLoading: a
|
|
17
|
+
} = e(o);
|
|
18
|
+
return r ? a ? /* @__PURE__ */ t(i, { label: /* @__PURE__ */ t(n, { variant: "rounded", height: "50%", width: 100, animation: "wave" }) }) : /* @__PURE__ */ t(i, { avatar: /* @__PURE__ */ t(m, { fileId: r.userpic_file_id }), label: `${r.first_name ?? ""} ${r.last_name ?? ""}`.trim() || "—", variant: "outlined", color: "secondary" }) : null;
|
|
61
19
|
};
|
|
62
20
|
export {
|
|
63
|
-
|
|
21
|
+
y as UserCell
|
|
64
22
|
};
|
|
@@ -1,33 +1,79 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsx as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { FormProvider as f, Controller as u, useFormContext as F, useFormState as I } from "react-hook-form";
|
|
4
|
+
import { Label as p } from "./index285.js";
|
|
5
|
+
import { cn as i } from "./index100.js";
|
|
6
|
+
import { Slot as g } from "@radix-ui/react-slot";
|
|
7
|
+
const b = f, l = a.createContext({}), C = ({
|
|
8
|
+
...r
|
|
9
|
+
}) => /* @__PURE__ */ m(l.Provider, { value: {
|
|
10
|
+
name: r.name
|
|
11
|
+
}, children: /* @__PURE__ */ m(u, { ...r }) }), d = () => {
|
|
12
|
+
const r = a.useContext(l), e = a.useContext(c), {
|
|
13
|
+
getFieldState: t
|
|
14
|
+
} = F(), o = I({
|
|
15
|
+
name: r.name
|
|
16
|
+
}), s = t(r.name, o);
|
|
17
|
+
if (!r)
|
|
18
|
+
throw new Error("useFormField should be used within <FormField>");
|
|
11
19
|
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
20
|
+
id: n
|
|
21
|
+
} = e;
|
|
22
|
+
return {
|
|
23
|
+
id: n,
|
|
24
|
+
name: r.name,
|
|
25
|
+
formItemId: `${n}-form-item`,
|
|
26
|
+
formDescriptionId: `${n}-form-item-description`,
|
|
27
|
+
formMessageId: `${n}-form-item-message`,
|
|
28
|
+
...s
|
|
29
|
+
};
|
|
30
|
+
}, c = a.createContext({});
|
|
31
|
+
function N({
|
|
32
|
+
className: r,
|
|
33
|
+
...e
|
|
34
|
+
}) {
|
|
35
|
+
const t = a.useId();
|
|
36
|
+
return /* @__PURE__ */ m(c.Provider, { value: {
|
|
37
|
+
id: t
|
|
38
|
+
}, children: /* @__PURE__ */ m("div", { "data-slot": "form-item", className: i("ttw:grid ttw:gap-2", r), ...e }) });
|
|
39
|
+
}
|
|
40
|
+
function M({
|
|
41
|
+
className: r,
|
|
42
|
+
...e
|
|
43
|
+
}) {
|
|
44
|
+
const {
|
|
45
|
+
error: t,
|
|
46
|
+
formItemId: o
|
|
47
|
+
} = d();
|
|
48
|
+
return /* @__PURE__ */ m(p, { "data-slot": "form-label", "data-error": !!t, className: i("ttw:data-[error=true]:text-destructive", r), htmlFor: o, ...e });
|
|
49
|
+
}
|
|
50
|
+
function S({
|
|
51
|
+
...r
|
|
52
|
+
}) {
|
|
53
|
+
const {
|
|
54
|
+
error: e,
|
|
55
|
+
formItemId: t,
|
|
56
|
+
formDescriptionId: o,
|
|
57
|
+
formMessageId: s
|
|
58
|
+
} = d();
|
|
59
|
+
return /* @__PURE__ */ m(g, { "data-slot": "form-control", id: t, "aria-describedby": e ? `${o} ${s}` : `${o}`, "aria-invalid": !!e, ...r });
|
|
60
|
+
}
|
|
61
|
+
function P({
|
|
62
|
+
className: r,
|
|
63
|
+
...e
|
|
64
|
+
}) {
|
|
65
|
+
const {
|
|
66
|
+
error: t,
|
|
67
|
+
formMessageId: o
|
|
68
|
+
} = d(), s = t ? String(t?.message ?? "") : e.children;
|
|
69
|
+
return s ? /* @__PURE__ */ m("p", { "data-slot": "form-message", id: o, className: i("ttw:text-destructive ttw:text-sm", r), ...e, children: s }) : null;
|
|
70
|
+
}
|
|
30
71
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
72
|
+
b as Form,
|
|
73
|
+
S as FormControl,
|
|
74
|
+
C as FormField,
|
|
75
|
+
N as FormItem,
|
|
76
|
+
M as FormLabel,
|
|
77
|
+
P as FormMessage,
|
|
78
|
+
d as useFormField
|
|
33
79
|
};
|
|
@@ -1,116 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
const a = [];
|
|
27
|
-
if (e.all)
|
|
28
|
-
a.push(...e.all);
|
|
29
|
-
else if (e.if) {
|
|
30
|
-
const s = e.if;
|
|
31
|
-
s.all ? a.push(...s.all) : a.push(s);
|
|
32
|
-
}
|
|
33
|
-
return a;
|
|
34
|
-
}, _ = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(_) : Array.isArray(e) ? e.flatMap(_) : [] : [], y = (e) => e.length === 0 || e.some((a) => a.status === "waiting") ? "waiting" : e.every((a) => a.status === "approved") ? "approved" : e.some((a) => a.status === "rejected") ? "rejected" : "waiting", E = (e, a, s) => ({
|
|
35
|
-
stepNumber: a,
|
|
36
|
-
type: s,
|
|
37
|
-
assignee: void 0,
|
|
38
|
-
assignees: e.assignees,
|
|
39
|
-
status: e.stepStatus,
|
|
40
|
-
payableStatus: v(e.stepStatus),
|
|
41
|
-
actualAssignees: e.actualAssignees,
|
|
42
|
-
hasActiveRequests: e.relatedRequests.length > 0,
|
|
43
|
-
requestIds: e.relatedRequests.map((r) => r.id),
|
|
44
|
-
approvalRequestId: e.approvalRequestId,
|
|
45
|
-
approvedBy: e.approvedBy,
|
|
46
|
-
objectId: e.objectId,
|
|
47
|
-
rejectedBy: e.rejectedBy,
|
|
48
|
-
requiredApprovalCount: e.requiredApprovalCount
|
|
49
|
-
}), B = (e, a, s, r) => {
|
|
50
|
-
const t = y(a);
|
|
51
|
-
return {
|
|
52
|
-
stepNumber: s,
|
|
53
|
-
type: r,
|
|
54
|
-
assignee: void 0,
|
|
55
|
-
assignees: e,
|
|
56
|
-
status: t,
|
|
57
|
-
payableStatus: v(t),
|
|
58
|
-
actualAssignees: e,
|
|
59
|
-
hasActiveRequests: a.length > 0,
|
|
60
|
-
requestIds: a.map((l) => l.id),
|
|
61
|
-
approvalRequestId: a[0]?.id,
|
|
62
|
-
approvedBy: a.flatMap((l) => l.approved_by || []),
|
|
63
|
-
objectId: a[0]?.object_id,
|
|
64
|
-
rejectedBy: a.find((l) => l.rejected_by)?.rejected_by,
|
|
65
|
-
requiredApprovalCount: a.reduce((l, i) => l + i.required_approval_count, 0)
|
|
66
|
-
};
|
|
67
|
-
}, C = (e, a) => {
|
|
68
|
-
const s = e.flatMap((t) => t.params?.user_ids || []), r = a.filter((t) => t.user_ids?.length && s.some((l) => t.user_ids.includes(l)));
|
|
69
|
-
return {
|
|
70
|
-
allChainUserIds: s,
|
|
71
|
-
allChainRequests: r
|
|
72
|
-
};
|
|
73
|
-
}, I = (e) => {
|
|
74
|
-
const a = [];
|
|
75
|
-
if (e.all)
|
|
76
|
-
a.push(...e.all);
|
|
77
|
-
else if (e.if) {
|
|
78
|
-
const s = e.if;
|
|
79
|
-
s.all ? a.push(...s.all) : a.push(s);
|
|
80
|
-
}
|
|
81
|
-
return a;
|
|
82
|
-
}, L = (e, a) => {
|
|
83
|
-
const s = e.call === d.REQUEST_APPROVAL_BY_USERS ? e : void 0;
|
|
84
|
-
let r = [];
|
|
85
|
-
s?.params?.user_ids && (r = s.params.user_ids);
|
|
86
|
-
const t = f(a, r, !0), l = t.flatMap((p) => p.user_ids || []), i = [...new Set(l)], A = t.length ? t[0].status : "waiting", u = t.find((p) => p.status !== "waiting"), S = t.flatMap((p) => p.approved_by || []), n = [...new Set(S)];
|
|
87
|
-
return {
|
|
88
|
-
assignees: r,
|
|
89
|
-
actualAssignees: i,
|
|
90
|
-
relatedRequests: t,
|
|
91
|
-
stepStatus: A,
|
|
92
|
-
approvalRequestId: u?.id,
|
|
93
|
-
approvedBy: n.length > 0 ? n : void 0,
|
|
94
|
-
objectId: u?.object_id || e.params?.object_id,
|
|
95
|
-
rejectedBy: u?.rejected_by,
|
|
96
|
-
requiredApprovalCount: e.params?.required_approval_count || u?.required_approval_count || 1
|
|
1
|
+
import { jsxs as l, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import { Badge as d } from "./index242.js";
|
|
4
|
+
import { Button as m } from "./index84.js";
|
|
5
|
+
import { cn as p } from "./index100.js";
|
|
6
|
+
import { XIcon as h } from "lucide-react";
|
|
7
|
+
const g = ({
|
|
8
|
+
className: i,
|
|
9
|
+
value: e,
|
|
10
|
+
onChange: a,
|
|
11
|
+
ref: c,
|
|
12
|
+
...f
|
|
13
|
+
}) => {
|
|
14
|
+
const [r, n] = w.useState("");
|
|
15
|
+
w.useEffect(() => {
|
|
16
|
+
if (r.includes(",")) {
|
|
17
|
+
const t = /* @__PURE__ */ new Set([...e, ...r.split(",").map((s) => s.trim())]);
|
|
18
|
+
a(Array.from(t)), n("");
|
|
19
|
+
}
|
|
20
|
+
}, [r, a, e]);
|
|
21
|
+
const u = () => {
|
|
22
|
+
if (r) {
|
|
23
|
+
const t = /* @__PURE__ */ new Set([...e, r]);
|
|
24
|
+
a(Array.from(t)), n("");
|
|
25
|
+
}
|
|
97
26
|
};
|
|
27
|
+
return /* @__PURE__ */ l("div", { className: p(
|
|
28
|
+
// caveat: :has() variant requires tailwind v3.4 or above: https://tailwindcss.com/blog/tailwindcss-v3-4#new-has-variant
|
|
29
|
+
"ttw:has-[:focus-visible]:ttw:outline-none ttw:has-[:focus-visible]:ttw:ring-2 ttw:has-[:focus-visible]:ttw:ring-neutral-950 ttw:has-[:focus-visible]:ttw:ring-offset-2 dark:ttw:has-[:focus-visible]:ttw:ring-neutral-300 ttw:min-h-10 ttw:flex ttw:w-full ttw:flex-wrap ttw:gap-2 ttw:rounded-md ttw:border ttw:border-neutral-200 ttw:bg-white ttw:px-3 ttw:py-2 ttw:text-sm ttw:ring-offset-white ttw:disabled:ttw:cursor-not-allowed ttw:disabled:ttw:opacity-50 dark:ttw:border-neutral-800 dark:ttw:bg-neutral-950 dark:ttw:ring-offset-neutral-950",
|
|
30
|
+
i
|
|
31
|
+
), children: [
|
|
32
|
+
e.map((t) => /* @__PURE__ */ l(d, { variant: "secondary", children: [
|
|
33
|
+
t,
|
|
34
|
+
/* @__PURE__ */ o(m, { variant: "ghost", size: "icon", className: "ttw:ml-2 ttw:h-3 ttw:w-3", onClick: () => {
|
|
35
|
+
a(e.filter((s) => s !== t));
|
|
36
|
+
}, children: /* @__PURE__ */ o(h, { className: "ttw:w-3" }) })
|
|
37
|
+
] }, t)),
|
|
38
|
+
/* @__PURE__ */ o("input", { className: "ttw:flex-1 ttw:outline-none ttw:placeholder:ttw:text-neutral-500 dark:ttw:placeholder:ttw:text-neutral-400", value: r, onChange: (t) => n(t.target.value), onKeyDown: (t) => {
|
|
39
|
+
t.key === "Enter" || t.key === "," ? (t.preventDefault(), u()) : t.key === "Backspace" && r.length === 0 && e.length > 0 && (t.preventDefault(), a(e.slice(0, -1)));
|
|
40
|
+
}, ...f, ref: c })
|
|
41
|
+
] });
|
|
98
42
|
};
|
|
43
|
+
g.displayName = "InputTags";
|
|
99
44
|
export {
|
|
100
|
-
|
|
101
|
-
y as calculateIntegralStatus,
|
|
102
|
-
E as createBaseApprovalStep,
|
|
103
|
-
B as createChainApprovalStep,
|
|
104
|
-
o as extractApprovalCalls,
|
|
105
|
-
_ as extractApprovalCallsForTable,
|
|
106
|
-
I as extractItemsFromScriptStep,
|
|
107
|
-
j as extractStructureItemsFromScriptStep,
|
|
108
|
-
f as filterRequestsByUsers,
|
|
109
|
-
q as findRoleApprovalCall,
|
|
110
|
-
m as findUserApprovalCall,
|
|
111
|
-
b as getApprovalRuleLabel,
|
|
112
|
-
v as mapApprovalStatusToPayableStatus,
|
|
113
|
-
h as processApprovalStructure,
|
|
114
|
-
C as processChainApprovalCalls,
|
|
115
|
-
L as resolveStepForCall
|
|
45
|
+
g as InputTags
|
|
116
46
|
};
|
|
@@ -1,24 +1,98 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useForm as y, Controller as i } from "react-hook-form";
|
|
3
|
+
import { prepareBankAccountCreatePayload as k } from "./index438.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { getCreateBankAccountSchema as x } from "./index188.js";
|
|
6
|
+
import { safeZodResolver as C } from "./index237.js";
|
|
7
|
+
import { useLingui as S } from "@lingui/react";
|
|
8
|
+
import { Field as d, FieldContent as c, FieldLabel as m, FieldError as u } from "./index153.js";
|
|
9
|
+
import { Input as s } from "./index117.js";
|
|
10
|
+
import { Typography as h } from "./index85.js";
|
|
11
|
+
import { useCreateEntityBankAccount as F } from "./index413.js";
|
|
12
|
+
import { Button as p } from "./index84.js";
|
|
13
|
+
const J = ({
|
|
14
|
+
bankAccountsLength: b,
|
|
15
|
+
onCreate: _,
|
|
16
|
+
onCancel: f
|
|
17
|
+
}) => {
|
|
18
|
+
const {
|
|
19
|
+
i18n: a
|
|
20
|
+
} = S(), {
|
|
21
|
+
mutate: v,
|
|
22
|
+
isPending: o
|
|
23
|
+
} = F(_), {
|
|
24
|
+
control: l,
|
|
25
|
+
handleSubmit: g
|
|
26
|
+
} = y({
|
|
27
|
+
mode: "onSubmit",
|
|
28
|
+
reValidateMode: "onSubmit",
|
|
29
|
+
resolver: C(x(a)),
|
|
30
|
+
defaultValues: {
|
|
31
|
+
display_name: "",
|
|
32
|
+
account_holder_name: "",
|
|
33
|
+
account_number: "",
|
|
34
|
+
routing_number: ""
|
|
35
|
+
}
|
|
36
|
+
}), w = (t) => {
|
|
37
|
+
v({
|
|
38
|
+
body: k(t)
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
return /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:p-3 ttw:gap-4 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
42
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: /* @__PURE__ */ e(h, { variant: "body2", children: a._("Add a bank account") }) }),
|
|
43
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
44
|
+
/* @__PURE__ */ e(i, { name: "routing_number", control: l, render: ({
|
|
45
|
+
field: t,
|
|
46
|
+
fieldState: {
|
|
47
|
+
error: r
|
|
48
|
+
}
|
|
49
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
50
|
+
/* @__PURE__ */ e(m, { htmlFor: "routing_number", children: a._("Routing number") }),
|
|
51
|
+
/* @__PURE__ */ e(s, { ...t, id: "routing_number", placeholder: a._("e.g. 123456789"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
52
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
53
|
+
] }) }) }),
|
|
54
|
+
/* @__PURE__ */ e(i, { name: "account_number", control: l, render: ({
|
|
55
|
+
field: t,
|
|
56
|
+
fieldState: {
|
|
57
|
+
error: r
|
|
58
|
+
}
|
|
59
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
60
|
+
/* @__PURE__ */ e(m, { htmlFor: "account_number", children: a._("Account number") }),
|
|
61
|
+
/* @__PURE__ */ e(s, { ...t, id: "account_number", placeholder: a._("e.g. 123456789"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
62
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
63
|
+
] }) }) })
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
66
|
+
/* @__PURE__ */ e(i, { name: "account_holder_name", control: l, render: ({
|
|
67
|
+
field: t,
|
|
68
|
+
fieldState: {
|
|
69
|
+
error: r
|
|
70
|
+
}
|
|
71
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
72
|
+
/* @__PURE__ */ e(m, { htmlFor: "account_holder_name", children: a._("Account holder name") }),
|
|
73
|
+
/* @__PURE__ */ e(s, { ...t, id: "account_holder_name", placeholder: a._("e.g. James Smith"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
74
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
75
|
+
] }) }) }),
|
|
76
|
+
/* @__PURE__ */ e(i, { name: "display_name", control: l, render: ({
|
|
77
|
+
field: t,
|
|
78
|
+
fieldState: {
|
|
79
|
+
error: r
|
|
80
|
+
}
|
|
81
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ n(c, { children: [
|
|
82
|
+
/* @__PURE__ */ n(m, { htmlFor: "display_name", className: "ttw:gap-1", children: [
|
|
83
|
+
a._("Account nickname"),
|
|
84
|
+
/* @__PURE__ */ e(h, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: a._("(optional)") })
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ e(s, { ...t, id: "display_name", placeholder: a._("e.g. Empire Bank Checking"), value: t.value ?? "", disabled: o, "aria-invalid": !!r }),
|
|
87
|
+
/* @__PURE__ */ e(u, { errors: r ? [r] : [] })
|
|
88
|
+
] }) }) })
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
91
|
+
b !== 0 && /* @__PURE__ */ e(p, { type: "button", variant: "outline", className: "ttw:border-border", disabled: o, onClick: f, children: a._("Cancel") }),
|
|
92
|
+
/* @__PURE__ */ e(p, { type: "button", disabled: o, onClick: g(w), children: a._("Save account") })
|
|
93
|
+
] })
|
|
94
|
+
] });
|
|
16
95
|
};
|
|
17
96
|
export {
|
|
18
|
-
|
|
19
|
-
s as FILTER_TYPE_CREATED_AT,
|
|
20
|
-
A as FILTER_TYPE_CREATED_BY,
|
|
21
|
-
i as FILTER_TYPE_SEARCH,
|
|
22
|
-
E as ROW_TO_STATUS_MUI_MAP,
|
|
23
|
-
n as getRowToStatusTextMap
|
|
97
|
+
J as BankAccountSectionForm
|
|
24
98
|
};
|
|
@@ -1,46 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
approvalPolicy: o
|
|
16
|
-
});
|
|
17
|
-
return o ? /* @__PURE__ */ i(s, { children: Object.keys(a).map((r) => {
|
|
18
|
-
switch (r) {
|
|
19
|
-
case "amount":
|
|
20
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
21
|
-
/* @__PURE__ */ i(m, { width: 18 }),
|
|
22
|
-
e(r)
|
|
23
|
-
] }, r);
|
|
24
|
-
case "was_created_by_user_id":
|
|
25
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
26
|
-
/* @__PURE__ */ i(p, { width: 18 }),
|
|
27
|
-
e(r)
|
|
28
|
-
] }, r);
|
|
29
|
-
case "counterpart_id":
|
|
30
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
31
|
-
/* @__PURE__ */ i(n, { width: 18 }),
|
|
32
|
-
e(r)
|
|
33
|
-
] }, r);
|
|
34
|
-
case "tags":
|
|
35
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
36
|
-
/* @__PURE__ */ i(c, { width: 18 }),
|
|
37
|
-
e(r)
|
|
38
|
-
] }, r);
|
|
39
|
-
default:
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
}) }) : null;
|
|
1
|
+
const t = (e, n, a) => {
|
|
2
|
+
switch (e) {
|
|
3
|
+
case "INTERNAL":
|
|
4
|
+
return n ? a._("Powered by {embeddedBankName}", {
|
|
5
|
+
embeddedBankName: n
|
|
6
|
+
}) : null;
|
|
7
|
+
case "EXTERNAL":
|
|
8
|
+
return a._("Linked account");
|
|
9
|
+
default:
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
}, c = (e, n) => {
|
|
13
|
+
const a = e.account_number?.slice(-4) ?? e.account_number_last4;
|
|
14
|
+
return [e.display_name || n._("Bank Account"), a].filter(Boolean).join(" - ");
|
|
43
15
|
};
|
|
44
16
|
export {
|
|
45
|
-
|
|
17
|
+
c as getLineLabel,
|
|
18
|
+
t as getSourceLabel
|
|
46
19
|
};
|