@tesouro/embedded-components-react 0.2.233 → 0.2.237
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 +22 -22
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/data-access/dist/index5.js +2 -2
- 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 +6 -6
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index5.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/bill-pay-widget/feature/dist/index5.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index2.js +65 -59
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/useApprovalPolicies.js +7 -7
- 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/expense-requirements-widget/data-access/dist/index2.js +4 -4
- 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 +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 +21 -21
- 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 +5 -5
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index7.js +2 -2
- 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 +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -35
- 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 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +23 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1270 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +33 -9
- 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 +60 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +398 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +75 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +30 -10
- 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 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +24 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +118 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +217 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +12 -15
- 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 +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +44 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +43 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +15 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +11 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +152 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +55 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +68 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +29 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +64 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +39 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +80 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +4 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +9 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +74 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +54 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +23 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +80 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +28 -227
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +39 -467
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +226 -537
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +467 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +106 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +535 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +18 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +20 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +27 -14
- 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 +117 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +69 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +13 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +12 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +99 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +57 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +4 -4
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +72 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +44 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +15 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +37 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +27 -74
- 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 +42 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +92 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +106 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +81 -296
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +62 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +48 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +27 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +75 -18
- 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 +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +59 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +29 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +118 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +22 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +53 -92
- 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 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +484 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +167 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +25 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +128 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +49 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +119 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +106 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +48 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +198 -53
- 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 +67 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +149 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +28 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +17 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +37 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +30 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +33 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +29 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +12 -56
- 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 +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +156 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +28 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +26 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +78 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +14 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +72 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +76 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +44 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +21 -31
- 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 +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +55 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +57 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +18 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +127 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +20 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +33 -27
- 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 +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +94 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +96 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +207 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +64 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +20 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +18 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +163 -35
- 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 +134 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +158 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +8 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +18 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +62 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +66 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +58 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +6 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +9 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +56 -156
- 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 +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +14 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +36 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +339 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +302 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +99 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +155 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +264 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +16 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +44 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +8 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +45 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +45 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +31 -46
- 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 +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +41 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +23 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +72 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +94 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +34 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +10 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +19 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +61 -31
- 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 +16 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +14 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +21 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +66 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +117 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +81 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +2 -26
- 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 +10 -31
- 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 +33 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +117 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -14
- 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 +70 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +15 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +53 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +36 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +79 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +82 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +269 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +65 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +44 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +137 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +2 -16
- 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 +285 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +49 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +15 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +50 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +15 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +5 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +32 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +16 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +20 -21
- 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 +46 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +25 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +35 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +127 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +5 -5
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +93 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +31 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +23 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +8 -54
- 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 +49 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +47 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +72 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +86 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +51 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +49 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +55 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +55 -18
- 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 +68 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +20 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +81 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +39 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +33 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +85 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +23 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +105 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +104 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +69 -62
- 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 +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +39 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +29 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +19 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +38 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +13 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +92 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +20 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +9 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +25 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +18 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +50 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +58 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +32 -38
- 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 +53 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +1 -1
- 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 +3 -3
- 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/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/settings-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js +8 -8
- 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 +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index7.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/bank-account/useAllBankAccountsQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +454 -454
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +96 -96
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +122 -97
- 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/user/useAllOrganizationUsersQuery.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index12.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/tags-widget/data-access/dist/index8.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index9.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index12.js +13 -13
- 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/index17.js +6 -6
- 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 +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index3.js +7 -7
- 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 +17 -17
- 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 +3 -3
- 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/index8.js +4 -4
- package/package.json +1 -1
|
@@ -1,541 +1,230 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
case "cancelRecurrence":
|
|
173
|
-
return t._("Cancel series");
|
|
174
|
-
}
|
|
175
|
-
}, m = h((s) => {
|
|
176
|
-
_e ? s() : u.error(t._("You don't have permission to update this document. Please, contact your system administrator for details."));
|
|
177
|
-
}, [_e, t]), Re = h((s) => {
|
|
178
|
-
C(s), x(!0);
|
|
179
|
-
}, []), Ae = h(() => {
|
|
180
|
-
if (!i || i.type !== "invoice") return !1;
|
|
181
|
-
const s = zt(i, p);
|
|
182
|
-
return Ht(t, y, Ie).safeParse(s).success;
|
|
183
|
-
}, [i, p, t, y, Ie]), A = h((s) => {
|
|
184
|
-
if (!Ae())
|
|
185
|
-
return Re(s), !1;
|
|
186
|
-
if (O) return !1;
|
|
187
|
-
if (X && !Q?.tax_id)
|
|
188
|
-
return u.error(t._("Set your organization's Tax ID to issue invoice")), !1;
|
|
189
|
-
if (!Z) return !0;
|
|
190
|
-
const l = Oe(v), c = v?.reminders_enabled;
|
|
191
|
-
return !c && l ? (u.error(t._("Payment reminders are disabled for this customer. Please enable them in the customer details or turn them off.")), !1) : !l && c ? (u.error(t._("No email address is added for the selected customer. Please add it to the customer details or turn off the reminders.")), !1) : !c && !l ? (u.error(t._("Reminders are disabled for this customer, and no email address has been added for it. Please update the details or turn off reminders.")), !1) : !0;
|
|
192
|
-
}, [v, Q?.tax_id, Z, t, X, O, Ae, Re]), De = h(async () => {
|
|
193
|
-
if (A("issue"))
|
|
194
|
-
try {
|
|
195
|
-
await R({
|
|
196
|
-
path: {
|
|
197
|
-
receivable_id: d
|
|
198
|
-
}
|
|
199
|
-
});
|
|
200
|
-
} catch {
|
|
201
|
-
u.error(t._("Failed to issue invoice. Add any missing information to your draft invoice and try again."));
|
|
202
|
-
}
|
|
203
|
-
}, [A, R, d, t]), Pe = h(async () => {
|
|
204
|
-
if (i?.counterpart_id && !f) {
|
|
205
|
-
if (!I) {
|
|
206
|
-
u.error(t._("This customer has no email address. Add one in the customer details to send the invoice."));
|
|
207
|
-
return;
|
|
208
|
-
}
|
|
209
|
-
if (A("issueAndSend")) {
|
|
210
|
-
try {
|
|
211
|
-
await R({
|
|
212
|
-
path: {
|
|
213
|
-
receivable_id: d
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
} catch {
|
|
217
|
-
u.error(t._("Failed to issue invoice. Add any missing information to your draft invoice and try again."));
|
|
218
|
-
return;
|
|
219
|
-
}
|
|
220
|
-
b({
|
|
221
|
-
action: "issue",
|
|
222
|
-
inlineLineItems: [],
|
|
223
|
-
// Just issued now — present it like the create flow ("Invoice issued").
|
|
224
|
-
isEditFlow: !1,
|
|
225
|
-
issue: {
|
|
226
|
-
receivableId: d,
|
|
227
|
-
counterpartId: i.counterpart_id
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}, [i?.counterpart_id, I, f, A, R, d, t]), Te = h((s) => {
|
|
233
|
-
switch (s) {
|
|
234
|
-
case "edit":
|
|
235
|
-
return m(() => {
|
|
236
|
-
C("edit"), x(!0);
|
|
237
|
-
});
|
|
238
|
-
case "issue":
|
|
239
|
-
return m(De);
|
|
240
|
-
case "issueAndSend":
|
|
241
|
-
return m(Pe);
|
|
242
|
-
case "send":
|
|
243
|
-
return m(() => {
|
|
244
|
-
if (!f) {
|
|
245
|
-
if (!I) {
|
|
246
|
-
u.error(t._("This customer has no email address. Add one in the customer details to send the invoice."));
|
|
247
|
-
return;
|
|
248
|
-
}
|
|
249
|
-
i?.counterpart_id && b({
|
|
250
|
-
action: "issue",
|
|
251
|
-
inlineLineItems: [],
|
|
252
|
-
// Already issued — a plain resend, not a fresh issue.
|
|
253
|
-
isEditFlow: !0,
|
|
254
|
-
issue: {
|
|
255
|
-
receivableId: d,
|
|
256
|
-
counterpartId: i.counterpart_id
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
});
|
|
261
|
-
case "clone":
|
|
262
|
-
return m(() => xe({
|
|
263
|
-
path: {
|
|
264
|
-
receivable_id: d
|
|
265
|
-
}
|
|
266
|
-
}));
|
|
267
|
-
case "cancel":
|
|
268
|
-
return m(() => me(!0));
|
|
269
|
-
case "delete":
|
|
270
|
-
return m(() => pe(!0));
|
|
271
|
-
case "markUncollectible":
|
|
272
|
-
return m(() => fe(!0));
|
|
273
|
-
case "pauseRecurrence":
|
|
274
|
-
return m(() => Ce(void 0));
|
|
275
|
-
case "resumeRecurrence":
|
|
276
|
-
return m(() => Le(void 0));
|
|
277
|
-
case "cancelRecurrence":
|
|
278
|
-
return m(() => ve(!0));
|
|
279
|
-
case "recordPayment":
|
|
280
|
-
return;
|
|
281
|
-
}
|
|
282
|
-
}, [m, De, Pe, I, f, i?.counterpart_id, xe, d, Ce, Le, t]), dt = () => {
|
|
283
|
-
if (Y || ee)
|
|
284
|
-
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-center ttw:h-full", children: [
|
|
285
|
-
/* @__PURE__ */ e($, { hidden: !0, children: t._("Loading invoice details") }),
|
|
286
|
-
/* @__PURE__ */ e(ze, {})
|
|
287
|
-
] });
|
|
288
|
-
if (!ge)
|
|
289
|
-
return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
|
|
290
|
-
/* @__PURE__ */ e($, { hidden: !0, children: t._("Access restricted") }),
|
|
291
|
-
/* @__PURE__ */ e(xt, {})
|
|
292
|
-
] });
|
|
293
|
-
if (i && i.type !== "invoice")
|
|
294
|
-
return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
|
|
295
|
-
/* @__PURE__ */ e($, { hidden: !0, children: t._("Receivable type not supported") }),
|
|
296
|
-
/* @__PURE__ */ e(je, { title: t._("Receivable type not supported"), description: t._("Receivable type {type} is not supported. Only invoice is supported.", {
|
|
297
|
-
type: i.type
|
|
298
|
-
}) })
|
|
299
|
-
] });
|
|
300
|
-
if (!i || !n)
|
|
301
|
-
return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
|
|
302
|
-
/* @__PURE__ */ e($, { hidden: !0, children: t._("Invoice not found") }),
|
|
303
|
-
/* @__PURE__ */ e(je, { title: t._("Invoice not found"), description: t._("There is no invoice for the provided id: {invoiceId}", {
|
|
304
|
-
invoiceId: d
|
|
305
|
-
}) })
|
|
306
|
-
] });
|
|
307
|
-
const s = Ft[n.status], l = n.amountTone === "danger", c = n.recurringSeries, D = !!c, M = i.counterpart_name, mt = i.counterpart_id && Ne ? () => ye(!0) : void 0, $e = n.primaryActions.length > 0 ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-t ttw:border-border ttw:pt-3", children: n.primaryActions.map((a, ut) => {
|
|
308
|
-
const ke = Ot[a], Se = ut === n.primaryActions.length - 1 ? "default" : "outline";
|
|
309
|
-
return a === "recordPayment" && i.type === "invoice" ? /* @__PURE__ */ e(pi, { invoice: i, children: ({
|
|
310
|
-
openModal: pt
|
|
311
|
-
}) => /* @__PURE__ */ r(V, { type: "button", size: "sm", variant: Se, onClick: () => m(pt), children: [
|
|
312
|
-
/* @__PURE__ */ e(ke, { className: "ttw:size-4" }),
|
|
313
|
-
E(a)
|
|
314
|
-
] }) }, a) : /* @__PURE__ */ r(V, { type: "button", size: "sm", variant: Se, disabled: jt(a, {
|
|
315
|
-
isIssuing: nt,
|
|
316
|
-
isIssuePreflightLoading: O,
|
|
317
|
-
isCounterpartLoading: f
|
|
318
|
-
}), onClick: () => Te(a), children: [
|
|
319
|
-
/* @__PURE__ */ e(ke, { className: "ttw:size-4" }),
|
|
320
|
-
E(a)
|
|
321
|
-
] }, a);
|
|
322
|
-
}) }) : null;
|
|
323
|
-
return /* @__PURE__ */ r(Fe, { children: [
|
|
324
|
-
n.seriesLink ? /* @__PURE__ */ e("div", { className: "ttw:border-b ttw:border-border ttw:px-6 ttw:py-3", children: /* @__PURE__ */ r("button", { type: "button", onClick: () => n.seriesLink && S?.(n.seriesLink.invoiceId), className: "ttw:flex ttw:items-center ttw:gap-1 ttw:text-sm ttw:text-primary ttw:hover:underline", children: [
|
|
325
|
-
/* @__PURE__ */ e($t, { className: "ttw:size-4", "aria-hidden": "true" }),
|
|
326
|
-
t._("Back to {title} recurring series", {
|
|
327
|
-
title: n.seriesLink.title
|
|
328
|
-
})
|
|
329
|
-
] }) }) : null,
|
|
330
|
-
/* @__PURE__ */ r(Dt, { className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-2 ttw:space-y-0 ttw:px-6 ttw:py-4", children: [
|
|
331
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
332
|
-
/* @__PURE__ */ e(Pt, { className: "ttw:text-xl ttw:font-semibold ttw:text-foreground", children: n.title }),
|
|
333
|
-
n.subtitle ? /* @__PURE__ */ e(o, { variant: "body2", color: "muted", children: n.subtitle }) : null
|
|
334
|
-
] }),
|
|
335
|
-
/* @__PURE__ */ e(Tt, { delayDuration: Bt, children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-1.5", children: [
|
|
336
|
-
J ? /* @__PURE__ */ r(Be, { children: [
|
|
337
|
-
/* @__PURE__ */ e(Ee, { asChild: !0, onFocus: Ue, children: /* @__PURE__ */ e(V, { asChild: !0, variant: "ghost", size: "icon", className: k, children: /* @__PURE__ */ e("a", { href: J, target: "_blank", rel: "noreferrer", "aria-label": t._("View PDF"), children: /* @__PURE__ */ e(kt, { className: "ttw:size-4" }) }) }) }),
|
|
338
|
-
/* @__PURE__ */ e(Me, { children: t._("View PDF") })
|
|
339
|
-
] }) : null,
|
|
340
|
-
n.overflowActions.length > 0 ? /* @__PURE__ */ e(ui, { actions: n.overflowActions, triggerLabel: t._("More actions"), getActionLabel: E, onSelect: Te, isActionDisabled: (a) => a === "clone" && at || a === "pauseRecurrence" && ot || a === "resumeRecurrence" && st || // "Resend" needs the customer email, so wait for it to load.
|
|
341
|
-
a === "send" && f, className: k }) : null,
|
|
342
|
-
/* @__PURE__ */ r(Be, { children: [
|
|
343
|
-
/* @__PURE__ */ e(Ee, { asChild: !0, onFocus: Ue, children: /* @__PURE__ */ e(Ve, { label: t._("Close"), onClose: N, className: k }) }),
|
|
344
|
-
/* @__PURE__ */ e(Me, { children: t._("Close") })
|
|
345
|
-
] })
|
|
346
|
-
] }) })
|
|
347
|
-
] }),
|
|
348
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
349
|
-
/* @__PURE__ */ e("div", { className: "ttw:px-6", children: D && c ? (
|
|
350
|
-
// Recurring series master: recurring amount + series status +
|
|
351
|
-
// start/end, in place of the per-invoice amount rows. The card
|
|
352
|
-
// takes a violet tint (vs the neutral invoice card) to signal a
|
|
353
|
-
// recurrence, matching the Recurring badge.
|
|
354
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-violet-50 ttw:p-4", children: [
|
|
355
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
356
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Recurring amount") }),
|
|
357
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-baseline ttw:gap-1.5", children: [
|
|
358
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "h3", className: Et[n.amountTone], children: c.amountLabel }),
|
|
359
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", children: c.amountPeriodLabel })
|
|
360
|
-
] })
|
|
361
|
-
] }),
|
|
362
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
363
|
-
/* @__PURE__ */ r(T, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
|
|
364
|
-
/* @__PURE__ */ e(He, { className: "ttw:size-3" }),
|
|
365
|
-
t._("Recurring")
|
|
366
|
-
] }),
|
|
367
|
-
/* @__PURE__ */ e(ci, { status: c.status, showIcon: !0 })
|
|
368
|
-
] }),
|
|
369
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-12", children: [
|
|
370
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
371
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Starts on") }),
|
|
372
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: c.startsOnLabel })
|
|
373
|
-
] }),
|
|
374
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
375
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Ends on") }),
|
|
376
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: c.endsOnLabel })
|
|
377
|
-
] })
|
|
378
|
-
] }),
|
|
379
|
-
$e
|
|
380
|
-
] })
|
|
381
|
-
) : /* @__PURE__ */ r("div", { className: G("ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:p-4", l && "ttw:border ttw:border-red-200"), children: [
|
|
382
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-row ttw:flex-wrap ttw:gap-x-12 ttw:gap-y-2", children: n.amountRows.map((a) => /* @__PURE__ */ e(ei, { row: a, defaultTone: n.amountTone }, a.label)) }),
|
|
383
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
384
|
-
n.overdueLabel ? /* @__PURE__ */ r("span", { className: "ttw:inline-flex ttw:items-center ttw:gap-1 ttw:rounded-full ttw:bg-red-100 ttw:px-2.5 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:text-red-700", children: [
|
|
385
|
-
/* @__PURE__ */ e(St, { className: "ttw:size-3" }),
|
|
386
|
-
n.overdueLabel
|
|
387
|
-
] }) : /* @__PURE__ */ e(di, { status: n.status, variant: "outline", label: n.statusLabel, icon: s ? /* @__PURE__ */ e(s, { className: "ttw:size-3" }) : void 0 }),
|
|
388
|
-
n.recurring ? /* @__PURE__ */ r(T, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
|
|
389
|
-
/* @__PURE__ */ e(He, { className: "ttw:size-3" }),
|
|
390
|
-
t._("Recurring")
|
|
391
|
-
] }) : null
|
|
392
|
-
] }),
|
|
393
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-12", children: [
|
|
394
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
395
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Invoice date") }),
|
|
396
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.invoiceDateLabel })
|
|
397
|
-
] }),
|
|
398
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
399
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: n.dueDateCaption }),
|
|
400
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.dueDateLabel })
|
|
401
|
-
] })
|
|
402
|
-
] }),
|
|
403
|
-
$e
|
|
404
|
-
] }) }),
|
|
405
|
-
/* @__PURE__ */ r("div", { className: "ttw:px-6", children: [
|
|
406
|
-
n.paymentHistory ? /* @__PURE__ */ r("section", { "aria-label": t._("Payment history"), className: "ttw:border-b ttw:border-border ttw:py-4", children: [
|
|
407
|
-
/* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Payment history") }),
|
|
408
|
-
n.paymentHistory.loading ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:py-2", children: /* @__PURE__ */ e(ze, { className: "ttw:h-5 ttw:w-5 ttw:border-2" }) }) : n.paymentHistory.rows.length === 0 ? /* @__PURE__ */ e(o, { variant: "body2", className: n.paymentHistory.emptyTone === "danger" ? "ttw:text-red-600" : "ttw:text-muted-foreground", children: t._("You've received no payments yet.") }) : /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
409
|
-
n.paymentHistory.rows.map((a) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:justify-between ttw:border-b ttw:border-border ttw:py-2", children: [
|
|
410
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.dateLabel }),
|
|
411
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.amountLabel })
|
|
412
|
-
] }, a.id)),
|
|
413
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:justify-between ttw:py-2 ttw:font-medium", children: [
|
|
414
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: t._("Total received") }),
|
|
415
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.paymentHistory.totalLabel })
|
|
416
|
-
] })
|
|
417
|
-
] })
|
|
418
|
-
] }) : null,
|
|
419
|
-
M || n.customerContact.length > 0 ? /* @__PURE__ */ r("section", { "aria-label": t._("Customer details"), className: "ttw:border-b ttw:border-border ttw:py-4", children: [
|
|
420
|
-
/* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Customer details") }),
|
|
421
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
422
|
-
M ? /* @__PURE__ */ e(ni, { label: t._("Name"), name: M, onOpenCounterpart: mt }) : null,
|
|
423
|
-
n.customerContact.map((a) => /* @__PURE__ */ e(Ge, { ...a }, a.label))
|
|
424
|
-
] })
|
|
425
|
-
] }) : null,
|
|
426
|
-
/* @__PURE__ */ r(Ct, { type: "multiple", defaultValue: ["attachments"], className: "ttw:w-full", children: [
|
|
427
|
-
/* @__PURE__ */ r(j, { value: "billing", children: [
|
|
428
|
-
/* @__PURE__ */ e(H, { children: /* @__PURE__ */ e("span", { className: "ttw:group-hover:underline", children: t._("Billing details") }) }),
|
|
429
|
-
/* @__PURE__ */ e(U, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
430
|
-
n.billingItems.map((a) => /* @__PURE__ */ e(Ge, { ...a }, a.label)),
|
|
431
|
-
n.seriesLink ? /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0", children: [
|
|
432
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: t._("Recurring series") }),
|
|
433
|
-
/* @__PURE__ */ e("button", { type: "button", onClick: () => n.seriesLink && S?.(n.seriesLink.invoiceId), className: "ttw:text-left ttw:text-primary ttw:hover:underline", children: n.seriesLink.title })
|
|
434
|
-
] }) : null
|
|
435
|
-
] }) })
|
|
436
|
-
] }),
|
|
437
|
-
D ? null : /* @__PURE__ */ r(j, { value: "line-items", children: [
|
|
438
|
-
/* @__PURE__ */ e(H, { children: /* @__PURE__ */ r("span", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
439
|
-
/* @__PURE__ */ e("span", { className: "ttw:group-hover:underline", children: t._("Line items") }),
|
|
440
|
-
/* @__PURE__ */ e(T, { variant: "secondary", className: "ttw:rounded-full", children: n.lineItems.length })
|
|
441
|
-
] }) }),
|
|
442
|
-
/* @__PURE__ */ e(U, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
443
|
-
n.lineItems.length === 0 ? /* @__PURE__ */ e(o, { variant: "body2", color: "muted", className: "ttw:py-3", children: t._("No line items.") }) : n.lineItems.map((a) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-start ttw:justify-between ttw:border-b ttw:border-border ttw:py-3", children: [
|
|
444
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
445
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", className: "ttw:font-medium", children: a.name }),
|
|
446
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", children: t._("{quantity} x {price} ea", {
|
|
447
|
-
quantity: a.quantityLabel,
|
|
448
|
-
price: a.unitPriceLabel
|
|
449
|
-
}) })
|
|
450
|
-
] }),
|
|
451
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.totalLabel })
|
|
452
|
-
] }, a.id)),
|
|
453
|
-
n.lineItemTotals.length > 0 ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-1 ttw:py-3", children: n.lineItemTotals.map((a) => /* @__PURE__ */ r("div", { className: G("ttw:flex ttw:justify-between", a.emphasis && "ttw:font-medium"), children: [
|
|
454
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.label }),
|
|
455
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: a.value })
|
|
456
|
-
] }, a.label)) }) : null
|
|
457
|
-
] }) })
|
|
458
|
-
] }),
|
|
459
|
-
!D && n.notes ? /* @__PURE__ */ r(j, { value: "notes", children: [
|
|
460
|
-
/* @__PURE__ */ e(H, { children: /* @__PURE__ */ r("span", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
461
|
-
/* @__PURE__ */ e("span", { className: "ttw:group-hover:underline", children: t._("Notes") }),
|
|
462
|
-
/* @__PURE__ */ e(T, { variant: "secondary", className: "ttw:rounded-full", children: [n.notes.opening, n.notes.closing].filter(Boolean).length })
|
|
463
|
-
] }) }),
|
|
464
|
-
/* @__PURE__ */ e(U, { children: /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [{
|
|
465
|
-
label: t._("Opening note to customer"),
|
|
466
|
-
text: n.notes.opening
|
|
467
|
-
}, {
|
|
468
|
-
label: t._("Closing note to customer"),
|
|
469
|
-
text: n.notes.closing
|
|
470
|
-
}].filter((a) => a.text).map((a) => /* @__PURE__ */ r("div", { children: [
|
|
471
|
-
/* @__PURE__ */ e(o, { variant: "body2", className: "ttw:mb-1 ttw:font-medium", children: a.label }),
|
|
472
|
-
/* @__PURE__ */ e(o, { variant: "body2", color: "muted", children: a.text })
|
|
473
|
-
] }, a.label)) }) })
|
|
474
|
-
] }) : null,
|
|
475
|
-
/* @__PURE__ */ e(ti, { attachments: i.attachments ?? [] })
|
|
476
|
-
] }),
|
|
477
|
-
D && c && p ? /* @__PURE__ */ r("section", { "aria-label": c.scheduleTitle, className: "ttw:border-t ttw:border-border ttw:py-4", children: [
|
|
478
|
-
/* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: c.scheduleTitle }),
|
|
479
|
-
/* @__PURE__ */ e(li, { invoice: i, recurrence: p, openInvoiceDetails: S })
|
|
480
|
-
] }) : null
|
|
481
|
-
] })
|
|
482
|
-
] })
|
|
483
|
-
] });
|
|
484
|
-
};
|
|
485
|
-
return /* @__PURE__ */ r(Fe, { children: [
|
|
486
|
-
B && i && /* @__PURE__ */ e(ri, { isOpen: B, invoice: i, issueIntent: ce !== "edit", embeddedBankName: Ye, onUpdated: (s, l) => {
|
|
487
|
-
x(!1);
|
|
488
|
-
const c = ce !== "issue";
|
|
489
|
-
C("edit"), Qe?.onUpdate?.(s.id, s), l.issued && c && l.hasCustomerEmail ? b({
|
|
490
|
-
action: "issue",
|
|
491
|
-
isEditFlow: !1,
|
|
492
|
-
inlineLineItems: l.inlineLineItems,
|
|
493
|
-
issue: {
|
|
494
|
-
receivableId: s.id,
|
|
495
|
-
counterpartId: l.counterpartId
|
|
496
|
-
}
|
|
497
|
-
}) : l.issued && l.inlineLineItems.length > 0 ? b({
|
|
498
|
-
action: "issue",
|
|
499
|
-
isEditFlow: !1,
|
|
500
|
-
inlineLineItems: l.inlineLineItems
|
|
501
|
-
}) : l.inlineLineItems.length > 0 && b({
|
|
502
|
-
action: l.activatedRecurrence ? "recurrence" : "update",
|
|
503
|
-
isEditFlow: !0,
|
|
504
|
-
inlineLineItems: l.inlineLineItems
|
|
1
|
+
import { toMinorUnits as l } from "./index122.js";
|
|
2
|
+
import { CurrencyEnumSchema as p } from "./index291.js";
|
|
3
|
+
import { z as e } from "zod";
|
|
4
|
+
const s = (r) => p, x = (r) => e.object({
|
|
5
|
+
account_holder_name: e.string().trim().min(1, r._("Account holder name is required")).max(255, r._("Account holder name must be 255 characters or less")),
|
|
6
|
+
account_number: e.string().trim().min(1, r._("Account number is required")).regex(/^\d+$/, r._("Account number must contain only digits")).min(4, r._("Account number must be at least 4 digits")).max(17, r._("Account number must be at most 17 digits")),
|
|
7
|
+
bank_name: e.string().optional(),
|
|
8
|
+
routing_number: e.string().trim().min(1, r._("Routing number is required")).regex(/^\d{9}$/, r._("Routing number must be 9 digits")),
|
|
9
|
+
display_name: e.string().max(200, r._("Display name must be 200 characters or less")).optional()
|
|
10
|
+
}), f = (r, t) => e.object({
|
|
11
|
+
amount: e.coerce.number({
|
|
12
|
+
error: r._("Amount is required")
|
|
13
|
+
}).meta({
|
|
14
|
+
title: r._("Amount")
|
|
15
|
+
}).min(0, r._("Can't be a negative number")).refine((a) => l(a) <= t, {
|
|
16
|
+
message: r._("Can't be more than the amount due")
|
|
17
|
+
}),
|
|
18
|
+
payment_date: e.date({
|
|
19
|
+
error: r._("Date is required")
|
|
20
|
+
}).meta({
|
|
21
|
+
title: r._("Date")
|
|
22
|
+
}),
|
|
23
|
+
payment_time: e.date({
|
|
24
|
+
error: r._("Time is required")
|
|
25
|
+
}).meta({
|
|
26
|
+
title: r._("Time")
|
|
27
|
+
})
|
|
28
|
+
}), c = (r) => {
|
|
29
|
+
const t = e.object({
|
|
30
|
+
id: e.string().optional(),
|
|
31
|
+
quantity: e.number().min(0.1, r._("Quantity is a required field")),
|
|
32
|
+
product_id: e.string().optional(),
|
|
33
|
+
taxable: e.boolean().optional(),
|
|
34
|
+
product: e.object({
|
|
35
|
+
name: e.string().min(1, r._("Name is a required field")).max(100, r._("Product name must be 100 characters or less")),
|
|
36
|
+
description: e.string().optional(),
|
|
37
|
+
price: e.object({
|
|
38
|
+
currency: s(),
|
|
39
|
+
value: e.number()
|
|
40
|
+
}),
|
|
41
|
+
measure_unit_id: e.string().optional(),
|
|
42
|
+
type: e.enum(["product", "service"])
|
|
43
|
+
}),
|
|
44
|
+
tax_rate_value: e.number().min(0, r._("Tax rate must be 0 or greater")).max(100, r._("Tax rate must be 100 or less")).optional()
|
|
45
|
+
});
|
|
46
|
+
return e.array(t).min(1, r._("Please, add at least 1 item to proceed with this invoice"));
|
|
47
|
+
}, u = (r) => e.object({
|
|
48
|
+
// Required via `refineCounterpartRequired` — either a selected
|
|
49
|
+
// `counterpart_id` or a typed `counterpart_name` satisfies it.
|
|
50
|
+
counterpart_id: e.string().optional(),
|
|
51
|
+
counterpart_name: e.string().optional(),
|
|
52
|
+
counterpart_email: e.email({
|
|
53
|
+
message: r._("Please enter a valid email address")
|
|
54
|
+
}).or(e.literal("")).optional(),
|
|
55
|
+
entity_vat_id_id: e.string().optional(),
|
|
56
|
+
purchase_order: e.string().optional(),
|
|
57
|
+
terms_and_conditions: e.string().optional(),
|
|
58
|
+
default_billing_address_id: e.string().optional(),
|
|
59
|
+
default_shipping_address_id: e.string().optional(),
|
|
60
|
+
tax_rate: e.string().optional(),
|
|
61
|
+
memo: e.string().optional(),
|
|
62
|
+
payment_terms_id: e.string().min(1, r._("Payment terms is a required field")),
|
|
63
|
+
payment_terms_custom_date: e.date().nullable().optional(),
|
|
64
|
+
footer: e.string().optional(),
|
|
65
|
+
line_items: c(r),
|
|
66
|
+
overdue_reminder_id: e.string().nullable().optional(),
|
|
67
|
+
payment_reminder_id: e.string().nullable().optional(),
|
|
68
|
+
tax_mode: e.enum(["exclusive", "inclusive"])
|
|
69
|
+
}), q = (r, t, a = !0, n = 0) => u(r).extend({
|
|
70
|
+
type: e.string(),
|
|
71
|
+
bank_account_id: t ? e.string().min(1, r._("Choose how to get paid.")) : e.string().optional(),
|
|
72
|
+
bank_account_type: e.enum(["INTERNAL", "EXTERNAL", "BANK_DETAILS"]).optional(),
|
|
73
|
+
// Files uploaded on-drop during create (EMBD-3617). Only uploaded files
|
|
74
|
+
// (with a `file.id`) land here; `id` + `include_in_email` ride the single
|
|
75
|
+
// `POST /receivables`, `name`/`size` are for the file-list row only.
|
|
76
|
+
// Create-only — the edit schema does not carry attachments.
|
|
77
|
+
attachments: e.array(e.object({
|
|
78
|
+
id: e.string(),
|
|
79
|
+
include_in_email: e.boolean(),
|
|
80
|
+
name: e.string(),
|
|
81
|
+
size: e.number()
|
|
82
|
+
})).default([]),
|
|
83
|
+
...m().shape
|
|
84
|
+
}).superRefine((o, i) => {
|
|
85
|
+
_(o, i, r, n), d(o, i, r, a);
|
|
86
|
+
}), g = (r) => e.array(e.object({
|
|
87
|
+
id: e.string().optional(),
|
|
88
|
+
quantity: e.number().optional(),
|
|
89
|
+
product_id: e.string().optional(),
|
|
90
|
+
taxable: e.boolean().optional(),
|
|
91
|
+
product: e.object({
|
|
92
|
+
name: e.string().max(100, r._("Product name must be 100 characters or less")).optional(),
|
|
93
|
+
description: e.string().optional(),
|
|
94
|
+
price: e.object({
|
|
95
|
+
currency: s(),
|
|
96
|
+
value: e.number()
|
|
97
|
+
}),
|
|
98
|
+
measure_unit_id: e.string().optional(),
|
|
99
|
+
type: e.enum(["product", "service"])
|
|
100
|
+
}),
|
|
101
|
+
tax_rate_value: e.number().min(0, r._("Tax rate must be 0 or greater")).max(100, r._("Tax rate must be 100 or less")).optional()
|
|
102
|
+
})), I = (r, t = !0, a = 0) => u(r).extend({
|
|
103
|
+
type: e.string(),
|
|
104
|
+
// Relaxed vs. the issue schema: optional for a draft.
|
|
105
|
+
payment_terms_id: e.string().optional(),
|
|
106
|
+
// A started-series edit only needs the *payment* requirements relaxed, so
|
|
107
|
+
// it keeps issue-level line items. The draft rules make `quantity` and
|
|
108
|
+
// `product.name` optional and drop the "at least 1 item" minimum, and
|
|
109
|
+
// `useReceivableSubmit` PUTs line items before the PATCH either way, so
|
|
110
|
+
// inheriting them would send a blank name or an omitted quantity to the
|
|
111
|
+
// API and fail the save instead of flagging it inline (EMBD-4514).
|
|
112
|
+
line_items: a > 0 ? c(r) : g(r),
|
|
113
|
+
bank_account_id: e.string().optional(),
|
|
114
|
+
bank_account_type: e.enum(["INTERNAL", "EXTERNAL", "BANK_DETAILS"]).optional(),
|
|
115
|
+
attachments: e.array(e.object({
|
|
116
|
+
id: e.string(),
|
|
117
|
+
include_in_email: e.boolean(),
|
|
118
|
+
name: e.string(),
|
|
119
|
+
size: e.number()
|
|
120
|
+
})).default([]),
|
|
121
|
+
...m().shape
|
|
122
|
+
}).superRefine((n, o) => {
|
|
123
|
+
_(n, o, r, a), d(n, o, r, t);
|
|
124
|
+
}), m = () => e.object({
|
|
125
|
+
// `once` isn't part of the API's `RecurrenceFrequency` enum ('day' |
|
|
126
|
+
// 'week' | 'month' | 'quarter' | 'year') — it represents not creating a
|
|
127
|
+
// recurrence at all. The other recurrence fields are optional here and
|
|
128
|
+
// only required (via `refineRecurrenceFields` below) when frequency
|
|
129
|
+
// isn't `once`.
|
|
130
|
+
frequency: e.enum(["once", "day", "week", "month", "quarter", "year"]),
|
|
131
|
+
recurrence_start_date: e.date().optional(),
|
|
132
|
+
recurrence_end_date: e.date().optional(),
|
|
133
|
+
// Holds the deprecated `first_day`/`last_day` values as well as a plain
|
|
134
|
+
// day-of-month string ('1'..'31') from the monthly day-of-month picker —
|
|
135
|
+
// the API's `day_of_month` enum only covers the first two.
|
|
136
|
+
recurrence_issue_mode: e.string().optional(),
|
|
137
|
+
// Day of week selected for a weekly recurrence — only one can be active
|
|
138
|
+
// at a time. Note: the Monite `CreateRecurrencePayload` has no field for
|
|
139
|
+
// this — a weekly recurrence's day is derived from `start_date` alone.
|
|
140
|
+
// This is captured for now so the selection isn't lost; how it maps to
|
|
141
|
+
// the request body still needs to be decided.
|
|
142
|
+
recurrence_days_of_week: e.enum(["mo", "tu", "we", "th", "fr", "sa", "su"]).optional(),
|
|
143
|
+
// Which mutually-exclusive end condition is active — maps to the API's
|
|
144
|
+
// `end_date` vs `max_occurrences`.
|
|
145
|
+
recurrence_end_mode: e.enum(["after", "on"]).optional(),
|
|
146
|
+
recurrence_max_occurrences: e.coerce.number().int().min(1).max(1e3).optional(),
|
|
147
|
+
recurrence_subject_text: e.string().optional(),
|
|
148
|
+
recurrence_body_text: e.string().optional()
|
|
149
|
+
}), d = (r, t, a, n = !0) => {
|
|
150
|
+
const o = !!r.counterpart_id?.trim(), i = n && !!r.counterpart_name?.trim();
|
|
151
|
+
!o && !i && t.addIssue({
|
|
152
|
+
code: "custom",
|
|
153
|
+
message: a._("Customer is a required field"),
|
|
154
|
+
path: ["counterpart_id"]
|
|
155
|
+
});
|
|
156
|
+
}, _ = (r, t, a, n = 0) => {
|
|
157
|
+
if (!r.frequency || r.frequency === "once") return;
|
|
158
|
+
switch (r.recurrence_start_date || t.addIssue({
|
|
159
|
+
code: "custom",
|
|
160
|
+
message: a._("Start date is required"),
|
|
161
|
+
path: ["recurrence_start_date"]
|
|
162
|
+
}), r.frequency) {
|
|
163
|
+
case "month":
|
|
164
|
+
r.recurrence_issue_mode || t.addIssue({
|
|
165
|
+
code: "custom",
|
|
166
|
+
message: a._("Day of month is required"),
|
|
167
|
+
path: ["recurrence_issue_mode"]
|
|
168
|
+
}), r.recurrence_max_occurrences || t.addIssue({
|
|
169
|
+
code: "custom",
|
|
170
|
+
message: a._("Number of months is required"),
|
|
171
|
+
path: ["recurrence_max_occurrences"]
|
|
505
172
|
});
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
173
|
+
break;
|
|
174
|
+
case "week":
|
|
175
|
+
r.recurrence_days_of_week || t.addIssue({
|
|
176
|
+
code: "custom",
|
|
177
|
+
message: a._("Day of week is required"),
|
|
178
|
+
path: ["recurrence_days_of_week"]
|
|
179
|
+
}), r.recurrence_max_occurrences || t.addIssue({
|
|
180
|
+
code: "custom",
|
|
181
|
+
message: a._("Number of weeks is required"),
|
|
182
|
+
path: ["recurrence_max_occurrences"]
|
|
183
|
+
});
|
|
184
|
+
break;
|
|
185
|
+
case "quarter":
|
|
186
|
+
r.recurrence_max_occurrences || t.addIssue({
|
|
187
|
+
code: "custom",
|
|
188
|
+
message: a._("Number of quarters is required"),
|
|
189
|
+
path: ["recurrence_max_occurrences"]
|
|
190
|
+
});
|
|
191
|
+
break;
|
|
192
|
+
case "year":
|
|
193
|
+
r.recurrence_max_occurrences || t.addIssue({
|
|
194
|
+
code: "custom",
|
|
195
|
+
message: a._("Number of years is required"),
|
|
196
|
+
path: ["recurrence_max_occurrences"]
|
|
197
|
+
});
|
|
198
|
+
break;
|
|
199
|
+
case "day":
|
|
200
|
+
r.recurrence_end_mode ? r.recurrence_end_mode === "after" && !r.recurrence_max_occurrences ? t.addIssue({
|
|
201
|
+
code: "custom",
|
|
202
|
+
message: a._("Number of days is required"),
|
|
203
|
+
path: ["recurrence_max_occurrences"]
|
|
204
|
+
}) : r.recurrence_end_mode === "on" && !r.recurrence_end_date && t.addIssue({
|
|
205
|
+
code: "custom",
|
|
206
|
+
message: a._("End date is required"),
|
|
207
|
+
path: ["recurrence_end_date"]
|
|
208
|
+
}) : t.addIssue({
|
|
209
|
+
code: "custom",
|
|
210
|
+
message: a._("End condition is required"),
|
|
211
|
+
path: ["recurrence_end_mode"]
|
|
212
|
+
});
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
215
|
+
const o = r.frequency === "day" && r.recurrence_end_mode === "on";
|
|
216
|
+
n > 0 && !o && r.recurrence_max_occurrences && r.recurrence_max_occurrences <= n && t.addIssue({
|
|
217
|
+
code: "custom",
|
|
218
|
+
message: a._("Must be more than the {count} invoices already issued", {
|
|
219
|
+
count: n
|
|
220
|
+
}),
|
|
221
|
+
path: ["recurrence_max_occurrences"]
|
|
222
|
+
});
|
|
538
223
|
};
|
|
539
224
|
export {
|
|
540
|
-
|
|
225
|
+
x as getCreateBankAccountSchema,
|
|
226
|
+
s as getCurrencyEnum,
|
|
227
|
+
I as getDraftInvoiceValidationSchema,
|
|
228
|
+
q as getInvoiceValidationSchema,
|
|
229
|
+
f as manualPaymentRecordValidationSchema
|
|
541
230
|
};
|