@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,24 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { jsx as t, Fragment as o, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as a } from "./index85.js";
|
|
3
|
+
import { DialogHeader as l, DialogClose as c, DialogTitle as m, DialogDescription as d } from "./index201.js";
|
|
4
|
+
import { useLingui as w } from "@lingui/react";
|
|
5
|
+
import { X as p } from "lucide-react";
|
|
6
|
+
const x = ({
|
|
7
|
+
formName: s,
|
|
8
|
+
isDisabled: r,
|
|
9
|
+
isRecurrenceEnabled: n
|
|
10
|
+
}) => {
|
|
5
11
|
const {
|
|
6
|
-
i18n:
|
|
7
|
-
} =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
onError: (e) => {
|
|
18
|
-
o.error(e?.detail?.[0]?.msg || n._("Failed to create Bank Account."));
|
|
19
|
-
}
|
|
20
|
-
});
|
|
12
|
+
i18n: e
|
|
13
|
+
} = w();
|
|
14
|
+
return /* @__PURE__ */ t(o, { children: /* @__PURE__ */ i(l, { className: "ttw:flex-row ttw:justify-between ttw:items-center", children: [
|
|
15
|
+
/* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-4", children: [
|
|
16
|
+
/* @__PURE__ */ t(c, { asChild: !0, children: /* @__PURE__ */ t(a, { variant: "ghost", type: "button", className: "ttw:p-2 ttw:has-[>svg]:px-2", children: /* @__PURE__ */ t(p, { className: "ttw:size-6.5" }) }) }),
|
|
17
|
+
/* @__PURE__ */ t(m, { className: "ttw:text-2xl", children: e._("Create invoice") }),
|
|
18
|
+
/* @__PURE__ */ t(d, { className: "ttw:sr-only", children: e._("Modal for invoice creation") })
|
|
19
|
+
] }),
|
|
20
|
+
/* @__PURE__ */ t("div", { className: "ttw:flex ttw:items-center ttw:gap-4", children: /* @__PURE__ */ t(a, { type: "submit", form: s, disabled: r, children: n ? e._("Activate") : e._("Save and continue") }, "next") })
|
|
21
|
+
] }) });
|
|
21
22
|
};
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
x as InvoiceCreationHeader
|
|
24
25
|
};
|
|
@@ -1,24 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
|
|
1
|
+
import { useMoniteContext as a } from "./index58.js";
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index121.js";
|
|
3
|
+
import { useLingui as c } from "@lingui/react";
|
|
4
|
+
import { toast as t } from "react-hot-toast";
|
|
5
|
+
const f = () => {
|
|
5
6
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
7
|
+
i18n: r
|
|
8
|
+
} = c(), {
|
|
9
|
+
api: o
|
|
10
|
+
} = a();
|
|
11
|
+
return o.finops.postReceivables.useMutation({}, {
|
|
12
|
+
onSuccess: async (e) => {
|
|
13
|
+
if (e.counterpart_name)
|
|
14
|
+
return t.success(r._("Invoice to {counterpartName} was created", {
|
|
15
|
+
counterpartName: e.counterpart_name
|
|
16
|
+
}));
|
|
17
|
+
t.success(r._("{type} has been created", {
|
|
18
|
+
type: e.type
|
|
19
|
+
}));
|
|
16
20
|
},
|
|
17
|
-
onError: () => {
|
|
18
|
-
|
|
21
|
+
onError: (e) => {
|
|
22
|
+
const s = n(r, e);
|
|
23
|
+
t.error(r._("Failed to create invoice: {errorMessage}", {
|
|
24
|
+
errorMessage: s
|
|
25
|
+
}));
|
|
19
26
|
}
|
|
20
27
|
});
|
|
21
28
|
};
|
|
22
29
|
export {
|
|
23
|
-
|
|
30
|
+
f as useCreateReceivable
|
|
24
31
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useMoniteContext as n } from "./index58.js";
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index121.js";
|
|
3
3
|
import { useLingui as a } from "@lingui/react";
|
|
4
|
-
|
|
4
|
+
import { toast as s } from "react-hot-toast";
|
|
5
|
+
const f = () => {
|
|
5
6
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} =
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
api: e,
|
|
8
|
+
queryClient: o
|
|
9
|
+
} = n(), {
|
|
10
|
+
i18n: r
|
|
11
|
+
} = a();
|
|
12
|
+
return e.finops.postRecurrences.useMutation(void 0, {
|
|
13
|
+
onError(t) {
|
|
14
|
+
s.error(i(r, t));
|
|
14
15
|
},
|
|
15
|
-
|
|
16
|
-
o.
|
|
16
|
+
async onSuccess() {
|
|
17
|
+
await e.finops.getReceivables.invalidateQueries(o), s.success(r._("Recurrence has been created"));
|
|
17
18
|
}
|
|
18
19
|
});
|
|
19
20
|
};
|
|
20
21
|
export {
|
|
21
|
-
|
|
22
|
+
f as useCreateRecurrence
|
|
22
23
|
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
3
|
-
const {
|
|
4
|
-
|
|
5
|
-
} = n()
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
});
|
|
1
|
+
import { useRef as l, useCallback as n } from "react";
|
|
2
|
+
const a = () => {
|
|
3
|
+
const e = l(null), t = n((r) => {
|
|
4
|
+
e.current = r;
|
|
5
|
+
}, []), u = n(() => {
|
|
6
|
+
e.current?.();
|
|
7
|
+
}, []);
|
|
8
|
+
return {
|
|
9
|
+
registerLineItemCleanupFn: t,
|
|
10
|
+
runLineItemCleanup: u
|
|
11
|
+
};
|
|
13
12
|
};
|
|
14
13
|
export {
|
|
15
|
-
|
|
14
|
+
a as useLineItemSubmitCleanup
|
|
16
15
|
};
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { useLingui as r } from "@lingui/react";
|
|
4
|
-
const m = ({
|
|
5
|
-
open: o,
|
|
6
|
-
isDeleting: n,
|
|
7
|
-
onClose: i,
|
|
8
|
-
handleDelete: t
|
|
9
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index58.js";
|
|
2
|
+
const r = (e, t = !0) => {
|
|
10
3
|
const {
|
|
11
|
-
|
|
12
|
-
} =
|
|
13
|
-
return
|
|
4
|
+
api: n
|
|
5
|
+
} = s();
|
|
6
|
+
return n.finops.getBankDetails.useQuery({
|
|
7
|
+
query: e
|
|
8
|
+
}, {
|
|
9
|
+
enabled: t
|
|
10
|
+
});
|
|
14
11
|
};
|
|
15
12
|
export {
|
|
16
|
-
|
|
13
|
+
r as useGetEntityBankAccounts
|
|
17
14
|
};
|
|
@@ -1,95 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { useForm as w, Controller as l } from "react-hook-form";
|
|
8
|
-
import { Field as d, FieldContent as m, FieldLabel as c, FieldError as s } from "./index154.js";
|
|
9
|
-
import { Input as u } from "./index118.js";
|
|
10
|
-
import { Typography as x } from "./index86.js";
|
|
11
|
-
const R = ({
|
|
12
|
-
bankAccounts: h,
|
|
13
|
-
bankAccount: n,
|
|
14
|
-
formId: f,
|
|
15
|
-
createBankAccount: p,
|
|
16
|
-
updateBankAccount: _
|
|
1
|
+
import { useMoniteContext as o } from "./index58.js";
|
|
2
|
+
const a = ({
|
|
3
|
+
counterpart_billing_address_id: e,
|
|
4
|
+
counterpart_country: r,
|
|
5
|
+
counterpart_id: t,
|
|
6
|
+
counterpart_type: n
|
|
17
7
|
}) => {
|
|
18
8
|
const {
|
|
19
|
-
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
9
|
+
api: i
|
|
10
|
+
} = o();
|
|
11
|
+
return i.finops.getReceivablesRequiredFields.useQuery({
|
|
12
|
+
query: {
|
|
13
|
+
counterpart_billing_address_id: e,
|
|
14
|
+
counterpart_country: r,
|
|
15
|
+
counterpart_id: t,
|
|
16
|
+
counterpart_type: n
|
|
17
|
+
}
|
|
28
18
|
}, {
|
|
29
|
-
|
|
30
|
-
handleSubmit: k
|
|
31
|
-
} = w({
|
|
32
|
-
resolver: g(F(o, !!n)),
|
|
33
|
-
defaultValues: b
|
|
19
|
+
enabled: !!e && !!t
|
|
34
20
|
});
|
|
35
|
-
return /* @__PURE__ */ t("form", { id: f, onSubmit: k((a) => {
|
|
36
|
-
n ? _(y(a)) : p(v(a));
|
|
37
|
-
}), noValidate: !0, className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
38
|
-
/* @__PURE__ */ e(x, { variant: "body1", children: o._("This bank account will receive payments for your invoices") }),
|
|
39
|
-
/* @__PURE__ */ t("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
40
|
-
/* @__PURE__ */ e(l, { name: "display_name", control: i, render: ({
|
|
41
|
-
field: a,
|
|
42
|
-
fieldState: {
|
|
43
|
-
error: r
|
|
44
|
-
}
|
|
45
|
-
}) => /* @__PURE__ */ e(d, { className: "ttw:flex-1", children: /* @__PURE__ */ t(m, { children: [
|
|
46
|
-
/* @__PURE__ */ e(c, { htmlFor: "display_name", children: o._("Display name") }),
|
|
47
|
-
/* @__PURE__ */ e(u, { ...a, id: "display_name", "aria-invalid": !!r }),
|
|
48
|
-
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
49
|
-
] }) }) }),
|
|
50
|
-
/* @__PURE__ */ e(l, { name: "bank_name", control: i, disabled: !!n, render: ({
|
|
51
|
-
field: a,
|
|
52
|
-
fieldState: {
|
|
53
|
-
error: r
|
|
54
|
-
}
|
|
55
|
-
}) => /* @__PURE__ */ e(d, { className: "ttw:flex-1", children: /* @__PURE__ */ t(m, { children: [
|
|
56
|
-
/* @__PURE__ */ e(c, { htmlFor: "bank_name", children: o._("Bank name") }),
|
|
57
|
-
/* @__PURE__ */ e(u, { ...a, id: "bank_name", "aria-invalid": !!r }),
|
|
58
|
-
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
59
|
-
] }) }) })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ e(l, { name: "account_number", control: i, disabled: !!n, render: ({
|
|
62
|
-
field: a,
|
|
63
|
-
fieldState: {
|
|
64
|
-
error: r
|
|
65
|
-
}
|
|
66
|
-
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ t(m, { children: [
|
|
67
|
-
/* @__PURE__ */ e(c, { htmlFor: a.name, children: o._("Account number") }),
|
|
68
|
-
/* @__PURE__ */ e(u, { ...a, id: a.name, "aria-invalid": !!r }),
|
|
69
|
-
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
70
|
-
] }) }) }),
|
|
71
|
-
/* @__PURE__ */ e(l, { name: "routing_number", control: i, disabled: !!n, render: ({
|
|
72
|
-
field: a,
|
|
73
|
-
fieldState: {
|
|
74
|
-
error: r
|
|
75
|
-
}
|
|
76
|
-
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ t(m, { children: [
|
|
77
|
-
/* @__PURE__ */ e(c, { htmlFor: a.name, children: o._("Routing number") }),
|
|
78
|
-
/* @__PURE__ */ e(u, { ...a, id: a.name, "aria-invalid": !!r }),
|
|
79
|
-
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
80
|
-
] }) }) }),
|
|
81
|
-
/* @__PURE__ */ e(l, { name: "account_holder_name", control: i, render: ({
|
|
82
|
-
field: a,
|
|
83
|
-
fieldState: {
|
|
84
|
-
error: r
|
|
85
|
-
}
|
|
86
|
-
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ t(m, { children: [
|
|
87
|
-
/* @__PURE__ */ e(c, { htmlFor: a.name, children: o._("Account holder name") }),
|
|
88
|
-
/* @__PURE__ */ e(u, { ...a, id: a.name, "aria-invalid": !!r }),
|
|
89
|
-
/* @__PURE__ */ e(s, { errors: r ? [r] : [] })
|
|
90
|
-
] }) }) })
|
|
91
|
-
] });
|
|
92
21
|
};
|
|
93
22
|
export {
|
|
94
|
-
|
|
23
|
+
a as useGetInvoiceRequiredFields
|
|
95
24
|
};
|
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { useLingui as d } from "@lingui/react";
|
|
4
|
-
import "./index58.js";
|
|
5
|
-
import "react-hot-toast";
|
|
6
|
-
import { useGetProductById as u } from "./index210.js";
|
|
7
|
-
import { useDeleteProduct as c } from "./index314.js";
|
|
8
|
-
const P = ({
|
|
9
|
-
id: e,
|
|
10
|
-
open: a,
|
|
11
|
-
onClose: t,
|
|
12
|
-
onDeleted: r
|
|
13
|
-
}) => {
|
|
14
|
-
const {
|
|
15
|
-
i18n: o
|
|
16
|
-
} = d(), {
|
|
17
|
-
data: n
|
|
18
|
-
} = u(e), i = c(e, () => {
|
|
19
|
-
t(), r?.(e);
|
|
20
|
-
}), m = () => {
|
|
21
|
-
i.mutate(void 0);
|
|
22
|
-
};
|
|
23
|
-
return n ? /* @__PURE__ */ l(s, { open: a && !!e, title: o._('Delete "{name}"?', {
|
|
24
|
-
name: n.name
|
|
25
|
-
}), message: o._("It will remain in all the documents where it is added. You can't undo this action."), confirmLabel: o._("Delete"), cancelLabel: o._("Cancel"), onClose: t, onConfirm: m, isLoading: i.isPending }) : null;
|
|
26
|
-
};
|
|
1
|
+
import { toMinorUnits as r, fromMinorUnits as a } from "./index119.js";
|
|
2
|
+
const s = (o) => a(o), t = (o) => r(o);
|
|
27
3
|
export {
|
|
28
|
-
|
|
4
|
+
t as rateMajorToMinor,
|
|
5
|
+
s as rateMinorToMajor
|
|
29
6
|
};
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
const d = ({
|
|
6
|
-
type: e
|
|
7
|
-
}) => {
|
|
8
|
-
const {
|
|
9
|
-
i18n: t
|
|
10
|
-
} = p(), r = e === "product", o = r ? t._("Product") : t._("Service");
|
|
11
|
-
return /* @__PURE__ */ i(n, { variant: "secondary", className: c(r ? "ttw:bg-blue-100 ttw:text-blue-700" : "ttw:bg-pink-100 ttw:text-pink-700"), children: o });
|
|
12
|
-
};
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as r } from "./index223.js";
|
|
3
|
+
import { LoadingSpinner as n } from "./index132.js";
|
|
4
|
+
const m = () => /* @__PURE__ */ o(r, { children: /* @__PURE__ */ o(n, {}) });
|
|
13
5
|
export {
|
|
14
|
-
|
|
6
|
+
m as LoadingPage
|
|
15
7
|
};
|
|
@@ -1,22 +1,90 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index101.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as c } from "lucide-react";
|
|
5
|
+
function x({
|
|
6
|
+
...t
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(o.Root, { "data-slot": "dialog", ...t });
|
|
9
|
+
}
|
|
10
|
+
function u({
|
|
11
|
+
...t
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(o.Portal, { "data-slot": "dialog-portal", ...t });
|
|
14
|
+
}
|
|
15
|
+
function v({
|
|
16
|
+
...t
|
|
17
|
+
}) {
|
|
18
|
+
return /* @__PURE__ */ e(o.Close, { "data-slot": "dialog-close", ...t });
|
|
19
|
+
}
|
|
20
|
+
function g({
|
|
21
|
+
className: t,
|
|
22
|
+
...a
|
|
23
|
+
}) {
|
|
24
|
+
return /* @__PURE__ */ e(o.Overlay, { "data-slot": "dialog-overlay", className: s("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:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...a });
|
|
25
|
+
}
|
|
26
|
+
function N({
|
|
27
|
+
className: t,
|
|
28
|
+
children: a,
|
|
29
|
+
showCloseButton: r = !0,
|
|
30
|
+
fullScreen: i = !1,
|
|
31
|
+
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
+
...d
|
|
33
|
+
}) {
|
|
34
|
+
return /* @__PURE__ */ n(u, { container: l, "data-slot": "dialog-portal", children: [
|
|
35
|
+
/* @__PURE__ */ e(g, {}),
|
|
36
|
+
/* @__PURE__ */ n(
|
|
37
|
+
o.Content,
|
|
38
|
+
{
|
|
39
|
+
"data-slot": "dialog-content",
|
|
40
|
+
className: s("ttw:bg-background 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:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", i && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", t),
|
|
41
|
+
...d,
|
|
42
|
+
onCloseAutoFocus: (w) => {
|
|
43
|
+
w.preventDefault(), (l ?? document.body).style.pointerEvents = "";
|
|
44
|
+
},
|
|
45
|
+
children: [
|
|
46
|
+
a,
|
|
47
|
+
r && /* @__PURE__ */ n(o.Close, { "data-slot": "dialog-close", className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", children: [
|
|
48
|
+
/* @__PURE__ */ e(c, {}),
|
|
49
|
+
/* @__PURE__ */ e("span", { className: "ttw:sr-only", children: "Close" })
|
|
50
|
+
] })
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] });
|
|
55
|
+
}
|
|
56
|
+
function b({
|
|
57
|
+
className: t,
|
|
58
|
+
...a
|
|
59
|
+
}) {
|
|
60
|
+
return /* @__PURE__ */ e("div", { "data-slot": "dialog-header", className: s("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", t), ...a });
|
|
61
|
+
}
|
|
62
|
+
function h({
|
|
63
|
+
className: t,
|
|
64
|
+
...a
|
|
65
|
+
}) {
|
|
66
|
+
return /* @__PURE__ */ e("div", { "data-slot": "dialog-footer", className: s("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", t), ...a });
|
|
67
|
+
}
|
|
68
|
+
function y({
|
|
69
|
+
className: t,
|
|
70
|
+
...a
|
|
71
|
+
}) {
|
|
72
|
+
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
73
|
+
}
|
|
74
|
+
function D({
|
|
75
|
+
className: t,
|
|
76
|
+
...a
|
|
77
|
+
}) {
|
|
78
|
+
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
79
|
+
}
|
|
20
80
|
export {
|
|
21
|
-
x as
|
|
81
|
+
x as Dialog,
|
|
82
|
+
v as DialogClose,
|
|
83
|
+
N as DialogContent,
|
|
84
|
+
D as DialogDescription,
|
|
85
|
+
h as DialogFooter,
|
|
86
|
+
b as DialogHeader,
|
|
87
|
+
g as DialogOverlay,
|
|
88
|
+
u as DialogPortal,
|
|
89
|
+
y as DialogTitle
|
|
22
90
|
};
|
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { useMoniteContext as m } from "./index58.js";
|
|
4
|
-
import { Skeleton as n } from "./index133.js";
|
|
5
|
-
import { Typography as s } from "./index86.js";
|
|
6
|
-
const f = a(({
|
|
7
|
-
unitId: e
|
|
8
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index58.js";
|
|
2
|
+
const n = () => {
|
|
9
3
|
const {
|
|
10
|
-
api:
|
|
11
|
-
} =
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} = r.finops.getMeasureUnitsId.useQuery({
|
|
15
|
-
path: {
|
|
16
|
-
unit_id: e
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
return i ? /* @__PURE__ */ o(n, { className: "ttw:h-4 ttw:w-4" }) : t ? /* @__PURE__ */ o(s, { color: "muted", variant: "body2", children: t.name }) : null;
|
|
20
|
-
});
|
|
4
|
+
api: e
|
|
5
|
+
} = s();
|
|
6
|
+
return e.finops.getMeasureUnits.useQuery();
|
|
7
|
+
};
|
|
21
8
|
export {
|
|
22
|
-
|
|
9
|
+
n as useGetMeasureUnits
|
|
23
10
|
};
|
|
@@ -1,4 +1,49 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsxs as e, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as l } from "./index86.js";
|
|
3
|
+
import { useLingui as m } from "@lingui/react";
|
|
4
|
+
import { PaymentSection as c } from "./index339.js";
|
|
5
|
+
import { useFormContext as p, Controller as w } from "react-hook-form";
|
|
6
|
+
import { Field as f, FieldContent as h, FieldLabel as u, FieldError as b } from "./index154.js";
|
|
7
|
+
import { Input as g } from "./index123.js";
|
|
8
|
+
import { RecurrenceSection as x } from "./index340.js";
|
|
9
|
+
import { RemindersSection as y } from "./index341.js";
|
|
10
|
+
const j = ({
|
|
11
|
+
paymentTerms: n,
|
|
12
|
+
disabled: i,
|
|
13
|
+
isPaymentTermsLoading: d
|
|
14
|
+
}) => {
|
|
15
|
+
const {
|
|
16
|
+
i18n: r
|
|
17
|
+
} = m(), {
|
|
18
|
+
control: s
|
|
19
|
+
} = p();
|
|
20
|
+
return /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
21
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
22
|
+
/* @__PURE__ */ t(l, { variant: "h4", children: r._("Billing details") }),
|
|
23
|
+
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:font-medium", children: r._("What are the billing terms?") })
|
|
24
|
+
] }),
|
|
25
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:gap-6", children: [
|
|
26
|
+
/* @__PURE__ */ t(x, {}),
|
|
27
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-start ttw:gap-2.5 ttw:w-full", children: [
|
|
28
|
+
/* @__PURE__ */ t(c, { paymentTerms: n, disabled: i, isLoading: d }),
|
|
29
|
+
/* @__PURE__ */ t(w, { name: "purchase_order", control: s, render: ({
|
|
30
|
+
field: a,
|
|
31
|
+
fieldState: {
|
|
32
|
+
error: o
|
|
33
|
+
}
|
|
34
|
+
}) => /* @__PURE__ */ t(f, { children: /* @__PURE__ */ e(h, { children: [
|
|
35
|
+
/* @__PURE__ */ e(u, { htmlFor: a.name, className: "ttw:text-nowrap", children: [
|
|
36
|
+
r._("PO Number"),
|
|
37
|
+
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
38
|
+
] }),
|
|
39
|
+
/* @__PURE__ */ t(g, { ...a, id: a.name, disabled: i, "aria-invalid": !!o }),
|
|
40
|
+
/* @__PURE__ */ t(b, { errors: o ? [o] : [] })
|
|
41
|
+
] }) }) })
|
|
42
|
+
] }),
|
|
43
|
+
/* @__PURE__ */ t(y, { disabled: i })
|
|
44
|
+
] })
|
|
45
|
+
] });
|
|
46
|
+
};
|
|
2
47
|
export {
|
|
3
|
-
|
|
48
|
+
j as BillingSection
|
|
4
49
|
};
|
|
@@ -1,14 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as i } from "./index86.js";
|
|
3
|
+
import { useLingui as w } from "@lingui/react";
|
|
4
|
+
import { useFormContext as f, Controller as s } from "react-hook-form";
|
|
5
|
+
import { Field as d, FieldContent as c, FieldLabel as m, FieldDescription as h, FieldError as p } from "./index154.js";
|
|
6
|
+
import { Textarea as u } from "./index124.js";
|
|
7
|
+
const _ = ({
|
|
8
|
+
disabled: n
|
|
9
|
+
}) => {
|
|
3
10
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
i18n: t
|
|
12
|
+
} = w(), {
|
|
13
|
+
control: l
|
|
14
|
+
} = f();
|
|
15
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
16
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
17
|
+
/* @__PURE__ */ e(i, { variant: "h4", children: t._("Notes") }),
|
|
18
|
+
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:font-medium", children: t._("Provide additional information for your customer.") })
|
|
19
|
+
] }),
|
|
20
|
+
/* @__PURE__ */ e(s, { name: "memo", control: l, render: ({
|
|
21
|
+
field: r,
|
|
22
|
+
fieldState: {
|
|
23
|
+
error: o
|
|
24
|
+
}
|
|
25
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
26
|
+
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
27
|
+
t._("Opening note to the customer"),
|
|
28
|
+
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., As discussed on our call, please find the attached invoice."), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
31
|
+
/* @__PURE__ */ e(h, { children: t._("Appears above your line items. Use it to reference a discussion, agreement, or project.") }),
|
|
32
|
+
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
33
|
+
] }) }) }),
|
|
34
|
+
/* @__PURE__ */ e(s, { name: "footer", control: l, render: ({
|
|
35
|
+
field: r,
|
|
36
|
+
fieldState: {
|
|
37
|
+
error: o
|
|
38
|
+
}
|
|
39
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
40
|
+
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
41
|
+
t._("Closing note to the customer"),
|
|
42
|
+
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
43
|
+
] }),
|
|
44
|
+
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., Thank you for your business!"), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
45
|
+
/* @__PURE__ */ e(h, { children: t._("Appears below your line items. Commonly used for thank you messages or payment instructions.") }),
|
|
46
|
+
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
47
|
+
] }) }) })
|
|
48
|
+
] });
|
|
11
49
|
};
|
|
12
50
|
export {
|
|
13
|
-
|
|
51
|
+
_ as NotesSection
|
|
14
52
|
};
|