@tesouro/embedded-components-react 0.2.117 → 0.2.118
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/lib/monite-sdk.d.ts +13 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- 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 +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -10
- 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 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +97 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +8 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +57 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +26 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +76 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +39 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +21 -9
- 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 +5 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +21 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +76 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +19 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +111 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +70 -9
- 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 +33 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +9 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +15 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +32 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +24 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +13 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +10 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +114 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +216 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +47 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +49 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +152 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +58 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +24 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +59 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +24 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +83 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +95 -421
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +15 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +9 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +76 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +55 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +24 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +80 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +28 -21
- 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 +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +7 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +114 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +70 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +190 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +111 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +135 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +18 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +172 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +183 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +11 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +50 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +31 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +44 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +44 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +202 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +420 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +24 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +59 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +396 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +66 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +407 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +34 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +99 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +7 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +214 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +146 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -2
- 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 +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +94 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +211 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +149 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +18 -16
- 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 +36 -243
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +346 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +301 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +99 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +158 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +261 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +22 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +20 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +23 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +31 -44
- 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 +38 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +59 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +29 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +113 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +41 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +57 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +488 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +162 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +73 -86
- 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 +44 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +27 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +62 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +95 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +109 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +84 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +48 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +62 -167
- 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 +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +16 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +19 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +164 -206
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +130 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +66 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +158 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +9 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +18 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +62 -81
- 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 +63 -280
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +8 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +55 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +63 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +55 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +23 -22
- 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 +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +60 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +20 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +66 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +36 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +34 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +345 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +10 -8
- 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 +9 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +13 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +20 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +37 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +33 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +15 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +244 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +10 -8
- 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 +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +37 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +53 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +48 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +28 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +92 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +42 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +135 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +107 -23
- 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 +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +43 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +78 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +74 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +42 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +157 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +78 -63
- 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 +24 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +127 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +62 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +42 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +139 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +102 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +81 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +278 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +83 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +221 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +67 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +92 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +16 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +85 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +49 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +8 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +44 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +125 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +93 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +33 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +115 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +18 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +14 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +54 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +36 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +71 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +19 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +27 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +36 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +69 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +47 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +28 -11
- 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 +43 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +21 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +64 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +21 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +19 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +26 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +21 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +32 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +38 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +46 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +37 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +6 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +66 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +21 -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 +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +41 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +74 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +94 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +31 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +85 -38
- 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 +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +102 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +109 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +8 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +28 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +38 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +69 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +66 -45
- 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 +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +19 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +49 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +56 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +91 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +75 -74
- 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 +20 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +67 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +21 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +31 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +14 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +50 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +39 -39
- 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 +44 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +83 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +52 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +52 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +53 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +29 -15
- 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 +56 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +81 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +39 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +67 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +39 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +47 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +36 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +50 -41
- 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 +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +20 -48
- 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/settings-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,274 +1,283 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { useCounterpartById as
|
|
3
|
-
import { Sheet as
|
|
4
|
-
import { LoadingSpinner as
|
|
5
|
-
import { useLingui as
|
|
1
|
+
import { jsx as t, jsxs as i, Fragment as _ } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCounterpartById as Lt } from "./index70.js";
|
|
3
|
+
import { Sheet as X, SheetContent as Y, SheetHeader as $t, SheetTitle as Et, SheetDescription as Rt, SheetClose as Ut } from "./index144.js";
|
|
4
|
+
import { LoadingSpinner as kt } from "./index145.js";
|
|
5
|
+
import { useLingui as Bt } from "@lingui/react";
|
|
6
6
|
import { getCounterpartName as T } from "./index7.js";
|
|
7
|
-
import { Skeleton as c } from "./
|
|
8
|
-
import { useMoniteContext as
|
|
9
|
-
import { DropdownMenu as
|
|
10
|
-
import { Button as
|
|
11
|
-
import { MoreVerticalIcon as
|
|
12
|
-
import { DeleteCounterpartModal as
|
|
13
|
-
import { useState as A, useCallback as
|
|
14
|
-
import { Typography as
|
|
15
|
-
import { useCurrencies as
|
|
16
|
-
import { Separator as
|
|
17
|
-
import { CounterpartContactDetailLine as m } from "./
|
|
7
|
+
import { Skeleton as c } from "./index151.js";
|
|
8
|
+
import { useMoniteContext as jt } from "./index57.js";
|
|
9
|
+
import { DropdownMenu as Mt, DropdownMenuTrigger as Ot, DropdownMenuContent as Pt, DropdownMenuItem as Vt } from "./index150.js";
|
|
10
|
+
import { Button as v } from "./index84.js";
|
|
11
|
+
import { MoreVerticalIcon as Ft, Trash2 as Wt, X as zt, EyeOff as Gt, Eye as Ht } from "lucide-react";
|
|
12
|
+
import { DeleteCounterpartModal as qt } from "./index155.js";
|
|
13
|
+
import { useState as A, useCallback as Xt, Fragment as Yt } from "react";
|
|
14
|
+
import { Typography as r } from "./index85.js";
|
|
15
|
+
import { useCurrencies as Jt } from "./index58.js";
|
|
16
|
+
import { Separator as Kt } from "./index156.js";
|
|
17
|
+
import { CounterpartContactDetailLine as m } from "./index157.js";
|
|
18
18
|
import "react-hot-toast";
|
|
19
19
|
import "date-fns";
|
|
20
|
-
import { useDeleteCounterpartBank as
|
|
21
|
-
import { useCounterpartAddressesById as
|
|
22
|
-
import { useGetCounterpartPayables as
|
|
23
|
-
import { EditCounterpart as
|
|
24
|
-
import { useUserPermissions as
|
|
20
|
+
import { useDeleteCounterpartBank as Qt } from "./index158.js";
|
|
21
|
+
import { useCounterpartAddressesById as Zt } from "./index159.js";
|
|
22
|
+
import { useGetCounterpartPayables as te } from "./index160.js";
|
|
23
|
+
import { EditCounterpart as ee } from "./index161.js";
|
|
24
|
+
import { useUserPermissions as ae } from "./index131.js";
|
|
25
25
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
26
26
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
27
27
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
28
28
|
import "@tanstack/react-query";
|
|
29
29
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
30
|
-
import { Scope as
|
|
30
|
+
import { Scope as w } from "../../shared/data-access/dist/lib/scopes.js";
|
|
31
31
|
import { useGetPayablesAnalytics as I } from "./index35.js";
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
32
|
+
import { AR_DEFAULT_STATUSES as ie } from "./index162.js";
|
|
33
|
+
import { useGetReceivables as re } from "./index163.js";
|
|
34
|
+
import { useGetReceivablesAnalytics as J } from "./index164.js";
|
|
34
35
|
import "./index92.js";
|
|
35
36
|
import "react-dom";
|
|
36
37
|
import "@mui/x-data-grid";
|
|
37
38
|
import "react-hook-form";
|
|
38
|
-
import { PayableStatusChip as
|
|
39
|
-
import { CounterpartBankSection as
|
|
40
|
-
import { useCounterpartsBankAccountsList as
|
|
41
|
-
import { MoniteScopedProviders as
|
|
42
|
-
import { InvoiceStatusChip as
|
|
43
|
-
import { CounterpartAddressSection as
|
|
44
|
-
import { NotFound as
|
|
45
|
-
import { isBillOverdue as
|
|
46
|
-
const
|
|
47
|
-
counterpartId:
|
|
39
|
+
import { PayableStatusChip as K } from "./index165.js";
|
|
40
|
+
import { CounterpartBankSection as oe } from "./index166.js";
|
|
41
|
+
import { useCounterpartsBankAccountsList as ne } from "./index167.js";
|
|
42
|
+
import { MoniteScopedProviders as se } from "./index83.js";
|
|
43
|
+
import { InvoiceStatusChip as de } from "./index55.js";
|
|
44
|
+
import { CounterpartAddressSection as le } from "./index168.js";
|
|
45
|
+
import { NotFound as ce } from "./index152.js";
|
|
46
|
+
import { isBillOverdue as me } from "./index169.js";
|
|
47
|
+
const oa = (o) => /* @__PURE__ */ t(se, { children: /* @__PURE__ */ t(ue, { ...o }) }), ue = ({
|
|
48
|
+
counterpartId: o,
|
|
48
49
|
customerType: u,
|
|
49
50
|
open: L,
|
|
50
|
-
isEditMode:
|
|
51
|
-
showActionsMenu:
|
|
51
|
+
isEditMode: Q = !1,
|
|
52
|
+
showActionsMenu: Z = !0,
|
|
52
53
|
onClose: g,
|
|
53
54
|
onPayVendor: $,
|
|
54
|
-
onCreateInvoiceForCustomer:
|
|
55
|
-
onViewVendorBills:
|
|
55
|
+
onCreateInvoiceForCustomer: E,
|
|
56
|
+
onViewVendorBills: R,
|
|
57
|
+
onViewCustomerInvoices: U
|
|
56
58
|
}) => {
|
|
57
59
|
const {
|
|
58
60
|
i18n: a
|
|
59
|
-
} =
|
|
60
|
-
locale:
|
|
61
|
-
} =
|
|
62
|
-
formatCurrencyToDisplay:
|
|
63
|
-
} =
|
|
64
|
-
data:
|
|
61
|
+
} = Bt(), {
|
|
62
|
+
locale: k
|
|
63
|
+
} = jt(), p = ae(), {
|
|
64
|
+
formatCurrencyToDisplay: h
|
|
65
|
+
} = Jt(), [B, b] = A(!1), [j, tt] = A(!1), [M, N] = A(Q), e = u === "vendor", et = e && !!$ && p.has(w.PayableWriteOrg), at = !e && !!E && p.has(w.InvoiceWriteOrg), it = e && !!R && p.has(w.PayableReadOrg), rt = !e && !!U && p.has(w.InvoiceReadOrg), {
|
|
66
|
+
data: n,
|
|
65
67
|
isLoading: l,
|
|
66
|
-
isFetching:
|
|
67
|
-
} =
|
|
68
|
-
data: it,
|
|
69
|
-
isLoading: ot
|
|
70
|
-
} = Jt(n), {
|
|
68
|
+
isFetching: ot
|
|
69
|
+
} = Lt(o), {
|
|
71
70
|
data: nt,
|
|
72
|
-
isLoading:
|
|
73
|
-
} =
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
isLoading: st
|
|
72
|
+
} = Zt(o), {
|
|
73
|
+
data: dt,
|
|
74
|
+
isLoading: lt
|
|
75
|
+
} = ne(o), {
|
|
76
|
+
mutate: ct
|
|
77
|
+
} = Qt(o), {
|
|
78
|
+
data: mt,
|
|
79
|
+
isLoading: O
|
|
78
80
|
} = I({
|
|
79
81
|
dimension: "counterpart_id",
|
|
80
82
|
metric: "total_amount",
|
|
81
83
|
aggregation_function: "summary",
|
|
82
84
|
status__in: ["new", "approve_in_progress", "waiting_to_be_paid", "partially_paid", "paid"],
|
|
83
|
-
counterpart_id__in: [
|
|
85
|
+
counterpart_id__in: [o]
|
|
84
86
|
}, e), {
|
|
85
|
-
data:
|
|
86
|
-
isLoading:
|
|
87
|
+
data: ut,
|
|
88
|
+
isLoading: P
|
|
87
89
|
} = I({
|
|
88
90
|
dimension: "counterpart_id",
|
|
89
91
|
metric: "amount_due",
|
|
90
92
|
aggregation_function: "summary",
|
|
91
93
|
status__in: ["new", "approve_in_progress", "waiting_to_be_paid", "partially_paid"],
|
|
92
|
-
counterpart_id__in: [
|
|
94
|
+
counterpart_id__in: [o]
|
|
93
95
|
}, e), {
|
|
94
|
-
data:
|
|
95
|
-
isLoading:
|
|
96
|
+
data: pt,
|
|
97
|
+
isLoading: wt
|
|
96
98
|
} = I({
|
|
97
99
|
dimension: "counterpart_id",
|
|
98
100
|
metric: "total_amount",
|
|
99
101
|
aggregation_function: "summary",
|
|
100
102
|
status__in: ["rejected"],
|
|
101
|
-
counterpart_id__in: [
|
|
103
|
+
counterpart_id__in: [o]
|
|
102
104
|
}, e), {
|
|
103
|
-
data:
|
|
104
|
-
} =
|
|
105
|
-
counterpart_id:
|
|
105
|
+
data: ht
|
|
106
|
+
} = te({
|
|
107
|
+
counterpart_id: o,
|
|
106
108
|
sort: "created_at",
|
|
107
109
|
order: "desc",
|
|
108
110
|
limit: 4
|
|
109
111
|
}, e), {
|
|
110
|
-
data:
|
|
111
|
-
isLoading:
|
|
112
|
-
} =
|
|
112
|
+
data: ft,
|
|
113
|
+
isLoading: V
|
|
114
|
+
} = J({
|
|
113
115
|
dimension: "counterpart_id",
|
|
114
116
|
metric: "total_amount",
|
|
115
117
|
aggregation_function: "summary",
|
|
116
118
|
type: "invoice",
|
|
117
119
|
status__in: ["issued", "overdue", "partially_paid", "paid"],
|
|
118
|
-
counterpart_id__in: [
|
|
120
|
+
counterpart_id__in: [o]
|
|
119
121
|
}, !e), {
|
|
120
|
-
data:
|
|
121
|
-
isLoading:
|
|
122
|
-
} =
|
|
122
|
+
data: _t,
|
|
123
|
+
isLoading: F
|
|
124
|
+
} = J({
|
|
123
125
|
dimension: "counterpart_id",
|
|
124
126
|
metric: "amount_due",
|
|
125
127
|
aggregation_function: "summary",
|
|
126
128
|
type: "invoice",
|
|
127
129
|
status__in: ["issued", "overdue", "partially_paid"],
|
|
128
|
-
counterpart_id__in: [
|
|
130
|
+
counterpart_id__in: [o]
|
|
129
131
|
}, !e), {
|
|
130
|
-
data:
|
|
131
|
-
} =
|
|
132
|
-
|
|
132
|
+
data: vt
|
|
133
|
+
} = re({
|
|
134
|
+
// Match the destination invoices list, whose "View all" link this section
|
|
135
|
+
// owns: invoice type only (not quotes / credit notes) and the same default
|
|
136
|
+
// statuses useInvoicesFilter applies (AR_DEFAULT_STATUSES, which drops
|
|
137
|
+
// recurring / canceled). Keeping both constraints in sync means the CTA
|
|
138
|
+
// only shows when the filtered list it opens will actually have rows.
|
|
139
|
+
type: "invoice",
|
|
140
|
+
status__in: [...ie],
|
|
141
|
+
counterpart_id: o,
|
|
133
142
|
sort: "created_at",
|
|
134
143
|
order: "desc",
|
|
135
144
|
limit: 4
|
|
136
|
-
}, !e), x = p.has(
|
|
137
|
-
return !l && !
|
|
145
|
+
}, !e), x = p.has(w.CounterpartWriteOrg), W = p.has(w.CounterpartWriteOrg), yt = Xt(() => n && "individual" in n ? [n.individual?.email ?? "-", n.individual?.phone ?? "-"] : [n?.organization?.email ?? "-", n?.organization?.phone ?? "-"], [n]), z = dt?.data?.[0], G = e ? ut?.data?.[0]?.metric_value ?? 0 : _t?.data?.[0]?.metric_value ?? 0, H = e ? mt?.data?.[0]?.metric_value ?? 0 : ft?.data?.[0]?.metric_value ?? 0, gt = H - G, bt = e ? P : F, Nt = e ? O : V, xt = e ? P || O : V || F, Ct = e ? pt?.data?.[0]?.metric_value ?? 0 : 0, St = e ? wt : !1, y = e ? ht?.data : vt?.data, d = nt?.data?.[0], C = d?.city || "", S = d?.state || "", D = d?.postal_code || "", f = n?.tax_id, Dt = f ? j ? f : f.slice(0, 3).padEnd(f.length, "•") : "-", [Tt, At] = yt();
|
|
146
|
+
return !l && !ot && !n ? /* @__PURE__ */ t(X, { open: L, onOpenChange: g, children: /* @__PURE__ */ t(Y, { showCloseButton: !0, className: "ttw:gap-0", children: /* @__PURE__ */ t("div", { className: "ttw:w-3/4 ttw:m-auto ttw:p-4", children: /* @__PURE__ */ t(ce, { title: a._("{customerType} not found", {
|
|
138
147
|
customerType: u === "vendor" ? "Vendor" : "Customer"
|
|
139
148
|
}), description: a._("Something went wrong while fetching this {customerType}", {
|
|
140
149
|
customerType: u
|
|
141
|
-
}) }) }) }) }) : /* @__PURE__ */
|
|
142
|
-
/* @__PURE__ */ t(
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
/* @__PURE__ */
|
|
145
|
-
/* @__PURE__ */ t(
|
|
146
|
-
/* @__PURE__ */ t(
|
|
147
|
-
createdAt: a.date(
|
|
150
|
+
}) }) }) }) }) : /* @__PURE__ */ i(_, { children: [
|
|
151
|
+
/* @__PURE__ */ t(X, { open: L, onOpenChange: g, children: /* @__PURE__ */ i(Y, { showCloseButton: !1, className: "ttw:gap-0", children: [
|
|
152
|
+
/* @__PURE__ */ i($t, { className: "ttw:pt-6 ttw:pl-6 ttw:pb-7 ttw:flex-row ttw:gap-3 ttw:border-b ttw:border-border", children: [
|
|
153
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:w-[85%]", children: [
|
|
154
|
+
/* @__PURE__ */ t(Et, { asChild: l, className: "ttw:text-2xl", children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-40" }) : T(n) }),
|
|
155
|
+
/* @__PURE__ */ t(Rt, { asChild: l, children: l ? /* @__PURE__ */ t(c, { className: "ttw:w-60" }) : a._("{customerType} · Added {createdAt}", {
|
|
156
|
+
createdAt: a.date(n?.created_at, k.dateFormat),
|
|
148
157
|
customerType: e ? "Vendor" : "Customer"
|
|
149
158
|
}) })
|
|
150
159
|
] }),
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
|
|
153
|
-
/* @__PURE__ */ t(
|
|
154
|
-
/* @__PURE__ */ t(
|
|
155
|
-
/* @__PURE__ */ t(
|
|
160
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:gap-2", children: [
|
|
161
|
+
Z && W && /* @__PURE__ */ i(Mt, { children: [
|
|
162
|
+
/* @__PURE__ */ t(Ot, { asChild: !0, children: /* @__PURE__ */ t(v, { type: "button", variant: "outline", className: "ttw:p-2 ttw:size-9 ttw:border-none ttw:bg-muted", children: /* @__PURE__ */ t(Ft, {}) }) }),
|
|
163
|
+
/* @__PURE__ */ t(Pt, { align: "end", children: /* @__PURE__ */ i(Vt, { onClick: () => b(!0), variant: "destructive", children: [
|
|
164
|
+
/* @__PURE__ */ t(Wt, {}),
|
|
156
165
|
a._("Delete {customerType}", {
|
|
157
166
|
customerType: u
|
|
158
167
|
})
|
|
159
168
|
] }) })
|
|
160
169
|
] }),
|
|
161
|
-
/* @__PURE__ */ t(
|
|
170
|
+
/* @__PURE__ */ t(Ut, { className: "ttw:size-9 ttw:bg-muted ttw:p-2 ttw:flex ttw:items-center ttw:justify-center ttw:rounded-md ttw:cursor-pointer", children: /* @__PURE__ */ t(zt, { className: "ttw:size-4" }) })
|
|
162
171
|
] })
|
|
163
172
|
] }),
|
|
164
|
-
l ? /* @__PURE__ */ t("div", { className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
/* @__PURE__ */ t(
|
|
168
|
-
|
|
169
|
-
/* @__PURE__ */
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
/* @__PURE__ */ t(
|
|
172
|
-
|
|
173
|
+
l ? /* @__PURE__ */ t("div", { className: "ttw:flex ttw:w-full ttw:h-full ttw:items-center ttw:justify-center", children: /* @__PURE__ */ t(kt, {}) }) : /* @__PURE__ */ i("main", { className: "ttw:p-6 ttw:overflow-auto ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
174
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:pb-3", children: [
|
|
175
|
+
/* @__PURE__ */ i("div", { className: "ttw:p-5 ttw:flex ttw:flex-col ttw:gap-4 ttw:bg-muted ttw:rounded-xl", children: [
|
|
176
|
+
/* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: a._("Amount due") }),
|
|
177
|
+
bt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "h1", className: "ttw:font-semibold", children: h(G, "USD") }),
|
|
178
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:gap-8", children: [
|
|
179
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
180
|
+
/* @__PURE__ */ t(r, { variant: "caption", color: "muted", children: a._("Billed") }),
|
|
181
|
+
Nt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-semibold", children: h(H, "USD") })
|
|
173
182
|
] }),
|
|
174
|
-
/* @__PURE__ */
|
|
175
|
-
/* @__PURE__ */ t(
|
|
176
|
-
|
|
183
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
184
|
+
/* @__PURE__ */ t(r, { variant: "caption", color: "muted", children: e ? a._("Paid") : a._("Received") }),
|
|
185
|
+
xt ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:text-green-600 ttw:font-semibold", children: h(gt, "USD") })
|
|
177
186
|
] }),
|
|
178
|
-
e && /* @__PURE__ */
|
|
179
|
-
/* @__PURE__ */ t(
|
|
180
|
-
|
|
187
|
+
e && /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
188
|
+
/* @__PURE__ */ t(r, { variant: "caption", color: "muted", children: a._("Rejected") }),
|
|
189
|
+
St ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-semibold", children: h(Ct, "USD") })
|
|
181
190
|
] })
|
|
182
191
|
] })
|
|
183
192
|
] }),
|
|
184
|
-
/* @__PURE__ */ t(
|
|
193
|
+
/* @__PURE__ */ t(v, { className: "ttw:px-6 ttw:py-2 ttw:w-60", disabled: e ? !et : !at, onClick: () => e ? $?.(o) : E?.(o), children: e ? a._("Send a payment") : a._("Issue an invoice") })
|
|
185
194
|
] }),
|
|
186
|
-
y && y.length > 0 && /* @__PURE__ */
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__PURE__ */ t(
|
|
195
|
+
y && y.length > 0 && /* @__PURE__ */ i("div", { className: "ttw:border-t ttw:border-border ttw:flex ttw:flex-col", children: [
|
|
196
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7", children: [
|
|
197
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
198
|
+
/* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-medium", children: a._("Recent {document}", {
|
|
190
199
|
document: e ? "bills" : "invoices"
|
|
191
200
|
}) }),
|
|
192
|
-
/* @__PURE__ */ t(
|
|
201
|
+
/* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: e ? a._("Sorted by issue date") : a._("Latest activity") })
|
|
193
202
|
] }),
|
|
194
|
-
|
|
203
|
+
(it || rt) && /* @__PURE__ */ t(v, { variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => e ? R?.(o) : U?.(o), children: a._("View all") })
|
|
195
204
|
] }),
|
|
196
|
-
/* @__PURE__ */ t("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:p-4 ttw:flex ttw:flex-col ttw:gap-3", children: y.map((
|
|
197
|
-
const
|
|
198
|
-
return /* @__PURE__ */
|
|
199
|
-
/* @__PURE__ */
|
|
200
|
-
/* @__PURE__ */
|
|
201
|
-
/* @__PURE__ */ t(
|
|
202
|
-
/* @__PURE__ */ t(
|
|
205
|
+
/* @__PURE__ */ t("div", { className: "ttw:border ttw:border-border ttw:rounded-lg ttw:p-4 ttw:flex ttw:flex-col ttw:gap-3", children: y.map((s, It) => {
|
|
206
|
+
const q = e ? me(s?.status, s?.due_date) : void 0;
|
|
207
|
+
return /* @__PURE__ */ i(Yt, { children: [
|
|
208
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-start ttw:justify-between", children: [
|
|
209
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
210
|
+
/* @__PURE__ */ t(r, { variant: "h5", className: "ttw:font-medium", children: h(s.total_amount ?? 0, s.currency ?? "USD") }),
|
|
211
|
+
/* @__PURE__ */ t(r, { variant: "body2", color: q ? "destructive" : "muted", children: a.date("issued_at" in s ? s.issued_at : s.created_at, k.dateFormat) })
|
|
203
212
|
] }),
|
|
204
|
-
e ? /* @__PURE__ */
|
|
205
|
-
|
|
206
|
-
/* @__PURE__ */ t(
|
|
207
|
-
] }) : /* @__PURE__ */ t(
|
|
213
|
+
e ? /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
214
|
+
q && /* @__PURE__ */ t(K, { status: s.status, dueDate: "due_date" in s ? s.due_date : void 0, showOverdueBadge: !0 }),
|
|
215
|
+
/* @__PURE__ */ t(K, { status: s.status, dueDate: "due_date" in s ? s.due_date : void 0 })
|
|
216
|
+
] }) : /* @__PURE__ */ t(de, { status: s.status })
|
|
208
217
|
] }),
|
|
209
|
-
|
|
210
|
-
] },
|
|
218
|
+
It < y.length - 1 && /* @__PURE__ */ t(Kt, {})
|
|
219
|
+
] }, s.id);
|
|
211
220
|
}) })
|
|
212
221
|
] }),
|
|
213
|
-
/* @__PURE__ */
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
/* @__PURE__ */
|
|
216
|
-
/* @__PURE__ */ t(
|
|
222
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
223
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: [
|
|
224
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
225
|
+
/* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-medium", children: a._("{customerType} details", {
|
|
217
226
|
customerType: e ? "Vendor" : "Customer"
|
|
218
227
|
}) }),
|
|
219
|
-
/* @__PURE__ */ t(
|
|
228
|
+
/* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: e ? a._("Who are you paying?") : a._("Who are you billing?") })
|
|
220
229
|
] }),
|
|
221
|
-
!
|
|
230
|
+
!M && x && /* @__PURE__ */ t(v, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => N(!0), children: a._("Edit") })
|
|
222
231
|
] }),
|
|
223
|
-
|
|
224
|
-
/* @__PURE__ */ t(m, { label: a._("Type"), value:
|
|
225
|
-
/* @__PURE__ */ t(m, { label: a._("Name"), value: T(
|
|
226
|
-
/* @__PURE__ */ t(m, { label: a._("Email"), value:
|
|
227
|
-
!e && /* @__PURE__ */ t(m, { label: a._("Payment reminders"), value:
|
|
228
|
-
/* @__PURE__ */ t(m, { label: a._("Phone"), value:
|
|
232
|
+
M && n ? /* @__PURE__ */ t(ee, { customerType: u, counterpart: n, counterpartAddress: d, handleClose: () => N(!1), onUpdate: () => N(!1) }) : /* @__PURE__ */ i("ul", { className: "ttw:list-none", children: [
|
|
233
|
+
/* @__PURE__ */ t(m, { label: a._("Type"), value: n?.type === "individual" ? "Person" : "Business" }),
|
|
234
|
+
/* @__PURE__ */ t(m, { label: a._("Name"), value: T(n) }),
|
|
235
|
+
/* @__PURE__ */ t(m, { label: a._("Email"), value: Tt }),
|
|
236
|
+
!e && /* @__PURE__ */ t(m, { label: a._("Payment reminders"), value: n?.reminders_enabled ? "Enabled" : "Disabled" }),
|
|
237
|
+
/* @__PURE__ */ t(m, { label: a._("Phone"), value: At }),
|
|
229
238
|
/* @__PURE__ */ t(m, { label: a._("Tax ID / {documentType}", {
|
|
230
|
-
documentType:
|
|
231
|
-
}), value: /* @__PURE__ */
|
|
232
|
-
/* @__PURE__ */
|
|
233
|
-
/* @__PURE__ */ t(
|
|
234
|
-
|
|
235
|
-
/* @__PURE__ */ t(
|
|
239
|
+
documentType: n?.type === "individual" ? "SSN" : "EIN"
|
|
240
|
+
}), value: /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
241
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
242
|
+
/* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: Dt }),
|
|
243
|
+
f && /* @__PURE__ */ t(v, { onClick: () => tt((s) => !s), type: "button", size: "sm", variant: "outline", className: "ttw:border-border ttw:h-5 ttw:p-2", children: j ? /* @__PURE__ */ i(_, { children: [
|
|
244
|
+
/* @__PURE__ */ t(Gt, {}),
|
|
236
245
|
a._("Hide")
|
|
237
|
-
] }) : /* @__PURE__ */
|
|
238
|
-
/* @__PURE__ */ t(
|
|
246
|
+
] }) : /* @__PURE__ */ i(_, { children: [
|
|
247
|
+
/* @__PURE__ */ t(Ht, {}),
|
|
239
248
|
a._("Show")
|
|
240
249
|
] }) })
|
|
241
250
|
] }),
|
|
242
|
-
/* @__PURE__ */ t(
|
|
251
|
+
/* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: e ? a._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : a._("Required only if you'll issue a 1099 IRS form at year-end.") })
|
|
243
252
|
] }) }),
|
|
244
|
-
e && /* @__PURE__ */ t(m, { label: a._("Address"), isLast: !0, value: /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children:
|
|
245
|
-
/* @__PURE__ */ t(
|
|
246
|
-
|
|
247
|
-
/* @__PURE__ */ t(
|
|
248
|
-
/* @__PURE__ */ t(
|
|
249
|
-
] }) : /* @__PURE__ */ t(
|
|
253
|
+
e && /* @__PURE__ */ t(m, { label: a._("Address"), isLast: !0, value: /* @__PURE__ */ t("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: st ? /* @__PURE__ */ t(c, { className: "ttw:w-20" }) : /* @__PURE__ */ t(_, { children: d ? /* @__PURE__ */ i(_, { children: [
|
|
254
|
+
/* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: d?.line1 }),
|
|
255
|
+
d?.line2 && /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: d.line2 }),
|
|
256
|
+
/* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: `${C && C}${C && (S || D) && ","} ${S && S} ${D && D}` }),
|
|
257
|
+
/* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: d?.country })
|
|
258
|
+
] }) : /* @__PURE__ */ t(r, { variant: "body2", className: "ttw:font-medium", children: "-" }) }) }) })
|
|
250
259
|
] })
|
|
251
260
|
] }),
|
|
252
|
-
!e && /* @__PURE__ */ t(
|
|
253
|
-
e && /* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */ t(
|
|
256
|
-
/* @__PURE__ */ t(
|
|
261
|
+
!e && /* @__PURE__ */ t(le, { isStandalone: !0, isLoading: l, counterpartAddress: d, customerType: u, counterpartId: n?.id, isUpdateAllowed: x }),
|
|
262
|
+
e && /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:border-t ttw:border-border", children: [
|
|
263
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
|
|
264
|
+
/* @__PURE__ */ t(r, { variant: "body1", className: "ttw:font-medium", children: a._("Accepted payment methods") }),
|
|
265
|
+
/* @__PURE__ */ t(r, { variant: "body2", color: "muted", children: a._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.") })
|
|
257
266
|
] }),
|
|
258
|
-
/* @__PURE__ */ t(
|
|
267
|
+
/* @__PURE__ */ t(oe, { counterpartId: n?.id, bankAccount: z, isUpdateAllowed: x, isDeleteAllowed: W, isStandalone: !0, isLoading: lt, onRemoveClick: () => ct({
|
|
259
268
|
path: {
|
|
260
|
-
bank_account_id:
|
|
261
|
-
counterpart_id:
|
|
269
|
+
bank_account_id: z?.id || "",
|
|
270
|
+
counterpart_id: o
|
|
262
271
|
}
|
|
263
272
|
}) })
|
|
264
273
|
] })
|
|
265
274
|
] })
|
|
266
275
|
] }) }),
|
|
267
|
-
|
|
276
|
+
o && B && /* @__PURE__ */ t(qt, { counterpartId: o, counterpartName: T(n), isOpen: B, onDelete: () => {
|
|
268
277
|
g?.(), b(!1);
|
|
269
278
|
}, onCancel: () => b(!1) })
|
|
270
279
|
] });
|
|
271
280
|
};
|
|
272
281
|
export {
|
|
273
|
-
|
|
282
|
+
oa as CounterpartDetails
|
|
274
283
|
};
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
open: a,
|
|
7
|
-
onClose: e,
|
|
8
|
-
onContinue: r
|
|
9
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
import { getCounterpartName as i } from "./index7.js";
|
|
5
|
+
const c = () => {
|
|
10
6
|
const {
|
|
11
|
-
i18n:
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
7
|
+
i18n: t
|
|
8
|
+
} = n(), {
|
|
9
|
+
api: e,
|
|
10
|
+
queryClient: o
|
|
11
|
+
} = s();
|
|
12
|
+
return e.finops.postCounterparts.useMutation({}, {
|
|
13
|
+
onSuccess: async (a) => {
|
|
14
|
+
await e.finops.getCounterparts.invalidateQueries(o), r.success(t._("{name} has been added to the list.", {
|
|
15
|
+
name: i(a)
|
|
16
|
+
}));
|
|
17
|
+
},
|
|
18
|
+
onError: () => {
|
|
19
|
+
r.error(t._("Failed to create Counterpart."));
|
|
20
|
+
}
|
|
21
|
+
});
|
|
17
22
|
};
|
|
18
23
|
export {
|
|
19
|
-
|
|
24
|
+
c as useCreateCounterpart
|
|
20
25
|
};
|
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { toast as a } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
3
|
+
import { useLingui as n } from "@lingui/react";
|
|
4
|
+
const p = () => {
|
|
3
5
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
i18n: t
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: e,
|
|
9
|
+
queryClient: s
|
|
10
|
+
} = o();
|
|
11
|
+
return e.finops.postReceivablesIdIssue.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (i) => {
|
|
13
|
+
e.finops.getReceivablesId.setQueryData({
|
|
14
|
+
path: {
|
|
15
|
+
receivable_id: i.id
|
|
16
|
+
}
|
|
17
|
+
}, i, s), await Promise.all([e.finops.getReceivables.invalidateQueries(s), e.finops.getReceivablesIdPdfLink.resetQueries({
|
|
18
|
+
parameters: {
|
|
19
|
+
path: {
|
|
20
|
+
receivable_id: i.id
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, s)]), a.success(t._("Invoice has been issued"));
|
|
9
24
|
}
|
|
10
|
-
}, {
|
|
11
|
-
enabled: e && !!t
|
|
12
25
|
});
|
|
13
26
|
};
|
|
14
27
|
export {
|
|
15
|
-
|
|
28
|
+
p as useIssueReceivableById
|
|
16
29
|
};
|