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