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