@tesouro/embedded-components-react 0.2.204 → 0.2.206
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 +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- 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/feature/dist/index2.js +20 -20
- 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/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -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 +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +22 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +114 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +70 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +96 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +101 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +14 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +13 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +99 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +45 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +75 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +58 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -228
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +23 -467
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +74 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +27 -537
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +40 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +6 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +226 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +459 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +106 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +536 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +5 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +488 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +164 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +42 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +59 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +28 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +118 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +44 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +53 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +146 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +86 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +25 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +183 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +26 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +37 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +28 -359
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +63 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +96 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +86 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +62 -13
- 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 +73 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +27 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +72 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +13 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +73 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +20 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +15 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +164 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +132 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +66 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +156 -41
- 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 +10 -145
- 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 +63 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +60 -483
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +55 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +6 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +59 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +23 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +62 -22
- 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 +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +64 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +60 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +14 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +36 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +80 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +33 -28
- 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 +359 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +117 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +6 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +17 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +9 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +11 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +11 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +20 -19
- 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 +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +54 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +26 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +35 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +12 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +29 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +17 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +107 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +10 -8
- 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 +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +38 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +56 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +47 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +30 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +95 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +43 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +146 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +109 -149
- 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 +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +119 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +44 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +114 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +109 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +49 -18
- 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 +200 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +69 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +36 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +345 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +300 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +95 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +159 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +262 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -159
- 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 +30 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +4 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +38 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +27 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +30 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +29 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +32 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +16 -200
- 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 +40 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +96 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +96 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +211 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +26 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +126 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +157 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +56 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +123 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +22 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +73 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +3 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +13 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +49 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +32 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +44 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +61 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +17 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +36 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +13 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +63 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +118 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +65 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +44 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +91 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +33 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +29 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +83 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +17 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +84 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +266 -18
- 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 +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +60 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +22 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +139 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +284 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +43 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +15 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +31 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +40 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +69 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +94 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +9 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +5 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +27 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +31 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +4 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +127 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +51 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +46 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +82 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +51 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +29 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +69 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +8 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +80 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +38 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +18 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +12 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +33 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +32 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +85 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +23 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +100 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +112 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +70 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +66 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +41 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +37 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +52 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +22 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +51 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +59 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +29 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +26 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +92 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +9 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +39 -7
- 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 +6 -6
- 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/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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +33 -30
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
- 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 +23 -23
- package/package.json +1 -1
|
@@ -1,38 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
showClearButton: h = !0,
|
|
13
|
-
className: p,
|
|
14
|
-
container: x
|
|
1
|
+
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFileById as s } from "./index77.js";
|
|
3
|
+
import { Avatar as e } from "@mui/material";
|
|
4
|
+
const n = ({
|
|
5
|
+
alt: t,
|
|
6
|
+
fileId: a,
|
|
7
|
+
...r
|
|
8
|
+
}) => a ? /* @__PURE__ */ l(i, { fileId: a, alt: t, ...r }) : /* @__PURE__ */ l(e, { alt: t, ...r }), i = ({
|
|
9
|
+
alt: t,
|
|
10
|
+
fileId: a,
|
|
11
|
+
...r
|
|
15
12
|
}) => {
|
|
16
13
|
const {
|
|
17
|
-
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
return a ? e.filter((n) => a.includes(n.code)) : e;
|
|
21
|
-
}, [a, t]), s = d(() => new Map(r.map((e) => [e.code, e])), [r]), m = b || r.length === 1, f = (e) => s.get(e)?.label ?? e;
|
|
22
|
-
return /* @__PURE__ */ l(v, { value: c ?? null, onValueChange: (e) => u?.(e ?? void 0), items: r.map((e) => e.code), itemToStringLabel: f, filter: (e, n, w) => {
|
|
23
|
-
const i = n.toLowerCase().trim();
|
|
24
|
-
return i ? e.toLowerCase().includes(i) || (w?.(e) ?? "").toLowerCase().includes(i) : !0;
|
|
25
|
-
}, disabled: m, children: [
|
|
26
|
-
/* @__PURE__ */ o(L, { showClear: h, disabled: m, className: p, placeholder: t._("Country"), "aria-invalid": C || void 0 }),
|
|
27
|
-
/* @__PURE__ */ o(y, { container: x, children: /* @__PURE__ */ l(N, { children: [
|
|
28
|
-
/* @__PURE__ */ o(M, { children: t._("No countries found") }),
|
|
29
|
-
/* @__PURE__ */ o(_, { children: (e) => /* @__PURE__ */ l(j, { value: e, children: [
|
|
30
|
-
/* @__PURE__ */ o("span", { children: s.get(e)?.label ?? e }),
|
|
31
|
-
/* @__PURE__ */ o("span", { className: "ttw:ml-auto ttw:text-xs ttw:text-muted-foreground", children: e })
|
|
32
|
-
] }, e) })
|
|
33
|
-
] }) })
|
|
34
|
-
] });
|
|
14
|
+
data: o
|
|
15
|
+
} = s(a);
|
|
16
|
+
return /* @__PURE__ */ l(e, { alt: t, src: o?.url, ...r });
|
|
35
17
|
};
|
|
36
18
|
export {
|
|
37
|
-
|
|
19
|
+
n as UserAvatar
|
|
38
20
|
};
|
|
@@ -1,28 +1,98 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { toast as
|
|
4
|
-
|
|
1
|
+
import { jsx as n, jsxs as I } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as l, useEffect as w } from "react";
|
|
3
|
+
import { toast as c } from "react-hot-toast";
|
|
4
|
+
import { useRootElements as S } from "./index92.js";
|
|
5
|
+
import "./index57.js";
|
|
6
|
+
import "@tanstack/react-query";
|
|
7
|
+
import "date-fns";
|
|
8
|
+
import { useLingui as R } from "@lingui/react";
|
|
9
|
+
import { usePaymentIntentById as $ } from "./index80.js";
|
|
10
|
+
import { useCreatePayablePaymentLink as v, usePaymentLinkById as B } from "./index453.js";
|
|
11
|
+
import { Modal as j, Box as x, CircularProgress as D } from "@mui/material";
|
|
12
|
+
const G = (r, d, f, i) => {
|
|
5
13
|
const {
|
|
6
|
-
i18n:
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
i18n: t
|
|
15
|
+
} = R(), {
|
|
16
|
+
root: k
|
|
17
|
+
} = S(), b = v(), [L, m] = l(!1), [u, o] = l(null), [g, p] = l(null), [_, P] = l(!1), {
|
|
18
|
+
data: s,
|
|
19
|
+
isSuccess: h
|
|
20
|
+
} = $(i ?? "");
|
|
21
|
+
w(() => {
|
|
22
|
+
h && s?.payment_link_id && i && p(s.payment_link_id);
|
|
23
|
+
}, [h, s, i]);
|
|
24
|
+
const {
|
|
25
|
+
data: e,
|
|
26
|
+
refetch: C,
|
|
27
|
+
isSuccess: y,
|
|
28
|
+
isLoading: E
|
|
29
|
+
} = B(g ?? "");
|
|
30
|
+
return w(() => {
|
|
31
|
+
y && e?.payment_intent?.status === "processing" && f?.(r ?? "", e?.payment_intent?.status ?? "");
|
|
32
|
+
}, [e, y, f, r]), {
|
|
33
|
+
handlePay: async () => {
|
|
34
|
+
if (!d) {
|
|
35
|
+
c.error(t._("Vendor not found. Please create a vendor first."));
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (!_)
|
|
39
|
+
try {
|
|
40
|
+
if (E) {
|
|
41
|
+
c.error(t._("Payment link is still loading. Please wait a moment and try again."));
|
|
42
|
+
return;
|
|
17
43
|
}
|
|
44
|
+
if (!g || y && e?.payment_intent?.status !== "created") {
|
|
45
|
+
if (P(!0), !r) throw new Error("Payable ID is undefined");
|
|
46
|
+
const a = await b(
|
|
47
|
+
r,
|
|
48
|
+
d,
|
|
49
|
+
["sepa_credit"],
|
|
50
|
+
60
|
|
51
|
+
// 60 days from now
|
|
52
|
+
);
|
|
53
|
+
if (a.payment_page_url)
|
|
54
|
+
p(a.id), o(a.payment_page_url);
|
|
55
|
+
else
|
|
56
|
+
throw p(null), o(null), new Error("No payment page URL in response");
|
|
57
|
+
} else if (e?.payment_page_url)
|
|
58
|
+
o(e.payment_page_url);
|
|
59
|
+
else
|
|
60
|
+
throw new Error("No payment page URL in existing payment link");
|
|
61
|
+
m(!0);
|
|
62
|
+
} catch (a) {
|
|
63
|
+
console.error("Payment link creation/retrieval error:", a), c.error(i && s?.status === "created" ? t._("Failed to retrieve payment link. Please try again.") : t._("Failed to create payment link. Please try again.")), m(!1);
|
|
64
|
+
} finally {
|
|
65
|
+
P(!1);
|
|
18
66
|
}
|
|
19
|
-
}, t);
|
|
20
67
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
68
|
+
isCreatingPaymentLink: _,
|
|
69
|
+
modalComponent: /* @__PURE__ */ n(j, { open: L, onClose: async () => {
|
|
70
|
+
await C(), m(!1), o(null);
|
|
71
|
+
}, container: k, children: /* @__PURE__ */ n(x, { sx: {
|
|
72
|
+
position: "absolute",
|
|
73
|
+
top: "50%",
|
|
74
|
+
left: "50%",
|
|
75
|
+
transform: "translate(-50%, -50%)",
|
|
76
|
+
width: "80%",
|
|
77
|
+
maxWidth: 600,
|
|
78
|
+
bgcolor: "background.paper",
|
|
79
|
+
boxShadow: 24,
|
|
80
|
+
p: 4,
|
|
81
|
+
borderRadius: 2
|
|
82
|
+
}, children: u ? /* @__PURE__ */ n("iframe", { src: u, title: "Payment Page", width: "100%", height: "400px", style: {
|
|
83
|
+
border: "none"
|
|
84
|
+
} }) : /* @__PURE__ */ I(x, { sx: {
|
|
85
|
+
display: "flex",
|
|
86
|
+
flexDirection: "column",
|
|
87
|
+
alignItems: "center",
|
|
88
|
+
gap: 2,
|
|
89
|
+
py: 4
|
|
90
|
+
}, children: [
|
|
91
|
+
/* @__PURE__ */ n(D, {}),
|
|
92
|
+
/* @__PURE__ */ n("p", { children: t._("Loading payment page...") })
|
|
93
|
+
] }) }) })
|
|
94
|
+
};
|
|
25
95
|
};
|
|
26
96
|
export {
|
|
27
|
-
|
|
97
|
+
G as usePaymentHandler
|
|
28
98
|
};
|
|
@@ -1,24 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as l } from "./index119.js";
|
|
3
|
+
import { useLingui as m } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const v = (i, n, s, p) => {
|
|
5
6
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: t
|
|
9
|
+
} = u(), {
|
|
10
|
+
i18n: o
|
|
11
|
+
} = m();
|
|
12
|
+
return e.finops.postApprovalRequestsIdReject.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
approval_request_id: i
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: () => {
|
|
18
|
+
if (e.finops.getApprovalRequests.invalidateQueries(t), a.success(o._("Payable “{document_id}” has been rejected", {
|
|
19
|
+
document_id: p
|
|
20
|
+
})), !!s)
|
|
21
|
+
return n?.(s ?? ""), new Promise((r) => {
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
24
|
+
parameters: {
|
|
25
|
+
path: {
|
|
26
|
+
payable_id: s ?? ""
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, t), e.finops.getPayables.invalidateQueries(t)]).then(() => r());
|
|
30
|
+
}, 500);
|
|
31
|
+
});
|
|
16
32
|
},
|
|
17
|
-
onError: (
|
|
18
|
-
|
|
33
|
+
onError: (r) => {
|
|
34
|
+
a.error(l(o, r));
|
|
19
35
|
}
|
|
20
36
|
});
|
|
21
37
|
};
|
|
22
38
|
export {
|
|
23
|
-
|
|
39
|
+
v as useRejectApprovalRequest
|
|
24
40
|
};
|
|
@@ -1,69 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
2
|
+
import { getAPIErrorMessage as m } from "./index119.js";
|
|
3
|
+
import { useLingui as d } from "@lingui/react";
|
|
4
|
+
import { toast as a } from "react-hot-toast";
|
|
5
|
+
const g = (i, p, t, n) => {
|
|
4
6
|
const {
|
|
5
|
-
api:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} =
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: o
|
|
9
|
+
} = u(), {
|
|
10
|
+
i18n: r
|
|
11
|
+
} = d();
|
|
12
|
+
return e.finops.postApprovalRequestsIdApprove.useMutation({
|
|
10
13
|
path: {
|
|
11
|
-
|
|
14
|
+
approval_request_id: i
|
|
12
15
|
}
|
|
13
16
|
}, {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
onSuccess: () => (e.finops.getApprovalRequests.invalidateQueries(o), a.success(r._('Payable "{document_id}" has been approved', {
|
|
18
|
+
document_id: n ?? "document id is unknown"
|
|
19
|
+
})), p?.(t ?? ""), new Promise((s) => {
|
|
20
|
+
setTimeout(() => {
|
|
21
|
+
Promise.all([e.finops.getPayablesId.invalidateQueries({
|
|
22
|
+
parameters: {
|
|
23
|
+
path: {
|
|
24
|
+
payable_id: t ?? ""
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, o), e.finops.getPayables.invalidateQueries(o)]).then(() => s());
|
|
28
|
+
}, 500);
|
|
29
|
+
})),
|
|
30
|
+
onError: (s) => {
|
|
31
|
+
a.error(m(r, s));
|
|
22
32
|
}
|
|
23
|
-
}
|
|
24
|
-
enabled: c,
|
|
25
|
-
retry: !1
|
|
26
|
-
}), {
|
|
27
|
-
data: a,
|
|
28
|
-
isLoading: _
|
|
29
|
-
} = r.embeddedBanking.getExternalBankAccount.useQuery({
|
|
30
|
-
path: {
|
|
31
|
-
id: t ?? ""
|
|
32
|
-
}
|
|
33
|
-
}, {
|
|
34
|
-
enabled: d,
|
|
35
|
-
retry: !1
|
|
36
|
-
}), s = b || m || _;
|
|
37
|
-
return {
|
|
38
|
-
data: g(() => {
|
|
39
|
-
if (n)
|
|
40
|
-
return {
|
|
41
|
-
id: n.id,
|
|
42
|
-
bank_name: n.bank_name,
|
|
43
|
-
account_number: n.account_number,
|
|
44
|
-
routing_number: n.routing_number,
|
|
45
|
-
bank_account_type: "BANK_DETAILS"
|
|
46
|
-
};
|
|
47
|
-
if (e)
|
|
48
|
-
return {
|
|
49
|
-
id: e.id,
|
|
50
|
-
bank_name: null,
|
|
51
|
-
account_number: e.accountNumber,
|
|
52
|
-
routing_number: e.routingNumber,
|
|
53
|
-
bank_account_type: "INTERNAL"
|
|
54
|
-
};
|
|
55
|
-
if (a)
|
|
56
|
-
return {
|
|
57
|
-
id: a.id,
|
|
58
|
-
bank_name: null,
|
|
59
|
-
account_number: a.accountNumber,
|
|
60
|
-
routing_number: a.routingNumber,
|
|
61
|
-
bank_account_type: "EXTERNAL"
|
|
62
|
-
};
|
|
63
|
-
}, [n, e, a]),
|
|
64
|
-
isLoading: s
|
|
65
|
-
};
|
|
33
|
+
});
|
|
66
34
|
};
|
|
67
35
|
export {
|
|
68
|
-
|
|
36
|
+
g as useApproveApprovalRequest
|
|
69
37
|
};
|
|
@@ -1,21 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsx as t, jsxs as u } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as S, useMemo as p } from "react";
|
|
3
|
+
import { useFormContext as $, Controller as E } from "react-hook-form";
|
|
4
|
+
import { getCounterpartEmail as V, getCounterpartName as I } from "./index7.js";
|
|
5
|
+
import { useRootElements as j } from "./index92.js";
|
|
6
|
+
import "./index57.js";
|
|
7
|
+
import { useCounterpartList as k } from "./index71.js";
|
|
8
|
+
import "react-hot-toast";
|
|
9
|
+
import { useLingui as z } from "@lingui/react";
|
|
10
|
+
import { Combobox as D, ComboboxInput as A, ComboboxContent as q, ComboboxList as B, ComboboxEmpty as G, ComboboxItem as K } from "./index90.js";
|
|
11
|
+
import { Field as M, FieldContent as O, FieldLabel as P, FieldDescription as R, FieldError as T } from "./index159.js";
|
|
12
|
+
import { InputGroupAddon as H } from "./index101.js";
|
|
13
|
+
import { Loader2 as J, Search as Q } from "lucide-react";
|
|
14
|
+
const me = ({
|
|
15
|
+
disabled: _,
|
|
16
|
+
canCreateCounterpart: i = !0
|
|
17
|
+
}) => {
|
|
6
18
|
const {
|
|
7
|
-
|
|
8
|
-
} =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
19
|
+
i18n: o
|
|
20
|
+
} = z(), {
|
|
21
|
+
root: g
|
|
22
|
+
} = j(), {
|
|
23
|
+
control: x,
|
|
24
|
+
setValue: s,
|
|
25
|
+
watch: v,
|
|
26
|
+
clearErrors: f
|
|
27
|
+
} = $(), {
|
|
28
|
+
data: d,
|
|
29
|
+
isLoading: L
|
|
30
|
+
} = k({
|
|
31
|
+
query: {
|
|
32
|
+
is_customer: !0
|
|
33
|
+
}
|
|
34
|
+
}), [h, C] = S(!1), m = v("counterpart_name") ?? "", c = p(() => d ? d.data.map((e) => ({
|
|
35
|
+
id: e.id,
|
|
36
|
+
name: I(e),
|
|
37
|
+
email: V(e)
|
|
38
|
+
})) : [], [d]), a = p(() => {
|
|
39
|
+
const e = m.toLowerCase().trim();
|
|
40
|
+
return e ? c.filter((n) => n.name.toLowerCase().includes(e) || n.email.toLowerCase().includes(e)) : c;
|
|
41
|
+
}, [c, m]), y = p(() => a.map((e) => e.id), [a]);
|
|
42
|
+
return /* @__PURE__ */ t(E, { name: "counterpart_id", control: x, render: ({
|
|
43
|
+
field: e,
|
|
44
|
+
fieldState: {
|
|
45
|
+
error: n
|
|
46
|
+
}
|
|
47
|
+
}) => {
|
|
48
|
+
const w = (r) => {
|
|
49
|
+
s("counterpart_name", ""), s("counterpart_email", ""), f(["counterpart_id", "counterpart_email"]), e.onChange(r ?? "");
|
|
50
|
+
}, N = (r, l) => {
|
|
51
|
+
if (l.reason !== "input-change") {
|
|
52
|
+
i || s("counterpart_name", "");
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
s("counterpart_name", r), e.value && e.onChange(""), i && r.trim() && f("counterpart_id");
|
|
56
|
+
};
|
|
57
|
+
return /* @__PURE__ */ t(M, { children: /* @__PURE__ */ u(O, { children: [
|
|
58
|
+
/* @__PURE__ */ t(P, { htmlFor: "counterpart_id", children: o._("Name") }),
|
|
59
|
+
/* @__PURE__ */ u(D, { value: e.value || null, onValueChange: w, inputValue: m, onInputValueChange: N, items: y, filter: () => !0, disabled: _, open: h, onOpenChange: C, children: [
|
|
60
|
+
/* @__PURE__ */ t(A, { id: "counterpart_id", placeholder: i ? o._("Search or type to add a customer") : o._("Search for a customer"), "aria-invalid": !!n, onKeyDown: (r) => {
|
|
61
|
+
if (r.key === "Enter") {
|
|
62
|
+
r.preventDefault();
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
if (r.key === "Tab" && h) {
|
|
66
|
+
const l = m.toLowerCase().trim();
|
|
67
|
+
if (!l) return;
|
|
68
|
+
const b = a.find((F) => F.name.toLowerCase() === l) ?? (a.length === 1 ? a[0] : void 0);
|
|
69
|
+
b && (w(b.id), C(!1));
|
|
70
|
+
}
|
|
71
|
+
}, children: /* @__PURE__ */ t(H, { align: "inline-start", children: L ? /* @__PURE__ */ t(J, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ t(Q, { className: "ttw:size-4 ttw:text-muted-foreground" }) }) }),
|
|
72
|
+
/* @__PURE__ */ t(q, { container: g, children: /* @__PURE__ */ u(B, { children: [
|
|
73
|
+
/* @__PURE__ */ t(G, { children: i ? o._("No customers found - type to add a customer") : o._("No customers found") }),
|
|
74
|
+
a.map((r) => /* @__PURE__ */ t(K, { value: r.id, children: /* @__PURE__ */ u("div", { className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
75
|
+
/* @__PURE__ */ t("span", { children: r.name }),
|
|
76
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-muted-foreground", children: r.email })
|
|
77
|
+
] }) }, r.id))
|
|
78
|
+
] }) })
|
|
79
|
+
] }),
|
|
80
|
+
/* @__PURE__ */ t(R, { children: i ? o._("Search by customer name or email. New customers will be saved when saving the invoice.") : o._("Search by customer name or email.") }),
|
|
81
|
+
/* @__PURE__ */ t(T, { errors: n ? [n] : [] })
|
|
82
|
+
] }) });
|
|
83
|
+
} });
|
|
18
84
|
};
|
|
19
85
|
export {
|
|
20
|
-
|
|
86
|
+
me as CounterpartSelector
|
|
21
87
|
};
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
onError: (t) => {
|
|
17
|
-
o.error(i(r, t));
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as l } from "./index100.js";
|
|
3
|
+
import * as r from "@radix-ui/react-avatar";
|
|
4
|
+
function n({
|
|
5
|
+
className: t,
|
|
6
|
+
...a
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(r.Root, { "data-slot": "avatar", className: l("ttw:relative ttw:flex ttw:size-8 ttw:shrink-0 ttw:overflow-hidden ttw:rounded-full", t), ...a });
|
|
9
|
+
}
|
|
10
|
+
function f({
|
|
11
|
+
className: t,
|
|
12
|
+
...a
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ e(r.Fallback, { "data-slot": "avatar-fallback", className: l("ttw:bg-muted ttw:flex ttw:size-full ttw:items-center ttw:justify-center ttw:rounded-full", t), ...a });
|
|
15
|
+
}
|
|
21
16
|
export {
|
|
22
|
-
|
|
17
|
+
n as Avatar,
|
|
18
|
+
f as AvatarFallback
|
|
23
19
|
};
|
|
@@ -1,18 +1,88 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsx as e, Fragment as v, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as k, useMemo as b } from "react";
|
|
3
|
+
import { useFormContext as Y, Controller as j } from "react-hook-form";
|
|
4
|
+
import { format as x } from "date-fns";
|
|
5
|
+
import { Calendar as A } from "lucide-react";
|
|
6
|
+
import { calculateDueDate as N } from "./index7.js";
|
|
7
|
+
import { useLingui as L } from "@lingui/react";
|
|
8
|
+
import { dedupePaymentTermsByContent as $ } from "./index454.js";
|
|
9
|
+
import { RECEIPT_DUE_PAYMENT_TERM as u, CUSTOM_DATE_PAYMENT_TERM as l } from "./index330.js";
|
|
10
|
+
import { cn as D } from "./index100.js";
|
|
11
|
+
import { Skeleton as O } from "./index139.js";
|
|
12
|
+
import { Select as R, SelectTrigger as U, SelectValue as V, SelectContent as z, SelectItem as h, SelectSeparator as I } from "./index240.js";
|
|
13
|
+
import { Popover as q, PopoverAnchor as B, PopoverContent as K } from "./index373.js";
|
|
14
|
+
import { Calendar as G } from "./index455.js";
|
|
15
|
+
import { Field as H, FieldContent as J, FieldLabel as Q, FieldDescription as W, FieldError as X } from "./index159.js";
|
|
16
|
+
const S = "MMM d, yyyy", ue = ({
|
|
17
|
+
disabled: T,
|
|
18
|
+
paymentTerms: f,
|
|
19
|
+
isLoading: E
|
|
20
|
+
}) => {
|
|
3
21
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
22
|
+
i18n: a
|
|
23
|
+
} = L(), {
|
|
24
|
+
control: M,
|
|
25
|
+
watch: w,
|
|
26
|
+
setValue: _
|
|
27
|
+
} = Y(), [F, m] = k(!1), i = w("payment_terms_id"), y = w("frequency") !== "once", o = w("payment_terms_custom_date") ?? void 0, p = (r) => _("payment_terms_custom_date", r ?? null), {
|
|
28
|
+
dedupedTerms: g
|
|
29
|
+
} = b(() => $(f?.data ?? []), [f]), d = g.find((r) => r?.id === i), P = d && N(d), c = () => {
|
|
30
|
+
window.setTimeout(() => m(!0), 0);
|
|
31
|
+
}, C = (r, s) => /* @__PURE__ */ n("span", { className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
32
|
+
/* @__PURE__ */ e("span", { className: "ttw:truncate", children: r }),
|
|
33
|
+
s && /* @__PURE__ */ e("span", { className: "ttw:text-muted-foreground ttw:shrink-0 ttw:text-xs", children: x(s, S) })
|
|
34
|
+
] });
|
|
35
|
+
return /* @__PURE__ */ e(v, { children: E ? /* @__PURE__ */ e(O, { className: "ttw:w-full ttw:h-9" }) : /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(j, { name: "payment_terms_id", control: M, render: ({
|
|
36
|
+
field: r,
|
|
37
|
+
fieldState: {
|
|
38
|
+
error: s
|
|
39
|
+
}
|
|
40
|
+
}) => /* @__PURE__ */ e(H, { children: /* @__PURE__ */ n(J, { children: [
|
|
41
|
+
/* @__PURE__ */ e(Q, { htmlFor: "payment_terms_id", children: a._("Payment terms") }),
|
|
42
|
+
/* @__PURE__ */ n(q, { open: F, onOpenChange: (t) => {
|
|
43
|
+
m(t), !t && i === l && !o && r.onChange(void 0);
|
|
44
|
+
}, children: [
|
|
45
|
+
/* @__PURE__ */ n(R, { ...r, disabled: T, value: r.value, onValueChange: (t) => {
|
|
46
|
+
if (t === l) {
|
|
47
|
+
i !== l && p(void 0), r.onChange(t), c();
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
r.onChange(t), t === u && _("payment_reminder_id", "", {
|
|
51
|
+
shouldDirty: !0
|
|
52
|
+
}), p(void 0), m(!1);
|
|
53
|
+
}, children: [
|
|
54
|
+
/* @__PURE__ */ e(B, { className: "ttw:w-full", children: /* @__PURE__ */ e(U, { id: "payment_terms_id", className: "ttw:w-full", "aria-invalid": !!s, children: /* @__PURE__ */ n(V, { placeholder: a._("Select payment terms"), children: [
|
|
55
|
+
i === u && /* @__PURE__ */ e("span", { className: "ttw:truncate", children: a._("Due on receipt") }),
|
|
56
|
+
i === l && /* @__PURE__ */ n("span", { className: "ttw:flex ttw:w-full ttw:min-w-0 ttw:items-center ttw:justify-between ttw:gap-2", children: [
|
|
57
|
+
/* @__PURE__ */ n("span", { className: "ttw:flex ttw:min-w-0 ttw:items-center ttw:gap-1.5", children: [
|
|
58
|
+
/* @__PURE__ */ e(A, { className: D("ttw:size-4 ttw:shrink-0", !o && "ttw:text-muted-foreground") }),
|
|
59
|
+
/* @__PURE__ */ e("span", { className: D("ttw:truncate", !o && "ttw:text-muted-foreground"), children: o ? x(o, S) : a._("Mon DD, YYYY") })
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ e("span", { className: "ttw:text-muted-foreground ttw:shrink-0 ttw:text-xs", children: a._("Custom date") })
|
|
62
|
+
] }),
|
|
63
|
+
d && C(d.name, P)
|
|
64
|
+
] }) }) }),
|
|
65
|
+
/* @__PURE__ */ n(z, { children: [
|
|
66
|
+
/* @__PURE__ */ e(h, { value: u, children: a._("Due on receipt") }),
|
|
67
|
+
!y && /* @__PURE__ */ e(h, { value: l, onPointerUp: c, onClick: c, onKeyDown: (t) => {
|
|
68
|
+
(t.key === "Enter" || t.key === " ") && c();
|
|
69
|
+
}, children: a._("Custom date") }),
|
|
70
|
+
/* @__PURE__ */ e(I, {}),
|
|
71
|
+
g.map((t) => /* @__PURE__ */ e(h, { value: t.id, children: C(t.name, N(t)) }, t.id))
|
|
72
|
+
] })
|
|
73
|
+
] }),
|
|
74
|
+
/* @__PURE__ */ e(K, { className: "ttw:w-auto ttw:overflow-hidden ttw:p-0", align: "start", onFocusOutside: (t) => {
|
|
75
|
+
t.preventDefault();
|
|
76
|
+
}, children: /* @__PURE__ */ e(G, { mode: "single", captionLayout: "dropdown", selected: o, disabled: {
|
|
77
|
+
before: /* @__PURE__ */ new Date()
|
|
78
|
+
}, onSelect: (t) => {
|
|
79
|
+
p(t), m(!1);
|
|
80
|
+
} }) })
|
|
81
|
+
] }),
|
|
82
|
+
y && /* @__PURE__ */ e(W, { children: a._("Each invoice in the series will have the same payment term.") }),
|
|
83
|
+
/* @__PURE__ */ e(X, { errors: s ? [s] : [] })
|
|
84
|
+
] }) }) }) }) });
|
|
15
85
|
};
|
|
16
86
|
export {
|
|
17
|
-
|
|
87
|
+
ue as PaymentSection
|
|
18
88
|
};
|