@tesouro/embedded-components-react 0.2.109 → 0.2.110
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 +25 -25
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.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 +5 -5
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/data-access/dist/index6.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/data-access/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- 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 +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/data-access/dist/index8.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 +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +12 -1270
- 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 +57 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +8 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +25 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +12 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +80 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +37 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +4 -196
- 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 +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +74 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +6 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +22 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +27 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +114 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +64 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +33 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +11 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +31 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +10 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +12 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +22 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +8 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +119 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +12 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +47 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +12 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +45 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +58 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +24 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +59 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +94 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -205
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +42 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +57 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +197 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +80 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +41 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +116 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +68 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +188 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +29 -47
- 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 +106 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +134 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +18 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +22 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +183 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +13 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +19 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +50 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +4 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +5 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +88 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +6 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +44 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +203 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +423 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +22 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +146 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +343 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +20 -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 +11 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +19 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +35 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +17 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +243 -42
- 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 +11 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +23 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +40 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +56 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +51 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +98 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +47 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +146 -72
- 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 +103 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +149 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +8 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +19 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +72 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +44 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +18 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +42 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +61 -158
- 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 +96 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +109 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +87 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +65 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +61 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +23 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +20 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +42 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +74 -51
- 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 +75 -489
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +39 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +343 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +300 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +98 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +162 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +263 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +24 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +18 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +2 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +96 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +96 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +190 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +484 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +166 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +52 -136
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +27 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +59 -81
- 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 +15 -280
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +31 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +160 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +27 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +27 -223
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +78 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +170 -11
- 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 +133 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +162 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +18 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +63 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +65 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +58 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +6 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +9 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +56 -90
- 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 +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +59 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +26 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +30 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +113 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +21 -62
- 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 +41 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +52 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +62 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +42 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +137 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +112 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +80 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +285 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +83 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +224 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +37 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +8 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -68
- 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 +90 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +82 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +17 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +48 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +50 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +255 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +43 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +26 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +23 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +66 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +93 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -10
- 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 +11 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +13 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +36 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +68 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +42 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +93 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +33 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +29 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +49 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +65 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -4
- 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 +20 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +19 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +2 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +75 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +64 -101
- 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 +33 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +85 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +24 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +100 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +105 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +120 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +18 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +16 -36
- 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 +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +23 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +38 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +69 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +16 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +8 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +67 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +54 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +39 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +17 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +50 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +16 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +56 -52
- 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 +32 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +41 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +14 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +71 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +86 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +50 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +52 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +54 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +29 -33
- 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 +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +47 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +69 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +21 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +49 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +93 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +75 -51
- 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 +20 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +9 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +82 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +39 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +47 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +48 -35
- 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 +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/profile-widget/data-access/dist/index2.js +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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/external-bank-account/useAllExternalBankAccountsQuery.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +90 -90
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1531 -1512
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- 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/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/data-access/dist/index8.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/tags-widget/data-access/dist/index9.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/index12.js +4 -4
- 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 +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +4 -4
- 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,429 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import { useLingui as
|
|
8
|
-
import "
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
import { buildInvoiceDetailsView as at } from "./index238.js";
|
|
34
|
-
import { preventTooltipFocusOpen as be } from "./index239.js";
|
|
35
|
-
import { useDuplicateInvoice as ot } from "./index240.js";
|
|
36
|
-
import { useGetOverdueReminderById as st } from "./index241.js";
|
|
37
|
-
import { useGetPaymentRecords as lt } from "./index242.js";
|
|
38
|
-
import { useGetPaymentReminderById as ct } from "./index243.js";
|
|
39
|
-
import { useGetRecurrenceById as dt } from "./index244.js";
|
|
40
|
-
import { useGetReceivablePDFById as mt } from "./index245.js";
|
|
41
|
-
import { useIssueReceivableById as ut } from "./index161.js";
|
|
42
|
-
import { usePauseRecurrence as pt } from "./index246.js";
|
|
43
|
-
import { useResumeRecurrence as wt } from "./index247.js";
|
|
44
|
-
import { InvoiceDetailsAmountCell as ht } from "./index248.js";
|
|
45
|
-
import { InvoiceDetailsCloseButton as ye } from "./index249.js";
|
|
46
|
-
import { ActionsModal as vt } from "./index177.js";
|
|
47
|
-
import { EditInvoiceDetails as ft } from "./index250.js";
|
|
48
|
-
import { InvoiceDetailsInfoRow as ge } from "./index251.js";
|
|
49
|
-
import { InvoiceDetailsCustomerRow as bt } from "./index252.js";
|
|
50
|
-
import { CounterpartDetails as yt } from "./index2.js";
|
|
51
|
-
import { InvoiceCancelModal as gt } from "./index253.js";
|
|
52
|
-
import { InvoiceDeleteModal as xt } from "./index254.js";
|
|
53
|
-
import { InvoiceDetailsTabScheduledInvoices as Nt } from "./index255.js";
|
|
54
|
-
import { InvoiceRecurrenceStatusChip as _t } from "./index136.js";
|
|
55
|
-
import { InvoiceStatusChip as It } from "./index55.js";
|
|
56
|
-
import { MarkAsUncollectibleModal as Ct } from "./index256.js";
|
|
57
|
-
import { InvoiceDetailsOverflowMenu as Rt } from "./index257.js";
|
|
58
|
-
import { RecordManualPaymentModal as Lt } from "./index258.js";
|
|
59
|
-
import { RecurrenceCancelModal as Dt } from "./index259.js";
|
|
60
|
-
const Or = (s) => /* @__PURE__ */ e(Me, { children: /* @__PURE__ */ e(Tt, { ...s }) }), Tt = ({
|
|
61
|
-
invoiceId: s,
|
|
62
|
-
open: xe,
|
|
63
|
-
onCloseInvoiceDetails: p,
|
|
64
|
-
onDuplicate: Ne,
|
|
65
|
-
openInvoiceDetails: g
|
|
1
|
+
import { jsxs as w, jsx as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { RECURRENCE_STATUS_ICON as g } from "./index246.js";
|
|
3
|
+
import { getCommonRecurrenceStatusLabel as m } from "./index284.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { Badge as l } from "./index244.js";
|
|
6
|
+
import { cn as p } from "./index100.js";
|
|
7
|
+
import { useLingui as u } from "@lingui/react";
|
|
8
|
+
import { cva as b } from "class-variance-authority";
|
|
9
|
+
const r = b("", {
|
|
10
|
+
variants: {
|
|
11
|
+
variant: {
|
|
12
|
+
// Active reads periwinkle (indigo) to match the recurrence design,
|
|
13
|
+
// sitting in the same cool family as the violet "Recurring" badge.
|
|
14
|
+
active: "ttw:bg-indigo-100 ttw:text-indigo-700",
|
|
15
|
+
paused: "ttw:bg-yellow-100 ttw:text-yellow-700",
|
|
16
|
+
canceled: "ttw:bg-red-100 ttw:text-red-700",
|
|
17
|
+
completed: "ttw:bg-green-100 ttw:text-green-700"
|
|
18
|
+
},
|
|
19
|
+
dotVariant: {
|
|
20
|
+
active: "ttw:border-indigo-100 ttw:bg-indigo-700",
|
|
21
|
+
paused: "ttw:border-yellow-100 ttw:bg-yellow-700",
|
|
22
|
+
canceled: "ttw:border-red-100 ttw:bg-red-700",
|
|
23
|
+
completed: "ttw:border-green-100 ttw:bg-green-700"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}), R = ({
|
|
27
|
+
status: t,
|
|
28
|
+
className: o,
|
|
29
|
+
showBadgeBackground: e = !0,
|
|
30
|
+
showIcon: a = !1,
|
|
31
|
+
dotSize: i,
|
|
32
|
+
ref: s
|
|
66
33
|
}) => {
|
|
67
34
|
const {
|
|
68
|
-
i18n:
|
|
69
|
-
} =
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
isLoading: M
|
|
78
|
-
} = He(s, !0), {
|
|
79
|
-
data: Ie
|
|
80
|
-
} = mt(s, a?.type === "invoice"), B = Ie?.file_url, {
|
|
81
|
-
data: u,
|
|
82
|
-
isLoading: z
|
|
83
|
-
} = dt(a?.type === "invoice" ? a?.recurrence_id : void 0), {
|
|
84
|
-
data: F,
|
|
85
|
-
isLoading: E
|
|
86
|
-
} = lt(a?.id), {
|
|
87
|
-
data: j
|
|
88
|
-
} = ct(a?.type === "invoice" ? a?.payment_reminder_id : void 0), {
|
|
89
|
-
data: H
|
|
90
|
-
} = st(a?.type === "invoice" ? a?.overdue_reminder_id : void 0), [x, N] = m(!1), [w, _] = m(null), [U, G] = m(!1), [V, q] = m(!1), [Y, W] = m(!1), [J, K] = m(!1), [Q, X] = m(!1), I = Ue(), Z = I.has(L.InvoiceReadOrg), ee = I.has(L.InvoiceWriteOrg), te = I.has(L.CounterpartReadOrg), {
|
|
91
|
-
mutateAsync: h,
|
|
92
|
-
isPending: Ce
|
|
93
|
-
} = ut(), {
|
|
94
|
-
mutate: re,
|
|
95
|
-
isPending: Re
|
|
96
|
-
} = ot(Ne), {
|
|
97
|
-
mutate: ie,
|
|
98
|
-
isPending: Le
|
|
99
|
-
} = pt(u?.id ?? "", s), {
|
|
100
|
-
mutate: ne,
|
|
101
|
-
isPending: De
|
|
102
|
-
} = wt(u?.id ?? "", s), Te = xe && !x, Ae = Z && !M && !z && !!a && a.type === "invoice", i = Fe(() => {
|
|
103
|
-
if (!(!a || a.type !== "invoice"))
|
|
104
|
-
return at(a, u, F?.data ?? [], {
|
|
105
|
-
i18n: t,
|
|
106
|
-
formatCurrencyToDisplay: O,
|
|
107
|
-
locale: $
|
|
108
|
-
}, E, {
|
|
109
|
-
paymentReminder: j,
|
|
110
|
-
overdueReminder: H
|
|
111
|
-
});
|
|
112
|
-
}, [a, u, F, E, j, H, t, O, $]), C = (c) => {
|
|
113
|
-
switch (c) {
|
|
114
|
-
case "edit":
|
|
115
|
-
return t._("Edit");
|
|
116
|
-
case "issue":
|
|
117
|
-
return t._("Issue");
|
|
118
|
-
case "issueAndSend":
|
|
119
|
-
return t._("Issue and send");
|
|
120
|
-
case "recordPayment":
|
|
121
|
-
return t._("Record payment");
|
|
122
|
-
case "send":
|
|
123
|
-
return t._("Resend to customer");
|
|
124
|
-
case "clone":
|
|
125
|
-
return t._("Duplicate");
|
|
126
|
-
case "cancel":
|
|
127
|
-
return t._("Cancel invoice");
|
|
128
|
-
case "delete":
|
|
129
|
-
return t._("Delete");
|
|
130
|
-
case "markUncollectible":
|
|
131
|
-
return t._("Mark as uncollectible");
|
|
132
|
-
case "pauseRecurrence":
|
|
133
|
-
return t._("Pause series");
|
|
134
|
-
case "resumeRecurrence":
|
|
135
|
-
return t._("Resume series");
|
|
136
|
-
case "cancelRecurrence":
|
|
137
|
-
return t._("Cancel series");
|
|
138
|
-
}
|
|
139
|
-
}, l = f((c) => {
|
|
140
|
-
ee ? c() : k.error(t._("You don't have permission to update this document. Please, contact your system administrator for details."));
|
|
141
|
-
}, [ee, t]), ae = f(async () => {
|
|
142
|
-
try {
|
|
143
|
-
await h({
|
|
144
|
-
path: {
|
|
145
|
-
receivable_id: s
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
} catch {
|
|
149
|
-
k.error(t._("Something went wrong while issuing the invoice."));
|
|
150
|
-
}
|
|
151
|
-
}, [h, s, t]), oe = f(async () => {
|
|
152
|
-
if (a?.counterpart_id) {
|
|
153
|
-
try {
|
|
154
|
-
await h({
|
|
155
|
-
path: {
|
|
156
|
-
receivable_id: s
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
} catch {
|
|
160
|
-
k.error(t._("Something went wrong while issuing the invoice."));
|
|
161
|
-
return;
|
|
162
|
-
}
|
|
163
|
-
_({
|
|
164
|
-
receivableId: s,
|
|
165
|
-
counterpartId: a.counterpart_id,
|
|
166
|
-
// Just issued now — present it like the create flow ("Invoice issued").
|
|
167
|
-
isEditFlow: !1
|
|
168
|
-
});
|
|
169
|
-
}
|
|
170
|
-
}, [a?.counterpart_id, h, s, t]), se = f((c) => {
|
|
171
|
-
switch (c) {
|
|
172
|
-
case "edit":
|
|
173
|
-
return l(() => N(!0));
|
|
174
|
-
case "issue":
|
|
175
|
-
return l(ae);
|
|
176
|
-
case "issueAndSend":
|
|
177
|
-
return l(oe);
|
|
178
|
-
case "send":
|
|
179
|
-
return l(() => {
|
|
180
|
-
a?.counterpart_id && _({
|
|
181
|
-
receivableId: s,
|
|
182
|
-
counterpartId: a.counterpart_id,
|
|
183
|
-
// Already issued — a plain resend, not a fresh issue.
|
|
184
|
-
isEditFlow: !0
|
|
185
|
-
});
|
|
186
|
-
});
|
|
187
|
-
case "clone":
|
|
188
|
-
return l(() => re({
|
|
189
|
-
path: {
|
|
190
|
-
receivable_id: s
|
|
191
|
-
}
|
|
192
|
-
}));
|
|
193
|
-
case "cancel":
|
|
194
|
-
return l(() => G(!0));
|
|
195
|
-
case "delete":
|
|
196
|
-
return l(() => q(!0));
|
|
197
|
-
case "markUncollectible":
|
|
198
|
-
return l(() => W(!0));
|
|
199
|
-
case "pauseRecurrence":
|
|
200
|
-
return l(() => ie(void 0));
|
|
201
|
-
case "resumeRecurrence":
|
|
202
|
-
return l(() => ne(void 0));
|
|
203
|
-
case "cancelRecurrence":
|
|
204
|
-
return l(() => K(!0));
|
|
205
|
-
case "recordPayment":
|
|
206
|
-
return;
|
|
207
|
-
}
|
|
208
|
-
}, [l, ae, oe, a?.counterpart_id, re, s, ie, ne]), Pe = () => {
|
|
209
|
-
if (M || z)
|
|
210
|
-
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-center ttw:h-full", children: [
|
|
211
|
-
/* @__PURE__ */ e(b, { hidden: !0, children: t._("Loading invoice details") }),
|
|
212
|
-
/* @__PURE__ */ e(he, {})
|
|
213
|
-
] });
|
|
214
|
-
if (!Z)
|
|
215
|
-
return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
|
|
216
|
-
/* @__PURE__ */ e(b, { hidden: !0, children: t._("Access restricted") }),
|
|
217
|
-
/* @__PURE__ */ e(Ge, {})
|
|
218
|
-
] });
|
|
219
|
-
if (a && a.type !== "invoice")
|
|
220
|
-
return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
|
|
221
|
-
/* @__PURE__ */ e(b, { hidden: !0, children: t._("Receivable type not supported") }),
|
|
222
|
-
/* @__PURE__ */ e(ve, { title: t._("Receivable type not supported"), description: t._("Receivable type {type} is not supported. Only invoice is supported.", {
|
|
223
|
-
type: a.type
|
|
224
|
-
}) })
|
|
225
|
-
] });
|
|
226
|
-
if (!a || !i)
|
|
227
|
-
return /* @__PURE__ */ r("div", { className: "ttw:w-3/4 ttw:m-auto", children: [
|
|
228
|
-
/* @__PURE__ */ e(b, { hidden: !0, children: t._("Invoice not found") }),
|
|
229
|
-
/* @__PURE__ */ e(ve, { title: t._("Invoice not found"), description: t._("There is no invoice for the provided id: {invoiceId}", {
|
|
230
|
-
invoiceId: s
|
|
231
|
-
}) })
|
|
232
|
-
] });
|
|
233
|
-
const c = tt[i.status], Se = i.amountTone === "danger", d = i.recurringSeries, v = !!d, R = a.counterpart_name, ke = a.counterpart_id && te ? () => X(!0) : void 0;
|
|
234
|
-
return /* @__PURE__ */ r(de, { children: [
|
|
235
|
-
i.seriesLink ? /* @__PURE__ */ e("div", { className: "ttw:border-b ttw:border-border ttw:px-6 ttw:py-3", children: /* @__PURE__ */ r("button", { type: "button", onClick: () => i.seriesLink && g?.(i.seriesLink.invoiceId), className: "ttw:flex ttw:items-center ttw:gap-1 ttw:text-sm ttw:text-primary ttw:hover:underline", children: [
|
|
236
|
-
/* @__PURE__ */ e(Xe, { className: "ttw:size-4", "aria-hidden": "true" }),
|
|
237
|
-
t._("Back to {title} recurring series", {
|
|
238
|
-
title: i.seriesLink.title
|
|
239
|
-
})
|
|
240
|
-
] }) }) : null,
|
|
241
|
-
/* @__PURE__ */ r(Je, { className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-2 ttw:space-y-0 ttw:px-6 ttw:py-4", children: [
|
|
242
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
243
|
-
/* @__PURE__ */ e(Ke, { className: "ttw:text-xl ttw:font-semibold ttw:text-foreground", children: i.title }),
|
|
244
|
-
i.subtitle ? /* @__PURE__ */ e(o, { variant: "body2", color: "muted", children: i.subtitle }) : null
|
|
245
|
-
] }),
|
|
246
|
-
/* @__PURE__ */ e(Qe, { delayDuration: rt, children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-1.5", children: [
|
|
247
|
-
B ? /* @__PURE__ */ r(ue, { children: [
|
|
248
|
-
/* @__PURE__ */ e(pe, { asChild: !0, onFocus: be, children: /* @__PURE__ */ e(P, { asChild: !0, variant: "ghost", size: "icon", className: y, children: /* @__PURE__ */ e("a", { href: B, target: "_blank", rel: "noreferrer", "aria-label": t._("View PDF"), children: /* @__PURE__ */ e(Ze, { className: "ttw:size-4" }) }) }) }),
|
|
249
|
-
/* @__PURE__ */ e(we, { children: t._("View PDF") })
|
|
250
|
-
] }) : null,
|
|
251
|
-
i.overflowActions.length > 0 ? /* @__PURE__ */ e(Rt, { actions: i.overflowActions, triggerLabel: t._("More actions"), getActionLabel: C, onSelect: se, isActionDisabled: (n) => n === "clone" && Re || n === "pauseRecurrence" && Le || n === "resumeRecurrence" && De, className: y }) : null,
|
|
252
|
-
/* @__PURE__ */ r(ue, { children: [
|
|
253
|
-
/* @__PURE__ */ e(pe, { asChild: !0, onFocus: be, children: /* @__PURE__ */ e(ye, { label: t._("Close"), onClose: p, className: y }) }),
|
|
254
|
-
/* @__PURE__ */ e(we, { children: t._("Close") })
|
|
255
|
-
] })
|
|
256
|
-
] }) })
|
|
257
|
-
] }),
|
|
258
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
259
|
-
/* @__PURE__ */ e("div", { className: "ttw:px-6", children: v && d ? (
|
|
260
|
-
// Recurring series master: recurring amount + series status +
|
|
261
|
-
// start/end, in place of the per-invoice amount rows. The card
|
|
262
|
-
// takes a violet tint (vs the neutral invoice card) to signal a
|
|
263
|
-
// recurrence, matching the Recurring badge.
|
|
264
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-violet-50 ttw:p-4", children: [
|
|
265
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
266
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Recurring amount") }),
|
|
267
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-baseline ttw:gap-1.5", children: [
|
|
268
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "h3", className: it[i.amountTone], children: d.amountLabel }),
|
|
269
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", children: d.amountPeriodLabel })
|
|
270
|
-
] })
|
|
271
|
-
] }),
|
|
272
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
273
|
-
/* @__PURE__ */ r(me, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
|
|
274
|
-
/* @__PURE__ */ e(fe, { className: "ttw:size-3" }),
|
|
275
|
-
t._("Recurring")
|
|
276
|
-
] }),
|
|
277
|
-
/* @__PURE__ */ e(_t, { status: d.status, showIcon: !0 })
|
|
278
|
-
] }),
|
|
279
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-12", children: [
|
|
280
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
281
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Starts on") }),
|
|
282
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: d.startsOnLabel })
|
|
283
|
-
] }),
|
|
284
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
285
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Ends on") }),
|
|
286
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: d.endsOnLabel })
|
|
287
|
-
] })
|
|
288
|
-
] })
|
|
289
|
-
] })
|
|
290
|
-
) : /* @__PURE__ */ r("div", { className: S("ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:p-4", Se && "ttw:border ttw:border-red-200"), children: [
|
|
291
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-row ttw:flex-wrap ttw:gap-x-12 ttw:gap-y-2", children: i.amountRows.map((n) => /* @__PURE__ */ e(ht, { row: n, defaultTone: i.amountTone }, n.label)) }),
|
|
292
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
293
|
-
i.overdueLabel ? /* @__PURE__ */ r("span", { className: "ttw:inline-flex ttw:items-center ttw:gap-1 ttw:rounded-full ttw:bg-red-100 ttw:px-2.5 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:text-red-700", children: [
|
|
294
|
-
/* @__PURE__ */ e(et, { className: "ttw:size-3" }),
|
|
295
|
-
i.overdueLabel
|
|
296
|
-
] }) : /* @__PURE__ */ e(It, { status: i.status, variant: "outline", label: i.statusLabel, icon: c ? /* @__PURE__ */ e(c, { className: "ttw:size-3" }) : void 0 }),
|
|
297
|
-
i.recurring ? /* @__PURE__ */ r(me, { variant: "outline", className: "ttw:gap-1 ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700", children: [
|
|
298
|
-
/* @__PURE__ */ e(fe, { className: "ttw:size-3" }),
|
|
299
|
-
t._("Recurring")
|
|
300
|
-
] }) : null
|
|
301
|
-
] }),
|
|
302
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-12", children: [
|
|
303
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
304
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: t._("Invoice date") }),
|
|
305
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: i.invoiceDateLabel })
|
|
306
|
-
] }),
|
|
307
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-0.5", children: [
|
|
308
|
-
/* @__PURE__ */ e(o, { variant: "caption", color: "muted", children: i.dueDateCaption }),
|
|
309
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: i.dueDateLabel })
|
|
310
|
-
] })
|
|
311
|
-
] }),
|
|
312
|
-
i.primaryActions.length > 0 ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-t ttw:border-border ttw:pt-3", children: i.primaryActions.map((n, $e) => {
|
|
313
|
-
const le = nt[n], ce = $e === i.primaryActions.length - 1 ? "default" : "outline";
|
|
314
|
-
return n === "recordPayment" && a.type === "invoice" ? /* @__PURE__ */ e(Lt, { invoice: a, children: ({
|
|
315
|
-
openModal: Oe
|
|
316
|
-
}) => /* @__PURE__ */ r(P, { type: "button", size: "sm", variant: ce, onClick: () => l(Oe), children: [
|
|
317
|
-
/* @__PURE__ */ e(le, { className: "ttw:size-4" }),
|
|
318
|
-
C(n)
|
|
319
|
-
] }) }, n) : /* @__PURE__ */ r(P, { type: "button", size: "sm", variant: ce, disabled: n === "issue" && Ce, onClick: () => se(n), children: [
|
|
320
|
-
/* @__PURE__ */ e(le, { className: "ttw:size-4" }),
|
|
321
|
-
C(n)
|
|
322
|
-
] }, n);
|
|
323
|
-
}) }) : null
|
|
324
|
-
] }) }),
|
|
325
|
-
/* @__PURE__ */ r("div", { className: "ttw:px-6", children: [
|
|
326
|
-
i.paymentHistory ? /* @__PURE__ */ r("section", { "aria-label": t._("Payment history"), className: "ttw:border-b ttw:border-border ttw:py-4", children: [
|
|
327
|
-
/* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Payment history") }),
|
|
328
|
-
i.paymentHistory.loading ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:py-2", children: /* @__PURE__ */ e(he, { className: "ttw:h-5 ttw:w-5 ttw:border-2" }) }) : i.paymentHistory.rows.length === 0 ? /* @__PURE__ */ e(o, { variant: "body2", className: i.paymentHistory.emptyTone === "danger" ? "ttw:text-red-600" : "ttw:text-muted-foreground", children: t._("You've received no payments yet.") }) : /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
329
|
-
i.paymentHistory.rows.map((n) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:justify-between ttw:border-b ttw:border-border ttw:py-2", children: [
|
|
330
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.dateLabel }),
|
|
331
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.amountLabel })
|
|
332
|
-
] }, n.id)),
|
|
333
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:justify-between ttw:py-2 ttw:font-medium", children: [
|
|
334
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: t._("Total received") }),
|
|
335
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: i.paymentHistory.totalLabel })
|
|
336
|
-
] })
|
|
337
|
-
] })
|
|
338
|
-
] }) : null,
|
|
339
|
-
R || i.customerContact.length > 0 ? /* @__PURE__ */ r("section", { "aria-label": t._("Customer details"), className: "ttw:border-b ttw:border-border ttw:py-4", children: [
|
|
340
|
-
/* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: t._("Customer details") }),
|
|
341
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
342
|
-
R ? /* @__PURE__ */ e(bt, { label: t._("Name"), name: R, onOpenCounterpart: ke }) : null,
|
|
343
|
-
i.customerContact.map((n) => /* @__PURE__ */ e(ge, { ...n }, n.label))
|
|
344
|
-
] })
|
|
345
|
-
] }) : null,
|
|
346
|
-
/* @__PURE__ */ r(Ve, { type: "multiple", className: "ttw:w-full", children: [
|
|
347
|
-
/* @__PURE__ */ r(D, { value: "billing", children: [
|
|
348
|
-
/* @__PURE__ */ e(T, { children: t._("Billing details") }),
|
|
349
|
-
/* @__PURE__ */ e(A, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
350
|
-
i.billingItems.map((n) => /* @__PURE__ */ e(ge, { ...n }, n.label)),
|
|
351
|
-
i.seriesLink ? /* @__PURE__ */ r("div", { className: "ttw:flex ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0", children: [
|
|
352
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", className: "ttw:w-40 ttw:shrink-0", children: t._("Recurring series") }),
|
|
353
|
-
/* @__PURE__ */ e("button", { type: "button", onClick: () => i.seriesLink && g?.(i.seriesLink.invoiceId), className: "ttw:text-left ttw:text-primary ttw:hover:underline", children: i.seriesLink.title })
|
|
354
|
-
] }) : null
|
|
355
|
-
] }) })
|
|
356
|
-
] }),
|
|
357
|
-
v ? null : /* @__PURE__ */ r(D, { value: "line-items", children: [
|
|
358
|
-
/* @__PURE__ */ e(T, { children: t._("Line items") }),
|
|
359
|
-
/* @__PURE__ */ e(A, { children: /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
360
|
-
i.lineItems.length === 0 ? /* @__PURE__ */ e(o, { variant: "body2", color: "muted", className: "ttw:py-3", children: t._("No line items.") }) : i.lineItems.map((n) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:items-start ttw:justify-between ttw:border-b ttw:border-border ttw:py-3", children: [
|
|
361
|
-
/* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col", children: [
|
|
362
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", className: "ttw:font-medium", children: n.name }),
|
|
363
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", color: "muted", children: t._("{quantity} x {price} ea", {
|
|
364
|
-
quantity: n.quantityLabel,
|
|
365
|
-
price: n.unitPriceLabel
|
|
366
|
-
}) })
|
|
367
|
-
] }),
|
|
368
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.totalLabel })
|
|
369
|
-
] }, n.id)),
|
|
370
|
-
i.lineItemTotals.length > 0 ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-1 ttw:py-3", children: i.lineItemTotals.map((n) => /* @__PURE__ */ r("div", { className: S("ttw:flex ttw:justify-between", n.emphasis && "ttw:font-medium"), children: [
|
|
371
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.label }),
|
|
372
|
-
/* @__PURE__ */ e(o, { component: "span", variant: "body2", children: n.value })
|
|
373
|
-
] }, n.label)) }) : null
|
|
374
|
-
] }) })
|
|
375
|
-
] }),
|
|
376
|
-
!v && i.notes ? /* @__PURE__ */ r(D, { value: "notes", children: [
|
|
377
|
-
/* @__PURE__ */ e(T, { children: t._("Notes") }),
|
|
378
|
-
/* @__PURE__ */ e(A, { children: /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-3", children: [{
|
|
379
|
-
label: t._("Opening note to customer"),
|
|
380
|
-
text: i.notes.opening
|
|
381
|
-
}, {
|
|
382
|
-
label: t._("Closing note to customer"),
|
|
383
|
-
text: i.notes.closing
|
|
384
|
-
}].filter((n) => n.text).map((n) => /* @__PURE__ */ r("div", { children: [
|
|
385
|
-
/* @__PURE__ */ e(o, { variant: "body2", className: "ttw:mb-1 ttw:font-medium", children: n.label }),
|
|
386
|
-
/* @__PURE__ */ e(o, { variant: "body2", color: "muted", children: n.text })
|
|
387
|
-
] }, n.label)) }) })
|
|
388
|
-
] }) : null
|
|
389
|
-
] }),
|
|
390
|
-
v && d && u ? /* @__PURE__ */ r("section", { "aria-label": d.scheduleTitle, className: "ttw:border-t ttw:border-border ttw:py-4", children: [
|
|
391
|
-
/* @__PURE__ */ e(o, { component: "h3", variant: "body2", className: "ttw:mb-3 ttw:font-medium", children: d.scheduleTitle }),
|
|
392
|
-
/* @__PURE__ */ e(Nt, { invoice: a, recurrence: u, openInvoiceDetails: g })
|
|
393
|
-
] }) : null
|
|
394
|
-
] })
|
|
395
|
-
] })
|
|
396
|
-
] });
|
|
397
|
-
};
|
|
398
|
-
return /* @__PURE__ */ r(de, { children: [
|
|
399
|
-
x && a && /* @__PURE__ */ e(ft, { isOpen: x, invoice: a, onUpdated: (c) => {
|
|
400
|
-
N(!1), _e?.onUpdate?.(c.id, c);
|
|
401
|
-
}, onCancel: () => N(!1) }),
|
|
402
|
-
/* @__PURE__ */ e(qe, { open: Te, modal: !1, onOpenChange: p, children: /* @__PURE__ */ r(Ye, { showCloseButton: !1, className: "ttw:overflow-y-auto ttw:p-0", children: [
|
|
403
|
-
/* @__PURE__ */ e(We, { hidden: !0, children: t._("Invoice details") }),
|
|
404
|
-
Ae ? null : /* @__PURE__ */ e(ye, { label: t._("Close"), onClose: p, className: S(y, "ttw:absolute ttw:right-4 ttw:top-4 ttw:z-10") }),
|
|
405
|
-
Pe(),
|
|
406
|
-
U && /* @__PURE__ */ e(gt, { invoiceId: a?.id ?? "", open: U, onClose: () => G(!1) }),
|
|
407
|
-
V && /* @__PURE__ */ e(xt, { open: V, onClose: () => q(!1), invoiceId: a?.id ?? "", documentId: a?.type === "invoice" ? a?.document_id : void 0, onDelete: p }),
|
|
408
|
-
Y && /* @__PURE__ */ e(Ct, { invoiceId: a?.id ?? "", open: Y, onClose: () => W(!1) }),
|
|
409
|
-
J && a?.type === "invoice" && /* @__PURE__ */ e(Dt, { invoice: a, open: J, onClose: () => K(!1) }),
|
|
410
|
-
Q && a?.counterpart_id && te && /* @__PURE__ */ e(
|
|
411
|
-
yt,
|
|
412
|
-
{
|
|
413
|
-
counterpartId: a.counterpart_id,
|
|
414
|
-
open: Q,
|
|
415
|
-
onClose: () => X(!1),
|
|
416
|
-
showActionsMenu: !1,
|
|
417
|
-
customerType: "customer"
|
|
418
|
-
}
|
|
419
|
-
),
|
|
420
|
-
w && /* @__PURE__ */ e(vt, { open: !0, isEditFlow: w.isEditFlow, action: "issue", issue: {
|
|
421
|
-
receivableId: w.receivableId,
|
|
422
|
-
counterpartId: w.counterpartId
|
|
423
|
-
}, inlineLineItems: [], onClose: () => _(null) })
|
|
424
|
-
] }) })
|
|
35
|
+
i18n: n
|
|
36
|
+
} = u(), d = g[t];
|
|
37
|
+
return /* @__PURE__ */ w(l, { ref: s, className: p("ttw:inline-flex ttw:items-center ttw:gap-1", r({
|
|
38
|
+
variant: t
|
|
39
|
+
}), o), dotClassName: r({
|
|
40
|
+
dotVariant: t
|
|
41
|
+
}), showBadgeBackground: e, showDotBorder: !e, dotSize: i, showDot: !1, children: [
|
|
42
|
+
a && /* @__PURE__ */ c(d, { className: "ttw:size-3", "aria-hidden": !0 }),
|
|
43
|
+
m(n, t)
|
|
425
44
|
] });
|
|
426
45
|
};
|
|
427
46
|
export {
|
|
428
|
-
|
|
47
|
+
R as InvoiceRecurrenceStatusChip
|
|
429
48
|
};
|
|
@@ -1,26 +1,78 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
1
|
+
import { jsx as n, jsxs as o, Fragment as w } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as h } from "@lingui/react";
|
|
3
|
+
import { ListFilter as p } from "lucide-react";
|
|
4
|
+
import { useFilterPanel as g, FilterBar as f, FilterTag as C, Popover as v, PopoverTrigger as x, FilterMenuButton as P, PopoverContent as _, DateRangePicker as b, MultiSelectFilter as F, AmountFilter as M, Input as N, SearchInput as S } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
5
|
+
const I = {
|
|
6
|
+
due_date: "Due date",
|
|
7
|
+
created_at: "Created on",
|
|
8
|
+
issue_date: "Issue date"
|
|
9
|
+
}, s = [{
|
|
10
|
+
id: "date_due_date",
|
|
11
|
+
label: "Due date",
|
|
12
|
+
field: "due_date"
|
|
13
|
+
}, {
|
|
14
|
+
id: "date_created_at",
|
|
15
|
+
label: "Created on",
|
|
16
|
+
field: "created_at"
|
|
17
|
+
}, {
|
|
18
|
+
id: "date_issue_date",
|
|
19
|
+
label: "Issue date",
|
|
20
|
+
field: "issue_date"
|
|
21
|
+
}, {
|
|
22
|
+
id: "status",
|
|
23
|
+
label: "Status",
|
|
24
|
+
field: void 0
|
|
25
|
+
}, {
|
|
26
|
+
id: "amount",
|
|
27
|
+
label: "Amount",
|
|
28
|
+
field: void 0
|
|
29
|
+
}, {
|
|
30
|
+
id: "customer",
|
|
31
|
+
label: "Customer",
|
|
32
|
+
field: void 0
|
|
33
|
+
}], D = {
|
|
34
|
+
date_due_date: "ttw:w-auto",
|
|
35
|
+
date_created_at: "ttw:w-auto",
|
|
36
|
+
date_issue_date: "ttw:w-auto",
|
|
37
|
+
status: "ttw:w-56",
|
|
38
|
+
amount: "ttw:w-64",
|
|
39
|
+
customer: "ttw:w-64"
|
|
23
40
|
};
|
|
41
|
+
function O(t) {
|
|
42
|
+
const {
|
|
43
|
+
i18n: i
|
|
44
|
+
} = h(), a = g(), r = a.isMenuOpen || !!a.activePanelId, d = a.activePanelId && D[a.activePanelId] || "ttw:w-52", u = t.allPresets.map((e) => ({
|
|
45
|
+
value: e.value,
|
|
46
|
+
label: e.label,
|
|
47
|
+
group: e.group
|
|
48
|
+
})), c = (e) => {
|
|
49
|
+
e || (a.closeMenu(), a.closePanel());
|
|
50
|
+
}, m = (e) => {
|
|
51
|
+
a.openPanel(e);
|
|
52
|
+
};
|
|
53
|
+
return /* @__PURE__ */ n(f, { className: "ttw:pl-4", searchSlot: /* @__PURE__ */ n(S, { value: t.searchValue, onChange: (e) => t.onSearchChange(e.target.value), placeholder: "Search by number or customer...", className: "ttw:min-w-64" }), menuSlot: /* @__PURE__ */ o(v, { open: r, onOpenChange: c, children: [
|
|
54
|
+
/* @__PURE__ */ n(x, { asChild: !0, children: /* @__PURE__ */ n(P, { activeCount: t.activeFilterCount, onClick: a.toggleMenu }) }),
|
|
55
|
+
/* @__PURE__ */ o(_, { align: "start", className: `ttw:p-0 ${d}`, children: [
|
|
56
|
+
a.isMenuOpen && /* @__PURE__ */ n("div", { className: "ttw:p-1", children: s.map((e) => /* @__PURE__ */ o("button", { type: "button", className: "ttw:flex ttw:items-center ttw:gap-2 ttw:w-full ttw:px-2 ttw:py-1.5 ttw:rounded-md ttw:text-xs ttw:font-medium ttw:hover:bg-accent ttw:transition-colors ttw:cursor-pointer", onClick: () => m(e.id), children: [
|
|
57
|
+
/* @__PURE__ */ n(p, { className: "ttw:size-4 ttw:text-muted-foreground ttw:shrink-0" }),
|
|
58
|
+
e.label
|
|
59
|
+
] }, e.id)) }),
|
|
60
|
+
s.filter((e) => e.field !== void 0).map((e) => a.activePanelId === e.id && e.field && /* @__PURE__ */ n(b, { from: t.activeDateFields[e.field]?.from, to: t.activeDateFields[e.field]?.to, onRangeChange: (l) => t.onDateFieldRangeChange(e.field, l), selectedPreset: t.activeDateFields[e.field]?.preset, onPresetChange: (l) => t.onDateFieldPresetChange(e.field, l), presets: u, fieldLabel: I[e.field] }, e.id)),
|
|
61
|
+
a.activePanelId === "status" && /* @__PURE__ */ n(F, { options: t.statusOptions, selectedValues: t.selectedStatus, onSelectionChange: t.onStatusChange }),
|
|
62
|
+
a.activePanelId === "amount" && /* @__PURE__ */ n(M, { mode: t.amountMode, onModeChange: t.onAmountModeChange, min: t.amountMin, max: t.amountMax, onMinChange: t.onAmountMinChange, onMaxChange: t.onAmountMaxChange, showFlowDirection: !1, minLabel: "No less than", maxLabel: "No more than" }),
|
|
63
|
+
a.activePanelId === "customer" && /* @__PURE__ */ o("div", { className: "ttw:p-3 ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
64
|
+
/* @__PURE__ */ n("p", { className: "ttw:text-xs ttw:font-medium ttw:text-muted-foreground", children: "Customer name" }),
|
|
65
|
+
/* @__PURE__ */ n(N, { type: "text", value: t.customerName, onChange: (e) => t.onCustomerNameChange(e.target.value), placeholder: "Search customers...", className: "ttw:h-8 ttw:text-xs" }),
|
|
66
|
+
/* @__PURE__ */ n("p", { className: "ttw:text-xs ttw:text-muted-foreground", children: i._("Matches names containing your search") })
|
|
67
|
+
] })
|
|
68
|
+
] })
|
|
69
|
+
] }), activeChipsSlot: /* @__PURE__ */ o(w, { children: [
|
|
70
|
+
t.activeChips.map((e) => /* @__PURE__ */ n(C, { label: e.label, count: e.count, variant: "default", onLabelClick: e.key === "date" ? () => {
|
|
71
|
+
a.openPanel("date");
|
|
72
|
+
} : void 0, onDismiss: () => t.onDismissChip(e.key) }, e.key)),
|
|
73
|
+
t.activeFilterCount > 0 && /* @__PURE__ */ n("button", { type: "button", className: "ttw:text-xs ttw:text-muted-foreground ttw:hover:text-foreground ttw:transition-colors ttw:cursor-pointer ttw:whitespace-nowrap", onClick: t.onClearAll, children: "Clear all" })
|
|
74
|
+
] }) });
|
|
75
|
+
}
|
|
24
76
|
export {
|
|
25
|
-
|
|
77
|
+
O as InvoicesFilterBar
|
|
26
78
|
};
|