@tesouro/embedded-components-react 0.2.234 → 0.2.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/data-access/dist/index2.js +65 -59
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/useApprovalPolicies.js +7 -7
- 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/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.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/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.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/index157.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +9 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +46 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +74 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +55 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +80 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +225 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +462 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +106 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +536 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +10 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +19 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +27 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +117 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +68 -226
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +12 -468
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +86 -526
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +101 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +26 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +214 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +35 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +50 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +82 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +66 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +361 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +117 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +6 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +20 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +13 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +21 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +53 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +30 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +17 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +103 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +24 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +40 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +53 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +52 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +30 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +97 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +46 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +144 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +105 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +71 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +20 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +34 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +28 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +30 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +57 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +108 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +84 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +63 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +26 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +4 -302
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +73 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +32 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +19 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +62 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +31 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +116 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +23 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +41 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +56 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +5 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +491 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +168 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +126 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +43 -485
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +112 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +106 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +45 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +201 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +69 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +30 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +4 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +38 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +29 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +33 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +12 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +6 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +158 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +27 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +76 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +14 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +77 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +76 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +43 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +38 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +53 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +29 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +57 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +20 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +123 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +22 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +31 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +2 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +93 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +95 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +212 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +63 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +15 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +168 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +134 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +159 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +8 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +18 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +61 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +64 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +59 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +6 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +59 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +23 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +62 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +35 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +344 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +299 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +93 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +156 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +263 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +23 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +18 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +50 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +45 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +31 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +41 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +23 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +72 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +94 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +34 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +10 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +19 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +61 -31
- 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 +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +15 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +20 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +67 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +21 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +114 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +80 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +2 -5
- 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 +8 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +31 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +23 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +120 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +18 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +73 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +3 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +53 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +34 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +85 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +82 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +266 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +36 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +62 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +23 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +137 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +93 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +11 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +2 -38
- 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 +278 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +49 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +32 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +14 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +10 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +66 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +45 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +26 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +96 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +34 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +69 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +30 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +8 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +49 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +36 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +45 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +72 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +84 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +52 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +51 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +52 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +30 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +71 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +21 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +82 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +39 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +32 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +84 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +103 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +104 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +69 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +39 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +28 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +23 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +37 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +18 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +91 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +75 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +21 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +9 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +42 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +37 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +17 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +48 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +55 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +52 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +33 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +20 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
- 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,10 +1,32 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
})
|
|
1
|
+
const n = {
|
|
2
|
+
WAS_CREATED_BY_USER_ID: "was_created_by_user_id",
|
|
3
|
+
COUNTERPART_ID: "counterpart_id",
|
|
4
|
+
TAGS: "tags.id",
|
|
5
|
+
AMOUNT: "amount",
|
|
6
|
+
CURRENCY: "currency"
|
|
7
|
+
}, o = (e) => Object.values(n).includes(e), r = {
|
|
8
|
+
IN: "in",
|
|
9
|
+
EQUALS: "==",
|
|
10
|
+
GREATER_THAN: ">",
|
|
11
|
+
LESS_THAN: "<",
|
|
12
|
+
GREATER_THAN_OR_EQUAL: ">=",
|
|
13
|
+
LESS_THAN_OR_EQUAL: "<=",
|
|
14
|
+
RANGE: "range"
|
|
15
|
+
}, i = (e) => Object.values(r).includes(e), a = (e) => e.replace("invoice.", ""), t = (e) => e.operator === r.IN && typeof e.left_operand == "string" && typeof e.right_operand == "object" && e.right_operand && "name" in e.right_operand, _ = (e) => !!e.left_operand && typeof e.left_operand == "object" && "name" in e.left_operand, l = (e) => t(e) ? {
|
|
16
|
+
key: a(e.right_operand.name),
|
|
17
|
+
value: e.left_operand
|
|
18
|
+
} : _(e) ? {
|
|
19
|
+
key: a(e.left_operand?.name),
|
|
20
|
+
value: e.right_operand
|
|
21
|
+
} : {
|
|
22
|
+
key: null,
|
|
23
|
+
value: null
|
|
24
|
+
};
|
|
8
25
|
export {
|
|
9
|
-
|
|
26
|
+
n as NAMED_VALUES,
|
|
27
|
+
r as OPERATOR_OPERATIONS,
|
|
28
|
+
a as extractFieldName,
|
|
29
|
+
l as getTriggerKeyAndValue,
|
|
30
|
+
i as isValidOperation,
|
|
31
|
+
o as isValidTriggerKey
|
|
10
32
|
};
|
|
@@ -1,98 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
11
|
-
|
|
1
|
+
import { jsx as o, jsxs as b } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as g, Fragment as w } from "react";
|
|
3
|
+
import { getCurrenciesArray as x, sortCurrencyOptionsByGroup as O, filterOptions as v, getGroupTitleForOption as B } from "./index94.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { RHFAutocomplete as M } from "./index485.js";
|
|
6
|
+
import { ListSubheader as S, Divider as q } from "@mui/material";
|
|
7
|
+
import { useLingui as L } from "@lingui/react";
|
|
8
|
+
import { CurrencyInput as W } from "./index486.js";
|
|
9
|
+
import { CurrencyOption as j } from "./index487.js";
|
|
10
|
+
const R = ({
|
|
11
|
+
required: s,
|
|
12
|
+
actualCurrency: y,
|
|
13
|
+
groups: t,
|
|
14
|
+
fullWidth: m,
|
|
15
|
+
showCodeOnly: i,
|
|
16
|
+
hideLabel: h = !1,
|
|
17
|
+
showCurrencyCode: p = !1,
|
|
18
|
+
showCurrencySymbol: u = !0,
|
|
19
|
+
showClearButton: C = !0,
|
|
20
|
+
allowedCurrencies: l,
|
|
21
|
+
...d
|
|
12
22
|
}) => {
|
|
13
23
|
const {
|
|
14
|
-
i18n:
|
|
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
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
47
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1, container: !0, sx: {
|
|
48
|
-
justifyContent: "flex-end",
|
|
49
|
-
alignItems: "center"
|
|
50
|
-
}, children: /* @__PURE__ */ e($, { "aria-label": "delete", onClick: () => I(i), disabled: c.length === 1, children: /* @__PURE__ */ e(L, {}) }) })
|
|
51
|
-
] }),
|
|
52
|
-
f && /* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", children: [
|
|
53
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 11, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.ledger_account_id`, control: a, render: ({
|
|
54
|
-
field: t,
|
|
55
|
-
fieldState: {
|
|
56
|
-
error: n
|
|
57
|
-
}
|
|
58
|
-
}) => /* @__PURE__ */ e(W, { value: t.value ?? void 0, onChange: (C) => t.onChange(C ?? void 0), error: !!n, helperText: n?.message }) }) }),
|
|
59
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", justifyContent: "flex-end", children: [
|
|
62
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.price`, control: a, render: ({
|
|
63
|
-
field: t,
|
|
64
|
-
fieldState: {
|
|
65
|
-
error: n
|
|
66
|
-
}
|
|
67
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Price"), variant: "standard", type: "number", inputProps: {
|
|
68
|
-
min: 0
|
|
69
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
70
|
-
endAdornment: x(s("currency"))
|
|
71
|
-
} }) }) }),
|
|
72
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.tax`, control: a, render: ({
|
|
73
|
-
field: t,
|
|
74
|
-
fieldState: {
|
|
75
|
-
error: n
|
|
76
|
-
}
|
|
77
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Tax"), variant: "standard", type: "number", inputProps: {
|
|
78
|
-
min: 0,
|
|
79
|
-
max: 100
|
|
80
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
81
|
-
endAdornment: "%"
|
|
82
|
-
} }) }) }),
|
|
83
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
84
|
-
] }),
|
|
85
|
-
p?.[i] && u && /* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, className: "Monite-PayableDetailsForm-Item-Total", children: /* @__PURE__ */ e(j, { fontWeight: "bold", align: "right", children: h(g(v(p?.[i]), u) || 0, u) }) })
|
|
86
|
-
] }, b.id)),
|
|
87
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, children: /* @__PURE__ */ e(w, { variant: "text", startIcon: /* @__PURE__ */ e(S, {}), onClick: () => y({
|
|
88
|
-
id: "",
|
|
89
|
-
name: "",
|
|
90
|
-
quantity: 1,
|
|
91
|
-
price: 0,
|
|
92
|
-
tax: 19
|
|
93
|
-
}), children: o._("Add item") }) })
|
|
94
|
-
] });
|
|
24
|
+
i18n: n
|
|
25
|
+
} = L(), a = n._("Currency"), c = g(() => {
|
|
26
|
+
const e = x(n);
|
|
27
|
+
return l ? e.filter((r) => l.includes(r.code)) : e;
|
|
28
|
+
}, [l, n]), f = O(c, t);
|
|
29
|
+
return /* @__PURE__ */ o(M, { ...d, required: s, disabled: c?.length === 1 || d.disabled, className: `Monite-Currency ${h && "Monite-Label-Hidden"}`, disableClearable: !C, label: a, options: f, optionKey: "code", labelKey: i ? "code" : "label", fullWidth: m, slotProps: {
|
|
30
|
+
paper: {
|
|
31
|
+
sx: {
|
|
32
|
+
"& .MuiAutocomplete-listbox hr:last-of-type": {
|
|
33
|
+
display: "none"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}, renderInput: (e, r) => /* @__PURE__ */ o(W, { error: r?.error, defaultValue: y, required: r?.required ?? s, label: r?.label ?? a, showCodeOnly: i, showCurrencySymbol: u, showCurrencyCode: p, ...e }), renderOption: (e, r) => /* @__PURE__ */ o(j, { props: e, option: r, showCodeOnly: i, showCurrencyCode: p, showCurrencySymbol: u }, r.code), filterOptions: v, groupBy: t ? (e) => B(e, t)?.title : void 0, renderGroup: (e) => e.group.trim() === "" ? e.children : /* @__PURE__ */ b(w, { children: [
|
|
38
|
+
/* @__PURE__ */ o(S, { component: "div", title: e.group, sx: {
|
|
39
|
+
bgcolor: "background.paper",
|
|
40
|
+
typography: "body2",
|
|
41
|
+
fontWeight: (r) => r.typography.fontWeightBold,
|
|
42
|
+
textOverflow: "ellipsis",
|
|
43
|
+
overflow: "hidden",
|
|
44
|
+
whiteSpace: "nowrap",
|
|
45
|
+
py: 1.25,
|
|
46
|
+
px: 2,
|
|
47
|
+
top: -12
|
|
48
|
+
// hack needed to align the group title with the first option (MUI handles custom groups poorly)
|
|
49
|
+
}, children: e.group }),
|
|
50
|
+
e.children,
|
|
51
|
+
/* @__PURE__ */ o(q, { sx: {
|
|
52
|
+
mx: 1,
|
|
53
|
+
mt: 1
|
|
54
|
+
} })
|
|
55
|
+
] }, e.key) });
|
|
95
56
|
};
|
|
96
57
|
export {
|
|
97
|
-
|
|
58
|
+
R as MoniteCurrency
|
|
98
59
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as o, Fragment as F } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { ProductDeleteModal as I } from "./
|
|
3
|
-
import { ProductEditForm as T } from "./
|
|
2
|
+
import { ProductDeleteModal as I } from "./index181.js";
|
|
3
|
+
import { ProductEditForm as T } from "./index191.js";
|
|
4
4
|
import { MoniteScopedProviders as j } from "./index83.js";
|
|
5
5
|
import { useCurrencies as B } from "./index58.js";
|
|
6
6
|
import { useMoniteContext as L } from "./index57.js";
|
|
@@ -21,8 +21,8 @@ import { LoadingSpinner as X } from "./index136.js";
|
|
|
21
21
|
import { NotFound as q } from "./index154.js";
|
|
22
22
|
import { useLingui as J } from "@lingui/react";
|
|
23
23
|
import { MoreVerticalIcon as K, Trash2 as Q, X as Y } from "lucide-react";
|
|
24
|
-
import { useGetProductById as Z } from "./
|
|
25
|
-
import { ProductDetailLine as f } from "./
|
|
24
|
+
import { useGetProductById as Z } from "./index192.js";
|
|
25
|
+
import { ProductDetailLine as f } from "./index193.js";
|
|
26
26
|
import { AccessRestriction as tt } from "./index157.js";
|
|
27
27
|
const $t = (a) => /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(et, { ...a }) }), et = ({
|
|
28
28
|
id: a,
|
|
@@ -1,18 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsxs as A, Fragment as F, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { createElement as j } from "@emotion/react";
|
|
3
|
+
import { useTags as k } from "./index484.js";
|
|
4
|
+
import { TagFormModal as w } from "./index47.js";
|
|
5
|
+
import { useRootElements as y } from "./index92.js";
|
|
6
|
+
import { useLingui as S } from "@lingui/react";
|
|
7
|
+
import I from "@mui/icons-material/Add";
|
|
8
|
+
import { Autocomplete as L, TextField as M, Button as V } from "@mui/material";
|
|
9
|
+
import { createFilterOptions as W } from "@mui/material/Autocomplete";
|
|
10
|
+
import { useState as B, useMemo as m } from "react";
|
|
11
|
+
const p = (o) => o ? o.map(({
|
|
12
|
+
id: r,
|
|
13
|
+
name: n
|
|
14
|
+
}) => ({
|
|
15
|
+
value: r,
|
|
16
|
+
label: n
|
|
17
|
+
})) : [], d = "__create-new__";
|
|
18
|
+
function D(o) {
|
|
19
|
+
return o?.value === d;
|
|
15
20
|
}
|
|
21
|
+
const P = W(), N = ({
|
|
22
|
+
disabled: o,
|
|
23
|
+
value: r,
|
|
24
|
+
onChange: n,
|
|
25
|
+
label: f,
|
|
26
|
+
variant: c = "filled",
|
|
27
|
+
error: v = !1,
|
|
28
|
+
helperText: h,
|
|
29
|
+
required: g = !1
|
|
30
|
+
}) => {
|
|
31
|
+
const {
|
|
32
|
+
i18n: x
|
|
33
|
+
} = S(), {
|
|
34
|
+
root: b
|
|
35
|
+
} = y(), {
|
|
36
|
+
tagsQuery: s
|
|
37
|
+
} = k(), [T, u] = B(!1), C = m(() => r ? p(r) : [], [r]), O = m(() => {
|
|
38
|
+
const t = s.data?.data || [], e = r || [], a = [...t];
|
|
39
|
+
return e.forEach((l) => {
|
|
40
|
+
a.find((q) => q.id === l.id) || a.push(l);
|
|
41
|
+
}), p(a);
|
|
42
|
+
}, [s.data?.data, r]), _ = (t) => {
|
|
43
|
+
const e = t.map((l) => l.value), a = s.data?.data?.filter((l) => e.includes(l.id)) || [];
|
|
44
|
+
n?.(a);
|
|
45
|
+
}, E = () => {
|
|
46
|
+
u(!0);
|
|
47
|
+
};
|
|
48
|
+
return /* @__PURE__ */ A(F, { children: [
|
|
49
|
+
/* @__PURE__ */ i(w, { open: T, onClose: () => u(!1), onCreate: (t) => {
|
|
50
|
+
const e = [...r || [], t];
|
|
51
|
+
n?.(e);
|
|
52
|
+
}, isDeleteAllowed: !1 }),
|
|
53
|
+
/* @__PURE__ */ i(L, { disabled: o, multiple: !0, filterSelectedOptions: !0, getOptionLabel: (t) => t.label, options: O, slotProps: {
|
|
54
|
+
popper: {
|
|
55
|
+
container: b
|
|
56
|
+
}
|
|
57
|
+
}, isOptionEqualToValue: (t, e) => t.value === e.value, value: C, onChange: (t, e) => {
|
|
58
|
+
_(e || []);
|
|
59
|
+
}, filterOptions: (t, e) => {
|
|
60
|
+
const a = P(t, e);
|
|
61
|
+
return a.unshift({
|
|
62
|
+
value: d,
|
|
63
|
+
label: x._("Create new tag")
|
|
64
|
+
}), a;
|
|
65
|
+
}, renderOption: (t, e) => D(e) ? /* @__PURE__ */ i(V, { variant: "text", startIcon: /* @__PURE__ */ i(I, {}), fullWidth: !0, sx: {
|
|
66
|
+
justifyContent: "flex-start",
|
|
67
|
+
px: 2
|
|
68
|
+
}, onClick: E, children: e.label }, e.value) : /* @__PURE__ */ j("li", { ...t, key: e.value }, e.label), renderInput: (t) => /* @__PURE__ */ i(M, { ...t, label: f, variant: c, fullWidth: !0, error: v, helperText: h, required: g }) })
|
|
69
|
+
] });
|
|
70
|
+
};
|
|
16
71
|
export {
|
|
17
|
-
|
|
72
|
+
N as TagsAutocomplete,
|
|
73
|
+
p as tagsToSelect
|
|
18
74
|
};
|
|
@@ -1,77 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
title: e._("GL Code")
|
|
22
|
-
})
|
|
23
|
-
})).meta({
|
|
24
|
-
title: e._("Line Items")
|
|
25
|
-
}), i = t.object({
|
|
26
|
-
id: t.string(),
|
|
27
|
-
name: t.string()
|
|
28
|
-
}).loose().meta({
|
|
29
|
-
title: e._("Tag")
|
|
30
|
-
});
|
|
31
|
-
return t.object({
|
|
32
|
-
invoiceNumber: t.string().min(1, e._("Invoice Number is required")).meta({
|
|
33
|
-
title: e._("Invoice Number")
|
|
34
|
-
}),
|
|
35
|
-
counterpart: t.string().meta({
|
|
36
|
-
title: e._("Vendor")
|
|
37
|
-
}),
|
|
38
|
-
counterpartBankAccount: t.string().optional().meta({
|
|
39
|
-
title: e._("Vendor Bank Account")
|
|
40
|
-
}),
|
|
41
|
-
invoiceDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
42
|
-
title: e._("Invoice Date")
|
|
43
|
-
}),
|
|
44
|
-
dueDate: t.preprocess((a) => a === null ? void 0 : a, t.date()).optional().meta({
|
|
45
|
-
title: e._("Due Date")
|
|
46
|
-
}),
|
|
47
|
-
currency: o().optional().meta({
|
|
48
|
-
title: e._("Currency")
|
|
49
|
-
}),
|
|
50
|
-
tags: t.array(i).meta({
|
|
51
|
-
title: e._("Tags")
|
|
52
|
-
}),
|
|
53
|
-
lineItems: n,
|
|
54
|
-
discount: t.union([t.coerce.number().min(0), t.null()]).optional().meta({
|
|
55
|
-
title: e._("Discount")
|
|
56
|
-
})
|
|
57
|
-
});
|
|
58
|
-
}, s = (e, n) => c(e).refine((i) => i.dueDate instanceof Date, {
|
|
59
|
-
path: ["dueDate"],
|
|
60
|
-
message: e._("Due date is required")
|
|
61
|
-
}).refine((i) => !r("counterpart_id", n) || !!i.counterpart, {
|
|
62
|
-
path: ["counterpart"],
|
|
63
|
-
message: e._("Vendor is required")
|
|
64
|
-
}).refine((i) => !r("counterpart_bank_account_id", n) || !!i.counterpartBankAccount, {
|
|
65
|
-
path: ["counterpartBankAccount"],
|
|
66
|
-
message: e._("Vendor bank account is required")
|
|
67
|
-
}).refine((i) => !r("issued_at", n) || i.invoiceDate instanceof Date, {
|
|
68
|
-
path: ["invoiceDate"],
|
|
69
|
-
message: e._("Invoice date is required")
|
|
70
|
-
}).refine((i) => !r("currency", n) || i.currency !== void 0, {
|
|
71
|
-
path: ["currency"],
|
|
72
|
-
message: e._("Currency is required")
|
|
73
|
-
});
|
|
1
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { TagsAutocomplete as f } from "./index450.js";
|
|
3
|
+
import { FormControl as p } from "@mui/material";
|
|
4
|
+
import { Controller as u } from "react-hook-form";
|
|
5
|
+
const T = ({
|
|
6
|
+
control: t,
|
|
7
|
+
name: i,
|
|
8
|
+
label: n,
|
|
9
|
+
variant: o = "filled",
|
|
10
|
+
disabled: m = !1,
|
|
11
|
+
required: l = !1,
|
|
12
|
+
helperText: d
|
|
13
|
+
}) => /* @__PURE__ */ r(u, { name: i, control: t, render: ({
|
|
14
|
+
field: a,
|
|
15
|
+
fieldState: {
|
|
16
|
+
error: e
|
|
17
|
+
}
|
|
18
|
+
}) => /* @__PURE__ */ r(p, { variant: o, fullWidth: !0, required: l, error: !!e, children: /* @__PURE__ */ r(f, { disabled: m, value: a.value || [], onChange: (s) => {
|
|
19
|
+
a.onChange(s);
|
|
20
|
+
}, label: n, variant: o, error: !!e, helperText: e?.message || d, required: l }) }) });
|
|
74
21
|
export {
|
|
75
|
-
|
|
76
|
-
r as isFieldRequiredByValidations
|
|
22
|
+
T as TagsAutocompleteInput
|
|
77
23
|
};
|
|
@@ -1,24 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
const i = ({
|
|
2
|
+
variant: t,
|
|
3
|
+
isError: e = !1,
|
|
4
|
+
componentType: s,
|
|
5
|
+
showAvatar: a = !1,
|
|
6
|
+
showUsersAsEmail: n = !1,
|
|
7
|
+
className: w = ""
|
|
8
|
+
}) => {
|
|
9
|
+
if (e) {
|
|
10
|
+
const r = `ttw:text-muted-foreground ${w}`;
|
|
11
|
+
return s === "user" && t !== "badge" ? {
|
|
12
|
+
useBadge: !1,
|
|
13
|
+
badgeVariant: "outline",
|
|
14
|
+
className: r,
|
|
15
|
+
showAvatar: !1,
|
|
16
|
+
showIcon: !1
|
|
17
|
+
} : {
|
|
18
|
+
useBadge: !0,
|
|
19
|
+
badgeVariant: "outline",
|
|
20
|
+
className: r,
|
|
21
|
+
showAvatar: !1,
|
|
22
|
+
showIcon: !1
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
return s === "user" ? o(t, a, n, w) : l(t, w);
|
|
21
26
|
};
|
|
27
|
+
function o(t, e, s, a) {
|
|
28
|
+
switch (t) {
|
|
29
|
+
case "badge":
|
|
30
|
+
return {
|
|
31
|
+
useBadge: !0,
|
|
32
|
+
badgeVariant: "secondary",
|
|
33
|
+
className: `ttw:gap-1 ttw:px-2 ttw:py-1 ${a}`,
|
|
34
|
+
showAvatar: e,
|
|
35
|
+
showIcon: !1
|
|
36
|
+
};
|
|
37
|
+
case "cell":
|
|
38
|
+
return {
|
|
39
|
+
useBadge: !1,
|
|
40
|
+
badgeVariant: "secondary",
|
|
41
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ttw:overflow-hidden ttw:text-ellipsis ttw:whitespace-nowrap ttw:block ${s ? "ttw:text-blue-600" : ""} ${a}`,
|
|
42
|
+
showAvatar: !1,
|
|
43
|
+
showIcon: !1
|
|
44
|
+
};
|
|
45
|
+
default:
|
|
46
|
+
return {
|
|
47
|
+
useBadge: !1,
|
|
48
|
+
badgeVariant: "secondary",
|
|
49
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ${a}`,
|
|
50
|
+
showAvatar: !1,
|
|
51
|
+
showIcon: !1
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function l(t, e) {
|
|
56
|
+
switch (t) {
|
|
57
|
+
case "filled":
|
|
58
|
+
return {
|
|
59
|
+
useBadge: !0,
|
|
60
|
+
badgeVariant: "secondary",
|
|
61
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-gray-100 ttw:text-gray-800 ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-lg ttw:px-4 ttw:py-1 ${e}`,
|
|
62
|
+
showAvatar: !1,
|
|
63
|
+
showIcon: !1
|
|
64
|
+
};
|
|
65
|
+
case "outlined":
|
|
66
|
+
return {
|
|
67
|
+
useBadge: !0,
|
|
68
|
+
badgeVariant: "outline",
|
|
69
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:text-sm ttw:font-medium ttw:whitespace-nowrap ttw:rounded ttw:px-2 ttw:py-1 ttw:gap-1 ${e}`,
|
|
70
|
+
showAvatar: !1,
|
|
71
|
+
showIcon: !0
|
|
72
|
+
};
|
|
73
|
+
default:
|
|
74
|
+
return {
|
|
75
|
+
useBadge: !0,
|
|
76
|
+
badgeVariant: "secondary",
|
|
77
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-[rgb(248,248,255)] ttw:text-[rgb(55,55,255)] ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-[7.98px] ttw:px-2 ttw:py-[7px] ttw:gap-2 ttw:transition-colors ${e}`,
|
|
78
|
+
showAvatar: !1,
|
|
79
|
+
showIcon: !0
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
22
83
|
export {
|
|
23
|
-
|
|
84
|
+
i as getVariantProps
|
|
24
85
|
};
|
|
@@ -1,11 +1,41 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { getSharedApprovalRuleLabel as _, getUsersFromListLabel as t } from "./index395.js";
|
|
2
|
+
const r = {
|
|
3
|
+
SINGLE_USER: "single_user",
|
|
4
|
+
USERS_FROM_LIST: "users_from_list",
|
|
5
|
+
ROLES_FROM_LIST: "roles_from_list",
|
|
6
|
+
APPROVAL_CHAIN: "approval_chain"
|
|
7
|
+
}, S = {
|
|
8
|
+
REQUEST_APPROVAL_BY_USERS: "ApprovalRequests.request_approval_by_users"
|
|
9
|
+
}, L = (s, e) => {
|
|
10
|
+
switch (s) {
|
|
11
|
+
case r.SINGLE_USER:
|
|
12
|
+
return e._("Single user");
|
|
13
|
+
case r.USERS_FROM_LIST:
|
|
14
|
+
return e._("Users from the list");
|
|
15
|
+
case r.ROLES_FROM_LIST:
|
|
16
|
+
return e._("Roles from the list");
|
|
17
|
+
case r.APPROVAL_CHAIN:
|
|
18
|
+
return e._("Approval chain");
|
|
19
|
+
default:
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
}, l = (s, e, a) => {
|
|
23
|
+
switch (s) {
|
|
24
|
+
case r.SINGLE_USER:
|
|
25
|
+
return _.singleUser(e);
|
|
26
|
+
case r.USERS_FROM_LIST:
|
|
27
|
+
return t(e, a);
|
|
28
|
+
case r.ROLES_FROM_LIST:
|
|
29
|
+
return _.anyUserWithRole(e);
|
|
30
|
+
case r.APPROVAL_CHAIN:
|
|
31
|
+
return _.allUsersFromList(e);
|
|
32
|
+
default:
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
9
36
|
export {
|
|
10
|
-
|
|
37
|
+
r as APPROVAL_POLICY_RULE_TYPES,
|
|
38
|
+
S as APPROVAL_REQUEST_CALLS,
|
|
39
|
+
l as getRuleLabel,
|
|
40
|
+
L as getRuleName
|
|
11
41
|
};
|
|
@@ -1,59 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} = L(), a = n._("Currency"), c = g(() => {
|
|
26
|
-
const e = x(n);
|
|
27
|
-
return l ? e.filter((r) => l.includes(r.code)) : e;
|
|
28
|
-
}, [l, n]), f = O(c, t);
|
|
29
|
-
return /* @__PURE__ */ o(M, { ...d, required: s, disabled: c?.length === 1 || d.disabled, className: `Monite-Currency ${h && "Monite-Label-Hidden"}`, disableClearable: !C, label: a, options: f, optionKey: "code", labelKey: i ? "code" : "label", fullWidth: m, slotProps: {
|
|
30
|
-
paper: {
|
|
31
|
-
sx: {
|
|
32
|
-
"& .MuiAutocomplete-listbox hr:last-of-type": {
|
|
33
|
-
display: "none"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
1
|
+
function s(e) {
|
|
2
|
+
return e ? {
|
|
3
|
+
number_of_days: e.number_of_days ?? null,
|
|
4
|
+
discount: e.discount ?? null
|
|
5
|
+
} : null;
|
|
6
|
+
}
|
|
7
|
+
function d(e) {
|
|
8
|
+
return JSON.stringify({
|
|
9
|
+
name: e.name,
|
|
10
|
+
description: e.description ?? null,
|
|
11
|
+
term_final: {
|
|
12
|
+
number_of_days: e.term_final?.number_of_days ?? null
|
|
13
|
+
},
|
|
14
|
+
term_1: s(e.term_1),
|
|
15
|
+
term_2: s(e.term_2)
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function a(e) {
|
|
19
|
+
const t = /* @__PURE__ */ new Map(), r = [], u = /* @__PURE__ */ new Map();
|
|
20
|
+
for (const n of e) {
|
|
21
|
+
const o = d(n), i = t.get(o);
|
|
22
|
+
if (!i) {
|
|
23
|
+
t.set(o, n.id), r.push(n);
|
|
24
|
+
continue;
|
|
36
25
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
whiteSpace: "nowrap",
|
|
45
|
-
py: 1.25,
|
|
46
|
-
px: 2,
|
|
47
|
-
top: -12
|
|
48
|
-
// hack needed to align the group title with the first option (MUI handles custom groups poorly)
|
|
49
|
-
}, children: e.group }),
|
|
50
|
-
e.children,
|
|
51
|
-
/* @__PURE__ */ o(q, { sx: {
|
|
52
|
-
mx: 1,
|
|
53
|
-
mt: 1
|
|
54
|
-
} })
|
|
55
|
-
] }, e.key) });
|
|
56
|
-
};
|
|
26
|
+
u.set(n.id, i);
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
dedupedTerms: r,
|
|
30
|
+
duplicateIdMap: u
|
|
31
|
+
};
|
|
32
|
+
}
|
|
57
33
|
export {
|
|
58
|
-
|
|
34
|
+
a as dedupePaymentTermsByContent
|
|
59
35
|
};
|