@tesouro/embedded-components-react 0.2.83 → 0.2.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +25 -0
- package/dist/index.d.ts +34 -1
- package/dist/lib/ReceivablesWidget.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +18 -18
- 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/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -23
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +5 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -23
- 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 +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +10 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +11 -15
- 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 +152 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +24 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +27 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +13 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +20 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +20 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +21 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +117 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +11 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +93 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +98 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +59 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +398 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +406 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +35 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +100 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +26 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +212 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +10 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +12 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +2 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.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/index247.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +1 -1
- 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 +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +6 -6
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +1 -1
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +73 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +44 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +40 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +54 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +28 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +113 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +21 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +42 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +56 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +490 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +160 -36
- 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 +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +51 -485
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +26 -165
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +60 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +20 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +17 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +21 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +14 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +74 -90
- 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 +76 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +42 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +92 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +94 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +187 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +17 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +28 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +40 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +61 -18
- 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 +95 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +109 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +83 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +41 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +337 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +299 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +98 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +162 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +263 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +25 -127
- 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 +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +62 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +156 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +27 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +28 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +77 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +18 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +171 -44
- 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 +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +153 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +60 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +65 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +60 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +6 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +8 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +57 -34
- 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 +24 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +59 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +60 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +23 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +186 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +104 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +81 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +282 -15
- 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 +48 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +15 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +78 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +220 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +149 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +19 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +26 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +127 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +94 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +71 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +48 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +37 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +65 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +11 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +255 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +11 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +46 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +43 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +38 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +24 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +6 -26
- 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 +99 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +33 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +52 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +43 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +73 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +89 -115
- 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 +37 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +123 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +10 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +73 -16
- 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 +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +7 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +30 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +4 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +125 -33
- 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 +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +33 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +93 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +32 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +32 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +65 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +15 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +17 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +65 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +2 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +74 -9
- 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 +66 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +39 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +32 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +85 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +97 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +108 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +27 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +37 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +38 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +8 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +66 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +45 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +71 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +86 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +50 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +51 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +29 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +47 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +56 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +72 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +49 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +29 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +38 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +81 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +32 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +39 -32
- 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 +39 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +14 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +50 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +29 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +50 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +12 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +92 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +14 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +75 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +41 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +48 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -47
- 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 +9 -9
- 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 +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 +2 -2
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +20 -20
- package/dist/pending-feature-style-sources.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,170 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { DialogHeader as Q } from "./index462.js";
|
|
11
|
-
import { useLingui as U, Trans as E } from "@lingui/react";
|
|
12
|
-
import { Stack as c, Chip as w, DialogContent as F, Typography as u, Paper as A, Table as x, TableHead as C, TableRow as m, TableCell as o, TableBody as I } from "@mui/material";
|
|
13
|
-
import { toast as M } from "react-hot-toast";
|
|
14
|
-
const le = ({
|
|
15
|
-
approvalPolicy: d,
|
|
16
|
-
setIsEdit: P
|
|
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 "./index280.js";
|
|
6
|
+
import { getRowToStatusTextMap as T } from "./index394.js";
|
|
7
|
+
const c = ({
|
|
8
|
+
ref: s,
|
|
9
|
+
...e
|
|
17
10
|
}) => {
|
|
18
11
|
const {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} =
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
getAmountLabel: S
|
|
27
|
-
} = R({
|
|
28
|
-
approvalPolicy: d
|
|
12
|
+
status: t,
|
|
13
|
+
icon: a,
|
|
14
|
+
size: i,
|
|
15
|
+
variant: p
|
|
16
|
+
} = f({
|
|
17
|
+
props: e,
|
|
18
|
+
name: "MoniteApprovalRequestStatusChip"
|
|
29
19
|
}), {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
}, {
|
|
41
|
-
enabled: !!i?.tags?.length
|
|
42
|
-
}), {
|
|
43
|
-
data: W
|
|
44
|
-
} = h.finops.getCounterparts.useQuery({
|
|
45
|
-
query: {
|
|
46
|
-
id__in: Array.isArray(i?.counterpart_id) ? i.counterpart_id : []
|
|
47
|
-
}
|
|
48
|
-
}, {
|
|
49
|
-
enabled: !!i?.counterpart_id?.length
|
|
50
|
-
}), y = h.finops.deleteApprovalPoliciesId.useMutation(void 0, {
|
|
51
|
-
onSuccess: async () => {
|
|
52
|
-
await Promise.all([h.finops.getApprovalPolicies.invalidateQueries(_), h.finops.getApprovalPoliciesId.invalidateQueries({
|
|
53
|
-
parameters: {
|
|
54
|
-
path: {
|
|
55
|
-
approval_policy_id: d.id
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}, _)]), M.success(a._("Approval policy has been deleted"));
|
|
59
|
-
}
|
|
60
|
-
}), f = Object.keys(i).map((r) => {
|
|
61
|
-
const l = k(r);
|
|
62
|
-
let p;
|
|
63
|
-
switch (r) {
|
|
64
|
-
case "was_created_by_user_id":
|
|
65
|
-
Array.isArray(i[r]) && (p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
66
|
-
flexWrap: "wrap"
|
|
67
|
-
}, children: i[r].map((n) => /* @__PURE__ */ e(g, { userId: n }, n)) }));
|
|
68
|
-
break;
|
|
69
|
-
case "tags":
|
|
70
|
-
p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
71
|
-
flexWrap: "wrap"
|
|
72
|
-
}, children: L?.data.map((n) => /* @__PURE__ */ e(w, { label: n.name }, n.id)) });
|
|
73
|
-
break;
|
|
74
|
-
case "counterpart_id":
|
|
75
|
-
p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
76
|
-
flexWrap: "wrap"
|
|
77
|
-
}, children: W?.data.map((n) => /* @__PURE__ */ e(w, { label: $(n) }, n.id)) });
|
|
78
|
-
break;
|
|
79
|
-
case "amount":
|
|
80
|
-
p = /* @__PURE__ */ e("p", { children: S(i.amount?.value ?? [], i.amount?.currency ?? "EUR") });
|
|
81
|
-
break;
|
|
82
|
-
default:
|
|
83
|
-
p = r;
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
label: l,
|
|
88
|
-
value: p
|
|
89
|
-
};
|
|
90
|
-
}), v = t && Object.keys(t)?.map((r) => {
|
|
91
|
-
if (!t[r]) return null;
|
|
92
|
-
switch (r) {
|
|
93
|
-
case "single_user":
|
|
94
|
-
return {
|
|
95
|
-
label: b(r),
|
|
96
|
-
value: /* @__PURE__ */ e(g, { userId: t[r].userId })
|
|
97
|
-
};
|
|
98
|
-
case "users_from_list":
|
|
99
|
-
return {
|
|
100
|
-
label: b(r, t[r].count),
|
|
101
|
-
value: /* @__PURE__ */ e(c, { direction: "column", gap: 1, sx: {
|
|
102
|
-
flexWrap: "wrap"
|
|
103
|
-
}, children: t[r].userIds?.map((l) => /* @__PURE__ */ e(g, { userId: l }, l)) })
|
|
104
|
-
};
|
|
105
|
-
case "roles_from_list":
|
|
106
|
-
return {
|
|
107
|
-
label: b(r),
|
|
108
|
-
value: /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
109
|
-
flexWrap: "wrap"
|
|
110
|
-
}, children: t[r].roleIds?.map((l) => /* @__PURE__ */ e(j, { roleId: l, quoted: !0 }, l)) })
|
|
111
|
-
};
|
|
112
|
-
case "approval_chain":
|
|
113
|
-
return {
|
|
114
|
-
label: b(r),
|
|
115
|
-
value: /* @__PURE__ */ e(c, { direction: "column", spacing: 0.5, children: t[r].chainUserIds?.map((l) => l ? /* @__PURE__ */ e(g, { userId: l }, l) : null) })
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
return /* @__PURE__ */ s(D, { children: [
|
|
120
|
-
/* @__PURE__ */ e(Q, { title: d?.name, closeButtonTooltip: a._("Close approval policy details") }),
|
|
121
|
-
/* @__PURE__ */ s(F, { children: [
|
|
122
|
-
/* @__PURE__ */ e(u, { variant: "h5", mt: 2, mb: 1, children: a._("Description") }),
|
|
123
|
-
d?.description && /* @__PURE__ */ e(u, { variant: "body1", children: d.description }),
|
|
124
|
-
/* @__PURE__ */ e(u, { variant: "h5", mt: 4, mb: 1, children: a._("Conditions") }),
|
|
125
|
-
/* @__PURE__ */ e(u, { variant: "body1", mb: 1, children: /* @__PURE__ */ e(E, { id: "INKhSX", components: {
|
|
126
|
-
0: /* @__PURE__ */ e("strong", {})
|
|
127
|
-
} }) }),
|
|
128
|
-
/* @__PURE__ */ e(A, { variant: "outlined", children: /* @__PURE__ */ s(x, { children: [
|
|
129
|
-
/* @__PURE__ */ e(C, { children: /* @__PURE__ */ s(m, { children: [
|
|
130
|
-
/* @__PURE__ */ e(o, { children: a._("Condition") }),
|
|
131
|
-
/* @__PURE__ */ e(o, { children: a._("Criteria") })
|
|
132
|
-
] }) }),
|
|
133
|
-
/* @__PURE__ */ e(I, { children: f.length > 0 ? f.map((r) => /* @__PURE__ */ s(m, { children: [
|
|
134
|
-
/* @__PURE__ */ e(o, { children: r.label }),
|
|
135
|
-
/* @__PURE__ */ e(o, { children: r.value })
|
|
136
|
-
] }, r.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(o, { colSpan: 2, children: a._("No conditions") }) }) })
|
|
137
|
-
] }) }),
|
|
138
|
-
/* @__PURE__ */ e(u, { variant: "h5", mt: 4, mb: 1, children: a._("Approval flow") }),
|
|
139
|
-
/* @__PURE__ */ e(u, { variant: "body1", mb: 1, children: a._("Who needs to approve the document and how:") }),
|
|
140
|
-
/* @__PURE__ */ e(A, { variant: "outlined", children: /* @__PURE__ */ s(x, { children: [
|
|
141
|
-
/* @__PURE__ */ e(C, { children: /* @__PURE__ */ s(m, { children: [
|
|
142
|
-
/* @__PURE__ */ e(o, { children: a._("Approval type") }),
|
|
143
|
-
/* @__PURE__ */ e(o, { children: a._("Users or Roles") })
|
|
144
|
-
] }) }),
|
|
145
|
-
/* @__PURE__ */ e(I, { children: v && v.length > 0 ? v.map((r) => /* @__PURE__ */ s(m, { children: [
|
|
146
|
-
/* @__PURE__ */ e(o, { children: r?.label }),
|
|
147
|
-
/* @__PURE__ */ e(o, { children: r?.value })
|
|
148
|
-
] }, r?.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(o, { colSpan: 2, children: a._("No rules") }) }) })
|
|
149
|
-
] }) })
|
|
150
|
-
] }),
|
|
151
|
-
/* @__PURE__ */ e(N, { primaryButton: {
|
|
152
|
-
label: a._("Edit"),
|
|
153
|
-
onClick: () => P(!0)
|
|
154
|
-
}, deleteButton: {
|
|
155
|
-
onClick: () => {
|
|
156
|
-
y.mutate({
|
|
157
|
-
path: {
|
|
158
|
-
approval_policy_id: d.id
|
|
159
|
-
}
|
|
160
|
-
}, {
|
|
161
|
-
onSuccess: () => T?.onClose?.()
|
|
162
|
-
});
|
|
163
|
-
},
|
|
164
|
-
isLoading: y.isPending
|
|
165
|
-
} })
|
|
166
|
-
] });
|
|
167
|
-
};
|
|
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
|
+
})({});
|
|
168
29
|
export {
|
|
169
|
-
|
|
30
|
+
c as ApprovalRequestStatusChip
|
|
170
31
|
};
|
|
@@ -1,75 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
-
return /* @__PURE__ */
|
|
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
|
-
function u({
|
|
61
|
-
className: e,
|
|
62
|
-
...s
|
|
63
|
-
}) {
|
|
64
|
-
return /* @__PURE__ */ t(a.ScrollDownButton, { "data-slot": "select-scroll-down-button", className: n("ttw:flex ttw:cursor-default ttw:items-center ttw:justify-center ttw:py-1", e), ...s, children: /* @__PURE__ */ t(i, { className: "ttw:size-4" }) });
|
|
65
|
-
}
|
|
1
|
+
import { jsxs as d, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as c } from "react";
|
|
3
|
+
import "./index57.js";
|
|
4
|
+
import "@tanstack/react-query";
|
|
5
|
+
import "date-fns";
|
|
6
|
+
import { useEntityUserByAuthToken as p } from "./index75.js";
|
|
7
|
+
import "react-hot-toast";
|
|
8
|
+
import { useLingui as s } from "@lingui/react";
|
|
9
|
+
import u from "@mui/icons-material/CheckCircleOutlineRounded";
|
|
10
|
+
import f from "@mui/icons-material/HighlightOffRounded";
|
|
11
|
+
import { Stack as m, IconButton as a } from "@mui/material";
|
|
12
|
+
const C = ({
|
|
13
|
+
id: o,
|
|
14
|
+
onClick: t
|
|
15
|
+
}) => {
|
|
16
|
+
const {
|
|
17
|
+
i18n: r
|
|
18
|
+
} = s(), [i, n] = c(!1);
|
|
19
|
+
return /* @__PURE__ */ e(a, { "aria-label": r._("Approve request"), color: "success", disabled: i, onClick: (l) => {
|
|
20
|
+
l.preventDefault(), n(!0), t({
|
|
21
|
+
id: o,
|
|
22
|
+
action: "approve"
|
|
23
|
+
})?.finally(() => n(!1));
|
|
24
|
+
}, children: /* @__PURE__ */ e(u, {}) });
|
|
25
|
+
}, k = ({
|
|
26
|
+
id: o,
|
|
27
|
+
onClick: t
|
|
28
|
+
}) => {
|
|
29
|
+
const {
|
|
30
|
+
i18n: r
|
|
31
|
+
} = s(), [i, n] = c(!1);
|
|
32
|
+
return /* @__PURE__ */ e(a, { "aria-label": r._("Reject request"), color: "error", disabled: i, onClick: (l) => {
|
|
33
|
+
l.preventDefault(), n(!0), t({
|
|
34
|
+
id: o,
|
|
35
|
+
action: "reject"
|
|
36
|
+
})?.finally(() => n(!1));
|
|
37
|
+
}, children: /* @__PURE__ */ e(f, {}) });
|
|
38
|
+
}, q = (o) => {
|
|
39
|
+
const {
|
|
40
|
+
i18n: t
|
|
41
|
+
} = s(), {
|
|
42
|
+
data: r
|
|
43
|
+
} = p();
|
|
44
|
+
if ("onRowActionClick" in o && o.onRowActionClick)
|
|
45
|
+
return {
|
|
46
|
+
field: "actions",
|
|
47
|
+
headerName: t._("Actions"),
|
|
48
|
+
sortable: !1,
|
|
49
|
+
display: "flex",
|
|
50
|
+
align: "right",
|
|
51
|
+
renderCell: (i) => {
|
|
52
|
+
if (i.row.status === "waiting" && r?.id && i.row.user_ids.includes(r.id) && !i.row.approved_by?.includes(r.id))
|
|
53
|
+
return /* @__PURE__ */ d(m, { direction: "row", children: [
|
|
54
|
+
/* @__PURE__ */ e(C, { id: i.row.id, onClick: o.onRowActionClick }),
|
|
55
|
+
/* @__PURE__ */ e(k, { id: i.row.id, onClick: o.onRowActionClick })
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
};
|
|
66
60
|
export {
|
|
67
|
-
|
|
68
|
-
x as SelectContent,
|
|
69
|
-
b as SelectItem,
|
|
70
|
-
u as SelectScrollDownButton,
|
|
71
|
-
c as SelectScrollUpButton,
|
|
72
|
-
N as SelectSeparator,
|
|
73
|
-
v as SelectTrigger,
|
|
74
|
-
h as SelectValue
|
|
61
|
+
q as useApprovalRequestActionsCell
|
|
75
62
|
};
|
|
@@ -1,46 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}) {
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
function n({
|
|
22
|
-
className: t,
|
|
23
|
-
...a
|
|
24
|
-
}) {
|
|
25
|
-
return /* @__PURE__ */ e("tr", { "data-slot": "table-row", className: l("ttw:border-b ttw:transition-colors ttw:hover:bg-muted/50 ttw:data-[state=selected]:bg-muted", t), ...a });
|
|
26
|
-
}
|
|
27
|
-
function d({
|
|
28
|
-
className: t,
|
|
29
|
-
...a
|
|
30
|
-
}) {
|
|
31
|
-
return /* @__PURE__ */ e("th", { "data-slot": "table-head", className: l("ttw:h-10 ttw:px-2 ttw:text-left ttw:align-middle ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
32
|
-
}
|
|
33
|
-
function b({
|
|
34
|
-
className: t,
|
|
35
|
-
...a
|
|
36
|
-
}) {
|
|
37
|
-
return /* @__PURE__ */ e("td", { "data-slot": "table-cell", className: l("ttw:p-2 ttw:align-middle ttw:whitespace-nowrap ttw:[&:has([role=checkbox])]:pr-0 ttw:[&>[role=checkbox]]:translate-y-[2px]", t), ...a });
|
|
38
|
-
}
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import "./index57.js";
|
|
3
|
+
import "@tanstack/react-query";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { useEntityUserById as e } from "./index75.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "react-hot-toast";
|
|
8
|
+
import "@lingui/react";
|
|
9
|
+
import { UserAvatar as m } from "./index396.js";
|
|
10
|
+
import { Chip as i, Skeleton as n } from "@mui/material";
|
|
11
|
+
const y = ({
|
|
12
|
+
entityUserId: o
|
|
13
|
+
}) => {
|
|
14
|
+
const {
|
|
15
|
+
data: r,
|
|
16
|
+
isLoading: a
|
|
17
|
+
} = e(o);
|
|
18
|
+
return r ? a ? /* @__PURE__ */ t(i, { label: /* @__PURE__ */ t(n, { variant: "rounded", height: "50%", width: 100, animation: "wave" }) }) : /* @__PURE__ */ t(i, { avatar: /* @__PURE__ */ t(m, { fileId: r.userpic_file_id }), label: `${r.first_name ?? ""} ${r.last_name ?? ""}`.trim() || "—", variant: "outlined", color: "secondary" }) : null;
|
|
19
|
+
};
|
|
39
20
|
export {
|
|
40
|
-
|
|
41
|
-
c as TableBody,
|
|
42
|
-
b as TableCell,
|
|
43
|
-
d as TableHead,
|
|
44
|
-
w as TableHeader,
|
|
45
|
-
n as TableRow
|
|
21
|
+
y as UserCell
|
|
46
22
|
};
|
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} = n();
|
|
11
|
-
return t.finops.deleteCounterpartsId.useMutation(void 0, {
|
|
12
|
-
onSuccess: async () => {
|
|
13
|
-
await t.finops.getCounterparts.invalidateQueries(o), r.success(e._("Counterpart has been deleted."));
|
|
14
|
-
},
|
|
15
|
-
onError: () => {
|
|
16
|
-
r.error(e._("Failed to delete Counterpart."));
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
};
|
|
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
|
+
}
|
|
20
10
|
export {
|
|
21
|
-
|
|
11
|
+
l as Label
|
|
22
12
|
};
|
|
@@ -1,32 +1,26 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
import { useLingui as
|
|
3
|
-
import { toast as
|
|
4
|
-
|
|
5
|
-
const f = () => {
|
|
1
|
+
import { useMoniteContext as u } from "./index57.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as o } from "react-hot-toast";
|
|
4
|
+
const p = (r, s) => {
|
|
6
5
|
const {
|
|
7
|
-
i18n:
|
|
8
|
-
} =
|
|
6
|
+
i18n: e
|
|
7
|
+
} = n(), {
|
|
9
8
|
api: t,
|
|
10
|
-
queryClient:
|
|
11
|
-
} =
|
|
12
|
-
return t.finops.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
...n,
|
|
20
|
-
...e
|
|
21
|
-
}), o), await t.finops.getCounterparts.invalidateQueries(o), a.success(r._("{name} has been updated.", {
|
|
22
|
-
name: p(e)
|
|
23
|
-
}));
|
|
9
|
+
queryClient: i
|
|
10
|
+
} = u();
|
|
11
|
+
return t.finops.deleteProductsId.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
product_id: r
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async () => {
|
|
17
|
+
await t.finops.getProducts.invalidateQueries(i), o.success(e._("Product was deleted.")), s?.();
|
|
24
18
|
},
|
|
25
19
|
onError: () => {
|
|
26
|
-
|
|
20
|
+
o.error(e._("Failed to delete product."));
|
|
27
21
|
}
|
|
28
22
|
});
|
|
29
23
|
};
|
|
30
24
|
export {
|
|
31
|
-
|
|
25
|
+
p as useDeleteProduct
|
|
32
26
|
};
|
|
@@ -1,44 +1,36 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
import { useLingui as
|
|
3
|
-
import { toast as
|
|
4
|
-
const
|
|
5
|
-
counterpartId: e,
|
|
6
|
-
addressId: t
|
|
7
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
const c = (i) => {
|
|
8
5
|
const {
|
|
9
|
-
i18n:
|
|
10
|
-
} =
|
|
11
|
-
api:
|
|
12
|
-
queryClient:
|
|
13
|
-
} =
|
|
14
|
-
return
|
|
6
|
+
i18n: e
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: a,
|
|
9
|
+
queryClient: o
|
|
10
|
+
} = s();
|
|
11
|
+
return a.finops.patchProductsId.useMutation({
|
|
15
12
|
path: {
|
|
16
|
-
|
|
17
|
-
address_id: t
|
|
13
|
+
product_id: i
|
|
18
14
|
}
|
|
19
15
|
}, {
|
|
20
|
-
onSuccess: async (
|
|
21
|
-
|
|
22
|
-
path: {
|
|
23
|
-
counterpart_id: e,
|
|
24
|
-
address_id: t
|
|
25
|
-
}
|
|
26
|
-
}, (o) => ({
|
|
27
|
-
...o,
|
|
28
|
-
...d
|
|
29
|
-
}), s), await r.finops.getCounterpartsIdAddresses.invalidateQueries({
|
|
16
|
+
onSuccess: async (t) => {
|
|
17
|
+
await a.finops.getProducts.invalidateQueries(o), await a.finops.getProductsId.invalidateQueries({
|
|
30
18
|
parameters: {
|
|
31
19
|
path: {
|
|
32
|
-
|
|
20
|
+
product_id: t.id
|
|
33
21
|
}
|
|
34
22
|
}
|
|
35
|
-
},
|
|
23
|
+
}, o), r.success(t.type === "product" ? e._("Product {name} was updated.", {
|
|
24
|
+
name: t.name
|
|
25
|
+
}) : e._("Service {name} was updated.", {
|
|
26
|
+
name: t.name
|
|
27
|
+
}));
|
|
36
28
|
},
|
|
37
29
|
onError: () => {
|
|
38
|
-
|
|
30
|
+
r.error(e._("Failed to update"));
|
|
39
31
|
}
|
|
40
32
|
});
|
|
41
33
|
};
|
|
42
34
|
export {
|
|
43
|
-
|
|
35
|
+
c as useUpdateProduct
|
|
44
36
|
};
|
|
@@ -1,65 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
handleCancel: v
|
|
14
|
-
}) => {
|
|
15
|
-
const {
|
|
16
|
-
i18n: t
|
|
17
|
-
} = g(), {
|
|
18
|
-
control: d,
|
|
19
|
-
resetField: l
|
|
20
|
-
} = y();
|
|
21
|
-
return /* @__PURE__ */ n("div", { className: N("ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:bg-zinc-100", !b && "ttw:border ttw:border-primary ttw:rounded-[10px]"), children: [
|
|
22
|
-
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: [
|
|
23
|
-
/* @__PURE__ */ e(p, { variant: "body1", className: "ttw:font-medium", children: a ? t._("Editing ACH bank transfer") : t._("Adding ACH bank transfer") }),
|
|
24
|
-
!a && !b && /* @__PURE__ */ e(f, { type: "button", variant: "ghost", className: "ttw:text-primary ttw:hover:text-primary", onClick: () => {
|
|
25
|
-
l("accountHolderName"), l("accountNumber"), l("routingNumber"), v?.();
|
|
26
|
-
}, children: t._("Cancel") })
|
|
27
|
-
] }),
|
|
28
|
-
/* @__PURE__ */ e(w, { name: "accountHolderName", control: d, render: ({
|
|
29
|
-
field: r,
|
|
30
|
-
fieldState: {
|
|
31
|
-
error: i
|
|
32
|
-
}
|
|
33
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
34
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Account holder name") }),
|
|
35
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
36
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
37
|
-
] }) }) }),
|
|
38
|
-
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
39
|
-
/* @__PURE__ */ e(w, { name: "routingNumber", control: d, render: ({
|
|
40
|
-
field: r,
|
|
41
|
-
fieldState: {
|
|
42
|
-
error: i
|
|
43
|
-
}
|
|
44
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
45
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Routing number") }),
|
|
46
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 123456789"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
47
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
48
|
-
] }) }) }),
|
|
49
|
-
/* @__PURE__ */ e(w, { name: "accountNumber", control: d, render: ({
|
|
50
|
-
field: r,
|
|
51
|
-
fieldState: {
|
|
52
|
-
error: i
|
|
53
|
-
}
|
|
54
|
-
}) => /* @__PURE__ */ e(m, { "data-invalid": !!(!r.value && a), children: /* @__PURE__ */ n(c, { children: [
|
|
55
|
-
/* @__PURE__ */ e(s, { htmlFor: r.name, children: t._("Account number") }),
|
|
56
|
-
/* @__PURE__ */ e(h, { id: r.name, ...r, placeholder: t._("e.g., 12345678"), className: "ttw:bg-white", disabled: o, "aria-invalid": !!(!r.value && a) || !!i || void 0 }),
|
|
57
|
-
/* @__PURE__ */ e(u, { errors: [i] })
|
|
58
|
-
] }) }) })
|
|
59
|
-
] }),
|
|
60
|
-
/* @__PURE__ */ e(p, { color: "muted", variant: "body2", children: t._("Ask your vendor for this — it's usually on their invoice, W-9, or a payment instructions email they send you.") })
|
|
61
|
-
] });
|
|
62
|
-
};
|
|
1
|
+
const a = ["document_type", "department", "project", "cost_center", "vendor_type", "payment_method", "approval_status"], o = (e) => ({
|
|
2
|
+
document_type: e._("Document Type"),
|
|
3
|
+
department: e._("Department"),
|
|
4
|
+
project: e._("Project"),
|
|
5
|
+
cost_center: e._("Cost Center"),
|
|
6
|
+
vendor_type: e._("Vendor Type"),
|
|
7
|
+
payment_method: e._("Payment Method"),
|
|
8
|
+
approval_status: e._("Approval Status")
|
|
9
|
+
});
|
|
10
|
+
function r(e, t) {
|
|
11
|
+
return e ? o(t)[e] : "";
|
|
12
|
+
}
|
|
63
13
|
export {
|
|
64
|
-
|
|
14
|
+
r as getTagCategoryLabel,
|
|
15
|
+
a as tagCategories
|
|
65
16
|
};
|