@tesouro/embedded-components-react 0.2.217 → 0.2.219
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/dist/lib/ReceivablesWidget.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index9.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +2 -2
- 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 +7 -7
- 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 +2 -2
- 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 +8 -8
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +3 -3
- 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 +28 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +3 -3
- 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/index2.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- 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/index11.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 +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +34 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1268 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +59 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +397 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +36 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +72 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +55 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +217 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +36 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +80 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +7 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +80 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +64 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +38 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +7 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +4 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +228 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +462 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +7 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +109 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +539 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +78 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +6 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +31 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +25 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +117 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +47 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +45 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +45 -227
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +15 -470
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +11 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +138 -525
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +55 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +71 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +3 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +94 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +97 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +91 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +25 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +19 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +27 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +117 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +14 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +34 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +97 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +6 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +11 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +6 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +53 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +5 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +77 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +32 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +36 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +49 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +80 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +33 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +66 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +359 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +117 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +13 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +13 -212
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +14 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +18 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +47 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +22 -98
- 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 +33 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +34 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +15 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +28 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +110 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +11 -490
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +18 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +36 -53
- 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 +57 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +48 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +96 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +43 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +107 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +145 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +85 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +22 -54
- 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 +183 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +26 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +21 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +18 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +18 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +171 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +134 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +162 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +18 -13
- 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 +61 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +64 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +58 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +59 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +61 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +14 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +25 -15
- 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 +5 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +128 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +45 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +118 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +47 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +201 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +68 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +62 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +27 -29
- 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 +127 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +44 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +72 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +157 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +28 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +78 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +149 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +28 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +4 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- 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 +18 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +36 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +26 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +31 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +31 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +12 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +8 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +25 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +38 -45
- 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 +57 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +90 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +107 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +81 -198
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +10 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +57 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +58 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +18 -29
- 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 +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +75 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +75 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +41 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +38 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +341 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +302 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +100 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +157 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +265 -27
- 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 +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +18 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +95 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +97 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +212 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +489 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +162 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +19 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +63 -158
- 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 +39 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +60 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +30 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +118 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +42 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +53 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +40 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +22 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +17 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +50 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +45 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +33 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +40 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +21 -8
- 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 +72 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +94 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +9 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +6 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +255 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +81 -21
- 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 +17 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +82 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +266 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +37 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +65 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +43 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +24 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +142 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +115 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +80 -9
- 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 +94 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +10 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +2 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +282 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +45 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +12 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +20 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +50 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +19 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +67 -3
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +32 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +32 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +53 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +35 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +123 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -22
- 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 +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +74 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +16 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +16 -269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +3 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +11 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +7 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +46 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +15 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +95 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +32 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +31 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +5 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +126 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +66 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +44 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +13 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +68 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +52 -69
- 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 +37 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +31 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +85 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +24 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +104 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +108 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +72 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +65 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +28 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +24 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +39 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +18 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +38 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +93 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +75 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +9 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +54 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +71 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +21 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +33 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +51 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +38 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +46 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +81 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +54 -16
- 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 +43 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +49 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +56 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +74 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +85 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +54 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +51 -12
- 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/index484.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +20 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- 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 +9 -9
- 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 +10 -10
- 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 +12 -12
- 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 +12 -12
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +116 -116
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +68 -68
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +210 -198
- 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/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 +1 -1
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index3.js +4 -4
- 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 +8 -8
- 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/tags-widget/data-access/dist/index8.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index12.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index16.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index17.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index20.js +4 -4
- 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/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index3.js +5 -5
- 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/libs/tesouro-embedded-components-react/transfers-widget/data-access/dist/index8.js +4 -4
- package/package.json +1 -1
|
@@ -1,101 +1,472 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { useState as U, useRef as ee, useId as ut, useMemo as ct } from "react";
|
|
2
|
+
import { useLingui as mt } from "@lingui/react";
|
|
3
|
+
import { format as te } from "date-fns";
|
|
4
|
+
import { toast as o } from "react-hot-toast";
|
|
5
|
+
import { buildPaymentTermsPayload as ae } from "./index298.js";
|
|
6
|
+
import { getCounterpartEmail as _t } from "./index7.js";
|
|
7
|
+
import { LanguageCodeEnum as lt } from "./index260.js";
|
|
8
|
+
import { rateMajorToMinor as ne } from "./index299.js";
|
|
9
|
+
import { useMoniteContext as pt } from "./index57.js";
|
|
10
|
+
import { useUserPermissions as ft } from "./index154.js";
|
|
11
|
+
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
12
|
+
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
13
|
+
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
14
|
+
import "@tanstack/react-query";
|
|
15
|
+
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
16
|
+
import { Scope as yt } from "../../shared/data-access/dist/lib/scopes.js";
|
|
17
|
+
import { useCounterpartById as gt } from "./index70.js";
|
|
18
|
+
import { useCounterpartAddresses as vt } from "./index72.js";
|
|
19
|
+
import { useMyEntity as bt } from "./index78.js";
|
|
20
|
+
import { useCreateReceivable as ht } from "./index300.js";
|
|
21
|
+
import { useCreateCounterpart as xt } from "./index259.js";
|
|
22
|
+
import { useUpdateReceivable as Ct } from "./index301.js";
|
|
23
|
+
import { useUpdateReceivableLineItems as It } from "./index302.js";
|
|
24
|
+
import { useCreateRecurrence as wt } from "./index303.js";
|
|
25
|
+
import { useUpdateRecurrence as Pt } from "./index304.js";
|
|
26
|
+
import { useIssueReceivableById as Rt } from "./index239.js";
|
|
27
|
+
import { useGetInvoiceRequiredFields as kt } from "./index237.js";
|
|
28
|
+
import { useSelectableBankAccounts as At } from "./index238.js";
|
|
29
|
+
import { useLineItemSubmitCleanup as Lt } from "./index305.js";
|
|
30
|
+
import { useGetMeasureUnits as St } from "./index306.js";
|
|
31
|
+
const oe = (t, i) => i ? t.find((r) => r.id === i)?.name || "" : void 0, qt = (t, i) => ({
|
|
32
|
+
// Callers only reach this in `invoice` mode (the guard runs earlier).
|
|
33
|
+
type: t.type,
|
|
34
|
+
counterpart_id: i.resolvedCounterpartId,
|
|
35
|
+
counterpart_billing_address_id: i.billingAddressId,
|
|
36
|
+
counterpart_shipping_address_id: i.shippingAddressId,
|
|
37
|
+
bank_account_id: t.bank_account_id || void 0,
|
|
38
|
+
bank_account_type: t.bank_account_id ? t.bank_account_type : void 0,
|
|
39
|
+
...ae({
|
|
40
|
+
paymentTermId: t.payment_terms_id,
|
|
41
|
+
customDueDate: t.payment_terms_custom_date
|
|
42
|
+
}),
|
|
43
|
+
line_items: t.line_items.filter((r) => !!r.product?.name?.trim()).map((r) => ({
|
|
44
|
+
quantity: r.quantity,
|
|
45
|
+
tax_status: r.taxable ? "taxable" : "non_taxable",
|
|
46
|
+
product: {
|
|
47
|
+
name: r.product.name,
|
|
48
|
+
price: {
|
|
49
|
+
currency: r.product.price.currency,
|
|
50
|
+
value: r.product.price.value
|
|
51
|
+
},
|
|
52
|
+
measure_unit: r.product.measure_unit_id ? {
|
|
53
|
+
name: oe(i.measureUnits, r.product.measure_unit_id) ?? ""
|
|
54
|
+
} : void 0,
|
|
55
|
+
type: "product"
|
|
56
|
+
},
|
|
57
|
+
tax_rate_value: r.taxable ? ne(Number(t.tax_rate) || 0) : void 0
|
|
58
|
+
})),
|
|
59
|
+
memo: t.memo,
|
|
60
|
+
footer: t.footer,
|
|
61
|
+
purchase_order: t.purchase_order || void 0,
|
|
62
|
+
currency: i.currency,
|
|
63
|
+
payment_reminder_id: t.payment_reminder_id || void 0,
|
|
64
|
+
overdue_reminder_id: t.overdue_reminder_id || void 0,
|
|
65
|
+
tag_ids: [],
|
|
66
|
+
// TODO: add support for tags, ideally values.tags?.map((tag) => tag.id)
|
|
67
|
+
tax_mode: t.tax_mode || "exclusive",
|
|
68
|
+
// `attachments` is `minItems: 1` on the payload, so omit it entirely when
|
|
69
|
+
// empty rather than sending `[]` (which 422s). Only `id`/`include_in_email`
|
|
70
|
+
// ride the request; the buffered `name`/`size` are display-only (EMBD-3617).
|
|
71
|
+
attachments: t.attachments.length ? t.attachments.map(({
|
|
72
|
+
id: r,
|
|
73
|
+
include_in_email: n
|
|
74
|
+
}) => ({
|
|
75
|
+
id: r,
|
|
76
|
+
include_in_email: n
|
|
77
|
+
})) : void 0
|
|
78
|
+
}), re = (t, i) => ({
|
|
79
|
+
data: t.line_items.filter((r) => !!r.product?.name?.trim()).map((r) => {
|
|
80
|
+
const n = r;
|
|
81
|
+
let c;
|
|
82
|
+
return n.product.measure_unit_id ? c = oe(i, n.product.measure_unit_id) : (n.product.measure_unit_name || n.measure_unit?.name) && (c = n.product.measure_unit_name || n.measure_unit?.name), {
|
|
83
|
+
quantity: r.quantity,
|
|
84
|
+
tax_status: r.taxable ? "taxable" : "non_taxable",
|
|
85
|
+
product: {
|
|
86
|
+
name: r.product.name,
|
|
87
|
+
type: r.product.type,
|
|
88
|
+
measure_unit: c ? {
|
|
89
|
+
name: c
|
|
90
|
+
} : void 0,
|
|
91
|
+
price: r.product.price ? {
|
|
92
|
+
currency: r.product.price.currency ?? "USD",
|
|
93
|
+
value: Math.round(r.product.price.value ?? 0)
|
|
94
|
+
} : void 0
|
|
95
|
+
},
|
|
96
|
+
// The backend requires a taxable line item to carry a tax rate, so send
|
|
97
|
+
// one whenever it's taxable — defaulting to 0 when none was entered
|
|
98
|
+
// (matching the create payload). Omitting it for a taxable item 422s.
|
|
99
|
+
tax_rate_value: r.taxable ? ne(Number(t.tax_rate) || 0) : void 0
|
|
100
|
+
};
|
|
101
|
+
})
|
|
102
|
+
}), ie = (t, i) => ({
|
|
103
|
+
invoice: {
|
|
104
|
+
counterpart_id: i.resolvedCounterpartId,
|
|
105
|
+
currency: i.currency,
|
|
106
|
+
memo: t.memo,
|
|
107
|
+
footer: t.footer,
|
|
108
|
+
// Send `null` (not `undefined`) when the address is empty so a cleared field
|
|
109
|
+
// is actually cleared. Omitting it leaves the previous value in place, which
|
|
110
|
+
// — after the customer was changed — would keep an address that belongs to
|
|
111
|
+
// the old counterpart (a mismatch the API rejects). Empty happens when the
|
|
112
|
+
// customer is cleared or a newly picked/inline customer has no default
|
|
113
|
+
// address. Same `null`-to-clear pattern as the reminders/attachments below.
|
|
114
|
+
// @ts-expect-error - we need to send `null` to clear, but the backend doesn't type it
|
|
115
|
+
counterpart_shipping_address_id: t?.default_shipping_address_id || null,
|
|
116
|
+
// @ts-expect-error - we need to send `null` to clear, but the backend doesn't type it
|
|
117
|
+
counterpart_billing_address_id: t?.default_billing_address_id || null,
|
|
118
|
+
bank_account_id: t.bank_account_id || void 0,
|
|
119
|
+
bank_account_type: t.bank_account_id ? t.bank_account_type : void 0,
|
|
120
|
+
/**
|
|
121
|
+
* Rebuild the payment-terms payload from the form values (a saved
|
|
122
|
+
* `payment_terms_id`, or an inline object for "Custom date" / "Due on
|
|
123
|
+
* receipt") via the shared builder, so it's the request-shaped
|
|
124
|
+
* `InlinePaymentTermsRequestPayload` the PATCH accepts.
|
|
125
|
+
*/
|
|
126
|
+
...ae({
|
|
127
|
+
paymentTermId: t.payment_terms_id,
|
|
128
|
+
customDueDate: t.payment_terms_custom_date
|
|
129
|
+
}),
|
|
130
|
+
// @ts-expect-error - we need to send `null`, but the backend doesn't provide a correct type
|
|
131
|
+
payment_reminder_id: t.payment_reminder_id || null,
|
|
132
|
+
// @ts-expect-error - we need to send `null`, but the backend doesn't provide a correct type
|
|
133
|
+
overdue_reminder_id: t.overdue_reminder_id || null,
|
|
134
|
+
// The backend enforces `minItems: 1` here (the generated schema is wrong),
|
|
135
|
+
// so `[]` 422s. Omitting it (`undefined`) is a no-op that leaves the existing
|
|
136
|
+
// attachments in place, so removing the last one must be sent as `null` to
|
|
137
|
+
// actually clear them. Only `id`/`include_in_email` ride the request; the
|
|
138
|
+
// buffered `name`/`size` are display-only (EMBD-3617).
|
|
139
|
+
// @ts-expect-error - we need to send `null` to clear, but the backend doesn't provide a correct type
|
|
140
|
+
attachments: t.attachments.length ? t.attachments.map(({
|
|
141
|
+
id: r,
|
|
142
|
+
include_in_email: n
|
|
143
|
+
}) => ({
|
|
144
|
+
id: r,
|
|
145
|
+
include_in_email: n
|
|
146
|
+
})) : null
|
|
147
|
+
// `purchase_order` is intentionally omitted — the backend does not support
|
|
148
|
+
// updating it, so `BillingSection` hides the field in edit.
|
|
149
|
+
}
|
|
150
|
+
}), sr = ({
|
|
151
|
+
mode: t,
|
|
152
|
+
methods: i,
|
|
153
|
+
currency: r,
|
|
154
|
+
invoice: n,
|
|
155
|
+
existingRecurrence: c,
|
|
156
|
+
hasStartedRecurrence: $ = !1,
|
|
157
|
+
onComplete: h,
|
|
158
|
+
onClose: E,
|
|
159
|
+
submitModeRef: de
|
|
18
160
|
}) => {
|
|
19
161
|
const {
|
|
20
|
-
i18n:
|
|
21
|
-
} =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
162
|
+
i18n: a
|
|
163
|
+
} = mt(), {
|
|
164
|
+
api: B,
|
|
165
|
+
apiUrl: se,
|
|
166
|
+
componentSettings: ue,
|
|
167
|
+
queryClient: T,
|
|
168
|
+
requestFn: ce
|
|
169
|
+
} = pt(), me = ft().has(yt.BankAccountWriteOrg), P = !!ue?.receivables?.enableEntityBankAccount, {
|
|
170
|
+
handleSubmit: _e,
|
|
171
|
+
watch: g,
|
|
172
|
+
formState: le,
|
|
173
|
+
setValue: R,
|
|
174
|
+
clearErrors: pe,
|
|
175
|
+
trigger: fe
|
|
176
|
+
} = i, {
|
|
177
|
+
isDirty: ye
|
|
178
|
+
} = le, {
|
|
179
|
+
data: ge,
|
|
180
|
+
isLoading: ve,
|
|
181
|
+
isFetching: be
|
|
182
|
+
} = bt(), {
|
|
183
|
+
data: he,
|
|
184
|
+
isLoading: j
|
|
185
|
+
} = St(), {
|
|
186
|
+
bankAccounts: xe,
|
|
187
|
+
isLoading: z
|
|
188
|
+
} = At(P), Ce = xe.length > 0, [k, Ie] = U(!1), [we, A] = U(!1), Pe = ee("draft"), v = de ?? Pe, Re = `Monite-Form-receivablesDetailsForm-${ut()}`, [x, b] = U(null), {
|
|
189
|
+
registerLineItemCleanupFn: ke,
|
|
190
|
+
runLineItemCleanup: Ae
|
|
191
|
+
} = Lt(), {
|
|
192
|
+
mutateAsync: Le,
|
|
193
|
+
isPending: Se
|
|
194
|
+
} = ht(), {
|
|
195
|
+
mutateAsync: qe,
|
|
196
|
+
isPending: Me
|
|
197
|
+
} = (
|
|
198
|
+
// An inline counterpart is created as a side effect of saving the invoice;
|
|
199
|
+
// the invoice's own success toast is the confirmation, so skip the extra
|
|
200
|
+
// "customer added" one.
|
|
201
|
+
xt({
|
|
202
|
+
showSuccessToast: !1
|
|
203
|
+
})
|
|
204
|
+
), N = n?.id ?? x?.id ?? "", {
|
|
205
|
+
mutateAsync: G,
|
|
206
|
+
isPending: De
|
|
207
|
+
} = Ct(N), {
|
|
208
|
+
mutateAsync: H,
|
|
209
|
+
isPending: Fe
|
|
210
|
+
} = It(N), {
|
|
211
|
+
mutateAsync: Ue,
|
|
212
|
+
isPending: $e
|
|
213
|
+
} = wt(), {
|
|
214
|
+
mutateAsync: Ee,
|
|
215
|
+
isPending: Be
|
|
216
|
+
} = Pt(), {
|
|
217
|
+
mutateAsync: Te,
|
|
218
|
+
isPending: je
|
|
219
|
+
} = Rt(), O = Se || Me || De || Fe || $e || Be || je, ze = O || j || z, Q = ee(null), V = () => {
|
|
220
|
+
requestAnimationFrame(() => {
|
|
221
|
+
const e = Q.current, u = e?.querySelector('[aria-invalid="true"]');
|
|
222
|
+
if (!e || !u) return;
|
|
223
|
+
const l = u.getBoundingClientRect().top - e.getBoundingClientRect().top + e.scrollTop - e.clientHeight / 2 + u.offsetHeight / 2;
|
|
224
|
+
e.scrollTo({
|
|
225
|
+
top: Math.max(0, l),
|
|
226
|
+
behavior: "smooth"
|
|
227
|
+
});
|
|
228
|
+
});
|
|
229
|
+
}, Ne = () => {
|
|
230
|
+
v.current = "issue", fe().then(V);
|
|
231
|
+
}, _ = g("counterpart_id"), C = g("frequency") !== "once", Ge = g("counterpart_email"), I = g("default_billing_address_id"), He = g("bank_account_id"), {
|
|
232
|
+
data: d,
|
|
233
|
+
isLoading: W,
|
|
234
|
+
isFetching: J
|
|
235
|
+
} = gt(_), {
|
|
236
|
+
data: L,
|
|
237
|
+
isLoading: Oe,
|
|
238
|
+
isFetching: Qe
|
|
239
|
+
} = vt(_), S = ct(() => L?.data?.find((e) => e.id === I), [I, L?.data]), K = !!(Ge?.trim() || _t(d)), Ve = !!_ && (W || J), {
|
|
240
|
+
data: We,
|
|
241
|
+
isLoading: Je,
|
|
242
|
+
isFetching: Ke
|
|
243
|
+
} = kt({
|
|
244
|
+
counterpart_billing_address_id: d?.id === _ && I || void 0,
|
|
245
|
+
counterpart_country: S?.id === I && S?.country || void 0,
|
|
246
|
+
counterpart_id: _ || void 0,
|
|
247
|
+
counterpart_type: d?.id === _ && d?.type || void 0
|
|
248
|
+
}), Xe = We?.entity?.tax_id?.required, X = ve || be || Je || Ke || !!_ && (W || J || Oe || Qe), Y = (e) => {
|
|
249
|
+
R("counterpart_id", e), R("counterpart_name", ""), R("counterpart_email", ""), pe(["counterpart_id", "counterpart_email"]);
|
|
250
|
+
}, Ye = () => {
|
|
251
|
+
if (k) {
|
|
252
|
+
o.error(a._("Please wait for attachments to finish uploading."));
|
|
36
253
|
return;
|
|
37
254
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
255
|
+
ye ? A(!0) : E();
|
|
256
|
+
}, Ze = async (e) => {
|
|
257
|
+
if (e.type !== "invoice") {
|
|
258
|
+
o.error(a._("`type` except `invoice` is not supported yet"));
|
|
259
|
+
return;
|
|
260
|
+
}
|
|
261
|
+
const u = C && !$ || v.current === "issue";
|
|
262
|
+
if (u && Xe && !ge?.tax_id) {
|
|
263
|
+
o.error(a._("Set your organization's Tax ID to issue invoice"));
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
const l = !e.counterpart_id && !!e.counterpart_name?.trim(), et = d && "organization" in d ? d?.organization?.email : void 0, tt = d && "individual" in d ? d?.individual?.email : void 0, rt = et || tt, q = l ? !0 : d?.reminders_enabled, M = l ? e.counterpart_email : rt, it = !!(e.payment_reminder_id || e.overdue_reminder_id);
|
|
267
|
+
if (u && it) {
|
|
268
|
+
if (!q && M) {
|
|
269
|
+
o.error(a._("Payment reminders are disabled for this customer. Please enable them in the customer details or turn them off."));
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
if (!M && q) {
|
|
273
|
+
o.error(a._("No email address is added for the selected customer. Please add it to the customer details or turn off the reminders."));
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
if (!q && !M) {
|
|
277
|
+
o.error(a._("Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders."));
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
let p = e.counterpart_id ?? "";
|
|
282
|
+
if (l)
|
|
283
|
+
try {
|
|
284
|
+
p = (await qe({
|
|
285
|
+
type: "organization",
|
|
286
|
+
is_customer: !0,
|
|
287
|
+
is_vendor: !1,
|
|
288
|
+
reminders_enabled: !0,
|
|
289
|
+
language: lt.find((m) => m === a.locale.split("-")[0]) ?? "en",
|
|
290
|
+
organization: {
|
|
291
|
+
legal_name: e?.counterpart_name?.trim() ?? "",
|
|
292
|
+
...e.counterpart_email ? {
|
|
293
|
+
email: e.counterpart_email
|
|
294
|
+
} : {}
|
|
295
|
+
}
|
|
296
|
+
})).id;
|
|
297
|
+
} catch {
|
|
42
298
|
return;
|
|
43
299
|
}
|
|
44
|
-
|
|
45
|
-
|
|
300
|
+
const at = e.default_shipping_address_id, nt = L?.data?.find((m) => m.id === at), ot = e.line_items.filter((m) => !m.product_id && !!m.product?.name?.trim()), D = he?.data ?? [];
|
|
301
|
+
let f, s, F = null;
|
|
302
|
+
try {
|
|
303
|
+
if (t === "create")
|
|
304
|
+
x ? (f = x.id, await H(re(e, D)), s = await G(ie(e, {
|
|
305
|
+
resolvedCounterpartId: p,
|
|
306
|
+
currency: r
|
|
307
|
+
}))) : (s = await Le(qt(e, {
|
|
308
|
+
resolvedCounterpartId: p,
|
|
309
|
+
billingAddressId: S?.id,
|
|
310
|
+
shippingAddressId: nt?.id,
|
|
311
|
+
measureUnits: D,
|
|
312
|
+
currency: r
|
|
313
|
+
}), {
|
|
314
|
+
onSuccess: async () => {
|
|
315
|
+
await B.finops.getReceivables.invalidateQueries(T);
|
|
316
|
+
}
|
|
317
|
+
}), f = s.id, F = s, l && Y(p));
|
|
318
|
+
else {
|
|
319
|
+
if (!n) return;
|
|
320
|
+
await H(re(e, D)), s = await G(ie(e, {
|
|
321
|
+
resolvedCounterpartId: p,
|
|
322
|
+
currency: r
|
|
323
|
+
})), f = n.id;
|
|
324
|
+
}
|
|
325
|
+
} catch {
|
|
326
|
+
l && Y(p);
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
const w = {
|
|
330
|
+
receivableId: f,
|
|
331
|
+
counterpartId: p,
|
|
332
|
+
inlineLineItems: ot,
|
|
333
|
+
receivable: s,
|
|
334
|
+
hasCustomerEmail: K
|
|
335
|
+
}, dt = () => B.finops.getReceivablesId.fetchQuery({
|
|
336
|
+
parameters: {
|
|
337
|
+
path: {
|
|
338
|
+
receivable_id: f
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
requestFn: ce,
|
|
342
|
+
baseUrl: se
|
|
343
|
+
}, T);
|
|
344
|
+
if (C) {
|
|
345
|
+
const m = e.frequency === "day" && e.recurrence_end_mode === "on" && !!e.recurrence_end_date, Z = c ? null : void 0, y = {
|
|
346
|
+
// Never `once` here (guarded above), which the API enum doesn't include.
|
|
347
|
+
frequency: e.frequency,
|
|
348
|
+
start_date: e.recurrence_start_date ? te(new Date(e.recurrence_start_date), "yyyy-MM-dd") : void 0,
|
|
349
|
+
// The `as` sheds `null` from the type only — the backend accepts `null`
|
|
350
|
+
// to clear the field, but the generated payload types omit it.
|
|
351
|
+
max_occurrences: m ? Z : e.recurrence_max_occurrences || void 0,
|
|
352
|
+
end_date: m && e.recurrence_end_date ? te(new Date(e.recurrence_end_date), "yyyy-MM-dd") : Z,
|
|
353
|
+
subject_text: e.recurrence_subject_text || void 0,
|
|
354
|
+
body_text: e.recurrence_body_text || void 0
|
|
355
|
+
};
|
|
356
|
+
try {
|
|
357
|
+
if (c) {
|
|
358
|
+
const st = c.scheduleLocked ? {
|
|
359
|
+
max_occurrences: y.max_occurrences,
|
|
360
|
+
end_date: y.end_date,
|
|
361
|
+
subject_text: y.subject_text,
|
|
362
|
+
body_text: y.body_text
|
|
363
|
+
} : y;
|
|
364
|
+
await Ee({
|
|
365
|
+
path: {
|
|
366
|
+
recurrence_id: c.id
|
|
367
|
+
},
|
|
368
|
+
body: st
|
|
369
|
+
});
|
|
370
|
+
} else
|
|
371
|
+
await Ue({
|
|
372
|
+
body: {
|
|
373
|
+
...y,
|
|
374
|
+
invoice_id: f,
|
|
375
|
+
interval: 1,
|
|
376
|
+
automation_level: "issue"
|
|
377
|
+
}
|
|
378
|
+
});
|
|
379
|
+
} catch {
|
|
380
|
+
!x && F && b(F);
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
b(null);
|
|
384
|
+
try {
|
|
385
|
+
s = await dt();
|
|
386
|
+
} catch {
|
|
387
|
+
}
|
|
388
|
+
h({
|
|
389
|
+
mode: "recurrence",
|
|
390
|
+
...w,
|
|
391
|
+
receivable: s
|
|
392
|
+
});
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
if (v.current === "issue") {
|
|
396
|
+
try {
|
|
397
|
+
s = await Te({
|
|
398
|
+
path: {
|
|
399
|
+
receivable_id: f
|
|
400
|
+
}
|
|
401
|
+
}), b(null), h({
|
|
402
|
+
mode: "issue",
|
|
403
|
+
...w,
|
|
404
|
+
receivable: s
|
|
405
|
+
});
|
|
406
|
+
} catch {
|
|
407
|
+
o.error(a._("The invoice was saved but could not be issued.")), b(null), h({
|
|
408
|
+
mode: t === "edit" ? "update" : "draft",
|
|
409
|
+
...w
|
|
410
|
+
});
|
|
411
|
+
}
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
t === "create" ? o.success(a._("Invoice to {counterpartName} was created", {
|
|
415
|
+
counterpartName: s?.counterpart_name ?? ""
|
|
416
|
+
})) : o.success(a._("Invoice has been updated")), b(null), h({
|
|
417
|
+
mode: t === "edit" ? "update" : "draft",
|
|
418
|
+
...w
|
|
419
|
+
});
|
|
420
|
+
};
|
|
421
|
+
return {
|
|
422
|
+
formName: Re,
|
|
423
|
+
onSubmit: async (e) => {
|
|
424
|
+
e.preventDefault(), Ae();
|
|
425
|
+
const u = C && !$ || v.current === "issue";
|
|
426
|
+
if (k) {
|
|
427
|
+
o.error(a._("Please wait for attachments to finish uploading."));
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
if (j) {
|
|
431
|
+
o.error(a._("Please wait for invoice details to finish loading."));
|
|
432
|
+
return;
|
|
433
|
+
}
|
|
434
|
+
if (u && X) {
|
|
435
|
+
o.error(a._("Please wait for invoice checks to finish."));
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
if (u && P && z) {
|
|
439
|
+
o.error(a._("Please wait for invoice checks to finish."));
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
442
|
+
if (u && !me && P && !He && !Ce) {
|
|
443
|
+
o.error(a._("Contact your company admin to set up a bank account before creating an invoice."));
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
await _e(Ze, V)(e);
|
|
447
|
+
},
|
|
448
|
+
formScrollRef: Q,
|
|
449
|
+
registerLineItemCleanupFn: ke,
|
|
450
|
+
onAttachmentsUploadingChange: Ie,
|
|
451
|
+
isLoading: ze,
|
|
452
|
+
isSaving: O,
|
|
453
|
+
attachmentsUploading: k,
|
|
454
|
+
submitModeRef: v,
|
|
455
|
+
isRecurrenceEnabled: C,
|
|
456
|
+
hasCustomerEmail: K,
|
|
457
|
+
isCustomerEmailLoading: Ve,
|
|
458
|
+
isIssuePreflightLoading: X,
|
|
459
|
+
requestClose: Ye,
|
|
460
|
+
highlightForIssue: Ne,
|
|
461
|
+
discardModal: {
|
|
462
|
+
open: we,
|
|
463
|
+
onOpenChange: A,
|
|
464
|
+
onConfirm: () => {
|
|
465
|
+
A(!1), E();
|
|
466
|
+
}
|
|
467
|
+
}
|
|
46
468
|
};
|
|
47
|
-
return /* @__PURE__ */ t("div", { className: "Monite-Payables", children: /* @__PURE__ */ r(D, { open: c, onOpenChange: a, children: [
|
|
48
|
-
/* @__PURE__ */ t(P, { asChild: !0, children: /* @__PURE__ */ r(s, { size: "lg", disabled: !u, children: [
|
|
49
|
-
e._("Add new bill"),
|
|
50
|
-
c ? /* @__PURE__ */ t(I, {}) : /* @__PURE__ */ t(U, {})
|
|
51
|
-
] }) }),
|
|
52
|
-
/* @__PURE__ */ r(k, { align: "end", className: "ttw:w-auto ttw:min-w-110 ttw:border-none ttw:p-6", children: [
|
|
53
|
-
/* @__PURE__ */ r("div", { className: "ttw:w-110 ttw:flex ttw:flex-col ttw:gap-4", onClick: (l) => {
|
|
54
|
-
l.preventDefault(), l.stopPropagation();
|
|
55
|
-
}, children: [
|
|
56
|
-
/* @__PURE__ */ r("div", { children: [
|
|
57
|
-
/* @__PURE__ */ t("h3", { className: "ttw:text-xl ttw:font-semibold ttw:text-zinc-950", children: e._("Upload bills") }),
|
|
58
|
-
/* @__PURE__ */ t("p", { className: "ttw:text-sm ttw:font-normal ttw:text-zinc-500", children: e._("Upload your bills and we'll automatically pull the details so you can review and approve.") })
|
|
59
|
-
] }),
|
|
60
|
-
/* @__PURE__ */ t("div", { className: F("ttw:box-border ttw:cursor-pointer ttw:w-full ttw:h-36.5 ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:border ttw:rounded-lg ttw:border-dashed ttw:border-zinc-200 ttw:bg-zinc-50", g && "ttw:bg-transparent"), onDragOver: v, onDragLeave: N, onDrop: C, onClick: b, children: /* @__PURE__ */ r("div", { className: "ttw:mx-auto ttw:flex ttw:flex-col ttw:items-center ttw:gap-2", children: [
|
|
61
|
-
/* @__PURE__ */ t("div", { className: "ttw:w-11 ttw:h-11 ttw:rounded-full ttw:bg-primary ttw:flex ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(j, { className: "ttw:text-white ttw:size-5" }) }),
|
|
62
|
-
/* @__PURE__ */ r("p", { className: "ttw:text-sm ttw:font-medium ttw:text-zinc-950", children: [
|
|
63
|
-
e._("Drop your files here, or"),
|
|
64
|
-
" ",
|
|
65
|
-
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline", children: e._("click to browse") })
|
|
66
|
-
] }),
|
|
67
|
-
/* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:font-normal ttw:text-zinc-500", children: e._("PDF, PNG or JPG (max. 20MB)") })
|
|
68
|
-
] }) }),
|
|
69
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
70
|
-
/* @__PURE__ */ t("h3", { className: "ttw:text-primary ttw:text-sm ttw:font-semibold", children: e._("Send via email") }),
|
|
71
|
-
/* @__PURE__ */ t("p", { className: "ttw:text-zinc-500 ttw:font-normal ttw:text-sm", children: e._("Email your bills here and they'll appear in your bill pay inbox, ready to review and pay.") })
|
|
72
|
-
] }),
|
|
73
|
-
/* @__PURE__ */ r("div", { className: "ttw:px-3 ttw:h-14 ttw:border ttw:border-zinc-200 ttw:rounded-lg ttw:flex ttw:items-center ttw:justify-between ttw:gap-6", children: [
|
|
74
|
-
/* @__PURE__ */ t("span", { children: e._("bills@business-banking.com") }),
|
|
75
|
-
/* @__PURE__ */ r(s, { type: "button", variant: "ghost", size: "sm", className: "ttw:text-primary ttw:hover:bg-primary-foreground ttw:hover:text-primary", onClick: () => {
|
|
76
|
-
navigator.clipboard.writeText("bills@business-banking.com"), n.success(e._("Email address copied to clipboard"));
|
|
77
|
-
}, children: [
|
|
78
|
-
/* @__PURE__ */ t(A, {}),
|
|
79
|
-
e._("Copy")
|
|
80
|
-
] })
|
|
81
|
-
] }),
|
|
82
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
83
|
-
/* @__PURE__ */ t("h3", { className: "ttw:text-sm ttw:font-semibold ttw:text-primary", children: e._("Or add bill manually") }),
|
|
84
|
-
/* @__PURE__ */ r(s, { onClick: () => {
|
|
85
|
-
a(!1), h();
|
|
86
|
-
}, className: "ttw:w-fit ttw:bg-primary-foreground ttw:hover:bg-primary-foreground ttw:text-primary", children: [
|
|
87
|
-
/* @__PURE__ */ t(E, {}),
|
|
88
|
-
e._("Add new bill")
|
|
89
|
-
] })
|
|
90
|
-
] })
|
|
91
|
-
] }),
|
|
92
|
-
/* @__PURE__ */ t(x, { "aria-label": e._("Upload payable files"), multiple: !0, onChange: (l) => {
|
|
93
|
-
const o = l.target.files;
|
|
94
|
-
o && w(o), a(!1);
|
|
95
|
-
} })
|
|
96
|
-
] })
|
|
97
|
-
] }) });
|
|
98
469
|
};
|
|
99
470
|
export {
|
|
100
|
-
|
|
471
|
+
sr as useReceivableSubmit
|
|
101
472
|
};
|
|
@@ -1,59 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
function c(o, n) {
|
|
8
|
-
o.color && (n.color = o.color);
|
|
9
|
-
}
|
|
10
|
-
function b(o, n) {
|
|
11
|
-
o.border && (n.border = o.border), o.borderRadius !== void 0 && (n.borderRadius = typeof o.borderRadius == "number" ? `${o.borderRadius}px` : o.borderRadius);
|
|
12
|
-
}
|
|
13
|
-
function g(o, n) {
|
|
14
|
-
o.fontWeight !== void 0 && (n.fontWeight = o.fontWeight);
|
|
15
|
-
}
|
|
16
|
-
function p(o, n) {
|
|
17
|
-
o.boxShadow !== void 0 && (n.boxShadow = o.boxShadow);
|
|
18
|
-
}
|
|
19
|
-
function l(o, n) {
|
|
20
|
-
if (!o.transitionDuration && !o.transitionTimingFunction && !o.transitionProperty)
|
|
21
|
-
return;
|
|
22
|
-
const a = [], t = o.transitionProperty || "all";
|
|
23
|
-
a.push(t), o.transitionDuration && a.push(o.transitionDuration), o.transitionTimingFunction && a.push(o.transitionTimingFunction), n.transition = a.join(" ");
|
|
24
|
-
}
|
|
25
|
-
function y(o) {
|
|
26
|
-
if (!o) return {};
|
|
27
|
-
const n = {};
|
|
28
|
-
return u(o, n), c(o, n), b(o, n), g(o, n), p(o, n), l(o, n), n;
|
|
29
|
-
}
|
|
30
|
-
function f(o, n) {
|
|
31
|
-
return !n || !n[o] ? {} : y(n[o]);
|
|
32
|
-
}
|
|
33
|
-
function h(o) {
|
|
34
|
-
if (!o) return {};
|
|
35
|
-
const n = {};
|
|
36
|
-
return ["primary", "secondary", "tertiary", "destructive"].forEach((a) => {
|
|
37
|
-
const t = o[a];
|
|
38
|
-
if (!t) return;
|
|
39
|
-
const i = `--ttw-btn-payables-${a}`;
|
|
40
|
-
t.background && (n[`${i}-bg`] = t.background), t.color && (n[`${i}-color`] = t.color), t.border && (n[`${i}-border`] = t.border), t.borderRadius !== void 0 && (n[`${i}-radius`] = typeof t.borderRadius == "number" ? `${t.borderRadius}px` : t.borderRadius), t.fontWeight !== void 0 && (n[`${i}-weight`] = String(t.fontWeight)), t.boxShadow && (n[`${i}-shadow`] = t.boxShadow), t.transitionProperty && (n[`${i}-transition-property`] = t.transitionProperty), t.transitionDuration && (n[`${i}-transition-duration`] = t.transitionDuration), t.transitionTimingFunction && (n[`${i}-transition-timing`] = t.transitionTimingFunction), ["hover", "active", "focus", "disabled"].forEach((s) => {
|
|
41
|
-
const r = t[s];
|
|
42
|
-
if (!r) return;
|
|
43
|
-
const e = `${i}-${s}`;
|
|
44
|
-
r.background && (n[`${e}-bg`] = r.background), r.color && (n[`${e}-color`] = r.color), r.border && (n[`${e}-border`] = r.border), r.boxShadow && (n[`${e}-shadow`] = r.boxShadow);
|
|
45
|
-
});
|
|
46
|
-
}), n;
|
|
1
|
+
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
+
function o() {
|
|
3
|
+
const {
|
|
4
|
+
userPermissions: s
|
|
5
|
+
} = e();
|
|
6
|
+
return s;
|
|
47
7
|
}
|
|
48
8
|
export {
|
|
49
|
-
|
|
50
|
-
b as applyBorderStyles,
|
|
51
|
-
c as applyColorStyles,
|
|
52
|
-
p as applyShadowStyles,
|
|
53
|
-
l as applyTransitionStyles,
|
|
54
|
-
g as applyTypographyStyles,
|
|
55
|
-
h as generatePayablesButtonCssVars,
|
|
56
|
-
f as getButtonStateStyles,
|
|
57
|
-
y as getButtonStyles,
|
|
58
|
-
d as isGradient
|
|
9
|
+
o as useUserPermissions
|
|
59
10
|
};
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsxs as e, jsx as t, Fragment as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as a } from "./index202.js";
|
|
3
|
+
import { useDialog as m } from "./index50.js";
|
|
4
|
+
import { IconWrapper as d } from "./index203.js";
|
|
5
|
+
import { useLingui as w } from "@lingui/react";
|
|
6
|
+
import { X as p, LockKeyhole as h } from "lucide-react";
|
|
7
|
+
const C = (r) => {
|
|
8
|
+
const i = "Monite-AccessRestriction", o = m(), {
|
|
9
|
+
i18n: s
|
|
10
|
+
} = w(), c = r.title ?? s._("Access Restricted"), n = r.description ?? /* @__PURE__ */ e("span", { children: [
|
|
11
|
+
s._("You don’t have permissions to view this page."),
|
|
12
|
+
/* @__PURE__ */ t("br", {}),
|
|
13
|
+
s._("Contact your system administrator for details.")
|
|
14
|
+
] });
|
|
15
|
+
return /* @__PURE__ */ e(l, { children: [
|
|
16
|
+
o && /* @__PURE__ */ t("div", { className: `ttw:flex ttw:justify-end ttw:p-4 ${i}-InDialog-Header`, children: /* @__PURE__ */ t(d, { onClick: o.onClose, color: "inherit", "aria-label": "close", children: /* @__PURE__ */ t(p, {}) }) }),
|
|
17
|
+
/* @__PURE__ */ t(a, { className: i + "-Content", children: /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-4", children: [
|
|
18
|
+
/* @__PURE__ */ t(h, { className: "ttw:w-8 ttw:h-8 ttw:text-primary" }),
|
|
19
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:space-y-2", children: [
|
|
20
|
+
/* @__PURE__ */ t("h3", { className: "ttw:text-2xl ttw:font-semibold", children: c }),
|
|
21
|
+
/* @__PURE__ */ t("p", { className: "ttw:text-center", children: n })
|
|
22
|
+
] })
|
|
23
|
+
] }) })
|
|
24
|
+
] });
|
|
25
|
+
};
|
|
9
26
|
export {
|
|
10
|
-
|
|
27
|
+
C as AccessRestriction
|
|
11
28
|
};
|