@tesouro/embedded-components-react 0.2.155 → 0.2.158
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.d.ts +10 -1
- package/dist/lib/ReceivablesWidget.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +73 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +6 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +119 -216
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +217 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +46 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +11 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +150 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +141 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +86 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +183 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +23 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +37 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +52 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +25 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +5 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +75 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +32 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +485 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +165 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +39 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +53 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +113 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +22 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +40 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +52 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +18 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +40 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +63 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +108 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +84 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +63 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +55 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +28 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +56 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +15 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +39 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +346 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +302 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +99 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +154 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +265 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +18 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +93 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +97 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +210 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +73 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +43 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +31 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +149 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +17 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +7 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +66 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +157 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +27 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +23 -485
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +76 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +25 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +127 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +49 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +115 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +106 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +48 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +201 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +68 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +39 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +14 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +74 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +21 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +19 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +171 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +134 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +162 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +58 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +64 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +54 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +9 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +53 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +23 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +61 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +105 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +45 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +35 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +28 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +69 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +96 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +36 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +10 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +32 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +14 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +48 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +6 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +123 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +16 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +70 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +50 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +89 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +38 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +32 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +30 -267
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +4 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +124 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +68 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +25 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +19 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +4 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +19 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +47 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- 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 +47 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +67 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +13 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +66 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +109 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +80 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +2 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +8 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +7 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +82 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +83 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +267 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +37 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +60 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +137 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +283 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +49 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +29 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +67 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +57 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +41 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +18 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +80 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +49 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +35 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +47 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +74 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +85 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +53 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +29 -33
- 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 +7 -7
- 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 +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +34 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +15 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +20 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +43 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +34 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +13 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +50 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +31 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +85 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +24 -55
- 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 +104 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +105 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +72 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +66 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +33 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +28 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +23 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +37 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +14 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +3 -3
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +17 -17
- package/dist/pending-feature-style-sources.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,215 +1,65 @@
|
|
|
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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
formatToMinorUnits: u
|
|
62
|
-
} = x(), {
|
|
63
|
-
componentSettings: F
|
|
64
|
-
} = $(), {
|
|
65
|
-
data: b
|
|
66
|
-
} = A(e.counterpartId), c = I(b), p = F.onboarding.allowedCurrencies?.[0] ?? "USD", y = l(() => {
|
|
67
|
-
const a = {}, t = e.activeDateField;
|
|
68
|
-
if (e.dateFrom && (a[`${t}__gte`] = m(e.dateFrom, {
|
|
69
|
-
representation: "date"
|
|
70
|
-
})), e.dateTo && (a[`${t}__lte`] = m(e.dateTo, {
|
|
71
|
-
representation: "date"
|
|
72
|
-
})), e.status.length ? a.status__in = e.status.flatMap((r) => j[r] ?? [r]) : a.status__in = R, e.vendorName && (a.counterpart_name__icontains = e.vendorName), e.counterpartId && (a.counterpart_id = e.counterpartId), e.hasFile !== void 0 && (a.has_file = e.hasFile), e.search && (a.search_text = e.search), e.amountMode !== "any") {
|
|
73
|
-
const r = parseFloat(e.amountMin), s = parseFloat(e.amountMax), i = (n) => u(n, p) ?? E(n, 2);
|
|
74
|
-
if (e.amountMode === "exact") {
|
|
75
|
-
if (!isNaN(r)) {
|
|
76
|
-
const n = i(r);
|
|
77
|
-
a.total_amount__gte = n, a.total_amount__lte = n;
|
|
78
|
-
}
|
|
79
|
-
} else
|
|
80
|
-
isNaN(r) || (a.total_amount__gte = i(r)), isNaN(s) || (a.total_amount__lte = i(s));
|
|
81
|
-
}
|
|
82
|
-
return a;
|
|
83
|
-
}, [e, p, u]), g = l(() => {
|
|
84
|
-
let a = 0;
|
|
85
|
-
return e.status.length && a++, e.vendorName && a++, e.counterpartId && a++, e.hasFile !== void 0 && a++, e.amountMode !== "any" && a++, e.search && a++, a;
|
|
86
|
-
}, [e]), M = l(() => {
|
|
87
|
-
const a = [];
|
|
88
|
-
if (e.dateFrom || e.dateTo) {
|
|
89
|
-
const t = (e.datePreset ? _.find((s) => s.value === e.datePreset)?.label : void 0) ?? D(e.dateFrom, e.dateTo), r = e.activeDateField === "due_date" ? "Due date" : e.activeDateField === "created_at" ? "Created on" : "Issue date";
|
|
90
|
-
a.push({
|
|
91
|
-
key: "date",
|
|
92
|
-
label: `${r}: ${t}`
|
|
93
|
-
});
|
|
94
|
-
}
|
|
95
|
-
if (e.status.length) {
|
|
96
|
-
const t = e.status.map((r) => v.find((s) => s.value === r)?.label ?? r);
|
|
97
|
-
a.push({
|
|
98
|
-
key: "status",
|
|
99
|
-
label: `Status: ${C(t)}`
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
return e.vendorName && a.push({
|
|
103
|
-
key: "vendor",
|
|
104
|
-
label: `Vendor: ${e.vendorName}`
|
|
105
|
-
}), e.counterpartId && a.push({
|
|
106
|
-
key: "counterpart",
|
|
107
|
-
label: `Vendor: ${c || e.counterpartId}`
|
|
108
|
-
}), e.hasFile === !0 && a.push({
|
|
109
|
-
key: "attachment",
|
|
110
|
-
label: "Has attachment"
|
|
111
|
-
}), e.hasFile === !1 && a.push({
|
|
112
|
-
key: "attachment",
|
|
113
|
-
label: "No attachment"
|
|
114
|
-
}), e.amountMode !== "any" && a.push({
|
|
115
|
-
key: "amount",
|
|
116
|
-
label: "Amount"
|
|
117
|
-
}), e.search && a.push({
|
|
118
|
-
key: "search",
|
|
119
|
-
label: `Search: ${e.search}`
|
|
120
|
-
}), a;
|
|
121
|
-
}, [e, c]), N = d((a) => {
|
|
122
|
-
const {
|
|
123
|
-
from: t,
|
|
124
|
-
to: r
|
|
125
|
-
} = U(a);
|
|
126
|
-
o((s) => ({
|
|
127
|
-
...s,
|
|
128
|
-
datePreset: a,
|
|
129
|
-
dateFrom: t,
|
|
130
|
-
dateTo: r
|
|
131
|
-
}));
|
|
132
|
-
}, []), P = d((a, t) => {
|
|
133
|
-
o((r) => ({
|
|
134
|
-
...r,
|
|
135
|
-
datePreset: void 0,
|
|
136
|
-
dateFrom: a,
|
|
137
|
-
dateTo: t
|
|
138
|
-
}));
|
|
139
|
-
}, []), S = d((a) => {
|
|
140
|
-
o((t) => ({
|
|
141
|
-
...t,
|
|
142
|
-
activeDateField: a
|
|
143
|
-
}));
|
|
144
|
-
}, []), T = d((a) => {
|
|
145
|
-
switch (a) {
|
|
146
|
-
case "date": {
|
|
147
|
-
o((t) => ({
|
|
148
|
-
...t,
|
|
149
|
-
datePreset: void 0,
|
|
150
|
-
dateFrom: void 0,
|
|
151
|
-
dateTo: void 0,
|
|
152
|
-
activeDateField: "due_date"
|
|
153
|
-
}));
|
|
154
|
-
break;
|
|
155
|
-
}
|
|
156
|
-
case "status":
|
|
157
|
-
o((t) => ({
|
|
158
|
-
...t,
|
|
159
|
-
status: []
|
|
160
|
-
}));
|
|
161
|
-
break;
|
|
162
|
-
case "vendor":
|
|
163
|
-
o((t) => ({
|
|
164
|
-
...t,
|
|
165
|
-
vendorName: ""
|
|
166
|
-
}));
|
|
167
|
-
break;
|
|
168
|
-
case "counterpart":
|
|
169
|
-
o((t) => ({
|
|
170
|
-
...t,
|
|
171
|
-
counterpartId: void 0
|
|
172
|
-
}));
|
|
173
|
-
break;
|
|
174
|
-
case "attachment":
|
|
175
|
-
o((t) => ({
|
|
176
|
-
...t,
|
|
177
|
-
hasFile: void 0
|
|
178
|
-
}));
|
|
179
|
-
break;
|
|
180
|
-
case "amount":
|
|
181
|
-
o((t) => ({
|
|
182
|
-
...t,
|
|
183
|
-
amountMode: "any",
|
|
184
|
-
amountMin: "",
|
|
185
|
-
amountMax: ""
|
|
186
|
-
}));
|
|
187
|
-
break;
|
|
188
|
-
case "search":
|
|
189
|
-
o((t) => ({
|
|
190
|
-
...t,
|
|
191
|
-
search: ""
|
|
192
|
-
}));
|
|
193
|
-
break;
|
|
194
|
-
}
|
|
195
|
-
}, []), k = d(() => o(h()), []);
|
|
196
|
-
return {
|
|
197
|
-
state: e,
|
|
198
|
-
setState: o,
|
|
199
|
-
queryParams: y,
|
|
200
|
-
activeFilterCount: g,
|
|
201
|
-
activeChips: M,
|
|
202
|
-
datePresets: _,
|
|
203
|
-
statusOptions: v,
|
|
204
|
-
setDatePreset: N,
|
|
205
|
-
setDateRange: P,
|
|
206
|
-
setActiveDateField: S,
|
|
207
|
-
clearFilter: T,
|
|
208
|
-
clearAll: k
|
|
209
|
-
};
|
|
210
|
-
}
|
|
1
|
+
const t = (e, r) => {
|
|
2
|
+
switch (r) {
|
|
3
|
+
case "draft":
|
|
4
|
+
return e._("Draft");
|
|
5
|
+
case "issued":
|
|
6
|
+
return e._("Issued");
|
|
7
|
+
case "accepted":
|
|
8
|
+
return e._("Accepted");
|
|
9
|
+
case "expired":
|
|
10
|
+
return e._("Expired");
|
|
11
|
+
case "declined":
|
|
12
|
+
return e._("Declined");
|
|
13
|
+
case "recurring":
|
|
14
|
+
return e._("Recurring");
|
|
15
|
+
case "partially_paid":
|
|
16
|
+
return e._("Partially paid");
|
|
17
|
+
case "paid":
|
|
18
|
+
return e._("Paid");
|
|
19
|
+
case "overdue":
|
|
20
|
+
return e._("Overdue");
|
|
21
|
+
case "uncollectible":
|
|
22
|
+
return e._("Uncollectible");
|
|
23
|
+
case "canceled":
|
|
24
|
+
return e._("Canceled");
|
|
25
|
+
case "deleted":
|
|
26
|
+
return e._("Deleted");
|
|
27
|
+
default:
|
|
28
|
+
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
29
|
+
}
|
|
30
|
+
}, a = (e, r) => {
|
|
31
|
+
switch (r) {
|
|
32
|
+
case "active":
|
|
33
|
+
return e._("Active");
|
|
34
|
+
case "paused":
|
|
35
|
+
return e._("Paused");
|
|
36
|
+
case "canceled":
|
|
37
|
+
return e._("Cancelled");
|
|
38
|
+
case "completed":
|
|
39
|
+
return e._("Complete");
|
|
40
|
+
default:
|
|
41
|
+
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
42
|
+
}
|
|
43
|
+
}, n = (e, r) => {
|
|
44
|
+
switch (r) {
|
|
45
|
+
case "pending":
|
|
46
|
+
return e._("Scheduled");
|
|
47
|
+
case "skipped":
|
|
48
|
+
return e._("Skipped");
|
|
49
|
+
case "canceled":
|
|
50
|
+
return e._("Cancelled");
|
|
51
|
+
case "issue_failed":
|
|
52
|
+
return e._("Issue failed");
|
|
53
|
+
case "send_failed":
|
|
54
|
+
return e._("Send failed");
|
|
55
|
+
case "completed":
|
|
56
|
+
return e._("Complete");
|
|
57
|
+
default:
|
|
58
|
+
throw new Error(`Unknown status ${JSON.stringify(r)}`);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
211
61
|
export {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
62
|
+
n as getCommonRecurrenceIterationStatusLabel,
|
|
63
|
+
a as getCommonRecurrenceStatusLabel,
|
|
64
|
+
t as getCommonStatusLabel
|
|
215
65
|
};
|
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
|
|
10
|
-
display: "flex",
|
|
11
|
-
flexDirection: "column",
|
|
12
|
-
gap: 1,
|
|
13
|
-
px: 3,
|
|
14
|
-
py: r ? 3 : 2.5,
|
|
15
|
-
width: "100%",
|
|
16
|
-
minHeight: "auto",
|
|
17
|
-
borderRadius: "16px",
|
|
18
|
-
boxShadow: "0 16px 24px 0 rgba(0, 0, 0, 0.02)",
|
|
19
|
-
border: r ? "none" : `1px solid ${e.palette.divider}`
|
|
20
|
-
}, children: a });
|
|
21
|
-
};
|
|
1
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as o } from "./index100.js";
|
|
3
|
+
import * as r from "@radix-ui/react-label";
|
|
4
|
+
function l({
|
|
5
|
+
className: t,
|
|
6
|
+
...e
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ a(r.Root, { "data-slot": "label", className: o("ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-none ttw:font-medium ttw:select-none ttw:group-data-[disabled=true]:pointer-events-none ttw:group-data-[disabled=true]:opacity-50 ttw:peer-disabled:cursor-not-allowed ttw:peer-disabled:opacity-50", t), ...e });
|
|
9
|
+
}
|
|
22
10
|
export {
|
|
23
|
-
|
|
11
|
+
l as Label
|
|
24
12
|
};
|
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
] });
|
|
17
|
-
};
|
|
1
|
+
import e from "@mui/icons-material/Cancel";
|
|
2
|
+
import _ from "@mui/icons-material/DangerousOutlined";
|
|
3
|
+
import r from "@mui/icons-material/HourglassEmpty";
|
|
4
|
+
import a from "@mui/icons-material/PaidOutlined";
|
|
5
|
+
const s = ["waiting", "approved", "rejected", "canceled"], o = {
|
|
6
|
+
approved: "success",
|
|
7
|
+
canceled: "secondary",
|
|
8
|
+
rejected: "error",
|
|
9
|
+
waiting: "warning"
|
|
10
|
+
}, A = {
|
|
11
|
+
approved: a,
|
|
12
|
+
canceled: e,
|
|
13
|
+
rejected: _,
|
|
14
|
+
waiting: r
|
|
15
|
+
}, R = "status", d = "created_at", i = "created_by", S = "current_user";
|
|
18
16
|
export {
|
|
19
|
-
|
|
17
|
+
s as APPROVAL_REQUEST_STATUSES,
|
|
18
|
+
A as APPROVAL_REQUEST_STATUS_TO_MUI_ICON_MAP,
|
|
19
|
+
i as FILTER_TYPE_ADDED_BY,
|
|
20
|
+
d as FILTER_TYPE_CREATED_AT,
|
|
21
|
+
S as FILTER_TYPE_CURRENT_USER,
|
|
22
|
+
R as FILTER_TYPE_STATUS,
|
|
23
|
+
o as ROW_TO_STATUS_MUI_MAP
|
|
20
24
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as i } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as a } from "./
|
|
2
|
+
import { getAPIErrorMessage as a } from "./index122.js";
|
|
3
3
|
import { useLingui as n } from "@lingui/react";
|
|
4
4
|
import { toast as m } from "react-hot-toast";
|
|
5
5
|
const d = (t) => {
|
|
@@ -1,21 +1,59 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsxs as n, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as s } from "./index92.js";
|
|
3
|
+
import { FilterContainer as p } from "./index305.js";
|
|
4
|
+
import { useLingui as m } from "@lingui/react";
|
|
5
|
+
import { FormControl as u, InputLabel as c, Select as d, MenuItem as E, FormControlLabel as F, Switch as T } from "@mui/material";
|
|
6
|
+
import { DatePicker as _ } from "@mui/x-date-pickers";
|
|
7
|
+
import { APPROVAL_REQUEST_STATUSES as v, FILTER_TYPE_STATUS as R, FILTER_TYPE_ADDED_BY as A, FILTER_TYPE_CREATED_AT as C, FILTER_TYPE_CURRENT_USER as h } from "./index279.js";
|
|
8
|
+
import { getRowToStatusTextMap as S } from "./index383.js";
|
|
9
|
+
import { AutocompleteCreatedBy as M } from "./index384.js";
|
|
10
|
+
const O = ({
|
|
11
|
+
onChangeFilter: l,
|
|
12
|
+
sx: i
|
|
5
13
|
}) => {
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
const {
|
|
15
|
+
i18n: a
|
|
16
|
+
} = m(), {
|
|
17
|
+
root: r
|
|
18
|
+
} = s();
|
|
19
|
+
return /* @__PURE__ */ n(p, { className: "Monite-ApprovalRequestsFilters", sx: i, children: [
|
|
20
|
+
/* @__PURE__ */ n(u, { variant: "standard", fullWidth: !0, className: "Monite-ApprovalStatusFilter Monite-FilterControl", children: [
|
|
21
|
+
/* @__PURE__ */ t(c, { id: "status", children: a._("Status") }),
|
|
22
|
+
/* @__PURE__ */ t(d, { labelId: "status", label: a._("Status"), defaultValue: "all", MenuProps: {
|
|
23
|
+
container: r
|
|
24
|
+
}, onChange: (e) => {
|
|
25
|
+
l(R, e && e.target.value);
|
|
26
|
+
}, children: [{
|
|
27
|
+
label: a._("All invoices"),
|
|
28
|
+
value: "all"
|
|
29
|
+
}, ...Object.values(v).map((e) => ({
|
|
30
|
+
label: S(a)[e],
|
|
31
|
+
value: e
|
|
32
|
+
}))].map(({
|
|
33
|
+
label: e,
|
|
34
|
+
value: o
|
|
35
|
+
}) => /* @__PURE__ */ t(E, { value: o, children: e }, o)) })
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ t(M, { onChange: (e) => l(A, e || null) }),
|
|
38
|
+
/* @__PURE__ */ t(_, { label: a._("Requested on"), className: "Monite-ApprovalRequestedOnFilter Monite-FilterControl Monite-DateFilterControl", onChange: (e, o) => {
|
|
39
|
+
o.validationError || l(C, e);
|
|
40
|
+
}, slotProps: {
|
|
41
|
+
textField: {
|
|
42
|
+
variant: "standard"
|
|
43
|
+
},
|
|
44
|
+
popper: {
|
|
45
|
+
container: r
|
|
46
|
+
},
|
|
47
|
+
dialog: {
|
|
48
|
+
container: r
|
|
49
|
+
},
|
|
50
|
+
actionBar: {
|
|
51
|
+
actions: ["clear", "today"]
|
|
52
|
+
}
|
|
53
|
+
}, views: ["year", "month", "day"] }),
|
|
54
|
+
/* @__PURE__ */ t(F, { control: /* @__PURE__ */ t(T, {}), className: "Monite-ApprovalOnlyMyFilter Monite-FilterControl", label: a._("Only my approvals"), onChange: (e, o) => l(h, o) })
|
|
55
|
+
] });
|
|
18
56
|
};
|
|
19
57
|
export {
|
|
20
|
-
|
|
58
|
+
O as ApprovalRequestsFilter
|
|
21
59
|
};
|
|
@@ -1,173 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import "@mui/x-data-grid";
|
|
12
|
-
import { useComponentSettings as w } from "./index67.js";
|
|
13
|
-
import "@tanstack/react-query";
|
|
14
|
-
import "date-fns";
|
|
15
|
-
import { useMyEntity as G } from "./index78.js";
|
|
16
|
-
import x from "react-script-hook";
|
|
17
|
-
const W = "https://cdn.sandbox.kanmon.dev/scripts/v2/kanmon-connect.js", L = "https://cdn.kanmon.dev/scripts/v2/kanmon-connect.js", s = {
|
|
18
|
-
INIT: "init",
|
|
19
|
-
IN_PROGRESS: "in_progress",
|
|
20
|
-
PENDING_APPROVAL: "pending_approval",
|
|
21
|
-
NO_OFFERS_AVAILABLE: "no_offers",
|
|
22
|
-
SERVICING: "servicing",
|
|
23
|
-
APPROVED: "approved",
|
|
24
|
-
OFFER_ACCEPTED: "offer_accepted",
|
|
25
|
-
OFFERS_EXPIRED: "offers_expired"
|
|
26
|
-
}, ae = () => {
|
|
1
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { Chip as u } from "@mui/material";
|
|
4
|
+
import { styled as l, useThemeProps as f } from "@mui/material/styles";
|
|
5
|
+
import { ROW_TO_STATUS_MUI_MAP as A, APPROVAL_REQUEST_STATUS_TO_MUI_ICON_MAP as S } from "./index279.js";
|
|
6
|
+
import { getRowToStatusTextMap as T } from "./index383.js";
|
|
7
|
+
const c = ({
|
|
8
|
+
ref: s,
|
|
9
|
+
...e
|
|
10
|
+
}) => {
|
|
27
11
|
const {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} = G(), I = (() => {
|
|
46
|
-
switch (t?.business_status) {
|
|
47
|
-
case "NEW":
|
|
48
|
-
default:
|
|
49
|
-
return s.INIT;
|
|
50
|
-
case "INPUT_REQUIRED":
|
|
51
|
-
return s.IN_PROGRESS;
|
|
52
|
-
case "ONBOARDED":
|
|
53
|
-
return t?.offers?.length === 0 ? s.PENDING_APPROVAL : t?.offers?.[0]?.status === "NEW" ? s.APPROVED : t?.offers?.[0]?.status === "EXPIRED" ? s.OFFERS_EXPIRED : t?.offers?.[0]?.status === "ACCEPTED" ? s.OFFER_ACCEPTED : s.SERVICING;
|
|
54
|
-
}
|
|
55
|
-
})(), F = (() => {
|
|
56
|
-
try {
|
|
57
|
-
const e = new URL(_);
|
|
58
|
-
return !["api.dev.monite.com", "api.sandbox.monite.com"].includes(e.hostname);
|
|
59
|
-
} catch {
|
|
60
|
-
return !0;
|
|
61
|
-
}
|
|
62
|
-
})() ? L : W, [p] = x({
|
|
63
|
-
src: F
|
|
64
|
-
}), [N, m] = U(!1), g = (e) => {
|
|
65
|
-
const n = {
|
|
66
|
-
type: "receivable",
|
|
67
|
-
status: "NEW",
|
|
68
|
-
invoice_id: e?.platformInvoiceId,
|
|
69
|
-
document_id: e?.platformInvoiceNumber,
|
|
70
|
-
due_date: e?.invoiceDueDate,
|
|
71
|
-
issue_date: e?.invoiceIssuedDate,
|
|
72
|
-
total_amount: e?.invoiceAmountCents,
|
|
73
|
-
currency: "USD",
|
|
74
|
-
payer_type: e?.payorType,
|
|
75
|
-
payer_business_name: e?.payorBusinessName,
|
|
76
|
-
payer_first_name: e?.payorFirstName,
|
|
77
|
-
payer_last_name: e?.payorLastName,
|
|
78
|
-
requested_amount: e?.amountRequestedForFinancingCents,
|
|
79
|
-
principal_amount: e?.principalAmountCents,
|
|
80
|
-
repayment_amount: e?.repaymentAmountCents,
|
|
81
|
-
advance_amount: e?.invoiceAdvanceAmountCents,
|
|
82
|
-
advance_rate_percentage: e?.advanceRatePercentage * 100,
|
|
83
|
-
fee_amount: e?.feeAmountCents,
|
|
84
|
-
fee_percentage: e?.transactionFeePercentage * 100,
|
|
85
|
-
repayment_schedule: {
|
|
86
|
-
repayment_date: e?.repaymentSchedule?.schedule?.[0]?.repaymentDate,
|
|
87
|
-
repayment_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentAmountCents,
|
|
88
|
-
repayment_fee_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentFeeAmountCents,
|
|
89
|
-
repayment_principal_amount: e?.repaymentSchedule?.schedule?.[0]?.repaymentPrincipalAmountCents
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
i.finops.getFinancingInvoices.setQueryData(i.finops.getFinancingInvoices.getQueryKey({
|
|
93
|
-
query: {
|
|
94
|
-
type: "receivable",
|
|
95
|
-
invoice_id: e?.platformInvoiceId
|
|
96
|
-
}
|
|
97
|
-
}), (r) => ({
|
|
98
|
-
...r,
|
|
99
|
-
data: [n]
|
|
100
|
-
}), c), i.finops.getFinancingInvoices.setQueryData(i.finops.getFinancingInvoices.getQueryKey({
|
|
101
|
-
query: {}
|
|
102
|
-
}), (r) => {
|
|
103
|
-
const S = r?.data ? r.data : [];
|
|
104
|
-
return {
|
|
105
|
-
...r,
|
|
106
|
-
data: [n, ...S]
|
|
107
|
-
};
|
|
108
|
-
}, c);
|
|
109
|
-
}, C = ({
|
|
110
|
-
connectToken: e
|
|
111
|
-
}) => {
|
|
112
|
-
window?.KANMON_CONNECT?.start({
|
|
113
|
-
connectToken: e,
|
|
114
|
-
onEvent: (n) => {
|
|
115
|
-
if (!(n.eventType !== "USER_STATE_CHANGED" && n.eventType !== "USER_CONFIRMED_INVOICE"))
|
|
116
|
-
if (n.eventType === "USER_CONFIRMED_INVOICE")
|
|
117
|
-
g(n.data.invoice);
|
|
118
|
-
else {
|
|
119
|
-
switch (n.data.userState) {
|
|
120
|
-
case "START_FLOW":
|
|
121
|
-
a(o._("Apply for financing"));
|
|
122
|
-
break;
|
|
123
|
-
case "USER_INPUT_REQUIRED":
|
|
124
|
-
n.data.section === "OFFER" ? a(o._("Review terms and sign")) : a(o._("Resume application"));
|
|
125
|
-
break;
|
|
126
|
-
case "WAITING_FOR_OFFERS":
|
|
127
|
-
a(""), (t?.business_status === "INPUT_REQUIRED" || t?.business_status === "NEW") && y.onWorkingCapitalOnboardingComplete?.(E);
|
|
128
|
-
break;
|
|
129
|
-
case "OFFERS_EXPIRED":
|
|
130
|
-
case "NO_OFFERS_EXTENDED":
|
|
131
|
-
a("");
|
|
132
|
-
break;
|
|
133
|
-
case "SERVICING":
|
|
134
|
-
a(o._("Financing menu")), t?.business_status === "ONBOARDED" && t?.offers?.[0]?.status === "NEW" && window.localStorage.setItem("isFinanceTabNew", "true");
|
|
135
|
-
break;
|
|
136
|
-
case "VIEW_OFFERS":
|
|
137
|
-
case "OFFER_ACCEPTED":
|
|
138
|
-
a(o._("Review terms and sign"));
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
i.finops.getFinancingOffers.invalidateQueries(c);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
};
|
|
146
|
-
V(() => {
|
|
147
|
-
!d && !p && u && (async () => {
|
|
148
|
-
m(!0);
|
|
149
|
-
try {
|
|
150
|
-
const e = await l.mutateAsync();
|
|
151
|
-
C({
|
|
152
|
-
connectToken: e.connect_token
|
|
153
|
-
}), f(!0);
|
|
154
|
-
} catch {
|
|
155
|
-
} finally {
|
|
156
|
-
m(!1);
|
|
157
|
-
}
|
|
158
|
-
})();
|
|
159
|
-
}, [p, u]);
|
|
160
|
-
const O = p || N, v = u, A = t?.business_status === "ONBOARDED" && t?.offers?.[0]?.status === "CURRENT", D = t?.offers?.[0];
|
|
161
|
-
return {
|
|
162
|
-
buttonText: R,
|
|
163
|
-
applicationState: I,
|
|
164
|
-
offer: D,
|
|
165
|
-
isLoading: O,
|
|
166
|
-
isEnabled: v,
|
|
167
|
-
isServicing: A
|
|
168
|
-
};
|
|
169
|
-
};
|
|
12
|
+
status: t,
|
|
13
|
+
icon: a,
|
|
14
|
+
size: i,
|
|
15
|
+
variant: p
|
|
16
|
+
} = f({
|
|
17
|
+
props: e,
|
|
18
|
+
name: "MoniteApprovalRequestStatusChip"
|
|
19
|
+
}), {
|
|
20
|
+
i18n: m
|
|
21
|
+
} = n(), o = S[t];
|
|
22
|
+
return /* @__PURE__ */ r(_, { ref: s, color: A[t], icon: a && o ? /* @__PURE__ */ r(o, { fontSize: "small" }) : void 0, label: T(m)[t], size: i, status: t, variant: p ?? "filled" });
|
|
23
|
+
}, _ = l(u, {
|
|
24
|
+
// eslint-disable-next-line lingui/no-unlocalized-strings
|
|
25
|
+
name: "MoniteApprovalRequestStatusChip",
|
|
26
|
+
slot: "root",
|
|
27
|
+
shouldForwardProp: () => !0
|
|
28
|
+
})({});
|
|
170
29
|
export {
|
|
171
|
-
|
|
172
|
-
ae as useFinancing
|
|
30
|
+
c as ApprovalRequestStatusChip
|
|
173
31
|
};
|