@tesouro/embedded-components-react 0.2.66 → 0.2.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +8 -0
- package/dist/lib/ReceivablesWidget.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +138 -135
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/labels.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index3.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index5.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index8.js +4 -4
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -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/index123.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.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/index145.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +10 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +113 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +11 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +9 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +45 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +74 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +54 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +196 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +79 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +116 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +70 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +184 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +31 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +120 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +53 -388
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +88 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +390 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +22 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +17 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +93 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +46 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +75 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +54 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +345 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +11 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +247 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +182 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +36 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +56 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +52 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +28 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +98 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +16 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +25 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +42 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +63 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +107 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +486 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +165 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +113 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +22 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +40 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +52 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +16 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +76 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +338 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +301 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +101 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +161 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +264 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +23 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +2 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +94 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +189 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +77 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +73 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +57 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +56 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +10 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +63 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +24 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +127 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +44 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +30 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +157 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +27 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +76 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +63 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +187 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +106 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +81 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +287 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +86 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +223 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +35 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +47 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +46 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +110 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +22 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +171 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +153 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +10 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +60 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +65 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +60 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +6 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +8 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +22 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +14 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +32 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +43 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +6 -102
- 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 +104 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +33 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +55 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +26 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +23 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +65 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +93 -33
- 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 +36 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +54 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +33 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +10 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +10 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +118 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +32 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -11
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +15 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +48 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +65 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +17 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +15 -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 +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +52 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +46 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +27 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +21 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +62 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +37 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +85 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +103 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +112 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +28 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +24 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +39 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +5 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +9 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +69 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +54 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +41 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +69 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +51 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +30 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +52 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +36 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +67 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +21 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +52 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +31 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +39 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +17 -21
- 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 +95 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +75 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +17 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +36 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +13 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +54 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.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/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/index2.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as r, jsxs as l, Fragment as $ } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { InvoicesCounterpartCell as K } from "./
|
|
3
|
-
import { InvoiceRecurrenceStatusChip as q } from "./
|
|
2
|
+
import { InvoicesCounterpartCell as K } from "./index176.js";
|
|
3
|
+
import { InvoiceRecurrenceStatusChip as q } from "./index177.js";
|
|
4
4
|
import { InvoiceStatusChip as B } from "./index56.js";
|
|
5
|
-
import { InvoicesFilterBar as E } from "./
|
|
6
|
-
import { InvoiceStatusCardsFilter as U } from "./
|
|
7
|
-
import { useInvoicesFilter as V } from "./
|
|
5
|
+
import { InvoicesFilterBar as E } from "./index178.js";
|
|
6
|
+
import { InvoiceStatusCardsFilter as U } from "./index179.js";
|
|
7
|
+
import { useInvoicesFilter as V } from "./index180.js";
|
|
8
8
|
import { useGetReceivables as j } from "./index143.js";
|
|
9
9
|
import { useMoniteContext as x } from "./index58.js";
|
|
10
10
|
import { MoniteScopedProviders as G } from "./index84.js";
|
|
11
11
|
import { useCurrencies as Q } from "./index59.js";
|
|
12
|
-
import { ReceivableCursorFields as C } from "./
|
|
12
|
+
import { ReceivableCursorFields as C } from "./index181.js";
|
|
13
13
|
import { GetNoRowsOverlay as W } from "./index158.js";
|
|
14
|
-
import { DueDateCell as H } from "./
|
|
14
|
+
import { DueDateCell as H } from "./index182.js";
|
|
15
15
|
import { DataTable as J } from "./index159.js";
|
|
16
16
|
import { Skeleton as X } from "./index133.js";
|
|
17
17
|
import { useLingui as Y } from "@lingui/react";
|
|
@@ -1,52 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { jsxs as a, jsx as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { FinanceHowItWorks as s } from "./index355.js";
|
|
3
|
+
import { useKanmonContext as c } from "./index57.js";
|
|
4
|
+
import { Dialog as m } from "./index51.js";
|
|
5
|
+
import { useLingui as l } from "@lingui/react";
|
|
6
|
+
import { Stack as p, Button as r } from "@mui/material";
|
|
7
|
+
import { useState as g } from "react";
|
|
8
|
+
const w = () => {
|
|
4
9
|
const {
|
|
5
|
-
|
|
6
|
-
} =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const t = a.nextPaginationToken ?? void 0;
|
|
19
|
-
if (!(!t || d.some((c) => c?.query?.pagination_token === t)))
|
|
20
|
-
return {
|
|
21
|
-
query: {
|
|
22
|
-
pagination_token: t
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
},
|
|
26
|
-
enabled: g
|
|
27
|
-
}), {
|
|
28
|
-
hasNextPage: n,
|
|
29
|
-
isFetchingNextPage: i,
|
|
30
|
-
isError: o,
|
|
31
|
-
fetchNextPage: r
|
|
32
|
-
} = e;
|
|
33
|
-
return m(() => {
|
|
34
|
-
n && !i && !o && r();
|
|
35
|
-
}, [n, i, o, r]), {
|
|
36
|
-
data: f(() => {
|
|
37
|
-
if (e.data)
|
|
38
|
-
return {
|
|
39
|
-
data: e.data.pages.flatMap((a) => a.data ?? []),
|
|
40
|
-
nextPaginationToken: null,
|
|
41
|
-
prevPaginationToken: null
|
|
42
|
-
};
|
|
43
|
-
}, [e.data]),
|
|
44
|
-
isLoading: e.isLoading,
|
|
45
|
-
isFetching: e.isFetching,
|
|
46
|
-
isError: e.isError,
|
|
47
|
-
error: e.error
|
|
48
|
-
};
|
|
10
|
+
i18n: o
|
|
11
|
+
} = l(), {
|
|
12
|
+
startFinanceSession: t
|
|
13
|
+
} = c(), [e, i] = g(!1);
|
|
14
|
+
return /* @__PURE__ */ a(p, { direction: "row", gap: 1, alignItems: "center", children: [
|
|
15
|
+
/* @__PURE__ */ n(r, { variant: "text", onClick: () => i(!0), children: o._("How does invoice financing work?") }),
|
|
16
|
+
/* @__PURE__ */ n(r, { onClick: () => t(), variant: "contained", color: "primary", sx: {
|
|
17
|
+
px: 2.5,
|
|
18
|
+
py: 1.5,
|
|
19
|
+
height: 40
|
|
20
|
+
}, children: o._("Financing menu") }),
|
|
21
|
+
/* @__PURE__ */ n(m, { open: e, onClose: () => i(!1), alignDialog: "right", children: /* @__PURE__ */ n(s, {}) })
|
|
22
|
+
] });
|
|
49
23
|
};
|
|
50
24
|
export {
|
|
51
|
-
|
|
25
|
+
w as FinanceMenuButtons
|
|
52
26
|
};
|
|
@@ -1,52 +1,65 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Fragment as m } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import _ from "@mui/icons-material/MonetizationOnOutlined";
|
|
5
|
+
import { useTheme as g, Box as i, Typography as n, lighten as f, List as x, ListItem as l } from "@mui/material";
|
|
6
|
+
const F = ({
|
|
7
|
+
offers: p
|
|
8
|
+
}) => {
|
|
4
9
|
const {
|
|
5
|
-
|
|
6
|
-
} =
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
10
|
+
i18n: t
|
|
11
|
+
} = h(), d = g();
|
|
12
|
+
return !p || p.length === 0 ? null : /* @__PURE__ */ a(i, { width: "100%", children: [
|
|
13
|
+
/* @__PURE__ */ e(n, { variant: "subtitle1", sx: {
|
|
14
|
+
mb: 3,
|
|
15
|
+
display: "inline-block"
|
|
16
|
+
}, children: t._("Current offer") }),
|
|
17
|
+
/* @__PURE__ */ e(i, { sx: {
|
|
18
|
+
display: "flex",
|
|
19
|
+
gap: 2,
|
|
20
|
+
flexWrap: "wrap"
|
|
21
|
+
}, children: p.map((o, c) => o?.pricing_plans?.map((r, s) => /* @__PURE__ */ a(i, { width: 232, height: 148, px: 3, py: 2.5, sx: {
|
|
22
|
+
backgroundColor: d.palette.background.paper,
|
|
23
|
+
borderRadius: "16px",
|
|
24
|
+
border: `1px solid ${d.palette.divider}`
|
|
25
|
+
}, children: [
|
|
26
|
+
/* @__PURE__ */ a(i, { sx: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
gap: 1,
|
|
30
|
+
mb: 2
|
|
31
|
+
}, children: [
|
|
32
|
+
/* @__PURE__ */ e(_, { sx: {
|
|
33
|
+
fontSize: 24,
|
|
34
|
+
color: f(d.palette.primary.main, 0.6)
|
|
35
|
+
} }),
|
|
36
|
+
/* @__PURE__ */ e(n, { variant: "body1", fontWeight: 500, sx: {
|
|
37
|
+
flex: "1 1 0%",
|
|
38
|
+
width: "100%"
|
|
39
|
+
}, children: t._("Financing plan") })
|
|
40
|
+
] }),
|
|
41
|
+
/* @__PURE__ */ e(x, { sx: {
|
|
42
|
+
p: 0
|
|
43
|
+
}, children: /* @__PURE__ */ a(m, { children: [
|
|
44
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
45
|
+
p: 0
|
|
46
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemAdvance_rate_percentage}% advance rate", {
|
|
47
|
+
itemAdvance_rate_percentage: r.advance_rate_percentage / 100
|
|
48
|
+
}) }) }),
|
|
49
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
50
|
+
p: 0
|
|
51
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("Pay in {itemRepayment_duration_days} days", {
|
|
52
|
+
itemRepayment_duration_days: r.repayment_duration_days
|
|
53
|
+
}) }) }),
|
|
54
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
55
|
+
p: 0
|
|
56
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemFee_percentage}% fee", {
|
|
57
|
+
itemFee_percentage: r.fee_percentage / 100
|
|
58
|
+
}) }) })
|
|
59
|
+
] }, r.advance_rate_percentage) })
|
|
60
|
+
] }, `${o.available_amount}-${c}-${o.total_amount}-${s}`))) })
|
|
61
|
+
] });
|
|
49
62
|
};
|
|
50
63
|
export {
|
|
51
|
-
|
|
64
|
+
F as FinanceOffers
|
|
52
65
|
};
|
|
@@ -1,113 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import { cn as dt } from "./index101.js";
|
|
15
|
-
import { Loader2 as ut, Plus as mt } from "lucide-react";
|
|
16
|
-
const h = "__create-new__", Vt = ({
|
|
17
|
-
setIsCreateCounterpartOpened: f,
|
|
18
|
-
setIsViewCounterpartOpened: b,
|
|
19
|
-
isSimplified: a = !1,
|
|
20
|
-
shouldDisableFormUpdate: x = !1,
|
|
21
|
-
disabled: S,
|
|
22
|
-
currentCounterpartId: z,
|
|
23
|
-
handleUpdateCounterpartId: v,
|
|
24
|
-
counterpartAddresses: I
|
|
25
|
-
}) => {
|
|
26
|
-
const {
|
|
27
|
-
i18n: u
|
|
28
|
-
} = X(), {
|
|
29
|
-
root: A
|
|
30
|
-
} = K(), {
|
|
31
|
-
control: P,
|
|
32
|
-
watch: j
|
|
33
|
-
} = T(), {
|
|
34
|
-
data: g,
|
|
35
|
-
isLoading: D
|
|
36
|
-
} = W({
|
|
37
|
-
query: {
|
|
38
|
-
is_customer: !0
|
|
39
|
-
}
|
|
40
|
-
}), [m, _] = F(""), [c, y] = F(!1), M = k(() => {
|
|
41
|
-
!a && f && f(!0);
|
|
42
|
-
}, [a, f]), O = k(() => {
|
|
43
|
-
!a && b && b(!0);
|
|
44
|
-
}, [a, b]), q = j("counterpart_id"), p = x ? z : q, i = w(() => g ? g.data.map((r) => ({
|
|
45
|
-
id: r.id,
|
|
46
|
-
label: H(r)
|
|
47
|
-
})) : [], [g]), o = w(() => i.find((r) => r.id === p) ?? null, [i, p]), B = o ? o.label : m, {
|
|
48
|
-
matchingItems: N,
|
|
49
|
-
nonMatchingItems: L
|
|
50
|
-
} = w(() => {
|
|
51
|
-
const r = o ? "" : m.toLowerCase().trim();
|
|
52
|
-
if (!r)
|
|
53
|
-
return {
|
|
54
|
-
matchingItems: i,
|
|
55
|
-
nonMatchingItems: []
|
|
56
|
-
};
|
|
57
|
-
const n = [], l = [];
|
|
58
|
-
for (const d of i)
|
|
59
|
-
d.label.toLowerCase().includes(r) ? n.push(d) : l.push(d);
|
|
60
|
-
return {
|
|
61
|
-
matchingItems: n,
|
|
62
|
-
nonMatchingItems: l
|
|
63
|
-
};
|
|
64
|
-
}, [m, o, i]), U = w(() => [...a ? [] : [h], ...i.map((r) => r.id)], [i, a]), E = o ? Array.from(o.label)[0]?.toUpperCase() ?? "?" : "+", V = I?.data?.[0] ? J({
|
|
65
|
-
address: I.data[0]
|
|
66
|
-
}) : "", G = !c && !!o && !!V && !a;
|
|
67
|
-
return /* @__PURE__ */ e($, { name: "counterpart_id", control: P, render: ({
|
|
68
|
-
field: r,
|
|
69
|
-
fieldState: {
|
|
70
|
-
error: n
|
|
71
|
-
}
|
|
72
|
-
}) => {
|
|
73
|
-
const l = (t) => {
|
|
74
|
-
x && v ? v(t) : r.onChange(t);
|
|
75
|
-
}, d = (t) => {
|
|
76
|
-
if (t === h) {
|
|
77
|
-
M();
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
_(""), l(t ?? "");
|
|
81
|
-
}, R = (t) => {
|
|
82
|
-
t !== h && (i.some((Q) => Q.id === t) || (_(t), p && l("")));
|
|
83
|
-
};
|
|
84
|
-
return /* @__PURE__ */ e(at, { children: /* @__PURE__ */ s(it, { children: [
|
|
85
|
-
/* @__PURE__ */ e(nt, { htmlFor: "counterpart_id", required: !0, children: u._("Customer") }),
|
|
86
|
-
/* @__PURE__ */ s(Y, { value: p ?? null, onValueChange: d, inputValue: B, onInputValueChange: R, items: U, filter: () => !0, disabled: S, open: c, onOpenChange: (t) => y(t), children: [
|
|
87
|
-
/* @__PURE__ */ s("div", { className: dt("ttw:flex ttw:flex-col ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow]", "ttw:has-[[data-slot=input-group-control]:focus-visible]:border-ring ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-[3px] ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20"), children: [
|
|
88
|
-
/* @__PURE__ */ s("div", { className: "ttw:relative", children: [
|
|
89
|
-
/* @__PURE__ */ e(Z, { id: "counterpart_id", placeholder: u._("Select customer"), "aria-invalid": !!n, showClear: c && (!!o || !!m), className: "ttw:min-h-10 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0 ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent", children: /* @__PURE__ */ e(lt, { align: "inline-start", children: D ? /* @__PURE__ */ e(ut, { className: "ttw:size-4 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ e("span", { className: "ttw:flex ttw:size-7 ttw:items-center ttw:justify-center ttw:rounded-full ttw:select-none ttw:text-xs ttw:font-medium", style: {
|
|
90
|
-
backgroundColor: o ? "rgba(203, 203, 254, 1)" : "rgba(235, 235, 255, 1)",
|
|
91
|
-
color: "rgba(55, 55, 255, 1)"
|
|
92
|
-
}, children: E }) }) }),
|
|
93
|
-
!c && o && !a && /* @__PURE__ */ e("div", { className: "ttw:pointer-events-none ttw:absolute ttw:inset-y-0 ttw:right-8 ttw:flex ttw:items-center", children: /* @__PURE__ */ e(ot, { type: "button", variant: "ghost", size: "sm", className: "ttw:pointer-events-auto ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary/10", onPointerDown: (t) => t.stopPropagation(), onClick: O, children: u._("View details") }) })
|
|
94
|
-
] }),
|
|
95
|
-
G && /* @__PURE__ */ e("p", { className: "ttw:pl-12 ttw:pr-3 ttw:pb-2 ttw:text-xs ttw:text-muted-foreground ttw:cursor-text ttw:select-none", onClick: () => y(!0), children: V })
|
|
96
|
-
] }),
|
|
97
|
-
/* @__PURE__ */ e(tt, { container: A, children: /* @__PURE__ */ s(et, { children: [
|
|
98
|
-
!a && /* @__PURE__ */ s(C, { value: h, className: "ttw:text-primary ttw:font-semibold ttw:hover:text-primary ttw:focus:text-primary", children: [
|
|
99
|
-
/* @__PURE__ */ e(mt, {}),
|
|
100
|
-
u._("Create new customer")
|
|
101
|
-
] }),
|
|
102
|
-
N.map((t) => /* @__PURE__ */ e(C, { value: t.id, children: t.label }, t.id)),
|
|
103
|
-
N.length > 0 && L.length > 0 && /* @__PURE__ */ e(rt, {}),
|
|
104
|
-
L.map((t) => /* @__PURE__ */ e(C, { value: t.id, children: t.label }, t.id))
|
|
105
|
-
] }) })
|
|
106
|
-
] }),
|
|
107
|
-
/* @__PURE__ */ e(st, { errors: n ? [n] : [] })
|
|
108
|
-
] }) });
|
|
109
|
-
} });
|
|
110
|
-
};
|
|
1
|
+
import { jsxs as r, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as f } from "@mui/material";
|
|
3
|
+
import { FinanceLimits as e } from "./index359.js";
|
|
4
|
+
import { FinanceOffers as i } from "./index361.js";
|
|
5
|
+
const p = ({
|
|
6
|
+
offers: s
|
|
7
|
+
}) => /* @__PURE__ */ r(f, { sx: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
gap: 2
|
|
10
|
+
}, children: [
|
|
11
|
+
/* @__PURE__ */ o(e, { offers: s }),
|
|
12
|
+
s?.[0]?.status === "CURRENT" && /* @__PURE__ */ o(i, { offers: s })
|
|
13
|
+
] });
|
|
111
14
|
export {
|
|
112
|
-
|
|
15
|
+
p as FinanceWidget
|
|
113
16
|
};
|
|
@@ -1,48 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
} : n === "" || n === void 0 ? {
|
|
31
|
-
...e,
|
|
32
|
-
product: {
|
|
33
|
-
...e.product,
|
|
34
|
-
measure_unit_id: void 0
|
|
35
|
-
}
|
|
36
|
-
} : {
|
|
37
|
-
...e
|
|
38
|
-
};
|
|
39
|
-
});
|
|
40
|
-
r({
|
|
41
|
-
...d,
|
|
42
|
-
line_items: o
|
|
43
|
-
});
|
|
44
|
-
}, [i?.data, r, u]);
|
|
45
|
-
};
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "./index101.js";
|
|
3
|
+
import * as o from "@radix-ui/react-popover";
|
|
4
|
+
function m({
|
|
5
|
+
...t
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "popover", ...t });
|
|
8
|
+
}
|
|
9
|
+
function d({
|
|
10
|
+
ref: t,
|
|
11
|
+
...a
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(o.Trigger, { "data-slot": "popover-trigger", ref: t, ...a });
|
|
14
|
+
}
|
|
15
|
+
d.displayName = o.Trigger.displayName;
|
|
16
|
+
function f({
|
|
17
|
+
className: t,
|
|
18
|
+
align: a = "center",
|
|
19
|
+
sideOffset: r = 4,
|
|
20
|
+
...n
|
|
21
|
+
}) {
|
|
22
|
+
return /* @__PURE__ */ e(o.Portal, { children: /* @__PURE__ */ e(o.Content, { "data-slot": "popover-content", align: a, sideOffset: r, className: i("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-72 ttw:origin-(--radix-popover-content-transform-origin) ttw:rounded-md ttw:border ttw:p-4 ttw:shadow-md ttw:outline-hidden", t), ...n }) });
|
|
23
|
+
}
|
|
24
|
+
function l({
|
|
25
|
+
...t
|
|
26
|
+
}) {
|
|
27
|
+
return /* @__PURE__ */ e(o.Anchor, { "data-slot": "popover-anchor", ...t });
|
|
28
|
+
}
|
|
46
29
|
export {
|
|
47
|
-
|
|
30
|
+
m as Popover,
|
|
31
|
+
l as PopoverAnchor,
|
|
32
|
+
f as PopoverContent,
|
|
33
|
+
d as PopoverTrigger
|
|
48
34
|
};
|
|
@@ -1,42 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
e.finops.getReceivablesId.setQueryData({
|
|
19
|
-
path: {
|
|
20
|
-
receivable_id: a
|
|
1
|
+
import { useEffect as _ } from "react";
|
|
2
|
+
const c = (i, u, r) => {
|
|
3
|
+
_(() => {
|
|
4
|
+
if (!i?.data?.length) return;
|
|
5
|
+
const d = u(), m = new Map(i.data.map((e) => [e.id, e])), s = new Map(i.data.filter((e) => e.name).map((e) => [e.name?.toLowerCase(), e])), o = d.line_items.map((e) => {
|
|
6
|
+
const n = e.product.measure_unit_id, t = e.product.measure_unit_name || e.measure_unit?.name;
|
|
7
|
+
let a;
|
|
8
|
+
return n && m.has(n) ? a = m.get(n) : t && s.has(t.toLowerCase()) && (a = s.get(t.toLowerCase())), a ? {
|
|
9
|
+
...e,
|
|
10
|
+
product: {
|
|
11
|
+
...e.product,
|
|
12
|
+
measure_unit_id: a.id,
|
|
13
|
+
measure_unit_name: void 0
|
|
14
|
+
},
|
|
15
|
+
measure_unit: {
|
|
16
|
+
id: a.id,
|
|
17
|
+
name: a.name || ""
|
|
21
18
|
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
} : t ? {
|
|
20
|
+
...e,
|
|
21
|
+
product: {
|
|
22
|
+
...e.product,
|
|
23
|
+
measure_unit_id: void 0,
|
|
24
|
+
measure_unit_name: t
|
|
25
|
+
},
|
|
26
|
+
measure_unit: {
|
|
27
|
+
name: t,
|
|
28
|
+
id: null
|
|
27
29
|
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
30
|
+
} : n === "" || n === void 0 ? {
|
|
31
|
+
...e,
|
|
32
|
+
product: {
|
|
33
|
+
...e.product,
|
|
34
|
+
measure_unit_id: void 0
|
|
35
|
+
}
|
|
36
|
+
} : {
|
|
37
|
+
...e
|
|
38
|
+
};
|
|
39
|
+
});
|
|
40
|
+
r({
|
|
41
|
+
...d,
|
|
42
|
+
line_items: o
|
|
43
|
+
});
|
|
44
|
+
}, [i?.data, r, u]);
|
|
39
45
|
};
|
|
40
46
|
export {
|
|
41
|
-
|
|
47
|
+
c as useMeasureUnitsMapping
|
|
42
48
|
};
|
|
@@ -1,36 +1,42 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
import { getAPIErrorMessage as
|
|
3
|
-
import { useLingui as
|
|
4
|
-
import { toast as
|
|
5
|
-
const
|
|
1
|
+
import { useMoniteContext as n } from "./index58.js";
|
|
2
|
+
import { getAPIErrorMessage as p } from "./index121.js";
|
|
3
|
+
import { useLingui as c } from "@lingui/react";
|
|
4
|
+
import { toast as t } from "react-hot-toast";
|
|
5
|
+
const v = (a) => {
|
|
6
6
|
const {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} =
|
|
12
|
-
return
|
|
7
|
+
i18n: i
|
|
8
|
+
} = c(), {
|
|
9
|
+
api: e,
|
|
10
|
+
queryClient: s
|
|
11
|
+
} = n();
|
|
12
|
+
return e.finops.patchReceivablesId.useMutation({
|
|
13
13
|
path: {
|
|
14
|
-
receivable_id:
|
|
14
|
+
receivable_id: a
|
|
15
15
|
}
|
|
16
16
|
}, {
|
|
17
|
-
onSuccess: async () => {
|
|
18
|
-
|
|
17
|
+
onSuccess: async (r) => {
|
|
18
|
+
e.finops.getReceivablesId.setQueryData({
|
|
19
|
+
path: {
|
|
20
|
+
receivable_id: a
|
|
21
|
+
}
|
|
22
|
+
}, r, s), await Promise.all([e.finops.getReceivablesIdPdfLink.resetQueries({
|
|
19
23
|
parameters: {
|
|
20
24
|
path: {
|
|
21
|
-
receivable_id:
|
|
25
|
+
receivable_id: a
|
|
22
26
|
}
|
|
23
27
|
}
|
|
24
|
-
}, i
|
|
28
|
+
}, s), e.finops.getReceivables.invalidateQueries(s)]), t.success(i._("{receivableType} has been updated", {
|
|
29
|
+
receivableType: r.type
|
|
30
|
+
}));
|
|
25
31
|
},
|
|
26
|
-
onError: (
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
errorMessage:
|
|
32
|
+
onError: (r) => {
|
|
33
|
+
const o = p(i, r);
|
|
34
|
+
t.error(i._("Failed to update receivable: {errorMessage}", {
|
|
35
|
+
errorMessage: o
|
|
30
36
|
}));
|
|
31
37
|
}
|
|
32
38
|
});
|
|
33
39
|
};
|
|
34
40
|
export {
|
|
35
|
-
|
|
41
|
+
v as useUpdateReceivable
|
|
36
42
|
};
|
|
@@ -1,10 +1,36 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
|
|
1
|
+
import { useMoniteContext as o } from "./index58.js";
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index121.js";
|
|
3
|
+
import { useLingui as p } from "@lingui/react";
|
|
4
|
+
import { toast as c } from "react-hot-toast";
|
|
5
|
+
const g = (e) => {
|
|
3
6
|
const {
|
|
4
|
-
api:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
api: r,
|
|
8
|
+
queryClient: i
|
|
9
|
+
} = o(), {
|
|
10
|
+
i18n: t
|
|
11
|
+
} = p();
|
|
12
|
+
return r.finops.putReceivablesIdLineItems.useMutation({
|
|
13
|
+
path: {
|
|
14
|
+
receivable_id: e
|
|
15
|
+
}
|
|
16
|
+
}, {
|
|
17
|
+
onSuccess: async () => {
|
|
18
|
+
await r.finops.getReceivablesId.invalidateQueries({
|
|
19
|
+
parameters: {
|
|
20
|
+
path: {
|
|
21
|
+
receivable_id: e
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}, i);
|
|
25
|
+
},
|
|
26
|
+
onError: (s) => {
|
|
27
|
+
const a = n(t, s);
|
|
28
|
+
c.error(t._("Failed to update receivable line items: {errorMessage}", {
|
|
29
|
+
errorMessage: a
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
7
33
|
};
|
|
8
34
|
export {
|
|
9
|
-
|
|
35
|
+
g as useUpdateReceivableLineItems
|
|
10
36
|
};
|